black screen after starting lxde or fluxbox

edit-chroot -all
name: trusty
Enter encryption passphrase for trusty:
encrypted: yes, unlocked
Entering /mnt/stateful_partition/crouton/chroots/trusty...
crouton: version 1-20161129162558~master:5f2f11f9
release: trusty
architecture: amd64
xmethod: xorg
targets: keyboard,lxde
host: version 9000.29.0 (Official Build) beta-channel gnawty
kernel: Linux localhost 3.10.18 #1 SMP Wed Dec 14 21:57:59 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/trusty...

Please describe your issue:
screen goes blank/black after starting crouton with 'sudo startlxde' or 'sudo startfluxbox'. 'enter-chroot' works fine. fluxbox ran flawlessly with crouton before recent updates to chromeos (beta), crouton and the chroot. please let me know if any additional information would be helpful and thanks for maintaining/supporting this excellent project.
this is the output from startlxde:
[root@cb ~]# startlxde
Enter encryption passphrase for trusty:
Entering /mnt/stateful_partition/crouton/chroots/trusty...

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.10.18 #1 SMP Wed Dec 14 21:57:59 PST 2016 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2539520 verity payload=PARTUUID=396b7f47-ae0e-9c41-b11f-b39a543224b0/PARTNROFF=1 hashtree=PARTUUID=396b7f47-ae0e-9c41-b11f-b39a543224b0/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=0ad5d84ee167286bec1a704b188fd34c888c0a7e salt=c4f18937c504004196d9685c160d84ba7cb774c2f6a19f3cd38322fc9c20ea6a" noinitrd vt.global_cursor_default=0 kern_guid=396b7f47-ae0e-9c41-b11f-b39a543224b0 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Tue Dec 27 19:15:12 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
crouton: version 1-20161129162558~master:5f2f11f9
release: trusty
architecture: amd64
xmethod: xorg
targets: keyboard,lxde
host: version 9000.29.0 (Official Build) beta-channel gnawty
kernel: Linux localhost 3.10.18 #1 SMP Wed Dec 14 21:57:59 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Agent pid 7879
** Message: main.vala:99: Session is LXDE
** Message: main.vala:100: DE is LXDE
** Message: main.vala:131: log directory: /home/kj/.cache/lxsession/LXDE
** Message: main.vala:132: log path: /home/kj/.cache/lxsession/LXDE/run.log
(II) AIGLX: Suspending AIGLX clients for VT switch

here's the output from startfluxbox :
[root@cb ~]# startfluxbox
Enter encryption passphrase for trusty:
Entering /mnt/stateful_partition/crouton/chroots/trusty...

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.10.18 #1 SMP Wed Dec 14 21:57:59 PST 2016 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2539520 verity payload=PARTUUID=396b7f47-ae0e-9c41-b11f-b39a543224b0/PARTNROFF=1 hashtree=PARTUUID=396b7f47-ae0e-9c41-b11f-b39a543224b0/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=0ad5d84ee167286bec1a704b188fd34c888c0a7e salt=c4f18937c504004196d9685c160d84ba7cb774c2f6a19f3cd38322fc9c20ea6a" noinitrd vt.global_cursor_default=0 kern_guid=396b7f47-ae0e-9c41-b11f-b39a543224b0 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Tue Dec 27 19:18:49 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
crouton: version 1-20161129162558~master:5f2f11f9
release: trusty
architecture: amd64
xmethod: xorg
targets: keyboard,lxde
host: version 9000.29.0 (Official Build) beta-channel gnawty
kernel: Linux localhost 3.10.18 #1 SMP Wed Dec 14 21:57:59 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
(II) AIGLX: Suspending AIGLX clients for VT switch

and here's /tmp/Xorg.crouton.1.log after rebooting and attempting to start fluxbox. xorg was manually terminated at console via ctrl-c. :
[   297.865] _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
[   297.874]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[   297.874] X Protocol Version 11, Revision 0
[   297.874] Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
[   297.874] Current Operating System: Linux localhost 3.10.18 #1 SMP Wed Dec 14 21:57:59 PST 2016 x86_64
[   297.874] Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2539520 verity payload=PARTUUID=396b7f47-ae0e-9c41-b11f-b39a543224b0/PARTNROFF=1 hashtree=PARTUUID=396b7f47-ae0e-9c41-b11f-b39a543224b0/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=0ad5d84ee167286bec1a704b188fd34c888c0a7e salt=c4f18937c504004196d9685c160d84ba7cb774c2f6a19f3cd38322fc9c20ea6a" noinitrd vt.global_cursor_default=0 kern_guid=396b7f47-ae0e-9c41-b11f-b39a543224b0 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
[   297.875] Build Date: 12 February 2015  02:49:29PM
[   297.877] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
[   297.877] Current version of pixman: 0.30.2
[   297.877]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   297.877] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   297.877] (++) Log file: "/tmp/Xorg.crouton.1.log", Time: Tue Dec 27 18:58:06 2016
[   297.887] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   297.890] (==) No Layout section.  Using the first Screen section.
[   297.890] (==) No screen section available. Using defaults.
[   297.890] (**) |-->Screen "Default Screen Section" (0)
[   297.890] (**) |   |-->Monitor "<default monitor>"
[   297.891] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[   297.891] (**) |   |-->Device "Intel Graphics SNA+TearFree"
[   297.891] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   297.891] (==) Automatically adding devices
[   297.891] (==) Automatically enabling devices
[   297.891] (==) Automatically adding GPU devices
[   297.897] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   297.897]    Entry deleted from font path.
[   297.897] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   297.897]    Entry deleted from font path.
[   297.897] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   297.897]    Entry deleted from font path.
[   297.898] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   297.898]    Entry deleted from font path.
[   297.898] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   297.898]    Entry deleted from font path.
[   297.898] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[   297.898] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[   297.898] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[   297.898] (II) Loader magic: 0x7f36f1c9ad40
[   297.898] (II) Module ABI versions:
[   297.898]    X.Org ANSI C Emulation: 0.4
[   297.898]    X.Org Video Driver: 15.0
[   297.898]    X.Org XInput driver : 20.0
[   297.898]    X.Org Server Extension : 8.0
[   297.899] (II) xfree86: Adding drm device (/dev/dri/card0)
[   297.902] (--) PCI:*(0:0:2:0) 8086:0f31:8086:0f31 rev 14, Mem @ 0xd0000000/4194304, 0xc0000000/268435456, I/O @ 0x00001000/8
[   297.902] Initializing built-in extension Generic Event Extension
[   297.902] Initializing built-in extension SHAPE
[   297.902] Initializing built-in extension MIT-SHM
[   297.902] Initializing built-in extension XInputExtension
[   297.902] Initializing built-in extension XTEST
[   297.902] Initializing built-in extension BIG-REQUESTS
[   297.902] Initializing built-in extension SYNC
[   297.902] Initializing built-in extension XKEYBOARD
[   297.902] Initializing built-in extension XC-MISC
[   297.902] Initializing built-in extension SECURITY
[   297.902] Initializing built-in extension XINERAMA
[   297.903] Initializing built-in extension XFIXES
[   297.903] Initializing built-in extension RENDER
[   297.903] Initializing built-in extension RANDR
[   297.903] Initializing built-in extension COMPOSITE
[   297.903] Initializing built-in extension DAMAGE
[   297.903] Initializing built-in extension MIT-SCREEN-SAVER
[   297.903] Initializing built-in extension DOUBLE-BUFFER
[   297.903] Initializing built-in extension RECORD
[   297.903] Initializing built-in extension DPMS
[   297.903] Initializing built-in extension Present
[   297.903] Initializing built-in extension DRI3
[   297.903] Initializing built-in extension X-Resource
[   297.903] Initializing built-in extension XVideo
[   297.903] Initializing built-in extension XVideo-MotionCompensation
[   297.903] Initializing built-in extension SELinux
[   297.903] Initializing built-in extension XFree86-VidModeExtension
[   297.903] Initializing built-in extension XFree86-DGA
[   297.903] Initializing built-in extension XFree86-DRI
[   297.903] Initializing built-in extension DRI2
[   297.903] (II) LoadModule: "glx"
[   297.924] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   297.959] (II) Module glx: vendor="X.Org Foundation"
[   297.959]    compiled for 1.15.1, module version = 1.0.0
[   297.959]    ABI class: X.Org Server Extension, version 8.0
[   297.959] (==) AIGLX enabled
[   297.961] Loading extension GLX
[   297.961] (II) LoadModule: "intel"
[   297.962] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   297.976] (II) Module intel: vendor="X.Org Foundation"
[   297.976]    compiled for 1.15.1, module version = 2.99.910
[   297.976]    Module class: X.Org Video Driver
[   297.976]    ABI class: X.Org Video Driver, version 15.0
[   297.976] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   297.977] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[   297.977] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[   297.977] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[   297.977] (--) using VT number 7

