Write integration tests for all graphql query/mutation

If you want to run tests locally you should have a running postgres with auth info that is in
https://github.com/Giveth/impact-graph/blob/staging/config/test.env#L4-L9
Just be aware because it will delete all of your existing records before running test, I suggest you just run docker-compose-local-postgres.yml it will bring up two instances of postgres, one for your normal use and another one for using in tests.
For running tests you need to have an account https://www.quicknode.com, https://infura.io and https://etherscan.io and get API_KEYS from there, in fact for running the application you need it as well, this run command for tests (If you are from giveth organization, tell me to give you these keys)
ETHERSCAN_API_KEY={etherscanApiKey} INFURA_API_KEY={infuraApiKey} ETHEREUM_NODE_ID={infuraApiKey} XDAI_NODE_HTTP_URL={link from https://www.quicknode.com}   npm run test

We need to have some success scenario and all possible failed scenario for test cases, I will create a subtask for every query/mutaion to know what we are doing, feel free to add subtasks and pick every issue that you want and write test cases, I think it's a good start for new contributors to get familiar with our codes and our product
PS You can start picking issues after https://github.com/Giveth/impact-graph/pull/307 has been maerged
JFYI
@aminlatifi  @CarlosQ96 @MoeNick

Nice, thanks @mohammadranjbarz. Definitely it's a landmark in solving our technical debts

@aminlatifi @mohammadranjbarz
Do we still need to work on these issues to resolve our technical debts?

@divine-comedian Let's plan them as we can during our sprints. Putting in Strint backlog is good practice

@jainkrati  updating these test cases can be part of the plan for related to technical debts.

Not prioritizing this right away because BE devs are packed.

There are some graphql tests on impact-graph
We should wait to start this epic - might need to change the way we test it - please let us know @jainkrati


[Bug] Screen glitches on external monitor

Regression?
No
System Info and Version
 System/Version info
$ hyprctl systeminfo -c
Hyprland, built from branch main at commit 9b0993cc49b7285a2724a87fdb72bfc90cc75cc5 dirty (--- a/docs/Hyprland.1).
Date: Sat Jul 20 08:37:42 2024
Tag: v0.41.2-47-g9b0993cc, commits: 4933

flags: (if any)

System Information:
System name: Linux
Node name: Tam
Release: 6.9.9-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 12 Jul 2024 00:06:53 +0000

GPU information:
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-S UHD Graphics [8086:a788] (rev 04) (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:
  hyprsplit by shezdy ver 1.0

(full config posted as comment further below)
Description
Issue
I get distorted screens/glitches while watching YouTube videos on Firefox on either of my external monitors after a few minutes, or by using Hyprland for a long period of time.

(see video further below)
Another observation is that GPU is at 90%-100% when watching YouTube videos in browsers.
After pausing/closing the YouTube tab, GPU drops to 1-5% (regardless of how many other things are opened, as long as they're static content), but glitches still happened despite low GPU usage (unsure of correlation).
Specs

Category
Value

OS
Arch Linux x86_64

Host
Predator PHN16-71 (V1.15)

Kernel
Linux 6.9.9-arch1-1

Display (LG FULL HD)
1920x1080 @ 60Hz

Display (HP LA2206)
1920x1080 @ 60Hz

Display (BOE0A2C)
2560x1600 @ 60Hz (as 1602x1001) [Built-in]

WM
Hyprland (Wayland)

CPU
13th Gen Intel(R) Core(TM) i9-13900HX (32) @ 5.40 GHz

GPU
Intel Raptor Lake-S UHD Graphics @ 1.65 GHz [Integrated]

Memory
6.70 GiB / 31.07 GiB (22%)

Swap
0 B / 32.00 GiB (0%)

Disk (/)
110.05 GiB / 502.89 GiB (22%) - ext4

My device is a hybrid laptop with an Nvidia dGPU, but I've disabled the dGPU - only the Intel iGPU shows up for
$ lspci | grep -E 'VGA|3D'
0000:00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-S UHD Graphics (rev 04)

I'm also using the evdi/displaylink patch (details), although the only caveat (as mentioned by the patch author) was that

This hack disables support for multi GPU, so wlroots doesn't try to initialize renderers on DisplayLink devices

which shouldn't be a problem as I effectively only have the intel GPU enabled.
Things I've tried (same result)

Turning on/off VFR
Different modes for VRR (0/1/2)
Turning on/off mouse_move_enables_dpms
Turning off all animations, blurs, shadows, rounding
Use different browsers (Chrome, Edge, Brave) - also messed with settings like hardware accelerations, opengl
Changed monitor refresh rate, bit depth, cables
Disabling plugins

Also, this is what debug:overlay looks like when the video is playing on the last monitor (DVI-I-1):

which is odd since I've capped all 3 monitors at 60 (the bottom 2 external ones can go into the hundreds).
Issue doesn't exist when

booting into Windows (doesn't say much other than the wire is fine, since dGPU is enabled)
using Gnome (Wayland with iGPU only)
using an xorg WM (e.g. DWM/i3, with iGPU only)

How to reproduce
Assuming a similar setup/specs,

Open FireFox in an external monitor
Play YouTube videos, or use Hyprland for a while
Glitches will occur

Crash reports, logs, images, videos
Short Version
compressed.webm
Long Version
https://youtu.be/7VbZVfVuR50

Full config (was too long in original post):
<details close> <summary>System/Version info</summary>

```sh
$ hyprctl systeminfo -c
Hyprland, built from branch main at commit 9b0993cc49b7285a2724a87fdb72bfc90cc75cc5 dirty (--- a/docs/Hyprland.1).
Date: Sat Jul 20 08:37:42 2024
Tag: v0.41.2-47-g9b0993cc, commits: 4933

flags: (if any)

System Information:
System name: Linux
Node name: Tam
Release: 6.9.9-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 12 Jul 2024 00:06:53 +0000

GPU information:
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-S UHD Graphics [8086:a788] (rev 04) (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:
  hyprsplit by shezdy ver 1.0

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

Config File: /home/nktnet/.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.
# #######################################################################################

# This is an example Hyprland config file.
# Refer to the wiki for more information.
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/

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

# You can split this configuration into multiple files
# Create your files separately and then link them to this file like this:
# source = ~/.config/hypr/myColors.conf

################
### MONITORS ###
################

# See https://wiki.hyprland.org/Configuring/Monitors/
monitor = desc:BOE 0x0A2C,2560x1600@60, auto, 1.6
monitor = desc:Hewlett Packard HP LA2206 CNC1320BJL, 1920x1080@60,auto-left, 1
monitor = desc:LG Electronics LG FULL HD 0x01010101, 1920x1080@60,auto-right, 1

#monitor=desc:LG Electronics LG FULL HD 0x01010101,1920x1080@60,1600x0, 1 # 2560 / 1.6 = 2600
#monitor=desc:Hewlett Packard HP LA2206 CNC1320BJL,1920x1080@60,-1920x0, 1 # 2560 / 1.6 = 2600
#monitor=name,disable
#monitor=eDP-1,2560x1600@60,0x0,1.6
#monitor=DVI-I-1,preferred, auto, 1 # 2560 / 1.6 = 2600
#monitor=DVI-I-2,preferred, auto, 1 # 2560 / 1.6 = 2600

###################
### MY PROGRAMS ###
###################

# See https://wiki.hyprland.org/Configuring/Keywords/

#################
### AUTOSTART ###
#################

# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:

exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = hyprpm reload && hyprctl reload
exec-once = wl-paste --type text --watch cliphist store  # Stores only text data
exec-once = wl-paste --type image --watch cliphist store # Stores only image data
exec-once = pidof hypridle || hypridle
exec-once = pidof waybar || waybar
exec-once = pidof solaar || solaar --window hide --battery-icons solaar
exec-once = pidof emote || emote
exec-once = pidof -x low_battery.sh || $HOME/.config/hypr/scripts/low_battery.sh

#############################
### ENVIRONMENT VARIABLES ###
#############################

# See https://wiki.hyprland.org/Configuring/Environment-variables/

env = XCURSOR_SIZE,24
env = GTK_USE_PORTAL,0
env = HYPRCURSOR_SIZE,24
env = GTK_THEME,Breeze:dark

#env = LIBVA_DRIVER_NAME,nvidia
#env = XDG_SESSION_TYPE,wayland
#env = GBM_BACKEND,nvidia-drm
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
#env = WLR_DRM_DEVICES,$HOME/.config/hypr/cards/nvidiacard

#env = WLR_DRM_DEVICES,$HOME/.config/hypr/cards/nvidiacard:$HOME/.config/hypr/cards/intelcard
#env = WLR_DRM_DEVICES,$HOME/.config/hypr/cards/intelcard:$HOME/.config/hypr/cards/nvidiacard
#env = WLR_DRM_DEVICES,$HOME/.config/hypr/cards/intelcard:$HOME/.config/hypr/cards/platform-evdi.0-card:$HOME/.config/hypr/cards/platform-evdi.1-card

env = GDK_SCALE,2

#xwayland {
#    force_zero_scaling = true
#}

cursor {
    no_hardware_cursors = true
    hide_on_key_press = true
    #inactive_timeout = 1000
}

#####################
### LOOK AND FEEL ###
#####################

# Refer to https://wiki.hyprland.org/Configuring/Variables/

# https://wiki.hyprland.org/Configuring/Variables/#general
general {
    gaps_in = 1
    gaps_out = 1

    border_size = 1

    # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)

    # Set to true enable resizing windows by clicking and dragging on borders and gaps
    resize_on_border = false

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

    layout = master
}

# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
    rounding = 0

    # Change transparency of focused and unfocused windows
    active_opacity = 1.0
    inactive_opacity = 1.0

    drop_shadow = false
    #shadow_range = 4
    #shadow_render_power = 3
    #col.shadow = rgba(1a1a1aee)

    # https://wiki.hyprland.org/Configuring/Variables/#blur
    blur {
        enabled = false
        #size = 3
        #passes = 1
        #vibrancy = 0.1696
    }
}

# https://wiki.hyprland.org/Configuring/Variables/#animations
animations {
    enabled = false
    first_launch_animation = false

    # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    #bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    #animation = windows, 1, 7, myBezier
    #animation = windowsOut, 1, 7, default, popin 80%
    #animation = border, 1, 10, default
    #animation = borderangle, 1, 8, default
    #animation = fade, 1, 7, default
    #animation = workspaces, 1, 6, default
}

# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
    pseudotile = true # Master switch for pseudotiling. Enabling is bound to modkey + P in the keybinds section below
    preserve_split = true # You probably want this
}

# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
master {
    new_status = slave
    no_gaps_when_only = 1
    inherit_fullscreen = true
}

# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
    force_default_wallpaper = 0
    disable_hyprland_logo = true
    disable_splash_rendering = true
    new_window_takes_over_fullscreen = 1
    exit_window_retains_fullscreen = true
    allow_session_lock_restore = true
    vfr = true
    vrr = 1
    mouse_move_enables_dpms = false
}

#############
### INPUT ###
#############

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
    kb_layout = us
    kb_variant =
    kb_model =
    kb_options =
    kb_rules =

    follow_mouse = 1

    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
    kb_options = altwin:menu_win

    touchpad {
        natural_scroll = false
        tap-to-click = true
    }
}

# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
    workspace_swipe = false
}

# 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
}

debug {
    overlay = false
    disable_logs = false
    disable_time = false
    suppress_errors = false
    enable_stdout_logs = true
}

####################
### KEYBINDINGSS ###
####################

source = $HOME/.config/hypr/config/keybindings.conf

##############################
### WINDOWS AND WORKSPACES ###
##############################

# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules

windowrulev2 = float,title:(Floating Window - Show Me The Key)
windowrulev2 = pin,title:(Floating Window - Show Me The Key)

windowrulev2 = move 100%-w-20, 100%-h-20,title:(Floating Window - Show Me The Key)

windowrulev2 = move 100%-w-20, 100%-h-20,title:(swappy)

windowrulev2 = move 100%-w-20, 100%-h-20,title:(Calculator)
windowrulev2 = float,title:(Calculator)

#windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.

################
### PLUGINS  ###
################

source = $HOME/.config/hypr/plugins/hyprsplit.conf

################
### APPS     ###
################

source = $HOME/.config/hypr/apps/gromit-mpx.conf

Config File: /home/nktnet/.config/hypr/config/keybindings.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Keywords/
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more

# Modifiers
$modkey = ALT
$winkey = SUPER

# Insert submap bindings
bind = $modkey, I, submap, insert
submap = insert

bind = $modkey, I, submap, reset
submap = reset

# Programs
$mfa = ente_auth
$terminal = kitty
$fileManager = thunar
$menu = wofi --show drun

# Direct functionalities
#bind = , PRINT, exec, hyprshot --freeze --mode region
bind = , PRINT, exec, hyprshot --freeze --mode=region --raw --clipboard-only | swappy -f -
bind = , XF86PowerOff, exec, wlogout

# Application launchers
bind = $winkey SHIFT, D, togglespecialworkspace, gromit
bind = $winkey, 2, exec, $mfa
bind = $winkey, B, exec, pidof waybar || waybar
bind = $winkey, C, exec, gnome-calculator
bind = $winkey, D, exec, gromit-mpx --quit || hyprctl dispatch togglespecialworkspace gromit
bind = $winkey, E, exec, $fileManager
bind = $winkey, F, exec, firefox
bind = $winkey, G, exec, google-chrome-stable
bind = $winkey, L, exec, hyprlock
bind = $winkey, M, exec, $terminal -e btop
bind = $winkey, P, exec, hyprpicker --autocopy --no-fancy
bind = $winkey, Q, exec, $terminal
bind = $winkey, R, exec, rnote
bind = $winkey, Return, exec, $terminal
bind = $winkey, S, exec, killall showmethekey-gtk || showmethekey-gtk
bind = $winkey, T, exec, gtk-launch chrome-cifhbcnohmdccbgoicgdjpfamggdegmo-Default.desktop  # MS Teams
bind = $winkey, U, exec, emote
bind = $winkey, V, exec, pavucontrol

bind = $modkey SHIFT, Return, exec, $terminal
bind = $modkey, P, exec, $menu
bind = $modkey, B, exec, killall -SIGUSR1 waybar
bind = $modkey SHIFT, B, exec, killall -SIGUSR2 waybar

bind = $modkey SHIFT, C, killactive,
bind = $modkey SHIFT, Q, exec, killall -9 Hyprland
bind = $modkey, F, togglefloating,
bind = $modkey, R, fullscreen, 0
bind = $modkey, T, fullscreen, 1
bind = $modkey, M, fullscreen, 1
bind = $modkey, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy

bind = $modkey, SPACE, fullscreen, 1

# Move Focus
bind = $modkey, J, layoutmsg, cyclenext
bind = $modkey, K, layoutmsg, cycleprev

# Move active window
bind = $modkey SHIFT, J, layoutmsg, swapnext
bind = $modkey SHIFT, K, layoutmsg, swapprev
bind = $modkey SHIFT, H, resizeactive,      -50     0
bind = $modkey SHIFT, L, resizeactive,       50     0

# Resize active window
binde = $modkey SHIFT, left, resizeactive,   -50     0
binde = $modkey SHIFT, right, resizeactive,   50     0
binde = $modkey SHIFT, up, resizeactive,       0   -50
binde = $modkey SHIFT, down, resizeactive,     0    50

# Move active window
binde = $modkey, right, moveactive, 50   0
binde = $modkey, left, moveactive, -50   0
binde = $modkey, up, moveactive,     0  -50
binde = $modkey, down, moveactive,   0   50

# Example special workspace (scratchpad)
#bind = $modkey, S, togglespecialworkspace, magic
#bind = $modkey SHIFT, S, movetoworkspace, special:magic

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

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

# Volume
binde =, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+
binde =, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-
bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle

# Brightness
binde =, XF86MonBrightnessUp, exec, brightnessctl set +5%+
binde =, XF86MonBrightnessDown, exec, brightnessctl set 5%-

# Focus next/prev monitors
bind = $modkey, COMMA, focusmonitor, l
bind = $modkey, PERIOD, focusmonitor, r

# Move window to next/prev monitors
bind = $modkey SHIFT, COMMA, movewindow, mon:l
bind = $modkey SHIFT, PERIOD, movewindow, mon:r

bind = $winkey, COMMA, workspace, -1
bind = $winkey, PERIOD, workspace, +1

# ============================================================================ #

# This was replaced by the hyprsplit plugin
# https://github.com/shezdy/hyprsplit
# See ~/.config/hypr/plugins/hyprsplit.conf

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

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

Config File: /home/nktnet/.config/hypr/plugins/hyprsplit.conf: Read Succeeded
plugin {
    hyprsplit {
        num_workspaces = 10
    }
}

bind = $modkey, 1, split:workspace, 1
bind = $modkey, 2, split:workspace, 2
bind = $modkey, 3, split:workspace, 3
bind = $modkey, 4, split:workspace, 4
bind = $modkey, 5, split:workspace, 5
bind = $modkey, 6, split:workspace, 6
bind = $modkey, 7, split:workspace, 7
bind = $modkey, 8, split:workspace, 8
bind = $modkey, 9, split:workspace, 9
bind = $modkey, 0, split:workspace, 10

bind = $modkey SHIFT, 1, split:movetoworkspacesilent, 1
bind = $modkey SHIFT, 2, split:movetoworkspacesilent, 2
bind = $modkey SHIFT, 3, split:movetoworkspacesilent, 3
bind = $modkey SHIFT, 4, split:movetoworkspacesilent, 4
bind = $modkey SHIFT, 5, split:movetoworkspacesilent, 5
bind = $modkey SHIFT, 6, split:movetoworkspacesilent, 6
bind = $modkey SHIFT, 7, split:movetoworkspacesilent, 7
bind = $modkey SHIFT, 8, split:movetoworkspacesilent, 8
bind = $modkey SHIFT, 9, split:movetoworkspacesilent, 9
bind = $modkey SHIFT, 0, split:movetoworkspacesilent, 10

bind = $modkey, GRAVE, split:swapactiveworkspaces, current +1
bind = $modkey, G, split:grabroguewindows

Config File: /home/nktnet/.config/hypr/apps/gromit-mpx.conf: Read Succeeded
# GROMIT-MPX
workspace = special:gromit, gapsin:0, gapsout:0, on-created-empty: gromit-mpx --active
windowrulev2 = noblur, title:^(gromit-mpx)$
windowrulev2 = noshadow, title:^(gromit-mpx)$
windowrulev2 = maximize, title:^(gromit-mpx)$
windowrulev2 = opacity 1 override, 1 override,title:^(gromit-mpx)$
windowrulev2 = size 100% 100%, title:^(gromit-mpx)$

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

does this still happen on #6608? it looks like direct scanout issues that were fixed there recently
make sure misc:no_direct_scanout = false to enable it on the aq branch if you do test this

does this still happen on #6608? it looks like direct scanout issues that were fixed there recently make sure misc:no_direct_scanout = false to enable it on the aq branch if you do test this

Thanks @ikalco - had some build issues, but will attempt again next weekend.
On another note, the high GPU usage on Firefox was caused by having Ambient Mode enabled (default):

https://www.reddit.com/r/firefox/comments/yj5hra/performance_issue_with_youtube_try_to_disable/

Turning this off fixes it, although it isn't relevant to the screen glitches mentioned in this issue.

Short update - currently using the latest version of Hyprland, config below:
hyprland.txt
I patched aquamarine to work with DisplayLink/Evdi similar to wlroots:

https://github.com/hyprwm/aquamarine/issues/22

And have tested both with misc:no_direct_scanout = false and misc:no_direct_scanout = true.
This does not affect the rendering glitches on the external monitor, even with low GPU utilisation.


Good training, bad test results

My training looks very good, but I'm not detecting anything on test.  I have two classes.  Here's my validation error over 60 epochs:

Training appears to be working correctly.  Anything I should be doing differently?  I've heard of reduce LR on plateau, but how do I change it?  Is it in the cfg file?

When i train my own dataset, the loss is reduced to about 20. But val_loss is always nan.And the test results is bad too.

you should mention some info.
Did you check the test samples are similar to ones the training used? (maybe testing on hard nosiy while training on clean, easy data)
How many samples did you train on ? (maybe too few?)
What I can say afiak, overfitting had occured. Maybe training data are not sufficient / bad

you should mention some info.
Did you check the test samples are similar to ones the training used? (maybe testing on hard nosiy while training on clean, easy data)
How many samples did you train on ? (maybe too few?)
What I can say afiak, overfitting had occured. Maybe training data are not sufficient / bad

I have train my my model in the same dataset by darknet, it  make good performance.

@JunjieZhouwust  Which dataset do you mean? COCO?

@JunjieZhouwust Which dataset do you mean? COCO?

My own dataset ,1 classes, about 1000 samples

@JunjieZhouwust Which dataset do you mean? COCO?

@JunjieZhouwust Which dataset do you mean? COCO?

My own dataset ,1 classes, about 1000 samples

I have 2 classes, several thousand samples.  The training and test data are all 3D models generated from the same random formula, so they should have exactly the same distribution.

@Jacob-Stevens-Haas I don't know what is your model, but what I have seen is training on some objects like COCO dataset (e.g. car or person detection). I tried to train on small objects like text characters using the published weights but is not succeeding, I think YOLO is not suitable for my case and only designed for large enough objects that have many characteristics (like animals, ImageNet dataset for example)

I'm training a model on a private dataset. training loss started out at >11,000 then quickly dropped to >110 after 4-5 epochs. It stuck at 108. But what seems strange to me is that val loss is always nan.
Also, I left the default training epoch to 50, but it seems not right the right number. I've trained my model with darknet, and I've done no more than 5 epochs and already achieving high performance.
Any tips on why val loss nan? I want to test the model, what's the best way? there's no model validation script found here in this repo?

@jaelim Have you solved this problem?
val loss is always nan.

My training looks very good, but I'm not detecting anything on test. I have two classes. Here's my validation error over 60 epochs:

Training appears to be working correctly. Anything I should be doing differently? I've heard of reduce LR on plateau, but how do I change it? Is it in the cfg file?

Hi I Have the same problem. I have 6 classes among of them I can only 3 detected, while other can not be detected. I used yolo3.h5 weights. Do you have any idea how can I rid out from this issue?

My training looks very good, but I'm not detecting anything on test. I have two classes. Here's my validation error over 60 epochs:

Training appears to be working correctly. Anything I should be doing differently? I've heard of reduce LR on plateau, but how do I change it? Is it in the cfg file?

Hi I Have the same problem. I have 6 classes among of them I can only 3 detected, while other can not be detected. I used yolo3.h5 weights. Do you have any idea how can I rid out from this issue?

did you have check /log/000/ ? New .h5 was saved here, you need test by useing new weights.

损失很高怎么办


Update protobuf to 3.4.1

This change is required for compatibility with the upcoming Bazel 0.7. There seem to be no issues in tensorflow itself but there are in the old version of the protobuf repository.

Can one of the admins verify this patch?

Jenkins, test this please.

There seems to be small failures in one of the tests:
https://ci.tensorflow.org/job/tensorflow-pull-requests-cpu/7006/consoleFull
Could you take a look at the failure above and fix them?

Jenkins, test this please.

Jenkins, test this please.

The tests seem to be fixed, can it be merged please? I also need to fix compatibility for other Tensorflow-related repositories, such as Serving and Models, and currently they both fail because they depend on this main repository.


ClusterRole for keda-add-ons-http does not allow for HTTPScaledObject get

Expected Behavior
the http-interceptor should be able to get the HTTPScaledObjects at the cluster scope to be able to build its routing table
Actual Behavior
The http-interceptor cannot get the HTTPScaledObjects at the cluster scope.
E0621 14:27:52.352348       1 reflector.go:148] k8s.io/client-go@v0.27.1/tools/cache/reflector.go:231: Failed to watch *v1alpha1.HTTPScaledObject: failed to list *v1alpha1.HTTPScaledObject: httpscaledobjects.http.keda.sh is forbidden: User "system:serviceaccount:keda:keda-add-ons-http-interceptor" cannot list resource "httpscaledobjects" in API group "http.keda.sh" at the cluster scope

Steps to Reproduce the Problem

Install keda-add-ons-http 0.5.0
Check the logs of the http-interceptor

Same issue for the external-scaler


Load as unpacked extension in Chrome

Is there a way to clone the repository and load it into chrome as an unpacked extension? I downloaded the repository and selected the chrome folder but some scripts seem to be missing.

absolutely, see CONTRIBUTING.md


Allow fixed range on live spectrum graph power axis.

Keith Payea via googlegroups.com | Keith Payea via googlegroups.com | 9:30 AM (1 hour ago) |   |
-- | -- | -- | -- | --
Keith Payea via googlegroups.com
to sara-list | to sara-list
to sara-list
This isn’t a high priority change, just nice to have if possible.  Auto-ranging the live graph is very helpful during setup, but after a while it would be nice to set the range and leave it.  Then you can take a quick look at the spectrum and get an idea what’s going on without having to figure out the scale each time.

ready for merge with pull request #44

fixed with 94750cbaba887c04e59f3984bddd985b48ede774


f4pga/wrappers: cleanup

Installed toolchain tests for QL in f4pga-arch-defs are passing when I use this branch but I noticed some VPR routing failures while running ./.github/scripts/ql.sh:
Routing failed.

Failed routing attempt #0
Total number of overused nodes: 3
Routing Failure Diagnostics: Printing Overused Nodes Information
------ ------- ---------- --------- -------- ------------ ------- ------- ------- ------- ------- -------
   No.  NodeId  Occupancy  Capacity  RR Node    Direction    Side     PTC    Xlow    Ylow   Xhigh   Yhigh
                                        type                          NUM
------ ------- ---------- --------- -------- ------------ ------- ------- ------- ------- ------- -------
     0 1122901          2         1    CHANX       BI_DIR     N/A     387       5      31       5      31
     1 1122902          2         1    CHANX       BI_DIR     N/A     386       5      31       5      31
     2 1122903          2         1    CHANY       BI_DIR     N/A     324       5      31       5      31

Final Net Connection Criticality Histogram:
[        0:      0.1) 7187 ( 71.5%) |**********************************************
[      0.1:      0.2)    0 (  0.0%) |
[      0.2:      0.3)    0 (  0.0%) |
[      0.3:      0.4)  883 (  8.8%) |******
[      0.4:      0.5)  807 (  8.0%) |*****
[      0.5:      0.6)  565 (  5.6%) |****
[      0.6:      0.7)  339 (  3.4%) |**
[      0.7:      0.8)  181 (  1.8%) |*
[      0.8:      0.9)   70 (  0.7%) |
[      0.9:        1)   15 (  0.1%) |
Router Stats: total_nets_routed: 5674 total_connections_routed: 30847 total_heap_pushes:<PHONE_NUMBER> total_heap_pops:<PHONE_NUMBER>
# Routing took 883.10 seconds (max_rss 457.3 MiB, delta_rss +4.3 MiB)
Circuit is unroutable with a channel width factor of 100.
For a detailed report on the RR node overuse information (report_overused_nodes.rpt), specify --generate_rr_node_overuse_report on.
Incr Slack updates 501 in 0.0245696 sec
Full Max Req/Worst Slack updates 13 in 0.00106655 sec
Incr Max Req/Worst Slack updates 488 in 0.0499162 sec
Incr Criticality updates 479 in 0.0249295 sec
Full Criticality updates 22 in 0.00208387 sec
VPR failed to implement circuit
The entire flow of VPR took 890.15 seconds (max_rss 457.3 MiB)

I will look into that closely and provide more info

I repeated the tests on a different machine and those tests passed without any errors which is exactly what we can see in CI in temporary test PR in f4pga-arch-defs: https://github.com/SymbiFlow/f4pga-arch-defs/runs/7786672164?check_suite_focus=true


CDAP-5823 Setup TEZ_HOME and TEZ_CONF_DIR

These don't need to be optional since we've made Hive a hard dependency of CDAP and Tez is a hard dependency of Hive.

This LGTM. QQ though: Where do we set SPARK_HOME for Ambari?

Nowhere. It's not required.

We removed that requirement in caskdata/cdap#5509

👍


Add VisibilityBitmap to TableMapEvent in replication

I was implementing optional_metadata field in table_map_event for python-mysql-replication.
And came across this repo and found that metadata type COLUMN_VISIBILITY isn't implemented.
Changes

Added TableMapEvent.VisibilityBitmap

VisibilityBitmap is a bitmap where each bit represents the visibility of a corresponding column in a table.
If a bit is set, it indicates that the corresponding column is NOT an invinsible column.
Invisible column was introduced in MySQL version 8.0.23.

TableMapEvent.VisibilityMap
-VisibilityMap lists boolean values of which is true if column of the same index is NOT an invisible column.

Examples
You can check the visibility of a column by its table by executing DESCRIBE command.
mysql> SELECT VERSION(); -- must be MySQL 8.0.23 or higher. Not supported by MariaDB yet.
+-----------+
| VERSION() |
+-----------+
| 8.0.33-25 |
+-----------+
1 row in set (0.00 sec)

mysql> CREATE TABLE test_visibility (c1 INT, c2 INT INVISIBLE, c3 INT);
Query OK, 0 rows affected (0.03 sec)

mysql> DESC test_visibility;
+-------+------+------+-----+---------+-----------+
| Field | Type | Null | Key | Default | Extra     |
+-------+------+------+-----+---------+-----------+
| c1    | int  | YES  |     | NULL    |           |
| c2    | int  | YES  |     | NULL    | INVISIBLE |
| c3    | int  | YES  |     | NULL    |           |
+-------+------+------+-----+---------+-----------+
3 rows in set (0.00 sec)

@lance6716
I appreciate your positive reaction to my PR, and I'm grateful for your contributions to this repository. go-mysql  is indispensable to me. Could you please advise whether I should include tests for this new addition?

I added a co-author.

I added test case for 8.0 only, because the keyword INVISIBLE to create invisible column is not available in any other vendors or versions.

ptal @atercattus

But on a second thought, I would like to add case 2 where invisible columns do not exist at all! This case will be applicable to MySQL 5.7, MariaDB 10.4 and MairaDB 10.5.

lgtm now. let's wait @atercattus

@dongwook-chan seems atercattus is a bit busy. Do you want me to merge it?

@lance6716 No need to wait any more!
@atercattus Thank you for the approval!


Sometimes you don't want to deploy private key and just the cert

First, thanks for writing the role! It's super useful.
I am trying to setup SSL for fluentd and the fluentd aggregator nodes are the ones that need the private key and cert. The forwarder just needs the cert. I am sure there are other cases where the cert alone is sufficient for pure clients and they don't need private key.
This "and" condition seems less ideal.
https://github.com/jdauphant/ansible-role-ssl-certs/blob/master/tasks/main.yml#L64
I changed that condition to when: item.content != '' and it skips just the part that is empty. I can open a PR. Wdyt?

Good idea ! You can suggest a PR.
Also, I was thinking doing the same for task "Copy SSL certificates" but it's not that easy (we have to split the task and remove the "with_items")


RPM name change causes Fusion and Server services to be off after upgrade

When upgrading from 5.3.4 to 5.3.5 via RPMs the Fusion and Server services end up not running. This is because opengee-server-core replaces opengee-server, and the old opengee-server is uninstalled after the new opengee-server-core is installed, which leaves the services in a non-running state. The cleanest way to fix this is to change the naming scheme again: opengee-server-core becomes opengee-server (so that upgrades from previous releases are straightforward) and opengee-server becomes opengee-server-extra or something like that.

Closed via PR #1783


Overflow

I'm getting this overflow warning/error and it's also happening in helsinki_mini example:
points2poly/utils.py:32: RuntimeWarning: overflow encountered in exp
return 1 / (1 + np.exp(-x))

Hi @hmachine83, the warning is now suppressed with 1f56b252d7f87b4bbb964df7994b1665cf6fb325.

Thank you!


Add files via upload

The following is the Institute name that is not on the list.

I have added my College to the list in order to be able to install JetBrains.
gmail.txt


JdbcEnvironmentRepository and spring.cloud.config.server.bootstrap=true won't work

Hello everybody,
I think this is the issue which should be fixed or any workaround suggested.
If we try to use JdbcEnvironmentRepository in embedded config server setting spring.cloud.config.server.bootstrap=true and spring.profiles.active=jdbc in bootstrap.properties then starting application fails because of no jdbcTemplate bean. Is it possible to create jdbcTemplate then at bootstrap phase before JdbcEnvironmentRepository or any other workaround? (maybe some listener at context creation but not after creation or so).
2017-10-19 10:47:11.609  WARN 11204 --- [           main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'propertySourceBootstrapConfiguration': Unsatisfied dependency expressed through field 'propertySourceLocators'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.cloud.config.server.bootstrap.ConfigServerBootstrapConfiguration$LocalPropertySourceLocatorConfiguration': Unsatisfied dependency expressed through field 'repository'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdbcEnvironmentRepository' defined in org.springframework.cloud.config.server.config.JdbcRepositoryConfiguration: Unsatisfied dependency expressed through method 'jdbcEnvironmentRepository' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.jdbc.core.JdbcTemplate' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

Is the problem still there in Finchley.RELEASE?

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Schema API issue

Hello, Vespa Team!
Following the Schema API issue I tried to reproduce the steps listed in the documentation, however for some reason I keep getting an empty list from the API. Here is what I did

Created a session

curl -X POST --header Content-Type:application/zip localhost:7006/application/v2/tenant/default/sessio

the output was like
{
    "log":[],
    "tenant":"default",
    "session-id":"38",
    "prepared":"http://localhost:19071/application/v2/tenant/default/session/38/prepared",
    "content":"http://localhost:19071/application/v2/tenant/default/session/38/content/",
    "message":"Session 38 for tenant 'default' created."
}

used the session-id (38 in the example above) to get the schema data

curl -X GET "localhost:7006/application/v2/tenant/default/session/38/content/schemas/

but as an output I get an empty list like [], while at the same time vespa query, vespa curl, vespa document get and other features work well for me. Did I do something wrong?

A session has a lifetime, so if you just prepare it (do not activate it) as you do above, it will be deleted after session lifetime has expired (1 hour by default). Try getting the current active session (/application/v2/tenant/default/application/default/ in your case) and do the same request with the generation/session found in the response. A request for content with the currently active session should always work.

Hey @hmusum, thanks for the prompt response! I just tried this
curl -X GET --header Content-Type:application/zip localhost:7006/application/v2/tenant/default/application/default/

but the API returns this
{"generation":44,"applicationPackageFileReference":"","modelVersions":[...]}

Yes, so does curl -X GET "localhost:7006/application/v2/tenant/default/session/44/content/schemas/ work? (generation is used for configs and is identical to an the session id for an active application)

ah, I see generation is a session-id, sorry, I thought it was something different. thanks! I think we can close it unless you want to maybe make some updates to the documentation about it

Great, thanks! The doc at https://docs.vespa.ai/en/reference/deploy-rest-api-v2.html states when a session id is valid in the introduction.


unicode error

There is an error at function extract_raw_data_request._extract_raw_data_request in file helpers.py, the not right code is return list(request.form.to_dict().keys())[0], this sentence maybe get a str object then will meet an Unicode Error, but I think it should be a bytes object.
I suggest correct it as return list(request.form.to_dict().keys())[0] if instance(list(request.form.to_dict().keys())[0], bytes) else list(request.form.to_dict().keys())[0].encode()

Hello,
What is your Python version?
Thank you.

Hi,
My Python version is 3.4.4, Flask-JSONRPC version is 0.3.1, and Flask version is 0.12.2.
Thanks


Request: Preview of embedded needuml / needarch

It would be cool if we would have a fast preview of the needuml / needarch during authoring.
Solution Idea:
Could we have the meta model form needs.json in the memory to pre-render the output?

I think your change is for the VS Code support via esbonio.
This was removed from Sphinx-Needs and is now a dedicated repo: https://github.com/useblocks/sphinx-needs-vscode
But I guess it should be doable, based on a given needs.json.


Bot goes offline

I am using pm2 to run my discord bot and it will be running fine then I look the next day or later that day and the discord bot is offline and wont recognize any commands. I tried looking through the events so that I could just do a on disconnect - reconnect but i cant find any even to monitor disconnect

http://qeled.github.io/discordie/#/docs/Discordie?_k=n58urp
Look at the autoReconnect ;)

Aha rip I'm stupid lol thank you for the quick response


misbehavior for query arrays

When i try run request like this:
site.com/?gf[1]=1,2,3&gf[22]=67,68
i get:
req.query.gf = {"1" : "1,2,3",  "22" : "67,68"}
I think,this is right.
But, if i run site/?gf[1]=1,2,3 (only one gf section), i get Array, not object:
req.query.gf = ["1,2,3"]
It may be something like {"1" : "1,2,3"} ?

Hi @allgorod that is now the qs module (https://www.npmjs.com/package/qs) works out-of-the-box and it is what we use for the query parsing. The behavior you are asking for is also provided by the qs module, and you can set up your Express to use that different behavior as well:
// add before your first app.use
var qs = require('qs')
app.set('query parser', function (str) {
  // you can set whatever qs behavior you desire, or even use something other than qs
  return qs.parse(str, { arrayLimit: 0 })
})

You can find more information in our application settings docs as well: https://expressjs.com/en/4x/api.html#app.set
I hope this helps!


iPhone: Home page form anchor link wrong after clicking submit

https://drive.google.com/file/d/1Kv7kMlHWla2uPCAJd9VqhBDd6tZ5K3Qi/view?usp=drivesdk

Not sure exactly the issue (which anchor link) - but assume there is a mismatch in IDs somewhere. Will hunt down whatever this issue is.

Whoops this one got lost in last sprint.
(The video is also in the trash now)
I understand this issue now. On iPhone there is a jump after submission - it may have to do with losing the form ID - but a chance it's something else (scrolling related)
There is an ID on the  element that's used for the web component - that's necessary - but it needs some transition love so users won't get lost. (Sorry folks!)


Regro cf autotick bot 0.10.0 2

Supercedes #5

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Improve transition between last slide and first slide when loop true and parallax

Feature request is related to

[x] The Vanilla JavaScript version
[x] The React version
[x] The Embla Carousel core (all versions)
[ ] Documentation website
[ ] Other

Is your feature request related to an issue?
Hey! I'm trying to make a carousel that uses parallax and loops. However, in the last slide and in the first slide I'm getting weird behavior that I don't know if it's possible to be fixed.
Describe the solution you'd like
I would like the carousel to behave the same way in all slides transitions.
Additional context
I created a Sandbox https://codesandbox.io/s/happy-bird-0fhwo with this example, but it applies to the one you provided in the docs as well

Hi Carlos (@carlosmori),
Thank you for your feature request. At the time of writing, I haven't looked into what needs to be done in order to make the parallax example work with loop enabled. I guess I haven't prioritized it among all the other things to do. I'll look into it when I have the possibility to do so.
Thank you for your patience.
Best,
David

Hi Carlos (@carlosmori),
Great news! It was much easier than I thought to implement parallax with loop enabled. I've updated the parallax CodeSandbox. Please check it out and let me know how it goes.
Best,
David

Thats Amazing David!!
Such wonderful work, congratulations for this carousel! and thanks you for the quick response :)

Carlos (@carlosmori) it does work as expected right? Just want to confirm 🙂. Thanks!

I will be looking into this when I get home.
What changed?
Thank you
On Fri, Mar 12, 2021 at 9:37 PM David @.***> wrote:

Carlos @.*** https://github.com/carlosmori) it does work as
expected right? Just want to confirm 🙂. Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/davidcetinkaya/embla-carousel/issues/153#issuecomment-797464180,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASUQVJZWF5KX5BS4VBQWNZ3TDIDHXANCNFSM4Y4L5WVA
.

For anyone interested, the CodeSandbox links for these can be found on the examples page:

Parallax Vanilla JavaScript
Parallax React

@gavink97 and @carlosmori, let me know when you've had the time to test this and if this works as intended.
Cheers,
David

:) Yes! Loop true is working with parallax!
Looks great,
Gavin K

On Mar 13, 2021, at 4:45, David @.***> wrote:
@gavink97 https://github.com/gavink97 and @carlosmori https://github.com/carlosmori, let me know when you've had the time to test this and if this works as intended.
Cheers,
David
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/davidcetinkaya/embla-carousel/issues/153#issuecomment-797713440, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASUQVJ4OMXDEMYBBRNICMW3TDJVOJANCNFSM4Y4L5WVA.

Thanks for confirming Gavin (@gavink97) 👍🏻.
Enjoy!

@davidcetinkaya Sure, I will refactor our old carousel with this one and I will let you know if I find something! Thanks David!

@davidcetinkaya Wanted to let you know that I could successfully migrate to this Carousel over the weekend and the experience was amazing.
Thank you so much for building such a wonderful, when we go live I can show you the final implementation!

@davidcetinkaya  also I wanted to implement some resizing in the carousel that showed more slides towards the bigger sizes.
So mobile show only 2 slides, Tablet 3 and desktop( 1024px ) show 4 slides.
I accomplish this by changing the min-width propery in the embla__slide element and some media queries, I also changing the options (slidesToScroll) using css.
So each mobile will have min-width 50% , on Tablet Im getting min-width: 33% and in Desktop min-width: 25%.
I wanted to ask you , since Im getting some gaps in between the images until they reach the next breakpoint, how would you remove those gaps?
I need to maintain aspect ratio in the images as they resize. So its really difficult to accomplish both taking the full space of the slide and maintaining aspect ratio.
I dont know if I explained myself correctly , so forget about it if you didnt understand me xD
Again thank you for this piece of code, I really liked it!

Hi Carlos (@carlosmori),
I don’t think this is related to any issues with the parallax setup. I would suggest that you create a CodeSandbox with your setup so I can understand why you’re getting the gaps. I need that to help you.
Best,
David


After login, start with summary screen

The first screen a user should see if the summary screen, not the data entry screen as currently is displayed. This implies that the existing data from Open Health Manager will be used to drive the preventative services API initially. From the summary screen, the user will be able to open the data entry screen to update their information if it is not accurate (see blue highlighted link on slide 1 of careplanwireframes.pdf)

per Brandon, Dan is working on re-jiggering the summary screen in some way, so he's involved even though Brandon is responsible for this feature.


example for drag and zoom and rotate. all together with gestouch

can you send me a example witch an image drag , zoom and rotate into it?
thanks for helping me

@mhr1019
check here https://github.com/fljot/GestouchExamples/blob/master/src/org/gestouch/examples/views/TransformGestureView.mxml

thanks but i want to use it in flash cs6 !!
is it possible???? :/
how??

@mhr1019
yeah, possible. What seems to be impossible? See how gesture is created, how event handlers added and stuff? All same ActionScript.

thank a lott @fljot
i wrote this code and i can drag the map (movieclip) but i can't zoom or rotate it. :(
Code:
import org.gestouch.events.GestureEvent;
import org.gestouch.gestures.TransformGesture;
var transformGesture:TransformGesture;
transformGesture = new TransformGesture(map);
transformGesture.addEventListener(org.gestouch.events.GestureEvent.GESTURE_BEGAN, onGesture);
transformGesture.addEventListener(org.gestouch.events.GestureEvent.GESTURE_CHANGED, onGesture);
function onGesture(event:org.gestouch.events.GestureEvent):void
{
var gesture:TransformGesture = event.target as TransformGesture;
var matrix:Matrix = map.transform.matrix;
matrix.translate(gesture.offsetX, gesture.offsetY);
map.transform.matrix = matrix;

if (gesture.scale != 1 || gesture.rotation != 0)
{
	// Scale and rotation.
	var transformPoint:Point = matrix.transformPoint(map.globalToLocal(gesture.location));
	matrix.translate(-transformPoint.x, -transformPoint.y);
	matrix.rotate(gesture.rotation);
	matrix.scale(gesture.scale, gesture.scale);
	matrix.translate(transformPoint.x, transformPoint.y);
	map.transform.matrix = matrix;
}

}

@mhr1019
apparently gesture doesn't receive 2nd touch. Given the fact that you had questions and dealing with Flash CS – I guess you might be using some Adobe simulator with their "gestures"?

thanks @fljot
i have a touch frame on my monitor and i have not using any simulator. you mean i can't drag(single touch) and zoom (multi touch) with this code? :(

if you send me a source (.fla) file that can deal with all i want (drag,zoom,rotate with touch) I think the problem will be solved.
thanks

@mhr1019
I don't have Flash CS to work with fla files.
Try to compile against sources, use this branch https://github.com/fljot/Gestouch/tree/features/71-fix-initialization

You will need to configure conditional compilation (google it) with  -define+=CONFIG::GestouchDebug,true to see bunch of logs which will help to understand what happens
There are small changes in this branch regarding configuration/initialization. see here https://github.com/fljot/Gestouch/blob/features/71-fix-initialization/CHANGELOG.md

thanks @fljot
i'm sorry but i'm a beginner and i don't understand what you saying.
can you explain that step by step and tell me what have to do exactly?
my app is most be in adobe flash CS6 and work with gestouch
please help me :(((

@mhr1019
these are all basics. I can't afford wasting time on teaching you that, sorry. Learn something yourself or hire person to teach you or do the job.


[Question] How to change font and colour of Months and year label

Wondering how you chnage the months and year label font etc

@Anthonyamcm please take a look at the sample project and look at where the fonts are set for the DayView and MonthHeaderView. Properties like font should be stored in an InvariantViewProperties, since they do not change in response to view model updates.


why this not on pypi???

would appreciate even  a -dev build on pypi

after some consideration i uploaded the project onto pypi under asqlite-dev @Rapptz when you are ready to publish this to pypi, please tell me and i will take down my fork no questions asked. I leave all the credits pointing to you.

after some more consideration and after i installed asqlite into my pypi package i have deleted the pypi -dev package. Sorry for my outburst lmao


bug: theme unspecified layout ssg build exception

related: https://github.com/antfu/vite-ssg/issues/168

After setting the layout

I think it is fixed in v0.10.3.


Replace discover v2 env with a feature flag

📝 Description
Replace PLATFORM_DISCOVER_VERSION env with feature_discover flag
❓ Context

Impacted projects: ledger-live-common, ledger-live-mobile
Linked resource(s): #3021

✅ Checklist

[ ] Test coverage
[ ] Atomic delivery Needs to deploy the new feature flag to prod
[x] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

damn, branch name should adapt conventional commit naming imo


Corrections in the docs

Made some grammar correction in the docs.
Affected "Getting Started" and "Contribution" sections

There is checklist?

ex,

[ ] 1 fix
[ ] 2 fix

[x] Added missing prepositions
[x] Picked up more correct figures of speech
[x] Changed forms of some verbs


Updated pdf & exe4 Readme

Updated pdf & exe4 Readme

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


TextBox: handle SELECT_ALL

Fixes #1854

Makes sense, I didn't have opinion on where this should be handled, just wanted this to be fixed :)

still having that issue :face_with_head_bandage:


Lots of warnings in Log from Jenkins CodePipeline plugin

Hi!
We have lots of these warnings in our jenkins debug log output. They started some weeks ago and I believe they eventually makes Jenkins leak until it hits an Out of Memory situation. I've been looking at the heap and it seems like it has numerous credentials from SSL on it. The plugin version is 0.16, but I'm fairly sure 0.15 also has the bug. I've seen you've made several changes to the SSL part, so this is a heads up and a question on how to proceed?
The Jenkins version is the newest possible (2.17) and the VM is 1.8.0_101/Oracle. Machine is an Ubuntu 14.04, running on AWS EC2.
I have a heap-dump before things goes really bad, where the main problem in that heap-dump is a large hash array where every element it contains a x509 credentials, and other SSL data. It would seem they get allocated by never cleared again, but I don't know how to get any closer to this problem.
An example of a warning before things goes awry is the following:
Aug 05, 2016 8:11:47 AM com.amazonaws.http.AmazonHttpClient executeHelper
INFO: Unable to execute HTTP request: Remote host closed connection during handshake
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:992)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
        at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
        at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
        at com.amazonaws.http.conn.ssl.SdkTLSSocketFactory.connectSocket(SdkTLSSocketFactory.java:131)
        at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)
        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
        at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.amazonaws.http.conn.ClientConnectionManagerFactory$Handler.invoke(ClientConnectionManagerFactory.java:76)
        at com.amazonaws.http.conn.$Proxy53.connect(Unknown Source)
        at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
        at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
        at com.amazonaws.http.apache.client.impl.SdkHttpClient.execute(SdkHttpClient.java:72)
        at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:787)
        at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:630)
        at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:405)
        at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:367)
        at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:318)
        at com.amazonaws.services.codepipeline.AWSCodePipelineClient.doInvoke(AWSCodePipelineClient.java:1842)
        at com.amazonaws.services.codepipeline.AWSCodePipelineClient.invoke(AWSCodePipelineClient.java:1812)
        at com.amazonaws.services.codepipeline.AWSCodePipelineClient.pollForJobs(AWSCodePipelineClient.java:1298)
        at com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM.pollForJobs(AWSCodePipelineSCM.java:229)
        at com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM.compareRemoteRevisionWith(AWSCodePipelineSCM.java:171)
        at hudson.scm.SCM.poll(SCM.java:408)
        at hudson.model.AbstractProject._poll(AbstractProject.java:1460)
        at hudson.model.AbstractProject.poll(AbstractProject.java:1363)
        at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528)
        at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574)
        at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
        at sun.security.ssl.InputRecord.read(InputRecord.java:505)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
        ... 41 more

And the last one before it crashes is the following:
Aug 05, 2016 9:14:09 AM com.amazonaws.http.AmazonHttpClient executeHelper
INFO: Unable to execute HTTP request: Remote host closed connection during handshake
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:992)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
        at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
        at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
        at com.amazonaws.http.conn.ssl.SdkTLSSocketFactory.connectSocket(SdkTLSSocketFactory.java:131)
        at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)
        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
        at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.amazonaws.http.conn.ClientConnectionManagerFactory$Handler.invoke(ClientConnectionManagerFactory.java:76)
        at com.amazonaws.http.conn.$Proxy53.connect(Unknown Source)
        at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
        at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
        at com.amazonaws.http.apache.client.impl.SdkHttpClient.execute(SdkHttpClient.java:72)
        at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:787)
        at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:630)
        at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:405)
        at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:367)
        at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:318)
        at com.amazonaws.services.codepipeline.AWSCodePipelineClient.doInvoke(AWSCodePipelineClient.java:1842)
        at com.amazonaws.services.codepipeline.AWSCodePipelineClient.invoke(AWSCodePipelineClient.java:1812)
        at com.amazonaws.services.codepipeline.AWSCodePipelineClient.pollForJobs(AWSCodePipelineClient.java:1298)
        at com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM.pollForJobs(AWSCodePipelineSCM.java:229)
        at com.amazonaws.codepipeline.jenkinsplugin.AWSCodePipelineSCM.compareRemoteRevisionWith(AWSCodePipelineSCM.java:171)
        at hudson.scm.SCM.poll(SCM.java:408)
        at hudson.model.AbstractProject._poll(AbstractProject.java:1460)
        at hudson.model.AbstractProject.poll(AbstractProject.java:1363)
        at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:528)
        at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:574)
        at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
        at sun.security.ssl.InputRecord.read(InputRecord.java:505)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
        ... 41 more

The thing which is filled up in our Jenkins instance's heap dump is "java.util.HashMap". A typical entry in the hashmap is a key such as X509CertImpl. About 32% of the heap space is taken up by these when the system runs out of memory. This is from a smaller heap dump. The full dump at 3.1 Gigabyte is available, but my VisualVM instance can't really handle it.

Hi, thanks for bringing this to our attention.
I think this might be the root cause: https://github.com/aws/aws-sdk-java/issues/722
The issue was fixed in version 1.11.6, but our plugin still uses 1.11.3 (since version 0.14).
Let us run some tests to see if we can reproduce the issue, and test if upgrading the AWS Java SDK to the latest version (1.11.24) fixes the issue.
In the meantime, you could give it a try (and let us know how it goes) by:

Checking out this repo.
Bumping the aws-java-sdk version to 1.11.24 in pom.xml.
Running maven mvn.
Manually installing the SNAPSHOT version created in target/aws-codepipeline.hpi.

Thank you for the quick turnaround reply. I'll try what you suggest, and report back what happens.

Having run the suggested fix for one day, it looks like it has solved the problem. The memory usage is what is expected, and there don't seem to be any leak. Furthermore, the warnings in the log are gone. Normally, about 24 hours were enough to OOM our instance, but that doesn't happen anymore.
Patch follows:
tiefling:aws-codepipeline-plugin-for-jenkins jlouis$ git diff
diff --git i/pom.xml w/pom.xml
index 1f00613..acede62 100644
--- i/pom.xml
+++ w/pom.xml
@@ -63,7 +63,7 @@
     <dependency>
       <groupId>com.amazonaws</groupId>
       <artifactId>aws-java-sdk</artifactId>
-      <version>1.11.3</version>
+      <version>1.11.24</version>
     </dependency>
     <dependency>
       <groupId>org.apache.commons</groupId>

Great, out testing looks good too, so we'll be releasing a new version of the plugin soon.


Silent boot for arch linux

I think it would be cool to activate silent boot: https://wiki.archlinux.org/index.php/Silent_boot. Alternatively we could look for an animation.

Implemented in<PHONE_NUMBER>0ea5173cd9f624813720b6721ea942
Missing is 1 Message (probably by fsck).
startx might print messages in desktop install.

Implemented in<PHONE_NUMBER>0ea5173cd9f624813720b6721ea942
Missing is 1 Message (probably by fsck).
startx might print messages in desktop install.

I think this is good enough for me for the moment.


Camera near clip value can't be negative in inspector

Godot version:
3.2
OS/device including version:
Win 10 / Dell Precision 4700
Issue description:
I was unable to set the camera near clipping value to a negative number resulting in a visible clip problem. Negative values are prohibited by the inspector but are settable via .set_znear(-1000). I believe the editor should allow negative values as a negative near clip is desirable for setting up an isometric camera.
Steps to reproduce:

Add a camera to a scene
Set perspective to orthagonal
Attempt to enter a negative number in a camera's near clip field in the godot editor. The value mins at 0.01 instead of allowing a negative value

Minimal reproduction project:
not applicable
Thank you for your consideration of this change and thank you for a fantastic game engine.

Is there even such a thing as a negative near clip value in computer graphics?
Depth buffer precision gets worse as you bring the near plane closer to 0. It would be infinitely bad if it was 0 :slightly_smiling_face:

Yes... When setting up an isometric scene a zero clip clips all objects at the z-axis of the camera but because of the orthographic projection that line is visible in the viewport.

and with the camera set to
self.set_znear(-1000)

As a workaround you can pull back the camera, which has the same effect

@Zylann Agreed, but I am filing a bug because the inspector does not permit values that the underlying method allows.

@dmlo What does it look like if you set the near plane value below 0 in perspective mode? We can't set hints dynamically.

No objects are visible in perspective with set_znear(-1).

@dmlo Indeed, this is what I feared :slightly_smiling_face:
I guess we could clamp the effective near plane value when using perspective mode.

@Calinou I did a test in another game engine and that's exactly how they handle it. You can set a negative clip value in ortho mode but when you switch to perspective it clamps to 0.01,
I tried @Zylann's idea of pulling the camera back but since the ortho view is just a column it had no effect.
If not a negative near clip, are there any other methods for avoiding the clipping problem in orthographic projection?

I tried @Zylann's idea of pulling the camera back but since the ortho view is just a column it had no effect.

This gotta have an effect, really. It does in perspective, and if it doesnt in ortho then we have another problem...

I came across this ticket by accident while googling on negative near clip planes.
I only wanted to point out code may assume near clipping can't be negative, thus causing weird bugs.
Off the top off my head I can think of PSSM (Parallel Split Shadow Mapping) / CSM (Cascaded Shadow Mapping) although any algorithm using cascades really, where the code looks at the camera bounds to determine what are the visible receivers and thus position the shadow mapping camera at the optimal location to exclude unnecessary casters.
While it is possible to handle negative near planes (ortho) in PSSM/CSM, it needs be checked whether it's handled correctly. Same goes for other code (e.g. screen ray picking comes to mind).
Alternatively it may be better/safer to reposition the camera backwards when using negative near clip planes, which is the correct thing to do.

(on a side note, it would be nice if the camera's gizmo lines were showing the real clipping volume)

@Zylann How do you think this could be done? Drawing a line from Znear to Zfar may be too invasive for high Zfar values (the default is 4000).

I just suggested this because I saw that's what Unity does.

I'm happy to make a PR for this

I'm happy to make a PR for this

There's already an open PR for this: https://github.com/godotengine/godot/pull/54850


Remove Equatable compliance from models & errors

Describe the feature
Currently, smithy-swift code-generates model structs & enums, plus all operation errors, with compliance for Equatable protocol; the Equatable implementation for all of these types is auto-generated by the Swift compiler.
However, the Equatable protocol is almost always not used by the AWS SDK, and results in extra compile time and binary size for no benefit.  Informal testing shows that binary size is reduced by 9.6% and compile time is reduced by 16% when Equatable and Hashable conformances are removed from models & errors.  (Hashable is being removed separately, in #899.)
There is one place where Equatable is actually used on models, and needs to be addressed to complete this: in rare cases, pagination continuation tokens are Maps which may contain model structs or enums as values; the current pagination scheme requires a pagination token to be Equatable to detect the specific case where a paginated operation endless-loops to return future items as they are created.  Currently this arises with two paginators on DynamoDB.  There are multiple ways to solve this, some of which may involve keeping generated Equatable compliance on the affected models.
Elimination of Equatable from models and errors will constitute a breaking change because protocol compliance will be removed from public types.  This is acceptable because clients should not typically be using AWS models for any purpose outside of making API requests & reading API responses, relying instead on their own models for storing & conveying the data received from an AWS API.  (If clients decide they absolutely need Equatable conformance on our models, they are free to manually add them back to AWS models as needed.)
Use Case
This will reduce the compile time and binary size of the AWS SDK with no practical loss of functionality.
Proposed Solution
Remove the Equatable compliance that is added to struct, enum, and error definitions during code generation, except in the rare cases it is actually needed for SDK function.
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request
[X] This feature might incur a breaking change

Address related TODO: https://github.com/awslabs/aws-sdk-swift/blob/a0ce157d94c295742ff6592c5c81f19408eda9e6/Sources/Core/AWSClientRuntime/EventStream/AWSEventStream.swift#L26

Released in 0.43


feat: show description on private keys

+1 this would be really great

Thank you for the PR!
Saw this a bit late. Already added in the upcoming version, so I close this.


pgadmin4: 7.7 -> 8.0

Description of changes
Release notes: https://www.pgadmin.org/docs/pgadmin4/latest/release_notes_8_0.html
This includes (and superseeds) #269276 and #262707
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1276

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

4 packages built:

pgadmin4
pgadmin4-desktopmode
pgadmin4-desktopmode.dist
pgadmin4.dist


bug: after adding a new message, the id is shown to be -1

might be solved by implementing SWR

this was solved as the forms where moved into extra pages


Implement the forward dct

Is this issue a duplicate of #10 and should be closed (so as bounty on it)?

No it isn't, it is more or less a relic from the initial set of issues (that were more of less a todo just for me) and it is correct.


Fix bug with test file

Description
here is where you add descriptions if neccessary.
Suggestion

Hello this code looks good.


xrange display stacks up unless very wide timeline

Checked for duplicates
No - I haven't checked
Is this a regression?
No - This is a new bug
Version
1.4.0
Describe the bug
With some kinds of x-range displays in normal window/panel sizes, the rendered bars appear to all stack up together on the left of the timeline and not at their proper times. normal includes setups where the timeline is >80% of the browser and browser is >80% of the screen.

Just noting this issue might have been avoided if we had https://github.com/NASA-AMMOS/aerie-ui/issues/257

Should these null values show up as actual segments labeled with "null"? Or would you expect them to not be rendered at all? Same question for showing this resource in a line plot.


task cancellation

Question:
what exactly happens when forked task has been cancelled ?
it jumps to finally block,I know that much, but
how exactly is execution halted ? should I assume that it can be stopped anywhere, like in between every statement? or does it halt only on yield statements, and if so after yield executed or before, or both can happen?

Generators can be paused only "on" yield statements. The yielded effects are getting interpreted by the redux-saga runtime. When the effect resolves your generator is getting resumed with the resolved result.
So when saga cancellation happens before effect get the chance to resolve, redux-saga runtime cancels all pending effects attached to it and calls smth like yourSaga.return() (iterators created by calling generators have return method on them).
Calling return causes generators to jump into finally blocks.
To sum it up - cancellation can only happen "after" yield statement, "before" the generator resumes its work.


chore: make runIde task work for local development

see. https://github.com/JetBrains/intellij-platform-gradle-plugin/blob/55b8e5b86bdc798132f3af3065e0d17d5244dfc2/src/main/kotlin/org/jetbrains/intellij/tasks/RunIdeBase.kt#L256

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


Test pull request action

Test of automation for pull requests

Didn't trigger action due to action setting. Close this one and try again.


@ #1 | auto setup Helm chart repo

Please do the following before you run my scripts in travis-ci:

Setup your gcs for both of stable and incubator repository that should follow the guide
https://github.com/helm/helm/blob/master/docs/chart_repository.md#hosting-chart-repositories

Create a service account in Google IAM and get the credential of gcs and save it to json file as name "credential.json". this service account should have the role as "Storage Object Admin"
https://cloud.google.com/storage/docs/authentication#generating-a-private-key

encrypt your "credential.json" by follow
https://docs.travis-ci.com/user/encrypting-files/

Copy the output with openssl and using it later.

Create the slack secure channel with travis and save the secret key

update the your openssl command and secret key to file .travis.yaml

Finally, you can commit and push your code to github to test travis-ci and check your helm chart repository
connect #1

@phucvdb please resolve conflicts
@hieptranquoc please review this asap

@hieptranquoc Please review my pr


[Tree] ClosureTreeRepository::buildTreeArray can't handle root node

Because the root is at level 0, when calling ClosureTreeRepository::buildTreeArray($nodes) where $nodes[0] is the root, it won't build the array. This is due to this line:
$l = 1;     // 1 is only an initial value. We could have a tree which has a root node with any level (subtrees)

Changing that to $l = 0; fixes the problem. I'm willing to make a quick PR. Do you have any concerns?

So I think I may be getting confused after staring at this stuff for so long.
My understanding:

Root node is always level 0.
Closure table depths start at 0.
A child of the root node is level 1.
The root <> child closure is depth 1.

I have a page tree like so:
Homepage (root node, level 0)
    - Cars (child, level 1)

When I attempt to add a child to Cars, Gedmo says that new child is level 3.

Maybe the root is supposed to be level 1? Everything seems to be ok when it is.
I assumed it was supposed to be 0, from the tests: https://github.com/Atlantic18/DoctrineExtensions/blob/master/tests/Gedmo/Tree/TreeTest.php#L66

it should be 0, maybe it could take the level based on the $nodes[0] ? could accept any level nodes..

anyway, if you can update to support the backward compatibility it should be ok

Does that mean this is wrong?
Seems like if it has no parent, it is the root and should be level 0.
Side-issue: Those lines suffer from the same problem

well, you know what, I do not even remember now, whether it should be 0 or 1. but I tend to believe that it should be 0 for root without parent. so probably that is wrong..


chore(*): temp changes for perf testing

Summary
Do not merge it.
Checklist

[ ] The Pull Request has tests
[ ] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference
KAG-4836

Resolved merge conflicts manually to make the packaging workflow happy.


Check that lexers produce the same output as the input

On https://github.com/pygments/pygments/pull/2531, I just noticed missing groups in rules using bygroups(), making the lexer lose part of the input. (I've seen it on other PRs too.)
We do have this test in test_basic_api.py:
    assert txt == test_content, "%s lexer roundtrip failed: %r != %r" % \
        (cls.name, test_content, txt)

but it only runs on random input.
Let's at least do that when highlighting the tests in tests/snippets/ and tests/examplefiles/.

That's a good idea. I also wonder if we can automatically check bygroups, after all, if we know how many groups there are, that must match the parameter list. After compiling a regex, groups should tell us the number of groups, which then needs to match up with introspection. Not saying we shouldn't run the roundtrip on all example files, but this could be added similar to regexlint.

Two comments:

Checking completeness of the output can already be done while generating the golden output
I thought regexlint already checked for this (wrong number of groups)?


Check if media_type starts with File

To support multiple disks/clients, see
http://www.bacula.org/5.2.x-manuals/en/main/main/Basic_Volume_Management.html.

Great, thank you.


Small fixes to append-timestamp option.

It looks like the values from getState are strings, so an explicit comparison is necessary.

A very important PR as the current v1.2.7 still stores timestamp cache even if append-timestamp is false. See https://github.com/hendrikmuhs/ccache-action/actions/runs/3868686837/jobs/6594291219 @hendrikmuhs


InventoryDragEvent isn't caught in custom inventories

As far as I can tell you are only listening for the InventoryClickEvent for CustomInventory interaction. This allows moving of items into the inventory (or maybe even out if done right, at least it might lead to clicks not registering when slightly moving the mouse when clicking)

Hey, sorry for the late response xD, I'll look into that now. Thanks for reporting!


Why nested shared layers as such network doesn't work?

Hi,
I design a network which composes of shared layers, I write code using functional API. However, there always be errors.
I paste my network structure graph , code , and error information below, hope to provide a clue.
Thanks!
Network Structure:

Share layers:

Embedding is shared among 3 input.(blue color). However, input_length is different for input1/input2 and input3. The input_length for input1/input2 is LSTM_MAXLEN, 1000, for input3 is QUERY_MAXLEN, 5, eg. max 5 words for a query.
CNN feature learning layer is shared between input1 and input2. (green color)

`
RNN=recurrent.LSTM
EMBED_HIDDEN_SIZE=50
SENT_HIDDEN_SIZE=100
COMM_HIDDEN_SIZE=100
QUERY_HIDDEN_SIZE=100
BATCH_SIZE=32
EPOCHS=6
QUERY_MAXLEN=5
STEP=6
RUN=1
vocab = 149999
vocab_size=vocab+1
print "build model..."
nb_filter=128
filter_length=3
pool_length=2
def max_1d(X):
return K.max(X, axis=1)
#embedding_layer = Embedding(vocab_size, EMBED_HIDDEN_SIZE, mask_zero=False)()
sentence_input = Input(shape=(LSTM_maxlen,))
query_input = Input(shape=(QUERY_MAXLEN,))
x = Embedding(vocab_size, EMBED_HIDDEN_SIZE, mask_zero=False)(sentence_input)
x = Dropout(0.2)(x)
x = Convolution1D(nb_filter=nb_filter,
filter_length = filter_length,
border_mode='valid',
activation='relu',
subsample_length=1)(x)
x = MaxPooling1D(pool_length=pool_length)(x)
x = Convolution1D(nb_filter=nb_filter,
filter_length = filter_length,
border_mode='valid',
activation='relu',
subsample_length=1)(x)
x = Lambda(max_1d, output_shape=(nb_filter, ))(x)
x = Dense(SENT_HIDDEN_SIZE, activation='relu')(x)
outx = Dropout(0.2)(x)
cnn_share = Model(sentence_input, outx)
a = Input(shape=(LSTM_maxlen, ))
b = Input(shape=(LSTM_maxlen, ))
c = Input(shape=(QUERY_MAXLEN, ))
shared_cnn1 = cnn_share(a)
shared_cnn2 = cnn_share(b)
y = Input(shape=(QUERY_MAXLEN,))
y = Embedding(vocab_size, EMBED_HIDDEN_SIZE, mask_zero=True)(y)
y = RNN(QUERY_HIDDEN_SIZE, return_sequences=False, activation='relu')(y)
y = Dropout(y)
model_query = Model(query_input, y)
qrnn = model_query(c)
merge_vector = Merge([shared_cnn1, shared_cnn2, qrnn], mode='concat', concat_axis=-1)
dense1 = Dense(100, activation='relu')(merge_vector)
dp1 = Dropout(0.2)(dense1)
output1 = Dense(1, activation='sigmoid')(dp1)
model = Model(input=[shared_cnn1, shared_cnn2, qrnn], output=output1)
model.compile(loss='binary_crossentropy', optimizer='rmsprop', metrics=['accuracy'])
if RUN:
model3.fit([X, Xc, Xq],Y, batch_size=BATCH_SIZE, nb_epoch = EPOCHS,validation_split=0.05, show_accuracy=True )
`

Share layers:

Embedding is shared among 3 input.
CNN feature learning layer is shared between input1 and input2.

run ERROR:
Traceback (most recent call last):
File "shared_cnn_1.py", line 105, in
x = Embedding(vocab_size, EMBED_HIDDEN_SIZE, mask_zero=False)(sentence_input)
File "/home/yulei/.local/lib/python2.7/site-packages/Keras-1.0.1-py2.7.egg/keras/engine/topology.py", line 485, in call
self.add_inbound_node(inbound_layers, node_indices, tensor_indices)
File "/home/yulei/.local/lib/python2.7/site-packages/Keras-1.0.1-py2.7.egg/keras/engine/topology.py", line 543, in add_inbound_node
Node.create_node(self, inbound_layers, node_indices, tensor_indices)
File "/home/yulei/.local/lib/python2.7/site-packages/Keras-1.0.1-py2.7.egg/keras/engine/topology.py", line 148, in create_node
output_tensors = to_list(outbound_layer.call(input_tensors[0], mask=input_masks[0]))
File "/home/yulei/.local/lib/python2.7/site-packages/Keras-1.0.1-py2.7.egg/keras/layers/embeddings.py", line 133, in call
out = K.gather(W, x)
File "/home/yulei/.local/lib/python2.7/site-packages/Keras-1.0.1-py2.7.egg/keras/backend/theano_backend.py", line 156, in gather
return reference[indices]
File "/home/yulei/.local/lib/python2.7/site-packages/Theano-0.8.1-py2.7.egg/theano/tensor/var.py", line 503, in getitem
return self.take(args[axis], axis)
File "/home/yulei/.local/lib/python2.7/site-packages/Theano-0.8.1-py2.7.egg/theano/tensor/var.py", line 535, in take
return theano.tensor.subtensor.take(self, indices, axis, mode)
File "/home/yulei/.local/lib/python2.7/site-packages/Theano-0.8.1-py2.7.egg/theano/tensor/subtensor.py", line 2387, in take
return take(a, indices.flatten(), axis, mode).reshape(shape, ndim)
File "/home/yulei/.local/lib/python2.7/site-packages/Theano-0.8.1-py2.7.egg/theano/tensor/subtensor.py", line 2365, in take
return advanced_subtensor1(a, indices)
File "/home/yulei/.local/lib/python2.7/site-packages/Theano-0.8.1-py2.7.egg/theano/gof/op.py", line 611, in call
node = self.make_node(*inputs, **kwargs)
File "/home/yulei/.local/lib/python2.7/site-packages/Theano-0.8.1-py2.7.egg/theano/tensor/subtensor.py", line 1687, in make_node
raise TypeError('index must be integers')
TypeError: index must be integers

Input should be an int type.  you can specify in the constructor.
X = Input(shape=shape, dtype='int32')

It seems that the it's not the type problem.
I'm writing a non-shared version first, hoping to get everything correct.
And then shared version.

Are you getting the same error or a different one? because it looks like the "index must be integers" error that I usually get when I forgot to cast my inputs as ints.

Same error.
I found some other mistakes in my code, after I modified them, and make sure non-shared version to be OK, and currently the shared version is OK.
However, the model is not completely shared, case the word embedding is not shared between input3 and input1/2.
I'll report after complete share.

Hi, all,
There comes the error information, I'm wondering if the shared layers can be nested.
Traceback (most recent call last):
File "shared_cnn_4.py", line 130, in
model.fit([X, Xc, Xq],Y, batch_size=BATCH_SIZE, nb_epoch = EPOCHS,validation_split=0.05)
File "/home/yulei/.local/lib/python2.7/site-packages/Keras-1.0.1-py2.7.egg/keras/engine/training.py", line 1015, in fit
self._make_train_function()
File "/home/yulei/.local/lib/python2.7/site-packages/Keras-1.0.1-py2.7.egg/keras/engine/training.py", line 653, in _make_train_function
**self._function_kwargs)
File "/home/yulei/.local/lib/python2.7/site-packages/Keras-1.0.1-py2.7.egg/keras/backend/theano_backend.py", line 503, in function
return Function(inputs, outputs, updates=updates, **kwargs)
File "/home/yulei/.local/lib/python2.7/site-packages/Keras-1.0.1-py2.7.egg/keras/backend/theano_backend.py", line 489, in init
**kwargs)
File "/home/yulei/.local/lib/python2.7/site-packages/Theano-0.8.1-py2.7.egg/theano/compile/function.py", line 320, in function
output_keys=output_keys)
File "/home/yulei/.local/lib/python2.7/site-packages/Theano-0.8.1-py2.7.egg/theano/compile/pfunc.py", line 442, in pfunc
no_default_updates=no_default_updates)
File "/home/yulei/.local/lib/python2.7/site-packages/Theano-0.8.1-py2.7.egg/theano/compile/pfunc.py", line 187, in rebuild_collect_shared
(store_into, update_d[store_into]))
ValueError: ('this shared variable already has an update expression', (embedding_1_W, Elemwise{sub,no_inplace}.0))

shared_embed = Embedding(vocab_size, EMBED_HIDDEN_SIZE, mask_zero=False)
x = shared_embed(sentence_input)
x = Dropout(0.2)(x)
x = Convolution1D(nb_filter=nb_filter,
								filter_length = filter_length,
								border_mode='valid',
								activation='relu',
								subsample_length=1)(x)
x = MaxPooling1D(pool_length=pool_length)(x)
x = Convolution1D(nb_filter=nb_filter,
								filter_length = filter_length,
								border_mode='valid',
								activation='relu',
								subsample_length=1)(x)
x = Lambda(max_1d, output_shape=(nb_filter, ))(x)
x = Dense(SENT_HIDDEN_SIZE, activation='relu')(x)
outx = Dropout(0.2)(x)

cnn_share = Model(sentence_input, outx)

shared_cnn1 = cnn_share(a)
shared_cnn2 = cnn_share(b)

#y = Input(shape=(QUERY_MAXLEN,), dtype='int32')
#y = Embedding(vocab_size, EMBED_HIDDEN_SIZE, mask_zero=True)(c)
y = shared_embed(c)
y = RNN(QUERY_HIDDEN_SIZE, return_sequences=False, activation='relu')(y)
y = Dropout(0.2)(y)

#model_query = Model(query_input, y)
#qrnn = model_query(c)

#merge_vector = Merge([shared_cnn1, shared_cnn2, qrnn], mode='concat', concat_axis=-1)
merge_vector = merge([shared_cnn1, shared_cnn2, y], mode='concat', concat_axis=-1)
#merge_vector = merge([outx, outxx, y], mode='concat', concat_axis=-1)
dense1 = Dense(100, activation='relu')(merge_vector)
dp1 = Dropout(0.2)(dense1)
output1 = Dense(1, activation='sigmoid')(dp1)

model = Model(input=[a,b,c], output=output1)

ValueError: ('this shared variable already has an update expression', (embedding_1_W, Elemwise{sub,no_inplace}.0))
@braingineer @fchollet

I get a same error as you did. Is there anyone can solve this problem? Thanks a lot.

I get the same error in a similar context, using TimeDistributed  layer. After some digging, it looks like that the issue there is Wrapper layer class takes trainable_weights from the wrapped layer, and somehow that causes Model.layers in engine/training.py to contain duplicated copies of parameters from wrapped layers, resulting in duplicates trainable_weights inside function _make_train_function of Model class.  After removing the part in Wrapper layer class that tries to duplicate, everything works. However, I don't know if that has any un-intended effects in other use cases.

Hi @ylqfp , I tried some other structures without work well. I think maybe Keras doesnot support the nested shared layer right now. For your problem specially, you can pre-train the word embeddings by something like word2vec, then make the embeddings unchangeable during the training.

I also get the same error. Could this error be solved? @fchollet

Same issue here. I'm trying to load the Keras model which is trained in Python into MATLAB. However, Matlab complains that weight sharing is not yet supported. Is there other method I can load the model into Matlab? Thanks!

@zuoyigehaobing Same problem here, did you find any solution?


App will be Crash with an InfoBar and Publish as Single File Option

Describe the bug
If we have an InfoBar in MainWindow and publish it as a Single File (PublishSingleFile = true) App will not run and will crash.
Steps to reproduce the bug
1.Create a New WinUI 3 Project
2.Change To Unpackaged Project
None
3. Add InfoBar on MainWindow
<Window
    x:Class="App1.MainWindow">
    <StackPanel>
        <InfoBar
                        Title="Up To Date"
                        IsClosable="False"
                        IsOpen="True"
                        Severity="Success" />
    </StackPanel>
</Window>

Publish Project as Single File (PublishSingleFile = true)
Run Published App

Expected behavior
App should run without any problems
Screenshots
No response
NuGet package version
1.0.0
Packaging type
Unpackaged
Windows version
Windows 11 version 21H2 (22000)
IDE
Visual Studio 2022
Additional context
No response

Hi @jonwis
Can you track this?  Should we report this issue in winui repo?

@MikeHillberg @BenJKuhn @Scottj1s is a Single File App (PublishSingleFile = true) a problem for WinAppSDK or a N/A and this is a WinUI issue?
If the latter please transfer it to the WinUI repo (oddly enough I can't).
If the former who's on point?

Can confirm @ghost1372. Appears to be a WinUI issue but I don't blame you for posting it here since that repository is more/less dead. Maybe @gabbybilka or @marb2000 can help route.
Related: microsoft/microsoft-ui-xaml#6400, microsoft/microsoft-ui-xaml#7063, microsoft/microsoft-ui-xaml/#6757, etc.
Best guidance for you right now is to completely avoid using Single File publishing for all WinUI/WinAppSDK work.

Thanks @riverar, and @ghost1372  I will transfer this to the WinUI3 repository so the automated system clone it in our internal Azure DevOps and we can triage and prioritize it.


uncompress

Hi, like this very much, but would like a flag that would uncompress and multi frame gifs / animated gifs to uncompressed C output.  Thanks in advance.

This is a simple tool that doesn't do anything specific with the imaging data. It is way beyond the scope to do what you're asking.


Middleware usage (Next.js _middleware)

Describe the feature
This will hide the weird flashes of content when not authenticated.
Additional Context
PS: Generate features object on the server

Doesn't support Axios right now.


chore(flake): update distro-grub-themes url

#2  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @zakuciael and the rest of your teammates on  Graphite


Describing a string as a sequence of runes is very confusing

As discussed in the forums, this patch makes the changes desired to
clarify how Strings are related to Runes and hopefully clears up some
confusing and potentially misleading statements.
Ref: https://github.com/exercism/go/pull/2768

#2768 should be accepted and integrated before this one.

Same here, the work is available if you still want it, as a patch.  I deleted my clone of the repository on the platform, but that does not make the work unavailable for integration.


not found ./experiments folder

I want to use directly your pretrain model, you said in readme Download the pre-trained [model](https://drive.google.com/drive/folders/1JWYaP9VVPX_Mh2w1Vezn74hck-oWSyMh?usp=drive_link) and place it in ./experiments/ but there is no ./experiments folder.

you can create it by yourself

you can create it by yourself

OK, thanks for your reply. By the way, I want to know how much time you spent to train super resolution, inpainting and deblurring, respectively? You said that you used 8 GPU card, what type of GPU card? V100 or A100?

V100

How much time do you spent to train super resolution, inpainting and deblurring, respectively with 8 V100 gpu card?

about 6-10 days

when i run pip.sh, it stuck on pip install basicsr --index-url http://pypi.douban.com/simple --trusted-host pypi.douban.com this command. even if i use vpn or not, it alway stuck. I wonder did you reproduced all steps in your readme before you submit the code?

you can simply try pip install basicsr. They just used a mirror source

you can simply try pip install basicsr. They just used a mirror source

你可以创建新的conda环境来试图安装basicsr，无论怎么样它会一直卡住，不会装basicsr，我换了各种镜像，都不行。


Crashlytics notification not working

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I have read the Contribution Guidelines

Issue Description
For some reason Crashlytics is not sending email to the beta developers anymore. It was working normally some days ago. I'm guessing that the fastlane version changed since I have it set to automatically update.
This is the crashlytics config:
    # upload to Beta by Crashlytics
    crashlytics(
       api_token: "XXX",
       build_secret: "XXX",
       groups: ['iOS-Testers'],
       notes_path: "../CI/ReleaseNotes.txt",
       notifications: true
  )

[20:38:55]: -------------------------
[20:38:55]: --- Step: crashlytics ---
[20:38:55]: -------------------------
[20:38:55]: Uploading the build to Crashlytics Beta. Time for some ☕.
[20:39:46]: Build successfully uploaded to Crashlytics Beta 🌷
[20:39:46]: Visit https://fabric.io/_/beta to add release notes and notify testers.
[20:39:46]: -----------------------------------
[20:39:46]: --- Step: clean_build_artifacts ---
[20:39:46]: -----------------------------------
[20:39:46]: Cleaned up build artifacts 🐙

+------+-----------------------+-------------+
|              fastlane summary              |
+------+-----------------------+-------------+
| Step | Action                | Time (in s) |
+------+-----------------------+-------------+
| 1    | update_fastlane       | 7           |
| 2    | default_platform      | 0           |
| 3    | gym                   | 49          |
| 4    | crashlytics           | 51          |
| 5    | clean_build_artifacts | 0           |
+------+-----------------------+-------------+

[20:39:46]: fastlane.tools finished successfully 🎉

Hi @Bunn 👋
Sorry about this! From what I understand, Beta email delivery was experiencing delays yesterday. I don't believe anything has changed about the crashlytics action recently. Do you mind giving this another try soon and let me know whether it's working better?

@mfurtak I tried again now, didn't work.
To make sure it's not a crashlytics issue I submitted using the Fabric app to the same test group and after a couple minutes I received the email.
Then I gave a try on CLI submit tool
The output was OK
2017-03-29 12:23:46.636 submit Crashlytics: Crashlytics.framework/submit 1.3.5 (18)
2017-03-29 12:23:52.195 submit Crashlytics: Added Release Notes Successfully 200
2017-03-29 12:23:52.651 submit Crashlytics: Added Testers/Groups Successfully 200
2017-03-29 12:24:50.224 submit Crashlytics: Uploaded Successfully 202

But no email so far... it seems it's an issue on Fabric's submit tool itself. I'll close this ticket since it doesn't seem to be related to Fastlane itself.

Hm, interesting! I'm glad you can work around it with the Fabric app for now, but please do get in contact with<EMAIL_ADDRESS>and someone should be able to help you diagnose :+1: