Collect gardener_operator_garden_condition metric

How to categorize this PR?
/area monitoring
/kind enhancement
What this PR does / why we need it:
Start collecting metrics about resources managed by the gardener-operator.
Currently, gardener/gardener barely exports any custom resource metrics, since that is handled by the gardener-metrics-exporter. This component, however, only watches resources in the virtualGarden cluster, but the resources managed by the operator are not in that cluster. I therefore propose to start exporting the metrics here.
I started with only one condition, gardener_operator_garden_condition which is similar to the shoot_condition metric here (just with fewer labels)
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

`gardener-operator` now collects the metric `gardener_operator_garden_condition`

/cc @istvanballok @rickardsjp @chrkl @vicwicker

Hi @maboehm, thanks for the PR! Exposing the Garden-resource's conditions is something we've been looking into as well: So far, metrics about custom Gardener resources have been exposed by gardener-metrics-exporter. However, the Garden resource has been the exception because unlike Shoots, Seeds, Projects, etc., its a custom resource in the runtime cluster. Not exposing any metrics about this resource has been a bit of a thorn in our eye as well. I appreciate all the effort that went into this PR, yet I want to present an alternative:
With #10062, the garden-runtime cluster now contains a kube-state-metrics deployment. #9941 upgrades the version of KSM used in Gardener to one that supports custom resource state metrics. Once #9941 is merged, exposing metrics on the Garden resource's conditions would be as easy as extending the CSR configuration with something like the following snippet:
  - groupVersionKind:
      group: operator.gardener.cloud
      kind: "Garden"
      version: "v1alpha1"
    metricNamePrefix: "garden"
    labelsFromPath:
      name:
      - metadata
      - name
    metrics:
    - name: "garden_condition"
      help: "represents a condition of a Garden object"
      each:
        type: StateSet
        stateSet:
          labelName: condition
          labelsFromPath:
            type: [type]
          path: [status, conditions]
          valueFrom: ["status"]
          list: [Progressing, True, False, Unknown]

That comes at the cost of some flexibility but also spares us a bunch of code. What do you think?

@rickardsjp
I was not aware that this effort is going on. It sounds really interesting, but was a bit hard to follow the overall picture (including the end-goal of maybe getting rid of the metrics-exporter), without an umbrella issue.
I think I also prefer this approach, and would wait for https://github.com/gardener/gardener/pull/9941 to be merged, and then I can add a CR-metric for the garden condition & operation for the runtime KSM.

I was not aware that this effort is going on. It sounds really interesting, but was a bit hard to follow the overall picture (including the end-goal of maybe getting rid of the metrics-exporter), without an umbrella issue.

100% agreed, that's on us. Because the garden-level monitoring only moved into the open-source relatively recently, I think we (the SAP-side Gardener monitoring contributors) have not been very good at ensuring we communicate that transparently. There are also still some doubt whether removing the gardener-metrics-exporter entirely is feasible. Nevertheless, we should have made this effort easier to identify with an umbrella issue.

add a CR-metric for the garden condition & operation for the runtime KSM.

I think the last operation is also valid as long as it is it's own metric. It can only have one of five values, so there are no cardinality concerns. Building on the snippet I pasted above, I just quickly added this:
    - name: "garden_last_operation"
      help: "denotes the last operation performed on a Garden object"
      each:
        type: StateSet
        stateSet:
          labelName: last_operation
          path: [status, lastOperation]
          valueFrom: ["type"]
          list: [Create, Reconcile, Delete, Migrate, Restore]

which produces this output:
# HELP garden_garden_last_operation denotes the last operation performed on a Garden object
# TYPE garden_garden_last_operation stateset
garden_garden_last_operation{customresource_group="operator.gardener.cloud",customresource_kind="Garden",customresource_version="v1alpha1",last_operation="Create",name="garden"} 0
garden_garden_last_operation{customresource_group="operator.gardener.cloud",customresource_kind="Garden",customresource_version="v1alpha1",last_operation="Delete",name="garden"} 0
garden_garden_last_operation{customresource_group="operator.gardener.cloud",customresource_kind="Garden",customresource_version="v1alpha1",last_operation="Migrate",name="garden"} 0
garden_garden_last_operation{customresource_group="operator.gardener.cloud",customresource_kind="Garden",customresource_version="v1alpha1",last_operation="Reconcile",name="garden"} 1
garden_garden_last_operation{customresource_group="operator.gardener.cloud",customresource_kind="Garden",customresource_version="v1alpha1",last_operation="Restore",name="garden"} 0

Once 9941 is through, I will add both snippets to the custom resource state ConfigMap, adapt the kube-state-metrics scrape config to keep the Garden metrics, and we should have Garden resource metrics. 🎉


wsl.exe --update can fails with 403 and is not retried

I already have seen this happening multiple times over the last weeks in the last weeks and I think we should add some kind of retry mechanism for it:
  C:\Windows\system32\wsl.exe --set-default-version 2
  For information on key differences with WSL 2 please visit https://aka.ms/wsl2

  The operation completed successfully.

  C:\Windows\system32\wsl.exe --update
  Forbidden (403).

  ::endgroup::
  Error: The process 'C:\Windows\system32\wsl.exe' failed with exit code<PHONE_NUMBER>

Apparently the 403 error is not really a permanent error and it should be recoverable with retries.
https://github.com/jdx/mise-action/actions/runs/12547219939/job/34984712978?pr=157
It should be noted that in my case I was using Ubuntu-22.04 distro, which is still listed as active. Not sure if others are less likely to cause this error.

Nah, this has nothing to do with the distribution, it happens before the distribution comes into play at all.
It happens when updating WSL itself to v2.
Sometimes the MS download server for that update is a bit bitchy.
I see the same occasionally in the daily integration tests.
I just hoped that either it is a problem on the server that goes away or just because I use it too often in a row, so waited for you complaining. :-D
Maybe you should complain to Microsoft instead that they either do not refuse to deliver the update, or even better do that update in the GHA runner image already so that the update is not necessary / is a no-op, that would also safe quite a bit of time for doing that update.
Anyway, I'll add an up-to-5-times-retry to compensate the unreliability.
I have the retry mechanism in-place for other actions already anyway.


After Go-Live: KIM becomes the default reconciliation system and reacts on CRs which have no "controlled-by" label

