elasticsearch-operator crashloopbackup

unable to run elasticsearch-operator in AKS 1.12.6 cluster.
error#
time="2019-04-01T12:25:01Z" level=info msg="elasticsearch operator starting up!"
time="2019-04-01T12:25:01Z" level=info msg="Using Variables:"
time="2019-04-01T12:25:01Z" level=info msg="   enableInitDaemonset: true"
time="2019-04-01T12:25:01Z" level=info msg="   baseImage: upmcenterprises/docker-elasticsearch-kubernetes:6.1.3_0"
time="2019-04-01T12:25:01Z" level=info msg="Using InCluster k8s config"
time="2019-04-01T12:25:01Z" level=info msg="SKIPPING: already exists "elasticsearchclusters.enterprises.upmc.com""
time="2019-04-01T12:25:01Z" level=info msg="Daemonset default/elasticsearch-operator-sysctl already exist, skipping creation ..."
time="2019-04-01T12:25:01Z" level=info msg="Found 0 existing clusters "
time="2019-04-01T12:25:01Z" level=info msg="Watching for elasticsearch events..."
panic: runtime error: slice bounds out of range
goroutine 29 [running]:
github.com/upmc-enterprises/elasticsearch-operator/pkg/processor.(*Processor).processDataPodEvent(0xc0002dedc0, 0xc0001e89a8, 0x10b0148, 0x4)
/home/steve/godev/src/github.com/upmc-enterprises/elasticsearch-operator/pkg/processor/processor.go:285 +0x205
github.com/upmc-enterprises/elasticsearch-operator/pkg/processor.(*Processor).processPodEvent(0xc0002dedc0, 0xc0001e89a8, 0x0, 0x0)
/home/steve/godev/src/github.com/upmc-enterprises/elasticsearch-operator/pkg/processor/processor.go:275 +0x137
github.com/upmc-enterprises/elasticsearch-operator/pkg/processor.(*Processor).WatchDataPodEvents.func1(0xc00032e060, 0xc0002dedc0, 0xc0002a1bc0, 0xc0000a8b40, 0xc0002babc0)
/home/steve/godev/src/github.com/upmc-enterprises/elasticsearch-operator/pkg/processor/processor.go:109 +0x1ed
created by github.com/upmc-enterprises/elasticsearch-operator/pkg/processor.(*Processor).WatchDataPodEvents
/home/steve/godev/src/github.com/upmc-enterprises/elasticsearch-operator/pkg/processor/processor.go:105 +0x78

AKS version# 1.12.6
es-oss ver# 6.4.2
kibana-oss ver#6.4.3 (with log trail)

@bhaskar-chenchu do you have any cluster CRD's defined?

@bhaskar-chenchu do you have any cluster CRD's defined?

