keyword device[name]:enabled false doesn't actualy turns device off

Regression?
No
System Info and Version
 System/Version info
Hyprland, built from branch main at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: 2024-06-25
Tag: v0.41.2, commits: 918d8340afd652b011b937d29d5eea0be08467f5

flags: (if any)

System Information:
System name: Linux
Node name: sphHpNixos
Release: 6.6.36
Version: #1-NixOS SMP PREEMPT_DYNAMIC Thu Jun 27 11:49:15 UTC 2024

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 630 [8086:591b] (rev 04) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] [10de:1c8d] (rev a1) (prog-if 00 [VGA controller])

os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.11.20240629.2741b4b"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.11 (Vicuna)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.11 (Vicuna)"
VERSION_CODENAME=vicuna
VERSION_ID="24.11"

plugins:

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

Config File: /home/sph/.config/hypr/hyprland.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Monitors/
#@# config/hypr/hyprland.conf: hyprland config
#@#   contains:

# TODO:
# toggle waybar
# screenshot + wl-copy
# powermenu

# monitor=,1440x900,auto,1
# monitor=,preferred,auto,1
#@#   * monitor settings
monitor=eDP-1, 1920x1080, 0x0, 1
monitor=HDMI-A-2, 1680x1050, 1920x0, 1

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

#@#   * apps executed on launch
# exec-once = waybar & hyprpaper & firefox
exec-once = waybar
exec-once = swww query || swww init
exec-once = [workspace 10 silent] thunderbird
# exec-once = mpvpaper -o "--loop-file=inf" '*' /home/sph/wp/mountain-top-temple-clouds-smoke-4k-live-wallpaper.mp4
# exec-once = dunst
# exec-once = wl-paste -p --watch wl-copy -p ''

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

# Some default env vars.
env = XCURSOR_SIZE,24

# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
    kb_layout = us,ru,ua
    kb_options=grp:win_space_toggle
    follow_mouse = 2
}

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

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

    layout = dwindle

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

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

    rounding = 10
    active_opacity = 0.97
    inactive_opacity = 0.97

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

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

animations {
    enabled = yes

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

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 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
}

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

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

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

misc {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    disable_hyprland_logo = true
    disable_splash_rendering = true
    force_default_wallpaper = 0 # Set to -1 to enable the anime mascot wallpapers
    mouse_move_enables_dpms = true
    key_press_enables_dpms = true
}

cursor {
    no_warps = true
}

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

# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more

# Non modkey binds
#@#   * screenshot hotkeys
bind = ,      Print, exec, grim -g "$(slurp -d)" - | wl-copy
bind = SHIFT, Print, exec, grim -g "$(slurp -d)"
bind = CTRL,  Print, exec, grim - | wl-copy

#@#   * F1-F12 hotkeys
# F2 - F4
bind = , XF86AudioLowerVolume , exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bind = , XF86AudioRaiseVolume , exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bind = , XF86Display          , exec, notify-send "F4 not yet binded"

# F6 - F12
bind = , XF86AudioMute        , exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind = , XF86MonBrightnessDown, exec, brightnessctl set 15%-
bind = , XF86MonBrightnessUp  , exec, brightnessctl set 15%+
bind = , XF86AudioPrev        , exec, playerctl previous
bind = , XF86AudioPlay        , exec, playerctl play-pause
bind = , XF86AudioNext        , exec, playerctl next
bind = , XF86RFKill           , exec, notify-send "F12 not yet binded"

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

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
#@#   * fast execute hotkeys
bind = $mainMod, TAB, exec, wofi_window
bind = $mainMod, RETURN, exec, kitty
bind = $mainMod, Z, exec, wlogout
bind = $mainMod SHIFT, Q, exit
bind = $mainMod SHIFT, X, exec, telegram-desktop
bind = $mainMod SHIFT, Z, exec, firefox
bind = $mainMod SHIFT, C, exec, steam_launch

# Macros list
#@#   * macros hotkeys
bind = $mainMod      , A, exec, ~/.local/bin/macroses_wofi /etc/nixos/modules/macroses_list
bind = $mainMod CTRL , A, exec, kitty -e zsh -c "nvim /etc/nixos/modules/macroses_list"

#@#   * fullscreen modes hotkeys
bind = $mainMod, F, fullscreen           # all monitor + fs mode
bind = $mainMod SHIFT, F, fakefullscreen # fs mode only
bind = $mainMod CTRL, F, fullscreen, 1   # all monitor only

#@#   * turn screen on/off
bind = $mainMod, [, execr, hyprctl dispatch dpms off
bind = $mainMod, ], execr, hyprctl dispatch dpms on

#@#   * other hotkeys
bind = $mainMod, C, killactive,
bind = $mainMod, V, togglefloating,
bind = $mainMod, E, exec, wofi --show window
bind = $mainMod, R, exec, wofi --show run
bind = $mainMod, B, exec, /home/sph/.local/bin/toggle_waybar
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

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

# Move window in given direction with mainMod + shift + arrow keys
bind = $mainMod SHIFT, left, swapwindow, l
bind = $mainMod SHIFT, right, swapwindow, r
bind = $mainMod SHIFT, up, swapwindow, u
bind = $mainMod SHIFT, down, swapwindow, d

# Move window from one monitor to another
bind = $mainMod CTRL, up, movewindow, mon:+1
bind = $mainMod CTRL, down, movewindow, mon:-1

# Move window to next or previous workspace
bind = $mainMod CTRL, left, movetoworkspace, -1 # r-1
bind = $mainMod CTRL, right, movetoworkspace, +1 # r+1

# Swap two monitors
bind = $mainMod, u, swapactiveworkspaces, eDP-1 HDMI-A-2

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

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

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

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

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

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

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

Description
Currently i have broken touchpad that just constantly presses left mouse button, whenever i touch it, therefore i want to turn it off. inside x11 system you can turn it off with xinput with ease. but it's seem impossible to do in hyprland. closest thing i found is
$ hyprctl keyword "device[etps/2-elantech-touchpad]:enabled" "false"
which stops reading mouse movement from touchpad, but not clicks. this broken touchpad keeps left mouse button pressed even after being disabled. thinking about turning it off physically, but this can be clearly solved with software
How to reproduce
Can't send my broken touchpad to you, so no way to replicate
Crash reports, logs, images, videos
No response

@vaxerski i've tried it, but that doesn't help, unfortunately. Left mouse key counts as pressed even after i disable touchpad with this command

are you sure you disabled the right one? some might create multiple devices

 $ hyprctl devices -j | wl-copy

{
"mice": [
    {
        "address": "0x20cd2a0",
        "name": "logitech-ergo-m575",
        "defaultSpeed": 0.00000
    },    {
        "address": "0x2138930",
        "name": "etps/2-elantech-touchpad",
        "defaultSpeed": 0.00000
    }
],
"keyboards": [
    {
        "address": "0x1ed9660",
        "name": "power-button",
        "rules": "",
        "model": "",
        "layout": "us,ru,ua",
        "variant": "",
        "options": "grp:win_space_toggle",
        "active_keymap": "English (US)",
        "main": false
    },    {
        "address": "0x1f85f50",
        "name": "video-bus",
        "rules": "",
        "model": "",
        "layout": "us,ru,ua",
        "variant": "",
        "options": "grp:win_space_toggle",
        "active_keymap": "English (US)",
        "main": false
    },    {
        "address": "0x1ff6310",
        "name": "video-bus-1",
        "rules": "",
        "model": "",
        "layout": "us,ru,ua",
        "variant": "",
        "options": "grp:win_space_toggle",
        "active_keymap": "English (US)",
        "main": false
    },    {
        "address": "0x2061c30",
        "name": "power-button-1",
        "rules": "",
        "model": "",
        "layout": "us,ru,ua",
        "variant": "",
        "options": "grp:win_space_toggle",
        "active_keymap": "English (US)",
        "main": false
    },    {
        "address": "0x20ce060",
        "name": "at-translated-set-2-keyboard",
        "rules": "",
        "model": "",
        "layout": "us,ru,ua",
        "variant": "",
        "options": "grp:win_space_toggle",
        "active_keymap": "English (US)",
        "main": true
    },    {
        "address": "0x21396f0",
        "name": "wireless-hotkeys",
        "rules": "",
        "model": "",
        "layout": "us,ru,ua",
        "variant": "",
        "options": "grp:win_space_toggle",
        "active_keymap": "English (US)",
        "main": false
    },    {
        "address": "0x21a3120",
        "name": "hp-wmi-hotkeys",
        "rules": "",
        "model": "",
        "layout": "us,ru,ua",
        "variant": "",
        "options": "grp:win_space_toggle",
        "active_keymap": "English (US)",
        "main": false
    }
],
"tablets": [

],
"touch": [

],
"switches": [
    {
        "address": "0x1d49370",
        "name": "Lid Switch"
    }
]
}

bruh
i've tested it to extent of my abilities and only than opened this issue. currently i need to exit hyprland to reset input devices and, it's suboptimal


Time to deprecate Ruby 1.8.7 support

why did you push? I am still around to help :)

@roidelapluie it was going to break all of our tests, and I think it's safe to stop caring about it now. People still using Ruby 1.8.7 probably shouldn't run the latest puppet modules anyway. :D

Agree, I just mean that I can merge your PR :)


Wrong DTS on input discontinuity

