[Music] Removed SFSymbols

Description
Removed SFSymbols as they show as a question mark for anyone that doesn't have the SFSymbols app installed - they're definitely not intended to be used. Sorry, I should have done this a while ago.
A recent example of this issue is #7800.
While I was there I also replaced 'accessoryTitle' with 'accessories' in lists. Working exactly the same.
Changes

Removed SFSymbols in HUD notifications and lists.
Replaced deprecated 'accessoryTitle' with 'accessories' in lists.
Updated changelog.md with this fix.

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Thanks Peter!


Incomplete description in README's "How to add a new queue implementation"

Hi!  I'm porting the queue described in [1] to Rust: https://github.com/jeehoonkang/crossbeam-queue  It's a work in progress, but soon I'd like to evaluate its performance using the benchmark tools in this repo (mainly for comparing with the implementation in wfqueue.c).
So I'm following the instruction in README.md [2] for adding a new queue implementation, but I found that README.md differs from what is described in queue.h, esp.:

It seems I need to implement queue_free, but it's not documented in the README.
EMPTY is described in README, but it is not declared in queue.h.

I could kinda guess what are they, but I wonder if the author of this repository could clarify their meanings.  Thank you very much!
[1] Yang and Mellor-Crummey.  A Wait-free Queue as Fast as Fetch-and-Add.  PPoPP 2016.
[2]  https://github.com/chaoran/fast-wait-free-queue/blob/master/README.md#how-to-add-a-new-queue-implementation

Yes, you need to implement queue_free. I will add it in the README.
EMPTY is an macro that you should define in your implementation header file. For example, wfqueue.h defines EMPTY.

Please let me know if you have any questions. Rust is a very promising language. :) @jeehoonkang


Rebuild docker container (CVE-2020-12243)

To fix the CVE-2020-12243 vulnerability a rebuild of the current docker container would be sufficient. This would install slapd version 2.4.50+dfsg-1~bpo10+1 that is not affected.
See also: https://www.debian.org/security/2020/dsa-4666

Thanks,
i just launched a rebuild on travis :)

@BertrandGouny several system packages are still to be updated from latest 1.3.0 image:
base-files e2fsprogs libcom-err2 libext2fs2 libgnutls30 libidn2-0 libldap-common libncurses6 libncursesw6 libpython3.7-minimal libpython3.7-stdlib libsasl2-2 libss2 libssl1.1
  libsystemd0 libtinfo6 libudev1 ncurses-base ncurses-bin python3.7 python3.7-minimal

Not critical but ...
One other thing which is 'strange' is the fact that on buster, seems like all LDAP related packages are 2.4.47+dfsg-3+deb10u2 not a mix of this and 2.4.50+dfsg-1~bpo10+1

Thanks for the quick fix. The new container work great for me.


not matching snapshot affects console.log functionality when mocked

Describe the bug
When snapshot don't match (inline or file), console stop working. I am using a mock replacement for one test to document/show debug mode of my implementation. I don't want to use spy as I don't want to have polluted test runner console.
I know that this seems to be edge case, but anyway, it should not be affected 😬
Reproduction
Working code:

     function someMethod(options?: { debug: boolean }) {
        if (options?.debug) console.log('some debug info');
      }
      it('has debug mode issue', () => {
        const logMethod = console.log.bind(console);
        console.log = vi.fn();

        // calling method without debug mode
        someMethod();

        // no debug info yet as debug is false by default
        expect((console.log as Mock).mock.calls).toMatchInlineSnapshot('[]');

        // calling method with debug mode
        someMethod({ debug: true });

        expect((console.log as Mock).mock.calls).toMatchInlineSnapshot(`
        [
          [
            "some debug info",
          ],
        ]
      `);

        console.log = logMethod; // set back original method
      });

      function otherMethod() {
        console.log('some temporary console.log debug info');
      }
      it('has debug mode issue other', () => {
        expect(otherMethod()).toBeUndefined();
      });

It will log 'some temporary console.log debug info' into test runner console. Which is correct.. it used for debugging code.
but now try to change 'some debug info' in if (options?.debug) console.log('some debug info'); so snapshots don't match now.. 'some temporary console.log debug info' is not logged anymore, preventing code to be debugged via console logs while snapshot does not match
System Info
System:
    OS: macOS 12.6.8
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 32.83 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.15.0 - ~/.nvm/versions/node/v18.15.0/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 9.5.0 - ~/.nvm/versions/node/v18.15.0/bin/npm
  Browsers:
    Chrome: 118.0.5993.117
    Firefox: 116.0.3
    Safari: 16.6
  npmPackages:
    @vitejs/plugin-vue: ^4.0.0 => 4.0.0
    @vitest/coverage-c8: ^0.28.1 => 0.28.1
    @vitest/coverage-v8: ^0.32.2 => 0.32.2
    vite: ^4.0.0 => 4.0.4
    vitest: ^0.34.6 => 0.34.6

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Voila https://stackblitz.com/edit/vitest-dev-vitest-jftnew?file=test%2Fsuite.test.ts thanks 🙏

This is expected behavior. expect throws an error, so code after it is not executed. You need to better structure your tests: you can restore console.log in afterEach hook or use vi.spyOn instead and enable test.restoreMocks in config file.


Build failure: amdvlk

Steps To Reproduce
Steps to reproduce the behavior:

Attempt to build the steam package
Wait 10 minutes for amdvlk to compile

Build log
building the system configuration...
trace: evaluation warning: pagedmov profile: Setting programs.eza.icons to a Boolean is deprecated.
Please update your configuration so that

  programs.eza.icons = "auto"
[2/17/72 built, 9/34/58 copied (575.4/1708.8 MiB), 122.8/325.3 MiB DL] building amdvlk-2024.Q3.2 (buildPhase): [1447/2841] Building CXX object compiler/llpc/llvm/lib/CodeGeerror: builder for '/nix/store/jy4xs329wkwznisac8p52sd7n73fxqb9-amdvlk-2024.Q3.2.drv' failed with exit code 1;
       last 10 log lines:
       > Compiling (dxc spirv=True) InitExecuteIndirect.hlsl:InitExecuteIndirect -> InitExecuteIndirect_spv.h...Success
       > Compiling (dxc spirv=True) PairCompression.hlsl:PairCompression -> PairCompression_spv.h...Success
       > Compiling (dxc spirv=True) MergeSort.hlsl:MergeSort -> MergeSort_spv.h...Success
       > Compiling (dxc spirv=True) BuildFastAgglomerativeLbvh.hlsl:BuildFastAgglomerativeLbvh -> BuildFastAgglomerativeLbvh_spv.h...Success
       > Compiling (dxc spirv=True) BuildBVHTDTR.hlsl:BuildBVHTD -> BuildBVHTDTR_spv.h...Success
       > Compiling (dxc spirv=True) BuildQBVH.hlsl:BuildQBVH -> BuildQBVH_spv.h...Success
       > Compiling (dxc spirv=True) BuildParallel.hlsl:BuildBvh -> BuildParallel_spv.h...Success
       > [1821/2841] Building AMDGPUGenAsmWriter.inc...
       > [1822/2841] Building AMDGPUGenAsmMatcher.inc...
       > ninja: build stopped: subcommand failed.
       For full logs, run 'nix log /nix/store/jy4xs329wkwznisac8p52sd7n73fxqb9-amdvlk-2024.Q3.2.drv'.
error: 1 dependencies of derivation '/nix/store/l1bip6xf2mrjdjchpp48nwdjf02h86qv-graphics-drivers-32bit.drv' failed to build
error: 1 dependencies of derivation '/nix/store/bscsr3pmf8dn3vlsw50zim95b1n6n5j2-steam-run-usr-multi.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dj5mbykaqq6yyxrivnma9p7anscxw4cg-steam-usr-multi.drv' failed to build
error: 1 dependencies of derivation '/nix/store/gqwvvg5zvjqxqji8px0l7fhcj3671dgg-graphics-driver.conf.drv' failed to build
error: 1 dependencies of derivation '/nix/store/iv62pkx4480fib4nd9qv70hvpir9rm5h-steam-fhs.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rqjhi64pcp6yqq5dv157z9ypszg538s1-steam-run-fhs.drv' failed to build
error: 1 dependencies of derivation '/nix/store/s5ihzjmvl0xl1clcgfvpdaz67bb1mbyp-steam-bwrap.drv' failed to build
error: 1 dependencies of derivation '/nix/store/l4gi74lnk8y11yj3s2nnyj9qb4gx933w-steam-run-bwrap.drv' failed to build
error: 1 dependencies of derivation '/nix/store/48pggdqw9vc60pvd05jzgpjv3jwkxm72-tmpfiles.d.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hrcafmxkyvbr3xrm4frrn3683v87k03i-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/d94dryr5wrmpfmjy76k9f6szv2njawg7-steam-run.drv' failed to build
error: 1 dependencies of derivation '/nix/store/xhcfbyzda7hc3i5z6awin90j8p4znhl9-steam.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rwrh1ndpcvlqh0sn50ahpp7nyjmmbxdr-nixos-system-argon-24.11.20241014.a3c0b3b.drv' failed to build

Compiler build log:
https://gist.github.com/pagedMov/2fb0b5eb84588461ef7222e0e7c4e9ef

