_leaderboardUpdate in SimonSaysArea misbehaving

The function _leaderboardUpdate() in: townService\src\town\SimonSaysArea.ts contains a bug where updatedEntry is invalid/buggy. Causing the JSON file to be corrupt/null.

Fixed in: https://github.com/oms9/CS490-Group5/pull/2.
Created a quick branch to fix the issue.
Also ran npm lint format which caused changes to a lot of other files, reminder not to do that next time so commits stay clean.

Fixed in: https://github.com/oms9/CS490-Group5/pull/2.
Created a quick branch to fix the issue.
Also ran npm lint format which caused changes to a lot of other files, reminder not to do that next time so commits stay clean.


pkg/gate: Refactor gate to enable to track metrics for multiple gates

Signed-off-by: Kemal Akkoyun<EMAIL_ADDRESS>Changes will be useful for https://github.com/thanos-io/thanos/pull/2657 to track gate metrics for queries that has multiple selects.

[x] Change is not relevant to the end user.

Changes

Refactor gate to enable to track metrics for multiple gates
Add an interface that conforms prometheus/gate as well to use interchangeably

Verification

make test

Another flaky test incident, tests need a re-run.


What does 'splits' mean

inception model takes in 3 channels input, how to compute IS on single channel image?

inception model takes in 3 channels input, how to compute IS on single channel image?

