High CPU usage of the NPD pod

I found a miraculous situation on our productive stage when we installed NPD component, the details looks like it as following:
It is very obviously that a little of NPD pods using the higher CPU time than others,

Just like you see, not all NPD pods' CPU usage are high, thus I am curious about it, then I executed the top command into the unusual container, the result just like this:

The CPU usage look like very low, right?
And I haven't find any exception based on the logs of this problematic pod ,
I1109 19:10:12.187160       1 log_monitor.go:149] New status generated: &{Source:kernel-monitor Events:[{Severity:warn Timestamp:2020-11-09 19:09:33.593840323 +0800 CST m=+1195138.952956503 Reason:OOMKilling Message:Memory cgroup out of memory: Kill process 20137 (java) score 1883 or sacrifice child
Killed process 20137 (java) total-vm:13556260kB, anon-rss:3745180kB, file-rss:17480kB, shmem-rss:0kB}] Conditions:[{Type:KernelDeadlock Status:False Transition:2020-10-26 23:11:10.528178159 +0800 CST m=+35.887294343 Reason:KernelHasNoDeadlock Message:kernel has no deadlock} {Type:ReadonlyFilesystem Status:False Transition:2020-10-26 23:11:10.528178265 +0800 CST m=+35.887294443 Reason:FilesystemIsNotReadOnly Message:Filesystem is not read-only}]}
I1109 19:16:31.213444       1 log_monitor.go:149] New status generated: &{Source:kernel-monitor Events:[{Severity:warn Timestamp:2020-11-09 19:15:52.589033323 +0800 CST m=+1195517.948149503 Reason:OOMKilling Message:Memory cgroup out of memory: Kill process 68043 (java) score 1883 or sacrifice child
Killed process 68043 (java) total-vm:13358872kB, anon-rss:3744468kB, file-rss:17508kB, shmem-rss:0kB}] Conditions:[{Type:KernelDeadlock Status:False Transition:2020-10-26 23:11:10.528178159 +0800 CST m=+35.887294343 Reason:KernelHasNoDeadlock Message:kernel has no deadlock} {Type:ReadonlyFilesystem Status:False Transition:2020-10-26 23:11:10.528178265 +0800 CST m=+35.887294443 Reason:FilesystemIsNotReadOnly Message:Filesystem is not read-only}]}
I1109 19:22:56.212473       1 log_monitor.go:149] New status generated: &{Source:kernel-monitor Events:[{Severity:warn Timestamp:2020-11-09 19:22:17.605516323 +0800 CST m=+1195902.964632503 Reason:OOMKilling Message:Memory cgroup out of memory: Kill process 112930 (java) score 1883 or sacrifice child
Killed process 112930 (java) total-vm:13358872kB, anon-rss:3744528kB, file-rss:17488kB, shmem-rss:0kB}] Conditions:[{Type:KernelDeadlock Status:False Transition:2020-10-26 23:11:10.528178159 +0800 CST m=+35.887294343 Reason:KernelHasNoDeadlock Message:kernel has no deadlock} {Type:ReadonlyFilesystem Status:False Transition:2020-10-26 23:11:10.528178265 +0800 CST m=+35.887294443 Reason:FilesystemIsNotReadOnly Message:Filesystem is not read-only}]}
I1109 19:29:25.385149       1 log_monitor.go:149] New status generated: &{Source:kernel-monitor Events:[{Severity:warn Timestamp:2020-11-09 19:28:46.736377323 +0800 CST m=+1196292.095493503 Reason:OOMKilling Message:Memory cgroup out of memory: Kill process 158425 (java) score 1884 or sacrifice child
Killed process 158425 (java) total-vm:13358872kB, anon-rss:3748332kB, file-rss:17640kB, shmem-rss:0kB}] Conditions:[{Type:KernelDeadlock Status:False Transition:2020-10-26 23:11:10.528178159 +0800 CST m=+35.887294343 Reason:KernelHasNoDeadlock Message:kernel has no deadlock} {Type:ReadonlyFilesystem Status:False Transition:2020-10-26 23:11:10.528178265 +0800 CST m=+35.887294443 Reason:FilesystemIsNotReadOnly Message:Filesystem is not read-only}]}
I1109 19:35:33.803832       1 log_monitor.go:149] New status generated: &{Source:kernel-monitor Events:[{Severity:warn Timestamp:2020-11-09 19:34:55.123845323 +0800 CST m=+1196660.482961503 Reason:OOMKilling Message:Memory cgroup out of memory: Kill process 200653 (java) score 1883 or sacrifice child
Killed process 200653 (java) total-vm:12699124kB, anon-rss:3745436kB, file-rss:17516kB, shmem-rss:0kB}] Conditions:[{Type:KernelDeadlock Status:False Transition:2020-10-26 23:11:10.528178159 +0800 CST m=+35.887294343 Reason:KernelHasNoDeadlock Message:kernel has no deadlock} {Type:ReadonlyFilesystem Status:False Transition:2020-10-26 23:11:10.528178265 +0800 CST m=+35.887294443 Reason:FilesystemIsNotReadOnly Message:Filesystem is not read-only}]}

Maybe Another reason we have ignored is docker process, then I find the respective docker process in that node:
root      21862  18305 26 Oct26 ?        5-17:55:16 /node-problem-detector --logtostderr --system-log-monitors=/config/kernel-monitor.json,/config/docker-monitor.json --prometheus-address=<IP_ADDRESS> --prometheus-port=20257

The result for command 'top -p 21862' is :

The result which is associated with threads also is unusual

The result for command 'docker status ContainerId' is
CONTAINER ID        NAME           CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
449ddb8a0d04        ......           201.37%             63.89MiB / 251.5GiB      0.02%                 0B / 0B             36.9MB / 467kB      50

Can you guys tell me how can I diagnose and optimize it?

