Unclarity about stlyes

First of all, thanks for the plugin, time to update the original nord :)
One thing about styles. It's not clear why styes affect only a limited selection of handpicked things. Would it make sense to allow overriding any configured highlight group with styles? In which case you can call them overrides to make it obvious.
For example, I am personally not fond of having a color in TelescopeMatching, so I need to override the highlight group after the call to nord.setup(). Would be nice to have the customizations directly in the setup.

Hi!
Thanks for your feedback!
I'm ok with you that overrides may be more obvious. As I started with style (I've been inspired by tokyonight theme), I think I will this like that...
Like tokyonight, I can work on something like the on_highlights event to allows overriding highlight group inside the setup method, would that suit you?

Thanks, yes, on_highlights would be great. Essentially, I am doing the same now. My setup looks like this:
require("nord").setup({
  -- ...
})

local c = require("nord.colors")
vim.api.nvim_set_hl(0, "TelescopeBorder", {fg = c.polar_night.light, bg = c.none})
-- and so on

Then I will be able to move all custom highlighting code into the on_highlight function.

Hey, it's already implemented ;)
Just update :p

And I'm interested by your changes, maybe they should be bundled in the theme ?
Can you provide you setup ?
Thanks!

This is just personal subjective aesthetics, there is no right or wrong here :)
My full nord setup is below, but as you can see I have a hard time tracking which are the overrides for your theme, and which are my own rules :)
Overall, I tend to have a minimalistic UI on the transparent background - so fewer bg's and more fg's, for example for diff mode, borders, splits, etc.
One custom color that I use in addition to the nord palette is  #7b88a1 for comments. The standard nord dark colors are getting lost on the transparent background, so I need something brighter.
local c = require("nord.colors")
-- Nord comments are too dark on transparent background
local comment_color = "#7b88a1"

require("nord").setup({
  transparent = true, -- Enable this to disable setting the background color
  terminal_colors = true, -- Configure the colors used when opening a `:terminal` in Neovim
  diff = { mode = "bg" }, -- enables/disables colorful backgrounds when used in diff mode. values : [bg|fg]
  borders = false, -- Enable the border between verticaly split windows visible
  errors = { mode = "none" }, -- Display mode for errors and diagnostics
  styles = {
    comments = { fg = comment_color, italic = false },
    keywords = {},
    functions = {},
    variables = {},
  },
})

-- Colorscheme + custom overrides.
vim.cmd [[colorscheme nord]]

local function h(name, def)
  vim.api.nvim_set_hl(0, name, def)
end

-- Standard UI
h("CursorLine", {bg = c.polar_night.bright})
h("Whitespace", {fg = c.polar_night.brightest})
h("SignColumn", {bg = c.none})
h("VertSplit", {bg = c.none})
h("WinSeparator", {fg = c.none, bg = c.none})
h("IncSearch", {fg = c.polar_night.origin, bg = c.frost.ice})
h("CurSearch", {fg = c.polar_night.origin, bg = c.aurora.yellow})
h("DiffAdd", {fg = c.aurora.green, bg = c.none})
h("DiffChange", {fg = c.aurora.orange, bg = c.none})
h("DiffDelete", {fg = c.aurora.red, bg = c.none})
-- Plugins
h("LeapLabelPrimary", {link = "IncSearch"})
h("LspSignatureActiveParameter", {underline = true})
h("FloatTitle", {fg = c.aurora.yellow})
h("TelescopeBorder", {fg = c.polar_night.light, bg = c.none})
h("markdownError", {bg = c.none})
-- Treesitter generic
h("@constant", {fg = c.aurora.purple})
<EMAIL_ADDRESS>{fg = comment_color, italic = true})
<EMAIL_ADDRESS>{fg = c.frost.artic_water})
h("@parameter", {fg = c.snow_storm.origin, italic = true})
h("@namespace", {fg = c.frost.artic_water})
<EMAIL_ADDRESS>{fg = c.frost.artic_water})
<EMAIL_ADDRESS>{fg = c.frost.artic_water})
<EMAIL_ADDRESS>{link =<EMAIL_ADDRESS>h("@error", {underline = false}) -- Until cpp parse error are not fixed
-- Treesitter cpp
h("@cppNamespaceDefinition", {link = "Identifier"})
h("@cppNamespaceDefinitionName", {link = "Identifier"})
h("@cppQualifiedIdentifier", {link = "@type"})
h("@cppExtraKeywords", {fg = c.frost.artic_water})
-- Treesitter google
h("@gmacrosSubtle", {link =<EMAIL_ADDRESS><EMAIL_ADDRESS>{link =<EMAIL_ADDRESS><EMAIL_ADDRESS>{fg = c.frost.ice})
<EMAIL_ADDRESS>{fg = c.aurora.yellow})
<EMAIL_ADDRESS>{fg = c.aurora.red})
<EMAIL_ADDRESS>{fg = c.aurora.purple})
h("@sdlStatement", {link = "@keyword"})
-- Treesitter css
h("@cssClass", {link = "@type"})

Thanks !
I've you tried on_highlights setting ?

Sorry, missed the previous comment. Yes, on_highlights is great!


test install to macos and provide instructions

not sure if piston works and can be installed on macos, if someone wants to take this on that would be great.

n/a now since v3 is docker


Dependency Verifcation adds/removes oss-parent  trusted key non-deterministically

Expected Behavior
When you rerun gradle with --refresh-keys --write-verification-metadata pgp,sha512 --export-keys multiple times in a row it sometimes adds in oss-parent and sometimes it doesn't.
Re-running  --write-verification-metadata with the exact same input multiple time should always give the exact same output.
Current Behavior
Gradle non-deterministically adds/removes this 👇  from the gradle/verification-metadata.xml file when generated multiple times with the same inputs.
It seems to only happen for a very small list of deps that are not used directly, but presumably pulled in by gradle itself?
<trusted-key id="34441e504a937f43eb0daef96a65176a0fb1cd0b" group="org.codehaus.groovy" name="groovy-bom" version="3.0.14"/>
<trusted-key id="44fbdbbc1a00fe414f1c1873586654072ead6677" group="org.sonatype.oss" name="oss-parent" version="9"/>

Context (optional)
I think we started seeing this in Gradle 7.6.1
Steps to Reproduce

use a blank gradle build (with project replicator or from init plugin)
add resolveAndLockall task from the docs
rm gradle/verification-metadata.xml
run this command:./gradlew :resolveAndLockAll --no-configuration-cache --refresh-keys --write-locks --write-verification-metadata pgp,sha512 --export-keys --stacktrace

run steps 3 and 4 multiple times comparing the output of gradle/verification-metadata.xml each time. Notice that the contents of gradle/verification-metadata.xml are not always consistent. Trusted keys for groovy-bom and oss-parent may or may not be added to the gradle/verification-metadata.xml file.

It should always return the same result for the same inputs.
Gradle version
8.0.2
Build scan URL (optional)
No response
Your Environment (optional)
linux, JDK 17, ephemeral CI

Thank you for providing a valid reproducer.
The issue is in the backlog of the relevant team, but this area of Gradle is currently not a focus one, so it might take a while before a fix is made.

As a user, this reminds me of https://github.com/gradle/gradle/issues/20194 where we found parent poms were excluded from our dependency-verification.xml too

@mathjeff yeah, I think it is related...
Seems that in gradle 8+  --write-verification-metadata includes metadata for parent poms about 50% of the time in a non-deterministic way, probably a race condition?

Oh - a guess for this issue, that I just remembered:
I'm told that Gradle shuffles keyservers ( https://github.com/gradle/gradle/issues/20140#issuecomment-1103942061 ) - you could try explicitly choosing a single keyserver in gradle/verification-metadata.xml and seeing if that fixes the nondeterminism problem

In my case, it is using keys that are already downloaded and available in the gradle/verification-keyring.keys file, all the needed keys are already there in the file.
But somethings it chooses not to trust the key... (i.e. <trusted-key )
And the problem seems to only affect deps that are referenced transitively as parent poms.

Gradle seems to randomly choose between putting a <pgp value="key" under component/artifact tag, and putting the <trusted-key id="key" block on top.
The key and information that it puts in the file is the same either way, just where it puts it in the file seems to be random, but only for parent poms.
This is still happening with 8.2.1


SAK-29731 - StringIndexOutOfBounds when grading submission with a low value (0.01 - 0.09) using two decimals

StringIndexOutOfBounds when grading submission with a low value (0.01 -
0.09) using two decimals

Hi Miguel,
I've solved this jira too. It works with any number of decimal places.
Here is the code:
int lenght = grade.length();
if (lenght > dec) {
grade = grade.substring(0, grade.length() - dec) + decSeparator + grade.substring(grade.length() - dec);
}
else {
String newGrade = "0" + decSeparator;
for (int i=lenght; i<dec; i++) {
newGrade = newGrade + "0";
}
grade = newGrade + grade;
}

I'm still working on it because i found another problem, thanks @annuelo

The patch works fine but there is still a problem displaying values with comma (Ya sabes, nuestro separador :D).
Displaying dot as separator:

Displaying comma as separator:

Now seems pretty fine, works for every case. Thanks @annuelo

You're welcome @mcarropellicer :)
I've tested the code in our local instance and it seems fine.
About your last code, only I think this line is necessary:
Integer.parseInt(grade);
It is used to checked the grade value is an integer. If is not then an exception is thrown and and message error is shown.

Thanks @annuelo, true thing, also corrected a typo of your patch (lenght -> length).

Perfect @mcarropellicer !
I think it is ready for making the commit.

Can't you just do this with a bigdecimal and decimalformat? Also, please no underscores in variables.

@steveswinsburg decimal_gradePoint was an existing variable.
Also the current logic is written in that way, is not something it ocurred to me

@mcarropellicer that's fine, however it's declared 5 lines above and since touching this area of code, feel free to correct that.
As for the logic, isn't that the basis of this PR? I see all green lines with + at the beginning, meaning new code.

PR updated

LGTM

+1, lets merge this in if both @juanjmerono and @steveswinsburg are happy with it

I tested this locally; seems good to go.


Continous Integration for nanvog

This PR adds a github workflow that builds nanovg (on ubuntu) for every push. Can be seen in action here.
This is useful, as PRs from inexperienced developers (ahem) that carry compilation errors will be caught early. This PR supersedes #603, as it also contains the compile fix. If it didn't then the CI would fail and superficially it would look, like it didn't work either. Which is something I wanted to avoid.
The CI does not build examples (yet), due to technical problems with the older ubuntu version being used by github.

Thanks for the fix and the CI script! I have not had the time to look into CI, but it does not look too intimidating :)


update not come on azure when deploy

hey every one  i am working on the bot frame v4 version when i some changes on my code and deploy on azure web deploy the changes of css and controller not implement on alive side project but working on emulator