Additional context
This was working up until today, and I'm not sure what exactly happened. I was able to build my system config with steam last night, woke up this morning and amdvlk refuses to build now. I'm enabling steam via the programs.steam module, tried it in both my system and home-manager configurations with no change in the behavior. Tried git bisect, and commits that were previously able to build the package no longer can.
Notify maintainers
@Flakebi
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.2, NixOS, 24.11 (Vicuna), 24.11.20241009.5633bcf`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.8`
 - channels(root): `"home-manager, nixos-24.05"`
 - nixpkgs: `/nix/store/60sn02zhawl3kwn0r515zff3h6hg6ydz-source`

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

Appears to be related to the hardware.amdgpu.amdvlk attribute set, disabling it allowed my config to rebuild. Currently testing it
with amdgpu.amdvlk.support32Bit enabled, will report results

Confirmed fails to build even with the support32Bit option enabled

Same

https://github.com/NixOS/nixpkgs/pull/338410

Im experiencing this too (identical error), however I'm experiencing it when building various apps like bitwarden-desktop for example - can provide logs if required

I'm also having the exact same problem

I'm getting exactly the same error as well

Same issue for me just started after updating. Any fix or workaround or just a waiting game?

I am experiencing the same issue when trying to build my system. AMDVLK fails to build.
error: builder for '/nix/store/h2adl88hvwrndpq24kw8pav8hwzia1yb-amdvlk-2024.Q3.2.drv' failed with exit code 1;
       last 10 log lines:
       > [1826/2845] Building AMDGPUGenAsmMatcher.inc...
       > [1827/2845] Building CXX object compiler/llpc/llvm/lib/CodeGen/SelectionDAG/CMakeFiles/LLVMSelectionDAG.dir/DAGCombiner.cpp.o
       > /build/amdvlk-src/drivers/llvm-project/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp: In function 'llvm::SDValue FoldIntToFPToInt(llvm::SDNode*, llvm::SelectionDAG&)':
       > /build/amdvlk-src/drivers/llvm-project/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:17939:23: warning: possibly dangling reference to a temporary [-Wdangling-reference]
       > 17939 |   const fltSemantics &Sem = N0.getValueType().getFltSemantics();
       >       |                       ^~~
       > /build/amdvlk-src/drivers/llvm-project/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:17939:62: note: the temporary was destroyed at the end of the full expression 'N0.llvm::SDValue::getValueType().llvm::EVT::getFltSemantics()'
       > 17939 |   const fltSemantics &Sem = N0.getValueType().getFltSemantics();
       >       |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
       > ninja: build stopped: subcommand failed.
       For full logs, run 'nix log /nix/store/h2adl88hvwrndpq24kw8pav8hwzia1yb-amdvlk-2024.Q3.2.drv'.

Same here:
building the system configuration...
error: builder for '/nix/store/jy4xs329wkwznisac8p52sd7n73fxqb9-amdvlk-2024.Q3.2.drv' failed with exit code 1;
       last 25 log lines:
       > Compiling (dxc spirv=True) InitExecuteIndirect.hlsl:InitExecuteIndirect -> InitExecuteIndirect_spv.h...Success
       > Compiling (dxc spirv=True) DeserializeAS.hlsl:DeserializeAS -> DeserializeAS_spv.h...Success
       > Compiling (dxc spirv=True) PairCompression.hlsl:PairCompression -> PairCompression_spv.h...Success
       > Compiling (dxc spirv=True) InitAccelerationStructure.hlsl:InitAccelerationStructure -> InitUpdateAccelerationStructure_spv.h...Success
       > Compiling (dxc spirv=True) InitAccelerationStructure.hlsl:InitAccelerationStructure -> InitAccelerationStructure_spv.h...Success
       > Compiling (dxc spirv=True) MergeSort.hlsl:MergeSort -> MergeSort_spv.h...Success
       > Compiling (dxc spirv=True) BuildBVHTDTR.hlsl:BuildBVHTD -> BuildBVHTDTR_spv.h...Success
       > Compiling (dxc spirv=True) CompactAS.hlsl:CompactAS -> CompactAS_spv.h...Success
       > Compiling (dxc spirv=True) BuildFastAgglomerativeLbvh.hlsl:BuildFastAgglomerativeLbvh -> BuildFastAgglomerativeLbvh_spv.h...Success
       > Compiling (dxc spirv=True) BuildQBVH.hlsl:BuildQBVH -> BuildQBVH_spv.h...Success
       > Compiling (dxc spirv=True) Rebraid.hlsl:Rebraid -> Rebraid_spv.h...Success
       > Compiling (dxc spirv=True) BuildParallel.hlsl:BuildBvh -> BuildParallel_spv.h...Success
       > [1822/2841] Building CXX object compiler/llpc/llvm/lib/CodeGen/SelectionDAG/CMakeFiles/LLVMSelectionDAG.dir/FastISel.cpp.o
       > [1823/2841] Building CXX object compiler/llpc/llvm/lib/CodeGen/SelectionDAG/CMakeFiles/LLVMSelectionDAG.dir/LegalizeDAG.cpp.o
       > [1824/2841] Building AMDGPUGenAsmWriter.inc...
       > [1825/2841] Building AMDGPUGenAsmMatcher.inc...
       > [1826/2841] Building CXX object compiler/llpc/llvm/lib/CodeGen/SelectionDAG/CMakeFiles/LLVMSelectionDAG.dir/DAGCombiner.cpp.o
       > /build/amdvlk-src/drivers/llvm-project/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp: In function 'llvm::SDValue FoldIntToFPToInt(llvm::SDNode*, llvm::SelectionDAG&)':
       > /build/amdvlk-src/drivers/llvm-project/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:17939:23: warning: possibly dangling reference to a temporary [-Wdangling-reference]
       > 17939 |   const fltSemantics &Sem = N0.getValueType().getFltSemantics();
       >       |                       ^~~
       > /build/amdvlk-src/drivers/llvm-project/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:17939:62: note: the temporary was destroyed at the end of the full expression 'N0.llvm::SDValue::getValueType().llvm::EVT::getFltSemantics()'
       > 17939 |   const fltSemantics &Sem = N0.getValueType().getFltSemantics();
       >       |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
       > ninja: build stopped: subcommand failed.
       For full logs, run 'nix log /nix/store/jy4xs329wkwznisac8p52sd7n73fxqb9-amdvlk-2024.Q3.2.drv'.
error: 1 dependencies of derivation '/nix/store/l1bip6xf2mrjdjchpp48nwdjf02h86qv-graphics-drivers-32bit.drv' failed to build
error: 1 dependencies of derivation '/nix/store/yn18fpg3k46nikbz6vzn85kg1wvwfa3h-graphics-driver.conf.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ln880b7vk1kg0w6ljkwbfyzr7mrnkdak-tmpfiles.d.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rfh8k1wapwx9f1wik9p3hixwygs04dfm-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vsn0sqj99hg8xqqvan1b6cr5pmhinvby-nixos-system-Yon-24.11.20241014.a3c0b3b.drv' failed to build

same here.... not just with amdvlk, but with multiple packages. Commenting them in config will lead to amdvlk
error: builder for '/nix/store/jy4xs329wkwznisac8p52sd7n73fxqb9-amdvlk-2024.Q3.2.drv' failed with exit code 1;
last 10 log lines:
> Compiling (dxc spirv=True) PairCompression.hlsl:PairCompression -> PairCompression_spv.h...Success
> Compiling (dxc spirv=True) MergeSort.hlsl:MergeSort -> MergeSort_spv.h...Success
> Compiling (dxc spirv=True) BuildFastAgglomerativeLbvh.hlsl:BuildFastAgglomerativeLbvh -> BuildFastAgglomerativeLbvh_spv.h...Success
> Compiling (dxc spirv=True) Update.hlsl:UpdateTriangles -> UpdateTriangles_spv.h...Success
> Compiling (dxc spirv=True) BuildQBVH.hlsl:BuildQBVH -> BuildQBVH_spv.h...Success
> Compiling (dxc spirv=True) BuildBVHTDTR.hlsl:BuildBVHTD -> BuildBVHTDTR_spv.h...Success
> Compiling (dxc spirv=True) BuildParallel.hlsl:BuildBvh -> BuildParallel_spv.h...Success
> [1820/2841] Building AMDGPUGenAsmWriter.inc...
> [1821/2841] Building AMDGPUGenAsmMatcher.inc...
> ninja: build stopped: subcommand failed.
For full logs, run 'nix log /nix/store/jy4xs329wkwznisac8p52sd7n73fxqb9-amdvlk-2024.Q3.2.drv'.
error: 1 dependencies of derivation '/nix/store/2wia0900dnqv62r5h0ys06417f988g4f-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4s26avigpm7bdxz5fh2si5qmi28bwwij-nixos-system-Terminal-416-24.11.20241014.a3c0b3b.drv' failed to build

Seems to be caused by https://github.com/NixOS/nixpkgs/commit/c3948c21ef00fbf8ef02f3c2922e84ba72e8a62b
It also compiles with glslang-15.0.0 (with shared libs), but haven't tested it yet.

see also: https://github.com/NixOS/nixpkgs/pull/344568#issuecomment-2409029219

In addition to @unkn's overlay example above, I added this in the new attrset for my_gslang:
    cmakeFlags = [];

This effectively reverses the mentioned commit https://github.com/NixOS/nixpkgs/commit/c3948c21ef00fbf8ef02f3c2922e84ba72e8a62b.  I had to do this to get it to work again.  I didn't test if the rest of the overlay was necessary for me after adding this line.

