Add some Kotlin extensions for Java SDK methods

Overview
This PR adds some Kotlin extensions for Java SDK methods that make SDK a bit nicer to use with Kotlin
What was changed
Added Metadata helpers
There are some helpers to get workflow & activity metadata our of their JVM implementations: workflowName, workflowSignalName, workflowQueryType, activityName.
activityName is probably the most useful out of all, thanks to the recent introduction of activity-specific options in activity stubs.
workflowName could potentially be ported to the core Java SDK, but others are Kotlin-specific.
Added inline/reified extensions for existing methods
There are some extension methods like ActivityExecutionContext.getHeartbeatDetailsOrNull(), DataConverter.fromPayload(), WorkflowClient.newWorkflowStub(), etc, that add more Kotlin-idiomatic methods to existing classes:

idiomatic Kotlin code does not operate on Optionals and uses nullable types instead, so some methods hide Optionals in parameters/return types. In cases when a return type Optional is unwrapped, method name gets orNull suffix similar to Kotlin's stdlib
inline functions and reified type parameters make code that deals with generic types much simpler to use

Added DSL-y wrappers for builders
These methods add a touch of "DSL" to the code that builds various classes, but still keeps everything as close to core Java SDK as possible, so everyone familiar with the core SDK should be able to understand it
val activityOptions = ActivityOptions {
  setStartToCloseTimeout(Duration.ofMinutes(1))
  setRetryOptions {
    setMaximumAttempts(2)
  }
}

Why?
All these methods are completely optional but they make Temporal SDK code a bit shorter and/or more idiomatic when used from Kotlin.
Checklist

Closes -

How was this tested: unit tests. A lot of these methods are also used in production code as they are ported from an internal extension library.

Any docs updates needed? 🤔  Ideally, these methods (along with a requirement for the temporal-kotlin module) are documented in a dedicated subsection of the Java SDK.

TODOs

[ ] port/add more unit tests
[x] review and update KDocs
[ ] update README

I still have to add more tests and update README, but the main code is ready for review

@GreyTeardrop may I ask to reformat the files with klint?
From the buildkite:
> Task :temporal-kotlin:ktlintMainSourceSetCheck
--
  |
  | > Task :temporal-kotlin:ktlintTestSourceSetCheck FAILED
  | /temporal-java-client/temporal-kotlin/src/test/kotlin/io/temporal/common/metadata/WorkflowMethodNameTest.kt:98:1 Unexpected blank line(s) before "}"
  | /temporal-java-client/temporal-kotlin/src/test/kotlin/io/temporal/common/metadata/WorkflowMethodNameTest.kt:104:1 Unexpected blank line(s) before "}"

@GreyTeardrop may I ask to reformat the files with klint?
From the buildkite:
> Task :temporal-kotlin:ktlintMainSourceSetCheck
--
  |
  | > Task :temporal-kotlin:ktlintTestSourceSetCheck FAILED
  | /temporal-java-client/temporal-kotlin/src/test/kotlin/io/temporal/common/metadata/WorkflowMethodNameTest.kt:98:1 Unexpected blank line(s) before "}"
  | /temporal-java-client/temporal-kotlin/src/test/kotlin/io/temporal/common/metadata/WorkflowMethodNameTest.kt:104:1 Unexpected blank line(s) before "}"

Thank you, @Spikhalskiy! I was probably doing something wrong, as the build was succeeding locally for me. However, when I ran just the ktlint task I was able to see this violation.

@Spikhalskiy I guess I still need your help with making this PR green. I ran ktlintFormat and licenseFormat on the temporal-kotlin module and they made no changes to the code; build runs successfully for that module.

Thank you for the great contribution!


Corrected capitalisation of product/license names

Docs Build status updates of commit 1db0a79:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/compliance/ediscovery.md
:white_check_mark:Succeeded

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

Docs Build status updates of commit ac2847b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/compliance/ediscovery.md
:white_check_mark:Succeeded

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

Docs Build status updates of commit 42d5dfc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/compliance/ediscovery.md
:white_check_mark:Succeeded

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


Problem with latest Aurelia

Hi
I'm having trouble getting the grid to work with the latest version of Aurelia.
The error I'm getting is 'Loader must implement loadtemplate(url)'
Any ideas how I would go about getting the grid to work?
Many thanks

I think I also had this issue recently, doing jspm update did the trick. Worth trying :)

Thanks.  That's got it running.  Now it's not rendering it properly :-/

I've got it rendering properly now.  :-)


[BUG] Footer Alignment looks weird on large screens

Is there any existing issue for this?

[X] I have searched the existing issues

Description
The footer looks very much crammed up with the text taking a lot of space and no breathing space for the community and events section. I would like to help you out on this issue.
Screenshots

Any additional information?
No response
What browser are you seeing the problem on?
Chrome

I would like to work on this issue under gssoc'23


Adds command spo navigation node set

Closes #4416

Thanks @MathijsVerbeeck for your another great contribution 🤩. We will review it ASAP.

Thanks for the feedback @milanholemans. Could you have another look?

Thanks for the feedback @milanholemans. Could you have another look?

Will try to do it shortly! Awesome work so far.

Merged manually, Thank you for your continuous contributions for the community!


Rel1921

Codecov Report

Merging #1114 into master will increase coverage by 1.42%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #1114      +/-   ##
=========================================
+ Coverage   40.37%   41.8%   +1.42%
=========================================
  Files          69      69
  Lines       13240   13240
  Branches     2214    2214
=========================================
+ Hits         5346    5535     +189
+ Misses       7509    7277     -232
- Partials      385     428      +43

Impacted Files
Coverage Δ

autobahn/_version.py
100% <100%> (ø)
:arrow_up:

autobahn/util.py
43.37% <0%> (+0.4%)
:arrow_up:

autobahn/wamp/websocket.py
39.84% <0%> (+0.75%)
:arrow_up:

autobahn/wamp/serializer.py
80.8% <0%> (+2.39%)
:arrow_up:

autobahn/asyncio/component.py
31.67% <0%> (+13.04%)
:arrow_up:

autobahn/wamp/component.py
38.88% <0%> (+29.29%)
:arrow_up:

autobahn/wamp/test/test_component_aio.py
74.32% <0%> (+59.45%)
: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 4b4227a...241d43a. Read the comment docs.


tests: settings: functional: file: add native_sim/native/64 overlay

In 0be0d2175bd (cmake: modules: extensions: Revert using common board files), the overlay for native_sim/native/64 in the settings functional file test was not recreated. Duplicate the overlay used for the native_sim target to support this test correctly.

Fixes issue blocking CI on #71769

a hwmv2 issue I guess.
this one is like that soldier who was fighting WWII into the 1970s.

why we are building documentation on this PR is beyond me....

Thanks @danieldegrasse

why we are building documentation on this PR is beyond me....

https://github.com/zephyrproject-rtos/zephyr/commit/a9f77a5126c5f7690eb76eeba5d4ca57842379cf
Can't think of why we ever had tests/ in there feel free to send a PR:)


SW-5047 Add createdTime to IndividualUser and UserWithGlobalRolesPayload

#1769  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nickgraz and the rest of your teammates on  Graphite


Typo in module patient status

Typo in module patient status figure. Replace ncit:staus with ncit:status.
Note: This issue is reported by @ronaldcornet via email

fixed in this PR https://github.com/ejp-rd-vp/ERN-common-data-elements/pull/20


[project_crazyflie] Example fails with Goal Rejected

ROS2 Version
humble
Version
main
What happened?
Hi!
I was testing out the crazyflie example and I found that starting the example will not work most of the time and give you a Goal Rejected Error
i.e.
./launch_as2.bash -s -t

