[INFRA] Use upstream Talos AMI instead of self-built AMI

What's the test to develop? Please describe

We are currently building our own Talos AMI for pipeline test runs. We should consider using the AMI images provided by the Talos team. This would save us the effort of managing and keeping up with upstream AMI releases.
Describe the items of the test development (DoD, definition of done) you'd like

[ ] Leverage upstream image factor during Talos Linux cluster provisioning.

Additional context

https://www.talos.dev/v1.8/talos-guides/install/boot-assets/#image-factory
https://suse.slack.com/archives/C02HBK5AVC5/p1733295500686259

cc @derekbit @khushboo-rancher


Can't get SublimeLinter-jsxhint to Work

Relevant output from console:
startup, version: 3065 osx x64 channel: stable
[...]
reloading plugin SublimeLinter-jsxhint.linter
SublimeLinter: jsxhint linter loaded
reloading plugin SublimeLinter.commands
reloading plugin SublimeLinter.sublimelinter
plugins loaded
SublimeLinter: debug mode: on
SublimeLinter: temp directory: /var/folders/hr/pxpyntlj5fng4st0hg5l0x680000gp/T/SublimeLinter3-alden
SublimeLinter: found existing HTML syntax, version 3
SublimeLinter: found existing Rails syntax, version 1
found 6 files for base name Main.sublime-menu
Package Control: No updated packages
Writing file /Users/alden/Source/bidder/ui/projects/onespot-ui/_knockout-client/src/components/account-list/account-list.js with encoding UTF-8 (atomic)

JSXHint is the enabled linter:

My path is correctly configured:

And yet Sublime Linter: Lint this view on a .js or .jsx file does nothing and the linter is not run when I save a file even though my lint mode is "Load/save".
Any tips would be greatly appreciated!
My Sublime Text version is 3065.

Figured it out. I needed to identify JS files as JSX using sublime-react. I know, I know, it's in the README. :)
Closing.


Issue #SC-771 fix: Fix for Server Error in  update toc api

Codecov Report

Merging #302 into release-1.13 will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff               @@
##             release-1.13     #302   +/-   ##
===============================================
  Coverage           41.12%   41.12%
  Complexity            762      762
===============================================
  Files                 110      110
  Lines                7424     7424
  Branches              843      843
===============================================
  Hits                 3053     3053
  Misses               4046     4046
  Partials              325      325

Impacted Files
Coverage Δ
Complexity Δ

...n/java/org/sunbird/common/models/util/JsonKey.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Temperature Removed from Xiaomi Aqara door sensor after update to 0.95.0

Home Assistant release with the issue: 0.95.0

Last working Home Assistant release (if known): 0.94.4
Operating environment (Hass.io/Docker/Windows/etc.): virtualenv on Ubuntu 18.04.2

Component/platform: ZHA

Description of problem:
I have two separate home assistant instances installed in two locations. Both instances had version 0.94.4. Both locations have about 6 Aqara door sensors (MCCGQ11LM), which use "zhaquirks.xiaomi.aqara.magnet_aq2.MagnetAQ2" quirk. This sensor provides temperature. After I upgraded one location to 0.95.0, the temperature sensors disappeared. I have tried removing and adding back the device, but no luck.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

This belongs to https://github.com/dmulcahey/zha-device-handlers/issues
Temperature extracted for 0xFF01 attribute -- device temperature provides inaccurate and unreliable data so it was removed.

This was an intentional removal and is not an issue.


Describe and point out conduct at opening speech

ideally with a prominent and human-typable link

Also relevant:
https://medium.com/@lorraine_chu3n/being-nice-is-not-enough-b9f4f9184707
Op vrijdag 11 augustus 2017 heeft Daniel Mietchen<EMAIL_ADDRESS>het volgende geschreven:

ideally with a prominent and human-typable link
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/force11/force2017/issues/130, or mute the thread
https://github.com/notifications/unsubscribe-auth/AMjCmsKETU11JOdgiS33rnhIP_1fL2YVks5sXGW3gaJpZM4O0u31
.

I think this worked. A good spin to this was also that we had a brief recap at the end of the event to report on any incidents. Luckily, there was nothing to be reported, but being transparent and forthcoming about having monitored seems useful.


Use local static resources

My website network speed is generally faster than the remote server loading static resources, so static resources become the reason why my website speed is slowed down. Therefore, we hope to set a switch to let us choose to use remote or local static resources.

In addition, it can also alleviate the possible remote server network failure.

I have tried to make a plugin to do this, only it partially works.
This plugin forks onto the css and js events and downloads the known remote files + replaces them with local urls.
This doesn't work for urls added in the theme.php, and any urls added by plugins after this plugin has run (maybe add a 'z' to the name to make it run last.)
Anyway here's the plugin's code, again, partially working.
global $Wcms;
function replace_assets($args) {
	global $Wcms;
	$assets = [
		"https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css",
		"https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js",
<EMAIL_ADDRESS>		"https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js",
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>	];
	foreach($assets as $remote) {
		$name = basename($remote);
		$local = $Wcms->url("plugins/zlocal-cdn/assets/$name");
		$args[0] = str_replace($remote, $local, $args[0]);
		// Download files
		if(!file_exists(__DIR__ . "/assets/$name")) {
			file_put_contents(__DIR__ . "/assets/$name", file_get_contents($remote));
		}
	}
	return $args;
}
$Wcms->addListener('js', 'replace_assets');
$Wcms->addListener('css', 'replace_assets');

Put this in plugins/zlocal-cdn/zlocal-cdn.php, and create the folder plugins/zlocal-cdn/assets

@StephanStanisic Thank you for your help, but this plugin has only replaced three JS at the back stage, and the JS that affects the speed of frontpage visiting has not been replaced.

@robiso Hope you can consider this when developing and communicating with others who are developing themes and plugins. Many of the static resources in code are directly output without processing. I can't think of any good way to modify them while keeping the original code.The serious problem is that https://code.jquery.com/ is not accessible in my area without proxy and some other static resources load slowly, so a local static resource is very important. Thank you.

WonderCMS core doesn't include jQuery or any popular libraries by default anymore It can be bypassed by using above method or simply forking the project and localising the resources.
There might be some point in the future where we can remove the CDN's, but it seems more useful for it to be loaded through CDN's for more people and the users that need to use resources locally, can do it pretty easily.
Closing issue, please feel free to reopen or continue commenting for additional discussions.


Load the list of active projects before updating the coding progress table

Having to wait 10s for the coding progress table to load before being able to choose the project traffic graph to look at is pretty annoying.

@as2388, I've been loading the active projects before loading the coding progress table.

Hmm, perhaps the cause is something else then. Stepping back to the symptom: if you open the dashboards then click the 'traffic' button, the projects don't show for a couple of seconds, so there is probably a performance problem somewhere. Previously it took 10 seconds to show the list, which is how long it took the progress table to load and is why I thought those two things were related.

This is much lower priority now that the message coding table isn't so slow anymore.


check for fuchsia

Make sure the Fuchsia artifacts are available before rolling.
This can happen if someone manually rolls the engine, or if the roller gets misconfigured to not look for fuchsia.stamp

It looks like this precache doesn't fail - I would have expected it to.  What gives?

Weird that this test ran on engine c4229bfbba whereas head engine version is d60f298d9e7755b8f8204646e7ff03a846f5436c which is the one with the missing fuchsia thing

Ok, now it's red as expected.

Landing on red, to make the tree, because the tree is broken and no one knows right now.


Object doesn't support property or method 'appendChild'

Hi,
I get an instant run time error when using this script. This is the full error msg:
Unhandled exception at line 77, column 13 in http://localhost:60498/Scripts/ResizeSensor.js
0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'appendChild'
It happens on the last line in this piece of code:
element.resizeSensor.style.cssText = style;             element.resizeSensor.innerHTML =                 '
' +                     '

' +                 '
' +                 '
' +                     '

' +                 '
';             element.appendChild(element.resizeSensor);

Browser, Version, OS, test file?

IE 11, win7 x64, what do ya mean with test file?

Does this issue still exist with newest version?

No idea, I don't think I still have this plugin in my project either.
I'm closing it for now.


add organization support

The option admin is string array, support a set of organization repository's administratories. the string array ignore lower/uppercase, and anyone can initialize your post's comments. so them need have write/create-issues access of organization repository. ex:
const gitment = new Gitment({
  owner: 'GitHub ID of organization repository',
  admin: ['user1', 'user2'],
  ...

还没merge啊

@imsun 人呢？能合并吗？

?

:)
不知道啊。别问我，我什么也不知道~~

https://advance-esthetic.us/rf-facial-machines

https://pcappcrack.com/davinci-resolve-studio-crack/


Include subject line in the displayed message.

A customer has mentioned that it'd add some clarity if the plugin displayed the subject line of the notice along with the synopsis content, as without it the message can lack context and be a little confusing.

The subject line is already available in the JSON package returned from the API request that the plugin makes, so it just needs adding to the DOM template i.e. <strong>{{update.subject}}</strong>.
https://github.com/sorry-app/status-bar/blob/master/src/javascripts/status-bar.js#L80
Handlebars should then pick this up and render the subject line. It'll also need a little bit of CSS styling, perhaps make the font a little stronger so it stands out.


Cannot use hardware acceleration to split stream

I just bought a new camera: https://aliexpress.com/item/1005005731238053.html
It has 2 lens, and it outputs both in a single RTSP stream, like this:

So, I want to crop the stream into two. I managed to do it with:
streams:
  test_dual:
    - rtsp://<IP_ADDRESS>:554/user=admin_password=admin_channel=0_stream=1&onvif=0.sdp?real_stream
  test_top:
    # works, just to check if hardware accel is working
    # - ffmpeg:nova_dupla#audio=copy#video=h264#hardware=vaapi
    # works, but very slow as no hardware accel
    # - ffmpeg:nova_dupla#audio=copy#video=h264#raw=-filter_complex [0]crop=iw:ih/2:0:0
    # does not work with hardware accel
    # - ffmpeg:nova_dupla#audio=copy#video=h264#hardware=vaapi#raw=-filter_complex [0]crop=iw:ih/2:0:0

Unfortunately hardware acceleration cannot work together with -filter_complex, apparently. Error in logs:
14:47:50.910 ERR github.com/AlexxIT/go2rtc/internal/mjpeg/init.go:178 > error="exec: exit status 1"

Then:
023-08-12 17:59:49.629580580  14:59:49.629 DBG [exec] run url="exec:ffmpeg -hide_banner -v error -hwaccel vaapi -hwaccel_output_format vaapi -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://<IP_ADDRESS>:8554/test_dual?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v h264_vaapi -g 50 -bf 0 -profile:v high -level:v 4.1 -sei:v 0 -c:a copy -vf \"format=vaapi|nv12,hwupload\" -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
2023-08-12 17:59:51.121899571  14:59:51.121 DBG [exec] run launch=2.984648115s
2023-08-12 17:59:51.597230374  Filtergraph 'format=vaapi|nv12,hwupload' was specified through the -vf/-af/-filter option for output stream 0:0, which is fed from a complex filtergraph.
2023-08-12 17:59:51.597239168  -vf/-af/-filter and -filter_complex cannot be used together for the same stream.
2023-08-12 17:59:51.599419782  14:59:51.599 DBG [exec] run url="exec:ffmpeg -hide_banner -v error -hwaccel vaapi -hwaccel_output_format vaapi -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://<IP_ADDRESS>:8554/test_dual?video&audio -filter_complex [0]crop=iw:ih/2:0:0 -c:v h264_vaapi -g 50 -bf 0 -profile:v high -level:v 4.1 -sei:v 0 -c:a copy -vf \"format=vaapi|nv12,hwupload\" -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"

Camera stream details:
{
  "producers": [
    {
      "type": "RTSP active producer",
      "url": "rtsp://<IP_ADDRESS>:554/user=admin_password=admin_channel=0_stream=1&onvif=0.sdp/",
      "remote_addr": "<IP_ADDRESS>:554",
      "user_agent": "go2rtc/1.6.2",
      "medias": ["video, recvonly, H265", "audio, recvonly, PCMA/8000"],
      "receivers": [
        "98 H265, bytes=518351, senders=1",
        "8 PCMA/8000, bytes=221120, senders=1"
      ],
      "recv": 753919
    }
  ],
  "consumers": [
    {
      "type": "RTSP passive consumer",
      "url": "rtsp://<IP_ADDRESS>:8554/test_dual?video&audio",
      "remote_addr": "<IP_ADDRESS>:60892",
      "user_agent": "go2rtc/ffmpeg",
      "medias": ["video, sendonly, ANY", "audio, sendonly, ANY"],
      "senders": [
        "96 H265, bytes=518351, receivers=1",
        "97 PCMA/8000, bytes=221120, receivers=1"
      ],
      "send": 758095
    }
  ]
}

So I wonder if there is some issue in go2rtc.

By the way, it would be awesome if go2rtc had support for splitting the stream into two in a more integrated way:

Simplified configuration, maybe something like #crop=top and #crop=bottom
Somehow allow to capture the two output streams from the same FFMPEG process, to avoid transcoding twice, like this:

ffmpeg -i input -filter_complex "[0]crop=iw:ih/2:0:0[top];[0]crop=iw:ih/2:0:oh[bottom]" -map "[top]" top.mp4 -map "[bottom]" bottom.mp4

But directly mapping each output to different go2rtc streams.

Hard task. Will check someday

@felipecrs
I'm facing the same issue. Please update if you resolved this issue somehow or had other workaround.

I did not resolve neither found any workaround.

Simplified configuration, maybe something like #crop=top and #crop=bottom

Maybe more like #split=vertically or #split=horizontally.

@AlexxIT did you mean that allowing to use #raw=-filter_complex [0]crop=iw:ih/2:0:0 with #hardware is a hard task, or did you mean that capturing the two outputs from a single ffmpeg command is a hard task?
If the first one worked, it would already make my life better.

Both. Split input via hardware. And handle two outputs.

Ok, I have some news.

#raw=-vf crop=in_w:in_h/2:0:in_h/2 I came up with this alternative command which is not filter_complex
#hardware still doesn't work, but now instead of failing the stream, the filter simply doesn't get applied anymore it seems.

I can still use #hardware to do H265 to H264 transcoding and then applying the filter on the transcoded result, to minimize my CPU impact (given that I needed to transcode first).

How do you do the transcoding first then apply the filter using go2rtc? Do you have to setup mutliple streams or something?

That's correct. First stream to do the transcoding, then another stream consuming from the first stream.

@felipecrs do you are using the split of two cameras in Frigate? In first 15-20min the cpu is around 50%, after it it´s go to 100% and not decrease.

I no longer am. I replaced the camera with a 16:9 one.
But when I was, using the approach mentioned above (first transcode with hardware acceleration and then split), CPU usage was not a problem.
Intel N100


Fix ObjectCache usage with string keys

In my newly-created app, the latest version of tracked-built-ins was installed and used automatically which created some problems in how ObjectCache was using TrackedWeakMap. It seems that the newer version of that library more accurately represents the errors you'd get from using a regular WeakMap, so if you're passing string keys (i.e. URLs) to things that use ObjectCache, then you get errors around using something that isn't an object as a key:
VM611:1 Uncaught TypeError: Invalid value used as weak map key

I've attempted to fix that in this PR by always using the check you had in store() to check if the identifier is an object before using a weak map API. Additionally, remove() was broken because the weak map API there is named delete() not remove(). I found that second issue when adding tests to identify my original issue!

I have a few more changes that I'll submit in a separate PR that I think gets everything working in ember 4, though I'm much less sure of those changes haha. I'd love if we could find some time to talk and pair on it @jkeen!

Cool! Thanks for the changes
I think I ran into this error locally while trying to upgrade to Ember 4 (which I stalled out on when I decided to convert it to a V2 addon at the same time). I think I completed the V2 shift but was running into test errors with the 4.0 upgrade, so I would love to share notes and collab on it!

:tada: This PR is included in version 3.0.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add BaseEvent export from event.js entry file

In order to fix some issues related to jest test runner that is not able to find the BaseEvent when imported from it's definition file for some reason.

Interesting. Can you point to a minimal reproduction repository where this problem occurs?

I can't because it's in a project of the company I work for, but I can describe it.
We are developing an internal angular library that wraps openlayers and makes it easier to use it in the final products. For a specific tool I had to create a custom event extending BaseEvent.
While testing it directly from the library jest works well.
But once built, and used within a project, when unit testing the project, jest could not find the BaseEvent and produces this error :
TypeError: Class extends value [object Object] is not a constructor or null.
And the error comes from the line where my custom event extending the BaseEvent is declared.
If you really need a reproduction repository I could do it, but it forces to create both a minimal library, and a minimal repository using the library, because the error appears only when the library is built and used from an other project.

This looks more like an issue with the build tools you use for your library, so I don't think the change you suggest here is the best solution.

Maybe, but we are working with nx, and I've tried the different nx/angular packager availables, but I have the same problem with all of them.
I've try many things and the only solution that worked was to export the BaseEvent from a file more at the root of the openlayers library, like it's done for many other elements of openlayers.

The reason why BaseEvent is not re-exported from events.js is because it is not part of the official API.


Implement VWAP

with pandas: round(np.cumsum(x['volume']*(x['high']+x['low']+x['close'])/3) / np.cumsum(x['volume']),2)
Here, I think it will be better to store data (np.cumsum(x['volume']*(x['high']+x['low']+x['close'])/3) and np.cumsum(x['volume'])) at each step to reduce the calculation at each step.

#48 added.

#49 added for test.

#50 added for VWAP indicator.

Merged with #50, published in 1.6.0.


IGNITE-17714: Separate task for tests

https://issues.apache.org/jira/browse/IGNITE-17714

Done in https://github.com/apache/ignite-3/pull/1199


Tasks 1425-1450: Assigning categories, domains and addressing feedback

Task categories and domains are good to get merged @danyaljj


Missing file vendor/autoload.php.   But its there ....

I keep getting
Missing file vendor/autoload.php. Please run "composer install"!

But the file is defenantly there ...
[sam:~/git/PosBranch] more-deprecations+* ± deprecation-detector check src/ vendor/
Missing file vendor/autoload.php. Please run "composer install"!

[sam:~/git/PosBranch] more-deprecations+* ± ls -la vendor/ | grep auto
-rw-r--r--  1 sam sam  183 Feb  2 14:22 autoload.php

Im sure its something wrong on my end, but i cant figure it out.

How did you get the deprecation-detector file to the same directory as the src and vendor directories? Usually it's located in the bin subdirectory. Moving the file will make it look for the autoloading file in the wrong directory.

yep, had a brainfart, i had actually installed it globally, so the paths didnt make sense
thx


buildtools/clang_format not python3 compatible. Breaks git cl format and offsets_extractor

The script buildtools/clang_format/script/clang-format-diff.py is not python 3 compatible, causing issues like:
  File "/.../src/dart/sdk/buildtools/clang_format/script/clang-format-diff.py", line 94
    print 'Formatting', filename
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Formatting', filename)?

This in turn affects both git cl format and ./tools/run_offsets_extractor.sh, causing them to crash.
Either we need run this script with python2, or it needs to be updated.

Duplicate of: https://crbug.com/1066187


Not possible to build source-build release/3.0 on new distributions

Darc needs to know about the runtime-id in advance since it it needs to find a libgit2sharp for the current pltaform.
On Fedora 30, this fails:
git clone https://github.com/dotnet/source-build
cd source-build
git checkout release/3.0
git submodule update --init --recursive
./build.sh

The end of the output shows why:
  System.Exception: Something went wrong when cloning repo https://github.com/dotnet/arcade at <default branch> into /
home/omajid/devel/dotnet/source-build/bin/src/arcade ---> System.TypeInitializationException: The type initializer for
 'LibGit2Sharp.Core.NativeMethods' threw an exception. ---> System.DllNotFoundException: Unable to load shared library
 'git2-8e0b172' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG
environment variable: libgit2-8e0b172: cannot open shared object file: No such file or directory
     at LibGit2Sharp.Core.NativeMethods.git_libgit2_init()
     at LibGit2Sharp.Core.NativeMethods.LoadNativeLibrary() in C:\projects\libgit2sharp\LibGit2Sharp\Core\NativeMethos.cs:line 47
     at LibGit2Sharp.Core.NativeMethods..cctor() in C:\projects\libgit2sharp\LibGit2Sharp\Core\NativeMethods.cs:line 37
     --- End of inner exception stack trace ---
     at LibGit2Sharp.Core.NativeMethods.git_clone(git_repository*& repo, String origin_url, FilePath workdir_path, GitCloneOptions& opts)
     at LibGit2Sharp.Core.Proxy.git_clone(String url, String workdir, GitCloneOptions& opts) in C:\projects\libgit2sharp\LibGit2Sharp\Core\Proxy.cs:line 354
     at LibGit2Sharp.Repository.Clone(String sourceUrl, String workdirPath, CloneOptions options) in C:\projects\libgit2sharp\LibGit2Sharp\Repository.cs:line 715
     at Microsoft.DotNet.DarcLib.RemoteRepoBase.Clone(String repoUri, String commit, String targetDirectory, ILogger _logger, String pat, String gitDirectory) in /home/omajid/devel/dotnet/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/DarcLib/RemoteRepoBase.cs:line 176
     --- End of inner exception stack trace ---
     at Microsoft.DotNet.DarcLib.RemoteRepoBase.Clone(String repoUri, String commit, String targetDirectory, ILogger _logger, String pat, String gitDirectory) in /home/omajid/devel/dotnet/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/DarcLib/RemoteRepoBase.cs:line 210
     at Microsoft.DotNet.DarcLib.GitHubClient.Clone(String repoUri, String commit, String targetDirectory, String gitDirectory) in /home/omajid/devel/dotnet/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/DarcLib/GitHubClient.cs:line 875
     at Microsoft.DotNet.Darc.Operations.CloneOperation.HandleMasterCopyAndCreateGitDir(RemoteFactory remoteFactory, String repoUrl, String masterGitRepoPath, String masterRepoGitDirPath, String gitDirRedirect, ILogger log) in /home/omajid/devel/dotnet/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/Darc/Operations/CloneOperation.cs:line 282
     at Microsoft.DotNet.Darc.Operations.CloneOperation.HandleMasterCopyWithGitDirPath(RemoteFactory remoteFactory, String repoUrl, String masterGitRepoPath, String masterRepoGitDirPath, ILogger log) in /home/omajid/devel/dotnet/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/Darc/Operations/CloneOperation.cs:line 270
     at Microsoft.DotNet.Darc.Operations.CloneOperation.HandleMasterCopy(RemoteFactory remoteFactory, String repoUrl, String masterGitRepoPath, String masterRepoGitDirPath, ILogger log) in /home/omajid/devel/dotnet/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/Darc/Operations/CloneOperation.cs:line 225
     at Microsoft.DotNet.Darc.Operations.CloneOperation.ExecuteAsync() in /home/omajid/devel/dotnet/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/Darc/Operations/CloneOperation.cs:line 102

libgit2sharp has an so file for fedora under the fedora-x64 rid:
$ ldd /home/tmds/.nuget/packages/libgit2sharp.nativebinaries/1.0.235/runtimes/fedora-x64/native/libgit2-8e0b172.so
	linux-vdso.so.1 (0x00007ffeaa91c000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f4013b41000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4013b20000)
	libcurl.so.4 => /lib64/libcurl.so.4 (0x00007f4013a8e000)
	libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007f40139f8000)
	libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007f4013718000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f40136fe000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f4013536000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f4013e55000)
	libnghttp2.so.14 => /lib64/libnghttp2.so.14 (0x00007f401350d000)
	libidn2.so.0 => /lib64/libidn2.so.0 (0x00007f40134ed000)
	libssh.so.4 => /lib64/libssh.so.4 (0x00007f4013469000)
	libpsl.so.5 => /lib64/libpsl.so.5 (0x00007f4013456000)
	libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f4013404000)
	libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f4013311000)
	libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f40132f3000)
	libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f40132ec000)
	libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007f401329b000)
	liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007f401328a000)
	libbrotlidec.so.1 => /lib64/libbrotlidec.so.1 (0x00007f401327b000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f4013273000)
	libunistring.so.2 => /lib64/libunistring.so.2 (0x00007f40130ef000)
	libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f40130dd000)
	libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f40130d6000)
	libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f40130bc000)
	libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f401309a000)
	libbrotlicommon.so.1 => /lib64/libbrotlicommon.so.1 (0x00007f4013077000)
	libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f401304a000)
	libcrypt.so.2 => /lib64/libcrypt.so.2 (0x00007f401300f000)
	libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f4012f89000)

that one would work, but instead it is using the linux-x64 rid:
$ ldd /home/tmds/.nuget/packages/libgit2sharp.nativebinaries/1.0.235/runtimes/linux-x64/native/libgit2-8e0b172.so
/home/tmds/.nuget/packages/libgit2sharp.nativebinaries/1.0.235/runtimes/linux-x64/native/libgit2-8e0b172.so: /lib64/libcurl.so.4: no version information available (required by /home/tmds/.nuget/packages/libgit2sharp.nativebinaries/1.0.235/runtimes/linux-x64/native/libgit2-8e0b172.so)
	linux-vdso.so.1 (0x00007ffd0a7a0000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f8c3e285000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8c3e264000)
	libcurl.so.4 => /lib64/libcurl.so.4 (0x00007f8c3e1d2000)
	libssl.so.1.0.0 => not found
	libcrypto.so.1.0.0 => not found
	libz.so.1 => /lib64/libz.so.1 (0x00007f8c3e1b8000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f8c3dff0000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f8c3e5bf000)
	libnghttp2.so.14 => /lib64/libnghttp2.so.14 (0x00007f8c3dfc7000)
	libidn2.so.0 => /lib64/libidn2.so.0 (0x00007f8c3dfa7000)
	libssh.so.4 => /lib64/libssh.so.4 (0x00007f8c3df23000)
	libpsl.so.5 => /lib64/libpsl.so.5 (0x00007f8c3df10000)
	libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007f8c3de7a000)
	libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007f8c3db98000)
	libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f8c3db46000)
	libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f8c3da55000)
	libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f8c3da37000)
	libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f8c3da30000)
	libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007f8c3d9df000)
	liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007f8c3d9cc000)
	libbrotlidec.so.1 => /lib64/libbrotlidec.so.1 (0x00007f8c3d9bd000)
	libunistring.so.2 => /lib64/libunistring.so.2 (0x00007f8c3d839000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f8c3d833000)
	libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f8c3d821000)
	libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f8c3d818000)
	libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f8c3d7fe000)
	libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f8c3d7de000)
	libbrotlicommon.so.1 => /lib64/libbrotlicommon.so.1 (0x00007f8c3d7bb000)
	libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f8c3d78e000)
	libcrypt.so.2 => /lib64/libcrypt.so.2 (0x00007f8c3d751000)
	libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f8c3d6cb000)

which has missing libraries for openssl.
If you set DOTNET_RUNTIME_ID to fedora-x64, things may work.

Hello,
I am having the same issue under Arch Linux, copying the fedora-x64 .so file over the linux-x64 one works.
This is because libgit2sharp.nativebinaries builds its linux-x64 binary using Ubuntu 14.04 (https://github.com/libgit2/libgit2sharp.nativebinaries/blob/master/Dockerfile.linux-x64).
As Ubuntu 14.04 reached EOL on April 30, 2019, an issue should be opened upstream.

If you set DOTNET_RUNTIME_ID to fedora-x64, things may work.

@omajid did you give this a try?
This issue also relates to providing a complete source tarball per release (cfr https://github.com/dotnet/source-build/issues/298). The issue happens here because dotnet is used to fetch sources, dependencies, etc. Such things would already be packed in the source tarball.
CC @dagood @dseefeld

SourceLink removed its dependency on this native binary with https://github.com/dotnet/sourcelink/pull/288, maybe similar could be done for Darc? My understanding is that ./build.sh from a clone is no longer expected to work on unprepared distros, but would be nice to expand support by removing dependencies like this IMO.
/cc @crummel

If you set DOTNET_RUNTIME_ID to fedora-x64, things may work.

@omajid did you give this a try?

No, I didn't. fedora.30-x64 is now in the runtime id graph so things Just Worked.

No, I didn't. fedora.30-x64 is now in the runtime id graph so things Just Worked.

Oops. Turns out I was wrong. I built source build to create the release tarball on Fedora 28. I then built from the tarball (which doesn't need git?) on Fedora 30. The issue still persists.

Yes, this matches my earlier comment: https://github.com/dotnet/source-build/issues/1083#issuecomment-507166405.
Try setting DOTNET_RUNTIME_ID.

Try setting DOTNET_RUNTIME_ID.

Yes, that works. But it doesn't address the real issue that results from having very specific runtime ids, no real runtime id fallback mechanism, and bundling native libraries.

no real runtime id fallback mechanism

This is indeed an issue.
Even with a fallback mechanism, source-build wouldn't work on some platforms.
I'm considering source-build's output the source for building .NET Core rather than source-build itself (because source-build relies on dotnet to build).

If we acquire DARC rather than build it, this should be solved.  @crummel to confirm.

Recent versions of sourcelink don't depend on libgit2sharp: https://github.com/dotnet/sourcelink/pull/288

If we acquire DARC rather than build it, this should be solved. @crummel to confirm.

@crummel Will #1041 take care of this issue?

Even with a fallback mechanism, source-build wouldn't work on some platforms.
I'm considering source-build's output the source for building .NET Core rather than source-build itself (because source-build relies on dotnet to build).

@ericstj Can you comment on the above?

I think acquiring Darc will fix this.  Another thing I'm seeing is that after I switched Darc to be compiled with the 3.0 SDK in the BuildTools removal PR, this worked with a little manual intervention that I think could be added to the build.  If neither of those take care of the problem, we can look into shelling out to Git or other workarounds.

I was trying to build source-build on an arm64 machine. This issue affects that too. libgit2sharp doesn't have linux-arm64 binaries and we can't use it.
I really think we need to make Darc more flexible. It probably shouldn't be (indirectly) using native binaries without a simple way to plug a custom binary.

You can try one of these:

'patch' to add arm64 support to libgit2sharp: https://github.com/tmds/source-build/commit/ae16dff7a9619036a941c4ded59ee38d0331b90b#diff-c02be70df3e835d946f675bd0bedc234R229
use the git command instead of libgit2sharp: https://github.com/crummel/dotnet_source-build/commit/57e01ba1fbd033b4e03a572ed156f986db54b193#diff-98f322625c74ff72f9326bd4dca549baR153

I can look into making libgit2sharp fall back to the native library provided by the platform in case the one it has in the package don't work.
Or maybe we want to change source-build so it uses the git command instead of libgit2sharp for these checkouts?

I can look into making libgit2sharp fall back to the native library provided by the platform in case the one it has in the package don't work.

I'm making a different change: https://github.com/libgit2/libgit2sharp/pull/1714 tries out the other native libraries that come with LibGit2Sharp. That should solve the issue for x64 (new Fedora versions) and arm64 (any Fedora version).

Or maybe we want to change source-build so it uses the git command instead of libgit2sharp for these checkouts?

We still may want to pursue this.

Could you give this a try now that the BuildTools removal PR with the switch to the 3.0 SDK is in?  That seemed to fix the problem for me for now - we'll still want to acquire Darc instead of building it but it would be lower priority.

Could you give this a try now that the BuildTools removal PR with the switch to the 3.0 SDK is in?

I can confirm that this fixes the problems for me on Fedora 30 x86_64.


Module not published, Failed to run dependency analysis v2

I just published a module as described in the docs, however it is not showing up at https://deno.land/x/airbag
A version is automatically appended to the URL, so I assume the release creation must have worked, there are just no files.
This is the current status page: https://deno.land/status/633b2e93dae66ec51b7e3da9
Would be grateful for any help.
Edit: I am also already able to import the module using the deno.land URL, just the webpage isn't showing up.

I am not sure entirely what went wrong.  It wasn't an issue with registry2, it was an issue with publishing on docland.
I manually reloaded the module and it appears to be working now.


Rework implementation of user-defined RDL structs

Similar to UserEnum, UserStruct classes are dynamically subclassed at runtime. For similar reasons described in #132,
the compiler's implementation of user-defined SystemRDL structs will be reworked.
Details TBD

Rejecting.


app: instance and static folder paths

The current locations of instance and folder paths doesn't work nicely when used through python manage.py.

There doesn't seem to be any way to disable the /static endpoint generated for each application in invenio_base.app:base_app. When static_folder is set to None (default value), it generates a path to the instance directory.
This creates an /api/static endpoint.

as long as it returns 404 it's fine :wink:

The current locations of instance and folder paths doesn't work nicely when used through python manage.py.

@lnielsen Can we agree on recommendation to always install invenio/overlay?

@jirikuncar I moved the comment to its own issue #36

@lnielsen Can we agree on recommendation to always install invenio/overlay?

Yes I think so - still issues to sort out, such as being able to specify the app template folder (which overwrite every possible template in blueprints).

I would generate setup.py instead of manage.py and then one is ready for "production".

I'm closing this issue as it's now fully customisable from the instance where the instance and static folder should be located.


Suppress the "skipping duplicate package xgboost" warning

If one uses a git path for dependencies of risc0 in Cargo.toml, chances are that the compiler would complain:
warning: skipping duplicate package `xgboost` found at `/Users/cusgadmin/.cargo/git/checkouts/risc0-b4649977e2e81438/341a014/examples/xgboost/methods/guest`

This is due to xgboost's example repo has the name xgboost and its methods/guest also has the name xgboost. Since this is a very boring warning but appears to show up frequently, it makes sense to suppress it, by just naming the xgboost example repo differently.

could not reproduce the following error locally.
"Run python license-check.py
examples/groth16-verifier/groth16/tests/groth16.rs: invalid header!"

Could you update the copyright header's year on each of the effected files?

Let me dig out what happens... It is weird. The problem is that the header is indeed correct on the source repo:
https://github.com/l2iterative/risc0/blob/remove-xgboost-warning/examples/groth16-verifier/groth16/tests/groth16.rs#L1
// Copyright 2024 RISC Zero, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//

Ok. @flaub I think it should work now. I realized that my previous commit here that merges the upstream should have fixed the issue.
https://github.com/l2iterative/risc0/commit/44709c0afdc336ecab7612267fa449e4cf1719ef
It is related to https://github.com/risc0/risc0/pull/1317#issuecomment-1896301867.

It appears that Cargo.lock of examples needs to be updated because a new entry would be added:
[[package]]
name = "xgboost-example"
version = "0.1.0"
dependencies = [
 "forust-ml",
 "risc0-zkvm",
 "rmp-serde",
 "serde",
 "serde_json",
 "xgboost-methods",
]

A commit is pushed trying to fix the remaining CI errors.

An automatic run of cargo update will create a lot of changes... if it is not desirable, please let me know so I can try to minimize the change to Cargo.lock to be name-only.

The only thing that's needed is to run cargo check from the examples directory. This will update the Cargo.lock file to match what's in the Cargo.toml.

The requested change has been made. cargo check instead of cargo update fixes the issue. Now there is only the following change in this PR.
[[package]]
- name = "xgboost"
+ name = "xgboost-example"

Just an update that a new error has appeared.
warning: skipping duplicate package methods found at /Users/cusgadmin/.cargo/git/checkouts/risc0-b4649977e2e81438/39a6fd8/examples/groth16-verifier/methods
let me take a look as well since we clearly do not want to spend one more PR for this...

A new commit has fixed the same issue about groth16-verify as well. Ready for review.

@weikengchen we can't merge because this is outdated. Could you update your branch so we can merge?

Updated. Realized that one problem with making a PR from organization-owned repo is that I couldn't auto-grant permission to modify to the RISC Zero team...


Add manual reload of crontab file

In case if cronn runs without --update flag we want to support sighup to initiate reload.

I would like to take this one, but I cannot find an elegant and testable solution. I can create PR request if you can help me with this a little bit.

sure

I see there is an open PR for this ticket, but no activity. Is this issue still help wanted?

ok, I guess not


New Salus AWS plattform

Hi @bimusiek,
do you now if it is save to switch to new Salus AWS Plattform?
Have you migrated already? Does the plugin still work?
thanks!

I have heard from one user about it and tried to quickly fix it but did not have time yet. This looks similar to Panasonic Comfort Cloud issue, so please be patient.

So it is more than changing the URL in the config?

Unfortunately yes, Salus changed how the auth works. You can already change the url in config because I thought that would be enough.

looks like they are now using AWS Cognito.
I can see a AWSCognitoIdentityProviderService.InitiateAuth (with "AuthFlow":"USER_SRP_AUTH"), followed by a AWSCognitoIdentityProviderService.RespondToAuthChallenge and a AWSCognitoIdentityService.GetCredentialsForIdentity

Any update on this? Would be amazing to get it working again :)

still no updates?

Unfortunately due to other issues with homebridge I have switched to HomeAssistant. It has much better support for smart homes configurations and it has already existing Salus plugin that works locally.
I could take a look at their sourcecode and implement the same for this plugin but I don't have the time as of now.

Hi Bimusiek, it would be great if you could if you could fix it! Thanx a lot! Greetings

Unfortunately due to other issues with homebridge I have switched to HomeAssistant. It has much better support for smart homes configurations and it has already existing Salus plugin that works locally.
I could take a look at their sourcecode and implement the same for this plugin but I don't have the time as of now.

Can you please attach the link to the HomeAsssistant SALUS plugin?

https://github.com/epoplavskis/homeassistant_salus
I am using this one.

Hi there. Any chance we can get this plugin working again via Hoobs? Many thanks.

HI,
I was curious to understand why and how the home assistant plugin works with the new platform...
The difference to this plugin is, that they do not use the cloud platform at all, but make requests to the UGW in the local network.
I then spent a lot of time to figure out how to port the encryption algorithm from pyhton to Javascript. I finally managed to make the encrypted API calls  retrieve data from UGW directly for my thermostats. The data structure seems a bit different (but not too different...).
Yesterday evening I started to port my quick and dirty JS code into Typescript and to integrate it into the structure of this plugin.
@bimusiek are you open for a PR changing from cloud platform with user and password to local connection with ip address and EU-ID of the UGW?
It is still work in progress on my side and I am quite busy with other things. But I hope to be able to make a initial suggestion in the next days if everything's works as I expect...

fyi
https://github.com/california444/homebridge-salus-sq610
There is a draft version, which is "working":

I can get all my 10x SQ610RF thermostats
it reads the temperature and state
updating is working
I can set a least the temperature and it updates in the Salus app

Might still be a bit buggy und not very well tested....

Hallo california444, thanks so much for your work! I tried for 3 hours with help from chatgpt but i'm nor able to install the draft version correctly. It doesn't work.
"No plugin was found for the platform "SalusSQ610HomebridgePlugin" in your config.json. Please make sure the corresponding plugin is installed correctly."
pi@homebridge:/var/lib/homebridge $ /opt/homebridge/bin/npm uninstall -g @hernas/homebridge-salus-sq610
removed 1 package in 2s
pi@homebridge:/var/lib/homebridge $ /opt/homebridge/bin/npm cache clean --force
pi@homebridge:/var/lib/homebridge $ /opt/homebridge/bin/npm install -g california444/homebridge-salus-sq610
added 16 packages in 18s
pi@homebridge:/var/lib/homebridge $ /opt/homebridge/bin/npm list -g --depth=0
/opt/homebridge/lib
├── @hernas/homebridge-salus-sq610@
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>ChatGPT said that a version-number is missing.

HI @RockstarRebell ,
yeah, I am not an expert with npm, but I get the same issue when I repeat your steps and try to install it directly from Github.
So I pushed the current version to npm. You should now be able to search within homebridge UI:

Also you  need to change your config and add the ip address of your local Gateways and you either can they with eu_id:<PHONE_NUMBER>000000 or if this does not work, check the eu_id mentioned on the bottom side of the gateway
        {             "ip_address": "<IP_ADDRESS>",             "eu_id": "0000000000000000",             "refreshTime": 60,             "platform": "SalusSQ610HomebridgePlugin"             }

@california444 if you create the PR, I am happy to merge  and test it.

It works! 🤩 thank you so much!

Glad that it works…
I will try to create the PR soon here…

here we go: https://github.com/Hernas/homebridge-salus-sq610/pull/7


Can't open "TinkerGen GameGo"

Describe the bug
Can't open "TinkerGen GameGo"
Steps to reproduce the behavior
1.Navigate to https://arcade.makecode.com/beta#
2.Hardware----->TinkerGen GameGo----->Show Instructions
Actual behavior
Can't open "TinkerGen GameGo". It prompts that "Your connection is not private"

Additional context
1.OS: Windows(rs6)
2.arcade version: 1.6.13
3.Microsoft MakeCode version: 7.2.17

@Jaqster can let TinkerGen know or remove this link?


SSH access to the container

I was wondering if it's possible to SSH into the container to execute the command.
I would like to setup vim test plugin to run tests on the container from the editor.

Actually I can just use devstep exec to achieve the same. This can be closed.


[Android] Warning: Native component for "FastImageView" does not exist [SOLVED]

I found myself with this issue and I was able to fix it for iOS as it's explained in #51
However, I didn't find anything for Android... so I had to fix it myself.
I'm writing down here what was the solution for me in order to help others with the same issue.
It seems that react-native link does not do his work properly sometimes, so there was a missed line in android/app/src/main/java/com/PROJECT_FOLDER/MainApplication.java you must add
return Arrays.<ReactPackage>asList(
(.... all your packages list)
  new FastImageViewPackage()
Be sure that previously you have imported the library at the top of the file
import com.dylanvann.fastimage.FastImageViewPackage;
In case this solution doesn't work for you, these are the files you must check:
At android/settings.gradle add
include ':react-native-fast-image'
project(':react-native-fast-image').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fast-image/android')
At android/app/build.gradle add
dependencies {
compile project(':react-native-fast-image')
(...all your dependencies)
Hope it helps!

Yeah, unfortunately sometimes react-native link doesn't work properly.
I've added manual linking instructions here: https://github.com/DylanVann/react-native-fast-image/blob/master/docs/installation-manual.md

Even after linking and with the latest release as well as the latest in master, I keep getting the error fastimageview view config not found. Can someone help us out? Works perfectly in the demo app.

Same problem with Android even after following steps for manually linking lib.

There were many things i needed to change to get it to work.

The compile version & glide version had to be same for my package.
On updating the sdk version, I had to change the implements image to implements AppCompat image.

As an offshot, can you check if you have written .addPackage(new FastImageView()) in your native android code where you are using react fast image?

@jalpesh Can you explain in more details what kind of changes you had to make? I wonder if #258 is related to this.

@iqqmuT  Can you show me your versions and the code where you are using fastimage?

"react-native": "0.59.9",
"react-native-fast-image": "6.0.3",

same problem


Adding a while loop to fetch the project number

Fixing: https://github.com/GoogleCloudPlatform/fourkeys/issues/11
If there is a delay in the gcloud projects API, the gcloud projects list command returns null.  Without the project number, we cannot identify the service accounts and the permissions structures fail.

FYI, b/c we don't have tests on the setup script, I ran this 10 times and it passed every time.


Weavy has no construct signatures

After installing npm install @weavy/uikit-web and setting up the service as described in the guide https://www.weavy.com/docs/frameworks/angular#install-uikit-web, I encountered the following error:
"This expression is not constructable.
Type 'typeof import(".../node_modules/@weavy/uikit-web/dist/types/index")' has no construct signatures

Thanks for the report. This has been changed to a named import.
import { Weavy } from "@weavy/uikit-web";

We will update the documentation. Sorry for the inconvenience.


Release 3.3.2rc1

👍

👍

Coverage increased (+0.6%) to 89.408% when pulling 3cca6e3e42f5a9ba56fd0b5fd765e9d398ec6909 on czpython:release/3.3.2rc1 into f10fa39786ff5368b930d7dfc0bef2f4753880ba on divio:release/3.3.x.


Add CI support for build test and auto deploy

Attempt to add travis-ci
Will find a way to auto deploy, either pull from docker hub (travis ci push the image), or use webhook to trigger the server to pull, rebuild, restart.

Travis ci deploy
Travis ci deploy script

For yarn:
https://yarnpkg.com/en/docs/install-ci#travis-tab
https://github.com/travis-ci/travis-ci/issues/6720#issuecomment-285981417


Release nomenclature inconsistency

There is a general inconsistency between versioning nomenclature. Some releases are in the format of X.X.X and some are vX.X.X. In the past, stable releases used one format and pre-releases used another. But now there are two stable releases with the same version number, one with and one without the v.
Preferably code-server would pick one nomenclature and run with that for everything (including the npm packages). Constant changes to version and filename formats of bins/packages without any notice make it very difficult for downstream automation.

I agree there have been mistakes here and I'm sorry!
That second release only exists to make autoupdates work from 3.2.0 work.
Background at https://github.com/cdr/code-server/releases/tag/v3.4.0

We made some changes to make autoupdates from v3.2.0 work again.

To recap we removed autoupdating in v3.3.0 and restructured
the releases a bit which caused autoupdates on v3.2.0 to break. See  #1664
To fix this:

We added a symlink from code-server to bin/code-server to the root of the release.
We now upload duplicate release assets for the release naming scheme used by v3.2.0.

i.e we have macos-amd64 and darwin-x86_64 as well as linux-amd64 and linux-x86_64.

In the next few weeks the symlinks and the duplicate release assets will be removed so
please update your scripts to use the new release scheme.

All main releases tags will indeed be prefixed with v, we're just trying to update users on the old release structure.

Updated the release description to make this more clear.


Issue554 notices

should resolve #554 or at least make it a lot better/up to date.

Codecov Report

Merging #565 into master will decrease coverage by 29.28%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master     #565       +/-   ##
=============================================
- Coverage     83.93%   54.65%   -29.29%
+ Complexity     1539     1138      -401
=============================================
  Files           103      103
  Lines          4675     4675
  Branches        687      687
=============================================
- Hits           3924     2555     -1369
- Misses          519     1992     +1473
+ Partials        232      128      -104

Flag
Coverage Δ
Complexity Δ

#fixedclientenvironment
?
?

#integration
?
?

#unit
54.65% <ø> (+0.06%)
1138 <ø> (+1)
:arrow_up:

Impacted Files
Coverage Δ
Complexity Δ

...tors/schedulers/local/LocalInteractiveProcess.java
0% <0%> (-85.37%)
0% <0%> (-8%)

...ors/schedulers/gridengine/GridEngineScheduler.java
0% <0%> (-84.74%)
0% <0%> (-42%)

...on/adaptors/filesystems/local/LocalFileSystem.java
3.4% <0%> (-82.32%)
3% <0%> (-26%)

.../xenon/adaptors/filesystems/ftp/FtpFileSystem.java
0% <0%> (-82.04%)
0% <0%> (-44%)

...xenon/adaptors/schedulers/local/CommandRunner.java
0% <0%> (-80.86%)
0% <0%> (-12%)

...adaptors/filesystems/jclouds/JCloudsFileSytem.java
0% <0%> (-80%)
0% <0%> (-31%)

...on/adaptors/schedulers/torque/TorqueScheduler.java
0% <0%> (-76.97%)
0% <0%> (-45%)

...n/adaptors/schedulers/ssh/SshSchedulerAdaptor.java
25% <0%> (-75%)
2% <0%> (-3%)

.../adaptors/filesystems/webdav/WebdavFileSystem.java
0% <0%> (-73.18%)
0% <0%> (-24%)

...center/xenon/adaptors/filesystems/FileAdaptor.java
18.18% <0%> (-72.73%)
1% <0%> (-8%)

... and 29 more

Continue to review full report at Codecov.

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

The NOTICE of Xenon itself now contains:
Copyright [yyyy] [name of copyright owner]

This doesn't seem right ?

I assume you meant to say LICENSE (specifically, here), since the NOTICE does have the filled-in copyright message in it (here).
However, I do believe it is correct as it is now (I purposely changed it in commit bd95203383f4373d4e186a01e00145b98267e142). This is because the Appendix is just there to explain how to apply the Apache license to your code. I checked the license files for some other packages (jars), and they seem to have an unchanged license text included with the jars, e.g.

https://github.com/NLeSC/Xenon/blob/8bfc3593355f9996867b00d34c2bbf972b4abaf9/legal/LICENSE.aws-s3.txt
https://github.com/NLeSC/Xenon/blob/8bfc3593355f9996867b00d34c2bbf972b4abaf9/legal/LICENSE.cglib.txt
https://github.com/NLeSC/Xenon/blob/8bfc3593355f9996867b00d34c2bbf972b4abaf9/legal/LICENSE.commons-codec.txt
https://github.com/NLeSC/Xenon/blob/8bfc3593355f9996867b00d34c2bbf972b4abaf9/legal/LICENSE.commons-logging.txt

(Note that list contains some Apache developed packages).

You're right. Will merge.


No light in scene

Using 2.0.0 beta with blender 2.80 on windows 10 x64, there is no light in my scene. I have tried different types of lights and I've tried path tracing and SPPM.

Hi CoolOppo.
Can you show your material node setup?

everything is default. This happens to me if I just use the default scene.

Turn the light intensity up.  The defaults are too low.

The defaults are too low.

Is it something we can fix?

Turn the light intensity up. The defaults are too low.

There is still no light. I turned the default light up to 10x (the maximum) and there is nothing.

I think default material uses cycles output node.
If you use cycles material output node, everything renders black. Maybe this problem?

Can you show your material node setup?

@CoolOppo It would really help if you would show your material setup. As @leonard7e suggested, I strongly suspect that you're using a Cycles output node, and sadly these aren't compatible with appleseed.

I've checked and adding proper appleseed material and surface solves this "issue".


fix basic example run script missing ES5 target

Compiler ES5 target was missing, therefore errors occurred when trying to run the script.

Thanks, I've forgotten the *nix version.


Reload not working with unleash edge in offline mode

Describe the bug
Hi
currently I'm in preparation of creating a new Enterprise Signing with Unleash. For that I'm testing different things.
We are planning to use the Unleash Edge in offline mode for our local development. To make it easy for our developers, I'm working on some scripting.
I have downloaded the latest windows binary from your GitHub repo and started it with the following commands
unleash-edge.exe offline --reload-interval 10 -c u1234e -f uf4321e -b "C:\Dev\toggles.json"
The parameter c, f and b works as expected. Unfortunately the most important one (r or reload-interval) not. I have the following toggle defined
{
  "SR27_Pack": {
    "enabled": false
  }
}

Initially the toggle is false, which is expected. Then I've changed the value for enabled to true. But even after some minutes, the toggle is still false.
I also have tested with the environment variable RELOAD_INTERVAL. This have the same issue. Environment variable for workers works.
Where is my issue? Can you provide me feedback please or is it an issue?
BR Daniel
Steps to reproduce the bug

Start the unleash edge in offline mode (command see above)
Switch a toggle value from false to true

Expected behavior
The toggle state should be changed from false to true
Logs, error output, etc.
2024-12-05T15:57:55.393295Z  INFO actix_server::builder: starting 10 workers
2024-12-05T15:57:55.393780Z  INFO actix_server::server: Actix runtime found; starting in Actix runtime
2024-12-05T15:57:55.394068Z  INFO actix_server::server: starting service: "actix-web-service-<IP_ADDRESS>:3063", workers: 10, listening on: <IP_ADDRESS>:3063

Screenshots
No response
Additional context
What is also odd to me is, that the endpoint internal-backstage/tokens returns 500 and the message Requested application data is not configured correctly. View/enable debug logs for more details.
But no message gets logged.
Unleash version
19.6.2
Subscription type
None
Hosting type
Hosted by Unleash
SDK information (language and version)
No response

Hi @DAGRSAG . I was wrong. This seems to have been an oversight when we added support for client/frontend tokens to offline mode. We no longer have tokens to refresh. I'll release a patch later today where this should work again. I'll also see if I can't find a way to make the /tokens endpoint be useful in offline mode.
Again, thanks for reporting, and sorry for the mixup, we don't test much on Windows, so my gut reaction was that I was sure I'd seen it work on Linux so it might be a Windows issue. I'll get it working on both platforms before releasing the patch.

Hi @DAGRSAG . Thanks for reporting this. You might've run into some windows path issues; I'll see if I can't reproduce.
For the /internal-backstage/tokens endpoint. It will not work in offline mode, since there is no TokenValidator available in offline mode, that's why you're getting the 500. We just haven't seen the need for this endpoint in offline mode.

This is fine for me. Just from the documentation my expectation was that this endpoint is also available in offline mode

I'll release a patch later today where this should work again

That would really be awesome if there is a fix in place. Because for the POC to present it, it would be good to have a working environment

I'll also see if I can't find a way to make the /tokens endpoint be useful in offline mode.

As mention already. If there is one ok, but at least from my point of view, the reload stuff is the absolute important one
BR Daniel

19.6.3 released with this fix in place. Again, thanks for the good report. Enjoy your weekend

Yes can confirm, that both things now working. Thanks for the quick response and fix. Awesome. Have a nice weekend


[Bug]: Anomalib Colab Test.ipynb Notebook does not work (RUNTIME ERROR)

Describe the bug
Is this a version compatibility issue?
Anomalib Colab Test.ipynb

Dataset
MVTec
Model
PADiM
Steps to reproduce the behavior

Follow instructions from GitHub here: https://github.com/openvinotoolkit/anomalib
Run the example notebook: Anomalib Colab Test.ipynb on Google Colab
Witness and face the situation

OS information
Google Colab

Expected behavior

Follow documentation instructions
Execute steps in the documentation/Colab notebook
Not get unexpected errors

Screenshots

Pip/GitHub
GitHub
What version/branch did you use?
main
Configuration YAML
# This is the config file for the new Anomalib CLI.
# To use this, run the following command:
# anomalib fit --config ./config/model/padim.yaml
ckpt_path: null
seed_everything: null

data:
  class_path: anomalib.data.MVTec
  init_args:
    root: ./datasets/MVTec
    category: bottle
    image_size: [256, 256]
    train_batch_size: 32
    test_batch_size: 32
    num_workers: 8
    task: segmentation
    transform_config_train: null
    transform_config_val: null
    seed: 0
    create_validation_set: false

model:
  class_path: anomalib.models.Padim
  init_args:
    input_size:
      - 256 # Height
      - 256 # Width
    backbone: resnet18
    pre_trained: true
    layers:
      - layer1
      - layer2
      - layer3

post_processing:
  normalization_method: min_max # <null, min_max, cdf>
  threshold_method: adaptive # options: [adaptive, manual]
  manual_image_threshold: null
  manual_pixel_threshold: null

metrics:
  image_metrics:
    - F1Score
    - AUROC
  pixel_metrics:
    - F1Score
    - AUROC

visualization:
  show_images: False # show images on the screen
  save_images: True # save images to the file system
  log_images: False # log images to the available loggers (if any)
  mode: full # options: ["full", "simple"]

trainer:
  logger: true
  accelerator: auto # <"cpu", "gpu", "tpu", "ipu", "hpu", "auto">
  accumulate_grad_batches: 1
  amp_backend: native
  auto_lr_find: false
  auto_scale_batch_size: false
  auto_select_gpus: false
  benchmark: false
  check_val_every_n_epoch: 1 # Don't validate before extracting features.
  default_root_dir: null
  detect_anomaly: false
  deterministic: false
  devices: 1
  enable_checkpointing: true
  enable_model_summary: true
  enable_progress_bar: true
  fast_dev_run: false
  gpus: null # Set automatically
  gradient_clip_val: 0
  ipus: null
  limit_predict_batches: 1.0
  limit_test_batches: 1.0
  limit_train_batches: 1.0
  limit_val_batches: 1.0
  log_every_n_steps: 50
  max_epochs: 1
  max_steps: -1
  max_time: null
  min_epochs: null
  min_steps: null
  move_metrics_to_cpu: false
  multiple_trainloader_mode: max_size_cycle
  num_nodes: 1
  num_processes: null
  num_sanity_val_steps: 0
  overfit_batches: 0.0
  plugins: null
  precision: 32
  profiler: null
  reload_dataloaders_every_n_epochs: 0
  replace_sampler_ddp: true
  resume_from_checkpoint: null
  sync_batchnorm: false
  tpu_cores: null
  track_grad_norm: -1
  val_check_interval: 1.0 # Don't validate before extracting features.

Logs
/usr/local/lib/python3.7/dist-packages/torchmetrics/utilities/prints.py:36: UserWarning: Metric `PrecisionRecallCurve` will save all targets and predictions in buffer. For large datasets this may lead to large memory footprint.
  warnings.warn(*args, **kwargs)
/usr/local/lib/python3.7/dist-packages/anomalib/utils/callbacks/__init__.py:143: UserWarning: Export option: None not found. Defaulting to no model export
  warnings.warn(f"Export option: {config.optimization.export_mode} not found. Defaulting to no model export")
/usr/local/lib/python3.7/dist-packages/pytorch_lightning/trainer/connectors/checkpoint_connector.py:52: LightningDeprecationWarning: Setting `Trainer(resume_from_checkpoint=)` is deprecated in v1.5 and will be removed in v1.7. Please pass `Trainer.fit(ckpt_path=)` directly instead.
  "Setting `Trainer(resume_from_checkpoint=)` is deprecated in v1.5 and"
GPU available: True, used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
`Trainer(limit_train_batches=1.0)` was configured so 100% of the batches per epoch will be used..
`Trainer(limit_val_batches=1.0)` was configured so 100% of the batches will be used..
`Trainer(limit_test_batches=1.0)` was configured so 100% of the batches will be used..
`Trainer(limit_predict_batches=1.0)` was configured so 100% of the batches will be used..
`Trainer(val_check_interval=1.0)` was configured so validation will run at the end of the training epoch..
Transform configs has not been provided. Images will be normalized using ImageNet statistics.
/usr/local/lib/python3.7/dist-packages/torchmetrics/utilities/prints.py:36: UserWarning: Metric `ROC` will save all targets and predictions in buffer. For large datasets this may lead to large memory footprint.
  warnings.warn(*args, **kwargs)
LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0]
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/tensorboard/compat/__init__.py", line 42, in tf
    from tensorboard.compat import notf  # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (/usr/local/lib/python3.7/dist-packages/tensorboard/compat/__init__.py)

During handling of the above exception, another exception occurred:

RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Predicting DataLoader 0: 100% 1/1 [00:00<00:00,  2.20it/s]

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@scalers-ai Uninstalling tensorboard and tensorflow and reinstalling tensorboard on colab should work.

Thanks, will try and re-open if still an issue.
🙏


Update kind and add Kubernetes 1.19 beta 2

What this PR does / why we need it:
This adds Kubernetes 1.19 to run e2e tests against with an updated version of kind.
Release note:

NONE

/kind cleanup

/test pull-cert-manager-e2e-v1-11
/test pull-cert-manager-e2e-v1-12
/test pull-cert-manager-e2e-v1-13
/test pull-cert-manager-e2e-v1-14
/test pull-cert-manager-e2e-v1-15
/test pull-cert-manager-e2e-v1-16
/test pull-cert-manager-e2e-v1-17

/test pull-cert-manager-e2e-v1-18

/retest

/test pull-cert-manager-e2e-v1-19

/retest

/hold
let me rebase this first so all my tries are deleted

/test pull-cert-manager-e2e-v1-11
/test pull-cert-manager-e2e-v1-12
/test pull-cert-manager-e2e-v1-13
/test pull-cert-manager-e2e-v1-14
/test pull-cert-manager-e2e-v1-15
/test pull-cert-manager-e2e-v1-16
/test pull-cert-manager-e2e-v1-17

/test pull-cert-manager-e2e-v1-19

/test pull-cert-manager-e2e-v1-11
/test pull-cert-manager-e2e-v1-12
/test pull-cert-manager-e2e-v1-13
/test pull-cert-manager-e2e-v1-14
/test pull-cert-manager-e2e-v1-15
/test pull-cert-manager-e2e-v1-16
/test pull-cert-manager-e2e-v1-17

/retest

/test pull-cert-manager-e2e-v1-11
/test pull-cert-manager-e2e-v1-12
/test pull-cert-manager-e2e-v1-13
/test pull-cert-manager-e2e-v1-14
/test pull-cert-manager-e2e-v1-15
/test pull-cert-manager-e2e-v1-16
/test pull-cert-manager-e2e-v1-17
/test pull-cert-manager-e2e-v1-19

Breaking due to #3088

/test pull-cert-manager-e2e-v1-11
/test pull-cert-manager-e2e-v1-12
/test pull-cert-manager-e2e-v1-13
/test pull-cert-manager-e2e-v1-14
/test pull-cert-manager-e2e-v1-15
/test pull-cert-manager-e2e-v1-16
/test pull-cert-manager-e2e-v1-17
/test pull-cert-manager-e2e-v1-19

Should be ready for review again

/test pull-cert-manager-e2e-v1-19

Testing all just to be sure
/test pull-cert-manager-e2e-v1-11
/test pull-cert-manager-e2e-v1-12
/test pull-cert-manager-e2e-v1-13
/test pull-cert-manager-e2e-v1-14
/test pull-cert-manager-e2e-v1-15
/test pull-cert-manager-e2e-v1-16
/test pull-cert-manager-e2e-v1-17

/test pull-cert-manager-e2e-v1-17

/hold
holding for 1.11 support, @munnerz are you still going to try to get this working?

A snippet from the 1.11 e2e test failure:
[init] using Kubernetes version: v1.11.10
[preflight] running pre-flight checks
I0722 16:12:46.454373     122 checks.go:581] validating kubernetes and kubeadm version
I0722 16:12:46.454423     122 checks.go:179] validating if the firewall is enabled and active
I0722 16:12:46.463868     122 checks.go:216] validating availability of port 6443
I0722 16:12:46.464089     122 checks.go:216] validating availability of port 10251
I0722 16:12:46.464159     122 checks.go:216] validating availability of port 10252
I0722 16:12:46.464210     122 checks.go:291] validating the existence of file /etc/kubernetes/manifests/kube-apiserver.yaml
I0722 16:12:46.464276     122 checks.go:291] validating the existence of file /etc/kubernetes/manifests/kube-controller-manager.yaml
I0722 16:12:46.464314     122 checks.go:291] validating the existence of file /etc/kubernetes/manifests/kube-scheduler.yaml
I0722 16:12:46.464330     122 checks.go:291] validating the existence of file /etc/kubernetes/manifests/etcd.yaml
I0722 16:12:46.464351     122 checks.go:438] validating if the connectivity type is via proxy or direct
I0722 16:12:46.464389     122 checks.go:474] validating http connectivity to first IP address in the CIDR
I0722 16:12:46.464417     122 checks.go:474] validating http connectivity to first IP address in the CIDR
I0722 16:12:46.464440     122 checks.go:138] validating if the service is enabled and active
	[WARNING Service-Docker]: docker service is not enabled, please run 'systemctl enable docker.service'
	[WARNING Service-Docker]: docker service is not active, please run 'systemctl start docker.service'