[   299.181] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   299.195] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.910-0ubuntu1.7 (Daniel Gimpelevich<EMAIL_ADDRESS>[   299.196] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   299.205] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics
[   299.205] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2
[   299.205] (II) intel(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[   299.205] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   299.205] (==) intel(0): RGB weight 888
[   299.205] (==) intel(0): Default visual is TrueColor
[   299.205] (**) intel(0): Option "AccelMethod" "sna"
[   299.205] (**) intel(0): Option "TearFree" "true"
[   299.207] (**) intel(0): Framebuffer tiled
[   299.207] (**) intel(0): Pixmaps tiled
[   299.207] (**) intel(0): "Tear free" enabled
[   299.207] (**) intel(0): Forcing per-crtc-pixmaps? no
[   299.210] (II) intel(0): Output eDP1 has no monitor section
[   299.210] (--) intel(0): found backlight control interface intel_backlight (type 'raw')
[   299.210] (II) intel(0): Output HDMI1 has no monitor section
[   299.210] (II) intel(0): Output HDMI2 has no monitor section
[   299.210] (II) intel(0): Output DP1 has no monitor section
[   299.211] (II) intel(0): Output VIRTUAL1 has no monitor section
[   299.212] (==) intel(0): DPI set to (96, 96)
[   299.212] (II) Loading sub module "dri2"
[   299.212] (II) LoadModule: "dri2"
[   299.212] (II) Module "dri2" already built-in
[   299.212] (==) Depth 24 pixmap format is 32 bpp
[   299.222] (II) intel(0): SNA initialized with Baytrail (gen7) backend
[   299.222] (==) intel(0): Backing store enabled
[   299.222] (==) intel(0): Silken mouse enabled
[   299.226] (II) intel(0): HW Cursor enabled
[   299.226] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   299.230] (==) intel(0): DPMS enabled
[   299.233] (II) intel(0): [DRI2] Setup complete
[   299.233] (II) intel(0): [DRI2]   DRI driver: i965
[   299.233] (II) intel(0): [DRI2]   VDPAU driver: i965
[   299.233] (II) intel(0): direct rendering: DRI2 Enabled
[   299.233] (==) intel(0): hotplug detection: "enabled"
[   299.234] (--) RandR disabled
[   299.253] (II) SELinux: Disabled on system
[   299.302] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   299.302] (II) AIGLX: enabled GLX_ARB_create_context
[   299.302] (II) AIGLX: enabled GLX_ARB_create_context_profile
[   299.302] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[   299.302] (II) AIGLX: enabled GLX_INTEL_swap_event
[   299.302] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[   299.302] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[   299.302] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[   299.302] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[   299.302] (II) AIGLX: Loaded and initialized i965
[   299.302] (II) GLX: Initialized DRI2 GL provider for screen 0
[   299.347] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
[   299.354] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[   299.354] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   299.354] (II) LoadModule: "evdev"
[   299.354] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   299.357] (II) Module evdev: vendor="X.Org Foundation"
[   299.357]    compiled for 1.15.0, module version = 2.8.2
[   299.357]    Module class: X.Org XInput Driver
[   299.357]    ABI class: X.Org XInput driver, version 20.0
[   299.357] (II) Using input driver 'evdev' for 'Power Button'
[   299.357] (**) Power Button: always reports core events
[   299.358] (**) evdev: Power Button: Device: "/dev/input/event4"
[   299.358] (--) evdev: Power Button: Vendor 0 Product 0x1
[   299.358] (--) evdev: Power Button: Found keys
[   299.358] (II) evdev: Power Button: Configuring as keyboard
[   299.358] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
[   299.358] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   299.358] (**) Option "xkb_rules" "evdev"
[   299.358] (**) Option "xkb_model" "pc104"
[   299.358] (**) Option "xkb_layout" "us"
[   299.361] (II) XKB: reuse xkmfile /var/lib/xkb/server-D378AD8F86E560F712A83EE36E4E5E92C595B9BD.xkm
[   299.363] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   299.363] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   299.363] (II) Using input driver 'evdev' for 'Power Button'
[   299.363] (**) Power Button: always reports core events
[   299.363] (**) evdev: Power Button: Device: "/dev/input/event1"
[   299.363] (--) evdev: Power Button: Vendor 0 Product 0x1
[   299.363] (--) evdev: Power Button: Found keys
[   299.363] (II) evdev: Power Button: Configuring as keyboard
[   299.363] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1/event1"
[   299.363] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[   299.363] (**) Option "xkb_rules" "evdev"
[   299.363] (**) Option "xkb_model" "pc104"
[   299.363] (**) Option "xkb_layout" "us"
[   299.364] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[   299.364] (II) No input driver specified, ignoring this device.
[   299.364] (II) This device may have been added with another device file.
[   299.364] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[   299.364] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[   299.364] (II) Using input driver 'evdev' for 'Sleep Button'
[   299.364] (**) Sleep Button: always reports core events
[   299.364] (**) evdev: Sleep Button: Device: "/dev/input/event2"
[   299.364] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[   299.364] (--) evdev: Sleep Button: Found keys
[   299.364] (II) evdev: Sleep Button: Configuring as keyboard
[   299.364] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2/event2"
[   299.364] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[   299.364] (**) Option "xkb_rules" "evdev"
[   299.364] (**) Option "xkb_model" "pc104"
[   299.364] (**) Option "xkb_layout" "us"
[   299.365] (II) config/udev: Adding input device Sleep Button (/dev/input/event3)
[   299.365] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[   299.365] (II) Using input driver 'evdev' for 'Sleep Button'
[   299.365] (**) Sleep Button: always reports core events
[   299.365] (**) evdev: Sleep Button: Device: "/dev/input/event3"
[   299.365] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[   299.365] (--) evdev: Sleep Button: Found keys
[   299.365] (II) evdev: Sleep Button: Configuring as keyboard
[   299.365] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:01/input/input3/event3"
[   299.365] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[   299.365] (**) Option "xkb_rules" "evdev"
[   299.365] (**) Option "xkb_model" "pc104"
[   299.365] (**) Option "xkb_layout" "us"
[   299.365] (II) config/udev: Adding drm device (/dev/dri/card0) card0 /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[   299.366] (II) config/udev: Ignoring already known drm device (/dev/dri/card0)
[   299.366] (II) config/udev: Adding input device HDA Intel HDMI/DP,pcm=7 (/dev/input/event7)
[   299.366] (II) No input driver specified, ignoring this device.
[   299.366] (II) This device may have been added with another device file.
[   299.367] (II) config/udev: Adding input device HDA Intel HDMI/DP,pcm=3 (/dev/input/event8)
[   299.367] (II) No input driver specified, ignoring this device.
[   299.367] (II) This device may have been added with another device file.
[   299.367] (II) config/udev: Adding input device byt-max98090 Headphone Jack (/dev/input/event10)
[   299.367] (II) No input driver specified, ignoring this device.
[   299.367] (II) This device may have been added with another device file.
[   299.368] (II) config/udev: Adding input device byt-max98090 Mic Jack (/dev/input/event9)
[   299.368] (II) No input driver specified, ignoring this device.
[   299.368] (II) This device may have been added with another device file.
[   299.368] (II) config/udev: Adding input device Elan Touchpad (/dev/input/event6)
[   299.368] (**) Elan Touchpad: Applying InputClass "evdev touchpad catchall"
[   299.368] (**) Elan Touchpad: Applying InputClass "touchpad catchall"
[   299.368] (**) Elan Touchpad: Applying InputClass "Default clickpad buttons"
[   299.368] (II) LoadModule: "synaptics"
[   299.369] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[   299.370] (II) Module synaptics: vendor="X.Org Foundation"
[   299.370]    compiled for 1.15.0, module version = 1.7.4
[   299.370]    Module class: X.Org XInput Driver
[   299.370]    ABI class: X.Org XInput driver, version 20.0
[   299.370] (II) Using input driver 'synaptics' for 'Elan Touchpad'
[   299.370] (**) Elan Touchpad: always reports core events
[   299.371] (**) Option "Device" "/dev/input/event6"
[   299.388] (II) synaptics: Elan Touchpad: found clickpad property
[   299.388] (--) synaptics: Elan Touchpad: x-axis range 0 - 3207 (res 31)
[   299.388] (--) synaptics: Elan Touchpad: y-axis range 0 - 1791 (res 31)
[   299.388] (--) synaptics: Elan Touchpad: pressure range 0 - 255
[   299.388] (--) synaptics: Elan Touchpad: finger width range 0 - 15
[   299.388] (--) synaptics: Elan Touchpad: buttons: left double triple
[   299.388] (--) synaptics: Elan Touchpad: Vendor 0x4f3 Product 0x2a
[   299.388] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[   299.388] (--) synaptics: Elan Touchpad: touchpad found
[   299.388] (**) Elan Touchpad: always reports core events
[   299.406] (**) Option "config_info" "udev:/sys/devices/platform/80860F41:00/i2c-0/0-0015/input/input6/event6"
[   299.406] (II) XINPUT: Adding extended input device "Elan Touchpad" (type: TOUCHPAD, id 10)
[   299.406] (**) synaptics: Elan Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[   299.406] (**) synaptics: Elan Touchpad: (accel) MaxSpeed is now 1.75
[   299.406] (**) synaptics: Elan Touchpad: (accel) AccelFactor is now 0.054
[   299.406] (**) Elan Touchpad: (accel) keeping acceleration scheme 1
[   299.406] (**) Elan Touchpad: (accel) acceleration profile 1
[   299.406] (**) Elan Touchpad: (accel) acceleration factor: 2.000
[   299.406] (**) Elan Touchpad: (accel) acceleration threshold: 4
[   299.406] (--) synaptics: Elan Touchpad: touchpad found
[   299.407] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event5)
[   299.407] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[   299.407] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[   299.407] (**) AT Translated Set 2 keyboard: always reports core events
[   299.407] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event5"
[   299.407] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[   299.407] (--) evdev: AT Translated Set 2 keyboard: Found keys
[   299.407] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[   299.407] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input5/event5"
[   299.407] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[   299.407] (**) Option "xkb_rules" "evdev"
[   299.407] (**) Option "xkb_model" "pc104"
[   299.407] (**) Option "xkb_layout" "us"
[   299.525] (II) XKB: reuse xkmfile /var/lib/xkb/server-EDC4D21DED57AA5D10FD5AEC0EC4F6139A251902.xkm
[   309.103] (II) AIGLX: Suspending AIGLX clients for VT switch
[   333.810] (II) evdev: AT Translated Set 2 keyboard: Close
[   333.810] (II) UnloadModule: "evdev"
[   333.810] (II) UnloadModule: "synaptics"
[   333.810] (II) evdev: Sleep Button: Close
[   333.810] (II) UnloadModule: "evdev"
[   333.810] (II) evdev: Sleep Button: Close
[   333.810] (II) UnloadModule: "evdev"
[   333.810] (II) evdev: Power Button: Close
[   333.810] (II) UnloadModule: "evdev"
[   333.810] (II) evdev: Power Button: Close
[   333.810] (II) UnloadModule: "evdev"
[   333.851] (EE) Server terminated successfully (0). Closing log file.