@stevesloka ,  as part of ES-Operator, no.  As part of Istio installation, yes.  standard Istio defined CRDS of Istio-deployment. (https://istio.io/docs/setup/kubernetes/install/kubernetes/).

What I meant are did you apply any elasticsearchcluster crd's? e.g. kubectl get elasticsearchclusters

Probably fixed by #303 in 0.4.0


arm: atmel: same70: Disable MPU support

Disable MPU support on SAM-E70 due to performance regressions when
enabled.  This is due to cache's not being enabled and the MPU regions
setting the proper cache attributes.  However, there are a number of
ripples at this time to get cache's enabled correctly on the platform.
For the short term lets disable the MPU support until we can properly
fix the cache support across the board.
Fixes: #8138
Signed-off-by: Kumar Gala<EMAIL_ADDRESS>

Codecov Report

Merging #8219 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8219      +/-   ##
==========================================
+ Coverage   64.53%   64.54%   +<.01%
==========================================
  Files         420      420
  Lines       40101    40101
  Branches     6762     6762
==========================================
+ Hits        25879    25882       +3
+ Misses      11104    11103       -1
+ Partials     3118     3116       -2

Impacted Files
Coverage Δ

kernel/mutex.c
94.11% <0%> (+1.47%)
:arrow_up:

samples/philosophers/src/main.c
98.43% <0%> (+1.56%)
:arrow_up:

boards/posix/native_posix/timer_model.c
100% <0%> (+1.78%)
:arrow_up:

Continue to review full report at Codecov.

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

I am not sure it's the correct thing to do. MPU support disables the cache, but anyway the cache is not enabled, and can't be enabled as it causes DMA issues with the Ethernet driver.
At least claiming it fixes #8138 is wrong there.

I am not sure it's the correct thing to do. MPU support disables the cache, but anyway the cache is not enabled, and can't be enabled as it causes DMA issues with the Ethernet driver.
At least claiming it fixes #8138 is wrong there.

Its a fair point, its not clear to me if there is a perf difference on the SAM-E70 board/SoC with or without the MPU enabled.

This does not fix the issue, still very bad performance using timing_info, so we need the caching fix after all.

Is there a perf difference between MPU enabled & not-enabled?

This should not close #8138 need to leave that open even if this goes in.

The MPU enable/disable impacting perf doesn't seem to be true.  Its more about the caches being enabled / disabled that's the impact on perf.


use_icons_from_diagnostic = true doesn´ t work with Neovim 0.10+

Settings use_icons_from_diagnostic = true with Neovim 0.10+ fails with:
   Error  22:28:39 msg_show.lua_error Erreur détectée en traitant Autocommandes DiagnosticChanged pour "*"..Autocommandes User pour "TinyDiagnosticEvent" :
22:28:39 msg_show Error executing lua callback: ...iagnostic.nvim/lua/tiny-inline-diagnostic/highlights.lua:236: attempt to index field 'signs' (a boolean value)
stack traceback:
	...iagnostic.nvim/lua/tiny-inline-diagnostic/highlights.lua:236: in function 'get_diagnostic_icon'
	...ine-diagnostic.nvim/lua/tiny-inline-diagnostic/chunk.lua:85: in function 'get_header_from_chunk'
	...gnostic.nvim/lua/tiny-inline-diagnostic/virtual_text.lua:38: in function 'build_first_chunk'
	...gnostic.nvim/lua/tiny-inline-diagnostic/virtual_text.lua:85: in function 'from_diagnostic'
	...gnostic.nvim/lua/tiny-inline-diagnostic/virtual_text.lua:144: in function 'from_diagnostics'
	...iagnostic.nvim/lua/tiny-inline-diagnostic/diagnostic.lua:138: in function 'apply_virtual_texts'
	...iagnostic.nvim/lua/tiny-inline-diagnostic/diagnostic.lua:237: in function <...iagnostic.nvim/lua/tiny-inline-diagnostic/diagnostic.lua:233>
	[C]: in function 'nvim_exec_autocmds'
	...iagnostic.nvim/lua/tiny-inline-diagnostic/diagnostic.lua:224: in function <...iagnostic.nvim/lua/tiny-inline-diagnostic/diagnostic.lua:222>
	[C]: in function 'nvim_exec_autocmds'
	/usr/share/nvim/runtime/lua/vim/diagnostic.lua:1033: in function 'set'
	/usr/share/nvim/runtime/lua/vim/lsp/diagnostic.lua:257: in function 'handle_diagnostics'
	/usr/share/nvim/runtime/lua/vim/lsp/diagnostic.lua:327: in function 'handler'
	/usr/share/nvim/runtime/lua/vim/lsp/client.lua:687: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>

(There's some french in there, sorry)
The faulty line is https://github.com/rachartier/tiny-inline-diagnostic.nvim/blob/main/lua/tiny-inline-diagnostic/highlights.lua#L236 as vim.diagnostics.config().signs is a boolean.
For reference, here's how it's done in trouble and made few trials, fetching icon with vim.fn.sign_getdefined is working, but I only have Neovim 0.10.2, and I can't guarantee that if I submit a fix it will be backward compatible.

Hello, pas de souci je suis français aussi :)
It really depends on how you configure your sign. If you defined it like I did in my config: https://github.com/rachartier/dotfiles/blob/16f8512a20525671a4b11877671d69e0c8e595c0/.config/nvim/lua/config/diagnostic.lua#L43C1-L50C4
It will not output any errors! So I can't really test what does not work on your side.
Nevertheless, I did try to fix it. Can you please update it and tell me if it is good? If not, can you send me how you define your signs so that I can test better?


chore: remove old swapper

Description
Removes all code related to the old swapper.
This is not strictly a refactor, as some logic crossed domains or had to be re-written.
Also deletes a number of other unused code paths where it made sense to do so.
Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[x] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
N/A
Risk
Medium. Whilst this is mostly a refactor, some logic needede to be (re-)written where concerns were not propertly separated. I've reimplemented the same logic, but human error is a risk.
Testing
The swapper will need a complete regression test, and the app in general will need a once-over to ensure nothing unrelated was accidently touched.
Engineering
☝
Operations
☝
Screenshots (if applicable)
N/A

Current dependencies on/for this PR:

develop

PR #5015

PR #5016   👈

This comment was auto-generated by Graphite.


Is this project abandoned?

I've noted that is almost one year since last commit. It this project abandoned?

Are there features you are looking for or bugs you'd like fixed?

I'm getting problems with optional dependencies as defined by LoggerFactory and ConsoleLoggerProvider.
public LoggerFactory(IEnumerable<ILoggerProvider> providers, IOptionsMonitor<LoggerFilterOptions> filterOption, IOptions<LoggerFactoryOptions>? options)

public ConsoleLoggerProvider(IOptionsMonitor<ConsoleLoggerOptions> options, IEnumerable<ConsoleFormatter>? formatters)

The source generator generates the following invalid code:
// ...
        private System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.Console.ConsoleFormatter>?? _IEnumerable_ConsoleFormatter;
// ...
            if (type == typeof(System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.Console.ConsoleFormatter>?)) return this.GetService<System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.Console.ConsoleFormatter>?>();
// ...

I've opened a new issue #143

Are you accepting pull requests?

Yes, I do.


Update cross_references.scss

Overrides "cursor: move;" with "cursor: pointer;" for this button.

Hi Josh, I'm wondering if the problem is line 21: https://github.com/tyndale/step/blob/783801630972a4b406e0ac39a521c365e847702d/step-web/src/main/webapp/scss/cross_references.scss#L21
I'm not sure if hand is a legitimate value for cursor. I think we probably need to change this line to pointer


WEB API template greys out option for Authentication with Individual User Accounts

Create an ASP.NET Core (.Net Core) project in VS 2015 Community update 3
Choose WEB API
You cannot set the template to set Auhtentication via Individual Account (the radio button is greyed out).

Yup, this is a known limitation.  In the interim you can use existing community offerings like IdentityServer4.
Closing this as there really isn't anything to do here in MVC.
@vibronet

Thanks @danroth27 for the clarification and sorry for putting this on ASP.NET MVC; it was not clear to me which repo would be best. I am confused about what this tuto on mobile services in .Net Core is for then; can't we set individual Auth there? I am looking at building a web + mobile on top of an API in .Net core with individual sing-in.
greetings

@Ponant The mobile app tutorial is a simple introduction to using Xamarin with an ASP.NET Core mobile backend. We do plan to extend the tutorial to cover authentication, but we want to keep the intro tutorial simple. You can see an example of how to use IdentityServer4 with ASP.NET Core for mobile apps at http://docs.identityserver.io/en/dev/quickstarts/5_hybrid_and_api_access.html.

@danroth27 , thanks a lot Dan, this sounds helpful even though it would have been great to have a full MS offering but I understand we need to be patient. This being said, IdentityServer sounds good at first sight.

Hi @danroth27 ,
I am wondering the following:
While the Individual Account is greyed out when creating an API, I can still create an Web App in VS and choose individual accounts there. Next, I could implement the API controllers. So the question is what is the difference between these 2 approaches and why they evidently differ in the templates (.Net Core does not distinguishes between an API and MVC-->it's all MVC)?
My end goal is to have a website with registration and that can return also JSON to be consumed by a xamarin mobile app.

For web apps you typically use a login form or OpenID Connect to establish a session cookie that is used to establish the user principal. There is often also anti-request forgery mechanisms in place, since the client is a browser. For web APIs you typically use OAuth2.0 and access tokens to authorize requests. The two scenarios have different security configurations.


Test multivariable DataFit

The functionality for multivariable DataFit (e.g. voltage and temperature) should work, but has not been thoroughly tested. It would be good to add tests and examples about it.

PR 'issue:7 implement data fit to multiple measured variables #18' covers this issue.

It is closed as it's been solved by merge #18. The example algorithm is multiple_variable_fit.py


[BUG] @scalar/api-reference-react/style.css cannot be loaded in @scalar/docusaurus

What happens?
Here is my configurations:

The issue is attached below.

I need to test by moving dist/style.css to root of the build folder for continue integrating (attached below)

I don't mind if the correct practice is put the css in dist, but it seems not work
Please review it, thanks devs team.
What did you expect to happen?
Fix the docusaurus package to correct the filepath
OpenAPI Document
No response

Any update on this?


SDDM does not start Hyprland correctly

Already reported ? *

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

Regression?
No
System Info and Version
 System/Version info
Hyprland 0.45.0 built from branch main at commit<PHONE_NUMBER>76ef2bbda42050d78946e1fc27fc31  (hyprctl: verify runtime dir exists in instances()).
Date: Mon Nov 25 14:42:11 2024
Tag: v0.45.0-64-g26877882, commits: 5497
built against aquamarine 0.5.0

flags set:
debug

System Information:
System name: Linux
Node name: archtan
Release: 6.12.1-2-cachyos
Version: #1 SMP PREEMPT_DYNAMIC Fri, 22 Nov 2024 17:05:17 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-P [UHD Graphics] [8086:a7a8] (rev 04) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] [10de:28e0] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX Open Kernel Module for x86_64  565.57.01  Release Build  (notroot@cd245b0679c6)  Fri Nov 22 17:18:10 UTC 2024

os-release: NAME="CachyOS Linux"
PRETTY_NAME="CachyOS"
ID=cachyos
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://cachyos.org/"
DOCUMENTATION_URL="https://wiki.cachyos.org/"
SUPPORT_URL="https://discuss.cachyos.org/"
BUG_REPORT_URL="https://github.com/cachyos"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=cachyos

plugins:

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

Config File: /home/quiet/.config/hypr/hyprland.conf: Read Succeeded
$scrPath = $HOME/.config/hypr/scripts # set scripts path
$cachePath = $HOME/.cache/

# █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█
# █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄

monitor=,preferred,auto,auto

decoration {
    active_opacity = 0.95
    inactive_opacity = 0.85
    fullscreen_opacity = 1.0
    rounding = 4
    blur {
        enabled = true
        xray = true
        special = false
        new_optimizations = true
        size = 6
        passes = 3
        ignore_opacity = true
        noise = 0.01
        contrast = 1
        popups = true
        popups_ignorealpha = 0.6
    }
}

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

# ## Input configuration
#
# █▀▀ █▄░█ █░█
# ██▄ █░▀█ ▀▄▀

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

# Script Path
env = PATH,$PATH:$scrPath
env = TERM, kitty
env = EDITOR, nvim
# Nvidia Bullshit
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = LIBVA_DRIVER_NAME,nvidia

# XDG Stuff
env = XDG_MENU_PREFIX,arch-
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland

# Theming stuff?
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = MOZ_ENABLE_WAYLAND,1
env = GDK_SCALE,1
# For styling
# env = QT_QPA_PLATFORM,wayland
# env = QT_STYLE_OVERRIDE,qt5ct
env = QT_STYLE_OVERRIDE,kvantum
env = QT_QPA_PLATFORMTHEME,qt6ct dolphin
env = QT_QPA_PLATFORMTHEME,qt5ct dolphin
env = QT_QPA_PLATFORMTHEME,kde dolphin

# █ █▄░█ █▀█ █░█ ▀█▀
# █ █░▀█ █▀▀ █▄█ ░█░
### Cachy default

input {
    #kb_layout = us,ru
    kb_layout = us, jp
    kb_variant =
    kb_model =
    #kb_options = grp:caps_toggle,grp_led:caps,altwin:swap_alt_win,ctrl:rctrl_ralt
    kb_options =
    kb_rules =

    follow_mouse = 1 # 0|1|2|3
    float_switch_override_focus = 2

    touchpad {
        natural_scroll = yes
    }

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

debug {

disable_logs = false
  }

gestures {
    workspace_swipe = true
    workspace_swipe_fingers = 3
    workspace_swipe_distance = 250
    workspace_swipe_invert = true
    workspace_swipe_min_speed_to_force = 15
    workspace_swipe_cancel_ratio = 0.5
    workspace_swipe_create_new = true
}

device {
    name = epic-mouse-v1
    sensitivity = -0.5
}

general {
    gaps_in = 3
    gaps_out = 5
    border_size = 3
    col.active_border = rgba(cba6f7ee) rgba(f5e0dcee) 45deg # Mauve color for active borders
    col.inactive_border = rgba(45475aee) # Surface1 color for inactive borders
    layout = dwindle # master|dwindle
}

# █░░ ▄▀█ █▄█ █▀█ █░█ ▀█▀ █▀
# █▄▄ █▀█ ░█░ █▄█ █▄█ ░█░ ▄█

# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
    # no_gaps_when_only = false
    force_split = 0
    special_scale_factor = 0.8
    split_width_multiplier = 1.0
    use_active_for_splits = true
    pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = yes
}

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

misc {
    #disable_autoreload = true
    disable_hyprland_logo = true
    always_follow_on_dnd = true
    layers_hog_keyboard_focus = true
    animate_manual_resizes = false
    enable_swallow = true
    swallow_regex =
    focus_on_activate = true
    vfr = true
    vrr = 1
}

source = ~/.config/hypr/animations.conf
source = ~/.config/hypr/keybindings.conf
source = ~/.config/hypr/windowrules.conf
source = ~/.config/hypr/monitors.conf
source = ~/.config/hypr/autostart.conf

Config File: /home/quiet/.config/hypr/animations.conf: Read Succeeded

# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█
# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█

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

animations {
    enabled = true
    bezier = myBezier, 0.05, 0.9, 0.1, 1.05
    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

Config File: /home/quiet/.config/hypr/keybindings.conf: Read Succeeded
# █▄▀ █▀▀ █▄█ █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ █▀
# █░█ ██▄ ░█░ █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ ▄█

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

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

# Assign apps
$term = kitty
$term2 = alacritty
$editor = code
$file = dolphin
$browser = zen-browser

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bindd = $mainMod+Shift, P,Color Picker , exec, hyprpicker -a
bind = $mainMod, RETURN, exec, $term # launch terminal (kitty)
bind = $mainMod, T, exec, $term2 # launch alternative terminal (alacritty)
bind = $mainMod, F, exec, zen-browser # launch browser
bind = $mainMod, E, exec, $file # launch file manager
bind = $mainMod, C, exec, $editor # launch text editor

# bind = $mainMod, K, exec, $scrPath/keyboardswitch.sh # switch keyboard layout # Switch to Japanese

bind = $mainMod, Q, killactive, # close active window
bind = $mainMod, Backspace, exec, $scrPath/logout.sh # launch logout menu
bind = $mainMod, Delete, exit, # exit Hyprland
bind = $mainMod, W, togglefloating, # toggle floating mode for active window
# bind = $mainMod, SPACE, exec, pkill -x rofi || $scrPath/rofilaunch.sh # Launch rofi app launcher
bind = $mainMod, A, exec, $scrPath/rofilaunch.sh # launch rofi (application launcher)
bind = $mainMod, SPACE, exec, $scrPath/wofilaunch.sh # launch wofi (application launcher)
bind = $mainMod, V, exec, pkill -x rofi || $scrPath/cliphist.sh c # launch clipboard
bind = $mainMod+Shift, V, exec, pkill -x rofi || $scrPath/cliphist.sh # launch clipboard Manager
bind = Ctrl+Shift, Escape, exec, $scrPath/sysmon.sh

bind = Alt, RETURN, fullscreen # toggle fullscreen for active window
bind = $mainMod, Y, pin # pin active window (keep on top)
#bind = $mainMod, P, pseudo, # dwindle # enable pseudo tiling (dwindle layout)
bind = $mainMod, J, togglesplit, # dwindle # toggle split direction (dwindle layout)

# bind = $mainMod, G, togglegroup, # toggle the window between focus and group
bind = $mainMod, Tab, changegroupactive, f # focus on grouped window

bind = $mainMod+Alt, G, exec, $scrPath/gamemode.sh # epic gamer mode

# Cheatsheet
bind = $mainMod, slash, exec, $scrPath/cheatsheet.sh display # Show keybinding cheatsheet

# Screenshot
# bind = $mainMod, A, exec, grim -g "$(slurp)" - | swappy -f - # area screenshot with swappy
bind = $mainMod, P, exec, $scrPath/screenshot.sh s # partial screenshot capture
bind = $mainMod+Ctrl, P, exec, $scrPath/screenshot.sh sf # partial screenshot capture (frozen screen)
bind = $mainMod+Alt, P, exec, $scrPath/screenshot.sh m # monitor screenshot capture
bind = , Print, exec, $scrPath/screenshot.sh p # all monitors screenshot capture

# Volume control
bindl  = , XF86AudioMute, exec, $scrPath/volumecontrol.sh -o m # toggle audio mute
bindl  = , XF86AudioMicMute, exec, $scrPath/volumecontrol.sh -i m # toggle microphone mute
bindel = , XF86AudioLowerVolume, exec, $scrPath/volumecontrol.sh -o d # decrease volume
bindel = , XF86AudioRaiseVolume, exec, $scrPath/volumecontrol.sh -o i # increase volume

# Media control
bindl  = , XF86AudioPlay, exec, playerctl play-pause # toggle between media play and pause
bindl  = , XF86AudioPause, exec, playerctl play-pause # toggle between media play and pause
bindl  = , XF86AudioNext, exec, playerctl next # media next
bindl  = , XF86AudioPrev, exec, playerctl previous # media previous

# Brightness control
bindel = , XF86MonBrightnessUp, exec, brightnessctl s +5% # increase brightness
bindel = , XF86MonBrightnessDown, exec, brightnessctl s 5%- # decrease brightness
binde = , XF86KbdBrightnessDown, exec, asusctl -p # decrease keyboard backlight
binde = , XF86KbdBrightnessUp, exec, asusctl -n # increase keyboard backlight

# Lock screen
# bind = $mainMod, L, exec, swaylock-fancy -e -K -p 10 -f Hack-Regular
bind = $mainMod, L, exec, hyprlock # lock screen

# Waybar refresh
bind = Ctrl+Alt, W, exec, killall -SIGUSR2 waybar # reload waybar

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

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1 # switch to 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
bind = $mainMod, period, workspace, e+1 # switch to next workspace
bind = $mainMod, comma, workspace, e-1 # switch to previous workspace

bind = $mainMod, minus, movetoworkspace, special # move window to special workspace
bind = $mainMod, equal, togglespecialworkspace # toggle special workspace

# Move active window to a workspace with mainMod + SHIFT + arrow keys
bind = $mainMod SHIFT, left, movewindow, l # move window left
bind = $mainMod SHIFT, right, movewindow, r # move window right
bind = $mainMod SHIFT, up, movewindow, u # move window up
bind = $mainMod SHIFT, down, movewindow, d # move window down

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

# same as above, but doesnt switch to the workspace
bind = $mainMod ALT, 1, movetoworkspacesilent, 1 # move window to workspace 1 silently
bind = $mainMod ALT, 2, movetoworkspacesilent, 2
bind = $mainMod ALT, 3, movetoworkspacesilent, 3
bind = $mainMod ALT, 4, movetoworkspacesilent, 4
bind = $mainMod ALT, 5, movetoworkspacesilent, 5
bind = $mainMod ALT, 6, movetoworkspacesilent, 6
bind = $mainMod ALT, 7, movetoworkspacesilent, 7
bind = $mainMod ALT, 8, movetoworkspacesilent, 8
bind = $mainMod ALT, 9, movetoworkspacesilent, 9
bind = $mainMod ALT, 0, movetoworkspacesilent, 10

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

binds {
     workspace_back_and_forth = 1
     allow_workspace_cycles = 1
}

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow # move window with left mouse button
bindm = $mainMod, mouse:273, resizewindow # resize window with right mouse button
binde = $mainMod+Shift, Right, resizeactive, 30 0
binde = $mainMod+Shift, Left, resizeactive, -30 0
binde = $mainMod+Shift, Up, resizeactive, 0 -30
binde = $mainMod+Shift, Down, resizeactive, 0 30

Config File: /home/quiet/.config/hypr/windowrules.conf: Read Succeeded

# █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█   █▀█ █░█ █░░ █▀▀ █▀
# ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀   █▀▄ █▄█ █▄▄ ██▄ ▄█

# See https://wiki.hyprland.org/Configuring/Window-Rules/

windowrulev2 = opacity 0.90 0.90,class:^(firefox)$
windowrulev2 = opacity 0.90 0.90,class:^(zen-browser)$
windowrulev2 = opacity 0.90 0.90,class:^(Brave-browser)$
windowrulev2 = opacity 0.80 0.80,class:^(code-oss)$
windowrulev2 = opacity 0.80 0.80,class:^(Code)$
windowrulev2 = opacity 0.80 0.80,class:^(code-url-handler)$
windowrulev2 = opacity 0.80 0.80,class:^(code-insiders-url-handler)$
windowrulev2 = opacity 0.80 0.80,class:^(kitty)$
windowrulev2 = opacity 0.80 0.80,class:^(thunar)$
windowrulev2 = opacity 0.80 0.80,class:^(org.kde.dolphin)$
windowrulev2 = opacity 0.80 0.80,class:^(org.kde.ark)$
windowrulev2 = opacity 0.80 0.80,class:^(nwg-look)$
windowrulev2 = opacity 0.80 0.80,class:^(qt5ct)$
windowrulev2 = opacity 0.80 0.80,class:^(qt6ct)$
windowrulev2 = opacity 0.80 0.80,class:^(kvantummanager)$
windowrulev2 = opacity 0.80 0.70,class:^(org.pulseaudio.pavucontrol)$
windowrulev2 = opacity 0.80 0.70,class:^(blueman-manager)$
windowrulev2 = opacity 0.80 0.70,class:^(nm-applet)$
windowrulev2 = opacity 0.80 0.70,class:^(nm-connection-editor)$
windowrulev2 = opacity 0.80 0.70,class:^(org.kde.polkit-kde-authentication-agent-1)$
windowrulev2 = opacity 0.80 0.70,class:^(polkit-gnome-authentication-agent-1)$
windowrulev2 = opacity 0.80 0.70,class:^(org.freedesktop.impl.portal.desktop.gtk)$
windowrulev2 = opacity 0.80 0.70,class:^(org.freedesktop.impl.portal.desktop.hyprland)$
windowrulev2 = opacity 0.70 0.70,class:^([Ss]team)$
windowrulev2 = opacity 0.70 0.70,class:^(steamwebhelper)$
windowrulev2 = opacity 0.70 0.70,class:^(Spotify)$
windowrulev2 = opacity 0.70 0.70,initialTitle:^(Spotify Free)$
windowrulev2 = opacity 0.70 0.70,initialTitle:^(Spotify Premium)$

windowrulev2 = opacity 0.90 0.90,class:^(com.github.rafostar.Clapper)$ # Clapper-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(com.github.tchx84.Flatseal)$ # Flatseal-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(hu.kramo.Cartridges)$ # Cartridges-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(com.obsproject.Studio)$ # Obs-Qt
windowrulev2 = opacity 0.80 0.80,class:^(gnome-boxes)$ # Boxes-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(vesktop)$ # Vesktop
windowrulev2 = opacity 0.80 0.80,class:^(discord)$ # Discord-Electron
windowrulev2 = opacity 0.80 0.80,class:^(WebCord)$ # WebCord-Electron
windowrulev2 = opacity 0.80 0.80,class:^(ArmCord)$ # ArmCord-Electron
windowrulev2 = opacity 0.80 0.80,class:^(app.drey.Warp)$ # Warp-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(net.davidotek.pupgui2)$ # ProtonUp-Qt
windowrulev2 = opacity 0.80 0.80,class:^(yad)$ # Protontricks-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(Signal)$ # Signal-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(io.github.alainm23.planify)$ # planify-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(io.gitlab.theevilskeleton.Upscaler)$ # Upscaler-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(com.github.unrud.VideoDownloader)$ # VideoDownloader-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(io.gitlab.adhami3310.Impression)$ # Impression-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(io.missioncenter.MissionCenter)$ # MissionCenter-Gtk
windowrulev2 = opacity 0.80 0.80,class:^(io.github.flattool.Warehouse)$ # Warehouse-Gtk

# Float Necessary Windows
windowrule=float,Rofi
windowrule=float,Calculator
windowrule=float,pavucontrol
windowrulev2 = float,class:^()$,title:^(ROG)$
windowrulev2 = float,class:^()$,title:^(Picture in picture)$
windowrulev2 = float,class:^(brave)$,title:^(Save File)$
windowrulev2 = float,class:^(brave)$,title:^(Open File)$
windowrulev2 = float,class:^(LibreWolf)$,title:^(Picture-in-Picture)$
windowrulev2 = float,class:^(blueman-manager)$
windowrulev2 = float,class:^(xdg-desktop-portal-gtk)$
windowrulev2 = float,class:^(xdg-desktop-portal-kde)$
windowrulev2 = float,class:^(xdg-desktop-portal-hyprland)$
windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$
windowrulev2 = float,class:^(CachyOSHello)$
windowrulev2 = float,class:^(zenity)$
windowrulev2 = float,class:^()$,title:^(Steam - Self Updater)$
windowrulev2 = float,class:^(org.kde.dolphin)$,title:^(Progress Dialog — Dolphin)$
windowrulev2 = float,class:^(org.kde.dolphin)$,title:^(Copying — Dolphin)$
windowrulev2 = float,title:^(About Mozilla Firefox)$
windowrulev2 = float,class:^(firefox)$,title:^(Picture-in-Picture)$
windowrulev2 = float,class:^(firefox)$,title:^(Library)$
windowrulev2 = float,class:^(kitty)$,title:^(top)$
windowrulev2 = float,class:^(kitty)$,title:^(btop)$
windowrulev2 = float,class:^(kitty)$,title:^(htop)$
windowrulev2 = float,class:^(vlc)$
windowrulev2 = float,class:^(kvantummanager)$
windowrulev2 = float,class:^(qt5ct)$
windowrulev2 = float,class:^(qt6ct)$
windowrulev2 = float,class:^(nwg-look)$
windowrulev2 = float,class:^(org.kde.ark)$
windowrulev2 = float,class:^(org.pulseaudio.pavucontrol)$
windowrulev2 = float,class:^(blueman-manager)$
windowrulev2 = float,class:^(nm-applet)$
windowrulev2 = float,class:^(nm-connection-editor)$
windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$

windowrulev2 = float,class:^(Signal)$ # Signal-Gtk
windowrulev2 = float,class:^(com.github.rafostar.Clapper)$ # Clapper-Gtk
windowrulev2 = float,class:^(app.drey.Warp)$ # Warp-Gtk
windowrulev2 = float,class:^(net.davidotek.pupgui2)$ # ProtonUp-Qt
windowrulev2 = float,class:^(yad)$ # Protontricks-Gtk
windowrulev2 = float,class:^(eog)$ # Imageviewer-Gtk
windowrulev2 = float,class:^(io.github.alainm23.planify)$ # planify-Gtk
windowrulev2 = float,class:^(io.gitlab.theevilskeleton.Upscaler)$ # Upscaler-Gtk
windowrulev2 = float,class:^(com.github.unrud.VideoDownloader)$ # VideoDownloader-Gkk
windowrulev2 = float,class:^(io.gitlab.adhami3310.Impression)$ # Impression-Gtk
windowrulev2 = float,class:^(io.missioncenter.MissionCenter)$ # MissionCenter-Gtk

#---------------#
# windows rules #
#---------------#
#`hyprctl clients` get class、title...
windowrule=float,title:^(Picture-in-Picture)$
windowrule=float,title:^(ROG Control)$
windowrule=size 960 540,title:^(Picture-in-Picture)$
windowrule=move 25%-,title:^(Picture-in-Picture)$
windowrule=float,imv
windowrule=move 25%-,imv
windowrule=size 960 540,imv
windowrule=float,mpv
windowrule=move 25%-,mpv
windowrule=size 960 540,mpv
windowrule=float,danmufloat
windowrule=move 25%-,danmufloat
windowrule=pin,danmufloat
windowrule=rounding 5,danmufloat
windowrule=size 960 540,danmufloat
windowrule=float,termfloat
windowrule=move 25%-,termfloat
windowrule=size 960 540,termfloat
windowrule=rounding 5,termfloat
windowrule=float,nemo
windowrule=move 25%-,nemo
windowrule=size 960 540,nemo
windowrule=opacity 0.95,title:Telegram
windowrule=opacity 0.95,title:QQ
windowrule=opacity 0.95,title:NetEase Cloud Music Gtk4
windowrule=animation slide right,kitty
windowrule=animation slide right,alacritty
windowrule=float,ncmpcpp
windowrule=move 25%-,ncmpcpp
windowrule=size 960 540,ncmpcpp
# windowrule=noblur,^(firefox)$
# windowrule=noblur,^(waybar)$

# # Increase the opacity
# windowrule=opacity 0.92,Thunar
# windowrule=opacity 0.92,Nautilus
# windowrule=opacity 0.96,discord
# windowrule=opacity 0.96,armcord
# windowrule=opacity 0.96,webcord

# █░░ ▄▀█ █▄█ █▀▀ █▀█   █▀█ █░█ █░░ █▀▀ █▀
# █▄▄ █▀█ ░█░ ██▄ █▀▄   █▀▄ █▄█ █▄▄ ██▄ ▄█

layerrule = blur, rofi
layerrule = ignorezero ,rofi
layerrule = blur, notifications
layerrule = ignorezero, notifications
layerrule = blur, swaync-notification-window
layerrule = ignorezero, swaync-notification-window
layerrule = blur, swaync-control-center
layerrule = ignorezero, swaync-control-center
layerrule = blur, logout_dialog
layerrule = ignorezero, logout_dialog
layerrule = blur, waybar
layerrule = ignorezero, waybar
layerrule = noanim, hyprpicker
layerrule = blur, gtk-layer-shell
layerrule = ignorezero, gtk-layer-shell

Config File: /home/quiet/.config/hypr/monitors.conf: Read Succeeded
monitor = eDP-2, 1920x1200@165, 0x0, 1
monitor = HDMI-A-1, 1920x1080@165, 0x-1080, 1

Config File: /home/quiet/.config/hypr/autostart.conf: Read Succeeded

# █░░ ▄▀█ █░█ █▄░█ █▀▀ █░█
# █▄▄ █▀█ █▄█ █░▀█ █▄▄ █▀█

# See https://wiki.hyprland.org/Configuring/Keywords/
# Slow app launch fix
exec-once = systemctl --user import-environment &
exec-once = hash dbus-update-activation-environment 2>/dev/null &
exec-once = dbus-update-activation-environment --systemd &
exec-once = blueman-applet & # systray app for Bluetooth
exec-once = $scrPath/cheatsheet.sh generate
#exec-once = xdg-desktop-portal-hyprland &

# exec-once = swayidle -w timeout 300 'hyprlock & disown' before-sleep 'hyprlock & disown'

exec-once = fcitx5

exec-once = $scrPath/wallpaper.sh

#------------#
# auto start #
#------------#
# exec-once = waybar -c .config/waybar/config-hypr &
exec-once = waybar # launch the system bar
exec-once = fcitx5 -d &
exec-once = mako &
exec-once = nm-applet --indicator &
exec-once = bash -c "mkfifo /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob && tail -f /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob | wob & disown" &
# exec-once = /usr/lib/polkit-kde-authentication-agent-1 &
exec-once = /usr/lib/hyprpolkitagent &
exec-once = wl-paste --type text --watch cliphist store # clipboard store text data
exec-once = wl-paste --type image --watch cliphist store # clipboard store image data

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

Description
SDDM does log me in, but seems like Hyprland does not start properly. I am on a hybrid laptop which is connected to an external display. Without the monitor, i just see a frozen sddm screen. But if i connect the display, i am able to use Hyprland normally. Launching Hyprland from tty does not work either.
hyprland.log
journalctl_logs.txt

How to reproduce
Uhhhh using 6.12 arch kernel, sddm and Hyprland
Crash reports, logs, images, videos
hyprland.log

Okay, i tried downgrading to LTS kernel and same issue. I tried installing hyprland stable and now sddm log in disappears but i get a black screen on the e-DP. Also tried disabling my monitor config.

hyprctl monitors returns this

```
❯ hyprctl monitors
Monitor eDP-2 (ID 0):
<EMAIL_ADDRESS>at 0x0
	description: BOE NE160WUM-NX2
	make: BOE
	model: NE160WUM-NX2
	serial:
	active workspace: 1 (1)
	special workspace: 0 ()
	reserved: 0 0 0 32
	scale: 1.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: false
	solitary: 0
	activelyTearing: false
	disabled: false
	currentFormat: Invalid
	mirrorOf: none
	availableModes<EMAIL_ADDRESS><EMAIL_ADDRESS>Monitor HDMI-A-1 (ID 1):
<EMAIL_ADDRESS>at 0x-1080
description: Dell Inc. DELL S2422HG HJBGK83
make: Dell Inc.
model: DELL S2422HG
serial: HJBGK83
active workspace: 2 (2)
special workspace: 0 ()
reserved: 0 0 0 32
scale: 1.00
transform: 0
focused: yes
dpmsStatus: 1
vrr: false
solitary: 0
activelyTearing: false
disabled: false
currentFormat: XRGB8888
mirrorOf: none
availableModes<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS></details>

Down grade mesa 24.3 broke intel https://gitlab.freedesktop.org/mesa/mesa/-/issues/12195

holy shit thanks @gulafaran

i facing the same issue, that SDDM cant start properly after the recent update from Hyprland, Not a black screen issue, it just stuck with Graphic interface and cant get into SDDM logging page. But it only happen two to three times, and after start back with tty and execute sudo systemctl restart sddm it will be ok, but it will having issue after a few days.
Hyprland : 0.45.2
mesa : 24.2.7
sddm-git : <IP_ADDRESS>
Arch linux : 6.12.1
Will it related with mesa also?

I had same problem, reverting kernel to < 6.12 resolve the issue for me.

same for me everthing below 6.12 works

I have this problem only with zen kernel

I have this problem only with zen kernel


Update data-api version to 0.0.14

Automatic PR raised by GitHub Actions to update data-api version to 0.0.14

closing will be adjusted in:
https://github.com/ministryofjustice/laa-ccms-caab/pull/266


when "automatically hide scroll bars" is off in Windows, the content isn't pushed

Describe the bug

when "automatically hide scroll bars" is off in Windows, the content isn't pushed and can make things tight
Steps to reproduce the bug

Steps to reproduce the behavior:

Enable "Automatically hide scroll bars in Windows"
Click on '....'

Expected behavior

Actual behavior

Screenshots

Version Info

Gallery version (found on Settings page):

<IP_ADDRESS>
Windows 10 version:

[ ] Insider Build (xxxxx)
[x] May 2020 Update
[x] November 2019 Update (18363)
[ ] May 2019 Update (18362)
[ ] October 2018 Update (17763)
[ ] April 2018 Update (17134)
[ ] Fall Creators Update (16299)
[ ] Creators Update (15063)
[ ] Anniversary Update (14393)

Device form factor:

[x] Desktop
[ ] Mobile
[ ] Xbox
[ ] Surface Hub
[ ] IoT

Additional context

Yes. This was designed to behave this way. I'm not a huge fan of the overlapping either. The question is should scrollbars take layout space. Currently it does not. If it took layout space and the view is not scrollable, we would still end up taking that extra space which would look weird. @RBrid as FYI since we are talking about scrollbars.

@ranjeshj honestly hate "conscious scrollbars". they don't even shrink upon overscroll either (which i've filed an issue for). super annoying after using apple devices for a while. the old edge and ie do it too.

If it took layout space and the view is not scrollable, we would still end up taking that extra space which would look weird.

what does that even mean? if something cannot be scrolled, why is there a scrollbar??

Lets say that if the view is not scrollable then no scrollbar will be shown and the content takes up all the space. Now some content is added (or you expanded something) which makes is scrollable. Now we have to show a scrollbar and we want it to take layout space (not overlap), so we have to run layout and move things around to make space for that scrollbar.
The way I was thinking of avoiding that is to have the layout space set aside for the scrollbar always. When the view is not scrollable, the scrollbar would not show but that space is still set aside for the scrollbar so that when it shows up it does not end up changing the layout of the content.

what happened before "conscious scrollbars"? Did scrollbars always take the layout space, even when not shown?


python310Packages.angr: 9.2.25 -> 9.2.26

Description of changes
Update angr stack to 9.2.26

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

2 packages failed to build:

python310Packages.angrop
python39Packages.angrop

14 packages built:

python310Packages.ailment
python310Packages.angr
python310Packages.angrcli
python310Packages.archinfo
python310Packages.claripy
python310Packages.cle
python310Packages.pyvex
python39Packages.ailment
python39Packages.angr
python39Packages.angrcli
python39Packages.archinfo
python39Packages.claripy
python39Packages.cle
python39Packages.pyvex


⚠ Bofrost.de has degraded performance

In 5e88bcf, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2181 ms

Resolved: Bofrost.de performance has improved in fa932db after 25 minutes.


Flashing some Avr109 devices does not reboot back to the user sketch

Description
We're using this wonderful library in Chrysalis to flash firmware onto some of the supported keyboards. We recently upgraded our avrgirl-arduino dependency from v3.0.0 to v4.2.1, and noticed that flashing no longer works: the process itself finishes, verification works too, fuse checking passes as well, but the keyboard doesn't reset back to the newly flashed firmware, and stays in bootloader mode.
Expected behaviour
The expected behaviour, which we had in v3.0.0, is that once flashing is done, the keyboard resets to the newly flashed firmware.
Actual behaviour
The keyboard doesn't appear to reset, and gets stuck in bootloader mode.
Operating system and version
The problem does not appear to be OS specific. It has been reproduced on Debian Stable, Ubuntu LTS, Windows 10 and macOS Catelina.
Step by step guide to reproducing the issue
I've bisected the problem (see below), and used the following script for testing:
var Avrgirl = require('./');
var board = {
  name: "Keyboardio Model 01",
  baud: 9600,
  productId: ["0x2300", "0x2301"],
  protocol: "avr109",
  signature: new Buffer.from([0x43, 0x41, 0x54, 0x45, 0x52, 0x49, 0x4e])
};

var avrgirl = new Avrgirl({
  board: board,
  debug: true
});

avrgirl.flash("default.hex", function(error) {
  if (error) {
    console.error(error);
  } else {
    console.info('done.');
  }
});

The default.hex referenced by the script is this file.
Using a Keyboardio Model01, I started bisecting from v3.0.0, which worked, ran npm i and node ./model01-test.js each iteration, and checked whether the keyboard booted into the new firmware. This allowed me to narrow the problem down to aec77ea02033dfa0d848896f336da809db8748e4. And indeed, backing that change out, the keyboard now boots into the newly flashed firmware.
Questions?
I'm not sure how to best tackle this problem, where and what fix is needed. I'm happy to provide any additional info if need be. In the meantime, would it be acceptable to make the closing optional, by a board property for example?

FWIW, I quickly hacked up a patch for the board property mentioned above, it's here. I'm happy to turn that into a PR, or rework it.
Unless, of course, we can figure out what's the root of the problem, rendering the above patch unnecessary. :)

Hi @algernon I am so sorry for taking so long to respond! Thanks for investigating this. The backstory is that this line of code (the one closing the connection) had been commented out for a really long time. I looked up the original issue which was in node-serialport, and it looked like it was now fixed. I tested this on Mojave and it seemed fine. I definitely should have tested this more robustly 🙇
I think what I'll do is comment this line back out again and link to this issue this time, and let the node-serialport folks know in case they have bandwidth to investigate. I'll publish this as a patch and I'll follow up on this issue again to close it out once that's all done.
I'm really glad you found a workaround so quickly, and thanks for sharing it with me as it meant an instant understanding of the root cause (at least the surface level root cause!)
I appreciate your patience once again - I'm a real big fan of Keyboardio and all of you lovely folks over there.

patch released in v4.2.2 🙇


Native statically linked

This adds the samples for the new support of static libs in the NDK mojo
Cheers,
Johan

Initial glance looks good. I will check it out more early next week and probably pull it in.
Type "a" is a bit terse..

Agree, you could argue this, but these are the same (a and so) packaging types that the native plugin uses and it does reflect very well what you are creating.
Happy to change it but would need some suggestions.


PostValidation function fails when using placeholder and digitsOptional is false

When using percentage numeric extension, the postValidation function fails when placeholder = "" and digitsOptional = false.   It appears that the processValue is not replacing the placeholder, so variable isValid in postValidation return true, resulting in a percentage over 100.  This will occur if either or both decimal places are the placeholder (), for example, 101.__ % will fail postValidation .
See the fiddle http://jsfiddle.net/rossid/gpx2j6m0/
Here is the js code:
// Fails
$(".percentage1").inputmask("percentage", {
placeholder: "_",
digitsOptional: !1,
max: 100,
})
// Works
$(".percentage2").inputmask("percentage", {
placeholder: "_",
max: 100,
})
Thank you very much for looking at this issue

Thank you very much for your prompt fix, Robin.


Use IPC for low-level LwIP API calls in mDNS server

Low level LwIP calls are not thread safe and must not be used outside of TCP/IP thread

 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.

Great! I'm in the process of rewriting the whole service to be RFC compliant and this edit comes right on time! Thanks for the contribution!

@e-asphyx Sorry for the delay with this one. We've had it in review for a while but it got held up behind other things, should hopefully get some traction soon.


Add support for the grpc reflection API

tier 1 should support the  grpc reflection API, similar to the way firehose supports it.

+1
Just want to monitor grpc.health.v1.Health/Watch but can't
❯ grpcurl -H "Authorization: Bearer $FIREHOSE_API_TOKEN" bitcoin.substreams.pinax.network:443 grpc.health.v1.Health/Watch
Error invoking method "grpc.health.v1.Health/Watch": failed to query for service descriptor "grpc.health.v1.Health": server does not support the reflection API

Not to mention that grpcurl list|describe are not working
❯ grpcurl bitcoin.substreams.pinax.network:443 describe
Failed to list services: server does not support the reflection API


Ch. 28: Video Selection

In Chapter 28: Video Selection, my browser is hanging and giving me the following warning 991 times:
Warning: setState(...): Cannot update during an existing state transition (such as within render). Render methods should be a pure function of props and state.
I've checked the code several times and it is identical to where we are it in the lesson. Any advice?

Several times is never enough.
I was doing this:

instead of this:

 onVideoSelect(video)} className="list-group-item">
in video_list_item.js
Thanks for your work on this!


serviceBus action won't work if the connection string is being pulled from the Key Vault secrets

Describe the Bug with repro steps
{
"code": "ServiceProviderActionFailed",
"message": "The service provider action failed with error code 'ServiceOperationRequiredParameterMissing' and error message 'The required parameter 'connectionString or fullyQualifiedNamespace' for the service provider '/serviceProviders/serviceBus' operation 'sendMessages' is missing.'."
}
What type of Logic App Is this happening in?
Standard (Portal)
Are you using Preview Designer or GA Designer
Preview
Workflow JSON
No response
Screenshots or Videos
No response
Browser
Chrome
Additional context
No response

This never worked in old designer as well. @hartra344 - This is the issue where we have an email thread to discuss on how to handle this in backend.

Note: It's the same with "AzureWebJobsStorage" and "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING" app setting keys. We can't keep connection strings in the app configuration


chore: update configs

:tada: This PR is included in version 5.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


pipeline refine pipeline fragment context

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.23 seconds
stream load tsv:          542 seconds loaded<PHONE_NUMBER>9 Bytes, about 131 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
storage size:<PHONE_NUMBER>0 Bytes

run buildall

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 48.74 seconds
stream load tsv:          532 seconds loaded<PHONE_NUMBER>9 Bytes, about 134 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size:<PHONE_NUMBER>8 Bytes


Repository is not allowing data transfer

Git LFS is giving a data transfer error related to bandwidth and allowed storage capacity that is not allowing anyone to pushg commits

Fixed by removing LFS from the repo, will have to find another solution to solve the transfer of files over 100MB


Failure to load Pandas in Docker

Code Sample, a copy-pastable example if possible
More difficult than that. Trying to import pandas when Running Python 3.5 in a Docker container, passing the --user option to 'docker run'. in this case, running Python 3.5 in a docker container using HTCondor
Expected Output
Should quietly load
Actual Output
Traceback (most recent call last):
File "foo.py", line 1, in
import pandas
File "/opt/conda/lib/python3.5/site-packages/pandas/init.py", line 39, in
from pandas.core.api import *
File "/opt/conda/lib/python3.5/site-packages/pandas/core/api.py", line 10, in
from pandas.core.groupby import Grouper
File "/opt/conda/lib/python3.5/site-packages/pandas/core/groupby.py", line 18, in
from pandas.core.frame import DataFrame
File "/opt/conda/lib/python3.5/site-packages/pandas/core/frame.py", line 39, in
from pandas.core.series import Series
File "/opt/conda/lib/python3.5/site-packages/pandas/core/series.py", line 2944, in
import pandas.tools.plotting as _gfx  # noqa
File "/opt/conda/lib/python3.5/site-packages/pandas/tools/plotting.py", line 27, in
import pandas.tseries.converter as conv
File "/opt/conda/lib/python3.5/site-packages/pandas/tseries/converter.py", line 7, in
import matplotlib.units as units
File "/opt/conda/lib/python3.5/site-packages/matplotlib/init.py", line 1131, in
rcParams = rc_params()
File "/opt/conda/lib/python3.5/site-packages/matplotlib/init.py", line 965, in rc_params
fname = matplotlib_fname()
File "/opt/conda/lib/python3.5/site-packages/matplotlib/init.py", line 794, in matplotlib_fname
configdir = _get_configdir()
File "/opt/conda/lib/python3.5/site-packages/matplotlib/init.py", line 649, in _get_configdir
return _get_config_or_cache_dir(_get_xdg_config_dir())
File "/opt/conda/lib/python3.5/site-packages/matplotlib/init.py", line 626, in _get_config_or_cache_dir
return _create_tmp_config_dir()
File "/opt/conda/lib/python3.5/site-packages/matplotlib/init.py", line 555, in _create_tmp_config_dir
tempdir = os.path.join(tempdir, 'matplotlib-%s' % getpass.getuser())
File "/opt/conda/lib/python3.5/getpass.py", line 170, in getuser
return pwd.getpwuid(os.getuid())[0]
KeyError: 'getpwuid(): uid not found: 99'
output of pd.show_versions()
INSTALLED VERSIONS
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Linux
OS-release: 3.10.0-327.22.2.el7.x86_64
machine: x86_64
processor:
byteorder: little
LC_ALL: C.UTF-8
LANG: C.UTF-8
pandas: 0.18.1
nose: 1.3.7
pip: 8.1.2
setuptools: 23.0.0
Cython: 0.24
numpy: 1.11.1
scipy: 0.17.1
statsmodels: 0.6.1
xarray: None
IPython: 4.2.0
sphinx: 1.4.1
patsy: 0.4.1
dateutil: 2.5.3
pytz: 2016.4
blosc: None
bottleneck: 1.1.0
tables: 3.2.2
numexpr: 2.6.0
matplotlib: 1.5.1
openpyxl: 2.3.2
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.2
lxml: 3.6.0
bs4: 4.4.1
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.13
pymysql: None
psycopg2: None
jinja2: 2.8
boto: 2.40.0
pandas_datareader: None

pls read our installation instructions here
you are mixing something up in the config for the docker creation. this is out of scope for pandas and you should consult the container builder.

OK. Using a Docker image created by Continuum so was hoping that it would be configured correctly

you should bring it up with them in that case

got it. seemed strange to me that pandas would need to know information about the user to run but I will give up and talk to Continuum then


Improve Accessibility

Our current website needs improvements in accessibility to ensure it is usable by all visitors, including those with disabilities. This involves making sure all images have alt text, all links have descriptive text, and the site is navigable by keyboard only.
Tasks:

Alt Text for Images: Add alt text to all images to describe the image content for screen readers. This includes the SVG icon in the header.

Descriptive Link Text: Ensure all links have descriptive text that explains where the link will take the user. This includes the link in the navigation bar.

Keyboard Navigation: Make sure all interactive elements are accessible and usable through keyboard navigation. This includes the navigation links.

Color Contrast: Check the color contrast of text and background colors to ensure they meet WCAG AA standards for readability.

ARIA Landmarks: Use ARIA roles and properties to identify the different sections of the page (like navigation, main content, etc.) to assistive technologies.

Acceptance Criteria:

All images have appropriate alt text.

All links have descriptive text.

The website can be fully navigated using only a keyboard.

Text and background colors meet WCAG AA contrast standards.

ARIA roles and properties are correctly used to identify page sections.

Hello, could I please work on this issue?

Yes, of course you can.

Yes, of course you can.
On Tue, May 14, 2024 at 11:21 PM SeanAverS @.***> wrote:

Hello, could I please work on this issue?
—
Reply to this email directly, view it on GitHub
https://github.com/AbigaelWairimu/Developer-Learning-Paths/issues/1#issuecomment-2111075254,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BABH42TGG536GYPT4PXJRN3ZCJW6FAVCNFSM6AAAAABHVSHEWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJRGA3TKMRVGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Okay great. I would like to be assigned this issue please. Thank you.


One Octave Too Low

Version:

"midi-writer-js": "^2.0.1",

Issue:
Everything is pitched down by 1 Octave.
Code:
        // Start with a new track
        let track = new MidiWriter.Track();
        track.addTrackName(trackName);

        notes = ['C0', 'C1', 'C2'];
        // Add some notes:
        notes.forEach(pitch => {
            // @ts-ignore
            let midiInfo = new MidiWriter.NoteEvent({pitch, duration: '16', velocity: 100});
            console.log('midiInfo', midiInfo); // everything is logged correctly
            track.addEvent(midiInfo);
        });

        // Generate a data URI
        let write = new MidiWriter.Writer(track);
        return write.dataUri();

   After downloading the mid file and copying into Ableton, I get:

Hi @360disrupt,
I believe this depends on what Ableton considers "middle C"; sounds like it's considering it to be C3.  Looking at GarageBand I see it defines it as C3 as well.
The MIDI spec defines note 60 as middle C, and the note-to-number mapping being used in this library considers C4 to be middle C.  Hence C4 is mapped to 60.
I was always taught that C4 was middle C, but searching around online does not a yield a clear consensus.  Perhaps it would be useful to add an option in this library to define middle C?
-Garrett

Hey @360disrupt,
Just released a change in 2.1.0 that should let change middle C like this:

track.addEvent(new MidiWriter.NoteEvent({pitch: 'E4', duration: '4'});

const write = new MidiWriter.Writer(track, {middleC: 'C3'});

// Can also set after writer instantiation
write.setOption('middleC', 'C3');

Let me know if you have any issues.


It is not obvious how (or possible at all?) to escape a literal '{{' and '}}' inside a recipe

Couldn't find anything in the readme, and all the possible attempts at \{{ and so on have failed (single quotes, double quotes, one backslash, two, more backslashes, etc).
This is problematic when combining with other tools that use {{ }}, such as inline Jinja or Go templates (the latter extensively used by Docker).

Out of curiosity, what's your use-case?

Out of curiosity, what's your use-case?

A Justfile in my home directory is pushing away the old Makefile ;) one of my recipes pulls latest tags on each known Docker image:
docker-update:
       docker image list \
               --format '{{.Repository}}{{if ne .Tag "<none>"}}:{{.Tag}}{{end}}' \
               | xargs -r -n1 docker pull

I tend to push a lot of make to automate the mundane parts of maintaining Docker stuff, and the {{ & }} stuff crops up all over the place - the alternative is usually to write twice as much sed and awk.

You can do {{ '{{' }} or {{ "{{" }}.

Cool, this works, but it's getting extremely verbose and unreadable even with this trivial example:
docker-update:
	docker image list \
	--format '{{"{{"}} .Repository {{"}}"}} {{"{{"}} if ne .Tag "<none>" {{"}}"}}:{{"{{"}} .Tag {{"}}"}}{{"{{"}} end {{"}}"}}' \
		| xargs -r -n1 docker pull

Honestly I don't know what would be the best solution here, but for reference:

Go's template package has the same problem, and seems to choose to ignore it.
Jinja additionally supports {% raw %} ... {% endraw %} blocks, but the {% ... %} syntax is a core part of the language already. Django has something similar.

I love it how just applies only very little magic, and wherever it happens (like with #!), it feels natural and only adds flexibility. The !raw magic would kill it:
!raw
docker-update pattern:
	docker image list \
		--format '{{.Repository}}{{if ne .Tag "<none>"}}:{{.Tag}}{{end}}' \
		| grep '{{ pattern }}' \
		| xargs -r -n1 docker pull

Yeah, I agree, `{{ '{{' }}' is grody >_<
I just tried it, and just ignores an unmatched }}, so I think you can use }} directly as-is.
So that leaves {{ >:]
Interestingly enough, the just parser already rejects empty interpolation sequences: {{}} in a recipe produces an error. This means that we could also translate {{}} to {{. So {{}}}} in a recipe would become {{}}. This is preeeeeeetty weird though. I'm also tempted to consider this a bug, since a user might delete the contents of an interpolation, or write a placeholder interpolation or something, while editing a recipe, and having just reject the justfile seems silly. On the other hand, an empty interpolation might be a sign of a big.
Of the other options, I think doubling is probably the least bad: {{{{ -> {{. Like I said, this would mean that you couldn't put {{ at the beginning inside of an interpolation, and { is often used for dictionary syntax. However, you could always just put a space {{ {{, so that's not much of an issue. And also, {{.. would be, I guess, a dictionary with a dictionary key: {{a:b}: 2} which is not at all common.
So that would mean that your recipe would look like this:
docker-update:
       docker image list \
               --format '{{{{.Repository}}{{{{if ne .Tag "<none>"}}:{{{{.Tag}}{{{{end}}' \
               | xargs -r -n1 docker pull

Which feels pretty good. What do you think?

Also, I just opened #354, to make having a user-level justfile easier (as opposed to project-level). This would make it easier to call you user-level justfile, without having to pass the -f and -d flags, or having the user-level justfile conflict with project-level ones.

Oh, found the perfect solution:

docker-update:
	docker image list \
	--format '{{ '{{ .Repository }} {{ if ne .Tag "<none>" }}:{{ .Tag }}{{ end }}' }}' \
		| xargs -r -n1 docker pull

Sometimes you just have to sleep on it :) Nested single quotes confuse syntax highlighters, but so far looks like the best trade-off.
By the way, unbalanced braces will upset almost every single editor out there ;)

That's definitely better. I'll add another note to the readme. I'm still thinking that {{{{ should translate to {{. If unbalanced braces are a problem, we could also translate }}}} to }}, and forbid unmatched }}, but that would be a breaking change.

If unbalanced braces are a problem, we could also translate }}}} to }}, and forbid unmatched }}, but that would be a breaking change.