When the encoder is fed with discontinuous CTS (let's say, some incoming buffers are lost) it outputs wrong DTS.
I've prepared a PR that adds a simple test showing what's happening: #478 In this example, the ticks per seconds parameter is configured to "auto" (cfg.m_TicksPerSecond = -1) and the framerate to 30. The result is as follow:
Incoming CTS:
0 1 2 3 4 5 6 7 8 9 10 [JUMP FW] 21 22 23 24 25 26 27 28 29

Outgoing DTS:
5 -4 [JUMP BW] -3 -2 -1 0 1 2 3 14 5 [JUMP BW] 6 7 18 19 20 21 22 23 24

So... we discussed it. As I understand, this is an issue when the client code has to skip frames for some reason. Correct me I am wrong, but this can really only heppen in live scenarios, right?
VVenC is an offline encoder and it seems an overkill to add all this logic to handle input discontinuities. We would probably need to add a scene cut or similar also, which adds a ton of logic.
We will eventually try and improve it, so at least the output timings are not incosnsitent, but as its outside of the scope of the main use case of VVenC, this is a lower priority for now.


Issue new release on https://github.com/src-d/gcfg

I am using go dep to resolve dependencies for go-git.v4, and I am encountering a dependency error with gcfg.
vendor/gopkg.in/src-d/go-git.v4/plumbing/format/config/decoder.go:36: undefined: gcfg.ReadWithCallback

dep uses the latest release by default, which is "v1.2.0" for gcfg. That release, however, does not include the two commits from Oct. 2016 which includes the addition of ReadWithCallback().
I tried pinning to v1, but unfortunately dep prefers tags over branches, so it pins to the v1.0.0 tag (which is actually two steps backwards). I am currently pinning the repo against master, but that's non-ideal for consistent dependency resolution. It'd be great if a new release, v1.3.0, could be issued to resolve this dependency problem. Thanks!
P.S. I couldn't find a way to open an issue on that repo, so doing it here instead.

@calvn Thank you for taking the time to report this issue!
I have just pushed a v1.3.0 tag on src-d/gcfg: https://github.com/src-d/gcfg/releases/tag/v1.3.0
If you think this issue is still not fixed, feel free to reopen it.


am getting this error

Version information

Laravel: v6.2
Voyager: v1.3
PHP:7.2
Database: [mysql]  (e.g. MySQL 8.0)

Description

I am trying to save my data form and there is an image and I got this error.
Intervention\Image\Exception\NotSupportedException
Reading Exif data is not supported by this PHP installation.

Looks like you dont have the correct PHP modules installed in your PHP version


Certain color schemes on mobile view might be too difficult to see

Certain color schemes when in mobile mode blend too much with their secondary color, which results in text being too difficult to read in the home tab switcher (live/upcoming, VODs, clips)
Okayu (purple/rose violet, dark mode)

Pekora (orange/blue-silver, dark mode)

thanks for the response, will try to figure something out...

flipped the colors:


springboot version is too low

the springboot version is too low... could u please update to 1.5.x ?
many features are not supported or remove on high version, so we also need exclude, include, at the same time, although we exclude, may the program can not run normally.
thanks,

You can upgrdate 1.5.x, that's a lowest Spring Boot supports


Simplify the PDFSidebar.#forceRendering method

The fallback code-path has never really been used, since the PDFSidebar is only used in the default viewer (and has never been exposed in e.g. the COMPONENTS-build).

/botio-linux preview

/botio integrationtest


Instructions for Windows Shops

Great Project!  I am trying to research how to install couchdb and greenscreen.
Can you help provide instructions step by step for installing on a windows machine?
Thanks,
Tyler

This is my first experience with node and couchdb so I'm sorry if this is a terribly stupid question. Where are you supposed to put the greenscreen files? Installing Node and Couch DB was very easy but its the part in between that isn't super evident to me and I can't really find any relevant help on the Node site or via google

@chrisjpowers  Windows  instructions very helpful, Thanks Chris.

Just to let everyone know, I've given up on this project a long time ago, this isn't a critical project for Groupon, obviously they aren't using it themselves anymore and reading the news doesn't turn up well for the company itself either.
We've migrated over to Dashkiosk https://github.com/vincentbernat/dashkiosk, a very performant project with a better architecture for handling digital displays.
Try it out, it's really good!


error: [Errno 10053] An established connection was aborted by the software in your host machine

I am getting error while using browsermob proxy with robotframework:
This is my request.
PUT /proxy/8090/har (my BMP process is running on 8080 on my localost)
Error message:
error: [Errno 10053] An established connection was aborted by the software in your host machine
Why BMP has terminated the connection?
Please let me know if you need any detail.

Please don't comment on multiple issues simultaneously to discuss the same problem. Closing in favor of the existing issue.


Check pin parameter type in GPIODevice class, close #546

Potential fix for #546

Codecov Report

Merging #547 into master will decrease coverage by <.01%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #547      +/-   ##
==========================================
- Coverage   78.26%   78.25%   -0.01%
==========================================
  Files          31       31
  Lines        7213     7215       +2
==========================================
+ Hits         5645     5646       +1
- Misses       1568     1569       +1

Impacted Files
Coverage Δ

gpiozero/devices.py
92.3% <66.66%> (-0.42%)
:arrow_down:

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 1951b0f...ce93968. Read the comment docs.

To keep codecov happy, you could add a unit-test for this exception being thrown ;-)

Sorry, this is effectively made redundant by the recent fix for #279. Now it's no longer valid to pass a Pin implementation to GPIODevice (or any descendent), just a pin-specification, and what a pin-specification is depends entirely on the default or specified pin-factory. I'll add some further comments on #546 about pin specifications...

:+1:


⚠ BCR Bot has degraded performance

In 33a06a8, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 1014 ms

Resolved: BCR Bot performance has improved in 58d3919.


Added Docker/docker-compose conterization

Added folder docker, and config.yaml example for container, also create docker-compose.yml for up its.
P.S. I don't know this is necessary feature, but I decided send pull request)

Not within the scope for this project now, but thanks anyway :) Can be useful for anyone wanting to run it in docker!


create detailed fuel prediction model

It might be worth investigating what the google maps roads api can do

the normal directions api might be sufficient too


[FX-1799] Implements small other collections category rail

Okay let's try this again

Re: FX-1799

Looks like related to strictness migration. @ds300 how do I check this locally? I'm not seeing any type errors/warnings locally?

this check fails if you increase the total number of comments in the codebase which include the text STRICTNESS_MIGRATION. You can ignore it if you're in a rush, but we're trying to reduce the number of these issues by cleaning things up, so if you could help out on that front it would be appreciated.

@ds300 Sure I get that — I'm happy to abide by strict — I'm just not seeing any warnings from Typescript locally.

that's right, this check is separate from typescript. It only looks for the string STRICTNESS_MIGRATION and counts the number of occurrences.

OH. Got it.


[23.2] Skip tests which requires porto if it is not available

No description

8622f74793ae9f00075cf1bcf7c4de3fd6ab09d4
Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/461
(cherry picked from commit 4a821202e5aa57e6a5d61bcf787a002dd08470d4)

I have cherry picked it internally to 23.2 and 24.1 branched


Highlight lowest card option

As a User I want to have an option that lets you highlight the lowest card in order to have a better overview which card I need to play next.

752526686ee5b7d09be5b09b22334d6c7924e313


Add default configuration file for all the rules

To make it easier for the users to enable/disable selected rules and other CLI options, we can provide a default configuration file that will also contain all community rules (marked as disabled) and a comment next to each option explaining briefly what it does.
Something like this .pylintrc file here.
That way, people would not need to go through documentation of all the rules, they will just quickly skim through the configuration file, and they should at least has some basic understanding if they need it.
We can also add some robocop init command that will produce such file.
This task is part of the #809 issue.

Should comment in the configuration file be generated from the help docs? ie:

        optional.add_argument(
            "--language",
            "--lang",
            action=ParseDelimitedArgAction,
            default=self.language,
            help="Parse Robot Framework files using additional languages.",
        )

should produce:
# Parse Robot Framework files using additional languages
--language x

(bit of obvious, but still need to be asked) It should put default values? In above case, it should produce

--language en

For 2), it's not always easily possible to reuse default value - since default is sometimes already parsed value. We could add something like "default_config_value" or "raw_default" for such cases.

Should we support .robocop, pyproject.toml or both?

If there is config file in current directory already, it should not produce anything and produce warning

In the top of the such file we should have some note like "Generated with Robocop x.y.z"
Some options should be commented and some not. For example:

--threshold I  # fine to include
# --ignore-default # it's better to not use this it by default

With such requirements I'm thinking it should be better to not overcomplicate things and do not create fully automatic solution but semi one. For example we can have class for producing the configuration files with some options manually added in the code and some options (like included rules) could be auto-generated.

I would say – yes. It will be easier to maintain the short descriptions of the CLI options in one place. And if we see that the description is not very good, it will be a good moment to update them.

Yes, we should provide all enabled CLI options with default values, and all that are not used should be commented out. Regarding the parsed values  – what do you mean here? Can you provide an example when we can't put the default value as is?

Good question. I think we definitely should have our own default config available for the users as a .robocop file, but having a possibility to also generate the TOML config is good, but such file can already exist in the user's project, so we need to think how to walkaround. We can either generate an additional TOML file so that the user can copy the content of it and put into an existing TOML file, or we can try to append Robocop configuration to an existing TOML file.

If there is a configuration file already, we should definitely not allow overwriting it by default.
The more I think about it, I see a potential here that we can have a new command under robocop like robocop generate and then some CLI options to control it, e.g. -f to force overwriting, -o for pointing an output path or changing name of the config file, --format for selecting TOML or Robocop configuration file type, and so on... But this makes this feature a big addition to Robocop 😋
For a simple solution, I would say we should not overwrite and display a warning.

Agreed.

This relates to 2) where I mentioned that some options should be commented out, and I agree that this complicates the generation a bit, because it would be hard to make it fully automatic (or we can do it by adding some flag to the options marking them as commented out or not).

In most cases, for example:

        optional.add_argument(
            "-rules",
            "--ext-rules",
            action=ParseDelimitedArgAction,
            default=self.ext_rules,
            help="List of paths with custom rules.",
        )

--ext-rules accepts string with comma delimited names. While self.ext_rulesis already parsed container (empty set). For such case I will display some example value, ie --ext-rules custom_rules.py

We can for now generate both .robocop and toml file. I will check if it will be easy to merge with existing pyproject.toml. It's preferable since it will work out of the box (if we create different file, like robocop.toml, it will not be recognized. Workaround would be to also detect such file together with pyproject.toml and .robocop.

In such case it would generate existing configuration to configuration file (be it default or with some overwritten values). Definitely possible but like you wrote - bit more complex. We can go with default configuration first and see how it'll be implemented (with the possibility of extending it later).

I will try to create some POC because it could clear out some problems if I will be able to achieve it easily.

I have managed to implement POC that reuses existing code for creating argument parser (by moving it to separate class). Thanks for adding few extra arguments like whether given option should be included in default config/commented out/default value overwritten I have produced:
# Generated with Robocop 3.2.1

# Run Robocop only with specified rules. You can define rule by its name or id.
# Glob patterns are supported.
# --include

# Ignore specified rules. You can define rule by its name or id.
# Glob patterns are supported.
# --exclude

# List of paths with custom rules.
# --ext-rules robocop_rules.py

# Use this flag to stop scanning directories recursively.
# --no-recursive

# Generate reports after scan.
# You can enable reports by listing them in comma-separated list:
# --reports rules_by_id,rules_by_error_type,scan_timer
# To enable all default reports use 'all':
# --reports all
# List available reports with --list-reports option.
--reports all

# Format of output message. You can use placeholders to change the way an issue is reported.
# Default: {source}:{line}:{col} [{severity}] {rule_id} {desc} ({name})
--format {source}:{line}:{col} [{severity}] {rule_id} {desc} ({name})

# Configure checker or report with parameter value. Usage:
# -c message_name_or_id:param_name:param_value
# Examples:
# -c line-too-long:line_length:150
# --configure 0101:severity:E
# --configure

# List all available rules. You can use optional PATTERN argument to match rule names (for example --list *doc*). PATTERN can be also ENABLED/DISABLED keyword to list only enabled/disabled rules.
# --list

# List all available rules with configurable parameters. You can use optional PATTERN argument to match rule names (for example --list *doc*). PATTERN can be also ENABLED/DISABLED keyword to list only enabled/disabled rules.
# --list-configurables

# List all available reports. Pass ENABLED or DISABLED as argument to list only enabled/disabled reports.
# --list-reports

# Path to output file.
# --output robocop_output.txt

# Comma-separated list of file extensions to be scanned by Robocop
--filetypes .robot,.tsv,.resource

# Disable rules below given threshold. Available message levels: I < W < E
--threshold I

# Path to file with arguments.
# --argumentfile robocop_config.txt

# Path to TOML configuration file.
# --config robocop_config.toml

# Ignore file(s) and path(s) provided. Glob patterns are supported.
# --ignore file_to_ignore.robot

# Parse Robot Framework files using additional languages.
# --language en

# Use this flag to save Robocop reports in cache directory for later comparison.
# --persistent

# Display extra information during execution.
--verbose

The next step would be extending include with commented rule names, ie:
# --include rule1
# --incldue rule2


[core] ToggleFullscreen() can't exit fullscreen mode

[*] I tested it on latest raylib version from master branch
[*] I checked there is no similar issue already reported
[*] My code has no errors or misuse of raylib

Issue description
Raylib launches in windowed mode. Calling ToggleFullscreen() once causes it to enter fullscreen mode, but it fails to return to windowed mode on subsequent calls.
Environment
Platform: Desktop, Ubuntu 20.04 (bug reproduced in both regolith/i3 and gnome)
INFO: GL: OpenGL device information:
INFO:     > Vendor:   Intel
INFO:     > Renderer: Mesa Intel(R) HD Graphics 5500 (BDW GT2)
INFO:     > Version:  4.6 (Core Profile) Mesa 20.0.4
INFO:     > GLSL:     4.60
Code Example
#include <raylib.h>

using namespace std;

int main() {
    SetConfigFlags(FLAG_WINDOW_RESIZABLE);
    InitWindow(GetMonitorWidth(0), GetMonitorHeight(0), "Fullscreen Test");
    SetTargetFPS(60);
    while (!WindowShouldClose()) {
        BeginDrawing();
        ClearBackground(RED);
        EndDrawing();
        if (IsKeyPressed(KEY_SPACE)) {
            ToggleFullscreen();
        }
    }
}

@Andrew-Maxwell It should be addressed on latest commit.

Yep, looks like it's working now. Thanks again!


Autotranslator doesn't work, game "abandoned- a tale of forgotten lives" v1

there is a game https://f95zone.to/threads/abandoned-a-tale-of-forgotten-lives-v1-0-kerni.187/
Autotranslator doesn't work. changed configuration files.
BepInEx_x64_<IP_ADDRESS>+XUnity.AutoTranslator-BepInEx-5.3.0 = game refuses to start
XUnity.AutoTranslator-ReiPatcher-5.3.0 = the game starts, all paths and files are created, 1 file AutoGeneratedTranslations.txt is not created.
There is a connection to the Internet.
I don't know English. I use Google.

conseguiu resolver o problema da tradução? também estou tentando !


read -timeField option doesn't work with unix timestamps

I have a json file that has a field called timestamp with unix timestamp values that look like:<PHONE_NUMBER>.2838
When I specify the -timeField 'timestamp' option to read, the time field in the output is "Sat Jan 17 18:30:12 1970 UTC" and does not change. The same thing happens if the values in the timestamp field are integers.
I would love it if unix timestamp fields could be used with -timeField so I wouldn't have to convert them myself.

@dmajda this looks like a useful thing for us to support, see about prioritizing please.

@davidbcook I agree this sounds like a reasonable feature to have.  In the meantime, you should be able to say...
read file -file foo.json | put time=Date.new(timestamp) | remove timestamp | ...

I dug into this a little bit -- the juttle core will currently interpret a numeric value as milliseconds since 1970-01-01 while @davidbcook has a value in seconds.
It seems like a sensible default would be to assume any numeric value in a time field is expressed in seconds, unless the value would overflow the maximum date value in which case it is assumed to be milliseconds.

Seeing -timeUnit implemented in #170 I wonder: is there actually any real-world data source which regularly produces timestamps with milliseconds as units? Wouldn’t just changing the unit to seconds suffice in practice?
I’d like to avoid adding options if possible, especially if they are to be rarely used. Every option adds some implementation complexity, testing burden, bloats the documentation (meaning it will be less likely read by users), etc.

I think that the ability to specify the time units in general is useful - different sources use different time units (JS/node based apps usually milliseconds, influx supports nanoseconds etc...) and there is no particular reason why to force a particular choice of unit on the client. I also see your point (and agree) in avoiding unnecessary options.
Is there a way how to post-process a point in the same way as the timeField + timeUnit option would? Something that would basically do put time = new JuttleMoment(timeField) | remove timeField | ... IMHO that, if properly documented, might be a viable alternative, what do you think?

"Everything is seconds" seems needlessly prescriptive. The six new nonblank lines in https://github.com/juttle/juttle/commit/b6049b329a01b621740922fdd2fb58025c57040d are unlikely to be a documentation dealbreaker. The advantage of having timeField and timeUnit options to read instead of in a downstream put is that we can optimize them.

Just to make my position clear: I’m not saying we shouldn’t have the -timeUnit option ever at all, I’m just arguing for not adding it speculatively, but when we have evidence there is a need for it. By evidence I mean user demand or (because we build a tool/platform) a reasonable use case (e.g. a specific data source we are likely to be connected to which produces timestamps with different unit than seconds by default). So far I didn’t see such a thing, only demand for seconds (the InfluxDB thing @bkutil mentions is irrelevant for read http & co.).
Of course adding one option won’t kill us. It’s the approach we take and feature creep that may result from that. This is why I’m fighting this so vigorously. I don’t want the documentation of our sources to read like man ls in 2 years…

the InfluxDB thing @bkutil mentions is irrelevant for read http & co.

Yeah, I see now that this is about something else and doesn't really apply to influx.
However, I'd still prefer 'using the language to do the task for you' approach (what Steve suggested), instead of adding an option. At least for now.

