qemu: 6.1.1 -> 6.2.0

Description of changes
QEMU version 6.2.0, using this patch as a direct way to go from 6.1.1 to 6.2.0

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

QEMU 6.2.0 is a major release, with breaking changes.  It therefore does not meet the Criteria for Backporting, so we can't upgrade it on NixOS 21.11.  If there's a specific patch you want backported, we might be able to do that.  Alternatively, in Nixpkgs unstable we have the latest version of QEMU, 7.0.0.

QEMU 6.2.0 is a major release, with breaking changes. It therefore does not meet the Criteria for Backporting, so we can't upgrade it on NixOS 21.11. If there's a specific patch you want backported, we might be able to do that. Alternatively, in Nixpkgs unstable we have the latest version of QEMU, 7.0.0.

@alyssais thanks for your comments. I think we will use a different approach to our specific case.


Shell command mapped to via beocme execute on fzf start

Checklist

[X] I have read through the manual page (man fzf)
[X] I have searched through the existing issues
[X] For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version
0.55.0 (brew)
OS

[ ] Linux
[X] macOS
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[X] zsh
[ ] fish

Problem / Steps to reproduce
Here is the following one liner
ls | fzf --bind "del:become:(if [[ `echo \"Yes\nNo\" | fzf` == 'Yes' ]]; then echo 'Yes'; fi )"

When I run this, I straight away get the popup with Yes/No choices, but isn't that supposed to trigger only when I press the del key ? However, if I change it to below, I get the correct behavior where I first see the list of files in fzf and then pressing del opens up the sub popup.
ls | fzf --bind "del:become:(echo \"Yes\nNo\" | fzf )"

To give more context, what I am trying to do is if I choose a particular action from sub-popup on the press of del key and then perform a certain specific action for that choice.
So is this behavior expected, if yes, then how can I alter it to do the above ?

When I run this, I straight away get the popup with Yes/No choices

Bash Reference Manual - Simple-Command-Expansion
Command substitution has a higher precedence and is executed before the expanded command itself.
Try to escape it:
ls | fzf --bind "space:become:[[ \$(echo -e \"Yes\nNo\" | fzf) == 'Yes' ]] && echo Yes || :"

# same, but with escaped backticks
ls | fzf --bind "space:become:[[ \`echo -e \"Yes\nNo\" | fzf\` == 'Yes' ]] && echo Yes || :"

@LangLangBart Thanks for the comment.
become is great for simple cases, but if it starts requiring escaping stuff, you should consider doing it in shell script.
selected=$(ls | fzf) && yn=$((echo Yes; echo No) | fzf) && echo $selected - $yn


New version: ROCKernels v0.3.0

Registering package: ROCKernels
Repository: https://github.com/JuliaGPU/KernelAbstractions.jl
Created by: @vchuravy
Version: v0.3.0
Commit: d37015f2ac7de6bdedd23e71efaa8ec82e3454ae
Reviewed by: @vchuravy
Reference: https://github.com/JuliaGPU/KernelAbstractions.jl/commit/d37015f2ac7de6bdedd23e71efaa8ec82e3454ae#commitcomment-67841435
Description: Heterogeneous programming in Julia

[noblock]
@vchuravy See the above AutoMerge failure.


Training Nomenclature

Clean up a couple of old instances of mixed terminology

We're currently processing your upload.  This comment will be updated when the results are available.


vcpkg install libcurl error

I tried to install libcurl but i failed. Plz help me to find out a solution.
Here is the screenshot

addition

Could you provide us config-x86-windows-out.log?

Could you provide us config-x86-windows-out.log?
Sorry.I forgot it.Here's the file content.

[1/2] cmd /c "cd ../../x86-windows-dbg && "C:/Program Files/CMake/bin/cmake.exe" "D:/vcpkg/buildtrees/curl/src/url-7_66_0-ac7576f585" "-DBUILD_TESTING=OFF" "-DBUILD_CURL_EXE=OFF" "-DENABLE_MANUAL=OFF" "-DCURL_STATICLIB=0" "-DCMAKE_USE_OPENSSL=OFF" "-DCMAKE_USE_WINSSL=ON" "-DCMAKE_USE_MBEDTLS=OFF" "-DCMAKE_USE_SECTRANSP=OFF" "-DCMAKE_USE_LIBSSH2=OFF" "-DHTTP_ONLY=ON" "-DENABLE_ARES=OFF" "-DCURL_WINDOWS_SSPI=OFF" "-DCURL_BROTLI=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v141" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-DBUILD_CURL_EXE=OFF" "-DENABLE_DEBUG=ON" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/curl_x86-windows/debug""
FAILED: ../../x86-windows-dbg/CMakeCache.txt
cmd /c "cd ../../x86-windows-dbg && "C:/Program Files/CMake/bin/cmake.exe" "D:/vcpkg/buildtrees/curl/src/url-7_66_0-ac7576f585" "-DBUILD_TESTING=OFF" "-DBUILD_CURL_EXE=OFF" "-DENABLE_MANUAL=OFF" "-DCURL_STATICLIB=0" "-DCMAKE_USE_OPENSSL=OFF" "-DCMAKE_USE_WINSSL=ON" "-DCMAKE_USE_MBEDTLS=OFF" "-DCMAKE_USE_SECTRANSP=OFF" "-DCMAKE_USE_LIBSSH2=OFF" "-DHTTP_ONLY=ON" "-DENABLE_ARES=OFF" "-DCURL_WINDOWS_SSPI=OFF" "-DCURL_BROTLI=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v141" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-DBUILD_CURL_EXE=OFF" "-DENABLE_DEBUG=ON" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/curl_x86-windows/debug""
-- The C compiler identification is unknown
-- Check for working C compiler: C:/Windows/gcc.exe
-- Check for working C compiler: C:/Windows/gcc.exe -- broken
CMake Error at C:/Program Files/CMake/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"C:/Windows/gcc.exe"

is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/vcpkg/buildtrees/curl/x86-windows-dbg/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_241d1 && [1/2] Building C object CMakeFiles\cmTC_241d1.dir\testCCompiler.c.obj
FAILED: CMakeFiles/cmTC_241d1.dir/testCCompiler.c.obj
C:\Windows\gcc.exe   /DWIN32 /D_WINDOWS /W3 /utf-8 /MP -o CMakeFiles\cmTC_241d1.dir\testCCompiler.c.obj   -c testCCompiler.c
testCCompiler.c:2:3: #error "The CMAKE_C_COMPILER is set to a C++ compiler"
g++.exe: /DWIN32: No such file or directory
g++.exe: /D_WINDOWS: No such file or directory
g++.exe: /W3: No such file or directory
g++.exe: /utf-8: No such file or directory
g++.exe: /MP: No such file or directory
ninja: build stopped: subcommand failed.

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:48 (project)
-- Configuring incomplete, errors occurred!
See also "D:/vcpkg/buildtrees/curl/x86-windows-dbg/CMakeFiles/CMakeOutput.log".
See also "D:/vcpkg/buildtrees/curl/x86-windows-dbg/CMakeFiles/CMakeError.log".
[2/2] cmd /c "cd ..  && "C:/Program Files/CMake/bin/cmake.exe" "D:/vcpkg/buildtrees/curl/src/url-7_66_0-ac7576f585" "-DBUILD_TESTING=OFF" "-DBUILD_CURL_EXE=OFF" "-DENABLE_MANUAL=OFF" "-DCURL_STATICLIB=0" "-DCMAKE_USE_OPENSSL=OFF" "-DCMAKE_USE_WINSSL=ON" "-DCMAKE_USE_MBEDTLS=OFF" "-DCMAKE_USE_SECTRANSP=OFF" "-DCMAKE_USE_LIBSSH2=OFF" "-DHTTP_ONLY=ON" "-DENABLE_ARES=OFF" "-DCURL_WINDOWS_SSPI=OFF" "-DCURL_BROTLI=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v141" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-DBUILD_CURL_EXE=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/curl_x86-windows""
-- The C compiler identification is unknown
-- Check for working C compiler: C:/Windows/gcc.exe
-- Check for working C compiler: C:/Windows/gcc.exe -- broken
CMake Error at C:/Program Files/CMake/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"C:/Windows/gcc.exe"

is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/vcpkg/buildtrees/curl/x86-windows-rel/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_3e997 && [1/2] Building C object CMakeFiles\cmTC_3e997.dir\testCCompiler.c.obj
FAILED: CMakeFiles/cmTC_3e997.dir/testCCompiler.c.obj
C:\Windows\gcc.exe   /DWIN32 /D_WINDOWS /W3 /utf-8 /MP -o CMakeFiles\cmTC_3e997.dir\testCCompiler.c.obj   -c testCCompiler.c
testCCompiler.c:2:3: #error "The CMAKE_C_COMPILER is set to a C++ compiler"
g++.exe: /DWIN32: No such file or directory
g++.exe: /D_WINDOWS: No such file or directory
g++.exe: /W3: No such file or directory
g++.exe: /utf-8: No such file or directory
g++.exe: /MP: No such file or directory
ninja: build stopped: subcommand failed.

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:48 (project)
-- Configuring incomplete, errors occurred!
See also "D:/vcpkg/buildtrees/curl/x86-windows-rel/CMakeFiles/CMakeOutput.log".
See also "D:/vcpkg/buildtrees/curl/x86-windows-rel/CMakeFiles/CMakeError.log".
ninja: build stopped: subcommand failed.

Hi @ChocolateJin thanks for posting this issue.
I noticed that you installed this port on MinGW64.
Currently, vcpkg doesn't support MinGW.
You can use powershell to install and build port on Windows platform.

Hi @ChocolateJin thanks for posting this issue.
I noticed that you installed this port on MinGW64.
Currently, vcpkg doesn't support MinGW.
You can use powershell to install and build port on Windows platform.

Thx for your help. Do you mean that I should run command"./vcpkg install curl" on Powershell?
I tried but still failed. Just like this.

I have run "./vcpkg update" before,Yet I failed again. Are there other solutions for this problem? Or should I uninstall MingGW64?

Could you please clone vcpkg on a clean environment and build this port again?
I am not sure if this issue is related to MingGW64.
I can install curl on my local successfully with PowerShell.
If still failed, please attach the error log.
Thanks.

您能否在干净的环境中克隆vcpkg并再次构建此端口？
我不确定此问题是否与MingGW64有关。
我可以使用PowerShell在本地成功安装curl。
如果仍然失败，请附加错误日志。
谢谢。

OK,I'

Could you please clone vcpkg on a clean environment and build this port again?
I am not sure if this issue is related to MingGW64.
I can install curl on my local successfully with PowerShell.
If still failed, please attach the error log.
Thanks.

OK.I'm try it later.

@ChocolateJin  Any updates about this issue?
Please let me know if you still have problems.

@ChocolateJin Any updates about this issue?
Please let me know if you still have problems.

Sorry. My final exam is coming so I nearly have no time to test this problem. I'll try installing Vcpkg on a virtual machine tonight and I'll reply you later. Thank you for your caring.

@ChocolateJin Any updates about this issue?
Please let me know if you still have problems.

Oh,right. I've tried to reinstall cmake,vcpkg,mingw(together with gcc/g++). Yet the problem is still there. Here is the result(On Powershell 7-preview(x64))

And error file report.
config-x86-windows-out.log
I tried to complie a single .c file by using gcc and it failed. Don't know whether it is the reason.

@ChocolateJin, mingw is not supported and tested by default so far, if you are interested in building libraries with mingw, see https://github.com/microsoft/vcpkg/issues/4418#issuecomment-428168157 for reference.

@ChocolateJin, mingw is not supported and tested by default so far, if you are interested in building libraries with mingw, see #4418 (comment) for reference.

emmmm.. I'm a newcomer on programming. If I can't use mingw to complete this task. Could you tell me what else substitutes to replace mingw on Windows? Thx.

We recommend trying out WSL to build binaries for Linux on a Windows machine.

