StateError from Multiple Stream Listeners in Debugger Attach

Flutter version 3.24.3 on channel stable
When attempting to attach a debugger to a running Flutter application using the flutter attach command, an error occurs indicating that a stream has already been listened to, leading to an unexpected termination of the Flutter process. This issue surfaces when multiple instances of the Dart Development Service (DDS) attempt to listen on the same stream without proper handling for single-subscription streams, causing a StateError.
This was the solution:
packages/flutter_tools/lib/src/resident_runner.dart
From:
  Stream<Uri?>? vmServiceUris;

To:
  StreamController<Uri?>? _vmServiceUrisController;
  Stream<Uri?> get vmServiceUris => _vmServiceUrisController?.stream ?? const Stream<Uri?>.empty();
  set vmServiceUris(Stream<Uri?> value) => _vmServiceUrisController?.sink.addStream(value);

command
flutter attach --no-version-check --suppress-analytics --debug --device-id emulator-5554 --target /integration_test/test_bundle.dart
exception
StateError: Bad state: Stream has already been listened to.
#0      _StreamController._subscribe (dart:async/stream_controller.dart:686:7)
#1      _ControllerStream._createSubscription (dart:async/stream_controller.dart:837:19)
#2      _StreamImpl.listen (dart:async/stream_impl.dart:497:9)
#3      new _ForwardingStreamSubscription (dart:async/stream_pipe.dart:114:10)
#4      _ForwardingStream._createSubscription (dart:async/stream_pipe.dart:86:16)
#5      _ForwardingStream.listen (dart:async/stream_pipe.dart:81:12)
#6      FlutterDevice.connect (package:flutter_tools/src/resident_runner.dart:267:35)
#7      ResidentRunner.connectToServiceProtocol (package:flutter_tools/src/resident_runner.dart:1404:21)
#8      HotRunner.attach (package:flutter_tools/src/run_hot.dart:236:13)
#9      AttachCommand._attachToDevice (package:flutter_tools/src/commands/attach.dart:403:31)
<asynchronous suspension>
#10     AttachCommand.runCommand (package:flutter_tools/src/commands/attach.dart:265:5)
<asynchronous suspension>
#11     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1408:27)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#13     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:420:9)
<asynchronous suspension>
#15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#16     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)
<asynchronous suspension>
#17     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
<asynchronous suspension>
#18     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#19     main (package:flutter_tools/executable.dart:93:3)
<asynchronous suspension>

flutter doctor
[!] Flutter (Channel stable, 3.24.3, on macOS 13.6.4 22G513 darwin-x64, locale en-BR)
    • Flutter version 3.24.3 on channel stable at /Users/superuser/.asdf/installs/flutter/3.24.3-stable
    ! Upstream repository git@github.com:superuser/packages.git is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to git@github.com:superuser/packages.git to dismiss this error.
    • Framework revision 2663184aa7 (6 days ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/superuser/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/superuser/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    ✗ CocoaPods installed but not working.
        You appear to have CocoaPods installed but it is not working.
        This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
        This can usually be fixed by re-installing CocoaPods.
      For re-installation instructions, see https://guides.cocoapods.org/using/getting-started.html#installation

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.3.7)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.93.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.96.0

[✓] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 14 (API 34) (emulator)
    • sdk gphone64 x86 64 (mobile) • emulator-5556 • android-x64    • Android 14 (API 34) (emulator)
    • macOS (desktop)              • macos         • darwin-x64     • macOS 13.6.4 22G513 darwin-x64
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 128.0.6613.138

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Labeling based on the information shared above.


sensor data unreliable

Hi mate.. trinnov sensor data on this is so unreliable. sometimes comes up, sometimes doesnt! any fix for it>

if i restart home assistant the sensor data comes back... so seems to be a HA issue rather than trinnov issue.

Hm, I'll see if I can reproduce. Keep in mind, the Altitude needs to be on for sensor data to be available. Reopen if you experience it again.


When will Landing page is available?

its most likely just a menu placeholder to demonstrate use of labels in the menu

@Firestorm-Graphics that doesn't explain the coming soon tag


Specialized Drop impl causes 'internal compiler error'

------------IMPORTANT----------------
I accedentally posted the issue for Cargo, but it is a rustc bug.
I already opened the correct issue for rustc:
https://github.com/rust-lang/rust/issues/40132
Please just close! :-(

Problem:
rustc crashes with 'internal compiler error' if a special file (see the 'Input' section) is compiled.
Exact error output (run via cargo run):
[me@my_machine rustc_bug_1]$ cargo run
   Compiling rustc_bug_1 v0.1.0 (file:///home/me/some_folder/rustc_bug_1)
error: internal compiler error: /checkout/src/librustc_typeck/check/dropck.rs:650: substs for an impl must map types to TyParam

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

thread 'rustc' panicked at 'Box<Any>', /checkout/src/librustc_errors/lib.rs:417
note: Run with `RUST_BACKTRACE=1` for a backtrace.

error: Could not compile `rustc_bug_1`.

To learn more, run the command again with --verbose.

How to reproduce the error:

Create a new (binary) project with cargo new rustc_bug_1 --bin

Put the attached source inside main.rs

Run the project with cargo run

Witness the error ;-)

The error-causeing source:
struct A<T> {
  a: T,
}

fn main() {
    struct Z {}

    let x: A<Z> = A{ a: Z{} };

    struct DropStruct;

    impl Drop for A<DropStruct> {
      fn drop(&mut self) {
        println!("I'm dropping an A<DropStruct>!");
      }
    }
}

Explanation:
I tried some crazy stuff in Rust in order to better understand the languages' semantics when i encountered the bug. I know....usually you cannot specialize the Drop impl, or so the compiler keeps telling me if i further minimize the provided source.
Used OS and rust toolchain:
Arch x64 (up2date)
Rust Toolchains:
stable-x86_64-unknown-linux-gnu
beta-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu

Tested with all three.

No worries for the accidental post to cargo :)


Suggestion: when startVisible=true, show full list if user clears the field

I have been playing with your code, which works fantastic by the way.
I really want my users to choose from a list, but I want them to be able to override if they really need to, and filter quickly.  So, I load up a large list of options and use startVisible=true and all is grand.
However, if they type a few things and then erase back to blank, your current implementation does not reload the list.
Just needed to make 1 small change to make this work:
if text!.isEmpty {
            clearResults()
            tableView?.reloadData()
            self.placeholderLabel?.text = ""
        }

Change to:
if text!.isEmpty {
            clearResults()
            tableView?.reloadData()
            filter(true)
            self.placeholderLabel?.text = ""
        }

I'm not sure if this creates other problems, but it seems to work for me!

Fixed in 1.1.3. Thanks!.


Power measurement using OCC

Sorry to spam here, couldn't find a good place to ask questions. To my understanding, the OCC hardware has the information about the chip power consumption. I was wondering if that information is exposed through the OS or some other software. For example, how could I read the power consumption on a Power8 server with Linux installed.
Thank you!

Power readings are currently not available through the OS.  You can get the chip power consumption from the BMC sensor data.

Hi Martha,
Thank you for your response. How can I read data from BMC sensor? Do I need extra hardware, like a meter that I need to plug in somewhere?

Hi Martha,
Thank you for your reply. I just tried reading the chip power consumption from the BMC sensor data using the following command line:
/usr/local/bin/ipmitool -H <IP_ADDRESS> -U admin -P admin sensor list -v
With that, I got some of the sensor reading:
Sensor ID              : CPU_Diode_Sensor (0xd)
 Entity ID             : 3.0
 Sensor Type (Analog)  : Temperature
 Sensor Reading        : 23 (+/- 1) degrees C
 Status                : ok
 Lower Non-Recoverable : 0.000
 Lower Critical        : 10.000
 Lower Non-Critical    : 20.000
 Upper Non-Critical    : 40.000
 Upper Critical        : 50.000
 Upper Non-Recoverable : 60.000
 Assertion Events      :
 Assertions Enabled    : lnc- lnc+ lcr- lcr+ lnr- lnr+ unc- unc+ ucr- ucr+ unr- unr+

