remove unnecessary unsafe impl of Send+Sync for ParallelSystemContainer

ParallelSystemContainer has no !Send or !Sync fields, so it doesn't need unsafe impls of these traits.

bors r+

bors retry


XLPagerTabStrip creates two instances of first ViewController

XLPagerTabStrip creates two instances of a ViewController
After capturing memory graph, it shows that 2 instances are active of the first view controller that is given to the  viewControllers(for pagerTabStripController function.
For example, in the following case, the ** firstViewController** gets generated 2 times.
override public func viewControllers(for pagerTabStripController: PagerTabStripViewController) -> [UIViewController] {         return [firstViewController, secondViewController]     }

i am having the same problem. how did you solve it @krptia ?

I’ll get home in 2 days, I’ll inform you. But as far as I remember, I think I called some functions in the viewDidLoad / viewDidAppear which caused it. If you’ve written something in those parts of the code, inspect it!


Implement User Registration Form

Related to #440
Description:
Create a user registration form component with fields for username, email, and password. Ensure that the form handles input validation and displays appropriate error messages.
Acceptance Criteria:

[x] Form includes fields for username, email, and password.
[x] Password field includes visibility toggle.
[x] Form validation includes checks for required fields, valid email format, and password strength.
[x] Error messages are displayed for invalid input.
[x] Form submission triggers a POST request to the registration endpoint.

@TanvirAlam I did as the ticket asked but dont know if it is done or not.


Incorrect sourcemap for comments in module function

This works correctly, you cannot put a breakpoint on the comment:
function P() {
	// Test this
	var a = 1;
}

This is the sourcemap:
{"version":3,"file":"W.js","sourceRoot":"","sources":["W.ts"],"names":["P"],"mappings":"AAAA,SAAS,CAAC;IAETA,AADAA,YAAYA;QACRA,CAACA,GAAGA,CAACA,CAACA;AACXA,CAACA"}

While here you can put a breakpoint on the comment but cannot put on 'var a = 1' !
module Q {
	function P() {
		// Test this
		var a = 1;
	}
}

Sourcemap:
{"version":3,"file":"W.js","sourceRoot":"","sources":["W.ts"],"names":["Q","Q.P"],"mappings":"AAAA,IAAO,CAAC,CAKP;AALD,WAAO,CAAC,EAAC,CAAC;IACTA,SAASA,CAACA;QAETC,AADAA,YAAYA;YACRA,CAACA,GAAGA,CAACA,CAACA;IACXA,CAACA;AACFD,CAACA,EALM,CAAC,KAAD,CAAC,QAKP"}

Checked in Google Chrome.

I'm finding that the sourcemaps from 1.4.1 are being generated incorrectly when I have a file with just a comment above a line without using a module.
In version 1.4.1 the below code with a breakpoint on 'var aNumber = 10;' does not get hit
//
var aNumber = 10;

var aNumber2 = 1100;

The generated sourcemap is
{"version":3,"file":"_CompiledJavaScript.js","sourceRoot":"","sources":["../TestMain.ts"],"names"   [],"mappings":"AACA,AADA,EAAE;IACE,OAAO,GAAG,EAAE,CAAC;AAEjB,IAAI,QAAQ,GAAG,EAAE,CAAC"}

Compared to the sourcemap for the same code generated from 1.0.1 which does allow the breakpoint to get hit
{"version":3,"file":"_CompiledJavaScript.js","sourceRoot":"","sources":["../TestMain.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,IAAI,OAAO,GAAG,EAAE;;AAEhB,IAAI,QAAQ,GAAG,EAAE"}

@yui, Sheetal had a fix for this a while back; so check #2014 first.

Same here. I used http://murzwin.com/base64vlq.html to decode source-maps.

This should be fixed as of the pull from #2880.

I don't believe this is fixed? I updated to typescript 1.5.3 and the sourcemap generated from my previously listed code snippet in the comments above is exactly the same as versions 1.1.0-1, 1.3.0 and 1.4.1 and the breakpoints still do not get hit, for the same code the breakpoints only get hit in version 1.0.1 only, so it looks like a change between v1.0.1 and 1.1.0-1 generates the sourcemaps differently.

I agree.
The issue was not fixed with TypeScript 1.5.3.

Re-opening for investigation.

This was resolved in 1.6 though via #4086 don't know if it is worth porting into 1.5.  I would try with TypeScript@next and see if it resolves the issue.  It did for my source map problems.

@kitsonk Personally I would like a fix in 1.5 since it can be released faster than 1.6 .

Personally I would like a fix in 1.5 since it can be released faster than 1.6 .

There are no 1.5.* releases planned at this point. the next release is 1.6

This should be resolved in #4086  as @kitsonk mentioned. closing.

Personally I would like a fix in 1.5 since it can be released faster than 1.6 .

How about right now? Run:
npm install -g Microsoft/TypeScript

anytime to download, build and install the fresh package from this github repository.
See npm install documentation for its special behavior with github: https://docs.npmjs.com/cli/install

@jasonwilliams200OK I prefer stable build which comes with installer :)

Uhh, in which case you will have to wait for next stable v1.6. Follow the progress here: https://github.com/Microsoft/TypeScript/milestones.


feat: monitoring + containers

monitoring: grafana + prometheus + node_exporter + other exporters
containers: dashy, ...

Noice :)


Check for previous/existing GitHub issues/module proposals

[X] I have checked for previous/existing GitHub issues/module proposals.

Check this module doesn't already exist in the module indexes

[X] I have checked for that this module doesn't already exist in the module indexes; or I'm proposing the module to be migrated from CARML/TFVM.

Bicep or Terraform?
Terraform
Module Classification?
Resource Module
Module Name
avm-res-insights-diagnosticsetting
Module Details
Requested by the AZD team: https://github.com/Azure/Azure-Verified-Modules/issues/261
Needs module owner.
CC: @jongio
Do you want to be the owner of this module?
No
Module Owner's GitHub Username (handle)
No response
(Optional) Secondary Module Owner's GitHub Username (handle)
No response

Hi @jongio, Can you please clarify if this request will use the new AMA agent and DCR? Thank you!

Hi please can we have a discussion as to why this is required?
Thanks

Hi @jongio, Can you please clarify if this request will use the new AMA agent and DCR? Thank you!

I'm not sure.  Here's how it's being used: https://github.com/Azure/azure-dev/blob/df69a8cf361b03b6067cd4ab292df631fbfc2575/templates/common/infra/bicep/core/host/container-registry.bicep#L57

@matt-FFFFFF based on @jongio response, any further input from you ?

This would ordinarily be part of a resource module for the associated resource.
Is there a reason we need this as a separate module when we have the interface and implementation defined in the spec?

Based on @matt-FFFFFF's comment above and the fact that we have this as an interface, closing the module proposal


Added python-imageio

This package has recently been added as a system package to Ubuntu, Debian, Opensuse and Gentoo. On other systems, pip has to be used.
Using it in binary released packages in melodic might be a problem since there's no package manger release for Fedora 28 or Debian Strech.
https://packages.ubuntu.com/search?keywords=python-imageio
https://packages.ubuntu.com/search?keywords=python3-imageio
https://packages.debian.org/search?keywords=python-imageio
https://software.opensuse.org/package/python2-imageio?search_term=python2-imageio
https://packages.gentoo.org/packages/dev-python/imageio
https://pypi.org/project/imageio/

I don't think we want to mix pip- and system-satisfied dependencies on the same key.
I think it would be easier to review this PR if it was reduced in scope to cover only the system packages for platforms that they're available on.

Well, the idea was to make the package available for everybody during source-install, and for the supported systems during binary install. So everybody could make a binary release of a melodic/bionic package depending on python-imageio, and more, he could also "release" the package for older distros for building from source.
As an alternative, I can imagine creating a separate python-imageio-pip key, but that would also bring some chaos in.

@nuclearsandwich In general it's ok to mix the pip rules if they are only for supporting older platforms.

:ok: Thanks for clarifying that.

@tfoote Okay, I did the changes you requested.
I left fedora there since it is target platform for melodic.
With opensuse, I'm not sure, so I deleted it completely. I found that 15.0 has the binary package, but 15.1 does not... so let's leave it be until someone on opensuse really needs the rule.


no subject provide produces invalid article

if a subject is not provided in the post request from the http frontend, the article header is without a subject

it also seems that it's the same with the name field

should be fixed in https://github.com/majestrate/srndv2/commit/aa7c09f116cef249b3babfd18ee918f8e0e881f0


need to add a Docker Compose deployment file to start Hayhook Server

need to add a Docker Compose deployment file to support fast launch of Hayhook Server  in the local Docker environment , and the current deployment file only supports Kubernetes environment deployment

added https://github.com/deepset-ai/hayhooks?tab=readme-ov-file#docker-setup


build 0.8.0 release candidate docs and add to version.html

Built off the v0.8.0-rc1 tag.

@brianjo


Win percentage

How frequently do you expect players to win this game?
I've played this game about 8 times now according to how the rules are written and I have won every single time by creating a string. It has never come down to me counting points. Maybe I am playing it wrong, but I feel pretty confident that I am playing it right. As I see it, there are two main issues. First, the 3x3 grid doesn't really seem to matter. At the beginning of every game, I analyze the grid after it has been created. Then I decide upon a path that I will take to form my string. From that point, I am essentially operating as though the cards are in a straight line. Hopefully that makes sense. Second, being able to place the card from my hand to anywhere on the grid seems to make this a bit too easy. I essentially decide where the 10 is going to go, then discard to that pile unless it is a card that I need to place into the string to form the 2-10 sequence. Because I feel almost certain to be able to create the string, I am not worried about the cards in the pile giving me a ton of negative points. So far, this method has led to victory every time.
I have come up with a couple suggestions for solutions that might work. Each solution restricts card placement. First, I tried playing where each new card had to be placed either on top or orthogonally adjacent to the card that was just placed on the previous turn. This definitely made the game more difficult, but it also felt like it introduced too much luck. That led me to my second suggestion: each card placed (after the first card) must be placed on top of the card placed on the previous turn or in the same row or column as the card placed on the previous turn. I enjoyed playing the game with this second suggestion. It makes the grid matter and it also feels a little more tense/difficult.
I really enjoy the short play time and appreciate your design. I hope you are getting as much joy out of designing it as I did playtesting it.

I just read the rules again and see that I was playing it wrong. I thought creating a string was a win condition, but it is really an end game trigger. In order to win, I have to have positive points. So I am counting points regardless of which condition triggered the end game. I will try it again with this understanding.

