Rockpi 4B+ Bluetooth not discovering devices

Describe the issue you are experiencing
Version tested:
11.4 and now upgrade to 12.2
Description:
Bluetooth is not discovering any devices. The hardware bridge is showing up. WIFI is working and shows access points.
What operating system image do you use?
rockpi-4b-plus
What version of Home Assistant Operating System is installed?
12.4
Did you upgrade the Operating System.
Yes
Steps to reproduce the issue
1.Install HAOS
2.Search for BT devices
Anything in the Supervisor logs that might be useful for us?
-

Anything in the Host logs that might be useful for us?
2024-04-25 22:08:01.341 homeassistant bluetoothd[489]: Path /org/bleak/67/281472178047472 reserved for Adv Monitor app :1.43
2024-04-25 22:08:26.634 homeassistant bluetoothd[489]: Path /org/bleak/67/281472178047472 removed along with Adv Monitor app :1.43
2024-04-25 22:08:26.646 homeassistant bluetoothd[489]: Path /org/bleak/67/281472178645472 reserved for Adv Monitor app :1.43
2024-04-25 22:09:56.662 homeassistant bluetoothd[489]: Path /org/bleak/67/281472178645472 removed along with Adv Monitor app :1.43
2024-04-25 22:09:59.508 homeassistant bluetoothd[489]: Path /org/bleak/67/281472175571808 reserved for Adv Monitor app :1.43
2024-04-25 22:11:56.665 homeassistant bluetoothd[489]: Path /org/bleak/67/281472175571808 removed along with Adv Monitor app :1.43
2024-04-25 22:11:56.701 homeassistant kernel: Bluetooth: hci0: Opcode 0x200c failed: -112
2024-04-25 22:11:56.702 homeassistant kernel: Bluetooth: hci0: Unable to disable scanning: -112
2024-04-25 22:11:56.702 homeassistant kernel: Bluetooth: hci0: stop background scanning failed: -112
2024-04-25 22:11:59.412 homeassistant bluetoothd[489]: Path /org/bleak/67/281472307504176 reserved for Adv Monitor app :1.43
2024-04-25 22:13:56.674 homeassistant bluetoothd[489]: Path /org/bleak/67/281472307504176 removed along with Adv Monitor app :1.43
2024-04-25 22:13:56.738 homeassistant kernel: Bluetooth: hci0: Opcode 0x200c failed: -112
2024-04-25 22:13:56.739 homeassistant kernel: Bluetooth: hci0: Unable to disable scanning: -112
2024-04-25 22:13:56.739 homeassistant kernel: Bluetooth: hci0: stop background scanning failed: -112
2024-04-25 22:13:59.418 homeassistant bluetoothd[489]: Path /org/bleak/67/281472676466480 reserved for Adv Monitor app :1.43
2024-04-25 22:15:56.679 homeassistant bluetoothd[489]: Path /org/bleak/67/281472676466480 removed along with Adv Monitor app :1.43
2024-04-25 22:15:56.711 homeassistant kernel: Bluetooth: hci0: Opcode 0x200c failed: -112
2024-04-25 22:15:56.712 homeassistant kernel: Bluetooth: hci0: Unable to disable scanning: -112
2024-04-25 22:15:56.712 homeassistant kernel: Bluetooth: hci0: stop background scanning failed: -112
2024-04-25 22:15:59.416 homeassistant bluetoothd[489]: Path /org/bleak/67/281472175582224 reserved for Adv Monitor app :1.43
2024-04-25 22:16:42.293 homeassistant dockerd[581]: 2024/04/25 22:16:42 http: superfluous response.WriteHeader call from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.(*respWriterWrapper).WriteHeader (wrap.go:98)
2024-04-25 22:16:42.462 homeassistant dockerd[581]: 2024/04/25 22:16:42 http: superfluous response.WriteHeader call from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.(*respWriterWrapper).WriteHeader (wrap.go:98)
2024-04-25 22:16:50.147 homeassistant kernel: kauditd_printk_skb: 5 callbacks suppressed
2024-04-25 22:16:50.148 homeassistant kernel: audit: type=1334 audit(1714083410.128:216): prog-id=60 op=LOAD
2024-04-25 22:16:50.155 homeassistant systemd-timesyncd[1413]: Network configuration changed, trying to establish connection.
2024-04-25 22:16:50.229 homeassistant systemd-timesyncd[1413]: Contacted time server <IP_ADDRESS>:123 (<IP_ADDRESS>).
2024-04-25 22:16:50.230 homeassistant systemd[1]: Started Journal Gateway Service.

System information
No response
Additional information
Device Info
Unknown
by AMPAK Technology,Inc.
Firmware: homeassistant
Hardware: usb:v1D6Bp0246d0548
Bluetooth: 08:FB:EA:E0:74:09

What exactly did you mean with 2.Search for BT devices?
Can you try installing the Terminal add on and running bluetoothctl?

What does the kernel log look like with 12.4?
dmesg | grep -i bluetooth
and
journalctl | grep -i bluetooth
Also, do you have any addon installed that uses bluetooth? Please disable anything that could interfere for testing. In the bluetoothctl log it looks like the controller is continuously toggled on and off?

Search for BT device means bluetoothctl & menu scan.
I did a regression test using original RADXA images and to ensure it is not a hardware error on my side.
RADXA Buster (2022) works and shows BT devices
RADXA Bullseye (2023) fails with a BT error message (initialization error) during boot
Output with haos_rockpi-4b-plus-12.2.dev20240414.img.xz will follow.

➜  ~ bluetoothctl
Agent registered
hci0 new_settings: powered bondable ssp br/edr le secure-conn
[CHG] Controller 08:FB:EA:E0:74:09 Pairable: yes
AdvertisementMonitor path registered
hci0 type 6 discovering off
[CHG] Controller 08:FB:EA:E0:74:09 Discovering: no
hci0 class of device changed: 0x000000
hci0 new_settings: bondable ssp br/edr le secure-conn
[CHG] Controller 08:FB:EA:E0:74:09 Class: 0x00000000 (0)
[CHG] Controller 08:FB:EA:E0:74:09 Powered: no
[CHG] Controller 08:FB:EA:E0:74:09 Discovering: no
[CHG] Controller 08:FB:EA:E0:74:09 PowerState: on
hci0 class of device changed: 0x6c0000
[CHG] Controller 08:FB:EA:E0:74:09 Class: 0x006c0000 (7077888)
hci0 name changed: homeassistant
hci0 new_settings: powered bondable ssp br/edr le secure-conn
[CHG] Controller 08:FB:EA:E0:74:09 Powered: yes
[bluetooth]#
hci0 type 6 discovering on
[CHG] Controller 08:FB:EA:E0:74:09 Discovering: yes
hci0 type 6 discovering off
hci0 type 6 discovering on
hci0 type 6 discovering off
hci0 type 6 discovering o

➜  ~ dmesg | grep -i bluetooth
[    9.069220] Bluetooth: Core ver 2.22
[    9.078404] Bluetooth: Starting self testing
[    9.137487] Bluetooth: ECDH test passed in 19275 usecs
[    9.171725] Bluetooth: SMP test passed in 1869 usecs
[    9.188462] Bluetooth: Finished self testing
[    9.199144] NET: Registered PF_BLUETOOTH protocol family
[    9.207538] Bluetooth: HCI device and connection manager initialized
[    9.215528] Bluetooth: HCI socket layer initialized
[    9.221306] Bluetooth: L2CAP socket layer initialized
[    9.226994] Bluetooth: SCO socket layer initialized
[    9.371870] Bluetooth: HCI UART driver ver 2.3
[    9.385948] Bluetooth: HCI UART protocol H4 registered
[    9.385953] Bluetooth: HCI UART protocol BCSP registered
[    9.392934] Bluetooth: HCI UART protocol LL registered
[    9.401382] Bluetooth: HCI UART protocol ATH3K registered
[    9.409655] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    9.439565] Bluetooth: HCI UART protocol Intel registered
[    9.473534] Bluetooth: HCI UART protocol Broadcom registered
[    9.484325] Bluetooth: HCI UART protocol QCA registered
[    9.490243] Bluetooth: HCI UART protocol AG6XX registered
[    9.490264] Bluetooth: HCI UART protocol Marvell registered
[    9.865885] Bluetooth: hci0: BCM: chip id 130
[    9.871370] Bluetooth: hci0: BCM: features 0x0f
[    9.879116] Bluetooth: hci0: BCM4345C5
[    9.888783] Bluetooth: hci0: BCM4345C5 (003.006.006) build 0000
[   22.677445] Bluetooth: hci0: BCM4345C5 'brcm/BCM4345C5.hcd' Patch
[   23.847432] Bluetooth: hci0: BCM: features 0x0f
[   23.855761] Bluetooth: hci0: BCM43456 37.4MHz Raspberry Pi BT5.0 [Version: 1052.1108]
[   23.864622] Bluetooth: hci0: BCM4345C5 (003.006.006) build 1108
[   32.936363] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   32.936395] Bluetooth: BNEP filters: protocol multicast
[   32.936421] Bluetooth: BNEP socket layer initialized
[   32.943264] Bluetooth: MGMT ver 1.22
[  100.009151] Bluetooth: RFCOMM TTY layer initialized
[  100.009212] Bluetooth: RFCOMM socket layer initialized
[  100.009270] Bluetooth: RFCOMM ver 1.11

journalctl gives command not found.
During installation of HAOS i checked bluetoothctl via the terminal and it showed some devices. So my assumptions that it is a not a low-level driver issue.
config_entry-bluetooth-5c7b1f87d891c7a3f50abbfe80241527.json

After a longer journey enabling SSH here is the output of journalctl:
May 01 11:03:02 homeassistant kernel: Bluetooth: Core ver 2.22
May 01 11:03:02 homeassistant kernel: Bluetooth: Starting self testing
May 01 11:03:03 homeassistant kernel: Bluetooth: ECDH test passed in 15142 usecs
May 01 11:03:03 homeassistant kernel: Bluetooth: SMP test passed in 11321 usecs
May 01 11:03:03 homeassistant kernel: Bluetooth: Finished self testing
May 01 11:03:03 homeassistant kernel: NET: Registered PF_BLUETOOTH protocol family
May 01 11:03:03 homeassistant kernel: Bluetooth: HCI device and connection manager initialized
May 01 11:03:03 homeassistant kernel: Bluetooth: HCI socket layer initialized
May 01 11:03:03 homeassistant kernel: Bluetooth: L2CAP socket layer initialized
May 01 11:03:03 homeassistant kernel: Bluetooth: SCO socket layer initialized
May 01 11:03:03 homeassistant kernel: Bluetooth: HCI UART driver ver 2.3
May 01 11:03:03 homeassistant kernel: Bluetooth: HCI UART protocol H4 registered
May 01 11:03:03 homeassistant kernel: Bluetooth: HCI UART protocol BCSP registered
May 01 11:03:03 homeassistant kernel: Bluetooth: HCI UART protocol LL registered
May 01 11:03:03 homeassistant kernel: Bluetooth: HCI UART protocol ATH3K registered
May 01 11:03:03 homeassistant kernel: Bluetooth: HCI UART protocol Three-wire (H5) registered
May 01 11:03:03 homeassistant kernel: Bluetooth: HCI UART protocol Intel registered
May 01 11:03:03 homeassistant kernel: Bluetooth: HCI UART protocol Broadcom registered
May 01 11:03:03 homeassistant kernel: Bluetooth: HCI UART protocol QCA registered
May 01 11:03:03 homeassistant kernel: Bluetooth: HCI UART protocol AG6XX registered
May 01 11:03:03 homeassistant kernel: Bluetooth: HCI UART protocol Marvell registered
May 01 11:03:03 homeassistant kernel: Bluetooth: hci0: BCM: chip id 130
May 01 11:03:03 homeassistant kernel: Bluetooth: hci0: BCM: features 0x0f
May 01 11:03:03 homeassistant kernel: Bluetooth: hci0: BCM4345C5
May 01 11:03:03 homeassistant kernel: Bluetooth: hci0: BCM4345C5 (003.006.006) build 0000
May 01 11:03:03 homeassistant kernel: Bluetooth: hci0: BCM4345C5 'brcm/BCM4345C5.hcd' Patch
May 01 11:03:04 homeassistant kernel: Bluetooth: hci0: BCM: features 0x0f
May 01 11:03:04 homeassistant kernel: Bluetooth: hci0: BCM43456 37.4MHz Raspberry Pi BT5.0 [Version: 1052.1108]
May 01 11:03:04 homeassistant kernel: Bluetooth: hci0: BCM4345C5 (003.006.006) build 1108
May 01 11:03:07 homeassistant systemd[1]: Mounting Bluetooth persistent state...
May 01 11:03:07 homeassistant systemd[1]: Mounted Bluetooth persistent state.
May 01 11:03:10 homeassistant (uetoothd)[491]: bluetooth.service: ConfigurationDirectory 'bluetooth' already exists but the mode is different. (File system: 755 ConfigurationDirectoryMode: 555)
May 01 11:03:10 homeassistant systemd[1]: Starting Bluetooth service...
May 01 11:03:10 homeassistant bluetoothd[491]: Bluetooth daemon 5.72
May 01 11:03:10 homeassistant bluetoothd[491]: Starting SDP server
May 01 11:03:10 homeassistant kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
May 01 11:03:10 homeassistant kernel: Bluetooth: BNEP filters: protocol multicast
May 01 11:03:10 homeassistant kernel: Bluetooth: BNEP socket layer initialized
May 01 11:03:10 homeassistant bluetoothd[491]: Bluetooth management interface 1.22 initialized
May 01 11:03:10 homeassistant bluetoothd[491]: src/adapter.c:reset_adv_monitors_complete() Failed to reset Adv Monitors: Failed (0x03)
May 01 11:03:10 homeassistant bluetoothd[491]: Battery Provider Manager created
May 01 11:03:10 homeassistant kernel: Bluetooth: MGMT ver 1.22
May 01 11:03:11 homeassistant systemd[1]: Started Bluetooth service.
May 01 11:03:11 homeassistant bluetoothd[491]: profiles/audio/bap.c:bap_adapter_probe() BAP requires ISO Socket which is not enabled
May 01 11:03:11 homeassistant bluetoothd[491]: bap: Operation not supported (95)
May 01 11:03:11 homeassistant bluetoothd[491]: Failed to clear UUIDs: Failed (0x03)
May 01 11:03:11 homeassistant bluetoothd[491]: Failed to add UUID: Failed (0x03)
May 01 11:03:11 homeassistant bluetoothd[491]: Failed to add UUID: Failed (0x03)
May 01 11:03:11 homeassistant bluetoothd[491]: Failed to add UUID: Failed (0x03)
May 01 11:03:11 homeassistant bluetoothd[491]: Adv Monitor Manager created with supported features:0x00000000, enabled features:0x00000000, max number of supported monitors:32, max number of supported patterns:16
May 01 11:03:11 homeassistant systemd[1]: Reached target Bluetooth Support.
May 01 11:03:18 homeassistant systemd[1]: Remove Bluetooth cache entries was skipped because of an unmet condition check (ConditionPathExistsGlob=/var/lib/bluetooth/*/cache).
May 01 11:04:00 homeassistant bluetoothd[491]: Endpoint registered: sender=:1.34 path=/MediaEndpoint/A2DPSink/sbc
May 01 11:04:00 homeassistant kernel: Bluetooth: RFCOMM TTY layer initialized
May 01 11:04:00 homeassistant kernel: Bluetooth: RFCOMM socket layer initialized
May 01 11:04:00 homeassistant kernel: Bluetooth: RFCOMM ver 1.11
May 01 11:04:00 homeassistant bluetoothd[491]: Endpoint registered: sender=:1.34 path=/MediaEndpoint/A2DPSource/sbc
May 01 11:04:00 homeassistant bluetoothd[491]: Endpoint registered: sender=:1.34 path=/MediaEndpoint/A2DPSink/sbc_xq_453
May 01 11:04:00 homeassistant bluetoothd[491]: Endpoint registered: sender=:1.34 path=/MediaEndpoint/A2DPSource/sbc_xq_453
May 01 11:04:00 homeassistant bluetoothd[491]: Endpoint registered: sender=:1.34 path=/MediaEndpoint/A2DPSink/sbc_xq_512
May 01 11:04:00 homeassistant bluetoothd[491]: Endpoint registered: sender=:1.34 path=/MediaEndpoint/A2DPSource/sbc_xq_512
May 01 11:04:00 homeassistant bluetoothd[491]: Endpoint registered: sender=:1.34 path=/MediaEndpoint/A2DPSink/sbc_xq_552
May 01 11:04:00 homeassistant bluetoothd[491]: Endpoint registered: sender=:1.34 path=/MediaEndpoint/A2DPSource/sbc_xq_552

Fully disabling the bluetooth integration (removing default_config from configuration.yaml), there still is the same effect in bluetoothctl with the alternating "scan on/scan off"

Thanks for the logs! Looks like it's working for two minutes and then decoded to power cycle the adapter.
2024-05-01 13:57:57.169 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Power state of bluetooth adapter hci0 [08:FB:EA:E0:74:09] is ON after power cycle
2024-05-01 13:59:55.813 DEBUG (MainThread) [bluetooth_auto_recovery.recover] Attempting to recover bluetooth adapter hci0 with mac address 08:FB:EA:E0:74:09

It sounds an awful lot like this issue which was widespread after the upgrade to HAOS 10: https://github.com/home-assistant/core/issues/92379
However, the underlying issue in the kernel is long fixed (in 6.1.57 / HAOS 11.1; was patched in earlier versions) and I don't know of any recent issues similar to it.
It's very strange that you seem to be the only one experiencing this.
The fact that it also fails on Bullseye which should be an old 5.x kernel makes it even more confusing, but maybe that is unrelated.


add package sanity check

Codecov Report
Patch and project coverage have no change.

Comparison is base (9c5611a) 90.93% compared to head (e8a2a6f) 90.93%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #501   +/-   ##
=======================================
  Coverage   90.93%   90.93%
=======================================
  Files          10       10
  Lines        2967     2967
=======================================
  Hits         2698     2698
  Misses        269      269

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


WebViewManager.bridgeSetup is not a function

Hi alinz,
I use the version react-native ^0.12.0, but I have a problem similar with #12 .
Here is my settings and testing code, is there any details may I have missed?

'use strict';

var React = require('react-native');
var WebViewBridgeNative = require('react-native-webview-bridge');

var myPageScripts = function() {
  function WebViewBridgeReady(cb) {
    if (window.WebViewBridge) {
      cb(window.WebViewBridge);
      return;
    }
    function handler() {
      document.removeEventListener('WebViewBridge', handler, false);
      cb(window.WebViewBridge);
    }
    document.addEventListener('WebViewBridge', handler, false);
  }
  WebViewBridgeReady(function (WebViewBridge) {
    WebViewBridge.send("Hello this is me calling from web page");
  });
};

//convert function definition into string
myPageScripts = `(${myPageScripts.toString()}());`;

var {
  AppRegistry,
  Component
} = React;

class testingBridge extends Component {
  constructor(props) {
    super(props);
    this.once = true;
  }

  componentDidMount() {
    var myWebViewBridgeRef = this.refs.myWebViewBridge;

    var onMessage = function(message) {
      console.log("Received message", message);
    };
    myWebViewBridgeRef.onMessage(onMessage);

    myWebViewBridgeRef.injectBridgeScript();

    //this opens up the printer window dialoge
    setTimeout(() => {
      myWebViewBridgeRef.print();
    }, 5000);
  }

  onNavigationStateChange(navState) {
    var myWebViewBridgeRef = this.refs.myWebViewBridge;
    if (this.once) {
      this.once = false;
      setTimeout(() => {
        myWebViewBridgeRef.evalScript(myPageScripts);
      }, 1000);
    }

    console.log(navState.url);
  }

  render() {
    var url = 'http://google.com';

    return (
      <WebViewBridgeNative
        ref="myWebViewBridge"
        onNavigationStateChange={this.onNavigationStateChange.bind(this)}
        url={url}
        style={{flex: 1}}/>
    );
  }
}

AppRegistry.registerComponent('testingBridge', () => testingBridge);

After I pull all the dependency files out of the upper directory, it work well.

that doesn't look a good solution though. Ideally react-native-webview-bridge should provide an xcodeproj project like in all other react-native lib

@gre OK, I've heard you :P, I have updated the project to support that. Enjoy! :beer:

:+1: awesome

Had the same issues even thought I followed the instructions in Linking Libraries as it was my first react-native project and didn't have a clue where to begin.
I realised that the this library didn't build properly so I commented out the code that didn't work. In this case RCTLogMustFix().
(Running react-native 0.15.0 within Xcode 7.1).


Not importing blank columns

I have a spreadsheet template for financial information where not all columns/fields are required.  I found yesterday that any blank column past the last column with data in it did not show up in the query.   Moving those two columns to the beginning, so the last column had data imported them all, blanks included which is fine.  I can deal with blank data, but missing column names are a pain.  Is there a way to get around this?  I was using the read() method and all I saw was a flag regarding hidden columns.

Yes, I can replicate that and it's definitely a bug. If you specify a header row when reading a sheet then each header value should result in a query column regardless of whether the result of the column contains any values.
Thanks for reporting.
Fix coming right up....

Please could you test with develop and re-open if it's not working as you expect. Thanks.


The .NET CLI did not correctly restore debugger files.

Steps to reproduce

Installed latest version of vscode

Install latest version of c# extension

When opening an aspnet core project, vscode tries to install .net core debugger, but failing:

Expected  behavior
Debugger should be installed successfully.
Actual behavior
Debugger not installing on windows 7
Environment data
dotnet --info output:
.NET Command Line Tools (1.0.0-rc2-002374)
Product Information:
Version:     1.0.0-rc2-002374
Commit Sha:  f82da07fc4
Runtime Environment:
OS Name:     Windows
OS Version:  6.1.7601
OS Platform: Windows
RID:         win7-x64

Your version of the .NET CLI is out of date. Please uninstall your current CLI through Add/Remove programs and install the RC2 CLI from here.

I have installed from the same location, but the version isn't being updated. I have removed the dotnet cli from add/remove programs and then did a fresh install. After I have uninstalled it doesn't recognize the dotnet in the command prompt anymore, and when I install it again, it doesn't upgrade the version. Even strange thing is that from same installer location I have instaled on windows 10 machine and it show sthe correct version as below:

The only other existence on windows 7 machine is that I have updated the visual studio tooling to RC2 as well.
How can I cleanly install to reflect the correct cli version on windows 7 where I am having issue?
Thanks

@asadsahi I might suggest asking on https://github.com/dotnet/cli

Thanks @gregg-miskelly & @chuckries

this was causing the issue. Old version keeps itself even removed using add/remove programs and dotnet command line was picking up old version, manually deleted the old version directory and it works as expected.


Not able to reach Uptime-Kuma with PiVPN on same machine

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
Uptime-Kuma works really well. After I installed PiVPN (with Wireguard) on the same machine I can not reach the website from my internal network and not on the same machine. pm2 monit looks good. No error messages when restarting Uptime-Kuma.
I am new to PiVPN. Not sure if this is blocking the local port 3001. But I have not found anything how to open a single port on this machine (not the router) for local use.
Can anybody give me a hint?
Thanks a lot
🐻 Uptime-Kuma Version
1.17.1
💻 Operating System and Arch
Debian Buster 10.12
🌐 Browser
Safari 15.5 and Chrome 104.0.5112.79
🐋 Docker Version
No response
🟩 NodeJS Version
18.6.0

I can't find any indication in PiVPN that it is using port 3001. You can check which process is currently using the port (guide).

I can't find any indication in PiVPN that it is using port 3001. You can check which process is currently using the port (guide).

Thanks for the hint. Did some research and have seen that nothing is listening on port 3001. Tried to stop and restart but without success. I renamed the Uptime-Kuma folder and installed it new from scratch (did not had so much devices set up yet) and everything worked well. Not sure what happened but everything is up again.


Please could you describe the inventory?

Hi,
The playbooks contains hosts not described on the WIKI.
Please could you descibe the inventory to start using this collection?
Best regards

Can you give me the link to the WIKI ? I am not aware of its existence.
We are currently in a discussion to refactor tdp-getting-started in https://github.com/orgs/TOSIT-IO/discussions/30. I think we will provide inventory sample to start with the collection.
I can give you example how at DGFiP we configure inventories.


org.brotli:dec:0.1.2 appears as ${project.groupId}:${project.artifactId}

Hi, thank you for the plugin, it works quite well.
I noticed a few things that are related to maven poms, eg with the following dependency org.brotli:dec:0.1.2 the resulting name is this string ${project.groupId}:${project.artifactId} (0.1.2):

The pom us indeed <name>${project.groupId}:${project.artifactId}</name>, I don't think gradle can understand that, but maybe there's a way to perform simple substitutions, like for groupId and artifactId ?

Thanks for the fix!

thanks for reporting, it's released under https://github.com/cloudflightio/license-gradle-plugin/releases/tag/1.2.0


Docker Hub repository name
scoritz/runblade-extension
Terms of services

[x] I accept the term of services

@benja-M-1 the workflow reports that I've not checked the terms of service?

Hi @scoritz, indeed there is an issue. I don't know what is happening yet, locally I manage to have the right result... I'll debug it. In the meantime, I will add the label manually

/validate

Arf, unfortunately, it didn't work as I expected... Sorry for that @scoritz I'll try to have it solved by today.

@benja-M-1 no worries, much appreciated! 👍

@benja-M-1 any luck, anything I can do to help? let me know

@scoritz I tested the extension! That's great! I love it :) Thanks!
It will be publish in the next hour 👍

@benja-M-1 Thanks so much, appreciate the feedback


Prepare the NDVI 1km V2.2 Global dataset

The data is only provided in a NetCDF(.nc) format. Download and change the data set to .img format

The data was downloaded with FileZilla through there ftp service (155 GB), ranging from 19980401 to 20180301, organized per folder for each sample. Only  NC files were collected and organized in another dataset.
The  files contain two data sets:
-NDVI
-TIMEGRID
The NDVI set was extracted and cropped only for the usa region:
gdal_translate -of ENVI -projwin -126 48.5 -66.88 25 NETCDF:"test.nc":NDVI test2.img
This would generate envi format files: .xml, .img, .hdr
The final set results in 12,8 GB


[github] Add github-actions to dependabot

Coverage remained the same at 93.333% when pulling 661832547a60a157e24a06adc1c5178e69cdae42 on hazendaz:master into 6bd093477dbe6c9446c0f94794d1a8c5c91e3468 on mybatis:master.


python37Packages.Nuitka: 0.6.2 -> 0.6.3

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-nuitka/versions.
meta.description for python37Packages.Nuitka is: '"Python compiler with full language support and CPython compatibility"'.
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 0.6.3 with grep in /nix/store/5sr8zdq42xsnk889gfk5z6dijhwppf67-python3.7-Nuitka-0.6.3
directory tree listing: https://gist.github.com/619eac9e98d4cc8acfdfa3cdd44dba17
du listing: https://gist.github.com/ee83d696eaacb07e5d61db5b0de718d4

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)
2 package rebuild(s)
2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
python27Packages.Nuitka
python37Packages.Nuitka

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5sr8zdq42xsnk889gfk5z6dijhwppf67-python3.7-Nuitka-0.6.3 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python37Packages.Nuitka https://github.com/r-ryantm/nixpkgs/archive/765f6d323dbd93f08b8c36c8b090287ecb683709.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5sr8zdq42xsnk889gfk5z6dijhwppf67-python3.7-Nuitka-0.6.3
ls -la /nix/store/5sr8zdq42xsnk889gfk5z6dijhwppf67-python3.7-Nuitka-0.6.3/bin

nox-review builds for me non-nixos linux, x86_64. Executable appears to work.


Bug: Internal Server Error instead of a validation error on too long inputs

What are you trying to achieve?
When transaction event description or pspReference is above 512 characters, Internal Server Error is returned instead of some kind of validation error.
Steps to reproduce the problem
https://master.staging.saleor.cloud/graphql/#saleor/N4IgjiBcILYK4BcCGCCWB7AdgAgMICcBTFQgWSUziQBsAVfCgZyQGM0tckAHBOIgCgAk6fABNC+AJKjI2SQBEAhABpsgpDHRxMCWQAV0jVGgBuheYRaoYNFWpZ8imFgE9ZAZQT5UmAOZ3BcUYWbx4MTA8vH19VQS5GLgAlQgAzCUJnQkjvPwBKbGAAHRxsLyZWdkwCYgRCfmLsbFQZNRFxKVEG0oZMZjZw2WAEFy4s7EKQckoabBZuXiIJ1UZkXkZZCfc4FhZCRkYl7Hik1PTM2TiE5LSnXdUNLR1cAAskfF9CFuAH7V01H50qgc+FubnsjgyrgAvlCumVehVwgBRMw6QYrFBwdbYdwAVVwuCR7ncqmO1zOuwuZNOt0IqkwGjGgT2IVQYSwsMw+SKJUaEnwIkYBS6jUaKVQhGonV5opge2YHxFopY6HESs5hQQnM5IGUIHQUBA1RIUyodB6fUqnB4fEIupAJkNPMaE2BoImGxAuPc8iWXQmbQk0g94xAtAAzAApADWAC0ABqSABsAHl5ABFAAspBgiRgAE0YEiECmAOLpgAepBcAAYawA5WjUGAAGQA6pIGwArACCCHzXZY4dI8hYAEZG0ia6Ryy4-SUJgCECGx8p-SAgqz2ZgQxMa2OAEzhzMAViTAHYABwATiQACMWOIUvuj6eLzf74-Ui-j2er7eHyfH833-T8gMPX93wAr9nwgkCP0A784L-BCYOAlDoPA18MLApDsKg3DYPw0DEKIyCSLQ5CCNI9DqMo4jUKw8jGLw5jMNY+D2LIzjCNoiimJ4miqP4jicKEhiuL4ljuLE+i2N44TpKkyTFJUiSFPU0ikHnF0QGpG5IUIXcQGUjT5PE8y5MEqzZIE2zRLouzHIckSZOctzXNMizrKczzVLMnyXKU-zvPsjzgs0mz3K8qK-Mi3yIsshK1KSoKUsC8KuO0kBih1KEgA
What did you expect to happen?
Validation error.
Logs
No response
Environment
Saleor version: master.staging

API is missing validation and tries to put that value to DB without checking its length, while the DB field has a 512 chars limit. Sentry log: https://saleor.sentry.io/issues/4128212843/events/a5db9b6a7e8b4d8795507fce26c691f1/

@korycins Maybe it's a quick fix, can you take a look?

@korycins Maybe it's a quick fix, can you take a look?

@maarcingebala  I will handle this in the meantime

I'll take this one.


[terra-status-view] Add display block to SVG

Summary
Closes https://github.com/cerner/terra-core/issues/1847
The SVG's display attribute defaults to inline - this ignores height and width values, which makes the parent div's size inconsistent, intermittenly pushing text downward.
Setting display: block on the SVG fixes this. We have to regenerate reference screenshots for this change.

Tested: PR #2218
Reviewed:

resolves icon size consistency

Verified by @neilpfeiffer, Ready for Release.

Pass

UX Review


Implement overwrite in PageDoraWorker.rename()

What changes are proposed in this pull request?
I implement overwrite in pageDoraWorker.rename()
Why are the changes needed?
there is a  problem that overwrite can't be done while completing multipart upload if the object exists before. I implement overwrite in pageDoraWorker.rename() to make complete MPU behaves right.
Does this PR introduce any user facing changes?
none

@huanght1997 ptal, this PR will add a overwrite option in rename api, what's your opinion?

Please also check this:
https://github.com/Alluxio/alluxio/pull/18089


Travis CI install on latest version

Steps to reproduce
Tell us about your environment:

Puppeteer version: 4.0.0
Platform / OS version: ubuntu xenial (travis ci)
URLs (if applicable): https://travis-ci.com/github/benitogf/katamari-client/builds/176006756
Node.js version: 12

What steps will reproduce the problem?
the install script fails for any version above 2.1.1
Please include code that reproduces the issue.
the travis configuration:
language: go

os:
  - linux

go:
  - 1.14.x

addons:
  chrome: stable

services:
  - xvfb

install:
  - npm install

script:
  - npm test

Using either 4.0.0 or 3.2.0 the error is the same, downgrading to 2.1.1 pass the installation but fails to run
What is the expected result?
Would be nice to have an example on how to use on travis ci with the lastest version
What happens instead?
Couldn't find a workaround or some example

Does Running Puppeteer on Travis CI in the Troubleshooting document help? Anyway the provided link to the example .travis.yml is broken at the moment, if #6826 will be approved it will lead to the latest working Travis example, which is availble here: https://github.com/puppeteer/puppeteer/blob/v5.5.0/.travis.yml. May be useful for you.

Sorry not sure why the link is broken, maybe it requires login, here's the output when using 3.3.0

Will try it again with 5.5.0 and see how it goes, thanks!

@benitogf You're using an outdated Node.js version.


failed to run the example

I just can't make example run even I have added STPopup.framework to example project, I still hit the error "dyld: Library not loaded: @rpath/STPopup.framework/STPopup
Referenced from: /var/mobile/Containers/Bundle/Application/AB81B362-72D7-4305-8F42-C1AEEE1C0F49/STPopup.app/STPopup
Reason: image not found"
Why is that ?

This still happening with the latest clone. Works in the simulator though.


⚠ captana.io | API has degraded performance

In 86166ec, captana.io | API ($CAPTANAIO_API_BACKEND_CHECK) experienced degraded performance:

HTTP code: 200
Response time: 4089 ms

Resolved: captana.io | API performance has improved in 3ce4dcc after 7 minutes.


iOS build with Xcode 8 throws "Command xcodebuild failed with exit code 65"

Using the plugin to build a project with Xcode 8 is throwing due to:
=== BUILD TARGET MaterialCard OF PROJECT Pods WITH CONFIGURATION Debug ===

“Use Legacy Swift Language Version” (SWIFT_VERSION) is required
to be configured correctly for targets which use Swift.
Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift
version or use the Build Settings editor to configure the build setting directly.

And the project build via Xcode returns error:
ld: framework not found MaterialCard
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The pod file MaterialCard should be converted to SWIFT 3.0 and updated on the CocoaPods site in order for this plugin to work with XCode 8.

Thanks Nick. I have no clue about this iOS jazz :) I'll see if Walker can
fix that
On Mon, Sep 26, 2016, 8:59 AM Nick Iliev<EMAIL_ADDRESS>wrote:

The pod file MaterialCard https://github.com/NathanWalker/MaterialCard
should be converted to SWIFT 3.0 and updated on the CocoaPods site in order
for this plugin to work with XCode 8.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bradmartin/nativescript-cardview/issues/29#issuecomment-249577162,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFulhBbAXjlairUN5KLi_4CAtJsAd5liks5qt8-0gaJpZM4KCpcK
.

I was able to locally convert ti to Swift 3.0 and apply it to my test project the following way.

Open the Pod in XCode 8 ( _Pods.xcodeproj file )
Convert to Swift 3.0 (will prompt right away or Edit > Convert >> To Currrent Swift Syntax)

Now to apply the converted pod I had to add this in the plugin Podfile
pod 'MaterialCard', :local => "/Users/niliev/Desktop/test/MaterialCard" // I've changed this only to use my local coverted pod

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['SWIFT_VERSION'] = '3.0'
    end
  end
end

Still I am not pretty sure if this way will have backwards compatibility or maybe there is a most human way to force convertion

@NathanWalker  ^^^

as a workaround you can add this to app/AppResources/iOS/build.xconfig:
...
SWIFT_VERSION = 2.3

closes via https://github.com/bradmartin/nativescript-cardview/pull/31
Published Swift 3.0 compatibility with 1.2.0 👍


[SPARK-42265][SPARK-41820][CONNECT] Fix createTempView and its variations to work with not analyzed plans

What changes were proposed in this pull request?
Fixes createTempView and its variations to work with not analyzed plans.

createTempView
createOrReplaceTempView
createGlobalTempView
createOrReplaceGlobalTempView

Why are the changes needed?
Currently SparkConnectPlanner creates CreateViewCommand with isAnalyzed = true, but the child plan can be not-analyzed yet.
Does this PR introduce any user-facing change?
Users can run createTempView and its variations with not analyzed plans.
How was this patch tested?
Enabled the related tests.

Merged to master and branch-3.4.


Remove unneeded height from account

Depends on #1131 ~and #1148~ (~both~ included in this PR).
Delivers https://www.pivotaltracker.com/story/show/157308030
Please also review specification doc update at https://github.com/aeternity/protocol/pull/80

This PR includes release note for PR #1131 (cc @happi ) in commit:

Mention contracts state tree changes from PR 1131 in release notes

This PR includes some refactoring / clarifications preparatory for https://www.pivotaltracker.com/story/show/157214052 (move coinbase to header): changes are in separate commits and small though if they make review difficult please let me know and I will remove most of those commits.
Overview of commits:

Minor genesis-related refactoring. Commits:

Refactor height in genesis module
Clarify contribution of genesis to chain difficulty

Minor block state -related refactoring. Commits:

Remove unneeded external function call in state pre-transformation
Move chain insertion comment back close to the code it refers to
Clarify height type and value around state pre-transformations

A typo - commit "Fix typo in test comment"

Test improvement preparatory to removal of coinbase transaction. Commits:

Move aec_chain unit test re tx in multiple forks away from coinbase tx

Account height -related changes (focus of this PR). Commits:

Correct account height-related type
Remove unneeded height from account - MAIN COMMIT
Mention removal of height from account in release notes
Use fresh DB on environments for removal of height from account

TODO:

[x] Ensure CI passes.
[x] Rebase on master once PR #1132 is merged to master.
[ ] Rebase on master once PRs #1131 is merged to master.

This seems unavoidable as I expect #1131 to be merged with squashing.

[x] Remove commits re enabling Python UAT tests in this PR.

You can check run of Python UAT tests on CI in this CI workflow on 847480a0 that is equivalent to ef24ccc8 - notice that Python UAT tests passed there.

[ ] ~Remove commits re enabling aevm-tests in this PR~ Master now includes running aevm-tests in PR so no explicit item needed.
[x] Bump DB folder in environments - may need rebase for conflicts.
[x] Release note line.

@sennui @zp-sd For ease of review - either you check commit by commit following overview in PR description, or you check https://github.com/aeternity/epoch/compare/1a759efd...788afb47 (that will of course be invalid once I rebase on master later today).

I force-pushed update:

Rebased on recent contracts-accounts PR #1131 (actually #1148 that fixes Python UAT tests).
Fixed arity in a dozen or so invocations to aec_accounts:spend.
Removed a handful of aec_accounts:height checks in unit tests.
Added release notes line (will probably require rebase for conflicts).
Bumped DB folder (may require rebase for conflicts - I bumped by 2 for attempting to prevent conflict for missing bump in current PR 1131).
Removed commit enabling Python UAT tests in PR.

(For easing comparison, initial version of this PR was 788afb470dc136953f3908045c3e27317fbef1b3 )

It looks like there are conflicts for new PRs merged to master - I will rebase again and still include #1148 and force-push again.

It looks like there are conflicts for new PRs merged to master - I will rebase again and still include #1148 and force-push again.

Done.

I am keeping WIP label and assigned to me as waiting for CI runs (including run with UAT tests) to complete.

Now ready for review though please expect at least one rebase tomorrow.

Rebased on recent-master-with-recent-PR-1131-in-it and added, as first commit, release note for PR 1131. Will need to rebase again once 1131 merged.

Rebased on master now that #1131 merged.


Typo in error handling.

transporter/pkg/events/emitter.go
Case in "select" block as incorrect error handling. Should've been err != nil
ba, err := event.Emit()
if err != err {
log.Printf("EventEmitter Error: %s", err)
return
}

fixed in #235


Annotation to disable model cache

What this PR does / why we need it:
Introduce an annotation to be able to opt out model cache at inference service level if the flag is turned on globally.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Type of changes
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] 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

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[ ] Test A

[ ] Test B

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

Re-running failed tests

/rerun-all - rerun all failed workflows.
/rerun-workflow <workflow name> - rerun a specific failed workflow. Only one workflow name can be specified. Multiple /rerun-workflow commands are allowed per comment.

/rerun-all

/rerun-all

/lgtm
/approve


Non Standard Ports

Is it possible to scan for non standard web application ports?

Yes. You can modify which ports are scanned here:
https://github.com/Sw4mpf0x/Kraken/blob/master/Kraken/Web_Scout/tasks.py#L56
Just make the change and restart Kraken.


[Drawer] How to use in a custom container?

At the moment the positioning of the Drawer is fixed and the animation is considering screen as an anchor point together for both enter, and leave animations.
It would be very nice if this behavior can be scoped to a container.

[X] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

It should be possible to define a reference container into which the Drawer component can be rendered.
All of the behavior should be contained within this container.
For me, it is important to have the variant: temporary behavior, but in general, it would be nice to have all of them.
Examples 🌈

https://github.com/mui-org/material-ui/issues/11749
Motivation 🔦

I want to show details of an item in a Drawer, not across the whole screen, but across the body of that item by having the content slide in from the (right) side.

As far as I know, it can be achieved with the container prop, we used to do that in the demos before using an iframe.

I have managed to implement it, but with some hacking. It was not easy (or for me at the moment possible) to have a smooth UX with the Drawer API.
Could you please extend the documentation with this use-case?

@mnemanja if you have a codesandbox to share your solution, it would be awesome. It could help the next person wondering about it 🙏.
A new demo could make sense. Once we have this codesandbox, I think that we could give feedback on it. Once we are happy with it, you, or somebody else from the community could work on a new section the documentation of the drawer, for nested use cases 👌.

Thanks for addressing this issue.
I'll set up a code sandbox first chance I get with the solution that I devised, but personally I believe it should be more elegant, I just haven't the time to make it so atm.

@mnemanja I'd love to see your solution to this. I've been dealing with the same problem the last couple days, and my implementation of a fix causes the screen to "wiggle" a little when the drawer comes out. I'm using variant="temporary" and anchor="right". If it is anchored to the left, it works smoothly, but when anchoring to the right I get the janky behavior.

I've been facing the same issue. The drawer works fine when its anchored left, but on the right it does a weird animation.
Here's a codesandbox:
https://codesandbox.io/s/serverless-thunder-jkhrl9
The right drawer also reserves additional space on the container for some reason.
I tried overriding the animation and transitions but couldn't make it work. Does anyone know how to fix this ? It's a shame to have to disable the animation.


Documentation for deploymentConfig

Documentation should say that this is OpenShift specific.
OpenShift is not mentioned anywhere in the docs.

Going to self-assign this. Opened a PR here: https://github.com/kedgeproject/kedge/pull/424

https://github.com/kedgeproject/kedge/pull/424 merged, going to close this.


Improve way to deal with file paths on Windows, Mac and Linux. And use environment variables.

📋 Tasks Summary

Declare imports in alphabetical order;
Improve way to deal with file paths on Windows, Mac and Linux;
Use environment variables.

👨💻 Solutions
Dealing with file paths on Windows, Mac and Linux
A easy way to deal with file paths is to use the python (3.4+) library pathlib. With pathlib we've just to use forward slashes (/). For example, the function Path() will convert forward slashes into the correct kind of slash for the current operating system:
from pathlib import Path
folder_path = Path("user/data")
print(folder_path)

Output:
#on Linux:
user/data

#on Windows:
user\data

If we need to add a sub path on to the path, we can use the / operator directly in the code:
from pathlib import Path
folder_path = Path("user/data")
print(folder_path / 'sub')

Output:
#on Linux:
user/data/sub

#on Windows:
user\data\sub

Excelente contribuição! Obrigado @jeff-pal !


Assessments: Fix issue with referenced feedbacks for programming exercises after complaints

Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] I chose a title conforming to the naming conventions for pull requests.

Client

[X] I followed the coding and design guidelines.
[X] I documented the TypeScript code using JSDoc style.

Motivation and Context

For programming exercises with complaints, it is currently not possible to handle a complaint and add new referenced feedback (in the code editor) or change the existing one.
Actually, the feedback was saved but only the old one was shown.
Description

I decided to pass the feedback that should be displayed directly to the editor and update all appropriate occurrences.
Because the tests kept failing on Bamboo, I took a look into them and decided to convert some from sinon to jest
Steps for Testing

This only affects referenced feedback (in the code editor, not the one below).
Prerequisites:

1 Tutor
1 Student
1 Automatic Programming Exercise with Complaints enabled and a submission
1 Manual Programming Exercise with Complaints enabled and a submission

Assess the manual exercise
The assessment due date passes
Complain with the student on both assessments
For both exercises, try to modify existing feedback, delete existing feedback and create new feedback (for automatic only the latter)
Accept the complaints with the new feedback
Reload the page and make sure that the feedback is still displayed correctly
The tutor should now not be able to add, remove or modify feedback. Neither in the code editor nor below
The student should be able to see the feedback properly

Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage

code-editor-tutor-assessment-container.component.ts: 52.99% | 82.54%
code-editor-student-container.component.ts: 75.34% | 93.18%
code-editor-container.component.ts: 83.67% | 82.79%
result.utils.ts: 75% |  100%

@willergeorg Works now. I didn't explicitly block editing for resolved complaints. Due to an exception for automatic exercises, this issue appeared. Thanks for pointing it out!

As it's working locally, I will have to dig into why there is a difference in behaviour from the remote servers.


Simplex compilation errors

Simplex fails to bulid using Ubuntu 16 and 18 with apt prerequisites, and Macos High Sierra
with Macports prerequisites.
Saying 'make clean all' in the simplex directory should build the simplex_worker code.  The underlying cause of the problems seems to be that  configure  doesn't identify the proper HDF5 paths and flags.
There are multiple sources of error:

On Ubuntu 16 and 18, the Simplex HDF5 write functions fail to compile because apt installs hdf5.h in /usr/include/hdf5/serial which is not picked up by configure.  The correct line in config.mk would be
HDF5_FLAGS=-I/usr/include/hdf5/serial

but the actual assignment is blank.
This isn’t a problem in MacOS because Macports installs hdf5.h in /opt/local/include, which is automatically detected by the compiler.

Even with the header location fixed, compilation fails on all three OSs because -lhdf5 does not appear anywhere in the Makefile. In addition, in Ubuntu 16 and 18, apt places the library in /usr/lib/x86_64-linux-gnu/hdf5/serial, which again is not picked up by configure.  Macports installs libhdf5.a in /opt/local/lib, which is properly detected by the compiler.  Thus the correct config.mk entries would be
HDF5_LIBS=-L/usr/lib/x86_64-linux-gnu/hdf5/serial -lhdf5

for Ubuntu 16 and 18 and
    HDF5_LIBS=-L/opt/local/lib -lhdf5

in MacOS (the -L part isn’t actually needed).  Again, configure leaves these assignments blank.

Finally, the Makefile uses make syntax incorrectly.  The line
HDF5_LIBS ?= something

should set HDF5_LIBS if it isn't already set, providing a means of correcting configure shortcomings.  However, once config.mk is done, it leaves HDF5_LIBS set equal to the null string, so the  ?=  line does nothing.

Thank you for the extensive report!
Could you please try to run configure with:
./configure --with-hdf5=/usr/lib/x86_64-linux-gnu/hdf5/serial
Although it probably won't work (very strange practice to put libraries in directories like this)
In Mac Os this should work
./configure --with-hdf5=/opt/local
(if the headers are in /opt/local/include and libs in /opt/local/lib)
I'll see if there is any other way to do this optional setting in the Makefile

Related to #209?


Fix broken links in contrib-notes

Signed-off-by: Rakshith Shenoy<EMAIL_ADDRESS>

Closes #

Changes

 There were quite a few broken links in the markdown files present in contrib-notes due to the absence of the ./ide-setup.md and ./release-process/weekly-qa-validation.md

Author Checklist

[ ] Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
[ ] Vital features and changes captured in unit and/or integration tests
[ ] Commits messages follow AP format
[ ] Extend the documentation, if necessary
[ ] Merging to master from fork:branchname

New PR for this is here: #384


Video room creation sometimes fails

Clicking the Create And Join button again fails and adds another copy of the same message to the console log.  Reloading the page and trying again works.

Did you say you fixed this, @crista ?

I did not work on this

Closing as the new UI has been developed after this issue was opened and this issue relates only to the old UI.


Parsing Markdown blocks inside HTML blocks, and inline Markdown inside nested HTML elements

I'm trying to parse HTML similar to the following (in Mistune 0.8.4):

`some code`

**Something**

---

Some paragraph

But I can't find a way to make it create paragraphs or the HR, or parse the  block inside the  tag:
In [1]: from mistune import Markdown

In [2]: Markdown(parse_block_html=True, parse_inline_html=True)("\n`some code`\n\n**Something**\n\n---\n\nSome paragraph\n")
Out[2]: '\n`some code`\n\nSomething\n\n---\n\nSome paragraph'

Is there any way to get Mistune to parse block markdown inside block HTML elements? Or to get it to parse  blocks inside inline HTML elements that are nested inside block HTML elements?

Mistune is following the rules defined by commonmark for HTML tags. In the commonmark processing way, it is impossible to get this goal done.

@nottrobin sure, it can be done with plugin.


Reactive with Spring Data REST cosmos DB

Is there any significant time difference for fetching data by using Flux in reactive and normal  List Collection in Java?

I am fetching the data like:
Flux cmLogs = cmLogsRepository.findAll();
return cmLogs;
and the repository code:
public interface CMLogsRepository extends ReactiveCosmosRepository<CentralizedManagementEntity, String> {
Flux findAllById(String id);
But there is no such timing difference in this case.

@tanayamitra05 when you run reactive code like this :
Flux<T> cmLogs = cmLogsRepository.findAll(); it doesn't execute the find all operation at this point until you subscribe to it. So measuring timing at this point doesn't even makes sense.
Please read project reactor docs for more details on how to run reactive asynchronous code.
https://projectreactor.io/learn


Discussion: How to pass message template to WriteTo.OpenTelemetry() method?

In one of my existing setup, I am using a message template with WriteTo.Console() like below:
.WriteTo.Console(outputTemplate: MessageTemplate) // here, MessageTemplate is a const with an output template
How can I achieve the same with WriteTo.OpenTelemetry() or is it even possible?

Hi! This would probably be achieved by specifying a custom ITextFormatter for the log record body, but it isn't implemented currently, and it's not certain we'll add it.
Another option which might take a few lines of code is to create a wrapper sink. This would accept LogEvent instances and use them to construct new, modified LogEvents with the desired message format, and then forward these to the inner OTLP sink.
If you're interested in exploring this, Serilog.Sinks.Async shows the mechanics of wrapper sinks in: https://github.com/serilog/serilog-sinks-async/blob/dev/src/Serilog.Sinks.Async/LoggerConfigurationAsyncExtensions.cs#L72 - HTH!

Thanks @nblumhardt for the pointers. Here's what I did:
// wrapper as you suggested
public class OpenTelemetrySinkWrapper : ILogEventSink, IDisposable
{
    private readonly ILogEventSink _wrappedSink;
    private readonly string _messageTemplate;

    public OpenTelemetrySinkWrapper(ILogEventSink wrappedSink, string messageTemplate)
    {
        _wrappedSink = wrappedSink;
        _messageTemplate = messageTemplate;
    }

    public void Emit(LogEvent logEvent)
    {
        var template = new MessageTemplateParser().Parse(_messageTemplate);
        var boosted = new LogEvent(
            logEvent.Timestamp,
            logEvent.Level,
            logEvent.Exception,
            template,
            logEvent.Properties
                .Select(kvp => new LogEventProperty(kvp.Key, kvp.Value)));

        _wrappedSink.Emit(boosted);
    }

    public void Dispose()
    {
        (_wrappedSink as IDisposable)?.Dispose();
    }
}

// Logging class, using it in my services
    public static class Logging
    {
        private const string PrefixTemplate = "[{Level:u3}][{Timestamp:o}][{Thread}][{SourceContext}]";
        private const string MessageTemplate = "{Message:lj}{NewLine}{Exception}";
        private const string GeneralMessageTemplate = $"{PrefixTemplate} {MessageTemplate}";

        private const string ThreadPropertyName = "Thread";

        public static IHostBuilder UseSerilog(this IHostBuilder hostBuilder)
        {
            Serilog.Debugging.SelfLog.Enable(Console.Error);

            return hostBuilder.UseSerilog((hostBuilderContext, loggerConfiguration) =>
            {
                // Here we configure host Serilog logger.

                loggerConfiguration
                    // Logger configuration is read from host configuration (typically, "Serilog" section in appsettings.json file).
                    .ReadFrom.Configuration(hostBuilderContext.Configuration, new ConfigurationReaderOptions(DependencyContext.Default))
                    .Enrich.With<HostContextEnricher>()
                    // Hard code the console sink.
                    //.WriteTo.Console(outputTemplate: GeneralMessageTemplate)
                    .WriteTo.EnhancedOpenTelemetry(GeneralMessageTemplate, wt => wt.OpenTelemetry(options =>
                    {
                        options.ResourceAttributes = new Dictionary<string, object>
                        {
                            ["service.name"] = hostBuilderContext.HostingEnvironment.ApplicationName
                        };

                        options.Endpoint = "http://host.docker.internal:4318/v1/logs";
                        options.Protocol = OtlpProtocol.HttpProtobuf;
                    }));
            }, preserveStaticLogger: true);
        }
}

// Extensions class
public static class OpenTelemetryLoggerConfigurationExtensions
{
    public static LoggerConfiguration EnhancedOpenTelemetry(
        this LoggerSinkConfiguration lsc,
        string messageTemplate,
        Action<LoggerSinkConfiguration> writeTo)
    {
        return LoggerSinkConfiguration.Wrap(
            lsc,
            wrapped => new OpenTelemetrySinkWrapper(wrapped, messageTemplate),
            writeTo);
    }
}

Now, I am getting output like below (just the template), please note: Serilog.Sinks.Console has implementations like this: https://github.com/serilog/serilog-sinks-console/blob/dev/src/Serilog.Sinks.Console/Sinks/SystemConsole/Output/OutputTemplateRenderer.cs to process the template.

However, I am trying to achieve something like below:

Please let me know your thought if what I am trying to achieve is  doable without writing a lot more code.

Hi @sharifmamun,
It's slightly more complicated, but you're very close. It should be something like:
        var outputTemplate = new MessageTemplateParser().Parse(_messageTemplate);
        var outputFormatter = new MessageTemplateTextFormatter(outputTemplate);
        var message = outputFormatter.Format(logEvent);
        var template = new MessageTemplate(new[] { new TextToken(message) });
        var boosted = new LogEvent(
            logEvent.Timestamp,
            logEvent.Level,
            logEvent.Exception,
            template,
            logEvent.Properties
                .Select(kvp => new LogEventProperty(kvp.Key, kvp.Value)));

(Note you may need to create a StringBuilder in there for the Format call, I've bashed this together in the browser comment box so it's a rough approximation.)
HTH,
Nick

With a little bit of tweaking on Format call, I have achieved what I actually needed. Thank you so much 💯.

🙌


iOS and Safari show border around placeholder image

Describe the bug
Hey Nam! One of my users found another pesky bug for you.
On iOS and Safari, there is border (with alt text displaying) that shows above the images.
To see the bug, visit this page https://muscleandspine.ca/shop/products/cork-massage-dual-ball/. Then click one of the thumbnail images but don't trigger the image zoom.

On mobile, it's a bit more pronounced since the alt text shows up within the border as well.
I did some investigating and I believe it's because the <img> tag that the library adds to the DOM for the zoom is initially missing a src attribute. I don't think iOS and Safari like that :)
Reproduction
https://muscleandspine.ca/shop/products/cork-massage-dual-ball/
Used Package Manager
npm
Validations

[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is available

Hi Andrew, I'm going to try to re-prod it later. Can you give me an example code if you have one already? That would be helpful 😄

Awesome thanks Nam!

Hi Andrew. Can you update your dependency to use the latest version. I think it should work. From now on, zoom image will only be available on demand instead of sitting in the DOM forever 😄


Update README.md

Hello,
This PR just add a blog article from univalence blog to the Readme. The idea is that people discovering this repo could at least have the rationale over it.

Ahoy!
Thanks, that's a good start. We need to do better in that area!


Add missing build state icons

Currently this adds a "Cancelling" build state icon, which is the same as running build but red (the same as cancelled, which is a red cross). So the icon change will be from grey spinning to red spinning.
The current handled states are:

pending
scheduled
running
passed
blocked
failed
canceled
canceling

Are we missing any others?
Closes #147

The other 2 build states are skipped and not_run which we don't have icons for?

Ok, I've updated this to handle skipped and not_run too:

Aside from my comment, 🚀

Thanks!


Why Stanford Core-NLP tokenizer instead of WordPiece?

May I ask why you use the Stanford Core-NLP tokenizer instead of the default BERT WordPiece tokenizer?

We do use BERT WordPiece, but it is applied on Core-NLP tokenized text.
Two reasons to use Core-NLP first:

We need sentence splitting
For a fair comparison with previous systems, since ROUGE will be different for different tokenizers.

Is it safe to assume that BERTSUM will perform without issues on input text tokenized using a tokenizer other than Core-NLP as long as we implement sentence splitting?


MockBukkit.loadJar() maybe not working correctly

Is there an existing issue for this?

[X] I have searched the existing issues

Are you using the latest version of MockBukkit?

[X] I am using the latest version of MockBukkit.

Minecraft Version
1.18
Describe the bug
There is a MockBukkit.loadJar() function to load external Plugins that may be required by the project that needs to be tested. It could not load any plugin I tested: LuckPerms-Bukkit-5.3.51, ProtocolLib, worldedit-bukkit-7.2.10
This in it self might not be a bug, because these are very complex plugins wich do a lot on their startup. But it should throw an UnsupportedOperationException or UnimplementedOperationException?
These are the Exceptions I get:
java.lang.RuntimeException: org.bukkit.plugin.InvalidPluginException: java.lang.IllegalStateException: JavaPlugin requires org.bukkit.plugin.java.PluginClassLoader
java.lang.RuntimeException: org.bukkit.plugin.InvalidPluginException: java.lang.ClassCastException: class be.seeseemelk.mockbukkit.plugin.PluginManagerMock cannot be cast to class org.bukkit.plugin.SimplePluginManager (be.seeseemelk.mockbukkit.plugin.PluginManagerMock and org.bukkit.plugin.SimplePluginManager are in unnamed module of loader 'app')
Reproducible Test
public class MockBukkitTest {
    @DisplayName("Test if MockBukkit can load 3rd party plugins")
    @Test
    public void loadDependencies() {
        MockBukkit.mock();
        MockBukkit.loadJar("testDependencies/LuckPerms-Bukkit-5.3.51.jar");
    }
}

public class MockBukkitTest {
    @DisplayName("Test if MockBukkit can load 3rd party plugins")
    @Test
    public void loadDependencies() {
        MockBukkit.mock();
        MockBukkit.loadJar("testDependencies/ProtocolLib.jar");
    }
}

Anything else?
No response

The first exeption might be explained here #252 but is there no way loading a plugin (as a dependency) without a seperate signature? However, this could still be a problem.

The first exception is a duplicate of #642, the second is the plugin casting the PluginManager to CraftBukkit's PluginManager. There's nothing we can do about the latter, that's up to them to not do.


Add examples folder to the project

Feautiring:

meta-decks exported to one of the supported file formats
scraped YT channels data as .json files (#39)

Closed with 7edeb99


VIM-410 - Adding support for ':set rnu' and ':set nu'

Pull request to add a nice feature that I was missing on IdeaVim: relative line numbers.
By setting the relativenumber option, the editor shows the line numbers relative to the caret position, allowing users to quickly jump a few lines up or down to change some text or maybe yank it.

With this feature you can just go 4j to go 4 lines down or 3k to go 3 lines up at a glance :)

I am not sure where to ask this since there is no issue tab on this repo. For ideavim, is it possible to have both absolute line numbers and relative line numbers? I have this setup in vscode and was wondering if it was possible to do this for intellij as well.
I have added this property in .vimrc
set rnu
I can get relative line numbers to work, but is there a way to add another column in the line gutter where we also have absolute line numbers? Thanks

The question is answered here: https://stackoverflow.com/questions/61681596/how-to-get-both-absolute-and-relative-line-numbers-in-ideavim-for-intellij


"rgb" misspelled as "rbg" in Keras documentation for flow_from_directory()

Please make sure that the boxes below are checked before you submit your issue.
If your issue is an implementation question, please ask your question on StackOverflow or on the Keras Slack channel instead of opening a GitHub issue.
Thank you!

[NA ] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

[ NA] Check that your version of TensorFlow is up-to-date. The installation instructions can be found here.

[NA ] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

The documentation for flow_from_directory() has a spelling error. Under arguments, 'rgb' is misspelled as  'rbg':
color_mode: One of "grayscale", "rbg", "rgba". Default: "rgb". Whether the images will be converted to have 1, 3, or 4 channels.

Happy to look at this one.

This is already fixed on master and can be closed now?

https://github.com/keras-team/keras-preprocessing/blob/master/keras_preprocessing/image/image_data_generator.py#L451
fixed here, for reference

Why is this issue still open? Is this fixed?

The issue is fixed, right ? But why is this still open


Confusing Error message for defining S3 event

Was getting this error message on a deploy command:
Failed to create the changeset: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state Status: FAILED. Reason: Transform AWS::Serverless-2016-10-31 failed with: Invalid Serverless Application Specification document. Number of errors found: 1. Resource with id [ResourceFile] is invalid. property Event not defined for resource of type S3

The text makes it sound like I'm missing the Event property, but the property I was missing was Events. Changing my incorrect property name made the error go away.

The error message is complaining that you specified a property called Event that it doesn't recognize. This is indeed confusing given the error message. I have made the required code change.  Will get it deployed in the next release.
Closing this bug for now because the change is made.


Store checkpoints on wandb during offline training

Closes #39
Similar to how storing of PPO checkpoints works, the number of checkpoints can be set using a command line argument.

Thanks Felix!
I'm wondering if you might have time to check that checkpoints can be easily downloaded and loaded into the streamlit app/calibration workflow and maybe if you could also write some tests to check things like:

do you get exactly the right number of checkpoints
Is the final model the final checkpoint
And anything else you can think of.

I feel bad for not adding more detail originally so feel free to let me get to this eventually or to ping in future when you start a card and I'll make sure there are details there.
Now the fun stuff, this PR opens the doors to some cool work. If you make sure we can check calibration of each checkpoint then having a calibration curve variation that shows calibration over each checkpoint would be cool. A visualization for this might be interesting.
I'm not sure if you've read Neel's grokking work/the progress measures stuff, but we are now theoretically closer to asking questions about training dynamics. This will be a little blocked ATM on the lack of fine-grained circuit analysis and I'm happy to talk about what I'm building soon that would help this, possibly you might also want to help.
Some open questions I have off the top of my head:

how much do the output vector directions change during training
how much do component contributions change over training
how do we measure excluded loss/which situations should we pick in the game world to focus on when looking at circuit evolution.

Can't write more now but theres more. Pm me if you are keen, no fuss either way!


Compat' with new tc-platform and tc-apis

Updates:

apis - 1.0.4.beta
passthrough-testing - 1.0.4.beta
config - 10.0.4.beta
core - 5.0.4-beta
galvan - 1.0.4-beta
tc-platform - 5.0.4.beta

Compat' with Terracotta-OSS/terracotta-platform#129
(new tc-platform snapshot)
@anthonydahanne : this can be merged when Terracotta-OSS/terracotta-platform#129 will be merged AND tc-platform 5.0.4.beta will be released.
This is part of the work for #1008

test this please

LGTM


Workitem link targets a wrong base address with on-premise configuration

Hello,
We installed the extension on our on-premise ADO Server. When we select a workitem, the link to the open it targets "dev.azure.com" instead of "mycompany.com".

Please note we get the issue only when we are trying to open it in a new tab (tested on Edge and Chrome)

@olivierhelin Thanks for reporting, we have some improvements coming in the next release which I hope will address this as well. Will post an update shortly.

We have the same Issue, glad to hear that there is progress on this problem

Installed version: 2.3.21
Issue is still there after starting a session and opening the link in a new window.

Fixed in #105.


Ability to set global options on data fetching composabkes

Describe the feature
Often it is needed that you need to add a specific header or some other specific thing on all requests made to a specific domain.
So this feature would allow a user to set these global options as part of the nuxt config. Similar to how axios allows you set global options and interceptors.
The level of granularity or complexity of these options would be a matter discussion.
Additional information

[X] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

Hello,
Following the idea of creating a composable and defining the options, I am not able to use it in a form with the post method. Almost everything works as expected, the "immediate false" that doesn't call the request when the page is loaded, and the "execute" inside the function is called. However, the body data is not being sent, the request is going empty.
composables/api.js
export const useApi = async (url, params) => {

  const cookie = useCookie('token')

  const config = useRuntimeConfig()

  const opts = {
    key: url,
    baseURL: config.baseURL,

    async onRequest({ options }) {

      options.headers = options.headers || {}

      if (cookie.value) {
        options.headers['x-access-token'] = cookie.value
      }
    },

    async onRequestError({ error }) {
      console.log(error.message)
    },

    async onResponseError({ response }) {
      console.log(response._data.message)
    },

    ...params

  }

  const { data, pending, error, execute } = await useFetch(url, opts)

  return {
    data, pending, error, execute
  }

}

pages/form.vue
<template>

Form

{{ loading }}

  <form @submit.prevent="submit">
    <input type="text" v-model="name" />
    <button type="submit">
      Enviar
    </button>
  </form>
</template>

Does anyone have any idea why this behavior is?

@manniL But how can I set global options with $fetch?
For everything came about with the need for it.
I would like to configure baseURL and error hooks for request and response.

You can use fetch.create to obtain a preconfigured fetch helper with request/response handlers, etc.

Hello again,
I got the result I wanted with useAsyncData. I just have a doubt, if I declared the immediate false, I believe that the pending should also start as false.
Without initiating a request on page load, pending is already coming as true. And this is not good.
const { data, pending, execute } = await useAsyncData('login', () => $fetch('auth/login', { method: 'post', body, baseURL: config.baseURL }), { immediate: false })

I got the result I wanted with useAsyncData. I just have a doubt, if I declared the immediate false, I believe that the pending should also start as false.

Please check the discussion in https://github.com/nuxt/nuxt/issues/15714 + linked follow-up issues

~> linking https://github.com/nuxt/nuxt/issues/12369

Also linking https://github.com/nuxt/nuxt/issues/14736

We've discussed this as a team and think a reasonable solution here is to document clearly how to create your own composables. We'd also welcome contribution on https://github.com/nuxt/nuxt/issues/14736 to more easily extend the basic useFetch and useAsyncData composables - as well as on https://github.com/nuxt/nuxt/issues/12369 so that resulting composables can also benefit from the auto-key support just like the built-ins.

Within the Vue part of your app, you can create a custom composable.

@danielroe
how can we use another composable inside this composable? like runtimeConfig ?
I'm getting an error:

A composable that requires access to the Nuxt instance was called outside of a plugin, Nuxt hook, Nuxt middleware, or Vue setup function

Can you please elaborate more? Composables should be auto typed and indeed with custom instance you can narrow types better than a global configured instance.

@pi0
For example, I want to create my useFetch like this:
export function useTheFetch(req: any, opts: any) {
  return useFetch(req, {
    ...opts,
    onRequest({ options }) {

    },
  })
}

I don't know how to eliminate the anys, so when I use useTheFetch, I can get the benefit of typescript.

@a1mersnow As an example:
import { NitroFetchRequest } from 'nitropack'
import { UseFetchOptions } from '#app'
export function useCustomFetch<T = void> (req: NitroFetchRequest, options?: UseFetchOptions<T>) {
  return useFetch(req, options)
}

// Using it
useCustomFetch('/api/test/:id', {
  headers: {
    'Accept': 'application/json',
  }
})

@manniL How do you know the NitroFetchRequest part 😂

Can you please elaborate more? Composables should be auto typed and indeed with custom instance you can narrow types better than a global configured instance.

@pi0
For example, I want to create my useFetch like this:

export function useTheFetch(req: any, opts: any) {

  return useFetch(req, {

    ...opts,

    onRequest({ options }) {

    },

  })

}

I don't know how to eliminate the anys, so when I use useTheFetch, I can get the benefit of typescript.

Check out how we did it: https://github.com/Pacific-Agency/nuxt-utils/blob/main/src/runtime/composables/useFetchAuth.ts.

Got it:
import type { AvailableRouterMethod, NitroFetchRequest } from 'nitropack'
import type { FetchError } from 'ofetch'
import type { AsyncData, FetchResult, UseFetchOptions } from '#app'

type KeysOf<T> = Array<T extends T ? keyof T extends string ? keyof T : never : never>
type PickFrom<T, K extends Array<string>> = T extends Array<any> ? T : T extends Record<string, any> ? keyof T extends K[number] ? T : K[number] extends never ? T : Pick<T, K[number]> : T

export function useTheFetch<
  ResT = void,
  ErrorT = FetchError,
  ReqT extends NitroFetchRequest = NitroFetchRequest,
  Method extends AvailableRouterMethod<ReqT> = ResT extends void ? 'get' extends AvailableRouterMethod<ReqT> ? 'get' : AvailableRouterMethod<ReqT> : AvailableRouterMethod<ReqT>,
  _ResT = ResT extends void ? FetchResult<ReqT, Method> : ResT,
  DataT = _ResT,
  PickKeys extends KeysOf<DataT> = KeysOf<DataT>,
  DefaultT = null,
>(req: Ref<ReqT> | ReqT | (() => ReqT), options?: UseFetchOptions<_ResT, DataT, PickKeys, DefaultT, ReqT, Method>): AsyncData<PickFrom<DataT, PickKeys> | DefaultT, ErrorT | null> {
  return useFetch(req, {
    baseURL: '/api',
    onRequest({ options }) {
      const userInfo = useUserInfo()
      if (userInfo.value.token) {
        const userInfo = useUserInfo()
        options.headers = options.headers || {}
        if (userInfo.value.token)
          (options.headers as Record<string, string>).authorization = userInfo.value.token
      }
    },
    onResponse({ response }) {
      const userInfo = useUserInfo()
      if (response._data.code === 401) {
        userInfo.value.token = ''
        reloadNuxtApp()
      }
    },
    ...options,
  })
}


Poppy Integration Testing - self-check machines

Reach out to Kent, Mike Nack, or Roy/Lorna for testing.

@jgreben does this also use egde-sip2?


Support kc_idp_hint

Is your feature request related to a problem? Please describe.
Keycloak supports kc_idp_hint parameter for login flow (see https://www.keycloak.org/docs/latest/server_admin/index.html#_client_suggested_idp).
Keycloak.js has method createLoginUrl, which receives idpHint, but it seems that react-keycloak builds login url without using createLoginUrl and there is no possibility to pass idpHint
Describe the solution you'd like
KeycloakProvider should receive hint and use it when building login url, where user is redirected to.
Describe alternatives you've considered
Currently I configure default provider for realm in 'Browser' flow (see https://www.keycloak.org/docs/latest/server_admin/index.html#default_identity_provider).
That works, but I would like to use hint instead, so that I could login using internal users, while debugging. Current approach means that login is always performed by broker idp.

Hi @strowk ,
Currently the KeycloakProvider component accept the initConfig prop which contains the config which gets passed to keycloak.init method, so if keycloak.init supports this option you can pass it inside the initConfig prop.
If that's not supported you can try the following setup, in the initConfig prop be sure to pass as onLoad the value check-sso (which is the default), and then in your login screen you can invoke the login method of keycloak passing the idpHint option as you need (you can retrieve the keycloak instance by using either the withKeycloak HOC or the useKeycloak hook).
Let me know if this helps you.

I don't really want to switch from login-required to check-sso to manually implemented same thing. But I see now that this is a wrong place to ask for support of hint in initConfig.
I wanted to create issue in keycloak itself, but people there does not seem to be interested in supporting it - https://issues.jboss.org/browse/KEYCLOAK-4225 .


AttributeError: 'MultiLabelZeroShotGPTClassifier' object has no attribute 'key'

Hi
I got this error "AttributeError: 'MultiLabelZeroShotGPTClassifier' object has no attribute 'key'" while using below code:
from skllm import MultiLabelZeroShotGPTClassifier
from skllm.datasets import get_multilabel_classification_dataset
X, y = get_multilabel_classification_dataset()
clf = MultiLabelZeroShotGPTClassifier(max_labels=3)
clf.fit(X, y)
labels = clf.predict(X)
Thanks,

Hi @hasanhuz.
I believe this problem is the same as https://github.com/iryna-kondr/scikit-llm/issues/93, hence I am going to close this issue to track it in one place.
I assume you are using a jupyter notebook. As a short term fix, you can add anything after the last line (e.g. print("done")).


In test scripts changed python to python2.

On my system (archlinux), python is a symlink to python3 by default. The yosys test scripts used in "make test" are written in python2 syntax and error out when called from python3, so this just make python2 explicit.

Commit dae00e1d8301aae25f3432ca12995c9a3b380679 should fix this issue.


populate_db: Include populating analytics database.

This is a rudimentary PR(Created to ask doubts here).
Still I've to include management.call_command in populate_db.py. So test may fail.

@shubhamdhama what are your questions on this?

I've updated the PR(waiting for tests to get passed). But I'm still not sure whether this is ready to be merged or not as this increases the time for populating the DB. We should think about giving some options here for making this fast when ./manage.py populate_db run manually.

On my machine, this moves populate_db from 13.8s to 14.9s.  Doesn't seem worth holding up merging for, though we should at some point look at optimizing a bit.
What's the thinking behind moving the analytics user into the Zulip realm (rather than having it be in its own realm)?  I can see arguments either way; one advantage of it being in its own realm is that it might be a bit easier to do development on the analytics code if they're separate (since then you can either use /stats/realm/ to see the Analytics realm data or /stats to look at the data constructed by the production-style tooling, which might be useful for testing).

@timabbott  I've updated the PR with the required changes and found two bugs:

Our /activity page is broken, I mean it's not showing realms in the table as it does before.
When populate_analytics.db again it don't shows the database.

Merged after editing the docs a bit and extending the commit message, thanks @shubhamdhama!  I also added a0270e1d7be7c4adbcb49570b70f977fa015258b and b9fa7d7b6dfcf270f5368a514d7eff50bcd5ab66 on top to (1) make this more discoverable in /devtools and (2) fix the subtle bug you brought up with rerunning populate_analytics_db not working.
Thanks @shubhamdhama!


fix(path): change windows style path to unix

On supplying path for docker in windows environments, change path to unix style.
This allows sam-cli to work with docker toolkit.

Issue #, if available:

https://github.com/awslabs/aws-sam-cli/issues/461

Description of changes:

change windows style paths to unix style paths, to allow operability of the sam cli under windows 8.
Did testing on windows environment with docker toolbox and docker for windows.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Addressed the comments.


Fix issues in JSON to Record implementation

Description:

In current JSON to record implementation it generates duplicated record type definitions if we try to paste the record as JSON.
Need to improve the code coverage in JSON to record implementation.

Steps to reproduce:
Use following JSON to reproduce the above.
{
  "resourceType": "Claim",
  "id": "660151",
  "text": {
    "status": "generated",
    "div": "
A human-readable rendering of the Vision Claim for Glasses
"
  },
  "identifier": [
    {
      "system": "http://happysight.com/claim",
      "value": "6612346"
    }
  ],
  "status": "active",
  "type": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/claim-type",
        "code": "vision"
      }
    ]
  },
  "use": "claim",
  "patient": {
    "reference": "Patient/1"
  },
  "created": "2014-08-16",
  "insurer": {
    "reference": "Organization/2"
  },
  "provider": {
    "reference": "Organization/1"
  },
  "priority": {
    "coding": [
      {
        "code": "normal"
      }
    ]
  },
  "prescription": {
    "reference": "http://www.optdocs.com/prescription/12345"
  },
  "payee": {
    "type": {
      "coding": [
        {
          "code": "provider"
        }
      ]
    }
  },
  "careTeam": [
    {
      "sequence": 1,
      "provider": {
        "reference": "Practitioner/example"
      }
    }
  ],
  "diagnosis": [
    {
      "sequence": 1,
      "diagnosisCodeableConcept": {
        "coding": [
          {
            "code": "654321"
          }
        ]
      }
    }
  ],
  "insurance": [
    {
      "sequence": 1,
      "focal": true,
      "coverage": {
        "reference": "Coverage/9876B1"
      }
    }
  ],
  "item": [
    {
      "sequence": 1,
      "careTeamSequence": [
        1
      ],
      "productOrService": {
        "coding": [
          {
            "system": "http://example.org/fhir/CodeSystem/ex-visionservice",
            "code": "glasses"
          }
        ]
      },
      "servicedDate": "2014-08-16",
      "unitPrice": {
        "value": 214.00,
        "currency": "USD"
      },
      "net": {
        "value": 214.00,
        "currency": "USD"
      },
      "detail": [
        {
          "sequence": 1,
          "productOrService": {
            "coding": [
              {
                "system": "http://example.org/fhir/CodeSystem/ex-visionservice",
                "code": "frame"
              }
            ]
          },
          "unitPrice": {
            "value": 100.00,
            "currency": "USD"
          },
          "net": {
            "value": 100.00,
            "currency": "USD"
          }
        },
        {
          "sequence": 2,
          "productOrService": {
            "coding": [
              {
                "system": "http://example.org/fhir/CodeSystem/ex-visionservice",
                "code": "lens"
              }
            ]
          },
          "quantity": {
            "value": 2
          },
          "unitPrice": {
            "value": 50.00,
            "currency": "USD"
          },
          "net": {
            "value": 100.00,
            "currency": "USD"
          }
        },
        {
          "sequence": 3,
          "productOrService": {
            "coding": [
              {
                "system": "http://example.org/fhir/CodeSystem/ex-visionservice",
                "code": "fst"
              }
            ]
          },
          "unitPrice": {
            "value": 200.00,
            "currency": "USD"
          },
          "factor": 0.07,
          "net": {
            "value": 14.00,
            "currency": "USD"
          }
        }
      ]
    }
  ]
}

Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Closing this since the issue is fixed.


UCP: show all component ID when using ids

Description
We can use component ids <component> to show all IDs of a kind of component. e.g.
>> component ids tikv
[
    "<IP_ADDRESS>:20160",
    "<IP_ADDRESS>:20161",
]

If we don't give a parameter, we should show IDs of all kinds of components. e.g.
>> component ids
pd:
...
tikv:
...

Score

50

Recommended Skills

Golang

/pick-up-challenge

/pick-up-challenge

/pick-up-challenge

/pick-up-challenge


Allow us to scp files from other locations

So if they exist at CERN, bring them back to UW, and vice versa. Faster than GRID download, prolly.

This now works! Woo!


create settings page

Are we to come up with our own concepts?? or there is a pre-existing design to work with??

@TonniPaul There are pre-existing designs to work with
https://www.figma.com/file/gU3GHIN3tuqKqPFfGvVaez/GITHUB?node-id=117%3A35

Thanks


Integrating geospatial data like geopandas does

In python there is the geopandas library that allows working with geospatial data within a dataframe (geodataframe) and series (geoseries), there is some possibility of integrating them in this project like in that library?

Oh very interesting! This is far outside my wheelhouse but absolutely seems like a good idea. My understanding is that it might be worthwhile to implement the Simple Features Standard. https://en.wikipedia.org/wiki/Simple_Features.
This is where the reliance on a Rust library wholesale becomes quite hairy. I think it would need to be approached way upstream with Polars, with respect to maybe the GeoRust ecosystem.
I'll give this some thought.

I have been investigating the georust ecosystem a bit and it seems to me a good option, to carry geopandas you need management of projections, reading of different raster and vector formats and conversions between them, management of geometries and all those functionalities exist within their libraries, It would only be necessary to integrate them into the elixir as a first step.

I know this is not related to the feature request, but I want to add this just as reference for people that want to work with Geospatial data in the Elixir ecosystem today: if you are using Livebook, you can work with GeoJSON and TopoJSON (a subset of GeoJSON) through VegaLite.
The only problem is that you may need to convert the data from other formats to these formats.
I made an small study using those tools here: https://github.com/philss/brazil-in-notebooks/pull/1 :point_right:  Run in Livebook

@philss
Excellent work!,
I am trying to integrate some functionalities of the georust ecosystem into an elixir NIF library in order to be used with spatial data, especially related to the gdal library that would allow working with a great variety of geographic data, both raster and vector.
Maybe you don't like the idea of using Rust very much, but there are more advances in this field than in elixir, in addition to the performance in some operations that demand calculation power

@roger120981 thank you!

I am trying to integrate some functionalities of the georust ecosystem into an elixir NIF library in order to be used with spatial data, especially related to the gdal library that would allow working with a great variety of geographic data, both raster and vector.

Cool! Please share with us when you have something.

Maybe you don't like the idea of using Rust very much, but there are more advances in this field than in elixir, in addition to the performance in some operations that demand calculation power

I prefer to use Elixir when possible, but I agree that a NIF in Rust for this is a good idea. Specially if they have a complete set of tools for this field. Although we have some tools in Elixir like Geo that can be used for some tasks without problems.
Just be aware of some limitations of NIFs. Even if they are written in Rust, you can have some drawbacks.

@philss Thanks for the observation.

@philss @cigrainger After much research and cooperation from community members, steps are beginning to be taken to resolve this issue. Initially I opened this discussion, https://github.com/pola-rs/polars/issues/1830 , but finally Kyle Barron shed light on how to incorporate geospatial analysis into polars, here is a new library that promises if we support it and that we can integrate it into explorer in the future. It is based on georust ecosystem libraries and algorithms are perfectly integrated
https://github.com/kylebarron/geopolars

Just to update everyone, we are still several months away from this. There is work happening on bringing geo formats to Arrow, then these need to be surfaced in Polars. Only then we can surface them to Explorer.

There is currently a project well advanced in this direction,  https://github.com/geoarrow/geoarrow-rs,  lead by @kylebarron, was used as core for this project,, https://developmentseed.org/lonboard, and in the future, it must be the core of this project, https://github.com/geopolars/geopolars

This project serves as a complement to visualize millions of data in web environments  https://github.com/geoarrow/deck.gl-layers

@josevalim It would be advisable to look as it has bindings for Python and Javascript, and it would be a good starting point to integrate it as a Nif library in the future.


okhttp3 with Retrofit where is the cached file on the phone? Unable to see it inside the Application directory

okhttp3 with Retrofit where is the cached file on the phone? Unable to see it inside the Application directory here is my code:
I am sending the request in Android and the results are also comming out fine but where is it being cached??
 OkHttpClient.Builder builder = new OkHttpClient().newBuilder();
    builder.cache(new Cache(getApplicationContext().getCacheDir(),CACHE_SIZE_BYTES));
    OkHttpClient client = builder.build().client(client);
    final Retrofit retrofitlogin=new Retrofit.Builder()
    .baseUrl(GlobalROOT_URL)
    .addConverterFactory(GsonConverterFactory.create())
    .build();
    ..rest of the code.

The cache isn't meant to be accessed by other applications, the format isn't documented and public API, and concurrent access could cause problems.
But if you log the cache directory it will tell you anyway
Log.w("WARN", getApplicationContext().getCacheDir().toString())

12-22 08:11:22.071 16936-16936/? W/WARN: /data/user/0/com.squareup.okhttptestapp/cache

https://stackoverflow.com/questions/47936603/okhttp3-with-retrofit-where-is-the-cached-file-on-the-phone-unable-to-see-it-in


New Dependencies Added But Not Documented

Hello,
I installed this application about a year ago and since then have completed standard upgrades. Today I deleted ezbeq and installed cleanly. While doing that, there were additional libraries that I had to install to install ezbeq:
libffi-dev
rustc
libssl-dev
It would be great if there was a portion of the documentation that itemized the dependencies to make it easier for new people to understand while libraries were required as well as providing notes for releases outlining what needed to be added to align with the newest version being installed.

(known) dependencies are already specified
which OS is this on?

Apologies for the delay in response.
I'm currently utilizing a Debian (Debian 10 - buster) container on a QNAP NAS.

I don't think it is feasible for me to document how to build from source transitive dependencies. For example rust is a dependency of cryptography which this package does not directly depend on and you only require rust if you don't have a binary wheel available. Most platforms do but if yours doesn't then it's going to be with you to solve this.


Configured Cluster: App Gateway UI

In createUiDefinition.json,

modify the regex for keyVaultResourceGroup to implement this, from the portal.

Resource group names only allow alphanumeric characters, periods, underscores, hyphens and parenthesis and cannot end in a period.

Resource group names only allow up to 90 characters.

modify the regex for keyVaultName to implement this, from the portal.

Vault name must only contain alphanumeric characters and dashes and cannot start with a number.

Vault name must be between 3-24 alphanumeric characters. The name must begin with a letter, end with a letter or digit, and not contain consecutive hyphens.

I will assign this to @galiacheng .

Regex for resource group:
^[a-z0-9A-Z\\.\\-\\_()]{0,89}([a-z0-9A-Z\\-\\_()]{1})$

Test case:
# pass
(
()__.__()
haiche_
haiche)
haiche_-
_-
_haiche
.(_._
.........................................................................................1
-_-

# failed
-_-!
..........................................................................................1
haiche;_
haiche.

Regex for vault name
^(?=.{3,24}$)[a-zA-Z](([a-z0-9A-Z]*|(?:\-[^\-][a-z0-9A-Z]*))*)$

Test cases:
# pass
haiche0
haiche-haiche
h-c-c8c-A0-c-cP-c-c-c-c
ha0

# failed
0haiche
haiche-
hc
hh--c
h-----c
h-c-c-c-c-c-c-c-c-c-c-c-c
h-!-c-c-c-c-c-c

On branch develop
modified:   arm-oraclelinux-wls-cluster/src/main/arm/createUiDefinition.json
Reverted lines that cause this failure in the version of ARM TTK currently in use.
[-] Textboxes Are Well Formed (160 ms)

Something about this regex causes the test to fail.
"regex": "^[a-z0-9A-Z\.\-\()]{0,89}([a-z0-9A-Z\-\()]{1})$",
It might be time for us to fix https://github.com/wls-eng/arm-oraclelinux-wls/issues/118 ?


Automator: update<EMAIL_ADDRESS>dependency in<EMAIL_ADDRESS>

Generated by Automator - 2021-07-15T13:09:33+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-mc-k8s-tests_istio_release-1.11
df2ad4e620fcf2e4d4953cf2161a35bc04166b90
link
/test integ-telemetry-mc-k8s-tests_istio_release-1.11

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-telemetry-mc-k8s-tests_istio_release-1.11

Rerunning the automated job found no changes: https://storage.googleapis.com/istio-prow/logs/update_api_dep_istio_api_release-1.11_postsubmit/1415734229907542016/build-log.txt so closing this PR as changes are already in.


Menu items deeper than first level cannot be opned with initialOpenNodes

Hi,
I have a use case in which I have to open the menu up to the 3rd level deeper and activate the given node.
E.g
first-parent-node
first-parent-second-level-node-1
first-parent-third-level-node-1 <-- active
second-parent-node
So I create the data for the tree as follows
const data = [     {       key: "first-parent",       label: "first-parent",       nodes: [         {           key: "first-parent-second-level-node-1",           label: "first-parent-second-level-node-1",           nodes: [             {               key: "first-parent-third-level-node-1",               label: "first-parent-third-level-node-1",               nodes: []             }           ]         }       ]     },     {       key: "second-parent",       label: "second-parent"     }   ];
And set the data with the initialActiveKey and initialOpenNodes as follows
`const LibraryCategroryIndex : React.FC = () => {
return (<TreeMenu data={data}  initialActiveKey="first-parent/first-parent-second-level-node-1/first-parent-third-level-node-1"   initialOpenNodes={["first-parent","first-parent-second-level-node-1", "first-parent-third-level-node-1"]}  ></TreeMenu>);

}`
The renders tree looks like the below image.

Why I can't expand the tree deeper? Is it a limitation of the tree component or something I do wrong here?
Appreciate your feedback in this regard.

Hi, you need to chain the open node names like initialActiveKey.
Change [“parent”, “child”, “grandchild”] to [“parent”, “parent/child”, “parent/child/grandchild”]
This is a precaution in the case where the node key is not globally unique.

@iannbing ,
Thank you very much. It worked!


Question: Floodgate branch "Master" not available on ci.opencollab.dev

Question on: _docs/floodgate/linking.md
Where can I download the floodgate-sqlite-database.jar file to enable local linking?
This link is dead, the master branch is not on there.
https://ci.opencollab.dev/job/GeyserMC/job/Floodgate/job/master/

Duplicate of #248


Improve Nuget discoverability by adding "entityframework" and "entityframeworkcore" to tags

This is about improving the Nuspec tags in the product
Try a search for "entityframework core" or "entityframeworkcore" on nuget.org! 👎
Also, seperate tags with spaces as per the nuspec docs. https://docs.microsoft.com/en-us/nuget/schema/nuspec
Happy to do a PR 😄

PR would be great!

Already there

Sorry, mean coming up 😊

What about adding EFCore as well?

Done

Thanks @ErikEJ!