Keyboard input does not work when mouse is unplugged

Regression?
No
System Info and Version
hyprland configuration folder hypr.tar.gz
 $ hyprctl systeminfo -c
Hyprland, built from branch  at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

flags: (if any)

System Information:
System name: Linux
Node name: PC4KMK2
Release: 6.9.10-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Thu, 18 Jul 2024 18:06:13 +0000

GPU information:
0a:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [1002:744c] (rev c8) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

======Config-Start======

Config File: /home/missonserch/.config/hypr/hyprland.conf: Read Succeeded

# #######################################################################################
# AUTOGENERATED HYPR CONFIG.
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
# #######################################################################################

#
# Please note not all available settings / options are set here.
# For a full list, see the wiki
#

# autogenerated = 1 # remove this line to remove the warning

# See https://wiki.hyprland.org/Configuring/Monitors/
#monitor=,preferred,auto,auto
monitor=DP-1,1920x1080@240,0x0,1,vrr,1
monitor=DP-2,1920x1080@60,-1080x-190,1,transform,1
# workspace = 9, monitor:DP-2
# See https://wiki.hyprland.org/Configuring/Keywords/ for more

# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox
exec-once = /usr/lib/polkit-kde-authentication-agent-1
exec-once = hyprpaper & mako & hypridle & otd-daemon
exec-once = waybar
exec-once = nm-applet --indicator
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
source = ~/.config/hypr/keybinds.conf

# Some default env vars.
env = XCURSOR_THEME,Bibata-Modern-Classic
env = XCURSOR_SIZE,24
#env = HYPRCURSOR_THEME,Bibata-Modern-Classic
#env = HYPRCURSOR_SIZE,24
env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
env = QT_QPA_PLATFORM,wayland
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = GDK_BACKEND,wayland
env = XDG_MENU_PREFIX,arch-
env = XDG_SESSION_TYPE,wayland
env = XDG_CURRENT_DESKTOP,Hyprland
# env = GTK_THEME,Nord

# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
    kb_layout = us,ru
    kb_variant = ,mac
    kb_model =
    kb_options = grp:ctrl_space_toggle
    #kb_options = caps:swapescape
    kb_rules =

    follow_mouse = 0
    float_switch_override_focus = 0

        repeat_rate = 60
        #accel_profile = flat
    touchpad {
        natural_scroll = no
    }

    sensitivity = -1.0 # -1.0 to 1.0, 0 means no modification.
}

general {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    gaps_in = 5
    gaps_out = 5
    border_size = 2
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959ff)
    layout = dwindle

    # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
    allow_tearing = false
}
cursor{
    inactive_timeout = 5
}

decoration {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    rounding = 10
    # multisample_edges = true

#   active_opacity = 1.0
    #   inactive_opacity = 1.0
    blur {
        enabled = false
        size = 4
        passes = 1
        new_optimizations = true
        xray = false
        #ignore_opacity = false
        popups = true
    }

    drop_shadow = true
    shadow_ignore_window = true
    shadow_range = 8
    shadow_render_power = 4
    col.shadow = rgba(1a1a1aee)

    #   blurls = waybar
    #   blurls = lockscreen
    blurls = dolphin
}

animations {
    enabled = yes

    # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
    bezier = wind, 0.05, 0.9, 0.1, 1.0
    bezier = winIn, 0.1, 1.1, 0.1, 1
    bezier = winOut, 0.3, -0.3, 0, 1
    bezier = liner, 1, 1, 1, 1
    animation = windows, 1, 6, wind, slide
    animation = windowsIn, 1, 6, winIn, slide
    animation = windowsOut, 1, 5, winOut, slide
    animation = windowsMove, 1, 5, wind, slide
    animation = border, 1, 1, liner
    # animation = borderangle, 1, 30, liner, loop
    animation = workspaces, 1, 5, wind
}

dwindle {
    # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
    no_gaps_when_only = false
    pseudotile = false
    preserve_split = yes # you probably want this
}

# Outdated setting, revise later
#master {
#    # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
#    new_is_master = true
#}

gestures {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    workspace_swipe = on
}

