Error on npm start

I'm receiving this error when I try to run using npm start
/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-9.1.12/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 3
I'm using node 6.2.1, on macosx El Captain

running npm run build before worked

can please share what fixed the issue ?

Make sure ur URL has http:// in the beginning

I have the same issue
/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-10.1.5/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 4
The urls are right.  But the electron just fail.  And it seem that the console.log is not working even with --enable-logging
I guess something must be wrong before the loading code.


[BUG]: gobrick code owner file is containing errors

Bug Description
https://github.com/dell/gobrick/blob/main/.github/CODEOWNERS
Logs
This CODEOWNERS file contains errors …
CODEOWNERS errors
Unknown owner on line 23: make sure @dattaarindam exists and has write access to the repository
…blr79 @hoppea2 @tdawe @coulof @dattaarindam
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
This CODEOWNERS file contains errors …
CODEOWNERS errors
Unknown owner on line 23: make sure @dattaarindam exists and has write access to the repository
…blr79 @hoppea2 @tdawe @coulof @dattaarindam
Expected Behavior
valid file
CSM Driver(s)
go library
Installation Type
No response
Container Storage Modules Enabled
No response
Container Orchestrator
NA
Operating System
NA

@AkshaySainiDell : Please look into this.

@shanmydell @AkshaySainiDell have any updates been made here?

Hi @shanmydell, We will look at this.


fix: Really remove all traces of request interface

Fix #1

Thanks @untitaker, merged and pushed v0.3.1 release.


How much overhead is there in node-mysql?

Some huge query in phpMyAdmin reports for example:
Showing rows 0 - 29 (154 total, Query took 0.1439 sec)

In node-mysql from query to callback takes about 1.5 seconds for this query.
The actual query-time is approximately 10-fold. For less results it's less overhead, for more results the overhead is more.
Where does this come from? These timings are pretty much the same in mysql2. Is there something I can do?

@Redsandro this issue is 2.5 years old and probably lots changed since, I'm closing it

@sidorares :+1:
I admid I forgot about this issue. Apologies. A lot has changed since.


Get tests working for the streaming endpoints

We are currently not testing streaming endpoints

This actually required some fixing in the http streaming API, which is going to be fixed by #41


bs-callout

Bootstrap uses bs-callout in its documentation, we coud have a class for this in native bootstrap as this
http://cpratt.co/twitter-bootstrap-callout-css-styles/ but on top, right and bottom too, yea?

Not going to be added to the core—that's docs only. This has also been asked previously, so few free to search for more context or prior replies if you'd like <3.

As I saw it on the documentation, see it as usefull (the bootstrap team too apparently), I indeed expected it to be documented and in bootstrap.


Support postgres v9.6 in docker

WiP (plz do not merge (to master))
This is just a temp. branch (to live as long the 2 contained ANXS-PRs haven't been merged to upstream master!
fyi @vincepii

During a review of the ansible'role config changes, that differ from the default postgres config.
I documented the 9.6 only findings in the related PR: https://github.com/ANXS/postgresql/pull/212#issuecomment-263941891
Here other diffs seen (that you'ld get also with the latest master ANXS role):
postgresql_row_security: off # (>= 9.5)

where'as in orig:
-#row_security = on

other 'custom default' settings (possibly caused by old postgres version defaults):
ssl_ciphers
ssl_cert_file
ssl_key_file

-#hot_standby_feedback = off		# send info from standby to prevent
+hot_standby_feedback = on		# send info from standby to prevent

-#effective_cache_size = 4GB
+effective_cache_size = 128MB

We should check the exact meaning of these settings, like:

effective_cache_size is way lower than the newer default
(I checked, that postgres default got bumped since v9.4 from 128MB to 4GB!)

UPDATE: I rebased this PR to current master (+force pushed), after testing the whole functionality still works (it does), including it's not fixed for ansible >v2.2.x (thx to recent master fixes) 👍


Is this library endian-agnostic?

Some of the pointer casting in the library made me nervous. Why not use bytes.BigEndian.Put?

@BrannonKing after tons of benchmarking, the pointer casting gave me the best performance and least allocation. I'm definitely all for removing scary code if there isn't a huge performance cost of using a stdlib func. I should have time to look into this within the next week. I'll create a branch with this change and do some performance testing against it. If there isn't much of a performance hit, I'll gladly switch over.


Create 2 side bars, left and right

Our project will look like similar to
LEFT-SIDEBAR CONTENT RIGHT-SIDEBAR
We still need to do some design/brainstorm in getting the ideas of what to place on those sidebars.

this issue will be open as we need to know how to use it better


Fix selection of suggested subject terms

At this point, when "all" is selected in the subject picker, only fast vocabulary terms are showing up in the suggestions list. We need suggestions to be drawn more evenly from different vocabularies.


feat: add version logging on migration

Description:
Commit Message
feat: add version logging on migration

see the guidelines for commit messages.
Changelog Entry
## [0.1.0] - 2023-03-8

### Added
Log contract version on migration.

Checklist:

[ ] I have performed a self-review of my own code
[ ] I have documented my code in accordance with the documentation guidelines
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have run the unit tests
[ ] I only have one commit (if not, squash them into one commit).
[ ] I have a descriptive commit message that adheres to the commit message guidelines

Please review the CONTRIBUTING.md file for detailed contributing guidelines.

Codecov Report

Merging #573 (162a41c) into main (8b3dbac) will decrease coverage by 0.06%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main     #573      +/-   ##
============================================
- Coverage     62.77%   62.71%   -0.06%
  Complexity      404      404
============================================
  Files           156      156
  Lines         14761    14774      +13
  Branches        292      292
============================================
  Hits           9266     9266
- Misses         5339     5352      +13
  Partials        156      156

Flag
Coverage Δ

rust
60.02% <0.00%> (-0.07%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

contracts/cosmwasm-vm/cw-ibc-core/src/contract.rs
46.90% <0.00%> (-1.45%)
:arrow_down:

contracts/cosmwasm-vm/cw-ibc-core/src/lib.rs
42.85% <0.00%> (+2.31%)
:arrow_up:

...s/cosmwasm-vm/cw-icon-light-client/src/contract.rs
53.08% <0.00%> (-0.08%)
:arrow_down:


How to make it so that the modal appears with padding above, and not without padding?

Summary:
I have a modal and its size exceeds the screen. I also have some padding around all edges, so that it doesn't take up the whole screen.
Steps to reproduce:

Create modal with large height that exceeds screen
Give it some padding at the top, like 64px
Put overflow in the container (where the white background overlay is) to 'scroll'
Click on a button to have it pop up

Expected behavior:
The modal should appear with padding at the top, i.e. the scrollbar should view it from the start, not in the middle.
The thing is, the very top of the modal appears at the very top of the page, which isn't what I want. The very top of the modal needs to be 64px below the top of the browser's view, i.e. the browser toolbar.
In this case, if you scroll up, thats essentially what I want.

@jr69 Would something like this: http://codepen.io/claydiffrient/pen/jyNBXG work for you?
I think it's a matter of padding not working because the modal contents default to being position:absolute  Give top: 64px and lets see what happens.

@claydiffrient, I've been having the same issue described here and I think the problem may be more related to setting an overflow to achieve something of a modal scroll when the window is too small.
I forked your CodePen and added a single line, overflowY: 'auto', to the overlay style object, which seems to resurface the scroll issue: https://codepen.io/indiesquidge/pen/bRLXoB


Comment error

@zzh8829
hi author:
i find the comments in  dataset.py ,
" # y_true_out: (N, grid, grid, anchors, [x, y, w, h, obj, class]) " should be changed to  " # y_true_out:(N, grid, grid, anchors, [x1, y1, x2, y2, obj, class])"
Hope to receive your reply

Hi @qiaocheng110
Yes, you are correct it seems to be comment mistake, by mistake he wrote # y_true_out: (N, grid, grid, anchors, [x, y, w, h, obj, class]) "
but in models.py in yolo loss function you saw there he mention correctly in comments # y_true: (batch_size, grid, grid, anchors, (x1, y1, x2, y2, obj, cls))(line no 269)
https://github.com/zzh8829/yolov3-tf2/blob/master/yolov3_tf2/models.py#L269

you are absolutely correct, comment fixed in https://github.com/zzh8829/yolov3-tf2/commit/c43df87d8582699aea8e9768b4ebe8d7fe1c6b4c#diff-20e8009f04436ea5ad58a6307c31ce34e2874c410631653e987066c4cb16c592


Can't get current login account info

$ cldi account -h
cldi-account
Manage account
USAGE:
cldi account [SUBCOMMAND]
OPTIONS:
-h, --help    Print help information
SUBCOMMANDS:
create    Create an account
delete    Delete an account
export    Export an account
help      Print this message or the help of the given subcommand(s)
import    Import an account
login     Login to use the user's account as default
CLI will use the account has login, but we can't show current log account.

In cloud-cli v0.3.0, we can inspect the current account by checking the current context info.
$ cldi context list
# or
$ cldi ctx l


Rancher UI • Spelling error "namesapce" instead of "namespace" in workoad

Spelling error "namesapce" instead of "namespace" in workoad management (v2.0.4)

Useful
Info

Versions
Rancher v2.0.4 UI: v2.0.53

Access
local admin

Route
workload

Thanks for reporting, this should be fixed in the next version.
https://github.com/rancher/ui/pull/2020


Cursor moving on its own/snapping to specific positions

Regression?
No
System Info and Version
 System/Version info
Hyprland, built from branch  at commit 9a09eac79b85c846e3a865a9078a3f8ff65a9259  (props: bump version to 0.42.0).
Date: Wed Aug 7 19:17:10 2024
Tag: v0.42.0, commits: 5069

flags: (if any)

System Information:
System name: Linux
Node name: archlinux
Release: 6.10.6-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000

GPU information:
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])

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

plugins:

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

Config File: /home/joof/.config/hypr/hyprland.conf: Read Succeeded
# 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
#

exec-once = waybar
exec-once = hyprpaper

env = HYPRCURSOR_THEME,rose-pine-hyprcursor

bind = SUPER SHIFT, H, movewindow, l
bind = SUPER SHIFT, L, movewindow, r
bind = SUPER SHIFT, K, movewindow, u
bind = SUPER SHIFT, J, movewindow, d

bind = SUPER SHIFT, right, resizeactive, 10 0
bind = SUPER SHIFT, left, resizeactive, -10 0
bind = SUPER SHIFT, up, resizeactive, 0 -10
bind = SUPER SHIFT, down, resizeactive, 0 10

bind = ,XF86AudioLowerVolume, exec, pactl -- set-sink-volume 0 -10%
bind = ,XF86AudioRaiseVolume, exec, pactl -- set-sink-volume 0 +10%
bind = ,XF86AudioMute, exec, pactl -- set-sink-mute 0 toggle
bind = ,XF86AudioMicMute, exec, pactl -- set-source-mute 0 toggle
bind = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
bind = ,XF86MonBrightnessUp, exec, brightnessctl s +10%

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

# See https://wiki.hyprland.org/Configuring/Monitors/
# monitor=,1920x1080@60,auto,auto
monitor=,1920x1080@60,auto,auto

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

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

# Set programs that you use
$terminal = kitty
$fileManager = dolphin
$menu = wofi --show drun

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

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

# exec-once = $terminal
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox

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

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

env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24

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

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

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

    border_size = 2

    # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
    col.active_border = rgba(ffffffff)
    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 = dwindle
}

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

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

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

    # https://wiki.hyprland.org/Configuring/Variables/#blur
    blur {
        enabled = true
        size = 3
        passes = 1

        vibrancy = 0.1696
    }
}

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

    # 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 mainMod + 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 = master
}

# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
    force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
    disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
}

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

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
    left_handed = true
    kb_layout = us
    follow_mouse = 1
    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
    force_no_accel = false
    accel_profile = "adaptive" #flat
    natural_scroll = false
    scroll_method = "edge"
    touchpad {
        disable_while_typing = true
    }
}
device {
    name = elan2514:00-04f3:2b05-touchscreen
    enabled = false
}

device {
    name = syna32af:00-06cb:ce17-touchpad
    enabled = false
}

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

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

###################
### KEYBINDINGS ###
###################

# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

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

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

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

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

┌ ⠀  bash⠀  archlinuxjoof⠀                   124ms · 28/08/24 11:01
└[  ]
❯ hyprctl deviecs
unknown request

┌ ⠀  bash⠀  archlinuxjoof⠀                   120ms · 28/08/24 11:01
└[  ]
❯ hyprctl devices
mice:
	Mouse at 5aea11d2cd00:
		syna32af:00-06cb:ce17-mouse
			default speed: 0.00000

Keyboards:
	Keyboard at 5aea11aa0bb0:
		power-button
			rules: r "", m "", l "us", v "", o ""
			active keymap: English (US)
			main: no
	Keyboard at 5aea118bfc60:
		video-bus
			rules: r "", m "", l "us", v "", o ""
			active keymap: English (US)
			main: no
	Keyboard at 5aea112e72a0:
		power-button-1
			rules: r "", m "", l "us", v "", o ""
			active keymap: English (US)
			main: no
	Keyboard at 5aea1174ebb0:
		intel-hid-events
			rules: r "", m "", l "us", v "", o ""
			active keymap: English (US)
			main: no
	Keyboard at 5aea114a1ac0:
		intel-hid-5-button-array
			rules: r "", m "", l "us", v "", o ""
			active keymap: English (US)
			main: no
	Keyboard at 5aea114f7ac0:
		at-translated-set-2-keyboard
			rules: r "", m "", l "us", v "", o ""
			active keymap: English (US)
			main: yes

┌ ⠀  bash⠀  archlinuxjoof⠀                   131ms · 28/08/24 11:10
└[  ]
❯ hyprctl systeminfo -c
Hyprland, built from branch  at commit 9a09eac79b85c846e3a865a9078a3f8ff65a9259  (props: bump version to 0.42.0).
Date: Wed Aug 7 19:17:10 2024
Tag: v0.42.0, commits: 5069

flags: (if any)

System Information:
System name: Linux
Node name: archlinux
Release: 6.10.6-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000

GPU information:
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])

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

plugins:

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

Config File: /home/joof/.config/hypr/hyprland.conf: Read Succeeded
# 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
#

exec-once = waybar
exec-once = hyprpaper

env = HYPRCURSOR_THEME,rose-pine-hyprcursor

bind = SUPER, TAB, workspace, e+1
bind = SUPER SHIFT, TAB, workspace, e-1

bind = SUPER SHIFT, H, movewindow, l
bind = SUPER SHIFT, L, movewindow, r
bind = SUPER SHIFT, K, movewindow, u
bind = SUPER SHIFT, J, movewindow, d

bind = SUPER SHIFT, right, resizeactive, 10 0
bind = SUPER SHIFT, left, resizeactive, -10 0
bind = SUPER SHIFT, up, resizeactive, 0 -10
bind = SUPER SHIFT, down, resizeactive, 0 10

bind = ,XF86AudioLowerVolume, exec, pactl -- set-sink-volume 0 -10%
bind = ,XF86AudioRaiseVolume, exec, pactl -- set-sink-volume 0 +10%
bind = ,XF86AudioMute, exec, pactl -- set-sink-mute 0 toggle
bind = ,XF86AudioMicMute, exec, pactl -- set-source-mute 0 toggle
bind = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
bind = ,XF86MonBrightnessUp, exec, brightnessctl s +10%

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

# See https://wiki.hyprland.org/Configuring/Monitors/
# monitor=,1920x1080@60,auto,auto
monitor=,1920x1080@60,auto,auto

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

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

# Set programs that you use
$terminal = kitty
$fileManager = dolphin
$menu = wofi --show drun

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

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

# exec-once = $terminal
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox

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

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

env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24

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

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

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

    border_size = 2

    # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
    col.active_border = rgba(ffffffff)
    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 = dwindle
}

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

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

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

    # https://wiki.hyprland.org/Configuring/Variables/#blur
    blur {
        enabled = true
        size = 3
        passes = 1

        vibrancy = 0.1696
    }
}

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

    # 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 mainMod + 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 = master
}

# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
    force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
    disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
}

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

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
    left_handed = true
    kb_layout = us
    follow_mouse = 1
    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
    force_no_accel = false
    accel_profile = "adaptive" #flat
    natural_scroll = false
    scroll_method = "edge"
    touchpad {
        disable_while_typing = true
    }
}
device {
    name = elan2514:00-04f3:2b05-touchscreen
    enabled = false
}

device {
    name = elan2514:00-04f3:2b05-stylus
    enabled = false
}

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

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

###################
### KEYBINDINGS ###
###################

# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

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

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

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

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

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

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

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

# Example windowrule v1
# windowrule = float, ^(kitty)$

# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$

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

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

Description
From time to time, my cursor will randomly snap to a specific position(s?) near the bottom of my screen. I suspect this is due to the touchscreen, as I am running on a touchscreen laptop which has had a crack in it for some time. I have also experienced this issue in the past on Windows 11, and I believe I was able to fix it by uninstalling the touchscreen device drivers, although I'm not entirely sure.
I have attempted to do this in hyprland as well via per-device input config, but it didn't work for me.  However, it did work when I disabled syna32af:00-06cb:ce17-mouse. I have not tested whether or not the issue persists when the touchpad is disabled, but I don't believe that this would be the case, as it doesn't happen on Windows 11.
How to reproduce
Steps to reproduce? Use hyprland on a touchscreen laptop with a cracked screen. I dunno.
Crash reports, logs, images, videos
No response

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

reported

have you tried disabling cursor warps?

have you tried disabling cursor warps?

have you tried disabling cursor warps?

I have fully identified the problem: I have an NVIDIA 1650 Ti and an Intel Core i7 with an integrated Intel GPU that is directly connected to the laptop’s internal display. In my Hyprland configuration, I set the parameter env = AQ_DRM_DEVICES, /dev/dri/card0:/dev/dri/card1 for the iGPU. This means that the system uses NVIDIA, and if it can’t use it, it falls back to Intel. With these settings, the external monitor displays a smooth picture since it is using NVIDIA, but the internal monitor doesn’t show anything because it is directly connected to Intel.
Now, the most important question is: how do I configure this so that the internal monitor uses Intel to display the picture, the external monitor uses NVIDIA, and all complex processes are also handled by NVIDIA?

you can't, we don't support that.

and all complex processes are also handled by NVIDIA?

you can launch your games with the dgpu, but hyprland has to be run on only one.
NVIDIA backfeeding (dgpu -> igpu-driven display) is not possible due to how nvidia's cards are designed physically.
Closing, we don't support split rendering, and neither does anyone else afaik.
if you wanna get rid of the igpu completely, you might have some luck in the bios if your laptop has a MUX switch

you can't, we don't support that.

and all complex processes are also handled by NVIDIA?

you can launch your games with the dgpu, but hyprland has to be run on only one.
NVIDIA backfeeding (dgpu -> igpu-driven display) is not possible due to how nvidia's cards are designed physically.
Closing, we don't support split rendering, and neither does anyone else afaik.
if you wanna get rid of the igpu completely, you might have some luck in the bios if your laptop has a MUX switch

okay got you, so how can I handle it then? Like there is no way to make it work right?

you can't, we don't support that.

and all complex processes are also handled by NVIDIA?

you can launch your games with the dgpu, but hyprland has to be run on only one.
NVIDIA backfeeding (dgpu -> igpu-driven display) is not possible due to how nvidia's cards are designed physically.
Closing, we don't support split rendering, and neither does anyone else afaik.
if you wanna get rid of the igpu completely, you might have some luck in the bios if your laptop has a MUX switch
like if there is way disable it not in BIOS, because i simply don't have this option

you can't, we don't support that.

and all complex processes are also handled by NVIDIA?

you can launch your games with the dgpu, but hyprland has to be run on only one.
NVIDIA backfeeding (dgpu -> igpu-driven display) is not possible due to how nvidia's cards are designed physically.
Closing, we don't support split rendering, and neither does anyone else afaik.
if you wanna get rid of the igpu completely, you might have some luck in the bios if your laptop has a MUX switch

I replayed you on wrong conversations by mistake, you closed the wrong one

Like there is no way to make it work right?