Hey, Pfras! how is going?
I'll update it soon considering your thoughts and I really hope you like it.
The short game is a thing that I think is important to create lot of
feedback loops and I'll try to keep it on my mind. I have a playertest
guideline that perhaps help you to provide feedback following a method also
it let you express your more thoughts in the end, I'll share with you the
guidelines (Actually is an outline):
here's the link:
https://github.com/AllenRodger22/A-Frog-Startup-Company---public-designs/blob/main/Playtesters Guidelines/guidelines.md
Best regards
On Wed, Dec 21, 2022 at 4:52 PM pfras @.***> wrote:

I just read the rules again and see that I was playing it wrong. I thought
creating a string was a win condition, but it is really an end game
trigger. In order to win, I have to have positive points. So I am counting
points regardless of which condition triggered the end game. I will try it
again with this understanding.
—
Reply to this email directly, view it on GitHub
https://github.com/AllenRodger22/A-Frog-Startup-Company---public-designs/issues/1#issuecomment-1362018841,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AV3CYJ7L2SMA3RMOVTEGEELWONNXRANCNFSM6AAAAAATF7EPSI
.
You are receiving this because you are subscribed to this thread.Message
ID:
<AllenRodger22/A-Frog-Startup-Company---public-designs/issues/1/1362018841
@github.com>


Significant Performance Improvement in Markdown Conversion Process

Hi Souvik Kar Mahapatra and contributors,
Firstly, I'd like to thank you for your work on the notion-to-md library. It's been incredibly useful for personal and professional projects.
While using your library, I noticed some opportunities for performance optimizations and implemented a different architecture that led to significant improvements in the markdown conversion process. However, this new architecture diverges substantially from the original and does not support all the features of the current version, such as custom transformers.
Despite these differences, I wanted to share the work with you because I believe some elements could potentially benefit the notion-to-md library and its users.
The new approach involves three main steps:

We request all blocks from a page in a single operation, storing them in a 2D array (layers of blocks).
Reconstruct the block tree using parent and blockId properties.
Finally, traverse the tree recursively and covert all blocks into a valid markdown string.  - gist with the code here

I did some local tests to measure the improvement, I'm aware that this kind of testing might not be precise enough and can be biased, however I believe it can serve as a starting point.
In this table you can see some key statistics from these tests, the overall result is approximate 40% faster execution time for the entire process described in previous steps.
I understand that the approach taken is probably not suitable for direct integration into the library due to its architectural differences and reduced feature set. However, I thought that sharing it may result in more improvements for the future.
Please let me know if you're interested in exploring these improvements further. I would be happy to share more details or collaborate in integrating some of these optimizations into the library.
Best,
Lucas Almeida

Hi Lucas,
Thanks for the effort and contribution, really appreciate it. I'll go through the code and then I guess we can discuss on what can be done and how can we make the features compatible with the new changes.

@lucas-almeida026  apologies for the super late response. I'm working on the version 4 and it focuses on fixing this issue specifically, would like to have your feedback on it.
here is the discussion link: https://github.com/souvikinator/notion-to-md/discussions/112

@lucas-almeida026 apologies for the super late response. I'm working on the version 4 and it focuses on fixing this issue specifically, would like to have your feedback on it. here is the discussion link: #112

@souvikinator no worries, of course I'd like to contribute, I'll take a look as soon as I can


[FEATURE][Event Analytics] Some feature requests to improve user experience

1. Link some help on how to create a visualization with PPL:
Right now if user runs a query source = apache_logs, the documents are displayed in "Events" tab, but "Visualizations" tab shows "No results found". This can be confusing because there could be results, it actually means no aggregated results found.

Proposed fix: would be helpful if there's an explanation that the stats command is required for visualizations.
2. Need better saving logic when saving queries/visualizations:

Current behavior of "Save" will overwrite the existing saved object if it exists. This may or may not be what the user wants, and there is no way to undo the save if user accidentally overwrote their saved object. Also this prevents user from adding multiple visualizations to Operation Panel as every "save" will overwrite previously saved ones.
Proposed fix: it would be more clear if there is a "Save as new" button, or make it rewrite object only if the name did not change.
Minor issues on UX: "Name your savings" can be reworded to "Enter a name for the saved query." and "Enter a name for the saved visualization.", and input validation should not trigger (turning to red) until user enters an invalid name. Also I think the

Search existing dashboards or applications by name

refers to Operational Panels, why do we call panels "dashboards or applications"?
3. Persist user input in session storage or url:
Users lose their inputs in query bars if they navigate to another query tab before running the query. This can happen if they are using other tabs as references while writing the query. Additionally users lose all inputs if they refresh the browser tab without saving queries.
Proposed fix: Persist input in query bars across tab switch, would be better if it's part of the URLSearchParams so user can copy/paste URLs for any query

Edit: 6/9/22 - Adding a few more issues i ran into:
4. Remove query search box character length limit
Currently the search box won't allow more inputs when there are 512 characters, this makes it unable to run longer queries.
5. Support better shortcuts in search box
Pressing up or down arrow keys in search box does not move caret up or down, this makes it harder to edit longer queries. Pressing ctrl-z/command-z or ctrl-y/command-shift-z will only undo/redo one character at a time, which is not a user friendly behavior.

The overwrite behavior mentioned in item 2 still exists in the latest version today. Its also called out here: https://github.com/opensearch-project/dashboards-observability/issues/1710


cca 0.7.0 fails to build in test app

cca create Test
cd Test
sudo cca build

cca v0.7.0
## First-time build. Detecting available SDKs:
Android Development: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.

/usr/local/lib/node_modules/cca/node_modules/q/q.js:155
                throw e;
                      ^
No usable build environment could be found. Please refer to our installation guide:
https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/Installation.md

Although, I do have android in my PATH. Running android right after that error brings up the Android SDK manager.

Oh, also:
cca v0.7.0
Android Development: SDK configured properly.

 The problem was me using sudo before cca build. I was doing that because I was getting EACCESS errors earlier, but I'm not sure what fixed them. Works now. Sorry about the confusion!


Closed A Window And a Background Atom Window Closes too

When does this happen ? Is it a bug ? The font window did not have any unsaved files

On what circumstances /conditions will atpm automatically close a background window, will ther ebe unsave/untitled buffers tehre and clsoed withotu  being saved Z?

Thanks for the report! We're going to need a lot more information to help you debug this though:

What OS (and version) are you using?
What version of Atom?
Can you reproduce this behavior in safe mode? (atom --safe)

Windows 8.1
1.4.0
Nope, all methods exhausted.

Assuming "nope" means that you could not reproduce this behavior in safe mode.  In that case:
Because this doesn't reproduce in Safe Mode, it would seem that what you're reporting isn't being caused by Atom itself but by a community package you have installed. It may be that there is still a bug in Atom. If so, we'll need the maintainer of the package that is causing the problem to help track that down.
What we need you to do is to figure out what community package is causing the problem. Some people have reported that using the package-cop package has been helpful, you may want to try it. Once you've determined what package is causing the problem, The Atom FAQ has information on how to contact the maintainers of any Atom community package or theme so you can file this issue there.


Copy and paste of cells causes "non-unique cell id" error.

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
As the title suggests, when I copy and paste a cell, the generated cell has the same id as the original one.
This only happens with jupyter extension for VS Code while the original jupyter notebook server (installed by Anaconda) automatically changes the id of a copied cell.
So it's a reasonable conclusion that the problem should definitely have something to do with the jupyter extension, not with the original jupyter notebook server.
VS Code Version
1.73.1
Jupyter Extension Version
v2022.9.1303220346
Jupyter logs
No response
Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
Anaconda3-2022.05
Running Jupyter locally or remotely?
Local

Vs code doesn't create Cell IDs for cells that it creates, but the jupyter notebook web UI will, and it looks like that gets duplicated because we just copy whatever is in the meta-data.

@liganega - I assume that you are seeing this error in the jupyter UI? (not within vs code)

/duplicate of https://github.com/microsoft/vscode/issues/103881, we should not copy metadata it seems.


Any way to get intelliSense to work with this package?

Love the idea of this package, is there any way to get the vscode intellisense feature to work along with this?

VS Code autocompetion for StyledComponents comes from the extension typescript-styled-plugin.
Luckily this extension can be configured to provide autocompletion for other tags, see link below.
typescript-styled-plugin.
I fixed this by adding following in our tsconfig.json file:
...
 "plugins": [
      {
        "name": "typescript-styled-plugin",
        "tags": [
          "styled",
          "css",
          "sty",
          "tw"
        ]
      }
   ]
...

You can get that from tailwindcss-intelisense for vscode. Just pass the regex. This should do it
"scss.validate": false,
"editor.quickSuggestions": {
    "strings": true
},
"editor.autoClosingQuotes": "always",
"tailwindCSS.experimental.classRegex": [
    "tw`([^`]*)", // tw`...`
    "tw=\"([^\"]*)", //

    "tw={\"([^\"}]*)", //

    "tw\\.\\w+`([^`]*)", // tw.xxx`...`
    "tw\\(.*?\\)`([^`]*)" // tw(Component)`...`
],
"tailwindCSS.includeLanguages": {
  "typescript": "javascript",
  "typescriptreact": "javascript"
}

Thank you @sethstha ! I will add that to the readme.


:bug: fix zh cn translation not showing

Need changing this to make zh cn translation appear.

@Colengms can you check this?


Cannot compile Zephyr project with standard macros INT8_C, UINT8_C, UINT16_C

Hello,
I am trying to build this library in Zephyr. I am getting compiler errors for implicit declaration of function 'INT8_C', UINT8_C, UINT16_C. These are standard macros from stdint.h. I can build the same code in other platforms but not in Zephyr. I am not sure whether it is a issue with my setup. Please help.
To Reproduce
Steps to reproduce the behavior:

Use the attached project
Create an alias in device tree called i2c0. I am using a custom board
west build -b
Get the below warnings which ultimately lead to errors

Impact
showstopper
Logs and console output
In file included from ../src/bmp3.h:47,
                 from ../src/bmp3.c:41:
../src/bmp3.c: In function 'bmp3_init':
../src/bmp3_defs.h:280:49: warning: implicit declaration of function 'INT8_C'; did you mean 'INT8_MAX'? [-Wimplicit-function-declaration]
  280 | #define BMP3_OK                                 INT8_C(0)
      |                                                 ^~~~~~
../src/bmp3.c:708:17: note: in expansion of macro 'BMP3_OK'
  708 |     if (rslt == BMP3_OK)
      |                 ^~~~~~~
../src/bmp3_defs.h:167:49: warning: implicit declaration of function 'UINT8_C'; did you mean 'UINT8_MAX'? [-Wimplicit-function-declaration]
  167 | #define BMP3_REG_CHIP_ID                        UINT8_C(0x00)
      |                                                 ^~~~~~~