If known, describe the steps to reproduce the issue:
# startfluxbox
or
# startlxde

Try this:
https://github.com/dnschneid/crouton/issues/2978#issuecomment-269849365


Support for unavailable hours in Week and Day view.

Feature request:
@mattlewis92 is it possible to create callback function for rendering Week and Day view cells, just like the month and year cells?
The case is the following: Lets say you are using the calendar directive to allow customers to book given time ranges for visitations. But some time intervals are not available for visitors and you need a way to tell the calendar to mark them as unavailable by applying a css class for example.
For this to work I assume you should pass the configured time interval (e.g. 15, 30, 60 min etc) to a callback just before rendering the cell.
This feature will be useful for many users. I wonder if you tried to implement this before? Do you see any problems with the possible implementation and the idea?
Kind regards.

I can see the value in this and it's pretty trivial to add 😄


Unhide the doppelganger detection option

See: https://github.com/ConsenSys/teku/pull/6801

just be aware we're wanting to get a release out prior to making these options unhidden, so until 23.2.0 goes out, we need them to remain hidden...
this work was done, then reverted in https://github.com/ConsenSys/doc.teku/pull/432

fixed by #438


remove unused function

Codecov Report

Merging #144 into develop will increase coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #144      +/-   ##
===========================================
+ Coverage    53.14%   53.18%   +0.04%
===========================================
  Files          208      208
  Lines        21108    21108
===========================================
+ Hits         11217    11226       +9
+ Misses        8627     8618       -9
  Partials      1264     1264

Impacted Files
Coverage Δ

bfe_http2/server.go
71.67% <0%> (+0.16%)
:arrow_up:

bfe_spdy/server_conn.go
78.98% <0%> (+0.44%)
:arrow_up:

bfe_spdy/server_write_sched.go
80% <0%> (+1.53%)
:arrow_up:

bfe_websocket/server_conn.go
76.51% <0%> (+2.27%)
:arrow_up:

Continue to review full report at Codecov.

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


Create rancher release command line to check RCs and Dev deps

With ecm-distro-tools gh action created we could simplify this script https://github.com/rancher/rancher/pull/42773/files, could be used as a command in ecm-distro-tools.
Example of action
name: Final release actions

on:
  workflow_dispatch:
  release:
    types: [prereleased]
  pull_request:

env:
  RELEASE_TITLE: ${{ github.event.release.name || '' }}

jobs:
  check-deps-and-tags:
    runs-on: ubuntu-latest

    steps:
      -
        name: setup ecm-distro-tools
        uses: rancher/ecm-distro-tools
        with:
          version: v0.23.0
        env:
           GH_TOKEN: ${{ github.token }}
      -
        name: Verify dependencies files in a final release candidate
        run: rancher-release check-deps-rcs --commit ${{ env.GITHUB_SHA }}

Command merged!


Documentation for kubectl plugins

Starting the documentation for kubectl plugins, a new alpha feature for the v1.8 release.
https://github.com/kubernetes/features/issues/371

This change is

@kubernetes/sig-cli-pr-reviews PTAL, this is the start of kubectl plugins documentation and also a good summary of the current state of plugins support. Thanks!

cc @monopole @smarterclayton

@fabianofranz, I have some suggestions for the text, and I think it would be easiest if I could do an edit pass. Is the Allow edits by maintainers check box available in the right column? If so, could you check it. Thanks.

@steveperry-53 it's checked now, thanks!

@fabianofranz, See https://github.com/kubernetes/kubernetes.github.io/pull/5294/commits/daad68cce4a155e3762a293656c46d03900eb896 for suggested edits.

@fabianofranz, @tengqm, Does this PR seem ready to merge now?

One minor comment, otherwise LGTM. Thanks a lot @steveperry-53!


Investigate AU_MEDICARE match

#AU_MEDICARE
ID:7
It looks like an AU_MEDICARE may not be correctly detected.

2123456702AF is not a valid AU_MEDICARE number and is therefore not being replaced- which is expected.


invalid type: [][]string

I run the following query:
SELECT files.repository_id, files.file_path,
    ARRAY_LENGTH(uast_extract(UAST(
        files.blob_content,
        LANGUAGE(files.file_path, files.blob_content),
        '//*[@roleFunction]'), "internal_type")
    ) as functions
FROM files
WHERE files.file_path = "common.go"
ORDER BY functions DESC

with the most recent gitbase docker image. It errors with:
unknown error: invalid type: [][]string

What's funny is if I change the xpath:
SELECT files.repository_id, files.file_path,
    ARRAY_LENGTH(uast_extract(UAST(
        files.blob_content,
        LANGUAGE(files.file_path, files.blob_content),
        '//*[@roleFunction and @roleDeclaration]'), "internal_type")
    ) as functions
FROM files
WHERE files.file_path = "common.go"
ORDER BY functions DESC

Then I don't get this error (but I get 0 functions in go-git/common.go instead of 1 which is still wrong).

Another example:
SELECT files.repository_id, files.file_path,
      ARRAY_LENGTH(uast_extract(uast_xpath(UAST_mode("annotated", files.blob_content, "Go"), "//*[@roleFunction and @roleDeclaration]"), "token")) as functions
FROM files
WHERE files.file_path = "common.go"

About the error unknown error: invalid type: [][]string a fix is coming.
On the other hand, there is some issues with the queries:
SELECT files.repository_id, files.file_path,
    ARRAY_LENGTH(uast_extract(UAST(
        files.blob_content,
        LANGUAGE(files.file_path, files.blob_content),
        '//*[@roleFunction]'), "internal_type")
    ) as functions
FROM files
WHERE files.file_path = "common.go"
ORDER BY functions DESC

With this query you are using uast and by default it returns a semantic uast so I don't think that the xpath query //*[@roleFunction] works on it.
The uast_extract function have special selectors for common properties (@token, @role, @type, @startpos, @endpos) check the examples.
We should clarify too that uast_extract will return an array for each one of the nodes given to the function even if that node doesn't have the requested property (in such case an empty array is returned).
So this query:
SELECT files.repository_id, files.file_path,
      ARRAY_LENGTH(uast_extract(uast_xpath(UAST_mode("annotated", files.blob_content, "Go"), "//*[@roleFunction and @roleDeclaration]"), "token")) as functions
FROM files
WHERE files.file_path = "common.go"