Will lead to the log output down below where the goal handler rejects the behaviour when running python3 mission.py or python3 mission.py -s. (This is even if I don't interact with the teleop panel at all)

and similarly with Swarm (./launch_as2.bash -s -t -m)

The only thing which does work is
./launch_as2.bash -s

(No -t) Then the rest of the example runs fine. (python3 mission.py -s).
However the swarm variant
./launch_as2.bash -s -m

Still leads to Goal Rejected issues as earlier.
(I have tried the thing with stating the drones to ./stop.bash but it doesnt seem to make a difference)
I also tried the gazebo example from the docs and all of that runs fine too.
I am on Ubuntu22.04, Humble and Built from source (main)
Relevant log output
Take Off
[WARN] [1709043407.927432000] [cf0.cf0_interface]: Goal Rejected
Take Off done
Go to with path facing [-1.0, 1.0, 1.0]
Traceback (most recent call last):
  File "/home/mickey/ros2/aerostack2_ws/project/project_crazyflie/mission.py", line 75, in <module>
    drone_run(uav)
  File "/home/mickey/ros2/aerostack2_ws/project/project_crazyflie/mission.py", line 44, in drone_run
    drone_interface.go_to.go_to_point_path_facing(goal, speed=speed)
  File "/home/mickey/ros2/aerostack2_ws/build/as2_python_api/as2_python_api/modules/go_to_module.py", line 143, in go_to_point_path_facing
    self.__go_to(point[0], point[1], point[2],
  File "/home/mickey/ros2/aerostack2_ws/build/as2_python_api/as2_python_api/modules/go_to_module.py", line 81, in __go_to
    self.start(msg, speed, yaw_mode, yaw_angle, frame_id, wait)
  File "/home/mickey/ros2/aerostack2_ws/build/as2_python_api/as2_python_api/behavior_actions/go_to_behavior.py", line 81, in start
    return super().start(goal_msg, wait_result)
  File "/home/mickey/ros2/aerostack2_ws/build/as2_python_api/as2_python_api/behavior_actions/behavior_handler.py", line 157, in start
    raise self.GoalRejected('Goal Rejected')
as2_python_api.behavior_actions.behavior_handler.BehaviorHandler.GoalRejected: Goal Rejected

Hi @mhl787156,
My guess is that the project is not closing properly after first stop. I made some changes at the project repository. Could you pull the changes and try again? Also, make sure that there is not any gazebo or aerostack2 process alive in the background before launching

Thanks for the speedy reply!
Yes it seems to be working now! What did you change?
You might also want to do the same changes for Crazyflie Gates as the same errors were popping up there

It was this line on the gazebo tmuxinator config file:
on_project_exit: pkill -9 -f "gazebo"

https://github.com/aerostack2/project_crazyflie/commit/2ad93d41b161a90081b3afa1baf9515544dcc1f4#diff-a5b149997656008ce1199e8710ed168a93a32c46e2d02f06a34f75590ec48c64L14
I don't understand why but tmux was killing sometimes the aerostack2 interfaces to gazebo. Anyway, we are closing everything on the stop script so it is redundant.
Glad to help! Closing this issue and also changing cf_gates project.


Accelerate docker build

Description
This should auto detect available threads on the system and utilize all threads to accelerate build.
This has been tested locally using a 12900k using "llama" backend.
This uses
$(nproc)

alternatively this can be used for physical cores which would be optimal but simply "looks" overly complicated.
$(lscpu -p | grep -v "#" | sort -u -t, -k 2,4 | wc -l)

WARNING
This will utilize ALL threads the cpu reports which may trigger a power limiter for some users (but should still be faster)
This PR fixes #
Slow build times.
Notes for Reviewers
Needs to be tested to verify that it does not break anything.
I am also not sure that the current failures are due to this due to it correctly responding (?)
[<IP_ADDRESS>]:53416 200 - POST /v1/chat/completions
{"level":"debug","time":"2024-03-19T07:13:25Z","message":"Response: {\"created\":1710832396,\"object\":\"chat.completion\",\"id\":\"ba9a6016-d30d-4c1f-9558-dd75f62617ed\",\"model\":\"rwkv_test\",\"choices\":[{\"index\":0,\"finish_reason\":\"stop\",\"message\":{\"role\":\"assistant\",\"content\":\" No, I can't. My memory is not that good. Could you tell me the day of the week again?\"}}],\"usage\":{\"prompt_tokens\":0,\"completion_tokens\":0,\"total_tokens\":0}}"}
  [FAILED] in [It] - /home/runner/work/LocalAI/LocalAI/core/http/api_test.go:815 @ 03/19/24 07:13:25.193
• [FAILED] [52.557 seconds]
API test API query backends [It] runs rwkv chat completion
/home/runner/work/LocalAI/LocalAI/core/http/api_test.go:807

  [FAILED] Expected
      <string>:  No, I can't. My memory is not that good. Could you tell me the day of the week again?
  To satisfy at least one of these matchers: [%!s(*matchers.ContainSubstringMatcher=&{Sure []}) %!s(*matchers.ContainSubstringMatcher=&{five []})]
  In [It] at: /home/runner/work/LocalAI/LocalAI/core/http/api_test.go:815 @ 03/19/24 07:13:25.193

Env file for build tested:
BUILD_TYPE=cublas
THREADS=16
CMAKE_ARGS="-DLLAMA_F16C=ON -DLLAMA_AVX512=OFF -DLLAMA_AVX2=ON -DLLAMA_AVX=ON -DLLAMA_FMA=ON -Dcpu=x86_64"
GALLERIES=[{"name":"model-gallery", "url":"github:go-skynet/model-gallery/index.yaml"}, {"url": "github:go-skynet/model-gallery/huggingface.yaml","name":"huggingface"}]
DEBUG=true
SINGLE_ACTIVE_BACKEND=true
REBUILD=true
BUILD_GRPC_FOR_BACKEND_LLAMA=true
GO_TAGS=tts stablediffusion
PYTHON_GRPC_MAX_WORKERS=3
LLAMACPP_PARALLEL=1
PARALLEL_REQUESTS=true
MODELS_PATH=/build/models
HUGGINGFACE_HUB_CACHE=/build/models/huggingface
WATCHDOG_IDLE=true
WATCHDOG_IDLE_TIMEOUT=1m
IMAGE_PATH=images
SUNO_OFFLOAD_CPU=true
SUNO_USE_SMALL_MODELS=true

Signed commits

[ x ] Yes, I signed my commits.

Functionality to allow parallelized builds was added in https://github.com/mudler/LocalAI/pull/1845.  You can just set the MAKEFLAGS env var to include whatever you need.


Uninstall ds4drv

Hello, I can't found how to remove ds4drv. He doesn't appear in dpkg --list.
thanks :)

Did you install it with pip? In that case, try:
pip uninstall ds4drv


Adding a Preview Pane - Inspired by Strange New Worlds

Thank you so much for developing this!
Given I cannot install Obsidian in my work machine, Vimsidian has been the savior to my note taking ability.
I've been adding a few customizations on top, that I believe are very useful for all users. Here's one to add quick previews as a popup.

function! PreviewInFloat()
  let lines = 30
  let width = 90

  let link_at_cursor = vimsidian#unit#CursorLink()

  if link_at_cursor ==# v:null
    echo 'Link is empty'
    return v:null
  endif

  if empty(link_at_cursor)
    echo 'Link is empty'
    return v:null
  endif

  let title = link_at_cursor

  let note = vimsidian#unit#FdNote(title . '.md')

  if note ==# v:null
    echo 'Note not found'
    return v:null
  endif

  let matches = split(note, '\n')
  if len(matches) > 0
    let note = matches[0]
  endif

  if empty(note)
    echo 'Note not found'
    return v:null
  endif

  let note_contents = readfile(note)

  let popup_options = {
        \ 'firstline': 1,
        \ 'line': 'cursor',
        \ 'col': 'cursor',
        \ 'pos': 'botleft',
        \ 'moved': 'WORD',
        \ 'minwidth': width,
        \ 'maxwidth': width,
        \ 'minheight': 5,
        \ 'maxheight': lines,
        \ 'padding': [0, 1, 0, 1],
        \ 'border': [],
        \ 'title': title}
  let s:id = popup_atcursor(note_contents, popup_options)
  call setbufvar(winbufnr(s:id), '&filetype', 'markdown')
endfunction

Feel free to adapt it.
Once again, thank you very much for building this project!
Cheers

@dlitvakb
Thank you for your wonderful suggestion! I will check it over the weekend and plan for implementation.

I would like to implement this as one of the core features of vimsidian. I am still thinking about the details.

Sounds great! Let me know if you need any further input from me


Update Article with information about the free-audio conferencing SKU available for E1/E3.

We need to improve information in this article on how the new (not so new anymore, since around May/2022) free Audio-Conferencing SKU works with E3 and E1 and what a customer needs to do.  We also need to explain that the free Audio Conferencing license for E3/E1 includes only domestic calling. It's very confusing to understand that and there's no information here to help or in any other Microsoft Teams/Audio Conferencing article that I could find - it also leads to believe that only E5 has Audio Conferencing included, which is not true anymore.
We received an escalation from a strategic (S500) customer on this.

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

ID: 8ed33488-1a24-f443-dd56-c5327188b5a4
Version Independent ID: 8da32180-396d-c7a8-6410-472beabff9ce
Content: Set up Audio Conferencing for Microsoft Teams - Microsoft Teams
Content Source: Teams/set-up-audio-conferencing-in-teams.md
Service: msteams
GitHub Login: @MicrosoftHeidi
Microsoft Alias: heidip

I'm working with Carlos on this outside of this thread.


External GCS Settings Screen

Where is the settings button that I click to tell rosettadrone to use an external GCS? is it once I connect to the drone and get the video feed? Or is it on the home screen in some place that shows the 9tek logo?

Found it, must connect drone first


feat: reschedule interface in risedev

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
This PR provides the risedev ctl meta reschedule interface, which allows you to call the reschedule api of meta directly from the command line.
Use the --plan parameter to provide a reschedule plan, which can provide multiple fragment at the same time  separated by ;, and the -dry-run parameter will only show the parsed results without operation
100-[1,2,3]+[4,5];101-[1];102+[3]

For fragment 100,  parallel units 1,2,3 will be removed, while parallel units 4,5 will be added.
You can also provide only the removed parallel unit ids (like fragment 101) or only the added pu ids (like fragment 102), but in the case of both, the removed must precede the added
The parsed result:
For fragment #100
	Remove: [1, 2, 3]
	Add:    [4, 5]
For fragment #102
	Add:    [3]
For fragment #101
	Remove: [1]

Checklist
~- [ ] I have written necessary rustdoc comments~
~- [ ] I have added necessary unit tests and integration tests~
~- [ ] All checks passed in ./risedev check (or alias, ./risedev c)~
Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
Refer to a related PR or issue link (optional)

The help message has been added, and executing risedev ctl meta reschedule --help will show this to output

The format is `fragment_id-[removed]+[added]`
You can provide either `removed` only or `added` only, but `removed` should be preceded by
`added` when both are provided.

For example, for plan `100-[1,2,3]+[4,5]` the follow request will be generated:
{
    100: Reschedule {
        added_parallel_units: [4,5],
        removed_parallel_units: [1,2,3],
    }
}
Use ; to separate multiple fragment

USAGE:
    risectl meta reschedule [OPTIONS] --plan <PLAN>

OPTIONS:
        --dry-run
            Show the plan only, no actual operation

    -h, --help
            Print help information

        --plan <PLAN>
            Plan of reschedule

    -V, --version
            Print version information```


feat: Bump community CLI to 14.0.1

Summary:

Bumping CLI version to 14.0.1
Changelog:
https://github.com/react-native-community/cli/pull/2460
https://github.com/react-native-community/cli/pull/2470
Changelog:

[GENERAL] [CHANGED] - Bump CLI to 14.0.1
Test Plan:
CI

Can you open a pick request here:
https://github.com/reactwg/react-native-releases/


Added url to WorkspaceCreatedResponse

This PR contains changes in the Open API specifications for
** Balsam API **

Added url in the WorkspaceCreatedResponse
Rename GetWorkspace to ListWorkspaces
Removed DeleteWorkspaceRequest

@paah-scb nu ska url vara på rätt typ plus lite fler fixar.


Set the correct word in the regex

Foolowup for #275

Coverage decreased (-0.6%) to 88.722% when pulling b62be1c05306a6920ab4ac9521288842a77d8e2c on Pchelolo:summary_rerender_wikidata2 into 9bf23ca4fe89f80d916214c2344811f86e3ca7ed on wikimedia:master.


Resolve #16

Fixed behaviour where less-than-slash would keep trying to close comments/cdata even when it's already closed. Fixes https://github.com/mrhanlon/less-than-slash/issues/16

I will push a release to apm either this evening or tomorrow. I'm traveling today.

Hey @MarcoThePoro, you've been helping so much with this lately (and I've had less time!) I granted you access to the repo. Thanks for all the contributions!


Send reactions to rogue

What's this PR do?
Sends reactions to Rogue as they are created and deleted! Checks to see if Rogue is on first. This will send reactions created via the Phoenix api to Rogue as well. It only sends the reaction to Rogue if the item exists in Rogue. Logs failures in StatHat.
How should this be reviewed?
Give some reactions to some reportbacks. Try a mix of ones in Rogue and not in Rogue. Then check the reactions table in Rogue and dosomething_kudos in Phoenix to make sure the correct data is there.
Relevant tickets
Fixes #7196
Checklist

[ ] Tested on staging.

we've decided to hold off on this probably until Rogue powers the gallery 🎨


Add Extractor for msg_id: 1AFF-0018

http://www.watchguard.com/help/docs/fireware/12/en-US/log_catalog/index.html#log-messages/proxy_msgs.html?Highlight=1AFF0018
msg_id: 1AFF-0018
Sep  1 09:24:18 NAME SERIAL (2019-09-01T13:24:18) http-proxy[3376]: msg_id="1AFF-0018" Allow 0-FIOS 1-Trusted tcp <IP_ADDRESS> <IP_ADDRESS> 65149 80 msg="ProxyAllow: HTTP Content Type match" proxy_act="Proxy-Rule" rule_name="Default" content_type="text/html"  (proxy-name-00)
Graylog Version: 3.1
Getting some 30K of these a day.

Hey uclnj,
have a try with the following extractor, if it's fine i'll include it in the next commit.
-> Please import following extractor in System/input/manageextractors/action/import...
{   "extractors": [     {       "title": "Proxy HTTP INFO 1AFF-0018",       "extractor_type": "grok",       "converters": [],       "order": 14,       "cursor_strategy": "copy",       "source_field": "message",       "target_field": "",       "extractor_config": {         "grok_pattern": "^.* %{NOTSPACE:action} %{NOTSPACE:srcif} %{NOTSPACE:dstif} %{NOTSPACE:protocol} %{IPV4:srcip} %{IPV4:dstip} %{BASE10NUM:srcport} %{BASE10NUM:dstport} msg=\"%{DATA:proxy_msg}\" proxy_act=\"%{DATA:proxy_action}\" rule_name=\"%{DATA:rule_name}\"((?:\\s+(geo_src=\"%{DATA:geo_src}\"|geo_dst=\"%{DATA:geo_dst}\")?)|\\()"       },       "condition_type": "regex",       "condition_value": "^.*msg_id=\"1AFF-0018\".*"     }   ],   "version": "3.1.0" }

Looks good - I added a content_type="%{DATA:content_type}" to grab the content type when identified by the proxy.  Will the extractor care if there is data there or not?  Some proxies report in as content_type="" or content_type="text/html" and content_type="video/MP2T".

ah, I just missed content_type :-)
that's fine if it works for now. Just checked the GROK Pattern "DATA". Its the regex for .*? which matches also if nothing is there.
Nearly every extractor is created like that, feel free to contribute.
have a nice day


Update intent to tab to match style with pervious standard

This is alignment, not indentation.
And line 56, where you're adding another tab, is a perfect example of why alignment is done with spaces. That line is perfectly fine for me, yet you're modifying it because it appears shorter to you.
Then you're replacing perfectly well-aligned spaces with tabs ... for some kind of consistency I guess. Don't, leave it as it is. Whitespace is our last problem, we don't need mass-updates to alter it.


Clone scenario: check and fix (#109)

Please confirm that this PR has done the following:

[x] Tests Added
[ ] Documentation Added
[ ] Description in RELEASE_NOTES.md Added

Adding to RELEASE_NOTES.md
Please add a single line in the release notes similar to the following:
- (#XX)[http://link-to-pr.com] Added feature which does something

When I check out this branch and try to run some simple example code, I see:
~/vc/iiasa/message-transport$ ./run --clone
INFO:root:launching ixmp.Platform with local HSQLDB database at '/home/khaeru/.local/ixmp/localdb/default'
2019-02-18 14:55:24,824  INFO at.ac.iiasa.ixmp.Platform:117 - Welcome to the IX modeling platform!
2019-02-18 14:55:24,826  INFO at.ac.iiasa.ixmp.Platform:118 -  connected to database 'jdbc:hsqldb:file:/home/khaeru/.local/ixmp/localdb/defaul
t' (user: ixmp)...
INFO:root:launching ixmp.Platform using config file at'default.properties'
Traceback (most recent call last):
  File "./run", line 20, in <module>
    message_ix.tools.transport.main()
  File "/usr/lib/python3/dist-packages/click/core.py", line 759, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 714, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 951, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 552, in invoke
    return callback(*args, **kwargs)
  File "message_ix/tools/transport/__init__.py", line 67, in main
    s = clone_base(mp)
  File "message_ix/tools/transport/__init__.py", line 25, in clone_base
    p_base = get_platform('IIASA')
  File "message_ix/tools/transport/__init__.py", line 18, in get_platform
    return ixmp.Platform(base_dbprops_fn)
  File "/home/khaeru/vc/iiasa/ixmp/ixmp/core.py", line 105, in __init__
    self._jobj = java.ixmp.Platform("Python", dbprops)
  File "/usr/lib/python3/dist-packages/jpype/_jclass.py", line 111, in _javaInit
    *args)
jpype._jexception.IllegalStateExceptionPyRaisable: java.lang.IllegalStateException: Can't bind method url

When I switch back to my branch (the one in #115) I then see:
$ ./run --clone
INFO:root:launching ixmp.Platform with local HSQLDB database at '/home/khaeru/.local/ixmp/localdb/default'
Feb 18, 2019 2:57:21 PM org.flywaydb.core.internal.util.VersionPrinter printVersion
INFO: Flyway 4.2.0 by Boxfuse
Feb 18, 2019 2:57:21 PM org.flywaydb.core.internal.dbsupport.DbSupportFactory createDbSupport
INFO: Database: jdbc:hsqldb:file:/home/khaeru/.local/ixmp/localdb/default (HSQL Database Engine 2.3)
2019-02-18 14:57:21,952  INFO at.ac.iiasa.ixmp.database.DbConfig:159 - hsqldb|Validate failed: Detected applied migration not resolved locally: 1.11
Traceback (most recent call last):
  File "./run", line 20, in <module>
    message_ix.tools.transport.main()
  File "/usr/lib/python3/dist-packages/click/core.py", line 759, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 714, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 951, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 552, in invoke
    return callback(*args, **kwargs)
  File "message_ix/tools/transport/__init__.py", line 66, in main
    mp = get_platform('local')
  File "message_ix/tools/transport/__init__.py", line 16, in get_platform
    return ixmp.Platform(dbtype='HSQLDB')
  File "/home/khaeru/vc/iiasa/ixmp/ixmp/core.py", line 110, in __init__
    self._jobj = java.ixmp.Platform("Python", dbprops, dbtype)
  File "/usr/lib/python3/dist-packages/jpype/_jclass.py", line 111, in _javaInit
    *args)
jpype._jexception.FlywayExceptionPyRaisable: org.flywaydb.core.api.FlywayException: Validate failed: Detected applied migration not resolved locally: 1.11

Hi all - what is the current status here? @khaeru I assume your observation still holds?

@gidden both exceptions are unrelated to the fix (local environment/config or ixmp.jar version). This PR just a copy of tests from @danielhuppmann and single line fix https://github.com/iiasa/ixmp/pull/120/files#diff-8342259d1f22ae5cdf5c32153404e4efL1112 - just to illustrate tests pass.

closing/reopening to restart CI tests

Please don't merge until I've extended the unit tests. I fear there is still an issue lurking with the units migration.

I am currently testing this in the wild and can not get it to work when trying to transfer from oracle to HSQLDB:
    src = ixmp.Platform()
   dst = ixmp.Platform(dbpath, dbtype='HSQLDB')
   with open('scenarios.yaml', 'r') as f:
       for name, data in yaml.load(f).items():
           base = message_ix.Scenario(src, data['model'], data['scenario'])
           clone = base.clone(platform=dst)
   print(dst.scenario_list())
   dst.close_db()

results in an empty scenario list:
INFO:root:launching ixmp.Platform using config file at'/home/gidden/work/iiasa/message/properties_files/enedb.properties'

2019-02-26 12:44:14,755  INFO at.ac.iiasa.ixmp.Platform:117 - Welcome to the IX modeling platform!

2019-02-26 12:44:14,757  INFO at.ac.iiasa.ixmp.Platform:118 -  connected to database 'jdbc:oracle:thin:@gp3.iiasa.ac.at:1521:GP3' (user: ene_ixmp)...

INFO:root:launching ixmp.Platform with local HSQLDB database at '/home/gidden/work/iiasa/message/message_ix/tests/ci/foo/bar'

2019-02-26 12:44:15,478  INFO at.ac.iiasa.ixmp.Platform:117 - Welcome to the IX modeling platform!

2019-02-26 12:44:15,479  INFO at.ac.iiasa.ixmp.Platform:118 -  connected to database 'jdbc:hsqldb:file:/home/gidden/work/iiasa/message/message_ix/tests/ci/foo/bar' (user: ixmp).\

..

2019-02-26 12:44:15,582  INFO at.ac.iiasa.ixmp.objects.Scenario:207 - loading default Scenario 'CD_Links_SSP2_v2|NPi2020_1000-con-prim-dir-ncr' (version: 10, runid: 20975)...

2019-02-26 12:44:15,994  INFO at.ac.iiasa.ixmp.objects.Scenario:233 - done loading Scenario from the database!

2019-02-26 12:44:16,060  INFO at.ac.iiasa.ixmp.objects.MsgScenario:451 -  spatial and temporal disaggregation maps assignment

2019-02-26 12:44:16,080  INFO at.ac.iiasa.ixmp.objects.MsgScenario:567 -  period mapping assignment

2019-02-26 12:44:16,087  INFO at.ac.iiasa.ixmp.objects.MsgScenario:593 -  duration period assignment

2019-02-26 12:44:16,099  INFO at.ac.iiasa.ixmp.objects.Scenario:1944 - committing changes of Scenario 'CD_Links_SSP2_v2|NPi2020_1000-con-prim-dir-ncr' to the database (runid: 20\

975)...

2019-02-26 12:44:17,657  INFO at.ac.iiasa.ixmp.objects.TimeSeries:811 - done updating Scenario 'CD_Links_SSP2_v2|NPi2020_1000-con-prim-dir-ncr' to the database (runid: 20975, ve\

rsion: 10)!

2019-02-26 12:44:17,668  INFO at.ac.iiasa.ixmp.objects.MsgScenario:451 -  spatial and temporal disaggregation maps assignment

2019-02-26 12:44:17,676  INFO at.ac.iiasa.ixmp.objects.MsgScenario:567 -  period mapping assignment

2019-02-26 12:44:17,677  INFO at.ac.iiasa.ixmp.objects.MsgScenario:593 -  duration period assignment

2019-02-26 12:44:17,694  INFO at.ac.iiasa.ixmp.objects.Scenario:207 - loading default Scenario 'CD_Links_SSP2_v2|NPi2020_1000-con-prim-dir-ncr' (version: 0, runid: 20975)...

2019-02-26 12:44:17,985  INFO at.ac.iiasa.ixmp.objects.Scenario:233 - done loading Scenario from the database!

2019-02-26 12:44:18,004  INFO at.ac.iiasa.ixmp.objects.Scenario:2014 - saving Scenario 'CD_Links_SSP2_v2|NPi2020_1000-con-prim-dir-ncr' to database (runid: 20981)...

2019-02-26 12:44:54,550  INFO at.ac.iiasa.ixmp.objects.TimeSeries:814 - done saving Scenario 'CD_Links_SSP2_v2|NPi2020_1000-con-prim-dir-ncr' to the database (runid: 20981, vers\

ion: 13)!

2019-02-26 12:44:54,617  INFO at.ac.iiasa.ixmp.objects.Scenario:207 - loading default Scenario 'CD_Links_SSP2|baseline' (version: 23, runid: 20972)...

2019-02-26 12:44:54,927  INFO at.ac.iiasa.ixmp.objects.Scenario:233 - done loading Scenario from the database!

2019-02-26 12:44:54,939  INFO at.ac.iiasa.ixmp.objects.MsgScenario:451 -  spatial and temporal disaggregation maps assignment

2019-02-26 12:44:54,953  INFO at.ac.iiasa.ixmp.objects.MsgScenario:567 -  period mapping assignment

2019-02-26 12:44:54,958  INFO at.ac.iiasa.ixmp.objects.MsgScenario:593 -  duration period assignment

2019-02-26 12:44:54,982  INFO at.ac.iiasa.ixmp.objects.Scenario:207 - loading default Scenario 'CD_Links_SSP2|baseline' (version: 0, runid: 20972)...

2019-02-26 12:44:55,227  INFO at.ac.iiasa.ixmp.objects.Scenario:233 - done loading Scenario from the database!

2019-02-26 12:44:55,242  INFO at.ac.iiasa.ixmp.objects.Scenario:2014 - saving Scenario 'CD_Links_SSP2|baseline' to database (runid: 20982)...

2019-02-26 12:45:03,841  INFO at.ac.iiasa.ixmp.objects.TimeSeries:814 - done saving Scenario 'CD_Links_SSP2|baseline' to the database (runid: 20982, version: 26)!

Empty DataFrame

Columns: [model, scenario, scheme, is_default, is_locked, cre_user, cre_date, upd_user, upd_date, lock_user, lock_date, annotation, version]

Index: []

Same result as @gidden currently.

@gidden @khaeru can you try set cloned scenario as default? or call scenario_list with default=False

Hi @zikolach I tested both cases (with and without set_as_default). I then tried printing with
    print(dst.scenario_list(default=True))
    print(dst.scenario_list(default=False))

No joy in either case. Attached are the files to reproduce.
tmp.zip

Related fix PR iiasa/ixmp_source#179

Per offline discussions today:

an issue with model/scenario names not being used with cloning is in Java: iiasa/ixmp_source#179.
the issue with @gidden's test codes are a distinct (though related) bug in MESSAGEix: iiasa/message_ix#174.

I will review this now assuming that (1) will go in. And then after this is merged, will create a new PR for (2).

rebased to get the latest ixmp.jar updates following the merge of #125

@zikolach do you think you can tackle the issue of cloning units and regions across platforms soon, ie., does it make sense to hold off on this PR for a little while?
If yes, I'd be happy to extend the integration unit tests.

@danielhuppmann if you want to extends test to include checks for units/regions please do so. As soon as I see any tests failing I will do a fix.

closing in favour of #129


Move element specific properties to a metadata property

This is just a general clean-up for the template.js file. Some of the elements set meta details directly on the base object - this.size or this.colur for example.
It would be wise moving the element specific details to a meta property on the object: this.meta.size and this.meta.colour - so they don't accidentally conflict with the base element object's properties (unless they need to, of course!).

Actually, this.self is better 😛

On reflection, and going through the templates.js, this isn't really as needed as I thought. The original idea for this issue is abandoned, but I do have a clean-up commit to make to remove some duplication.


Feat/native staking

Also could you please rebase the branch on top of develop ? So we can have the test CI running
Thanks !

Don't hesitate to reach out if the conflicts are confusing

Closing and Opening a New PR that is fast-forwardable with cherry-picked changes


Add Haproxy profile for Docker machines

Add classes and defines to manage Haproxy in the docker backend
profile.

Override upstream global options that expects rsyslog listening
on eth0, and add rsyslog snippet to capture Haproxy logs

You need to squash my commit away

Couple of comments but otherwise looks good!


Connect-PnPOnline using AppID and AppSecret — No longer working in Runbook

For several months now, I have been leveraging the SharePointPnPPowerShellOnline module within Azure Runbooks for site-provisioning scenarios (extending Site Designs via Power Automate). Up until this point, the following cmdlet worked like a charm:
Connect-PnPOnline -AppId $appId -AppSecret $appSecret -Url $url
Starting today, this code is now failing from within my Runbook. I have confirmed the exact same code works fine locally from my machine. Any help on what's going on here?
I've re-loaded the SharePointPnPPowerShellOnline module, but still seeing the issue.

NOTE: My AAD app secret has not expired. It was configured to never expire and the appid/secret is working fine outside of a Runbook.

Any chance you provide some better logging to see a more thorough error? Based on the image you provided it's unclear why it's failing.


[SuperEditor][SuperTextField] Remove calls to cancel scroll momentum on tap (Resolves #824)

[SuperEditor][SuperTextField] Remove calls to cancel scroll momentum on tap. Resolves #824
Flutter 3.3.3 had some changes related to scroll momentum that required us to cancel the momentum manually.  We created a _cancelScrollMomentum and called it in onPointerDown, onPointerPanZoomStart and onPointerHover.
However, after https://github.com/flutter/flutter/pull/116689 it seems these calls are not necessary anymore because the momentum is already being cancelled.
This PR removes the calls to cancel the scroll momentum onPointerDown and onPointerPanZoomStart. We also cancel the scroll momentum in onPointerHover, but I'm not sure why, so I didn't remove that call for now.
I modified the existing test because it was performing a full tap (down + up) before checking if the momentum was cancelled, but the test description suggests it should cancel after a tap down.
I added a slightly different test for desktop, because it seems that even with the existing code, the selection do change after the tap up.
This PR only affects desktop because we don't use this approach on mobile.

@matthew-carroll I modified the test to run only for desktop, while testing I noticed that we cant drag to scroll the textfield on mobile. Should this be a separate ticket?
https://github.com/superlistapp/super_editor/assets/7597082/2f346eb1-1cc9-44ed-bc37-3ab660a9ae67

@angelosilvestre I can't tell what you're describing or showing. Are you dragging with your finger? Are you dragging on a trackpad that's connected to the mobile device? What's the specific use-case and how might it relate to this ticket?

@matthew-carroll I'm dragging with one finger. Dragging with one finger should scroll the text field, but it isn't doing that. This video was recorded using the latest main

I think that might be because in my tests of single line fields they didn't seem to support drag scrolling. Are you sure that multi-line fields are supposed to support that? If so, please file a new issue with appropriate details.


Error: Cannot find module<EMAIL_ADDRESS>

Config:
export default {
  extends: ['@primer/stylelint-config'],
  rules: {}
}

When I use just the config, I get this in my stack trace:
Unable to get variables.json from @primer/css. Replacements will need to be specified manually.
Unable to get variables.json from @primer/css. Replacements will need to be specified manually.
Unable to get variables.json from @primer/css. Replacements will need to be specified manually.
Unable to get variables.json from @primer/css. Replacements will need to be specified manually.
Error: Cannot find module<EMAIL_ADDRESS>
deactivating primer/no-experimental-vars fixes this error.

Should be fixed in 13.1.0


Configurator destruction causing errors

Description
When switching between ripe-configurator story and others several times, errors of this.element is null start to appear in the console. This might be due to the fact that unresolved promises and timeouts are still hanging in the configurator-prc of ripe-sdk.
Expected vs. Observed

-
-

Expected
The configurator destroys without causing any errors.

Observed
Errors appear if the there are very fast switches between configurator and other elements.

Repro Steps

Go to the storybook of ripe-sdk-components-vue https://ripe-sdk-components-vue.platforme.com/storybook
Switch fast between ripe-configurator and others components several times
The error will appear

Environment

Key
Value

Device
Desktop

Operating System
Manjaro Linux

Browser
Firefox 83.0

Instance (URL)
https://ripe-sdk-components-vue.platforme.com/storybook

Screens
Uncaught (in promise) TypeError: this.element is null
    mark configurator-prc.js:1305
    render configurator-prc.js:1351
    promise callback*render configurator-prc.js:1351
    render configurator-prc.js:1353
    render configurator-prc.js:1353
    result configurator-prc.js:1369
    setTimeout handler*./node_modules/ripe-sdk/src/js/visual/configurator-prc.js/ripe.ConfiguratorPrc.prototype._preload/result< configurator-prc.js:1367
    _preload configurator-prc.js:1276
    update configurator-prc.js:247
    _update ripe.js:1256
    update ripe.js:1315
    setPart ripe.js:716
    _callee2$ ripe-pickers.vue:185
    Babel 8
    VueJS 3
configurator-prc.js:1305

@BeeMargarida try and investigate this one, checking if we're calling the unbindConfigurator at the right time (destroyed etc), etc.


Rule for manual check for accessible descriptions

title attribute is being abused on link elements, so may want a manual check for lmage descriptions

And on non-link elements (e.g., images). Some titles derive from file names such as “meas-eval-servicebanner”
From: Jon Gunderson<EMAIL_ADDRESS>Sent: Thursday, September 15, 2016 10:15 AM
To: opena11y/oaa-rules<EMAIL_ADDRESS>Subject: [opena11y/oaa-rules] Rule for manual check for accessible descriptions (#92)
title attribute is being abused on link elements, so may want a manual check for lmage descriptions
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_opena11y_oaa-2Drules_issues_92&d=CwMCaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=yLNhwiX8iZacT6vVxox7Z_NGnpPZIttYTawwWKe49W8&m=rM4Qj9XiyTpk0at5cXNptK_xTWb5H7uwZBfWc_TUzZ4&s=QKZjRmYaij3Tgcccw-NditgJsayRQPLQGIk0jOvxBe4&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AKa7-5F1kjqS-5Fo6tG-5FierovXvY9-2D2RhmqWks5qqWERgaJpZM4J9-5FWp&d=CwMCaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=yLNhwiX8iZacT6vVxox7Z_NGnpPZIttYTawwWKe49W8&m=rM4Qj9XiyTpk0at5cXNptK_xTWb5H7uwZBfWc_TUzZ4&s=FpvtkvRqW2URgeOEdyS3zFHP1eJrWyvMhVGv7MyU2_g&e=.

Worried about having such a specific rule about misuse of title on an image.  Maybe this type issues is better highlighted in a visualization tool.


error while installing airflow.providers.cncf.kubernetes

airflow.providers.cncf.kubernetes requires apache-airflow >=2.3.0 and this is breaking the dag. I added it in requirements.txt but it is erroring out. As the current airflow version is 2.0.2 this packages has problems while installing. Is there any workaround for this?

any update on this?

See https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-eks-example.html#eksctl-requirements


Cannot scroll through terminal. Scroll wheel instead will scroll through command history

Using v.1.74.1 on MacOS Monterey v12.4 on Macbook Air M1
I cannot scroll up or down in Terminal. Using zsh shell. I saw there were previous problems but none of the alternative solutions have worked.
I've tried every combo of Ctrl+Up etc. or Shift+Fn+Up but nothing works. The scroll bar is also not visible.
Everytime I scroll it instead just moves up my command history as if I was doing UpArrow or DownArrow. Same with the Ctrl and Shift modifiers. It will just move up my command history. Shift Up and Shift down weirdly gives me A and B in the command line...
Update: When I change to bash terminal problem is fixed for 10 minutes and then the same behavior returns where I cannot scroll through terminal
Any help would be greatly appreciated!
Cheers,
Sam
PS: as you can see in the gif, my cursor is still because I am scrolling and instead of scrolling up or down, the command history is getting cycled. Then I mouseover to where the scroll bar should show up and it is gone.

It looks like you've entered a subshell there - does this repro in just plain zsh?

So I went up to the zsh tab (the one you can see in the gif) and the scroll bar was there and scrolling worked. Then when I ssh into my server the scroll bar disappears and the weird scroll behavior returns. And when I make a new zsh terminal the issue remains until I restart vscode. So not sure if it happens because of the ssh because the issue persists in a new zsh tab

Does it happen if you disable all extensions?

Good point. I disabled all but issue persisted. Logged out of server and started new terminal and issue is gone. SShed into it and still everything fine. THEN when I do "screen -R screenid" the issue returned. And then when I exit screen the scrollbar returns. So it seems to be when i use the screen command?

We do not have control of subshells/ their key handling. So yeah when you enter that command and thus a subshell, it makes sense that the mousewheel etc is handled differently.

@meganrogge - I appreciate that you don't have control over the subshells, but something did change recently.  I too would like to return to the ability to scroll through the terminal history (of the subshell), be that ssh, mosh, or a screen or tmux.
Where is the behavior defined (and documented) as to the translation of mouse wheel events?


Add .NET 4.5 as an additional target framework.

I'm looking to use NExifTool in a large project that is stuck targeting .NET 4.5 for some time and thought I would see if there was any issue if current version of NExiftool added 4.5 as an additional target.
I've run the unit tests and tried in two different .NET 4.5 solutions and had no issue using the library as expected.

Dave - thanks again.  I merged this in and made an edit so that it would build on Linux, and pushed v0.8.3 to nuget.  Good luck with your project!

Awesome! Thanks for the super fast turn around. I'm already pulling the updated nuget right now.


400 error after merging branches

Hello,
Bug description
we're testing DefectDojo integration with Gitlab-CI in our company and I get strange problem with request to DefectDojo.
I use this job for create engagement in DefectDojo in .pre stage of pipeline and it working fine before I accept merge request
defectdojo_create_engagement:
  stage: .pre
  image: alpine
  variables:
    GIT_STRATEGY: none
  allow_failure: true
  rules:
    - if: '$DEFECTDOJO_NOT_ON_MASTER == "true" && $CI_COMMIT_BRANCH == "master"'
      when: never
    - when: always
  before_script:
    - apk add curl jq coreutils
    - TODAY=`date +%Y-%m-%d`
    - ENDDAY=$(date -d "+${DEFECTDOJO_ENGAGEMENT_PERIOD} days" +%Y-%m-%d)
  script:
    - |
        ENGAGEMENTID=`curl --fail --location --request POST "${DEFECTDOJO_URL}/engagements/" \
              --header "Authorization: Token ${DEFECTDOJO_TOKEN}" \
              --header 'Content-Type: application/json' \
                --data-raw "{
                  \"tags\": [\"GITLAB-CI\"],
                  \"name\": \"#${CI_PIPELINE_ID}\",
                  \"description\": \"${CI_COMMIT_DESCRIPTION}\",
                  \"version\": \"${CI_COMMIT_REF_NAME}\",
                  \"first_contacted\": \"${TODAY}\",
                  \"target_start\": \"${TODAY}\",
                  \"target_end\": \"${ENDDAY}\",
                  \"reason\": \"string\",
                  \"tracker\": \"${CI_PROJECT_URL}/-/issues\",
                  \"threat_model\": \"${DEFECTDOJO_ENGAGEMENT_THREAT_MODEL}\",
                  \"api_test\": \"${DEFECTDOJO_ENGAGEMENT_API_TEST}\",
                  \"pen_test\": \"${DEFECTDOJO_ENGAGEMENT_PEN_TEST}\",
                  \"check_list\": \"${DEFECTDOJO_ENGAGEMENT_CHECK_LIST}\",
                  \"status\": \"${DEFECTDOJO_ENGAGEMENT_STATUS}\",
                  \"engagement_type\": \"CI/CD\",
                  \"build_id\": \"${CI_PIPELINE_ID}\",
                  \"commit_hash\": \"${CI_COMMIT_SHORT_SHA}\",
                  \"branch_tag\": \"${CI_COMMIT_REF_NAME}\",
                  \"deduplication_on_engagement\": \"${DEFECTDOJO_ENGAGEMENT_DEDUPLICATION_ON_ENGAGEMENT}\",
                  \"product\": \"${DEFECTDOJO_PRODUCTID}\",
                  \"source_code_management_uri\": \"${CI_PROJECT_URL}\",
                  \"build_server\": ${DEFECTDOJO_ENGAGEMENT_BUILD_SERVER},
                  \"source_code_management_server\": ${DEFECTDOJO_ENGAGEMENT_SOURCE_CODE_MANAGEMENT_SERVER},
                  \"orchestration_engine\": ${DEFECTDOJO_ENGAGEMENT_ORCHESTRATION_ENGINE}
                }" | jq -r '.id'`
    - echo "DEFECTDOJO_ENGAGEMENTID=${ENGAGEMENTID}" >> defectdojo.env
  artifacts:
    reports:
      dotenv: defectdojo.env

after merging branches i get 400 error in response from DefectDojo until I commit anything in branch. After commit it starts working fine again. What could I be doing wrong?
Deployment method (select with an X)

[ ] Kubernetes
[X] Docker
[ ] setup.bash / legacy-setup.bash

Environment information

Operating System: CentOS Linux 7
DefectDojo Commit Message: [2021-03-07 18:05:30 +0100] 6a2b0e5: remove roadmap items [ (HEAD, origin/master, origin/HEAD, master)]

As said on slack we would need the response message from the API, debug logs from defect dojo, sample report causing the problem etc. There is no direct relationship between merging in gitlab and defect dojo, so probably something unrelated.

Hi, Valentijn
Job log:
Running with gitlab-runner 13.9.0 (2ebc4dc4)
  on lnxcrucpuap1015 xBgCMGga
Preparing the "docker" executor 00:18
Using Docker executor with image alpine ...
Pulling docker image alpine ...
Using docker image sha256:28f6e27057430ed2a40dbdd50d2736a3f0a295924016e294938110eeb8439818 for alpine with digest alpine@sha256:a75afd8b57e7f34e4dad8d65e2c7ba2e1975c795ce1ee22fa34f8cf46f96a3be ...
Preparing environment 00:00
Running on runner-xbgcmgga-project-4-concurrent-0 via lnxcrucpuap1015...
Getting source from Git repository 00:01
Skipping Git repository setup
Skipping Git checkout
Skipping Git submodules setup
Executing "step_script" stage of the job script 00:02
Using docker image sha256:28f6e27057430ed2a40dbdd50d2736a3f0a295924016e294938110eeb8439818 for alpine with digest alpine@sha256:a75afd8b57e7f34e4dad8d65e2c7ba2e1975c795ce1ee22fa34f8cf46f96a3be ...
$ apk add curl jq coreutils
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
(1/13) Installing libacl (2.2.53-r0)
(2/13) Installing libattr (2.4.48-r0)
(3/13) Installing skalibs (<IP_ADDRESS>-r0)
(4/13) Installing s6-ipcserver (<IP_ADDRESS>-r0)
(5/13) Installing utmps (<IP_ADDRESS>-r0)
Executing utmps-<IP_ADDRESS>-r0.pre-install
(6/13) Installing coreutils (8.32-r2)
(7/13) Installing ca-certificates (20191127-r5)
(8/13) Installing brotli-libs (1.0.9-r3)
(9/13) Installing nghttp2-libs (1.42.0-r1)
(10/13) Installing libcurl (7.74.0-r1)
(11/13) Installing curl (7.74.0-r1)
(12/13) Installing oniguruma (6.9.6-r0)
(13/13) Installing jq (1.6-r1)
Executing busybox-1.32.1-r3.trigger
Executing ca-certificates-20191127-r5.trigger
OK: 10 MiB in 27 packages
$ TODAY=`date +%Y-%m-%d`
$ ENDDAY=$(date -d "+${DEFECTDOJO_ENGAGEMENT_PERIOD} days" +%Y-%m-%d)
$ ENGAGEMENTID=`curl --fail --location --request POST "${DEFECTDOJO_URL}/engagements/" \ # collapsed multi-line command
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   979    0     0  100   979      0   106k --:--:-- --:--:-- --:--:--  106k
curl: (22) The requested URL returned error: 400 Bad Request
Uploading artifacts for failed job 00:01
Uploading artifacts...
WARNING: defectdojo.env: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 22

NGINX log:
<IP_ADDRESS> - - [19/Mar/2021:06:05:32 +0000] "POST /api/v2/engagements/ HTTP/1.1" 400 88 "-" "curl/7.74.0" "-"
DefectDojo logs:
*** Operational MODE: preforking+threaded ***
[19/Mar/2021 10:29:45] INFO [dojo.models:3360] enabling audit logging
WSGI app 0 (mountpoint='') ready in 3 seconds on interpreter 0x564444411320 pid: 1 (default app)
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI worker 1 (pid: 1, cores: 2)
spawned uWSGI worker 2 (pid: 24, cores: 2)
[pid: 24|app: 0|req: 1/1] <IP_ADDRESS> () {42 vars in 1165 bytes} [Fri Mar 19 10:34:51 2021] GET / => generated 0 bytes in 86 msecs (HTTP/1.1 302) 7 headers in 215 bytes (1 switches on core 0)
[pid: 24|app: 0|req: 2/2] <IP_ADDRESS> () {42 vars in 1188 bytes} [Fri Mar 19 10:34:51 2021] GET /login?next=/ => generated 13346 bytes in 3365 msecs (HTTP/1.1 200) 9 headers in 472 bytes (1 switches on core 1)
/usr/local/lib/python3.6/site-packages/jose/backends/cryptography_backend.py:18: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
  from cryptography.utils import int_from_bytes, int_to_bytes
[pid: 24|app: 0|req: 3/3] <IP_ADDRESS> () {50 vars in 1467 bytes} [Fri Mar 19 10:35:11 2021] POST /login?next=/ => generated 0 bytes in 376 msecs (HTTP/1.1 302) 11 headers in 629 bytes (1 switches on core 0)
[pid: 24|app: 0|req: 4/4] <IP_ADDRESS> () {46 vars in 1371 bytes} [Fri Mar 19 10:35:11 2021] GET / => generated 0 bytes in 48 msecs (HTTP/1.1 302) 7 headers in 212 bytes (1 switches on core 1)
[pid: 24|app: 0|req: 5/5] <IP_ADDRESS> () {46 vars in 1389 bytes} [Fri Mar 19 10:35:12 2021] GET /dashboard => generated 41405 bytes in 300 msecs (HTTP/1.1 200) 7 headers in 336 bytes (1 switches on core 0)
[pid: 24|app: 0|req: 6/6] <IP_ADDRESS> () {44 vars in 1300 bytes} [Fri Mar 19 10:35:22 2021] GET /alerts/count => generated 13 bytes in 11 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 1)
[pid: 24|app: 0|req: 7/7] <IP_ADDRESS> () {44 vars in 1300 bytes} [Fri Mar 19 10:35:33 2021] GET /alerts/count => generated 13 bytes in 11 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0)
[pid: 24|app: 0|req: 8/8] <IP_ADDRESS> () {44 vars in 1300 bytes} [Fri Mar 19 10:35:43 2021] GET /alerts/count => generated 13 bytes in 10 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 1)
[pid: 24|app: 0|req: 9/9] <IP_ADDRESS> () {44 vars in 1300 bytes} [Fri Mar 19 10:35:53 2021] GET /alerts/count => generated 13 bytes in 10 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0)
[pid: 24|app: 0|req: 10/10] <IP_ADDRESS> () {44 vars in 1300 bytes} [Fri Mar 19 10:36:03 2021] GET /alerts/count => generated 13 bytes in 9 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 1)
[pid: 24|app: 0|req: 11/11] <IP_ADDRESS> () {44 vars in 1350 bytes} [Fri Mar 19 10:36:13 2021] GET /alerts/count => generated 13 bytes in 11 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0)
[pid: 24|app: 0|req: 12/12] <IP_ADDRESS> () {44 vars in 1393 bytes} [Fri Mar 19 10:36:24 2021] GET /alerts/count => generated 13 bytes in 11 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 1)
[pid: 1|app: 0|req: 1/13] <IP_ADDRESS> () {44 vars in 1442 bytes} [Fri Mar 19 10:36:40 2021] GET /alerts/count => generated 13 bytes in 2398 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0)
[pid: 24|app: 0|req: 13/14] <IP_ADDRESS> () {44 vars in 1442 bytes} [Fri Mar 19 10:37:00 2021] GET /alerts/count => generated 13 bytes in 11 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0)
**[pid: 24|app: 0|req: 14/15] <IP_ADDRESS> () {38 vars in 528 bytes} [Fri Mar 19 10:37:01 2021] POST /api/v2/engagements/ => generated 88 bytes in 12 msecs (HTTP/1.1 400) 7 headers in 222 bytes (1 switches on core 1)**
[pid: 24|app: 0|req: 15/16] <IP_ADDRESS> () {44 vars in 1442 bytes} [Fri Mar 19 10:37:26 2021] GET /alerts/count => generated 13 bytes in 11 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0)
[pid: 1|app: 0|req: 2/17] <IP_ADDRESS> () {44 vars in 1442 bytes} [Fri Mar 19 10:38:20 2021] GET /alerts/count => generated 13 bytes in 11 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 1)
[pid: 1|app: 0|req: 3/18] <IP_ADDRESS> () {44 vars in 1442 bytes} [Fri Mar 19 10:39:29 2021] GET /alerts/count => generated 13 bytes in 10 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0)
[pid: 1|app: 0|req: 4/19] <IP_ADDRESS> () {44 vars in 1442 bytes} [Fri Mar 19 10:40:11 2021] GET /alerts/count => generated 13 bytes in 10 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 1)
[pid: 1|app: 0|req: 5/20] <IP_ADDRESS> () {44 vars in 1442 bytes} [Fri Mar 19 10:42:39 2021] GET /alerts/count => generated 13 bytes in 9 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0)

There is nothing in logs I can see.
I enable DEBUG in settings.dist.py, right?

I found problem, it's in ${CI_COMMIT_DESCRIPTION} variable.
First, I use netcat for capture curl request from gitlab. Description field value while we committing to gitlab is "", but after merging branches it value
"description": "
Update gitlab-defectdojo.yml

See merge request k8s-cicd/sandbox!17"

and it brakes request to API.
Second, I removed \"description\": \"${CI_COMMIT_DESCRIPTION}\" line from pipeline and it start working after merge request.


Forking mode and CONTRIBUTING additions

I've been thinking that we should move the section about gas reports out from the testing chapter, possibly before the "Continous Integration" chapter. Gas reports will probably logically fit in the same chapter as gas snapshots as well, so maybe we should rename the chapter at some point to "Gas tracking" or something. Would you mind moving gas reports out in this PR?

Thanks! :smile:


Allow Infinity, -Infinity and NaN values on Decimal field

Feature Request
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
 pydantic version: 1.4
            pydantic compiled: False
                 install path: <virtual env path>
               python version: 3.8.2 (v3.8.2:7b3ab5921f, Feb 24 2020, 17:52:18)  [Clang 6.0 (clang-600.0.57)]
                     platform: macOS-10.15.6-x86_64-i386-64bit
     optional deps. installed: []

Infinity, -Infinity and NaN decimal values should be allowed.
import pydantic
from decimal import Decimal

class MyModel(pydantic.BaseModel):
    value: Decimal

m = MyModel(value="infinity")
assert m.value == Decimal("inf")

Currently this code would raise an error:
pydantic.error_wrappers.ValidationError: 1 validation error for MyModel
value
  value is not a valid decimal (type=value_error.decimal.not_finite)

This is caused by a check in the decimal_validator.
This is inconsistent, because:

Infinity, -Infinity and NaN are valid Decimal values.
if we pass Decimal instance as a value (not a string) - there is no error

In[1]: MyModel(value=Decimal("inf"))
Out[1]: MyModel(value=Decimal('Infinity'))

Also, docs do not state that those values are excluded - https://pydantic-docs.helpmanual.io/usage/types/#constrained-types

decimal.Decimal
pydantic attempts to convert the value to a string, then passes the string to Decimal(v)

The reason for this might be because, while those values are valid IEEE 754 floating point values (so they would be accepted both by Python's float and Decimal types), they are illegal in well-formed JSON according to the JSON spec (RFC 7159), Section 6:

Numeric values that cannot be represented in the grammar below (such as Infinity and NaN) are not permitted.

With that being said, even though Pydantic usually follows very JSON-like parsing rules, it performs no such check when parsing float (which are supposed to follow the same restrictions) or int (which are not guaranteed to be correctly readable by all JSON parsers if they take up more than 53 bits) values, so removing that check would at least be consistent with other types.
NaN and Infinity do also this null-like quality to them in that they work unlike every other possible value (neither of them are considered to be equal to themselves and NaN < 0 == false but also NaN >= 0 == false, so adding those values makes lists of floats potentially unorderable), so there would be good reasons to leave them out, or at least make them opt-in.

I would also warn that, as unlikely as it may seem, it's hard to be certain that code might not be written by a pydantic consumer that depends upon these errors for functionality.  This would therefore represent a theoretically breaking change to the interface.
I echo @sm-Fifteen's concerns that there are a variety of reasons why Infinity and NaN might be excluded from the basic definition.  I would recommend that instead of changing the behavior of the decimal handler, we consider adding an alternate type for people who would like this functionality.  Something like UnboundedDecimal (name TBD) which would allow for these values, and also be explicit in documentation about how the value might be represented when calling .json.

The issue I see with the current state of  the decimal_validator is that passing Decimal("Infinity") is allowed, but when passing the string "Infinity" the validation fails (as mentioned in the second bullet point by @umatbro).
from decimal import Decimal

from pydantic import BaseModel, ValidationError

class Model(BaseModel):
    n: Decimal

try:
    Model(n="Infinity")
except ValidationError as e:
    print(str(e))
    """
    1 validation error for Model
    n
      value is not a valid decimal (type=value_error.decimal.not_finite)
    """

validated_model = Model(n=Decimal("Infinity"))
print(validated_model.n)
"Infinity"

This is because the first thing decimal_validator checks is if the provided value is a Decimal and if so, returns the object.
IMO before returning we should also check that the Decimal is not infinite and raise accordingly. (Then it would be consistent with passing a string.)
Another way would be to remove the isinstance check and let the decimal be converted to a string and carry on with the rest of the function. So the way I see it, either code is duplicated OR unnecessary conversions are done in case an actual Decimal is passed.


Select multiple locations

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (c72696c) compared to base (221ced0).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #7   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines           89        93    +4
=========================================
+ Hits            89        93    +4

Impacted Files
Coverage Δ

src/current.jl
100.00% <100.00%> (ø)

src/helpers.jl
100.00% <100.00%> (ø)

src/hourly.jl
100.00% <100.00%> (ø)

src/visualization.jl
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Remove the intentState.receivingOperatorList boolean since it's redundant

Please refer to the individual commit messages.

/botio test

Thanks, that's a bit easier to follow!


Minimize regs fix

Be careful when merging this. minimize-regs is really slow: https://github.com/cucapra/futil/commit/b7e71947aca6d21d73dd7200437670fc3f53936a


CLOUD-41906: use dns for service address resolving

@keyki pls review...

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/periscope-build-pull-request/24/


Setting Coupon Duration

When I tried to set the coupon duration, it's always coming back as "forever" when I run the model specs. It seems to be because the json response is preset.
https://github.com/thoughtbot/fake_stripe/blob/9f2e58a131dbb7f28a1d289c31297580ac04365e/lib/fake_stripe/fixtures/list_coupons.json

https://github.com/thoughtbot/fake_stripe/pull/74


Interleaved RPUs are added before SEI suffix NAL units

This seems to break MakeMKV.

MakeMKV issue seems to be sample dependent.


Heading should support aria-level prop override

Provide a general summary of the feature here
Heading component needs to support aria-level override to set the hierarchical heading level in the accessibility tree regardless of the rendered element.
🤔 Expected Behavior?
A user should be able to explicitly set the aria-level for a <Heading> instance, like:
  <Heading level={3} aria-level={2}>Heading content</Heading>

This is necessary for use cases where the Heading level gets adjusted for responsive design reasons, but the aria-level should remain unchanged.
😯 Current Behavior
There is currently no way to override the aria-level of a Heading component:
  <Heading level={3} aria-level={2}>Heading content</Heading>

will render as

Heading content

regardless of its intended heading level within the hierarchy of the web page.
💁 Possible Solution
No response
🔦 Context
Noticed a use case in the @quarry/inventory Title component that the level for a Heading is changing depending on responsive layout.
export function Title(props: TitleProps): ReactElement {
  const {children} = props;
  const { setTitleId } = useInventoryContext();
  const titleId = useId();
  useEffect(() => setTitleId(titleId), []);
  const {matchedBreakpoints} = useBreakpoint();
  const level = getResponsiveProp({base: 3, L: 2}, matchedBreakpoints) as 2 | 3;
  return (
    <Heading gridArea="title" id={titleId} level={level}>
      {children}
    </Heading>
  );
}

💻 Examples
No response
🧢 Your Company/Team
Adobe/Accessibility
🕷 Tracking Issue
No response

Just to clarify, you're saying it should render like this, given your example?

Heading content

I think the level prop was intended to support changing the HTML element without changing the styling. Currently, Heading does not have any styling associated with it by itself - that would come from e.g. dialog. So I think this should already be the case?

I think the level prop was intended to support changing the HTML element without changing the styling. Currently, Heading does not have any styling associated with it by itself - that would come from e.g. dialog. So I think this should already be the case?

That's not how it seems to be used in practice, as the example I reference above demonstrates.

Yeah if it isn't defining any styling, then it'll just get the default font size for the heading element from the browser I think.

Closing as working as intended. See frontend/quarry/issues/5376 for suggested change in Quarry.


Music no longer loads: "Unrecognized audio format" log error

See title.

I played the mars.ogg file in an external player and it plays fine there. I even re-downloaded a fresh copy of the data assets. It refuses to play in-game.

I believe Leeor mentioned this is related to the switch to vcpkg for SDL2-mixer.
This is probably a packaging issue for SDL2-mixer, where it was likely compiled without Ogg support. I believe support for Ogg is optional, and if you don't have the proper libraries installed while compiling it simply compiles with Ogg disabled.

Well poo. Makes verifying the volume sliders for #159 still work kinda hard. :P

Apparently those features need to be added to the install list when building with vcpkg:
https://github.com/microsoft/vcpkg/pull/7720#issuecomment-524690890

vcpkg.exe install sdl2-mixer[core,libflac,mpg123,libmodplug,libvorbis,opusfile]

Installing the sld-mixer with the command: vcpkg.exe install sdl2-mixer[core,libflac,mpg123,libmodplug,libvorbis,opusfile]:x64-windows gives the following output (I've included the build target because I'm building both x86-windows and x64-windows):
Computing installation plan...
The following packages will be rebuilt:
    sdl2-mixer[core,libflac,libmodplug,libvorbis,mpg123,opusfile]:x64-windows
The following packages will be built and installed:
  * libflac[core]:x64-windows
  * libmodplug[core]:x64-windows
  * libogg[core]:x64-windows
  * libvorbis[core]:x64-windows
  * mpg123[core]:x64-windows
  * opus[core]:x64-windows
  * opusfile[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
If you are sure you want to rebuild the above packages, run the command with the --recurse option

Re-running with the --recurse option gets 99% of the way there but then fails:
Starting package 9/9: sdl2-mixer:x64-windows
Building package sdl2-mixer[core,libflac,libmodplug,libvorbis,mpg123,opusfile]:x64-windows...
-- Using cached E:/Git/vcpkg/downloads/SDL2_mixer-2.0.4.zip
-- Using source at E:/Git/vcpkg/buildtrees/sdl2-mixer/src/2.0.4-a895b09396
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
    Command failed: E:/Git/vcpkg/downloads/tools/cmake-3.14.0-windows/cmake-3.14.0-win32-x86/bin/cmake.exe --build . --config Debug --target install -- -v
    Working Directory: E:/Git/vcpkg/buildtrees/sdl2-mixer/x64-windows-dbg
    See logs for more information:
      E:\Git\vcpkg\buildtrees\sdl2-mixer\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_cmake.cmake:91 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
  ports/sdl2-mixer/portfile.cmake:49 (vcpkg_install_cmake)
  scripts/ports.cmake:90 (include)

Error: Building package sdl2-mixer:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: sdl2-mixer:x64-windows
  Vcpkg version: 2020.02.04-nohash

Additionally, attach any relevant sections from the log files above.

The log file shows about 50 unresolved external symbol errors:
//...Snip 22 successful compilations and invocations of cl.exe

[23/24] cmd.exe /C "cd . && E:\Git\vcpkg\downloads\tools\cmake-3.14.0-windows\cmake-3.14.0-win32-x86\bin\cmake.exe -E vs_link_dll --intdir=CMakeFiles\SDL2_mixer.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x64\link.exe  CMakeFiles\SDL2_mixer.dir\effect_position.c.obj CMakeFiles\SDL2_mixer.dir\effect_stereoreverse.c.obj CMakeFiles\SDL2_mixer.dir\effects_internal.c.obj CMakeFiles\SDL2_mixer.dir\load_aiff.c.obj CMakeFiles\SDL2_mixer.dir\load_voc.c.obj CMakeFiles\SDL2_mixer.dir\mixer.c.obj CMakeFiles\SDL2_mixer.dir\music.c.obj CMakeFiles\SDL2_mixer.dir\music_cmd.c.obj CMakeFiles\SDL2_mixer.dir\music_flac.c.obj CMakeFiles\SDL2_mixer.dir\music_fluidsynth.c.obj CMakeFiles\SDL2_mixer.dir\music_mad.c.obj CMakeFiles\SDL2_mixer.dir\music_mikmod.c.obj CMakeFiles\SDL2_mixer.dir\music_modplug.c.obj CMakeFiles\SDL2_mixer.dir\music_mpg123.c.obj CMakeFiles\SDL2_mixer.dir\music_ogg.c.obj CMakeFiles\SDL2_mixer.dir\music_opus.c.obj CMakeFiles\SDL2_mixer.dir\music_timidity.c.obj CMakeFiles\SDL2_mixer.dir\music_wav.c.obj CMakeFiles\SDL2_mixer.dir\version.rc.res CMakeFiles\SDL2_mixer.dir\music_nativemidi.c.obj CMakeFiles\SDL2_mixer.dir\native_midi\native_midi_common.c.obj CMakeFiles\SDL2_mixer.dir\native_midi\native_midi_win32.c.obj  /out:SDL2_mixer.dll /implib:SDL2_mixer.lib /pdb:SDL2_mixer.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL  E:\Git\vcpkg\installed\x64-windows\debug\lib\SDL2d.lib Winmm.lib user32.lib gdi32.lib winmm.lib imm32.lib ole32.lib oleaut32.lib version.lib uuid.lib advapi32.lib setupapi.lib shell32.lib dinput8.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  && cd ."
FAILED: SDL2_mixer.dll SDL2_mixer.lib
cmd.exe /C "cd . && E:\Git\vcpkg\downloads\tools\cmake-3.14.0-windows\cmake-3.14.0-win32-x86\bin\cmake.exe -E vs_link_dll --intdir=CMakeFiles\SDL2_mixer.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x64\link.exe  CMakeFiles\SDL2_mixer.dir\effect_position.c.obj CMakeFiles\SDL2_mixer.dir\effect_stereoreverse.c.obj CMakeFiles\SDL2_mixer.dir\effects_internal.c.obj CMakeFiles\SDL2_mixer.dir\load_aiff.c.obj CMakeFiles\SDL2_mixer.dir\load_voc.c.obj CMakeFiles\SDL2_mixer.dir\mixer.c.obj CMakeFiles\SDL2_mixer.dir\music.c.obj CMakeFiles\SDL2_mixer.dir\music_cmd.c.obj CMakeFiles\SDL2_mixer.dir\music_flac.c.obj CMakeFiles\SDL2_mixer.dir\music_fluidsynth.c.obj CMakeFiles\SDL2_mixer.dir\music_mad.c.obj CMakeFiles\SDL2_mixer.dir\music_mikmod.c.obj CMakeFiles\SDL2_mixer.dir\music_modplug.c.obj CMakeFiles\SDL2_mixer.dir\music_mpg123.c.obj CMakeFiles\SDL2_mixer.dir\music_ogg.c.obj CMakeFiles\SDL2_mixer.dir\music_opus.c.obj CMakeFiles\SDL2_mixer.dir\music_timidity.c.obj CMakeFiles\SDL2_mixer.dir\music_wav.c.obj CMakeFiles\SDL2_mixer.dir\version.rc.res CMakeFiles\SDL2_mixer.dir\music_nativemidi.c.obj CMakeFiles\SDL2_mixer.dir\native_midi\native_midi_common.c.obj CMakeFiles\SDL2_mixer.dir\native_midi\native_midi_win32.c.obj  /out:SDL2_mixer.dll /implib:SDL2_mixer.lib /pdb:SDL2_mixer.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL  E:\Git\vcpkg\installed\x64-windows\debug\lib\SDL2d.lib Winmm.lib user32.lib gdi32.lib winmm.lib imm32.lib ole32.lib oleaut32.lib version.lib uuid.lib advapi32.lib setupapi.lib shell32.lib dinput8.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  && cd ."
  All rights reserved.

   Creating library SDL2_mixer.lib and object SDL2_mixer.exp
music_flac.c.obj : error LNK2019: unresolved external symbol __imp_FLAC__stream_decoder_new referenced in function FLAC_Load
music_flac.c.obj : error LNK2019: unresolved external symbol __imp_FLAC__stream_decoder_delete referenced in function FLAC_Load
music_flac.c.obj : error LNK2019: unresolved external symbol __imp_FLAC__stream_decoder_get_state referenced in function FLAC_Load
music_flac.c.obj : error LNK2019: unresolved external symbol __imp_FLAC__stream_decoder_init_stream referenced in function FLAC_Load
music_flac.c.obj : error LNK2019: unresolved external symbol __imp_FLAC__stream_decoder_finish referenced in function FLAC_Load
music_flac.c.obj : error LNK2019: unresolved external symbol __imp_FLAC__stream_decoder_flush referenced in function FLAC_Load
music_flac.c.obj : error LNK2019: unresolved external symbol __imp_FLAC__stream_decoder_process_single referenced in function FLAC_Load
music_flac.c.obj : error LNK2019: unresolved external symbol __imp_FLAC__stream_decoder_process_until_end_of_metadata referenced in function FLAC_Load
music_flac.c.obj : error LNK2019: unresolved external symbol __imp_FLAC__stream_decoder_process_until_end_of_stream referenced in function FLAC_Load
music_flac.c.obj : error LNK2019: unresolved external symbol __imp_FLAC__stream_decoder_seek_absolute referenced in function FLAC_Load
music_modplug.c.obj : error LNK2019: unresolved external symbol __imp_ModPlug_Load referenced in function MODPLUG_Load
music_modplug.c.obj : error LNK2019: unresolved external symbol __imp_ModPlug_Unload referenced in function MODPLUG_Load
music_modplug.c.obj : error LNK2019: unresolved external symbol __imp_ModPlug_Read referenced in function MODPLUG_Load
music_modplug.c.obj : error LNK2019: unresolved external symbol __imp_ModPlug_Seek referenced in function MODPLUG_Load
music_modplug.c.obj : error LNK2019: unresolved external symbol __imp_ModPlug_GetSettings referenced in function MODPLUG_Load
music_modplug.c.obj : error LNK2019: unresolved external symbol __imp_ModPlug_SetSettings referenced in function MODPLUG_Load
music_modplug.c.obj : error LNK2019: unresolved external symbol __imp_ModPlug_SetMasterVolume referenced in function MODPLUG_Load
music_mpg123.c.obj : error LNK2019: unresolved external symbol mpg123_init referenced in function MPG123_Load
music_mpg123.c.obj : error LNK2019: unresolved external symbol mpg123_exit referenced in function MPG123_Load
music_mpg123.c.obj : error LNK2019: unresolved external symbol mpg123_new referenced in function MPG123_Load
music_mpg123.c.obj : error LNK2019: unresolved external symbol mpg123_delete referenced in function MPG123_Load
music_mpg123.c.obj : error LNK2019: unresolved external symbol mpg123_plain_strerror referenced in function MPG123_Load
music_mpg123.c.obj : error LNK2019: unresolved external symbol mpg123_strerror referenced in function MPG123_Load
music_mpg123.c.obj : error LNK2019: unresolved external symbol mpg123_rates referenced in function MPG123_Load
music_mpg123.c.obj : error LNK2019: unresolved external symbol mpg123_format_none referenced in function MPG123_Load
music_mpg123.c.obj : error LNK2019: unresolved external symbol mpg123_format referenced in function MPG123_Load
music_mpg123.c.obj : error LNK2019: unresolved external symbol mpg123_getformat referenced in function MPG123_Load
music_mpg123.c.obj : error LNK2019: unresolved external symbol mpg123_open_handle referenced in function MPG123_Load
music_mpg123.c.obj : error LNK2019: unresolved external symbol mpg123_close referenced in function MPG123_Load
music_mpg123.c.obj : error LNK2019: unresolved external symbol mpg123_read referenced in function MPG123_Load
music_mpg123.c.obj : error LNK2019: unresolved external symbol mpg123_seek referenced in function MPG123_Load
music_mpg123.c.obj : error LNK2019: unresolved external symbol mpg123_replace_reader_handle referenced in function MPG123_Load
music_ogg.c.obj : error LNK2019: unresolved external symbol ov_clear referenced in function OGG_Load
music_ogg.c.obj : error LNK2019: unresolved external symbol ov_open_callbacks referenced in function OGG_Load
music_ogg.c.obj : error LNK2019: unresolved external symbol ov_pcm_total referenced in function OGG_Load
music_ogg.c.obj : error LNK2019: unresolved external symbol ov_pcm_seek referenced in function OGG_Load
music_ogg.c.obj : error LNK2019: unresolved external symbol ov_time_seek referenced in function OGG_Load
music_ogg.c.obj : error LNK2019: unresolved external symbol ov_pcm_tell referenced in function OGG_Load
music_ogg.c.obj : error LNK2019: unresolved external symbol ov_info referenced in function OGG_Load
music_ogg.c.obj : error LNK2019: unresolved external symbol ov_comment referenced in function OGG_Load
music_ogg.c.obj : error LNK2019: unresolved external symbol ov_read referenced in function OGG_Load
music_opus.c.obj : error LNK2019: unresolved external symbol op_open_callbacks referenced in function OPUS_Load
music_opus.c.obj : error LNK2019: unresolved external symbol op_free referenced in function OPUS_Load
music_opus.c.obj : error LNK2019: unresolved external symbol op_seekable referenced in function OPUS_Load
music_opus.c.obj : error LNK2019: unresolved external symbol op_head referenced in function OPUS_Load
music_opus.c.obj : error LNK2019: unresolved external symbol op_pcm_seek referenced in function OPUS_Load
music_opus.c.obj : error LNK2019: unresolved external symbol op_read referenced in function OPUS_Load
SDL2_mixer.dll : fatal error LNK1120: 47 unresolved externals
ninja: build stopped: subcommand failed.

I checked the master branch of vcpkg's sdl2-mixer package for the CMake config:
https://github.com/LilyWangL/vcpkg/blob/master/ports/sdl2-mixer/CMakeLists.txt
It looks to have been updated since the PR I linked to previously. Included is some code to set link libraries. Perhaps it provides some clues:
# Ogg-Vorbis support
if(SDL_MIXER_ENABLE_OGGVORBIS)
    find_path(VORBIS_INCLUDE_DIR vorbis/codec.h)
    find_library(VORBISFILE_LIBRARY vorbisfile)
    list(APPEND SDL_MIXER_INCLUDES ${VORBIS_INCLUDE_DIR})
    list(APPEND SDL_MIXER_DEFINES MUSIC_OGG)
    if (SDL_DYNAMIC_LOAD)
        get_filename_component(VORBISFILE_LIBRARY_NAME "${VORBISFILE_LIBRARY}" NAME_WE)
        list(APPEND SDL_MIXER_LOAD_DEFINES -DOGG_DYNAMIC="${VORBISFILE_LIBRARY_NAME}${LIBRARY_SUFFIX}")
    endif()
endif()

I forgot to mention I did the above steps after pulling latest from the master branch of vcpkg. No luck, obviously.
Wouldn't I have gotten that CMake list with the pull?

-smh-
Vcpkg is great but there are a number of issues including SDL-Mixer building against debug SDL2 in release mode. >_<
/me slams head on desk
Try to make things easier and it just gets harder. Bleh.
A temporary fix., I suspect, is to convert mars.ogg to wav and just use that until the sdl dependencies can get resolved.

I gave this a bit of a try. I saw errors trying to find yasm while trying to build mpg123, which sdl2-mixer depends on (when all supported formats are turned on).
Curiously, there is a yasm package for vcpkg, though installing it doesn't help. The yasm package is an assembler, used while building mpg123, not a library used by it. It turns out vcpkg doesn't setup the PATH environment variable, or other means, to locate executable files.

I tried experimenting with removing mpg123 from the sdl2-mixer options. This has led to some partial success. Packages can be installed, but then the program fails to link. Perhaps manually specifying link libraries would help here.
I also tried varying the triplet. I tried building static libraries, rather than dynamic link libraries, using x64-windows-static. For x86-windows-static there is a warning:

Using community triplet x86-windows-static. This triplet configuration is not guaranteed to succeed.

Will continue to experiment.

I also tried the dynamic-load option. The result compiles and runs, but displays an error message about how vorbisfile.dll can't be found.
vcpkg install --triplet %PLATFORM%-windows  physfs glew SDL2 SDL2-image SDL2-ttf SDL2-mixer[dynamic-load,libflac,libmodplug,libvorbis,opusfile] gtest

When running OPHD, the terminal log shows:

Music::load(): Failed loading vorbisfile.dll: The specified module could not be found.

I looked into this a bit more today. I noticed the output folder seems to contain DLLs for all the direct dependencies, but not for the optional dependencies of SDL2-mixer. This is when using the dynamic-load option, which allows the SDL2-mixer install to succeed, but then later complains about the missing vorbisfile.dll.
I was able to get music working locally by manually copying DLL files. Since DLLs can depend on other DLLs, I needed to copy:

vorbisfile.dll
vorbis.dll
ogg.dll

Source folder: vcpkg/installed/x64-windows/bin/
Destination folder: OPHD/proj/vs2019/x64/Debug/ (Configuration specific)
Still not sure how to get things working automatically.

A Post-Build step in visual studio can copy the files from Source to Destination (most likely should be the Output Folder). I'm pretty sure the files are guaranteed to exist because the vcpkg install happens during the Pre-Build step of NAS2D.
That said, there should probably also be a one-step process for creating Releases that copies the files from Source to Output folder (next to the binary), the default search path for DLLs.


Adding Loopback interface dialog: Return-key does "Apply" instead of "Save"

Describe the bug
When adding a new loopback interface, pressing the return key while focusing on the dialog/textfield does not add (save) the new interface, instead it seems to trigger the Apply-Function without saving/adding the new interface
To Reproduce
Steps to reproduce the behavior:

Go to interfaces
Go to other types
Go to Loopback
Click on the +-Sign
Add some text to the Description-Field
Press the return key while the cursor is in the Decription-Field

Expected behavior
Pressing return should trigger the "Save" button when focusing on something in this dialog
Screenshots

Environment
OPNsense 23.7.6-amd64

browser problem? On my end it executes https://x.x.x.x/api/interfaces/loopback_settings/addItem/ when you hit save, which is the proper endpint.

browser problem? On my end it executes https://x.x.x.x/api/interfaces/loopback_settings/addItem/ when you hit save, which is the proper endpint.

I am not clicking save. I am pressing the return key while the cursor is in the descriptionfield. This closes the dialog instead of saving

Ah, sounds like tab-index or something similar.

Enter submits the first submit button that is declared, either in the form or worst case in the whole document.

It seems to be a coincidence it's doing the form submit here, other pages might do the same, but it's not very common it seems. https://github.com/opnsense/core/commit/1452683b655adcc65d43cd79859b1876619aad24 removes the submit in full (for mvc pages), I don't think any of our mvc pages should ever do a submit. Hooking this specifically to the input forms isn't enough as the navbar-form is also a form type.


How to get running on windows?

I have all the tools, Visual Studio 2015, and node installed, but I just don't know how to proceed to get this so that I can start playing. Any and all help appreciated.

just run node examples/whatever-here.js and you fill find your way to the light

hmm, just sits there...nothing happens at all until I issue ctrl-break to quit. (only key that does anything).
I downloaded wemo-client-master and unzipped to a folder of that name. I opened the folder as a web site in VStudio and did the install wemo-client. I think its installed right because when I do npm install from the dos command line in the wemo-client-master folder it states "refusing to install wemo client as a dependency upon itself". So question 1 - is that right? Question 2 - why does't anything happen? According to the code I should get something to the console, including any errors.
TIA

Nope. To install the required dependencies just run npm install (without further arguments).
Run node examples/index.js as it will display all found Wemo devices on the console. Make sure they are connected to the same network.

OK, now I am pushing my luck with your excellent help.... :-)
Got index.js working. Now here's what I want to do and just don't see how. I want to "ask" the wemo maker what the state of the sensor is. Based on the state, (and time of day), send a text message. You can probably guess this is a garage door opener scenario (it is). So after midnight I want to text myself that the door is open.
Everything I have found depends on the sensor changing state, but nothing on how to get that state anytime I want. It must be possible since the Wemo Android app reports sensor on/off when it starts up. They (belkin) were no help in telling me how to get that sensor state.
Thanks again in advance.

examples/maker.js gives you the answer.


[webgpu]: pipelines and bind groups refactoring

shader and system types synchronized
pipelens and bind groups description separated
pipelines description simplified

Plus, please double-check the commit head with other patches from the git history.
We expect this, even You have used for
wg_engine: xxxxxxxx

Not this:
[webgpu]


Issue with /docs/tutorials/kubernetes-basics/cluster-interactive/

This is a...

[ ] Feature Request
[ *] Bug Report

Problem:
[Error] Failed to load resource: Не удалось подключиться к серверу. (embed.js, line 0)
Proposed Solution:
Page to Update:
http://kubernetes.io/...

Can you please send a screenshot of the error? Is your browser’s cookie settings enabled?

all browser functions is enabled, default setting, in safary and chrome and firefox.

This looks like Cloudflare is blocking the HTTP request.

That sounds likely. What happens when you click to one of those font URLs or something and open in a separate tab?

This looks more like a request for individual support and less of an issue with the docs per se. @moveax3, I encourage you to bring your question to the #kubernetes-users channel in Kubernetes slack.