nixos/cosmic: init

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Wouldn't it be better to place this project in nixos/modules/services/desktops/? From all I can tell, Cosmic is not a X11 desktop, nor does it have X11 support (other than xwayland)?
I do think that maybe there should be a nixos/modules/services/desktops/wayland or nixos/modules/services/wayland/desktops/ just so that when there is another protocol or something that comes out that we have a structure to separate it as we have done with X11 sofar.

Wouldn't it be better to place this project in nixos/modules/services/desktops/? From all I can tell, Cosmic is not a X11 desktop, nor does it have X11 support (other than xwayland)?

This directory has nothing to do with X11 any longer and Wayland-only desktop environments also exist in that directory. It's just as misnamed as services.xserver.* at this point, which all have to do with anything graphical (X11 or not)
The nixos/modules/services/desktops directory is for desktop services, not desktop environments, and would be an inappropriate place to put it

I do think that maybe there should be a nixos/modules/services/desktops/wayland or nixos/modules/services/wayland/desktops/ just so that when there is another protocol or something that comes out that we have a structure to separate it as we have done with X11 sofar.

Honestly we should probably just make it one graphical directory/option namespace instead of x11/xserver. Feel free to propose that for NixOS though! It's just a bigger discussion than this PR

I tried this and it failed to start due to what appears to be a hardcoded path to xdg-desktop-portal-cosmic.
thread 'main' panicked at 'failed to start /usr/libexec/xdg-desktop-portal-cosmic': src/main.rs:405

Full Log
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: Starting cosmic-session
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: starting process ' COSMIC_SESSION_SOCK=12 cosmic-comp '
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.423345Z  INFO cosmic_session: Starting cosmic-session
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.423399Z  INFO launch_pad: starting process ' COSMIC_SESSION_SOCK=12 cosmic-comp '
Jan 25 13:12:21 kevinryzen .cosmic-comp-wrapped[4659]: Failed to read config 'workspaces'
Jan 25 13:12:21 kevinryzen .cosmic-comp-wrapped[4659]: Failed to read config 'xkb-config'
Jan 25 13:12:21 kevinryzen .cosmic-comp-wrapped[4659]: Failed to read config 'input-default'
Jan 25 13:12:21 kevinryzen .cosmic-comp-wrapped[4659]: Failed to read config 'input-touchpad'
Jan 25 13:12:21 kevinryzen .cosmic-comp-wrapped[4659]: Failed to read config 'input-devices'
Jan 25 13:12:21 kevinryzen .cosmic-comp-wrapped[4659]: Unable to become drm master, assuming unprivileged mode
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: got environmental variables from cosmic-comp: [("DISPLAY", ":0"), ("WAYLAND_DISPLAY", "wayland-1")]
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.680154Z  INFO cosmic_session: got environmental variables from cosmic-comp: [("DISPLAY", ":0"), ("WAYLAND_DISPLAY", "wayland-1")]
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: starting process ' cosmic-settings-daemon '
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.683283Z  INFO launch_pad: starting process ' cosmic-settings-daemon '
Jan 25 13:12:21 kevinryzen systemd[2133]: Reached target Cosmic Session Target.
Jan 25 13:12:21 kevinryzen systemd[2133]: Reached target Current graphical user session.
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland DAEMON_NOTIFICATIONS_FD=19 WAYLAND_SOCKET=22 cosmic-notifications '
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.688199Z  INFO launch_pad: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland DAEMON_NOTIFICATIONS_FD=19 WAYLAND_SOCKET=22 cosmic-notifications '
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: sending 1 fds
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland PANEL_NOTIFICATIONS_FD=13 WAYLAND_SOCKET=22 cosmic-panel '
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.688721Z  INFO cosmic_session::comp: sending 1 fds
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.688740Z  INFO launch_pad: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland PANEL_NOTIFICATIONS_FD=13 WAYLAND_SOCKET=22 cosmic-panel '
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=22 cosmic-app-library '
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.689205Z  INFO launch_pad: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=22 cosmic-app-library '
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: sending 1 fds
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=23 cosmic-launcher '
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.689683Z  INFO cosmic_session::comp: sending 1 fds
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.689698Z  INFO launch_pad: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=23 cosmic-launcher '
Jan 25 13:12:21 kevinryzen .cosmic-notifications-wrapped[4764]: cosmic-notifications (com.system76.CosmicNotifications)
Jan 25 13:12:21 kevinryzen .cosmic-notifications-wrapped[4764]: Version: 0.1.0 (release)
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=32 cosmic-workspaces '
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.690137Z  INFO launch_pad: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=32 cosmic-workspaces '
Jan 25 13:12:21 kevinryzen .cosmic-notifications-wrapped[4764]: Current Locale: [LanguageIdentifier { language: Language(Some("en")), script: None, region: Some(Region("CA")), variants: None }, LanguageIdentifier { language: Language(Some("en")), script: None, region: Some(Region("GB")), variants: None }, LanguageIdentifier { language: Language(Some("en")), script: None, region: None, variants: None }]
Jan 25 13:12:21 kevinryzen .cosmic-notifications-wrapped[4764]: No such file or directory (os error 2)
Jan 25 13:12:21 kevinryzen .cosmic-notifications-wrapped[4764]: No such file or directory (os error 2)
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: 2024-01-25T18:12:21.689832Z  INFO cosmic_notifications: cosmic-notifications (com.system76.CosmicNotifications)
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: 2024-01-25T18:12:21.689845Z  INFO cosmic_notifications: Version: 0.1.0 (release)
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.690568Z  INFO cosmic-notifications: cosmic_session::notifications: 2024-01-25T18:12:21.689832Z  INFO cosmic_notifications: cosmic-notifications (com.system76.CosmicNotifications)
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.690576Z  INFO cosmic-notifications: cosmic_session::notifications: 2024-01-25T18:12:21.689845Z  INFO cosmic_notifications: Version: 0.1.0 (release)
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.690612Z  INFO cosmic_session::comp: sending 1 fds
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.690625Z  INFO launch_pad: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=36 cosmic-osd '
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: sending 1 fds
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=36 cosmic-osd '
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: 2024-01-25T18:12:21.690210Z  INFO i18n_embed::requester: Current Locale: [LanguageIdentifier { language: Language(Some("en")), script: None, region: Some(Region("CA")), variants: None }, LanguageIdentifier { language: Language(Some("en")), script: None, region: Some(Region("GB")), variants: None }, LanguageIdentifier { language: Language(Some("en")), script: None, region: None, variants: None }]
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: 2024-01-25T18:12:21.690270Z ERROR cosmic::app::core: No such file or directory (os error 2)
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.691032Z  INFO cosmic-notifications: cosmic_session::notifications: 2024-01-25T18:12:21.690210Z  INFO i18n_embed::requester: Current Locale: [LanguageIdentifier { language: Language(Some("en")), script: None, region: Some(Region("CA")), variants: None }, LanguageIdentifier { language: Language(Some("en")), script: None, region: Some(Region("GB")), variants: None }, LanguageIdentifier { language: Language(Some("en")), script: None, region: None, variants: None }]
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.691038Z  INFO cosmic-notifications: cosmic_session::notifications: 2024-01-25T18:12:21.690270Z ERROR cosmic::app::core: No such file or directory (os error 2)
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.691042Z  INFO cosmic-notifications: cosmic_session::notifications: 2024-01-25T18:12:21.690275Z ERROR cosmic::app::core: No such file or directory (os error 2)
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: 2024-01-25T18:12:21.690275Z ERROR cosmic::app::core: No such file or directory (os error 2)
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.691073Z  INFO launch_pad: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=40 cosmic-bg '
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=40 cosmic-bg '
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: sending 1 fds
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.691504Z  INFO cosmic_session::comp: sending 1 fds
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.691525Z  INFO launch_pad: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=50 PORTAL_WAYLAND_SOCKET=44 /usr/libexec/xdg-desktop-portal-cosmic '
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: starting process ' DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=50 PORTAL_WAYLAND_SOCKET=44 /usr/libexec/xdg-desktop-portal-cosmic '
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-panel[4765]: Panel Entry Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Jan 25 13:12:21 kevinryzen cosmic-session[4645]: thread 'main' panicked at 'failed to start /usr/libexec/xdg-desktop-portal-cosmic': src/main.rs:405
                                                    0: <backtrace::capture::Backtrace as core::default::Default>::default
                                                    1: log_panics::Config::install_panic_hook::{{closure}}
                                                    2: std::panicking::rust_panic_with_hook
                                                    3: std::panicking::begin_panic_handler::{{closure}}
                                                    4: std::sys_common::backtrace::__rust_end_short_backtrace
                                                    5: rust_begin_unwind
                                                    6: core::panicking::panic_fmt
                                                    7: cosmic_session::start_component::{{closure}}
                                                    8: cosmic_session::start::{{closure}}
                                                    9: <core::pin::Pin<P> as core::future::future::Future>::poll
                                                   10: tokio::runtime::scheduler::current_thread::Context::enter
                                                   11: tokio::runtime::context::set_scheduler
                                                   12: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
                                                   13: tokio::runtime::runtime::Runtime::block_on
                                                   14: cosmic_session::main
                                                   15: std::sys_common::backtrace::__rust_begin_short_backtrace
                                                   16: std::rt::lang_start::{{closure}}
                                                   17: std::panicking::try
                                                   18: std::rt::lang_start_internal
                                                   19: std::rt::lang_start
                                                   20: __libc_start_call_main
                                                   21<EMAIL_ADDRESS>                                                   22: _start
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]: 2024-01-25T18:12:21.693111Z ERROR panic: thread 'main' panicked at 'failed to start /usr/libexec/xdg-desktop-portal-cosmic': src/main.rs:405
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:    0: <backtrace::capture::Backtrace as core::default::Default>::default
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:    1: log_panics::Config::install_panic_hook::{{closure}}
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:    2: std::panicking::rust_panic_with_hook
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:    3: std::panicking::begin_panic_handler::{{closure}}
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:    4: std::sys_common::backtrace::__rust_end_short_backtrace
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:    5: rust_begin_unwind
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:    6: core::panicking::panic_fmt
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:    7: cosmic_session::start_component::{{closure}}
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:    8: cosmic_session::start::{{closure}}
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:    9: <core::pin::Pin<P> as core::future::future::Future>::poll
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:   10: tokio::runtime::scheduler::current_thread::Context::enter
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:   11: tokio::runtime::context::set_scheduler
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:   12: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:   13: tokio::runtime::runtime::Runtime::block_on
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:   14: cosmic_session::main
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:   15: std::sys_common::backtrace::__rust_begin_short_backtrace
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:   16: std::rt::lang_start::{{closure}}
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:   17: std::panicking::try
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:   18: std::rt::lang_start_internal
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:   19: std::rt::lang_start
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:   20: __libc_start_call_main
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:   21<EMAIL_ADDRESS>Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:   22: _start
Jan 25 13:12:21 kevinryzen /nix/store/6z8cf3nfr8dafnxkzdsq31dw4l5pzzwj-gdm-45.0.1/libexec/gdm-wayland-session[4645]:
Jan 25 13:12:21 kevinryzen systemd[2133]: Stopped target Cosmic Session Target.
Jan 25 13:12:21 kevinryzen systemd[2133]: Stopped target Current graphical user session.

