Alignment test

This PR ensures that the original and blackjax versions of MCLMC align. It was becoming tiresome to make sure both were aligned, since both repos were changing, so I have simply copied the core of the original repo's code into a test file, and written tests for:

comparison of the momentum update
comparsion of the integrator (mclachlan, aka minimal_norm)
comparison of the sampler
comparison of the adaptation

It all works.
Note: I have not made any effort to make the code I transported over compliant with blackjax' software practices. In fact I wanted to change it as little as possible. So flake8 and mypy are ignored for this test file.

[x] We should be able to understand what the PR does from its title only;
[x] There is a high-level description of the changes;
[x] There are links to all the relevant issues, discussions and PRs;
[x] The branch is rebased on the latest main commit;
[x] Commit messages follow these guidelines;
[ ] The code respects the current naming conventions;
[ ] Docstrings follow the numpy style guide
[x] pre-commit is installed and configured on your machine, and you ran it before opening the PR;
[x] There are tests covering the changes;
[x] The doc is up-to-date;

It seems that using jax.config to set to float64 is causing a test issue. Float64 is needed however. Suggestions on what to do?

Hmmm thanks for the PR, but I dont think this is necessary... I suggest to convert it into a notebook, in case you want to run it in the future. We can put it in a misc/ folder so that it does not ship with other code when we release a new version.

Yes that sounds sensible. It's less for the sake of testing, and more for my own use, because once the code gets unaligned, it's very hard to sync.

Yes that sounds sensible. It's less for the sake of testing, and more for my own use, because once the code gets unaligned, it's very hard to sync.

I dont think we should aim to have always the 2 implementation in sync, there are trade off between different implementation re speed, numerical precision, clarity etc. As long as we have test on the key places to make sure it is the same (e.g., the integrators) it is sufficient.

I agree in general. The reason I've been so focused on the alignment is mainly for the tuning, which is quite complex, and parts of which I don't yet understand. So I'm not confident I implemented it right unless it exactly reproduces the current results. For the main algorithm, I agree that the it is simple and modular, so just testing the integrator, noise and (maybe) initialization is fine.

I see, let's work on test specifically for tuning then in this case.


[AutoPR containerregistry/resource-manager] [ACR ]scope map token expiry defaults to null

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7458

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/7930


Fix links to MELPA and videos in README.md

Just some quick fixes to links in the README.md:

The links to the videos that were in the GitHub Pages for the bpiel account (original location of this project) are not in the README.md. so even though the README.md mentions the videos it doesn't link to them. For reference, you can see the Github Page of the original account at archive.org

The MELPA link was to the old domain, no longer working. Also added a link to MELPA Stable, which is mentioned in the README.md.

Thanks!


docs: improvements for body parser & request context for nest

bodyParser is deprecated, you need to use it via express or have an annoying deprecated warning
forgot to disable bodyparser in nest itself
switched our internal module name for a more generic one

Looking good, please update the next docs too (docs/docs/usage-with-nestjs.md)

thanks!


Fix concurrency

Companion PR: https://github.com/SubstraFoundation/substra-backend/pull/279

Closed in favor of

https://github.com/SubstraFoundation/hlf-k8s/pull/86
https://github.com/SubstraFoundation/hlf-k8s/pull/87


__OSX_AVAILABLE_STARTING error when building on macOS 10.14

Issue description
When building something on macOS 10.14, using today's nixpkgs I get:
/nix/store/lki08vfid5qgxc3niygjxq6w2yy3s02k-apple-framework-Security/Library/Frameworks/Security.framework/Headers/SecCertificate.h:146:5: error:
      expected function body after function declarator
    __OSX_AVAILABLE_STARTING(__MAC_10_12_4, __IPHONE_10_3);

which is then followed by a bunch of undefined references to Security.framework structs. Am I missing anything trivial?
Steps to reproduce
Technical details

system: "x86_64-darwin"
host os: Darwin 18.5.0, macOS 10.14.4
multi-user?: no
sandbox: yes
version: nix-env (Nix) 2.2.1
channels(ktf): "nixpkgs-18.09pre154109.571b40d3f50, nixpkgs-19.03-19.03pre172363.b12b1e2f428, nixpkgs-unstable-19.09pre177248.ed1b59a98e7"
nixpkgs: /Users/ktf/src/nix/nixpkgs

→ which clang
/nix/store/1af9gw0gimxrhzzf5zbhajzs9110ff6p-clang-wrapper-7.1.0/bin/clang

Could you post a reproduction of what you are running?

The reproduction is a bit complicated as it involves a nix environment which is then used to build our software with an internal tool. There must be something completely screwed up with what I do, however, since if I use the following shell.nix:
{
  pkgs ? import <nixpkgs-unstable> { },
}:

pkgs.mkShell {
  buildInputs = [
    pkgs.darwin.apple_sdk.sdk
  ];
}

and I try to compile:
#include "cmath"

using std::signbit;

with:
[nix-shell:~/.../active/test-new-clang]$ which clang
/nix/store/1af9gw0gimxrhzzf5zbhajzs9110ff6p-clang-wrapper-7.1.0/bin/clang

[nix-shell:~/.../active/test-new-clang]$ clang++ foo.cc

I get a bunch of errors, while using the clang from Xcode works just fine.

For the record:
[nix-shell:~/.../active/test-new-clang]$ clang++ -M foo.cc
foo.o: foo.cc \
  /nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath \
  /nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/__config \
  /nix/store/jhv0xgbr6slpzcwmig1776ivg9c6vshy-MacOS_SDK-10.12-dev/include/math.h \
  /nix/store/jhv0xgbr6slpzcwmig1776ivg9c6vshy-MacOS_SDK-10.12-dev/include/sys/cdefs.h \
  /nix/store/jhv0xgbr6slpzcwmig1776ivg9c6vshy-MacOS_SDK-10.12-dev/include/sys/_symbol_aliasing.h \
  /nix/store/jhv0xgbr6slpzcwmig1776ivg9c6vshy-MacOS_SDK-10.12-dev/include/sys/_posix_availability.h \
  /nix/store/jhv0xgbr6slpzcwmig1776ivg9c6vshy-MacOS_SDK-10.12-dev/include/Availability.h \
  /nix/store/jhv0xgbr6slpzcwmig1776ivg9c6vshy-MacOS_SDK-10.12-dev/include/AvailabilityInternal.h

The actual error is:
In file included from foo.cc:1:
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:313:9: error: no member named 'signbit' in the global namespace
using ::signbit;
      ~~^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:314:9: error: no member named 'fpclassify' in the global namespace
using ::fpclassify;
      ~~^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:315:9: error: no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
      ~~^
/nix/store/jhv0xgbr6slpzcwmig1776ivg9c6vshy-MacOS_SDK-10.12-dev/include/math.h:757:12: note: 'finite' declared here
extern int finite(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_9, __IPHONE_NA, __IPHONE_NA);
           ^
In file included from foo.cc:1:
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:316:9: error: no member named 'isinf' in the global namespace
using ::isinf;
      ~~^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:317:9: error: no member named 'isnan' in the global namespace
using ::isnan;
      ~~^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:318:9: error: no member named 'isnormal' in the global namespace
using ::isnormal;
      ~~^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:319:9: error: no member named 'isgreater' in the global namespace
using ::isgreater;
      ~~^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:320:9: error: no member named 'isgreaterequal' in the global namespace
using ::isgreaterequal;
      ~~^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:321:9: error: no member named 'isless' in the global namespace
using ::isless;
      ~~^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:322:9: error: no member named 'islessequal' in the global namespace
using ::islessequal;
      ~~^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:323:9: error: no member named 'islessgreater' in the global namespace
using ::islessgreater;
      ~~^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:324:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
      ~~^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:325:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
      ~~^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:331:9: error: no member named 'abs' in the global namespace; did you mean 'fabs'?
using ::abs;
      ~~^
/nix/store/jhv0xgbr6slpzcwmig1776ivg9c6vshy-MacOS_SDK-10.12-dev/include/math.h:431:15: note: 'fabs' declared here
extern double fabs(double);
              ^
In file included from foo.cc:1:
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:551:28: error: expected a qualified name after 'typename'
_LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type
                           ^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:551:37: error: expected ';' at end of declaration
_LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type
                                    ^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:551:37: error: expected unqualified-id
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:563:39: error: use of undeclared identifier 'is_floating_point'
_LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type
                                      ^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:563:57: error: '_A1' does not refer to a value
_LIBCPP_CONSTEXPR typename enable_if<!is_floating_point<_A1>::value, bool>::type
                                                        ^
/nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/cmath:561:17: note: declared here
template <class _A1>
                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

(all this used to work before moving to the latest nixpkgs with the 10.12 migration, BTW).

(thank you for taking the time to look into it, BTW)...

If you just need the frameworks, you can do:
{
  pkgs ? import <nixpkgs-unstable> { },
}:

pkgs.mkShell {
  buildInputs = [
    pkgs.darwin.apple_sdk.sdk.out
  ];
}

This avoids including any of the sdk 10.12 headers which appear to interfere with libc++.

Mmm... I think I would need also some header, so I am not sure if that would work. That said, it looks like that results in an even more "complicated" business with clang5 and clang7 headers mixing:
[nix-shell:~/.../active/test-new-clang]$ clang++ -M foo.cc
foo.o: foo.cc \
  /nix/store/c3gsacyfdnfjh0f7d4jjq6zwy6fp8mgy-libc++-5.0.2/include/c++/v1/cmath \
  /nix/store/c3gsacyfdnfjh0f7d4jjq6zwy6fp8mgy-libc++-5.0.2/include/c++/v1/__config \
  /nix/store/c3gsacyfdnfjh0f7d4jjq6zwy6fp8mgy-libc++-5.0.2/include/c++/v1/math.h \
  /nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/math.h \
  /nix/store/c3gsacyfdnfjh0f7d4jjq6zwy6fp8mgy-libc++-5.0.2/include/c++/v1/type_traits \
  /nix/store/c3gsacyfdnfjh0f7d4jjq6zwy6fp8mgy-libc++-5.0.2/include/c++/v1/cstddef \
  /nix/store/l5y9lragp239hsmrxq7dacwrbskni8qy-libc++-7.1.0/include/c++/v1/stddef.h \
  /nix/store/kcjs7m2ydcaqck4npqsr0wph3xmh2c4l-clang-wrapper-5.0.2/resource-root/include/stddef.h \
  /nix/store/c3gsacyfdnfjh0f7d4jjq6zwy6fp8mgy-libc++-5.0.2/include/c++/v1/__nullptr \
  /nix/store/c3gsacyfdnfjh0f7d4jjq6zwy6fp8mgy-libc++-5.0.2/include/c++/v1/limits \
  /nix/store/c3gsacyfdnfjh0f7d4jjq6zwy6fp8mgy-libc++-5.0.2/include/c++/v1/__undef_macros