However, most of the other sensors do not have readings available (including the chip power that I'm interested in):
Sensor ID              : Quick_Power_Drop (0x1f)
 Entity ID             : 19.0
 Sensor Type (Discrete): Processor
 States Asserted       : Processor
                         [Thermal Trip]

Sensor ID              : All_PGood (0x1c)
 Entity ID             : 19.0
 Sensor Type (Discrete): Power Unit
 States Asserted       : Power Unit
                         [Power cycle]

Sensor ID              : DIMM_Functioning (0x1)
 Entity ID             : 32.0
 Sensor Type (Discrete): Memory

Sensor ID              : CPU_Core_Func (0x2)
 Entity ID             : 3.0
 Sensor Type (Discrete): Processor

Have you seen something like this before, and how do I solve this issue?
Thanks!

By the way, this is a GN70-BP010 server we got from Tyan.
http://www.tyan.com/campaign/openpower/

Hmm, it seems something have failed here.
$ /usr/local/bin/ipmitool -H <IP_ADDRESS> -U admin -P admin sdr -v
Sensor ID              : Board_Temp (0xc)
 Entity ID             : 7.0 (System Board)
 Sensor Type (Analog)  : Temperature
 Sensor Reading        : 20 (+/- 1) degrees C
 Status                : Lower Non-Critical
 Nominal Reading       : -105.000
 Normal Minimum        : -117.000
 Normal Maximum        : -59.000
 Upper non-recoverable : 60.000
 Upper critical        : 50.000
 Upper non-critical    : 40.000
 Lower non-recoverable : 0.000
 Lower critical        : 10.000
 Lower non-critical    : 20.000
 Positive Hysteresis   : 2.000
 Negative Hysteresis   : 2.000
 Minimum sensor range  : Unspecified
 Maximum sensor range  : Unspecified
 Event Message Control : Per-threshold
 Readable Thresholds   : lnr lcr lnc unc ucr unr
 Settable Thresholds   : lnr lcr lnc unc ucr unr
 Threshold Read Mask   : lnr lcr lnc
 Assertion Events      : lnc-
 Assertions Enabled    : lnc- lnc+ lcr- lcr+ lnr- lnr+ unc- unc+ ucr- ucr+ unr- unr+

Sensor ID              : CPU_Diode_Sensor (0xd)
 Entity ID             : 3.0 (Processor)
 Sensor Type (Analog)  : Temperature
 Sensor Reading        : 23 (+/- 1) degrees C
 Status                : ok
 Nominal Reading       : -105.000
 Normal Minimum        : -117.000
 Normal Maximum        : -59.000
 Upper non-recoverable : 60.000
 Upper critical        : 50.000
 Upper non-critical    : 40.000
 Lower non-recoverable : 0.000
 Lower critical        : 10.000
 Lower non-critical    : 20.000
 Positive Hysteresis   : 2.000
 Negative Hysteresis   : 2.000
 Minimum sensor range  : Unspecified
 Maximum sensor range  : Unspecified
 Event Message Control : Per-threshold
 Readable Thresholds   : lnr lcr lnc unc ucr unr
 Settable Thresholds   : lnr lcr lnc unc ucr unr
 Threshold Read Mask   : lnr lcr lnc
 Assertion Events      :
 Assertions Enabled    : lnc- lnc+ lcr- lcr+ lnr- lnr+ unc- unc+ ucr- ucr+ unr- unr+

Sensor ID              : Chassis_Intr (0x15)
 Entity ID             : 19.0 (Power Unit)
 Sensor Type (Discrete): Physical Security
 States Asserted       : Physical Security
                         [Drive Bay intrusion]
 Assertion Events      : Physical Security
                         [Drive Bay intrusion]
 Assertions Enabled    : Physical Security
                         [General Chassis intrusion]
                         [Drive Bay intrusion]
                         [I/O Card area intrusion]
                         [Processor area intrusion]
                         [System unplugged from LAN]
                         [Unauthorized dock]
                         [FAN area intrusion]

Sensor ID              : Quick_Power_Drop (0x1f)
 Entity ID             : 19.0 (Power Unit)
 Sensor Type (Discrete): Processor
 States Asserted       : Processor
                         [Thermal Trip]
 Assertion Events      : Processor
                         [Thermal Trip]
 Assertions Enabled    : Processor
                         [IERR]
                         [Thermal Trip]
                         [FRB1/BIST failure]
                         [FRB2/Hang in POST failure]
                         [FRB3/Processor startup/init failure]
                         [Configuration Error]
                         [SM BIOS Uncorrectable CPU-complex Error]
                         [Presence detected]
                         [Disabled]
                         [Terminator presence detected]
                         [Throttled]

Sensor ID              : All_PGood (0x1c)
 Entity ID             : 19.0 (Power Unit)
 Sensor Type (Discrete): Power Unit
 States Asserted       : Power Unit
                         [Power cycle]
 Assertion Events      : Power Unit
                         [Power cycle]
 Assertions Enabled    : Power Unit
                         [Power off/down]
                         [Power cycle]
                         [240VA power down]
                         [Interlock power down]
                         [AC lost]
                         [Soft-power control failure]
                         [Failure detected]
                         [Predictive failure]

Sensor ID              : DIMM_Functioning (0x1)
 Entity ID             : 32.0 (Memory Device)
 Sensor Type (Discrete): Memory
 Assertions Enabled    : Memory
                         [Correctable ECC]
                         [Uncorrectable ECC]
                         [Parity]
                         [Memory Scrub Failed]
                         [Memory Device Disabled]
                         [Correctable ECC logging limit reached]
                         [Presence Detected]
                         [Configuration Error]
                         [Spare]
                         [Throttled]

Sensor ID              : CPU_Core_Func (0x2)
 Entity ID             : 3.0 (Processor)
 Sensor Type (Discrete): Processor
 Assertions Enabled    : Processor
                         [IERR]
                         [Thermal Trip]
                         [FRB1/BIST failure]
                         [FRB2/Hang in POST failure]
                         [FRB3/Processor startup/init failure]
                         [Configuration Error]
                         [SM BIOS Uncorrectable CPU-complex Error]
                         [Presence detected]
                         [Disabled]
                         [Terminator presence detected]
                         [Throttled]

Sensor ID              : CPU_Functioning (0x3)
 Entity ID             : 3.0 (Processor)
 Sensor Type (Discrete): Processor
 Assertions Enabled    : Processor
                         [IERR]
                         [Thermal Trip]
                         [FRB1/BIST failure]
                         [FRB2/Hang in POST failure]
                         [FRB3/Processor startup/init failure]
                         [Configuration Error]
                         [SM BIOS Uncorrectable CPU-complex Error]
                         [Presence detected]
                         [Disabled]
                         [Terminator presence detected]
                         [Throttled]

Sensor ID              : Host_Status (0x4)
 Entity ID             : 35.0 (Operating System)
 Sensor Type (Discrete): System ACPI Power State
 Assertions Enabled    : System ACPI Power State
                         [S0/G0: working]
                         [S1: sleeping with system hw & processor context maintained]
                         [S2: sleeping, processor context lost]
                         [S3: sleeping, processor & hw context lost, memory retained]
                         [S4: non-volatile sleep/suspend-to-disk]
                         [S5/G2: soft-off]
                         [S4/S5: soft-off]
                         [G3: mechanical off]
                         [Sleeping in S1/S2/S3 state]
                         [G1: sleeping]
                         [S5: entered by override]
                         [Legacy ON state]
                         [Legacy OFF state]
                         [Unknown]

Sensor ID              : FW_Boot_Progress (0x5)
 Entity ID             : 34.0 (BIOS)
 Sensor Type (Discrete): System Firmwares
 Assertion Events      : System Firmware Error
                         [Unspecified]
                         [Memory initialization]
                         [Hard-disk initialization]
                         [Secondary CPU Initialization]
                         [User authentication]
                         [User-initiated system setup]
                         [USB resource configuration]
                         [PCI resource configuration]
                         [Option ROM initialization]
                         [Video initialization]
                         [Cache initialization]
                         [SMBus initialization]
                         [Keyboard controller initialization]
                         [Management controller initialization]
                         [Docking station attachment]
                         [Enabling docking station]
                         [Docking station ejection]
                         [Disabling docking station]
                         [Calling operating system wake-up vector]
                         [System boot initiated]
                         [Motherboard initialization]
                         [reserved]
                         [Floppy initialization]
                         [Keyboard test]
                         [Pointing device test]
                         [Primary CPU initialization]
                         [Unknown Progress]
 Assertions Enabled    : System Firmware Error
                         [Unspecified]
                         [No system memory installed]
                         [No usable system memory]
                         [Unrecoverable IDE device failure]
                         [Unrecoverable system-board failure]
                         [Unrecoverable diskette failure]
                         [Unrecoverable hard-disk controller failure]
                         [Unrecoverable PS/2 or USB keyboard failure]
                         [Removable boot media not found]
                         [Unrecoverable video controller failure]
                         [No video device selected]
                         [BIOS corruption detected]
                         [CPU voltage mismatch]
                         [CPU speed mismatch failure]
                         [Unknown Error]
                         [Unspecified]
                         [Memory initialization]
                         [Hard-disk initialization]
                         [Secondary CPU Initialization]
                         [User authentication]
                         [User-initiated system setup]
                         [USB resource configuration]
                         [PCI resource configuration]
                         [Option ROM initialization]
                         [Video initialization]
                         [Cache initialization]
                         [SMBus initialization]
                         [Keyboard controller initialization]
                         [Management controller initialization]
                         [Docking station attachment]
                         [Enabling docking station]
                         [Docking station ejection]
                         [Disabling docking station]
                         [Calling operating system wake-up vector]
                         [System boot initiated]
                         [Motherboard initialization]
                         [reserved]
                         [Floppy initialization]
                         [Keyboard test]
                         [Pointing device test]
                         [Primary CPU initialization]
                         [Unknown Hang]
                         [Unspecified]
                         [Memory initialization]
                         [Hard-disk initialization]
                         [Secondary CPU Initialization]
                         [User authentication]
                         [User-initiated system setup]
                         [USB resource configuration]
                         [PCI resource configuration]
                         [Option ROM initialization]
                         [Video initialization]
                         [Cache initialization]
                         [SMBus initialization]
                         [Keyboard controller initialization]
                         [Management controller initialization]
                         [Docking station attachment]
                         [Enabling docking station]
                         [Docking station ejection]
                         [Disabling docking station]
                         [Calling operating system wake-up vector]
                         [System boot initiated]
                         [Motherboard initialization]
                         [reserved]
                         [Floppy initialization]
                         [Keyboard test]
                         [Pointing device test]
                         [Primary CPU initialization]
                         [Unknown Progress]

Sensor ID              : PCI (0x6)
 Entity ID             : 35.0 (Operating System)
 Sensor Type (Discrete): OS Boot
 Assertions Enabled    : OS Boot
                         [A: boot completed]
                         [C: boot completed]
                         [PXE boot completed]
                         [Diagnostic boot completed]
                         [CD-ROM boot completed]
                         [ROM boot completed]
                         [boot completed - device not specified]

Sensor ID              : OS_Boot (0x7)
 Entity ID             : 35.0 (Operating System)
 Sensor Type (Discrete): OS Boot
 Assertions Enabled    : OS Boot
                         [A: boot completed]
                         [C: boot completed]
                         [PXE boot completed]
                         [Diagnostic boot completed]
                         [CD-ROM boot completed]
                         [ROM boot completed]
                         [boot completed - device not specified]

Sensor ID              : OCC_Active (0x8)
 Entity ID             : 3.0 (Processor)
 Sensor Type (Discrete): Processor
 Assertion Events      : Processor
                         [IERR]
 Assertions Enabled    : Processor
                         [IERR]
                         [Thermal Trip]
                         [FRB1/BIST failure]
                         [FRB2/Hang in POST failure]
                         [FRB3/Processor startup/init failure]
                         [Configuration Error]
                         [SM BIOS Uncorrectable CPU-complex Error]
                         [Presence detected]
                         [Disabled]
                         [Terminator presence detected]
                         [Throttled]

Sensor ID              : Power_Cap (0x9)
 Entity ID             : 19.0 (Power Unit)
 Sensor Type (Discrete): Power Unit
 Assertions Enabled    : Power Unit
                         [Power off/down]
                         [Power cycle]
                         [240VA power down]
                         [Interlock power down]
                         [AC lost]
                         [Soft-power control failure]
                         [Failure detected]
                         [Predictive failure]

Sensor ID              : Watchdog (0x0)
 Entity ID             : 0.0 (Unspecified)
 Sensor Type (Discrete): Watchdog
 Assertions Enabled    : Watchdog 2
                         [Timer expired]
                         [Hard reset]
                         [Power down]
                         [Power cycle]
                         [reserved]
                         [reserved]
                         [reserved]
                         [reserved]
                         [Timer interrupt]

Can you run the following command on your BMC so we know what firmware level you are using:
cat /proc/ractrends/Helper/FwInfo
Thanks.

$ cat /proc/ractrends/Helper/FwInfo
FW_VERSION=1.10.68259
FW_DATE=Oct 24 2014
FW_BUILDTIME=19:14:15 EDT
FW_DESC=IBM OPENPOWER SRC-REL 10242014
FW_PRODUCTID=1

The latest PNOR code level on Tyan's website (SP010_BIOS_U58_R05.rar) does
not support the OCC, so you would not see those sensors populated.  You
would need a later BMC and PNOR (BIOS) level for these sensors to work
correctly.
On Wed, Apr 22, 2015 at 2:12 PM, Yunqi Zhang<EMAIL_ADDRESS>wrote:

$ cat /proc/ractrends/Helper/FwInfo
FW_VERSION=1.10.68259
FW_DATE=Oct 24 2014
FW_BUILDTIME=19:14:15 EDT
FW_DESC=IBM OPENPOWER SRC-REL 10242014
FW_PRODUCTID=1
—
Reply to this email directly or view it on GitHub
https://github.com/open-power/occ/issues/6#issuecomment-95307634.

Where can I get later versions of BMC and PNOR (BIOS) that work well with these sensors?

Yunqi, while you can get the latest PNOR image from the open power project here on github I haven't located the public version of the BMC level you need.  There have been many changes and fixes since the Oct. 2014 release.  Stay tuned.

Hi Stephan, does that mean there isn't a publicly available version of BMC that works well with these sensors, and I'll need to wait for a future release? Thanks!

The BMC code is not open-source and is provided by Tyan for the Palmetto
machine.  You would need to contact them for an update.
The PNOR (BIOS) code is open-source and available at
https://github.com/open-power/op-build .  Others have had success building
directly from the open source version and putting onto their Palmetto
machine.  See the discussion in this issue as an example:
https://github.com/open-power/op-build/issues/100
If you want to run official firmware levels, you also need to obtain those
from Tyan.  Vanilla op-build v1.1 is known to work on the Palmetto machine
though and we maintain support for it.  It may have compatibility issues
with specific BMC levels when IPMI is enabled.  What you are getting from
official firmware levels is BMC and PNOR levels that are known to work well
together.
On Wed, Apr 22, 2015 at 2:23 PM, Yunqi Zhang<EMAIL_ADDRESS>wrote:

Hi Stephan, does that mean there isn't a publicly available version of BMC
that works well with these sensors, and I'll need to wait for a future
release? Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/open-power/occ/issues/6#issuecomment-95310150.

I see. Thanks guys!


fix: correctly infer returning OK status type

Current dependencies on/for this PR:

main

PR #13

PR #14   👈

This comment was auto-generated by Graphite.

Graphite Merge Job
Current status: ⏳ Queued to merge
This pull request is currently queued to be merged as part of a stack.
This comment was auto-generated by Graphite.

Job Reference: 3k1UzKXl5ZWLtCzZn7QI


Saving a model with datatypes.JSON results in error: "WHERE conditions required"

GORM Playground Link

https://github.com/go-gorm/playground/pull/380
Description
I have a model using the datatypes.JSON custom type. Attempting to call .Save on a model with it results in the error: "WHERE conditions required". I don't understand why - maybe I am not understanding how JSON is implemented under the hood and it needs special treatment?

Actually, hold on, I think I see the real problem - in my code, I am using a Has One relation, so there is no primary key, only a foreign key - is a primary key required to use datatypes.JSON?

It looks like that was the issue - I added an ID field to my struct and it worked.

Well, actually, I guess the association auto-update doesn't work when I use .Save() on the parent model, but it does work if I .Save() the child entities myself.


"Continue watching for [X]" not listing the next episode

The menu node "continue watching for [USERNAME]" (german: "Mit dem Profil von [USERNAME] weiterschauen") does not list the next/in-progress episode of current TV-shows, but rather only lists the show itself., so that when you click it, you end up in the root node of the show instead of continue watching where you left off This is quite annoying and differs from the default Netflix behavior.
Would it be possible to directly list the according episodes there and have a context menu entry to jump to the related show?

@da-anda Yes, it´s on the list. Second item in the ToDo section in the README: https://github.com/asciidisco/plugin.video.netflix#todo

Will it be possible to continue a movie or episode where we left it (from a browser or app) or that isn't doable from a technical perspective?

@Uukrull Theoretically yes, but I struggled to get it working (Well, I tried for 5 minutes & then left it, cause I had urgent things to fix). I´ll get the offset position from Netflix API & Kodi seems to provide a way to start an item at that offset:
def play(url):
	videoUrl = getVideoUrl(url)
	listitem = xbmcgui.ListItem(path=videoUrl)
	listitem.setProperty('StartOffset', '50.0')
	xbmcplugin.setResolvedUrl(pluginhandle, True, listitem)

I´m currently scheduling milestones for the plugin & I have to admit, that this feature is not a priority, more a "nice to have". But it´s definitely my plan to have that in someday.

@Uukrull We get the bookmarkPosition from the API before we start fetching the manifest: https://github.com/asciidisco/plugin.video.netflix/blob/master/resources/lib/NetflixSession.py#L1418
I think my original problems were based on me, not knowing that Kodi does some weird 75hz offset calculation in the source: https://github.com/xbmc/xbmc/blob/master/xbmc/Application.cpp#L3146
Judging based on this thread, I´d probably consider calculating the offset percentage instead os setting the StartOffset property.
There´s also a leftover from my previous attempt in the code (https://github.com/asciidisco/plugin.video.netflix/blob/master/resources/lib/KodiHelper.py#L673)

Thanks for the detailed info :) As a bonus, while looking at the code and doing some tests, I found another place where localhost should be replaced with <IP_ADDRESS> for faster response times on Windows:
https://github.com/asciidisco/plugin.video.netflix/blob/master/resources/lib/KodiHelper.py#L663

Hi. any advance on this? It's seems that the best approach is to use offset percentage. How difficult is to calculate that? we can get the bookmarkPosition and the duration of the show, is not that sufficient?
I'm trying to resolve this by myself. so any guidance would be appreciated.
PD: Sorry for my english.


download run into problem

Expected behavior
Docker image download complete and started
Actual behavior
failed to register layer: re-exec error: exit status 1: output: ProcessUtilityVMImage C:\ProgramData\Docker\windowsfilter\59f83b291a302afd20b8a3ede96d3ecce9e51afcb593b35d08002f6e486245a0\UtilityVM: The parameter is incorrect.
Information about the Issue
This was run on Docker for Windows (Beta)
Version 1.13.1-rc1-beta40 (9961)
Channel: beta
0d026e1
Steps to reproduce the behavior

open Kitematic from the Docker for Windows task icon
search for Microsoft Sql Server Windows
click "create" button to start download
will get stuck at 99.xx% and finally report the above error message.

This is a Windows Container image only - Please see the documentation for this image and the requirements.
To learn more about Windows Containers, please see this post:
https://blog.docker.com/2016/09/build-your-first-docker-windows-server-container/


Stacked processing of triggerdata.txt for GUI trigger regeneration

I suppose Drake53's lib doesn't support this but here's the basic idea. The GUI trigger definitions are loaded by the game from 2 files: ai-somethingsomething.txt (for AI Editor) and triggerdata.txt (the main GUI editor). These files are completely declarative to the WorldEditor and some WE mods over the years have expanded these files to add new trigger functions (much like Reforged itself did with new game APIs).
It's possible map creators used these custom WE mods and unless the correct triggerdata.txt was loaded, the GUI regeneration wouldn't recognize these functions in code as triggers. To be frank, vanilla WE wouldn't either. Though another mod that'll gain traction is GrapesOfWath's GuiGui - this program provides a nice interface to add custom triggerdata and I assume at some point his default triggerdata distribution will become somewhat popular. Another triggerdata mod I know of is YDWE (probably more in Chinese community) and probably one or two from the Russian community.
For the purposes of adding to jassdoc, I wrote my own triggerdata parser and with the above requirements in mind, I intend to add "stacked" processing of triggerdata, when multiple definitions are specified, they are processed and merged together to form one output. I'll call it a stacked approach, because with the __index metatable in Lua it's easy fall through to underlying tables that do hold the data, which is missing from a higher up table.
That tool in its current form is not ready to be used as a library in any form other than a CLI.
The alternative: the advantages of going all this way, is to restore the map to the point as it was when the original author was making it in modded WE. Obviously this is not required and all unrecognized trigger code could simply be made into "custom code". Modified triggerdata is not openable/workable in the vanilla editor anyway.
But if given the choice, the user could decide if s/he wants vanilla triggers or custom triggers with a notice which WE mod to use. Some simple counting (how many modded triggers found) would be needed to avoid false-positives, like one real custom code function recognized as modded triggerdata.
The need for this could be evaluated while scanning the current map corpus.

Great ideas. For now my priority would be for Visual Triggers to decompile correctly only if they were built in the official WorldEditor. For anything else, if visual triggers decompilation fails, just do 1 big custom script. I recognize this isn't ideal for all users, but I think the effort involved is very high and advanced programmers will want to abandon visual triggers and switch to lua and custom script anyways.
Totally open to PRs if anyone else makes improvements here. And, of course if all the other high priority stuff gets taken care of, this idea can be revisited.


Support none orientation ports for get_bundle_from_steps

Added support for None orientation ports for get_bundle_from_steps. I will open more PR's with support for the same for other routing functions.

fix #364


Java 19.3: Autoboxing/Unboxing boolean and char values

Description 📜
Add audio, documentation and video regarding the Need of Java.

Domain of Contribution 📊

[x] Java

Location of File to be added
The files should be added inside the Autoboxing/Unboxing boolean and char values folder which is inside the Autoboxing folder present in the Java main folder. If the folder is not present, create the folder with this exact name. The documentation file can be in the .md/.py/.ipynb format. Audio should be in .mp3 format and to be submitted through a Google drive link. Video can be in any format and should be submitted through a Google Drive link.
Note:

You are required to comment with \assign CONTENT_TYPE, so that other content types can be created at the same time.
Failing to comment in the above manner will lead to the removal of assignment from the issue even if the bot assigns.
You are required to do a PR within 7 days otherwise you will be unassigned and others will be assigned.
Issues will be assigned on the basis of first come first serve.

/assign document

/assign document

/assign document

/assign documentation


Input element within foreach loses focus if data changes to move it "up"

I noticed that within a foreach container, if the underlying data changes to move a focused input element down/after it's current position then the focus remains on the element. But if the data change would move the element up/before then focus is lost. It's most observable and annoying if the focused input element itself affects the sort order (like if you had a list of task names and were sorting by name).
This appears to be an inherent behavior of the browser DOM functions, not Knockout. I reproduced it in both Chrome and Firefox. But I found a simple fix: in insertAfter in virtualElements.js, capture the current focus at the start and then reset it at the end. This appears to work surprisingly well in all cases: if focus wasn't lost, the browser doesn't seem to misbehave. And if focus was lost it is reset and you even keep your caret position within the element.
var currentFocus = document.activeElement;
  ...
if (currentFocus) currentFocus.focus();

I suppose you could add checks to see if the element with focus is actually in the DOM object you're moving, but it doesn't appear to be necessary and it may be faster for the browser to do that itself then adding Javascript.
Anyone have any thoughts on this? Am I missing a more obvious solution or some caveat with this one? Is it worth a pull request?

(1) This slickgrid repo is unmaintained, use this one instead
(2) See www.slickgrid.net for an overview of what's going on in SlickGrid
(3) Is this question even anything to do with SlickGrid? If so, need steps to reproduce from a known example.


How to export Sketch files into .component format

It would be good if we had some documentation on how to export Sketch files into the .component JSON file format.
That would allow Designers with a less technical bent to be more fully involved in the project and generate some traction.

Yes, totally! Currently there's no way to go from Sketch -> .component, but we're actively exploring how to do that. This project probably isn't ready for non-technical designers yet, since it's still very very rough. We'll for sure add way more docs when it's ready.
Closing this for now

Do you have specification for .component format? So, I can help ;)


[Usable_Create from Template]: Complete focus is visible on 'Create from Template section' rather than only on radio button.

User Experience:
For users to understand the focus on radio buttons, ocus should only be visible on 'Create from Template' radio button rather than to its whole section i.e. including its all templates.
Test Environment:
Environment: Chromium Edge (Anaheim) + Narrator
Build Version: 2004 (OS Build 19564.1005)
Microsoft Edge Version: 82.0.425.0 (Official build) canary (64-bit)
Test URL: http://localhost:3000/home
Repro Steps:

Open URL: http://localhost:3000/home
Navigate on homepage with tab key up to 'New' button and press enter on it.
'Create from scratch' pop up will open.
Observe the issue with keyboard focus on 'Create from Template' radio button.

Actual Result:
Complete focus is visible on 'Create from Template section' rather than only on radio button.
Expected Result:
Focus should only be visible on 'Create from Template' radio button rather than to its whole section i.e. including its all templates.
MAG Guidelines:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/Doc.aspx?sourcedoc={F98F4235-B6BD-47D3-8DA4-F28B9B6FBFA8}&file=Guideline 101 – Recommended Assistive Technology Tools for MAS Testing of Microsoft Digital Properties.docx&action=default&mobileredirect=true
Attachment:
Usable_Create from template.zip