misc {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
    vfr = true
    vrr = 1
    animate_manual_resizes = true
   # mouse_move_focuses_monitor = true
    disable_hyprland_logo = true
    disable_splash_rendering = true
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
#device {
#    name = epic-mouse-v1
#    sensitivity = -0.5
#}

# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
windowrulev2 = float, class:elisa
windowrulev2 = minsize 610 460, class:elisa

windowrulev2 = float, class:steam
#windowrulev2 = minsize 1010 600, class:steam

windowrulev2 = float, class:obs
windowrulev2 = minsize 875 375, class:obs

windowrulev2 = float, class:blueman-manager
windowrulev2 = move onscreen 100% 0, class:blueman-manager

windowrulev2 = float, class:kcalc
windowrulev2 = size 480 430, class:kcalc
#windowrulev2 = minsize 470 430, class:kcalc
windowrulev2 = minsize 250 300, class:kcalc

# Workspace rules:
workspace = 1, monitor:DP-2

workspace = 2, monitor:DP-2

workspace = 3, monitor:DP-2

workspace = 4, monitor:DP-1

workspace = 5, monitor:DP-1

workspace = 6, monitor:DP-1

workspace = 7, monitor:DP-1

workspace = 8, monitor:DP-1

Config File: /home/missonserch/.config/hypr/keybinds.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER Variables
$terminal = alacritty -e tmux new-session -A
$fileManager = dolphin
$browser = firefox
$menu = fuzzel --icon-theme=Papirus-Dark -b 212121ff -T true -B 2 -C 595959ff -s 595959ff -S FFFFFFff -t FFFFFFff

# System navigaton
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod SHIFT CTRL, P, exec, wlogout
bind = $mainMod CTRL, L, exec, hyprlock
bindl = $mainMod CTRL, 0, exec, sleep 1 && hyprctl dispatch dpms off
bindl = $mainMod CTRL, O, exec, sleep 1 && hyprctl dispatch dpms on
bindl = $mainMod ALT, 0, exec, sleep 1 && hyprctl dispatch dpms off DP-2
bindl = $mainMod ALT, O, exec, sleep 1 && hyprctl dispatch dpms on DP-2
bind = $mainMod, T, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, B, exec, $browser
##bind = $mainMod CTRL, P, exit
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, F, fullscreen
bind = $mainMod, V, togglefloating
bind = $mainMod, SLASH, exec, $menu
#bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, S, togglesplit, # dwindle

# Screenshot binds MacOs style, but not exactly
bind = ALT SHIFT, 3, exec, echo "0,0 1920x1080" | grim -g -
bind = ALT SHIFT CTRL, 3, exec, echo "0,0 1920x1080" | grim -g - - | wl-copy
bind = ALT SHIFT, 4, exec, slurp | grim -g -
bind = ALT SHIFT CTRL, 4, exec, slurp | grim -g - - | wl-copy
bind = ALT SHIFT, 5, exec, hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"' | grim -g -
bind = ALT SHIFT CTRL, 5, exec, hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"' | grim -g - | wl-copy

# Multimedia binds from wiki
bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindel=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindle=, XF86MonBrightnessUp, exec, ddcutil -d 2 setvcp 10 + 10 & ddcutil --noverify -d 1 setvcp 10 80
bindle=, XF86MonBrightnessDown, exec, ddcutil -d 2 setvcp 10 - 10 & ddcutil --noverify -d 1 setvcp 10 25
bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindl=, XF86AudioPlay, exec, playerctl play-pause
bindl=, XF86AudioNext, exec, playerctl next
bindl=, XF86AudioPrev, exec, playerctl previous

# Resize windows with mainMod + Alt + h,j,k,l
bind = $mainMod ALT, h, resizeactive, -50 0
bind = $mainMod ALT, l, resizeactive, 50 0
bind = $mainMod ALT, k, resizeactive, 0 -50
bind = $mainMod ALT, j, resizeactive, 0 50

# Move windows with mainMod + Shift + h,j,k,l
bind = $mainMod SHIFT, l, movewindow, r
bind = $mainMod SHIFT, k, movewindow, u
bind = $mainMod SHIFT, j, movewindow, d
bind = $mainMod SHIFT, h, movewindow, l
# Move focus with mainMod + h,j,k,l
bind = $mainMod, h, movefocus, l
bind = $mainMod, l, movefocus, r
bind = $mainMod, k, movefocus, u
bind = $mainMod, j, movefocus, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9

bind = $mainMod CTRL, 1, focusworkspaceoncurrentmonitor, 1
bind = $mainMod CTRL, 2, focusworkspaceoncurrentmonitor, 2
bind = $mainMod CTRL, 3, focusworkspaceoncurrentmonitor, 3
bind = $mainMod CTRL, 4, focusworkspaceoncurrentmonitor, 4
bind = $mainMod CTRL, 5, focusworkspaceoncurrentmonitor, 5
bind = $mainMod CTRL, 6, focusworkspaceoncurrentmonitor, 6
bind = $mainMod CTRL, 7, focusworkspaceoncurrentmonitor, 7
bind = $mainMod CTRL, 8, focusworkspaceoncurrentmonitor, 8
bind = $mainMod CTRL, 9, focusworkspaceoncurrentmonitor, 9
# Example special workspace (scratchpad)
#bind = $mainMod, S, togglespecialworkspace, magic
#bind = $mainMod SHIFT, S, movetoworkspace, special:magic

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

bind = $mainMod, N, workspace, +1
bind = $mainMod, P, workspace, -1

bind = $mainMod SHIFT, N, movetoworkspace, +1
bind = $mainMod SHIFT, P, movetoworkspace, -1
# C-Super to swith between workspaces
#bind = $mainMod CTRL, L, workspace, +1
#bind = $mainMod CTRL, H, workspace, -1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

======Config-End========

Description
When I unplug the mouse (the only pointing device on the system) or boot the system without a mouse plugged in, all panes/windows ignore keyboard input. TTY input works, DE shortcuts do work, like focus switching with $mainmod + h,j,k,l, opening and closing panes work, but newly and already opened panes do not receive keyboard input. When I reconnect the mouse back everything resumes to work as expected.
I have no idea what could be causing this, so I do not know what could be relevant to add here, you can always ask me for needed/helpful info.
How to reproduce
Prerequisites: only keyboard (and monitor(s)) are connected to the system.
1.Boot
2. Log in
3. Launch Hyprland
Or on already running system:

Disconnect the mouse

Crash reports, logs, images, videos
No response

The bug stopped reproducing🤔🤷♀


fix: scrollUntilVisible and scrollUntilTapable not working correctly

Fixes #621

Thank you. Could you sign the CLA?

I just tested with version 2.2.2. And scrollUntilVisible working not correct

Could you create a new issue and details description?

@KazuCocoa  I created issue https://github.com/appium/appium-flutter-driver/issues/624 for it.


Refactor Tests

[ ] Clean up old tests left over from AB3 to meet new functionality
[ ] Write tests for Amenities
[ ] Write tests for Ratings
[ ] Write tests for changed Edit Command
[ ] Clean up default JSON files and test stubs left over from AB3

With #51 merged, this is done!


add debug info when generating certs for workloads

Please provide a description of this PR:
Fix https://github.com/istio/istio/issues/44830
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[X] User Experience
[ ] Developer Infrastructure

/cherrypick release-1.18

/cherrypick release-1.17

/cherrypick release-1.16

@zirain: #45183 failed to apply on top of branch "release-1.18":
Applying: add debug info when generating certs for workloads
Using index info to reconstruct a base tree...
M	security/pkg/server/ca/server.go
Falling back to patching base and 3-way merge...
Auto-merging security/pkg/server/ca/server.go
CONFLICT (content): Merge conflict in security/pkg/server/ca/server.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 add debug info when generating certs for workloads
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherrypick release-1.18

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@zirain: new issue created for failed cherrypick: #45186

In response to this:

/cherrypick release-1.18

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@zirain: #45183 failed to apply on top of branch "release-1.17":
Applying: add debug info when generating certs for workloads
Using index info to reconstruct a base tree...
M	security/pkg/server/ca/server.go
Falling back to patching base and 3-way merge...
Auto-merging security/pkg/server/ca/server.go
CONFLICT (content): Merge conflict in security/pkg/server/ca/server.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 add debug info when generating certs for workloads
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherrypick release-1.17

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@zirain: new issue created for failed cherrypick: #45187

In response to this:

/cherrypick release-1.17

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@zirain: #45183 failed to apply on top of branch "release-1.16":
Applying: add debug info when generating certs for workloads
Using index info to reconstruct a base tree...
M	security/pkg/server/ca/server.go
Falling back to patching base and 3-way merge...
Auto-merging security/pkg/server/ca/server.go
CONFLICT (content): Merge conflict in security/pkg/server/ca/server.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 add debug info when generating certs for workloads
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherrypick release-1.16

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@zirain: new issue created for failed cherrypick: #45188

In response to this:

/cherrypick release-1.16

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

We donot backport such debug enhancement


Improve building sdcard on VMs

[ ] On ending the sdcard build script there should be more instructions how to continue for people building for their VM.
[ ] Maybe auto change into user admin and offer "release" or "start"
[ ] What happens to other users that were created on the base OS .. list and delete all other than root, admin, pi after request to user?

I added "delete users after request" so you can keep them if you want, but for a lot of users those might get forgotten with a weak inital password otherwise - so the raspilitz should detect and ask.

@adevoss I dont get the "customize" option. I mean the idea of provision stop is that you can replace/customize the code for example with another github branch or repo .. in a forked repo you can customize as much as like - where would you need a special option for that.
Just to be clear .. there will be no SSH menus at this provision point. Its just some text info, to let people now the options and is mostly aimed at developers to test contributions or PRs.

Also is there an option for a rollback e.g. if you accidently installed it in the wrong vm or worse the Proxmox PVE itself? Asking for a friend. I am afraid I probably will have to reinstall proxmox and start fresh right?

there will be no SSH menus at this provision point.

Thought there would be. Sorry.


str2var fails compiling when processing a string - not very useful behavior

A common use case for str2var for me is to have it go through a collection of string variables and have it convert them to the appropriate type.
This however becomes a problem, as str2var will crash godot if it encounters a variable that is supposed to be a string in the first place.
I think it would be more useful if the function simply returns the original input string in that case, rather than crashing the engine.
I made an ugly workaround function to get around that- just to stop it from crashing:
func cusStr2Var(inputString):
	if !isItAString(inputString):
		return str2var(inputString)
	else: return inputString

func isItAString(string): ##fixed
	var NameRegEx = RegEx.new()
	NameRegEx.compile('[A-Za-z]+')
	if NameRegEx.search(string) != null:
		return true
	else: return false

Its messy, might have to rewrite it, the idea is to avoid crashing
But would really like it if I didn't have to :)
If you want to keep the crash message as to why it failed to convert it, why not turn it into a warning instead?

One thing that could be nice is to at least have it return a null instead of blowing up. That way I can avoid using a regular expression to guess

For one side it's good to have it error, since it can avoid bugs. OTOH this current behavior makes it impossible to recovery, since Godot offers no error handling.
I don't like returning the original string, it makes impossible to know if it was a success or not. TBH this is also the case for null, it's totally possible to the original value was a Null since typeof(str2var('null')) == TYPE_NIL is true.
Also note that for a string to parsed correctly, it needs to be enclosed in double-quotes: print(str2var('"This will print nicely"')).

@vnen I agree that having some kind of error feedback is nice to have, but can't we make it a warning rather than a crash somehow? In many cases the extracted text doesn't have the the extra quotation marks and the current design breaks it. When you put it that way- yes the current design does make sense, but it is not convenient- especially when gdscript by design has avoided a 'try' command like the one that can be found in python.
So there is no way for me to catch the code exploding during the var2str operation - I am forced to mess with the data before it gets to it. If we cant return anything to indicate that it failed, can we at least have it not crash godot?
How about this, what if we pass an optional parameter to return something if it fails:
var2str(inputVar,returnIfFailsVar)
so example use can be
var myVar ="this might blow up"
var2str(myVar) #explodes as usual
var2str(myVar ,null) # returns null instead of exploding
var2str(myVar ,myVar )# returns original input instead of exploding

I can't think of anything else to suggest, I can close this issue if I am the only one who thinks it can be problematic sometimes.
Perhaps someone will have a better idea to approach this?

I'm not quite sure of the internals, but wouldn't passing no second parameter end up being equivalent to passing a null second parameter? The parameters don't end up in an array where you can distinctly count the size. They ultimately call a C++ function with actual Variants as parameters. You might have to completely rewrite strtovar to account for that, and even then, you'd have to put it under a different name to avoid naming conflicts since I don't think function overloading is an option here(?).

@willnationsdev the general idea is to optionally stop godot from crashing when a non-convertible string has been passed to it
The second parameter could just as well be a simple boolean to tell it that some of the informationg that is being parsed to it might be intended to be a string to begin with.
So if it can't convert it to something, at least don't crash

I'm not necessarily opposed to changing things to prevent a crash, but I don't think a second parameter is the answer in this case. A more efficient solution might be to have it return an ERR_* integer in case of failure. Doesn't seem as though it would be that difficult to implement.

@willnationsdev I think we talked about that solution with @vnen and he brought up a very good point that str2var returns different type of variables and it would be a problem if it returns anything- I suggested that it returns a null.
Your proposal is similar and has the same problem - if it returns an error integer, there is still a good chance that its the same value as an integer that you are converting from a string
I think that it should return the original string - as it detected that it is a string that can not be converted and also give some sort of a warning in debugger that it failed to convert it - instead of crashing the entire application

Hmm. I wonder if you could just test whether wrapping the content in double quotes creates a successful conversion, and then if so, return that. I haven't looked at the source code, but that would be an interesting approach. If you did it as a last resort, then you'd be able to just supply raw text to it and it would automatically output it as a string because it failed to match it against the string syntax and all of the other object syntaxes

Actually, returning the original string sounds like the best solution. You can compare the input and the output and if they're the same it means the parsing failed.

If that's the case, the error might be fixed with modifications to core/variant_parser.cpp, line 1255.
} else {
    r_err_str = "Expected value, got " + String(tk_name[token.type]) + ".";
    return ERR_PARSE_ERROR;
}

...and subsequent changes to _parse_array and _parse_dictionary.

No, I think it should be changed only for GDScript (since this is a GDScript-only function), so just change this if block to just return the original argument instead of creating an error:
https://github.com/godotengine/godot/blob/1fa9aac3e415f53a095e955c8a37000629d56dde/modules/gdscript/gdscript_functions.cpp#L702-L708
People using the VariantParser directly can detect the error themselves.