The problem with "using the language" in the form of put+remove after the read, as mentioned by Dave, is that we don't provide a way to optimize the operation by adapters - both the time assignment, and the downstream reduce count() or whatever the program is doing, will have to be done in the juttle runtime.
Besides that, the approach strikes me as verbose and not easily discoverable by a new user (we'd have to put a note in the read docs article about what to do if your time is in non-default units, which is no better than adding the option).
That said, if we have seen no case of reading from a source with ms units, let's just switch the default to seconds and table the addition of -timeUnit for later.

we don't provide a way to optimise the operation by adapters

Thats a very good point.

Besides that, the approach strikes me as verbose...

On the other hand, it offers flexibility of two options (timeField, timeUnit), plus a choice of whether to keep or discard the original time field, which we currently remove automatically.

...and not easily discoverable by a new user (we'd have to put a note in the read docs article...which is no better than adding the option

We'll have to document the new option in the read docs as well :)  I put up a simple docs update in #192 - just to see how describing the language approach might look like in practice. We can close it after we come to conclusion here.
Overall, I'm not against adding this option per-se, but I share the opinion with @dmajda that adapters and views have a lot of options already and we should carefully consider pros and cons of adding another.

I agree with @dmehra on all points. It would be great to switch the default to seconds as well.

@davidvgalbraith can we merge a version of your PR that would just change the default to seconds? There was unanimous agreement that we should do that part.

@dmehra it is done! https://github.com/juttle/juttle/pull/244

As mentioned by @davidvgalbraith this is done.


Enable tab-bar and main menu to be always visible

Despite being pretty beautiful it gets a bit tiring having to move the cursor to the top of the window just to see the menu. I think it would be interesting an option to enable viewing it/toggling it.
This options can be in the tab-bar or in the settings menu.

Hi @filipeoliveira ( & @julianasouza ),
Request accepted, this will be available in future versions. Thanks for your feedback !


Bootstrapping issue:  No clear path to reproduce results

Thanks for sharing this experiment.
I'm trying to get it working to reproduce your results, but it seems like there's a bootstrapping problem.

Running either script produces an error that some required resource doesn't exist in models/.
Assuming insurace_qa_eval.py is the top-level script, I've made some modifications to uncomment the "save embeddings" portion of the script, but I'm still waiting for it to finish running.
It also looks like it will next need to invoke the __main__ block to produce models/word2vec_100_dim.h5 in insurance_qa_embeddings.py in order to finish bootstrapping.

Is that the right approach for getting this running?  If so, I'll open a PR when I've got it all working.

Did you download the dataset from here? I'm not sure which resource it could be. Could you reproduce the error message?
Yep, the word2vec_100_dim.h5 was the output of using Gensim's Word2Vec model merged with the result of training a 100-dimension EmbeddingModel. I haven't formalized this yet, mostly I've been trying out different word embeddings to see what works. I think once something works well I will put the weight file on Github for general use.
I'd appreciate it if you wanted to open a PR for a stand-alone script. Let me know if you have more questions.

I went ahead and added the word embeddings I've been using to Github

Which word2vec output you are considering here ?
When we save gensim word2vec model we get  typically following files -
outfilename, outfilename.syn1neg, outfilename.syn0.np, outfilename.syn1.np
Which one maps to ".h5" you mentioned above or word2vec_100_dim.embeddings you uploaded ?
Also couldn't see "word_embeddings.py" where you might have written something related to this.

syn0 is the equivalent of the Keras embedding layer I believe, that's what I've been using. It's really these lines:
weights = np.load('word2vec_100_dim.embeddings')
language_model = model.prediction_model.layers[2]
language_model.layers[2].set_weights([weights])

@codekansas  Yes, I did have the insurance_qa_python repo cloned and had all the data_paths set properly.
Thanks for adding those .h5 entries.  I'll take a look shortly and let you know if everything's working for me.

Hi, do you mean outfilename.syn0.np = word2vec_100_dim.embeddings?

It might be different depending on your version


[Bug]: VSCode 1.86.0 on Windows is incompatible (blurry text when scrolling)

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
An odd text-duplication effect when scrolling.
Expected Behavior
Working transparency and normal behavior, though that is not what I got.
Steps To Reproduce
I'm not sure how to reproduce this problem, but I've tried uninstalling and reinstalling Vibrancy multiple times. I really don't want to reinstall vscode.
Environment
- OS: Windows 11 Home 22H2
- VSCode: 1.86.0 (User Setup)
- Extension: 1.1.27
- Theme: Dark+

Anything else?
https://github.com/illixion/vscode-vibrancy-continued/assets/47797856/2d943b89-3a36-4f7e-af1d-3966c6862adc

Hey @rsa16 , i am experiencing the exact same behavior here.
I beliecve it has begun when i dettached a vscode window.

Same here, began when I updated VS Code today.

I'm able to reproduce this as well, probably caused by VSCode updating to Electron 27

@illixion Thx man! Any predictions in order to release a fix?

To also input:
Affected Visual Studio Code Version: v1.86, easily reproduceable with extension versions like 1.1.20 to 1.1.27. Started today with v1.86 (probably Electron update as @illixion said). Any values from 0, 1, and -1 don't fix the shearing or changing themes.

Reproduced on my machine.

From my tests with the VS Code v1.86, the native code for Windows only does an effective effect if the BrowserWindow construction has frame: false and transparent: true.

When will this be fixed?

@ShayBox Hey! I downgraded to v1.85 and I noticed that my vibrancy looks nothing compared to what it looked previously, I'm using the same settings and didn't change anything. Any clue why this is?
This is my current vibrancy:
https://i.imgur.com/MYHVOhJ.jpeg
This was my previous vibrancy:
https://i.imgur.com/ROypCET.jpg
See how much they changed..?

I couldn't say why it appears different, mine appears the same. You can try adjusting the opacity setting.

@Xyeut no ETA on a fix since I don't use VSCode on Windows, if anyone else creates a PR then I'll be happy to merge it. In regards to the changed appearance, this is because the default transparency mode has been changed to prepare for VSCode 1.86 deprecating it, you can restore the old behavior by choosing dark mode under "Native method of Vibrancy Effect"

@illixion Ah alright, all good! I'll just use 1.85 till then, I can't find "Native method of Vibrancy Effect" mind guiding me?

I can't find "Native method of Vibrancy Effect" mind guiding me?

Sure, just go to VSCode settings and search for "Vibrancy", or look for it in the sidebar. The setting will be in the Vibrancy category

@illixion Alright, does this look right?

@illixion Alright, does this look right?

Yes

@illixion Alright, I ended up changing it and I'm still facing the same issue. 😅

It does say when I select dark that it's deprecated

Same here, began when I updated VS Code today.
EDIT: Downgrading to v1.85 fixed it for me, make sure to disable automatic updates before downgrading. Set update mode to manual or none, then download and install

Fixed for me too, Thanks! You have a place in Heaven.

Hey @illixion if the users don't care about the miss of the maximizing capability, and you agree, I could send a PR to set the BrowserWindow to frame: false, transparent: true. Let me know.

Hey @illixion if the users don't care about the miss of the maximizing capability, and you agree, I could send a PR to set the BrowserWindow to frame: false, transparent: true. Let me know.

Umm... Users probably care about it.

If it just removes the maximize button it's not a big deal, you can use aero snap or alt snap, but if it disabled resizing entirely it would be a problem.

It'll be nice if you add a option to select vibrancy impl method.

How do I uninstall the extension so that css get restored?
I tried disabling it and uninstalling, but the text ghosting glitch persists...

How do I uninstall the extension so that css get restored? I tried disabling it and uninstalling, but the text ghosting glitch persists...

Using the "Disable Vibrancy" action in VSCode will restore everything to the original state, just disabling the extension doesn't run the necessary code to undo the changes

Is there an existing issue for this?

[x]  I have searched the existing issues

Current Behavior
An odd text-duplication effect when scrolling.
Expected Behavior
Working transparency and normal behavior, though that is not what I got.
Steps To Reproduce
I'm not sure how to reproduce this problem, but I've tried uninstalling and reinstalling Vibrancy multiple times. I really don't want to reinstall vscode.
Environment
- OS: Windows 11 Home 22H2
- VSCode: 1.86.0 (User Setup)
- Extension: 1.1.27
- Theme: Dark+

Anything else?
Recording.2024-02-01.132241.mp4

bro, I am facing the same issue as you have shown in the attached video. I just want to fix that blurry text effect and get the previous appearance back. I went through the whole conversation but didn't get the actual way to fix it. Please tell me bro how can I fix it?

You have to downgrade to 1.85 for it to work right now, only option.

@illixion is there an ETA on when it'll be fixed on 1.86? I'm on windows.

Reproduced on my machine.

Same here, began when I updated VS Code today.
EDIT: Downgrading to v1.85 fixed it for me, make sure to disable automatic updates before downgrading. Set update mode to manual or none, then download and install

Fixed for me too, Thanks! You have a place in Heaven.

If it just removes the maximize button it's not a big deal, you can use aero snap or alt snap, but if it disabled resizing entirely it would be a problem.

It'll be nice if you add a option to select vibrancy impl method.

Since Electron 27+ prevents DWM from redrawing video frames rendered on opaque windows, the BrowserWindow must be set to frameless & transparent for Mica/Acrylic to work again.
According to electron docs, transparent windows can't be maximized on Windows, they are also not resizable.
So, the best solution for now is still to downgrade to Electron 26 (VSCode 1.85).

If that's what must be done, I use alt snap to resize and move windows anyway, can this be updated?

Can this issue be added to the FAQ as a known issue with the downgrading workaround?

I think the triage tag can be removed for this issue, now that the cause is already known

Updated the description with a notice, will look into providing a workaround by making the window non-resizable separately later

As a workaround you can use the Apc Customize UI++ extension to use acrylic but for aforementioned reasons maximizing will disable the effect until you restart VSCode. While tedious, you can manually resize the window to take up the full width and height of a monitor and it doesn't seem to break.
https://github.com/illixion/vscode-vibrancy-continued/assets/7842848/0170b62a-9a7a-4647-a31b-46d9efd83382

@duckies Sorry for the annoying, Please if you on windows, could please tell me how you activated that acrylic please and if you could share with me your settings.json file?
Massive thanks in advance <3

This is Windows, yes. The settings are mostly trial and error or personal preference.
  "apc.electron": {
    "frame": false,
    "backgroundColor": "#00000000",
    "backgroundMaterial": "acrylic",
    "titleBarStyle": "hiddenInset",
    "transparent": true,
  },
  "apc.stylesheet": {
    "html,body,.part.titlebar": "background-color:#00000040 !important"
  },

You then need either a transparent theme or override your themes settings:
// These are not exhaustive, just what I've cobbled together for my use.
"workbench.colorCustomizations": {
    "editorGroupHeader.tabsBackground": "#00000000",
    "sideBar.background": "#00000000",
    "sideBarSectionHeader.background": "#00000000",
    "editor.background": "#00000000",
    "editorGroup.border": "#00000000",
    "editorGroupHeader.tabsBorder": "#00000000",
    "peekViewEditor.background": "#00000000",
    "peekViewEditorGutter.background": "#00000000",
    "panel.background": "#00000000",
    "panel.border": "#00000000",
    "panelInput.border": "#00000000",
    "panelTitle.activeBorder": "#ffffffaa",
    "titleBar.border": "#00000000",
    "titleBar.inactiveBackground": "#00000000",
    "terminal.background": "#00000000",
    "statusBar.background": "#00000000",
    "activityBar.background": "#00000000",
    "activityBar.activeBackground": "#00000030",
    "activityBar.border": "#00000000",
    "editorGutter.background": "#00000000",
    "tab.activeBackground": "#ffffff10",
    "tab.activeBorder": "#00000000",
    "tab.activeBorderTop": "#00000000",
    "tab.border": "#00000000",
    "tab.hoverBackground": "#ffffff20",
    "tab.hoverBorder": "#00000000",
    "tab.inactiveBackground": "#00000000",
    "tab.inactiveForeground": "#ffffff80",
    "tab.unfocusedActiveBorder": "#00000000",
    "tab.unfocusedActiveBorderTop": "#00000000",
    "tab.unfocusedHoverBackground": "#ffffff20",
    "menu.background": "#161616d0",
    "menu.border": "#00000000",
    "menu.foreground": "#cccccc",
    "menu.separatorBackground": "#00000000",
    "sideBar.border": "#00000000",
    "statusBar.border": "#00000000"
}

@duckies Firstly massive thanks for your time and reply,
Please could you tell me which version of VS Code you are using, because I have the last version and I do the same settings you shared with me but still not working ???
<3

If this is broken in VSCode 1.86+ due to:

Electron 27 introducing breaking changes to how transparent windows are handled

is there any expectation that this will be updated to support future versions of vscode? I don't want to be stuck using VSCode 1.85 just to support my vibrancy effect :(

Supposedly it still works if the frame is disabled, which just means you can't resize/minimize/maximize the window using the frame controls, you can still use third-party tools like AltSnap to do that.
This is a limitation that also applies to Discord, I don't have a Discord frame but I keep it maximized all the time like VSCode anyway.

Here

Supposedly it still works if the frame is disabled, which just means you can't resize/minimize/maximize the window using the frame controls, you can still use third-party tools like AltSnap to do that.
This is a limitation that also applies to Discord, I don't have a Discord frame but I keep it maximized all the time like VSCode anyway.
EDIT: You can also use the custom titlebar instead of native which gives you minimize/maximize buttons, just no resizing because there's no frame edge to grab.

how to download altsnap ?

how to download altsnap ?

@sharmakriah13 you can find it right here: https://github.com/RamonUnch/AltSnap/releases


Replaced 'w and 's with 'world and 'state resp. everywhere

Objective
Lifetimes 'w and 's is all over the place.
The only place they are really documented is SystemParam. Thus a better strategy world
be to name them 'world and 'state.
This is raised in #6953, attempted in #6958.
Solution
Replaced it everywhere and tested if it passes checks and tests.

Controversial because project wide style.

Wouldn't 's be more helpfully named 'system, not 'state? I thought the lifetime represented the lifetime of the system param's state, which is effectively a system lifetime. That's been my mental model, at least.

Suggested edit:
diff --git a/crates/bevy_ecs/src/system/query.rs b/crates/bevy_ecs/src/system/query.rs
index 524f6ceef..b00638aba 100644
--- a/crates/bevy_ecs/src/system/query.rs
+++ b/crates/bevy_ecs/src/system/query.rs
@@ -273,6 +273,8 @@ use std::{any::TypeId, borrow::Borrow, fmt::Debug};
 /// [`Table`]: crate::storage::Table
 /// [`With`]: crate::query::With
 /// [`Without`]: crate::query::Without
+#[doc(alias = "world")]
+#[doc(alias = "state")]
 pub struct Query<'world, 'state, Q: WorldQuery, F: ReadOnlyWorldQuery = ()> {
     world: &'world World,
     state: &'state QueryState<Q, F>,
diff --git a/crates/bevy_ecs/src/system/system_param.rs b/crates/bevy_ecs/src/system/system_param.rs
index 21b17c673..07943b455 100644
--- a/crates/bevy_ecs/src/system/system_param.rs
+++ b/crates/bevy_ecs/src/system/system_param.rs
@@ -96,6 +96,8 @@ use std::{
 ///   by [`SystemParam::get_param`] with the provided [`system_meta`](SystemMeta).
 /// - None of the world accesses may conflict with any prior accesses registered
 ///   on `system_meta`.
+#[doc(alias = "world")]
+#[doc(alias = "state")]
 pub unsafe trait SystemParam: Sized {
     /// Used to store data which persists across invocations of a system.
     type State: Send + Sync + 'static;

@alice-i-cecile I'm not sure how to do that, I've put a diff.. is that sort of what you're thinking?

@alice-i-cecile I'm not sure how to do that, I've put a diff.. is that sort of what you're thinking?

Nope, I was asking for this technique. Then, when users search "what the heck is this 'world thing", the docs will show them the right thing.

I cannot use ' in doc(alias), even if I escape it, so it can only be world and state :(

Oof. Okay, maybe we can add a nice explanation to the module level docs, and then put a Github Discussion up that links to that?

Alice, I don't know what you exactly expect of me here. I'm willing to do whatever I'm asked, but at the same time, I don't want to rebase this PR when too many things are changed on main.
If it is possible to be a little concrete (or even help) with this PR now, that would be great.

I'm fine to leave better docs to a future PR: I have no further requests here.

Sorry for the wording on that reply; I just mean I don't know how to attack the documentation task. I'll keep an eye on the discussion here, and maybe propose a follow-up PR if something emerges.
Again, thanks for trying to make this PR bulletproof. I very much appreciate it.

Wouldn't 's be more helpfully named 'system, not 'state? I thought the lifetime represented the lifetime of the system param's state, which is effectively a system lifetime. That's been my mental model, at least.

I barely have a grip on this, but I think 'state is the wording chosen in the code. I think.. QueryState seen here http://dev-docs.bevyengine.org/bevy/ecs/query/struct.QueryState.html is really the anchoring for that term.

Can we consider giving users the option between the long form and the abbreviated form? That way we could use the full name for clarity in documentation and examples, but allow the more convenient form for most other cases (just an idea, I don't feel particularly strongly about this).

In macros we could probably do this, but there's no real way to do that in engine code. You could have a feature flag for it, but it would be a complete disaster.

You shouldn't need a feature flag for it or anything. Currently, the macro errors if it encounters any lifetime other than 'w or 's, but theoretically you could just make that check more flexible, and then replace a few hard-coded lifetime names with #variable names.

Ah, totally agree on the macro: we should do that regardless. I meant for the internal usage :)

I've made a PR (soon) that would enable the user to use other names for 'w and 's lifetimes, through a pre-defined list. One thing though, if a SystemParam provide more lifetimes than those two, it doesn't compile.
Should a SystemParam encompass more than those two lifetimes?

Looking at the diff, I'm not super on board for this as a global rule. These lifetimes are "everywhere" and I'm not sure the line noise/typing cost is worth it relative to the one-time cost of learning what these are (And w is reasonably easy to intuit without help ... s is definitely the more confusing one).
Diffs like this are especially meh for me:

Id love it if the lifetime didn't need to exist at all in the context of custom SystemParams. Having to specify world there manually for each lifetime just makes the whole thing way more imposing to look at (and type). I see w as just a nice "hint" here. I wouldn't be particularly bothered if we used a instead (in this specific context) because the context is so clear (not that I would actually advocate for that).
I'm most on board for this change in the context of trait declarations, as those are declared way less commonly and the full name provides nice documentation for trait implementors.
Everywhere else (ex: most "impls") just feels a bit boilerplatey to me.

'system vs 'state vs 'cache vs 'param vs 'query

state is definitely a bit ambiguous (even if it directly correlates to the SystemParam::State term).
cache is even more ambiguous. It also feels too "specific". Cache is a loaded word. And it is a "new" concept ... it doesn't directly correlate to any Bevy ECS terms.
system feels reasonable. Not quite accurate as SystemParams/SystemState can and do exist without actual systems. But its a reasonable "lie" we can tell that does get the point across / makes it easy to understand. And it retains a correlation to SystemParam/SystemState via the "system" word.
query feels wrong because its only accurate in the context of Query. There are non-query SystemParams. I think this would be too confusing
param feels a bit too unclear. It correlates to SystemParam, which is "a borrow of state from World and SystemParam::State". I think SystemParam is as much about the world lifetime conceptually as it is about the SystemParam::State (arguably more so).

Should a SystemParam encompass more than those two lifetimes?

I can't think of a scenario where we would need that within the current system.


Adds mapster

Adds Mapster to the UWP project
Configures dependency injection
Adds an example mapping

The mapping is required for the application level so it has to be implemented there

@Dshauchuk Mapster was moved to the application layer


How to pass Option instead of T to handlers

I'd like to use razorView, json and other http handlers not with T, but with Option type (since data comes from db, or another service and can be missing). How do I do that?

Never mind.
I decided to go with Result instead of Option for model and this snippet:
      return! match result with
              | Ok model -> json model context
              | Error error -> (setStatusCode 500 >=> text error) context

Hi Lanayx,
I was in the middle of writing a response when you closed but from your own response, Result is probably better truthy container as it includes details on fail/error and is internally a struct which is well suited to short-lived evaluation of parameters like this.
With any handlers/functions that take concrete types for binding, you should do the filtering yourself before calling a binding (json/razor), explicitly providing path to take when model does not exist as you have done above.

Thank you for confirmation!


Add flow lints, especially "sketchy-null".

https://flow.org/en/docs/linting/rule-reference/#toc-sketchy-null

This issue was moved to vital-software/checkin#372


Webpack and RC0

Short description of the problem:
I am using webpack as a build process (because we also have web applications and i want use the same process) and since you introduced the umd folder, my build is not working anymore.
What behavior are you expecting?
To be able to build an ionic app with webpack
Steps to reproduce:

Clone https://github.com/ghaiat/ionic2-rc0
npm install && npm run browsersync
check the logs, you ll see a lot of errors

49% 491/743 build modulesError: Debug Failure. False expression: Output generation failed Error: Debug Failure. False expression: Output generation failed
    at Object.assert (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/typescript/lib/typescript.js:2406:23)
    at Object.transpileModule (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/typescript/lib/typescript.js:54350:18)
    at State.fastEmit (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/awesome-typescript-loader/src/host.ts:264:39)
    at transform (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/awesome-typescript-loader/src/index.ts:164:28)
    at transformationFunction (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/awesome-typescript-loader/src/index.ts:89:48)
    at compiler (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/awesome-typescript-loader/src/index.ts:105:34)
    at Object.loader (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/awesome-typescript-loader/src/index.ts:18:18)
    at WEBPACK_CORE_LOADER_EXECUTION (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:155:71)
    at runSyncOrAsync (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:155:93)
    at nextLoader (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:290:3)
    at /Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:292:15
    at Object.context.callback (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:148:14)
    at Object.module.exports (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/angular2-template-loader/index.js:32:10)
    at WEBPACK_CORE_LOADER_EXECUTION (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:155:71)
    at runSyncOrAsync (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:155:93)
    at nextLoader (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:290:3)
    at /Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:259:5
    at Storage.finished (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:38:16)
    at /Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/enhanced-resolve/node_modules/graceful-fs/graceful-fs.js:78:16
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)
Error: Debug Failure. False expression: Output generation failed Error: Debug Failure. False expression: Output generation failed
    at Object.assert (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/typescript/lib/typescript.js:2406:23)
    at Object.transpileModule (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/typescript/lib/typescript.js:54350:18)
    at State.fastEmit (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/awesome-typescript-loader/src/host.ts:264:39)
    at transform (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/awesome-typescript-loader/src/index.ts:164:28)
    at transformationFunction (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/awesome-typescript-loader/src/index.ts:89:48)
    at compiler (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/awesome-typescript-loader/src/index.ts:105:34)
    at Object.loader (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/awesome-typescript-loader/src/index.ts:18:18)
    at WEBPACK_CORE_LOADER_EXECUTION (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:155:71)
    at runSyncOrAsync (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:155:93)
    at nextLoader (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:290:3)
    at /Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:292:15
    at Object.context.callback (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:148:14)
    at Object.module.exports (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/angular2-template-loader/index.js:32:10)
    at WEBPACK_CORE_LOADER_EXECUTION (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:155:71)
    at runSyncOrAsync (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:155:93)
    at nextLoader (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:290:3)
    at /Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:259:5
    at Storage.finished (/Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:38:16)
    at /Users/ghaiat/Documents/Phonegap/test-generator/node_modules/webpack/node_modules/enhanced-resolve/node_modules/graceful-fs/graceful-fs.js:78:16
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)

Which Ionic Version? 2.0.0.rc-0

I've got this exact same issue here with a webpack 1.13.2 based build :/

I'm using webpack too, and I'm seeing lots of these errors with umd. Any suggestions on how to fix these?
WARNING in /Users/test/electron-ionic2-webpack-starter/~/ionic-angular/umd/index.js
Critical dependencies:
3:24-31 require function is used in a way in which dependencies cannot be statically extracted
 @ /Users/test/electron-ionic2-webpack-starter/~/ionic-angular/umd/index.js 3:24-31

WARNING in /Users/test/electron-ionic2-webpack-starter/~/ionic-angular/umd/module.js
Critical dependencies:
3:24-31 require function is used in a way in which dependencies cannot be statically extracted
 @ /Users/test/electron-ionic2-webpack-starter/~/ionic-angular/umd/module.js 3:24-31

WARNING in /Users/test/electron-ionic2-webpack-starter/~/ionic-angular/umd/gestures/drag-gesture.d.ts
Module build failed: Error: Typescript emitted no output for /Users/test/electron-ionic2-webpack-starter/node_modules/ionic-angular/umd/gestures/drag-gesture.d.ts
    at Object.loader (/Users/test/electron-ionic2-webpack-starter/node_modules/ts-loader/index.js:456:15)
 @ /Users/test/electron-ionic2-webpack-starter/~/ionic-angular/umd/gestures ^\.\/.*$

Upgrading to webpack 2.1.0-beta.25 seems to have fix the problem for me

yeah my assumption was that Webpack 2.x would fix all of this...just didn't wanna have to dive off into slaying that dragon just yet :/

I think we're building our umd bundles incorrectly.
Thanks,
Dan

I managed to fix the umd issue by adding module field to resolve.packageMains of webpack1 configuration:
resolve: {
  packageMains: ['module', "webpack", "browser", "web", "browserify", ["jam", "main"], "main"]
},

Hurray! Glad this is working. Let's close it up!
Thanks,
Dan

All,
We've posted some docs on the subject. Note: They match a version of @ionic/app-scripts that will be dropped in the next day or so. 95% of the concepts still apply.
http://ionicframework.com/docs/v2/resources/third-party-libs/
http://ionicframework.com/docs/v2/resources/app-scripts/
Here's an example with AngularFire2.
Here is a project I implemented that has every library in it that Ionic users have reported trouble with. Most of the libraries worked, but a couple did not. Here is the summary of the findings.
Please let me know how everything goes.
Thanks,
Dan

Same issue here.
After upgrading existing project to

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Builds with ts-loader just stuck an 44%
Builds with awesome-typescript-loader finishes but output is not full.
I've run same config on non-ionic Angular2 project without any issues.
I would say that Ionic should not be dependent on build system.

@m0n01i7h,
Ionic is dependent on a build system. You're free to build with whatever system you want. Sorry it's not working for you. Keep digging and let us know what's wrong please. We are building umd via TSC instead of commonjs so I would expect everything to just work.
Why not use the module field and bundle our ES2015 tree-shakeable modules instead of the legacy stuff?
Thanks,
Dan

So this will remain closed or are we working on a proper webpack implementation?

@msegers,
We have webpack support baked into the build process via the @ionic/app-scripts package.
Thanks,
Dan

Hi everyone,
Here is my working app template https://github.com/m0n01i7h/ionic2-webpack-starter
Maybe it could be interesting for anyone.
I have run it with Webpack 2, ng-compiler-cli and gulp

@m0n01i7h Thanks for sharing I'll look at it intensively, for some reason I just don't get any errors/warnings nor output. Not even with --debug
So I wasn't sure what I"m doing wrong (Still ain't but your example might just help)

Hi @msegers
Strange issue. I have run this starter on several computers. Are you trying to run via npm scripts or via webpack cli or via app-scripts?. Try to install webpack2 globally and run webpack.

@m0n01i7h I'm not running your starter I'm sure it would be fine. I just have this app I've been working on since Alpha that suddenly no longer works now it's in RC ;-). I'm messing with the webpack config now, the only way I can get some output (errors) is by not using a custom webpack config.


when panel option page, event not working

Event not working.
I tested with grafana 10.3.3 but not working.
options.tsx , variable "this" is undefined

Sorry to hear that you are experiencing a bug in the plugin. Can you please attach a file containing the dashboard JSON data?

Seems like this might be the cause of the error: https://stackoverflow.com/questions/33973648/react-this-is-undefined-inside-a-component-function
Testing out code in #58 which should close this issue. Thank you for your patience!

ACE.SVG version 0.1.4 is awaiting review to be published on the Grafana plugin marketplace. Please try updating when it is available, and feel free to open a new issue if there are any problems.


Change google account

Sign in with a google account, then sign out with AuthUI.getInstance().signOut(this). If you try to sign in again using google you cannot change the google account you want to use to sign in. I think AuthUI.signOut does not call the provider's (googleApi) signOut method.

You should sign out from Google explicitly:
    Auth.GoogleSignInApi.signOut(mGoogleApiClient).setResultCallback(status -> {
        mFirebaseAuth.signOut();
    });

It'd be nice if AuthUI.getInstance().signOut() would figure out which provider the user has used to sign in, and call the right method from that provider.

@vinaybn92 this is a good feature request and I believe it's something we have on the roadmap.

@samtstern I think this is documented in FirebaseUI-Android Auth Readme in the SignOut Section Point no 3.
Text tells that you already have it on board:

3 If the current user signed in using either Google or Facebook, the user must also be signed out using the associated API for that authentication method. This typically ensures that the user will not be automatically signed-in using the current account when using that authentication method again from the authentication method picker, which would also prevent the user from switching between accounts on the same provider.

In order to make this process easier, AuthUI provides a simple signOut method to encapsulate this behavior. The method returns a Task which is marked completed once all necessary sign-out operations are completed

If the current signOut method doesn't have this, it should be removed till implemented.

Fixed implemented in #238, will make it into next release.

This fix for this issue is included in version 0.5.0.

This issue has been closed but I am still having it in 1.0.1
Iverc's snippet is nice but never once do I need to use the googleApiClient outside of signing out. I am having problems trying to do that method because not only do you have to create a GoogleApiClient object but you have to wait for it to connect... just so you can sign out of the google account.

@BinaryWaves A helper method was added in v1.0.0: AuthUI.getInstance().signOut(Activity);. I would highly recommend taking a look at the documentation which is much more up to date and accurate than github issues.

For somebody who come here for a solution, here is the code piece that worked for me signing out of Google account and the next Sign In is a fresh start.
                    `AuthUI.getInstance()
                .signOut(this)
                .addOnCompleteListener(new OnCompleteListener<Void>() {
                    public void onComplete(@NonNull Task<Void> task) {
                        // user is now signed out
                        startActivity(new Intent(MainActivity.this, FirebaseUIActivity.class));
                        finish();
                    }
                });`


Train release model

Using the data from DeepForest, need to train and validate a release model against the NeonTreeEvaluation benchmark.

Besides small boxes that need to be filtered, I'm closing this.


Fixed Kodi button mapping

https://batocera-linux.xorhub.com/forum/d/483-kodi-gamepad-reverts-to-default-mapping/41
There's something wrong with the button mapping. I suppose this file should map SNES buttons to X360 buttons. In that case, this line should be :
"a": "b", "b": "a", "x": "y", "y": "x",

With this modification, I get proper button mapping.

not exactly.
the aim was to map effectyvely to snes, but i wanted to keep the logical batocera buttons.
so, it's not perfect what i did, but it's instead of doing an other patch to change the default button order.
the default behavior is not nice for you ?

I have a SNES gamepad clone (same button layout). The current button mapping, without patch, is the following :
In Emulation Station :

B is the confirm button
A is the cancel / goback button
X will open Kodi

In Kodi :

B is the confirm button
A - i don't remember - probably nothing (with my patch, it's the cancel / goback button)
X is the cancel / goback button (with my patch, it does nothing)

