TurtleBot3 movements are inverted in RVIZ

ISSUE TEMPLATE ver. 0.4.0

Which TurtleBot3 platform do you use?

[ ] Burger
[ ] Waffle
[x] Waffle Pi

Which ROS is working with TurtleBot3?

[ ] ROS 1 Kinetic Kame
[ ] ROS 1 Melodic Morenia
[x] ROS 1 Noetic Ninjemys
[ ] ROS 2 Dashing Diademata
[ ] ROS 2 Eloquent Elusor
[ ] ROS 2 Foxy Fitzroy
[ ] etc (Please specify your ROS Version here)

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Intel Joule 570x
[ ] Raspberry Pi 3B+
[x] Raspberry Pi 4
[ ] etc (Please specify your SBC here)

Which OS you installed on SBC?

[ ] Raspbian distributed by ROBOTIS
[ ] Ubuntu MATE (16.04/18.04/20.04)
[x] Ubuntu preinstalled server (18.04/20.04)
[ ] etc (Please specify your OS here)

Which OS you installed on Remote PC?

[ ] Ubuntu 16.04 LTS (Xenial Xerus)
[ ] Ubuntu 18.04 LTS (Bionic Beaver)
[x] Ubuntu 20.04 LTS (Focal Fossa)
[ ] Windows 10
[ ] MAC OS X (Specify version)
[ ] etc (Please specify your OS here)

Specify the software and firmware version(Can be found from Bringup messages)

Software version: [x.x.x]
Firmware version: [x.x.x]

Specify the commands or instructions to reproduce the issue.

roslaunch turtlebot3_navigation turtlebot3_navigation.launch map_file:=
Estimate Initial Pose of robot
Set Navigation Goal via 2D Nav Goal
Inverted movement of robot

Copy and Paste the error messages on terminal.

Please describe the issue in detail.

I am using ROS Noetic, and have a real physical TurtleBot3 with Lidar Sensor onboard. The teleop code to control the TurtleBot3 works fine during the map generation process, w moves the robot forward etc. However, when trying to perform point-to-point navigation roslaunch turtlebot3_navigation turtlebot3_navigation.launch map_file:= in RViZ using the 2D Nav Goal, the TurtleBot3 movements are all inverted. Instead of moving forward to the navigation point, the TurtleBot3 actually moves backward. I have seen this question being asked in here, and the answer by AjayKumar 1 is to invert the laser scan topic. However, I can't find that setting in RVIZ, must I manually configure some param files in the turtlebot3_navigation.launch file to solve this error?

@yipeyayeah
Hello. Thank you for asking
After following the Local / Global route created by navigation, if it is determined that the route cannot be followed according to the set parameters, the recovery behavior is retryed after several times or the route is aborted in case of repeated failure.
When entering an area with potential collisions, even if you set a navigation goal point in front, Navigation create a path that moves backwards and move.
We recommend that you try to navigate by placing the TB3 at a certain distance from the wall.
thank you.

This issue will be closed due to prolonged inactivity. If the issue persists, feel free to reopen it.


Ember 2.13 Fails with helper validated-form not found.

$ ember install ember-validated-form
NPM: Installed ember-validated-form
Installed addon package.

controller.js
import Ember from 'ember';
import {
  validatePresence
} from 'ember-changeset-validations/validators';

export default Ember.Controller.extend({
  validators: {
    name: [validatePresence(true)]
  },

  actions: {
    submit() {

    }
  }
});

template.hbs
{{#validated-form
  model       = (changeset model validators)
  on-submit   = (action "submit")
  submit-label = 'Save' as |f|}}

  {{f.input label="Name" name="name"}}

  {{/validated-form}}

Results in:
Assertion Failed: A component or helper named "validated-form" could not be found

After researching this further, I don't believe this has anything to do with this add-on.
The issue appears to be with pods support.  I setup a new application without pods support and the add-on works just fine with 2.13.
This issue: https://github.com/emberjs/ember.js/issues/14699 has been closed, but I do believe there is some kind of problem still causing some add-ons to throw this error.

Since emberjs/ember.js#14699 is closed, I added a new issue here: https://github.com/emberjs/ember.js/issues/15331

Hi @steverhoades, thanks for following up on this! We're also using pods in our projects, but didn't try 2.13 yet. I subscribed to the issue you mentioned, curious what'll turn out!

I have the same issue with Ember 2.12
I have added  "usePods": true to .ember-cli and podModulePrefix to environment.js, and then:
"A component or helper named "validated-form" could not be found"

I have tried to move addon from pods structure to default structure, and after that everything is okay
https://github.com/adfinis-sygroup/ember-validated-form/pull/31

Hi @okachynskyy, thank you for following up on this! :+1:
Since pods seem to be phased out, I'm more than happy to adapt to the default structure.


Does Azure Managed Grafana support the Dynamic Text plug-in?

When I attempt to install it, there's a message that says "You do not have permission to INSTALL this plugin.", even though I am owner of the Azure Managed Grafana instance.

@lesair You need to be Grafana Server Admin to be able to install plugins. See https://grafana.com/docs/grafana/latest/manage-users/#server for information about Grafana Server Admin.
It does not mean you are the Grafana Server Admin if you are an owner of the instance.

I have the "Admin" role, but I think in order to manage plug-ins I need to be a Grafana organization administrator. That's something owner by Azure in Azure Managed Grafana.


[WIP] 587: Restyle Sign In

This PR:
Resolves #587
1.
2. If needed, delete if not
3. If needed, delete if not
Screenshots (if applicable):
Add any screenshots/videos here.
Additional Context (optional):
Add any other context about the PR here.
Future Steps/PRs Needed to Finish This Work (optional):
Add any other steps/PRs that may be needed to continue this work if this PR is just a step in the right direction.
Issues needing discussion/feedback (optional):
1.
2. If needed, delete if not
3. If needed, delete if not

Is this open for reviewing or is it still a WIP? It seems to be based off of an outdated version of the main branch. It still has the green theme.

Is this open for reviewing or is it still a WIP? It seems to be based off of an outdated version of the main branch. It still has the green theme.
Edit: Just saw your comments on the issue. Would it help to change this to a draft PR for the time being?

Changed to draft!

Hey. No rush. Just wondering what the current status is.

Hey. No rush. Just wondering what the current status is.

I just got back from a trip and am picking this up again today. Hoping to get it finalized this week.

Love the changes. Several things to comment, was wondering if we could horizontally center the tabs and buttons, the rest are fine.

Will do!

As for the email field was wondering if we could make it the same widths as the password and confirm password and use a similar design style. Been starting to see contrasting input field types. Would be best if we stick with one of the two styles.

Yup, I have a local commit fixing this issue.

Also for the component (see clip), changing tabs causes the component/page to jump. Was thinking we could the content for Existing Pod be the same height as New Pod, or mess with the spacing/margin/padding around the card so that only the height is changing.
Screen.Recording.2024-06-26.at.1.03.45.AM.mov
That would help chop down on the clunkiness. Thanks!

So this "jumping" seems to be caused by the NavBar overflowing. If we remove display: 'grid' in the Box containing the navbar, the issue goes away (see the screencast), but I'm not sure what the fallout would be otherwise. I can play around with it to see if it breaks other pages. The grid display was added by you (@leekahung) here
Screencast_20240627_204301.webm

So this "jumping" seems to be caused by the NavBar overflowing. If we remove display: 'grid' in the Box containing the navbar, the issue goes away (see the screencast), but I'm not sure what the fallout would be otherwise. I can play around with it to see if it breaks other pages. The grid display was added by you (@leekahung) here
Screencast_20240627_204301.webm

Rather than removing the grid, we could fix this jumping by setting a fixed height for the main content of this page instead. That way it would not affect the other pages that's utilizing the layout.

Hmm... I'm actually seeing this issue on other pages on the Development branch. Let's look at it in the call today?

Fixed the textbox style mismatch and width issues and centered all the things! I think this is about ready for a review.
Screencast_20240702_181857.webm

Screenshots
Before (Desktop)

After (Desktop)

Before (Mobile)

After (Mobile)


Get stock ticker to start at random point every time it loads

Describe the addition

Context

Proposed Solution

Added in latest commit


[Bug]: Error when downloading a video from T8124 (Solocam S40)

Adapter version
0.9.3
JS-Controller version
4.0.23
Node version
v14.20.0
Operating System type
Linux
Operating system version
Raspbian 11
Describe the bug
Hello,
before anything, thanks a lot for your libs and all the work you've put around Eufy API.
I've an issue with my Solocam S40 (T8124) cameras :  upon motion notification, the video seems to be downloaded fine using P2P :
2022-07-19 10:42:30.289  - debug: eusec.0 (10575) [P2PClientProtocol.handleMsg] Station T8124P20221906B7 - DATA BINARY - received from host <IP_ADDRESS>:19387 - Processing sequence 763...
2022-07-19 10:42:30.291  - debug: eusec.0 (10575) [P2PClientProtocol.handleMsg] Station T8124P20221906B7 - DATA BINARY - Received not expected sequence, added to the queue for future processing (seqNo: 763 queuedData.size: 35)
2022-07-19 10:42:30.294  - debug: eusec.0 (10575) [P2PClientProtocol.handleMsg] Station T8124P20221906B7 - DATA BINARY - received from host <IP_ADDRESS>:19387 - Processing sequence 654...
2022-07-19 10:42:30.296  - debug: eusec.0 (10575) [P2PClientProtocol.handleMsg] Station T8124P20221906B7 - DATA BINARY - Received already processed sequence (seqNo: 654 queuedData.size: 35)
2022-07-19 10:42:30.298  - debug: eusec.0 (10575) [P2PClientProtocol.handleMsg] Station T8124P20221906B7 - DATA BINARY - received from host <IP_ADDRESS>:19387 - Processing sequence 655...
2022-07-19 10:42:30.300  - debug: eusec.0 (10575) [P2PClientProtocol.handleMsg] Station T8124P20221906B7 - DATA BINARY - Received already processed sequence (seqNo: 655 queuedData.size: 35)
2022-07-19 10:42:30.303  - debug: eusec.0 (10575) [P2PClientProtocol.handleMsg] Station T8124P20221906B7 - DATA BINARY - received from host <IP_ADDRESS>:19387 - Processing sequence 656...
2022-07-19 10:42:30.304  - debug: eusec.0 (10575) [P2PClientProtocol.handleMsg] Station T8124P20221906B7 - DATA BINARY - Received already processed sequence (seqNo: 656 queuedData.size: 35)
2022-07-19 10:42:30.307  - debug: eusec.0 (10575) [P2PClientProtocol.handleMsg] Station T8124P20221906B7 - DATA BINARY - received from host <IP_ADDRESS>:19387 - Processing sequence 657...
2022-07-19 10:42:30.309  - debug: eusec.0 (10575) [P2PClientProtocol.handleMsg] Station T8124P20221906B7 - DATA BINARY - Received already processed sequence (seqNo: 657 queuedData.size: 35)
2022-07-19 10:42:30.359  - info: eusec.0 (10575) Initiated closing of connection to station T8124P20221906B7 for saving battery.
2022-07-19 10:42:30.363  - info: eusec.0 (10575) Disconnected from station T8124P20221906B7
2022-07-19 10:42:32.120  - debug: eusec.0 (10575) [P2PClientProtocol.handleMsg] Station T8124P20221906B7 - END - received from host <IP_ADDRESS>:19387