Correct. I'm not sure how KDE or Gnome handle their rendering, but neither wlroots nor aq/hyprland support split rendering. You might try KDE and Gnome and see if they have better performance.

how it's work on others OS then

they are closed source, we don't know.

This didn't resolve the issue, unfortunately. I'm going to try disabling the touchpad for a bit and see if the issue is actually hardware related, then report back here later. Thanks for your response.

Disabling the trackpad didn't to seem make much of a difference. Albeit, I've noticed the snapping happen less frequently, but not after the config changes.

can you try latest git from today

Sure. Should I follow the steps from the website for manual build? Also, I installed through archinstaller, so I don't know which method was used for the initial hyprland installation.

if you are on arch you can use aur's hyprland-git

Hello, apologies for the delayed response. I have reinstalled hyprland using the command yay -S hyprland-git without making any changes to my own config, and I have not noticed any changes in the behaviour. The problem seems to be persisting.


Pasting into PowerShell running in Windows Terminal drops Unicode characters

Environment
Windows build number: 10.0.18363.1256
Windows Terminal version (if applicable): 1.4.3243.0
PowerShell 7.1.1
Windows PowerShell 5.1
PSReadLine 2.2.0 beta1

Steps to reproduce

Put the following string on the clipboard: C:\tmp\Captures d’écran where the ’ is U+2019

(Verify  as follows:
PS> $p=(Get-ClipboardText); for($i=0;$i -lt $p.Length; $i++) { '{0} {1:x4}' -f $p[$i], [int]($p[$i]) }
C 0043
: 003a
\ 005c
t 0074
m 006d
p 0070
\ 005c
C 0043
a 0061
p 0070
t 0074
u 0075
r 0072
e 0065
s 0073
  0020
d 0064
’ 2019
é 00e9
c 0063
r 0072
a 0061
n 006e

)

Create a folder with this name e.g. using mkdir -Force (Get-ClipboardText) in PowerShell.
In a PowerShell 7.1.1 or Windows PowerShell 5.1 session, type gci " followed by Ctrl+V followed by " followed by Enter.

Expected behavior
Whether PowerShell runs standalone or within Windows Terminal, this should work and show the contents of the C:\tmp\Captures d’écran folder.
Actual behavior
If PowerShell runs within Windows Terminal, the paste action drops the U+2019 character, resulting in an error:
PS> gci "C:\tmp\Captures décran"
Get-ChildItem: Cannot find path 'C:\tmp\Captures décran' because it does not exist.

The paste action works fine in a CMD prompt running within Windows Terminal.
Could that be the result of an interaction / incompatibility between PSReadLine and Windows Terminal?

May be a duplicate of https://github.com/PowerShell/PSReadLine/issues/1603. The workaround would be to remove the Ctrl+V key binding from settings.json of Windows Terminal so that WT passes the key combination to PowerShell, where PSReadLine then implements the paste feature correctly.

May be a duplicate of https://github.com/PowerShell/PSReadLine/issues/1603. The workaround would be to remove the Ctrl+V key binding from settings.json of Windows Terminal so that WT passes the key combination to PowerShell, where PSReadLine then implements the paste feature correctly.

I confirm removing the Ctrl+V binding from settings.json and then using Ctrl+V to paste causes the pasting to be correct.
But won't this affect other (non-PowerShell/PSReadLine) scenarios?
And this doesn't "fix" pasting with Shift+Ins or right mouse-click.

I confirm removing the Ctrl+V binding from settings.json and then using Ctrl+V to paste causes the pasting to be correct.
But won't this affect other (non-PowerShell/PSReadLine) scenarios?
And this doesn't "fix" pasting with Shift+Ins or right mouse-click.

But won't this affect other (non-PowerShell/PSReadLine) scenarios?

Yes, it will. You can then use Ctrl+V to paste to PSReadLine, and Shift+Insert or Ctrl+Shift+V to paste to other software.
I guess another workaround would be to uninstall PSReadLine until https://github.com/PowerShell/PSReadLine/issues/1603 is fixed.

But won't this affect other (non-PowerShell/PSReadLine) scenarios?

Yes, it will. You can then use Ctrl+V to paste to PSReadLine, and Shift+Insert or Ctrl+Shift+V to paste to other software.
I guess another workaround would be to uninstall PSReadLine until https://github.com/PowerShell/PSReadLine/issues/1603 is fixed.

(I'm gonna resolve this as a dup of the upstream issue, but feel free to continue the conversation. Thanks!)

(I'm gonna resolve this as a dup of the upstream issue, but feel free to continue the conversation. Thanks!)

But won't this affect other (non-PowerShell/PSReadLine) scenarios?

Yes, it will. You can then use Ctrl+V to paste to PSReadLine, and Shift+Insert or Ctrl+Shift+V to paste to other software.
I guess another workaround would be to uninstall PSReadLine until PowerShell/PSReadLine#1603 is fixed.

Unininstalling PSReadLine? That would be cutting my right arm! 😆

But won't this affect other (non-PowerShell/PSReadLine) scenarios?

Yes, it will. You can then use Ctrl+V to paste to PSReadLine, and Shift+Insert or Ctrl+Shift+V to paste to other software.
I guess another workaround would be to uninstall PSReadLine until PowerShell/PSReadLine#1603 is fixed.

Unininstalling PSReadLine? That would be cutting my right arm! 😆


Steps to try this Flask Webapp

Hey,
Can you create a file which will just walk us through how to try this app locally?

Hi,
Just added instructions to README.md. This should do it.

Are you sure older version of tensorflow works correctly? I got this error:
ImportError: No module named 'tensorflow.contrib.rnn.python.ops.core_rnn'

TensorFlow version 0.11 worked for me in both Mac OS X El Capitan and Ubuntu 16.04.2 LTS.
TensorFlow 1.0 is now out, so you could try that. They do say the APIs have changed in ways that are not all backwards compatible, though. You could also drop TFLearn and try TensorFlow directly.

That was fixed when I upgraded tensorflow, but what I observed is that I had to first train the model and then run:
python digitre/digitre.py
If I try to the above command directly according to your README, then it throws an error:
NotFoundError (see above for traceback): Tensor name "Adam/Total_Loss/moving_avg" not found in checkpoint files /Users/shantanudeshpande/thefuck/digitre/digitre/cnn.tflearn
	 [[Node: save_1/RestoreV2_1 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save_1/Const_0, save_1/RestoreV2_1/tensor_names, save_1/RestoreV2_1/shape_and_slices)]]

I see. This has worked for me in two machines running Mac OS X and two running Ubuntu, so I believe these instructions are accurate.
So you have it working now, after having retrained the model?

I tried this on MacOS. Now I have it working. I think maybe it was not able to find the classifier cnn.tflearn.

Ok, happy to hear. I will close the issue, then.

Hey, whats this error:
File "/usr/local/lib/python3.4/dist-packages/tflearn/layers/conv.py", line 75, in
W_regul = lambda x: losses.get(regularizer)(x, weight_decay)
File "/usr/local/lib/python3.4/dist-packages/tflearn/losses.py", line 29, in L2
return tf.mul(tf.nn.l2_loss(tensor), wd, name='L2-Loss')
AttributeError: 'module' object has no attribute 'mul'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "digitre_model.py", line 199, in
main()
File "digitre_model.py", line 158, in main
model = build()
File "digitre_model.py", line 79, in build
cnn = conv_2d(cnn, 32, 5, activation='relu', regularizer="L2")
File "/usr/local/lib/python3.4/dist-packages/tflearn/layers/conv.py", line 78, in conv_2d
trainable=trainable, restore=restore)
File "/usr/local/lib/python3.4/dist-packages/tflearn/variables.py", line 54, in variable
collections=collections)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/ops/variable_scope.py", line 988, in get_variable
custom_getter=custom_getter)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/ops/variable_scope.py", line 890, in get_variable
custom_getter=custom_getter)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/ops/variable_scope.py", line 348, in get_variable
validate_shape=validate_shape)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/ops/variable_scope.py", line 333, in _true_getter
caching_device=caching_device, validate_shape=validate_shape)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/ops/variable_scope.py", line 639, in _get_single_variable
name, "".join(traceback.format_list(tb))))
ValueError: Variable Conv2D/W already exists, disallowed. Did you mean to set reuse=True in VarScope? Originally defined at:
File "/usr/local/lib/python3.4/dist-packages/tflearn/variables.py", line 48, in variable
collections=collections)
File "/usr/local/lib/python3.4/dist-packages/tflearn/layers/conv.py", line 78, in conv_2d
trainable=trainable, restore=restore)
File "digitre_model.py", line 79, in build
cnn = conv_2d(cnn, 32, 5, activation='relu', regularizer="L2")


Spec for calling functions with a function

How to call a different function, with parameters
calcFahrenheit:
  - logic:
    - a : = temp_celsius
      - i: 7

Becomes something like:
def calcFahrenheit():
  a = temp_celsius(i = 7)

Order matters for languages without named arguments.

That's not value YAML. You'd need something more like:
- logic:
  - a:
    - temp_celcius:
      - i: 7

This will be useful for BMP280, as you'll be able to grab raw temperature in one function to use in Celcius and then in Fahrenheit.

logic:
  - a: '#/functions/temperature/ascelsius`

Can become
a = temperature_ascelsius()

But the use of parameters in a function is not supported yet


Request: typescript

Hi
Have you ever considered migrating to typescript  ? I encounter issues trying :).

@ArThoX potentially in the future. right now the platform coverage and build system takes the priority lane. I'll keep this open to see if more people are interested!

+1!

+1

+1

+1

+1

+1 please!

+1!

a small little update, we started migrating our source code to TS so it's coming

That's a good news!

Closing as issue was resolved


admin: Certain clusters/listeners objects in config_dump don't give @type field when they are of Any type

admin: Certain clusters/listeners objects in config_dump don't give @type field when they are of Any type
Description:
I am trying to marshal the output of /config_dump back to its proto object, but the marshaling fails because  StaticListener, DynamicListenerState, DynamicCluster and StaticCluster messages contain a nested Any type but config_dump doesn't produce a @type field for these nested proto messages.
Here is the output of the /config_dump with just static config and the latest envoy image from docker (v14.4):

Static Listener Dump
Static Cluster Dump

This is the output of /config_dump with the Istio's BookInfo example to show the DynamicCluster and DynamicListenerState case:

Dynamic Cluster
Dynamic Listener

Note that these objects are of Any type but do not have a @type field.
My guess is that this is an issue with the proto marshaling code vs what is admin code is doing, but Harvey suggested to make an issue anyway.
cc @htuch

I wonder if it's somehow being lost around https://github.com/envoyproxy/envoy/blob/master/source/server/admin/admin.cc#L640, i.e. in the JSON rendering. Is it reasonable to add an ENVOY_LOG and dump out dump.DebugString() as well as the JSON after conversion?

Sure, I can try to get that.

Okay, so I added these logs line in the admin code:
  ENVOY_LOG(info, dump.DebugString());
  response_headers.setReferenceContentType(Http::Headers::get().ContentTypeValues.Json);
  const auto jsonString = MessageUtil::getJsonStringFromMessage(dump, true);
  response.add(jsonString); // pretty-print
  ENVOY_LOG(info, jsonString);

And it does look like the dump does contain the type information.
        clusters {
          name: "accounts"
          type: STATIC
          connect_timeout {
            nanos: 250000000
          }
          dns_lookup_family: V4_ONLY
          load_assignment {
            cluster_name: "accounts"
            endpoints {
              lb_endpoints {
                endpoint {
                  address {
                    socket_address {
                      address: "<IP_ADDRESS>"
                      port_value: 8081
                    }
                  }
                }
              }
            }
          }
          183412668: "envoy.api.v2.Cluster"
        }

But the json output does not:
"static_clusters": [
    {
     "cluster": {
      "@type": "type.googleapis.com/envoy.api.v2.Cluster",
      "name": "accounts",
      "type": "STATIC",
      "connect_timeout": "0.250s",
      "dns_lookup_family": "V4_ONLY",
      "load_assignment": {
       "cluster_name": "accounts",
       "endpoints": [
        {
         "lb_endpoints": [
          {
           "endpoint": {
            "address": {
             "socket_address": {
              "address": "<IP_ADDRESS>",
              "port_value": 8081
             }
            }
           }
          }
         ]
        }
       ]
      }
     },
     "last_updated": "2020-08-19T00:01:52.850Z"
    }
   ]
  }

I turned off pretty print and that didn't help.
{"listeners":[{"name":"ingress_http","address":{"socket_address":{"address":"<IP_ADDRESS>","port_value":80}},"filter_chains":[{"filters":[{"name":"envoy.filters.network.http_connection_manager","typed_config":{"@type":"type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager","stat_prefix":"ingress_http","route_config":{"virtual_hosts":[{"name":"default","domains":["*"],"routes":[{"match":{"prefix":"/accounts"},"route":{"cluster":"accounts","idle_timeout":"15s"}}]}]},"http2_protocol_options":{"max_concurrent_streams":100,"initial_stream_window_size":65536,"initial_connection_window_size":1048576},"use_remote_address":true,"stream_idle_timeout":"300s","request_timeout":"300s","common_http_protocol_options":{"idle_timeout":"3600s","headers_with_underscores_action":"REJECT_REQUEST"}}}]}]}],"clusters":[{"name":"accounts","type":"STATIC","connect_timeout":"0.250s","dns_lookup_family":"V4_ONLY","load_assignment":{"cluster_name":"accounts","endpoints":[{"lb_endpoints":[{"endpoint":{"address":{"socket_address":{"address":"<IP_ADDRESS>","port_value":8081}}}}]}]}}]}

@lita @htuch do you think having an option to return proto text format (instead of JSON) will be helpful here?

I'm not sure but seems like the part you have highlighted in https://github.com/envoyproxy/envoy/issues/12674#issuecomment-675786843 is part or BootstrapConfigDump, i.e. BootstrapConfigDump.bootstrap, which has config.bootstrap.v3.Bootstrap type where the static_resources.listeners[*] type is "unwrapped" listener.v3.Listener, not an Any.
The Any part of that listener will be here. Enclosed in this object with envoy.admin.v3.ListenersConfigDump as its type.

Ah yeah, my bad @dio. It looks like I was looking in the wrong field. Seems like this is not a problem with vanilla envoy. Let me try upgrading the istio and seeing if it is a problem there.

I can see that when running istio/proxyv2:1.4.9 which is envoyproxy/envoy v1.12.x. Looking at the proto at that time: https://github.com/envoyproxy/envoy/blob/a624dee970f41f1c4030d6d5c368692b30417aca/api/envoy/admin/v2alpha/config_dump.proto#L109 it is "unwrapped" api.v2.Cluster.

Ohh I see. My bad. So I just need to use the older proto objects and use jsonpb. My bad. Thanks @dio for pointing this out. Ended up being an issue with version mismatch.


I am having this issue while trying to run the demo/viz.py

model_path = sorted(glob.glob(os.path.join(args.previous_dir, '*.pth')))[0]
IndexError: list index out of range

Any solutions for this?

How did you solve this problem please？

You should check that the pretrained model is in the './checkpoint/pretrained' directory.


Realm outgoing network data

I understand that per:
https://github.com/realm/realm-cocoa/blob/master/Realm/RLMAnalytics.mm#L19-L53
when conditions are meet (simulator, debugger is attached) Realm will emit analytics data to mixpanel
When environment variable REALM_DISABLE_ANALYTICS is set, by the code no analytic data will be sent, and this is true, there will be no outgoing connection to mixpanel
But now there is new outgoing connection to academy.realm.io on port 443
What is purpose of this connection if not analytics ?
ios 9.0
Realm Swift 2.9.1

@pokerman79 We don't send network requests to academy.realm.io, probably static.realm.io?
We check whether it is the latest version or not if Realm is running on simulators.
Https://github.com/realm/realm-cocoa/blob/216333cf82e1afcba5e6c4547e6fb983165d510f/Realm/RLMUpdateChecker.mm#L28-L48
This request just get a version number. User data is not sent. If you also want to stop this network connection, set REALM_DISABLE_UPDATE_CHECKER environment variable.


Add string and array restrictions on Medical Events posts

[ ] String length restrictions
[ ]  Array restriction

Duplicates #3242


[feature request]navigate through all files

visual studio 2019:
1.open file1 and Setbookmark1 in line 1.
2.open file2, using shortcut "ctrl+1" and Gotobookmark1 setting in file1.

+1, this would be very handy!
I use Numbered Bookmarks on Visual Studio Code where the bookmarks lead you to any file, this way I dont have first to find the file so then I can press ctrl+digit.
PS. btw in Intellij the bookmarks are also accessible across all files.


Is it possible to add a new idl with auto-generated .h and .cpp file associated with the idl file

Hi,
I tried to add a new idl file but I found that the .h and .cpp file will not be generated automatically.
After adding the .h and .cpp files manually, they were not associated with the idl file like the Class.idl, Class.h and Class.h in the C++/WinRT project template.
I had to edit .vcxproj file to add the DependentUpon property for .h and .cpp file manually and then they were associated with the idl file.
Is there a way to do this automatically?

This was a bug in Visual Studio 2019 Update 5 and should be fixed in Update 6.

@jlaanstra Hi, I have installed the Visual Studio 16.6, but have been faced the same problem. What is Update 6?

I'm not sure if I'm understanding the issue here, but h and cpp files are not automatically associated with their corresponding IDL files - this has been the case any time I have tried C++/WinRT, which would be back 2020, and now in 2021.
UWP Community Discord was very helpful in explaining that the way I get correct file association is by utilizing the C++ item template:
ViewModel (C++/WinRT)
An empty interface definition suitable for XAML data binding, for a C++/WinRT UWP app.
Note that I would never in a million years think that this is the right item to use. I'm not using Xaml, I'm not doing data-binding, I'm not using a UI framework or a ViewModel pattern. How am I meant to read that and think 'that's what I use to make WinRT Component class?
And back to the main issue, neither allowing the source generator, nor manually adding source files give the correct file association. That ViewModel template did.
That means the documentation on creating runtime components is incorrect. And the obvious way to make a runtime component (manually creating IDL, H & CPP files) doesn't correctly configure the file association the project file. I don't care for the technique of using build to generate the source files - you can through that whole idea away as far as I'm concerned.


large print operations lock up UI

Probably related #3000
When printing a large object (e.g. a large dataframe) the standard R console typically truncates the number of lines that printed. RTools does this too, but it seems like it processes every line that could be printed before truncating according to the R console. Any chance that Rtools can do this truncation before processing every line? Alternatively, is there a way to cancel the operation?
example code:
seq(1, 1e4)

You can see the line counter in the status bar chugging along as it prepares to print to the console.

We don't process it in a way that could deviate from how R does it - we just hook up to R printing callbacks, and print when it tells us to. So it's likely that this is just another manifestation of #3000, as you pointed out - i.e. it's just that there are so many individual print operations (R invokes the print callback once per element, not once per line), that the result is so slow in the absence of batching.


[Bug] the dataset is not auto downloaded.

When I run  NPROC_PER_NODE=8 xtuner train llama2_7b_qlora_moss_sft_all_e2_gpu8, the dataset is not auto downloaded.
I need to mkdir ./data/ and down load dataset moss-003-sft-no-tools.jsonl by hand.

Hi @amulil , you are right!
Because using dataset = load_dataset("fnlp/moss-003-sft-data") directly will result in an error, download MOSS-003-SFT dataset by hands is required
Related commands can be found on docs.


Split ValueDescriptorRestClient's URL property into host and port then hidden the URI path to user

like support/notification-client
cc @tsconn23 and @drasko
claim it~

This will be addressed with work that's being done on #182.


Added ConfigMap and Secret node edges to Pod in resource viewer

For reasons described in #363, representation of configmaps may not necessarily be accurate. This does not apply to secrets as mounted secrets are updated automatically.
Signed-off-by: GuessWhoSamFoo<EMAIL_ADDRESS>

This looks good, do you mind adding some /examples YAML for this?


4chan not ripping on 12-19-16

4chan not ripping on 12-19-16 , anyone else?

For now, assuming this is a duplicate of #362.
Please reply with a URL which demonstrates the problem and more info about what is happening and what you expect to happen. Thanks!

