Is it possible to compile tflite-runtime python wheel on m1 mac (arm64)?

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Mac OS Big Sur version 11.4
TensorFlow installed from (source or binary): source
TensorFlow version: v2.6.0, v2.5.0
Python version: 3.8.10
Bazel version (if compiling from source): 4.1.0
GCC/Compiler version (if compiling from source): Apple clang version 12.0.5 (clang-1<IP_ADDRESS>)
CUDA/cuDNN version: -
GPU model and memory:

16 GB, Type:	LPDDR4
Chipset Model:	Apple M1
  Type:	GPU
  Bus:	Built-In
  Total Number of Cores:	8
  Vendor:	Apple (0x106b)
  Metal Family:	Supported, Metal GPUFamily Apple 7

Describe the problem
I tried several following ways of tflite-runtime compilation to python wheel:
sh build_pip_package_with_cmake.sh native
getting:
CMake Error at /opt/homebrew/Cellar/cmake/3.21.1/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message):
  The C compiler

    "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /Users/koubadom/Projects/tensorflow/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/bin/make -f Makefile cmTC_4563f/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_4563f.dir/build.make CMakeFiles/cmTC_4563f.dir/build
    Building C object CMakeFiles/cmTC_4563f.dir/testCCompiler.c.o
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc   -march=native -I/Users/koubadom/miniforge3/include/python3.8 -I/Users/koubadom/miniforge3/lib/python3.8/site-packages/pybind11/include  -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -MD -MT CMakeFiles/cmTC_4563f.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_4563f.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_4563f.dir/testCCompiler.c.o -c /Users/koubadom/Projects/tensorflow/tensorflow/lite/tools/pip_package/gen/tflite_pip/python3/cmake_build/CMakeFiles/CMakeTmp/testCCompiler.c
    clang: error: the clang compiler does not support '-march=native'
    make[1]: *** [CMakeFiles/cmTC_4563f.dir/testCCompiler.c.o] Error 1
    make: *** [cmTC_4563f/fast] Error 2

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:40 (project)

sh build_pip_package_with_cmake.sh arm64
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [_pywrap_tensorflow_interpreter_wrapper.dylib] Error 1
make[2]: *** [CMakeFiles/_pywrap_tensorflow_interpreter_wrapper.dir/all] Error 2
make[1]: *** [CMakeFiles/_pywrap_tensorflow_interpreter_wrapper.dir/rule] Error 2
make: *** [_pywrap_tensorflow_interpreter_wrapper] Error 2

sh build_pip_package.sh
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/Users/koubadom/Projects/tensorflow/tensorflow/lite/tools/make/gen/osx_arm64/bin/benchmark_model_performance_options] Error 1
Traceback (most recent call last):

sh build_pip_package_with_bazel.sh
/private/var/tmp/_bazel_koubadom/4a39adbd2fff0dadf31cbeb460f8aca3/external/io_bazel_rules_go/go/private/sdk.bzl:53:35: in <toplevel>
ERROR: Analysis of target '//tensorflow/lite/python/interpreter_wrapper:_pywrap_tensorflow_interpreter_wrapper' failed; build aborted: Configuration Error: Invalid python library path: /usr/lib/python3/dist-packages

(I know this looks like some env var is badly set, but I tried everything what come to my mind.) I modified version of bazel in .bazelversion to match 4.1.0.
tensorflow/tools/ci_build/ci_build.sh PI-PYTHON38 \   tensorflow/lite/tools/pip_package/build_pip_package_with_cmake.sh
 I got multiple errors especially with `ModuleNotFoundError: No module named 'pybind11'` and bazel version, I do know why, pybind11 is not there, I am sure it is on my local machine, how not in container.

All attempts I did on git checkout v2.5.0 and everything is run under arm (not in Rosetta). Is here anybody who was successful doing this obscure task? I might made a lot of mistakes but I am trying hard... If somebody can give me a hint or compiled version for arm without any advice, I am ok with that :D. I would appreciate any version on my platform.
Thanks a lot.

For Bazel build, you need to provide --macos_cpus=arm64
So the following command might work.
$ CUSTOM_BAZEL_FLAGS=--macos_cpus=arm64 build_pip_package_with_bazel.sh

For CMake build, you need to use it as following.
$ cmake -Bbuild/xcode -DCMAKE_APPLE_SILICON_PROCESSOR=arm64 <TFLite_dir>

But the current tensorflow/lite/tools/pip_package/build_pip_package_with_cmake.sh doesn't have a way to provide a custom flag. You need to modify the script directly.

Thanks a lot, this make the first part of the script run. On the other hand in this part:
cmake --build . \
     --verbose -j ${BUILD_NUM_JOBS} -t _pywrap_tensorflow_interpreter_wrapper

I am getting:
/Users/koubadom/Projects/tensorflow/tensorflow/lite/python/interpreter_wrapper/numpy.h:51:10: fatal error: 'numpy/arrayobject.h' file not found

numpy is installed on my system

If you're using tensorflow/lite/tools/pip_package/build_pip_package_with_cmake.sh you'd better check if ${PYTHON_INCLUDE} and ${PYBIND11_INCLUDE} are defined properly.
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/tools/pip_package/build_pip_package_with_cmake.sh#L30
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/tools/pip_package/build_pip_package_with_cmake.sh#L114

Another step, thanks. However, I had to misconfigure something:
/Users/koubadom/miniforge3/lib/python3.8/site-packages/numpy/core/include/numpy/npy_common.h:388:9: error: unknown type name 'Py_hash_t'
typedef Py_hash_t npy_hash_t;

I am using miniforge3 on mac and I do not know if it is not the problem. I had to modify "-I..." parameters to include numpy, pybind and everything as you recommended (thx). But this error is very suspicious...
Any idea? I cannot find where this type is defined...
I am sorry for the questions related to my setup more than to TF, thank you for your time.

Is anyone following up on this issue? And any plan to ship out-of-the-box arm64 wheel for macOS?
Thanks to the above workaround, I got past the first part of the script. I also passed the compilation stage when I ran cmake --build . --verbose -j ${BUILD_NUM_JOBS} -t _pywrap_tensorflow_interpreter_wrapper. But the same  symbol(s) not found for architecture arm64 error occurred during the linking stage. Setting the environment variable CMAKE_APPLE_SILICON_PROCESSOR=arm64 didn't seem to help.
...
[100%] Linking CXX shared library _pywrap_tensorflow_interpreter_wrapper.dylib
/opt/homebrew/Cellar/cmake/3.21.4/bin/cmake -E cmake_link_script CMakeFiles/_pywrap_tensorflow_interpreter_wrapper.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -I/Users/billykwok/.pyenv/versions/3.9.7/include/python3.9 -I/Users/billykwok/.pyenv/versions/3.9.7/lib/python3.9/site-packages/pybind11/include -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -dynamiclib -Wl,-headerpad_max_install_names -o _pywrap_tensorflow_interpreter_wrapper.dylib -install_name @rpath/_pywrap_tensorflow_interpreter_wrapper.dylib CMakeFiles/_pywrap_tensorflow_interpreter_wrapper.dir/python/interpreter_wrapper/interpreter_wrapper.cc.o CMakeFiles/_pywrap_tensorflow_interpreter_wrapper.dir/python/interpreter_wrapper/interpreter_wrapper_pybind11.cc.o CMakeFiles/_pywrap_tensorflow_interpreter_wrapper.dir/python/interpreter_wrapper/numpy.cc.o CMakeFiles/_pywrap_tensorflow_interpreter_wrapper.dir/python/interpreter_wrapper/python_error_reporter.cc.o CMakeFiles/_pywrap_tensorflow_interpreter_wrapper.dir/python/interpreter_wrapper/python_utils.cc.o  libtensorflow-lite.a _deps/abseil-cpp-build/absl/flags/libabsl_flags.a _deps/abseil-cpp-build/absl/flags/libabsl_flags_internal.a _deps/abseil-cpp-build/absl/flags/libabsl_flags_marshalling.a _deps/abseil-cpp-build/absl/flags/libabsl_flags_reflection.a _deps/abseil-cpp-build/absl/flags/libabsl_flags_config.a _deps/abseil-cpp-build/absl/flags/libabsl_flags_program_name.a _deps/abseil-cpp-build/absl/flags/libabsl_flags_private_handle_accessor.a _deps/abseil-cpp-build/absl/flags/libabsl_flags_commandlineflag.a _deps/abseil-cpp-build/absl/flags/libabsl_flags_commandlineflag_internal.a _deps/abseil-cpp-build/absl/container/libabsl_raw_hash_set.a _deps/abseil-cpp-build/absl/container/libabsl_hashtablez_sampler.a _deps/abseil-cpp-build/absl/base/libabsl_exponential_biased.a _deps/abseil-cpp-build/absl/hash/libabsl_hash.a _deps/abseil-cpp-build/absl/hash/libabsl_city.a _deps/abseil-cpp-build/absl/hash/libabsl_wyhash.a _deps/abseil-cpp-build/absl/status/libabsl_status.a _deps/abseil-cpp-build/absl/strings/libabsl_cord.a _deps/abseil-cpp-build/absl/types/libabsl_bad_optional_access.a _deps/abseil-cpp-build/absl/strings/libabsl_str_format_internal.a _deps/abseil-cpp-build/absl/synchronization/libabsl_synchronization.a _deps/abseil-cpp-build/absl/debugging/libabsl_stacktrace.a _deps/abseil-cpp-build/absl/debugging/libabsl_symbolize.a _deps/abseil-cpp-build/absl/debugging/libabsl_debugging_internal.a _deps/abseil-cpp-build/absl/debugging/libabsl_demangle_internal.a _deps/abseil-cpp-build/absl/synchronization/libabsl_graphcycles_internal.a _deps/abseil-cpp-build/absl/base/libabsl_malloc_internal.a _deps/abseil-cpp-build/absl/time/libabsl_time.a _deps/abseil-cpp-build/absl/strings/libabsl_strings.a _deps/abseil-cpp-build/absl/strings/libabsl_strings_internal.a _deps/abseil-cpp-build/absl/base/libabsl_throw_delegate.a _deps/abseil-cpp-build/absl/base/libabsl_base.a _deps/abseil-cpp-build/absl/base/libabsl_spinlock_wait.a _deps/abseil-cpp-build/absl/numeric/libabsl_int128.a _deps/abseil-cpp-build/absl/time/libabsl_civil_time.a _deps/abseil-cpp-build/absl/time/libabsl_time_zone.a -framework CoreFoundation _deps/abseil-cpp-build/absl/types/libabsl_bad_variant_access.a _deps/abseil-cpp-build/absl/base/libabsl_raw_logging_internal.a _deps/abseil-cpp-build/absl/base/libabsl_log_severity.a _deps/farmhash-build/libfarmhash.a _deps/fft2d-build/libfft2d_fftsg2d.a _deps/fft2d-build/libfft2d_fftsg.a _deps/flatbuffers-build/libflatbuffers.a _deps/ruy-build/libruy.a _deps/xnnpack-build/libXNNPACK.a /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk/usr/lib/libm.tbd cpuinfo/libcpuinfo.a clog/libclog.a pthreadpool/libpthreadpool.a
Undefined symbols for architecture arm64:
  "_PyBaseObject_Type", referenced from:
      pybind11::detail::make_object_base_type(_typeobject*) in interpreter_wrapper_pybind11.cc.o
  "_PyBuffer_Release", referenced from:
      pybind11::buffer_info::~buffer_info() in interpreter_wrapper_pybind11.cc.o
  "_PyBytes_AsString", referenced from:
      bool pybind11::detail::string_caster<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, false>::load_bytes<char>(std::__1::enable_if<std::is_same<char, char>::value, pybind11::handle>::type) in interpreter_wrapper_pybind11.cc.o