Hi Njuhang, you will have to convert it into a 3 channel images. You can either duplicate the 1 channel two times (let me know if this works since I haven't tested it) or you could convert your image into a RBG image. The idea here is then that specific values within the Red, Blue and Green channels will result in a grey image (which will work as I have tested it).


ModernTaxonomyPicker not displaying suggestions when typing in values - "API not found" error

Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
Please specify what version of the library you are using: [3.15.0]
Expected / Desired Behavior / Question
when users starts to type into the ModernTaxonomyPicker field they should be presented with a list of suggestions.
Observed Behavior
When typing into the ModernTaxonomyPicker the suggestions menu returns "no results found". however there are a number of terms in that area of the term store that should return a match. When i have looked in the console there as a 400 bad request error from the searchTerm api.
The field is anchored correctly because the users can click the slide out and select terms this way. It just fails to display suggestions because the API call fails.
The request URL is formulated as follows in the network console:
https://####.sharepoint.com/sites/#####/_api/v2.1/termstore/searchTerm(label='a',setId='{guidvalue}',languageTag='en-US',stringMatchId='0',parentTermId='{guidvalue}')?$top=50
the response form this call is:
{
"error": {
"code": "invalidRequest",
"innerError": {
"code": "apiNotFound"
},
"message": "API not found"
}
}
I have managed to get the call working in a browser window by changing the perameter stringMatchId='0' to stringMatchOption='StartsWith'.
Steps to Reproduce

Add the ModernTaxonomyPicker control in a SPFx project
Anchor the picker to a parent term that has children
start typing a term value into the picker field that matches one of the child terms.

I have the same issue as well. It started today. I am using library version 3.13.0.

I have the same issue. Appears stringMatchId has been deprecated / removed from the underlying API... stringMatchOption works. TaxonomyService needs updating I suspect

We have detected the same behavior on 15-th of November 2023. On 9-th of November 2023, the ModernTaxonomyPicker used to work without any problems.
Probably not required here, but adding used dependencies versions in this case (taken from package.json):
"@microsoft/sp-core-library": "1.16.1",
"react": "17.0.1",
"react-dom": "17.0.1"
Just in case someone needs a workaround unfil this will be fixed - Tag icon (highlighted) on the right side of the control works without any problems.:

Issue occurs only if autocomplete is used.

we are also facing same issue in multiple applications. please let me know in case of any workarounds we have more than 1000 values in sets.

@akashpanjwani If you have immediate need to fix the issue, you can use the patch-package package and modify the "SPTaxonomyService.js" located in "/node_modules/@pnp/spfx-controls-react/lib/services" so that it uses the stringMatchOption property with the value StartsWith. Afterwards, it should work again.
That was the approach we choose until a permanent fix is implemented (I provided PR #1704, but we will see if it is accepted or if I oversaw a use case).

@lafe It works Thanks.

Our company has lots forms with this control, please fix this issue as soon as possible. Thank you!

We use this control in multiple spfx solutions and I received "some" mails from not so happy users since last week. For the time being I applied the changes made in the pull request @lafe as patch - Thank you for your work! Hopefully the pull request get's merged soon.

SPTaxonomyService.js.zip
If it is necessary to urgently resolve this issue, unpack this archive and replace the file<EMAIL_ADDRESS>with the one in the archive. Or make changes manually.

I would recommend to use patch-package or a similar approach instead of manually editing the file. This ensures that the changes are not overwritten by accident, that they are commited to source control, that every developer has the same changes and that you still can use build pipelines (if none of that is a concern, then the benefit is obviously not as big).

@lafe Thank you for your work!

The main work was done by @amy-woods who already outlined the solution in the issue itself. Thank you for that!

Any news on this bug ?

Hi all, really sorry for the delay in reviewing this item and that it's causing issues for so long.
The PR is now merged and the fix will be in the beta release in a few minutes. It would be great if someone can confirm that it resolves the issue using the beta release.
Considering the impact, we will start discussions for the next release.

@joelfmrodrigues Fix works in my projects (used 3.17.0-beta.7718771)

@raclettierer many thanks for confirming, we are discussing/planning when to do the next main release


OPCT-239: documentation: added community standards

https://issues.redhat.com/browse/OPCT-239

PTAL?
/assign @faermanj @rvanderp3 @jcpowermac


Add configuration for the vault domain

Not urgent, will be solved differently from the environment.js files


enhance: use application logger

part of the effort for https://github.com/go-vela/community/issues/419
This change updates the worker to have a consistent, standardized set of fields when running a build.
To achieve this, we create a logger at the application level with the standard set of fields:
https://github.com/go-vela/worker/blob/57f21ed56d2e24a949d2e84babd469214e78f9b9/cmd/vela-worker/exec.go#L38-L49
And pass that logger to the executor and runtime packages:
https://github.com/go-vela/worker/blob/57f21ed56d2e24a949d2e84babd469214e78f9b9/cmd/vela-worker/exec.go#L51-L55
https://github.com/go-vela/worker/blob/57f21ed56d2e24a949d2e84babd469214e78f9b9/cmd/vela-worker/exec.go#L66-L70
Log Samples
Here is a snippet of what the logs look like before this change:
{"build":1,"host":"worker","level":"info","msg":"creating build","repo":"JordanBrockopp/vela-play","time":"2021-12-13T20:32:22Z","version":"v0.11.0"}
{"build":1,"host":"worker","level":"info","msg":"uploading build state","repo":"JordanBrockopp/vela-play","time":"2021-12-13T20:32:22Z","user":"JordanBrockopp"}
{"level":"trace","msg":"no-op: setting up for build JordanBrockopp_vela-play_1","time":"2021-12-13T20:32:22Z"}
{"build":1,"host":"worker","level":"info","msg":"creating init step","repo":"JordanBrockopp/vela-play","time":"2021-12-13T20:32:22Z","user":"JordanBrockopp"}
{"build":1,"host":"worker","level":"info","msg":"planning init step","repo":"JordanBrockopp/vela-play","time":"2021-12-13T20:32:22Z","user":"JordanBrockopp"}
{"build":1,"host":"worker","level":"debug","msg":"uploading step state","repo":"JordanBrockopp/vela-play","step":"init","time":"2021-12-13T20:32:22Z","user":"JordanBrockopp"}
{"build":1,"host":"worker","level":"debug","msg":"retrieve step log","repo":"JordanBrockopp/vela-play","step":"init","time":"2021-12-13T20:32:22Z","user":"JordanBrockopp"}
{"build":1,"host":"worker","level":"debug","msg":"uploading build snapshot","repo":"JordanBrockopp/vela-play","time":"2021-12-13T20:32:22Z","user":"JordanBrockopp"}
{"build":1,"host":"worker","level":"info","msg":"planning build","repo":"JordanBrockopp/vela-play","time":"2021-12-13T20:32:22Z","version":"v0.11.0"}
{"build":1,"host":"worker","level":"info","msg":"creating network","repo":"JordanBrockopp/vela-play","time":"2021-12-13T20:32:22Z","user":"JordanBrockopp"}
{"level":"trace","msg":"creating network for pipeline JordanBrockopp_vela-play_1","time":"2021-12-13T20:32:22Z"}
{"level":"trace","msg":"inspecting network for pipeline JordanBrockopp_vela-play_1","time":"2021-12-13T20:32:23Z"}
{"build":1,"host":"worker","level":"info","msg":"creating volume","repo":"JordanBrockopp/vela-play","time":"2021-12-13T20:32:23Z","user":"JordanBrockopp"}
{"level":"trace","msg":"creating volume for pipeline JordanBrockopp_vela-play_1","time":"2021-12-13T20:32:23Z"}
{"level":"trace","msg":"inspecting volume for pipeline JordanBrockopp_vela-play_1","time":"2021-12-13T20:32:23Z"}
{"build":1,"host":"worker","level":"debug","msg":"uploading step snapshot","repo":"JordanBrockopp/vela-play","time":"2021-12-13T20:32:23Z","user":"JordanBrockopp"}
{"build":1,"host":"worker","level":"debug","msg":"uploading step logs","repo":"JordanBrockopp/vela-play","time":"2021-12-13T20:32:23Z","user":"JordanBrockopp"}
{"build":1,"host":"worker","level":"debug","msg":"uploading build snapshot","repo":"JordanBrockopp/vela-play","time":"2021-12-13T20:32:23Z","user":"JordanBrockopp"}

Here is a snippet of what the logs look like after this change:
{"build":1,"executor":"linux","host":"worker","level":"info","msg":"creating build","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"info","msg":"uploading build state","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"trace","msg":"no-op: setting up for build JordanBrockopp_vela-play_1","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"info","msg":"creating init step","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"info","msg":"planning init step","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"debug","msg":"uploading step state","repo":"JordanBrockopp/vela-play","runtime":"docker","step":"init","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"debug","msg":"retrieve step log","repo":"JordanBrockopp/vela-play","runtime":"docker","step":"init","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"debug","msg":"uploading build snapshot","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"info","msg":"planning build","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"info","msg":"creating network","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"trace","msg":"creating network for pipeline JordanBrockopp_vela-play_1","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"trace","msg":"inspecting network for pipeline JordanBrockopp_vela-play_1","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"info","msg":"creating volume","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"trace","msg":"creating volume for pipeline JordanBrockopp_vela-play_1","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"trace","msg":"inspecting volume for pipeline JordanBrockopp_vela-play_1","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"debug","msg":"uploading step snapshot","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"debug","msg":"uploading step logs","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}
{"build":1,"executor":"linux","host":"worker","level":"debug","msg":"uploading build snapshot","repo":"JordanBrockopp/vela-play","runtime":"docker","time":"2021-12-13T20:28:59Z","user":"JordanBrockopp","version":"v0.11.0"}

Full Log File
Here is an example of what the logs look like before this change:
old.txt
Here is an example of what the logs look like after this change:
new.txt

@wass3r FYI - I fixed more items the linter was complaining about so it dismissed your review 😞


Blank lines in Hovers are removed

VSCode Version: 1.5 (Insiders)
OS Version: Windows 10

This was previously raised and fixed (#10311) in Insiders, but in the last few days it appears to have come back.
Here's the text I'm sending (note: I believe list item spacing is another known issue, so ignore those):
_italic_ **bold**.

And some \`inline code\`.

Here's a screenshot from Insiders last week (good) vs Insiders yesterday (same as Stable)

@alexandrudima looks like you did some fixing in hover.css

@jrieken This was caused by c4f3544a66e45f3c4e62e46a46c5da48d76f1dbc -- I did that because I noticed TypeScript hovers were looking pretty ugly in the monaco editor.
I will refine the CSS to apply only to the monaco-editor.
BEFORE MY CHANGE

MONACO-EDITOR NPM VERSION


fix(engine/savefile): fix crash when reading proclist from scap

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area API-version

/area libscap-engine-savefile
/area libsinsp

Does this PR require a change in the driver versions?
No

What this PR does / why we need it:
In https://github.com/falcosecurity/libs/pull/1471 we have removed the null check for the process entry callback replacing it with a default callback. However, the savefile engine was not calling that function but only using the regular callback instead which is routed to sinsp. The two work differently and the regular one is unable to handle missing proc entries when parsing fds (yes the callback for fds and procs is the same) leading to crashes while reading scap files. This patch restores the use of the default callback during scap read.
Meanwhile, in https://github.com/falcosecurity/libs/pull/1472 we have removed reading from the scap proc table at sinsp startup which makes some sense since the scap proc table was no longer written due to the fact that we were not using the default callback, but once we started using it again we need to reintroduce it.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

/milestone 0.15.0

LGTM label has been added.  Git tree hash: 3ca567b2f31007a015fdfbacce075fcb978ae5f0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: gnosek, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra,gnosek]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: gnosek, leogr, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra,gnosek,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


update generated comp. files, 1.16

removed two generated federation files

@simplytunde , looking at the generated files, the kubelet page is not updated. There is a note
in reference.yml about manually updating this page.
@tengqm , if the kubelet page needs content changes, is it a case of manually running the cmd and creating the content from the output? I can modify the page to have the same front matter content; I have not tried to diff the output.

@kbhawkey Sadly yes. We have to manually update the content for kubelet.

The kubelet page is updated now, though surprised by the table layout. Let me know what you think.

kubelet page: https://5d7fc61831569b0008d65d3c--kubernetes-io-vnext-staging.netlify.com/docs/reference/command-line-tools-reference/kubelet/
@kbhawkey It looks very different . @tengqm  any idea why it looks so different?

Kubelet page is  looking good.
/lgtm

/approve


in scvi.model.utils.mde - expose the embedding_dim of the undelying mds function call?

Hi, we have developed a VR application to analyse single cell data and are frequently using this to compare 3D dimension reduction outcomes. I would love to compare harmony results with the results I get from scvi.model.SCVI. But then 3D is more informative than 2D and it is not as comfortable to work  with 2D in a 3D application.
I have - now that I looked into your implementation - seen that I can also use a embedding_dim=3 in the function call. Could you be so kind and add that into your documentation? That would likely make the live of some bioinformaticians more comfortable.
Thank you!

I fixed the documentation so that on the website it hyperlinks out to the pymde website function reference, which should make it easier to set kwargs.


The cyclonedx/cyclonedx-node container is completely unrelated to this repo

There are no docs for the container, also provided by cyclonedx, it does not use this code, the arguments are different and there does not seem to be a repository in CycloneDX which has the actual code form the docker container
https://hub.docker.com/r/cyclonedx/cyclonedx-node
Additionally, as far as I can tell, there is no way to specify the user of package-lock.json, the container entrypoint will only ever use node_modules which requires npm install to be run every time.

that is all true.
https://hub.docker.com/r/cyclonedx/cyclonedx-node is not related to this very project. and it never was.
there are no plans to create a docker container for this tool.

the container you were talking about was based on @cyclonedx/bom@^3
see https://github.com/CycloneDX/cyclonedx-node-module/tree/3.x
read https://github.com/CycloneDX/cyclonedx-node-module/tree/3.x#usage-with-docker
The container is not maintained anymore, it is in an "as is" state. The community was happy with its features.


feat: Do not call data resources when create is false

Description

Do not call data resources when create is false

Motivation and Context

Relates to https://github.com/terraform-aws-modules/terraform-aws-eks/issues/2803#issuecomment-1793083766

Breaking Changes

No

How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

This PR is included in version 2.1.0 :tada:


Implement Host UI

Recent commit 876f1e1242a54a1c858155f09fa4cb597d580b8e added necessary infrastructure for Hosts. What is missing is similar details UI as we have for VM's (HostDetailActivity with HostDetailGeneralFragment, EventsFragment and NicDetailFragment).

Do you mean to add Hosts tab on main screen?

Host main tab is already implemented. Now we need to add the details activity that would show host info/statistics, possibly with tabs for events/nics as in the VmDetailsActivity case.

I see. I will add the details activity these days

in 1.0


Scatter plot, bar chart, 3d scatter plot viewers are empty or frozen if column with structures is selected for one of the axes

DG 0.139.0, 0.140.0
Steps to reproduce

Open a table
Add one of the following viewers: scatter plot, bar chart, 3d scatter plot
Change one of the axes to use column with structures (e.g. smiles)

Expected results: viewers should support structure columns as axes
Actual results: the plot is empty (scatter plot, bar chart) or frozen (3d scatter plot) after switching axis to a structure column.

Fixed in the Chem package; see also #401 (label density is incorrect; fixed in core v144)


Tracing is broken with v1.7.16

Description
When we upgrade containerd from 1.7.15 to 1.7.16 we noticed that our tracing config is broken; we saw some errors in the containerd log that implies no endpoint is configured; but same config works with the previous version.
Steps to reproduce the issue
Describe the results you received and expected
related part of container config
  [plugins."io.containerd.internal.v1.tracing"]
    sampling_ratio = 1.0
    service_name = "containerd"

  [plugins."io.containerd.tracing.processor.v1.otlp"]
    endpoint = "<IP_ADDRESS>:4317"
    insecure = true
    protocol = "grpc"

containerd 1.7.15 logs
Jun 18 12:58:19 node1 containerd[136137]: time="2024-06-18T12:58:19.949185303Z" level=info msg="loading plugin \"io.containerd.tracing.processor.v1.otlp\"..." type=io.containerd.tracing.processor.v1
Jun 18 12:58:19 node1 containerd[136137]: time="2024-06-18T12:58:19.949558011Z" level=info msg="loading plugin \"io.containerd.internal.v1.tracing\"..." type=io.containerd.internal.v1

containerd 1.7.16 logs
Jun 18 12:49:10 node1 containerd[1368693]: time="2024-06-18T12:49:10.388645358Z" level=info msg="loading plugin \"io.containerd.tracing.processor.v1.otlp\"..." type=io.containerd.tracing.processor.v1
Jun 18 12:49:10 node1 containerd[1368693]: time="2024-06-18T12:49:10.388679435Z" level=info msg="skip loading plugin \"io.containerd.tracing.processor.v1.otlp\"..." error="skip plugin: tracing endpoint not configured" type=io.containerd.tracing.processor.v1
Jun 18 12:49:10 node1 containerd[1368693]: time="2024-06-18T12:49:10.388697817Z" level=info msg="loading plugin \"io.containerd.internal.v1.tracing\"..." type=io.containerd.internal.v1
Jun 18 12:49:10 node1 containerd[1368693]: time="2024-06-18T12:49:10.388722405Z" level=info msg="skip loading plugin \"io.containerd.internal.v1.tracing\"..." error="skip plugin: tracing endpoint not configured" type=io.containerd.internal.v1

I checked the changelog and saw that there was some work done to deprecate this config; could it be related to this commit?
What version of containerd are you using?
1.7.16
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response

Thanks for the explanation and quick reply @dmcgowan! I tried it too; this time containerd does not give any error, but still does not send any tracing data :( Do you have any idea what I am missing?
I followed the otel documentation and dropped some environment file link in the systemd file
[Service]
EnvironmentFile=-/etc/containerd/containerd.env
..

And /etc/containerd/containerd.env files is as follows:
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="http://<IP_ADDRESS>:4317"
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL="grpc"
OTEL_EXPORTER_OTLP_INSECURE="true"
OTEL_TRACES_SAMPLER="traceidratio"
OTEL_TRACES_SAMPLER_ARG="1.0"
OTEL_SERVICE_NAME="containerd"

Let me see if otel experts @cpuguy83 or @vvoland might have an idea

Yes it looks like https://github.com/containerd/containerd/pull/8645 was backported exactly as is to 1.7 in https://github.com/containerd/containerd/pull/9992 and should have fallen back to using config (or perhaps use the config to set envs).
As to why your envs are not working, it looks like containerd is not seeing them at all.
I see you are ignoring errors from your EnvironmentFile setting.
Possibly an issue there.
I'll work on a patch to 1.7 to restore support for config from toml.

@cpuguy83 thanks for the help on this! Actually containerd process seems to have right environment variables; and I can confirm that tracing plugin is loaded without any problems; but logs do not give any more information in even debug mode. So I'm not sure what the problem here.
$ cat /proc/<contaienrd_process_id>/environ
LANG=en_US.UTF-8PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/binNOTIFY_SOCKET=/run/systemd/notifyINVOCATION_ID=63edadb7e440476dad9f93027ca636d0JOURNAL_STREAM=8:495932382SYSTEMD_EXEC_PID=3109917OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://<IP_ADDRESS>:4317OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=grpcOTEL_EXPORTER_OTLP_INSECURE=trueOTEL_TRACES_SAMPLER=traceidratioOTEL_TRACES_SAMPLER_ARG=1.0OTEL_SERVICE_NAME=containerd

@ugur99 Here's the code where that log message originates from:
Here we lookup both OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_EXPORTER_OTLP_TRACES_ENDPOINT to determine if we should enable the trace exporter.
https://github.com/containerd/containerd/blob/1fdc9a05568005295e064d5b6f8c0e052e1014b5/tracing/plugin/otlp.go#L150-L152
Are you sure you are getting that log message every time?

Hi @cpuguy83; sorry I could not understand what you meant. After setting the environment variables I can see that the tracing plugins are loaded without any problems, warnings in debug mode. But I still don't see any tracing data from this containerd instance; I believe all environment variables are set correctly according to the opentelemetry documentation. Could you share a sample configuration which works fine with me just to make sure the problem is with my setup?
containerd[3871192]: time="2024-06-20T07:34:45.549575545Z" level=info msg="loading plugin \"io.containerd.tracing.processor.v1.otlp\"..." type=io.containerd.tracing.processor.v1
containerd[3871192]: time="2024-06-20T07:34:45.549984707Z" level=info msg="loading plugin \"io.containerd.internal.v1.tracing\"..." type=io.containerd.internal.v1

My guess would be the <IP_ADDRESS> in your env var (assuming that's what you actually have).


i18n(zh-cn): update markdoc.mdx

Description (required)
update markdoc.mdx
Related issues & labels (optional)

https://github.com/withastro/docs/pull/9776

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

zh-cn
guides/integrations-guide/markdoc.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Why is exported file font different?

When I export an image or svg, the title and credit's font is a serif instead of the Khula font it displays when you're creating your graph. Why and is there a fix?

There are a few threads on download font rendering issues. Try this one:
https://github.com/Quartz/Chartbuilder/issues/163


size_average=False

https://github.com/IBM/pytorch-seq2seq/blob/master/seq2seq/loss/loss.py#L108
If size_average=False, shouldn't the get_loss return without dividing by the normalization term?

@Deepblue129 Good catch.  I somehow thought size_average means averaging over time steps...  I shouldn't have affected Perplexity though..


stormpathApplication.getAccounts()

I am using 4.0.0-rc4 and migrating a Stormpath app.
I am trying to find an account by email.  My code
    var spapp    = app.get('stormpathApplication');
    spapp.getAccounts( { email: email }, function( err, collection ) {
      if ( err ) return cb( err );
      var accounts = [];
      collection.each( function( account, cb ) {
	accounts.push( account );
	cb();
      }, function( err ) {
	if ( err ) return cb( err );
       console.log( accounts );
    });

I have about 1000 accounts.  The first problem is that getAccounts() is returning more than one account.  The second problem is that it is returning only 50 accounts.
It seems like (1) the query is being ignored and (2) the collection iterator is not paging ... the default page size appears to be 50, and I only get the first page.
Am I doing something incorrectly?

Passing in { limt: 50, offset: 100 } is also ignored.  Limit seems to be honored, but no matter what offset is, I always get the first page.

Hi @peebles , that method comes from the underlying Node SDK, which is not being 100% patched for Okta.
I would suggest trying the alpha version of our Okta Node SDK:
https://github.com/okta/okta-sdk-nodejs#list-all-org-users
Please note that this module is not yet on NPM, you you will need to use the Git URL in your package.json
The Okta pagination API is different, but does support limit parameter, which can be passed to client.listUsers({limit: 100})
https://developer.okta.com/docs/api/getting_started/design_principles.html#pagination


JoErNanO: Watch nannybag.com

JoErNanO requests the watch of the watch_keyword nannybag\.com. See the MS search here and the Stack Exchange search here.

nannybag\.com has been seen in 0 true positives, 1 false positive, and 0 NAAs.

Approved by ArtOfCode in Charcoal HQ


docker windows server 2016 does not start - no matching manifest

Docker does not start
I'm using Windows Server 2016 Version 1607
if a run  docker run -d --name windows_nginx -p 8080:80 nginx:latest
I get the error below

Thanks,

Thank you for your feedback. However, it looks like your issue is not about Docker documentation, but that you may be having trouble with Docker itself. Please file a Docker support ticket or check out https://forums.docker.com/ to see if you can find a solution.
If this really is a documentation issue and I have misunderstood, please reopen it with more information.


feat: move event types to root package

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#189  👈
#187
#186
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @pevisscher and the rest of your teammates on  Graphite


Bazel: replace shell scripts with bazel rules

currently we rely on lots of shell scripts for deployment.
we can replace them with bazel rules, e.g.,
bazel run //:deploy_api -- --namespace=<namespace>

cc @privacywill


should we enable quic by default?

I'm contemplating enabling quic by default for this image. I'm not sure if that would make any problems arise for anybody as it should default to not using quic if it is not supported.
Any objections to this should be contained in this issue.

As far as I know this should be fine.  Is quic completely compatible with UDP dependent applications?

As far as I know this should be fine.  Is quic completely compatible with UDP dependent applications?

I think so - going to merge it in for now - if anyone reports issues with it, we can roll back


Minor fix to use .dict() instead of dict(...) with Pydantic objects.

#668  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rohinb2 and the rest of your teammates on  Graphite


How to choose a trained model

Hello, there is no validation set when doing unconditional generation, so I am confused about how to select the model from training as the final model.
Will the final report results be uniformly based on the results when milestone=10? Or you evaluate the models under different milestones and choose the best one.

Following TimeGAN, we did not use validation set, which may need to possible overfitting, but also made the total number of training epochs a parameter that needs optimization. I usually test trained models sequentially from 10 to smaller milestone, then change the number of training epochs. After that, I would determinate the number of epochs, then take milestone-10 as the final model. Of course, training for a few more epochs to select the best model from different milestones is also acceptable.

Thank you for your reply. I also want to ask a question. The results reported in the paper are after sampling a batch, then evaluating the same batch of synthetic data 5 times and averaging. Or sample 5 batches, evaluate each batch separately and then average.
I've found that the former results in slightly different results each time.
Note: The batch here represents the same number as the training dataset.

Hi, are you referring to metrics implemented in PyTorch? We use the latter, evaluating all baselines under the same seed due to its randomness.  Regarding discriminative score and predictive score, we just repeat experiments in the original TimeGAN paper. Thanks.

Yes. The Context_FID result of your paper is to run metric_pytorch.ipynb once after sampling the sample. Is my understanding correct?

Yes, your understanding is OK.

Thanks, you solved my doubts.


How to get last insert id?

Hi!
How to get last insert ID in this construction?
err := db.Model(m).Insert()

The model's primary key field will be automatically populated with the last insertion ID.


Calculating of reward

You have payoutPer1MHashes in calculating of reward, where do you get the value of payoutPer1MHashes?
Math: ((((xmrBtc/(1/payoutPer1MHashes))/1000000)/(miotaBtc/1000000))/(100/70))*256)
Thnx

Hi, this is from coinhive.com, get it by API every few seconds.

thnx


Add artefacts to autofill data

Any preference on how to add artifact weaponry? Since they could be whichever weapon the GM decides to give out.
The artifact armor and items should be easy enough however.

I don't have a good idea how to do artefact weapons, perhaps we should skip that for now.

Probably, I'll see about adding the armors, and items then.


Initialize ES mapping when the API starts for the first time

Issue:  Currently the the ES index and documents (for flow and flowTemplate) are been created dynamically once we create the first documents.
The flowTemplate causes errors when the channel-sources container runs since we have documents with different structures, in this case the parameter attributes in the flowTemplate could have a different structure if this is a list.
Solution 1: as the tittle says, initialize the mapping when the API is first run.
Solution 2: Store data in a different and simpler way (some memory DB that dump to disk regularly that we can embed or something else) . The API (the hapijs section) doesn't really need to access ES since it's only function is to save and retrieve flow and flowTemplate, and small additional advantage would be not waiting for ES to finish indexing some data that we just modified before we can query it again.

Also we need enable fielddata attribute during mapping in order to make text fields sortable. See: https://www.elastic.co/guide/en/elasticsearch/reference/current/fielddata.html


Fix some stdout output during tests

It is needed to make option to disable qDebug output.

testing::internal::CaptureStderr(); + check Windows case


demag_gui.py

@Caoimhinmg @Swanson-Hysell
this is now working pretty much - but there is problem calculating best fit lines that doesn't occur in zeq_magic.py.    I get this error:

with this  pmag_specimens.txt file and
pmag_specimens.txt
and this magic_measruements table.
magic_measurements.txt

The problem here is stemming from a misordering of the measurement steps that is occuring. There are some samples where the steps are being ordered fine and the fits are therefore able to be made such as 355-U1456A-1H-1_W_62. It looks like such samples have measurement_number numbers that proceed in order in the magic_measurements file.

The samples where the steps aren't appearing in order in demag_gui are the ones causing the issue given that the lower and upper bounds provided appear out of order compared to the data. For example, in 355-U1456A-27F-1_W_35 (shown below) the NRM measurement has the highest measurement number in the magic_measurements.txt file (27) and is being shown last. The 0.01 and 0.1 T steps both have a measurement number of 1.

Here are what the data look like in the measurements for that specimen:

@Caoimhinmg, is the measurement number what is being used to set the order measurements appear in demag_gui? And is this thus the root of the problem?

Thanks for the error report @ltauxe  this is a good one.
So I've been having trouble with data sorting during read in and I'm not totally sure the best method to resolve this so far. So here's what I have tried:

Leaving measurement data alone and assuming it is presorted before read in, which in this case is more or less correct and would fix the above problem, but for some data sets if this isn't true the whole thing breaks down, also then if NRM isn't first normalization errors could occur. This is what zeq_magic does to the best of my knowledge.
Sorting by measurement number which seems the most logical it's supposed to be an index telling which measurements came first chronologically, but for data sets like this the measurement number is basically nonsensical for a few samples like 355-U1456A-10H-1_W_60 in this data set which has indices ['1', '1', '2', '2', '3', '3', '4', '7', '10', '13', '16', '19', '22'] for it's measurement data.

So I'm not really sure if there is a catch all fix to this problem, for now I am just going to stop sorting data so that @ltauxe problem is resolved and because it'll speed everything up considerably. Is there any standard other people are using @moonshoes87 or @rminnett for sorting measurement data? or is the presorting assumption good for all cases?

It looks like @Caoimhinmg and I commented at exactly the same time. So @Caoimhinmg, does the code currently sort by measurement number? I agree that approach typically makes sense, but clearly it breaks down for the indices in these data.

Well, @Swanson-Hysell, until the push I just made just after our comments it was sorting by specimen then by measurement number if it was there. If not it would try to find an NRM for each specimen and make the first NRM first so the normalization wouldn't be wrong. All done using the internal python sorting algorithm which I think is time sort.
So after  the last commit it now just assumes everything is presorted as that seems to be the convention used by zeq_magic and was how the GUI used to work. I only added the sorting as an additional check when I revamped the data read in a couple weeks ago because I didn't want bad normalizations. Though due to the problems I figured I'd just remove it.

That sounds good. I think taking the approach of bring in the data in the order it is within the magic_measurements file is an approach that will be less prone to messing things up. I just opened that data using the version you updated and it looks to be going a good job with it so I will close this issue for now.

ahh.  that is because the data are a combination of imports from three different instruments and two different labs.  I didn’t re-number the measurement numbers (which I will do of course before uploading.)  I just wanted to look at the data quickly.
lisa

On Oct 20, 2016, at 10:42 AM, Kevin Gaastra<EMAIL_ADDRESS>wrote:
Thanks for the error report @ltauxe https://github.com/ltauxe this is a good one.
So I've been having trouble with data sorting during read in and I'm not totally sure the best method to resolve this so far. So here's what I have tried:
Leaving measurement data alone and assuming it is presorted before read in, which in this case is more or less correct and would fix the above problem, but for some data sets if this isn't true the whole thing breaks down, also then if NRM isn't first normalization errors could occur. This is what zeq_magic does to the best of my knowledge.
Sorting by measurement number which seems the most logical it's supposed to be an index telling which measurements came first chronologically, but for data sets like this the measurement number is basically nonsensical for a few samples like 355-U1456A-10H-1_W_60 in this data set which has indices ['1', '1', '2', '2', '3', '3', '4', '7', '10', '13', '16', '19', '22'] for it's measurement data.
So I'm not really sure if there is a catch all fix to this problem, for now I am just going to stop sorting data so that @ltauxe https://github.com/ltauxe problem is resolved and because it'll speed everything up considerably. Is there any standard other people are using @moonshoes87 https://github.com/moonshoes87 or @rminnett https://github.com/rminnett for sorting measurement data? or is the presorting assumption good for all cases?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/PmagPy/PmagPy/issues/83#issuecomment-255176100, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKrDXGfXT7JkArFqn9bngyuXouKHfrOks5q16fqgaJpZM4KcULJ.


[Poll] Real-time stuff or caching?

Which should go first, #17 or #51? Any preferences?
At this point, I'm leaning towards real-time stuff because it's a little more straight-forward with less in the air regarding implementation, but I could be swayed either way.

#51 no doubt.

Definitely #51 (now that this has been brought to my own attention).  WebSocket support in particular is becoming increasingly handy, and it's already supported by Cowboy and (I'm pretty sure) Plug; we just need to leverage those features (perhaps by referring to their implementations in, say, Pheonix or Weber and making them more... Sugary).

@YellowApple. definitely agree about referencing Phoenix and Weber when implementing it for Sugar. An older version of Phoenix is what I had in mind when I originally made the high level plan above.
Websockets are definitely supported by Cowboy ( I've used it in production before ), but from what I've seen, plug doesn't have support quite yet since they want to ensure consistency across all possible adapters. I believe they are using Phoenix as a test bed for a future integration in Plug. if anyone has info on that that differs, please let me know

For those that expressed interest in WebSocket support, care to give thoughts? https://github.com/sugar-framework/sugar/issues/51#issuecomment-96428453


Westlad/ping pong fix

Fixes ping-pong tests after some recent PRs broke it.  Also runs an automated test on ping-pong to avoid future occurrences.
For instructions on running the ping-pong test, see test/ping-pong/README.md.

I wouldn't worry.  Tests always break eventually, unless they are part of the automated testing.

I see you have removed the Dockerfile inside user-local folder but it also could be removed the Dockerfile inside proposer folder as now the proposer docker file is in the root folder with proposer.DockerFile

Good point @daveroga


Need more info on: Copy the backup files to an Azure blob/store and perform the restore from there, which should be a lot faster than performing the restore across the Internet.

Need more information on this, on the page https://docs.microsoft.com/en-us/azure/mysql/single-server/concepts-migrate-dump-restore

Copy the backup files to an Azure blob/store and perform the restore from there, which should be a lot faster than performing the restore across the Internet.

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

ID: 9072e74a-cda0-bfb2-7949-8cd81244bd64
Version Independent ID: a5a72a04-1365-3d5e-68c5-0a0f6f32e5b8
Content: Migrate using dump and restore - Azure Database for MySQL
Content Source: articles/mysql/single-server/concepts-migrate-dump-restore.md
Service: mysql
Sub-service: single-server
GitHub Login: @savjani
Microsoft Alias: pariks

Hi @Gimmeaphatbeat Thank you for reaching out.We will look into it and update as appropriate.

@Gimmeaphatbeat I'm assigning this to the author for the feedback review.

#REassign: @aditivgupta

Adding link to https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-blobs-upload to add information how to copy backup files to Azure blob.

#please-close


Reworking modules structure and pom.xml content

Reworking modules structure and pom.xml content to use inheritance as much as possible to avoid duplicated changes.
Changelog
New

standalone-runtime server image

Changed

standalone server image renamed from server to standalone
all server images are moved to releng/server directory
common pom.xml created for building server images
particular server versions pom.xml cleared out and minimized
licensing-header.txt location updated to use common base path to avoid repeating with ../ added each next nested level

@krasimirdermendzhiev @MarinHadzhiev  please take a look on this draft

This issue is closed as the project is no longer maintained


about Mel_Post_Net

Many thanks for your great work.
I have a question about the Post-Net after the Mel Linear layer, I find in the inference stage, you use the mel_pred as output rather than the postnet_pred, which is shown as follows (in synthesis,py):
with t.no_grad():
    for i in pbar:
        pos_mel = t.arange(1,mel_input.size(1)+1).unsqueeze(0).cuda()
        **mel_pred**, postnet_pred, attn, stop_token, _, attn_dec = m.forward(text, mel_input, pos_text, pos_mel)
        mel_input = t.cat([mel_input, **mel_pred**[:,-1:,:]], dim=1)

Also, when I run the code, I find that the post_mel_loss is always bigger than the mel_loss, which means the post_Net module doesn't work as expected, right? I think it is conflicted with the Post-Net module used in Tacotron and the TTS-Transformer original paper. I am a bit confused, can you explain it to me? Many thanks!

Thanks for great work.
I have the same question with @liuxubo717 , I compare with the tacotron2, find that its postnet is "torch.nn.Conv1d", I don't understand that using the "Bi-GRU" in your postnet, does it better than the postnet of Tacotron2? can you explain than? Thanks.


CORE-10367: Asynchronous requests to the membership persistent layer

I raised a few other tickets. https://github.com/corda/corda-runtime-os/pull/3289 should cover this ticket. Closing the pull request


add http connection timeout config for ec2 and s3 clients

Issue #, if available:
Description of changes:
Added connection timeout http config to ec2 and s3 clients.
Added new parameter to config-map with 30 second default value HttpClientTimeoutSeconds
Testing :

Deploy VK
Deploy a sample Pod spec
EC2 instance should be created successfully.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Opened a new PR #6  as a replacement.


[BUG] azure ad graph client ignores odata.nextLink

Describe the bug
In AzureADGraphClient.java of package com.microsoft.azure.spring.autoconfigure.aad: when querying the /memberOf endpoint to obtain group membership information, it is possible that a user is a member of more than 100 groups. In this case, the response will look like this:
{
   "odata.metadata":"https://graph.windows.net/myorganization/$metadata#directoryObjects",
   "odata.nextLink":"directoryObjects/$/Microsoft.DirectoryServices.User/userId/memberOf?$skiptoken=X'token'",
   "value":[
      ...
   ]
}

Notice the odata.nextLink JSON key, which isn't discussed in the docs for this endpoint. The AzureADGraphClient ignores the nextLink and simply uses the first 100 groups in the JSON response to further populate the user's granted authorities in Spring.
This is an issue for applications relying on the user's active directory group memberships to determine the granted authorities because not all of the users groups will be converted to authorities
Exception or Stack Trace
I can provide logs of the /memberOf request and response if needed. We can clearly see that the response contains odata.nextLink but the logs only show one /memberOf request.
To Reproduce

build a spring application with the following dependency:

        <dependency>
        	<groupId>com.microsoft.azure</groupId>
        	<artifactId>azure-spring-boot</artifactId>
        </dependency>

write a GrantedAuthoritiesMapper based on https://docs.spring.io/spring-security/site/docs/current/reference/html5/#oauth2login-advanced-map-authorities-grantedauthoritiesmapper
create 100+ AD groups and add a user to 100+ AD groups

For step 3, the following PowerShell scripts are quite usefull: mkGroups.ps1 and rmGroups.ps1
Code Snippet
https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/AzureADGraphClient.java#L123
Expected behavior
The function loadGroups should call getUserMembershipv1 as long as the returned JSON contains a odata.nextLink JSON key.
Setup (please complete the following information):

OS: Windows 10 Pro
IDE: Eclipse version 2019-09 R (4.13.0)
Version of the Library used: 2.2.1 but all version are affected

Additional context
Please assign this issue to me, I am currently working on a fix and will make a PR asap
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

Thanks for filing this github issue, @ppartarr.  Someone from the azure-spring team will follow up with you shortly.
/cc @jialindai

@chenrujun @jialindai can you have a look at the fix? It's ready to merge https://github.com/Azure/azure-sdk-for-java/pull/14305

Was this really fixed?
We still see this issue with the latest 2.3.5 version
I see it in the release notes of the latest release: https://mvnrepository.com/artifact/com.microsoft.azure/azure-active-directory-spring-boot-starter/2.3.5
# Release History

## 2.3.5 (2020-09-14)
_Bug Fixes_
- Get full list of groups the user belongs to from Graph API

I see part of the the bug fix here in the forked version:
https://github.com/ppartarr/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/AzureADGraphClient.java#L151
And not in the either the tagged version:
https://github.com/Azure/azure-sdk-for-java/blob/azure-spring-boot_2.3.5/sdk/spring/azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/AzureADGraphClient.java
Or the master after the package restructure.
https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot/src/main/java/com/azure/spring/autoconfigure/aad/AzureADGraphClient.java
Or am I missing something?

Seems like you're right @peter-c-larsson. The fix was overwritten by @chenrujun in this commit. It's probably worth adding a test for this

@jialindai, @chenrujun and @joshfree: Can we have this issue reopened again and any ETA on when the the fix can be reapplied and released?

Hi, @peter-c-larsson

Was this really fixed?

Yes, this was fixed since 2.3.5.
Here is related code: https://github.com/Azure/azure-sdk-for-java/blob/azure-spring-boot_2.3.5/sdk/spring/azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/AzureADGraphClient.java#L125-L135

Or am I missing something?

I rewrite this part of code. Sorry for making you confused.
@ppartarr

It's probably worth adding a test

Already added integration test.
Here it is: https://github.com/Azure/azure-sdk-for-java/blob/azure-spring-boot_2.3.5/sdk/spring/azure-spring-boot-test-aad/src/test/java/com/microsoft/azure/test/aad/groups/AADGroupsCountIT.java#L41-L66
@peter-c-larsson

Can we have this issue reopened again and any ETA on when the the fix can be reapplied and released?

I reopened it.

Could you please have a detailed description of your problem?

Or please debug in your localhost about the following code: https://github.com/Azure/azure-sdk-for-java/blob/azure-spring-boot_2.3.5/sdk/spring/azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/AzureADGraphClient.java#L125-L135

Thanks. We have 2 users who can't access our application and the only thing that stands out is that they have a lot of groups 100+.
Will investigate further and update the case with some more info with what I find.
@ppartarr : Did you test or verify the released version?

Ah indeed @chenrujun, I read over too fast and skipped the assignment of the oDataNextLink to urlString here, mb!
@peter-c-larsson I couldn't wait for the bug fix to be released so I backported the fix to 2.3.2 and have been using that version since. You can use these powershell scripts to test if the number of group memberships is indeed causing the issue: [1] [2]. I will also do some testing on my end.
[1] https://github.com/ppartarr/active-directory-aspnetcore-webapp-openidconnect-v2/blob/master/5-WebApp-AuthZ/5-2-Groups/AppCreationScripts/BulkCreateGroups.ps1
[2] https://github.com/ppartarr/active-directory-aspnetcore-webapp-openidconnect-v2/blob/master/5-WebApp-AuthZ/5-2-Groups/AppCreationScripts/BulkRemoveGroups.ps1

Hi!
Now I have managed to reproduce the issue and it seems that the second link always returns null
To make it easier to test for me:
azure.service.endpoints.global-v2-graph.aadMembershipRestUri=https://graph.microsoft.com/v1.0/me/memberOf
==>
azure.service.endpoints.global-v2-graph.aadMembershipRestUri=https://graph.microsoft.com/v1.0/me/memberOf?$top=5

The added debug:
        System.out.println("=== urlString 1 debug: " + urlString);
        while (urlString != null) {
            String responseInJson = getUserMemberships(graphApiToken, urlString);
            UserGroups userGroups = objectMapper.readValue(responseInJson, UserGroups.class);
            userGroups.getValue()
                      .stream()
                      .filter(this::isMatchingUserGroupKey)
                      .forEach(userGroupList::add);
            System.out.println("=== number of groups: " + userGroups.getValue().size());
            urlString = Optional.of(userGroups)
                                .map(UserGroups::getOdataNextLink)
                                .map(this::getUrlStringFromODataNextLink)
                                .orElse(null);
            System.out.println("=== urlString 2 debug: " + urlString);
        }

And the result:
=== urlString 1 debug: https://graph.microsoft.com/v1.0/me/memberOf?$top=5
=== number of groups: 5
=== urlString 2 debug: null

Hi @peter-c-larsson This bug has been fixed in the latest version.

Thanks @lu-cheng !
I don't see any new version here however:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-active-directory-spring-boot-starter
So I take it that it is just this version that has the fix:
https://mvnrepository.com/artifact/com.microsoft.azure/azure-spring-boot
And once it leaves beta both versions will be updated?

@peter-c-larsson The fixed code has not been released, please wait for the next version, the time is uncertain.The fixed PR: #17210

Hey all, we've just released the azure-spring-boot-starter-active-directory 3.0.0. But in this release, we brought several breaking changes and new features, so please refer to this to upgrade.
Closing this issue now.

Hey all, we've just released the azure-spring-boot-starter-active-directory 3.0.0. But in this release, we brought several breaking changes and new features, so please refer to this to upgrade.
Closing this issue now.


How to use it as a transpiler?

The documentation seems a bit odd

Currently it's a non-documented experimental hobby project which tries out and shows some concepts.
I don't recommend using it in any production-like environment. Sadly also there is no support at all :(


Automatic commit: Move 'iotae-api-postman' from QA to Production

The broken link to the previous tutorial is fixed now

Edited the "You will learn" section

Sorry I wasn't clear -- every tutorial has at least one "You will learn" item with a bullet, no period at the end.
I recommend this:
- How to Use Postman to access SAP IoT APIs

In [previous tutorials](iot-express-4-create-thing-model), you learned about using Thing Modeler to onboard a thing, send data to the thing, and retrieve data from the thing. Now, you'll learn to use Postman to access SAP IoT APIs.

Also, all links to other tutorials/groups/missions have a shortened syntax. See above for tutorial example, and groups are AAA and missions are AAA. Please fix in your tutorials.

@banurekhabalaji Can you make change and I will then merge?

@thecodester I will make the changes and keep you informed. Thank you.

This tutorial should be added to the group - https://developers.sap.com/group.iot-geomatching.html.

The You will learn section still not a bulleted list. Also, where should this go in the group?

@thecodester, the WebIDE plugins removed from two tutorials, the reference tutorial links are corrected (mission.AAA and group.AAA), you will learn section too updated. Hope, I covered all your comments this time.

@thecodester,  Updated the title for the group


[wip] add simple e2e testcase

:broom:  as title, as simple e2e testcases

/retest

/retest

/test pull-knative-sandbox-kn-plugin-diag-integration-tests

Seems like your e2e test is still failing...
 Missing strings: revision, spec.replicas
uninstalling 'kn' plugin 'kn-diag' from config path '/root/.config/kn'
    result_collector.go:107: === FAIL: =======================[[ERROR]]========================
        🦆 kn service create kn-diag-e2etest --image gcr.io/knative-samples/autoscale-go:0.1
        ┃ Creating service 'kn-diag-e2etest' in namespace 'default':
        ┃
        ┃   0.068s The Route is still working to reflect the latest desired specification.
        ┃   0.109s ...
skipped 205 lines unfold_more
        ┃
        ┃
        ┃
        =================================================================

--- FAIL: TestKnDiagPlugin (24.36s)
FAIL test/e2e.TestKnDiagPlugin (24.36s)
FAIL test/e2e

Seems like your e2e test is still failing...
 Missing strings: revision, spec.replicas
uninstalling 'kn' plugin 'kn-diag' from config path '/root/.config/kn'
    result_collector.go:107: === FAIL: =======================[[ERROR]]========================
        🦆 kn service create kn-diag-e2etest --image gcr.io/knative-samples/autoscale-go:0.1
        ┃ Creating service 'kn-diag-e2etest' in namespace 'default':
        ┃
        ┃   0.068s The Route is still working to reflect the latest desired specification.
        ┃   0.109s ...
skipped 205 lines unfold_more
        ┃
        ┃
        ┃
        =================================================================

--- FAIL: TestKnDiagPlugin (24.36s)
FAIL test/e2e.TestKnDiagPlugin (24.36s)
FAIL test/e2e

The error is "Missing strings: revision, spec.replicas"

Yes, @maximilien ,   I fixed previous auth provider errors, but the test failed again when I tried to add more detail check on the output.  Working on it now.

@maximilien , the e2e failures are resolved now.

yeah. Thanks @cdlliuy
/approve
/lgtm


[#6628] port [#4449] CloudAdapter always builds Connector with MicrosoftAppCredentials (never CertificateAppCredentials) -- certificate auth flow broken

Fixes #6628
Description
This PR add the CertificateServiceClientCredentialsFactory class to allow bot authentication with a certificate.

Note: to provide a certificate, add the CertificateServiceClientCredentialsFactory class to the bot's service collection in the Setup.cs file.

// Setup.cs file.
// Note: add `Configuration["MicrosoftAppTenantId"]` to the `tenantId` parameter when using `SingleTenant`.

services.AddSingleton<ServiceClientCredentialsFactory>((e) => new CertificateServiceClientCredentialsFactory(certificate, Configuration["MicrosoftAppId"], Configuration["MicrosoftAppTenantId"]));

Specific Changes

Added CertificateServiceClientCredentialsFactory class to instantiate and use the CertificateAppCredentials.
Added CertificateServiceClientCredentialsFactoryTests class with all the unit tests for the methods.

Testing
The following image shows the changes working as expected.

Pull Request Test Coverage Report for Build 351865

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.03%) to 79.058%

Files with Coverage Reduction
New Missed Lines
%

/libraries/AdaptiveExpressions/BuiltinFunctions/GetNextViableTime.cs
1
90.91%

/libraries/AdaptiveExpressions/BuiltinFunctions/GetPreviousViableTime.cs
1
90.91%

/libraries/integration/Microsoft.Bot.Builder.Integration.AspNet.Core/ServiceCollectionExtensions.cs
1
93.55%

Totals

Change from base Build 351371:
0.03%

Covered Lines:
25874

Relevant Lines:
32728

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll


LEDENET component support?

This LED controller API makes the combination of a 30$ controller and a 15$ LED strip much more appealing than a Philips Hue LED strip for more than double the cost. @sidoh has already reverse engineered its API and provided a very simple wrapper. It should be simple to integrate. Any thoughts?
The following Ruby files are the pertinent ones: api.rb and device_discovery.rb, and if translated to Python would be simple to plug in.

I saw this on reddit today. Can't wait to work on integrating it with the strip under my kitchen cabinets :)
I just gotta get one first.

Just ordered it! Should be here in a day or two, so I'll let you all know how it goes. For now, I'm sure a scripting bridge from HA would do the trick to the Ruby API.

I've been able to confirm that the API works from the given ruby scripts. Any interest in porting it?

Someone needs the device to properly do something like that.

@maddox I was indicating that I had the device, and was willing to attempt porting it... 😎
Was wondering if anyone would be interested in the port.

@avaidyam AHH. Yes OF COURSE. Who wouldn't be interested in having this heh.
Good luck!

Thanks! Have you ordered yours? It's pretty handy, and for 30$ + 15$ for a 5m light strip, it's an amazing Philips Hue replacement.
I'm just struggling to have banana clips stick properly in the thing.

Milight/Limitless LED also supports LED strips. Already has an HA component as well.

@maddox I've managed to get the ruby script successfully working, so I'll be porting that tonight.
@happyleavesaoc I can probably model the component the same way then.

I've ported the ruby scripts as best I could to python. Any issues here?
API_PORT = 5577

class LimitlessLED(Light):
	def __init__(self, device_address, reuse_connection=False, max_retries=3):
		self.device_address = device_address
		self.reuse_connection = reuse_connection
		self.max_retries = max_retries

	@property
	def is_on(self):
		return (status.bytes[13] & 0x01) == 1

	@property
	def turn_on(self):
		send_bytes_action(0x71, 0x23, 0x0F, 0xA3)
		return True

	@property
	def turn_off(self):
		send_bytes_action(0x71, 0x24 ,0x0F, 0xA4)
		return True

	def update_color(self, r, g, b):
		checksum = (r + g + b + 0x3F) % 0x100
		send_bytes_action(0x31, r, g, b, 0xFF, 0, 0x0F, checksum)

	def current_color(self):
		status.bytes[6, 3]

	def reconnect(self):
		create_socket()

	# Example response:
	# [129, 4, 35, 97, 33, 9, 11, 22, 33, 255, 3, 0, 0, 119]
	#                         R   G   B   WW            ^--- LSB indicates on/off
	def status(self):
		socket_action do
			send_bytes(0x81, 0x8A, 0x8B, 0x96)
			flush_response(14)

	def flush_response(self, msg_length):
		self.socket.recv(msg_length, socket.MSG_WAITALL)

	def send_bytes(self, *b):
		self.socket.write(b.pack('c*'))

	def send_bytes_action(self, *b):
		socket_action { send_bytes(self, *b) }

	def create_socket(self):
		if not ((self.socket is None) or (self.socket.closed)):
			self.socket.close()
		self.socket = socket()
		self.socket.connect(self.device_address, API_PORT)

	def socket_action(self):
		tries = 0
		try:
			if not ((self.socket is None) or (self.socket.closed)):
				create_socket()
			yield
		catch Errno::EPIPE, IOError => e:
			tries += 1

          		if tries <= self.max_retries
            			reconnect()
            			retry
          		else
            			throw e
        	finally:
			if not (self.socket.closed or self.reuse_connection)
          		self.socket.close()

def discover_devices(expected_devices=1, timeout=5):
	send_socket = socket(AF_INET, SOCK_DGRAM)
	send_socket.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1)
	send_socket.setsockopt(SOL_SOCKET, SO_BROADCAST, 1)
	send_socket.sendto('HF-A11ASSISTHREAD', ('<broadcast>', 48899))

	discovered_devices = []
	try:
		Timeout::timeout(timeout) do:
        		while true:
          			data = send_socket.recv(1024)
          			discovered_devices.push(data.split(','))
				if discovered_devices.count >= expected_devices
		   			throw Timeout::Error
	except Timeout::Error:
		# expected
	finally:
		send_socket.close()
	return discovered_devices

@tomduijf Do you think you could proofread the Python translation here?

Looks ok as a stand-alone module. Don't have such a device, so cant comment on it workings.
For HASS integration it'll probably need some more work.
So this works with some kind of broadcast discovery? Perhaps it's already natively discovered by netdisco.
I think i'll order me one of these ledenet devices, looks fun :)

The wifi module the LEDENET devices use (documentation) supports discovery via UDP broadcast. It doesn't seem like a standard discovery protocol.
@avaidyam -- maybe good to link to my repo in this code so there's a sensible place to report issues?

@sidoh Hey! Of course, that's a great idea, will do that. Could you help out with the Python translation into a single component?
@tomduijf Like @sidoh said, it's a non-standard UDP broadcast discovery, so unless we explicitly bake that support in, it doesn't seem likely.

My Python's not strong enough to be of much help with that. What you have looks enough like the Ruby that I suspect it wouldn't work. Might be best to restructure it a bit in a way that's better suited for Python.

@sidoh @maddox I've spent a little time in getting a good port working here.
Essentially, brightness can be achieved with (RGBW * % brightness), and a kelvin scale for plain RGB strips can be achieved using the ktorgb() function, and you can also adjust the brightness from there.
I've only barely tested it, but it should have API-parity with @sidoh's stuff, and it works on my strip. I'll work on getting a component in for this for HA.

RGB*%brightness is destructive, right? If you make something darker, you can't make it brighter again?
I ended up doing RGB -> HSL, adjusting luminosity, and converting back to RGB. That seemed to work pretty well. Code here:
https://github.com/sidoh/ha_gateway/blob/master/ha_gateway.rb#L41

@sidoh That's a smart idea, I'll try that. Have you taken a look at the additional Kelvin scale? It's a fake incandescent lighting, but it does the job alright.

@sidoh @maddox Here's what I've got for the LEDENET component. It's not working that well, and I can't figure out how to display an RGB color selector in the frontend...
import logging
from ledenet import *

from colorsys import *
from homeassistant.components.light import (
    Light, ATTR_BRIGHTNESS, ATTR_RGB_COLOR)

_LOGGER = logging.getLogger(__name__)

DEPENDENCIES = []
#REQUIREMENTS = ['https://github.com/avaidyam/LEDENET/']

def setup_platform(hass, config, add_devices_callback, discovery_info=None):
    """ Find and return LEDENET lights. """
    bulbs = LEDENETDevice.discover_devices(expected_devices=999, timeout=5)
    add_devices_callback([LEDENETLight(n) for n in bulbs])

class LEDENETLight(Light):
    """ Provides an LEDENET bulb. """

    def __init__(self, bulb):
        self._bulb = bulb
        self._name = self._bulb.ip.decode('utf-8')

    @property
    def should_poll(self):
        return False

    @property
    def name(self):
        """ Returns the name of the device if any. """
        return self._name

    @property
    def brightness(self):
        """ Brightness of this light between 0..255. """
        rgb = self._bulb.get_color()
        hls = rgb_to_hls(rgb[0] / 255.0, rgb[1] / 255.0, rgb[2] / 255.0)
        return int(hls[1] * 255)

    @property
    def rgb_color(self):
        """ rgb color value. """
        return self._bulb.get_color()

    @property
    def is_on(self):
        """ True if device is on. """
        return self._bulb.is_on()

    def turn_on(self, **kwargs):
        """ Turn the device on. """
        self._bulb.set_on(False)

        bright = 1.0
        if ATTR_BRIGHTNESS in kwargs:
            bright = float(kwargs[ATTR_BRIGHTNESS]) / 255.0

        rgb = [1.0, 1.0, 1.0]
        if ATTR_RGB_COLOR in kwargs:
            rgb = kwargs[ATTR_RGB_COLOR]

        hls = rgb_to_hls(rgb[0], rgb[1], rgb[2])
        hls[1] = bright
        rgb = hls_to_rgb(hls[0], hls[1], hls[2])

        self._bulb.set_color(rgb[0] * 255, rgb[1] * 255, rgb[2] * 255, 0x00)
        self.update_ha_state()

    def turn_off(self, **kwargs):
        """ Turn the device off. """
        self._bulb.set_on(False)
        self.update_ha_state()

For this platform, I think you want to enable polling.

@balloob Gotcha, thanks. It's not really working right to begin with, so I'll continue debugging it.

Any updates on support for this ? I have a similar LEDNET wifi strip adapter, trying to integrate somehow as well. Best I've found so far is a python script that sends commands as hex codes. For now I can turn on/ off with a command line strip, but would like a bit more control over it eventually.

Here's a python project for Lednet bulbs. https://github.com/beville/flux_led
This may be a good place to start. I've only used it with a single bulb

Unfortunately, the code here is as-is. I've switched away from this platform, which I found fairly unreliable, to a SmartThings hub.

Closing this issue as feature requests should be posted in the forum.


chunk_layer is memory-inefficient

The chunk_layer function in openfold/utils/tensor_utils.py, which implements the "chunking" procedure described in subsection 1.11.8 of the Alphafold 2 supplement, relies on a memory-expensive expand/reshape operation at the top to standardize the batch dimensions of input tensors. This operation can be a bottleneck during inference, so some optimization here would do wonders.

Update: I've added a lower-memory version of chunk_layer as of 56632d4. I still need to do more testing to ensure that the issue is completely fixed and that it is now possible to run inference on longer proteins.


Add CMake files and a CI build using them.

These files allow us to build the spanner client using CMake, which we
need to support make install and package maintainers. We can also use
these to create code coverage builds, builds that run clang-tidy, and
builds generate the Doxygen documentation, all of which could be done
with Bazel, but would require rediscovering how to do it.
These files make no attempt at installing the dependencies for the
project. They assume these dependencies are installed and the build
fails if they are not. The CI build pre-installs these dependencies, a
future CI build will also test support for super builds.
Provide instructions for developers that want to use CMake with vcpkg
or by installing the dependencies in /usr/local.

This change is

PTAL.


The UTF8-C8 section doesn't tell how to use it.

The problem
https://docs.perl6.org/language/unicode#UTF8-C8
The UTF8-C8 section doesn't tell how to use it.

Not for me...

I mean it does not have any user-accessible function one can use from a program.

It apparently is https://github.com/perl6/roast/blob/master/S32-str/utf8-c8.t. OK, let's see what we can do.


Kinesis client (consumer and producer) don't work behind a proxy

Hello,
In our dev environment we work behind a proxy. I've made some changes to the codebase to allow optional proxy configuration.
This https://github.com/vaslabs/gfc-aws-kinesis/pull/1/files is working for us. Please let me know what you think.
An example usage of this for the consumer would be
val streamConfig = KinesisStreamConsumerConfig[ByteString](
      config.streamName,
      applicationName,
      regionName = Some(config.region),
      proxySettings = Some[ProxySettings](ProxySettings("<IP_ADDRESS>", 9000))
    )

@vaslabs mind opening a PR if you want this added here?

Will do, thanks

Hi,
After investigation we figured that we can use kinesalite and dynamodb for tests (even for dynamo streams). So that would make the proxies redundant and using those services locally with docker containers gives isolation.
So, I'll follow up with a PR for this since to make it work the endpoints in amazon kinesis client and the dynamodb client need to be over-written.


Added exclusion areas for breaking blocks

Bot now can avoid breaking blocks in certain areas.
It would be cool if the bot could recognize that it's sometimes possible to replace a certain block after breaking it.
I could try to code it but currently, the code that generates the path it's a little bit confusing for me.
If you want to help me / collaborate on that feature let me know :)

Thanks for adding this functionnality. What do you think about making ExclusionArea a matcher function instead ?
It would be a bit simpler as the user only have to give a function and not extend or instanciate the class, and also more flexible as it could match on other criteria than just the position. We could provide some helper standalone functions to help implement the matchers:
  const defaultMove = new Movements(bot, mcData, [
    (block) => isInside(block.position, pos1, pos2), // equivalent to exclusion area
    (block) => block.type == notThisType // equivalent to blocksCantBreak
  ])

@Karang
I think this is a good idea, but I would keep the exclusion area class because I think I would simplify most of the use-cases.
And function approach of isInside(block.position, pos1 ,pos2) forces recalculating max-min of every coordinate, and during debugging and testing of my solution I found out that the bot checks very often if the block is safe to break, so I would keep it as a class.
What do you think?

Ah I didn't saw this part of the code:
this.y = [point1.y, point2.y].sort((a, b) => a - b)
this.x = [point1.x, point2.x].sort((a, b) => a - b)
this.z = [point1.z, point2.z].sort((a, b) => a - b)

So first, this is indeed very inefficient but it can be simplified, if a and b are vec3 instances you can write:
const pos1 = a.min(b)
const pos2 = a.max(b)

Which would be basically "free" (min and max are very fast instructions).
Now, you may want to still precompute them, but I think this part should be left to the user to implement. They may already have a class to represent an area, in which case they could do:
const excludes = [
  (block) => userarea.isInside(block.position)
]

I think it's more flexible than forcing them to extend a specific class.

@Karang you're right I will rewrite it soon :)

@Karang you're right I will rewrite it soon :)

Any plan to continue working on this ?

Closing this pr as this behavior has been implemented with https://github.com/PrismarineJS/mineflayer-pathfinder/pull/220
If you want to change any behavior of the current exclusion area feel free to make a pull request or and issue.


Use better sorting for artist urls in the tooltip

i.e. similar to https://github.com/danbooru/danbooru/commit/7bbe6e9d228985cd80026a9a0e1ed3362c77de7b

It's better to rename SITES to SITE_ORDER
there seems to be a "dead" code, e.g. it checks for "Adobe Portfolio" links, but it isn't presented in SITES and there is no sorting just by site name. Also, some domains and hosts, like pximg.net and o.twimg.com, seem not to be used in artist urls or normalized to another domain.
it looks like most cases just check for the host or domain and I think they all can be moved to an object-map, like

const SITENAME_MAP = {
'pximg.net': "Pixiv",
'pixiv.net': "Pixiv",
'pixiv.me': "Pixiv",
'pixiv.cc': "Pixiv",
"booth.pm": "Booth",
"booth.pximg.net": "Booth",
...

or move them directly to SITES:
const `SITES` = [
// Pixiv
'pximg.net', 'pixiv.net', 'pixiv.me', 'pixiv.cc',
// Twitter
'twitter.com', 'twimg.com', 't.co',
// Anifty
"anifty.jp", "anifty.imgix.net", { host: "storage.googleapis.com", path: "/anifty-media/" },
// ArtStation
"artstation.com",
...
// Fanbox
'fanbox.cc', 'fanbox.pixiv.net',  { domain: 'pixiv.net', path: "/fanbox/" },  { domain: 'pximg.net', path: "/fanbox/" },
];

function getSitePriority (siteUrl) {
    let { host, pathname } = new URL(siteUrl);
    let { domain, subdomain } = psl.parse(host);
    // there can be multiple matches for sites like pixiv.net and pximg.net
    if (["pixiv.net", "pximg.net"].includes(domain)
        && !["fanbox", "sketch", "img-sketch", "booth"].includes(subdomain)
        && !pathname.startsWith("/fanbox/")
    ) {
        return 1;
    }
    if (host === 'o.twimg.com') domain = 'twitpic.com';
    const index = SITES.findIndex((site) => {
        if (typeof site === "string") {
            return site === host || site === domain;
        }
        return (!site.host || site.host === host)
            && (!site.domain || site.domain === domain)
            && (!site.path || pathname.includes(site.path));
    });
    return index < 0 ? 1000 : index;
}

@7nik

It's better to rename SITES to SITE_ORDER

Ok.

there seems to be a "dead" code, e.g. it checks for "Adobe Portfolio" links, but it isn't presented in SITES and there is no sorting just by site name. Also, some domains and hosts, like pximg.net and o.twimg.com, seem not to be used in artist urls or normalized to another domain.

I just took all the rules straight from danbooru, and don't really feel like inspecting which are actually used for the artist urls, so...

it looks like most cases just check for the host or domain and I think they all can be moved to an object-map, like

Ok.

After matching the list with SITE_ORDER and checking with the https://danbooru.donmai.us/artist_urls.json?search%5Burl_matches%5D= endpoint, the list became almost four times shorter.
the list

[
    { name: "Fanbox", domain: "fanbox.cc" },
    { name: "Fanbox", domain: "pixiv.net", pathname: "/fanbox/" },
    { name: "Pixiv Sketch", host: "sketch.pixiv.net" },
    { name: "Booth", domain: "booth.pm" },
    { name: "Pixiv", domain: "pixiv.net" },
    { name: "Pixiv", domain: "pixiv.me" },
    { name: "Pixiv", domain: "pixiv.cc" },
    { name: "Twitter", domain: "twitter.com" },
    { name: "Twitter", domain: "t.co" },
    { name: "Anifty", domain: "anifty.jp" },
    { name: "ArtStation", domain: "artstation.com" },
    { name: "Bilibili", domain: "bilibili.com" },
    { name: "Deviant Art", domain: "deviantart.com" },
    { name: "Deviant Art", domain: "fav.me" },
    { name: "Deviant Art", domain: "sta.sh" },
    { name: "Fantia", domain: "fantia.jp" },
    { name: "FC2", domain: "fc2.com" },
    { name: "FC2", domain: "fc2blog.net" },
    { name: "FC2", domain: "fc2blog.us" },
    { name: "Foundation", domain: "foundation.app" },
    { name: "Furaffinity", domain: "furaffinity.net" },
    { name: "Gumroad", domain: "gumroad.com" },
    { name: "Gumroad", domain: "gum.co" },
    { name: "Hentai Foundry", domain: "hentai-foundry.com" },
    { name: "Instagram", domain: "instagram.com" },
    { name: "Lofter", domain: "lofter.com" },
    { name: "Lofter", domain: "127.net" },
    { name: "Pawoo", domain: "pawoo.net" },
    { name: "Baraag", domain: "baraag.net" },
    { name: "Misskey.io", domain: "misskey.io" },
    { name: "Misskey.art", domain: "misskey.art" },
    { name: "Misskey.design", domain: "misskey.design" },
    { name: "Newgrounds", domain: "newgrounds.com" },
    { name: "Nico Seiga", domain: "nicovideo.jp" },
    { name: "Nico Seiga", domain: "nico.ms" },
    { name: "Nijie", domain: "nijie.info" },
    { name: "Plurk", domain: "plurk.com" },
    { name: "Reddit", domain: "reddit.com" },
    { name: "Reddit", domain: "redd.it" },
    { name: "Skeb", domain: "skeb.jp" },
    { name: "Tinami", domain: "tinami.com" },
    { name: "Tinami", domain: "tinami.jp" },
    { name: "Tumblr", domain: "tumblr.com" },
    { name: "Weibo", domain: "weibo.com" },
    { name: "Weibo", domain: "sinaimg.cn" },
    { name: "Ask.fm", domain: "ask.fm" },
    { name: "BCY", domain: "bcy.net" },
    { name: "Circle.ms", domain: "circle.ms" },
    { name: "DLSite", domain: "dlsite.com" },
    { name: "DLSite", domain: "dlsite.net" },
    { name: "DLSite", domain: "dlsite.jp" },
    { name: "Doujinshi.org", domain: "doujinshi.org" },
    { name: "Doujinshi.org", host: "doujinshi.mugimugi.org" },
    { name: "Facebook", domain: "facebook.com" },
    { name: "Facebook", domain: "fbcdn.net" },
    { name: "Livedoor", domain: "livedoor.jp" },
    { name: "Livedoor", host: "livedoor.blogimg.jp" },
    { name: "Livedoor", domain: "blog.jp" },
    { name: "Livedoor", domain: "diary.to" },
    { name: "Livedoor", domain: "doorblog.jp" },
    { name: "Livedoor", domain: "dreamlog.jp" },
    { name: "Livedoor", domain: "gger.jp" },
    { name: "Livedoor", domain: "ldblog.jp" },
    { name: "Livedoor", domain: "livedoor.biz" },
    { name: "Livedoor", domain: "officialblog.jp" },
    { name: "Livedoor", domain: "publog.jp" },
    { name: "Livedoor", domain: "weblog.to" },
    { name: "Livedoor", domain: "xxxblog.jp" },
    { name: "Ko-fi", domain: "ko-fi.com" },
    { name: "Mixi.jp", domain: "mixi.jp" },
    { name: "Patreon", domain: "patreon.com" },
    { name: "Piapro.jp", domain: "piapro.jp" },
    { name: "Sakura.ne.jp", domain: "sakura.ne.jp" },
    { name: "Youtube", domain: "youtu.be" },
    { name: "Youtube", domain: "youtube.com" },
]

Also, now there is no regexp and subdomain, and I added youtube.com case.


⚠ Bofrost.hr has degraded performance

In da2080b, Bofrost.hr (https://www.bofrost.hr) experienced degraded performance:

HTTP code: 200
Response time: 2510 ms

Resolved: Bofrost.hr performance has improved in 0830725.


[topics/showcase rebase v2] Big prev/next images on permalink pages

Along the way:

Ensure first row of cards being fully visible when jumping to #search-heading (now #showcase) via clicking the Featured Site's "View all"-button or the corresponding card in the "Featured Sites" horizontal scroller. Also threw in scroll-to-anchor.js for those links, courtesy of @jlengstorf 🙏, found at https://github.com/jlengstorf/marisamorby.com/blob/f16e4165ba67ae096d907e1cfa477664a2f7e81f/src/utils/scroll-to-anchor.js.
Underline title of card when hovering the latter.

Won't do more tonight so this is GTG ;-)

Thank you! 🤗


Framebuffer output driver

At some point, we're likely going to switch to using a framebuffer driver for the SH1106 display. At this point, ZPUI will need to output to that framebuffer, and we'll need software support for that. It seems pygame (the library we're already using for the ZP emulator) supports framebuffer output. However, last time I tried making it work (admittedly, with a bigger display), I couldn't make it display to the screen in any meaningful capacity.
TODO:

[ ] Make a driver for framebuffer output (a repurposed pygame-based emulator driver would likely work, just need to find a way to set it up properly)
[ ] Make it work with the ZP 128x64 screen
[ ] Find out if we're going to regain control of the backlight
[ ] Make a DeviceTree overlay

Among all things, it will let us show the boot logs on the ZeroPhone screen <3

Maybe we can rebase ZPUI to bash and ncurses or something else and make the keypad driver works on the linux environment. That way people could write programs on whatever language they want and have a native environment to work on. That is my opinion of course :)


fix(build): building arm 6

Please see https://github.com/influxdata/influxdb/issues/19755 for more details.
Closes # https://github.com/influxdata/influxdb/issues/19755
Describe your proposed changes here.

[ ] CHANGELOG.md updated with a link to the PR (not the Issue)
[ ] Well-formatted commit messages
[ ] Rebased/mergeable
[ ] Tests pass
[ ] http/swagger.yml updated (if modified Go structs or API)
[ ] Feature flagged (if modified API)
[ ] Documentation updated or issue created (provide link to issue/pr)
[ ] Signed CLA (if not already signed)

@stuartcarnie to be honest I do not know, but all of the unit and litmus integration tests passed. Is there a simple way to check?

It shouldn't change the json output.  Marshaling a time.Duration to json outputs a number type, as does using a uint.


Torre de Belém Trigger DOMINATION_FLAG

The flag to trigger territorial Victory is a building in city-center that cost 99999, Torre de Belém can build it and trigger victory.

fixed in 4.8


Keeping note pdf in git?

It has been pointed out by @rmjarvis that committing the note pdf to the repo each time it is changed creates issues with diffing. I also have found it to create unnecessary merge conflicts. Do we really want to keep the pdf of the note in the repo on each branch, or do we want to do something like just make it on master every so often? Tagging @elisachisari @damonge for comment.

This has been resolved by PR #796, the note and paper pdf, as well as other produced-upon-compilation files like the authors.tex and contributions.tex files are no longer kept in the repo. I added a page on the wiki which links to the note; this should be updated at minimum at each release.


Updated algs.py to have only in place sorting algorithms

Hello, can I do this request?

Issue #162


feat: image handler support

Feat: Add new config item: img_handler, It allow user to handle image after pasted (such as tinypng)
img_handler must return a function like below
img_handler = function () return function (path) return os.execute(string.format('~/.scripts/tinypng.sh -s -f %s &', path)) end end

This seems to be usefull. I will need times to consider merging it to main.

Thank you! By img_handler we can do something like tinypng or upload images to AWS S3, that is what I think.
But I am new to Lua and my coding may be terrible. sorry!

Nah don't worry about your code. And I have some suggestion. Instead of configuring it like this:
img_handler = function()
  return function(path)
    ...
  end
end

We can do it like this:
img_handler = function(img)
  ...
end

So we don't need to create a function instead of a function. Instead of supplied image's path  to the function, we supplied it with img table which contain image's name and image's path. I think it can be useful if users want to use image's name in some case so they don't need to manually separate it from its path.
I'll push the change and give me your opinion.

If my explanation is fuzzy, basically you can do this now
img_handler = function(img)
  os.execute(string.format('~/.scripts/tinypng.sh -s -f %s &', img.path))
end

sorry! I have just seen the changes. I am on holiday these days. I totally agree with your changes

Merged. Thanks for your contribution


Changes to SMCC tests

[device] use logger() function which adds 10ms delay (in 10x 1ms pieces) before and after printing out
[device] use while(1) loops when fetching {{key:value}} pairs from host
[device] provide manifest which tests are available, thus allow tracking of skipped tests
[device] overall tests success
[host] use class variables instead of globals
[host] use SDKTests.send_safe() function instead of send_kv() to override behavior and help with debugging

Works great! Haven't seen a single failure after 16 tests
Tested on K64, K66, Nuvoton M487, NUC472

mbedgt: test suite 'simple-mbed-cloud-client-tests-simple-connect' ................................... TIMEOUT in 184.16 sec
        test case: 'Connect to Internet' ............................................................. OK in 3.88 sec
        test case: 'Consistent Identity' ............................................................. OK in 2.42 sec
        test case: 'Format Storage' .................................................................. OK in 27.46 sec
        test case: 'LwM2M GET Test' .................................................................. OK in 1.60 sec
        test case: 'LwM2M POST Test' ................................................................. SKIPPED in 0.00 sec
        test case: 'LwM2M PUT Test' .................................................................. ERROR in 0.00 sec

        test case: 'Pelion DM Directory' ............................................................. OK in 7.25 sec
        test case: 'Pelion DM Register' .............................................................. OK in 6.38 sec
        test case: 'Simple MCC Initialization' ....................................................... OK in 3.56 sec

Verified platforms and the behaviour is a lot more stable

K64F - pass
K66F - pass
NUMAKER_PFM_M487 - pass
NUMAKER_PFM_NUC472 - pass
DISCO_L475VG_IOT01A - pass
NUCLEO_F429ZI - pass
NUCLEO_F746ZG - pass
NUCLEO_F767ZI - fails (problem related to the platform, not the test)


i can not remove video when changing to another page

I run the app on android TV, in fact when every page has a video component,app would be crash.
so i need to remove video before change pages

Please post a question on StackOverflow if you need help with implementation.


Update blocks.json

Blocks.json in 1.5 weren't merged correctly for the new names on stone_block_slabs. The new entries had been added at the end using the "stone" texture, and not the stone_slab texture, which held different variant IDs.
I have made this change locally, and the textures are now setting correctly

I know what you are saying, I was getting error and elected for something
close enough by making them. All stone, but I am happy to take a look at
the pr.
On Fri, Sep 16, 2022, 1:27 PM Adam Davidson @.***>
wrote:

Blocks.json in 1.5 weren't merged correctly for the new names on
stone_block_slabs. The new entries had been added at the end using the
"stone" texture, and not the stone_slab texture, which held different
variant IDs.
I have made this change locally, and the textures are now setting correctly
You can view, comment on, or merge this pull request online at:
https://github.com/RavinMaddHatter/Structura/pull/142
Commit Summary

45028a6
https://github.com/RavinMaddHatter/Structura/pull/142/commits/45028a626021abf27a97748eb3fc68bdcb4b5103
Update blocks.json

File Changes
(1 file https://github.com/RavinMaddHatter/Structura/pull/142/files)

M Vanilla_Resource_Pack/blocks.json
https://github.com/RavinMaddHatter/Structura/pull/142/files#diff-63ccb4cc38abe273a476b980a9dc8ad7834419319f6fc6e0a90bd238401521d8
(41)

Patch Links:

https://github.com/RavinMaddHatter/Structura/pull/142.patch
https://github.com/RavinMaddHatter/Structura/pull/142.diff

—
Reply to this email directly, view it on GitHub
https://github.com/RavinMaddHatter/Structura/pull/142, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUC5E7FF5XHW6CF7TIV23V6TJZLANCNFSM6AAAAAAQOUQCKU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Select correct animation on creation of a new one

Select the correct animation when creating a new one.
Removed unneeded new_name variable.

Well, the "new_name" variable was not useless, it just avoids having the "New Anim" string defined in two different places in the code (it acts like a constant).
Ok for the other change.

Ok for the other change.

Ah my bad, I read that as "Ok for the change" and thus merged it :D

But I don't think it matters much for performance here, so I think it's fine as is, even if keeping new_name would have been good too.

Ah my bad, I read that as "Ok for the change" and thus merged it :D

Ah ah it's not that bad, it should not introduce any regression. :)

The "New_Anim" string should really be a #define which I would normally put in the corresponding header file, but I was not sure if there was another header file where these things go.

The "New_Anim" string should really be a #define which I would normally put in the corresponding header file, but I was not sure if there was another header file for that.

That would be really overkill.

More reasonably, It should be in a TTR(...) to be translated.

@aiken-mga It's not anymore overkill than defining a variable for one string that is actually a constant. The existence of that variable was the source of the bug. It should either be a constant or a simple string that's repeated twice.

Well:

We don't use that often #define in Godot. It could be used, but that's not godot's implicit coding style.
As explained here, it's not that useful to declare a variable as constant. It's good to to do so to avoid confusion, but in most cases it's optimized by the compiler.


Location of New-AdfsDkmContainer.ps1

Is the script at the bottom of the page supposed to be New-AdfsDkmContainer.ps1?

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

ID: 8fe5bdad-ce17-2d40-19d3-0bdc1f33c2bd
Version Independent ID: 54b4444a-ddc5-77d2-f48d-6e265485a10b
Content: Creating an AD FS farm without Domain Administrator privileges
Content Source: WindowsServerDocs/identity/ad-fs/deployment/Install-AD-FS-Delegated-Admin.md
Product: windows-server-threshold
Technology: identity-adfs
GitHub Login: @billmath
Microsoft Alias: billmath

#assign:IngridAtMicrosoft
gh issue comment 4223 -b #assign:IngridAtMicrosoft

Thank you for submitting this issue.  Unfortunately, due to high volumes I was unable to respond to this in a timely manner.  At this point, I am going to close this due to it's age and the possibility that it may have been addressed.  If this is still a problem, please consider submitting a new issue.  Thank you.
#please-close


Add html5 "translate" attribute

Hi,
html5 "translate" attribute is missing.
Thanks

Duplicate of #1790.


RHDM-1838: Re-generate Dockerfiles with quarkus-maven-plugin:2.2.3.Final

JIRA

Referenced pull requests

How to retest this PR or trigger a specific build:

for a pull request build please add comment: Jenkins retest this
for a specific pull request build please add comment: Jenkins (re)run [optaweb-vehicle-routing] tests
for a full downstream build please add comment: Jenkins run fdb
for a compile downstream build please add comment: Jenkins run cdb
for a full production downstream build please add comment: Jenkins execute product fdb
for an upstream build please add comment: Jenkins run upstream
for a Quarkus LTS check please add comment: Jenkins run LTS
for a specific Quarkus LTS check please add comment: Jenkins (re)run [optaweb-vehicle-routing] LTS
for a Native check please add comment: Jenkins run native
for a specific Native LTS check please add comment: Jenkins (re)run [optaweb-vehicle-routing] native

Jenkins retest this