@Tamoormughal, Is this issue related to Web Chat? If so, please provide any console errors, screen caps, and reproduction steps to help us figure out your problem.
You can also check out your Channels blade to see if there are any issues described there.
If this issue is related to Azure Bot Services, you can contact them through Azure portal support.

Even I have faced the same issue. In order to resolve it, I need to restart the app service on Azure

Closing this issue. @Tamoormughal if you think this is a Web Chat issue, please add more information as stated above and I will reopen.

Yes issue resolved issue on the side of endpoint .endpoint must same as
your deploymnt url
On Mon, 22 Apr 2019, 10:50 p.m. Corina<EMAIL_ADDRESS>wrote:

Closed #1906
https://github.com/Microsoft/BotFramework-WebChat/issues/1906.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BotFramework-WebChat/issues/1906#event-2291835678,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH4BOGINXJLH26SFATNVMQDPRX3FNANCNFSM4HGIX5NQ
.


Weird Zoom issue on Electron Apps (native ozone only)

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
Yes
System Info and Version
 System/Version info
Hyprland, built from branch main at commit bc299928ad5571300180eb8edb6742ed3bbf0282  ().
Date: Wed Oct 9 01:26:40 2024
Tag: v0.44.0-20-gbc299928, commits: 5319
built against aquamarine 0.4.2

flags: (if any)

System Information:
System name: Linux
Node name: PiW22p
Release: 6.8.0-45-generic
Version: #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] [8086:46a6] (rev 0c) (prog-if 00 [VGA controller])
2f:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  560.35.03  Fri Aug 16 21:39:15 UTC 2024

os-release: PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

plugins:
  hyprscroller by dawser ver 1.0

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

Config File: /home/constantin/.config/hypr/hyprland.conf: Read Succeeded
#
# Please note not all available settings / options are set here.
# For a full list, see the wiki
#

# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1,preferred,auto,1.5
#monitor=eDP-1,disable
monitor=HDMI-A-1,preferred,auto-left,1
# monitor=HDMI-A-1,preferred,auto-right,1
monitor=HDMI-A-2,preferred,auto-left,1
monitor=DP-4,preferred,auto-right,1
monitor=,preferred,auto,auto,mirror,eDP-1

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

# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox

# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf

# Set programs that you use
$terminal = $HOME/.local/bin/kitty
$fileManager = nautilus
$menu = wofi --show drun
$menuAlt = wofi --show run

# Some default env vars.
env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
env = ELECTRON_OZONE_PLATFORM_HINT,auto
env = MOZ_DISABLE_RDD_SANDBOX,1

env = XDG_SESSION_TYPE,wayland
# env = LIBVA_DRIVER_NAME,nvidia
# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
# env = GBM_BACKEND,nvidia-drm

# env = NVD_BACKEND,direct

exec-once = hyprpm reload -n

# debug {
#     # overlay = true
#     disable_logs = false
#     enable_stdout_logs = true
# }

# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
    kb_layout = us
    kb_variant =
    kb_model =
    kb_options = compose:ralt
    kb_rules =

    follow_mouse = 2

    touchpad {
        natural_scroll = yes
    }

    # sensitivity = -0.1 # -1.0 - 1.0, 0 means no modification.  WIRELESS
    sensitivity = -0.8 # -1.0 - 1.0, 0 means no modification.
}
device {
    name = ydotoold-virtual-device
    kb_layout = us
    kb_variant =
    kb_options =
}
device {
    name = elan0303:00-04f3:31ff-touchpad
    sensitivity = -0.2
}

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

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

    # layout = dwindle
    # layout = master
    layout = scroller

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

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

    rounding = 10

    blur {
        enabled = true
        size = 3
        passes = 1
    }

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

animations {
    # enabled = no

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

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 2, myBezier
    animation = layers, 1, 0.5, default
    animation = windowsIn, 1, 2, default, popin 80%
    animation = windowsOut, 1, 2, default, popin 80%
    animation = border, 1, 3, default
    animation = borderangle, 1, 3, default
    animation = fade, 1, 3, default
    animation = workspaces, 1, 3, default
}

xwayland {
    force_zero_scaling = true
}

cursor {
    no_hardware_cursors = true
    hide_on_touch = true
}

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

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

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

misc {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    force_default_wallpaper = -1 # Set to 0 to disable the anime mascot wallpapers
}

plugin {
    hyprexpo {
        columns = 3
        gap_size = 5
        bg_col = rgb(111111)
        workspace_method = first current # [center/first] [workspace] e.g. first 1 or center m+1

        enable_gesture = true # laptop touchpad
        gesture_fingers = 3  # 3 or 4
        gesture_distance = 300 # how far is the "max"
        gesture_positive = false # positive = swipe down. Negative = swipe up.
    }

    scroller {
        column_default_width = twothirds
        focus_wrap = false
    }

    hyprbars {
        # example config
        bar_height = 20

        # example buttons (R -> L)
        # hyprbars-button = color, size, on-click
        hyprbars-button = rgb(ff4040), 10, 󰖭, hyprctl dispatch killactive
        hyprbars-button = rgb(eeee11), 10, , hyprctl dispatch fullscreen 1
    }
}

# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
# windowrulev2 = maximize,class:^(firefox)$
windowrulev2 = float, class:^(firefox)$,title:^(Picture-in-Picture)$
windowrulev2 = pin, class:^(firefox)$,title:^(Picture-in-Picture)$
windowrulev2 = size 800 450,class:^(firefox)$,title:^(Picture-in-Picture)$
windowrulev2 = monitor 2,class:^(firefox)$,title:^(Picture-in-Picture)$
windowrulev2 = move onscreen 100%-800 100%-450,class:^(firefox)$,title:^(Picture-in-Picture)$
windowrulev2 = move 0 0,title:^(flameshot)
windowrulev2 = suppressevent fullscreen,title:^(flameshot)
windowrulev2 = float, title:^(efck-chat-keyboard)
windowrulev2 = float, class:^(org.gnome.Calculator)$
windowrulev2 = float, class:^(hyprland-share-picker)$
windowrulev2 = float, class:^(org.keepassxc.KeePassXC)$
windowrulev2 = float, class:^(mcontrolcenter)$
windowrulev2 = float, class:^(com.nextcloud.desktopclient.nextcloud)$
windowrulev2 = float, class:^(ui-PlanAhea)$
windowrulev2 = move onscreen 100% 0, class:^(com.nextcloud.desktopclient.nextcloud)$
windowrulev2 = float, title:^(Calendar Reminders)$
windowrulev2 = float, class:^(com.github.hluk.copyq)$
windowrulev2 = float, class:^(zenity)$
windowrulev2 = nomaxsize, class:^(steam)$,title:^(Special Offers)$
windowrulev2 = float, class:^(Windscribe)$
windowrulev2 = nomaxsize, class:^(Windscribe)$
windowrulev2 = noshadow, class:^(Windscribe)$
windowrulev2 = noblur, class:^(Windscribe)$
windowrulev2 = noborder, class:^(Windscribe)$
windowrulev2 = opacity 0.0 override 0.0 override,initialClass:^(xwaylandvideobridge)$
windowrulev2 = noanim,initialClass:^(xwaylandvideobridge)$
windowrulev2 = noinitialfocus,initialClass:^(xwaylandvideobridge)$
windowrulev2 = maxsize 1 1,initialClass:^(xwaylandvideobridge)$
windowrulev2 = noblur,initialClass:^(xwaylandvideobridge)$
# windowrulev2 = maximize,class:^(VirtualBox Machine)$
# windowrulev2 = maximize,class:^(org.remmina.Remmina)$

workspace = 10,monitor:2

# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, return, exec, $terminal
bind = CTRL ALT, T, exec, $terminal
bind = $mainMod SHIFT, C, killactive,
bind = $mainMod SHIFT, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, F, togglefloating,
bind = $mainMod SHIFT, F, fullscreen,
bind = $mainMod, R, exec, $menu
bind = $mainMod SHIFT, R, exec, $menuAlt
bind = $mainMod, T, togglegroup
bind = , print, exec, grim -g "`slurp`"
bind = $mainMod, space, exec, efck-chat-keyboard
bind = CTRL, escape, exec, swaync-client -t -sw

# Laptop multimedia keys for volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume -l 0 @DEFAULT_AUDIO_SINK@ 5%-
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-

# Move focus with mainMod + arrow keys
bind = $mainMod CTRL, left, changegroupactive, b
bind = $mainMod CTRL, right, changegroupactive, f

# 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

# Move current workspace
bind = $mainMod, tab, movecurrentworkspacetomonitor, r
bind = $mainMod SHIFT, tab, movecurrentworkspacetomonitor, l

# 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

# will switch to a submap called resize
bind = ALT, R, submap, resize

# will start a submap called "resize"
submap = resize
binde = , right, resizeactive, 10 0
binde = , left, resizeactive, -10 0
binde = , up, resizeactive, 0 -10
binde = , down, resizeactive, 0 10
bind = , escape, submap, reset
bind = , return, submap, reset
submap = reset

bind = $mainMod, P, submap, present
submap = present
binde = , m, exec, wl-present mirror
binde = , m, submap, reset
binde = , o, exec, wl-present set-output
binde = , r, exec, wl-present set-region
binde = Shift, r, exec, wl-present unset-region
binde = , c, exec, wl-present custom
bind = , escape, submap, reset
bind = , return, submap, reset
submap = reset

# pass through
# bind = SHIFT CONTROL,M,pass,^(WebCord)$
# bind = SHIFT CONTROL,M,pass,class:^(discord)$
# bind = SHIFT CONTROL,M,pass,^(wev)$
bind = SHIFTCONTROL,m,pass,^(vesktop)$
bind = SHIFTCONTROL,x,pass,title:^(Event Tester)$
bind = SHIFTCONTROL,x,pass,^(wev)$

# source = ~/.config/hypr/hyprland-master.conf
source = ~/.config/hypr/hyprland-scroller.conf

# exec = ${HOME}/.config/hypr/start-way-displays.sh
exec-once = hypridle
exec-once = /usr/lib/polkit-1/polkit-agent-helper-1 &
# exec-once = dunst &
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = systemctl --user start xdg-desktop-portal-gtk xdg-desktop-portal-hyprland.service

# auto start
exec-once = ${HOME}/.config/hypr/applets.sh
exec-once = ${HOME}/.config/hypr/autostart.sh

Config File: /home/constantin/.config/hypr/hyprland-scroller.conf: Read Succeeded

# {{{ Scroller