...
      bool pybind11::detail::argument_loader<tflite::interpreter_wrapper::InterpreterWrapper&, int, pybind11::handle&, bool, int>::load_impl_sequence<0ul, 1ul, 2ul, 3ul, 4ul>(pybind11::detail::function_call&, std::__1::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul, 4ul>) in interpreter_wrapper_pybind11.cc.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [_pywrap_tensorflow_interpreter_wrapper.dylib] Error 1
make[2]: *** [CMakeFiles/_pywrap_tensorflow_interpreter_wrapper.dir/all] Error 2
make[1]: *** [CMakeFiles/_pywrap_tensorflow_interpreter_wrapper.dir/rule] Error 2
make: *** [_pywrap_tensorflow_interpreter_wrapper] Error 2

Are there any plans to release an arm64 wheel directly from tensorflow?  If so can I get the issue#?  I'd like to use it in Jupyters tensorflow-notebook (https://hub.docker.com/r/jupyter/tensorflow-notebook).  I believe it's the only remaining issue left and would allow creating of an (arm64) Jupyter tensorflow docker image.
For details: https://github.com/jupyter/docker-stacks/pull/1446#discussion_r696068862

Hi @koubadomik !
I was able to build C++  tflite-run time in Mac M1 using below command
bazel build --config=monolithic -c opt tensorflow/lite/c:libtensorflowlite_c.dylib --verbose_failures --jobs=4
Reference.
Thank you!


Running Blazor Server App

I saw in sample repository that all the examples are blazor webassembly.
I want to run Blazor Server App because of that I can access system informations.
I am planning to build rich GUI application that uses some system informations.

@mikart143 Chromely is a desktop framework and fits well with blazor webassembly and will be for now what we will use in the demos (still work in progress .. but the heavy lifting part is done already so developers can still use as-is).
To use blazor server I am guessing (not tried yet) should be easy by making some changes.
The key I think is how you copy the dist files from server to client if you are not hosting the urls in Chromely -
https://github.com/chromelyapps/demo-projects/blob/c28414f9ca65da476e23113a5661857376060431/blazor/BlazorComponents/BlazorComponents.csproj#L16

Okay, but how about BlazorControllersDemo. It looks like it is going to server data from BlazorControllersDemo for BlazorControllers. Is it ready ? In this way I can get my information in console project and then send to blazor webassembly

I do not understand your question about readiness. This is work in progress, and will be updated as it progresses.

..  fits well with blazor webassembly and will be for now what we will use in the demos (still work in progress .. but the heavy lifting part is done already so developers can still use as-is).

The "Controller" here is referring to Chromely controller.
To illustrate, I just updated the demo..
Using Component:
https://github.com/chromelyapps/demo-projects/blob/c9041d8ccc876122624bc2d424eec92e6ab42c4f/blazor/BlazorComponents/Pages/TmdbMovies.razor#L79
Using Controller:
https://github.com/chromelyapps/demo-projects/blob/master/blazor/BlazorControllersDemo/Controllers/TmdbMoviesController.cs
But of course you can also send it to a blazor server controller .. you just have to make the request and external request.

When I saw Controllers I understood that you are going to access those controllers from Blazor webassembly. Like not usual API but rather like GRPC. Now I understand what is this all about.  It will be nice to see Blazor Server App in the future. It is going to be easier to make some specific apps

I wonder if using  SignalR with Chromely could be the best solution

There are lot of possibilities with Chromely like any other framework. We have limited bandwidth with our time on the project and we cannot provide demos for every scenario.
Usually developers try different approaches and sometimes they run into roadblocks .. sometime we can help, sometime we walk thru things together.
With bandwidth and if it is a common request, we will surely consider Blazor Server Apps in the future.
Thank you.

I've put a sample that works here: https://github.com/roceh/BlazorChromelyTest
It mostly just works, you can debug blazor pages using visual studio. The only thing I had to do extra was put some checks to determine whether the exe was being run up as a child process or not  and only start the localhost web server up if its the first process. It would be nice if chromely would allow custom args to be passed to child processes when it spins them up.
Also the console window annoyingly always shows in visual studio when the project SDK is "Microsoft.NET.Sdk.Web", it doesn't if you just run the exe - so its not a major problem.

@roceh thanks for the sample. I will see about adopting it into a publishable demo.

@roceh @mikart143  I added ServerApp Demo based on @roceh sample.
@roceh please see the logic I am using to detect main/subprocess - https://github.com/chromelyapps/demo-projects/blob/master/blazor/ServerAppDemo/ServerAppUtil.cs#L32
Please let me know if I get the flow right.
Thanks.

Seems to work great!
I don't know if you want to change the app type to winexe to remove the console. It is useful during debug though... perhaps you could make the release build winexe. You could modify the csproj
  <PropertyGroup>
    <TargetFramework>netcoreapp3.1</TargetFramework>
    <ApplicationIcon />
    <OutputType>WinExe</OutputType>
    <StartupObject />
  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
    <OutputType>Exe</OutputType>
    <PlatformTarget>x64</PlatformTarget>
  </PropertyGroup>

@roceh I cannot get the console to disappear, I really must be doing something wrong.
If you can send a sample project file, I can see what I may be missing.
Not that important though, but a nice-to-have.

Do you plan to add child window support ?
I Invoke this script to open child window:
await JSRuntime.InvokeAsync<object>("open","/Statistics","_blank");

and this is log:
-------------------------OPEN-------------------------
On CefGlue child process launch arguments:
"D:\Projects\legendarycockpit\src\ChromelyDesktopInterface\bin\Release\netcoreapp3.1\ChromelyDesktopInterface.exe" --type=gpu-process --field-trial-handle=2940,10277487760772091127,12027158553528862649,131072 --disable-features=OutOfBlinkCors --disable-gpu-sandbox --use-gl=disabled --no-sandbox --locales-dir-path="D:\Projects\legendarycockpit\src\ChromelyDesktopInterface\bin\Release\netcoreapp3.1\locales" --log-file="logs\chromely.cef_20200311.log" --log-severity=info --resources-dir-path="D:\Projects\legendarycockpit\src\ChromelyDesktopInterface\bin\Release\netcoreapp3.1\\" --lang=en-US --default-encoding=utf-8 --allow-file-access-from-files --allow-universal-access-from-files --disable-web-security --ignore-certificate-errors /prefetch:2
2020-03-11 22:51:36.725 [INFO] Running Windows chromium 77.0.3865.120
2020-03-11 22:51:38.162 [INFO] Sub process executes successfully with code: 0

I know that there was an issue, but maybe sth changed

@mattkol does setting the output type to Windows Application not stop it appearing?

@roceh no, it does not.

For me it does not show when the exe is run outside visual studio (when output type is set to windows application). One way I can seem to get it not to show within visual studio is to enable "Automatically close the console when debugging stops" in tools options. But that is a user option and not ideal.
The other better way is to change the Debug info to Executable instead of Project in the project properties. I suspect when visual studio sees the project SDK as Microsoft.NET.Sdk.Web it is automatically opening a console window.
You then have to put $(TargetDir)$(TargetName).exe as the executable.

For me it does not show when the exe is run outside visual studio

Ok, I may have missed this part. Yes it works when ran outside Visual Studio. Thanks.
But I just noticed something interesting though. Running exe on its own does not seem to work as expected. Seems like Chromely ran before the server is launched. But running from VS is fine.

Please if you have sometime (anytime), please can you help run the demo as-is to eliminate environment issues.
Thanks.

That looks like a missing wwwroot folder in the debug folder, on my test project i was copying it into the folder with a msbuild post build action.
  <Target Name="PostBuild" AfterTargets="PostBuildEvent">
    <Exec Command="xcopy "$(ProjectDir)wwwroot" "$(TargetDir)\wwwroot"   /i /s /r /y /c
" />
  </Target>

I think i copied that from your other examples.
I think when in visual studio it sets the working directory to the project folder so it picks up the wwwroot directly. There might be some advantage to doing it like that, its certainly how a normal blazor project works.
Perhaps only do the wwwroot copy for release build.

@mikart143

Do you plan to add child window support ?
I Invoke this script to open child window:
await JSRuntime.InvokeAsync<object>("open","/Statistics","_blank");

Sorry for the late response. This is likely due to a bug.
This method below should return false if not handled:
https://github.com/chromelyapps/Chromely/blob/eb59c52593864b4b02bcebf6f73e709b50b3ca2d/src/Chromely.CefGlue/Browser/Handlers/CefGlueLifeSpanHandler.cs#L73
You can get latest to fix that. But if you need to use the nuget version you can create a custom handler.
I plan to have an updated nuget between now and the weekend.
Thanks.


Webhooks access issue

tldr; Poracle role without access to monster doesn't have the access to webhooks if it doesn't have the access to perms -> pokemon
If poracle has enabled commandSecurity and the role isn't listed in monster field (so basically that role won't be notified about any mons) and also it's not listed in reactmap config perms -> pokemon (which is pretty obvious cause that specific role won't have access to mons in poracle and on map) webhooks won't work. Users with that role will see non_registered_human_desc message.
I have tested iv and pvp in perms and looks like these are not the blocker in that case.

Is this still a valid enhancement? Not a situation I run into on my map.

This issue still exists

I just ran into this issue as well.
I have different levels of access, and some access only grant raid information.
Happened upon this issue when trying to allow the users to use the alerts feature while they only have access to raid data.

Fixed in https://github.com/WatWowMap/ReactMap/pull/755 😄


Capstone Project Version 1