Confirmed this is the same issue. Closing as duplicate.

Fixed in 034f7ee1811eb7da7a96015d8a5390c79a876d64


Element in cuckoo filter may lose when inserting after the filter is full

The Insert method in cuckoofilter behave unexpected when the filter is full. In general, insert method should return true when it can store the element, and return false when it can't store. But when the cuckoo filter is full, insert method will store the element, and withdraw a random one inside filter while returning false.
I make a simple test about this:
func TestExhausted(t *testing.T){
	ckflter := seiflotfy_filter.NewFilter(10000)
	var cached [maxNumForBenchmark]bool
	elementList := make([]int,0)
	var lastElement int

	isFinish := false
	for !isFinish{
		randNum := rand.Intn(maxNumForBenchmark)
		for cached[randNum]{
			randNum = rand.Intn(maxNumForBenchmark)
		}

		finish := ckflter.Insert([]byte(strconv.Itoa(randNum)))
		if !finish{
			t.Logf("Last element is %v",randNum)
			lastElement = randNum
			isFinish = true
			break
		}else{
			cached[randNum] = true
			elementList = append(elementList,randNum)
		}
	}

	for i:=0;i<len(elementList);i++{
		isInside := ckflter.Lookup([]byte(strconv.Itoa(elementList[i])))
		if !isInside{
			t.Errorf("%v should inside but not",elementList[i])
		}
	}
	isInside := ckflter.Lookup([]byte(strconv.Itoa(lastElement)))
	t.Logf("%v should not inside but got %v",lastElement,isInside)
}

The output of code above is
=== RUN   TestExhausted
--- FAIL: TestExhausted (0.00s)
    standardCuckooFilter_test.go:308: Last element is 1776
    standardCuckooFilter_test.go:321: 16055 should inside but not
    standardCuckooFilter_test.go:325: 1776 should not inside but got true
FAIL

Process finished with exit code 1

My solution of this is adding a backup array for all buckets in cuckoo filter, and recover when insertion failure. But this costs a lot when insertion doesn't fail.

You could try to set up a filter ring.
If a filter is full, turn into the next one.
Before turning into the next one, clear it all.
That will save many costs.


fix issue when firstNode is the same as lastNode

closes #12 for me
I would an acceptance test for this bugfix but the test only fails if ember 1.13 is installed, and if I bump ember to 1.13 in the addon a few other tests fail as well so without fixing them I couldn't really test it.

@piotrpalek thanks, I will merge when Travis is green.

np :)


No results found for 'április' in lowercase

Description
I was looking for a word április in a PHP document. No result found, but I know there is, but it's in uppercase: Április. Atom wasn't able to find it.
Match Case was not enabled.
Steps to Reproduce

create a document with április and Április words in it
search for április
only 1 result found, the lowercase version

Expected behavior: find the uppercase version of április as well
Actual behavior: only the lowercase version was found
Reproduces how often: 100%
Versions
v1.25.0
Additional Information
Április is a hungarian word for April.

This issue was moved to atom/superstring#56

Moved based on some comments from the other maintainers, thanks for the report!


Azure Batch: "Consumes" ignored when generating go code. Service calls fail

I'm currently working with the azure batch provider. The API requires a content-type of application/json; odata=minimalmetadata as defined here via consumes but the generated go code here doesn't take this into account and instead uses the AsJson perparer which sets application/json.
I was going to add this as an issue on autorest but the readme directed me here as issues are turned off.
Currently I've worked around this by adding a RequestInspector which overwrites the content-type so not urgent on my part:
	jobClient := batch.NewJobClientWithBaseURI(getBatchBaseUrl(batchConfig))
	jobClient.RequestInspector = LogRequest()

....

func LogRequest() autorest.PrepareDecorator {
	return func(p autorest.Preparer) autorest.Preparer {
		return autorest.PreparerFunc(func(r *http.Request) (*http.Request, error) {
			r.Header.Set("Content-Type", "application/json; odata=minimalmetadata")
			dump, _ := httputil.DumpRequestOut(r, true)
			log.Println(string(dump))
			return r, nil
		})
	}
}

Awesome, thanks. Should I download the latest generator and regenerate the service files then submit as a PR?
Sent with GitHawk

You certainly can however we'll have a refresh of the SDK later this month that will include this fix.

Fixed in https://github.com/Azure/azure-sdk-for-go/releases/tag/v15.0.0


MySQL: Support SSL with system certificate store

As described in https://github.com/prisma/prisma/issues/8697 there is currently no way to use a MySQL database via SSL with a certificate validation via system certificate store.
After a longer internal discussion, we concluded the following change to have the least existing user impact and still giving a great user experience for that use case:

Add a magic string sslcert=system that only enables SSL, but does not set a certificate location internally. This will trigger cert validation from the system store as PlanetScale requires it. (If we ever clean up the API completely, we can easily keep this special string working.)
We fix sslaccept to trigger SSL for MySQL as well, so just supplying sslaccept=strict would also work for a certificate that should be strictly enforced (vs. our default of accepting any)

Both changes need to be implemented in Quaint.
This can partially build on top of https://github.com/prisma/quaint/pull/312/files (see comments).

Add a magic string sslcert=system that only enables SSL, but does not set a certificate location internally.

In which cases is this option useful / needed? I think adding this is only confusing and not needed in any case where it makes sense as an argument?
The default setup if sslaccept is provided is ssl_opts.with_danger_accept_invalid_certs. This means that any certificate will be accepted already. This means that that the sslcert=system is a very confusing way to enable SSL, because no certificate is actually used so the setting seems irrelevant looking at the explicit name and the value it sets.

2. We fix sslaccept to trigger SSL for MySQL as well, so just supplying sslaccept=strict would also work for a certificate that should be strictly enforced (vs. our default of accepting any)

I think only this and not doing the other option makes much more sense as the simplest solution here. Anyone who wants SSL with no validation can set sslaccept=accept_invalid_certs which conveys imho the meaning of the option much more than sslcert=system.
For those that do want SSL validation, sslaccept=strict would then be enough to add.

This means that that the sslcert=system is a very confusing way to enable SSL, because no certificate is actually used so the setting seems irrelevant looking at the explicit name and the value it sets.

I think this is also actively harmful for security. If I see sslcert=system I'd expect my certificates to be validated agains the system roots, but that's not the behavior that happens if no sslaccept is provided. That seems very surprising and makes it less secure for people. Only changing sslaccept seems like a more clear and explicit change.

This will trigger cert validation from the system store as PlanetScale requires it.

This part isn't needed, since the driver already uses system roots by default if nothing is specified. So no option is needed at all to use the system roots (and as mentioned above, I think it's harmful for security as it's confusing and doesn't do what the option would seem to imply).
I have updated https://github.com/prisma/quaint/pull/312 to include the simplest possible change, only adding the use_ssl change when sslaccept is set. I think that's the best path forward here to be honest with the smallest possible change that also should not break any existing users.


apk not installable after recompiling

Hello,
I tried to decompile and recompile an application.
After Recompiling it is not possible to install the application (except on NOX emulator with Android 5). But on all other emulators or tablets it is not possible to install the application. I tried it with aptool 2.40 and 2.41.
apktool d -r myApp.apk
I: Using Apktool 2.4.1 on myApp.apk
I: Copying raw resources...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Copying META-INF/services directory
apktool b -o myApp_recompiled.apk ./myApp
I: Using Apktool 2.4.1
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether resources has changed...
I: Copying raw resources...
I: Copying libs... (/lib)
I: Copying libs... (/kotlin)
I: Copying libs... (/META-INF/services)
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
user@PC:~/$
Thanks.

Could you please provide the APK with this issue? Thanks.

https://easyupload.io/0xp7ql
MD5: 4FDBDAF5932CE8F838C37003CD828908

Logcat:
E NativeLibraryHelper: Library 'libgdx.so' is not page-aligned - will not be able to open it directly from apk.
W NativeHelper: Failure copying native libraries [errorCode=-2]
E PackageInstallerSession: Commit of session 127192669 failed: Failed to extract native libraries, res=-2

I think there is already an issue talking about this.

After rebuilding, try to zipalign it using this command: zipalign -p -f 4 input.apk output.apk
It should work now.

Thanks, now it works.
Is there any general tool which can analyze the original apk file that I know if I have to use zipalign after recompiling?

With extractNativeLibraries set to false you must zipalign the APK after rebuilding it.
I think it's necessary to use the -p option with natives libraries. Correct me if I'm wrong.
You can read more about it here: https://developer.android.com/studio/command-line/zipalign

Thanks @giacomoferretti.
Looks like resolved as requiring zip-aligning.

WAY TO SIGN APPS RECOMPILED

sudo apt -y install zipalign
zipalign -p -f 4 input.apk output.apk
keytool -genkey -v -keystore ~/upload-keystore.jks -keyalg RSA \ -keysize 2048 -validity 10000 -alias upload
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.jks my_application.apk alias_name
AND DONE


Add CircularBuffer and CircularBufferAgent

These commits include a non-thread safe CircularBuffer and an agent-based CircularBufferAgent.

I found an issue with the current implementation. I have added a TryDequeue to the CircularBuffer to allow it to gracefully fail. CircularBufferAgent needs some way to pause dequeueing until enough data is available to satisfy the next Dequeue message.


ext_authz: add dynamic_metadata_matchers and use them in the ext_authz HTTP implementation

Adds support for emitting dynamic metadata when using an HTTP authorization service. This is already possible when using a gRPC authorization service, so this change just connects the pipes on the HTTP side.
Commit Message: ext_authz: add dynamic_metadata_matchers and use them in the ext_authz HTTP implementation
Additional Description:
Risk Level: Low
Testing: New unit test
Docs Changes: Added documentation to API protos, similar to sibling fields.
Release Notes: ext_authz: added :ref:dynamic_metadata_from_headers <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.AuthorizationResponse.dynamic_metadata_from_headers> to support emitting dynamic metadata from headers returned by an external authorization service via HTTP.
Fixes #14622

/lgtm api

/lgtm api

/retest

@dio can you do a first pass of review?

@dio I addressed the code review feedback and I think this should be ready to go now.