I opened a PR to fix glslang until staging-next is merged:  #349246


Add italian translation

Hello,
The extension needs translation for different languages.
You can find the language code (or locale code) you should use on this page
Steps :

Create a _locales/[language_code] folder
Create a messages.json file at _locales/[language_code]/messages.json
Copy paste content from _locales/en/messages.json
Translate the "message" part for each JSON object

I can do it for the Italian language!


Publishing path is wrong - custom template will not be loaded

https://github.com/justijndepover/laravel-cookie-consent/blob/620d6137d58f03e5f2619af4e7c6ef411c70dc95/src/CookieConsentServiceProvider.php#L29
should be (The s after "cookie-consent" is not neccessary)
__DIR__.'/../resources/views/cookiebar.blade.php' => base_path('resources/views/vendor/cookie-consent/cookiebar.blade.php'),

Thanks, fixed


PENV-447: fix some data reloading

- What I did
increase the ReloadPeriod value because of DB is slow
- How I did it
- How to verify it
- Description for the changelog

Codecov Report

Merging #90 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #90   +/-   ##
=======================================
  Coverage   75.42%   75.42%
=======================================
  Files          45       45
  Lines        2881     2881
=======================================
  Hits         2173     2173
  Misses        563      563
  Partials      145      145

Impacted Files
Coverage Δ

configuration/configuration.go
100.00% <ø> (ø)

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 60f947d...d1e34c0. Read the comment docs.


Infinite loading is buggy on Nuxt SSR

Version
"vue-infinite-loading": "2.4.5",
Nuxt version
Nuxt: "2.15.7",
Steps to reproduce
https://app.usebubbles.com/eztqeMmdTtmfSLBrxRpDBD/infinite-scroll-bug-on-nuxt-ssr
What is Expected?
For it to work consistently
What is actually happening?
Not working consistently

Anyone coming across this, I solved it using - https://github.com/forked-prs/nuxt-infinite-scroll-module

Also can use vue-infinite-loading/src/components/InfiniteLoading directly


join us

You can transfer it to the AtomLinter org if you'd like. You'll still be the maintainer.
The sooner you do it, the less the statistics of downloads you will lose)
flow:

run apm unpublish linter-swiftc command to unpublish package
move repo to AtomLInter org (you will be an administrator)
fix repo url in package.json
publish again

This allows us to more easily keep track of linters that need to be fixed after major updates to the core linter. Additionally, by pulling you into the organization it allows us to keep linter creators up to date with changes and plans people have to advance the project. Lastly it has been a good tool when people have issues with the linters where users can rely on a larger stable of developers to help them with their issues on any given linter.
welcome to the biggest atom package community ::)

I'll do that right now. Thanks so much. I'm awful at maintaining smaller projects like this.


Add vm storage metrics to exported data

Add support for vm storage committed/uncommited metrics

Please add tests for this and Ill get it merged.


Generate Password

How can I encrypt password form in another blade view (ex: Admin)  so that it can be verified by login page by default ?

are you using the same table for both admin and user? for the default laravel encryption use bcrypt($password)

yes. Ive used same table and I want to know infyom laravel encryption for user password.

infyom is not using any custom password encryption method,
I have create multiauth with the infyom package before,
and this is what I do in my admin controller for 'register':
    protected function create(array $data)
    {
        return Admin::create([
            'name' => $data['name'],
            'email' => $data['email'],
            'password' => bcrypt($data['password']),
        ]);
    }

I believe this is more of a laravel question than about infyom

an easier way is to just create another route pointing to user/register, then u dont have to write any new method or code

    Route::post('admin/login', 'LoginController@login')->name('admin.login');

do this admin data is same as user data

@maulanibr infyom generator is doing any encryption for any field by default. you can encrypt whatever you want in your generated files as @yelnyaface suggested.


js-interop: accept rejecting promises with null in promiseToFuture

The promiseToFuture API needs to adjust for the possible nullability of errors.
Promises can be rejected with a null value, however dart:async expects errors to be non null. Elsewhere in Dart we wrap null errors with a NullError to comply with dart:async, so we expect something similar should be possible here.
small repro:
@JS()
library foo;

import 'package:js/js.dart';
import 'dart:js_util';

@JS('self.Promise.reject')
external reject(value);

main() {
  promiseToFuture(reject(null));
}

More convoluted repro showing how this can come up when rejecting a promise after it is created:
@JS()
library foo;

import 'package:js/js.dart';
import 'dart:js_util' show promiseToFuture;

@JS() external void eval(String s);
@JS() external void fulfill(v);
@JS() external void reject(v);
@JS() external dynamic get promise;

main() async {
  eval('''
      self.promise = new Promise(function (fulfill, reject) {
        self.fulfill = fulfill;
        self.reject = reject;
      });
      ''');
  Future f = promiseToFuture(promise)
      .then((_) => "1")
      .catchError((_) => "2");
  reject(null);
  print(await f);
}

See original report from flutter at: https://github.com/flutter/flutter/issues/73114
/cc @srujzs @rileyporter

This would just be modifying the error wrapper to check for null and passing in a NullError instead to the completer, right? The success case would also need to be modified similarly.

This would just be modifying the error wrapper to check for null and passing in a NullError instead to the completer, right? The success case would also need to be modified similarly.

Yeah I think you're right, complete allows a nullable, so this only needs to be done for the error case.

Yeah I think you're right, complete allows a nullable, so this only needs to be done for the error case.


Release a Production version of App to Firebase before uploading to App Stores

Based on feedback from @marfavi , we should consider changing the production release pipeline such that a production version of the App is published to Google Firebase before releasing the app to App Stores. This allows testing towards the production database before release.

A few ideas:

Trigger a production build to Firebase for pull requests raised towards the production branch
Pushed commits to the production branch to trigger a build to Firebase. The workflow will pause/wait for approval before it uploads the same version to App Stores
Build the app with production configuration for PRs targeting production branch but don't release the app


Remove the Update Center Subproject

Resolves #251
Complete removal of the project. Doesn't make sense to keep it. If the need arises in the future. Then we come back to this.
After this the Check for updates feature doesn't report an error anymore. Instead a success. Thus gives user the feeling that the SDK is less buggy :)

And I don't know if we should just delete the folder or exclude it from the build (i.e. this one change in the xml file where it has been removed should be enough).
But on the other hand it makes the code cleaner/easier and in theory git history shouldn't break

I first also thought that just exclude. But the facts I think are that it is not coming back anytime soon. And when and if it comes back, the implementation might be even better to start from scratch with fresh instructions and fresh code. It is not even that big amount of code to begin with.
If not deleted then in theory it should be maintained. Even not build. Adds to confusion. So I opted to delete it completely.  :)

If not deleted then in theory it should be maintained. Even not build. Adds to confusion. So I opted to delete it completely.  :)

I don't know, the problem is that the value of the update center tightly depends on the code frequency. It's a pipe dream to believe the SDK will see weekly or even daily updates for the users to test and also the infrastructure was seen critically (by non SDK users!), but in theory we could use that at some point.
But I generally don't feel confident deleting code when we could just disable it (exclude the project from the suite). But then we have git, we can always revert the delete commit in the future (provided we find it again :smile: )

I've decided:
We'll disable the module for 3.3 and once we've cut a 3.3 branch, we can start removing several modules from the master branch.

I've resolved the conflicts to genfiles.properties.
Chances are that they show up as modified once commited again, but this is non critical

Officially rejecting this based on changed plans: We will have a github-releases based update center based completely on Github Actions.
See https://github.com/jMonkeyEngine/sdk/blob/489487f6d4970efebd8a5825cdb668bbf383e9ce/.github/workflows/gradle.yml
which deploys to
https://github.com/jMonkeyEngine/sdk-update-center/blob/52ebc5f7c56ff2f24ee2eb07f611f075cafd288e/.github/workflows/nightly.yml
which creates
https://github.com/jMonkeyEngine/sdk-update-center/releases/tag/nightly_10
and
https://github.com/jMonkeyEngine/sdk-update-center/commit/db2cee205cd309128f348a8eed0388a992c84924


bug with d=2 in uncompiled RW_lkj_corr_cholesky

See user post 2023-02-27 for a reprex.
If uncompiled MCMC is run, it errors at for(i in 3:d) in transform(). In compiled, the backwards indexing block is ignored so things are fine (and hence why this was probably not caught previously).

Fixing directly on devel.


CTF deployment help.

I'm looking to host, larger, juices-hop CTF later in the year and need so advice on how best to do this.
Last year it was a small scale ctf of only 7 instances, so I ran 7 docker containers and gave each participant their own instance and port number. However this year I am expecting it to be a larger deployment (albeit no idea on numbers yet) and I am not sure how to best do this.
From looking in the juice-shop book, it mentions about FBCTF being used to host a juice-shop ctf that spun up instances on demand for the teams, is there any detailed documentation on how this was done? I'm not familiar with FBCTF at present and my docker skills are not enough to get the on-demand unique instances for each team.
Ideally I'd want to run the juice-shop stuff along with other CTF's from places like Vuln hub to give a good range of challenges.

@J12934, can you give a few ideas to @battletux on how you did your CTF setup at your company?