The only problem with this change is that if people don't check the return value, they might let a parsing error slip by, so I'm still not sure if this is wanted. str2var() is intended to be used with the result from var2str(), it should never fail.

@vnen  Godot's debugger is capable of printing warning messages - when for example a signal is fired to run a non-existent function - the application will continue running but a warning will be printed in the debugger. Why not use a warning instead of the termination?
Alternatively it could be optional to run str2var with a parameter to disable it from terminating the application and the current behavior be kept as the default.
It would be great to be able to just stream a bunch of strings to str2var and not be worried that one of them will crash the application

Was this fixed in #22934?

Should be yeah, closing as fixed by #22934. Please comment if you can still reproduce it.


[HUDI-6597] Fix closeReader in HoodieBackedTableMetadata

Change Logs

close readers when not reuse (regression by https://github.com/apache/hudi/pull/8758)
tableMetadata which is not reused does not require resuse (in FSUtils)

Impact
Fix closeReader in HoodieBackedTableMetadata
Risk level (write none, low medium or high below)
low
Documentation Update
none
Contributor's checklist

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

cc @prashantwason for the review ~

Test have passed: https://dev.azure.com/apache-hudi-ci-org/apache-hudi-ci/_build/results?buildId=18850&view=results


Error 400 when posting to webhook

Describe the bug
After following the setup instructions, messages from Foundry are not showing up on the server.
When looking at the console, Discord is sending back error 400
To Reproduce
Login to a Foundry World as a GM
Create a webhook using Discord as instructed, pointing to a channel on your server
Install the module and enable it.
From the webhook properties in discord, click "Copy Webhook URL"
From the configuration for the module in Foundry, paste the URL from the clipboard into the Web Hook URL and Roll Web Hook URL fields. Begins with https://
Save Changes and allow Foundry to reload
Send a message in chat
Expected behavior
A chat card or some other post appears in the Discord channel associated with the webhook
Screenshots

Additional context
Clicking on the link to discord in the "Failed to load resource" has discord returning a bunch of JSON.
Inspecting the error in the console using console.log indicates it is a bad request.

I did a bit of poking around this morning and it seems that the formData.append() statements are not actually altering the formData objects. I did disable every module except FoundryToDiscord while I was troubleshooting it.

I need some more details. What system is the world?

Also, have you tried using a different browser? Sometimes, requests will get blocked by adblockers and other extensions.

Hmm. I... actually don't know why that's happening. Give me some time to reproduce it.

Alright, I've tested it in Cypher right now, and it seems to be working properly on my end. I can't think of anything that could even cause this. I'll have to ask you to test on your end. If you can log requestParams just before the formData.append and show it to me here, I might be able to find the problem.

            console.log(requestParams.params);             formData.append('payload_json', JSON.stringify(requestParams.params));             console.log(formData);             requestQueue.push({ hook: waitHook, formData: formData, msgID: msg.id, method: 'POST' });             if (!isProcessing) {                 isProcessing = true;                 requestOnce();             }

ah here is the whole requestParams... my bad

On my end, I will try messing with the settings on the destination channel. Im going to try just a completely open channel and see if i have different results. However, i would expect formData.append to add the payload and it just doesnt seem to be doing that lol

I'll be honest here, I'm stumped. It seems like the request parameters are all there, it's either not appending the payload to the formdata object or the request gets wiped halfway through sending it. I don't think there's a reason other than the browser that's causing this, somehow.

I feel that! If it works on your end it has to be my end. :) If I ever sort it out, I'll let you know (or make a Push Request)

I finally figured out what I had done.

I didn't fill out the "Game Invite URL" because it sounded to me like it was asking me to provide a link for a game invitation and I didn't know if that was a foundry feature or not. Silly me!
Anyway, im not sure how to improve this because it makes perfect sense to me now.... i just didn't understand that this was required in order for the system to work and it wasn't giving me any error messages in the console or in the app that it was required :)

I didn't think of that one! That's one for the notes. The setting is there so people that are affected by CGNAT and are using a web tunnel like ngrok/playit/tailscale can have Discord access images in their server for avatars. At least, thanks to this, I know that leaving it on default won't work, and I've always had it filled in while testing. I'll fix this on the next release so a confusion like this can't happen again.


adding more courses

it is just limited to 3 courses, we need to add minimum of 9 more courses of python,html,css,javasript,reactjs,angular,django,etc.
please assign this issue to me.

@Sayyam19  please continue with this issue

i have completed work on issue assigned to me and also i did the pull request , please review and merge


Android skia canvas.DrawImage has no effect with SkiaBitmapExportContext

Issue moved from dotnet/maui#10575

Please respond to @philipag.

From @philipag on Sunday, October 9, 2022 1:50:52 PM
Description
When using SKCanvasView, one can use canvas.DrawImage and image is displayed.
However, when using SkiaBitmapExportContext.Canvas.DrawImage, nothing is rendered into the canvas.
Please see the attached sample for details.  It saves the file badOutputWithoutImage.png which should contain the Android robot image but does not.  It only shows the white background which was rendered into the canvas.
skiaBug.zip
Steps to Reproduce

Build the attached sample, build and run on an emulator.
Use Android Studio to navigate to and view the output file "badOutputWithoutImage.png"
The file does not contain the android robot image that was painted into the canvas (it should).

Link to public reproduction project repository
attached
Version with bug
6.0.486 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android, I was not able test on other platforms
Affected platform versions
Android 12
Did you find any workaround?
no
Relevant log output
No response

Hi @mattleibow Could you provide more information what "not planned" means or an alternative way that this could be done?  Minimally it seems that if bitmaps cannot be rendered like this then a NotSupportedException should be thrown.

Ah sorry. I moved it back into the Maui issue as this is a maui graphics issue as far as I can tell. I should have updated this.


Experimental Prompting DSL

Title: Advanced OpenAI API Interaction Abstraction

This pull request introduces new classes and methods to improve and simplify interactions with the OpenAI API.
Key changes include:

New message classes for more flexible chat interactions.
ChatCompletion class to seamlessly build entire chat interactions.
MultiTask helper function to handle tasks involving multiple subtasks.

The changes provide robustness, flexibility, and a cleaner way to interact with the OpenAI API.

This looks very cool, like it a lot!
3 minor comments:

I was really confused by the "or" notation until looking at the source; there might be a solution/notation that feels more natural?
This would imho need some explanation/documentation of possible Prompt components right from the start (can by in comments)
it might make sense to disentangle prompt components and function/output components for more clarity? It is cool that mixing up is possible but imho, this adds to the confusion - in the examples the output function and prompt components are not really related and i naturally asked myself why MultiTask(subtask_class=Search) came after ExpertSystem and before CoT....

This looks very cool, like it a lot!
3 minor comments:

I was really confused by the "or" notation until looking at the source; there might be a solution/notation that feels more natural?

This would imho benefit from some explanation/documentation of possible Prompt components right from the start (can be in comments)

it might make sense to disentangle prompt components and function/output components for more clarity? It is cool that mixing up is possible but imho, this adds to the confusion - in the examples the output function and prompt components are not really related and i naturally asked myself why MultiTask(subtask_class=Search) came after ExpertSystem and before CoT....

data class just gets me post init as you said. Only way my tests pass was to add it to every class. In pydantic 2 there's a better way

funny enought chaining like this is more natural to me. It's less cluttered than a.pipe(b).pipe(c)

order does not matter rn. It's almost commutative composition. (Message history is trickier)

But systems and cot could come last and it wouldn't matter.

