Export badges: group by person

This fixes #961 by adding a new API endpoint for exporting badges grouped by person. So the new structure is: person→badges; the old was badge→persons.

@chrismedrela:

Export badges by person looks very similar to api/v1/persons/. The only difference is that the badges field is a list of badges' names instead of list of dictionaries describing badges in more details. Could we reuse this API endpoint? And you can filter out people without any badge by selecting all badges in filter modal window.

The other API endpoint that you mentioned is intended for future use in case we add AngularJS or some other front framework. I'd leave that part of API be for now.

This PR results in django.db.utils.OperationalError: too many SQL variables on production data when you open api/v1/export/badges_by_person/.

This is interesting, I'll check and get back to you.

Isn't it always true? When I look into the view:
badges_json_link = reverse('api:export-badges', kwargs={'format': 'json'})

When reverse can return something falsy?

This part is a heritage from export.html template, I'll update it.

@chrismedrela updated - please take a look at the commits.

I'm going to merge this, and if Chris has any objections we'll fix them later on.


Updating a spatial database via API using Flask-restful

Article checklist
Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #4466

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

Hello @isaiaholadapo Your pull request seems to have some merge conflicts caused by editing another file. Please remove that file (content/articles/how-to-create-a-geoserver-and-geodatabase/index.md) from this pull request.
If you want to update another article, consider opening a new pull request to do so.

Hello @isaiaholadapo Your pull request seems to have some merge conflicts caused by editing another file. Please remove that file (content/articles/how-to-create-a-geoserver-and-geodatabase/index.md) from this pull request.
If you want to update another article, consider opening a new pull request to do so.

Hi @geoffrey45 I have removed it.

Hello @isaiaholadapo Your pull request seems to have some merge conflicts caused by editing another file. Please remove that file (content/articles/how-to-create-a-geoserver-and-geodatabase/index.md) from this pull request.
If you want to update another article, consider opening a new pull request to do so.

@geoffrey45 I have removed it.

@isaiaholadapo Looking at it now, merging this pull request will remove the other one how-to-create-a-geoserver-and-geodatabase. This is because the other article has been registered as deleted.
To prevent this from happening, please create a new branch branch and transfer only this article's files. Then open a new pull request that has only this article's files changes.

@geoffrey45 here is the link to the new pr, https://github.com/section-engineering-education/engineering-education/pull/5179
the old article is still showing.


Where are you going to publish your article

Hello, I would like to know whether your articles are being submitted and whether you intend to submit them to conferences or journals?

Thank you. It's published on T-PAMI.
https://doi.org/10.1109/TPAMI.2022.3195735


Dart VM rejects a generic method named "get" (but analyzer accepts it)

Example,
class A {
  get<T extends List>(T foo) {} //Rejected by Dart VM, but OK in dartanalyzer
}

class B {
  get(List foo) {}
}

void main() {
  new B().get([]); //OK
  new A().get([]); //Failed
}

I'm using 1.22.1

Grammar allows it, so it's a VM parser bug.

I think I'll leave the fix of this to someone who actually knows the VM parser.