# Move focus with mainMod + arrow keys
bind = $mainMod, left, scroller:movefocus, l
# bind = $mainMod, left, scroller:alignwindow, c
bind = $mainMod, right, scroller:movefocus, r
# bind = $mainMod, right, scroller:alignwindow, c
bind = $mainMod, up, scroller:movefocus, u
# bind = $mainMod, up, scroller:alignwindow, c
bind = $mainMod, down, scroller:movefocus, d
# bind = $mainMod, down, scroller:alignwindow, c
bind = $mainMod, home, scroller:movefocus, begin
bind = $mainMod, end, scroller:movefocus, end

# Movement
bind = $mainMod CTRL, left, scroller:movewindow, l
bind = $mainMod CTRL, right, scroller:movewindow, r
bind = $mainMod CTRL, up, scroller:movewindow, u
bind = $mainMod CTRL, down, scroller:movewindow, d
bind = $mainMod CTRL, home, scroller:movewindow, begin
bind = $mainMod CTRL, end, scroller:movewindow, end

# Modes
bind = $mainMod, bracketleft, scroller:setmode, row
bind = $mainMod, bracketright, scroller:setmode, col

# Sizing keys
bind = $mainMod, equal, scroller:cyclesize, next
bind = $mainMod, minus, scroller:cyclesize, prev

# Admit/Expel
bind = $mainMod, I, scroller:admitwindow,
bind = $mainMod, O, scroller:expelwindow,

# Center submap
# will switch to a submap called center
bind = $mainMod, C, submap, center
# will start a submap called "center"
submap = center
# sets repeatable binds for resizing the active window
bind = , C, scroller:alignwindow, c
bind = , C, submap, reset
bind = , right, scroller:alignwindow, r
bind = , right, submap, reset
bind = , left, scroller:alignwindow, l
bind = , left, submap, reset
bind = , up, scroller:alignwindow, u
bind = , up, submap, reset
bind = , down, scroller:alignwindow, d
bind = , down, submap, reset
# use reset to go back to the global submap
bind = , escape, submap, reset
bind = , escape, submap, reset
# will reset the submap, meaning end the current one and return to the global one
submap = reset

# Fit size submap
# will switch to a submap called fitsize
bind = $mainMod, W, submap, fitsize
# will start a submap called "fitsize"
submap = fitsize
# sets binds for fitting columns/windows in the screen
bind = , W, scroller:fitsize, visible
bind = , W, submap, reset
bind = , right, scroller:fitsize, toend
bind = , right, submap, reset
bind = , left, scroller:fitsize, tobeg
bind = , left, submap, reset
bind = , up, scroller:fitsize, active
bind = , up, submap, reset
bind = , down, scroller:fitsize, all
bind = , down, submap, reset
# use reset to go back to the global submap
bind = , escape, submap, reset
bind = , escape, submap, reset
# will reset the submap, meaning end the current one and return to the global one
submap = reset

# overview keys
# bind key to toggle overview (normal)
bind = $mainMod, grave, scroller:toggleoverview
# overview submap
# will switch to a submap called overview
bind = $mainMod, grave, submap, overview
# will start a submap called "overview"
submap = overview
bind = , right, scroller:movefocus, right
bind = , left, scroller:movefocus, left
bind = , up, scroller:movefocus, up
bind = , down, scroller:movefocus, down
# use reset to go back to the global submap
bind = , escape, scroller:toggleoverview,
bind = , escape, submap, reset
bind = , return, scroller:toggleoverview,
bind = , return, submap, reset
bind = $mainMod, grave, scroller:toggleoverview,
bind = $mainMod, grave, submap, reset
# will reset the submap, meaning end the current one and return to the global one
submap = reset

# Marks
bind = $mainMod, M, submap, marksadd
submap = marksadd
bind = , a, scroller:marksadd, a
bind = , a, submap, reset
bind = , b, scroller:marksadd, b
bind = , b, submap, reset
bind = , c, scroller:marksadd, c
bind = , c, submap, reset
bind = , escape, submap, reset
bind = , escape, submap, reset
submap = reset

bind = $mainMod SHIFT, M, submap, marksdelete
submap = marksdelete
bind = , a, scroller:marksdelete, a
bind = , a, submap, reset
bind = , b, scroller:marksdelete, b
bind = , b, submap, reset
bind = , c, scroller:marksdelete, c
bind = , c, submap, reset
bind = , escape, submap, reset
bind = , escape, submap, reset
submap = reset

bind = $mainMod, apostrophe, submap, marksvisit
submap = marksvisit
bind = , a, scroller:marksvisit, a
bind = , a, submap, reset
bind = , b, scroller:marksvisit, b
bind = , b, submap, reset
bind = , c, scroller:marksvisit, c
bind = , c, submap, reset
bind = , escape, submap, reset
bind = , escape, submap, reset
submap = reset

bind = $mainMod CTRL, M, scroller:marksreset

# }}}

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

Description
Surface is drawn in small part of window, screenshot doesn't work
How to reproduce
Launch an electron app (e.g. draw.io or vesktop) with --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations
Crash reports, logs, images, videos
No response
Started after 0c7a7e2d, currently on bc299928, will try to do a bisect shortly

Not sure why grim doesn't work anymore either, could be related or not, here is one from OBS

can you try latest git

Git bisect lead me to bc299928 and I had to undo the change in updateState, which I see has been fixed in 223dcc8bac7fee90aa6aa7596d9379e56b526e62


python311Packages.homeassistant-stubs: 2023.9.0 -> 2023.9.1

https://github.com/KapJI/homeassistant-stubs/releases/tag/2023.9.1
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 254535 run on x86_64-linux 1

2 packages built:

python311Packages.homeassistant-stubs
python311Packages.homeassistant-stubs.dist


migrate to sqlalchemy

Codecov Report

Merging #123 into dev will decrease coverage by 0.14%.
The diff coverage is 88.1%.

@@            Coverage Diff             @@
##              dev     #123      +/-   ##
==========================================
- Coverage   89.16%   89.02%   -0.15%
==========================================
  Files          81       78       -3
  Lines        2096     1959     -137
==========================================
- Hits         1869     1744     -125
+ Misses        227      215      -12

Impacted Files
Coverage Δ

app/db_models/__init__.py
86.2% <ø> (-8.39%)
:arrow_down:

app/services/bgm_tv/model.py
100% <100%> (ø)
:arrow_up:

app/video_website_spider/__init__.py
62.85% <100%> (ø)
:arrow_up:

app/db/utils.py
100% <100%> (ø)

app/curd/__init__.py
100% <100%> (ø)
:arrow_up:

app/api/bgm_tv_auto_tracker/__init__.py
100% <100%> (ø)
:arrow_up:

tests/conftest.py
80% <100%> (-20%)
:arrow_down:

app/db/mysql.py
61.11% <100%> (-32.64%)
:arrow_down:

app/db/depends.py
85.71% <100%> (-14.29%)
:arrow_down:

app/models/subject.py
100% <100%> (ø)
:arrow_up:

... and 32 more

Continue to review full report at Codecov.

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


Unknown column type "timestamp" requested

Relating to my previous issue https://github.com/rainlab/builder-plugin/issues/327
Unchecking sort_order nullable and setting default to 0 or blank allows for save.
But when trying to add, change, or update any other tables through the Builder Plugin, I get an error about Timestamps.

Hi @MattMcManis
I have released some changes as part of #329 in order to fix this issue. Would I be able to ask you to test these out on your development instance of October and let me know if it resolves the issue for you?
You may need to check out the plugin via Composer in order to test this out.

@bennothommo
What is the best way to update with this patch?
Should I copy over the new files manually?

@MattMcManis apologies, I completely missed your reply. Yes, you should be able to copy over the files from that PR over the Builder plugin files in your October CMS install. You will need to then run composer update in your October CMS install to get it to download the necessary library that the fix uses.

Has this been tested and/or fixed? Having the same issue with MySQL.

Thankyou for this update @samgeorges. it was much needed


Use of serde instead of serde_json

https://github.com/quicktype/quicktype/blob/7a6a0fbdaa817ac36d0acf8701fe92e36ae261d6/src/quicktype-core/language/Rust.ts#L378
Think this line might be outdated. I changed it to use serde::{Deserialize, Serialize}; in my own code.

Duplicate of #1210
It might as well be optional, as current code compiles with edition  2018 disabled as well.


Fix opam package 'process' version

I couldn't push that directly...

I thought you were in team FStarTeam that has access to kremlin?!


Enums should follow Swift conventions

This enumerations should be changed from:
public enum Theme {
        case Success(Style)
        case Fail(Style)
        case Info(Style)
        case Warning(Style)
    }

    public enum Style {
        case Light
        case Dark
    }

To:
public enum Theme {
        case success(Style)
        case fail(Style)
        case info(Style)
        case warning(Style)
    }

    public enum Style {
        case light
        case dark
    }

In order to follow the Swift enumeration conventions as accepted in here

Thank you for reminding 😄 . I have fixed it in 1.0.1 Release


CircleCi database migration proposal should show the expected migration file

The proposed migrations by CircleCI only prints the changeSet tags, without any content. So you can tell how many changeSets are missing, but have no idea what they are. Would be useful to display the changeSet information. It is possible that this worked before but broke at some point.
Below is what we currently see in the CircleCI output.
grep changeSet dockstore-webservice/target/detected-migrations.xml
    <changeSet author="circleci (generated)" id="1582059440430-1">
    </changeSet>
    <changeSet author="circleci (generated)" id="1582059440430-2">
    </changeSet>

┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Sprint: Backlog
┆Issue Number: DOCK-1227

Hah, I think I might have had that idea at some point but I don't think I ever went that far.

Looking at 1.9.0-alpha.7, the changeset is now printed out.

Looking at 1.9.0-alpha.7, the changeset is now printed out.


netlrts: pipelining stdout is erroneous

Original author: Nikhil Jain
Original issue: https://charm.cs.illinois.edu/redmine/issues/201

In netlrts, the code to close stdout, and pipe it to our buffer causes crash. The same code work in net layer.

Original date: 2013-08-28 18:51:29

Please follow up on this.  Feel free to ask others for help, but make sure it gets attention.

Original date: 2014-04-24 22:09:22

Was this eventually fixed in some fashion? Possibly with some connection to #237?

Original author: Nikhil Jain
Original date: 2014-04-24 22:15:24

Yes..I fixed it.

Original date: 2014-04-28 00:43:30

I'm guessing the fix for this was in commit:7e012acb936fed56e97af9280e20a35bb921a11b ?

Original author: Nikhil Jain
Original date: 2014-04-28 00:46:32

Yes.


chore: PyUgrade and Pylint update scripts

@tabatkins think this will resolve the daily failures of the tests job

@tabatkins any issues with this one? Think I can rebase out most of #1956 once the automated job is working


Th/always view voting

Description

Just some minor usability improvements including automatically redirecting to home page when user is already logged in, always allowing users to view the voting page so that they can re-vote when a topic is added during a meeting, and removal of the home button that is a duplicate of the meetings link in the drawer.
Type of change

