Flag --incompatible_disable_starlark_host_transitions will break Android Studio Plugin Google in Bazel 7.0

Incompatible flag --incompatible_disable_starlark_host_transitions will be enabled by default in the next major release (Bazel 7.0), thus breaking Android Studio Plugin Google. Please migrate to fix this and unblock the flip of this flag.
The flag is documented here: bazelbuild/bazel#17032.
Please check the following CI builds for build and test results:

Ubuntu 18.04 OpenJDK 11
Ubuntu 18.04 OpenJDK 11
Ubuntu 18.04 OpenJDK 11
Ubuntu 18.04 OpenJDK 11
Ubuntu 18.04 OpenJDK 11
Ubuntu 18.04 OpenJDK 11

Never heard of incompatible flags before? We have documentation that explains everything.
If you have any questions, please file an issue in https://github.com/bazelbuild/continuous-integration.

Fixed with https://github.com/bazelbuild/intellij/commit/340cf764603c362216ab51d657723f5e8952b3ab


Add support for post steps that gets run - boiler plate specific

Boilerplate system should support spawning a post create script to do things that is needed after a creation.
For instance for a C# boilerplate; run dotnet restore in the correct project.
For a boilerplate that holds node things; run yarn.
┆Issue is synchronized with this Asana task

Note: remove the Webpack dependency in the core CLI - this should be something the specific boilerplate defines as a dependency, since it will be the one to actually do this

This is a 'common' project issue


Allow EnvironmentVariableCollection to unset variables

EnvironmentVariableCollection currently support modifying a variable, or deleting a modification in that collection, but not unsetting an environment variable.
Sometimes we want to unset variables in the direnv extension but there is no API for it (and if we force null or undefined through the current API they get automatically stringified to "null" and "undefined").
The closest we can do is set them to the empty string (what POSIX calls null), but then some programs insist on distinguishing empty from undefined variables.
(N.B. Shells make this intentionally hard, for example the bash man page omits the expansion modifiers that distinguish null and unset variables.)
This could be done either by allowing null and/or undefined as the replacement value for replace, or with a new method on the API.
Related issue: direnv/direnv-vscode#527, and previously NixOS/nix#6409
Related commits: direnv/direnv-vscode@9905fe78d09a56264a0b229fba16326d181fe618, and previously direnv/direnv-vscode@79a4841ea6700cedcaa7849126c1acf0b5726e92

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Here's a natural proposal:
export interface EnvironmentVariableMutator {
	readonly value: string | undefined;
}

export interface EnvironmentVariableCollection extends Iterable<[variable: string, mutator: EnvironmentVariableMutator]> {
	/**
	* @param value The value to replace the variable with, undefined will unset the variable.
	*/
	replace(variable: string, value: string | undefined): void;
}

But this would be a breaking API change and so would a separate EnvironmentVariableCollection.delete API as it would have to change the Iterable part. So this ask is a bit trickier than it looks.
Here's something that would work but it's a little more clunky:
export interface EnvironmentVariableCollection extends Iterable<[variable: string, mutator: EnvironmentVariableMutator]> {
	/**
	 * Whether to unset instead of set when mutators replace a variable with the empty string.
	 */
	unsetEmpty: boolean;
}


Issue with config when opening a new file with vim split

Information
VIM version
IM - Vi IMproved 8.1 (2018 May 18, compiled Sep 14 2018 12:46:26)
Included patches: 1-388
Operating System:
Ubuntu 16.04
:ALEInfo
ALEInfo from file 1
Current Filetype: python
Available Linters: ['flake8', 'mypy', 'prospector', 'pycodestyle', 'pyflakes', 'pylint', 'pyls', 'pyre', 'vulture']
Enabled Linters: ['pylint']
Suggested Fixers:
'add_blank_lines_for_python_control_statements' - Add blank lines before control statements.
'autopep8' - Fix PEP8 issues with autopep8.
'black' - Fix PEP8 issues with black.
'isort' - Sort Python imports with isort.
'remove_trailing_lines' - Remove all blank lines at the end of a file.
'trim_whitespace' - Remove all trailing whitespace characters at the end of every line.
'yapf' - Fix Python files with yapf.
Linter Variables:
let g:ale_python_pylint_change_directory = 1
let g:ale_python_pylint_executable = 'pylint'
let g:ale_python_pylint_options = '--rcfile ~/.pylintrc'
let g:ale_python_pylint_use_global = 0
Global Variables:
let g:ale_cache_executable_check_failures = v:null
let g:ale_change_sign_column_color = 0
let g:ale_command_wrapper = ''
let g:ale_completion_delay = v:null
let g:ale_completion_enabled = 0
let g:ale_completion_max_suggestions = v:null
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%code: %%s'
let g:ale_echo_msg_info_str = 'Info'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_fix_on_save = 0
let g:ale_fixers = {}
let b:ale_fixers = {'python': ['isort', 'trim_whitespace', 'remove_trailing_lines', 'add_blank_lines_for_python_control_statements']}
let g:ale_history_enabled = 1
let g:ale_history_log_output = 1
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'always'
let g:ale_lint_on_insert_leave = 0
let g:ale_linter_aliases = {}
let g:ale_linters = {}
let b:ale_linters = {'python': ['pylint']}
let g:ale_linters_explicit = 0
let g:ale_list_window_size = 10
let g:ale_list_vertical = 0
let g:ale_loclist_msg_format = '%code: %%s'
let g:ale_max_buffer_history_size = 20
let g:ale_max_signs = -1
let g:ale_maximum_file_size = v:null
let g:ale_open_list = 0
let g:ale_pattern_options = v:null
let g:ale_pattern_options_enabled = v:null
let g:ale_set_balloons = 0
let g:ale_set_highlights = 1
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = 0
let g:ale_sign_error = '>>'
let g:ale_sign_info = '--'
let g:ale_sign_offset = 1000000
let g:ale_sign_style_error = '>>'
let g:ale_sign_style_warning = '--'
let g:ale_sign_warning = '--'
let g:ale_statusline_format = v:null
let g:ale_type_map = {}
let g:ale_use_global_executables = v:null
let g:ale_warn_about_trailing_blank_lines = 1
let g:ale_warn_about_trailing_whitespace = 1
ALEInfo from file 2
Current Filetype: python
Available Linters: ['flake8', 'mypy', 'prospector', 'pycodestyle', 'pyflakes', 'pylint', 'pyls', 'pyre', 'vulture']
Enabled Linters: ['flake8', 'mypy', 'pylint']
Suggested Fixers:
'add_blank_lines_for_python_control_statements' - Add blank lines before control statements.
'autopep8' - Fix PEP8 issues with autopep8.
'black' - Fix PEP8 issues with black.
'isort' - Sort Python imports with isort.
'remove_trailing_lines' - Remove all blank lines at the end of a file.
'trim_whitespace' - Remove all trailing whitespace characters at the end of every line.
'yapf' - Fix Python files with yapf.
Linter Variables:
let g:ale_python_flake8_change_directory = 1
let g:ale_python_flake8_executable = 'flake8'
let g:ale_python_flake8_options = ''
let g:ale_python_flake8_use_global = 0
let g:ale_python_mypy_executable = 'mypy'
let g:ale_python_mypy_ignore_invalid_syntax = 0
let g:ale_python_mypy_options = ''
let g:ale_python_mypy_use_global = 0
let g:ale_python_pylint_change_directory = 1
let g:ale_python_pylint_executable = 'pylint'
let g:ale_python_pylint_use_global = 0
Global Variables:
let g:ale_cache_executable_check_failures = v:null
let g:ale_change_sign_column_color = 0
let g:ale_command_wrapper = ''
let g:ale_completion_delay = v:null
let g:ale_completion_enabled = 0
let g:ale_completion_max_suggestions = v:null
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%code: %%s'
let g:ale_echo_msg_info_str = 'Info'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_fix_on_save = 0
let g:ale_fixers = {}
let g:ale_history_enabled = 1
let g:ale_history_log_output = 1
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'always'
let g:ale_lint_on_insert_leave = 0
let g:ale_linter_aliases = {}
let g:ale_linters = {}
let g:ale_linters_explicit = 0
let g:ale_list_window_size = 10
let g:ale_list_vertical = 0
let g:ale_loclist_msg_format = '%code: %%s'
let g:ale_max_buffer_history_size = 20
let g:ale_max_signs = -1
let g:ale_maximum_file_size = v:null
let g:ale_open_list = 0
let g:ale_pattern_options = v:null
let g:ale_pattern_options_enabled = v:null
let g:ale_set_balloons = 0
let g:ale_set_highlights = 1
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = 0
let g:ale_sign_error = '>>'
let g:ale_sign_info = '--'
let g:ale_sign_offset = 1000000
let g:ale_sign_style_error = '>>'
let g:ale_sign_style_warning = '--'
let g:ale_sign_warning = '--'
let g:ale_statusline_format = v:null
let g:ale_type_map = {}
let g:ale_use_global_executables = v:null
let g:ale_warn_about_trailing_blank_lines = 1
let g:ale_warn_about_trailing_whitespace = 1
What went wrong
ALE does not load my pylintrc when opening a second file with vim split. It works as expected when working on a single file (i.e. it uses the pylintrc) but when opening a second file via split, it doesn't and it reports pylint warnings that I had disabled in the config.
I have pasted above the ALEInfo from both buffers where you can see that for the first file it correctly uses the config while in the second it doesn't. Now that I think about it, it may in fact not be using the vimrc (and not the pylintrc as I thought) because for the first file it correctly reports only one linter (which I have set in my vimrc) while for the second it reports various linters (which is the default)
Reproducing the bug

Setup ALE to use a single linter (e.g. pylint)
Open a python file
Open a second python file via vim split
Observe that ALE in the second file has many linters enabled instead of one

This happens for me as well and I use javascript instead of python.

@sdb1228 what is your plugin list? can you reproduce this with a minimal amount of plugins installed?

I have the same problem. For test purpose I have removed all configurations and plugins, except ALE and plugin manager, but problem still occur.

@angrypie thanks; can you confirm that there's an inconsistency between :ALEInfo output for you as well?

@RyanSquared oh, my bad. Have had b:ale_linters instead of g:ale_linters 🤦🏻♂ I think @alpapado may have the same misconfiguration because of his statement:
"4. Observe that ALE in the second file has many linters enabled instead of one"

@angrypie Yes that was indeed the issue. Nice catch :+1:


Wireguard missing in firewall

I'm not able to see wireguard in the firewall section (newest opnsense version).

Interface will appear when daemon is enabled

@mimugmail It is enabled but wireguard does not appear :(

When you edit a firewall rule and save again. Does it appear?

Yes :-)

Close please ..

Isn't that a bug which should be fixed?

No, filter sometimes need a reload which can be triggered via editing a rule. Also affects other VPNs


Return string as an integer

Before jumping into Pr first comment for assign.All Problem from Edabit. Link is mandatory to add
Problem statement: Create a function that takes a string and returns it as an integer.
Problem Link: https://edabit.com/challenge/GPmoRCZKkyNtoJMcN

Before submitting a PR please Check some details. Check Edabit for problem task

[x] fileName formet should be in camelcase
example- returnTheNextNumber.py
[x]  Add label for Problem
[x]  In file there should be problem statement and link to probelm
example -

'''
    Probem Task : This program will add two numbers
    Problem Link : https://edabit.com/challenge/SFzHtm63XT6EYNHWY
'''
*/
def main():
    return a + b

This repository is vaild for HacktoberFest2020
Read before making PR - How to contribute on Github
Good Luck,

I want to work on this.
Assign me

I am searching for projects and issue for my very first hacktoberfest contributions and this looks very perfect for me.... can you please assign it to me

Can you assign this task to me? I worked in Python quite a few times. I can do this task with all necessary guidelines.
Assign Me.

@sark-2110  do not PR before you assigned on issue. That is opposing the guidelines of the project.

@sark-2110 Invalid PR

Can you assign me this? Thanks.


MWPW-156066 - do not display empty li el as sort/filter item

Resolves: MWPW-156066

PR for not displaying empty elements when for filters/sort items are authored empty bullets

LINKS:
Before: https://stage--dme-partners--adobecom.hlx.page/channelpartners/drafts/kristijan/announcements-author-test
After: https://mwpw-156066-authored-empty-li--dme-partners--adobecom.hlx.page/channelpartners/drafts/kristijan/announcements-author-test

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.21%. Comparing base (2754458) to head (4d90f40).

Additional details and impacted files
@@            Coverage Diff             @@
##            stage      #32      +/-   ##
==========================================
- Coverage   81.40%   81.21%   -0.20%
==========================================
  Files           7        7
  Lines        2614     2624      +10
==========================================
+ Hits         2128     2131       +3
- Misses        486      493       +7

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Simplification rules to pull minus signs out of products should cope with vectors and matrices

e.g. a+(-2)*vector(1,2) should simplify to a-2*vector(1,2)
Actually, not sure why they don't just apply to all data types.

 I was doing $\simplify[rowvector]{...}$, which doesn't have any of the other simplification rules turned on! $\simplify[rowvector,all]{...}$ works fine.


onDidOpenTextDocument+onDidCloseTextDocument both fire together when holding Cmd while hovering

When you hover over a symbol and hold Ctrl/Cmd, VS Code sends a definition request to include a preview in the tooltip. However it also onDidOpenTextDocument followed immediately by onDidCloseTextDocument for the document that contains the definition for apparently no reason.
This results in the language server being told a file has been opened (that has not) and may kick off expensive analysis work, only to immediately be told the file is closed. The open/close events occur immediately together, so it appears VS Code is getting no benefit or information from this at all, it's only potentially triggering unnecessary work on the server.
Here's a repro:
https://github.com/DanTup/vscode-repro-ctrl-hover
This simply provides a basic definition provider and los when open/close is called. When you run it, it'll open the sample_project folder that has two text files. Open one.txt and hover over the text then press/hold Cmd/Ctrl. Each time you press Cmd/Ctrl you'll see in the debug console the Open/Close events fired.

In some cases (I haven't fully debugged yet), VS code actually seems to trigger a bunch of requests and cancel them. The original log where I noticed the behaviour above shows a number of requests all being sent to the LSP server at exactly the same time (before any are responded to), many of which are cancelled:

Apparently this has come up before in https://github.com/microsoft/vscode/issues/84875 and was just fixed in the TS extension. If this isn't going to be fixed by VS Code, it seems like the LSP language client is going to need the same workaround?

A proper fix for this would require addressing https://github.com/microsoft/vscode/issues/15178. Otherwise even batching is only a band aid

What @dbaeumer says


Time response data class

This PR adds a TimeResponseData class, following the discussion in #645, which provides a more object-oriented approach to the representation of time response data.  All time responses functions now return an instance of TimeResponseData containing the results of simulations.  The class implements an __iter__ method that allows backward compatibility with current call signatures.
Old approach (still works):
t, y = ct.step_response(siso_sys)
plt.plot(t, y)

t, y = ct.step_response(mimo_sys)
plt.plot(t, y[0, 1], label="input 1 to output 0")
plt.plot(t, y[1, 1], label="input 1 to output 1")

New approach:
response = ct.step_response(siso_sys)
plt.plot(response.time, response.outputs)

response = ct.step_response(mimo_sys)
plt.plot(response.time, response.outputs[0, 1], label="input 1 to output 0")
plt.plot(response.time, response.outputs[1, 1], label="input 1 to output 1")

The attributes time, outputs, states and inputs are actually class properties that carry out "squeeze processing" allowing use of 1D arrays for SISO systems.  Time response data can also be accessed via the attributes t, y, x, and u, which are always in "MIMO" format (indexed by output, input (trace), and time:
response = ct.step_response(siso_sys)
plt.plot(response.t, response.y[0, 0])

Other notes:

I adopted the terminology of a "trace" to handle the time response data returned by step_response and impulse_response, where a MIMO system generates a full matrix of input/output responses.  The output, state, and input responses for those functions are represented by a 3D array indexed by output/state/input, trace, and time.

The terminology for time, outputs, states and inputs was chosen to be consistent with the OptimalControlResult class.  This is implemented via a set of properties that perform the squeeze (and transpose) processing to provide compatibility with our existing functionality.

The InputOutputData class is currently only used to store the output of simulations, but it is set up to serve as a pure data representation class (similar to FrequencyResponseData) and could later be useful for things like input to system identification routines.

No changes to existing unit tests were needed => should be fully backwards compatible.

At a future date, we may want to consider adding some additional functionality:

Plot methods that plot input/output simulations in a uniform way
Methods to convert data into DataFrame format for use of pandas plotting capabilities

I'm still not completely sure if this is a useful PR, but I was motivated by the way a similar approach taken in JuliaControl and thought I would give it a try.  Suggestions and comments welcome (will leave in draft form for a bit to allow for discussion).

Presumably when the latter [plotting functionality] comes we can do things like add label text, which can come in handy.

I've added the ability to store labels in the latest commit and set things up so that the signals names for I/O systems, if present, are copied over as the default labels for input_output_response.

@billtubbs Would this PR help with what you were working on for #645 ? ie., should we merge this PR?

I've been using the branch with this PR as my default branch for a while and everything seems OK.  Ready to be merged, I think.
@billtubbs You mentioned in a separate note that you had made progress on #645.  Does this conflict with that?  If not, we can probably go ahead and merge.

@billtubbs You mentioned in a separate note that you had made progress on #645. Does this conflict with that? If not, we can probably go ahead and merge.

I don't think so. I haven't looked at this in detail but I was only planning to fix the specific axes and figure problems with some of the plot functions rlocus, pzmap, bode_plot, nyquist_plot, gangof4_plot, nichols_plot.  My work is probably already behind the master so will need revising anyway if there are any impacts.


unexpected behavior when importing "complexly structured secrets"

I have a handful of "complex, structured JSON objects" currently stored in Vault. specifically, they are Hyperledger Fabric connection profiles. it's just a big chunk of JSON with mostly lists of URLs and public keys.
here's a heavily redacted chunk of one for a specific example.

however, when dumped and loaded with medusa, it produces many lines of log output like the following:
Secret successfully written to Vault [https://target-vault:8200] using path [/fabric-profile/channels/mainnet/peers/hlf-peer--...]
Secret successfully written to Vault [https://target-vault:8200] using path [/fabric-profile/channels/mainnet]
Secret successfully written to Vault [https://target-vault:8200] using path [/fabric-profile/certificateAuthorities/hlf-ca--redacted]
Secret successfully written to Vault [https://target-vault:8200] using path [/fabric-profile/organizations/Redacted]
Secret successfully written to Vault [https://target-vault:8200] using path [/fabric-profile/client/connection/timeout]

and creates a directory structure instead of a single object ??

I'm willing to accept that "maybe Vault itself doesn't like this Blob of JSON" and I'm storing my data incorrectly. I also have NOT tested if my applications reading from this directory structure is equivalent from reading the Blob of JSON. (even if it is, the Hyperledger ecosystem of tools and daemons often support this One Config JSON and it would be nice to keep it as a unified format instead of making the Vault representation some "Vault Normalized" variant.)
I don't think I know enough about Vault internals and/or Medusa to determine if "I'm doing it wrong" or if this is a bug in Medusa. certainly the behavior surprised me: the "social contract" around a dump&&load tool is that the data is not transformed (or transformed as minimally as possible to support the load, ie: modifying timestamps)
edit: I realize now this is basically a duplicate of https://github.com/jonasvinther/medusa/issues/47

Hi @rkennedy-tpl,
Thank you for reporting this issue. As you also noticed it is basically the same as #47, but I appreciate your inputs as well.
The issue is basically that the Go Vault API integration by default takes the json structure and converts it into a map which makes it difficult to know difference between when the secret is a key/value or a json blob. I hope to have a solution to this issue very soon. I will let you know when I have a new version that I would like you to test.

Hi @magnuszetterberg and @rkennedy-tpl
I have made a pre-release that I hope will solve this issue. I would love if you have time to test it and report back to me?
The release can be found here:
I have also added a new test data file, that shows the different types of secret that is handled by this fix.
Also let me know if it's still failing for you guys. Maybe you have some kind of special scenario that is not covered yet.

 D'oh!
mind bumping the container image so I can try again? I might hack up a local build shortly, I wound up having the need to clone Vault data this week again...

Oh I forgot that docker changed their automated build behavior a few months ago. I will fix that tomorrow. Thanks for reminding me! I'm glad to hear that the fix is also working for you!

@rkennedy-tpl the latest medusa docker image can now be found here: https://github.com/jonasvinther/medusa/pkgs/container/medusa
The documentation has also been updated.
Again thank you for reminding me.

Hi, this exact same thing happened to me when exporting and reimporting secrets which were in JSON format.
Vault 1.5.5 (Export/Source) from kv1, Vault 1.8.8 to kv1 (Import/Destination), newest Medusa version as of writing.


layers: Don't confuse VkResult/VkBool32 in generators.

In some cases, the generator would return the special error for
validation failed for functions that return a VkBool32. Fix this, and
also some cases of initializing a VkBool32 with VkResult.
Change-Id: Icc071e647f293848d62a922d492ed41dfc5a4be1

Note that there is probably a warning we could enable to catch this in the CI builder. Can look into that if desired.


Saving as JSON format

It will be nice to save the data as JSON.
You could e.g. add on boolean field "Save as JSON".

@m7rlin Wait a minute, what is it saving right now?
@dasmikko As a possible EditorJS user, having the possibility to save the data as JSON is a must since it makes it easy to handle its rendering in the frontend.

@SalahAdDin
Data is saved in the database as HTML.

@SalahAdDin Data is saved in the database as HTML.

Where is it saved as HTML?

in MySQL

@SalahAdDin i don't see how it should be more insecure? It's only bad, if you don't control what kind of html is entered in your database. And in this case you have full control over it.
I could make a setting so it will save it as JSON in the database.
But honestly I think saving it as html is easier, as you don't have to write your own custom JSON to html parser/renderer. I can see it making sense if your frontend is a mobile app or something else, but for web frontend, it shouldn't be an issue.

This is what React's official documentation says about it.
Just saying.
That's one of the reasons the current editor outputs markdown: it is more secure and there are a lot of packages for parsing it to HTML.
I was also thinking of helping with this option if you want.

@SalahAdDin You can still render the saved HTML content on frontend with TipTap instance. So you will have your own schema and the rest of unwanted HTML will be ignored.

@SalahAdDin You can still render the saved HTML content on the front end with the TipTap instance. So you will have your own schema and the rest of the unwanted HTML will be ignored.

What if I want to render it with custom components, let's say, for instance, the NextJS optimized built-in image? Or code with syntax highlighter(using another react library)?
In this case, we would require to parse this HTML to another thing prior to using it with our custom components.

You will have to create an instance of TipTap in your frontend as here https://tiptap.dev/introduction.

You will have to create an instance of TipTap in your frontend as here https://tiptap.dev/introduction.

Why should we have to do it?
In Strapi, save data as JSON, in frontend, parse this JSON using your custom components.
That's all.

@dasmikko so man, how is this going on? how can we help you with this?

PR's are more than welcome. I'm currently busy with other work related stuff and projects.

PR's are more than welcome. I'm currently busy with other work related stuff and projects.

where do you convert it to html? or, where do you save the data?

If this is done, I would strongly recommend it has a configuration option :)
@SalahAdDin you can see it here:
https://github.com/dasmikko/strapi-tiptap-editor/blob/22b83f34f37e1a3d530600aed49bc034926a1a28/admin/src/components/Wysiwyg/index.js#L208
You will want to call getJSON() instead:
https://tiptap.dev/guide/output#option-1-json

If this is done, I would strongly recommend it has a configuration option :)
@SalahAdDin you can see it here:
https://github.com/dasmikko/strapi-tiptap-editor/blob/22b83f34f37e1a3d530600aed49bc034926a1a28/admin/src/components/Wysiwyg/index.js#L208
You will want to call getJSON() instead: https://tiptap.dev/guide/output#option-1-json

This is pretty nice, I will check it and  try to make a pull request, thanks!!!

I have made a Save as JSON toggle now.
It will save the content as stringified json object, as Strapi expects the WYSIWYG content to be a string.
You will have to re-save all pages for the content to be changed to JSON. You will still be able to edit the page content if you toggle the setting on or off.
This with be available in the next release.

Fixed in 0.9.7

@dasmikko Are the settings exposed to the public? I mean, so the developer can override the default settings. It could be a new future for the plugin.
Migrating it to Typescript is also in my plans.

@SalahAdDin yup. There is a settings page inside strapi. There you can configure many parts of the editor.

@SalahAdDin yup. There is a settings page inside strapi. There you can configure many parts of the editor.

But not by Strapi, by the configuration settings in the plugins file.

Oh, in that sense. Currently the plugin is configured completely inside the strapi dashboard. It could absolutely be a feature in the future.


AKS Uptime SLA documentation should include limitations around conflicting address spaces

Currently, the uptime SLA feature requires the Openvpn tunnel implementation which uses <IP_ADDRESS>/16, <IP_ADDRESS>/16.
The Azure CNI documentation mentions that the cluster "may not use" those ranges, but this can be confusing for users that don't have a good Azure and AKS networking understanding.
For example:
Creating an AKS cluster with Azure CNI and using subnet cidr <IP_ADDRESS>/16 does not have any conflicts with <IP_ADDRESS>/16, <IP_ADDRESS>/16,  but if the VNET where <IP_ADDRESS>/16 exist has an address prefix of <IP_ADDRESS>/8 you will not be able to use the uptime SLA feature.
My understanding is that konnectivity tunnel implementation should replace all AKS tunnel implementations removing the Openvpn component, but looks like the ETA for this feature could be months or longer.
It would be a good idea to include some sort of limitations or requirement section on the uptime SLA document that clarifies around this particular network conflicts.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a26e9dfe-c152-881c-5c60-e5753e0e4d2e
Version Independent ID: e56264a6-3476-9b5f-c800-2c528129c2e2
Content: Azure Kubernetes Service (AKS) with Uptime SLA - Azure Kubernetes Service
Content Source: articles/aks/uptime-sla.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Thank you for the feedback.
We have added an item to our backlog and will prioritize accordingly.
#please-close


Unable to use console routing

I'm working on my first Apigility application, so far so good. It works perfectly with http to serve as an API for a web frontend application. Now, I'm trying to implement scheduled cron operations through console routing. But no matter what I tried, I can't get it to work...
At first, I simply added this in my API module configuration :
'console' => [
    'router' => [
        'routes' => [
            'test_route' => [
                'options' => [
                    'route'    => '/test',
                    'defaults' => [
                        'controller' => 'mymodule\V1\Console\Test\Controller',
                        'action' => 'test'
                    ],
                ],
            ],
        ],
    ],
],

Then trying to call with :
php ./public/index.php /test
The result was "No base path provided". So I added this in my module configuration :
'view_manager' => [
       'base_path' => __DIR__ . '/../',
]

Now, no matter what I try, I always get a 404 "The requested URL could not be matched by routing.". I found examples over the internet running commands like "zf foo bar" to run a zend application as command line, but I don't have that command on my (Windows 8.1) system. Should I install this ? I'm using composer, and I tried to install various packages like zfcampus/zf-console or zendframework/zend-console, but without any noticeable changes...
I'm new with Apigility but with Zend as well... So my main issue I suppose is that I have no idea if my problem comes from one or the other...

When you route at the console level, you are defining rules for parsing console arguments, options, and flags — not URI paths. Please read the zend-mvc-console documentation, as well as the zend-console route matching documentation to understand how to create routes for the console.
That said: the MVC <-> console integration is deprecated. We recommend using symfony/console instead. You can still pull services from your application container when creating your command instances.

thanks for your time, but I cannot see ho it answers my question... I tried with various parameters, and the only thing in my example that could seem like an url is the leading "/" of my route. But I tried other stuff, like copy-paste examples from Zend documentations found here and there (some times containing syntax errors). I tried so many things with different small adjustments, I cannot believe there is not something else...
And if I ear you well about that deprecation stuff, I would need to pull out a completely new framework  only in order to have such simple feature that is the console ?? Seems quite overkill :(

@Vinnythetrue
The answer is quite simple and was already answered by @weierophinney: your route is wrong. You are on the console and there is no slash or other elements of a URI. Compare with the second code example: https://docs.zendframework.com/zend-mvc-console/routing/#routing

and furthermore, what about the "base_path" stuff ? To be noted that with any base_path defined in the config, the http calls no longer work as the css and js files get referenced badly, and this apparently no matter what value I put in it (in fact, the sub path part in these css and js links don't seem right as they are like a/b/c although my directories on the HDD are like a/public/b/c...

sorry @froschdesign I didn't see your comment earlier...
In fact I tried with other stuff, including examples provided in the documentation, and without any slashes anywhere.
I'm trying another example :
module.config.php
    'console' =>[
        'router' => [
            'routes' => [
                'console.foo' => [
                    'options' => [
                        'route' => 'delete user <userEmail>',
                        'defaults' => [
                            'controller' => 'Application\Controller\Index',
                            'action'     => 'password'
                        ],
                    ],
                ],
            ],
        ],
    ],

then I call :
php ./public/index.php delete user<EMAIL_ADDRESS>
I still get exactly the same "URL could not be matched by routing" error....
Right now I'm trying to deploy the app on a linux server, I think maybe its related to my windows machine ?

I also tried these routes :
'console' =>[
        'router' => [
            'routes' => [
                'console.foo' => [
                    'options' => [
                        'route' => 'delete user <userEmail>',
                        'defaults' => [
                            'controller' => 'Application\Controller\Index',
                            'action'     => 'password'
                        ],
                    ],
                ],
                'console.foo2' => [
                    'options' => [
                        'route' => 'test',
                        'defaults' => [
                            'controller' => 'Application\Controller\Index',
                            'action'     => 'password'
                        ],
                    ],
                ],
                'console.foo3' => [
                    'options' => [
                        'defaults' => [
                            'controller' => 'Application\Controller\Index',
                            'action'     => 'password'
                        ],
                    ],
                ],
                'console.foo4' => [
                    'route' => 'test',
                ],
                'console.foo5' => [
                ],
                'console.foo6' => [
					'type' => 'catchAll'
                ],
            ],
        ],
    ],

And I tried of course different associated command, with parameters, without...
php ./public/index.php test
php ./public/index.php
php ./public/index.php delete user<EMAIL_ADDRESS>
No matter what I do, I always get the same "URL not matching any route" response.... And apparently not related to my machine, same on my linux server

@Vinnythetrue Can you run composer show and paste the output in a comment, please? I have a suspicion as to the root cause, but that will help me verify.

@weierophinney below you'll find the asked output :
bshaffer/oauth2-server-php             v1.10.0 OAuth2 Server for PHP container-interop/container-interop    1.2.0   Promoting the interoperab... doctrine/instantiator                  1.1.0   A small, lightweight util... herrera-io/json                        1.0.3   A library for simplifying... herrera-io/phar-update                 1.0.3   A library for self-updati... justinrainbow/json-schema              1.6.1   A library to validate a j... kherge/version                         1.0.1   A parsing and comparison ... michelf/php-markdown                   1.8.0   PHP Markdown myclabs/deep-copy                      1.8.1   Create deep copies (clone... paragonie/random_compat                v2.0.17 PHP 5.x polyfill for rand... phar-io/manifest                       1.0.3   Component for reading pha... phar-io/version                        2.0.1   Library for handling vers... phpdocumentor/reflection-common        1.0.1   Common reflection classes... phpdocumentor/reflection-docblock      4.3.0   With this component, a li... phpdocumentor/type-resolver            0.4.0 phpspec/prophecy                       1.8.0   Highly opinionated mockin... phpunit/php-code-coverage              6.1.4   Library that provides col... phpunit/php-file-iterator              2.0.2   FilterIterator implementa... phpunit/php-text-template              1.2.1   Simple template engine. phpunit/php-timer                      2.0.0   Utility class for timing phpunit/php-token-stream               3.0.1   Wrapper around PHP's toke... phpunit/phpunit                        7.4.3   The PHP Unit Testing fram... psr/container                          1.0.0   Common Container Interfac... psr/link                               1.0.0   Common interfaces for HTT... sebastian/code-unit-reverse-lookup     1.0.1   Looks up which function o... sebastian/comparator                   3.0.2   Provides the functionalit... sebastian/diff                         3.0.1   Diff implementation sebastian/environment                  3.1.0   Provides functionality to... sebastian/exporter                     3.1.0   Provides the functionalit... sebastian/global-state                 2.0.0   Snapshotting of global state sebastian/object-enumerator            3.0.3   Traverses array structure... sebastian/object-reflector             1.1.1   Allows reflection of obje... sebastian/recursion-context            3.0.0   Provides functionality to... sebastian/resource-operations          2.0.1   Provides a list of PHP bu... sebastian/version                      2.0.1   Library that helps with m... seld/jsonlint                          1.7.1   JSON Linter symfony/polyfill-mbstring              v1.10.0 Symfony polyfill for the ... theseer/tokenizer                      1.1.0   A small library for conve... true/punycode                          v2.1.1  A Bootstring encoding of ... webmozart/assert                       1.3.0   Assertions to validate me... zendframework/zend-authentication      2.6.0   provides an API for authe... zendframework/zend-code                3.3.1   provides facilities to ge... zendframework/zend-component-installer 2.1.1   Composer plugin for autom... zendframework/zend-config              3.2.0   provides a nested object ... zendframework/zend-console             2.7.0   Build console application... zendframework/zend-crypt               3.3.0   Strong cryptography tools... zendframework/zend-db                  2.9.3   Database abstraction laye... zendframework/zend-debug               2.6.0   Safely dump debug informa... zendframework/zend-developer-tools     1.2.1   Module for developer and ... zendframework/zend-dom                 2.7.1   provides tools for workin... zendframework/zend-escaper             2.6.0   Securely and safely escap... zendframework/zend-eventmanager        3.2.1   Trigger and listen to eve... zendframework/zend-filter              2.8.0   provides a set of commonl... zendframework/zend-http                2.8.2   Provides an easy interfac... zendframework/zend-hydrator            2.4.0   Serialize objects to arra... zendframework/zend-inputfilter         2.8.2   Normalize and validate in... zendframework/zend-json                3.1.0   provides convenience meth... zendframework/zend-loader              2.6.0   Autoloading and plugin lo... zendframework/zend-mail                2.10.0  Provides generalized func... zendframework/zend-math                3.1.1   Create cryptographically ... zendframework/zend-mime                2.7.1   Create and parse MIME mes... zendframework/zend-modulemanager       2.8.2   Modular application syste... zendframework/zend-mvc                 3.1.1   Zend Framework's event-dr... zendframework/zend-paginator           2.8.1   zend-paginator is a flexi... zendframework/zend-permissions-acl     2.7.0   Provides a lightweight an... zendframework/zend-permissions-rbac    3.0.1   Provides a role-based acc... zendframework/zend-router              3.2.0   Flexible routing system f... zendframework/zend-servicemanager      3.3.2   Factory-Driven Dependency... zendframework/zend-stdlib              3.2.1   SPL extensions, array uti... zendframework/zend-test                3.2.0   Tools to facilitate unit ... zendframework/zend-uri                 2.6.1   A component that aids in ... zendframework/zend-validator           2.10.2  provides a set of commonl... zendframework/zend-view                2.10.0  provides a system of help... zfcampus/zf-api-problem                1.3.0   ZF2 Module providing API-... zfcampus/zf-apigility                  1.4.0   Apigility module for Zend... zfcampus/zf-apigility-admin            1.6.0   Apigility Admin module zfcampus/zf-apigility-admin-ui         1.3.11  Apigility Admin UI module zfcampus/zf-apigility-documentation    1.3.0   Apigility API documentati... zfcampus/zf-apigility-provider         1.3.0   Apigility interfaces zfcampus/zf-asset-manager              1.2.0   Composer plugin for copyi... zfcampus/zf-composer-autoloading       2.1.0   Sets up Composer-based au... zfcampus/zf-configuration              1.3.3   Zend Framework module pro... zfcampus/zf-console                    1.4.0   Library for creating and ... zfcampus/zf-content-negotiation        1.4.0   ZF Module providing conte... zfcampus/zf-content-validation         1.6.1   Zend Framework module pro... zfcampus/zf-deploy                     1.3.0   Deployment tool for Zend ... zfcampus/zf-development-mode           3.2.0   Zend Framework developmen... zfcampus/zf-hal                        1.5.0   ZF2 Module providing Hype... zfcampus/zf-mvc-auth                   1.5.1   ZF2 Module providing Auth... zfcampus/zf-oauth2                     1.5.0   ZF module for implementin... zfcampus/zf-rest                       1.5.0   ZF Module providing struc... zfcampus/zf-rpc                        1.4.0   ZF2 Module for simplifyin... zfcampus/zf-versioning                 1.3.0   ZF2 Module providing list... zfr/zfr-cors                           v1.5.0  Zend Framework 2 module t...
Thanks for your answer ;)

Okay, my assumption was correct.
Console routing is not enabled by default with zend-mvc. We extracted console routing integration into an optional component, zendframework/zend-mvc-console. You'll need to install that as well using composer require zendframework/zend-mvc-console.
Which leads me to this comment:

And if I ear you well about that deprecation stuff, I would need to pull out a completely new framework only in order to have such simple feature that is the console ?? Seems quite overkill :(

First, we have deprecated zend-mvc-console specifically because we feel mixing console and MVC concerns is a bad idea. Controllers handling console requests need to interact differently than those handling MVC requests (e.g., reporting feedback to users, prompting for more input, etc.). We recommend using a console runner instead, mentioning specifically zf-console (which builds on top of zend-console), and symfony/console.
Regarding that latter option, symfony/console is the de facto standard for developing console applications in PHP. It is a standalone component, and does not require installing the full-stack Symfony framework. One reason we recommend it is because it has a ton of features we've never addressed in zend-console, and which would require a complete rewrite for us to address in any case.
In Expressive, we actually use it in the zend-expressive-tooling component.
We enthusiastically promote using the write tool for the job, including third party tools where they offer more than we do, or where we feel we cannot offer something meaningfully different. This is one of those cases where we feel a third-party tool is a better solution.


Dashboard not loading Workspace ?

I have Dashboard to start when Code is loaded but in explorer within code the workspace which I have saved doesn't get loaded; is Dashboard overwriting any workspaces which would automatically load when starting code ?

No, Dashboard does not override any startup behavior. It just checks your dashboard startup setting and opens if needed.


BoolSticky needed

For complex conditions it would be nice to have Boolean decorator for caching

@rultor release, tag is 4.0.0

@maxonfjvipon OK, I will release it now. Please check the progress here

@rultor release, tag is 4.0.0

@maxonfjvipon Done! FYI, the full log is here (took me 3min)


help with Matplotlib error, as called by hclust2

Hi- I'm trying to run hclust2 and getting the following error:
Traceback (most recent call last):
File "/project/crml-bio/.conda/envs/hclust2/bin/hclust2.py", line 825, in
hclust2_main()
File "/project/crml-bio/.conda/envs/hclust2/bin/hclust2.py", line 779, in hclust2_main
read = ReadCmd( )
^^^^^^^^^^
File "/project/crml-bio/.conda/envs/hclust2/bin/hclust2.py", line 768, in init
Heatmap.input_parameters( p )
File "/project/crml-bio/.conda/envs/hclust2/bin/hclust2.py", line 518, in input_parameters
pylab.register_cmap(name=n,cmap=my_cmap)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pylab' has no attribute 'register_cmap'
Any help or work around for this would be appreciated!
Thanks!
Lindsay

A quick fix for me was to install it into a conda environment with python 2 instead of 3.
conda create --name hclust2 -c bioconda hclust2 python=2

I've just come across this and think this is an issue with a deprecated function in the newest version of Matplotlib (3.9.2 at date of post).
When using Matplotlib 3.7 or 3.8, it gives you a warning "The register_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use matplotlib.colormaps.register(name) instead". Assuming this has not been integrated into hclust2 yet.
You might try downgrading your matplotlib-base package?
conda install --name hclust2 matplotlib-base==3.7.0


Analytical Processing is too short

The section on Analytical Processing is way too short in this https://review.docs.microsoft.com/en-us/azure/cloud-adoption-framework/scenarios/data-management/strategy?branch=collab-data-mesh-v1#analytical-processing
at least it should be mentioned that this is the layer where things like common business rules and Key Performance Indicators (KPI's) are maintained. Also the latency between the ingest phase of the data until it lands in a consumable form in the analytical model is a critical path to consider. A link to the UDM might make sense here https://docs.microsoft.com/en-us/openspecs/sql_data_portability/ms-dpssas/8f502d54-1dd0-45f7-986b-e983c4c079f9#:~:text=The Analysis Services metadata model%2C called a Unified,Microsoft Office Excel. A UDM contains information about%3A

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

ID: 42a648bf-51ec-f9da-6c4f-d721616fcdb1
Version Independent ID: 7bdb8bfa-289e-bee5-bc45-a0a6fb78d5ff
Content: Integrate data management and analytics into your cloud adoption strategy - Cloud Adoption Framework
Content Source: docs/scenarios/data-management/strategy.md
Service: cloud-adoption-framework
Sub-service: scenario
GitHub Login: @BrianBlanchard
Microsoft Alias: brblanch

Fixed in
commit 8e2c71dc43e2990de7066449171f102331245632 (HEAD -> collab-data-mesh-v1, origin/collab-data-mesh-v1)
Author: Simon Lidberg<EMAIL_ADDRESS>Date:   Thu Mar 3 14:43:59 2022 +0100
Fix issue #762

https://github.com/MicrosoftDocs/cloud-adoption-framework-pr/pull/3059

#please-close


TDI-37179: tDatasetOutput: add create or update mode

https://jira.talendforge.org/browse/TDI-37179

Pull request test result: failure :x:

close it as we will create a new one base on the last master which have fixed some issues for test failing.


Bar Chart Does not Show Markers

Bug report
Codepen
Basic JS example This code works for regular javascript
Not working in Vue.js CodeSandbox Vue example
Explanation

What is the behavior you expect?

I need it to work in Vue.js

What is happening instead?

The markers do not show, also only get "Actual" in legend, not "Actual" "Expected"

What error message are you getting?

No error messages

`

`
compiles as

We need a reproduction app that can replicate the issue.


Add a check to make sure an "existing installation" actually is fully available and works

I just debugged a very curious CI failur of our VSC extension. It seems that vscode-test, specifically "downloadVSCode" and friends, does not check if an existing installation (or a just downloaded installation) actually is complete and therefore even usable.
This happend:

Under macOS ARM64
Cache path /var/folders/xk/mzfhf6ws4vg9h7x4sltts8lw0000gn/T/.vscode-test/ (because that is what os.tmpdir() provides as base)
/var/folders/xk/mzfhf6ws4vg9h7x4sltts8lw0000gn/T/.vscode-test/vscode-darwin-arm64-1.72.2/Visual Studio Code.app/Contents/MacOS/Electron did not exist
However, /var/folders/xk/mzfhf6ws4vg9h7x4sltts8lw0000gn/T/.vscode-test/vscode-darwin-arm64-1.72.2/Visual Studio Code.app/Contents/MacOS the directory did exist.

There were actually a lot of files missing when i compared it to a fresh install. And i am not sure how these files were deleted, because we do not delete files in that directory.
In any case, i think vscode-test should check the full filesystem tree of the installation to have a specific checksum. This can be cheap (just files and sizes, maybe permissions). If the check fails, the installation should be deleted and downloaded again.
This logic would have helped a lot: i assumed the problem was somewhere else since the message Found existing install in ... Skipping download suggested to me that the installation is valid.

We've actually implemented our own download function in the meantime which stores the archive files in the cache path, and verifies the checksum and extracts a new copy before every run. So in pseudo-code the behavior is:

Fetch latest version info
Until we have an archive file for the current platform with the right checksum (or a retry limit is exceeded):

Download the archive file to the cache path

Extract the archive from the cache path to a separate "installation path" (which will be used to execute VS Code; the archive in the cache path is kept)

Is there any interest in getting that upstreamed? Right now we've just added it to our own code, so it's not integrated into the library yet but I can open a PR for it if desired.

We stream extraction of the vscode download when possible, which speeds things up a good amount when available (on any platform except macOS). I would rather not get rid of that. But simply running code --version and checking that the output is sane is probably a good step in verifying whether the installation is good or not.

If anybody is running into the same problems: here is how we solved it https://symflower.com/en/company/blog/2023/vscode-test-installation/ You can find the full code there as well.
@connor4312 not sure how to proceed with this issue. We need some form of verification of the installation and cache, otherwise we are running into problems. Can you take a look at what we did and propose on how this can be upstreamed?


Rack::Timeout::Logger and related changes

Basically makes customizing logging options a lot simpler. No need to expose StateChangeLoggingObserver details.

Watch #78 for beta.


Flight demo improvements

This PR depends on (but could replace) #779.
On top of #779, I have added several improvements to the flight demo game:

Trees are scaled so they get bigger as you get closer (rather than staying the same size, which makes it seem like they are shrinking).
Water images are now tiled across the whole screen (below the horizon), rather than one square on the left of the screen.
Joystick and D-pad both turn the player at the same speed (before, the joystick was very slow and the D-pad was very fast).
Turning speed is clamped so that you can't turn faster by using the joystick and D-pad at the same time.

Looks good to me! Nice sleuthing (and fixing!) poor example has been neglected for so, so very long.
Would you like me to merge #779 so you can rebase this PR?

I have a feeling I also have some changes to this example somewhere, but I think it's completely different stuff to this.
(Definitely approve of making the trees scale, made sure that worked in SBK's mode7 code :smile:)

Would you like me to merge #779 so you can rebase this PR?

It's probably easiest just to merge this and close the other, since I think this has all the changes of #779 already (by accident, because my git knowledge is limited to pull/push/clone/commit).

I think #779 wants to be rebased or squash-merged to remove the self-merge in there... The commits from there will probably disappear here after that one is merged.
(I almost said I'd rebase it myself, forgetting that I don't have write access here, whoops. But that also means I probably don't get to say how things should be merged either :laughing: )

Ah! I'd thought the self merge was here. But yes, you're right. Would be ideal to get those squashed out.

I'm not entirely sure how to fix the mess in #779, since when I've tried doing a squash merge before, I've ended up with a ton of seemingly blank commits (probably because I pushed before doing the squash merge). Would rebasing work, despite the fact that I've already pushed it?

I did something, not sure if it was the right thing, but there's certainly a lot less commits now!


Fix rule type name that has no pills.

Summary
We recently added the possibility to display can_remediate and release_phase pills, if available, near to rule type name. If no pills were available, we erroneously displayed ().
Change Type

[X] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Manual tests.
Review Checklist:

[X] Reviewed my own code for quality and clarity.
[X] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[X] Checked that related changes are merged.

coverage: 53.94%. remained the same
when pulling 685eef06a4e815f21bf770236b756417a6f03c63 on fix/ruletype-name-pills
into d3523ebf2e88295d2a6ffcb052c815b78d2def5b on main.


Sarahmaddox's shortcodes changes

Merging Sarah's  sarahmaddox:shortcodes into v0.2-branch.

This change is

@abhi-g Can you rebase and squash the commits? I think that will remove the other authors and remove the need for them to consent.

Ok

squashed commits as @jlewi suggested. @sarahmaddox please take a look.

/lgtm
/approve
/hold

ok

agreed @sarahmaddox. We'll switch branch -> site mappings and make master to deploy on www.kubeflow.org.
@jlewi if you have nothing further here, please cancel the hold.

/hold cancel


Windows 10 or Windows Server 10?

I didn't think there was a Windows Server 10 so it's a little confusing when first reading about this.

@BenHall - thanks for the catch.


Update Next.js to latest canary and fix rewrites with locales

This PR fixes a current issue while trying to apply multiple filters in /search

Wonderful!


fix: missing adding postDecls in response map field

I think this it the root cause of https://github.com/go-swagger/go-swagger/issues/2145

yeah the CI failure is my bad.

ok, just let me know if there anything I need to do .
On the other hand, just curious what does go test -v -timeout 60m hack/codegen_nonreg_test.go -args -fixture-file codegen-fixtures.yaml -skip-models -skip-full-flatten do or test? do I need to add some test case here?


blocked

Your checklist for this pull request
Author name
Sumedh Natu
About your game
Pushing boxes on buttons to activate and deactivate spikes to solve puzzles to reach the goal
How do you play your game?
Press WASD to move. Press J to restart the levels.  When box is placed on a button, spikes are deactivated. When you reach the goal, the next level is loaded
Code
Check off the items that are true

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[x] The image is in the /games/img directory.
[x] The name of the image matches the name of your file.

Good job with this game! I especially enjoyed the expressions that changed when a block was put over a button. I'm merging this, and you should see it in the Sprig gallery starting tomorrow. You can request a free Sprig console at this link.

Good job with this game! I especially enjoyed the expressions that changed when a block was put over a button. I'm merging this, and you should see it in the Sprig gallery starting tomorrow. You can request a free Sprig console at this link.

Thank you !!!!!


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit 75b7754:
:clock10: Full build: the average full build time is 5 min(s) 58 sec(s), this is based on the last 655 build(s) for this repository.

Docs Build status updates of commit 75b7754:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Merge swift 3 into master

And bump the Pod's version, leaving 1.0.3 as the last version with Swift 2.

Swift 3 Branch has been merged and pushed to Cocoapods as 1.0.4.
Thanks!


add needed boost packages for dlib component

Enabling image_processing.dlib_face_detect currently fails because the container is missing the needed boost libraries for face_recognition to compile dlib.
2017-06-30 14:45:04 WARNING (MainThread) [homeassistant.setup] Setup of image_processing is taking over 10 seconds.
2017-06-30 14:45:38 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package face_recognition==0.1.14: Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-24t1vo7x/dlib/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-pjxzkd03-record/install-record.txt --single-version-externally-managed --compile --home=/tmp/tmpnqbxjful" failed with error code 1 in /tmp/pip-build-24t1vo7x/dlib/
2017-06-30 14:45:38 ERROR (MainThread) [homeassistant.setup] Not initializing image_processing.dlib_face_detect because could not install dependency face_recognition==0.1.14
2017-06-30 14:45:38 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform image_processing.dlib_face_detect: Could not install all requirements.

Hi @stickystyle,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!


Why do I run into the problem Error: could not open `{failsafeArgLine}'?

It seems the problem originates from here...
            <build>                 <plugins>                     <plugin>                         <groupId>org.apache.maven.plugins</groupId>                         <artifactId>maven-invoker-plugin</artifactId>                         <configuration>                             <!--streamLogs>true</streamLogs-->                             <parallelThreads>4</parallelThreads>                             <mavenOpts>${failsafeArgLine}</mavenOpts>                             <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>                             <localRepositoryPath>target/local-repo</localRepositoryPath>                             <properties>                                 <odc.version>${project.version}</odc.version>                             </properties>                         </configuration>                         <executions>                             <execution>                                 <id>integration-test</id>                                 <goals>                                     <goal>install</goal>                                     <goal>run</goal>                                 </goals>                             </execution>                         </executions>                     </plugin>                 </plugins>             </build>

It's because you invoke the test execution for debuggin somehow in an incorrect way.
The way you run the testcase invocation does not configure the failSafeArgLine variable, resulting in it being used verbatim as the property-reference.
In a normal maven build this would be set by the JaCoCo plugin in a preparation phase before the integration tests:
https://github.com/jeremylong/DependencyCheck/blob/5c7b1b64ca4be2631a0e7a7639e9f1d4f3d8a4e6/pom.xml#L598-L609

Then, how to configure the failSafeArgLine variable?


Handle permanently dead Nomad jobs

Related to #587
In a recent deployment, we have observed that some (but not all) runners are lost when all Nomad agents restart.
Within this issue, we should identify the Nomad event that notifies Poseidon that a job is lost and will not be restarted nor rescheduled, and deal with it by trying to request a new runner. [Jobs] [Allocations].
This should be fixed together with #602

Let's consider multiple scenarios and analyse Nomad's events for these.
Startup and Environment Creation
nomadEventDump-Startup-No-Environment-Job.txt
The most basic case, is a Poseidon startup without an existing environment in Nomad.
We observe that we do not handle events on Poseidon startup. If runner jobs exist without a respective environment job, these runner jobs are ignored.
When creating an environment, we receive Nomad events corresponding to the template job and the runner jobs (in this case just one).
Learnings

Existing runner jobs without an environment job are not being recognised until a recovery after the environment got recreated.
The Job JobRegistered event is sent before the allocation/task is started completely.

nomadEventDump-Startup-Complete-Environment-Job.txt
Next we can observe a special state of environment jobs. In this state, the Nomad job is complete but still exists.
On startup recovery, the environment is being ignored with a special log message.
When creating the environment again, the environment job remains in that complete state. Just when deleting the environment, we can escape that state and create a running environment.
Questions

What is this state of a complete but yet existing Nomad Job?
Why do we only see environment jobs but not runner jobs in this state?

nomadEventDump-Create-Environment.txt
Here, we have an environment creation with five started runners.
Simultaneous Restart
nomadEventDump-RestartTogether-withoutAlert.txt
When restarting all Nomad agents with one environment and five runners running, we observe that the environment job goes into the previously described complete state, two runner jobs survive the restart, and three are completely removed.
Questions

Are we handling such lost runner jobs right?

Learnings

Job-Events do not reliably notify about stopped jobs (on failed migrations)
Allocation-Events do not clearly state that a runner has stopped completely. All we receive is one event stating that the allocation is about to stop.
Do not restart all agents at the same time

nomadEventDump-RestartTogether-PrewarmigPoolAlert.txt
This scenario shows that our Prewarming Pool Alert would fix cases with lost runners and recreate them.
Sequential Restart
nomadEventDump-RestartAfterEachOther-Success1-5.txt
nomadEventDump-RestartAfterEachOther-Success2-5.txt
We have two examples with one environment job and five runner jobs where all jobs are rescheduled correctly.
Learnings

We just receive Allocation-events for reschedulings, no Job-events.

nomadEventDump-RestartAfterEachOther-Success3-100.txt
With 100 runner jobs it also succeeds, but we receive the warning Failed to allocate directory watch: Too many open files in the ssh connection of Agent 3.
With 200 runners, we can create a severe failure behavior.
We receive the Failed to allocate directory watch: Too many open files error on all agents.
The rescheduling of the allocations in case of a restart leads to a for >25min ongoing denial of service attack. An agent starts and becomes ready, then it is flooded with allocations, and crashes again.
Questions

How severe is the Failed to allocate directory watch: Too many open files error?
In the syslogs we find many systemd nomad.service: Unit process 3620 (nomad) remains running after unit stopped. warnings.

How severe are they?
After stopping, when starting, two other warnings appear.

nomad.service: Found left-over process 3620 (nomad) in control group while starting unit. Ignoring.
nomad.service: This usually indicates unclean termination of a previous run, or service implementation deficiencies.

Why is the Nomad service started directly (after 6s) and does not wait for the graceful shutdown period?

We find many nomad errors: [ERROR] client: error restoring alloc: error="failed to decode alloc: key not found: alloc".
After 2min 46s kernel: containerd invoked oom-killer, Out of memory: Killed process 8758 (systemd), telegraf invoked oom-killer, Killed process 725 (telegraf)

Is that related to your issue docker/for-linux#1001

While the nomad systemd service is running, Nomad is not marked as ready and does not respond to cli requests any longer.

I sperated the many questions identified by this issue into their own issues.

Why do we only see environment jobs but not runner jobs in this state?

In later examples, we also recognised runner jobs in this state.


Session does not register new file creation

I am using the Instagram private API along with Node Canvas to create an image to post when a user submits something. Currently, I am creating the file from the canvas like so:
function createImage(text) {
  ctx.fillStyle = '#404040';
  ctx.fillRect(0, 0, 1080, 1080);
  ctx.font = '40px "SourceCodePro"';
  ctx.fillStyle = '#FFF';
  ctx.fillText(text, 100, 50);

  var buf = canvas.toBuffer();
  fs.writeFileSync("test.png", buf);

  //convert to jpeg becuase api only currently support jpeg
  let buffer = fs.readFileSync("./test.png");
  pngToJpeg()(buffer)
    .then(output => fs.writeFileSync("./test.jpeg", output));
  fs.unlinkSync('./test.png');
}

This code to create the image is being called just before I create a new session:
    ctx.clearRect(0, 0, canvas.width, canvas.height)
    //fs.unlinkSync('./test.jpeg');
    createImage(data);

    Client.Session.create(device, storage, process.env.USER, process.env.PASSWORD)
      .then(function(session) {
        Client.Upload.photo(session, './test.jpeg')
          .then(function(upload) {
            console.log("id: " + upload.params.uploadId);
		        return Client.Media.configurePhoto(session, upload.params.uploadId, data);
          })
          .then(function(medium) {
            console.log(medium.params);
          });
      });

However, when I try to upload the image with the session, it seems to only recognize the previous state of the image. If the image is being created in the directory for the first time, it tells me that file doesn't exist. If the image is being updated with new text, it uploads the previous version with the previous text.
It seems the session doesn't register the latest version of the directory. Is there a way for it to do that, or is this a bug with the API?

@TechBug2012  output error ??

@elmissouri16 The image is being created and saved correctly each time the code runs, but only its previous state is being recognized and uploaded by the session.

@TechBug2012  that's weird I'm working on something similar to yours I take screenshots of video and save it to a canvas and save  it then converted the same approach as yours and its work

(@elmissouri16)
Hmm, I just tried running it again but instead uploading it to a public account and this time it uploaded the correct version. It seems like this issue only applies to private accounts?

@elmissouri16 You're right... I uploaded again to the public account, and then again to the private account, and both times they uploaded the previous state. When it worked for the public account, I had just added its username to the storage, so it had no previous version to go off of. I think this is related to the cookie storage in some way. Is there a way to clear that before starting a new session?

i dont know much about thats but i think delete cookies file should fix thats not perfect solution but i think well work

Unfortunately, deleting cookies does not seem to work... If I delete the contents of my storage file, then restart my npm server, it will post the correct image. However, clearing the cookies file in the code via fs.truncate('./cookies/store.json', 0, function(){console.log('storage reset')}); does not work.
Does anyone know how/if it is possible to completely ignore the cookie storage when creating a session? That's the only thing that seems would work.

I fixed my issue. Looks like it wasn't a problem with the API, but in where I was running my code. I put that code in a socket.io function. I still don't know what the problem was exactly, or why deleting the cookies fixed it for a bit, but after I moved my code outside the socket.io function it worked properly.


⚠ Bofrost.fr has degraded performance

In 3a1767e, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1295 ms

Resolved: Bofrost.fr performance has improved in 2aa83a4 after 6 minutes.


[dvsim] --interactive argument on local tasks.

Related issue: https://github.com/lowRISC/opentitan/issues/16841

@sriyerg could you please give another look here?

LGTM, thanks.


allowDuplicates not working

http://jsfiddle.net/naytkqfv/1/
itemsArray seems to get wiped out all the time.

@KrunchMuffin I'm not sure what your fiddle is showing as being an issue so I created a basic fiddle with allowDuplicates on. Can you update it to or fork it and update the new fiddle to represent the error you're experiencing?
http://jsfiddle.net/lucknerjb/a0LvLj7x/3/

it probably mean to say allowDuplicates: false not working. it's been so long since I touched this.
I set it to false but it still allows me to add it.
http://jsfiddle.net/naytkqfv/2/

Ah ok, I see what you mean now. The problem comes from this line in your callback:
$tag.hide.fadeIn();

If you remove it, the option works as it should. What are you trying to accomplish exactly with that piece of code? Or is this no longer an issue?

Got it from the onTagExists option here
http://bootstrap-tagsinput.github.io/bootstrap-tagsinput/examples/

Hmmm... you're right. That's weird then. Well, at least we've narrowed down the issue... now to figure out why the heck that piece of code is causing this!

Haha, as if this escaped both of us. There is a missing "()" after the hide function call. I'll update the example.

omg, can't believe i missed that. thx.

Moving issue to release 0.7.1


integrate new alignment strategy for MAPQ score calculation

Align reads 3 ways
** To genome (splice unaware)
** To exon masked genome + transcriptome (splice aware 1)
** To genome + transcriptome (splice aware 2)
deduplicate "splice aware 2" BAM file
generated readid list from deduplicated "splice aware 2" BAM file
Subsample "splice unaware" BAM and "splice aware 1" BAM files using the readids from 3.
Input deduplicate "splice aware 2" BAM file and the 2 BAMs from 4. to my pysam script for MAPQ correction
BAM file generated from 5. if the file for visualization!

duplicate issue


Return if a image is drawn with a dest or src siize of 0 or less

I am finding drawing a image with a rectangle size of 0 or less on either axis is asserting

This is implemented in Master


Bug: Map translation list with Original_id does not get all data from server.

http://dev.crowd.rocks/US/en/1/maps/detail_view/3535?is_original=false

http://dev.crowd.rocks/US/en/1/maps/translation/24

only fetch those 6 translations

looks like the source of the problem is related to
https://github.com/etenlab/crowd.rocks/issues/444

Looks like fixed.


aws marketplace: installation instructions need to be updated

What problem are you facing?
AWS Marketplace folks let us know that the installation instructions are no longer relevant because the AWS docs they point to seem to be gone.
How could Upbound help solve your problem?
We should rewrite the instructions and test the flow end to end.

Closing as we are not focused on marketplace integration right now. Once marketplaces comes back into our strategic focus we will review and update.


Shortcut guide appears but does not disappear with the Right Win key

When holding down the Right Win key, the shortcut guide appears, however it does not disappear when the key is released. This requires pressing one of the win keys again.
The issue occurs because of this code.
    // Send a fake key-stroke to prevent the start menu from appearing.
    // We use 0xCF VK code, which is reserved. It still prevents the
    // start menu from appearing, but should not interfere with any
    // keyboard shortcuts.
    INPUT input[3] = { {}, {}, {} };
    input[0].type = INPUT_KEYBOARD;
    input[0].ki.wVk = 0xCF;
    input[1].type = INPUT_KEYBOARD;
    input[1].ki.wVk = 0xCF;
    input[1].ki.dwFlags = KEYEVENTF_KEYUP;
    input[2].type = INPUT_KEYBOARD;
    input[2].ki.wVk = VK_LWIN;
    input[2].ki.dwFlags = KEYEVENTF_KEYUP;
    SendInput(3, input, sizeof(INPUT));

Since VK_LWIN key up is sent, if the user invoked ShortcutGuide with RWin it will not get cleared. To fix this interaction, Shortcut Guide would have to have a class member which stores which windows key was used to invoke it (i.e. VK_LWIN or VK_RWIN), and we use that stored key in the above code.
Note: I'm guessing this wasn't observed by any user earlier since Right Windows key exists on very few keyboards. I found it by remapping a key to Right Windows and testing it's behavior.

closing in favor of #2641 which is in progress


Add support for Amazon S3 file storage

Application should provide optional support for using Amazon S3 as a file store.
This should gracefully fall-back if users do not want to deploy with amazon S3.

Unsure how to test this - should a dev close out? @briri @xsrust

Nothing on the UI to test unless @xsrust has S3 setup already for DMPonline test

Graceful fallback is working and I can test the S3 setup early next week.
As any issues would be with using the new functionality and not with the continued use of the local filesystem for these assets, it's relatively non-risky to include if we release before it gets tested.

Closing out based on @xsrust comment


No indication to identify the distribution using API Usage pie chart without clicking it

Description:
Pre-Condition - Few APIs should be available and invocation of APIs has to be done before.

Go to 'Statistics' in Publisher
Click 'API Usage Comparison'
A pie chart and a table should be displayed.

Sections in pie chart couldn't distinguish properly since there're no labels for APIs or percentage.

By @maneeshaheshan from https://wso2.org/jira/browse/APIMANAGER-5016

Analytics related pages are not available in the latest APIM versions.


#243 BroadcastBuffer does not need event type for auto commit enabled

Thanks for your pull request.  Please review the following guidelines.

[x] Title includes issue id.
[x] Description of the change added.
[x] Commits are squashed.
[x] Tests added.
[x] Documentation added/updated.
[x] Also please review CONTRIBUTING.md.

This introduces an API change that's why it goes to 0.9.0.. To use commit for at least once semantics, one should prefer PersistentBufferAtLeastOnce and BroadcastBufferAtLeastOnce, these two will output Event.  PersistentBuffer and BroadcastBuffer will keep the input type.

@anilgursel LGTM. Please squash and I'll merge.


Feedback 'From: Devang Thakkar Koller auction listing on ...'

Message from 4f69f1819a717c0002001b6f sent on 2016-06-18 02:26:52 UTC###

From: Devang Thakkar
Koller auction listing on artist page should say "bid now" as opposed to contact for price

Link to HockeyApp

https://rink.hockeyapp.net/manage/apps/37020/feedback/570472

Unpublished work. False alarm.


Allocate a TTY for running stages

allocate a TTY for running stages

Hi @iphutch  could you review it?


Add Custom Ground Model and d435i Realsense Camera

Hello, I want to integrate my own robot into the system. And I also have realsense2_camera. I also want to get my point cloud data accordingly. For this I updated the /input_pointcloud locations for my camera. I also gave my model in xacro format. But I couldn't get the output in RVIZ environment. Can you give information about these? Can I run d435i realsense_camera on the system? And do I need to do anything external for my model other than giving the path to my model file in the add model part of your project?

Hi @furkancetiny ,
I will answer your second question first: you can use a D435i in the planner. You will have to specify the correct range and field of view for the volumetric gain calculation here. You will need to disable the yaw smoothing by setting this parameter to false.
Regarding your question about the custom robot model:
In our demo, we use our own ground robot simulator, the smb_simulator.
The changes you need to make will depend on whether you want to replace the model of our robot with yours in our simulator (i.e. use our controllers etc.) or if you have a robot model with its own controller (either position or velocity).

If it is the latter, you simply need to add the gbplanner and pci_general node launching snippets (these) into your launch file and remap the input point cloud and odometry topics as well as the output trajector/action (see the wiki for more details on the topic and action names).
If you want to use your robot model in our simulator, essentially replacing our robot mesh and sensors with yours, you will need to do that in the spawn_smb.launch in the smb_simulator. However, this will require some modifications in the lower-level controller configurations etc.

Let me know which option you want to go with so that we can discuss that in detail.
Best,
Mihir

I have my own robot in real environment. There is also the xacro file of this robot. I want to get the data in RVIZ environment. I tried to do what you said in point 1. However, parameters related to my robot did not appear in the Global Options>fixed Frame section. When I start it, the "world" parameter appears. But it's not in the options. Due to this error, my robot does not appear in the RVIZ environment. Strangely, only camera-related parameters are available.
I updated the parameters as follows:
   <arg name="odometry_topic" default="base_controller/odom"/>
   <node name="pose_throttler" type="throttle" pkg="topic_tools" args="messages $(arg robot_name)/ground_truth/pose_with_covariance 10 /msf_core/pose" />
   <!-- Graph-based planning -->
   <node pkg="gbplanner" type="gbplanner_node" name="gbplanner_node" output="screen" launch-prefix="$(arg launch_prefix)">
     <remap from="odometry" to="$(arg odometry_topic)" />
     <remap from="pointcloud" to="camera2/depth/color/points" />
     <rosparam command="load" file="$(arg gbplanner_config_file)" />
     <rosparam command="load" file="$(arg map_config_file)" />
   </node>

   <!-- Planner and Control Interface -->
   <node pkg="pci_general" type="pci_general_ros_node" name="pci_general_ros_node" output="screen">
     <remap from="command/trajectory" to="$(arg robot_name)/command/trajectory" />
     <remap from="planner_server" to="gbplanner" />
     <remap from="planner_homing_server" to="gbplanner/homing" />
     <remap from="odometry" to="$(arg odometry_topic)"/>
     <rosparam command="load" file="$(arg pci_file)" />
   </node>

I previously thought that you wanted to use your robot model in simulation, but I guess you want to run the planner on a real robot correct? If you want to visualize the robot model in rviz, you will need to publish it on the robot_description topic similar to what is done here.

Sorry for the late reply. I am constantly trying to find a solution myself. Yes, I want to implement it on a robot. The outputs of this I want to get it from RVIZ environment to get it too. I placed my own model in the part you said. But it didn't. When I looked through the rqt graph, I could only see the camera data. Unfortunately, I can't see the right-left wheel base link, odom and other values. And why did the tf's come out scattered over the graph?. But my model is like this

Sorry for the late response, I was out of the office.
It seems that the robot model is disconnected from the rest of the tf tree. I see that the timestamps of the two images are different. Where is the first one from?

The first image is the resulting tf tree after uploading my model to the gbplanner_ros package. To upload my own model, I gave the path to my own model here. The second is the normal and correct output of my robot model.

Hi I also want to use gb planner on husky simulation so i have followed your step2. While visualizing through rqt i think its ok but how do i go about visualising it in rviz also when i tried to launch the gb ui launch file and initialize or start the planner I faced the following errors
Error for GBPlanner START
[ERROR] [1704135442.271976378,<PHONE_NUMBER>00]: Exception thrown while processing service call: bool pcl::PCA::initCompute() [with PointT = pcl::PointXYZI] in /usr/include/pcl-1.10/pcl/common/impl/pca.hpp @ 58 : [pcl::PCA::initCompute] number of points < 3
[ERROR] [1704135442.272263791,<PHONE_NUMBER>00]: Service call failed: service [/gbplanner] responded with an error: bool pcl::PCA::initCompute() [with PointT = pcl::PointXYZI] in /usr/include/pcl-1.10/pcl/common/impl/pca.hpp @ 58 : [pcl::PCA::initCompute] number of points < 3
[ERROR] [1704135442.272389785,<PHONE_NUMBER>00]: Planner service failed
 Error for GBPlanner Initialise

 [ERROR] [1704135545.687458591,<PHONE_NUMBER>00]: It was not possible to send path to action server.

Hello @Sukhvansh2004 ,
It seems that the error is due to the adaptive bounding box calculator not being able to find enough points to do PCA to build the bounding box.
First, check if the voxblox map is built properly. If it is built then you should be able to see it in rviz. If the map is not built check if you are passing the correct point cloud topic to the planner and there is a tf from the world frame to the sensor frame.
Second, if you are using a depth camera like the realsense d435i, I would recommend disabling the adaptive bounding box calculation by setting this parameter to kBasicExploration.
Regarding visualization of the robot, make sure that you have published your URDF/SDF as a robot description. You can check the spawn_smb.launch file for an example of how we do it.
Let me know if this works.
Best,
Mihir

Thanks for the early reply!
I did the changes that you have told. Do you also have the config file for d435i that you are talking about here?
IN REFERENCE TO YOUR COMMENT FROM ABOVE
I will answer your second question first: you can use a D435i in the planner. You will have to specify the correct range and field of view for the volumetric gain calculation here. You will need to disable the yaw smoothing by setting this parameter to false.

We have not created an example config file for D435i or any depth camera. But the only parameters that you will need to change to get it to work are the ones listed in that comment. So it should be pretty straightforward to create one.

Thank you for the clarifications. Can you please help with some more issues which we are facing. To solve our issues first of all we had set all our verbosities to DEBUG. Also we have changed our world frame to our odom frame in voxblox_sim_config file and world_frame_id to odom frame in planner_control_interface_sim_config. Now initially form your comment
"If it is the latter, you simply need to add the gbplanner and pci_general node launching snippets (these) into your launch file and remap the input point cloud and odometry topics as well as the output trajector/action (see the wiki for more details on the topic and action names)."
we have remapped the input point cloud and odometry topic to our robot one's but where do we have to map the output/trajector/action and from where, we could'nt understand that.
also we are getting the following error from params.cpp file
[ERROR][File: /home/sukhvansh/gbplanner2_ws/src/exploration/gbplanner_ros/planner_common/src/params.cpp] [Line: 444]
Param is not set: /gbplanner_node/FreeFrustumParams/sensor_list
we have also changed output type from kAction to kAuto cause we were getting this error
[ERROR] [1704406992.117032688, 1344.600000000]: It was not possible to send path to action server.
Finally we wanted to use our robot for autonomous navigation in unexplored terrain to a specific waypoint but many time we got messages that could not execute path or empty paths were going in. Also in Rviz some topics had the following warning/error
Uninitialized quaternion, assuming identity.
Points should not be empty for specified marker type.
This was showed as a warning for /vis/negative_edges topic.
also we had putting PlanningParams/geofence_checking_enable as false, as we though that geofencing was maybe causing issues in planning

I am also pasting our rqt graph for your reference. We would be grateful if you could help us
Best Regards

@MihirDharmadhikari It would greatful if you help us

Hello @Sukhvansh2004 ,
Sorry for the delay.

The functionality to plan to a waypoint is only to plan to a waypoint in explored space where the global graph (refer to the paper) is spanned. This graph is built during the exploration process. Hence, you first need to start the exploration and let the graph span, before you can use this function. The global graph can be visualized in rviz under the PlannerViz group.
There is no mode kAuto. It is either kAction or kTopic. When you use kTopic, the planner will publish the path to the topic command/trajectory. You path follower needs to subscribe to it. Similarly, if you use 'kAction the planner will act as an action client and your path follower will be the action server. The planner will send the path on pci_output_path.
Have you confirmed that the voxblox map is being built? The voxblox map should be visualized in rviz.

Let me know if this works.
Best,
Mihir

Yes the voxblox map was being built and sorry for the miscommunication regarding the kAction and kTopic thing. Actually we had set it to kTopic only (however a typo of kAuto happened). The voxblox config file is as follows

We had tried to explore the map also and after it had generated global graph it wasnt still giving us the velocities and acceleration needed to drive the robot in the command/trajectory topic. However, it was giving us some linear and angular transforms.

Hi @Sukhvansh2004 ,
Your files seem to be correct. You have attached the config file for the planner_control_interface instead of the voblox config file by mistake.
GBPlanner is a path planner and hence the output path only has timestamped positions. We use the MultiDofTrajectory message to keep a generic datastructure. The time stamps are calculated by assuming constant speed throughout the path. If you need velocities then you will have to calculate them from the position waypoints and timestamps. Sorry for the misunderstanding about this.
Best,
Mihir


Support MySQL Server

Describe the Request
3pseatBot uses SQLite3 currently but it would be nice to support MySQL so we could have the database running as a separate service.
This would open avenues for more advanced features like database backups, UIs for editing tables, better support for concurrent users.
We should still maybe support SQLite3 for testing, and this could probably be best achieved by using SQLAlchemy since it can interface with many DBs.
For now, #39 is a blocker for this issue.
Sample Code
No response
Additional Code or Information
No response

Closing because the feature is not really needed. The bot is pretty stable at the moment and unlikely to change internally too significantly.


Exclude address, mach, and signal from non-fatal error reports

Excludes the address, mach, and signal fields from the metadata of non-fatal error reports. These were always reported as EXC_CRASH and SIGABRT by default, which could be misleading.

Tested this a bit and moved the metadata down even further. The set values are correct in most cases but it should reduce confusion.


smcroute: 2.4.2 -> 2.4.3

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/smcroute/versions.
meta.description for smcroute is: '"Static multicast routing daemon"'.
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3/bin/smcroute had a zero exit code or showed the expected version
/nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3/bin/smcroutectl passed the binary check.
/nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3/bin/smcrouted passed the binary check.
2 of 3 passed binary check by having a zero exit code.
2 of 3 passed binary check by having the new version present in output.
found 2.4.3 with grep in /nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3
directory tree listing: https://gist.github.com/a20e450e5b484a51dba9f2fb51bcd158
du listing: https://gist.github.com/92f6ddc2c05ba5ecb48d71a42ba0976f

Outpath report (click to expand)

Outpath difference report
3 total rebuild paths
1 package rebuilds
1 x86_64-linux rebuilds
1 i686-linux rebuilds
0 x86_64-darwin rebuilds
1 aarch64-linux rebuilds
First ten rebuilds by attrpath
smcroute

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A smcroute https://github.com/r-ryantm/nixpkgs/archive/6421d002d1790424f8a082673c7213c3edafc574.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3
ls -la /nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3/bin

cc @fpletz for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: smcroute
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: smcroute
Partial log (click to expand)
shrinking /nix/store/vriaws1b7g16r0pw8lba7gnl8pgymghz-smcroute-2.4.3/sbin/smcroutectl
shrinking /nix/store/vriaws1b7g16r0pw8lba7gnl8pgymghz-smcroute-2.4.3/sbin/smcrouted
gzipping man pages under /nix/store/vriaws1b7g16r0pw8lba7gnl8pgymghz-smcroute-2.4.3/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/vriaws1b7g16r0pw8lba7gnl8pgymghz-smcroute-2.4.3/lib  /nix/store/vriaws1b7g16r0pw8lba7gnl8pgymghz-smcroute-2.4.3/sbin
patching script interpreter paths in /nix/store/vriaws1b7g16r0pw8lba7gnl8pgymghz-smcroute-2.4.3
/nix/store/vriaws1b7g16r0pw8lba7gnl8pgymghz-smcroute-2.4.3/sbin/smcroute: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/vriaws1b7g16r0pw8lba7gnl8pgymghz-smcroute-2.4.3...
moving /nix/store/vriaws1b7g16r0pw8lba7gnl8pgymghz-smcroute-2.4.3/sbin/* to /nix/store/vriaws1b7g16r0pw8lba7gnl8pgymghz-smcroute-2.4.3/bin
/nix/store/vriaws1b7g16r0pw8lba7gnl8pgymghz-smcroute-2.4.3

Success on x86_64-linux (full log)
Attempted: smcroute
Partial log (click to expand)
shrinking /nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3/sbin/smcroutectl
shrinking /nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3/sbin/smcrouted
gzipping man pages under /nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3/lib  /nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3/sbin
patching script interpreter paths in /nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3
/nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3/sbin/smcroute: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3...
moving /nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3/sbin/* to /nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3/bin
/nix/store/xh8w16i77zfzpz2fnd5kam72qgcf6mcw-smcroute-2.4.3