Random idea, it would be cool if we could somehow pull all public Justfiles in existence and parse each one; then build a regression test suite against that. I think Rust/Cargo are doing something similar on a much bigger scale already with their crates.

Totally agreed! Check out #251. Rust's is called Crater. I want to call just's version Caldera.
Just's lexer is really gross, and I don't know if I'll ever rewrite it, but such a tool would be useful to ensure that the rewrite didn't introduce any bugs.
It would be even more of a breaking change, but another option would be to change interpolation to use single curly brackets {...}, and escape them via doubling: {{ and }}. This is something that would go on the "just 1.0" pile though.

Another possible solution is to allow recipes with no interpolation:
[raw]
foo:
  {{blah blah blah}}

I just released v0.8.5, which allows escaping a {{ by writing {{{{, so this should be much better now.


remove old rope usage

Description
remove old rope usage

PR validation: https://github.com/intel-analytics/ipex-llm-workflow/actions/runs/12347390595


[Feature Request]: navigation on About Page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
hey @mansiruhil13 , In About Page section header is badly design. which  make webpage user-unfriendly. So assign me so that I can work on it.

Use Case
The navigation on the About page aims to provide users with easy access to different sections or subsections, allowing them to quickly find information about the organization, its history, team, mission, values, and any other relevant details
Benefits
Improved User Experience ,Enhanced Engagement
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

Assign to me

@mansiruhil13 please assign the task to me


p1.? ~ p2  !=  (p1 ~ p2) | p2 for error reporting purposes

Hello there!
Assume these base parsers:
val p1 = P.char('a')
val p2 = P.char('z')

Consider now these:
val p = p1.? ~ p2
val q = (p1 ~ p2) | p2

(that is, both accept the same input space: { "az", "z" }).
With an empty input string, p and q generate these errors:
p.parse("") ==> Left(
          Error(
            0,
            NonEmptyList(
              InRange(0, 'z', 'z'),
              List()
            )
          )
        )

q.parse("") ==> Left(
          Error(
            0,
            NonEmptyList(
              InRange(0, 'a', 'a'),
              List(InRange(0, 'z', 'z'))
            )
          )

For error reporting purposes I prefer the latter response as it indicates that not only 'z' but also 'a' can appear at the point of failure.
So, for alternative parser cases like the above, I could just write them à la q to accomplish this "enriched" error reporting.
However, do I have to?  It seems unnecessary and I would prefer to just write them in the p style example. Am I missing something? Thanks!

Thanks for the issue. So, you are raising a really good point.
your first parser p is really the same as (p1.map(Some(_)) | pure(None)) ~ p2. So you want some distributive law: (a | b) ~ c == (a ~ c) | (b ~ c)
We have a version of that law here:
https://github.com/typelevel/cats-parse/blob/455e9791ffc75a8e726ffd1204e2eda0277b0383/core/shared/src/test/scala/cats/parse/ParserTest.scala#L1849
Which is a bit more complex, but it is only testing the results, not that the error messages are identical.
Maybe the issue in this case is because p1.? can always succeed: so from the parser's point of view, it successfully parsed p1.? by returning None. I can imagine something like an optimization rule such that if you have a union that ends with something that always succeeds, then push the product down:
def product[A, B](left: Product0[A], right: Product0[B]): Product0[(A, B)] =
  (left, right) match {
    case OneOf0(items), right if alwaysSucceeds(items.last) =>
      OneOf0(items.map { li => product(li, right) })
    case _ =>
      // do the regular thing.
  }

but this isn't quite right for the same reason we don't have the law (a | b) ~ c == (a ~ c) | (b ~ c) in general.
I think there is even a deeper question here: what does the error reporting tell you? Does it tell you all next inputs that would have succeeded, or does it tell you some next inputs that would have succeeded. Currently it is definitely the latter and not the former.
It would certainly be nice to be able to prove that we could report all next inputs that would have made some progress. I really haven't thought about it before this issue, so I don't know if that turns out to be a hard problem, or if it is tractable. I think it is actually deeply related to Parser0 here. The idea that p1.? returns success without advancing is the issue. Maybe Parser0 needs to return a List of possible errors in addition to a result in the case that it does not advance, so a subsequent failure could regenerate the full list? Maybe if we did that, the property of producing all the next inputs (all next strings that would have allowed making some progress from the current offset), would be tractable...
I wish I had a short answer for you. I guess the only general answer I have (which I'm not even sure is right) is to really avoid Parser0 unless you really need it since it can currently hide errors as you have discovered.

Thanks for the useful reply.
Well, "precise errors" is central to my specific use case (a mission scripting language for commanding autonomous underwater vehicles), where hints for autocompletion play a key role via some LSP-enabled editor like VSCode. In other words, a typical use case where interactive editing and good feedback is very important.
That code is not yet open source, unfortunately, but I have a few cases where the situation described here is a bit compounded, that is, with more optional pieces in order (p1.? ~ p2.? ~ p3.? ~ p4.? ~ p5.? ~ pz).
I'm very happy with cats-parse in general (thanks for all your efforts there!) and will definitely continue my migration from fastparse (along with other updates toward Scala 3),  and am willing to incur the "cost" of the rewrites to avoid Parser0, at least for the time being. I think I have gotten a good handle on using cats-parse , but not in terms of its internals to try to provide any specific insights about the potential impact of providing similar error reporting for the preferable form of such kind of parsers. My quick intuition is that it should be tractable. (In fact, the non-Parse0 style is already handled with good errors, so, it's tractable already, right?)  I feel like the Parser0-to-non-Parser0 rewrites could actually somehow be performed by cats-parse itself, perhaps only when instructed to do so via some flag or some variation to the operators. Just some thoughts.
Thanks again!

The following extension is proving useful for me:
extension [A](p: P[A]) {
  def ?:[B](that: P[B]): P[(Option[A], B)] = {
    val withThis = (p ~ that) map { (a, b) => (Some(a), b) }
    val onlyThat = that map { (None, _) }

    withThis | onlyThat
  }
}

so I can write p1 ?: p2 ?: p3 ?: p4 ?: p5 ?: pz.

That seems pretty useful... I wonder if we should add it do Parser[A].

Yes, pretty useful indeed!
Though the external solution (like the extended operator above) may be good enough for some users, probably worth adding it to the library itself, especially to make sure such enriched error reporting is explicitly captured in relevant tests, and well, assuming the current Parser0-based behavior in terms of "limited" error reporting will stay (at least for while).

I actually wonder if we could possibly remove Parser0 entirely if we added a new type like StateReader[A] which can read Caret, Index have a Monad and Defer. Then you could compose a StateReader with a Parser to get a Parser but always consuming.
Maybe at the end of the day it isn't very different from the current design (with Parser0 basically being StateReader | Parser) but my proposal above puts a lot of migration pain on folks.

Not sure I can provide any technical insight now, but I'd agree, alway good to avoid/minimize breaking changes (though we know the library is still evolving, not yet v1, ...)
On the other hand, re use cases again, I understand cats-parse wants to be competitive among its class in terms of parsing performance. I guess the broad use case category here is the parsing of input that is, in general, expected to be well-formed already (e.g., RPC, serialization, machine-to-machine communication, and the like).  Rich error reporting, the other broad use case (which had me entering this issue) may compromise that performance goal at least to some extent. Back to the scenario in this issue, I can imagine p1.? ~ p2.? ~ p3.? ~ p4.? ~ p5.? ~ pz still being the way to express "ordered sequence of optional parsers ending in a required one," and with the most efficient (perhaps, not-so-rich error reporting) parsing as the default behavior; but with some opt-in mechanism to instruct cats-parse to enable rich error reporting, say, via some import cats.parse.richerrors.* (or something like that), but not having to change the parsers themselves.

Consider this case:
val p1 = Parser.length(1)
val p2 = Parser.length(2)

val p3 = p1.?.soft ~ p2
val p4 = (p1.soft ~ p2) | p2

p3.parse("ab") // this should fail because p1.? parses 1 character, then p2 cannot succeed
p4.parse("ab") // this succeeds because p1.soft ~ p2 fails but backtracks, then p2 succeeds

so, this kind of operation definitely isn't lawful with soft products.

closed by #389


Move basin_definition from RibaMod to DriverCoupling

This moves the basin_definition entry to the DriverCoupling. The idea here is to support multiple "stacked" basins: they may share geometries or be spatially overlapping, but they refer to distinct basin node_ids.
This allows us to do the following:
driver_coupling_1 = DriverCoupling(
    mf6_model="GWF_1",
    mf6_active_river_packages=["riv-1"],
    mf6_active_drainage_packages=["riv-1_drainage"],
    basin_definition=basin_definition_1,
)
driver_coupling_2 = DriverCoupling(
    mf6_model="GWF_1",
    mf6_active_river_packages=["riv-2"],
    mf6_active_drainage_packages=["riv-2_drainage"],
    basin_definition=basin_definition_2,
)

ribamod_model = RibaMod(
    ribasim_model=ribasim_model,
    mf6_simulation=mf6_simulation,
    coupling_list=[driver_coupling_1, driver_coupling_2],
)

This PR doesn't actually tests or something for this use of multiple definitions. The goal is to avoid API changes in the future, because we'd like this version to be used already with just a single basin_definition.
In principle, however, the code here should already work for multiple basin_definitions, connected to different MODFLOW 6 packages. In the future, we should probably think about some checks and add them. For example: the basin_definitions should not have overlapping node_id's between them.
This now also raises an error if there is no overlap found between Ribasim basins and MF6 boundaries. This allows us to get rid of several if-else's.

What's debatable about this PR: this is arguably abusing the DriverCoupling concept (?).
In this case, there are multiple driver couplings that are merged together, because they belong to a single MF6 GWF model.
As far as I can tell, the DriverCouper idea is for multi-model support. In this case, keeping them separate will now require changes to the driver, as none of the drivers will currently accept multiple driver couplings.
However, this is in this case, by far the most pragmatic solution. Alternatives are:

Adding multiple columns with MF6 package names to the basin definition.
Some additional level of indirection: more nested, more grouped, more mappings. They all end up being more confusing.

Finally, the nested for loop is what is it is. The data here are necessarily nested, so I think it's okay for the code to reflect that.

No issues yet. Feel free to open some (and assign yourself ^^)!


[CI][Contrib] Add ACL docker installation

This patch adds a cross-compiled ACL build to the ci_cpu dockerfile used for CI.
Change-Id: I66e1521ab553306bc7367b65acc0363e750f0211

I'd suggest including ubuntu_install_acl.sh in this PR instead of in #5915, and let this PR in first to make sure #5915 could pass the CI.

Just a dumb question. Do we need an ARM device to run ACL?

@junrushao1994 Yes ACL can only be used on Arm hardware. We've included this cross-build in the docker container to make it easier for anyone wanting to use ACL with RPC. They just copy across the libraries they need to the remote device rather than needing to worry about building a new container.

Thanks @lhutton1 !


[RN Android] (STG) Application language change is applied from the second time

Steps:

Go to the Radzima STG App -> Check the labels' language.
Go to 'Settings' of the phone ->Change the language to English.
Repeat step 1.
Expected:
The application language change was applied. The labels' language was changed.
Actual:
The labels' language wasn't changed.
NOTE: Application language change is applied from the second time

https://user-images.githubusercontent.com/94908845/150678645-7cfa646f-3352-45dd-94b1-bc54f66bffbf.mp4
.

Closed as non-reproducible.
Assumption: app should be killed manually


Add warning messages for situations where the user might have forgott…

…en to import a file.
Related forum issue: https://forum.babylonjs.com/t/weird-issue-using-vite/46468

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14635/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14635/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14635/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14635/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14635/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14635/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14635/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14635/merge#BCU1XR#0

Let me close and I ll add a way to bypass the error on create external texture in my next PR.


Add additional tags to containers build with Actions.

Using the 'latest' tag is prone to introducing unwanted changes and widely considered to be bad practice. While the latest tag need not necessarily be removed, additional tags should be added to differentiate between versions of containers made available by this repository.
Additionally, images that pull base or builder image types should be pinned to a known good base or builder images by a tag that is not 'latest' and/or the images' digest.

One set of additional tags could include architecture. This would prevent current multi-platform images from being culled by the Action that deletes un-tagged images.


Fixes #4471 Race Condition in Kraken Tests makes verify job fail.

Anyone here who could review this change?

yes, looking at it now...

Thanks!


Fix for Issue #1265

@rbyh haven't tested this yet but I think it should work

@rbyh Do you want to confirm this fix? If you do a git fetch and then checkout this branch, fix_1265 it should show that it works w/ the f-string.


Microcode not receiving line events

LEDs on the robot micro:bit show that line is being detected, but MicroCode not getting the events. Need to figure out where the problem is. MicroCode is getting wall event from robot.

MicroCode built against old version of microbit-robot - updating.

Ah. you generalize linestate, which I think may have changed the event codes sent over the radio
        /**
         * Line sensor state change
         */
        LineState = 0xfffff30,
        LineLeft = LineState | RobotLineState.Left,
        LineRight = LineState | RobotLineState.Right,
        LineBoth = LineState | RobotLineState.Both,
        LineNone = LineState | RobotLineState.None,
        LineLostLeft = LineState | RobotLineState.LostLeft,
        LineLostRight = LineState | RobotLineState.LostRight,

        LineAnyState = 0xfffff50,
        LineLeftRightState = 0xfffff60,
        LineLeftRightMiddleState = 0xfffff70,
        LineOuterLeftLeftRightOuterRightState = 0xfffff80,

Old logic is in radio.ts: handleLineDetected, which is only called once (on start of radio).

https://github.com/microsoft/microbit-robot/commit/225096e962098bcc27c69ba7af513df78f265dc1

line lost logic was incorrect. fixed here: https://github.com/microsoft/microbit-robot/commit/a7c71464ef26266b796db961e005d06e74981abb

Left and Right mixup probably on MicroCode side.

Maybe.. I think it was messed up on the hardware side on the cutebot

Well, the LEDs on the screen looked fine. I think the problem is that Left/Right got swapped in meaning between the events sent over radio and the new code that generalizes the robot line detector. I will test with other robots. The fix is local right now: https://github.com/microsoft/microbit-robot/commit/22b09020f667abe82c84d5c203e2ecc8656c5431

@pelikhan - I assume that left/right is relative to the robot looking forward, not to us look at the robot face on. Correct?

Yes robot looking forward.

From: Tom Ball @.>
Sent: Saturday, April 6, 2024 6:27:47 PM
To: microsoft/microbit-robot @.>
Cc: Mention @.>; Comment @.>; Assign @.>; Subscribed @.>
Subject: Re: [microsoft/microbit-robot] Microcode not receiving line events (Issue #65)
@pelikhanhttps://github.com/pelikhan - I assume that left/right is relative to the robot looking forward, not to us look at the robot face on. Correct?
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/microbit-robot/issues/65#issuecomment-2041265964 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA73QKLBWD72ZJB5RQ2AD5LY4COJHBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOJIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVE3TCNRSGI4DONRTQKSHI6LQMWSWS43TOVS2K5TBNR2WLKRSGIZDSNBVGIZDKNVHORZGSZ3HMVZKMY3SMVQXIZI.
You are receiving this email because you were mentioned.
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.

https://github.com/microsoft/microbit-robot/pull/66


Suggestions for giving more layout/colors options to the buttons, etc..

I have a fork with some extra options:

For colors to have a new and more flexible name that we can define in our applications, for example "brand".
More granularity in the rounded option, to allow for "squarer" buttons as a layout decision.
Add the "fullwidth" option, so the button takes over the entire space of the div wherever it is.

Here are some examples from a fork I made to meet my current needs:

@shinokada, @jjagielka,
If you are interested in these suggestions, I can share my fork 👍

Color management is a wider subject and must be thought over not only for the buttons. Current implementation supports colors as defined in Flowbite.com
Rounded - again Flowbite.com design - rounded-lg or rounded-full. Of course a hack like below can be used:

<Button class="!rounded">More squerer button</Button>

Buttons width is not controlled by the framework. If you need full width button simply add class="w-full" to the button.

Color management is a wider subject and must be thought over not only for the buttons. Current implementation supports colors as defined in Flowbite.com

Yes, I cited the button as an example, but this flexibility I am talking about would apply to all components 👍

Rounded - again Flowbite.com design - rounded-lg or rounded-full. Of course a hack like below can be used:

<Button class="!rounded">More squerer button</Button>

Catering to all users' wishes is impossible, so having more flexibility can be helpful.
In my case I don't want the square button, just slightly rounded 😁

Buttons width is not controlled by the framework. If you need full width button simply add class="w-full" to the button.

      <!-- signup -->
      <div class="my-5">
        <Button
          size="lg"
          fullwidth
          outline
          on:click={() => {
            errorsCleanup();
            loginPageMode = LoginPageMode.signup;
          }}>criar conta</Button>
      </div>

I do so today with a dedicated fullscreen option. Of course, class="xxx" is there to do anything.

ad. 2

Idon't want the square button, just slightly rounded

I think you've misunderstood the example. Please compare those:
<Button pill>Full rounded</Button>
<Button>Standard</Button>
<Button class="!rounded-md">More squarer button</Button>
<Button class="!rounded">Even more squarer button</Button>
<Button class="!rounded-none">Square button</Button>

ad. 3

I do so today with a dedicated fullwidth option. Of course, class="xxx" is there to do anything.

If you can achieve what you want with the simple class setting, or have even more control with classes like w-3/4, w-48, w-screen or w-full, why would we need the fullwidth option

For color management, you can set primary and others in the tailwind.config.cjs for your needs.

Can we close then?

@shinokada  not all components have or use the primary color option . Take Input for e.g , the only options are base,red and green , and that prop would not accept anything else . These hard coded and limited colors in components should at least include primary if they cant be completely flexible

In fact Flowbite.com does not propose colors to the input component. The red and green versions are not to customize the input but are reaction to data validation: green - data valid, red - data invalid.
In fact that color prop should not be exported but should be connected internally to the data validation state of the component.

I do feel that the hard-coding of colours is pretty restrictive. I was looking at Toast - most toast implementations have semantic meaning - warning, info, error, danger etc. But Flowbite doesn't do this, instead all you can do is specify a color - and only those colours which are defined in Frame.svelte it seems.
I'm learning that you can then override it by setting color='none' and then override the divClass prop - but you have to update the VSCode Tailwind Extension to make it work with divClass. And because svelte doesn't support {#if} syntax in attributes, I can't even make it semantic - I can't write something like divClass="{#if notification.type === 'error'} bg-red-200{/if}".
I fear Flowbite might just be a bit too opinionated for me, when it comes to look-and-feel. I could fork?


[CodeCompletion] Only include results from other modules once

In case of ambigous expression/global completions, we call getValueCompletionsInDeclContext multiple times for the amigous solutions to the constraint system. This can cause modules to be included multiple times in RequestedCachedResults and thus global results from these modules are reported multiple times. Make RequestedCachedResults a set so we don’t get duplicate results.
rdar://92048610

@swift-ci Please smoke test


Immutable (direct) link for pages

Describe the feature you'd like
When you create a page, its URL contains features like its title and the book that the page belongs to. However, this link can change when it or its parent book are renamed.
It would be great if we could also create URLs that are immutable and always point to a specific page.
I am thinking of a "Get Sharable URL" button, which gives you an url like https://domain.com/ref/<page_hash>. This link can point to the same content as the full page url, or just redirect (like a TinyURL or YouTu.be).
Describe the benefits this feature would bring to BookStack users
Documentation is often fluid. Titles change, sections are re-ordered, etc. With just the current implementation, links do break.
It makes it so that you cannot just share an URL and trust that the recipient can keep on using it.
 Even Bookstack's internal links can break.
Lastly, this feature can allow for a more flexible use of BookStack. Without it, I would highly discourage changing anything that might influence the URL of a page. With it, pages can evolve, books can be merged/seperated, etc., all without breaking links.

Dead links kill usability - This avoids them
Documentation is easier to share
Links are shorter
Makes a BookStack structure more flexible

Additional context
I am currently testing how well BookStack would work in our educational instituion. Some co-workers are using it and links got shared with each-other. Now the title of one book was changed, and the pages of all URLs beneath it became invalid.
It would be pretty annoying (and likely hinder adoptation) if this kept happening too often.
You can discourage people from changing titles, but that is no real solution. Sometimes its just necessary.

Thanks for making BookStack the system that it is. It is beautiful how something like this can be open source.
I think it can be implemented in a pretty straightforward manner. Pages have unique ids. To prevent enumeration, the unique link id can be something like hash(pageId + salt), where hash() returns the first n characters of a sha256 hash. Alternatively, random hashes can be stored as an extra column in the pages table. This way, you can also detect and prevent accidental collisions, though it may not even be necessary.
I also think that internal linking (between pages) should automatically be done using these page-specific URLs.

Thanks for the details request @Vinno97 along with an implementation idea.
There is currently an id-based page linking available in the platform at /link/<page_id>. This can easily be generated by selecting some text within a section of the page, you'll get a popover box with this link format:

BookStack does offer some level of old-url resolution but this can indeed break depending on the change.
When it comes to links there are many different opinions on what's important and there have been many requests over the years such as: #1969, #1781, #732, #497, #338 and many more.
I'm aware the link format needs to be improved but it will need to be done in a very considerate way that meets the requirements of most, but likely never everyone. At some-point in the future I'll look to to form a proposal for a new URL scheme for feedback. This may include a hash like suggested but will likely need more aside the hash to provide human readable context.
Since there are many existing similar requests to change URL's I'm going to close this off as a duplicate for now but I'll keep in mind your suggestions when it comes to formulating that proposal.

I'm aware the link format needs to be improved but it will need to be done in a very considerate way that meets the requirements of most, but likely never everyone.

Thanks for your answer. But it's already worked with your method if I delete tage informtation and save only link's id. For example: https://kb.mysite.com/link/199 .
For the first time it will be great if somebody add a button for copy permanent link to page with ID instead of page's header.


Fix for WFCORE-5097, Add an option to the bootable JAR to display the Galleon config

Issue: https://issues.redhat.com/browse/WFCORE-5097
Add a new option to bootable JAR runtime to display the galleon provisioning.xml that reflects the provisioned server. The provisioning.xml file is added by the maven plugin (starting 2.0.0.Beta2).

Core - Full Integration Build 9869 outcome was FAILURE using a merge of 47a9ec9eface00bd846d2cc94bd5136208e77b93
Summary: Exit code 1 (Step: Build & test full (Maven)) (new) Build time: 00:03:58

Core - Full Integration Build 9917 outcome was FAILURE using a merge of 47a9ec9eface00bd846d2cc94bd5136208e77b93
Summary: Exit code 1 (Step: Build & test full (Maven)) (new) Build time: 00:03:59

@jfdenise thanks


Increment NPM Version only on Master

I would like to use the same NPM pipeline to build and push release package, for that I want to increment the versions only on master branches.

Is the idea here that you would create a release branch and manually set the full version, and then release out of this branch?

Yes. Let's say we just released version 0.8.0, here is the workflow:

Master package.json still says 0.8.0
Every build on master invokes npm version which will increment the patch and add prerelease, so 0.8.1-11202019.1
We decide that we are ready to release 0.9.0, we update master to 0.9.0, builds go to 0.9.1-11202019.1
We branch to release, and build the 0.9.0 package

This way, master will always be ahead of any release as the release is based on current checked-in version.


Pasting an URL into a [alt text](url) link crashes

Pasting a simple URL such as https://en.wikipedia.org/wiki/Lightweight_markup_language into the parentheses of  [lightweight markup language]() causes a crash, while pasting it directly and adding the parentheses afterwards works but adds surrounding <>s.

Ummm. Not seeing that. Do you have a stack trace? (*.pdf files are already included)
The <> added to the link is intentional. This is legal Markdown syntax and guarantees the text is interpreted as a link. Very complicated links sometimes fool the parsers.

My bad, the bug only occurs in a list, i.e. MWE:
* [test]()

then paste a link into the parentheses.

Still not happening here at mind end. What url are you using?

Hm, might be this only happens for https links such as https://github.com/mike-ward/Markdown-Edit/issues/42#issuecomment-143742441


Add ourselves to Awesome ASGI

https://github.com/florimondmanca/awesome-asgi
Need to consider if we think we're awesome enough :-/

See florimondmanca/awesome-asgi#79


New examples for upcoming homepage work, increase code sample width

This change contains new samples that will be linked from an upcoming iteration of the deno.land homepage. It also contains some minor changes to the utility classes used on the code sample pages to enable them to display 80 columns without obscuring the last ~10 characters of longer lines.

+1 for layout changes by the way. Makes the code a lot more readable.

Will do a rev based on the notes in the PR asap, thanks all!


More documentation

This PR gives descriptive documentation for each kevlar subcommand, which will appear both on the command line with kevlar <subcommand> -h and in the CLI docs at ReadTheDocs. I also made a few more docstring additions elsewhere.
Closes #93.

Codecov Report

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

@@            Coverage Diff             @@
##           master     #100      +/-   ##
==========================================
+ Coverage   84.27%   84.35%   +0.07%
==========================================
  Files          31       31
  Lines        1577     1585       +8
  Branches      251      251
==========================================
+ Hits         1329     1337       +8
  Misses        198      198
  Partials       50       50

Impacted Files
Coverage Δ

kevlar/cli/collect.py
100% <ø> (ø)
:arrow_up:

kevlar/novel.py
75.96% <ø> (ø)
:arrow_up:

kevlar/seqio.py
96.34% <ø> (ø)
:arrow_up:

kevlar/sketch.py
100% <ø> (ø)
:arrow_up:

kevlar/cli/assemble.py
100% <100%> (ø)
:arrow_up:

kevlar/cli/filter.py
100% <100%> (ø)
:arrow_up:

kevlar/cli/mutate.py
100% <100%> (ø)
:arrow_up:

kevlar/cli/dump.py
100% <100%> (ø)
:arrow_up:

kevlar/cli/partition.py
100% <100%> (ø)
:arrow_up:

kevlar/cli/reaugment.py
100% <100%> (ø)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


Adding some useful 'lncli' commands

Hi,
trying to figure out how to use Github, apologies if I'm doing something wrong with this pull request (please let me know what, though :) ).
Just wanted to add some useful commands to the guide, because the official LND API documentation is quite difficult to tackle as a beginner. Hope that's useful.

Thanks for the examples, very helpful.


Change dbs-client PyPI project name to dbs3-client

The dbs3 client is currently packaged in PyPI under the name "dbs-client", change the name to dbs3-client to match what is produced via the RPM build process. dbs-client is an old package that was recently removed from the cmsdist spec repo.

@yuyiguo Yuyi, I know you had a summer student working on the dbs3-client and its packaging this summer. Could you please confirm what is the package name used in PyPi and/or whether this WMCore issue makes any sense?

Indeed not longer relevant! Yuyi has started uploading dbs3-client package to PyPi, see: https://pypi.org/project/dbs3-client/
Closing.


Some tips your can try:

Update xtuner version to 0.1.13
Update your LLM files to those of upstream huggingface hub

Another solution is to disable the streamer, by xtuner chat XXX --no-streamer, and I think this can solve this problem.

Still cannot reproduce this issue in my env, even after aligning the versions of your env.
Some tips your can try:

Update xtuner version to 0.1.13
Update your LLM files to those of upstream huggingface hub

Another solution is to disable the streamer, by xtuner chat XXX --no-streamer, and I think this can solve this problem.

OK, I will try to do that and will get back to you with the results as soon as possible today. Please keep an eye on this issue.

Still cannot reproduce this issue in my env, even after aligning the versions of your env.
Some tips your can try:

Update xtuner version to 0.1.13
Update your LLM files to those of upstream huggingface hub

Another solution is to disable the streamer, by xtuner chat XXX --no-streamer, and I think this can solve this problem.

By the way, the result is normal when I use llava-internlm2-20b.

@yiyexy
How do you download these LLM?
Automatically downloaded to .cache or downloaded manually to local?

@yiyexy How do you download these LLMs? Automatically downloaded to .cache or downloaded manually to local?

I downloaded internlm/internlm2-chat-7b manually.

@yiyexy I think you can update the files of 7B LLM.
Updating .json, .py, ... files is enough, and keeping the .bin, .model files as they are

@yiyexy I think you can update the files of 7B LLM.
Updating .json, .py, ... files is enough, and keeping the .bin, .model files as they are

But I downloaded this LLM today. Where is the new files to update?

@yiyexy I think you can update the files of 7B LLM.
Updating .json, .py, ... files is enough, and keeping the .bin, .model files as they are

But I downloaded this LLM today. Where is the new files to update?

Oh, nothing needs.

把streamer关了吧，chat.py的代码应该写的有点bug，streamer默认是打开的，他是一个个单词往外蹦，没仔细看怎么写的，应该手动加个空格就好了，简单点就直接--no-streamer把它关了就行了

Hi! @yiyexy @xmy0916
Sorry for the late reply.
There is indeed a bug of our streamer.
https://github.com/InternLM/xtuner/pull/404 will fix it!