Live Link
live website
Video Link
Presentation video

Add Splash Screen:
Add signup screen with validations
Add login screen with validation
Redirect user after signin in
Show categories list page
Add new Category
Click and view each categories
Add transaction in each category
Back button to navigate back to previous page

@Errytagedesign kindly fix the broken mit lisense link in your readme file

@Errytagedesign kindly fix the broken mit lisense link in your readme file

Done

Done
On Sat, Nov 25, 2023 at 6:58 PM Mohammed Hussen @.***>
wrote:

@Errytagedesign https://github.com/Errytagedesign kindly fix the broken
mit lisense link in your readme file
—
Reply to this email directly, view it on GitHub
https://github.com/Errytagedesign/budgetApp/pull/1#issuecomment-1826387738,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS6UVO7GTPCBZSHTDGVK773YGIWVTAVCNFSM6AAAAAA72HANXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWGM4DONZTHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Moving to GitLab?

Oh no, =( Microsoft no no no. Ruby and Github please live

I don't like the acquisition either, but I don't plan to move to GitLab.
I'll elaborate on my thoughts about it here when I have time: https://github.com/sindresorhus/ama/issues/548

Will watch this, thank you.


disable ssr and set baseURL in env

before scp to production use:
NUXT_APP_BASE_URL=/grid/

in your .env

disable ssr for https://nuxt.com/docs/getting-started/deployment#client-side-only-rendering

@FrantisekMichalSebestyen consider return SSR back after having final version of items/sections
or set it conditionally for different routes


Automated cherry pick of #9243: fix(region): azure reset windows os password

Cherry pick of #9243 on release/3.5.
#9243: fix(region): azure reset windows os password

Codecov Report

Merging #9245 (4527590) into release/3.5 (6a15e02) will decrease coverage by 1.79%.
The diff coverage is 1.13%.

@@               Coverage Diff               @@
##           release/3.5   #9245       +/-   ##
===============================================
- Coverage         5.98%   4.18%    -1.80%
===============================================
  Files              796     163      -633
  Lines           125693   25016   -100677
===============================================
- Hits              7522    1048     -6474
+ Misses          117504   23876    -93628
+ Partials           667      92      -575

Flag
Coverage Δ

aFlag
4.18% <1.13%> (-1.80%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/cloudcommon/db/jointbase.go
0.00% <ø> (ø)

pkg/cloudprovider/objectstore.go
2.06% <0.00%> (-0.51%)
:arrow_down:

pkg/compute/regiondrivers/aliyun.go
0.33% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/regiondrivers/base.go
1.02% <ø> (ø)

pkg/compute/regiondrivers/huawei.go
0.21% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/regiondrivers/managedvirtual.go
0.00% <0.00%> (ø)

pkg/compute/regiondrivers/openstack.go
0.74% <ø> (ø)

pkg/compute/regiondrivers/qcloud.go
0.74% <0.00%> (-0.01%)
:arrow_down:

pkg/hostman/hostinfo/hostovn.go
27.45% <0.00%> (-2.03%)
:arrow_down:

pkg/httperrors/errors.go
2.00% <0.00%> (ø)

... and 590 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 6a7221d...4527590. Read the comment docs.


px4_posix: add px4_exit()

Describe problem solved by the proposed pull request
While doing some adaptations on the uavcan driver, I faced that, for a POSIX target, one bumps into error: attempt to use poisoned "exit".
Test data / coverage
Tested under SITL.
Describe your preferred solution
This solution creates a px4_exit(status) under px4_posix.h, replacing the exit() call with a return call.
Additional context
I don't have any clear usage on the current source code, but maybe there is. @julianoes @dagar maybe you can point out some places where we can use this as a replacement to the exit calls.
TODO

[ ] Add usage?

I think this is fine for now but it won't work in general because it depends on the function having return type int (and not void).

I guess I can make it more general in that sense.

Can you look into where and why uavcan is using it?

Can you look into where and why uavcan is using it?

Yest I can and I can replace it on a PR.


Build failure: python311Packages.pydevd

Steps To Reproduce
Steps to reproduce the behavior:

nix-shell -p python311Packages.pydevd

Build log
same as hydra
Additional context
Add any other context about the problem here.
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.7, NixOS, 24.05 (Uakari), 24.05pre614481.5c24cf2f0a12`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

I started with #306271 but unfortunately there is more to do.


azcopy make doesn't work when executed from Azure DevOps

I am using the azcopy_10.4.3 version. I am trying to create a new container on a Target Storage account. The following command works when I execute locally in PowerShell.
./azcopy.exe make 'https://{storageaccount}.blob.core.windows.net/{containername}?{SASToken}'
The SASToken has rcwdl permissions.
The same command with the same SAS token consistently fails when executed from Azure DevOps pipelines from both PowerShell and Azure Powershell Tasks with the error "no SAS token or OAuth token is present and the resource is not public" .

Sounds like something may be going wrong with the command line parsing in the devops pipeline.  Can you set up a little pipeline task that just echoes its parameters to a log file, and pass it the same parameters as you are passing to AzCopy (maybe use a SAS that's already expired, if you don't want to log a live SAS into your debug logs).  Then see if there's an evidence of something going wrong there.

Hi John. Yes I tried all the above option of printing the entire syntax of the AzCopy command along with SAS token. The generated command works perfectly from local machine, but consistently fails from Azure DevOps  release pipelines.

And you are using the same command processor in both places? E.g. PowerShell in both places, or CMD in both places?

Yes. PowerShell in both the places. Tested with Azure PowerShell as well.

Are you using the same SAS token in both places?  To create a container that definitely does not exist beforehand?

(Just trying to eliminate any easy causes, before puzzling over hard ones!)

Yes. The same SAS Token is used at both the places . In fact this token is being generated from the Pipeline and used both locally and from pipeline.

Is it possible that, when used from the DevOps pipeline, some, or all, of the SAS token is being removed by the pipline?  I ask because SAS tokens are usually considered to be authentication secrets.  Some tooling removes or redacts part of the SAS token for exactly that reason. (E.g. AzCopy's own logging code does that, when logging URLs to the azcopy log file).
If something in your tooling or pipeline was looking at the SAS and saying, "oh, that looks like a SAS token, I should redact it", that could explain what you are seeing.  In particular, I have just done some tests and verified the following:

If I remove the "sig=...." portion of the SAS I see the error that you see.
If I remove just the value after sig=,I also see the error that you see.
I currently cannot find any other way to reproduce the error that you are seeing, other than removing the whole SAS token (which has the same effect).

I can't think of anything more that we, on the AzCopy team, can do to help with is issue at this time.  Let us know if you think of something.

Hi John, changing the single quotes to double quotes in the below command resolved the issue. Appreciate all you help on this issue. Thank you.
Failed Command: ./azcopy.exe make 'https://{storageaccount}.blob.core.windows.net/{containername}?{SASToken}'
Working Command: ./azcopy.exe make "https://{storageaccount}.blob.core.windows.net/{containername}?{SASToken}"

Thanks for the update. Glad to hear its working for you now.


Linux 下无模型加载时一直报错 FileNotFoundError: [Errno 2] No such file or directory: 'weights/[]'

OS: linux
python 执行 webui，功能正常，但会不停报错以下报文：
loading weights/[]
Traceback (most recent call last):
File "/home/vior/miniconda3/envs/RVCtrain/lib/python3.9/site-packages/gradio/routes.py", line 384, in run_predict
output = await app.get_blocks().process_api(
File "/home/vior/miniconda3/envs/RVCtrain/lib/python3.9/site-packages/gradio/blocks.py", line 1024, in process_api
result = await self.call_function(
File "/home/vior/miniconda3/envs/RVCtrain/lib/python3.9/site-packages/gradio/blocks.py", line 836, in call_function
prediction = await anyio.to_thread.run_sync(
File "/home/vior/miniconda3/envs/RVCtrain/lib/python3.9/site-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/home/vior/miniconda3/envs/RVCtrain/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/home/vior/miniconda3/envs/RVCtrain/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/mnt/E/AI/Mytts/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 167, in get_vc
cpt = torch.load(person, map_location="cpu")
File "/home/vior/miniconda3/envs/RVCtrain/lib/python3.9/site-packages/torch/serialization.py", line 791, in load
with _open_file_like(f, 'rb') as opened_file:
File "/home/vior/miniconda3/envs/RVCtrain/lib/python3.9/site-packages/torch/serialization.py", line 271, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/vior/miniconda3/envs/RVCtrain/lib/python3.9/site-packages/torch/serialization.py", line 252, in init
super().init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'weights/[]'
直到加载模型后解决，不知道能不能修复这个 bug

训练完成后要刷新音色，选完音色才能正常加载

训练完成后要刷新音色，选完音色才能正常加载

这个知道，只是在初次启动一直到训练完成刷新后报错才会消失。并且错误会很快的塞满命令行，让训练和预处理的回显很难看到。或许你们可以在 readme 里面加一条要求加载初始模型之类的？

貌似是只要模型推理音色为空就会这样，哪怕 weight 目录下已有文件，只要在模型推理下的推理音色选择任何选项就不会报错了


Custom OAuth Protected Web Services

So far the only protected Service by OAuth is /oauth2.0/profile. Having a Custom Service in a Custom webapp, e.g. /myapp/rest/data and protect it by OAuth is not possibe at the moment.
The goal would be to provide a servlet filter which protects services and checks an access token towards the jasig OAuth server.
See also https://groups.google.com/a/apereo.org/forum/#!topic/cas-user/S_feEPvn5Yk
CAS server version: 4.2
Container type: Tomcat

You have got the flow incorrectly here. This is not something CAS would want to do. Custom service's concerns are custom service's concern. If you want to protect /myapp/rest/data, then you need to ensure it's configured to talk to CAS via whatever mechanism you deem fit (such as a filter), inside your own app, not CAS.

Or at best, this might be something you could contribute to the CAS client, not the server.


upm::Servo::setAngle has incorrect logic for servo positioning

The setAngle method in upm::Servo uses incorrect logic to position the servo it controls. It appears to send a PWM signal for a calculated number of 8ms periods, then shut off the PWM signal entirely. This behavior is incorrect in that the servo does not have time to move to its intended location, and even if it did the servo would not hold its location once it arrived.

Thank you for contributing this bug fix!  You're pull request has been merged in.


No such file or directory when looking for cache dir

$ bundle exec jekyll serve -t
[...]
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/find.rb:40:in `block in find': No such file or directory (Errno::ENOENT)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/find.rb:40:in `collect!'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/find.rb:40:in `find'
	from /Library/Ruby/Gems/2.0.0/gems/octopress-ink-1.0.0.rc.33/lib/octopress-ink/cache.rb:33:in `each'
	from /Library/Ruby/Gems/2.0.0/gems/octopress-ink-1.0.0.rc.33/lib/octopress-ink/cache.rb:33:in `to_a'
	from /Library/Ruby/Gems/2.0.0/gems/octopress-ink-1.0.0.rc.33/lib/octopress-ink/cache.rb:33:in `clean'
[...]

Cool. I'm on it.

This should be fixed, and hopefully nothing else is still broken.

Indeed it is :smile:
Thanks for your time!!!
The only bug left on my radar is this one: octopress/pullquote-tag#1


Added flag definitions for kompose #37

@cab105 I'm gonna refuse this PR because you was doing it in the keynote.

At least I'm doing something productive while paying attention.

So tell me what Kelsey was talking at his keynote section? :trollface:

What is kubeadm for 100 @ngtuna?

Tested. LGTM


added new test to parent_label

I wrote a description but not sure why it is not showing on the PR.
I have added a new test to parent_label
def parent_label(o, **kwargs):     "Label item with the parent folder name."     return o.parent.name if isinstance(o, Path) else o.split(os.path.sep)[-1]
Currently, there is no test to check else o.split(os.path.sep)[-1]
ie.,  the only tests that exist for parent_label are
test_eq(parent_label(items[0]), '3') [parent_label(o) for o in items]
And items[0] is of type Path.
I have added a new test for type str and also believe else o.split(os.path.sep)[-1] should be updated to else o.split(os.path.sep)[-2] to return parent label.
Regards

Good idea! Note that you need to run tools/run-after-git-clone, re-export, and then push again, since you have some extra metadata in your diff.

@jph00 Done :)
Should be ok now - only 1 thing though, I had to manually update outputs of untar_data ie., absolute paths.

Great! Don't worry in the future about editing outputs like that - it's unlikely that would result in a conflict, whereas document metadata changes are very likely to result in conflicts.


RuneScape - error while loading shared libraries: libgdk-x11-2.0.so.0

Game
https://store.steampowered.com/app/1343400/RuneScape/
Engine
Proprietary
Linux Distribution
NixOS/Flatpak
Luxtorpeda Version
65.0.1
Bug description
Doesn't start. Seems to be missing a library, libgdk-x11-2.0.so.0
Relevant log output
/bin/bash: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libtinfo.so.6: no version informatio
ignoring iscriptevaluator.exe
GameAction [AppID 1343400, ActionID 22] : LaunchApp changed task to SynchronizingControllerConfig with ""
Loaded Config for Local Selection Path for App ID 1343400, Controller 4: /home/jdf/.var/app/com.valvesoftware.Steam/.loc
666854410136563581_legacy.bin
GameAction [AppID 1343400, ActionID 22] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
Loaded Config for Local Selection Path for App ID 413080, Controller 4: /home/jdf/.var/app/com.valvesoftware.Steam/.loca
GameAction [AppID 1343400, ActionID 22] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 1343400, ActionID 22] : LaunchApp waiting for user response to CreatingProcess ""
Loaded Config for Local Selection Path for App ID 413080, Controller 4: /home/jdf/.var/app/com.valvesoftware.Steam/.loca
GameAction [AppID 1343400, ActionID 22] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1343400
eam/ubuntu12_32/steam-launch-wrapper -- '/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/
ndrun -- '/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/compatibilitytools.d/luxtorpeda-65.0.1'/luxtorpe
e.Steam/.local/share/Steam/steamapps/common/RuneScape/bin/win64/RuneScape.exe'\0
Game process added : AppID 1343400 "/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper Ste
e.Steam/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/
int --verb=waitforexitandrun -- '/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/compatibilitytools.d/luxt
ar/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/RuneScape/bin/win64/RuneScape.exe'", ProcID 8143, IP
chdir "/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/RuneScape"
ERROR: ld.so: object '/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so'
S32): ignored.
ERROR: ld.so: object '/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so'
S64): ignored.
Local Device Found
  type: 28de 1142
  path: /dev/hidraw5
  serial_number:  - 4
  Manufacturer: Valve Software
  Product:      Steam Controller
  Release:      1
  Interface:    0

