Youtube Extracting Features Step 5 Bazel build failed

Hi,
I'm trying to create my own dataset files for Youtube8M. So I'm using Mediapipes feature extraction method to extract both rgb and audio. But even though I install necessary libraries like OpenCV, FFmpeg, Tensorflow... I encounter an issue at step 5. My OS is Centos. I'm using a Shared Computing Cluster.  The versions of the modules I'm using are:

python3/3.6.9   2) cuda/10.0       3) opencv/4.0.1    4) ffmpeg/4.2.1    5) bazel/0.25.0    6) gcc/5.5.0

I also tried different versions of gcc. Because I was having issues with the raw version of the code. I modified a little bit. Here is the modified version of the code:
CC=which gcc CXX=which g++ bazel build -c opt   --define MEDIAPIPE_DISABLE_GPU=1 --define no_aws_support=true  mediapipe/examples/desktop/youtube8m:extract_yt8m_features
My error log is:
ERROR: /projectnb/ece601/youtube-challenge/data/yt8m/mediapipe/mediapipe/examples/desktop/youtube8m/BUILD:17:1: Linking of rule '//mediapipe/examples/desktop/youtube8m:extract_yt8m_features' failed (Exit 1) gcc failed: error executing command /share/pkg.7/gcc/5.5.0/install/bin/gcc -o bazel-out/k8-opt/bin/mediapipe/examples/desktop/youtube8m/extract_yt8m_features ... (remaining 15 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
bazel-out/k8-opt/bin/mediapipe/calculators/tensorflow/_objs/pack_media_sequence_calculator/pack_media_sequence_calculator.o:pack_media_sequence_calculator.cc:function mediapipe::PackMediaSequenceCalculator::Process(mediapipe::CalculatorContext*): error: undefined reference to 'cv::imencode(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, cv::_InputArray const&, std::vector<unsigned char, std::allocator >&, std::vector<int, std::allocator > const&)'
bazel-out/k8-opt/bin/mediapipe/util/sequence/_objs/media_sequence/media_sequence.o:media_sequence.cc:function mediapipe::mediasequence::(anonymous namespace)::ReconcileMetadataImages(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, tensorflow::SequenceExample*) [clone .constprop.286]: error: undefined reference to 'cv::error(int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, char const*, char const*, int)'
bazel-out/k8-opt/bin/mediapipe/calculators/video/_objs/opencv_video_decoder_calculator/opencv_video_decoder_calculator.o:opencv_video_decoder_calculator.cc:function mediapipe::OpenCvVideoDecoderCalculator::Open(mediapipe::CalculatorContext*): error: undefined reference to 'cv::VideoCapture::VideoCapture(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int)'
collect2: error: ld returned 1 exit status
Target //mediapipe/examples/desktop/youtube8m:extract_yt8m_features failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 998.778s, Critical Path: 392.56s
INFO: 2626 processes: 1 local, 2625 processwrapper-sandbox.
FAILED: Build did NOT complete successfully
Thank you.

The error is

The error is undefined reference to 'cv::VideoCapture::VideoCapture', which means MediaPipe can't find your OpenCV libraries. This is a similar issue for your reference. Please find your OpenCV's header files and libraries, and then follow the option 2 of the step 3 in the instruction  to modify WORKSPACE and opencv_linux.BUILD.

I actually modified the files before I post the error. I modified WORKSPACE, opencv_linux.BUILD and ffmpeg_linux.BUILD. Before I modified those files, the build wasn't running at all. It was giving an error instantly. Are there other lines that I need to modify other than specified ones? So I modified those files as the WORKSPACE:
new_local_repository(
name = "linux_opencv",
build_file = "@//third_party:opencv_linux.BUILD",
path = "/share/pkg.7/opencv/4.0.1/install"
)
new_local_repository(
name = "linux_ffmpeg",
build_file = "@//third_party:ffmpeg_linux.BUILD",
path = "/share/pkg.7/ffmpeg/4.2.1/install"
)
///////////////////////////////////////////////////////////////////////////////////////////////
And the opencv_linux.BUILD:
Description:
OpenCV libraries for video/image processing on Linux
licenses(["notice"])  # BSD license
exports_files(["LICENSE"])
The following build rule assumes that OpenCV is installed by
'apt-get install libopencv-core-dev libopencv-highgui-dev '
'                libopencv-imgproc-dev libopencv-video-dev' on Debian/Ubuntu.
If you install OpenCV separately, please modify the build rule accordingly.
cc_library(
name = "opencv",
srcs = glob(
[
"lib64/libopencv_core.so",
"lib64/libopencv_calib3d.so",
"lib64/libopencv_features2d.so",
"lib64/libopencv_highgui.so",
"lib64/libopencv_imgcodecs.so",
"lib64/libopencv_imgproc.so",
"lib64/libopencv_video.so",
"lib64/libopencv_videoio.so",
],
),
hdrs = glob(["include/opencv4/opencv2/**/.h"]),
includes = ["include/opencv4"],
linkstatic = 1,
visibility = ["//visibility:public"],
)
Thanks

Can you change the hdrs field of the opencv cc_library to be hdrs = glob(["include/opencv4/**/*.h*"]), or hdrs = glob(["include/opencv4/opencv2/**/*.h*"]),?
I guess the regex of the current hdrs field probably don't match anything.

It didn't change anything. Still having the same error.

Can you verify that the header files are in /share/pkg.7/opencv/4.0.1/install/include/opencv4/opencv2 and the libraries are in /share/pkg.7/opencv/4.0.1/install/lib64/?

I checked both of them. It looks like they have the files.

OK, let try the following
cc_library(
    name = "opencv",
    srcs = glob([
        "lib64/libopencv_core.so",
        "lib64/libopencv_calib3d.so",
        "lib64/libopencv_features2d.so",
        "lib64/libopencv_highgui.so",
        "lib64/libopencv_imgcodecs.so",
        "lib64/libopencv_imgproc.so",
        "lib64/libopencv_video.so",
        "lib64/libopencv_videoio.so",]),
    hdrs = glob(["include/opencv4/**/*.h*"]),
    includes = ["include/opencv4/"],
    linkstatic = 1,
    visibility = ["//visibility:public"],
)

We had a similar setting for macos in v0.5 with opencv 4.0.1.

I just cleaned the cache and tried again with the calculator test. Still the same result. Am I missing something on the WORKSPACE? It goes until the very end, then produce the result.

I started a fresh CentOS instance on google cloud and installed OpenCV 3.3 by following this instruction.
OpenCV3 is installed in /usr/local.
[jqtang@centos ~]$ ls /usr/local/include/opencv2
calib3d      dnn.hpp         highgui.hpp    ml.hpp              photo.hpp      superres.hpp  videostab.hpp
calib3d.hpp  features2d      imgcodecs      objdetect           shape          video
core         features2d.hpp  imgcodecs.hpp  objdetect.hpp       shape.hpp      video.hpp
core.hpp     flann           imgproc        opencv.hpp          stitching      videoio
cvconfig.h   flann.hpp       imgproc.hpp    opencv_modules.hpp  stitching.hpp  videoio.hpp
dnn          highgui         ml             photo               superres       videostab

[jqtang@centos ~]$  ls /usr/local/lib/
libopencv_calib3d.so           libopencv_imgcodecs.so        libopencv_stitching.so
libopencv_calib3d.so.3.3       libopencv_imgcodecs.so.3.3    libopencv_stitching.so.3.3
libopencv_calib3d.so.3.3.0     libopencv_imgcodecs.so.3.3.0  libopencv_stitching.so.3.3.0
libopencv_core.so              libopencv_imgproc.so          libopencv_superres.so
libopencv_core.so.3.3          libopencv_imgproc.so.3.3      libopencv_superres.so.3.3
libopencv_core.so.3.3.0        libopencv_imgproc.so.3.3.0    libopencv_superres.so.3.3.0
libopencv_dnn.so               libopencv_ml.so               libopencv_videoio.so
libopencv_dnn.so.3.3           libopencv_ml.so.3.3           libopencv_videoio.so.3.3
libopencv_dnn.so.3.3.0         libopencv_ml.so.3.3.0         libopencv_videoio.so.3.3.0
libopencv_features2d.so        libopencv_objdetect.so        libopencv_video.so
libopencv_features2d.so.3.3    libopencv_objdetect.so.3.3    libopencv_video.so.3.3
libopencv_features2d.so.3.3.0  libopencv_objdetect.so.3.3.0  libopencv_video.so.3.3.0
libopencv_flann.so             libopencv_photo.so            libopencv_videostab.so
libopencv_flann.so.3.3         libopencv_photo.so.3.3        libopencv_videostab.so.3.3
libopencv_flann.so.3.3.0       libopencv_photo.so.3.3.0      libopencv_videostab.so.3.3.0
libopencv_highgui.so           libopencv_shape.so            pkgconfig
libopencv_highgui.so.3.3       libopencv_shape.so.3.3        python2.7
libopencv_highgui.so.3.3.0     libopencv_shape.so.3.3.0

And then I edited the WORKSPACE file and opencv_linux.BUILD like the following:
diff --git a/WORKSPACE b/WORKSPACE
index c09ca03..80d2e3d 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -129,7 +129,7 @@ tf_workspace(tf_repo_name = "org_tensorflow")
 new_local_repository(
     name = "linux_opencv",
     build_file = "@//third_party:opencv_linux.BUILD",
-    path = "/usr",
+    path = "/usr/local",
 )

diff --git a/third_party/opencv_linux.BUILD b/third_party/opencv_linux.BUILD
index ef2aeb4..a4f8726 100644
--- a/third_party/opencv_linux.BUILD
+++ b/third_party/opencv_linux.BUILD
@@ -13,14 +13,14 @@ cc_library(
     name = "opencv",
     srcs = glob(
         [
-            "lib/x86_64-linux-gnu/libopencv_core.so",
-            "lib/x86_64-linux-gnu/libopencv_calib3d.so",
-            "lib/x86_64-linux-gnu/libopencv_features2d.so",
-            "lib/x86_64-linux-gnu/libopencv_highgui.so",
-            "lib/x86_64-linux-gnu/libopencv_imgcodecs.so",
-            "lib/x86_64-linux-gnu/libopencv_imgproc.so",
-            "lib/x86_64-linux-gnu/libopencv_video.so",
-            "lib/x86_64-linux-gnu/libopencv_videoio.so",
+            "lib/libopencv_core.so*",
+            "lib/libopencv_calib3d.so*",
+            "lib/libopencv_features2d.so*",
+            "lib/libopencv_highgui.so*",
+            "lib/libopencv_imgcodecs.so*",
+            "lib/libopencv_imgproc.so*",
+            "lib/libopencv_video.so*",
+            "lib/libopencv_videoio.so*",
         ],
     ),
     hdrs = glob(["include/opencv2/**/*.h*"]),

Finally, I can run our image_frame_opencv_test, which means OpenCV is working with MediaPipe.
[jqtang@centos mediapipe]$ bazel run -c opt --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/framewor
k/formats:image_frame_opencv_test
INFO: Analyzed target //mediapipe/framework/formats:image_frame_opencv_test (0 packages loaded,
 2 targets configured).
INFO: Found 1 target...
Target //mediapipe/framework/formats:image_frame_opencv_test up-to-date:
  bazel-bin/mediapipe/framework/formats/image_frame_opencv_test
INFO: Elapsed time: 1.998s, Critical Path: 1.85s
INFO: 2 processes: 2 processwrapper-sandbox.
INFO: Build completed successfully, 6 total actions
INFO: Running command line: external/bazel_tools/tools/test/test-setup.sh mediapipe/framework/f
INFO: Build completed successfully, 6 total actions
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //mediapipe/framework/formats:image_frame_opencv_test
-----------------------------------------------------------------------------
Running main() from external/com_google_googletest/googlemock/src/gmock_main.cc
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from ImageFrameOpencvTest
[ RUN      ] ImageFrameOpencvTest.ConvertToMat
[       OK ] ImageFrameOpencvTest.ConvertToMat (1 ms)
[ RUN      ] ImageFrameOpencvTest.ImageFormats
[       OK ] ImageFrameOpencvTest.ImageFormats (0 ms)
[----------] 2 tests from ImageFrameOpencvTest (1 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (1 ms total)
[  PASSED  ] 2 tests

We are closing this issue for now due to lack of activity.


Sample: Working with vector DBs

What is this meant to be addressing or what scope is in play here?

Placeholder item while doing some backlog planning - for us to work on a sample that better shows how to work with vector stores like Milvus, and Qdrant. I need to de-duplicate it with some other items in the issues list, though.


Max message size rejects messages and closes connection

In OBSCommunicator.java the maxTextMessageSize is set to 64 kB. When OBS has too much scenes/sources that a call for GetSceneList returns a message with a size greater than 64 kB. This lets the websocket client collapse: connection is lost (without an error) and my application tries to reconnect, which will result in a circular loop. Increasing maxTextMessageSize will prevent this problem.
My question is: is this possible? I don't know the reason why 64 kB was chosen in the first place. Can this be raised, to lets say 200 kB (to be save)? Or maybe this can be made configurable by the client using this client?
For your reference, according to my calculations too much scenes/sources are something like: 34 scenes with each 4 sources, or 17 scenes with each 8 sources, ...

We have discussed this today, and came to the conclusion that setting a maximum is not required. We have no idea why we did this when we implemented it.
We have removed it, and plan it to release it along the next release we do. https://github.com/Twasi/websocket-obs-java/commit/c62490999b9b1ffe6f906deab14d6b83a8ea68b7

Thank you for your reply. By removing it, do you know what will be the default max size?

When removing the limit, there is no limit set. Web socket supports multi-frame transmission, which means that packages / messages can theoretically be as big as they like without any limitations. However, when the messages get very big, you may see the performance degrade, especially trough our parsing process. However, this should not be any problem when only talking about some kB...

Thank you for the explanation. It's strange that the default WebSocket behavior is to close the connection when a message to big arrives, instead of just throwing an error.
Thanks for the fix!


[FR] Warn when metadata field is defined as dynamic, but not marked in project.dynamic

What's the problem this feature will solve?
A miss-specified pyproject.toml file that leaves out a dynamic field from the [project.dynamic] list, but still specifies that metadata field in [tool.setuptools.dynamic] will not warn the user of the missing field.
Take the following pyproject.toml file:
[project]
name = "package"
dynamic = ['version']  # "dependencies" accidentally omitted

[tool.setuptools.dynamic]
version = {file = "VERSION"}
dependencies = {file = ["requirements.txt"]}

The user has forgotten to put "dependencies" in the project.dynamic list. But when running any setuptools building or installation commands (pip install, python -m build, python setup.py sdist), there is no indication that something is wrong until the user is unable to run their code due to missing dependencies.
Describe the solution you'd like
If a field is defined in [tool.setuptools.dynamic], but it is missing from the list in [project.dynamic], warn the user when attempting to build or install the package (from the local file structure, it will be mostly unhelpful when installing from pypi).
A similar thing is done elsewhere: When a field is defined in the setup.py file and not noted as dynamic in the pyproject.toml, a _MissingDynamic warning is sent to the console when attempting to build the package (though not when attempting to install it).
Alternative Solutions
An error/failure to build the package could also be acceptable, especially since a mistake like this might not get noticed if development is taking place in a local environment that already has the necessary dependencies installed.
Additional context
I am aware of #4183, however I don't believe that we are requesting the same thing. What this is requesting is a warning for projects that use pyproject.toml exclusively, and a mistake has simply been made when writing the file.
Code of Conduct

[X] I agree to follow the PSF Code of Conduct

If a field is defined in [tool.setuptools.dynamic], but it is missing from the list in [project.dynamic], warn the user when attempting to build or install the package (from the local file structure, it will be mostly unhelpful when installing from pypi).

I think this should be doable. Would you like to provide a PR? The relevant code resides in https://github.com/pypa/setuptools/blob/main/setuptools/config/_apply_pyprojecttoml.py (if not, then https://github.com/pypa/setuptools/blob/main/setuptools/config/pyprojecttoml.py).


Gym Archive Fails -- Can't find provisioning profile downloaded by match

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
When gym runs I get this error:

And in the logs I get this:
No profile matching 'match AppStore xxx' found:  Xcode couldn't find a profile matching 'match AppStore xxx'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the General tab of the target editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.2'

Although I can clearly see the profiles installed through xcode. I've also walked through the code signing xcode guide to make sure that I explicitly set the profiles I want to use versus letting xcode manage automatically.
The only thing running in my fastfile:
lane :beta do
    match(type: "appstore", git_url: "xxx")
    gym(scheme: "xxx", project: "./ios/xxx.xcodeproj")
    pilot
end

Environment
✅ fastlane environment ✅
Stack

Key
Value

OS
10.11.6

Ruby
2.2.3

Bundler?
true

Git
git version 2.10.1 (Apple Git-78)

Installation Source
~/.rbenv/versions/2.2.3/bin/fastlane

Host
Mac OS X 10.11.6 (15G1217)

Ruby Lib Dir
~/.rbenv/versions/2.2.3/lib

OpenSSL Version
OpenSSL 1.0.2k  26 Jan 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.23.0"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    match(type: "appstore", git_url: "xxx")
    gym(scheme: "xxx", project: "xxx")
    pilot
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym(scheme: "xxx") # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    #
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
app_identifier "xxx" # The bundle identifier of your app
apple_id "xxx" # Your Apple email address

team_id "xxx"  # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.23.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

bundler
1.14.6

CFPropertyList
2.3.5

i18n
0.8.1

minitest
5.10.1

thread_safe
0.3.6

tzinfo
1.2.2

activesupport
4.2.8

public_suffix
2.0.5

addressable
2.5.0

babosa
1.0.2

claide
1.0.1

colored
1.2

highline
1.7.8

commander-fastlane
4.4.4

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170223

dotenv
2.2.0

excon
0.55.0

multipart-post
2.0.0

faraday
0.11.0

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
<IP_ADDRESS>

fastimage
2.1.0

gh_inspector
1.0.3

jwt
1.5.6

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.0

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

hurley
0.2

mime-types-data
3.2016.0521

mime-types
3.1

uber
0.0.15

representable
2.3.0

retriable
2.1.0

google-api-client
0.9.28

json
2.0.3

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.2.0

rubyzip
1.2.1

security
0.1.3

slack-notifier
1.5.1

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

tty-screen
0.5.0

word_wrap
1.0.0

nanaimo
0.2.3

xcodeproj
1.4.2

rouge
1.11.1

xcpretty
0.2.4

xcpretty-travis-formatter
0.0.4

generated on: 2017-03-24

I've used the troubleshooting guide to no avail. Anyone have any guesses at what I might be doing wrong?

@IndianAg0711
One simple check to go through - does it work when you run Archive action in Xcode?
Or directly run xcodebuild command?
As a matter of fact, you can look through the fastlane logs and see the actual shell script it runs.
It usually looks like set -o pipefail && xcodebuild ...
This is the command you can try to run directly your self, you can even throw away some custom parts of it, but you will be able to reproduce the issue in the end.
When it comes to building a project with gym it will end up as xcodebuild command all the same.
If that command fails as part of fastlane, it fails directly as well.

@mgrebenets
Thanks for the help! When I tried to archive the app in xcode initially I got back an error because the required app icon I was using was the wrong pixel size. Fixing this allowed me to manually archive in xcode, but for some reason I still get the original error when I try deploying via the fastlane cli. The end goal is to get bitrise doing this automatically, so I might just try pushing over there and seeing if it has better luck than my local machine.

misclick^


[Maybe WinUI related] Allow text wrap for buttons to display correctly in all localizations

Description of the new feature / enhancement
It seems to me that globally allowing text wrap is much better than trying to force all localizations to compress buttons text in one line.
Scenario when this would be used?
This and other my reviews are about the fact that strings in sidebar buttons (in RU localization) breaks in middle of a phrase due to tab width restrictions, which could be solved by text wrap to two lines.
Comparison with PowerToys Tour full text buttons in RU-RU localization:

Supporting information
This also happens with other apps on WinUI:
Clock:

Settings:

I'm not 100% sure that this is a limitation of WinUI itself (and not some of PowerToys build settings), so I report it also in this bug tracker.

cc: @niels9001

I'd file this against the WinUI repo.
Textwrapping by default would be nice to have. Although I can imagine it might not look great to have two lines of text for every NavigationViewItem.
We adhere to the same W11 Settings / Alarms sidebar width. We can see if it makes sense to adjust it for this reason.

I'd file this against the WinUI repo.

Can you help me with this? I have previously left reviews in the Feedback Hub, but they were ignored, perhaps because of the language barrier or other reasons.

Reddit thread: https://reddit.com/r/Windows11/comments/p8f5yh/
Feedback Hub Reviews:
1.1) [Clock] app layout issue: https://aka.ms/AAdkoxi
1.2) [Feedback Hub] app layout issue: https://aka.ms/AAdkou2