[x] Housekeeping and refactoring
[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Various manual frontend tests.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Hi there everyone! I'm so desperate to learn how to use Typescript, please please please teach me? I'm sure I can get the hang of it if I just had a bit of help.
It's been a hard few months since my beloved dog, Spot, passed away. I miss him so much. I know he'd be so proud of me if he knew I was trying to learn something new.
I'm sure I can be a quick learner if someone can help me out. I'm really eager to get started and hopefully I can make Spot proud.
Thanks in advance!


Include an arm64 shared library in the ruby gem

When running a Ruby on Rails application using Docker for Mac on my Apple Silicon machine, I am unable run oso because the shared library for linux included in the gem, libpolar.so, only supports x86_64 and my container is arm64. This change compiles both an x86_64 shared lib as well as a new aarch64 shared lib and adds them both to the gem.
PR checklist:

[ ] Added changelog entry.

I have read the CLA Document and I hereby sign the CLA

Any thoughts on this PR? Maybe @gj?

Another friendly ping on this change. Any questions or concerns @gj? I understand the project is going to be deprecated, but we would still find this change useful.


e-h-nb: Fix links

r? @ryankurte
(rust-highfive has picked a reviewer for you, use r? to override)


rawgit link for live example

Coverage remained the same at 100.0% when pulling 60d65717014c204d3178cfa2eefc4d6a6d9d39b5 on smcatala:master into 59adb9aa38ac85bb2f0e0e7e0cf819bf9dc025d6 on ZenyWay:master.

squash merged with commit<PHONE_NUMBER>e5eaa1f2a6f77dda9d16646d1487c5


Move metrics classes into a separate package

We should move MetricRecorder and its related classes out into an entirely separate repository, with a different group id.
groupId: com.danielgmyers.metrics
package: recorder
classes (from flux-common):

MetricRecorder
MetricRecorderFactory
NoopMetricRecorderFactory
StandardMetricNames

package: in-memory-recorder
classes (from flux-testutils):

InMemoryMetricRecorder (from flux-testutils)
InMemoryMetricRecorderFactory (from flux-testutils)

The MetricRecorder code has been copied out to its own project: https://github.com/danielgmyers/metric-recorder
Once 1.0.0 is available on Maven Central I'll remove Flux's copies and pull in the dependency.


Move code to the namespace under League\

Fixes https://github.com/thephpleague/openapi-psr7-validator/issues/30

Well, checks are green. @scaytrase go ahead with reviewing / merging / tagging if all good.

Sure, will do as soon as I can


[jvm-packages] How to see xgboost bestModel paragram

For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
Environment info
Operating System:
redhat 6.5（with spark-2.1.0）
Compiler:
Package used (python/R/jvm/C++):
Package: jvm, xgboost4j-spark
xgboost version used:
lastest xgboost version used(download at 2017/3/16)
I want to see best model after cross validator fit，but there is no useful info. In my experience, i used decision tree model and i can get best model paragram , following my test code，res0 is decision tree result，and res2 is xgboost result
import org.apache.spark.ml.{Pipeline, PipelineModel}
import ml.dmlc.xgboost4j.scala.spark.{XGBoostClassificationModel, XGBoostEstimator}
import org.apache.spark.ml.evaluation._
import org.apache.spark.ml.tuning.{CrossValidator, ParamGridBuilder}
import org.apache.spark.ml.feature.VectorAssembler
import org.apache.spark.ml.regression.{DecisionTreeRegressionModel, DecisionTreeRegressor}
import scala.collection.mutable
import scala.util.Random

  // xgboost parameters
    def get_param(): mutable.HashMap[String, Any] = {
      val params = new mutable.HashMap[String, Any]()
      params += "eta" -> 0.1
      params += "max_depth" -> 4
      params += "min_child_weight" -> 4
      params += "num_round" -> 20
      params += "silent" -> 1
      params += "objective" -> "binary:logistic"
      params += "booster" -> "gbtree"
      params += "gamma" -> 0.0
      params += "colsample_bylevel" -> 1

      return params
    }

    val r = new Random(0)
    val training = spark.createDataFrame(
      Seq.fill(10000)(r.nextInt(2)).map(i => (i, i))
    ).toDF("feature", "label")

    val test = spark.createDataFrame(
      Seq.fill(10000)(r.nextInt(2)).map(i => (i, i))
    ).toDF("feature", "label")

    val assembler = new VectorAssembler()
      .setInputCols(Array("feature"))
      .setOutputCol("features")

    //    decision tree test
    val dtEstimator = new DecisionTreeRegressor()
      .setLabelCol("label")
      .setFeaturesCol("features")
      .setPredictionCol("prediction")

    val dtParamGrid = new ParamGridBuilder()
      .addGrid(dtEstimator.maxDepth, Array(5,20))
      .addGrid(dtEstimator.maxBins, Array(10,30))
      .build()

    val pipelineDT = new Pipeline()
      .setStages(Array(assembler, dtEstimator))

    val cvDT = new CrossValidator()
      .setEstimator(pipelineDT)
      .setEvaluator(new RegressionEvaluator()
        .setLabelCol("label")
        .setPredictionCol("prediction")
        .setMetricName("rmse")
      )
      .setEstimatorParamMaps(dtParamGrid)
      .setNumFolds(5)

    val dtCVModel = cvDT.fit(training)
    val dtBestModel = dtCVModel.bestModel.asInstanceOf[PipelineModel].stages(1).asInstanceOf[DecisionTreeRegressionModel]
    dtBestModel.extractParamMap()
    /*
res0: org.apache.spark.ml.param.ParamMap =
{
        dtr_374dff2d7188-cacheNodeIds: false,
        dtr_374dff2d7188-checkpointInterval: 10,
        dtr_374dff2d7188-featuresCol: features,
        dtr_374dff2d7188-impurity: variance,
        dtr_374dff2d7188-labelCol: label,
        dtr_374dff2d7188-maxBins: 10,
        dtr_374dff2d7188-maxDepth: 5,
        dtr_374dff2d7188-maxMemoryInMB: 256,
        dtr_374dff2d7188-minInfoGain: 0.0,
        dtr_374dff2d7188-minInstancesPerNode: 1,
        dtr_374dff2d7188-predictionCol: prediction,
        dtr_374dff2d7188-seed: 926680331
}
    */

    // xgboost test
    val xgbEstimator = new XGBoostEstimator(get_param().toMap)
      .setFeaturesCol("features")

    // grid
    val xgbParamGrid = new ParamGridBuilder()
      .addGrid(xgbEstimator.round, Array(10, 30))
      .addGrid(xgbEstimator.maxDepth, Array(5,8))
      .addGrid(xgbEstimator.minChildWeight, Array(0.5,1.0))
      .build()

    val pipelineXGB = new Pipeline()
      .setStages(Array(assembler, xgbEstimator))

    // cv
    val cvXGB = new CrossValidator()
      .setEstimator(pipelineXGB)
      .setEvaluator(new RegressionEvaluator()
        .setLabelCol("label")
        .setPredictionCol("prediction")
        .setMetricName("rmse")
      )
      .setEstimatorParamMaps(xgbParamGrid)
      .setNumFolds(5)

    val xgbCVModel = cvXGB.fit(training)
    val xgbBestModel = xgbCVModel.bestModel.asInstanceOf[PipelineModel].stages(1).asInstanceOf[XGBoostClassificationModel]
    xgbBestModel.extractParamMap()
    /*
res2: org.apache.spark.ml.param.ParamMap =
{
        XGBoostClassificationModel_f143165f6ace-featuresCol: features,
        XGBoostClassificationModel_f143165f6ace-labelCol: label,
        XGBoostClassificationModel_f143165f6ace-outputMargin: false,
        XGBoostClassificationModel_f143165f6ace-predictionCol: prediction,
        XGBoostClassificationModel_f143165f6ace-rawPredictionCol: probabilities,
        XGBoostClassificationModel_f143165f6ace-use_external_memory: false
}
    */

@geoHeil do you know how to do it?

@frank111 I contributed the basic persistence implementation.
For that
https://github.com/dmlc/xgboost/blob/master/jvm-packages/xgboost4j-spark/src/main/scala/ml/dmlc/xgboost4j/scala/spark/XGBoostModel.scala#L312
sparks pipeline reader and writer were implemented.
I currently do not know why it doesn't work with the cross validator.
In case you were using sbt and not maven as a build system, please delete
sbt cache to really make sure you are using the latest xgboost with the
persistence merged.
As you will see above in this thread currently I am unable to debug this
issue due to not being able to compile xgboost.
When this is fixed I can have a look at your problem.
For me neither on arch Linux nor osx with neither python 3.6 nor 3.5.3 the
compilation works due to jni problems
https://gist.github.com/geoHeil/17ea7fa96f402f10a9a90517406330f6
Frank111<EMAIL_ADDRESS>schrieb am Sa. 25. März 2017 um 07:48:

@geoHeil https://github.com/geoHeil do you know how to do it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dmlc/xgboost/issues/2144#issuecomment-289193319, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABnc9KZaHuyMmmq2XwP9x6qPGhQr0daBks5rpLi7gaJpZM4MnpOs
.

@geoHeil Thanks for your replay, i think this problem can repair with https://github.com/dmlc/xgboost/issues/2115

@Frank111 could you specify useful information? So far I believe xgboost will not print out any nice summary statistics you just should be able to obtain the model with the best parameters. Is this what you want?

@geoHeil  I just want to know what is the best parameters after cross validation，you can see the best parameters of decisionTree  is following
        dtr_374dff2d7188-maxBins: 10,
        dtr_374dff2d7188-maxDepth: 5,

val cv = new CrossValidator()
    .setEstimator(simplPipe)
    .setEvaluator(new BinaryClassificationEvaluator()
      .setLabelCol("target")
      .setRawPredictionCol("prediction"))
    .setEstimatorParamMaps(simplePipeParams)
    .setNumFolds(numberOfFolds)
    .setSeed(gSeed.toLong)

val cvModel = cv.fit(train)
cvModel
    .getEstimatorParamMaps
    .zip(cvModel.avgMetrics)
    .foreach(println)

val pipelineModel: Option[PipelineModel] = cvModel.bestModel match {
    case p: PipelineModel => Some(p)
    case _ => None
}

val realModel: Option[XGBoostClassificationModel] = pipelineModel
    .flatMap {
      _.stages.collect { case t: XGBoostClassificationModel => t }
        .headOption
}

As realModel is a XGBoostClassificationModel you have access to all the regular parameters and should see which ones were the best ones.

@geoHeil Can you give me your all the code, i still can not get best parameters. Thanks!

@Frank111 but when you hold XGBoostClassificationModel you can access all of it attributes, i.e. parameters. What would you like to see?

@geoHeil Following grid, include parameter round maxDepth minChildWeight，there should be  eight combinations, in best model, i want to see which one is the best parameter combinations. i don't know how to see is，in DecisionTreeModel ，i can see is by  dtBestModel.extractParamMap().
    // grid
    val xgbParamGrid = new ParamGridBuilder()
      .addGrid(xgbEstimator.round, Array(10, 30))
      .addGrid(xgbEstimator.maxDepth, Array(5,8))
      .addGrid(xgbEstimator.minChildWeight, Array(0.5,1.0))
      .build()

You should be able to get hold of the booster https://github.com/dmlc/xgboost/blob/master/jvm-packages/xgboost4j-spark/src/main/scala/ml/dmlc/xgboost4j/scala/spark/XGBoostClassificationModel.scala#L35 and then https://github.com/dmlc/xgboost/blob/master/jvm-packages/xgboost4j-spark/src/main/scala/ml/dmlc/xgboost4j/scala/spark/params/BoosterParams.scala should be available to you.

@geoHeil Sorry, i am stupid, i still can not understand how to do this， can you write a test code, show best model parameters.Thank you！

Will https://github.com/dmlc/xgboost/issues/1763 help you? This helped me
originally.
Frank111<EMAIL_ADDRESS>schrieb am Di., 4. Apr. 2017 um
13:39 Uhr:

@geoHeil https://github.com/geoHeil Sorry, i am stupid, i still can not
understand how to do this， can you write a test code, show best model
parameters.Thank you！
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dmlc/xgboost/issues/2144#issuecomment-291474070, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABnc9Lm4euuIsbu_RRBi_st1nN606_ldks5rsivDgaJpZM4MnpOs
.

@geoHeil Thank you, i think it will not help me. I can't find parameters {num_round max_depth min_child_weight ……}, can you please test it ?
scala> xgbCVModel.bestModel.asInstanceOf[PipelineModel].stages(1).asInstanceOf[XGBoostClassificationModel].params.foreach(println)
XGBoostClassificationModel_5991369c602a__featuresCol
XGBoostClassificationModel_5991369c602a__labelCol
XGBoostClassificationModel_5991369c602a__outputMargin
XGBoostClassificationModel_5991369c602a__predictionCol
XGBoostClassificationModel_5991369c602a__rawPredictionCol
XGBoostClassificationModel_5991369c602a__thresholds
XGBoostClassificationModel_5991369c602a__use_external_memory

num_round max_depth min_child_weight are params of estimators,

pseudo code:
bestModel.parent.asInstanceOf[XGBooostEstimator].params

would help

@CodingCat According to your advice, i can finally get best model parameters of CV model ,i used
cvModel.bestModel.parent.asInstanceOf[XGBoostEstimator].extractParamMap().toSeq.foreach(println)
but when i used pipeline include XGBoostEstimator , it will be error , because  at this time   xgbCVModel.bestModel.parent is Pipeline Estimator, can you give me some advice ?
scala> xgbCVModel.bestModel.parent.asInstanceOf[XGBoostEstimator].asInstanceOf[XGBoostEstimator]
java.lang.ClassCastException: org.apache.spark.ml.Pipeline cannot be cast to ml.dmlc.xgboost4j.scala.spark.XGBoostEstimator

What if you don't use the parent? Is cvmodel a single estimator or a list
i.e pipeline with multiple steps. If yes you need to extract a single
element to be casted.
Frank111<EMAIL_ADDRESS>schrieb am Sa. 8. Apr. 2017 um 16:43:

@CodingCat https://github.com/CodingCat According to your advice, i can
finally get best model parameters of CV model ,i used
cvModel.bestModel.parent.asInstanceOf[XGBoostEstimator].extractParamMap().toSeq.foreach(println)
but when i used pipeline include XGBoostEstimator , it will be error ,
because at this time xgbCVModel.bestModel.parent is Pipeline Estimator, can
you give me some advice ?
scala> xgbCVModel.bestModel.parent.asInstanceOf[XGBoostEstimator].asInstanceOf[XGBoostEstimator]
java.lang.ClassCastException: org.apache.spark.ml.Pipeline cannot be cast to ml.dmlc.xgboost4j.scala.spark.XGBoostEstimator
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dmlc/xgboost/issues/2144#issuecomment-292722378, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABnc9KVheVI2U9WWdh_hC7I4d3P06e1wks5rt50NgaJpZM4MnpOs
.

@geoHeil At first i used
xgbCVModel.bestModel.asInstanceOf[PipelineModel].stages(1).asInstanceOf[XGBoostClassificationModel].extractParamMap()
and return it
res2: org.apache.spark.ml.param.ParamMap =
{
        XGBoostClassificationModel_f143165f6ace-featuresCol: features,
        XGBoostClassificationModel_f143165f6ace-labelCol: label,
        XGBoostClassificationModel_f143165f6ace-outputMargin: false,
        XGBoostClassificationModel_f143165f6ace-predictionCol: prediction,
        XGBoostClassificationModel_f143165f6ace-rawPredictionCol: probabilities,
        XGBoostClassificationModel_f143165f6ace-use_external_memory: false
}

because it is XGBoostClassificationModel, not a XGBoostEstimator ,and can not get params.

I do not think you can get params from PipelineModel
a potential solution is to access Estimator through stage() of PipelineModel

@CodingCat  yes, i have tried, the type of following have to be XGBoostClassificationModel
xgbCVModel.bestModel.asInstanceOf[PipelineModel].stages(1).asInstanceOf[XGBoostClassificationModel]

so this approach works or not?

It does not work ,there is no params in result.
res2: org.apache.spark.ml.param.ParamMap =
{
        XGBoostClassificationModel_f143165f6ace-featuresCol: features,
        XGBoostClassificationModel_f143165f6ace-labelCol: label,
        XGBoostClassificationModel_f143165f6ace-outputMargin: false,
        XGBoostClassificationModel_f143165f6ace-predictionCol: prediction,
        XGBoostClassificationModel_f143165f6ace-rawPredictionCol: probabilities,
        XGBoostClassificationModel_f143165f6ace-use_external_memory: false
}

It works well by the same approach in spark classification model of ML library, for example decision tree , random forest and so on.

which works well,
xgbCVModel.bestModel.asInstanceOf[PipelineModel].stages(1).asInstanceOf[XGBoostClassificationModel]
or
directly from pipelineModel?

this
xgbCVModel.bestModel.asInstanceOf[PipelineModel].stages(1).asInstanceOf[XGBoostClassificationModel]
following is my decision tree model params
    val dtBestModel = dtCVModel.bestModel.asInstanceOf[PipelineModel].stages(1).asInstanceOf[DecisionTreeRegressionModel]
    dtBestModel.extractParamMap()

and result , you can see params :  maxBins is 10,  maxDepth is 5
res0: org.apache.spark.ml.param.ParamMap =
{
        dtr_374dff2d7188-cacheNodeIds: false,
        dtr_374dff2d7188-checkpointInterval: 10,
        dtr_374dff2d7188-featuresCol: features,
        dtr_374dff2d7188-impurity: variance,
        dtr_374dff2d7188-labelCol: label,
        dtr_374dff2d7188-maxBins: 10,
        dtr_374dff2d7188-maxDepth: 5,
        dtr_374dff2d7188-maxMemoryInMB: 256,
        dtr_374dff2d7188-minInfoGain: 0.0,
        dtr_374dff2d7188-minInstancesPerNode: 1,
        dtr_374dff2d7188-predictionCol: prediction,
        dtr_374dff2d7188-seed: 926680331
}

yes, this is expected, because in the current implementation, we take all params as estimator params, in another word, you cannot get params from a Model object

ok i am looking forward to repair this issue in future releases, and also another one https://github.com/dmlc/xgboost/issues/2115

did you set ML's model params explicitly? from Spark's impl, I cannot find any code which can propagate the params from estimator to model, (maybe I missed something since I only went through it)

sorry ,i can't understand "did you set ML's model params explicitly?" , i also cannot find how to implement it in spark source code.

I mean, if you directly train a model through a pipeline, it will get the params in a model object (not the default value)?
I have this question because I didn't find anything which propagate the params from estimators to models in Spark ML source code

I will give you my test code, due to the test data is very simple, so it is maybe the best params is the default value , but in my practical project code , i am sure ,it will show the best params.
import org.apache.spark.ml.{Pipeline, PipelineModel}
import org.apache.spark.ml.evaluation._
import org.apache.spark.ml.tuning.{CrossValidator, ParamGridBuilder}
import org.apache.spark.ml.feature.VectorAssembler
import org.apache.spark.ml.regression.{DecisionTreeRegressionModel, DecisionTreeRegressor}
import scala.collection.mutable
import scala.util.Random

   val r = new Random(0)
    val training = spark.createDataFrame(
      Seq.fill(10000)(r.nextInt(2)).map(i => (i, i))
    ).toDF("feature", "label")

    val test = spark.createDataFrame(
      Seq.fill(10000)(r.nextInt(2)).map(i => (i, i))
    ).toDF("feature", "label")

    val assembler = new VectorAssembler()
      .setInputCols(Array("feature"))
      .setOutputCol("features")

    //    decision tree test
    val dtEstimator = new DecisionTreeRegressor()
      .setLabelCol("label")
      .setFeaturesCol("features")
      .setPredictionCol("prediction")

    val dtParamGrid = new ParamGridBuilder()
      .addGrid(dtEstimator.maxDepth, Array(5,20))
      .addGrid(dtEstimator.maxBins, Array(10,30))
      .build()

    val pipelineDT = new Pipeline()
      .setStages(Array(assembler, dtEstimator))

    val cvDT = new CrossValidator()
      .setEstimator(pipelineDT)
      .setEvaluator(new RegressionEvaluator()
        .setLabelCol("label")
        .setPredictionCol("prediction")
        .setMetricName("rmse")
      )
      .setEstimatorParamMaps(dtParamGrid)
      .setNumFolds(5)

    val dtCVModel = cvDT.fit(training)
    val dtBestModel = dtCVModel.bestModel.asInstanceOf[PipelineModel].stages(1).asInstanceOf[DecisionTreeRegressionModel]
    dtBestModel.extractParamMap()
    /*
res0: org.apache.spark.ml.param.ParamMap =
{
        dtr_374dff2d7188-cacheNodeIds: false,
        dtr_374dff2d7188-checkpointInterval: 10,
        dtr_374dff2d7188-featuresCol: features,
        dtr_374dff2d7188-impurity: variance,
        dtr_374dff2d7188-labelCol: label,
        dtr_374dff2d7188-maxBins: 10,
        dtr_374dff2d7188-maxDepth: 5,
        dtr_374dff2d7188-maxMemoryInMB: 256,
        dtr_374dff2d7188-minInfoGain: 0.0,
        dtr_374dff2d7188-minInstancesPerNode: 1,
        dtr_374dff2d7188-predictionCol: prediction,
        dtr_374dff2d7188-seed: 926680331
}
    */

thanks, I will investigate it further, it seems that XGBoost4J-Spark is not working well when coming to pipelineModel and cross validation model

I just got a chance to look at this, why you want to do
val pipelineDT = new Pipeline()
      .setStages(Array(assembler, dtEstimator))

where you repeatedly transform the same columns into vector?

ok, I will work on a PR to resolve this issue

https://github.com/dmlc/xgboost/pull/2214 should resolve the issue


fix: #2740: escape index field separator in input strings

Update the datalayer movie tests in graphql and updates the data layer store code to fix these issues:

properly escape the index field separate ('#') when it is present in a field and when used in a query
pad numeric values for proper sorting. (NOTE: this hardcodes numeric values to 4 places. I'm currently thinking we can expose this as an optional field property in the schema but for now this should be sufficient for most use-cases)
fix a bug in how fields were being ordered
removes unused default property in the TinaIndex type

closes #2740
testing
You can test this by running yarn dev-data in the experimental examples tina-cloud-starter after adding a '#' character to the title of one of the blog posts and then executing a query like:
        query GetPostsList(
            $first: Float,
            $after: String,
            $last: Float,
            $before: String,
            $sort: String,
            $filter: PostsFilter!) {
          getPostsList(first: $first, after: $after, last: $last, before: $before, sort: $sort, filter: $filter) {
            edges {
              cursor
              node {
                data {
                  title
                  date
                  published
                }
              }
            }
            pageInfo {
                hasNextPage
                endCursor
            }
          }
        }

{
    "filter": {
        "title": {
            "eq": "Just# Another Blog Post"
        }
    },
    "sort": "title"
}

@Enigmatical this is ready to review again - added a bunch of integration tests and fixed a few bugs that I found after adding the tests


CIP-???? | Social Governance - Budget Guardrails

One of the most obvious points of "Social Governance" in the current draft version of the Cardano Constitution is the definition, ratification, and execution of an annual "Treasury Budget".
This CIP aims to address and define some guardrails and expectations that we, the Cardano Community, agree to require of any proposed Cardano Budget action and its administrators and the subsequent and related Treasury Withdrawals associated with said budgets.
Link to Rendered Version

One edit for your consideration:
“… a singular entity SHALL NOT administer more than 50% of any budget or budget category.”

@Crypto2099 looking forward to a posted issue soon about the implications & guidelines for the implied creation of a Governance category as per prior https://github.com/cardano-foundation/CIPs/pull/935#issuecomment-2462083598 ... we can post pending remarks on "Governance CIPs" in that issue rather than here or in the related CPS.  Marking Triage to kick these off together at next CIP meeting: https://hackmd.io/@cip-editors/100

One edit for your consideration:
“… a singular entity SHALL NOT administer more than 50% of any budget or budget category.”

"Budget category" is confusing, it is better to use consistent term "bucket". In case there are many small budgets proposed within a year, maybe we can specify as follow
A singular entity SHALL NOT administer more than 50% of the _Net Change Limit_ within the same _Net Change Period_. A singular vendor SHALL NOT receive more than 50% of the _Net Change Limit_ within the same _Net Change Period_ A singular vendor SHALL NOT receive more than 85% of the budget allocated to each **bucket** within the same _Net Change Period_.

A budget proposal MUST specify its validity period. A budget proposal MUST NOT have a validity period longer than net change period time.
This might be too restrictive as some research might take more than 1 year as Charles have mentioned? For Research budget we can maybe have an exception on validity period but restriction to below 10% of the Net Change Limit?

A budget proposal MUST specify its validity period. A budget proposal MUST NOT have a validity period longer than net change period time.
This might be too restrictive as some research might take more than 1 year as Charles have mentioned? For Research budget we can maybe have an exception on validity period but restriction to below 10% of the Net Change Limit?

It becomes too complex and difficult for DReps and CC members to track what budget has been earmarked 2, 3, 4, or 5 years in the past that should now be funded in the future. If research is valuable last year and continues to need funding to continue into this year then it should naturally be part of the next budget cycle that will get approved and allotted during the specified budget period.

A budget proposal MUST specify its validity period. A budget proposal MUST NOT have a validity period longer than net change period time.
This might be too restrictive as some research might take more than 1 year as Charles have mentioned? For Research budget we can maybe have an exception on validity period but restriction to below 10% of the Net Change Limit?

It becomes too complex and difficult for DReps and CC members to track what budget has been earmarked 2, 3, 4, or 5 years in the past that should now be funded in the future. If research is valuable last year and continues to need funding to continue into this year then it should naturally be part of the next budget cycle that will get approved and allotted during the specified budget period.

That would be the job of the Budget Committee, basically the Budget Committee acts like a Chief Accountant in a Business, this should be a fairly easy job for most average accountant. This bucket will be proposed by the Product Committee and reviewed by the Budget Committee, DReps & CC can trust these two committee to do their jobs and vote to replace these committees if necessary? This would offer a balanced trade-off for longer commitment, especially if we limit this bucket to below 10% of the TOTAL budget.

Removing Triage label as per https://github.com/cardano-foundation/CIPs/issues/937#issuecomment-2468168150 until https://github.com/cardano-foundation/CIPs/issues/937 achieves CIP editor quorum & community consensus.

Excellent CIP and in support. An area that I think requires more thought and adjustment is “Decentralised processes” as I find some contradictions within this CIP.

A budget proposal MUST designate one or more administrators who will be responsible for the oversight process

VS

To promote equitable access to Treasury funds and mitigate risk, no singular entity SHOULD be administrator for more than 85% of any budget or budget category. The remaining balance MAY be assigned to an alternate administrator as part of the budget proposal or MAY be left unassigned and left to community determination via direct Treasury Withdrawal proposals.

How I'm interpreting this, we can't leave 15%+ "unassigned" and the whole budget proposed would need to have at least two administrators if we stick with the 85% cap.
Separately, do we see an issue with the budget proposer also being the administrator? I.e. submitter of a budget info action also named as administrator.
Overall, I think it provides a very good standard and framework.


feat: testnet selector, env vars

What this does
This enables the ability to easily switch between the mocknet server and the testnet staging server. This functionality needed to be built for the eventual use case of switching between mainnet and testnet. An added benefit of this is now we are passing the env variables via the server, and not when it's built. The variables are loaded within the server and then passed to the redux store.
todo

[x] save a cookie with selection and load it on first load

@kyranjamie can you 👀 this today?
One more feature I think this might need is we could add a ?network=${selectedNetwork} in the url that the application can parse to make an on-the-fly switch for when folks share links, or at the very least give more information as to why someone might not see a tx if they are on the testnet/mocknet.
Or maybe this should just be a dev mode only feature! Would love your thoughts.

@kyranjamie as we spoke I will make a new PR with the ts-ignore changes


Feature Request - Add a function for recovery email which can be used to reset password.

Hello Rainloop,
Been using rainloop for the past months now and I am very stratified with the panel!
A feature I would like to suggest would be a function where a user can setup a recovery email on their account in the settings that can be used to reset their password incase they forget it.
I have been searching around and it doesnt look like anyone has made this function for rainloop before, this is why I am requesting it.
Please let me know if there is a chance this could be added in the near future or if anyone could make a plugin for this.

This need to be part of the change password plugins because there's no other way RainLoop can change/reset passwords


OOB Issuance for multiple records ( FE  )

[ ]  UI development for Issuance Page
[ ]  UI development of Popup
[ ]  Responsiveness
[ ]  Dark and Light mode
[ ]  API Integration
[ ]  Developer Testing

API is not ready.


proposal: cmd/compile: make -pack the default behavior and remove the flag

TL;DR: I propose making cmd/compile's -pack flag the default behavior and removing the flag. The goal of this is to simplify the compiler's output file formats.
Background: Logically, cmd/compile produces two outputs when compiling a package: the "compiler object" (mainly package export data used by later compilations that import this package) and the "linker object" (compiled function instructions, global data, and other information used by the linker to create the final executable).
However, traditionally compilers only output a single file output. cmd/compile followed this pattern by embedding the compiler object data directly into the linker object with an ad hoc embedding strategy. Because the compiler object data was entirely textual at the time, the embedding framing was textual too (terminated with the sequence "$$").
Since then, the compiler has evolved in two pertinent ways:

Adding the -pack flag, which allows the compiler to write a single standard UNIX archive file, so that tools can more easily find the compiler/linker output they specifically need.
Changing the compiler object's export data representation from textual to binary.

Because the export data is now binary, the textual framing is somewhat tedious: '$' characters need to be escaped, lest they be misinterpreted as the end-of-compiler-object sequence. This escaping is unnecessary when the compiler object is separated from the linker object (such as when the -pack flag is used), but to keep tools simpler, we currently use escaping unconditionally.
By making -pack the default and only mode of operation, we can more easily and independently evolve the compiler and linker output formats.
cmd/go, gb, and Google's internal build system all use the -pack flag. Bazel's Go build rules did not, but uncovered #21703 because of it.
It's also worth noting that cmd/compile has its -linkobj flag, which allows writing the linker output to a separate file from the compiler output. The issues above don't apply when -linkobj is used, but for simplicity/consistency I propose we still make -pack the default/only mode here. However, I'm open to discussing or reevaluating this later.

I don't think this needs to be a formal proposal that is reviewed by the proposal committee.  I think this can be decided by the compiler developers.
I think the main thing to think about is that people do invoke the compiler directly.  I think we should keep the -pack flag, at least for a while, even if it becomes a no-op.  And if possible the old workflow of invoking the compiler without -pack and then running go tool pack should continue to work, even if the formats being used are different.  See #21703.

@ianlancetaylor Perhaps a formal proposal is over the top. I mostly wanted to give users and third-party build systems a chance to comment on any issues with making -pack the default behavior.
I think leaving -pack as a noop for a while is fine.
I'm open to ensuring that "go tool compile a.go && go tool pack c a.a a.o" continues to work, but I don't have any good ideas how to accomplish that. I also worry the effort to make this work will exceed the effort of changing those use cases to just invoke "go tool compile -pack a.go" instead (which already works, and also avoids #21703 in older Go releases).
For what it's worth, "go tool compile a.go && go tool compile b.go" will continue to work fine whether a.go is compiled into a.o or a.a.

Can't go tool pack c a.a a.o simply observe that a.o is already an archive, and just copy it to a.a?

When we run "compile -pack a.go", we don't emit a.o. We only emit a.a, with a file entry named _go_.o.
We could potentially make "go tool pack c X.a Y.o" a noop if 1) X.a already exists and contains a file named go.o, and 2) Y.o does not exist?

The interesting case is where -pack is not specified.  I guess what we need to decide is, even if we always emit an archive, what file name we are going to choose if neither -pack nor -o are used?

I see. To be explicit: in proposing that -pack become the default behavior, I meant that "compile a.go" would start emitting a a.a file (containing _go_.o), instead of emitting a a.o file. I.e., the same as "compile -pack a.go" does today.

It's worth noting that bazelbuild/rules_go, in the general case, actually invokes pack like so:
go tool asm asm1.s
go tool asm asm2.s
...
go tool compile -o pkg.o src1.go src2.go ...
go tool pack c pkg.a pkg.o asm1.o asm2.o ...

So we'd have to more generally recognize that pkg.a already exists and contains pkg.o (as go.o), but then still append the assembly object files.

Given that sequence of commands, presumably pkg.a would not exist, because the -o option would tell the compiler to generate pkg.o.

Ohh, I think I understand your earlier suggestion now.
So in the rules_go scenario, yes, pkg.o would exist because of the -o pkg.o flag, but it would now actually be a UNIX archive. cmd/pack could potentially then recognize that (not unlike how today it recognizes Go object files to synthesize a __.PKGDEF entry), and start by simply copying it to pkg.a as is, like you suggested.
The scenario I had in mind earlier though is when -o is not used. In that situation, I would expect cmd/compile to emit a .a file by default, so there won't be any .o file. I don't know how to gracefully handle this situation transparently.

I really don't want to do this right now. The go command is happy with the arrangement and is the primary consumer. Are there other consumers for which this causes a problem? It seems hardly any work to keep working as is.
Also I'm working in the go command on making .x files supported well anyway.
I'm worried about breaking existing uses in other scripts, and I don't see any real benefit here. If you want to optimize the -pack path further, at the cost of performance on the non-pack path, that's fine with me. But please let's keep both.

Going to mark this proposal-declined. Again it's fine to optimize for the -pack code path, but please keep the .o output working. It should not be too difficult. If, at some later point, redoing the object file format bubbles sufficiently far up the stack, then I could see unifying them so that -pack is a no-op, but I don't see any significant benefit to that churn today.


Don't work properly on non-english SO (windows)

OS: [e.g. Windows 10]
Commit/Build: [e.g. b227928]
Hi,
It seems that I can't properly use '´' accent´or '^' when pyHook is running. It seems that I can't properly use '^' accents when pyHook is running. My keyboard is non-english (spanish). Can't accentuate words too.

Unfortunately there is nothing I can do about this since it is related to the pyhook module.


[New document concept] ASP.NET OSS Developer Projects

On the 2/21 Standup (23:14), [@]jongalloway shows two lists of OSS .NET tools, frameworks, libraries, and software:

Awesome .NET (quozd/awesome-dotnet)
.NET Open Source Developer Projects (dotnet/dotnet-developer-projects.md)

Jon called these lists a "treasure trove of neat open source .NET stuff." It would be great if something like this (or a subset of the links specifically relevant to ASP.NET Core) was incorporated as a reference doc into the ASP.NET Core docs to help devs discover and navigate all of the wonderful ancillary technologies for .NET.
There's also:

.NET Open Source Consumer Projects (dotnet/dotnet-consumer-projects.md)
Free Services & Tools for Open Source .NET Projects (dotnet/dotnet-free-oss-services.md)

If you like the concept (at least the concept of having portions of these lists dealing with ASP.NET-related OSS content in a doc), I hope it isn't too presumptuous of me to suggest asking Vitali Fokin ([@]quozd) if he would like to author such a doc.
If you prefer I move the entire issue over to dotnet/docs, I'll move it over there. As usual if this falls under the GooberRex:tm: series of goofy ideas, feel free to close. :grin:

Maybe a better place for this is off the http://dot.net under the community page?
cc: / @shanselman @jongalloway

I'm just concerned about its discoverability. The doc(s) could put anywhere and get a mention and link in a blurb at the end of the Introduction to ASP.NET Core doc, or there could be a doc at the very bottom of the TOC ... just above API Reference.
This stuff is so hot, I think all devs should know it exists.

@dend please review

@Rick-Anderson @GuardRex @spboyer I am all for making these part of the documentation, but not sure if it deserves a super-special treatment.

@tdykstra @Rick-Anderson @jongalloway
Awesome .NET! and .NET Open Source Developer Projects are well maintained. How about just linking these as the last two links in the Next steps section of https://docs.microsoft.com/en-us/aspnet/core/? Let me know, and I'll 🤜 knock it out 🤛.

@Rick-Anderson There's no movement here ... shouldn't we just close this?


feat(Illustrations): Add Maze illustration to gamut-illustrations

Overview

Adds the Maze illustration to gamut-illustrations.

🚀 Styleguide deploy preview ready!https://6168b9f9da017f006d021c7c--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://61699607076d220d86c2ea9e--gamut-preview.netlify.appDeploy Logs


GPTQ for RWKV

This is work in progress and serve as main thread for any questions related to this topic

@BlinkDL Do I have to quantize blocks.1.att.* as well ? (I am thinking of key, value, receptance weight)

@BlinkDL Do you happen to have a reference perplexity measure (or whatever metrics ) I can use as a baseline ?

@BlinkDL Do you happen to have a reference perplexity measure (or whatever metrics ) I can use as a baseline ?

https://github.com/BlinkDL/ChatRWKV/blob/main/v2/benchmark.py

Question: would we expect a huge improvement wrt perplexity if we did quantization-aware training?

How's it going :) are you in Discord

Yep, I sent a message on discord in quantization channel

Hi. Is it available now?

@Evilran Hi, making it work with chatRWKV is too much of a hassle because it requires to change the RWKV class too much, thus the PR will not be accepted. However, I made it work with HuggingFace version of RWKV if you want: https://github.com/3outeille/GPTQ-for-RWKV


Allow FireFly core to start, even if an individual Namespace cannot initialize

Currently if you specify an invalid batch pin contract address for a namespace, either at startup, or when configuration dynamically reloads, then the whole FireFly core server fails with this error:
2023-03-21T11:14:31.573Z]  INFO Resolving FireFly contract at index 0 ns=default pid=41459
[2023-03-21T11:14:31.573Z] DEBUG ==> POST http://<IP_ADDRESS>:5102/ breq=Ul7tPf2a pid=41459 proto=ethereum
[2023-03-21T11:14:31.591Z] ERROR <== POST http://<IP_ADDRESS>:5102/ [404] (17.56ms) breq=Ul7tPf2a pid=41459 proto=ethereum
Error: FF10111: Error from ethereum connector: FF00164: No result found