@lizan friendly poke to take a pass and provide an API approval


Snapshot item

Closes #193.
Straightforward impl adapting from SnapshotMap. Created a Snapshot abstr, and used it in SnapshotItem and SnaphotMap.
Still need to review / validate tests.

I'm doing a deeper dig through the code now. The diffs don't help, I need to check it out.
The first comment is with snapshot.rs, snapshot_map.rs and snapshot_item.rs, maybe they deserve a submodule. This package is growing and could use some structure. Like snapshot and below that mod.rs map.rs and item.rs. And then re-exported on the top level.
Maybe index code could also be grouped like this as well, but that is a different PR.

I just checked out the code and read it. It looked good. No need to break it up.
Just saw these 2 non-trivial methods I figured could move into snapshot, then they all look great.
Moving the files and even adding more unit tests could be done in a separate PR. Happy to have this.

Please take a look. I would merge  this as it is, and then do a follow-up with the paths refactoring, and adding some Snapshot tests.


MethodError when getting harmonic equations

I've been trying to run the function get_harmonic_equations() to solve a set of coupled differential equations that includes a defined function for a summation involving trigonometric functions. However, when I attempt to run it, I encounter a MethodError. In contrast, when I use a simpler expression for the function, it works without any issues. What does this MethodError mean? Thanks!

Can you share a MWE (Minimal working example)?

Sure, this is some of the equation I have
-d(ar, t) + (Dc - U0*B(cor, coi, cpr, cpi, cqr, cqi, A, x, y))*ai - k*ar - np/2*(cpr*cor+cpi*coi)
where
function B(cor, coi, cpr, cpi, cqr, cqi, A, x, y)
    Bunc = 0
    for i in x
        for j in y
            Bunc += ((cor^2+coi^2)*1/A + (cpr^2+cpi^2)*4/A*sin(2*pi*i)^2*cos(2*pi*(cos(pi/3)*i+sin(pi/3)*j))^2 + (cqr^2+cqi^2)*4/A*cos(2*pi*i)^2*cos(2*pi*(cos(pi/3)*i+sin(pi/3)*j))^2
            +2*(cpr*cor+cpi*coi)*2/A*sin(2*pi*i)*cos(2*pi*(cos(pi/3)*i+sin(pi/3)*j))+2*(cqr*cor+cqi*coi)*2/A*cos(2*pi*i)*cos(2*pi*(cos(pi/3)*i+sin(pi/3)*j))+2*(cpr*cqr+cpi*cqi)*4/A*sin(2*pi*i)*cos(2*pi*i)*cos(2*pi*(cos(pi/3)*i+sin(pi/3)*j))^2)*cos(2*pi*(cos(pi/3)*i+sin(pi/3)*j))^2
        end
    end
    return Bunc
end

This would give me the MethodError. However, if I define B as something else like
function B(cor, coi, cpr, cpi, cqr, cqi, A, x, y)
    Bunc = 0
    for i in x
        for j in y
            Bunc += cos(2*pi*(cos(pi/3)*i+sin(pi/3)*j))^2*(cor+cqi*cpr^2)
        end
    end
    return Bunc
end

Then it would work.

Can you give me a complete example that I can run on my own computer :)

Something like this
@variables t ar(t) ai(t) cor(t) coi(t) cqr(t) cqi(t) cpr(t) cpi(t) Dc k np nq U0 wq wp V0 hbar w A x y;
function B(cor, coi, cpr, cpi, cqr, cqi, A, x, y)
    Bunc = 0
    for i in x
        for j in y
            Bunc += ((cor^2+coi^2)*1/A + (cpr^2+cpi^2)*4/A*sin(2*pi*i)^2*cos(2*pi*(cos(pi/3)*i+sin(pi/3)*j))^2 + (cqr^2+cqi^2)*4/A*cos(2*pi*i)^2*cos(2*pi*(cos(pi/3)*i+sin(pi/3)*j))^2
            +2*(cpr*cor+cpi*coi)*2/A*sin(2*pi*i)*cos(2*pi*(cos(pi/3)*i+sin(pi/3)*j))+2*(cqr*cor+cqi*coi)*2/A*cos(2*pi*i)*cos(2*pi*(cos(pi/3)*i+sin(pi/3)*j))+2*(cpr*cqr+cpi*cqi)*4/A*sin(2*pi*i)*cos(2*pi*i)*cos(2*pi*(cos(pi/3)*i+sin(pi/3)*j))^2)*cos(2*pi*(cos(pi/3)*i+sin(pi/3)*j))^2
        end
    end
    return Bunc
end

eqs = [
-d(ar, t) + (Dc - U0*B(cor, coi, cpr, cpi, cqr, cqi, A, x, y))*ai - k*ar - np/2*(cpr*cor+cpi*coi),
-d(ai, t) - (Dc - U0*B(cor, coi, cpr, cpi, cqr, cqi, A, x, y))*ar - k*ai +nq/2*(cqr*cor+coi*cqi),
-d(cor, t) - nq/2*ar*cqi - np/2*ai*cpi,
-d(coi, t) + nq/2*ar*cqr + np/2*ai*cpr,
-d(cqr, t)  - nq/2*ar*coi - 3*U0/4*(ar^2+ai^2)*cqi,
-d(cqi, t)  + nq/2*ar*cor + 3*U0/4*(ar^2+ai^2)*cqr,
-d(cpr, t)  - np/2*ai*coi - 3*U0/4*(ar^2+ai^2)*cpi,
-d(cpi, t)  + np/2*ai*cor + 3*U0/4*(ar^2+ai^2)*cpr
]

diff_eq = DifferentialEquation(eqs, [ar, ai, cor, coi, cqr, cqi, cpr, cpi])

add_harmonic!(diff_eq, ar, w)
add_harmonic!(diff_eq, ai, w)
add_harmonic!(diff_eq, cor, w)
add_harmonic!(diff_eq, coi, w)
add_harmonic!(diff_eq, cqr, w)
add_harmonic!(diff_eq, cqi, w)
add_harmonic!(diff_eq, cpr, w)
add_harmonic!(diff_eq, cpi, w)

harmonic_eq = get_harmonic_equations(diff_eq)

Few question:

These eom you put in. How did you obtain those? Did you already do an averaging, e.g., RWA to obtain those?
Looking at your eom they are period in x and y? Put you do not ad these the system. Instead you add the variable w whoch does not appear in your equation?

I'm trying it out based on the eom on a paper. Though, there might be some terms missing there since I was trying to see which terms is affecting the error. I plan on letting w be the recoil frequency later on. But nonetheless, if you change the expression for Bunc then the error vanishes. Could it be the error is there because harmonic balance cannot find a solution for it?

I think you are thing the compute the effective equations of motion in a rotating frame which already has been rotated. Can you show me the paper.

Could it be the error is there because harmonic balance cannot find a solution for it?

The error happens when we are computing the new effective equations of motion symbolically. I am unsure why it happens. I'll try to isolate the term tomorrow.

I think I now know why, it's those with a factor of 2 in Bunc. Those terms should cancel out and the function would work afterwards.


[BUG] Azure Java SDK timeout requesting target resources

Describe the bug
Azure Java SDK timeout requesting target resources. Affected API calls:

networkInterfaces.listByResourceGroupAsync

networkInterfaces.listByResourceGroupAsync(resourceGroupName); did not finish in 10 minutes
Started at: Sep 13, 2023 @ 04:31:01.173
Sep 13, 2023 @ 04:41:01.1042023-09-13T04:41:01.104Z [trace_id=88c824331585d7ab58eebae3480e67b4] [transaction_id=da9357b3a571afd8] INFO  [Thread-2080         ] c.a.r.n.i.N.listByResourceGroup.performLogging:359           - {'az.sdk.message':'HTTP request','method':'GET','url':'https://management.azure.com/subscriptions//resourceGroups//providers/Microsoft.Network/networkInterfaces?api-version=2022-11-01','tryCount':'1','contentLength':0}