Hi 👋
We have run CTF Games with about 40 Juice Shop instances so far, in which every team gets their own instance.
To do this we are using a self developed service which we call "Juice Balancer" this service is basically a loadbalancer which ensures that every team can only access their own Juice Shop instance. This is currently still a internal closed source project, but we are planning to release this as an Open Source project in the near future, so that everybody can host it this way. I cannot give an exact ETA but I'm planning to release it before / during the Open Security Summit.
We are also using FBCTF which works similarly to CTFd but has a more involved visual representation of a CTF Game. But FBCTF isnt directly needed for JuiceBalancer it is "just another CTF Gameboard"

Morning, Thanks for the reply. I'll look forward to seeing the release in June of your tool @J12934
Do you have any pointers on ways to implement this sort of on-demand spinning up of containers? Talking to a colleague about it he seems to think Origin/Openshift might me a way to go.

No unfortunately not really, we have thought about it but we haven't really needed it.
Its pretty easy to just spin up a few more containers up then needed and let them idle. The don't really consume to many resources when not actually in use.
We have used Rancher in previous iteration to orchestrate the containers and to scale the number of Juice Shop instances. If we have noticed that we needed more containers we could just increase the number of instances in Rancher. Worked really smoothly.


[UI / Grafana Boards] Auto select default Grafana Boards on Detection

Current Behavior
Currently, UI will auto-connect with Grafana Boards but no metrics are seen in Perf Profile since no board is selected.
Desired Behavior
Select a default Board, when Grafana is configured.
Implementation

Acceptance Tests

Mockups

Contributor Guide

In the PR #2900-line 250, we are infact connecting to the first selection.
The problem which might make it seem like an issue is that, for the selections of URL in the settings, we are using /api/promGrafana/scan endpoint (independent of meshsync) and for auto connecting grafana boards, we are using getAvailableAddons (which relies on meshsync data). So in case a new cluster, it has to wait till it gets meshsync data for the services.

//cc @kumarabd


Missing hit rating for Unholy DK

Describe the bug
When importing my gear from the game, the sim shows that I have 951 hit rating instead of 961.
To Reproduce
Steps to reproduce the behavior:

Import the following addon data:

{"talents":"20320000000000000000-10000000000000000000-13300321230231021231","glyphs":{"minor":[{"spellID":58680},{"spellID":58677},{"spellID":58640}],"prime":[{"spellID":58642},{"spellID":63333},{"spellID":58686}],"major":[{"spellID":59332},{"spellID":58657},{"spellID":58623}]},"class":"deathknight","unit":"player","race":"Human","name":"Nezzer","gear":{"items":[{"id":59359,"gems":[68779,59479,59478],"enchant":4208},{"id":62447,"gems":[]},{"id":56318,"gems":[52255],"reforging":167,"enchant":4202},{"id":63467,"gems":[],"reforging":144},{"id":58096,"gems":[52176,52081],"reforging":138},{"id":57870,"gems":[52081],"reforging":167},{"id":56336,"gems":[52176]},{"id":62384,"gems":[52081],"reforging":167},{"id":58097,"gems":[52255,52255],"reforging":144,"enchant":3823},{"id":62382,"gems":[52176]},{"id":62350,"gems":[],"reforging":144},{"id":56365,"gems":[],"reforging":160},{"id":56393,"gems":[]},{"id":58180,"gems":[],"reforging":138},{"id":64377,"gems":[],"reforging":145,"enchant":3368},null,{"id":56279,"gems":[52081],"reforging":145}]},"professions":[{"name":"Engineering","level":525},{"name":"Jewelcrafting","level":520}],"level":85,"spec":"unholy","realm":"MirageRaceway"}

Expected behavior
The sim should show 961 hit rating
Sim Links and Screenshots

Desktop (please complete the following information):

OS: Windows and macOS
Browser Firefox
Version 126.0.1

There is an issue with a shoulder socket bonus giving 20 instead of 10 hit in game. I would guess you have those shoulders equipped. Right now you can just add 10 hit manually in the stats panel. I will look into updating the socket bonus to be the same as the bugged version that is in game.

Thanks, that's it. It's Raz's Pauldrons.


Fix pan control issue on Firefox.

Hi @pissang,
Before this fix, pan control doesn't worked always on Firefox.
I investigated and found why. Reason is commented in code.
Kind regards,

As always, thanks for the contribution! @SamuelTS


Will it support arm?

This is a very good project. It has been used all the time and is very convenient. It may switch to the arm platform in the future. Will you consider adapting the arm platform?

Hi.  It doesn't currently.  As CentOS has been discontinued then I'll need to change the base image anyway.  So when I do that I'll attempt to make it ARM-y too.


KTL-1476 Upload kotlin 2.0.0-RC3 on kotlin playground

https://youtrack.jetbrains.com/issue/KTL-1476/Upload-kotlin-2.0.0-RC3-on-kotlin-playground

Waiting for the tests


Hue - Upgrade Python-RSA to safe version

rsa-4.0 is the last supported in Python2.7
Python3.8 has rsa-4.7 package

(cherry picked from commit 251f88b1e49e4f1a82b3788309a768a60f393158)
What changes were proposed in this pull request?

upgrade of rsa-4.0 python module

How was this patch tested?

not tested end to end.
Please review Hue Contributing Guide before opening a pull request.

recheck

recheck


Allow "play discarded card" effect at game end

When Halicarnassus (B) plays the last card of age 3 to upgrade its wonder the game ends before a card from the discard pile can be chosen.

Thanks for reporting this issue, this is indeed supposed to be allowed, and if it doesn't work it's definitely a bug.

Reproduced with the following steps:

Use the wonder Halikarnassus (either A or B)
Upgrade a wonder level with special power "play discarded card" as the last play of any age (when only 2 cards are left in your hand)

Observed behaviour: the game proceeds to the next age's first turn
Expected behaviour: the player should be able to pick from the discarded pile before the military conflicts are executed and before the next age begins.


Basic tank movement

Created very basic tank movement as a test.  A step up from the orthogonal movement but still needs to be replaced with physics based (ie movement of wheels)

Awesome! — merged!


The generic List implementation leaks