I tried this and it failed to start due to what appears to be a hardcoded path to xdg-desktop-portal-cosmic.
thread 'main' panicked at 'failed to start /usr/libexec/xdg-desktop-portal-cosmic': src/main.rs:405

Full Log

I believe this line needs to reference the full bin path, not just the package path:
https://github.com/NixOS/nixpkgs/blob/7d758e356c089b84f66e213eefc4b34d9f25c0c3/pkgs/by-name/co/cosmic-session/package.nix#L56
The upstream flake uses /run/current-system/sw/bin/xdg-desktop-portal-cosmic instead of ${xdg-desktop-portal-cosmic}/bin/xdg-desktop-portal-cosmic. I'm not sure which one we want to use

IDK. There are tradeoffs. If you nixos-rebuild switch it may be nice to get the new portal. However IDK how stable the APIs between the portal and compositor is. It may be best to keep it version-locked so that you keep using the current version until you re-launch your session.
I would prefer to pin the exact version unless we hit some issue that requires us to reference the current version in /run/current-system/sw/bin/.


F-Droid

Pls push update on fdroid as soon as possible.

It was already submitted and it waits to be merged. It will take couple more days at least.

Latest stable release is available on F-Droid.

@moneytoo Did you stopped updating app in fdroid ? The latest fdroid version is still 0.45.

I will probably push next update to F-Droid in two weeks.

@moneytoo thank you .


Update release action

@trallard and @Carreau I think this will fix the release action (see https://github.com/pydata/pydata-sphinx-theme/pull/1758#issuecomment-2093791105), but it's late on a Friday and to test it I'd have to self-merge and then tag another release; seems prudent to wait for a second set of eyes.

(FWIW I did check that the versions of the upload/download artifact actions were all compatible, and they are (upload/download are both v4, and the package build action is v2 which should be the right one)

Thanks @trallard I'll look soon then try to cut another RC today

release action works now!  Except I forgot to bump the version number in __init__.py so PyPI says 0.15.3rc1 but GitHub release says 0.15.3rc2. 🤦🏻


Bounce with Redis

Hey.
I would like to suggest that Bouncer becomes Redis-aware. I wanted to add Bouncer to my project, but it is heavily Redis based and therefore installing Memcached would be a bit of an overhead.
Since Redis is easily usable in PHP, would it be possible to make Bouncer aware of Redis?

Bouncer is already Redis aware. And it's even recommended to use it as a backend. You can use it like that:
Bouncer::run(array('backend' => 'phpredis', 'servers' => array('<IP_ADDRESS>'));


[SUPPORT] Table or view not found error in Hoodie Delta Streamer

HI,
I am getting "Table or view not found error", when I am using below transformer sql in hoodie preperties file.
" hoodie.deltastreamer.transformer.sql=SELECT a.CLM_HDR_ADMISSION_DETAIL_SID, a.CLAIM_HEADER_SID, a.ADMISSION_TYPE_LKPCD, a.ADMISSION_SOURCE_LKPCD, a.PATIENT_STATUS_LKPCD, a.CREATED_BY, to_date(a.CREATED_DATE,'DD-MON-YYYY HH24:MI:SS AM') as CREATED_DATE, a.MODIFIED_BY, to_date(a.MODIFIED_DATE,'DD-MON-YYYY HH24:MI:SS AM') as MODIFIED_DATE, b.clm_enc_flag, string(year(to_date(a.CREATED_DATE))) as year, string(month(to_date(a.CREATED_DATE))) as month FROM  a, default.ad_claim_header_ro b WHERE a.claim_header_sid = b.claim_header_sid"
Here "default.ad_claim_header_ro" table were successfully loaded into S3 partition buckets(hudi datasets). Since the table was loaded into the target, I am trying to get the column from the table with using inner join.
While reading the data from Ad_Claim_Header table, am getting the "Table or view not found" error. But the tables are already exists in the particular database(default) and S3 path.
I can able to query the Ad_Claim_Header table in HIVE and Spark sql without any issues. Only the problem in Apache Hudi. Is that anywhere, do we need to do any of the configuration for reading the existing tables while doing the processing of another datasets.
Can anyone please help me on this.
spark-submit --class org.apache.hudi.utilities.deltastreamer.HoodieDeltaStreamer
--packages org.apache.hudi:hudi-utilities-bundle_2.11:0.5.2-incubating,org.apache.spark:spark-avro_2.11:2.4.5
--master yarn --deploy-mode cluster
--conf spark.serializer=org.apache.spark.serializer.KryoSerializer
--conf spark.sql.hive.convertMetastoreParquet=false
/usr/lib/hudi/org.apache.hudi_hudi-utilities-bundle_2.11-0.5.2-incubating.jar
--table-type MERGE_ON_READ
--op BULK_INSERT
--source-ordering-field CLM_HDR_ADMISSION_DETAIL_SID
--props s3://aws-glue-udp-e2e-bkt-raw/properties/ad-clm-hdr-admission-detail.properties
--source-class org.apache.hudi.utilities.sources.ParquetDFSSource
--target-base-path s3://aws-glue-udp-e2e-bkt-dtlke-raw/adj-claim/PRDMMIS/ad_clm_hdr_admission_detail --target-table default.ad_clm_hdr_admission_detail
--transformer-class org.apache.hudi.utilities.transform.SqlQueryBasedTransformer
--payload-class org.apache.hudi.payload.AWSDmsAvroPayload
--enable-hive-sync
Properties File
hoodie.datasource.write.keygenerator.class=org.apache.hudi.keygen.ComplexKeyGenerator
hoodie.datasource.write.partitionpath.field=year,month
hoodie.deltastreamer.transformer.sql=SELECT a.CLM_HDR_ADMISSION_DETAIL_SID, a.CLAIM_HEADER_SID, a.ADMISSION_TYPE_LKPCD, a.ADMISSION_SOURCE_LKPCD, a.PATIENT_STATUS_LKPCD, a.CREATED_BY, to_date(a.CREATED_DATE,'DD-MON-YYYY HH24:MI:SS AM') as CREATED_DATE, a.MODIFIED_BY, to_date(a.MODIFIED_DATE,'DD-MON-YYYY HH24:MI:SS AM') as MODIFIED_DATE, b.clm_enc_flag, string(year(to_date(a.CREATED_DATE))) as year, string(month(to_date(a.CREATED_DATE))) as month FROM  a, default.ad_claim_header_ro b WHERE a.claim_header_sid = b.claim_header_sid
hoodie.datasource.write.recordkey.field=CLM_HDR_ADMISSION_DETAIL_SID
hoodie.datasource.write.hive_style_partitioning=true
#hive sync settings, uncomment if using flag --enable-hive-sync
hoodie.datasource.hive_sync.partition_fields=year,month
hoodie.datasource.hive_sync.partition_extractor_class=org.apache.hudi.hive.MultiPartKeysValueExtractor
hoodie.datasource.hive_sync.table=ad_clm_hdr_admission_detail
#DFS Source
hoodie.deltastreamer.source.dfs.root=s3://aws-glue-udp-e2e-bkt-raw/adj-claim/PRDMMIS/AD_CLM_HDR_ADMISSION_DETAIL
Environment Description

EMR version : 5.33

Hudi version : hudi-utilities-bundle_2.11-0.5.2-incubating.jar

Spark version : 2.4.7

Hive version : 2.3.7

Hadoop version : 2.10.1

Storage (HDFS/S3/GCS..) :S3

Running on Docker? (yes/no) : No

Can anyone please help me on this.
Thanks in advance.

I am not sure if you can join w/ hudi table from within a transformer. from what I know, incoming df is treated as a table (sparksession.registerTempTable()) and then you can perform a sql query on top of it to produce output df before ingesting to hudi.
@bvaradar : Can you help here.

The spark invocation needs to have hive configurations setup correctly so that it can talk to HMS and have spark sql working. can you confirm that.

@TamilselvanBalaiah You have to place the hive-site.xml within <SPARK_INSTALL>/conf/ dir.

@TamilselvanBalaiah any updates on this?

We have a tracking jira to support querying hive tables via sql transformer. We plan to support this for 0.11.0. Closing the issue for now.


Not tracked on dynamic content

Hi,
I'm reporting an issue with this, or maybe I'm doing something wrong.
Everything work fine for nearly all of my website.
The problem come in my blog on the single post pages, where user is not detected.
However, the googletagmanager is loaded normally in thoses page, as the others pages.
My single post pages load content from external wordpress endpoint and inject them in my page with this code :

async asyncData({ $axios, params}) {
    const post = await $axios.get('https://blog.deussearch.fr/wp-json/wp/v2/posts/'+params.postid);
    const post_data = post.data;
    return {
       post_data
   }
 },

Maybe it's this code who break the system ?

I'm sorry, I have no idea how to help you on this one.


Capture path in http_server input

Is it possible to extract parts of the path of http_server input?
eg.
input:
http_server:
address: ""
path: /post
allowed_verbs:
- GET
timeout: 5s
rate_limit: ""
I would like to call, http://localhost:4195/post/foo/123456 and to use the parts of the path ("foo" and "123456") in the following processing steps.
Thanks for your help.

Hey @abasse, not currently but it can easily be added as a metadata field.

Hi @Jeffail, that would be fantastic. Something you can consider for the next release? :)
I also would like to say thank you, Benthos is fantastic!


Email addresses incorrectly parsed

VCF exported from GMail has the line:
<EMAIL_ADDRESS>
This line parses as:
◢ | EmailAddresses | Count = 1 | System.Collections.Generic.List<vCardLib.Models.EmailAddress>
  | ◢ [0] | {vCardLib.Models.EmailAddress} | vCardLib.Models.EmailAddress
  | Email |<EMAIL_ADDRESS>| string
  | Type | None | vCardLib.Enums.EmailType

Thanks for reporting this @jbrockerville . Would take a look


Refactor: CSV to be comma separated

Currently most of the CSV files (but not all) are : separated. Unfortunately, GitHub does not render this in a pretty fashion like it does with CSV files separated with ,.
Would you consider refactoring the CSV files to be consistently comma-separated? Or is this in order to preserve the original data format?

I think I found all the offending files and in some cases it is due to names of food items containing commas (e.g. Meat, Other)
Not sure why I chose :, but in all cases is an arbitrary choice made by me.
Apparently double quotes can be used to enclose strings containing a comma. I'll test this and open a PR if successful.
In any case, some of the files involved in this are no longer necessary as most of the data used by the package will be stored in NetCDF format to be loaded by xarray.


how to call slider by instanceName?

Hi, i know its not an issue but i have no idea how i call the Slider by instance
i use swiper ssr via directive and have multiple sliders they all work but i just dont know how to use them by instanceName :D

thanks for help

i found it just
this.instanceName

Hi @cannap How did you make multiple instances? I'm using SSR via Nuxt with swiper in component mode.
In the vue file importing the same component:
import carouselA from "~/components/carouselA.vue"; import carouselB from "~/components/carouselA.vue"; export default { components: { SliderchicasA, SliderchicasB } };
The component file:
  I've tried many ways, but with no result, thanks for reading.

@cannap
So the component need to be called like this:
<component :instanceName="swiperA" />


App won't open

Hi i'm using macOS Mojave ver 10.14.2, in vmware pro I downloaded the Control.Center.dmg opened archive copied app to Applications.
When I click on app nothing happens, just doesn't launch?

Since it's a menubar app so it won't show the icon in the Dock after you open the app. You can check if your app has been opened by looking at your menubar, and find the Control Center icon.

Hello,
I am using macOS High Sierra 10.13.6, and I am experiencing a similar issue as OP. I have followed the instructions, and when I click on the Control Center.app file in Applications, nothing happens. I don't see the Control Center icon in the menubar.
Sometimes when I click on the Control Center.app, I get the following error :
“Control Center” can’t be opened. You should move it to the Trash.
Thanks for your help!

Hello,
I am using macOS High Sierra 10.13.6, and I am experiencing a similar issue as OP. I have followed the instructions, and when I click on the Control Center.app file in Applications, nothing happens. I don't see the Control Center icon in the menubar.
Sometimes when I click on the Control Center.app, I get the following error :
“Control Center” can’t be opened. You should move it to the Trash.
Thanks for your help!

I've updated the instruction on how to fix it in the README. Let me know if you still can't open the app.

I've updated the instruction on how to fix it in the README. Let me know if you still can't open the app.
Run the following command:
sudo spctl --master-disable
If you still cannot open the app, try with a different command:
sudo xattr -d com.apple.quarantine /Applications/Control\ Center.app #Assuming the app is in the Applications folder

Thank you very much for your reply.
I tried both commands, but the application still does not open. I do  not see any icon in the menubar after trying to launch Control Center.app from Applications folder.

I've updated the instruction on how to fix it in the README. Let me know if you still can't open the app.
Run the following command:
sudo spctl --master-disable
If you still cannot open the app, try with a different command:
sudo xattr -d com.apple.quarantine /Applications/Control\ Center.app #Assuming the app is in the Applications folder

Thank you very much for your reply.
I tried both commands, but the application still does not open. I do not see any icon in the menubar after trying to launch Control Center.app from Applications folder.

Could you attach a screenshot/video?

when opening binary file - “Control Center” can’t be opened. You should move it to the Trash

Last login: Tue Jul 14 09:06:21 on ttys001
192:~ username$ sudo xattr -d com.apple.quarantine /Applications/Control\ Center.app ; exit;
Password:
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]

Last login: Tue Jul 14 09:07:35 on ttys001
192:~ username$ sudo spctl --master-disable ; exit;
Password:
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]