Hey, this looks really awesome! One question I have though is what is the best way of combining several features in the same message since with the current abstractions each new object is a new message. Say we want to include tips into our system message, we could create a SystemTips class and build our system message like this:
SystemPersonality(name='helpful general assistant'')
SystemGuidelines(guidelines=['You never swear', 'You are polite and say please and thank you often', 'You only answer from the provided data']
SystemTask(task='Segment emails into search queries')
SystemTips(tips=[
                "When unsure about the correct segmentation, try to think about the task as a whole",
                "If acronyms are used expand them to their full form",
                "Use multiple phrases to describe the same thing",
            ]

And we would have ChatCompletion concatenate each of the object's contents in order to build a final system message. In this way the user can add unlimited abstractions that buildup to a single message and easily choose the order of how these components are combined to build the final message.
I have not thought of what's the best way to implement this but was wondering if it sounds useful before exploring further.

Would you want to try to PR or that?
Basically a light compiler that says: if there are multiple system  messages. Merge them into one rather than picking one or throwing and error?

Finally got around to look at this properly.
I see this approach as the opposite of Scott's guidance DSL: this being code orchestrating prompt components, guidance being prompt orchestrating code components.
Some notes:

offering common prompt components as reusable functions is very nice
Love the high-level declarative syntax, but not sure if developers are okay with being this abstracted away the final prompt. * It feels like the user still needs to understand how the primitives in this DSL maps to the underlying system message/function call to use this effectively. So unclear how leaky the abstraction is.
The DSL makes a strong assumption that primitives in the DSL fall neatly into individual message, but not sure if assumptions hold well. I can see using a more powerful "compiler" to get around this, but not sure what that compiler should look like.

could always do
ChatComplete() | UserMessage("Long ass prompt") | Multi(task=TaskClass)
you can also review the prompt by doing
completion.kwargs
--
At a higher level im pretty tired of managing some blank tempkate strings being passed around, templated into templates. where as here, the template is first class
template, completiong arguments, tool use are all on the same level.
rather than having template arguments so 'far away' from templates and their strings.

could always do
ChatComplete() | UserMessage("Long ass prompt") | Multi(task=TaskClass)
you can also review the prompt by doing
completion.kwargs
--
At a higher level im pretty tired of managing some blank tempkate strings being passed around, templated into templates. where as here, the template is first class
template, completiong arguments, tool use are all on the same level.
rather than having template arguments so 'far away' from templates and their strings.

could always do
ChatComplete() | UserMessage("Long ass prompt") | Multi(task=TaskClass)
you can also review the prompt by doing
completion.kwargs
--
At a higher level im pretty tired of managing some blank tempkate strings being passed around, templated into templates. where as here, the template is first class
template, completiong arguments, tool use are all on the same level.
rather than having template arguments so 'far away' from templates and their strings.

Duplicate of #10


Remove redundant debug settings from project template

Fixes #2078.
I've double checked that removing this code leads to the same behaviour as before.

Thanks!


How to write the info.json of every video in a playlist?

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Question
When I use the --write-info-json flag and use only the URL of a playlist, only the playlist's own info json get's exported. What do I need to do in order to have a json for every video in that playlist?
Verbose log
No response

Normally, each infojson will be written. You must be adding some other option that is preventing it. Show verbose log

I left the --download-archive flag in while not backing away the archive file, my bad, it works as intended.

@pukkandan I have another question though, I don't want to flood with another issue. Is it possible to reverse the playlist index -output flag? What I mean is often videos in playlists are listed the other way around i.e. the 5th episode is at the 1st index the 4th at the 2nd etc. So when I download the files will look like this: 01 - Episode 5, 02 - Episode 4. Is there a way to reverse this index flag?

The latter worked thank you.


fix: set max height on select field

Currently, if you have a lot of options provided to the select, the select doesn't overflow. Even with the select not being open, this can cause the entire page to expand past it's intended height and of course, when open, the select could be 1000px high
Before:

After:

@Pagebakers - I can update the story if you'd like. What I did to test my fix was:
const options = Array.from({ length: 100 }).map((n, index) => ({ label: String(index), value: String(index) }));

@Pagebakers - updated story 🙂


Update doc links

Fixes #1483
I found most of the documentation to be up-to-date. The only thing worth changing was some links, https://pkg.go.dev is the new home for package documentation in go, replacing the old https://golang.org/pkg. Although old links redirect properly, it's probably best to have the right links directly listed.
I did the same for a reference to exercism.io and converted it to the right link on exercism.org.

Applied the suggestion to remove the query params.


quick option ignores time from timestamps like 2007-09-24T15:30

The time part of above timestamp gets added to the message text. The task itself gets assigned to correct date but gets no time associated with it.

quick gets no processing by gcalcli but directly calls the quick add API from Google.  We take the string you supply and send it off to Google.  All the processing on the string is done by Google.  It's the same as using the "Quick Add" button in Google Calendar.


Continuing module resolution from request scope (#62)

This continues the work started by @khellang in #62.
In order to allow for better route lookup, this changes the route list into a dictionary in the module (as already mentioned before in chat). That way, you can now look up a route handler by verb and path instead of having to iterate over the list for a match. In addition, this also has the side effect, that you cannot register multiple handlers for identical routes anymore (maybe this needs some better error handling in the module methods though).
The next step was to avoid creating all those handlers when a route is being activated. The solution is actually pretty simple if you think about what was going on before: All that was happening was that the originally registered route handler was wrapped twice, once with the before and after handler from the module, and then again with that final thing. But we don’t actually need to wrap anything here; instead, we can just combine all those handlers into a single one that does everything—so we basically inline all those wrapping. The result is a single handler that is being constructed at startup time, so we are not allocating any handler when the route is later being executed. We just call the correct things in the correct order.
Finally, I refactored that a bit since I was hitting a naming issue myself where I used both the requestScopedModule and the original module within the handler. To avoid this from happening, I extracted this out in its own method so that you have a clear interface (the method signature) about what will be captured within the created lambda expression.

Just an FYI; the RFC says methods are case sensitive

The method token is case-sensitive because it might be
used as a gateway to object-based systems with case-sensitive method
names.

But I don't think many implementations enforce this, including ASP.NET Core.

Sales Pitch, Botwin is a RFC7231 enforcer 😄


Import from csv variable

This is for #601. Needed this functionality for something else. Not sure if this change is what was expected.

Current coverage is 67.25% (diff: 100%)

Merging #751 into develop will increase coverage by 0.04%

@@            develop       #751   diff @@
==========================================
  Files             1          1
  Lines          9803       9806     +3
  Methods        1029       1029
  Messages          0          0
  Branches       2926       2927     +1
==========================================
+ Hits           6589       6595     +6
+ Misses         3214       3211     -3
  Partials          0          0

Powered by Codecov. Last update ea289b3...a48d1b6

Looks awesome - thanks !


This package hasn't moved AFAIK.


TAB completion is giving local directory files where command is called.

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the Typer documentation, with the integrated search.
[X] I already searched in Google "How to X in Typer" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to Typer but to Click.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
#!/usr/bin/env python3
import typer

mgmt_ip_cfg_app = typer.Typer(help="Management Interface Configuration", no_args_is_help=True)

@mgmt_ip_cfg_app.command("Ipv4",
    no_args_is_help=True)
def ipv4_cfg(
            ip: str = typer.Argument(...),
            gateway: str = typer.Argument(...),
            prefixlen: str = typer.Argument(...)):
    pass

@mgmt_ip_cfg_app.command("Ipv6",
    no_args_is_help=True)
def ipv6_cfg(
            ip: str = typer.Argument(...),
            gateway: str = typer.Argument(...),
            prefixlen: str = typer.Argument(...)):
    pass

def main():
    mgmt_ip_cfg_app()

if __name__ == '__main__':
    main()

Description
Hi,
I am new to typer. Kindly point me to doc/issue if this issue is already resolved.
I have written a small cli completion code tmp.py and executed "./tmp.py --install-completion bash".
When i tried to do tab completion , if no files are there tmp.py is repeating "./tmp.py Ipv4 tmp.py tmp.py" or if any files is there, they are getting displayed in the directory where i am calling this script. Could you please help me to resolve this. I am expecting if the last command is reached it should either display help on TAB or dont display anything so that user will enter to get help.
If there are local files, TAB after Ipv4, they are getting displayed.
[root@Linux]# ./tmp.py Ipv4
1       tmp.py

Operating System
Linux
Operating System Details
No response
Typer Version
0.7.0
Python Version
3.6.8
Additional Context
No response

Hi,
I had the same issue. I had the wrong order of zsh-completion commands in my .zshrc. Try to add this to your .zshrc:
autoload -Uz compinit
zstyle ':completion:*' menu select
fpath+=~/.zfunc
compinit

Thanks @shelper https://github.com/tiangolo/typer/issues/54#issuecomment-901209114

Same issue, not resolved yet

Thanks for the report! For the zsh shell, this should be fixed with https://github.com/tiangolo/typer/pull/237, which essentially contains the same fix as @relativityhd mentioned here.

I've tried the #237, but not resolved yet. Version: typer == 0.12.3
Here is my .zshrc about completion.
autoload -Uz compinit
zstyle ':completion:*' menu select
fpath+=~/.zfunc
compinit

When I do same thing with the document, my shell can only dispaly the file in current dictory after pressing [tab] [tab]

@Zhang-Zelong: can you remove the second line from your .zshrc (take a backup first), restart the console, and try again? The file should look like this:
autoload -Uz compinit
fpath+=~/.zfunc
compinit

Okay! That works for me, thank you

It's a known bug that has already been fixed by PR https://github.com/tiangolo/typer/pull/237, but requires a final review before it will be merged into master and released with the next Typer update.

Thanks all! This was handled in https://github.com/fastapi/typer/pull/237, it will be available in Typer 0.12.4, released in the next hours. :tada:


Rendering issue on menu bar and other elements

Bug Report
My team and I are having issue getting covalent to work especially with some components like the default toolbar with search. I have checked everything including the scss imports and component imports but nothing seems to work.
Screenshot

What is the expected behavior?

Versions
Angular : 2.4.0
Material : 2.0.0-beta.2
Covalent : 1.0.0-beta.2-1
Web Browser : Google Chrome 57 and Mozilla Firefox 52
OS: Ubuntu 16.04
Steps to reproduce
I have made a github project using angular-cli with a clean configuration and I just added the toolbar html code found on the covalent documentation as well as adding all needed imports. The html toolbar content is inside src/app/app.component.html.
Link : https://github.com/victorboissiere/covalent-issue

@victorboissiere You need to include the @covalent styles in your angular-cli.json under styles
<EMAIL_ADDRESS>The reason everything breaks is because @covalent uses flexbox styles that are included in the platform.css
This is mentioned in the getting started guide in the bottom
https://github.com/Teradata/covalent/blob/develop/docs/GETTING_STARTED.md#using-platformscss

Thank you so much. It fixed the problem. It is unfortunate still that it is not present in the getting started from the online documentation : https://teradata.github.io/covalent/#/docs or style guide.
Thanks

Adding FAQS label

I'm facing a somewhat similar issue where all the text in my toolbar is not vertical center aligned.

I've included platform.css in .angular-cli.json. What might be causing this issue?

Are you running the app in IE11?


feat(snippets): use H3 headers

https://github.com/nushell/vscode-nushell-lang/pull/127#issuecomment-1549939091
Based on ide.rs exploration.

thanks


Model JSONPath segments explicitly

Considering our abstract class JSONPathSelector, and the absence of a JSONPathSegment class, we are currently blurring the lines between segments and selectors.
We should refactor to follow the JSONPath model described in RFC 9535 by implementing a JSONPathSegment class, where all JSONPathSelector instances belong to a segment, even shorthand selectors. In turn, a JSONPath expression (currently JSONPath and should be JSONPathQuery or JSONPathExpression to match terminology from RFC 9535) should be made up of segments only.
This diagram illustrates what we want.

i'm toying around with an idea to make a json path builder ui, something in the lines of this:

and using segments seems like a more logical and correct way to "split" the interactive parts on

👍 I'd be interested to see your builder UI, if you make it public.
PR #28 introduces a JSONPathSegment abstract class with ChildSegment and DescendantSegment concrete subclasses, each of which are composed of one or mode JSONPathSelectors.
Now, both $["foo"] and its shorthand equivalent $.foo have the same internal representation.
{
  "segments": [
    {
      "kind": "child segment",
      "selectors": [
        {
          "kind": "name selector",
          "name": "foo"
        }
      ]
    }
  ]
}

$["foo", "bar"] would be a single segment with two selectors.
{
  "segments": [
    {
      "kind": "child segment",
      "selectors": [
        {
          "kind": "name selector",
          "name": "foo"
        },
        {
          "kind": "name selector",
          "name": "bar"
        }
      ]
    }
  ]
}

$.foo.* and its long hand equivalent $['foo'][*] are examples of a query with two segments, each with one selector.
{
  "segments": [
    {
      "kind": "child segment",
      "selectors": [
        {
          "kind": "name selector",
          "name": "foo"
        }
      ]
    },
    {
      "kind": "child segment",
      "selectors": [
        {
          "kind": "wildcard selector",
        }
      ]
    }
  ]
}

And $..foo.* and $..['foo'][*] are examples of a query including a descendant segment.
{
  "segments": [
    {
      "kind": "descendant segment",
      "selectors": [
        {
          "kind": "name selector",
          "name": "foo"
        }
      ]
    },
    {
      "kind": "child segment",
      "selectors": [
        {
          "kind": "wildcard selector",
        }
      ]
    }
  ]
}

oh wow, that looks great. in my early attempts the bracketed selector didn't fit in really, but now it looks like it will make sense and clean up a bunch of code! also this looks like it will generate a valid json path string, something i had issues with...
if i get something working that i'm happy with i will gladly consider publishing it, perhaps it would makes sense in the json-p3 playground?

perhaps it would makes sense in the json-p3 playground?

Sounds good.

I've decided to stick with the simpler approach, now released as version 2.0.0.


[cvmfs i] Add an introductory section on using CVMFS

This will give users of the CernVM a first taste of distributed computing.

Fixed by #44.


The size of the npm package is unrealistic.

NPM package size: 53.2 KB
NPM package size on disk: 112 KB
If I'm not mistaken the size of the actual solution is only about 5.5 KB, which should be something to boast about.
The problem is the dev dependencies. The yarn file alone is 100 KB. For a production application these dev dependencies should not be included in the node modules package, only the git repository.
Love this solution btw, Keep up the great work. Please be sure to ping me if there is anything I can do! ;)

Hello @kjr247
Thanks for your feedback.
Not sure which version you're referring to but I'll be talking about 2.0.0-1, as I have it opened at the moment.
So v2 currently is 876 B min + gzip (this is what is included in your project when you're importing it)
Regarding npm package folder size, I was inspired by most popular libraries (redux specifically) and basically they include the same content as "typesafe-actions", which is:

package.json
license
readme
tests tsconfig (this one is already removed on next branch, I forgot about it)
src folder
lib modules (commonjs)
jsx

What I plan to optimize further is to unify type declarations with a separate build process and the second one would be to include optimized AMD "dist/" bundle (same as in redux package).
Also I'm not sure if *.map files should be included as it's currently (redux doesn't have them) 🤔
Is there anything else you'd like to suggest should be removed from above list?

Awesome support! I re-implemented your entire solution here, and thought it was very elegant. I will be using it in many projects. ;)


org.apache.rocketmq.client.impl.MQClientAPIImpl#getBrokerClusterAclInfo 获取版本空指针

Before Creating the Bug Report

[X] I found a bug, not just asking a question, which should be created in GitHub Discussions.

[X] I have searched the GitHub Issues and GitHub Discussions  of this repository and believe that this is not a duplicate.

[X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment
centos7
RocketMQ version
5.1.3
JDK Version
1.8
Describe the Bug
获取broker中的acl文件版本号抛空指针异常， 响应头里解析的版本字段为空

Steps to Reproduce
java.lang.NullPointerException
at org.apache.rocketmq.client.impl.MQClientAPIImpl.getBrokerClusterAclInfo(MQClientAPIImpl.java:498)
at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.examineBrokerClusterAclVersionInfo(DefaultMQAdminExtImpl.java:303)
at org.apache.rocketmq.tools.admin.DefaultMQAdminExt.examineBrokerClusterAclVersionInfo(DefaultMQAdminExt.java:222)
What Did You Expect to See?
预期得到acl的版本号，同步更新集群的acl文件
What Did You See Instead?
异常，调整需要重写，很麻烦
Additional Context
No response

https://github.com/apache/rocketmq/blob/00965d8c11833237d5c9cd925664a1c456493cee/acl/src/main/java/org/apache/rocketmq/acl/AccessValidator.java#L70-L76


wrong version of grub detection on Ubuntu Trusty

puppet-agent[19114]: Found multiple default providers for kernel_parameter: grub, grub2; using grub
grub-install --version
grub-install (GRUB) 2.02~beta2-9ubuntu1.3
lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.3 LTS
Release:	14.04
Codename:	trusty
how come it's using grub1 instead of grub2 ?!

Because the grub2 provider is not marked as default for this os.

any way to enforce grub2 as default?

You can always pass a provider  attribute to the resource in DSL. A PR against the provider would be welcome, too.

Any example?

provided => grub2 in the resource declaration.

Fixed in #17


feat: add boost.describe and boost.utility

add boost describe and utility
need skip url stability check

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (boost.describe, boost.utility) have been updated in this PR. Please review the changes.

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (boost.describe, boost.utility, boost.variant2) have been updated in this PR. Please review the changes.


Include opt-in marker file for direct source mode for cloud dispatcher config

Expected Behaviour
By default an opt-in file exists which switches cloud dispatcher config into direct source mode.
It can be detected by running dispatcher config validator by dispatcher SDK:
$ bin/validate.sh src.arch.opt-in
opt-in USE_SOURCES_DIRECTLY marker file detected
Phase 1: Dispatcher validator
Cloud manager validator 2.0.30
2021/05/14 17:32:01 No issues found
Phase 1 finished
Phase 2: httpd -t validation in docker image
values.csv not found in deployment folder: /Users/someusername/dispatcher_sdk_2.0.48/dispatcher-sdk-2.0.48/src.arch.opt-in - using files in 'conf.d' and 'conf.dispatcher.d' subfolders directly
processing configuration subfolder: conf.d
processing configuration subfolder: conf.dispatcher.d
(...)

Actual Behaviour
For now the default (when opt-in file does not exist) is the previous limited mode where the dispatcher config is processed by dispatcher validator and produces limited in scope strict set of output files:
$ bin/validate.sh src.arch.no-opt-in
Phase 1: Dispatcher validator
Cloud manager validator 2.0.30
2021/05/14 17:31:20 No issues found
Phase 1 finished
Phase 2: httpd -t validation in docker image
values.csv found in deployment folder: /tmp/dispatcher_validation_1621006280 - using files listed there
(...)

Reproduce Scenario (including but not limited to)
Run validate.sh script in Dispatcher SDK against archetype-generated dispatcher configs - the logs do not show that the direct source mode is enabled.
Steps to Reproduce

download AEM as a Cloud Service SDK
copy archetype-generated dispatcher configs for cloud
run validate.sh script from Dispatcher SDK

Platform and Version

Dispatcher SDK 2.0.48
archetype v. 27

Sample Code that illustrates the problem
mvn -B archetype:generate \
 -D archetypeGroupId=com.adobe.aem \
 -D archetypeArtifactId=aem-project-archetype \
 -D archetypeVersion=27 \
 -D appTitle="Use dispatcher sources directly mode" \
 -D appId="dispatcher-config-direct-sources" \
 -D groupId="com.adobe.aem" \
 -D aemVersion=cloud

Logs taken while reproducing problem
When opt-in marker file is manually created in dispatcher configs directory:
$ bin/validate.sh src.arch.opt-in
opt-in USE_SOURCES_DIRECTLY marker file detected
Phase 1: Dispatcher validator
Cloud manager validator 2.0.30
2021/05/14 17:32:01 No issues found
Phase 1 finished
Phase 2: httpd -t validation in docker image
values.csv not found in deployment folder: /Users/someusername/dispatcher_sdk_2.0.48/dispatcher-sdk-2.0.48/src.arch.opt-in - using files in 'conf.d' and 'conf.dispatcher.d' subfolders directly
processing configuration subfolder: conf.d
processing configuration subfolder: conf.dispatcher.d
(...)

vs by default it's not present and direct source mode is not enabled:
$ bin/validate.sh src.arch.no-opt-in
Phase 1: Dispatcher validator
Cloud manager validator 2.0.30
2021/05/14 17:31:20 No issues found
Phase 1 finished
Phase 2: httpd -t validation in docker image
values.csv found in deployment folder: /tmp/dispatcher_validation_1621006280 - using files listed there
(...)

@bpauli @vladbailescu Please accept #704 and add to Archetype 28 milestone as well, if possible (to be released together - in the same archetype version - with #668 / #669).


changing tests/README.md to reflect repo structure change

What does this PR do?
Changing tests/README.md to reflect changes in repo structure.
Does your PR introduce any breaking changes? If yes, please list them.
No
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

Hi, is there anything left to be done on this PR?


refactor!: Track runtime version numbers; use collector result format

🔗 Linked issue

❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[x] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This PR performs a big update to the format of the runtime data output for two main reasons:

Track runtime versions in the data
Increase interopability with mdn-bcd-collector (using the same results)

To track the runtime versions directly in the data, it was determined that it would be better to utilize the collector's existing report structure and report the version using the userAgent property already provided by the schema.  A simple, custom UA string is used: !! runtime/version.  (The preceding exclamation points are to ensure that typical UA parsers do not attempt to parse the custom string and report incorrect info.)
The version information is then compiled into a __version property exported by the runtime-compat-data package.  This property is then used in the website to show the runtime versions that were tested:

Notes
Because the data structure was changed, the data has been regenerated locally.
Code has been implemented to prepare for the landing of https://github.com/unjs/runtime-compat/pull/106.
Obtaining the version number for WinterJS within the runner has proven to be difficult.  Since we are not currently updating WinterJS data, I've decided to just manually modify data.json to add the version number this time around.
📝 Checklist

[x] I have updated the documentation accordingly.

This is a great update. I think I've found the source of the failing action.

The tests are failing because of the new console.dir test. The fix is here: https://github.com/unjs/runtime-compat/pull/113


Make doc of global comp. labels consistent

The documentation used different format than all other resource.
The create action documentation now does not mention the description
field which is not used anyway. See PDC-611.
The links in documentation lead to page causing internal server error.
While unfortunate, this already happens on global/release component
contacts

+1. Maybe give a warning to tell the user to input int instead of {component_id} or something?

Looks good to me.

@simozhan Good point, I think I actually fix the internal server error.

Looks good to me


[relay] and [aggregator] sections do not inherit from [cache] section

Perhaps this is by design, but working with 0.9.15 on Centos 7 I've found that if you don't specify a USER in [relay] or [aggregator] sections it will start the processes under root, whereas for the [cache] section which has a default USER it will start the process under the said user, in this case carbon.
Given this behaviour, what other variables from the [cache] section are and are not inherited by the [relay] and [aggregator] sections?
I'm asking this because based on the docs I was expecting that the variables would be inherited from the [cache] section but I may have misinterpreted this and there is need for duplication of certain variables to the other sections, but it's unclear which are and which are not inherited, henceforth the question above.
Kind regards,
Dan

IIRC and it's by design, indeed. And none of the variables are inherited BETWEEN sections - only from [x] to [x:instance], but not between [x] and [y]...

Is there a list of variables that exist in [cache] that can be applied to the other sections (not instances). The example being the USER variable, which is defined in [cache] but can be used in other sections.

Sorry, but why that list could be needed if there's no inheritance between different section exists?...

Because for certain settings such as MAX_QUEUE_SIZE the config calls out the setting explicitly both in the [relay] and [aggregator] section, CARBON_METRIC_PREFIX is called out in all 3 sections, but the example above, USER, is only referenced in the [cache] section.
Based on the example config file, the assumption is if the setting is only in one section, that's the only section it should be set to, but that's not entirely true as you can set USER in all the sections.
And for example, if I define STORAGE_DIR in [cache] as /something but I don't define it in the other sections, I assume that the other sections would use the default value for STORAGE_DIR and point someplace else.
A list of "what's available per section" is useful to deduct if any other settings can and should be added to the other sections.

STORAGE_DIR has no sense for [relay] and [aggregator], isn't it?
IMO if you put all combinations of all options to all sections config example will be "overloaded".
Sorry, still see no much gain from the effort. But feel free to fix documentation or config example if you want to - https://github.com/graphite-project/graphite-web/tree/master/docs

Yes, STORAGE_DIR wasn't the best example but you understand where I was going with this.
I understand adding all combinations to all sections would not be ideal.
Ok, then what would be a way for me to extract all of the valid options for each section?

That's my point - reading source code is a single way how you can do that. It's all there - https://github.com/graphite-project/carbon/blob/master/lib/carbon/conf.py
Not a rocket science but some efforts are required.

Understood. In the meantime I've created a pull request for updating the docs as I think USER setting is an important one to have for all sections. https://github.com/graphite-project/carbon/pull/558


Running the class's base function

Hi, does Penlight's implementation of a class have the ability to run the base classes functions?
local Person = class()
function Person:sayHello() print("Hello world") end

local George = class(Person)
function George:sayHello()
  self.super:sayHello()  -- Pseudo-code to demonstate what I mean <<
  print("My name is George")
end

local g = George()
g:sayHello()

-- result:
-- Hello World
-- My Name is George

Right now I'm just doing this Person.sayHello(self) but that seems non-ideal. Is there currently a way to do this? Or should I just add the base class manually to the subclasses.

You can use self._base.sayHello(self) to get your expected results, but I strongly recommend not going down that rabbit hole and instead restructuring your classes so you don't need to call anything other than the _init() function from subclasses. You can add hook methods to the base class and then add the additional functionality by defining hooks in the child class instead.
Also note you do not want the self._base:sayHello() syntax here otherwise self will end up being the base class table instead of your current instance.

I apologize, I'm still quite new to Lua. How do you mean? Do you mean something like this:
function Person:speak()
  print("Hello world")
  self:sayHello()
end

function Person:sayHello() print("I have no name") end

local George = class(Person)

function George:sayHello()
  print("My name is George")
end

local g = George()
g:speak()

-- result:
-- Hello World
-- My name is George

Or do you mean actually putting something in the _init itself?

Yes. That's not exactly what I started to describe, but my use case is much more complex involving a variable number of hook functions. What you've done there with a stub function in the base class that gets overridden with a useful function is perfectly appropriate ... at least for that MWE.

Ok thank you

from your first example;
local Person = class()
function Person:sayHello() print("Hello world") end

local George = class(Person)
function George:sayHello()
  self.super:sayHello()  -- Pseudo-code to demonstate what I mean <<
  print("My name is George")
end

local g = George()
g:sayHello()

-- result:
-- Hello World
-- My Name is George

the line g:sayHello() is Lua's syntactic sugar for the real call being g.sayHello(g) (the the table you call on, is injected as the first parameter).
The same applies to the method definition; function George:sayHello() is actually being defined as function George.sayHello(self) (a parameter named self is injected as the first parameter.
What does this have to do with your question then? Look at this line; self.super:sayHello(), the syntactic sugar will be translated into self.super.sayHello(self.super) so instead of the instance (which is self), we're passing self.super (which is the base class). And this is not what you want, since it will not work. That's what @alerque mentioned.
The syntactic sugar is unavailable for the call to the base class, so you'll have to use the full syntax.
So instead of self.super:sayHello() you'll have to use self.super.sayHello(self).
hth.


add media er

Jira [1] [2]
We want an entity relationship from the specimen to the media object, but specimens are processed before media objects, so the media objects won't have a PID. the solution is to create an interim ER with the dwc:relatedResourceID set as the media URI, then update the ID once the media processor has ingested the media.
There are some TODOs: these are just clarifications to address
Cases
1- During ingestion, specimen is created with media event
For each media event attached to the new specimen, we create a interim entity relationship between them.

dwc:relationshipOfResource = "hasMedia"
dwc:relatedResourceId = media URI
Agent = DiSSCo Processing Service (PID still TBD)
remark ="Media Object is not yet ingested in DiSSCo. PID is not yet available."

2 - During ingestion, specimen is updated
Updates are a bit more complicated. If the currentSpecimen has a media EntityRelationships, we need to take them into the new version of the specimen, but only if that media is also present in the specimenEvent.

Existing media = media objects in both the previous and updated specimen records. we take the corresponding media ER into the updated specimen (before checking for equality)
Obsolete media = media objects in the previous version and not the updated event. these are not brought into the updated specimen
New media = media objects in the updated event that are not present in the previous version. in these cases, we add an interim entity relationship (as in case # 1)

3 - Media processor finishes ingesting related media, informs specimen processor
Once the media processor has ingested the relevant media, it sends a kafka message to the specimen processor to update the specimen's entity relationship. The changes to the event are:

dwc:relatedResourceId = ~media URI~ --> mediaPID

remark = ~"media object is not yet ingested..."~ --> null

question: should dwc:relationshipEstablishmentDate be updated as well?
The specimens are updated without updating the version number
New Resources
MediaEntityRelationshipService - made this a separate service because the processing service is already quite long, and splitting it here makes it easier to test
DigitalMediaUpdatePidEvent - event from the media processor. contains the specimenPID, digitalMediaPID, and media access URI

parking for now


Rename Account functionality

Motivation and context
Renaming wallets is important for managing financials
Clearly and concisely describe the feature added/isses being solved.
Does it fix any issue?
Adds functionality that isn't currently available in new dawn
#(issue)
Other useful info
N/A
Quality checklist

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough e2e tests.

⚠👆 Delete any section you see irrelevant before submitting the pull request 👆⚠

Hey! Thanks for the PR! 🖤
It's perfect except for a few super small details 😇

Hey! Thanks for the PR! 🖤
It's perfect except for a few super small details 😇

Thanks for taking the time to review, I pushed up a few changes that should make this more stable, specifically i removed the validation, made it so that I use a mouse click instead of an enter key, and removed a test spec I wrote for the English reserved names.
Good catches btw

I'd appreciate it if we can rerun the failed tasks, I changed the title of the PR to fit the standard.

I ran lint and redid the title, hopefully this is ready to go (:

@drptbl Can you handle this? Looks decent 👍

@drptbl can you please rerun this Validate Title check?
Last one should've been valid, not sure why it failed. Any idea?

@duckception @drptbl either of you able to get this merged?
The naming convention is being followed from what I understand but if not lmk what i'm doing wrong.


 I should have done it then and had it ported over to 1.8 and above.

I don't think I want to release a new 1.7.10 version just for this change.

Alright.


Create utility function for generating GUID

In case, anyone looking to contribute on this issue. @psyperl is working on this. we may discuss with him


readiness_probe does not respect working_dir

Defect
Make sure that these boxes are checked before submitting your issue -- thank you!

[x] Included the relevant configuration snippet
[x] Included the relevant process-compose log (log location: process-compose info)
[x] Included a [Minimal, Complete, and Verifiable example] (https://stackoverflow.com/help/mcve)

Version of process-compose:
OS environment:
Steps or code to reproduce the issue:
Config:
processes:
  clientA:
    working_dir: "clientA"
    is_daemon: true
    command: "sleep 10 && touch ready"
    shutdown:
      command: "rm ready"
    readiness_probe:
      exec:
        command: "echo $(pwd) > ready-check && test -f ready"
  clientB:
    command: "echo all done!"
    depends_on:
      parent:
        condition: process_healthy

Expected result:

clientA process becomes ready and clientB prints "all done"
File ready-check exists in folder clientA

Actual result:
clientA process never becomes ready and log says:
process-compose.log

23-07-19 09:41:34.127 INF Process Compose v0.51.4
23-07-19 09:41:34.127 INF Global shell command: bash -c
23-07-19 09:41:34.127 INF Loaded project from /var/home/joe/Projects/code/process-compose-working_dir-mcve/process-compose.yaml
23-07-19 09:41:34.127 INF start http server listening :8080
23-07-19 09:41:34.127 DBG Spinning up 2 processes. Order: ["clientA" "clientB"]
23-07-19 09:41:34.127 INF clientB is waiting for clientA to be healthy
23-07-19 09:41:34.127 DBG Shortcuts loaded from /var/home/joe/.config/process-compose/shortcuts.yml
23-07-19 09:41:34.128 INF clientA started
23-07-19 09:41:34.128 DBG clientA_ready_probe started monitoring
23-07-19 09:41:44.130 INF clientA exited with status 0
23-07-19 09:41:54.129 INF clientA is not ready anymore - exit status 1
23-07-19 09:41:54.129 DBG terminating clientA with timeout 10 ...
23-07-19 09:41:54.129 ERR Process clientA was aborted and won't become ready
23-07-19 09:41:54.130 ERR Error: process clientB depended on clientA to become ready, but it was terminated
23-07-19 09:41:54.130 ERR Error: process clientB won't run
23-07-19 09:41:54.131 ERR terminating clientA with timeout 10 failed - exit status 1
23-07-19 09:41:54.131 INF Project completed
23-07-19 09:41:55.131 INF Thank you for using process-compose

File ready-check exists in parent folder, not in clientA
clientB never prints "all done" since clientA never becomes ready

❯ ls clientA/
ready

❯ ls .
clientA/  process-compose.yaml  ready-check

MCVE: https://github.com/joefiorini/process-compose-working_dir-mcve

Good catch.
Will be fixed in the next release.

Should be fixed in v0.60.0
Feel free to reopen if it doesn't work as expected.


LeetHub is not working on the new version of the leetcode website

Describe the bug
LeetCode website is updated and now when I submit the questions the extension is not working.
To Reproduce
Steps to reproduce the behavior:
1.Go to leetcode.com
2.submit a question
3.check if it updates in github
Expected behavior
My github repo should have been updated but it is not.
Additional context
The extension works perfectly when i manually switch to old version from settings on leetcode website.

May I help working on a update that matches the new LeetHub's page?


运行python example 会报错

Traceback (most recent call last):
File "D:\Files\tool_dev\toolDev\data_format\protobuf-parser-tool-master\protobuf-parser-tool-master\python\example_person.py", line 44, in
reader = PersonRead.GeneralProtoReader(protofile, GeneralProto.Person)
File "D:\Files\tool_dev\toolDev\data_format\protobuf-parser-tool-master\protobuf-parser-tool-master\python\proto_buf\General_buf_read.py", line 21, in init
self.version = self.parseBindata(self.protofile.read(4))
File "D:\Files\tool_dev\toolDev\data_format\protobuf-parser-tool-master\protobuf-parser-tool-master\python\proto_buf\General_buf_read.py", line 87, in parseBindata
binval = [int(struct.unpack('b', temp_len[0])[0]),
TypeError: a bytes-like object is required, not 'int'
Process finished with exit code 1

您的邮件已经收到，我会尽快查看处理的，谢谢！ This is an automatic reply, confirming that your e-mail was received. Thank you!

python2,不能用python3，我测通了

您的邮件已经收到，我会尽快查看处理的，谢谢！ This is an automatic reply, confirming that your e-mail was received. Thank you!


Boxplots for metabolites don't show up

The box plots for metabolites don't show when "Show measurements" is clicked. This happens when only metabolite data is loaded - it does not occur when transcriptomics and metabolomics data are both loaded. Test with ArchiveStandard.zip.

The width of the boxplot was dependant on the width of the gene column. When the gene column was hidden, the boxplot width became 0.
Now the width is fixed to 250px.


IDEA should remember that some modules were previously installed

persisted over restart?

you just scan and correlate to the module list + listening to the module changes:

say user removes a module manually (but files still remain "downloaded") -> the proposal is to put it into "fetched" state
files are completely deleted

#78 might be deleted once this is done


Convert this into a CLI application

Right now, it is neither a server based application nor a cli.  So, it should be converted into a cli that'd take proper arguments and display proper output.

Scripts can be run as ./src/index.js.


Only in Chrome: Causes parent divs to disappear when drawn in relatively positioned divs

Whenever I add spin to a relatively positioned div (for example, when I'm drawing a list of items without using li tags), it causes multiple parent divs to disappear. This only happens in Chrome.
This bug is reproducible every single time and appears to have started in a recent build of Chrome. I have tweeted at you about it multiple times and no answer so I made an issue here.
I need help figuring out why this is happening because entire parts of my UI are disappearing whenever I use spin to show something is loading.

having same issue here :(
Making the outer container statically positioned does not seem to solve the problem...

If this is still a problem with the latest version of spin.js and Chrome, please open a new issue.


RE4HD crash on launch

Validation

[X] Game has been updated to the latest RE4HD release (v1.1: https://www.re4hd.com/?p=9552)
[X] Data has been validated with SFV (a guide to using QuickSFV is available at that link, use that with this 1.1 SFV: BIO4-HDProject1.1-SFV.zip)

Describe your issue here (drag+drop ZIP to attach it)
Base game installation, launch crashes.
Installed latest RE4HD from torrent that also pulls RE4_tweaks, crashes. Both with Vulkan = true or false. Attaching crashdumps.
bio4.exe.20230316101948.zip
bio4.exe.20230316101907.zip

Looks like crash is something to do with Intel graphics drivers, do you have a dedicated GPU in your machine? If not then another user did report updating their Intel drivers helped them, maybe see if there's any update available for yours.

Omg thanks so much. Windows told me it was up to date but the driver was actually two years old. Installing manually from manufacturer fixed it.
Sorry to waste your time on this. Thanks so much for the fantastic work!


added UI preferences settings for batch export

This PR solves the issue here https://github.com/3dcitydb/importer-exporter/issues/135

Thanks @yaozhihang, looks fine. One observation: you can enter 0 (which is an invalid value) and the value is shown even if you switch to another preferences page and back. Only if you restart the tool, the 0 is replaced with the default value. This behaviour is, however, consistent with the similar dialog for the importer. So, I am ok with merging. Maybe we can address the behaviour of the input fields afterwards?!


update opencl assign test to reassign zero sized vector after recover_memory()

Submission Checklist

[x] Run unit tests: ./runTests.py src/test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary
Fixes a bug in the stan opencl assign tests that reuses a var_value<matrix_cl<double>> after stan::math::recover_memory() is called. This popped up in https://github.com/stan-dev/math/pull/2905 in the math. My guess is that this could be the cause of why sometimes these tests would fail randomly.
@t4c1 if you have any time could you take a look at this? I wasn't sure if this was intended as some part of the test or not and I'm missing something. You can replicate the error this fixes with the following
git clone --recursive git@github.com:stan-dev/stan.git
cd lib/stan_math
git checkout feature/threadsafe-matrixcl
cd ../../
python ./runTests.py ./src/test/unit/model/indexing/assign_cl_test.cpp

It's odd because after recover_memory() is called m_empty_v_cl will have a size of (4, 1). Which is the same size as the m2_cl vector we try to assign to it, but that test successfully throws so I'm not sure why that would happen.
Intended Effect
Fix bug in var_value<matrix_cl<double>> assignment
How to Verify
python ./runTests.py ./src/test/unit/model/indexing/assign_cl_test.cpp

Side Effects
Documentation
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Simons Foundation
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Of course, on it.


[Bug]: When applying overlays, if a rating is not found, it will place the text <<critic_rating#>> (or similar) on the image

Version Number
1.17.3
What branch are you on?
master
Describe the Bug
I had overlays set up since before the 1.17.x line, and everything was working great until i upgraded from 1.17.2 to 1.17.3.
The way my overlay is supposed to work is to have <<audience_rating#>> on the bottomleft and <<critic_rating#>> on the bottomright, and on the cases where some tv/movies didn't have a rating, it would leave that part out and not show a number or my IMDB/RT colour-coded image.
However, when moving up to 1.17.3, if it does not find the rating, it will throw a warning when it tries to apply the overlay, and overlay the text <<critic_rating#>> or <<audience_rating#>>, whichever didn't have a number.
Here's a warning:
|====================================================================================================|
|                             Applying Overlays for the TV-Anime Library                             |
|====================================================================================================|
|                                                                                |
| Overlay Warning: No <<critic_rating#>> found                                                       |
| 7SEEDS                                                       | Overlays Applied: IMDB_G, audience_rating, critic_rating, Dolby-Digital, Dual-Audio, 1080P, Netflix |

My overlay ratings.yml is below.
Relevant Collection/Overlay/Playlist Definition
overlays:
  IMDB_R:
    overlay:
      name: IMDB_R
    plex_search:
      all:
        audience_rating.lt: 7.0
  IMDB_Y:
    overlay:
      name: IMDB_Y
    plex_search:
      all:
        audience_rating.gte: 7.0
        audience_rating.lt: 8.0
  IMDB_G:
    overlay:
      name: IMDB_G
    plex_search:
      all:
        audience_rating.gte: 8.0
  RT_R:
    overlay:
      name: RT_R
    plex_search:
      all:
        critic_rating.lt: 6.0
  RT_Y:
    overlay:
      name: RT_Y
    plex_search:
      all:
        critic_rating.gte: 6.0
        critic_rating.lt: 8.0
  RT_G:
    overlay:
      name: RT_G
    plex_search:
      all:
        critic_rating.gte: 8.0
  audience_rating:
    overlay:
      name: text(audience_rating#)
      horizontal_offset: 112
      vertical_offset: 1390
      font: fonts/Inter-Medium.ttf
      font_size: 60
    plex_all: true
  critic_rating:
    overlay:
      name: text(critic_rating#)
      horizontal_offset: 804
      vertical_offset: 1390
      font: fonts/Inter-Medium.ttf
      font_size: 60
    plex_all: true

Logs
https://gist.github.com/nickveldrin/20607a7a6419b20d50dc6d1f5faef57f

This is a known issue in 1.17.3 and we are currently awaiting a fix from Sohjiro.

Oh! I had tried to look to see if someone reported it or if it was noted somewhere, but didn't see anything.
Thanks for the update.

should be fixed in 1.18.0


Enable tinted titlebar

Just to show that now is possible to enable tinted titlebar, as you can see here

Any updates? It's almost been six months.
In the meantime, you can override this single file from your theme without unpacking anything by making an identically named package containing that single file:
PACKAGE_PATH="$HOME/Library/Application Support/Sublime Text 3/Packages/Theme - Spacegray"
THEME_URL='https://raw.githubusercontent.com/caiogondim/spacegray/31be0f54ed94bdd847f29a4ffab56563a139a3d0/Spacegray%20Eighties.sublime-theme'

mkdir -p "$PACKAGE_PATH"
curl $THEME_URL > "$PACKAGE_PATH/Spacegray Eighties.sublime-theme"

Make sure to delete that file when the changes are merged.

Hey, thanks for the PR, ended up using different colors but the result is the same as your screenshot! Commit is 344d8f6


[decompiler] some methods in res not decompiling

Ex dummy-19 isn't decompiling correctly. There is no obvious error message for why, but expression propagation hasn't happened or failed very early.

The error message is there now. The actual problem is https://github.com/water111/jak-project/issues/435.


Forbid gmpy2 for CPython 3.10 (fix build failure)

An alternative to #600

Ok, gmpy2 should be fixed with rc1 release.


[Bug] translate pipe parameters still don't work when there's a space inbetween (in certain cases)

Current Behavior
When formatting HTML with prettier, translate pipes can come out with spaces and in multiple lines. This behaviour is not configurable. Running tx-js push on those files fails to parse the key and tags.
Expected Behavior
The key and tags should be parsed.
Steps to Reproduce
npm i @transifex/cli
<mat-tab
      label="{{
        'My str'
          | translate
            : {
                _key: 'my-key',
                _tags: 'my-tag'
              }
      }}"
    >

npx txjs-cli push test.html --dry-run --verbose
Parsing all files to detect translatable content...
⸨████████████████████████████████████████⸩ 1/1 test.html
✓ Processed 1 file(s) and found 1 translatable phrases.
✓ Content detected in 1 file(s).
test.html
  └─ My str
    └─ occurrences: ["test.html"]

Notice that the key and tags weren't parsed.
Possible Solution
???
Possible Implementation
Looks like the following format works, so it might be an issue with the surrounding ".
<p>{{
      'My other str'
        | translate
          : {
              _key: 'my-other-key',
              _tags: 'my-other-tag'
            }
    }}</p>

@mgrilec Thank you for the feedback, we'll look into it. and let you know ASAP.

@mgrilec We've released the version 5.1.1. Please feel free to check if the issue is fixed for you.

Looks like it works. Thanks!


oauth2client is deprecated

Tried reinstalling this with both Python 2.x and Python 3.x. Both fail with:
ImportError: No module named oauth2client.client
Per https://github.com/google/oauth2client, oauth2client is deprecated anyways.

Solved by #10


Improve assignment error messages

An attempt to make the linker's error messages in assign.c more descriptive. These new error messages include the name of the section that caused the error, and its alignment, which should help to diagnose and fix the issue.
As normal, feel free to suggest further improvements to these messages.
(In future, it might be nice to have specific error messages for common errors, e.g. a section fixed in an invalid position, or a section that's too large).

The main issue at the moment is that aligned sections have their alignment printed in byte intervals (e.g. SECTION "Big", ROM0, ALIGN[4] -> Unable to place 'Big' (ROM0 section) anywhere (with $10-byte alignment)), as this is how the alignment is stored in object files.
If you'd prefer the original value in bits (which would be calculated using log2), do say.

I actually like it that way.


Replace useOnScreen with useContentElementLifecycle in before/after

REDMINE-17372

Coverage remained the same at 99.208% when pulling 1bde630797db229f0a29741d31a8b1cde1fdd21a on tf:before-after-lifecycle into e6540a0043f3da1e22c8b9df3bb964f8556438d4 on codevise:master.


How to obtain SCM?

Hi Wang,
Thank you for the excellent work. However, I am a bit confused about two points:
How can we obtain the Semantic Contact Map through clicked points, given that it involves a many-to-many mapping?
As mentioned in the paper, the object points and fingers in the Semantic Contact Map have a many-to-many correspondence. How can we find the correct mapping between object points and fingers within the Tactile-Guided Constraint?
I would greatly appreciate any clarification you can provide on these points.
Thank you for your time and assistance.
Best regards

Hi GentlesJan,
Thank you for your thoughtful questions. I’ll address each of them below:

Regarding the Semantic Contact Map and the many-to-many mapping:

To obtain the Semantic Contact Map from the clicked points, we first compute the average contact area size for each finger in both the ARCTIC and GRAB datasets. Once the contact points and their corresponding contact area sizes are obtained, a simple optimal assignment algorithm is applied to establish the specific mapping between the contact points and the contact regions. This approach is akin to using a hand to "color" an object, where each finger's contact area is mapped to corresponding regions on the object.

Regarding the Tactile-Guided Constraint and many-to-many correspondences:

The Tactile-Guided Constraint is designed to consider all pairs of contact relationships between the fingers and the object. It computes the predicted distances between the hand and the object for each contact point, regardless of whether the relationship is many-to-many.
I hope this clarifies your concerns.


Wrong value in energy consumption for zigbee switch power MC

46.0kWh is too high value. It is just one day use.
When I checked with other edge driver, it is displayed as 460Wh.

HI
Change it to zigbee Thing Mc driver and change it back to zigbee Switch Power Mc so that the divisor is set to 100.
For some reason it has been deconfigured.
It would also be resolved by pairing it again

Hello.  Thanks for comment.
I have tried to change driver to zigbee Thing Mc and back to zigbee Switch Power Mc.
But there is no change for energy consumption.
Refer to video.
https://user-images.githubusercontent.com/127474969/224547942-aa8deb08-ed5c-44e5-a368-075ea1998a67.mp4
Repairing after deleting device also have no change.
Thanks.

You don't have to look at accumulated value, you have to look at how much it accumulates from now on.
You can also reset the energy value with a routine or uninstall the plug and reinstall it to reset it to 0 W/h