Local Device Found
  type: 28de 1142
  path: /dev/hidraw5
  serial_number:  - 4
  Manufacturer: Valve Software
  Product:      Steam Controller
  Release:      1
  Interface:    0

Local Device Found
  type: 28de 1142
  path: /dev/hidraw5
  serial_number:  - 4
  Manufacturer: Valve Software
  Product:      Steam Controller
  Release:      1
  Interface:    0

Local Device Found
  type: 28de 1102
  path: /dev/hidraw8
  serial_number:  - 1
  Manufacturer: Valve Software
  Product:      Wired Controller
  Release:      100
  Interface:    0

Local Device Found
  type: 28de 1102
  path: /dev/hidraw9
  serial_number:  - 1
  Manufacturer: Valve Software
  Product:      Wired Controller
  Release:      100
  Interface:    1

Local Device Found
  type: 28de 1102
  path: /dev/hidraw9
  serial_number:  - 1
  Manufacturer: Valve Software
  Product:      Wired Controller
  Release:      100
  Interface:    1

ERROR: ld.so: object '/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so'
S32): ignored.
ERROR: ld.so: object '/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so'
S32): ignored.
ERROR: ld.so: object '/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so'
S32): ignored.
Loaded Config for Local Selection Path for App ID 1343400, Controller 4: /home/jdf/.var/app/com.valvesoftware.Steam/.loc
666854410136563581_legacy.bin
GameAction [AppID 1343400, ActionID 22] : LaunchApp changed task to WaitingGameWindow with ""
Loaded Config for Local Selection Path for App ID 394690, Controller 4: /home/jdf/.var/app/com.valvesoftware.Steam/.loca
70448573759331197_legacy.bin
Loaded Config for Local Selection Path for App ID 1281930, Controller 4: /home/jdf/.var/app/com.valvesoftware.Steam/.loc
Loaded Config for Local Selection Path for App ID 1417010, Controller 4: /home/jdf/.var/app/com.valvesoftware.Steam/.loc

