Allow custom SycamoreQueryClient in query-ui + cleanup

Tested by creating a broken SycamoreQueryClient in the custom_client file and verifying things break.
Added an initialization line in generated code, that still needs iterating and some revamping.

So, it seems like the only real customization happening here is setting context values when we do sycamore.init(), right? I wonder if we shouldn't have this instead be something where SycamoreQueryClient can read a local 'sycamore.yaml' file which has its various config parameters (falling back to default values if not present). WDYT?

That makes it hard to send in custom class implementations (eg llm). Works fine for just scalar configs

I don't love it but we can iterate :-)


Adding Sticky Navigation Bar On Scroll

can u assign me this issue under JWOC

Can u assign me this issue under JWOC?

@mrbhatt2348 please assign me this issue under JWOC


Getting Error when I run flutter doctor command

Getting error message Unable to find a file name 'pubspec.yaml'

Please add the full error output.
From what directory did you run flutter doctor?
Does that directory contain a pubspec.yaml file?


Pulling improvements into Selenium2Library

I'm hoping to make some pull requests on Selenium2Library soon to include some of the fixes and functionality from this repo.  Some important keywords were added here that I use often, and I think that it would be worth making a pull request to add them to S2L.
Has anyone else considered this or is anyone else currently working on this?

The original Selenium2Library is in the middle of a big rework, and since this extension library uses Selenium2Library's internal methods directly, the library will likely need a rework as well once they're done. Not to mention some keywords implemented with this extension library might be added to the next release of Selenium2Library.
This request will be reviewed on the next stable release of the main library

If you are referring to the architecture change then they have already completed that:
https://github.com/robotframework/Selenium2Library/pull/770
I don't think they've made a new release to pypi yet though.

I'm actively using both so I'll may take some steps on updating the this repo to be compatible with the future release ahead of time.


Compliation error for newer version of Gazebo

I am getting a error inside this if block:
#If GAZEBO_MAJOR_VERSION >= GAZEBO_ADVANCED_JOINTCONTROLLER_VERSION

because ‘_modelJointController’ was not declared in this scope.
I just added the its definition like this, and it is ok now:
physics::JointControllerPtr _modelJointController = _parent->GetJointController();

Ok, thanks for letting me know! As with issue #3 , I am hoping to get the stuff up and running with newer versions soon.

Cheers!

Solved with the last commit. Sorry this was a bug introduced when I was debugging on an older version and I didn't notice it.


standalone launch for multi-vehicle stratified current demo

Just adding in a missing launch file so the multi-vehicle transient current demo will run.  File copied from master branch into dave_demo_launch/launch folder.

@j-herman How do you run this example - i.e., how would you like a reviewer to test the modification prior to approval?
Is there an associated wiki/tutorial?
Finally, it is a good idea to add a preferred reviewer so that folks get tagged and we can coordinate.
Thank you!

@j-herman How do you run this example - i.e., how would you like a reviewer to test the modification prior to approval?
Is there an associated wiki/tutorial?
Finally, it is a good idea to add a preferred reviewer so that folks get tagged and we can coordinate.
Thank you!