I made this patch because ES and Kodi didn't use the same buttons for confirm and cancel actions. I think we share the same goal here. I wanted to map cancel on the A button like on ES, and ended up with this layout by accident.
In my opinion, A et B buttons are the most important in both ES and Kodi, they should map to the same actions. I care less about X et Y.


Commenting cookiecutter comments and add Makefile

The Makefile doesn't really work yet. I think it might be an issue with cookiecutter brackets. Also latexmk is going to take some work.

Alex tells me this is ready to merge. Tally ho!


[Suggestion] Add a configuration to disable Jumbo Furnaces

Hi, I'm working on a modpack at the moment and I was a little surprised by the fact that More Red also bundled Jumbo Furnaces in its jar. I saw from your curseforge comment that it's possible to disable the multiblock from spawning by doing:
// data/jumbofurnace/tags/blocks/jumbo_furnaceables.json
{
	"replace": true,
	"values":
	[]
}

but afaict the recipes will still appear in JEI. I will probably be manually hiding these with KubeJS code, but would you consider releasing a 1.20.1 version without them bundled them together anymore since its trivial to install them separately? Thanks for your time.

As of 1.21, jumbo furnace will no longer be bundled with More Red, reverting to the old behavior where red alloy ingots will be crafted at the crafting table if jumbo furnace is not installed (the recipes can still be overridden with datapacks).


