hyprctl switchxkblayout current next - device not found

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  at commit 9a09eac79b85c846e3a865a9078a3f8ff65a9259  (props: bump version to 0.42.0).
Date: Wed Aug 7 19:17:10 2024
Tag: v0.42.0, commits: 5069

flags: (if any)

System Information:
System name: Linux
Node name: karasique
Release: 6.10.8-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Wed, 04 Sep 2024 15:16:37 +0000

GPU information:
64:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev dd) (prog-if 00 [VGA controller])

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

plugins:

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

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

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

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

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

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

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

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

# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,1

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

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

# Set programs that you use
$terminal = foot
$fileManager = dolphin
$menu = rofi -show drun -show-icons

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

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

# exec-once = $terminal
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox
exec-once = /usr/lib/polkit-kde-authentication-agent-1
exec-once = swww-daemon
exec-once = waybar
exec-once = /home/amogus/.config/hypr/pgupdn_switch.sh
exec-once = [workspace 2 silent] firefox

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

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

env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24

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

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

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

    border_size = 1

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

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

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

    layout = dwindle
}

misc {
    disable_hyprland_logo = true
    disable_splash_rendering = true
    force_default_wallpaper = 0
}

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

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

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

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

        brightness = 1
        vibrancy = 1
        ignore_opacity = true
    }
}

group {
    col.border_active = rgb(DDCCFF)
    col.border_inactive = rgba(595959aa)

    groupbar {
        height = 1
        render_titles = false
        col.active = rgb(6a8f60)
        col.inactive = rgb(646e8a)
    }
}

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

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

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05
    bezier = myBezierNotJumpy, 0.05, 0.9, 0.1, 1
    bezier = ws, 0, 1, 0.5, 1

    animation = windowsIn, 1, 7, myBezierNotJumpy
    animation = windowsOut, 1, 7, default, popin 80%
    animation = windowsMove, 1, 3, myBezierNotJumpy
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 3, ws
    animation = fadeSwitch, 1, 1, default
}

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

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

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

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

    follow_mouse = 1

    sensitivity = 0.2 # -1.0 - 1.0, 0 means no modification.

    touchpad {
        natural_scroll = true
        scroll_factor = 1
    }
}

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

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

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

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

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, T, exec, $terminal
# Kill the process in the activewindow. Useful for killing buggy xwayland apps when MOD + C doesn't work
binds = Super_L&Alt_L, X, exec, hyprctl activewindow | grep pid | cut -d: -f2 | tail -n 1 | xargs -I{} kill {}
bind = $mainMod, Q, exit,
bind = $mainMod, F, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, SPACE, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# Disable annoying pgup and pgdn buttons
bind = , Prior, exec, "echo 'no-op' > /dev/null"
bind = , Next, exec, "echo 'no-op' > /dev/null"

### Special keys
# Volume control
bindel = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindl = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
# Brightness control
bindel = , XF86MonBrightnessDown, exec, sudo brillo -qU 5
bindel = , XF86MonBrightnessUp, exec, sudo brillo -qA 5
# Screenshots
bind = , XF86Display, exec, grimblast copy area

### Window management
# Misc
bind = $mainMod, X, killactive,
bind = $mainMod, F, fullscreen, 0
bind = $mainMod, less, exec, hyprctl switchxkblayout current next

# Resize window
binde = $mainMod ALT, right, resizeactive, 20 0
binde = $mainMod ALT, left, resizeactive, -20 0
binde = $mainMod ALT, up, resizeactive, 0 -20
binde = $mainMod ALT, down, resizeactive, 0 20
bind = $mainMod ALT, less, resizeactive, exact 1223 1146

# Move focus
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
binde = $mainMod, grave, changegroupactive, f

# Move window within workspace
# Doesn't work yet, see: https://github.com/hyprwm/Hyprland/issues/4368
bind = $mainMod CTRL, left, swapnext, prev,
bind = $mainMod CTRL, right, swapnext,
#bind = $mainMod CTRL, right, movewindow, r
bind = $mainMod CTRL, up, movewindow, u
bind = $mainMod CTRL, down, movewindow, d

# Move/resize windows with mouse
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

### Workspace management
# Scroll through existing workspaces
binds = Super_L&Shift_L, right, workspace, +1
binds = Super_L&Shift_L, left, workspace, -1

# Switch workspaces
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]
binds = Super_L&Control_L&Shift_L, right, movetoworkspace, +1
binds = Super_L&Control_L&Shift_L, left, movetoworkspace, -1
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

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

### Misc

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

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

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

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

windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
windowrulev2 = center(1), class:firefox
windowrulev2 = workspace 2, class:firefox
windowrulev2 = group barred, workspace:2
windowrulev2 = group override set, class:firefox
windowrulev2 = workspace 4, initialTitle:Spotify
windowrulev2 = workspace 3, class:webstorm
windowrulev2 = opacity 0.85 0.75, class:foot

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

Description
Hi. I tried to set up kb layout switching as described in the documentation, but the following doesn't work even though the docs say it should:
➜  ~ hyprctl switchxkblayout current next
device not found

Not sure if this is expected and the docs are outdated, or if it is a regression.

}

I'm running Hyprland from the Arch repo
Name            : hyprland
Version         : 0.43.0-1

Huh, interesting. I'll try to update to 0.43.0 tomorrow to see if that helps, thank you.

This happens for me on the random basis on just started Hyprland, and manifests in the nwg-panel -> KeyboardLayout module. hyprctl -j devices returns {'mice': [], 'keyboards': [], 'tablets': [], 'touch': [], 'switches': []}. If I re-launch the panel after a while, it works well.


Unable to import support mixins

I've added the relevant json libs as well as akka-http-circeas library dependencies and am still unable to identify the imports
import Json4sSupport._
when I try compile I get
not found: value Json4sSupport

circe and Json4s are different libraries and such are the respective Akka-http-json libs.

I don't understand your reply. I have also added
  "org.json4s" %% "json4s-native" % "3.6.7",
  "org.json4s" %% "json4s-jackson" % "3.6.7"

to my dependencies.
Still unable to import Json4sSupport.

@levinotik Hi, Levi!
Json4s has not fixed security vulnerabilities, please double-check if it will not affect your business: https://github.com/json4s/json4s/issues?utf8=✓&q=is%3Aissue+is%3Aopen+denial

@plokhotnyuk Thanks for the heads up. That's not my concern at the moment though. I'm just trying to get circe to work and I'm (clearly) missing something basic. Can't seem to import the support traits at all in spite of adding to my dependencies. My build.sbt looks as follows:
name := "http-things"

version := "0.1"

scalaVersion := "2.13.1"

libraryDependencies ++= Seq(
  "com.typesafe.akka" %% "akka-stream-testkit" % "2.5.23",
  "com.typesafe.akka" %% "akka-http-testkit" % "10.1.10",
  "com.typesafe.akka" %% "akka-http"   % "10.1.10",
  "com.typesafe.akka" %% "akka-stream" % "2.5.23",
  "org.scalatest" %% "scalatest" % "3.2.0-M1" % Test,
  "org.specs2" %% "specs2-core" % "4.7.1" % Test,
  "org.json4s" %% "json4s-native" % "3.6.7",
  "org.json4s" %% "json4s-jackson" % "3.6.7",
  "de.heikoseeberger" %% "akka-http-circe" % "1.29.1"
)

Am I missing something here?

@levinotik IMHO you should use import FailFastCirceSupport._ for adding circe support.

You are importing Akka-http-circe, that‘s the wrong one.

What's the right one? Did I misread the README? It says
Mix ArgonautSupport, FailFastCirceSupport or ErrorAccumulatingCirceSupport, JacksonSupport, Json4sSupport, JsoniterScalaSupport, PlayJsonSupport, UpickleSupport or AvroSupport into your Akka HTTP code which is supposed to (un)marshal from/to JSON. Don't forget to provide the type class instances for the respective JSON libraries, if needed.

Ohhh I see, there's a "akka-http-json4s" artifact. That's very unclear from the README. Thanks.


refactor: proper portal setup for fees + test

Fixes #7692.
Gets rid of assets directly in the rollup contract. The rollup contract will instead make a call to the portal to get it to pay some funds to the sequencer, currently named payTheMan.
Calling initialize on the fee juice portal require that it have been funded to ensure that the deployment of the l2 fee assets does not lead to an undercollateralized case.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#7944  👈
#7939
master

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

Join @LHerskind and the rest of your teammates on  Graphite

we gotta do something other than payTheMan immediately or itll stick lmao

Benchmark results
Metrics with a significant change:

avm_simulation_time_ms (Token:mint_public): 88.8 (+105%)
avm_simulation_time_ms (Token:assert_minter_and_mint): 40.4 (-40%)
avm_simulation_time_ms (Token:transfer_public): 36.1 (+79%)
avm_simulation_time_ms (Token:_increase_public_balance): 44.1 (-41%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,748
1,551
698 (+1%)
770 (+2%)
772 (+1%)

proof_construction_time_sha256_30_ms
11,823
3,169
1,415
1,432
1,472

proof_construction_time_sha256_100_ms
44,102
12,586 (-1%)
5,728 (+1%)
5,655 (+2%)
5,536

proof_construction_time_poseidon_hash_ms
78.0 (-1%)
34.0
34.0
58.0 (-2%)
88.0

proof_construction_time_poseidon_hash_30_ms
1,527
418
200
219 (-4%)
267 (+1%)

proof_construction_time_poseidon_hash_100_ms
5,649
1,526
675 (-1%)
728 (-1%)
754 (+1%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
4,324
7,844
14,852

l1_rollup_calldata_gas
49,732
92,446
177,644

l1_rollup_execution_gas
1,294,395
2,042,077
3,869,314

l2_block_processing_time_in_ms
257 (-2%)
451
838 (+1%)

l2_block_building_time_in_ms
9,304
18,305 (+1%)
36,383

l2_block_rollup_simulation_time_in_ms
9,303
18,305 (+1%)
36,382

l2_block_public_tx_process_time_in_ms
7,870
16,739 (+1%)
34,792

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
2,984
3,924 (+1%)

node_database_size_in_bytes
12,722,256
16,801,872

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

FeeJuice:_increase_public_balance
54.7 (+1%)
8,139

FeeJuice:set_portal
9.86 (+3%)
2,362

Token:constructor
79.8 (-7%)
31,107

FPC:constructor
54.7 (+3%)
22,380

FeeJuice:mint_public
37.6
6,150

Token:mint_public
:warning: 88.8 (+105%)
11,720

Token:assert_minter_and_mint
:warning: 40.4 (-40%)
8,028

AuthRegistry:set_authorized
45.8 (+1%)
4,537

FPC:prepare_fee
244 (-3%)
8,812

Token:transfer_public
:warning: 36.1 (+79%)
47,374

FPC:pay_refund
59.0
12,114

Benchmarking:increment_balance
977
7,450

Token:_increase_public_balance
:warning: 44.1 (-41%)
8,960

FPC:pay_refund_with_shielded_rebate
71.2 (+2%)
12,663

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.161 (+2%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
2.17 (-2%)
3.86
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.111 (-2%)
0.109
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
11.4
17.7 (-1%)
30.8 (-1%)
61.8 (+5%)
113 (+1%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.109
0.103 (-1%)
0.0997 (-1%)
0.106 (+5%)
0.101 (-1%)

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
14.2 (-1%)
25.5 (-1%)
43.6 (-1%)
82.9 (+1%)
161 (-2%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.108 (-2%)
0.103
0.105 (-1%)
0.103 (+1%)
0.102 (-2%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
16.3
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
132
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.105
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
64,779
668,997

Transaction size based on fee payment method
| Metric |  |
| - |  |


[RFP] Name for the tool

times-excel-reader is a bit unwieldy and perhaps doesn't capture the purpose and scope of the tool accurately. We invite proposals and feedback!
Some suggestions to start the ball rolling:

tidi for TImes Data Ingester or TImes Data Interpreter
tida for TImes Data Analyser (though we don't really do too much analysis..)

@ggiannakidis @pedodds @jamesglynn @markusblesl @lippkaufelix @panosev @sophiechlela @willcattoneeca

I quite like the original times-excel-reader - I understand what it does from the name.
I don't have a good alternative.  Maybe "Community interpretater for TIMES models (CITE)"?

I would prefer a name that provides straightforward information about what the tool is doing and what purpose is.
Since it provides a flexible interface to convert VEDA EXCEL-format files to another format, e.g., flat text files. suitable for GAMS my suggestion is something like "TIMES XLS to DD Converter"  or simply TIMES XL2DD tool. Yes, I am very bad at finding names for tools :-)

From my limited knowledge of the TIMES project, it seems that whilst the input format of this tool is relatively fixed, the output format could change if the model is translated to another language. Would avoiding using GAMS or DD in the name make it more future-proof?

From: panosev @.>
Sent: 28 August 2023 09:19
To: etsap-TIMES/times-excel-reader @.>
Cc: Assign @.***>
Subject: Re: [etsap-TIMES/times-excel-reader] [RFP] Name for the tool (Issue #109)
I would prefer a name that provides straightforward information about what the tool is doing and what purpose is.
Since it provides a flexible interface to convert VEDA EXCEL-format files to another format, e.g., flat text files. suitable for GAMS my suggestion is something like "TIMES XLS to DD Converter" or simply TIMES XL2DD tool. Yes, I am very bad at finding names for tools :-)
—
Reply to this email directly, view it on GitHubhttps://github.com/etsap-TIMES/times-excel-reader/issues/109#issuecomment-1695250125 or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADGVRUSWRPYSGH65BY26MJTXXRIA3BFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOJIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVE3DAMBVGQ4DONZSQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRRHA3DOMBWG42DAN5HORZGSZ3HMVZKMY3SMVQXIZI.
You are receiving this email because you were assigned.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

What about, a simpler name like "Excel to TIMES" or XL2TIMES, that does not bound to specific language and data format, other than that the source of data should be EXCEL ?

 The same data formats produce input for MARKAL in older versions of Veda, and they will be used to prepare input for other models in future.
So, the Excel files that are being read are Veda-TIMES files. Calling them TIMES excel files gives the false impression that ~FI* and ~TFM* tags are TIMES concepts.
https://veda-documentation.readthedocs.io/en/latest/

Community Interpreter of Veda-TIMES Models (CIVE) ?

I want to re-enforce the point Amit is making. The design of the VEDA TIMES templates is something that arose from the knowledge, skills and innovation residing with KanORS. Not only do I feel that this needs to be acknowledged in the name of this new tool, but such credit for the "tags" concept for handling TIMES input data in a dynamic flexible manner needs to be properly credited to KanORS in the documentation. So "VEDA" must appear someplace in name at the very least seems to me.
With that said consider variants along the lines of what Amit suggests above or perhaps Veda-TIMES Template Interpreter.

Gary's suggested name, VEDA-TIMES Template Interpreter, works well in my opinion and I also agree that the word VEDA should be used in the name for consistency with the approach taken. Also, even the trainings provided by ETSAP are called VEDA-TIMES trainings, considering that the main focus is how to build and/or use a TIMES model built in VEDA.

I like the proposal of Amit a lot. Community Interpreter for Veda-TIMES Models is easy to understand. Among the 3 given abbreviations I like CIVE the most (but what is the "E" for?)

I like the proposal of Amit a lot. Community Interpreter for Veda-TIMES Models is easy to understand. Among the 3 given abbreviations I like CIVE the most (but what is the "E" for?)

Just borrowing a vowel from "Veda-TIMES" - to make it pronounceable.

Great discussion so far. Please keep it coming!
Some things that we as developers would like to make sure and will impact the choice:

the name should be available on PyPi;
the name should not limit the functionality of the tool (e.g. with respect to possible inputs / outputs);
the name should communicate the focus on TIMES

@Olegandro, I think you are missing the point. The use of the ~tags enabling the flexibility of the VEDA TIMES templates needs to be explicitly acknowledged. It really is the intellectual property of KanORS, which Amit is willing to "share" but with due credit given for it.

Won't the reference to TIMES have a similar contradiction? Like I already said, the generic syntax you are reading can serve any RES-based model. In fact, this tool could be even more effective for models that do not have an evolved interface at this point.
And the "Veda way" you refer to is quite deep. You have to compare with ANSWER for that. You could possibly evolve the "Veda way" in this project, but I don't see how you can move away from it.

Veda does also have a general meaning, "knowledge" (from Sanskrit) , and so it would be suitable regardless of the input formats supported.  :-)

Appologies if the "Veda way" was perceived negatively. There was no intention from me to for it to sound that way!

@olejandro, I think you are missing the point. The use of the ~tags enabling the flexibility of the VEDA TIMES templates needs to be explicitly acknowledged. It really is the intellectual property of KanORS, which Amit is willing to "share" but with due credit given for it.

Thanks for sharing you opinion @gagdad2. I don't have any issue acknowledging "Veda input format for TIMES models". However I see the functionality of the tool going beyond this input format.

But you still plan on employing the ~tag & highly flexible table configuration concepts, right. Those are the brainchild of Amit, & including VEDA in the name of this ETSAP sponsored R&D undertaking seems to me to be a good idea to acknowledge that explicitly,

Thanks again @gagdad2! If you ask me, I think there are better / more appropriate ways of acknowledging Amit's contribution.

it's not simply about that, he's requested said acknowledgement & deserves it.

thanks @gagdad2 for expressing your opinion and concern. The purpose of this issue is to collect ideas for the naming of the tool. Based on the ideas collected and a suitability check (e.g. the name should be available on PyPi), we'll make a poll to find a name appealing to the community.

This project is an open source tool to convert TIMES model Excel input files to DD format ready for processing by GAMS. The intention is to make it easier for people to reproduce research results on TIMES models.

These statements ignore the existence of Veda - it is subsumed in TIMES. I just want to ensure that developers and users of this project are aware that Veda and TIMES are separate entities.
"TIMES model input files" are the DD files. The Excel files you are refering to are Veda input files. These Excel files contain an original syntax that introduced a new way of creating data - via rule-based processing of flexible formats. For example, the ability to identify nodes of a RES based on set membership, name, description, and topology and add/edit parameters - is Veda. This has absolutely nothing to do with TIMES. The project is replicating this ability using different software tools, without mentioning "Veda" anywhere, which implicitly makes all the data concepts of Veda a part of TIMES.

Thanks @akanudia. I have opened a separate issue to update the project description.

That's a great idea @olejandro. Actually, I have no interest in influencing the name of this tool. I mainly want the description to be factually correct and for it to be written with non-ETSAP audience in mind.

Thank you all for your comments. Please vote for the new name of the tool on this google form:
https://forms.gle/JPa4tv2RzgijqgJE8
(The form requires signing into a Google account. Email addresses are only used to ensure no duplicate or spam votes. All emails will be deleted when the poll is resolved on Wed 22 Nov.)
The shortlist includes all names suggested above that met the criteria and that were not already taken on PyPI.

Hi everyone,
The poll has been concluded, and the new name of the tool is xl2times. The URL to the GitHub repo has changed to:
https://github.com/etsap-TIMES/xl2times
It will soon be available to install via pip (pip install xl2times or https://pypi.org/project/xl2times/). The full results were:

Thank you all for your feedback.


Bug: Slider resetting on all touch screen devices when scrolling

Device: iPad Air 2 using iOS 10.0.1
Website: http://meandmax.github.io/lory/
On the Lory homepage, testing on the iPad I notice that when any slide is not on the first and you scroll, the slide for whatever reason resets itself to the first slide.

I've noticed that this affects all touch screen devices. Affected on iOS (iPad & iPhone) and on Android (Chrome, and no doubt Android browsers too).
Any update as to whether this will be picked up? Almost been 2 weeks now since I have raised this yet there has been no acknowledgment of the issue.

Hey @SukhKalsi,
Are you able to pass in rewindOnResize as false through the options? I know some devices change the view size on scroll and if a resize event fires on the page the sliders will go back to the first slide by default.

I have exactly the same problem. Passing rewindOnResize: false doesn't fix the issue. Can anybody copy that?

I had the same problem on iOS (10.x.x), and Android (6.x). The option rewindOnResize: false fixed it.

Does anybody have a fix for this. Would be highly appreciated... ;)

We could fix it with options { infinite: false, rewindOnResize: false }. rewindOnResize doesn't work when infinite is true. So it's important to set it to false

👍

I have a similar issue to this, which is triggered when i remove/add elements to the slider. I'm calling lory like this:
 var slider = document.querySelector('.buying-mobile__container'); var inst = lory(slider, {              infinite: false,              rewindOnResize: false,              rewind: true });
and calling inst.setup(); when i have finished updating the dom.
any help would be appreciated.

@motoringcouk Please open your own issue ticket with a demo link highlighting the issue you are wanting to present.

I was able to address part of the issue on mobile by adding the following into the onResize function in the plugin:
function onResize (event) {

        if(window.innerWidth == wWidth) {
            return;
        } else {
            wWidth = window.innerWidth;
        }

        reset();

        dispatchSliderEvent('on', 'resize', {
            event
        });
    }

and defined wWidth at the top near lory's definition:
    let index   = 0;
    let options = {};
    let wWidth  = window.innerWidth;

The original description is a feature, not a bug. Closing this.


modifies components + adds walk

So I'm not sure about this pull request at all. The original idea was to add walk_to and walk_from to Resolve / ResolveMut. I'm not crazy about the signature:
    fn walk_to<F, B>(&self, ptr: &Pointer, f: F) -> Result<ControlFlow<B>, Self::Error>
    where
        F: Fn(Component, &Self::Value) -> ControlFlow<B>,
    {
        let _ = self.resolve(ptr)?;
        let root = self.resolve(Pointer::root()).unwrap();
        let mut last = None;
        for component in ptr.components() {
            match component {
                Component::Root => {
                    last = Some(f(Component::Root, root));
                }
                Component::Token {
                    token,
                    index,
                    offset,
                    pointer,
                } => {
                    let value = self.resolve(pointer).unwrap();
                    let tok_len = token.encoded().len();
                    let ctrl_flow = f(
                        Component::Token {
                            token,
                            pointer,
                            index,
                            offset,
                        },
                        value,
                    );
                    if offset + tok_len >= ptr.len() {
                        // last token
                        return Ok(ctrl_flow);
                    }
                    if ctrl_flow.is_break() {
                        return Ok(ctrl_flow);
                    }
                    last = Some(ctrl_flow);
                }
            }
        }
        Ok(last.unwrap())
    }

I'm tempted to rip out Components / Component. Initially I thought this would cut down on a good bit of code in my json schema compiler but I'm doubting whether its worth it.
Would love your feedback when you get time @asmello

I'm setting this PR aside. I'm just going to push 0.5 with the way things are, including Component / Components. There's room for improvement or removal, not sure which.
I'll leave this one open for now but I don't think walk_to / walk_from are going to make the cut, at least not with the signature above.


Add pagination and filter to get resource

Right now resource is returning all items. We need to return around 10 items (the no. of items to return need to be configured from the config).
use the query parameter to achieve this

#50 implement this change


About how AST is generated

Should the generated code use the parser to parse the new text instead of modifying the AST? Because the range field of the original code cannot locate the newly generated code, will this be unfriendly to some errors?

Yes. It will be unfriendly in some cases.
@willemneal and I are working on making it better. This takes time sometimes.


Google Drive hotlinking support

I've yet to find a media server app that allows the offloading of transcoding to be handled by Google Drive via hotlinking media.
I currently use Google Drive for my storage needs of my media due to travelling around a lot so I find it cumbersome to carry around extra drives.
Google Drive does all the transcoding work for me, depending where I stream from, I can select what quality I want to receive. This puts no pressure on my system and I don't have to keep a server running at home and pay for a beefed up internet connection to stream abroad. Google handles all of that for me.
What I can't do with Google Drive is have a nice UI like streama.
If Streama could put a feature in where you can host a streama VPS and hotlink to Google Drive accounts, I think that would be a really great feature to have. For people that want to use streama outside the home and don't have the internet connection bandwidth to stream abroad in high quality, Google Drive is one of the best options. (clouds in general). I'd be willing to pay for a cheap VPS to have streama running on where I could login to it anywhere I am and stream my hotlinked Google Drive files.
Also I have a couple of Google Drive accounts so it would be great to have support for multi-account importing and even just an input field where you can input a google drive hotlinked URL would be sufficient.

This has been touched on in #15 to an extent.  Though this would be a better solution than generic URL based third party linking.  However, at that point you're essentially just wrapping their API with a pretty skin, don't know Google's thoughts on that, might want to check into their licensing first.  It would play nicely with chromecast though I bet.

From my understanding it would be 'ok' with Google. This is a open-sourced platform afterall.  There are lots of apps out there as well which utilize google drive for backing up config data, syncing videos/photos/files etc, and those apps are sometimes paid ones.
Other platforms like Emby utilize google drive for storing transcoded video files, the problem with that is you have to have an Emby server, store the video file, have Emby transcode it, have Emby then upload the transcodes to Google Drive. When I'm on the go I don't want to have a media server at home transcoding a media file then uploading to google drive, I see it as nailing two birds with one stone if you just upload your media to Google Drive and utilize their player for handling transcoding.

It sounds to me more like you just want the UI from streama connected to 1+ google accounts instead of having a backend that can stream to some device, whether it's the one that's viewing the UI or a chromecast or something along those lines.  At that point it would make more sense to create a LITE mobile version that would allow you to connect drive accounts that are stored on the device, then connects to drive and stores meta data about watched status back to drive, and would use an html5 player or connect to a chromecast to stream directly from drive.  Would remove the need for a VPS since everything would be run locally on your phone or streaming through drive.
I haven't looked at Google's licensing for drive so I'm not going to claim knowledge of their T&C for usage and streaming from their platform, but my guess would be that the responsibility all falls on the user, not the developer as long as you're not trying to do anything malicious, just felt the need to mention that it's something to keep in mind when you're looking to interface with another service like that.

yeah you are right in the sense that you don't really need a VPS then. rather just something like a cordova based app platform that has a nice UI and allows you to connect to your google drive accounts and import the hotlinks.

Would be pretty easy to have the UI save to local storage and the api at
the same time and fetch from both, api getting priority if it's configured,
then running mobile or desktop without a configured server back-end would
provide that same functionality without a lot of extra code.
On Mon, Aug 3, 2015, 6:26 PM worlddev<EMAIL_ADDRESS>wrote:

yeah you are right in the sense that you don't really need a VPS then.
rather just something like a cordova based app platform that has a nice UI
and allows you to connect to your google drive accounts and import the
hotlinks.
—
Reply to this email directly or view it on GitHub
https://github.com/dularion/streama/issues/60#issuecomment-127430502.

Wondering if this feature was still being considered, as it would benefit me as well. It would be amazing just to be able to hotlink the streamed videos (in varying qualities) from Google Drive directly to the HTML5 player, saving the bandwidth of the strema server.

Updates?


use fewer epochs in cell2location test mode

Submission type

[X] This submission fixes a bug (link to related issue: )

Testing

[X] This submission was written on a forked copy of SingleCellOpenProblems
[x] GitHub Actions "Run Benchmark" tests are passing on this base branch of this pull
request (include link to passed test: https://github.com/scottgigante-immunai/openproblems/actions/runs/2959547178)
[X] If this pull request is not ready for review (including passing the "Run
Benchmark" tests), I will open this PR as a draft (click on the down arrow next to the
"Create Pull Request" button)

Submission guidelines

[X] This submission follows the guidelines in our
Contributing document
[X] I have checked to ensure there aren't other open Pull Requests for the
same update/change

PR review checklist
This PR will be evaluated on the basis of the following checks:

[X] The task addresses a valid open problem in single-cell analysis
[X] The latest version of master is merged and tested
[X] The methods/metrics are imported to __init__.py and were tested in the pipeline
[X] Method and metric decorators are annotated with paper title, year, author, code
version, and date

Thanks!


xAxes ticks not updated after new data

Describe the bug
Start: two day range hourly = 48 data elements & labels  -> everything OK

Switching to day basis = two data elements and two labels.
The data is updated but the chart xAxes does not. I tried this.$refs.chart.chartInstance.update() but nothing changed
I thought the data i put into the chart is not reactive. So i added an output of the chartData in the template and the data is updating.

I checked the ticks with the following
console.log("Count Labels",this.chartData.labels.length);
console.log("Count Data",this.chartData.datasets[0].data.length);
console.log("Count cAxis ticks",this.$refs.chart.chartInstance.scales.xAxes.ticks.length)

------ FIRST CHART
Count Labels 48
Count Data 48
Count cAxis ticks 24

----- SECOND CHART
Count Labels 2
Count Data 2
Count cAxis ticks 24

Is there a way to force update of the xAxes ticks?
Version of vue-chart-3
v2.0.5*
Version of Vue

[ ] Vue 3
[X] Vue 2
[ ] Nuxt 2
[ ] Nuxt 3

I am experiencing the same issue with the labels not reflecting the data after a change. Seems if you interact with the chart (i.e., selecting a bar) it  corrects, so maybe it's a nextTick thing. Anyhow, reverting to 0.5.11 fixes it for now. That said, this project is great and a real life saver. Looking forward to a fix. Thanks so much and keep up the great work.

Hi! Sorry for the late reply I don't have much time to look into this. If I find a little spot i swear to look at it! :D If you want to make it easier can you make a codesanbox with your bug? :D

Hi Victor,
Again many thanks for the work you've done here.
I don't know if this helps you but the change that causes the labels not to update happens in fix #33,
https://github.com/victorgarciaesgi/vue-chart-3/commit/b3b6769c7027493bd0fb7e4b10cee5c0f56888a2#
Specifically, replacing renderChart() at line 151/142 of components.ts with  chart.data.datasets = newData.datasets seems to be related. Reverting it locally fixes the issue for me. There are a lot of other refactors in there so I'm not sure that is the simple solution, but it might point you in the right direction.
Cheers

Hi,
i tried to create a repo which shows the error but did't get it replicated.
I checked the changes of commit https://github.com/victorgarciaesgi/vue-chart-3/commit/b3b6769c7027493bd0fb7e4b10cee5c0f56888a2 and tried to undo them in my code.
After replacing https://github.com/victorgarciaesgi/vue-chart-3/blob/af4d6b31434cd80f0410aa1f139e34e5b0c9b1aa/src/components.ts#L133  with the following code it works...
node_modules/vue-chart-3/dist/components.js
if (chart) {
     handleChartDestroy();
}
renderChart();

In my app I use the options api.
Instead of chart.data.datasets = newData.datasets;
i would do something like this.$set(chart.data,'datasets',newData.datasets)
Could this be the problem?

@victorgarciaesgi  i got an running codesandbox now
https://codesandbox.io/s/vue-chart-3-vue-2-composition-api-forked-4mf88?file=/src/App.vue

Sorry for responding just now. I will fix it!

i updated to latest @vue/composition-api 1.4.6... but the error is still there

Hmm try cleaning node_modules and cache, it's not the first down this error emerges for me and others, and the fix was always to update the @vue/composition-api version or remove/reinstall :/

Ok after delete package-lock.json it is running again. But the graph is still not correct.
I updated my codesandbox too:
https://codesandbox.io/s/vue-chart-3-vue-2-composition-api-forked-4mf88?file=/src/main.js

Thanks for the sandbox! I will look at it :)

It should be the same issue as #108 in Vue 3. I will look at it

@victorgarciaesgi is the fix from issue 108 also working for vue2?

Hum no sorry i overlooked, #108 was a Vue 3 problem, but it should be related, the fix should be the same

Should be fixed in 2.1.3!

@victorgarciaesgi i just tested the codepen and my own codebase and it's working now :)
Thank you!


Removing previously added style tags before adding new one.

Hopefully fixes #211, #294 and #337 (saw this one after committing) where multiple style tags were being appended to the head el. The newly created tag contained the rules of previous tags so now they're removed before adding the newly generated style elements.

Is in current gridster code. This can be closed.

The changes should have been made in the /src version of the file then build into the /dist I corrected this when I merged it into my fork dsmorse/gridster.js


heap-use-after-free in rx-subject.hpp

When I was testing with Thread Sanitizer, it kept complaining about this piece of code in rx-subject.hpp and it took a while for me to realize the problem here.
    if (b->current_generation != b->state->generation) {
        std::unique_lock<std::mutex> guard(b->state->lock);
        b->current_generation = b->state->generation;
        b->current_completer = b->completer;
    }

    auto current_completer = b->current_completer;

What happens if Thread-A updates b->current_completer just before Thread-B assigns b->current_completer to the local variable?  Assuming no one else is holding reference to b->current_completer, the instance will be destroyed by Thread-A and Thread-B may start operating on the destructed heap space.  Can you confirm?
The obvious solution is to not depend on generation numbers and always acquire the mutex and assign b->completer to a local variable.  I can submit a patch if we agree on the issue and a possible solution.

Yes, this is broken.
I have not seen this failing in practice. probably because generations are relatively rare and the shared_ptr refcounts are accessed atomically, so only the pointer-to the refcount block is handled unsafely.
There will be an atomic_shared_ptr in the near future that will enable this safely. But it is not generally available now.
The generations were added for perf reasons, mutex was so slow. I think that mutex has been improved on most platforms, so I expect a ton of complexity could be removed from subject if it was to begin locking a mutex in each on_next(). The completer and binder structs should disappear.
I would like to see this change, and check to see how the perf compares.
Thanks!

I'd suggest that we retain the completer and binder structs so that it'll be easier to use atomic_shared_ptr  once it is available.  For now, I'll provide a quick patch for comparing the perf with mutex usage in on_next.


Fix module parameter replacement for HybridEngine

This PR fixes a bug for the module parameter replacement for HybridEngine. The original implementation runs a number of non-op assignments in a for-loop, which will not affect the original PyTorch module.
For example:
for dst, src in [(mod.a, A), (mod.b, B), ...]:
    dst = src

for dst, src in [(mod.a, A), (mod.b, B), ...]:
    del dst

is not equivalent to:
mod.a = A
mod.b = B
...

del mod.a
del mod.b

the line dst = src will only drop the reference to the original tensor. This statement only makes the variable dst point to a new object in the for-loop body and has no effect on the module object.
This PR fixes this issue by calling setattr and delattr on the PyTorch module:
for m, dst_name, src in [(mod, 'a', A), (mod, 'b', B), ...]:
    setattr(m, dst_name, src)

for m, dst_name, src in [(mod, 'a', A), (mod, 'b', B), ...]:
    delattr(m, dst_name)

NOTE: nn.Module.__setattr__ and nn.Module.__delattr__ magic methods have been modified in nn.Module.

@microsoft-github-policy-service agree

@XuehaiPan - thanks for this PR! Can you please a client code or test that we can use to see the behavior? What exactly did you use to test/develop this?


swav-improvements

What does this PR do?
Quality checks for implementations of SWAV https://github.com/Lightning-AI/lightning-bolts/issues/839
Couple of points I would like to highlight.

Right now bolts is focused on standard datasets like CIFAR10, etc but it will be very amazing if we can adapt SSL module for custom tasks.
The SSL fine tuner is just a normal lightingModule we can remove it and let the user create one according to his/her needs. We will just provide the basic models and functionalities required for implementing SSL tasks.
These changes will require a substantial rewrite and we can discuss this in further issues.

Fixes https://github.com/Lightning-AI/lightning-bolts/issues/839
Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes?
[x] Did you write any new necessary tests? [not needed for typos/docs]
[x] Did you verify new and existing tests pass locally with your changes?
[x] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review

[x] Is this pull request ready for review? (if not, please submit in draft mode)

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

@krshrimali Can you trigger other runs ?

Done, @Atharva-Phatak! 🚀

@krshrimali Another run pls.

@krshrimali Another run please.

Done! Sorry for the delay. :(

@krshrimali Another run please.

Done! Sorry for the delay. :(

Hey, may I know the reason why I have to ask you or maintainers to trigger the run ? Is there anyway around this. I feel bad pinging you everytime.

@krshrimali Another run please.

Done! Sorry for the delay. :(

Hey, may I know the reason why I have to ask you or maintainers to trigger the run ? Is there anyway around this. I feel bad pinging you everytime.

Hi Atharva! As far as I remember, until your very first PR is merged, it's expected that a maintainer will have to approve the tests to run. I remember I had to do it myself as well, pinging my mentor all the time :D
But don't feel bad about it, if you are on PL slack, just message me there if that helps, my username is: krshrimali (I hope xD else just search with Kushashwa). Whenever you want to trigger the run, ping me there and I will do it.
Once your first PR is merged, you will not need me :))
Also, is there a way around it? Uhmmm, I am not very sure if there is. I will let @otaj answer this one. 🤎

@krshrimali Another run please.

Done! Sorry for the delay. :(

Hey, may I know the reason why I have to ask you or maintainers to trigger the run ? Is there anyway around this. I feel bad pinging you everytime.

Hi Atharva! As far as I remember, until your very first PR is merged, it's expected that a maintainer will have to approve the tests to run. I remember I had to do it myself as well, pinging my mentor all the time :D I think, the reason it makes sense is, is to prevent any one to spam our CI. A lot of resources go to each CI in the Lightning Ecosystem, hence this defense mechanism grinning
But don't feel bad about it, if you are on PL slack, just message me there if that helps, my username is: krshrimali (I hope xD else just search with Kushashwa). Whenever you want to trigger the run, ping me there and I will do it.
Once your first PR is merged, you will not need me :))
Also, is there a way around it? Uhmmm, I am not very sure if there is. I will let @otaj answer this one. brown_heart

@krshrimali I am going to ping you a lot haha :). I really want to join the lightning team.
I hope I will get the opportunity.

@otaj @krshrimali All tests are passing, finally. Hopefully this will be merged :)

Regarding if there's a way around it, I'm afraid, there isn't it. This is a protection against things like spamming, crypto mining in the CI and all of the ugly things regarding spammers having access to "free" compute. I believe the first merged commit is a reasonable filter.

@otaj Regarding resnets, The implementation of main class ResNet in SWAV is little different as it has multiple heads called as prototype heads. Hence I have not changed it. I agree that every single module should not implement resents, but considering this is an initial iteration I recommend we keep it that way. Once this major revision is complete.
I can take over the whole of SSL module as its not very customizable (in terms of models and datasets).
The reason why I am recommending this is many people are working on various modules, transforms, etc and we can discuss a major revision of SSL in bolts as it very much required because I think SSL is very important. Let me know what are you thought.s

@otaj Any updates ? Can this be merged ?


While Running formatInput.py and train.py I am getting these error

after running train.py

after running formatInput.py

@DAKSHSEMWAL
In formatInput.py , you have to write the file with write-byte flag like the code below
     with open("data", 'wb') as f:
        f.write(pickle.dumps(data.values()))

In train.py , you have to open the file with read-byte flag like the code below.
Do not forget to load the pickle with encoding of latin1 , otherwise you will get the error complaining that the character can't be represented in ASCII
    with open("labels", 'rb') as f:
        content = f.read()
        labels = pickle.loads(content,encoding='latin1')

I'm sorry to disturb you. Since the link of the data set of this project in the current year is invalid and the author cannot be contacted, I can only ask you in this way. If you still have the data set of this project, could you please send it to me<EMAIL_ADDRESS>


Update README.md

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

Test name
Status

init-deploy
passed

semi-sync
passed

monitoring
passed

sidecars
passed

config
passed

users
passed

commit: https://github.com/percona/percona-server-mysql-operator/pull/43/commits/831e523455b853719a44e54e8dae092e583637aa
image: perconalab/percona-server-mysql-operator:PR-43-831e523

Test name
Status

init-deploy
passed

semi-sync
passed

monitoring
passed

sidecars
passed

config
passed

users
passed

commit: https://github.com/percona/percona-server-mysql-operator/pull/43/commits/2f72fd2dcce09d86376131a59b8b64a1ed94d8f8
image: perconalab/percona-server-mysql-operator:PR-43-2f72fd2


add Go 1.19 to the build matrix

Coverage remained the same at 80.045% when pulling c26bc91641822030a6cb735cd5ff39091c412845 on bump-go1.19 into 80a7d3f5ec372ad02cfeedd3426dc4093d362a21 on main.


Added FOC files and script updates

Description
This adds FOC files for LISF 7.6 GHI test cases, script updates for Discover Milan nodes, and new HPC11 scripts for the Prod environment.

I have this marked as Draft, as the FOC files need to be approved by @dmocko.  Also, there is some confusion over whether JULES cases need to be included for the NRT-Streamflow and MR configurations.  Currently no use cases exist, therefore no FOC files exist.

Hi @emkemp
Thanks for organizing and testing all of these files and scripts!
I approve the ldt.config files for NRT (param, cdf, and ensemble - for all 3 LSMs).
I made some edits to the lis.config NRT files (mainly formatting and for consistency).
I placed my suggested versions of these files here:  /discover/nobackup/dmocko
I did not make the suggested changes below, as I have questions about them:

Can we move the AUTOTUNED ERROR COVARIANCE SETTINGS into the FORCINGS section, instead of at the bottom?
Why are the autotuned values different for Noah-MP-4.0.1 as compared to JULES/Noah-3.9?

I did not review the attribs, JULES namelist, or model "parms" files, as I'm assuming they are the same as the 7.5 FOCs.
If this is not the case, or you would like me to review them anyway, please let me know.

Thanks @dmocko.  I pushed your LIS NRT FOC changes to the branch.
To address your questions:
(1) Moving the autotuned error covariance settings will require changing the autotuning script. Also, it will introduce intermingled updated and static settings (since we don't use SSMI, GEOPRECIP, or CMORPH anymore).  It seemed best to keep all the updated covariance settings together, and putting them at the end of the file with the comment heading allows them to "stand out".  Also, remember these will be changed every run or two, so these are likely not to be looked at by human forecasters.
(2) Hmm. Good catch on the Jules and Noah covariances matching.  I wonder if I copied the wrong OBA files for the Jules case.  In general, I expect some differences between all three LSMs, as LSM snow cover will lead to rejected IMERG assimilation, which in turn will lead to slight differences in the overall data samples.  I will review.
The attribs, JULES namelist, and model "parms" files were all copied from the LISF 7.5 test cases, and should be identical.

The plot thickens:
I went back and looked at the SPD10M OBA files in the spin-ups (these will not be affected by LSM snow cover).  I see no differences between Jules50 and Noah39 at all, but I start seeing differences between Jules50 and NoahMP401 at 07Z 15 Sep 2024. This is when I started running the autotuning -- the T2M, RH2M, and SPD10M analyses are a blend of prior analysis and temporally interpolated background field, and always starts 6 hours prior to the "start" of the LIS run to ensure observations).  Unfortunately this means OBA files have been overwritten. (Maybe I should add code to toggle that off for the first few surface analyses.)
For the Jules50 and Noah39 OBA files, there are two additional observations that are missing in the NoahMP401 file. The SPD10M analyses have also diverged between NoahMP401 and Jules50/Noah39 at that point, and the autotuned SPD10M covariances for the<PHONE_NUMBER> run have differences between NoahMP401 and Jules50/Noah39.  I do not have an explanation why this should be.
I'll keep digging.  But this may require rerunning the OBA spin-ups.

Okay, I was looking in the wrong directories.  When I look in the actual spin-up directories w/ static covariances through 00Z 16 Sep, the only differences are with the precip_OBA files, as expected.
I'm guessing I made a mistake somewhere in setting up the "dynamic" spin-up directories, where autotuning and SMAP_E_OPL was turned on.  I'm still investigating.

Pending the autotuning test/values, I approve of the FOC and ancillary files added in this PR.
@yyoon4 - Please review and comment/approve on the NRT_STREAMFLOW and MR FOC and ancillary files.

Thank you for all the effort on the v7.6 delivery. I have reviewed the FOC files, and they are correctly placed.

Thanks @dmocko and @yyoon4.
On my end I completed test reruns of the three LSM spin-ups starting 00Z and 12Z 16 Sep 2024, including reruns of SMAP_E_OPL and rerunning the autotuning.  I now get identical results for OBA and covariance settings for rh2m, spd10m, and t2m (the precip differs as expected, since the LSM snow field affects IMERG assimilation).
I am concluding the differences reported by @dmocko was user error on my part -- I apparently didn't transition from static covariances to autotuning/SMAP_E_OPL consistently between the three LSMs.  This should have no affect on Ops.
@jvgeiger (or @dmocko):  I believe this is ready to merge.  Would one of you like to do the honors?

I will let @jvgeiger do the final review and merging.


Modify game options before the game starts

It'd be nice if there was an option to modify the current game options after the initial setup but before pressing the start button.

That was definitely on the TODO list, forgot to create an issue for it. I have to think how to reproduce the same dialog without copy pasting all the HTML.


Close #43 - Bump logback to 1.5.2

Close #43 - Bump logback to 1.5.2

Wait until the release of logback 1.5.2 is publicly announced.


readthedocs documentation rewrite

What this PR does / why we need it:
Updates our documentation to be written with rst and published on readthedocs.
Which issue this PR fixes: fixes #412
Special notes for your reviewer:
You can view a published copy of the site here: http://cert-manager.readthedocs.io/en/latest/
This is still WIP, and I've not finished porting across all the old user guides to the new format yet.
Keen to hear feedback 😄
Release note:
Rewrite documentation and publish on readthedocs

/test e2e v1.7


Error when starting pyright server: No "command" nor "tcp_port"

Getting this message whenever I start lsp-pyright on my project:

Windows 10; ST4 4107; Sublime-lsp: 1.6.0; LSP-pyright: 1.1.72

Looks like you don’t have a command set. Check the preferences of the LSP-pyright package.

Now I'm getting this instead, just on a test.py file with a single print statement

I checked and those path exists

What other packages do you have installed?
try disabling LSP-pyright and then enabling LSP-pyright with package control. It’ll reinstall the server files.

I have tried removing lsp and installing lsp, removing lsp-pyright and install lsp-pyright. Here are a list of packages:
'A File Icon.sublime-package'
Alignment.sublime-package
AutoDocstring.sublime-package
BracketHighlighter.sublime-package
ChangeQuotes.sublime-package
'Color Highlight.sublime-package'
Djaneiro.sublime-package
'Dockerfile Syntax Highlighting.sublime-package'
Emmet.sublime-package
Git.sublime-package
HTML5.sublime-package
INI.sublime-package
LSP-css.sublime-package
LSP-html.sublime-package
LSP-json.sublime-package
LSP-lemminx.sublime-package
LSP-pyright.sublime-package
LSP-stylelint.sublime-package
LSP.sublime-package
'Markdown Extended.sublime-package'
MarkdownPreview.sublime-package
'Material Theme.sublime-package'
Origami.sublime-package
'Package Control.sublime-package'
PackageDev.sublime-package
PowerShell.sublime-package
'PyYapf Python Formatter.sublime-package'
QuickView.sublime-package
RegexExplainTip.sublime-package
'Show Unicode Name.sublime-package'
SideBarEnhancements.sublime-package
'Smart Title Case.sublime-package'
SubLilyPond.sublime-package
SublimeLinter-contrib-bashate.sublime-package
SublimeLinter-contrib-htmlhint.sublime-package
SublimeLinter-contrib-yamllint.sublime-package
SublimeLinter-csslint.sublime-package
SublimeLinter-flake8.sublime-package
SublimeLinter-json.sublime-package
SublimeLinter-mdl.sublime-package
SublimeLinter-php.sublime-package
SublimeLinter-pydocstyle.sublime-package
SublimeLinter-pylint.sublime-package
SublimeLinter-xmllint.sublime-package
SublimeLinter.sublime-package
Terminus.sublime-package
'View In Browser.sublime-package'
jQuery.sublime-package
nginx.sublime-package
requirementstxt.sublime-package
sublack.sublime-package

LSP: Troubleshoot Server from the Command Palette might give some clue. Especially if there is some output.

Troubleshooting: LSP-pyright
Version

LSP: 1.6.0
Sublime Text: 4107

Server Test Run

exit code: 1
output

node:internal/modules/cjs/loader:944
  throw err;
  ^

Error: Cannot find module './dist/pyright-langserver'
Require stack:
- C:\Users\mchan811\AppData\Local\Sublime Text\Package Storage\LSP-pyright\16.3.0\language-server\node_modules\pyright\langserver.index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:15)
    at Function.Module._load (node:internal/modules/cjs/loader:774:27)
    at Module.require (node:internal/modules/cjs/loader:1013:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (C:\Users\mchan811\AppData\Local\Sublime Text\Package Storage\LSP-pyright\16.3.0\language-server\node_modules\pyright\langserver.index.js:8:1)
    at Module._compile (node:internal/modules/cjs/loader:1109:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
    at Module.load (node:internal/modules/cjs/loader:989:32)
    at Function.Module._load (node:internal/modules/cjs/loader:829:14)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\Users\\mchan811\\AppData\\Local\\Sublime Text\\Package Storage\\LSP-pyright\\16.3.0\\language-server\\node_modules\\pyright\\langserver.index.js'
  ]
}

Server Configuration

command

[
  "${node_bin}",
  "${server_path}",
  "--stdio"
]

shell command

"C:\Program Files\nodejs\node.EXE" "C:\Users\mchan811\AppData\Local\Sublime Text\Package Storage\LSP-pyright\16.3.0\language-server\node_modules\pyright\langserver.index.js" --stdio

selector

source.python

priority_selector

source.python

init_options

{}

settings

{
  "pyright": {
    "dev_environment": "",
    "disableLanguageServices": false,
    "disableOrganizeImports": false
  },
  "python": {
    "analysis": {
      "autoImportCompletions": true,
      "autoSearchPaths": true,
      "diagnosticMode": "openFilesOnly",
      "diagnosticSeverityOverrides": {
        "reportDuplicateImport ": "warning",
        "reportImplicitStringConcatenation": "warning",
        "reportUnboundVariable": "warning",
        "reportUnusedClass": "information",
        "reportUnusedFunction": "information",
        "reportUnusedImport": "information",
        "reportUnusedVariable": "information"
      },
      "extraPaths": [],
      "logLevel": "information",
      "stubPath": "./typings",
      "typeCheckingMode": "basic",
      "typeshedPaths": [],
      "useLibraryCodeForTypes": true
    },
    "pythonPath": "python",
    "venvPath": ""
  }
}

env

{
  "PATH": "C:\\Program Files\\nodejs;"
}

Active view

File name

C:\Users\mchan811\OneDrive - Comcast\Desktop\test.py

Settings

{
  "auto_complete_selector": "meta.tag, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",
  "lsp_active": null,
  "syntax": "Packages/Djaneiro/Syntaxes/Python Django.tmLanguage"
}

base scope

source.python.django

Project / Workspace

folders

[]

is project: False

LSP configuration
{
  "diagnostics_gutter_marker": "sign",
  "document_highlight_style": "fill",
  "log_debug": true,
  "log_server": [
    "panel"
  ],
  "show_diagnostics_count_in_view_status": true,
  "show_diagnostics_panel_on_save": 4,
  "show_references_in_quick_panel": true
}

System PATH

C:\tools\ruby30\bin
C:\ProgramData\Oracle\Java\javapath
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\ProgramData\chocolatey\bin
C:\ProgramData\chocolatey\lib\gsudo\bin\
C:\tools\BCURRAN3
C:\Program Files\Git LFS
C:\Program Files\MiKTeX\miktex\bin\x64\
C:\Program Files\Amazon\AWSCLIV2\
C:\Program Files\Java\jdk1.8.0_211\bin
C:\Program Files\LLVM\bin
C:\tools\libxml
C:\tools\fly\
C:\tools\bucc\bin
C:\tools\aws
C:\WINDOWS\System32\OpenSSH\
C:\tools\geckodriver
C:\tools\php80
C:\Program Files (x86)\Sennheiser\SenncomSDK\
C:\Program Files (x86)\scala\bin
C:\tools\ammonite
C:\Program Files\Calibre2\
C:\Program Files\OpenJDK\openjdk-11.0.11_9\bin
C:\Program Files\OpenJDK\openjdk-8u292-b10-jre\bin
C:\Program Files\PowerShell\7\
C:\Program Files\Sublime Text\
C:\Program Files\nodejs\
C:\Program Files\Git\cmd
C:\Program Files\Docker\Docker\resources\bin
C:\ProgramData\DockerDesktop\version-bin
C:\Users\mchan811\AppData\Local\Microsoft\WindowsApps
C:\Users\mchan811\AppData\Local\Pandoc\
C:\Users\mchan811.local\bin
C:\Program Files\Oracle\VirtualBox
C:\tools\neovim\Neovim\bin
C:\tools\dart-sdk\bin
C:\Users\mchan811\AppData\Roaming\Pub\Cache\bin
C:\Users\mchan811\AppData\Local\Coursier\data\bin
C:\Users\mchan811\null\Coursier\data\bin
<EMAIL_ADDRESS>C:\Users\mchan811\AppData\Roaming\npm

Try uninstalling the package and installing again, only watch the ST console when it's starting for the first time. It will print information when it's installing the server and there might be some error there.
@rwols Disabling the package no longer deletes the server so suggesting that won't work.

okay I'll try that

Uninstall messages:
ignored packages updated to: ["LSP-pyright", "Vintage"]
unloading python 3.3 plugin LSP-pyright.commands
reloading settings Packages/LSP-pyright/LSP-pyright.sublime-settings
unloading python 3.3 plugin LSP-pyright.plugin
reloading settings Packages/User/Package Control.sublime-settings
Traceback (most recent call last):
  File "C:\Users\mchan811\AppData\Roaming\Sublime Text\Installed Packages\Package Control.sublime-package\package_control/thread_progress.py", line 27, in <lambda>
  File "C:\Users\mchan811\AppData\Roaming\Sublime Text\Installed Packages\Package Control.sublime-package\package_control/thread_progress.py", line 51, in run
AttributeError: 'NoneType' object has no attribute 'set_status'
reloading settings Packages/User/Preferences.sublime-settings
Package Control: The package LSP-pyright has been removed
reloading settings Packages/User/Package Control.sublime-settings
ignored packages updated to: ["Vintage"]
reloading settings Packages/User/Package Control.sublime-settings

Re-install messages:
ignored packages updated to: ["LSP-pyright", "Vintage"]
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
Traceback (most recent call last):
  File "C:\Users\mchan811\AppData\Roaming\Sublime Text\Installed Packages\Package Control.sublime-package\package_control/thread_progress.py", line 27, in <lambda>
  File "C:\Users\mchan811\AppData\Roaming\Sublime Text\Installed Packages\Package Control.sublime-package\package_control/thread_progress.py", line 51, in run
AttributeError: 'NoneType' object has no attribute 'set_status'
reloading settings Packages/User/Package Control.sublime-settings
ignored packages updated to: ["Vintage"]
reloading python 3.3 plugin LSP-pyright.commands
reloading python 3.3 plugin LSP-pyright.plugin
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings

And then the messages on the first open of python file after installing?

??? Now it works?

I'm so confused...

That makes sense. Uninstalling the package has removed the server files that apparently got partially installed on the previous try.

If I open my previous python project though, I still get this:

That project appears to have custom lsp-pyright config, probably in the project file. Note how the lsp is in lowercase while the real LSP-pyright would have different case.

Here's the project config
{
	"folders":
	[
		{
			"path": "C:\\Users\\mchan811\\github-repos\\pypabs",
		}
	],
	"settings": {
		"python_interpreter": "C:\\tools\\miniconda3\\envs\\pypabs-dev\\python.exe",
		"SublimeLinter.linters.pylint.executable": "C:\\tools\\miniconda3\\envs\\pypabs-dev\\Scripts\\pylint.exe",
		"SublimeLinter.linters.flake8.executable": "C:\\tools\\miniconda3\\envs\\pypabs-dev\\Scripts\\flake8.exe",
		"SublimeLinter.linters.pylint.args": "--disable=E0401,E0611",
		"SublimeLinter.linters.flake8.args": "--ignore=F407",
		"LSP": {
			"Lsp-pyright": {
				"selector": "source.python",
				"settings": {
					"pyright.disableLanguageServices": false,
					"pyright.disableOrganizeImports": false,
					"python.analysis.autoImportCompletions": true,
					"python.analysis.autoSearchPaths": true,
					"python.analysis.diagnosticMode": "openFilesOnly",
					"python.analysis.diagnosticSeverityOverrides": {
						"reportCallInDefaultInitializer": "information",
						"reportConstantRedefinition": "information",
						"reportDuplicateImport ": "warning",
						"reportFunctionMemberAccess": "warning",
						"reportImplicitStringConcatenation": "warning",
						"reportImportCycles": "warning",
						"reportIncompatibleMethodOverride": "warning",
						"reportIncompatibleVariableOverride": "warning",
						"reportIncompleteStub": "information",
						"reportInvalidStubStatement": "information",
						"reportInvalidTypeVarUse": "warning",
						"reportMissingImports": "warning",
						"reportMissingTypeArgument": "information",
						"reportMissingTypeStubs": "warning",
						"reportOptionalCall": "warning",
						"reportOptionalContextManager": "warning",
						"reportOptionalIterable": "warning",
						"reportOptionalMemberAccess": "warning",
						"reportOptionalOperand": "warning",
						"reportOptionalSubscript": "warning",
						"reportOverlappingOverload": "warning",
						"reportPrivateUsage": "information",
						"reportUnboundVariable": "warning",
						"reportUnknownArgumentType": "information",
						"reportUnknownLambdaType": "information",
						"reportUnknownMemberType": "information",
						"reportUnknownParameterType": "information",
						"reportUnknownVariableType": "information",
						"reportUnnecessaryCast": "information",
						"reportUnnecessaryComparison": "information",
						"reportUnnecessaryIsInstance": "information",
						"reportUntypedBaseClass": "warning",
						"reportUntypedClassDecorator": "warning",
						"reportUntypedFunctionDecorator": "warning",
						"reportUntypedNamedTuple": "warning",
						"reportUnusedCallResult": "information",
						"reportUnusedClass": "information",
						"reportUnusedFunction": "information",
						"reportUnusedImport": "information",
						"reportUnusedVariable": "information",
						"reportWildcardImportFromLibrary": "warning",
					},
					"python.analysis.extraPaths": ["C:\\Users\\mchan811\\github-repos\\pypabs-dev"],
					"python.analysis.logLevel": "information",
					"python.analysis.strictDictionaryInference": true,
					"python.analysis.strictListInference": true,
					"python.analysis.strictParameterNoneValue": true,
					"python.analysis.strictSetInference": true,
					"python.analysis.stubPath": "./typings",
					"python.analysis.typeCheckingMode": "basic",
					"python.analysis.typeshedPaths": [],
					"python.analysis.useLibraryCodeForTypes": true,
					"python.pythonPath": "C:\\tools\\miniconda3\\envs\\pypabs-dev\\python.exe",
					"python.venvPath": "C:\\tools\\miniconda3\\envs",
					"python.venv": "pypabs-dev",
				},
				"enabled": true,
			},
		},
	},
}

I guess I need to modify lsp to LSP?

I think that was it! It works now! I think a lot of the parameters in the config might be wrong or something because I'm getting a lot of not allowed type diagnostics

You are unnecessarily overriding a lot of settings of LSP-pyright. You only need to override the settings that you want to change, not everything. And yes, those settings that are marked with diagnostics are not valid settings.

Look at the readme (https://github.com/sublimelsp/LSP-pyright) to see how to configure it for your virtual environment.

If you now change "Lsp-pyright" to "LSP-pyright" (note the casing) in your project settings, that config in your project will override the base LSP-pyright again, as intended.

Yeah I think someone copied and pasted a lot of the LSP config from the pyright github repo, probably a little over zealous


[test-resources] Update common files for branch master

Update common files

Don't merge this or build will fail.


Template cannot handle dashes

Hello!
I'd like to use YAML in my templates, but it is currently erased. here's my current template:
---
Metadata:
Created: <%tp.file.creation_date()%>
Last Modified: <%tp.file.last_modified_date()%>
aliases: []
---
# {{FOLDER_NAME}} Overview
**Path** {{FOLDER_PATH}}
**⤴ BT:: [[<%tp.file.cursor(1)%>]]**
**↔ RT:: [[<%tp.file.cursor(2)%>]]**
**⤵ NT:: [[<%tp.file.cursor(3)%>]]**

\`\`\`folderv
\`\`\`

%% Zoottelkeeper: Beginning of the autogenerated index file list  %%

%% Zoottelkeeper: End of the autogenerated index file list  %%

and now it seems to be working?? not sure what changed 🤔


fix issue

fix issue

Coverage remained the same at 89.772% when pulling c27791a3136db1eed0db31b0ace5416fd669e6c8 on fix_issue into ef1f0a248be56f1bc0a0ec86fe4c567de6393638 on master_V0.5.


Bump production release number for 1.24

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve

/unhold


Merge master to deep children branch

master merge branch of #4255

@timse, @ArcEglos where did we end up with this? Please keep this PR alive.

will take a look tonight

Sry I didn't find the time to look into it last weekend. I'm definitely going to keep this alive, just need to find time for it. I hope for tonight but tomorrow is probably more realistic.

Sorry for the confusion but I only managed to continue the work in #4255. Don't really have any experience juggling stuff on github

I'm curious if this is still being worked on? I've tried using the code from this pull request for lib/optimize/CommonsChunkPlugin.js and it works great. It looks like the webpack-bot is just reporting a syntax error.

I would really appreciate adding this feature to future release.

I have fixed the issues in yet another pull request: https://github.com/webpack/webpack/pull/5764


MAINT: Deprecate add_channels_epochs

Closes #11172

Failure is just https://github.com/mne-tools/mne-python/pull/11183, merging


No indication of private or public genome in search

I'm searching for a private genome doing global search.  We used to be able to filter on private or public in the genome results.  I get the following results...if I am a new PATRIC user (like somebody at the workshop), there is no indication for me to be able to find the genome I annotated that has the same name as the public genome.

Need a column added to the tables that shows whether each row is public or private.  You can filter for this now, but it doesn't show in the table itself.  It should probably be represented by an icon so it doesn't have to take up much space if it is going to be shown by default.

I've added the public column to the genome grid for now.  You can hide/show it like any of the other columns, but it is hidden by default.  Ultimately we should create a formatter that shows a public/private icon and displays the owner in a tooltip when mousing over the icon for private genomes.

This was fixed.


merged SafeMath into MathLib

I think this is unnecessary, we should re-use already deployed standard MathLib.


Sequence behavior changes capture index when global variable is set before

Works:
a = 2 "a" "b" print($(a + 1))

Works not:
a = 1; a = 2 "a" "b" print($(a + 1))

First occurred during testcase merging in #86, but reproducible all time, also without input consuming.

When removing the + 1 in the
a = 1; a = 2 "a" "b" print($(a))

Same result with
a = 2 "a" "b" print($3)  # works
a = 1; a = 2 "a" "b" print($2)  # works (but $2 should refer to "a")
``


Update README.rdoc with the suggestion of a gem with i18n translations

@adzap PR: Update README.rdoc with the suggestion of a gem with i18n translations

@adzap Is this PR ready for merge?

@adzap Is this PR ready for merge?

@adzap Any news?

I am happy to put a mention in the README, but how you have it in this PR. The support for i18n is not dependent on a gem. But your gem might be a big time saver for many people so I suggest changing it to the following:
* Supports I18n for the error messages. For multi-language support try {timeliness-i18n gem}[https://github.com/pedrofurtado/timeliness-i18n].)

@adzap Thanks for feedback! I've made the change suggested by you.


docs: useSuspense() on homepage

Codecov Report

Merging #1808 (c201fc6) into master (7c82789) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1808   +/-   ##
=======================================
  Coverage   98.63%   98.63%
=======================================
  Files         103      103
  Lines        1901     1901
  Branches      383      383
=======================================
  Hits         1875     1875
  Misses         14       14
  Partials       12       12

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Forms Fairfax (GCCh) Endpoint missing from Logic Apps in Azure

Describe the Bug with repro steps
1)Attempt to Sign into forms

Sign in with GCCH creds

Redirects stating Failure because of cross tenant etc.

What type of Logic App Is this happening in?
Consumption (Portal)
Which operating system are you using?
Windows
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos

Browser
chrome
Additional context
No response

@Bradley-Radomski  Is this working with old designer?


Add an index page for annotated source code

Currently, the only way to discover the annotated source code is through links from /docs.  We should generate an index page to help new users discover it at http://redfin.github.io/react-server/annotated-src

Already completed.  The link is in the main navigation header and points here: https://react-server.io/source


improves badge + tests

@faergeek could you please take a look at this?
I updated the badge component to allow null/undefined and in that case it won't render the badge.

I'll merge. please enter an issue if you still have issues with it.


feat(ngLocale): Add FIRSTDAYOFWEEK and WEEKENDRANGE from google data

This data is available on the Google closure localization data used. This pull request adds FIRSTDAYOFWEEK and WEEKENDRANGE into the DATETIME_FORMATS property of $locale.

CLA signed.

If you need me to commit the generated $locale files please say so.
regards

It looks okay to me, but we don't really have a translation from the monday-sunday format and the sunday-saturday format, does that matter?

(i'm looking at the closure code which uses this and it's not very clear on how exactly they're using the monday-sunday format)

I'm not sure I understand what you mean @caitp, the numbers they use go from 0-Monday to 6-Sunday (I looked at a few $locales that I know).

yes, I know --- I call this monday-sunday --- but the serialized date values are sunday-saturday in ngLocale, so it seems hard to get the text value associated (eg if you were trying to create a calendar widget, you'd want to put the right text in the right column...) I think you need a few more variables to do that

I see, I think you should be fine doing
SHORTDAY[(i + 1) % 7]
where i is the number in the moday-sunday format.

that depends on what the first day of the week and weekend range values are.

either way i'm fine to land it, @petebacondarwin is this alright with you?

We can add in these items but I think that they are misleading.
FIRSTDAYOFWEEK is only used in Google Closure library for computing the week number of a day in a year.

Week numbers are defined in this same ISO 8601 standard. Each year has 52 or 53 weeks and weeks always start on a Monday. Week number 1 of each year is the first week in a year that has the first Thursday of the year, or in other words, the week containing January 4th.

See http://docs.closure-library.googlecode.com/git/local_closure_goog_date_date.js.source.html#line234
I can't find any use of the WEEKENDRANGE, in Google Closure. It also seems to be based on Monday being the first day of the week. So one is going to use it to get locale specific weekend day names then you would need to do the mapping between the [MON, SUN] of WEEKENDRANGE and the [SUN,SAT] of the WEEKDAYS array.
@santialbo - is this really beneficial to you?

@petebacondarwin Personally I've got a use-case for locale-dependent week no computation (date-picker for example) and the ISO 8601 logic is completely crazy to the point of not being that useful in practice.
I think that it would be cool if we could have locale-dependent first-day of a week as currently it is hard-code to Sun (works for US but not for Europe, for example)

@petebacondarwin Yes, it's confusing that the SHORTDAY array starts on Sundays but these two properties are set on a 0-Monday scale. A mapping would be needed, but it's straighforward, i.e. SHORTDAY[(i + 1) % 7] to get the name of the day.
My usecase is a dayparting directive, something similar to the following image I just found.

I would like to be able to order days depending on the locale (e.g. Sunday first on the US, Monday first on the UK) and also highlight weekends in a different colour.

OK.  Sounds fair enough to land
On 4 Feb 2015 15:53, "Santi Albo"<EMAIL_ADDRESS>wrote:

@petebacondarwin https://github.com/petebacondarwin Yes, it's confusing
that the SHORTDAY array starts on Sundays but these two properties are
set on a 0-Monday scale. A mapping would be needed, but it's
straighforward, i.e. SHORTDAY[(i + 1) % 7] to get the name of the day.
My usecase is a dayparting directive, something similar to the following
image I just found.
[image: dayparting]
https://camo.githubusercontent.com/6fa6ba44223addac10364ef684019c774661350b/687474703a2f2f7765626d61726b6574696e67746f6461792e636f6d2f77702d636f6e74656e742f75706c6f6164732f6d61636b65792d64617970617274696e672d322d31303234783635382e706e67
I would like to be able to order days depending on the locale (e.g. Sunday
first on the US, Monday first on the UK) and also highlight weekends in a
different colour.
—
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.js/pull/10919#issuecomment-72879022.

Thanks @petebacondarwin. Do I need to commit the updated generated files or are they generated during the main build?

We can generate the new files when we merge
On 4 Feb 2015 16:13, "Santi Albo"<EMAIL_ADDRESS>wrote:

Thanks @petebacondarwin https://github.com/petebacondarwin. Do I need
to commit the updated generated files or are they generated during the main
build?
—
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.js/pull/10919#issuecomment-72883123.

Landed as 3d149c7f20ffabab5a635af9ddcfc7105112ab4a and 80f139b8607ce8ef066f0a23142cfb0aebbdc0c2. Thanks


BrowserWindow not available in will-download item done event when quit during download

Run this and click one of the download links:
'use strict';
const electron = require('electron');

electron.app.on('ready', () => {
	const win = new electron.BrowserWindow({});

	win.loadURL('https://github.com/sindresorhus/caprine/releases/tag/0.2.1');

	win.webContents.session.on('will-download', (e, item) => {
		item.on('done', () => {
			win.setProgressBar(-1);
		});
	});
});

Then close the window and you'll get this error:

It seems the win is no longer available when the done event is emitted with cancelled state.
I think the done event should be emitted before destroying the window.

The downloads are bound to session, so when the window or webContents is destroyed the downloading is still going. It is the same with downloading a file in Chrome, when you close the tab the downloading is still continued.

Makes sense. Just didn't realize session could outlive the window.
So what's the best way to handle this? Currently, I'm listening to the window close event, but it's a bit verbose: https://github.com/sindresorhus/electron-dl/blob/506344214659e732ad7685ca499ced82085304bc/index.js#L21-L23
Maybe we could have a way to check if a window is still available to use. Like: BrowserWindow#isOpen or something?

I think in Chromium they just pauses all downloads when the app is going to quit, you can probably cancel all downloads when window is going to close.
There is a isClosed method can be used, though not documented.

There is a isClosed method can be used, though not documented.

Tried it now, but it inhibits the exact same problem and throws:

Tried it now, but it inhibits the exact same problem and throws:

Oops, I have addressed it in #3510.


Code block colours

Change colours to default GitHub docs colours.
Want consistent light mode for the docs.

Should be resolved with https://github.com/azurecitadel/azurecitadel/commit/e9e8820f2f76692ba595036a5c309ecfe449c6a0
It uses https://xyproto.github.io/splash/docs/github.html


xcodegen: Show absolute path in skipping warning

This would have saved me the time I spent figuring out why something went wrong with the project generation. In my case, the absolute path shown by this warning would have been overtly invalid because the tool was failing to infer the source root directory.

@swift-ci please smoke test

@swift-ci please smoke test Linux


feat: 2024 05 21-23 - [merged]

Merges feat-2024-05-21 -> development
#5 #15

mentioned in commit cf5a5f5e49b70b99b2a5301e050f43221120c9a7

added 30m of time spent

mentioned in commit 33ea50d098cc4fb8a0df65ba4330690134e10e42

mentioned in commit 41621c6a644154b0439c180ab0c91bc25b4e2110

mentioned in commit dd063feae9e69627a199083d677d5e3a165d8121

mentioned in commit 2689c35db36455982e57b08fd418ab2244280af0

added 1 commit
dd063fea - chore: add description/notes issue link to models
Compare with previous version

added 2m of time spent

added 1 commit
cf5a5f5e - chore(ui): add history icon
Compare with previous version

added 1 commit
33ea50d0 - chore(ui): add history icon
Compare with previous version

added 3h 46m of time spent

added 6 commits
9b2abeca - feat(core): history model for saving model history6cbcd4aa - feat(device): Save changes to historye16a4212 - feat(operating_system): Save changes to historyb5470f2c - feat(software): Save changes to historyae4ef9d1 - test(core): placeholder tests for history componentf7444892 - docs(core): Add history docs
Compare with previous version

added 2 commits
2689c35d - fix(device): Read Only field set as required=false41621c6a - chore(notes): ensure blank note cant be saved
Compare with previous version

mentioned in commit 6cbcd4aa56441efce29c8dfe2489794716a72e8b

mentioned in commit b5470f2cefeddac2dd154ef37975902fe511e9f6

mentioned in commit e16a4212ccd8c7ed04d34a87bbef78a4f5565166

mentioned in commit 9b2abecac37f9b2ea12a56ad2023afedc6dd78fc

mentioned in commit ae4ef9d14d4b56ea44dd85bdc34cdd1966d854f6

added 6h of time spent

added 40m of time spent

mentioned in commit f7444892d06bb25c6a7de92ecf0410a2109ae0f5

added 1 commit
b331c6d9 - test: adjust test layout and update contributing
Compare with previous version

added 1 commit
724c52b7 - feat(access): Save changes to history for organization and teams
Compare with previous version

mentioned in commit b331c6d93f4c0601b4d0ad535d487432b87c1efc

added 1 commit
9e1a024a - test: adjust test layout and update contributing
Compare with previous version

added 2h 28m of time spent

mentioned in commit 88f1007a7420b365ede18772e3df7f142e2cbb27

mentioned in commit 9e1a024a12cbe2a712082ec774a66dff98257983

mentioned in commit 724c52b777896600fc8ed5a71bb3e3f6429f9e56


MM-20310 - Updating suggestion list max height

Summary
MM-20310 - Updating suggestion list max height
Ticket Link
https://mattermost.atlassian.net/browse/MM-20310
Screenshots

Throwing @Willyfrog on review so it goes through someone on apps team

Creating a new SpinWick test server using Mattermost Cloud.

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-4360.test.mattermost.cloud

Account Type
Username
Password

Admin
sysadmin
Sys@dmin123

User
user-1
User-1@123

Test server destroyed

/update-branch

/update-branch

Will try to auto merge this PR

Pull Request successfully merged
SHA: 0a654d17bdf2ed588833bc54f3b71fc0c82f54aa


Removed function Assembly.stopStatusFetching is still being called.

Assembly.stopStatusFetching() was removed in this commit: https://github.com/transloadit/jquery-sdk/commit/a273b23c3c7e0b34f2271f73ddae57c73c989fa1
But it is still being called here in Uploader.stop(): https://github.com/transloadit/jquery-sdk/blob/master/js/lib/jquery.transloadit.js#L531
Which causes calls to Uploader.destroy() to crash.

Thank you for reporting this!


Optional Token in parser

Would it be possible to add support for an optional token in the parser?
I'm trying to implement a parser that allows me to parse a language with an optional semicolon. If this is already implemented it probably should be documented.

It should work to do this:
optionalSemicolon: () {
    => (),
    Semicolon => (),
}
...
manyStatements: ... {
    => ...
    manyStatements[sts] statement[st] optionalSemicolon => ...
}

Here's an example for demo.rs: https://gist.github.com/goffrie/2dacbe5aefe7e4ea83d4b4da876ef39e
If you're asking for a convenient shorthand (like Semicolon? instead of adding a new nonterminal), then that's a valid feature request.

Sorry, didn't realize that I could do that.
The shorthand would be awesome tho!

It should work to do this:

optionalSemicolon: () {

    => (),

    Semicolon => (),

}

...

manyStatements: ... {

    => ...

    manyStatements[sts] statement[st] optionalSemicolon => ...

}

Here's an example for demo.rs: https://gist.github.com/goffrie/2dacbe5aefe7e4ea83d4b4da876ef39e
If you're asking for a convenient shorthand (like Semicolon? instead of adding a new nonterminal), then that's a valid feature request.

Correct me if i'm wrong, but I believe this causes a shift-reduce conflict?


Can't export audio to flashcards

So for the audio field when I export it, it just gives me "You must provide a "data", "path", or "url" field." How do I fix this?
Additionally, for the dropdown menus, I don't have the field types that the video has and I'm not where to get them(Ex. Sentence, Definition, Word, Audio).

@SonnyAu Please select a Note Type from the drop down menu. This will populate the remaining drop down menus with fields from the note type.

@SonnyAu Closing this. Feel free to re-open if you're still experiencing the problem.