This same error would occur if there were a temporary error contacting the blockchain through the blockchain connector.
This PR proposes a tweak to this such that this particular namespace will continue to retry its initialization, even if this one namespace cannot be initialized.
To do this the namespace initialization becomes asynchronous, and I had to make a change to the just-in-time creation of the ff_system namespace as a result of that (because we can't do the checking on that until after the V1 namespace has initialized, which now becomes async).
While initializing namespaces cannot be used on the API, and are not returned from /api/v1/namespaces by default.
However, there is a query to specify you would like to see them:
curl -s 'http://localhost:5000/api/v1/namespaces?includeinitializing' | jq
[
  {
    "name": "default",
    "networkName": "default",
    "description": "Default predefined namespace",
    "created": "2023-03-21T15:49:28.333291Z",
    "initializing": true,
    "initializationError": "FF10111: Error from ethereum connector: FF00164: No result found"
  }

Note this PR does not change the behavior of FireFly in the case that a plugin fails to initialize.

Trying go 1.19 for the swagger - I thought we were still on 1.18 🤔

Codecov Report

Merging #1231 (642f4b3) into main (681908a) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

:exclamation: Current head 642f4b3 differs from pull request most recent head 1f61cf3. Consider uploading reports for the commit 1f61cf3 to get more accurate results

@@            Coverage Diff             @@
##             main    #1231      +/-   ##
==========================================
- Coverage   99.97%   99.93%   -0.04%
==========================================
  Files         307      306       -1
  Lines       20189    20141      -48
==========================================
- Hits        20183    20127      -56
- Misses          3       13      +10
+ Partials        3        1       -2

Impacted Files
Coverage Δ

internal/namespace/configreload.go
100.00% <ø> (ø)

pkg/core/namespace.go
100.00% <ø> (ø)

internal/apiserver/route_get_namespaces.go
100.00% <100.00%> (ø)

internal/apiserver/route_spi_get_namespaces.go
100.00% <100.00%> (ø)

internal/apiserver/server.go
100.00% <100.00%> (ø)

internal/coreconfig/coreconfig.go
100.00% <100.00%> (ø)

internal/namespace/manager.go
100.00% <100.00%> (ø)

... and 9 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Swift support

If you wish to use BetweenKit in your swift application, follow these instructions on how to use CocoaPods in a swift app. We need to include this in the Installation documentation so its clear.


Accounts disappeared after Update to <IP_ADDRESS>8

After the upgrade to version <IP_ADDRESS>8 (released 16th Feb. 2015) accounts are deleted or they are not shown anymore (didn't check in database yet).
I updated from the previous released version using the automated update-script.
I used to login with one mailaddress<EMAIL_ADDRESS>and there I had multiple e-Mail accounts. After the upgrade only the account for<EMAIL_ADDRESS>is left.

Version <IP_ADDRESS>8 it is breaking changes.
You need to recreate your accounts and identities.

Just a thought: Is it possible to show the amin a warning before updating when there is a breaking change? It could save you a couple of bug reports and possible emails.

Also previously I was able to set two accounts with two different skins. Currently setting skin is for the whole instance. Can I set somehow two different skins per account?

Also previously I was able to set two accounts with two different skins.
Currently setting skin is for the whole instance. Can I set somehow different skins per account?

No, most of settings now are per user, not per account.

No, most of settings now are per user, not per account.

Can you reconsider adding skin setting as per account? I use several accounts and I used different skin to distinguish between current selected account. Right now I have to check which account I have currently selected.

Can you reconsider adding skin setting as per account?

Ok

Just a thought: Is it possible to show the amin a warning before updating
when there is a breaking change? It could save you a couple of bug reports and possible emails.

Yes, it's a great idea.

Can you reconsider adding skin setting as per account?

Done, try to update your version.


Will  you suport Horizon Forbidden West？

its already on pc

It would be amazing if he did it for Forbidden West.


Newsletter-282-Translate-into-French

@bitschmidty @murchandamus  can you help me with this error please ?
## Check that posts declare a slug, see issue #155 and PR #156

! git --no-pager grep -L "^slug: " _posts

_posts/fr/newsletters/2023-12-20-newsletter.md

Pushed a small commit to removing trailing space and fix the build. @Copinmalin let me know when the newsletter is ready for review and out of draft mode.

Thanks for your help @bitschmidty @murchandamus

I noticed that the title differed from the prior years, and that the excerpt variable had been translated. I renamed it to the original which fixed the intro paragraph.

Scrolled over it, now looks good visually. Did not check all the links this time, there are too many.

I checked a few links and scrolled over it a bit slower one more time. LGTM, we can fix any minor issues that might still be discovered. Thanks @Copinmalin and @Jluc-bitcoinfr


Add map() functionality

Is your feature request related to a problem? Please describe.
I want to be able to convert HttpResponse<A> to HttpResponse<B> without having to take out the body with getBody. This is because I want the caller to be able to handle the HttpResponse object, I don't just want to return A or B. Specifically it would be nice to able to convert HttpResponse<A[]> to HttpResponse<Stream<A>>.
Describe the solution you'd like
A function of type:
HttpResponse<V> map(Function<T, V> func);

That returns a new HttpResponse with all the same data except that it transforms the body with the given function (functor). It would be a new object reference but has all of the same data (headers, parsing errors, etc).

This one is complete and will be in the next release (soon....first lets talk about #262 )


[KeyVault] Remove rbac1.6

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

linked issue: https://github.com/azure/azure-sdk-for-net/issues/28259

API change check for Azure.ResourceManager.KeyVault
API changes are not detected in this pull request for Azure.ResourceManager.KeyVault


Don't remove user configured rpc timeouts

Codecov Report

Merging #602 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #602      +/-   ##
============================================
+ Coverage     75.01%   75.02%   +0.01%
- Complexity      933      934       +1
============================================
  Files           176      176
  Lines          4074     4076       +2
  Branches        322      323       +1
============================================
+ Hits           3056     3058       +2
  Misses          865      865
  Partials        153      153

Impacted Files
Coverage Δ
Complexity Δ

...n/java/com/google/api/gax/rpc/AttemptCallable.java
76.19% <100%> (+2.5%)
4 <0> (+1)
:arrow_up:

Continue to review full report at Codecov.

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


ASAN: found crash in ReadClient::Close

Problem
ASAN found in https://github.com/project-chip/connectedhomeip/runs/7998105176?check_suite_focus=true
 READ of size 8 at 0x612000004290 thread T0
    #0 0x10868713a in chip::Messaging::ExchangeManager::GetSessionManager() const ExchangeMgr.h:184
    #1 0x108685918 in chip::app::ReadClient::CancelLivenessCheckTimer() ReadClient.cpp:817
    #2 0x1086855bb in chip::app::ReadClient::StopResubscription() ReadClient.cpp:71
    #3 0x108686781 in chip::app::ReadClient::Close(chip::ChipError, bool, bool) ReadClient.cpp:190
    #4 0x108685c5d in chip::app::ReadClient::~ReadClient() ReadClient.cpp:91
    #5 0x108686984 in chip::app::ReadClient::~ReadClient() ReadClient.cpp:90
    #6 0x1086869a8 in chip::app::ReadClient::~ReadClient() ReadClient.cpp:90
    #7 0x107506f0c in std::__2::default_delete<chip::app::ReadClient>::operator()(chip::app::ReadClient*) const unique_ptr.h:54
....
    #43 0x1074dbe25 in Commands::~Commands() Commands.h:28
    #44 0x1074d8f64 in Commands::~Commands() Commands.h:28
    #45 0x1074d8e60 in main main.cpp:49
    #46 0x7fff2043cf3c in start+0x0 (libdyld.dylib:x86_64+0x15f3c)

0x612000004290 is located 80 bytes inside of 296-byte region [0x612000004240,0x612000004368)
freed by thread T0 here:
    #0 0x10a79ea59 in wrap_free+0xa9 (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x48a59)
    #1 0x10871ea16 in chip::Platform::MemoryFree(void*) CHIPMem-Malloc.cpp:111
    #2 0x108b468bf in void chip::Platform::Delete<chip::Messaging::ExchangeManager>(chip::Messaging::ExchangeManager*) CHIPMem.h:169
    #3 0x108b45ded in chip::Controller::DeviceControllerSystemState::Shutdown() CHIPDeviceControllerFactory.cpp:461
    #4 0x108ab7144 in chip::Controller::DeviceControllerSystemState::Release() CHIPDeviceControllerSystemState.h:160
    #5 0x108ab7009 in chip::Controller::DeviceController::Shutdown() CHIPDeviceController.cpp:349
    #6 0x108abbe4a in chip::Controller::DeviceCommissioner::Shutdown() CHIPDeviceController.cpp:495
    #7 0x108523b3a in CHIPCommand::ShutdownCommissioner(std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> >) CHIPCommand.cpp:334
    #8 0x108523550 in CHIPCommand::MaybeTearDownStack() CHIPCommand.cpp:147
    #9 0x1085249b6 in CHIPCommand::Run() CHIPCommand.cpp:206
    #10 0x10857b2b0 in Commands::RunCommand(int, char**, bool) Commands.cpp:147
    #11 0x10857994d in Commands::Run(int, char**) Commands.cpp:51
    #12 0x1074d8e54 in main main.cpp:48
    #13 0x7fff2043cf3c in start+0x0 (libdyld.dylib:x86_64+0x15f3c)

previously allocated by thread T0 here:
    #0 0x10a79e910 in wrap_malloc+0xa0 (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x48910)
    #1 0x10871e8e0 in chip::Platform::MemoryAlloc(unsigned long) CHIPMem-Malloc.cpp:91
    #2 0x108b42e61 in chip::Messaging::ExchangeManager* chip::Platform::New<chip::Messaging::ExchangeManager>() CHIPMem.h:145
    #3 0x108b3f3a0 in chip::Controller::DeviceControllerFactory::InitSystemState(chip::Controller::FactoryInitParams) CHIPDeviceControllerFactory.cpp:166
    #4 0x108b3e3a6 in chip::Controller::DeviceControllerFactory::Init(chip::Controller::FactoryInitParams) CHIPDeviceControllerFactory.cpp:67
    #5 0x10851f923 in CHIPCommand::MaybeSetUpStack() CHIPCommand.cpp:104
    #6 0x1085244c9 in CHIPCommand::Run() CHIPCommand.cpp:189
    #7 0x10857b2b0 in Commands::RunCommand(int, char**, bool) Commands.cpp:147
    #8 0x10857994d in Commands::Run(int, char**) Commands.cpp:51
    #9 0x1074d8e54 in main main.cpp:48
    #10 0x7fff2043cf3c in start+0x0 (libdyld.dylib:x86_64+0x15f3c)

I assume this is somehow only related to failure paths, so not marking it as critical v1.

Maybe related to #19591, unsure (seems similar close and darwin platform)

This is basically the same as https://github.com/project-chip/connectedhomeip/issues/20085

Closing as duplicate of #20085


Localized UI: Button "Copy" falls to the next line on a page of an empty repository.

In Russian UI, button "Copy" which is on a page of an empty repository falls to the next line because of the string length.

Actually this is a css problem. If you decrease the width of your browser window, the problem may occur.

This should be fixed already.


LANG-1500 | Test may fail due to a different order of fields returned by reflection api

this fixes LANG-1500.
In this PR, it proposes:

Sort the fields with their names for a deterministic order (alphabetical)
Modify some test assertions to match the behavior

Coverage decreased (-0.01%) to 95.365% when pulling d5d01c2191f4e2a801f07d0a37ffcba183071e25 on contextshuffling:test-inhance into 1163e177137f5c57ce80092c0743209b28d33400 on apache:master.


[WIP] Optimize block gathering and dispatching

This pull request improves block gathering by allowing to concurrently sending and receiving blocks using a Multi Producer/Multi Consumer concurrent channel. This replaces the previous system that worked with a regular mutexed vector (Mutex<Vec<Block>>).
This allows better parallelization from both end of the queue.

MY BAD. This is a fail on my end. I'm closing this.


Multiple versions of @greymass/eosio in bundle, might be causing issue on windows

I think we can just update ual-anchor to solve this problem. It may only be an issue on windows or specific end user versions.

This is resolved now, but didn't fix the issue above.


⚠ Bofrost.lu has degraded performance

In 87e5116, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 836 ms

Resolved: Bofrost.lu performance has improved in abaf99f after 6 minutes.


Issues/1740 live tailing improvements

[ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)
Generalize instead of prop drill i've made a context to share the SeekDirection , and made minor code modifications.
and Fixed the issue.
Is there anything you'd like reviewers to focus on?
if the old functionality still exists , i did check it myself everything works fine. but a second eye wouldn't hurt @Haarolean
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

[ ] No need to
[x] Manually (please, describe, if necessary)
[x] Unit checks
[ ] Integration checks
[x] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
[x] My changes generate no new warnings (e.g. Sonar is happy)
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged

Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)

The Test Coverage can be done by another issue since this file in it self had a lot of things uncovered.


'set backspace= autoindent' not vi compatible

in nvi the copied whitespace is backspace able, not in vim when 'backspace' is empty

Isn't that just nvi behaviour and not vi behaviour?

for the record, ex-vi behaves as vim


Add support for mongoid 4

Coverage remained the same at 94.23% when pulling 7aff534f96cd1d8a716356791e8dedbf8f5d79d7 on add_support_for_mongoid_4 into 4274d0a0e21b8c9485f7c748fbe8ea18bb4de0e6 on master.

Coverage remained the same at 94.23% when pulling 7aff534f96cd1d8a716356791e8dedbf8f5d79d7 on add_support_for_mongoid_4 into 4274d0a0e21b8c9485f7c748fbe8ea18bb4de0e6 on master.


Currency symbol assumption is wrong

See https://github.com/JavaMoney/jsr354-ri/issues/149

It has been fixed in bp as well.


problems during and after host consensus rescan

Hi,
I noticed a couple of effects during or after the host does a consensus rescan. (I don't have the exact sequence of events which triggered the original rescan, possibly I triggered it by removing the consensus set).
(i) after the rescan the host apparently advanced in block height by 2 for each block received. Seems to be because ConsensusSetSubscribe() leaves the host subscribed even if it returns an error. (i.e. in host's initConsensusSubscription() the ErrInvalidConsensusChangeID error is used to trigger the rescan, after which the host subscribes again, leaving it subscribed twice).
(ii) sometimes I saw some panics during the rescan, from within initRescan(). Apparently due to the requeue of action items for all storageobligations at the end of initRescan, where it can call queueActionItem with a height below the current blockHeight. (i.e. so.expiration()-revisionSubmissionBuffer for an older storageobligation).
Sorry I don't have proper errors to report for this ticket. I hope it helps anyway.
David

That's a pretty advanced understanding of the code. You are correct, ConsensusSetSubscribe does not correctly unsubscribe a module in the event of an error. This bug affects all modules, not just the host.
This is a pretty significant bug. The fix is in #1290. Thanks for highlighting this, I'm disappointed that I didn't catch this myself during testing. Your report also made it very easy to track down the problem, I thank you for that as well.