typecheck not working with pnpm

In a pnpm installation, nuxt typecheck fails with:
> nuxt typecheck

error TS2688: Cannot find type definition file for 'swiper/vue'.
  The file is in the program because:
    Entry point of type library 'swiper/vue' specified in compilerOptions

Found 1 error.

This is because nuxt-swiper pushes swiper/vue to types:
https://github.com/cpreston321/nuxt-swiper/blob/ab323dceea750146d9619f356f12d6f53b92ad4f/src/module.ts#L30-L32
but the Nuxt project itself doesn't have swiper as a dependency, so type checking fails.
Instead, nuxt-swiper should re-export swiper/vue (being swiper-nuxt dependency) as something like swiper-nuxt/types, and use it for the injected reference.
The current workaround is to manually install pnpm add<EMAIL_ADDRESS>but this needs to be manually synced with swiper (the latest version of swiper which installs by default is already one major version ahead), and is thus error-prone.

Just faced this issue, after switching to pnpm (used npm)

Same issue here, problem started with a new pnpm version probably as we did not have it before.

yeah, looks like it won't be fixed, so i chose npm over pnpm (slower, but more maintanable)

Same issue with Nuxt3 and pnpm, any workarounds that can hide the type error?


[Dynamic Regions]: tikv panic during the restart

Bug Report

What version of TiKV are you using?

master with pr: https://github.com/tikv/tikv/pull/14735
What operating system and CPU are you using?

Steps to reproduce

run sysbench prepare and restart tikv every 10 minutes
What did you expect?
restart succeed
What did happened?
one tikv keep panic
189789 [2023/05/12 10:00:49.429 +08:00] [FATAL] [lib.rs:497] ["called Option::unwrap() on a None value"] [backtrace="   0: tikv_util::set_panic_hook::{{closure}}\n   1: <alloc::boxed::Box<F,A> as core::ops::function::Fn>::call\       n             at /rustc/96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef/library/alloc/src/boxed.rs:2032:9\n      std::panicking::rust_panic_with_hook\n             at /rustc/96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef/library/std/src/panick       ing.rs:692:13\n   2: std::panicking::begin_panic_handler::{{closure}}\n             at /rustc/96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef/library/std/src/panicking.rs:577:13\n   3: std::sys_common::backtrace::__rust_end_short_backtra       ce\n             at /rustc/96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef/library/std/src/sys_common/backtrace.rs:137:18\n   4: rust_begin_unwind\n             at /rustc/96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef/library/std/src/panicking       .rs:575:5\n   5: core::panicking::panic_fmt\n             at /rustc/96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef/library/core/src/panicking.rs:65:14\n   6: core::panicking::panic\n             at /rustc/96ddd32c4bfb1d78f0cd03eb068b171       0a8cebeef/library/core/src/panicking.rs:114:5\n   7: raftstore_v2::operation::ready::apply_trace::ApplyTrace::recover\n   8: raftstore_v2::operation::ready::apply_trace::<impl raftstore_v2::raft::storage::Storage<EK,ER>>::new\n          9: <raft_log_engine::engine::RaftLogEngine as engine_traits::raft_engine::RaftEngine>::for_each_raft_group\n  10: raftstore_v2::batch::store::StorePollerBuilder<EK,ER,T>::init\n  11: raftstore_v2::batch::store::StoreSystem<EK,ER>:       :start\n  12: tikv::server::raftkv2::node::NodeV2<C,EK,ER>::start_store\n  13: tikv::server::raftkv2::node::NodeV2<C,EK,ER>::start\n  14: server::server2::TikvServer::init_servers\n  15: server::server2::run_tikv\n  16: tikv_s       erver::main\n  17: std::sys_common::backtrace::__rust_begin_short_backtrace\n  18: std::rt::lang_start::{{closure}}\n  19: core::ops::function::impls::<impl core::ops::function::FnOnce for &F>::call_once\n             at /rustc       /96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef/library/core/src/ops/function.rs:612:13\n      std::panicking::try::do_call\n             at /rustc/96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef/library/std/src/panicking.rs:483:40\n      std:       :panicking::try\n             at /rustc/96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef/library/std/src/panicking.rs:447:19\n      std::panic::catch_unwind\n             at /rustc/96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef/library/std/src/       panic.rs:137:14\n      std::rt::lang_start_internal::{{closure}}\n             at /rustc/96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef/library/std/src/rt.rs:148:48\n      std::panicking::try::do_call\n             at /rustc/96ddd32c4bf       b1d78f0cd03eb068b1710a8cebeef/library/std/src/panicking.rs:483:40\n      std::panicking::try\n             at /rustc/96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef/library/std/src/panicking.rs:447:19\n      std::panic::catch_unwind\n                    at /rustc/96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef/library/std/src/panic.rs:137:14\n      std::rt::lang_start_internal\n             at /rustc/96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef/library/std/src/rt.rs:148:20\n  20:        main\n  21: __libc_start_main\n  22: \n"] [location=/data4/qixu/l/tikv/components/raftstore-v2/src/operation/ready/apply_trace.rs:192] [thread_name=main]
By adding logs, we find out the region id is 731 and the cf is default and the previous log is:
[2023/05/12 10:00:05.207 +08:00] [INFO] [raft.rs:1376] ["received a message with higher term from 850"] ["msg type"=MsgRequestVote] [message_term=13] [term=12] [from=850] [raft_id=732] [peer_id=732] [region_id=731]
[2023/05/12 10:00:05.207 +08:00] [INFO] [raft.rs:1132] ["became follower at term 13"] [term=13] [raft_id=732] [peer_id=732] [region_id=731]
[2023/05/12 10:00:05.207 +08:00] [INFO] [raft.rs:1577] ["[logterm: 12, index: 527430, vote: 0] cast vote for 850 [logterm: 12, index: 527430] at term 13"] ["msg type"=MsgRequestVote] [term=13] [msg_index=527430] [msg_term=12] [fro       m=850] [vote=0] [log_index=527430] [log_term=12] [raft_id=732] [peer_id=732] [region_id=731]
[2023/05/12 10:00:07.333 +08:00] [INFO] [raft.rs:1445] ["ignored a message with lower term from 734"] ["msg term"=12] ["msg type"=MsgHeartbeatResponse] [term=13] [from=734] [raft_id=732] [peer_id=732] [region_id=731]
[2023/05/12 10:00:08.270 +08:00] [INFO] [compact_log.rs:538] ["compact log"] [truncated="applied_index: 527851 truncated_state { index: 527741 term: 13 }"] [apply_trace="ApplyTrace { data_cfs: [Progress { flushed: 5, last_modified       : 5, last_trigger_flush: 5 }, Progress { flushed: 527321, last_modified: 527851, last_trigger_flush: 459579 }, Progress { flushed: 527433, last_modified: 527818, last_trigger_flush: 436017 }], admin: Progress { flushed: 527321, la       st_modified: 459579, last_trigger_flush: 0 }, persisted_applied: 527321, try_persist: false }"] [index=527321] [peer_id=732] [region_id=731]
[2023/05/12 10:00:12.881 +08:00] [INFO] [apply_trace.rs:548] ["persisting admin flushed"] [flushed=527433] [tablet_index=459579] [peer_id=732] [region_id=731]
[2023/05/12 10:00:12.881 +08:00] [INFO] [compact_log.rs:538] ["compact log"] [truncated="applied_index: 528530 truncated_state { index: 527741 term: 13 }"] [apply_trace="ApplyTrace { data_cfs: [Progress { flushed: 5, last_modified       : 5, last_trigger_flush: 5 }, Progress { flushed: 528517, last_modified: 528530, last_trigger_flush: 459579 }, Progress { flushed: 527433, last_modified: 528504, last_trigger_flush: 436017 }], admin: Progress { flushed: 527433, la       st_modified: 459579, last_trigger_flush: 0 }, persisted_applied: 527433, try_persist: false }"] [index=527433] [peer_id=732] [region_id=731]
731.log

observed with master + pr https://github.com/tikv/tikv/pull/14708
[2023/05/18 19:40:06.339 +08:00] [FATAL] [lib.rs:497] ["called `Option::unwrap()` on a `None` value"] [backtrace="   0: tikv_util::set_panic_hook::{{closure}}\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/tikv_util/src/lib.rs:496:18\n   1: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2032:9\n      std::panicking::rust_panic_with_hook\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:692:13\n   2: std::panicking::begin_panic_handler::{{closure}}\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:577:13\n   3: std::sys_common::backtrace::__rust_end_short_backtrace\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:137:18\n   4: rust_begin_unwind\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:575:5\n   5: core::panicking::panic_fmt\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:65:14\n   6: core::panicking::panic\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:114:5\n   7: raftstore_v2::operation::ready::apply_trace::ApplyTrace::recover\n      raftstore_v2::operation::ready::apply_trace::<impl raftstore_v2::raft::storage::Storage<EK,ER>>::new\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/raftstore-v2/src/operation/ready/apply_trace.rs:392:37\n      raftstore_v2::batch::store::StorePollerBuilder<EK,ER,T>::init::{{closure}}\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/raftstore-v2/src/batch/store.rs:355:37\n      <raft_log_engine::engine::RaftLogEngine as engine_traits::raft_engine::RaftEngine>::for_each_raft_group\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/raft_log_engine/src/engine.rs:795:17\n      raftstore_v2::batch::store::StorePollerBuilder<EK,ER,T>::init\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/raftstore-v2/src/batch/store.rs:352:9\n      raftstore_v2::batch::store::StoreSystem<EK,ER>::start\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/raftstore-v2/src/batch/store.rs:702:21\n   8: tikv::server::raftkv2::node::NodeV2<C,EK,ER>::start_store\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/src/server/raftkv2/node.rs:226:9\n      tikv::server::raftkv2::node::NodeV2<C,EK,ER>::start\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/src/server/raftkv2/node.rs:133:9\n   9: server::server2::TikvServer<ER>::init_servers\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/server/src/server2.rs:793:9\n  10: server::server2::run_impl\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/server/src/server2.rs:130:25\n      server::server2::run_tikv\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/server/src/server2.rs:168:5\n  11: tikv_server::main\n             at home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/cmd/tikv-server/src/main.rs:222:32\n  12: core::ops::function::FnOnce::call_once\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:513:5\n      std::sys_common::backtrace::__rust_begin_short_backtrace\n             at rust/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs:121:18\n  13: main\n  14: __libc_start_call_main\n  15: __libc_start_main_alias_2\n  16: <unknown>\n"] [location=/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tikv/components/raftstore-v2/src/operation/ready/apply_trace.rs:183] [thread_name=main]