I think vm parser accepts it if you enable  --generic_method_semantics flag, but it fails later since support of generic methods is work in progress(https://github.com/dart-lang/sdk/commit/09b5d6f619c415fcf885bffd868c1f09c1cd9989).
../../runtime/vm/flow_graph_builder.cc: 2718: error: unimplemented code
Dumping native stack trace for thread 3366
[0x08651ed3] dart::Profiler::DumpStackTrace()
[0x08651ed3] dart::Profiler::DumpStackTrace()
[0x082bb75e] dart::DynamicAssertionHelper::Fail(char const*, ...)
[0x083bd87f] dart::EffectGraphVisitor::BuildInstantiatedTypeArguments(dart::TokenPosition, dart::TypeArguments const&)
[0x083bda6e] dart::EffectGraphVisitor::BuildObjectAllocation(dart::ConstructorCallNode*)
[0x083bdf15] dart::ValueGraphVisitor::VisitConstructorCallNode(dart::ConstructorCallNode*)

Regis, is this still an issue?

According to the spec (https://gist.github.com/eernstg/4353d7b4f669745bed3a5423e04a453c), getters cannot be declared as generic:
"With the syntax in place, it is obvious that certain potential extensions have not been included.
For instance, constructors, setters, getters, and operators cannot be declared as generic."
Unless I am looking at the wrong spec, the bug is actually with the analyzer, which should not allow it.

I take back my comment. I should have read the report more carefully. I see now that it is not a getter, but a method called "get". The question is whether a method is allowed to be called "get". I cannot remember. Let me look at it tomorrow.

Just for the record: Methods can be called get.
The word get is a built-in identifier in Dart, which only prevents it from being used as the name of a type (class, typedef, type parameter) or a library prefix. It's allowed everywhere else.

(Note that the current version of the informal spec that Regis mentioned is https://github.com/dart-lang/sdk/blob/master/docs/language/informal/generic-method-syntax.md. The differences between the old and current version don't matter for this issue: The generic method named get in A is OK).

This is a duplicate of #29746, which I fixed in May:
https://codereview.chromium.org/2911333002/
No, I have no memory.


FLUTTER_MAP: Bump version to v1.0.0

Hi there,
'flutter_map' v1.0.0 has just been released with a few breaking changes but many new features, fixes, and performance improvements. Please consider updating your plugin to make it more accessible to users!
If you want to join the new Discord server, either just because, or because you want to offer more support to your users, just join using the link on the README. Please ping me and I'll give you the plugin maintainer role and access to a plugin support channel :)
Many thanks,
'flutter_map' maintainer (Luka S)

Thanks for the heads-up Luke, and thanks for your work on flutter_map. Updated to flutter_map 1.0.0, bumped version of this library to 2.1.0, and published to pub.dev


[BUG] Serial transport not be established if first plug the board, then start agent.

Issue template

Hardware description: stm32 NUCLEO F767ZI
RTOS: Freertos
Installation type: micro_ros_setup
Version or commit hash: galactic
transport layer: serial

Steps to reproduce the issue

compile the app int32_publisher and flash it to mcu
compile the agent
plug the board with USB
start agent using ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/serial/by-id/usb-STMicroelectronics_STM32_STLink_0670FF555071494867152654-if02
ros2 topic echo /freertos_int32_publisher

Expected behavior
Any time you plug the board, agent would established the link.

agent activates the serial transport, and establish a serial transport layer
ros2 topic ehco output topic data

Actual behavior
agent output
ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/serial/by-id/usb-STMicroelectronics_STM32_STLink_0670FF555071494867152654-if02
[1646308710.731945] info     | TermiosAgentLinux.cpp | init                     | running...             | fd: 3
[1646308710.732117] info     | Root.cpp           | set_verbose_level        | logger setup           | verbose_level: 4

Additional information
If you first run agent, then plug the board, the link will be established, and the demo would work
I think it may be related with #72 , and may be a problem with the initialization of the serial link.
I am not familar with embedded development so any help would be appreciated.
Thanks.

This is not a bug, the client will try to connect to the agent at the begging of the app for a certain amount of times with a certain timeout.
If this attempt fails, in this example, the app will fail. You can check the return value of this function and retry until the agent is reached. You can ping the agent in order to wait until it is available. But in general, you should handle the client-agent connection.
In your use case, if you open the agent and later the client, the client might lose all the opportunities to connect. If you open the agent and then the client, it will succeed.

Thanks a lot!
I will check more info from xrce-agent and xrce-client doc.


Fail to get foot step from planner

I am doing a simulation with op3. While I am using the foot planner, I met several problems.
First it is the tf fixed frame in rviz. I fixed it by remapping body_link to world frame. Please fix that problem in the next update.
Second, the problem is caused by the foot step service. In the ui part, I think you didn't start the foot plan service. The log said the service is not called.
I start the service manually. Please fix this problem in the next update.
The third problem I am still working on and waiting for your help is that
Start pose is not accessible.

Hi

Fisrt, Second one
I think you did now follow the tutorial of online walking.
Please see the tutorial and follow it.
When I checked it, I found the missing part in Run the program section.
Please run the op3_localization manually.
$ rosrun op3_localization op3_localization

Third one
I don't understand start pose. Could you give me more information about that?

Dear Kayman,
Yes, I followed this tutorial.
After running the op3_localization manually, it solved the first problem.
However, the second problem still exists. "cannot call services" shows up
after I click the plan button.
[image: image.png]
[image: image.png]
Can you help me fix this problem?
Best regards,
Jack
On Tue, Dec 4, 2018 at 9:48 PM Kayman<EMAIL_ADDRESS>wrote:

Hi

Fisrt, Second one
I think you did now follow the tutorial of online walking
https://urldefense.proofpoint.com/v2/url?u=http-3A__emanual.robotis.com_docs_en_platform_op3_tutorials_-23how-2Dto-2Dcontrol-2Dupgraded-2Dwalking-2Dusing-2Dfootstep-2Dplanner&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=bQs4R1mkEWfpVg9k-3LAlSkIsKPg3-xMNu2i27PNdho&s=D4xEXm6m4EThvdd3jcMsTRP-C_0Y-9kMo2Ny1Yryprk&e=
.
Please see the tutorial
https://urldefense.proofpoint.com/v2/url?u=http-3A__emanual.robotis.com_docs_en_platform_op3_tutorials_-23how-2Dto-2Dcontrol-2Dupgraded-2Dwalking-2Dusing-2Dfootstep-2Dplanner&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=bQs4R1mkEWfpVg9k-3LAlSkIsKPg3-xMNu2i27PNdho&s=D4xEXm6m4EThvdd3jcMsTRP-C_0Y-9kMo2Ny1Yryprk&e=
and follow it.
When I checked it, I found the missing part in Run the program section.
Please run the op3_localization manually.
$ rosrun op3_localization op3_localization

Third one
I don't understand start pose. Could you give me more information
about that?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ROBOTIS-2DGIT_ROBOTIS-2DOP3_issues_54-23issuecomment-2D444339118&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=bQs4R1mkEWfpVg9k-3LAlSkIsKPg3-xMNu2i27PNdho&s=orMm9f__DcG7r1Rcxf56gXEVrloLBOPQRFN2k0ytkCU&e=,
or mute the thread
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Ak6H3UlG6mEPIzs-5FXh97YYGkFP2wb0Xcks5u1zQGgaJpZM4ZBFga&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=bQs4R1mkEWfpVg9k-3LAlSkIsKPg3-xMNu2i27PNdho&s=mDnYwQ7R6vcDffn_vkf7iyBpO7A80JpJif8y-9o5srA&e=
.

I downloaded it and recompiled it. It does not work.
problem 1: cannot call service. still exists
so I just run
$ roslaunch footstep_planner footstep_planner.launch
manually run this run(don't know if it is correct, because there are many
launch files in the footstep_planner package).
After running this command, problem1 has disappeared.
problem2 shows up.
in the command window which runs footstep_planner, the error message is
that "Distance map hasn't been initialized yet."
I have no idea about this problem and not sure if the first method is
correct. Can you help me please ?
regards,
Jack
On Wed, Dec 5, 2018 at 1:23 AM Kayman<EMAIL_ADDRESS>wrote:

cannot call services means that footstep_planner does not be launched.
It's one of humanoid_navigation packages.
How about deleting the humanoid_navigation package and clone it from
following link
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ROBOTIS-2DGIT_humanoid-5Fnavigation&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=IVSW305dCd-v2hFvMxaAdy85thC-gF0XusqWDNABvbA&s=HuSbNWKyhuwyynaJ92YB6otpkY4zUDv_h25DD4SujxE&e=,
compile it(catkin_make).
$ git clone https://github.com/ROBOTIS-GIT/humanoid_navigation.git
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ROBOTIS-2DGIT_ROBOTIS-2DOP3_issues_54-23issuecomment-2D444373195&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=IVSW305dCd-v2hFvMxaAdy85thC-gF0XusqWDNABvbA&s=Up5tUqdeykKSvAXlENSUWeDly-3Ww8RHCjOT724-GwQ&e=,
or mute the thread
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Ak6H3QvN3Qw12-5FkDUKoy1TD6aA6Z4gXNks5u12ZOgaJpZM4ZBFga&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=IVSW305dCd-v2hFvMxaAdy85thC-gF0XusqWDNABvbA&s=8qtLbIGborFmtJjwYp9ewiySkaEc5BZWA15mc7e6syY&e=
.

Dear Kayman,
Then I tried different way.
"Distance map hasn't been initialized yet."
may be caused by the map service which has been launched in the
footstep_planner.launch.
Then, I launched the complete version of this footstep_planner
$ roslaunch footstep_planner footstep_planner_complete.launch
This launch will open a rviz gui again which I closed it manually.
Then, I click the plan button in dynamixel gui.
Probem3 shows up.
In the command window which runs the footstep_planner_complete.launch, it
shows up:
ERROR] [1544013860.495347652,<PHONE_NUMBER>00]: Start pose (0.000000 0.000000
0.000000) not accessible.
The error message in the gui is that "fail to get foot step from planner"
See the log for the details:
jack@jack:~/catkin_ws$ roslaunch footstep_planner footstep_planner.launch

... logging to
/home/jack/.ros/log/a55a2902-f888-11e8-b81d-b06ebf5bcf8f/roslaunch-jack-16319.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://jack:45617/
SUMMARY
PARAMETERS

/footstep_planner/accuracy/cell_size: 0.01
/footstep_planner/accuracy/collision_check: 2
/footstep_planner/accuracy/num_angle_bins: 64
/footstep_planner/allocated_time: 7.0
/footstep_planner/changed_cells_limit: 20000
/footstep_planner/diff_angle_cost: 0.0
/footstep_planner/foot/max/inverse/step/theta: -0.4
/footstep_planner/foot/max/inverse/step/x: -0.1
/footstep_planner/foot/max/inverse/step/y: 0.12
/footstep_planner/foot/max/step/theta: 0.7
/footstep_planner/foot/max/step/x: 0.22
/footstep_planner/foot/max/step/y: 0.28
/footstep_planner/foot/origin_shift/x: 0.02
/footstep_planner/foot/origin_shift/y: 0.0
/footstep_planner/foot/separation: 0.14
/footstep_planner/foot/size/x: 0.16
/footstep_planner/foot/size/y: 0.1
/footstep_planner/foot/size/z: 0.015
/footstep_planner/footsteps/theta: [0.0, 0.0, 0.0, 0...
/footstep_planner/footsteps/x: [0.0, 0.22, 0.0, ...
/footstep_planner/footsteps/y: [0.14, 0.14, 0.26...
/footstep_planner/forward_search: False
/footstep_planner/heuristic_type: PathCostHeuristic
/footstep_planner/initial_epsilon: 8.0
/footstep_planner/max_hash_size: 65536
/footstep_planner/planner_type: ARAPlanner
/footstep_planner/search_until_first_solution: False
/footstep_planner/step_cost: 0.1
/footstep_planner/step_range/x: [0.22, 0.22, -0.1...
/footstep_planner/step_range/y: [0.28, 0.12, 0.12...
/rosdistro: kinetic
/rosversion: 1.12.14

NODES
/
footstep_planner (footstep_planner/footstep_planner_node)
ROS_MASTER_URI=http://localhost:11311
process[footstep_planner-1]: started with pid [16336]
[ERROR] [1544013091.511449753,<PHONE_NUMBER>00]: Distance map hasn't been
initialized yet.
[ERROR] [1544013753.358865051,<PHONE_NUMBER>00]: Distance map hasn't been
initialized yet.
[ERROR] [1544013785.168840075,<PHONE_NUMBER>00]: Distance map hasn't been
initialized yet.
^[c^C[footstep_planner-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
jack@jack:~/catkin_ws$ roslaunch footstep_planner footstep_planner_
footstep_planner_complete.launch
footstep_planner_rstar_complete.launch
footstep_planner_nao.launch
jack@jack:~/catkin_ws$ roslaunch footstep_planner
footstep_planner_complete.launch
... logging to
/home/jack/.ros/log/a55a2902-f888-11e8-b81d-b06ebf5bcf8f/roslaunch-jack-16891.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://jack:36243/
SUMMARY
PARAMETERS

/footstep_planner/accuracy/cell_size: 0.01
/footstep_planner/accuracy/collision_check: 2
/footstep_planner/accuracy/num_angle_bins: 64
/footstep_planner/allocated_time: 7.0
/footstep_planner/changed_cells_limit: 20000
/footstep_planner/diff_angle_cost: 0.0
/footstep_planner/foot/max/inverse/step/theta: -0.4
/footstep_planner/foot/max/inverse/step/x: -0.1
/footstep_planner/foot/max/inverse/step/y: 0.12
/footstep_planner/foot/max/step/theta: 0.7
/footstep_planner/foot/max/step/x: 0.22
/footstep_planner/foot/max/step/y: 0.28
/footstep_planner/foot/origin_shift/x: 0.02
/footstep_planner/foot/origin_shift/y: 0.0
/footstep_planner/foot/separation: 0.14
/footstep_planner/foot/size/x: 0.16
/footstep_planner/foot/size/y: 0.1
/footstep_planner/foot/size/z: 0.015
/footstep_planner/footsteps/theta: [0.0, 0.0, 0.0, 0...
/footstep_planner/footsteps/x: [0.0, 0.22, 0.0, ...
/footstep_planner/footsteps/y: [0.14, 0.14, 0.26...
/footstep_planner/forward_search: False
/footstep_planner/heuristic_type: PathCostHeuristic
/footstep_planner/initial_epsilon: 8.0
/footstep_planner/max_hash_size: 65536
/footstep_planner/planner_type: ARAPlanner
/footstep_planner/search_until_first_solution: False
/footstep_planner/step_cost: 0.1
/footstep_planner/step_range/x: [0.22, 0.22, -0.1...
/footstep_planner/step_range/y: [0.28, 0.12, 0.12...
/rosdistro: kinetic
/rosversion: 1.12.14

NODES
/
footstep_planner (footstep_planner/footstep_planner_node)
map_server (map_server/map_server)
rviz (rviz/rviz)
ROS_MASTER_URI=http://localhost:11311
process[map_server-1]: started with pid [16908]
process[rviz-2]: started with pid [16909]
process[footstep_planner-3]: started with pid [16917]
[rviz-2] process has finished cleanly
log file:
/home/jack/.ros/log/a55a2902-f888-11e8-b81d-b06ebf5bcf8f/rviz-2*.log
[ERROR] [1544013860.495347652,<PHONE_NUMBER>00]: Start pose (0.000000
0.000000 0.000000) not accessible.
Can you help me figure this error out?

Best regards,
Jack
On Wed, Dec 5, 2018 at 1:23 AM Kayman<EMAIL_ADDRESS>wrote:

cannot call services means that footstep_planner does not be launched.
It's one of humanoid_navigation packages.
How about deleting the humanoid_navigation package and clone it from
following link
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ROBOTIS-2DGIT_humanoid-5Fnavigation&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=IVSW305dCd-v2hFvMxaAdy85thC-gF0XusqWDNABvbA&s=HuSbNWKyhuwyynaJ92YB6otpkY4zUDv_h25DD4SujxE&e=,
compile it(catkin_make).
$ git clone https://github.com/ROBOTIS-GIT/humanoid_navigation.git
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ROBOTIS-2DGIT_ROBOTIS-2DOP3_issues_54-23issuecomment-2D444373195&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=IVSW305dCd-v2hFvMxaAdy85thC-gF0XusqWDNABvbA&s=Up5tUqdeykKSvAXlENSUWeDly-3Ww8RHCjOT724-GwQ&e=,
or mute the thread
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Ak6H3QvN3Qw12-5FkDUKoy1TD6aA6Z4gXNks5u12ZOgaJpZM4ZBFga&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=IVSW305dCd-v2hFvMxaAdy85thC-gF0XusqWDNABvbA&s=8qtLbIGborFmtJjwYp9ewiySkaEc5BZWA15mc7e6syY&e=
.

Is it right that you ran $ roslaunch op3_gui_demo op3_demo_walking.launch?

In your case, you ran footstep_planner manually except proper parameters. I think it's why footstep_planner did not work.
Please refer to launch file of  op3_navigation package.

Thank you very much. I applied the above method and it works.
I am working on the project with foot planning in uneven ground and 6D
navigation. Is there a package in op3? If yes, how to change the file with
less time?
I try to use a vigil foot step planning in ros and it seems very hard to
change. I don't know where should I change if I still want to use the
Dynamixel guy like 2d foot planning for the online walking.
Can you give me some guidance and tutorial about changing file in op3
package?
Best regards,
Jack
On Thu, Dec 6, 2018 at 12:12 AM Kayman<EMAIL_ADDRESS>wrote:

Is it right that you ran $ roslaunch op3_gui_demo op3_demo_walking.launch?

In your case, you ran footstep_planner manually except proper parameters.
I think it's why footstep_planner did not work.
Please refer to launch file of op3_navigation package
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ROBOTIS-2DGIT_ROBOTIS-2DOP3-2DTools_tree_master_op3-5Fnavigation_launch&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=4uf-_WdAywTeQS-HwO-VuQPfnULFPdiqgIXJIycs440&s=WMC6Bfs2f6DW_4zBPM-k1MIno6EmG-Qqqlt4TztPqKc&e=
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ROBOTIS-2DGIT_ROBOTIS-2DOP3_issues_54-23issuecomment-2D444750762&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=4uf-_WdAywTeQS-HwO-VuQPfnULFPdiqgIXJIycs440&s=sw0m7RsYw-6Uncv03IBACVUtvAHylKaSb2leDMNHcrA&e=,
or mute the thread
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Ak6H3czGQ6Q6LBu-5FZ1rpUUK2MQuQz6Xgks5u2KdYgaJpZM4ZBFga&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=4uf-_WdAywTeQS-HwO-VuQPfnULFPdiqgIXJIycs440&s=iuH7xvSIDKueJxTr2ltYM_zTwKBSwydr0NptNmV_3_Y&e=
.

Thank you very much. I applied the above method and it works.
I am working on the project with foot planning in uneven ground and 6D
navigation. Is there a package in op3? If yes, how to change the file with
less time?
I try to use a vigir  foot step planning in ros and it seems very hard to
change. I don't know where should I change if I still want to use the
Dynamixel GUI like 2d foot planning for the online walking.
Can you give me some guidance and tutorial about changing file in op3
package?
Best regards,
Jack
On Thu, Dec 6, 2018 at 12:12 AM Kayman<EMAIL_ADDRESS>wrote:

Is it right that you ran $ roslaunch op3_gui_demo op3_demo_walking.launch?

In your case, you ran footstep_planner manually except proper parameters.
I think it's why footstep_planner did not work.
Please refer to launch file of op3_navigation package
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ROBOTIS-2DGIT_ROBOTIS-2DOP3-2DTools_tree_master_op3-5Fnavigation_launch&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=4uf-_WdAywTeQS-HwO-VuQPfnULFPdiqgIXJIycs440&s=WMC6Bfs2f6DW_4zBPM-k1MIno6EmG-Qqqlt4TztPqKc&e=
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ROBOTIS-2DGIT_ROBOTIS-2DOP3_issues_54-23issuecomment-2D444750762&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=4uf-_WdAywTeQS-HwO-VuQPfnULFPdiqgIXJIycs440&s=sw0m7RsYw-6Uncv03IBACVUtvAHylKaSb2leDMNHcrA&e=,
or mute the thread
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Ak6H3czGQ6Q6LBu-5FZ1rpUUK2MQuQz6Xgks5u2KdYgaJpZM4ZBFga&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=4uf-_WdAywTeQS-HwO-VuQPfnULFPdiqgIXJIycs440&s=iuH7xvSIDKueJxTr2ltYM_zTwKBSwydr0NptNmV_3_Y&e=
.

We don't have a footstep planner for 6D in ROBOTIS-OP3.
And I have never used a vigir footstep planner.
I do not know if I can help you.
To use a GUI like OP3, you need to create it manually. It's created using an interactive marker.
Please refer to the source code of the marker part and the wiki.

Thanks, Kayman.
You help me a lot.
On Sun, Dec 9, 2018 at 8:09 PM Kayman<EMAIL_ADDRESS>wrote:

We don't have a footstep planner for 6D in ROBOTIS-OP3.
And I have never used a vigir footstep planner.
I do not know if I can help you.
To use a GUI like OP3, you need to create it manually. It's created using
an interactive marker.
Please refer to the source code of the marker part
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ROBOTIS-2DGIT_ROBOTIS-2DOP3-2DTools_blob_master_op3-5Fgui-5Fdemo_src_qnode-5Fpreview-5Fwalking.cpp&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=kVIcb_arkwTq_WO7bL67Timb-wh52GttKkulck5M3ks&s=EsfoY8qpPwZaUY5HscCoL93q2e1y4cj3fLfoyrkaaSU&e=
and the wiki
https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.ros.org_interactive-5Fmarkers&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=kVIcb_arkwTq_WO7bL67Timb-wh52GttKkulck5M3ks&s=BZdj_T2KG8flApgH8GPsGJmrEtQNN2fmiEUDgS9Po-s&e=
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ROBOTIS-2DGIT_ROBOTIS-2DOP3_issues_54-23issuecomment-2D445607234&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=kVIcb_arkwTq_WO7bL67Timb-wh52GttKkulck5M3ks&s=bkvQY-n3QrvzxnwWrZE1bvrFVCMFbmGQ1-inIKqEm2o&e=,
or mute the thread
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Ak6H3eZfleDyFH-2D6hQhWyb3N178f-5F4QGks5u3bQugaJpZM4ZBFga&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=hkuqmUNuMbV2eMHNPYrllQ&m=kVIcb_arkwTq_WO7bL67Timb-wh52GttKkulck5M3ks&s=sXSjOp4mqWt1DMILOzvvMUSvTGiMNEA7bxZZxASBs2Q&e=
.

I wish you luck.
Best regards,
Kayman


Wrong --codegen OCaml information with fst and snd function

When execute code gen with fst and snd funtion, we have Support.Prims.snd , Support.Prims.fst
OCaml said: Error: Unbound module Support
Please help to check --codegen in this case

Have you followed the instructions for building the support libraries here?
https://github.com/FStarLang/FStar#building-an-executable

Did you manage to make this work? Any other way we can help?

ocamlfind: Package `batteries' not found
Makefile:79: recipe for target 'support.cmx' failed
I can not install batteries to my cygwin. Please help me in this case.

Batteries is not a Cygwin, but an OCaml package, and you should install it via Wodi.
Have you tried downloading Wodi from here: [wodi32] and [wodi64]?
[wodi32]: http://wodi.forge.ocamlcore.org/wodi32.tar.xz
[wodi64]: http://wodi.forge.ocamlcore.org/wodi64.tar.xz

It's OK. Please close this.


fix(db-postgres): Wait for transaction to complete on commit

Description
Currently transactions are committed asynchronously and are not awaited. That causes problems at least with in-series local API calls that are supposed to commit transactions (do not provide transaction ID) but end up completing commit too late.
Fixes #4581

[x] I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Existing test suite passes locally with my changes
[ ] I have made corresponding changes to the documentation

I feel like current tests cover the bug already quite well, so I didn't add any tests. Especially tests in test/database/int.spec.ts cover the bug.
For me running unit tests locally, amount of failed tests dropped dramatically:

Branch
Test result

main  (at 8015e999)
35 failed, 8 todo, 500 passed, 543 total

fix/postgres-transaction-promises
1 failed, 8 todo, 534 passed, 543 total

The one test that still sometimes fail is Search Plugin › should sync published pages to the search collection (I believe it's related to #4498).

I think what you are saying and that your commit makes sense at first glance. I am going to re-run the postgres test suite to get more verification.
In the past it had been failing about 50% of the time, likely for this reason.


Update Spring.Boot to 2.0.0

Spring.Boot 2.0.0 is out 🎉
Steps:

Upgrade to Spring.Boot 2.0.0
Bump dependencies
Make it working

Found out that zmon-actuator is not compatible with the latest Spring.Boot.
@maxim-tschumak do we really need it? Can we export metrics using standard spring-boot-actuator?

@netme I believe we can remove zmon-actuator.
We monitor technical metrics via K8S and product metrics via the /statistics endpoint. The only additional endpoint is the health check endpoint /health which is used as a readiness probe in K8S.


WIP: Cook scheduler

Changes proposed in this PR

adds support for scheduling via Cook

Why are we making these changes?

This is so cool!
On Wed, Jun 27, 2018, 10:57 AM Shams<EMAIL_ADDRESS>wrote:

Changes proposed in this PR

adds support for scheduling via Cook

Why are we making these changes?
You can view, comment on, or merge this pull request online at:
https://github.com/twosigma/waiter/pull/366
Commit Summary

initial cook scheduler interface
checkpoint
checkpoint-2
checkpoint-3
introduces an initial implementation of the Cook scheduler
checkpoint
checkpoint-3

File Changes

M waiter/config-full.edn
https://github.com/twosigma/waiter/pull/366/files#diff-0 (31)
M waiter/src/waiter/core.clj
https://github.com/twosigma/waiter/pull/366/files#diff-1 (14)
M waiter/src/waiter/mesos/mesos.clj
https://github.com/twosigma/waiter/pull/366/files#diff-2 (28)
M waiter/src/waiter/scheduler.clj
https://github.com/twosigma/waiter/pull/366/files#diff-3 (8)
A waiter/src/waiter/scheduler/cook.clj
https://github.com/twosigma/waiter/pull/366/files#diff-4 (420)
M waiter/src/waiter/scheduler/marathon.clj
https://github.com/twosigma/waiter/pull/366/files#diff-5 (38)
M waiter/src/waiter/settings.clj
https://github.com/twosigma/waiter/pull/366/files#diff-6 (8)
M waiter/src/waiter/util/http_utils.clj
https://github.com/twosigma/waiter/pull/366/files#diff-7 (14)

Patch Links:

https://github.com/twosigma/waiter/pull/366.patch
https://github.com/twosigma/waiter/pull/366.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/twosigma/waiter/pull/366, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABZnHe4SkJS1bhMRkXVv6C386f34sXhMks5uA51HgaJpZM4U534T
.

@shamsimam I would favor separating the refactoring parts of this PR (e.g. moving functions from marathon to mesos) into a separate, preliminary PR

@sradack @dposada this is ready for review.

@dposada any feedback on this?


[PE-D][Tester A] Duplicated UG title

Labels: severity.VeryLow type.DocumentationBug
original: jhchee18/ped#12

This UG bug has been fixed.


merge from arlac77/npm-package-template-esm-only

package.json

chore(scripts): cover@#overwrite c8 -x 'tests/**/*' --temp-directory build/tmp ava && c8 report -r lcov -o build/coverage --temp-directory build/tmp

.travis.yml

chore(travis): (jobs.include)
chore(travis): add 13.3.0 remove 13.2.0 (jobs.include.node_js)
chore(travis): (script)

Codecov Report

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

@@           Coverage Diff           @@
##           master     #543   +/-   ##
=======================================
  Coverage   97.81%   97.81%
=======================================
  Files           2        2
  Lines         183      183
  Branches       25       25
=======================================
  Hits          179      179
  Misses          3        3
  Partials        1        1

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 f9adffb...c87a521. Read the comment docs.

:tada: This PR is included in version 5.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Make Istio identities SPIFFE compatible

Jenkins job auth/presubmit passed

Jenkins job auth/presubmit passed

Jenkins job auth/presubmit passed

Jenkins job auth/presubmit passed

Jenkins job auth/presubmit passed

This is not ready to be merged, waiting on comments in VSID doc to be settled.

@wlu2016 signed off and it's ready to be merged


Fix missing Org.ids IN1/IN2

Signed-off-by: Brian Cragun<EMAIL_ADDRESS>Solves gap in specified features where Org.Ids for Payor and  PolicyHolder were not using TENANT and other values in the id's which are assembled from field information (no longer GUIDs)
NOTE:  I did some rename of OrgId, where used for Identifiers to OrgIdentifier, to reduce confusion in the code.  Many of the changes are due to this name refactor in the unit tests.

yml changes look good but I am not seeing in the testcases where the id is being checked

They are there, but maybe hard to see because of the other refactoring noise:  Look in Hl7FinancialInsuranceTest.java
line 146
String payorOrgId = org.getId();
assertThat(payorOrgId).isEqualTo("Organization/IdValue1"); // IN1.17.1 (no TENANT)

line 194
String payorOrgIdIn25 = org.getId();
assertThat(payorOrgIdIn25).isEqualTo("Organization/IdValue25.1"); // IN1.25.1 (no TENANT)

line 207
String policyHolderOrgId = org.getId();
assertThat(policyHolderOrgId).isEqualTo("Organization/IdValue69.10"); // IN2.69.1 (no TENANT)

line 625
String payorOrgId = org.getId();
assertThat(payorOrgId).isEqualTo("Organization/TenantId.IdValue1"); // IN1.17.1

line 639
String payorOrgIdIn25 = org.getId();
assertThat(payorOrgIdIn25).isEqualTo("Organization/TenantId.IdValue25.1"); // IN1.25.1

line 652
String policyHolderOrgId = org.getId();
assertThat(policyHolderOrgId).isEqualTo("Organization/TenantId.IdValue69.10"); // IN2.69.1


chore: update to stable snakemake

Summary by CodeRabbit

Bug Fixes

Updated the return type of the get_remote_execution_settings method for improved accuracy in type referencing.

Chores

Removed outdated comment regarding the container_image parameter for clarity and to streamline configuration.

will get back into this soon


Add "loading" state for the dialog molecule

Most probably we will have to call endpoint before closing the dialog, like validating the username/password, etc
So I think it'll be helpful to have "loading" state for the dialog like this, that blocks the user from submitting again or closing the dialog (we can make the closing optional, by adding/removing the close button like what I have here 👇)

Todo:

[ ] Add new state blocked to the dialog
[ ] Supports displaying loading and text+button

@gabrielhl what do you think?

I would rather not have a specific dialog--loading because it's not reusable for other situations we haven't thought of yet. I would say something general like dialog--blocked, where you disabled mouse interaction on the dialog, and using the default loader on top of it.

@gabrielhl So you mean something like this screenshot, and just change the state class from dialog--loading to dialog--blocked, right?

Yes, something like that.

@LeoAref Update on this?

@gabrielhl I did some progress in it, but it's not finished yet
I'll continue working on it this week

I didn't have time to finish this, I'll try to finish it soon!

@LeoAref do you think you can still take care of this or someone else should?

@LeoAref IHMO this is really to specific.... what we can is reusing dc-overlay
Something along those lines:

dc-overlay--opposite is white instead of being black


[RFE] F5 Hosts view v2

The idea here is to extend the F5 Hosts view to include more details and funtionality.

More device details like

bigip vs bigiq

this would be expressed via an icon at the far left of the list item
<EMAIL_ADDRESS><EMAIL_ADDRESS>

hover on parent item would show more details, like:

tmos version
installed ATC services/versions

child leafs would include

ATC (high level folder for ATC services) (when expanded, show ATC services)

FAST ( parent folder for fast)

(Fast versions listed from metaData or direct from github...)
Some indication on the parent FAST folder that it's running latest/LTS
green dot next to latest/lts, orange for any other version ( to indicate outdated)
this layout would provide a good interface to quickly see available versions, what is installed, and easily right click on a version to install

at that point we would have most of the information necessary to install as needed and/or uninstall, install different version...

v1.4.0
v1.3.0
...

AS3 (same as above)

...

... continued for ALL ATC

UCS (list ucs on device)

provide buttons/options to create/download/delete

explore with UCS would create a ucs, download it and corkscrew it

qkviews (list qkviews on device)

provide buttons/options to create/download/delete

this is in progress and mostly there

Made more progress.  playing with icons for bigiq vs bigip.  They only show up when we have connected and discovered what kind of device it is.  these details are now held in the config, so they should show up at first launch and persist through reloads.
Showing the current two different options for icons.  The yellow icon is bigiq.

Looking at moving the atc/ucs/qkview information to it's own view like the new bigiq view to prevent from cluttering the hosts view too much.

connected details have been moved to another view.  this completes this round of features in this area.  a couple of snap shots


vmss create:  fix a crash when create a scale-set with an internal LB

[x] The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

[x] Each command and parameter has a meaningful description.
[x] Each new command has a test.

(see Authoring Command Modules)

Codecov Report

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

@@            Coverage Diff             @@
##           master    #4254      +/-   ##
==========================================
+ Coverage   70.05%   70.06%   +<.01%
==========================================
  Files         475      475
  Lines       29614    29617       +3
  Branches     4541     4542       +1
==========================================
+ Hits        20746    20751       +5
+ Misses       7424     7423       -1
+ Partials     1444     1443       -1

Impacted Files
Coverage Δ

...zure-cli-vm/azure/cli/command_modules/vm/custom.py
74.46% <100%> (+0.07%)
:arrow_up:

.../azure/cli/command_modules/vm/_template_builder.py
87.77% <0%> (+0.87%)
: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 4d23492...2aa67c7. Read the comment docs.


[eks-blueprints-cluster]: Type 'ICluster' is missing the following properties from type 'Cluster': role, adminRole, _fargateProfiles, _clusterResource, and 28 more.

Describe the bug
I got following error when upgrade blueprints to v1.10.0
TSError: ⨯ Unable to compile TypeScript:
src/eks-blueprints/eks-cluster-stacks.ts:41:5 - error TS2740: Type 'ICluster' is missing the following properties from type 'Cluster': role, adminRole, _fargateProfiles, _clusterResource, and 28 more.

It works well with following versions
cdk: v2.87.0
blueprints: v1.8.0
Expected Behavior
No error
Current Behavior
Error
Reproduction Steps
    const cluster = EksBlueprint.builder()
      .name(eksName)
      .account(reg.account)
      .region(reg.region)
      .addOns(...AddOns)
      .version(EKS_KUBERNETES_VERSION)
      .teams(PlatformAdmin)
      .clusterProvider(EksComponents(reg))
      .build(scope, `${eksName}-eks-blueprint`, {
        description: 'EKS Blueprints',
        env: {
          region: reg.region,
          account: reg.account,
        },
        tags: TagsProp('eks-blueprints', reg),
      });

    this.eksCluster = cluster.getClusterInfo().cluster;

Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.87.0
EKS Blueprints Version
1.10.0
Node.js Version
v18.16.0
Environment details (OS name and version, etc.)
macOS Ventura 13.4.1
Other information
No response

@vumdao after we implemented import cluster provider, the type is not guaranteed to be eks.Cluster. However, if you are provisioning clusters (not importing) then you can just apply an explicit cast:
const cluster: eks.Cluster  = b.getClusterInfo().cluster as eks.Cluster;

Also, if you don't mind, please share why do you need access to the cluster after provisioning is complete? We will consider extending blueprint to make such cases more native experience.

@shapirov103 I need to get EKS SG, VPC, and openIdConnectProviderIssuer from the EKS cluster to create other resources

@vumdao thank you for sharing. How do you use openIdConnectProviderIssuer and other attributes?

@shapirov103
My platform includes Aurora RDS, Apache Airflow and others, they need to communicate with EKS Pods in private network so I need to input EKS SG and VPC in their stacks.
openIdConnectProviderIssuer is used as IAM condition policy when creating IAM role for service account, eg.
    const StringLike = new CfnJson(this, 'AirflowWorkerCondiftionJson', {
      value: {
        [`${props.iamOidcIssuer}:sub`]: [
          `system:serviceaccount:kube-system:${AIRFLOW_WORKER_SA}`,
        ],
        [`${props.iamOidcIssuer}:aud`]: 'sts.amazonaws.com',
      },
    });

@vumdao it is more or less clear with EKS SG and VPC, however for SG I encourage you to take a look at Security Groups for Pods if you are not using them already.
As far as IRSA support for service accounts - you can create IRSA service accounts with the blueprints directly.
Here is an example of a team that is configured with IRSA to access ECR from pods: https://github.com/aws-samples/cdk-eks-blueprints-patterns/blob/main/lib/teams/team-scan/index.ts#L12
Blueprints handle trust relationship with OIDC provider.  You can use teams or custom addons to provision IRSA accounts.

https://github.com/aws-quickstart/cdk-eks-blueprints/issues/764#issuecomment-1638882161
const eksCluster = (b.getClusterInfo().cluster as any) as eks.Cluster;


Rename State to Context

The State struct is the immutable struct that is passed to every request. It's purpose is to have access to things like DB connections. The name "State" is misleading, as the API should ideally be stateless and the State struct immutable. That's why Context makes more sense as a name as it conveys the purpose much better.

Done in https://github.com/airamhr9/citrine/commits?author=airamhr9


After setting basic authentication I get empty web UI

Hi all,
after setting the basic authentication configuration in the server property file, I can successfully user the digdag cli, but I cannot operate through the web UI anymore.
In particular when I try to access the endpoint with my browser I get an empty UI and no prompt for the authentication. I have tried as well to embed the username and password in the HTTP address but I get the same out come.
I would be glad if anyone could advice me on this. Thanks!

Hello, @scotty3005
Could you try this example?
https://gist.github.com/hiroyuki-sato/229302a1867025876de7fd1d8ffa2bf1

Hi @hiroyuki-sato,
that fixed the issue. Thank you very much!


Support annotation API

Category
User level API changes
Describe the feature you'd like to request
The CedarJava package should support getting the annotation of a policy. The API is defined in the Rust cedar-policy package here.
Describe the solution you'd like
N/A
Describe alternatives you've considered
N/A
Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request
[ ] ⚠ This feature might incur a breaking change

Closing because we don't want to enforce semantics on annotations.

You mean that we don't want to support the annotation API in Java? What does that have to do with the semantics?


[Bug]: Jacks cover up their target point cards on mobile devices in portrait orientation

Bug Summary
When players use mobile devices in portrait orientation, they can have difficulty seeing the point card underneath
Detailed Description
See image below:

The point card beneath the jacks is covered up by the jacks. This makes it difficult to assess the board state, and worse makes it so that you can't click the point card to target it.
Current Behavior
The point card is covered by the jacks.
Expected Behavior
The point card and the jacks are both visible
Steps to Reproduce
With the tests:
Relevant spec: it('Player and Opponent plays Jacks on different cards') in tests/e2e/specs/in-game/basicMoves.spec.js

Boot the client and server with npm run start:dev
Add a call to cy.viewport('iphone-8') to the describe() block above the test, before cy.setupGameAsP0().
Add a .only() to the spec so it reads it.only('Player and Opponent plays Jacks on different cards')
Run the spec in gui mode by booting cypress in another shell with npm run e2e:gui and clicking the basicMoves.spec.js file

You'll see the game play out and jacks appear on both sides of the field. Use this test to ensure the point cards are still visible.
Manual testing
We highly encourage contributors to use the tests to rapidly iterate as it cuts down time refreshing the page and re-creating a given scenario in-game, but you can manually replicate the issue by:

Signing in as two separate accounts in two separate browsers
Shrinking one of the browser windows to a portrait mobile size
Starting a game
Playing points as one player, then playing a jack on those points as the other

Hey there!
I'll give this my best shot. A bit of a newbie, so no guarantees!
I'll let you know how it goes


Schema

Fixes #15
TODO:

[x] Schema

[x] Impl
[x] More tests

[x] Schema for directives

[x] Impl
[x] Update parse tests
[x] Update render tests
[x] Configuration

[ ] Schema for roles

[ ] Impl
[ ] Update parse tests
[ ] Update render tests
[ ] Configuration

Going to merge it as-is without schema for roles (coming later).


'View Options' panel doesn't disappear after switching to 'Snapshots/Versions' view

Storage Explorer Version: 1.31.0-dev
Build Number: 20230726.3
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Ventura 13.4.1 (Apple M1 Pro)
Architecture: x64/x64/arm64
How Found: From running test cases
Regression From: Previous release (1.30.2)
Steps to Reproduce

Expand one storage account -> Blob Containers.
Create a blob container -> Right click the blob container -> Click 'Open in React'.
Upload a blob -> Open 'View Options' panel.
Right click the blob -> Click 'Manage History -> Manage Versions'.
Check whether 'View Options' panel disappears.

Expected Experience
'View Options' panel disappears.
Actual Experience
'View Options' panel doesn't disappear.

Hi @JasonYeMSFT Is it possible to hide the view options panel under Snapshot/Version?

It is possible but there is no need to do that.


Avast blocks Blazor Demo Apps

Just wanted to report an Avast detection error which ought to be a false alarm.

Avast Program Version: 18.3.2333 build 18.3.3860.0
Virus definition version: 180405-0

Yep, I've seen this with Symantech too. Not really anything we can do. I've just excluded Firefox's working directory from active scanning. They don't like the fact that dll files suddenly appear on the system.

Same here blocked on my company's network, the DLLs won't download. Though strangely enough I could load the DLLs from the simple Blazor sample on github, so I assume this is maybe just a site filter from the company firewall. Had no problems yet with my AV at home though, using ESET.

Thanks for reporting this! Having extra known test cases will help us when we implement #172.
Closing as duplicate of #172.


Astra to Mongo Migration

CAHL

[x] Rate limit (not a blocker)
[ ] Update project Good first issue to use GitHub token with name GH_TOKEN (Eddie to update Kubernetes Secrets)

EDDIE

[ ] Breaking change when merging
[x] Update kubernetes config
[x] Add GH_TOKEN + Mongo connection details to Kubernetes
[x] MongoDB (managed or attached storage?)
Delete EventCalendar deployment

POST DEPLOYMEMT

[ ] Swagger docs
[ ] Update community GitHub Action to send data https://github.com/EddieHubCommunity/gh-action-community
[ ] Org support repo to have issue that "opt-in" to collect users stats (+GitHub Action)
[x] Move docs Tokens, local environment, Gitpod to README.md
[x] Remove docs folder
[x] GitHub Docs Action
[x] Remove AsciiDoctor dependency
[x] Remove GitHub Pages

Which points for this PR are still open to get it merged?

Thats one of the reasons is still in Draft, I'n not done with everything yet, its heavy wip

Cahl is this ready to be merged? I have the mongo DB setup and I think everything else

From my feeling I'd say yes, let me double-check tomorrow again, then we should be good to go

sure, no worries, when you get time to take a look, let me know 👍

From my Pov it's good to merge. If we find any hiccups we can fix them with follow-up PRs

Sounds good 👍

CAHL

[x]  Rate limit (not a blocker)
[ ]  Update project Good first issue to use GitHub token with name GH_TOKEN (Eddie to update Kubernetes Secrets)

EDDIE

[ ]  Breaking change when merging
[x]  Update kubernetes config
[x]  Add GH_TOKEN + Mongo connection details to Kubernetes
[x]  MongoDB (managed or attached storage?)
~Delete EventCalendar deployment~

POST DEPLOYMEMT

[ ]  Swagger docs
[ ]  Update community GitHub Action to send data https://github.com/EddieHubCommunity/gh-action-community
[ ]  Org support repo to have issue that "opt-in" to collect users stats (+GitHub Action)
[x]  Move docs Tokens, local environment, Gitpod to README.md
[x]  Remove docs folder
[x]  GitHub Docs Action
[x]  Remove AsciiDoctor dependency
[x]  Remove GitHub Pages


Auth None by default infers auth

"auth" parameter of functions should default to None rather than True or False, and then infer auth from context. Supplying auth_token should default to auth=True if auth is not supplied. Supplying instance without auth_token should default to auth=False if auth is not supplied.

Removing the auth_token supplied separately in the function and instead using only auth, instance and the internal auth_token. If instance is supplied and not equal to the internal instance, it does not authorize even if auth is set to true. Explicitly setting auth to false disables authorization even if logged in. When logged out, setting auth=True does not authenticate.


handle issues retest

Support /retest in issue comment.
If we have a /retest made by a allowed to run CI user, in any line in comment
starting with /retest then restart the CI for that PR.
Done at triggers level so we don't spin a pod every time we do the filtering.

@vdemeester feel free to rebase and merge if you have some time to review/approve this.


Feature Request - Azure ServiceRuntime - Add Fields

Please enhance the Azure ServiceRuntime so there is a way to get these fields from cloud services.
Slot - Staging/Production
Service Name - Can get the instance name, but we want to know the name of the deployment itself.
SubscriptionId
Thank you!!

@sporty81 - Is this a feature request for the Compute client library or the REST API?

@singhkay Would be nice if these fields were on the cloud service machine themselves in the registry, environment keys, or available from the ServiceRuntime.dll. Not talking about REST. Talking about just what you can get from the on the machine.

@sporty81 Got it, let me forward this feedback to the right team

please reopen if this is still an issue.


Web interface loads but can't login anymore and shows no feeds

Did you check the FAQ & Troubleshooting section for answers to common questions and issues?

Yes

Describe the issue

For a week or so I haven't been able to login to the web interface for my instance. When I enter my login information and click login it just reloads the login page with blank fields.

I am able to login to third party apps with no issues.
It also doesn't display any communities even clicking all.
I've tried redeploying and today I upgraded to 0.18.3 but still no luck. I have 2FA on my account but it doesn't prompt for it. It had been working fine and I hadn't changed anything when it stopped working.
Diagnostic Information

Run ./deploy.sh -d and paste the output below:

==== Docker Information ====
Detected runtime: docker (Docker version 24.0.5, build ced0996)
Detected compose: docker compose (Docker Compose version v2.20.2)
   Runtime state: OK

==== System Information ====
      OS: Linux
  KERNEL: 5.15.0-78-generic (x86_64)
HOSTNAME: OK
   SHELL: bash
  MEMORY:
               total        used        free      shared  buff/cache   available
Mem:           1.9Gi       522Mi        90Mi       138Mi       1.3Gi       1.1Gi
Swap:          2.3Gi       140Mi       2.2Gi

DISTRO:
----------------------------
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
----------------------------

==== Lemmy-Easy-Deploy Information ====
Version: 1.2.8

IMAGE                                CREATED       STATUS
lemmy-easy-deploy-proxy              3 hours ago   Up 3 hours
ghcr.io/ubergeek77/lemmy-ui:0.18.3   3 hours ago   Up 3 hours
ghcr.io/ubergeek77/lemmy:0.18.3      3 hours ago   Up 3 hours
postgres:15-alpine                   3 hours ago   Up 3 hours
asonix/pictrs:0.4.0                  3 hours ago   Up 3 hours

Integrity:
    074ae41957936daac883c66bcac0ca12093343ef5e923752689b936b3c6b1b25  ./deploy.sh
    1e9b0c0988998dcc33cb0fbfdb0e1679229424e724f898b797380adc7d102446  ./templates/Caddy-Dockerfile.template
    c1202e70662dd2228da36a35a0f38ec8fc81bec8964d7315d02e8671a58dd7d7  ./templates/Caddyfile.template
    2537678c7971df36c1ed95f4228d3cfcb15bb4a28a60d939eaf8dd75b5d64a36  ./templates/cloudflare.snip
    c9cb4c5fee12930e17798a02ae1bd12e2dc69e149a394c24511bc9d4e6b776d4  ./templates/compose-email.snip
    c494a610bcb4cd1cfc0a4fe4fb0f6d437b2a84a0ad1625daee240e6dd6f1c910  ./templates/compose-email-volumes.snip
    f5325a9e26b29da51c6d3295aa278ff08ce71ffd2cd63dc4bebf00e54c468899  ./templates/docker-compose.yml.template
    1c202b1b6e87c65b2fcda6035c9fe3f8631d76662907ffd38f24b14686e30647  ./templates/lemmy-email.snip
    c834cdce9eaf77f38155b404724fdfe66845575386ee516987452aa715642a6f  ./templates/lemmy.hjson.template

Custom Files:
*** No custom files ***

==== Settings ====
        CLOUDFLARE: Yes
 CADDY_DISABLE_TLS: false
   CADDY_HTTP_PORT: 80
  CADDY_HTTPS_PORT: 443
 LEMMY_TLS_ENABLED: true
      ENABLE_EMAIL: true
         SMTP_PORT: 465
    ENABLE_POSTFIX: false
POSTGRES_POOL_SIZE: 5

==== Generated Files ====
Deploy Version: 0.18.3;0.18.3

total 36K
drwxr-xr-x 2 0 0 4.0K Jul  1 22:10 caddy
-rw-r--r-- 1 0 0   83 Jul 28 22:51 caddy.env
-rw-r--r-- 1 0 0 1.7K Jul 28 22:51 docker-compose.yml
-rw-r--r-- 1 0 0   50 Jul  1 22:10 lemmy.env
-rw-r--r-- 1 0 0  772 Jul 28 22:51 lemmy.hjson
-rw-r--r-- 1 0 0   49 Jul  1 22:10 pictrs.env
-rw-r--r-- 1 0 0   33 Jul 28 22:51 postfix.env
-rw-r--r-- 1 0 0   51 Jul  1 22:10 postgres.env
-rw-r--r-- 1 0 0   14 Jul 28 22:52 version

This has been happening for a week? Was your instance successfully deployed, and all of a sudden the web UI stopped working? Or was this script never able to deploy successfully?
If it suddenly stopped working, then this may be a Lemmy bug. If you see any errors in the logs, they may help you find the cause so you can report it:
docker compose -p lemmy-easy-deploy logs -f

You should monitor that while you try to load the web interface, it might spit out a bunch of errors.

If you are seeing an "Error!" page, you will have to wait for the database migration to complete. It could take up to 5 minutes if you have a lot of post data.
What exactly is happening when you load the page?

the pages load as normal just with no content. communities look empty with no posts and if you try to login it just refreshes the page having done nothing. no errors, warnings, or anything both on the page itself and in the docker logs

Unfortunately I cannot reproduce this, and a few other users I know to use this script are also running 0.18.3 with no issues.
Is it possible you killed the deployment during the upgrade to 0.18.3? Because otherwise I don't know what could have caused this.
@squishyoctopus Do you have any additional information since originally filing this issue?

as far as i know it was not killed on the initial upgrade. if you have discord or irc or something i can give you some temporary access to the machine to poke at it, lemmy is the only thing its hosting these days

That's alright, since this is the now second report, I'm wondering if there is an edge case that happens on migration. That's a Lemmy issue, not a Lemmy-Easy-Deploy issue, but I can at least try to help you narrow it down:
You can check the logs for a specific service like:
docker compose -p lemmy-easy-deploy logs -f SERVICE_NAME

I recommend replacing SERVICE_NAME to narrow down the issue individually by checking these services one by one:

postgres
lemmy
lemmy-ui

I specifically recommend opening two terminals, running that command in one terminal to start monitoring the lemmy service, then using your second terminal to restart the Lemmy blacked service:
docker compose -p lemmy-easy-deploy restart lemmy

That way you can see any error logs in real time as Lemmy starts up.
If you start getting spammed with /inbox logs, then it suggests that the backend is working fine, as federated servers are able to send you data. So you could do the same procedure with lemmy-ui to see any errors there.
Beyond this, I'm not sure what else to suggest, sadly. But if you do see any unexpected errors, it would definitely be worth reporting on the respective issue trackers.

sadly i find absolutely no signs of any errors, warnings, much of anything really, on any service. whats the best way to just nuke and start fresh. shut it down and use the standard docker purge or are there other files i should make sure get nuked

I couldn't find any errors either and it works fine with third party clients like memmy and voyager. It's only the Lemmy UI which doesn't work.

@lordkitsuna
You can do:
./deploy.sh -s
rm -rf live
docker volume prune -a

Be very careful with that last command, it will delete ALL volumes, including non-Lemmy volumes you might want. Clear volumes manually if you prefer.

The only other suggestion I have for both of you is that you may have set your system hostname to just lemmy, breaking internal DNS resolution to the backend.
But that wouldn't have changed during an upgrade to 0.18.3, so it's probably not that.
To verify this, you can try running:
docker compose -p lemmy-easy-deploy exec lemmy-ui /bin/sh -c 'wget -O - lemmy:8536/api/v3/site'

If you see no errors, and get a JSON response containing info about your Lemmy instance, then there is nothing wrong with the configuration on my end, and you might want to file a Lemmy UI bug.
But if it does throw an error, we can dig further.

i am certainly at a loss now, did the full wipe, verified all images gone, re deployed, exact same issue. cant login, ui seems broken. i suppose its a lemmy UI problem at this point but i have no idea why its triggering on a clean install

Can the UI contact the backend? You can check this with the command I posted above.
There have been similar issues on the Lemmy UI tracker before (and I was impacted by one so I was following it closely).
Most of the time when this happens it's due to local DNS nonsense. The command I posted above can help you confirm if this is the case.

the command returns properly, spits out a bunch of information about the site without errors. seems all buttons in general are broken on the UI for some reason, even just the show/hide password on the login page for example does nothing.
however looking at chrome dev console i think this may just be a cloudflare issue.

i do have my cloudflare api key set and have verified its correct so it shouldn't be related to that

If you're accessing the site at all and you have the Cloudflare proxy, then it's probably fine. Try visiting your_url/api/v3/site in a browser manually and see if Cloudflare blocks you there as well.
If that fails, try temporarily disabling your Cloudflare proxy and set your DNS record to your real server IP (and configure all relevant firewalls). You don't have to remove your Cloudflare API key, that's just for requesting certificates.
If it still doesn't work, and the API is returning in both your browser, and that example command I gave you, then I'm comfortable in saying this is a Lemmy UI bug.

Also, as a final precaution, scroll down to the bottom of your page and see if your page footer says "FE: 0.18.3."
If it doesn't, then it means your UI from 0.18.2 or lower is possibly being cached, and it may not be compatible with the 0.18.3 backend.
In that case, you could try force clearing your browser cache or trying a different browser.
I can tell you my UI doesn't throw those errors, so I suspect this is the case for you.

its a cloudflare issue, disabled the proxy purged dns cache and reloaded page. works fine now. so something is broken with the rocket loader js minifyer for lemmy atm. at which point i have something to sink a report into

Interesting...
Do you have any idea how I might intentionally "break" my own instance to reproduce this? I also use the Cloudflare proxy, but I've never had anything like this happen before.
Do you have some custom page rules maybe?

no custom rules, i do however have the "rocket loader" enabled under the speed/optimization tab area and it was the rocker-loader that was throwing the error so i assume its related to that. i pretty much have any and all optimizations they give free accounts enabled.

I see
@squishyoctopus Your debug output shows you using Cloudflare, are you using those features as well?

Turning off cloudflare proxy fixed it for me too. First I tried turning developer mode on which is supposed to bypass cloudflare cache but it didn't fix it until I turned off proxying and cleared my DNS cache to load from the server directly.

Well, glad to hear it's not a Lemmy issue!
I do use Cloudflare myself, so I can tell you the Cloudflare Proxy, by default, doesn't typically mess with me, and 0.18.3 is working fine.
Definitely check to see if you have rocket-loader or any JS minimization features enabled by default. If you use your root domain for other things, you might have them enabled for your entire Zone without even realizing it.
Since mine is working, I'm willing to bet there's something you can change on the Cloudflare side to get it working again, without needing developer mode and without disabling the cache (I don't do either of those things).


Adding pika authentication and sleep time to queue consumer

sleep time and pika authentication added to: sdx_controller/messaging/rpc_queue_consumer.py

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

-37 of 79 (53.16%)  changed or added relevant lines in 16 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 37.787%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

swagger_server/controllers/connection_controller.py
2
4
50.0%

swagger_server/handlers/connection_handler.py
5
12
41.67%

swagger_server/main.py
0
28
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
516

Relevant Lines:
1222

💛  - Coveralls

Superseded by #223 and #250.  Let us close this now.


endless spinner in digital experience

Hi, we have the problem that the file explorer spinner does not disappear (sometimes) in our salesforce digital experience community.
i figured out that if i put a breakpoint in the first line of "renderedCallback"  in qsycdFileExplorerTree.js it renders later and thus it somehow always works so i guess it is a timing issue or something.
hint: if i remove the spinner manually or by js code the component works well so i can access all files and stuff and it fully works.

Thanks @alexanderthurn
Does it happen every single time?
We have tested in a few Exp Sites internally (Using latest Chrome) and the spinner hides successfully..
ta
Paul


【Question or Suggestion】 Regarding Whitespace Stripping

Description
This is a question or suggestion (in case the feature isn't available yet), rather than a troubleshooting issue.
fzf-lua is an amazing plugin, but I have a minor functionality question. Since I work with indentation-based programming languages like Python, there are many whitespace characters at the beginning of each line. How can I strip off these space characters? I couldn't find any configuration options for this.

Do you have rg installed?
If so you can remove these by adding --trim to the command (or rg_opts), from man rg:
   --trim
       When set, all ASCII whitespace at the beginning of each line
       printed will be trimmed.

Try it out with:
:lua require("fzf-lua").live_grep({ cmd = "rg --line-number --column --color=always --trim" })

If you wish to set this up permanently with the default options, call setup with:
require("fzf-lua").setup({
  grep = {
    rg_opts = "--column --line-number --no-heading --color=always --smart-case --max-columns=4096 --trim -e",
  },
  -- your other options
})

This is fantastic, it works perfectly, thank you so much! @ibhagwan

This is fantastic, it works perfectly, thank you so much! @ibhagwan

You’re welcome @RsrnlWysxr!

Hey @ibhagwan, is it possible to make this work for live grep? It seems to ignore the rg_opts

Hey @ibhagwan, is it possible to make this work for live grep? It seems to ignore the rg_opts

Both grep and live grep use the same rg_opts, if it’s not working for you the issue is somewhere else.


Vulnerability roundup 91: radare2-4.4.0: 1 advisory [9.6]

search, files

[ ] CVE-2020-15121 CVSSv3=9.6 (nixos-unstable)

Scanned versions: nixos-unstable: 840c782d507. May contain false positives.
Cc @7c6f434c
Cc @makefu
Cc @mic92

fixed in https://github.com/NixOS/nixpkgs/pull/94708
Not sure if I should backport it.

An alternative would be to apply the patch referenced in the CVE

let's backport everything... https://github.com/NixOS/nixpkgs/pull/94897

done.


Reformatted scripts

Reformatted scripts and updated indentations.

Yet to do

[ ] Update documentation.
[ ] Create contributing guidelines.


Update RHEL based factsets

Updates factsets for CentOS/RedHat/Scientific/OracleLinux 6 & 7
Updates factsets for Fedora 28
Add factsets for RedHat 8
Add factsets for Fedora 29 & 30

Coverage remained the same at 81.651% when pulling 3f6ea93e316bc76dc8bca2aef71280cc6c06aca7 on rodjek:update_rpm into 10a7b9174f84a6dd4eb5e8104ffc3fb86640e4dc on camptocamp:master.


React.Children.only seems to fail on IE11

I have problems getting a React application running on IE11. The problem seems to be that React.Children.only throws error React.Children.only expected to receive a single React element child.
Only happens on ie11
Any familiarity with that issue?

I resolved this. In my case it turned out to be related to not polyfilling Symbol on React 16.x


failure to install javabridge

Describe the bug
I got a message saying "Cell-ACDC is going to download and install javabridge". It was able to download it, but failed during installation
To Reproduce
Steps to reproduce the behavior:

Start ACDC
Click on Module 0
Press OK when the message saying it's going to download javabridge
See error:
"Traceback (most recent call last):
File "C:\Users\Jacob\miniconda3\envs\acdc\lib\site-packages\cellacdc\dataStruct.py", line 830, in init
import javabridge
ModuleNotFoundError: No module named 'javabridge'
Traceback (most recent call last):
File "C:\Users\Jacob\miniconda3\envs\acdc\lib\site-packages\cellacdc\dataStruct.py", line 830, in init
import javabridge
ModuleNotFoundError: No module named 'javabridge'
======================================
Collecting git+https://github.com/SchmollerLab/python-javabridge-windows
Cloning https://github.com/SchmollerLab/python-javabridge-windows to c:\users\jacob\appdata\local\temp\pip-req-build-7ut378wk
Running command git clone -q https://github.com/SchmollerLab/python-javabridge-windows 'C:\Users\Jacob\AppData\Local\Temp\pip-req-build-7ut378wk'
ERROR: Error [WinError 2] The system cannot find the file specified while executing command git clone -q https://github.com/SchmollerLab/python-javabridge-windows 'C:\Users\Jacob\AppData\Local\Temp\pip-req-build-7ut378wk'
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?
Traceback (most recent call last):
File "C:\Users\Jacob\miniconda3\envs\acdc\lib\site-packages\cellacdc\dataStruct.py", line 830, in init
import javabridge
ModuleNotFoundError: No module named 'javabridge'

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Jacob\miniconda3\envs\acdc\lib\site-packages\cellacdc_main_.py", line 381, in _showDataStructWin
self.dataStructWin = dataStruct.createDataStructWin(parent=self)
File "C:\Users\Jacob\miniconda3\envs\acdc\lib\site-packages\cellacdc\dataStruct.py", line 896, in init
myutils.install_javabridge()
File "C:\Users\Jacob\miniconda3\envs\acdc\lib\site-packages\cellacdc\myutils.py", line 192, in install_javabridge
subprocess.check_call(
File "C:\Users\Jacob\miniconda3\envs\acdc\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\Users\Jacob\miniconda3\envs\acdc\python.exe', '-m', 'pip', 'install', 'git+https://github.com/SchmollerLab/python-javabridge-windows']' returned non-zero exit status 1."
Expected behavior
I expected the installation to work.
Screenshots

Desktop (please complete the following information):

Python version: [e.g. Python 3.9]
OS: [e.g. Windows 10]
Cell-ACDC Version [e.g. v1.2.4, you can find this from the menu "Help-->About Cell-ACDC" on the main Launcher]

Additional context
Add any other context about the problem here.

Update: installed Git for Windows via website and ran cell acdc through again. got a new error:

Thanks! It worked!


C++: Restructure UnsafeUseOfStrcat for performance

This query gets optimized badly, and it has started timing out when we run it on our own code base. Most of the evaluation time is spent in an RA predicate named #select#cpe#1#f#antijoin_rhs#1, which takes 1m36s a Wireshark snapshot.
This restructuring of the code makes the problematic RA predicate go away.
I'm targetting 1.18 here because if this query can cause timeouts on our internal dashboard then I worry that it's an observable regression since 1.17. I haven't actually been able to reproduce the timeout from the Dashboards/Internal Jenkins job, so this change may or may not fix it, but nothing else seems slow about this query.

This looks like a safe change to me.  I briefly tried it out locally on three snapshots:
                     before             after
AQTF                 15s, no results    11s, no results
cppcheck             21s, no results    15s, no results
libretro_mame2003    206s, 4 results    81s, 4 results

Some of that is probably just variance but the last result looks promising.


trained weights baidu link not working/breaking

Thanks @yuanyuanli85 for the great work.
This is going to sound really dumb, but i am finding it very difficult to down the trained weights from Baidu. It seems to break and does not resume. I have searched a lot for a way to get it going but haven't been success-full.
Would really appreciate if you could host the weight anywhere else (dropbox/google drive/aws).
Thanks

Let me upload it to google drive. Will update the readme once it is done. Hope i can make it done within 2days.

Thanks a lot for the prompt reply.

Done. Please check commit 483988c

Thank a lot .
On Sun, 16 Dec 2018, 08:21 VictorLi<EMAIL_ADDRESS>wrote:

Done. Please check commit 483988c
https://github.com/yuanyuanli85/FashionAI_KeyPoint_Detection_Challenge_Keras/commit/483988cd14ddd9c41a4ead33b0295c1ccd682544
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yuanyuanli85/FashionAI_KeyPoint_Detection_Challenge_Keras/issues/4#issuecomment-447613536,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWWT9SWV6sWm1AbT2UxqXwkzLiKCv72Aks5u5bUmgaJpZM4ZUtsA
.

Hi , this still does not include the link to google drive .Thanks

sorry, forget to push the changes. Please check commit 0b3bd8c


CTHUB - GER new tab name

Describe the task
Replace Main list tab name with Distribution List - Master. This is the final name.
Purpose
The team changed the name and it needs to be reflected in the back end.
Acceptance Criteria

[ ] Tab name is Distribution List - Master

Additional context

We explained to the team how the upload works. They now know that the tab name should not be changed unless it is very necessary and the Product Owner is notified.

moved to 326


Queries from powerbi.com to Azure Cosmos DB account are working for me!

[Enter feedback here]
There is a note stating this is not possible, but I just tried and it works both, using an in-premises gateway and directly. The latter needs the DB to be reachable from internet.
Thanks,
Julio

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: db43c478-6301-7b69-131a-c4289797c49d
Version Independent ID: 5f991bdb-919e-f712-1fe0-050eba25ebaf
Content: Power BI tutorial for Azure Cosmos DB
Content Source: articles/cosmos-db/sql/powerbi-visualize.md
Service: cosmos-db
Sub-service: cosmosdb-sql
GitHub Login: @Rodrigossz
Microsoft Alias: rosouz

Please look at the note at the bottom.
I am now thinking that perhaps I misinterpreted it. Perhaps the note is trying to say that you need to go through powerbi desktop in order to create a report that queries directly to cosmos.
I leave to you if that if my misinterpretation is weird or if some rewording would benefit others.
Thanks!

Hello! I think that the message is clear: You need to use PBI Desktop to create the reports, and then publish them. You can't create the report in PBI web because you can't extract the data. If you somehow extract the data and upload it to PBI web as a data source, you can then create the report.
What is your suggestion?

What about this one:
Reports created in Power BI Desktop can be published to PowerBI.com. Refreshes of such reports by querying the Azure Cosmos DB are supported either directly or via on-premises gateway. Creating datasets/reports that query Azure Cosmos DB directly from powerbi.com, without first using Power BI Desktop, is not supported.
Idk, perhaps it's only me, but "direct extraction of Azure Cosmos DB data" looks very generic to me, as if an indirection was required for any data extraction, not just during the creation of the dataset/report.

Direct queries aren't supported... Only import mode.

Closing for now since the actual limitations may change.

#please-close


How to customize different timeoutintervals for different requests, but not all the same?

How to customize different timeoutintervals for different requests, but not all the same?
For example, I want to customize the timeoutinterval with 60s for request A, and 30s for request B, how to do with Alamofire ?

Use separate sessions and initialize your session with different URLSessionConfiguration object with your desired values for timeoutIntervalForRequest and timeoutIntervalForResource.

Using separate sessions isn't necessary. Alamofire now has request modifiers that you can use directly on every request. See our documentation for more.


Log to determine when/where session is disposed

Logging for https://github.com/microsoft/vscode-jupyter/issues/11403

Codecov Report

Merging #11405 (81ea778) into main (4218404) will decrease coverage by 0%.
The diff coverage is 100%.

:exclamation: Current head 81ea778 differs from pull request most recent head 8680034. Consider uploading reports for the commit 8680034 to get more accurate results

@@          Coverage Diff           @@
##            main   #11405   +/-   ##
======================================
- Coverage     63%      63%   -1%
======================================
  Files        476      476
  Lines      33962    33964    +2
  Branches    5509     5509
======================================
- Hits       21566    21553   -13
- Misses     10350    10358    +8
- Partials    2046     2053    +7

Impacted Files
Coverage Δ

src/kernels/common/baseJupyterSession.ts
80% <100%> (+<1%)
:arrow_up:

src/kernels/kernel.ts
83% <100%> (+<1%)
:arrow_up:

.../notebooks/controllers/controllerDefaultService.ts
65% <0%> (-9%)
:arrow_down:

src/platform/common/cancellation.ts
62% <0%> (-6%)
:arrow_down:

...otebooks/controllers/controllerPreferredService.ts
85% <0%> (-6%)
:arrow_down:

...andalone/intellisense/intellisenseProvider.node.ts
79% <0%> (-2%)
:arrow_down:

src/kernels/helpers.ts
66% <0%> (-2%)
:arrow_down:

src/kernels/jupyter/session/jupyterSession.ts
73% <0%> (-2%)
:arrow_down:

src/kernels/raw/launcher/kernelProcess.node.ts
72% <0%> (-1%)
:arrow_down:

... and 6 more


Staging

Killed sequelize and got a 'framework' for styling as a proof of concept

Things checkout on staging


swap master for main

Now is a great time to swap out master for main.
@sjsrey @knaaptime @martinfleis Any detractors?

@sjsrey and @knaaptime, I'd like to get this done today. If I don't have an explicit "nay" I will do this evening.

go for it

Done. All devs need to update local pointers and personal remotes:
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a


Refactor call_unsafe_wdf_function_binding so invocations look like function calls

This PR just changes the syntax for call_unsafe_wdf_function_binding so that the contents actually look like a function call.
This is important both for ergonomics (e.g. rust-analyzer will highlight the function like a function), as well as because I assume eventually you want to get rid of this macro altogether and this will make it easier for users to refactor their code when the time comes.

This is important both for ergonomics (e.g. rust-analyzer will highlight the function like a function

Could you elaborate on what ergonomics you're referring to here? Does allow rust-analyzer to provide any additional feature beyond just highlighting as a function?

, as well as because I assume eventually you want to get rid of this macro altogether and this will make it easier for users to refactor their code when the time comes.

Our rough plan right now does not include the removal of the macro. Our thinking is that as we work to write idiomatic rust wrappers for the individual apis, those wrappers would use the call_unsafe_wdf_function_binding. Those who want to use the raw bindings in wdk-sys can continue to use them via the macro, but those who want to use the idiomatic api in wdk will need some refactor work anyways. these idiomatic apis are still something we are experimenting with so it will take some time before we get to the point of merging those in.

Ah sorry - I forgot to follow up on this!

Could you elaborate on what ergonomics you're referring to here? Does allow rust-analyzer to provide any additional feature beyond just highlighting as a function?

Really the only benefits would be that this makes the function call look like a function call both to developers and rust-analyzer.
It's important IMO for allowing developers to quickly understand any code that makes these calls, whether internal or external.

Our rough plan right now does not include the removal of the macro. Our thinking is that as we work to write idiomatic rust wrappers for the individual apis, those wrappers would use the call_unsafe_wdf_function_binding.

Hopefully I can change this plan with my other PR :)
I do think that one is more valuable because it has the above benefits plus it allows rust-analyzer to display rich information about both input parameters as well as the return value for each Wdf function.


BotChannel API cannot update Skill Id immediately after the AlexaChannel is created successfully

After tested, I found BotChannel API cannot update Skill Id immediately after the AlexaChannel is created successfully. It has to wait several minutes after created successfully, then skill id can be updated successfully. So seems it's a long running issue. Please have a look. Thanks.
Bad case - Repro steps:

Create Resource Group
Create Bot Channel Registration
Create Bot Alexa Channel
You will find the skill id is "TestSkillId1"
Immediately update Alexa Skill Id to "TestSkillId2"
You will find the skill id is still "TestSkillId1"

Good case - Repro steps:

Create Resource Group
Create Bot Channel Registration
Create Bot Alexa Channel
You will find the skill id is "TestSkillId1"
Wait 15 minutes
Update Alexa Skill Id to "TestSkillId2"
You will find the skill id is still "TestSkillId2"

@hailiu2586 could you help take a look?


Generate CQL for Action States

Generates the CQL automatically for action states based on the action resources.
Few notes:

This is based off Keeyan's branch so I set up the PR to have that as the base. Right now some things might be broken as he continues to update that branch.
The ELM is all valid - you will see annotation warnings about the retrieve. I passed these buy Chris as the ELM does what is expected. He said the ELM is correct but the translator is adding that warning by mistake
I added a sample pathway which represents a pathway right after you create a new one. This way for testing we no longer need to create a new pathway everytime we can use that one which has a static uri
I broke out the ELM data models into their own file as they were getting more and more complex

This looks really good to me, are you finished with the fixes you mentioned at standup?

are you finished with the fixes you mentioned at standup?

Yup! just pushed two more styling changes Noranda suggested

I'm getting a couple errors when I try things with Regimens. Both cases use the Early Stage HER2+ pathway and click on the No Endocrine Therapy node to start.
Case 1: Add a Regimen here, give it a name and description, then export the pathway. This error appears:

Case 2: Add a new Action node, and just type really fast or delete the name field. This one I can't reproduce as consistently but eventually this error appears:

For Case 1, I'm pretty sure we just need to add a null check, I did something similar when working on export pathway.

For Case 1, I'm pretty sure we just need to add a null check, I did something similar when working on export pathway.

yea that sounds like it would work - however I think this is a slightly bigger issue of my elm model requiring all ofthese elements when really they should be optional. I'll spend some time updating

Fixed the two bugs from Dylan and also found this one which occurs when the code or title includes '. Because the CQL wraps these variables in ' it must be escaped. In this PR I used the JS escape method. Adding a backlog item to research if this has any impact to using this CQL in Camino (does Camino also need to escape the titles and codes so it is a match)


Fix for PR #53 so yaml tests run with pyyaml<5.1

Fixes: N/A
Summary/Motivation:
PR #53 resolved deprecation warnings with recent PyYAML, but broke tests for PyYAML<5.1.  This PR resolves those test failures so that tests run cleanly for new and old versions od PyYAML.
Changes proposed in this PR:

Add a compatibility layer for supporting both PyYAML 5.1.x and 3.x.

Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution:

I agree my contributions are submitted under the BSD license.
I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

Coverage remained the same at 62.245% when pulling 4cdaf4acd33dd394f2364e9080c1782100828be9 on fix-yaml-tests into 7223482aba1c75378ae5e77f35a16440bbb8fb31 on master.

Coverage remained the same at 62.245% when pulling 4cdaf4acd33dd394f2364e9080c1782100828be9 on fix-yaml-tests into 7223482aba1c75378ae5e77f35a16440bbb8fb31 on master.

Coverage remained the same at 62.245% when pulling 4cdaf4acd33dd394f2364e9080c1782100828be9 on fix-yaml-tests into 7223482aba1c75378ae5e77f35a16440bbb8fb31 on master.

The PR doesn't motivate the need for this fix.  In general, we are not going to be able to support backwards compatibility in all cases for third-party libraries.  So what's the motivation here?  I know that this impacts Pyomo development, and I expect similar backwards compatibility issues to arise there as well.


Make preDeploy workflow handle StagingDeployCash logic

Details
Run two new actions at the beginning of the workflow:

actions-ecosystem/get-merged-pull-request](https://github.com/actions-ecosystem/action-get-merged-pull-request)

It uses JS so should work on macOS runner.
Has only the one github_token input (note lowercase not GITHUB_TOKEN 😉), so should be pretty difficulty to misconfigure.

isStagingDeployLocked

Then if the StagingDeployCash is locked, we comment on the PR stating that it will be merged later, and skip all the rest of the workflow steps. Otherwise, continue as usual, except with one new final step. In the last step, use the createOrUpdateStagingDeploy action to add the newly merged PR to the StagingDeployCash.
Fixed Issues
Fixes https://github.com/Expensify/Expensify/issues/155208
Tests
Testing plan:

[x] Make sure we have a valid, open, unlocked, StagingDeployCash issue in the Expensify.cash repo.
[x] Merge this PR, and we should expect:

[ ] OSBotify does not comment on the merged PR stating that it was not deployed yet.
[ ] The version is created successfully, along with a tag and an automerge PR. The automerge PR should merge and a staging deploy should commence.
[ ] The StagingDeployCash issue should be updated to include this PR.

[ ] Add the 🔐 LockCashDeploys 🔐 label to the StagingDeployCash.
[ ] Merge another dummy PR, and we should expect:

[ ] OSBotify comments on the merged PR staging that is was not deployed yet.
[ ] The rest of the workflow is skipped, but does not result in a failure. No new version is created, no new tag, no new automerge PR.
[ ] The StagingDeployCash issue should be unmodified.

This is off hold and ready for review, but don't merge just yet because I want to do some testing in another repo

Okay, did some testing of the stuff I was unsure about here. This is updated and ready for review & merge-test.

Is this off hold too?

Tests failed second step:

Unable to resolve action actions-ecosystem/get-merged-pull-request@cb1e7423b3ca9886f619a8b93874b2e72abfb87c, repository not found

https://github.com/Expensify/Expensify.cash/actions/runs/647369887
I will make a PR to resolve this and continue testing

PR to resolve typo 👉 https://github.com/Expensify/Expensify.cash/pull/1750
I will continue testing once this is merged!

Got another error:
Run Expensify/Expensify.cash/.github/actions/createOrUpdateStagingDeploy@master
  with:
    GITHUB_TOKEN: ***
    NPM_VERSION: 1.0.2-44
    NEW_PULL_REQUESTS: https://github.com/Expensify/Expensify.cash/pull/1750
  env:
    PULL_REQUEST_NUMBER: 1751
Unexpected error occurred finding the StagingDeployCash! There may have been more than one open StagingDeployCash found, or there was some other problem with the Github API request. Error: Provided URL  is not a valid Github Issue or Pull Request!
    at Function.getIssueOrPullRequestNumberFromURL (/Users/runner/work/_actions/Expensify/Expensify.cash/master/.github/actions/createOrUpdateStagingDeploy/index.js:521:19)
Error: Error: Provided URL  is not a valid Github Issue or Pull Request!
    at /Users/runner/work/_actions/Expensify/Expensify.cash/master/.github/actions/createOrUpdateStagingDeploy/index.js:376:45
    at Function.map (/Users/runner/work/_actions/Expensify/Expensify.cash/master/.github/actions/createOrUpdateStagingDeploy/index.js:18563:24)
    at /Users/runner/work/_actions/Expensify/Expensify.cash/master/.github/actions/createOrUpdateStagingDeploy/index.js:374:50
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
Failed fetching data from Github! undefined
An error occurred! Error: Failed fetching data from Github
    at /Users/runner/work/_actions/Expensify/Expensify.cash/master/.github/actions/createOrUpdateStagingDeploy/index.js:56:19
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
Error: Error: Failed fetching data from Github

https://github.com/Expensify/Expensify.cash/runs/2098738279?check_suite_focus=true

@roryabraham fixed that error: https://github.com/Expensify/Expensify.cash/pull/1752
Back on the testing 🐴

Verified that the first set of tests pass ✅
Now working on verifying the 🔒 label works

Tested in: https://github.com/Expensify/Expensify.cash/pull/1754
Got an error:
Error: HttpError: Unable to create comment because issue is locked.
Error: Unable to create comment because issue is locked.

We think we know the fix


fix: Remove no-deps option from pip install to ensure dependencies are installed

Problem
Currently, the Dockerfile includes the command pip install --no-deps . which causes issues at runtime with the Docker container, notably the error ModuleNotFoundError: No module named 'tensorflow'. This problem arises because this command does not install the necessary dependencies alongside the project.
Issue
close #35
Solution
This pull request removes the --no-deps flag from the pip install command in the Dockerfile. This change ensures that all dependencies specified in pyproject.toml are correctly installed in the Docker environment, preventing runtime errors related to missing modules.

@tomoish
Thank you for sharing the workaround in your environment.
To conclude, the --no-deps option is necessary. Without it, there's a risk of overriding the package versions fixed in poetry.lock, which could lead to bugs in the environment setup in the future.  I think you are using Mac with Apple Silicon, and as I've also answered in the issue https://github.com/molecule-generator-collection/ChemTSv2/issues/35, the provided Dockerfile and pyproject.toml do not currently support ARM architecture. We plan to address this in the future.


Remove face4

This removes all use of Face4, replaces UV with Vector2, adds RingGeometry, as well as updates some examples and adds a new one.

/ping @johsin18 :)

Thanks @brason
Looks like you did a lot of work ;)
Unfortunately I'd say there's too much going on for a single PR which makes it difficult to you review.
Can you break it down into smaller PRs with some more context info about the updates/new features (at least why they're something we want/need) ?
I'd say we're looking at at least four PRs: updates and cleanups, adding RingGeometry + samples, replacing UV with Vector 2 and removing Face4.
You can create a new branch from master, cherry pick some commits and push them to a new branch to open a new, smaller PR.

I feared you might say that :) I will get to it soon.


Angular (cli) Support

See https://github.com/angular/angular-cli/issues/8744

@nicojs What are the plans for this since Angular 6 came out?

I've decided on a slightly different approach. I'm extending the KarmaTestRunner to also support the npm test setup. Similar to the jest runner's ability to use different presets, the karma runner will have a way to support different runner implementation.
@stryker-mutator/contributors what should the config look like? It would be nice if we can make a sensible configuration option, like with jest:
karma: {
        project: 'default', // or 'ng'
        configFile: 'path/to/karma.conf.js'
        config: {
             browsers: ['ChromeHeadless'] // override config settings
        }
 }

But this would be a breaking change, since we now support the karmaConfig and karmaConfigFile settings.
Also I don't like the 'default' name. I think it should be custom. What do you guys think? If you agree we should also make the change to the jest runner.
I've decided to go this route instead of creating a new AngularCliTestRunner as both implementation would look the same. It does mean some refactoring though, hope to get that done sometime this week.

Well... default suggests it should work in most cases. I usually start with defaults to see if things work. If not, I switch to something else (provided it is documented, available, ...). So I think we should be careful to promote something as being the default.

My point is that the name project: 'default' is a strange default setting. It doesn't make sense saying that the default setting is default imo. If default is the default what does that mean? Can't we really not think of something better.
The reason why I call it "custom" for jest, is that you can use a "custom jest configuration". Another name could be "manual".
For karma, we could maybe use "karma" (default) or "angular". What do you think?

But this would be a breaking change, since we now support the karmaConfig and karmaConfigFile settings.

I don't see those two settings in your example. I would prefer karma and angular as values

@simondel that's why its breaking. But we can support both with a deprecation warning

Let's go with this configuration for now. Seems clean and less breaking:
karma: {
        project: 'custom', // or 'angular-cli'
        configFile: 'path/to/karma.conf.js' // default `undefined`
        config: { // default `undefined`
             browsers: ['ChromeHeadless'] // override config settings
        }
 }

I'll also make the following changes:

Make sure karmaConfig and karmaConfigFile both work with a deprecation warning.
Remove karma as peer dependency (as it could also be @angular/cli)
Add a check on the @angular/cli version (as the minimal version should be 6.0.8).

Sounds good!

@nicojs is there any chance you could link whatever changes / documentation came out of this issue?

Sure! For people getting started with angular-cli + Stryker: please see https://github.com/stryker-mutator/stryker-handbook/blob/master/stryker/guides/angular.md


Need a version of DRF-docs that works with ProtectedResourceView

Currently DRF-docs (and other toolkits I could find) only work with APIView or subclasses. I have an application based on the Django REST Framework, but I am also using django-oauth-toolkit for authorization, which means all my views are based on ProtectedResourceView, which is not a subclass of APIView.
Are you aware of any self-documenting api tools that work with ProtectedResourceView, or do you have any plans to support this in the near future?

Checking the source code (for a completely different reason) I found that, for instance, ViewSets inherit from APIView, even when the methods thew expose are completely different (create vs. post, for instance). Maybe you can also inherit from them?