networkInterfaces.listByResourceGroupAsync
INFO  [Thread-2045         ] c.a.r.n.i.N.listByResourceGroup.performLogging:359           - {"az.sdk.message":"HTTP request","method":"GET","url":https://management.azure.com/subscriptions//resourceGroups//providers/Microsoft.Network/networkInterfaces?api-version=2022-11-01,"tryCount":"1","contentLength":0}

Exception or Stack Trace
No response returned from Azure SDK, Causing the service call timeout
To Reproduce
We use a syinced call with networkInterfaces.listByResourceGroupAsync().block()
Code Snippet
this.networkInterfaces.listByResourceGroupAsync(resourceGroupName);
Expected behavior
API do return the expected value or thrown error on error. Any response instead of not responding is required.
Screenshots
NA
Setup (please complete the following information):

Library/Libraries:

com.azure.resourcemanager
azure-resourcemanager
${com.azure.resourcemanager.version}

Java version: [OpenJDK 11]

Frameworks: Spring Boot

Additional context
NA
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

@weidongxu-microsoft PTAL

Thanks @waynewang1989 , can I have the error stack trace please?

@XiaofeiCao There is no stack trace. We just see no response nor errors from the place we call the stack.
However, we could see that the netty client is performing the request.
2023-09-13T01:29:41.002Z	INFO  [Thread-2045         ] c.a.r.n.i.N.listByResourceGroup.performLogging:359           - {"az.sdk.message":"HTTP request","method":"GET","url":https://management.azure.com/subscriptions/bfd75b0b-ffce-4cf4-b46b-ecf18410c410/resourceGroups/vmw-hcs-650100a0ee3abc7ea021b7fe-6501037aee3abc7ea021b844/providers/Microsoft.Network/networkInterfaces?api-version=2022-11-01,"tryCount":"1","contentLength":0}
This is the response from Azure service team and this request seems not received by the service.
Quote:
Based on below timestamp and request URI, I did not find HTTP incoming request on current subscription.
https://management.azure.com/subscriptions/bfd75b0b-ffce-4cf4-b46b-ecf18410c410/resourceGroups/vmw-hcs-650100a0ee3abc7ea021b7fe-6501037aee3abc7ea021b844/providers/Microsoft.Network/networkInterfaces?api-version=2022-11-01
from Sep 13, 2023 @ 01:29:40.758 to Sep 13, 2023 @ 01:39:40.760 (UTC).


"Dorna Candrenilor", "Dealu Floreni", "Poiana Negrii" villages are listed in the drop-down menu.

Description:
The villages are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Preconditions:
The website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Step 2
Write in the search bar "Dealu Floreni".

Expected results
The location is listed in the drop-down menu as "Sat Dealu Floreni SUCEAVA (Dorna Candrenilor)".

Step 3
Write in the search bar "Poiana Negrii".

Expected results
The location is listed in the drop-down menu as "Sat Poiana Negrii SUCEAVA (Dorna Candrenilor)".


IPython extension causes confusing help text?

If I'm using ipython and I run %load_ext param.ipython everything seems good. But if I'm not using ipython, or if I use ipython without loading the ipython extension, I think the help text for a parameterized instance is confusing.
Standard python:
>>> import param
>>> class X(param.Parameterized):
...     y = param.Parameter(default=1)
...
>>> x = X(y=10)
>>> x.y
10
>>> help(x)

Gives me:
Help on X in module __main__ object:

class X(param.parameterized.Parameterized)
 |  params(y=Parameter, name=String)
 |  ESC[1;32mParameters of 'X'
 |  =================
 |  ESC[0m
 |  ESC[1;31mParameters changed from their default values are marked in red.ESC[0m
 |  ESC[1;36mSoft bound values are marked in cyan.ESC[0m
 |  C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None
 |
 |  ESC[1;34mNameValue    Type    Mode ESC[0m
 |
 |  y   1  Parameter  V RW
 |
 |  ESC[1;32mParameter docstrings:
 |  =====================ESC[0m
 |
 |  ESC[1;34my: < No docstring available >ESC[0m
 |
...

Maybe my terminal's not very clever, so it can't display colors, but you can see that there was no attempt to color the y line, and the value shown is the default rather than the actual value.
Additionally, the attached screenshot shows the result from within ipython (without having run %load_ext param.ipython):

If I deliberately stop the ipython extension from importing when I import param, here's what I get instead for help(x):
Help on X in module __main__ object:

class X(param.parameterized.Parameterized)
 |  params(y=Parameter, name=String)
 |
 |  Method resolution order:
 |      X
 |      param.parameterized.Parameterized
 |      __builtin__.object
 |
 |  Data descriptors defined here:
 |
 |  name
 |      String identifier for this object.
 |
 |  y
 |
 |  ----------------------------------------------------------------------
...

i.e. no attempt to show the current value or say if it's changed from the default (so at least it doesn't mislead).

Check if still a problem


Replace usages of _.isUndefined.

As part of https://github.com/inaturalist/inaturalist/issues/3038
https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore#_isundefined

Thanks! And sorry for the delay, trying to dig through some of the backlog.


Extract autosuggest editor to own class; bring into settings

This closes #55804.

This probably breaks some smoke tests. We'll see.

@ramya-rao-a do you have input on the location of these files? Right now I'm putting them under src/vs/workbench/parts/codeEditor/ but I'm not sure if that's the right place.

Should the new class be SuggestEnabledInput since I don't think we use the "autosuggest" terminology elsewhere?

@roblourens good point, made the change.

Hey @ramya-rao-a could you take a look?


Deployment by helm chart doesn't populate pod/container values

When I run the dcgm-exporter from the command line or a docker container on my GPU enabled host, "pod"and"container" show the names of the pods and container running my GPU application.
When I deploy with the helm chart,  "pod" and "container" are in the metrics but are always blank
DCGM_FI_DEV_FB_FREE{gpu="0",UUID="GPU-<uuid>",device="nvidia0",modelName="<model>",Hostname="<pod name>",container="",namespace="",pod=""} 15007

Could you check if the dcgm-exporter command line arguments have -k flag in the values.yaml of your helm chart?

I also have this issue on Kubernetes and the DCGM_EXPORTER_KUBERNETES  flag is set to true in my case.

dcgm-exporter uses this API to get the pod resources info<EMAIL_ADDRESS>Just wondering, which k8s versions are you using?

+1 on this issue, we're also experiencing the same behavior where installation of the dcgm-exporter via the helm chart doesn't populate the pod/container name for the metrics.
Helm Chart Version: v1.11.0 - latest - https://catalog.ngc.nvidia.com/orgs/nvidia/helm-charts/gpu-operator
Kubernetes version: 1.20.6
Relevant values for the dcgm-exporter to confirm that the DCGM_EXPORTER_KUBERNETES value is set to "true"
dcgmExporter:
  repository: nvcr.io/nvidia/k8s
  image: dcgm-exporter
  version: 2.4.5-2.6.7-ubuntu20.04
  imagePullPolicy: IfNotPresent
  env:
    - name: DCGM_EXPORTER_LISTEN
      value: ":9400"
    - name: DCGM_EXPORTER_KUBERNETES
      value: "true"
    - name: DCGM_EXPORTER_COLLECTORS
      value: "/etc/dcgm-exporter/dcp-metrics-included.csv"
  resources: {}

Let me know if more data points are needed to investigate this issue. Thanks!

+1 on this issue
Helm Chart Version: v1.11.0

@bhavika any updates? Were you able to resolve it?

We were able to resolve it but not through dcgm-exporter. We attach pod labels separately now, the issue I reported is still valid ^

How were you able to add labels separately? This information comes from the kubelet pod-resources right?

Our Prometheus setup attaches labels to all the metrics emitted from each pod, so we were able to circumvent the need for dcgm-exporter to do the same.

Is there any reference repository or link to do this? My prometheus setup is able to this for metrics from k8s api server directly, but for any metrics fetched from exporter I am gettting the namespace and pod of that exporter, not source pod


Lattigo Resources Issue

Hi,
Are there any tutorial videos or webseminar videos of Lattigo?
And any online community of lattigo like in stackoverflow or slack channel?
Looks like lattigo code has not enough comments or the comments are a little too professional, it spends much time for me to use and understand what the code is doing.
BR

There is no easy shortcut to homomorphic encryption. You can join the FHE discord (https://discord.gg/wnEjJDxN) to ask more general questions about FHE (and theere is a channel for Lattigo). Getting familiar with the field first will help you a lot understanding what the capabilities of R-LWE based HE are and how they are mapped in Lattigo.

Thanks
BR


Disable UITests

Disable UITests
Testing if the test passes.

Thanks for submitting a pull request!
We will review it as soon as possible.

Hey @0xWDG,
Thanks for your contribution.
Your PR has been merged!
Your name will appear on https://auroraeditor.com/#contributors in a few moments, if you have contributed to the editor.
Thanks again for your contribution!
Kind Regards,
Aurora Editor Team.


WIP new query interface for Django

WIP new query interface. There is a lot more we can do (possibly Unchained class inheriting from models.Model?), but this is an early version. It only defines exact match, string contains, json contains, and greater than.

Thanks @yujiyokoo. This is definitely an improvement over the previous iteration but I feel we might be able to make it more idiomatic (in the Python/Django sense).
For example, Django supports the idea of "custom lookups" which might mean we could keep exactly the same syntax in Django land but using EQL under the hood.
ChatGPT gave me this example which uses a CustomTextField type:
from django.db import models

class CustomTextField(models.TextField):
    pass

Then create a custom lookup but with the same name as a Django built in lookup:
from django.db.models.lookups import Lookup
from django.db.models import TextField

class CustomStartsWith(Lookup):
    lookup_name = 'startswith'

    def as_sql(self, compiler, connection):
        lhs, lhs_params = self.process_lhs(compiler, connection)
        rhs, rhs_params = self.process_rhs(compiler, connection)
        params = lhs_params + rhs_params
        # Custom SQL logic: e.g., consider only lowercase matches
        return f"LOWER({lhs}) LIKE LOWER({rhs} || '%')", params

CustomTextField.register_lookup(CustomStartsWith)

And to use it on a model and query:
class User(models.Model):
    name = CustomTextField()

# Query with the custom field (syntax is identical to standard)
results = User.objects.filter(name__startswith="test")

In our case, we'd want to create a data type called EncryptedTextField.

I found this article in the Django docs, too: https://docs.djangoproject.com/en/5.1/howto/custom-lookups/


cat: os error 3 on MSYS2 package

after installing MSYS2 provided package (cat's path is C:\msys64\clang64\bin\cat.exe) I recieve os error 3 after every start for path '/proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows NT/CurrentVersion/Windows/Device'

So os error 3 is path not found right? Could that have something to do with using a unix-style path? Could you give us the full error that you see?

Is /proc valid on Windows? I don't think I fully understand your setup here. You seem to be using the Windows version of cat on a Unix path, is that correct?

Member

You seem to be using the Windows version of cat on a Unix path, is that correct?

it's built with this script: just make PROFILE=release for build. mostly MSYS2 packages compiled for mingw targets support both unix- and windows-style path.

Is /proc valid on Windows? Windows does not really have a concept of a root directory right?

can you help, @MehdiChinoune? I think you can provide a bit more information about it

I see, so you want uutils on Windows to support both types of paths? Based on https://www.msys2.org/wiki/MSYS2-introduction/, I think that the path you are trying to access is a virtual filesystem from MSYS2. If I understand that correctly, it would be something very specific to only MSYS2.
So, I don't think uutils should support it by default. One possibility is for MSYS2 to patch uutils and normalize all paths to Windows style before passing to uutils, but that's not easy to do for all utils. If you (or someone from MSYS2) can tell us how they usually do it, we can of course discuss that further.

I see, so you want uutils on Windows to support both types of paths? Based on https://www.msys2.org/wiki/MSYS2-introduction/, I think that the path you are trying to access is a virtual filesystem from MSYS2. If I understand that correctly, it would be something very specific to only MSYS2.
So, I don't think uutils should support it by default. One possibility is for MSYS2 to patch uutils and normalize all paths to Windows style before passing to uutils, but that's not easy to do for all utils. If you (or someone from MSYS2) can tell us how they usually do it, we can of course discuss that further.

there is a base util cygpath that convert path to needed style. but I personally have no experience with it


PCQ-1850 - added further fingerprints into audit.json file

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/PCQ-1850
Change description
added fingerprints into audit.json

Not required anymore


Test and evaluate the Ask-Astro after hybrid search

Test and evaluate the Ask-Astro results after hybrid search

Depends on: #147

Results after hybrid search implementation
Total test - 27
Pass - 13
Fail - 14
As per results responses are very inconsistent and for the same questions opposite answer
Raised below issues

https://github.com/astronomer/ask-astro/issues/167
https://github.com/astronomer/ask-astro/issues/168
https://github.com/astronomer/ask-astro/issues/169

Conclusion from testing by @vatsrahul1001 @pankajkoti :

We should consider rolling back the hybrid approach as both the sources and responses have degraded in quality
The results are in the link.
Hence, rolling back the deployment to the state with airflow docs.


repeated code to function

Nice script, thanks !
suggestions in this PR:

moved the repeated code to a function,
changed for loop to lastPage+1, seemed more intuitive to me but please revert if you don't like it
changed the lastPage numbers to fetch all colors of each set as of today.

I revised the script, moving the baseUrl inside the function as well - it's not going to change, and the function is too specific to be used with any other API, so .. I guess it looks alright?
It does work, at least :tada:


Can't login in demo app

Hi folks,
The demo app's backend does not login in Safari.
I've setup the symfony demo app with the symfony command and I can't seem to be able to login in the back end. The app works fine in the front end.
Using the provided users, none work (user and admin). I have:

ran the migration manually as instructed
added a new user <- this one does not work either

There is no error printed on screen, nor in the debug bar.
The app works as expected in Firefox.

I can't remember either what I meant with this but the gist of the issue is that the demo app does not login in Safari 😆 Ignore the part about the "manual migration", maybe it was some attempt at debugging I did.
The issue was:

I installed the demo app
The demo users don't work for login in Safari
Firefox works great

I retested and it worked in Safari as well.  👍🏻 Thank you!


.chain name is supposed to be external link to user account (in blockchain explorer)

.chain name in the SH wallet account card was supposed (by design) to be external link to user account in blockchain explorer.
Currently it's plain text according to @imollov.
@mradkov I suggest we fix this issue. I'm also about to suggest consistent solution for too long .chain names but this shouldn't be blocking the missing link issue described above.

implemented in #892


hashchange event not working in 2.8

Version
2.8.0 & 3.0.0
Reproduction link
http://jsfiddle.net/9r6xhqbp/41/
Steps to reproduce
Switch between /home and /foo
What is expected?
hashchange triggers and you'll see 1s printed in the console.
What is actually happening?
Nothing is printed.

hashchange works fine in 2.7.0: http://jsfiddle.net/9r6xhqbp/40/

In 2.8 & 3.0 hash mode will use pushState when it's available, which doesn't seem to trigger hashchange event anymore. This is unfortunately an unintended breaking behavior, although technically is not part of the API contract.
I'd recommend using a more implementation-agnostic way to detect route change, e.g. router.afterEach.

it can also be work like this instead of window.addEventListener('hashchange')
watch: {
'$route': function(){}
}

function pushHash (path) {
  if (supportsPushState) {
    pushState(getUrl(path));
  } else {
    window.location.hash = path;
  }
}

all because above

It also doesn't work in version 2.1.4


added windows 11

after reading this article, i confirmed windows 11 is supported

Learn Build status updates of commit f4c11b9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows/security/threat-protection/security-policy-settings/domain-controller-refuse-machine-account-password-changes.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

I need to check on this one - my assumption is that this policy doesn't apply to client OS at all, but only applies to Windows Server.


Process exit code: -1073741701 (when restoring postgresql database)

Hey,
Whenever I try to restore a postgresql database locally, i get process exit code: -1073741701.
I tried generating the dump through pgadmin and pg_dump.

DBeaver is shipped with PostgreSQL native client 10.5.
It may be incompatible with some older PG server versions.
You can configure PG native client in connection properties dialog:

Same issue here. One way to check is to open your $HOME/.dbeaver-drivers/clients/postgresql/win folder and running pg_dump from there directly. You're getting an error message as well, correct?
I'm not sure why the binaries that DBeaver downloads aren't working, but you can download new binaries from https://www.enterprisedb.com/products-services-training/pgbindownload and then put them into the same folder. I extracted pg_dump.exe, pg_restore.exe and psql.exe (just like DBeaver), and then I also extracted all 30ish DLLs into my folder -- I didn't bother figuring out which ones I really need. That made it work for me.

Same issue here but when backing up. Running pg_dump on its own indicates that some DLLs are missing.

@hheimbuerger I got the issue a well. I did replace the binaries downloaded by Dbeaver by those downloaded from the link you gave, and it work  perfectly.
Thank you very much.


fix: add Insert KeyCode to from_str

I believe the Insert key is missing.

Are you using Tauri? what API are you using in Tauri?

@amrbashir
[✔] Environment
- OS: Arch Linux Rolling Release X64
✔ webkit2gtk-4.0: 2.42.4
✔ rsvg2: 2.57.1
✔ rustc: 1.74.1 (a28077b28 2023-12-04)
✔ cargo: 1.74.1 (ecb9851af 2023-10-18)
✔ rustup: 1.26.0 (2023-11-14)
✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
- node: 21.6.0
- pnpm: 8.14.1
- yarn: 1.22.21
- npm: 10.3.0
[-] Packages
- tauri [RUST]: 1.5.4
- tauri-build [RUST]: 1.5.1
- wry [RUST]: 0.24.7
- tao [RUST]: 0.16.5
- tauri-cli [RUST]: 1.5.9
- @tauri-apps/api [NPM]: 1.5.3
- @tauri-apps/cli [NPM]: 1.5.9
[-] App
- build-type: bundle
- CSP: unset
- distDir: ../dist
- devPath: http://localhost:1420/
- framework: SolidJS
- bundler: Vite

global shortcuts have been removed from tao in dev branch, can you re-open the PR against v0.16 branch?


Update README.md

Codecov Report
Base: 89.31% // Head: 89.31% // No change to project coverage :thumbsup:

Coverage data is based on head (150532a) compared to base (beede1d).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #93   +/-   ##
=========================================
  Coverage     89.31%   89.31%
  Complexity      227      227
=========================================
  Files            19       19
  Lines           571      571
  Branches         95       95
=========================================
  Hits            510      510
  Misses           29       29
  Partials         32       32

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Beta kata becomes approvable even when there are open issues

I raised an issue in this kata yesterday:
https://www.codewars.com/kata/5e4bb05b698ef0001e3344bc/discuss
I don't remember if the kata has become unapprovable after that, but when I check it at this moment apparently it's approvable now even though the issue hasn't been closed yet. Open, unresolved issues should prevent a kata from becoming approvable.

Some kind of data issue. I triggered to recheck the state so it's unapprovable now.

Okay, so I just saw it become unapprovable and resolved my issue, which should make the kata approvable again, but apparently it's not updated again? :thinking:

Looks like opening/resolving issue is not affecting the kata status. I just updated the status for this one and will look into it.

The status didn't get updated :/ I'm not sure what's going on.

OK, I was able to fix the status for that kata.

@kazk This is happening again in another kata:
https://www.codewars.com/kata/5e6fac5bed561b0027161ba2/discuss/agda
It was approvable, I raised an issue and it's still approvable after that.

I fixed the state of the kata.
And I think I found the cause. I'll close this when it's deployed.

Just deployed the fix. Please let me know if this happens again.


Use empty_room function from wallis.

From version <IP_ADDRESS>04.

Install from r-universe and don't forget renv::snapshot.


Kusama v26.1002005

Prepare Kusama app to work on the next runtime upgrade.
Changes:

Keys size were changed for both runtimes: closes https://github.com/Zondax/ledger-kusama/issues/207
Support new CheckMetadataHash signed extension if present. The app will only accept Mode = Disable & None
Either if Mode is enabled or the MetadataDigest is present on the transaction, it will be rejected right away

:link: zboto Link

Testcases for tx version 25:https://github.com/Zondax/ledger-kusama/blob/kusama_runtime_upgrade/tests/testcases_previous.json
Testcases for tx version 26: https://github.com/Zondax/ledger-kusama/blob/kusama_runtime_upgrade/tests/testcases_current.json
Extra checks: https://github.com/Zondax/ledger-kusama/blob/8232e24675e312bb6465520ffe9423221e7248ab/tests/parser_impl.cpp#L232-L270


Review and cleanup of material for new data pipeline developer onboarding

This issue will be used to create a task list of items to track against in order to ensure we have the latest documentation / code samples available to support developer onboarding for new contributors.

[ ] Add references to relevant mailing lists and descriptions in Developer documentation
[ ] Review and identify relevant samples of demo notebooks, and ensure they can be executed against the latest platform deployment (using Iceberg and injection via df.to_sql / Trino engine)
[ ] Document conventions for trino schema / tables naming
[ ] Ensure we have an example of metadata structure with proper schema / table naming for metadata (temporary)
[ ] Document conventions for team naming, access in repositories

Additional items to document:

[ ] SQL Script execution as part of overall pipeline (e.g. create table structure in SQL before ingestion in Python) - could demonstrate the Trino CLI potentially there
[ ] Developer onboarding should also include steps to have own sandbox - based on developer github id = schema name (requires config update in Trino)
[ ] Add link to an example of pipeline with metadata management

Related: https://github.com/os-climate/data-platform-demo/issues/48
@HeatherAck @cdeliaRH

Need to add Open Metadata, DBT pipelines, etc back into architecture doc.  Will use global power plant data as sample; updates to be completed by 24-Oct (include Real-Time ingestion capability, Kepler - incl. Data Centers - CO2 emissions of OS-Climate) for COP27 [AWS vs. Google scheduling of ML workloads]

@caldeirav - can you please update https://github.com/os-climate/os_c_data_commons/blob/main/os-c-data-commons-developer-guide.md

Related: This dbt documentation (https://docs.getdbt.com/docs/build/packages) exposes a lot of complexity that the Data Mesh pattern should hide: how and where these configuration files go, how they should be populated, and how the pipeline environment just makes this as easy as pie.  Right now (not least because of the version skew between the Pachyderm-friendly 1.4.9 and the latest 1.7.x developments over the past two years), there is no clarity at all.