We have reproduced the issue. From files in raft engine, the missing flushed index is actually existed. But during raft engine recovery, the flushed index is skipped because there is an atomic group in the same file.
The flushed index kv is added to PendingAtomicGroup  in https://github.com/tikv/raft-engine/blob/7016173984665d1847789a713f0d00e6750627f5/src/memtable.rs#L1324-L1333
But it seems the PendingAtomicGroup  is never used.


Collection log does not pop up

When playing the game and I receive a new collection log, it does not pop up on my window. Combat tasks do but not collection logs. This has gone on for a long time now. Really since I created the account. I uninstalled it, I reinstalled, I followed everything step by step. But still nothing

This isn't specific to this plugin. What you're looking for is a native option inside the OSRS settings called New addition popup

@hodzic11


fix: split out git config command

:tada: This PR is included in version 1.2.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Ping, Pong messages not implemented

Description
The ping and pong message from the raiden python client are not  implemented. If they are not used anymore, maybe consider removing them from the python code base too.
Copied from the team repo
Acceptance criteria

Tasks

[ ]

Ping/Pong are from the raw UDC transport times. Not used anymore. Not sure why python-core keeps them, but it doesn't affect us.


@conda-forge-admin please rerender

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/chemex-feedstock#22.


Sema: Introduce getUnmetAvailabilityRequirement()

Replace the family of checkDeclarationAvailability() functions with getUnmetAvailabilityRequirement(). This will ensure that callers correctly handle all of the possible reasons for unavailability, instead of checking for them piecemeal.
NFC.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


Stub Services.rummager instead of GdsApi::Rummager.new

Stubbing GdsApi::Rummager.new has no effect if Services.rummager has
already been called because Services.rummager memoizes the result of
GdsApi::Rummager.new.
This fixes some intermittent test failures I saw after adding a new test
that uses the GdsApi::TestHelpers::Rummager methods to stub calls to
Rummager.
The tests that failed were the RSpec features:
republishing_manuals_spec.rb and publishing_manuals_spec.rb.
I could replicate the problem by adding a spec named aaaa_spec.rb
containing a single test that calls Services.rummager.  Running
bundle exec rspec --order=defined with this spec in place means that
Services.rummager calls and memoises the result of
GdsApi::Rummager.new before it's then stubbed by calls to
stub_rummager from the before(:each) in the RSpec config in
spec_helper.rb.

Thanks @chrislo. I've rebased and force pushed in preparation for merging.


nodejs-4_x: 4.4.4 -> 4.4.6

Things done

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

[x] NixOS
[ ] OS X
[ ] Linux

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

LGTM, and I successfully compiled a fairly complex project with it.


fix(jsii-pacmak): change filename for .jsii.tgz file

This update changes the filename of the generated .jsii.tgz file to use a - rather than a @ symbol between the package-name> and package-version.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

When I look at the failing tests, it looks like the test-cases (based on generated output snapshots) are expecting the generated .jsii.tgz file to have the @ sign in the name rather than the filename.
Do I need to re-generate the snapshots as a part of this PR?

After testing package install using npm as the package manager, I have found that the existing file-name format works for that package manager.
Because of this I am closing this PR.


Clean up Table Understanding notebook

This PR takes the first part of the notebook that was at notebooks/Tables_data.ipynb and adds explanatory text, plus some additional data cleaning code. The results of this change are now in a new notebook called notebooks/Understand_Tables.ipynb.
I've kept the original notebook around, but moved it to notebooks/old for now, because there is some additional content at the end of the original file that isn't yet in a new notebook. We should migrate that code, which runs through all the tables in 2 years of IBM financial reports, into a new notebook that shows all the types of financial table that our table processing can convert to Pandas.

No idea what's up with Travis. The builds marked "queued" have logs of successful runs attached to them ¯_(ツ)_/¯

Looks great, this should be a really useful addition!

Made a couple very minor nit comments. Looks great! Good intro / setting out the problem, and good flow through the details.


Add some explicit includes to support building with GCC 11

As discussed in #285, here's the pull request.
It only adds two explicit includes that are no longer implicitly available with GCC 11.

macOS Catalina 10.15 already uses Protobuf 3.17 and would need this adaption here to build: https://github.com/Blutkoete/ecal/tree/support_protobuf_3_16


EuroPi WebREPL for Pico W - OTA script

It's not fully integrated into MicroPython yet for the Pico W, but it is possible to use WebREPL with the Pico W to upload/download/run code over WiFi. I've found it super useful (and fun!) to be able to live code on the EuroPi without wires, so thought I'd make a pull request to see if it would be useful for others. I expect it'll make script development a bit more convenient for some!

I haven't got a Pico W to try this with yet but this is awesome. People were wondering about wireless file management on the EuroPi from the second the W was announced so I know this PR will get a lot of love!

It should be in a recent version of micropython, you may need to update.
They might have changed the name to remove the underscore on later
versions, I’d need to check
On Wed, 9 Nov 2022 at 16:31, Matthew Jaskula @.***>
wrote:

@.**** commented on this pull request.
In software/contrib/ota.py
https://github.com/Allen-Synthesis/EuroPi/pull/189#discussion_r1018164709
:

@@ -0,0 +1,62 @@
+from time import sleep
+from europi import oled, b1, din
+from europi_script import EuroPiScript
+import _webrepl

[question] what provides this module?
—
Reply to this email directly, view it on GitHub
https://github.com/Allen-Synthesis/EuroPi/pull/189#pullrequestreview-1174383027,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJORZQ7P3XOOFAU4QZGDUXLWHPGWPANCNFSM6AAAAAARSNV73I
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
@303sec https://twitter.com/303sec

@303sec, I finally got my hands on a pico w, so I will be able to test this now. We also had some suggestions for handling the branching functionality of the firmware when either module is present which may help with the question @mjaskula has about the availability of _webrepl.
For reference, here was one of the suggestions:

I'm thinking it would be important to segment any pico w script away from the standard pico scripts. Perhaps those scripts can be prefixed with w-

It's been a while since this PR has gotten any attention.
Micropython 1.20 has been released with stronger pico W support. This should open the door for Pico W PRs like this to be able to be merged. Also the pico_model config point in the europi firmware can be used to identify wireless support (see PR #220).
To move forward with this PR I think that the following needs to happen:

The EuroPi firmware needs to move to 1.20
The conflicts in this PR need to be resolved. I think it's just the updates to the menu
The code and docs in this PR need to be tested and possibly updated for 1.20
Support for the pico_model config point would be nice.

@303sec I know it's been awhile, are you still interested in shepherding this PR forward?

Hiya @303sec, we're working through the open PRs so I just wanted to see if you'd managed to work out any of this any further since it was last reviewed? It's definitely still something people are interested in, but if it's unlikely to move forward in this specific PR then it might be better to close it off and re-open in future when the code is up to date with the master branch again

Closed due to inactivity


Illegal audio focus gain type 0 in FlameAudio.bgm.play

Current bug behaviour
When trying to play an audio with FlameAudio.bgm.play (flame_audio: ^1.3.0) it shows me the following error:
[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(Unexpected error!, Illegal audio focus gain type 0, java.lang.IllegalArgumentException: Illegal audio focus gain type 0
Example:
FlameAudio.bgm.play('sound.wav', volume: 1.0);

Expected behaviour
Until previous versions, it worked fine for me. At last, I realized that on iOS devices it did not play in a loop, but now on Android it shows me the error mentioned above
Flutter doctor output
Flutter Doctor:
[✓] Flutter (Channel stable, 3.0.1, on Ubuntu 20.04.4 LTS 5.15.0-41-generic, locale es_ES.UTF-8)
    • Flutter version 3.0.1 at /home/cubel/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (hace 10 semanas), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /home/cubel/Android/Sdk
    • Platform android-TiramisuPrivacySandbox, build-tools 33.0.0-rc4
    • Java binary at: /snap/android-studio/123/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 2021.2)
    • Android Studio at /snap/android-studio/123/android-studio
    • Flutter plugin version 68.1.2
    • Dart plugin version 212.5744
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code
    • VS Code at /snap/code/current
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 12 (API 32) (emulator)
    • Linux (desktop)              • linux         • linux-x64      • Ubuntu 20.04.4 LTS 5.15.0-41-generic
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
Process finished with exit code 0

More environment information
	flame: ^1.2.1
  	flame_svg: ^1.4.0
  	flame_tiled: ^1.6.0
  	flame_audio: ^1.3.0

Log information
V/MediaPlayer( 5400): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer( 5400): cleanDrmObj: mDrmObj=null mDrmSessionId=null
D/AudioPlayers( 5400): Unexpected error!
D/AudioPlayers( 5400): java.lang.IllegalArgumentException: Illegal audio focus gain type 0
D/AudioPlayers( 5400): 	at android.media.AudioFocusRequest$Builder.setFocusGain(AudioFocusRequest.java:405)
D/AudioPlayers( 5400): 	at android.media.AudioFocusRequest$Builder.<init>(AudioFocusRequest.java:373)
D/AudioPlayers( 5400): 	at xyz.luan.audioplayers.player.FocusManager.newRequestAudioFocus(FocusManager.kt:47)
D/AudioPlayers( 5400): 	at xyz.luan.audioplayers.player.FocusManager.maybeRequestAudioFocus(FocusManager.kt:25)
D/AudioPlayers( 5400): 	at xyz.luan.audioplayers.player.WrappedPlayer.play(WrappedPlayer.kt:157)
D/AudioPlayers( 5400): 	at xyz.luan.audioplayers.AudioplayersPlugin.handler(AudioplayersPlugin.kt:96)
D/AudioPlayers( 5400): 	at xyz.luan.audioplayers.AudioplayersPlugin.access$handler(AudioplayersPlugin.kt:23)
D/AudioPlayers( 5400): 	at xyz.luan.audioplayers.AudioplayersPlugin$onAttachedToEngine$1$1.invoke(AudioplayersPlugin.kt:39)
D/AudioPlayers( 5400): 	at xyz.luan.audioplayers.AudioplayersPlugin$onAttachedToEngine$1$1.invoke(AudioplayersPlugin.kt:39)
D/AudioPlayers( 5400): 	at xyz.luan.audioplayers.AudioplayersPlugin$safeCall$1.invokeSuspend(AudioplayersPlugin.kt:58)
D/AudioPlayers( 5400): 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
D/AudioPlayers( 5400): 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
D/AudioPlayers( 5400): 	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:39)
D/AudioPlayers( 5400): 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
D/AudioPlayers( 5400): 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
D/AudioPlayers( 5400): 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
D/AudioPlayers( 5400): 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
D/AudioPlayers( 5400): 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
E/flutter ( 5400): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(Unexpected error!, Illegal audio focus gain type 0, java.lang.IllegalArgumentException: Illegal audio focus gain type 0
E/flutter ( 5400): 	at android.media.AudioFocusRequest$Builder.setFocusGain(AudioFocusRequest.java:405)
E/flutter ( 5400): 	at android.media.AudioFocusRequest$Builder.<init>(AudioFocusRequest.java:373)
E/flutter ( 5400): 	at xyz.luan.audioplayers.player.FocusManager.newRequestAudioFocus(FocusManager.kt:47)
E/flutter ( 5400): 	at xyz.luan.audioplayers.player.FocusManager.maybeRequestAudioFocus(FocusManager.kt:25)
E/flutter ( 5400): 	at xyz.luan.audioplayers.player.WrappedPlayer.play(WrappedPlayer.kt:157)
E/flutter ( 5400): 	at xyz.luan.audioplayers.AudioplayersPlugin.handler(AudioplayersPlugin.kt:96)
E/flutter ( 5400): 	at xyz.luan.audioplayers.AudioplayersPlugin.access$handler(AudioplayersPlugin.kt:23)
E/flutter ( 5400): 	at xyz.luan.audioplayers.AudioplayersPlugin$onAttachedToEngine$1$1.invoke(AudioplayersPlugin.kt:39)
E/flutter ( 5400): 	at xyz.luan.audioplayers.AudioplayersPlugin$onAttachedToEngine$1$1.invoke(AudioplayersPlugin.kt:39)
E/flutter ( 5400): 	at xyz.luan.audioplayers.AudioplayersPlugin$safeCall$1.invokeSuspend(AudioplayersPlugin.kt:58)
E/flutter ( 5400): 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
E/flutter ( 5400): 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
E/flutter ( 5400): 	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:39)
E/flutter ( 5400): 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
E/flutter ( 5400): 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
E/flutter ( 5400): 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
E/flutter ( 5400): 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
E/flutter ( 5400): 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
E/flutter ( 5400): , null)
E/flutter ( 5400): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
E/flutter ( 5400): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:167:18)
E/flutter ( 5400): <asynchronous suspension>
E/flutter ( 5400): #2      AudioPlayer.resume (package:audioplayers/src/audioplayer.dart:144:5)
E/flutter ( 5400): <asynchronous suspension>
E/flutter ( 5400): #3      Bgm.play (package:flame_audio/bgm.dart:62:5)
E/flutter ( 5400): <asynchronous suspension>
E/flutter ( 5400):