@corinagum I updated UI last week. I think the issue here is solved.

@liweitian I agree! Thank you!

As UI gets updated, the issue is not repro any more. So, HCL is closing the bug.


[Snyk] Security upgrade react-scripts from 2.1.8 to 5.0.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

example/chat/package.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

696/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS) SNYK-JS-ANSIREGEX-1583908
Yes
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 67.629%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4734

Relevant Lines:
7000

💛  - Coveralls


Pre-release todo

Android developer licenese (~25$)
Register stable reporting URL and configure redirection
Rename application to Flow Book (Flow Reader seems occupied)
Add to help some text about "Imporovement" menu item
Either fix KitKat and lower or exclude from available versions
Prepare picture for Google Play listing
Fix applcation name on screen ("Books" now)
Make release branch and set release version.

what else?

https://developer.android.com/distribute/best-practices/launch/launch-checklist


Questions about processing AGORA.

Hi, when I ran agora2coco.py to make the annotation file of AGORA, the following error appeared. I don't know what the problem is, Could you please help me? Thanks a lot !

@mls1999725 hi，I have met the same issue, could you please tell me how to solve this?


Feature Request - FLAC download instead of MP3

Hi, Please allow FLAC downloads instead of MP3 or atleast have it as an option.

Right. Makes sense. Thank you.


[Tooltip] Support tooltips for disabled buttons

https://deploy-preview-22937--material-ui.netlify.app/components/tooltips/#disabled-elements
Use pointer events instead of mouse events. That way we don't have to deal with quirky mouseenter on disabled buttons (which should work by spec but is not implemented for historic reasons: https://github.com/w3c/pointerevents/issues/177). We can leverage pointer events even though we support Safari 12.1 on iOS because in that environment the tooltip is triggered by the touchstart event.
Needs:

[x] spec crawling

Seems to be intended reading https://github.com/w3c/pointerevents/issues/177
From that issue it sounds like mouseenter not firing is due to a historical misinterpretation of the spec.
Since PointerEvents are new browsers had a chance to remedy this without breaking compat.

[ ] browser testing

Linux

[x] Chrome 85
[ ] Firefox

MacOS

[ ] Chrome 85
[ ] Safari 13

Windows

[x] Chrome 85
[x] Edge 85
[x] Firefox 75

iOS

[ ] Safari 12

[ ] discuss how we reconcile the "anchor as a button" use case and whether we support disabled anchors.
Right now we implement most of the expected behavior for disabled elements by adding pointer-events: none;.
We do this for the anchor and div[role="button"] use case as well as to not apply hover styles.
I would propose that we rather implement these behaviors properly so that we have better support for the default <button type="button" /> use case e.g. allow cursor: not-allowed
[ ] fix tests

Motivation
Wrapper elements for disabled buttons with tooltips are pretty hard since we only want event handlers on the wrapper. Everything else should go on the button e.g. aria-label.

Blocked by https://github.com/mui-org/material-ui/pull/23101


include ignoreErrors attribute not working for non-existent file

Type (choose one): Bug
NLog version: 4.4.8
Platform: .Net 4.6.1
Current NLog config (xml or C#, if relevant)
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
      autoReload="true"
      throwExceptions="true"
      internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log">

  <include file="DeveloperConfig\NLog.config" ignoreErrors="true" />

  <!-- optional, add some variables
  https://github.com/nlog/NLog/wiki/Configuration-file#variables
  -->
  <variable name="myvar" value="myvalue"/>

  <!--
  See https://github.com/nlog/nlog/wiki/Configuration-file
  for information on customizing logging rules and outputs.
   -->
  <targets async="true">

    <!--
    add your targets here
    See https://github.com/nlog/NLog/wiki/Targets for possible targets.
    See https://github.com/nlog/NLog/wiki/Layout-Renderers for the possible layout renderers.
    -->

    <!--
    Write events to a file with the date in the filename.
    <target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
            layout="${longdate} ${uppercase:${level}} ${message}" />
    -->
    <target xsi:type="Trace" name="trace" />
  </targets>

  <rules>
    <!-- add your logging rules here -->

    <!--
    Write all events with minimal level of Debug (So Debug, Info, Warn, Error and Fatal, but not Trace)  to "f"
    <logger name="*" minlevel="Debug" writeTo="f" />
    -->
    <logger name="*" minlevel="Info" writeTo="trace"/>
  </rules>
</nlog>

What is the current result? If I enable NLog exceptions it is hitting an exception when trying to include a non-existent file.
What is the expected result? Because I have ignoreErrors="true" for the include, my understanding is it should try and include the file but ignore it if the file doesn't exist.
Did you checked the Internal log?

2017-05-05 08:42:55.7603 Debug ScanAssembly('NLog, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=5120e14c03d0593c')
2017-05-05 08:42:55.7843 Debug Start auto loading, location: C:\dev\AgencyRM.Tracker\AgencyRM.Tracker\bin
2017-05-05 08:42:55.7853 Info Auto loading assembly file: C:\dev\AgencyRM.Tracker\AgencyRM.Tracker\bin\NLog.Targets.Syslog.dll
2017-05-05 08:42:55.7853 Info NLog.Targets.Syslog, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=a15d6ba50060b73f. File version: <IP_ADDRESS>. Product version: 4.0.0.
2017-05-05 08:42:55.7853 Debug ScanAssembly('NLog.Targets.Syslog, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=a15d6ba50060b73f')
2017-05-05 08:42:55.7853 Info Auto loading assembly file: C:\dev\AgencyRM.Tracker\AgencyRM.Tracker\bin\NLog.Targets.Syslog.dll succeeded!
2017-05-05 08:42:55.7853 Debug Auto loading done
2017-05-05 08:42:55.8073 Trace FindReachableObject<System.Object>:
2017-05-05 08:42:55.8073 Trace Scanning SimpleLayout ''DeveloperConfig\NLog.config''
2017-05-05 08:42:55.8073 Trace  Scanning LiteralLayoutRenderer 'Layout Renderer: ${literal}'
2017-05-05 08:42:55.8243 Error Error when including 'DeveloperConfig\NLog.config'. Exception: System.IO.FileNotFoundException: Included file not found: C:\dev\AgencyRM.Tracker\AgencyRM.Tracker\DeveloperConfig\NLog.config
   at NLog.Config.XmlLoggingConfiguration.ParseIncludeElement(NLogXmlElement includeElement, String baseDirectory, Boolean autoReloadDefault)
2017-05-05 08:42:55.8243 Error Parsing configuration from C:\dev\AgencyRM.Tracker\AgencyRM.Tracker\NLog.config failed. Exception: NLog.NLogConfigurationException: Exception when parsing C:\dev\AgencyRM.Tracker\AgencyRM.Tracker\NLog.config.  ---> System.IO.FileNotFoundException: Included file not found: C:\dev\AgencyRM.Tracker\AgencyRM.Tracker\DeveloperConfig\NLog.config
   at NLog.Config.XmlLoggingConfiguration.ParseIncludeElement(NLogXmlElement includeElement, String baseDirectory, Boolean autoReloadDefault)
   at NLog.Config.XmlLoggingConfiguration.ParseNLogElement(NLogXmlElement nlogElement, String filePath, Boolean autoReloadDefault)
   at NLog.Config.XmlLoggingConfiguration.ParseTopLevel(NLogXmlElement content, String filePath, Boolean autoReloadDefault)
   at NLog.Config.XmlLoggingConfiguration.Initialize(XmlReader reader, String fileName, Boolean ignoreErrors)
   --- End of inner exception stack trace ---

Please post full exception details (message, stacktrace, inner exceptions)

InnerException:
       HResult=-2146233088
       Message=Exception when parsing C:\dev\AgencyRM.Tracker\AgencyRM.Tracker\NLog.config.
       Source=NLog
       StackTrace:
            at NLog.Config.XmlLoggingConfiguration.Initialize(XmlReader reader, String fileName, Boolean ignoreErrors)
            at NLog.Config.XmlLoggingConfiguration..ctor(String fileName, Boolean ignoreErrors, LogFactory logFactory)
            at NLog.LogFactory.LoadLoggingConfiguration(String configFile)
            at NLog.LogFactory.get_Configuration()
            at NLog.LogFactory.GetLogger(LoggerCacheKey cacheKey)
            at NLog.LogFactory.GetLogger(String name)
            at NLog.LogManager.GetCurrentClassLogger()
            at AgencyRM.Tracker.Data.Migrations.MigrationHelper..cctor() in C:\dev\AgencyRM.Tracker\AgencyRM.Tracker.Data\Migrations\MigrationHelper.cs:line 11
       InnerException:
            HResult=-2147024894
            Message=Included file not found: C:\dev\AgencyRM.Tracker\AgencyRM.Tracker\DeveloperConfig\NLog.config
            Source=NLog
            StackTrace:
                 at NLog.Config.XmlLoggingConfiguration.ParseIncludeElement(NLogXmlElement includeElement, String baseDirectory, Boolean autoReloadDefault)
                 at NLog.Config.XmlLoggingConfiguration.ParseNLogElement(NLogXmlElement nlogElement, String filePath, Boolean autoReloadDefault)
                 at NLog.Config.XmlLoggingConfiguration.ParseTopLevel(NLogXmlElement content, String filePath, Boolean autoReloadDefault)
                 at NLog.Config.XmlLoggingConfiguration.Initialize(XmlReader reader, String fileName, Boolean ignoreErrors)
            InnerException:

Are there any work arrounds? no
Is there a version in which it did worked? unknown

could you try with <nlog  throwExceptions="false"?

the bug is here:
https://github.com/NLog/NLog/blob/e37aca88fb569fe490b509e3873a928145309c98/src/NLog/Config/XmlLoggingConfiguration.cs#L1112

I turned off the exceptions and added a file output target and the application started up fine and the NLog output was properly being captured. So it looks like it will ignore the error enough to keep going and use the configuration but it doesn't suppress the exception?

well the exceptions are caught when throwExceptions=false.
This is indeed a bug, but the workaround is to use throwExceptions=false.

we need to unit test this case, and fix it :)