I0722 16:12:46.475516     122 checks.go:340] validating the contents of file /proc/sys/net/bridge/bridge-nf-call-iptables
I0722 16:12:46.475577     122 checks.go:340] validating the contents of file /proc/sys/net/ipv4/ip_forward
I0722 16:12:46.475622     122 checks.go:653] validating whether swap is enabled or not
I0722 16:12:46.475694     122 checks.go:381] validating the presence of executable crictl
I0722 16:12:46.475746     122 checks.go:381] validating the presence of executable ip
I0722 16:12:46.475850     122 checks.go:381] validating the presence of executable iptables
I0722 16:12:46.475957     122 checks.go:381] validating the presence of executable mount
I0722 16:12:46.476018     122 checks.go:381] validating the presence of executable nsenter
I0722 16:12:46.476107     122 checks.go:381] validating the presence of executable ebtables
I0722 16:12:46.476178     122 checks.go:381] validating the presence of executable ethtool
I0722 16:12:46.476224     122 checks.go:381] validating the presence of executable socat
I0722 16:12:46.476294     122 checks.go:381] validating the presence of executable tc
I0722 16:12:46.476348     122 checks.go:381] validating the presence of executable touch
I0722 16:12:46.476414     122 checks.go:523] running all checks
I0722 16:12:46.477391     122 kernel_validator.go:81] Validating kernel version
I0722 16:12:46.477472     122 kernel_validator.go:96] Validating kernel config
	[WARNING SystemVerification]: failed to get docker info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
