[ble mesh] Out of segment buffers (IDFGH-12353)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.3-dev-2087-g5f42493573
Espressif SoC revision.
esp32S3
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
S3 devkits
Power Supply used.
USB
What is the expected behavior?
When sent message cant be delivered and is not ACK tx buffer should be discarded maybe?
What is the actual behavior?
When sent message cant be delivered due to node not being in range, power loss or other reason and is not ACKnowledged, trying to resend eventually leads to BLE_MESH: Out of segment buffers in transport layer.
From now on any action is not possible. Here i am trying to provisioning another node
E (937154) BLE_MESH: Out of network buffers
E (937158) BLE_MESH: Failed to send client message 0x0000803d
I (937167) mesh-cb: example_ble_mesh_cfg_client_cb, error_code = 0xffffff97, event = 0x01, addr: 0x0005, opcode: 0x803d
E (937179) mesh-cb: Send config client message failed, opcode 0x803d

Steps to reproduce.

Provisioning node
turn off node simulating out of range
send data to vendor model - for testing i am sending very long data
resend data to vendor model

Debug Logs.
some relevant logs (not all)

I (89107) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (89108) BLE_MESH: Send next segment 25 after 60ms
I (89169) BLE_MESH: Send next seg 25, cred 0
I (89202) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (89203) BLE_MESH: Send next segment 26 after 60ms
I (89264) BLE_MESH: Send next seg 26, cred 0
I (89297) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (89298) BLE_MESH: Send next segment 27 after 60ms
I (89359) BLE_MESH: Send next seg 27, cred 0
I (89392) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (89393) BLE_MESH: Send next segment 28 after 60ms
I (89454) BLE_MESH: Send next seg 28, cred 0
I (89488) BLE_MESH: All segments sent, resend after 500ms
W (89989) BLE_MESH: Ran out of retransmission to 0x0005 (0/0)
I (106011) ble-mesh-dev: ble device: vendor model found
W (106017) sendMsg: opcode: 0xc11234, len: 336, status: ESP_OK
I (106017) BLE_MESH: send, app_idx 0x0000 src 0x0001 dst 0x0005
W (106024) clients_model_action_set: missing parameters
I (106030) BLE_MESH: send, len 339: c13412536564207574207065727370696369617469732c20756e6465206f6d6e69732069737465206e61747573206572726f722073697420766f6c7570746174
I (106051) BLE_MESH: Seg, send_tag 0x01, send_szmic 0, aszmic 0
E (106064) BLE_MESH: Out of segment buffers
I (161608) ble-mesh-dev: ble device: vendor model found
W (161615) sendMsg: opcode: 0xc11234, len: 336, status: ESP_OK
I (161615) BLE_MESH: send, app_idx 0x0000 src 0x0001 dst 0x0005
W (161621) clients_model_action_set: missing parameters
I (161628) BLE_MESH: send, len 339: c13412536564207574207065727370696369617469732c20756e6465206f6d6e69732069737465206e61747573206572726f722073697420766f6c7570746174
I (161649) BLE_MESH: Seg, send_tag 0x01, send_szmic 0, aszmic 0
E (161660) BLE_MESH: Out of segment buffers
I (625301) ble-mesh-dev: ble device: vendor model found
W (625307) sendMsg: opcode: 0xc11234, len: 336, status: ESP_OK
I (625308) BLE_MESH: send, app_idx 0x0000 src 0x0001 dst 0x0005
W (625314) clients_model_action_set: missing parameters
I (625320) BLE_MESH: send, len 339:
I (625341) BLE_MESH: Seg, send_tag 0x01, send_szmic 0, aszmic 0
E (625353) BLE_MESH: Out of segment buffers

Im not sure if its a real issue, or maybe again i am doing something wrong
Thanks

Hi, @chegewara
The reason for this is due to insufficient resources, but whether this is an issue needs further verification, so could you please change the log in function bt_mesh_adv_create_from_pool to
    BT_DBG("pool %p, buf_count %d, uinit_count %d",
            buf->pool, pool->buf_count, pool->uninit_count);

Change BT_DBG to BT_WARN , after that run your programme again and share the output log with me.

Hi @forx157
sorry for late reply.
It is happening whenever i set vendor model publish to address different than unicast address, like group address or 0xFFFF
I (61876) ble-mesh-dev: ble device: model found
location event: 2, OP code: 0x8227
local location event
{"north":0,"east":0,"alt":0,"floor":0,"rssi":-55}
W (61876) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 59
W (61886) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 58
W (61896) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 57
W (61896) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 56
W (61906) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 55
W (69146) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 55
W (69296) BLE_MESH: No OpCode 0x00008227 for elem 0
generic callback event: 0x0002
I (69296) ble-mesh-dev: ble device: model found
location event: 2, OP code: 0x8227
local location event
{"north":0,"east":0,"alt":0,"floor":0,"rssi":-47}
W (69306) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 55
W (69316) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 54
W (69326) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 53
W (69326) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 52
W (69336) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 51
W (76646) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 51

With unicast address buffers are reclaimed/freed
Thanks

And, like i mentioned in OP, it is also happening when publish address is unicast, but node is out of range and cant ACK
I (421796) ble-mesh-dev: ble device: model found
location event: 2, OP code: 0x8227
local location event
{"north":0,"east":0,"alt":0,"floor":0,"rssi":-62}
W (421806) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 55
W (421816) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 54
W (421826) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 53
W (421826) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 52
W (421836) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 51
W (421866) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 50
W (424636) BLE_MESH: Ran out of retransmission to 0x0006 (0/0)
W (429166) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 51
W (429286) BLE_MESH: No OpCode 0x00008227 for elem 0
generic callback event: 0x0002
I (429296) ble-mesh-dev: ble device: model found
location event: 2, OP code: 0x8227
local location event
{"north":0,"east":0,"alt":0,"floor":0,"rssi":-57}
W (429296) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 51
W (429306) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 50
W (429316) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 49
W (429326) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 48
W (429326) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 47
W (431866) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 46
W (432026) BLE_MESH: Ran out of retransmission to 0x0006 (0/0)
W (436666) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 47

Which i believe should not happen when publish, only when sending with ACK.

@chegewara
Looking through the logs, it doesn't look like there's anything wrong, the resources are in a dynamic process of allocation and free.
In addition, based on the situation you described, it should be that the segment message is sent and the segment message is turned on for retransmission due to the node being out of communication range, so the segment message will continue to take up resources until the end of the retransmission.
Maybe you can reduce the message advertising frequency to avoid the resource shortage situation.
Or you could streamline the broadcast messages to be advertising as non-packetised messages.

I think i dont understand something.
Why it is working when publish to unicast address and not working with the same code and publishing to group address?
Does segmented message require ACK after every segment transmission? There is no way to ACK when receiver address is other than unicast, because its against specs (which node in the group should send ACK, what if address is 0xFFFF).
Thanks

I continue to read thru the code. Is it not that after this the buffers should be free?
I (16856) BLE_MESH: Publish Retransmit Count 0 Interval 100ms
I (16866) BLE_MESH: send, app_idx 0x0000 src 0x0005 dst 0xc002
I (16876) BLE_MESH: send, len 52: c134127b226e6f727468223a302c2265617374223a302c22616c74223a302c22666c6f6f72223a302c2272737369223a2d36337d
I (16886) BLE_MESH: Seg, send_tag 0x01, send_szmic 0, aszmic 0
W (16896) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 51
W (16906) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 50
W (16906) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 49
W (16916) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 48
W (16926) BLE_MESH: pool 0x3ffc1d20, buf_count 60, uinit_count 47
I (16936) BLE_MESH: Settings store, waiting 0 seconds
I (16946) BLE_MESH: Use security credentials 0x00, proxy 0
I (16946) BLE_MESH: Network PDU, count 2, interval 20
I (16956) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (16956) BLE_MESH: Send next segment 1 after 60ms
I (17026) BLE_MESH: Send next seg 1, cred 0
I (17026) BLE_MESH: Settings store, waiting 0 seconds
I (17036) BLE_MESH: Use security credentials 0x00, proxy 0
I (17036) BLE_MESH: Network PDU, count 2, interval 20
I (17056) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (17066) BLE_MESH: Send next segment 2 after 60ms
I (17126) BLE_MESH: Send next seg 2, cred 0
I (17126) BLE_MESH: Settings store, waiting 0 seconds
I (17136) BLE_MESH: Use security credentials 0x00, proxy 0
I (17136) BLE_MESH: Network PDU, count 2, interval 20
I (17156) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (17166) BLE_MESH: Send next segment 3 after 60ms
I (17226) BLE_MESH: Send next seg 3, cred 0
I (17226) BLE_MESH: Settings store, waiting 0 seconds
I (17236) BLE_MESH: Use security credentials 0x00, proxy 0
I (17236) BLE_MESH: Network PDU, count 2, interval 20
I (17266) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (17266) BLE_MESH: Send next segment 4 after 60ms
I (17326) BLE_MESH: Send next seg 4, cred 0
I (17326) BLE_MESH: Settings store, waiting 0 seconds
I (17336) BLE_MESH: Use security credentials 0x00, proxy 0
I (17336) BLE_MESH: Network PDU, count 2, interval 20
I (17356) BLE_MESH: All segments sent, resend after 250ms
W (17616) BLE_MESH: Multicast Retransmission Count left: 1
I (17616) BLE_MESH: Resend seg 0, cred 0
I (17616) BLE_MESH: Settings store, waiting 0 seconds
I (17636) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (17636) BLE_MESH: Send next segment 1 after 60ms
I (17696) BLE_MESH: Send next seg 1, cred 0
I (17696) BLE_MESH: Settings store, waiting 0 seconds
I (17726) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (17736) BLE_MESH: Send next segment 2 after 60ms
I (17796) BLE_MESH: Send next seg 2, cred 0
I (17796) BLE_MESH: Settings store, waiting 0 seconds
I (17826) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (17836) BLE_MESH: Send next segment 3 after 60ms
I (17896) BLE_MESH: Send next seg 3, cred 0
I (17896) BLE_MESH: Settings store, waiting 0 seconds
I (17926) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (17936) BLE_MESH: Send next segment 4 after 60ms
I (17996) BLE_MESH: Send next seg 4, cred 0
I (17996) BLE_MESH: Settings store, waiting 0 seconds
I (18036) BLE_MESH: All segments sent, resend after 250ms
W (18286) BLE_MESH: Multicast Retransmission Count left: 0
I (18286) BLE_MESH: Resend seg 0, cred 0
I (18286) BLE_MESH: Settings store, waiting 0 seconds
I (18316) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (18316) BLE_MESH: Send next segment 1 after 60ms
I (18376) BLE_MESH: Send next seg 1, cred 0
I (18376) BLE_MESH: Settings store, waiting 0 seconds
I (18406) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (18416) BLE_MESH: Send next segment 2 after 60ms
I (18476) BLE_MESH: Send next seg 2, cred 0
I (18476) BLE_MESH: Settings store, waiting 0 seconds
I (18506) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (18516) BLE_MESH: Send next segment 3 after 60ms
I (18576) BLE_MESH: Send next seg 3, cred 0
I (18576) BLE_MESH: Settings store, waiting 0 seconds
I (18606) BLE_MESH: Segment interval should be at least 90 (cur 60)
I (18616) BLE_MESH: Send next segment 4 after 60ms
I (18676) BLE_MESH: Send next seg 4, cred 0
I (18676) BLE_MESH: Settings store, waiting 0 seconds
I (18716) BLE_MESH: All segments sent, resend after 250ms
W (18966) BLE_MESH: Complete tx sdu to multicast 0xc002           <--------------- HERE

Should be fragments resend at all when its publish to non-unicast address? (just asking, because i have no idea, sorry)

@forx157
I believe i found where the bug is and its hard to believe it (i think)
In this loop all nack buffers should be freed (line 379)
https://github.com/espressif/esp-idf/blob/master/components/bt/esp_ble_mesh/core/transport.enh.c#L379
    for (size_t i = 0; i <= tx->seg_n && tx->nack_count; i++) {
        if (tx->seg[i] == NULL) {
            continue;
        }

        seg_tx_done(tx, i);
    }

But look at line 371 (whats going on there?)
    tx->seg_n = 0;

How is the impact on loop?

@forx157 I believe i found where the bug is and its hard to believe it (i think)
In this loop all nack buffers should be freed (line 379) https://github.com/espressif/esp-idf/blob/master/components/bt/esp_ble_mesh/core/transport.enh.c#L379
    for (size_t i = 0; i <= tx->seg_n && tx->nack_count; i++) {
        if (tx->seg[i] == NULL) {
            continue;
        }

        seg_tx_done(tx, i);
    }

But look at line 371 (whats going on there?)
    tx->seg_n = 0;

How is the impact on loop?
This code works much better (to me)
    for (size_t i = 0; i <= tx->seg_n && tx->nack_count; i++) {
        if (tx->seg[i] == NULL) {
            continue;
        }

        seg_tx_done(tx, i);
    }

    tx->cb = NULL;
    tx->cb_data = NULL;
    tx->seq_auth = 0U;
    tx->sub = NULL;
    tx->seg_n = 0;
    tx->last_seg_n = 0;
    tx->lsn_updated = 0;
    tx->dst = BLE_MESH_ADDR_UNASSIGNED;
    tx->surc = 0;
    tx->surwpc = 0;
    tx->smrc = 0;

    tx->nack_count = 0U;

Thanks
@chegewara
Yes, there is indeed a problem here, I've submitted the MR with the fix and it should be synced to github soon. Once again, thanks for the work you've put in.

I think i dont understand something.
Why it is working when publish to unicast address and not working with the same code and publishing to group address?
Does segmented message require ACK after every segment transmission? There is no way to ACK when receiver address is other than unicast, because its against specs (which node in the group should send ACK, what if address is 0xFFFF).
Thanks
PS maybe in that case it would be better to send message with no ACK, what do you think

@chegewara
When advertising a segment message to a group address, receivers is not asked to reply to the segment ack, but the message will be advertised five times to ensure that the receivers can receive the message, which results in a longer resource usage time when advertising a segmented message to a group address than when the destination address is a unicast address.

Thanks for acknowledging it is a bug and fixing it.

@forx157 Would you be able to post the git commit on this thread when it is completed please,
Thank you,

Hi @forx157
i dont want to open new issue every time i think i find a bug (or maybe i should?), so this time i post it here.
This condition is wrong:
https://github.com/espressif/esp-idf/blob/master/components/bt/esp_ble_mesh/api/core/esp_ble_mesh_networking_api.c#L579-L583
It should fail either source address is not unicast or dst address is wrong, but now it fails only when all 3 conditions fail.
Thanks

@chegewara
Thanks for the detailed bug report and letting us know about this. we will fix this soon.
And it is recommended that you create a new bug report so that it is easy for our team to track.


Fix unique shape inference

Fixes https://github.com/tensorflow/tensorflow/issues/44788. Seems that python side hasn't used V2 ops yet.
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/unique_op.cc#L131
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/array_ops.py#L2007-L2011

Sorry for the delay, slipped of my radar last week. Will try to get to it shortly.

CL mostly looks good. The reason why this isn't being used in python right now is that ideally we'd like multiple axis support and for that I think we need to implement an UniqueOpV3 that supports it.


Remove need for Bazel flag: --spawn_strategy=sandboxed [phab:D583]

Created by schroederc at 2015-10-28 18:49:40:
Fixes #697

schroederc wrote at 2015-10-28 19:22:39:
Remove -T from ln command

zarko accepted this revision at 2015-10-28 19:24:04

schroederc closed via commit 2d39bfae58c54513a767cde2282bb2f6f82168c3 at 2015-10-28 19:24:39


macos Blank screen on dev tauri application[bug]

Describe the bug
When I use "cargo tauri dev" to launch the default template project, the interface displays a blank screen, and right-clicking has no response. Upon comparing it with an app that runs correctly, I noticed that it lacks the "xxx Graphics and Media" process. How can I resolve this issue?

vite.config.js:
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";

// https://vitejs.dev/config/
export default defineConfig(async () => ({
  plugins: [vue()],

  // Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
  //
  // 1. prevent vite from obscuring rust errors
  clearScreen: false,
  // 2. tauri expects a fixed port, fail if that port is not available
  server: {
    port: 3000,
    strictPort: true,
    host: true,
    watch: {
      // 3. tell vite to ignore watching `src-tauri`
      ignored: ["**/src-tauri/**"],
    },
  },
}));

tauri.conf.json
{
  "build": {
    "beforeDevCommand": "npm run dev",
    "beforeBuildCommand": "npm run build",
    "devPath": "http://<IP_ADDRESS>:3000",
    "distDir": "../dist"
  },
  "package": {
    "productName": "sa-evaluation",
    "version": "0.0.0"
  },
  "tauri": {
    "allowlist": {
      "all": false,
      "shell": {
        "all": false,
        "open": true
      }
    },
    "bundle": {
      "active": true,
      "targets": "all",
      "identifier": "com.tauri.dev",
      "icon": [
        "icons/32x32.png",
        "icons/128x128.png",
<EMAIL_ADDRESS>        "icons/icon.icns",
        "icons/icon.ico"
      ]
    },
    "security": {
      "csp": null
    },
    "windows": [
      {
        "fullscreen": false,
        "resizable": true,
        "title": "sa-evaluation",
        "width": 800,
        "height": 600
      }
    ]
  }
}

package.json
{
  "name": "sa-evaluation",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "vite build",
    "preview": "vite preview",
    "tauri": "tauri"
  },
  "dependencies": {
    "vue": "^3.3.4",
    "@tauri-apps/api": "^1.5.2"
  },
  "devDependencies": {
    "@vitejs/plugin-vue": "^4.2.3",
    "vite": "^5.0.0",
    "@tauri-apps/cli": "^1.5.8"
  }
}

Reproduction
No response
Expected behavior
No response
Full tauri info output
[✔] Environment
    - OS: Mac OS 14.0.0 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.75.0 (82e1608df 2023-12-21)
    ✔ cargo: 1.75.0 (1d8b05cdd 2023-11-20)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)
    - node: 21.5.0
    - yarn: 1.22.21
    - npm: 10.2.4

[-] Packages
    - tauri [RUST]: 1.5.4
    - tauri-build [RUST]: 1.5.1
    - wry [RUST]: 0.24.7
    - tao [RUST]: 0.16.5
    - tauri-cli [RUST]: 1.5.9
    - @tauri-apps/api [NPM]: 1.5.3
    - @tauri-apps/cli [NPM]: 1.5.9

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://<IP_ADDRESS>:3000/
    - framework: Vue.js
    - bundler: Vite

Stack trace
No response
Additional context
No response

When I run in debug mode using VS Code, the output shows the following message:
2023-12-31 18:19:23.280129+0800 sa-evaluation[12628:14467008] [Process] WebContent process (0x114000c00) took 3.274835 seconds to launch
2023-12-31 18:19:23.636193+0800 sa-evaluation[12628:14467008] RemoteLayerTreeDrawingAreaProxyMac::scheduleDisplayLink(): page has no displayID

RemoteLayerTreeDrawingAreaProxyMac::scheduleDisplayLink(): page has no displayID
2023-12-31 18:19:23.734779+0800 sa-evaluation[12628:14467008] RemoteLayerTreeDrawingAreaProxyMac::scheduleDisplayLink(): page has no displayID

RemoteLayerTreeDrawingAreaProxyMac::scheduleDisplayLink(): page has no displayID
2023-12-31 18:19:26.747750+0800 sa-evaluation[12628:14467008] [Process] GPUProcessProxy::didBecomeUnresponsive: GPUProcess with PID 12638 became unresponsive, terminating it
2023-12-31 18:19:26.748731+0800 sa-evaluation[12628:14467008] [Process] 0x1130d5540 - GPUProcessProxy::gpuProcessExited: reason=Unresponsive
2023-12-31 18:19:26.748765+0800 sa-evaluation[12628:14467008] [Process] 0x114000c00 - [PID=12635] WebProcessProxy::gpuProcessExited: reason=Unresponsive
2023-12-31 18:19:26.748933+0800 sa-evaluation[12628:14467008] [Process] 0x114000000 - [PID=12637] WebProcessProxy::gpuProcessExited: reason=Unresponsive
2023-12-31 18:19:26.751505+0800 sa-evaluation[12628:14467165] [assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}>
2023-12-31 18:19:26.751530+0800 sa-evaluation[12628:14467165] [ProcessSuspension] 0x113020240 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'GPUProcess Background Assertion' for process with PID=12638, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}
2023-12-31 18:19:52.996294+0800 sa-evaluation[12628:14467008] [ProcessSuspension] 0x11102f2e8 - ProcessThrottlerTimedActivity::activityTimedOut:
2023-12-31 18:21:20.101112+0800 sa-evaluation[12628:14467008] [PerformanceLogging] Notifying the client that background WebProcess with pid 12635 has become unresponsive

My app seems to be fine, but I occasionally get the same error msg as above on my Mac:
RemoteLayerTreeDrawingAreaProxyMac::scheduleDisplayLink(): page has no displayID
I'm on MacOS 14.2.1 with the latest of everything Tauri 1.x
I think the message occurs for me when I exit my app:
$ yarn tauri dev
yarn run v1.22.21
$ tauri dev
     Running BeforeDevCommand (`yarn dev`)
$ vite

  VITE v5.0.10  ready in 192 ms

  ➜  Local:   http://localhost:1420/
  ➜  Network: use --host to expose
        Info Watching /Users/me/myapp/src-tauri for changes...
   Compiling myapp v0.0.0 (/Users/me/myapp/src-tauri)
    Finished dev [unoptimized + debuginfo] target(s) in 3.31s
RemoteLayerTreeDrawingAreaProxyMac::scheduleDisplayLink(): page has no displayID
✨  Done in 21.66s.
$

Same issue, did you find a fix?

Not yet. it's not causing me any issues, afaict, but I also filed a support request on the Tauri Discord just in case:
https://discord.com/channels/616186924390023171/1194758861886857268

Thanks. @V119, I have the same issue, did you find a fix ?

After I restarted the my computer, it was fixed. I don't know what happened.

Thanks. @V119, I have the same issue, did you find a fix ?

I suspect it's related to WebView but I don't know the root cause, and I'm not sure how to resolve it. and i find this bug may related to this problem  ,but it's on Linux platform, Hope these clues can help you.

Thanks you @V119, appreciate your help

I solve this issue, cargo install wasm-bindgen-cli and cargo install tauri-cli, update the binary, then cargo tauri dev, it works!

My app seems to be fine, but I occasionally get the same error msg as above on my Mac: RemoteLayerTreeDrawingAreaProxyMac::scheduleDisplayLink(): page has no displayID
I'm on an M1 Mac with MacOS 14.2.1 with the latest of everything Tauri 1.x I think the message occurs for me when I exit my app:
$ yarn tauri dev
yarn run v1.22.21
$ tauri dev
     Running BeforeDevCommand (`yarn dev`)
$ vite

  VITE v5.0.10  ready in 192 ms

  ➜  Local:   http://localhost:1420/
  ➜  Network: use --host to expose
        Info Watching /Users/me/myapp/src-tauri for changes...
   Compiling myapp v0.0.0 (/Users/me/myapp/src-tauri)
    Finished dev [unoptimized + debuginfo] target(s) in 3.31s
RemoteLayerTreeDrawingAreaProxyMac::scheduleDisplayLink(): page has no displayID
✨  Done in 21.66s.
$

Can confirm the error mentioned (RemoteLayerTreeDrawingAreaProxyMac::scheduleDisplayLink(): page has no displayID) happens also on M1 Air w/ macOS 15.0 Beta (24A5279h)
In my case this popups and Tauri exits after changing any of the frontend (html/css/js)

I solve this issue, cargo install wasm-bindgen-cli and cargo install tauri-cli, update the binary, then cargo tauri dev, it works!

Unfortunately this seems to no longer work or does not work in my case :(

Yes, that did the trick. But ended up with some other strange errors for us using Mac.
RemoteLayerTreeDrawingAreaProxyMac::scheduleDisplayLink(): page has no displayID when I switch between the pages.

When I try to open an invoice, it ends up with a blank screen.

When I try to edit an invoice, some parts get put outside the frame as you can see.
When I go over to other pages, and try to either open or edit it ends up with the same result.

The app I´m facing this issue in is working fine. But throws this error when I try to open up other pages inside the app.
Running a MacBook Pro mid 15, Sonoma 14.5.

I verified the port os not occupied by anything and I have strictPort: true in my vite.config.ts. Still, after changing the port it worked again 🤷

for my part I ended up buying a new macbook

in dmesg I'm getting a lot of these when trying to start the tauri app:

a few of these:

I will try to find out more.

My app seems to be fine, but I occasionally get the same error msg as above on my Mac: RemoteLayerTreeDrawingAreaProxyMac::scheduleDisplayLink(): page has no displayID

I've recently started getting these as well in Tauri 2 on MacOS 14.6.1.

I'm also on tauri 2. To be more specific:
[✔] Environment
    - OS: Mac OS 15.0.1 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
    ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 22.7.0
    - yarn: 1.22.22
    - npm: 10.8.2

I'm using svelte 5 and found these errors:
TypeError: slot_fn is not a function. (In 'slot_fn(anchor, slot_props)', 'slot_fn' is an instance of Object)

	in button.svelte
	in button.svelte
	in SidebarEntry.svelte
	in Sidebar.svelte
	in +layout.svelte
	in root.svelte

Thus, can this bug be related to svelte?


Testing updates to work with ChefDK

Reorder the README to put the license at the end
Change names of projects it works with
Remove Gemfile and assume ChefDK
Update specs to be compatible with new ChefDK/RSpec/ChefSpec

/cc @chef/chef-visual-interaction

Also cc @chef/lob, I think.

:+1: Specs pass on my machine.


Test content included in sample Alloy site database

After spinning up a new Alloy site using the templates, there is a test page with test content included in the database:

To recreate:

Create a new site with:
dotnet new epi-alloy-mvc
Run the site

Pretty good feature i’d say, just remove the pagetype in code if you dont like it? I guess epi internally uses it for testing new versions.


operator lightbits-operator (0.0.2)

New operator bundle
Name: lightbits-operator
Version: 0.0.2
Certification project: 61a7e83955195b038c9e5f43
Test result URL: https://catalog.redhat.com/api/containers/v1/projects/certification/test-results/id/63b69a61b38f0c095bb2e209
Test logs URL: https://catalog.redhat.com/api/containers/v1/projects/certification/artifacts/id/63b69a5e2e7b1bca7c5c137d

close and reopen to trigger CI


Fix Go compilation

Before this commit, the compilation fails with:
(18:39:29) ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/ec321eb2cc2d0f8f91b676b6d4c66c29/external/io_bazel_rules_go/BUILD.bazel:71:16: in (an implicit dependency) attribute of go_context_data rule @@io_bazel_rules_go//:go_context_data: in $whitelist_function_transition attribute of go_context_data rule @@io_bazel_rules_go//:go_context_data: package group '@@bazel_tools//tools/whitelists/function_transition_whitelist:function_transition_whitelist' is misplaced here (they are only allowed in the visibility attribute)

(https://buildkite.com/bazel/starlark/builds/2181#01910a16-5592-4949-8b24-6f6dbf212e6f)

@tetromino


Load balancer grouping by annotation

The aws-load-balancer-controller supports an AWS specific annotation called alb.ingress.kubernetes.io/group.name that handles groups together multiple Ingress/Service resources into a single Load Balancer.
A similar annotation would be super useful for the oci-native-ingress-controller so that we don't need to take care of priorly creating the necessary load balancers and specifying the OCID of each one of them.
Docs for AWS: https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.7/guide/ingress/annotations/#group.name

@galovics You don't need to create a new load balancer in advance. NIC would create a new LB for each ingress class and maps all associated ingress resources to the LB (those are related to the ingress class).

@nirpai are you saying that each defined IngressClass is always associated to the same and single OCI Load Balancer?

Yes.

Oh okay, that wasn't clear in the documentation but good to know. I'm going to close this issue then. Thanks again.


figure out an intuitive solution for server file distibution

I think the current system covers this issue - reopen if it doesn't

 yarden.zamir on Discord says

The current solution doenst cover curseforge, so its not good enough, we need to also figure out cureseforge dist for server

 yarden.zamir on Discord says

But we can move to Figure out server file automation for curseforge for that


Implement Linked List

Would you like to work on the issue?
No

In what language?

I can do it in c...may I?


index.php issue

Hi, i face some issue on CI 2.0.. about hosting problem.. i need some one help.. this is my first project developed using CI. so i face index.php issue in base URL.. ple help me... i used .ht-access file but that file cant removing index.php.. in localhost base_url working properly, but when i hosted base URL should not work without index.php. ex: www.xxx.com/index.php/search.
.htaccess file...
RewriteEngine on
RewriteBase /xxx.com
RewriteCond $1 !^(/index.php|resources|robots.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(/index.php|css|images|js|robots.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
i face page not found error...
if i use base_url in config file like $config['base_url']= 'http://www.xxx.com/index.php'; the link should work properly..
please help me, how can i remove the index.php in CI framework when i hosted..

Same as your duplicate issue here:  https://github.com/EllisLab/CodeIgniter/issues/1001  this is not a software bug, please post on the codeigniter forums for help with the rewrite.


Null Reference Exception in SystemKeyboardExample

Describe the bug
When running the HandInteractionExamples the Unity log is spammed with null reference exceptions from the SystemKeyboardExample due to the debug text not being set up in the inspector.
To reproduce
Steps to reproduce the behavior:

Run the HandInteractionExamples on a HoloLens 2.
Download the UnityPlayer.log
Notice NullReferenceException: Object reference not set to an instance of an object. at Microsoft.MixedReality.Toolkit.Examples.Demos.SystemKeyboardExample.Update () [0x00000] in <00000000000000000000000000000000>:0  throughout the log.

Your Setup (please complete the following information)

Unity Version 2018.4.2f1
mrtk_development

Thank you! Just hit this


Python 3 support

Most of the simple compatibility stuff is finished (i.e., #1657, etc.). So the question is how to do stuff that is incompatible between 2 and 3?

six
future

There are a boatload of iter* calls, either due to performance or just plain copy & paste. In that regard, it would be much nicer to just use Python 3 syntax via future. Any thoughts on the two?
Remaining items:

[x] #1701 - Python 3 installable
[x] #1702 - File I/O in contexts
[x] #1709 - Portable comparisons
[x] #1770 - Handle changes to builtins
[x] #1771 - Handle changes to exceptions and warnings
[x] #1773 - Handle binary I/O consistently
[x] #1772 - Add hashes to some types where necessary
[x] #1777 - Fix some methods due to inheritance changes
[x] #1778 - Ensure tests work on sorted data
[x] #1774 - Fix some GRIB issues
[x] #1782 - Fix Unicode handling
[x] #1781 - Fix some new stuff in PP loader
[x] #1787 - Python 3 compatibility for C extension
[x] #1842 - Final tweaks and Travis enablement

Ping?

We've used six in Cartopy, so sticking with that would avoid the need for yet another dependency.

Ah, it seems it's a good thing I started trying to do it that way already, then.

Currently reaching about 90% test passes now, but most of the failures are now due to Grib's issues, or with something I don't yet understand.

Currently reaching about 90% test passes now, but most of the failures are now due to Grib's issues, or with something I don't yet understand.

It isn't unreasonable to state that GRIB is not supported on Python3. We do precisely that for Windows. GRIB is an optional dependency for Iris after all.

It isn't unreasonable to state that GRIB is not supported on Python3. We do precisely that for Windows. GRIB is an optional dependency for Iris after all.

Agreed, with the following caveat: When we announce Python 3 support we must make sure to declare very openly which components are not supported.

Hrm, you're right that's how it's documented, but the tests seem to disagree.

What is the encoding for the text fields in the NAME, NIMROD formats?

----------------------------------------------------------------------
Ran 3432 tests in 86.103s

FAILED (SKIP=16, errors=4, failures=6)

99% there...

99% there...

:clap: Impressive. :smile:

I've got about 8 branches split out into common changes and ready to make PRs. But I'm not sure how co-dependent they are, so I'm not going to open any PRs until the other 4 are merged.

If there are still multiple steps to achieve this then perhaps a checklist in the description, or split it out into multiple issues.

Thanks for adding the checklist @QuLogic :smile:

Hmm, looks like there are no 3.3 dependencies in conda. And a few missing things in 3.4, too.

And a few missing things in 3.4, too.

https://github.com/SciTools/conda-recipes-scitools/blob/master/pyugrid/meta.yaml#L14

Hmm, looks like there are no 3.3 dependencies in conda.

I decided to keep the matrix small. It is easy enough to fix, but has the cost of an extra load of built distributions. Given we want to keep the channel as small as possible, do you feel that py33 is critical @QuLogic?

Well, that's up to you. Cartopy, biggus, etc. are tested on 3.3.

It turned out to be pretty easy to split apart the smaller branches, so there are 5 new PRs to review.

The first build to pass on Travis without trouble is finally up (except 3.3 has no conda deps.)

The first build to pass on Travis without trouble is finally up (except 3.3 has no conda deps.)

Is there a good reason to support py33 (other than the fact that we can)? Otherwise, I'm inclined to keep our lives as simple as possible and state py27 / py34 / (py35) support only.

It used to be the latest supported on RHEL, but now software collections has a 3.4 backport, so perhaps it is not so necessary.

As @pelson already suggested, we probably only need support Python 2.7 and 3.4 : comment
Against 3.3 : few people would specifically need it
Against 3.5 : available conda builds are too restrictive, especially regarding our current need for matplotlib=1.3.1.  It will make much more sense to progress this when we have fixed our testing dependency on an older matplotlib version (or at least updated it),  but that has to be future work, not a pre-requisite for 1.9.
So just 2.7 + 3.4  sounds like a a nice simple goal
(= stated support; tests work; testing in Travis)
@QuLogic @pelson @rhattersley are we all agreed that will be good enough ?

Sounds good to me. I think most of the hard work for updating matplotlib has to do with cartopy, but that's already in progress.

I'd be very happy with 2.7 + 3.4. :+1:

So... this is done?!? :grin:

So... this is done?!? :grin:

I believe it is : everything here has now been included somewhere else.
Agreed @QuLogic ?

Pretty much; I was holding off unless any last minute issues came up.

:tada: :tada: - woohoo! Welcome to the 21st century :stuck_out_tongue_winking_eye: ! :+1:

Pretty much; I was holding off unless any last minute issues came up.

Superb! Well done everyone... and especially @QuLogic! :clap:
I'd love to close this PR now, but I'd rather @QuLogic did it. (If anything else comes up I think we should just raise a specific issue.)

:birthday: :tada:

:metal:

Thanks all! And special thanks to Elliott!
I am looking forward for the next release!
Iris was the last major dependency I needed to move to py3.
On Nov 20, 2015 7:46 AM, "Richard Hattersley"<EMAIL_ADDRESS>wrote:

—
Reply to this email directly or view it on GitHub.


crash log path should decode spaces ?

Describe the bug
----- END OF STACK TRACE -----
2024/05/19 12:15:03 SAVED CRASH LOG TO /Users/apple/Library/Plot View/crash-logs/crash_2024-05-19_12-15-03

The actual path needs tube "escaped" to allow for the way spaces are done for folders in MAC OS, and perhaps other OS too.
Correct output is:
/Users/apple/Library/Plot\ View/crash-logs/crash_2024-05-19_12-15-03

How to reproduce
I got this running the Plotview demo.
Example code
No response
Relevant output
No response
Platform
macOS

Yep, I will work on implementing this soon. Thanks for reporting this!

Also, I am in the middle of a major rewrite of our widget configuration structure (see the tree branch), so it may take a little longer than usual for this to be fixed on the main branch.

No worries. Thanks for letting me know…
will leave it open as an issue

Apologies for the delayed fix; I just finished (almost all of) the major refactoring I was working on. It should be working now; please let me know if you have any other issues.


Enable HTML5 mode

Waiting for this https://github.com/jhipster/generator-jhipster/pull/9098 to get merged before doing it.
It only needs configuration with VueRouter (https://router.vuejs.org/guide/essentials/history-mode.html)

Just to not forget. We need to take care about :

this issue: https://github.com/jhipster/generator-jhipster/pull/9593
this fix by @ruddell : https://github.com/jhipster/generator-jhipster/pull/9593


feat:[CDS-85313]: Customize repeat looping strategy step and stage name similar to that of matrix

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65c1e1d2d33d0f49462fd9b9--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65c8fde5a4e7cf3bc656c6ca--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65c9e5b75289eec306113547--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65ca552341ac7c19c11311c6--harness-developer.netlify.app

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

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65cc36484419d75ff60f7de4--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65ccce9bd1db2016b4b4334e--harness-developer.netlify.app


Select2 v4 Cursor sticks to the control for multiselect

After clicking in multiselect with v4, the cursor does not leave the control. If clicked outside, the control shows up at the top-left of the page.  Here are the results of various actions to focus out.
After clicking outside the element:

After pressing tab (to focus out):

After clicking (focus) another field:

After clicking a different element (a different tab in this case):

Hello.
I had a similar problem.
In my case, the problem is because the "select2" creates the Dropdown elements always attached to the body element.
So I used the "dropdownParent" option assigning a div element of the select tag.
See on options:https://select2.github.io/options.html

Sounds like an interesting issue, is there a jsbin/jsfiddle where we can reproduce this issue at?

Forgot to mention that this issue is found only in IE (my version is 11).  This is not found in Firefox or Chrome.

Forgot to mention that this issue is found only in IE (my version is 11).

Sounds like it may be related to https://github.com/select2/select2/issues/3300.
I recently fixed a focus war issue on master, but unfortunately that is currently failing to build on IE.


does not work as shown - please update for webforms 2020

[Enter feedback here]
the following simply does not work.  You always get a null!  This needs updating for WebForms on  ASP.Net 4.7.2!
var configurationValue = ConfigurationManager.AppSettings["ConfigurationSettingName"];

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1974914b-d7fa-8a3e-e7c0-3d80eb5d5079
Version Independent ID: e24f4a05-bf1b-331e-b234-1c904ac95346
Content: App configuration
Content Source: docs/architecture/blazor-for-web-forms-developers/config.md
Product: dotnet-architecture
Technology: blazor
GitHub Login: @csharpfritz
Microsoft Alias: jefritz

@csharpfritz Can you help with this question?


Mv include/openssl/conf_api.h to conf/conf_lcl.h

Private internal declarations only.

Doesn't matter, it's a public header.  This is for 1.2.0

None of the functions were exported, so I could make a dummy file like ec.h  Okay?

You forget static libraries, they're available there.
Look, I agree that this header file should never have been made public, but now it is, and our policy is pretty strict in this regard.  I suggest a team vote at this point.

And if you make those internal functions only, please rename them not to start with _CONF

Nope, I wasn't thinking about static libs.  Fine.  Sad, but fine.

For what it's worth, I pre-approve for 1.2.0

Refreshing old PR's.  Also renamed _CONF_xxx to conf_xxx per @kroeckx.  Doing that turned up a "bug" -- two instances of SSL_add_conf_module, in both libcrypto and libssl).
Yes, I know this is for 1.2.0.

Yes, I know this is for 1.2.0.

Please label it accordingly.

I am closing this as the next release pledges to maintain compatibility.


QPDFObjectHandle::QPDFObjectHandle(QPDFObjectHandle const&) constructor no longer present in libqpdf.so

This change breaks short-form range-based for loops of std::vector, among other things.
MyClass:MyFunc(){

  std::vector<QPDFObjectHandle>* page = getPages();
  for (auto page: pages)//works linking against QPDF 9.1.1, fails against later versions
  {
    doThing();
  }
}

qpdf911-nm.txt
qpdf10-nm.txt
nm -gDC output provided for both libraries.
Note at lines 510 in 911 and 526 in 10 - qpdf9.1.1 has a constructor for QPDFObjectHandle::QPDFObjectHandle(QPDFObjectHandle const&), qpdf 10 does not.
When I attempt to compile this code against the new library, I get the following linker error:
/usr/bin/ld: ./src/myProg.o: in function `MyClass::myFunc(QPDF*)':
myProg.cpp:(.text+0x741): undefined reference to `QPDFObjectHandle::QPDFObjectHandle(QPDFObjectHandle const&)'
/usr/bin/ld: myProg.cpp:(.text+0x7bc): undefined reference to `QPDFObjectHandle::QPDFObjectHandle(QPDFObjectHandle const&)'
/usr/bin/ld: myProg.cpp:(.text+0x83a): undefined reference to `QPDFObjectHandle::operator=(QPDFObjectHandle const&)'

Is this a side effect of the 10.0 performance enhancements that I need to work around, or a regression?

The code snippet isn't a real code snippet that I can actually compile, so I have no way to reproduce this using your code snippet. However, this actual code snippet works fine with qpdf 10.0.1:
#include <qpdf/QPDFObjectHandle.hh>
#include <qpdf/QPDF.hh>

int main()
{
    QPDF pdf;
    pdf.processFile("/tmp/a.pdf");
    std::vector<QPDFObjectHandle> pages = pdf.getAllPages();
    for (auto page: pages)
    {
        std::cout << page.isDictionary() << std::endl;
    }
    return 0;
}

The qpdf library uses operator= and copy constructor for QPDFObjectHandle quite extensively. They definitely work. There must be something else going on. Relevant information would include what OS/compiler (including version) you're using, whether you're using an OS package or building it yourself, and how you're compiling/linking your code. Also note that 9.1.1 and 10.0.0 are not binary compatible, so you have to recompile, not just relink, to move from one version to another. qpdf uses semantic versioning, so across major versions, there's no linker compatibility. You do need to be using a compiler that supports C++11. The copy constructor and operator= are declared with = default, which is a C++11 feature.

Glad it's working. Thanks for following up.


Generate model objects in resolver generator

More info here:
https://github.com/aerogear/graphback/issues/468
This will allow us to decompose the runtime layer as the default choice.
Developers then could manually change models as they will not be overwritten once created.

Done in #639


Allow specifying arch - especially for darwin

Having functionality to specify arch would be great to have. Sometimes projects might be dependent on x86_64 binaries
Something like -
$ gobrew install 1.19@darwin-amd64
[Info] Downloading version: 1.19@darwin-amd64
[Info] Downloading from<EMAIL_ADDRESS># FAIL
[Info]: Downloading version failed<EMAIL_ADDRESS>returned status code 404
[Error]: Please check connectivity to url<EMAIL_ADDRESS>

Interesting….

Item 1
Probably 1.19@darwin-amd64 is not a good idea.
Following could be better
gobrew install 1.19 darwin-amd64

We currently use @ for 1.19@latest and 1.19@dev-latest
Item 2
I also wonder if you can set envs as GOOS=darwin GOARCH=amd64 gobrew install 1.19, as currently there is a method that uses runtime vars
https://github.com/kevincobain2000/gobrew/blob/4328ce1176bbb83904e650f8bf815e7600a49fc0/gobrew.go#L85-L87

Item 1 is ideal. With item 2 does gobrew support having 1.19 amd and also arm?

well, it is not a gobrew thing. It autodetects what arch you are currently on and fetches the go binary for that. I still wonder why would you need to specify the arch that is different than your current OS

One of the projects use https://github.com/rubrikinc/go-pcre as a dependency, when I tried to run it on arm build it fails with arch mismatch. The same would run on amd64 build

hmmm okay. In such a case, probably we should consider a lot more changes to it, than simply allowing to install the desired go (with arch).
A few changes I can quickly thing could be as below:

Provide a hint about arch when done gobrew ls
And need to think about what happens when a user wants different arcs but the same version


Upgrade agency version used in CI

Signed-off-by: Patrik Stas<EMAIL_ADDRESS>

Codecov Report

Merging #410 (88d1cdf) into main (8c35a95) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #410      +/-   ##
==========================================
+ Coverage   46.34%   46.36%   +0.01%
==========================================
  Files         152      152
  Lines       13110    13110
  Branches     2670     2670
==========================================
+ Hits         6076     6078       +2
+ Misses       5518     5517       -1
+ Partials     1516     1515       -1

Flag
Coverage Δ

unittests-agency-client
22.51% <ø> (ø)

unittests-aries-vcx
48.55% <ø> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

..._vcx/src/handlers/issuance/issuer/state_machine.rs
66.41% <0.00%> (+0.37%)
:arrow_up:

Continue to review full report at Codecov.

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


[docs] Describe error of validation the config file

Issue: https://github.com/DevExpress/testcafe/issues/6337
PR: https://github.com/DevExpress/testcafe/pull/6381
Message: "{filePath}" is not a valid path to the TestCafe configuration file. Make sure the configuration file exists and you spell the path name correctly.

Does not need documentation.


Scan without grouping by call stack

Would be probably useful to have a mode to disable grouping by call stack. Currently
record.reload;
record.reload;

does not trigger a warning, but
current_user.reload; current_user.reload;

does, I assume because they have the same call stack line. This may be useful for cases when I just know that all data can be memorized (no updates and no long polling).

Thanks, im aware of these cases.
Disabling the call stack grouping can be spammy and confusing in cases with intermediate DB updates.
Prosopite's main purpose is finding N+1 queries. Some extra repetitive query cases like your example might be caught as side effect.

Not sure if grouping depends solely on location_key, if yes, is it possible to extract it to a method to be easily monkey-patched?

So one could write
def location_key(event)
  'no grouping'
end

Unfortunately, it's not that simple to disable the call stack grouping due to:
https://github.com/charkost/prosopite/blob/0.1.7/lib/prosopite.rb#L59

I see, thanks.


Upgrade tink to v1.3.0-rc3

https://github.com/google/tink/releases/tag/v1.3.0-rc3
go get<EMAIL_ADDRESS>

Pretty flakey and I don't know why.
On Thu, Jan 2, 2020 at 2:20 PM NatalieDoduc<EMAIL_ADDRESS>wrote:

@NatalieDoduc approved this pull request.
LGTM.
just by curiosity - how "flaky" is the coverage report? I often see it red
in reviews i do.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/keytransparency/pull/1419?email_source=notifications&email_token=AABQOTUZ4FGXZN5475QDNMDQ3XZ3TA5CNFSM4KAPM2KKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQQI3WI#pullrequestreview-337677785,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABQOTRYJAQIKSQAR66RWR3Q3XZ3TANCNFSM4KAPM2KA
.


[Volk] update to latest version andd add header only support

iphoneos checks should be ok after https://github.com/xmake-io/xmake-repo/pull/1183


[LoadingButton] LoadingButtonProps freezes typescript compilation on "Checking validity for types"

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
The LoadingButtonProps freezes typescript compilation. The build remains stuck on "Checking validity of types". Using the ButtonProps interface temporarily solves the issue.
The issue is described in detail here
Expected behavior 🤔
Typescript should compile fine to javascript files.
Steps to reproduce 🕹
Steps:

create a next js project with typescript and install mui
create a LoadingButton component and the props for it should extend the LoadingButtonProps.
render the component and run next build
the terminal should be stuck on "Checking validity of types..."

Context 🔦
Was unable to use LoadingButton props which caused a build failure. I had to use ButtonProps instead which produced the build
Your environment 🌎

`npx @mui/envinfo`
    System:
    OS: Linux 5.10 Manjaro Linux
  Binaries:
    Node: 16.11.0 - /usr/bin/node
    Yarn: 1.22.10 - /usr/bin/yarn
    npm: 8.0.0 - /usr/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: 94.0.1

@karan316 I cloned your repo and changed it to use LoadingButtonProps as described in the linked issue. I am able to run yarn build with no error.
  "<EMAIL_ADDRESS>  "<EMAIL_ADDRESS>

That's weird. We are using the same version. A person from the next.js community tried reproducing this issue and had the same problem. You can check it here.

Oh wait, I disabled type checking for the build temporarily. So maybe that's why the build passed. Try setting ignoreBuildErrors to false in the next config file and run the build again.

just got bit by this, too.
trying to do this:
import type {LoadingButtonProps} from '@mui/lab';
// ...use it in a component...

causes tsc --noEmit --project ./my/project to hang indefinitely.
replacing the type import with a custom one using ButtonProps:
interface LoadingButtonProps extends ButtonProps {
    loading: boolean;
    loadingPosition: 'start' | 'end' | 'center';
}
// ...use it in a component...

allows tsc to finish successfully.

just got bit by this, too.
trying to do this:
import type {LoadingButtonProps} from '@mui/lab';
// ...use it in a component...

causes tsc --noEmit --project ./my/project to hang indefinitely.
replacing the type import with a custom one using ButtonProps:
interface LoadingButtonProps extends ButtonProps {
    loading: boolean;
    loadingPosition: 'start' | 'end' | 'center';
}
// ...use it in a component...

allows tsc to finish successfully.
<EMAIL_ADDRESS><EMAIL_ADDRESS>tsc version 4.4.3 (also happens with 4.6.0)

tsc appears to spend a lot of time in: inferFromIndexTypes() and getUnionType():

Yes, this is what I ended up doing as well.

@mbrookes Why was this closed?  The above suggestion is only a workaround.  It should be possible to use LoadingButtonProps without tsc hanging.

facing the same problem when start to using yarn 2 pnp

I have the same problem with<EMAIL_ADDRESS>

What information is missing here?  The bug is clear, and has been corroborated by multiple people.

Why is this closed ? I'm facing this bug in the latest version as well.

Still an issue for me.

I'm facing this bug too

Same issue here (tsc typecheck hanging forever and vscode freezing), please re-open 🙏

same issue here, also just replaced LoadingButtonProps with my custom type that extend ButtonProps

Same issue here. Can we get this reopened?

The same issue for me on @mui/lab v5.0.0-alpha.83, react-scripts v5.0.1 and typescript v4.6.4. Of course, replacing by custom one based on ButtonProps fixed this issue but I'd like to use original type.

@karan316 I had a similar problem in build with yarn 2 and pnp.
Try to avoid importing (all imports) from @mui/lab, and replace them with direct imports, for example:
import LoadingButton from '@mui/lab/LoadingButton'
import TreeView from '@mui/lab/TreeView';
import { treeItemClasses } from '@mui/lab/TreeItem';

I've been struggling with this issue too. tsc check types end up in heap out of memory. VSCode Intellisense also gets stuck on loading.

Typescript version: v4.9.4
<EMAIL_ADDRESS>- node_modules (not zero-installs)
Node v16 latest LTS
MUI packages:

"@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0",
"@mui/icons-material": "^5.0.1",
"@mui/lab": "^5.0.0-alpha.88",
"@mui/material": "^5.0.2",
"@mui/styles": "^5.9.3",

Same just happened to me.
I spent hours tracking down the cause of tsc freezing in our monorepo. The moment I removed a type using LoadingButtonProps the build finished again.
Happened after I updated all mui packages to their latest versions. It than freezes on both my and a colleagues Mac (one M1, one Intel) and in a GitHub action.
"@mui/icons-material": "^5.11.11",
"@mui/lab": "^5.0.0-alpha.124",
"@mui/material": "^5.11.15",
"@mui/system": "^5.11.15",
"@mui/x-data-grid-pro": "^6.0.3",

TypeScript 5.0.2
yarn 3.3.0
pnp disabled

Facing same issue with following :

  System:
    OS: Linux 3.10 Red Hat Enterprise Linux Server 7.9 (Maipo)
  Binaries:
    Node: 16.18.1
    Yarn: 1.22.11
    npm: 7.23.0
  npmPackages:
    @emotion/react: ^11.9.3 => 11.10.6
    @emotion/styled: ^11.9.3 => 11.10.6
    @mui/base: 5.0.0-alpha.84 => 5.0.0-alpha.84
    @mui/icons-material: ^5.8.4 => 5.11.11
    @mui/lab: 5.0.0-alpha.87 => 5.0.0-alpha.87
    @mui/material: ^5.11.15 => 5.11.15
    @types/react: ^17.0.6 => 17.0.53
    react: ^17.0.0 => 17.0.2
    react-dom: ^17.0.2 => 17.0.2

Facing same issue
▶ npx @mui/envinfo

  System:
    OS: macOS 14.0
  Binaries:
    Node: 18.9.1 - ~/.nvm/versions/node/v18.9.1/bin/node
    Yarn: 1.22.19 - ~/Library/pnpm/yarn
    npm: 9.6.3 - ~/.nvm/versions/node/v18.9.1/bin/npm
  Browsers:
    Chrome: 114.0.5735.248
    Edge: Not Found
    Firefox: Not Found
    Safari: 17.0
  npmPackages:
    @mui/icons-material: 5.11.16 => 5.11.16
    @mui/lab: 5.0.0-alpha.135 => 5.0.0-alpha.134
    @mui/material: 5.13.6 => 5.13.6
    @mui/x-data-grid-pro: 6.9.1 => 6.9.1
    @mui/x-date-pickers-pro: 6.9.1 => 6.9.1
    @types/react: 18.2.15 => 18.2.15
    react: 18.2.0 => 18.2.0
    react-dom: 18.2.0 => 18.2.0

same


Can somebody help me with why this fails

Please check the review comment for the description. I changed the YAML pipeline to run only smoke tests, ignore the .yaml files.

Codecov Report

Merging #10774 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #10774      +/-   ##
==========================================
- Coverage   60.63%   60.62%   -0.02%
==========================================
  Files         583      583
  Lines       31557    31557
  Branches     4488     4488
==========================================
- Hits        19136    19130       -6
- Misses      11449    11453       +4
- Partials      972      974       +2

Impacted Files
Coverage Δ

src/datascience-ui/react-common/arePathsSame.ts
75.00% <0.00%> (-12.50%)
:arrow_down:

src/client/common/utils/platform.ts
64.70% <0.00%> (-11.77%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
76.56% <0.00%> (-1.57%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0.00%> (-0.73%)
:arrow_down:

Continue to review full report at Codecov.

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

Good question 🤔
The only difference I can see so far is that IExperimentsManager is shadowed by Symbol('IExperimentsManager') declaration, while IPythonSettings and Resource are not.
This shouldn't be a problem however, since IServiceContainer and IServiceManager also have a Symbol(....) declaration and it works fine 🤷♀
Can you try the following:

in ../client/common/types.ts export something like

export interface ISmokeExperimentsManager extends IExperimentsManager {}

and in test/common.ts import ISmokeExperimentsManager instead of IExperimentsManager?
(even if it worked I think this it a dirty hack and we shouldn't do that, this is for debugging purposes)

@kimadeline Thanks, but unfortunately It didn't work. Don explained the reason in the review comment, however it still isn't clear for me why we're able to import IServiceContainer but not IExperimentsManager.


tensorflow.python.framework.errors_impl.NotFoundError: <exception str() failed>  :   when trying demo

this is console answer :
Traceback (most recent call last):
File "./tools/demo.py", line 118, in
from networks.factory import get_network
File "/home/hamza/Téléchargements/PoseCNN-master/tools/../lib/networks/init.py", line 8, in
from .vgg16 import vgg16
File "/home/hamza/Téléchargements/PoseCNN-master/tools/../lib/networks/vgg16.py", line 2, in
from networks.network import Network
File "/home/hamza/Téléchargements/PoseCNN-master/tools/../lib/networks/network.py", line 6, in
import backprojecting_layer.backprojecting_op as backproject_op
File "/home/hamza/Téléchargements/PoseCNN-master/tools/../lib/backprojecting_layer/backprojecting_op.py", line 5, in
_backprojecting_module = tf.load_op_library(filename)
File "/home/hamza/venv/local/lib/python2.7/site-packages/tensorflow/python/framework/load_library.py", line 56, in load_op_library
lib_handle = py_tf.TF_LoadLibrary(library_filename, status)
File "/home/hamza/venv/local/lib/python2.7/site-packages/tensorflow/python/framework/errors_impl.py", line 473, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: <exception str() failed>
i really don't know , if it is matter of path that i should change or something missing with tensorflow ,
Actually i'm trying the demo with the command line :  ./experiments/scripts/demo.sh $GPU_ID

Actually for those having the same problem , you should add to gcc and nccv in make.sh add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0)


Unintuitive slicing behaviour when slicing with Arrays

Not sure if bug or feature.
Slicing by an array of indices would be very handy but currently fails (or is unreliable).
Minimal working example taken (mostly based on the README.md):
import awkward1 as ak # 0.2.27
array = ak.Array([
    [{"x": 1.1, "y": [1]}],
    [{"x": 2.2, "y": [11, 12]}],
    [{"x": 3.3, "y": [21, 22, 23]}],
    #[], # cannot slice this by index
    [{"x": 3.3, "y": [31, 32, 33]}],
    [{"x": 4.4, "y": [41, 42, 43, 44]}],
    [{"x": 5.5, "y": [51, 52, 53, 54, 55]}]
])
# slicing should work by python objects or numpy
# but singleton seems to produce more reliable results
# strangely singletons sometimes do not convert 1-D numpy
# idx = np.array([0, 0, 1, 1, 2, 2])#[:, np.newaxis]
startIndices = ak.singletons([[0], [0], [1], [1], [2], [2]])

# slice each `y` in `array` from start to end resp. [0], [0:1], [1:2], [1], [2:], [2:3]
# endIndices = ak.singletons([[0], [1], [2], [1], [None], [3]])

assert array.shape[0] == startIndices.shape[0]

# this works
array['y', ... , 1:]
# while this fails with ValueError: in ListArray64 attempting to get 1, index out of range
# but should return the same?
array['y', ... , 1]
# (as a consequence) this also fails
array['y', ... , startIndices]

Maybe I am missing something here.
Eventually would be nice to achieve a slice from startIndices to endIndicecs without creating boolean arrays of the entire length or a numba for loop.
mask = np.array([[True], [True, True], [False, True, True], [False, True, False], [False, False, True, True], [False, False, True, False]])
array['y', mask]

Fails with
ValueError: arrays used as an index must be a (native-endian) integer or boolean

Indexing can be legitimately confusing (also true of NumPy). I'll break this down to what I think you're asking.
First, the array of records can always be projected onto "y". I tried a number of combinations and didn't see any trouble with that. For simplicity of discussion here, instead of talking about
array = ak.Array([
    [{"x": 1.1, "y": [1]}],
    [{"x": 2.2, "y": [11, 12]}],
    [{"x": 3.3, "y": [21, 22, 23]}],
    #[], # cannot slice this by index   (if empty, you'll just have to pass an empty list in the slice)
    [{"x": 3.3, "y": [31, 32, 33]}],
    [{"x": 4.4, "y": [41, 42, 43, 44]}],
    [{"x": 5.5, "y": [51, 52, 53, 54, 55]}]
])

which has type
6 * var * {"x": float64, "y": var * int64}

we could talk about
array["y"]   # or array.y

which is
[[[1]], [[11, 12]], [[21, 22, 23]], [[31, 32, 33]], [[41, 42, 43, 44]], [[51, 52, 53, 54, 55]]]

with type
6 * var * var * int64

You can certainly do
>>> array["y", [[0], [0], [1], [1], [2], [2]]]
<Array [[[[1]]], [[[1, ... [[[21, 22, 23]]]] type='6 * 1 * var * var * int64'>

because each of the elements of the slice has length 1, just like array (and array.y) and the integer values in each is less than the length of each nested list:
>>> array.y[0, 0]
<Array [1] type='1 * int64'>                    # has an element 0
>>> array.y[1, 0]
<Array [11, 12] type='2 * int64'>               # has an element 0
>>> array.y[2, 0]
<Array [21, 22, 23] type='3 * int64'>           # has an element 1
>>> array.y[3, 0]
<Array [31, 32, 33] type='3 * int64'>           # has an element 1
>>> array.y[4, 0]
<Array [41, 42, 43, 44] type='4 * int64'>       # has an element 2
>>> array.y[5, 0]
<Array [51, 52, 53, 54, 55] type='5 * int64'>   # has an element 2
>>> array.y[6, 0]

and so that's why it works. ak.singletons has nothing to do with it: it's used to convert None values into empty lists and everything else into length-1 lists, which you already have.
Recent versions of NumPy provide a hint about why the mask didn't work:
>>> mask = np.array([
...     [True],
...     [True, True],
...     [False, True, True],
...     [False, True, False],
...     [False, False, True, True],
...     [False, False, True, False]])

raises the warning
<stdin>:1: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a
list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to
do this, you must specify 'dtype=object' when creating the ndarray

This is a NumPy array of dtype=object, which soon won't be created automatically. Constructing the mask as an Awkward array is the first step:
>>> mask = ak.Array([
...     [True],
...     [True, True],
...     [False, True, True],
...     [False, True, False],
...     [False, False, True, True],
...     [False, False, True, False]])
>>> mask
<Array [[True], [True, ... False, True, False]] type='6 * var * bool'>

but it also needs the length-1 structure of startIndices to fit into the second axis:
>>> mask = ak.Array([
...     [[True]],
...     [[True, True]],
...     [[False, True, True]],
...     [[False, True, False]],
...     [[False, False, True, True]],
...     [[False, False, True, False]]])
>>> mask
<Array [[[True]], ... False, True, False]]] type='6 * var * var * bool'>
>>> array.y
<Array [[[1]], [[11, ... [51, 52, 53, 54, 55]]] type='6 * var * var * int64'>
>>> ak.num(mask, axis=2)
<Array [[1], [2], [3], [3], [4], [4]] type='6 * var * int64'>
>>> ak.num(array.y, axis=2)
<Array [[1], [2], [3], [3], [4], [5]] type='6 * var * int64'>

Okay; they line up: now we're ready to go!
>>> array.y[mask]
<Array [[[1]], [[11, 12], ... 43, 44]], [[53]]] type='6 * var * var * int64'>

About making a slice option that can be different at each level (e.g. slice list 1 with 0:0, list 2 with 1:2, list 3 with 0:2), that's an interesting idea, something that becomes useful in the context of ragged arrays that you wouldn't have with rectilinear arrays.
Right now, that sort of thing can be done by opening up the ak.Array structure and manipulating its memory layout:
>>> original = array.y.layout
>>> original
<ListOffsetArray64>
    <offsets><Index64 i="[0 1 2 3 4 5 6]" offset="0" length="7" at="0x55f65db71150"/></offsets>
    <content><ListOffsetArray64>
        <offsets><Index64 i="[0 1 3 6 9 13 18]" offset="0" length="7" at="0x55f65db75170"/></offsets>
        <content><NumpyArray format="l" shape="18" data="1 11 12 21 22 ... 51 52 53 54 55" at="0x55f65d654e60"/></content>
    </ListOffsetArray64></content>
</ListOffsetArray64>
>>> starts = np.asarray(original.content.starts)
>>> stops  = np.asarray(original.content.stops)
>>> starts, stops
(array([ 0,  1,  3,  6,  9, 13], dtype=int64),
 array([ 1,  3,  6,  9, 13, 18], dtype=int64))

Slicing with a different start[i] and stop[i] at each i is a matter of adding and subtracting the right number from these starts and stops. Be careful if you modify these NumPy arrays in place: they are views of the Awkward layout and will change the Awkward array in-place (one of the few ways Awkward arrays are mutable).
>>> starts = starts + [0, 0, 1, 1, 2, 2]
>>> stops  = stops  - [0, 0, 1, 1, 2, 2]
>>> starts, stops
(array([ 0,  1,  4,  7, 11, 15], dtype=int64), array([ 1,  3,  5,  8, 11, 16], dtype=int64))
>>> modified = ak.layout.ListOffsetArray64(
...     original.offsets,
...     ak.layout.ListArray64(
...         ak.layout.Index64(starts),
...         ak.layout.Index64(stops),
...         original.content.content))
>>> modified
<ListOffsetArray64>
    <offsets><Index64 i="[0 1 2 3 4 5 6]" offset="0" length="7" at="0x55f65db71150"/></offsets>
    <content><ListArray64>
        <starts><Index64 i="[0 1 4 7 11 15]" offset="0" length="6" at="0x55f65db704d0"/></starts>
        <stops><Index64 i="[1 3 5 8 11 16]" offset="0" length="6" at="0x55f65db5b0b0"/></stops>
        <content><NumpyArray format="l" shape="18" data="1 11 12 21 22 ... 51 52 53 54 55" at="0x55f65d654e60"/></content>
    </ListArray64></content>
</ListOffsetArray64>
>>> ak.Array(modified)
<Array [[[1]], [[11, 12]], ... [[]], [[53]]] type='6 * var * var * int64'>
>>> ak.Array(modified).tolist()
[[[1]], [[11, 12]], [[22]], [[32]], [[]], [[53]]]

And that's probably how a variable starts:stops would be implemented. But if the indexing is tricky, this is tricky-squared. It's pretty easy to make an array that's internally inconsistent (check with ak.is_valid and ak.validity_error).

Great, thank you very much for that swift clarification.
I was particularly looking for the second explanations (overall my motivation for awkward as I am dealing with that sort of tasks a lot in the context of jagged arrays).
You can close this issue. Maybe the first part could be part of the quickstart. Let me know if I can help fill the doc stubs with content.

starts = np.asarray(original.content.starts)

Throws an error with the same array:
AttributeError: 'awkward1._ext.NumpyArray' object has no attribute 'starts'

Thanks for the offer! The stubs are there because I have to finish other projects (Uproot 4), which also need documentation—Awkward is half-there in that it has all the reference docs, and the ones in the Python API include examples.
If you submit a documentation issue with the examples you'd like to see fill the stub, I'll enter them into the stub. I don't have it set up as a wiki (whenever I do make a wiki, no one edits it!), in part because evaluating the JupyterBook is part of the build (to ensure that tutorial examples are not broken), which gives me a chance to edit. But suggested text definitely bumps it up in priority: if you write it, I'll post it.

starts = np.asarray(original.content.starts)

Throws an error with the same array:
AttributeError: 'awkward1._ext.NumpyArray' object has no attribute 'starts'

That's where you're getting into trickiness-squared. The different node types in a layout have different properties: NumpyArray represents rectilinear data, like NumPy, which has no need of starts and stops. ListArray is a fully general jaggedness implementation and ListOffsetArray is the common case in which starts = offsets[:-1] and stops = offsets[1:] for some monotonically increasing offsets array with length N+1 (N is the length of the logical array). These links provide more information about the layout classes, but keep in mind that everything under layout is semi-internal. (It doesn't start with an underscore because it's public API, but it's for framework developers, not data analysts.)

Just realized that your suggested array slicing won't result in what I meant by index slicing.

You can certainly do
>>> array["y", [[0], [0], [1], [1], [2], [2]]]
<Array [[[[1]]], [[[1, ... [[[21, 22, 23]]]] type='6 * 1 * var * var * int64'>

This will result in a select of entire nested lists by a collection of indexes (np.take). But I meant to get items of each nested list by its respective index (similar to the second part of your clarification - just without a range).
For simplicity, let's reconsider:
Instead of accomplishing this / or the cited above:
>>> a = ak.from_iter([[1.1, 2.2, 3.3], [], [4.4, 5.5], [6.6, 7.7, 8.8], [9.9]])
>>> a[[0, 3], [True, False, True]]
<Array [1.1, 8.8] type='2 * float64'>

where we rearrange and select within nested same-size list (rather uncommon to assume rectangular set of non-jagged arrays, which would fail over a[[0, 1], [True, False, True]])
I intended to do something like this (multidimensional index slicing):
>>> idx = [0,1,2]
>>> a[[0,1,3], idx]
<Array [[1.1], [], [7.7]] type='3 * var * float64'>
# or generally over entire array
idxs = [0,1,0,2,1]
# assert a.shape[0] == len(idxs)
>>> a[list(range(a.shape[0])), idxs]
<Array [[1.1], [], [4.4], [8.8], []] type='5 * var * float64'>

or perhaps like so (treat slice array of type awkward1._ext.Index64 differently and try to slice nested lists; return [] if ak.num(.) < idx):
a[ak.layout.Index64(idxs)]
<Array [[1.1], [], [4.4], [8.8], []] type='5 * var * float64'>

Do only way I see to do this is by your suggested second approach where I set all stops = start+1 with start = idxs. Maybe there is a more elegant way?

You could use ak.pad_none to make each inner list have at least the right number of elements:
>>> ak.pad_none(a, 3)
<Array [[1.1, 2.2, 3.3], ... [9.9, None, None]] type='5 * var * ?float64'>

Then it would be legal to ask for [0, 1, 2] in the second dimension, because its maximum index, 2, exists:
>>> ak.pad_none(a, 3)[[0, 1, 3], [0, 1, 2]]
<Array [1.1, None, 8.8] type='3 * ?float64'>

The Numpyian thing to do when given advanced arrays in two dimensions is to "iterate over them as one" and return the elements that match—a single-depth list, as above. In your examples, it looks like you want nested lists, and you want the empty list in a to become an empty list in the output. ak.singletons, which you're already familiar with, is for that:
>>> ak.singletons(ak.pad_none(a, 3)[[0, 1, 3], [0, 1, 2]])
<Array [[1.1], [], [8.8]] type='3 * var * float64'>

In your example, you have [[1.1], [], [7.7]], but I assume that's a mistake because idx[2] is 2, which picks out the last element of [6.6, 7.7, 8.8].
Your second example would look like this then:
>>> ak.singletons(ak.pad_none(a, 3)[range(len(a)), [0, 1, 0, 2, 1]])
<Array [[1.1], [], [4.4], [8.8], []] type='5 * var * float64'>

though if it was big, you wouldn't want to do a Python range, you'd do np.arange:
>>> ak.singletons(ak.pad_none(a, 3)[np.arange(len(a)), [0, 1, 0, 2, 1]])
<Array [[1.1], [], [4.4], [8.8], []] type='5 * var * float64'>

I should warn you to stay away from a.shape. It exists as a side-effect of supporting Pandas views, but I'll be removing them, in a large part because of the badly named methods and properties it forces me to have (#350). A real "shape" property would somehow characterize the nested lists, though that can't be done as a tuple of numbers. (That's why Awkward has ak.type.) Pandas requires it to be (len(a),). I'm 99% sure I'll be deprecating Pandas views, so the shape property will be removed.


moment.duration seconds to month gives incorrect value

Moment.duration isn't handling conversion between seconds, days and months correctly.
Example:
> moment.duration(1, 'months').asSeconds()
2592000
> moment.duration(1, 'months').asDays()
30
> moment.duration(30, 'days').asSeconds()
2592000
> moment.duration(2592000, 'seconds').asMonths()
0.9856465225158627
> moment.duration(2592000, 'seconds').asDays()
30

If a month is going to be 30 days then 30 days as seconds should be 1 month.
Using<EMAIL_ADDRESS>If I test 31 days to seconds it gives 2678400 which then gives me 1.0185014065997249 months

I agree that converting seconds to months and back should be symmetrical.

No news on that? Is it safe to store a very long duration in seconds format? Like more than 5000 days, for example?


NodeTask.setEnvironment() does not work properly in download=true mode

Hello,
Since those changes :
https://github.com/srs/gradle-node-plugin/commit/8b4b26b4eedae3534f7b34ce66d9caa2b1c0ba86
The this.environment variable is automatically set when using download=true.
This prevents the configuration of a custom environment.
NodeExecRunner should merge any configured environment and only ensure it's nodeBinDirPath is included in the PATH without overriding it completely.
Maybe something like this :
            def nodeBinDirPath = this.variant.nodeBinDir.getAbsolutePath()

            def nodeEnvironment = this.environment
            if (nodeEnvironment == null) {
                 nodeEnvironment = [:]
                 nodeEnvironment << System.getenv()
            }

            // Take care of Windows environments that may contain "Path" OR "PATH" - both existing
            // possibly (but not in parallel as of now)
            if (nodeEnvironment['Path'] != null) {
                nodeEnvironment['Path'] = nodeBinDirPath + File.pathSeparator + nodeEnvironment['Path']
            } else {
                nodeEnvironment['PATH'] = nodeBinDirPath + File.pathSeparator + nodeEnvironment['PATH']
            }
            this.environment = nodeEnvironment

Thank you.
Olivier

Thanks. Will look at how we could do this better.

This is now hopefully fixed in https://github.com/srs/gradle-node-plugin/commit/4c57e0c7bb1f6fcc89a8daa5ac0c23b3d032f886.

Added some tests for this too so I am certain it's fixed. Closing this.


Line 48 is an issue

you need
try JSON.parse(message.Body) catch then message.Body
try {
JSON.parse(message.Body);
} catch (_error) {
message.Body;
}

That's right. It crashes on non-json messages in the queue


Add FAQs page to 3box.io

Did you already summarize the faq questions (I think you made a call for FAQ items earlier this week), or is this just for building the FAQ page in general and then filling in the finalized FAQ items?

This issue is just for building the FAQs page, which will be populated with the FAQs we asked the community to input on. I still need to consolidate and finalize the question list, then write answers. Here's the FAQ question list if you have any input! https://www.notion.so/threebox/3Box-FAQs-8ff80515497b46c3a853a06962ad6875 - You should be able to add comments to the doc @kuhnchris

Do you want to provide the data in some special format?
Right now I have a JSON format like this:
  const FAQItems = [{ question: 'Question 1?', answer: '3Box!' },
    { question: 'What am I doing here?', answer: '3Box!' },
    { question: 'Aaaaaaaaaaaaaaa', answer: '3Box!' },
    { question: 'Bee-Movie Script?', answer: '3Box!' },
    { question: 'IPFS', answer: '3Box!' },
    { question: 'OrbitDB', answer: '3Box!' },
  ];


Website Security No longer Changes Colors

I noticed with the new release that the Lock to the left of the URL no longer changes colors based on the security. Is this intentional?

This was intentional, intended to mirror the behaviour of Chrome.

I can understand the desire to keep the identity-box colours but I'm also torn between the "Chrome way" and the "Firefox way". In an ideal world Firefox would provide a pref to toggle this behaviour but without that, it is difficult to justify making it optional because it would involve manually changing the CSS or renaming a CSS file.
I'll keep this issue open as an enhancement and I'm eager to hear everyone's opinion on this. In the meantime I'll see if I can come up with any alternative solutions.

Actually, I could leverage something like:
@supports -moz-bool-pref("materialfox.monochrome_identity.enabled")
{
	/* apply Chrome-style identity colours here */
}

And that way I just need to tell users to add a pref if they want the Chrome behaviour, as part of the optional installation instructions.
Who knows, one day I might be able to make an add-on which can toggle this and other prefs to provide a better customisation experience...

Settled for a custom ````materialFox.disableIdentityColors``` pref. Instructions to add pref are in README. See 863ae6a945fcff3187b792f3dc6d5825e2636174.


Error: Cannot launch node of type [rplidar_ros/rplidarNode];can't locate node[rplidarNode]

Hey
I have tried the following commands
cd catkin_ws
source devel/setup.bash
roslaunch rplidar_ros rplidar.launch
I get the following results:
SUMMARY
PARAMETERS

/rosdistro: melodic
/rosversion: 1.14.3
/rplidarNode/angle_compensate: True
/rplidarNode/frame_id: laser
/rplidarNode/inverted: False
/rplidarNode/serial_baudrate: 115200
/rplidarNode/serial_port: /dev/ttyUSB0

NODES
/
rplidarNode (rplidar_ros/rplidarNode)
rviz (rviz/rviz)
auto-starting new master
process[master]: started with pid [4869]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 9e5af918-7ea9-11e9-bd54-7cdd90efc4a0
process[rosout-1]: started with pid [4880]
started core service [/rosout]
ERROR: cannot launch node of type [rplidar_ros/rplidarNode]: can't locate node [rplidarNode] in package [rplidar_ros]
process[rviz-3]: started with pid [4887]
libEGL warning: DRI2: failed to authenticate
I have uninstalled and reinstalled the package. Any help would be great!

I got the same issue

is anyone can help

hello! I also meet the same problem.
It seems like fixed in following way.
Please locate your ROS workspace firstly.
In my robot, the ros workspace is /turtlebot_ws
re-init your workspace as following cammand :
$ cd ~/turtlebot_ws/src
$ catkin_init_workspace

$ cd ~/turtlebot_ws/
$ catkin_make

Then, please check rplidar performance by following command:
$ roslaunch rplidar_ros view_rplidar.launch
In my robot , the problem fixed.
I hope it will help you.
Have a nice day!

is anyone can help
hello! I also meet the same problem.
It seems like fixed in following way.
Please locate your ROS workspace firstly.
In my robot, the ros workspace is /turtlebot_ws
re-init your workspace as following cammand :

$ cd ~/turtlebot_ws/src
$ catkin_init_workspace
$ cd ~/turtlebot_ws/
$ catkin_make
Then, please check rplidar performance by following command:
$ roslaunch rplidar_ros view_rplidar.launch
In my robot , the problem fixed.
I hope it will help you.
Have a nice day!

Thanks

Hi, I tried this method but it did not work.
When I do catkin_make the node.cpp and client.cpp are not made executable....
Any suggestions how to resolve this..


Build hg with Rust

See https://github.com/conda-forge/rust-feedstock/issues/71#issuecomment-1118098607
Checklist

[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Pirate's Treasure

After giving Frank the Karmaja Rum, there's no more prompts - need to go to varrock blue moon inn yet, loot the chest upstairs, tele to falador, and dig in garden.
Correction - after diggin in falador, it seems the prompts came back.
Issue: prompts seem to disappear after giving frank his rum, but prompts reappear after visiting falador garden & digging.

Can reproduce:
2023-09-07 16:27:27 EDT [Client] DEBUG client-patch - Chat message type DIALOG: Redbeard Frank|Have ye brought some rum for yer ol' mate Frank?
2023-09-07 16:27:28 EDT [Client] DEBUG client-patch - Chat message type DIALOG: RuneLite|Yes, I've got some.
2023-09-07 16:27:28 EDT [Client] DEBUG client-patch - Chat message type DIALOG: Redbeard Frank|Now a deal's a deal, I'll tell ye about the treasure. I used to serve under a pirate captain called One-Eyed Hector.
2023-09-07 16:27:29 EDT [Client] DEBUG client-patch - Chat message type DIALOG: Redbeard Frank|Hector were very successful and became very rich. But about a year ago we were boarded by the Customs and Excise Agents.
2023-09-07 16:27:29 EDT [Client] DEBUG client-patch - Chat message type DIALOG: Redbeard Frank|Hector were killed along with many of the crew, I were one of the few to escape and I escaped with this.
2023-09-07 16:27:29 EDT [Client] WARN  n.runelite.client.eventbus.EventBus - Uncaught exception in event subscriber
java.lang.NullPointerException: null
	at com.questhelper.requirements.ZoneRequirement.lambda$check$0(ZoneRequirement.java:102)
	at java.base/java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
	at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1632)
	at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
	at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
	at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:528)
	at com.questhelper.requirements.ZoneRequirement.check(ZoneRequirement.java:102)
	at com.questhelper.requirements.conditional.Conditions.lambda$check$0(Conditions.java:126)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:176)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
	at java.base/java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:257)
	at java.base/java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:248)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.count(ReferencePipeline.java:605)
	at com.questhelper.requirements.conditional.Conditions.check(Conditions.java:127)
	at com.questhelper.steps.ConditionalStep.updateSteps(ConditionalStep.java:260)
	at com.questhelper.steps.ConditionalStep.startUp(ConditionalStep.java:179)
	at com.questhelper.questhelpers.QuestHelper.startUpStep(QuestHelper.java:130)
	at com.questhelper.questhelpers.BasicQuestHelper.updateQuest(BasicQuestHelper.java:75)
	at com.questhelper.QuestHelperPlugin.onVarbitChanged(QuestHelperPlugin.java:458)

I didn't have this issue.


Android - WebView renders incorrectly on large heights

Bug description:
Webview doesnt render full page, i.e. after a certain point scrolled the screen is just white and it's always at the same height it stops rendering.
I've tested with my local chrome/firefox and emulating mobile device, and it doesnt happen there.
Basically same issue, as this closed issue that was never solved:
https://github.com/react-native-webview/react-native-webview/issues/2129
To Reproduce:
import React from "react";
import { WebView } from "react-native-webview";
import { View } from "react-native";

  const webViewContent = {
    borderBottomColor: colors.paleGray,
    borderBottomWidth: 1,
    flex: 1,
    flexDirection: "row",
    opacity: 0.99,
    paddingHorizontal: 0,
    paddingVertical: 20,
    margin: 0,
    height: 5000,  //4500 works
    width: "100%"
  },

  const html = "This is a test".repeat(100)

  export default Content = () => {
    return (
        <WebView
          style={webViewContent}
          source={{ uri: "https://lyko.com/sv/yves-saint-laurent?sortBy=popularity&count=72&p_category=1073744429__CatalogContent&infinitescroll=1"}}
        />
    )
  };`

Expected behavior:
Keep rendering page.
Environment:

OS: Android - same on multitude of devices
OS version: Android - same on multitude of devices
react-native version: "react-native": "0.64.3",
react-native-webview version: "react-native-webview": "11.15.0",

I've searched this project's github issues, both closed and open, the keywords I used is:

render
blank

The intresting issues

coming

Things tried and doesnt work

setting androidLayerType="hardware" or androidLayerType="software" or androidLayerType="none"
as mentioned here: https://github.com/react-native-webview/react-native-webview/issues/2129#issuecomment-897580591
<WebView style={{width: Dimensions.get('window').width, height: Dimensions.get('window').height}}/>
as mentioned here: https://github.com/react-native-webview/react-native-webview/issues/1426#issuecomment-738488835
<WebView containerStyle = {{marginTop: 20, width: Dimensions.get('window').width, height: Dimensions.get('window').height}}/>
as mentioned here: https://github.com/react-native-webview/react-native-webview/issues/1426#issuecomment-846459044

I've also set all these attributes on webview, and no errors reported.
onContentProcessDidTerminate={(syntheticEvent) => {
    const { nativeEvent } = syntheticEvent;
    console.warn('Content process terminated, reloading', nativeEvent);
    this.refs.webview.reload();
  }}
            onError={(syntheticEvent) => {
    const { nativeEvent } = syntheticEvent;
    console.warn('WebView error: ', nativeEvent);
  }}
             onRenderProcessGone={syntheticEvent => {
    const { nativeEvent } = syntheticEvent;
    console.warn(
      'WebView Crashed: ',
      nativeEvent.didCrash,
    );
  }}

Possible solution
Talked about here:

https://github.com/react-native-webview/react-native-webview/issues/482#issuecomment-481335056
https://coderedirect.com/questions/108874/android-webview-renders-blank-white-view-doesnt-update-on-css-changes-or-html

Will be trying these asap i.e. working on implementing this, so far only used react-native libraries and not made changes to them, so will be learning how to make native library changes and getting that code to run.
Extra
Logs from the device for the app (nothing interesting it seems): https://pastebin.com/KrWmLZKc
Screenshots/Videos:

I tested on native android webview and the bug was still present, i.e. the bug is specific to native android webview and not react-native-webview library.
What finally fixed the bug on the page was injecting this css code:

img {
    -webkit-transform: none !important;
    will-change:unset !important;transition: none !important;
    transform: none !important;
}

Found clues in these links:

https://developer.mozilla.org/en-US/docs/Web/CSS/will-change
https://stackoverflow.com/questions/16517464/remove-applied-css-transformation
https://stackoverflow.com/questions/8840580/force-dom-redraw-refresh-on-chrome-mac
https://stackoverflow.com/a/14871911/337587
This didnt work: https://stackoverflow.com/a/13500453/337587

it's been 6 month and i have similar issue. sadly injecting css code didn't work for me :(
btw @flashjames solution is only or local html source. for url source can use injectedJavaScriptBeforeContentLoaded props

@flashjames Unfortunately your solution didn't work for me.
in sentry we see rare reports of android crashes, androidHardwareAccelerationDisabled was added for this, however, with this props, large content is no longer displayed

@ViktorOsadchyi I had more bugs on android  webview(for example not getting back/forward work well), so I switched to firefox/mozilla developed: GeckoView - https://mozilla.github.io/geckoview/ for the android part of the app.

@ViktorOsadchyi I had more bugs on android webview(for example not getting back/forward work well), so I switched to firefox/mozilla developed: GeckoView - https://mozilla.github.io/geckoview/ for the android part of the app.

How do you use GeckoView in react native?


I am getting the response{ message: 'An unknown error occurred' } for all the function. I have the correct API key and project id also. Need some help here

I am getting the response{ message: 'An unknown error occurred' } for all the functions.
I have the correct API key and project id. Need some help here.

I realize this issue over a year old, but were you ever able to solve this? I am getting the same error.

+1 I am getting the same error as well.