and this query
SELECT files.repository_id, files.file_path,
      ARRAY_LENGTH(uast_xpath(UAST_mode("annotated", files.blob_content, "Go"), "//*[@roleFunction and @roleDeclaration]"), "@token") as functions
FROM files
WHERE files.file_path = "common.go"

will return the same number, even if none of the nodes have a property token (the result would be an array of empty arrays)).

@mcarmonaa I think we should need a new UDF, like unnest from postgres, WDYT?

@mcarmonaa also we can have a look to something more mySQL specific: https://dev.mysql.com/doc/refman/8.0/en/json-function-reference.html

@ajnavarro we could return extract_uast as a JSON type and manage the result implementing some of those json functions from mysql.
What I can't see is the cases of usage. I don't know what is what we wanna get from the uast_extract results to decide which functions we should implement. The same with the unnest.

per example, to be able to count functions, we can do something like:
[...]
ARRAY_LENGTH(
	JSON_EXTRACT(
		UAST_EXTRACT(
			UAST_XPATH(
				UAST_MODE(
					"annotated",
					files.blob_content,
					lang
				),
				'//*[@roleFunction and @roleDeclaration]'
			),
			"token"
		)
		"$[*]"
	)
)

Ok, so we can start changing the returned type of the uast_extract and implementing json_extract then. :+1:

I do feel the glory of abstraction layers in ARRAY_LENGTH(JSON_EXTRACT(UAST_EXTRACT(UAST_XPATH(UAST_MODE( to count functions but maybe we can simplify a bit? E.g., we are using UAST_EXTRACT as a hack to get an array of the same length as the filtered nodes, so if UAST_XPATH returns a list of nodes we could ARRAY_LENGTH it directly...
Tagging @campoy for comments.

According to the numerous examples of BigQuery usage over GitHub, counting stuff is close to #1 top frequent pattern.


Overhaul documentation

There's a few banner things that we need to clean up about the Cargo documentation:

The look-and-feel is very different than the main documentation (e.g. the book). Probably unnecessarily so?
The organization is a little confusing today unfortunately. I've been told a few times that the content is all there, it's just not necessarily presented in a cohesive fashion that's easily queried.
Perhaps we should just migrate all of the documentation to the book itself? Cargo is such a core tool in Rust that we probably don't want to have such standalone and somewhat-difficult-to-find documentation.

cc @steveklabnik, @brson, @aturon

The second point is one I've tried several times, and each time, been like "idk". It's vanquished me. Heh.
The only problem I have with moving stuff to the book is that the book is already huge enough... it might make sense to reorganize Cargo's docs as its own book maybe? That would also help styling wise.

Yeah I was basically just thinking that the docs here should be very easily accessible from the main docs (perhaps moreso than just a link) because you'll probably want to read all the cargo docs as well.

A tutorial guide should be split off from the reference document.
The tutorial could be written to match the learning curve of a typical newcomer, with an emphasis on how to get started with Cargo. We might actually want to have two tutorials (or part I and II?), one for a crate user and another for a crate writer.
On the other hand the reference should list up each and every command line option and config item in a hierarchical way with an accurate description of its semantics. Rustdoc of the cargo command itself might or might not serve for this purpose (just a rough idea.)

cc @jonathandturner

I would say this is one of the most important issues right now in cargo. I've always found it difficult to navigate cargo documentation. Several times I've tried to find the reference but somehow it seems the content is scattered all over the place. Maybe I'm just looking at wrong places, but it does feel frustrating and, honestly, I just resorted to using rustc directly instead of trying to find out how to tell cargo to do its thing. I think it would be good to compare this to the Rust documentation where it is trivial to get to The Book or to the reference, or really anything important, from the doc start page. Whoever did https://doc.rust-lang.org really did an excellent job.

@alexcrichton (or any other maintainer) reckon this one is done now and can be closed? Looks done to me.

Indeed!


NFTopology controller doc

/approve

/lgtm

Rebase needed on this PR

/approve
/lgtm

Is this for R2 or 3 @s3wong ?

@s3wong just checking, do you want to merge this PR or should it move into "experimental"?

This PR is outdated. Let's keep it open until we make clear plans for the future of the topology controller.


--export is hanging indefinitely

On my machine, typing grip --export weekly.md
It prints "exporting to weekly.html" and then just sits there. It doesn't seem to export anything. Is there a way to get any error information?
Thanks for this tool, it's awesome.

Huh, that's interesting. I just tried it myself on a README.md file renamed to weekly.md. Seemed ok.
Does it do anything when you run grip weekly.md and visit in the browser?
And thanks :smiley:

Yes, grip works fine running it in this way.
I'm running this on a windows machine (Not sure if you have ran it on
windows before or not).
On 9/9/2016 4:40 PM, Joe Esposito wrote:

Huh, that's interesting. I just tried it myself on a README.md file
renamed to weekly.md. Seemed ok.
Does it do anything when you run |grip weekly.md| and visit in the
browser?
And thanks 😃
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/joeyespo/grip/issues/209#issuecomment-246060497,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFGivbzBrqJjuNNpyHFyagoLL953A-k1ks5qoeBYgaJpZM4J5iFP.

--
Derek Riemer

Department of computer science, third year undergraduate student.
Proud user of the NVDA screen reader.
Open source enthusiast.
Member of Bridge Cu
Avid skiier.

Websites:
Honors portfolio http://derekriemer.com
Awesome little hand built weather app!
http://django.derekriemer.com/weather/
email me at<EMAIL_ADDRESS><EMAIL_ADDRESS>Phone:<PHONE_NUMBER>

@derekriemer Is this still happening for you?

Only on git bash for windows, and that shell is stranger than most with
python, so I don't think it's a bug in the tool.
On 12/1/2016 9:23 PM, Joe Esposito wrote:

@derekriemer https://github.com/derekriemer Is this still happening
for you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/joeyespo/grip/issues/209#issuecomment-264370263,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFGivXq2C8VJeeuk4Y2Jdrw109qgBEXHks5rD50ygaJpZM4J5iFP.

--
Derek Riemer

Department of computer science, third year undergraduate student.
Proud user of the NVDA screen reader.
Open source enthusiast.
Member of Bridge Cu
Avid skiier.

Websites:
Honors portfolio http://derekriemer.com
Awesome little hand built weather app!
http://django.derekriemer.com/weather/
email me at<EMAIL_ADDRESS><EMAIL_ADDRESS>Phone:<PHONE_NUMBER>

That's odd. Thanks for the response.
Going to close this for now. I just tried it on git bash on Windows 10 and it didn't hang for me. Must be something related to that specific environment.
Feel free to re-open if you see it happening on cmd or standard bash. Thanks!

Hello,
I am currently having the very same problem. Very strange indeed. I'm looking for a way to "debug" this.
Wonderful tool by the way.
Regards

Hello again,
Well, I retried after upgrading to Grip 4.3.2 and...problem fixed. API change?

@xiconet That's good news! Thanks for reporting back.
I'm sure it's some library change. Probably not worth digging in except for curiosity's sake.


Can't capture batch name for jobs that have left the queue

The only place we can get guaranteed batch name information is when jobs are still in the queue, via a query. If you ask us to parse an event log whose jobs have all left the queue, we have to go with the default batch name. Although this is probably not a common use case, it will probably be surprising when it happens.

This gets particularly nasty when you're running a DAG with many completed jobs in it. You get thousands of rows, because we don't understand how to group them after they've the queue, and unlike a normal submit, they probably all have different cluster ids.


Make use of GetAllManagedPluginsForCap to avoid loading v1-plugins

For more details : docker/docker#29665 and docker/docker#29556

The CI goverall target failure is a known issue.
LGTM


Fix service upload date display bug

What problem does this PR fix?
Client-side bug with displaying past service upload dates.
What does this PR do?
Fixes #1463.
Screenshot (if adding a client-side feature)

Checklists
Automated Testing

[x] Author improved specs for code in need of better test coverage

OK, bug is fixed . . . time for the spec!

selfie 🚢

This is fixed in prod and looks good.


hide specs

I have been trying to figure out if Apitome has a config option on a spec that would skip it during generation instead of just generating all feature specs?

Checkout the readme on rspec_api_documentation. https://github.com/zipmark/rspec_api_documentation -- document: false


CAMEL-7563: Hazelcast instance as an endpoint url param

Important fix was included with 31867fd commit.

We have ticket
https://issues.apache.org/jira/browse/CAMEL-8537
I think that ticket resolves this issue. If so do you mind closing this PR?

Thanks the code has been merged. Do you mind closing this?

Thanks this PR has been merged. Do you mind closing it?


How to delete a branch?

My usual workflow is pull latest copy from repository to Google Apps Scripts, create a new branch (on Google Apps Scripts), work on the branch (on Google Apps Scripts), push the branch (from Google Apps Scripts to GitHub), create a pull request (on GitHub), merge the pull request (on GitHub) and then delete the branch (on both GitHub and Google Apps Scripts).
I can delete the branch on GitHub but I don't see how to delete the branch in Google Apps Scripts.
Thanks.

that's not supported now, you can just delete it in GitHub

Is it possible to make the branch disappear from the GAS-github pulldown
menu?  I deleted the branch on GitHub but it still shows up in the pulldown
on GAS-github.  Is there a way to sync these? Thanks.
On Mon, Jun 1, 2020 at 11:35 PM Ke Xu<EMAIL_ADDRESS>wrote:

that's not supported now, you can just delete it in GitHub
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/leonhartX/gas-github/issues/126#issuecomment-637250612,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFZJTZPX2EY5RN6HTYL65LRURXRPANCNFSM4NI5CJZQ
.

--
Michael Ash, Professor of Economics and Public Policy
Member of MSP/MTA/NEA, the union of faculty and librarians
University of Massachusetts Amherst
Email<EMAIL_ADDRESS>Tel +1-413-545-6329


Investigate memory usage

investigate memory profile of cube and holocube, seen in a dashboard demo

I'm trouble replicating the large memory usage we saw on some of the machines in the dashboard demo. In those cases we saw memory usage in excess of 4GB but when I run it locally it only takes up 400 MB.


[ENH] babs-status: parse keywords of "Error" and "Warning" automatically without pre-definition from the user

Suggestions from the reviewer: re: babs-status:
Currently, it seems that "expected errors" must be predefined and explicitly stated in the configuration file. However, it might be valuable to explore the possibility of parsing lines containing keywords such as "Error" or "Warning" to automatically gather relevant error messages, reducing subjectivity and potential human error in the process.

Response: We tested such keyword based approach but we realized that it was not tractable, because these keywords are often not used consistently by software. Two examples below.

Example 1:
fMRIPrep may output this message at the beginning of the job:

Telemetry system to collect crashes and errors is enabled - thanks for your feedback!. Use option --notrack to opt out.

Although this message includes the keyword “error”, this does not mean there is any real error here.

Example 2:
Similarly, FreeSurfer may output this message:

ERROR: talairach_afd: Talairach Transform: transforms/talairach.xfm ***FAILED***

However, the job moved on to the next step and did not in fact fail.

Therefore, we have not included such automatic keyword dection, but instead ask users to provide alerting messages in the container configuration YAML file. To reduce potential human error, users may copy the message from existing log files where they saw such alerting messages, and directly paste the string into the container configuration YAML file for BABS.


WSL File Browsing issue

Description
Unable to browse files in WSL file system

Steps To Reproduce

Open Files
Click on any distribution under WSL
Root directory folders will show up
Try to click on any folder, the attached error message would show up

Steps to fix

no idea

Files Version
<IP_ADDRESS>
Windows Version
10.0.22623.1255
Log file
debug.log

Debug log does not have any exceptions or errors for that matter

Is WSL running?

Yes. I can browse from Windows Explorer

This issue is happening post the latest update. Before that it used to work normally, with all the copy-paste operations.

Just wanted to confirm that I have the same issue. It used to work, but I can no longer access my wsl drive. Used to have a WSL folder (directory within my home dir) as a favourite and it magically disappeared as well.

Same issue. but I have found something interesting:
In directory \wsl.localhost\Ubuntu, if I double click any folder, it will pop out a window saying that "network folder error. the network name cannot be found." BUT if I right click the folder and use "Open in the new tab" option, the target directory will be displayed correctly in the new tab!
2 screenshots here

Furthermore, if I enter the WSL path string manually (such as "\wsl.localhost\Ubuntu\home" in the second picture), i will always get the network folder error.

+1 Can confirm I'm also having this issue. Right Click + Open in new tab does work as mentioned above.

Can also reproduce this issue. From the log :

Files version : <IP_ADDRESS>
Windows 11 : 10.0.22621.1265
Workaround : use the windows explorer to map to a network drive the linux installation, and use the letter drive instead.

For future people, we know this is an issue. No more info or comments on saying you have the issue is needed. If this issue is fixed there will be a comment saying so. You can click subscribe for notifications on GitHub or check back here for updates.


Card: Collection

A fallback to default-card has been implemented for now. collection-card could be implemented for specific projects.


change colormap and remove plotly option in plot_objective_curve

fix #467

Sorry @tomMoral, @mathurinm  I might have accidentally resolve the conversation about get_solver_color() and get_solver_marker() so I catch up here.
The thing with get_solver_color()is that it outputs a non normalized rgba tuple prepended with 'rgba', all of this as a string (e.g. 'rgba(255.0, 127.3, 14.0, 1.0)', and matplotlib needs a normalized rgba tuple.
The simplest way I found to make it work with get_solver_color() is
str_col = get_solver_color(solver_name)[4:]
col = tuple(map(float, str_col.replace('(','').replace(')','').split(',')))
norm_col = tuple(x/255. if i != 3 else x for i, x in enumerate(col))
fill_between_x(
    fig, curve['time'], q1, q9, curve[obj_col], color=norm_col,
    marker=markers[i % len(markers)], label=solver_name, plotly=False
)

which is rather verbose... do you have a better idea ?
By the way, maybe it is better to only use regexp instead of indexing in case the 'rgba' was changed into 'rgb' for some reason. IDK
As for get_solver_marker(), I would need another trick because it outputs integers for plotly markers and matplotlib takes symbols as str, e.g. 'o' (it can also take integers from 1 to 11 but these do not encode the same symbols).
I thought get_solver_color() and get_solver_marker() were written for plotly purpose.
WDYT ?

I would say do not reverse engineer get_solver_plot but add a plotly kwargs?

Codecov Report

Merging #487 (47650f3) into main (57993e1) will decrease coverage by 0.73%.
The diff coverage is 30.00%.

:exclamation: Current head 47650f3 differs from pull request most recent head a6a11c9. Consider uploading reports for the commit a6a11c9 to get more accurate results

@@            Coverage Diff             @@
##             main     #487      +/-   ##
==========================================
- Coverage   53.02%   52.29%   -0.74%
==========================================
  Files          42       41       -1
  Lines        2723     2685      -38
  Branches      494      494
==========================================
- Hits         1444     1404      -40
  Misses       1169     1169
- Partials      110      112       +2

I converted to draft so I can test with the CI (cannot reproduce the bug locally). I will convert back when succeeding

For the tests to pass, I had to add a condition in get_solver_style() to re-initialized html_solver_style if it was already filled with ploty-like values but called with plotly=False (there might be a better way).
Perhaps it was to avoid having to do this that get_solver_color() was not used in the first place with --no-html.

When we run benchopt with --no-html, the barchart and the linechart do not use the same color palette (unlike in the html version). Could we change this ?

Yes we can harmonize the colors.
For the get_solver_color, maybe a better way would be to store an index for each solver and then compute the color or  marker only on the index value? that way, the stored info is indep of plotly=True/False?

You mean so that e.g. solver celer with plotly and celer without plotly would have two different indices (and thus two different color values?

No I mean that they would have the same indices.
when you call get_color_solver(solver), first you generate an index and store it. then you generate the style only based no this index: compute a color and if plotly you create a string:
    idx = solvers_idx.get(solver, len(solvers_idx)
    solvers_idx[solver] = idx

    c = COLORS[idx % len(COLORS)]
    if plotly:
        c = ... # generate str
    return c

Ok so the color/marker would be computed each time instead of being stored once and for all, right?

I added a numeric_only=True in pandas median to avoid numerous FutureWarning when using --no-html.

When we run benchopt with --no-html, the barchart and the linechart do not use the same color palette (unlike in the html version). Could we change this ?

I think we did not do this one? I merge this as I want to do a release this afternoon, but feel free to do this in a follow up PR.


Text input Usage and Style tabs have content which needs to be addressed

As part of a review of Text Input for accessibility considerations, a number of problems and points of discussion were identified, which are captured in comments in pdf outputs of both the usage and style pages.
These issues include (but are not limited to):

on other components, the default version is called 'default', here it is called 'text input'; recommend changing to "default"
text area is treated as a separate component in figma and on the react examples, but is listed as a variant of text input here. It should be consistent (and I recommend making it a variant in the prototyping and react examples, to match the component)
password should be listed as another variant
the anatomy section is missing and should be added
information on masking should be added (including weighing value of using Helper text compared to placeholder

There are also the questions/considerations raised in the CAG slack channel:

Do you have an implementation where character count is built in? There are none in the React component library, although they are mentioned on Usage and appear in Figma (image below).
Any working examples of errors? I assume exceeding character count is the typical time when errors are surfaced, although if there are other common text input/area situations resulting in errors, i’d like to understand them.
Do you have any working examples of masking requirements for text inputs? (i.e., date formatting)

See the above linked pdfs for more detailed comments and additional considerations.

Sprint task for Carbon team:
Find any actionable bug changes in Gower's PDFs (direct conflicts). If there are larger concerns addressed then open a specific new issue about it and that will be addressed in a future sprint. Find any actionable bug changes in Gower's PDFs (direct conflicts). If there are larger concerns addressed then open a specific new issue about it and that will be addressed in a future sprint.

@mbgower could you ellaborate on this, what is masking?

information on masking should be added (including weighing value of using Helper text compared to placeholder

on other components, the default version is called 'default', here it is called 'text input'; recommend changing to "default."

A: As a system, we have been trying to avoid using "default" as a component name. This system-wide discussion would need to be addressed outside the scope of just text input. Perhaps we can start a discussion thread about this topic instead.

text area is treated as a separate component in Figma and on the react examples but is listed as a variant of text input here. It should be consistent (and I recommend making it a variant in the prototyping and react examples to match the component)

A: The way Figma components work doesn't always allow us to combine things in nice buckets, the structures of input and area are too different to exist inside one component.
A: They are also separate components in React code; there is nothing we can do to combine them. Several components in the system get combined into one documentation page, we aren't always consistent with this. This is also an item that needs to be addressed system-wide and is outside the scope of just text input.

password should be listed as another variant

A: Password is a sub-variant of text-input and not equal to text input (default) and text area. That is why its not listed as a top-level variant.

the anatomy section is missing and should be added

A: text input is one of the few components that hasn't been updated to use the new template yet which is why its structures differently and missing sections. By a happy coincidence, I'm actually working on update it this sprint so this will be addressed soon. You might notice a few other components  that aren't updated yet as well.

information on masking should be added (including weighing value of using Helper text compared to placeholder

Do you have an implementation where character count is built in? There are none in the React component library, although they are mentioned on Usage and appear in Figma (image below).

A: Character count does exist in code, you have to turn on the knob to see it in the storybook.

I have made significant changes to the text input page in this PR here. @mbgower you may want to re-review the page. Some of your other concerns are system-wide changes that can't be addressed in silo. We have made note of them however.

Thanks @aagonzales I'll have a look. In answer to your prior question:

@mbgower could you ellaborate on this, what is masking?
information on masking should be added (including weighing value of using Helper text compared to placeholder

Masking is the term used to refer to input-specific data requirements, usually conveyed in the form of a text cue, such as MM/DD/YY for date (by far the most common). Others may involve string length. The most basic input restriction is, say, only allowing numbers. A complex input restriction is often password requirements, but these are almost in a different category. The accessibility point is that any input requirements need to be surfaced to ATs, and so need to be either baked into Carbon or called out by designers.


Convert Sveltekit to Webstone App

closes #232

[x] check for the latest sveltekit version => we shouldn't watch for a specific version I think. We should probably give the latest supported version, that respects the breaking changes from the Kit-Changelog
[x] adjust unit tests

This is no longer needed now that Webstone is an ecosystem of plugins. To add Webstone to a SvelteKit app, you just need to add the Webstone CLI package.


On http://prod-preview.openshift.io, the same backlog size (95) is always shown

Regardless of how many new workitems are created.

This issue has been fixed in #1506.


Fix enter key doesn't submit sign-in form

closes TryGhost/Ghost#8588
As discuss in issue, I removed keyPress hook on text-input mixin. This hook was blocking form submission by pressing ENTER key on text input as it prevents event default when key is ENTER.

Coverage increased (+0.04%) to 73.15% when pulling bb0d426f777d4c171994e59968a44b8a47ba3cd2 on NotGrm:master into ad2eeabb3584d1bfe6646a0ed16cf2d3d9e1c031 on TryGhost:master.

Hey @NotGrm, thanks for this but I'm going to close in favour of https://github.com/TryGhost/Ghost-Admin/pull/771. I added some further explanation to the original issue for why this approach wouldn't work as-is.

Thanks for the feedback @kevinansfield ! Sorry for not replying to you before.
Will look to fix more issues 😄


Feature/undo failure repo

First, errors in the "Create" case were taken into account, this is the first draft, the script still needs to be adjusted in the "Importing" case

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


Need to enable adaptive sampling for pure .NET Core apps.

The functionality exists in the base SDK in the AdaptiveSamplingTelemetryProcessor and needs to be made available for pure .NET Core apps.

This task requires port of the project containing this file: https://github.com/Microsoft/ApplicationInsights-dotnet/blob/develop/src/TelemetryChannels/ServerTelemetryChannel/Shared/AdaptiveSamplingTelemetryProcessor.cs


fix #44 - Handing Disconnected Connections

Description
When a connection is closed properly it will send a notification before it closes, and that notification will signal to a socket being read that the connection is closed.
However, to detect a connection is closed when the other side does not send a close notification, you must write to the socket.
Moreover, it is possible that the socket itself is still open and can be written to, however the application on the other end is not responding in a timely manner.
Taking into account all three scenarios, to properly handle disconnected connections we must first use a read timeout before every attempt to read an async connection. If the reading times out, we should attempt to write a PING message to that connection. We should then wait in a separate goroutine for a PONG message to arrive, because we need to unblock the read loop that called us in the first place.
In this way, we guarantee that a PING request is answered with a PONG request in the event of a read timeout. This entire process won't ever occur during normal operation because the HEARTBEAT messages will take care of it, however if those messages are disabled or not sent properly then it becomes important to use the PING PONG pattern.
This PR also removes the confusing Connection Paused state that the connection would previously go into and never come out of. This would cause the connection to not properly error out until the next write. It wasn't helping or being used anywhere so it's been removed.
This PR also improves logging to be more descriptive, however a separate Issue has been opened (https://github.com/loopholelabs/frisbee/issues/48) to fix error handling and error logging throughout Frisbee.
Fixes #44
Type of change
Please update the title of this PR to reflect the type of change. (Delete the ones that aren't required).

[x] Bug fix (non-breaking change which fixes an issue) [title: 'fix:']
[ ] New feature (non-breaking change which adds functionality) [title: 'feat:']
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Testing
Please make sure that existing test cases pass (with go test ./... -race and go test -bench=. ./... -race),
and if required please add new test cases and list them below:

[x] TestAsyncTimeout

Benchmarking
Frisbee tries to adhere to strict performance requirements, so please make sure to run go test -bench=. ./... and paste the results below:
Benchmarking Results:
goarch: arm64
pkg: github.com/loopholelabs/frisbee/internal/protocol
BenchmarkEncodeHandler-10               75852466                15.51 ns/op
BenchmarkDecodeHandler-10               100000000               12.00 ns/op
BenchmarkEncodeDecodeHandler-10         41259325                28.79 ns/op
BenchmarkEncode-10                      95485964                12.16 ns/op
BenchmarkDecode-10                      136763902                8.840 ns/op
BenchmarkEncodeDecode-10                49431536                24.79 ns/op
PASS
ok      github.com/loopholelabs/frisbee/internal/protocol       9.134s
PASS
ok      github.com/loopholelabs/frisbee/internal/ringbuffer     0.111s

Linting
Please make sure you've run the following and fixed any issues that arise:

[x] go fmt ./... has been run
[x] golangci-lint run --skip-dirs-use-default has been run

Final Checklist:

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

Semaphore is also passing, not sure why it's not showing up here: https://loopholelabs.semaphoreci.com/workflows/95006832-7626-4127-a1a5-22bcc0938820?pipeline_id=acf17d99-850d-400a-8413-f05c384a831f
Maybe it's time to move off of semaphore and into github actions


changed to uint64 keys

closes  #354
was trying to run benchmarks however when using uint32 keys i consistently ran into slice bounds out of range errors as seen below:
BenchmarkAppendToCache/1-shards-12       panic: runtime error: slice bounds out of range [98993:98992]

@janisz ?

Codecov Report

Merging #377 (539c6e3) into main (74db1b9) will increase coverage by 0.50%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

:exclamation: Current head 539c6e3 differs from pull request most recent head b5aab4e. Consider uploading reports for the commit b5aab4e to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

@@            Coverage Diff             @@
##             main     #377      +/-   ##
==========================================
+ Coverage   88.66%   89.16%   +0.50%
==========================================
  Files          15       15
  Lines         794      794
==========================================
+ Hits          704      708       +4
+ Misses         76       73       -3
+ Partials       14       13       -1

Files
Coverage Δ

shard.go
92.01% <100.00%> (+1.52%)
:arrow_up:

Continue to review full report in Codecov by Sentry.

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


Integration failed: libappimage not found, desktop integration is disabled

i  am using Arch linux. though libappimage (version 1.0.4-1) is installed , program is showing the following error.
Integration failed: libappimage not found, desktop integration is disabled

I would like to know where these appimage files are downloaded.

What command did you run? Are you trying to build it yourself and then run?

would like to know where these appimage files are downloaded.

Ya same here. That info should be added in the readme.

I would like to know where these appimage files are downloaded.

You can now see the layout of Applications installed/run by bread: https://github.com/DEVLOPRR/bread/blob/main/README.md#how-it-works

tried to add freetube

thanks for adding layout info in readme.
I request you to give the ability to change the location of Applications folder.
one of the problems i am facing with appimages is their big download size, when compared to other installation methods. so, i try to download all the appimages to a different partition and launch applications using desktop files located in ~/.local/share/applications.

Are you using the prebuilt binaries (Appimage from GitHub release) or compiling bread on your own system and then using it?

I am using prebuilt binary

The Latest binaries are now tested and are working successfully on Arch Linux!

thanks.
bread is now working as intended on Arch Linux.


Delete or allow changing Jest transformIgnorePatterns option so tests won't fail when importing ES2015 modules from node_modules

Is this a bug report?
No, it's not.
This is a proposal to delete the Jest configuration option transformIgnorePatterns in package.json of new CRA apps, or at least enable changing the option without ejecting.
Users of CRA may want to import 3rd-party modules written in ES2015 from the node_modules directory. This works as expected when using the Webpack build. However, it fails when running Jest tests on the module which imports an ES2015 module from node_modules. The test runner throws a SyntaxError (see #2940) because Jest doesn't transform the dependencies in node_modules.
I don't think it should be a requirement to pre-compile modules in node_modules to an old version of JS before running Jest tests with them. Users may not have control over the modules in node_modules, being unable to pre-compile them before running the tests (without forking them). Importing ES2015 modules from node_modules works as expected when using Webpack, there's no requirement to pre-compile them in a separate step before running the Webpack build. Files and modules that get compiled without issue with Webpack fail to run with Jest. This behaviour between Webpack and Jest is inconsistent, thus unexpected and confusing for me and probably other users as well.
So I suggest removing the transformIgnorePatterns strings from package.json. If there are any concerns regarding the transformation of modules in node_modules (e.g. speed) with Jest, I would at least want to have a way of changing the option without ejecting.

Sorry, but allowing configuration of this is not the solution to resolve improperly published modules.
We should focus on educating or providing a tool for the community to publish modules which require no compilation before being consumed.

@Timer I don't see why publishing packages using valid ES2015 syntax is 'improper'. ES2015 modules can be used in Safari 10.1 and Chrome 61 beta without a compilation step, they 'require no compilation before being consumed'. BTW, I don't see an explanation for why the discrepancy between how Webpack and Jest consumes ES2015 modules is advantageous. Why provide a solution to consume valid ES2015 files with Webpack, but not with Jest?
The code under test is ultimately supposed run in the browser. However, presumably to speed up testing, Jest runs them using JSDOM, a library meant to be used in a Node.js environment. This choice to run tests in Node as opposed to a browser was made by Jest developers, much like the choice to use Jest in CRA. The lack of support for syntactically valid, standard ES2015 modules (for 2 years now) is a deficiency of Node.js. The lack of support for CommonJS modules in packages that were never even meant to be run in Node.js is not the issue here. But Jest can already provide a compilation step to make up for this deficiency in Node.js. I wish to use this feature without having to eject my CRA project. That is all.

Packages should always be pre-compiled to their lowest target environment.
In CRA apps, we enforce an IE 9+ compatibility requirement.
Compiling dependencies is slow and unreliable; code should be shipped in both common js and esmodules, or only common js.
There are fields in package.json specifying the differing builds.

Please open an issue with the dependency you're trying to use and ask them to fix their publish.

@Timer OK, I get that package authors can define different fields for CJS and ES modules in package.json (which is only a draft proposal, not a standard, and it's not documented). I consider this fact irrelevant to our discussion.
Again, the inconsistent behaviour of Webpack and Jest is still not addressed. Why require users/package authors to pre-compile ES modules when using Jest? Or, rather, why not require users/package authors to always pre-compile ES modules before using them with Webpack?
CRA is a tool to create apps that run in the browser, and Jest is a tool to test these web apps that run in the browser. Modern browsers can interpret ES modules perfectly fine (browsers can't do anything with package.json files, so they're irrelevant). My interpretation of "browser support" meant that CRA users should be able to use Jest to test any code that runs in supported browsers (including ES modules). But it looks like "browser support" just means that, whatever the output of Webpack is, it will run in supported browsers. Code that runs fine without any pre-processing in browsers may not be supported by CRA. So ES2015 support in CRA, a tool to create browser apps, is not on par with some of the browsers on the market today, used by ordinary people already, and will be behind as long as Node doesn't support ES modules (which will probably take years, last time I checked). Seems ironic to me, when my expectation toward CRA was that I could leverage modern ES language features in older browsers today.


[DEMO] Deutsch–Jozsa algorithm

General information
Name
Guohua Sun, Janeth De Anda Gil, José Luis Castro García, Edgar Omar Mendoza López, David Maya Franco.
Affiliation (optional)
Centro de Investigación en Computación, IPN.

Demo information
Title
Deutsch–Jozsa algorithm
Abstract
This program is a Deutsch-Jozsa algorithm generalization (you can find 2 qubit case on the Pennylane main page). In this repository, we show the mathematical procedure to generate a unitary matrix, which embeds a function that takes n-qubits for the  x  value, into the Deutsch-Jozsa algorithm to show if it's constant or balanced.
Relevant links
Deutsch-Jozsa Algorithm - Notebook

Thank you! I'm working on adding it :)

Hi team! It is already live 🥳
I'm talking to Marketing to share the project with the community :)
Good job here!

Thank you so much! c:

Hi @Jane121389 ,
Thanks for your contribution here 🎉
To facilitate the marketing process, can you please answer the following about the demo?
🧠 MAIN IDEA — What is the key thing we want people to walk away knowing about this? Why is it important?
🔑 KEYWORDS — What words should be included in this post
Aiming to promote this on our social media this coming Thursday, April 18th
CC: @KetpuntoG

Hi!, Sorry for the delay
🧠 MAIN IDEA — Deutsch-Josza algorithm is used to determine if a function
is constant or balanced. We want to show a generalized model of Deutsh for
n cases and to observe that its behavior is still described by the same
function and show the mathematical procedure to generate a unitary matrix,
which embeds this function.
We focus on making the description of the algorithm intuitive in order to
make the information available to everyone.
🔑 KEYWORDS :Deustch-Jozsa, generalization, unitary matrix
El vie, 12 abr 2024 a la(s) 12:13 a.m., larawatson @.***)
escribió:

Hi @Jane121389 https://github.com/Jane121389 ,
Thanks for your contribution here 🎉
To facilitate the marketing process, can you please answer the following
about the demo?
🧠 MAIN IDEA — What is the key thing we want people to walk away knowing
about this? Why is it important?
🔑 KEYWORDS — What words should be included in this post
Aiming to promote this on our social media this coming Thursday, April 18th
CC: @KetpuntoG https://github.com/KetpuntoG
—
Reply to this email directly, view it on GitHub
https://github.com/PennyLaneAI/qml/issues/1065#issuecomment-2051055312,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEZJ2FJ5LOEDK6T4Z4GEPITY453RRAVCNFSM6AAAAABF5HXPBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJRGA2TKMZRGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Jane121389 Thank you!
Promotion for this is live on our social media:
X: https://x.com/PennyLaneAI/status/1780574454470328700
LinkedIn: https://www.linkedin.com/posts/pennylaneai_demos-created-by-the-pennylane-community-a[…]148131856385-hKQj?utm_source=share&utm_medium=member_desktop


Nada

I entered all vowels to start with and nothing happens

Hi, the entered word needs to be a valid word. What word are you using?

Sorry, this is my first time doing this. It wasn't a word, just weigh looking for vowels. Ill try again. Thank you
"... a long habit of not thinking a thing wrong
gives it a superficial appearance of being right..."
~ Thomas Paine
 On Monday, January 24, 2022, 09:43:35 PM CST, Devang Thakkar<EMAIL_ADDRESS>wrote:

Hi, the entered word needs to be a valid word. What word are you using?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>

No worries! Closing this for now.


Testcase not triggered

Hi William,
This test is not being triggered:
    def test_reaction_initialization(self):
        from biocrnpyler import Reaction

        with self.assertWarns(Warning):
            Reaction(inputs=[], outputs=[], k=0.1, propensity_type="massaction", propensity_params=None)

It doesn't generate a warning, when I create the object with this signature.
in this file
test_reaction
Could you have a look? Many thanks!

@zoltuz could you please add better documentation (like a testing readme) so I can know how to make new tests? was looking at this before and I just don't understand how it works. Also the tests you made are completely uncommented so I don't know what they are testing for and what to fix when they break.

I'm sorry to hear that! I'm going to make sure the test cases are better documented.
Generally speaking, each test case probes an internal mechanism of a given object (e.g. it still triggers an exception if one gives a non-exiting filename as an argument to the object, etc).
I'm going to comment out the failing test, for now, just to stop Travis complaining about it.

Okay, I will close the issue. In the near future, I plan a bunch of new tests.


franz: fix Exec substitution in franz.desktop

Motivation for this change
Fixes #75819.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc me!

@GrahamcOfBorg build franz


Complete Clayg

What is the expected behavior?
The Clayg decoder is buggy and has incomplete tests. It should be completed.

Clayg will be (temporarily) removed in #410.


Page Not Found after clicking Observable link

Documentation Related To Component:
Observable - Multiple - Observable
Please check those that apply

[ ] typo
[x] documentation doesn't exist
[ ] documentation needs clarification
[x] error(s) in example
[ ] needs example

Description Of The Issue
Upon clicking on the Observable link

I get the following screen

This is fixed by #4882 .

thanks for the info. Closed by #4882


Performing application of labels: no grouping allowed for "and" operation

[ This bug report applies to Prometheus 1.6.1 ]
Consider the following metrics, generated by Kubernetes/CAdvisor:
machine_cpu_cores{instance="hostname1",k8s_node_type="prod",...}
machine_cpu_cores{instance="hostname2",k8s_node_type="prod",...}
machine_cpu_cores{instance="hostname3",k8s_node_type="staging",...}
machine_cpu_cores{instance="hostname4",k8s_node_type="staging",...}

And these metrics, generated by kube-state-metrics:
kube_pod_container_requested_cpu_cores{node="hostname1",pod="pod1",...}
kube_pod_container_requested_cpu_cores{node="hostname1",pod="pod2",...}
kube_pod_container_requested_cpu_cores{node="hostname2",pod="pod3",...}
kube_pod_container_requested_cpu_cores{node="hostname2",pod="pod4",...}
kube_pod_container_requested_cpu_cores{node="hostname2",pod="pod5",...}
kube_pod_container_requested_cpu_cores{node="hostname4",pod="pod6",...}

The question is, how can one compute the CPU request utilisation per k8s_node_type? In this specific example, it's annoying that kube_pod_container_requested_cpu_cores does not have a k8s_node_type label. We somehow want to copy that label from machine_cpu_cores while aggregating. I came up with recording rules that look like this:
k8s_node_type:kube_pod_container_requested_cpu_cores:sum =
    sum(
        sum(label_replace(kube_pod_container_requested_cpu_cores, "instance", "$0", "node", ".*"))
        by (instance)
        + on (instance) group_right
        machine_cpu_cores * 0
    ) by (k8s_node_type)
k8s_node_type:machine_cpu_cores:sum =
    sum(machine_cpu_cores)
    by (k8s_node_type)
k8s_node_type:kube_pod_container_requested_cpu_cores:ratio =
    k8s_node_type:kube_pod_container_requested_cpu_cores:sum
    /
    k8s_node_type:machine_cpu_cores:sum

Though this recording rule works pretty well, I'm not happy with this part:
sum(a)
by (instance)
+ on (instance) group_right
b * 0

In this case I'm just looking for a binary operator that retains the left hand side; a ⨂ b = a. The addition and the multiplication by zero effectively emulate this, as I know machine_cpu_cores is never NaN.
Interestingly enough, Prometheus already has an operator that does a ⨂ b = a: it's called and. My question is, could we please extend and to also allow grouping? It would be nicer if I could write:
sum(a)
by (instance)
and on (instance) group_right
b

I understand that having grouping for the or operator is harder, as that is effectively a selection between the left hand side and the right hand side. The and operator, however, is semantically not very different from other operators like +, *, etc., right?

and and or already support grouping for vector matching, and due to their semantics handle many-to-many operations with no additional modifiers.
I don't see how this helps you though. Your last example would (after fixing the syntax error as group_right is unnecessary) would merely return the LHS.
May I suggest a feature request to k8 to have the kubelet expose allocated cores?
PromQL questions are best asked at https://groups.google.com/forum/#!aboutgroup/prometheus-users

Brian,
Sorry, but I don't really understand your answer here. First of all, why should I do a feature request at k8s to ask them to change the metrics format? The metrics format is all right as it is right now. In our case, Prometheus' Kubernetes service discovery adds the k8s_node_type label based on our custom relabelling rules. Requiring that kube-state-metrics also exposes metrics with those labels makes little sense.
Also your remark that grouping is already supported without any additional modifiers: doesn't the use case described above demonstrate that the existing mechanism is not sufficient? Right now and retains the left-hand side, while also doing an implicit group_left. In this specific bug report, I'm providing an example of where we want to retain the left-hand side, while doing a group_right.
On a final note, why close this bug report already? If you provided a query that literally showed me that the existing query language is already capable of doing this, I'd agree that closing makes sense. Right now we haven't reached any consensus yet.

First of all, why should I do a feature request at k8s to ask them to change the metrics format? The metrics format is all right as it is right now.

That you have to write such complex PromQL queries indicates otherwise.

Right now and retains the value of the left-hand side, while also doing an implicit group_left.

That's not how it works.

On a final note, why close this bug report already?

I see no behaviour here which indicates a bug in PromQL.
Our policy is to close the many user support questions we get and redirect them to the mailing list, so that everyone can benefit from the answer.


[Data Factory] Convert PipelineResource to JSON

I am creating Azure Data Factory pipeline using Python SDK (azure.mgmt.datafactory.models.PipelineResource).  Is it possible anyhow?
I tried json.loads(pipeline_object) , json.dumps(pipeline_object) but no luck.

Hi @romanzdk, thank you for opening an issue! I'll tag the appropriate folks so we can take a closer look.
In the meantime, you may be able to get unblocked by adding a default argument to json.dumps in order to make objects that aren't JSON serializable into dicts first. For example:
import json
from azure.mgmt.datafactory.models import Activity, PipelineResource

activity = Activity(name="activity-name")
resource = PipelineResource(activities=[activity])

json_dict = json.dumps(resource, default=lambda obj: obj.__dict__)
print(json_dict)

(I added resource.name = "my-name")
Unfortunately, when I use this Azure Data Factory returns an error Could not load resource 'my-name'. Please ensure no mistakes in the JSON and that referenced resources exist. Status: Cannot read properties of undefined (reading 'policy'), Possible reason: Cannot read properties of undefined (reading 'policy')

Hi @romanzdk
According to the error message you gave, I judged that it was an error in your policy information, which has nothing to do with the above code and the code you gave.
It is recommended that you check your Azure policy information to see if it works.

Well, not really, apparently. It looks like some issue with the generated JSON file. All activities and the pipeline has policy=null. I also tried to remove all these policy keys, but the same issue.

Hi @romanzdk
You want to modify the parameters through resource.name = "my-name" above, but in the swagger definition, name is a read-only parameter, so it cannot be modified. SDK is generated by swagger.
https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py

Because the code mentioned by @mccoyp above is only tested locally and not through Azure, all activities and the pipeline has policy=null.

Hi @Wzb123456789 , I know that name parameter is read-only, but when I convert the class to JSON, the name is not defined, so the pipeline is not valid for the ADF. The name has to be present - that's the reason I changed the name.

Hi @romanzdk
There are two ways to pass parameters to the model:
1.
activity1 = Activity(depends_on=...)
2.
activity1 = Activity(
    "dependsOn": ...
)

So, if you need to use the model to get data, it is recommended that you pass the parameters you want in json, like：

Regarding some keys that are not in the format you need, I cannot modify this, because this parameter returned by the service response is also a read-only parameter, which is defined by swagger, but it is useless to modify it.

There is still a misunderstanding.. I am generating the entire ADF pipeline using just Python SDK. No JSON files. And I need to convert the result Pipeline object into JSON because I need to upload it into GIT repository associated with the ADF.
The problem is that converting the ADF python models into JSON objects is not working correctly - dictionary keys have wrong case - e.g. instead of dependsOn converted object has key depends_on which is not accepted by the ADF.

Hi @romanzdk
Since the model of PipelineResource is fixed, I have no way to modify what comes out after model deserialization.
I found a method that might work for you based on your description, like:
origin_req = None

def callback(request):
    global origin_req
    origin_req = request.http_request.body
    return origin_req

res = ADF_client.pipelines.create_or_update(
    resource_group_name='resource_group_name',
    factory_name='factory_name',
    pipeline_name='pipeline_name',
    pipeline=PipelineResource(
        activities=[activity],
        folder=PipelineFolder(name="someFolder")
    ),
    raw_request_hook=callback
)
print(origin_req)

This method is to obtain the serialized content of the model in the sent request.
Hope it helps you.