(steam:173): GLib-GObject-CRITICAL **: 00:37:07.083: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(steam:173): GLib-GObject-CRITICAL **: 00:37:07.083: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
GameAction [AppID 1343400, ActionID 22] : LaunchApp changed task to Completed with ""
WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 102163 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 240010 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 6 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 693768 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 102163 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 240010 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 6 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 693768 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 102163 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 240010 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 6 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 693768 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
/bin/bash: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (requ
LD_PRELOAD found with /tmp/pressure-vessel-libs-LHC851/${PLATFORM}/gameoverlayrenderer.so
pid 8250 != 8249, skipping destruction (fork without exec?)
Godot Engine v3.5.2.stable.custom_build.170ba337a - https://godotengine.org
Local Device Found
                    type: 28de 1142
                                     path: /dev/hidraw5
                                                         serial_number:  - 4
                                                                              Manufacturer: Valve Software
                                                                                Product:

ice Found
           type: 28de 1142
                            path: /dev/hidraw5
                                                serial_number:  - 4
                                                                     Manufacturer: Valve Software
                                                                                Product:      Steam C

 type: 28de 1142
                  path: /dev/hidraw5
                                      serial_number:  - 4
                                                           Manufacturer: Valve Software
                                                                                Product:      Steam Controller

de 1102
         path: /dev/hidraw8
                             serial_number:  - 1
                                                  Manufacturer: Valve Software
                                                                                Product:      Wired Controller
                                                                                Release:

 path: /dev/hidraw9
                     serial_number:  - 1
                                          Manufacturer: Valve Software
                                                                        Product:      Wired Controller
                                                                                Release:      10

/dev/hidraw9
              serial_number:  - 1
                                   Manufacturer: Valve Software
                                                                 Product:      Wired Controller
                                                                                Release:      100
                                                                                Inte

                                                                                OpenGL ES 3.0 Renderer: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2
Async. shader compilation: OFF

00:37:07 [INFO] setup_logging success
00:37:07 [INFO] config_file_path exists, reading
00:37:07 [INFO] config_file_path exists, reading
00:37:08 [INFO] update_packages_json. found hash: d4a6801b524541017a2fb7961ec12ba87912bec6945a32b20abbe5ff4e68d83c
00:37:08 [INFO] update_packages_json. found hash and remote hash: d4a6801b524541017a2fb7961ec12ba87912bec6945a32b20abbe5ff4e68d83c d4a6801b524541017a2fb7961ec12ba87912bec6945a32b20abbe5ff4e68d83c
00:37:08 [INFO] packages_json_file exists, reading
00:37:08 [INFO] user_packages_file not found
00:37:08 [INFO] runescape-launcher_2.2.11_amd64.deb found in cache (skip)
00:37:08 [INFO] runescape-1343400-4.tar.xz found in cache (skip)
00:37:08 [INFO] packages_json_file exists, reading
00:37:08 [INFO] user_packages_file not found
00:37:08 [INFO] runescape-launcher_2.2.11_amd64.deb found in cache (skip)
00:37:08 [INFO] runescape-1343400-4.tar.xz found in cache (skip)
00:37:08 [INFO] Downloads is empty
00:37:08 [INFO] packages_json_file exists, reading
00:37:08 [INFO] user_packages_file not found
00:37:08 [INFO] json:
00:37:08 [INFO] Game { game_name: "RuneScape", engine_name: "runescape", command: Some("./run-runescape.sh"), command_args: [], download_config: None, cloud_not_available: true, cloud_supported: false, cloud_available: false, cloud_issue: false, download: [DownloadItem { name: "runescape-binaries", url: "https://content.runescape.com/downloads/ubuntu/pool/non-free/r/runescape-launcher/", file: "runescape-launcher_2.2.11_amd64.deb", cache_by_name: false }, DownloadItem { name: "runescape", url: "https://github.com/luxtorpeda-dev/packages/releases/download/runescape-4/", file: "runescape-1343400-4.tar.xz", cache_by_name: false }], app_id: "1343400", choices: None, notices: None, controller_steam_default: false, use_original_command_directory: false, app_ids_deps: None, setup: None, commands: None }
00:37:08 [INFO] config_file_path exists, reading
00:37:08 [INFO] hash_check_install is enabled, checking for runescape-binaries
00:37:08 [INFO] runescape-binaries.hash has been found, checking hash against file
00:37:08 [INFO] cached hash is 61602e1be35342d2da6e470e45694d769faaae244d840a30fa9913fb3ccd865a; install file hash is 61602e1be35342d2da6e470e45694d769faaae244d840a30fa9913fb3ccd865a
00:37:08 [INFO] hash for runescape-binaries is same, skipping install
00:37:08 [INFO] hash_check_install is enabled, checking for runescape
00:37:08 [INFO] runescape.hash has been found, checking hash against file
00:37:08 [INFO] cached hash is caf0d54cef244e65210a6f176a2e281614ea8be3a01dfad9fa687f30806595c3; install file hash is caf0d54cef244e65210a6f176a2e281614ea8be3a01dfad9fa687f30806595c3
00:37:08 [INFO] hash for runescape is same, skipping install
00:37:08 [INFO] run: "./run-runescape.sh" with args: [] []
/bin/bash: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (required by /bin/bash)
./usr/share/games/runescape-launcher/runescape: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory
00:37:08 [INFO] run returned with exit status: 127
Game process removed: AppID 1343400 "/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1343400 -- /home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/compatibilitytools.d/luxtorpeda-65.0.1'/luxtorpeda.sh waitforexitandrun  '/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/RuneScape/bin/win64/RuneScape.exe'", ProcID 8143
ThreadGetProcessExitCode: no such process 8267
ThreadGetProcessExitCode: no such process 8249
ThreadGetProcessExitCode: no such process 8145
ThreadGetProcessExitCode: no such process 8144
Uploaded AppInterfaceStats to Steam

Thanks for reporting, this should be fixed in https://github.com/luxtorpeda-dev/packages/actions/runs/5286208965
The issue was that the new steam linux runtime does not provide gtk 2.0, just 3. I've moved this to run under the steam linux runtime (scout). Let me know if you run into any issues.

I tried it again and I appear to be getting the same error:
06:48:29 [INFO] user_packages_file not found
06:48:29 [INFO] runescape-launcher_2.2.11_amd64.deb found in cache (skip)
06:48:29 [INFO] runescape-1343400-4.tar.xz found in cache (skip)
06:48:29 [INFO] packages_json_file exists, reading
06:48:29 [INFO] user_packages_file not found
06:48:29 [INFO] get_app_id_deps_paths. searching for app id 1070560.
06:48:29 [INFO] get_app_id_deps_paths. app id 1070560 found at "/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/SteamLinuxRuntime".
06:48:29 [INFO] download_all. get_app_id_deps_paths completed
06:48:29 [INFO] runescape-launcher_2.2.11_amd64.deb found in cache (skip)
06:48:29 [INFO] runescape-1343400-4.tar.xz found in cache (skip)
06:48:29 [INFO] Downloads is empty
06:48:29 [INFO] packages_json_file exists, reading
06:48:29 [INFO] user_packages_file not found
06:48:29 [INFO] json:
06:48:29 [INFO] Game { game_name: "RuneScape", engine_name: "runescape", command: Some("./run-runescape.sh"), command_args: [], download_config: None, cloud_not_available: true, cloud_supported: false, cloud_available: false, cloud_issue: false, download: [DownloadItem
{ name: "runescape-binaries", url: "https://content.runescape.com/downloads/ubuntu/pool/non-free/r/runescape-launcher/", file: "runescape-launcher_2.2.11_amd64.deb", cache_by_name: false }, DownloadItem { name: "runescape", url: "https://github.com/luxtorpeda-dev/packages/releases/download/runescape-4/", file: "runescape-1343400-4.tar.xz", cache_by_name: false }], app_id: "1343400", choices: None, notices: None, controller_steam_default: false, use_original_command_directory: false, app_ids_deps: Some([1070560]), setup: None, commands: None }
06:48:29 [INFO] config_file_path exists, reading
06:48:29 [INFO] hash_check_install is enabled, checking for runescape-binaries
06:48:29 [INFO] runescape-binaries.hash has been found, checking hash against file
06:48:29 [INFO] cached hash is 61602e1be35342d2da6e470e45694d769faaae244d840a30fa9913fb3ccd865a; install file hash is 61602e1be35342d2da6e470e45694d769faaae244d840a30fa9913fb3ccd865a
06:48:29 [INFO] hash for runescape-binaries is same, skipping install
06:48:29 [INFO] hash_check_install is enabled, checking for runescape
06:48:29 [INFO] runescape.hash has been found, checking hash against file
06:48:29 [INFO] cached hash is caf0d54cef244e65210a6f176a2e281614ea8be3a01dfad9fa687f30806595c3; install file hash is caf0d54cef244e65210a6f176a2e281614ea8be3a01dfad9fa687f30806595c3
06:48:29 [INFO] hash for runescape is same, skipping install
06:48:29 [INFO] run: "./run-runescape.sh" with args: [] []
/bin/bash: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (required by /bin/bash)
./usr/share/games/runescape-launcher/runescape: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory
06:48:29 [INFO] run returned with exit status: 127
Game process removed: AppID 1343400 "/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1343400 -- /home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/compatibilitytools.d/luxtorpeda-65.0.1'/luxtorpeda.sh waitforexitandrun  '/home/jdf/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/RuneScape/bin/win64/RuneScape.exe'", ProcID 17806
ThreadGetProcessExitCode: no such process 17929
ThreadGetProcessExitCode: no such process 17912
ThreadGetProcessExitCode: no such process 17808
ThreadGetProcessExitCode: no such process 17807
Uploaded AppInterfaceStats to Steam

Thanks, it's working now.


fix(deps): update terraform ibm to latest for the da solution

This PR contains the following updates:

Package
Type
Update
Change

ibm (source)
required_provider
patch
1.64.1 -> 1.64.2

Release Notes

IBM-Cloud/terraform-provider-ibm (ibm)
v1.64.2
Compare Source
BugFixes

fix(ibm_database resource): Fix cpuEnforcement multitenant bug
(5271)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

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

This PR has been generated by Renovate Bot.

/run pipeline

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

GitHub release
v2.0.12

Your semantic-release bot :package::rocket:


'jupyter.createnewnotebook' not found

Jupyter: Create New Blank Notebook results in the above error

Duplicate of https://github.com/cdr/code-server/issues/3874


Travis CI - bundler: failed to load command: danger

@danger

Report

My pull request: https://github.com/bunto/bunto/pull/103
The Travis CI log: https://travis-ci.org/bunto/bunto/jobs/198288413

What did you do?
Run danger local:
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. Alle Rechte vorbehalten.

 to update what will be committed)                       |
|                  |                                                                                |
|                  |                                                                                |
|                  | (use "git checkout -- <file>..."   to update what will be committed)                       |
|                  |                                                                                |
|                  |                                                                                |
|                  | (use "git checkout -- <file>..."   Please add a link to the issue in the PR body.
~\Documents\GitHub\bunto [danger ≡]>

Results in Travis:
e:end:19a49070:start=1486202496609422675,finish=1486202496614325237,duration=4902562

$ bundle exec danger
bundler: failed to load command: danger (/home/travis/build/bunto/bunto/vendor/bundle/ruby/2.3.0/bin/danger)

Danger::DSLError:
[!] Invalid `Dangerfile` file: undefined local variable or method `pr_author' for #<Danger::Dangerfile:0x00000001348fe0>
 #  from Dangerfile:11
 #  -------------------------------------------
 #  if github.pr_body.length < 5
 >    warn("Please provide a changelog summary in the Pull Request description @#{pr_author}")
 #  end
 #  -------------------------------------------
  /home/travis/build/bunto/bunto/vendor/bundle/ruby/2.3.0/gems/danger-4.2.1/lib/danger/danger_core/dangerfile.rb:68:in `method_missing'
  Dangerfile:11:in `block in parse'
  /home/travis/build/bunto/bunto/vendor/bundle/ruby/2.3.0/gems/danger-4.2.1/lib/danger/danger_core/dangerfile.rb:199:in `eval'
  /home/travis/build/bunto/bunto/vendor/bundle/ruby/2.3.0/gems/danger-4.2.1/lib/danger/danger_core/dangerfile.rb:199:in `block in parse'
  /home/travis/build/bunto/bunto/vendor/bundle/ruby/2.3.0/gems/danger-4.2.1/lib/danger/danger_core/dangerfile.rb:195:in `instance_eval'
  /home/travis/build/bunto/bunto/vendor/bundle/ruby/2.3.0/gems/danger-4.2.1/lib/danger/danger_core/dangerfile.rb:195:in `parse'
  /home/travis/build/bunto/bunto/vendor/bundle/ruby/2.3.0/gems/danger-4.2.1/lib/danger/danger_core/dangerfile.rb:272:in `run'
  /home/travis/build/bunto/bunto/vendor/bundle/ruby/2.3.0/gems/danger-4.2.1/lib/danger/danger_core/executor.rb:27:in `run'
  /home/travis/build/bunto/bunto/vendor/bundle/ruby/2.3.0/gems/danger-4.2.1/lib/danger/commands/runner.rb:66:in `run'
  /home/travis/build/bunto/bunto/vendor/bundle/ruby/2.3.0/gems/claide-1.0.1/lib/claide/command.rb:334:in `run'
  /home/travis/build/bunto/bunto/vendor/bundle/ruby/2.3.0/gems/danger-4.2.1/bin/danger:5:in `<top (required)>'
  /home/travis/build/bunto/bunto/vendor/bundle/ruby/2.3.0/bin/danger:23:in `load'
  /home/travis/build/bunto/bunto/vendor/bundle/ruby/2.3.0/bin/danger:23:in `<top (required)>'

The command "bundle exec danger" failed and exited with 1 during .
Your build has been stopped.

What did you expect to happen?
Running your Dangerfile without it crashing.
What happened instead?
💥
Your Environment

Which CI are you running on? Travis CI
Are you running the latest version of Danger? Yes
What is your Dangerfile?

# We generally try to avoid big PRs
warn("Big PR") if git.lines_of_code > 500

# Show a warning for PRs that are Work In Progress
if (github.pr_body + github.pr_title).include?("WIP")
  warn("Pull Request is Work in Progress")
end

# Contributors should always provide a changelog when submitting a PR
if github.pr_body.length < 5
  warn("Please provide a changelog summary in the Pull Request description @#{pr_author}")
end

# We want contributors to create an issue first before submitting a PR
# Exceptions are version bumps
if !github.pr_title.downcase.include?('version bump') &&
   !github.pr_body.include?("https://github.com/bunto/bunto/issues/") &&
   github.pr_body.match(/#\d+/).nil?
  warn("Before submitting a Pull Request, please create an issue on GitHub to discuss the change. Please add a link to the issue in the PR body.")
end

Cheers,
Suriyaa Kudo :octocat:

Doesn't it have to be github.pr_author rather than pr_author in the following line?
  warn("Please provide a changelog summary in the Pull Request description @#{pr_author}")

@hanneskaeufler 👍 Thank you! It works!


Added documentation section on local, workflow, global exception handling - done

Parts where this change will come in
tagui_parse.php where UI element not found
function end_tx($locator) { // helper function to return ending string for handling locators
if ($GLOBALS['inside_while_loop'] == 0)
return "},\nfunction timeout() {this.capture('".abs_file(pathinfo($GLOBALS['script'],PATHINFO_FILENAME))."_error.png');".
"\nthis.echo('ERROR - cannot find ".$locator."').exit(); this.wait(0);});}"."});".end_fi()."\n\n";
else if ($GLOBALS['inside_code_block']==0)
{$GLOBALS['inside_while_loop'] = 0; // reset inside_while_loop if not inside block
$GLOBALS['for_loop_tracker'] = ""; // reset for_loop_tracker if not inside block
return "\n";} else return "\n";}

tagui_header.js for all other errors, eg missing variable
// global try-catch for catching unexpected and unhandled errors, eg referencing an undeclared variable
phantom.onError = function(msg, trace) {if (msg.indexOf('Error:') !== -1) { // clean up and format error message
msg = msg.substring(msg.indexOf('Error:')+6).trim(); msg = msg.charAt(0).toLowerCase() + msg.slice(1);}
casper.echo('ERROR - ' + msg).exit();}

Asking @ruthtxh for some examples to understand more -

I'm trying to see at what level the error handling should be done - ie entire PC level, entire script level, or specific section

And what kind of error handling is required - eg running some pre-defined tagui steps, or running some tagui steps defined within script, or running some post execution steps on OS level / API level

From Ruth, for AA it's Try-Catch -
https://developer.automationanywhere.com/blog/learning-to-use-the-error-handler-package

Tried implementing the code changes, and reconfirm that the architecture using CasperJS can't do a proper try-catch.
a = 1
try
    echo `a`
catch
    echo ERROR CAUGHT

Above compiles to below which is correct CasperJS syntax, but try-catch becomes separate blocks which is invalid JS code.
casper.then(function() {try
{ // start of code block

casper.then(function() {this.echo(''+a+'');});

} // end of code block
});

casper.then(function() {catch
{ // start of code block

casper.then(function() {this.echo('ERROR CAUGHT');});

} // end of code block
});

Attached a backup copy of the code changes - tagui_parse.php.zip

Have to explore alternative like chaining TagUI workflows

Solution found for macOS -
flow.tag
a = 1
echo `b`

error.tag
// do some API calls, notifications or UI steps
echo error encountered, do something here

Solution below - error.tag will be run if there is error running flow.tag
tagui flow.tag -nobrowser || tagui error.tag -nobrowser

Solution found for Windows too (same syntax as macOS / Linux) -
flow.tag
a = 1
echo `b`

error.tag
// do some API calls, notifications or UI steps
echo error encountered, do something here

Solution below - error.tag will be run if there is error running flow.tag
tagui flow.tag || tagui error.tag

Solution below - success.tag will be run if flow.tag run successfully
tagui flow.tag && tagui success.tag

Next step would be updating to Advanced Concepts section of documentation - https://tagui.readthedocs.io/en/latest/advanced.html

Added https://tagui.readthedocs.io/en/latest/advanced.html#handling-exceptions-and-errors

Handling exceptions and errors
There are 3 ways to handle exceptions in TagUI when things do not go as planned.
The first way is local error handling. This means using if conditions to check specifically for certain scenarios and handling the scenarios accordingly. For example, check if some UI element is missing, then do xyz steps. Using this way, a workflow can have multiple fine-grain exception handling.
The second way is workflow error handling. A workflow can be chained as follows to handle error or success accordingly. The workflow error.tag will run only if flow.tag errors out. The workflow success.tag will run only if flow.tag runs successfully. TagUI will automatically throw error when it detects an expected UI element missing (and autosave screenshot) or some other unknown errors.
Windows example from the command prompt:
call tagui flow.tag || tagui error.tag
call tagui flow.tag && tagui success.tag

macOS / Linux example from the terminal:
tagui flow.tag || tagui error.tag
tagui flow.tag && tagui success.tag

The third way is global error handling. Configuration can be done for TagUI such that after every run, special handling is done to send data or files generated from the report option to some target folder or API endpoint for error / success handling. For example, syncing all automation runs to central storage for auditing purpose. The special handling applies to all TagUI flows that are run.

Closing since this change has made its way into the latest packaged release.


Google Sign-In with PWABuilder iOS Platform (webview issue?)

The "platform creates a native Swift app with a WebKit web view to load your PWA"
According to https://developers.googleblog.com/2021/06/upcoming-security-changes-to-googles-oauth-2.0-authorization-endpoint.html, Google Sign-In does not allow webviews so I would expect my Javascript Google Sign In not to work. It obviously works fine on the web and as a TWA in the Play Store.
On the other hand, documents like IOSPackageOptions mention "account.google.com" as example of domain being permitted to navigate to so presumably it is meant to work?
In my Xcode Info.plist, I make sure to have WKAppBoundDomains which contains accounts.google.com. Without it, clicking on my Google SIgn-In does not work. Once added though, it only goes this far after completing authentication (screenshot below):

Am I missing something? Do we need some native solution to use Google Sign-In? PWA Builder is such an amazing tool. Perhaps a bit more documentation on how to handle webviews, especially for auth (Google, Facebook, Telegram etc) would be amazing. Some of us (me) have not needed to tinker with Xcode since we are doing PWAs so it's suddenly a whole new ballgame.

make sure your code has this commit as part of it:
https://github.com/pwa-builder/pwabuilder-ios/commit/10fc4d787a058050c0d8cd943fc8e24bddaa6af0
more details in #30

make sure your code has this commit as part of it: 10fc4d7
more details in #30

Right - is this long-term solution or more of a temporary hack?
For example, quoting the microsoft-authentication-library-for-android folks:

Behavior is by-design; we don't intend to allow developer to bypass Google security behavior of disallowing WebView access to Google Sign-In


focus_follows_mouse

The following config line is highlighted in red:
focus_follows_mouse false

Hmm... Seems like i3 is recognizing true/false in focus_follows_mouse, which is undocumented behaviour

according to the docs https://i3wm.org/docs/userguide.html
4.22. Focus follows mouse
By default, window focus follows your mouse movements as the mouse crosses window borders. However, if you have a setup where your mouse usually is in your way (like a touchpad on your laptop which you do not want to disable completely), you might want to disable focus follows mouse and control focus only by using your keyboard. The mouse will still be useful inside the currently active window (for example to click on links in your browser window).
Syntax:
focus_follows_mouse yes|no
Example:
focus_follows_mouse no
https://github.com/mboughaba/i3config.vim/blob/da2aeaa81a19af58fba5ce555519f6ca49108241/syntax/i3config.vim#L138


Adds careers landing page

Adds careers landing page.
Additions

Adds /careers/ landing page.

Removals

content-l_col__before-inset-divider cf-enhancement.

Changes

Adds fix for Youtube macro on /application-process/index.html
Fixes coding style spacing issues in cf-enhancements.less.

Testing

Visit /careers/

Review

@sebworks
@KimberlyMunoz
@jimmynotjim

Preview
Desktop:

Mobile:

Notes

Added adjustments for passing in a column value to the latest activities sidebar. @sebworks will be opening a PR for just this change, which will likely be merged before this and I'll rebase into here... so changelog update will happen there.

:+1:

Replaced with https://github.com/cfpb/cfgov-refresh/pull/736


Merge Swift 2.0 Into master

Due to bugs in Swift 2.0, I've made a new branch https://github.com/duemunk/Async/tree/feature/Swift_2.1 which will be merged to master soon.


fix: added missing metadata actions to index

Adding missing actions to index.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


chore: bdd-gh-1587092326 to 0.0.1

chore: Promote bdd-gh-1587092326 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


Fix extension deployment error

it fixes connect.eaas.core.deployment.utils.DeploymentError: Deployment file is not found.

Dear reviewers, please check all fields in provided yaml file I've copy-pasted them from connect-transformations repo. Also, I'd like to ask to you check an icon file. May I use it or should it be replaced with something else?


Add a test for QueryImage while busy to Darwin OTA CI.

Also fixes the test so that running individual tests using "-only-testing:MatterTests/..." does not require any compile-time changes.

Fast-tracking platform-specific test fix with platform owner review.


Add system test to travis

This finally adds system tests to travis, thanks to the last change to libtc that fixed the free problem. It also add a few small fixes.

hallelujah


libqrencode: alias to pkgs.qrencode.

Motivation for this change
The packages were almost equal, used the same major version and referred
to the same source without specifying custom build arguments in one of
each.
I decided to keep qrencode by default as the lib prefix may be
confusing as it wrongly indicates that only libraries are provided by
the package, but bin/qrencode is packaged in both of them.
Fixes #53133
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] 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/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

pinging @adolfogc, the maintainer of libqrencode.

Aliases cannot be used in nixpkgs.
Alternative PR which takes care of this plus some extra bells and whistles: https://github.com/NixOS/nixpkgs/pull/53149


Allow capitalized letters in ACIdentifier/ACName type?

Currently, the ACIdentifier(https://github.com/appc/spec/blob/master/spec/types.md#ac-identifier-type) and ACName(https://github.com/appc/spec/blob/master/spec/types.md#ac-name-type) are more strict than the RFCs, as they don't allow upper-case letters as we made the rule based on k8s's DNS_LABEL types.
However, both RFCs they based allow upper-case letters, so I don't know why we should not allow them.
One use case would be making the annotation keys compatible to docker labels.
Ref https://github.com/kubernetes/kubernetes/issues/23706
cc @jonboulle @thockin @sjpotter @random-liu

We made a choice to exclude uppercase letters in names for simplicity (well
before Docker did theirs).  Changing it now is a somewhat incompatible API
change (imagine an older kubectl and a newer apiserver, kubectl edit can
read an uppercase, and try to submit it but fail because it does
client-side validation.  Buggy as that is, it is real.
I don't think "be compatible with people who violate the recommended use"
is a strong argument for a change.
On Thu, Mar 31, 2016 at 2:20 PM, Yifan Gu<EMAIL_ADDRESS>wrote:

Currently, the ACIdentifier(
https://github.com/appc/spec/blob/master/spec/types.md#ac-identifier-type)
and ACName(
https://github.com/appc/spec/blob/master/spec/types.md#ac-name-type) are
more strict than the RFCs, as they don't allow upper-case letters as we
made the rule based on k8s's DNS_LABEL types.
However, both RFCs they based allow upper-case letters, so I don't know
why we should not allow them.
One use case would be making the annotation keys compatible to docker
labels.
Ref kubernetes/kubernetes#23706
https://github.com/kubernetes/kubernetes/issues/23706
cc @jonboulle https://github.com/jonboulle @thockin
https://github.com/thockin @sjpotter https://github.com/sjpotter
@random-liu https://github.com/random-liu
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/appc/spec/issues/588

We are already fixing https://github.com/kubernetes/kubernetes/issues/23706 in  https://github.com/kubernetes/kubernetes/pull/23725 by switching all labels to lowercase letters, so there is not much to gain for appc to make the change.


Bunge scraper is inactive on scraper.peviitor.ro

ENVIRONMENT: Windows, Mozilla Firefox
URL: https://scrapers.peviitor.ro/
STEPS TO REPRODUCE:
Open URL.
Type Bunge in the search bar.
Click on Bunge
Run Scraper function.
Expected results: We should have a result with company jobs
Actual results: Scraper is not loading . Status inactive

Now looks ok. please retest.

Same

@lalalaurentiu

@SimonaNemtanu

please retest

Closed #13 as completed


Rsa authentication

Thank you for your pull request and welcome to our community! We require contributors to sign a Contributor License Agreement and we don't seem to have CLAs on file for these contributors to the Pull Request: (@emilioweber). In order for your PR to be reviewed and merged, please follow the directions at the link above.
Project team: please do not merge this Pull Request until Foundation staff have confirmed that a CLA is in place for the new contributor(s) listed above.
If there are any questions, please don't hesitate to get in touch with our Infrastructure Support team. /CC @finos-admin

ok to test


Support Python 3.13

Do we support GIL disabling? (That's the question) Or just ship as-is state?

Support for the GIL disabling is pending for now because the cryptography package does not currently support it.


cmd/bosun: add timedelta func

Needs docs, and a couple funcs_test.go would be nice

looks like esc updated. We should all update.

Woot thanks!


extract file task is not working

[Enter feedback here]
thanks for great article on CICD on azure devops and databricks.
currently i am facing issue on extract file task part of release pipeline.
2023-11-23T14:50:52.0916263Z No path specified for search pattern: '/*.zip' defaulting to: /home/vsts/work/r1/a
2023-11-23T14:50:52.0917634Z Searching for: '/*.zip' under directory: /home/vsts/work/r1/a
2023-11-23T14:50:52.1037516Z ##[warning]No archives were found using specified file patterns
even archive file task in build pipeline actually archive it to below location
/usr/bin/zip -r /home/vsts/work/1/a/10.zip Libraries README.md azure-pipelines.yml dabdaddemo_notebook.py databricks.yml evaluate_notebook_runs.py run_unit_tests.py
and even i tried hardcoding it to archive in /home/vsts/work/r1/a but still throws same issue while extracting files that no archives were found. i am using the correct search pattern too - **/*.zip. could you please help on above.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 56b86f59-7a22-90c6-9aa6-652b85975612
Version Independent ID: b333ab7b-847b-7129-9b62-4b9b934747d7
Content: Continuous integration and delivery on Azure Databricks using Azure DevOps - Azure Databricks
Content Source: databricks/dev-tools/ci-cd/ci-cd-azure-devops.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@thadanihitesh
Thanks for your feedback! We will investigate and update as appropriate.

@thadanihitesh
It sounds like you're encountering an issue with the Extract Files task in your release pipeline. The warning message you're seeing indicates that the task was unable to find any archives using the specified file patterns.
Based on the information you've provided, it seems that the archive file was created in the build pipeline and saved to the /home/vsts/work/1/a/ directory. However, in the release pipeline, the Extract Files task is searching for archives in the /home/vsts/work/r1/a directory. This could be the reason why the task is unable to find the archive file.
To resolve this issue, you can try modifying the Extract Files task in your release pipeline to search for archives in the correct directory. You can do this by specifying the correct path in the "Root folder or file to extract" field of the task. For example, if the archive file is located in the /home/vsts/work/1/a/ directory, you can specify this path in the task as follows:
$(System.DefaultWorkingDirectory)/1/a/**/*.zip
This should ensure that the task searches for archives in the correct directory and is able to extract the files successfully.
If you've already tried this and are still encountering issues

@thadanihitesh
Thanks for your response. If there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Lens for all containers

Change LensProvider to accept Fabric allowing passing ContainerFabrics too.
New ContainerLens used for Fallback when no Lens can be found for a Container.
Use LensProviders for ContainerChest and ContainerPlayer. (more coming later)
When getting a Lens for a Container we first try to get existing Lenses from Adapter.
If the Container is no Adapter or has no Lens set yet we check for a LensProvider.
If there is still no Lens a new one will be generated for non-zero sized inventories:
For each inventory viewed in the Container we try to obtain a Lens and then wrap all of it in a ContainerLens.

The original design is for LensProvider to do this, there shoudn't really be a "generic container Lens" because the concept (as evidenced by the complicated heuristics you've have to employ) doesn't really translate all that well to real applications without kind of dissolving in its own complexity.
Essentially an Adapter should be able to initialise its root lens by inspecting the fabric it receives, the idea being that if a particular fabric is actually a LensProvider, then adapter can cast down and obtain the relevant root lens from the fabric itself.
The problem with the lens having to "work out" its own internal structure is that it compromises the concern that a lens is supposed to have. The kind of details you're encoding at the lens level here are supposed to be taken care of at the fabric or adapter level (eg. either side of the lens assembly) rather than by the lens itself.
There's a simple way to determine what logic belongs where in the 3-tier system which exists:

Does it represent the real structure of an underlying inventory? Fabric
Does it represent the logical structure of an underlying inventory? Lens
Does it represent the logical structure of an inventory at the API level? Adapter

It's up to adapters to decide what logical layout they are presenting, and thus the adapter builds the lens structure it requires in order to do so. Lenses never know any more than they need to do so to represent their own logical view: in a nutshell, the implementation only ever "looks through" the lens, kind of like a router. Lenses can delegate to sub-lenses where appropriate of course (eg. in the row/column sub-lenses of grid) but these are fundamental properties of the lenses themselves and are thuse encoded in the contract of those lens types.
Now in general since the Adapter is the inventory in question (yay mixin) the structure is understood and the Adapter can build the lens. Revisiting our understanding of inventories from the initial case study, the Adapter is actually the Model in this instance, so it can do so with impunity.
Fabric in all cases represents a ViewModel layer, but may either delegate to a Model (an inventory) or another ViewModel (a Container) as in DelegatingFabric, where we essentially have a MVVMVM (!!!!) due to the the existence of two ViewModels!
Since Adapter represents a delegating View, and lenses encode the actual structure of that View (and aren't expected to do anything else) it makes sense that this is normally the order of things.
Of course this comes apart with unknown containers since we have to create a View with no knowledge of the underlying Model, aside from what we can infer heuristically. What you have done here is encode the necessary heuristics, but in my view have done so at the wrong level.
Remember that an Adapter takes responsibility for building the lens structure - this is important due to the separation of concerns outlined above - but of course becomes problematic when the Adapter has no knowledge of the structure it needs to build. This is where LensProvider is supposed to step in.
The object "at the coal face" is the Fabric, and it is this which is meant to supply the information to the Adapter when the underlying model structure is unknown. The reason is that this can then support an inheritance-based system for decorating certain containers with their known lens structures - which can then be consumed by a wrapping Adapter - and decentralises the logic required to obtain lenses for all types of known or unknown inventory.
The heuristics you have are therefore correct, but missing a couple of crucial implementation features.

There should be no ContainerLens - the concept doesn't make sense in the intended pattern for lenses
Any object (like a Furnace, chest, etc) which needs to provide its own lenses should implement LensProvider and return the appropriate root lens with structure returned
A Fabric which represents a container should also be a LensProvider and return either the lens from its underlying LensProvider or should fall back to heuristics only if the container is not able to return a lens for itself.

The entire point and purpose of this approach is that then any inventory which wishes to encode its structure in a lens assembly is free to do so simply by returning said assembly. Heuristics occur at the Fabric level and are propagated up to the Adapter level and lenses have no intrinsic understanding of their underlying target. This maintains separation of concerns between Adapter/Lens/Fabric and ensures that all code required to build lens assemblies is kept where it belongs, with heuristics only ever becoming a fallback.
This design is the reason why:

initRootLens is a separate method in Adapter so that adapters can initialise their own lenses when possible, but delegate at other times
LensProvider exists at all, it is the stub of the functionality which wasn't completed in the initial pass

Hope that makes some sense.

@Mumfrey are those LensProviders looking good?

@Mumfrey
What are the Inventory methods using the Iterator (Inventory#iterator ; Inventory#first ; Inventory#next) supposed to return?
I think it should only be the spanning children as you can get the slots with Inventory#slots already.
So e.g. for (normal) Containers you would get adapter for:

The viewed inventory
The main player inventory
The player hotbar inventory
Is that correct? (Changes in last commit)

Currently the Iterator iterates over every child which results in iterating over the inventory multiple times.

Correct, the iterator is supposed to just iterate over the immediate (spanning) children. Basically from the original PR I mention that iteration order is via a notional spanning tree, the choice of which children are "spanning" is arbitrary but should be logical (eg. a grid could have spanning rows or spanning columns but spanning columns is more intuitive). At the "bottom" level (eg a row), the slots are the spanning children.
So yes, for a given container the spanning children are the direct sub-inventories, eg. the chest grid, player grid, player hotbar and offhand slot.

https://github.com/SpongePowered/SpongeCommon/commit/dbdea6856b9fb570f7e26b4587c3d48f1b0198dc


Potential Bug with SVG Upload Action

Howdy,
I've run into a potential bug with the SVG Uploader after the last couple of Sanity Studio updates where the Upload SVG button is no longer clickable. Previously uploaded SVGs can still be removed, but once gone you can't upload a new one.
I have not been able to track down the source of the issue (which may be beyond my capabilities) but I was able to create a hack with CSS to show the default browser Choose File button and make use of this plugin with that method.
Question
Is anyone else experiencing this issue with the latest Sanity updates? @artemartemov
Console Error Messages

My CSS Hack

Sanity Studio Versions

Here is the simple fix I came up with:
.svgPreviewBackground input[type=file] {
	cursor: pointer;
	opacity: 0;
	width: 100%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
}

This will make the click area fill the entire upload zone, appear invisible, and ensure it is on the z-index above the faux upload button.

Added a PR to fix these issues. Tested it locally and made another update.

fixed with #5


Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member.

Hi there! 👋
Massive kudos on the new sdk! 🙌  Been using cosmicjs for a while now, and with new dashboard beta, I had to give the new sdk a shot!
I'm having a bit of trouble setting things up, seems like you cannot await on queries? 🤔
For instance:
async function main() {
  let posts = await cosmic.objects
    .find({
      type: 'posts',
    })
    .props(['title', 'slug', 'metadata'])
    .limit(10);

  return posts;
}

TS will complain with:
Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member.(1320)

I've created a minimal stackblitz project to recreate this:
https://stackblitz.com/edit/node-goqgyn?file=src/index.ts
Again, kudos on the awesome work! 💯

Thank you @alfdocimo! Apologies, this issue slipped past us. We'll review and let you know when we have an update. Thank you for the report 🙌🏻


How can I get the filename with hash of a JSON file when I import it in my app instead of getting the JS object?

How can I get the filename with hash of a JSON file when I import it in my app instead of getting the JS object?
When I import a JSON file in my app:
import json from 'file.json'

I get its contents as a JS object. I would need to obtain a string with the hashed filename, just like create-react-app does with images, instead.
How can I do that?
I tried to remove the following regex from the file-loader rule in webpack.config.js:
-        exclude: [/\.(js|mjs|jsx|ts|tsx)$/, /\.html$/, /\.json$/],
+        exclude: [/\.(js|mjs|jsx|ts|tsx)$/, /\.html$/], // <---

But now I am getting the following error:
Module parse failed: Unexpected token m in JSON at position 0 while parsing near 'module.exports = __w...'

Is there a way to achieve what I am trying?

This will probably break other code that depends on json loading to work, but I think you could just add json to the url-loader test.

I have tried it but it didn't work.
I was able to solve by adding a new loader which handles only a subset of JSON files this way in a given directory. I placed it in the oneOf section below the sass-loader loader (I have previously ejected):
            ...
            {
              test: sassModuleRegex,
              use: getStyleLoaders(
                {
                  importLoaders: 2,
                  sourceMap: isEnvProduction && shouldUseSourceMap,
                  modules: true,
                  getLocalIdent: getCSSModuleLocalIdent
                },
                "sass-loader"
              )
            },
            // Static JSON files.
            {
              type: "javascript/auto",
              test: /\.json$/,
              loader: "file-loader",
              include: /\/json\/.*\.json$/,
              options: {
                context: path.resolve(__dirname, "../src/js/json"),
                name: "static/json/[path][name].[hash:8].[ext]"
              }
            },
            ...

This rule will give me the hashed path of the JSON file instead of its contents if the file is within the src/js/json directory when I import it in my JS code.
The hashed filename path will be the following: static/json/(eventual subdirectory of src/js/json)/(hashed filename).json
Hope this helps other people who are trying to achieve the same thing or have a similar use case.


some applications always open in the hidden section

Describe the bug
I specifically dragged Dropbox and Docker to the right of the hidden menu arrow.
However, when I launch these applications, their menu icon goes into the hidden section instead of my preference, the shown section.
I suspect this may have to do with the fact that these applications actually modify their own menubar icon when they launch.
In any case, hidden could improve integration with these applications.
I am having slightly better luck by placing the desired shown applications between the pipe and arrow icons.
Steps to reproduce

Launch Dropbox or Docker.

Expected behaviour
The Dropbox and Docker menubar icons should launch to the right of the hidden menu arrow.
Environment
You may write here the specifications like the version of the project, operating system, or hardware if applicable.
Desktop (please complete the following information):

OS: macOS Ventura
Version 1.9

Smartphone (please complete the following information):
N/A

I have the same issue, I'm not technically into that but my understanding is that these apps create "new icons" instead of "reusing" the already-moved-to-the-visible-section one.
This happens also for "smaller" apps like pomy.
I think it would be worth a try to put these apps into launch-on-login, maybe that changes their behaviour?
But this issue combined with the fact that it hides icons behind the notch really is a bummer to me. I would like to use the app so much as I think its pretty neat, but some issues need to be adressed in order to be useful/productive.

That issue happens when using Doll too

I got BackgroundMusic second icon always visible and can't get rid of it.

happens with 1Password as well, Sonoma 14.5


Update to ES6

I came across this component, and it works great!  I intend on submitting an enhancement PR, but noticed that the code is still using 0.14.7 as a dependency.
Are there plans to eventually update the library to use ES6 like the recommendation from the react team for future versions (> 15, 16)?

Hi! We'll probably transition to the class syntax once we start work on 2.0. Is there currently anything hindering you from submitting a PR? As far as I know we're not using any deprecated/removed APIs, so this component should work fine on both 0.14 and 15.

Not at the moment.  I just wasn't sure what the the next steps are for this project, so wanted to confirm before I proceed.
Thanks!


chore: update live hardfork to Arrow Glacier

FYI, forks can be seen here: https://ethereum.org/en/history/


Do we need plural parquets?

When designing, say, a Grey Brick, do we also need to specify their plural?
Consult with DQ Builders and Terraria.

I don't think we do.  Terraria gets on fine without them and if DQB uses them, it's rare.
(DQ 11 does use plurals, to support the dialogue-heavy shopping system, but I don't believe we want to emulate that.)


can list all pod in all namespace under a tenant?

Describe the feature
capsule-proxy can support list cluster-scope resource like ns,node in a tenant.
but if I'm a tenant owner,I want to list namespaced-scope resource(pods for example)with all ns under tenant, there is a way?
for example
kubctl get pod -A
even I'm tenant owner,this command output no permission since -A stands for all namespace, if capsule-proxy can transfer -A to only all namespaces owned tenant owner,that's very helpful
What would the new user story look like?
How would the new interaction with Capsule-Proxy look like?
Feel free to add a diagram if that helps explain things.
Expected behavior
A clear and concise description of what you expect to happen.

/assign @maxgio92 @prometherion

The assign command here doesn't work, besides the fact that are maintainers picking up the decision about features prioritization, and assignment.

This would be possible once we address clastix/capsule#756: the basic concept is to label all pods in the Tenant namespaces as capsule.clastix.io/tenant=$TNT_NAME in order to proxy to the API server with the required selector.

clearly, issue closed.

There's no need to close this issue
It's something that we can work on.

I am happy to spin up a draft. The only tricky part is with existing resources (eg. we would have to restart all pods with this change to add the labels).

Also interested in this feature! Would be nice if other namespaced resources are supported as well: services, networkpolicies, pvc etc.

Hi @ppeereb1, our current implementation indexes all namespaced resources (even crds!). You can expect this feature to be published in Q1

Just for the sake of clarity, we're going to support custom resource instances listing, not supporting that installation of Cards at the Tenant level.

Awesome thanks! Would be nice if you could install crd's on a tenant level as well but can imagine this is hard to implement

It's outside of project's scope which is providing governance to an existing Kubernetes cluster, rather than doing virtual clusters which being several challenges.

Feature was implemented. Keeping issue to document a guide for usage.

Feature was implemented. Keeping issue to document a guide for usage.

Hello @oliverbaehler,
Could you clarify, as I can see this feature hasn't been released yet?

"it’s preview, we are going to release 0.7.0 where a crucial fix is included" From slack

Hello,
I upgraded capsule and capsule-proxy to version 0.7.0.
It seems we are still not able to execute the ‘kubectl get pods –all-namespaces’ command because capsule-proxy says:
“Error from server (Forbidden): pods is forbidden: User ‘alice’ cannot list resource ‘pods’ in API group ‘’ at the cluster scope.”
In this example, ‘alice’ has permissions for ‘tenant1’ and ‘tenant2’, which contain namespaces with pods.
Am I correct in expecting that we should have the ability to execute the ‘kubectl get pods –all-namespaces’ command to list all pods under all of the user’s(alice) tenants and their namespaces?

I'm actively using this feature and it's working as expected, of course, the feature flag must be enabled, such as --feature-gates=ProxyAllNamespaced=true.

Closing the issue since released with v0.6.0, further bugs can be tracked in different issues.
Questions must be raised in the Discussion section, or in the Slack channel.


refactor!: create ParametrizedFunction interface

The existing Function interface has too many responsibilities: it (1) converts a DataSample to an array or tensor and (2) distinguishes parameter variables from domain variables. This worked fine so far, because Function was only used when optimizing, where you need to tweak those parameters. In #345 though, we need to a Function that only does (1), for the conversion of one DataSample (four-momenta) to another DataSample (kinematic variables) with different back-ends. This PR creates a new ParametrizedFunction interface that does (1) and (2) and a 'bare' Function interface that does only (1).
Related interface changes:

LambdifiedFunction --> ParametrizedBackendFunction
Exposed _backend_lambdify function as lambdify, which returns a PositionalArgumentFunction (implements Function).

@spflueger as discussed, ParametrizedFunction inherits from Function:
https://github.com/ComPWA/tensorwaves/blob/49eae48965d0c11e7a058580e77951ce9cd8b3a6/src/tensorwaves/interface.py#L32
This is probably fine with interfaces. Another option would be to give ParametrizedFunction a function attribute. This makes sense if Function were to have more attributes (for instance something like expected_keys, for the input DataSample that its call takes). In that case, composition in the interface of ParametrizedFunction may be safer.

Short summary of offline discussion:

The Model interface can be removed (#357)
It would be better to create a generic Function interface. The PR has been changed into that, so see the diff fore more details.
Previous implementation details (see review comments) are only relevant in #345. They have been removed from this PR.


Clarify status of eStargz support

The readme file for nydus-snapshotter mentions that it supports eStargz out-of-the-box. However, in the example config I see an experimental option called enable_stargz. Does that mean that eStargz support is experimental? I think it would be useful to clarify this somewhere (and I'd love to know the answer myself).

Sorry for the confusion, supporting estargz is still experimental and in fact the current implementation is not efficient enough, we will fix the doc to update the statement, thanks!


promote docker container kontena/cli instead of rubygem installation of cli

At the moment the documentation suggests installing the kontena cli on a devlopers workstation through rubygems...
It would be a whole lot easier if the documentation promoted the use of kontena/cli in a way that negated me having to install ruby on my workstation.
tl;dr docker run --rm -it kontena/cli --help actually works... we just need more documentation around how to make it the primary way to use the cli.

We already have omnibus pkg releases for OS X, and the 1.4 release should hopefully also include deb builds for Ubuntu, and msi builds for Windows... both to avoid the need for gem installs, and also to allow us to use native extensions.


Add flag for skip validation

Description
Add flag to skip host validation
Fixes # (issue)
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Any dependent changes have been merged and published in downstream modules
[ ] Any variable changes have been validated to be backwards compatible

lgtm, we want this in 7.4.x or master?

7.4 is now in code freeze. This is not a functionality change so adding in master.
Thanks for looking into it.