In work!  I wanted to get the checks started asap.
This file supports the multi-vehicle portion of the Ocean Current tutorial (https://github.com/Field-Robotics-Lab/dave/wiki/Ocean-Current).  To run the demo:
roslaunch dave_demo_launch dave_transientcurrent_demo.launch
In a second terminal:
roslaunch dave_demo_launch dave_transient_current_multi.launch
To observe the two different current values (Smilodon's should be larger):
rostopic echo /hydrodynamics/current_velocity/smilodon
rostopic echo /hydrodynamics/current_velocity/rexrov

When I try the first (there is a typo in your roslaunch)
roslaunch dave_demo_launch dave_transient_current_demo.launch

I get errors which look like they are associated with python3.
Package pymap3d is not available, WGS84 coordinates cannot be used
Download pymap3d for Python 2.7 as
>> sudo pip install pymap3d==1.5.2
or for Python 3.x as
>> sudo pip install pymap3d
spawn_model script started
Traceback (most recent call last):
  File "/home/bsb/uuv_ws/devel/lib/uuv_manipulators_control/gripper_controller.py", line 15, in <module>
    exec(compile(fh.read(), python_script, 'exec'), context)
  File "/home/bsb/uuv_ws/src/uuv_manipulators/uuv_manipulators_control/scripts/gripper_controller.py", line 18, in <module>
    from uuv_manipulator_interfaces import GripperInterface
  File "/home/bsb/uuv_ws/devel/lib/python3/dist-packages/uuv_manipulator_interfaces/__init__.py", line 34, in <module>
    exec(__fh.read())
  File "<string>", line 17, in <module>
  File "/home/bsb/uuv_ws/src/uuv_manipulators/uuv_manipulators_kinematics/src/uuv_manipulator_interfaces/gripper.py", line 25
    from __future__ import division
    ^
SyntaxError: from __future__ imports must occur at the beginning of the file
Traceback (most recent call last):
  File "/home/bsb/uuv_ws/devel/lib/uuv_manipulators_kinematics/kinematics_service.py", line 15, in <module>
    exec(compile(fh.read(), python_script, 'exec'), context)
  File "/home/bsb/uuv_ws/src/uuv_manipulators/uuv_manipulators_kinematics/scripts/kinematics_service.py", line 22, in <module>
    from uuv_manipulator_interfaces import ArmInterface
  File "/home/bsb/uuv_ws/devel/lib/python3/dist-packages/uuv_manipulator_interfaces/__init__.py", line 34, in <module>
    exec(__fh.read())
  File "<string>", line 17, in <module>
  File "/home/bsb/uuv_ws/src/uuv_manipulators/uuv_manipulators_kinematics/src/uuv_manipulator_interfaces/gripper.py", line 25
    from __future__ import division
    ^
SyntaxError: from __future__ imports must occur at the beginning of the file
Traceback (most recent call last):
  File "/home/bsb/uuv_ws/devel/lib/uuv_manipulators_control/joint_position_controller.py", line 15, in <module>
    exec(compile(fh.read(), python_script, 'exec'), context)
  File "/home/bsb/uuv_ws/src/uuv_manipulators/uuv_manipulators_control/scripts/joint_position_controller.py", line 19, in <module>
    from uuv_manipulator_interfaces import ArmInterface
  File "/home/bsb/uuv_ws/devel/lib/python3/dist-packages/uuv_manipulator_interfaces/__init__.py", line 34, in <module>
    exec(__fh.read())
  File "<string>", line 17, in <module>
  File "/home/bsb/uuv_ws/src/uuv_manipulators/uuv_manipulators_kinematics/src/uuv_manipulator_interfaces/gripper.py", line 25
    from __future__ import division
    ^
SyntaxError: from __future__ imports must occur at the beginning of the file
[rexrov/oberon7/gripper_controller_oberon7-15] process has died [pid 8184, exit code 1, cmd /home/bsb/uuv_ws/devel/lib/uuv_manipulators_control/gripper_controller.py joy:=/rexrov/joy __name:=gripper_controller_oberon7 __log:=/home/bsb/.ros/log/12f0baba-f167-11eb-bb9f-0242ac110003/rexrov-oberon7-gripper_controller_oberon7-15.log].
log file: /home/bsb/.ros/log/12f0baba-f167-11eb-bb9f-0242ac110003/rexrov-oberon7-gripper_controller_oberon7-15*.log
[INFO] [1627671058.271940, 0.000000]: Loading model xml from ros parameter
[INFO] [1627671058.275430, 0.000000]: Controller Spawner: Waiting for service controller_manager/load_controller
[INFO] [1627671058.280946, 0.000000]: Using the ENU coordinates to spawn the model
[INFO] [1627671058.282534, 0.000000]: Initial position wrt the world frame: (4.00, 4.00, -93.00)
[INFO] [1627671058.284418, 0.000000]: Waiting for service /gazebo/spawn_urdf_model
[INFO] [1627671058.285095, 0.000000]: Controller Spawner: Waiting for service controller_manager/load_controller
WARNING: CPU random generator seem to be failing, disable hardware random number generation
WARNING: RDRND generated: 0xffffffff 0xffffffff 0xffffffff 0xffffffff
[rexrov/oberon7/kinematics_service-16] process has died [pid 8203, exit code 1, cmd /home/bsb/uuv_ws/devel/lib/uuv_manipulators_kinematics/kinematics_service.py __name:=kinematics_service __log:=/home/bsb/.ros/log/12f0baba-f167-11eb-bb9f-0242ac110003/rexrov-oberon7-kinematics_service-16.log].
log file: /home/bsb/.ros/log/12f0baba-f167-11eb-bb9f-0242ac110003/rexrov-oberon7-kinematics_service-16*.log
[rexrov/oberon7/joint_position_controller_oberon7-17] process has died [pid 8227, exit code 1, cmd /home/bsb/uuv_ws/devel/lib/uuv_manipulators_control/joint_position_controller.py joy:=/rexrov/joy __name:=joint_position_controller_oberon7 __log:=/home/bsb/.ros/log/12f0baba-f167-11eb-bb9f-0242ac110003/rexrov-oberon7-joint_position_controller_oberon7-17.log].
log file: /home/bsb/.ros/log/12f0baba-f167-11eb-bb9f-0242ac110003/rexrov-oberon7-joint_position_controller_oberon7-17*.log
Gazebo multi-robot simulator, version 11.7.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Wrn] [GuiIface.cc:200] g/gui-plugin is really loading a SystemPlugin. To load a GUI plugin please use --gui-client-plugin
Gazebo multi-robot simulator, version 11.7.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

I'm running in the docker image with the VCS repositories.
I think we'll need to address this PR post 4.0.0

After we merge the v3.1_reorganization branch, please change the destination branch of this PR to master.

FYI if you delete the v3.1_reorganization branch after merging that PR (there will be a delete branch button), this PR will automatically retarget to master.

Typo fixed, and I'll make the changes to the PR.  It looks like the problem is somewhere other than this file so I will start running in docker and see if I can track it down.

It works as it's supposed to be. I think it would be better if the demo launch can show both vehicles in the gazebo window by changing the vehicle and camera positions. @j-herman As this PR is for a standalone launch file, this PR is good to go even if you don't modify the vehicle and camera position.
I am seeing random crashes with UnderwaterObjectPlugin.cc. Something I have not seen in Melodic environments. This error is not specific to this PR. It happens for our basic dave_demo.launch too at both host install and docker environment. I've been working to investigate (will post an issue for this soon).

It works as it's supposed to be. I think it would be better if the demo launch can show both vehicles in the gazebo window by changing the vehicle and camera positions.

That's a good thought.  I will look into making the changes.


easy way to scroll up to the start of a topic

When I joined a zulip instance I wanted to read some old topics from the very start. I was expecting that maybe clicking on the topic would scroll up to the very first message. I'm not sure what the current behavior is when I click on a topic.
Someone suggested that I could click on a topic and then use the scroll bar manually.

The home key can help with this, though it'll paginate in batches of ~100.  If you really want the very first messages, do a search within the topic for near:1.


Refuse static rule with LDAP query

cf. #308

Codecov Report

Merging #309 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #309      +/-   ##
==========================================
+ Coverage   99.67%   99.67%   +<.01%
==========================================
  Files          12       12
  Lines        1849     1855       +6
==========================================
+ Hits         1843     1849       +6
  Misses          6        6

Impacted Files
Coverage Δ

ldap2pg/validators.py
100% <100%> (ø)
:arrow_up:

ldap2pg/utils.py
99.32% <100%> (ø)
: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 cca2d18...0015662. Read the comment docs.


"github.com/kffl/gocannon" is a program, not an importable package on build when using as a library

I'm getting the following error when I try to use gocannon as a library in a program:
> go build
main.go:9:2: import "github.com/kffl/gocannon" is a program, not an importable package

Code:
package main

import (
	"fmt"
	"os"
	"runtime"
	"time"

	gocannon "github.com/kffl/gocannon"
	"github.com/kffl/gocannon/common"
)

func main() {
	duration := time.Second * 1
	connections := 50
	cpus := runtime.NumCPU()
	timeout := time.Millisecond * 200
	mode := "reqlog"
	outputFile := ""
	interval := time.Millisecond * 250
	preallocate := 1000
	method := "GET"
	body := common.RawRequestBody{}
	header := common.RequestHeaders{}
	trustAll := false
	format := "default"
	plugin := ""
	target := "http://localhost:8080/v1/dict/roles"

	cfg := common.Config{
		Duration:    &duration,
		Connections: &connections,
		CPUs:        &cpus,
		Timeout:     &timeout,
		Mode:        &mode,
		OutputFile:  &outputFile,
		Interval:    &interval,
		Preallocate: &preallocate,
		Method:      &method,
		Body:        &body,
		Headers:     &header,
		TrustAll:    &trustAll,
		Format:      &format,
		Plugin:      &plugin,
		Target:      &target,
	}
	g, err := gocannon.NewGocannon(cfg)

	if err != nil {
		fmt.Println(err)
		os.Exit(1)
	}

	g.Run()
}

Thanks for reporting this issue. It indeed seems that core gocannon functionality has to be moved into a separate package outside of main in order to resolve the import error that you have encountered. I will open a PR with a fix in a moment.


DevExperience: Add automated vulnerability scan for container images

DevExperience: Add automated vulnerability scan for container images
Explanation
To provide our users with some level of assurance of quality, we need to make sure the images we create are vulnerability checked as part of the release.
What feature functionality/tasks does this issue cover?

A decision on what constitutes a vulnerability test
Automation of the vulnerability test
Inclusion of test results in release notes
(Optionally) Automated reporting of vulnerabilities as new issues

Provisional BDD

Given a pull request that will result in a new container being built
When the pull request is tested
Then the container image will be vulnerability tested

Hi @brian-burton ,
Does the PR https://github.com/tmforum-oda/oda-canvas/pull/361 cover this issue?


Protractor 3.2.2 depends on a vulnerable version of request

Protractor depends on<EMAIL_ADDRESS>which has a vulnerability:
https://snyk.io/vuln/npm:request:20160119
I know this vulnerability is only applicable when request is used in a web app, but any users that are automating vulnerability checking (with Node Security Project or snyk etc.) will have failed builds with<EMAIL_ADDRESS>Maybe you should add some vulnerability checking in your build pipeline? This is the second time in a week I've raised an issue on this project about vulnerable dependencies.

Request dependency is being removed from protractor. It will (in the future https://github.com/angular/protractor/pull/3068) use webdriver-tool as a dependency and it uses 2.69.0. See https://github.com/angular/webdriver-tool/blob/master/package.json
If this issue is causing a problem for your testing, feel free to reopen this bug with an example of the test with logs to show how this is causing a security problem for you. This is already a planned pull request and does not seem to be an issue for the next release of protractor.

In this case this isn't a security problem, rather than automation problem. But good news it looks like it'll naturally go away in the near future. Cheers!


Compiled protobufs from custom ROS message throw errors when included in separate ROS package

Setup
Ubuntu 20.04
ROS2 Foxy (apt install)
eCal v5.12.0-nightly-26-ga57825bd8 (07.03.2023) (built from source from master branch)
rmw_ecal master
rosidl_typesupport_protobuf master
protoc --version = libprotoc 3.6.1
I've made a ROS2 package with a custom 'Num.msg' ROS message and successfully built it with colcon. In the workspace's install directory I can see the generated proto file and compiled header files.
Including 'num.hpp' in a simple ROS publisher script, I can run
 RMW_IMPLEMENTATION=rmw_ecal_dynamic_cpp ros2 run cpp_pubsub talker
And the script works as expected. Running
 RMW_IMPLEMENTATION=rmw_ecal_proto_cpp ros2 run cpp_pubsub talker
returns
terminate called after throwing an instance of 'std::runtime_error'   what():  Unsupported type support.
I assume this is because I need to include Num.pb.h? However, when I include this in my project, the build fails, due to syntax errors in the pb.h file.
I believe closed #19 may be related.
I have built the two packages in the same workspace and sourced the message package before building the publisher package.
I've also built the latest version of protobuf from source as recommended and the errors still occur.
Is there any updated advice on this issue please?

If I recall correctly, the Num.pb.h should be included by the rosidl_typesupport_protobuf. Your own application should only use the standard ros message.
Have you build and sourced the typesupport, before you built your application? To me it sounds like the rosidl_typesupport_protobuf is not sourced correctly. Do other builtin messages work for you? you need to check those out as well and build the typesupport along with the builtin_messages.


RTSP Stream

Hi,
Would it be possible for it to pull the audio from an RTSP stream from a IP CCTV camera

The library will work with any pcm audio samples. You will need to extract the audio from the RTP stream and feed the decoded samples. However pulling audio from an RTP stream is not part of this repo.


Add more Pyflakes docs

Summary
Add docs for Pyflakes string rules (F6) apart from F621 which I don't think I can do justice at the moment.
Related to #2646.
Test Plan
Ran scripts/check_docs_formatted.py on local machine.

cargo clippy -p ruff_wasm --target wasm32-unknown-unknown --all-features -- -D warnings completed on my machine in 3 minutes, so I am not sure why the action timed out


My-Mz calculation discrepancies for N=0 in cross section

When validating the cross-section calculations for the My-Mz diagram, discrepancies were found when computing the diagram for axial load N=0 compared to established software.
Please refer to Point 9 in this notebook developed by @MestreCarlos for more details and illustrations.

To me it seems to work as expected.
You can see here a test comparing with a standard software used in Italy.
# imports
from math import pi
from shapely import Polygon
import numpy as np
import matplotlib.pyplot as plt
from structuralcodes.materials.concrete import ConcreteEC2_2004
from structuralcodes.materials.reinforcement import ReinforcementEC2_2004
from structuralcodes.geometry import SurfaceGeometry
from structuralcodes.sections import add_reinforcement_line, GenericSection

# Materials
concrete = ConcreteEC2_2004(25)
reinforcemnet = ReinforcementEC2_2004(fyk=500, Es=200000, density=7850, ftk=550, epsuk=0.07)
reinforcemnet.constitutive_law = 'elasticperfectlyplastic'
# Create section
poly = Polygon(((0, 0), (350, 0), (350, 500), (0, 500)))
geo = SurfaceGeometry(poly, concrete)
geo = add_reinforcement_line(geo, (50, 450), (300, 450), 20, reinforcemnet, n=6)
geo = add_reinforcement_line(geo, (50, 50), (300, 50), 12, reinforcemnet, n=3)
# Without axial force this is actually not needed, but I am doing anyway
geo = geo.translate(-175, -250)
sec = GenericSection(geo)
# sec = GenericSection(geo, integrator='fiber', mesh_size=0.0001)

sec.geometry

Domain for N = 0:
res = sec.section_calculator.calculate_mm_interaction_domain()
plt.plot(res.m_y*1e-6, res.m_z*1e-6, label='structuralcodes')
plt.grid()
plt.xlabel('My [kNm]')
plt.ylabel('Mz [kNm]')
plt.plot(-my_mz_vcaslu[:,0], my_mz_vcaslu[:,1], '--o', markersize=2, lw=0.5, label='VCA-slu')
plt.legend()
plt.title('N = 0 kN')

Domain for N = -500 kN:
res = sec.section_calculator.calculate_mm_interaction_domain(n=-500e3)
plt.plot(res.m_y*1e-6, res.m_z*1e-6, label='structuralcodes')
plt.grid()
plt.xlabel('My [kNm]')
plt.ylabel('Mz [kNm]')
plt.plot(-my_mz_vcaslu[:,0], my_mz_vcaslu[:,1], '--o', markersize=2, lw=0.5, label='VCA-slu')
plt.legend()
plt.title('N = -500 kN')

Probably, as the case before the apparent difference is for having the coordinate 0,0 not at the baricenter of concrete section as I mentioned in #140. It is intended to include also N * e in computation of M when there is an eccentricity between baricenter of concrete and (0,0). See also following comparison from Italian software Vcaslu:

Is this issue solved by translating the section to the origin?


Tests for MSC3970

This sits on top of #622
Still WIP

Now that MSC3970 has been accepted this PR is superseded by https://github.com/matrix-org/complement/pull/637 and so should be closed.


test: Switch back to official kind image

The kindest/node:v1.24.3 has been recently released, and it contains the Ubuntu base distro switch [1]. Therefore, we no longer need to use my custom image.
[1]: https://github.com/kubernetes-sigs/kind/pull/2838
The CI has passed https://github.com/cilium/cilium/runs/7741071236?check_suite_focus=true.

When backporting this to v1.12, I think we still want the other changes from #20682, namely a03d642b033037b145ca45fbee2050d2fcf3cfde and d22c92a35e1e76b32331e79fc764db3bacf6e9d7.

does this still need to be backported? it was skipped in the backports PR https://github.com/cilium/cilium/pull/20867, but has been merged for 9 months


Examples code

Hello,
Great library here. Can you please upload the code for the example gifs? It would be super helpful!

Thank you :)
Sample screenshots already attached :)
I am attaching a short video.
https://user-images.githubusercontent.com/36849861/209683723-c9d345b7-cbca-4ed3-8ec2-a45b31f5b35d.mov

Hello @sekizlipenguen ,
Looks like I wasn't clear with my question. Is it possible for you to upload the code for the app that we can see in the README? The app which you are showing in the example with all the different popups and stuff.
If I can see the code for that, it would serve as a great reference for my own implementation


crashes with angular 1.6.0 on chrome 55

*worked with angular 1.5.9
*tried with both video.js 5.12.6 and 5.14.1
edit
this seems to relate to a very weird chrome issue which started after updating angular and persisted until I uninstalled chrome, deleted appData/local/chrome, and re-installed.
closing this as it is not related to vjs-video. sorry

Oh thanks! You had me worried there. As a result of this, I will update the test suite to test against 1.6.


Update namspace and service part of ui.md

Namespace can not contain capital letter.
For service, internal endpoints for cluster connections and external endpoints for external users. Here, it lost "external".

This change is

@sallydeng Can you change "...dashes (-), can not contain capital letters." to "...dashes (-) but cannot contain capital letters." Thx

@chenopis ok, I have changed it base your comment, thx~

Thx @sallydeng !


Assert on NULL user_data in netcode_generate_connect_token()

Just a minor issue I ran into: netcode_generate_connect_token() and netcode_generate_connect_token_private() assert on user_data, but the latter checks for a null pointer, so the asserts can possibly be removed.

Got it. Throw me a pull request and I'm happy to consider this change!


Not display "X is enabled but not installed" prompts if there's a .devcontainer folder in the workspace

This would be for those using the remote - container extension. Since there isn't a direct way to open VS Code in the container environment, users need to open their workspace locally and then either run a command to open in the container, or click on the prompt that is displayed. The problem is, with all the prompts the extension displays, that specific prompt can be missed.  The prompts we usually display are " is not installed", " is not installed", "select interpreter" , and they may not be helpful since the tools and the environment is set up in the container, but not in the local environment.
Spike

[ ] find out if there's a way for the extension to know that you are in the container (so we can display the prompts in that scenario, just not locally)

This is my exact case!  I have my python interpreter, pytest config, black formatter, all of that installed in the container either by docker or by my devcontainer.json post script!  I also store settings in the settings file local the container which again isn't available at start.

We no longer show these at startup.


[image_picker] Picking large video files (i.e. 1Gb) freezes UI for a long time without providing progress indication

I'm pretty sure this is the way Image Picker is designed. And it works fine for images. While when you pick large video files - i.e. ~1Gb file size - Image Picker UI hangs for a long time (>10 seconds of no response) - so that user will definitely assume something is wrong and will try to exit the app.
Progress indication would solve the issue, probably with cancel button, i.e. if the file selected is too large and user doesn't want to wait more.

Hello @danagbemava-nc, I see this issue on Android 11 (OnePlus 7). Please note that this issue happens when opening big video files only (1Gb or more).
flutter doctor -v
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.19041.1237], locale en-US)
• Flutter version 2.5.3 at C:\sdk\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 18116933e7 (3 weeks ago), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart version 2.14.4
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\esikerin\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.61.2)
• VS Code at C:\Users\esikerin\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.27.0
[√] Connected device (3 available)
• GM1900 (mobile) • ff184dad • android-arm64  • Android 11 (API 30)
• Chrome (web)    • chrome   • web-javascript • Google Chrome 95.0.4638.54
• Edge (web)      • edge     • web-javascript • Microsoft Edge 94.0.992.50
• No issues found!

Hi @lumarama, does the video below capture what you see when you're uploading large video files?

video
https://user-images.githubusercontent.com/88313112/140022863-ec9e41af-4c20-47e2-9be6-1b48cec59980.mp4

@danagbemava-nc In my case it hungs after clicking on video itself right in the file selection UI, then screen goes black for a few seconds and only then it returns to my Flutter App. Take a look:
https://user-images.githubusercontent.com/1443238/140056290-89072276-6ccf-4b53-8788-afbee7c74105.mp4

Thanks for confirming, my screen-recorder app doesn't capture the taps in the recording but it was basically the same as yours.
This seems to be an android only issue, as with iOS, after selecting a video the video is compressed with a progress indicator informing the user of the progress. Although, this could be a system operation.
Labelling for further insight from the team.

video
https://user-images.githubusercontent.com/88313112/140063152-ee992e07-16cd-4c06-82c8-758770e41f52.MP4

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.5.3 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (3 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.61.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.28.0

[✓] Connected device (3 available)
    • M2007J20CG (mobile) • 5dd3be00 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)     • macos    • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)        • chrome   • web-javascript • Google Chrome 95.0.4638.69

• No issues found!

[✓] Flutter (Channel master, 2.6.0-12.0.pre.566, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-12.0.pre.566 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 607d7934c7 (4 hours ago), 2021-11-02 21:23:01 -0700
    • Engine revision 6095a13678
    • Dart version 2.15.0 (build 2.15.0-268.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.61.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.28.0

[✓] Connected device (3 available)
    • M2007J20CG (mobile) • 5dd3be00 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)     • macos    • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)        • chrome   • web-javascript • Google Chrome 95.0.4638.69

• No issues found!

Would you be able to share a video that is 1Gb or larger?

@blasten, I've uploaded a video to this google drive link
https://drive.google.com/file/d/1AlDJFt0vDb8UOKRpioZEqY75vAKiNvQw/view?usp=sharing

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Issue with watching directory with name including glob characters

have a folder "foo*" (extra star at the end)
try to watch it with chokidar
=> it will not work because foo* is treated as glob pattern

How is it possible to use a path "as is" without glob smartness?

There is no option to disable glob matching.
For filenames that use glob characters it should work as that issue has been reported in the past (by you iirc) and fixed.
It may be necessary to look into a similar fix for directory names.
However, I'm not sure why the example you've provided wouldn't already work. foo* as a glob pattern should match foo* as a directory name. Unless the issue is that it's also matching the foobar directory and you don't want that.

Yes, this is an issue for folders I want to watch on that contain glob
sensitive characters.
Am 04.06.2015 2:51 nachm. schrieb "Elan Shanker"<EMAIL_ADDRESS>
There is no option to disable glob matching.
For filenames that use glob characters it should work as that issue has
been reported in the past (by you iirc) and fixed.
It may be necessary to look into a similar fix for directory names.
However, I'm not sure why the example you've provided wouldn't already
work. foo* as a glob pattern should match foo* as a directory name.
Unless the issue is that it's also matching the foobar directory and you
don't want that.
—
Reply to this email directly or view it on GitHub
https://github.com/paulmillr/chokidar/issues/300#issuecomment-108883376.

Can you provide a more realistic example?

Wait, what? How can you say a valid folder name which chokidar cannot watch is not a realistic example :)?

I'm saying that given foo* as a path to watch chokidar would watch a directory named foo* since that matches the glob pattern.
This wouldn't be the case for any glob-like name, so I'm interested in your actual example.

Hm, I was running an example on my Mac with latest chokidar watching a folder "foo*" that was actually on disk (~/Desktop/foo*) and I did not receive file events. I can try again later when I am back at my Mac to post a snippet here, but I thought the issue was more obvious.

@es128 Here are the steps:

have a folder on the desktop called bar with a folder called foo*
run following code
drop a file into the folder foo*
you dont see an output for the event

var chokidar = require("chokidar");

var watcher = chokidar.watch('/Users/<name>/Desktop/bar/foo*');
watcher.on("all", function(event, path) {
	console.log(event, path);
});

The question here is: the foo* folder name is an actual real-world case in your project(s) or it's just a scenario?

The folder in question was "js* - rewrite" by a colleague of mine using Visual Studio Code, complaining file events do not work. So yeah, this is real!

We have hit the same issue in wallaby.js. Here is what we do:
let Watcher = require('chokidar').FSWatcher;
let watcher = new Watcher({ cwd: '/downloads/project (1)' });
watcher.add('test/**/*.js');
watcher.on('add', p => console.log(p));

So while watcher.add('test/**/*.js'); is totally expected to accept glob patterns, cwd in our case is a project root, for example an unzipped project archive downloaded from GitHub. When a user downloads something multiple times, he may end up having project (1), project (2), etc. folders named automatically. If it's not possible or hard to make an option to use all paths without glob smartness, then at least the cwd part should not be treated as a glob pattern. Does it make sense?

I have the same issue with brackets /Dropbox/Photos (Tony)/ - this is very common i'd think

I have the same issue with watching a folder containing '!' character, for example 'c:\Works\!tests' - changes for files in such folder are not watched.
Is there any workaround for this (except renaming the folder)?

Hi all, I want to help with this issue, will try to reproduce mentioned cases and return with results in day or two:)

Meh, too busy, take a pause with this(

C'mon! If you claim to support glob syntax, support escaping too.Or at least add an option to disable globs.

Agree.

@es128 @paulmillr can you point me to the location in code where a folder is being treated as glob pattern when found on disk? I would like to disable this in my fork of chokidar

Any news on this? Also a default-off option is welcome. I see there's already a PR, but it was not accepted. Atm I can't use livereload because I'm working in a folder containing parenthesis...

Problems with parentheses will be solved by #535 once the apparent windows issues there are resolved.
A different fix will still be needed for other sorts of glob characters like asterisks.

Great! :v: Thank for your reply.

Still broken on Windows? I can't find details about the issue on Windows, can you explain?

There is no clear way to work around this issue on Windows, where the following are all valid folder names but are indistinguishable from globs:
!folder
folder [1]
folder {1}

The latest is-glob supports escaping glob characters with backslash, but of course that doesn't work on Windows because backslash is the path separator.
Has anyone done the work to add an option to disable globbing globally? If not, would you accept a pull request to add a global option to disable globs? It would be such a minimal change and would solve a lot of people's problems.

would you accept a pull request to add a global option to disable globs?

Maybe, but it might not be as simple as you think. I'm more eager for a PR that updates to is-glob@3 and solves the related windows issues that show up in the tests when doing so.

doesn't work on Windows because backslash is the path separator

Forward slash is also a valid path separator on Windows, so it can work. But yes, it is sometimes tricky when also using stuff like path.join()

My naive approach would be to skip the isGlob check in _getWatchHelpers if the proposed global flag was set. Why would it be more complicated than that?

I'm more eager for a PR that updates to is-glob@3

How could any possible update to is-glob correctly determine whether folder [1] is a path or a glob? It is a valid folder name and a valid glob. The only way is for the user to indicate which it is. The nicest solution would be a flag to (or alternative version of) add so that the user can add both globs and paths. But a global flag solves a lot of problems for not much work, hence I suggest doing this first.

Forward slash is also a valid path separator on Windows

I don't think you want to force Windows users to use forward slashes in all their paths. That would create a lot more issues than it solves.

Try the naive approach, let's see what happens. Honestly, I don't remember what the gotchas were when I've looked at this in the past.
Updating is-glob would allow the possibility of at least escaping the special characters - a viable workaround for this edge case. It would not require all windows paths to use forward slashes. But I agree with your perspective that any solution cannot knowingly impact other users who are not currently having problems.

The disableGlobbing option is now merged into master, so if you have problems caused by unwanted globbing give it a try. (It is not yet in npm.)

Very nice, thanks!

@es128 Will there be a new release soon?

Yes

Since disableGlobbing isn't possible per glob or even only for the cwd option. I resolved my issue with parentheses in folder name this way { "cwd": projectdir.replace(/[()]/g, "?") }. So "folder (2)" becomes "folder ?2?" which will glob match the former.
Haven't tested but.. Maybe escape everything but * and ** (.replace(/[()!+@\[\]]/g "?")) would be sane for my scenario using Gulp. Gulp docs never mention anything but * and ** anyway. (Glob character source.)


🔑  ITHC Support

User Story
Analytical Platform is undergoing an IT Health Check from Monday, March 4th to Monday, March 11th.
In order to get the most out of the exercise, we need to provide support (on occasion time-critical) to the testers.
Value / Purpose
The quality of the support will correlate to the quality of the check output and will result in minimum time lost.
Useful Contacts
@julialawrence
Proposal

Attend daily standups
Monitor for support requests and action them promptly
Resolve any access issues

Additional Information
Testing will be carried out during business hours of 8:00 - 17:00
No out of hours support will be required, requested or provided.
Outside of issues relating to service outages, for the duration of the ITHC, this is our priority.
Definition of Done

[ ] Required support provided

4/3 Recap:
Work stream 3
9:30 Got github accounts for today's activity
9:54 Onboarded github accounts and provisioned access
9:56 Jacob asked for clarification on what superuser accounts can do
9:57 Explained what Superuser accounts are able to do
9:58 Asked what regular accounts can do
11:01 Explained what regular accounts can do
13:54 Jacob asked about working Grafana link
14:01 explained that grafana has been retired (Asked @jacobwoffenden to raise a ticket to roll those logs into Obs Plat)

4/3 Recap Continued:
Work stream 1 (EKS)
10:54 Felix unable to find EKS cluster
11:04 We passed over an aws config file and the assume role urls for all accounts but didn't make clear on the naming which caused confusion. Naming clarified, issue resolved.
No further issues raised.

5/3 Recap:
Workstream 2 (AWS)
9:15 Standup: Lewis confirmed he was able to log in and asked for clarification on what account/region the services he is looking at reside in. Resoved in standup: confirmed account and region
14:09pm Lewis asked for confirmation about which account he is to look at
14:12pm Confirmed it's the above account (double-checked account via last four digits of account id)

5/4 AM Recap:
Standup: No issues from NCC team, MOJ requested look at QS. NCC agreed if time allows, asked for QS onboarding help as getting permission error when trying to sign up
12:24 Let Lewis know he should be able to sign up for QS.
12:40: Ack

7/3 Recap:
9:15 (Standup) NCC picked up a couple of public S3 buckets and asked for clarification on their use. Conversation continued in the slack channel afterwords.
9:29 Picking up on another thread started in standup, NCC queried the use of the APIs.
9:29 Explanation provided.

8/3 (Ongoing)
9:15 (Standup): Picked up conversation around S3. Resolved in standup
9:15 (Standup): Questions about AP tooling. Agreed to pick up in slack. Final standup of engagement.

8/3 (Ongoing)
9:53 MOJ forwarded offered supporting material to NCC via DM.


Graddle issue with test application

Steps to Reproduce

Install Flutter
Run the default app in Android Studio

Logs
 Launching lib\main.dart on Pixel 2 XL in debug mode...

Initializing gradle...
Resolving dependencies...

Error running Gradle:
Exit code 1 from: E:\Flutter Apps\hello_rectangle\flutter_app\android\gradlew.bat app:properties:
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.

FAILURE: Build failed with an exception.

Where:
Build file 'E:\Flutter Apps\hello_rectangle\flutter_app\android\app\build.gradle' line: 25

What went wrong:
A problem occurred evaluating project ':app'.

Could not resolve all files for configuration 'classpath'.
Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 0s
Finished with error: Please review your Gradle project setup in the android/ folder.

Same issue here, seems that lint-gradle-api 26.1.2 is gone from jcenter...

Looks like there is a fix happening here https://github.com/flutter/flutter/pull/23397

Merging with 23404


Need help with rstudioWrapper and sf

Hello,
I have the following default.nix file:
with (import <nixpkgs> {});
let
  buildInputsEnv = [
    arpack
    libglvnd
    mesa.drivers
    postgresql
    gdal
    geos
    proj
    sqlite
  ];

  rPackagesEnv = [
    rPackages.class
    rPackages.ggplot2
    rPackages.KernSmooth
    rPackages.knitr
    rPackages.RPostgreSQL
    rPackages.s2
    rPackages.sf
    rPackages.units
  ];

  rEnv =
    pkgs.rWrapper.override {
      packages = rPackagesEnv ++ buildInputsEnv;
    };

  rstudioEnv =
    pkgs.rstudioWrapper.override {
      packages = rPackagesEnv ++ buildInputsEnv;
    };
in
stdenv.mkDerivation rec {
  name = "env";
  env = buildEnv {
    name = name;
    paths = buildInputs;
  };
  buildInputs = ([
    rEnv
    rstudioEnv
    #R
    #rstudio
  ] ++ buildInputsEnv);
}

Basically it creates environments for rWrapper and rstudioWrapper. However the R interpreters behave differently.
When I start R and type library("sf") I'm getting
Linking to GEOS 3.11.1, GDAL 3.6.1, PROJ 9.1.1; sf_use_s2() is TRUE

However when running rstudio and running the above I have
Error: package or namespace load failed for 'sf' in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/nix/store/vhjmjbhqqd749f664bny48bfl89bdb1v-r-sf-1.0-9/library/sf/libs/sf.so':
  libarpack.so.2: cannot open shared object file: No such file or directory

What could be the issue?

Hi, I wasn't able to reproduce this issue in my (relatively new) NixOS and WSL environments. Everything seems to have worked perfectly on both platforms. Any chance this is a Mac OS issue?

I'm using Ubuntu 22.10.

Not sure if this improves things, but you might try nix-channel --update to see if the that helps.
And/or try a stable version of nixpkgs if you're not using that already. You can replace the import statement at the top with something like:
with (import (builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/06278c77b5d162e62df170fec307e83f1812d94b.tar.gz") {});

which should use the latest stable 22.11 channel (at the time of this post).


Controllers support?

Could it be possible? It would be very useful for flash messages.

Helo @benjamincrozat, the package scans al views and all files in your app directory. So I believe controllers are scanned too, no?

Yes, I didn't saw it because I forgot to prefix keys in the trans() function. Sorry!

No worries :)


How do I trigger a function in the content component from the right button?

Hi @Kureev
Thanks for a great component.
I have a hard time figuring out how I trigger a function on the component from the navbar. For example from the right button. Let's say I have an edit button. When I press that button I want to change something on the component in the route. How is this done correctly, do you have an example or some input?
All help would be much appreciated. Thank you!
Kind regards,
Mathias

I agree. Conceptually I'd like to define functions on a component that are triggered by a buton press on the navbar. However, following the example in the readme. The callback to the next button is defined in the component passing in props to the navigator. Thinking about this myself now.

I think that's more about preferred way to communicate between components. I don't want to push my opinion on it, but one of the possible solutions is to use something like redux

I think i was able to achieve what you are asking about. In my case I need to fire a route change from the custom button.
First I set up a mapper switch statement from the top level Navigator component:
        return (

            <Navigator
                initialRoute={initprops}
                renderScene={this._renderScene}
                />
        );

Then embed the nav in the props of the CustomNext (for some reason i couldnt name it "navigator"):
        switch (route.component) {
            case Events:
                return (
                    <View style={flexd}>
                        <NavigationBar
                            backgroundStyle={{ backgroundColor: 'black' }}
                            customPrev={<CustomPrev/>}
                            customNext={<CustomNext nav={nav} />}/>  /**** <---there ***/
                        <Component navigator={nav}/>
                    </View>
                );
            default:
                return (
                    <View style={flexd}>
                        <Home navigator={nav}/>
                    </View>
                );
        }

And then
class CustomNext extends React.Component {

    goToView(id){
        this.props.nav.push({component:id});
    }

    render() {
        return (
            <TouchableOpacity onPress={() => this.goToView(Events) }>
                <View style={styles.headerX}>
                    <View style={styles.navTop}>
                        <View style={[styles.headerItem]}>
                            <Image
                                source={{ uri: nextImage }}
                                style={styles.rightButton}
                                />
                        </View>
                    </View>
                </View>
            </TouchableOpacity>
        );
    }
}

I'd recommend you create a custom navigation bar for every new screen, but in general, seems you solved you problem :+1:


B 20752 move info

B-20752
Int PR
Summary
This PR is a follow-up to B-20753, which simply adds the new NTS handle in/out fields to the move details page.
Verification Steps for the Author
These are to be checked by the author.

[x] Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

[ ] Has the branch been pulled in and checked out?
[ ] Have the BL acceptance criteria been met for this change?
[ ] Was the CircleCI build successful?
[ ] Has the code been reviewed from a standards and best practices point of view?

How to test

Access the application as a customer, and create a new move with an NTS and NTSR shipments.
Access the office application as a TOO, and pull up the shipment you created.
While on the move details page, ensure the Requested delivery date is present for the NTS Shipment. (See screenshot 1)
While on the move details page, ensure the Requested pickup date is present for the NTS-release Shipment. (See screenshot 1)
Edit the shipments and fill out the Requested delivery date and Requested pickup date for the NTS and NTS-release, respectively.
When back on the move details page, ensure the new values are populated in move details. (See screenshot 2)

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
[ ] This change meets the standards for Section 508 compliance.

Screenshots

This merge has conflicting tests with B-19815, which is now seeing failures. Commit e7c7693 will be added to B-20752 to resolve.


feat: add loader on Home page

fixes #461

Can you add a video

Can you add a video

https://www.loom.com/share/fa365d03b17143dd9e9fd91ed6c90b5f

@JasonDsouza212 I've added the video.

do not use a package for this, you can make a loader yourself also.
adding a package will increase the application bundle size.

do not use a package for this, you can make a loader yourself also. adding a package will increase the application bundle size.

I've made the changes, kindly review

can you add a screen video @kailashchoudhary11

can you add a screen video @kailashchoudhary11

Sure, here is the video.
https://www.loom.com/share/d1b9c61856064984b446243e7958ad1f
You can check it by clicking on Visit Preview.

Ok


Scheduler: Add ServiceBusQueue and ServiceBusTopic action type.

Adding the service bus queue and topic action type to Scheduler SDK

Hi @pinwang81, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (pinwang). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Spot price for XXX->YYY not found on any pair converter plugin

TLDR
Gate.io doesn't support BOBA/USD direct conversion, but it looks like this is manually added to the ccxt.py. |
All the details:
Getting the following error when running the bitbank rest api
ERROR: Fatal exception occurred:
Traceback (most recent call last):
  File "/media/christopher/HDD/git/dali-rp2/src/dali/dali_main.py", line 181, in _dali_main_internal
    resolved_transactions: List[AbstractTransaction] = resolve_transactions(transactions, dali_configuration, args.read_spot_price_from_web)
  File "/media/christopher/HDD/git/dali-rp2/src/dali/transaction_resolver.py", line 263, in resolve_transactions
    transaction = _update_spot_price_from_web(transaction, global_configuration)
  File "/media/christopher/HDD/git/dali-rp2/src/dali/transaction_resolver.py", line 144, in _update_spot_price_from_web
    raise RP2RuntimeError(
rp2.rp2_error.RP2RuntimeError: Spot price for<PHONE_NUMBER>:2022-05-10 06:20:39+00:00:BOBA->USD not found on any pair converter plugin

For context, the lines around transaction_resolver.py (135-148) are as follows:
    if is_unknown(transaction.spot_price) or RP2Decimal(transaction.spot_price) == ZERO:  # type: ignore
        conversion: RateAndPairConverter = _get_pair_conversion_rate(
            timestamp=transaction.timestamp_value,
            from_asset=transaction.asset,
            to_asset=global_configuration[Keyword.NATIVE_FIAT.value],
            exchange=_get_originating_exchange(transaction),
            global_configuration=global_configuration,
        )
        if conversion.rate is None:
            raise RP2RuntimeError(
                f"Spot price for {transaction.unique_id + ':' if transaction.unique_id else ''}"
                f"{transaction.timestamp_value}:{transaction.asset}->{global_configuration[Keyword.NATIVE_FIAT.value]}"
                " not found on any pair converter plugin"
            )

Jumping into _get_pair_conversion_rate:
def _get_pair_conversion_rate(timestamp: datetime, from_asset: str, to_asset: str, exchange: str, global_configuration: Dict[str, Any]) -> RateAndPairConverter:
    rate: Optional[RP2Decimal] = None
    pair_converter: Optional[AbstractPairConverterPlugin] = None
    for pair_converter in global_configuration[Keyword.HISTORICAL_PAIR_CONVERTERS.value]:
        rate = cast(AbstractPairConverterPlugin, pair_converter).get_conversion_rate(timestamp, from_asset, to_asset, exchange)
        if rate:
            break

    if pair_converter is None:
        raise RP2RuntimeError("No pair converter plugin found")

    return RateAndPairConverter(rate, pair_converter)

Here, pair_converter starts as an dali.plugin.pair_converter.historic_crypto.PairConverterPlugin, then moves on to be a dali.plugin.pair_converter.ccxt.PairConverterPlugin. Running along, with the historic_crypto.PairConverterPlugin as the pair_converter' and stepping into get_conversion_rate`:
    def get_conversion_rate(self, timestamp: datetime, from_asset: str, to_asset: str, exchange: str) -> Optional[RP2Decimal]:
        result: Optional[RP2Decimal] = None
        historical_bar: Optional[HistoricalBar] = None
        key: AssetPairAndTimestamp = AssetPairAndTimestamp(timestamp, from_asset, to_asset, exchange)
        log_message_qualifier: str = ""
        if key in self.__cache:
            historical_bar = self.__cache[key]
            log_message_qualifier = "cache of "
        else:
            historical_bar = self.get_historic_bar_from_native_source(timestamp, from_asset, to_asset, exchange)
            if historical_bar:
                self.__cache[key] = historical_bar

        if historical_bar:
            result = historical_bar.derive_transaction_price(timestamp, self.__historical_price_type)
            LOGGER.debug(
                "Fetched %s conversion rate %s for %s/%s->%s from %splugin %s: %s",
                self.__historical_price_type,
                result,
                timestamp,
                from_asset,
                to_asset,
                log_message_qualifier,
                self.name(),
                historical_bar,
            )

        return result

Here,
It appears self.get_historic_bar_from_native_source(timestamp, from_asset, to_asset, exchange) is returning None so diving into there:
    def get_historic_bar_from_native_source(self, timestamp: datetime, from_asset: str, to_asset: str, exchange: str) -> Optional[HistoricalBar]:
        result: Optional[HistoricalBar] = None
        time_granularity: List[int] = [60, 300, 900, 3600, 21600, 86400]
        # Coinbase API expects UTC timestamps only, see the forum discussion here:
        # https://forums.coinbasecloud.dev/t/invalid-end-on-product-candles-endpoint/320
        utc_timestamp = timestamp.astimezone(timezone.utc)
        from_timestamp: str = utc_timestamp.strftime("%Y-%m-%d-%H-%M")
        retry_count: int = 0

        while retry_count < len(time_granularity):
            try:
                seconds = time_granularity[retry_count]
                to_timestamp: str = (utc_timestamp + timedelta(seconds=seconds)).strftime("%Y-%m-%d-%H-%M")
                historical_data = HistoricalData(f"{from_asset}-{to_asset}", seconds, from_timestamp, to_timestamp, verbose=False).retrieve_data()
                historical_data.index = historical_data.index.tz_localize("UTC")  # The returned timestamps in the index are timezone naive
                historical_data_series = historical_data.reset_index().iloc[0]
                result = HistoricalBar(
                    duration=timedelta(seconds=seconds),
                    timestamp=historical_data_series.time,
                    open=RP2Decimal(str(historical_data_series.open)),
                    high=RP2Decimal(str(historical_data_series.high)),
                    low=RP2Decimal(str(historical_data_series.low)),
                    close=RP2Decimal(str(historical_data_series.close)),
                    volume=RP2Decimal(str(historical_data_series.volume)),
                )
                break
            except ValueError:
                retry_count += 1

        return result

The ValueError exception is being fired at the historical_data = HistoricalData(f"{from_asset}-{to_asset}", seconds, from_timestamp, to_timestamp, verbose=False).retrieve_data() line. Rerunning that line in the console of VS Code while debugging I see details on the error:
Traceback (most recent call last):
  File "/media/christopher/HDD/git/dali-rp2/src/dali/plugin/pair_converter/historic_crypto.py", line 45, in get_historic_bar_from_native_source
    historical_data = HistoricalData(f"{from_asset}-{to_asset}", seconds, from_timestamp, to_timestamp, verbose=False).retrieve_data()
  File "/media/christopher/HDD/git/dali-rp2/.venv/lib/python3.10/site-packages/Historic_Crypto/HistoricalData.py", line 130, in retrieve_data
    data.columns = ["time", "low", "high", "open", "close", "volume"]
  File "/media/christopher/HDD/git/dali-rp2/.venv/lib/python3.10/site-packages/pandas/core/generic.py", line 6002, in __setattr__
    return object.__setattr__(self, name, value)
  File "pandas/_libs/properties.pyx", line 69, in pandas._libs.properties.AxisProperty.__set__
  File "/media/christopher/HDD/git/dali-rp2/.venv/lib/python3.10/site-packages/pandas/core/generic.py", line 730, in _set_axis
    self._mgr.set_axis(axis, labels)
  File "/media/christopher/HDD/git/dali-rp2/.venv/lib/python3.10/site-packages/pandas/core/internals/managers.py", line 225, in set_axis
    self._validate_set_axis(axis, new_labels)
  File "/media/christopher/HDD/git/dali-rp2/.venv/lib/python3.10/site-packages/pandas/core/internals/base.py", line 70, in _validate_set_axis
    raise ValueError(
ValueError: Length mismatch: Expected axis has 0 elements, new values have 6 elements

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/media/christopher/HDD/git/dali-rp2/.venv/lib/python3.10/site-packages/Historic_Crypto/HistoricalData.py", line 130, in retrieve_data
    data.columns = ["time", "low", "high", "open", "close", "volume"]
  File "/media/christopher/HDD/git/dali-rp2/.venv/lib/python3.10/site-packages/pandas/core/generic.py", line 6002, in __setattr__
    return object.__setattr__(self, name, value)
  File "pandas/_libs/properties.pyx", line 69, in pandas._libs.properties.AxisProperty.__set__
  File "/media/christopher/HDD/git/dali-rp2/.venv/lib/python3.10/site-packages/pandas/core/generic.py", line 730, in _set_axis
    self._mgr.set_axis(axis, labels)
  File "/media/christopher/HDD/git/dali-rp2/.venv/lib/python3.10/site-packages/pandas/core/internals/managers.py", line 225, in set_axis
    self._validate_set_axis(axis, new_labels)
  File "/media/christopher/HDD/git/dali-rp2/.venv/lib/python3.10/site-packages/pandas/core/internals/base.py", line 70, in _validate_set_axis
    raise ValueError(
ValueError: Length mismatch: Expected axis has 0 elements, new values have 6 elements

And a code snippet from HistoricalData.py:
if response.status_code in [200, 201, 202, 203, 204]:
                if self.verbose:
                    print('Retrieved Data from Coinbase Pro API.')
                data = pd.DataFrame(json.loads(response.text))
                data.columns = ["time", "low", "high", "open", "close", "volume"]

Here it appears the the HTTP response from coinbase is responding with 200 (success), but the response.text is empty, resulting in an empty DataFrame, and then trying to change the column names when there are no columns, results in this Length mismatch error. Maybe this is intentional? Not sure why coinbase would response with success, but with no response.text if this was working as expected, but I'm no HTTP wiz, so maybe this is just how these things work?
Moving on, after HistoricalData.py loops through all the values of time_granularity, and fails each time, we return to transaction_resolver.py, with this time the pair_converter being ccxt.PairConverterPlugin. Stepping into its get_historic_bar_from_native_source:
    def get_historic_bar_from_native_source(self, timestamp: datetime, from_asset: str, to_asset: str, exchange: str) -> Optional[HistoricalBar]:
        self.__logger.debug("Converting %s to %s", from_asset, to_asset)

        # If both assets are fiat, skip further processing
        if self._is_fiat_pair(from_asset, to_asset):
            return self._get_fiat_exchange_rate(timestamp, from_asset, to_asset)

        if exchange == Keyword.UNKNOWN.value or exchange not in _EXCHANGE_DICT or self.__exchange_locked:
            if self.__exchange_locked:
                self.__logger.debug("Price routing locked to %s type for %s.", self.__default_exchange, exchange)
            else:
                self.__logger.debug("Using default exchange %s type for %s.", self.__default_exchange, exchange)
            exchange = self.__default_exchange

        # The exchange could have been added as an alt; if so markets wouldn't have been built
        if exchange not in self.__exchanges or exchange not in self.__exchange_markets:
            if self.__exchange_locked:
                self._add_exchange_to_memcache(self.__default_exchange)
            elif exchange in _EXCHANGE_DICT:
                self._add_exchange_to_memcache(exchange)
            else:
                self.__logger.error("WARNING: Unrecognized Exchange: %s. Please open an issue at %s", exchange, self.issues_url)
                return None

        current_markets = self.__exchange_markets[exchange]
        current_graph = self.__exchange_graphs[exchange]
        from_asset_vertex: Optional[Vertex[str]] = current_graph.get_vertex(from_asset)
        to_asset_vertex: Optional[Vertex[str]] = current_graph.get_vertex(to_asset)
        market_symbol = from_asset + to_asset
        result: Optional[HistoricalBar] = None
        pricing_path: Optional[Iterator[Vertex[str]]] = None

        # TO BE IMPLEMENTED - bypass routing if conversion can be done with one market on the exchange
        if market_symbol in current_markets and (exchange in current_markets[market_symbol]):
            self.__logger.debug("Found market - %s on single exchange, skipping routing.", market_symbol)
            result = self.find_historical_bar(from_asset, to_asset, timestamp, exchange)
            return result
        # else:
        # Graph building goes here.

        if not from_asset_vertex or not to_asset_vertex:
            raise RP2RuntimeError(f"The asset {from_asset} or {to_asset} is missing from graph")
        pricing_path = current_graph.dijkstra(from_asset_vertex, to_asset_vertex, False)

        if pricing_path is None:
            self.__logger.debug("No path found for %s to %s. Please open an issue at %s.", from_asset, to_asset, self.issues_url)
            return None

        pricing_path_list: List[str] = [v.name for v in pricing_path]
        self.__logger.debug("Found path - %s", pricing_path_list)

        conversion_route: List[AssetPairAndHistoricalPrice] = []
        last_node: Optional[str] = None
        hop_bar: Optional[HistoricalBar] = None

        # Build conversion stack, we will iterate over this to find the price for each conversion
        # Then multiply them together to get our final price.
        for node in pricing_path_list:
            if last_node:
                conversion_route.append(
                    AssetPairAndHistoricalPrice(
                        from_asset=last_node,
                        to_asset=node,
                        exchange=current_markets[(last_node + node)][0],
                        historical_data=None,
                    )
                )

            last_node = node

        for i, hop_data in enumerate(conversion_route):
            if self._is_fiat_pair(hop_data.from_asset, hop_data.to_asset):
                hop_bar = self._get_fiat_exchange_rate(timestamp, hop_data.from_asset, hop_data.to_asset)
            else:
                hop_bar = self.find_historical_bar(hop_data.from_asset, hop_data.to_asset, timestamp, hop_data.exchange)

            if hop_bar is not None:
                # Replacing an immutable attribute
                conversion_route[i] = conversion_route[i]._replace(historical_data=hop_bar)
            else:
                self.__logger.debug(
                    """No pricing data found for hop. This could be caused by airdropped
                    coins that do not have a market yet. Market - %s%s, Timestamp - %s, Exchange - %s""",
                    hop_data.from_asset,
                    hop_data.to_asset,
                    timestamp,
                    hop_data.exchange,
                )
            if result is not None:
                # TO BE IMPLEMENTED - override Historical Bar * to multiply two bars?
                result = HistoricalBar(
                    duration=max(result.duration, hop_bar.duration),  # type: ignore
                    timestamp=timestamp,
                    open=(result.open * hop_bar.open),  # type: ignore
                    high=(result.high * hop_bar.high),  # type: ignore
                    low=(result.low * hop_bar.low),  # type: ignore
                    close=(result.close * hop_bar.close),  # type: ignore
                    volume=(result.volume + hop_bar.volume),  # type: ignore
                )
            else:
                result = hop_bar

        return result

As a mental note for this: the exchange starts as Kraken, which is supposedly the default, but a the AssetPairAndHistoricalPrice.exchange value resolves to Gate on the line exchange=current_markets[(last_node + node)][0],
Now we jump into hop_bar = self.find_historical_bar(hop_data.from_asset, hop_data.to_asset, timestamp, hop_data.exchange) and eventually end up here:
historical_data = current_exchange.fetchOHLCV(f"{from_asset}/{to_asset}", timeframe, ms_timestamp, 1)
I notice that the code from gate.py doesn't match the one being used in python, so likely dali is using some older version of this? Anyway, there is an exception firing at:
market = self.market(symbol)
The exception being:

BadSymbol('gateio does not have market symbol BOBA/USD')

This seems to repeat itself until the retry until the request_count exceeds 9.

I think this is simply a bug caused by a typo. The market was set as BOBA/USD, but that market doesn't exist on Gate.io. However, BOBA/USDT does.
Did you try changing lines 105 and 120 to BOBA/USDT, which is a market that exists on Gate.io.

@macanudo527 you got it! I overthought that quite a bit it seems. Thanks!

@macanudo527 after fixing a bunch of other fatal errors I was running into, I'm back on to some of these it seems. Right now I'm failing to find the asset 'ARK' on the graph, and the transaction in question is for ARK<->USD on binance some years ago. Looking on coinmarket cap, there doesn't appear to be any market that currently supports this direct conversion any longer. Any recommendations on how to patch for this? I'm guessing this is where your dijkstra graph should come into play, so if you have any hints as to where I should start, or if there is some other way to do a quick hint-hack.
I'll come back to this tomorrow. Thanks in advance for any foresight.
Here is my backtrace btw:
ERROR: Fatal exception occurred:
Traceback (most recent call last):
  File "/media/christopher/HDD/git/dali-rp2/src/dali/dali_main.py", line 181, in _dali_main_internal
    resolved_transactions: List[AbstractTransaction] = resolve_transactions(transactions, dali_configuration, args.read_spot_price_from_web)
  File "/media/christopher/HDD/git/dali-rp2/src/dali/transaction_resolver.py", line 246, in resolve_transactions
    transaction = _update_spot_price_from_web(transaction, global_configuration)
  File "/media/christopher/HDD/git/dali-rp2/src/dali/transaction_resolver.py", line 136, in _update_spot_price_from_web
    conversion: RateAndPairConverter = _get_pair_conversion_rate(
  File "/media/christopher/HDD/git/dali-rp2/src/dali/transaction_resolver.py", line 108, in _get_pair_conversion_rate
    rate = cast(AbstractPairConverterPlugin, pair_converter).get_conversion_rate(timestamp, from_asset, to_asset, exchange)
  File "/media/christopher/HDD/git/dali-rp2/src/dali/abstract_pair_converter_plugin.py", line 182, in get_conversion_rate
    historical_bar = self.get_historic_bar_from_native_source(timestamp, from_asset, to_asset, exchange)
  File "/media/christopher/HDD/git/dali-rp2/src/dali/plugin/pair_converter/ccxt.py", line 258, in get_historic_bar_from_native_source
    raise RP2RuntimeError(f"The asset {from_asset} or {to_asset} is missing from graph")
rp2.rp2_error.RP2RuntimeError: The asset ARK or USD is missing from graph

You just need to add the "entry" market. For example, there is a Binance.com market ARK/BUSD you can add if you have access to Binance.com. I don't remember if you are based in the States or not. Binance.com pricing is unavailable to the States.
You could try adding Upbit if you want to go that route. They have a ARK/KRW market. It seems like ARK is super popular in korea. Adding an exchange is fairly easy. You just need to import the appropriate class from CCXT and declare the stubs in https://github.com/eprbell/dali-rp2/blob/main/src/stubs/ccxt.pyi
Personally, I would try Binance, but if that isn't available Upbit. However, it is a little tricky since I'm guessing you don't actually have access to that exchange and couldn't trade there. It might be hard to justify in an audit.

@macanudo527 thanks for the info! I'll try it out.

I don't remember if you are based in the States or not. Binance.com pricing is unavailable to the States.
...
It might be hard to justify in an audit.

Very interesting tangents you brought up there.
I'm currently in the US visiting family for a few months, but a resident of Japan. Last I checked, a year or so ago binance.com had disabled my account for being a US citizen regardless of residency. I had signed up for an account sometime in 2016 if I'm remembering correctly, and it remained largely unused but it seemed this was ok with regulations back then as I never falsified any information about my identity/residency/citizenship. So in summary, I need pricing for an exchange that was ok for me to use at one point, but due to regulatory changes, I am no longer able to access. Maybe this is a question for another forum, (or tax expert), but I'd guess its ok for me to look up the price on binance as I was apparently trading on it when this was still allowed. I don't have any trades on there after the regulations changed.
I would assume others are in a similar situation (i.e. having trades on an exchange like Binance and then were booted due to regulatory changes). I agree that it would look suspicious if you are getting the price from an exchange you are not allowed to access, though one might argue that the price can't be SO different across exchanges. That being said, maybe some sort of input to the configuration file stating date ranges to use certain exchanges where ccxt would use one route during one time period and another during another? Sounds complicated, and I wouldn't have any idea how to approach this, but do you think it is worth opening a discussion on this?

Binance.com's public REST API is unavailable in the states, but it's available in Japan, and most other places whether or not you have an account with them.

This seems resolved via #171


GPS data not being logged/used

Describe the bug
In one of our test drones, with the current setup (Pixhawk 4 + PX4 master from ~2months ago with really minimal changes) some weird issue is happening with the GPS and flight log/data.
As I'm still not too sure what the issue is or more improtatntly where it comes from the easiest way is to look at some logs. All of them were done today with the same setup/firmware, flying manually in stabilized or Acro. Because of this no performance loss has been observed as we haven't flown in other modes but a test was also made with Position control and everything worked fine.
Log 1 (Bad log):
https://logs.px4.io/plot_app?log=901b0a06-1370-4c37-914f-11cb9f130e2c
Log 2 (Okay log):
https://logs.px4.io/plot_app?log=9f1ae659-5224-46ff-88d0-2948c7d9bc0c
The first log is missing the trajectory map and also it does not have any readings for the Local Position X and Y plots. However it does have GPS  altitude readings as well as the entire plots for GPS Uncertainty and GPS Noise & Jamming plots which seem ok and with normal values.
The second plot however has the map and 3D view of the entire flight despite the fact that local position X and Y, only have relevant data after a certain point which coincides with the following logged messages:
[ecl/EKF] EKF GPS checks passed (WGS-84 origin set)
[ecl/EKF] EKF commencing GPS fusion
The other GPS plots are like the previous log, i.e. seemingly okay during the entire log.
The expected behaviour would be the flight log is always logged even if for some reason it can't be used for automatic flight due to other reasons like lack of accuracy.
The first approach was to replace the GPS even though this was working fine with the older pixhawk and both GPS present the same issue.
Random comments:
I noticed in the flight logs the presence of a parameter EKF2_REQ_GDOP which is set to the default value of 2.5 but this is a parameter that seems to have been removed. I doubt that this would be the cause however.
The setup is using VESC via UAVCAN. Again I doubt this is the cause.

In the bad log your vehicle never had a valid global position estimate (vehicle_global_position).

At a glance I believe it's because the speed variance reported by your GPS exceeds the default threshold (EKF2_REQ_SACC 0.5).

@RicardoM17 did you get to the bottom of  this? Should we close this issue or is there something to be follow up?

@julianoes Fortunately the issue vanished. Unfortunately we couldn't really see what was the main cause. We did slightly change our setup for other reasons which we will revert soon so I'll keep an eye out to see if it crops up again.
Regarding @dagar comments I'm not so sure if that is the cause. Both logs show similar levels of the speed variance reported by the GPS (though the bad log shows a much larger epv. That being said I would expect that if the EKF checks don't pass that you can't fly in auto modes like Position or mission but that still, even in that scenario, that the GPS/position data gets logged.

Regarding @dagar comments I'm not so sure if that is the cause. Both logs show similar levels of the speed variance reported by the GPS (though the bad log shows a much larger epv. That being said I would expect that if the EKF checks don't pass that you can't fly in auto modes like Position or mission but that still, even in that scenario, that the GPS/position data gets logged.

There are quite a few different checks and they're at different levels. If it's bad enough early on then the estimator could never publish a global position estimate (vehicle_global_position). In other cases you could have a valid global position estimate, but the error (eph, epv) could exceed the failsafe thresholds and commander won't let you enter a position mode.

Regarding @dagar comments I'm not so sure if that is the cause. Both logs show similar levels of the speed variance reported by the GPS (though the bad log shows a much larger epv. That being said I would expect that if the EKF checks don't pass that you can't fly in auto modes like Position or mission but that still, even in that scenario, that the GPS/position data gets logged.

There are quite a few different checks and they're at different levels. If it's bad enough early on then the estimator could never publish a global position estimate (vehicle_global_position). In other cases you could have a valid global position estimate, but the error (eph, epv) could exceed the failsafe thresholds and commander won't let you enter a position mode.


Disabling resources-dir when using the CLI

Hello! I'm using using stdin to pass an SVG into the resvg CLI, but that results in the warning Warning: Make sure to set --resources-dir when reading SVG from stdin. The SVG shouldn't contain any references to external data, so setting --resources-dir is unnecessary. I could set it to an arbitrary directory to make the warning go away, but if possible it'd be better if resvg just produced an error if any external resources are referenced, or at least didn't try to load external resources. Is that possible? I had a look through the CLI arguments, and couldn't see anything that would seem to do that.
In any case, thanks for the tool!

You're expected to set --resources-dir. Even to just a random path.

if possible it'd be better if resvg just produced an error if any external resources are referenced

resvg can't produce errors, only warnings. So this is not an option. If I remove --resources-dir warning, you will get random invalid href warnings instead, which is even more confusing.

Ah, fair enough. I suppose the the ideal thing for my use case would be to have a flag along the lines of "--no-resources-dir", and to have resvg produce a warning only when references to external resources are found in the SVG, but I appreciate that might be a niche use case.

Well, one way or another you would still have to specify a flag...


How does one properly include image-conversion in the browser?

I get errors when i do this:

FIRST ERROR was 'require is not defined',
after including require.js I get
THEN I GET THIS ERROR
"
require.min.js:1 Uncaught Error: Module name "@babel/runtime/helpers/interopRequireDefault" has not been loaded yet for context: _. Use require([])
"
after including

I GET THIS ERROR
Uncaught ReferenceError: module is not defined
at interopRequireDefault.js:7

I found the solution, by looking at your example page, I realized the conversion.js file was similar to the
/src/conversion.js
After deleting require.js and babel-runtime script tags and changing this:

to this:

All the errors stopped and was able to execute my script using imageConversion


[MINOR][SQL] Add more description to SKIP_TYPE_VALIDATION_ON_ALTER_PARTITION

What changes were proposed in this pull request?

This patch adds more description to SQL config SKIP_TYPE_VALIDATION_ON_ALTER_PARTITION.
Why are the changes needed?

We have a customer issue not long ago that they cannot read a partitioned table correctly. It turns out that the partition value is normalized and doesn't match to the unnormalized value in the table. This config is needed to be enabled to read the partition correctly. This patch is to make the config description more clear.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Existing test. This is doc only change.
Was this patch authored or co-authored using generative AI tooling?

No

Thank you @dongjoon-hyun

Thank you @huaxingao

Failed tests should be unrelated:
[error] Failed tests:
[error] 	org.apache.spark.sql.connect.service.SparkConnectSessionHolderSuite

Merged to master.

Did you hit any outage when you use the merge script, @HyukjinKwon ?
I'm wondering if the comment removal logic is broken for some cases.

https://github.com/apache/spark/commit/99d27c9701019a0f534cc13c084895a00badee12

Hmm, weird, but I don't use any special characters in the description.

Oh, I think I skipped that part when I merged it ..

Thank you for confirming~


Error: "Failed to connect to all addresses", TPU on Colab

When I attempt to train on Colab using Keras and TPU, I get this error and training stops before the first epoch.
Link to code for reproduction: https://colab.research.google.com/drive/1ddTaQNmKbapwDPhrPlDKpnoCb8Exa_XI?usp=sharing

Is this also in previous versions of TF2.x?

@Tylersuard Please post this issue on keras-team/keras repo.
To know more see;
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999
Thank you!

@sushreebarsa Thank you!

@Tylersuard Could you please confirm if you have posted this issue on Keras repo ? If you did so please move this issue to closed status .Thanks!


Master to Live

Docs Build status updates of commit 913e708:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


add canvas and button

Fabric install was failed.
While the canvas  in the Pug is on the way.

Created a branch "caanvas_#1" and working.


updated pod anti affinity for agent pods

Description
openshift-user-workload-monitoring is responsible for scrapping HCP metrics on management cluster and due to its volume they have to be on dedicated nodes, making this change to keep grafana-agent pod off from them.
Fixes

@dry923 PTAL


Feature request: support for ESP32 platform

I was wondering if this would build for the ESP32 platform. Since it already has support for several other platforms, I'd hope it's not too difficult to add support.

I'm going to give this a go. My plan is as follows:

I'll start by adding the esp32 target in Makefile and creating a makefiles/Makefile.esp32 taking makefiles/Makefile.atmega88 as the starting point

Then using *_avr* files to create the necessary platform specific *_esp32* files

Cross fingers :)

If you have any tips / caveats, they'll be most welcome :)

Hi, I just notice your filed request now.
I think it should not be so difficult as esp32 is much richer than AVR.
CAVEAT: I haven't used esp32 until today, and I'm just saying this based on my first impression on the device. So, it may be wrong.
What you will need:

con_esp32 : for serial terminal. I guess esp32 can have a virtual serial port over the USB connection with the host?
cpu_8080 : you can reuse the C version of 8080 CPU emulation code, and it would work fast enough, or it may be too fast :)
eeprom_esp32 : for persistent small storage to store configurations. If esp32 does not have such a thing, just using uint8_t[512] works though it can not be persistent
io_base : you can reuse it unless you want to connect it to other devices over the IOEXT protocol that is defined for this project (ioext/ioext_test.ino explains what's this)
led_esp32 : for indicating machine state. can use led_base for the initial implementation
platform_esp32 : define the entry function such as main() that calls machine_boot(), and define platform_reset() that is called on reset. or platform_posix may work as is.
sdcartd_esp32 : this should be the most difficult part unless esp32 has an internal storage that can contains disk image. if you need to implement this, sdcard_avr will be a good example to access SD card over GPIO. If esp32's SDK provides something to access SD card, you would be able to use it, and it will be easy if possible.
sram_base: you can reuse it unless the device does not have enough main memory, less than 64KB.

Thanks for your tips, I haven't yet done much work on it and I'm still figuring out the ESP32 environment, as their dev tools assume a bit of a peculiar setup.


It keeps using the wrong album art

All my music files are all properly tagged and have its own album art. For some reason the player keep using one random image on my computer.

Hi @wentallout,
you need to have one of those as your album cover in your music album folder:
folder.jpg/png
cover.jpg/png
front.jpg/png
If you want to use embedded album art covers and are using the Beta version from here:
Go to top menu Options > Player controls > Album art > Load embedded album art first
Now go to top menu File > Preferences. Advanced ( Bottom ) > Go to section Album art > Embedded vs external > Prefer embedded. Restart foobar.
-TT


Argo-docs tutorial stylesheet issue

SubBullets not showing properly
2.Code snippets for CLI adding additional text

Fixed


Show a random funny warning message if already turned on guns are tried to be turned on again

Rejected because of the same reasons as #2.


Use alternate text when user has a link with a shared lat/long

If someone comes to the app from a shared la/long link, the default text does not make sense.
This provides alternate text to guide the user in this case.

Not worth changing, but just wanted to point out that there is a v-else directive (and even a v-else-if) that serves as the "else block" for a v-if.


Don't iterate Transceivers without lock

Properly use locks when accessing Transceivers
Resolves #431

Pull Request Test Coverage Report for Build 2746

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
2785 unchanged lines in 46 files lost coverage.
Overall coverage decreased (-71.006%) to 9.045%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

peerconnection.go
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

internal/mux/endpoint.go
5
29.03%

rtptransceiver.go
6
0.0%

icecandidatepair.go
6
0.0%

pkg/rtcerr/errors.go
6
0.0%

internal/util/util.go
8
42.11%

dtlsrole.go
10
0.0%

configuration.go
10
0.0%

quicrole.go
10
0.0%

icegathererstate.go
12
0.0%

settingengine.go
14
0.0%

Totals

Change from base Build 2738:
-71.006%

Covered Lines:
355

Relevant Lines:
3925

💛  - Coveralls


Fixed numerous issues with general XML formatting

Your script tag for Google Analytics was misplaced in index.php, and many more simple issues like those are being fixed in this pr.

@riscmkv There are loads of issues with formatting; I'll open a bigger pr soon to address those.


Create Dockerfile and related script

@vemarkelov Could you check this PR and try to generate the docker image fhir-mapping-engine?  It's then used as base image to create the image for FHIR layer in another PR


Use modern prefork library

The prefork library used by this project is not on Rubygems (that I am aware) and is a bit hard to come by (no working links).  Though it works well, it would be a good idea to use one that is actively developed and readily available to bundler.

I ended up not using any library and forking by myself. My opinion is that this preforked implementation is merely an example and not an actual usable code that you run.

@stronny that sounds about right. Perhaps I should remove it to examples section or altogether; though it would need updating, a non-working example is almost useless.

@stronny and @dividedmind the prefork implementation definitely works, and very well and is necessary for me because I am depending on some libraries that aren't thread safe..  I have been using it in production with moderate load for a few months now.  The trouble is the prefork library this gem depends on is not on rubygems (but it can be found with google).

I have a problem with the lib in question, not related to its installation.
It syncs its workers via /tmp and I don't like it.
On 25 Nov 2015 4:16 am, "Leif Gustafson"<EMAIL_ADDRESS>wrote:

@stronny https://github.com/stronny and @dividedmind
https://github.com/dividedmind the prefork implementation definitely
works, and very well and is necessary for me because I am depending on some
libraries that aren't thread safe.. I have been using it in production with
moderate load for a few months now. The trouble is the prefork library this
gem depends on is not on rubygems (but it can be found with google).
—
Reply to this email directly or view it on GitHub
https://github.com/inscitiv/ruby-ldapserver/issues/6#issuecomment-159455237
.


Install-Package ExcelDataReader does not install excel.dll

Install-Package ExcelDataReader does not install excel.dll

Hi,
The command should install ExcelDataReader.dll. It seems to work for me. Do you get any error messages?
"Excel.dll" is the assembly dll/namespace used by version 2.X and earlier

No error message, it got installed successfully but I could not find the
excel.dll even I tried installing the latest version , they all same
On Tue, 14 Aug 2018 at 6:14 PM andersnm<EMAIL_ADDRESS>wrote:

Hi,
The command should install ExcelDataReader.dll. It seems to work for me.
Do you get any error messages?
"Excel.dll" is the assembly dll/namespace used by version 2.X and earlier
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ExcelDataReader/ExcelDataReader/issues/342#issuecomment-412907525,
or mute the thread
https://github.com/notifications/unsubscribe-auth/An4SxyB6ig8FwS8kbIyKjudQTxT4nfsOks5uQuk6gaJpZM4V8nQJ
.

I tried to install in vs 2017 asp.net mvc
On Tue, 14 Aug 2018 at 7:39 PM riaz mohamed<EMAIL_ADDRESS>wrote:

No error message, it got installed successfully but I could not find the
excel.dll even I tried installing the latest version , they all same
On Tue, 14 Aug 2018 at 6:14 PM andersnm<EMAIL_ADDRESS>wrote:

Hi,
The command should install ExcelDataReader.dll. It seems to work for me.
Do you get any error messages?
"Excel.dll" is the assembly dll/namespace used by version 2.X and earlier
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ExcelDataReader/ExcelDataReader/issues/342#issuecomment-412907525,
or mute the thread
https://github.com/notifications/unsubscribe-auth/An4SxyB6ig8FwS8kbIyKjudQTxT4nfsOks5uQuk6gaJpZM4V8nQJ
.

Hi,
Can you please provide more details what exactly you are trying to do? Why do you need Excel.dll? Does your program run after installing and using ExcelDataReader?

I’m using aspnetboilrerplate mvc with angularjs to develop an application
to read excel file and display the data in a web page, for that I installed
your package from nuget manager in visual studio 2017 for that project, I
found some of the dll are missing which is excel.dll
On Tue, 14 Aug 2018 at 7:46 PM andersnm<EMAIL_ADDRESS>wrote:

Hi,
Can you please provide more details what exactly you are trying to do? Why
do you need Excel.dll? Does your program run after installing and using
ExcelDataReader?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ExcelDataReader/ExcelDataReader/issues/342#issuecomment-412938719,
or mute the thread
https://github.com/notifications/unsubscribe-auth/An4SxwzewqRxgpe9BeLu3atfpTS_lvr-ks5uQv7JgaJpZM4V8nQJ
.

https://www.c-sharpcorner.com/article/read-data-from-excel-with-preview-in-asp-net-mvc-using-angular/
Check this post, I’m trying his tutorial but some line error like missing
namespace or class , then I deeply searched and found that the excel.dll is
missing but it is included in his sample code.
Try all these cases please
On Tue, 14 Aug 2018 at 7:49 PM riaz mohamed<EMAIL_ADDRESS>wrote:

I’m using aspnetboilrerplate mvc with angularjs to develop an application
to read excel file and display the data in a web page, for that I installed
your package from nuget manager in visual studio 2017 for that project, I
found some of the dll are missing which is excel.dll
On Tue, 14 Aug 2018 at 7:46 PM andersnm<EMAIL_ADDRESS>wrote:

Hi,
Can you please provide more details what exactly you are trying to do?
Why do you need Excel.dll? Does your program run after installing and using
ExcelDataReader?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ExcelDataReader/ExcelDataReader/issues/342#issuecomment-412938719,
or mute the thread
https://github.com/notifications/unsubscribe-auth/An4SxwzewqRxgpe9BeLu3atfpTS_lvr-ks5uQv7JgaJpZM4V8nQJ
.

Hi,
Thanks for the link to that article, now I understand better.
It looks like the demo project and example codes in that article are for an earlier version of ExcelDataReader, but confusingly tells to install a newer, incompatible version. There were some breaking changes in 3.0 and newer, among those the dll was renamed.
In order to build the demo project accompanying the article, I suppose you can install the previous version like so:
Install-Package ExcelDataReader -Version <IP_ADDRESS>

This is version i tried in the first place but this itself did not install
excel.dll and as well as the latest one
On Tue, 14 Aug 2018 at 8:08 PM andersnm<EMAIL_ADDRESS>wrote:

Hi,
Thanks for the link to that article, now I understand better.
It looks like the demo project and example codes in that article are for
an earlier version of ExcelDataReader, but confusingly tells to install a
newer, incompatible version. There were some breaking changes in 3.0 and
newer, among those the dll was renamed.
In order to build the demo project accompanying the article, I suppose you
can install the previous version like so:
Install-Package ExcelDataReader -Version <IP_ADDRESS>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ExcelDataReader/ExcelDataReader/issues/342#issuecomment-412945787,
or mute the thread
https://github.com/notifications/unsubscribe-auth/An4SxxhQEhQX87O1641U4ZM8O5JREhhmks5uQwP7gaJpZM4V8nQJ
.

Hi,
Can you please share some code that does not work, and/or paste the error message you get? I'm still not sure what problem you are facing :(
As far as I know, there is nothing wrong with our Nuget packages. If I create a new project in VS, install ExcelDataReader, write some code and build the project, then the program runs and I can find ExcelDataReader.dll in the project's bin folder. Or, if I install <IP_ADDRESS>, then I would find Excel.dll in the bin folder.

Ok please, down load his sample and check , or, download aspnetboilerplate
and check . I can send u the error only after going to office tomorrow
On Tue, 14 Aug 2018 at 9:05 PM andersnm<EMAIL_ADDRESS>wrote:

Hi,
Can you please share some code that does not work, and/or paste the error
message you get? I'm still not sure what problem you are facing :(
As far as I know, there is nothing wrong with our Nuget packages. If I
create a new project in VS, install ExcelDataReader, write some code and
build the project, then the program runs and I can find ExcelDataReader.dll
in the project's bin folder. Or, if I install <IP_ADDRESS>, then I would find
Excel.dll in the bin folder.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ExcelDataReader/ExcelDataReader/issues/342#issuecomment-412963691,
or mute the thread
https://github.com/notifications/unsubscribe-auth/An4Sx536RlFluPvzUxCu2bAs59A4uXuMks5uQxFpgaJpZM4V8nQJ
.


on_body_entered detecting body which is not on its mask layer, also print(body.collision_layer) returns<PHONE_NUMBER>

**Godot version:**V3.2.3.stable.official

V3.2.3.stable.official
OS/device including version:

Windows 10
64 bit
Issue description:

Setup an Area2D to detect when the player entered into range of an enemy "bat", set the Area2D mask to the player layer, but it would also detect the bat, which was on a different layer. After getting it to print(body.collision_layer) it returned<PHONE_NUMBER>, which seems to be 2^31, but infact the bat was on Layer 1.
Steps to reproduce:
_body_entered bug.zip
I am not sure how you would reproduce this from scratch, but just from running the bat scene you can see the problem.
Minimal reproduction project:

_body_entered bug.zip

This should be fixed by https://github.com/godotengine/godot/pull/42733, which you can try with Godot 3.2.4 beta.
This value, you need manually reset to correct value(or 0) inside this tscn file