dependencies problem

Hi, i was following your tutorial this and github here. But when i try to run my gradle build have some error
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/gson/annotations/Expose.class

but after i remove the "compile 'com.akexorcist:googledirectionlibrary:1.0.4'" and your code it was back to normal. How should i solve this?
Thank in advance

@shern91 I fixed this problem in version 1.0.5.
Thank you for your feedback


Policy Scopes

This issue tracks the implementation of policy scopes as described in #855.
To recap #855, a scope is a visibility and semantic boundary for policy rules. A RuleBinding associates a policy rule type (e.g. 'geospatial') with a scope identified by a key, thereby making a policy visible in a scope. Rule functions will be bound to scopes, constraining the semantics they implement to the scope they are registered with.
The introduction of scopes will be done in a multistep process:

The PolicyEngine will be enhanced to support functions to be registered by scope.
A ScopedPolicyService stub will be introduced that produces a scoped Policy from a Policy associated with a contract agreement.
Scoped policies will be passed to ResourceDefinitionGenerator, Provisioner, and DataFlowController
RuleBinding methods will be introduced in the PolicyStore.
ScopedPolicyService will be implemented based on the RuleBinding work in the previous step.
At this point, work will begin on #857 and #858

Policy Engine Specifics
The PolicyEngine and related classes will be moved to core-spi as it will be needed more widely throughout the runtime. In addition, the registration and evaluation methods will contain the scope key as a parameter. When a policy is evaluated, only the functions matching the passed scope key will be engaged.
Scoped Policy Specifics
The ScopedPolicyService will be responsible for taking an input Policy and returning a Policy scoped to a given key. This will be an immutable filter operation; the returned scoped Policy will be a new instance containing a subset of Rules as specified by RuleBindings for the given scope.
Note that this work will be the foundation of passing (scoped) policy to the DPF and provisioner endpoints.