But right after, I guess during the conversion from .264 to .ts, something is going wrong :
2022-07-19 10:42:32.120  - debug: eusec.0 (10575) [P2PClientProtocol.handleMsg] Station T8124P20221906B7 - END - received from host <IP_ADDRESS>:19387
2022-07-19 10:42:34.411  - error: eusec.0 (10575) ffmpegStreamToHls(): An error occurred: ffmpeg exited with code 1: Cannot determine format of input stream 0:0 after EOF
Error marking filters as finished
Conversion failed!

2022-07-19 10:42:34.413  - error: eusec.0 (10575) ffmpegStreamToHls(): ffmpeg output:

2022-07-19 10:42:34.414  - error: eusec.0 (10575) ffmpegStreamToHls(): ffmpeg stderr:
[h264 @ 0x2d0f7b0] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list<EMAIL_ADDRESS>[h264 @ 0x2d0f7b0] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x2d54470] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[h264 @ 0x2d54470] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list<EMAIL_ADDRESS>[h264 @ 0x2d54470] no frame!
[h264 @ 0x2d6cfd0] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[h264 @ 0x2d6cfd0] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list<EMAIL_ADDRESS>[h264 @ 0x2d6cfd0] no frame!
....
[h264 @ 0x2def010] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 4 times
Cannot determine format of input stream 0:0 after EOF
Error marking filters as finished
Conversion failed!

2022-07-19 10:42:34.419  - error: eusec.0 (10575) Station: T8124P20221906B7 Device: T8124P20221906B7 - Error - Cancelling download... [{}]
2022-07-19 10:42:34.422  - warn: eusec.0 (10575) The station isn't downloading a video for the device T8124P20221906B7!

I've seen it working once or twice, with .m3u8 and .ts files being generated, but there is nothing inside when played with VLC.
I can add more logs if needed, and try any dev version, as I'm only using ioBroker to save the videos from my cameras for now.
To reproduce

Go to Logs
Wait for motion detection for Eufy Cameras (SolocamS40)
See error messages

Reproduced with 0.9.1 and 0.9.3
Screenshots & Logfiles
event.log
Additional context
RaspberryPi 2 B 1Go RAM
ffmpeg version 4.3.4-0+deb11u1+rpt2 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 10 (Raspbian 10.2.1-6+rpi1)

@nielswd
Try version 0.9.5 and let me know.

stale


fix(tooltip): Fix tooltip arrows in bootstrap v4

I wondered why the tooltip arrows didn't work in v4. After some digging i found that the CSS in v4 is somewhat tied to the classes that tether.js applies. But i also found that bootstrap v4, provides the same functionality by simply adding tooltip-<placement> as a class.
The additional class is only needed in v4.
Do you have a way that you use for checking wether we are running v3 or v4 bootstrap?
Or do you have an idea of how to only apply the class when using bootstrap 4?

Thank you!

This ain't working for me, using BS4, arrows doesn't show. I'm missing something?
Here's my code:
<a [href]="ref" class="floaty icons {{floatyNumber}} {{size}}" tooltip="title" tooltipPlacement="top">

I will look into this later today

