task_result(task) to return a non-empty string

Hi, sorry for the delay in getting back to you.
Can you please provide more information about what you trying to fix?
The objective of the method task_result is to return the output of the command it runs on the device.
The change you sent would make it return the task status.
You can use the method task_completed to get the status.


Bump to 1.16.5

BATCH SCORING PULL REQUEST
This is a pull request into a public repository for Batch Scoring script maintained by DataRobot.
RATIONALE
CHANGES
TESTING

Coverage decreased (-0.02%) to 83.92% when pulling eb3e81f780e6be03b1804530427353b7ac6ac7a0 on andriy-popovych/bump-new-version into 48bc82136938b87e349b72f8d363c1c5bc13979b on master.

Coverage decreased (-0.02%) to 83.92% when pulling eb3e81f780e6be03b1804530427353b7ac6ac7a0 on andriy-popovych/bump-new-version into 48bc82136938b87e349b72f8d363c1c5bc13979b on master.


Connect New Workspace Page with the backend

Details
Removes stuff that won't ship in V1 and connects the form submission with the backend.
Fixed Issues

Fixes https://github.com/Expensify/Expensify/issues/167378
Tests

Open Expensify.cash
Go to the /workspace/new route
Introduce a name and press the "Get Started" button
Open the developer console, you should see this error:

QA Steps

Open https://staging.expensify.cash with an account that has the freePlan beta.
Go to the /workspace/new route
Introduce a name and press the "Get Started" button
Open the developer console, you should see this error:

NOTE: You may not see the error if we have already merged the /workspace/:policyID route related to another issue. In that case, you should check that the app redirected you to the /workspace/:policeID route.
Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging in version: 1.0.71-1🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@marcaaron Should we halt QAing as this is freePlan beta ?

Yes please do not QA

🚀 Deployed to production in version: 1.0.73-3🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Extend and simplify "getting started"

Description
In general, the narrative style of the documentation and the background information that is included has a high educational value and reads great! Since there is a lot of information in it, it might be hard for the user to immediately  find the needed command for any step.
By now the "getting started" documentation leads to a setup of the the services, but does not contain how to add data to the graphDB and consecutive steps. An extension to a complete "Quick Start" section might be helpful to the user.
If someone runs into problems or wants additional information, the extensive docs can be linked.
Relevant documentation pages
https://neurobagel.org/getting_started/
Additional details
My idea would be to give a complete (from setup of the services to querying the data), but very concise "Quick Start" instruction without any additional information like

Setup of services
command A
command B
Prepare data
command A
command B
Add data
 command A

etc..

Thanks @barbarastrasser for the issue! I think we missed this issue during the docs refactor. Would you mind taking a look at the current docs to see if your point is resolved?

Thanks @barbarastrasser for the issue! I think we missed this issue during the docs refactor. Would you mind taking a look at the current docs to see if your point is resolved?

Yes, I think it's resolved. What I find now, is a complete setup from beginning to end. Also, I find all the links to more detailed descriptions 👍  🥳

Excellent, and thanks again!


Status bar refresh flicker

Hello, I like this package.
However when I switch routes, I can notice a momentary white flicker in the status bar. Could be the auto refreshing. Can it be removed?

We have not been able to recreate this issue. Could you give us a bit more details about the issue? What device(s) were you using when it appeared? Also, a minimal reproducible example could be helpful.

Closing for inactivity


Glow doesn't work

Hi there!
I have tried to add glow like suggested by the documentation but seems not to be working.
this is my config:
  {
    "luckasRanarison/nvim-devdocs",
    cmd = { "DevdocsFetch", "DevdocsInstall", "DevdocsUpdate", "DevdocsUpdateAll", "DevdocsUninstall", "DevdocsOpen",
      "DevdocsOpenFloat", },
    opts = {
      wrap = true,
      float_win = {
        relative = "editor",
        height = 75,
        width = 170,
        border = "rounded",
      },
      ensure_installed = {
        "python-3.11",
        "django-4.2",
        "bootstrap-5"
      },

    },
    previewer_cmd = "glow",
    cmd_args = {"-s", "dark", "-w", "80" },
    picker_cmd_args = { "-p"},
    dependencies = {
      "nvim-lua/plenary.nvim",
      "nvim-telescope/telescope.nvim",
      "nvim-treesitter/nvim-treesitter",
    },
  },

thank you so much

Hi! Does this happen when opening a doc?  If you're talking about the picker's preview, the picker_cmd option is missing in your config, you have to set it to true:
{
  picker_cmd = true,
}

Ok so I've added:
{
  picker_cmd = true,
}

but it doesn't work.
I've installed glow (the cli tool from glow) and it works properly in my CLI (iTerm) but it still not working
I've tried as well to use glow.nvim but without any success

same issue, the cli is installed and the setup is exactly the same (calling setup instead of just opts) but preview doesn't render in glow and when picking it just displays pure markdown.

That's weird, I'm basically using the same options as in the example and it works for me. I'll try to investigate that.

Could you guys try to change the cmd with another command that can output things like cat for example?

Just for the sake of total clarity. My machine is a M2 macbook. I don't know if there are any problems related to this

Hi there!
I have tried to add glow like suggested by the documentation but seems not to be working. this is my config:
  {
    "luckasRanarison/nvim-devdocs",
    cmd = { "DevdocsFetch", "DevdocsInstall", "DevdocsUpdate", "DevdocsUpdateAll", "DevdocsUninstall", "DevdocsOpen",
      "DevdocsOpenFloat", },
    opts = {
      wrap = true,
      float_win = {
        relative = "editor",
        height = 75,
        width = 170,
        border = "rounded",
      },
      ensure_installed = {
        "python-3.11",
        "django-4.2",
        "bootstrap-5"
      },

    },
    previewer_cmd = "glow",
    cmd_args = {"-s", "dark", "-w", "80" },
    picker_cmd_args = { "-p"},
    dependencies = {
      "nvim-lua/plenary.nvim",
      "nvim-telescope/telescope.nvim",
      "nvim-treesitter/nvim-treesitter",
    },
  },

thank you so much

I just realized you put this block outside opts:
    previewer_cmd = "glow",
    cmd_args = {"-s", "dark", "-w", "80" },
    picker_cmd_args = { "-p"},

I had the same issue, and had what I believe to be the same configuration (see below).
However, when I updated to the latest version (using Lazy), it works ok.
The one issue I did have is I now need to re-install all my docs.
Hope this information helps!
My config:
require("nvim-devdocs").setup({
	dir_path = vim.fn.stdpath("data") .. "/devdocs", -- installation directory
	telescope = {}, -- passed to the telescope picker
	telescope_alt = { -- when searching globally without preview
		layout_config = {
			width = 75,
		},
	},
	float_win = { -- passed to nvim_open_win(), see :h api-floatwin
		relative = "editor",
		height = 25,
		width = 100,
		border = "rounded",
	},
	wrap = false, -- text wrap
	previewer_cmd = "glow", -- for example: "glow"
	cmd_args = { "-s", "dark", "-w", "80" },
	picker_cmd = true,
	picker_cmd_args = { "-p" },
	ensure_installed = {}, -- get automatically installed
})

@luckasRanarison mate ahahhaha! I'm so sorry ahahah rookie mistake.  Now seems working with glow. the only issue is that takes ages to load each of the docs (~15secs). Is this a known issue?

It's a problem with glow itself, glow is really slow and it only makes a single write after finishing processing the whole file. It'd be better if glow generates output line by line.

Caching the preview may be possible but we can't reuse the preview when opening the doc like a normal buffer.

@luckasRanarison mate ahahhaha! I'm so sorry ahahah rookie mistake.  Now seems working with glow. the only issue is that takes ages to load each of the docs (~15secs). Is this a known issue?

Update: the docs are now small enough, only the currently selected section is shown so rendering with glow should be fast now. See #42
Closing this as completed.


error:batchedNMSPlugin.cpp

hi,I met the problem:
#assertion/amirstan_plugin/src/plugin/batchedNMSPlugin/batchedNMSPlugin.cpp,143
Aborted (core dumped)

enviroment:

OS: [Ubuntu]
python_version: [3.6]
pytorch_version: [1.6]
cuda_version: [cuda-10.2]
cudnn_version: [7.6.5]
mmdetection_version: [2.4]

Looking forward to your help~~  thankyou

Hi,
Could you provide the script,model file and test image data?

scrip:[https://github.com/grimoire/mmdetection-to-tensorrt/blob/master/demo/inference.py]
model :[retinanet_r50_fpn_1x_coco_20200130-c2398f9e.pth（http://download.openmmlab.com/mmdetection/v2.0/retinanet/retinanet_r50_fpn_1x_coco/retinanet_r50_fpn_1x_coco_20200130-c2398f9e.pth）]
config:[retinanet_r50_fpn_1x_coco.py（https://github.com/open-mmlab/mmdetection/blob/master/configs/retinanet/retinanet_r50_fpn_1x_coco.py）]
image：

Hi
I have test the image you provided. Seems convertor works.
here is my test script:
python demo/inference.py \
   test.jpg \
   retinanet_r50_fpn_1x_coco.py \
   retinanet_r50_fpn_1x_coco_20200130-c2398f9e.pth \
   retina.pth

And result:

Could you provide more detail about how to reproduce the error? Such as the gpu device type, the argument you send to the script or anything might related.

Hi
I have test the image you provided. Seems convertor works.
here is my test script:
python demo/inference.py \
   test.jpg \
   retinanet_r50_fpn_1x_coco.py \
   retinanet_r50_fpn_1x_coco_20200130-c2398f9e.pth \
   retina.pth

And result:

Could you provide more detail about how to reproduce the error? Such as the gpu device type, the argument you send to the script or anything might related.

hi,sorry bother you again!!
Now,I have runned it ,but the results is wrong. like this:
[tensor([[-1070399664]], device='cuda:0', dtype=torch.int32), tensor([[[ 26.3982, -17.1053,  81.1487,  17.1053],
[ 19.2828, -21.5513,  88.2641,  21.5513],
[ 38.4096, -19.2000,  69.1373,  19.2000],
[ 34.4162, -24.1905,  73.1307,  24.1905],
[ 29.3849, -30.4781,  78.1620,  30.4781],
[ 42.9096, -27.1529,  64.6373,  27.1529],
[ 40.0858, -34.2105,  67.4611,  34.2105],
[ 36.5281, -43.1025,  71.0188,  43.1025],
[ 39.7276, -13.5765,  83.1831,  13.5765],
[ 34.0801, -17.1053,  88.8306,  17.1053],
[ 26.9647, -21.5513,  95.9460,  21.5513],
[ 46.0915, -19.2000,  76.8192,  19.2000],
[ 42.0981, -24.1905,  80.8126,  24.1905],
[ 37.0668, -30.4781,  85.8439,  30.4781],
[ 50.5915, -27.1529,  72.3192,  27.1529],
[ 47.7677, -34.2105,  75.1430,  34.2105],
[ 44.2100, -43.1025,  78.7007,  43.1025],
[ 47.4095, -13.5765,  90.8650,  13.5765],
[ 41.7620, -17.1053,  96.5125,  17.1053],
[ 34.6466, -21.5513, 103.6279,  21.5513],
[ 53.7734, -19.2000,  84.5011,  19.2000],
[ 49.7801, -24.1905,  88.4945,  24.1905],
[ 44.7487, -30.4781,  93.5259,  30.4781],
[ 58.2734, -27.1529,  80.0012,  27.1529],
[ 55.4497, -34.2105,  82.8249,  34.2105],
[ 51.8920, -43.1025,  86.3826,  43.1025],
[ 55.0914, -13.5765,  98.5470,  13.5765],
[ 49.4440, -17.1053, 104.1945,  17.1053],
[ 42.3285, -21.5513, 111.3099,  21.5513],
[ 61.4554, -19.2000,  92.1830,  19.2000],
[ 57.4620, -24.1905,  96.1764,  24.1905],
[ 52.4306, -30.4781, 101.2078,  30.4781],
[ 65.9553, -27.1529,  87.6831,  27.1529],
[ 63.1316, -34.2105,  90.5068,  34.2105],
[ 59.5739, -43.1025,  94.0645,  43.1025],
[ 62.7734, -13.5765, 106.2289,  13.5765],
[ 57.1259, -17.1053, 111.8764,  17.1053],
[ 50.0105, -21.5513, 118.9918,  21.5513],
[ 69.1373, -19.2000,  99.8650,  19.2000],
[ 65.1439, -24.1905, 103.8584,  24.1905],
[ 60.1125, -30.4781, 108.8897,  30.4781],
[ 73.6373, -27.1529,  95.3650,  27.1529],
[ 70.8135, -34.2105,  98.1888,  34.2105],
[ 67.2558, -43.1025, 101.7465,  43.1025],
[ 70.4553, -13.5765, 113.9108,  13.5765],
[ 64.8078, -17.1053, 119.5583,  17.1053],
[ 57.6924, -21.5513, 126.6737,  21.5513],
[ 76.8192, -19.2000, 107.5469,  19.2000],
[ 72.8258, -24.1905, 111.5403,  24.1905],
[ 67.7945, -30.4781, 116.5716,  30.4781],
[ 81.3192, -27.1529, 103.0469,  27.1529],
[ 78.4954, -34.2105, 105.8707,  34.2105],
[ 74.9377, -43.1025, 109.4284,  43.1025],
[ 78.1372, -13.5765, 121.5927,  13.5765],
[ 72.4897, -17.1053, 127.2402,  17.1053],
[ 65.3743, -21.5513, 134.3556,  21.5513],
[ 84.5011, -19.2000, 115.2288,  19.2000],
[ 80.5077, -24.1905, 119.2222,  24.1905],
[ 75.4764, -30.4781, 124.2535,  30.4781],
[ 89.0011, -27.1529, 110.7288,  27.1529],
[ 86.1773, -34.2105, 113.5526,  34.2105],
[ 82.6196, -43.1025, 117.1103,  43.1025],
[ 85.8191, -13.5765, 129.2746,  13.5765],
[ 80.1716, -17.1053, 134.9221,  17.1053],
[ 73.0562, -21.5513, 142.0376,  21.5513],
[ 92.1830, -19.2000, 122.9107,  19.2000],
[ 88.1897, -24.1905, 126.9041,  24.1905],
[ 83.1583, -30.4781, 131.9355,  30.4781],
[ 96.6830, -27.1529, 118.4108,  27.1529],
[ 93.8593, -34.2105, 121.2345,  34.2105],
[ 90.3016, -43.1025, 124.7922,  43.1025],
[ 93.5011, -13.5765, 136.9565,  13.5765],
[ 87.8536, -17.1053, 142.6040,  17.1053],
[ 80.7382, -21.5513, 149.7195,  21.5513],
[ 99.8650, -19.2000, 130.5927,  19.2000],
[ 95.8716, -24.1905, 134.5860,  24.1905],
[ 90.8402, -30.4781, 139.6174,  30.4781],
[104.3649, -27.1529, 126.0927,  27.1529],
[101.5412, -34.2105, 128.9164,  34.2105],
[ 97.9835, -43.1025, 132.4741,  43.1025],
[101.1830, -13.5765, 144.6385,  13.5765],
[ 95.5355, -17.1053, 150.2860,  17.1053],
[ 88.4201, -21.5513, 157.4014,  21.5513],
[107.5469, -19.2000, 138.2746,  19.2000],
[103.5535, -24.1905, 142.2679,  24.1905],
[ 98.5221, -30.4781, 147.2993,  30.4781],
[112.0469, -27.1529, 133.7746,  27.1529],
[109.2231, -34.2105, 136.5984,  34.2105],
[105.6654, -43.1025, 140.1561,  43.1025],
[108.8649, -13.5765, 152.3204,  13.5765],
[103.2174, -17.1053, 157.9679,  17.1053],
[ 96.1020, -21.5513, 165.0833,  21.5513],
[115.2288, -19.2000, 145.9565,  19.2000],
[111.2354, -24.1905, 149.9499,  24.1905],
[106.2041, -30.4781, 154.9812,  30.4781],
[119.7288, -27.1529, 141.4565,  27.1529],
[116.9050, -34.2105, 144.2803,  34.2105],
[113.3473, -43.1025, 147.8380,  43.1025],
[116.5468, -13.5765, 160.0023,  13.5765],
[110.8993, -17.1053, 165.6498,  17.1053]]], device='cuda:0'), tensor([[304.0000, -32.0000, 368.0000,  32.0000, 295.6825, -40.3175, 376.3175,
40.3175, 285.2032, -50.7968, 386.7968,  50.7968, 313.3726, -45.2548,
358.6274,  45.2548, 307.4912, -57.0175, 364.5088,  57.0175, 300.0812,
-71.8376, 371.9188,  71.8376, 306.7452, -22.6274, 397.2548,  22.6274,
294.9825, -28.5088, 409.0175,  28.5088, 280.1624, -35.9188, 423.8376,
35.9188, 320.0000, -32.0000, 384.0000,  32.0000, 311.6825, -40.3175,
392.3175,  40.3175, 301.2032, -50.7968, 402.7968,  50.7968, 329.3726,
-45.2548, 374.6274,  45.2548, 323.4912, -57.0175, 380.5088,  57.0175,
316.0812, -71.8376, 387.9188,  71.8376, 322.7452, -22.6274, 413.2548,
22.6274, 310.9825, -28.5088, 425.0175,  28.5088, 296.1624, -35.9188,
439.8376,  35.9188, 336.0000, -32.0000, 400.0000,  32.0000, 327.6825,
-40.3175, 408.3175,  40.3175, 317.2032, -50.7968, 418.7968,  50.7968,
345.3726, -45.2548, 390.6274,  45.2548, 339.4912, -57.0175, 396.5088,
57.0175, 332.0812, -71.8376, 403.9188,  71.8376, 338.7452, -22.6274,
429.2548,  22.6274]], device='cuda:0'), tensor([[348.0812, -71.8376, 419.9188,  71.8376, 354.7452, -22.6274, 445.2548,
22.6274, 342.9825, -28.5088, 457.0175,  28.5088, 328.1624, -35.9188,
471.8376,  35.9188, 368.0000, -32.0000, 432.0000,  32.0000, 359.6825,
-40.3175, 440.3175,  40.3175, 349.2032, -50.7968, 450.7968,  50.7968,
377.3726, -45.2548, 422.6274,  45.2548, 371.4912, -57.0175, 428.5088,
57.0175, 364.0812, -71.8376, 435.9188,  71.8376, 370.7452, -22.6274,
461.2548,  22.6274, 358.9825, -28.5088, 473.0175,  28.5088, 344.1624,
-35.9188, 487.8376,  35.9188, 384.0000, -32.0000, 448.0000,  32.0000,
375.6825, -40.3175, 456.3175,  40.3175, 365.2032, -50.7968, 466.7968,
50.7968, 393.3726, -45.2548, 438.6274,  45.2548, 387.4912, -57.0175,
444.5088,  57.0175, 380.0812, -71.8376, 451.9188,  71.8376, 386.7452,
-22.6274, 477.2548,  22.6274, 374.9825, -28.5088, 489.0175,  28.5088,
360.1624, -35.9188, 503.8376,  35.9188, 400.0000, -32.0000, 464.0000,
32.0000, 391.6825, -40.3175, 472.3175,  40.3175, 381.2032, -50.7968,
482.7968,  50.7968]], device='cuda:0')]
I debug into the torch2trt_dynamic.py, It likes that the " self.context.execute_async_v2(bindings,
torch.cuda.current_stream().cuda_stream)" doesn't work? Could you give some advices?? thank you soooo much!!

and..., emm....,is it convenient to provide a dockerfile???

execute_async_v2 is the inference entry of tensorrt. The error is happening inside the model.
The project has been changed a lot since my last reply, please reinstall torch2trt_dynamic, amirstan_plugin, mmdetection-to-tensorrt and try again.
If the error still exist. you can try create tensorrt model and wrap model(pytorch) like below, see if their result is different or not.
    trt_model, wrap_model = mmdet2trt(cfg_path,
                                    model_path,
                                    opt_shape_param=opt_shape_param,
                                    max_workspace_size=1<<32,
                                    trt_log_level="INFO",
                                    return_wrap_model=True,
                                    output_names=None)

modify anchor_head.py   (assuming you are using retinanet, right?), address the layer which give you different results.
Dockfile is on my TODO list, will be added in future.

I will see if I can do something.

ok，I will try again~~


Error when trying to run

I get a nil when trying to run :Telescope cmdline now. It looks like the export is missing maybe. I'm not too familiar with extensions but I'm trying to learn.

I think it might be something on my end. Closing for now.

No, actually I think there is a problem. I the prior commit fine.

Ensure you load the extension in Telescope: require('telescope').load_extension('cmdline')
https://github.com/nvim-telescope/telescope.nvim#extensions


Is there a way to know what collections are whitelisted/verified?

I want to make a notification service for my discord server to automatically notify my community about important drops.
Looking at the API I could not figure out a way to tell if a collection is verified or whitelisted or if it is a potential scam.
Is there a way to get this information through an api and not just through a browser and looking for the checkmarks?

No, this is not saved within the API and you need to use external sources


Crash on multiline defaults introspection on MSSQL

Error: [libs/sql-schema-describer/src/mssql.rs:315:30] called `Result::unwrap()` on an `Err` value: "Couldn't parse default value: `\r\n/****** Object:  Default [dbo].[Default_0]    Script Date: 04/02/2009 17:47:36 ******/\r\ncreate default [dbo].[Default_P] as 'P'\r\n\r\n\r\n`"

Command: prisma db pull
Version: 3.3.0
Binary Version: 33838b0f78f1fe9052cf9a00e9761c9dc097a63c
Report: https://prisma-errors.netlify.app/report/13560
OS: x64 linux 4.19.128-microsoft-standard
JS Stacktrace:
Error: [libs/sql-schema-describer/src/mssql.rs:315:30] called `Result::unwrap()` on an `Err` value: "Couldn't parse default value: `\r\n/****** Object:  Default [dbo].[Default_0]    Script Date: 04/02/2009 17:47:36 ******/\r\ncreate default [dbo].[Default_P] as 'P'\r\n\r\n\r\n`"
    at ChildProcess.<anonymous> (/server/node_modules/prisma/build/index.js:45792:30)
    at ChildProcess.emit (events.js:400:28)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)

Rust Stacktrace:
   0: user_facing_errors::Error::new_in_panic_hook
   1: user_facing_errors::panic_hook::set_panic_hook::{{closure}}
   2: std::panicking::rust_panic_with_hook
             at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:626:17
   3: std::panicking::begin_panic_handler::{{closure}}
             at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:519:13
   4: std::sys_common::backtrace::__rust_end_short_backtrace
             at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:141:18
   5: rust_begin_unwind
             at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:515:5
   6: core::panicking::panic_fmt
             at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/panicking.rs:92:14
   7: core::result::unwrap_failed
             at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/result.rs:1599:5
   8: <sql_schema_describer::mssql::SqlSchemaDescriber as sql_schema_describer::SqlSchemaDescriberBackend>::describe::{{closure}}::{{closure}}
   9: <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll
  10: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  11: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  12: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  13: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  14: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
  15: <futures_util::future::future::Then<Fut1,Fut2,F> as core::future::future::Future>::poll
  16: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
  17: introspection_engine::main::{{closure}}
  18: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  19: introspection_engine::main
  20: std::sys_common::backtrace::__rust_begin_short_backtrace
  21: std::rt::lang_start::{{closure}}
  22: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
             at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:259:13
      std::panicking::try::do_call
             at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40
      std::panicking::try
             at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19
      std::panic::catch_unwind
             at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14
      std::rt::lang_start_internal::{{closure}}
             at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/rt.rs:45:48
      std::panicking::try::do_call
             at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40
      std::panicking::try
             at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19
      std::panic::catch_unwind
             at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14
      std::rt::lang_start_internal
             at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/rt.rs:45:20
  23: std::rt::lang_start
  24: __libc_start_main
  25: <unknown>

Cannot reproduce. Created a table with this same default value, it introspects just fine.
I suspect this might have something to do with an old SQL Server version and some weird collation...

Another instance: https://prisma-errors.netlify.app/report/13696

We still do not know how to make Introspection crash because of the existence of such an index.
We need a SQL dump of a database that reproduces this behavior to replicate this behavior.
(For us the default is just ignored and not represented in the Prisma schema: https://github.com/prisma/prisma/issues/12150)

Reproduced: The line breaks cause this, see https://github.com/prisma/prisma/issues/24275
@tomhoule This issue here is the only one that got it right and identified "multiline" as the cause, unfortunately no one tried to use that to reproduce the problem before. You were soooo close all this time.

Oh wow, I wouldn't have come up with the comment in the default definition. Glad the mystery is solved :)


{"errno":-3008,"code":"ENOTFOUND","syscall":"getaddrinfo",

Hello,
Thanks In advance. I am having this issue. There is no elaborative response. Here is the response:
ERROR: {"errno":-3008,"code":"ENOTFOUND","syscall":"getaddrinfo","hostname":"test.com"}
Can anyone please help me??

Same issue here. I'm able to ping the server, but can't seem to get a response using this module.
On another device, I'm receiving a different error but I believe it refers to the same issue.
"TypeError: ldap://xx.xx.xx.xx:389 is an invalid LDAP url (scope)"

I think that means you don't have access to the hostname mentioned in the error.
 Are you able to communicate with that address from the device where the app will be hosted?

do u have fatal: true in command prompt

fatal:false


Sentinel (Temp and Humi) not working

Do I need any extra step?

It's seem something happen in their API. Let me take a look!

Thanks 🙏

I just realized that his sometime happens but it's because of their API. Will keep investigating.

Same issue here. Sentinel don't show as entity.


[mscAlgorithmPaint] Error on interpolation of big dataset

-open a file in segmentation's workspace
-use magic wand and interpolate to segment the void around a patient between two slices.
#0  _int_malloc (av=0x7ffff4e5a760 <main_arena>, bytes=262144) at malloc.c:3775
#1  0x00007ffff4b1e6c0 in __GI___libc_malloc (bytes=262144) at malloc.c:2891
#2  0x00007ffff50d5dad in operator new(unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff50d5ea9 in operator new[](unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007fffe3ea41e9 in itk::ImportImageContainer<unsigned long, unsigned char>::AllocateElements(unsigned long, bool) const ()
from /home/pedron/medinria-superproject/build/medInria/build/lib/libmedUtilities.so
#5  0x00007fffe3ea80a7 in itk::ImportImageContainer<unsigned long, unsigned char>::Reserve(unsigned long, bool) ()
from /home/pedron/medinria-superproject/build/medInria/build/lib/libmedUtilities.so
#6  0x00007fffd0543de2 in itk::Image<unsigned char, 2u>::Allocate(bool) ()
from /home/pedron/medinria-superproject/build/medInria/build/plugins/libmscAlgorithmPaint.so
#7  0x00007fffd05baa0b in itk::DanielssonDistanceMapImageFilter<itk::Image<unsigned char, 2u>, itk::Image<float, 2u>, itk::Image<unsigned char, 2u> >::PrepareData() ()
from /home/pedron/medinria-superproject/build/medInria/build/plugins/libmscAlgorithmPaint.so
#8  0x00007fffd05a81c4 in itk::DanielssonDistanceMapImageFilter<itk::Image<unsig---Type  to continue, or q  to quit---
ned char, 2u>, itk::Image<float, 2u>, itk::Image<unsigned char, 2u> >::GenerateData() ()
from /home/pedron/medinria-superproject/build/medInria/build/plugins/libmscAlgorithmPaint.so
#9  0x00007fffe1bfc8f0 in itk::ProcessObject::UpdateOutputData (this=0x2d91860)
at /home/pedron/medinria-superproject/ITK/Modules/Core/Common/src/itkProcessObject.cxx:1739
#10 0x00007fffd7e0d480 in itk::ImageBase<2u>::UpdateOutputData() ()
from /home/pedron/medinria-superproject/build/medInria/build/plugins/libitkFiltersPlugin.so
#11 0x00007fffd0533447 in msc::AlgorithmPaintToolBox::computeDistanceMap(itk::SmartPointer<itk::Image<unsigned char, 2u> >) ()
from /home/pedron/medinria-superproject/build/medInria/build/plugins/libmscAlgorithmPaint.so
#12 0x00007fffd05324c5 in msc::AlgorithmPaintToolBox::interpolate() ()
from /home/pedron/medinria-superproject/build/medInria/build/plugins/libmscAlgorithmPaint.so
#13 0x00007fffd05e5039 in msc::AlgorithmPaintToolBox::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
from /home/pedron/medinria-superproject/build/medInria/build/plugins/libmscAlgorithmPaint.so
#14 0x00007ffff656887a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4

@paulineMig this was a really, really big dataset?

Image CT 512x512x329. I want to segment the void around the patient so I was using magic wand on the first slice and on the last one then I wanted to interpolate between the two slice. That's when the segmentation fault appear.

we should track to see where it crashes, but to do this you could directly use the magic wand in 3D, no? there is an option for this. otherwise try to interpolate polygon ROIs, it is less computationally intensive.

I am using the 3D wand now and it works just fine for what I want to do. At the time I opened this issue didn't know about the "Activate 3D mode".


string Case converter

Added a string case converter, it can convert any string into any type of case notation. (camel, snake, kebab, macro, train, pascal)

@vishalbhowmick Can you please also attach some screenshots to show what the changes look like?


OpenShiftPlus-PolicySet should also have a policy to configure search

if you check:
https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.9/html-single/observability/index#searching-in-the-console-intro
goals

raise awareness of feature
give some good defaults
raise awareness of configuration-options and needs

apiVersion: search.open-cluster-management.io/v1alpha1
kind: Search
metadata:
  name: search-v2-operator
  namespace: open-cluster-management
spec:
  deployments:
    collector:
      resources:
        limits:
          cpu: 500m
          memory: 128Mi
        requests:
          cpu: 250m
          memory: 64Mi
    indexer:
      replicaCount: 3
    database:
        envVar:
          - name: POSTGRESQL_EFFECTIVE_CACHE_SIZE
            value: 1024MB
          - name: POSTGRESQL_SHARED_BUFFERS
            value: 512MB
          - name: WORK_MEM
            value: 128MB
    queryapi:
      arguments:
      - -v=3

cc @berenss if you agree

I think this is a great idea. @SherinV and @jpadilla would you please review and share your comment?
cc @bjoydeep


fix: 4231 - "new product" scan card with display flexibility

What

Added flexibility so that the texts of the "new product" scan card always fit in the remaining space of the card after you put the "x" button (top) and the action button (bottom). Therefore no overflow on small screens.
Just using AutoSizeText and Expanded

Screenshot

before
after
larger screen

Fixes bug(s)

Fixes: #4231

Codecov Report

Merging #4232 (d6dff33) into develop (95c3a67) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop    #4232      +/-   ##
===========================================
- Coverage    11.00%   10.96%   -0.05%
===========================================
  Files          282      282
  Lines        14015    14075      +60
===========================================
  Hits          1543     1543
- Misses       12472    12532      +60

Impacted Files
Coverage Δ

...s/product_cards/smooth_product_card_not_found.dart
0.00% <0.00%> (ø)

... and 5 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Can we circle the close cross ?
https://link.medium.com/nA5CBbWIUAb

Can we circle the close cross ?

Done.

Would you have a screenshot of how it looks @monsieurtanuki ?

Would you have a screenshot of how it looks @monsieurtanuki ?

Not for the moment: I just quickly changed the code and used a different icon:

"My" icon does not have the "strong X and light circle" effect mentioned in your link, and I don't know how relevant it is to you.
Beyond that, the same "close header with strong X" is used in other places in the code (in the full size product page and the question card), and it leads to other questions:

should we use the same "X" icon in all places?
if not, which icons where?
in general, should we have a unique "X" icon in the app for similar actions? (e.g. remove a product from a list)

Which goes beyond the purpose of the PR - and I have a limited access to my computer.

Ok, let's try as is.

Thank you @teolemon for your review!
Don't hesitate to create an issue regarding the consistency of "X" icons if relevant.


Fix typo in readme

A tiny typo, but because the documentation standard is otherwise so high, I thought it worth fixing :)

Thanks!


Migrate website: IA Audit

Acceptance Criteria

Determine which pages are Cloud and which are for Product

Closing in favor of https://github.com/carbon-design-system/ibm-products/issues/4887


[JAVA] fix letter case in rat plugin config

correct case is excludeSubProjects -> http://creadur.apache.org/rat/apache-rat-plugin/check-mojo.html#excludeSubProjects

@antonymayi I'm not able to fetch this commit from any remote. Can you create a branch for this PR?

I was able to retrieve the commit with git fetch REMOTE pull/899/head:PR-899


How to change the name of a BsonRef

I have a class like this.
Public Class ClassItem
    Public Property Name As String

    <LiteDB.BsonRef("Category")>
    Public Property Group As ClassGroup
End Class

I have a list of object instances of this class that are stored in a database. When I load the database, I check the UserVersion to see if it needs to be upgraded. As part of this upgrade I need to change the BsonRef name from "Category" to "Group" but I don't know how.
When I inspect the database in LiteDB Viewer and inspect the object as a string for one of the items, it looks like this.
{"$id":80,"$ref":"Category"}
I need to upgrade it so it looks like this.
{"$id":80,"$ref":"Group"}
Also, how would I change the actual type name of the BsonRef if I need to?
For example, if I need to change:
<LiteDB.BsonRef("Group")>
Public Property Group As ClassGroup

To:
<LiteDB.BsonRef("Group")>
Public Property Group As ClassItemGroup

You can change your existing creating a small script that read your data as BsonDocument and change it. You can use LiteEngine instance for that:
var db = new LiteEngine("...");
var result = db.Query("yourCol").ToArray();
foreach(var doc in result)
{
    doc["field"].AsDocument["$ref"] = "Group";
    db.Update(doc);
}

Hi! With the objective of organizing our issues, we are closing old unsolved issues. Please check the latest version of LiteDB and open a new issue if your problem/question/suggestion still applies. Thanks!


Problem in rtl fonts

Hi
Thank you for your great library.
I have an issue in one of my pdf files. The rtl (Persian) font isn't rendered properly. The right format and the wrong one are shown below, respectively. I have tested my code with both Chrome and Firefox browsers and the code is simply copied from the "hello world" example. I must also mention that the code works properly for my other rtl pdf files but this one.

Thanks a lot

As is, this issue will be closed as incomplete.
Please provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md, without e.g. the PDF file in question there's nothing that can be done here.

Closing as incomplete; please provide all the information requested in ISSUE_TEMPLATE.md to re-open.


Increase default maxRequestSize?

The default maxRequestSize of 4KB feels like rather a small volume. In our service, which is a Caliban + zio-http setup, this limit has hit us rather unexpectedly and we started failing failed on a more or less trivial query.
Should it be bigger at least an order of magnitude ~512KB? In our app I set it as Int.MaxValue as I don't really see the use of that limit at all :)

@asavelyev01 May I know which version you are using? I think the default 4KB maxRequestSize has been removed in the recent versions after this PR: #1048

MaxRequestSize server setting deprecated and enableObjectAggregator takes maxRequestSize as argument.(Breaking Change)

Yes, @alphaho is right. At by default there is no limit set.
However you can always use objectAggregator setting to configure the server to use an object aggregator and set the value to any Int
Note that increasing the value to very high values can make the system vulnerable to attacks.

Thanks so much for the insight @alphaho & @tusharmath.
The version we were using was the one coming from the latest Caliban release and that was <IP_ADDRESS>-RC25.
What I did was: I explicitly bumped zio-http version in or app to override this transitive one and it worked. I don't need to set any big numbers to avoid 413 Request Entity Too Large any more, and also it didn't fall apart for any binary incompatibility. Kudos!


[Feature Request] Retry Logic

The majority of my false positives could be solved by adding some retry logic to the plugin. It would work something like this:

If a baseline doesn't exist or --update cli arg passed, don't retry (nothing to compare).
If a baseline does exist and the test passes, don't retry (already passed).
If a baseline does exist and the test fails, retry the snapshot after T milliseconds.
3a. If the retry passes, continue.
3b. If the retry fails, try again until N retries have been completed
3c. If all the retries fail, use the try with the smallest percentage difference to the baseline for the comparison image and error log

Ideally, T and N would be configurable, with default values of 1000 and 3, respectively.
This feature would also be somewhat idiomatic since Cypress has retry logic built into most assertions.

This is a good suggestion... I can work on it but end of year is crazy... so I am looking to pick this up mid/late jan... Unless someone else picks it up!

Looks like this can be easily implemented using cypress-recurse.

:tada: This issue has been resolved in version 1.16.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Lightning network

Is Keycard compatible with Lightning network?

Are there any known Lightning wallets attempting to integrate keycard signing?
Does status have a team purse or solicit wallet makers?
I know status is Ethereum focused, but the visibility of mainstream lightning payments would benefit all keycard uses

Are there any known Lightning wallets attempting to integrate keycard signing?
Does status have a team pursue or solicit wallet makers?
I know status is Ethereum focused, but the visibility of mainstream lightning payments would benefit all keycard uses


Add to the readme

Description
Adding to the readme

All comments resolved, ready for another look @SheaBelsky


Improve multi-thread synchronization consistency

Some attempts were made to synchronize access to indexing variables, but were incomplete - using the Java "Atomic*" APIs results in consistent multi-threading protection for these variables
My contributions are licensed under the Apache 2.0 License as required for contributions to this project

Pulled, pending sync.


Unused imports generated (3rd issue about this)

Describe the bug
TSX files generated from @graphql-codegen/typescript-react-apollo are including at least one unused import at the top:
import gql from 'graphql-tag'

This leads to the following error:
'gql' is declared but its value is never read.  TS6133

  > 1 | import gql from 'graphql-tag'
      | ^

To Reproduce
Steps to reproduce the behavior:
GraphQL schema
type Query {
	id: ID
	hello: String
}

GraphQL operations
query HomeQuery {
	hello
}

codegen.yml
overwrite: true
schema: 'server/src/schemas/**/*.gql'
documents: 'src/**/*.{ts,tsx}'
generates:
  src/models/generated.tsx:
    - typescript
    - typescript-operations
    - typescript-react-apollo
  server/models.ts:
    - typescript
    - typescript-resolvers

Expected behavior
Unused imports are not included in the src/models/generated.tsx file.
Environment

OS: macOS Mojave (Version 10.14.5)
NodeJS: v10.15.0

    "@graphql-codegen/cli": "^1.2.0",
    "@graphql-codegen/introspection": "^1.2.0",
    "@graphql-codegen/typescript": "^1.2.0",
    "@graphql-codegen/typescript-graphql-files-modules": "^1.2.0",
    "@graphql-codegen/typescript-operations": "^1.2.0",
    "@graphql-codegen/typescript-react-apollo": "^1.2.0",
    "@graphql-codegen/typescript-resolvers": "^1.2.0",

Additional context
This issue had been fixed previously in this PR. Perhaps a regression?
Similar issues

https://github.com/dotansimha/graphql-code-generator/issues/744
#1841

@jedmao Could you share the generated file?

As @ardatan said, can you please add your complete generated file? It seems like your documents are not getting loaded, because the gql import should be used per each documents.

Here's the generated file in src/models/generated.tsx:
import gql from 'graphql-tag'
export type Maybe<T> = T | null
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
	ID: string
	String: string
	Boolean: boolean
	Int: number
	Float: number
}

export type Query = {
	__typename?: 'Query'
	id?: Maybe<Scalars['ID']>
	hello?: Maybe<Scalars['String']>
}

And here is a branch where you can reproduce the problem with npm start.
https://github.com/jedmao/tsx/tree/graphql-code-generator

@jedmao It looks like your documents aren't loaded, so they are not being added to the output file (and that's why the import is unused).
You are using documents: 'src/**/*.{ts,tsx}', but I couldn't find any documents that matches this glob pattern.
Also, I noticed that you are using relay - our typescript-react-apollo is for Apollo-Client and react-apollo, not for relay (which has it's own codegen and compiler, that works in a different way and approach).

Thanks @dotansimha:

Here's a document that matches the glob pattern.
Where is Relay's own codegen and compiler? Oh, you mean it's built-in to Relay? I wasn't aware of that tidbit. I'll have to investigate more.

@jedmao
Regarding #1 - the document is not getting loaded because you are using a different graphql tag for your operation.  If you are using a babel-plugin-relay/macro, then you should let the codegen know, otherwise it can't guess it.
Try to add the following to your codegen.yml:
pluckConfig:
  modules:
    - name: "babel-plugin-relay/macro"
      identifier: "graphql"

This way, the codegen knows how to find your documents in your code files.
Regarding #2 - The files under __generated__ looks like a relay compiler output, not sure if you are using it.

Hello,
I've got similar problem. Generator is adding same import which is not used in the rest of generated types.
codegen.yml
overwrite: true
watch: true
schema: "config/graphql/schema.graphql"
generates:
  assets/js/generated/types.tsx:
    plugins:
      - "typescript"
      - "typescript-operations"
      - "typescript-react-apollo"
  assets/js/generated/graphql.schema.json:
    plugins:
      - "introspection"
    config:
      minify: false

schema.graphql
type Query {
  userList: [User!]!
  user(id: Int!): User!
}

type User {
  id: Int!
  username: String!
}

types.tsx
import gql from 'graphql-tag';
export type Maybe<T> = T | null;
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
  ID: string,
  String: string,
  Boolean: boolean,
  Int: number,
  Float: number,
};

export type Query = {
   __typename?: 'Query',
  userList: Array<User>,
  user: User,
};

export type QueryUserArgs = {
  id: Scalars['Int']
};

export type User = {
   __typename?: 'User',
  id: Scalars['Int'],
  username: Scalars['String'],
};

@ktrzos You are using typescript-operations and typescript-react-apollo without specifying any documents:, so you can either remove those plugins or add your documents.
If someone else is experiecing those ununsed imports with the latest codegen, it's always easier to add TSLint ignore comments with add plugin.

@dotansimha
I've added documents config:
documents:
  - "assets/**/*.{ts,tsx}"

Created a component with:
import { gql } from 'apollo-boost';
import { User } from '../../generated/types';

/* ... */

const USERS = gql`
  {
    userList {
      id
      username
    }
  }
`;

const SomeComponent: React.FC<Props> = (props: Props) => {
  const { data } = useQuery<Array<User>>(USERS);
}

and generated types.tsx also having this unused import:
import gql from 'graphql-tag';
export type Maybe<T> = T | null;
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
  ID: string,
  String: string,
  Boolean: boolean,
  Int: number,
  Float: number,
};

export type Query = {
   __typename?: 'Query',
  userList: Array<User>,
  user: User,
};

export type QueryUserArgs = {
  id: Scalars['Int']
};

export type User = {
   __typename?: 'User',
  id: Scalars['Int'],
  username: Scalars['String'],
};

export type Unnamed_1_QueryVariables = {};

export type Unnamed_1_Query = (
  { __typename?: 'Query' }
  & { userList: Array<(
    { __typename?: 'User' }
    & Pick<User, 'id' | 'username'>
  )> }
);

If someone else is experiecing those ununsed imports with the latest codegen, it's always easier to add TSLint ignore comments with add plugin.

Could you describe me how to do it, please?

Sure, add a dependency for @graphql-codegen/add, and use something like this:
generates:
  ./types.tsx:
    plugins:
      - add: "/* tslint:disable */"
      - "typescript"
      - "typescript-operations"
      - "typescript-react-apollo"


autocomplete fail on query refinement

Autocomplete working correctly (spotlight)

(exact match comes top)
Same search in query refinement:

(exact match no longer top - in fact - impossible to find because hit list is so long)
Support info:
Sun Aug 18 2019 09:29:20 GMT 0900 (Japan Standard Time)
Chrome 76.0.3809.87 [1309,702]
https://v2.virtualflybrain.org/org.geppetto.frontend/geppetto?id=FBbt_00111753&i=VFB_00017894,VFB_00030611
+ Passing instance: VFB_00030611_slices
+ Selection of ellipsoid body on adult brain template JFRC2
+ Selection of 3D Volume
+ Selection of ellipsoid body on adult brain template JFRC2
+ Selection of 3D Volume
+ Selection of ellipsoid body on adult brain template JFRC2
+ Selection of 3D Volume
+ Selection of ellipsoid body on adult brain template JFRC2
+ Selection of 3D Volume
+ Query requested: Compound Ref Query Expression found here neuron

Repaired by fixing Geppetto-client code that was ignoring VFB custom configuration


⚠ Bofrost.es has degraded performance

In 4ee05be, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1524 ms

Resolved: Bofrost.es performance has improved in fa9c19b after 3 minutes.


TensorBoard callbacks fails on multiple input models

TensorBoard callback fails on models with more than 3 inputs and there is validation data.
Here's a test code:
from keras.models import Model
from keras.layers import Input, Dense, add
from keras.callbacks import TensorBoard
import numpy as np

num_inputs = 4
inputs = []
for i in range(num_inputs):
    inputs.append(Input(shape=(32,), name='input_'+str(i)))

merged = add([Dense(16, name='dense_'+str(i))(inpt) for i,inpt in enumerate(inputs)],
             name='merge')
o = Dense(64, name='dense_o')(merged)

model = Model(inputs=inputs, outputs=o)
model.compile(optimizer='sgd', loss='mean_squared_error')

batch_size = 100
x_train = [np.random.randn(batch_size, 32) for i in range(num_inputs)]
y_train = np.random.randn(batch_size, 64)

x_val = [np.random.randn(batch_size, 32) for i in range(num_inputs)]
y_val = np.random.randn(batch_size, 64)
model.fit(x=x_train, y=y_train,
          validation_data=[x_val, y_val],
          callbacks=[TensorBoard(histogram_freq=5)], epochs=100)

if variable num_inputs is set to 3 or less, this code works.
I think the problem lies in callbacks.py lines 762-764 of the latest keras:
batch_val = []
batch_val.append(val_data[0][i:i + step])
batch_val.append(val_data[1][i:i + step])
batch_val.append(val_data[2][i:i + step])

should be changed for:
batch_val = []
for val_input in val_data:
    val_entry = np.asarray(val_entry)
    if val_entry.ndim > 1 and val_entry.shape[0] == val_size:
        batch_val.append(val_input[i:i + step])
    else:
        batch_val.append(val_entry)

Also, I'm not sure about line 765, for the learning phase tensor. I think it should be fixed at 0:
batch_val.append(0)

Instead of:
batch_val.append(val_data[3])

Fixed now.


Issue with videolab (op-z app)

I'm working on a videopak for the OP-Z app, when trying out the scene on OSX, it does show the effect but on iOS it is not working. Am I missing something?
I am asking here but using "bloom" from the VideoLab  package.
Thanks!

Perhaps if we move the curves down to after the LUT option in the panel, then all the processing is done and if a user still want to make some adjustments it can be done.


NTR negative regulation of osmosensory signaling MAPK cascade

One of our community has just annotated to
GO:0038066   p38MAPK cascade
Biological Process
Definition (GO:0038066 GONUTS page)
An intracellular protein kinase cascade containing at least a p38 MAPK, a MAPKK and a MAP3K. The cascade can also contain an additional tier: the upstream MAP4K. The kinases in each tier phosphorylate and activate the kinases in the downstream tier to transmit a signal within a cell. PMID:20811974
but we need
negative regulation of osmosensory signaling MAPK cascade
instead (although I suspect these are really the same thing, this is the term we have used throughout for yeast osmolarity sensing MAPK?)
PMID:31911490

GO:0000161    osmosensory signaling MAPK cascade

I just spotted I requested this twice
https://github.com/geneontology/go-ontology/issues/20162
so closing


chore: add recommendations for vscode and .env.template file

Add suggestions for the vscode extensions recommended.
When a user opens up vscode and he does not have the recommended extensions he will be prompted to install them.

Looks good!


robot_localization: 2.7.1-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository robot_localization to 2.7.1-1:

upstream repository: https://github.com/cra-ros-pkg/robot_localization.git
release repository: https://github.com/cra-ros-pkg/robot_localization-release.git
distro file: noetic/distribution.yaml
bloom version: 0.10.0
previous version for package: 2.6.8-2

Hold on with this:
http://build.ros.org/job/Ndev__robot_localization__ubuntu_focal_amd64/10/

It's not clear to me why the dev job is failing. It's failing on the ros-noetic-catkin dependency.
09:08:43 Always install the following generic dependencies:
09:08:43   - build-essential
09:08:43   - python3
09:08:43   - ros-noetic-catkin
09:08:43 Identified the following build dependencies (ignoring packages available from source):
09:08:43   - catkin
09:08:43   - cmake_modules
09:08:43   - diagnostic_msgs
09:08:43   - diagnostic_updater
09:08:43   - eigen
09:08:43   - eigen_conversions
09:08:43   - geographic_msgs
09:08:43   - geographiclib
09:08:43   - geometry_msgs
09:08:43   - message_filters
09:08:43   - message_generation
09:08:43   - nav_msgs
09:08:43   - nodelet
09:08:43   - python3-catkin-pkg
09:08:43   - roscpp
09:08:43   - roslint
09:08:43   - sensor_msgs
09:08:43   - std_msgs
09:08:43   - std_srvs
09:08:43   - tf2
09:08:43   - tf2_geometry_msgs
09:08:43   - tf2_ros
09:08:43   - xmlrpcpp
09:08:43   - yaml-cpp
09:08:43 Resolved the dependencies to the following binary packages:
09:08:43   - libeigen3-dev
09:08:43   - libgeographic-dev
09:08:43   - libyaml-cpp-dev
09:08:43   - python3-catkin-pkg
09:08:43   - ros-noetic-catkin
09:08:43   - ros-noetic-cmake-modules
09:08:43   - ros-noetic-diagnostic-msgs
09:08:43   - ros-noetic-diagnostic-updater
09:08:43   - ros-noetic-eigen-conversions
09:08:43   - ros-noetic-geographic-msgs
09:08:43   - ros-noetic-geometry-msgs
09:08:43   - ros-noetic-message-filters
09:08:43   - ros-noetic-message-generation
09:08:43   - ros-noetic-nav-msgs
09:08:43   - ros-noetic-nodelet
09:08:43   - ros-noetic-roscpp
09:08:43   - ros-noetic-roslint
09:08:43   - ros-noetic-sensor-msgs
09:08:43   - ros-noetic-std-msgs
09:08:43   - ros-noetic-std-srvs
09:08:43   - ros-noetic-tf2
09:08:43   - ros-noetic-tf2-geometry-msgs
09:08:43   - ros-noetic-tf2-ros
09:08:43   - ros-noetic-xmlrpcpp
09:08:43 Traceback (most recent call last):
09:08:43   File "/usr/lib/python3/dist-packages/apt/cache.py", line 299, in __getitem__
09:08:43     rawpkg = self._cache[key]
09:08:43 KeyError: 'ros-noetic-catkin'

Also, the only commit that was made to that branch today was the changelogs:
https://github.com/cra-ros-pkg/robot_localization/commits/noetic-devel
https://github.com/cra-ros-pkg/robot_localization/commit/8c156b38d81bb10b79efceab8044f4a167158809

Weird - maybe a temporary issue or race condition when something sync'd from building to testing?
Manually retriggered dev job

Thanks!

Seems to have succeeded this time. Thanks again.


Clarify QUIC on wiki

Hi @mholt.
As of Chrome v52 QUIC whitelist is no longer applicable for QUIC protocol versions > 30 so using caddy with -quic will expose QUIC to end user. QUIC wiki page can be corrected :)

Wow, that's the truth!
Chrome 52 sure is slick. Thanks for the heads-up.

Great 👍


Release patch v0.4.4

Address DCOS-37674
We are using a very old version of node js which resulted in this error. This is not needed for cosmos 0.5.x and above as we have moved the documentation to dcos docs site.

@benclarkwood we haven't released v0.4.x in a while and when i released 0.4.3 recently, the very old version of node js that we use resulted in a CI failure (linked in the description). we can discard 0.4.3 and can release v0.4.4 of cosmos to DC/OS.


Add pause on focus prop to Toaster

It is generally a good practice to pause the auto-dismiss feature of the toast component when it receives focus. This is especially important for accessibility reasons, as it allows users with screen readers or other assistive technologies to have enough time to interact with the content of the toast message.
I added it as a prop but I believe it should be the default behavior so the prop is not needed IMHO.

@timolins any plans to support this?


fixed package.json to get tapejs

fixed to be tapejs not testjs

When I run npm install against this, I get:
npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.2.4
npm ERR! npm  v2.14.12
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/tapejs
npm ERR! 404
npm ERR! 404 'tapejs' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'ibm-blockchain-js'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/programsam/git/ibm-blockchain-js/npm-debug.log```

Does a user need the tape npm to run the program?  If not, it should be listed in the devDependencies block.


R package r-rgdal fails to install

Issue description
With a shell.nix thus
{ pkgs ? import <nixpkgs> {}, compiler ? "ghc822", doBenchmark ? false }:

let

f = { mkDerivation, haskell, base, foldl, Frames, fuzzyset
    , inline-r, integration, lens
    , pandoc-types, plots
    , diagrams-rasterific
    , diagrams
    , diagrams-svg
    , diagrams-contrib
    , R, random, stdenv
    , template-haskell, temporary }:
mkDerivation {
  pname = "mrp";
  version = "1.0.0";
  src = ./.;
  isLibrary = false;
  isExecutable = true;
  executableHaskellDepends = [
    base
    diagrams
    diagrams-rasterific
    diagrams-svg
    diagrams-contrib
    (haskell.lib.dontCheck inline-r)
    foldl
    Frames
    fuzzyset
    integration
    lens
    pandoc-types
    plots
    random
    template-haskell
    temporary
  ];
  executableSystemDepends = [
    R
    pkgs.rPackages.dplyr
    pkgs.rPackages.ggmap
    pkgs.rPackages.ggplot2
    pkgs.rPackages.knitr
    pkgs.rPackages.maptools
    pkgs.rPackages.reshape2
    pkgs.rPackages.rgeos
    pkgs.rPackages.rgdal
    pkgs.rPackages.rstan
    pkgs.rPackages.zoo];
  license = stdenv.lib.licenses.bsd3;
};

haskellPackages = if compiler == "default"
  then pkgs.haskellPackages
  else pkgs.haskell.packages.${compiler};

# Fixup a few things
myHaskellPackages = haskellPackages.override {
  overrides = self: super: with pkgs.haskell.lib; {
    diagrams-rasterific = doJailbreak super.diagrams-rasterific;
    diagrams-svg = doJailbreak super.diagrams-svg;
    diagrams-contrib = doJailbreak super.diagrams-contrib;
    diagrams = doJailbreak super.diagrams;
    inline-r = dontCheck super.inline-r;
    pipes-group = doJailbreak super.pipes-group;
  };
};

variant = if doBenchmark then pkgs.haskell.lib.doBenchmark else pkgs.lib.id;

drv = variant (myHaskellPackages.callPackage f {});

in

  if pkgs.lib.inNixShell then drv.env else drv

and
nix-shell shell.nix -I nixpkgs=https://github.com/nixos/nixpkgs-channels/archive/nixos-unstable-small.tar.gz

I get
installing to /nix/store/zf472qbczmlv1hdr29gdrki2dqng06vi-r-maptools-0.9-2/library/maptools/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
no
checking gdal: linking with --libs and --dep-libs... ignoring (possibly broken) abi-depends field for packages
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
no
In file included from gdal_test.cc:1:
In file included from /nix/store/ywcqrkv8gcb1lw4gx4r9hx8vryhl33x3-gdal-2.3.0/include/gdal.h:45:
/nix/store/ywcqrkv8gcb1lw4gx4r9hx8vryhl33x3-gdal-2.3.0/include/cpl_port.h:187:6: error: Must have C++11 or newer.
#    error Must have C++11 or newer.
     ^
1 error generated.
In file included from gdal_test.cc:1:
In file included from /nix/store/ywcqrkv8gcb1lw4gx4r9hx8vryhl33x3-gdal-2.3.0/include/gdal.h:45:
/nix/store/ywcqrkv8gcb1lw4gx4r9hx8vryhl33x3-gdal-2.3.0/include/cpl_port.h:187:6: error: Must have C++11 or newer.
#    error Must have C++11 or newer.
     ^
1 error generated.
configure: Install failure: compilation and/or linkage problems.
configure: error: GDALAllRegister not found in libgdal.
ERROR: configuration failed for package 'rgdal'
* removing '/nix/store/l4sni0hs997an8ck7yj5s9inba4g04a8-r-rgdal-1.2-18/library/rgdal'
builder for ‘/nix/store/yfxhh45wj4m628axw5c6vj19d5ahhkz8-r-rgdal-1.2-18.drv’ failed with exit code 1
error: build of ‘/nix/store/yfxhh45wj4m628axw5c6vj19d5ahhkz8-r-rgdal-1.2-18.drv’ failed
/nix/var/nix/profiles/default/bin/nix-shell: failed to build all dependencies
bash-3.2$ nix-shell fromZim.nix -I nixpkgs=https://github.com/nixos/nixpkgs-channels/archive/nixos-unstable-small.tar.gz

Steps to reproduce
See above
Technical details
bash-3.2$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-darwin"`
 - host os: `Darwin 17.3.0, macOS 10.13.2`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 1.11.15`
 - channels(root): `"nixpkgs-18.03pre122117.14df60d0db9"`
 - channels(dom): `"nixpkgs-18.09pre142380.23f2dfd9f5a"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Builds on unstable/master/release-20.09.


[CONTROLLER/DB] adds domain field

This PR is for:

Server

adds domain field
Checklist

[ ] Added unit test.

Backport to branches

 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.zhengya 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.


[microTVM] Zephyr: add B-U585I-IOT02A board support

Add B-U585I-IOT02A board support to microTVM.
For more details about this board, please see:
https://www.st.com/en/evaluation-tools/b-u585i-iot02a.html
Signed-off-by: Gustavo Romero<EMAIL_ADDRESS>

cc @areusch @mehrdadh @alanmacd

@gromero you need to re-trigger it I think

CI failed again with  test_ethosu_clz[ethos-u65-256]. I'm re-triggering.

@areusch I'm wondering if you could kindly land this change now that the CI is green :)


Possible to embed for preview?

Is is possible to use this plugin to preview the camera with other content?  From what I have seen, when taking a picture, the plugin takes the whole screen.  I would like to use this plugin to show the camera and take a picture but have it only take 50% or so of the page to have other controls around it.

It is not sorry.


Hook Workers to appropriately treat Blobs completely

Working on #88 to improve Blobs handling, I realized that my fix attempt reopens an issue from the past. Back then, the only way we could think of to handle this issue was to block blobs all together. I now realize I might have a different idea of how to handle that past issue.
As linked above, the problem was that a blob URL can be created inside a Worker, where Snow can't reach, and then just pass the created URL back to top using postMessage and turn it into an iframe.
This is tricky because blob URLs are a unique animal. They are not about:blank so they're load is allegedly not sync, but their inner HTML&JS executes before external load events since a blob is a local resource.
This is the worst thing that could happen to Snow current arch.
To solve this, I can simply make workers unable to create blobs/url objects in the first place. I can do so because if a worker is created out of a blob, that blob is for sure a JS file, so I can just replace it with my own blob JS file. My replacement will simply run some protection code and afterwards will load the original JS. The other way to load a Worker is from a remote resource of course, but that is out of Snow's scope.

if disallowing creation of URL object in Web Workers the way Snow does in https://github.com/LavaMoat/snow/pull/89 prevents your application from running correctly, please share so in this thread so we can discuss the problem and understand how to best deal with it

Some people may want to regulate workers for other reasons than the specific attack scenario you have in mind. While I don't plan on using snow I imagine some users may wish to be able to toggle 'disallowing creation of URL object in Web Workers'.
Is there currently an easy-to-access config surface for site owners to toggle this?


[FR] Include substitute items into "Available" stock in BOM table

Problem
Currently only stock for base Item is displayed in BOM table. When we have substitutes for an item, their stock is not counted as available and only can be seen in "Edit BOM Item Substitutes" window. "Can Build" column is also calculated only for base item.
Suggested solution
Display total stock of substituted items plus base item.
Describe alternatives you've considered
Show total availability of substitute stock in parentheses after base item availability. Same with "Can Build".
Do you want to develop this?
Not sure I can.

This is a good idea, might be a little complex to implement but should be able to make it work :)

@SchrodingersGat this could get complex fast. Do you think 0.7.0 is realistic?

This has now been implemented - substitute stock quantities are included in BOM table


Phone Format support?

At cleave.js we had the possibility to format the telephone number. But it seems like I do not see this option at cleave-zen. Is this planned?

How about:
const value = formatGeneral(e.currentTarget.value, {
    blocks: [0, 2, 5, 4],
    delimiters: ['(', ') ', '-'],
    delimiterLazyShow: true,
    numericOnly: true
});

@maykon-oliveira While enough for my case - it won't work well, because depending on country, phone number format might differ.
(Thank you for the help tho!!)


AttributeError: module 'cv2.ximgproc' has no attribute 'niBlackThreshold'

I am seeing this error when calling the extract_tables funciton. Maybe there is some transitive dependency, which has the wrong version?

After uninstalling opencv and reinstalling img2table, I get a different error:
E               TypeError: invalid input for `col`
E
E               Expected iterable of type `str` or `DataType`, got iterable of type 'Expr'.

../../../../.pyenv/versions/3.11.8/envs/img2table-api/lib/python3.11/site-packages/polars/functions/col.py:61: TypeErro

Ok, I solved it by creating a new virtualenv. From what I have read, openvc might be problematic with regards to moving between versions...


Add file path to definitions list when running on verbose mode

Like discussed on issue #1027

Guys, any thoughts on this?

Great job! I love it :)

Thanks @everzet
This will help us a lot!


[Typescript] Generic React ClassComponent && withStyles

Hello everyone, can't figure out how to solve this so I'm asking for your help :)
Using typescript + react + material-ui (latest versions at the time of writing, cf package.json in repo, link at the bottom).
Can't share the real code but made a small project to reproduce my problem.
I have a generic class like so:
import * as React from 'react';
import { Theme, withStyles } from '@material-ui/core/styles';
import { WithStyles, createStyles, Typography } from '@material-ui/core';

const styles = (theme: Theme) =>
  createStyles({
    typo: {
      width: '100%',
    },
  });

type TestCompWithStyleProps<T> = {
  text: string;
  onClick?: (arg: T) => void;
} & WithStyles<typeof styles>;

export class TestComp<T> extends React.Component<TestCompWithStyleProps<T>> {
  render() {
    const { classes, text } = this.props;
    return <Typography className={classes.typo}>{text}</Typography>;
  }
}

export const TestCompWithStyle = withStyles(styles)(TestComp);

The aim here is to be able to have typings in the onClick callback function.
(kind of like what apollo-client is doing with Query && Mutation components).
It is used like this:
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import { TestComp, TestCompWithStyle } from './TestComp';

// ok
class TestCompChild extends TestComp<{ someVal: string }> {}

// Type error: Type 'ComponentType<Pick<TestCompWithStyleProps<{}>, "text" | "onClick"> & StyledComponentProps<"typo">>' is not a constructor function type.  TS2507
class TestCompWithStyleChild extends TestCompWithStyle<{ someVal: string }> {}

class App extends Component {
  render() {
    return (

            Edit src/App.tsx and save to reload.

            Learn React

        <TestCompChild
          classes={{ typo: 'toto' }}
          text="Hello from comp"
          onClick={val => {
            val.someVal; // ok
            val.test; // error type as expected
          }}
        />

    );
  }
}

export default App;

As you can see, it works fine when I extend the "original" component (not wrapped withStyles).
I get the typing I need in the onClick call prop.
But I can't make it work with the wrapped component (with "withStyles").
I get the error in the comment.
Any idea ? thx :)
PS: here is the repo which reproduce my problem, if you want to run it yourself (create-react-app typescript + material-ui https://github.com/nihaux/typescript-generic-material-ui-withstyle)

I have a generic class like so:

That is unfortunately not in our power. Every higher-order component I know so far looses the generic type information.
This is a limit of TypeScript. You're essentially want functions to types of types. There is no syntax for something like:
function wrap<T extends SomethingThatDependsOn>(

I have a generic class like so:

That is unfortunately not in our power. Every higher-order component I know so far looses the generic type information.
It's hard to explain but HOCs usually take a generic component Component<Props> and return a different component with some type operation on P Component<Map<Props>>. What you're basically asking is take a Component<Props<T>> and return Component<Map<Props<T>>>. Where does typescript get the type of T from? What if the props are not generic or take more than one type argument?
The only workaround is to override the exported type somehow so that you end up with
export class MyGenericComponent<T> extends React.Component<MyOriginalComponentProps<T> & StyledComponentProps<typeof styles>> {};

I'm very interested in how other higher-order components would approach this issue.

We have the same issue on react-jss. I don't think there is a solution for this; even overloading doesn't work, because you can't have a type in generics which also has generics as far as I know.
The only "real" solution is to have another component around the withStyles higher-order-component (Basically a container/presentational component).

I'm happy to improve the typings if somebody knows any higher-order component that doesn't loose generic type information. Until then I fear this is not actionable for us since it's a limitation of typescript.
Leaving this open since we should mention this somewhere in our docs. Either link to another resource that describes generic component and hocs or write it ourself. Looking for contributions.

i use something similar to this for typestyle / csx / mergeStyles and works great. styled components will be restricted to only proper dom props and the additional props you pass in as types
You have to use a simple css function though, which I don't know where that lives in the mui library.
ie: dont return a stylesheet, just a single rule
import React, { HTMLProps } from 'react';
import clsx from 'clsx';
import {hoistStatics} from './hoist';
import {withStyles, WithStyles, makeStyles} from '@material-ui/styles';
import { CSSProperties, Styles } from '@material-ui/styles/withStyles';
const h = React.createElement

type DomProps = Partial<HTMLProps<any>>
type CSX = { css?: CSSProperties , clone?: boolean, children?: React.DetailedHTMLProps<any, any>}
type StyledCSX = DomProps & CSX & Partial<WithStyles<any>>
//type StyledCSX = DomProps & CSX & Partial<WithStyles<any>> & Partial


Manually refresh a grid from a dialog?

I have a datagrid with Products in there.  At the top of the grid I've added a button to open an unrelated dialog, of type Customer.
When I save the Customer I would like to refresh the grid of Products.  I've been looking through the Serenity source in the EntityGrid.cs class to see how it automatically refreshes whenever I open an entity dialog and save, but I must be missing that section.
Regardless, is it possible to refresh a grid manually when I save or update in a dialog?

call initDialog method of grid, after creating dialog

That should work great, I see it's used in the DefaultValuesInNewGrid.ts sample too.  Thanks!


Add language comment to summer school web page

We should add something like "The official language of the PyHC 2022 Summer School is English. Simultaneous interpretation is not provided. It is therefore expected that attendees are able to communicate in the English language". The Official Language header would fit well between Location and Agenda.

Done.


9 needer profile

[x] needer profile
[ ] categories panel
[ ] show goods

We will add other elements to it, so I will not close the ISSUE https://github.com/hyf-Group2-fp/Just4Giving/issues/112 at the moment, the PR is already closed.


Demo App Setup

One with 6 instances that changes mem/cpu lots (link up with console polling)
App that can be put in various states

Duplicate


Fnsn to username

BEGIN_COMMIT_OVERRIDE
feat: login by username
feat: set password with magic link from email
END_COMMIT_OVERRIDE

waiting on usernames for current userbase before merge


Redirect feedback to new window when selected

it is an issue if the user is logged out and clicks to provide feedback mid-interview and does not get re-directed back to their place in interview

Nvm! This actually does work when form is live, but not when testing in playground


Accessibility Audit - Carbon Website: Data visualization - Chart anatomy

This epic is tied to a larger "release" that is meant to track the progress of the Accessibility Audit for the Carbon Website. We will audit all of the pages of the carbon website based on AVT 1, AVT 2, & AVT3 - which can be found here.

AVT 1: will audit the site against the IBM Accessibility Checker - browser extension

AVT 2: will audit the site against accessible keyboard interactions

AVT 3: will audit the site against screen readers

Legend:

🌶 fully audited - on all three AVT levels

:one: 🔍 AVT 1 audited
:two: 🔍 AVT 2 audited
:three: 🔍 AVT 3 audited

:boom: issues and documentation - on all three AVT levels are complete

:one: 🚨 AVT 1 issues submitted
:two: 🚨 AVT 2 issues submitted
:three: 🚨 AVT 3 issues submitted

:sparkles: tickets are triaged

Current status of this page:

Data visualization - Chart anatomy - 6 issues

1⃣ 🔍 AVT 1 audited & 🚨 AVT 1 issues submitted

Closing due to inactivity. Will reopen if/when ready to be worked on again.


Disable "View page source".

Thanks @ajerezr! Much appreciated,
Could you help take a look at how we might be able to replace the View Source link with an Edit link, connected to the underlying GitHub pages for each file?

Ok @it33, I will take a look, but I don't promise anything :)

Thanks! A few people tried this before and couldn't solve the puzzle, but we know many other Sphinx sites do this, so solutions do exist. If you're able to figure it out it would help a lot.

Hi @ajerezr, our goal was switching the "View page source" link to an "Edit Page" link to the GitHub page where users could edit the source.
While removing "View page source" is an intermediate step we couldn't take this without the "Edit Page" part.
Please let me know if you'd still like to try to add that part?

Hi @it33 , now im in other projects so i cant view how change "edit page" part.
Anyway, i take a look around to if i view something, i write you.
Sorry for the inconvenience,

Thanks again for the PR, closing it for now. Feel free to resubmit if you are able to look into adding the "Edit Page" functionality.


rethink configurations spec

As today providing configurations is done by a list of key/value pairs but that may not be very handing for tooling and in general for comprehension:
  configuration:
    - type: "property"
      value: "key=value"
    - type: "secret"
      value: "my-secret"

Wonder if we should provide a better organization, something like:
  configuration:
    - secret:
        name: twitter-directmessage
    - property:
        name: user
        value: my-user
    - property:
        name: password
        valueFrom:
          secretKeyRef:
            name: the-password
            key: password

which could give more freedom and would allow to use patterns commonly used in other kubernetes resources like referencing an entry in a secret or configmap

Relates to https://github.com/apache/camel-k/issues/1676

#2771 should be close this. With that work, the way to provide a configuration will be through container trait.

We manage them now via mount trait: https://camel.apache.org/camel-k/next/traits/mount.html


[AIRFLOW-3608]  Allow devs to submit custom airflow images to k8s CI

Make sure you have checked all steps below.
Jira

[ ] My PR addresses the following Airflow Jira issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-3608
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a Jira issue.

Description

[ ] Here are some details about my PR, including screenshots of any UI changes:

To help move away from Minikube, we need to remove the dependency on
a local docker registry and move towards a solution that can be used
in any kubernetes cluster. Custom image names allow users to use
systems like docker, artifactory and gcr
Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.
All the public functions and the classes in the PR contain docstrings that explain what it does

Code Quality

[ ] Passes flake8

Codecov Report

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

@@            Coverage Diff             @@
##           master    #4416      +/-   ##
==========================================
- Coverage   78.38%   78.21%   -0.18%
==========================================
  Files         204      204
  Lines       16445    16445
==========================================
- Hits        12890    12862      -28
- Misses       3555     3583      +28

Impacted Files
Coverage Δ

airflow/jobs.py
74.88% <0%> (-2.56%)
: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 8938d2c...3011e19. Read the comment docs.

@Fokko @kaxil PTAL

Also @feng-tao if you're around :)

lgtm


Command key not working for repeated shortcuts outside skhd in Vivaldi browser

I've got an interesting problem which may or not be a bug with skhd.
I'm using it with chunkwm and it's 99% great, however my preferred browser is Vivaldi, and although I don't have a binding defined in skhd for cmd + w, this key is used in Vivaldi to close tabs. The first time I invoke it to close a tab it works fine, but if I keep holding cmd and try to close another tab by pressing W again nothing happens. If I release cmd then press cmd + w again it works, but only once. Same for cmd + t, cmd + n etc.
I'm not sure whether this is a bug with skhd, Vivaldi (or Karabiner-Elements which I'm also using) or an interaction between one or more of them.
As an aside, I'm only using Karabiner-Elements to remap R_Opt to forward delete, so if there's a way to do this in skhd, that would be great!

Granted I don't use Vivaldi, I don't have this problem with Firefox nor Chrome.
I doubt it is an issue with skhd, as all we do is read the keyboard state and react to that.
I think your best bet is to stop skhd and try to see if the problem persists.
The level at which skhd intercept keys is unfortunately not suitable to do the kinds of remapping that Karabiner can perform, or at the very least would require a much much more complex structure for this to work seemlessly.
You could also try a different browser (Safari ?). Both holding cmd + w and repeatedly releasing w while having cmd down the entire time works fine for me.
This is a tedious way to approach the problem, but should at least get you closer to finding the source of the issue.

Embarassingly this seems to be a Vivaldi bug. I was running the 2.2 beta, have downgraded to the 2.1 stable version and this bug is not present. I've filed a bug on their tracker. Sorry to waste your time, and thanks again for skhd/chunkwm!


Added custom domain for admin routes

Added "domain" option to allow a custom administrator domain.

@stormsson this has to be a pr to the dev before I can accept it not master.  Sorry please fix.


Fixed execution_mode option check

The option :execution_mode is on the s.opt parameter, not on the options to the handle_prepare function.

Context for this change. As part of our project we were exploring the performance effects of switching :execution_mode from :prepare_execute and :executesql. Noticing that this switch in parameters had no effect on the commands we were seeing on the MS-SQL server, we dug deeper and discovered this bug.
See the single line of code change. It is simply checking the wrong option list for this parameter, and therefore always taking the default option.

These failures appear to be in the build configuration, not the code change.

This is not issue, it is designed to be allways  :prepare_execute, then for concrete query you can chose if you want to use :executesql by passing it like this
Tds.query(pid, statement, params, [execution_mode: :executesql])
Such things, like density estimates are tweaks that you want to do per query. Usually you will not see any significant differences between those two modes.
Anyhow, I will expose option to have ability to chose default on connection options, still per query should override it if given. I'll make different PR for this


500 on CreateStickerAsync

Summary
Discord returns a 500 when creating a sticker via the CreateGuildStickerAsync method, by looking at how we send it. I'm not seeing an obvious issue, maybe someone could share a bit more light on it?
Here's a working curl request just for examples sake:
curl --location --request POST 'https://discord.com/api/v9/guilds/848176216011046962/stickers' \
--header 'Authorization: Bot ODXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' \
--form 'name="test"' \
--form 'description="Testing"' \
--form 'tags="test, testing"' \
--form 'file=@"/C:/Users/USER/Pictures/image1.png"'

After some testing with curl and printing the raw http requests the lib sends to the console, I managed to found the problem.
Turns out the lib doesn't include a Content-Type header in the image being sent:
...

Content-Type: multipart/form-data; boundary="Upload----08/23/2021 16:57:48"

--Upload----08/23/2021 16:57:48
Content-Type: text/plain; charset=utf-8
Content-Disposition: form-data; name=name

testname
--Upload----08/23/2021 16:57:48
Content-Type: text/plain; charset=utf-8
Content-Disposition: form-data; name=description

testdescription
--Upload----08/23/2021 16:57:48
Content-Type: text/plain; charset=utf-8
Content-Disposition: form-data; name=tags

tag1, tag2
--Upload----08/23/2021 16:57:48
(Missing Content-Type header)
Content-Disposition: form-data; name=file; filename=testname.png; filename*=utf-8''testname.png

(raw png)
--Upload----08/23/2021 16:57:48--

curl raw http request:
POST /api/v9/guilds/guild_id/stickers HTTP/1.1
Host: discord.com
User-Agent: curl/7.55.1
Accept: */*
Authorization: Bot ****
Content-Length: 609
Expect: 100-continue
Content-Type: multipart/form-data; boundary=------------------------c12f6a8cb49dc76f

--------------------------c12f6a8cb49dc76f
Content-Disposition: form-data; name="name"

testname
--------------------------c12f6a8cb49dc76f
Content-Disposition: form-data; name="description"

testdescription
--------------------------c12f6a8cb49dc76f
Content-Disposition: form-data; name="tags"

tag1, tag2
--------------------------c12f6a8cb49dc76f
Content-Disposition: form-data; name="file"; filename="testname.png"
Content-Type: application/octet-stream <--- curl adds the Content-Type

(raw png)
--------------------------c12f6a8cb49dc76f--

Adding the following code here fixes this issue:
var streamContent = new StreamContent(stream);
streamContent.Headers.ContentType = new MediaTypeHeaderValue("image/png"); // application/json for lottie?
content.Add(streamContent, p.Key, fileValue.Filename);

This was a discord side issue and can be safely closed as it was resolved.

This was a discord side issue and can be safely closed as it was resolved.

Is there a link to a thread about it?

Check the discord developer news channel

"ability to gather images and other attachments from our CDN without specifying a User-Agent header.". This issue is for creating assets, and the content type is the issue

Right it's 8am in the morning and I need coffee to see.

My bad

No worries

This was a discord side issue and can be safely closed as it was resolved.

Even if this bug gets fixed, the API would just return an "Invalid Asset" error since the Content-Type header is required.

Is there a link to a thread about it?

There's actually an issue in discord-api-docs about this bug.
I guess Discord didn't fix this because it's a low priority bug (fixing it would just return a different error message).

@d4n3436 Im noticing that the C# code doesnt chuck the string names within quotes while curl does
Content-Disposition: form-data; name=name

Content-Disposition: form-data; name="name"

Running your version produces this exception:
Discord.Net.HttpException: The server responded with error 50035: Invalid Form Body
{
  "name": {
    "_errors": [
      {
        "code": "BASE_TYPE_REQUIRED",
        "message": "This field is required"
      }
    ]
  },
  "tags": {
    "_errors": [
      {
        "code": "BASE_TYPE_REQUIRED",
        "message": "This field is required"
      }
    ]
  }
}

Im noticing that the C# code doesnt chuck the string names within quotes while curl does

That's not really important. The API accepts parameters with no quotes.

Running your version produces this exception:

Hmm that's weird. Are you using the code I sent at the bottom of my message?
It works for me (sorta), the API now returns a different error message:
{"message": "Maximum number of stickers reached (0)", "code": 30039}

Which makes sense since my test server doesn't have any sticker slots.

Nvm i've fixed it, check the comit

I managed to confuse 2 people in a single issue mmlol

Haha


Data Synthesis

This PR addresses issue #3 and #25 :

Added all params to data_synthesis method
Track number of examples generated vs requested
Track number of tokens generated
Added error logs for incomplete generations and invalid prompts
Documented all params
Standardized docstrings

could you split the formatting changes out into their own PR?

I use black formatter on vscode and it runs everytime I save. I added the formatting as its own commit so that it doesn't interfere with my actual commits.

Can I create a pre-commit file with black and flake8? Black makes the code format more consistent and flake8 removes unused imports, variables and keys.  This would also address #4 .

Might have to open a new PR for my changes.  I can't revert the formatting changes without  reverting everything that came after.

Whatever is easiest for you.  I like treating prs as diff rather than
journal.
On Thu, Jul 6, 2023 at 3:59 PM Vik @.***> wrote:

Might have to open a new PR for my changes. I can't revert the formatting
changes without reverting everything that came after.
—
Reply to this email directly, view it on GitHub
https://github.com/anarchy-ai/LLM-VM/pull/33#issuecomment-1624237323,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAABBQU6ZDJWACEUB2TLXNTXO4KJNANCNFSM6AAAAAA2AYJHUE
.
You are receiving this because you commented.Message ID:
@.***>


Fixtures and ktorm

This is really a question not an issue.
I was wondering if anyone knew of anywhere where people were using fixtures and a fixture library like https://github.com/appmattus/kotlinfixture with ktorm. I'm fairly new to kotlin and I'm struggling a bit with figuring out how to do this. The libraries auto setup fails with reflection issues if you try to pass it just the interface, so I thought maybe i'd make a fixture class that implements the interface in order to generate tests but so far haven't gotten that working either.
I was just wondering if you folks who were writing this had any experience with anything like this.
Thank you!

Maybe you should raise an issue to the kotlinfixture project to ask them how to support interfaces.

Maybe you should raise an issue to the kotlinfixture project to ask them how to support interfaces.


add band oracle milestone2

Hi, friends. Thank you for your delivery. In the milestone description, you mentioned that the article will be published. However, all I see is a simple Google Doc. I believe the article can be a great addition to your marketing and could bring new users to both your product and the ecosystem as a whole. Everything else looks OK to me.

Absolutely, our marketing team are currently working on both a blog post and an X post, using material based on this Google Doc Article. We will send the draft for your team to review before release in the Telegram group that we have set up.

Hey team!
Here's the form for payment details: https://forms.gle/BUCKfygkiEvpdYna6.
Once you've filled it out, please let me know and be sure to specify what it pertains to; you can include the link to this PR delivery! Further details can be provided under the section: "Please describe which Milestone you have completed and attach the link to the Milestone delivery."
Should you have any questions, don't hesitate to ask. Thank you so much!

For guidance on how to set up identity, refer to this guide.

Hi, friends. Thank you for your delivery. In the milestone description, you mentioned that the article will be published. However, all I see is a simple Google Doc. I believe the article can be a great addition to your marketing and could bring new users to both your product and the ecosystem as a whole. Everything else looks OK to me.

Absolutely, our marketing team are currently working on both a blog post and an X post, using material based on this Google Doc Article. We will send the draft for your team to review before release in this thread
Thanks

As previously mentioned, here is a draft of our marketing pieces that we plan on releasing for you to review ( 1 blog, 1 X post ). Once approved, we can discuss the scheduling for release. https://docs.google.com/document/d/1LXMfNymuZ77xGp3KZ_OV-A9IhJzR4Sw4Sy_q8qUYMps/edit?usp=sharing
Feel free to comment on the document or let us know of any feedback you may have. Thank you very much


Generate OPAM from Dune

@liyishuai could you summarize the benefits of this change?

Generating OPAM files automatically can help avoid syntax errors. If someday we need to change the packages' metadata, modifications in dune-project can be propagated to both packages.


Fix TimerInternal catchup issue

If TimerInternal setTimeouts aren't executing because the browser lost focus then it will catch up by calling setTimeout over and over again.
Possible solutions:

Use setInterval instead of setTimeout and let the browser behavior handle it.
Somehow execute the catch up's before the setTImeout
Calculate the index from elapsed time and resume at the next step.

The solution to update ticks immediately caused writing in effect bug.  So this change was reverted.  Need to switch to using setInterval for interval mode.


Typescript Support

Hi there,
I'm considering starting a project using socketcluster, but I don't see any typescript support as of yet.  If I'm mistaken, could you please point me to the right location?  If there is indeed no typescript support, perhaps I could create a branch and start adding some type definitions?
That would be my first real open-source contribution through github! :O
Cheers,
Andrew

@ZenPylon did you start on this?

@ZenPylon Is this in the works?

Hi @akshaychand and @sheeldotme, sorry for the huge delay in response.  I had started, but abandoned it after not too long.  I decided to use Firebase as the websocket server.  Sorry - I think I deleted the small bit of progress I'd made :( .

@akshaychand Since SC v9, there is already automatic TypeScript support. Just run the master (server.ts) with the ts-node command https://www.npmjs.com/package/ts-node - Also make sure that all your controller files (for child processes) have a .ts extension instead of .js. So for example it should be worker.ts instead of worker.js. You will need to also update the path to these controllers to account for this change (e.g. change these lines to have a .ts file extension instead: https://github.com/SocketCluster/socketcluster/blob/25b3f84f2bb69f92f9f9c404167c23ea27e5e919/sample/server.js#L20-L21).

Thanks @jondubois! Worked like a charm.


Auto-close PRs with only changes to the TeamCode folder

Just to prevent people from making a PR here with their team's code, we could set up a GitHub action to close PRs where the only files changed are in the TeamCode folder. We could also probably add a comment linking to CONTRIBUTING.md since it has a couple useful guides to Git.

We've considered just auto-closing everything over the years as has been stated elsewhere the release model for the SDK doesn't have a provision for accepting PRs on the public repo.   My personal view on auto-closing is that it's not really necessary as I don't mind closing PRs manually for those that remain open, and for those that are closed by the original requestor, it's just a learning experience.   That said, auto-close is continually on the radar and it may be added in the future.  Thanks for the comments.


chore: support Scala 2.13.14

Closes https://github.com/scapegoat-scala/scapegoat/issues/839
I took inspiration from https://github.com/scapegoat-scala/scapegoat/pull/824/files but feel free to update if something's wrong :)

Thanks for opening the PR! Would you please bump scalac-scoverage-plugin to v2.1.1 (https://github.com/scoverage/scalac-scoverage-plugin/releases/tag/v2.1.1) in plugins.sbt?

Sure @saeltz , done :)

Thanks for opening the PR! Would you please bump scalac-scoverage-plugin to v2.1.1 (https://github.com/scoverage/scalac-scoverage-plugin/releases/tag/v2.1.1) in plugins.sbt?

https://github.com/scoverage/sbt-scoverage/releases/tag/v2.0.12
For the sbt plugin it's 2.0.12 😅


Read binary FRU files

This branch does several things:

Read binary FRU files (internal, chassis, board, and product are supported).
Increase to 100% unit test coverage.
Removes all of the print statements that harm using fru.py as a library.
Convert the unit test code to LF (it was accidentally using Windows CRLF line endings).

This should be superceded by merge request 9.


[testing] Detect duplicate SEIDs in Session Establishment Requests

The Session Establishment Requests with duplicate SEIDs are now be rejected with "Request Rejected" (64) PFCP Cause Value and a TP-specific Error Report IE.
Includes commit from #86 which needs to be merged before this PR.

@ivan4th looks ok in general. two remarks: please put a comment in there which states that the SEID is actually per SMF and that an overhaul of this part of the code is planned in near term future. 2nd: do you know the performance impact of pcfp_lookup(seid)?

Will add the comment. Concerning pfcp_lookup(): this is a quick hash lookup, so I don't think it'll have noticeable negative performance impact, especially given that session creation can take a few milliseconds anyway


Create actions-jimo

Documentation for the Jimo Browser Destination

Proposed changes
Added an index.md in src/connections/destinations/catalog/actions-jimo/index.md
Merge timing

ASAP once approved?

Committed, thanks for the suggestions!

@imsamdez since you have submitted your documentation. If you have tested the integration, and are certain it behaves as expected, we can make your integration live. Is that the case, or would you like to wait?

@imsamdez since you have submitted your documentation. If you have tested the integration, and are certain it behaves as expected, we can make your integration live. Is that the case, or would you like to wait?

Hey @tcgilbert, you can make it live yes, thanks!

@imsamdez great! this will go live tomorrow afternoon when the docs site rebuilds. I'll send an update to you then


Fix exception handling

This aims to fix https://github.com/pybee/voc/issues/255
Does this look good?

So I've been pairing on this with @Heisenberg815 for some time, I think we're pretty close now.
@Heisenberg815: i was looking at the build failure, it looks like we missed the except (exc1, exc2) case =)
To be continued !

@BPYap I have made the fix you suggested, plus one other small fix. It seems I still have one test to fix, will do it shortly.
Sorry for the late response.
Cheers!

Hi there! It looks like this PR might be dead, so we're closing it for now. Feel free to re-open it if you'd like to continue, or think about directing your efforts to https://github.com/beeware/briefcase or https://github.com/beeware/toga. Both of these have more active development right now. 😄