I reported this downstream (I assume they've attributed your code appropriately?), and was referred here:
https://github.com/fufuok/utils/issues/1

Could you provide an example? I'm not seeing how Front/Back can be non-nil after the last element has been removed.


implement timeout_on_sleeping_server interop test

Fixes #2822

LGTM. Waiting for tests

It looks like the C# tests failed.

No, the tests were failing for that one and I haven't addressed that yet.

Reverted the change.

Oops. I think I got confused for a second about which PR I was looking at. I think you'll have to send this change to me again once the tests pass.


[implementation] define project-wide vars in vars.yml, outside of dbt_project.yml

Short description
From https://github.com/dbt-labs/dbt-core/issues/2955
"I want to define project-wide variables outside of my dbt_project.yml."
"I want to be able to reference variables in my dbt_project.yml at parse-time."
Acceptance criteria

I can define project-wide ("global variables") variables in a vars.yml file, separate from my dbt_project.yml

# vars.yml

vars:
  start_date: '2016-06-01'

dbt parses vars.yml before parsing dbt_project.yml, meaning default values of vars called in dbt_project.yml would work the way folks expect, rather than how it is today (equivalent to how this works when defining vars through the CLI a la --vars)

Option 1 - behavior change

You cannot define variables in both places, you must chose the "new" or "legacy" way
As such, this would need to be behind a behavior change flag
Open question: Given that behavior change flags are set in dbt_project.yml, would this even be possible?

Option 2 - backwards compatible

You can define variables in either places
Open question: Would we still get the parsing benefit if we went this route?

Current workaround: Have a really massive dbt_project.yml file with no ability to reference variables in your project configurations

Is there a reason to make it specific for vars instead of making it possible for any configuration like in this other issue?


Submitting login form produces intermittent silent crash

This is a strange bug.
I'm running the latest version of Meteor on Ubuntu 16.04 with Phusion Passenger.
The app has been crashing periodically for no obvious reason, and the error log is blank. One thing I've noticed is that logging in using > atLoginForm sometimes triggers this silent crash, and refreshing the window after the app restarts causes the app to crash again, presumably because the resume token is missing or incorrect on account of the crash.
I've rebuilt bcrypt on the server but that hasn't solved the problem.
Ideas? I'm stumped.
Thanks!
Danel

I have the same problem and I can't debug it as there is no information about the crash.
Any update?

Upon further investigation I see that my issue is with Meteor itself. Running:
Meteor.loginWithPassword({email<EMAIL_ADDRESS>'password', function(error,res) { error ? console.error(error) : console.log(res) })

I don't get anything logged to the console, but using Meteor Chrome extension I see that my token was returned from the server.

I'm pretty sure it's actually a BCRYPT error.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On July 12, 2018 8:14 AM, Elie<EMAIL_ADDRESS>wrote:

Upon further investigation I see that my issue is with Meteor itself. Running:
Meteor
.
loginWithPassword
({email
:
'
<EMAIL_ADDRESS>'
},
'
password
'
,
function
(
error
,
res
) { error
?
console
.
error
(error)
:
console
.
log
(res) })
I don't get anything logged to the console, but using Meteor Chrome extension I see that my token was returned from the server.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

On the server? But I see the login token returned to the client. We may be
experiencing different issues.
On Thu, 12 Jul 2018, 21:48 Daniel Bernhard<EMAIL_ADDRESS>wrote:

I'm pretty sure it's actually a BCRYPT error.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On July 12, 2018 8:14 AM, Elie<EMAIL_ADDRESS>wrote:

Upon further investigation I see that my issue is with Meteor itself.
Running:
Meteor
.
loginWithPassword
({email
:
'
<EMAIL_ADDRESS>'
},
'
password
'
,
function
(
error
,
res
) { error
?
console
.
error
(error)
:
console
.
log
(res) })
I don't get anything logged to the console, but using Meteor Chrome
extension I see that my token was returned from the server.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub,
or mute the thread.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/meteor-useraccounts/core/issues/758#issuecomment-404612807,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC8oX5L9OzVluT-uzwNTffNiGaBR_pGhks5uF5oMgaJpZM4TMu4J
.

For me it was a silent error. When the server restarted, I was logged in. Downgrading to Node 8.9.4 solved the problem for me.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On July 12, 2018 4:59 PM, Elie<EMAIL_ADDRESS>wrote:

On the server? But I see the login token returned to the client. We may be
experiencing different issues.
On Thu, 12 Jul 2018, 21:48 Daniel Bernhard<EMAIL_ADDRESS>wrote:

I'm pretty sure it's actually a BCRYPT error.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On July 12, 2018 8:14 AM, Elie<EMAIL_ADDRESS>wrote:

Upon further investigation I see that my issue is with Meteor itself.
Running:
Meteor
.
loginWithPassword
({email
:
'
<EMAIL_ADDRESS>'
},
'
password
'
,
function
(
error
,
res
) { error
?
console
.
error
(error)
:
console
.
log
(res) })
I don't get anything logged to the console, but using Meteor Chrome
extension I see that my token was returned from the server.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub,
or mute the thread.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/meteor-useraccounts/core/issues/758#issuecomment-404612807,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC8oX5L9OzVluT-uzwNTffNiGaBR_pGhks5uF5oMgaJpZM4TMu4J
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Request PerfLab run (depends on nightly containers / CI)

Dataloaders
multi-gpu
ETL
???

Will set up post-release


S3Mock is incompatible with Spring Boot 3.2.x and Spring Framework 6.x

The way parameter names are detected (for annotations such as @PathVariable) changed in Spring Boot 3.2.0 and Spring Framework 6.x (see Parameter Name Discovery in the Spring Boot 3.2 Release Notes).
Unfortunately, this causes the latest version of S3Mock to be incompatible with Spring Boot 3.2.x and Spring Framework 6.x.  Attempting to use S3Mock with Spring Boot 3.2.x results in errors similar to:
java.lang.IllegalArgumentException: Name for argument of type [java.lang.String] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag.

Thankfully, this is very easy to fix. The Java compiler needs to be configured to use the -parameters flag, which causes the compiler to include the necessary metadata Spring needs to detect the parameter names.
Using Maven, this can be done by adding <parameters>true</parameters> to the configuration section of the maven-compiler-plugin. See Parameter Name Retention in Upgrading to Spring Framework 6.x for a more complete example.
I have done this with a local checkout of S3Mock, and I have confirmed it works.

@jthurne thanks, I'll try to release a new version today, wanted to do that for a couple of weeks now anyway...
However, please note that a direct Java integration with the S3Mock always has the risk of bringing dependency incompatibilities into your project.
While I try to keep everything current and compatible, the best practice to use S3Mock in your project is via Docker:
https://github.com/adobe/S3Mock#s3mock-docker

Awesome, thank you @afranken!

However, please note that a direct Java integration with the S3Mock always has the risk of bringing dependency incompatibilities into your project.
While I try to keep everything current and compatible, the best practice to use S3Mock in your project is via Docker:
https://github.com/adobe/S3Mock#s3mock-docker

Noted.  We do strive to use Docker for these sorts of things when we can, but there are two drawbacks:

Spinning up docker containers tends to be slower than spinning up an "in process" server within a test. On a project with tens of thousands of tests, these small amounts of time add up quickly.

Unfortunately, on our CI setup, Docker is somewhat unreliable, and relying on Docker containers introduces instability into our build.

Hopefully over time, Docker will get faster and more reliable and we'll be able to leverage it more for this sort of thing in the future.
In any case, your quick response is very much appreciated!  Thank you for all you do for the community.

@jthurne I just released 3.3.0 which depends on Spring Boot 3.2.1 :)


FIX Removing loading indicators by introducing optimistic deletes

Partially addresses #485 - ensuring loading indicators don't appear for the whole elemental area. In the case of an error (such as 403) it will re-show the block.

@ScopeyNZ This pull request hasn't had any activity for a while.  Looks like travis is red.  Also it's on a pretty old version of elemental so possibly consider rebase/retarget to 4.4. Are you going to be doing further work on this PR, or would you prefer to close this PR now?

It's a real shame we let things like this go stale 😞

It seems like there's going to be no further activity on this pull request, so we've closed it for now. Please open a new pull-request if you want to re-approach this work, or for anything else you think could be fixed or improved.


training hangs when using PyTorchProfiler with torch 1.9.0+cu111

🐛 Bug

I found something strange with pytorch_lightning and pytorch profilers Running on pytorch 1.9 with cuda11 the training will hang just after the first epoch have started.
I have 2 gpus on my machine: rtx2060 & rtx3070
Please reproduce using the BoringModel
https://github.com/NathanGrimaud/torch_profiler_bug
To Reproduce
Because it looks to be related to the hardware i'm using i'm not sure that a Colab Notebook will be enough to reproduce.
Running this will work, and the model starts training on my rtx3070
import torch
from pytorch_lightning import Trainer
from pytorch_lightning.profiler import PyTorchProfiler
from datamodule import BoringDataModule
from model import BoringModel

profiler = PyTorchProfiler(
    on_trace_ready=torch.profiler.tensorboard_trace_handler("lightning_logs")
)
trainer = Trainer(
    profiler=profiler
)

running this will work, and the model starts training on my rtx2060
import torch
from pytorch_lightning import Trainer
from pytorch_lightning.profiler import PyTorchProfiler
from datamodule import BoringDataModule
from model import BoringModel

profiler = PyTorchProfiler(
    on_trace_ready=torch.profiler.tensorboard_trace_handler("lightning_logs")
)
trainer = Trainer(
    gpus=[1],
    profiler=profiler
)

running this will not work, and the model won't start training on my rtx3070
import torch
from pytorch_lightning import Trainer
from pytorch_lightning.profiler import PyTorchProfiler
from datamodule import BoringDataModule
from model import BoringModel

profiler = PyTorchProfiler(
    on_trace_ready=torch.profiler.tensorboard_trace_handler("lightning_logs")
)
trainer = Trainer(
    gpus=[0],
    profiler=profiler
)

The last snippet will work if I add emit_nvtx=True, but it won't emit the torch-tb-profiler i'm trying to generate

Expected behavior

Environment
I'm running python 3.7.9 on linux
pip install torch-tb-profiler tensorboard pytorch_lightning

pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html

CUDA:

GPU:

NVIDIA GeForce RTX 3070
NVIDIA GeForce RTX 2060

available:         True
version:           11.1

Packages:

numpy:             1.21.0
pyTorch_debug:     False
pyTorch_version:   1.9.0+cu111
pytorch-lightning: 1.3.7post0
tqdm:              4.61.1

System:

OS:                Linux
architecture:

64bit
ELF

processor:
python:            3.7.9
version:           #1 SMP PREEMPT Thu Jun 3 14:56:42 UTC 2021

I can't reproduce it. The trace json could be dumped on my side, using your provided "pip install".

Would you please check where it hangs?

Dear @nanddalal,
Could it be related to https://github.com/pytorch/pytorch/issues/60158 ?
Best,
T.C

I might have joined my nvidia driver version :disappointed:
After a kernel & driver update everythings looks to be ok.
Latest nvidia version installed was 465.31-1
Current working version: 470.42.01.
I was not using the specific 465.19.01 version but my issue can be related to the issue linked above


I found a typo bug in the provided Markdown file. In the section "Build the tool," there is an incorrect path mentioned for aliasing the compiled binary.

I found a typo bug in the provided Markdown file. In the section "Build the tool," there is an incorrect path mentioned for aliasing the compiled binary. The correct path should be bazel-bin/java/google/registry/tools/nomulus instead of bazel-genfiles/java/google/registry/nomulus. Here's the corrected sentence:
It's recommended that you alias the compiled binary located at bazel-bin/java/google/registry/tools/nomulus (or add it to your shell path) so that you can run it easily.

it is already fixed

Closing this issue, It’s already fixed!


fix(python tests): cleanup containers

Before running the python tests ensure that all existing containers are
destroyed. This will ensure that the python tests are run in a clean
environment.
It has been observed on CI that if containers are left around (due to
previous test failures) subsequent python tests will fail. The error
message will look like:
"compose.project.ProjectError: Encountered errors while bringing up the
project."

bors merge


Merge 0.23 -> main

It's been a while.  It wasn't too bad.  RequestOps was necessary due to the variance change on Request and the implicit evidence parameter on a new operation.
Resets things as #7386 gets pondered.

Hey folks @http4s/core would you mind giving this a quick review so we can finally call it a day?


Rename "Yearly/weekly reward" into "My yearly/weekly reward"

Design
https://zpl.io/VOLzGYj
https://zpl.io/29d4Erl

Checked.
My yearly reward was removed https://github.com/BeamMW/dao-core-app/issues/4#issuecomment-882307500.


Where is the AD modules an AdminCenter

Summary of the new feature/enhancement
Where is the ActiveDirectory modules for Linux PS and does PS 7 support Windows Admin Center?

Proposed technical implementation details (optional)

My understanding is that the AD cmdlets do not run natively on non-Windows platforms. And if this is to happen, it is the AD Team that, probably, would need to do the work.

Yep, the APIs used by the ActiveDirectory module do not function under Linux and likely never will, unless someone wants to add similar capabilities into the Linux operating systems and/or kernel itself.
At least, that's my understanding. The ActiveDirectory team(s) may have some ideas how that could be worked around (one possible idea is to rewrite the module to work with PSRemoting to the DC instead of using platform-specific protocols to communicate with the DC), but that is at best a blind guess. I've not had the chance to really look through the source code, and I'm not sure we ever will (I don't think it's been published anywhere, least not that I've been able to find up till now).
As a result, this discussion is kind of moot and entirely reliant on the ActiveDirectory team to figure something out, as it were. 🙂
I hope that answers some of your questions, but the PowerShell team themselves don't maintain or probably even have access to this module's source code, so all they can do is poke the AD team(s) and ask them to Git Gud(tm). 😄