@MoritzKeppler @paullatzelsperger ping to make you guys aware of this.


Segmentation fault: 11 on OSX 10.7.5

On a somewhat old version of OSX, running bin/crystal from the new 0.7.5 tarball yields an ugly error.
~/Downloads/crystal-0.7.5-1 $ bin/crystal
bin/crystal: line 6: 24327 Segmentation fault: 11  "$INSTALL_DIR/embedded/bin/crystal" "$@"

I also tried 0.7.4 and got the same result. I'm assuming this is due to this older version of OSX.
Is there anything we can do about this? I think it would also help to document this somewhere (In case it can't be fixed). The homebrew formula should also refuse to continue unless the OSX version is supported.

More details could be helpful. Please open the "Console" app and find the crystal crash dump under "User Diagnostic Reports" section.

This is what the crash log says:
Process:         bash [24768]
Path:            /Users/USER/*/bash
Identifier:      bash
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  bash [20933]

Date/Time:       2015-08-03 19:01:12.575 -0700
OS Version:      Mac OS X 10.7.5 (11G63)
Report Version:  9

Crashed Thread:  Unknown

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00007fff5fc01028

Backtrace not available

Unknown thread crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000055  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x0000000000000000
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x00007fff5fc01028  rfl: 0x0000000000010203  cr2: 0x00007fff5fc01028
Logical CPU: 2

Binary images description not available

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 7313
    thread_create: 0
    thread_set_state: 0

The "bash" process crashed? Isn't there any other crash dump?

Nope. Cleared the log, ran crystal directly, and that's what appeared.

I'm testing on Lion now and I got the same error. It happens because the binaries are linked with some missing symbols. We should use the same approach we use for Linux, creating the binaries in an older environment. Custom binaries can later be customized for each OS version, using these more portable ones.
I'm working on creating a base and reproducible build environment with Vagrant and VirtualBox. Then I'll re-release the Darwin packages.

Sweet! Gracias Juan.

Are you still experiencing compilation issues?
have you tried this since 0.7.5?

Will try again now.

Same story:
$ bin/crystal
bin/crystal: line 6: 73750 Segmentation fault: 11  "$INSTALL_DIR/embedded/bin/crystal" "$@"```

what version of crystal are you trying to run?
This is what I have from homebrew.
crystal -v
Crystal 0.12.0 (Tue Feb 16 15:18:18 UTC 2016)

crystal-0.12.0-1-darwin-x86_64.tar.gz
Downloaded from the releases section.

The bin script is just a bash script that seems to be running ./embedded/bin/crystal
Does something like this work for you?
$ ./embedded/bin/crystal -v
Crystal 0.12.0 [90eaec1] (Tue Feb 16 14:21:22 UTC 2016)

It looks from your error that the executable is being reached but it would be good to check.

$ embedded/bin/crystal -v
Illegal instruction: 4

Crystal is probably using something that's not supported/available in older versions of OSX.

Totally.
After some google reading there might be a way to build with a min version of the kernel.
That might at least provide better feedback.
http://stackoverflow.com/a/14285922

interesting in the output you have listed above your version is unknown.
Version:         ??? (???)

Yeah, no clue as to what that means. I guess we'll have to wait for news from @waj.

I made a branch with a makefile that could solve your problem.
Would you be comfortable in trying to make a build?

@tomas Are you still experiencing this issue with Crystal 0.17.4?

@asterite No, but I can try and see next week, when I expect to get that Macbook working again, haha.

Yes, still happenning on 0.17.4:
$ embedded/bin/crystal
Illegal instruction: 4

We should probably create the binaries on an old osx. Problem is, we don't have one.
@tomas What happens if you install it from homebrew? Do you get the same error or does it work?

@asterite I'm actually trying to build it right now using the patch from #2273. I'm having some trouble building llvm but I'll get there. :)

Any updates on this with Crystal 0.23.1? If not can we close this please @asterite ?

Closing. Please reopen if you have more info.

Trying to build crystal on an old machine (OS X 10.7.5) and I still get a segfault on Crystal 0.24.2-1.
% bin/crystal
bin/crystal: line 102: 75537 Segmentation fault: 11  "$INSTALL_DIR/embedded/bin/crystal" "$@"

Like with @tomas the crashing program just shows bash. Any thoughts?


Document units and direction for use of depth search parameters

If I wanted to do an occurrence search including a filter by depth. The docs don't currently tell me:

What units should I use?
What direction are we using?

For example, if I wanted to search between 10 and 50 meters depth, should I use:
start_depth = -10
end_depth = -50
Please update the docs to describe this.
To share some information, the Climate and Forecast conventions is what made me think of this nuance. The guidance is to specifically include units and direction with vertical coordinates. I don't think we need to handle conversions in the code, but we should be documenting what the expectation is.

I think the obis api assumes depth is a negative value. So you supply a positive number. In my example above, the options would be:
start_depth=10
end_depth=50

@ayushanand18 please check into this depth issue. I think there is a bug

Thank you so much @MathewBiddle! that's an interesting insight. I agree that all physical quantities we will be using as parameters must be documented. Indeed, OBIS already treats depth as negative quantities, so we need to supply magnitudes of depth in meters. I will update the docstrings everywhere.


Update newborn HIV screening

Small change to scheduling of HIV screening for newborns via the newborn_outcomes module so that only newborns of mothers diagnosed with HIV receive screening (previously all newborns were being screened)

@tdm32 wondering if i can close this old PR now?? Or is this something that still needs fixing

@joehcollins  --- are you still working on this> Not sure if this PR is still active and in the queue for merging or not.

@tbhallett actually not sure on this one - i think i commented for @tdm32 to have a look and see if she remembers what our plan was here!!

The function decide_whether_hiv_test_for_infant in hiv.py checks this condition. As long as this is in your branches, this issue can be closed

Yep thats in my current branch. Closing now.


TRSV2-238 - Distinction between develop and master branches for client library.

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@8eede08). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 96a9a0c differs from pull request most recent head 030e0b6. Consider uploading reports for the commit 030e0b6 to get more accurate results

@@            Coverage Diff             @@
##             develop     #160   +/-   ##
==========================================
  Coverage           ?   31.34%
==========================================
  Files              ?       78
  Lines              ?     3190
  Branches           ?      543
==========================================
  Hits               ?     1000
  Misses             ?     2178
  Partials           ?       12

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 8eede08...030e0b6. Read the comment docs.


Bug Report; Deploy-VMSS-Monitoring policy managed identities lacking 'Managed Identity Operator' role

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Versions

terraform:
1.8.5
azure provider:
3.113.0
module:
6.1.0
Description
Describe the bug
Similar to https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/issues/1014, the 'Deploy-VMSS-Monitoring' policy assignment managed identities are missing the 'Managed Identity Operator' role.
Interestingly, I do see the role assignment for the 'Deploy-VM-Monitoring' policy assignments that are mentioned in the linked ticket, so maybe that other issue got resolved at some point.  It seems unresolved for VMSS though.
See screen shot.
Steps to Reproduce

n/a
Screenshots

Additional context

Thanks for reporting - moving upstream to triage!


Update OpenVINO to 2023.3

server: https://github.com/triton-inference-server/server/pull/6827

@dtrawins can you help answer if this is expected or not?

Thank you for finding this and submitting this PR! Closing due to changes being merged in via #238.


Zoom rectangle stays in the plot

Bug Report
Issue:
If another plot interaction is performed quickly enough after a rubber band zoom the selection rectangle stays in the plot.

Reproducing:
Zoom in using alt+mouse selection or mouse wheel-selection and then quickly drag the plot (or zoom by mouse wheel scrolling).
`
System Details

ScottPlot Version: 4.1.17
Operating System: Windows 10
Application Type: WinForms
.NET Version: .NET 5.0

If another plot interaction is performed quickly enough after a rubber band zoom the selection rectangle stays in the plot.

Thanks for reporting this @Elgot! The best way I found to reproduce it is to middle-click-drag, then start scrolling the wheel while dragging and let-go.
I think I fixed this with 392aa3d but if you still have issues let me know 👍

Thanks, it seems to work.


I need help to change voice and text channels fonts sizes

I'm not too familiar with the coding.
I need help to change voice and text channels fonts.
Which codes may i add to change these fonts sizes.

Thanks for helping.
Discord channel: _Stable
OS: _Windows
Mod: _BetterDiscord
Discord language: Turkish

This isn't an issue with the theme but rather a general Discord question. Your best bet is to ask in the BetterDiscord discord server.


Statement of Financial Condition Asks questions about things we've already asked about

It has more complete questions, but things like
Page id: income type select list
Please select all the types of income that you receive:

asks about Social Security, something we already ask about in dbd 04 benefits, but there it's only SSI, TAFDC, EAED, or Veterans benefits. Not sure how much the overlap is, but we should consider using this info to default checkboxes, maybe

There were some issues with the spouse that were easy to sort out. But I think that most of the low hanging fruit here is done.


When you disconnect a client from the server, the console will periodically keep printing out the following message
INFO: [SRV] MainLoop: Cannot keep up!
Here is the function in question
        public void MainLoop()
        {
            // maximum number of ticks to queue before the loop slows down.
            const int MaxTicks = 5;

            _time.ResetRealTime();
            _maxTime = TimeSpan.FromTicks(_time.TickPeriod.Ticks * MaxTicks);

            while (_active)
            {
                var accumulator = _time.RealTime - _lastTick;

                // If the game can't keep up, limit time.
                if (accumulator > _maxTime)
                {
                    // limit accumulator to max time.
                    accumulator = _maxTime;

                    // pull lastTick up to the current realTime
                    // This will slow down the simulation, but if we are behind from a
                    // lag spike hopefully it will be able to catch up.
                    _lastTick = _time.RealTime - _maxTime;

                    // announce we are falling behind
                    if ((_time.RealTime - _lastKeepUpAnnounce).TotalSeconds >= 15.0)
                    {
                        Logger.Log("[SRV] MainLoop: Cannot keep up!");
                        _lastKeepUpAnnounce = _time.RealTime;
                    }
                }

                // run the simulation for every accumulated tick
                while (accumulator >= _time.TickPeriod)
                {
                    accumulator -= _time.TickPeriod;
                    _lastTick += _time.TickPeriod;
                    _time.StartFrame();

                    Update((float)_time.CurTime.TotalSeconds);
                    _time.CurTick++;
                }

                // every 1 second update stats in the console window title
                if ((_time.RealTime - _lastTitleUpdate).TotalSeconds > 1.0)
                {
                    var netStats = UpdateBps();
                    Console.Title = string.Format("FPS: {0:N2} SD:{1:N2}ms | Net: ({2}) | Memory: {3:N0} KiB",
                        Math.Round(_time.FramesPerSecondAvg, 2),
                        _time.RealFrameTimeStdDev.TotalMilliseconds,
                        netStats,
                        Process.GetCurrentProcess().PrivateMemorySize64 >> 10);
                    _lastTitleUpdate = _time.RealTime;
                }

                // Set this to 1 if you want to be nice and give the rest of the timeslice up to the os scheduler.
                // Set this to 0 if you want to use 100% cpu, but still cooperate with the scheduler.
                // comment this out if you want to be 'that thread' and hog 100% cpu.
                Thread.Sleep(1);
            }

            Cleanup();
        }

Im pretty sure the server isn't disconnecting correctly and is just hammering the dropped client and causing delays.


VST thread safety+

This work permits to communicate DSP->Controller forcing it to use the controller thread, which was not the case in Reaper previously.
The message processing is expected to become thread-safe, taking advantage of work from the previous PR.
It's also expected to fix the standalone.
Notes

[ ] fixme, stuck notes on the VK

Note on crashes still occurring under this patch
IMessage and IAttributeList  have custom implementation in the JUCE host.
These are backed by an internal buffer, and this seens to cause corruption when allocateMessage is called from more than one thread.
It appears the solution is to create the message at the last moment, just before sending.


Tkinter ( tkinter ) not working in Vs code When Imported

Environment data

VS Code version: 1.50.1
Extension version (available under the Extensions sidebar): XXX
OS and version: Windows 10 ( As far as I know
Python version (& distribution if applicable, e.g. Anaconda): python 3.8.5 Anaconda
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): Conda
Relevant/affected Python packages and their versions: XXX
Relevant/affected Python-related VS Code extensions and their versions: XXX
Value of the python.languageServer setting: XXX

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
It creates a gui with4 textboxes
Actual behaviour
gives 100 errors
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

from Tkinter import *
import Tkinter
import tkMessageBox

top = Tkinter.Tk()
L1 = Label(top, text="My calculator",).grid(row=0,column=1)
L2 = Label(top, text="Number 1",).grid(row=1,column=0)
L3 = Label(top, text="Number 2",).grid(row=2,column=0)
L4 = Label(top, text="Operator",).grid(row=3,column=0)
L4 = Label(top, text="Answer",).grid(row=4,column=0)

See Console

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

ModuleNotFoundError: No module named 'Tkinter'
PS F:\abeer\abeer pendrive\CODING\code\Abeer Codes\Calculater> & F:/abeer/CODING/Anaconda/python.exe "f:/abeer/abeer pendrive/CODING/code/Abeer Codes/Calculater/script.py"
Traceback (most recent call last):
  File "f:/abeer/abeer pendrive/CODING/code/Abeer Codes/Calculater/script.py",
line 3, in
    import tkMessageBox
ModuleNotFoundError: No module named 'tkMessageBox'
PS F:\abeer\abeer pendrive\CODING\code\Abeer Codes\Calculater> & F:/abeer/CODING/Anaconda/python.exe "f:/abeer/abeer pendrive/CODING/code/Abeer Codes/Calculater/script.py"
Traceback (most recent call last):
  File "f:/abeer/abeer pendrive/CODING/code/Abeer Codes/Calculater/script.py",
line 1, in
    from Tkinter import *
ModuleNotFoundError: No module named 'Tkinter'
PS F:\abeer\abeer pendrive\CODING\code\Abeer Codes\Calculater>

Why is this not working?

please tell why this happened

Hi @CoderTeam1, thank you for reaching out.
Does your code work when you run it outside of VS Code? Also, how did you set up your conda environment?

sorry couldnt reply earlier I am in india and also I didnt think of it being working outside vs code  I will try and let you know and I use the base environment for every project ( first project in python )
I read articles yesterday and found out i was using code of python 2 so i changed the code to python 3 but still it is not working

If it's not working outside of VS Code then there's a problem in your code, not with the extension. I will convert this issue to a discussion, so that others can chime in, and hopefully help you.


Adding semantic tests for the data

Modules with requirements are now tested to see if the requirements
they ask for actually exist
Courses are tested to ensure they don't include a module which doesn't
exist
Courses are tested to ensure that they don't include a module more
than once
Courses are tested to make sure that any modules with requirements
they offer also have their prerequsisites on offer

@alcarney Looks good :+1: