My JSON doesn't get parsed correctly

While parsing the below json, elements ipv4 and ipv6 are not parsed as CJSON_Array. They are parsed as cJSON_NULL and I am wondering why ? Does "ipv6" : null at one place (marked in bold) throws the parsing off ?
Thanks,
Medha
{
"data": {
"IDN": {
"ipv4": [
{
"accepted-prefix-count": 0,
"active-prefix-count": 0,
"received-prefix-count": 0,
"suppressed-prefix-count": 0,
"peer-as": 65031,
"instances": [
"tb1-vrr01",
"tb1-vrr02"
],
"peer-state": {
"tb1-vrr01": "Active",
"tb1-vrr02": "Active"
},
"peer-address": "<IP_ADDRESS>",
"elapsed-time": {
"tb1-vrr01": 3986,
"tb1-vrr02": 4005
},
"vpn": "IDN"
},
{
"accepted-prefix-count": 0,
"active-prefix-count": 0,
"received-prefix-count": 0,
"suppressed-prefix-count": 0,
"peer-as": 65031,
"instances": [
"tb1-vrr01",
"tb1-vrr02"
],
"peer-state": {
"tb1-vrr01": "Connect",
"tb1-vrr02": "Active"
},
"peer-address": "<IP_ADDRESS>",
"elapsed-time": {
"tb1-vrr01": 3986,
"tb1-vrr02": 4005
},
"vpn": "IDN"
},
{
"accepted-prefix-count": 0,
"active-prefix-count": 0,
"received-prefix-count": 0,
"suppressed-prefix-count": 0,
"peer-as": 65032,
"instances": [
"tb1-vrr01",
"tb1-vrr02"
],
"peer-state": {
"tb1-vrr01": "Connect",
"tb1-vrr02": "Active"
},
"peer-address": "<IP_ADDRESS>",
"elapsed-time": {
"tb1-vrr01": 3988,
"tb1-vrr02": 4006
},
"vpn": "IDN"
},
{
"accepted-prefix-count": 0,
"active-prefix-count": 0,
"received-prefix-count": 0,
"suppressed-prefix-count": 0,
"peer-as": 65032,
"instances": [
"tb1-vrr02",
"tb1-vrr01"
],
"peer-state": {
"tb1-vrr01": "Active",
"tb1-vrr02": "Active"
},
"peer-address": "<IP_ADDRESS>",
"elapsed-time": {
"tb1-vrr01": 3988,
"tb1-vrr02": 4007
},
"vpn": "IDN"
},
{
"accepted-prefix-count": 0,
"active-prefix-count": 0,
"received-prefix-count": 0,
"suppressed-prefix-count": 0,
"peer-as": 65033,
"instances": [
"tb1-vrr01",
"tb1-vrr02"
],
"peer-state": {
"tb1-vrr01": "Connect",
"tb1-vrr02": "Active"
},
"peer-address": "<IP_ADDRESS>",
"elapsed-time": {
"tb1-vrr01": 3990,
"tb1-vrr02": 4006
},
"vpn": "IDN"
},
{
"accepted-prefix-count": 0,
"active-prefix-count": 0,
"received-prefix-count": 0,
"suppressed-prefix-count": 0,
"peer-as": 65033,
"instances": [
"tb1-vrr01",
"tb1-vrr02"
],
"peer-state": {
"tb1-vrr01": "Connect",
"tb1-vrr02": "Active"
},
"peer-address": "<IP_ADDRESS>",
"elapsed-time": {
"tb1-vrr01": 3989,
"tb1-vrr02": 4005
},
"vpn": "IDN"
}
],
"ipv6": null
},
"VCP": {
"ipv4": [
{
"accepted-prefix-count": 0,
"active-prefix-count": 0,
"received-prefix-count": 0,
"suppressed-prefix-count": 0,
"peer-as": 65002,
"instances": [
"tb1-vrr01",
"tb1-vrr02"
],
"peer-state": {
"tb1-vrr01": "Active",
"tb1-vrr02": "Active"
},
"peer-address": "<IP_ADDRESS>",
"elapsed-time": {
"tb1-vrr01": 3988,
"tb1-vrr02": 4004
},
"vpn": "VCP"
},
{
"accepted-prefix-count": 0,
"active-prefix-count": 0,
"received-prefix-count": 0,
"suppressed-prefix-count": 0,
"peer-as": 65002,
"instances": [
"tb1-vrr01",
"tb1-vrr02"
],
"peer-state": {
"tb1-vrr01": "Connect",
"tb1-vrr02": "Active"
},
"peer-address": "<IP_ADDRESS>",
"elapsed-time": {
"tb1-vrr01": 3984,
"tb1-vrr02": 4007
},
"vpn": "VCP"
},
{
"accepted-prefix-count": 0,
"active-prefix-count": 0,
"received-prefix-count": 0,
"suppressed-prefix-count": 0,
"peer-as": 65002,
"instances": [
"tb1-vrr01",
"tb1-vrr02"
],
"peer-state": {
"tb1-vrr01": "Active",
"tb1-vrr02": "Active"
},
"peer-address": "<IP_ADDRESS>",
"elapsed-time": {
"tb1-vrr01": 3993,
"tb1-vrr02": 4005
},
"vpn": "VCP"
},
{
"accepted-prefix-count": 0,
"active-prefix-count": 0,
"received-prefix-count": 0,
"suppressed-prefix-count": 0,
"peer-as": 65002,
"instances": [
"tb1-vrr01",
"tb1-vrr02"
],
"peer-state": {
"tb1-vrr01": "Active",
"tb1-vrr02": "Connect"
},
"peer-address": "<IP_ADDRESS>",
"elapsed-time": {
"tb1-vrr01": 3992,
"tb1-vrr02": 4006
},
"vpn": "VCP"
}
],
"ipv6": [
{
"accepted-prefix-count": 0,
"active-prefix-count": 0,
"received-prefix-count": 0,
"suppressed-prefix-count": 0,
"peer-as": 65002,
"instances": [
"tb1-vrr01",
"tb1-vrr02"
],
"peer-state": {
"tb1-vrr01": "Active",
"tb1-vrr02": "Active"
},
"peer-address": "fdf8::2:1",
"elapsed-time": {
"tb1-vrr01": 3994,
"tb1-vrr02": 4005
},
"vpn": "VCP"
},
{
"accepted-prefix-count": 0,
"active-prefix-count": 0,
"received-prefix-count": 0,
"suppressed-prefix-count": 0,
"instances": [
"tb1-vrr01",
"tb1-vrr02"
],
"peer-state": {
"tb1-vrr01": "Connect",
"tb1-vrr02": "Connect"
},
"peer-address": "fdf8::2:2",
"elapsed-time": {
"tb1-vrr01": 3984,
"tb1-vrr02": 4006
},
"vpn": "VCP"
},
{
"accepted-prefix-count": 0,
"active-prefix-count": 0,
"received-prefix-count": 0,
"suppressed-prefix-count": 0,
"peer-as": 65002,
"instances": [
"tb1-vrr01",
"tb1-vrr02"
],
"peer-state": {
"tb1-vrr01": "Active",
"tb1-vrr02": "Active"
},
"peer-address": "fdf8::2:81",
"elapsed-time": {
"tb1-vrr01": 3986,
"tb1-vrr02": 4007
},
"vpn": "VCP"
},
{
"accepted-prefix-count": 0,
"active-prefix-count": 0,
"received-prefix-count": 0,
"suppressed-prefix-count": 0,
"peer-as": 65002,
"instances": [
"tb1-vrr01",
"tb1-vrr02"
],
"peer-state": {
"tb1-vrr01": "Active",
"tb1-vrr02": "Connect"
},
"peer-address": "fdf8::2:82",
"elapsed-time": {
"tb1-vrr01": 3994,
"tb1-vrr02": 4006
},
"vpn": "VCP"
}
]
},
"vpn-names": [
"VCP",
"IDN"
]
},
"data_source": "rest",
"operation": "post_response",
"resource": "bgp_peer_summary",
"system_id": "bgp"
}

have you tried the most recent version of the code available at https://github.com/DaveGamble/cJSON ?  (Let me know and I'll pull his changes)

I am not sure. Let me compare.

I was running with library version 1.5.6.  I built version 1.7.3 that you sent. Thanks a lot for promptly sending it ! ! Btw, it's a cool and lightweight library.

I forgot to mention, the problem is solved in the latest version.


Rename install API to index for file in knowledge manager

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Description
Rename install API to index for file in knowledge manager
Alternative(s) considered
NA
Type
Code health
Screenshots (if applicable)
Checklist

[x] I have read and acknowledged the Code of conduct.
[x] I have read the Contributing page.
[x] I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA.
[x] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach.
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project.
[x] I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally.
[x] I have built and run the demo app(s) to verify my change fixes the issue and/or does not break the demo app(s).

@jingtang10 for you consideration, please check out my comment on the Github ticket here. If the recommendations there make sense then this might be an appropriate PR to piggy back the enhancement on.

thanks martin - that will be handled in a subsequent pr - let's keep the scope of this pr smaller.


Entirely remake nestia for TS 5.2 transform API

Related issues:

https://github.com/microsoft/TypeScript/issues/54276
https://github.com/samchon/typia/issues/633

TypeScript team had decided to support formal transform API since v5.2 update.
However, as TS v5.2 transform API provides types of typescript/lib/tsclibrary instead of typescript, typia must be entirely rewritten. In such reason, typiawould be rewritten with break changes. Also, asnestia is utilizing TypeScript API in not only transformation mode(@nestia/core) but also generation (@nestia/sdk) mode, nestia` must be entirely rewritten with major version update.
Release date of TS 5.2 may 2023-08, but nestia v2 would be released a little bit earlier. It's because next nestia will support both ts-patch and TS 5.2 transform API. When you run npx nestia setup, it will configure tsconfig.json file properly considering TS version. If TS version is lower than 5.2, ts-patch would be utilized. Otherwise, pure typescript would be utilized.

Hello. Would it be possible to export only types (with SDK generator) but no sdk on nestia's new remaked version?

Hello. Would it be possible to export only types (with SDK generator) but no sdk on nestia's new remaked version?

I didn't understand the question. What are you curious about? What you want is just exporting DTO types only?


Add missing net_buf_unref for non-recoverable errors while sending l2cap data

In case the connection breaks while transmitting, the net_buf while be dequeued but not unreferenced.

I updated the commit message and also removed the trailing whitespace to hopefully get through compliance.

Sign-off was missing for compliance.

Does bt_l2cap_chan_send() require a similar fix (end of the function)?

@Vudentz @joerchan would be good if you guys could take a look, since this brings back memories of the ref-counting discussion we had a few months ago 😄

@Vudentz @joerchan would be good if you guys could take a look, since this brings back memories of the ref-counting discussion we had a few months ago

@jhedberg Perhaps we should add the DNM label if we want their input first

@jhedberg Perhaps we should add the DNM label if we want their input first

@Thalley I dismissed my own review until then, which does the same trick in practice (can't merge now)

Vudentz joerchan would be good if you guys could take a look, since this brings back memories of the ref-counting discussion we had a few months ago

So this is a regression due to that change. I suggest to add this comment above the net_buf_unref .
				/* The ownership of the buffer is with the stack
				 * since bt_l2cap_chan_send has returned success
				 */

@joerchan I think a comment won't hurt, so I just went ahead and added it 👍

@prathje Thanks. I think you could squash the two commits though.

@prathje Thanks. I think you could squash the two commits though.

Yes, I have thought of that but decided not to as the first commit has been merged already (https://github.com/nrfconnect/sdk-zephyr/pull/555). I am happy to merge if you still prefer it?

@prathje Thanks. I think you could squash the two commits though.

Yes, I have thought of that but decided not to as the first commit has been merged already (nrfconnect/sdk-zephyr#555). I am happy to merge if you still prefer it?

That has not been merged to Zephyr, this commit was cherry-picked into a fork of the Zephyr repo.

@prathje That's not a problem, what Carles said is correct, so please squash them. But thank you for being considerate.
If you keep the first commit message it will go smoothly.

@carlescufi @joerchan Thanks! With the requested comment removal, we are back to just the first commit anyway. I also did a quick rebase 👍


Misc changes for 0.10.0-alpha.0 release

CI moved from travis to github actions: debug and release binaries are built and tested. Format step is commented out, but will soon be added back;
Changelog updated;
Version updated;
Dockerfile updated;
Sample example updated;
Clean up: several deprecated and unused scripts/files removed;
Binary builder scripts updated;

All that remains is updating the README, formatting the code and reactivating the format step in the CI. I will just do the first though, and release this version. Next week we will have another release, where I will reformat the code.

Shouldn't this merge onto master?

True, I am merging this to add my changes from leoisl:0.10.0-alpha.0 into rmcolq:0.10.0-alpha.0 and then will open a new PR to master


Initial L2 sync fails with Infura because too many results returned

What is the bug?
I am setting up a hub for the first time. Initial sync of L2 contracts is failing causing the server to shut down. Here is the error message:
{"level":60,"time":1708006425106,"pid":5933,"hostname":"playground","err":{"type":"Error","message":"Failed to start hub: Request exceeds defined limit.\n\nURL: https://optimism-mainnet.infura.io/v3/<REDACTED>\nRequest body: {\"method\":\"eth_getLogs\",\"params\":[{\"address\":\"0x00000000Fc6c5F01Fc30151999387Bb99A9f489b\",\"topics\":[[\"0x8e700b803af43e14651431cd73c9fe7d11b131ad797576a70b893ce5766f65c3\",\"0x03732e5295a5bd18e6ef95b03b41aa8bcadae292a7ef40468144c7a727dfa8b5\",\"0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31\",\"0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700\",\"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0\",\"0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258\",\"0xf6891c84a6c6af32a6d052172a8acc4c631b1d5057ffa2bc1da268b6938ea2da\",\"0xf2e19a901b0748d8b08e428d0468896a039ac751ec4fec49b44b7b9c28097e45\",\"0xf49aa3de84c4496d3a942511e6d2319eb43aff3afa8072a0cb18f9cc55a0359f\",\"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef\",\"0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa\"]],\"fromBlock\":\"0x6ab5ff7\",\"toBlock\":\"0x6ab60f0\"}]}\n\nDetails: query returned more than 10000 results. Try with this block range [0x6AB6016, 0x6AB607E].\nVersion<EMAIL_ADDRESS>Request exceeds defined limit.\n\nURL: https://optimism-mainnet.infura.io/v3/<REDACTED>\nRequest body: {\"method\":\"eth_getLogs\",\"params\":[{\"address\":\"0x00000000Fc6c5F01Fc30151999387Bb99A9f489b\",\"topics\":[[\"0x8e700b803af43e14651431cd73c9fe7d11b131ad797576a70b893ce5766f65c3\",\"0x03732e5295a5bd18e6ef95b03b41aa8bcadae292a7ef40468144c7a727dfa8b5\",\"0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31\",\"0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700\",\"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0\",\"0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258\",\"0xf6891c84a6c6af32a6d052172a8acc4c631b1d5057ffa2bc1da268b6938ea2da\",\"0xf2e19a901b0748d8b08e428d0468896a039ac751ec4fec49b44b7b9c28097e45\",\"0xf49aa3de84c4496d3a942511e6d2319eb43aff3afa8072a0cb18f9cc55a0359f\",\"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef\",\"0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa\"]],\"fromBlock\":\"0x6ab5ff7\",\"toBlock\":\"0x6ab60f0\"}]}\n\nDetails: query returned more than 10000 results. Try with this block range [0x6AB6016, 0x6AB607E].\nVersion<EMAIL_ADDRESS>RPC Request failed.\n\nURL: https://optimism-mainnet.infura.io/v3/<REDACTED>\nRequest body: {\"method\":\"eth_getLogs\",\"params\":[{\"address\":\"0x00000000Fc6c5F01Fc30151999387Bb99A9f489b\",\"topics\":[[\"0x8e700b803af43e14651431cd73c9fe7d11b131ad797576a70b893ce5766f65c3\",\"0x03732e5295a5bd18e6ef95b03b41aa8bcadae292a7ef40468144c7a727dfa8b5\",\"0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31\",\"0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700\",\"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0\",\"0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258\",\"0xf6891c84a6c6af32a6d052172a8acc4c631b1d5057ffa2bc1da268b6938ea2da\",\"0xf2e19a901b0748d8b08e428d0468896a039ac751ec4fec49b44b7b9c28097e45\",\"0xf49aa3de84c4496d3a942511e6d2319eb43aff3afa8072a0cb18f9cc55a0359f\",\"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef\",\"0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa\"]],\"fromBlock\":\"0x6ab5ff7\",\"toBlock\":\"0x6ab60f0\"}]}\n\nDetails: query returned more than 10000 results. Try with this block range [0x6AB6016, 0x6AB607E].\nVersion<EMAIL_ADDRESS>query returned more than 10000 results. Try with this block range [0x6AB6016, 0x6AB607E].","stack":"Error: Failed to start hub\n    at file:///var/lib/farcaster/hub-monorepo/apps/hubble/build/cli.js:492:75\n    at /var/lib/farcaster/hub-monorepo/node_modules/neverthrow/dist/index.cjs.js:113:102\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Command.<anonymous> (file:///var/lib/farcaster/hub-monorepo/apps/hubble/build/cli.js:492:25)\ncaused by: LimitExceededRpcError: Request exceeds defined limit.\n\nURL: https://optimism-mainnet.infura.io/v3/<REDACTED>\nRequest body: {\"method\":\"eth_getLogs\",\"params\":[{\"address\":\"0x00000000Fc6c5F01F

It appears that too many blocks are being queried at once for Infura?
This is happening maybe halfway through sync Syncing Farcaster L2 Contracts | 250/4309238
How can it be reproduced? (optional)
On a fresh server
yarn start \
        --eth-mainnet-rpc-url "https://mainnet.infura.io/v3/<REDACTED>" \
        --l2-rpc-url "https://optimism-mainnet.infura.io/v3/<REDACTED>" \
        --hub-operator-fid <REDACTED> \
        --announce-ip <REDACTED> \
        --bootstrap /dns/nemes.farcaster.xyz/tcp/2282 /dns/hoyt.farcaster.xyz/tcp/2282

Additional context (optional)

Thanks for the report!
I wasn't able to reproduce this using my own Infura RPC URLs, but I didn't want to wait around for multiple hours for the L2 contract sync step to finish. In the meantime, hopefully #1796 addresses.

In the meantime, until the above PR is released you can specify --chunk-size and --l2-chunk-size manually to avoid this problem. Hope that helps!


Make vscode's pylint integration work on TensorFlow source

If you point a copy of Visual Studio Code at a TensorFlow source tree, the editor's built-in linter displays a large number of spurious errors and misses errors that would show up in CI builds. This PR adds a symbolic link to the pylintrc file for CI builds at the root of the source code tree. After this change, the default linter output of Visual Studio Code is much closer to what one sees when running tensorflow/tools/ci_build/ci_sanity.sh.

Can one of the admins verify this patch?

Is there another way to specify to vscode which file to use for linting? I'd like to avoid adding a file to the root directory if possible. I'd expect vscode to have a configuration option somewhere.

Per the VS Code documentation, you can configure the editor's pylint integration in two ways:

Set the python.linting.pylintArgs parameter in VS Code's settings.json file
Put a file called either .pylintrc or pylintrc in the root directory of the workspace

I'm not aware of any other undocumented ways of configuring the linter.

@aaudiber Can you please take a look on this PR? Thanks!

Thanks @frreiss! This PR will need a manual import. Let me do that.

Thanks @yifeif!


SW-2517 Show completed tests as 'marked as complete'

the checkbox was not being initialized for already saved tests
was mostly working for newly created/edited tests

Maybe out of the scope of this PR, but there appear to be some issues with the state of the checkbox resetting itself when an observation is cancelled,

It might also not be resetting when closing the dialog. I was having some cases where ending a test, then creating a new test caused the new test to end immediately, but I couldn't quite get something to break there consistently.

Maybe out of the scope of this PR, but there appear to be some issues with the state of the checkbox resetting itself when an observation is cancelled,
It might also not be resetting when closing the dialog. I was having some cases where ending a test, then creating a new test caused the new test to end immediately, but I couldn't quite get something to break there consistently. EDIT: it seems to reproduce if I attempt to create a new test immediately after deleting a completed test.

Thanks for pointing this out, I will take a look, clearly something is broken.

Maybe out of the scope of this PR, but there appear to be some issues with the state of the checkbox resetting itself when an observation is cancelled,
    [

        ![Kapture 2022-12-12 at 21 36 15](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

    ](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

      [

      ](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

   [ ![Kapture 2022-12-12 at 21 36 15](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif) ](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

    [

        ![Kapture 2022-12-12 at 21 36 15](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

    ](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

      [

      ](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

   [ ](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

It might also not be resetting when closing the dialog. I was having some cases where ending a test, then creating a new test caused the new test to end immediately, but I couldn't quite get something to break there consistently. EDIT: it seems to reproduce if I attempt to create a new test immediately after deleting a completed test.
    [

        ![Kapture 2022-12-12 at 21 51 24](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

    ](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

      [

      ](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

   [ ![Kapture 2022-12-12 at 21 51 24](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif) ](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

    [

        ![Kapture 2022-12-12 at 21 51 24](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

    ](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

      [

      ](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

   [ ](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

Thanks for pointing this out, I will take a look, clearly something is broken.

This is now fixed, there was a bug where if you marked a test as completed and you deleted the test row,,, the 'test completed' status stuck during save. And subsequent edits were disabled.

Maybe out of the scope of this PR, but there appear to be some issues with the state of the checkbox resetting itself when an observation is cancelled,
    [

        ![Kapture 2022-12-12 at 21 36 15](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

    ](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

      [

      ](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

    [

        ![Kapture 2022-12-12 at 21 36 15](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

    ](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

      [

      ](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

   [ ![Kapture 2022-12-12 at 21 36 15](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif) ](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

    [

        ![Kapture 2022-12-12 at 21 36 15](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

    ](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

      [

      ](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

   [ ](https://user-images.githubusercontent.com/114949086/207227828-1082d336-6b82-4b75-98b6-f35ecc8204e4.gif)

It might also not be resetting when closing the dialog. I was having some cases where ending a test, then creating a new test caused the new test to end immediately, but I couldn't quite get something to break there consistently. EDIT: it seems to reproduce if I attempt to create a new test immediately after deleting a completed test.
    [

        ![Kapture 2022-12-12 at 21 51 24](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

    ](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

      [

      ](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

    [

        ![Kapture 2022-12-12 at 21 51 24](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

    ](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

      [

      ](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

   [ ![Kapture 2022-12-12 at 21 51 24](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif) ](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

    [

        ![Kapture 2022-12-12 at 21 51 24](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

    ](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

      [

      ](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

   [ ](https://user-images.githubusercontent.com/114949086/207229640-48a4abd1-5cb1-4e68-bb88-d006d67c0647.gif)

Thanks for pointing this out, I will take a look, clearly something is broken.

This is now fixed, there was a bug where if you marked a test as completed and you deleted the test row,,, the 'test completed' status stuck during save. And subsequent edits were disabled.

Purely client-side issue.


Accented underline for active pages in Navmenu

Hi @roobyz
I have been thinking about adding a persistent underline for active pages for a while now but don't know how to achieve it.
At present the accented underlines the page (route) when hovering which is nice but I feel that a user might get lost after clicking on a page.. because there is no visual clue to which page they are currently on after clicking it. But keeping that accented underline on the current route when clicked would be really useful I think. And for smaller screens when the hamburger menu is visible, I can add conditional logic with media query to display the name of the page in text.
Please consider adding this feature to your theme.
Best regards,
Ben

Hi @jamestagal
I had actually included the style code already set for this (style/global.svelte), but forgot to implement in the template. Pretty minor tweaks to enable. Only had to update html.svelte and navbar.svelte so that I could include something like:
<span class="navmenu{content.path == page.path ? ' active' : ''}"

to enable the active CSS class.
You can pull the changes from the latest template.
Cheers,
Roberto

Thanks @roobyz
Awesome! I need to catch up now! I'm still working on getting your Jan 18th commits in :)
Thanks again.


Always commit paints when recording/replaying.

For #RUN-2434 (kannan/run-2434-chromium-paints-arent-updated-during-scrolls)
When scrolling on simple pages, chromium optimizes things by realizing that a full paint commit doesn't need to be done because the screen update can be handled purely via the compositor.
However, we need the paint commit stage to run to trigger our paint collection callbacks.

This seems like it could have a really bad impact on performance, which is extremely important.  I'd like to hold off on landing this without numbers where we can see the impact on overhead on the metabase benchmark, though we do need to make it easier to get those overhead numbers for a PR.

This seems like it could have a really bad impact on performance, which is extremely important. I'd like to hold off on landing this without numbers where we can see the impact on overhead on the metabase benchmark, though we do need to make it easier to get those overhead numbers for a PR.

I'll do some local measurements against the metabase suite.

This seems like it could have a really bad impact on performance, which is extremely important. I'd like to hold off on landing this without numbers where we can see the impact on overhead on the metabase benchmark, though we do need to make it easier to get those overhead numbers for a PR.

Ran some measurements locally against the metabase benchmark, timing just the record portion.  Made sure to run headed to force rendering, and ran against a subset of the tests to reduce time.
  Overall, this patch doesn't seem to hit recording overhead too hard at all.  I think these hit mostly during scrolls that don't require repaint, which don't happen for long in the recording.  There are not many other operations that would visually update the screen but not require a repaint.

Alright, fair enough.

Only tests that are failing is dynamic nytimes.com, which is failing frequently these days.  Otherwise passing.


feat: Added db/collection as part of request metadata

Enriched request metadata with the intention to use it later for app<>project and role base access control.

Codecov Report
Base: 31.69% // Head: 32.06% // Increases project coverage by +0.36% :tada:

Coverage data is based on head (264dbb0) compared to base (8b75d32).
Patch coverage: 40.07% of modified lines in pull request are covered.

:exclamation: Current head 264dbb0 differs from pull request most recent head 2050c0a. Consider uploading reports for the commit 2050c0a to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #650      +/-   ##
==========================================
+ Coverage   31.69%   32.06%   +0.36%
==========================================
  Files          95      104       +9
  Lines       11588    12297     +709
==========================================
+ Hits         3673     3943     +270
- Misses       7586     7993     +407
- Partials      329      361      +32

Impacted Files
Coverage Δ

api/server/v1/error.go
0.00% <0.00%> (ø)

api/server/v1/marshaler.go
9.42% <0.00%> (-0.80%)
:arrow_down:

api/server/v1/validator.go
0.00% <ø> (ø)

query/search/search.go
44.44% <ø> (-1.34%)
:arrow_down:

schema/schema.go
53.33% <0.00%> (-9.59%)
:arrow_down:

server/metadata/database.go
0.00% <0.00%> (ø)

server/metrics/datadog.go
42.25% <0.00%> (+0.87%)
:arrow_up:

server/metrics/quota.go
31.37% <0.00%> (-7.66%)
:arrow_down:

server/metrics/tags.go
71.53% <0.00%> (ø)

server/middleware/measure.go
0.00% <0.00%> (ø)

... and 37 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Rename module to vscode-theme

module named vscode conflict with vscode's vscode-neovim extension.

@tuyenpm9 - Can you please check the conflicts?

Related: https://github.com/Mofiqul/vscode.nvim/issues/5


Version 2.1.3

I just dropped from 150.000 blocked domains to 116.000 domains on ArcoLinux
I suppose you know why that is

I have decided to remove the anudeepND list because it contains false positives. This is not the first time that it has happened with this list.
If it does not cause you problems you can manually add it again.

ok thanks for letting me know
I will update the package and put it out there for our users
On Sat, Dec 7, 2019 at 8:38 PM Héctor Molinero Fernández <
<EMAIL_ADDRESS>wrote:

I have decided to remove the anudeepND list because it contains false
positives. This is not the first time that it has happened with this list.
If it does not cause you problems you can manually add it again.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hectorm/hblock/issues/31?email_source=notifications&email_token=AIX253XD5HFEAM4JWT4UIZTQXP3VDA5CNFSM4JXQZZ22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGGN5AY#issuecomment-562880131,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIX253QAAJ5OH5BHR2TCHFTQXP3VDANCNFSM4JXQZZ2Q
.


When to mark an InferenceService as ready in a multi-model world?

When an InferenceService can load multiple models when can we mark an InferenceService ready?
Approach 1: An InferenceService is ready when all the models are ready
pros:

k8s can help reject requests coming into this pod as the pod won't be ready

cons:

If there are 1000 models in a pod, if one model is not ready then all other models can not receive traffic
If a large model need to be loaded, then it will blocks traffic for all other models

Approach 2: An InferenceService is ready as long as an empty model server is up
pros:

one model that is not ready won't block the traffic to other models

cons:

when an InferenceService need to be scaled up, users may expect that a new replica is only ready when all models are ready

I think we talked about this in the last MMS discussion I was in. I don't think there's a great answer but the only practical approach I can think of given other constraints would be:

New pods to become ready only once all of the models that were present in the initial copy of the configmap read upon startup (minus any removed concurrently but not including any added)
New TrainedModels become ready/available (controller status update) only once they are available (loaded) in all pods

Though for both of these there might be more to think about for failure cases, especially if the same model loads successfully in some pods but fails in others.

As discussed in the meeting, for the new trained model we can send probes to all the endpoints(pods) in trained model controller, only if they are all successful we then create the virtual service route to the new trained model, in this way we can make sure requests to the new trained model are successful as soon as the route presents otherwise user gets 404 if they send requests before models are ready in all the replicas.

@yuzisun yep I think that's consistent with my suggestion, where "TrainedModels become ready/available" corresponds to "create the virtual service route to the new trained model"


support custom config https key and cert

support custom config https key and cert

 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.zsp seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Explore open source credential management solutions

This task involves researching and documenting the suitable open-source credential management solution for VEDA. Credential management solutions help securely store, manage, and access sensitive credentials.

Please add the documentation to Auth for review.


Wrong key in registry

In win-sshfs/Sshfs/WinSSHFS-setup/Product.wxs "key" attribute should probably have a backslash instead of a forward slash:
<RegistryValue               Root="HKCU" Key="Software/WinSshFs"

Right, fixed in devel.


investigate bad numerics of FCNN

it struggles a lot to even overfit

this was because we were not fitting it until the end ...


BatchNorm guide

What does this PR do?
Add a Using BatchNorm guide with the following content:

How to define a model that uses BatchNorm
How to handle the batch_stats collection
How to configure apply
How to modify TrainState, train_step, and eval_step to handle a model with BatchNorm.

Our codediff sphinx directive is use throughout to highlight the changes to add BatchNorm support for existing code.
Live preview: https://flax--2536.org.readthedocs.build/en/2536/guides/batch_norm.html

I think this is good, but it could help if the code could be fully copy-pasted. So maybe including all relevant import statements.
I wouldn't use the word "just" since even though it's a small change the introduction of the train flag is confusing and surprising. As you say, BatchNorm is often the first model most users encounter that behaves much more differently at train vs test time. I think that's worth dwelling on.
Minor:
"BatchNorm add an" -> "BatchNorm adds an"

Codecov Report

Merging #2536 (2e8fe02) into main (8b40930) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2536      +/-   ##
==========================================
- Coverage   79.50%   79.40%   -0.10%
==========================================
  Files          49       49
  Lines        5206     5157      -49
==========================================
- Hits         4139     4095      -44
+ Misses       1067     1062       -5

Impacted Files
Coverage Δ

flax/core/nn/linear.py
42.34% <0.00%> (-0.52%)
:arrow_down:

flax/struct.py
78.12% <0.00%> (-0.34%)
:arrow_down:

flax/core/scope.py
89.72% <0.00%> (-0.07%)
:arrow_down:

flax/core/lift.py
95.81% <0.00%> (-0.07%)
:arrow_down:

flax/linen/normalization.py
97.08% <0.00%> (-0.05%)
:arrow_down:

flax/core/frozen_dict.py
96.19% <0.00%> (-0.04%)
:arrow_down:

flax/linen/summary.py
99.00% <0.00%> (-0.01%)
:arrow_down:

flax/traverse_util.py
99.01% <0.00%> (-0.01%)
:arrow_down:

flax/linen/recurrent.py
100.00% <0.00%> (ø)

flax/training/train_state.py
0.00% <0.00%> (ø)

... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Hey @zaxtax, thanks for the feedback! What did you mean by:

I think this is good, but it could help if the code could be fully copy-pasted.

Like a "copy to clipboard" widget?

Oh I meant the example was completely self-contained and could be run if it
were cut-paste from the website directly into a notebook cell.
On Fri, 4 Nov 2022, 21:58 Cristian Garcia, @.***> wrote:

Hey @zaxtax https://github.com/zaxtax, thanks for the feedback! What
did you mean by:
I think this is good, but it could help if the code could be fully
copy-pasted.
Like a "copy to clipboard" widget?
—
Reply to this email directly, view it on GitHub
https://github.com/google/flax/pull/2536#issuecomment-1304252902, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAACCUKTK7W5XETE6P7QKF3WGV2H5ANCNFSM6AAAAAARFVJ27A
.
You are receiving this because you were mentioned.Message ID:
@.***>

Makes sense! Once the content for this guide is finalized the idea is to copy this into a notebook and add an "open in colab" link.

Hey @marcvanzee! Is the ready to go? 🚀

Sure, I thought @8bitmp3 might want to have a look, but I think he has plenty of other tasks, and given that I already looked at it in quite some detail I think we can merge it.

@8bitmp3 if you still have comments, feel free to create a new PR with suggested modifications.


IPA error

Operating system
Which operating system and version are you using?
I am working on a server with:
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

Package name
Which package / tool is causing the problem? Which version are you using, use tool --version. Have you updated to the latest version conda update package? Have you updated the complete env by running conda update --all? Have you ensured that your channel priorities are set up according to the bioconda recommendations at https://bioconda.github.io/#set-up-channels?
I am using IPA installed with conda with all last versions.
Conda environment
What is the result of conda list?
I have run the IPA program to assemble a genome with HiFi reads, but it always stops at the same step, giving the same message.
This is the code:
ipa local -i bothrioHiFi_reads.fastq --njobs 2 --nthreads 25 --genome-size<PHONE_NUMBER> --coverage 18
I have tried to restart it, with the --resume flag, as I have seen in some posts, but it keeps failing.
I have also tried to run snakemake alone, with the command line indicated in the log file, but it doesn't work either.
miniconda3/envs/ipa/bin/python3 -m snakemake -j 2 -d RUN -p -s miniconda3/envs/ipa/etc/ipa.snakefile --configfile RUN/config.yaml --reason
I don't know what could be wrong.
Error message
Paste the error message / stack.
Error in rule build_db:
    jobid: 5
    output: 02-build_db/reads.seqdb, 02-build_db/reads.seeddb, 02-build_db/reads.seqdb.0.seq, 02-build_db/reads.seeddb.0.seeds, 02-build_db/input.fofn
    shell:

        wd=$(dirname 02-build_db/reads.seqdb)
        mkdir -p $wd
        cd $wd
        rel=..

        input_reads_fn="/mnt/iscsi01-copy/userdir/Bothrioplana/ipa/RUN/input.fofn"         params_db_prefix="reads"         params_config_sh_fn="$rel/01-generate_config/generated.config"         params_num_threads=25         params_log_level="INFO"         params_tmp_dir="/tmp"             time ipa2-task build_db

        (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

Removing output files of failed job build_db since they might be corrupted:
02-build_db/reads.seqdb.0.seq, 02-build_db/input.fofn
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: /mnt/iscsi01-copy/userdir/Bothrioplana/ipa/RUN/.snakemake/log/2022-03-10T175133.540711.snakemake.log

To Reproduce
Steps to reproduce the behavior. Providing a minimal test dataset on which we can reproduce the behavior will generally lead to quicker turnaround time!
Expected behavior
A clear and concise description of what you expected to happen.

Hi @MartonaAlvarez,
Can you please post the entire stderr of the ipa local output (not just this last chunk)?
There seems to be something wrong in the DB construction stage.
Can you also please verify that bothrioHiFi_reads.fastq is a valid FASTQ file?
Best regards,
Ivan.

Hi @isovic , thanks for your response. Here is the output complete. Regarding the fastq file, yes, it is valid.
INFO: /home_new/jordi/soft/miniconda3/envs/ipa/bin/ipa local -i bothrioHiFi_reads.fastq --njobs 2 --nthreads 25 --genome-size<PHONE_NUMBER> --coverage 18 --resume
INFO: ipa.py ipa (wrapper) version=1.5.0 ... Checking dependencies ...
INFO: Dependencies
/home_new/jordi/soft/miniconda3/envs/ipa/bin/python3
/home_new/jordi/soft/miniconda3/envs/ipa/bin/ipa2-task
/home_new/jordi/soft/miniconda3/envs/ipa/bin/falconc
/home_new/jordi/soft/miniconda3/envs/ipa/bin/minimap2
/home_new/jordi/soft/miniconda3/envs/ipa/bin/nighthawk
/home_new/jordi/soft/miniconda3/envs/ipa/bin/pancake
/home_new/jordi/soft/miniconda3/envs/ipa/bin/pblayout
/home_new/jordi/soft/miniconda3/envs/ipa/bin/racon
/home_new/jordi/soft/miniconda3/envs/ipa/bin/samtools
/home_new/jordi/soft/miniconda3/envs/ipa/bin/ipa_purge_dups
/home_new/jordi/soft/miniconda3/envs/ipa/bin/ipa_purge_dups_split_fa
snakemake version=7.1.0
ipa2-task 1.5.0 (commit c875fce13bdacbafc2f4f750c6438f4453e1354d)
 Machine name: 'Linux'
Copyright (C) 2004-2021     Pacific Biosciences of California, Inc.
This program comes with ABSOLUTELY NO WARRANTY; it is intended for
Research Use Only and not for use in diagnostic procedures.

falconc version=1.13.1+git.f9d1b5651e891efe379bd9727a0fa0931b875d7b, nim-version=1.5.1
minimap2 version=2.24-r1122
Nighthawk 0.1.0 (commit SL-release-10.1.0-7-gbe5dfb1*)
pancake 1.3.0 (commit SEQII-release-10.1.0-432-gf2693fd*)
pblayout 1.0.0 (commit SL-release-10.1.0-152-g66936d1*)
racon version=v1.4.20
samtools 1.15
Using htslib 1.14
ipa_purge_dups Version: 1.2.5

To run this yourself:
/home_new/jordi/soft/miniconda3/envs/ipa/bin/python3 -m snakemake -j 2 -d RUN -p -s /home_new/jordi/soft/miniconda3/envs/ipa/etc/ipa.snakefile --configfile RUN/config.yaml --reason

Starting snakemake ...
CWD:/mnt/iscsi01-copy/userdir/Bothrioplana/ipa/RUN
NPROC:25
NPROC_SERIAL:25
config:{'advanced_options': '', 'coverage': 18, 'genome_size':<PHONE_NUMBER>, 'm4filt_high_copy_sample_rate': 1.0, 'max_nchunks': 40, 'nproc': 25, 'phase_run': 1, 'polish_run': 1, 'purge_dups_calcuts': '', 'purge_dups_run': 1, 'reads_fn': 'RUN/input.fofn', 'tmp_dir': '/tmp'}
Building DAG of jobs...
Using shell: /bin/bash
Provided cores: 2
Rules claiming more threads will be scaled down.

[Mon Mar 14 10:15:52 2022]
rule build_db:
    input: /mnt/iscsi01-copy/userdir/Bothrioplana/ipa/RUN/input.fofn, 01-generate_config/generated.config
    output: 02-build_db/reads.seqdb, 02-build_db/reads.seeddb, 02-build_db/reads.seqdb.0.seq, 02-build_db/reads.seeddb.0.seeds, 02-build_db/input.fofn
    jobid: 5
    reason: Missing output files: 02-build_db/reads.seqdb
    resources: tmpdir=/tmp

        wd=$(dirname 02-build_db/reads.seqdb)
        mkdir -p $wd
        cd $wd
        rel=..

        input_reads_fn="/mnt/iscsi01-copy/userdir/Bothrioplana/ipa/RUN/input.fofn"         params_db_prefix="reads"         params_config_sh_fn="$rel/01-generate_config/generated.config"         params_num_threads=25         params_log_level="INFO"         params_tmp_dir="/tmp"             time ipa2-task build_db

/mnt/iscsi01-copy/userdir/Bothrioplana/ipa/RUN /mnt/iscsi01-copy/userdir/Bothrioplana/ipa/RUN/02-build_db
/mnt/iscsi01-copy/userdir/Bothrioplana/ipa/RUN/02-build_db
/mnt/iscsi01-copy/userdir/Bothrioplana/ipa/bothrioHiFi_reads.fastq
>|> 20220314 11:57:02.418 -|- INFO -|- Runner -|- 0x7f35392e5780|| -|- Loading the input DBs.
Command exited with non-zero status 139
5727.91user 404.48system 1:42:15elapsed 99%CPU (0avgtext+0avgdata 2127640maxresident)k
0inputs+46524440outputs (0major+960864minor)pagefaults 0swaps
[Mon Mar 14 11:58:07 2022]
Error in rule build_db:
    jobid: 5
    output: 02-build_db/reads.seqdb, 02-build_db/reads.seeddb, 02-build_db/reads.seqdb.0.seq, 02-build_db/reads.seeddb.0.seeds, 02-build_db/input.fofn
    shell:

        wd=$(dirname 02-build_db/reads.seqdb)
        mkdir -p $wd
        cd $wd
        rel=..

        input_reads_fn="/mnt/iscsi01-copy/userdir/Bothrioplana/ipa/RUN/input.fofn"         params_db_prefix="reads"         params_config_sh_fn="$rel/01-generate_config/generated.config"         params_num_threads=25         params_log_level="INFO"         params_tmp_dir="/tmp"             time ipa2-task build_db

        (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

Removing output files of failed job build_db since they might be corrupted:
02-build_db/reads.seqdb.0.seq, 02-build_db/input.fofn
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: /mnt/iscsi01-copy/userdir/Bothrioplana/ipa/RUN/.snakemake/log/2022-03-14T101551.012769.snakemake.log
ERROR: Command '/home_new/jordi/soft/miniconda3/envs/ipa/bin/python3 -m snakemake -j 2 -d RUN -p -s /home_new/jordi/soft/miniconda3/envs/ipa/etc/ipa.snakefile --configfile RUN/config.yaml --reason' returned non-zero exit status 1.
Exiting.

Thanks,
Marta

Hi,
I solved the first error and managed to get it running, however, it stops at Snakemake step 5 and I don't understand why. This is the message from snakemake:
Error in rule ovl_asym_merge:
    jobid: 13
    output: 05-ovl_asym_merge/ovl.merged.m4, 05-ovl_asym_merge/ovl.nonlocal.m4
    shell:

        wd=$(dirname 05-ovl_asym_merge/ovl.merged.m4)
        mkdir -p $wd
        cd $wd
        rel=..

        # We must change rel-path names when we chdir.
        for fn in 04-ovl_asym_run/18/ovl.sorted.m4 04-ovl_asym_run/32/ovl.sorted.m4 04-ovl_asym_run/12/ovl.sorted.m4 04-ovl_asym_run/16/ovl.sorted.m4 04-ovl_asym_run/30/ovl.sorted.m4 04-ovl_asym_run/29/ovl.sorted.m4 04-ovl_asym_run/23/ovl.sorted.m4 04-ovl_asym_run/31/ovl.sorted.m4 04-ovl_asym_run/1/ovl.sorted.m4 04-ovl_asym_run/5/ovl.sorted.m4 04-ovl_asym_run/25/ovl.sorted.m4 04-ovl_asym_run/0/ovl.sorted.m4 04-ovl_asym_run/4/ovl.sorted.m4 04-ovl_asym_run/37/ovl.sorted.m4 04-ovl_asym_run/38/ovl.sorted.m4 04-ovl_asym_run/6/ovl.sorted.m4 04-ovl_asym_run/2/ovl.sorted.m4 04-ovl_asym_run/9/ovl.sorted.m4 04-ovl_asym_run/33/ovl.sorted.m4 04-ovl_asym_run/10/ovl.sorted.m4 04-ovl_asym_run/17/ovl.sorted.m4 04-ovl_asym_run/14/ovl.sorted.m4 04-ovl_asym_run/3/ovl.sorted.m4 04-ovl_asym_run/24/ovl.sorted.m4 04-ovl_asym_run/27/ovl.sorted.m4 04-ovl_asym_run/20/ovl.sorted.m4 04-ovl_asym_run/35/ovl.sorted.m4 04-ovl_asym_run/13/ovl.sorted.m4 04-ovl_asym_run/19/ovl.sorted.m4 04-ovl_asym_run/26/ovl.sorted.m4 04-ovl_asym_run/34/ovl.sorted.m4 04-ovl_asym_run/39/ovl.sorted.m4 04-ovl_asym_run/36/ovl.sorted.m4 04-ovl_asym_run/8/ovl.sorted.m4 04-ovl_asym_run/28/ovl.sorted.m4 04-ovl_asym_run/11/ovl.sorted.m4 04-ovl_asym_run/22/ovl.sorted.m4 04-ovl_asym_run/15/ovl.sorted.m4 04-ovl_asym_run/21/ovl.sorted.m4 04-ovl_asym_run/7/ovl.sorted.m4; do
            echo $rel/$fn
        done >| ./sorted.fofn

        input_fofn=./sorted.fofn         params_num_threads="25"         params_db_prefix=reads         params_config_sh_fn="$rel/01-generate_config/generated.config"         params_log_level="INFO"         params_tmp_dir="/tmp"             time ipa2-task ovl_asym_merge

        (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

Removing output files of failed job ovl_asym_merge since they might be corrupted:
05-ovl_asym_merge/ovl.merged.m4
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: /mnt/iscsi01-copy/userdir/Bothrioplana/ipa/RUN/.snakemake/log/2022-03-15T092702.530410.snakemake.log

Any help will be welcome. I have tried reruning with the --resume flag and tried to run the snakemake commands only. But always get the same error.
Thanks, Marta

Hi Marta,
Can you please describe how you solved the first issue, for future reference?

I solved the first error and managed to get it running, however, it stops at Snakemake step 5 and I don't understand why. This is the message from snakemake:

Is there anything else written to stderr which might provide more info?
Snakemake output, like the one you copy/pasted, is good at telling us that something went wrong, but not exactly what happened.
The actual error messages, if there are any, are usually located just above/below this for an ipa local run, or in the cluster log file for that stage (located in RUN/qsub_log/).
This stage is actually very simple - all it does, literally, is concatenating all overlap files, sorting them and removing local alignments; all of which is done using standard Bash tools.
Is it possible that your disk is full?
Or that the temporary directory is not available on your system or is full (/tmp)?
In this case, try running IPA with this additional parameter: `--tmp-dir "./"
Best regards,
Ivan.

Hi Ivan,
thanks for your reply. For getting it running I splitted the input files to the original files I had from the demultiplexing step. It worked well.
It seems that the error this time was the one about the tmp dir, because I changed it to --tmp-dir ${PWD} and it worked.
The RUN/qsub_log/ directory is empty, so I only can give you information about the snakemake log file, I'm afraid.
Now the error is in step 9 (assembly). I've tried to rerun, but it doesn't work this time.
´´´
Finished job 11.
44 of 53 steps (83%) done
Select jobs to execute...
[Sun Mar 27 16:45:24 2022]
rule assemble:
input: /mnt/iscsi01-copy/userdir/Bothrioplana/ipa/RUN/input.fofn, 02-build_db/reads.seqdb, 09-ovl_filter/ovl.final.m4, 08-phasing_merge/ovl.phased.m4, 01-generate_config/generated.config
output: 10-assemble/p_ctg.fasta, 10-assemble/a_ctg.fasta, 10-assemble/p_ctg_tiling_path, 10-assemble/a_ctg_tiling_path, 10-assemble/p_ctg.fasta.fai, 10-assemble/a_ctg.fasta.fai, 10-assemble/read_to_contig.paf, 10-assemble/circular_contigs.csv
jobid: 10
reason: Missing output files: 10-assemble/p_ctg.fasta, 10-assemble/a_ctg.fasta, 10-assemble/a_ctg.fasta.fai, 10-assemble/read_to_contig.paf, 10-assemble/p_ctg.fasta.fai; Input files updated by another job: 09-ovl_filter/ovl.final.m4, 08-phasing_merge/ovl.phased.m4
resources: tmpdir=/tmp
    wd=$(dirname 10-assemble/p_ctg.fasta)
    mkdir -p $wd
    cd $wd
    rel=..

    output_read_to_contig=$(basename 10-assemble/read_to_contig.paf)         input_seqdb="$rel/02-build_db/reads.seqdb"         input_m4="$rel/09-ovl_filter/ovl.final.m4"         input_m4_phasing_merge="$rel/08-phasing_merge/ovl.phased.m4"         input_reads="/mnt/iscsi01-copy/userdir/Bothrioplana/ipa/RUN/input.fofn"         params_ctg_prefix=ctg         params_num_threads=25         params_config_sh_fn="$rel/01-generate_config/generated.config"         params_log_level="INFO"         params_tmp_dir="/mnt/iscsi01-copy/userdir/Bothrioplana/ipa"             time ipa2-task assemble

[Sun Mar 27 16:45:24 2022]
Error in rule assemble:
jobid: 10
output: 10-assemble/p_ctg.fasta, 10-assemble/a_ctg.fasta, 10-assemble/p_ctg_tiling_path, 10-assemble/a_ctg_tiling_path, 10-assemble/p_ctg.fasta.fai, 10-assemble/a_ctg.fasta.fai, 10-assemble/read_to_contig.paf, 10-assemble/circular_contigs.csv
shell:
    wd=$(dirname 10-assemble/p_ctg.fasta)
    mkdir -p $wd
    cd $wd
    rel=..

    output_read_to_contig=$(basename 10-assemble/read_to_contig.paf)         input_seqdb="$rel/02-build_db/reads.seqdb"         input_m4="$rel/09-ovl_filter/ovl.final.m4"         input_m4_phasing_merge="$rel/08-phasing_merge/ovl.phased.m4"         input_reads="/mnt/iscsi01-copy/userdir/Bothrioplana/ipa/RUN/input.fofn"         params_ctg_prefix=ctg         params_num_threads=25         params_config_sh_fn="$rel/01-generate_config/generated.config"         params_log_level="INFO"         params_tmp_dir="/mnt/iscsi01-copy/userdir/Bothrioplana/ipa"             time ipa2-task assemble

    (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
The params used to generate one or several output files has changed:
To inspect which output files have changes, run 'snakemake --list-params-changes'.
To trigger a re-run, use 'snakemake -R $(snakemake --list-params-changes)'.
Complete log: /mnt/iscsi01-copy/userdir/Bothrioplana/ipa/RUN/.snakemake/log/2022-03-22T115640.011885.snakemake.log
´´´
I've tried running :
snakemake --list-params-changes
and it returns:
Error: no Snakefile found, tried Snakefile, snakefile, workflow/Snakefile, workflow/snakefile
Also:
snakemake -R $(snakemake --list-params-changes)
returns:
Error: you need to specify the maximum number of CPU cores to be used at the same time. If you want to use N cores, say --cores N or -cN. For all cores on your system (be sure that this is appropriate) use --cores all. For no parallelization use --cores 1 or -c1.
So, I've tried specifying number of cores, but it doesn't recognise the parameter. So I am lost here, don't know how to get my run finished. Any clue will be welcome.
Thanks
Marta

Hi,
I've seen that my issue has been closed as resolved, but I didn't get any
answer about the last problem I had...
Thanks
Marta
Missatge de Armin Töpfer @.***> del dia dl., 14 de nov.
2022 a les 16:29:

Closed #479 https://github.com/PacificBiosciences/pbbioconda/issues/479
as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/PacificBiosciences/pbbioconda/issues/479#event-7805388603,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT7BTRABAASXPEVO56X3W3LWIJLFJANCNFSM5QPNKZ6A
.
You are receiving this because you were mentioned.Message ID:
@.***
com>


Updated resource.html

Solved footer issues
Fixes issue #70

Please merge this PR to solve your footer issue #73


fix: network message timeout

Currently node only aborts message if reading from the stream takes longer than the specified timeout.
This PR ensure that the timeout is measured from the start of the operation, which includes dialing the peer (stream creation) and writing to the stream aswell.
The timeout abort controller dependency is removed as it is not necessary since node v16.

Looks good, tested in local and it's working


Sketch Crash on Populate With JSON when using SVG

It took me a few minutes to track down, but I am running into an issue where, if I use the SVG version of an icon, Sketch will crash upon clicking the "Populate" button. However, if I use a PNG version of the same icon, everything goes swimmingly.
The SVG in question was originally generated by Sketch. I also attempted re-saving it from Illustrator as an SVG. And, then, exporting it from Illustrator as a web-optimized SVG. Same results. I also tried a few different SVG icons in case it was specific to one odd/corrupt file. Below is the actual SVG text of the SVG generated by Sketch:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg width="21px" height="18px" viewBox="0 0 21 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">     <!-- Generator: Sketch 3.6.1 (26313) - http://www.bohemiancoding.com/sketch -->     <title>icon_checkmark_green</title>     <desc>Created with Sketch.</desc>     <defs></defs>     <g id="Response-States" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">         <g id="UI-Components" transform="translate(-532.000000, -50.000000)" fill="#5BB55D">             <path d="M538.82094,67.1223958 L532,58.1380208 L535.024379,54.9479167 L538.82094,59.8307292 L550.725412,50 L552.205427,51.4973958 L538.82094,67.1223958 L538.82094,67.1223958 Z" id="icon_checkmark_green"></path>         </g>     </g> </svg>

I believe I have figured out what I am doing wrong. Looking at only one demo, I assumed that SVGs were treated the same as any other image type and, as such, would use the same placeholder. However, looking through the code for populate(), I found that it looks for specific iconPlaceholders with the pattern {{*}}. Which tells me that I probably need double curly brackets on my placeholders for SVGs. I'll make that change later this afternoon and see how it goes.

Using the example from demo.sketch [the icon on a ListItem in the "contacts" example] definitely behaved differently, but Sketch still crashed. I could see the rows get generated. I could see the icon placeholders but the actual SVG icon did not load into them. The view appeared to zoom out, almost as if I'd hit Command + 1. And then Sketch crashed. For the moment, I'm just going to use PNG versions of the icons and generate SVG assets for development.
If it helps, I am running Sketch 3.6.1 (26313) on El Capitan 10.11.3.

Yeah, it's double brackets. But also, the SVG stuff is a bit shaky, since loading external SVGs is more complex than loading an image.

That makes sense. For our purposes, it's working great just using PNG files. Then we export icons as SVG for the dev team. This has already saved hours as design iteration progresses.


Missing maxHeight and maxWidth options

There was an issue with that before (https://github.com/fengyuanchen/cropper/issues/816) but the opener closed it by himself, so I create a new one:
It would be helpful if the cropping area could support max height and width (as it does with min height and width).
Thanks - its a neat plugin!

.img-container {
  width: 480px; /* use this as the maxWidth */
  height: 480px; /* use this as the maxHeight */
}


Update kind-projector to 0.11.3

Updates org.typelevel:kind-projector from 0.11.1 to 0.11.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "kind-projector" } ]

labels: library-update, semver-patch

Codecov Report

Merging #8 (958c239) into master (1e27808) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master        #8   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines            1         1
=========================================
  Hits             1         1

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 a8ebb72...958c239. Read the comment docs.

Codecov Report

Merging #8 (958c239) into master (1e27808) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master        #8   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines            1         1
=========================================
  Hits             1         1

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 a8ebb72...958c239. Read the comment docs.


Consider running tests for selected packages pre-release

This would generate a notebook or other tooling with a list of "core packages" (e.g. geopandas, pysal-verse, contextily) that'd then be tested using their standard CI suite. This would be a requirement akin to the install_check notebooks we currently have.

Testing of geopandas added in b62785af29b1eb5d90e3162c8ec9b34bf0c4ed0c

Maybe we should consider a list of packages to test:

[x] geopandas
[ ] PySAL
[ ] ...


Bug - Dynamic import not correctly transpiled in all cases

We ran into an issue trying to use the new dynamic import support when trying to split our webpack bundles. I was able to create a simplified repro below. It looks like importing does not get transpiled correctly but it does when within a function. We have a simple work around for now which is hoist the code up into a function outside the class, but this is pretty annoying.
TypeScript Version:  2.4.1
Code
foo.ts
export default class Foo {
    render() {
        return 'foo';
    }
}

