error occuring sometimes: /init.lua:57: bad argument #2 to 'gsub'

only created by certain diagnostics.
  Error  Error executing vim.schedule lua callback: ...s-error-translator.nvim/lua/ts-error-translator/init.lua:57: bad argument #2 to 'gsub' (string/function/table expected)
stack traceback:
	[C]: in function 'gsub'
	...s-error-translator.nvim/lua/ts-error-translator/init.lua:57: in function 'translate_error_message'
	...s-error-translator.nvim/lua/ts-error-translator/init.lua:125: in function 'translate'
	...s-error-translator.nvim/lua/ts-error-translator/init.lua:151: in function 'handler'
	...w/Cellar/neovim/0.9.5/share/nvim/runtime/lua/vim/lsp.lua:1056: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>

Thank you for the reported issue and sorry you're bumping in to it - any chance you know of a minimal way to reproduce?

Thank you! that's super helpful, I also just pushed this commit: https://github.com/dmmulroy/ts-error-translator.nvim/commit/779410734b0be3df3f25bf94200711f0b2635a8d which should prevent this plugin from crashing until I have a better fix

I made some naive assumptions about line breaks - Will hopefully have a proper fix in tonight after work, thanks again for the report.


Any plan to support Nvidia GPUDirect Storage?

Feature request
Nvidia GPUDirect Storage has better performance to load model from NVMe disk or supported distributed storage. It will do the real zero copy.
Motivation
It will get better performance with Nvidia GDS.
Your contribution
Not sure.

Definitely something we're looking at !
There's no pure Python GPUDirect Storage implementation to the best of my knowledge, so currently waiting on PyTorch for this a bit.
If there's a way to short-circuit PyTorch to enable this faster, I'm all up for it.
Non Python world users should already be able to leverage it, since the Rust code doesn't actually deal with where the memory is coming from so you can really have a memory mapped file and use GPUDirect Storage all the contents on the CPU at once.

The GPUDirect Storage of Nvidia has cuFile SDK to provide basic usage, such as cuFileRead and cuFileWrite.  I do not think there is pure Python implement.

I have been conducting several experiments with GPUDirect through cuFile Python bindings provided by rapidsai/kvikio. The target motivation was to profile how by-passing the CPU memory could speedup big checkpoints allocation to GPU, thus achieving zero-copy loading.
We performed several micro-benchmarking using fio in order to trigger  libcufile, thus measuring theoretical maximum bandwidth. Nevertheless, those experiments were launched within a VM, so not formal results yet. One fio config used as example:
# Example libcufile job, using cufile I/O
#
# Required environment variables:
#     GPU_DEV_IDS : refer to option 'gpu_dev_ids'
#     FIO_DIR     : 'directory'. This job uses cuda_io=cufile, so path(s) must
#                   point to GPUDirect Storage filesystem(s)
#
[global]
ioengine=libcufile
directory=${FIO_DIR}
gpu_dev_ids=${GPU_DEV_IDS}
cuda_io=cufile
direct=1
bs=1m
size=4g
numjobs=82
thread

[read-tensor]
rw=randread

Results
Run status group 0 (all jobs):
   READ: bw=3115MiB/s (3266MB/s), 38.0MiB/s-41.9MiB/s (39.8MB/s-43.9MB/s), io=328GiB (352GB), run=97741-107824msec

Disk stats (read/write):
  vda: ios=450476/970, sectors=687693824/11024, merge=0/311, ticks=11387018/57017, in_queue=10526996, util=99.48%

The above micro-benchmark tries to emulate the loading of Falcon-180B (82 chunks of 4.4GB each). Deserialization overhead is omitted, since we are working with cupy arrays. Nevertheless these have __cuda_array_interface__, so zero-copy data exchange between CuPy and PyTorch can be achieved at no cost.
I would be highly interested in exploring this idea with safetensors as serialization/deserialization targets for the state_dict using GPUDirect. What do you think @Narsil ?

Not sure if I read this correctly. The first number suggests reading at 3GB/s (insane) the second 38MiB/s (which doesn't really look good).
Which is it ? I'm going to try and setup something in candle/cudarc as it seems easier given the low level access to those APIs.

Once all jobs are finished, here we are spawning threads and not process to not oversubscribe to the GPU and make cudaMalloc crash, the group statistics are printed.
From the [fio HOWTO repo notes] (https://github.com/axboe/fio/blob/a142e0df6c1483a76d92ff7f9d8c07242af9910e/HOWTO.rst#L2643)
bw

Aggregate bandwidth of threads in this group followed by the minimum and maximum bandwidth of all the threads in this group. Values outside of brackets are power-of-2 format and those within are the equivalent value in a power-of-10 format.

With a lower quantity of threads:
[global]
ioengine=libcufile
directory=${FIO_DIR}
gpu_dev_ids=${GPU_DEV_IDS}
cuda_io=cufile
direct=1
bs=1m
size=4g
numjobs=16
thread

[read-tensor]
rw=randread

Output:
Run status group 0 (all jobs):
   READ: bw=2613MiB/s (2740MB/s), 163MiB/s-181MiB/s (171MB/s-190MB/s), io=64.0GiB (68.7GB), run=22596-25078msec

Disk stats (read/write):
  vda: ios=86014/479, sectors=134213632/5184, merge=0/171, ticks=492865/5535, in_queue=297040, util=97.62%

As a result, the bandwidth per thread increases.
You can also use gdsio as micro-benchmarking utility instead of fio.
Regarding access to cuFile APIs, rapidsai/kvikio & cupy provide Python binding, but maybe even lower level access is desired.
For example:
# %%
import cupy
import kvikio
import numpy as np
import torch
# %%
# kvikio write example
a = cupy.arange(100)
f = kvikio.CuFile("test_file", "w")
# Write whole array to file
f.write(a)
f.close()
# %%
"""
PyTorch also supports __cuda_array_interface__
zero-copy data exchange between CuPy and PyTorch can be achieved at no cost.
"""
a = torch.rand((4,4), device="cuda")
b = cp.asarray(a)
logger.info(f"Tensor a: {a}")
logger.info(f"Tensor b: {b}")
# check the underlying memory pointer is the same
assert a.__cuda_array_interface__['data'][0] == b.__cuda_array_interface__['data'][0]
# %%
# convert a cupy array to torch tensor
a = cp.arange(10)
b = torch.as_tensor(a, device="cuda")
b += 1
print(f"Tensor b: {b}")
print(f"Tensor a: {a}")


Cache-control header in S3 gateway

Resolves #7074.
DuckDB connects to the S3 gateway API, which doesn't set cache-control headers. Since this happens in the browser, the result is cached.
Kind of related: #6977, which asks for better cache control on the lakeFS OpenAPI.

@nopcoder: This header is not part of the S3 protocol. What you may do in S3 is either use CloudFront as a caching layer - or add the Cache-Control header as a custom header on an object.


Allow background process

Spawn a task to run the agent in background.

Hell @gfronza.
Do you mean something like init.d or systemd scripts or something else?
Thanks in advance.

After installing with pip, a systemd script is installed to run the application as a background process.


JDBC Binding does not support multiple host for failover

Hi guys,
I was trying to benchmark CockroachDB (using the JDBC binding and the PostgreSQL JDBC connector) with respect to node failures and I came across the following issue:
JDBC support multiple host in the connection String to enable failover, e.g.:
jdbc:postgresql://host1:port1,host2:port2/database
Yet, the current JDBC-binding epects multiple hosts only in the following form:
jdbc:postgresql://host1:port1/database,jdbc:postgresql://host2:port2/database
And as the provided connection String is split by "," to create multiple connections  (check the respsective line 198 JDBC-Binding ) this will result in an error for the failover connection String with multiple hosts.
Hence, the splitting identifier at line 198 should be changed to sth. which not conflicts with JDBC connection string chars.
I did a simple test by replacing "," with ";" and it worked without a problem for a failover connection String.
Would be great if you can apply this fix for upcoming releases
Cheers,
Daniel

Hi Daniel! do you have the time to put together a PR?

Yes, I will try to do it within the next days.

Any progress?

Sorry for coming back to this quite late.
Just submitted a pull request  to fix this issue

#1233 has been merged.


add submit_for_settlement/2 method

Adds support for making settlements at a later time, if the option for settlement was false while creating the charge.

@nimish-mehta Thanks for the PR, it's very welcome. I've left a few comments for you and then it is ready to merge.

@sorentwo I have updated the documentation to use double quote, and changed the tests to use =~ instead of == i am assuming this is what you meant with match. I have left a comment against one of the suggested changes, please have a look and let me know how to proceed with it.

@nimish-mehta You're absolutely right, there wasn't a type definition for it. I've added one and updated all of the signatures. You can rebase and add {:ok, t} now.

I have rebased and updated the spec. Let me know if any other changes are needed.

Verified as passing locally, thanks for the work and the updates.


PWM resolution and gpio 18 issue.

Hey Claude !
Thanks for the amazing job you did. I used your library for dmx with an esp8266 and now I'm using it with an esp32 to control directly 16 leds 12v with mosfets. It works like a charm ! thanks a lot !
Now I have some questions. I´d like to increase the resolution of my pwm to get better results. - Would it be possible for it to work in a resolution other than 8bit? I can't make it work once I change the resolution and wanted to know if there was something that I could do. Could it maybe be related to a "clock" problem, and if so, is there a way to avoid it?

Another issue is when I use the GPIO 18, it's not working anymore. Is there any reason for this?
Last question: I think I will use an Arduino module for the rs485. There are 2 models that I could use:
this one :https://images.app.goo.gl/iyy9Nhgst8h6XZpy9
or this one : https://images.app.goo.gl/G9eBiMuqCqsqZQA58
The second one seems to have better protection for the Micro-controller, and I think I will use this second option. But I would like to know whether you have used the first option and whether you had encountered any problems with it (such as tension problems, grilling of the cards, etc.)

Finally, this is the code I use:
`#include <LXESP32DMX.h>
#include "esp_task_wdt.h"
#define DMX_DIRECTION_PIN 21
#define DMX_SERIAL_INPUT_PIN 16
#define RESOLUTION_PWM 8
// -- VARS LEDS
int freq = 5000;
byte pins_leds[]={0,15,5,13,
12,4,17,14,
21,22,19,23,
27,25,26,13};
const byte nb_leds= sizeof(pins_leds)/sizeof(pins_leds[0]);
const int pwm_steps = pow(2,RESOLUTION_PWM);
// -- VARS DMX
bool received_dmx=0;
int dmx_add = 1;
// ------------------ DMX RECEIVE FUNCTION
void receiveCallback(int slots) {
if ( slots ) {
received_dmx=1;
xSemaphoreTake( ESP32DMX.lxDataLock, portMAX_DELAY );
for(int i=0;i<nb_leds;i++){
ledcWrite(i, ESP32DMX.getSlot(dmx_add+i));
}
xSemaphoreGive( ESP32DMX.lxDataLock );
}
}
// ------------------ SETUP
void setup() {
// ----- LEDS
for(int i=0;i<nb_leds;i++){
ledcSetup(i, freq, RESOLUTION_PWM);
ledcAttachPin(pins_leds[i], i);
}
ledcAttachPin(2, 0); // BUILTIN LED
// ----- DMX
pinMode(DMX_DIRECTION_PIN, OUTPUT);
pinMode(DMX_SERIAL_INPUT_PIN, INPUT);
digitalWrite(DMX_DIRECTION_PIN, LOW);
ESP32DMX.startInput(DMX_SERIAL_INPUT_PIN);
ESP32DMX.setDataReceivedCallback(receiveCallback);
}
// ------------------ SETUP
void loop() {
if(!received_dmx){
for (int pwm = 0; pwm <= pwm_steps; pwm+=2) {
for(int i=0;i<nb_leds;i++){
ledcWrite(i, pwm);
}
delay(7);
}
for (int pwm = pwm_steps; pwm >= 0; pwm-=2) {
for(int i=0;i<nb_leds;i++){
ledcWrite(i, pwm);
}
delay(7);
}
}
}`
Again, thanks for sharing your work.
Julien

I will have to take a closer look at the PWM resolution to see how it works.  What happens when you try this?  Is there no output or unexpected output?
Of the boards, the one that will work with the library is probably the first one.  The second one does appear to have more protection.  However, I don't see how the serial direction is controlled.  You's want to be sure you can switch between input and output.  The lack of protection depends on how you are powering the boards.  If its attached to a computer and there's a transient on the DMX or a fault in a fixture that puts line voltage on the DMX, it could be costly and take out your computer.  The risk in your situation would potentially not cost the computer if you use a cheap power supply instead, but it could take out the ESP32 and LEDs...  Depends on the situation what the risk of line voltage on the DMX really is...  Like any insurance, you have to balance the cost with the potential consequences.  I absolutely go with optical isolation if I'm connecting to my computer and DMX.
Finally, I would test pin 18 on your board with something else, a simple sketch that just proves if it works or not.  It could be that specific board.  With the ESP32, the chip pins are not necessarily the same as the arduino pins and that's something to keep in mind when you look at the documentation and see the functions available for a pin.  (I also don't see what you are trying to use pin 18 for in the above sketch)

Hello Claude !
I'm continuing my investigations. Finally, I was wrong about the PWM resolution. It was a mess between my "loop test" and the dmx received. So I was able to use dmx and 12 bit resolution without problem. But beyond 12, I has some Flikering problem, but probably because of the frequency. About the pin 18, I didn't check yet.  And about the 2 shield. I don't why, the one was working at a moment (few month ago), but now I don't find a way to make it works and there no documentation about it. So I will use the first one even if it looks less protected.
When I will have more infos, I will send you.
Thanks,
Julien

Just curious. DMX is an 8 bit protocol. So it can represent a max of 255 discrete levels. So are you mapping the 12 bit value somehow? Or are you using 2 channels to get 12 bits?

No, I only use one single channel of DMX. but then I make a logarithmic scale to 12 bits. Like this, the led don't stop with very low values, but fade out slowly.
Claude: Finally, the second shield works well too.


Plugin no longer working

Hi there,
I've only just notice but the plugin has stopped working. Has there been updates the Yahoo api that could of broke things? And are you planning on updating the plugin at any point?
Many thanks
M

Why did you close this issue without answer? My plugin are down on multiple pages :(

I'm not sure why he closed it, I assume he noticed the recent update or other issues. Yahoo made a change to their API and removed one of the end points I was using, v3.1.0 fixes this.


can i get any help

problem.docx
PS C:\Project> npm install -g @angular/cli
C:\Users\SAI BABA\AppData\Roaming\npm\ng -> C:\Users\SAI BABA\AppData\Roaming\npm\node_modules@angular\cli\bin\ng
C:\Users\SAI BABA\AppData\Roaming\npm
`--<EMAIL_ADDRESS>npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules@angular\cli\node_modules\chokidar\node_modules\fse
vents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (curre
nt: {"os":"win32","arch":"x64"})
PS C:\Project> npm install -g @angular/cli
C:\Users\SAI BABA\AppData\Roaming\npm\ng -> C:\Users\SAI BABA\AppData\Roaming\npm\node_modules@angular\cli\bin\ng
C:\Users\SAI BABA\AppData\Roaming\npm
`--<EMAIL_ADDRESS>npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules@angular\cli\node_modules\chokidar\node_modules\fse
vents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (curre
nt: {"os":"win32","arch":"x64"})

I'm not sure what kind of help you're exactly looking for. However, it looks like you're using Angular, and not AngularJS.
Please note this repository is for AngularJS projects.
For assistance with Angular, you can always try https://gitter.im/angular/angular
For bugs/feature requests you can also try the Angular github repository: https://github.com/angular/angular. For specific issues regarding Angular-CLI, you might want to checkout https://github.com/angular/angular-cli .


sqlite3 installation error

https://gist.github.com/mucahidyazar/10b072fc036437402a40f4a628682542
This is my error. I tried to clean cache
I tried this one
npm install sqlite3 --verbose --no-rollback
But everytime I got error. Whats problem on there guys.

gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the "Desktop development with C++" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
gyp ERR! find VS **************************************************************
gyp ERR! find VS
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Visual Studio installation to use

You using Node v14 - which is not yet supported by prebuilt binaries. (#1314)
The fallback method is to build it locally, which failed because you do not have the right setup locally in order to build it.


[Release / v0.1.1] - Create or update existing cards

Description

[x] Detect existing cards in collection
[x] Update colors on stdout
[x] Add commands in Makefile for working with submodules
[x] Update decidim cards submodules
[x] Bump from v0.1.0 to v0.1.1
[x] Add translation of cards name

LGTM, have an idea of what breaks the CI ?


Rough TODO

migrate the elven-tools-dapp to erdjs 10 [done]
clone and clean the template to be more generic [done]
add docs (readme) [done]
then more improvements

Ledger auth [done]
more React hooks
more tooling
rethink the backend integration and server-side auth checks, research: https://github.com/ElrondNetwork/native-auth

then maybe split into separate npm packages, but I am not sure if this is required
more frontend frameworks support
static websites support (can be tricky with current erdjs implementation, but doable)

Thank you for working on this @juliancwirko! Do you have any possible estimation for Ledger auth integration?

I need to find my old Nano S ;)
I plan to work on it very soon. I want to start end of this week, maybe on the weekend.

Elven Tools Dapp already has it: https://github.com/ElvenTools/elven-tools-dapp
So it will be implemented here very soon.

Ledger HW provider also merged here, available for testing: https://elrond-nextjs-dapp.netlify.app

Progress is now tracked here: https://github.com/orgs/ElrondDevGuild/projects/3/views/1.
The general issues section is still open. Feel free to report everything there.


Format on type removes new line added in template literal

In a JS file, hitting enter/return between an opening curly brace and underscore within a template literal causes a glitch

VS Code Version: 1.80.2 (Universal)
OS Version: MacBook Pro M1 - v13.4.1 (c)

Steps to Reproduce:

Create a javascript file (.js)
Add the code ${_.length()}
Place the cursor between the underscore _ and opening curly brace {
Hit return on Mac

https://github.com/microsoft/vscode/assets/29048470/80399ef9-0003-4917-a2f1-e2eb13cc0013

The normal format command also removes the new line. Moving to TS for further feedback

I can't repro this


@Priority on producers

Now that @Priority can be put on anything, we could (should?) support @Priority on producers (methods? fields? both?).

+1 for both, i.e. @Alternative producer methods and fields.

this is already supported in Micronaut btw

I'm not proposing this for 4.0, just figured we should have a tracker for this.

Alternatively, a producer with @Priority could be enabled even if its declaring bean is disabled, but that would likely interfere with ambiguity resolution, specialization, and probably a few other things, so I'm not exactly a fan.

Not a fan either, you need an enabled bean to have a producer discovered on it. An exception might be static producer but I'm not sure that's worth the complexity.

Currently, an @Alternative producer "inherits" @Priority from the bean class that declares the producer. We probably want that to keep working, but if the producer declares its own @Priority, we want that to win.

Yes, I was thinking the same - this is akin to how bindings work for interceptors.

producer3 is enabled, selected for application, priority 2

Frankly speaking I always found this weird but I get why we want to preserve it. Would it be sensible to impose a deprecation and in some future version require that enabled producers should have the annotation on their respective method/field?
However, in this case there is still enablement via beans.xml which allows you per-class declaration IIRC (<alternatives>)...

producer6 is not enabled (albeit it is selected for application, priority 4)

I don't think it's even discovered because the bean declaring it isn't enabled (same for producer5 OFC).
See Bean Discovery:

For each enabled bean, the container must search the class for producer methods and fields, as defined in Producer methods and in Producer fields, including resources, and for disposer methods as defined in Disposer methods, and for observer methods.

Good point about discovery. The rest of the specification is written such that it doesn't really matter whether the producer is discovered or not -- if it would be discovered, it would still be disabled.
I also realized that by allowing @Priority on stereotypes in CDI 4.0, we actually already allowed putting priority directly on producers, so I'm thinking any changes we do here must directly follow from existing specification. It's probably also a good idea to experiment with how existing implementations work here.

Currently, a producer is enabled if the declaring bean is enabled. We probably want to keep that? That is, if there's a producer that declares a @Priority, but the declaring bean is disabled, this producer will still be disabled.

Makes sense. But frankly, this combination where both the declaring bean and the producer are @Alternative seems weird to me.

Currently, an @Alternative producer "inherits" @Priority from the bean class that declares the producer. We probably want that to keep working, but if the producer declares its own @Priority, we want that to win.

:+1:


region code is hidden

Hello,
I try the module, very nice.
In the shipping step the region code is display:none. Why?
Thank's
cesare

Hi,
have you enabled "allow to choose state" option?

I think @zenomordiante is right... We don't change anything related to states in this module. Probably you get the same issue with regular checkout ;-)

it works, thank you very much

Cool, then I can close this issue.


Quickdoc ignores arglists metadata

Checked on latest hash, minimal example:
(defn foo "docstring" {:arglists '([{:keys [x y z]}])} [opts] (println opts))

Glad to keep finding uses for this tool :)

Should work now


Ability to output time signals

Hello! Does your library have the ability to output and/or receive SMPTETime? This is used in video and audio for syncing clocks. Similar to https://www.movie-slate.com/Timecode_Sync
Thanks!!

Not currently. We're open source if you want to add it.


Resume from model Error

When I try to resume training at 17 epochs use:
bash tools/dist_train.sh config_file

But It loads the 7 epoch.
Errors are the followings:
2022-08-07 01:03:00,220 - mmdet - INFO - load checkpoint from ./work_dirs/res50_cam_radar/epoch_17.pth
INFO:mmdet:load checkpoint from ./work_dirs/res50_cam_radar/epoch_17.pth
2022-08-07 01:03:00,220 - mmdet - INFO - Use load_from_local loader
INFO:mmdet:Use load_from_local loader
2022-08-07 01:03:00,656 - mmdet - INFO - resumed epoch 7, iter 49231
INFO:mmdet:resumed epoch 7, iter 49231
2022-08-07 01:03:00,658 - mmdet - INFO - Start running, host: root@container-49581189ae-608a3c1f, work_dir: /root/autodl-tmp/SparseFusion3D/work_dirs/res50_cam_radar
INFO:mmdet:Start running, host: root@container-49581189ae-608a3c1f, work_dir: /root/autodl-tmp/SparseFusion3D/work_dirs/res50_cam_radar
2022-08-07 01:03:00,658 - mmdet - INFO - Hooks will be executed in the following order:

In train.py setting:
    parser = argparse.ArgumentParser(description='Train a detector')
    parser.add_argument('config', help='train config file path')
    parser.add_argument('--work-dir', help='the dir to save logs and models')
    parser.add_argument(
        '--resume-from', default='./work_dirs/res50_cam_radar/epoch_17.pth', help='the checkpoint file to resume from')
    parser.add_argument(
        '--no-validate',
        action='store_true',
        help='whether not to evaluate the checkpoint during training')
    group_gpus = parser.add_mutually_exclusive_group()

How should solve it to reload epoch_17?

Please provide the information generated by python mmdet/utils/collect_env.py.
In lastest version mmdet v2.25.1, auto-resume is suupported, see https://github.com/open-mmlab/mmdetection/blob/3b72b12fe9b14de906d1363982b9fba05e7d47c1/tools/train.py#L32.

@chhluo
TorchVision: 0.9.0
OpenCV: 4.5.5
MMCV: 1.3.8
MMCV Compiler: GCC 9.4
MMCV CUDA Compiler: 11.1
MMDetection: 2.14.0
MMSegmentation: 0.14.1
MMDetection3D: 0.17.0+34a4767

@nacayu That's strange. Please try to load other checkpoints.

@chhluo
Also the same problem as before when I tried to load epoch_18 and so on.
I do not know whether the same as  https://github.com/open-mmlab/mmcv/pull/1105

See https://github.com/open-mmlab/mmcv/pull/1108. https://github.com/open-mmlab/mmdetection/issues/5505
Please update mmcv to v1.3.18.


Semver error?

Dev setup:

react-native-create-bridge version: It says not a recognized command. I just installed it today only using npm.
react-native version: 0.48.4

I am using create-bridge in a:

[ ] standalone library
[x] existing React Native project

What you did:
create-bridge followed by providing all the inputs.
What happened:

create-bridge
? What is your bridge module called? react-native-google-cast-v3
? What type of bridge would you like to create? (Press  to select,  to toggle all,  to inverse selection)Native Module, Native UI Component
? What OS & languages would you like to support? (Press  to select,  to toggle all,  to inverse selection)Android/Java, iOS/Objective-C
? What directory should we deliver your JS files to? bridgecast
[readAndWriteFiles]  Error: Invalid argument not valid semver
at validate (C:\Users\ram\AppData\Roaming\npm\node_modules\react-native-create-bridge\node_modules\compare-versions\index.js:32:19)
at Array.forEach (native)
at compareVersions (C:\Users\ram\AppData\Roaming\npm\node_modules\react-native-create-bridge\node_modules\compare-versions\index.js:37:18)
at parseFile (C:\Users\ram\AppData\Roaming\npm\node_modules\react-native-create-bridge\build\file-operations.js:107:50)
at _callee3$ (C:\Users\ram\AppData\Roaming\npm\node_modules\react-native-create-bridge\build\file-operations.js:148:28)
at tryCatch (C:\Users\ram\AppData\Roaming\npm\node_modules\react-native-create-bridge\node_modules\regenerator-runtime\runtime.js:65:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\ram\AppData\Roaming\npm\node_modules\react-native-create-bridge\node_modules\regenerator-runtime\runtime.js:299:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\ram\AppData\Roaming\npm\node_modules\react-native-create-bridge\node_modules\regenerator-runtime\runtime.js:117:21)
at step (C:\Users\ram\AppData\Roaming\npm\node_modules\react-native-create-bridge\node_modules\babel-runtime\helpers\asyncToGenerator.js:17:30)
at C:\Users\ram\AppData\Roaming\npm\node_modules\react-native-create-bridge\node_modules\babel-runtime\helpers\asyncToGenerator.js:28:13
√ Your bridge module was successfully created! 🎉

I am new to react-native & nodejs so pardon if I am missing something silly. It says module creation was successful, than why the error messages.?

Checked, error happens only when we select Andorid/Java. Not happens when only iOS is selected.
Further can reproduce on windows mac both.

@ramubhai could you possibly create a reproduction repo? I tried to reproduce on RN 48.4 and 49.0 but am not seeing the error.

I created a fresh project using react-native init and it worked fine. So there must be some issues with my specific projects. I will updated once I find out what worked.

Ok. I tracked down the error to versioning style in root level project.json of react-native project.
Following works correctly.
"dependencies": {
"react": "16.0.0-beta.5",
"react-native": "0.49.3"
},
but following fails with an error regarding semver.
"dependencies": {
"react": "16.0.0-beta.5",
"react-native": "^0.49.3"
},
Adding any new dependency using "react-native link" seems to be prefixing the "^" symbol before version. In my case, even the react-native dependency itself had "v0.48.4".
I have put a reproduction repo at following address. Hope you can workout a fix.
https://github.com/ramubhai/DEBUG_BRIDGE
Thanks for all the hard work and patience. :)

@ramubhai thanks for investigating this. I’ve opened a PR to resolve this issue.

Thank you for sorting this out!!! Much appreciated. :)

Today I encountered the same error. Any reasons the open PR is not merged?

@DanielBoening I will work on having it in, in the next couple days.

Awsome! Thank you


@celo/abis and @celo/contracts should not be available to publish by default

Description
This PR sets removes version and marks as private @celo/abis and @celo/contracts packages to avoid releasing valid version by mistake.
Other changes
None.
Tested
Ran RELEASE_VERSION=10.0.0-local yarn prepare_contracts_and_abis_publishing to see if it still replaces versions in package.json and it does (as well as marks the packages as public).
Ran yarn prepare_contracts_and_abis_publishing to see if it doesn't replace versions in package.json and it doesn't. It also keeps the packages private.
Ran the workflow manually and noticed that package has been released with provided tag. For automated runs after commits it didn't release anything as expected.
Backwards compatibility
It's backwards compatible.
Documentation
None.

i feel like i remember having an issue setting private: false, before where it would complain that it should just be removed. maybe that was just a lint and not an real isssue.


learn about first Order model

Hi ,
i want to know about how its work and have any application to make this image motion model
please help me about this ..

You can refer to the paper https://papers.nips.cc/paper/8935-first-order-motion-model-for-image-animation


Added favicon

Closes #84

@ClientCrash Thank you for your contribution. Looking forward to more such amazing contributions 🥂


[To rel/0.10]check datatype with encoding

check datatype with encoding

pls fix sonar code smells.


Add E2E test

Changed

Updated e2e tests with additional cached dependencies rule.

Codecov Report

Merging #166 (9d32f5c) into master (d1c2500) will increase coverage by 3.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #166      +/-   ##
==========================================
+ Coverage   95.80%   98.93%   +3.12%
==========================================
  Files         103       22      -81
  Lines        1597      468    -1129
  Branches      225       75     -150
==========================================
- Hits         1530      463    -1067
+ Misses         64        5      -59
+ Partials        3        0       -3

Flag
Coverage Δ

cuaktask
99.17% <ø> (ø)

iocuak
?

porygon
?

porygon-typeorm
98.67% <ø> (ø)

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

Impacted Files
Coverage Δ

...ckages/iocuak/src/binding/decorators/injectable.ts

...reflectMetadata/utils/domain/getReflectMetadata.ts

.../domain/ContainerSingletonServiceImplementation.ts

...k/src/reflectMetadata/models/domain/MetadataKey.ts

packages/iocuak/src/common/utils/isFunction.ts

...es/ContainerModuleTaskBuilderWithNoDependencies.ts

...ages/iocuak/src/classMetadata/decorators/inject.ts

...ak/src/metadata/modules/api/MetadataProviderApi.ts

...s/porygon/src/crud/models/domain/CrudModuleType.ts

...crud/modules/iocuak/DomainUpdateContainerModule.ts

... and 71 more

Continue to review full report at Codecov.

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


Tab Changes Focus regardless of mode

I don't know how this happened. The only thing I've done today is install a docker extension. When I hit tab it behaves as though it's in "Tab Moves Focus" mode is enabled regardless of what the current setting is. I've tried toggling that mode and off again, I've tried restarting the editor, restarting my computer, disabling all extensions, removing the keybinding and nothing has worked.
Version: 1.64.2
Commit: f80445acd5a3dadef24aa209168452a3d97cc326
Date: 2022-02-09T22:02:29.527Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.16.8-arch1-1

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/


How to ensure a service (start_rapid/stop_rapid) is done processing

For a project, I am trying to automate several motions using the abb_robot_driver with our IRB1200. To start the EGM session I automated the example ex2_rws_and_egm_6axis_robot, in particular, the following service calls:
rosservice call /rws/stop_rapid "{}"
rosservice call /rws/pp_to_main "{}"
rosservice call /rws/start_rapid "{}"
rosservice call /rws/sm_addin/start_egm_joint "{}"

From the terminal, the abovementioned commands work fine. However, when called in quick succession via a python script, it seems the stop_rapid and start_rapid service calls are not fully executed yet on the controller side when I try to execute the next service call. This then results in an error as the follow-up service calls expect RAPID to be started/stopped.
To illustrate this, here is an example of when a program is still running:

Prerequisite: A RAPID program is still active
Call stop_rapid service, it returns successfully (status code 1 and empty message)
Call pp_to_main service, it fails with status code 3004 and message RAPID has not been stopped

[DEBUG] [1648129932.051213]: connecting to IRB1200-Linux-PC 44455
[DEBUG] [1648129932.057497]: Service [stop_rapid] result status code: 1, message:
[DEBUG] [1648129932.058719]: connecting to IRB1200-Linux-PC 44455
[DEBUG] [1648129932.059738]: Service [pp_to_main] result status code: 3004, message: "RAPID has not been stopped"
samxl_abb_utilities.core.ABBServiceFailed: Service [pp_to_main] failed with status code: 3004, message: "RAPID has not been stopped"

The stop_rapid service was completed successfully, but the pp_to_main call then still fails as the previous call has not yet finished processing (I assume). Sometimes the call does succeed, but for me most of the time it does not.
Should I expect all service requests to be handled asynchronously? If so, is there a way to check when it is done processing?

It's been a while since I've worked with this specific service, but as a general comment: all RWS services manipulate either the StateMachine program, or another part of the runtime system state of the IRC5 controller.
Some services can take longer than others to affect something. So to close the loop (in this case), you'd subscribe to the system_states topic (carrying abb_robot_msgs/msg/SystemState messages), and inspect that state using the fields in that message. Other topics carry the state of other parts of the system (such as whether EGM is active or not, what it's state it (converging or not), or in which state the StateMachine currently is).
I can't point you to a message/field for "pp-to-main" specifically right now, but in general I don't believe you can only rely on service results to coordinate / time your sequence.
(this is true of ROS services in general btw: all services which do not experience a failure to send over the request and invoke the callback in the server will return true, regardless of whether the action initiated by that invocation was successful. Communicating success or failure of that would/should be done using fields in the service response, such as the result_code field we have in abb_robot_msgs/srv/TriggerWithResultCode)
So for motors_on fi, you'd:

look at systems_states.motors_on, and if it's false, then
call the set_motors_on service, then
check the service response to see it was successful (ie: check the ROS svc client returns true), and
check the result_code (it should be RC_SUCCESS (1)). Finally
keep an eye on systems_states.motors_on and wait till it becomes true

at this point you'd know the service was successful, and the system state was updated as requested.


Support SMTP

It would be great if plain old SMTP was supported.
For development, and for apps which only sends a few mails, I often use Gmail's SMTP or other SMTP servers.

HI @tonsV2 we will get the sorted.

Hi @tonsV2
A very basic implementation of SMTP has been released: 550fe61
Note, it doesn't support TLS yet.
Hope this helps!


Support Angular 13

Angular 13 enables Ivy and removes the View Engine. Please update dependencies and configs to support Angular 13.
The following warning shows during a compile:
⠙ Generating browser application bundles (phase: setup)...Processing legacy "View Engine" libraries:

ngx-virtual-scroller [es2015/esm2015] (git+https://github.com/rintoj/ngx-virtual-scroller.git)
Encourage the library authors to publish an Ivy distribution.

NOTE: Someone has already opened a PR, which appears to be just running through the ng update's from where the code was at:
https://github.com/rintoj/ngx-virtual-scroller/pull/514

It looks a lot like this package has been abandoned. The last tag was Feb 2020 and there are no accepted pull request since Nov 2020.
@rintoj @speige @kykint are listed as maintainers but they all haven't interacted with this repository since 2020. I guess we'll have to look for an alternative, which is really sad, because this package is just the best for the job, as far as i know.

@iharbeck published an angular 13 version on npm:
https://www.npmjs.com/package/@iharbeck/ngx-virtual-scroller
https://github.com/iharbeck/ngx-virtual-scroller

Maybe now Angular 14

Currently working on Angular 14 version, waiting for fxLayout to be released for Angular 14 to complete final testing.

@iharbeck Awesome! Keep us posted!

@lincolnthree @pjc2007
Just pushed a new release, please give it a try.
<EMAIL_ADDRESS>https://www.npmjs.com/package/@iharbeck/ngx-virtual-scroller
https://github.com/iharbeck/ngx-virtual-scroller

Thankyou @iharbeck . I have updated this and Angular to 14. So far so good.

Actually, I just realised I did not point to the correct npm<EMAIL_ADDRESS>I've now done that, deleted my node_modules, reinstalled, but am getting this error (in both IDE and when I compile)

Any ideas why this would be?

just change the import to @iharbeck as well. The IDE should fix it if you remove the import and use the code completion.

Thankyou again @iharbeck . The above worked and now have it incorporated, and all looks good my initial tests in my use case (our QA now be testing the app)

@lincolnthree @pjc2007 Just pushed a new release, please give it a try.
<EMAIL_ADDRESS>https://www.npmjs.com/package/@iharbeck/ngx-virtual-scroller https://github.com/iharbeck/ngx-virtual-scroller

I'm having this error with that version :(
Error: ../condition/node_modules/ngx-virtual-scroller/virtual-scroller.d.ts:1:23 - error TS2688: Cannot find type definition file for 'tween.js'.
1 ///

@joseluiz98
try to add following dependencies to your project:
<EMAIL_ADDRESS><EMAIL_ADDRESS>

@iharbeck will your improvements be merged into this repo?

@ewalddieser  the rintoj repository is not maintained anymore. You can use my fork instead.

@iharbeck That's really cool. Is there a way for you to take over the main repo? So that people don't get confused and also could just install using npm install ngx-virtual-scroller
I'm currently evaluating this lib and so far it looks really promising. The requirement is to render really long documents (laws) where the chapters are loaded lazily. It works already nicely when normally scrolling up and down.
The difficulty is that user should also be able to quickly scroll hundreds of chapters up/down by dragging the scroll bar. I tried to solve that by creating placeholder chapter objects with estimated heights and then load the real chapters when they are scrolled into view. This works, but not good enough. The document then jumps back and forth awkwardly.

I am really stuck in Angular 12 and it seems that @iharbeck's package supports only versions 13 and 14.
Do you guys have any idea what I could do?
Perhaps I'm asking stupid questions but my brain is fried from looking around for virtual scroll libraries for the whole day

@marian-simonca
Just use the @iharbeck/ngx-virtual-scroller package instead of ngx-virtual-scroller package, as the thread says. It’s the same but supporting angular 13/14. I’m keeping this issue open here so people are aware of the other package.

@iharbeck thank you for your fork: https://github.com/iharbeck/ngx-virtual-scroller 🤝
I think we'll be able to get this repository updated sometime in the near future too 🤞 cheers!

@iharbeck I'm not sure what's happening on this repo but do you think you'll do Angular 15 in your fork?

@gloriousjob Just released version 15, please give a try.

Thanks, @iharbeck! Works well!

There is another library (not a fork) that I think deserves a look:
https://github.com/lVlyke/lithium-ngx-virtual-scroll
It's actually quite simple, supports responsive changes to the viewport size very well, and is quite configurable. Just make sure you specify both [itemHeight] and [itemWidth], or it wont render more than one item.
I think with a little love, and maybe a few features brought over from this lib, this one has a LOT of potential. We are going to try it in our app and see how it goes.

Dear @iharbeck,  I tried your fork, and I have the following problem. Can you pls suggest a workaround?
Error: node_modules/@iharbeck/ngx-virtual-scroller/virtual-scroller.d.ts:148:29 - error TS2315: Type 'Tween' is not generic.
protected currentTween: tween.Tween<any>;

I'm on Angular 13.3.11. The folder of @types/tween.js does not contain d.ts file.  It says, typings are now included inside<EMAIL_ADDRESS>  I played around, added them manually to my project, still wasn't able to fix it.

@ichepurnoy  please add
"skipLibCheck": true,
in tsconfig.json


Add @cspotcode/source-map-support/register-hook-require

Adds --require entrypoint which sets hookRequire: true
Implements evanw/node-source-map-support/pull/239
evanw/node-source-map-support/pull/257

Disregard; fat-fingered against the wrong repo.


Could you add a custom search tag?

Similar to how Weblinkpreview allows you to search for any property tag.
webLinkMetadata["image"] // String for <meta property="og:image" ...>
The above method allows for searching for any tag, which would be useful to search for things that we need.

Thanks for spotting this. I don't have the capacity to work on this right now. Feel free to contribute and open a PR.


feat: remove job posts from Postman as we already hired

I'm removing all the Postman open positions as we already hired for them.
I'm now wondering if we should keep them as "Closed" or "Hired" to show others this is actually working. What do you think?

Oh didn't notice the trick with the date. I think it would still be cool not to hide it but to show it dimmed or in a section below.

@fmvilas could be a simple checkbox, like show completed?

Or just a section below that you can expand. Something like "See previous job posts" and they'll be faded out or contain an icon/text saying it's closed.

@fmvilas you wanna work on this or create a good first issue with recommendations, and here just get postings back but with changed dates?

I'll create an issue and will close this PR.

Done: https://github.com/asyncapi/website/issues/371. Also fixed the code because it wasn't behaving as expected. As an example, https://www.asyncapi.com/jobs is showing the Dev Advocate opening when it should be hidden.


Test on my device

Hi @SeungjunNah !
I'm so appreciated you provide us with your work to learn more.I want to test the work on my device .As I know , the current result shows that everything loads from the downloaded files,including the loss ,psnr and ssim.What I want to do is that after loading the model weight that you provide, then test on my device and result new loss, psnr and ssim.I want to know is it can be done? If so ,could you help me?

Hi @keys-zlc
You can start training with a new --save_dir argument and load weight by specifying the location with --pretrained argument.
https://github.com/SeungjunNah/DeepDeblur-PyTorch/blob/master/src/option.py#L52
For example,
python main.py --save_dir NEW_DIRNAME --pretrained MODEL_PATH.pt

Thanks for your reply. Sorry, maybe I haven't expressed my question clearly. What I want to do is not to start training, but to test. In fact, I want to load the weight you provided which names model-1000.pt and then test on the GOPRO to get the PSNR and SSIM. I divide my question into pieces:

I have downloaded the weight you provided. If I run the command
"python main.py --save_dir GOPRO_L1 --dataset GOPRO_Large --do_train false --do_test true --test_every 1 --load_epoch 1000 --start_epoch 1000"
I find it seems just load the existed PSNR and SSIM, and doesn't run again on the GOPRO test. I'm not sure whether it is true.
If it doesn't run again on the GOPRO test exactly, I want to just run it again using your weight model-1000.pt without training again.
I don't known if I express it clearly. Looking forward to your reply!

I tried the following command and it produces the test images and measures new PSNR and SSIM.
python main.py --save_dir GOPRO_L1 --dataset GOPRO_Large --do_train false --do_test true --load_epoch 1000 --start_epoch 1000 --end_epoch 1000 --save_results all

You will see the numbers changing in the progress bar. They are average PSNR, SSIM from 0 to the processed image.

Thanks, it works well!


Always downloading fastdotcom package in docker

Home Assistant release (hass --version):
0.27.2
Python release (python3 --version):
Current latest docker container version
Component/platform:
fast.com
Description of problem:
I'm running HASS in a docker-compose setup. Every time I start the containers up, during initialization of hass the fast.com component always downloads the fastdotcom package, despite the fact that it should be cached.
I'm mounting in a configuration folder to persist data across runs, and config/deps/ contains several directories of deps, including fastdotcom. The tag specific directory for fastdotcom is prefixed with python_ which none of the others are however.

Expected:
Dependency is cached and not downloaded on every run.
Problem-relevant configuration.yaml entries and steps to reproduce:
  - platform: fastdotcom
    minute:
      - 0
    hour:
      - 0
      - 6
      - 12
      - 18

Traceback (if applicable):
homeassistant_1        | 16-09-07 03:33:42 INFO (MainThread) [homeassistant.util.package] Attempting install of https://github.com/nkgilley/fast.com/archive/master.zip#fastdotcom==0.0.1

Additional info:
I've tried this with the current dev docker container too.
I have another package escea that works fine, however this is installed from the pip registry directly rather than via github http.

I can confirm this is related to the import method being via github. I forked the repo, and uploaded to pypi as fastdotcom_test, rebuild the docker container using REQUIREMENTS = ['fastdotcom_test'] in components/sensor/fastdotcom.py and it no longer has the caching issue.
Repo: https://github.com/snikch/fast.com

Can verify that it happens on a fresh install of 27.2 with the following configuration.
Sensor:
  platform: fastdotcom

I've reached out to the dep author with a PR to push the dependency up to pypi.org. Once that is resolved I will create a hass PR with the updated dep 👌


Hide default splash screen, show only App Framework one

V3 will load quicker initially, so, no additional splash screen for startup anymore :-)


How to connect to a secure opensearch node

(check apply)

[x] read the contribution guideline

Problem
Hello, I previously used the fluent-plugin-elasticsearch to connect to amazon open distro for elasticsearch. I decided to move to opensearch and this plugin but I can't seem to be able to connect to my opensearch node with fluentd. I keep getting the same connection refused error [Faraday::ConnectionFailed] Connection refused - connect(2) for <IP_ADDRESS>:9200 (Errno::ECONNREFUSED) {:host=>"localhost", :port=>9200, :scheme=>"https", :user=>"admin", :password=><REDACTED>, :protocol=>"https"}
I can connect to the dashboard without any issue.
I tried with my previous configuration and tried changing some things but to no avails. I use self signed certificate expiring in 2031.
Unfortunately, I couldn't find any detailed tutorial about this.
...
Steps to replicate
Here are my configuration files
opensearch.yml
plugins.security.ssl.transport.pemcert_filepath: admin.pem
plugins.security.ssl.transport.pemkey_filepath: admin-key.pem
plugins.security.ssl.transport.pemtrustedcas_filepath: root-ca.pem
plugins.security.ssl.transport.enforce_hostname_verification: false
plugins.security.ssl.http.enabled: true
plugins.security.ssl.http.pemcert_filepath: admin.pem
plugins.security.ssl.http.pemkey_filepath: admin-key.pem
plugins.security.ssl.http.pemtrustedcas_filepath: root-ca.pem
plugins.security.allow_default_init_securityindex: true
plugins.security.audit.type: internal_opensearch
plugins.security.enable_snapshot_restore_privilege: true
plugins.security.check_snapshot_restore_write_privileges: true
plugins.security.restapi.roles_enabled:
  ["all_access", "security_rest_api_access"]
cluster.routing.allocation.disk.threshold_enabled: false
opendistro_security.audit.config.disabled_rest_categories: NONE
opendistro_security.audit.config.disabled_transport_categories: NONE

fluent.conf
# fluentd/conf/fluent.conf

<source>
  @type forward
  port 24224
  bind <IP_ADDRESS>
</source>

<source>
  @type http
  port 9880
  bind <IP_ADDRESS>
  body_size_limit 32m
  keepalive_timeout 10s
</source>

<match *.**>
@type copy

<store>

<transport tls>
    cert_path /fluentd/etc/certs/root-ca.pem
    private_key_path /fluentd/etc/certs/root-ca-key.pem
</transport>

  @type opensearch
  host localhost
  port 9200
  user admin
  password admin
  scheme https
  ssl_verify false
  ssl_max_version TLSv1_2
  ssl_min_version TLSv1_2
  logstash_format true
  logstash_prefix fluentd
  logstash_dateformat %Y%m%d
  include_tag_key true
  type_name access_log
  tag_key @log_name
  flush_interval 10s
  with_transporter_log true
  @log_level debug
</store>

<store>
  @type stdout
</store>
</match>

docker-compose
version: "3.9"
services:
  opensearch:
    image: opensearchproject/opensearch
    container_name: opensearch
    ports:
      - 9200:9200
      - 9600:9600
    environment:
      - discovery.type=single-node
      - bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
      - "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
      - network.host=<IP_ADDRESS>

    ulimits:
      memlock:
        soft: -1
        hard: -1
      nofile:
        soft: 65536 # maximum number of open files for the OpenSearch user, set to at least 65536 on modern systems
        hard: 65536

    volumes:
      - opensearch-data:/usr/share/opensearch/data
      - ./opensearch/config/root-ca.pem:/usr/share/opensearch/config/root-ca.pem
      - ./opensearch/config/admin.pem:/usr/share/opensearch/config/admin.pem
      - ./opensearch/config/admin-key.pem:/usr/share/opensearch/config/admin-key.pem
      - ./opensearch/config/opensearch.yml:/usr/share/opensearch/config/opensearch.yml
  dashboard:
    image: opensearchproject/opensearch-dashboards
    container_name: dashboard
    ports:
      - 5601:5601
    expose:
      - "5601"
    environment:
      OPENSEARCH_HOSTS: https://opensearch:9200
    depends_on:
      - "opensearch"
  fluentd:
    image: lukadriel/fluentsearch
    container_name: fluentd
    ports:
      - 24224:24224
      - 24224:24224/udp
      - 9880:9880
    volumes:
      - ./fluentd/etc:/fluentd/etc
      - ./opensearch/config/root-ca.pem:/fluentd/etc/certs/root-ca.pem
      - ./opensearch/config/root-ca-key.pem:/fluentd/etc/certs/root-ca-key.pem
      - ./opensearch/config/admin.pem:/fluentd/etc/certs/admin.pem
      - ./opensearch/config/admin-key.pem:/fluentd/etc/certs/admin-key.pem
    depends_on:
      - "opensearch"

networks:
  default:
    external: true
    name: sih-network
volumes:
  opensearch-data:

Expected Behavior or What you need to ask
I am asking for some help configuring fluentd connection to opensearch
...
Using Fluentd and OpenSearch plugin versions

Windows 10
Docker
Fluentd v1.14
OpenSearch plugin version: 1.0.1
OpenSearch version: 1.2.4

check your IAM policy if it has the "es:Get/Post/etc'" allowed, might be it. because AWS opensearch is different from elasticsearch that was simply open to all reads and writes on 9200 :)

I guess you figured it out, I'm leaving it here because this thread might be found in google by lost and desperate people who also like me can't understand why access is available in security groups but connection keeps getting unreachable 😄

Oh, I had completely forgotten about this. It's been a while so I don't remember what change I did but I got it to work. Looking at the files now, I think my problem was the host parameter in fluent.conf. I changed it from localhost to opensearch and also removed the transport part. I haven't looked at it for some time now since I put my project on pause to look for a temporary situation 😄

Seems to be resolved. Closing .


Description
Want to add a chatbot in the website, which will look modern for any users.
Screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

Hey @Poushmita, ChatBOT is a very good feature, but I don’t think it is needed on our website right now. Once the website is fully functional and in working condition, I will let you know. Currently, we are working on the payment gateway, so I will inform you if there is a need in the future. Please raise any other issue, which I am happy to assign to you, but make sure the issue you raise is valid and really needs to be addressed on our website; otherwise, invalid issues will be closed. Thank you!


train with other data set

i want to train this network with own dataset but i can't
bounding box error is appear
how to solve it
InvalidArgumentError (see above for traceback): All bounding box coordinates must be in [0.0, 1.0]: 2.9401994
[[Node: ssd_preprocessing_train/distorted_bounding_box_crop/SampleDistortedBoundingBox = SampleDistortedBoundingBox[T=DT_INT32, area_range=[0.1, 1], aspect_ratio_range=[0.5, 2], max_attempts=200, min_object_covered=0.1, seed=0, seed2=0, use_image_if_no_bounding_boxes=true, _device="/job:localhost/replica:0/task:0/cpu:0"](ssd_preprocessing_train/distorted_bounding_box_crop/Shape_1, ssd_preprocessing_train/distorted_bounding_box_crop/ExpandDims)]]
[[Node: clone_0/fifo_queue_Dequeue/_325 = _HostRecvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/gpu:0", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_481_clone_0/fifo_queue_Dequeue", tensor_type=DT_INT32, _device="/job:localhost/replica:0/task:0/gpu:0"]]

Duplicate of #43

Hi
Do you solve the problem above. I meet this problem too.

hi
i meet this problem too,how to solve the problem

yes. i solved it
my problem related to ground truth coordinate
some of coordinate is out of range and i get this error
check your dataset for this problem

@mn7142 how did you prepare ground truth co-ordinates for your dataset

@shengye205 @fjnuwm This issue comes when any bounding box coordinate is greater than the actual size of the image. Sounds very stupid but this is due to some bug in the annotation tools. For example, if you have an image of size 1280x720 and some bounding box coordinate is marked, say (1281, 720). Modifying such annotations will resolve this issue.


Fix failing WinrtServer project loading

Remove ARM, ARM64 & x86 platforms from solution file, since the contained projects doesn't support these platforms.
Fixes the following error when loading the solution in Visual Studio 2019:
com_samples\WinrtServer\WinrtServer.vcxproj : error  : Cannot load project: project does not contain requested configuration Debug|ARM. Please verify that .sln file is valid and uses only existing project configurations.

Thank you @forderud!


3delight support within OP, using most of its existing infrastructure.

This is #4045 with resolved conflicts. We're merging it even though there are some minor issues that can be patched later on.

Brief description
Adding 3delight render support to OpenPype
Description
Adding support to render via Maya on 3delight using the Deadline service. This PR adds the necessary structures and changes within OP to invoke rendering.
Given that Deadline hasn't updated support for 3delight since 3delight switched to NSI, we had to add support for "render layers", via 3delight's dlRenderSettings via a pre-render MEL command, and also startFrame and endFrame too. This uses maya's render layers just for their names to map into the dlRenderSetting to use.
Additional info
Given that 3delight uses dlRenderSettings instead of Maya's Render Layers to manage all rendering information, this poses an issue whenever a change in OP's way of handling renders changes. I have tried to get OP to ignore settings and valiations for 3delight when it's active, and hopefully no more changes will be needed.
Resolves #2883

What's needed to get this merged from here? :)
This might need a new merge with latest develop and maybe some folks to test the functionality? Maybe if prepared @dmo-j-cube and @m-u-r-p-h-y could push it through a new test run?

Did try to publish render to Deadline and get this error during publishing:

Seems like it'll need to be updated to support the changes made here: https://github.com/ynput/OpenPype/pull/4497

The scene contains 1 renderlayer after creating renderMain instance using OP (the name is as 3delight modify it?)

Could you elaborate. What's the issue?

Did try to publish render to Deadline and get this error during publishing:

Seems like it'll need to be updated to support the changes made here: #4497

The scene contains 1 renderlayer after creating renderMain instance using OP (the name is as 3delight modify it?)

Could you elaborate. What's the issue?

Well its just a bit weird renderLayer name by defaults dlRenderSettings1_RL but maybe its not an issue.

Well its just a bit weird renderLayer name by defaults dlRenderSettings1_RL but maybe its not an issue.

Ah yes, that doesn't sound like a very nice default renderlayer name.

It doesn't take frame range from render settings od 3delight, it takes it from the timeline settings.

Another 3delight integration issue is whenever user needs to create RenderMain instance again for some reason and there is already existing renderLayer called dlRenderSettings1_RL it creates a new one with RenderMain called dlRenderSettings1_RL1 which is not a valid name when trying to Publish render.

OP expects name in different format RenderLayerName_RL instead. This logic should be changed or fixed the behavior of creating the render instance in preceding step.

Another 3delight integration issue is whenever user needs to create RenderMain instance again for some reason and there is already existing renderLayer called dlRenderSettings1_RL it creates a new one with RenderMain called dlRenderSettings1_RL1 which is not a valid name when trying to Publish render. Seems more like a Duplicate of the layer not creating fresh new one (judging by the suffix).

OP expects name in different format *putAnything*_RL instead. This logic should be changed or fixed the behavior of creating the render instance in preceding step.

The frame range has been fixed.
I find out that too and I am still exploring to force the naming to "_RL" . But it seems that not quite possible at the current stage as there is a parent class to set up the "_rendering" set under the rendering main. Will need time to investigate that.

I've resolved the conflicts. I would merge it as it is if it is working and not breaking anything else and lets enhance it later when it gets some traction.

So I've added some additional small fixes, but there are issues with this. Apart from the specific step to get dlSettings node - like that render layer name has to end with _RL suffix and the stuff mentioned above by @BigRoy there seems to be issue with the support of 3delight within Deadline. MayaBatch plugin is calling non-existent functions from 3delight - at least that happened for me on DL 10.2 and 3delight 2.9.27.
I am still inclined to merge it after all just because it isn't touching much of the other code, even though there is a lot to improve in a future.

This poor PR has conflicts again. I reckon let's fix those and merge it. It is really additive and shouldn't affect other areas in a big way.

@antirotor what is the state of this PR?
Not needed anymore?

Because we're splitting OpenPype into ayon-core and individual host addons, this PR would have to be ported to target one of those.
We're closing it down, but we'll he happy for a new PR to ynput/ayon-core or the host addon repository once it's up.


Run on real windows PC machine

Should it works on "real" windows machine?

If you see it on the actions tab. digs built and tested on several machines[1].
We also managed to run it on a "real" Windows machine.
Kudos to @HuseinA who own the machine.
windows-gnu:

windows-msvc:

[1]:

My ISP blocks 53 port for queries meant for third-party DNS resolvers, so one has to use alternative ports (e.g. <IP_ADDRESS>:1253, <IP_ADDRESS>:5353), but digs.exe doesn't seem to have this functionality at the moment. Consider adding optional port param in digs.toml, or even using address with port as is (address:port).

My ISP blocks 53 port for queries meant for third-party DNS resolvers, so one has to use alternative ports (e.g. <IP_ADDRESS>:1253, <IP_ADDRESS>:5353), but digs.exe doesn't seem to have this functionality at the moment. Consider adding optional port param in digs.toml, or even using address with port as is (address:port).

Would you like to open a new issue for this?


Active Pull Request Row Icon to Policy Status

My team likes to scan the active pull request view for PR that need attention. Instead of the icon showing an individuals status on the PR, can it be set to the PR policy status?

Hi @mack0196 - we are working on it to sync the PR Status to be linked to the whole Policy Statuses. We did not make it yet because we are ensuring the APIs we are calling and validations are consistent.
Thanks a lot

I've got a branch policy with "Status Check" policy on it and the "policies icon" is not accurate.

The status now should be in sync with the policies. Would you mind to check from your side?
Thanks

I checked and it is still not working

Extension details
A complete and friendly Pull Request Hub to manage all your repositories' PRs with must have filters at one simplified view.
Publisher
Carlos Alessandro Ribeiro
Installed version
1.20200705.2 (Latest)
Last updated
Jul 5, 2020 at 8:11 PM CDT


Added rules to compile a shared library

Compile a shared library aside from the nn-* utilities.

Sounds really great.
I'm thinking about add -ldnn in rule $(EXECUTABLES): bin/% : ...
For example, change line 68-69 in your Makefile
$(EXECUTABLES): bin/% : $(OBJ) $(OBJDIR)/%.o
       $(CXX) -o $@ $(LFLAGS_BIN) $^ $(LIBRARY_PATH) $(UTIL_LIBS) $(CUDA_LIBS)

to something like
$(EXECUTABLES): bin/% : $(OBJDIR)/%.o | $(LIBRARY)
       $(CXX) -o $@ $(LFLAGS_BIN) $< $(LIBRARY_PATH) -L bin/ -ldnn $(UTIL_LIBS) $(CUDA_LIBS)

will save disk usage of bin/ ( from 26960 to 7444 using du -s bin/)

Just before I click the "merge pull request", it occurred to me that g++-4.6 does not support -std=c++11 flag. It still use -std=c++0x flag.

Fixed, should be fine now. Please merge, I need the functionality for my upcoming addition, solver class for solving in-memory datasets.


Release pipeline: Use public hosted agent pool for dry runs

The release pipeline currently is configured to use the NetCore1ESPool-Svc-Internal agent pool which is the pool meant for internal releases. This pool is slower to provision agents than the public hosted pool like ubuntu-latest. This slows down the process of running test builds with the dry run option. We don't need to use the NetCore1ESPool-Svc-Internal pool for dry runs because we're not actually releasing anything.

I was already thinking about this and wasn't sure we can afford this. We handle the same data, have the same tokens available and so on. So an insecure agent could leak all of this as easy.
I'd be happy to use hosted agents for PRs where we won't have any of this.

@MichaelSimons @mthalman I'd vote to close this as I believe we cannot afford to do this.
On another note, the 1es-ubuntu-2004 we're using for most of the stages got a bit faster because they have changed the ephemerality of the disks recently but also it meant it broke the package mirroring (which we fixed afaik by switching over to a different queue)


Missing LF in Redis HAProxy Config

Describe the bug
haproxy crashes due to config issue.
To Reproduce

set ha proxy to enabled with version 2.5.4
the haproxy pod crash loops

Expected behavior
haproxy pod runs and do not crash
Logs
[NOTICE]   (1) : haproxy version is 2.5.4-e55ab42
[NOTICE]   (1) : path to executable is /usr/local/sbin/haproxy
[ALERT]    (1) : config : parsing [/usr/local/etc/haproxy/haproxy.cfg:77]: Missing LF on last line, file might have been truncated at position 72.
[ALERT]    (1) : config : Error(s) found in configuration file : /usr/local/etc/haproxy/haproxy.cfg
[ALERT]    (1) : config : Fatal errors found in configuration.

Additional context
Add any other context about the problem here.

This was fixed as part of https://github.com/argoproj-labs/argocd-operator/pull/517


TOC Candidate Nomination for Andy Hunt

Candidate Name: Andy Hunt
Affiliation: Government Digital Service (GOV.UK)
Nomination Statement: I’d like to nominate Andy Hunt, technical lead of the GOV.UK PaaS team. Andy is an active participant in the community particularly within the government space. His core focus is around maintaining the excellence of the end user experience, he has made several enhancements in this area and continues to engage in making things better for all of our end users. He is keen to see the community grow and move from strength to strength and has a desire to ensure that there is the right environment for this to happen.

I second this nomination. The U.S. cloud.gov team meets periodically with the GOV.UK PaaS team and I've been impressed with Andy's commitment to providing users with tooling and documentation.  Further, he's been a consistent contributor to upstream projects like UAA and the CF CLI.
The CF community as a whole benefits with public sector representation, and Andy would continue in that vein.

@LeePorte @pburkholder thanks for the nomination and the support!
@AP-Hunt, could you please reply or react with a 👍 to indicate that you accept the nomination?

Cheers for the ack @AP-Hunt

Since Andy's not currently an Approver or above in the governance role structure, @cloudfoundry/toc needs to approve the nomination as per section 7.e).i).(2) of the CFF Charter. TOC, please indicate your approval or objection via 👍 / 👎 reaction on this comment or reply on the discussion. Since this is urgent to resolve, let's interpret no reaction by noon PDT / 8 pm BST / 9 pm CEST as approval.


优化app-tomcat memory_pool 该用MB作为单位

What's changed?
change app-tomcat memory_pool use MB as unit.

change app-tomcat memory_pool use MB as unit.
Checklist

[x]  I hereby agree to the terms of the HertzBeat CLA
[x]  I have read the Contributing Guide
[x]  I have written the necessary doc or comment.
[x]  I have added the necessary unit tests and all cases have passed.

第一次提交，不太懂耶

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

This is my first submission, so I don’t quite understand it.

@all-contributors please add @rbsrcy  for code


Overwrote Munira's changes after confusing timelines

I should undo this and then apply fixes properly...

5e0e0c714dded79d8ef3618a443f97f6e943d283
30aaaf93d66dd3c39b51ba9951af5eac2f215684
88f63b201e8d281644c7ab8743d159cdb6a3c5f8
Are the offending commits.


Adding Elixir Plataform.

Hey guys.
I added Elixir plataform.

Added Dockerfile, Install and Deploy scripts
Added an example
Added to tests in tests/platforms.bash

Fell free to review!

Hi @CristianOliveiraDaRosa, thanks for contributing. I tested it locally and got the following deploy output:
% tsuru app-deploy . -a chico
Uploading files....... ok
/home/application/current /
Could not find Hex, which is needed to build dependency :cowboy
Shall I install Hex? [Yn] ** (Mix) Could not find an SCM for dependency :cowboy from App.Mixfile
/

---- Building application image ----
 ---> Sending image to repository (0.00MB)
please wait...
please wait...
 ---> Cleaning up

---- Starting 1 new unit [web: 1] ----
 ---> Started unit f31442172c [web]

---- Binding and checking 1 new unit ----
 ---> Bound and checked unit f31442172c [web]

---- Adding routes to new units ----
 ---> Added route to unit f31442172c [web]

OK

Along with that, the app is not running, here are the logs:
% suru app-log -a chico
2015-10-29 02:22:47 +0000 [tsuru][api]: ---- Adding routes to new units ----
2015-10-29 02:22:48 +0000 [tsuru][api]:  ---> Added route to unit f31442172c [web]
2015-10-29 02:22:51 +0000 [web][f31442172cdb]: ** (Mix) You're trying to run :app on Elixir v1.1.0 but it has declared in its mix.exs file it supports only Elixir ~> 1.1.1
2015-10-29 02:22:52 +0000 [web][f31442172cdb]: ** (Mix) You're trying to run :app on Elixir v1.1.0 but it has declared in its mix.exs file it supports only Elixir ~> 1.1.1
2015-10-29 02:22:53 +0000 [web][f31442172cdb]: ** (Mix) You're trying to run :app on Elixir v1.1.0 but it has declared in its mix.exs file it supports only Elixir ~> 1.1.1
2015-10-29 02:22:55 +0000 [web][f31442172cdb]: ** (Mix) You're trying to run :app on Elixir v1.1.0 but it has declared in its mix.exs file it supports only Elixir ~> 1.1.1
2015-10-29 02:22:59 +0000 [web][f31442172cdb]: ** (Mix) You're trying to run :app on Elixir v1.1.0 but it has declared in its mix.exs file it supports only Elixir ~> 1.1.1
2015-10-29 02:23:06 +0000 [web][f31442172cdb]: ** (Mix) You're trying to run :app on Elixir v1.1.0 but it has declared in its mix.exs file it supports only Elixir ~> 1.1.1
2015-10-29 02:23:19 +0000 [web][f31442172cdb]: ** (Mix) You're trying to run :app on Elixir v1.1.0 but it has declared in its mix.exs file it supports only Elixir ~> 1.1.1
2015-10-29 02:23:45 +0000 [web][f31442172cdb]: ** (Mix) You're trying to run :app on Elixir v1.1.0 but it has declared in its mix.exs file it supports only Elixir ~> 1.1.1

So, two questions:

is there a ppa for latest Elixir packages? (the answer is probably yes, there's always a ppa for that haha)
is there a flag or parameter in mix to make it non-interactive? (I hope so)

I will have a closer look tomorrow, after some sleep :)

Hey @fsouza

Actually, the default ubuntu PPA has already the lastest Elixir version (v1.1.0). My bad, I've declared the v1.1.1 as dependecy I will change.
There are no way to run it silently, cause isn't a lib dependecy... it asks you to install hex locally (Hex is the "pipy of Elixir"). We can install it before, like I did with rebar.

I will change it.

@CristianOliveiraDaRosa thanks for the fixes, I will test it again.

Thanks @fsouza.
With last change the script runs with no stops.

Hey @fsouza
I've created a test app on heroku with the last changes. see here: https://aqueous-ravine-9581.herokuapp.com
I think now is everything ok :)

Cool, it worked!
Thanks for contributing.


Not compatible with Python 3.11

I'm trying to install Objection into another project, and getting the following output:
>>> python -m pip install git+https://github.com/LuisMayo/objection_engine.git
Collecting git+https://github.com/LuisMayo/objection_engine.git
  Cloning https://github.com/LuisMayo/objection_engine.git to /private/var/folders/ms/x80nt_4n31j5pmb4qtr7m9c40000gn/T/pip-req-build-fnsjnbrp
  Running command git clone --filter=blob:none -q https://github.com/LuisMayo/objection_engine.git /private/var/folders/ms/x80nt_4n31j5pmb4qtr7m9c40000gn/T/pip-req-build-fnsjnbrp
  Resolved https://github.com/LuisMayo/objection_engine.git to commit d062290141f39d1a6a2f4c78e963372315586e75
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting rich<13.0.0,>=12.6.0
  Using cached rich-12.6.0-py3-none-any.whl (237 kB)
Collecting fonttools<5.0.0,>=4.33.3
  Using cached fonttools-4.39.4-py3-none-any.whl (1.0 MB)
Collecting pydub<0.26.0,>=0.25.1
  Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Requirement already satisfied: requests<3.0.0,>=2.28.1 in ./venv/lib/python3.11/site-packages (from objection-engine==3.3.0) (2.31.0)
Collecting google-cloud-translate<3.0.0,>=2.0.1
  Using cached google_cloud_translate-2.0.4-py2.py3-none-any.whl (92 kB)
Collecting sentencepiece<0.2.0,>=0.1.97
  Using cached sentencepiece-0.1.99-cp311-cp311-macosx_10_9_x86_64.whl (1.2 MB)
Collecting moviepy<2.0.0,>=1.0.3
  Using cached moviepy-1.0.3-py3-none-any.whl
Collecting spacy<4.0.0,>=3.1.4
  Using cached spacy-3.5.3-cp311-cp311-macosx_10_9_x86_64.whl (6.8 MB)
Requirement already satisfied: transformers<5.0.0,>=4.25.1 in ./venv/lib/python3.11/site-packages (from objection-engine==3.3.0) (4.30.1)
Collecting Pillow<10.0.0,>=9.1.0
  Using cached Pillow-9.5.0-cp311-cp311-macosx_10_10_x86_64.whl (3.4 MB)
Collecting ffmpeg-python<0.3.0,>=0.2.0
  Using cached ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)
Requirement already satisfied: numpy<2.0.0,>=1.19.3 in ./venv/lib/python3.11/site-packages (from objection-engine==3.3.0) (1.24.3)
Collecting pycld2<0.42,>=0.41
  Using cached pycld2-0.41-cp311-cp311-macosx_10_9_universal2.whl
Collecting textblob<0.18.0,>=0.17.1
  Using cached textblob-0.17.1-py2.py3-none-any.whl (636 kB)
Collecting pyicu<3.0.0,>=2.10.2
  Using cached PyICU-2.11-cp311-cp311-macosx_10_9_universal2.whl
ERROR: Could not find a version that satisfies the requirement torch<2.0.0,>=1.13.1 (from objection-engine) (from versions: 2.0.0, 2.0.1)
ERROR: No matching distribution found for torch<2.0.0,>=1.13.1

As far as I can tell, Objection itself only requires torch to be greater than version 1.13.1. I have no idea where the torch<2.0.0 requirement is coming from; I even went through all of the dependencies in the pyproject.toml file and searched their dependencies to see if I could find it, but had no luck. Maybe this is just something I'm spacing on?

Someone was able to point out the problem to me: the torch requirement in pyproject.toml means that it can't go past a major version number (aka 2.0.0). I was trying to install Objection on Python 3.11, which seemed to cause some problems overall - in the coming days I might look into making it compatible with more recent versions of Python.

its also not compatible with 3.9 despite the readme saying 3.8 and above have worked
INFO: pip is looking at multiple versions of objection-engine to determine which version is compatible with other requirements. This could take a while. ERROR: Package 'objection-engine' requires a different Python: 3.9.6 not in '<3.11,>=3.10'


Document monitoring setup using Elastic’s RUM Agent

Description
As a user of CoMPAS-OpenSCD I want to count on documentation to use as reference for setting up Elastic Real User Monitoring (RUM) in my cloud environment
Acceptance criteria:
High-level proces  (including the replacement proces and files involved)
Library used
Reference to the Elestic documentation
Where to put it: CoMPAS deployment readme.md

https://github.com/com-pas/contributing/blob/main/docs/MONITORING.md


Add various [Polymart] badges

Added:

Polymart Downloads badge
Polymart Latest Version badge
Polymart Rating badge
Polymart Star Rating badge

Closes #7429

@chris48s Hey, I made a new pull request, everything else you said in the previous pull request is now fixed. Also, the specific service to run on Windows is currently working.
One more thing, could you please help me with this Danger thing? I don't understand what's wrong.

Thanks! I'm aiming to have another look at this tomorrow.
You can ignore the issue with danger. I need to fix it, but it is unrelated to the changes in this PR.

Thanks! I'm aiming to have another look at this tomorrow. You can ignore the issue with danger. I need to fix it, but it is unrelated to the changes in this PR.

Alright! Thanks for letting me know!

We don't need to copy and paste all the code from version.js into your file. We can import renderVersionBadge using import { renderVersionBadge } from '../version.js'.
Maybe looking at something like https://github.com/badges/shields/blob/master/services/cdnjs/cdnjs.service.js as an example would help?

We don't need to copy and paste all the code from version.js into your file. We can import renderVersionBadge using import { renderVersionBadge } from '../version.js'.
Maybe looking at something like https://github.com/badges/shields/blob/master/services/cdnjs/cdnjs.service.js as an example would help?

Yep, thank you, I just fixed it, I actually didn't get a response from my question in the last pull request, and thought that I have to add it manually https://github.com/badges/shields/pull/8352#discussion_r959916503


Android app implementation

Thanks for your good.. how to implement the opencv on Android app.?

Hi, @larrywal-express, Thanks! Particularly, I have no background on Android/mobile development. Thus, I don't know how to precisely answer your question. I have seen people using C++ and Java for build their computer vision projects for smartphones. I think it is not that hard to do. Sorry, if I realize how to make it, I hit you here.

@hjw520365 No friend, I have any idea what is happen in your code. Maybe a problem with your ONNX file.

Thank you for your reply. But, I can run use Python with the onnx file.
---Original---
From: @.>
Date: Thu, Jan 20, 2022 21:21 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [doleron/yolov5-opencv-cpp-python] Android app implementation(Issue #1)
@hjw520365 No friend, I have any idea what is happen in your code. Maybe a problem with your ONNX file.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>

@hjw520365 No friend, I have any idea what is happen in your code. Maybe a problem with your ONNX file.
Thank you! That's the problem, and do you know how to create correct ONNX file? Or how to  modify the code?

Sorry friend I cannot support you on your code. I'm closing this issue.


Running a build on another computer

Can you tell me if there is a reason why the map would not load on some computers and not others?
We have found this in the unity log

EDIT: We found the build would work after we installed Unity on a new computer where we tried to run the build. What dependencies does a build need in order to run on a computer without Unity installed?

Hi,
Please try installing visual studio c++ redistributable for vs 2019:
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
Let me know if that solves the problem.

will have a go - thanks

will have a go - thanks

Can confirm that this works

Can confirm that this works


Get-MailboxImportRequestStatistics throwing exception since yesterday

Hi, since yesterday the command Get-MailboxImportRequestStatistics is throwing the following exception
WARNING: An unexpected error has occurred and a Watson dump is being generated: The type initializer for 'Microsoft.Exchange.MailboxReplicationService.RequestJobBase' threw an exception. The type initializer for 'Microsoft.Exchange.MailboxReplicationService.RequestJobBase' threw an exception.     + CategoryInfo          : NotSpecified: (:) [Get-MailboxImportRequestStatistics], TypeInitializationException     + FullyQualifiedErrorId : System.TypeInitializationException,Microsoft.Exchange.Management.Migration.MailboxReplication.MailboxImportRequest.GetMailboxImportRequestStatistics     + PSComputerName        : outlook.office365.com
I'm using the latest stable version of ExchangeOnlineManagement powershell module (2.0.5) and i have the same problem in two different O365 tenants.
Thank you in advance.

I tried to install manually the 2.0.6 preview 5 version of the module and it's working.....Any idea why a command is only working with a preview version?

Getting the same error, any luck?

First check if you didnt get the latest bad updates and you have the disks available.

Same here,
Since yesterday we cant use new-moverequest nor get-moverequeststatistics. It dumps same mistake as above. Can someone confirm whats the issue and have Microsoft responded on the issue?

as said before, the problem disappeared once I started using the 2.0.6 preview 5 version of the module. it was tricky to install it because the AllowPrerelease is not accepted by the built-in version of Install-Module in Windows 10 and 11.
I used these commands first of all
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Install-Module -Name PackageManagement -Repository PSGallery -Force -AllowClobber Install-Module -Name PowerShellGet -Repository PSGallery -Force -AllowClobber
after that, I closed and opened a new powershell window and installed the preview version with this command
Install-Module -Name ExchangeOnlineManagement -AllowPrerelease -Force
to be able to load the proper module version, I used this command
Import-Module ExchangeOnlineManagement -Version 2.0.6

First check if you didnt get the latest bad updates and you have the disks available.

I don't get what you mean

2.0.6 preview 5 version didnt solve my issue, still having same problem.

2.0.6 preview 5 version didnt solve my issue, still having same problem.

Same here, although I'm getting the error when trying to use the New-MailboxRestoreRequest cmdlet. I've logged a case with Microsoft.

Just found out Microsoft had logged this as an issue yesterday. These commands are not working due to a recent update and they should be deploying a fix shortly.

Title: Admins can't run certain PowerShell commands that are related to mailbox migrations and restorations in Exchange Online
User Impact: Admins are unable to run certain PowerShell commands related to mailbox migrations and restorations in Exchange Online.
More info: This affects admins creating migrations using the New-MoveRequest command through PowerShell and results in the following error:
"An unexpected error has occurred and a Watson dump is being generated: The type initializer for 'Microsoft.Exchange.MailboxReplicationService.RequestJobBase' threw an exception."
Admins are also being prevented from utilizing the Get-MoveRequestStatistics, or New-mailboxRestoreRequest commands through PowerShell.
Current status: We've completed our internal validation and are deploying our fix to the affected environment. We're expecting to provide an estimate for the fix deployment timeline and the resolution of impact by Friday, April 8, 2022, 7:30 PM (6:30 PM UTC)
.
Scope of impact: Impact is specific to a subset of admins who are served through the affected infrastructure.
Root cause: A recent standard service update introduced a code regression, which has caused a section of infrastructure responsible for the migration of mailboxes to perform unexpectedly.


Fix callstack view when switch between sampling and selection tabs

CallstackDataView was common for both sampling and selection tabs,
and after switching the tabs CallstackDataView showed the callstack from
the previously selected tab. This commit introduces new DataViewType for
selection callstack, and adds corresponding view for it.
Test: take a capture, make a selection, switch from selection to samping
tab and vice versa.
Bug: http://b/165613158

LGTM, even though I have some concerns with the factory in general as I've stated below. Removing the factory would make the data view management easier to read and understand, so we may want to tackle this at some point, but it's not super critical I guess.

Thanks a lot for the suggestion! As discussed, I created a separate method for selection_callstack_data_view_, and used the same type as for callstack_data_view_. Please take another look


[vcpkg] Update tls12-download.exe to 2021-05-05 version

Fixes https://github.com/microsoft/vcpkg/issues/17688
Update tls12-download.exe to 2021-05-05 version.
Related https://github.com/microsoft/vcpkg/pull/17734

We would fix the baseline issue in PR https://github.com/microsoft/vcpkg/pull/17983

/azp run

@dan-shaw, could you help merge this change?

What is the status of this PR @PhoebeHui ?

Thanks @PhoebeHui ! sorry for taking so long


Track scheduler activity

AMQ-9188
Augment scheduler to forward scheduled and dispatched messages to a destination, if such is configured.
e.g.
<broker ... schedulerSupport="true" schedulerActivityDestination="topic://ActiveMQ.Scheduler.Activity" >
If schedulerActivityDestination is not set, current behavior is unaffected.
Otherwise...
When message is successfully scheduled scheduler should set property AMQ_SCHEDULER_ACTIVITY to SCHEDULED and forward scheduled message to the schedulerActivityDestination
When message is successfully dispatched scheduler should set property AMQ_SCHEDULER_ACTIVITY to DISPATCHED and forward scheduled message to the schedulerActivityDestination

@maxfortun are you able to share any more details about the use case? I'm pretty sure a standard plugin could support this without needing to modify broker internals or the current scheduler code.

@maxfortun sounds like the need is for additional extensions for registerJob (and for completeness, we should add unregisterJob).
There is already a JobListener interface that has an operation to catch when scheduled messages are fired. I'm wondering if we could extend that by adding the 2 add'l methods.
Then from there, confirm wiring in a custom JobListener (aka a mini-plugin just for Job events).
Thoughts?

@maxfortun sounds like the need is for additional extensions for registerJob (and for completeness, we should add unregisterJob).
There is already a JobListener interface that has an operation to catch when scheduled messages are fired. I'm wondering if we could extend that by adding the 2 add'l methods.
Then from there, confirm wiring in a custom JobListener (aka a mini-plugin just for Job events).
Thoughts?

I also initially thought that the JobListener is the correct place for this feature, but since I am not familiar enough with the broker internals and maintainers philosophy I did not want to make any changes that are not backward compatible. If we change the JobListener interface then the upgrades for people who have any custom scheduler modules for the broker will no longer be a drop in easy-peasy process and would require quite a bit of work. Which may be ok, if that's how activemq is developed. Also, currently there is only 1 listener, and it is the SchedulerBroker, which is added and removed when broker starts and stops. I presume this is for the failover support. Using job listeners may make this feature more of a rearchitecture than a feature. I am not certain that this deserves so much effort. Thoughts?

I also initially thought that the JobListener is the correct place for this feature, but since I am not familiar enough with the broker internals and maintainers philosophy I did not want to make any changes that are not backward compatible. If we change the JobListener interface then the upgrades for people who have any custom scheduler modules for the broker will no longer be a drop in easy-peasy process and would require quite a bit of work. Which may be ok, if that's how activemq is developed. Also, currently there is only 1 listener, and it is the SchedulerBroker, which is added and removed when broker starts and stops. I presume this is for the failover support. Using job listeners may make this feature more of a rearchitecture than a feature. I am not certain that this deserves so much effort. Thoughts?

We can add a default no-op method to fix the upgrade compatibility issue.
I think overall, adding a couple methods to existing internal interface is preferred over adding a new interface, config, and other internal changes. Also, the approach of only having one handler is limiting.
Note-- the existing SchedulerBroker implements the JobListener only to have a handle to internal broker for publishing the message. It is an o-o hack of sorts to reduce the need to inject a BrokerService to the JobListener to start deliverying messages.
Once the interface is updated, adding an AdvisoryJobListener would be trivial, and you could still add add'l listeners to do pub-sub stuff for your internal job track sync tool.

There is one other issue with this approach. In its current design the JobListener is blind to the message and its attributes, it treats it as a binary payload. It may be quite a lift to wire it for what I need to happen. Which is to forward a meaningful activity message. As far as multiple activity trackers are concerned, it is rather straightforward to implement a  class that wraps many trackers into one.

Something like this:
        <jobSchedulerActivityListener>
            <bean xmlns="http://www.springframework.org/schema/beans" id="jobSchedulerMultipleActivityListeners"
                class="org.apache.activemq.broker.scheduler.JobSchedulerMultipleActivityListeners">
                <property name="listeners">
                    <list>
                        <bean xmlns="http://www.springframework.org/schema/beans"
                            id="jobSchedulerForwardingActivityListener"
                            class="org.apache.activemq.broker.scheduler.JobSchedulerForwardingActivityListener" />
                    </list>
                </property>
            </bean>
        </jobSchedulerActivityListener>

Yeah, I just can't get there with the current approach. I think this could all be handled within the JobScheduler/JobSchedulerFacade and not have to bubble it all the way up to BrokerService.
I'd vote -1 for this change as-is.
Pinging @cshannon to see if he has any add'l thoughts.
My suggested approaches:

Extend current JobListener
Extend advisory support to send an advisory message w/ the job id, message id and target destination (this would be add add'l broker filter methods, and then support in the AdvisoryBroker so it can be turned off when advisory support is disabled)

Closing this PR as a leaner approach was suggested. Submitting #950 as a proposal in continuation of this discussion.


Unable to Authorize in Linux Shell

Trying to use this API in a script running on a VSP Linux shell.
Neither Scraper() nor Account()are working. Both return the following messages:
 Checklist:
                1. Log-in via the browser and confirm your account is not blocked, or has pending security challenges.
                2. Copy the `ct0` and `auth_token` cookies from the browser.
                3. Re-run your program using these new cookies.

I should preface that I've only recently come across this issue for Linux shell (about 10 days ago).
The following has not helped:

Logging in via browser and confirming account is fine.
Copying cookies from browser and authorizing that way.
Changing my IP address.
Changing my credentials.

Given that Linux shell doesn't have a visible browser, how am I to "log in" through that environment?

those error messages indicate the library is running but you have some security challenges pending or expired cookies, so no linux-related issues there.
as for logging in, you just use chrome/firefox as per usual and copy your cookies.

huh, I actually have no idea why this is happening. Very strange, cookies are the only thing that matter, unless every IP you use is somehow blacklisted.
one test you can do is copy a sample curl request (e.g. look for UserTweets endpoint in devtools) from your browser and try running that in the shell. if that doesn't work, then there is a fundamental issue with the shell, and it's something unrelated to twitter and this library.


Fixes a memory leak issue in reader API.

This issue was mentioned in https://github.com/amzn/ion-python/pull/172#issuecomment-968407484
Owner should be released when method finishes.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Change it back to draft mode as it fails GH Actions.


Documentationfix #7

An attempt to create a proper README.md for the project such that it can be easily understood by anybody going over the repository for the first time.

The numbered points under the "How to clone?" heading are in a single line. Just fix that up and you should be good.


Cannot display non-English character

Dear Dylan:
I notice that shfm cannot display non-English characters, or say CJK characters. However, fff handles CJK characters well. If it is because of the difference between the nature of posix shell and bash, and there is no good way to fix this, feel free to close this issue.

Fixed, thanks for opening.


feat: set up testing system

Description of changes
Sets up testing system with pipelines for the road safety scanner:

Contains new testing pipeline
Contains a basic test on the exporter module
Restructures the app to accomodate testing

Issue number: #35

Merging to test the new pipelines out- will revert if this causes breaking changes.


switch to jacoco because cobertura doesn't support lambda.

Codecov Report

Merging #792 into feature-spring will decrease coverage by 0.03%.
The diff coverage is n/a.

@@                 Coverage Diff                  @@
##             feature-spring     #792      +/-   ##
====================================================
- Coverage             30.69%   30.66%   -0.04%
- Complexity              198      450     +252
====================================================
  Files                   129      129
  Lines                  4974     4967       -7
  Branches                750      703      -47
====================================================
- Hits                   1527     1523       -4
+ Misses                 3337     3336       -1
+ Partials                110      108       -2

Impacted Files
Coverage Δ
Complexity Δ

...ure/maven/function/template/TemplateResources.java
62.5% <0%> (-6.25%)
3% <0%> (+3%)

...oft/azure/maven/function/AbstractFunctionMojo.java
42.3% <0%> (-3.85%)
5% <0%> (+5%)

...tion/template/TemplateTriggerTypeDeserializer.java
61.53% <0%> (-2.75%)
3% <0%> (+3%)

...function/handlers/MSDeployArtifactHandlerImpl.java
79.68% <0%> (-0.62%)
11% <0%> (+11%)

...com/microsoft/azure/maven/function/DeployMojo.java
74.11% <0%> (ø)
16% <0%> (+16%)
:arrow_up:

...ure/maven/function/bindings/BindingSerializer.java
100% <0%> (ø)
5% <0%> (+5%)
:arrow_up:

...re/maven/function/handlers/CommandHandlerImpl.java
24.32% <0%> (+0.64%)
6% <0%> (+6%)
:arrow_up:

...va/com/microsoft/azure/maven/function/AddMojo.java
61.18% <0%> (+0.73%)
48% <0%> (+48%)
:arrow_up:

...a/com/microsoft/azure/maven/function/ListMojo.java
78.57% <0%> (+5.23%)
2% <0%> (+2%)
:arrow_up:

...osoft/azure/maven/function/utils/CommandUtils.java
66.66% <0%> (+16.66%)
3% <0%> (+3%)
:arrow_up:

Continue to review full report at Codecov.

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


switch to traitlets-based server-side config

[x] switch server-side config to use jupyter "standard" traitlets-based config
[x] add root_manager_class server config option
[x] some related cleanup

This PR is now done and ready for review

I would revert the extension activation code moving to stay in line with the cookie cutter https://github.com/jupyter-widgets/widget-cookiecutter/blob/master/{{cookiecutter.github_project_name}}/{{cookiecutter.python_package_name}}/init.py

Though it looks like they've mixed their formats now too

Lgtm


Multiple alerts in same chat broken

Register two different followalerts in same chat
One channels alerts get sent twice, the other one doesnt at all

fixed in 58edcde4a959afdb990b26426eba9704ff9249a7