I0722 16:12:46.481777     122 checks.go:411] checking whether the given node name is reachable using net.LookupHost
[preflight] The system verification failed. Printing the output from the verification:
KERNEL_VERSION: 4.19.104+
CONFIG_NAMESPACES: enabled
CONFIG_NET_NS: enabled
CONFIG_PID_NS: enabled
CONFIG_IPC_NS: enabled
CONFIG_UTS_NS: enabled
CONFIG_CGROUPS: enabled
CONFIG_CGROUP_CPUACCT: enabled
CONFIG_CGROUP_DEVICE: enabled
CONFIG_CGROUP_FREEZER: enabled
CONFIG_CGROUP_SCHED: enabled
CONFIG_CPUSETS: enabled
CONFIG_MEMCG: enabled
CONFIG_INET: enabled
CONFIG_EXT4_FS: enabled
CONFIG_PROC_FS: enabled
CONFIG_NETFILTER_XT_TARGET_REDIRECT: enabled (as module)
CONFIG_NETFILTER_XT_MATCH_COMMENT: enabled
CONFIG_OVERLAY_FS: enabled
CONFIG_AUFS_FS: not set - Required for aufs.
CONFIG_BLK_DEV_DM: enabled
OS: Linux
CGROUPS_CPU: enabled
CGROUPS_CPUACCT: enabled
CGROUPS_CPUSET: enabled
CGROUPS_DEVICES: enabled
CGROUPS_FREEZER: enabled
CGROUPS_MEMORY: enabled
I0722 16:12:46.482040     122 checks.go:622] validating kubelet version
I0722 16:12:46.590552     122 checks.go:138] validating if the service is enabled and active
I0722 16:12:46.600587     122 checks.go:216] validating availability of port 10250
I0722 16:12:46.600675     122 checks.go:216] validating availability of port 2379
[preflight/images] Pulling images required for setting up a Kubernetes cluster
[preflight/images] This might take a minute or two, depending on the speed of your internet connection
[preflight/images] You can also perform this action in beforehand using 'kubeadm config images pull'
I0722 16:12:46.600706     122 checks.go:253] validating the existence and emptiness of directory /var/lib/etcd
`docker` is required when docker is the container runtime and the kubelet is not running: exec: "docker": executable file not found in $PATH
Exporting cluster logs to artifacts...
ERROR: unknown cluster "kind"