Same input different outcome

I have created a LES with five different scenarios: https://moses.energytransitionmodel.com/testing_grounds/471 and recreated each scenario in a single LES. When I compare the electricity load graph at the MSR of the fourth scenario: the strand MSR 4 in the LES buurtbatterij - overzicht with the electricity load graph in the LES buurtbatterij - buurtbatterij  https://moses.energytransitionmodel.com/testing_grounds/476 I get a different outcome, even though the input is the same. The two electricity load graphs:

LES buurtbatterij - overzicht

LES buurtbatterij - buurtbatterij
I've checked the input for the topology and the technology table in the two LESses and they are exactly the same. In both LESses I've only checked the strategy "Storage in batteries prioritising local PV production". I don't understand why I get a different result.

Assigning @antw.

I looked into this at the time the issue was created, and I think the two scenarios were not identical. The neighbourhood battery in one of the LESes had a COP assigned (COP is not supported on the battery) among other differences. Today, the two give identical results:

Showcase buurtbatterij - overzicht
Showcase buurtbatterij - buurtbatterij


Add a GitHub Actions CI badge to README.md file

As a developer
I need a GitHub Actions CI badge added to my README.md file
So that other developers will know if the build is working or broken
Details and Assumptions

n/a

Acceptance Criteria
Given someone is looking at our GitHub repository
When they look at the README.md file
Then the CI badge will inform them of the status of the build

Completed


Question 76's answer is incorrect

https://github.com/lydiahallie/javascript-questions#76-whats-the-output
The answer to question number 76 should be 'C' undefined if we console.log(name).
And if the answer is correct then in question console log should be console.log(myName) instead of console.log(name)

It's undefined in the browser
But there is a ReferenceError in the node environment

Shouldn't we take it into the consideration?

One weird thing is that chrome returns undefined when it comes to name by default it seems.

这台变量名用的有点问题，如果变量不是name而是n的话，答案确实是D。name是关键字了，所有console.log(name)是不会报错的
There is something wrong with the name of the variable. If the variable is n instead of name, the answer is indeed D. Console. log(name) will not return an error

I guess the answer of this question should be D. as name isn't defined in the scope.

But on console logging to myName , the output shows Lydia.

I've provided the complete answer in this merge request.


clientv3: use FromOutgoingContext to bucket watches

Watches were bucketed on string(ctx) for historical reasons;
metadata.FromOutgoingContext should be enough to key watches now.
Fixes #8338

That data is sent over the wire already; it's grpc metadata. Using the ctx point means there will be a separate grpc stream for each watch, which is inefficient.

My use case is that I have a set of different clients that connect to my server via gRPC and I call watch for each client:
func gRPCMethod(ctx *context.Context, ...) (grpcResp, error) {
    c := m.client.Watch(ctx, ...)
    for resp := range c {
      ...
    }
}

So should I give to client.Watch context that is unique for the whole server so that it reuses one connection to etcd?

@stefan-improbable not necessarily-- if the watch is not opened with the right context, it will mask away the grpc metadata.

@heyitsanthony
What is the correct behaviour in my usecase, should I have one grpc Watch connection for all clients or one Watch per client? Or if I call Watch on the same clientv3 multiple times, is there any reason not to reuse the same gRPC connection in all the requests?

@stefan-improbable it only matters if there's grpc metadata in the context. If there's no grpc metadata then one stream can serve everything. Otherwise, there should be a stream per unique set of metadata.


Application of phase regression to multi-echo BOLD

@cesarcaballerogaudes @eurunuela @idevicente have any of you tried applying phase regression to multi-echo data? Asking you three because of your connections to https://github.com/idevicente/Phase-based_denoising_pipeline.
Stems from #9 and #2.

We used single-echo data for that work. I cannot remember if Iñigo tried it on multi-echo data though.

We haven't tried yet, but we have collected new multi-echo data with both magnitude and phase in several projects.

The easiest thing would be to just use the echo closest to 30 ms I guess, but I wonder if there would be any benefit to either averaging the complex-valued data across echoes before running the phase regression pipeline or running the pipeline on each echo separately and then averaging the denoised magnitude data afterward.


Null adapter_config.base_model_name_or_path could result in downloading model failure

System Info

lorax v0.8.1
adapter_config.json for LoRA weights

{
  "alpha_pattern": {},
  "auto_mapping": null,
  "base_model_name_or_path": null,
  ...
}

Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction

Initiate an inference request with a local adapter

adapter_source="local"
adapter_id="/path/to/local/adapter/dir"

Error happened in lorax server side

2024-03-08T17:03:38.057488Z  INFO lorax_router::loader: router/src/loader.rs:150: adapter local:/path/to/local/adapter/dir downloaded
2024-03-08T17:03:38.057519Z  INFO lorax_router::queue: router/src/queue.rs:135: set adapter local:/path/to/local/adapter/dir status to Downloaded
2024-03-08T17:03:38.059417Z  INFO lorax_launcher: model.py:168 Loading adapter weights into model: /path/to/local/adapter/dir

2024-03-08T17:03:38.064104Z  INFO lorax_launcher: model.py:168 Loading adapter weights into model: /path/to/local/adapter/dir

2024-03-08T17:03:38.066584Z  INFO lorax_launcher: model.py:168 Loading adapter weights into model: /path/to/local/adapter/dir

...