I finally finished this problem. First I uninstall all mingw parts and add Visual Studio related configuration to system variable. Then I found the problem is probably is because this:
Command failed: ninja -v(It means Cmake can't complie through ninja)
Thus I found another quota   https://github.com/microsoft/vcpkg/issues/2895
After delecting related sentences. Cmake doesn't use ninja to compile. And the problem has been solved. Thx for your all help. Sincere Thanks. But my friend don't need to add variable or delect the sentences. The specific reason is still not clear.


Intero writing files on every text change, not waiting for user to save

(so I'm using evil-mode, because that's what Spacemacs enables. Maybe that's to blame)
Some of my existing Haskell tooling was freaking out, so I set up some inotify watches to see what was going on and quite to my astonishment, every time I make a textual change to one of my Haskell source files it's writing the file to disk. It's not waiting for me to save the file! Is that expected?
I realize that git saves the day at a course grain if something isn't right, but is this expected behaviour on the part of Intero (Emacs?). Numerous writes to disk are happening every few keystrokes and seems likely to cause excessive wear on the storage medium.
If it is expected behaviour, then it should be marking the buffer as saved / unmodified / whatever, right? The * marker is still there even though it has saved the file to disk already.
inotifywait -r -m .

if you want to observe this for yourself.

Open issue here: #148
It's expected and part of how flycheck works (you write the buffer contents to a file and then run your checker on it). You have to save a file for GHC to load it in and check it (although it would be nice if GHC could more easily load a module in as a string directly).
What you can do is change your flycheck settings so that it only checks when you save the file:
(setq flycheck-check-syntax-automatically '(save))

The part that is not ideal is that we mark the buffer as not saved, which is to avoid Emacs prompting that something changed while you're typing. This screws with magit a bit, and things like that. Hence the open issue.


docs: Fix typos

Signed-off-by: Fernando Miguel<EMAIL_ADDRESS>What does this PR do?
fix docs typos
More

[ ] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
[ ] Yes, I have added a new example under examples to support my PR
[ ] Yes, I have created another PR for add-ons under add-ons repo (if applicable)
[ ] Yes, I have updated the docs for this feature
[ ] Yes, I ran pre-commit run -a with this PR

Note: Not all the PRs require a new example and/or doc page. In general:

Use an existing example when possible to demonstrate a new addons usage
A new docs page under docs/add-ons/* is required for new a new addon

For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

Thanks @FernandoMiguel


Python tests: Explicitly mark async functions instead of relying on pytest-aiohttp magic

Our Python tests define asynchronous test functions like this:
async def test_my_thing() -> None:
    assert await foo() == bar

pytest doesn't natively support running async functions. It currently happens to magically work for us because we have the pytest-aiohttp plugin installed as a dev dependency.
For explicitness and normalcy, we instead want to:

[ ] Add pytest-asyncio as a dev dependency.
[ ] Explicitly mark our async test functions with pytest.mark.asyncio.
[ ] Remove our dependency on pytest-aiohttp, assuming it's not used anywhere else.

AnyIO ships with a pytest plugin with the same pytestmark interface, if we wanted to add AnyIO as a dep or dev dep

Whichever library we choose, we should do some due diligence to see how it handles the fringes of setting up and tearing down async environments to run tests in. I only tenuously understand these concerns, but they seem surprisingly nuanced. Here are some questions I just opened on pytest-asyncio: https://github.com/pytest-dev/pytest-asyncio/issues/222
(But, also, it's not like we get to avoid these concerns by doing nothing and sticking with pytest-aiohttp magic.)

I tried implementing this with AnyIO's pytest plugin, but I found that its API has an unfortunate trap.
Briefly, if you have something like this:
@pytest.fixture
async def my_async_fixture():
    ...

def my_non_async_test_func(fixture):
    ...

Then you'd expect my_async_fixture() to execute before my_non_async_test_func(), but in fact it never does.
This is because my_non_async_test_func() is, understandably, outside of the AnyIO plugin's consideration. It's just a normal non-async test function. So its fixture processing falls under pytest's normal rules. pytest "calls" my_async_fixture() like any other function. But because it's a coroutine, "calling" it
just returns an awaitable coroutine object; it doesn't actually run its code.
Here's the specific fixture that tipped me off, used by this test.
At best, this causes confusing errors, and at worst, it makes tests silently run under the wrong environment. After migrating around 90% of the api test suite and trying a couple workarounds to keep the tests passing, I consider it a deal-breaker. It makes things too fragile, and it's too surprising for the unwary. Especially for us in particular, since we frequently switch tests and fixtures between async and non-async, and we have a lot of fixtures living in conftest.py files far away from the things using them.

Closed by #9981, #10012, and #10022.


⚠ Bofrost.lu has degraded performance

In f4b77b3, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2179 ms

Resolved: Bofrost.lu performance has improved in 9397c4c after 11 minutes.


webhook.Newclient

Describe the bug
A clear and concise description of what the bug is.
Error
The error which gets logged if there is any:
import "github.com/disgoorg/disgo/webhook"

client := webhook.NewClient(snowflake.ID("webhookID"), "webhookToken")

message, err := client.CreateEmbeds(discord.NewEmbedBuilder().
	SetDescription("hello world!").
	Build(),
)

Expected behavior
Send embeded webhook
Additional context
undefined: webhook.Newclient

in a recent release webhook.NewClient got renamed to webhook.New
https://github.com/disgoorg/disgo/blob/758a43d32cecea7e510d28fa2356464509070888/webhook/webhook_client_impl.go#L13

I tried using client.New variable with client.CreateEmbeds and I get:
invalid operation: cannot indirect discord.NewEmbedBuilder().SetDescription("hello world!").Build() (value of type discord.Embed)

can you show me the code?

this looks fine to me
can you show the exact error?

cannot use discord.NewEmbedBuilder().SetDescription("hello world!").Build() (value of type discord.Embed) as type []discord.Embed in argument to client.CreateEmbeds

you need to provide a slice of embeds here

Can you give me an example, I'm still confused...

Thankyou!

sure


[Python] Do not sort schema fields by default

Motivation
In Avro schema, the order of fields is used in the validation process, so if we are sorting the fields, that will generate an unexpected schema for a python producer/consumer and it will make it not interoperable with Java and other clients.

@merlimat Some tests run failed, Please take a look, thanks.
FAIL: test_avro_required_default (schema_test.SchemaTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/schema_test.py", line 856, in test_avro_required_default
    "default": None
AssertionError: {'fields': [{'default': None, 'type': ['null', 'int'], 'name': 'a'}, {'default': [truncated]... != {'fields': [{'default': None, 'type': ['null', 'int'], 'name': 'a'}, {'default': [truncated]...
Diff is 2313 characters long. Set self.maxDiff to None to see it.

======================================================================
FAIL: test_complex (schema_test.SchemaTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/schema_test.py", line 106, in test_complex
    "type": ["null", 'MySubRecord']
AssertionError: {'fields': [{'type': ['null', 'string'], 'name': 'a'}, {'type': ['null', {'field [truncated]... != {'fields': [{'type': ['null', 'string'], 'name': 'a'}, {'type': ['null', {'field [truncated]...
Diff is 1195 characters long. Set self.maxDiff to None to see it.

@eolivelli Putting the compatibility conversation aside, the PR here is valuable. Because it provides a flag to control whether to sort schema fields or not. So it will ensure python clients and java clients can generate the schema in the same order, which will improve debuggability and readability.

I found a case about the schema without sort field.
If we define the class like:
class T2(Record):
            b = Integer()
            a = Integer()
            d = String()
            c = Double()

But the schema fields of T2 without sort is:
[{'type': ['null', 'int'], 'name': 'a'}, {'type': ['null', 'double'], 'name': 'c'}, {'type': ['null', 'int'], 'name': 'b'}, {'type': ['null', 'string'], 'name': 'd'}]

However we expected order is b, a, d, c, but the output order is a, c, b, d

@hangc0276 Could you please help create a separate issue to track the issue you have mentioned?

This PR actually leads to an incompatibility between the Java client and the Python client. See the issue here and the discussion in the mail list: https://lists.apache.org/thread/wl5rws7m0gqxc9n512llnpzf7kq5sp0j
In short, to be compatible with the POJO like:
i.e. given the following Java class:

```java
class User {
    String name;
    int age;
    double score;
}

We have to give the following definition in Python:
class User(Record):
    _sorted_fields = True
    name = String()
    age = Integer(required=True)
    score = Double(required=True)

The default values are not compatible with the Java client so I suggest changing these default values. Please continue the discussion in the mail list of you have any objection.
/cc @merlimat @gaoran10 @congbobo184 @codelipenghui @eolivelli @hangc0276 @mattisonchao
(BTW, these Python options are not documented well and I found the solution by reading the source code)


Enhancement: Enforcing Superset Access Check for Approving Apps

Is your feature request related to a problem? Please describe.
Implement a feature to ensure that an "approving" app can only approve enrollment requests if it has access to all the namespaces requested by the "enrolling" app. If the approving app lacks access to any of the namespaces included in the enrollment request, it should not be able to approve the request.
Describe the solution you'd like

When executing "enroll:approve" add a check on the client/server to verify the list of namespaces the approving app is authorized for. If the approving app is not authorized for any namespace in the enrollment request, return an exception.

@sitaram-kalluri Good idea, makes sense to me


[docs]: Looks like you're trying to navigate to a nested route without adding their parent to stack first

Describe the missing piece of documentation
I couldn't find any documentation that discusses using sub-routes for web.

Hi @KhalilAmor , I will try to add nested routes documentation as soon as possible.

I had the same problem, it took me a while to understand how to solve this error. This happens if you are trying to route from one nested page to another in another branch of the navigation tree.
For example considering the following the page structure:
    CustomRoute(
      page: MainView,  path: '/',
      children: [
        CustomRoute(page: HomeView, initial: true, path: 'home'),
        CustomRoute(page: WhoweareView, path: 'chisiamo'),
        CustomRoute(page: ExecutiveView, path: 'direttivo'),
        CustomRoute(page: StaffView, path: 'staff'),
        CustomRoute(page: DocumentsNavigation, path: 'documenti', children: [
          CustomRoute(page: DocumentsView, initial: true),
        ]),
        CustomRoute(page: EventsView, path: 'eventi'),
        CustomRoute(page: VolunteersView, path: 'volontariato'),
        CustomRoute(page: ContactsView, path: 'contatti', maintainState: false),
        CustomRoute(page: TeachersNavigation ,path: 'insegnanti', children: [
          CustomRoute(page: TeachersView,initial: true),
          CustomRoute(page: TeachersDetailsView),
        ]),
        CustomRoute(page: CoursesNavigation,path: 'corsi', children: [
          CustomRoute(page: CoursesView, initial: true),
          CustomRoute(page: CoursesDetailsView),
        ]),
        CustomRoute(page: PrivacyinfoView, path: 'privacy', maintainState: false),
        CustomRoute(page: CvVittorioParagalloView, path: 'cv-vittorio-paragallo', maintainState: false),
      ],

To navigate from DocumentsView to PrivacyinfoViewRoute:
final _routerService = locator<RouterService>();
_routerService.navigateTo(MainViewRoute(children: [PrivacyinfoViewRoute()]));

Nested routes has been added.


⚠ Minecraft has degraded performance

In e897e0e, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 974 ms

Resolved: Minecraft performance has improved in 360cd60.


To Do List #2882 Solved

To Do List #2882

Close #2882

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md

Please do not raise a pr without getting an issue assigned to you


(PDB-3488) trapperkeeper-webserver-jetty9 -> 2.0.0

Test FAILed

Test FAILed

@puppetlabs-jenkins retest this please

CLA signed by all contributors.

Test PASSed

Test PASSed

Test PASSed

Looks good to me, will there also need to be any updates to extensions @rbrw?

@ajroetker looks like we'll probably want to pin the version in extensions too, to be safe.  I'll raise a pr for that in a bit.


Track multiple responses per API

Proposal: https://gist.github.com/delvedor/eccf0936048dda2ecf0708156a8a726c
Fixes: https://github.com/elastic/elasticsearch-specification/issues/928

LGTM


Google Fonts not working

Im generating a PDF using .ejs file instead of html. The PDF generates successfully but it does not read  the Google Fonts.
I've tried both:
 @import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700');
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,700" rel="stylesheet">
Example Code:
  ` <style>
    @import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700');

    body {
        margin: 0;
        padding: 0;
        font-family: 'Source Sans Pro', sans-serif;
        font-weight: 500;
        background: #fff;
        font-size: 9px;
        -webkit-print-color-adjust: exact;
        box-sizing: border-box;
        color: #fff;
    }
  </style>`

Please note: Im not using an external CSS file Im using a Style Tag within the ejs file.
Does anyone know how can I get Google fonts to work?

@marcbachmann Hey Marc. Any chance you can help with this?

Are you relying on phantomJS to process the ejs file and import the external resource? Try adding the CSS to the style block beforehand. I'm starting with HTML but have found inline styles more reliable.

Have you tried loading locally the Font?
Custom fonts on our PDF was working well, if loaded from the sever itself.
@font-face {     font-family: "Muli";     font-weight: 400;     src: url("../fonts/Muli-Regular.ttf"); }
NOTE: You also need to set the URL of your assets base property of the Options

.woff2 is not supported in PhantomJs 2.x. use .otf and will works fine
https://stackoverflow.com/questions/23404658/how-can-i-use-google-web-fonts-with-phantomjs

This is how I load Google fonts in the PDF. I tried several approaches, but found this one to work best:
<html>
<head>
  <title>PDF</title>
  <meta charset="utf-8">
  <script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script>
  <script type="text/javascript">

    //Load font
    WebFont.load({
      google: {families: ['Open+Sans:300,600']},
      active() {
        setTimeout(() => {
          fontsLoaded();
        }, 0);
      },
    });

    //Guard against long loading times
    setTimeout(() => {
      fontsLoaded();
    }, 7500);
  </script>
</head>
</html>

And in the JS:
//Completion trigger
const {Callback} = htmlPdf.CompletionTrigger;
const completionTrigger = new Callback('fontsLoaded', 10000);

const contents = await readFile(template, 'utf8');
const html = await handlebars.compile(contents)(data);
const pdf = await htmlPdf.create(html, {completionTrigger});
const stream = await pdf.toStream();


Embedly Losing Extract API

Got an email from a client today and saw that Embedly is moving to a new pricing structure, with access to the Extract API coming in at $99/mo. Not really a feasible jump from $9/mo.
Looks like the Cards could be hacked into thumbnails with some css to hide almost everything except the image, but this seems like a clunky alternative to the current implementation.
Noembed provides an alternative for getEmbedlyData, but there's still the issue of having a convenient way to display cached images from a CDN that are cropped. Imgix has been great in my experience, but that's another layer of complexity.
Just curious if anyone else has thoughts?

Is that for displaying images off of Embedly's CDN, or even for getting the metadata in the first place? Because for the displaying part, you can use the nova:cloudinary package to cache images on Cloudinary so you don't pay a big Embedly fee.
If getting the metadata in the first place is not going to be free anymore then I guess we need a solution. Maybe Noembed+Cloudinary would work?
(BTW I also checked out Imgix but at the time they didn't support uploading an image straight from a URL, you had to upload the actual image file through your own servers first, which didn't fit our use case)

Even getting the metadata is restricted.
There are two tiers moving forward from April 1st - Cards, which basically transforms a filler div into a card with all of the relevant pieces (thumbnail, link, author, etc). and API, which is a bundle of all of their APIs (including extract). Seems like if you want to keep using extract, then you need the 99/mo plan.
Cards obviously uses an extraction method to generate the resulting card, as the only piece of data that you provide in the filler div is the url. A quick look at the platform.js client code that is required for the Cards shows them using the extract API/methods there. But I have to assume that they're going to want to prevent API access if you aren't paying for it...
Also, you are correct that Imgix requires a source, so that would be problematic. Still, when I see that 99/mo price tag, it makes me start thinking outside the box, hah.

@ucefkh you mentioned you have an embedly package? Does it provide a workaround for the $99 problem? :1st_place_medal:

@dominictracey yes my package costs $99 one time payment and you are totally independent from embedly once and for all

An opportunist - I like it!

@meteorplus Can you provide some info on the package?

@dominictracey  :D thanks
@arist0tl3  does everything as embedly the only thing you will have to add your s3 api key or cloudinary (both upload from the browser) if interested pm me on slack will get back to you asap!

Embedly provides all the "real time" scraping on their servers with back channel sending of the meta data to the client. Providing a component that does meta-data extraction on the client is most certainly not the same thing and has a variety of drawbacks. An option I've looked at is the venerable YQL (https://developer.yahoo.com/yql/).

@meteorplus I am interested in the package you have, how do I contact you? is your slack name the same?

@dominictracey I never said extraction would be on the client only uploading!
@manriquef contact ucefkh on slack ;)

Embedly is also offering a free plan with embedly cards but will have embedly branding on the cards.  Though I'm experiencing a scrolling issue with them in my app. Anybody else using the embedly cards with react? dangerouslySetInnerHTML is not working either.

Just a heads up, I was able to hack on the embedly package a bit and have iframely pulling the metadata successfully. Caveats:

Iframely's free "developer" tier gets you 1k hits per month, and 10k is the next tier for $29/mo
The thumbnail is pulled right from the source with no resizing (I just used some css to fix up the thumbs) so no CDN is built into this solution (and it's technically hotlinking)
Aspect ratios are maintained, so if you are used to 300x233 (or a similar fixed ratio), then this may not be a solution

That being said, I'm happy to put together a gist with the changes if anyone is interested. I can try a PR, but we are running Telescope legacy and I have honestly fallen out of touch with this codebase, so not sure I'm the guy for that job.

For people who wants a good affordable alternative to Embedly today and don't want to change any code, you can get the same service at low price $99 per year instead of paying $99 per month on our platform: EmbedAPI.com
and here is our package ready to use with the latest version of vulcan
https://github.com/meteorplus/embedapi
Enjoy!


troubleshooting: detecting txn contention

Finalize guidance: https://cockroachlabs.atlassian.net/wiki/spaces/TS/pages/1080820085/Detect+transaction+contention+in+a+statement+trace
Relates to https://github.com/cockroachlabs/support/issues/666

Hi @jordanlewis, see linked guidance above. I shared the page with Andrei and Andrew, who were both participating in the relevant Slack thread (linked in the wiki).
Going forward my plan is to create a docs ticket for each Support issue tagged as a Troubleshooting topic, and to add this ticket to the Troubleshooting Docs project I've created. Let me know if that sounds OK to you.

Thanks, @taroface! This process sounds good to me. The doc looks good to me too.
But, I think we should get a review from @tim-o. Tim, how does the doc look to you? is this going to be a helpful format for your team?

This article has been reviewed by TSE and ENG.

Reopening as @andreimatei noted that we should cover latching.
Relevant: https://github.com/cockroachlabs/support/issues/710#issuecomment-737607669


[New Feature]: Is there any way to prevent a record from being draggable?

What happened?
I'd like to temporarily prevent a record from being moved to a new column. It'd be ok to be moved within its current status but not to change its current status. is that possible somehow?
How to reproduce the bug
Not a bug.
Package Version
2.8
PHP Version
8.2
Laravel Version
11.4
Which operating systems does with happen with?
No response
Which browsers does with happen with?
No response
Notes
No response

You can do this on the backend side for now, and simply not persist the change when you don't want it.
Locking a record on the frontend side will probably come in v3.

Thanks @mokhosh.
In the meantime, I'm hacking my way in using something like this in the main div container of the kanban-record.blade.php view:
    @if ($record->isPendingApproval())
        onmousedown="event.preventDefault ? event.preventDefault() : event.returnValue = false"
    @endif

So I'm VERY glad to know it's coming. That's super hacky :(
Any guesstimate when v3 will be available?

By the way... I am indeed using your approach but for "invalid" moves... My use case for having a fixed "record" was to add a create button inside the status column. Something like:

interesting 👌
no eta currently, as I'm super busy with a few projects.

Hi @willcastillo Have you tried disabling it at kanban-scripts.blade.php
I tried to comment these line of codes just to disable the drag.
What's your opinion about this? @mokhosh

By the way... I am indeed using your approach but for "invalid" moves... My use case for having a fixed "record" was to add a create button inside the status column.

To add this button I assume you are editing the kanban-record.blade.php. If that's the case, just add cursor-pointer class for the create button.

Hi @willcastillo Have you tried disabling it at kanban-scripts.blade.php
I tried to comment these line of codes just to disable the drag.
What's your opinion about this? @mokhosh

This worked for me to disable drag and drop. Thank you.


[FEATURE] Improve Messages and document how to use

Description
Quote from Tanja Bayer (see)

Another mistery I am trying to solve. How can cart error messages be cleared? If I a user adds a voucher code which he is not allowed to used (e.g. wrong shipping country) the cart gets an error:
“promotion-not-eligible”
Is there a way to acknowledge this error, because no matter what I do the error will  stay in the cart…
I assume the only way is to keep an own error state and show only new errors… as also suggested in a TODO comment in shopware frontends https://github.com/shopware/frontends/blob/3764736e52fffb7f7abeb4c044dee2adc812cbb6/packages/composables/src/useCart.ts#L147 :smile:
And why is the cart adding success messages to the errors object?
promotion-discount-added-7a26337b71e449cc860347af8b6b2931

Quote from Stepan Lukachyna

In fact for me not clear how to handle cart error messages cuz it contains also information messages not only errors.

Use Case
Important for Developers to know how to work with Messages that are coming back from the API.
Proposed Solution

Test how Messages are working and maybe think about modern "Toast Messages".
We should solve the ToDo that is in the code.
We should document how to handle messages (error, info and success).

Alternatives Considered
No response
Additional Context
No response

https://github.com/shopware/frontends/pull/249


Ambiguous BatchHeader types found during ACH request reading

Given the following ACH request file:
101 062000019B1102027371906241706P094101REGIONS BANK           MYCORP        SVCSXXXXXXXXXXXXX
52006088BCB         FV4223371           B110202737CCD6088BCB         190624<PHONE_NUMBER>000001
6223694058211790185004<PHONE_NUMBER>REHJXZZGF      DON 1604AF7D          R<PHONE_NUMBER>000001
705DESCRIPT11<PHONE_NUMBER>1
6223694058211790185004<PHONE_NUMBER>ASQSQQQQ       DON 1604AF7D          R<PHONE_NUMBER>000002
705DESCRIPT12<PHONE_NUMBER>2
82000000040073881164<PHONE_NUMBER>90B110202737<PHONE_NUMBER>00001
520035F0DC90        902977552           B110202737CCD35F0DC90        190624<PHONE_NUMBER>000002
6322901649888623334396<PHONE_NUMBER>PPPUUUU        DON 114B90FC          R<PHONE_NUMBER>000003
705DESCRIPT21<PHONE_NUMBER>3
82000000020029016498<PHONE_NUMBER>00B110202737<PHONE_NUMBER>00002
52003033C168        802698216           B110202737CCD3033C168        190624<PHONE_NUMBER>000003
6228953998245558213179<PHONE_NUMBER>CZVZVVFFF      DON 355EB790          R<PHONE_NUMBER>000004
705DESCRIPT31<PHONE_NUMBER>4
6228953998245558213179<PHONE_NUMBER>ZXVDSGBBB      DON 355EB790          R<PHONE_NUMBER>000005
705DESCRIPT32<PHONE_NUMBER>5
82000000040179079964<PHONE_NUMBER>10B110202737<PHONE_NUMBER>00003
9000003000002000000100281977626000000000000000000050000
9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999

The ACH request reading failed for the lines:
52006088BCB         FV4223371           B110202737CCD6088BCB         190624<PHONE_NUMBER>000001

and
520035F0DC90        902977552           B110202737CCD35F0DC90        190624<PHONE_NUMBER>000002

and
52003033C168        802698216           B110202737CCD3033C168        190624<PHONE_NUMBER>000003

Reading the mentioned ACH request file, there is an ambiguous java type found for the BatchHeader line: IATBatchHeader and GeneralBatchHeader.
The Java exception will be thrown:
com.afrunt.jach.exception.ACHException: More than one type found for string 52006088BCB         FV4223371           B110202737CCD6088BCB         190624<PHONE_NUMBER>000001
 Types: GeneralBatchHeader, IATBatchHeader

Looks like its failing because ACHRequestReader#rankTypes methods sometimes (when CompanyDiscretionaryData (in the batch header) has '1', ' 2' or '3' on the 3rd place (eg 502152229, 102727069 or 303149471) OR starts with "FV", "FF" (eg FV2152229, FF2727069 or FV3149471)) returns 2 types with the same rank IATBatchHeader and GeneralBatchHeader.
As those values are valid for FOREIGN_EXCHANGE_REFERENCE_INDICATOR so IATBatchHeader gets an extra rank up

We can work around these since Foreign Exchange in not in scope for release 1

@skovtunenko well, you can fix it by yourself bro and prepare the PR ;)

Just curious. Can't you determine to use the IAT batch header by simply looking at the standardEntryClassCode equal to "IAT"?

I am having the very same issue, the ranking is broken.  If a mandatory field is missing rank should be zero, I would imagine.  Instead, IATBatchHeader and BatchHeader always tie.  Try these files, most will fail parsing:
https://github.com/moov-io/ach/tree/master/test

I actually made that change and it worked. I can send you the change. I haven’t done a pull request because I still think the right answer is to determine the record type by the class code in the batch header.

Jerry, if you would please send me the change I'd appreciate it..
On Wed, Sep 4, 2019 at 8:31 PM Jerry Bowman<EMAIL_ADDRESS>wrote:

I actually made that change and it worked. I can send you the change. I
haven’t done a pull request because I still think the right answer is to
determine the record type by the class code in the batch header.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/afrunt/jach/issues/14?email_source=notifications&email_token=ABRKSIC5PWSV3YNA6LANYSDQIB4QVA5CNFSM4H27ZE72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD55WSUY#issuecomment-528181587,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABRKSIFTQWATELRM7WOBV5TQIB4QVANCNFSM4H27ZE7Q
.

@jerrybowman sure, it will be very nice, because I don't have enough time right now. I will prepare the new release with your fix
you can also ping me in twitter @javaguyua


Script for peers to join channel fails in some cases

I ran ./create_all.sh today against a clean cluster but the create/join_channel.sh script failed.  Inspection of the logs of the joinchannel container showed that it could not connect to the peer.  The 15 second delay at the end of create_blockchain.sh is not always enough time for the peers to get settled.  I deleted my cluster and created a new one, and also changed that delay to 60 seconds and that time everything worked.

@dwakeman we can make the delay configurable using environment variables.

The addition of wait for the utils container in https://github.com/IBM-Blockchain/ibm-container-service/pull/19/files#diff-9e265e39cd55927799fdf2fa455386d4R80 should fix the issue.. @dwakeman can you please verify?

I'm not sure how to answer.  I created a new cluster, deleted my local repo, cloned this repo (today), then ran ./create_all.sh --with-couchdb and I think it worked.  I'm not sure if this change had anything to do with it though.  I noticed that I updated the delay back to 120 seconds (I was also using these scripts against a completely different cluster), so I ran the following commands to clean up my cluster:
kubectl delete deployments --all
kubectl delete pods --all
kubectl delete svc --all
kubectl delete pv --all
kubectl delete pvc --all```

Then I ran the script again, and the `createchannel` pod failed again.  This is the content of the `createchannel` container in the pod:
```kubectl logs createchannel createchannel
2017-10-19 01:34:32.589 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP
2017-10-19 01:34:32.589 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity
2017-10-19 01:34:32.643 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized
2017-10-19 01:34:32.645 UTC [msp] GetLocalMSP -> DEBU 004 Returning existing local MSP
2017-10-19 01:34:32.645 UTC [msp] GetDefaultSigningIdentity -> DEBU 005 Obtaining default signing identity
2017-10-19 01:34:32.645 UTC [msp] GetLocalMSP -> DEBU 006 Returning existing local MSP
2017-10-19 01:34:32.646 UTC [msp] GetDefaultSigningIdentity -> DEBU 007 Obtaining default signing identity
2017-10-19 01:34:32.646 UTC [msp/identity] Sign -> DEBU 008 Sign: plaintext: 0A8C060A074F7267314D53501280062D...53616D706C65436F6E736F727469756D
2017-10-19 01:34:32.646 UTC [msp/identity] Sign -> DEBU 009 Sign: digest: D23A33DDCB8B5EE9755B34D7C033FA00663697D20167C8E0429FA3EA646242A2
2017-10-19 01:34:32.647 UTC [msp] GetLocalMSP -> DEBU 00a Returning existing local MSP
2017-10-19 01:34:32.647 UTC [msp] GetDefaultSigningIdentity -> DEBU 00b Obtaining default signing identity
2017-10-19 01:34:32.647 UTC [msp] GetLocalMSP -> DEBU 00c Returning existing local MSP
2017-10-19 01:34:32.647 UTC [msp] GetDefaultSigningIdentity -> DEBU 00d Obtaining default signing identity
2017-10-19 01:34:32.648 UTC [msp/identity] Sign -> DEBU 00e Sign: plaintext: 0AC2060A1408021A0608A882A0CF0522...0D8406F74F1B42274B0975686B3C5D97
2017-10-19 01:34:32.648 UTC [msp/identity] Sign -> DEBU 00f Sign: digest: 09572C69E616E4CE4E846AB58E6736434584141B27C7506C89DFB7FECC2B6FCF
Error: Got unexpected status: BAD_REQUEST
Usage:
  peer channel create [flags]

Flags:
  -c, --channelID string   In case of a newChain command, the channel ID to create.
  -f, --file string        Configuration transaction file generated by a tool such as configtxgen for submitting to orderer
  -t, --timeout int        Channel creation timeout (default 5)

Global Flags:
      --cafile string              Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint
      --logging-level string       Default logging level and overrides, see core.yaml for full syntax
  -o, --orderer string             Ordering service endpoint
      --test.coverprofile string   Done (default "coverage.cov")
      --tls                        Use TLS when communicating with the orderer endpoint
  -v, --version                    Display current version of fabric peer server

Something must be wrong with the way I am cleaning things up, I guess.  I deleted my cluster and am in the process of creating a new one to verify that it works with a newly-created cluster.

Update on my progress.  I ran create_all.sh against a squeaky clean brand new cluster and it seems to have worked better.  This time my composer-playground pod was in a CrashBackoffLoop, so I deleted the pod and copy/pasted the command the script ran to create it and now it seems to work.  I can access composer-playground, so it seems to be okay.  Not sure what the problem was, but it wasn't related to this issue.

Thanks @dwakeman for the update.


v1.3.1-HMR for review

Fork & patch of Phoenix.LiveReload v1.3.1 for internal use.
We won't merge this!! Just for review.

Closing.


How to listen for Firestore changes?

Is there a way to use getX reactively for state management? Lets say my collection changes in Firestore and I want my UI to react automatically.
Also are you planning on adding persistence for state management just like hydrated_bloc exists for flutter_bloc? It would be great to continue from where user left off when restarting the app.

I think it depends on the Firebase. As long as they have any stream (ex. Firebase.onAuthStateChanged), then we can listen to it using .obs and ever combo.
Check this example https://github.com/jonataslaw/get/issues/215#issuecomment-641611736

Wait the firestore has nothing to do with auth right? It's the same principle tho I gues. You need to have a stream and have your obs value listen to that stream.
final int someInt = 5.obs;

YourController(Stream<int> yourStream);

@override
void onInit()
{
  someInt.bindStream(yourStream);
  ever(someInt, (value) => print(someInt));
}

I typed this here not in a IDE some probably will have mistakes, but you get the point

I think michael-ottink's answer perfectly answers your question.
Just use bind and join the firestore stream with a .obs variable.
Closing it.

checkout this method for the stream with firebase, link


drawer content during screen rotation

Using the RNDrawerDemo, changing to these settings:
openDrawerOffset: 200
tweenDuration: 1350
rightSide: false
If i'm doing screen rotation while the drawer is being opened, the content of the drawer breaks.
I've encountered this issue while trying to achieve same (portrait and landscape) fixed width in pixels.

Perhaps it will be better to use same drawer width and different openDrawerOffset for each screen orientation.
I solved that issue by passing a function to the openDrawerOffset property.
openDrawerOffset(windowDimensions) {
    return windowDimensions.width - DRAWER_WIDTH;
}


Nothing to see here

Change special day logic to use "status check" rather than post a comment.
astropy/astropy-bot#67
astropy/astropy-bot#76

Yasss! #42


Add scriptq question type

The goal here is to add questions requiring some computation to verify.

Cool. So you pass in an expression and not a function? Is there some reason that is preferable? I would have guessed the function might have f(this.val, ...) signature so that things are run in a different scope. (But I haven't really thought any of this through.)
Also, is it possible to use external javascript libraries in the evaluation of correct or not? I don't have any in mind, but I could see that being of interest.

Also, is it possible to use external javascript libraries in the evaluation of correct or not? I don't have any in mind, but I could see that being of interest.

Yes! In the screenshot, the Permutation class is defined in a separate file.

So you pass in an expression and not a function? Is there some reason that is preferable?

The question is: how much of the JavaScript code should be written in your markdown/Julia versus in an external JavaScript file.  If we're writing the question in Julia then you'd have to wrap the expressions in (str) => { ... } and that function would only be used for the contents. But if you write a closure in a separate JavaScript file then you could pass in closure(...). So it kind of forces you to keep the JavaScript in a separate file...maybe that's preferable.

...Going to make a new branch doing it via functions for comparison

Let me know what works out best from your point of view.

I like the implementation in #49 better:

it encourages you to keep most of your JavaScript code in JavaScript rather than within a Julia string.
you don't need to have a specifically named correct: boolean variable at the end, just any function which returns a boolean. So a cleaner interface.
for some short functions it can even be less verbose doing (i) => 43 <= i && i <= 48 rather than var correct = 43 <= this.value && this.value <= 48;.

I suggest reviewing #49 and closing this PR.


SubscriptionExpireTime in not mandatory in subscription API

If the subscription API from the client is without "subscriptionExpireTime," as it is not a mandatory parameter, what should be the recommended default value that needs to be configured in the API, as this needs to be passed towards NEF for the subscription?
as per 29.122- <IP_ADDRESS>.2 (Note2):
Inclusion of either "maximumNumberOfReports" (with a value higher than 1) or "monitorExpireTime" makes the Monitoring Request a Continuous Monitoring Request, where the SCEF sends Notifications until either the maximum number of reports or the monitoring duration indicated by the property "monitorExpireTime" is exceeded. The "maximumNumberOfReports" with a value 1 makes the Monitoring Request a One-time Monitoring Request. At least one of "maximumNumberOfReports" or "monitorExpireTime" shall be provided.

@Chintanlodariya For me this up to your implementation. As API server, your rule perhaps will be to no offer longer than 12 months subscription (I guess privacy issue could enter in the mix).  If the API consumer did not provide subscriptionExpireTime that's fine and you will set the expire attribute in the response with the value you offer as provider.
Globally for this topic the 'rules' are here.

@Chintanlodariya to be more precise based on @bigludo7's comment:

When none subscriptionExpireTime and subscriptionMaxEvents are not provided, client side has to trigger a DELETE operation to terminate it.

see ApiDesignGuidelines
Is this okay for you and we can close this issue?
Otherwise you may create an issue on Commonalities to discuss this more?


Improve Clarity of Forge's ValidationException Error Messages in Veyoze CLI

Description
Per issue #24, users of the Veyoze CLI, particularly when executing the 'php veyoze provision' command, are faced with lengthy and ambiguous error messages due to the ValidationException. This issue arises during site creation when the OrCreateNewSite class triggers the createSite function from Forge. In cases of invalid payload data, the system throws a ValidationException. However, the subsequent stack trace doesn't clearly delineate the root cause to the end-user.
Expected Behavior
Users should receive a clear, concise error message detailing what part of their input is invalid when a ValidationException occurs.
Proposed Solution
I propose we refine the Exception Handler for this particular exception. When a ValidationException is caught, we should:

Extract the validation error messages from the exception.
Display these validation messages clearly in the CLI output.
Prevent the propagation of the exception to the default logging stack to avoid long, unclear stack traces. This can be achieved by returning false from the exception handling callback, thereby halting further exception handling.

Steps to Reproduce

Run 'php veyoze provision' with an incorrect data value in the payload. For example, set FORGE_NGINX_TEMPLATE to a random number.
Observe the long, unclear stack-trace output when a ValidationException is thrown.

Additional Context
Clearer error messages will improve user experience by quickly informing users of mistakes in their input, allowing for quicker debugging and fewer frustrations.

I was looking in to what it would take to get more detail from the exceptions.  Nice work so far.


Visualize empirical correlation

Closes #22

This branch is behind master. Not sure if it adds value to master branch.


Remove gfx import in pipeline macro

As RFC 1560 (https://github.com/rust-lang/rfcs/pull/1560) is now stabilized on nightly 1.14.0 use super::* will now import all occurences of use gfx; from the parent module. This allows to compile code like following:
#[macro_use]
extern crate gfx as gfx_temp;

mod foo {
    // Import `gfx` into this module.
    // The new pipeline module created in the macro has access
    // to this import via `use super::*;`
    use gfx_temp;

    gfx_defines!{
        vertex Vertex {
            pos: [f32; 4] = "a_Pos",
            tex_coord: [f32; 2] = "a_TexCoord",
        }

        pipeline pipe {
            vbuf: gfx_temp::VertexBuffer<Vertex> = (),
        }
    }
}

So as long as the gfx module is imported in the module where you define the pipeline everything should work. Following this condition the regression https://github.com/gfx-rs/gfx/issues/1070 would be resolved.

Is there an option for conditional compilation depening on rustc version? Rust compiler <1.14.0 still require the use $crates; approach, while newer versions would make use of the item_like_imports feature.

Hmm. Everything is great, except that it doesn't build on Linux stable (according to Travis)...

Rust stable is still 1.13.0 which doesn't support item_like_imports and still requires the legacy use $crates; way. 1.14.0 will go out of beta around end of december.

Is this still needed? I was under impression that gfx now compiles fine on nightly/stable

I think the example above won't compile with the current master branch, but I can double-check this!
1.14 is scheduled to become stable at 22nd december, then this PR should also build without problems on stable.

@msiglreith ok, so you are saying we should be safe to merge this for 1.14? We'd also need to update the appveyor to use the new version.

@kvark Yes, but I'll try to check other projects (e.g zoc) if this might cause some issues.

Hm, looks like the item_like_imports feature didn't make it into the stable release. Closing this for the moment and create a new PR, when it finally becomes active in the stable channel.


Add kabinspace/AstroVim

Checklist:

[x] The plugin is specifically built for Neovim.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[x] It's not already on the list.
[ ] If it's a colorscheme, it supports treesitter syntax. (N/A)
[x] The title of the pull request is Add `username/repo`  when adding a new plugin.

Thanks for the PR!


Achievements - Sort by Date

As achievements are something a lot of players like to collect and look at it is hard to know and understand which achievements you got most recently. So the possibility to sort them by date is needed. It is not high priority but a very convinient feature.

This is not feasible because acheivements do not have a date stored as they are often recalculated.


[6.0] [Completion] Completions for inout, borrowing, consuming, isolated, consume, and copy

6.0 cherry-pick of #74331

Explanation: Add completion support for a bunch of new keywords (and inout)
Scope: Affects completion in parameter type position and decl position
Issue: rdar://127261573
Risk: Low
Testing: Added tests to test suite
Reviewer: Alex Hoppen

@swift-ci please test


Commit message is wrong

Here: https://github.com/skeeto/w64devkit/commit/11c8495d0fb3e7482f042705b445ed497c679dd3
the message is Upgrade to busybox-w32 FRP-5398-g89ae34445.
But the version is effectively 5467-g9376eebd8.

Thanks for pointing this out. Nothing I can do to change the commit message, unfortunately, so I'll just have to watch for it next time. The busybox-w32 version numbers are a bit too large and too far apart to keep in my short term memory, so I rely on the clipboard and must have copied from the wrong place.

git commit --amend and then a force push would have sorted it.

Barring an emergency, I don't want to rebase the master branch. It's too
disruptive. Anyone who pulls it would need to manually hard reset their
local master branches to match.
(In contrast, I'm perfectly comfortable with radically rebasing feature
branches without notice. I do it all the time.)


Feature: RunAll option to output snippet names

The RunAll option isnt part of the documentation, but i saw it in the params
It would be good when this is used there is some console output:

Which snippet name is being executed
Summary of which snippets failed

To also consider options like "Stop on first failure" or "continue on failure" if a snippet fails to execute

Hi @claytonneal! Thanks for filing the issue. You mean runme run --all, right? Just double-checking since the VS Code extension has a similar capability.

hiya, yes thats correct, run all via the CLI
Reason i ask for that is that im putting integration tests as code snippets inside markdown files
I'd like to run all those snippets and see on the console the filename/snippet name with a Pass/Fail for example


docs: document important APIs in Explanation and Explainers

Overview
Description of the changes proposed in this pull request:
Our Explanation and various Explainer classes make use of the magic methods in the python data model to expose various functionalities to the user. E.g. Explanation.__getitem__ performs special indexing operations to return a new Explanation object, Explainer.__call__ returns an Explanation object containing the shap values).
I propose to make this more explicit in our API documentation, not just demonstrate them in our tutorial notebooks.
Precedence: numpy documents down their ndarray.__getitem__ API, Many others, including dask and pandas, do the same.
Discussion
I also split up the Explainers section in the API documentation into subsections, otherwise the summary table gets a bit unwieldy. What it looks like now:

Please help to double check if the categorization is appropriate. Thanks~

I think documenting the __call__ methods is a great idea!
Organising the explainers
I like your categorisation, that's a nice improvement.
Where to put the docs
I think there might be a more appropriate way to organise these pages. The current proposal deviates a bit from the usual layout: each class being on one page, and all methods and attributes listed under that page.
Taking TreeExplainer as an example, at present the class is documented on this page, and all the methods are tabulated:

So, would it be better to include the __call__ method here along with all the other methods, rather than pulling it out separately from the class docs?
I believe this can be done with the :special-members: audodoc setting, as described here. Specifically, I think we would need to add this option in conf.py:
autodoc_default_options = {..., "special-members": ["__init__", "__call__"]}

I think the Sphinx autodoc settings are not quite working as hoped:
Taking as an example: https://shap--3852.org.readthedocs.build/en/3852/generated/shap.Explainer.html

The __init__ method is duplicated: it appears above the table of methods, and also below

The __call__ method doesn't appear in the table:

As a nitpick, it might be nicer to capitalise the explainers header:

@connortann so shall we go back to my original proposal, or do you have any other ideas?
I think the important thing is to get the documentation of __call__ and __getitem__ out there first, I intend to overhaul the documentation formatting in the future~

I would prefer to see if the issues above can be sorted, so we have the methods organised in the usual manner (i.e. in the table of methods on each class's page).
There are lots of config options to the various Sphinx extensions (autosummary, autodoc, autoclass) but I don't know the right settings off the top of my head. This might help:
https://stackoverflow.com/a/62161540


init: could not find match for ^\w+\W

Youtube transcription bug.

related issue

pytube #1918

This can be resolved by merging pytubue PR #1919.
Will close this if it's merged.

This regex error sometimes happens when only Youtube has updates on their frontends.
Confirmed It doesn't happen anymore, will reopen this if it happens again.


[Feature Request] RSS Feed

You'd have some even more devout followers if we could subscribe 👀

Visit /rss.xml and everything should be working. 😄


⚠ Slack has degraded performance

In bb6663a, Slack (https://status.slack.com/api/v2.0.0/current) experienced degraded performance:

HTTP code: 200
Response time: 77 ms

Resolved: Slack performance has improved in c54b92c.


[Feature Request] Main Hand Category Filter by Job

Hello,
As it works now, sstool won't let you display weapons for classes when you filter by job. example WAR cannot see MRD/WAR axes but only the relic weapons since they are WAR only, same applies to other jobs.
Is there any chance to implement or change this? So if I filter by WAR I'd be able to see all axes in the game rather than just the relic ones.
thank you.

Latest patch has this feature, thank you!


[logger] Remove no_struct_log feature

We had this feature as a temporary measure for some crates, like cluster test, where we did not want structured logging
However right now danger of this feature outweights benefits - with feature unification it can accidentally get enabled on some crate that build along the libra_node and it will kill structured logging for the whole binary.
As such it is safer to remove it.
This requires some minor change in cluster test crate to support this feature

@bors-libra r+

:pushpin: Commit 266ccd9 has been approved by sherry-x

:hourglass: Testing commit 266ccd95aa03d594eb85999e550f50ca6bdea20e with merge 394836c09954674ea3d00c323cde8e6b72c392be...

@bors-libra r-

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra r=sherry-x

:pushpin: Commit 42c49dd has been approved by sherry-x

@bors-libra r=sherry-x

:pushpin: Commit 42c49dd has been approved by sherry-x

:bulb: This pull request was already approved, no need to approve it again.

There's another pull request that is currently being tested, blocking this pull request: #4792

:hourglass: Testing commit 42c49dd019d4c9936e7ad4657ec78c82af0320ed with merge de42778473f49e630c5983e5e971c71a1bdbffab...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: sherry-x
Pushing de42778473f49e630c5983e5e971c71a1bdbffab to master...


Suggestion: consider using lighter shades of black

I'd like to suggest using lighter shades of black, like --color-bg: #1c1c1c as well as changing --color-content-bg-focus to some color that fits better with #1c1c1c (in this example) and other parts related.
As not everyone have an OLED screen to take advantage of such pitch black as currently is, it turns the dark theme "too dark". Something lighter would be also nicer, IMO.

I've gone back and forth a few times with the main shade of black in dark mode, and I think I'm going to stick with the current one (which is #030303, not #000000).
Apart from an aesthetic appreciation, does the darker shade pose any visibility issue? In my testing, going back to a slightly lighter shade would reduce contrast with several critical elements that I would also need to adjust as a result.

No, no, just aesthetic appreciation really. Anyway, thank you for considering the suggestion!


[refactor]: ClusterStatus vs. ClusterInfo or both?

I just merged to master and I a bit confused about some changes I'm seeing: this all is a bit of a mess.
We decided that we needed two cluster status configmaps: cluster-health and cluster-info:

cluster-health: used by neonDESKTOP and hosting managers to inspect cluster health
cluster-info: used by neon-dashboard to display summary information about a cluster

I think we should also separated the cluster lock status into a separate configmap as well:

cluster-lock: we need this configmap too

Issues:

[x] Currently, the ClusterStatus class maps to cluster-health.  We should rename this to ClusterHealth and rename any properties and variables as well.
[x] I don't see a ClusterInfo class.  We need to create this class and modify neon-dashboard to use that.
[x] Implement a new ClusterLock configmap class:

[x] Persist this to the cluster during cluster setup
[x] Modify neon-cli to manage this

[x] Cluster setup needs to persist the cluster-info configmap.
[x] ...and the new cluster-lock configmap
[x] Remove properties from ClusterHealth that are not relevant to the cluster health to reduce the payload size for what will be frequent pings.
[x] Change neon-cli cluster status command to cluster health and print JSON
[x] Add a neon-cli command to print the cluster info (as JSON?)

This is going to be a decent sized refactor.

DONE


Fixed MAVEN _VERSION env var

The MAVEN_VERSION env var was incorrectly set to "3.5"

/ok-to-test

/retest

/override ci/prow/e2e-gcp

/retitle Bug 1973109: Fixed MAVEN _VERSION env var

/lgtm


Revert "Add param config to client init"

This reverts commit df93eb853079f7e3644ca64f94625d259ed1bc7f.

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Add CSS to the webapp for the desktop version

This app was developed for mobile first. The current desktop view looks bad, especially the board. In the desktop, the game should be displayed in a central column and the left and right sides should be empty, in order to mimic a phone view inside the desktop.

I will be working on this @LucasLobo


Inline Worker works in dev but raises syntax error in build (library mode)

Describe the bug
I'm trying to distribute an NPM package blue that includes a worker.
blue/src/main.ts
import BlueWorker from './worker.ts?worker&inline';

const worker = new BlueWorker();
worker.postMessage({ message: 'start' });

export const greet = () => {
  console.log('Hello from the blue main!');
};

greet();

blue/src/worker.ts
import { pipeline } from '@xenova/transformers';

/**
 * Helper function to handle calls from the main thread
 * @param e Message event
 */
self.onmessage = (e: MessageEvent) => {
  // Use pipeline to avoid TS error
  console.log(pipeline);
  console.log('Hello from the blue worker!', e);
};

It works fine if I run npm run dev in blue. However, if I build blue as a library and import it from a different project red, the worker would raise an error.
For example, in the project red:
red/src/main.ts
import { greet } from 'blue';
greet();

If I run npm run dev in red, there is error in the browser web console:
SyntaxError: return not in function blob:http://localhost:5173/66de1e30-e7d3-4f48-8a00-cd6a9be2bb96.
Reproduction
https://github.com/xiaohk/vite-worker-error-demo
Steps to reproduce
To reproduce the error:

In blue: npm install && npm build
In red: npm install && npm run dev
Open localhost, the web console would show SyntaxError: return not in function
However, there is no error if one runs npm run dev in blue

System Info
System:
    OS: macOS 13.4.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 15.75 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.18.1 - ~/.nvm/versions/node/v16.18.1/bin/node
    Yarn: 1.22.19 - ~/Library/pnpm/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v16.18.1/bin/npm
    pnpm: 8.6.6 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 114.0.5735.198
    Safari: 16.5.1
  npmPackages:
    vite: ^4.3.9 => 4.3.9

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I was able to reproduce. But if I upgrade Vite in "blue", the error disappeared. I guess it was fixed in 4.4.x.


File Not Found Error

While running run_pipeline.py I'm encountering the below error:
Traceback (most recent call last):
  File "run_pipeline.py", line 66, in <module>
    run_RG1_and_oracle_method(CONSTANTS.api_benchmark, repos, window_sizes, slice_sizes)
  File "run_pipeline.py", line 28, in run_RG1_and_oracle_method
    CodeSearchWrapper('one-gram', benchmark, repos, window_sizes, slice_sizes).search_baseline_and_ground()
  File "/local/CodeT/RepoCoder/search_code.py", line 119, in search_baseline_and_ground
    self._run_parallel(query_line_path_temp)
  File "/local/CodeT/RepoCoder/search_code.py", line 105, in _run_parallel
    repo_embedding_lines = Tools.load_pickle(repo_embedding_path)
  File "/local/CodeT/RepoCoder/utils.py", line 118, in load_pickle
    with open(fname, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'cache/vector/repos/huggingface_diffusers_ws20_slice2.one-gram.pkl'

Additional Info:

huggingface_diffusers_ws20_slice2.one-gram.pkl file is created in cache/vector/random_api directory however, there is nothing in cache/vector/repo
Also, there is huggingface_diffusers_ws20_slice2.pkl file in cache/window/repo/

Can someone please help with this issue.

cache/vector/repo is supported to contain embedding vectors of repo windows. In run_pipeline.py, one has to manually call the https://github.com/microsoft/CodeT/blob/35f54d60b152cc31d134b788e702878ad613d9f7/RepoCoder/build_vector.py#L46 before starting the search process.

The cache files under "vector/repos/" are vectorized code fragments built from the code files within a repo. During code search, the vectorized code fragments are used for similarity comparison. So before running RG1 or repocoder method, we need to vectorize the code windows produced from each repo by calling the vectorize_repo_windows() function. I have updated the code in this commit (https://github.com/microsoft/CodeT/commit/6a6ef6359a3587e134d8350c3eebb0e639e7789a). Sorry for the inconvenience.


[stdlib] Make unsafe array initializer public

This is an implementation for the re-pitch of SE-0223.
The original underscored version of this initializer remains, with a deprecation notice. Also adds the initializer to ContiguousArray. Still to do:

[x] Check inlining attributes, other annotations
[x] Add tests for ContiguousArray and the non-underscored Array version

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test

@airspeedswift I was expecting this to fail the stable ABI test, since it’s adding new API — does that only track changes and deletions?

@swift-ci Please smoke test Linux platform

@swift-ci Please smoke test Linux platform

The corresponding evolution proposal has been accepted.

@swift-ci clean test

@swift-ci Please test

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 4f1aa9323a01ad0bc907a543abb1ef56ef6f4cf6

Build failed
Swift Test OS X Platform
Git Sha - 4f1aa9323a01ad0bc907a543abb1ef56ef6f4cf6

@swift-ci Please smoke test


[1.2.z]  Bump to Quarkus 2.13.8.Final

Summary
Please check the relevant options

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Dependency update
[ ] Refactoring
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change requires a documentation update
[ ] This change requires execution against OCP (use run tests phrase in comment)

Checklist:

[x] Example scenarios has been updated / added
[x] Methods and classes used in PR scenarios are meaningful
[x] Commits are well encapsulated and follow the best practices

run tests

run tests

Let's merge this, we need to be aligned with the latest to 3.2.
This seems like infra issues, or we have some weird troubles. CC @michalvavrik to be aware .8 is finally in.


[backend] add dataset complicity in dataset analysis

in class_counts field

see also https://github.com/IndustryEssentials/ymir/pull/1554


Extra backslashes before spaces in run script phases names

xcbeautify prints a \ before each whitespace in the names of my "Run Script" build phases.
For example :
❯ xcodebuild build -showBuildTimingSummary -workspace Redacted.xcworkspace -scheme Redacted-Debug | xcbeautify
[NotificationExtension] Running script Nullability\ Check
[NotificationExtension] Processing Info.plist
Signing Redacted.NotificationExtension.appex (in target: NotificationExtension)
[Pods-Redacted] Compiling Pods-Redacted-dummy.m
[Pods-Redacted] Building library libPods-Redacted.a
[ShareExtension] Processing Info.plist
Signing Redacted.ShareExtension.appex (in target: ShareExtension)
[Redacted] Running script [CP]\ Check\ Pods\ Manifest.lock
[Redacted] Running script Nullability\ Check
[Redacted] Running script Error\ codes\ check
[Redacted] Running script Linters
[Redacted] Compiling ISConsultationViewController.m
[Redacted] Compiling ISNewDocumentViewController.m
[Redacted] Linking Redacted-Debug
[Redacted] Compiling Consultation.storyboard
[Redacted] Processing Info.plist
[Redacted] Copying Redacted.ShareExtension.appex
[Redacted] Copying Redacted.NotificationExtension.appex
[Redacted] Running script [CP]\ Embed\ Pods\ Frameworks
[Redacted] Running script [CP]\ Copy\ Pods\ Resources
[Redacted] Running script Validate\ Payment\ Pickers\ XML
Signing Redacted-Debug.app (in target: Redacted)
Signing (3 tasks) | 24.000 seconds
Build Succeeded

I can probably look at this when I have more time and submit a PR.

@guillaumealgis Thanks for reporting this. A PR would be awesome!


Vertx : insert array of objects into my database without without for loop.

Hi guys,
I have an array of json object which i want to insert into my database, and instead of using a loop 'for' I'd like to use stored procedure, my question is how to do it without using the add method of jsonArray because as i see it takes one by one my records.
For example I have an array like this : [{'website': 'github.com', 'description': 'very useful'}, {'website' : 'google.com', 'description' : 'huge informations'}] and I don't want to use it like this :
for(i=0;i<ja.size();i++){
   JsonArray params = new JsonArray();
   params.add('website',ja.getJsonObject(i).getValue("website")).add('website',ja.getJsonObject(i).getValue("description"));
}

Regards.

This is not a bug, you should be asking this in the development forum: https://groups.google.com/forum/#!forum/vertx where the community will help you.


Release 0.5.2

This PR will be merged back into master with the changelog after patch release.
Here, I just want to show what's included in release so I can get ACK from someone :)

I started it from 0.5.1, that's why it shows more than these 2 last commits (@Restioson 's change and my changelog update).

I started it from 0.5.1, that's why it shows more than these 2 last commits (@Restioson 's change and my changelog update).

Are you sure this is correct? It includes more commits than that, namely 6, some of them from @bonomat.

Yes, I'm sure, 0.5.1 was not merged back to master after releasing :/ the last common ancestor from master is 0.5.0.

I am a bit confused what the process is now - are you actually planning on merging this into master?
Would that trigger a release by the action then?

I am a bit confused what the process is now - are you actually planning on merging this into master? Would that trigger a release by the action then?
Usually we create patch releases manually.

we do them manually, but we should subsequently merge them back into master, so that changelog stays updated and we can reach all the tags from master branch.

I have created this PR right now just for visibility, so you can ACK the scope of the change, as written in the description. Can you ACK the scope of the change please? :-)

ack the scope

we do them manually, but we should subsequently merge them back into master, so that changelog stays updated and we can reach all the tags from master branch.

My usual approach is to

create a branch for the new release
cherry-pick commits from master
update changelog on new release branch
trigger release from release branch
create a PR against master with only the changelog change.

Nothing else needs to be merged back into master.

we do them manually, but we should subsequently merge them back into master, so that changelog stays updated and we can reach all the tags from master branch.

My usual approach is to
* create a branch for the new release

* cherry-pick commits from `master`

* update changelog on new release branch

* trigger release from release branch

* create a PR against `master` with only the changelog change.

Nothing else needs to be merged back into master.

we do them manually, but we should subsequently merge them back into master, so that changelog stays updated and we can reach all the tags from master branch.

My usual approach is to
* create a branch for the new release

* cherry-pick commits from `master`

* update changelog on new release branch

* trigger release from release branch

* create a PR against `master` with only the changelog change.

Nothing else needs to be merged back into master.

IFAICT the standard approach is to merge back the whole thing, as then you know for sure you have never missed anything important back on master and the tag is mainlined too. It also is easier, because you don't need to do additional cherry-pick of the changelog fixes. are there any downsides to that?
Even in gitflow hotfix release workflow (and our patch release is pretty much the same), this is the last step: https://medium.com/hard-work/gitflow-release-hotfix-bddee96fc5c3
Anyway, thanks for the writing down the steps you did, I'll incorporate it into the release process document, so we can continue this discussion there!


Update links to QBD sync manager

[x] Held on https://github.com/Expensify/Web-Static/pull/130

This updates the constant in expensify-common to point to the new QBD sync manager file. And adds a new constant for the version number so that we can show the version number in the download link on web.
Fixed Issues
https://github.com/Expensify/Expensify/issues/299596
Tests
Make sure that you are able to download the file at: https://d2k5nsl2zxldvw.cloudfront.net/files/quickbooksdesktop/Expensify_QuickBooksDesktop_Setup_2300802.exe
QA
Make sure that you are able to download the file at: https://d2k5nsl2zxldvw.cloudfront.net/files/quickbooksdesktop/Expensify_QuickBooksDesktop_Setup_2300802.exe

@Gonals this is off hold and can be merged now. Thanks


Update UI images

Tutorials, documentation and blogs contains images or videos showing an old UI version.
It should be nice update all the references

I have partially updated the huggingface tutorial because we are promoting it.
I will create a separate repo for images and GIFs so we don't need to change the URLs in each notebook ( this is what I currently do for GIFs but it's on my dvsrepo account). This way is only a matter of updating the IMG in that repo and we dont overload this repo

Ok, but this could bring problems with older versions, once this approach is adopted.

I'm open to suggestions. What I would like to avoid is:

keeping large files (~15-20MB GIFs) in the main repo
being constrained to not updating/improving the images over time (for
example improving the images for the stable release).

It's true that we could have some mismatch for older versions, but we can
always keep some sort of versioning for when things really change in the UI
and we don't want to have those new images in past versions.
Again very open to any suggestions
El mié., 18 ago. 2021 14:24, Francisco Aranda @.***>
escribió:

Ok, but this could bring problems with older versions, once this approach
is adopted.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/recognai/rubrix/issues/270#issuecomment-901069332,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIOJJ7SAHCUNVC6DXUXVD3T5ORBDANCNFSM5CAPIC6A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

I'm fine with keep images in a separate repo(maybe just a different branch could be enough). What I've remarked was just to keeping the same url for all versions could make mismatch in older versions.
Since it's just a documentation concern, maybe we could change the document generation process to address all of those "fringes".


Handle case where PVC data source storage > volumeClaimTemplate storage

Steps to reproduce:

Use an existing VolumeSnapshot.
Create CosmosFullNode with volumeClaimTemplate storage < VolumeSnapshot.

You will see this error in describe:

Low priority. Rare edge case.


add flags for qps and burst instead of hardcoding them

Changelog
Add flags for qps (-kube-api-qps) and burst (-kube-api-burst) for configuring them instead of having them hardcoded.
This PR closes Issue https://github.com/kubernetes-sigs/jobset/issues/338

/ok-to-test
/lgtm
/assign @danielvegamyhre @ahg-g

/lgtm
/approve
Thanks for working on this!


Can you please share how android can connect to the obfsproxy-openvpn server?

Hi Khavish Anshudass Bhundoo,
Love your great work.
Most of my users connect to VPN server via mobile phones (mostly android). Wondering if you can provide instructions on how to set android up?
Thanks and Regards,
Don Z

Hi.Only work with this:
https://play.google.com/store/apps/details?id=it.colucciweb.openvpn
El vie., 19 oct. 2018 18:41, DonZheng<EMAIL_ADDRESS>escribió:

Hi Khavish Anshudass Bhundoo,
Love your great work.
Most of my users connect to VPN server via mobile phones (mostly android).
Wondering if you can provide instructions on how to set android up?
Thanks and Regards,
Don Z
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/khavishbhundoo/obfsproxy-openvpn/issues/5, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AY0hClIUS6fPSUlhwKQb78fXWpDJ-oGcks5umgDQgaJpZM4Xw61R
.

in google play says item not found


Plugin for Android Studio

This tool is very good, i wish i could use it natively in Android Studio.

The main feature of the web application is the ability to keep it up to date with the technology. It is not possible for plugins where you need to ask the user to update the software


PreferenceFragment and AppCompat.

It`s possible extends from Fragment from support library? I'm using Navigation View on a project and all fragmens needs extending android.support.v4.app.Fragment

As long as you don't need to support devices older than Android 3 you can use native fragments alongside support fragments. That being said the next version of this library will probably exchange its base to recently introduced support-preference-v7 (based on support fragments).

Beware, the new version 0.5.0 uses preference-v7 as its base instead of native preference which will require you to change some things on your end (mostly just using XpPreferenceFragment instead of AppCompatPreferenceActivity).


'installSolution' step in site script fails if site design is applied afterwards or if site is not immediatley opened after creation from admin center

Category

[ ] Question
[ ] Typo
[X] Bug
[ ] Additional article idea

Expected or Desired Behavior
When applying a site design with a site script that includes the 'installSolution' verb, when creating a site based on the site design or applying the site design manually, the app should be installed to the site automatically. This does not work as expected.
Observed Behavior
The installation of an app to a site though site script only works in the following cases:  Create a site through SharePoint Home and select the site design, or Create a site though SharePoint admin center and select the site design and open the site immediatley after the site has been created. If applying site design on an already created design through 'Site settings' > 'Site Designs', or if you want more than 30 seconds after creating the site from admin center and then opening the site in the browser, the installation step fails and app is not installed. In 'Site Design' view on the site, it says 'Action failed' on the app installation step.
Steps to Reproduce
We can reproduce with any SPFX package in any environment. Office365 support could also reproduce the issue, but could not help us since they claimed it's a development related issue.

Install an SPFX solution to the tenant app catalog (i.e. default solution generated by yo @microsoft/sharepoint). Do not make it tenant deployed automatically on all sites.
Create a site script and site design and replace the id guid with the unique ID of the app. Install the site script and site design on the tenant with SPO Powershell.

{
"$schema": "schema.json",
"actions": [
{
"verb": "installSolution",
"id": "a53b0fd0-ca40-42c5-b3c4-8b894431220a"
}
],
"version": 1
}
3a. Create a site collection with the site design through SharePoint Online Admin Center. Wait 30 seconds. Then open the site the browser. Installation of app fails.
3b. Create a site collection based with Blank Communication site. Open the site in the browser. Through the 'Site Design' in the UI, apply the site design manually. Installation of app fails.
The following scenario works though:
3c. Create a site collection with the site design through SharePoint Home. After the site has been created the user gets redirected to the site directly. Site design and app installation step is completed with no issues.

Experiencing the same issue. We need to apply the site design when the (communication) site is created using the blank site design because we're provisioning a taxonomy field which requires the TaxonomyFieldAdded feature to be activated. This feature seems to activate with a delay after the site is created.

Also the same issue here, if I apply the site design at site creation it works.


Generator tab checkboxes

The "Hard Mode" and "Disable Spoilers" checkboxes in the generator tab get toggled even if you press on the far right end of the column.
This leads to me often toggling them accidentally (such as while clicking out of one of the input fields to the right)) and not even noticing it.
Instead the click event listener could be limited to the length of the text component, since that is the visual delimiter of what "belongs" to the checkbox.

Fixed in https://github.com/ori-rando/ui/commit/75e8748ffa187563e8bc27e236d797d358e991b9


[CARE-3415] Feature - Use Uploadcare's image loader to optimize images

Same changes as in Bea and Greta 🙂

It should be fine to merge, the changes are mostly copy pasted from Bea.


not able to update the mounted file via docker exec echo >

I am trying to update a mounted file in the container via docker exec.
when I run the below:
root@nfvo1-E9000:/root# docker exec -ti 2a5df6777095 echo abc > /data/raft/peers.json
-bash: /data/raft/peers.json: No such file or directory
I realize the wrapped command may look for this file on the docker host, but actually it is mounted at somewhere else on the host, I then try put '' around the command:
root@nfvo1-E9000:/root# docker exec -ti 2a5df6777095 'echo abc > /data/raft/peers.json'
Cannot run exec command f12b54e8605929bab1d4a2204d4ce739f29ca38d34e96c52fe7e3692fd3bc19c in container 2a5df6777095faa8f66a64ac8fd61191c66758da769eb81dda062a12600557df: [8] System error: exec: "echo abc > /data/raft/peers.json": stat echo abc > /data/raft/peers.json: no such file or directory
Error starting exec command in container f12b54e8605929bab1d4a2204d4ce739f29ca38d34e96c52fe7e3692fd3bc19c: Cannot run exec command f12b54e8605929bab1d4a2204d4ce739f29ca38d34e96c52fe7e3692fd3bc19c in container 2a5df6777095faa8f66a64ac8fd61191c66758da769eb81dda062a12600557df: [8] System error: exec: "echo abc > /data/raft/peers.json": stat echo abc > /data/raft/peers.json: no such file or directory
this time it still complains the file is not found, but I can use the vi in the command to edit this file:
docker exec -ti 2a5df6777095 vi /data/raft/peers.json

found the solution:

solution found:
http://stackoverflow.com/questions/35703317/docker-exec-write-text-to-file-in-container


Update coincident event search using large shower events

Since the time offset depends on the observation dates, we needed to tune the offset scan region if we use the current method. This PR adds an option (all_combination) to select the best time offset among all possible combinations using large shower events. For the moment, 50 (MAGIC) x 50 (LST) events are selected by default to compute all possible time offsets and count coincident events with an assumed offset.

The updated procedure is

Pre offset search

Large-intensity events (100 LST x 100 MAGIC) are extracted
Compute all possible time offsets
Find the best offset giving the largest numbers of coincident events
Define the time offset scan region +/- full window width (600 ns) around the best offset

Time offset scan using this offset and full datasets
Since offset scan region can be different between M1 and M2, profile data frame is like below:

Since the final coincident event search is performed using full datasets, the same coincident events are extracted w/ or w/o this method. The only weak point is that it does not work if the number of coincident events is too low (<10 events), but I think it is negligible.

Thank you Alessio for the comments!

One thing: did you try to see as x-check if you get similar/same results if you use the "all combination" approach and the old one with a time offset equal to the one found in the new method?

Yes! Here you can also see the difference in the results between the current method and the updated one ('all combination' approach) using 2962 LST subrun data taken in March 2023.

Following the comment by @YoshikiOhtani in the meeting, I changed the scan range to +/-3 x half_window_width (1.5 x full window width) around the offset the pre-search found. Using this offset scan range, I got completely the same results (time offset, n_coincidence_events) as the current method for all of LST subruns.


cache_or_load_file should use the target directory for temporary outputs

chainer.dataset.cache_or_load_file avoids conflicts on calling in multiple threads/processes by first saving the object to a temporary file and then safely moving it to the target path. https://github.com/pfnet/chainer/blob/master/chainer/dataset/download.py#L139 The temporary file is made in a temporary directory created by mkdtemp, which can be in a different drive from that on which a user wants to save the object (i.e., the path argument). It would be problematic, e.g. when the object is too large to save into the global temporary directory like /tmp.
I think we should use an approach taken in cached_download (i.e., specifying dir option to mkdtemp): https://github.com/pfnet/chainer/blob/master/chainer/dataset/download.py#L98

Is anyone interested in it?


Cropping Activity not showing up.

When having more than one Intent one for the gallery and another for the cropping the activity for the latter doesn't show up
I started the activity of the cropper with this CropImage.activity(imageUri).setGuidelines(CropImageView.Guidelines.ON).start(MainActivity.this);
And this is my onActivityResult
   @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);

        switch(requestCode){
            case 0:
                if (requestCode == PICK_IMAGE_REQUEST && resultCode == RESULT_OK && data != null && data.getData() != null) {

                    imageUriStr = data.getData().toString();

                    prefs.edit().putString("imageUriStr", imageUriStr).apply();
                }
                break;
            case 203:
                CropImage.ActivityResult result = CropImage.getActivityResult(data);
                    if (resultCode == RESULT_OK) {
                        Uri resultUri = result.getUri();
                        croppedImageUriStr=resultUri.toString();
                        Log.d("Value",croppedImageUriStr);
                    }
               break;
        }
    }

What I noticed is that before adding the part after case 203, it worked just fine, the cropper activity showed up, when I add that part of code it doesn't give any error I just don't show on screen.
Is this the right way of doing it?

Nevermind got it working, my bad here.


Support every update operators

http://docs.mongodb.org/master/reference/operator/update/

Done except the bitwise and $isolated operators since usage is confidential, free free to implement if needed.


need misconfigured proxy warning

a proxy path that doesn't have a valid hostname, port, or path should show warning when started

in particular when a variable is used an not defined


Improve diagnostic logging

Library name
Azure.Monitor.OpenTelemetry.Exporter
Please describe the feature.
https://github.com/Azure/azure-sdk-for-net/issues/34483

closing this as completed.