Looks like docker daemon didn't start inside the Kind node container.
It'd be useful to see the systemd journal logs from inside the Kind node container, but they don't seem to be among the CI artefacts.

@wallrj this is a known issue in kind 0.8 I think we should consider having a kind-legacy as kind dropped support for 1.11

Since this would be nice to have to test our releases against I added kind_legacy to run older Kubernetes versions.
I also built a new kind node image with 1.19.0-rc.4

/unhold

/test pull-cert-manager-e2e-v1-11
/test pull-cert-manager-e2e-v1-12
/test pull-cert-manager-e2e-v1-13
/test pull-cert-manager-e2e-v1-14
/test pull-cert-manager-e2e-v1-15
/test pull-cert-manager-e2e-v1-16
/test pull-cert-manager-e2e-v1-17
/test pull-cert-manager-e2e-v1-19

/lgtm


Different search results on the same position after a ucinewgame command

I've been using your engine a bunch to compare the output to what mine is doing. In testing a particular endgame position, I noticed an the search was giving the same results after a ucinewgame command.
This position: 8/4k3/B7/4K2R/8/8/8/8 w - - 0 1
Run command "ucinewgame" followed by "position fen 8/4k3/B7/4K2R/8/8/8/8 w - - 0 1" then "go depth 12". At the end of the search, depth 12 has search 333340 nodes and found a mate-in-5. Then, repeat all the previous commands (ucinewgame, position, go). The output is now different: depth 12 has only searched 235775 nodes and only found a mate-in-7.
The outputs should be the same after a ucinewgame command.

Having a different result isn't necessarily a bug, as the Zobrist hashing values can be initialized to new random number when ucinewgame is called, resulting in a different result.
However in this case it is odd as I remember I don't change the seed value for my pseduo-random number generator, so the Zobrist hash should stay the same. I'll need to look into why this is happening given that should be the case. Thanks!


revelion

@PerteGeorge this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2021-01-09T14:38:05.746861.
Estimation here is 100 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@PerteGeorge please keep in mind that manual assignment of tickets is a bad practice and it is discouraged. Next time, please let me elect the assignee.

@PerteGeorge thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


Support orderer tls

change to nephos_config.yaml:

contains new object call tls which has two attribute enable (true or false)and tls_ca : points to a  tls ca if left blank uses cryptogen.
cas:
  ca-tls:
    namespace: cas-tls
    tls_cert: ./examples/ca-tls-nephos-local.pem
ordering:
  secret_genesis: hlf--genesis
  tls:
    enable: true
    tls_ca: ca-tls

If only enable is set then nephos assumes user is using cryptogen to generate the TLS certs, if tls_ca is defined, neohos will deploy a fabric CA to act as TLS CA and will use that CA to generate all the TLS certs.
Then nephos get the tls.crt and tls.key and put them in the same secret and save it as a secret which get mounted to /var/hyperledger/tls/server/pair in orderer pod and will be used for tls communication.
Then nephos will look for every orderer which has tls enabled and get their tls_ca_root cert and save it on each peer node as a secret which will get use to verify tls cert during communication with orederer.

@nicolapaoli @alexvicegrab not perfect, didn't make any changes to unit tests. Before doing them I wanted to get your feedbacks. Also if the path I'm going is fine as the next step I can let the user define a CA for tls which will get hosted and used to generate tls certificates

@alexvicegrab thank you for the feedback. I still didn't do code cleanup. I will create a separate dev-tls example as you suggested. Is the nephos_config.yaml format for tls fine? if so i will go ahead with the suggested changes. Then I will create a new qa-tls example where we get the certificates from a separate CA

In principle, yes, I might even remove the enable: true flag, as if we populate the TLS-CA flag, we would expect to use TLS. Otherwise the direction and approach look fine to me.

And yes, good idea to create the QA TLS  (and eventually Prod TLS) example also, once the development one is reliably working. Keep up the good work :)

@alexvicegrab I updated the PR with docstrings for all methods, removed the tls_secret method and created seperate dev_tls example.
My thought behind defining tls_enable in nephos config is that a user can set only tls_enable flag true without specifying tls_ca in that case we will use the materials created by cryptogen to setup tls without using a tls_ca
ordering:
  secret_genesis: hlf--genesis
  tls:
    enable: true

Noted, in that case, this should work OK.
By the way, looking through the Nephos config, I noticed this line:
https://github.com/hyperledger-labs/nephos/blob/master/examples/dev/nephos_config.yaml#L21
I think for cryptogen examples, we should keep the ca field of MSPs empty or Null.

@alexvicegrab yah sure I will make it empty

@inzamam-iqbal
You have 3 commits incorrectly signed off.  Next run
git push --force-with-lease origin support_orderer_tls

@alexvicegrab I have the PR and the PR description. With this PR nephos supports having a seperate TLS CA. I have created a qa-tls example too.

@alexvicegrab please restart the CI.

@alexvicegrab In the existing secret_from_file we get the user input when filename is not mentioned. But that functionality is only used in composer. So I think I don't need to add that functionality to the new secret_from_files when we get rid of secret_from_file

Good question, for composer code, we could transfer the asking for input out of the function since we do it once only, or add that as an input to click instead

@alexvicegrab I have updated the PR. I have replaced the secret_from_file function.

@inzamam-iqbal, very happy to approve this PR. Good job!

Just realised, we need to bump the version of Nephos in setup.py and in docs/conf.py, since these are quite extensive changes. Otherwise all good!

Thanks @inzamam-iqbal, LGTM

Restarting CI/CD


Trigger change event on passed element

Triggering the change event each time an item is added/removed by a user would be fantastic !
It also permit to bind event listener on the passed element. So callbacks could be added dynamically.

Hey @jbanety,
There is a callback for that already! - https://github.com/jshjohnson/Choices#callbackonchange
Thanks

Yes I know, but my Choices instances are generated dynamically from CMS.
Fields are in an XML file to define the form.
I can't set callbacks in XML.
So It would be simpler to trigger change event to the passed element to handle the event in a normal way.
It would work with third party script who listen to the select event by example

Oh I see. Hmm, I'm not keen on that. I've been attempting to keep the file size of Choices as minimal as possible; adding duplicate functionality for edge-cases is going to make that difficult unfortunately!

Yes I'm preparing a PR with only 20 lines added.
You'll see.


Keys.BOOK_PAGES and PagedData giving unexpected results.

I've only tested this on API 5.1. I will test this on API 6 tomorrow, but I want to get this down now.
When using Keys.BOOK_PAGES (which is of type List<Text>) on books, both writable and written, it seems to give odd results - tabulated below. I am working with the text "test text", and the returned value will be the result of toPlain.

->
book.get(Keys.BOOK_PAGES).get() - printed on screen
book.offer(Keys.BOOK_PAGES, Lists.newArrayList(Text.of("test text"))) - checked book afterwards

Writable Book
"test text"
{"text":"test text"}

Written Book
{"text":"test text"}
"test text"

In the case of the writable book, I would expect that offering text would not set the string representation of the text. In the case of the written book, I would expect that getting text would get me the text, not the json representation.
I haven't develed too far into how this works so don't know where the issue/s lives/lie, but it's inconvenient when you're transferring text from a written book to a writable book, even if you convert the text from the json that written book gives out!
Code to test with can be found here. Hold a book, use /getfrombook and /offertobook.

I think this is a duplicate of https://github.com/SpongePowered/SpongeCommon/issues/509.

Ah, my mistake - it looks like it is. Let me comment over there.


30 interrupt endpoints on low speed devices over hubs

To test #30 and improve #25.
Implement better SSPLIT/CSPLIT masks for low-speed devices over bridges. Correctly stop the periodic or async list when removing timed-out transfers.

Hi @brtchip-gdm, It looks good to me. Thank you for your effort.


Revert partial release

Problem
Solution

Does this solution apply anywhere else?

[ ] yes
[ ] no

If yes, where?
Test Strategy

Testing done:

[ ] Unit tests
[ ] Integration tests
[ ] System tests
[ ] Manual tests

Release Plan

@arihant-confluent, can you please add description here?


Create weekly builds with python wrapping for ITK and its modules, and submit them to pypi

Description
The release schedule for ITK is good, but given the rapid pace at which ITK continues to evolve/improve, it would be helpful if the community had access to recent (weekly) builds of ITK for python on PyPi.
Expected behavior
A github "schedule" action triggers building ITK and its modules and pushing to pypi.  For more info on schedule action triggers, see
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
The weekly releases could go under the PyPi project "itk-weekly".
Actual behavior
The release of external projects that depend on recent changes to ITK are delayed until a RC is produced - and RC's are not produced on a consistent schedule, which further complicates external development, dependencies, and releases.
Additional Information
For example, see
https://pypi.org/search/?q=monai-weekly

Good idea. We can get there via the following steps:

[ ] 1. Finalize the Clang module support so wrapping with all the options enabled can occur with the GitHub Action runners: https://github.com/InsightSoftwareConsortium/ITK/issues/3093
[ ] 2. Switch the Windows and Linux builds to be driven by Clang
[ ] 3. Enable the GitHub Actions on CI and weekly to build, deploy the builds to GitHub Releases, deploy to PyPI

Thanks!
In the meantime, could we upload the python wheels as artifacts for specific workflows/triggers?
I have committed changes since 5.4 was tagged :)

Appealing, absolutely!
We need the above steps to make a specific workflow/trigger possible, too.
Its a manual process to build / upload now, outlined here.


iOS16.7 tidevice wda started failed

When will ios16.7 supported?

try this command :
cd $HOME/.tidevice/device-support &&  curl -o 16.7.zip https://tool.appetizer.io/JinjunHan/iOSDeviceSupport/raw/master/iOSDeviceSupport/16.7.zip && unzip 16.7.zip
You can use it before support. @dawusu666


feat: Sorting the list of tokens to send

Description
Change in the sorting logic for the list of tokens to send, to show first stable tokens then celo and then others tokens (all sorted by user usd balance in each "category").
Tested
Locally in an iOS emulator and unit tests
How others should test
You should see the new sorted list in the send flow.
Related issues

Fixes #2046

Screenshot