could you help with that? (writing unit test)

I'll give it a go

@304NotModified do you want me to just add the unit test or also modify the code to resolve the issue?

That was also allowed :) Any way, I think it fixed it. Pushed it to your branch. Will deploy soon :)

Fixed in #2095 :)

NLog 4.4.9 is in the deploy pipeline! Will be online in an hour!


Source Code for ESP8266 tm_stm32_esp8266_gcc.a

Will you make the source code available for the tm_stm32_stm32_esp8266_gcc.a ?
Shouldn't that C file be in here too, and not just the archive?
Thanks.

Please follow my website for more information.
For now, it is not available, but I'm preparing a library which will have source available and will be independent of platform.


chore: Update deployment scripts

Saw you were still using node 18.x, and left it as such, but could update if needed.
TODO:

[ ] Disable Cloudflare's GitHub integration on the repo
[ ] Add variable secrets to this repo
[ ] Confirm that the project name is layerchart on Cloudflare

Huh, still seeing Vercel trying to deploy. Was I wrong in assuming that you're using CF now, Sean?

Thanks @shyakadavis ❤.  I re-enabled Vercel after I learned that CF didn't provide PR previews, and utilize the adapter-auto ATM to deploy to both (CF is the primary and where layerchart.com is hosted).  Since I had stopped paying for a Vercel Pro account, this means the PR previews are really only for me, which isn't optimal but still useful for me to review PRs.
So in short, yes I am still using Vercel mostly as a stop gap solution for PR previews, but likely turning it off after this.  It's been helpful once or twice to troubleshoot a CF-specific failing build, but likely will disable it to cut down on the PR comment noise.
Thanks so much for the PR.  I plan to finish the setup this afternoon when I get back home.

@shyakadavis LayerChart and Svelte UX deployments are all migrated over 🎉

https://github.com/techniq/layerchart/pull/224#issuecomment-2267964196
https://github.com/techniq/svelte-ux/pull/436#issuecomment-2267952133

I switched from adapter-auto to adapter-cloudflare as I didn't see a straightforward way to support adapter-auto since the build is happening in Github Actions instead of Cloudflare infra.  I also removed the Vercel integration since it would need setup similarly without using adapter-auto, and not worth it now 😁 (PR previews for everyone!)
Thanks again!


Uses the stable github releases with powershell script

Adds a script to ensure a stable release branch is checked out for the build.
Fixes #44

@shapleya Thanks for the effort, very much appreciated! I will review ASAP (currently traveling).

hi @YannickRe and @cengelenVW thanks for the feedback!
I incorporated a default parameter on the function as requested:
[bool]$DisallowPreRelease = $true
I can't think of a need for using prereleases myself, so happy to leave it defaulting to $true

Looks good to me. I look forward using this. Thanks @shapleya!

@shapleya I merged this, thanks for all the hard work. I made some additional tweaks in #52 .

Ability to pick between alpha, prerelease, and release when starting the build
Defined GitHubOwner and RepoName only in one place, and then reused them everywhere (cleaning up my own code)
Removed some validations in downstream scripts (so there aren't too many places to update when a new Windows or Ubuntu version gets supported in the script)


Image alignment based on user defined coordinates points

Add image alignment possibility based on  joint-coordinate points. See
https://stackoverflow.com/questions/29480345/image-alignment-with-set-points-python
https://stackoverflow.com/questions/59411741/python-align-two-images-according-to-specified-co-ordinates

Nice to have, but not immediately necesarry now


[Feature] Allow users to set application logo

Summary
Currently, users can choose a logo for their application. The logo appears in the users dashboard for the application. But it does not appears inside the application. Instead appsmith logo is shown everywhere. Users should be allowed to set their own logo for each application and that logo should be displayed both in edit mode and view mode.
Motivation
Any organization that uses appsmith as their internal tool - in most cases has own logo. Their internal users e.g. business users expect the organization logo in the topbar. Imagine, a developer of an organization used Appsmith to quickly build some internal tools. The business users liked the tools but they are not comfortable with appsmith logo. So they asked developer to change the logo which can't be done easily today. A different logo for each application will also help to distinguish an application quickly from other applications.
Additional Context
A user in discord was looking for an option to change the logo.

With custom logo / branding, can this issue be closed? @hiteshjoshi


Fix/required variables in query hook

Description
Currently when a query has required variables, the passing of variables object isn't enforced in query hook args. This can cause runtime errors as if one doesn't specify the variables object at all, the types all are happy.
This PR introduces a proposed fix to ensure that variables need to be passed in args, when there are some required variables in the query. Similar has been done already for the component generation, but looks like this wasn't taken into account then.
Related https://github.com/dotansimha/graphql-code-generator/issues/2870

Type of change
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
There are new test cases ensuring that variables added as a required field instead of optional, when some of the query variables are required.
I ran the tests locally and saw that they passed.
Test Environment:

OS: macOS
@graphql-codegen/typescript-react-apollo: 4.2.0
NodeJS: v18.19.0

Checklist:

[X] I have followed the
CONTRIBUTING doc and 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

Thank you! Published<EMAIL_ADDRESS>


Hide access for all core properties

We should have private access for all core properties instead of public.
For get and set we should use php magic methods __get and __set

Improved Entries CRUD functionality for data overriding on fly.

Added new public property $storage for storing current requested entry(entries) data and all Entries CRUD operations data with ability to changed on fly.
Storage structure:
  $storage = [
      'fetch_single' => [
        'id' => '',
        'data' => '',
      ],
      'fetch_collection' => [
        'id' => '',
        'data' => '',
      ],
      'create' => [
        'id' => '',
        'data' => '',
      ],
      'update' => [
        'id' => '',
        'data' => '',
      ],
      'delete' => [
        'id' => '',
      ],
      'copy' => [
        'id' => '',
        'new_id' => '',
        'deep' => '',
      ],
      'rename' => [
        'id' => '',
        'new_id' => '',
      ],
      'has' => [
        'id' => '',
      ],
  ];

Accessing storage example:
   flextype('emitter')->addListener('onEntryAfterInitialized', static function () : void {
     flextype('entries')->storage['fetch_single']['data']['title'] = 'New title';
   });

   $entry = flextype('entries')->fetchSingle('about');

   echo $entry['title'];

Added new events: onEntryHas, onEntryInitialized, onEntriesInitialized

BREAKING CHANGES

Removed properties from Entries API
$entry_id
$entry
$entry_create_data
$entry_update_data
$entries_id
$entries

Use dynamic $storage property instead.


TexTweaks

Mod name
TexTweaks
Curseforge link
https://www.curseforge.com/minecraft/mc-mods/textweaks
Modrinth link
N/A
Other link
https://github.com/UltimateBoomer/mc_textweaks
What it does
Something with texture scaling
Why should it be in the modpack
Optifine parity, I think
Why shouldn't it be in the modpack
Haven't tested, no idea how to use or if it can benefit everyone at all
Categories

[ ] Performance optimization
[x] Graphics optimization
[ ] New feature
[x] Optifine parity
[ ] Fixes a bug/dependency

Additional details

Perhaps the pack should come with a pre-configured options for this.
It still offers a performance benefit when set up correctly

@CodeF53 Please elaborate, how did you set it up and how (much) did it improve your performance.

Let me quickly test that

Enabled I get an average of 875 FPS.
Disabled I get an average of 840 FPS.
Testing this now, the gains are much less significant than I remember.
Here is a screenshot of my config:

Hmm, okay. Here's what I gathered:

The main changed thing here is additional mipmapping; mipmapping exists in vanilla but there it only works for 16x resource packs.
If I included this with "optimized" settings, it could look wrong with some resource packs and high-resolution screens - that is not what I want as a default.
LOD bias seems like something that users could adjust wrong and therefore get extreme blur or pixelation
"Optifine is needed for foliage to be correctly mipmapped"

So in the end, if there will ever be some kind of "easy mode" - you know, one or two sliders like Optifine, then I could reconsider it. Right now it is still too confusing to expect users to modify it, or if I modify it for them - could disrupt their view.

can we make a config file in which all setting is preloaded so that people donot have to modify it

I will do a bit of experimenting for a general purpose config file for the mod.
I am not quite sure how you would deploy config files with a modpack.

can we make a config file in which all setting is preloaded so that people donot have to modify it

I am not quite sure how you would deploy config files with a modpack.

That's one of the points of a modpack, to configure mods for a specific purpose :D So yes, config files can absolutely be included.
However, my point is that if the player is using a "non-standard" setup like a 4K or Retina screen, then they must understand how the settings work to revert it at least. And as of now, even I don't fully understand how the settings work.
So as I suggested previously, if you can convince the mod owner of including an "easy mode" of some kind or simply could help them rephrase the settings for better understanding, then I could include this eventually.

Asking For Fps Boost Settings https://github.com/UltimateBoomer/mc-textweaks/issues/9#issue-1000219828

Asking For Easy Mode https://github.com/UltimateBoomer/mc-textweaks/issues/10#issue-1004104679

Hmm, okay. Here's what I gathered:

The main changed thing here is additional mipmapping; mipmapping exists in vanilla but there it only works for 16x resource packs.
If I included this with "optimized" settings, it could look wrong with some resource packs and high-resolution screens - that is not what I want as a default.
LOD bias seems like something that users could adjust wrong and therefore get extreme blur or pixelation
"Optifine is needed for foliage to be correctly mipmapped"

So in the end, if there will ever be some kind of "easy mode" - you know, one or two sliders like Optifine, then I could reconsider it. I don't really know what kind of algorithm or presets to use for making it simple, so at the moment I cannot suggest it to the author either.
Right now it is still too confusing to expect users to modify it, or if I modify it for them - could disrupt their view.

Some Resource packs will cause vanilla mipmapping to break due to 1*1 pixel texture. Continuity's author affirmed this issue. Optifine fixes this issue by upscaling textures. In fabric, TexTweaks is the only mod that can upscale textures. Both performance and visual looking would have a significantly improved by using TexTweaks.

Again, I believe adding the mod could benefit, but at the moment it would only benefit those who can properly configure it for their setup because the settings are so complex.

Generally doesn't matter because the mod hasn't been updated since 1.17, and forks don't go to 1.19


Include example corpus in documentation

Describe the bug
When testing #327 I noticed that the documentation does not describe where to find the example corpus (except for a screenshot in the user docs).
To reproduce the bug
Steps to reproduce the behavior:

See description above.

Expected behavior
This information should be included for testing purposes. Maybe a test/example corpus should also be included in the releases.

As corpus creation from scratch is now implemented (#339) and documented (#340), this information is not needed anymore. For testing purposes, dummy corpora can be created.


KAFKA-5135: Controller Health Metrics (KIP-143)

This is an initial PR to get some feedback on whether I'm on the right track. Need to write tests and verify if any additional work needs to be done to clean-up metrics. cc @onurkaraman @junrao

@ijuma : Thanks for the patch. The general approach looks good.

Thanks for the review @junrao. I addressed your feedback. Also, while removing the controllerContext.stats.leaderElectionTimer.time block (which is now handled via the BrokerChange state metric), I noticed that some events had a redundant try/catch block (since ControllerEventManager.process also does the same). I've removed them as well.

@ijuma : Thanks for the patch. LGTM. I will let you merge this when the tests complete.


Icons? :)

Is it possible to include icons in the select option label?
As an example, a FA icon: .
I've tried simply putting that HTML into the label but it displayed it as is. :sweat_smile:

This is possible for multiple elements (tags) but not yet possible for single selects (because the value’s label is displayed as the text value of the <input>.
I will consider having a slot for the value when in single-select mode and always using it instead of replacing the value of the <input> element when searchable equals true.

This is what I've been doing for fa-icons:
      <multiselect v-model="value" placeholder="" label="title" track-by="title" :options="options" :option-height="104" :show-labels="true">
        <template slot="option" slot-scope="props">

 {{ props.option.title }}

        </template>
      </multiselect>

Options array:
        value: { title: 'Github', icon: 'github' },
        options: [
          { title: 'Github', icon: 'github' },
          { title: 'Google', icon: 'google' },
          { title: 'Facebook', icon: 'facebook' },
          { title: 'Reddit', icon: 'reddit' }
        ]


Add support for Prisoner's Tap Code

https://en.wikipedia.org/wiki/Tap_code

Hey, is the issue still open? , if so , the tapping will be represented by a tuple of 2 ints?

@SkeletalDemise Is adopting this, I think

@Itamikame this is the issue :)


Prevent undefined behaviour

This squashes the warning about virtual destructors, and allows devices to have special cleanup routines
It would be good if this could be merged for the benefit of future PRs.

Merged with the encoder pull request


release make-hardener v0.0.7

This release is the first to be published from the ses-shim monorepo and
includes changes necessary for compatibility with SES 0.7.

From my local testing, I think this is sufficient to get SES working. I still need to bone up on Lerna to make this all more automatic.


ImportError qtpy.QtWidgets

Under Anaconda, I am unable to start pyfocal. Am I missing some dependency? qtpy is nothing I have heard of before.
Traceback (most recent call last):
  File ".../bin/pyfocal", line 9, in <module>
    load_entry_point('pyfocal==0.1a1', 'console_scripts', 'pyfocal')()
  File ".../lib/python2.7/site-packages/setuptools-19.6.2-py2.7.egg/pkg_resources/__init__.py", line 547, in load_entry_point
  File ".../lib/python2.7/site-packages/setuptools-19.6.2-py2.7.egg/pkg_resources/__init__.py", line 2719, in load_entry_point
  File ".../lib/python2.7/site-packages/setuptools-19.6.2-py2.7.egg/pkg_resources/__init__.py", line 2379, in load
  File ".../lib/python2.7/site-packages/setuptools-19.6.2-py2.7.egg/pkg_resources/__init__.py", line 2385, in resolve
  File ".../site-packages/pyfocal-0.1a1-py2.7.egg/pyfocal/app.py", line 7, in <module>
    from qtpy.QtWidgets import *
ImportError: No module named qtpy.QtWidgets

qtpy is an abstraction layer that was created by the Spyder team. All it does is look at your system and determine whether you have PyQt5, PyQt4 or PySide, and uses the appropriate library.
What happens when you try python -c "from qtpy.QtWidgets import *" ?

I don't have Spyder. In your documentation, there is no mention of it. Having this dependency just for a convenience abstraction layer seems like an overkill to me. Also, what if I have all of the above, but I wish to use a specific one? Would be nicer to have a --toolkit command line argument like Ginga.
https://github.com/ejeschke/ginga/blob/master/ginga/gw/GwHelp.py

Should I try to take a stab a removing Spyder dependency, just so I can run this GUI? :smile:

There is no Spyder dependency. QtPy is a small abstraction layer that is based on a module used by the Spyder team in their development of their idea. QtPy itself is only a 15KB wheel.
You can, currently, simple set an environment (QT_API) variable to choose between either PyQt or PySide (pyqt, pyside respectively).

The setup.py file should be extended, or a requirements file should be added, in order to have the package included in the install.

For now, you can do a simple pip install qtpy, and that should fix your current error.

I've updated the required packages with the 24e4d907bdf908fd8a167ec65b967194eeefdc15 commit. You should go ahead and do another python setup.py install, to make sure all the required packages are installed.

Thanks, but...
We have to be careful about introducing dependencies on packages that don't already come with Anaconda distribution (http://docs.continuum.io/anaconda/pkg-docs). Because if they become incompatible, it will be expensive to maintain in the long run. Is there any reason why we absolutely needs "qtpy" and "py_expression_eval"?

If they are not hard to get rid of at this point, I suggest we rid of them now before pyfocal becomes too dependent on them. Or on the other hand, if you think replacing them is trivial no matter how complicated pyfocal becomes in the future, then we can hold this off.
What do you think? @stscieisenhamer? @perrygreenfield?

Is there any reason why we absolutely needs "qtpy" and "py_expression_eval"?

Currently, it's not worth the sprint time to have to develop our own abstraction layer that is qt-agnostic (we tried this last time, and there are still bugs that now rely on crappy hacks). I'd much rather include a library that's at least supported in pypi, then have to depend on a half-baked implementation that we could not getting working reliably within the sprint time frame.

We have to be careful about introducing dependencies on packages that don't already come with Anaconda distribution

We always have the ability to freeze a version and use anaconda skeleton to maintain our own dependencies. I disagree that this is a concern.
A similar case can be made for py_expression_eval; it's a ~1000 line package that obviates the need of having us spend that time implementing a full-on mathematical expression evaluator, and is small enough to include inside the pyfocal package if we're worried about broken dependencies in the future.
Both these packages are small and highly useful. It would be a waste of time re-implementing their functionality ourselves. I think, if there is a concern about fragmentation between pypi and anaconda managers, we should either wrap these up and make our own conda packages, or just include them within pyfocal.

If the licenses do not conflict, :+1: to include within pyfocal.


fix: datepicker doesn't close on first selection of date on month change

Fixes issue #30701
Added cypress test for the fix
https://github.com/appsmithorg/appsmith/assets/119920490/d8e92377-6d27-49f9-8839-e18b8b6aae65

Summary by CodeRabbit

New Features

Added new tests to the DatePicker widget ensuring functionality and reliability.

Bug Fixes

Improved date selection logic to handle null values and formatted dates correctly.

Hi @ApekshaBhosale Can you please review this PR?

@ApekshaBhosale   Gentle Reminder: Could you please review this PR?

Hi @ApekshaBhosale  ,
I hope you're well. I’m curious and excited to hear your thoughts on my pull request raised a while ago. Looking forward to your review!
Thank you.

@ApekshaBhosale I accidentally deleted my forked repository, but I have raised another PR with the suggested changes addressing the comments. Could you please review this PR?


Executing RichTextLabel.select_all crashes Godot

Godot version
4.0.alpha.custom_build. 5974e1432
System information
Ubuntu 21.10 - Nvidia GTX 970, Gnome shell 40.4 X11
Issue description
When executing
	var temp_variable543 = RichTextLabel.new()
	temp_variable543.set_selection_enabled(true)
	temp_variable543.select_all()

Godot crashes with this backtrace
scene/gui/rich_text_label.cpp:4235:32: runtime error: member access within null pointer of type 'struct ItemFrame'

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.alpha.custom_build (5974e1432ef7941a5e29f8723dec85aa45505963)
Dumping the backtrace.
-- END OF BACKTRACE --
================================================================

This example was found by Godot fuzzer - Qarminer, so it is quite unlikelly that this code could be used in real project, but still this should be handled gracefully.
Steps to reproduce
Above
Minimal reproduction project
No response

CC @ConteZero

https://github.com/godotengine/godot/blob/d1bb77076ad21af368d39cf00749918d1896fc38/scene/gui/rich_text_label.cpp#L4281
Probably to_frame is null if there are no items, but I guess it should check both from_frame and to_frame and return is either is not valid, since selection won't be valid unless both are set.


Need to modify ath value in dpop payload

Issue and Steps to Reproduce

@guillaume-chervet  As per my server gateway, they need ath value divide by 2 in dpop jwt payload.
if possible, can we have a extra param something  like makeAthHalfInJWT  divide by 2 (half)  in configuration itself like below.
From this code...
       const configuration = this.configuration;
        const claimsExtras = {ath: await base64urlOfHashOfASCIIEncodingAsync(accessToken),};

to...

        const configuration = this.configuration;
        const athValue= await base64urlOfHashOfASCIIEncodingAsync(accessToken);
        const claimsExtras = {ath: configuration?.makeAthHalfInJWT ?  athValue.slice(0, athValue.length / 2) : athValue ,};

If you want me to send custom ath value like below, i can send it as extra param to generateDemonstrationOfProofOfPossessionAsync method.
await oidc.generateDemonstrationOfProofOfPossessionAsync(         accessToken,         urlSplit[0],         method,         ath       );
Thanks in Advance.
Versions
"@axa-fr/react-oidc": "^7.14.1"
Screenshots

Expected
Actual
Additional Details

Installed packages:

hi @bhargavmullakuru , thank you for the issue.
I'am not sure to understand why you need to devid it by 2 ? Do you have more details.
Are you using dpop inside service worker or whithout service worker?

@guillaume-chervet  . I'm not using service worker in my configuration. From another gateway end they are checking dpop ath divide by 2.

Hi @bhargavmullakuru , we may can add an extras parameter so you will be able to override defaut properties by your own one.

@guillaume-chervet .. any update on this fix for new extras parameter ? 😁

I will try to do it today @bhargavmullakuru :)

I published
v7.20.0-alpha.1393, but I'am not sure it will resolve your issue.
I pushed on main by mistake : https://github.com/AxaFrance/oidc-client/commit/c7793c9913128dbb82a60dff11261ca5b4749f0c
But it is an alpha.

@guillaume-chervet  Tried using that alpha, it was not accepting 4th parm.

Sorry @bhargavmullakuru , I have created/pulished a new alpha => https://github.com/AxaFrance/oidc-client/pull/1325

Any news @bhargavmullakuru ?

It was working with that alpha version and i'm able to pass custom keys. Let me know once it's merged to main release version.
Thanks for your help @guillaume-chervet

Thank you for your feedback @bhargavmullakuru ,
I released it :)


Much simpler index, in preparation for download-java

@armanbilge

Oh yeah, this is super good 👍  so it's nested OS/arch/distribution/JDK version. Awesome.

Basically, no more special versions for GraalVM and OpenJ9, people should only select the JDK version (17, 11 or 8) and they will get the latest available version that matches.

This is still jabba specific, I will create the file based structure for download-jdk.

Yeah I think that makes good sense. What we can do is provide a way for users to give hash commit and/or url so that they can pin to an old version of the index if they want to.

This is still jabba specific, I will create the file based structure for download-jdk. In a separate PR.

Yeah that's probably good 😆 although then there's no excuse to make a Scala.js action :P

This still contains some cruft that jabba requires, like each url being prefixed by "tgz+url" for tar.gz files and "zip+url" for zip files. It's just weird.


Fix encoding of comma character in query parameters

PR Description
The Teku VC encodes the comma , character in its request to the /validators endpoint, resulting in a request like this:
GET /eth/v1/beacon/states/head/validators?id=0x978e96b6b6b474f3f91b705a311906b14a5e2893d15e01f5a0ff210393ace5e0abc8488e844dab00f430364ba4c19b1a%2C0x99f013b0314981b0083e494bdd2989304f9fc9dfd2b0c23b40429d817b02acc78f0b4328e45e745a5c6cc48e8f0e9930 HTTP/1.1
This is incompatible with Lodestar's BN, which handles it as one long ID containing the %2C string, resulting in an empty array of statuses being returned. This in turn results in the Teku VC failing to get the status for its validators (and subsequently not performing validator duties for them):
19:14:03.083 WARN  - Unable to retrieve status for validator 978e96b.
19:14:03.083 WARN  - Unable to retrieve status for validator 99f013b.

This was discussed in https://github.com/ChainSafe/lodestar/issues/5403 . The conclusion there was the comma character should not be encoded in this case.
The Teku BN API can handle both cases, regardless of whether the comma character is encoded or not, so this change is completely backwards compatible.
Looking forward to hear your thoughts on this.
Fixed Issue(s)
I have not found an issue for this in this repository.
Documentation

[x] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[x] I thought about adding a changelog entry, and added one if I deemed necessary.

This kind of incompatibility will likely disappear with https://github.com/ethereum/beacon-APIs/pull/367 but I think it still deserves to at least be considered to be fixed.

Hey thanks for raising this, it makes complete sense.
We do have a change coming to the validators endpoint where it becomes a POST, but having said that, we're yet to change to the post, so happy to merge this one :)


gfortran called as f95 in ubuntu 20.04 leading to wrong compiler options

Describe the bug
FC environment is set as f95 (alias to gfortran ..some of the makefiles check for the value of FC and set
the options accordingly (e.g. galactics/gas_src
To Reproduce
pip install amuse-galactics on ubuntu 20.04
Expected behavior
FC should be gfortran

reopen if necessary


Methods session.hold and session.unhold lack documentation on SIPJS.com

These methods are used to send RE-INVITEs so the other side of a call can be put into hold. However, they do not appear in the API Reference.

We have a ticket to do this on our website: https://github.com/onsip/sipjs.com/issues/17. We were waiting for things to stabilize before documenting it, but that has probably already happened. Please follow up with additional questions about the documentation there.


Bug/even 60

Fixed image not showing when using external url.

This pull request is now managed with CodeReviewHub. Refresh.


Add Memory Grow support

Description
What is the purpose of the change?
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

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

Brief of your solution
Please describe your solution to solve the issue or feature request.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Codecov Report

Merging #11 (ad96c0e) into memory_grow (450a734) will increase coverage by 0.17%.
The diff coverage is 66.66%.

@@               Coverage Diff               @@
##           memory_grow      #11      +/-   ##
===============================================
+ Coverage        44.95%   45.13%   +0.17%
===============================================
  Files                8        8
  Lines              416      421       +5
===============================================
+ Hits               187      190       +3
- Misses             198      199       +1
- Partials            31       32       +1

Impacted Files
Coverage Δ

exec/code.go
66.66% <66.66%> (-1.20%)
: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 450a734...ad96c0e. Read the comment docs.


Add additional collector for SLM stats

Closes https://github.com/prometheus-community/elasticsearch_exporter/issues/555

Thanks for your review @sysadmind
With regards to counter suffix what's your opinion around the below?
Currently there's e.g. total_snapshots_taken (Copied verbatim from the ES API response) which represents that value across all policies, and snapshots_taken (Also copied verbatim) which is labelled by policy.
Adding a _total suffix to these to align with best practices for naming counters would yield:
total_snapshots_taken_total & snapshots_taken_total which is nice as it still aligns with the ES API but feels like a mouthful.
Another option would be to go away from keeping parity with the API response and instead try and name these more descriptively to more clearly call out one is for overall totals and the other for policies?
There's also an argument that some of the total metrics could be removed in favour of just the policy metrics (as you can just sum them to get the same results they currently give), but for some users in large clusters they may not want the cardinality of per policy metrics and choose instead to just keep the totals in their scrape config.
Not sure what's best here? I'm leaning towards the first option of e.g. total_snapshots_taken_total & snapshots_taken_total

Made the relevant metrics counters now and suffixed appropriately, happy to review/change if you have any differing thoughts on the above though


MTG-6 Update ktlint to 0.47.1

What does this PR do?
Update Ktlint to 0.47.1
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #1091 (1323bec) into develop (3f38162) will decrease coverage by 0.07%.
The diff coverage is 86.67%.

@@             Coverage Diff             @@
##           develop    #1091      +/-   ##
===========================================
- Coverage    83.27%   83.20%   -0.07%
===========================================
  Files          273      273
  Lines         9348     9363      +15
  Branches      1503     1503
===========================================
+ Hits          7784     7790       +6
- Misses        1146     1150       +4
- Partials       418      423       +5

Impacted Files
Coverage Δ

...om/datadog/android/core/internal/utils/MapUtils.kt
100.00% <ø> (ø)

...g/android/rum/internal/domain/scope/RumEventExt.kt
93.20% <0.00%> (ø)

...ndroid/telemetry/internal/TelemetryEventHandler.kt
92.06% <80.00%> (+0.13%)
:arrow_up:

...kotlin/com/datadog/android/DatadogEventListener.kt
98.51% <100.00%> (ø)

...ore/internal/constraints/DatadogDataConstraints.kt
94.67% <100.00%> (ø)

...id/core/internal/data/upload/DataUploadRunnable.kt
100.00% <100.00%> (ø)

...l/net/info/BroadcastReceiverNetworkInfoProvider.kt
92.93% <100.00%> (ø)

.../android/core/internal/persistence/file/FileExt.kt
100.00% <100.00%> (ø)

...android/tracing/internal/utils/TracerExtensions.kt
100.00% <100.00%> (ø)

...droid/rum/tracking/FragmentViewTrackingStrategy.kt
82.61% <0.00%> (-4.35%)
:arrow_down:

... and 3 more


Cases or deaths as independent checkboxes?

[ ] Cases

[ ] Deaths

[ ] Both

It's useful to compare countries in terms of delay between cases and deaths...

    # shinyWidgets::switchInput(inputId = "show_both", label = "Show deaths alongside", labelWidth = "80%", value = FALSE, size = "mini", width = '100%'),

            # # show both cases and deaths simultaneously
            # if (input$show_both == TRUE) {
            #     p_temp = p_temp + geom_line(aes(x = days_after_100, y = deaths_sum), linetype = "dashed", alpha = .7) +
            #         ggrepel::geom_label_repel(aes(x = days_after_100, y = deaths_sum, label = name_end), show.legend = FALSE, segment.color = "grey", segment.size  = .3, alpha = .7)
            # }

With CFR this is not needed.


Document supported versions

Thank you for building these instrumentation libraries!
When looking at the instrumentation libraries in https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node, I found it very useful to see the supported versions listed for each library (i.e., the versions of foo supported by @opentelemetry/instrumentation-foo).
Would it be possible to add something similar to the libraries in this repo? I'm especially curious if the Mongoose instrumentation supports Mongoose v6.

Hi @punya
Thank you for your interest. I too think it could be great to add this information to the README.
Would you be interested in contributing a PR that adds this info?
The mongoose instrumentation will soon be upstreamed to the contrib repo, so I can also add this info when migrating the code there.

I don't know what versions are supported, so I'm not sure how I'd make that PR!

upstream the instrumentation to contrib repo, with test-all-version, support for v6 and documentation in README
https://github.com/open-telemetry/opentelemetry-js-contrib/pull/1131
Thanks for bringing it up :)


[main] Upgrade to latest dependencies

release 1.14 -dsimansk
/cc knative-extensions/eventing-writers
/assign knative-extensions/eventing-writers
Produced by: knative-extensions/knobots/actions/update-deps

/approve
/lgtm


Swiper is causing maximum DOM nesting problem and making website performance slow, can you tell me what causing it?

Check that this is really a bug

[X] I confirm

Reproduction link
NA
Bug description
NA
Expected Behavior
NA
Actual Behavior
NA
Swiper version
7.0.0
Platform/Target and Browser Versions
Google Chrome
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[X] I'm willing to open a PR

Your issue is closed because it is not filled correctly. Before you open an issue please review the contributing guideline.
Please fill the issue template correctly and:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with isssue

It will save a lot of time for other contributors to check your issue and fix it.


How to manage connection object with sessions

I am trying to keep the connection object within a session, so I am doing that:
 session.connection = nodeAxosoft(client_url, user_credentials);
      var token = session.connection.Api.exchangeCodeForToken(axosoft_code, function(err,response){
        if(!err){
          resolve(response)
       ...

then the console.log(session.connection) outputs all the Api methods.
 connection:
   { VERSION: '2.3.0',
     Api:
      { register: [Function: register],
        getVersion: [Function: getVersion],
        handleRestRequest: [Function: handleRestRequest],
        getLoginUrl: [Function: getLoginUrl],
        exchangeCodeForToken: [Function: exchangeCodeForToken],
        getAccessToken: [Function: getAccessToken],
        setAccessToken: [Function: setAccessToken],
        deleteAccessToken: [Function: deleteAccessToken] },
     Activity: { get: [Function: get] },
     Attachments:
      { get: [Function: get],
        getData: [Function: getData],
        update: [Function: update],
        delete: [Function: delete] },
     Comments: { delete: [Function: delete] },

Once I try another request,
the console.log(session.connection) outputs the Api methos but all empty:
{ VERSION: '2.3.0',
  Api: {},
  Activity: {},
  Attachments: {},
  Comments: {},
  Contacts: {},
  Customers: {},
  Defects: {},

Can anyone give me an example of how to do it or what could I be doing wrong?

I'm not too familiar with node sessions (express I'm assuming?) but my guess is that the object is serialized as plain JSON so it would lose anything that isn't valid JSON, such as functions.
A potential workaround might be to save just the access token in the session instead of the whole connection, and create a connection object using the access token if it exists.
For example:
var connection;
if (session.axosoftAccessToken) {
  var credentials = { access_token: session.axosoftAccessToken };
  connection = nodeAxosoft(client_url, credentials);
} else {
  connection = nodeAxosoft(client_url, user_credentials);
  connection.Api.exchangeCodeForToken(axosoft_code, function(err, response) {
    if (!err) {
      session.axosoftAccessToken = response;
    }
  });
}

Thank you. It worked perfectly.


BUG report: planner bucket add --ownedGroupName returns wrong data

Description
Most planner commands use the --ownedGroupName option to return values based on Group DisplayName.
If you have multiple groups with the same displayName, the command will take the first group it finds and return the plans or not. This might be misleading compared to other commands where we return an error message if multiple matches have been found.
Check related issue #3053
Expected results
The CLI should return the error message that there are multiple Groups with the same displayname and that the user should choose from one of these by id.
Actual results
Takes the first group it finds and returns the results

Hello,
Can I work on this?

All yours @SmitaNachan 👍🏻
Thank you for your support ❤

Hi @SmitaNachan ,
@Abderahman88 is working on this problem on the original issue. Would it make sense to align with @Abderahman88  before proceeding here? We could avoid double work. Same holds for @nanddeepn that would like to pick up another similar issue on #3075.
Just let me know your preference.
Cheers

@plamber @SmitaNachan @nanddeepn Yes, I'm working on the issue. To avoid double work, it's better to assign the other issues on my name or put them on hold.

Hi @Abderahman88
I too have started working on it.

Hi @Abderahman88, @nanddeepn,
I am going to put these issues on hold for now. Once the PR of @Abderahman88 is merged we can continue with the work. Let's keep the items assigned as they are for now.
Cheers

I think this issue is covered when #3267 completes.


Make BotIcons optional.

Should fix #4

Ok. This is better :)

I don't think that time package failure is due to this merge request.

@mpickering what is needed to get this merged? Would fix @dtchepak's issue as well. no?


Template Bind all the Properties

Template Bind all the Properties
Problem Statement
Developers want to easily change common properties on controls or item templates like Foreground, Background, BorderBrush, BorderThickness, Margin, Padding, CornerRadius, FontSize, FontFamily, Horizontal/Vertical[Content]Alignment etc...
The common XAML pattern is to do this with the property of the control and for XAML control templates to use template binding to enable that.
The Issue
It seems to be a common issue I'm seeing all the time now across how the current control templates have been redone in WinUI. There are many resources exposed from controls which is great, but instead of setting them in the Style for the component they're being used directly. Instead, they should be used in the Style as a Setter and then referenced using TemplateBinding within the control's template.
For instance, CornerRadius on GridViewItem isn't using TemplateBinding here (among other properties here which should be template bound):
https://github.com/microsoft/microsoft-ui-xaml/blob/e59614ebda2fad608b5eed0967ffd890f6316385/dev/CommonStyles/GridViewItem_themeresources_21h1.xaml#L177
Without this, folks either have to re-template the entire control (if there is no resource available) or try and override the resource, though there is a common issue with StaticResource not respecting overrides compared to ThemeResource (don't know if there's a tracking issue, #5457 seemed the closest?), so that doesn't always work.
Solution
This issue is requesting an overall audit across the entire set of styles to fix these issues now before they get reported by customers. As well, guidance for new controls during creation and review should audit these best practices like template binding and template naming so they can maintain a high-standard for enabling the customization XAML provides as a system to developers.
Without controls maintaining these patterns, the benefits of the XAML Styling system are diminished.
Related existing Issues reporting this same issue

#1925
#3047 (closed incorrectly, still an issue)
#3084
#3736
#4046
#4815
#7127
#7208

Other General Style Issues for Audit

(not sure if it was resolved with the style revamp) #924
#3735

Another scenario which just came up in the UWP Discord
AppBarButton doesn't support centering its Icon content when made larger:

No template binding here in template:
https://github.com/microsoft/microsoft-ui-xaml/blob/318b036fe05a1d0ea57b6762a60b9f6877bde769/dev/CommonStyles/AppBarButton_themeresources.xaml#L408-L416

Think I found another case to be audited with this, this time from ContentDialog and CornerRadius.
It properly sets up the template binding pattern here:
https://github.com/microsoft/microsoft-ui-xaml/blob/cb398934eb0d0a6812df0dca45dcab67fe466cb9/dev/CommonStyles/ContentDialog_themeresources.xaml#L80
But then fails to use it consistently in the template, it only does it in one spot instead of both:
https://github.com/microsoft/microsoft-ui-xaml/blob/cb398934eb0d0a6812df0dca45dcab67fe466cb9/dev/CommonStyles/ContentDialog_themeresources.xaml#L238-L256
L256 should be using the TemplateBinding so if the value is directly overridden by the developer that it'll get picked up instead of the resource/default value.
FYI @ranjeshj

Bumping, based on https://github.com/microsoft/microsoft-ui-xaml/discussions/8638
This is something I know there's a lot of issues that get filed on.

If the Indentation of NavigationViewItems as they are nested within other items - could be taken out of the code, and made into a Resource value - this would also be useful.

Another example is the HeaderStyle for Expander isn't exposed as a HeaderStyle type property on Expander and then template bound:
https://github.com/microsoft/microsoft-ui-xaml/blob/75f7666f5907aad29de1cb2e49405cc06d433fba/dev/Expander/Expander.xaml#L126-L137
This makes it hard to restyle the Header for an Expander without having to restyle the whole control itself, even if you want to leave the rest of the Expander template unchanged.

Just found another case of this with InfoBar and Padding... 😢
https://github.com/microsoft/microsoft-ui-xaml/blob/75f7666f5907aad29de1cb2e49405cc06d433fba/dev/InfoBar/InfoBar.xaml#L115
This should be template bound to the padding property of the control (which does nothing currently) and then the resource set in the style bound to the Padding property as the default value.