[nix-shell:~/.../active/test-new-clang]$ clang++ --version
clang version 5.0.2 (tags/RELEASE_502/final)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: /nix/store/p2yxcpcg920s5lx64hz0ajr11hja930v-clang-5.0.2/bin

I guess that is the culprit, albeit I am not sure why I get clang5 from the old configuration... Maybe it's due to the fact I use lorri to setup the environment for that same folder...

Ok... After a bit of fiddling I think I found a small reproducer for what is the actual issue:
$ cat foo.mm
#include <Cocoa/Cocoa.h>
#include <set>

std::set<CFFileDescriptorRef> foo;

$ cat shell.nix
{
  pkgs ? import <nixpkgs-unstable> { },
}:
pkgs.mkShell {
  buildInputs = [
    # pkgs.glew
    pkgs.darwin.cf-private
    pkgs.darwin.objc4
    pkgs.darwin.apple_sdk.frameworks.Cocoa
    pkgs.darwin.apple_sdk.frameworks.OpenGL
    pkgs.darwin.apple_sdk.frameworks.CoreServices
    pkgs.darwin.apple_sdk.frameworks.CoreText
    pkgs.darwin.CoreSymbolication
    pkgs.darwin.usr-include
  ];
}

and then:
$ clang++ -c foo.mm

works fine. If I comment our the pkgs.glew line I get:
foo.mm:4:10: error: unknown type name 'CFFileDescriptorRef'; did you mean 'CTFontDescriptorRef'?
std::set<CFFileDescriptorRef> foo;
         ^~~~~~~~~~~~~~~~~~~
         CTFontDescriptorRef
/nix/store/nhng8ibgs7bdyyw26cx73dvkn3a9x7ci-apple-framework-CoreText/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h:46:7
typedef const struct CF_BRIDGED_TYPE(NSFontDescriptor) __CTFontDescriptor * CTFontDescriptorRef;

More on this. The actual issue seems the inclusion of:
pkgs.darwin.apple_sdk.frameworks.AGL

(which is done by glew...)


hack: Add $GOPATH to hack/update-generated-xxx.sh scripts

So that not everyone has to figure this out.

LGTM

cc @davidopp for lead LGTM

jenkins failure is unrelated to these changes:
Test Result (1 failure / -4)
Kubernetes e2e suite.Addon update should propagate add-on file changes

@k8s-bot test this please

Cluster didn't started.

@k8s-bot test this please

LGTM
Jenkins failures are not related to this PR. I'll re-run anyway but this is OK to merge.

@k8s-bot test this please


Mixer Report: attribute index not defined error

Mixer: gcr.io/istio-release/mixer:release-1.0-20180810-09-15
Proxy: gcr.io/istio-release/proxyv2:release-1.0-20180810-09-15
The following error was observed while using release-1.0-20180810-09-15
4050 [libprotobuf ERROR src/istio/mixerclient/report_batch.cc:83] Mixer Report failed with: UNKNOWN:1 error occurred:%0A%0A* request could not be processed due to invalid attributes: 1 error occurred:%0A%0A* attribute index 202 is not defined in the available dictionaries

The global wordlist compiled with Mixer is older and shorter than the one used by mixer client.
Mixerclient is built with a more recent version of istio/api than Mixer.

cc @qiwzhang


Add defgen and defgenp. Add yield and yield_all

#184
#181
#191
#185

Is yield removed (commit ad1b8ca)?  If not, how do I write a function that yields that translates to a function* yield function?

yield/0, yield/1, and yield_to/1 were moved into Kernel. So to make a generator function with yields would be something like this:
defgen my_func() do
  yield 1
end


Empty collision layer causes a segfault when added to the screen

When a collision layer exists but has no elements, adding the collision layer to the screen causes a segfault due to a missing NULL check in addCollisionLDtkTileMap. Same NULL check should also be placed in removeCollisionLDtkTileMap.

Fixed in v0.2.0


replace ajeddeloh/go-json with coreos/go-json

replace ajeddeloh/go-json with coreos/go-json
The old repository does not exist anymore and is redirecting to github.com/coreos/go-json. At the moment, every consumer of this project has to maintain a custom rewrite directive in their go.mod, this PR would be one step to get rid of that.
This will effectively raise the minimum Go version to Go 1.18 ( https://github.com/coreos/go-json/blob/main/go.mod#L3 ).

If this gets merged, can we also get a new tagged release, pretty please? :-)


VerificationException in TransientLifetimeManager on Azure DevOps

Our continuous integration builds on Azure DevOps just started having this problem.  Didn't update any of this code.  Happening with Unity.Container.dll version <IP_ADDRESS> s well as <IP_ADDRESS> on older projects.  Not able to reproduce locally in visual studio.  any ideas??
var container = new UnityContainer();
Initialization method Heska.Core.Tests.Domain.ServicesUnitTests.StudyServiceCreateLocalStudyFromServerForTests.ATestInitialize threw exception. System.TypeInitializationException: The type initializer for 'Unity.Lifetime.TransientLifetimeManager' threw an exception. ---> System.Security.VerificationException: Operation could destabilize the runtime..
Stack trace
at Unity.Lifetime.TransientLifetimeManager..cctor() in C:\projects\abstractions\src\Lifetime\Managers\TransientLifetimeManager.cs:line 26

Unity development and support is on pause at the moment
https://github.com/unitycontainer/unity/discussions/368


Support for OpenSUSE installation

This adds the required packages for building torch on OpenSUSE. Tested on 12.03.

Thanks!


fix the exist repo_file must contails same name with new repo

Proposed changes
Issue Number: close #xxx
The user manually adjusted the 'name' field in the __repo_info file under the repo file on S3, but did not modify the folder name. This led to an issue when the user created a repo with the same name as the folder in a certain cluster. The system parsed the 'name' field in the existing __repo_info and used an incorrect name, causing the subsequent repo to be unusable. A judgment has been added here: the 'name' field in the __repo_info must be the same as the new repo's name, otherwise, an error will be reported.


html/cssls setup. Some idea with this pls?

I followed the steps of the CONFIG.md to configure html and cssls but I get these errors, I tried some things and it keeps persisting
I don't have a lot of time that I use neovim and lsp, maybe it is a newbie mistake but I would be totally grateful if someone can help me, thanks in advance
Translation: An error occurred while processing Auto-commands for "css" / "html"

Also when I run :LspInfo this is that I get

nvim --version: NVIM v0.6.0-dev+43-g02bf251bb
Operating system/version: Windows 10

Code sample
My: init.vim
" LSP
Plug 'neovim/nvim-lspconfig'
Plug 'nvim-lua/completion-nvim'
" ;-;
Plug 'hrsh7th/vim-vsnip'
Plug 'hrsh7th/vim-vsnip-integ'

source $LOCALAPPDATA\nvim\config\lsp-config.vim

My: lsp-config.vim
lua << EOF
local nvim_lsp = require'lspconfig'

local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true

nvim_lsp.cssls.setup {
   on_attach = require'completion'.on_attach,
   capabilities = capabilities,
}
nvim_lsp.html.setup {
   on_attach = require'completion'.on_attach,
   capabilities = capabilities,
}
EOF

Health check

Checkhealth result
health#lspconfig#check
========================================================================
## Checking language server protocol configuration
  - INFO: cssls: configuration checked.
  - INFO: html: configuration checked.
  - INFO: tsserver: configuration checked.

Sounds like you haven installed vscode-langservers-extracted. Or they're not in your PATH.

You can debug with this container https://github.com/mjlbach/lsp-containers/tree/master/htmlls

I'm closing this as a usage/configuration question. Feel free to follow-up on our [discourse][[https://neovim.discourse.group/c/7-category/7] if you are still having issues debugging your config, but I'm not able to reproduce this in the container.


Remote side video was dropped/paused when there is a long apprtc call [3 hours]

Browsers and versions affected
Chrome Version: 65.0.3325.65 / 10323.30.0 Panther, Candy
OS: Chrome OS
Steps to reproduce
(1) Create a peer-peer call between a chrome book and a chrome box https://appr.tc/ [Candy and Panther]
(2) Let the ongoing call active for long period (in my case it was more than 3 hours)
Expected results
Video of the remote side works fine. Video quality on either side should be free from glitches.
if this is a limitation it will be nice to inform that the session is expired.
Actual results
Remote side video is hanged in both the devices (Panther and candy). The call is still live but the video of the remote side is paused. For example: Video feed of chromebox in chrome book is paused and vice versa. The local video on both these devices continue to work as usual.
As per the javascript logs: ICE enters a disconnected state which indicates the media connection has been dropped and AppRTC displays the last received video frame.
Since this is observed in both chrome book and Chrome box. This is likely reproducible in other chrome devices.
Note: Similar tests were performed in windows machines. Video was quite good until 24 hours.
https://bugs.chromium.org/p/webrtc/issues/detail?id=8749
https://bugs.chromium.org/p/chromium/issues/detail?id=814290
Logs: 3 hours test.zip

There are some session limitations in the backend and turn server but they should be longer than this. From the logs it's hard to figure whats wrong, just that the media connections dropped, it could be the wifi (AppRTC does not do ice restart hence if the network drops, it will not reconnect like production apps do).
I will close this since there is not much we can do at this point + its not a critical issue, 3 hours is still plenty long.