Yeeesss this works, it prompted me to download xcode tools, just ignored and worked:
sudo xcode-select --install && sudo codesign --force --deep --sign - /Applications/Control\ Center.app

Yeeesss this works, it prompted me to download xcode tools, just ignored and worked:
sudo xcode-select --install && sudo codesign --force --deep --sign - /Applications/Control\ Center.app

So you've able to run the app, right?

@jasonmac75 I confirm that the codesign command worked as well for me. I already had the xcode tools. I can now see the icon in the menubar and it seems to be working.
Thanks for the tip!
Cheers!


MqttManagedClient Disconnected Event Not Firing on Server.StopAsync

Hello,
This may be related to https://github.com/chkr1011/MQTTnet/issues/259. If so, feel free to merge them.
The difference is he does not mention that it is occurring on the IManagedMqttClient disconnected event. All my tests assume the Server and Client are on the same machine, so network traffic/firewall should not be a consideration.
I have 2 console apps based on the wiki. One is acting as the server and the other as client(s) where the client code is based on IManagedMqttClient.
I can start the server, and a client. If I then disconnect the client using Client.StopAsync(), the servers Server_ClientDisconnected responds immediately. If I reconnect the client, Server_ClientConnected responds immediately.
However, if I stop the server (via Server.StopAsync()) the client does not respond the same. A considerable amount of time passes before the client realizes the server is not connected and fires Client_Disconnected. I would assume that occasionally the client pings the server as in a keepalive and this is when the disconnect is detected. If I close the server application entirely, the clients then respond immediately.
This is problematic because since the client is unaware of the disconnection, messages are sent to a black whole (are not queued) as if a connection exists when it does not.
Note that in machine to machine tests, I found that the disconnected events did not fire on either side using the same StopAsync functions even though the messaging worked as expected. However, I am not convinced this was not either network or firewall issues.
Thanks for a great library. I believe I can improve on this using IMqttClient by writing my own message queuing routine, but thought I'd mention this in case it was important enough to track down.

Hi,
which Version of the lib do you use?
Best regards
Christian

I added a test and verified it is broken in dev branch I will try to fix it

What did you find? Is the adapter not properly closed?

have a look at https://github.com/JanEggers/MQTTnet/tree/ServerShutdown I created a test and moved stuff around so the event is firing, but something is blocking for 12 seconds now and i didnt yet find what it is