Yeap, it was working, but with RC.1 issue is back again :(


Fix OpenAPIValueContainer serialization of nested values

Motivation
Credit goes to @rboyce for discovering this bug!
When I saw the PR #24, I realized we didn't have any unit tests for the OpenAPI*Container types, which was an oversight.
This PR adds those missing unit tests, and fixes the bug in casting that motivated #24.
Modifications
Adds unit tests and fixes the casting bug that expected wrapped, instead of raw stdlib values.
Result
Now all the new unit tests pass and serializing nested values in OpenAPIValueContainer and friends works correctly.
Test Plan
Most of this PR is new unit tests, verified they pass locally.

@rboyce once this PR lands, please rebase your PR and add the great unit tests you had there to the basic ones I added in this PR. 🙏

@simonjbeaumont let's get #22 landed first, then I'll update this PR, and then a subset of #24 with just the additional unit tests.

Investigating the integration test failure, we're seeing behavior that I don't know whether it's desired or a bug in SwiftPM.
When we enable the existential any feature in the runtime library, it also forces that feature on in the integration test package, which depends on the runtime library. That'd mean that enabling an upcoming feature in an upstream package forces it on all downstream packages?
Will try to create a reproduction case to see if we're just doing something wrong. But tagging @neonichu in case this is known.

@DougGregor may know more here

@DougGregor may know more here

That's not supposed to be the case. Upcoming features should only affect the target, not downstream targets.

@neonichu @DougGregor I spent a few hours bisecting this using toolchains from Swift.org, and it seems to have been fixed between 04-26 and 04-27. Before it, including 5.8.1, this bug is occurring. After, it's not. Unfortunately, 5.8.1 will need to be supported for a few more months in this project, so I wonder if there's a chance of a cherry pick + 5.8.2?
swift-package-manager and swift-driver don't have any changes that look related to me, but the main Swift repo has stuff related to existential any, which is the feature we're seeing "leaked" from an upstream to downstream dependees.
https://github.com/apple/swift/compare/swift-5.9-DEVELOPMENT-SNAPSHOT-2023-04-26-a...swift-5.9-DEVELOPMENT-SNAPSHOT-2023-04-27-a

To recap - what we're seeing on these older Swift versions is that when we enable the ExistentialAny feature in the upstream Runtime package, it affects a downstream integration test package, which consumes the Runtime library.
When we disable it in Runtime, it goes back to working.

API breakage is the known sendable stuff
2 breaking changes detected in OpenAPIRuntime:
  💔 API breakage: constructor OpenAPIObjectContainer.init(unvalidatedValue:) has parameter 0 type change from [Swift.String : Any?] to [Swift.String : (Swift.Sendable)?]
  💔 API breakage: constructor OpenAPIArrayContainer.init(unvalidatedValue:) has parameter 0 type change from [Any?] to [(Swift.Sendable)?]
** ERROR: ❌ Breaking API changes detected.


fixed issue where offline user was not able to see anything in featured circuits screen

fixed issue where offline user was not able to see anything in featured circuits screen
Fixes #84
Describe the changes you have made in this PR - i have added a condition to check if the model.FETCH_FEATURED_PROJECTS has an error and show that the user if offline if it is true
Screenshots of the changes (If any) -
Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

@roopak99 thanks for contributing to CircuitVerse, we appreciate the effort. There are few points I would like to mention :

#84, focuses and requires Errors to be thrown in every page where ViewModel fetches content from API and not just for Featured Circuits.
The approach of this Issue requires errors for every kind of exceptions. Check ApiUtils for all possible exceptions.
Your implementation just checks if there is any error while fetching featured projects and throws "Looks like Offline" error to user irrespective of the nature of the error. There can be several types of errors that can be thrown and this is just a trivial case of offline. We would like to see errors for all types.

If you are creative, try to reduce duplicate lines of code which implementing the functionality.
Hint: Maybe you could try and have a CVException Widget which wraps any widget and throws errors for all exceptions. This widget then can be used in every page.

Thanks for your valuable mentions. I will try my best to implement what you suggested.

Closing, PR being stale. Feel free to open another PR anytime.


Mpi/crocoddyl topic/action unittests - [merged]

In GitLab by @MaximilienNaveau on Jul 8, 2019, 18:33
Merges mpi/crocoddyl-topic/action_unittests -> cpp_devel
This merge request implements the numerical differentiation of order 1 of the action and its unittests

In GitLab by @cmastalli on Jul 10, 2019, 12:38
This is a private function and it should be also rename to assertStableStateFD.
Additionally we should use const Eigen::Ref, i.e.
void assertStableStateFD(const Eigen::Ref<const Eigen::VectorXd>& x);

In GitLab by @cmastalli on Jul 10, 2019, 12:40
Change to
#ifndef CROCODDYL_CORE_ACTIONS_ACTION_NUM_DIFF_HPP_
#define CROCODDYL_CORE_ACTIONS_ACTION_NUM_DIFF_HPP_

In GitLab by @cmastalli on Jul 10, 2019, 12:45
Change to:
ActionDataNumDiff(Model* const model_num_diff)

In GitLab by @cmastalli on Jul 10, 2019, 12:51
To make things less verbose I suggest to get the different dimensions only once, i.e.:
const int& ndx = model->get_ndx();
const int& nu = model->get_nu();
const int& ncost = model->get_ncost();
.
.
// data_x
for (unsigned i = 0; i < ndx; ++i) {
  data_x.push_back(model_num_diff->get_model().createData());
}
.
.
.
// Rx
Rx.resize(ncost, ndx);

In GitLab by @cmastalli on Jul 10, 2019, 12:53
I would like to always include header files like this:
#include <crocoddyl/core/actions/action-num-diff.hpp>

instead of
#include "crocoddyl/core/actions/action-num-diff.hpp"

In GitLab by @cmastalli on Jul 10, 2019, 12:54
if it's not needed, then remove it :)

In GitLab by @MaximilienNaveau on Jul 10, 2019, 13:00
Do we need the template here by the way?

In GitLab by @cmastalli on Jul 10, 2019, 13:01
Why this?

In GitLab by @MaximilienNaveau on Jul 10, 2019, 13:01
I am not sure it is a good idea, because this is "" correspond to a "local include, while <> means that the header is somewhere in another package. I am correct?

In GitLab by @MaximilienNaveau on Jul 10, 2019, 13:02
My bad, I will correct it.

In GitLab by @MaximilienNaveau on Jul 10, 2019, 13:03
You need to cast the pointer inside the shared_ptr to the good type: ActionDataNumDiff instaed of ActionDataAbstract.

In GitLab by @cmastalli on Jul 10, 2019, 13:05
You could name this as d, and use data instead of data_num_diff.
It'll make easier to debug and read the code :)

In GitLab by @cmastalli on Jul 10, 2019, 13:07
Please add the TODO keyword, and an issue in gepgitlab.
I agree with you that we should later come back to this topic.

In GitLab by @cmastalli on Jul 10, 2019, 13:08
Same TODO keyword

In GitLab by @cmastalli on Jul 10, 2019, 13:08
Why do you include the assert here?
I know that the function is empty for the moment.

In GitLab by @cmastalli on Jul 10, 2019, 13:10
There is an error here. You should write:
data_num_diff->Lxu = data_num_diff->Rx.transpose() * data_num_diff->Ru;

In GitLab by @cmastalli on Jul 10, 2019, 13:11
are you planning to tackle it on another PR?
If so, for me it's OK. Just add the TODO keyword and an issue in getgilab.

In GitLab by @cmastalli on Jul 10, 2019, 13:18
I know that we have a problem with the CI :(. Did you try locally the unit-test? Are they passing (all of c++ and python bindings ones)?

In GitLab by @cmastalli on Jul 10, 2019, 13:23
I'm OK if we want to push with this standard.

In GitLab by @cmastalli on Jul 10, 2019, 13:26
Yes, I think so

In GitLab by @MaximilienNaveau on Jul 10, 2019, 13:38
I already added a ticket in the gitlab board: https://gepgitlab.laas.fr/loco-3d/crocoddyl/issues/181

In GitLab by @MaximilienNaveau on Jul 10, 2019, 13:38
is this TODO or @todo?

In GitLab by @MaximilienNaveau on Jul 10, 2019, 13:39
because it was there in the python code...

In GitLab by @MaximilienNaveau on Jul 10, 2019, 13:40
Oo! well seen! Thanks

In GitLab by @MaximilienNaveau on Jul 10, 2019, 13:41
I will add the todo, I created this issue https://gepgitlab.laas.fr/loco-3d/crocoddyl/issues/181

In GitLab by @MaximilienNaveau on Jul 10, 2019, 13:45
Well, a simple ModelAbstract pointer should be enough no?

In GitLab by @MaximilienNaveau on Jul 10, 2019, 13:49
C++ tests passes I make sure of that. For the bindings I am not sure... I can have an addiditional look. This week.

In GitLab by @cmastalli on Jul 10, 2019, 16:36
It's weird, there is something wrong.
I just pushed a code and it passes 16.04 for me (see https://gepgitlab.laas.fr/cmastall/crocoddyl/pipelines/4898)
@nim65s could you explain me why the other jobs aren't passing? It's important to have them working properly. With the c++ development, many things could wrong easily.

In GitLab by @cmastalli on Jul 11, 2019, 08:41
I suggest to do it like this:
// TODO: @Carlos This is my TODO task

What do you think?

In GitLab by @cmastalli on Jul 11, 2019, 08:44
Merci!

In GitLab by @cmastalli on Jul 11, 2019, 08:47
When you run calc (or calcDiff), in an action model, you might need to access a membership function of the derived action model class.

In GitLab by @MaximilienNaveau on Jul 11, 2019, 16:52
Well, I prefer to avoid 1 letter variable when its not counters. I think the difference between data and data_num_diff is quiet clear. It also easily indicates the type here.

In GitLab by @MaximilienNaveau on Jul 11, 2019, 16:59
changed this line in version 2 of the diff

In GitLab by @MaximilienNaveau on Jul 11, 2019, 16:59
changed this line in version 2 of the diff

In GitLab by @MaximilienNaveau on Jul 11, 2019, 16:59
changed this line in version 2 of the diff

In GitLab by @MaximilienNaveau on Jul 11, 2019, 16:59
changed this line in version 2 of the diff

In GitLab by @MaximilienNaveau on Jul 11, 2019, 16:59
changed this line in version 2 of the diff

In GitLab by @MaximilienNaveau on Jul 11, 2019, 16:59
added 1 commit
3002a74e - [review] update the code accoding to the reviews
Compare with previous version

In GitLab by @cmastalli on Jul 12, 2019, 08:10
What about to rename data_num_diff to data_nd?

In GitLab by @cmastalli on Jul 12, 2019, 08:15
Sorry, I didn't refer to the shared_ptr. My question is regarding recalc. But I guess it's not bad idea to do it like this. Let's keep it as you did :)

In GitLab by @MaximilienNaveau on Jul 12, 2019, 08:46
I merely copied the python code here.

In GitLab by @cmastalli on Jul 14, 2019, 17:07
I meant why you don't include it
I resolved this discussion since you're going to tackle later

In GitLab by @cmastalli on Jul 14, 2019, 17:12
The CI is failing due to renaming of files. I will handle myself

In GitLab by @cmastalli on Jul 14, 2019, 17:13
resolved all discussions

In GitLab by @cmastalli on Jul 14, 2019, 17:14
@MaximilienNaveau The renamed of files produces a problem in the CI. Please be aware that changes in the core library needs to be propagated to the bindings too.
For this time, I will handle this issue. I think it's more efficient for both.

In GitLab by @cmastalli on Jul 14, 2019, 17:14
mentioned in commit d03decc842aa9a6d1710e56354427042877d275e

In GitLab by @cmastalli on Jul 14, 2019, 17:14
merged


Support Full Text Search

Can we mock full text search with this package? e.g. CREATE FULLTEXT INDEX ON

This question is rather more related to Moq lib than this one. This lib helps you to configure the usage of Moq.


Gracefully delete cluster

Please provide a description of this PR:
Alternative of #36310 with minor change

cc @stevenctl

For the most part LGTM.
We still need to make sure a currently running task on the queue is finished before triggering handleDelete. Otherwise we could handleDelete (cleanup endpoint shards), then the current task completes, adding to endpointshards and never getting cleaned up. TL;DR close(stop) needs to be replaced with something that blocks until we've truly stopped processing queue tasks.
And we also need the part of #36310 that properly cleans up endpontshards.


F12 The function cannot navigate

When using macro definitions, jumping to the places where the function is called from outside is possible. However, when inside the current function, using F12 to navigate fails to go outside.

The function name below allows normal navigation, only the function name above does not work

This is intentional - we only show the current active configuration based on what preprocessor directives are defined when we load the project.  However there appears to be a bug here - the code inside the disabled configuration should also be grayed out

The colorization issue is likely due to semantic highlighting being disabled.  Closing as by design since we only provide intellisense for the active configuration.
If you're having issues with the colorization not showing as greyed out with semantic highlighting enabled, please file a new issue.


Proposal: Optimistic Oracle on Kaia

Description

I'll build an Optimistic Oracle on Kaia to facilitate transparent and secure coverage for users. This smart contract will allow dispute-resolution mechanism to validate claims of all kinds.

Bounty track

Other

this is a very proposal but i think it is too big. Better to split this idea into smaller pieces to tackle one by one.
Let's first have an Optimistic Oracle before working out other parts.

Oh okay, I'll work on that.
I'd wanted to use UMA's OO protocol, because it's cross-chain.

I've updated the title and description. Let me know what you think.

https://github.com/kaiachain/kaia-dapp-mono/discussions/236
this will be the community discussion for an UMA fork. we will discuss more.

Okay thanks, added to the wtchlist!


Remove TouchableBrick / MultiTouchableBrick interfaces

Fixes https://github.com/wayfair/brickkit-android/issues/124

Codecov Report

Merging #126 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #126   +/-   ##
=========================================
  Coverage     86.91%   86.91%
  Complexity      368      368
=========================================
  Files            29       29
  Lines          1131     1131
  Branches        175      175
=========================================
  Hits            983      983
  Misses           76       76
  Partials         72       72

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 8effc0f...e5f517d. Read the comment docs.


Changed barcode scanner git and doc link to new repo address

From the old plugin repo:

Note: This repository is no longer maintained. The official repository is now at phonegap/phonegap-plugin-barcodescanner.

Ok sorry, this makes no sense.


"Unauthorized" when using ParsePy in Script

I have a weird issue, which just came up lately without a change in the script. What I will describe can be executed in the python console most of the times, not always.  I am using self hosted parse.
the code is as follows:
from parse_rest.datatypes import Function, Object, GeoPoint
import os
os.environ["PARSE_API_ROOT"] = "http://server:1337/parse"
APPLICATION_ID = '###'
REST_API_KEY = '###'
MASTER_KEY = '###'
from parse_rest.connection import register
register(APPLICATION_ID, REST_API_KEY, master_key=MASTER_KEY)

id = "1234"
parseClass = Object.factory("Classname")
newObj = parseClass.Query.get(objectId = id)

by executing this I get an error: "ResourceRequestLoginRequired" , unauthorized
any idea?
Your help is very much appreciated! :-)

Put
os.environ["PARSE_API_ROOT"] = "http://server:1337/parse"

at the top of the script, BEFORE you make any imports from parse_rest
You should also put the keys before the imports
The proper order is here: https://github.com/milesrichardson/ParsePy#using-with-self-hosted-parse-server
so the full script would be:
import os
os.environ["PARSE_API_ROOT"] = "http://server:1337/parse"
APPLICATION_ID = '###'
REST_API_KEY = '###'
MASTER_KEY = '###'

from parse_rest.datatypes import Function, Object, GeoPoint
from parse_rest.connection import register
register(APPLICATION_ID, REST_API_KEY, master_key=MASTER_KEY)

id = "1234"
parseClass = Object.factory("Classname")
newObj = parseClass.Query.get(objectId = id)

Let me know if that fixes it

Thanks a lot for your quick response! So simple, but it really saved me! :+1:

no problem :)


Blend and 2d Translate distorted image

When Blending two images and applying a 2D effect for changing one image position you get a strange behaviour where pixels get repetead.
<!DOCTYPE html>

	<title>Seriously.js Camera Demo</title>

	<canvas id="target" width="4096" height="2048"></canvas>

After further tests we found that the issue is when the top image is smaller, the blend is replicating pixels instead of using transparent ones, any idea on how to change this ?

Yeah, this is super weird. I will look into it.
In the meantime, if you're using "normal" blend mode, you can just use the layers effect instead. It doesn't appear to have the same bug.
var layers = seriously.effect('layers', 2); // second param is # of layers
layers.source0 = '#bottom';
layers.source1 = '#top';

See if that fixes it (develop branch).

HI brian, I went with layers option that it is what I really need.
Also I downloaded de develop branch and tested it with the blend. It's working better but there is a new problem, I think this should translate the image but instead it's being cropped, maybe a sizeMode issue ?


require six>=1.4 (python_consul won't work with earlier versions)

$ pip install 'six==1.3'

.. cut ...

$ python -c 'import consul'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "consul/__init__.py", line 3, in <module>
    from consul.std import Consul
  File "consul/std.py", line 1, in <module>
    from six.moves import urllib
ImportError: cannot import name urllib

Works with 1.4 up.

:+1:

Thanks for catching this

Pushed to Pypi as v0.3.19

@cablehead Thanks for fast merge. It's great I can undo a Thursday hack on Monday in our codebase rather than wait a month as it sometimes happens :)


Azure client Faraday errors when trying to use client.completions

Describe the bug
First off, thanks for creating this and all the work you put into it. This is a fantastic resource. I can't figure out why I can get everything working as expected with an Azure OpenAI endpoint except the client.completions calls.
Assistants, vector stores , etc all work as expected with the same azure endpoint. It's just the completions that are not working
To Reproduce
#./Myai.rb
class MyAi
    attr_reader :client
    def initialize()
        OpenAI.configure do |config|
            config.access_token = ENV["xxxx"]
            config.uri_base = ENV["yyyy"]
            config.api_type = :azure
            config.api_version = "2024-10-01-preview"
            config.log_errors = true
         end
     @client = OpenAI::Client.new()
end

irb> require_relative "Myai"
irb> az = MyAi.new
irb> client = az.client
irb> comp = client.completions(parameters: {model: "gpt-4o",prompt: "How are you today"})
OpenAI HTTP Error (spotted in ruby-openai 7.1.0): {"error"=>{"code"=>"404", "message"=>"Resource not found"}}
....

irb> client.vector_stores.list
client.vector_stores.list
=>
{"object"=>"list",
 "data"=>
  [{"id"=>"anIdhere",
    "object"=>"vector_store",
    "name"=>"MyVectorStore",
    "status"=>"completed",
    "usage_bytes"=>1394703,
    "created_at"=>1729186048,
    "file_counts"=>{"in_progress"=>0, "completed"=>99, "failed"=>4, "cancelled"=>0, "total"=>103},
    "metadata"=>{},
    "expires_after"=>nil,
    "expires_at"=>nil,
    "last_active_at"=>1729198838},
....

Expected behavior
Expect to get a completion response back. I have an azure deployment called "gpt-4o"
Desktop (please complete the following information):

OS: M1 Max Mac Studio "Sonoma 14.7.1"

Additional context
Files, vector stores, assistants all work as expected. It's just completions where I get the Faraday 404.

Figured it out. The problem is MS has a different pattern for URLs for completions. The format of the url is:
<AzureEndpoint>/deployments/<deploymentId>/chat/completions?<api-version>

deploymentID is just the name of the deployment you created in Azure Openai. It can equal the the underlying model name but it doesn't have to to e.g.
<AzureEndpoint>/deployments/gpt-4o/chat/completions?<apiVersion>
or
<AzureEndpoint>/deployments/MyDeploymentName/chat/completions?<apiVersion>

ruby-openai is sending
<AzureEndpoint>/completions?{{api-version}}

Poking around and found the solution. If you need to use completions api in azure then you need to configure the base_uri as shown below AND you have to call the completions api as shown in the examples for chat with messages parameter
https://<yourAzureEndpoint>/openai/deployments/<yourDeploymentName>/chat/

resp = client.completions(parameters: { model: "gpt-4o",messages:[{role: "system", content: "You are a helpful agent"},{role: "user", content: "Hello"}],temperature: 0.7} )

If you use the example for completions
 resp = client.completions( parameters: {model: "gpt-4o",prompt: "Once upon a time", max_tokens: 5})
OpenAI HTTP Error (spotted in ruby-openai 7.1.0): Unsupported data type

/Users/gbl2/.rbenv/versions/3.3.4/lib/ruby/gems/3.3.0/gems/faraday-2.12.0/lib/faraday/response/raise_error.rb:30:in `on_complete': the server responded with status 400 (Faraday::BadRequestError)

For using assistants, vector stores, files api the base_uri should be:
https://<yourAzureEndpoint>/openai/

Thank you!


Disable keeping namespace on error in ASB

This is intended to help mitigate https://bugzilla.redhat.com/show_bug.cgi?id=1618547 in 3.11.

Coverage remained the same at 41.003% when pulling 1f0ea0cd9fe0cc6bdf432ec3249a72d130f16e03 on jmontleon:disable-asb-keep-ns-on-error into 9cae20614d700f9dd646e566a5b9247c4d3c07a7 on openshift:master.


Added unit test for HasAdoptAllStrategy function

Signed-off-by: Ankit Kurmi<EMAIL_ADDRESS>Description
Adding unit test for HasAdoptAllStrategy function under internal/controllers/addon/utils.go which checks if an addon has ResourceAdoptionAdoptAll strategy.

/ok-to-test

/ok-to-test

looks good, waiting for the tests 🕐

/hold

Closing this one since we're getting rid of all of the Adoption strategy stuff in ADO.

Okay. Closing the branch. 🙂


fix(doc): ECS_CONTAINER_STOP_TIMEOUT

Issue number:
None
Description of changes:
Fix the doc of ECS_CONTAINER_STOP_TIMEOUT

hey @remiflament - thanks for this - definitely a good catch that ECS_CONTAINER_STOP_TIMEOUT doesn't map to ECS_DISABLE_PRIVILEGED!
I'm unclear, however, that the value is supposed to be in seconds only.
It looks like Bottlerocket isn't doing any extra modification of this setting and the ECS agent's test use the s suffix on the value (e.g. 60s instead of just 60).
@arnaldo2792 you added this setting, could you clarify if the intended value should be raw seconds or with time units?

Thanks for your reply, it's definitely the number and the suffix as my ECS deployment failed yesterday with just a number... let me fix that PR.

Hello @stockholmux, I changed it to include the suffix. In the AWS documentation, the default timeout is 30 seconds.
Let me know if it's ok  for you.
Have a nice day

@remiflament Thank you so much for this! I'll get it published in the next couple of days.

@stockholmux , I just saw this, the configured value should include the units. Thanks @remiflament !


Using aws lambda

AWS Lambda doesn't allow port binding (from https://forums.aws.amazon.com/thread.jspa?messageID=597671).
While I can't get a specific error from Lambda, are there options that can work on Lambda?
It is possible to bind to /tmp using a unix pipe. Can this module work with this somehow?

+1 Might not make total sense, but I'm interested in this too. Triggering tests on a "serverless" infra would be sweet.

+1, and raised my eyebrows

2.0.0-alpha doesn't use sockets anymore. Everything is communicated over pipes.


[py2py3] check the use of str in src/python/WMCore/BossAir/Plugins/SimpleCondorPlugin.py

Impact of the bug
Should involve src/python/WMCore/BossAir/Plugins/SimpleCondorPlugin.py only
Describe the bug
We have not observed any bug at the moment, but this is to create some problems.
As described in #10363,

src/python/WMCore/BossAir/Plugins/SimpleCondorPlugin.py:

format input of classad.quote(input), which should accept a str input in py3 as well as they claim, but better be safe than sorry and check this.
format a ton of keys of a dict that is appended to JobParameters, such as ad['My.OriginalCpus'] = str(origCores). If this is used only by us in SimpleCondorPlugin.createSubmitRequest and not by WMCore clients, we may be in a good spot.

We did not change  anything, driven by the "native string" hope that trying to be consistent and use str in both py2 and py3 will not cause problems inSimpleCondorPlugin.py, but we need to check that this is the case
Expected behavior
SimpleCondorPlugin should work properly in both py2 and py3

This is working fine with Py3 WMAgent >= 1.5.2.pre2.
To be confirmed from a T0 replay in the next days.

The T0 team is migrating the T0 agent to python3, and since this has been fully validated in Python3, I'm closing this issue (we can always reopen it if a new issue is found in this module).


Port pyd tests for inherit and testdll

Codecov Report

Merging #64 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #64   +/-   ##
=======================================
  Coverage   57.57%   57.57%
=======================================
  Files          13       13
  Lines         198      198
=======================================
  Hits          114      114
  Misses         84       84

Impacted Files
Coverage Δ

python/source/autowrap/python/wrap.d
0% <ø> (ø)
: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 50c33d8...657ee46. Read the comment docs.


Add inline previews for table view

Hi again, @janodvarko.
I completed your feature for inline preview of trees in the table view. Have a look, tell me what you think.
I had to change a few colours to make it look good. With the "selected" before I started, the text was not readable because it was blue-on-blue, which is no good. I added screenshots of the new look below.

closes #5

Nice!
I am still seeing a problem with the inner-tree state.
Here is my STR:

Load http://janodvarko.cz/test/websockets/
Create a connection by clicking on 'Connect'
Send two messages: "{"a": 10, "b":230}"
Expand the inner-tree in the first and then in the second message
Expanding the tree always collapses the previous one since the tree doesn't preserver its expanded state across rendering

Also, I need to click twice to expand the inner-tree since the first click is used to select the row first.
Could you fix this before landing?
The state issue doesn't have to block this patch I guess.
Thanks!
Honza

Thanks for testing. I'll see if I can get in some more work on this tomorrow or Thursday :)

@janodvarko: I fixed the state issues. Now we only generate the TreeView component when the component mounts or changes, instead of every render pass. This way the sub-components retain state properly.

Very nice!
Honza

Btw. I committed a patch into firebug.sdk module so, you need to updated it locally.
The latest version is 0.6.19
Honza

Thanks for the heads up. Also, if you keep on creating issues on github for features you're interested in having, I'll drop by whenever I have time and have a look at them.


project ssh keys should be reported as filenames, not contents

It is difficult to mask multiline strings in GH Actions, and that handling has been incorrect to date.
Export an env var reporting a filename where the ssh key can be accessed.
The file can be created in os.Getenv('RUNNER_TEMP')

(both public and private keys should work this way)
Since the public key does not contain newlines, we could include it in a variable.

There are some problems with the current approach (v0.6.0):
2021/02/21 21:31:50 open /home/runner/work/_temp/id_rsa_411056339: no such file or directory


For #161 CI fixed

For #161 corrected puzzle and added jacoco.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@955aaed). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #163   +/-   ##
=========================================
  Coverage          ?   41.26%
  Complexity        ?       81
=========================================
  Files             ?       33
  Lines             ?     1047
  Branches          ?       42
=========================================
  Hits              ?      432
  Misses            ?      606
  Partials          ?        9

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 955aaed...128e688. Read the comment docs.

This pull request #163 is assigned to @vatavuk/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @g4s8/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be a monetary reward for this job

@Vatavuk thanks, corrected

Job was finished in 20 hours, bonus for fast delivery is possible (see §36)

@sereshqua/z please review this job completed by @vatavuk/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

@0crat quality good


export custom select builder

export the buildSelectStatementCustom() functionality to be reused in the seneca-store-query

:+1:

OK


Same codebase different results between 2 developers

I get the correct results when using the plugin (thank you! It's awesome!). Another developer on my team gets the same files mangled by the plugin. It puts a lot of spaces in front of things it's not supposed to - it's quite obviously incorrect.
However, our setup is exactly the same. Both running Macs, the latest version of VS Code (we both removed it and reinstalled it). We both uninstalled and reinstalled the plugin. Our config is exactly the same (having checked the user and workspace settings.json). I'm not even sure how to file a bug report except to note the difference between the result of the formatting.
What other information can I provide which would be helpful to debug this? What else can I try? We even renamed the workspace folder, and opened the Twig file in its own window - same incorrect results.

proect is dead
use other projects

@DimIsaev do you have a recommendation for a different VS Code plugin which formats Twig files?


Please provide steps for custom dataset, also how to generate the transform.json file

same waiting this

Hey @ruoshiliu , Is the transform.json just the blender rotation matrix or is it some camera pose?

Based on my understanding of the format of this json file, the transform_matrix should be the camera extrinsic matrix in the world coordinate system, representing the transformation from the world coordinate system to the camera local coordinate system, rather than the rotation matrix in Blender. Specifically:

The matrix is 4x4, which conforms to the size of the camera extrinsic matrix.

The first 3 row vectors represent the directions of the three axes in the camera local coordinate system under the world coordinate system.

The 4th row represents the position of the origin of the camera local coordinate system under the world coordinate system.

Different transform_matrices reflect different camera perspectives.

These are all typical structures and semantics of the camera extrinsic matrix representing camera pose.

While in Blender, the rotation matrix is usually 3x3, representing only three-dimensional rotation transformations.

So I think it can be determined that the transform_matrix in this json represents the camera extrinsic matrix in the NeRF data format, rather than the rotation matrix in Blender.
If it is as I guess, what puzzles me is that the link "file_path": "./train/r_0" is the same for different camera angles given so far, so how to ensure the 3D reconstruction effect? If they're all the same, what does the change in the value of the transform_matrix in different json files determine? Is it just the size of the object? Or is it something else? It is also very likely that there is something wrong with my understanding. I look forward to getting correction and reply


Reduce allocations for observable cache / changeset

This PR messed up when resolving conflicts so I did the old reliable rebase and merge instead.


[MLIR] Missing bufferization for memref.tensor_store

This op is generated in our parameter-shift gradient method (for some cases) and will fail bufferization.
Fixed upstream last month in https://reviews.llvm.org/D144080, so a JAX update on our side should fix the issue.

Let's add tests for this ticket.

Are parameter shift already in pytests enough?


node merging heuristics, for  in the base, like 123^5

Temml separates "123" into two  nodes
  <mrow>
    <mn>12</mn>
    <msup>
      <mn>3</mn>
      <mn>5</mn>
    </msup>
  </mrow>

MathJax and LaTeXML and Pandoc treat "123" as a whole base, which can simplify MathML code
  <msup>
    <mn>123</mn>
    <mn>5</mn>
  </msup>

Hmm... At one point, Temml parsed this expression as you suggest. Then came issue #13. My fix for that issue has created this issue.
I'll look into it. I'm sure it's fixable, but a few days may go by before I get to it.

@hbghlyj, Your issues are getting more obscure. That's encouraging.
This issue is resolved by release v0.10.19.

Number with a decimal point, for example 12.3 is converted to <mn>12.3</mn>
but 12.3^4 is converted to <mn>12</mn><mi>.</mi><msup><mn>3</mn><mn>4</mn></msup>
in MathJax 12.3^4 is converted to <msup><mn>12.3</mn><mn>4</mn></msup>


Why keep a separate DataIO spec?

As I'm reading the target spec I'm wondering where is the definition of rmlt:LogicalTarget and associated properties.
As a reader I'd expect to have a self-contained spec that includes everything.

I think that the rmlt:LogicalTarget should be defined in this spec but the concrete data descriptions are beyond the RML spec and that's why in the past we suggested to have it as a separate spec.

after discussions during the call: we need @DylanVanAssche to clarify what's going on.
Source/Target should describe the RML vocab and Data IO the descriptions of the data with other vocabs but the specs currently seem to be different.

I agree with @frmichel
Separating the specs had some benefits, but it becomes a mess now with refactoring everything regarding RML Core, etc.
I would prefer to have 1 spec but keeping the DataIO and RML glue in the spec in separate chapters of the spec, so the DataIO part can still be re-used if needed. Will make a proposal.


fix 500 response if regex control chars in path param

Client-provided variable should be escaped before in use for regex. Leads otherwise to syntax errors if it results in an invalid regex, e.g. /docs?path=foo(
Credit for escape regex to bobince on http://stackoverflow.com/a/3561711/134162

Hi Roland, thanks for taking the time to put together a PR.  I added a little test as well.
Glenn


GELF publisher can throw exceptions which should be handleable

Hi there,
I think https://github.com/Seldaek/monolog/issues/702 is still valid.
At least if a TCP/UDP GELF transport has ben configured, but the server is not reachable for any reason, gelf-php's StreamSocketClient->buildSocket()(See here) would throw an exception which is not handled by GelfHandler.
(I didn't check if other gelf publishers would also show this behaviour.)
This has also been discussed in the gelf-php repository already, but the sentiment there was that the component calling their publish methods should wrap it in a try/catch: https://github.com/bzikarsky/gelf-php/issues/67.
The unfortunate thing here is that the app and also running unit/integration tests would crash if the logging server is simply not available, because gelf-php's StreamSocketClient tries to resolve the host in here.
Example stacktrace:
RuntimeException: Failed to create socket-client for udp://myloghostname.com:1515: php_network_getaddresses: getaddrinfo failed: Try again (0)

/app/vendor/graylog2/gelf-php/src/Gelf/Transport/StreamSocketClient.php:156
/app/vendor/graylog2/gelf-php/src/Gelf/Transport/StreamSocketClient.php:183
/app/vendor/graylog2/gelf-php/src/Gelf/Transport/StreamSocketClient.php:202
/app/vendor/graylog2/gelf-php/src/Gelf/Transport/UdpTransport.php:89
/app/vendor/graylog2/gelf-php/src/Gelf/Publisher.php:76
/app/vendor/monolog/monolog/src/Monolog/Handler/GelfHandler.php:63
/app/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:37
/app/vendor/monolog/monolog/src/Monolog/Logger.php:337
/app/vendor/monolog/monolog/src/Monolog/Logger.php:532

Can we make handling possible exceptions in GelfHandler->write() or on a higher level AbstractProcessingHandler->handle() configurable?
Any ideas?

We offer the WhatFailureGroupHandler that lets you ignore failures from any handler. It's the recommended way to go because it lets you configure everything without hiding errors, and once you know everything work, if you think the logging is non-essential then you can wrap it with that and make sure a log failure does not bring down the application with it.


Turn it into GitHub action

Let's turn this Tracehub application into a configurable GitHub action. First of all, it will be more stable (hosted service can experience downtimes and so on) and there is no need to host it, and users can use the whole tracehub functionality in packaged GitHub action, for instance tracehub.yml:
name: tracehub
on:
  # we need to define all process we handling, according to current tracehub functionality and event handlers
  ...
permissions:
  # write permissions for all entities that we interact with
   ...
jobs:
  check:
    runs-on: ubuntu-22.04
    steps:
      - uses: actions/checkout@v4
        # pack it using docker
      - uses: docker://tracehub/tracehub:latest
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          # probably we will need to define more inputs

ideally, all things we should change are:

remove takes and web server from the application. So we should process the requests from GitHub events
adjust event JSON parsing logic (current version only capable of processing GitHub JSON webhooks)


Reconsider git auto-sync behavior when setting to auto-stash changes is enabled

Have a branch checked out locally
Have the following in settings: "git.confirmSync": false, "git.autoStash": true, "githubPullRequests.pullBranch": "always"
Publish the branch with a commit
Reset HEAD~1 so that the remote branch is ahead of the local checkout
:bug: When working on local changes, every once in a while GHPRI will trigger a sync due to the pullBranch setting. The git extension doesn't ask before syncing, so the net result is that the user's changes get repeatedly stashed and popped while the upstream gets pulled

Two thoughts:

If the user has done a local HEAD reset (in my case this was done with Git: Undo Last Commit), pullBranch should probably be disabled
Maybe it shouldn't be possible to disable confirmation and enable autostash together?

Maybe it shouldn't be possible to disable confirmation and enable autostash together?

I agree with this. I'll add a check in GHPRI.

But I think is that he should not stash and pop out if there is no conflict.

But I think is that he should not stash and pop out if there is no conflict.

I'm pretty sure that git just requires this. @lszomoru FYI.

@joyceerhl Can you please verify this issue


Menu needs padding

Note:
I'm not sure if this is a bug or a feature request, but this could be classified as a "visual bug".
Bug description
The new menu uses rounded corners buttons. In some situations the menu also have a background (see image).
The menu looks strange when the buttons "touch" the edges of the background area.
Expected behavior
A small padding between the buttons and the background edge would fix this. Another solutions are: removing the background or removing the rounded corners from buttons in this specific place.

Portainer Logs
Not relevant
Steps to reproduce the issue:
Not relevant
Technical details:

Portainer version: 2.15.0
Docker version (managed by Portainer): ---
Kubernetes version (managed by Portainer): ---
Platform (windows/linux): linux
Command used to start Portainer: ---
Browser: All

@rdwebdesign
Thank you for the information.  This has been forwarded to Product and reviewed.  Your suggestions will be considered during further work with our UI/UX.
Thanks!


Configure Azure PipelinesAdd the build configuration

This pipeline configuration builds the application and produces a build for the Release configuration.

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

done


Investigate runtime data layout performance

I've looked into this a bit. The relevant bit is here.
It uses a runtime bool to test for linear assignment, and constexpr for whether to use simd assignment. So far, so good.
We should still check if it actually does enter linear_assign sometimes.

I've gotten a bit further with this. #126 was fixed for array fills. I've also forked xtensor for https://github.com/xtensor-stack/xtensor/pull/2810. I think this resolves the issue for now, since I've exhausted all spots where I think contiguous_layout is used (the static equivalent of is_contiguous). I've also opened PRs for all relevant spots in xtensor.
The only thing left to do now is to keep eyes open for potential similar pitfalls in the future.


Lots of bombed planets look wrong

What looks wrong about it?

NO!!! It is my Planet ! I got Bombed. It has not updated correct.

is Correct McBride 0 Kolonists
is incorrect 9800 kolonists
the ownership of the planets is still there.
I think the scan gets not updated as i have there no ships and no planet any more, there has to be a check in the logic for 0 Kolonists

Oh! You lost the planet but still think you own it. Got it.

the game thinks i own it and so i have to click a lot of planets to check
they dont exist any more
Am Mo., 19. Aug. 2024 um 18:51 Uhr schrieb sirgwain <
@.***>:

Oh! You lost the planet but still think you own it. Got it.
—
Reply to this email directly, view it on GitHub
https://github.com/sirgwain/craig-stars/issues/348#issuecomment-2297010402,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BISPY2XDSADN47SV5UIAX4LZSIPA3AVCNFSM6AAAAABMWNBOD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJXGAYTANBQGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Instead of dropping schema drop only internal objects

Currently the whole schema is dropped if run in unsafe mode. Change it to dropping only specific objects of schema.
For example, functions, types, views, but not tables

Added overwrite mode where objects are overwritten but existing are not dropped


aghili_exercise_folder

Great work! The one thing that didn't quite make into your code was importing the function from the module. Check out the revisions I made at the end of the notebook, with the import statement and getting the housing_analysis function from the module. I also stripped the code into the module down to the function itself.


error,bytes can be at most 32766 in length

Please answer these questions before submitting your issue.

Why do you submit this issue?
Question or discussion
Bug

Question

What do you want to know?
I got this error,buy I can not update 6.2.0 to 6.3.0，what can I do？

Caused by: org.apache.lucene.util.BytesRefHash$MaxBytesLengthExceededException: bytes can be at most 32766 in length; got 32769

Bug

Which version of SkyWalking, OS and JRE?
6.2.0   centos7.4  java8
Which company or project?
vivo
What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.
Caused by: org.apache.lucene.util.BytesRefHash$MaxBytesLengthExceededException: bytes can be at most 32766 in length; got 32769

[DEBUG][o.e.a.b.TransportShardBulkAction] [all_p90_month-201908][0] failed to execute bulk item (update) BulkShardRequest [[all_p90_month-201908][0]] containing [update {[all_p90_month-201908][type][201908], doc_as_upsert[false], doc[index {[null][null][null], source[n/a, actual length: [32kb], max length: 2kb]}], scripted_upsert[false], detect_noop[true]}] java.lang.IllegalArgumentException: Document contains at least one immense term in field="detail_group" (whose UTF8 encoding is longer than the max length 32766), all of which were skipped.  Please correct the analyzer to not produce such terms.  The prefix of the first immense term is: '[48, 44, 55, 50, 49, 48, 55, 50, 57, 124, 49, 44, 50, 53, 54, 49, 52, 56, 53, 124, 50, 44, 57, 49, 52, 57, 54, 50, 124, 51]...', original message: bytes can be at most 32766 in length; got 32769

Requirement or improvement

Please describe about your requirements or improvement suggestions.

@lmzhizhe Bug had been fixed.
Change the PXX index column type by using elastic api:  updating-field-mappings.

@lmzhizhe The index template also need to change the data type. Template API

@lmzhizhe The index template also need to change the data type. Template API

They are so many indexs，I can not update one by one,Can I delete all indexs from es and restart skywalking?

@lmzhizhe The index template also need to change the data type. Template API

Can I delete all index template?  The template will be created again after I deleted all index template?


[PINOT-3466] Add metrics to get the percent of requests routed to LLC vs HLC

Removed duplicate code for segment download and replace

Current coverage is 64.19% (diff: 100%)

Merging #598 into master will increase coverage by 0.01%

@@             master       #598   diff @@
==========================================
  Files           718        718
  Lines         32997      33002     +5
  Methods           0          0
  Messages          0          0
  Branches       4935       4935
==========================================
+ Hits          21178      21186     +8
+ Misses        10357      10347    -10
- Partials       1462       1469     +7

Powered by Codecov. Last update 3cec840...e56c925


Provider not found in metamask app

Dear team
I am using @metamask/provider to detect the provider in my webapp. Upon integration, I tested that it works fine on web (chrome extension) and iOS (metamask app). However, on android (metamask app), its not able to detect the provider. I've added alerts on the page as well to debug the same. On web, the alerts work fine. On android metamask app, it shows provider not found, please install metamask. I'm unable to understand why the same is not getting detected in android app. Please help here.
The url for my webapp - https://fervent-pike-7afa22.netlify.app

Same here, it was also not working on TrustWallet a few months ago and they fixed it, but still not working on metamask

@sakshamverenkar you solve it? I just check your app via metamask android and the result is "provider found". Can you share a solution, please?

Dear team
I am using @metamask/provider to detect the provider in my webapp. Upon integration, I tested that it works fine on web (chrome extension) and iOS (metamask app). However, on android (metamask app), its not able to detect the provider. I've added alerts on the page as well to debug the same. On web, the alerts work fine. On android metamask app, it shows provider not found, please install metamask. I'm unable to understand why the same is not getting detected in android app. Please help here.
The url for my webapp - https://fervent-pike-7afa22.netlify.app

To me your web app don't detect metamask on my iphone 12.
I find your issue because on my web app metamusk is not detected on my phone

@sakshamverenkar you solve it? I just check your app via metamask android and the result is "provider found". Can you share a solution, please?

Hi @gtabia  it works for first time sometimes but after that it doesn't work and sometimes it doesn't even detect the first time

I'm going to close this issue. I visited https://fervent-pike-7afa22.netlify.app/ in the MetaMask app (I have Android) and an alert pops up with "provider found" each time. The "Connect Wallet" button doesn't work but that seems unrelated. It would help us if you could share your code so we can understand whether you're using the library correctly.


Add opacity

The opacity property is not supported by this - otherwise wonderful - package.
Would it be possible to add it ?

Yeah definitely, I'm surprised we've not encountered this already!


option to select binary checkbox states for integration with Tracker plugin

We're excited to announce the latest version of DB Folder, which introduces a new feature that makes it easier to integrate your notes with the Obsidian Tracker plugin. You can now configure the CheckBox type as either binary (1/0) or boolean (true/false), allowing you to use your note's frontmatter in a way that works best for you.
To configure the CheckBox type, simply go to the settings page and select the appropriate option. Once set, all notes using the CheckBox feature will use the selected type.

We hope this new feature makes it easier for you to track your progress and achieve your goals with Obsidian.

hi @ethanimproving ! I am sorry for the wait since I am not being able to dedicate time to manage the project. I promise to review the pull request this week and push it to the main branch.


Worker and supervisor unable to auto annotate with models, 403 error

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues
[x] Checked that model is working on docker and nuclio
[x] Checked that members of the organization with other access levels can auto
[x] Upgraded CVAT and rechecked everything above

Similar issues seem to occur in #4860 and #4548

Expected Behaviour

Any user should be able to use automatic annotations in an organization, not just Owner and Maintainer
Current Behaviour

Only the owner and maintainers of an organization are able to use auto annotations, worker and supervisors receive the following error
Error: Request failed with status code 403. {"detail":"You do not have permission to perform this action."}.
Possible Solution

Steps to Reproduce (for bugs)

Set up auto annotations and add a model
Create an organization
Add another user as either a worker or supervisor
Add a new task in the organization with labels that the model can annotate
Have the other user try to auto annotate the task with the model

Context

I would like for other users in my organization to be allowed to auto annotate without giving them higher levels of privilege.
 No
Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 22.04.1 LTS

Hi @aliu-dm
Are you trying to run automatic annotations on the whole task or for one frame only?

Hi @bsekachev
For both a whole task and one frame only when in an organization. A normal user (not superuser) in their personal workspace can annotate a single frame, but not the whole task. When they try to annotate a whole task in their personal workspace they receive the same 403 error as above.

@aliu-dm
I was not able to reproduce your issue (I am on current develop branch). I created an organization and invited a user there who has the "user" role:

and this user is a worker in the organization:

Because of some reasons I unable to run nuclio functions now, but I didn't get any 403 permissions denied and my request was sent to nuclio-dashboard successfully.
I also can submit that the worker can not get a list of currently using this URL:
http://<cvat_url>/api/lambda/requests?org=cvat but it is expected as far as I remember and the user does not have any errors on the interface.
Theoretically you can catch this error after serverless response is received, but in this case could you please submit that you can see nuclio-dashboard calls in docker logs nuclio-dashboard when a worker tries to send the request?
For example in my case, I see the following:
22.09.27 18:23:51.098 rd.platform.docker.runner (D) Executing {"command": "docker exec  nuclio-local-storage-reader /bin/sh -c \"/bin/cat /etc/nuclio/store/functions/nuclio/openvino-dextr.json\""}
22.09.27 18:23:51.214 rd.platform.docker.runner (D) Command executed successfully {"output": "eyJtZXRhZGF0YSI6eyJuYW1lIjoib3BlbnZpbm8tZGV4dHIiLCJuYW1lc3BhY2UiOiJudWNsaW8iLCJsYWJlbHMiOnsibnVjbGlvLmlvL3Byb2plY3QtbmFtZSI6ImN2YXQifSwiYW5ub3RhdGlvbnMiOnsiYW5pbWF0ZWRfZ2lmIjoiaHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL2N2YXQtYWkvY3ZhdC8wZmJiMTlhZTM4NDZhMDE3ODUzZDUyZTE4N2YwY2UxNDlhZGNlZDdkL3NpdGUvY29udGVudC9lbi9pbWFnZXMvZGV4dHJfZXhhbXBsZS5naWYiLCJmcmFtZXdvcmsiOiJvcGVudmlubyIsImhlbHBfbWVzc2FnZSI6IlRoZSBpbnRlcmFjdG9yIGFsbG93cyB0byBnZXQgYSBtYXNrIG9mIGFuIG9iamVjdCB1c2luZyBpdHMgZXh0cmVtZSBwb2ludHMgKG1vcmUgb3IgZXF1YWwgdGhhbiA0KS4gWW91IGNhbiBhZGQgYSBwb2ludCBsZWZ0LWNsaWNraW5nIHRoZSBpbWFnZSIsIm1pbl9wb3NfcG9pbnRzIjoiNCIsIm5hbWUiOiJERVhUUiIsInNwZWMiOiIiLCJ0eXBlIjoiaW50ZXJhY3RvciJ9fSwic3BlYyI6eyJkZXNjcmlwdGlvbiI6IkRlZXAgRXh0cmVtZSBDdXQiLCJoYW5kbGVyIjoibWFpbjpoYW5kbGVyIiwicnVudGltZSI6InB5dGhvbjozLjYiLCJlbnYiOlt7Im5hbWUiOiJOVUNMSU9fUFlUSE9OX0VYRV9QQVRIIiwidmFsdWUiOiIvb3B0L251Y2xpby9jb21tb24vb3BlbnZpbm8vcHl0aG9uMyJ9XSwicmVzb3VyY2VzIjp7fSwiaW1hZ2UiOiJjdmF0L29wZW52aW5vLmRleHRyOmxhdGVzdCIsInRhcmdldENQVSI6NzUsInRyaWdnZXJzIjp7Im15SHR0cFRyaWdnZXIiOnsiY2xhc3MiOiIiLCJraW5kIjoiaHR0cCIsIm5hbWUiOiJteUh0dHBUcmlnZ2VyIiwibWF4V29ya2VycyI6Miwid29ya2VyQXZhaWxhYmlsaXR5VGltZW91dE1pbGxpc2Vjb25kcyI6MTAwMDAsImF0dHJpYnV0ZXMiOnsibWF4UmVxdWVzdEJvZHlTaXplIjozMzU1NDQzMn19fSwidm9sdW1lcyI6W3sidm9sdW1lIjp7Im5hbWUiOiJ2b2x1bWUtMSIsImhvc3RQYXRoIjp7InBhdGgiOiIvaG9tZS91c2VyL2N2YXQvc2VydmVybGVzcy9jb21tb24ifX0sInZvbHVtZU1vdW50Ijp7Im5hbWUiOiJ2b2x1bWUtMSIsIm1vdW50UGF0aCI6Ii9vcHQvbnVjbGlvL2NvbW1vbiJ9fV0sImJ1aWxkIjp7ImltYWdlIjoiY3ZhdC9vcGVudmluby5kZXh0ciIsImJhc2VJbWFnZSI6Im9wZW52aW5vL3VidW50dTE4X3J1bnRpbWU6MjAyMC4yIiwiZGlyZWN0aXZlcyI6eyJwb3N0Q29weSI6W3sia2luZCI6IlJVTiIsInZhbHVlIjoiY3VybCAtTyBodHRwczovL2Rvd25sb2FkLjAxLm9yZy9vcGVudmlub3Rvb2xraXQvbW9kZWxzX2NvbnRyaWIvY3ZhdC9kZXh0cl9tb2RlbF92MS56aXAifSx7ImtpbmQiOiJSVU4iLCJ2YWx1ZSI6InVuemlwIGRleHRyX21vZGVsX3YxLnppcCJ9LHsia2luZCI6IlJVTiIsInZhbHVlIjoicGlwMyBpbnN0YWxsIC1VIHBpcCBcdTAwMjZcdTAwMjYgcGlwMyBpbnN0YWxsIHdoZWVsIFBpbGxvdyJ9XSwicHJlQ29weSI6W3sia2luZCI6IlVTRVIiLCJ2YWx1ZSI6InJvb3QifSx7ImtpbmQiOiJXT1JLRElSIiwidmFsdWUiOiIvb3B0L251Y2xpbyJ9LHsia2luZCI6IlJVTiIsInZhbHVlIjoibG4gLXMgL3Vzci9iaW4vcGlwMyAvdXNyL2Jpbi9waXAifV19LCJjb2RlRW50cnlUeXBlIjoiaW1hZ2UiLCJ0aW1lc3RhbXAiOjE2NTg4MjQyNDF9LCJwbGF0Zm9ybSI6eyJhdHRyaWJ1dGVzIjp7Im1vdW50TW9kZSI6InZvbHVtZSIsInJlc3RhcnRQb2xpY3kiOnsibWF4aW11bVJldHJ5Q291bnQiOjMsIm5hbWUiOiJhbHdheXMifX19LCJyZWFkaW5lc3NUaW1lb3V0U2Vjb25kcyI6NjAsInNlY3VyaXR5Q29udGV4dCI6e30sImV2ZW50VGltZW91dCI6IjMwcyJ9LCJzdGF0dXMiOnsic3RhdGUiOiJyZWFkeSIsImh0dHBQb3J0Ijo0OTE3Nn19\n", "stderr": "", "exitCode": 0}
22.09.27 18:23:51.215          dashboard.server (D) Handled request {"requestID": "3bdf3a1891b9/XleE4Goroa-000008", "requestMethod": "GET", "requestPath": "/api/functions/openvino-dextr", "requestHeaders": {"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"Connection":["close"],"User-Agent":["python-requests/2.26.0"],"X-Nuclio-Function-Namespace":["nuclio"],"X-Nuclio-Invoke-Via":["domain-name"],"X-Nuclio-Project-Name":["cvat"]}, "requestBody": "", "responseStatus": 200, "responseTime": "117.025892ms"}

@nmanovic
Do you have any ideas about that?
According to .rego file I also do not see any specific restrictions for an organization:
package lambda
import data.utils

# input: {
#     "scope": <"list"|"view"|"call:online"|"call:offline"> or null,
#     "auth": {
#         "user": {
#             "id": <num>,
#             "privilege": <"admin"|"business"|"user"|"worker"> or null
#         },
#         "organization": {
#             "id": <num>,
#             "owner": {
#                 "id": <num>
#             },
#             "user": {
#                 "role": <"owner"|"maintainer"|"supervisor"|"worker"> or null
#             }
#         } or null,
#     }
# }

default allow = false
allow {
    utils.is_admin
}

allow {
    input.scope == utils.LIST
}

allow {
    input.scope == utils.VIEW
}

allow {
    input.scope == utils.CALL_ONLINE
    utils.has_perm(utils.WORKER)
}

allow {
    input.scope == utils.CALL_OFFLINE
    utils.has_perm(utils.BUSINESS)
}

Also we have the following test scope:
test_scope_CALL_ONLINE_context_ORGANIZATION_ownership_NONE_privilege_USER_membership_WORKER {
    allow with input as {"scope": "call:online", "auth": {"user": {"id": 94, "privilege": "user"}, "organization": {"id": 163, "owner": {"id": 275}, "user": {"role": "worker"}}}, "resource": null}
}

@aliu-dm , you need to add business group for your users. CALL_OFFLINE means to run a task for the whole task. Only users with the business role can do that.

@nmanovic I've just updated a worker in the organization to be a part of the business group, so they have both user and business roles. When they are assigned a task, they can auto annotate both the task and a frame within a job in that task. But, if they are only assigned a job, they are unable to auto annotate that each frame. When a worker is not in the business group and assigned a task and assigned a task, they can only auto annotate a frame within a job in that task as you have indicated. On another note, I see in the documentation here a TBD for system roles, would it be possible to get something up there in the near future as I do not know what the access for the other roles entail?
@bsekachev I can see similar logs as shown below, I've redacted the name of the function I used but it is basically the same as the yolov5 model with some modifications so I could use my own trained model
22.09.27 19:03:56.780 rd.platform.docker.runner (D) Executing {"command": "docker exec  nuclio-local-storage-reader /bin/sh -c \"/bin/cat /etc/nuclio/store/functions/nuclio/[function-name].json\""}
22.09.27 19:03:56.894 rd.platform.docker.runner (D) Command executed successfully {"output": "eyJtZXRhZGF0YSI6eyJuYW1lIjoiZG0teW9sb3Y1LXAxLXYwIiwibmFtZXNwYWNlIjoibnVjbGlvIiwibGFiZWxzIjp7Im51Y2xpby5pby9wcm9qZWN0LW5hbWUiOiJjdmF0In0sImFubm90YXRpb25zIjp7ImZyYW1ld29yayI6InB5dG9yY2giLCJuYW1lIjoiWU9MT3Y1IHYwIiwic3BlYyI6IltcbiAgeyBcImlkXCI6IDAsIFwibmFtZVwiOiBcIm1ldGVvclwiIH0sXG4gIHsgXCJpZFwiOiAxLCBcIm5hbWVcIjogXCJzbWVhcmluZ1wiIH0sXG4gIHsgXCJpZFwiOiAyLCBcIm5hbWVcIjogXCJzcHJpbmdiYWNrXCIgfSxcbiAgeyBcImlkXCI6IDMsIFwibmFtZVwiOiBcImRpdm90XCIgfSxcbiAgeyBcImlkXCI6IDQsIFwibmFtZVwiOiBcInJvbGxlclwiIH0sXG4gIHsgXCJpZFwiOiA1LCBcIm5hbWVcIjogXCJkcmFnZ2luZ1wiIH0sXG4gIHsgXCJpZFwiOiA2LCBcIm5hbWVcIjogXCJkZWJyaXNcIiB9LFxuICB7IFwiaWRcIjogNywgXCJuYW1lXCI6IFwib3V0b2Zwb3dkZXJcIiB9XG5dXG4iLCJ0eXBlIjoiZGV0ZWN0b3IifX0sInNwZWMiOnsiZGVzY3JpcHRpb24iOiJZT0xPdjUgZnJvbSBQeVRvcmNoLCB2MCBvZiBQMSBtb2RlbCIsImhhbmRsZXIiOiJtYWluOmhhbmRsZXIiLCJydW50aW1lIjoicHl0aG9uOjMuNiIsInJlc291cmNlcyI6eyJyZXF1ZXN0cyI6eyJjcHUiOiIyNW0iLCJtZW1vcnkiOiIxTWkifX0sImltYWdlIjoiY3ZhdC9weXRvcmNoLnlvbG8tdjUudjA6bGF0ZXN0IiwidGFyZ2V0Q1BVIjo3NSwidHJpZ2dlcnMiOnsibXlIdHRwVHJpZ2dlciI6eyJjbGFzcyI6IiIsImtpbmQiOiJodHRwIiwibmFtZSI6Im15SHR0cFRyaWdnZXIiLCJtYXhXb3JrZXJzIjoyLCJ3b3JrZXJBdmFpbGFiaWxpdHlUaW1lb3V0TWlsbGlzZWNvbmRzIjoxMDAwMCwiYXR0cmlidXRlcyI6eyJtYXhSZXF1ZXN0Qm9keVNpemUiOjMzNTU0NDMyfX19LCJ2b2x1bWVzIjpbeyJ2b2x1bWUiOnsibmFtZSI6InZvbHVtZS0xIiwiaG9zdFBhdGgiOnsicGF0aCI6Ii9ob21lL2RtZXRhbC9Eb2N1bWVudHMvY3ZhdC9zZXJ2ZXJsZXNzL2NvbW1vbiJ9fSwidm9sdW1lTW91bnQiOnsibmFtZSI6InZvbHVtZS0xIiwibW91bnRQYXRoIjoiL29wdC9udWNsaW8vY29tbW9uIn19XSwiYnVpbGQiOnsiaW1hZ2UiOiJjdmF0L3B5dG9yY2gueW9sby12NS52MCIsImJhc2VJbWFnZSI6InVsdHJhbHl0aWNzL3lvbG92NTpsYXRlc3QtY3B1IiwiZGlyZWN0aXZlcyI6eyJwcmVDb3B5IjpbeyJraW5kIjoiVVNFUiIsInZhbHVlIjoicm9vdCJ9LHsia2luZCI6IlJVTiIsInZhbHVlIjoiYXB0IHVwZGF0ZSBcdTAwMjZcdTAwMjYgYXB0IGluc3RhbGwgLS1uby1pbnN0YWxsLXJlY29tbWVuZHMgLXkgbGliZ2xpYjIuMC0wIn0seyJraW5kIjoiV09SS0RJUiIsInZhbHVlIjoiL29wdC9udWNsaW8ifV19LCJjb2RlRW50cnlUeXBlIjoiaW1hZ2UiLCJ0aW1lc3RhbXAiOjE2NjM4Njc0NzF9LCJwbGF0Zm9ybSI6eyJhdHRyaWJ1dGVzIjp7Im1vdW50TW9kZSI6InZvbHVtZSIsInJlc3RhcnRQb2xpY3kiOnsibWF4aW11bVJldHJ5Q291bnQiOjMsIm5hbWUiOiJhbHdheXMifX19LCJyZWFkaW5lc3NUaW1lb3V0U2Vjb25kcyI6MTIwLCJzZWN1cml0eUNvbnRleHQiOnt9LCJldmVudFRpbWVvdXQiOiIzMHMifSwic3RhdHVzIjp7InN0YXRlIjoicmVhZHkiLCJodHRwUG9ydCI6NDk2NDQsImludGVybmFsSW52b2NhdGlvblVybHMiOlsiMTcyLjE3LjAuODo4MDgwIl19fQ==\n", "stderr": "", "exitCode": 0}
22.09.27 19:03:56.896          dashboard.server (D) Handled request {"requestID": "23c544397655/Dv3wA2Fni9-000440", "requestMethod": "GET", "requestPath": "/api/functions/[function-name]", "requestHeaders": {"Accept":["application/json, text/plain, */*"],"Accept-Encoding":["gzip, deflate"],"Accept-Language":["en-US,en;q=0.9"],"Connection":["close"],"Cookie":["[redacted]"],"Referer":["http://<IP_ADDRESS>:8070/projects/cvat/functions"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"],"X-Nuclio-Function-Enrich-Apigateways":["true"],"X-Nuclio-Function-Namespace":["nuclio"],"X-Nuclio-Project-Name":["cvat"]}, "requestBody": "", "responseStatus": 200, "responseTime": "115.545176ms"}

@aliu-dm , you need to add business group for your users. CALL_OFFLINE means to run a task for the whole task. Only users with the business role can do that.

Hello,
Can you please let me know how to create a business gropu?
Thanks

I also have this issue. I have a user, from an organisation with worker role, and a member of a user group in the admin panel. If I only assign a job to this user — he couldn't use AI Tools (Detection error occurred Error: Request failed with status code 403. {"detail":"You do not have permission to perform this action."}.), but when I assign him a task — he could use AI Tools in a Job from the task's job list, regardless of assignment of the Job.
In the docker logs cvat_opa for the first case I got this output:
{"client_addr":"<IP_ADDRESS>:58834","level":"info","msg":"Received request.","req_id":1,"req_method":"POST","req_path":"/v1/data/lambda/allow","time":"2022-10-03T21:16:58Z"}
{"decision_id":"b60d83e0-1af6-454f-a08b-3c8071b76e90","input":{"auth":{"organization":{"id":1,"owner":{"id":1},"user":{"role":"worker"}},"user":{"id":2,"privilege":"user"}},"resource":null,"scope":"call:online"},"labels":{"id":"4c237a78-9aa2-4ac2-b3fc-2fdf3336f7d6","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":0,"timer_rego_input_parse_ns":191104,"timer_rego_query_compile_ns":243735,"timer_rego_query_eval_ns":1105722,"timer_rego_query_parse_ns":153940,"timer_server_handler_ns":1854593},"msg":"Decision Log","path":"lambda/allow","requested_by":"<IP_ADDRESS>:58834","result":true,"time":"2022-10-03T21:16:58Z","timestamp":"2022-10-03T21:16:58.987289321Z","type":"openpolicyagent.org/decision_logs"}
{"client_addr":"<IP_ADDRESS>:58834","level":"info","msg":"Sent response.","req_id":1,"req_method":"POST","req_path":"/v1/data/lambda/allow","resp_bytes":68,"resp_duration":3.006393,"resp_status":200,"time":"2022-10-03T21:16:58Z"}
{"client_addr":"<IP_ADDRESS>:58844","level":"info","msg":"Received request.","req_id":2,"req_method":"POST","req_path":"/v1/data/tasks/allow","time":"2022-10-03T21:16:58Z"}
{"decision_id":"a74fe108-9527-4814-ad24-94cc759886fd","input":{"auth":{"organization":{"id":1,"owner":{"id":1},"user":{"role":"worker"}},"user":{"id":2,"privilege":"user"}},"resource":{"assignee":{"id":null},"id":45,"organization":{"id":1},"owner":{"id":1},"project":{"assignee":{"id":null},"organization":{"id":1},"owner":{"id":1}}},"scope":"view:data"},"labels":{"id":"4c237a78-9aa2-4ac2-b3fc-2fdf3336f7d6","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":0,"timer_rego_input_parse_ns":119374,"timer_rego_query_compile_ns":171227,"timer_rego_query_eval_ns":2044740,"timer_rego_query_parse_ns":108374,"timer_server_handler_ns":2570123},"msg":"Decision Log","path":"tasks/allow","requested_by":"<IP_ADDRESS>:58844","result":false,"time":"2022-10-03T21:16:58Z","timestamp":"2022-10-03T21:16:58.993655752Z","type":"openpolicyagent.org/decision_logs"}
{"client_addr":"<IP_ADDRESS>:58844","level":"info","msg":"Sent response.","req_id":2,"req_method":"POST","req_path":"/v1/data/tasks/allow","resp_bytes":69,"resp_duration":3.055348,"resp_status":200,"time":"2022-10-03T21:16:58Z"}

And for the second case I got:
{"client_addr":"<IP_ADDRESS>:39008","level":"info","msg":"Received request.","req_id":20,"req_method":"POST","req_path":"/v1/data/lambda/allow","time":"2022-10-03T21:22:15Z"}
{"decision_id":"dece6b85-7ace-45b8-9d6e-5c1e0ca5e5d0","input":{"auth":{"organization":{"id":1,"owner":{"id":1},"user":{"role":"worker"}},"user":{"id":2,"privilege":"user"}},"resource":null,"scope":"call:online"},"labels":{"id":"4c237a78-9aa2-4ac2-b3fc-2fdf3336f7d6","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":89256,"timer_rego_query_eval_ns":769446,"timer_server_handler_ns":930060},"msg":"Decision Log","path":"lambda/allow","requested_by":"<IP_ADDRESS>:39008","result":true,"time":"2022-10-03T21:22:15Z","timestamp":"2022-10-03T21:22:15.803919801Z","type":"openpolicyagent.org/decision_logs"}
{"client_addr":"<IP_ADDRESS>:39008","level":"info","msg":"Sent response.","req_id":20,"req_method":"POST","req_path":"/v1/data/lambda/allow","resp_bytes":68,"resp_duration":1.425058,"resp_status":200,"time":"2022-10-03T21:22:15Z"}
{"client_addr":"<IP_ADDRESS>:39018","level":"info","msg":"Received request.","req_id":21,"req_method":"POST","req_path":"/v1/data/tasks/allow","time":"2022-10-03T21:22:15Z"}
{"decision_id":"0152b756-b4bf-491e-a817-856552198c23","input":{"auth":{"organization":{"id":1,"owner":{"id":1},"user":{"role":"worker"}},"user":{"id":2,"privilege":"user"}},"resource":{"assignee":{"id":2},"id":46,"organization":{"id":1},"owner":{"id":1},"project":{"assignee":{"id":null},"organization":{"id":1},"owner":{"id":1}}},"scope":"view:data"},"labels":{"id":"4c237a78-9aa2-4ac2-b3fc-2fdf3336f7d6","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":70449,"timer_rego_query_eval_ns":1365731,"timer_server_handler_ns":1476350},"msg":"Decision Log","path":"tasks/allow","requested_by":"<IP_ADDRESS>:39018","result":true,"time":"2022-10-03T21:22:15Z","timestamp":"2022-10-03T21:22:15.808148323Z","type":"openpolicyagent.org/decision_logs"}
{"client_addr":"<IP_ADDRESS>:39018","level":"info","msg":"Sent response.","req_id":21,"req_method":"POST","req_path":"/v1/data/tasks/allow","resp_bytes":68,"resp_duration":1.758158,"resp_status":200,"time":"2022-10-03T21:22:15Z"}

It seems strange to me, that when executing serverless function on 1 image — "path":"tasks/allow". Why is it going to "tasks/allow", shouldn't it be "jobs/allow", @nmanovic or @bsekachev ? Could you fix it, please?
P.S.
In the second case I've also tried to make "Automatic annotation" for the whole task, but got the error (Could not infer model for the task 46 Error: Request failed with status code 403. {"detail":"You do not have permission to perform this action."}.) and the following logs in cvat_opa:
{"client_addr":"<IP_ADDRESS>:56918","level":"info","msg":"Received request.","req_id":51,"req_method":"POST","req_path":"/v1/data/lambda/allow","time":"2022-10-03T21:26:48Z"}
{"decision_id":"cd9cedb9-dffe-4e55-94a6-5ee7f4bee3fa","input":{"auth":{"organization":{"id":1,"owner":{"id":1},"user":{"role":"worker"}},"user":{"id":2,"privilege":"user"}},"resource":null,"scope":"call:offline"},"labels":{"id":"4c237a78-9aa2-4ac2-b3fc-2fdf3336f7d6","version":"0.34.2"},"level":"info","metrics":{"counter_server_query_cache_hit":1,"timer_rego_input_parse_ns":94255,"timer_rego_query_eval_ns":778059,"timer_server_handler_ns":940245},"msg":"Decision Log","path":"lambda/allow","requested_by":"<IP_ADDRESS>:56918","result":false,"time":"2022-10-03T21:26:48Z","timestamp":"2022-10-03T21:26:48.800142299Z","type":"openpolicyagent.org/decision_logs"}
{"client_addr":"<IP_ADDRESS>:56918","level":"info","msg":"Sent response.","req_id":51,"req_method":"POST","req_path":"/v1/data/lambda/allow","resp_bytes":69,"resp_duration":1.449148,"resp_status":200,"time":"2022-10-03T21:26:48Z"}

The latter problem was fixed with adding this user to the business group in the admin panel.

As a temporary solution I made this modification to the cvat/apps/iam/rules/tasks.rego
# git diff cvat/apps/iam/rules/tasks.rego
diff --git a/cvat/apps/iam/rules/tasks.rego b/cvat/apps/iam/rules/tasks.rego
index 639a8bb2..3b2585ce 100644
--- a/cvat/apps/iam/rules/tasks.rego
+++ b/cvat/apps/iam/rules/tasks.rego
@@ -75,6 +75,11 @@ is_task_staff {
     is_task_assignee
 }

+is_task_staff {
+    input.auth.organization.id == input.resource.organization.id
+    utils.has_perm(utils.USER)
+}
+
 default allow = false

 allow {

Now our annotators could use AI Tools in their jobs, without adding them to the admin group with dangerous rights. Removing annotators from the admins also helped to clean up their Jobs page, now they see jobs assigned only to them.

@hadi-ghnd
In the admin panel, once you select a user as shown here.

@alex4men Thanks for the temporary fix! It worked for me as well.

@aliu-dm Thank you.
After I login and hover over my name, there is no option called "Admin Page".

I probably have done something wrong with Django.

@aliu-dm
Looks like this account is not a superuser.
You can create one more superuser using python manage.py createsuperuser command in the container.

@bsekachev Thank you. This solved my problem.

@yasakova-anastasia why did you close it?) It's not solved properly yet.
Still waiting for the answer from @bsekachev or @nmanovic on the question from the message https://github.com/opencv/cvat/issues/4996#issuecomment-1266123032

It seems strange to me, that when executing a serverless function on only one image in a job, we have request with the "path" equals "tasks/allow". Why is it going to "tasks/allow", shouldn't it go to "jobs/allow", @nmanovic or @bsekachev  ?

Is my solution legit, should I make a PR, or is it just a kludge?

@yasakova-anastasia , could you please reproduce and fix if it is a problem on our side?

Hi, I was able to reproduce the problem. Thinking on the fix.

Hi, I can reproduce the problem.

@Answergeng
Please, provide the version you are using.

2.3.0 from last week

@Answergeng
Your screenshot has another error, not with 403 code.
Probably you need to restart nuclio_dashboard container or a container with the model.


New Single Pass Rendering bug

I just upgraded to Unity 5.5 and I'm hitting an issue with the latest Unity 5.5.0f3 and 5.5.0p1, if I have Stereo Rendering Method on "Single Pass", the left eye is OK, but the right eye is not warped correctly and is offset a big amount. So it is impossible for both eyes to focus and merge the image.
Turning it to "Multi Pass (Slow)" works just fine, but I'm guessing I lose a lot of performance.  Has anyone else seen this issue?  This is with the other adaptive quality fix (Move UpdateAdaptiveQuality() from OnPreCull to LateUpdate)
Thanks!

Has single pass ever worked? I feel like the last time I tried it I just ended up with a horribly distorted image in both eyes.

it was working just fine when I was on 5.4.3f3

Ah I'm still on 5.4.1f1 and both eyes are incorrectly scaled.

I just updated to 5.5.0f3 and single pass seems to be working fine for me. I tried the 5.6 beta first, but got weird performance drops and delayed shadows.

I just saw what you described, but it went away after I restarted Unity.

I'll try again, but that could also be a performance thing...like restarting unity cleared something and got you above a perf threshold.

On Dec 16, 2016, at 11:42 PM, Selkcip<EMAIL_ADDRESS>wrote:
I just saw what you described, but it went away after I restarted Unity.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

My dev system is min spec basically. Core i7 with GeForce 970.

On Dec 16, 2016, at 11:42 PM, Selkcip<EMAIL_ADDRESS>wrote:
I just saw what you described, but it went away after I restarted Unity.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

The adaptive quality problem is getting worse. I get the same problem with single pass(fast) and it is still there no matter how many times I restart Unity.
Temp solution for me is using Multi Pass and turn off adaptive quality on valve camera. I get a huge performance increase when I do this. So I guess there must be some compatible issue with Unity 5.5.

I don't know that this one is related to adaptive quality, there was another issue for that.
But I did end up getting this issue permanently a while ago when using single pass rendering. I don't know why I wasn't seeing it for so long.

Oh, my bad. I mean adaptive quality has some performance issue.  The single pass may be related to Valve Camera or maybe be a bug of Unity. Someone on Unity forum fixed it by reimport all asset. I will try.

Fixed with reimport. This must be a bug of Unity 5.5.

Reimporting fixed it for me too, thanks!

@SmartCarrion - FYI, this (and the adaptive quality bug) seem to both be fixed in recent Unity versions.


Inquiry about MLflow Logging Integration

I’m interested in knowing if there are plans to include MLflow logging functionality in the project. It’s not currently on the roadmap, would it be possible for me to create a pull request to add this feature?

Hello We don't have plan on this but feel free to open an PR for this