Description
At the moment, we configured KIM to behave defensive and consider on CRs which have the label set kyma-project.io/controlled-by-provisioner: false which clearly indicates taht KIM has to reconciler the cluster (see #250). If the label is missing, KIM is ignoring the CR.
After KIM's go live, we will change this behaviour and KIM has to reconcile has to reconcile the cluster if

the label is missing on the CR
the label indicates that KIM has to reconcile the cluster

AC:

[ ] KIM behaves "aggressive" and reconciles also clusters without the label kyma-project.io/controlled-by-provisioner or when the label indicates that KIM has to reconcile them

Reasons
KIM has to become the default cluster reconciliation system and will manage also clusters with are not explicitly defining KIm as the reconciling system via labels.
Attachments

Covered by go-live plan.


数据库表不全，麻烦提供一下谢谢

Table 'studio.category' doesn't exist

@dllen I'm sorry, we forget to upload this table script, we wil upload it right now.  Thank you for your reminder.

@dllen  We have update the google drive disk  about mysql scripts，you can download the newest from there.  The Baidu Cloud  will be updated tonight because of the low internet speed.


unset followed by save does not update database

Unsetting a property from an existing model with unset and then saving the model to the database seems not to actually update the row in the database:
const entity = await Entity.forge({ id }).fetch()
entity.unset('prop')
await entity.save()
// the database row still has `prop` column value unchanged

This is not the behavior I expected. Instead, I expected the column row to be nulled out the same as entity.set('prop', null) would do.
So, is that behavior by design?
Full running test code here: https://gist.github.com/gabmontes/4a439e4d94fcc2aab60aeccf91454a29
Modules and versions used:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Hi @gabmontes
The thing is that when you do unset then actually a key is deleted from entity.attributes.
This means that Bookshelf doesn't know anything about this field and performs an UPDATE query without this field setter. So actually you should do entity.set('prop', null). In this case entity.attributes['prop'] = null gets performed and UPDATE query has field setter for that.
So actually I can't really understand why there is such a method like unset. I have never used it. I understand what you intended to use it for.
Closing as not an issue but feature

@vellotis thanks for the answer. Do you agree this should be stated in the docs? I can send a PR.

I agree. PR welcomed.


Broadcast 255. IPs show as internet color coding

Broadcast IP addresses show as Internet color coding. We should change the color coding to be the same or similar to multicast IP addresses.

Further conversation with team identified that <IP_ADDRESS> and <IP_ADDRESS> addresses were errantly being identified by the tool as Unknown External Addresses.


Hide Attributes

Is there a way to hide attributes like night mode or Jet Focus?  I don't see much need in my flows to control that via Siri or HomeKit.

Yup, i just added this as an option in the config file like below, you may check the readme file for details
  // This controls the visibility of Night Mode button, default to true
  "nightModeVisible" : true,

  // This controls the visibility of Jet Focus button, default to true
  "focusModeVisible" : true

I tried this and it didn't remove them.  "focusModeVisible" : false. Is because i change their names in homekit?

Same.  Even after flushing the cached accessories.

Just released a fix for this. please try the latest version

Just wanted to confirm that "nightModeVisible" : false is now working correctly for me as of 2.1.3.


[Fix #4374] rubocop -a changes line endings

Fixes #4374, which is a regression of #1566 - Current versions of rubocop change line endings when using the -a function.

@dreamnite I think this patch might break other stuff on Windows. If you rebase on top of latest master we can confirm, since Windows is now tested on CI as well! :wink:

The build is still failing, so I'll close this due to lack of activity.


Add optional caching

In a project I'm working on, this decreases overall build time from between 8 and 10 to between 5 and 7 seconds.

Faster build time (considering my own is 10+ mins) is always good.
:+1:

While a faster build time is good, I'm not sure about writing cached files into the user's system's cache directory. Is there any other popular crate which does this?

Cargo actually provides a per-crate temporary directory for such a use-case. You can have a look how I use caching in Nate: build.rs, generate.rs. (Actually I use it because then you have better error messages. The caching is only a by-product.)


Fixes - Translation, notification, API request

Fixes around:

missing translations for Site to site vpn form

Undefined resource details in progress notification

Post fix:

url encode smb username and password and change createStoragePool request from GET to POST

@blueorangutan package

@Pearl1594 if you add labels etc usually after 1 min BO won't misses the latest comment (note to self, something to fix in BO)
@blueorangutan package

@rhtyd a Jenkins job has been kicked to build primate packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian :heavy_check_mark:archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/902 (JID-3758)


Merged main into dev-ar branch to make it up to date

Describe your changes
Merged main into dev-ar branch to make it up to date
Related issue number or link (ex: resolves #issue-number)
ref https://github.com/cncf/glossary/issues/1681
Checklist before opening this PR (put x in the checkboxes)

[x] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

Hi @jihoon-seo
May I merge this PR based on your consent ?
(reason why you cannot force merge this PR is that only few maintainers actually have admin role. maybe we need to adjust the permission setting.)

@seokho-son Sure! 😊


1.67 | FUSE3: rename is not instantaneous

On FUSE3 mount, renaming a file in the root of the Seaweedfs mount is very slow:
:/mnt/weed$ time sh -c 'printf "content\n\n" > 123.txt; stat 123.txt; mv -v 123.txt 321.txt; until stat 321.txt; do sleep 3; done'
  File: 123.txt
  Size: 9               Blocks: 1          IO Block: 4194304 regular file
Device: 30h/48d Inode:<PHONE_NUMBER>4092878192  Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/ onlyjob)   Gid: ( 1000/ onlyjob)
Access: 2020-03-22 13:16:38.770978609 +1100
Modify: 2020-03-22 14:25:05.541649901 +1100
Change: 2020-03-22 14:25:05.541649901 +1100
 Birth: -
renamed '123.txt' -> '321.txt'
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
stat: cannot stat '321.txt': No such file or directory
  File: 321.txt
  Size: 9               Blocks: 1          IO Block: 4194304 regular file
Device: 30h/48d Inode:<PHONE_NUMBER>1522627888  Links: 1
Access: (0755/-rwxr-xr-x)  Uid: ( 1000/ onlyjob)   Gid: ( 1000/ onlyjob)
Access: 2020-03-22 13:16:38.770978609 +1100
Modify: 2020-03-22 14:25:05.000000000 +1100
Change: 2020-03-22 13:16:38.770978609 +1100
 Birth: -

real    1m0.112s
user    0m0.045s
sys     0m0.022s

It took a whole minute(!) to finish operation, while the script should have finished instantaneusly.
I could not reproduce the problem in the subdirectory.

Could you please set up some reproducible env, like a Dockerfile?

On my linux box, it was instant.

I'm not sure if I'll be able to prepare something like this in the foreseeable future...
The problem should be easy to reproduce -- I have it every time (100% reproducible) on Debian GNU+Linux 10 "Buster" amd64, Fuse 3.4.1.
$ uname -a
Linux 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux

Here is the command I attempted to reproduce:
docker run -i -t debian /bin/bash
apt-get update
apt-get install fuse
apt-get install tmux
apt-get install wget
wget https://github.com/chrislusf/seaweedfs/releases/download/1.67/linux_amd64.tar.gz
tar xzvf linux_amd64.tar.gz

But the fuse version is 2.9.9

Can not reproduce. Here are my commands following the above setup:
# from terminal 1
root@aade65122fd9:/# mkdir 1
root@aade65122fd9:/# ./weed server -dir=1 -filer

# from terminal 2
root@aade65122fd9:/# mkdir mm
root@aade65122fd9:/# ./weed mount -dir=mm

# from terminal 3
root@aade65122fd9:/mm# printf "content\n\n" > 123.txt
printf "content\n\n" > 123.txt
root@aade65122fd9:/mm# stat 123.txt
stat 123.txt
  File: 123.txt
  Size: 9               Blocks: 1          IO Block: 4194304 regular file
Device: 7ah/122d        Inode:<PHONE_NUMBER>4092878192  Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2020-03-22 09:49:18.481021221 +0000
Modify: 2020-03-22 09:49:42.319724579 +0000
Change: 2020-03-22 09:49:42.319724579 +0000
 Birth: -
root@aade65122fd9:/mm# mv -v 123.txt 321.txt
mv -v 123.txt 321.txt
renamed '123.txt' -> '321.txt'
root@aade65122fd9:/mm# fusermount -V
fusermount3 version: 3.4.1

Why closing so hastily? Anyway, I may have installed "fuse3" from "testing" and there is only a newer version 3.9.0 is there... Few notes:

mv -v 123.txt 321.txt always succeed but when you ls or stat the file is not there -- it only arrives exactly 60 seconds later.

I could only reproduce in the root of the mount (that is without -dir argument). Changing CWD to any sub-directory magically "fixes" the problem.

Still could not reproduce.
root@929de9d498d2:/# time sh -c 'printf "content\n\n" > 123.txt; stat 123.txt; mv -v 123.txt 321.txt; until stat 321.txt; do sleep 3; done'
  File: 123.txt
  Size: 9               Blocks: 8          IO Block: 4096   regular file
Device: 70h/112d        Inode: 2626163     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2020-03-22 19:12:59.423916579 +0000
Modify: 2020-03-22 19:12:59.424916579 +0000
Change: 2020-03-22 19:12:59.424916579 +0000
 Birth: -
renamed '123.txt' -> '321.txt'
  File: 321.txt
  Size: 9               Blocks: 8          IO Block: 4096   regular file
Device: 70h/112d        Inode: 2626163     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2020-03-22 19:12:59.423916579 +0000
Modify: 2020-03-22 19:12:59.424916579 +0000
Change: 2020-03-22 19:12:59.427916578 +0000
 Birth: -

real    0m0.008s
user    0m0.003s
sys     0m0.005s
root@929de9d498d2:/# fusermount -V
fusermount3 version: 3.4.1
root@929de9d498d2:/#

I can reproduce it now. Thanks!

Fix is added.


Fix #2717: Replace docker-compose with docker compose

This PR addresses #2717 and replaces every instance of docker-compose with docker compose. There is also a commit included that adds a footnote to all pages that mention docker compose pointing out the migration to Compose V2

Here you go:

#2781


Running docker-compose gives 'module not found error'

When I try to start up the activity app using docker-compose, I get the following error: ModuleNotFoundError: No module named 'activity.settings.local'
I did set up a virtual environment and I'm running python 3.7.

@hermela11 I can confirm the issue. It's a missing config file, which we have not specified in the setup guide. Thanks for pointing that out. I will provide a fix and update the Readme and Installation Guide.

@hermela11 please run cp activity/settings/local-sample.py activity/settings/local.py before docker-compose up -d
I've added it to the documentation. If you have any other problems or question, please let us know :slightly_smiling_face:

Hi! I've been following the docs too and this worked me


[mgmt] deviceupdate release

https://github.com/Azure/sdk-release-request/issues/4797

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-arm-deviceupdate


LeGO-LOAM for LiDAR not placed horizonatally

Hello,
I was wondering how could the LeGO-LOAM be used for setups where the LiDAR is not placed horizontally?
Thanks

Hey,
You have to change the sensorMountAngle parameter.

Hello, I am trying to rotate the lidar so as to construct the 3D field for climbing robot. But I have not made any progress until now since both lego-loam and loam-velodyne failed to do this. Do you have any idea?


Android Pdf Viewer with Supporting Android API >=21

New version of AndroidPdfViewer library, with supporting Android API >= 21. Implemented updated version of PdfiumAndroid with the latest version of pdfium so libraries

Hello I'm beginner is this new version?
Do i still  need to put jcenter in reposiries in build.gradle
Jcenter is depracated i can't use it


Add White Arrow to Action Link Options

What
Adds a new white arrow as an option to the action link.
Why
For the new cost of living banner, the design used the already existing action link component but with a white arrow instead of the default colours that were available (so that it is the same colour as the link text). The white arrow .svg/.png have been added, the documentation has been updated with the new option and a test for the new arrow colour has been added.
Appearance

https://trello.com/c/178dZKtO/1125-add-cost-of-living-banner-to-homepage

This is how it looks when used on the Homepage:


Compare flush only version with normal version

This draft PR is just for convenience to see the comparison between the flush only version of the relayer, and the one used for normal operation.

Closing as versions have no been consolidated on main-dym


1.4 access to files

Closes #6.
The init method is now called during program boot-up.

There's a slight delay when switching from the Upload tab to the Overview tab. Cache the results of the last load_files_from_cloud?

The GUI screens keep the data anyway. The problem is that all boto3 calls are synchronous. Once we incorporate lambdas, we can fetch data asynchronously and this problem will be resolved

Cold booting the application takes forever. Find a way to have visual feedback even without S3 getting fully set up, or make the bootup not reliant on it at all?

It was a lazy way for me not to check if the bucket/table exists before using it.
Fixed in 7713f8f.
Now the bucket and table are both created only once, during the first upload. After that, the create_* functions won't do anything, and the program opens up immediately.


Exception when generating list properties in multipart forms

After upgrading from 0.9.2 to 0.10.0 the client generation fails with:
Traceback (most recent call last):
  File "REDACTED/.venv/bin/openapi-python-client", line 8, in <module>
    sys.exit(app())
  File "REDACTED/.venv/lib/python3.8/site-packages/typer/main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "REDACTED/.venv/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "REDACTED/.venv/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "REDACTED/.venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "REDACTED/.venv/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "REDACTED/.venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "REDACTED/.venv/lib/python3.8/site-packages/typer/main.py", line 497, in wrapper
    return callback(**use_params)  # type: ignore
  File "REDACTED/.venv/lib/python3.8/site-packages/openapi_python_client/cli.py", line 141, in generate
    errors = create_new_client(
  File "REDACTED/.venv/lib/python3.8/site-packages/openapi_python_client/__init__.py", line 314, in create_new_client
    return project.build()
  File "REDACTED/.venv/lib/python3.8/site-packages/openapi_python_client/__init__.py", line 108, in build
    self._build_api()
  File "REDACTED/.venv/lib/python3.8/site-packages/openapi_python_client/__init__.py", line 263, in _build_api
    module_path.write_text(endpoint_template.render(endpoint=endpoint), encoding=self.file_encoding)
  File "REDACTED/.venv/lib/python3.8/site-packages/jinja2/environment.py", line 1289, in render
    self.environment.handle_exception()
  File "REDACTED/.venv/lib/python3.8/site-packages/jinja2/environment.py", line 924, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "REDACTED/.venv/lib/python3.8/site-packages/openapi_python_client/templates/endpoint_module.py.jinja", line 38, in top-level template code
    {{ multipart_body(endpoint) | indent(4) }}
  File "REDACTED/.venv/lib/python3.8/site-packages/jinja2/runtime.py", line 828, in _invoke
    rv = self._func(*arguments)
  File "REDACTED/.venv/lib/python3.8/site-packages/openapi_python_client/templates/endpoint_macros.py.jinja", line 80, in template
    {{ transform_multipart(property, property.python_name, destination) }}
  File "REDACTED/.venv/lib/python3.8/site-packages/jinja2/utils.py", line 81, in from_obj
    if hasattr(obj, "jinja_pass_arg"):
jinja2.exceptions.UndefinedError: the template 'property_templates/list_property.py.jinja' (imported on line 79 in 'endpoint_macros.py.jinja') does not export the requested name 'transform_multipart'

It's failing to mee too with version 0.10.0 but working if I downgrade to 0.9.2
I have installed openapi-python-client on a clean virtual environment using pip.
$ python --version
Python 3.8.10
$ pip freeze
anyio==3.2.1
appdirs==1.4.4
attrs==21.2.0
autoflake==1.4
black==21.6b0
certifi==2021.5.30
click==7.1.2
h11==0.12.0
httpcore==0.13.6
httpx==0.18.2
idna==3.2
isort==5.9.2
Jinja2==3.0.1
MarkupSafe==2.0.1
mypy-extensions==0.4.3
openapi-python-client==0.9.2
pathspec==0.8.1
pydantic==1.8.2
pyflakes==2.3.1
python-dateutil==2.8.1
PyYAML==5.4.1
regex==2021.7.6
rfc3986==1.5.0
shellingham==1.4.0
six==1.16.0
sniffio==1.2.0
toml==0.10.2
typer==0.3.2
typing-extensions==<IP_ADDRESS>

Thanks for the report and confirmation! Looks like this was due to #372. @csymeonides-mf if you get a chance could you look into a fix? If not, I can probably sort one out this weekend.

Apologies for this, will investigate asap

@dpursehouse @slamora could you please share your openapi JSON/yaml, or at least the part that causes the failure?

Presumably you have something like this?
requestBody:
  content:
    multipart/form-data:
      schema:
        type: array

but surely you want type: object? What effect should we expect from type: array?

The OpenAPI spec seems to be advising that, if we want to allow uploading multiple files, we should use something like this:
requestBody:
  content:
    multipart/form-data:
      schema:
        properties:
          # The property name 'file' will be used for all files.
          file:
            type: array
            items:
              type: string
              format: binary

I've pushed #452 to fix this, though I'm not sure it's the right fix. @dbanty let me know what you think

Thanks for jumping on this so quick! Hopefully we can get some sample schemas and expected results from OPs. I'm not exactly sure what the "correct" behavior is in this case.

@csymeonides-mf thanks.  In the case that exposed the issue, the yaml file contains a section that looks exactly as you imagined, i.e.
requestBody:
  content:
    multipart/form-data:
      schema:
        type: array

The yaml is being generated by drf-spectacular based on the views in our Django app.

From my site, the yaml has being generated by management command generateschema of django-rest-framework. Here you have a part of the YML which raises the Exception:
openapi: 3.0.2
info:
  title: ''
  version: ''
paths:
  /api/databaseusers/{id}/set_password/:
    post:
      operationId: set_passwordDatabaseUser
      description: ''
      parameters:
      - name: id
        in: path
        required: true
        description: A unique integer value identifying this database user.
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema: &id059
              properties:
                password:
                  type: string
                  maxLength: 128
              required:
              - password
          application/x-www-form-urlencoded:
            schema: *id059
          multipart/form-data:
            schema: *id059
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  password:
                    type: string
                    maxLength: 128
                required:
                - password
          description: ''

With version 0.10.1 the client generation succeeds, thanks, however there is now a new bug #453 which prevents from using it.


pythonPackages.asana: 0.7.1 -> 0.8.2, disable for py3.7

Motivation for this change
Bump and "fix" python 3.7 package by disabling it for 3.7 (upstream reportedly doesn't support 3.7 yet, blocked on https://bugs.python.org/issue34226)
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build python27Packages.asana python37Packages.asana


Run pre-commit through poe

[x] Closes #125

Is there a way that we can have the pre-commit run as a hook like is done with pandas ?

I will add instructions for it to the docs: only need to run pre-commit install.


Query API

Requesting enhancement:  REST API to query Categories and return list of technologies, followed by an API to get details for a specific technology

We'd love to help you, but it's not really feasible given our current architecture. The entire app is a static file with all of the logic in the client. So, you're better off loading in the YAML or JSON to the server of your choice and implementing your own REST API.


finished project and all tests passing

I had a gituation that cost me forever because I initialized my repository with no readme, liscence, or anything so no branch was created and even after i creted a master branch and checked out and rebased commits and the works I simply could not get any branch to keep anything on it. im hopefully not going to ever forget this


feat: ✨ param and return manipulation for mod hooks

allows modders to manipulate parameters and return values similarly to how script extensions work.
also docs
test project with unpacked mod: project.zip

Are there any plans to support hooking into coroutine methods and/or having our own hooks be coroutines by awaiting execute_next?

good point, i have a feeling we might currently be breaking every method that is called with await.. issue being that these methods aren't marked as async in any way so they are hard to detect with the preprocessor.
at least we can prevent breaking a whole file when we implement

#426


[1.3.6-prepare][Improvement][UI] Update the column name of the duration field on the instance UI page

Purpose of the pull request
Update the column name of the duration field on the instance UI page1.3.6 imp UI duration 1
Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

@chenxingchun

Pull the latest code, E2E has been closed

In the Chinese version, the s of the task instance page is not removed?

In the Chinese version, the s of the task instance page is not removed?

The S logo was written in the VUE file, and both Chinese and English were changed

Pull the latest code, E2E has been closed

An update has been made, but it is still an exception


Firefox Not running through Magellan

Hello,
I've recently rigged up Magellan and admiral 2 on top of our nightwatch tests.  I'm able to run everything fully through chrome, but firefox is not working.
If I bypass magellan and just run directly through nightwatch everything runs without an issue.
When I try and run firefox tests through magellan, I do not get any error output either, tests just don't run.  Additionally if I try and submit multiple browsers (chrome,firefox) no tests will run from either.
This is occurring when running from both the seleniumgrid executor and the local executor.
When run in debug mode, it looks like it is not detecting any firefox profile (empty array).  Where can I add this back in?
UPDATE:
I've resolved this, the default browser in our Nightwatch.json file is firefox and the corresponding profile information is found there as well.  We didn't have a separate profile block for it anywhere else in the file.  Because of this, magellan could not find the firefox profile, because it did not know to look in the default block.

thanks for the details, keep up the good work!


Remove Sentry

Thanks! Unfortunately I had already done this in https://github.com/gwillen/solstice-audio-test/commit/1f21c6556e6306184a2fc602ba8e30b4b21de902

Thanks! Unfortunately I had already done this in https://github.com/gwillen/solstice-audio-test/commit/1f21c6556e6306184a2fc602ba8e30b4b21de902


TrackPlayer.updateMetadataForTrack causes app to crash when updated using local file on IOS

Describe the bug
When updating artwork via updateMetadataForTrack(id, metadata) method it won't work on android and it causes crash of the app on IOS.
To Reproduce
Simply try to update artwork via medatadaForTrack using a file from the assets folder.
TrackPlayer.updateMetadataForTrack("1111", {
          title: title == null ? "- - -" : title,
          artist: artist == null ? "- - -" : artist,
          artwork: require('../assets/test.png'),
});

Environment (please complete the following information):
Currently, I am using puckeys branch
"react-native-track-player": "github:puckey/react-native-track-player#ios-playback-metadata-received",

so I have support for the playback-metadata-received on IOS. But I had this problem also with current 1.2.3 version
I am running the app in the simulator
Code
TrackPlayer.updateMetadataForTrack("1111", {
       title: track,
       artist: artist,
       artwork:  img === "" ? require('../assets/main_logo.png')  : img,
});

When I am updating the artwork using URL it works fine on both platforms.
TrackPlayer.updateMetadataForTrack("1111", {
       title: track,
       artist: artist,
       artwork:  img === "" ?"https://images.pexels.com/photos/1561020/pexels-photo-1561020.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260"  : img,
});

Let me know if fc1f56616bac59455caf0625614ca712e1ada48c fixes it for you

Fix released in 1.2.4


add timer_task, proposal and govern_token

(1) add timer tasks
(2) add proposal
(3) add govern token
(4)add authority control for specific kernel contracts

Codecov Report

Merging #164 (412e7e2) into master (09b860d) will increase coverage by 2.94%.
The diff coverage is 10.90%.

@@            Coverage Diff             @@
##           master     #164      +/-   ##
==========================================
+ Coverage   42.38%   45.32%   +2.94%
==========================================
  Files         124      124
  Lines       10350    10594     +244
==========================================
+ Hits         4387     4802     +415
+ Misses       5090     4823     -267
- Partials      873      969      +96

Impacted Files
Coverage Δ

bcs/ledger/xledger/ledger/genesis.go
39.74% <0.00%> (-4.55%)
:arrow_down:

bcs/ledger/xledger/tx/tx.go
41.25% <0.00%> (-3.44%)
:arrow_down:

kernel/engines/xuperos/common/error.go
0.00% <ø> (ø)

bcs/ledger/xledger/state/tx_verification.go
13.48% <1.72%> (-1.60%)
:arrow_down:

bcs/ledger/xledger/state/state.go
40.62% <7.40%> (-5.09%)
:arrow_down:

bcs/ledger/xledger/state/context/context.go
55.55% <40.00%> (-5.32%)
:arrow_down:

kernel/engines/xuperos/chain.go
48.37% <57.14%> (+0.94%)
:arrow_up:

bcs/network/p2pv1/server.go
56.75% <0.00%> (-1.36%)
:arrow_down:

bcs/contract/xvm/code_manager.go
66.36% <0.00%> (+2.72%)
:arrow_up:

... and 11 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #164 (412e7e2) into master (09b860d) will increase coverage by 2.95%.
The diff coverage is 10.90%.

@@            Coverage Diff             @@
##           master     #164      +/-   ##
==========================================
+ Coverage   42.38%   45.34%   +2.95%
==========================================
  Files         124      124
  Lines       10350    10594     +244
==========================================
+ Hits         4387     4804     +417
+ Misses       5090     4822     -268
- Partials      873      968      +95

Impacted Files
Coverage Δ

bcs/ledger/xledger/ledger/genesis.go
39.74% <0.00%> (-4.55%)
:arrow_down:

bcs/ledger/xledger/tx/tx.go
41.25% <0.00%> (-3.44%)
:arrow_down:

kernel/engines/xuperos/common/error.go
0.00% <ø> (ø)

bcs/ledger/xledger/state/tx_verification.go
13.48% <1.72%> (-1.60%)
:arrow_down:

bcs/ledger/xledger/state/state.go
40.62% <7.40%> (-5.09%)
:arrow_down:

bcs/ledger/xledger/state/context/context.go
55.55% <40.00%> (-5.32%)
:arrow_down:

kernel/engines/xuperos/chain.go
48.37% <57.14%> (+0.94%)
:arrow_up:

bcs/contract/xvm/code_manager.go
66.36% <0.00%> (+2.72%)
:arrow_up:

bcs/consensus/tdpos/common.go
62.31% <0.00%> (+4.34%)
:arrow_up:

... and 10 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #164 (06a10a6) into master (09b860d) will increase coverage by 4.70%.
The diff coverage is 10.90%.

@@            Coverage Diff             @@
##           master     #164      +/-   ##
==========================================
+ Coverage   42.38%   47.08%   +4.70%
==========================================
  Files         124      124
  Lines       10350    10614     +264
==========================================
+ Hits         4387     4998     +611
+ Misses       5090     4560     -530
- Partials      873     1056     +183

Impacted Files
Coverage Δ

bcs/ledger/xledger/ledger/genesis.go
39.74% <0.00%> (-4.55%)
:arrow_down:

bcs/ledger/xledger/tx/tx.go
41.25% <0.00%> (-3.44%)
:arrow_down:

kernel/engines/xuperos/common/error.go
0.00% <ø> (ø)

bcs/ledger/xledger/state/tx_verification.go
13.48% <1.72%> (-1.60%)
:arrow_down:

bcs/ledger/xledger/state/state.go
40.62% <7.40%> (-5.09%)
:arrow_down:

bcs/ledger/xledger/state/context/context.go
55.55% <40.00%> (-5.32%)
:arrow_down:

kernel/engines/xuperos/chain.go
48.37% <57.14%> (+0.94%)
:arrow_up:

bcs/consensus/pow/pow.go
37.28% <0.00%> (-5.51%)
:arrow_down:

bcs/network/p2pv2/server.go
53.84% <0.00%> (ø)

... and 15 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #164 (06a10a6) into master (09b860d) will increase coverage by 4.76%.
The diff coverage is 10.90%.

@@            Coverage Diff             @@
##           master     #164      +/-   ##
==========================================
+ Coverage   42.38%   47.15%   +4.76%
==========================================
  Files         124      124
  Lines       10350    10614     +264
==========================================
+ Hits         4387     5005     +618
+ Misses       5090     4556     -534
- Partials      873     1053     +180

Impacted Files
Coverage Δ

bcs/ledger/xledger/ledger/genesis.go
39.74% <0.00%> (-4.55%)
:arrow_down:

bcs/ledger/xledger/tx/tx.go
41.25% <0.00%> (-3.44%)
:arrow_down:

kernel/engines/xuperos/common/error.go
0.00% <ø> (ø)

bcs/ledger/xledger/state/tx_verification.go
13.48% <1.72%> (-1.60%)
:arrow_down:

bcs/ledger/xledger/state/state.go
40.62% <7.40%> (-5.09%)
:arrow_down:

bcs/ledger/xledger/state/context/context.go
55.55% <40.00%> (-5.32%)
:arrow_down:

kernel/engines/xuperos/chain.go
48.37% <57.14%> (+0.94%)
:arrow_up:

bcs/consensus/pow/pow.go
37.28% <0.00%> (-5.51%)
:arrow_down:

bcs/network/p2pv2/server.go
53.84% <0.00%> (ø)

... and 16 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #164 (813f7be) into master (09b860d) will increase coverage by 4.66%.
The diff coverage is 10.90%.

@@            Coverage Diff             @@
##           master     #164      +/-   ##
==========================================
+ Coverage   42.38%   47.05%   +4.66%
==========================================
  Files         124      124
  Lines       10350    10615     +265
==========================================
+ Hits         4387     4995     +608
+ Misses       5090     4564     -526
- Partials      873     1056     +183

Impacted Files
Coverage Δ

bcs/ledger/xledger/ledger/genesis.go
39.74% <0.00%> (-4.55%)
:arrow_down:

bcs/ledger/xledger/tx/tx.go
41.25% <0.00%> (-3.44%)
:arrow_down:

kernel/engines/xuperos/common/error.go
0.00% <ø> (ø)

bcs/ledger/xledger/state/tx_verification.go
13.48% <1.72%> (-1.60%)
:arrow_down:

bcs/ledger/xledger/state/state.go
40.62% <7.40%> (-5.09%)
:arrow_down:

bcs/ledger/xledger/state/context/context.go
55.55% <40.00%> (-5.32%)
:arrow_down:

kernel/engines/xuperos/chain.go
48.37% <57.14%> (+0.94%)
:arrow_up:

kernel/contract/sandbox/utils.go
66.66% <0.00%> (-22.23%)
:arrow_down:

bcs/ledger/xledger/state/xmodel/xmodel_iterator.go
57.14% <0.00%> (-7.15%)
:arrow_down:

bcs/consensus/pow/pow.go
37.28% <0.00%> (-5.51%)
:arrow_down:

... and 17 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #164 (813f7be) into master (09b860d) will increase coverage by 4.75%.
The diff coverage is 10.90%.

@@            Coverage Diff             @@
##           master     #164      +/-   ##
==========================================
+ Coverage   42.38%   47.14%   +4.75%
==========================================
  Files         124      124
  Lines       10350    10615     +265
==========================================
+ Hits         4387     5004     +617
+ Misses       5090     4558     -532
- Partials      873     1053     +180

Impacted Files
Coverage Δ

bcs/ledger/xledger/ledger/genesis.go
39.74% <0.00%> (-4.55%)
:arrow_down:

bcs/ledger/xledger/tx/tx.go
41.25% <0.00%> (-3.44%)
:arrow_down:

kernel/engines/xuperos/common/error.go
0.00% <ø> (ø)

bcs/ledger/xledger/state/tx_verification.go
13.48% <1.72%> (-1.60%)
:arrow_down:

bcs/ledger/xledger/state/state.go
40.62% <7.40%> (-5.09%)
:arrow_down:

bcs/ledger/xledger/state/context/context.go
55.55% <40.00%> (-5.32%)
:arrow_down:

kernel/engines/xuperos/chain.go
48.37% <57.14%> (+0.94%)
:arrow_up:

kernel/contract/sandbox/utils.go
66.66% <0.00%> (-22.23%)
:arrow_down:

bcs/ledger/xledger/state/xmodel/xmodel_iterator.go
57.14% <0.00%> (-7.15%)
:arrow_down:

bcs/consensus/pow/pow.go
37.28% <0.00%> (-5.51%)
:arrow_down:

... and 18 more

Continue to review full report at Codecov.

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


Fixes validation for empty entries

Fixes #14

Hi, please don't use empty. I changed your code and will approve this now :)


Twinned Resonating Blade

Resonating Blade allows you to use Twinned Spell it, but when Twinned Spell is used, only the first target is attacked and the sorcery point is wasted.

please share a save.

bugfix.zip
Sorry for not including this earlier. The campaign used is called "Lifting the Siege".


Add support for remote websocket

Purpose

Adds the ability to see the stream from a remote computer.

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

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

How to Test

Get the code

git clone https://github.com/jmservera/Custom-vision-service-iot-edge-raspberry-pi
cd Custom-vision-service-iot-edge-raspberry-pi/modules/CameraCapture
docker build . -f arm32v7.Dockerfile

Test the code

What to Check
Verify that the following are valid

Open a browser to the http://[yourdevicename]:5012 address and check that the video shows up. If it does not show the video, try with the device IP instead

Other Information
Microsoft Edge usually works with local names like http://raspberrypi.local:5012, but in Firefox or Chrome, even when page usually opens with the NetBIOS name, sometimes websockets do not work. If this happens use local IP address instead and try again.

@m-chau , could you please review this PR? Thanks!


Feature Request: New Screenshots for DNS

Feature Requested
The README doesn’t have a screenshot for the DNS feature. Plus the top screenshot (atop) doesn’t include it. This is relevant to updating the Gallery as well.
Tangentially, would you mind resharing your theme? I think you may have done some modifications since the last time you shared it as the screenshots I took don’t align exactly.
Relevant Screenshot
No response
Checklist

[X] The feature would be useful to more users than just me.

done. will submit a gallery edit with the images and my theme in a moment


Add Nong Song

Song Name
Geometry Dash "Nexus"
Artist Name
Kuznechik228
Source
Direct file download
Youtube Link
No response
Direct File Link
No response
Song ID
493348
Extra
No response

Song about all Nexus achievements.

reject
no music source was provided


Is privatelink.batch.azure.com correct?

Looking at privatelink.batch.azure.com is that really correct?
When doing resolve-dnsname it indicates two different names both with region name in it but in the documentation its lacking that part.
xxxx.privatelink.{regionName}.batch.azure.com
xxxx.{regionName}.privatelink.batch.azure.com
So what is correct?

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

ID: a88af182-32aa-a8f3-359d-b92ae1cfb8c7
Version Independent ID: 01ce07fc-4bc2-def5-9ecd-a80330ad9488
Content: Azure Private Endpoint DNS configuration
Content Source: articles/private-link/private-endpoint-dns.md
Service: private-link
GitHub Login: @asudbring
Microsoft Alias: allensu

@angryconsultant Thanks for your feedback.
I have assigned the thread to the author @asudbring for further review

@asudbring  any thoughts?

@KapilAnanth-MSFT can someone else look at this?

@angryconsultant
Documentation issues can only be updated by the author.
Should this be blocking any of your deployment, I urge you to raise a support incident so Azure Support can guide you on the correct DNS Zone name.

Thanks for your dedication to our documentation. We have created an internal work item in our backlog to resolve this issue. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close

@angryconsultant
Thank you for the feedback and dedication to our documentation.  After review, the zone name "privatelink.batch.azure.com" is correct.  This is the private zone name that Azure creates in Azure DNS when you create the private endpoint and DNS zone:

After the DNS zone and endpoint are deployed, Azure auto-creates records in that zone for the appropriate resources.  Those auto-generated names have the "{regionName}" designation:

I'm going to discuss with the PM about the regionName on some of the entries in that table and change the way it's presented as it's confusing as to what is the zone and what needs to be created for the zone etc.
-allen

Indeed a bit confusing. We manage to solve it but since it was not clear it caused some confusion. My client does sadly not use Azure DNS, they infoblox.


Fix output tests for core and pin tabulate version

Brief:

Fix tabulate to 0.7.7 and remove it from requirements.txt.
Fix the output test in Core.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #3313   +/-   ##
=======================================
  Coverage   70.32%   70.32%
=======================================
  Files         391      391
  Lines       25110    25110
  Branches     3815     3815
=======================================
  Hits        17658    17658
  Misses       6336     6336
  Partials     1116     1116

Continue to review full report at Codecov.

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


Bump xmlhttprequest-ssl to 1.6.2

The kind of change this PR does introduce

[x] a bug fix
[ ] a new feature
[ ] an update to the documentation
[ ] a code change that improves performance
[ ] other

Current behaviour
New behaviour
Other information (e.g. related issues)
Addresses this bug https://staging.coda.io/d/Quality-Tracker_d-GJF-DmEUK/My-Issues_sud-l#My-issues_tui9H/r17819&modal=true.

I read through the xmlhttprequest-ssl changelog between 1.5.5 and 1.6.2 and looked at the actual changes - doesn't look like anything breaking was really committed.


feat: add pool setup to veritech start

This:

adds some script cleanup to make them a little less chatty
attempts to parallelize and add some light retrying to the prep scripts. Setting up 5k at once is really flaky otherwise
adds setup() steps for the deadpool manager so each runtime type can do any necessary preparation steps before attempting to run cyclones (like running our setup scripts)
adds a pool_size config value that can be used to configure the... the pool size. What did you think it would do?

The result here is that when using LocalFirecracker veritech will attempt to run the setup script from /firecracker-data/orchestrate-install.sh. This script should likely be baked into the build somewhere somehow. The default pool size is currently 5000. It takes a loooooong time to set that many up, but it's very fast once they are set up to run through and verify them.

bors try


OpenJ9 build for JDK 17 is missing

Description:
I know that with migration from Adopt OpenJDK to Eclipse Temurin, Eclipse had to agree with Oracle to no longer provide OpenJ9 builds. But IBM stepped in and provides production-ready OpenJ9 binaries. Both facts are documented here. I do not know if setup-java still downloads its OpenJ9 packages from the legacy Adopt OpenJDK website or directly from the IBM Semeru website. At the moment, it does not matter much, because even IBM does not offer JDK 17 downloads yet. I am not sure about the reason, maybe OpenJ9 does not support Java 17 yet. Probably you know better than I. I did not do any deep research here. I just want some feedback, explaining what to expect here.
Justification:
We can use this issue as a reminder or to-do list task to include Semeru OpenJ9 JDK 17, as soon as it is available.
Are you willing to submit a PR?
No. I am just a user contributing to other OSS projects who happened to notice this issue when trying to upgrade versions in the GitHub build matrix for same projects.

OpenJ9, built as IBM Semeru has three milestone builds for Java 17 (https://github.com/ibmruntimes/semeru17-binaries/releases/) but it does have GA releases for Java 8, 11 and 16!

IBM resource: https://developer.ibm.com/languages/java/semeru-runtimes/downloads/
GitHub resources are ibmruntimes/semeruNN-binaries (where NN = 8, 11, 16, 17).

Thanks @bmarwell for the update concerning the milestone builds.

GitHub resources are ibmruntimes/semeruNN-binaries (where NN = 8, 11, 16, 17).

What does that mean in layman's terms? Does it mean that I can somehow use the milestone builds (at least the most recent one) with the setup-java action? Or was that just a hint for the maintainers here about how to grab those resources when upgrading the action?

Yup, just a hint for the maintainers. As long as there is no adoptium-marketplace-api and no IBM-api, they can just use their own github releases API :)

It is released, please add it when convenient. Thanks! :)

Please cut me out of this thread. I have unsubscribed from GitHub months
ago and keep getting these emails daily.
@.***
On Thu, 30 Dec 2021, 11:06 pm Benjamin Marwell, @.***>
wrote:

It is released, please add it when convenient. Thanks! :)
—
Reply to this email directly, view it on GitHub
https://github.com/actions/setup-java/issues/239#issuecomment-1003000672,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVVEBHSTUUS6PBMKF2TNZ5LUTRDLJANCNFSM5FWFB5IA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Actually, for me this works since I noticed on 2021-12-10 that a Semeru OpenJ9 release for Java 17 has been available, see https://github.com/dev-aspectj/aspectj-maven-plugin/commit/29c39f9b55f26dc7f876f1c6b3a73e11d6facdbc. So I am closing this issue.

I might use this issue to create a PR to the readme then.


Full index aggregations and simplification of stack.get_chain()

Separate full_index_dataframe from paint_dataframe and rules application

Implement full_index_dataframe at the point of aggregation (so add_link() always returns a full_index_dataframe as your view)

This will take away reliance for rules application on an instance of a Link object, rules can be applied simply to a dataframe with reference to the rules meta

I am referencing this  to #206, which is assgined to me.

This will be resolved by #235.


Trying to create service principal

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az ad sp create-for-rbac
Errors:
The command failed with an unexpected error. Here is the traceback:
'9a1d6ccd-4345-405c-adea-f80973d517e5'
Traceback (most recent call last):
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
    raise ex
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 718, in _run_job
    return cmd_copy.exception_handler(ex)
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/role/commands.py", line 51, in graph_err_handler
    raise ex
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
    result = cmd_copy(params)
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/role/custom.py", line 1246, in create_service_principal_for_rbac
    _create_role_assignment(cmd.cli_ctx, role, sp_oid, None, scope, resolve_assignee=False,
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/role/custom.py", line 200, in _create_role_assignment
    role_id = _resolve_role_id(role, scope, definitions_client)
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/role/custom.py", line 609, in _resolve_role_id
    role_defs = list(definitions_client.list(scope, "roleName eq '{}'".format(role)))
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/msrest/paging.py", line 143, in __next__
    self.advance_page()
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/msrest/paging.py", line 129, in advance_page
    self._response = self._get_next(self.next_link)
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/mgmt/authorization/v2018_01_01_preview/operations/_role_definitions_operations.py", line 285, in internal_paging
    request = prepare_request(next_link)
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/mgmt/authorization/v2018_01_01_preview/operations/_role_definitions_operations.py", line 281, in prepare_request
    request = self._client.get(url, query_parameters, header_parameters)
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/msrest/service_client.py", line 168, in get
    request = self._request('GET', url, params, headers, content, form_content)
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/msrest/service_client.py", line 108, in _request
    request = ClientRequest(method, self.format_url(url))
  File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/msrest/service_client.py", line 151, in format_url
    url = url.format(**kwargs)
KeyError: '9a1d6ccd-4345-405c-adea-f80973d517e5'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az ad sp create-for-rbac --name {} --role {} --scopes {}

Expected Behavior
Environment Summary
macOS-13.0-arm64-arm-64bit, Darwin 22.1.0
Python 3.10.8
Installer: HOMEBREW

azure-cli 2.42.0 *

Additional Context

I doubt the value you provided for --role contains curly brackets {}. This is similar to https://github.com/Azure/azure-cli/issues/15739.
We deliberately removed curly brackets from examples for --scope (#23206), but we still can't control if user insist to include them in argument values.
If that is not the case, please share the full command you use with argument values kept. Thanks.


Compile for Leonardo?

Hi, I can get an example file to compile for an Uno, but not for a Leonardo (Pro Micro).
Would it be possible to add this functionality, or perhaps I'm missing something? Using 1.1.13 if that helps.

So thanks to @diyelectromusic on Twitter, the included .txt file (with a .cpp extension instead of .txt) can be subbed to have it compile for Leonardo (tested on a Pro Micro). Seems to compile for an Uno as well, but have not actually tested it there.
Tone-leo.txt

I now have a version of this library that can support all four timers on the ATmega32U4 giving four tones on an Arduino Leonardo. Is that something of interest?
I'm a bit of a github newbie, but if you are interested, I'll attempt to submit a PR!
I have some preliminary tests on an Uno and Pro Micro, but I haven't tested it on the other supported boards or been able to test it particularly exhaustively.  I do have oscilloscope traces showing that the timings appear correct for all four timers for a limited range of frequencies.
Kevin


How to find all bitmaps?

Hey. Thanks for the project.
Can you please tell me how you can find all the coordinates of objects on a bitmap?
Something similar to:
bitmap := robotgo.OpenBitmap("images/sample.png")
target := robotgo.OpenBitmap("images/target.png")
for _, points := range robotgo.FindAllBitmaps(target, bitmap) {
	fmt.Println(points)
}

You can use robotgo.FindEveryBitmap(), I will improve it of late.

You can use robotgo.FindEveryBitmap(), I will improve it of late.

Thanks for the answer. I hope to add this feature.
Now FindEveryBitmap will only return one position https://github.com/go-vgo/robotgo/blob/master/robotgo.go#L1021

Thanks for the answer. I hope to add this feature.
Now FindEveryBitmap will only return one position https://github.com/go-vgo/robotgo/blob/master/robotgo.go#L1021

Hello, I wanted to ask you about something similar. How do I get the positions of all pixels of the same color? I'm using robotgo.GetPixelColor () in loop but it takes too long.

Hello, I wanted to ask you about something similar. How do I get the positions of all pixels of the same color? I'm using robotgo.GetPixelColor () in loop but it takes too long.

Both function will be added.

Both function will be added.

Thank you for your help, best regards

Thank you for your help, best regards

I added it, update and  use FindEveryBitmap and findEveryColor.

I added it, update and  use FindEveryBitmap and findEveryColor.

@vcaesar thanks for the feature!
But MPoint has only private x and y
https://github.com/go-vgo/robotgo/blob/7b583478d41766f7b65a951c992f32c6e3c2bb20/robotgo.go#L101

Updated.


Alert.alert (text) misaligned RNVersion 0.75.0

Description
Creating the Native
Alert.alert results in  misaligned text on Android .
Steps to reproduce
Create an Alert.alert using React Native
React Native Version
0.75.0
Affected Platforms
Runtime - Android
Output of npx react-native info
System:
  OS: macOS 14.6.1
  CPU: (8) arm64 Apple M2
  Memory: 76.83 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.18.2
    path: ~/.nvm/versions/node/v18.18.2/bin/node
  Yarn:
    version: 1.22.19
    path: /opt/homebrew/bin/yarn
  npm:
    version: 9.8.1
    path: ~/.nvm/versions/node/v18.18.2/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.5
      - iOS 17.5
      - macOS 14.5
      - tvOS 17.5
      - visionOS 1.2
      - watchOS 10.5
  Android SDK:
    API Levels:
      - "30"
      - "31"
      - "33"
      - "34"
    Build Tools:
      - 33.0.0
      - 33.0.1
      - 34.0.0
    System Images:
      - android-34 | Google APIs ARM 64 v8a
      - android-34 | Google APIs Intel x86_64 Atom
      - android-34 | Google Play ARM 64 v8a
      - android-34 | Google Play Intel x86_64 Atom
      - android-34 | Google APIs ATD ARM 64
      - android-34 | Google APIs ATD Intel x86_64 Atom
    Android NDK: Not Found
IDEs:
  Android Studio: 2022.2 AI-222.4459.24.2221.10121639
  Xcode:
    version: 15.4/15F31d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.12
    path: /opt/homebrew/opt/openjdk@17/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 14.1.1
    wanted: ^14.0.0
  react:
    installed: 18.3.1
    wanted: ^18.2.0
  react-native:
    installed: 0.75.3
    wanted: ^0.75.0
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs
Nil

Reproducer
Nil
Screenshots and Videos

Let's add a repro here please @sahad00

I tried to repro this using this sample code.
import React from 'react';
import {View, StyleSheet, Button, Alert} from 'react-native';

const showAlert = () =>
  Alert.alert(
    'Alert Title',
    'My Alert Msg My Alert Ms My Alert Msg My Alert Msg My Alert Msg My Alert Msg My Alert Msg My Alert Msgg My Alert Msg',
    [
      {
        text: 'Cancel',
        onPress: () => Alert.alert('Cancel Pressed'),
        style: 'cancel',
      },
    ],
    {
      cancelable: false,
    },
  );

const App = () => (
  <View style={styles.container}>
    <Button title="Show alert" onPress={showAlert} />
  </View>
);

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
  },
});

export default App;

@sahad00 Please update with valid reproducer.

@shubhamguptadream11 @cortinico
Guys extremely sorry it was due to style override in my styles.xml file actually I was working on react native upgrade from 0.64 to 0.75 so couldn't clear spot the issue or make a reproducer
this code was actually causing the issue
   <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="android:textColor">#000000</item>
        <item name="android:textViewStyle">@style/textViewStyle</item>
    </style>


DNS seeds do not provide good nodes.

When starting a fresh wallet, it is not possible to connect to the network and start synchronisation because the DNS seeds provide bad nodes. This is a major concern to all new users.
Multiple dynamic DNS seeders should be used. My advice is to adapt sipa's bitcoin seeder to Bean Cash: https://github.com/sipa/bitcoin-seeder
In the short term, the DNS servers can at least provide some reasonable node addresses.

I also ran into the issue of beeing unable to connect to more than 2 or 3 active nodes for syching the blockchain so I wrote myself a routine that is capable of reading a txt file (addNodes.txt) placed in the same folder with the starting script (run.sh).
It then scans the following beancash explorer websites for active nodes every start:

https://chainz.cryptoid.info/bean
https://www.coinexchange.io/network/peers/BITB

and finally puts all nodes which are no duplicates into .data/Beancash.conf
In my case my folder looks like:
./ (beancash root folder)
./.data (beancash blockchain data folder)
./run.sh (for starting the main wallet gui)
./addNodes.txt
./Beancash-qt
./Beancashd
addNotes.txt is totally optional for my script to work (also can be empty or missing) and looks like:
# new nodes
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>
addnode=2001:41d0:8:6952::
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>
addnode=<IP_ADDRESS>

run.sh looks like:
cd $(dirname "$0")
wDir=$(pwd)

dataDir="dataDir="$wDir/.data"
allNodes=()
echo "building node list .."

if [ -f "addNodes.txt" ]; then

	echo -e "\taddNodes.txt found, parsing .."

	allNodes+=($(cat "addNodes.txt" | grep "addnode="))
	echo -e "\t${#allNodes[@]} items added"
fi

echo -e "\n\tgetting a fresh node list from https://chainz.cryptoid.info/bean"

nodeSrc=$(curl -s -L "https://chainz.cryptoid.info/bean/api.dws?q=nodes")
nodes=($(jq -n "$nodeSrc" | jq '.[] | select(.subver=="'"/Bean Core:$vNumber/"'")' | jq -r ".nodes[]")) # jq -r '{[.subver]}')
idx=0

for entry in "${nodes[@]}"; do
	nodes[$idx]="addnode=$entry"

	allNodes+=("${nodes[$idx]}")
	let idx++
done
echo -e "\t${#nodes[@]} node(s) found\n"

echo -e "\tgetting a fresh node list from https://www.coinexchange.io/network/peers/BITB"
fOutput+="\n\n# nodes added from https://www.coinexchange.io/network/peers/BITB"

nodes=($(curl -s -L "https://www.coinexchange.io/network/peers/BITB" | grep "addnode=" | tr -d "<br>" | tr -d " "))
idx=0

for entry in "${nodes[@]}"; do
	allNodes+=("${nodes[$idx]}")
	let idx++
done
echo -e "\t${#nodes[@]} node(s) found"

itemCount=${#allNodes[@]}
allNodes=($(printf "%s\n" "${allNodes[@]}" | sort -u))
echo -e "\n\t\t${#allNodes[@]} entries found (removed "$(expr $itemCount - ${#allNodes[@]})" duplicates)"

echo -e "\twriting ${#allNodes[@]} entries to '$dataDir/Beancash.conf' ..."
printf "%s\n" "${allNodes[@]}" > "$dataDir/Beancash.conf"

./Beancash-qt -datadir=$wDir/.data -sprout=1 -stake=1 -dns -timeout=200 -printtoconsole

hope this helps


[Event Request] codeunit 7323 "Whse.-Act.-Post (Yes/No)" - OnBeforeWhseActivityPost

Can we please get the following event?
local procedure "Code"()
var
    HideDialog: Boolean;
    IsHandled: Boolean;
begin

   ...

        //+NEW
        IsHandled := false;
        OnBeforeWhseActivityPost(WhseActivLine, HideDialog, PrintDoc, Selection, IsHandled);
        if not IsHandled then begin
        //-NEW
            WhseActivityPost.SetInvoiceSourceDoc(Selection = 2);
            WhseActivityPost.PrintDocument(PrintDoc);
            WhseActivityPost.Run(WhseActivLine);
            Clear(WhseActivityPost);
        end; //NEW
    end;
end;

[IntegrationEvent(false, false)]
local procedure OnBeforeWhseActivityPost(var WhseActivLine: Record "Warehouse Activity Line"; HideDialog: Boolean; PrintDoc: Boolean; Selection: Integer; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


How to copy the current value of a field

When I copy field just like <COPY from="field" field=System.AssignedTo" /> and save the item, it always gets previous value of "System.AssignedTo". but I want its current value.

文档详细信息
⚠ 请勿编辑此部分。 docs.microsoft.com ➟ GitHub 问题链接必须具有此部分。

ID: c1d94b21-0d87-af97-bb99-40595bfb38e2
Version Independent ID: 0c118aeb-8b37-84a7-1d5c-ac8557258146
Content: Define default value or copy a value - TFS
Content Source: docs/reference/xml/define-default-copy-value-field.md
Product: devops
Technology: devops-agile
GitHub Login: @mijacobs
Microsoft Alias: kaelli

@ShirmyQ -- thank you for your question.
In the article's Syntax section is a note:

If the work item is being changed, the COPY or DEFAULT elements rule may select either the current or previous value from the source field.

It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a couple of options where you might consider asking your question:

Azure DevOps Support Bot

Azure DevOps on Stack Overflow


LINQ Query Does Not Respect JsonProperty Attribute

Using LINQ in the SDK does not produce the correct query. See the following example:
My User class:
public class User
{
    [JsonProperty("id")]
    public string Id { get; private set; }
    [JsonProperty("type")]
    public string Type { get; private set; }

    public string Username { get; set; }

    // ....
}

and LINQ query:
Client.CreateDocumentQuery<User>(DatabaseUri, new FeedOptions { MaxItemCount = 1 })
    .Where(d => d.Id == "GUID").AsEnumerable();

produces the following query:
SELECT * FROM root WHERE (root.Id = "GUID")

This finds no results because Id was not lowercase in the query, as specified in the JsonProperty attribute.
Running this query in the portal with the query explorer manually returns the expected result:
SELECT * FROM root WHERE (root.id = "GUID")

What version of the SDK are you using?

"Microsoft.Azure.DocumentDB": "1.5.0"

I also noticed this same issue when running the samples project, which used [JsonConverter(typeof(StringEnumConverter))] on some enums initially.
see my pull request, which just removed it as a work-around https://github.com/Azure/azure-documentdb-net/pull/63

Can't reproduce.
        using (var client = new DocumentClient(new Uri(endpoint), authKey))
        {
            string id = "bar";
            Document d = client.CreateDocumentAsync(UriFactory.CreateDocumentCollectionUri(dbid, collid), new Foo { Id =  id}).Result;

            var query = client.CreateDocumentQuery<Foo>(UriFactory.CreateDocumentCollectionUri(dbid, collid)).Where(f => f.Id == id);
            Console.WriteLine(query.ToString());

            Foo foo = query.AsEnumerable().FirstOrDefault();
            Console.WriteLine(foo.Id);
        }

query.ToString() produces - {"query":"SELECT * FROM root WHERE (root.id = "boo") "}
and the result of the object returned is as expected - "boo"

Can you supply a repro, please

This example more closely mates my real code base. Looks like it has something to do with the generics in my Repository class. My original explanation in this thread didn't include that, so that example likely works as expected.
Run this console app:
https://gist.github.com/kspearrin/d5c11170e9188029fbb3

I see the issue now. It appears that [JsonProperty("id")] needs to be added to the IDataObject Interface. Adding this makes this example work.
public interface IDataObject
{
    [JsonProperty("id")]
    string Id { get; }
}

Sorry about that. Thanks.

JsonConverter, however, is still an issue. See this gist https://gist.github.com/kspearrin/ffbe164c55ef102b8595

Yes, we are aware of the JsonConverter issues. These will be addressed in a future release.

Could you please x-post your JsonConverter issue as a comment on https://github.com/Azure/azure-documentdb-net/issues/55 so that we can track all JsonConverter related issues on a single issue. Thanks.


php-fpm segfault

__ratelimit: 5 callbacks suppressed
php-fpm[84706]: segfault at 0 ip 00007fca1ac36646 sp 00007fff0cc49080 error 4 in aerospike.so[7fca1abb5000+116000]
Does anybody have this problem in production env? That's terrible.

in  /var/log/messages  or the dmesg , we can find messages like this:
Nov 24 18:01:29 uc2 kernel: php-fpm[102317]: segfault at 0 ip 00007f3b0d931646 sp 00007fff307b4a50 error 4 in aerospike.so[7f3b0d8b0000+116000]
we use addr2line tool, got message like this:
$ php -r 'printf("%x\n", 0x7f3b0d931646 - 0x7f3b0d8b0000);'
81646
$ addr2line -fCi -e /usr/lib/debug/usr/lib64/php/modules/aerospike.so.debug 81646
ck_pr_md_load_ptr
/work/source/modules/common/target/Linux-x86_64/include/aerospike/ck/gcc/x86_64/ck_pr.h:162
as_nodes_reserve
/work/source/src/include/aerospike/as_cluster.h:355
aerospike_has_geo
/work/source/src/main/aerospike/aerospike_key.c:887
more informations about the os and php:
$ php --version
PHP 5.4.41 (cli) (built: May 14 2015 23:37:34)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.5, Copyright (c) 1999-2015, by Zend Technologies
php-aerospike is compiled on centos 6.7 by ourself
$ rpm -qa php-aerospike
php-aerospike-3.4.10-1.x86_64
$ gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ uname -a
Linux xxx.com  2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
CentOS release 6.4 (Final)
$ ldd /usr/lib64/php/modules/aerospike.so
linux-vdso.so.1 =>  (0x00007ffeb03fe000)
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007f2ae2db1000)
librt.so.1 => /lib64/librt.so.1 (0x00007f2ae2ba9000)
libc.so.6 => /lib64/libc.so.6 (0x00007f2ae2814000)
/lib64/ld-linux-x86-64.so.2 (0x00007f2ae3525000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f2ae2610000)
libz.so.1 => /lib64/libz.so.1 (0x00007f2ae23fa000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2ae21dc000)

@guoxiaod it looks like you are running Aerospike PHP Client v3.4.10.
Some segfaults have been fixed in the latest releases (current version is 3.4.13). Maybe you should upgrade first...

@koleo  thanks for  your reply.
The segment fault only occurred on two machine (we have 5 machines) after serveral days after restarting php-fpm.
We first saw the segment fault on v3.4.8, and still exists after upgrading to v3.4.10.
We will upgrade to v3.4.13 next week, and see if the segment fault will be reproduced.

@guoxiaod after upgrading did the issue persist? I have a similar problem and was curious.

@devrck  up to now, we have not seen segfault after upgrading aerospike-client-php to 3.4.13 at 2016-12-01

we found these backtraces:
#0  0x00007f54a0bbc6e6 in ck_pr_md_load_ptr (target=0x0)
at modules/common/target/Linux-x86_64/include/aerospike/ck/gcc/x86_64/ck_pr.h:162
#1  as_nodes_reserve (cluster=0x0) at src/include/aerospike/as_cluster.h:355
#2  aerospike_has_geo (as=0x7f54b5639420) at src/main/aerospike/aerospike_key.c:887
#3  0x00007f54a0b5ec25 in zim_Aerospike___construct (execute_data=0x7f54ad413960, return_value=0x7f54ad413920)
at /usr/src/debug/php-aerospike-3.4.13/src/aerospike/aerospike.c:752
(gdb) f 2
#2  aerospike_has_geo (as=0x7f54b5639420) at src/main/aerospike/aerospike_key.c:887
887				as_nodes_release(nodes);
(gdb) p * as
$5 = {_free = true, cluster = 0x0, config = {user = '\000' <repeats 63 times>, password = '\000' <repeats 63 times>,
ip_map = 0x0, ip_map_size = 0, max_conns_per_node = 300, async_max_conns_per_node = 300, pipe_max_conns_per_node = 64,
conn_timeout_ms = 1000, tender_interval = 1000, thread_pool_size = 16, hosts_size = 2, hosts = {{
Is it possible that as->cluster is null ?

Today, the segfault happened again  in the product envrionment with 3.4.13

Today, the segfault happened again  in the product envrionment with 3.4.13

Today, the segfault happened again  in the product envrionment with 3.4.13

Today, the segfault happened again  in the product envrionment with 3.4.13

Same backtrace?

Same backtrace?

the addr2line 's result show that the segfault is same as 3.4.10, and also same as the backtrace (aerospike_has_geo)

$ dmesg
php-fpm[75097]: segfault at 0 ip 00007fc6a5543766 sp 00007fff5f899e60 error 4 in aerospike.so[7fc6a54c2000+116000]
php-fpm[75118]: segfault at 0 ip 00007fc6a5543766 sp 00007fff5f899e60 error 4 in aerospike.so[7fc6a54c2000+116000]
php-fpm[75154]: segfault at 0 ip 00007fc6a5543766 sp 00007fff5f899e60 error 4 in aerospike.so[7fc6a54c2000+116000]

$ php -r 'printf("%x\n", 0xfc6a5543766 -  0xfc6a54c2000);'
81766

$ addr2line -fCi -e /usr/lib/debug/usr/lib64/php/modules/aerospike.so.debug 81766
ck_pr_md_load_ptr
/work/source/modules/common/target/Linux-x86_64/include/aerospike/ck/gcc/x86_64/ck_pr.h:162
as_nodes_reserve
/work/source/src/include/aerospike/as_cluster.h:355
aerospike_has_geo
/work/source/src/main/aerospike/aerospike_key.c:887

3.4.14 checks for NULL cluster in the constructor before calling aerospike_has_geo.


feat!: output entire resources

This should lower the number of outputs that we have, since in theory we'll only need one output per resource.
https://github.com/hashicorp/terraform/issues/9067#issuecomment-433518051

@hknutsen

Now that modules have been published to the registry, simple output types should be preferred as they are easier to document than complex objects.


improve signal handling

support multiple proxy object

$DBus.waitSignal([$a, $b])

support different message bus
fix timeout

need method overload


[BUG] Item Piles NPC is producing errors from having nested items

Not sure what exactly is going on. I don't know if it's because it's in a container, in a container on an Item Piles NPC, or if it's because it's an Item Piles NPC (or even something else ¯_(ツ)_/¯ )
Here is a link to an actor causing errors in the log. The errors are almost certainly benign, but I should be able to keep them from happening

Fixed in 2.12.3


[Ubuntu] DevTools not opening anymore

So yesterday I updated the chromium package and the DevTools suddenly stopped working, I simply can't open them anymore.
I'm running : Version 84.0.4147.135 (Developer Build) built on Ubuntu bionic/18.04, running on LinuxMint tricia/19.3 (64-bit)
On Linux Mint.
I've tried this so far :

Ctrl+12
Menu > More Tools > Developer Tools
Ctrl + Shift + I

Works on arch

Do you get any console output?

I get this when I try to open it from Bionic:
[15953:15953:0823/141018.049476:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[15953:15953:0823/141018.049536:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[15953:15953:0823/141018.051310:ERROR:CONSOLE(70)] "Uncaught TypeError: Cannot read property 'setInspectedTabId' of undefined", source: devtools://devtools/bundled/devtools_compatibility.js (70)

@jstkdng

Do you get any console output?
I got the same as @braewoods

Is there a way to downgrade the package or rebuild an older version ?

Works on Gentoo too

Version 84.0.4147.135 (Developer Build) built on Ubuntu bionic/18.04, running on LinuxMint tricia/19.3 (64-bit)

I got the same issue with this build on Linux Mint.

I get this when I try to open it from Bionic:
[15953:15953:0823/141018.049476:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[15953:15953:0823/141018.049536:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[15953:15953:0823/141018.051310:ERROR:CONSOLE(70)] "Uncaught TypeError: Cannot read property 'setInspectedTabId' of undefined", source: devtools://devtools/bundled/devtools_compatibility.js (70)

The same thing on Kubuntu 18.04

This issue seems to effect only the Bionic build for some reason. The Focal build works correctly from what I was able to find out in a VM test.

I get the same error on Ubuntu 18.04.5 LTS.

This appears to be a bug specific to Ubuntu, upstream issues:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1873996
https://bugs.chromium.org/p/chromium/issues/detail?id=1072187
Has since been fixed in upstream chromium

Might be helpful to see if the change in version 85 can be backported to 84.

I'm having the same issue on Xubuntu 18.04. I believe the culprit of this issue is that Chromium contacts Google's servers when opening the DevTools, and ungoogled-chromium blocks it. Not sure though.
[3640:3640:1031/084451.622182:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[3640:3640:1031/084451.629185:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[3640:3640:1031/084451.643353:ERROR:CONSOLE(70)] "Uncaught TypeError: Cannot read property 'setInspectedTabId' of undefined", source: devtools://devtools/bundled/devtools_compatibility.js (70)
[3681:3696:1031/084451.764738:ERROR:url_request.cc(569)] Block URL in URLRequest: https://update.9oo91eapis.qjz9zk/service/update2/json?cup2key=XXXXXXXX&cup2hreq=XXXXXXXXXXXXX
[3681:3696:1031/084451.764918:ERROR:trk_protocol_handler.cc(17)] Blocked URL in TrkProtocolHandler: trk:https://update.9oo91eapis.qjz9zk/service/update2/json?cup2key=XXXXXXX&cup2hreq=XXXXXXXXXXXXXX
[3640:3640:1031/084508.389850:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[3640:3640:1031/084508.390094:ERROR:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'Runtime' of undefined", source: devtools://devtools/bundled/root/root-legacy.js (1)
[3640:3640:1031/084508.395385:ERROR:CONSOLE(70)] "Uncaught TypeError: Cannot read property 'setInspectedTabId' of undefined", source: devtools://devtools/bundled/devtools_compatibility.js (70)
[3681:3696:1031/084541.204541:ERROR:url_request.cc(569)] Block URL in URLRequest: https://update.9oo91eapis.qjz9zk/service/update2/json?cup2key=XXXXXXXX&cup2hreq=XXXXXXXXX
[3681:3696:1031/084541.204712:ERROR:trk_protocol_handler.cc(17)] Blocked URL in TrkProtocolHandler: trk:https://update.9oo91eapis.qjz9zk/service/update2/json?cup2key=XXXXXXX&cup2hreq=XXXXXXXXXX

The Uncaught TypeErrors are the more likely culprit.
Though this issue is pretty old so I'm closing unless the latest version still has the same issue.

The Uncaught TypeErrors are the more likely culprit.
Though this issue is pretty old so I'm closing unless the latest version still has the same issue.

Yeah, I've checked now on Ubuntu 20.04.1 and the problem seems to have been fixed.

Yeah, I've checked now on Ubuntu 20.04.1 and the problem seems to have been fixed.


Automatically infer original fragment length for truncated fragments (Raw/Ethernet)

Currently, if packets were captured using packettruncatebytes=<size>, wireshark's TCP analysis will be confused when parsing these truncated packets and you will see lots of bogus "[TCP Previous segment not captured]" and "[TCP ACKed unseen segment]".
With this PR, etl2pcapng will parse Ethernet and IP headers and infer the original length of packets and assign the length to PCAPNG_ENHANCED_PACKET_BODY::PacketLength. Note that doing so will not increase the converted file size.
Limitations:

Does not work with LSO v2 packets since length is not filled in IPv4/6 headers.

Demo:
Left - before this PR
Right - after this PR

This change is

Why isn't the length filled in LSO IP headers?
I'm concerned that having only SOME packets have the correct original length but others have only the truncated length is worse in some ways than them all consistently having the truncated length. Sort of the way that if every plank on a suspension bridge is obviously rotted, you won't cross the bridge at all, but if 90% of the planks are sturdy, you will fall to your death.

Why isn't the length filled in LSO IP headers?
I'm concerned that having only SOME packets have the correct original length but others have only the truncated length is worse in some ways than them all consistently having the truncated length. Sort of the way that if every plank on a suspension bridge is obviously rotted, you won't cross the bridge at all, but if 90% of the planks are sturdy, you will fall to your death.

In LSO v2, a LSO packet can be larger than 65535 bytes. So it can be fit in the length field. Currently etl2pcapng does not handle LSO v2 packets well as AuxFragBuf is only 65535 bytes.
I am not too concerned that some packets are still truncated. It's very easy to tell in wireshark.

Why isn't the length filled in LSO IP headers?
I'm concerned that having only SOME packets have the correct original length but others have only the truncated length is worse in some ways than them all consistently having the truncated length. Sort of the way that if every plank on a suspension bridge is obviously rotted, you won't cross the bridge at all, but if 90% of the planks are sturdy, you will fall to your death.

In LSO v2, a LSO packet can be larger than 65535 bytes. So it can't be fit in the length field. ~Currently etl2pcapng does not handle LSO v2 packets well as AuxFragBuf is only 65535 bytes.~ Packets larger than 64K will be truncated by default.
I am not too concerned that some packets are still truncated. It's very easy to tell in wireshark. Or we can add a knob for this?

OK, I guess the benefit outweighs the cost here. Proceed :)


memleak test failures?

https://github.com/richsalz/openssl/runs/1988769923?check_suite_focus=true
I don't see how this test could be failing.  It passes on my system.  I copied the exact configuration line:
; ./config enable-asan enable-ubsan no-cached-fetch

I get this output:
; make 'TESTS=test_memleak' 'V=1' tests
make depend && make _tests
make[1]: Entering directory '/home/rsalz/openssl/github'
make[1]: Leaving directory '/home/rsalz/openssl/github'
make[1]: Entering directory '/home/rsalz/openssl/github'
( SRCTOP=. \
  BLDTOP=. \
  PERL="/usr/bin/perl" \
  FIPSKEY="f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813" \
  EXE_EXT= \
  /usr/bin/perl ./test/run_tests.pl test_memleak )
90-test_memleak.t ..
# The results of this test will end up in test-runs/test_memleak
1..2
==32011==AddressSanitizer: libc interceptors initialized
|| `[0x10007fff8000, 0x7fffffffffff]` || HighMem    ||
|| `[0x02008fff7000, 0x10007fff7fff]` || HighShadow ||
|| `[0x00008fff7000, 0x02008fff6fff]` || ShadowGap  ||
|| `[0x00007fff8000, 0x00008fff6fff]` || LowShadow  ||
|| `[0x000000000000, 0x00007fff7fff]` || LowMem     ||
MemToShadow(shadow): 0x00008fff7000 0x000091ff6dff 0x004091ff6e00 0x02008fff6fff
redzone=16
max_redzone=2048
quarantine_size_mb=256M
thread_local_quarantine_size_kb=1024K
malloc_context_size=30
SHADOW_SCALE: 3
SHADOW_GRANULARITY: 8
SHADOW_OFFSET: 0x7fff8000
==32011==Installed the sigaction for signal 11
==32011==Installed the sigaction for signal 7
==32011==Installed the sigaction for signal 8
==32011==T0: stack [0x7fffa5d51000,0x7fffa6551000) size 0x800000; local=0x7fffa654d348
==32011==AddressSanitizer Init done
==32016==Processing thread 32011.
==32016==Stack at 0x7fffa5d51000-0x7fffa6551000 (SP = 0x7fffa654d098).
==32016==TLS at 0x7f4d1a901000-0x7f4d1a902080.

=================================================================
==32011==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 3 byte(s) in 1 object(s) allocated from:
    #0 0x4da700  (/home/rsalz/openssl/github/test/memleaktest+0x4da700)
    #1 0x512c30  (/home/rsalz/openssl/github/test/memleaktest+0x512c30)
    #2 0x7f4d186a6b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

SUMMARY: AddressSanitizer: 3 byte(s) leaked in 1 allocation(s).
../../util/wrap.pl ../../test/memleaktest => 1
ok 1 - running leak test
==32018==AddressSanitizer: libc interceptors initialized
|| `[0x10007fff8000, 0x7fffffffffff]` || HighMem    ||
|| `[0x02008fff7000, 0x10007fff7fff]` || HighShadow ||
|| `[0x00008fff7000, 0x02008fff6fff]` || ShadowGap  ||
|| `[0x00007fff8000, 0x00008fff6fff]` || LowShadow  ||
|| `[0x000000000000, 0x00007fff7fff]` || LowMem     ||
MemToShadow(shadow): 0x00008fff7000 0x000091ff6dff 0x004091ff6e00 0x02008fff6fff
redzone=16
max_redzone=2048
quarantine_size_mb=256M
thread_local_quarantine_size_kb=1024K
malloc_context_size=30
SHADOW_SCALE: 3
SHADOW_GRANULARITY: 8
SHADOW_OFFSET: 0x7fff8000
==32018==Installed the sigaction for signal 11
==32018==Installed the sigaction for signal 7
==32018==Installed the sigaction for signal 8
==32018==T0: stack [0x7ffde0cf2000,0x7ffde14f2000) size 0x800000; local=0x7ffde14ede88
==32018==AddressSanitizer Init done
==32023==Processing thread 32018.
==32023==Stack at 0x7ffde0cf2000-0x7ffde14f2000 (SP = 0x7ffde14edbd8).
==32023==TLS at 0x7fe19a490000-0x7fe19a491080.
../../util/wrap.pl ../../test/memleaktest freeit => 0
ok 2 - running no leak test
ok
All tests successful.
Files=1, Tests=2,  1 wallclock secs ( 0.01 usr  0.00 sys +  0.05 cusr  0.02 csys =  0.08 CPU)
Result: PASS
make[1]: Leaving directory '/home/rsalz/openssl/github'
;

This test is failing consequently on Ubuntu 20.04 and is working consequently on Ubuntu 18.04. I configured it with ./config enable-asan enable-ubsan no-cached-fetch.
I am pretty sure this is related to changes in the environment. When I can valgrind test/memleaktest I get no error (All heap blocks were freed -- no leaks are possible) what is certainly incorrect since this is leaking reliably. Additionally, I noticed following note:
ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.
I did not succeed getting this running, neither by setting LD_PRELOAD nor by modifying the Makefile manually. I case I can make some tests, feel free to contact me.


AKS Panic Runtime Error

Hello,
after 30 min of running process into Cloud Shell (huge Env) I received this:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x925db4]
goroutine 205752 [running]:
github.com/Azure/azqr/internal/scanners/aks.(*AKSScanner).GetRules.func12({0x11dc3c0?, 0xc0001599f0?}, 0xc002897710?)
/home/runner/work/azqr/azqr/internal/scanners/aks/rules.go:207 +0x34
github.com/Azure/azqr/internal/scanners.(*RuleEngine).EvaluateRule(_, {{0x150de2d, 0x7}, {0x150f5b6, 0x8}, {0x1513150, 0xa}, {0x1551f0d, 0x39}, {0x1509b0b, ...}, ...}, ...)
/home/runner/work/azqr/azqr/internal/scanners/scanner.go:100 +0x6c
github.com/Azure/azqr/internal/scanners.(*RuleEngine).EvaluateRules(0xc0002bc980?, 0xc0040be650?, {0x11dc3c0, 0xc0001599f0}, 0x150c510?)
/home/runner/work/azqr/azqr/internal/scanners/scanner.go:119 +0x158
github.com/Azure/azqr/internal/scanners/aks.(*AKSScanner).Scan(0xc0002bc980, {0xc0040be650, 0xf}, 0x112d7?)
/home/runner/work/azqr/azqr/internal/scanners/aks/aks.go:40 +0x1c5
github.com/Azure/azqr/cmd/azqr.retry(0x3, 0xc0059ffd40?, {0x16dba68, 0xc0002bc980}, {0xc0040be650, 0xf}, 0x0?)
/home/runner/work/azqr/azqr/cmd/azqr/scan.go:346 +0x125
github.com/Azure/azqr/cmd/azqr.scan.func2({0xc0040be650?, 0x766f45?}, {0x16dba68?, 0xc0002bc980?})
/home/runner/work/azqr/azqr/cmd/azqr/scan.go:262 +0x99
created by github.com/Azure/azqr/cmd/azqr.scan in goroutine 1
/home/runner/work/azqr/azqr/cmd/azqr/scan.go:259 +0x1cce
Regards,
Red.

@red-erik sorry about that. Can you please confirm the azqr version by running: azqr -v

Hello,
installed this morning into Cloud Shell according to your instructions
azqr version 0.32.1
Regards,
Red.

@red-erik just released v.0.32.2 with the fix.

It worked very well.
Thank you very much for your work.
Regards,
Red.