Replace tape with npm-based jasmine

Replaces the alternative test suite that was added as part of #7691 with jasmine-npm
So still be able to run tests in CLI w/o all the browserify/source-map overhead, but using the same test API everyone is used to.
For now only migrated the single test there were, but technically we should be able to move all non-view/DOM-related tests to this runner instead and avoid the browserify-build/source-map issues in the test env.
Test run output probably looks familiar:
$ npm test

><EMAIL_ADDRESS>test /Users/viddo/src/cartodb
> jasmine

Started
.............................................................

61 specs, 0 failures
Finished in 0.042 seconds

@xavijam
cc @javierarce @nobuti @alonsogarciapablo

👍


Provide a poetry binary

examples/simple/README.md says

The poetry.lock file can be updated with a locally installed poetry as poetry update.

But that assumes developers have poetry installed locally, and their versions might drift. I'd prefer to bazel run @rules_poetry//poetry update or something like that.
(note, I have this working here https://github.com/bazelbuild/rules_python/tree/poetry/examples/poetry but I'm not sure where the code belongs yet)

Good catch! The doc line is outdated, I add poetry_update target to the example like
load("@rules_poetry//python:poetry.bzl", "poetry_update")

poetry_update(
    name = "update_lock",
    lock = "poetry.lock",
    toml = "pyproject.toml",
)


UI bug in actions window

Verify it's not a duplicate bug report

[X] I searched for similar bugs reported on GitHub and nobody has reported a similar issue. Search all issuees.

Verify troubleshooting guide is missing steps to solve this issue

[X] I read Troubleshooting guide on Readme and there is not a guide on how to solve my problem.

Describe the Bug
When I click on actions button, it open a window overlay with transparent background (or bad z-index)

Please tell us if you have customized any of the extension settings or whether you are using the defaults.
I use default settings
Additional context
No response

Please see #239 and our readme about our announcement. I'll make sure to archive these feature requests and provide to whomever continues the journey as a reference.


[flawhud] Custom backgrounds do not apply

Custom Backgrounds applied from TF2 Hud Editor, do not apply and default to the backgrounds in \materials\console. My 1920x1080 wallpapers were working previously before I updated the hud schema. I have tried with different wallpapers of the same resolution and from a fresh install of the hud, with no luck.

Can you post a screenshot of your editor page please? The broken mode selection was fixed a while ago so you may be missing the latest flawhud schema in the editor.

Retested with the latest editor and HUD version. The custom background applies correctly, so does the "Old Mode Selection".
"Main Menu Class Images" toggle that would hide the grill also works and will be renamed to "Hide Menu Images" shortly.
The default background toggle would not work because you are overriding it with a custom background which will persist across the entire HUD. If you want to have default backgrounds, you need to remove the custom background and reinstall the HUD as instructed by the prompt that shows up when you try to set a custom background.

@Firerr please see comment above and let me know if there's are still any issues. Thanks.

So I disabled main menu class images (I didn't consider grill to be part of the category), cleared my custom background image. I then reinstalled the program and hud, and re added my custom background. A new schema update did appear, which I applied.

Ok yeah still getting issues, my tf2 is looking nothing like your own screenshots, the custom background does appear while launching the game, but is being overriden by full moon, quickplay core and arena are missing. Another issue has arisen, hud elements are bugged out.

this is what i get if i have the hud already installed and then reinstall the hud program, and apply the new hud schema(following the steps in the previous comment)

Can you try downloading and placing the below file into your editor's JSON folder please?
Download: flawhud.json
You're on the correct version of the HUD at least so the remaining issues are due to an outdated schema. Not sure why the editor is not pulling the latest version for you. The above file is what I have on my end so hopefully it resolves the issue. You won't need to reinstall the editor, only the HUD just to be safe.

it fixes the issues with the hud elements but old loadout and the background are still not showing, trying to set a new background is actually just crashing the hud editor

ok ive managed to fix it myself, to get it to work i had first nuke the appdata files related to tf2-hud-editor, then like magic everything started working.

ok ive managed to fix it myself, to get it to work i had first nuke the appdata files related to tf2-hud-editor, then like magic everything started working.

Interesting. That might explain other issues long time users have been experiencing since the editor just keeps writing to AppData without ever clearing it. Maybe a nuke AppData option or instruction somewhere would be helpful for next release. Thanks!


bgpv1: add CiliumBGPFamily CRD and utilize it

This commit introduces a new CiliumBGPFamily CRD which allows users to specify which Safi/Afi(s) they'd like to advertise or learn over a peer.
If no CiliumBGPFamily(s) are provided in the CiliumBGPNeighbor CRD, a default set is provided which advertise/learn IPv4 and IPv6 prefixes.
Introduce ability to specify SAFI/AFI for specific BGP peers.

/test

/test

/test

/test

Is this initial work towards MP-BGP? I wonder whether this or subsequent work in this direction may be appropriate for release-note/major as a candidate for v1.15 release blog to talk about extending Cilium's BGP support.

@joestringer

Is this initial work towards MP-BGP? I wonder whether this or subsequent work in this direction may be appropriate for release-note/major as a candidate for v1.15 release blog to talk about extending Cilium's BGP support.

This does not really introduce any new functionality (yet), just makes the configuration a bit more more explicit for future extensions. That said, IMO minor fits well here.


auto imports don't seem to work

Expected component AuToImPoRtEdAstroEmbed_LinkPreview to be defined: you likely forgot to import, pass, or provide it.

I've added embeds() before starlight(...).

astroembedrepro.zip
run pnpm run dev and go to the index page, it will show the compilation error
sorry if you expected an online hosted version

Here: https://github.com/VisualEhrmanntraut/AstroEmbedAutoimportError

(I would've used StackBlitz, but it either hates me or the fact I'm using Safari. The commands are running too slow to do anything.)

I would've used StackBlitz

No worries — it’s actually very easy to open any GitHub repo on StackBlitz by doing stackblitz.com/REPO-URL, so this is great. Will take a look.

Thanks again for the repro. I can confirm I’m seeing the bug on StackBlitz, but I’m a bit baffled as to why. I’ve tried various versions including the exact same versions of Starlight and Astro as the astro-embed docs themselves use (because they are working!) but I’ve had no luck. Not sure why. Also weird that I’m seeing the same also with older versions, so not quite clear to me what’s going on.
Might need to dig in to astro-embed to add some logging and see if we can see something funky happening with the MDX AST.


PageState.targetPage didn't perform as we expected  when page offset between -0.5f and 0f.

Fix the PagerState.targetPage when the currentPageOffset between -0.5f and 0f, the targetPage is currentPage + 1 which is wrong, it should be currentPage - 1.

Can anyone take a look at this? Changes are minor and the impact is quite big. For now the indicator behavior is pretty much unacceptable :)

Hey!
I am ready to accept the fix for PagerState if you can remove the change HorizontalPagerWithOffsetTransition from it. Could you please clarify what do you mean by the picture can't move, as I expect the code using Modifier.offset to work correctly. We also can't just use a constant in pixels like 64 as this will mean it works differently on screens with different densities, that is why 36.dp was used in the original code

Hey!
I am ready to accept the fix for PagerState if you can remove the change HorizontalPagerWithOffsetTransition from it (ideally if you can also write a simple test for your change). Could you please clarify what do you mean by the picture can't move, as I expect the code using Modifier.offset to work correctly. We also can't just use a constant in pixels like 64 as this will mean it works differently on screens with different densities, that is why 36.dp was used in the original code

In my branch , HorizontalPagerWithOffsetTransition does't work correctly for some reason .But in master branch , the same code  works correctly and I have reverted the HorizontalPagerWithOffsetTransition.
I don't know how to test it , but I have passed all the test case the project PagerTest provides.

Hey!
I am ready to accept the fix for PagerState if you can remove the change HorizontalPagerWithOffsetTransition from it (ideally if you can also write a simple test for your change). Could you please clarify what do you mean by the picture can't move, as I expect the code using Modifier.offset to work correctly. We also can't just use a constant in pixels like 64 as this will mean it works differently on screens with different densities, that is why 36.dp was used in the original code

In my branch , HorizontalPagerWithOffsetTransition does't work correctly for some reason .But in master branch , the same code  works correctly ,and I have reverted the HorizontalPagerWithOffsetTransition.
I don't know how to write test code for this , but I have passed all the test case the pager project provides.

What happened here? Is the pager indicator fixed in another pull request?

What happened here? Is the pager indicator fixed in another pull request?

I don't understand, why I use android studio to commit my code with github token login , the  google-cla show me cla: no.
that commit didn't show my github account info, can you see that?

What happened here? Is the pager indicator fixed in another pull request?

just like that , no my avatar, no my info.

What happened here? Is the pager indicator fixed in another pull request?

just like that , no my avatar, no my info.

What happened here? Is the pager indicator fixed in another pull request?

Some problems happened ,It took me a while. now I reopen it

Thanks

@andkulikov Is there a plan to release bugfix stable-ish version with this?


Update uniffi version

Updates the uniffi crate the the latest version; Incorporating https://github.com/mozilla/uniffi-rs/pull/1692.
updates the package name from bindings_ffi to xmtpv3 to provide consistent module paths.

---- uniffi_foreign_language_testcase_test_android_kts stdout ----
Creating testing out_dir: /Users/jazz/dev/libxmtp/bindings_ffi/target/tmp/bindings_ffi-3492e72b41fe83b6
thread 'uniffi_foreign_language_testcase_test_android_kts' panicked at 'assertion failed: `(left == right)`
  left: `CallbackInterface { module_path: "bindings_ffi", name: "FfiLogger" }`,
 right: `CallbackInterface { module_path: "xmtpv3", name: "FfiLogger" }`', /Users/jazz/.cargo/git/checkouts/uniffi-rs-6f89edd2a1ffa4bd/cae8edc/uniffi_bindgen/src/interface/universe.rs:42:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Getting a failure on: https://github.com/xmtp/libxmtp/blob/573bdc669084bf068dd4eb34158d28958dca8599/.github/workflows/build.yml#L189
Comments seem to suggest its not relevant. Is this an important build step or should it be removed?

That is a comment applying to the commented out lines underneath, so not directly related to the error. There are commands being run under that, specifically the moving of compiled binaries named libbindings_ffi etc. After renaming the module from bindings_ffi to xmtpv3, all of the build needs to be updated to reference the new name. I can help with that if it is tricky

Also, I didn't originally do this because I was wondering whether it is correct to name the bindings_ffi crate xmtpv3? Wondering if that presents a naming conflict or other confusion in the future, although happy to sign off on this.

Also, I didn't originally do this because I was wondering whether it is correct to name the bindings_ffi crate xmtpv3? Wondering if that presents a naming conflict or other confusion in the future, although happy to sign off on this.

I had the same question, specifically around the package name (not the root crate).  I figured I'd get this PR compiling, and then we could consider a name change, which would break some more references.
Currently the import in a future Android Platform SDK would looks like import uniffi.xmtpv3.*. Would uniffi.xmtp_ffi.* be preferred? Something else perhaps? Happy to include that change in this set if there is some agreement on the name

@richardhuaaa Thanks for the direction on the build fix. I was misunderstanding the library generation. All references have been updated

That is a comment applying to the commented out lines underneath, so not directly related to the error.

Indeed, I put that in because I didn't see a point of building that target and commented it out. If we agree we can probably take it out completely.


fallback to local path-configuration file

I think in your blog you mentioned that it is good to fallback to a local file if the remote can not be found.
Would be great to add this as an example. Would you accept a PR if I add it?

Sure thing, thanks!

https://github.com/joemasilotti/daily-log/pull/16


Add c++23 kernel

Description
Please include a summary of changes, motivation and context for this PR.
This PR adds a c++23 kernel to xeus-cpp.
Fixes # (issue)
Type of change
Please tick all options which are relevant.

[ ] Bug fix
[c] New feature
[ ] Added/removed dependencies
[ ] Required documentation updates

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.80%. Comparing base (0a3a75e) to head (e0a7edd).
Report is 1 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #198   +/-   ##
=======================================
  Coverage   80.80%   80.80%
=======================================
  Files          19       19
  Lines         974      974
  Branches       93       93
=======================================
  Hits          787      787
  Misses        187      187


WIP: test changes for after fosite fixes ID token at_hash bug

This should not be merged unless fosite fixes the ID token at_hash bug, and we upgrade to a version of fosite which includes the fix.
Note that the second commit should be dropped before merging.
Release note:
None. Test-only changes.
NONE

The test changes from this PR were merged in https://github.com/vmware-tanzu/pinniped/pull/1353.


storage_root_path解析失败

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
0.15-rc4
What's Wrong?
start time: Sat Nov 20 17:26:05 CST 2021
WARNING: Logging before InitGoogleLogging() is written to STDERR
W1120 17:26:05.647236  7006 options.cpp:65] path can not be canonicalized. may be not exist. path=/mnt/be/data
W1120 17:26:05.647264  7006 options.cpp:142] failed to parse store path /mnt/be/data,medium:ssd,capacity:950, res=-203
W1120 17:26:05.647267  7006 options.cpp:146] fail to parse storage_root_path config. value=[/mnt/be/data,medium:ssd,capacity:950]
F1120 17:26:05.647274  7006 doris_main.cpp:154] parse config storage path failed, path=/mnt/be/data,medium:ssd,capacity:950
*** Check failure stack trace: ***
start time: Sat Nov 20 17:27:07 CST 2021
start time: Fri Nov 26 14:18:35 CST 2021
*** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1638155557" if you are using GNU date ***
PC: @          0x1c91f7f doris::DataStreamSender::find_partition()
*** SIGSEGV (@0x0) received by PID 2591615 (TID 0x7f1197fa0700) from PID 0; stack trace: ***
@          0x218e9f2 google::(anonymous namespace)::FailureSignalHandler()
@     0x7f11c935fb20 (unknown)
@          0x1c91f7f doris::DataStreamSender::find_partition()
@          0x1c922a9 doris::DataStreamSender::compute_range_part_code()
@          0x1c952e1 doris::DataStreamSender::send()
@          0x15d417f doris::PlanFragmentExecutor::open_internal()
@          0x15d892f doris::PlanFragmentExecutor::open()
@          0x154da8e doris::FragmentExecState::execute()
@          0x1551936 doris::FragmentMgr::_exec_actual()
@          0x155a5cf std::_Function_handler<>::_M_invoke()
@          0x16c2d73 doris::ThreadPool::dispatch_thread()
@          0x16bcebc doris::Thread::supervise_thread()
@     0x7f11c935514a start_thread
@     0x7f11c8d04f23 __GI___clone
@                0x0 (unknown)
What You Expected?
null
How to Reproduce?
No response
Anything Else?
null
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