Environment (please complete the following information):

OS: Linux
Toolchain: zephyr-sdk-0.11.4
Version: 2.4.99

Attachment
bmp3_zephyr.zip
Thanks

I think this is just a missing feature of lib/libc/newlib/include/stdint.h

Thanks for your reply @galak. What should be a good workaround to resolved this issue?

Thanks for your reply @galak. What should be a good workaround to resolved this issue?

you can submit a PR to add the macro's to lib/libc/newlib/include/stdint.h


New Program Engagement from Participant Adder

Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata
Definition of Done
Refer to Asteroids DoD document to see any additional details for the items below

[ ] Any net new LWC work has Sa11y tests & 50% or above lines JEST test coverage
[ ] CRUD/FLS is enforced in Apex
[ ] Permission sets are updated to account for CRUD|FLS|Tab|Classes
[ ] Field sets are updated to account for new fields
[ ] UX approval or UX not necessary
[ ] Link the pull request and work item by PR comment and Chatter post respectively, e.g. GUS: W-0000000: Work Name (https://github.com/SalesforceFoundation/PMM/pull/303)
[ ] All acceptance criteria have been met

[ ] Developer
[ ] Code Reviewer
[ ] QA

[ ] PR contains draft release notes
[ ] QE story level testing completed

W-9005722

When I try to create a group service delivery and only select existing contacts and click next, nothing is showing up on the final landing page.

Also when clicking next on the participant selector in the service schedule, I'm stuck it doesn't navigate to the final page.


doc build error on windows

@CarinaFo ran into this error when building the docs locally on windows
The chromedriver version (99.0.4844.51) detected in PATH at C:\Program Files\chromedriver\chromedriver.exe might not be compatible with the detected chrome version (117.0.5938.134); currently, chromedriver 117.0.5938.149 is recommended for chrome 117., so it is advised to delete the driver in PATH and retry
Exception ignored in: <_io.FileIO name='nul' mode='wb' closefd=True>
Traceback (most recent call last):
  File "C:\Users\Carina\Documents\mne_howtocontribute_workshop\mne-python\doc\sphinxext\contrib_avatars.py", line 21, in generate_contrib_avatars
    driver = webdriver.Firefox(options=options)
    ^^^^^^
ResourceWarning: unclosed file <_io.BufferedWriter name='nul'>
C:\Users\Carina\mambaforge\envs\mnedev\Lib\site-packages\sphinx\events.py:97: ResourceWarning: unclosed file <_io.BufferedWriter name='nul'>
  results.append(listener.handler(self.app,args))
ResourceWarning: Enable tracemalloc to get the object allocation traceback

this did not kill the doc build process, but the following later error did:
Traceback (most recent call last):
  File "C:\Users\Carina\mambaforge\envs\mnedev\Lib\site-packages\sphinx\events.py", line 97, in emit
    results.append(listener.handler(self.app, *args))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Carina\mambaforge\envs\mnedev\Lib\site-packages\numpydoc\numpydoc.py", line 214, in mangle_docstrings
    report = validate(doc)
             ^^^^^^^^^^^^^
  File "C:\Users\Carina\mambaforge\envs\mnedev\Lib\site-packages\numpydoc\validate.py", line 617, in validate
    ignore_validation_comments = extract_ignore_validation_comments(
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Carina\mambaforge\envs\mnedev\Lib\site-packages\numpydoc\validate.py", line 145, in extract_ignore_validation_comments
    for token in tokenize.generate_tokens(file.readline):
  File "C:\Users\Carina\mambaforge\envs\mnedev\Lib\tokenize.py", line 454, in _tokenize
    line = readline()
           ^^^^^^^^^^
  File "C:\Users\Carina\mambaforge\envs\mnedev\Lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 3922: character maps to <undefined>

The first error is related to selenium building the contributor avatars, and will need a bit of debugging (it's also popping open the browser, which it shouldn't --- supposed to be headless).
The second error can be avoided by doing export PYTHONUTF8=1 in gitbash before running the doc build make command. After that, we get a different error:
Traceback (most recent call last):
"C:\Users\Carina\mambaforge\envs\mnedev\Lib\site-packages\sphinx\events.py", line 97, in emit
    results.append(listener.handler(self.app, *args))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Carina\Documents\mne_howtocontribute_workshop\mne-python\doc\conf.py", line 1783, in make_redirects
    if fr_path.split("/")[-2] in (
       ~~~~~~^^^^
IndexError: list index out of range

tokenize is almost certainly a NumpyDoc bug here:
https://github.com/numpy/numpydoc/blob/b4135ce76e722088e2975ec01ca61d7b69b4bad2/numpydoc/validate.py#L138-L140
We should use encoding="utf-8" probably to unify Unix + Windows. Can you open a numpydoc issue for that part?

@larsoner Should we add PYTHONUTF8=1 to the conda environment deployed on Windows through our installers?

Can you open a numpydoc issue for that part?

https://github.com/numpy/numpydoc/pull/510

@larsoner Should we add PYTHONUTF8=1 to the conda environment deployed on Windows through our installers?

My initial reaction is "no" because doing more magic in our installers just delays confusion -- code will work in our installers but not in regular conda, venvs, etc. Better if people (and packages like numpydoc) fixe their code. But as @drammock pointed out in the numpydoc issue this will become standard in a couple of years in 3.15 so maybe it's okay in a future-proofing sense. 🤷

just a note that the first traceback (the ResourceWarning) is already fixed upstream by https://github.com/SeleniumHQ/selenium/pull/12637.  Since it doesn't actually halt the docbuild I think there's no action needed except to wait for a new selenium release.


Problem with environment variables in modelstep

Hi,
Please help.
I am having some challenges with stepfunctions + sagemaker APIs.
It seems that I should be able to pass environmental variables to endpoint using env(dict[str,str])  in the sagemaker.Model constructor in the steps.Modelstep.
However I am not able to get those env variables visible in the endpoint.
I am able to get the env variables working with boto3 but I don't want to use that as I prefer Sagemaker API with step functions.
So how to pass env variables correctly to stepfunctions to that those are visible?
Running:
stepfunctions=<IP_ADDRESS>
sagemaker=1.55.4

However in container once I start it (printing os.environ all keys and values)

With boto3 I can pass values in the same way:
Definition:

Same container printing os.environ

Looking at the source for ModelStep, it seems that the supplied environment is currently ignored.
Not sure what the effort / consequences to fix this would be, but perhaps a temporary workaround could be to implement your own ModelStep class with environment support or to update the environment directly in the State? For example, something in this direction (haven't tried it myself):
dev_model_step.fields['parameters']['PrimaryContainer']['Environment'] = { ... your environment here ...}

Thans really much @t6nn,
I will try your recommended approaches and will come back to you once I see whether I get those working.

Thank you for reporting this bug!
The fix will be included in the next release


Could you pls update utils.py?

Hi, I've noticed your utils.py seems to be outdated.
Since I tried to run the reconstruct_single_patch.py and found the module pcu has no methods called read_off/read_ply...
I suppose it's about you having updated pcu module but not utils.py?

Hi,
You can update the lines here
to use v, f, n = pcu.load_mesh_vfn(file_name) and make sure you install the latest Point Cloud Utils via pip install point-cloud-utils.
Can you send a PR with these changes? I'll merge it in if you do!

@SimonPig any luck with this?


Error 3200006: invalid http request

Hey, I have followed the following steps to run nodeos and keosd:
docker pull eosio/eos
To run the server software (on port 7777):
docker run --name server --network=eosnetwork --rm -p 7777:7777 -i eosio/eos /bin/bash -c "nodeos -e -p eosio --plugin eosio::producer_plugin --plugin eosio::chain_api_plugin --plugin eosio::http_plugin -d /mnt/dev/data --http-server-address=<IP_ADDRESS>:7777 --access-control-allow-origin=*"
To run the wallet software (on port 5555):
docker run --name wallet --network=eosnetwork --rm -p 5555:5555 -i eosio/eos /bin/bash -c "keosd --http-server-address=<IP_ADDRESS>:5555"
Inside the container when I do:
cleos -u http://server:7777 get info
I get the following response:
Error 3200006: invalid http request
Error Details:
The server has rejected the request as invalid!
Please verify this url is valid: http://server:7777/v1/chain/get_info
If the condition persists, please contact the RPC server administrator for server!

I looked into the config.ini file inside the docker container but it doesn't provide any http-validate-host = 0 argument. Any thoughts?

@vectar31
I have the same issue
the steps are described here:
https://habr.com/post/417981/
after step:
cleos wallet create
In general how do you edit config and where is that file?

Same issue

Same issue

Set http-validate-host to 0 in your config.ini.
cd ~/eosio-wallet
vim config.ini
Ensure http-validate-host = 0

This solution is providing by Cryptaleos.ca, a standby block producer


Forked recipes don't show picture

Problem
When a recipe is forked, the result keep the old picture but it doesn't work because

give this result when the result is forked

And folder /uploads/recipe/image/200/ is empty..
Solution
Get the parent image if the folder /uploads/recipe/image/200/ is empty.

Correct with a new method on Recipe object on 0f05f95
class Recipe < ActiveRecord::Base

    # code here

	def forked?
		return true  if self.root_recipe_id != 0 else return false
	end

	# get image_url
	# if the recipe havn't picture and she's forked , we get the parent image
	def true_image_url
		bd_image = self.image_url

		if self.forked? and not picture_exist? bd_image
			return self.root_recipe.image_url
		else
			return bd_image
		end
	end

	private

	def picture_exist? picture_url
		absolute_path =  File.join Rails.root , 'public', picture_url
		return File.file? absolute_path
	end

end


PFM hook possible fixes when used along with IBC-hook? #

Hello, what is planned fix for https://github.com/SCV-Security/responsible-disclosures/blob/main/SCV - Responsible Disclosure - PFM and IBC-hooks.pdf ?
I though of all fixes I can do in contract with all data available, the only fix CW developer can do is signed token inside packet, but without ZK this is dead end for IBCing high gas cost chains with different signature schemes.
Planned fix would help to write code the way anticipating that fix to happen.
Thank you

PR to address this issue: #71


[Research] Kyma - Buildpacks, Paketo, Kpack

Research the Docker Registry component and potential usage in Kyma.
Components:

CNCF Buildpacks
Paketo
Kpack

@krasimirdermendzhiev should we consider the research finished and close the issue?


Debug Terminal: Receive Pane Scrolls Awkwardly

The Receive Pane scrolls awkwardly when there's many lines of text to scroll back to in history.  This is best demonstrated by this video example and another video that shows a problem at the opposite end of the history.
Note: In addition to the strange looking behavior where the first text appears at the bottom of the display (which I'm not calling a bug by itself) the other side effect inherit in the solution employed causes the scroll thumb to stay staticly sized (and pushed to the bottom of the scroll bar).  Without the scroll bar thumb resizing, there's no quick-glance visual indication of the size of the Receive Pane's history.
I think Blaine mentioned that avoiding the Chrome scroll bar was problematic, but I see solutions that seem to work great, like jScrollPane, jQuery slimScroll, Control.ScrollBar, and the one that may be the most most promising, Tiny Scrollbar where the size and thumb can be set manually (maybe others do that also).  All of these examples even catch non-focused mouse over + scroll wheel activity and non-focused mouse over + shift + scroll wheel (which is a big plus for easy vertical and horizontal scrolling, respectively).
Similar to what I've said before, I suggest that the Receive Pane display be a logical view port into the internal line buffer- this view port's content is delivered to it dynamically (the Receive Pane never actually has more content than what is visible; unless a little extra helps with scrolling in some way) and the custom scroll bar's thumb size be adjusted by code according to the size of the internal line buffer, and of course the thumb position is synchronized with the view and the view is synchronized with the thumb.  Also, the reclaimed buffer area (for head-meets-tail moments) be limited to a single-line at a time, to improve the visual experience for the user so that the display is not so jumpy when the circular buffer is full.  This assumes the standard focus, keyboard, mouse controls are active for this scrolling region.  I can elaborate more if needed.

@2fast2fourier - First, I'm officially recognizing that you've improved the processing and visual response of the Receive Pane very much.  It now delivers a very snappy response to fast-received data; nearly as fast and smooth as the BSE!  Fantastic!
However, the original problem shown in the first video still exists, although it seems to be a little better than before.  In addition, if you take the code from the original video, let it run, scroll all the way up, then grab the scroll bar thumb and slowly scroll down, the problem alluded to in the second video is exhibited by the display quickly switching from showing lines in the very early 100's to lines in the late 200's.  For most data (ie: not text showing the actual line numbers) this would go unnoticed and would trick the user into thinking they haven't missed anything (100+ lines, in this case).
I'm reopening this issue but I'm bumping it's priority down to address other items on the list first and to leave time for you to think about other possible solutions for discussion in the near future.  The ultimate goal, of course, is to get it to process, display, and scroll data in a similar smooth fashion as is exhibited by the BSE's Debug Terminal.


WEBDEV-1557

Separate Astro Collections

As discussed, we are going to hold on merging these changes until we've had some data from Microsoft so that we can actually put some games in there rather than duplicating the application information.

I've converted this to a draft to prevent it from being merged.

Microsoft have replied now.

Name is required
Publisher is optional
Compatibility status is required and must be one of Perfect, Playable, Runs, Unplayable
Status description is optional
Frame rate is optional and must be one of "less than 30 fps", "30-60 fps", "above 60 fps"
Device configuration is optional
OS Version is optional
Date tested is required
Game type is optional
Additional notes is optional

Thanks.

Yes you're right. I'll just copy this https://github.com/sst/sst/blob/master/examples/quickstart-astro/.gitignore

As soon as the .gitignore file gets updated, I'm happy for this to be merged to staging.


Added page contributors webpart

Q
A

Bug fix?
no

New feature?
no

New sample?
yes

Related issues?
no

What's in this Pull Request?
Added a new webpart sample : displays page contributors in reverse chronological order.

@SPParseError,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

thx Stéphane, great sample. Would you be available for a quick demo around this in our community calls - for example on the 17th of August Special Interest Group call for SPFx / JavaScript dev?

Hi, I would love to.
I am on holidays on the 17th August and may not have a sufficient connection, can I do it in the next one?

That works as well - Next one would be on 31st of August, if that works for you? - I'll make sure that we track this internally for the call after your confirmation.

Ok for me, thanks !

thx Stéphane, I'll inform Patrick Rodgers on this and we'll get you for the demo section in that call. Thx for volunteering. So - based on this - let's do the 31st of August for your demo.

@VesaJuvonen Hi, i don't have any news for tomorrow. What is the process ?
Best Regards,
Stéphane

There's no actual news really - just the typical process and was planning to confirm your availability anyway today. So - if you're fine for the demo, we'll get you 10-15 min spot for tomorrow's SPFx SIG (recurrent bi-weekly invite from https://aka.ms/sppnp-js-sig-call). We'll update you as a presenter in the call and when it's your turn, we'll just switch to your screen sharing and audio.
Community call is at 7 AM PT tomorrow Thursday 31st of Aug. I'll send agenda details beforehand few hours before the meeting using social media channels. Works for you?

Ok, world for me.


Report printing refactor

This PR presents a major refactoring of how we handle report templates. In particular, a lot of model duplication and API endpoint duplication is removed. This is a precursor to supporting reports in the new interface, and potentially expanding the functionality of the reporting framework into the future.
Note that this is a breaking change as we are removing a number of models, and also deleting a number of existing API endpoints
Related Issues

Closes https://github.com/inventree/InvenTree/issues/5882
Closes https://github.com/inventree/InvenTree/issues/5841
Related to https://github.com/inventree/InvenTree/issues/6417

Features / Updates

Create new generic ReportTemplate database model
Migrate all existing report template tables into this new one
Reduce many report API endpoints to a single generic set

TODO

[x] Refactor label printing models / API in a similar fashion
[x] Commonize the "report context" data across labels / reports
[x] Allow template table(s) to be filtered by "model type"
[ ] Update unit testing
[x] Add playwright testing for report and label printing via web interface
[ ] Add  unit test for data migration
[ ] Update documentation
[ ] Pull "context" data directly into the documentation from the codebase
[x] Test that all CUI report printing functionality continues to function correctly
[x] Test that all CUI label printing functionality continues to function correctly
[x] Implement report printing in new PUI interface
[x] Implement label printing in new PUI interface
[x] refactor template editor in PUI to use new API
[ ] Update python bindings to support new API endpoints - https://github.com/inventree/inventree-python/pull/226
[ ] Update app to support new API endpoints
[x] Refactor "include_installed" option for stock report
[x] Refactor generate_filename method - ensure it works for reports and labels
[x] Get label printing working again (label size is not observed)
[x] Automatically add "default" label templates on launch
[x] Automatically add "detault" report templates on launch
[x] Ensure that both builtin "label printing" plugins still work
[x] Reimplement / refactor API endpoints for "printing" labels and reports with proper serializers
[ ] Ensure backwards compatibility with existing label printer plugins
[ ] Ensure that the "machines" backend works
[ ] Profile existing label printing code - where are the bottlenecks?
[x] Perform full migration run to ensure old labels and templates are migrated correctly
[x] Move templating db model mixin into report.mixins

looks promising, I am still convinced that reports and labels should be the same thing but we have to start somewhere.

Looks promising! I am still convinced that reports and labels should be the same thing but we have to start somewhere.

I somehow have the same feeling. Especially if we encourage users to use report assets / snippets for labels.
And I have a few questions regarding this refactor:

what impact has this change on the PUI template editor?
are we still gonna save templates as files and not storing the content in the db?
is there an option to render a template without saving it first, but provide the template data in the request body?

Looks promising! I am still convinced that reports and labels should be the same thing but we have to start somewhere.

I somehow have the same feeling. Especially if we encourage users to use report assets / snippets for labels.
And I have a few questions regarding this refactor:

what impact has this change on the PUI template editor?
are we still gonna save templates as files and not storing the content in the db?
is there an option to render a template without saving it first, but provide the template data in the request body?

The PUI template editor will still function - I'll just have to tweak the URLs a bit
No, at least not yet. We will have to consider the implementation and security implications, and I do not believe the library that @matmair linked is ready for django 4.2 yet?
No, but I guess we could make an API endpoint for previewing a template? Now that all templates are "the same" this would be a much simpler activity. I'd leave that for a separate PR though.

I think we will have to create our own db-based template renderer; I can not find something that fits our thread model

Just a thought I already have since a while: maybe we can build the new api in a way that we can also expose the current available context and their sub-/sub-/... attributes via an api endpoint which we can later use in the PUI template editor to provide auto completion with some description to the properties.

Not sure of what the scope of this PR is, but maybe we can somehow get the request object out of the template rendering functions when doing this refactor. This would simplify things with workers much, as Pickeling the request object does not work. And IMHO having the request while rendering a template is not really necessary. The only thing I can think of is having the user that triggered the printing job, but we should rather pass that as a separate context argument. For more info see #6772

May I ask you, if you could please add a quick explanation of how the new system works now compared to the old? Like how are the templates stored now, what endpoints are available and how the templates interfere with plugins?

Thank you very much for your explanation to get a overview of this change. It really helped to understand the fundamentals.

And you can filter here by model type:

Is that normal that in your screenshot the names are sometimes lower and sometimes uppercased?

I'm not sure if it's just me, but this filtering looks like bad UX to me, as:

a lot of clicks are required to filter for a specific template
by default all templates are shown
the filters are not persisted in the url query params, so sharing a link with a particular template selected is not possible
Don't get me wrong, I don't say the previous method of filtering was the best, but it was really easy to navigate between the different template types.

Do I understand this right:

an API endpoint to post template code against for previewing is up for further work to enable a more "live" preview feeling?
labels can also be rendered as a pdf via the /label/print api endpoint now without using a plugin. And to that point labels are now completely similar to reports. The only difference between reports and labels is that reports don't have the plugin print integration?

Is that normal that in your screenshot the names are sometimes lower and sometimes uppercased?

That's due to the internal "verbose name" values of the database tables - I'll look into that

I'm not sure if it's just me, but this filtering looks like bad UX to me, as:

This is how table filtering works in PUI. I agree that it could be improved. Happy to review a PR :)

an API endpoint to post template code against for previewing is up for further work to enable a more "live" preview feeling?

Yep, could now quite easily support a "preview" endpoint. Not in the scope of this refactor though.

labels can also be rendered as a pdf via the /label/print api endpoint now without using a plugin. And to that point labels are now completely similar to reports. The only difference between reports and labels is that reports don't have the plugin print integration?

Correct.

So is there something we can help with to get this over the finish line?

@matmair getting the unit tests updated to address the new API is the big blocker currently. Most of the other things are done!

@SchrodingersGat schould we split that up? One does inventree-python, one inventree for example?

@SchrodingersGat schould we split that up? One does inventree-python, one inventree for example?

I'd appreciate that! I've started work on the inventree-python tests - https://github.com/inventree/inventree-python/pull/226 - perhaps you want to tackle the outstanding printing unit tests here? :)

@SchrodingersGat on it!

One small question, what are revisions in context of these template models? How do they affect business logic, and how do they get bumped? For every typo fix in a template? Or is there a way to say when it should be a new revision?

@wolflu05 good question. As originally implemented the "revision" number increments on every save. However this is perhaps not the best approach? Open to suggestions, now would be the time to change if we wanted to.

Yes this sounds like it would be good for a future PR.

@matmair @wolflu05 regarding the requests to retain plugin lookup by "slug" (rather than "pk"): I am happy to do this, but I would suggest that we move all the plugin lookup in the API to use slug rather than PK.
e.g.  /api/plugin/inventreebarcode/ - rather than /api/plugin/17/
The reason for this is to allow the printing endpoint to use the plugin slug for the foreign key field. For consistency I'd just roll that out across all the plugin endpoints.
If you are both OK with that, I'd submit that as a separate PR, and wait for that to be merged before continuing with this.

I am bumping this to the next release cycle, as there is still significant work to do here.

@wolflu05 @matmair last remaining hurdle is the failing playwright test. The test runs successfully but gets stuck on "teardown". Any ideas? Really struggling on this one.

@matmair @wolflu05 thanks for your help on this one. Merging in now, we have some time before 0.16.0 to work out any issues which may rise from such a significant diff.

Should we maybe open a follow up issue with all the future ideas for this area that were voiced here?

Should we maybe open a follow up issue with all the future ideas for this area that were voiced here?

Yes I think that's a great idea


add  github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 to shlex

What type of PR is this?
https://github.com/google/shlex is archived, so we may maintain it here.
/kind cleanup
What this PR does / why we need it:
Which issue(s) this PR fixes:
xref https://github.com/kubernetes-sigs/kustomize/issues/4963 and https://github.com/kubernetes/kubernetes/pull/114912
Special notes for your reviewer:
Since https://github.com/google/shlex is archived, we added it to unwanted dep list.
However, before we have requirements to change it, we may keep it as is.
This may be a fix later if we have new requirement on shlex.
Release note:
Add google/shlex that is archived

/close
Since https://github.com/google/shlex is archived, we added it to unwanted dep list.
However, before we have requirements to change it, we may keep it as is.
This may be a fix later if we have new requirement on shlex.


Add support for treating non-selected bonded atoms as rigid bodies

re https://github.com/cxhernandez/nma/issues/6
Uses NetworkX (single_source_shortest_path_length) to calculate the closest bonded selected atom to a non-selected one and use its gradient values.
cc @joegomes

Thanks! I tested it on water (with rigid=False) and it seemed to work just fine.
rigid=True seems to work on FsPeptide as expected as well.


get containger image size ?

Ithe kuberentes api has this
v1.ContainerImage, sizeBytes
https://kubernetes.io/docs/api-reference/v1/definitions/#_v1_pod
is there any way to get the container image size through this go library ?

Nodes report the size of some containers loaded on them. https://kubernetes.io/docs/api-reference/v1/definitions/#_v1_nodestatus
You can't get the size of an arbitrary image, nor can you get the size of an image by looking at a pod that uses it.
I'm guessing you'll probably want to talk to the relevant container registry directly for metadata like this.
Hope that helps.
(This is a Kubernetes API question, not a go client question, btw)


Testcafe freezes on basic test with Ionic ActionSheet

Are you requesting a feature or reporting a bug?
Bug
What is the current behavior?
After selecting a button that activates an Ionic Actionsheet (the standard blocking menu for Ionic), Testcafe freezes, in both debug mode and normal mode
What is the expected behavior?
Test should run to completion.
How would you reproduce the current behavior (if this is a bug)?
install a basic ionic app template, e.g. "ionic start actionSheetTest blank --type ionic1".
The replace the www directory with the attached zip files. This is essentially the standard Ionic demo for action sheets, from: https://codepen.io/ionic/pen/jLylA. (nightly tests).
Provide the test code and the tested page URL (if applicable)
See attached zip files for complete code set. The test code is below. When run, the action sheet will appear (the test code activates it), but the cancel button item is never reached, and the Chrome window running test cafe freezes, in the state shown in the attached screenshots.

www.zip
tests.zip
Tested page URL:
Test code
import { Role, Selector } from 'testcafe';

const button = Selector('button');
const actionButton = button.withText('Show Actionsheet');
const cancelButton = button.withText('Cancel');

fixture `Getting Started`
    .page `http://localhost:8105/`;

test('Tabs test', async t => {
    await t

	.click(actionButton)
	.wait(1000)
	.click(cancelButton)

	.wait(3000)
});

Specify your

operating system: 0.13.3
testcafe version: 0.19.1
node.js version: v8.9.4

I was able to reproduce the issue in debug mode, but in normal mode, test passed well. I've checked in Chrome under Windows and OSX. If you can reproduce it without the debug mode, would you please provide a screencast?
I've also found that Ionic adds the action-sheet-open css class to the body element. See the implementation of this class in the following code:
.action-sheet-open {
    pointer-events: none;
}

This class prevents clicks on any element except an ionic panel with actions (Share, Move, Delete, Cancel). So, it seems that testcafe hangs in debug mode.
To overcome the issue you can use the temporary workaround. Override pointer-events property for the body element in the test code using Custom Methods:
const button = Selector('button');
const actionButton = button.withText('Show Actionsheet');
const cancelButton = button.withText('Cancel');
const bodySelector = Selector('body').addCustomMethods({
    allowClick: (body) => {
        body.style.pointerEvents = 'auto';
    }
});

fixture `Getting Started`
    .page `http://localhost:8100/`;

test('Tabs test', async t => {
	await bodySelector.allowClick();
    await t
        .click(actionButton)
	.wait(1000)
	.click(cancelButton)
	.wait(3000)
});

If the issue persists, feel free to contact us.

Thank you @AlexKamaev. I can confirm that Testcafe does NOT hang when run outside of debug mode, and that your suggestion does enable debug mode to work as desired, very helpful. I was in debug mode because I was trying to solve another problem with Action Sheets but I figured that out I believe.

@AlexKamaev I have noticed a related issue (i think the original reason I was in debug mode). It appears that clicking on an Action Sheet item causes the button's buttonClicked method to be called twice. Running outside Test cafe it is only executed once. to reproduce:

modify the attached app.js to be:

angular.module('ionicApp', ['ionic'])

    .controller('AppCtrl', function($scope, $ionicActionSheet) {

	$scope.showActionsheet = function() {

	    $ionicActionSheet.show({
		titleText: 'ActionSheet Example',
		buttons: [
		    { text: 'Share' },
		    { text: 'Move' },
		],
		destructiveText: 'Delete',
		cancelText: 'Cancel',
		cancel: function() {
		    console.log('CANCELLED');
		},
		buttonClicked: function(index) {
		    $scope.registerButtonClick(index);
		    return true;
		},
		destructiveButtonClicked: function() {
		    console.log('DESTRUCT');
		    return true;
		}
	    });
	};

	$scope.registerButtonClick = function (index) {
            console.log('BUTTON CLICKED', index);

	}
    });

modify the test to be:

import { Role, Selector } from 'testcafe';

const button = Selector('button');
const actionButton = button.withText('Show Actionsheet');
const cancelButton = button.withText('Cancel');
const moveButton = button.withText('Move');
const shareButton = button.withText('Share');
const bodySelector = Selector('body').addCustomMethods({
    allowClick: (body) => {
        body.style.pointerEvents = 'auto';
    }
});

fixture `Getting Started`
    .page `http://localhost:8101/`;

test('Tabs test', async t => {
	await bodySelector.allowClick();
    await t
        .click(actionButton)
	.hover(shareButton)
	.hover(moveButton)
	.click(moveButton)
	.hover(cancelButton)
	.click(cancelButton)
	.wait(3000)
});

Then the observed output shows the print statement twice ("BUTTON CLICKED 1") after click(moveButton) is called. Outside of testcafe it is shown only once. I do not know if this is related to the pointer event issue you raise above. Let me know if I should create a separate issue for this?

Hi, I see the problem. It appears to be connected with the https://github.com/DevExpress/testcafe/issues/2232 issue and will be fixed in its context.

I can confirm this works now, after re-installing testcafe.  I had a local installation of testcafe 0.19.1 covering a global installation of 0.19.2. When I removed that and made sure to have 0.19.2 everything works. Thanks and sorry for confusion!


Update image docker.io/ollama/ollama to v0.4.1

This PR contains the following updates:

Package
Update
Change

docker.io/ollama/ollama
patch
0.4.0-rocm -> 0.4.1-rocm

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


Use Open Clover for code coverage analysis

jacoco was interfering with surefire and failsafe making the IT tests fail when instrumenting through Jacoco. Open Clover works just fine and is compatible with codecov.

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun


[doc] update how_to/perf.md

@ZihengJiang can you provide some instructions for how to use profiler?

@howard0su thanks for the comments


[release-4.17][manual] NO-JIRA: controller:annotation: introduce pause annotation

Manual backport of #1102

@ffromani
Do we need a bug here?

@ffromani Do we need a bug here?

not if we can help it

bahhh not again
 ✗ [Medium] Improper Neutralization of Directives in Statically Saved Code
   ID: 0079acea-103f-4c9a-990a-b0468d867361
   Path: vendor/github.com/spf13/cobra/command.go, line 915
   Info: Unsanitized input from a CLI argument flows into text.template.New, where it is used to construct a template that gets rendered. This may result in a Server-Side Template Injection vulnerability.

/cherry-pick release-4.16


Bug: (Cygwin) Sdkman platform is defined as exotic causing empty java candidates list

Bug report
Unable to list java candidates under Cygwin as SDKMAN_PLATFORM is exotic when should be windowsx64
To reproduce

open a new ternimal
Install Cygwin
Install Sdkman
enter sdk list java

System info

OS

Windows 11 x64

Shell and version

GNU bash, version 5.2.15(3)-release (x86_64-pc-cygwin)

The output of sdk version

SDKMAN 5.18.2

The output of uname -a

CYGWIN_NT-10.0-22621 Inazuma 3.4.7-1.x86_64 2023-06-16 14:04 UTC x86_64 Cygwin

Additional info
Might be related to #1216, #1219

Same issue here. Cygwin says:
$ uname -s CYGWIN_NT-10.0-22621
but sdkman says
$ cat .sdkman/var/platform exotic

Hi @aerfus and @jmaasing,
Unfortunately, we can no longer support Cygwin as it expects Windows .exe binaries to behave like Linux binaries when working with file paths. Our new native extensions are Windows binaries that behave as expected on Windows. For this reason, I have chosen to stop supporting Cygwin altogether. The only compatible shell that works with our binaries and that we do support is Git Bash with MINGW. Alternatively, most users prefer using WSL, which is guaranteed to work.
Hope this helps!

Hi marc0der!
Thank you for the answer.


What time frequency does docker_watch export metrics?

I have been running docker_watch on an EC2 instances for ~12 hours now and the prometheus volume is already 1.8G in size. Also, prometheus container logs are a continuous stream of:
time="2017-03-10T16:37:55Z" level=warning msg="Error on ingesting samples with different value but same timestamp" numDropped=50 source="scrape.go:520"
time="2017-03-10T16:38:00Z" level=warning msg="Error on ingesting samples with different value but same timestamp" numDropped=50 source="scrape.go:520"
time="2017-03-10T16:38:05Z" level=warning msg="Error on ingesting samples with different value but same timestamp" numDropped=50 source="scrape.go:520"

Is it possible docker_watch is exporting data too fast? Is there a way to set time intervals at which docker_watch polls stats?

I am also running node_exporter along with docker_watch and just validated that the error is due to docker_watch and goes away if I remove it from the stack.

docker_watch only queries docker for metrics when scraped, and doesn't cache them. Could you provide me with some information regarding your setup?

Prometheus config
Prometheus version
docker_watch runtime flags

and anything else you think is relevant.
The error you're reporting comes from this section of code. Which implies multiple duplicate metrics have been reported by docker_watch for the same timestamp.
I checked the code to see if i'd accidentally duplicated any of the exported metrics but there's nothing obvious.
An easy way for you to check if there are duplicates in your scrapes would be with a command like this:
curl -s localhost:9100/metrics | grep -v '^#.*' | awk '{for (i=1; i<=NF-1; i++) printf $i; print ""}' | uniq -c

Replace localhost:9100 with the address of your docker_watch instance and this will output all the metrics from the scrape prefixed with the number of times they occurred.

On running:
curl -s localhost:9100/metrics | grep -v '^#.*' | awk '{for (i=1; i<=NF-1; i++) printf $i; print ""}' | uniq -c

I see the following output:
      ...
      5 dw_inspect_process_id
      ...
      5 dw_inspect_started_timestamp
      ...
      5 dw_inspect_state
      ...
     20 dw_stats_blkio_op_total_bytes
      ...
      5 dw_stats_cpu_throttled_periods_total
      ...
      5 dw_stats_cpu_usage_total_nanoseconds
      ...
      5 dw_stats_memory_limit_bytes
      ...
      5 dw_stats_memory_usage_bytes
      ...
      5 dw_stats_network_rx_total_bytes
      ...
      5 dw_stats_network_rx_total_dropped
      ...
      5 dw_stats_network_rx_total_errors
      ...
      5 dw_stats_network_rx_total_packets
      ...
      5 dw_stats_network_tx_total_bytes
      ...
      5 dw_stats_network_tx_total_dropped
      ...
      5 dw_stats_network_tx_total_errors
      ...
      5 dw_stats_network_tx_total_packets
      ...

I tested this locally and experienced the same problem. Tried curling the Docker stats api directly and couldn't see anything abnormal in the responses. I'll hopefully have time to look into this tomorrow.

Should be fixed!
By default docker_watch extracts all of a Docker container's labels and adds them as labels to the respective Prometheus metrics. Docker-compose adds some of its own labels to the Docker containers it runs, which use characters that aren't valid as Prometheus label keys (e.g com.docker.compose.service.)
I added some code to transform Docker labels to be purely alphanumberic strings.

Works on my end too. Thanks!
On Thu, 30 Mar 2017 at 09:09 Alex Rudd<EMAIL_ADDRESS>wrote:

Closed #4 https://github.com/AlexRudd/docker_watch/issues/4.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AlexRudd/docker_watch/issues/4#event-1022268690, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AH73YW6_-540peX-DqmDx92dHBzi3gJgks5rq6mZgaJpZM4MZmGR
.

So docker_watch now seems to be exporting 2 copies of metrics for each compose stack container. If I query filter by {name=~"..."}, I see 2 series for each container in the compose stack. Should I be filtering based on some labels too?

Hey, I'm not seeing this same problem. Could you open up a new issue with some more details and steps to reproduce the problem.
Thanks!


Multiple linux downloads contain windows .exes

Multiple linux packages across both the latest and preview release contain an "OmniSharp.exe" file rather than a linux executable "OmniSharp" file as expected.
Here are a few of the packages I've found with the wrong file type:
omnisharp-linux-x64.tar.gz
omnisharp-linux-x64.zip
omnisharp-linux-x86.zip
The only package I've found with the correct executable type was:
omnisharp-linux-x64-net6.0.zip

@Etiennepicard those packages are expected to be run via mono. They contain a run script at the root level, which executes mono OmniSharp.exe.
The "net6.0" builds are the native builds, the one you most likely want is omnisharp-linux-x64-net6.0.tar.gz

Ah, so they should be named something along the lines of omnisharp-mono-linux... rather than omnisharp-linux

There is also an omnisharp-mono.tar.gz package already. I'm not exactly sure about what the differences are, I think that they are the same except that the mono package doesn't contain the run script.
In any case the different packages are for different use-cases, they work, and as they are used as a primary installation source they can't be renamed or have their file structures changed, without it being a breaking change.
Keep in mind that for many years mono was the only way to run C# executables on linux/osx, so it wasn't necessary to explicitly name the package to mention mono. This project is older than .NET Core so the native builds are newer. But the package names have not been (and should not be) changed.

Closing this as answered.


Dead?

Is this repo dead?

Yes, I believe it is dead. There have been outstanding pull requests with valid patches that have been ignored for over a year.
If your looking at node-mariasql to get good SQL performance, you might want to reconsider  https://github.com/mysqljs/mysql they have made major improvements to performance and the published benchmarks you read online are very out of date. Read more about the performance improvements at https://github.com/felixge/faster-than-c


Change multiselect cache structure

The existing structure used an Object as a cache where the keys are the
values of option elements, and values are the HTML content of the option
elements. In Javascript, if a numeric value in the form of a string is
assigned as a key, it gets converted to an integer. Optimization
routines would then order the object to ensure faster access to
elements. For example:
cache = {}
cache['2'] = "two"
cache['1'] = "one"
console.log(cache[2])  #=> "two"
console.log(cache[1])  #=> "one"
console.log(cache)     #=> {1: "one", 2: "two"}

Note the coercion of strings to ints above. This messes with the
ordering of multiselect options list whenever there is a user input. To
avoid this from happening, the keys need to have a string that can't be
coerced automatically, and then preserve the value of the option
element.
I chose to use an object that stores the option value and the option
HTML as the value of the cache and a string of the format 'o_' as the key. This ensures that the insertion order is preserved.
This is the new structure:
cache = {
  'o_271': { id: 271, value: 'CartItem #271'},
  'o_270': { id: 270, value: 'CartItem #270}'
}

Fixes https://github.com/sferik/rails_admin/issues/2231

Nice try, thanks RailsGirls :heart_eyes_cat:

Thanks for this!

Great work! :rainbow: :sparkling_heart: :heart: :yellow_heart: :green_heart: :blue_heart: :purple_heart: :gift_heart:

Here's some thoughts:

What's your thoughts on test coverage? This would be super easy to test with capybara and would prevent regressions
This code would REALLY benefit from some comments explaining why it is necessary to do what has been done. In 6 months or whenever when someone else is looking at this code there is going to be no indication of what this code does. It's good that the info is in the PR, but some of it should be in the code, too.


CSUB-269 Increase nonce deadline

Description of proposed changes:
Practical tips for PR review & merge:

[ ] All GitHub Actions report PASS
[ ] Newly added code/functions have unit tests

[ ] Coverage tools report all newly added lines as covered
[] The positive scenario is exercised
[X] Negative scenarios are exercised, e.g. assert on all possible errors
[ ] Assert on events triggered if applicable
[ ] Assert on changes made to storage if applicable

[ ] Modified behavior/functions - try to make sure above test items are covered
[ ] Integration tests are added if applicable/needed

Codecov Report

Merging #538 (8bb6af2) into dev (2f40298) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #538      +/-   ##
==========================================
+ Coverage   78.37%   78.41%   +0.03%
==========================================
  Files          44       44
  Lines        8506     8520      +14
==========================================
+ Hits         6667     6681      +14
  Misses       1839     1839

Impacted Files
Coverage Δ

pallets/creditcoin/src/ocw/nonce.rs
99.47% <100.00%> (+0.04%)
:arrow_up:

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


QAOA does not update the operator when calling construct_circuit

Information

Qiskit Optimization version: The one on the IBM Quantum Experience
Python version: The one on the IBM Quantum Experience
Operating system: The one on the IBM Quantum Experience

What is the current behavior?
If you call construct_circuit with two different operators, the second time the operator is not updated and the operator of the first call is used instead.
Steps to reproduce the problem
from qiskit.algorithms import QAOA
from qiskit.opflow.primitive_ops import PauliOp
from qiskit.quantum_info import Pauli
from qiskit import Aer
op = PauliOp(Pauli("ZZ"))
qaoa = QAOA()
qaoa.construct_circuit([0,0],op)[0].draw(output="text")
op = PauliOp(Pauli("IZ"))
qaoa.construct_circuit([0,0],op)[0].draw(output="text")
What is the expected behavior?
The second call to construct_circuit should update the operator and return the correct circuit
Suggested solutions

It seems this comes about since QAOA extends VQE and while there is some additional check in there for QAOA the anstaz is not built out again if the number of qubits is the same when the operator changes. Eg. change your second call above to
op = PauliOp(Pauli("IIZ"))
qaoa.construct_circuit([0,0],op)[0].draw(output="text")

and it works as expected.

I see. We should compare the cost_operator in the following line. I will make a PR to fix it.
https://github.com/Qiskit/qiskit-terra/blob/0a4c666ca09e129768f83f7c95ee7168455d869d/qiskit/algorithms/minimum_eigen_solvers/qaoa.py#L130

Thank you


Keep getting an error that only allows me to add one cosmetic

I've been trying to add some custom cosmetics and I'm probably just really stupid but it's not working and I have spent 8 hours trying to fix it. Please help me understand the issue
Log:
LogOutput.log
The Error that keep appearing:
[Error  :MoreCompany] Duplicate cosmetic id: replace.me
Pictures:

The icon also isn't working

You aren’t changing the identifier in unity when you’re making the cosmetic. You are supposed to replace “replace.me” with something unique like “author.cosmeticname”

You also are not setting the icon as thats the default icon. Make sure you’re applying your changes to the prefab and not just the gameobject in the scene

I am the biggest moron that has ever lived.
I was adding the variables to the model itself instead of the anchor point.


Connection Error: The NETBIOS connection with the remote host timed out

how i can fix this ??

follow the template to report a but first


updated references to latest service stack and fixed build errors by

Updated to latest ServiceStack libraries via NuGet
Referencing ServiceStack.OrmLite.Legacy to get it compiling.
Used Xamarin Studio to build on a Mac

Awesome thx 👍


Support opening datasets from STAC items

Currently, users of xarray-sentinel pass the path / URL to a manifest.safe file, which is used to discover everything necessary to build the xarray Dataset.
I'm curious whether xarray-sentinel might be able to work with a STAC item that has all the relevant information, and skip reading the manifest.safe file? The STAC items generated by https://github.com/stactools-packages/sentinel5p has almost all the information that's returned by https://github.com/bopen/xarray-sentinel/blob/afd6fa247ff75a851fc0a7d4e18acddbcd4af625/xarray_sentinel/esa_safe.py#L107

{
  "type": "Feature",
  "stac_version": "1.0.0",
  "id": "S1A_IW_GRDH_1SDV_20220110T050922_20220110T050947_041394_04EBF7",
  "properties": {
    "sar:frequency_band": "C",
    "sar:center_frequency": 5.405,
    "sar:observation_direction": "right",
    "sar:instrument_mode": "IW",
    "sar:polarizations": [
      "VV",
      "VH"
    ],
    "sar:product_type": "GRD",
    "sar:resolution_range": 20,
    "sar:resolution_azimuth": 22,
    "sar:pixel_spacing_range": 10,
    "sar:pixel_spacing_azimuth": 10,
    "sar:looks_range": 5,
    "sar:looks_azimuth": 1,
    "sar:looks_equivalent_number": 4.4,
    "sat:platform_international_designator": "2014-016A",
    "sat:orbit_state": "descending",
    "sat:absolute_orbit": 41394,
    "sat:relative_orbit": 22,
    "providers": [
      {
        "name": "ESA",
        "roles": [
          "producer",
          "processor",
          "licensor"
        ],
        "url": "https://earth.esa.int/web/guest/home"
      },
      {
        "name": "Microsoft",
        "roles": [
          "host",
          "processor"
        ],
        "url": "https://planetarycomputer.microsoft.com"
      }
    ],
    "platform": "SENTINEL-1A",
    "constellation": "Sentinel-1",
    "start_datetime": "2022-01-10 05:09:22.400645+00:00",
    "end_datetime": "2022-01-10 05:09:47.399217+00:00",
    "s1:instrument_configuration_ID": "7",
    "s1:datatake_id": "322551",
    "s1:product_timeliness": "NRT-3h",
    "s1:processing_level": "1",
    "s1:resolution": "high",
    "s1:orbit_source": "PREORB",
    "s1:slice_number": "16",
    "s1:total_slices": "30",
    "s1:shape": [
      26568,
      16670
    ],
    "datetime": "2022-01-10T05:09:34.899931Z"
  },
  "geometry": {
    "type": "MultiPolygon",
    "coordinates": [
      [
        [
          [
            18.079359729987647,
            52.05903698503639
          ],
          [
            17.59921344332713,
            52.11788627594409
          ],
          [
            17.21819162612652,
            52.16305711390597
          ],
          [
            16.836227427059505,
            52.20701666249193
          ],
          [
            16.644774503911133,
            52.22855383776378
          ],
          [
            16.26118854691523,
            52.27071035665724
          ],
          [
            15.878162494063371,
            52.31148740960032
          ],
          [
            15.685719218551272,
            52.33147845100228
          ],
          [
            15.299480101836377,
            52.37060255563736
          ],
          [
            14.91542044114062,
            52.408192821065235
          ],
          [
            14.463451466835929,
            52.450717160968054
          ],
          [
            14.372309549546433,
            52.09196118819571
          ],
          [
            14.192949197915077,
            51.37404859428371
          ],
          [
            14.100639411215216,
            51.01536740309548
          ],
          [
            14.087055295808,
            50.9560622660824
          ],
          [
            14.520915321006537,
            50.91384578735798
          ],
          [
            14.897047013730848,
            50.87585740692798
          ],
          [
            15.444371500878706,
            50.818284399642415
          ],
          [
            15.82131687021256,
            50.777071435952195
          ],
          [
            16.00860279082098,
            50.75611375092879
          ],
          [
            16.37858130437305,
            50.71376912044361
          ],
          [
            16.753025078610975,
            50.66964403535887
          ],
          [
            17.122949485399943,
            50.62478467617457
          ],
          [
            17.59017818138203,
            50.566284399727365
          ],
          [
            17.78275560129392,
            51.16327037094983
          ],
          [
            17.841239264737652,
            51.34251038359834
          ],
          [
            17.959758632357495,
            51.70085025688251
          ],
          [
            18.079359729987647,
            52.05903698503639
          ]
        ]
      ]
    ]
  },
  "links": [
    {
      "rel": "license",
      "href": "https://sentinel.esa.int/documents/247904/690755/Sentinel_Data_Legal_Notice"
    },
    {
      "rel": "self",
      "href": "https://sentinel1euwest.blob.core.windows.net/s1-grd-stac/GRD/2022/1/10/IW/DV/S1A_IW_GRDH_1SDV_20220110T050922_20220110T050947_041394_04EBF7.json?sv=2020-10-02&st=2022-02-16T15%3A21%3A45Z&se=2022-02-17T15%3A21%3A45Z&sr=b&sp=r&sig=vzb4ww%2BriTrz7VRAE9U%2Fv3BjqzRjucoce2Kcrjhw9X0%3D",
      "type": "application/json"
    }
  ],
  "assets": {
    "safe-manifest": {
      "href": "https://sentinel1euwest.blob.core.windows.net/s1-grd/GRD/2022/1/10/IW/DV/S1A_IW_GRDH_1SDV_20220110T050922_20220110T050947_041394_04EBF7_A360/manifest.safe",
      "type": "application/xml",
      "title": "Manifest File",
      "description": "General product metadata in XML format. Contains a high-level textual description of the product and references to all of product's components, the product metadata, including the product identification and the resource references, and references to the physical location of each component file contained in the product.",
      "roles": [
        "metadata"
      ]
    },
    "schema-product-vh": {
      "href": "https://sentinel1euwest.blob.core.windows.net/s1-grd/GRD/2022/1/10/IW/DV/S1A_IW_GRDH_1SDV_20220110T050922_20220110T050947_041394_04EBF7_A360/annotation/rfi/rfi-iw-vh.xml",
      "type": "application/xml",
      "title": "Product Schema",
      "description": "Describes the main characteristics corresponding to the band: state of the platform during acquisition, image properties, Doppler information, geographic location, etc.",
      "roles": [
        "metadata"
      ]
    },
    "schema-product-vv": {
      "href": "https://sentinel1euwest.blob.core.windows.net/s1-grd/GRD/2022/1/10/IW/DV/S1A_IW_GRDH_1SDV_20220110T050922_20220110T050947_041394_04EBF7_A360/annotation/rfi/rfi-iw-vv.xml",
      "type": "application/xml",
      "title": "Product Schema",
      "description": "Describes the main characteristics corresponding to the band: state of the platform during acquisition, image properties, Doppler information, geographic location, etc.",
      "roles": [
        "metadata"
      ]
    },
    "schema-calibration-vh": {
      "href": "https://sentinel1euwest.blob.core.windows.net/s1-grd/GRD/2022/1/10/IW/DV/S1A_IW_GRDH_1SDV_20220110T050922_20220110T050947_041394_04EBF7_A360/annotation/calibration/calibration-iw-vh.xml",
      "type": "application/xml",
      "title": "Calibration Schema",
      "description": "Calibration metadata including calibration information and the beta nought, sigma nought, gamma and digital number look-up tables that can be used for absolute product calibration.",
      "roles": [
        "metadata"
      ]
    },
    "schema-calibration-vv": {
      "href": "https://sentinel1euwest.blob.core.windows.net/s1-grd/GRD/2022/1/10/IW/DV/S1A_IW_GRDH_1SDV_20220110T050922_20220110T050947_041394_04EBF7_A360/annotation/calibration/calibration-iw-vv.xml",
      "type": "application/xml",
      "title": "Calibration Schema",
      "description": "Calibration metadata including calibration information and the beta nought, sigma nought, gamma and digital number look-up tables that can be used for absolute product calibration.",
      "roles": [
        "metadata"
      ]
    },
    "schema-noise-vh": {
      "href": "https://sentinel1euwest.blob.core.windows.net/s1-grd/GRD/2022/1/10/IW/DV/S1A_IW_GRDH_1SDV_20220110T050922_20220110T050947_041394_04EBF7_A360/annotation/calibration/noise-iw-vh.xml",
      "type": "application/xml",
      "title": "Noise Schema",
      "description": "Estimated thermal noise look-up tables",
      "roles": [
        "metadata"
      ]
    },
    "schema-noise-vv": {
      "href": "https://sentinel1euwest.blob.core.windows.net/s1-grd/GRD/2022/1/10/IW/DV/S1A_IW_GRDH_1SDV_20220110T050922_20220110T050947_041394_04EBF7_A360/annotation/calibration/noise-iw-vv.xml",
      "type": "application/xml",
      "title": "Noise Schema",
      "description": "Estimated thermal noise look-up tables",
      "roles": [
        "metadata"
      ]
    },
    "thumbnail": {
      "href": "https://sentinel1euwest.blob.core.windows.net/s1-grd/GRD/2022/1/10/IW/DV/S1A_IW_GRDH_1SDV_20220110T050922_20220110T050947_041394_04EBF7_A360/preview/quick-look.png",
      "type": "image/png",
      "title": "Preview Image",
      "description": "An averaged, decimated preview image in PNG format. Single polarisation products are represented with a grey scale image. Dual polarisation products are represented by a single composite colour image in RGB with the red channel (R) representing the  co-polarisation VV or HH), the green channel (G) represents the cross-polarisation (VH or HV) and the blue channel (B) represents the ratio of the cross an co-polarisations.",
      "roles": [
        "thumbnail"
      ]
    },
    "vh": {
      "href": "https://sentinel1euwest.blob.core.windows.net/s1-grd/GRD/2022/1/10/IW/DV/S1A_IW_GRDH_1SDV_20220110T050922_20220110T050947_041394_04EBF7_A360/measurement/iw-vh.tiff",
      "type": "image/tiff; application=geotiff; profile=cloud-optimized",
      "title": "VH",
      "description": "Actual SAR data that have been processed into an image",
      "eo:bands": [
        {
          "name": "VH",
          "description": "VH band: vertical transmit and horizontal receive"
        }
      ],
      "roles": [
        "data"
      ]
    },
    "vv": {
      "href": "https://sentinel1euwest.blob.core.windows.net/s1-grd/GRD/2022/1/10/IW/DV/S1A_IW_GRDH_1SDV_20220110T050922_20220110T050947_041394_04EBF7_A360/measurement/iw-vv.tiff",
      "type": "image/tiff; application=geotiff; profile=cloud-optimized",
      "title": "VV",
      "description": "Actual SAR data that have been processed into an image",
      "eo:bands": [
        {
          "name": "VV",
          "description": "VV band: vertical transmit and vertical receive"
        }
      ],
      "roles": [
        "data"
      ]
    }
  },
  "bbox": [
    14.087055295808,
    50.566284399727365,
    18.079359729987647,
    52.450717160968054
  ],
  "stac_extensions": [
    "https://stac-extensions.github.io/sar/v1.0.0/schema.json",
    "https://stac-extensions.github.io/sat/v1.0.0/schema.json",
    "https://stac-extensions.github.io/eo/v1.0.0/schema.json"
  ]
}

From the attributes, it's just missing

sat:anx_datetime
xs:instrument_mode_swaths

For the files, I need to check what exactly is expected. It seems like https://github.com/bopen/xarray-sentinel/blob/afd6fa247ff75a851fc0a7d4e18acddbcd4af625/xarray_sentinel/esa_safe.py#L158-L160 is parsing the swath, polarization, start. Most likely, that information will come from the assets, but I need to confirm that.
So I have two questions:

Would xarray-sentinel be interested in supporting reading from a STAC items? I could see something like xr.open_dataset(stac_item, engine="sentinel-1") and inferring based on the type, or a separate engine like xr.open_dataset(stac_item, engine="sentinel-1-stac").
If we match the output of https://github.com/bopen/xarray-sentinel/blob/afd6fa247ff75a851fc0a7d4e18acddbcd4af625/xarray_sentinel/esa_safe.py#L107 from a STAC item, would the rest of xarray-sentinel likely work? Or might there be other places relying on the manifest.safe file?

@TomAugspurger the essential pieces of information that xarray-sentinel reads from the manifest.safe file are the swath names, the polarizations identifies, the names of the annotation and measurement files and a way to associate them to swath and polarization. Anything else is nice-to-have metadata. The only exception is the ascendingNodeTime but it is duplicated in the annotations XML, so no problem either.
As a matter of fact I plan to address #88 before the next release where I intend to move all attributes from the Dataset to the DataArray and most of the STAC-like attributes to a dedicated group or to an auxiliary variable. This should clear most of the top-level dependencies from the manifest.safe file and make the transition to a STAC item much easier.
To answer your questions:

if the STAC item representation is unique enough, this looks like a very nice enhancement, but I don't see it as a priority at the moment
yes it will (also the definition of the files is arbitrary, so we can make it cleaner if needed)

Thanks for those details. I'll plan to explore this some time in the next few weeks.


Possibility to use * to define element paths

windowName||windowType->*->||->name||->||type
The second item of the path is an *: it represents an undefined number of items
The third item is ||: it represents one element with undefined name and undefined type
The fourth item is name||: it represents an element with the name 'name' and with an undefined type
The firth item is ||type: it represents an element with an undefined name and with type 'type'

Pywinauto recorder 0.5.0 had a limited implementation for checking asterisks in a path.
In fact, the code only checked nodes between the wildcard and the end of the path.
In Pywinauto recorder 0.6.0 wildcards can be placed freely in any position of the path.


Can't display plugin with node-webkit

PDF.js wont display PDF content when used with node-webkit (nw.js), only interface is shown.

We really need more information here. Which version of PDF.js is used? Are there errors or warnings in the console? Is it specific for a PDF file or does it happen with any PDF file? Could you share a minimal example or a PDF file that is failing?

In my projects, I am using PDF.js version 0.8.0 and nw.js version 0.12.2, but other PDF.js versions also won't work when viewed with nw.js. I thought problem was in nw.js but other PDF/document viewers works without problem (i.e viewer.js). There is no errors in console log, just toolbar and empty space, no even loading slider animation, preview panel button is unresponsive. There is no problem with specific PDF document as such. Afterwards I tried newest nw.js (0.13.0 alpha) and finally made everything works, which may indicate that problem was in nw.js after all. You may close this thread now and I will investigate further, maybe even consult candy-pdf package maintainer for help.

Yes, if it does work with the most recent nw.js and PDF.js, then it is likely either a problem with older versions of nw.js. Closing as fixed as this does not seem to be a problem with PDF.js.


"dub convert" command to convert between dub.json and dub.sdl. Fixes #689.

It might not be a bad idea to explicitly warn the user that the old config file will be deleted. It's not a major issue if people are using source control properly, but it seems dicey to rely on that.

It has a warning on the dub convert --help screen: https://github.com/D-Programming-Language/dub/pull/732/files#diff-e325b56891c9001a2e2cb1e3bc0a0a36R1665
I'd say that should usually be sufficient, since no actual data gets lost in the conversion process. Thoughts?

Probably. I'm just thinking of the few users who might get tripped up, but with bidirectional conversion, it shouldn't be an issue unless there's a bug in the converter. Does the converter at least ensure that the new file is written before the old one is deleted?

Yes, the new file is written before deleting the old one (any error will skip the deletion).

Coverage looks good https://coveralls.io/builds/4673014/source?filename=source%2Fdub%2Frecipe%2Fsdl.d.

Fixed and rebased.


added auth support for socks5 proxy

This PR also depend from PR for HTTPoison https://github.com/edgurgel/httpoison/pull/323

This PR ready to merge.

@zhyu Could you please publish a version with this PR. It is kinda necessary to keep developing in Russia at the moment :(

@icehaunter if this is urgent you can include nadia dependency directly from GitHub - it's already in master


c++ debug failed on Ubuntu 21.04

Issue Type: Bug
after updating to Ubuntu 21.04, c++ debug failed, a message show "The terminal process "bash ''" failed to launch (exit code: 127).", I reinstalled GDB and C/C++ plugin, but still do not works.
my launch.json:
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/tire",
"args": ["-licenseRepeat"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"preLaunchTask": "x64",
"setupCommands": [
{
"description": "为 gdb 启用整齐打印",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
}
VS Code version: Code - Insiders 1.57.0-insider (82767cc1d7bf8cdea0f2897276d5d15aee91f3d9, 2021-05-17T05:15:14.544Z)
OS version: Windows_NT x64 10.0.21382
Remote OS version: Linux x64 5.11.0-17-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.89GB (0.71GB free)

Process Argv
--crash-reporter-id 5ad76854-09a4-48fd-a2c1-ec352411fdb0

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: localhost

OS
Linux x64 5.11.0-17-generic

CPUs
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (2 x 1799)

Memory (System)
4.00GB (1.98GB free)

VM
0%

Extensions (17)

Extension
Author (truncated)
Version

Bookmarks
ale
13.0.4

vscode-apache
mrm
1.2.0

remote-ssh
ms-
0.65.4

remote-ssh-edit
ms-
0.65.4

vscode-remote-extensionpack
ms-
0.21.0

Bookmarks
ale
13.0.4

vscode-intelephense-client
bme
1.7.1

xml
Dot
2.5.1

vscode-npm-script
eg2
0.3.21

php-debug
fel
1.15.1

svg
joc
1.4.6

cpptools
ms-
1.3.1

php-docblocker
nei
2.1.0

vetur
oct
0.33.1

vscode-hexdump
sle
1.8.1

cmake
twx
0.0.17

vscode-counter
uct
2.2.2

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt602:30291494
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30291487
pythontb:30258533
pythonvspyt551:30291412
vspre833cf:30267465
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscus158:30286553
pythonvsuse255cf:30296410
vscorehov:30301224
vscod805cf:30301675

@oblind If you comment out the "preLaunchTask" does this problem still occur?

I also started having this issue with Insiders for Ubuntu around the same time. It appears to have been introduced by the daily update.
/bin/bash: : No such file or directory

(and a popup about bash exit code 127)
Resetting settings, extensions, and project launch and tasks caused no improvement. Switching to Stable seems to be the only solution currently.

@oblind If you comment out the "preLaunchTask" does this problem still occur?

the "preLaunchTask" is used to compile my codes before launching

I also have the "The terminal process "bash ''" failed to launch (exit code: 127)." error.

Do you set terminal.integrated.inheritEnv to false?

Do you set terminal.integrated.inheritEnv to false?

It doesn't help. The problem continues.

To be clear, you should not be setting that.

/duplicate https://github.com/microsoft/vscode/issues/124173


Ajax URL filtering when no language is selected in admin returns empty URL.

I discovered the issue when working with WooCommerce Appointments plugin and creatin appointment in the admin backend. If no language is selected in the admin bar Hyyan\WPI\Ajax->filter_woocommerce_ajax_get_endpoint() returns empty string and the AJAX calls fail.
Can you reproduce this issue on default Wordpress theme (eg Storefront)?
Haven't tried, the theme is not relevant to the issue.
Can you reproduce this issue when all other plugins are disabled except WooCommerce, Polylang and Hyyan WooCommerce Polylang Integration?
Haven't tried, as the issue is related to AJAX calls, made by WooCommerce Appointments. I'm not sure where to find AJAX calls in the admin backend.
What product versions and settings are you using when this issue occurs?

PHP: 7.0 and 7.2
WordPress: 4.9.8
WooCommerce: 3=5=4
Polylang: 2=3=10
Hyyan WooCommerce Polylang Integration: 1.2.0
Browser: any

@Jon007 I submitted a PR that fixed the issue for me: #368. The problem may affect other plugins that do AJAX in the admin area.

Your solution is good, may even fix some wider issues, I need to think and review the test cases.
I do think that we could just add an extra check to your pull request to return the original $url if there is any unexpected  problem with the polylang, but may not be necessary.
But more testing needed

I'll add that check, if there's anything I can do, please, let me know.

fixed in #368
I've previously been using alternative of not applying the filter at all if is_admin() .. still not convinced it would ever be necessary to apply the filter when in admin mode but in any case should work better than previously checked in version


Update dependencies and fix npm audit failures

Upgrade npm packages to latest supporting node 8
resolve npm audit failures
update tslint to check for semicolons
fix linting errors and remove unused imports

Signed-off-by: Jeff Kennedy<EMAIL_ADDRESS>

lgtm