Traceback (most recent call last):
  ...

  File "/opt/conda/lib/python3.10/site-packages/lorax_server/cli.py", line 89, in serve
    server.serve(
  File "/opt/conda/lib/python3.10/site-packages/lorax_server/server.py", line 299, in serve
    asyncio.run(
  File "/opt/conda/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
    self.run_forever()
  File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
    self._run_once()
  File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once
    handle._run()
  File "/opt/conda/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/opt/conda/lib/python3.10/site-packages/grpc_interceptor/server.py", line 165, in invoke_intercept_method
    return await self.intercept(
  File "/opt/conda/lib/python3.10/site-packages/lorax_server/interceptor.py", line 38, in intercept
    return await response
  File "/opt/conda/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_aio_server.py", line 73, in _unary_interceptor
    return await behavior(request_or_iterator, context)
> File "/opt/conda/lib/python3.10/site-packages/lorax_server/server.py", line 191, in LoadAdapter
    self.model.load_adapter(adapter_parameters, adapter_source, adapter_index, api_token)
  File "/opt/conda/lib/python3.10/site-packages/lorax_server/models/model.py", line 170, in load_adapter
    module_map, adapter_config, adapter_weight_names, adapter_tokenizer = load_and_merge_adapters(
  File "/opt/conda/lib/python3.10/site-packages/lorax_server/utils/adapter.py", line 55, in load_and_merge_adapters
    return load_module_map(
  File "/opt/conda/lib/python3.10/site-packages/lorax_server/utils/adapter.py", line 111, in load_module_map
    model_config = AutoConfig.from_pretrained(adapter_config.base_model_name_or_path)
  File "/opt/conda/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1111, in from_pretrained
    config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/transformers/configuration_utils.py", line 633, in get_config_dict
    config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/transformers/configuration_utils.py", line 688, in _get_config_dict
    resolved_config_file = cached_file(
  File "/opt/conda/lib/python3.10/site-packages/transformers/utils/hub.py", line 441, in cached_file
    raise EnvironmentError(
OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like None is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

...

2024-03-08T17:03:48.214903Z ERROR lorax_client: router/client/src/lib.rs:34: Server error: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like None is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.
2024-03-08T17:03:48.214928Z  INFO lorax_router::loader: router/src/loader.rs:206: FAILED loading adapter local:/path/to/local/adapter/dir
2024-03-08T17:03:48.214957Z  INFO lorax_router::queue: router/src/queue.rs:135: set adapter local:/path/to/local/adapter/dir status to Errored
2024-03-08T17:03:48.215044Z  INFO lorax_router::loader: router/src/loader.rs:276: terminating adapter local:/path/to/local/adapter/dir loader

Expected behavior
Request is handled successfully.

A simple fix could be validating the base_model_name_or_path before compare with adapter_id (https://github.com/predibase/lorax/blob/v0.8.1/server/lorax_server/utils/adapter.py#L108), if this sounds reasonable, I will prepare a PR for review @tgaddair

Thanks for reporting this @thincal! Your proposed fix sounds reasonable to me. Thanks for offering to put together a PR!

It seems fixed by https://github.com/predibase/lorax/commit/e637d890cf1bb0d9a9c133e3c0b0464dedfd7c56


Is this still an active repo?

Hi @minrk, @takluyver, @rgbkrk - we're doing some spring cleaning across the Jupyter & IPython Orgs and moving some of the older and/or deprecated content over to a newly minted ["Jupyter Attic"]  (https://github.com/jupyter-attic). You may see several related issues from me over the next week or so.
Is ipython/ipython-ansible-jenkins still an active repo? Is it needed, is it being used, can it be deprecated?
If it can be deprecated, I will make a note in the README.md file and pre-pend "DEPRECATED" to the title. I can then either move the repo directly to the Jupyter Attic or schedule a date a few months out for moving the repo to the Attic. This date will be included in the deprecation message in the README.md file.
Thanks!

I believe that's what's power https://jenkins.jupyter.org/ (yes it's a thing) .

Yup, it's still in use.

@fperez @ellisonbg : FYI

great, no problem. Then this goes into the 'services' category. Thanks!


Update s3, sdk-core, sqs to 2.16.64

Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sdk-core
software.amazon.awssdk:sqs

from 2.16.26 to 2.16.64.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, semver-patch

Superseded by #186.


Background index cannot be enabled when using "compile_flags.txt"

Background index cannot be enabled when using "compile_flags.txt"

Yes, background index currently requires underlying compilation database to list all the files in the project.
Unfortunately only JSONCompilationDatabase implements that functionality as of today, but I think it makes sense to perform discovery in the case of FixedCompilationDatabase, since we have the compile commands for any files we've found.
Only question is how to decide on what looks like a source code, because clang might crash if we run it on arbitrary files, and that is catastrophic for background indexer.

Only question is how to decide on what looks like a source code, because clang might crash if we run it on arbitrary files, and that is catastrophic for background indexer.

The "vscode-cpptools" and "ccls" seems to distinguish whether it is a source file based on the suffix name.

Yeah. I think we've been averse to that option because it wouldn't work well for the clang/clangd/llvm code base.
Also there's some conflicting design goals here:

clangd doesn't have an explicit workspace, the workspace is inferred from the containing CDB
you can drop e.g. -Wall in ~/compile_flags.txt and it'll be the default of any files in your home directory
but indexing all code recursively inside your home directory is probably a bad idea

We'd likely need some fancy heuristics...

Closing this as we are unlikely to prioritize it as there's no simple solution that'll make it work in general without providing suboptimal UX (due to reasons mentioned above) and it's a rare use case.
For future travelers, feel free to re-open if you got some ideas/heuristics around how this might be tackled in a way that won't introduce too much complexity into the common parts of the codebase and would provide a sensible UI. I'll also put this under a known limitations sections to make it more visible.


swift-doc: load FoundationNetworking whenever possible

Change the condition from being a platform specific check to whether the module is available.  This module is meant to be used on all non-Darwin platforms.  This repairs fetching the CSS content when using swift-doc on a Windows host.

I assume you have permissions to merge since you're a member of the org?

@compnerd Feel free to squash and merge this at your convenience. Or let me know if anything is preventing you from doing that.


Fix #765, add xsaccess editor

Signed-off-by: dimitarquanterall<EMAIL_ADDRESS>Closes sap/fundamental#
Fix #765

@dimitarquanterall could you please rebate the PR, as it seems the Sonar action failed to execute and the PR can’t be merged as, the Sonar action is required.

The reason is lack of privileges:
Error:  Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:<IP_ADDRESS>4:sonar (default-cli) on project xsk-parent: You're not authorized to run analysis. No sonar.login or SONAR_TOKEN env variable was set -> [Help 1]

Should this PR be merged or it should be https://github.com/SAP/xsk/pull/1543 ? Please, do not leave multiple open PRs for the same feature/fix

Duplicate PR


Make the function from_proto_binary_op public

Which issue does this PR close?
Closes #3489
Are there any user-facing changes?
No

Codecov Report

Merging #3490 (7bf8aa5) into master (5f029cc) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #3490   +/-   ##
=======================================
  Coverage   85.75%   85.75%
=======================================
  Files         299      299
  Lines       55282    55282
=======================================
  Hits        47408    47408
  Misses       7874     7874

Impacted Files
Coverage Δ

datafusion/proto/src/from_proto.rs
39.86% <100.00%> (ø)

datafusion/expr/src/window_frame.rs
92.43% <0.00%> (-0.85%)
:arrow_down:

datafusion/expr/src/logical_plan/plan.rs
77.68% <0.00%> (ø)

datafusion/core/src/physical_plan/metrics/value.rs
87.43% <0.00%> (+0.50%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Updated action name

Screenshot also needs to be updated

@K232 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @ggailey777 - Could you review the proposed changes? If they are approved, the PR review team could move the commit to the private repo and create an image file out of the screenshot in the PR comment.

@k232 I cherry-picked your commit and added an updated screenshot in a PR to our private repo: https://github.com/MicrosoftDocs/azure-docs-pr/pull/107668
You will get credit for your helpful PR when your commit gets merged to master in the other repo. Thanks for the help! #please-close


Unable to login to amazon account

Describe the bug
I made the mistake of running out of hd space on my server drive. Since then I have had several issues. I was able to resolve most fairly easily. But now I am having issues getting this component to work.
When first got home assistant out of safe mode, there was a notification that said "click here to log in" it would not do anything, and my alexa stuff would not be accessible. First I tried to reinstall the component (2.7.5). same issue, so I removed the pickle files and uninstalled the component. then rebooted, reinstalled.
now when i try to add the integration and click the "sign in" button I have the same problem still. I disabled 2fa on my amazon account to be sure, no luck. I tried to down grade to 2.7.1. still no luck.
logs are minimal
System details

Home-assistant (version): 0.109.6
Hassio (Yes/No): yes

Logs
Logger: alexapy.helpers
Source: custom_components/alexa_media/config_flow.py:218
First occurred: 2:03:26 PM (1 occurrences)
Last logged: 2:03:26 PM
alexalogin.login:An error occured accessing AlexaAPI: An exception of type AssertionError occurred. Arguments: ()

Can you please enable advanced debugging and add logging per the template? If you post here, please scrub for your email/password. The instructions explain other things to look out for. Alternatively you can dm me on the forums or discord.

I have the exact same error. Unable to integrate Alexa with HA 0.110 (even 0.109 or less did not work).  Let me see if I can get you all the details that would help

Following the steps here fixed this issue for me - https://github.com/custom-components/alexa_media_player/issues/733

Please try the PR #744.


add carrom

#10
Submitting this PR means you have:

[ ] searched the readme file and searched the open pull requests (no duplicates please)
[ ] and will follow the desired format
[ ] used image links that resolve correctly, are appropriately sized, and are served over HTTPS

Once your PR is created, it will trigger a build on Travis CI. This includes a format linting process, so if there are any issues with the build, please address them.
Do you have further questions? Check the contribution guidelines or open an issue.
When you're ready, check off the above acknowledgements and continue with your Pull Request... and thanks!

My bad! Fixed the size.

No worries. It looks good now. Thanks for contributing.


test: parameter client unit test

What?
Unit tests for Jax parameter client component.
Why?
Ongoing work to increase testing code coverage for Jax Mava redesign.
Extra
closes #527

I think you could clean this up a lot if you just had one big method that tests some kind of parameter client ie def check_parameter_client(parameter_client):. Where you put all the asserts that you are repeating in three of the test cases. And then you can pass into this function either mock_builder.store.executor_parameter_client or mock_builder.store.trainer_parameter_client and it should do all the asserts.
But otherwise than this it looks good! rocket

Thanks for the feedback! You are right there are quite a few repeated asserts throughout the tests, but I think it still makes more sense to keep all the cases separate. There are 3 cases for the ExecutorParameterClient (executor with parameter client passed in, evaluator with a parameter client passed in and a case where no parameter client is passed in through the builder store) and there are 2 for the TrainerParameterClient (with and without a parameter client passed in through the builder store).
It seems to me that having a big method would require multiple fixtures or multiple set ups inside the method which would add a bunch of code. If there is a cleaner way please let me know? Happy to change things :)

I think you could clean this up a lot if you just had one big method that tests some kind of parameter client ie def check_parameter_client(parameter_client):. Where you put all the asserts that you are repeating in three of the test cases. And then you can pass into this function either mock_builder.store.executor_parameter_client or mock_builder.store.trainer_parameter_client and it should do all the asserts.
But otherwise than this it looks good! rocket

Thanks for the feedback! You are right there are quite a few repeated asserts throughout the tests, but I think it still makes more sense to keep all the cases separate. There are 3 cases for the ExecutorParameterClient (executor with parameter client passed in, evaluator with a parameter client passed in and a case where no parameter client is passed in through the builder store) and there are 2 for the TrainerParameterClient (with and without a parameter client passed in through the builder store).
It seems to me that having a big method would require multiple fixtures or multiple set ups inside the method which would add a bunch of code. If there is a cleaner way please let me know? Happy to change

I think the change you made with extracting the expected variables has cleaned this up a whole lot. I'm happy to keep it the way it is :rocket:


Is it possible to manually condition  pitch and duration like FastPitch ?

Hello,
Thank you for sharing this great work!
I had a look at the model. There seems to be a duration predictor but I do not see a way to provide input pitch conditioning.
Is this possible? If not do you think it would be trivial to add support for pitch conditioning?

Hello,
Thank you for sharing this great work!
I had a look at the model. There seems to be a duration predictor but I do not see a way to provide input pitch conditioning.
Is this possible? If not do you think it would be trivial to add support for pitch conditioning?

The vits posterior take the role to encode audios into lattent representaion, the "z",  all audio features- include the pitch, are contained in those "z" tensors. so it is no need to make the pitch be a teacher to help training the waveform generation.


implement verify(...)

[ ] Implement verify(...)

Solved in https://github.com/sea212/winternitz-one-time-signature/pull/17


poor image quality

Camera view quality is very bad & blurry therefore barcode detection not working properly. How to increase image qualty or resolution?

bad image quality in barcode scan camera viewfinder at both IOS and android

I use this library to scan qr codes too, and I have the same issue I suppose.
Using the code from the documentation when a tab shows the preview of the qr code it gets really strange effect on the camera, like the camera starts with a very low and blurry resolution.
`if (cameraView.Cameras.Count > 0)
{
cameraView.Camera = cameraView.Cameras.First();
MainThread.BeginInvokeOnMainThread(async () =>
{
try
{
if (cameraView != null && await cameraView.StartCameraAsync() == CameraResult.Success)
{
await Task.Delay(500);
cameraView.BarCodeOptions = new Camera.MAUI.ZXingHelper.BarcodeDecodeOptions
{
AutoRotate = true,
PossibleFormats = { ZXing.BarcodeFormat.QR_CODE },
ReadMultipleCodes = false,
TryHarder = true,
TryInverted = true
};
                    cameraView.BarCodeDetectionFrameRate = 10;
                    cameraView.BarCodeDetectionMaxThreads = 2;
                    cameraView.ControlBarcodeResultDuplicate = true;
                    cameraView.BarCodeDetectionEnabled = true;
                }
            }
            catch (Exception ex)
            {
                Debug.WriteLine(ex.Message);

            }
        });
    }`

When I however 'restart' the view, resolution it's right.
`    protected override void OnAppearing()
{
base.OnAppearing();
    MainThread.BeginInvokeOnMainThread(async () =>
    {
        try
        {
            await cameraView.StartCameraAsync();
        }
        catch (Exception ex)
        {
            Debug.WriteLine(ex.Message);
        }

    });
}`

Now I tried to select a resolution with Size(x, y) and if I remember well, the issue persist.
The difference is that if a Resolution is selected it is better performant (if you have a 4k camera on the phone and you don't select a resolution, it becomes hot from processing the images because it analyzes images in the highest resolution.).

I have tried calling the ForceAutoFocus method but I'm getting the same poor quality in my camera, do you have any other idea to solve this?

I added too the ForceAutoFocus method call, but actually the problem persists.
It seems that at a first start, the camera takes a low resolution, if I restart the camera (in my app on appearing, the camera is restarted) it works fine.

Hi,
It same to be a problem in some android devices and I can't do anything to solve it. On Android I set the AutoFocus on when you start the camera (and when you restart it is the same method...)

I'll try the same approach tomorrow, thank for the suggestion @Vetleskrett 👍

It's strange that this happens. In my case, I'm currently working around the issue like this:
await cameraView.StopCameraAsync();
await cameraView.StartCameraAsync();
await Task.Delay(TimeSpan.FromSeconds(3));
if (!cameraView.IsFocused)
{
    await cameraView.StopCameraAsync();
    await cameraView.StartCameraAsync(cameraView.Camera.AvailableResolutions.OrderByDescending(size => size.Width * size.Height).FirstOrDefault());
    cameraView.ForceAutoFocus();
}

This workaround seems to resolve the problem, but it would be great to find a more permanent solution.

Same quality issue if starting the camera too early, I am working around this by adding Task.Delay(1); before I start the camera.
Without workaround:

With workaround:

Here is my code:
public partial class CameraPage : ContentPage, IAsyncDisposable
{
    public CameraPage()
    {
        InitializeComponent();

        CameraView.CamerasLoaded += CameraView_CamerasLoaded;
        CameraView.BarcodeDetected += CameraViewOnBarcodeDetected;
        CameraView.Loaded += CameraViewOnLoaded;
    }

    private async void CameraViewOnLoaded(object? sender, EventArgs e)
    {
        CameraView.Loaded -= CameraViewOnLoaded;
        await Task.Delay(1);  // Workaround
        await CameraView.StartCameraAsync();
    }

    // Omitted
}

@Vetleskrett's workaround worked for me. I don't think it's a good idea to rely on Task.Delay because you can't be sure how different devices are going to handle time related code.

i am still having the same issue on android
the available resolutions are showing 0
image is too low resolution !!

Has there been any updates on this issue?


Implement chain switcher

Pending

Polling time

Features

Add chainLinks config
Implement chain switcher
Implement chain status
Integrate chain health query

Pending

Loading state design
Error state design

Screenshots

Desktop
Mobile

based #54  #59
refs #47

let me push a stashed commit and test/tidy up tmr, don't wanna start up docker at 3am

@chihimng updated :adore2x:


improve parquet scrooge integration

upgrade to scrooge 3.17.0, remove reflection based field info inspection, support enum and requirement type correctly
This PR is essential for scrooge write support
PR: https://github.com/apache/incubator-parquet-mr/pull/88
Reporter: Tim / @tsdeng
Assignee: Tim / @tsdeng
Note: This issue was originally created as PARQUET-141. Please see the migration documentation for further details.

Tim / @tsdeng:
Issue resolved by pull request 88
https://github.com/apache/incubator-parquet-mr/pull/88


Last Week in Pony - August 22, 2021

Andrew Turley's Pony LLDB extensions have been donated to the Ponylang organization and how live at ponylang/pony-lldb-extensions.

Version 0.43.2 of ponylang/ponyc has been released.
See the release notes for more details.


question on block aligner score and lowest identity allowed to be accurate

Hello Daniel,
I have a question about the global alignment score of block aligner, is it metric (https://en.wikipedia.org/wiki/Metric_space)? Especially whether score (a, b) = score (b, a) for global alignment.
Also, what is the lowest identity block aligner can handle, I saw the protein example you have down to ~50% identity, how about even lower and for DNA since it is not full dynamic programming. Wavefront is fast only when 2 sequences are highly identical like, 95% identity or above. I am wondering whether this is also the case for block aligner.
Another question is for semi-global alignment, both vsearch and usearch use a much smaller penalty for gaps at both ends of the 2 sequences compare to gaps in the sequences to approximate "semi-global" because in practice semi-global does not penalize gaps at both ends.
Thanks,
Jianshu

Block aligner isn't guaranteed to be a metric. I think the only issue is that choosing whether to shift right or down is arbitrary when there is a tie in the scores. It should be good enough that most algorithms will work though.
If you want to use block aligner for very low sequence identity alignments, you should use a large initial block size. The larger the block size, the more like full DP alignment, the more likely it is able to be a metric and not produce wrong results. It will be slower, but still pretty fast due to SIMD acceleration.
Block aligner supports position specific gap costs, but only for one of the two sequences you are trying to align (sequence to PSSM mode).

Thank you! This is clear. Therefore, block aligner cannot be used for hnsw unless we use very large block size, which is no different to SIMD full dynamic programming.
Thanks again,
Jianshu

If you have the chance to, I highly suggest you to try it! I've observed speedups even with a large block size compared to full DP (Farrar's algorithm). What's the length of your sequences and the distribution of error rates for your data?

Hello Daniel,
I will definitely try it. I am having difficulties finding a mathematical prove that (semi)global alignment (semi, begging and end of sequence gap not penalized) is metric (edit distance is metric for sure) with affine gap penalty function. Did you realize anything that is related to this?
Thanks,
Jianshu

Counterexample for semi-global alignment (assume unit costs):
a = CAATT
b = AATT
c = GAATT

Then, d(a, b) = 0, d(b, c) = 0, but d(a, c) = 1, so d(a, b) + d(b, c) < d(a, c). Therefore, semi-global alignment is not a metric.
Can you use DP alignment after finding candidate matches with the HNSW graph to get base-level alignments (you would still use kmer methods for building/querying the HNSW graph)? Then you don't have to worry about the metric requirement for DP. You can always filter candidates returned by HNSW graph search by using the DP alignment score.

It is a good idea！but the problem is kmer based diatance for short sequences like 200bp or so will not be accurate for identity smaller than 70%. So 2 different sequences with 50% identity for example is no different in hnsw. Thus the navigation will be significantly less efficient and so is recall.
Unless it is huge sequences like we did for genomes，which will always share some kmers so distance can be used though not accurate enough because graph works in this case. The we can use base alignment based tool for accurate estimation.
Key is that sequences in the database must share something to be able to build an efficient graph.
Does this make sense to you？
Jianshu


failed to verify certificate: x509

i have this error:
2024/11/19 15:46:01 Get "https://xxx.xx.xxx.xx/status": tls: failed to verify certificate: x509: “Internet Widgits Pty Ltd” certificate is not standards compliant exit status 1
maybe need insecure call api.
thank you

Hi, how i can get these values? I have the free version.

PRITUNL_API_TOKEN
PRITUNL_API_SECRET


fix(web) - two bugs fixed

DiagramEmptyState under multiplayer cursors
Delete icon for components/frames now in top right corner instead of big overlay

bors merge