[‘Share’ dialog] text overlapping issue: https://aka.ms/AAdkh85

[Snipping Tool] top bar overlapping issue: https://aka.ms/AAdkh8b

4.1) [Clock] sidebar button text issue: https://aka.ms/AAdjzo4
4.2) [Settings] sidebar button text issue: https://aka.ms/AAdg977 by Berezov R. (incorrect ‘Changes made’ status)

I bet WinUI can resize based on content too, or not?

I bet WinUI can resize based on content too, or not?

I believe there's a max-width, which makes sense.


chore(github): Update PULL_REQUEST_TEMPLATE

Please verify the following:

[ ] yarn test jest tests pass with new tests, if relevant
[ ] README.md has been updated with your changes, if relevant

Describe your PR
Adds linter and prettier format checks to the list of tasks the user should do.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Bdd integration tests for aca-py

Still a work in progress but opening up a PR for visibility.
In the demo folder, run ./run_bdd to run the behave tests.
Currently there is a single test (demo/features/0160-connection.feature that runs for several agent scenarios (mediator, multitenant, etc.).
There is a new "runner" (demo/runners/agent_container.py) that consolidates some of the alice and faber code (the intent is to eventually re-factor alice and faber to use this same code).
@swcurran @nodlesh @TimoGlastra @andrewwhitehead

Codecov Report

Merging #971 (91348b2) into main (982a260) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #971   +/-   ##
=======================================
  Coverage   98.93%   98.93%
=======================================
  Files         325      325
  Lines       18785    18785
=======================================
  Hits        18585    18585
  Misses        200      200


zoomToElements ignores 2d for 3d view and vice-versa

See NextVersion.md for details.
Also, previous implementation used isPlacement2dProps. It checks if props.angle is defined, and while the Placement2dProps interface suggests that property is required, it is often null in the database and defaults to zero.

@mergifyio backport release/2.19.x


Abolish symlinks for fonts

The MetaWatch fonts are referred to in several projects via symlinks, but this has caused problems for many people who are trying to get started with Cicada.  We should use a more robust method, probably just copying the directory.

Fixed by the following commit:
https://github.com/cicada-dev/cicada/commit/699fc834ae4f7eea318e943fcae4dc67942e8aa7


Program Stalls at "check LLM API" Step When Executing runEoH.py

Hello,
Thank you for developing this project; it has been very helpful for my research. Recently, I encountered some issues while trying to use the project, and I hope to get your help.
Issue Description:
When running the runEoH.py script, the program seems unable to proceed past the LLM API check phase. Although I have confirmed that my API key is valid, the program still stalls at the "check LLM API" step.
My Script:
from eoh import eoh
from eoh.utils.getParas import Paras

# Parameter initialization #
paras = Paras()

# Set parameters #
paras.set_paras(method = "eoh",    # ['ael','eoh']
                problem = "tsp_construct", #['tsp_construct','bp_online']
                llm_api_endpoint = "api.deepseek.com", # set your LLM endpoint
                llm_api_key = "sk-291d3d088eac47398cfa901ad0affd07",   # set your key
                llm_model = "deepseek-chat",
                ec_pop_size = 4, # number of samples in each population
                ec_n_pop = 4,  # number of populations
                exp_n_proc = 4,  # multi-core parallel
                exp_debug_mode = False)

# initialization
evolution = eoh.EVOL(paras)

# run
evolution.run()

Error Log:
---              Start EoH            ---
-----------------------------------------
- output folder created -
- parameters loaded -
- Prob tsp_construct loaded
- EoH parameters loaded -
- Evolution Start -
- check LLM API

I hope you can provide some guidance or suggestions for fixing this issue. Thank you!

Thank you for your interest in our project. I have used the same script as yours (with your API key), the program runs smoothly. After checking LLM API the initial population will be created (task no more than two minutes). The following is my terminal output.
-----------------------------------------
---              Start EoH            ---
-----------------------------------------
- output folder created -
-  parameters loaded -
- Prob tsp_construct loaded
- EoH parameters loaded -
- Evolution Start -
- check LLM API
creating initial population:
Parallel time out .
Pop initial:
 Obj:  22.7071| Obj:  25.49352| Obj:  28.54028|
initial population has been created!
 OP: e1, [1 / 4] | ......

Could it be a network problem?

The function of "Check LLM API" is to send a simple request, prompting "1+1=?" to check whether LLM responds correctly before the evolution starts. The majority of errors in this stage are caused by the wrong endpoint, key, or llm settings. Only very very occasionally would be the failure of the remote LLM server (depending on API).
I suggest trying to get a response from the same deepseek API using the official script example. So that we may know whether it is a network problem or a program bug somewhere.

Hello @FeiLiu36  ,
Thank you so much for your prompt and detailed response. Following your advice, I used a VPN to test the connection and I'm pleased to report that the program is now running smoothly. It was indeed a network issue that prevented the LLM API check from completing successfully.
Thanks again for your help and for maintaining such a useful project!

Glad the problem is solved!  By the way, I recommend you get a different key as others may use the key in your reported script.

Hello @FeiLiu36 ,
Thank you for your additional advice regarding the API key. I have edited my previous messages to hide the key information.
Appreciate your helpfulness and attention to detail!


What would a centered repulsive model look like

Right now we have an implementation of a centered attractive model, but what would a centered, repulsive potts model look like?

It would look like what I implemented!


[JS] this implicitly has type any when used in parameter's default value

Bug Report

🔎 Search Terms

js, this, parameter, default value
🕗 Version & Regression Information

This changed between versions 3.9.7 and 4.0.5
⏯ Playground Link

Playground link with relevant code
💻 Code

class A {
  a = '2';
}

/**
 * @this {A}
 * @param {string} [a]
 * @returns {void}
 */
function set(a = this.a) {
  console.log(this, a);
}

set.call(new A(), 'hi');
set.call(new A());

🙁 Actual behavior

TS gives the following error on this of the line function set(a = this.a) {:

'this' implicitly has type 'any' because it does not have a type annotation.(2683)

🙂 Expected behavior

No errors as the type of this should be A.
Note
This doesn't happen when using TS as in the following code
class A {
  a = '2';
}

function set(this: A, a: string = this.a) {
  console.log(this, a);
}

set.call(new A(), 'hi');
set.call(new A());

Playground link with relevant code

TS and JS have different rules; identical behavior between the two is not a design goal. You need to use a this: A parameter annotation in TS.

I apologies I'm not quite sure I understand what you mean. I'm not using TS but JS with TS type annotations in JS doc.
And I'm not sure when the current behavior makes sense.

@RyanCavanaugh Can you please clarify how this is "Not a Defect"?
This problem arises when using JS doc with TS type annotations in JS code, not TS code, so your suggest can't be used.


Release

Releases new providers and monorepo structure to production.

Codecov Report
Patch coverage has no change and project coverage change: -0.49 :warning:

Comparison is base (a2f9845) 55.15% compared to head (2d1d507) 54.66%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #398      +/-   ##
==========================================
- Coverage   55.15%   54.66%   -0.49%
==========================================
  Files          24       24
  Lines        1688     1586     -102
==========================================
- Hits          931      867      -64
+ Misses        690      653      -37
+ Partials       67       66       -1

Flag
Coverage Δ

unittests
54.66% <0.00%> (-0.49%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

core/pkg/adapters/grpc/faas_grpc.go
0.00% <0.00%> (ø)

core/pkg/membrane/membrane.go
63.94% <ø> (ø)

core/pkg/worker/adapter/grpc_adapter.go
75.30% <ø> (ø)

core/pkg/worker/faas_worker.go
0.00% <ø> (ø)

core/pkg/worker/http_worker.go
0.00% <ø> (ø)

core/pkg/worker/instrumented_worker.go
0.00% <ø> (ø)

core/pkg/worker/pool/instrumented_pool.go
0.00% <ø> (ø)

core/pkg/worker/pool/pool.go
61.37% <ø> (ø)

core/pkg/worker/route_worker.go
70.00% <ø> (ø)

core/pkg/worker/schedule_worker.go
0.00% <ø> (ø)

... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


partition_info contains incorrect information with distributed scheduler

Run on dask+distributed main
# Correct behavior w/ local scheduler
ddf = dd.from_pandas(pd.DataFrame({"a": range(12)}), npartitions=2)
print(ddf.map_partitions(lambda x, partition_info=None: partition_info).compute(scheduler="threads"))

0    {'number': 0, 'division': 0}
1    {'number': 1, 'division': 6}
dtype: object

# Incorrect behavior w/ distributed
import distributed; client = distributed.Client()
ddf = dd.from_pandas(pd.DataFrame({"a": range(12)}), npartitions=2)
print(ddf.map_partitions(lambda x, partition_info=None: partition_info).compute())
0    {'number': 0, 'division': 0}
1    {'number': 0, 'division': 0}
dtype: object

I also checked and test_map_partitions_partition_info from #6776 fails when using the distributed scheduler.
Dug around a little bit but nothing obviously wrong jumped out at me. cc @jsignell @jrbourbeau @kumarprabhu1988 from that PR.

Thanks @jsignell, that does seem right based on the graph objects I was seeing in a debugger. One more piece of info, I did a git bisect and I believe this was introduced in https://github.com/dask/distributed/pull/4489; @madsbk does this issue / @jsignell's diagnosis make sense to you? Any way we can work around it?

I don't know why this worked before  dask/distributed#4489 but https://github.com/dask/dask/pull/7524 should fix it :)


Audience as array

Allow the audience to be set as an array

Coverage decreased (-0.02%) to 91.365% when pulling cd05953ac6927dc6f1322f63528c5e1a0a947187 on AudienceAsArray into b9a02036fb22ab75114cab6f0dfc904897754c2a on master.

Coverage decreased (-0.02%) to 91.365% when pulling cd05953ac6927dc6f1322f63528c5e1a0a947187 on AudienceAsArray into b9a02036fb22ab75114cab6f0dfc904897754c2a on master.


Enable Relate Interface of Shape Doc Values to be used by clients of Lucene

Description
With the release of ShapeDocValues and ShapeDoc Values field(LUCENE-10654), it provides various interfaces to create the query and create the different ShapeDoc values. But it doesn't provide the interface to find the relation between a Shape(provided as ShapeDocValues) with another shape. This functionality is already present in the ShapeDocValues, but not exposed to the clients, as the ShapeDocValue class itself is marked as package-private.
Expectation:
The expectation is to provide this relate functionality to the clients, so that it can be used to find the relations.

Resolving the issue as the code is merged.


chore(Turborepo): Consolidate Subscriber::watch and setup task

Description

Remove the async task in Subscriber::new, move functionality to an init_watch function
Cleanup based on no longer needing the one-off async task, including removing unnecessary Arcs

Testing Instructions
Existing test suite updated with new arguments
Closes TURBO-2626

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

#7714  👈
#7703
#7700
main

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

Join @gsoltis and the rest of your teammates on  Graphite


Implement preserve committed

Fixes #32

Something in the MAC CI seems broken. I hope this fixes itself and will merge despite this test failure.


Disabling telemetry on the lab docker image

Hello,
I am seeing google telemetry in the frontend, when running it through the lab docker image.
Is there a easy way to disable that telemetry?
For the memgraph mage docker image, there is the command to disable it with --telemetry-enabled=false
https://region1.analytics.google.com/

Hi @Zzz-ams, you can find this in the Memgraph Lab settings (starting with v2.18). It will be saved in the browser storage for future usage (same host:port).

I hope that helps :D

Hey, thanks.
Is there a way to do that through environment variables of the docker image, or a configuration change in the docker image?
Also I am still seeing analytics calls in the network after those have been unchecked. Is that a bug?
(With the following image:  docker.io/memgraph/lab                                     latest                    5a0ee2b799a8  12 days ago)

Hmm, I am curious if it is a cache thing or not. Can you try with hard refresh or see how it works in incognito mode (fresh mode - you will need to untick the boxes in the settings again because of the fresh state)?
Re: env variable setup - this is a good suggestion! We will add it to our backlog!

Hmm. Might have been a cache thing.
Thanks.

Also a hacky solution can be removing the address of the analytics.
FROM docker.io/memgraph/lab:latest

RUN sed -i -e "s@https://cdn.segment.com/analytics.js/v1/@/@" /home/lab/dist-backend/index.js
EXPOSE 3000
CMD ["node", "dist-backend/index.js"]


Team Finalizing

Teams should be allowed to edit member and team information, until their team is finalized. The team captain should be able to decide when to finalize the team, and once finalized, their team cannot be changed anymore.
Problems may not be viewed/solved until teams have been finalized.

Resolved in 89601bd227359df5c0c9a690b106adcd38b2871f


Dmpc linear dynamics

updated LTI system

I just found another big problem, remember that you have set properties A, B, C, and D in base class, so you shouldn't use self._A in the subclass, you should only use 'self.A' in a subclass. Moreover, becasue you also need to set the value for those properties, so you need to define property setter. You may follow this.

I just found another big problem, remember that you have set properties A, B, C, and D in base class, so you shouldn't use self._A in the subclass, you should only use 'self.A' in a subclass. Moreover, becasue you also need to set the value for those properties, so you need to define property setter. You may follow this.

Thanks for your feedback. I have a question with the branch. Since you have merged the main branch into this pr, what should I do after I have modified the original and the test file? Should I still push to my own branch and re-request review？

Yes, you still push to this branch and we will merge this pr into the main branch finally after you make all changes and re-request a review.


Dropdown won't pop on the bottom of the container

Currently facing this issue with the picker, I'm trying to simply put the modal in the bottom of the container, but it keeps popping in this random location.

This happens because the dropdown modal tries to not open the model below the viewport. When it tries calculating the position of the dropdown it's too bottom to show the model, hence this behavior.
Currently, I don't have any fix for this maybe you can make the dropdown floating, but that still opens the dropdown separate but at least opens at the proper location (at the top).


How to loop over JSON output of docker/metadata-action to push each tag?

I am using composite action with docker/build-push-action@v3 and docker/metadata-action@v4.
How should I loop over the JSON output to get each tag in tags array?
Here is the output
JSON output
  {
    "tags": [
      "azurecr.io/internal/dx-integration-bootstrap:feature-docker-action-bootstrap",
      "azurecr.io/internal/dx-integration-bootstrap:sha-e3416c8"
    ],

I tried to do something like the below but it did not work, cause the tag returns Array. How should I achieve this?
- name: Push Image
  if: ${{ inputs.registry }}
  run: |
    for tag in ${{ fromJSON(steps.meta.outputs.json).tags }}; do
      echo $tag
      docker buildx imagetools create --tag $tag
    done
  shell: bash

Result ->
Run for tag in Array; do
  for tag in Array; do
    echo $tag
  done
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
Array

You can do smth like:
      -
        name: Iterate tags
        run: |
          for tag in $(jq -r '.tags[]' <<< "$DOCKER_METADATA_OUTPUT_JSON"); do
            echo $tag
          done

Specifically, for pushing to a registry I ran docker push --all-tags <image name> to push all the tags of the image.


mypy: Upgrade to October mypy release (includes typeshed sync)

This includes the typeshed sync after my PR in that repo was merged, to amend some functions in the email module which appeared to be wrongly typed and were raising issues with use of --strict-optional.

@neiljp great.  It looks like you forgot to run tools/update-locked-requirements, though, so this isn't actually using the new version.

Merged as ee8d7de7c3410a2411300cbf463ec00ceed9e70d after fixing that.  Thanks @neiljp!

I tested manually with pip install -r mypy.txt and testing the new mypy.


Increase Test Coverage

coverage: 100.0%. remained the same when pulling 344b9e08baed36db2e0e2bc8898fda6b79f50dca on jeffgbutler:coverage into 896bb403192a9ffbf51b560666fece4eed2fbce2 on mybatis:master.


Our Sponsors and Partners Section: The logo of the middle sponsor will pop up

Current Behavior

sponsors logo colored  when hovering
Desired Behavior

it automatically pops up and color when comes in the middle

As of now, this is not needed. Because it looks odd, when only 1 of it will be coloured. We prefer this hovering effect itself.
If there is anything else, u would like to work on, pls go ahead @vaibhav-devkate


Allow entry of multiple organisers

I don't think it is possible to add multiple organisers via the web interface.
I used to have to do this via the legacy web interface, which I understand is no longer supported.
Thanks.

That's correct.
We were aware of that and I was sure that there already was an issue on that. Looks like i was wrong so Thank You for raising that again!
We'll see how fast we can add that functionality. Until that, can you drop us an email to info AT joind DOT in whom do you need to have added to which event? Thanks!

Came here to file this bug.  So adding voice to this one.
You used to be able to do this in Legacy.  But with legacy gone, it doesn't exist anymore.   Porting that same code over would be nice.

There's actually an API endpoint for this: POST /events/[event-id]/hosts, which takes a host_nameparam (username of the host to add). Was added a few years back but never got exposed in the UI.
/cc @tdutrion


Updates Alpha -> Beta for #65

Resolves #65

Grrr, closing to reopen without more editorconfig changes


Power Distribution Support Request

Details of the Distribution

Name of the Distribution:   Linux PowerPC
Version of the Distribution:  Debian 8 ("jessie"), ppc64el   Little Endian
Package Types

[ X ] Deb
[ ] RPM
[ ] Tar.gz
Snap - Please file issue in https://github.com/powershell/powershell-snap.  This issues type is unrelated to snap packages with a distribution neutral.

Processor Architecture (One per request):   power
The following is a requirement for supporting a distribution without exception.

[ ] The version and architecture of the Distribution is supported by .NET Core.

The following are requirements for supporting a distribution.
Please write a justification for any exception where these criteria are not met and
the PowerShell committee will review the request.
We have an automation framework that allows us to chose the type of language to code (Java, Python, Perl, PowerShell).
However, when one of this is chosen we have to care for portability, and Powershell is not running on other architectures like AIX and Linux on power pc or z systems, Linux PPC, HP ia64, os390, etc. In general any other than x64, Arm32, Arm64. Do you really support all of these architectures x64, Arm32, Arm64 ?

[ ] The version of the Distribution is supported for at least one year.
[ ] The version of the Distribution is not an interim release or equivalent.

Progress

[ ] An issues has been filed to create a Docker image in https://github.com/powershell/powershell-docker

For PowerShell Team ONLY

[ ] Docker image created
[ ] Docker image published
[ ] Distribution tested
[ ] Update packages.microsoft.com deployment
[ ] Lifecycle updated
[ ] Documentation Updated

The version and architecture of the Distribution is supported by .NET Core.

Unfortunately, it doesn't look like .NET supports the PowerPC architecture. See https://github.com/dotnet/runtime/issues/13277.

Closing this request for official support, as .NET does not yet support this architecture. Please note that PowerShell has a number of community-supported distributions as well.


Translate website into Dutch (nl-NL)

I'm pretty sure most of the Dutch population below 50 speaks or at least understands English in some degree but oh well.
If you need any help with translating the actual app into Dutch, hmu on the Paperback Discord.
This also fixes a few spelling errors in the English version.

Everything's translated & Soitora meta fixes included in the Dutch part as well


Builds under 9, lint

Version to 9, changed some maven dependencies to versions that support javafx 9, linted to 8/9.

That is a lot of files to review .... did you only clean up code, used lambdas everywhere, and upgraded the maven dependencies? If so then I will gladly merge this into the new master-9 branch quickly. If not then I will need some time to review all changes.

Master is currently targeting Java 8, so I can't merge this into master. Not sure how I can pull in this PR into a different branch. You might want to resubmit the PR for master-9 branch.

Sorry, but I have to close this pull request. There are just way too many changes in there that are not really fixing anything to make the project compile with Java 9. Most of them are just clean ups for things that are obsolete / not required in Java 9 anymore, e.g. repeating the generic type argument on the right-hand side of variable declarations.
As far as I know the current code base will compile fine with Java 9. I just created a new master branch for OpenJDK / OpenJFX 11 and it compiled without any changes. So I have to assume this is also true for Java 9.
As Java 9 is no longer supported and the community will soon move to the Java 11 LTS release I am now shifting my focus towards Java 11.


Option to create internal Wiki - RBAC

It would be very beneficial if (parts of) the Wiki can be protected password. This would allow the creation of an internal wiki that could be used e.g. by employees and which isn't seen by outsiders. Currently (if I understand the wiki correctly) the wiki is automatically open to access by anyone with access to the link.
Potential solution:
A check box could be added that restricts the respective page to internal use. If it is activated one could not see the page without being logged in into Frappe.
Potential conflicts:
There are different roles on ERPnext/Frappe that allow external users (e.g. auditors to get access to some selected parts of ERPnext/Frappe. It could create a problem, if these external users could access the internal wiki. So it would be probably good to have restrictions on the Roles who might view the internal wiki and who not.

Hi @blewsky
Wiki can be used as a Internal Wiki
We are using it
For any wiki page if you turn off allow guest, it will be password protected

Just now I also added a small thing that a new page would inherit the value of allow guest from the page on which new page was clicked

A better Role based system could be really nice though

Exactly. More specific role based permissions would be critical if the wiki was used for internal/sensitive information. You wouldn't want to have an auditor or customer accessing your internal wiki.

Also another use case is where a certain information is only available for Finance team, or leadership team, and not the entire company member. Linking this with Frappe Role Permission would really be awesome.

Is there somehow a way to use the role-based access control used in ERPnext for the wiki? I am not familiar with the internal way how the RBAC is implemented for ERPnext. If it is something in the Frappe framework, one could probably extend it to the wiki more easily to assign roles etc. that are allowed to read/edit the wiki.
So far the lack of the RBAC is the dealbreaker for us why we can't use the wiki. Would be great to see this implemented soon. I guess without proper RBAC, the wiki is probably only of limited us as an internal knowledge base in an ERP setting (due to the above mentioned reasons by me and others).

hey, this exactly what i am looking for. currently wiki version-14 have a problem that i can access the wiki page without login even when i'm not allow guest user. sometime it redirect to login page and sometime it doesn't. and that lead to serious problem that i can't put some important docs on wiki. i tried to use Basic Authentication but the wiki page log me out with a expired session message. any solution that i can keep my wiki page  private?

yes, It's the exactly feature what we want.
We want use wiki for internal but must be limited by  group of users or Department. So Hope we can define role/ permission for page level for Wiki.
Hope someone can support on this soon.
best regards,

I'll take a stab at this when I get some time
What I'm thinking of is restriction to be added in Wiki Space and not Wiki Page as it makes more sense (set of pages are usually shared among the team instead of a single page)

So, could I know any update on role/ permission with WIki, I love it but can not use if we can not control permission.
Hope to have a good new from you.
Thanks

is any one is working on this feature ?

Definitely interested in this feature too! Would be great to have permissions on a wiki site for the different departments of a company. Also different permissions on who can read or write to the wiki.

Assalam oalikum everyone,
In order to make wiki usefull for internal documentation, you need to uncheck 'allow guest to view" on doctype level of "wiki page"

then also while making a "wiki page", untick the allow guest on the wiki page

Now if you try to access the page, it will only open via login
Note: before making your doctype changes, switch the site to develops mode
"developer_mode": 1
add this line to the site_config.json save it so that the site can be developers mode
Have a great day hustlers, Happy Learning :)

We have started working on a solution, hopefully it will be merged soon. @BreadGenie could you take a look into this:
https://github.com/frappe/wiki/pull/217/commits/87957daaa30fdba25e8e2a641142df51bf9b3b43
Thank you


Get only username

Hi, quasoft!
It's not an issue, but a question.
It is possible to get only the user name and do not perform auth? I do not have access to domain controller and can't add user to AD.

Sorry, it's not possible as this is the main purpose of this module.
If you don't want to use AD may be you should look for another authentication middleware that uses external services to authenticate requests (eg. with Google, Facebook accounts).


Get OS and prefill shell with user commands

[X] Append command to user bash history and prefill shell. Even though we can append command to bash history, it does not show up in the reverse-i-search without sourcing the shell. This is because the child process cannot modify the environment of the parent caller process stack-overflow reference. So, instead will will pre-fill the shell command with the selected command.
[X] Get OS environment
[X] Refactor unique ID generation - mostly cosmetic
[ ] Update server to route LLM based on os environment
[ ] Test on Ubuntu Linux
[ ] Test on Darwin (Mac OS)
[ ] Test on WSL
[ ] Test on Windows Powershell

Thoughts, suggestions, and reviews welcome!
Relevant to #39 and #12

It would also be nice to be able to edit the command before executing it. Sometimes the LLM gets pretty lose but not perfect and needs some tweaking before being ran. This and the committing to the shell history should likely be behind configuration options. .config/gorilla-cli/config.yml or something similar. Thoughts?


Refactored and Added more details about installing and running Thanos in the contributing.md file

Added changes for the contributing.md file.
Fixes #3776
Changes derived from the docs
Signed-off-by: Yash Sharma<EMAIL_ADDRESS>

Please rename title, "some changes" is not the best commit/PR title 🤗 Let's be specific! Tell what exactly "some" means

Deleted the fork accidently, so cannot push latest changes in this PR, Creating a new one


H7061 - cannot control individual flood lights

This is a single controller that can control 2 or 4 individual flood lights. Through the native Govee app, they can be controlled individually (color, brightness), but not through HA. Not sure if this is a limitation of the API, but wondering if there is a path to fixing it.

It's an API limitation. Same applies to the Sconces and Flow Plus/Pro Bars. If you want to CO trol them individually, you'd have to remove the Govee controller and replace it with WLED or something similar.


radioTechnology JSON validator outdated

Hello all.
As seen on some JSON files, the radioTechnology only has two valid values:
"radioTechnology":{"$or":["E_UTRA","CAMBIUM_NETWORKS"]}

Can this be updated to the values defined in the WINNF-SSC-0002 v9.0.0 (10 February 2021), section 6?
Thanks.

It was understood that new radioTechnology values would be introduced over time.  To keep from making updates to the build for each air interface, the harness allows the user to update an XML file.
Section 10 of WINNF-IN-0156 describes several XML files for the user to supply input parameters for the test environment configuration. More specifically, section 10.4 discusses the XML configuration file for the CBSD air interface options.
The user can update the radioTechnology field with the additional air interface that is needed.
For example, to add NR air interface.
"radioTechnology":{"$or":["E_UTRA","CAMBIUM_NETWORKS", "NR"]}

Ok, I thought that it was only necessary to change the laterDefindedOptional.json file and not all of the 8 other files where the OR check is present. So it seems that the section 10.4 is incomplete since by following it, the user will have some tests failing without knowing why (e.g. WINNF.FT.C.REG.3_waiver) while others pass (e.g. WINNF.FT.C.REG.8). Actually, I don't understand why some files have a definition for what radioTechnology should have while a default file exists with the same information.
Thanks for the information and I'll change the other 8 files.


explore the usage of extensions

whaddya think?

interesting

yes, very interesting

anyway, it looks like a simpler alternative to the modular cog system we have right now

there is nothing here

there is something here, actually.

oh yeah

closed


Built-In Font Optimization: Improve Angular Performance & Core Web Vitals

Which @angular/* package(s) are relevant/related to the feature request?
@angular/core and @angular/cli
Problems :

Using custom fonts from Google Fonts can significantly impact FCP, LCP and initial load performance in Angular applications.

Downloading fonts from Google servers adds extra HTTP requests and latency, slowing down initial paint times.

The font swapping has the potential to cause layout shifts and so impact Cumulative Layout Shift (CLS).

Proposed Solution :

Introduce a built-in mechanism in Angular to automatically downloads fonts specified by their Google Fonts names (or similar identifiers) during the build process and self-host fonts within the application, eliminating the need for external font services like Google Fonts.

Utilize preconnect, preload, and size-adjust for optimal performance and seamless font rendering.

Benefits :

Improved Performance: Reduces reliance on external requests, minimizes layout shifts (thanks to the underlying CSS size-adjust) , and enables efficient caching.

Improved FCP and LCP: Optimized fonts and proactive loading strategies contribute to significantly faster loading times and smoother user experiences.

Enhanced SEO: Better Core Web Vitals can lead to higher search engine ranking and increased website traffic.

Enhanced Security: Minimizes exposure to external vulnerabilities and provides more control over font sources.

Developer Experience: Built-in font optimization in Angular improves developer experience.

Alternatives considered
Anyone interested is welcome to comment on what the proposed syntax and feature set will be.
Inspired by next.js automatic font self-hosting library ( next/font )

Problems :

Using custom fonts from Google Fonts can significantly impact FCP, LCP and initial load performance in Angular applications.

Downloading fonts from Google servers adds extra HTTP requests and latency, slowing down initial paint times.

The font swapping has the potential to cause layout shifts and so impact Cumulative Layout Shift (CLS).

Proposed Solution :

Introduce a built-in mechanism in Angular to automatically download and self-host fonts specified by their Google Fonts name (or similar mechanism) from google fonts etc.

Utilize preconnect, preload, and size-adjust for optimal performance and seamless font rendering.

Benefits :

Improved Performance: Reduces reliance on external requests, minimizes layout shifts (thanks to the underlying CSS size-adjust) , and enables efficient caching.

Improved FCP and LCP: Optimized fonts and proactive loading strategies contribute to significantly faster loading times and smoother user experiences.

Enhanced SEO: Better Core Web Vitals can lead to higher search engine ranking and increased website traffic.

Enhanced Security: Minimizes exposure to external vulnerabilities and provides more control over font sources.

Developer Experience: Built-in font optimization in Angular improves developer experience.

Alternatives considered
Anyone interested is welcome to comment on what the proposed syntax and feature set will be.

I updated this feature request.

Adding my two cents here in case you find of any use, having the pre connect and all the other attributes with the web download of the font didn’t impact much my Web Vitals because to me the key thing was the actual font swap.
There is a website that suggests a fallback font while the actual font is being downloaded. It does the suggestion in a way that makes the other fit perfectly and the swap happens really smooth so that the CLS is unaffected.
Having the font included in the bundle could be a good thing though!

Hi @CarlosTorrecillas @alan-agius4
The practice of font swapping has the potential to cause layout shifts and so impact Cumulative Layout Shift (CLS). These layout shifts occur when a web font and its fallback font take up different amounts of space on the page.
The @font-face size-adjust CSS feature is an exciting way to customize the text bounding box of your web layouts to improve the font swapping experience thus avoiding layout shift for your users.
https://web.dev/articles/css-size-adjust
Using self-host fonts works great with size-adjust css property in @font-face.

I had a chat with the Google Chrome Aurora team, and they highly recommend implementing a built-in system in the Angular CLI to handle size-adjustment. They've collaborated with the Nuxt team to develop a Vite plugin that automatically calculates CSS adjustments for size, which you can find here: https://github.com/unjs/fontaine. Additionally, this functionality is available through CSS generation: https://github.com/seek-oss/capsize.
However, they did caution about the potential pitfalls of adding preloading, mentioning concerns about Unicode selection issues and resource contention. They suggested being cautious as it can be a double-edged sword, but they did endorse preconnecting as a beneficial practice which we are already doing.
Regarding self-hosting, I'm still gathering further details and concerns.

Additional conversations with the Google Chrome Aurora team highlighted that self-hosting of fonts can be beneficial. Hosting Google Fonts internally would eliminate the delay linked with third-party connections while maintaining necessary precautions like glyphs have been subsetted.
When it comes to preloading, it's vital to proceed with caution due to its susceptibility to misuse. However, leveraging Angular CLI could offer avenues for implementing advantageous approaches. For instance, error messages could notify users if preloaded font sizes exceed a designated threshold or if preloaded fonts go unused. Additionally, users could be prompted to preload specific character subsets to boost performance. Nevertheless, this would necessitate additional discussions and design considerations as it might significantly impact build times.


Export ufuncs from DataArray API

Have there been discussions on promoting other ufuncs out of xr.ufuncs and into the DataArray API like DataArray.isnull or DataArray.notnull?
I can see how those two would be an exception given the pandas semantics for them, as opposed to numpy, but I am curious how to recommend best practices for our users as we build a library for genetics on Xarray.
We prefer to avoid anything in our documentation or examples outside of the Xarray API to make things simple for our users, who would likely be easily confused/frustrated by the intricacies of numpy, dask, and xarray API interactions (as we were too not long ago).  To that end, we have a number of methods that produce NaN and infinite values, but recommending use of either of these to identify those values via ds.my_variable.pipe(xr.ufuncs.isfinite) or np.isfinite(ds.my_variable) is not ideal.
I would prefer ds.my_variable.isfinite() or maybe even ds.my_variable.ufuncs.isfinite().  Is there a sane way to export all of xr.ufuncs from DataArray?

I think adding isfinite would make sense, since we have isnull.
In general, we are deprecating xr.ufuncs in favor of np.ufunc(DataArray)

In general, we are deprecating xr.ufuncs in favor of np.ufunc(DataArray)

Makes sense.  It is a somewhat awkward distinction to teach though to those who wouldn't appreciate the __array_ufunc__ protocol compliance, especially since most other functionality we appeal to like reductions (e.g. max, min, sum), concat, merge, indexing, filtering, etc. comes through the Xarray APIs alone.


Colour scheme randomly switches

I absolutely love this theme, overall it's just great! But there is one issue that is getting quite annoying, and that is the seemingly random colour switches.  I use the default colour comfy, but randomly when switching to the program, closing the marketplace, and other random things it switches to a different colour scheme, most commonly the sunset and mono theme. While typing this I went back to Spotify to check what the colours were called and it switched again by itself, this time to sakura.
It's not a massive problem but is quite annoying as it happens so often, the only way to fix it is to go to the marketplace and press on the comfy colour again (the drop-down still thinks it is on the comfy colour scheme). If there is some fix then that would be great!
Correct colour, comfy

Thinking it is on comfy, but it is actually on a different colour scheme

Hope this all makes sense! (Please tell me if you need more info, maybe a video or something?)

you sure this isn't an option you have enabled in marketplace by accident? there are a few settings that give randomize/song specific coloring
I don't see the theme being able to do this on its own

Disable color switching feature on Marketplace settings
Not a theme issue.

Oh goodness me I didn't even see that...Well yes, it's certainly not an issue with your theme then, so sorry about the trouble but thanks for the help anyways :D


History Unix date missing

Hi @jakewmeyer, as been asked in #94 , would it be possible to add the launch_date_unix to the model like the launches have?

Added as event_date_unix


Jenkins is not installing

ERROR: Failed to install plugin workflow-aggregator

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

ID: 6c50161e-7d27-2c8d-8be9-7e48aec40a06
Version Independent ID: b6443dd4-1018-e9d1-8c9c-e3d32615690a
Content: Create a Jenkins server on Azure
Content Source: articles/jenkins/install-jenkins-solution-template.md
Service: multiple
Product: unspecified
GitHub Login: @TomArcher
Microsoft Alias: tarcher

@ktm Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@ktm I apologize for just getting to this now. The Jenkins solution has changed since this Issue was opened, and I'm unable to reproduce the errors. Are you still experiencing the error?

@TomArcher No longer experiencing the errors.

@ktm Thank you. It's good to hear that the solution is working for you now..
@femsulu #please-close


ssh failed issue- nodes UNREACHABLE in ./kismatic install validate

./kismatic install validate
Validating==========================================================================
Reading installation plan file "kismatic-cluster.yaml"                          [OK]
Validating installation plan file                                               [OK]
Validating SSH connectivity to nodes                                            [OK]
Configure Cluster Prerequisites
msp-am-wkr001                                                                 [UNREACHABLE]
Configure Cluster Prerequisites
msp-am-wkr002                                                                 [UNREACHABLE]
Configure Cluster Prerequisites
msp-am-cn01                                                                   [UNREACHABLE]
Configure Cluster Prerequisites                                                 [OK]
error running playbook: error running ansible: exit status 4

I tested ssh from my terminal using the key provided in the kismatic-cluster.yaml file and it works.
The ansible.log for this run has the error:

"msg": "Failed to connect to the host via ssh: OpenSSH_7.2p2 Ubuntu-4ubuntu2.4, OpenSSL 1.0.2g  1 Mar 2016\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 4627\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Control master terminated unexpectedly\r\nCouldn't read packet: Connection reset by peer\r\n",

Environment:

Kismatic version: 1.10.0
Plan file Gist (remove sensitive information if any): attached the kismatic-cluster.yaml file.
Cloud provider: Openstack
Environment: MacOS 10.12.6
kismatic-cluster copy.txt

Interestingly, not getting this issue with Kismatic version 1.3.0, which uses Ansible 2.2.0

I was using CentOS 7.2 servers initially, switched to CentOS 7.4 and this error went away. Closing this issue.


MSID: 86976 Version: 2 DOI: 2<IP_ADDRESS>9521

[PLACE MANUSCRIPT AND EDITOR DETAILS HERE WHEN AVAILABLE] See step 3
[PLACE PDF URL HERE WHEN AVAILABLE] See step 7
Step 1. Inform bioRxiv
Who can help: @QueenKraken, @nlisgo, @scottaubrey

[ ] Manuscript is in data hub index (https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v1/by-publisher/elife/get-by-manuscript-id?manuscript_id=86976)

or (only one should be ticked. remove other from description.)

[ ] Confirmed with Ted at bioRxiv that MECA archive is available

Send the following email to Ted and wait for his reply.
Hi Ted,

Please can you prepare the preprint MECA for 10.1101/2<IP_ADDRESS>9521

Thanks

Step 2. Create preview of manuscript
Who can help: @fred-atherden, @nlisgo, @scottaubrey

[ ] Manuscript is available for preview (https://prod--epp.elifesciences.org/preview/86976/v2)

[ ] Trigger import for staging: https://prod--epp.elifesciences.org/import
[ ] Sync data folder with s3://prod-elife-epp-data/data
[ ] Trigger import for staging: https://staging--epp.elifesciences.org/import
[ ] Sync data folder with s3://staging-elife-epp-data/data
[ ] Pull request created to enhanced-preprint-data
[ ] Post link to pull request below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-manuscript
Step 3: Awaiting public reviews and QC
Who can help: Production team

[ ] QC passed or QC not needed

Who can help: Editorial team

[ ] Public reviews available on sciety (https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>9521)
[ ] Manuscript and editor details at the top of this issue (Supplied by Editorial team)
[ ] Reviews returned by EPP - https://prod--epp.elifesciences.org/api/reviewed-preprints/86976/v2/reviews

Example
"msas": "Genetics and Genomics", "Neuroscience"
"msid": "84628"
"version": "1"
"preprintDoi": "10.1101/2<IP_ADDRESS>4241"
"articleType": "Reviewed Preprint"
"status": "Published from the original preprint after peer review and assessment by eLife."

"Reviewed Preprint posted": "2023-01-02"
"Sent for peer review": "2022-10-28"
"Posted to bioRxiv": "2022-11-21" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>4241v1")

Editors:
Reviewing Editor
Michael B Eisen
University of California, Berkeley, United States
Senior Editor
Michael B Eisen
University of California, Berkeley, United States

Step 4: Modify manuscripts.json (no PDF)

[ ] Reviewed preprint is published to EPP (https://elifesciences.org/reviewed-preprints/86976)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[ ] Request that a doi be registered

[ ] Post link to #enhanced-preprint comment below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]

Instructions to modify manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/publish-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/334/files
Once the pull request is merged in it should be available a few minutes later.

Request that a doi
Post the following in #enhanced-preprint:
@Fred can you register a doi for https://elifesciences.org/reviewed-preprints/86976

Step 5: Awaiting search reindex

[ ] Reviewed preprint is avaliable on journal homepage (https://elifesciences.org)

The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.

Additional info
If needed, the jenkins pipeline to reindex search can be triggered sooner.
https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 6: Published! Request PDF generation

[ ] Post the link to the PDF url at the top of the issue

[ ] Post link to #enhanced-preprint comment below

#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]
Post the following to the #enhanced-preprint on slack:
@Ryan Dix-Peek please can you generate a PDF for https://elifesciences.org/reviewed-preprints/86976

Step 7: Introduce PDF to data folder and git repo

[ ] PDF is avaliable at https://github.com/elifesciences/enhanced-preprints-data/raw/master/data/86976/v2/86976-v2.pdf

Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-pdf
Step 8: Add PDF url to manuscripts.json

[ ] Reviewed preprint PDF is available for download (https://prod--epp.elifesciences.org/reviewed-preprints/86976)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[PLACE LINK TO PULL REQUEST HERE]

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

(V2 should use preprint V2)


[EPIC] Guest checkout FR1

This is the epic ticket for guest checkout FR1.
The epic branch is epic/guestcheckout-fr1
Best to do this mostly sequentially.

[x] #1182 1a. Create guest login guard (must do 1A before 1B)
[x] #1387 1b. Update login form with second options
[ ] #1179 1c. Create occ call to add email to cart (can be done in parallel with 1A/B)
[ ] #1180 2. Update shipping address and method components
[ ] #1181 3. Update payment and summary components
[ ] #1494 4. E2e tests

Note: until OCC PR RAY-229 is merged [it is, see RAY-229]
1a/1b: can be done
1c: can be started but not finished
2, 3, 4: can't be done
Postman collection for guest checkout flow
checkout_as_guest.collection.zip
Wires:
Sign in:
1: https://98qkkl.axshare.com/#g=1&p=d_sign_in_member_default
2: https://98qkkl.axshare.com/#g=1&p=d_sign_in_guest_default
Checkout:
1: https://98qkkl.axshare.com/#g=1&p=d_guest_checkout_step1_ship_addy
(no ability to choose a saved address)
2: https://98qkkl.axshare.com/#g=1&p=d_guest_checkout_step2_ship_method
(shipping is the same)
3: https://98qkkl.axshare.com/#g=1&p=d_checkout_step3_payment
(no chance to choose a saved billing address)
4: review is the same
This is FR1. In FR2, we'll add the ability to create an account at confirmation page.

Louis led the push for creating the Guest Checkout tickets, but the execution will be with Asterix. Louis is available for consultation so any questions, send to him.

Proposed functionality should follow a SDLC as specified here: https://wiki.wdf.sap.corp/wiki/display/PSSEC/Secure+Software+Development+Lifecycle+Overview
And must comply with security standards as detailed here:
https://wiki.wdf.sap.corp/wiki/display/PSSEC/SAP+Product+Standard+Security+-+Version+8.0


multipartyMiddleware is not defined

Hallo,
I have a done all what you wrote we should do, but i gets a error

Do you know why? or is it beacuse connect-multiparty have updated their script, so this script not working anymore?
Best,
Teo

Found the Solution:
You need to write
var multiparty = require('connect-multiparty'),
  multipartyMiddleware = multiparty();

in the top of core.server.routes.js


Delete main.nf

Break all the things!

Yup, as suspected we can't use this event type for the linting - it says that main.nf is healthy and fine despite being deleted in this PR:

Test #1 - File found: main.nf


Can NOT run the sample (mediaimport) in Visual Studio 2015 on Windows 10 build 10565

can not resolve assembly system runtime...and many many other errors

Is this a runtime error or a build error? The dependent assemblies are installed by NuGet. Try cleaning the project, then rebuilding it. I was able to build the MediaImport sample clean on my machine and run it. The deploy step should say something like "Instalilng missing frameworks."

I had the same issue. Be careful for the shared folder and the structure of projects. Enter projects inside samples folder

Please confirm that you unzipped the entire samples repo. (Rather than unzipping just the sample you are interested in.)

Hi, I have the same Issue with all samples. I unzipped the entire zip file. When i open any solution of the sample i get errors like:
Error	CS0246	The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)	BarcodeScanner	C:[...].NETCore,Version=v5.0.AssemblyAttributes.cs	2
I think there is the Microsoft.NETCore.UniversalWindowsPlatform Reference missing. How can I add it?

Hey, again me :) I solved the problem with the missing assembly reference with this guide:
https://github.com/Windows-XAML/Template10/wiki

Looks like the problem is solved.


Black textures after queue_resource on Android

After using the queue_resource command, the selected scene loads with black textures on Android devices. Tested on 3 devices (android 5.1 and 7.0), also with a demo project. There were no error messages or warnings on the console.

Thanks for the report, @dwafafiki.
I think this might be related to godotengine/godot#17086 and possibly the lack of support for OpenGL ES2, which is still in development for Godot 3. If it's an option, you might try Godot 2.1 with the 2.1 branch of Escoria, but honestly mobile support hasn't been tested much, and if I remember correctly, some of the features used for Dog Mendonça and Deponia on mobile were not merged into the released version of the framework.
We definitely want to support mobile devices though, but it won't be a priority until we've landed a more stable and modular 3.0 version and until support for OpenGL ES2 has been merged into Godot 3.x stable.

After a rewrite from scratch, Escoria will be re-released in the coming weeks. Because of this, we're closing this issue, because it relates to the old code. If the issue also regards the rewritten code, please feel free to reopen it.
Thanks


Supported Project?

Hi I'm sorry if this is the wrong type of channel to ask this but I'm wondering if this project is still supported because it's not seen a commit for 12 months and the pod security error issue was posted 9 months ago and I've just run into it

@SnowyJaguar1034  does not look like it's active :) , have a looks at https://github.com/kube-vip/kube-vip instead

Project is no more supported.


Feature: order the databases and/or add filter in the Mongo Explorer view

When a connection has many databases, it becomes difficult to find the database one is looking for because the databases are listed out of order.
It would be much simpler if they were ordered or if a type-in filter was available.

Hi,
you will find a SNAPSHOT here


Cleaned up code for the date picker and the per page navigation

What changed:

Value of the option picker is calculated on option click and not re-evaluated each time the state changes. I added the label in the state also to compare the options between them instead of using the value which can sometimes be different because of when it was calculated.

The per page navigation gets it's current per page and the page number from the state and not from its parent (currentPerPage was there twice and there were often conflicts were the selected per page number was not the right one).

Codecov Report

Merging #72 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #72   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files         101    101
  Lines        2278   2286    +8
  Branches      498    501    +3
=====================================
+ Hits         2278   2286    +8

Impacted Files
Coverage Δ

...rc/components/optionPicker/OptionPickerReducers.ts
100% <ø> (ø)
:white_check_mark:

src/components/calendar/CalendarConnected.tsx
100% <100%> (ø)
:white_check_mark:

...ponents/datePicker/DatePickerDropdownConnected.tsx
100% <100%> (ø)
:white_check_mark:

src/components/optionPicker/Option.tsx
100% <100%> (ø)
:white_check_mark:

src/components/datePicker/DatePickerDropdown.tsx
100% <100%> (ø)
:white_check_mark:

src/components/optionPicker/OptionPickerActions.ts
100% <100%> (ø)
:white_check_mark:

.../components/datePicker/DatesSelectionConnected.tsx
100% <100%> (ø)
:white_check_mark:

...omponents/navigation/perPage/NavigationPerPage.tsx
100% <100%> (ø)
:white_check_mark:

src/components/optionPicker/OptionPicker.tsx
100% <100%> (ø)
:white_check_mark:

.../navigation/perPage/NavigationPerPageConnected.tsx
100% <100%> (ø)
:white_check_mark:

... and 2 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 0e0be65...01fc69f. Read the comment docs.


Update layers/meta-balena digest to 2c4c903

This PR contains the following updates:

Package
Update
Change

layers/meta-balena
digest
1d7b7e3 -> 2c4c903

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

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

This PR has been generated by Renovate Bot.

Can one of the admins verify this patch?


doc-bug in-progress operations-management-suite/svc

doc-bug in-progress operations-management-suite/svc
Hi, we trying to implement the following script :
https://docs.microsoft.com/en-us/azure/monitoring/monitoring-solution-office-365#install-and-configure
but we have this error message :
Invoke-WebRequest : Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the
application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server
machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a
"web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its
"mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the
application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
At C:\Work\Log Analytics\office365_subscription.ps1:112 char:13
+ $response = Invoke-WebRequest @params
+             ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
#-----------------------------------------------------------------------------------------------------------------------------------------------

Is your script still up to date ? any hint ?

@MourIdri Thank you for the valuable feedback,we are investigating the issue.

@MourIdri Thank you for the valuable feedback,we are investigating the issue.

Sending this to the the engineering team since they provided that script.

#in-progress

I'm told by the engineering team that this is a security configuration issue on the customer side.  The error message describes how to collect additional error information.  This doesn't seem to be an issue with the script.

#please-close


Lobby socket not working on iOS

Host can create and edit trivia, but once they enter the lobby, the device will not send socket emit events.

Well, turns out is IS working. The iOS keyboard auto-corrects the trivia ID to have a capital letter, need to fix that on front and back-end validaiton


SUTD Archery

Name of Student Organisation
SUTD Archery
Cluster
Sports
Classification
Fifth Row
Description
SUTD Archery aims to allow all students to try out, or even pick up, archery as a sport here in SUTD! We provide an outlet for students to relax and shoot after a hectic day at school.
We welcome anyone regardless of prior experience, however we typically only take in new regular members at the beginning of every term. This is to ensure that we are able to help all members progress further, together, each session. So look out for your introductory sessions!
Training / Meeting Timings
[Recreational] Wednesday 7-10pm (feel free to leave earlier)
[Coached] Tuesday 8-11pm and/or Friday 3-6pm
Student Organisation Introduction Video
SUTD Archery - DiscoverSUTD Video
Name / Contact of President
Tan Le Xuan
Telegram: https://t.me/sorahawk
Email<EMAIL_ADDRESS>Other Relevant Links
Telegram Group: https://t.me/joinchat/HpEyZo15F54yODI1
Instagram: https://www.instagram.com/sutd_archery/
Email<EMAIL_ADDRESS>

Hi @Sorahawk  , thanks for submitting your fifthrow proposal!
Just wanted to get a bit more detail from you so that we can provide more precise information.
Could you provide the location/locations of the session in the proposal (add in with edit)?
Thank you!

Hi @ExtremelySunnyYK, I have updated the post with our venue. Side note, we are currently working on a new intro video, I will update the URL before 16/8!


Update wording in README

Mostly sentence flow changes and typographical error fixes.
Fix the URL to the rendered project as well.

Awesome, thanks for taking a close look and fixing stuff up!


Add support for multiple custom prompts

Could there be added support for multiple custom prompts? Upon adding a second one, I get the error prompt_my_custom_func:4: = not found

There already is!

I already tried that :(

Found the problem. It was because I was using if test ...; then instead of if [[ ... ]]; then. Don't ask me why.


TLS access on bitcoinRPC via nginx

see https://github.com/raspiblitz/raspiblitz/discussions/4380#discussioncomment-8325856

ChatGPT proposed the following config:
# Load the necessary NGINX modules
load_module modules/ngx_stream_module.so;

events {}

stream {
    # SSL configuration
    server {
        listen 50002 ssl; # Port for NGINX to listen on with SSL
        ssl_certificate /path/to/your/certificate.pem; # Path to your SSL certificate
        ssl_certificate_key /path/to/your/privatekey.pem; # Path to your SSL certificate key
        ssl_protocols TLSv1.2 TLSv1.3; # Enable TLS v1.2 and v1.3

        # Forward the traffic to Bitcoin Core RPC server
        proxy_pass <IP_ADDRESS>:8332; # Local Bitcoin Core RPC server address

        # Security enhancements
        ssl_prefer_server_ciphers on;
        ssl_ciphers 'ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384';
        ssl_session_cache shared:SSL:10m;
        ssl_session_timeout 10m;
    }
}

In this configuration:
Replace /path/to/your/certificate.pem and /path/to/your/privatekey.pem with the actual paths to your SSL certificate and key files.
The NGINX server listens on port 50002 for incoming SSL connections.
Traffic is then proxied to the local Bitcoin Core RPC server at <IP_ADDRESS>:8332.
It’s set to use TLS 1.2 and 1.3 for secure communication.
The ssl_ciphers directive is configured for strong encryption. You may need to adjust this depending on your specific requirements and the capabilities of the client systems that will connect.

To use this configuration:
Install NGINX and ensure it has the ngx_stream_module (this is usually included by default in most NGINX installations).
Place this configuration in the appropriate directory for NGINX configurations, often /etc/nginx/nginx.conf or a specific file in /etc/nginx/conf.d/.
Restart NGINX to apply the changes.

What would this be used for?

It might be a not often requested way of communicate with bitcoind - but in the end seems just a missing configuration of the tools we already have part as the std package (nginx). To maximize use of a bitcoin-only node I think its good to provide.


feat/html-categorization

Is your feature request related to a problem? Please describe.
When we start letting our users just give us a url (that we use puppeteer get the html of) there is a ton of garbage that’s also on the site that isn’t of interest. We don’t have the luxury of knowing that all the content of interest is inside of a certain tag. But we'd like to partition and embed the relevant pieces of it.
Describe the solution you'd like
A categorization of content based on their descendance of content of interest (main, section and article tags) this would allow content to be filtered and basic logic performed (when we search for relevance using semantic search we can prefer descendants of main content and only use auxiliary content if it doesn't have a lot of main content or if the auxiliary / garbage content is really the most relevant.)
Describe alternatives you've considered
preprocessing using JSOM. This is subideal because it isn't "partitioning aware" I'd like to add the filtering as a step during the search phase after embedding.

@theZaX - Just wanted to follow up and let you know we're tracking this one. Tag information is already tracked in the elements for HTML output, I think this would be a matter of adding that information to the element metadata so it's available downstream.


Modified ways to trigger insert modal

Referred to the Bootstrap official demo, find it might be use the element id to trigger the modal with button.
Just made small changes to fix the issue. Please review and comment. Thanks.

@hustshawn, thanks your contribution, I'll review it, but this PR can solve the #690 ?
because data-target can accept a class or id, so I'm not very clear why this changed?


How to fix unstable loss. I am using wizardlm or Llama-X training code with vicuna style chat format for fine-tuning Llama-2-7b-hf model.

I'm using the 'Llama-X' (https://github.com/AetherCortex/Llama-X) training code with the vicuna-style chat template to fine-tune the Llama-2-7b-hf model. However, I'm observing an unstable loss during the process.
Please find the detailed Weights & Biases report at (https://wandb.ai/arpitsh018/huggingface/reports/Untitled-Report--Vmlldzo1NjE2Njgz).
Training Parameters:
os.system(f'deepspeed train.py
--model_name_or_path meta-llama/Llama-2-7b-hf
--data_path ../data/dummy_conversation.json
--output_dir ./checkpoint/finetuned-llama2-7b
--num_train_epochs 1
--model_max_length 4096
--per_device_train_batch_size 1
--per_device_eval_batch_size 1
--gradient_accumulation_steps 1
--evaluation_strategy "no"
--save_strategy "steps"
--save_steps 1000
--save_total_limit 3
--learning_rate 2e-5
--warmup_steps 0
--logging_steps 1
--lr_scheduler_type "cosine"
--report_to "wandb"
--gradient_checkpointing True
--deepspeed configs/deepspeed_config.json
--bf16 True')
deepspeed_config.json:
{
"zero_optimization": {
"stage": 2,
"offload_optimizer": {
"device": "cpu",
"pin_memory": true
},
"offload_param": {
"device": "cpu",
"pin_memory": true
},
"overlap_comm": true,
"contiguous_gradients": true,
"sub_group_size": 0,
"reduce_bucket_size": "auto",
"stage3_prefetch_bucket_size": "auto",
"stage3_param_persistence_threshold": "auto",
"stage3_max_live_parameters": 0,
"stage3_max_reuse_distance": 0,
"stage3_gather_16bit_weights_on_model_save": true
},
"bf16": {
"enabled": true
},
"optimizer": {
"type": "AdamW",
"params": {
"lr": "auto",
"betas": [0.9, 0.999],
"eps": 1e-8,
"weight_decay": 0
}
},
"scheduler": {
"type": "WarmupDecayLR",
"params": {
"warmup_min_lr": "auto",
"warmup_max_lr": "auto",
"warmup_num_steps": "auto",
"total_num_steps": "auto"
}
},
"train_batch_size": "auto",
"train_micro_batch_size_per_gpu": "auto",
"gradient_accumulation_steps": "auto",
"wall_clock_breakdown": false
}
I'm eager to understand how to stabilize the loss for my training sessions. Any insights or recommendations would be greatly appreciated.

Could you explain what you mean by unstable loss?
If you refer to a continuous downscaling of the loss scale during training than #4017 might be a reason.
This can occur, because the used GPUs are of an "older" kind that do not support Automatic Mixed Precision (AMP) and therefore do not support BF16 as a parameter datatype. During training deepspeed might fallback to the default fp16 configuration and continue training with that. Since Llama2 Models are originally trained with bf16, swapping to fp16 will result in this loss scale issue and in the end degraded performance.


Implement NixPath for str and OsStr

This is a stop gap improvement until the NixPath reform is figured out.
refs #221

@arcnmx any thoughts?
I realized on the way to this that we're currently doing a terrible job of interior NULs. There's nothing new on that front in this PR, as you can have interior NULs in a Path as easily as you can in a str.

Seems fine to me!
Interior nuls should probably trigger invalidpath errors, just like they do in libstd. This is ignored for all types, so yeah, this PR doesn't change the status quo. It's something to do as part of the NixString reform for sure.

Great, rebased, waiting for CI then will merge.


Unable to run yarn db:seed

When running the command yarn db:seed the domain jianliew.me is not reachable.

Fixed
#119


silver-searcher: add alias "ag"

Things done

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

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

As discussed in #14868, ag should be an alias for silver-searcher. Rationale: ag is the command.

cc @oxij

LGTM, I definitely ran nix-env -iA nixpkgs.ag before I tried silver-searcher :)


Consider using marker popups instead of toast messages

Instead of having a text box floating over to the side here:

…consider putting that text in a Leaflet popup attached to the marker.
You'd want to let the user close that popup, so you'll have to think about where to put the text when they are finished skimming and decide to move the map around. Maybe when they dismiss the popup the text hides in the white area at the bottom of the page?

The only problem I see with your suggestion is that currently the popup is used to display properties for a given element. Often times this would be in the form of OSM tags that are associated with the feature.

Are you thinking of the case of a linear feature? In either case, having a popup point at the feature with custom information about that feature seems ideal, not a problem. Perhaps I'm misunderstanding your concern, though.

Perhaps we can keep the current popup messages but prepend the OSM tags with the instruction, and have it pop up by default. And have a little header between the instruction and the OSM tags that just says 'OSM tags' or something.

My only concern in this scenario is that the popup could become really large. And the dual purpose of it may lead to misunderstanding.

If the main purpose of this is to give more space for map real estate, we can just make the toast message clickable so that it disappears on click?

For me the main purpose is to call out the marker/area of interest, not to make more room on the map.

In #66 we're discussing per-challenge settings. One of them would be custom text / markdown content.

I think with the instructions sometimes being long and even containing images it makes more sense to draw attention to the feature of interest in some other way.


Indicate that the minimum local or international shipping price is 0.01 BTC

At the moment it just gives you an error without explanation.

Bump @morebrownies

This seems like a UX nightmare to me for a few reasons.

Most users will be setting prices in fiat, so displaying a min price of 0.01 BTC will just confuse them. If anything, we'll want to do the conversion and return back what the min price is in their local currency and not in bitcoin.

As of right now, 0.01 BTC = $4.06 USD. We're basically saying items under $5 aren't supported? Why?

If the price of 0.01 BTC rapidly spikes to let's say $10 USD, now items under $10 aren't supported. If I have items in my store that already have a set price of $8 and I go to edit them, I'll be forced to raise the price in order to submit the edits.

I'm not sold on this. I think we need to rethink this restriction.

0.01 is too high I agree with @morebrownies

This isn't BitMarkets

I submitted an issue #121 to decrease the minimum price.

Why not just amend this issue? Can you consolidate and close one?