how to fix


TypeError: Cannot read properties of undefined (reading 'map')

Hi,
I have an error because of missing excludeCredentials property at startRegistration.ts#L34.
It seems that this line of code expect excludeCredentials to be present and to be a list, but it may be absent as it is not required by the PublicKeyCredentialCreationOptions definition.
In the absence of this property, should the library default it to an empty list []?

Yeah, an empty array is fine to set for excludeCredentials to fix the issue you're having.
Are you using generateRegistrationOptions() from the server library? If you are I'd like to see how you're calling it because it's supposed to set an empty array when its optional excludeCredentials argument is omitted. If it's not setting that empty array in the return value when I need to tighten that up since the front end library expects it to be set.

The fact is @simplewebauthn/browser's methods were created to pair with output from @simplewebauthn/server's methods. The ability to use @simplewebauthn/browser's functionality with another server library is not something I explicitly support, but of course there's nothing preventing another library from conforming to startRegistration()'s API, for example, by returning PublicKeyCredentialCreationOptionsJSON which does require the existence of an excludeCredentials array.
(Fun fact, this is why Duo's py_webauthn library works so well with @simplewebauthn/browser: when I wrote the latest version of py_webauthn I intentionally made it easy to transform its generate_registration_options() output into a structure matching PublicKeyCredentialCreationOptionsJSON so I could use @simplewebauthn/browser for the front end 😛)
I won't be making any changes to startRegistration() at this moment in time. That said if you choose to update your server's output to match @simplewebauthn/browser's input expectations then I don't think you'll have any more issues like this.

I won't be making any changes to startRegistration() at this moment in time.

OK now I clearly understand the context. I made the changes on server side so that's not an issue anymore.
Regards.


Use <IP_ADDRESS> for neutron metadata check

The plugin uses the IP address <IP_ADDRESS> for monitoring the metadata
service availability, this is not the IP address used by nova instances
when accessing metadata and there have been reports of plugin failures
with this address.
This commit changes the IP address to <IP_ADDRESS> which should
increase the reliability of this plugin.
Closes-issue: #569

Big :+1: Sorry I didn't review this earlier.

yep yep yep


No output

I used the following command and it loaded the engine successfully and then printed Running... but there is no result and it keeps running while there is only one image given.
./apps/ds-tlt  -c configs/yolov4_tlt/pgie_yolov4_tlt_config.txt -i /home/images/img1.jpg -d -b 1

Here is the config file:
[property]
gpu-id=0
net-scale-factor=1.0
offsets=103.939;116.779;123.68
model-color-format=1
labelfile-path=yolov4_labels.txt
model-engine-file=../../models/yolov4/yolov4_resnet18.etlt_b1_gpu0_fp16.engine
#int8-calib-file=../../models/yolov4/cal.bin
#tlt-encoded-model=../../models/yolov4/yolov4_resnet18.etlt
tlt-model-key=nvidia_tlt
infer-dims=3;544;960
maintain-aspect-ratio=1
uff-input-order=0
uff-input-blob-name=Input
batch-size=1
## 0=FP32, 1=INT8, 2=FP16 mode
network-mode=2
num-detected-classes=4
interval=0
gie-unique-id=1
is-classifier=0
#network-type=0
cluster-mode=3
output-blob-names=BatchedNMS
parse-bbox-func-name=NvDsInferParseCustomBatchedNMSTLT
custom-lib-path=../../post_processor/libnvds_infercustomparser_tlt.so

[class-attrs-all]
pre-cluster-threshold=0.3
roi-top-offset=0
roi-bottom-offset=0
detected-min-w=0
detected-min-h=0
detected-max-w=0
detected-max-h=0

Has this problem been solved？

did you resolve this issue?  what was the problem.  I am facing similar issue.
Deepstream 6.1 Cuda 11.7, TensorRT OSS 8.4.1.
Its stuck at running and nothing happens for a long time
root@recodePC:/work/deepstream_tao_apps# ./apps/tao_detection/ds-tao-detection -c configs/yolov4_tao/pgie_yolov4_tao_config_dgpu.txt -i /opt/nvidia/deepstream/deepstream/samples/streams/sample_qHD.h264
Now playing: configs/yolov4_tao/pgie_yolov4_tao_config_dgpu.txt
WARNING: ../nvdsinfer/nvdsinfer_model_builder.cpp:1482 Deserialize engine failed because file path: /work/deepstream_tao_apps/configs/yolov4_tao/../../models/yolov4/yolov4_resnet18_395.etlt_b1_gpu0_int8.engine open error
0:00:02.004426952   283 0x55e4a4db1e70 WARN                 nvinfer gstnvinfer.cpp:643:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1888> [UID = 1]: deserialize engine from file :/work/deepstream_tao_apps/configs/yolov4_tao/../../models/yolov4/yolov4_resnet18_395.etlt_b1_gpu0_int8.engine failed
0:00:02.046484432   283 0x55e4a4db1e70 WARN                 nvinfer gstnvinfer.cpp:643:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1993> [UID = 1]: deserialize backend context from engine from file :/work/deepstream_tao_apps/configs/yolov4_tao/../../models/yolov4/yolov4_resnet18_395.etlt_b1_gpu0_int8.engine failed, try rebuild
0:00:02.046498849   283 0x55e4a4db1e70 INFO                 nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1914> [UID = 1]: Trying to create engine from model files
WARNING: [TRT]: onnx2trt_utils.cpp:369: Your ONNX model has been generated with INT64 weights, while TensorRT does not natively support INT64. Attempting to cast down to INT32.
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: onnx2trt_utils.cpp:395: One or more weights outside the range of INT32 was clamped
WARNING: [TRT]: builtin_op_importers.cpp:4716: Attribute caffeSemantics not found in plugin node! Ensure that the plugin creator has a default value defined or the engine may fail to build.
WARNING: [TRT]: The getMaxBatchSize() function should not be used with an engine built from a network created with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag. This function will always return 1.
WARNING: [TRT]: The getMaxBatchSize() function should not be used with an engine built from a network created with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag. This function will always return 1.
0:02:01.923663617   283 0x55e4a4db1e70 INFO                 nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1946> [UID = 1]: serialize cuda engine to file: /work/deepstream_tao_apps/models/yolov4/yolov4_resnet18_395.etlt_b1_gpu0_fp32.engine successfully
WARNING: [TRT]: The getMaxBatchSize() function should not be used with an engine built from a network created with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag. This function will always return 1.
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 5
0   INPUT  kFLOAT Input           3x544x960
1   OUTPUT kINT32 BatchedNMS      1
2   OUTPUT kFLOAT BatchedNMS_1    200x4
3   OUTPUT kFLOAT BatchedNMS_2    200
4   OUTPUT kFLOAT BatchedNMS_3    200

0:02:01.956901466   283 0x55e4a4db1e70 INFO                 nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<primary-nvinference-engine> [UID 1]: Load new model:configs/yolov4_tao/pgie_yolov4_tao_config_dgpu.txt sucessfully
Running...
^C

Even when the engine is generated, and run still same problem
root@recodePC:/work/deepstream_tao_apps# ./apps/tao_detection/ds-tao-detection -c configs/yolov4_tao/pgie_yolov4_tao_config_dgpu.txt -i /opt/nvidia/deepstream/deepstream/samples/streams/sample_qHD.h264
Now playing: configs/yolov4_tao/pgie_yolov4_tao_config_dgpu.txt
0:00:01.972944266   300 0x55a932f09e70 INFO                 nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1900> [UID = 1]: deserialized trt engine from :/work/deepstream_tao_apps/models/yolov4/yolov4_resnet18_395.etlt_b1_gpu0_fp32.engine
WARNING: [TRT]: The getMaxBatchSize() function should not be used with an engine built from a network created with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag. This function will always return 1.
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 5
0   INPUT  kFLOAT Input           3x544x960
1   OUTPUT kINT32 BatchedNMS      1
2   OUTPUT kFLOAT BatchedNMS_1    200x4
3   OUTPUT kFLOAT BatchedNMS_2    200
4   OUTPUT kFLOAT BatchedNMS_3    200

0:00:01.999874523   300 0x55a932f09e70 INFO                 nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2003> [UID = 1]: Use deserialized engine model: /work/deepstream_tao_apps/models/yolov4/yolov4_resnet18_395.etlt_b1_gpu0_fp32.engine
0:00:02.003895408   300 0x55a932f09e70 INFO                 nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<primary-nvinference-engine> [UID 1]: Load new model:configs/yolov4_tao/pgie_yolov4_tao_config_dgpu.txt sucessfully
Running...

The model is yolo v4.  I don't know what do to next.  I ran with and without display.  The output file is 0 bytes in size.


Why Go? Why not Kotlin Native 🤔

:sweat_smile: I use AoC to get better at languages I'm not very good in: last year was Rust and it helped in better understanding the language. This year, I wanted to do the same with Go because it's been on my backlog for a while now and I'm having fun so far!

Plus, I've been working more and more with Kubernetes lately and operators are generally written in Go. So, if I want to contribute, I need to get better at Go

Plus, I've been working more and more with Kubernetes lately and operators are generally written in Go. So, if I want to contribute, I need to get better at Go

Good point!


No suggestions box shown to often

I think no suggestions popup should only be shown if

there was already a popup with suggestions
the popup is specifically invoked with Ctrl+enter

point 1 is not to hard to fix, we could just add the extra condition (ed.completionActive)
point 2 is a bit more though, any suggestions how to differentiate between an automatically invoked popup and a specifically invoked popup ?

+1 to the 2nd point, we should only show 'no suggestions' if the completion was explicitly requested by the user.

see https://github.com/dart-lang/dart-pad/issues/234


@conda-forge-admin,please add bot automerge

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/linux-perf-feedstock#7.


I can't sign up

Describe the Bug

Database
Umami Cloud
Relevant log output
No response
Which browser are you using? (if relevant)
sidekick
How are you deploying your application? (if relevant)
No response

I tried on a private window and it doesn't work as weel

I'm unable to reproduce the issue on chrome. Can you check the network tab and see what error code is being returned?

checking...

@franciscao633 Accounts: post request status: 500

Any update?

Sorry one last check. Are you using cloud.umami.is to sign-up? That is our production cloud app.

Yes

This should be resolved.

@mikecao not yet!
the request has 500 status code!

I don't know what is going on with your situation. We get lots of signups every single day without issue. Have you tried a different email address?


[BUG] Deploy to Azure App Service

Deploying to Azure from Visual Studio 2022 - nothing special - set up all azure resources as per usual as try to run the */swagger route.
Get errors related to 'can't find db'
Still investigating...

Did you update the connection string in both hangfire.json and database.json?

yip for sure - I can even run the local code connected to my azure sql db - might be something in the way azure tries to detect a connection - still looking

try to check firewall settings

https://docs.microsoft.com/en-us/azure/azure-sql/database/troubleshoot-common-errors-issues

Exception trace:

{"Timestamp":"2022-02-06T04:27:52.7016449+00:00","Level":"Fatal","MessageTemplate":"Unhandled exception","Exception":"Microsoft.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SNI_PN11, error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.)\r\n ---> System.ComponentModel.Win32Exception (2): The system cannot find the file specified.\r\n   at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)\r\n   at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover, SqlAuthenticationMethod authType)\r\n   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)\r\n   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)\r\n   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)\r\n   at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)\r\n   at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)\r\n   at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)\r\n   at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)\r\n   at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)\r\n   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)\r\n   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)\r\n   at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)\r\n   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions)\r\n   at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions)\r\n   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource1 retry, SqlConnectionOverrides overrides)\r\n   at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)\r\n   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)\r\n   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)\r\n   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)\r\n   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerDatabaseCreator.<>c__DisplayClass18_0.b__0(DateTime giveUp)\r\n   at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c__DisplayClass12_02.<Execute>b__0(DbContext c, TState s)\r\n   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func3 operation, Func3 verifySucceeded)\r\n   at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.Execute[TState,TResult](IExecutionStrategy strategy, TState state, Func2 operation, Func`2 verifySucceeded)\r\n   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerDatabaseCreator.Exists(Boolean retryOnNotExists)\r\n   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerDatabaseCreator.Exists()\r\n   at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.Exists()\r\n   at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.GetAppliedMigrations()\r\n   at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetAppliedMigrations(DatabaseFacade databaseFacade)\r\n   at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.GetPendingMigrations(DatabaseFacade databaseFacade)\r\n   at FSH.WebApi.Infrastructure.Persistence.Initialization.ApplicationDbInitializer.InitializeAsync(CancellationToken cancellationToken) in C:\Users\xxxxx\source\repos\ooooooooo\WebAPI\dotnet-webapi-boilerplate-main\src\Infrastructure\Persistence\Initialization\ApplicationDbInitializer.cs:line 27\r\n   at FSH.WebApi.Infrastructure.Persistence.Initialization.DatabaseInitializer.InitializeApplicationDbForTenantAsync(FSHTenantInfo tenant, CancellationToken cancellationToken) in C:\Users\xxxxx\source\repos\ooooooooo\WebAPI\dotnet-webapi-boilerplate-main\src\Infrastructure\Persistence\Initialization\DatabaseInitializer.cs:line 52\r\n   at FSH.WebApi.Infrastructure.Persistence.Initialization.DatabaseInitializer.InitializeDatabasesAsync(CancellationToken cancellationToken) in C:\Users\xxxxx\source\repos\ooooooooo\WebAPI\dotnet-webapi-boilerplate-main\src\Infrastructure\Persistence\Initialization\DatabaseInitializer.cs:line 32\r\n   at FSH.WebApi.Infrastructure.Startup.InitializeDatabasesAsync(IServiceProvider services, CancellationToken cancellationToken) in C:\Users\xxxxx\source\repos\ooooooooo\WebAPI\dotnet-webapi-boilerplate-main\src\Infrastructure\Startup.cs:line 65\r\n   at Program.$(String[] args) in C:\Users\xxxxx\source\repos\ooooooooo\WebAPI\dotnet-webapi-boilerplate-main\src\Host\Program.cs:line 37\r\nClientConnectionId:00000000-0000-0000-0000-000000000000\r\nError Number:2,State:0,Class:20","Properties":{"MachineName":"RD0003FFFCDC4A","ProcessId":4544,"ThreadId":8,"Application":"FSH.WebApi"}}
{"Timestamp":"2022-02-06T04:27:52.9666386+00:00","Level":"Information","MessageTemplate":"Server Shutting down...","Properties":{"MachineName":"RD0003FFFCDC4A","ProcessId":4544,"ThreadId":8,"Application":"FSH.WebApi"}}

The app service in in the role of Owner for the db server so permissions seem good.
Again - i can run against the azure sql db using local vs2022 - so db is reachable.

The obvious question is why does this stack trace have my local machine file paths in it...the plot thickens...

I'll deploy this to a local web server tomorrow to check if that works...

Is there a connectionstring in the tenant table?

Yes -you've got it! - that was it - completely forgot to look there.  thanks for that!


Z5: citekey column shows up after restart

When installing BBT on Z5 the citekey column is added automatically. Despite disabling it, the column is shown again after restart.
System: BBT Build 4220, Z 5.0.18, Ubuntu 16.04

:robot: bleep bloop; this is your friendly neighborhood build bot announcing new test build 4222.

Can you try 4222?

4222 work fine

sorry for reopening.
I noticed the citekey column shows up again after updating BBT, even though it was deactivated before. It's not a big deal, but certainly not what you expect.

Can you submit a debug log? I can't replicate it here, on my system the preference sticks.

updating from 4246 to 4265 I could not reproduce the error, so it's probably solved.
Unfortunately, I noticed that after removing BBT, all other column where activated, resulting in a messy table :flushed:

Now I remember why I didn't persist the column status before :roll_eyes:; without BBT present, Zotero finds an unexpected value and handles that rather ungracefully. I'll see if I can scrub that during uninstall.

:robot: bleep bloop; this is your friendly neighborhood build bot announcing test build 4297 ("remove BBT column data on uninstall").

Can you try 4297?

I have a similar problem:
After removing (for testing), one of the current zotero-better-bibtex versions,  my Zotero starts to show
all columns.

@OlafKleinBerlin OK, so can you too try 4297?

Hold on, it's not working. Trying something else.

This time I was too fast. I can confirm that the problem is still there with 4297.

:robot: bleep bloop; this is your friendly neighborhood build bot announcing test build 4299 ("getting pretty fed up with monkey-patching").

Alright, can you guys give 4299 a spin?

this is awesome, it's working.
Thank you for all the hard work, very much appreciated!

Zotero sure doesn't make it particularly easy. BBT is probably one of the most invasive plugins, if not downright the most invasive plugins to zotero. It's not easy to get it working and keep zotero stable.

Now in a v5.0.20 near you.

Hello, I have now tested my problem again using 4299, and, sorry, I have found problems.
If I deinstall BBT, the columns are  fine.
But, if I just disable BBT, all columns of Zotero beocme activated.
Moreover, there seems to be some new warnings.  I will sent them in a moment.

Starting my Zotero  (5.0.18) without BBT addon, but after several test with BBT,
or restarting Zotero after installing or removing the BBT addon,  I got the
warning:
Possibly unhandled rejection:

can't assign to properties of (new Boolean(false)): not an object

TypeError: can't assign to properties of (new Boolean(false)): not an object
    Zotero.QuickCopy</_preloadFormat</_ref<@chrome://zotero/content/xpcom/quickCopy.js:464:5
From previous event:
    ZoteroService@file:///home/klein/Zotero-all/Zotero_linux-x86_64/components/zotero-service.js:347:4
    createInstance@resource://gre/modules/XPCOMUtils.jsm:387:19
    @chrome://zotero/content/include.js:4:14

Enabling a disabled BBT or disabling BBT and restart creates the following errror (Zotero version 5.0.18):
[    WARN    Error: XPI database modified after shutdown began (resource://gre/modules/addons/XPIProvider.jsm -> resource://gre/modules/addons/XPIProviderUtils.js:430:17) JS Stack trace: saveChanges@XPIProviderUtils.js:430:17 < updateActiveAddons@XPIProviderUtils.js:1408:9 < shutdown@XPIProvider.jsm:2971:7 < _startProvider/AMProviderShutdown/<@AddonManager.jsm:774:21 < Promise@Promise-backend.js:390:5 < AMProviderShutdown@AddonManager.jsm:772:16 < trigger@AsyncShutdown.jsm:719:23 < _wait@AsyncShutdown.jsm:866:7 < wait@AsyncShutdown.jsm:850:28 < AddonManagerInternal.shutdownManager<@AddonManager.jsm:1166:15
](url)
Removing the BBT add on creates the warning:
1505808028007   addons.xpi-utils        WARN    Error: XPI database modified after shutdown began (resource://gre/modules/addons/XPIProvider.jsm -> resource://gre/modules/addons/XPIProviderUtils.js:430:17) JS Stack trace: saveChanges@XPIProviderUtils.js:430:17 < updateActiveAddons@XPIProviderUtils.js:1408:9 < shutdown@XPIProvider.jsm:2971:7 < _startProvider/AMProviderShutdown/<@AddonManager.jsm:774:21 < Promise@Promise-backend.js:390:5 < AMProviderShutdown@AddonManager.jsm:772:16 < trigger@AsyncShutdown.jsm:719:23 < _wait@AsyncShutdown.jsm:866:7 < wait@AsyncShutdown.jsm:850:28 < AddonManagerInternal.shutdownManager<@AddonManager.jsm:1166:15
Is this a BBT or a Zotero Issue?

:robot: bleep bloop; this is your friendly neighborhood build bot announcing test build 4301 ("fixes #722").

Whether this should be seen as a BBT or a Zotero issue depends on your stance on how Zotero should react to unexpected data.
I've added more cleanup code to nuke the quick copy setting if it's one of BBTs translators, and to also run the cleanup on disable, but this will mean that the quickcopy setting is lost if you disable and then re-enable.
As far as I can tell, Zotero almost always shows the WARN Error: XPI database modified after shutdown began in its log. It seems harmless enough, I haven't seen any negative side effects so far.
Please try 4301.

I have tried  4301 now, and it seems that now the problem with all columns becoming active
when removing the app is back.
Moreover, I am not sure, but it seems that somehow my Zotero became corrupted, maybe after  removing a already disabled version of BBT.
corrupted my Zotero.

Corrupted in what way?

I could an error message that somehow claimed that the addon could not be  removed,
but I can not remember exactly anymore.

"Corrupt" is a scary term to use. It would mean to me I have messed with critical files in the zotero data directory, and that data is irretrievably lost. If that's the case for sure I want to know about it, but for the sake of my cardio-vascular health, let's reserve the term "corrupted" for such occasions. "You corrupted my reference database" is heart-attack territory for me.
I'll look at the all-columns issue again.

I am very sorry to have scared you. Since I have not already really used Zotero to deal with my references,but only plan to import by bibtex-files (created with jabref, vim and vi) to Zotero by using zotero-better-bibtex to keep my nice citation keys,  my references dealt by Zotreo consisted only of my  test results,i.e. there is no problem with this data.
And I do not belive that the problem was in the zotero data directory, but within the zotereo program dir, And I think that it was  a stupid idea of me to remove the BBT version 4299 after disabling the addon before.

Give 4302 a spin.

Before dealing with 4302;
Starting from my zotero backup and updating to 5.0.19, installing 4299, disabling and
removing it, Zotero produces the warning;
1505819994579   addons.xpi      WARN    Failed to call uninstall for<EMAIL_ADDRESS>Error: Unknown add-on ID<EMAIL_ADDRESS>(resource://gre/modules/addons/XPIProvider.jsm:8143:11) JS Stack trace: getLocationForID@XPIProvider.jsm:8143:11 < processPendingFileChanges@XPIProvider.jsm:3394:31 < checkForChanges@XPIProvider.jsm:3714:19 < startup@XPIProvider.jsm:2826:25 < callProvider@AddonManager.jsm:272:12 < _startProvider@AddonManager.jsm:759:5 < startup@AddonManager.jsm:941:9 < startup@AddonManager.jsm:3145:5 < observe@addonManager.js:65:9
1505819994580   addons.xpi      WARN    Attempted to remove<EMAIL_ADDRESS>from app-profile but it was already gone
I think the last time there further problems, such that I decided that my Zotero is co.... but I am not
sure, and I have removed the files (and this was really stupid ......)

The result seems to be the same for 4302 as with 4299:
If I deinstall BBT, the columns are fine.
But, if I just disable BBT, all columns of Zotero beocme activated.

:robot: bleep bloop; this is your friendly neighborhood build bot announcing test build 4303 ("register for disable, not enable. come on Emiliano.").

you know the drill.

Seems that 4303 does the job:
After removing or de-installing this version, the columns of Zotero are fine,
i.e. only the one I chose before are active.
Thanks a lot for your efforts.


Add activityIndicator prop support

Description
This PR adds custom activity indicator override to be able to use a custom spinner instead of the default one provided by React Native.
It also fixes #79.
Result and observation
You should be able to use your custom loader (a Text component in Example folder)
iOS:

Android:

How to test?
Use Button.js example which provides the new prop

@alvaromb Can you take a look at my PR ? :)

@alvaromb ?

ping @aaloy @alvaromb @amgxv @avallbona @bcanyelles @bercab @bmiro @celdrake @CrisHernandez @csalom @eduherraiz @francescarpi @franm @masterdreams @mgalofre @Moreno97 @morenosan @paurullan @ponsperello90 @sastred @SoniaAG @tolorr @xusy2k

Hey @VincentCATILLON thanks for your PR, I will take a look, but please it's not necessary to mention all APSL team ;)

Wondering when this is going to be merged, all my jest tests are broken now after installing this.

3y after, nobody took a look. I'm closing it


Night CI 2023-11-09: Failed

action url: https://github.com/spidernet-io/egressgateway/actions/runs/6816802975

e2e 测试相关 等待 pod ready 超时
    [It] test the scope of policy
    /home/runner/work/egressgateway/egressgateway/test/e2e/egresspolicy/egresspolicy_test.go:711

  Timeline >>
  > Enter [BeforeEach] namespace-level policy - /home/runner/work/egressgateway/egressgateway/test/e2e/egresspolicy/egresspolicy_test.go:682 @ 11/09/23 20:16:26.327
  < Exit [BeforeEach] namespace-level policy - /home/runner/work/egressgateway/egressgateway/test/e2e/egresspolicy/egresspolicy_test.go:682 @ 11/09/23 20:16:26.327 (0s)
  > Enter [It] test the scope of policy - /home/runner/work/egressgateway/egressgateway/test/e2e/egresspolicy/egresspolicy_test.go:711 @ 11/09/23 20:16:26.327
  [FAILED] Unexpected error:
      <*errors.errorString | 0xc00043fb80>:
      timeout to wait the pod running
      {
          s: "timeout to wait the pod running",
      }
  occurred
  In [It] at: /home/runner/work/egressgateway/egressgateway/test/e2e/egresspolicy/egresspolicy_test.go:735 @ 11/09/23 20:16:31.59


Excluded folders doesn't work intuitively

I had an exclusion rule to avoid auto move of files in "Personal/Journal" but when the files were in "Personal/Journal/2022", they were moved automatically into "Personal". (The move rule was to move all the files tagged with #personal into "Personal')
Ideally it should touch any file in the "Personal/Journal".
I had to manually apply exclusion for all the folders inside the "Personal/Journal" which is not intuitive. We could have regex or something...I tried Personal/Journal/* as well, didn't work.
Please fix this issue. Would benefit everyone

Added regular expression option for excluded folders in v1.2.0.
It should work with the option enabled and ^Personal/Journal/

I have been trying it and it is not working :(
It keeps moving my files I intend not to move, kept in the folder which is excluded.
Does it work on your end?


Support for several filenames in COMPOSE_FILE

Description
COMPOSE_FILE may have several filenames separated by colon, this fixes the problem testing the first one only.

Thank you @juracy for the PR.
// Comments @bric3 @aheaume ?

LGTM :+1:
Thanks @juracy @salmanulfarzy

I think it's much better now!

Another ideia, support for $COMPOSE_PROJECT_NAME

:tada: Thank you for contributing @juracy


inactive_alpha script not working

i was gonna try get all open windows with the ipc lib, so i started out with the inactive_alpha script, but i got this error:
(venv) [mark@marklaptop venv]$ python testing_ipc.py
Traceback (most recent call last):
File "/home/mark/coding/venv/testing_ipc.py", line 8, in
sock.watch(['view-focused'])
File "/home/mark/coding/venv/lib/python3.12/site-packages/wayfire/ipc.py", line 208, in watch
return self.send_json(message)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mark/coding/venv/lib/python3.12/site-packages/wayfire/ipc.py", line 174, in send_json
response = self.read_message()
^^^^^^^^^^^^^^^^^^^
File "/home/mark/coding/venv/lib/python3.12/site-packages/wayfire/ipc.py", line 64, in read_message
raise Exception(response["error"])
Exception: No such method found!

Wild guess, maybe you need ipc-rules plugin enabled?

wow. it works now. sorry.
i thought it was just ipc i needed to enable?

Apparently not. 😁


Add support for jQuery 4.0.0-beta.2

This pull request includes a

[ ] Bug fix
[x] New feature
[ ] Translation

The following changes were made

Prepares support for jQuery 4.0.0 by testing against the second beta of that release (as announced on the jQuery blog).
Builds on work by @marcellov7 to add unit and integration test coverage using jquery-4.0.0-beta.2.
Fixes a small bug in the $.camelCase replacement implementation.

If this is related to an existing ticket, include a link to it as well.
Relates to (but does not resolve) #6298.
Edit: remove dependency changes and no-longer-included commits from this description.

I think these changes are ready for re-review; however I'm also planning to perform a git rebase to rearrange them into a more coherent series of commits.

One mistaken CSS merge conflict resolution in 4494a73cfe5f5d07cc5cb1ebe84afd931ed44886 - fixing that momentarily..

cc @kevin-brown - this PR collates some work from #6298 to add support for the beta versions of jQuery 4.0.0 - note that an update to a corresponding beta version of jquery-mockjax is also required because it required some compatibility updates too.

Thanks a bunch for getting this one updated, it's definitely a lot easier to review now that the other QUnit-related pull requests have also been merged. 😄


fix aliyun-inc domain not accessible bug

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Terminal Find widget doesn't show the match count or position in the match list

Testing #145629
The editor Find widget shows the number of matches and which match the user is currently on.
This might be by design for the terminal Find widget but there looks to be space to have a wider widget and it's pretty handy to know the number of matches before you start navigating through them.

/duplicate #134791


Pusher trigger method

Hi does this library support pusher trigger events?
I have tried to use it but unfortunately, my trigger events never reached the pusher server. I have doubled checked the Authorization option and everything is fine, I can bind to private channels which means that my Authorization settings are valid, will appreciate any response regarding this case.
Thanks in advance.

Trigger event only works on iOS based on the pusher SDK which is why it is excluded in this library so as to avoid a situation where it works on iOS but doesn't work on android.

@MohamedEL-Torky This package (pusher_client) supports trigger events for both Android and iOS

I will look at implementing this feature this week.


Documentation request

I am pretty new to web development, but I can usually follow good documentation with no issues. However, the documentation for the framework lacks important imformation.
For example, I cannot find a way to actually combine a navbar with a drawer. I want to be able to have a button that extends a drawer with menu options. I want the navbar to show the button only when the screen is small. So far all I could do is show the button when that happens, but I could not add a drawer. I did not understand why/when/where do I have to put the "input" element to make the button active.
As a beginner, documentation is the first thing I look at when I start a new framework. And if you could improve it, or at least have a community place (discord, telegram, slack..) where beginners could ask for help, that would be awesome.

I'm currently working on the new document website and it will be ready soon.
There will be many more examples, including examples of how to use components together.
Also there is GitHub Discussions if you have any questions:
https://github.com/saadeghi/daisyui/discussions
About drawer:
See this example: https://play.tailwindcss.com/Git3JSot0T?size=800x550
Drawer is a grid layout with the following structure:
drawer
- drawer-toggle // the checkbox that controls drawer open/close
- drawer-content // page content
  - navbar (optional)
  - //any page content
- drawer-side // the sidebar
  - drawer-overlay // the gray overlay
  - // sidebar content (menu or anything)

The checkbox is the native HTML element that allows us to style elements differently when it's checked or not. So when checkbox is checked, the drawer will be open. When checkbox is not checked, drawer will be closed.
However, we don't want to show a checkbox to the user. We want to open/close the drawer using buttons. So the checkbox is hidden and we control it using <label> element which is the native HTML element that can control an input.
So whenever we want to click something to open/close the drawer, it should be <label>. Thanks to CSS, we can make the label look like a button. So in line 7 we have a label with a button style and a SVG hamburger icon inside. Clicking it will open the drawer.
Also in line 31 there's another label which is styled as a overlay to cover the screen. When drawer is open and we click outside to close the drawer, we're actually clicking on this label.
How can the label control the checkbox?
By pointing its ID. In the example I linked above, you can sell that the ID is my-drawer-3 and all labels are referring to it <label for="my-drawer-3">
Please let me know how it goes and tell me if I you need more examples or answers.

And is there a way to have a drawer on top of a hero without adding javascript?

When drawer is open, everything inside drawer-content will be covered. So you should put all page content inside drawer-content (after navbar) unless you don't want the drawer overlay to cover it.
Examples:

navbar, hero and footer inside drawer-content: https://play.tailwindcss.com/TCtR7y9Qlm
footer outside drawer: https://play.tailwindcss.com/18DVCiuLMK
sticky navbar: https://play.tailwindcss.com/VDN4eE9SWi

Let me know if you need more examples:

Thanks a lot @saadeghi, I chose daisyUI for it's awesome components, but implementing has been a pain. I will go over your explanations and will try to work on that. I will also try to contribute to the docs when I get to a better understanding.

Thank.
Feel free to ask for help. I'd be glad to help.
But don't send pull request for docs yet, because I'm rewriting the whole website and the new version will be ready this month.


Kill accumulators

100 fields
1.34s -> 0.59s -> 0.39s

200 fields
3.41s -> 1.28s -> 0.59s

300 fields
6.68s -> 2.25s -> 0.77s

400 fields
11.5s -> 3.64s -> 1.08s

500 fields
20s -> 5.39s -> 1.54s

💯

lol
👍


azkaban-execserver:createVersionFile FAILED

when builde azkaban 3.0 ，occur azkaban-execserver:createVersionFile FAILED

can you please run tests in debug mode and share stacktrace ?

i want to builde azkaban-3.0.0 with src, but found error . so i don't know what's run tests in debug ?
but when i debug used source code in the ide, this error not found, but found other error, in the JdbcExecutorLoader , shoud be exec_id  not execution_id in some where.

I have the same problem, and I had solve it.
you can add --info when running gradlew
The problem is the build process would use git command when create version file,but if you download the  tarball from https://github.com/azkaban/azkaban/archive/3.0.0.tar.gz, it is not  a git repo, so git would exit with non-zero value.
To solve this, all you need to do is git clone the azkaban repo, and checkout to the 3.0.0 tag.

thanks


Reproducing Parser results

Hi team,
Thank you for this amazing work and making the code available online. I was able to train the tagger and parser, and could gather results for both of them. For Parser, I was able to train and evaluate the model but I could only get LAS and UAS metrics. Would it be possible to share a way to get precision, recall and F1 score for the parser? I built my own evaluation script however, I couldn't get the numbers to match with reported numbers. So I may be doing something wrong there.
I also wanted to clarify something in this file. In lines 224, 239, 272 and 294, we are writing an ID of the token to the file. However, for each recipe, the token must start from 1 according to CoNLL-U notations. But, when I look at the generated file, the IDs go from 1 to 3827 for the tagger. If we feed this generated tagger results to the Parser, it will treat entire file as a single recipe. So we may have to reset ID variable i  in read_prediction.py for each recipe. Let me know if there is something wrong in my understanding.

@TheresaSchmidt  Can you take this one?


Add updateChart and updateAllCharts methods

Two methods have been added to Chartkick:
// Update one chart
Chartkick.updateChart('chart-id');               // Update chart from the current dataSource
Chartkick.updateChart('chart-id', newRemoteUrl); // Update chart from URL

// Update all charts
Chartkick.updateAllCharts(); // Updates from current `dataSource`
Chartkick.updateAllCharts(function(chart) {
  return chart.dataSource + '?some_param=abc';
}); // Updates all charts and appends ?some_param=abc to each chart's dataSource

This also allows for simple pull-based updates of any chart:
// Updates user-registration-chart every 10 seconds
setInterval(function() {
  Chartkick.updateChart('user-registration-chart');
}, 10000);

Thank you for a great library!

+1 nice! This is what I need!

Optionally there is also this commit https://github.com/buren/chartkick.js/commit/d307b3b52a8c6d308160ca88951a30e0b050a882 that also implements a refresh options where you can define how often you want the chart updated.
Ping @phlegx

+1 much needed PR

Hey @buren, thanks for putting this together 👍  This is now possible on master with:
var chart = Chartkick.charts["chart-1"];
chart.updateData(newData, newOptions);

To update all, you can use:
Chartkick.eachChart( function(chart) {
  chart.updateData(chart.getDataSource() + "?some_param=abc", {colors: ["red", "green"]});
});

Let me know if I missed anything.

@ankane :+1:

Noticed that you've started working a bit on this again. Happy to help with my other open PRs or close them if they're out of scope.


Revert "Merge pull request #6 from segment-integrations/apiKey"

We're going to keep both appcuesId and apiKey in settings and mark each as required for its respective component.
This reverts commit 3e73705bca8c92aef289406fca0776c662a16c7b, reversing
changes made to 96a0f9faff3af162c58172dc881953c290fa50d4.

❤  thank you

as soon as we've ensured the migration has been run correctly, we'll get this landed

hey @hijonathan just a heads up here — we've locked all client-side integration updates until we harden some analytics.js release eng processes on our side (in response to our brief outage last week).
Should be g2g by end of the week; i'm really sorry this fix is caught up and for the delay in the meantime.

Got it. Thanks for the update, @sperand-io.

this will go out monday!

yay!

@hijonathan this has been shipped and accompanying migration to rm redundant API Keys has been run. We've also updated the copy under each of the settings fields to denote which is required for each use case. Thanks os muhc for bearing with us on this!
cc/ @plc

@sperand-io thanks, though I just checked this out this morning, and it looks like Segment scripts are still being bundled with the old version of this integration.
Check out this embed script for a trial account I just created: http://cdn.segment.com/analytics.js/v1/fyqErMZDjLcncIjOoeKNXnwukX3aBv3m/analytics.js
If you search for appcuesId, you'll see it being passed in as a setting, but the binding code is still using this.options.apiKey.
Can either you or @hankim813 double check the deploy for us? Barring that, I believe everything should be 😎  going forward.

@hijonathan Hmmm let me investigate this

@hijonathan found the bug and deploying the fix now. will ping here once fully shipped!

@hijonathan should be all fixed now. Could you confirm?

@hankim813 thanks for the hustle! It looks like the client-side stuff is working again. I'll check out the server-side tomorrow and will get back to you if I notice anything amiss. Fingers crossed, but I think we should be good.

did this work?

Success! Sorry for the delay, but we did confirm that both the client-side and server-side integrations are working as expected. Thank you!


chore: prepare for release 3.8.0

Summary

prepare for release 3.8.0

Coverage remained the same at 99.47% when pulling ef941af4aea6badde9c99fe4c135241276e9810e on prepare-3.8.0 into 75fc548527388565a4d3be89a29884fc56d0b335 on master.


Draftkings NBA Tiers

Has anyone run the optimizer for NBA Tiers on the newest version? I get it to run but it only returns the header row and no lineups. Running as basic as it can get. Wondering if anyone had found a bug?
optimizer = get_optimizer(Site.DRAFTKINGS_TIERS, Sport.BASKETBALL)
optimizer.load_players_from_csv(filename)
exporter = CSVLineupExporter(optimizer.optimize(lines))

was an issue with my export. trying to use a column that didn't exist. works fine. no issues


[WIP] - Initial support for tokens (STAS)

STAS token implementation

Codecov Report

Merging #62 (1a8baad) into master (4675856) will decrease coverage by 0.42%.
The diff coverage is 63.38%.

@@            Coverage Diff             @@
##           master      #62      +/-   ##
==========================================
- Coverage   62.78%   62.35%   -0.43%
==========================================
  Files          95       93       -2
  Lines        8695     8801     +106
==========================================
+ Hits         5459     5488      +29
- Misses       2878     2950      +72
- Partials      358      363       +5

Flag
Coverage Δ

unittests
62.35% <63.38%> (-0.43%)
:arrow_down:

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

Impacted Files
Coverage Δ

utils/destination_types.go
75.92% <0.00%> (-24.08%)
:arrow_down:

model_draft_transactions.go
73.39% <59.25%> (-0.79%)
:arrow_down:

model_transaction_config.go
82.04% <89.47%> (+1.33%)
:arrow_up:

model_transactions.go
70.36% <100.00%> (+0.10%)
:arrow_up:

utils/tokens.go
100.00% <100.00%> (ø)

notifications/client_options.go
66.66% <0.00%> (-33.34%)
:arrow_down:

datastore/logger.go
0.00% <0.00%> (-27.09%)
:arrow_down:

notifications/client.go
80.95% <0.00%> (-19.05%)
:arrow_down:

action_paymails.go
47.76% <0.00%> (-16.89%)
:arrow_down:

model_paymails.go
58.01% <0.00%> (-11.07%)
:arrow_down:

... and 20 more

Continue to review full report at Codecov.

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


Update dependencies. Update to Go 1.21

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a70cacf) 100.00% compared to head (80c63d9) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #108   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           23        23
  Lines         1516      1516
=========================================
  Hits          1516      1516

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


Exhibition - guides: "Captions and transcripts" page UI adjustments

As a Wellcome Visitor I would like to be able to quickly identify the correct section of the captions and transcripts to see the relevant information for an item in the gallery
Design: https://zpl.io/406Y3Ep

[ ] Display the "description" field content as sections within the captions and transcripts
[ ] remove the "Audio transcript" header when there is no information in the transcription field
[ ] Match the ui to the designs

The design of this page requires a couple of amendments to the model and some logic, based on what is filled out in Prismic, to determine how a stop gets displayed. Please see the attached image for details.
@alicerichmond, @DominiqueMarshall @melanierogan, I'd appreciate your feedback on this when you have a minute.

Yeah this makes sense to me too, and I agree with Mel that within Prismic it would be good to indicate specifically what the standAlone is for


The key '>'

Provide a description of requested docs changes
I had no idea where to post this so i hope this works. My keyboard language is currently Swedish, but I'm using a British (I think?) keyboard. That means the key for < and > is missing. I don't want to change to British keyboard language because I want easy access to å, ä and ö obviously. I managed to remap < to 'RAlt' + ',' but I can't seem to find > in the list of symbols. It doesn't work to bring up the on screen-keyboard either. Does anyone know of a way to fix this?

due to how the system under the hood works, we use VKEYs which directly map to the current language for keyboard.  I'd dup this against https://github.com/microsoft/PowerToys/issues/1207

I’m sorry but I have no idea what you mean. I’m really new to this software and everything that comes with keyboards. I read through that link but I still have no idea how to solve my problem

I’m sorry but I have no idea what you mean. I’m really new to this software and everything that comes with keyboards. I read through that link but I still have no idea how to solve my problem

What he wants to say is, that you can't map to keys which aren't on your keyboard.
And that something like this is already suggested. I'm sorry to tell you that you can't map to this char right now.


Extend terminal with supporting commands

This PR addresses #194 by adding

a help command
the source command to load commands from a file
extended run command with planfrom to read a file from a file
added tests for the source/extended run (all the tests pass)

Merged!! Thanks @roveri-marco 😃

@roveri-marco What is the terminal command to read a problem.pddl file?
Thanks


clarification: repository name lowercase only?

A repository name is broken up into path components. A component of a repository name MUST begin with one or more lowercase alpha-numeric characters. Subsequent lowercase alpha-numeric characters are OPTIONAL and MAY be separated by periods, dashes or underscores.

That the repository names are lowercase snake_case is a requirement we want to keep? And when camelCase, convert to camel_case for repository naming?

Closing in favor of #183


Add a SARS-friendly print format

Is your feature request related to a problem? Please describe.
The default Print Format is messy
Describe the solution you'd like
It would be ideal to print out/save as PDF the VAT Return, and have it look like the SARS VAT-Return PDF form
Describe alternatives you've considered
None
Additional context
Something like this

VAT201-Vendor-Declaration-Sticky-Notes(1).pdf

Starting point:


Terminate Cumbria

Cumbria should have been listed as terminated in the last geography update as it was replaced by Cumberland + Westmoreland and Fenland. Making this update now.
Also updated renv whilst I was in the repo.
And another thing: bringing combined LADs within GSS guidance:
https://geoportal.statistics.gov.uk/datasets/ons::guide-to-presenting-statistics-for-administrative-geographies-may-2023/about
One more thing... shiny tests were being a little awkward. Turned out to be delays needed after button clicks and struggling with the spinner. Did a little clean up in the dashboard code and the tests to get the UI tests up and running again.

I branched off master in the first instance, which looks like it'd gotten ahead of the development branch, so this effectively merges the latest master into development as well.

Have tested it and seems fine without the spinners. Couple of odd bits that aren't the best UX wise, but as it's all in the optional extras after it passing that we care less about, and tbh, want refactoring / improving anyway, then I think removing the spinners is fine. Just the issue with the information box appearing to diagnose and fix, then it's good to go @rmbielby

Have tested it and seems fine without the spinners. Couple of odd bits that aren't the best UX wise, but as it's all in the optional extras after it passing that we care less about, and tbh, want refactoring / improving anyway, then I think removing the spinners is fine. Just the issue with the information box appearing to diagnose and fix, then it's good to go @rmbielby (and update the test snapshots after the URL changes in your recent commit!)

Tried again and couldn't recreate the information box issue, not sure what happened but writing it off for now unless it appears on one of the environments

Not made the link with the right bit of code in my head yet, though looks like something around what boxes appear when has changed. So the same file on this branch locally (left) now shows an empty box that doesn't appear if you do it on main (right).
Something I'd hope UI tests would catch, potentially either not set up to right now, or they are and it's just lost in the noise

Just a note that we couldn't reproduce this issue again, so writing off as a one off glitch for now.