Suddenly an ideal for finding the reason which causes the high CPU usage arises, so the output for using 'strace' tool is like this:
19:33:22.403251 futex(0x1ff3168, FUTEX_WAIT_PRIVATE, 0, NULL) = 0 <0.017491>
19:33:22.420856 futex(0xc000576848, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000038>
19:33:22.421152 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 0 <0.000026>
19:33:22.421243 futex(0x1ff2708, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=100000}) = -1 EAGAIN (Resource temporarily unavailable) <0.000022>
19:33:22.421326 futex(0x1ff26e0, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=100000}) = -1 EAGAIN (Resource temporarily unavailable) <0.000020>
19:33:22.421421 epoll_pwait(4, [], 128, 0, NULL, 0) = 0 <0.000021>
19:33:22.421503 futex(0xc0005764c8, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000024>
19:33:22.421637 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000026>
19:33:22.421730 futex(0x1ff3168, FUTEX_WAIT_PRIVATE, 0, NULL) = 0 <0.015532>
19:33:22.437381 futex(0xc000102f48, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000131>
19:33:22.438387 sched_yield()           = 0 <0.000018>
19:33:22.438445 futex(0x1ff25f0, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable) <0.000015>
19:33:22.438494 sched_yield()           = 0 <0.000014>
19:33:22.438529 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 0 <0.000013>
19:33:22.438563 futex(0x1ff3168, FUTEX_WAIT_PRIVATE, 0, NULL) = 0 <0.000190>
19:33:22.438788 futex(0x1ff3168, FUTEX_WAIT_PRIVATE, 0, NULL) = 0 <0.015989>
19:33:22.454865 futex(0xc000102f48, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000042>
19:33:22.455770 futex(0x1ff3168, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) <0.000033>
19:33:22.456177 futex(0x1ff3168, FUTEX_WAIT_PRIVATE, 0, NULL) = 0 <0.017334>
19:33:22.473714 sched_yield()           = 0 <0.000036>
19:33:22.473821 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 0 <0.000025>
19:33:22.473897 futex(0x1ff2708, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000025>
19:33:22.473974 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000024>
19:33:22.474052 futex(0x1ff2708, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000183>
19:33:22.474275 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000025>
19:33:22.474483 futex(0x1ff26e0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000025>
19:33:22.474546 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000023>
19:33:22.474618 futex(0x1ff3168, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) <0.000021>
19:33:22.474691 sched_yield()           = 0 <0.000021>
19:33:22.474750 futex(0x1ff2708, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000023>
19:33:22.474813 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000025>
19:33:22.474888 futex(0xc000102f48, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000027>
19:33:22.475877 futex(0x1ff3168, FUTEX_WAIT_PRIVATE, 0, NULL) = 0 <0.011642>
19:33:22.487624 futex(0xc000102f48, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000040>
19:33:22.489269 futex(0x1ff3168, FUTEX_WAIT_PRIVATE, 0, NULL) = 0 <0.014318>
19:33:22.503698 futex(0xc0001ec848, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000034>
19:33:22.504133 sched_yield()           = 0 <0.000031>
19:33:22.504377 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 0 <0.000024>
19:33:22.504451 futex(0x1ff2708, FUTEX_WAKE_PRIVATE, 1) = 0 <0.000035>
19:33:22.504528 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000028>
19:33:22.504616 futex(0x1ff2708, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000027>
19:33:22.504683 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000028>
19:33:22.504895 futex(0x1ff26e0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000023>
19:33:22.504982 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000025>
19:33:22.505054 futex(0x1ff3168, FUTEX_WAIT_PRIVATE, 0, NULL) = 0 <0.000050>
19:33:22.505159 sched_yield()           = 0 <0.000025>
19:33:22.505238 futex(0x1ff2708, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000089>
19:33:22.505372 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000098>
19:33:22.505515 futex(0xc0007d2bc8, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000027>
19:33:22.506509 futex(0x1ff3168, FUTEX_WAIT_PRIVATE, 0, NULL) = 0 <0.012590>
19:33:22.519194 futex(0xc0007d2bc8, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000027>
19:33:22.520492 futex(0x1ff3168, FUTEX_WAIT_PRIVATE, 0, NULL) = 0 <0.015314>
19:33:22.535924 futex(0xc0001ec848, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000048>
19:33:22.536314 futex(0x1ff3168, FUTEX_WAIT_PRIVATE, 0, NULL) = 0 <0.013032>
19:33:22.549425 futex(0xc0005844c8, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000022>
19:33:22.550081 futex(0x1ff3168, FUTEX_WAIT_PRIVATE, 0, NULL) = 0 <0.015846>
19:33:22.566007 futex(0xc000128148, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000025>
19:33:22.566383 sched_yield()           = 0 <0.000017>
19:33:22.566428 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000017>
19:33:22.566472 futex(0x1ff2708, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000017>
19:33:22.566513 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000017>
19:33:22.566570 sched_yield()           = 0 <0.000014>
19:33:22.566606 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 0 <0.000013>
19:33:22.566643 futex(0x1ff2708, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000016>
19:33:22.566682 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000016>
19:33:22.566893 futex(0x1ff26e0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000185>
19:33:22.567156 futex(0x1ff25f0, FUTEX_WAKE_PRIVATE, 1) = 1 <0.000021>
19:33:22.567218 futex(0x1ff3168, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) <0.000020>

And there it is! too many actions associated with FUTEX  has been found,

Hi @yangyongzhi7, I am suspecting the issue might be with the system stats monitor. Could you please install NPD v0.6.5 release
and let us know if the issue still persists

Hi @yangyongzhi7, I am suspecting the issue might be with the system stats monitor. Could you please install NPD v0.6.5 release
and let us know if the issue still persists


Alter database object to be an array

I believe the database object would be easier maintainable if it was an array instead of an object. That way the keys (numbers) wouldn't need to be added for each picture object added. It's also how it would be structured if it was fetched from a database. See example below:
- const womendata = {
-     1: { id: 1, ...more },
-     2: { id: 2, ...more }
- };

+ const womendata = [
+     { id: 1, ...more },
+     { id: 2, ...more }
+ ];

fine. I am open to it! go ahead


[Documentation]: Add instructions for NextJS setup/compatibility

Description
Cloudscape is not compatible with NextJS React apps out of the box. Some special configuration of NextJS app is required. Please add instructions on how to configure NextJS apps to work with Cloudscape components. I had success following the instructions in this article.
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate requests

I now see that there is info in the documentation. It's a bit buried under "Integration > Using Cloudscape components > Bundling assets > Bundling with Next.js", but it's there.


Pass options to HTTPBuilder in parse_url_opts (#5310)

Which issue does this PR close?

Closes #5310
Rationale for this change

https://github.com/apache/arrow-rs/pull/4516 added options support to HttpBuilder, but didn't hook it up in parse_url_opts. This fixes that omission.
What changes are included in this PR?

Are there any user-facing changes?

[Also added to the issue]
You need to add line 167 back in or this fix doesn't work.
Here is the missing line:
    let url = &url[..url::Position::BeforePath];

Tests and fix in https://github.com/apache/arrow-rs/pull/5316, thank you for flagging :smile:


[Paper] ClimatX

https://arxiv.org/abs/2301.10343
Detailed Description
Transformer based foundation model for climate forecasting, only very very lightly skimmed it for now.
Context

Possible Implementation

Super interesting paper! There is an implementation available now here https://github.com/microsoft/ClimaX

Yeah it is! Thanks for adding the implementation!


Update E2E tests to runtime 1.5.0 and dashboard 0.9.0

Description
Update E2E tests to runtime 1.5.0 and dashboard 0.9.0

@berndverst  please update the file https://github.com/dapr/cli/blob/master/tests/e2e/standalone/standalone_test.go#L36

@mukundansundar updated!

Closed this one. @mukundansundar will open a PR with test fixes and include these changes here.


visdiff: use VISDIFF_PR_ID env var for issue id

:eyeglasses: @cjb

:thumbsup:

:mag_right: These commits introduced some visual changes:

Changed: Folders_TLF-Coming_Soon (before) (after)


LocalDataCluster: prevent remote attribute writes

If I understand the idea of the LocalDataCluster, we should as well prevent remote attribute writes

Thx. Unrelated, are you on discord?

Thx. Unrelated, are you on discord?

Yes. I believe you can find me as Shulyaka.


Use PathBuf/Path type for file paths

This shouldn't break backwards compatibility for the open/destroy/repair methods. The return type of the path() method has been changed, however

Looks good! Thank you!


librewolf: build with MOZ_REQUIRE_SIGNING = ""

this allows sideloading unsigned browser extensions (via the nixExtensions option in the firefox-wrapper). i believe librewolf is meant to allow unsigned sideloading, based on upstream discussions and this bit that already exists in librewolf.nix:
extraConfigureFlags = [
    "--with-unsigned-addon-scopes=app,system"
    "--allow-addon-sideload"
];

but Mozilla changed some defaults over the years. this MOZ_REQUIRE_SIGNING option is mentioned upstream and we can see that the arch pkgbuild clears it in a similar manner.
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

From the comments upstream, setting to 0 should work as well.

hmm, i read this comment to mean that setting it to 0 doesn’t work and it specifically has to be set empty. but on reading that comment more closely, it’s actually ambiguous…
well i’ll recompile with 0 and see what happens

setting it to 0 failed quickly. nix log:
0:06.37   File "/build/firefox-106.0.3/configure.py", line 350, in <module>
 0:06.37     sys.exit(main(sys.argv))
 0:06.37   File "/build/firefox-106.0.3/configure.py", line 132, in main
 0:06.37     sandbox.run(os.path.join(os.path.dirname(__file__), "moz.configure"))
 0:06.37   File "/build/firefox-106.0.3/python/mozbuild/mozbuild/configure/__init__.py", line 516, in run
 0:06.37     self._value_for(option)
 0:06.37   File "/build/firefox-106.0.3/python/mozbuild/mozbuild/configure/__init__.py", line 621, in _value_for
 0:06.37     return self._value_for_option(obj)
 0:06.37   File "/build/firefox-106.0.3/python/mozbuild/mozbuild/util.py", line 1061, in method_call
 0:06.37     cache[args] = self.func(instance, *args)
 0:06.37   File "/build/firefox-106.0.3/python/mozbuild/mozbuild/configure/__init__.py", line 656, in _value_for_option
 0:06.37     value, option_string = self._helper.handle(option)
 0:06.37   File "/build/firefox-106.0.3/python/mozbuild/mozbuild/configure/options.py", line 593, in handle
 0:06.37     ret = option.get_value(arg, origin)
 0:06.37   File "/build/firefox-106.0.3/python/mozbuild/mozbuild/configure/options.py", line 450, in get_value
 0:06.37     raise InvalidOptionError(
 0:06.37 mozbuild.configure.options.InvalidOptionError: MOZ_REQUIRE_SIGNING takes 0 values
*** Fix above errors and then restart with "./mach build"

it has to be something which turns into the empty string when converted to an environment variable. the existing check in <pkgs/applications/networking/browsers/firefox/wrapper.nix> is correct:
      requiresSigning = browser ? MOZ_REQUIRE_SIGNING
                     -> toString browser.MOZ_REQUIRE_SIGNING != "";

So MOZ_REQUIRE_SIGNING=""; would be slightly simpler?

@squalus done

is this good to go yet?

@chayleaf it’s approved, just needs someone to merge it. if you want to test this PR and then post over on Discourse that it’s working for more than just the original author, i’ll bet it would get merged more quickly!

On Feb 17, 2023, at 22:28, chayleaf @.***> wrote:

is this good to go yet?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.


Add support for external links in TOCs

It would be nice to have a feature along the lines of {.toc-entry # [External](www.example.org)} which would insert an external link into the generated toc (either autogenerated or using {:toc}.
Example:
# First heading
## First subheading
{.toc-entry # [External Links](www.example.org)}
{.toc-entry ## [GH](www.github.com)}
# Second heading

Would result in:

First heading
a. First subheading
External Links
a. GH
Second heading

Without the "External Links" or "GH" sections actually showing up in the floating text

@alexanderbock The following markup should avoid the display of section headings in the body, using Kramdown's IALs:
{:hide: style="display:none"}

# [External Links](www.example.org)
{:hide}

## [GH](www.github.com)
{:hide}

The references to hide could be replaced by style="display:none", or you could use the name toc-entry instead of hide.
If this workaround addresses your feature request, please close this issue.
Perhaps it could be adapted to address also issue #66, where the external links are supposed to be displayed after the rest of the TOC?

I have deleted my suggested workaround: the links in the TOC referred to the local (hidden) sections, not to the external URLs, and I don't see how to fix that.

Unfortunately, the toc functionality is part of the markdown compiler and is outside the scope of what this theme can do.


fix typo in advanced

Pretty sure this breaks the global record for highest value PR. Might take a while to review.
On a serious note, ran a quick inspection over the rest of the project and didn't find any other obvious typos :)

LOL thanks <3


WIP: edit & delete functionality (needs testing)

Please test this and leave comments.

Latest commit handles #464 as well.

#466 includes this code 👍


add Hardhat

I added Hardhat because it is currently a major framework used in tutorials such as https://buildspace.so/. Please check it out.

Thanks!


Feature Request - Importing Multiple Assets in pubspec.yaml

I have been using flutter for quite some time whenever I have to import some assets ("static" assets), I have to type a lot of lines in the pubspec.yaml file.
[https://flutter.dev/docs/development/ui/assets-and-images]
What I was thinking was it would be great if there was something like
Instead of this (in pubspec.yaml) =>

assets:
- assets/folder/image1.jpg
- assets/folder/image1.jpg
- assets/folder/image3.jpg
- assets/folder/image4.jpg
- assets/folder/imageN.jpg

It could be like =>

assets:
- assets/folder/*.jpg

All files with .jpg would be imported. Similar can be done for fonts as well.
Thank you!

You can add assets/folder and that will import all the files in that directory. If you have subdirectories, you'll have to import them the same way too.

That works for me! Cool! Thank you so much! Suppose there is an image in that folder, do I access it as usual?
Image.asset('assets/image1.png')

Yes, usage remains the same.

Awesome!. Thanks a lot!


Doc.Ms Service level Readme does not show up

Storage service level readme throws 404. It is a product issue.

https://github.com/Azure/azure-docs-sdk-java/pull/1457

It is solved.

It is solved.


F# 4.1 project showing errors for new 4.1 features like Ok/Error

It seems to be finding a previous msbuild. Solution seems standard f# ref. Same on 2 PCs.
[22:18:50 DEBUG] MSBuild found at C:\Program Files (x86)\\MSBuild\14.0\Bin\MSBuild.exe
[22:18:50 DEBUG] MSBuild activated

/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28 Ctrl+Alt+ keybindings should not be used by default under Windows. Offender:  e  for  MSBuild.buildCurrent
e._assertNoCtrlAlt @ /C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/electron-browser/workbench.main.js:28
extensionHost.ts:285 [Extension Host] Mapping language fsharp to initial scope source.fsharp
extensionHost.ts:285 [Extension Host] Found grammar for source.fsharp at c:\Program Files (x86)\Microsoft VS Code\resources\app\extensions\fsharp\syntaxes\fsharp.json
extensionHost.ts:285 [Extension Host] [IONIDE-FSAC] REQ (001) -> {project}, File = "~\Asset.Common\2.Asset.Common.fsproj"
Data=Object
extensionHost.ts:285 [Extension Host] [msbuild] MSBuild found at C:\Program Files (x86)\\MSBuild\14.0\Bin\MSBuild.exe
extensionHost.ts:285 [Extension Host] [msbuild] MSBuild activated
extensionHost.ts:285 [Extension Host] [IONIDE-FSAC] RES (001) <- {project} in 306 ms: Kind={"error"}
Data=The system cannot find the file specified
extensionHost.ts:285 [Extension Host] [IONIDE-FSAC] REQ (002) -> {parse}, File = "~\Asset.Common\Prelude.fs"
Data=ObjectFileName: "c:\Users\Ant\src\asset\Asset.Common\Prelude.fs"IsAsync: trueLines: Array[86]Version: 1__proto__: Object
extensionHost.ts:285 [Extension Host] [IONIDE-FSAC] RES (002) <- {parse} in 3156 ms: Kind={"errors"}
Data=ObjectErrors: Array[1]File: "c:\Users\Ant\src\asset\Asset.Common\Prelude.fs"__proto__: Object
extensionHost.ts:285 [Extension Host] [IONIDE-FSAC] REQ (003) -> {lint}, File = "~\Asset.Common\Prelude.fs"
Data=Object
extensionHost.ts:285 [Extension Host] [IONIDE-FSAC] REQ (004) -> {project}, File = "~\Asset.Analytics\3.Asset.Analytics.fsproj"
Data=Object
extensionHost.ts:285 [Extension Host] [IONIDE-FSAC] RES (004) <- {project} in 8 ms: Kind={"error"}

Added the following location hints. Tried a new test solution with just a single test line added. Its still gives the same error. Not sure what else to try.
  "FSharp.msbuildLocation": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin",

  "FSharp.toolsDirPath": "C:\\Program Files (x86)\\Microsoft SDKs\\F#\\4.1\\Framework\\v4.0",

[13:51:43 DEBUG] MSBuild found at C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin
[13:51:43 DEBUG] MSBuild activated

[13:51:43 INFO ] REQ (001) -> {project}, File = "~\Library1\Library1.fsproj"
Data={"FileName":"c:\\users\\ant\\documents\\visual studio 2017\\Projects\\Library1\\Library1\\Library1.fsproj"}
[13:51:44 DEBUG] RES (001) <- {project} in 345 ms: Kind={"error"}
Data="The system cannot find the file specified"
[13:51:44 INFO ] REQ (002) -> {parse}, File = "~\Library1\Library1.fs"
Data={"FileName":"c:\\users\\ant\\documents\\visual studio 2017\\Projects\\Library1\\Library1\\Library1.fs","IsAsync":true,"Lines":["namespace Library1\r","\r","type Class1() = \r","    member this.X =\r","        let z = Option.defaultWith (fun () -> 1) None\r","        \"F#\"\r",""],"Version":1}
[13:51:46 DEBUG] RES (002) <- {parse} in 2782 ms: Kind={"errors"}
Data={"File":"c:\\users\\ant\\documents\\visual studio 2017\\Projects\\Library1\\Library1\\Library1.fs","Errors":[{"FileName":"c:\\users\\ant\\documents\\visual studio 2017\\Projects\\Library1\\Library1\\Library1.fs","StartLine":5,"EndLine":5,"StartColumn":24,"EndColumn":35,"Severity":"Error","Message":"The value, constructor, namespace or type 'defaultWith' is not defined.","Subcategory":"typecheck"}]}
[13:51:46 INFO ] REQ (003) -> {parseProjects}, File = "~\Library1\Library1.fs"
Data={"FileName":"c:\\users\\ant\\documents\\visual studio 2017\\Projects\\Library1\\Library1\\Library1.fs"}
[13:51:46 DEBUG] RES (003) <- {parseProjects} in 113 ms: Kind={"errors"}
Data={"File":"c:\\users\\ant\\documents\\visual studio 2017\\Projects\\Library1\\Library1\\Library1.fs","Errors":[{"FileName":"c:\\users\\ant\\documents\\visual studio 2017\\Projects\\Library1\\Library1\\Library1.fs","StartLine":5,"EndLine":5,"StartColumn":24,"EndColumn":35,"Severity":"Error","Message":"The value, constructor, namespace or type 'defaultWith' is not defined.","Subcategory":"typecheck"},{"FileName":"c:\\users\\ant\\documents\\visual studio 2017\\Projects\\Library1\\Library1\\Library1.fs","StartLine":5,"EndLine":5,"StartColumn":24,"EndColumn":35,"Severity":"Error","Message":"The value, constructor, namespace or type 'defaultWith' is not defined.","Subcategory":"typecheck"}]}

I am having the same problem when trying to run fsx scripts using 4.1 features, but building with FAKE finds the correct version of MSBuild.
I think this section:
https://github.com/ionide/ionide-vscode-fsharp/blob/61cedfa1b8a68cdf32b340b5e8b0ad6c2901730d/src/Components/Environment.fs#L116
Needs to include some of the extra paths FAKE is using
https://github.com/fsharp/FAKE/blob/35e228023366ed4dfdfa221be4a90aa4c2391615/src/app/FakeLib/MSBuildHelper.fs#L29
However, I'm not sure if this will apply to running with FSI, I tried setting `FSharp.msbuildLocation to the vs 2017 msbuild and it didn't fix my problem.

Is this because FsAutoComplete is compiled with F# 4.0? Looks to be pinned to FSharp.Compiler.Service 11.0.9.
@Krzysztof-Cieslak @forki Any idea of if its possible to bump this or if there are issues?

I don't think it's problem with FSAC being compiled against F# 4.0, that shouldn't be any problem.
Also, the printed out path for MsBuild is used only for MsBuild: ... commands, it's not used for project cracking.

Can you post example fsproj file?

This is just a new project created in VS.  To modify your build process, add your task inside one of the targets below and uncomment it.
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>

Can you confirm that $(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll file exists?
Can you try out using FSharp.Core from NuGet (Paket) ? Just want to figure out where is the problem

Yes
Good idea, but still the same in terms of debug output. New fsproj (nuget easier, could paket if you want):

Debug
AnyCPU
2.0
b08e1d83-cb64-434d-8726-c29f652a1ae9
Library
Library1
Library1
v4.5.2
<IP_ADDRESS>
true
Library1

true
full
false
false
bin\$(Configuration)\
DEBUG;TRACE
3
bin\$(Configuration)\$(AssemblyName).XML

pdbonly
true
true
bin\$(Configuration)\
TRACE
3
bin\$(Configuration)\$(AssemblyName).XML

11

$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets

$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets

..\packages\FSharp.Core.4.1.17\lib\net45\FSharp.Core.dll

..\..\..\..\..\..\..\Users\Ant\documents\visual studio 2017\Projects\Library1\packages\System.ValueTuple.4.3.0\lib\netstandard1.0\System.ValueTuple.dll

You can build f#4.1 projects just fine with MSBuild 14, so I don't think the version of MSBuild is the issue.
You could run FSharp.Compiler.Service.ProjectCrackerTool.exe --text "Proj.fsproj" true and see what it says.
(it's located in %USERPROFILE%\.vscode\extensions\Ionide.ionide-fsharp-2.26.1\bin)
My problem is that I get a squiggly line when using f#4.1 features in .fsx-files only. In .fs-files and vscode's fsharp-interactive it works perfectly. It also builds fine with my fake-script.

Interesting, I get: "Process is terminated due to StackOverflowException."

Do you have MsBuild 2015 installed? And other requirements?

MsBuild 2015 was missing and corrects when installed. Many Thanks.


connection string backslash

Hello Patriku,
I have to include also backslash in the user field for login with a domain name.(domain\username) I tried to escape backslash with second \ but I got error that says "Failed to lookup instance on DOMAIN- getaddrinfo ENOTFOUND DOMAIN"
So It seems that It sents only domain name without username.
and normal slash does not work.
Could you help me ?
thanks a lot

Do you really need to specify the domain on the user field? Why not on the server field?
var config = {
    user: 'sa',
    password: 'top_secret',
    server: 'glauco\\someInstance',
    database: 'InfoDB'
};

Closing due to inactivity.


Display a Switch to Use to Trigger Automations?

First, thanks for your work on this...I've just discovered this plug-in and it's great!  I was wondering if there is any way to expose a switch so that when the alarm goes off, it can be used to turn on lights in the house? Hope that makes sense. Basically, I'm looking to create an automation so that when the alarm sounds, select lights will be turned on.  I can't find a way to do this currently (but perhaps I'm just missing it). Thanks!

Hi,
Maybe, I am not completely understanding the request. This is a native functionality of Homekit, what you would do is create Homekit automation, when the alarm is "triggered" you would turn on whatever other Homekit device (e.g. a light).

Hi!  Apologies if I'm just completely missing it, but I can't seem to figure out how to do this in HomeKit as there isn't anything for me to use as the trigger. I can see the alarm being passed through to HomeKit, but there's no option for me to use an alarm event as a trigger for other devices. So if someone breaks into the house, I can't seem to find the right sensor/trigger/switch to use to use as the event to turn on other lights.  I appreciate your help, and again apologize if I've just totally missed it.

Hi, assuming you have already configure and added the plug-in and alarm icon is already appearing in homekit. This would be step that I would take to create the automation:
To Goto "Add Automation" in the Home App
Select "An Accessory is controlled"
Press Next
Select the alarm accessory (default would be name "House alarm")
Press Next
Select the "Triggers event" next
— At this point the home app would show you all the accessory in home kit for you to control.

Got it! Thanks so much! I was selecting  "when a detector senses something"  and not "when an accessory is controlled". Working now!  Again, thank you for your help


Props to group details component

add LocationProp and NavigateProp to groups components, this bring the abililty to use those component after exposing it in other repo Fixes # (issue)
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I run npm run lint:js:fix to check that my code is properly formatted

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (a84f5cc) 25.84% compared to head (8118ab3) 25.86%.

:exclamation: Current head 8118ab3 differs from pull request most recent head d640fc1. Consider uploading reports for the commit d640fc1 to get more accurate results

Files
Patch %
Lines

src/Routes/Devices/DeviceTable.js
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #772      +/-   ##
==========================================
+ Coverage   25.84%   25.86%   +0.01%
==========================================
  Files         136      136
  Lines        3757     3758       +1
  Branches     1343     1344       +1
==========================================
+ Hits          971      972       +1
  Misses       2495     2495
  Partials      291      291

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add mutable OAHashMap::lookup_ptr function to fix mutability.

Add mutable OAHashMap::lookup_ptr function to fix mutability.
This feature is already backported in this PR: https://github.com/godotengine/godot/pull/60421

Isn't this adding a non mutable lookup_ptr? Unless I misread the diff it seems to add const TValue * version.

With this PR, if you want to alter the OAHashMap content you need to make sure the function receives a non mutable variable:
void func(OAHashMap<int, String> &map) {
    String* value = map.lookup_ptr(0);
    *value = "This is now valid";
}

Thanks!


Data classification: The mbconfig file would be abnormal closed after clicking the "Reload" or "Reload All" button on the Train page.

System Information (please complete the following information):
Windows OS: Windows-11-Enterprise-21H2
ML.Net Model Builder 2022: <IP_ADDRESS>6601 (Main Build)
Microsoft Visual Studio Enterprise: 2022(17.2.0)
.Net Framework: 4.7.2
Describe the bug

On which step of the process did you run into an issue:
Click the "Reload" button on the Train page.

TestMatrix
https://testpass.blob.core.windows.net/test-pass-data/wikipedia-detox-250-line-data.tsv
To Reproduce
Steps to reproduce the behavior:

Select Create a new project from the Visual Studio start window;
Choose the C# Console App (.NET Framework) and .NET Framework 4.7.2 project template;
Add model builder by right click on the project;
Select Data classification scenario>Local (CPU);
On Data page, input the data source, then start training.
After training is done, click "Reload" or "Reload All" button on the pop-up dialog.
The mbconfig file would be abnormal closed.

Expected behavior
After you click the "Reload" button, the mbconfig file should be reload instead of abnormal closed.
Gif:

Additional context:
The bug is only repro on VS2022, not repro on VS2019.

We probably won't fix that, it's out of our control on how reload works in VS.

The bug is not repro on the latest VS version 17.2.6.


Test explorer doesn't run all tests on pytest repo

Run all tests, status of some of the tests do not get updated
Run tests individually, and that works!

Dup of #4578

Start with a root cause analysis and revisit the estimate if it requires any major refactoring.

I've tested this and it seems to be fine. The only tests that do not have a status are the ones that have been skipped.
Possible the the Teams app was messing with UI (code lenses were also incorrectly rendered - that too works for me).
All I did was just ran the tests and it worked.

Closing as there's nothing to be done.


Packaging Request: Sapling

Project description
Sapling is a replacement for Git from Meta/Facebook, used internally. It's compatible with existing git repos as well as their (not yet released but planned) backend. It appears to have some notable improvements over the standard git tooling for new users.
https://engineering.fb.com/2022/11/15/open-source/sapling-source-control-scalable/
Metadata

homepage URL: https://github.com/facebook/sapling/
source URL: https://github.com/facebook/sapling/
license: GPLv2
platforms: Linux, Darwin, NT

Nix flakes won't work out of the box with Sapling I think; we'll need to modify libfetchers to add a new sapling codepath so that e.g. detect when a flake is managed by sapling, detect changes, as well as some support for fetchSapling to fetch repositories. The git backend is totally an implementation detail and I doubt they'll ever expose .git directly, which would be neccessary to make the existing code work (some wrapper like sl git might be possible...)
But the first thing to do is package it so users can just run sl, of course.
That said, I've been testing it, and Sapling indeed is quite wonderful. It solves many of the issues I've had with Nixpkgs-scale (and smaller!) repositories when using git, and I've been testing it quite a lot for the past day, including by porting several of my branches to it. I'm not signing up to package it just yet (it doesn't look especially fun to tackle...) but it will almost certainly happen soon, I hope.

Here's a draft PR - rough work in progress: https://github.com/NixOS/nixpkgs/pull/201798
It uses autoPatchelfHook to get the Ubuntu 22.04 deb working on NixOS. Ideally, exec/hgmain would be built via Cargo. I tried a frankenbuild of that, building hgmain and then copying the site-packages from the deb into a directory and setting PYTHONPATH to said dir, which worked. There's a shared object in the site packages that I don't know how is built yet.

Done, as of 47dfc53feab971ef125444fd9981c6340c1a8f0b, which is now a source-based build thanks to @pbar1's work.
macOS support is MIA. I think it's worth closing this bug and making a new one, honestly, but I'll leave it for a little while now since I'm short on time.


280 - Adding translations to labels

With this PR, we are adding translations to labels.
1. The translation is added

2. The translation is reflected on the i18n_values table

3. The translation is reflected on the i18n_translations view

4. You can also try to edit the same cell, it should update the cell in the UI and database with the new value
5. You can try adding new languages, and setting others as default and adding labels

Take note
There is a 2 bugs that I will try to fix, such as

Once a cell is double clicked, and a value is added. Even if you double click on another cell, press enter, or click outside of the cell, it still remains in edit mode, hence you will still see the grey overlay on the input field.

There is a console error, which I am not understanding yet

@witnick I will create a bug report for the edit mode bug!


How to run this side-by-side with a real http server?

The FAQ mentions that concert takes over ports 80 and 443 at some point in the flow. How is this supposed to work with a running web server that already uses these ports? Does it need to shut down in order to have concert to be able to do its thing?

Yes that is correct. We tried using non standard ports but it did not seem to worknow reliably. But as of now yes.

@nerab -
TO use custom ports we need to make sure we proxy all the traffic to these ports.

HTTP Port:

All plaintext HTTP requests to port 80 which begin with a request path of /.well-known/acme-challenge/ for the HTTP challenge.
TLS Port:

All TLS handshakes on port 443 for the TLS-SNI challenge.
This traffic redirection is only needed as long as letsencrypt solves challenges. As soon as you have received your certificates you can deactivate the forwarding.

Ah, nice.
Is there a way to formulate these rules as e.g. nginx proxy rules? Would make a nice drop-in config file for users with existing web servers like me ;-). Maybe also for Apache etc.

Project deprecated users should use certbot instead.  Closing.


Merge pull request #5 from Walfred-MA/main

Merge pull request #3 from ChaissonLab/main

merge pull requeat


psl-native-test fails [Manjaro Linux]

git revision: d7cf81b64dc244ef4451c3be725205058c068a90
gist log: https://gist.github.com/mwallner/457bde412489830319be10212bfb91e7
Steps to reproduce
run ./src/libpsl-native/test/psl-native-test after building
Expected behavior
all tests should pass
Actual behavior
'LocaleTest' fails - test-locale.cpp:20
Environment data
Linux mwmaster 4.1.37-1-MANJARO #1 SMP PREEMPT Wed Dec 28 00:40:11 UTC 2016 x86_64 GNU/Linux

Connected to https://github.com/PowerShell/PowerShell/blob/309bf603f9aff9009dce7e725d42b2d4f99f58c9/src/libpsl-native/test/test-locale.cpp#L16 ?

@ealexjordan Please comment the issue.

1 out of 32 tests fail.
[----------] 1 test from LocaleTest
[ RUN      ] LocaleTest.Success
/trunk/git/PowerShell/src/libpsl-native/test/test-locale.cpp:20: Failure
Value of: "UTF-8"
Expected: nl_langinfo(CODESET)
Which is: "ANSI_X3.4-1968"
[  FAILED  ] LocaleTest.Success (1 ms)
[----------] 1 test from LocaleTest (1 ms total)

looking into the sourcecode: the tests expects the current locale to be UTF-8, nl_langinfo returns ANSI_X3.4-1968 .
Is the test-case valid to 'assume utf-8' ?

@mwallner I had a similar issue #2997. Perhaps your terminal application of choice has a similar setting.

@thezim - that indeed looks like it's the very same thing.. still questioning the validity of this test case!

closing this issue because of the duplicate.

I set my local to en_US.UTF-8, but this causes is not good enough. :)

@darkn3rd Can you provide more information?


Option to prevent ignore pinned tab

Please add an option to prevent Better-Onetab to store pinned tabs.

@StephaneArguin Thank you for your suggestion. This is really a necessary option. This option has been added in v1.0.4.

I just installed version 1.2.1 on Firefox and Windows 7 but I can't find this option. Where is it available?
PD. Nice add-on!


The GOALS of Cosmos.Standard | 0.2.0 release plan

Cosmos.Standard has been a long time since the beginning of the project. It is the underlying toolset of the cosmos-loops project (COSMOSLOOPS PROGRAME) (currently, Standard and Prowess jointly form the underlying toolset).
Cosmos.Standard is derived from a set of codes used in many production and commercial projects, and it is an open source part of the latter. For many reasons, Cosmos.Standard is very different from closed source projects, so the refactoring of Cosmos.Standard will be an important part of cosmos-loops 0.2.0 #2.
We need to add a large number of unit tests to Cosmos.Standard, and adjust each tool set to choose each function. In this process, we will follow the "subtraction principle", namely:

Cosmos core project (Cosmos.Core) provides basic toolset
Cosmos core extension (other parts of Cosmos.Standard) provides necessary and useful toolset
Cosmos Enhanced Extension (Cosmos.Prowess) provides a sufficient and enhanced toolset
All experimental projects will be transferred to the projects prefixed with Alexinea.* and will not remain under cosmos-loops

From the current state to cosmos-loops 0.2.0, it will take some time. The goal of this refactoring is to make Cosmos.Standard more usable without hidden problems. At the same time, the code organization style has gradually become clear, providing a reliable basis for the two larger versions 0.2.5 and 0.2.8.
0.3.0 will be another milestone version.

Current Cosmos.Standard working list:

Features removed in Cosmos.Standard | 0.2.0 release plan #60
Features adjusted in Cosmos.Standard | 0.2.0 release plan #61


Update index.html

I am BRL Trainee.

Update the forked stream and then make your required changes.


[WIP]LSTM Cell operator for Tensorflow PTB model

This LSTM operator is implemented to run the tensorflow PTB model for word prediction

unless there is a specific need to schedule the entire LSTM cell, we could simply use the current minimum topi operator to compose the cell up. The cell declaration can happen at NNVM level.
So it is not necessary atm to introduce LSTM cell to topi, unless we have a special requirement for a fused version

I built a LSTM cell with NNVM's symbol API. It only needs several modifications to the cell definition in MXNet https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/rnn/rnn_cell.py
The unroll is also supported.


Build failure due to rubygem issues in Solutions local settings

Add proxy server from below reference.
Settings file ./m2/settings-local-rubygem-proxy.xml needs to be copied.
https://github.com/devonfw/devonfw.github.io/blob/8799d571ef0d45736722974b34ab34d9570dd053/.github/workflows/build-and-deploy.yml#L35
Build should pass after adding the above configurations in github actions.

Hey team! Please add your planning poker estimate with ZenHub @ssarmokadam @suprishi

Not relevant after latest DA meeting. Hence removed from core team backlog.


Eclipse plugin generates faulty .project/.classpath files for a project with fileSets that reference outside source folders

Current Behavior
I try to import a simple springboot helloworld project into Eclipse. The project will have a large number dependencies to other projects, local jars and web repos, so I have added a sourceSets definition to build.gradle to be able to debug and modify code where ever I need.
In Eclipse When I do "Import... / Gradle / Existing Gradle project" the resulting Eclipse package view is missing the 'src/main/java'.
It looks like anything that references a sub directory of where the gradle.build is is ignored by Eclipse.
Eclipse picks the first sourceSets reference that is not a sub directory, turns that into a 'src' folder and all the rest references in the sourceSets into source folders with the reference name with -src appended.
Expected Behavior
I would expect all source folders to appear either under src or in their own folders in eclipse.
Context (optional)
No response
Self-contained Reproducer Project
This an obfuscated version on my gradle.build
plugins {
    id 'org.springframework.boot' version '3.3.0'
    id 'java'
    id 'eclipse'
}

apply plugin: 'io.spring.dependency-management'

group = 'com.myproject'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'

compileJava.options.encoding = "ISO-8859-1"
compileJava.options.warnings = false

repositories {
    mavenCentral()
}

sourceSets {
    main {
        java{
            srcDirs = [
            src/main/java',
            '../FooProjectA/src',
            '../FooProjectB/src',
            '../FooProjectC/src',
[SNIP more of the same]
            ]
        }
    }
}

Gradle version
Gradle 8.10.2
Build scan URL (optional)
No response
Your Environment (optional)
No response

This issue needs a decision from the team responsible for that area. They have been informed. Response time may vary.

@gradle/bt-ide-experience Please clarify if that is the expected behavior or not.
@nyholku Can you clarify why do you rely on sourceSets instead of, e.g. Composite Builds?

O formato do seu sourceSets pode não ser reconhecido adequadamente pelo Eclipse. O Eclipse pode não estar lidando bem com os diretórios que estão fora do diretório do projeto principal, resultando na falta de pastas como src/main/java.

That's a missing feature. In Eclipse, to include files and directories outside of the project dir, linked resources must be defined on the project. This is possible, but requires significant refactoring in the eclipse plugin.

This issue has also been posted on Stack Overflow: https://stackoverflow.com/questions/79047217/
It is a bug in Gradle, but there exists a workaround. I repeat here my answer on Stack Overflow:
The source paths ../FooProjectA/src, ../FooProjectB/src, ... are outside of your Eclipse project and have to be included as linked folders. Each of these folders is assigned a name:
../FooProjectB/src => FooProjectB-src
../FooProjectC/src => FooProjectC-src
[...]

Unfortunately the folder ../FooProjectA/src is assigned the name src:
../FooProjectA/src => src

This name is in conflict with the existing physical file location src/main/java. As a workaround to this bug you can change the assigned name for ../FooProjectA/src. This have to be done in two places:

The name of the linked folder in the project
The source path entry in the classpath

Please add these lines to your build.gradle:
eclipse {
    project {
        file {
            whenMerged {
                it.linkedResources.find { it.name == 'src' }.name = 'FooProjectA-src'
            }
        }
    }
    classpath {
        file {
            whenMerged {
                it.entries.find { it.path == 'src' }.path = 'FooProjectA-src'
            }
        }
    }
}

After invoking Refresh Gradle Project your source folders should be configured correctly.


Getting error on build VipsJpeg: Corrupt JPEG data : found marker 0xd9 instead of RST2 (via Error)

No idea how to further debug this error like if it is a corrupt jpg file or something else as I don't know what file it is having issues with.
Original error stack trace: Error: VipsJpeg: Corrupt JPEG data: found marker 0xd9 instead of RST2
[11ty] Unhandled rejection in promise: (more in DEBUG output)
[11ty] VipsJpeg: Corrupt JPEG data: found marker 0xd9 instead of RST2 (via Error)

Nevermind I think I found the error in another part of my code that is running eleventy image


Track UD contents in Python array

Here's a suggestion on how we might track UD contents on the Python side, which allows printing and loading
>>> import iknowpy
>>> test = [ {"literal": "abc", "label": "UDNegation"}]
>>> ud = iknowpy.UserDictionary(test)
>>> print(ud.entries)
[Entry(literal='abc', label='UDNegation')]
>>> ud.add_concept("xyz 123")
>>> print(ud.entries)
[Entry(literal='abc', label='UDNegation'), Entry(literal='xyz 123', label='UDConcept')]
>>> ud2 = iknowpy.UserDictionary(ud.entries)
>>> print(ud2.entries)
[Entry(literal='abc', label='UDNegation'), Entry(literal='xyz 123', label='UDConcept')]
>>> ud2.add_label("thirtysomething", iknowpy.Labels.NUMBER)
>>> ud3 = iknowpy.UserDictionary(ud2)
>>> print(ud3.entries)
[Entry(literal='abc', label='UDNegation'), Entry(literal='xyz 123', label='UDConcept'), Entry(literal='thirtysomething', label='UDNumber')]

it's not necessarily super elegant in terms of naming, so looking forward to your suggestions
(this is a respin and minor extension of #48, after cleaning up my fork's history)

Updated based on code review by @isc-adang + turning tests/udct.py in kind of a unit test


Fix build on M1

Develop companion for https://github.com/MinaProtocol/mina/pull/11434

What is the desired behaviour of this fix? I have an M1, the only way I could build mina lately is by using Nix and the following command that Alexander Bantyev provided:
nix build mina#packages.x86_64-darwin.default
because jemalloc was not supported for this processor and the build used to fail otherwise.
Using this branch, if I follow the normal steps to build mina with MacOS in the README-dev.md, I still get errors. In particular:
Starting Build
Build complete
ulimit -s 65532 && (ulimit -n 10240 || true) && env MINA_COMMIT_SHA1=d95416081a0c763b2f052d22d5d8d3db21a46972 dune build src/app/logproc/logproc.exe src/app/cli/src/mina.exe --profile=dev
/bin/sh: line 0: ulimit: stack size: cannot modify limit: Operation not permitted
make: *** [build] Error 1

Now, in this branch, if I simply use the standard nix command:
nix develop mina#with-lsp -c $EDITOR .
I get a new error regarding the arm64 architecture
warning: Using saved setting for 'allow-import-from-derivation = true' from ~/.local/share/nix/trusted-settings.json.
warning: Using saved setting for 'extra-substituters = https://storage.googleapis.com/mina-nix-cache' from ~/.local/share/nix/trusted-settings.json.
warning: Using saved setting for 'extra-trusted-public-keys = nix-cache.minaprotocol.org:fdcuDzmnM0Kbf7yU4yywBuUEJWClySc1WIF6t6Mm8h4= nix-cache.minaprotocol.org:D3B1W+V7ND1Fmfii8EhbAbF1JXoe2Ct4N34OKChwk2c=' from ~/.local/share/nix/trusted-settings.json.
warning: ignoring untrusted substituter 'https://storage.googleapis.com/mina-nix-cache'
warning: ignoring untrusted substituter 'https://storage.googleapis.com/mina-nix-cache'
~/WORKSPACE/mina/src/app/cli ~/WORKSPACE/mina
Entering directory '/Users/anais.querol/WORKSPACE/mina'
mkdir -p _codegen
capnp compile -oocaml:_codegen -I/nix/store/qm4pwk4fqbbqkfjin5hqm5w8nbi7r865-source/std libp2p_ipc.capnp
kj/filesystem-disk-unix.c++:1703: warning: PWD environment variable doesn't match current directory; pwd = /Users/anais.querol/WORKSPACE/mina/src/app/cli
libp2p_ipc.capnp --> libp2p_ipc.mli libp2p_ipc.ml
for ext in ml mli; do mv _codegen/libp2p_ipc.$ext libp2p_ipc_capnp.$ext; done
rm -rf _codegen
make: 'libp2p_ipc_capnp.mli' is up to date.
Generating assets.ml
Skipping generation of .mli
File "src/lib/child_processes/dune", line 1, characters 0-690:
 1 | (library
 2 |  (name child_processes)
 3 |  (public_name child_processes)
....
31 |    inline_test_quiet_logs
32 |  )
33 | )
ld: file not found: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation for architecture arm64

But then I execute nix build mina and it doesn't show the errors and it does create the executables. So in that case, it builds, no need to manually indicate the x86_64-darwin packages by default.

Using this branch, if I follow the normal steps to build mina with MacOS in the README-dev.md, I still get errors.

Sorry, this branch is only for Nix-based builds on M1. Getting the Makefile to work is a bit too complicated.

ld: file not found: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation for architecture arm64

Weird. I'll look into it.


[zh-cn] 3/README

for issue #135
translated README.md for 3-Data-Visualization with 3-Data-Visualization/translations/README.zh-cn.md

@qzylalala thank you!


Force fetch retries for function triggers during warm-up

Fixes #3179
Another fix related to the slew of "BadGateway" errors we've been seeing.

Actually hold off on merging-- I wanted to release a patch fix.


Question : How to align the nodes to the left ?

Hi,
I would like to align the nodes to the left in order to have a fixed size for the content and the remaining space for the opposite content. There is a property nodeAlign in TimelineTile that used to compute the effective node position :
  double _getEffectiveNodePosition(BuildContext context) {
    if (nodeAlign == TimelineNodeAlign.start) return 0.0;
    if (nodeAlign == TimelineNodeAlign.end) return 1.0;
    var nodePosition = this.nodePosition;
    nodePosition ??= (node is TimelineTileNode)
        ? (node as TimelineTileNode).getEffectivePosition(context)
        : TimelineTheme.of(context).nodePosition;
    return nodePosition;
  }

This property can't be used in TimelineTileBuilder so please what is the simplest way to define the nodeAlign ?

try using nodePosition in TimelineTheme?

Great package !
Timeline.tileBuilder(
theme: TimelineThemeData(
connectorTheme: ConnectorThemeData(
space: 51,
thickness: 2.5,
color: Colors.purple),
nodePosition: 0,
color: yellow),)

Try using nodePosition in TimelineTheme?
Check how it works here (Theme)

nodePosition works but it's the a percentage between 0 and 1.
If the screen is too small then the oppositeContent width will shrink it's content.
What I'm looking for is a fixed width for oppositeContent and the remaining width for the content.

Timeline.tileBuilder(theme: TimelineThemeData(connectorTheme: ConnectorThemeData(space: 51)))

Connector's space is the space between the content and the oppositeContent, it's not the width of the oppositeContent.

@adbonnin
I got it.
There is no option yet to provide the feature you are talking about.😢
Since it uses Flexible internally, I think it is necessary to explicitly limit the size of the opossite content.

ok thank you 😄


Custom converter not called on generic collection

I need to use a custom converter to provide some conversion logic. The custom converter gets called and works great when the target is a simple property. When the target is a List the custom converter never gets called.
Example:
public class Person {
    private String name;
    private Hobby favoriteHobby;
    private List<Hobby> otherHobbies;

    // getters, setters
}

public class PersonDto {
    private String name;
    private HobbyDto favoriteHobby;
    private List<HobbyDto> otherHobbies;

    // getters, setters
}

Conversion code:
Converter<Hobby, HobbyDto> hobbyConverter = mappingContext -> {
    if(mappingContext.getDestination()!=null) {
       // custom code here
      // ....
       return mappingContext.getDestination();
    } else {
        return null;
    }
};
ModelMapper modelMapper = new ModelMapper();
modelMapper.createTypeMap(Person.class, PersonDto.class).setPostConverter(hobbyConverter);

The custom converter is call for favoriteHobby, but not for any of the objects in otherHobbies.

Can you try this one? Thanks.
modelMapper.createTypeMap(Hobby.class, HobbyDto.class).setPostConverter(hobbyConverter).


Drop Python 3.4, fix coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 93.443%

Totals

Change from base Build 363535783:
0.0%

Covered Lines:
114

Relevant Lines:
122

💛  - Coveralls


seems not support AIDL yet，does there has any schedule of that？

just as title desc，wish to see your roadmap

Hi. Could you tell, please, what behaviour is expected?
By default, aidl files will be compiled in java and will be part of a jar file in aar. So it is supported alreeady

as your said，not the compiled part ， just some parcelable class，seem not include in the aar，but in the origin aar，they are included

Here is my example TestAidlGrease.zip
And this is result

@maskerliu, Could you share example project with the problem?


Convert platform APIs to classes

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes


Make all small types possible as data types

At its core, our process calculus implementation is untyped in the sense that there is a single type for channels, chan, and a single type for values, val. However, we have a typed layer, which allows us to use typed channels (using the type constructor channel) as well as data of various types.
Typed channels and other data are encoded as untyped channels and values. As a result, the sizes of the types we’re using are restricted by the sizes of chan and val. Currently, we force types 'a channel to be countable and require other data types to be countable as well. This has the annoying consequence that we can treat neither real numbers nor functions on data as data, meaning we cannot communicate them over channels.
With the new AFP entry ZFC_in_HOL, we have a very good tool for relaxing this restriction. We plan to change the requirement of data types being countable to the requirement of them being small in the sense of ZFC_in_HOL. The type of real numbers is certainly small and, more importantly, small types are closed under function space construction; so this change would solve the above described problem. It would not allow us to treat the type V of Zermelo–Fraenkel sets as a data type though, but then again our point is to support rich typing, while ZFC is untyped.

Since we’ve replaced the ♮-calculus by the Þ-calculus, I’m closing this issue. When implementing the typed layer of the Þ-calculus, we will take care to not restrict value types to being countable and to use ZFC_in_HOL.


Credential verified link is incorrect for relationships / Related organizations linking to the wrong (expired) parent record.

Example record: https://orgbook.gov.bc.ca/entity/BC0928747
Steps to reproduce:

Navigate to the example record, or any other record with relationships.
Click on any of the relationships to view the related organization's details.
Scroll to the relationships section of the screen.
Open the Credential status for a related organization.
Hover over the Credential verified link.

Observed behavior:

The link is https://orgbook.gov.bc.ca/

Expected behavior:

The link to be the url of the organization's credential details page.  https://orgbook.gov.bc.ca/entity/BC0928747/credential/1485679 in the case of this example.

Further investigation indicates this is an issue with the related organization records themselves.  The issue occurs regardless of how you get to the related records in this example.  They are linking to the expired record of their parent organization rather than the active one.  This can be seen in the screen shot above Effective: Dec 31, 1987 for https://orgbook.gov.bc.ca/entity/FM0414526.
In this example the active record for the parent organization is linking to the active DBA records, but all of the active DBA records are linking back to the expired record of the parent organization.
If you navigate from the parent organization to a related organization and then click on the relationship link to the parent organization this becomes more clear.
You see this:

Rather than returning to the record you started from:

This is not an issue with the previous UI as is displays both parent relationships, the active one and the expired (archived) one.  This can currently be seen here; https://frontend-prod.apps.silver.devops.gov.bc.ca/en/organization/registration.registries.ca/FM0414526

I see the expired issue and agree that it needs to be addressed.  Not sure I get the initial sequence as being wrong -- it's going to where I expect (except for landing on the expired record).

The initial sequence is talking about the incorrect link for Credential verified.  You go to the correct organization record, however that record's Credential verified is wrong, it will take you to the main search page, rather than the credential details for the organization you are viewing.

Priority for cleanup

I think we should split this into two issues. The issue with the relationship linking back to an expired credential seems to be a data issue, whereas the "credential verified" link can be solved on the frontend.


Shappie Need all his parameters in the Database

Temperature
Max_Tokens
Primary Directive (HI)
Persona (Grumpy)
What else?

Would flange up nicely with the frontend to view logs, give access to search by users to get memories and summaries, to map persona's and then set all these variables. and and and

May need to keep track of some of these things on a per-user basis


Empty array returned with QL-820NWB and iOS 14+

This worked perfectly on the previous iOS version. It no longer works as of 14 and returns an empty array.  On a previous post someone mentioned adding Bonjour services which didn't work and it wasn't explained where to add them.

You need to add them to the Info.plist.

My xcode looks nothing like this.  I don't see a custom iOS Target Properties.

You need to add them to the Info.plist.

This worked for me! Thank you.


[Snyk] Upgrade @redhat-cloud-services/frontend-components-config from 6.0.11 to 6.1.2

Snyk has created this PR to upgrade @redhat-cloud-services/frontend-components-config from 6.0.11 to 6.1.2.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 10 versions ahead of your current version.

The recommended version was released on a month ago.

Issues fixed by the recommended upgrade:

Issue
Score
Exploit Maturity

Prototype PollutionSNYK-JS-AXIOS-6144788
586
No Known Exploit

Regular Expression Denial of Service (ReDoS)SNYK-JS-AXIOS-6124857
586
Proof of Concept

Release notes

Package name: @redhat-cloud-services/frontend-components-config

6.1.2 - 2024-07-08

6.1.1 - 2024-07-02

6.1.0 - 2024-07-02

6.0.18 - 2024-06-27

6.0.17 - 2024-06-20

6.0.16 - 2024-06-14

6.0.15 - 2024-06-11

6.0.14 - 2024-05-15

6.0.13 - 2024-05-02

6.0.12 - 2024-04-03

6.0.11 - 2024-03-13

    from @redhat-cloud-services/frontend-components-config GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.
Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@upadhyeammit As discussed during updates call closing these tickets for now.


Make saver.restore work with tf.keras.layers when using tf.estimator to save model checkpoints

Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template
System information

TensorFlow version (you are using):1.14
Are you willing to contribute it (Yes/No):

Describe the feature and the current behavior/state.
feature request described in title.
Will this change the current api? How?
Not sure
Who will benefit with this feature?
Will help folks using tf estimators to train and save model checkpoints and restore them directly when a tf.keras model is instantiated.
Any Other info.

The tf.keras layers do not follow the same naming convention used in the estimator model checkpoint files. So, it becomes a mess to restore models. I am not sure if this is a legitimate issue or if I missing something while restoring

Can you please elaborate about the issue & the context.Will it be possible to provide related code.Thanks!

Have updated the form

There aren't any plans to update tf.train.Saver, given that Keras checkpoints use a somewhat different saving format (tf.train.Checkpoint). I've created a gist demonstrating how to save/load the weights in Estimator and Keras. The main change to the usual Estimator code is the use of tf.train.Checkpoint.
https://gist.github.com/k-w-w/01c58789c2baf2a350c28e5a89566420

@k-w-w Thanks, I cannot remember exactly now but I think I ran into issues when creating a network using tf.keras.layers without using a keras model, I just replaced tf.layers with tf.keras.layers and something broke somewhere but I cannot precisely remember where.

I believe there are some minor differences between tf.layers and tf.keras.layers which may affect the resulting checkpoint. If you can reproduce the steps, that would be extremely helpful. (and don't forget to re-open the bug)

@k-w-w I just looked at the gist you made. I did not explicitly create tf.train.Checkpoint and pass it to the scaffold class like you did and since the estimator(I think) uses tf.train.Saver under the hood, it expects the variable names to be the same while restoring. One other difference I noticed(not directly related to this) is that tf.keras.layers will rename layers even if a name is provided to the layer if a layer with the same name exists within a session, and also it does not reuse layers even if a scope is provided.(I forgot about this back then)
So, since all this is expected behavior, I do not think the issue needs to be reopened. Thanks


Web-Link: Error in VIS runtime

Describe the bug
I am using the web link in my vis runtime and i got sometimes the following error directly after loading the vis runtime.
To Reproduce
Steps to reproduce the behavior:

using web link from echarts in an iframe widget
loading the vis runtime
error in console log, chart is not shown

Screenshots & Logfiles
Exception { name: "NS_ERROR_FAILURE", message: "", result:<PHONE_NUMBER>, filename: "https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js", lineNumber: 1, columnNumber: 0, data: null, stack: "ue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:43890\n587/value/<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:42759\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:42236\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:50992\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:54922\nHa@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1662374\nVa@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1662171\nYs@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1703274\nju@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1689377\nOu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1689305\nSu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1689166\ngu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1686132\nGi/<@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635511\ne.unstable_runWithPriority@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1712930\nHi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635288\nGi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635458\nYi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635391\nhu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1683501\nenqueueSetState@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1639409\ng.prototype.setState@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1585749\n587/value/<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:52164\nr@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:2249772\nsetTimeout handler*t.prototype._wrapTimeFunction/Kt@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:2256188\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:52142\nps@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1676692\nAu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1693536\ne.unstable_runWithPriority@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1712930\nHi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635288\nTu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1690273\ngu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1686357\nGi/<@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635511\ne.unstable_runWithPriority@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1712930\nHi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635288\nGi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635458\nYi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635391\nhu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1683501\nenqueueForceUpdate@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1639716\ng.prototype.forceUpdate@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1585836\n587/value/<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:54153\nr@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:2249772\nsetTimeout handler*t.prototype._wrapTimeFunction/Kt@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:2256188\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:54121\nHa@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1662374\nVa@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1662171\nYs@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1703274\nju@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1689377\nOu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1689305\nSu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1689166\ngu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1686132\nGi/<@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635511\ne.unstable_runWithPriority@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1712930\nHi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635288\nGi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635458\nYi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635391\nhu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1683501\nenqueueSetState@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1639409\ng.prototype.setState@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1585749\n587/value/<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:58487\n587/value/</</<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:25887\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:22933\n587/value/</<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:25847\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:22549\n587/value/<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:25815\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:21252\n587/value/</<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:21402\nr@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:2249772\nsetTimeout handler*t.prototype._wrapTimeFunction/Kt@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:2256188\n587/value/<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:21370\n587/value/<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:19758\n" }
instrument.ts:129:35

Uncaught
Exception { name: "NS_ERROR_FAILURE", message: "", result:<PHONE_NUMBER>, filename: "https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js", lineNumber: 1, columnNumber: 0, data: null, stack: "ue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:43890\n587/value/<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:42759\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:42236\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:50992\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:54922\nHa@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1662374\nVa@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1662171\nYs@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1703274\nju@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1689377\nOu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1689305\nSu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1689166\ngu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1686132\nGi/<@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635511\ne.unstable_runWithPriority@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1712930\nHi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635288\nGi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635458\nYi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635391\nhu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1683501\nenqueueSetState@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1639409\ng.prototype.setState@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1585749\n587/value/<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:52164\nr@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:2249772\nsetTimeout handler*t.prototype._wrapTimeFunction/Kt@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:2256188\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:52142\nps@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1676692\nAu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1693536\ne.unstable_runWithPriority@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1712930\nHi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635288\nTu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1690273\ngu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1686357\nGi/<@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635511\ne.unstable_runWithPriority@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1712930\nHi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635288\nGi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635458\nYi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635391\nhu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1683501\nenqueueForceUpdate@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1639716\ng.prototype.forceUpdate@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1585836\n587/value/<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:54153\nr@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:2249772\nsetTimeout handler*t.prototype._wrapTimeFunction/Kt@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:2256188\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:54121\nHa@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1662374\nVa@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1662171\nYs@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1703274\nju@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1689377\nOu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1689305\nSu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1689166\ngu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1686132\nGi/<@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635511\ne.unstable_runWithPriority@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1712930\nHi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635288\nGi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635458\nYi@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1635391\nhu@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1683501\nenqueueSetState@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1639409\ng.prototype.setState@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:1585749\n587/value/<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:58487\n587/value/</</<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:25887\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:22933\n587/value/</<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:25847\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:22549\n587/value/<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:25815\nvalue@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:21252\n587/value/</<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:21402\nr@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:2249772\nsetTimeout handler*t.prototype._wrapTimeFunction/Kt@https://<IP_ADDRESS>:8082/echarts/static/js/2.d8ebf8a2.chunk.js:2:2256188\n587/value/<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:21370\n587/value/<@https://<IP_ADDRESS>:8082/echarts/static/js/main.339b9faf.chunk.js:1:19758\n" }
main.339b9faf.chunk.js:1

Versions:

Adapter version: 1.0.3
JS-Controller version: 4.0.23
Operating system: Server Ubuntu 20.04 LTS, VIS Client Windows 10 and Android 11
tested with Browsers: Chrome, Firefox

Bitte die vollständigen Stack traces posten. Danke

I cannot reproduce this error


Adding the beego framework

just adding the Beego framework
just doing my part

Hope this is good enough

give me a second to fix conflicts

This is straight up a hack.


Remove ubuntu1604 from presubmit.yml

Ubuntu 16.04 is end-of-life, we're going to remove it from Bazel CI.
If you like you can add testing on ubuntu2004 platform which we also support.

Thank you! 😊 Merging this, because the failure is unrelated - I filed an issue to track it here: https://github.com/bazelbuild/starlark/issues/200


make cadvisor a member variable in collector; fix make test cadvisor error

Make cadvisor a member variable in collector:
We found that many modules need to use cadvisor in collector, such as pod resource manager, cpu set manager, while only when nep has nodelocal configure cadvisor can exist.
So make cadvisor a member variable in collector and be configuration independent.

Fix make test error.

https://github.com/gocrane/crane/pull/205#discussion_r829128543 like @szy441687879  said

warning: GOPATH set to GOROOT (/Users/yw/go/go-1.17/go) has no effect
pkg/ensurance/collector/collector.go:44:16: NewCadvisorManager not declared by package cadvisor (typecheck)
c := cadvisor.NewCadvisorManager()
^
pkg/ensurance/collector/collector.go:178:59: too many arguments in call to cadvisor.NewCadvisor (typecheck)
cadvisorCollector := cadvisor.NewCadvisor(s.podLister, s.GetCadvisorManager())
^
make: *** [lint] Error
It failed again for mac, when run "go test"

As the cadvisor is an collector, the manager is the subobject for it. It confusion when we define  a interface like
type Interface interface {
Stop() error
GetType() types.CollectType
Collect() (map[string][]common.TimeSeries, error)
ContainerInfoV2(containerName string, options cadvisorapiv2.RequestOptions) (map[string]cadvisorapiv2.ContainerInfo, error)
ContainerInfo(containerName string, query *info.ContainerInfoRequest) (*info.ContainerInfo, error)
}
In this interface, we can not distinguish which functions are used for collector and which used for managers.
Can we separate the defination of the collector and the manager, such as this branch
https://github.com/yan234280533/crane/tree/test-cadvisor-collector

As the cadvisor collector is a collector, the manager is the subobject for it. It confusion when we define a interface like
type Interface interface { Stop() error GetType() types.CollectType Collect() (map[string][]common.TimeSeries, error) ContainerInfoV2(containerName string, options cadvisorapiv2.RequestOptions) (map[string]cadvisorapiv2.ContainerInfo, error) ContainerInfo(containerName string, query *info.ContainerInfoRequest) (*info.ContainerInfo, error) }
In this interface, we can not distinguish which functions are used for collector and which used for managers.
Meanwhile, as we have other collectors, we keep the interface not changed as far as possible.
Can we separate the definition of the collector and the manager, such as this branch ?
https://github.com/yan234280533/crane/tree/test-cadvisor-collector

Ok, i get your point, we also need new CadvisorManger func and some adjustment according to "Make cadvisor a member variable in collector", i push a new commit, you can review it when you are not busy.

Please square the commit.

/lgtm


Doom

Using GZDoom:
Will include support for:

~Ultimate Doom~
Doom II
Final Doom
Heretic: Shadow of the Serpent Riders
Hexen: Beyond Heretic
Strife: Veteran Edition

Ultimate Doom now works in Doom fork

Doom 2 supported added to doom fork

Final Doom supported in doom fork

Heretic: Shadow of the Serpent Riders supported in doom fork

Hexen: Beyond Heretic and Strife supported in doom fork


Access the resources with kubeclient and dynamicclient

Closes: #78

this LGTM - I dont really have insight to the openshift bits or a way to test them though

/lgtm


selectDate() sometimes is off by one day, if immediate is false

Expected Behavior / Goal
Calling: selectDate(Calendar.getInstance(), false) should scroll to today's date using normal scrolling speeds.
Actual Behavior
The calendar scrolls quickly and slows down as it approaches today, overshoots by one, and most of the time it will come back to the correct day. But about 1 out of 5 times it stays on one day after today.
Repeating the selectDate() command works fine.
Also setting 'immediate' to 'true' works fine.
Steps to Reproduce the Problem (sample code if possible)
In Activity:
        Calendar startDate = Calendar.getInstance();
        startDate.add(Calendar.MONTH, -1);

        Calendar endDate = Calendar.getInstance();
        endDate.add(Calendar.MONTH, 1);

        mCalendar = new HorizontalCalendar.Builder(this, R.id.calendarView)
                .range(startDate, endDate)
                .datesNumberOnScreen(5)

                .addEvents(new CalendarEventsPredicate() {

                    Random rnd = new Random();
                    @Override
                    public List<CalendarEvent> events(Calendar date) {
                        List<CalendarEvent> events = new ArrayList<>();
                        int count = rnd.nextInt(4);

                        for (int i = 0; i <= count; i++){
                            events.add(new CalendarEvent(getResources().getColor(R.color.md_green_600)));
                        }

                        return events;
                    }
                })
                .build();

        mCalendar.setCalendarListener(new HorizontalCalendarListener() {
            @Override
            public void onDateSelected(Calendar date, int position) {

            }
        });

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        switch (item.getItemId()) {
            case R.id.mn_cal_today:
                mCalendar.selectDate(Calendar.getInstance(), true);
                return true;
        }
        return false;
    }

layout:
    <devs.mulham.horizontalcalendar.HorizontalCalendarView
        android:id="@+id/calendarView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/colorPrimaryLight"
        app:textColorNormal="@color/colorPrimaryDark"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/include"
       />

Specifications

Android Version:  7.0 on Samsung S7 Edge
Horizontal-Calendar Version: 1.3.4

Dis you get it's fix ?

No, it is not fixed.

I'm Unable to fix the problem by setting immediate to true or setting date twice programmatically. Any other fixes ?

I am also observing this behavior.

This issue can be resolved by setting the start time as one month prior to
current date and end time one month after after current.
Thanks
On Sat, May 19, 2018 at 12:21 AM Alison Caldwell<EMAIL_ADDRESS>wrote:

I am also observing this behavior.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Mulham-Raee/Horizontal-Calendar/issues/83#issuecomment-390299659,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjMH2F83R1xMdl4lMz_9ggCaWKN2GFaYks5tzxhCgaJpZM4TrnQS
.

--
*Shivam Yadav *

Android Developer *

Any news on this? This lib is awesome, please find a fix! ;-)

@shivamyadavappinventiv  suggests:
This issue can be resolved by setting the start time as one month prior to current date and end time one month after after current.
I don't believe that worked for me. You can see in the original problem statement that I did set the start and end dates like that
Steps to Reproduce the Problem (sample code if possible)
In Activity:

        Calendar startDate = Calendar.getInstance();
        startDate.add(Calendar.MONTH, -1);

        Calendar endDate = Calendar.getInstance();
        endDate.add(Calendar.MONTH, 1);


[bug]: Problem While Installing SHADCN on NextJS 15

Describe the bug
Problem While Installing SHADCN on NextJS 15
Affected component/components
Installation
How to reproduce

Install NextJS with v 15
Try to install shadcn

Codesandbox/StackBlitz link
https://github.com/SH20RAJ/article
Logs
shaswatraj@Sh article % npx shadcn-ui init
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y) y

✔ Which style would you like to use? › Default
✔ Which color would you like to use as base color? › Slate
✔ Would you like to use CSS variables for colors? … no / yes

✔ Writing components.json...
✔ Initializing project...
⠦ Installing dependencies...Command failed with exit code 1: npm install tailwindcss-animate class-variance-authority clsx tailwind-merge lucide-react
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving<EMAIL_ADDRESS>npm error Found<EMAIL_ADDRESS>npm error node_modules/react
npm error<EMAIL_ADDRESS>from the root project
npm error
npm error Could not resolve dependency:
npm error peer<EMAIL_ADDRESS>|| ^17.0.0 || ^18.0.0" from<EMAIL_ADDRESS>npm error node_modules/lucide-react
npm error   lucide-react@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/shaswatraj/.npm/_logs/2024-06-20T01_13_53_671Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/shaswatraj/.npm/_logs/2024-06-20T01_13_53_671Z-debug-0.log
shaswatraj@Sh article %

System Info
Mac,Chrome

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

as the error says lucide-react peer dependency mismatch with react 19
downgrading to 18 could be a solution or
use --force --legacy-peer-deps flags to npm install

lucide-react now supports "react":^19.0.0 but not rc(release candidate)
https://github.com/lucide-icons/lucide/issues/2134#event-13293674013

check the blog solve this problem
https://tutorialsmaterial.com/post/ShadCn-Nextjs-15


Fix bookmark icon, clean up images on About

Switched the bookmark image URL to an absolute path instead of relative.
I also switched img to next's Image component, in preparation for needing to switch all that over.
Cleaned up file names a bit and the About page images while I was at it.

Just to be clear: I think the relative to abosolute path change  (i.e. changing ./bookmark.png to /bookmark.png) is what actually fixed this issue. Webpack chews up all our source code and spits it out in a condensed format, and there's no guarantee that relative paths are maintained.
For this reason, I think absolute paths are preferable to relative.
Changing the img tags to Image was more about starting to become aligned with Next standards. I'll go through during a cleanup phase and change them project-wide.


solve naming conflict for new sumo

examples/sumo/bottleneck.py -> examples/sumo/bottlenecks.py

@yunerzxy what error is this solving? Can you create an issue for it so we can track it?

Pull Request Test Coverage Report for Build 1746

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.03%) to 84.368%

Files with Coverage Reduction
New Missed Lines
%

flow/controllers/routing_controllers.py
1
92.68%

flow/core/vehicles.py
1
90.38%

Totals

Change from base Build 1742:
0.03%

Covered Lines:
6687

Relevant Lines:
7926

💛  - Coveralls


Add Retry Policy Support to AddAzureKeyVault

AddAzureKeyVault does not currently accommodate an exponential backoff retry policy as described in the Azure Key Vault throttling guidance here:
https://docs.microsoft.com/en-us/azure/key-vault/general/overview-throttling
Could the AddAzureKeyVault method be altered to accept a SecretClientOptions parameter or a similar mechanism to handle 429 errors more gracefully?

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

The AddAzureKeyVault uses the SecretClient that should implement the feature in question.
AddAzureKeyVault already has an overload that takes the SecretClient:
builder.AddAzureKeyVault(new SecretClient(..., new SecretClientOptions());

cc @heaths

Additionally, if you're getting throttled on application start up, please see a sample we just made available last week that shows how to use App Configuration to store non-secrets with a link to Key Vault for secrets. Key Vault does have low rate limits due to backend hardware, and the configuration providers - especially when using lots of configuration key/value pairs - can cause a lot of pressure against a key vault.
https://docs.microsoft.com/samples/azure/azure-sdk-for-net/app-secrets-configuration/
The service team also recommends using a Key Vault per application, not only to mitigate this class of issues (fewer secrets means fewer calls back to the service to retrieve values) but also to mitigate and isolate the impact of potential credential leaks.
I'm going to mark this issue as addressed, but please feel free to use the /unresolve command should you wish to discuss further.

Thank you @pakrym.  After updating to 1.2.1 I was able to apply a retry policy.
@heaths I was able to apply the retry policy to the SecretClient within the App Configuration as well.

Glad that worked for you! Can this issue be resolved then?

Yes, please resolve this issue.  Thanks.


[FLINK-32721] [planner] Support CharType for the MaxAggFunction

What is the purpose of the change
Support CharType for the MaxAggFunction.*
Brief change log

Support CharType for the MaxAggFunction like  MinAggFunction*

Verifying this change

original unit test *

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no )
The runtime per-record code paths (performance sensitive): (no )
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)

@liuyongvs Thanks for your contribution, this will be fixed by https://github.com/apache/flink/pull/18375, this pr will be closed later.

@liuyongvs Thanks for your contribution, this will be fixed by #18375, this pr will be closed later.

@lsyldliu thanks for your clarify, i also add comments for the pr you refer


Could a 3.7 alpha wheel of tensorflow be provided on pip?

Python 3.7 alpha exists, I would like to be able to install a wheel. Any idea when tensorflow could be added on pypi for 3.7?

This is currently unsupported. You can just try renaming the wheel (which is how we generate our python 3.6 binary). Until Python 3.7 is an actual release (not beta, alpha) we will not support it. You can of course build for it .from source, but that is unsupported.

We will not release a 3.7 binary until Python 3.7 is officially released.
Until then, as @aselle suggested you can just rename 3.6 wheel file and install it (except for windows).

@gunan @aselle Thanks, that worked! I would have never thought python would use a file naming convention to throw an error!


proxy_pass and UNIX-domain socket

Does proxy_pass work with UNIX-domain sockets?
We have test socket which simply returns "OK".
[~/dpdk-ans/ans]: echo -e "GET /test HTTP/1.0\r\n" | nc -U /run/test.socket
HTTP/1.1 200 OK
Date: Mon, 13 Jun 2016 08:46:58 GMT
Connection: close

OK

and this location in nginx.conf:
        location /test {
           proxy_pass http://unix:/run/test.socket:;
        }

On request "curl -iv http://<IP_ADDRESS>/test" we receive "504 Gateway Time-out" on the client and
skip linux fd 7
2016/06/13 12:03:24 [error] 18581#0: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: <IP_ADDRESS>, server: localhost, request: "GET /test HTTP/1.1", upstream: "http://unix:/run/test.socket/test", host: "<IP_ADDRESS>"
2016/06/13 12:03:24 [info] 18581#0: *1 client <IP_ADDRESS> closed keepalive connection

on the server in nginx logs.

Sorry, ANS don't support UNIX-domain socket.

It's sad. Ok, thank you for the clarifications.


Add the language name as a class

Hi,
I'm using code highlighting and I'd like to style XML and Java attributes in different colors.
However, both use the class "na" (Name.Attribute) and there's no other way to differentiate them.
Would it be viable to get the language name, when defined, and add them as a class to the
, resulting in
, for example?
Thanks!

We simply return the HTML returned by Pygments. Any such feature would need to be supported by Pygments first.

You can also check out Pygments style source to see what translates to the CSS shortnames https://bitbucket.org/birkenfeld/pygments-main/src/7941677dc77d4f2bf0bbd6140ade85a9454b8b80/pygments/styles/monokai.py?at=default&fileviewer=file-view-default.

@facelessuser thanks! The generated code uses the "na" class on both cases.
@waylan understood. Would the POC below work without having to modify Pygments?
At:
https://github.com/waylan/Python-Markdown/blob/master/markdown/extensions/fenced_code.py#L82
From:
css_class=self.codehilite_conf['css_class'][0],
To:
css_class=self.codehilite_conf['css_class'][0] + ' ' + self.codehilite_conf['css_class'][0] + '-lang-' + m.group('lang'),

@rcoelho that may work. It would need to be tested. However, Python-Markdown is in a feature freeze right now. I won't be adding any new features to the 2.x series. Perhaps if/when code highlighting gets refactored in 3.0 this could be included (see #334).
That said, I don't have much time to work on this project lately and the work on 3.0 has been on hold for some time. You could fork the existing extension and add your desired feature, or perhaps disable Pygments and use a Javascript library for highlighting (you may find one which gives you the features you want).

thanks! The generated code uses the "na" class on both cases.

I understand now.  I didn't fully understand what you were wanting, but I see now.

@waylan no worries, I'll figure something out. Thanks for the software!