Does this happen on all audio files that you try, or only this one?

In all the audios that have FlameAudio.bgm.play (which are two, I am applying one for the start music and the other as background music in the game). The rest of the audios work fine (audios for button presses, jumps, death, etc...).

From what I understand flame_audio works with audioplayers library. Would there be the possibility of being able to assign a manual playerId when assigning a sound? I think I remember that in previous versions, sometimes it would fail me because it reached an audios limit. But I think I remember that what I am telling you now, happened to me with the short audios.

And it also happens if you use your audio for jump for example with the bgm?

From what I understand flame_audio works with audioplayers library. Would there be the possibility of being able to assign a manual playerId when assigning a sound? I think I remember that in previous versions, sometimes it would fail me because it reached an audios limit. But I think I remember that what I am telling you now, happened to me with the short audios.

For short audios that you play a lot you should use AudioCache, which is part of flame_audio.

And it also happens if you use your audio for jump for example with the bgm?

No no, for small audios I use play ("FlameAudio.play('explosion.mp3')"), but previously I have cached everything as indicated in the documentation of version 1.1.0 (https://docs.flame-engine.org/1.1.0/flame_audio/audio.html)

From what I understand flame_audio works with audioplayers library. Would there be the possibility of being able to assign a manual playerId when assigning a sound? I think I remember that in previous versions, sometimes it would fail me because it reached an audios limit. But I think I remember that what I am telling you now, happened to me with the short audios.

For short audios that you play a lot you should use AudioCache, which is part of flame_audio.

I use this function FlameAudio.audioCache.loadAll(['explosion.mp3', 'music.mp3']) as the documentation indicates

No no, for small audios I use play ("FlameAudio.play('explosion.mp3')"), but previously I have cached everything as indicated in the documentation of version 1.1.0 (https://docs.flame-engine.org/1.1.0/flame_audio/audio.html)

I mean if you use the explosion.mp3 file but with bgm, just to see whether it could be a problem with the file format or something like that.

I use this function FlameAudio.audioCache.loadAll(['explosion.mp3', 'music.mp3']) as the documentation indicates

Sorry typo, I meant AudioPool. But if it works for you just with FlameAudio.play then no need to change it.

If I have time this afternoon, or if not tomorrow, I'll prepare a mini-project where I replicate what I do, page 1 I put everything in cache, page 2 reproduces the content.
I haven't tried changing the bgm format. But I'll try it too. I have not tried it because the same thing happens to me with 2 different files. Both versions worked back but now the error appears in both.


feat: add getBatch and setBatch

PR Description:

Add getBatch and setBatch api support

References:
Design Doc (Notion)

Why are there a bunch of files like TopicPermission deleted from this PR?

I had to recreate the protos from the client-types-php to get the latest protos in the sdk.

I had to recreate the protos from the client-types-php to get the latest protos in the sdk.

That's fine, but I wouldn't have expected those files to get deleted entirely... did they get moved to a different path or something? I would expect stuff like TopicPermission to still exist in the generated code?


Allow use of private trackers

Currently all trackers must end with /announce or /announce.php.
Please allow users to turn this function off so we can add private trackers.

I created a fork and added in my private tracker in the checks. Ran the build and it worked. Thanks!


STF 1.5.4 release ops

Depends-On: https://github.com/infrawatch/smart-gateway-operator/pull/158
Depends-On: https://github.com/infrawatch/sg-core/pull/129
Depends-On: https://github.com/infrawatch/sg-bridge/pull/35
Depends-On: https://github.com/infrawatch/prometheus-webhook-snmp/pull/20

check-rdo

The PRs to the other repos need to merge first. Zuul does not handle merging to this repo, so having the Depends-On PR merged is not enforced


Describe how containers may be used as an application artifact

Describe how containers may be the consistent artifact type for all of a developer's applications.

language agnostic
standardized format
all runtime dependencies are bundled in

Demonstrate the ways in which containers help us to achieve various aspects of a secure software supply chain.

How do I ensure that the dependencies don’t change/change minimally?

How do layers help here?

What are the best practices for building and tagging container images?

Just using “latest” is a bad practice
How can labels help here?

Describe how images may be signed to ensure only official images may be launched at runtime
What diligence should a developer/operator perform on third-party images?

Scan for CVEs?
Utilize known-good base images
Continually update known-good list of base images and ensure that developers are utilizing only these images

@craigtracey is this in flight or should it be moved back to the "To Do" column of the backlog?


File Upload Bug on Chrome 56.0.2924.87

I can upload some files normally using Firefox, but Chrome just failed to do so with the same files - it gives no reply in the console. Is there something wrong with angular on Chrome?  As a rookie I don't know how to fix this bug on my own...

Same of #136


Doc: fix removed repeated words

should is repeated here

Merged, thanks @Biki-das!  In the future, please submit cleanups like this as a single PR with N commits, rather than N PRs.
Check out the Zulip commit guidelines for more details: https://zulip.readthedocs.io/en/latest/contributing/version-control.html.

ok


Dynamic SlideMenuWidth ?

Could you add dynamic width, such as:
var viewWidth: CGFloat { return isLandscape ? (isPadOrTV ? 0.4 * screenSize.width : 0.65 * screenSize.width) : (isPadOrTV ? 0.45 * screenSize.width : 0.8 * screenSize.width)
}
:: changeLeftViewWidth :: is not working properly

@dillidon  Thanks for your issue.
I have tested the method changeLeftViewWidth and it's work.
And I don't why should i need this dynamic width.
The picture is the I call the changeLeftViewWidth with 100 unit.

where can I add only once this method :: changeLeftViewWidth :: for example in SlideMenuController ?
I need dynamic width for different screen size, landscape or portrait, iPad or iPhone. So fixed size don't look great on different screen size.

I tried to add method :: changeLeftViewWidth ::  to func toggleLeft(), but it doesnt work properly.


bug: changing iOS simulator device the app disappear

Type: bug
Platform: ios 8 webview
iOS simulator: 8.1
Ionic: beta 13
Ionic CLI: 1.2.8
Cordova: 4.1.0
I run:  ionic emulate ios -l -c -s
The app starts on an iPhone 6 simulator ok.
When I try to change the device the app disappear from the simulator device. I'm not able to find the app in the home screen anymore.
This is something "new" because with iOS 7 (and old iOS simulator) all was fine.

Hi, jbavari, how I can specify the rotation of the device?

in your simulator menu, under hardware there are rotation of device


Is this driver already shipping with Windows 10?

Hi there,
Is this driver already shipping with Windows 10, or will it ship with it anytime soon?
Thanks

Hey,
This driver is officially part of  Windows 11, and it's shipped as a built-in class driver in Windows 11 for all NCM compatible devices
Thanks

@brandonjiang is it possible to build the driver for windows 10 from this source?

@rafi16jan , for testing purpose it is possible to built and run the driver for Windows 10 by using the code from release_2004 branch. However, it wouldn't work and be supported in production for Windows 10.
Windows 11 is the first OS officially has built-in NCM support

Is "for testing purpose" means we are able to connect to NCM device (like macbook) and have working network connected or it would be something dummy to only tests simple connectivity?

"for testing purpose" meaning you won't be able to get WHQL certificate for your driver based on release_2004 branch, and it won't work on Windows 11 or future OS release.

I see, so it's just like an unknown publisher driver right? But still works for personal use

Yes, you would have to enable test signing to use this driver built by yourself


data arrangement for BIDS

Hi experts,
I am running the fmriprep. My dataset including two scans of resting-state fMRI that within 3 hours and one scan of structural T1 MRI. Can I arrange this data as follow?

Thanks a lot!

This looks reasonable, but I would suggest sub-01_task-rest_run-01_bold.nii.gz (and run-02), rather than treating each as a separate task.

Thanks for you reply.
How about arrange as different sessions?

only drugoff session contains T1w images.
What's the difference between different sessions and different runs?
Thanks!

From an fMRIPrep perspective, there's no real difference between splitting things up by session or run. It will change the outputs to more closely match the changed inputs, but that's it. I would organize things however seems most logical to you. Also, in case I wasn't clear, there's nothing wrong with treating them as different tasks, if you prefer that.

I wonder if there is a registration between different fmri scans? Or just align different fmri scan and T1 images separately?

Each BOLD series is registered to the T1w image.

So if we do some longitudinal analyses, no registration between different BOLD series?

Not directly, no. Each is registered to the T1w image. If you have multiple T1w images per subject, they are combined into a template, and each BOLD series is registered to the T1w template.

I understand it. I only have one T1w image, so each BOLD series is registered to this T1w image.
And another question, for the preprocessing of fmriprep (do not use ICA-AROMA), only head motion correction, slice timing, and normalization have been done, right? This raises another question of whether we should regress the noise before or after the normalization. Many studies regress the noise before the normalization.  Thanks!

This raises another question of whether we should regress the noise before or after the normalization.

Noise regression must be done outside fmriprep. Make sure you set --output-spaces func to generate timeseries in the original run's space.
That said, because you are interpolating anyways to account for head motion and susceptibility distortions I honestly doubt you'll see any difference regressing out after normalization. Generating BOLD in its original space or standard space takes fMRIPrep just one interpolation either way.


RetryHelpers trait to implement non-blocking retries

Implemented a trait io/cequence/openaiscala/RetryHelpers.scala to allow API calls to be made with non-blocking retries as a possible solution to (fixes #15, and partial implementation of #16).
Implemented unit tests for RetryHelpers (#24).
New implementation of io.cequence.openaiscala.service.OpenAIServiceWrapper in openai-client package which uses RetryHelpers.
Still TODO: separate exception classes for retryable errors such as rate-limit-error (#16).

Example usage below.
This design has advantages on the client side we can easily apply retry for specific methods, or use different retry settings for different methods (without necessarily having to create separate wrappers).
import akka.actor.{ActorSystem, Scheduler}
import io.cequence.openaiscala.RetryHelpers
import io.cequence.openaiscala.RetryHelpers.RetrySettings
import io.cequence.openaiscala.domain.{ChatRole, MessageSpec}
import io.cequence.openaiscala.service.{OpenAIService, OpenAIServiceFactory}

import javax.inject.Inject
import scala.concurrent.{ExecutionContext, Future}

class MyCompletionService @Inject() (
    val actorSystem: ActorSystem,
    implicit val ec: ExecutionContext,
    implicit val scheduler: Scheduler
)(val apiKey: String)
    extends RetryHelpers {
  val service: OpenAIService = OpenAIServiceFactory(apiKey)
  implicit val retrySettings: RetrySettings = RetrySettings()

  def ask(prompt: String): Future[String] =
    for {
      completion <- service
        .createChatCompletion(
          List(MessageSpec(ChatRole.User, prompt))
        )
        .retryOnFailure
    } yield completion.choices.head.message.content
}

In addition to above, I have now:

implemented unit tests in RetryHelpersSpec
Implemented object Retryable in OpenAIScalaClientException to allow pattern matching against retryable exceptions, e.g.:  case Retryable(_) =>

I have created a new wrapper OpenAIRetryServiceAdapter which uses RetryHelpers, so that both the wrapper approach and implicit class approach can be used according to preference.

attempts should be increasing from 1 to max rather than decreasing so we can log something like Attempt i: The call xyz failed...

Would you be happy with debug logs something like this:
WSRequestHelper: Calling end point v1/models...
RetryHelpers: Attempting max 5 attempts...
RetryHelpers: Attempt failed, 4 attempts remaining, retrying in 2 seconds...
RetryHelpers: Attempt failed, 3 attempts remaining, retrying in 10 seconds...
RetryHelpers: Succeeded.
WSRequestHelper: v1/models succeeded with result [some JSON]

or:
WSRequestHelper: Calling end point v1/models...
RetryHelpers: Attempting max 3 attempts...
RetryHelpers: Attempt failed, 2 attempts remaining, retrying in 2 seconds...
RetryHelpers: Attempt failed, 1 attempts remaining, retrying in 10 seconds...
RetryHelpers: Attempt failed, aborting.
WSRequestHelper: v1/models failed with time out

If not please be aware that rewriting the code to have an increasing counter will take further effort and the code may be more complicated (additional parameters in method calls).  Also, could you write tests in RetryHelpersSpec that indicate the exact behavior you require?

As in the original retry adapter we need to have a way to log an error message (by default a simple println suffices).

Will await resolution of discussion in #21 before implementing this.

Note that I just realised readme needs to be updated with new retry behaviour, which I have just done.  Will resolve conflicts shortly.

@peterbanda the checks above are failing because of formatting.  You can merge and override checks, or alternatively apply formatting in this branch.  I will hold fire unless hear otherwise.  Let me know if you need any help resolving issues with the CI.

See #33 for resolving the pipeline issues.   Let me know if you want to merge it into this branch.


Set plan visibility at end of writing process

For MVP we need a solution for managing the Public DMPs list to ensure that only complete plans are displayed. Future discussions about plan status should involve machine-actionable use cases (see related issue #87). Short-term solution is to prompt users to set plan visibility at the end of the writing process, when a plan is (presumably) complete.
The default visibility for new draft/in progress plans should be "Private," but when a user reaches the end and clicks "Export" they should get a modal asking them to select:

Public: anyone can view, copy, and/or download the plan. Your DMP will appear on the Public DMPs page of this site.
Institutional: anyone logged in from your institution can view, copy, and/or download the plan.
Private: only owners, co-owners, and others to whom you granted access can view the plan. Administrators at your organisation can view all plans for program development purposes. See Terms of Use.

The selection will then trigger an email notice about the plan's visibility. We can consider other (additional or alternative) points for asking a user to select/confirm visibility but this seems the most obvious one to me. @sjDCC ?

Either, or may both? Do people typically come back to the overview page where the done button is? If not, a prompt at export would be good too

@sjDCC Had a good consult w/UX about this and will update the issue for your (new) consideration.

@briri noting here that the default visibility setting for a new plan should be Private - currently it defaults to Institutional

related to #417. Whoever works on the share tab and export tabs should also handle this ticket

closing because this has morphed into the plan share/export revisions


Keyboard Without Borders

Description of the new feature / enhancement
Just like mouse without borders but for the keyboard to type in the active window
Scenario when this would be used?
Just like mouse without borders it could be a KVM replacement
Supporting information
No response

Well looks like this was added. Thank you!


Raise ValueError if TFR freqs <= 0

Raise a ValueError for invalid frequencies passed into tfr_morlet and tfr_multitaper, according to #5708
Additional information
Raise a ValueError "all computed frequencies in freqs must be greater than 0." if the freqs passed to mne/time_frequency/tfr.py::morlet and mne/time_frequency/tfr.py::_make_dpss are <= 0.
Note:
Used np.any([f <= 0 for f in freqs]) instead of np.any(freqs <= 0) to also handle simple lists.

B

It's good that there is an error message, but I still don't know if these wavelet-based methods cannot compute the power at DC or if this is just the case in our implementation.

It's good that there is an error message, but I still don't know if these wavelet-based methods cannot compute the power at DC or if this is just the case in our implementation.

Oh yes, sorry! I will work on this and do another PR if i find a convenient way. Would that be okay?

Sure!

thx @DiGyt


Add [Fyn77] #exchange GBV7Z7…5PGWL5

Address: GBV7Z77Q4YNME7CM7GJZQX4WZBD4V2OXCBR6GTK4JY2QUXRFID5PGWL5
Tags: exchange
Title: Fyn77
Requested by @abmgestion

Can you please supply any contact and web information to help verify this?

We don't tag regular personal accounts


Page build error.

Hello there! I just forked and copied it to my io repo and it returned a build error without specific reason, anyone got it too?

Looks like you're up and running now, @gafanhotz?

Curiously yes, I removed the line ![_config.yml]({{ site.baseurl }}/images/config.png) from the Hello World post and got it running.

Got it. Not too sure why that was. Maybe the site just needed to Jekyll build for the first time. :)


Are embedded relationships less performant than sideloaded relationships query-wise?

I know that embedded relationships is more likely to produce a bigger payload than sideloaded ones as explained here at https://github.com/AltSchool/dynamic-rest#embedded-relationships
My question is whether the performance of the query is also not as good for embedded relationships compared to sideloaded ones?

From a query perspective, there is no difference between an embedded and sideloaded relationship.
Sideloading happens as a post-processing step after an embedded representation has been constructed. Therefore, a sideloaded representation will take up potentially less space, at the cost of a bit more processing time (should be negligible compared to query times)

Thanks for reply. Apologies that I have missed this.
If I use sideloaded, then it's important that the sideloaded entities are using their natural id in as the array index, otherwise, it can be hard at the client frontend to traverse.
Is there a drest way to do this?
E.g. in the documentation https://dynamic-rest.readthedocs.io/en/latest/tutorial.html#serializer-with-relations
there's an example url like http://localhost:9002/events/?include[]=users.* which sideloads the users
the payload will usually have
{
"events:[
{
"name": "new event!",
"status": "current",
"location": 2,
"users": [1,2]
},...],
"users": [
{"username": "alice", id:1},
{"username": "bob", id:2}
]
}
So I was thinking whether might be easier to get back as
{
"events:[
{
"name": "new event!",
"status": "current",
"location": 2,
"users": [1,2]
},...],
"users": {
"1":{"username": "alice", id:1},
"2":{"username": "bob", id:2}
}
}
Right now, my workaround is simply use embed

@simkimsia - Yeah, I can see how that could be easier to parse (we use Ember Data ourselves, which has an understanding of the models so is able to stitch together the data).
One way you can override the sideloading format would be to override ListSerializer to use your own processor (maybe a slight modification of the default SideloadingProcessor), and then use the LIST_SERIALIZER_CLASS config to replace the default ListSerializer.

Thanks @ryochiji


bug of new version V0.11 when performing system pair analysis

[ ] when performing system pair analysis

[0]     return [[Performance.from_dict(v2) for v2 in v1] for v1 in v] if v else None
[0]   File "/mnt/c/Users/Stefan/Documents/GitHub/neulab/explainaboard_web/venv/lib/python3.9/site-packages/explainaboard/analysis/result.py", line 20, in <listcomp>
[0]     return [[Performance.from_dict(v2) for v2 in v1] for v1 in v] if v else None
[0]   File "/mnt/c/Users/Stefan/Documents/GitHub/neulab/explainaboard_web/venv/lib/python3.9/site-packages/explainaboard/analysis/result.py", line 20, in <listcomp>
[0]     return [[Performance.from_dict(v2) for v2 in v1] for v1 in v] if v else None
[0]   File "/mnt/c/Users/Stefan/Documents/GitHub/neulab/explainaboard_web/venv/lib/python3.9/site-packages/explainaboard/analysis/performance.py", line 49, in from_dict
[0]     return cls(**{k: v for k, v in data_dict.items() if k in field_names})
[0] AttributeError: 'Performance' object has no attribute 'items'

[ ] when browsing benchmark

.py", line 1523, in full_dispatch_request
[0]     rv = self.dispatch_request()
[0]   File "/mnt/c/Users/Stefan/Documents/GitHub/neulab/explainaboard_web/venv/lib/python3.9.py", line 1509, in dispatch_request
[0]     return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
[0]   File "/mnt/c/Users/Stefan/Documents/GitHub/neulab/explainaboard_web/venv/lib/python3.9/decorators/decorator.py", line 68, in wrapper
[0]     response = function(request)
ib/python3.9/site-packages/connexion/decorators/validation.py", line 399, in wrapper
[0]     return function(request)
[0]   File "/mnt/c/Users/Stefan/Documents/GitHub/neulab/explainaboard_web/venv/lib/python3.9/site-packages/connexion/decorators/response.py", line 112, in wrapper
[0]     response = function(request)
[0]   File "/mnt/c/Users/Stefan/Documents/GitHub/neulab/explainaboard_web/venv/lib/python3.9/site-packages/connexion/decorators/parameter.py", line 116, in wrapper
[0]     return function(**kwargs)
[0]   File "/mnt/c/Users/Stefan/Documents/GitHub/neulab/explainaboard_web/backend/src/gen/explainaboard_web/controllers/default_controller.py", line 34, in benchmark_configs_get
[0]     return default_controllers_impl.benchmark_configs_get(parent_id)
[0] AttributeError: module 'explainaboard_web.impl.default_controllers_impl' has no attribute 'benchmark_configs_get'

Thanks for pointing these out, I'll try to fix these!

I fixed the second issue in #264, but I wasn't able to reproduce the first issue. If you're still experiencing the first issue could you give me a little bit more info about how to fix it?

both have been fixed


Switch to new User Guide

The documentation build process should use the new User Guide. We need to change the hibernate.org site to use a new URL, without en-US like it's the case for topical guides.

This renders too much still.  I went ahead and tackled this slightly differently.  I am also removing the  handling of the symlinks; we can simply handle that manually whenever the "next release" becomes the "current" stable release.
Afterwards I will clean the 5.1 dir from the doc server and re-publish


Placeholder Blur of Remote Shopify image with Next.js Image component fails - "Native Module not found: sharp"

Unable to implement placeholder blur of remote image (Shopify cdn) using the recommended Placeholder package implementation along with the Next.js Image component. Wondering if this has something to do with the Edge runtime that the vercel/commerce package uses.
Any help would be appreciated.
getbase64.ts
import { getPlaiceholder } from "plaiceholder"
export default async function getBase64(src: string) {
    const buffer = await fetch(src).then( async (res)=>{
        return Buffer.from(await res.arrayBuffer())
    })
   const {base64} = await getPlaiceholder(buffer)
    return base64
}

components/layout/spread/index.tsx
import Image from 'next/image';
import getBase64 from 'lib/getBase64';

...

export default async function Spread({ priority = false, handle, alt }: Spread) {
...
 const myBlurDataUrl = await getBase64("https://cdn.shopify.com/s/files/1/0814/8126/9557/files/01a0e9c07671466919fa6577e1b070d34b2557d5-5297x3532.webp?v=1693503849")
...
return (
...
<Image
              alt={alt}
              src={metaobject?.image?.reference?.image?.url}
              priority={priority}
              fill
              className="object-cover object-center"
              sizes="(min-width: 1024px) 100vw, 150vw"
              placeholder="blur"
              blurDataURL={myBlurDataUrl}
              quality={priority ? 100 : 90}
            />
...

Terminal output:
- error TypeError: Native module not found: sharp
    at Object.sharp (/Users/.../Git/.../.next/server/app/page.js:29:18)
    at __webpack_require__ (/Users/.../Git/.../.next/server/edge-runtime-webpack.js:37:33)
    at fn (/Users/.../Git/.../.next/server/edge-runtime-webpack.js:325:21)
    at __webpack_require__ (/Users/.../Git/.../.next/server/edge-runtime-webpack.js:37:33)
    at fn (/Users/.../Git/.../.next/server/edge-runtime-webpack.js:325:21)
    at eval (./getBase64.ts:5:70)
    at Module.(rsc)/./getBase64.ts (/Users/.../Git/.../.next/server/app/page.js:2744:1)
    at __webpack_require__ (/Users/.../Git/.../.next/server/edge-runtime-webpack.js:37:33)
    at fn (/Users/.../Git/.../.next/server/edge-runtime-webpack.js:325:21)
    at eval (./components/layout/spread/index.tsx:10:67)
    at Module.(rsc)/./components/layout/spread/index.tsx (/Users/.../Git/.../.next/server/app/page.js:2711:1)
    at __webpack_require__ (/Users/.../Git/.../.next/server/edge-runtime-webpack.js:37:33)
    at fn (/Users/.../Git/.../.next/server/edge-runtime-webpack.js:325:21)
    at eval (./app/page.tsx:13:82)
    at Module.(rsc)/./app/page.tsx (/Users/.../Git/.../.next/server/app/page.js:2450:1)
    at __webpack_require__ (/Users/.../Git/.../.next/server/edge-runtime-webpack.js:37:33)
    at Function.fn (/Users/.../Git/.../.next/server/edge-runtime-webpack.js:325:21)
    at async Promise.all (index 0)

package.json
{
  "private": true,
  "packageManager"<EMAIL_ADDRESS>  "engines": {
    "node": ">=18",
    "pnpm": ">=7"
  },
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint",
    "lint-staged": "lint-staged",
    "prettier": "prettier --write --ignore-unknown .",
    "prettier:check": "prettier --check --ignore-unknown .",
    "test": "pnpm lint && pnpm prettier:check"
  },
  "git": {
    "pre-commit": "lint-staged"
  },
  "lint-staged": {
    "*": "prettier --write --ignore-unknown"
  },
  "browser": {
    "child_process": false
  },
  "dependencies": {
    "@headlessui/react": "^1.7.17",
    "@heroicons/react": "^2.0.18",
    "@plaiceholder/next": "^3.0.0",
    "@plaiceholder/tailwindcss": "^3.0.0",
    "clsx": "^2.0.0",
    "next": "13.4.19",
    "plaiceholder": "^3.0.0",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "server-only": "^0.0.1",
    "sharp": "^0.32.5",
    "string-to-color": "^2.2.2",
    "uuid": "^9.0.0"
  },
  "devDependencies": {
    "@tailwindcss/container-queries": "^0.1.1",
    "@tailwindcss/forms": "^0.5.6",
    "@tailwindcss/typography": "^0.5.9",
    "@types/node": "20.5.7",
    "@types/react": "18.2.21",
    "@types/react-dom": "18.2.7",
    "@types/uuid": "^9.0.3",
    "@vercel/git-hooks": "^1.0.0",
    "autoprefixer": "^10.4.15",
    "eslint": "^8.48.0",
    "eslint-config-next": "^13.4.19",
    "eslint-config-prettier": "^9.0.0",
    "eslint-plugin-unicorn": "^48.0.1",
    "lint-staged": "^14.0.1",
    "postcss": "^8.4.29",
    "prettier": "3.0.3",
    "prettier-plugin-tailwindcss": "^0.5.4",
    "tailwindcss": "^3.3.3",
    "typescript": "5.2.2"
  }
}

next.config.mjs
// @ts-check
import withPlaiceholder from "@plaiceholder/next";

/** @type {import('next').NextConfig} */
const config = {
  eslint: {
    // Disabling on production builds because we're running checks on PRs via GitHub Actions.
    ignoreDuringBuilds: true
  },
  experimental: {
    serverActions: true
  },
  images: {
    formats: ['image/avif', 'image/webp'],
    remotePatterns: [
      {
        protocol: 'https',
        hostname: 'cdn.shopify.com',
        pathname: '/s/files/**'
      }
    ]
  },
  async redirects() {
    return [
      {
        source: '/password',
        destination: '/',
        permanent: true
      }
    ];
  }
};

export default withPlaiceholder(config)

Did you ever resolve this, im getting the same error


Node level issue - Walker realted?

So it seems that using a helper method for dispatching has revealed some sort of bug 🐛
`

${state.num}

  <button onclick=${dispatch('up')}>+</button>
  <button onclick=${dispatch('down')}>-</button>

`

This works fine!
But 😢
`

  ${state.num}
  <button onclick=${dispatch('up')}>+</button>
  <button onclick=${dispatch('down')}>-</button>

`;

This is broken. It seems that the way the DOM is constructed matters here? 🤔
Another neat bug is here:
`

  ${state.num}
  <button onclick=${dispatch('up')}>+</button>

`;

😭
Now nothing fires! So there must be a level required of DOM nodes it seems
Here is the codepen for reproduction of said bugs: https://codepen.io/selfup/pen/jZjopM?editors=0010

Working on it!  Thank you for the report.

As of latest commit on master, this is fixed.  The refactor I did while fixing this has caused a different bug with attribute directives that I am fixing before publishing the next version to npm.


What's the effect of IlluminanceCorrect?

Hello and thanks for your amazing job!
I got quite confused about the effect of IlluminanceCorrect func at https://github.com/Vandermode/ELD/blob/aa0edb44a8fc20e01f83c1f6e93ee70d3190e142/models/ELD_model.py#L139
It seems like some kind of normalization, yet I didn't figure out why it should be applied here, could you please explain it for me? Thanks a lot :)

Hi, thanks for your interest.  IlluminanceCorrect in fact performs a function as stated in the paper: To account for the imprecisions of shutter speed and analog gain [2], a single scalar is calculated and multiplied into the reconstructed image to minimize the mean square error evaluated by the ground truth.

I see, thanks for your answer! 👍


Broken zapper tokenlist

Describe the bug
Some icons not loading up.
To Reproduce
Steps to reproduce the behavior:

Visit dapp
Open dev console
Expect to see a bunch of icon load 404s.

Expected behavior
Images should load.
Screenshots

@vbstreetz fixing this in this PR https://github.com/Synthetixio/staking/pull/562


Expose RascalMCES singleLargestFrag option to Python.

Reference Issue
No issue.
What does this implement/fix? Explain your changes.
Exposes the singleLargestFrag option of RascalMCES::RascalOptions to the Python wrapper.
Any other comments?
Writing documentation is always valuable!

It might be worth leaving it until I finish writing the documentation and adding all the other bits that turn out to be missing from the Python wrapper.  I'll let you know...

Ok, I think that is now good for review again.  It's remarkable how much wasn't in the Python wrapper :-(.


improving get method

hello,
i would like to ask for a new feature which is present in other library which manages times, for example in moment
in that module i can do something like
moment.date(d)
where d is 01/01/2001 or 1/1/2001 or 01/01/01 or 01-01-2001
i am trying to say that it accept quite everything, it would be nice if get() was able to be feed with everything too
here there is a code snippet if you want to try
import arrow, moment

d = ["01/01/2001", "2/2/2002", "03/03/03", "04-04-2004"]
for item in d:
    m = moment.date(item)
    a = arrow.get(item)
    print ("m: ")
    print(m)
    print ("a: ")
    print (a)
    print ()

How does this lib handle dates like 10/05/2018. Is it October 5th or May 10th?

You can specify what you are parsing with ".format("DD/MM/YYYY)"
The default should be this MM/DD/YYYY
Btw is this related to the issue?

Hi,
The default is not related to the issue, please read again post #1


cross references

Cross-references do not need descriptors. See example:
Security Updates
Security updates address newly discovered attacks reported to Mattermost, Inc. by the security research community. Disclosures are made confidentially, under the Mattermost responsible disclosure policy, allowing for Mattermost, Inc. to provide security updates to the community prior to public disclosure.
For more information, please see:
Mattermost Security Updates Disclosures
A summary of security updates made based on past and on-going security analysis and penetration testing.
Mattermost Responsible Disclosure Policy
An overview of how security issues are confidentially reported to and address by Mattermost, Inc.

Hi @seenthattinker. Thanks for raising this issue. Would you be open to updating the page in question and submitting a pull request? That will allow us to review the changes and confirm the next steps. Thank you!

Yes, next week.

This has been resolved as part of docs 2.0. Closing. :)


After clearing the filters (click show all) some summary filters fail to show up.

Very intermittent error, sometimes when doing filtering, usually when you pick the filters with very low amount of items, where most of the filters get hidden, some of the filters never return back. Refreshing the page brings the filters back. I am using Chrome Version 55.0.2883.87

I would like to report the same issue. I tested it in Firefox as well (ver. 35.0.1).

Hi,
I just want to send a note of acknowledgement now. I can replicate this issue.
The open-source version at this repo is not actively maintained, so if you are using this code for your own purposes, you may not see an update soon. But, the one hosted live at keshif.me will include fixes, and is available for licensing upon request.
Thanks,


[Errno 39] Directory not empty: '/opt/splunk/share/splunk/search_mrsparkle/modules.new/converters'

Error installing with docker-compose up
git clone https://github.com/splunk/docker-splunk.git
Cloning into 'docker-splunk'...
remote: Counting objects: 817, done.
remote: Total 817 (delta 0), reused 0 (delta 0), pack-reused 817
Receiving objects: 100% (817/817), 156.03 KiB | 0 bytes/s, done.
Resolving deltas: 100% (393/393), done.
[ec2-user@ip-10-193-206-13 SPLUNK]$ ls
docker-splunk
[ec2-user@ip-10-193-206-13 SPLUNK]$ cd docker-splunk/
[ec2-user@ip-10-193-206-13 docker-splunk]$ ls
CONTRIBUTING.md  enterprise  LICENSE  README.md  universalforwarder
[ec2-user@ip-10-193-206-13 docker-splunk]$ cd enterprise/
[ec2-user@ip-10-193-206-13 enterprise]$ ls
build.sh  docker-compose.yml  Dockerfile  entrypoint.sh publishImage.sh README.md
[ec2-user@ip-10-193-206-13 enterprise]$ vim docker-compose.yml
[ec2-user@ip-10-193-206-13 enterprise]$ docker-compose up
Creating network "enterprise_default" with the default driver
Creating volume "enterprise_opt-splunk-etc" with default driver
Creating volume "enterprise_opt-splunk-var" with default driver
Pulling splunkenterprise (splunk/splunk:7.0.0)...
7.0.0: Pulling from splunk/splunk
Digest: sha256:216f8511d99b7e79ac147cf49829b92ad49a92ec8de35baf5beaf1bb50d9316c
Status: Downloaded newer image for splunk/splunk:7.0.0
Creating enterprise_splunkenterprise_1 ...
Creating enterprise_splunkenterprise_1 ... done
Attaching to enterprise_splunkenterprise_1
splunkenterprise_1  | Copying '/opt/splunk/etc/openldap/ldap.conf.default' to '/opt/splunk/etc/openldap/ldap.conf'.
splunkenterprise_1  | Generating RSA private key, 2048 bit long modulus
splunkenterprise_1  | .........................+++
splunkenterprise_1  | .......................+++
splunkenterprise_1  | e is 65537 (0x10001)
splunkenterprise_1  | writing RSA key
splunkenterprise_1  |
splunkenterprise_1  | Generating RSA private key, 2048 bit long modulus
splunkenterprise_1  | .....................................................+++
splunkenterprise_1  | .....................+++
splunkenterprise_1  | e is 65537 (0x10001)
splunkenterprise_1  | writing RSA key
splunkenterprise_1  |
splunkenterprise_1  | Moving '/opt/splunk/share/splunk/search_mrsparkle/modules.new' to '/opt/splunk/share/splunk/search_mrsparkle/modules'.
splunkenterprise_1  |
splunkenterprise_1  | An unforeseen error occurred:
splunkenterprise_1  |
splunkenterprise_1  |   Exception: <type 'exceptions.OSError'>, Value: [Errno 39] Directory not empty: '/opt/splunk/share/splunk/search_mrsparkle/modules.new/converters'
splunkenterprise_1  |
splunkenterprise_1  | Traceback (most recent call last):
splunkenterprise_1  |   File "/opt/splunk/lib/python2.7/site-packages/splunk/clilib/cli.py", line 1143, in main
splunkenterprise_1  |     parseAndRun(argsList)
splunkenterprise_1  |   File "/opt/splunk/lib/python2.7/site-packages/splunk/clilib/cli.py", line 998, in parseAndRun
splunkenterprise_1  |     retVal = cList.getCmd(command, subCmd).call(argList, fromCLI = True)
splunkenterprise_1  |   File "/opt/splunk/lib/python2.7/site-packages/splunk/clilib/cli.py", line 280, in call
splunkenterprise_1  |     return self.func(args, fromCLI)
splunkenterprise_1  |   File "/opt/splunk/lib/python2.7/site-packages/splunk/clilib/control_api.py", line 30, in wrapperFunc
splunkenterprise_1  |     return func(dictCopy, fromCLI)
splunkenterprise_1  |   File "/opt/splunk/lib/python2.7/site-packages/splunk/clilib/_internal.py", line 176, in firstTimeRun
splunkenterprise_1  |     comm.moveItem(migration.PATH_UI_MOD_NEW, migration.PATH_UI_MOD_ACTIVE)
splunkenterprise_1  |   File "/opt/splunk/lib/python2.7/site-packages/splunk/clilib/cli_common.py", line 1017, in moveItem
splunkenterprise_1  |     shutil.move(src, dst)
splunkenterprise_1  |   File "/opt/splunk/lib/python2.7/shutil.py", line 300, in move
splunkenterprise_1  |     rmtree(src)
splunkenterprise_1  |   File "/opt/splunk/lib/python2.7/shutil.py", line 247, in rmtree
splunkenterprise_1  |     rmtree(fullname, ignore_errors, onerror)
splunkenterprise_1  |   File "/opt/splunk/lib/python2.7/shutil.py", line 256, in rmtree
splunkenterprise_1  |     onerror(os.rmdir, path, sys.exc_info())
splunkenterprise_1  |   File "/opt/splunk/lib/python2.7/shutil.py", line 254, in rmtree
splunkenterprise_1  |     os.rmdir(path)
splunkenterprise_1  | OSError: [Errno 39] Directory not empty: '/opt/splunk/share/splunk/search_mrsparkle/modules.new/converters'
splunkenterprise_1  |
splunkenterprise_1  |
splunkenterprise_1  | Please file a case online at http://www.splunk.com/page/submit_issue
splunkenterprise_1  |
splunkenterprise_1  |
splunkenterprise_1  | This appears to be your first time running this version of Splunk.
enterprise_splunkenterprise_1 exited with code 2
[ec2-user@ip-10-193-206-13 enterprise]$

What storage driver are you using? I get the same error when I try and build on a system that is set to overlay but doesn't have ftype=1 set:
https://docs.docker.com/storage/storagedriver/overlayfs-driver/#prerequisites

I experienced this issue with Docker using the Overlay2 storage driver. Switching to Devicemapper fixed it for me.

Based on this issue and adding the splunk_share volume, was able to resolve the issue
- splunk_share:/opt/splunk/share/splunk/search_mrsparkle/modules
https://github.com/splunk/docker-splunk-legacy/issues/59


spdx-utils should validate written files against spdx-schema.json

We already have tests in the spdx-utils module that write out SPDX document files, but we should actually verify these files against spdx-schema.json.

Validation has been implemented as part of the better fitting SpdxDocumentReporterFunTest in https://github.com/oss-review-toolkit/ort/pull/5224.


Breaking changes merged to MASTER, please add a new MAJOR version to avoid affecting current implementations

Hello @realityking @brycebaril !
The modifications you merged to MASTER last week compromised several legacy apps we have in place using version 3.0.0 of this library.
Please consider releasing a new version (MAJOR release) for this library to avoid affecting current implementations.

Originally posted by @alvaroautobits in https://github.com/brycebaril/through2-filter/issues/7#issuecomment-2067658517

Many apologies, but also please note that those versions of Node are extremely dangerously unsupported and insecure and you should not be using them. I will do the work to undo this mistake of mine.

Version 3.1.0 has been deprecated and this version has been re-pushed as 4.0.0.

Hello guys!
Thanks for your help 💪
Unfortunately, our legacy app is still being affected by changes released in version 3.1.0. 😢
Let me explain, please; This is the external dependency we use in our legacy app that imports this library, this external dependency is still installing the version 3.1.0 (even if it is deprecated) 💥 , what you should really have to do to fix this is reverting this changes as a hotfix (3.1.1), later you have to restore the improvements done by @realityking, and finally, publish them in the version 4 (4.0.1, maybe).
If everything is done properly, your new latest version will be v4.0.1, and apps that are currently installing your library as "^3.0.0" will not be compromised anymore.

Hello guys.
I opted to add new step in the CICD pipeline to install the last stable version of the library, and everything is working as expected again 😎 .
This workaround will give us more time to complete the upgrade of our app 😃 .
Thank you very much for your help!!


Fixed Issue#16

Issue:

#16

Cause:
Initial query from Home.tsx was not stored in variable searchQuery of searchBar.tsx.
Therefore, the value of the search bar would default to empty upon loading SearchPage.tsx.
Solution:
Use setSearchQuery(term) in the useEffect() of searchBar.tsx.
Tests:

Manual test using the site debug search prompts
Manual test with random search prompts

Solved in https://github.com/ai-cfia/finesse-frontend/pull/61


Support aggregate functions to better handle timeseries data

Some of the datasets store value of an entity (ex: humidity/temperature readings of a storage unit, Status of a device) over time. The values are recorded periodically, may not be very granular. It would be great to have some of the following timeseries functions to analyze the trend over time.

time_bucket_gapfill() => Fills data for missing time buckets.
Functions to fill data: zero_fill() -> Fill missing buckets with zero; locf() => Fill from previous value; interpolation.
Extrapolation functions for time series forecasting.
Aggregate functions to chose value for a time bucket such as first() / last() along with avg and percentile functions.

cc @elonazoulay

Great feature to add. It should be doable with both value and time column passed to the aggregation function.

Related to #7213

Here is the document for Pre-Aggregation Gapfilling function design: https://docs.google.com/document/d/1FQbsTVywWLlmFaeUcYqDkb-XRWCpVhZe10BZyD2VzcU/edit#heading=h.brbishq9xbz1
@siddharthteotia @jackjlli @amrishlal @lakshmanan-v and I had couple of rounds of design meetings. Thanks a lot for the effort!
Here is the meeting minutes:

We went through the design document and discussed the query design and implementation design. We reached the consensus that the implementation looks good.
We debated about the query design. We came out two feasible options:
flat query option:
SELECT
PREAGGREGATEGAPFILL(DATETIMECONVERT(event_time, '1:MILLISECONDS:EPOCH', '1:MILLISECONDS:EPOCH', '15:MINUTES'), '1:MILLISECONDS:SIMPLE_DATE_FORMAT:yyyy-MM-dd HH:mm:ss.SSS', '2021-10-01 09:00:00+00', '2021-10-01 12:00:00+00', '15:MINUTES', TIME_SERIES_ON(eventTime, lotId), FILTERING(is_occupied = 1), FILL(is_occupied,FILL_TYPE_PREVIOUS)) AS time_col,
SUM(is_occupied) AS occupied_slots_count
FROM parking_data
WHERE event_time >= '10/01/2021 09:00:00+00' AND  event_time <= '10/01/2021 12:00:00+00'
GROUP BY time_col
ORDER BY time_col

and subquery option:
SELECT time_col, SUM(is_occupied) AS occupied_slots_count
FROM (
SELECT PREAGGREGATEGAPFILL(DATETIMECONVERT(event_time, '1:MILLISECONDS:EPOCH', '1:MILLISECONDS:EPOCH', '15:MINUTES'), '1:MILLISECONDS:SIMPLE_DATE_FORMAT:yyyy-MM-dd HH:mm:ss.SSS', '2021-10-01 09:00:00+00', '2021-10-01 12:00:00+00', '15:MINUTES', TIME_SERIES_ON(eventTime, lotId), FILL(is_occupied,FILL_TYPE_PREVIOUS)) AS time_col, is_occupied
FROM parking_data
WHERE event_time >= '10/01/2021 09:00:00+00' AND  event_time <= '10/01/2021 12:00:00+00')
WHERE isOccupied = 1
GROUP BY time_col
ORDER BY time_col
As for the first option (flat query option), the PreAggregateGapFill function contains the hint about the pre-aggregate gapfilling. Everything about pre-aggregation is contained inside this function. But its problem is that the first selection expression will generate more rows. The aggregation selection expression will reduce the number of rows. This is counterintuitive. The execution order is not explicit even though the document can provide more details. Also for first option, we need define FILTERING inside the PreAggregateGapFill function in order to filter out the gapfilled result. The second option
As for the second option (the subquery option), it separates the gapfilling step and the aggregation step. The inner query logically defines the gapfilling step. The aggregation step is defined by the outer query. Its advantage is that the execution step is more explicit than the flat query option. Its problem is that the subquery feature is not in place. It might conflict with the future implementation of subquery. The solution is to make it specific in order to prevent the conflict. When subquery is in place, pre-aggregation gapfilling can migrated to leverage the subquery feature or be compatible with subquery feature.

Here is the document for Pre-Aggregation Gapfilling function design: https://docs.google.com/document/d/1FQbsTVywWLlmFaeUcYqDkb-XRWCpVhZe10BZyD2VzcU/edit#heading=h.brbishq9xbz1
@siddharthteotia @jackjlli @amrishlal @lakshmanan-v and I had couple of rounds of design meetings. Thanks a lot for the effort! Here is the meeting minutes:

We went through the design document and discussed the query design and implementation design. We reached the consensus that the implementation looks good.
We debated about the query design. We came out two feasible options:
flat query option:
SELECT
PREAGGREGATEGAPFILL(DATETIMECONVERT(event_time, '1:MILLISECONDS:EPOCH', '1:MILLISECONDS:EPOCH', '15:MINUTES'), '1:MILLISECONDS:SIMPLE_DATE_FORMAT:yyyy-MM-dd HH:mm:ss.SSS', '2021-10-01 09:00:00+00', '2021-10-01 12:00:00+00', '15:MINUTES', TIME_SERIES_ON(eventTime, lotId), FILTERING(is_occupied = 1), FILL(is_occupied,FILL_TYPE_PREVIOUS)) AS time_col,
SUM(is_occupied) AS occupied_slots_count
FROM parking_data
WHERE event_time >= '10/01/2021 09:00:00+00' AND  event_time <= '10/01/2021 12:00:00+00'
GROUP BY time_col
ORDER BY time_col

and subquery option: SELECT time_col, SUM(is_occupied) AS occupied_slots_count FROM ( SELECT PREAGGREGATEGAPFILL(DATETIMECONVERT(event_time, '1:MILLISECONDS:EPOCH', '1:MILLISECONDS:EPOCH', '15:MINUTES'), '1:MILLISECONDS:SIMPLE_DATE_FORMAT:yyyy-MM-dd HH:mm:ss.SSS', '2021-10-01 09:00:00+00', '2021-10-01 12:00:00+00', '15:MINUTES', TIME_SERIES_ON(eventTime, lotId), FILL(is_occupied,FILL_TYPE_PREVIOUS)) AS time_col, is_occupied FROM parking_data WHERE event_time >= '10/01/2021 09:00:00+00' AND event_time <= '10/01/2021 12:00:00+00') WHERE isOccupied = 1 GROUP BY time_col ORDER BY time_col
As for the first option (flat query option), the PreAggregateGapFill function contains the hint about the pre-aggregate gapfilling. Everything about pre-aggregation is contained inside this function. But its problem is that the first selection expression will generate more rows. The aggregation selection expression will reduce the number of rows. This is counterintuitive. The execution order is not explicit even though the document can provide more details. Also for first option, we need define FILTERING inside the PreAggregateGapFill function in order to filter out the gapfilled result. The second option
As for the second option (the subquery option), it separates the gapfilling step and the aggregation step. The inner query logically defines the gapfilling step. The aggregation step is defined by the outer query. Its advantage is that the execution step is more explicit than the flat query option. Its problem is that the subquery feature is not in place. It might conflict with the future implementation of subquery. The solution is to make it specific in order to prevent the conflict. When subquery is in place, pre-aggregation gapfilling can migrated to leverage the subquery feature or be compatible with subquery feature.

cc @Jackie-Jiang @mayankshriv @kishoreg @elonazoulay


Is it possible to reference Capistrano config variables?

Some of my packages need to know where I'm deploying my Rails app to so that they can create directories, write config files, etc. I can't figure out how to refer to Capistrano's "deploy_to" variable from inside my packages.
I can reference "deploy_to" from within the deployment definition as @style.config.fetch(:deploy_to). It also looks like the instance of Deployment (that contains @style) is passed into Package#process (http://rubydoc.info/gems/sprinkle/0.4.2/Sprinkle/Package/Package:process).
Is there a good way (or even a bad way, frankly) to refer to "deploy_to" and other Cap variables?

Looks like this might be a solution https://github.com/blahutka/sprinkle_packages/blob/master/lib/sprinkle_packages/capistrano.rb

More specifically, a quick monkeypatch in your policy file (install.rb commonly), before your packages are required:
#Monkey patch...
module Sprinkle::Package
  class Package
    @@capistrano = {}

    def self.set_variables=(set)
      @@capistrano = set
    end

    def self.fetch(name)
      @@capistrano[name]
    end

    def self.exists?(name)
      @@capistrano.key?(name)
    end
  end
end

then, in your deploy.rb add:
Sprinkle::Package::Package.set_variables = self.variables

and access set :user, 'bob' from packages with: Package.fetch(:domain)


[Proposal] Add getProps API Function for AppConfig Component

Description
A shortcoming of the AppConfig component implementations is that you do not have access to the request object during its rendering flow. In certain circumstances this information is really useful. An example would be to use the request objects location or cookies to configure a provider, such as the IntlProvider with its initial props.
In this PR I have a stab at making the AppConfig component a routeComponent, meaning you can implement getProps and shouldGetProps. This allows us to derive the required localization properties from the request. I also take the IntlProdiver and move it to the AppConfig where it should be.

Types of Changes

[ ] Bug fix (non-breaking change that fixes an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Documentation update
[ ] Breaking change (could cause existing functionality to not work as expected)
[ ] Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

Removing a public function or component or prop
Adding a required argument to a function
Changing the data type of a function parameter or return value
Adding a new peer dependency to package.json

Changes

Make AppConfig a route component (like App is)
Move react-intl integration from App to AppConfig

TODO's

[ ] Add additional error boundary to catch exceptions in the AppConfig's getProps

How to Test-Drive This PR

Run app, use locale selector in footer to change locale, see results

Checklists

General

[ ] Changes are covered by test cases
[ ] CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance
You must check off all items in one of the follow two lists:

[ ] There are no changes to UI

or...

[ ] Changes were tested with a Screen Reader (iOS VoiceOver or Android Talkback) and had no issues
[ ] Changes comply with WCAG 2.0 guidelines levels A and AA
[ ] Changes to common UI patterns and interactions comply with WAI-ARIA best practices

Localization

[ ] Changes include a UI text update in the Retail React App (which requires translation)

Closing. Making the AppConfig component routable doesn't feel right. For example, routeComponents will have getProps called based on the result of shouldGetProps which is ultimately based on url changes, because the app config is mounted once and the app is configured once way, it seems off to run this logic to have config changes on route change.
We are going to try again at solving this issue in another PR


KCL cli requiring a C++ toolchain?

Bug Report
KCL cli does not work for me, it fails with Error: run linker failed: stdout , stderr: collect2: fatal error: cannot find 'ld'
Why does it need a linker? I just want to run the example from the codelab: https://www.kcl-lang.io/docs/reference/lang/codelab/simple
I cannot install a C++ toolchain on this machine
1. Minimal reproduce step (Required)

Use a linux installation that does not have ld installed in the system path
Download the kcl-cli from this repo
Try to do the first step in the codelab: https://www.kcl-lang.io/docs/reference/lang/codelab/simple

2. What did you expect to see? (Required)
After running the command kcl my_config.k from the codelab I expected the config to be built.
3. What did you see instead (Required)
run linker failed: stdout , stderr: collect2: fatal error: cannot find 'ld'

4. What is your KCL components version? (Required)
v.0.9.7 from https://github.com/kcl-lang/cli/releases/download/v0.9.7/kcl-v0.9.7-linux-amd64.tar.gz

I just saw that this is documented here: https://www.kcl-lang.io/docs/user_docs/support/faq-install#errors-on-startingrunning-kcl-inside-a-container-for-permission-denied-or-file-not-found
But I want to say this seem like such an unnecessary requirement. This is just a config builder tool, it should be a simple binary that you can run with all requirements precompiled. There's no reason to build C++ code during runtime.


Trying to build for html5 results in errors.

Describe your problem here.
Whenever I try to compile my mod for html5, it gives me these errors:
source/FunkinLua.hx:2892: characters 25-39 : PlayState has no field runtimeShaders source/FunkinLua.hx:2898: characters 45-49 : Class<Paths> has no field mods source/FunkinLua.hx:2900: characters 35-39 : Class<Paths> has no field mods source/FunkinLua.hx:2902: characters 20-33 : Class<Paths> has no field getGlobalMods source/FunkinLua.hx:2902: characters 14-35 : You can't iterate on a Dynamic value, please specify Iterator or Iterable source/FunkinLua.hx:2903: characters 35-39 : Class<Paths> has no field mods source/FunkinLua.hx:2907: characters 7-17 : Type not found : FileSystem
Are you modding a build from source or with Lua?
Source
What is your build target?
HTML5/Browser
Did you edit anything in this build? If so, mention or summarize your changes.
Yes, I modified PlayState.hx and ChartingState.hx to add a new events folder inside the preload path. I also added 2 new songs, their charts, a new BF character and edited the week 1 stage.

Psych Engine isn't primarily built on Web targets in mind.

Psych Engine isn't primarily built on Web targets in mind.

Oh dang.

but the fix will be coming
if he back to working on the engine


Removes addition of CesiumJS copyright banner from ThirdParty JavaScript files

Since we won't be merging https://github.com/CesiumGS/cesium/pull/10874 till after 1.99, I think it is important that we get this fix in before the 1.99 release.
The PR ensures that the copyright banner is not added to the third party JS and worker files.

Thanks for the pull request @sanjeetsuhag!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Great, thanks @sanjeetsuhag!


Fix statusLabel disappearing problem for iOS13

issue: https://github.com/SVProgressHUD/SVProgressHUD/issues/974
I Fixed statusLabel disappearing problem.

before
after

Cannot reproduce the issue with the demo project...

I've updated the component and addressed several bugs. Please review version 2.3.0, and should you find any remaining issues, your feedback would be greatly valued.


custom type parameters

I'm submitting a
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x ] support request

Current behavior
A custom type is registered like this:
 FormlyModule.forRoot({
            types: [
                { name: 'flex-layout', component: FlexLayoutType },
              ],

I need to pass parameters to FlexLayoutType component, so I can use them in the template. Is this possible somehow? So I'm thinking of something like this:
<div
  fxLayout="{{ fxLayout }}"
  fxLayoutAlign="{{ fxLayoutAlign }}"
...
    >

Also, what data is available in the template? I mean, what's the context here?
Expected behavior
Some way to pass arbitrary data  to the custom type component and use this data in the template.
This is Angular 7.
Thanks in advance!

Pass the extra params through templateOptions of the field, you may check the following  example:
https://stackblitz.com/edit/ngx-formly-flex-layout

pass fxLayout through templateOptions:

{
    type: 'flex-layout',
    templateOptions: {
      fxLayout: 'row',
    },
}

use templateOptions inside the custom field type:

  template: `
    <div
      [fxLayout]="to.fxLayout"
    >

note: to is shortcut name for templateOptions


More user feedback when clicking the like button

When I click the like button, the app goes ahead and sends a Micropub request to my site. That all works very nice!
Unfortunately, I see nearly no feedback from the button. I liked one post two times this way, and now I visit my homepage every time after I click like, to verify that it worked.
I guess it’s impossible / not right to turn the button red / in an active state (for on the IndieWeb you can like as many times as you want, and the app can’t query the state).
But it can at least jump, show a little spinner, a checkmark, anything to show that it worked. :)

UI feedback Ian a great idea. I would suggest the app turn the button a different color while the Micropub request is pending, then changing to the confirmed state after it gets the Micropub success response. If the Micropub request fails for some reason then it could turn the button into yet another state to indicate the error. It also sounds like maybe the app could at least maintain its own cache of posts that it has created likes for in order to be able to show whether a post has been liked before. I think there's also an open issue on Microsub to return that info in the post data as well.

Thanks for opening this!
Definitely something I want to do. I've thought about a progress spinner, changing color and a success banner at the top of the screen when it's complete. I haven't come down on the final solution. Any input is welcome as I keep working on it :)

Man, you would not believe how complicated of a bug this one is to fix. I think the issue is I embedded all my quick action buttons into a UIToolbar and it seems like the UIToolbar doesn't expect the buttons to do anything. I spent a couple hours working on it today and I think I have to go back to the drawing board because that approach doesn't seem to be working 😕


What if Calc's "chars" function would convert an integer or array of integers into characters

I'm struggling to find a "clean" way to convert ints to chars apart from:
`${int@c}`

So, maybe chars(54) -> "A" would be nice... Or chars([65, 66, 67]) -> [ "A", "B", "C" ]
We're assuming we can distinguish between an array as input vs. single integer. And of course, a string input would still produce the array of individual characters.

Perhaps codes('A') -> 64 would work also (i.e., NOT produce an array for a single character string).


block: generate certificate for hare output

Motivation

Closes #3200
Part of #3199
Changes

certificate is saved in table layers instead of blocks because it's expected for hare to output empty block id for a layer, and that certifiers can certify an empty block id for a layer.
certifier waits till it has f+1 signatures and produce a certificate and save to db.
syncer fetches the certificate to use as hare output

@dshulyak can you review this PR please? thank you

bors try

bors try

bors try

bors try

bors merge


Cannot perform TTD debugging with error message "Recording of failed unexpectedly"

I'm trying to do time-travel debugging with a faulty program (Reaper).
I launch the program manually, then use "Attach to process" to attach to the software. After some time I press "Stop and Debug", it fails and shows the error:
TDD recording encounter an error:
Recording of failed unexpectedly

Recording of the error for more context:
https://github.com/user-attachments/assets/e8028480-490f-4ad3-8812-e7ba5d222ad8

If you open the log view and scroll down to where TTD is performing the recording, there should be an indication of an error and/or the location of the trace file. There are cases where windbg says this even though TTD does record successfully. We just checked in some changes that reduces the chance of that occuring as well. These changes should be available by end of the year.

When I check the log, I see the following:
EULA has been accepted.
Attaching to 38984
    Initializing the recording of process (PID:38984) on trace file: C:\Users\James\Documents\Kontakt Debugging\reaper10.run
    Recording has started of process (PID:38984) on trace file: C:\Users\James\Documents\Kontakt Debugging\reaper10.run
Warning:  Please see 'C:\Users\James\Documents\Kontakt Debugging\reaper10.out' for warning messages about your trace file

2024-11-10:14:15:13:745 : Error : DbgXUI.dll : TTD was not able to parse any process ID from the output of recording
2024-11-10:14:15:13:745 : Warning : DbgXUI.dll : TTD error: no PIDs were identified from the recorder's output
2024-11-10:14:15:13:745 : Warning : DbgXUI.dll : Microsoft (R) TTD 1.01.11 x64
Release: 1.11.429.0
Copyright (C) Microsoft Corporation. All rights reserved.

EULA has been accepted.
Attaching to 38984
    Initializing the recording of process (PID:38984) on trace file: C:\Users\James\Documents\Kontakt Debugging\reaper10.run
    Recording has started of process (PID:38984) on trace file: C:\Users\James\Documents\Kontakt Debugging\reaper10.run
Warning:  Please see 'C:\Users\James\Documents\Kontakt Debugging\reaper10.out' for warning messages about your trace file

2024-11-10:14:15:13:757 : Error : DbgXUI.dll : TTD trace file provided to load is empty or null
2024-11-10:14:15:13:757 : Error : DbgX.Services.dll : StopRecordAndDebugAsync failedSystem.ArgumentException: value cannot be null or empty (Parameter 'tracefilePath')
   at DbgXUI.Services.TtdRecordingService.LoadTracefileAndIndexAsync(String tracefilePath)
   at DbgXUI.Dialogs.RecordProgress.RecordDialog.StopRecordingAsync(Boolean loadTrace, CancellationToken token)
   at DbgX.Services.Utilities.TaskExtensionMethods.AwaitAndLog(Task task, String taskName)

When I check the folder, the files reaper10.out and reaper10.run do exist and have non-zero sizes. Does this mean TTD is recorded successfully?

Yes it does mean the recording is likely successful, you can open the trace file from the File menu. The fix should be available in January.


[HUDI-7112] Reuse existing timeline server and performance improvements

Change Logs

Allows users to reuse a running timeline server for other tables
Minor performance improvements around object reuse and creation
Use of AfterburnerModule where we saw a 22% increase in throughput for to/from json on the base file DTOs used in the timeline server

Impact

Allows users to lower overhead when running multiple writers in the same JVM by reusing the underlying server instance
Performance improvement in the json (de)serialization

Risk level (write none, low medium or high below)
low - feature for reusing the server is off by default
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed


Error when try to access Logs index

Accessing the logs in the admin panel gives you an error:

ans second time this error:

To reproduce:
Follow the installation instructions, then install the plugins, the add the HasRole to the user model

Under the hood, this package creates and caches a SQLite database JUST for this model. It creates a table and populates the rows. If, for whatever reason, it can't cache a .sqlite file, it will default to using an in-memory sqlite database.
so you need to install php8.2-sqlite3 extension
if you are using Linux please use this command to install it
sudo apt-get install php8.2-sqlite3

I belive that I have that as my php version is 8.2 and I can easily run PEST and sqlite for my own projects
and... I'm on a MAC :)