foo_async.ts
export class FooAsync {
  render() {
    const loadAsync = import( './foo');
    return loadAsync;
  }
}

foo_async_working.ts (Example where the transpiling has the correct behavior)
const loadAsync = import( './foo');
export class FooAsync {
  render() {
    return loadAsync;
  }
}

Command line option: tsc -t es6 -m commonjs foo_async.ts
Expected behavior:
Dynamic import('./foo') should be transpiled to Promise.resolve().then(function () { return require('./foo'); });
As noted above this is correctly translated when put at the top of the file or inside a function outside of the class that the class calls.
Actual behavior:
The import is not transpiled and leads to a syntax error because import is an unrecognized token.

The PR is up. Once it checked in, you can try the nightly version!

Awesome. Thanks!

I don't understand this change at all and it actually broke my setup after upgrading to TS 2.5. Probably I have gotten something completely wrong:
Wasn't the whole point to preserve the import statements and not transpile them? Reading the webpack docs I comprehend that it expects an import token to be on the code and then extracts a new bundle.
I had exactly this working.
Now after this change all import statement get transpiled to require statements and webpack generates one big bundle.
I would really appreciate someone telling what I have gotten wrong.

Wasn't the whole point to preserve the import statements and not transpile them?

use --module esNext to avoid transpiling the import statements.

Thanks. For some reason this breaks my ability to use import statements and export default in my webpack.config.ts but I fixes the issue 😃

This is still an issue when the dynamic import is used when exporting a default object:
export default {
    getInstance: function () {
        return import('./foo2');
    }
}

transpiles to
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
    getInstance: function () {
        return import('./foo2');
    }
};

whereas naming the export it works:
export let defaultExport = {
    getInstance: function () {
        return import('./foo2');
    }
}

// transpiles to

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultExport = {
    getInstance: function () {
        return Promise.resolve().then(function () { return require('.foo2'); });
    }
};

typescript version: 2.5.3

@kohlikohl, files #18968 to track this one.


DATECS FP300 Error on Post Receipt

REQUEST
{
"uniqueSaleNumber": "DT279013-0008-5000002",
"items": [
{
"text": "Cheese",
"quantity": 1,
"unitPrice": 12,
"taxGroup": 1
},
{
"text": "Milk",
"quantity": 2,
"unitPrice": 10,
"taxGroup": 1
}
],
"payments": [
{
"amount": 32,
"paymentType": "cash"
}
]
}
ERROR / RESPONSE
{
"receiptNumber": "",
"receiptDateTime": "0001-01-01T00:00:00",
"receiptAmount": 0.0,
"fiscalMemorySerialNumber": "",
"ok": false,
"messages": [
{
"type": "error",
"code": "E199",
"text": "General error"
},
{
"type": "info",
"text": "No customer display is connected"
},
{
"type": "error",
"code": "E404",
"text": "The command is not allowed in the current fiscal mode"
},
{
"type": "info",
"text": "SW7=ON, SW6=ON, SW5=OFF, SW4=OFF, SW3=ON, SW2=OFF, SW1=ON"
},
{
"type": "info",
"text": "Unique Printer ID and Fiscal Memory ID are set"
},
{
"type": "info",
"text": "The tax rates are set at least once"
},
{
"type": "info",
"text": "The fiscal memory is formatted"
},
{
"type": "info",
"text": "Error occured while opening new fiscal receipt"
}
]
}

@dicksonkimeu did you solve this?


Remove redundant brackets #1159

A new "Fixities" hint, yielding ignored by default "Redundant infix bracket due to operator fixities" ideas.

Thanks!


Remove float logic from child taxons grid view

Control float logic within css

We will need to test this on browsers. nth-child isn't supported in IE8 and lower.

We had the same functionality before (@397c29) and removed it because of browser incompatibility issues.

Here's the original Trello card for context: https://trello.com/c/g8rg70Oa/359-find-a-way-of-making-sure-the-grid-doesn-t-break-without-using-nth-selectors-which-are-not-supported-in-ie8
One day, we'll live in a beautiful, IE-free utopia of nth selectors and maybe even css-grid. But sadly today is not that day.
Feel free to raise a separate PR to comment on this CSS if you think it would help.

Thanks both!


Missing Minikube command in README of litmus-portal

What happened:
In the README of litmus-portal, the minikube command does not work because there is only flags  and no command.
Where can this issue be corrected?
Line of documentation in question
I think the intended command is: minikube service .

Closing the issue since PR is merged and issue is fixed.


It time to merge the Swift 1.2 branch

Now Swift 1.2 is out, it's time for a new release. Please :smiley:
For the record, for now I use the branch this way:
pod 'SwiftyUserDefaults', :git => 'https://github.com/radex/SwiftyUserDefaults', :branch => 'swift-1.2'

You're right! I'll merge it in later today :)

Alright, done! I merged to master and cut a new release: 1.1.0. I haven't tested it with CocoaPods but it should work just fine.
Thanks for the reminded @jschmid!
PS. "later today", LOL.


Declarative Typing in overloads

Allow@overload to declare the supported function signature

CC @stuartarchibald
We can put all design notes and discussion here.

Basic motivation:
import numpy as np
from numba.extending import overload
from numba import njit, types

def foo(x):
    pass

@overload(foo, signatures=[(types.intp,), (types.int8,)])
def ol_foo(x):
    def impl(x):
        pass
    return impl

@njit
def call(y):
    foo(y)

z = np.intp(10)
call(z) # fine
z = np.int8(10)
call(z) # fine

z = np.float64(10)
call(z) # error, no float64 overload implemented

Could produce something like:
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)

No implementation of function `foo` found for signature (float64,). Known implementations are:
 * foo(intp)
 * foo(int8)

or
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)

No implementation of function `foo` found for signature (float64,). To view known matches run:
#> python -m numba -f /tmp/<some hash?!>

Here are my two cents:
Cent 1: when a user sees a message like above, what should be the next steps that users can take? Here's a possible list:

Change user code such that the input types to foo match with the signatures of existing implementations. If that is applicable to the user's problem then the exception is resolved for the user.
If not, then the user can:
2.1 submit a feature request for the missing implementation,
2.2 provide the missing implementation as PR to numba project,
2.3 have the missing implementation within its own software,
2.4 or find some other workaround.
For the case of 2.2 and 2.3, it would be nice to have a single-line hint (e.g. a link to relevant docs) in the error message.

Cent 2: the first or part is preferred.
Question: when numba implements ol_foo as above, is this planned to be a final implementation? Or can user extend it in its own software by defining
from numba import foo, ...
@overload(foo, signatures=[(types.float32,), (types.float64) ])
def my_ol_foo(x):
    def impl(x):
        pass
    return impl

for instance, to make call(np.float64(10)) work for the user program?


Expand known networks; support testnet assets; add Kolibri

Related to #200, #202

@serh11p thanks for the merge! Hope you had a good holiday :)


Feature request - event callbacks

Hi there,
I have a suggestion for this awesome little git project. Event callbacks/delegates/closure calls (whatever you want to call it) for when the app displays a page.
So lets say we have page A, page B and page C. If A is active and user taps on page C, after the animation has finished, fire this 'callback' function to do any necessary updates (i.e. updating the colour of the navigation bar based on the active page in a different view controller file). Same would apply if the user simply scrolled left or right, fire/call the appropriate thing and make sure to pass back the reference of the active page that the user scrolled to.
Would be really useful, at least for me. :)

I agree, it would be a very helpful feature. I will start working on it tomorrow. Currently I am working on some small setup improvements, so once that is done I will start on this. Should be available within the next couple days.
Thanks for your feedback and I'm glad you're enjoying the library :)

Awesome, looking forward to it! :D

I added this feature, but it currently is only available in the develop branch as I am working on a couple more things for the next release. I just thought I'd let you know it's there so you can start looking at it and using it. Of course anything in the develop branch is in beta so it might not all work correctly at the moment. A new release should be out in a few days though

Perfect, will grab the latest changes and play around with it when I get some time. Thanks!

@fahlout If I may recommend some enhancements too:

Expose menuItemSeparator's backgroundColor as a property
Find a neat way to make interactivePopGestureRecognizer work when PageMenu displays the leftmost UIViewController. Currently, the UIScrollView intercepts the gesture and just bounces horizontally.

Thanks and props for the cool lib. Saved me lots of time buddy.

I will make sure to make that a property. Can you clarify what you're trying to do in the second bullet point  a little more please?
Your third issue should fix itself with a new release in the coming days.
Are you trying to put view controllers with navigation controllers in the page menu? Currently the only thing that's supported even though more things than are supported technically work it is not made to be able to push anything within the view controllers in page menu. Anything being pushed should be pushed from the parent view controller that you set up page menu in. This is just how it is right now

Hey @fahlout,
thanks for your prompt response buddy. So.. regarding the second bullet point. Currently, in my hierarchy all the view controllers in the UINavigationController stack have custom UINavigationBars. These are set as IBOutlets and customised by each view. Under these circumstances, I want to be able to support the swipe from left edge-to-right to go back one view controller. This has the same effect as tapping the back button in the navigation bar. Unfortunately, if there's a PageMenu in the view, it's scroll view intercepts this swipe gesture and just bounces the scrollview instead of poping the current view controller and going back. Is that more clear?
Also, no.. I am not pushing UINavigation controllers in the PageMenu although the PageMenu is in a view controller that is encapsulated in a UINavigationController.
Please, do let me know if you need any more clarifications.

Interesting. I think i understand what you're trying to do now. I would have to research this a little more to see what's possible in this situation as this is something I did not think of so thanks for bringing that up. I wonder if setting the scroll view in page menu to not bounce will make any difference.

I'm going to commit something to demo 5 in the develop branch that I will get rid of again after I get a response from you. Please let me know if that is similar to your setup navigation wise

@fahlout sorry I was AFK and didn't catch up soon enough. I checked you commit in develop branch. No, my setup is not like that. PageMenu controllers are all UIViewControllers. But PageMenu belongs to a UIViewController that is part of a UINavigationController stack. Why are you investigating this setup? Is it because of the "blinking" issue or the swipe thing?

The blinking issue should be resolved once I release the next version. I'm wondering because of the swipe thing. Can you give me a screenshot/video or some code just so I know for sure what your setup is in order to either look for a fix or help you with a setup issue?

@fahlout thanks for your interest. Check out what I am talking about here. Let me know if you need further clarifications. https://www.dropbox.com/s/f4kiq6kynib4oz4/movie.mov?dl=0

Before I try to speculate more about reasons why it's not working I would like to know if you have tried it on an actual iphone. I tried setting up something like this and it worked with no problem on my phone. Sometimes the simulator doesn't work correctly for some of the features. Would be nice if it's just a simulator problem haha

I did test it on an iPhone6. Unfortunately it didn't work there too. If you think there's something you can tweak on your end, please go ahead. If you think it's something non-trivial to PageMenu I'll try to find another way on my own. Thanks anyway man.

By the way, please do expose a property for disallowing the horizontal bouncing as well. Some users might find it useful.

That is really odd that it won't work for you. I should be making another release today, which will require a slightly different setup for page menu. Once if have that out please let me know if you're still having the same issue. I you do I'll try to figure something out.
I do like how your app looks though! Please let me know when you release it so I can add you to the section on github for apps that use this controller.
I will add another property for horizontal bouncing as well. If you think of any other properties that might be useful please let me know.
Thanks!

@fahlout thanks for your kinds words. I will sure let you know when it's released.
Another thing that literally just occurred to me for this project is this:

In some circumstances I want the page menu to have only one view controller so a "segmentation menu" is useless and I'd like to hide it. I tried setting the menuHeight property to 0 but I can still see a very thin gray line at the top. I am assuming this is a border line of the menu of some sorts. It'd be good if there was a boolean way to show/hide the menu or at least expose some other styling properties of it so I can make the line disappear without directly messing with your code :)

I will consider adding a property for just hiding the menu on top. Currently setting the height to 0 and setting the addBottomMenuHairline to false will hide it.
Thanks for your suggestions! I appreciate it!

I thank you for your support man. Keep it up!

@fahlout @attheodo  thanks for ur work, but I wanna know if the "swipe back gesture(pop current viewcontroller) is enabled when in first page" problem is solved, it seems that it still doesn't work for me right now even if i disable the horizontal bounce to the pageMenu.


feat: impl rudder skeletom, ci: use nextest and llvm-cov

As titled.
Ref: #30 .

Codecov Report

Merging #57 (3a6d06e) into main (059ddb9) will decrease coverage by 3.99%.
The diff coverage is 25.75%.

@@            Coverage Diff             @@
##             main      #57      +/-   ##
==========================================
- Coverage   92.41%   88.42%   -4.00%
==========================================
  Files          30       37       +7
  Lines        3164     4612    +1448
==========================================
+ Hits         2924     4078    +1154
- Misses        240      534     +294

Impacted Files
Coverage Δ

proto/src/lib.rs
100.00% <ø> (ø)

rudder/src/config.rs
0.00% <0.00%> (ø)

rudder/src/error.rs
0.00% <0.00%> (ø)

rudder/src/meta.rs
6.94% <0.00%> (-3.41%)
:arrow_down:

rudder/src/service.rs
0.00% <0.00%> (ø)

rudder/src/store/object.rs
91.66% <ø> (-8.34%)
:arrow_down:

storage/src/lsm_tree/uploader.rs
91.25% <ø> (-3.92%)
:arrow_down:

rudder/src/main.rs
1.56% <1.58%> (+1.56%)
:arrow_up:

storage/src/lsm_tree/manifest/version.rs
88.54% <73.33%> (-5.61%)
:arrow_down:

common/src/lib.rs
100.00% <100.00%> (ø)

... and 41 more

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 059ddb9...3a6d06e. Read the comment docs.


re-add projects to 2.13 build now that sbt 1.0.4 supports 2.13.0-M2

sbt 1.0.4 supports Scala 2.13.0-M2 (1.0.3 didn't), so let's try to add back the stuff we had to kick out because of that

test run https://scala-ci.typesafe.com/view/scala-2.13.x/job/scala-2.13.x-integrate-community-build/841/consoleFull

[sbt-io] [warn] 	:: org.scala-sbt#compiler-bridge_2.13;1.0.5: not found
@eed3si9n @dwijnand how should I proceed here?

Opened https://github.com/sbt/zinc/issues/460

As a workaround I think you should be able to do redefine scalaCompilerBridgeSource, like: https://github.com/sbt/zinc/pull/453/files#diff-fdc3abdfd754eeb24090dbd90aeec2ceR360

let's try it: https://scala-ci.typesafe.com/view/scala-2.13.x/job/scala-2.13.x-integrate-community-build/850/consoleFull

this can wait until after M3 is out, I think. there is some churn in 2.13-land currently, we enabled -Xsource:2.13 and now even base projects like shapeless and scalaz are failing. until that's all sorted out there isn't really any point in adding more projects back in

I'm hoping https://github.com/sbt/zinc/pull/461 will ship in sbt 1.1.0-RC2.


Fix missing pagecontext language

Q
A

Bug fix?
[x]

New feature?
[ ]

New sample?
[ ]

Related issues?
fixes #1226

What's in this Pull Request?
Added check if pageContext.cultureInfo exist before accessing pageContext.cultureInfo?.currentUICultureName

@DennisKuhn many thanks! this has now been merged


I am having difficulty installing Flutter or getting it to work

Steps to Reproduce

...
...
...

Logs

Logs

No details are available here.. please recheck

Please stop spamming the issue tracker with empty issues.


Fix some docs issues

Fixes:

#749: Adds the consistency parameter to InfluxDB's API reference.
#751: Updates the InfluxEnterprise changelog page for 1.0.1.
Adds an alias to meta_node_installation for the old installation page.
Updates the InfluxEnterprse data node installation page with 1.0.1 config format.
Splits up the InfluxDB FAQ page to make it easier to read.
Adds a description of ELAPSED() to the FAQ on performing mathematical operations against timestamps.
#728: Add an FAQ about supported casting operations and possible workarounds for changing a field's data type.

Notes/confessions:

I'm a little worried about the lack of detail provided in the InfluxEnterprise changelog - I can't link to the issues and the titles can be vague.

LGTM, 🚢  it!

Thanks!


drivers: eth_mcux: refactoring frame buffer

frame buffer is vectorized
removed tx buffer semaphore
enabled nested interrupts
use fsl_enet's error interrupt handling
This refactoring improves the stability of the eth_mcux driver.

Signed-off-by: Andrei Gansari<EMAIL_ADDRESS>

Tried this:

initially the ping works ok
flashed echo-server to the device and tried echo-client (from net-tools project) from linux ./echo-client -t 2001:db8::1 (using TCP requires #17393 to be applied atm), after a while I am seeing this error <err> eth_mcux: ENET_SendFrame error: 4004 and the connection stops working. Ping also does not work after the error.
Ethernet cable detection still does not work properly, issue at #16089

@agansari does this PR fix any reported bugs, or it's just refactoring?

@ioannisg it's just a refactoring for now... still working on

Ethernet cable detection still does not work properly, issue at #16089


Update filters.md

Fixes #10906
@tdykstra 	see @guardrex 	original here. I'm starting to think his original might be better.
It's an alway run filter, shouldn't we get that point across. My version if far too verbose but has the thoughts I want to conveigh.

@guardrex 	how about now?