hmm seem there is a bug in networkstream :(
https://github.com/dotnet/corefx/issues/24430
ill add a workaround from there

I have the same problem in 2.8.0 and 2.8.1

I got the same problem on 2.8.1, but did not understand if it has been solved, or not?
Thank you.

I still have this issue.
Using version 3.0.15 on dotnet5.0
My client can connect to the broker, but when I just close my console window, I get a bunch of socketexceptions and in between those I get some MqttExceptions
SocketExceptions:
"An existing connection was forcibly closed by the remote host."
"An established connection was aborted by the software in your host machine"
MqttProtocolViolationException:
"MQTTnet.Exceptions.MqttProtocolViolationException: 'Reason codes and reason string for disconnect are only supported for MQTTv5.'"

[Call Stack Truncated]
this is my code for setting up the broker:
			_logger.LogInformation("Starting mqtt broker");
			var options = new MqttServerOptionsBuilder()
			.WithDefaultEndpoint()
			.WithEncryptionSslProtocol(System.Security.Authentication.SslProtocols.Tls12)
			.WithApplicationMessageInterceptor(async x =>
			{
				_logger.LogDebug($"NEW MESSAGE: {{Topic: {x.ApplicationMessage.Topic}, Message: {Encoding.UTF8.GetString(x.ApplicationMessage.Payload)}}} ");
				var publisMessage = new MessageReceivedNotification { Topic = x.ApplicationMessage.Topic, ClientId = x.ClientId, Message = Encoding.UTF8.GetString(x.ApplicationMessage.Payload) };
				await _broker.Publish(publisMessage);

				x.AcceptPublish = true;
			})
			.WithSubscriptionInterceptor(x =>
			{
				_logger.LogDebug($"NEW SUBSCRIPTION: {{ClientId: {x.ClientId}, Filters: {x.TopicFilter}}} ");
				x.AcceptSubscription = true;
			})
			.WithConnectionValidator(async x =>
			{
				_logger.LogDebug($"NEW CONNECTION: {{ClientId: {x.ClientId}, Endpoint: {x.Endpoint}}}, Client certificate subject: {x.ClientCertificate?.Subject}, " +
					$"Client certificate thumbprint: {x.ClientCertificate?.Subject}, Authentication method: { x.AuthenticationMethod}, Is Secure: { x.IsSecureConnection}, " +
					$"UserName: { x.Username}");
				_logger.LogInformation($"Client '{x.ClientId}' connected");

				if (_connectionManager.IsClientAlreadyConnected(x.ClientId))
				{
					_logger.LogInformation($"Client '{x.ClientId}' already connected.");
					x.ReasonCode = MQTTnet.Protocol.MqttConnectReasonCode.ClientIdentifierNotValid;
					return;
				}

				await _broker.Publish(new ConnectionNotification { ClientId = x.ClientId});

			}).WithDisconnectedInterceptor(x => {
				_logger.LogInformation($"Client '{x.ClientId}' disconnected");
				_broker.Publish(new DisconnectNotification { ClientId = x.ClientId });
			})
			.Build();

			_server = new MqttFactory().CreateMqttServer();
			await  _server.StartAsync(options);

Closing this due to inactivity. If the issue is not solved or closing is a mistake please feel free to reopen it.


Switch to the NPM version of the hammerhead

Requires superroma/testcafe-hammerhead#25 resolution

#47 is blocking


Code block followed by a string adds a  into the code block instead of outside

What happened?
I came across the below repl that sets up Markdoc for use with SvelteKit. It works fine but when i add a code block, followed by text, it adds an extra  character into the code block, rather than outside, so the code block looks longer and joins the following words.
See below.
How can this be fixed?? Is it a bug?
To reproduce
Test in this repl where i found the code (not my repl):
Add this to the doc:
  \code` following word
`code`
`
The result should look incorrect like this (but the last code line shows how I'd expect it to normally look:

Version
0.3.1
Additional context
No response

Hey, just chiming in - this is a problem if you try to do a custom rendering using <svelte:self>, <svelte:element> and <svelte:component>. {@html Markdoc.renderers.html(node)} works though.


Santa Fe Hev 2022 Fingerprint

Can you provide the dongle id these came from?

Can you provide the dongle id these came from?

of course - 36921882a3bf0f19

I just removed some duplicate versions from the other FW queries, looks good!


HTML

HTML
User Story
As a BootCamp student,
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework study guide website
WHEN I visit the website in any browser
THEN I see four boxes titled HTML, CSS, Git, and Javascript with associated notes listed

I have completed the acceptance criteria.


Bump kubernetes and ginkgo deps

Fixes https://github.com/mariadb-operator/mariadb-operator/issues/225 https://github.com/mariadb-operator/mariadb-operator/issues/3

Thanks for addressing this! LGTM

@mhuin thanks for taking a look. It's almost done, will be merged soon


Contribute script console script?

I can write a script console script which configures this plugin via the Jenkins Script Console.  This helps to configure a large amount of clouds all in one go for this plugin and helps to stabilize master configurations for users of this plugin.
@KostyaSha would you be interested in me contributing a script console script?  It could go under docs/scripts as an idea.  Let me know.  I wouldn't mind taking ownership of the script and making updates to it.

docs scripts are fine

Great!  I'll work on it this weekend and contribute it back.

@samrocketman great, it's something I wanted to do but didn't progress due to lack of time. fwiw, I was looking for starting from what the riotgames guys have done: https://github.com/maxfields2000/dockerjenkins_tutorial/tree/master/jenkinsscripts

@fboudra thanks for the pointer at Riot Games scripts.  I'll look them over for inspiration.  I already have a good idea for how the script can be scalable for others.

I'll contribute a script for 0.1.0-rc31.  I'll update the script when #136 is fixed.

@fboudra I contributed the script in #139.  It's much more robust than examples listed in https://github.com/maxfields2000/dockerjenkins_tutorial/tree/master/jenkinsscripts.
It's using JSONArray and JSONObject to configure an unlimited number of clouds with an unlimited number of templates.


Rename validate to appimagevalidate

This is not a good idea for a binary name; it conflicts on my system.
I understand it started as an example program but when installed it no longer makes sense to call it just validate. However, I moved it back to the old name in the AppImage build. :-)

You should not sudo make install this project. This tool doesn't perform a lot validation, really, that suggested name is totally misleading.


how to pause or resume group consumer?

I need to pause and resume the consumer for processing the messages which requires some time.

Consumers will automatically pause fetching new messages for the currently processing topic/partition pair. It means no new messages will be fetched until your message handler resolves returned promise.

Thanks.


About finetune

Hello,when I use your ResT_base weight to my fine-frained image classification task, I use the "--finetune",but i got a mistake . in 264 line(main.py) :
**UnboundLocalError: local variable 'model_without_ddp' referenced before assignment.**how can i fix it?
by the way, in line 431 in main.py:  n_parameters is not define,can you give the definition？

The main.py has been updated, the bash of fine-tuning a pre-trained rest is added in get_started.md


update example links to colab

deleted "auth" at the end of the links

Thank you!
These links are already updated, but we are looking forward to readme update 😉


Fix: exception when the size of pdAddresse is > 1

What problem does this PR solve?
When config with multi pdAddresses, telemetry throw exception

What is changed and how it works?

Make the telemetry work with multi pdAddresses
Make the auth work with multi pdAddresses

Check List
Tests

Manual test (add detailed scripts or steps below)
tiup cluster start 2 pd nodes, and run the tests

/run-all-tests

/merge


OpenWeatherMap weather component returns wind speed in kph, regardless of HA units setting

Home Assistant release with the issue:

0.78.3
Last working Home Assistant release (if known):
N/A
Operating environment (Hass.io/Docker/Windows/etc.):

Docker
Component/platform:

https://www.home-assistant.io/components/weather.openweathermap/
Description of problem:
The OpenWeatherMap component is hard-coded to return the wind speed (which OWM reports in m/s) as kph, which gets incorrectly reported as mph on the weather card in the HA UI when not using metric values.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
 weather:
   - platform: openweathermap
     api_key: !secret owm_api_key

Additional information:
The code simply multiplies the returned speed by 3.6, which is the conversion constant between m/s and kph.
If HA is configured for non-metric units, then a conversion factor of 2.24 should be used.

Related issue #16793.


BDI/BGE: update BGE to referenced advance mapping if enabled

Previous to change, BGE was reading mapping information used for configuration and setup of a batch directly from the help text, which would render it incompatible with the new advanced mapping BDI engine that stores this configuring in custom metadata types.
This change refactors the configuration and form setup to use shared behaviors of the new mapping classes, namely "Map<SObjectField, BDI_TargetFields> targetFieldsBySourceField" which is set up similarly for both mapping types. It also improves the responsiveness and performaces of the interface by storing the mapping information as a static variable so that the configuration is loaded once per session and can be referenced.
Two methods of BDI_DataImportService - getTargetField() and getTargetObject() - are not needed after the change.
Because the same source DI field can be mapped to multiple target fields, there is a scenario where a picklist could be mapped to two different picklist fields, say one on opportunity and one on payment. Furthermore these target fields could have different picklist options.
Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata

@ptewson-sfdo when I added myself as reviewer it removed everyone else, I tried to assign who I remembered it being assigned to before, but it was so quick I didn't catch all the names. Sorry!


I have a new USB Wireless Adapter That have Chipset Ralink MT-7601 and wondering if it has a monitor mode??

This are the nformation about it Please If you can tell me if it is good for Kali Linux ??
Regards!!

MT7601 (MediaTek) is an excellent chipset that is supported by the Linux kernel out of the box:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/wireless/mediatek/mt7601u?h=v5.10.9
hcxdumptool will work fine on it (even with the supplied antenna):
$ hcxdumptool -I
wlan interfaces:
74da38eb4600 wlp39s0f3u1u1u2 (mt7601u)

$ sudo hcxdumptool -i wlp39s0f3u1u1u2 -C
initialization...
available channels:
  1 / 2412MHz (30 dBm)
  2 / 2417MHz (30 dBm)
  3 / 2422MHz (30 dBm)
  4 / 2427MHz (30 dBm)
  5 / 2432MHz (30 dBm)
  6 / 2437MHz (30 dBm)
  7 / 2442MHz (30 dBm)
  8 / 2447MHz (30 dBm)
  9 / 2452MHz (30 dBm)
 10 / 2457MHz (30 dBm)
 11 / 2462MHz (30 dBm)
 12 / 2467MHz (30 dBm)
 13 / 2472MHz (30 dBm)

terminating...

$ sudo hcxdumptool -i wlp39s0f3u1u1u2 --check_driver
initialization...
starting driver test...
driver tests passed...
all required ioctl() system calls are supported by driver

terminating...

$ sudo hcxdumptool -i wlp39s0f3u1u1u2 --check_injection
initialization...
interface is already in monitor mode
starting antenna test and packet injection test (that can take up to two minutes)...
available channels: 1,2,3,4,5,6,7,8,9,10,11,12,13
packet injection is working on 2.4GHz!
injection ratio: 37% (BEACON: 190 PROBERESPONSE: 71)
your injection ratio is average, but there is still room for improvement
antenna ratio: 43% (NETWORK: 23 PROBERESPONSE: 10)
your antenna ratio is average, but there is still room for improvement

terminating...

MT7601 (MediaTek) is an excellent chipset that is supported by the Linux kernel out of the box:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/wireless/mediatek/mt7601u?h=v5.10.9
hcxdumptool will work fine on it (even with the supplied antenna):
$ hcxdumptool -I
wlan interfaces:
74da38eb4600 wlp39s0f3u1u1u2 (mt7601u)

$ sudo hcxdumptool -i wlp39s0f3u1u1u2 -C
initialization...
available channels:
  1 / 2412MHz (30 dBm)
  2 / 2417MHz (30 dBm)
  3 / 2422MHz (30 dBm)
  4 / 2427MHz (30 dBm)
  5 / 2432MHz (30 dBm)
  6 / 2437MHz (30 dBm)
  7 / 2442MHz (30 dBm)
  8 / 2447MHz (30 dBm)
  9 / 2452MHz (30 dBm)
 10 / 2457MHz (30 dBm)
 11 / 2462MHz (30 dBm)
 12 / 2467MHz (30 dBm)
 13 / 2472MHz (30 dBm)

terminating...

$ sudo hcxdumptool -i wlp39s0f3u1u1u2 --check_driver
initialization...
starting driver test...
driver tests passed...
all required ioctl() system calls are supported by driver

terminating...

$ sudo hcxdumptool -i wlp39s0f3u1u1u2 --check_injection
initialization...
interface is already in monitor mode
starting antenna test and packet injection test (that can take up to two minutes)...
available channels: 1,2,3,4,5,6,7,8,9,10,11,12,13
packet injection is working on 2.4GHz!
injection ratio: 37% (BEACON: 190 PROBERESPONSE: 71)
your injection ratio is average, but there is still room for improvement
antenna ratio: 43% (NETWORK: 23 PROBERESPONSE: 10)
your antenna ratio is average, but there is still room for improvement

terminating...

Does it support AP and Monitor Mode?

Does it support AP and Monitor Mode?

Monitor mode and packet injection is supported, AP mode is not supported.

Monitor mode and packet injection is supported, AP mode is not supported.

MT7601 in detail:
$ sudo hcxdumptool -m wlp0s16u1
setting interface wlp0s16u1 to monitor mode

$ iw dev
phy#1
	Interface wlp0s16u1
		ifindex 3
		wdev 0x100000001
		addr 06:1a:7a:7f:05:d1
		type monitor
		channel 1 (2412 MHz), width: 20 MHz (no HT), center1: 2412 MHz
		txpower 20.00 dBm
[claus@asusbook ~]$ iw list
Wiphy phy1
	wiphy index: 1
	max # scan SSIDs: 4
	max scan IEs length: 2257 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP-128 (00-0f-ac:4)
		* CCMP-256 (00-0f-ac:10)
		* GCMP-128 (00-0f-ac:8)
		* GCMP-256 (00-0f-ac:9)
		* CMAC (00-0f-ac:6)
		* CMAC-256 (00-0f-ac:13)
		* GMAC-128 (00-0f-ac:11)
		* GMAC-256 (00-0f-ac:12)
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * managed
		 * monitor
	Band 1:
		Capabilities: 0x17e
			HT20/HT40
			SM Power Save disabled
			RX Greenfield
			RX HT20 SGI
			RX HT40 SGI
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			No DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 2 usec (0x04)
		HT TX/RX MCS rate indexes supported: 0-7, 32
		Bitrates (non-HT):
			* 1.0 Mbps (short preamble supported)
			* 2.0 Mbps (short preamble supported)
			* 5.5 Mbps (short preamble supported)
			* 11.0 Mbps (short preamble supported)
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm) (no IR)
			* 2472 MHz [13] (20.0 dBm)
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * start_ap
		 * new_station
		 * new_mpath
		 * set_mesh_config
		 * set_bss
		 * authenticate
		 * associate
		 * deauthenticate
		 * disassociate
		 * join_ibss
		 * join_mesh
		 * remain_on_channel
		 * set_tx_bitrate_mask
		 * frame
		 * frame_wait_cancel
		 * set_wiphy_netns
		 * set_channel
		 * set_wds_peer
		 * probe_client
		 * set_noack_map
		 * register_beacons
		 * start_p2p_device
		 * set_mcast_rate
		 * connect
		 * disconnect
		 * set_qos_map
		 * set_multicast_to_unicast
	software interface modes (can always be added):
		 * monitor
	interface combinations are not supported
	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports TX status socket option.
	Device supports HT-IBSS.
	Device supports SAE with AUTHENTICATE command
	Device supports low priority scan.
	Device supports scan flush.
	Device supports AP scan.
	Device supports per-vif TX power setting
	Driver supports full state transitions for AP/GO clients
	Driver supports a userspace MPM
	Device supports active monitor (which will ACK incoming frames)
	Device supports configuring vdev MAC-addr on create.
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Supported TX frame types:
		 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * IBSS: 0x40 0xb0 0xc0 0xd0
		 * managed: 0x40 0xb0 0xd0
		 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * mesh point: 0xb0 0xc0 0xd0
		 * P2P-client: 0x40 0xd0
		 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * P2P-device: 0x40 0xd0
	Supported extended features:
		* [ RRM ]: RRM
		* [ FILS_STA ]: STA FILS (Fast Initial Link Setup)
		* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
		* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
		* [ SCAN_RANDOM_SN ]: use random sequence numbers in scans
		* [ SCAN_MIN_PREQ_CONTENT ]: use probe request with only rate IEs in scans
		* [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 control port support
		* [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
		* [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211 control port support

MT7601 in detail:
$ sudo hcxdumptool -m wlp0s16u1
setting interface wlp0s16u1 to monitor mode

$ iw dev
phy#1
	Interface wlp0s16u1
		ifindex 3
		wdev 0x100000001
		addr 06:1a:7a:7f:05:d1
		type monitor
		channel 1 (2412 MHz), width: 20 MHz (no HT), center1: 2412 MHz
		txpower 20.00 dBm
[claus@asusbook ~]$ iw list
Wiphy phy1
	wiphy index: 1
	max # scan SSIDs: 4
	max scan IEs length: 2257 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP-128 (00-0f-ac:4)
		* CCMP-256 (00-0f-ac:10)
		* GCMP-128 (00-0f-ac:8)
		* GCMP-256 (00-0f-ac:9)
		* CMAC (00-0f-ac:6)
		* CMAC-256 (00-0f-ac:13)
		* GMAC-128 (00-0f-ac:11)
		* GMAC-256 (00-0f-ac:12)
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * managed
		 * monitor
	Band 1:
		Capabilities: 0x17e
			HT20/HT40
			SM Power Save disabled
			RX Greenfield
			RX HT20 SGI
			RX HT40 SGI
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			No DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 2 usec (0x04)
		HT TX/RX MCS rate indexes supported: 0-7, 32
		Bitrates (non-HT):
			* 1.0 Mbps (short preamble supported)
			* 2.0 Mbps (short preamble supported)
			* 5.5 Mbps (short preamble supported)
			* 11.0 Mbps (short preamble supported)
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm) (no IR)
			* 2472 MHz [13] (20.0 dBm)
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * start_ap
		 * new_station
		 * new_mpath
		 * set_mesh_config
		 * set_bss
		 * authenticate
		 * associate
		 * deauthenticate
		 * disassociate
		 * join_ibss
		 * join_mesh
		 * remain_on_channel
		 * set_tx_bitrate_mask
		 * frame
		 * frame_wait_cancel
		 * set_wiphy_netns
		 * set_channel
		 * set_wds_peer
		 * probe_client
		 * set_noack_map
		 * register_beacons
		 * start_p2p_device
		 * set_mcast_rate
		 * connect
		 * disconnect
		 * set_qos_map
		 * set_multicast_to_unicast
	software interface modes (can always be added):
		 * monitor
	interface combinations are not supported
	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports TX status socket option.
	Device supports HT-IBSS.
	Device supports SAE with AUTHENTICATE command
	Device supports low priority scan.
	Device supports scan flush.
	Device supports AP scan.
	Device supports per-vif TX power setting
	Driver supports full state transitions for AP/GO clients
	Driver supports a userspace MPM
	Device supports active monitor (which will ACK incoming frames)
	Device supports configuring vdev MAC-addr on create.
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Supported TX frame types:
		 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * IBSS: 0x40 0xb0 0xc0 0xd0
		 * managed: 0x40 0xb0 0xd0
		 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * mesh point: 0xb0 0xc0 0xd0
		 * P2P-client: 0x40 0xd0
		 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * P2P-device: 0x40 0xd0
	Supported extended features:
		* [ RRM ]: RRM
		* [ FILS_STA ]: STA FILS (Fast Initial Link Setup)
		* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
		* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
		* [ SCAN_RANDOM_SN ]: use random sequence numbers in scans
		* [ SCAN_MIN_PREQ_CONTENT ]: use probe request with only rate IEs in scans
		* [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 control port support
		* [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
		* [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211 control port support


Replace Assert.ReferenceEquals call with Assert.AreSame

The intention must have been to assert that the two references
are identical (refering to the same object).
Calling Assert.ReferenceEquals will not have the desired effect
since it will use System.Object.ReferenceEquals; not throwing an
exception when the two objects does not match.
Of the total 29 occurances of Assert.ReferenceEquals, two tests
failed after being replaced with Assert.AreSame.
I have modified the test case to assert what I belive was the
intention of the author.

Lol, I'm amazed nobody has noticed this before - thanks :)


Scrape RGB lighting middleware supported games and descriptions; add Feature and append description to games in library

From this URL (internal link for Razer Chroma, as it's the one I have and am most concerned with, so it could be a good starting place):
https://www.pcgamingwiki.com/wiki/RGB_lighting_middleware#Razer_Chroma_RGB
Is it possible to parse/scrape the table named "Supported games" in this section - all of them, really, for the most robust support - and edit the fields of games that have been detected in our libraries, and add a Feature named Chroma Connect (or whichever RGB middleware is associated with that game), and append the descriptions in the table, for each of the Supported games in our libraries, to either the top or bottom of the current descriptions?
Options could be added to the Other Features section of the Features tab in the settings - a check box for RGB middleware, which makes a list of all of them appear, and ability to Ctrl+click on multiple - check box to add description to either top or bottom of current description.

At a quick glance, seems do-able.
Thinking of doing something like this:

Allow user to select/deselect which RGB middleware they want parsed (ASUS Aura Sync, Razer Chroma, etc) via add on settings
Extension setting to add feature RGB (default false) - If a library game supports any of the above selected middleware
Extension setting to add middleware specific tags (ex RGB: Razer Chroma) (default false)


Can't serve current version

Describe the bug
Can't serve the site currently
To Reproduce

Clone/fork current repo
Run npm install and npm start

Expected behavior
Serves the site to localhost:8080
Environment (please complete the following information):

Windows 10 Business

Additional context
Not sure if it's a windows thing or some local thing. Output says it can't find head.html in includes. Seeing that it builds fine on Netlify it could be a Windows issue with the mixed forward/backward slashes in the filepath as seen in the log.
Relevant part of log:
[11ty] Problem writing Eleventy templates:
[11ty] Having trouble writing template: _site/about/index.html

`TemplateWriterWriteError` was thrown
  Eleventy:EleventyErrorHandler (error stack): TemplateWriterWriteError: Having trouble writing template: _site/about/index.html
  Eleventy:EleventyErrorHandler     at c:\Projects\testgarden\node_modules\@11ty\eleventy\src\TemplateWriter.js:290:15
  Eleventy:EleventyErrorHandler     at async Promise.all (index 1)
  Eleventy:EleventyErrorHandler     at async Eleventy.executeBuild (c:\Projects\testgarden\node_modules\@11ty\eleventy\src\Eleventy.js:958:13)
  Eleventy:EleventyErrorHandler     at async Eleventy.watch (c:\Projects\testgarden\node_modules\@11ty\eleventy\src\Eleventy.js:809:18) +0ms
[11ty] ENOENT: Failed to lookup "head.html" in "c:\Projects\testgarden\includes/", file:./layouts/default.html, line:4, col:5

`RenderError` was thrown
  Eleventy:EleventyErrorHandler (error stack): ENOENT: Failed to lookup "head.html" in "c:\Projects\testgarden\includes/", file:./layouts/default.html, line:4, col:5

Also not sure if this could be related: https://github.com/harttle/liquidjs/issues/395# but specifically adding liquidjs 9.25.1 as dependency and reinstalling doesn't seem to fix the issue.

Thanks @harttle !
I'm not completely sure how to utilize that. I tried adding "liquidjs": "^9.28.1" to my package.json file and then doing a combination of deleting node_modules, npm prune, npm install and then running npm start. Error seems similar but doesn't include absolute path in the log.
[11ty] Problem writing Eleventy templates:
[11ty] Having trouble writing template: _site/about/index.html

`TemplateWriterWriteError` was thrown
  Eleventy:EleventyErrorHandler (error stack): TemplateWriterWriteError: Having trouble writing template: _site/about/index.html
  Eleventy:EleventyErrorHandler     at C:\Projects\testgarden\node_modules\@11ty\eleventy\src\TemplateWriter.js:290:15
  Eleventy:EleventyErrorHandler     at async Promise.all (index 1)
  Eleventy:EleventyErrorHandler     at async Eleventy.executeBuild (C:\Projects\testgarden\node_modules\@11ty\eleventy\src\Eleventy.js:958:13)
  Eleventy:EleventyErrorHandler     at async Eleventy.watch (C:\Projects\testgarden\node_modules\@11ty\eleventy\src\Eleventy.js:809:18) +0ms
[11ty] ENOENT: Failed to lookup "head.html" in "includes", file:./layouts/default.html, line:4, col:5

`RenderError` was thrown
  Eleventy:EleventyErrorHandler (error stack): ENOENT: Failed to lookup "head.html" in "includes", file:./layouts/default.html, line:4, col:5

I will try to see if I can reproduce on another windows pc and then a linux machine tomorrow. The repo I use is at https://github.com/asbjornb/testgarden
I should have forked but had a bit of trouble since I already have a fork - should probably just have branched on that. Can do that tomorrow too.

It seems the new 11ty beta didn't help although it ups the liquidjs reference. Going back to canary.23 works still. Not sure if this is unrelated to the liquidjs version. Other syntax might have changed in between versions or something. I owe some more tests when I can fin the time.
c:\Projects\personal-site>npm start

><EMAIL_ADDRESS>start c:\Projects\personal-site
> eleventy --serve --quiet

[11ty] Problem writing Eleventy templates: (more in DEBUG output)
[11ty] > Having trouble writing template: _site/about/index.html

`TemplateWriterWriteError` was thrown
[11ty] > illegal filename "undefined", file:./content/layouts/default.html, line:4, col:5

`RenderError` was thrown
[11ty] > illegal filename "undefined"

`AssertionError` was thrown:
[11ty]     AssertionError: illegal filename "undefined"
        at new AssertionError (c:\Projects\personal-site\node_modules\liquidjs\dist\liquid.node.cjs.js:653:28)
        at assert (c:\Projects\personal-site\node_modules\liquidjs\dist\liquid.node.cjs.js:800:15)
        at Object.<anonymous> (c:\Projects\personal-site\node_modules\liquidjs\dist\liquid.node.cjs.js:3047:21)
        at step (c:\Projects\personal-site\node_modules\liquidjs\dist\liquid.node.cjs.js:84:23)
        at Object.next (c:\Projects\personal-site\node_modules\liquidjs\dist\liquid.node.cjs.js:65:53)
        at reduce (c:\Projects\personal-site\node_modules\liquidjs\dist\liquid.node.cjs.js:1021:25)
        at Object.then (c:\Projects\personal-site\node_modules\liquidjs\dist\liquid.node.cjs.js:989:43)
        at reduce (c:\Projects\personal-site\node_modules\liquidjs\dist\liquid.node.cjs.js:1028:40)
        at toThenable (c:\Projects\personal-site\node_modules\liquidjs\dist\liquid.node.cjs.js:1016:16)
        at reduce (c:\Projects\personal-site\node_modules\liquidjs\dist\liquid.node.cjs.js:1028:16)
[11ty] Wrote 0 files in 0.14 seconds (v1.0.0-beta.5)

and
[11ty] Problem writing Eleventy templates:
[11ty] Having trouble writing template: _site/about/index.html

`TemplateWriterWriteError` was thrown
  Eleventy:EleventyErrorHandler (error stack): TemplateWriterWriteError: Having trouble writing template: _site/about/index.html
  Eleventy:EleventyErrorHandler     at c:\Projects\personal-site\node_modules\@11ty\eleventy\src\TemplateWriter.js:289:15
  Eleventy:EleventyErrorHandler     at async Promise.all (index 1)
  Eleventy:EleventyErrorHandler     at async Eleventy.executeBuild (c:\Projects\personal-site\node_modules\@11ty\eleventy\src\Eleventy.js:960:13) +0ms
[11ty] illegal filename "undefined", file:./content/layouts/default.html, line:4, col:5

`RenderError` was thrown
  Eleventy:EleventyErrorHandler (error stack): illegal filename "undefined", file:./content/layouts/default.html, line:4, col:5
  Eleventy:EleventyErrorHandler    2| <html lang="en">
  Eleventy:EleventyErrorHandler    3| <head>
  Eleventy:EleventyErrorHandler >> 4|     {% include head.html %}
  Eleventy:EleventyErrorHandler    5| </head>
  Eleventy:EleventyErrorHandler    6| <body>
  Eleventy:EleventyErrorHandler    7|     <header class="page-header">
  Eleventy:EleventyErrorHandler RenderError: illegal filename "undefined", file:./content/layouts/default.html, line:4, col:5

Updating to beta then readding the quotes on <% include-statements seems to have solved this. I'm not sure if upping the dependency in eleventy garden to the beta version would be ok with you but it would close this issue :)

@asbjornb that would be totally fine. Will do.

1c7ce82db962252bda720be36690b9a315318453 should fix this


@ApiModelProperty doesn't work in my project

Springboot 2.6.1
Swagger2 (2.9.2)
And the project uses SpringSecurity
I configured Swagger as per the official requirements,But no matter what I try, my parameter property is always empty

Is there anyone kind enough to help?

It seems to be caused by spring.main.lazy-initialization=true   ，is this a bug？


Temporarily force 1-sample top_k=2 failure always

This temporarily modifies test_predict so it produces the problem
in every test run, in order to verify that the immediately
forthcoming fix is effective.
Because this commit decreases the general usefulness of the test,
it needs to be undone/reverted after that has been verified.

This is my mistake with the VS Code extension for making pull requests. It should be titled/described differently and, more important, opened against the main repository (not this fork).


Update scala-java-time for 2.13.0

We'll be able to run tests for Scala.js on 2.13 now.

Codecov Report

Merging #1163 into master will increase coverage by 0.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1163      +/-   ##
==========================================
+ Coverage   85.91%   86.08%   +0.17%
==========================================
  Files          88       88
  Lines        2868     2868
  Branches      119      115       -4
==========================================
+ Hits         2464     2469       +5
+ Misses        404      399       -5

Impacted Files
Coverage Δ

...d/src/main/scala/io/circe/NonEmptySeqDecoder.scala
91.66% <0%> (-8.34%)
:arrow_down:

...re/shared/src/main/scala/io/circe/KeyDecoder.scala
97.29% <0%> (-2.71%)
:arrow_down:

...les/core/shared/src/main/scala/io/circe/Json.scala
79.75% <0%> (-0.62%)
:arrow_down:

.../core/shared/src/main/scala/io/circe/Decoder.scala
86.71% <0%> (+0.5%)
:arrow_up:

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
90.05% <0%> (+1.16%)
:arrow_up:

...re/shared/src/main/scala/io/circe/JsonNumber.scala
95.34% <0%> (+2.32%)
:arrow_up:

...rc/main/scala/io/circe/shapes/SizedInstances.scala
92.85% <0%> (+14.28%)
:arrow_up:

Continue to review full report at Codecov.

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


AD Security to documents in Azure Search. The system should show results to users based on their security levels.

https://learn.microsoft.com/en-us/azure/search/search-security-trimming-for-azure-search-with-aad
https://learn.microsoft.com/en-us/azure/search/search-security-trimming-for-azure-search


GUI: in case of connection refused to simulator, display message saying to "refresh" the page

PR #70 will introduce a wait-until-running step just after the webserver has been started. This should prevent most cases of opening the web browser while the webserver is not yet ready. Keeping the issue open here to see if it occurs still in the future.


Restricted persistent sandbox to opendevin user only

Need to keep track of users if not restricted.

I think it will impact the evaluation~

I think a persistent sandbox is not suitable for evaluation.


🔨 Fix .env dependencies for serverless email microservice

There are dependencies in the index.handler method that require the dotenv package to import the environment variables to be used in the JS file.
The workflow also needs to be updated to use the environment variables via GitHub organization secrets in the workflow.

Update serverless code to use email tracking dynamodb table to prevent duplicate verification emails being sent to users.


ocamlPackages.tsort: 2.0.0 -> 2.1.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://opam.ocaml.org/packages/tsort/tsort.2.1.0.
meta.description for ocamlPackages.tsort is: "Easy to use and user-friendly topological sort"
meta.homepage for ocamlPackages.tsort is: "https://github.com/dmbaturin/ocaml-tsort"
meta.changelog for ocamlPackages.tsort is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.1.0 with grep in /nix/store/ri2b64ad63ypdg3n8r60abmk66yglbjm-ocaml4.13.1-tsort-2.1.0

found 2.1.0 in filename of file in /nix/store/ri2b64ad63ypdg3n8r60abmk66yglbjm-ocaml4.13.1-tsort-2.1.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

0 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
ocamlPackages.tsort

Instructions to test this update (click to expand)

Build yourself:
nix-build -A ocamlPackages.tsort https://github.com/StridBot/nixpkgs/archive/cceb6fa314ccdea7e8a3e5c1134475662815b016.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ri2b64ad63ypdg3n8r60abmk66yglbjm-ocaml4.13.1-tsort-2.1.0
ls -la /nix/store/ri2b64ad63ypdg3n8r60abmk66yglbjm-ocaml4.13.1-tsort-2.1.0/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @vbgl for testing.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 165677 run on x86_64-linux 1

1 package failed to build and are new build failure:

soupault: log was empty

@SuperSandro2000 soupault seems to have been updated in the meantime and now works with the updated tsort


initial tf-apply fails "bucket must have versioning"

Terraform Version & Prov:
AFT Version:
1.6.5

Terraform Version & Provider Versions
terraform version
1.3.1

terraform providers
+ provider registry.terraform.io/hashicorp/archive v2.2.0
+ provider registry.terraform.io/hashicorp/aws v4.34.0
+ provider registry.terraform.io/hashicorp/local v2.2.3
+ provider registry.terraform.io/hashicorp/random v3.4.3
+ provider registry.terraform.io/hashicorp/time v0.8.0

Bug Description
Initial TF apply fails with error creating S3 replication configuration for bucket (aft-backend-xxxxxxxx-primary-region): InvalidRequest: Destination bucket must have versioning enabled.
To Reproduce
Steps to reproduce the behavior:
Following the initial setup instructions, down to and running the first terraform init and terraform apply
Expected behavior
This should build out the factory and necessary components
Related Logs
Last completed step and the full error message:
module.aft.module.aft_customizations.aws_sfn_state_machine.aft_invoke_customizations_sfn:
Creation complete after 1s [id=arn:aws:states:us-east-1:542xxxx:stateMachine:aft-invoke-customizations]
|
│ Error: error creating S3 replication configuration for bucket (aft-backend-542xxxx-primary-region):
| InvalidRequest: Destination bucket must have versioning enabled.
│ 	status code: 400, request id: E3Nxxxx, host id: xxxxxxx
│
│  with module.aft.module.aft_backend.aws_s3_bucket_replication_configuration.primary-backend-bucket-replication,
│  on .terraform/modules/aft/modules/aft-backend/main.tf line 19, in resource
|  "aws_s3_bucket_replication_configuration" "primary-backend-bucket-replication":
│   19: resource "aws_s3_bucket_replication_configuration" "primary-backend-bucket-replication" {
│

Additional context
It looks like this is happening in/at modules/aft-backend/main.tf L19-L50.
While there is a resource declared to enable bucket versioning, it almost appears as if there's maybe a missing dependency "instruction"(?) somewhere in the provider? AFAIK, Terraform isn't particularly concerned with the order in which resources are declared, so it should be able to figure out that the bucket versioning needs to be set before the replication if the underlying provider says so?

@rjhornsby Thank you for reaching out.
I would recommend using  AFT documentation  for deploying AFT in your environment.
Since this deployment issue might require a deeper dive in the environment, I would recommend reaching out to AWS Premium Support for help on troubleshooting.

Running tf-plan again, Terraform reports it built everything except aws_s3_bucket_replication_configuration.primary-backend-bucket-replication. Because of that, running tf-apply a second time - all the dependencies having been met - created the bucket replication.
It's not ideal, but it is a work-around.

@rjhornsby thanks for providing an update on the issue.
This should not be the case ideally, and we do not see this behavior in our test environments.
Please free free to reach out to AWS Premium support in case you need further assistance to deep dive on this issue in the environment.


update to v2.1.0

Think it's time we release a new version. The main reason I'm bumping up the minor version is the confirmation validation move could be non-backwards compatible for some folks.
@joecorcoran @dannysperry @saurabhbhatia Any objections?
thanks

Looks legit to me!
Joe Corcoran
http://corcoran.io
On Mon, May 25, 2015, at 11:51 PM, James Kurczodyna wrote:

Think it's time we release a new version. The main reason I'm bumping up
the minor version is the confirmation validation move could be
non-backwards compatible for some folks.
@joecorcoran @dannysperry @saurabhbhatia Any objections?
thanks
You can view, comment on, or merge this pull request online at:
https://github.com/joecorcoran/judge/pull/61
-- Commit Summary --

updates version number and adds changelog items

-- File Changes --
M CHANGELOG.md (5)
M app/assets/javascripts/judge.js (4)
M lib/judge/version.rb (2)
M package.json (2)

-- Patch Links --
https://github.com/joecorcoran/judge/pull/61.patch
https://github.com/joecorcoran/judge/pull/61.diff

Reply to this email directly or view it on GitHub:
https://github.com/joecorcoran/judge/pull/61

Looks good!


retry transient connection errors

resolves #229
Instead of matching the other dbt adapters, this pr instead leverages the provided retry decorator from Google to retry with their default settings.
This doesn't give users the option to configure anything with regards to connection retries. Only retrying transient errors as defined by bigquery library maintainers seems like solid enough behavior to not need overrides but I'd like to hear if anyone feels differently.
Checklist

[x] I have signed the CLA
[ ] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have updated the CHANGELOG.md and added information about my change to the "dbt-bigquery next" section.

@nathaniel-may / @jtcohen6 any reason this wasn't merged?

No. I was transitioning to EM and it fell off my radar.


How to include modules assets

I have a .js file in my Modules\ModuleName\Assets folder. I want to use it in other module's views files. How i can to include it in html.

Like so:
{{ Module::asset('blog:js/script.js') }}

This assumes your script is located at /Modules/ModuleName/Assets/js. If it is not in a folder, just omit the js/ part in the asset call.
(Found here.)

Using the Module::asset('blog:js/script.js') function just gives me a 404 error when attempting to link to the files. I'm running this on artisan serve.

Did you publish your module assets ? (command in the docs as well)

oh, thx a lot)

Hi, how can we handle assets files ?
In fact I use Bower and would like to copy all assets from the bower_components directory instead of Assets directory.
Modules/OwlCarousel2
---bower.json
---Assets
---bower_components
It's more simple I think to update only the bower.json and call the publish command
Thanks for your help

Please help me to publish module assets?
I tried Module::asset('blog:js/script.js') function just gives me a 404 error.
Thanks.

Run php artisan module:publish.

Hi nWidart,
Thank you for your help. I run the publish command, it says published but still it is not working.

Thanks @nWidart for your quick while, I tried again and looks good now.

prayas daai malai css ra js , image haru Module ko vitra raakhnu pareko kasari solve garnu vayo

Thanks @nWidart for your quick while, I tried again and looks good now.

how you solved it please help me

@nWidart please can you tell me command to publish assets

Hello,
How to use assets without publish on dev mode
it's not possible to run the publish commande after each js file update, any idea ?
waiting for your feedback

@foxmedo you can config laravel mix in your module. when run npm run watch It will compile and put code to public whenever file in assets change


False positive on xstate/spawn-usage

Describe the bug
It looks like the rule xstate/spawn-usage does not check if the spawn function is actually imported from xstate.
It reports an error in all my redux sagas because redux-saga also has an effect called spawn.
Expected behavior
The rule checks if the spawn function is the one from xstate.
Actual behavior
Any function called spawn is considered.
Versions (please complete the following information):

Node version: 18.12.1
ESLint version: 8.44.0
eslint-plugin-xstate version: 1.1.0

Additional context
I am getting a lot of false positives in one of my saga files.
The import line is:
import { all, call, delay, fork, getContext, put, race, select, spawn, take, takeEvery } from 'redux-saga/effects';

There is no import from xstate in this file.

Thanks for the report. I'm going to look into how the source of an imported symbol can be checked in Eslint. In the meantime, you can opt-out from this rule with:
// eslint-disable-next-line xstate/spawn-usage

This was fixed in https://github.com/rlaffers/eslint-plugin-xstate/releases/tag/v1.1.1


unknown option 'name-only'

git-submodule-rewrite failed to merge a simple submodule:
../jeremysears/scripts/bin/git-submodule-rewrite -v hw-verify
    This script will convert your "hw-verify" git submodule into
    a simple subdirectory in the parent repository while retaining all
    contents, file history and its own submodules.

    The script will:
      * delete the hw-verify submodule configuration from .gitmodules and
        .git/config and commit it.
      * rewrite the entire history of the hw-verify submodule so that all
        paths are prefixed by hw-verify.
        This ensures that git log will correctly follow the original file
        history.
      * merge the submodule into its parent repository and commit it.
      * reinstate any of the submodule's own submodules as part of the parent
        repository

    NOTE: This script might completely garble your repository, so PLEASE apply
    this only to a fresh clone of the repository where it does not matter if
    the repo is destroyed.  It would be wise to keep a backup clone of your
    repository, so that you can reconstitute it if need be.  You have been
    warned.  Use at your own risk.

Resolving deltas: 100% (69/69), done.
Checking connectivity... done.
+ pushd /tmp/submodule-rewrite-vD5x6o
/tmp/submodule-rewrite-vD5x6o ~/projects/m5
++ printf '\t'
+ local 'tab=	'
+ local 'filter=git ls-files -s | sed "s:	:	hw-verify/:" | GIT_INDEX_FILE=${GIT_INDEX_FILE}.new git update-index --index-info && mv ${GIT_INDEX_FILE}.new ${GIT_INDEX_FILE} || true'
+ git filter-branch --index-filter 'git ls-files -s | sed "s:	:	hw-verify/:" | GIT_INDEX_FILE=${GIT_INDEX_FILE}.new git update-index --index-info && mv ${GIT_INDEX_FILE}.new ${GIT_INDEX_FILE} || true' HEAD
Rewrite 902d922429ca56430397428f4d539f27499f363f (16/16)
Ref 'refs/heads/master' was rewritten
+ popd
~/projects/m5
+ git remote add hw-verify /tmp/submodule-rewrite-vD5x6o
+ git fetch hw-verify
warning: no common commits
remote: Counting objects: 139, done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 139 (delta 69), reused 107 (delta 69)
Receiving objects: 100% (139/139), 39.32 KiB | 0 bytes/s, done.
Resolving deltas: 100% (69/69), done.
From /tmp/submodule-rewrite-vD5x6o
 * [new branch]      master     -> hw-verify/master
+ git_version_lte 2.8.4
+++ echo 2.8.4
+++ tr . '\n'
+++ head -n 4
++ printf %03d%03d%03d%03d 2 8 4
+ OP_VERSION=002008004000
++ git version
+ GIT_VERSION='git version 2.1.4'
+++ echo ' 2.1.4'
+++ tr . '\n'
+++ head -n 4
++ printf %03d%03d%03d%03d 2 1 4
+ GIT_VERSION=002001004000
+ echo -e '002001004000\n002008004000'
+ sort
+ head -n1
002001004000
+ '['<PHONE_NUMBER>00 -le<PHONE_NUMBER>00 ']'
+ ALLOW_UNRELATED_HISTORIES=
+ git merge -s ours --no-commit hw-verify/master
Automatic merge went well; stopped before committing as requested
+ rm -rf tmpdir
+ git clone -b master https://github.com/somecompany/hw-verify.git hw-verify
Cloning into 'hw-verify'...
remote: Counting objects: 123, done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 123 (delta 69), reused 123 (delta 69), pack-reused 0
Receiving objects: 100% (123/123), 38.62 KiB | 0 bytes/s, done.
Resolving deltas: 100% (69/69), done.
Checking connectivity... done.
+ add_submod_cmds=
+ '[' -f hw-verify/.gitmodules ']'
++ git config -f hw-verify/.gitmodules --name-only --get-regexp path
++ sed -re 's/^submodule\.(.+)\.path$/\1/g'
error: unknown option `name-only'
usage: git config [options]

Config file location
    --global              use global config file
    --system              use system config file
    --local               use repository config file
    -f, --file <file>     use given config file
    --blob <blob-id>      read config from given blob object

Action
    --get                 get value: name [value-regex]
    --get-all             get all values: key [value-regex]
    --get-regexp          get values for regexp: name-regex [value-regex]
    --get-urlmatch        get value specific for the URL: section[.var] URL
    --replace-all         replace all matching variables: name value [value_regex]
    --add                 add a new variable: name value
    --unset               remove a variable: name [value-regex]
    --unset-all           remove all matches: name [value-regex]
    --rename-section      rename section: old-name new-name
    --remove-section      remove a section: name
    -l, --list            list all
    -e, --edit            open an editor
    --get-color <slot>    find the color configured: [default]
    --get-colorbool <slot>
                          find the color setting: [stdout-is-tty]

Type
    --bool                value is "true" or "false"
    --int                 value is decimal number
    --bool-or-int         value is --bool or --int
    --path                value is a path (file or directory name)

Other
    -z, --null            terminate values with NUL byte
    --includes            respect include directives on lookup

+ sub_names=

about my system:
# uname -a
Linux aspire-v15 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) x86_64 GNU/Linux
# cat /etc/debian_version
8.9
# git --version
git version 2.1.4
# apt-get upgrade git
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... git is already the newest version.
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

option name-only seems to appear in git 2.7.5.
the main question is: how to continue merging ?

I've pushed a change which should resolve this issue for you.  It should better support the version of git you're using, and it should also re-enable support for macOS that was lost due to the fix for issue #8.


[wallet CLI] Display Owner and TransactionDigest as hex

When running wallet --no-shell object --id <ID> --json:
Wallet CLI displays Owner address and TransactionDigest as an array of numbers.
We should just display a hex string for both of them.

this PR fixes all bytes array serialisation problem for human readable serialiser https://github.com/MystenLabs/sui/pull/1304


[ENH] Fourier series components

Discussed in https://github.com/alan-turing-institute/sktime/discussions/2649

Originally posted by GrzegorzRut May 16, 2022
Hi!
I've recently stumbled upon this and this.
As far as I can tell, sktime so far does not have functions like fourier. We do have the CosineTransformer but this can probably be extended to something like the fourier function mentioned above. Seems to be really helpful with for long or multiple seasonalities.
Would it be helpful to have something like that?

Good idea!
Legacy sktime seemed to have a FourierTransformer, but I´m not sure where it went.
Perhaps best to start from scratch...

I wish to contribute to this issue

Excellent, thanks, @divo12!

i would be glad to contribute to this issue

Great! What are you planning to implement?

Hi, I am new to open source, and I would love to contribute to this.  Is this issue still open ?

Hi, I am new to open source and would love to contribute to this issue. I am exploring the code base and I am not able to figure out where the CosineTransformer is implemented, any help is appreciated.

@fkiraly can you look into this if possible?

I think it is in transformations.series.cos


vscode-languageserver onShutdown method does not allow cancellation by design

Hi,
I am trying to write a language server and I am using vscode-languageserver package as my building block.
And I want to have a logic triggering on cancellation upon receiving a shutdown request from the client.
And I am using onShutdown method for that but it doesn't seem to trigger the cancellation from the client.
Upon diving a bit in the code, it seems that that's intentional, as I see that there is a new cancellation token being created instead of propagating the one from the onRequest handler.
I can easily trigger it by doing a manual request handler like
this.connection.onRequest(ShutdownRequest.method, async (token) => {
      let timeoutId: ReturnType<typeof setTimeout> | null = null;
      token.onCancellationRequested(() => {
          // This cancellation will be invoked!!
          if (timeoutId) {
              clearTimeout(timeoutId);
          }
      })
      await new Promise(r => {
          timeoutId = setTimeout(r, 10000)
      });
    });

Instead of
this.connection.onShutdown(async (token) => {
    let timeoutId: ReturnType<typeof setTimeout> | null = null;
    token.onCancellationRequested(() => {
        // This cancellation will not be invoked!!
        if (timeoutId) {
            clearTimeout(timeoutId);
        }
    });

    await new Promise(r => {
        timeoutId = setTimeout(r, 50000)
    });

});

But I am curious into why is this done, is cancellation logic during shutdown handler discouraged?

Actually that is on purpose since it would be very unclear what cancel of a shutdown means. Would a client need to send another initialize request or not. What state would the server be in. This is why we don't let the server react on cancel. The spec  says
Clients must not send any notifications other than exit or requests to a server to which they have sent a shutdown request. Clients should also wait with sending the exit notification until they have received a response from the shutdown request.

So clients are even not allowed to send a cancel notification.

Thanks a lot @dbaeumer!!
This actually clicks on a lot of levels now, I haven't perceived the cancellation as a separate notification because of the convenience that these wrappers handle cancellation, but yeah of course it's a separate notifcation to the server...
That also explains why the initializeHandler behaves the same way.
Until the server has responded to the initialize request with an [InitializeResult](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initializeResult), the client must not send any additional requests or notifications to the server.


Add session options object to OTSession.init

What is this PR doing?

Fix usage of OTSession.init to include session options. This was updated here https://github.com/maikthomas/OpenTok-Angular/blob/add-init-session-options/opentok-angular.js#L37
☝ this is our current dependency: https://github.com/opentok/opentok-meet/blob/master/package.json#L27

How should this be manually tested?

run locally
open a room e.g. http://localhost:9000/testroom
once connected open the webview composer app for that room: http://localhost:9000/testroom/webview-composer-app
Check it works (you can try these steps with meet.tokbox.com and see that the page breaks with an error in the console.log saying.

What are the relevant tickets?
OPENTOK-48287

Tested, and works as-expected.

test instructions should be http://localhost:3000/
Error was reproduced in current, deployed meet
In branch, no error was found