Hey @MuckT, We have verified above task on Latest Test Flight Release build V1.29.0, Android Internal Release Build V1.29.0 & updated status in test rails.
Test rail link:

Hey @MuckT, We have verified above task on Latest Android Internal Release Build V1.29.0 & updated status in test rails.

User is able to see highest balance tokens on first position firstly Stable coins, CELO & other tokens in Multitoken Popup on Enter Amount screen

Test rail link:
Android 12: https://valoraapp.testrail.io/index.php?/tests/view/20978
Devices: Google Pixel 4a (12.0)
cc: @dievazqu
Thanks..!!


Wendy/eng 2137 move qualifications details from modal to inline

Many UI improvements and bug fixes!

Qualifications have additional details inline instead of in a modal
Frames can be resized from any edge
Numerous improvements and fixes to various modals, unified buttons, scrolling sections, etc.
Enter key to confirm modal dialogs
Hover state for delete button in AttributesPanelItem
AttributesPanelItem dropdown has an icon to show it is a dropdown now
Improvements to various empty states
Copy improvements in various places

bors merge


fix: Change URL slug of blogs Onchain nfts and Dynamic nfts

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #6556
[x] Closes #6524
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Copilot Summary

🤖 Generated by Copilot at f737fd2
Renamed some blog posts to include more descriptive and relevant keywords in their titles. This improves SEO and helps readers find the content they are looking for.

🤖 Generated by Copilot at f737fd2

is_valid checks
refactored for clarity
autumn leaves falling

pay 50 usd

😍 Perfect, I’ve sent the payout
💵 $50 @ 4.93 USD/DOT ~ 10.142 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0x2a8280d69c3533a0ce30d53df2684feffd6f03dfff6ba6cc41fc8371f4123824
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Inconsistent return types for Prism.lex and Prism.lex_file depending on prism/ffi requirement

This is a question from the user's perspective. The result class of Prism.lex differs depending on whether require 'prism/ffi' is used or not.
Without prism/ffi, Prism::ParseLexResult is returned:
$ ruby -Ilib -rprism -e 'p Prism.lex("puts:hello").class'
Prism::ParseLexResult

With prism/ffi, Prism::LexResult is returned:
$ ruby -Ilib -rprism -rprism/ffi -e 'p Prism.lex("puts:hello").class'
Prism::LexResult

The same result occurs with Prism.lex_file.
Expected Behavior
I expected the return value of Prism.lex and Prism.lex_file to be consistent as either Prism::ParseLexResult or Prism::LexResult, regardless of whether require 'prism/ffi' is used.
Actual Behavior
The result class differs depending on whether require 'prism/ffi' is used. It seems that the return value should be consistent as either Prism::ParseLexResult or Prism::LexResult, but I'm not sure which one it should be.

Yeah, this is a bug. lex and lex_file should both return LexResult. Thanks for the report I'll get it fixed.

Thanks for the quick fix!


PDF Pages as Images

This is more of a feature request.
Are there plans to have like an option to have PDF.JS output pages as images instead of HTML?
Yes, this would mean search functionality and text selection are disabled.

PDF.js outputs on <canvas> elements, which is more like an image than HTML.
What is the issue that you're trying to solve by this feature request?

See http://mozilla.github.io/pdf.js/examples/ . Closing the issue because the PDF.js is doing that already.

@yurydelendik  thanks
@Rob--W yes i am aware of that. i was under the assumption that storing full blown images in a canvas is more resource expensive than an  tag.


Installation guide

How to install this plugin in Kodi ?
Please provide a guide/tutorial
Thanks

On the git page, download the code as zip then install the same in kod using this same zip file. Make sure you remove previous installation of hotstar along with it's data completely before installing this new addon.

Dosent Work


Make order of KubernetesDiscoveryClient configurable - Fixes gh-537

Can we make this pull request agains the 1.1.x branch?

@ryanjbaxter: Done...


WIP: Fix "go to implementation" for node modules

Here are failing tests for issue #37777 The issue is with "go to implementation" and "go to definition" which doesn't work for node modules without .ts files (it points to type definition in d.ts file of @types instead)
I cannot figure out how to fix them in code. Maybe someone can help?

Any updates on fixing failing tests?

@sb-bilal-dev As mentioned, I've left it for TypeScript team

btw. you can run failing test shown here by gulp runtests --tests="with type definitions of commonjs module"

Thanks for the tests @sheerun. Were you able to figure out how to make progress? Unfortunately, we can't give one-on-one help, but you can probably find some knowledgeable people at discord.gg/typescript.
If you're still stuck on this, I may close it to keep the number of open PRs down, and so that people won't be deterred from trying to fix this issue by seeing an open PR on it.

OK thank please close it

@sandersn can we have this issue fixed? Please. It is important for opensource contributors to navigate to the implementation in node-modules


Unexpected Feature Flags refresh behaviour for 6.0.1

When we upgrade AppConfiguration package from 5.1.0 to 6.0.1 for ASP.NET Core app it starts working very unexpectedly in terms of Feature Flags refresh.
With feature flags setup like this:
Feature1 (label=null): true
Feature1 (label=env1): false
In env1, once the app starts all works correctly and we get FALSE, until the first refresh happens, then the non-labeled value overrides the labeled and since then we always get TRUE.
This does not happen on 5.1.0.
Setup code:
configurationBuilder.AddAzureAppConfiguration(options =>
            {
                options.Connect(appConfigUrl);

                // Since Azure App Configuration API allows to load values filtering by 5 keys max,
                // there are a bunch of configuration providers registered, every of it loads next portion of 5 values
                foreach (var keysString in keysStrings)
                {
                    options
                        .Select(keysString)
                        .Select(keysString, label);
                }

                options
                    .ConfigureKeyVault(vaultOptions =>
                    {
                        vaultOptions.SetCredential(credentials);
                    })
                    .ConfigureRefresh(refresh =>
                    {
                        refresh
                            .Register(sentinelKey, label, true)
                            .SetCacheExpiration(TimeSpan.FromSeconds(reloadInterval));
                    })
                    .UseFeatureFlags(featureFlagsOptions =>
                    {
                        featureFlagsOptions
                            .Select(KeyFilter.Any)
                            .Select(KeyFilter.Any, label);

                        featureFlagsOptions.CacheExpirationInterval = TimeSpan.FromSeconds(reloadInterval);
                    });
            });

Also, worth mentioning that we call UseAzureAppConfiguration at the beginning of Startup.cs, so that we don't have issues like here: https://github.com/microsoft/FeatureManagement-Dotnet/issues/201 (at some point we had, but fixed by moving it to top as well).
This happens with no interaction with Feature Flags on portal, so seems like no relations to https://github.com/Azure/AppConfiguration-DotnetProvider/issues/317

Hi @danyltsiv, the bug in #317 shouldn't be exclusive to those who use the portal. From what you described, the pull request linked in that issue (#404) should resolve this issue as well. I can look more into why this happened while upgrading from 5.1.0 to see if there's anything you can do to work around this at the moment, but this should be fixed in the next major release.

@amerjusupovic Has the bug been fixed now? Is it safe to close this issue?

The team couldn't come to an agreement on the approach in the original PR I mentioned, and the newest PR to add collection monitoring for key-values here should solve this. I can probably close #404 once the new PR I mentioned gets further along.

Hello @amerjusupovic :)
Sorry to disturb you, but we still have occurrences of non-labeled feature flag overrides labeled from time to time. It happens randomly for a short period of time, then disappears.
I assume the new PR is about to fix that as well as the original?
Is it possible for the PR to be merged in the near future? Or when should we expect it? :)
Thanks!


1:n of hydrotest are not copied

Steps to reproduce the bug

Selct a well
Enter alle the attributes of a hydrotest
Go to main page
Selcte the created well
Copy the created well
Open the copied well

Expected behavior
All attributes are correctly copied
Current behavior
The 1:n relations of the hydrotest are not copied
Screenshots

geht wieder, danke!


Deploy Uncommited Change only works the first time

I've updated a few files in VSCode and they are detected as changed & not committed, however when I run the "iiq: Deploy Uncommitted Change" nothing gets deployed.

I'll take a look. Interesting, I just used it yesterday, I'll see how it can be troubleshooted


Local Government Ability to Search Sites

Create a custom search to allow local governments to more easily identify what sites were submitted by them. Include the ability to view status such as Approved - Basic, Approved - Full, Canadian Register Submission Status, date created, date last modified, legacy? etc.

@emjohnst - Would this function be accessible to all users?


Adding more feature to view multiple DataFrames

Can we update program so that I can get a textbox or a dropdown to select another dataframe to be displayed in the grid?
My main program has 3 different data frames and I would like to give user ability to select any data frame  to be visible in the dfgui.
Can you help, how I can achieve it?

Isn't it easier to just concatenate the dataframes with an added column to specify the source dataframe?

Thanks for the reply.
I have 2 different data frames to display and also 3rd dataframe based on merge of a common column. But I want user to interactively select the data frame (at any time) to view

I would like to view multiple dataframes too, or at least the same dataframe at different stages after a number of different manipulations, and with the ability to have it not freeze/pause the program when a dataframe is viewed. I understand that once the window is open the program is paused as it's running a new loop for the window, and that it won't continue the original script until the window is closed but if there's anyway around this then that would be great.
If there's away to keep the window open and continue with a script then maybe a new dfgui.show call could add a tab to the window so that we can switch between them. i.e. | Dataframe 1 | Dataframe 2 |
This example code won't show the second dataframe or show the print("pass 1") line until the first window is closed.
`import dfgui
import numpy as np
import pandas as pd
df = pd.DataFrame(np.random.randn(100, 4), columns=list('ABCD'))
dfgui.show(df)
print("pass 1")
df = pd.DataFrame(np.random.randn(100, 26), columns=list('ABCDEFGHIJKLMNOPQRSTUVWXYZ'))
dfgui.show(df)
print("pass 2")`
I have looked at tabloo but it has the same problem, the only difference is that closing the browser tab doesn't continue the original program. I did see the issue on that github page where you say press CTRL-C to close it but that doesn't work if you're running the python script in VSCode.
All that aside the dfgui is a nice little viewer and is one I'd probably use a bit.
Thanks,
Kevin


[FEATURE] delay_show para

Is it possible to provide functionality similar to dbc.Spinner parameter delay_show?
https://dash-bootstrap-components.opensource.faculty.ai/docs/components/spinner/

Hi @Liripo .
This does sound like something that would be useful to add. Would you be interested in contributing to add it? I unfortunately don't have the time, but it would be relatively straightforward to implement something similar to this to support the additional properties. Please do let me know, as I don't think I have the time at the moment to do it myself.

I will try and see. @glsdown


usage examples

I have been using storm, but this looks pretty good.
is there are example of where it has been used in a project yet ?
I am also thinking of using this with "go generate"

I haven't heard specifically anyone using it yet, other than myself, but I get a lot of questions, and have had a few PRs to fix things, so I know some people are using it.
We have issue #4 open to track generating code.


Deprecate strider.json merge_plugins option

It makes plugin configuration impossible to reason about.

See https://github.com/Strider-CD/strider/issues/789 for reference

Can I take this as my first contribution?

Sounds good to me