Bouncer fails after reboot

Hi,
after I reboot my machine the bouncer always fails to start:
crowdsec-firewall-bouncer[617]: time="26-12-2022 18:14:01" level=fatal msg="iptables init failed: while inserting set in iptables: exit status 1"
time="26-12-2022 18:15:57" level=info msg="iptables for ipv4 initiated"
time="26-12-2022 18:15:57" level=info msg="iptables clean-up : /usr/sbin/iptables -D INPUT -m set --match-set crowdsec-blacklists src -j DROP"
time="26-12-2022 18:15:57" level=info msg="iptables clean-up : /usr/sbin/iptables -D DOCKER-USER -m set --match-set crowdsec-blacklists src -j DROP"
time="26-12-2022 18:15:57" level=error msg="error while removing set entry in iptables : exit status 1 --> iptables: Bad rule (does a matching rule exist in that chain?).\n"
time="26-12-2022 18:15:57" level=info msg="ipset clean-up : /usr/sbin/ipset -exist destroy crowdsec-blacklists"
time="26-12-2022 18:15:57" level=error msg="set destroy error : exit status 1 - ipset v7.10: Set cannot be destroyed: it is in use by a kernel component\n"
time="26-12-2022 18:15:57" level=info msg="Checking existing set"
time="26-12-2022 18:15:58" level=info msg="Rule doesn't exist (/usr/sbin/iptables -C INPUT -m set --match-set crowdsec-blacklists src -j DROP)"
time="26-12-2022 18:15:58" level=info msg="Rule doesn't exist (/usr/sbin/iptables -C DOCKER-USER -m set --match-set crowdsec-blacklists src -j DROP)"
time="26-12-2022 18:15:58" level=info msg="iptables set-up : /usr/sbin/iptables -I INPUT -m set --match-set crowdsec-blacklists src -j DROP"
time="26-12-2022 18:15:58" level=info msg="iptables set-up : /usr/sbin/iptables -I DOCKER-USER -m set --match-set crowdsec-blacklists src -j DROP"
time="26-12-2022 18:15:58" level=info msg="Using API key auth"
time="26-12-2022 18:15:58" level=info msg="Processing new and deleted decisions . . ."
time="26-12-2022 18:15:58" level=info msg="252 decisions deleted"
time="26-12-2022 18:16:10" level=info msg="8558 decisions added"
If i restart the service after a minute, it starts properly. I implemented a workaround via cron.
I think this is happening because the docker service is not yet started?

duplicate https://github.com/crowdsecurity/cs-firewall-bouncer/issues/216


add copyright api climc

这个 PR 实现什么功能/修复什么问题:

更新copyright信息命令

是否需要 backport 到之前的 release 分支:

release/2.11
release/2.10.0

/area region

/cc @swordqiu

/cc @zhasm

Codecov Report

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

@@            Coverage Diff            @@
##           master   #1962      +/-   ##
=========================================
- Coverage    7.51%   7.49%   -0.03%
=========================================
  Files         418     418
  Lines       64906   64906
=========================================
- Hits         4876    4862      -14
- Misses      59619   59631      +12
- Partials      411     413       +2

Flag
Coverage Δ

#aFlag
7.49% <ø> (-0.03%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/util/rbacutils/rbac.go
69.96% <0%> (-4.34%)
:arrow_down:

Continue to review full report at Codecov.

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

/area region

/area climc

/lgtm
/approve


Tweak dev tab styles

Hover on tabs (when pane is expanded and when not) & expand/collapse chevrons: color: #0058ad; // this will show up better if we drop non-selected tabs/chevrons from #000 to #222
Hover on menu items: about half the color/opacity of the selected state. ‘function.json’ shows hover, ‘run.csx’ shows selected state:

<- doctored screenshot with dev tools
3.	Also, to better match Azure menus, the rows should be 36px tall, with 12px font vertically centered in it.
4.	The root file could use margin-top: 10px;
5.	Add border-right: 0; to file-container[_ngcontent-cah-16], .dev-border[_ngcontent-cah-12]
6.	Action bars in Azure have 12px font, hover background vertically-centered around the action, I added padding: 3px between the icon and the label in the screenshot below and then cut the margin-left:10px on these actions down to 5px. The 3px between icon and label also helps around Functions (file tree, left nav, all actions)

 <- doctored screenshot with dev tools

If you get to #8 above, the toolbar height under View files can be reduced to 40px (the action bar in Azure is actually just 35px tall)
Vertically center-align the file name with the buttons next to them in #1 above.
The chevron (and tabs) can be moved up a bit when collapsed to it’s at the same distance from the blade header when the pane is opened. This will cause a bit less movement of the UI.
<- the chevrons haven’t been doctored. They’re about 10-15px apart vertically.

@alrod Would be good to get to this before public release of Elliott's branch. Not a blocker for private preview.
cc @Tuesdaysgreen


LWm2m client fails to register to bootstrap server

After using OpenSSL to generate the server private and public key files, my command was
java -jar leshan-bsserver-demo/target/leshan-bsserver-demo-*-SNAPSHOT-jar-with-dependencies.jar  -pubk spubk.der -prik sprik.der
This is running on the address <IP_ADDRESS>
After doing this I opened up the Leshan Boot Strap Page and added a client configuration by providing the public and private keys of the client (This is running on a separate machine and I used OpenSSL for creating its public and private key). I also downloaded the The Leshan Bootstrap Public Key from http://<IP_ADDRESS>:8080/#,
Using this public key for the server and the client private and public keys, I executed the following command on the client :
java -jar leshan-client-demo/target/leshan-client-demo-*-SNAPSHOT-jar-with-dependencies.jar -b -n optiplex -cpubk cpubk.der -cprik cprik.der -spubk bsServerPubKey.der -u <IP_ADDRESS>
This is the log:
2020-12-18 19:15:33,695 INFO LeshanClient - Starting Leshan client ...
2020-12-18 19:15:33,699 INFO LeshanClient - Leshan client[endpoint:optiplex] started.
2020-12-18 19:15:33,701 INFO DefaultRegistrationEngine - Trying to start bootstrap session to coaps://<IP_ADDRESS>:5684 ...
2020-12-18 19:15:33,875 INFO CaliforniumEndpointsManager - New endpoint created for server coaps://<IP_ADDRESS>:5684 at coaps://<IP_ADDRESS>:53866
2020-12-18 19:15:33,895 INFO LeshanClientDemo - DTLS Full Handshake initiated by client : STARTED ...
2020-12-18 19:15:34,120 INFO LeshanClientDemo - DTLS Full Handshake initiated by client : SUCCEED
2020-12-18 19:15:34,179 INFO DefaultRegistrationEngine - Bootstrap started
2020-12-18 19:15:34,239 DEBUG Security - Write on Security resource /0/0/0
2020-12-18 19:15:34,240 DEBUG Security - Write on Security resource /0/0/1
2020-12-18 19:15:34,241 DEBUG Security - Write on Security resource /0/0/2
2020-12-18 19:15:34,241 DEBUG Security - Write on Security resource /0/0/3
2020-12-18 19:15:34,241 DEBUG Security - Write on Security resource /0/0/4
2020-12-18 19:15:34,242 DEBUG Security - Write on Security resource /0/0/5
2020-12-18 19:15:34,242 DEBUG Security - Write on Security resource /0/0/6
2020-12-18 19:15:34,242 DEBUG Security - Write on Security resource /0/0/7
2020-12-18 19:15:34,242 DEBUG Security - Write on Security resource /0/0/8
2020-12-18 19:15:34,243 DEBUG Security - Write on Security resource /0/0/9
2020-12-18 19:15:34,243 DEBUG Security - Write on Security resource /0/0/10
2020-12-18 19:15:34,243 DEBUG Security - Write on Security resource /0/0/11
2020-12-18 19:15:34,244 DEBUG Security - Write on Security resource /0/0/12
2020-12-18 19:15:34,258 DEBUG Security - Write on Security resource /0/1/0
2020-12-18 19:15:34,258 DEBUG Security - Write on Security resource /0/1/1
2020-12-18 19:15:34,258 DEBUG Security - Write on Security resource /0/1/2
2020-12-18 19:15:34,259 DEBUG Security - Write on Security resource /0/1/3
2020-12-18 19:15:34,259 DEBUG Security - Write on Security resource /0/1/4
2020-12-18 19:15:34,259 DEBUG Security - Write on Security resource /0/1/5
2020-12-18 19:15:34,259 DEBUG Security - Write on Security resource /0/1/6
2020-12-18 19:15:34,260 DEBUG Security - Write on Security resource /0/1/7
2020-12-18 19:15:34,260 DEBUG Security - Write on Security resource /0/1/8
2020-12-18 19:15:34,260 DEBUG Security - Write on Security resource /0/1/9
2020-12-18 19:15:34,260 DEBUG Security - Write on Security resource /0/1/10
2020-12-18 19:15:34,261 DEBUG Security - Write on Security resource /0/1/11
2020-12-18 19:15:34,261 DEBUG Security - Write on Security resource /0/1/12
2020-12-18 19:15:34,271 DEBUG Server - Write on Server resource /1/0/0
2020-12-18 19:15:34,271 DEBUG Server - Write on Server resource /1/0/1
2020-12-18 19:15:34,272 DEBUG Server - Write on Server resource /1/0/2
2020-12-18 19:15:34,272 DEBUG Server - Write on Server resource /1/0/6
2020-12-18 19:15:34,272 DEBUG Server - Write on Server resource /1/0/7
2020-12-18 19:15:34,294 INFO DefaultRegistrationEngine - Bootstrap finished coaps://<IP_ADDRESS>:5684.
2020-12-18 19:15:34,305 INFO CaliforniumEndpointsManager - New endpoint created for server coaps://<IP_ADDRESS>:5684 at coaps://<IP_ADDRESS>:50274
2020-12-18 19:15:34,307 INFO DefaultRegistrationEngine - Trying to register to coaps://<IP_ADDRESS>:5684 ...
2020-12-18 19:15:34,317 INFO LeshanClientDemo - DTLS Full Handshake initiated by client : STARTED ...
2020-12-18 19:15:34,378 INFO LeshanClientDemo - DTLS Full Handshake initiated by client : SUCCEED
2020-12-18 19:15:34,383 INFO DefaultRegistrationEngine - Registration failed: NOT_FOUND .
2020-12-18 19:15:34,384 INFO DefaultRegistrationEngine - Try to register to coaps://<IP_ADDRESS>:5684 again in 600s...
2020-12-18 19:25:34,387 INFO DefaultRegistrationEngine - Trying to register to coaps://<IP_ADDRESS>:5684 ...
2020-12-18 19:26:55,688 INFO DefaultRegistrationEngine - Registration failed: Timeout.
`

What am I missing?

(sorry for delay I was unavailable last 2 weeks)
Regarding the log, it seems that your client successfully bootstraps, then try to do a register to bootstrap server(<IP_ADDRESS>:5684), so I guess you bootstrap configuration for this device is incorrect.
leshan-bsserver-demo is not a LWM2M server, it is just a LWM2M2 bootstrap server.

(sorry for delay I was unavailable last 2 weeks)
Regarding the log, it seems that your client successfully bootstraps, then try to do a register to bootstrap server(<IP_ADDRESS>:5684), so I guess you bootstrap configuration for this device is incorrect.
leshan-bsserver-demo is not a LWM2M server, it is just a LWM2M2 bootstrap server.

Should we close this issue ?

Should we close this issue ?

Yes, please. If new issues show up, I will re-open another one.

Yes, please. If new issues show up, I will re-open another one.


Ban more VariantsONTop because farming

Ban more VariantsONTop for farming

Will wait for his name to come in the banned bots list, then merge this. Thanks a lot!

@M-DinhHoangViet I did not farm???

I think this is a misconception. Will close this pull request now. Thanks a lot for finding the comma I missed.


Create test_dotnet_core_versions.yml

We should update the README to have the proper banner instead of Travis. So something like:
.. image:: https://github.com/iovation/launchkey-dotnet/actions/workflows/test_dotnet_core_versions.yml/badge.svg?branch=master     :target: https://github.com/iovation/launchkey-dotnet/actions/workflows/test_dotnet_core_versions.yml

Declining this PR in favor of the other one with the final pieces on the github actions.


fix: anthropic_manifold_pipeline.py system_message

Relates to: https://github.com/open-webui/pipelines/pull/109
With a system message anthropic example does not work and gives error:
anthropic.BadRequestError: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'system.0: Input does not match the expected shape.'}}

Reason is that system should just be a string instead of the object get_system_message returns. See documentation here: https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/system-prompts#how-to-give-claude-a-role
With this change it works fine.

@pboos I appreciate the work here, I believe my updated methods largely align with what you've done so I'll add you as co-author I just need your email address.

@pboos I appreciate the work here, I believe my updated methods largely align with what you've done so I'll add you as co-author I just need your email address.

For the email see the commit 😉 (or use API to get it: https://api.github.com/repos/open-webui/pipelines/commits/094cfa9355cf0fa73603bbe06a445c1fbfb6140c )


Don't allow implicit Image to String coercion

Power Apps implements Image as URLs and returns the Image as string.
Text(Image1) returns: the string:
"appres://resources/SampleImage"
And even does implicit string coercion "x" & Image1
See #984
For back compat, we could allow Text(image) to still work as an explicit coercion; but we should block implicit coercion.

related to #1281


⚠ ClamAV has degraded performance

In e832e1d, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 103 ms

Resolved: ClamAV performance has improved in 6049736 after 5 minutes.


Issue-update dependencies/add .gitignore

Automated Review Comments
Issues in package.json:

(2, 'Hardcoded string found')
(3, 'Hardcoded string found')
(5, 'Hardcoded string found')
(6, 'Hardcoded string found')
(7, 'Hardcoded string found')
(8, 'Hardcoded string found')
(14, 'Hardcoded string found')
(17, 'Hardcoded string found')
(19, 'Hardcoded string found')
(28, 'Hardcoded string found')
(30, 'Hardcoded string found')

I got it.


Document Mediator functionality

We need documentation for the mediator functionality recently added to ACA-Py. Given some of the inherit complexities of running multiple instances of ACA-Py and making sure they are each configured correctly, documenting the configuration and common pitfalls is of particular importance.

Here are some example configurations that I've used for testing:
Alice
# General
label: Alice
endpoint: http://localhost:3000
inbound-transport:
  - [http, <IP_ADDRESS>, 3000]
outbound-transport: httpno-ledger: true

# Admin
admin: [<IP_ADDRESS>, 3001]
admin-insecure-mode: true

# Connections
debug-connections: true
auto-accept-invites: true
auto-accept-requests: true
connections-invite: true

# Mediation
auto-send-keylist-update-in-requests: true
auto-send-keylist-update-in-create-invitation: true

Bob
# General
label: Bob
endpoint: http://localhost:3004
inbound-transport:
  - [http, <IP_ADDRESS>, 3004]
outbound-transport: http
no-ledger: true

# Admin
admin: [<IP_ADDRESS>, 3005]
admin-insecure-mode: true

# Connections
debug-connections: true
auto-accept-invites: true
auto-accept-requests: true
connections-invite: true

# Mediation
auto-send-keylist-update-in-requests: true
auto-send-keylist-update-in-create-invitation: true

Mediator
# General
label: Mediator
endpoint: http://localhost:3002
inbound-transport:
  - [http, <IP_ADDRESS>, 3002]
outbound-transport: http
no-ledger: true

# Admin
admin: [<IP_ADDRESS>, 3003]
admin-insecure-mode: true

# Connections
debug-connections: true
connections-invite: true
invite-multi-use: true
auto-accept-invites: true
auto-accept-requests: true

# Mediation
open-mediation: true
auto-send-keylist-update-in-requests: true
auto-send-keylist-update-in-create-invitation: true

Here are some example configurations that I've used for testing:
Alice
# General
label: Alice
endpoint: http://localhost:3000
inbound-transport:
  - [http, <IP_ADDRESS>, 3000]
outbound-transport: httpno-ledger: true

# Admin
admin: [<IP_ADDRESS>, 3001]
admin-insecure-mode: true

# Connections
debug-connections: true
auto-accept-invites: true
auto-accept-requests: true
connections-invite: true

# Mediation
auto-send-keylist-update-in-requests: true
auto-send-keylist-update-in-create-invitation: true

Bob
# General
label: Bob
endpoint: http://localhost:3004
inbound-transport:
  - [http, <IP_ADDRESS>, 3004]
outbound-transport: http
no-ledger: true

# Admin
admin: [<IP_ADDRESS>, 3005]
admin-insecure-mode: true

# Connections
debug-connections: true
auto-accept-invites: true
auto-accept-requests: true
connections-invite: true

# Mediation
auto-send-keylist-update-in-requests: true
auto-send-keylist-update-in-create-invitation: true

Mediator
# General
label: Mediator
endpoint: http://localhost:3002
inbound-transport:
  - [http, <IP_ADDRESS>, 3002]
outbound-transport: http
no-ledger: true

# Admin
admin: [<IP_ADDRESS>, 3003]
admin-insecure-mode: true

# Connections
debug-connections: true
connections-invite: true
invite-multi-use: true
auto-accept-invites: true
auto-accept-requests: true

# Mediation
open-mediation: true
auto-send-keylist-update-in-requests: true
auto-send-keylist-update-in-create-invitation: true

with latest code,it's not working.Giving below error when start agent.
aca-py start: error: unrecognized arguments: --auto-send-keylist-update-in-requests=True --auto-send-keylist-update-in-create-invitation=True

with latest code,it's not working.Giving below error when start agent.
aca-py start: error: unrecognized arguments: --auto-send-keylist-update-in-requests=True --auto-send-keylist-update-in-create-invitation=True

These 2 parameters have been removed in one of the PR's that was merged yesterday

These 2 parameters have been removed in one of the PR's that was merged yesterday

HI team,Two agents Alice and mediator are started in following way.
./run_demo alice
./bin/aca-py start --arg-file ./demo/mediator-demo-args.yaml

alice created connnection invitation by passing {} request body

when mediator receive connection invitation,getting below error.
Alice      | 2021-02-25 12:52:55,803 aries_cloudagent.transport.outbound.manager ERROR >>> Error when posting to: http://localhost:3002; Error: (<class 'aiohttp.client_exceptions.ClientConnectorError'>, ClientConnectorError(ConnectionKey(host='localhost', port=3002, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=None), OSError(99, 'Cannot assign requested address')), <traceback object at 0x7fe4823a40c8>); Re-queue failed message ...

Since Alice is running in a container and the Mediator is running on your host directly, localhost to Alice is not the same as localhost to the mediator. Therefore, Alice cannot connect to the Mediator using the localhost address. This isn't strictly related to this issue so I'd recommend seeking help in a new issue or on Hyperledger Rocket.chat.

We now have docs committed to the repo for mediation so I will go ahead and consider this issue closed and implemented. Thanks ianco for handling that!

auto-send-keylist-update-in-requests

Hi dbluhm,
what is  "auto-send-keylist-update-in-requests: true" and "auto-send-keylist-update-in-create-invitation: true" arguments when start aca-py?? I already tried --auto-send-keylist-update-in-requests \ --auto-send-keylist-update-in-create-invitation\  but  got error: unrecognized arguments


could staff members provide a way to launch the environment ASAP

For English only, other languages we will close it directly.
Please answer these questions before submitting your issue. Thanks!
Which version of Sharding-Sphere do you using?
ANY
Which project do you using? Sharding-JDBC or Sharding-Proxy?
incubator-shardingsphere-example
Expected behavior
since the example project need etcd / zookeeper / mysql etc as basic infrastructures. and It's really annoying to take too much time on download / config / execute a  infrastructure environment, community members should take there limit time only on sharding-sphere it self .
now that container tech is so convenient, please try to simplify the infrastructures.
I want to provide related function, please assign this take to ME.
Actual behavior
we can use docker compose to launch several infrastructure in a very short period .
the mapping port is set in the docker-compse.yml, people could change the port if there takes conflict
Reason analyze
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc

@taojintianxia thanks for contribution, docker-compose is powerful, we're glad to see your PR.

it is better to mount manual_schema to mysql docker, any suggestion?

it is better to mount manual_schema to mysql docker, any suggestion?

I will try ^_^

hi, if there is not new PR for this issue, we'd like to close this issue

hi, if there is not new PR for this issue, we'd like to close this issue

fine . I will commit PR directly if I got new process . thx for approval


Market creation: remove "resolution details" from template markets

We're removing the "resolution details" section from all template markets.
IF there are predefined rules on a market template, a new section appears called "Template resolution rules".
IF there are no predefined rules, no new section appears.
Figma:
https://www.figma.com/file/IpIAYVQPeQfuT5TTUboQpo4S/Market-creation?node-id=2771%3A9222

redundant ticket, closing


Update Documentation to Include Keyboard Shortcuts

Is your feature request related to a problem? Please describe.
From community member Kallen Williams
Keyboard Shortcuts are always evolving and changing, and having a page in our docs about the various keyboard shortcuts would be super valuable to users as they are getting started with their product.

"could you include a section on your documentation outlining the keyboard shortcuts?  Assuming they'd be slightly different for the various browsers but it'd help show the range of features available.  For example, i'm supposing there's a shortcut to edit the original imported data, but have no idea what that might be or find any verification.. I think i may have done it by accident when learning the tool but don't know what caused it to use it purposefully"

Describe the solution you'd like
A singular page in our Open Source and Enterprise docs about the Keyboard Shortcuts.  Bonus points for instructions on how to edit them.
Describe alternatives you've considered
Currently, the users have to scroll through endless pages to get the keyboard shortcuts.... and that's a mess.

yes, i'm definitely interested to hear more about this.  I tend to use shortcuts often to access features instinctively rather than searching and clicking multiple levels.  thanks for posting this up.

@KallenXXX Are you aware of this page in label studio app?


IdxImg KH2US support

Hi guys, first of all thank you very much for the amazing work you have done so far.
May I ask you to add support for KH2US.iso for the IdxImg tool?
OpenKh.Command.IdxImg inject -idx 3825664 KH2US.iso
FATAL ERROR: Specified argument was out of the range of valid values. (Parameter 'count')
ISO block for KH2.IDX. By default is 1840 for KH2FM
for KH2US (0x3A6000, dec 3825664)
ISO block for KH2.IMG. By default is 671693 for KH2FM
for KH2US (0x459000, dec 4558848)

I will look into this but it seems that the values you specified are too big for KH2US, perhaps?

I will look into this but it seems that the values you specified are too big for KH2US, perhaps?

IdxImg uses specific values for 2FM currently, which is why any other version isn't supported yet.

IdxImg uses specific values for 2FM currently, which is why any other version isn't supported yet.

@Topaz-Reality

I will look into this but it seems that the values you specified are too big for KH2US, perhaps?

@Topaz-Reality

I will look into this but it seems that the values you specified are too big for KH2US, perhaps?

@DanielSinth
Yea, it is asking you for blocks, so you need to divide the value you input by 2048.
So, 3825664 / 2048 = 1868 & 4558848 / 2048 = 2226
I will implement a dynamic file seeking method to this so manual labor is not necessary. But in the meantime, please use the given values above.

@DanielSinth
Yea, it is asking you for blocks, so you need to divide the value you input by 2048.
So, 3825664 / 2048 = 1868 & 4558848 / 2048 = 2226
I will implement a dynamic file seeking method to this so manual labor is not necessary. But in the meantime, please use the given values above.

Thanks a lot!
Now it works without any problems.
Should I close the issue?

Thanks a lot!
Now it works without any problems.
Should I close the issue?

We should close the issue after and if #349 is tested and accepted. In my opinion, anyways.

We should close the issue after and if #349 is tested and accepted. In my opinion, anyways.

Solved as of #349. Thanks for the issue!

Solved as of #349. Thanks for the issue!


Configuration of bounding box in the synthetic dataset.

Hi!
Could you tell me, what is the configuration of the bounding box values in the synthetic dataset?
I'm trying to plot the bounding box of your dataset.
But the range of bounding box values is above the image size.
How can I interpret this??
Let's say I loaded the 'rp_yumiko_posed_001_0.pkl' dataset in the db variable.
I'm trying to plot the bounding box in the image "/copenet_synthetic/data/rp_yumiko_posed_001/MyCamera0_0.png"
Then I need to plot the bounding box with db['bb0'] values.
But the values are bb0:<class 'list'>, data: [array([485, 258]), array([614, 436])] which is above the image size.
I saw some processing about the bounding box in the getitem() function aerialpeople.py. But I want to get the real bounding box value for the original image, not for a cropped image or something.

Hi!
Could you tell me, what is the configuration of the bounding box values in the synthetic dataset?
I'm trying to plot the bounding box of your dataset. But the range of bounding box values is above the image size. How can I interpret this??
Let's say I loaded the 'rp_yumiko_posed_001_0.pkl' dataset in the db variable. I'm trying to plot the bounding box in the image "/copenet_synthetic/data/rp_yumiko_posed_001/MyCamera0_0.png"
Then I need to plot the bounding box with db['bb0'] values. But the values are bb0:<class 'list'>, data: [array([485, 258]), array([614, 436])] which is above the image size.
I saw some processing about the bounding box in the getitem() function aerialpeople.py. But I want to get the real bounding box value for the original image, not for a cropped image or something.

Hello,
DId you repoduce the paper successfully?

The bounding box values are for the full-sized images, not the cropped ones. The dataset does not return the full-sized images. It loads the full images, crop and scale them before returning.


Client tests

Update client test

@tshemsedinov Perhaps partially. Maybe it will be better if @leonpolak looks at whether everything is present, what he expected. I did not look at PR, but just corrected what interfered with the work of the test.
PS: I gave access to changes to my Fork.

Looks like redis can't be accessed in docker: unhandledRejection: Error: connect ECONNREFUSED <IP_ADDRESS>:6379
@MarhiievHE

Looks like redis can't be accessed in docker: unhandledRejection: Error: connect ECONNREFUSED <IP_ADDRESS>:6379 @MarhiievHE

You are right, I have forgotten to add optional support running API under a container with Redis. Ok, I will add a config for Redis.

@tshemsedinov Do you have any other suggestions to improve or add some more tests?

@tshemsedinov Do you have any other suggestions to improve or add some more tests?

Tests are still failing https://github.com/metarhia/Example/pull/225/checks

@tshemsedinov Do you have any other suggestions to improve or add some more tests?

Tests are still failing https://github.com/metarhia/Example/pull/225/checks
Its because the test.yml havent any instance of Redis in the test environment.

Please rebase on master

Sorry for such a massive delay in the review. Everything works and all required tests pass (Huge respect to Heorhii and Timur). Just 3 questions:

Where is uploaded content stored?
Is 'example/subscribe' should work like this? Shouldn't it listen indefinitely for server-side events, until some 'unsubscribe' call?
I get 'warning: MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [MetaReadable]'. I obviously can use emitter.setMaxListeners(11), but it does not feel right.

You're welcome.

There are two examples of file upload. The first through the Metacom stream saves to the path /application/resources/. The second through serialization, saves to the path application/tmp/.
I agree will be well expanding the algorithm.
Perhaps this version of the code refers to an old Metacom not yet been corrected. It will be necessary to apply changes from the master and see if the problem remains.

PS: I was a little busy in August, I was preparing for a language exam, and now I want to return to rewriting the Metatest library on the node test runner. But on Thursday, I plan to be on the community call and it will be possible to discuss what is not enough to close this PR.

@leonpolak @tshemsedinov
I rewrote the test to use a node test runner and fixed a subscription check. And I also corrected the GitHub Actions script. Now, all tests are completed correctly.

@leonpolak Did you talk about this error before? I caught it now too.

19:59:09  W2   error   warning: MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 Symbol() listeners added to [MetaReadable]. Use emitter.setMaxListeners() to increase limit
  _addListener (node:events:587:17)
  MetaReadable.addListener (node:events:605:10)
  MetaReadable.once (node:events:649:8)
  eventTargetAgnosticAddListener (node:events:1004:15)
  node:events:966:5
  new Promise (<anonymous>)
  Function.once (node:events:949:10)
  MetaReadable.push (/node_modules/metacom/lib/streams.js:45:26)
  Server.binary (/node_modules/metacom/lib/server.js:300:18)


Set sd-driver to point to new version sd-driver-0.0.4-mbed-os-5.4.1

Description

Pointing sd-driver to a new intermediate version sd-driver-0.0.4-mbed-os-5.4.1.
this is due to the addon of get_type method to all block devices in mbed-os which brake the external sd-driver repo and therefore had to be fixed.
Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change

Closing this since #94 will be used instead


Better Searching & Sorting

Additional search options like specific stats (e.g. "Cooldown Reduction" "Reduction to Enemy's Health" "Total Speed")
On the search result page, more columns to sort by (e.g. armor slot, level requirement, stat requirements)

I would also like to add that sorting doesn't work as expected. the list is sorted but the tooltip is for the item that was at that position before sorting. I tried to do it by using a BindingSource but I'm no C# guy. Maybe it's easy and I don't see it. I just had to give up after I invested way to much time. The simplistic fix for sorting is in my fork.


Gulp File

Can we use multimocks with Gulpfile?

At the moment we don't support Gulp runner. But you should be able to use gulp-grunt to import the tasks to generate mocks.
If you are up for a challenge please feel free to implement the existing tasks in a way that supports Gulp!

This has now been added with https://github.com/wongatech/angular-multimocks/commit/92c4e36e63aea9bf5c926f242708b716ae701132.
Use latest version of multimocks (v0.6.8 +) for gulp task


Picture problem?

dol-chs-a4.0.0-besc-wax-cheat-hp-1009.1
Picture problem?

Breasts from wax are just too big to match the clothes, try other variants without wax. Or report the issue to wax repo, maybe the original author can fix it.

Seems fixed now


System.ArgumentOutOfRangeException at Microsoft.PowerShell.PSConsoleReadLine.ReadLine

Environment data
PSReadline version: 1.2
os: 10.0.17134.1 (WinBuild.160101.0800)
PS file version: 10.0.17134.1 (WinBuild.160101.0800)

Steps to reproduce or exception report

This is possible sequence of steps to reproduce.
Have open powershell in admin mode, running the command:

PS C:\Users\amuliar> get-help Install-WindowsUpdate
Do you want to run Update-Help?
The Update-Help cmdlet downloads the most current Help files for Windows PowerShell modules, and installs them on your computer. For more information about the Update-Help
cmdlet, see https:/go.microsoft.com/fwlink/?LinkId=210614.
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): y`

Have another open powershell in admin mode, with some history. Typed a space and enter, i suppose, I got an exception:

PS C:\Users\amuliar\Projects\Solutions\AzurePlatformApp> vs_buildtools.exe --add Microsoft.VisualStudio.Workload.WebBuildTools
vs_buildtools.exe : The term 'vs_buildtools.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a
path was included, verify that the path is correct and try again.
At line:1 char:1
+ vs_buildtools.exe --add Microsoft.VisualStudio.Workload.WebBuildTools
+ ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (vs_buildtools.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\amuliar\Projects\Solutions\AzurePlatformApp>
Oops, something went wrong.  Please report this bug with the details below.
  W o r k l o a d . W e b B u i l d T o o l s Enter
 Ctrl+v Enter
 g 8 t n Ctrl+Insert Delete Ctrl+Delete Ctrl+Backspace

Exception:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at Microsoft.PowerShell.PSConsoleReadLine.Kill(Int32 start, Int32 length, Boolean prepend)
   at Microsoft.PowerShell.PSConsoleReadLine.BackwardKillWord(Nullable`1 key, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
-----------------------------------------------------------------------
PS C:\Users\amuliar\Projects\Solutions\AzurePlatformApp>

Thanks for reporting - this is a duplicate of https://github.com/lzybkr/PSReadLine/issues/241 and fixed in
the latest release 2.0.0-beta2.


[FLINK-15342][hive] Verify querying Hive view

What is the purpose of the change
Verify we can query Hive view.
Brief change log

Add test for querying Hive view

Verifying this change
New test
Does this pull request potentially affect one of the following parts:
NA
Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? docs

cc @xuefuz @bowenli86 @zjuwangg

Hi @bowenli86 , I just added a view that involves joining two tables.

Thanks @lirui-apache LGTM


Inventory Management

So, this will be a edge case for most people, but it  would increase the usefullness of bigger installs (like mine)
For the most standard filaments i have a 5-10 spools in stock. Currently I dont add them to spoolman. Why not? because its more trouble to select the right spool in mainsail then it is to add it to spoolman when i swap out the spool.
So like the archive flag we could have a "storage" flag. When moonraker requests the spools it by default only gets "active" spools.
Maybe later we even could extend moonraker to allow for querieng all spools. (But its not that important i think)
With the added functionality of having a list of spools by given filament (detail page) in the next release (you promised @Donkie  :-) one would have a complete inventory management. without increasing the complexity of selecting the right spool in the printer interfaces.
Having the spool count in the FilamentList itself of "active" and "storage" spools would be a great addition.

I feel like this is the wrong fix for your problem. Isn't having a camera next to your printer for scanning the QR code supposed to fix this issue? You just wave the spool infront of the camera and boop Moonraker will set it as the active one.
I'm not sure if Moonraker/the frontends support this yet though.

Donkie - no this does not fix the problem. First Moonraker doesnt support it, second would this only work with a "not in use spool" or do you expect me to remove the spool to wave it in front of a camera every time i start a print :-)
the real "once and for all fix" would be RFID tags on the spool, and an RFID reader per spoolholder on the printer... so moonraker would know which spool is currently loaded. without interaction

Maybe adopt the attitude that if it’s not active, it’s in “storage”.
Fluidd prompts to select a spool each time a print is started.  Mainsail doesn’t prompt for a spool selection?
Macros are still available to select the active spool.

Maybe adopt the attitude that if it’s not active, it’s in “storage”.

what about the 50 not active spools that are already used (not active  is archived)?

Fluidd prompts to select a spool each time a print is started. Mainsail doesn’t prompt for a spool selection?

yes... and you have 20 active spools with the same name... 15 are in storage, 5 are mounted on printers.
so i have to hand select from 20 spools the right one.. if only 5 are mounted on printers thats only 5 to select from.
I said its an edge case.. and not many will have the amount of printers or the throughput i have.

I don't think I stock quite as much as the OP but looking for a similar thing.
As a workaround I use a location for open spools that I can at least filter.
I'm actually questioning why we even need to archive empty spools? In which case a better option may be to delete the empty spools and use archive for the new ones. Once open bring them out of archive.
Although none of these workarounds helps with the inventory management side of things, which would be very useful to pull up a quick count of a certain filament


CodeGrepper functionally

Be able to grep code with the bot.

This would be difficult. You'd have to supply the source code, and specify the type of code.
Supporting this and also grep could be pretty dangerous. I'm open to the idea, but it would be a lot of work. Would need to see some traction and buy in on this idea before even starting implementation.

To an extent this is covered with https://github.com/CyberSentinels/discord-typecast-gpt-chatbot