Port to Haiku.

Use posix_madvise instead of madvise; this is in the POSIX specification
and is supported by all systems that support madvise(), and Haiku does
not implement madvise() as it is not in the standard.
Support preloading on Haiku as well as macOS (in fact, the static TLS
model enabled by default does not work so well on Haiku.)
Haiku does not support hugepages, so add an alternative path in the case
that the mmap flag is not even defined.

All tests pass, btw.


Cross-platform policy authoring

Implements proposal from https://github.com/amyxzhang/policykit/issues/440#issuecomment-891940276
Changes to policy authoring API

Authors now have access to all available PlatformCommunity instances as in-scope variables slack/discord/discourse etc. They are still accessible via action.community and policy.community too, so this isn't a breaking change.
debug("..") is removed in favor of logger which can be used like a typical Python logger. This allows authors to log at different levels, and we can eventually add filtering on the log page for that. This is a breaking change for policies that use "debug".

closing and moving commit https://github.com/amyxzhang/policykit/pull/454/commits/60dbf5c2f0c13216ca12418ed5ca67bd764a6b19 to  https://github.com/amyxzhang/policykit/pull/449


Ifacialmocap alternative

Hi,
First of all super impressive work. Now come to the question. Would you mind suggesting to me if there are any alternatives to ifacialmocap in android or PC? I am thinking of using some kind of motion capture that might give the same value as the ios one and port values to your puppeteer.
All the best,
Thanisorn

I don't know an alternative for PC. In fact, I tried to solve this problem myself, and I failed. See #2.
For Android, you can try MeowFace. However, I have no idea how well it works, and you have to figure out how to hook it up to the software stack yourself.

Alright. Thank you for your answer. I will try to dig into android one and let's see if I can get something.
Cheers.

As an alternative, maybe you can use vtube studio, which can be found on Google store and steam


SpanReporter does not close cleanly

I am expecting that after calling the close method the sending thread will be terminated. This is not happening.   If the buffer is already empty the thread will be blocked on the call to Queue.get, and never evaluate self._stop.  The thread.join method does not terminate the thread after the timeout, it simply ignores it.
So the current close method causes the thread to exit after sending the next span (regardless of the number present in the buffer), since self._stop will now be True, regardless of the timeout on join. If there are many items in the buffer, only one will be sent. If there are no items in the buffer, the thread will persist until one is added to the buffer and sent.  The join thus has no effect, other than blocking the main thread for 10 seconds if the buffer is empty when close is called.

Won't fix this issue for now.


Error when installing from PIP

I have followed the installation instructions using PIP with some minimal changes:
# Small PIP downgrade to solve this bug: https://stackoverflow.com/a/26372051
conda create -n rxnmapper python=3.6 pip=20.2.1
conda activate rxnmapper
conda install -c rdkit rdkit=2<IP_ADDRESS>
pip install rxnmapper
# Specific version of Torch for my GPU
conda install pytorch torchvision cudatoolkit=10.1 -c pytorch

I then ran the sample code provided in the "Basic Usage" section in a file called test.py
from rxnmapper import RXNMapper
rxn_mapper = RXNMapper()
rxns = ['CC(C)S.CN(C)C=O.Fc1cccnc1F.O=C([O-])[O-].[K+].[K+]>>CC(C)Sc1ncccc1F', 'C1COCCO1.CC(C)(C)OC(=O)CONC(=O)NCc1cccc2ccccc12.Cl>>O=C(O)CONC(=O)NCc1cccc2ccccc12']
results = rxn_mapper.get_attention_guided_atom_maps(rxns)

But this yielded the following error:
Traceback (most recent call last):
  File "test.py", line 2, in <module>
    rxn_mapper = RXNMapper()
  File "/home/villalbamartin/.conda/envs/rxnmapper/lib/python3.6/site-packages/rxnmapper/core.py", line 65, in __init__
    self.model, self.tokenizer = self._load_model_and_tokenizer()
  File "/home/villalbamartin/.conda/envs/rxnmapper/lib/python3.6/site-packages/rxnmapper/core.py", line 92, in _load_model_and_tokenizer
    vocab_path, max_len=model.config.max_position_embeddings
  File "/home/villalbamartin/.conda/envs/rxnmapper/lib/python3.6/site-packages/rxnmapper/tokenization_smiles.py", line 45, in __init__
    self.max_len_single_sentence = self.max_len - 2
AttributeError: 'SmilesTokenizer' object has no attribute 'max_len'

I believe that this error is due to changes in the transformers library. pip freeze reveals that the installed version is 4.1.1,
but the property "max_len" was only present in Tokenizers until version 3.5.1 - here's a link to the deprecation notice. For backwards compatibility reasons, some traces of it remain in the current transformers library.
The reason why I emphasize "believe" is because the Github install succeeded, even though it freezes transformers to 4.0.0 which should exhibit the same issue but, in my case, doesn't. Perhaps a pre-trained model with the old property is being loaded in one situation and not in the other, but I haven't looked deep enough to be certain.

Thanks for bringing this up! It seems that we forgot to push the latest changes up to Pypi. Should work now!

Thanks for bringing this up! It seems that we forgot to push the latest changes up to Pypi. Should work now!

Thanks for bringing this up! It seems that we forgot to push the latest changes up to Pypi. Should work now!

No, it does not work yet

Can you check what version of RXNMapper was installed through pip? (pip freeze | grep rxnmapper)?

Can you check what version of RXNMapper was installed through pip? (pip freeze | grep rxnmapper)?
Pip install works when I switch to linux instead of windows10

Interesting. If you would make a new issue documenting the bugs you are experiencing in Windows 10 (we have not tested on that OS), we can discuss there


Do we have tutorial or coding tutorial on how to use VMZ?

If possible, do we have coding tutorial on how to use the video training in pytorch? I know the torch.vision.io does this, but there is no tutorial.

at the moment there are train_net and test_net tools for pytorch, but the reference to use them is baked in the documentation.
What do you envision as a tutorial? something like a jupyter notebook?
Cheers,
Bruno

Thank you for answering. Yes, I hope we can have something like a jupyter notebook.

Does any tutorial for using the PyTorch version now?

at the moment there are train_net and test_net tools for pytorch, but the reference to use them is baked in the documentation.
What do you envision as a tutorial? something like a jupyter notebook?
Cheers, Bruno

Does any tutorial for using the PyTorch version now?


Attribute reporting not working using esp_zb_zcl_update_reporting_info (TZ-858)

Answers checklist.

[X] I have read the documentation ESP Zigbee SDK Programming Guide and tried the debugging tips, the issue is not addressed there.
[X] I have updated ESP Zigbee libs (esp-zboss-lib and esp-zigbee-lib) to the latest version, with corresponding IDF version, and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
5.2.1
esp-zigbee-lib version.
1.2.3
esp-zboss-lib version.
1.2.3
Espressif SoC revision.
ESP32-H2
What is the expected behavior?
attributeReport send to the coordinator (zigbee2mqtt) when attribute is changed.
What is the actual behavior?
I am using code similar to HA_temperature_sensor with
/* Config the reporting info  */
    esp_zb_zcl_reporting_info_t reporting_info = {
        .direction = ESP_ZB_ZCL_CMD_DIRECTION_TO_SRV,
        .ep = endpoint_id,
        .cluster_id = cluster_id,
        .cluster_role = role,
        .attr_id = attr_id,
        .manuf_code = ESP_ZB_ZCL_ATTR_NON_MANUFACTURER_SPECIFIC,
    };

    reporting_info.dst.short_addr = 0;
    reporting_info.dst.endpoint = 1;
    reporting_info.dst.profile_id = ESP_ZB_AF_HA_PROFILE_ID;
    reporting_info.u.send_info.min_interval = 10; /*!< Actual minimum reporting interval */
    reporting_info.u.send_info.max_interval = 0; /*!< Actual maximum reporting interval */
    reporting_info.u.send_info.def_min_interval = 10; /*!< Default minimum reporting interval */
    reporting_info.u.send_info.def_max_interval = 0; /*!< Default maximum reporting interval */
    reporting_info.u.send_info.delta.s16 = 0; /*!< Actual reportable change */
    esp_zb_zcl_update_reporting_info(&reporting_info);

However, no report is received. Tried to debug with
esp_zb_zcl_reporting_info_t *info = esp_zb_zcl_find_reporting_info(attr_info);
    ESP_LOGD(TAG,"reporting Info: dir: %u, flags: %u, min_i: %u, max_i: %u, delta: %d, last: %d, addr: %u, ep: %u, profile: %u",
    info->direction, info->flags, info->u.send_info.min_interval, info->u.send_info.max_interval, info->u.send_info.delta.s16, info->u.send_info.reported_value.s16,
    info->dst.short_addr, info->dst.endpoint, info->dst.profile_id);

and got:
reporting Info: dir: 0, flags: 7, min_i: 10, max_i: 0, delta: 0, last: 2511, addr: 0, ep: 1, profile: 260
Using the coordinator to configure reporting with the same settings reporting is working and I get the same response.
Also tried esp_zb_zcl_start_attr_reporting() without success.
And what is the meaning of the flag value? I got multiple values while testing.
Steps to reproduce.

configure reporting as described
join network
set attribute to new value

More Information.
No response

@luar123 ，
I believe this issue is not a bug but rather a configuration issue. The reporting feature depends on cluster binding. Have you bound the cluster to the coordinator (zigbee2mqtt) on the end device side? You can refer to the example provided here. Alternationly, check if the coordinator (zigbee2mqtt) has sent a config_report_request to the end device.

Hi @luar123
According to ZCL spec :

<IP_ADDRESS>.6 Maximum Reporting Interval Field
...
If this value is set to 0x0000, and the minimum reporting interval field does not equal 0xffff there SHALL
be no periodic reporting, but change based reporting SHALL still be operational.

@luar123 you could try this, it worked for me.

On the router or endDevice static void esp_zb_task(void *pvParameters)

    esp_zb_temperature_meas_cluster_cfg_t temp_meas_cfg_server = {
        .measured_value = ESP_ZB_ZCL_TEMP_MEASUREMENT_VALUE_DEFAULT_VALUE,
        .min_value = ESP_ZB_ZCL_TEMP_MEASUREMENT_MIN_VALUE_DEFAULT_VALUE,
        .max_value = ESP_ZB_ZCL_TEMP_MEASUREMENT_MAX_VALUE_DEFAULT_VALUE,
    };
    esp_zb_attribute_list_t *esp_zb_temp_meas_server_cluster = esp_zb_temperature_meas_cluster_create(&temp_meas_cfg_server);
    esp_zb_cluster_list_t *esp_zb_cluster_list = esp_zb_zcl_cluster_list_create();
    esp_zb_cluster_list_add_temperature_meas_cluster(esp_zb_cluster_list, esp_zb_temp_meas_server_cluster, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE);

On the coordinator static void esp_zb_task(void *pvParameters)

    esp_zb_temperature_meas_cluster_cfg_t temp_meas_cfg_client = {
        .measured_value = ESP_ZB_ZCL_TEMP_MEASUREMENT_VALUE_DEFAULT_VALUE,
        .min_value = ESP_ZB_ZCL_TEMP_MEASUREMENT_MIN_VALUE_DEFAULT_VALUE,
        .max_value = ESP_ZB_ZCL_TEMP_MEASUREMENT_MAX_VALUE_DEFAULT_VALUE,
    };
    esp_zb_attribute_list_t *esp_zb_temp_meas_client_cluster = esp_zb_temperature_meas_cluster_create(&temp_meas_cfg_client);
    esp_zb_cluster_list_add_temperature_meas_cluster(esp_zb_cluster_list, esp_zb_temp_meas_client_cluster, ESP_ZB_ZCL_CLUSTER_CLIENT_ROLE);

finally in a custom task of a router or endDevice put

            temperature = (int16_t) tsens_value;
            esp_zb_lock_acquire(portMAX_DELAY);
            esp_zb_zcl_set_attribute_val(HA_ONOFF_SWITCH_ENDPOINT,
                ESP_ZB_ZCL_CLUSTER_ID_TEMP_MEASUREMENT,
                ESP_ZB_ZCL_CLUSTER_SERVER_ROLE,
                ESP_ZB_ZCL_ATTR_TEMP_MEASUREMENT_VALUE_ID,
                &temperature,
                1);
            esp_zb_lock_release();
            esp_zb_zcl_report_attr_cmd_t cmd_req = ESP_ZB_TEMP_ATTR_CMD_CONFIG();
            esp_zb_lock_acquire(portMAX_DELAY);
            esp_zb_zcl_report_attr_cmd_req(&cmd_req);
            esp_zb_lock_release();

where tsens is a temperature multiplied by 100 and ESP_ZB_TEMP_ATTR_CMD_CONFIG is
#define ESP_ZB_TEMP_ATTR_CMD_CONFIG()                                   \
    {                                                                   \
        .zcl_basic_cmd = {                                              \
            .dst_addr_u.addr_short = 0x0000,                            \
            .dst_endpoint = HA_ESP_LIGHT_ENDPOINT,                      \
            .src_endpoint = HA_ONOFF_SWITCH_ENDPOINT,                   \
        },                                                              \
        .address_mode = ESP_ZB_APS_ADDR_MODE_16_ENDP_PRESENT,           \
        .clusterID = ESP_ZB_ZCL_CLUSTER_ID_TEMP_MEASUREMENT,            \
        .attributeID = ESP_ZB_ZCL_ATTR_TEMP_MEASUREMENT_VALUE_ID,       \
        .cluster_role = ESP_ZB_ZCL_CLUSTER_SERVER_ROLE,                 \
    }

In this code HA_ESP_LIGHT_ENDPOINT and HA_ONOFF_SWITCH_ENDPOINT define are base on esp's examples and 0x0000 is the coordinator addr.
the esp_zb_zcl_reporting_info_t  from what I understood is supposed to be used with binding, without implementing binding it will not work. It allow you to modify reporting config of remote devices but you can manually report things by creating a task which report every seconds or ten seconds your data. Then you don't need to define esp_zb_zcl_reporting_info_t  but your reporting interval will be hardcoded

Thank you all for your input! I will try binding.
I have tried already esp_zb_zcl_report_attr_cmd_t, this is working great without binding, but it would be nice not to hardcode the interval.

I have related question,
Is it possible to define a custom structure attribute and report it ? I am sure it is doable for custom single attribute but I want to report a packet based on single value within it. So how to do it?

@kgkask
Please raise new issue and describe you issue clearly. It is not clear what is "custom structure attribute". If you meant to report an attribte of "Structure" type, the answer should be no, the ZCL spec doesn't support reporting attributes of "array", "structure", "set" and "bag" type.

You answered my question, Thanks that's what I was looking for.


Add markdown toolbar

Maybe it should be moved here?

@robsonsobral that makes sense now that the old editor has been replaced by Ink. I'll move it and close this one. I'm hoping to get started on this soon too!


Ping-pong test is not idempotent

It should be possible to re-run the ping-pong test without incident and yet it causes a duplicate keys error.  Currently, this means that a re-deployment is required to re-run the test.

Blocked until PR #426 is merged


Fixed file provider to ignore unreadable and special files

After fixing #547 I found out that there are some other cases which will cause copy to fail: unreadable files and special files (e.g. pipes).
The proposed changes should fix this issue and additionally I added an exception if the chosen directory is empty.

Thanks!


[WIP] Use TreeBuilder for Reports

To do:

Finish debugging Features implementation

moving to a separate PR

More specs

vmdb/app/presenters/tree_builder_report_widgets.rb needs to be moved to  app/presenters/tree_builder_report_widgets.rb`

@dclarizio, @h-kataria please review.

@bmclaughlin few issues i have found so far during my initial testing:

i don't see groups nodes under All Groups in Dashboards accordion:

I see "null" in the node text on Import/Export" accordion

When i select a Saved Report folder in the tree on Saved Reports accordion then try to select a report on the right, nothing seems to be happening:

@bmclaughlin i am thinking similar tests can be added for Reports tree builders: https://github.com/ManageIQ/manageiq/blob/master/spec/presenters/tree_builder_ae_customization_spec.rb

@h-kataria, Items 1 and 3 that you experienced are fixed, item 2 is nearly fixed.
@martinpovolny, @himdel, I pulled back on the amount of work removing the references to @sb to limit it to TreeBuilder Reports implementation.  At the moment all references are consolidated to the initialization of one TreeBuilder class and I'm working on removing them completely.

@h-kataria a few issues:

some spinners still not showing up in report editor, such as choosing a new table to base the report on or changing chart types and other drop down selections
clicking on a saved report on the right doesn't choose that node in the tree on the left (might have to add the nodes if they are not there yet) . . . not sure if this is a regression or not

@h-kataria a few more:

schedule summary doesn't show up when clicking on a report schedule in the tree or list
schedule editor should disable accordions like report editor does
drag/drop to rearrange dashboard widgets doesn't light up Save button
on All Widgets tree node, clicking on a widget in the right cell does nothing, doesn't relocate in the tree or bring up that widget.  Correction, this is only if the widget isn't yet in the tree.  Either we have to preload the tree (without expanding the folders) or autoload it.

@dclarizio above mentioned all the issues are pre-existing issues on master, i will try to address some of them in this PR and some in a follow up PR

@dclarizio please re-review/test. I have addressed most of the reported issues, i could not recreate:
"schedule summary doesn't show up when clicking on a report schedule in the tree or list"
and "schedule editor should disable accordions like report editor does" is caused by the same issue that @lpichler is working on https://github.com/ManageIQ/manageiq/pull/4769


Content-type header not being set

According to the Campfire API documentation (http://developer.37signals.com/campfire/), it's expected for clients to set the Content-type header explicitly when sending JSON or XML requests. [I know, it's redundant, the content type should be inferred from the dot-extension of the request.] Occasionally a request that's properly authenticated, but rejected by Campfire for other reasons (possibly the account being disabled), a 302 redirect is returned with an HTML formatted message. This causes a lexical parsing error in YAJL. Following is a stack trace:
MultiJson::DecodeError: lexical error: invalid char in json text. You are being <a hr (right here) ------^
…8/gems/multi_json-1.0.3/lib/multi_json/engines/yajl.rb:  10:in parse'      …8/gems/multi_json-1.0.3/lib/multi_json/engines/yajl.rb:  10:in decode'
…undle/ruby/1.8/gems/multi_json-1.0.3/lib/multi_json.rb:  65:in decode'     …ay_middleware-0.6.5/lib/faraday/response/parse_json.rb:  16:in parse'
…le/ruby/1.8/gems/faraday-0.6.1/lib/faraday/response.rb:  17:in on_complete'     …le/ruby/1.8/gems/faraday-0.6.1/lib/faraday/response.rb:   9:in call'
…le/ruby/1.8/gems/faraday-0.6.1/lib/faraday/response.rb:  62:in on_complete'     …le/ruby/1.8/gems/faraday-0.6.1/lib/faraday/response.rb:   8:in call'
…le/ruby/1.8/gems/faraday-0.6.1/lib/faraday/response.rb:   8:in call'     …uby/1.8/gems/faraday-0.6.1/lib/faraday/request/json.rb:  28:in call'
…dle/ruby/1.8/gems/faraday-0.6.1/lib/faraday/request.rb:  88:in run'     …dle/ruby/1.8/gems/faraday-0.6.1/lib/faraday/request.rb:  28:in run'
…/ruby/1.8/gems/faraday-0.6.1/lib/faraday/connection.rb: 170:in run_request'     …/ruby/1.8/gems/faraday-0.6.1/lib/faraday/connection.rb:  64:in get'
…le/ruby/1.8/gems/tinder-1.7.0/lib/tinder/connection.rb:  82:in get'     …ndle/ruby/1.8/gems/tinder-1.7.0/lib/tinder/campfire.rb:  34:in rooms'
…ndle/ruby/1.8/gems/tinder-1.7.0/lib/tinder/campfire.rb:  41:in `find_room_by_id'

I heard back from 37signals, and it turns out they were always responding with HTML on authentication failures. This has been reported to be fixed, so this may not be as important now.
See this pull request: https://github.com/collectiveidea/tinder/pull/30


https://killr.io suggestions

1.) Expiration timer (possible to choose the expiration time ourselves. which also includes a "Burn after reading" option) [The link will expire and get removed from the list and from the entire server] - If there are no links or anything,then forget that and rather try make an expiration timer option with an "Burn after reading" option included
2.) Possible to use markdowns and colouring the whole text or just words
3.) Remove the numbers that comes up automatically on the left side each time you make a new line (can be done manually too)
4.) Links posted in https://killr.io/ after paste has been saved is clickable
5.) Possible to edit the link instead of just automatically create what comes after https://killr.io/
6.) Possible to upload photos (or just hover over a photo link with your mouse to make a photo pop up)

1,2,3,4 i like,
maybe 3 could be a little toggle on the top bar or something where the numbers start on the left?
5 I dunno what you mean?
6 I don't wanna allow photo uploads because some people are terrible with semi private file uploads :( but photo popup might work.
Can u program in php? Would you be interested in doing any of these?

unfortunately I'm very strained for time lately so I doubt I'll be able to implement these in any sort of timely manner :/

About number 5.. what I meant by that,was.. When you normally make a paste and save it,it pops up a link with something at the end of https://killr.io/  like for example this: https://killr.io/ivnt5 and u can edit the ivnt5 to whatever you want.
and I dont know any programming/coding at all,sorry. and about the time,there is no rush about these suggestions :) ,so dont worry about that

cool thanks & ah ok i understand. ill leave this open maybe somebody will come across and implement a bit quicker :) well, suppose i have to get repo up huh hehe. how did you find this btw? id like an option to show on the numbers bar or maybe a sidepane the difference between the lines like https://github.com/whackashoe/tor-hidden-service-setup/commit/61e6b97d7d4e2355a09eac7bada6100692c72099 or something.

I just asked around for an anonymous online notepad etc and someone told me about https://ghostbin.com and I looked for alternatives for it and I looked through the list and found that site. and about implement it.. you could always put it on twitter (if you got one for this site or make a twitter if you dont have one for this site) and then advertise it

Aha neat. Yea just made this to scratch an itch over the weekend a while back, I ought to finish it up since its 80% there heh. Certainly, yea that'd increase traffic- do wanna finish it or get at least the side numbers bug fixed before since that's embarrassing heh.

I'll leave this open as reminder- have a good one n thanks for report n suggestions!


Remove placeholder download links on single page

What
Remove the placeholder Download links for each metric on the single page performance page.
Why
Deprioritising for private beta, as we are no longer sure this feature
is appropriate.
Screenshots
Before

After

Review Checklist

[ ] Changes in scope.
[ ] Added to trello card.

 (1) Page data - Remove placeholder download links


Create Installer for Windows

For Windows, a minimal Installer should be created which places a Shortcut on the Desktop folder. After a typical, user friendly setup process, everything should ready to roll.
The installer itself should not be very smart, just make sure logorrr.exe will be placed in Windows ProgramFiles folder, versioned. The application itself should initialize itself from there. This approach should be taken as to place all logic in the Scala codebase, which lowers the barrier for contributors (meaning no powershell scripts or installer specific scripts).

implemented basic installer for windows ... 🙂


Prevent the random template filter from caching its output. Fixes #5678.

The random template filter caches its result. Don't do that.
Related issue (if applicable): fixes #5678
Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Hi @antsar,
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!

Ok, added a test. It patches random.choice() to return known values and asserts that we get those values. It fails without the change and passes with the change.


Feature/insert af reference guide

The axon framework documentation was rewritten from .md to .adoc and will be part of the framework repo from now on.

I went through it quickly. While I see a lot of things we could improve on eventually, like using code from the repository instead of directly in the docs, this is something we can do later. I also left one suggestion, as this was outdated information based on how jobrunr supports both Spring Boot 2 and 3.

This is actually one of the reasons why we moved to Asciidoc: to be able to link directly to existing code and, thus, keep aligned and updated the code in the docs with the latest updates...

I went through it quickly. While I see a lot of things we could improve on eventually, like using code from the repository instead of directly in the docs, this is something we can do later. I also left one suggestion, as this was outdated information based on how jobrunr supports both Spring Boot 2 and 3.

This is actually one of the reasons why we moved to Asciidoc: to be able to link directly to existing code and, thus, keep aligned and updated the code in the docs with the latest updates...

I know, but it does require the code samples used in the docs to be really used. Which is possible, but maybe we want the code samples repo included in this repo? I'm not sure what works best, for some of the example code we could have specific tests for example. It will be a lot of effort to have all the code samples moved to 'real' code.

Reviewed and fixed the docs structure following antora build process:

splitted the structure of the docs into modules in antora:
Fixed the structure to allow the docs build process to compile and build the docs for the AF reference Guide.
Moved the images used to their corresponding docs modules, in the /images/ folder
Updated the images links to make them appear.
Fixed the contents and articles that were breaking the proselint validation rules
Review and fix all the broken links
Delete _assets folder with unused images.

With these changes the Old Axon Framework reference guide can be built and will be added to axonIQ Library.
Still, @pckuyer, the following list shows a list of still broken links or situations that require some kind of decision:

Page (docs/old-reference-guide/modules) | Broken Link/Xref | Line | Link type | Problem |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
ROOT/pages/introduction.adoc | ../architecture-overview/.adoc#ddd-and-cqrs |   | xref | Unexisting content (previously deleted in Library, only link is in old docs) |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
ROOT/pages/introduction.adoc | ../architecture-overview/event-sourcing.adoc |   | xref | Unexisting content (previously deleted in Library, only link is in old docs) |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
events/pages/event-bus-and-event-store.adoc | ../../axon-server-introduction.md | 23 | relative link | Link is specified as a relative URL. The link points to an external piece of doc in Axon Server. In the original docs, the link is pointing to an intorductory article in the introduction describing Axon Server. (https://docs.axoniq.io/reference-guide/axon-server-introduction)  Should we migrate that introductory article to the library? Should we update the link to point to the Axon Server Refeence Guide? Or should we point this link to the Axon Server product page in axoniq.io? |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
events/pages/event-bus-and-event-store.adoc | ../../architecture-overview/ddd-cqrs-concepts.md#bounded-context | 559 | relative link | Unexisting content in Library. Only content is in "Architecture Overview from the old docs". Not migrated content. This could be part of the "former " Explanations category... or need to be migrated to "concepts Explained (101)" in https://library.axoniq.io/home/basics.html |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
events/pages/event-bus-and-event-store.adoc | ../../axon-server-introduction.md | 564 | relative link | Link is specified as a relative URL. The link points to an external piece of doc in Axon Server. In the original docs, the link is pointing to an intorductory article in the introduction describing Axon Server. (https://docs.axoniq.io/reference-guide/axon-server-introduction)  Should we migrate that introductory article to the library? Should we update the link to point to the Axon Server Refeence Guide? Or should we point this link to the Axon Server product page in axoniq.io? |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
  | link:../../extensions[extension modules] | 577 | relative link | Link to an external doc component is sepcified as relative URL. It's referring to the "Extensions" part of the documentation in the old docs.axoniq.io. The target content does not exist (not even in the old docs, where the link is also broken). Should we keep it? Should we replace by another link. |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
  | link:../../extensions/spring-amqp.md[Spring AMQP] | 577 | relative link | Link to an external doc component is sepcified as relative URL. It's referring to the "Extensions" part of the documentation in the old docs.axoniq.io. The target content only exists in the old docs it has not been migrated. SHould we keep the link to the old docs? Should we migrate this content to the library? |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
  | link:../../extensions/kafka.md[Kafka] | 577 | relative link | Link to an external doc component is sepcified as relative URL. It's referring to the "Extensions" part of the documentation in the old docs.axoniq.io. The target content only exists in the old docs it has not been migrated. SHould we keep the link to the old docs? Should we migrate this content to the library? |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
  | link:../../architecture-overview/event-sourcing.md[Event Sourcing] | 47 | link | Unexisting content (previously deleted in Library, only link is in old docs) |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
  | link:../../../extensions/mongo.md[Mongo Extension] | 334 | relative link | Link to an external doc component is sepcified as relative URL. It's referring to the "Extensions" part of the documentation in the old docs.axoniq.io. The target content only exists in the old docs it has not been migrated. SHould we keep the link to the old docs? Should we migrate this content to the library? |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
  | link:../../../extensions/spring-amqp.md[AMQP Extension] | 10 | relative link | Link to an external doc component is sepcified as relative URL. It's referring to the "Extensions" part of the documentation in the old docs.axoniq.io. The target content only exists in the old docs it has not been migrated. SHould we keep the link to the old docs? Should we migrate this content to the library? |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
  | link:../../../extensions/spring-amqp.md[AMQP] | 33 | relative link | Link to an external doc component is sepcified as relative URL. It's referring to the "Extensions" part of the documentation in the old docs.axoniq.io. The target content only exists in the old docs it has not been migrated. SHould we keep the link to the old docs? Should we migrate this content to the library? |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
  | link:../../../extensions/kafka.md[Kafka] | 33 | relative link | Link to an external doc component is sepcified as relative URL. It's referring to the "Extensions" part of the documentation in the old docs.axoniq.io. The target content only exists in the old docs it has not been migrated. SHould we keep the link to the old docs? Should we migrate this content to the library? |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
axon-framework-commands/pages/infrastructure.adoc | ../../architecture-overview/README.adoc#explicit-messaging | 464 | relative xref | Unexisting content in Library. Only content is in "Architecture Overview from the old docs". Not migrated content. |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
  | link:../../axon-server-introduction.adoc[AxonServer] | 556 | relative link | Link is specified as a relative URL. The link points to an external piece of doc in Axon Server. In the original docs, the link is pointing to an intorductory article in the introduction describing Axon Server. (https://docs.axoniq.io/reference-guide/axon-server-introduction)  Should we migrate that introductory article to the library? Should we update the link to point to the Axon Server Refeence Guide? Or should we point this link to the Axon Server product page in axoniq.io? |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
axon-framework-commands/pages/infrastructure.adoc | xref:../../extensions/spring-cloud.adoc[SpringCloud] | 699 | relative xref | Link to an external doc component is sepcified as relative URL. It's referring to the "Extensions" part of the documentation in the old docs.axoniq.io. The target content does not exist (not even in the old docs, where the link is also broken). Should we keep it? Should we replace by another link. |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
axon-framework-commands/pages/infrastructure.adoc | xref:../../extensions/jgroups.adoc[JGroups] | 700 | relative xref | Link to an external doc component is sepcified as relative URL. It's referring to the "Extensions" part of the documentation in the old docs.axoniq.io. The target content only exists in the old docs it has not been migrated. SHould we keep the link to the old docs? Should we migrate this content to the library? |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
axon-framework-commands/pages/modeling/aggregate.adoc | link:../../../architecture-overview/ddd-cqrs-concepts.md#aggregates[Aggregate]' | 3 | relative link | Unexisting content in Library. Only content is in "Architecture Overview from the old docs". Not migrated content. This could be part of the "former " Explanations category... or need to be migrated to "concepts Explained (101)" in https://library.axoniq.io/home/basics.html |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
  | link:../../../architecture-overview/ddd-cqrs-concepts.md[DDD and CQRS concepts | 4 | relative link | Unexisting content in Library. Only content is in "Architecture Overview from the old docs". Not migrated content. This could be part of the "former " Explanations category... or need to be migrated to "concepts Explained (101)" in https://library.axoniq.io/home/basics.html |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
  | link:../../../architecture-overview/event-sourcing.md[here] | 11 | relative link | Unexisting content in Library. Only content is in "Architecture Overview from the old docs". Not migrated content. This could be part of the "former " Explanations category... or need to be migrated to "concepts Explained (101)" in https://library.axoniq.io/home/basics.html |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
messaging-concepts/pages/supported-parameters-annotated-handlers.adoc | link:../../appendices/message-handler-tuning/parameter-resolvers.adoc[this] | 14 | relative link | Link to an external doc component is sepcified as relative URL. It's referring to the "Appendices" part of the documentation in the old docs.axoniq.io. The target content only exists in the old docs it has not been migrated. SHould we keep the link to the old docs? Should we migrate this content to the library? |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
monitoring/pages/tracing.adoc | link:../../extensions/tracing.md[OpenTracing extension] | 10 | Link to an external doc component is sepcified as relative URL. It's referring to the "Extensions" part of the documentation in the old docs.axoniq.io. The target content only exists in the old docs it has not been migrated. SHould we keep the link to the old docs? Should we migrate this content to the library? |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
  | link:../../extensions/tracing.md[by an extension with limited functionality] | 30 | Link to an external doc component is sepcified as relative URL. It's referring to the "Extensions" part of the documentation in the old docs.axoniq.io. The target content only exists in the old docs it has not been migrated. SHould we keep the link to the old docs? Should we migrate this content to the library? |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
  | link:../../extensions/tracing.md[the OpenTracing extension of Axon Framework] | 341 | Link to an external doc component is sepcified as relative URL. It's referring to the "Extensions" part of the documentation in the old docs.axoniq.io. The target content only exists in the old docs it has not been migrated. SHould we keep the link to the old docs? Should we migrate this content to the library? |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
Finally, there are some other things that, although they are not blockers for the docs to go live, they should be taken into account as improvement:

In general, all links to external sites (or to pages that are outside of the axoniq docs/library), the links should be configured to open in an external tab/window instead of opening in the same navigator page. For example, in the docs article about monitoring, the link to OpenTelemetry should open in another tab. (this described behavior is how it was working in the docs.axoniq.io)...
When using internal references/links to another section in the same page of the docs, it is preferred to use an xref:section-id[text] format than the <<section-id,text>> format, as the first one usually works better with the browser navigation.
The contents were presented in the old docs.axoniq.io with tabs (specifically, all those code snippets that show different alternatives between Java, Spring, and Spring Boot Autoconfiguration). The contents of these tabs have been expanded to multiple sections (making the docs a little bit longer). It could be improved by getting those "tabs" back in antora through the https://github.com/asciidoctor/asciidoctor-tabs antora extension.
When using backticks or other characters in section titles, it is better to add a fixed anchor id the line before (and use that anchor-id in any external link) in order to make the links more stable. For example in === The `CommandBus\  we could fix the anchor-id with [[the-command-bus]]]\n==== The `CommandBus`  and then, use the-command-bus in external links. (this is done in some cases but not in others)
The code samples/snippets could be improved by pointing to actual code from the repository (as mentioned before by @gklijs )

I'm going to approve the PR with these changes I've made and wait for @pckuyer's decision on what to do regarding the links that are still broken and point to unmigrated content or old content outside of the Axon Framework Reference guide.
@pckuyer, you can to merge this PR if you want this content as they are to go live (with the previous considerations in mind)


[Snyk] Upgrade express from 4.16.4 to 4.21.1

Snyk has created this PR to upgrade express from 4.16.4 to 4.21.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 14 versions ahead of your current version.

The recommended version was released on a month ago.

Issues fixed by the recommended upgrade:

Issue
Score
Exploit Maturity

Asymmetric Resource Consumption (Amplification)SNYK-JS-BODYPARSER-7926860
624
No Known Exploit

Prototype PoisoningSNYK-JS-QS-3153490
624
Proof of Concept

Open RedirectSNYK-JS-EXPRESS-6474509
624
No Known Exploit

Cross-site ScriptingSNYK-JS-EXPRESS-7926867
624
No Known Exploit

Regular Expression Denial of Service (ReDoS)SNYK-JS-PATHTOREGEXP-7925106
624
Proof of Concept

Cross-site ScriptingSNYK-JS-SEND-7926862
624
No Known Exploit

Cross-site ScriptingSNYK-JS-SERVESTATIC-7926865
624
No Known Exploit

Release notes

Package name: express

4.21.1 - 2024-10-08What's Changed

Backport a fix for CVE-2024-47764 to the 4.x branch by @ joshbuker in #6029
Release: 4.21.1 by @ UlisesGascon in #6031

Full Changelog: 4.21.0...4.21.1

4.21.0 - 2024-09-11What's Changed

Deprecate "back" magic string in redirects by @ blakeembrey in #5935
<EMAIL_ADDRESS>by @ wesleytodd in #5954
fix(deps<EMAIL_ADDRESS>by @ wesleytodd in #5951
Upgraded dependency qs to 6.13.0 to match qs in body-parser by @ agadzinski93 in #5946

New Contributors

@ agadzinski93 made their first contribution in #5946

Full Changelog: 4.20.0...4.21.0

4.20.0 - 2024-09-10What's Changed
Important

IMPORTANT: The default depth level for parsing URL-encoded data is now 32 (previously was Infinity)
Remove link renderization in html while using res.redirect

Other Changes

4.19.2 Staging by @ wesleytodd in #5561
remove duplicate location test for data uri by @ wesleytodd in #5562
feat: document beta releases expectations by @ marco-ippolito in #5565
Cut down on duplicated CI runs by @ jonchurch in #5564
Add a Threat Model by @ UlisesGascon in #5526
Assign captain of encodeurl by @ blakeembrey in #5579
Nominate jonchurch as repo captain for http-errors, expressjs.com, morgan, cors, body-parser by @ jonchurch in #5587
docs: update Security.md by @ inigomarquinez in #5590
docs: update triage nomination policy by @ UlisesGascon in #5600
Add CodeQL (SAST) by @ UlisesGascon in #5433
docs: add UlisesGascon as triage initiative captain by @ UlisesGascon in #5605
deps<EMAIL_ADDRESS>by @ blakeembrey in #5569
skip QUERY method test by @ jonchurch in #5628
ignore ETAG query test on 21 and 22, reuse skip util by @ jonchurch in #5639
add support Node.js@22 in the CI by @ mertcanaltin in #5627
doc: add table of contents, tc/triager lists to readme by @ mertcanaltin in #5619
List and sort all projects, add captains by @ blakeembrey in #5653
docs: add @ UlisesGascon as captain for cookie-parser by @ UlisesGascon in #5666
✨ bring back query tests for node 21 by @ ctcpip in #5690
[v4] Deprecate res.clearCookie accepting options.maxAge and options.expires by @ jonchurch in #5672
skip QUERY tests for Node 21 only, still not supported by @ jonchurch in #5695
📝 update people, add ctcpip to TC by @ ctcpip in #5683
remove minor version pinning from ci by @ jonchurch in #5722
Fix link variable use in attribution section of CODE OF CONDUCT by @ IamLizu in #5762
Replace Appveyor windows testing with GHA by @ jonchurch in #5599
Add OSSF Scorecard badge by @ UlisesGascon in #5436
update scorecard link by @ bjohansebas in #5814
Nominate @ IamLizu to the triage team by @ UlisesGascon in #5836
deps<EMAIL_ADDRESS>by @ blakeembrey in #5603
docs: specify new instructions for question and discuss by @ IamLizu in #5835
4.x: Upgrade merge-descriptors dependency by @ RobinTail in #5781
<EMAIL_ADDRESS>by @ blakeembrey in #5902

New Contributors

@ marco-ippolito made their first contribution in #5565
@ inigomarquinez made their first contribution in #5590
@ mertcanaltin made their first contribution in #5627
@ ctcpip made their first contribution in #5690
@ bjohansebas made their first contribution in #5814

Full Changelog: 4.19.1...4.20.0

4.19.2 - 2024-03-25What's Changed

Improved fix for open redirect allow list bypass

Full Changelog: 4.19.1...4.19.2

4.19.1 - 2024-03-20What's Changed

Fix ci after location patch by @ wesleytodd in #5552
fixed un-edited version in history.md for 4.19.0 by @ wesleytodd in #5556

Full Changelog: 4.19.0...4.19.1

4.19.0 - 2024-03-20What's Changed

fix typo in release date by @ UlisesGascon in #5527
docs: nominating @ wesleytodd to be project captian by @ wesleytodd in #5511
docs: loosen TC activity rules by @ wesleytodd in #5510
Add note on how to update docs for new release by @ crandmck in #5541
Prevent open redirect allow list bypass due to encodeurl
Release 4.19.0 by @ wesleytodd in #5551

New Contributors

@ crandmck made their first contribution in #5541

Full Changelog: 4.18.3...4.19.0

4.18.3 - 2024-02-29

4.18.2 - 2022-10-08

4.18.1 - 2022-04-29

4.18.0 - 2022-04-25

4.17.3 - 2022-02-17

4.17.2 - 2021-12-17

4.17.1 - 2019-05-26

4.17.0 - 2019-05-17

4.16.4 - 2018-10-11

    from express GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.
Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Automated PR Comment From Polaris SCA

❌ Found dependencies violating policy!

Dependency
Policies Violated
License(s)
Vulnerabilities
Short Term Recommended Upgrade
Long Term Recommended Upgrade
Resolved / Filtered Out

Selenium 2.53.3
Cross-site ScriptingThird-party component usageNULL Pointer Dereference
Apache License 2.0
❌   CVE-2020-23452 High CVSS 8.7❌   BDSA-2021-4248 High CVSS 9.8❌   CVE-2023-5590 High CVSS 8.1

4.25.0 (0 known vulnerabilities)
:grey_exclamation:

Underscore.js 1.9.1
Improper Control of Generation of Code ('Code Injection')
MIT License
❌   CVE-2021-23358 High CVSS 8.1
1.13.7 (0 known vulnerabilities)
1.13.7 (0 known vulnerabilities)
:grey_exclamation:

Async 2.6.1
Modification of Assumed-Immutable Data (MAID)
MIT License
❌   CVE-2021-43138 High CVSS 9.8
2.6.4 (0 known vulnerabilities)
3.2.6 (0 known vulnerabilities)
:grey_exclamation:


https://localhost:8088/api/v1/dashboard/ not working

I am trying to hit the superset dashboard API using postman.
GET URL:-https://localhost:8088/api/v1/dashboard/?q=(order_column:changed_on_delta_humanized,order_direction:desc,page:0,page_size:25)
Response:-
{
    "count": 0,
    "description_columns": {},
    "ids": [],
    "label_columns": {
        "certification_details": "Certification Details",
        "certified_by": "Certified By",
        "changed_by.first_name": "Changed By First Name",
        "changed_by.id": "Changed By Id",
        "changed_by.last_name": "Changed By Last Name",
        "changed_by.username": "Changed By Username",
        "changed_by_name": "Changed By Name",
        "changed_by_url": "Changed By Url",
        "changed_on_delta_humanized": "Changed On Delta Humanized",
        "changed_on_utc": "Changed On Utc",
        "created_by.first_name": "Created By First Name",
        "created_by.id": "Created By Id",
        "created_by.last_name": "Created By Last Name",
        "created_on_delta_humanized": "Created On Delta Humanized",
        "css": "Css",
        "dashboard_title": "Dashboard Title",
        "id": "Id",
        "is_managed_externally": "Is Managed Externally",
        "json_metadata": "Json Metadata",
        "owners.email": "Owners Email",
        "owners.first_name": "Owners First Name",
        "owners.id": "Owners Id",
        "owners.last_name": "Owners Last Name",
        "owners.username": "Owners Username",
        "position_json": "Position Json",
        "published": "Published",
        "roles.id": "Roles Id",
        "roles.name": "Roles Name",
        "slug": "Slug",
        "status": "Status",
        "thumbnail_url": "Thumbnail Url",
        "url": "Url"
    },
    "list_columns": [
        "id",
        "published",
        "status",
        "slug",
        "url",
        "css",
        "position_json",
        "json_metadata",
        "thumbnail_url",
        "certified_by",
        "certification_details",
        "changed_by.first_name",
        "changed_by.last_name",
        "changed_by.username",
        "changed_by.id",
        "changed_by_name",
        "changed_by_url",
        "changed_on_utc",
        "changed_on_delta_humanized",
        "created_on_delta_humanized",
        "created_by.first_name",
        "created_by.id",
        "created_by.last_name",
        "dashboard_title",
        "owners.id",
        "owners.username",
        "owners.first_name",
        "owners.last_name",
        "owners.email",
        "roles.id",
        "roles.name",
        "is_managed_externally"
    ],
    "list_title": "List Dashboard",
    "order_columns": [
        "changed_by.first_name",
        "changed_on_delta_humanized",
        "created_by.first_name",
        "dashboard_title",
        "published",
        "changed_on"
    ],
    "result": []
}

why I am getting results as empty
in the superset console, I am getting this msg
Class 'werkzeug.local.LocalProxy' is not mapped
2023-03-13 13:34:41,198:INFO:werkzeug:<IP_ADDRESS> - - [13/Mar/2023 13:34:41] "GET /api/v1/dashboard/?q=(order_column:changed_on_delta_humanized,order_direction:desc,page:0,page_size:100) HTTP/1.1" 200 -
Can someone give me some instructions or help troubleshoot this?
Thank you in advance.

browser type and version: chrome
superset version: 2.0.1
python version: 3.8.0
node.js version: 16.14.2
any feature flags active:

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Is this resolved?  If not, it seems more like a question about usage than a bug report.  I'd suggest asking it in Slack if it persists and seeing if you get an answer there.


Switch local peer discovery to multicast DNS

That way we can take advantage of the NetService APIs on iOS and don't need specific multicast entitlements. It's also a well-known and well-understood standard.

Why not support multiple standards at once? At least recognition of them, that way any variant (even old ones) can be seen by either party.


Uninstalling rpi

Hi,
First of all, thanks for your plugin, I tested it to see the CPU temp of my Raspberry Pi 4 with Hoobs and it works well.
Now I know my Pi is cool enough (between 37° and 39° thanks to the Argon One case), I have removed the rpi plugin (from Hoobs), restart my Pi... And still have the "CPU temp" and "Smoke Detector" exposed on my Home app... I don't understand why. Is there any dependancies still present on my Pi that I have to manually remove ? Is someone can tell me how to remove rpi completely ?
Thanks a lot for any help.

Using a standard Homebridge setup, uninstalling the plugin should be enough.  Please contact hoobs support for what needs to be done there.


R2DBC - Defer connection creation

Summary
https://github.com/ClickHouse/clickhouse-java/issues/1447
Defer connection creation, in order to be able to use R2DBC pool. This allows pool to create a new instance on every subscription, instead of always returning the same one.
The linked issue explained the problem very well.
Checklist

[x] A human-readable description of the changes was provided to include in CHANGELOG

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

@ikonic89 thank you for contribution!


Change "Greater Than Equal To" to "Greater Than or Equal To"

I hope this isn't too nit picky, but the Comparison with the Greater Than Equal To Operator and Comparison with the Less Than Equal To Operator challenges should change their text from

"____ than equal to"

to

"____ that or equal to"

where "___" is "greater" or "less."
The Comparison with the Less Than Equal To Operator challenge already uses this expression in the editor but not in the description itself.

Also, the MDN JavaScript reference page adds the "or" to describe these symbols.

Sure.
I see a PR is already open for this.


Typo in documentation

I think the first sentence could sound better if the word "with" is removed.
file: c_overview_push.html
change:
IBM {{site.data.keyword.mobilepushshort}} is a service with which you can use
to:
IBM {{site.data.keyword.mobilepushshort}} is a service which you can use
please reject if you think the wording is ok

Hi @vishalpalliyathu, please make this change in both staging and prod. Thanks!


support only video recording

not support video recording now.

I've submit a little changes.
https://github.com/tilltue/TLPhotoPicker/commit/9c118157829cd83d9381fc1ce02ff3da4f0fe3d4


Support R4.1 qubes.Filecopy rpc's policy configuration to allow the post-QWT optional scripts to execute in R4.1.

The following:

Extracts the current major.minor version of Qubes from /etc/qubes-release and stores it in $qubes_version
Based on which version of Qubes the script executes under, the approach to modifying the qubes.Filecopy policy is different.
Therefore the code paths taken are based on the setting of the $qubes_version variable.
For R4.0, the script assumes that qubes.Filecopy already exists at /etc/qubes-rpc/policy/qubes.Filecopy and a line is inserted before copying files and executing, then removed after that process is completed. This works well for the existing script under R4.0.
For R4.1 the file /etc/qubes-rpc/policy/qubes.Filecopy no longer exists**. Instead we now insert a new two-line file using the new policy format into /etc/qubes/policy.d/ and give it a filename that ensures it is a) loaded before all other existing system or user policy files, including the compatibility module, giving it priority and b) can be tracked with the current script's PID for correct removal after copying files and executing.

Tested with both R4.0 and R4.1.
See the following page for more on the policy format changes: https://www.qubes-os.org/news/2020/06/22/new-qrexec-policy-system/#new-policy-format
Brendan
** at least in newly installed instances. I have not tested upgrades. Under R4.1, the policy compatibility flag "!compat-4.0" is enabled and the system would load the contents of qubes.Filecopy (if it exists). This compatibility support will be removed in the next version of Qubes. For security and future compatibility reasons, I decided it would be best to use the new policy format in R4.1, as done above, instead of creating the missing file when missing. If both files exist on a R4.1 system, based on the sort order in /etc/qubes/policy.d directory, the file created by this script would be given priority, which is what we want.

@elliotkillick - you should be able to squash commits on merge, but if you'd like me to do it, I've had some practice doing so for @jevank. :)

Looking good! I simplified your new code using tee to workaround the fact that echo is a built-in shell command which therefore does not work with sudo.
Please do verify that my changes work on R4.1.
Also, a question: Is it possible to simply copy over the R4.0 QWT and successfully install it in a R4.1 Qubes VM or does it need to be rebuilt in order to account for changes in R4.1 that make the R4.0 QWT incompatible?

Your changes look good to me (and cleaner). Thanks for the review and fixups!
I will run some tests tomorrow with your updates.
As to your question.
Per Marek: recent changes to qrexec in R4.1 are the one thing that the official QWT for R4.0 cannot handle, which makes the ISO incompatible with R4.1.
On the one hand, qrexec in R4.1 supports both the new V3 (in R4.1) and the older V2 (in R4.0) qrexec protocols.
However...the tooling in the VM must know how to negotiate the version...and the tooling in the official QWT does not know how to negotiate, so qrexec connections fail in the VM.
B

Tested your updates under both R4.0 and R4.1 and the copying of the batch files worked in both cases. Looks good.

I did a regular merge for reasons relating to this answer and the fact that I wanted to PGP sign the final merge commit (from the command-line). Starting to get the hang of this Git thing now.
In any case, all your additions have been merged, cheers Brendan!

Ok - in the future I'll use the git command line to squash commits/fixes into the PR, to keep things cleaner.


PyList of PyArrays2?

🐛 Question
I am very new to rust and I am trying to write a pyfunction which will take an input as a python list (PyList from pyo3) and each item is a PyArray2 (numpy array). I want to send this item to another function as a reference. but PyList iter() returns PyAny. How do I convert that to PyArray?
if I directly call preprocess from python and provide a numpy array, it works.
but I cannot send a list of numpy arrays to pylist_implementation
I get error
mismatched types

expected struct `numpy::PyArray`, found reference

note: expected type `&mut numpy::PyArray<f64, ndarray::Dim<[usize; 2]>>`
         found type `&mut &pyo3::types::PyAny`rustc(E0308)
lib.rs(89, 25): expected struct `numpy::PyArray`, found reference

Which I understand, that there is not way for the compiler to know what kind of data is in the list. but how to "cast it"?
Any help is appreciated, if this is a wrong place to ask the question apologies in advance.
#[pyfunction]
fn pylist_implementation(data: & mut PyList) -> PyResult<(&PyList)> {
    // -> &PyArray2<f64>
    for d in data.iter() {
        preprocess_data(&mut d, 100);
    }
    Ok(data)
}

#[pyfunction]
fn preprocess_data(
    data: &mut PyArray2<f64>,
    index: i32,
) -> PyResult<(Vec<f64>, Vec<f64>, Vec<usize>)> {
    let d = data.shape();
    remove_baseline(data, index);

    let mut peaks: Vec<f64> = Vec::new();
    let mut peaks_index: Vec<usize> = Vec::new();
    //println!("data in preprocess: {:?}", d);
    for subdata in data.as_slice_mut().chunks_exact_mut(d[0]) {
        let max = subdata.iter().max_by(|a, b| a.partial_cmp(b).unwrap());
        peaks.push(*max.unwrap());
        let index = subdata.iter().position(|&r| r == *max.unwrap()).unwrap();
        //println!("INDEX {}", index);
        peaks_index.push(index);
    }

    let not_outlier: Vec<bool> = mad_based_outlier(peaks.to_vec());
    let mut i = 0;
    peaks.retain(|_| (not_outlier[i], i += 1).0);
    let mut j = 0;
    peaks_index.retain(|_| (not_outlier[j], j += 1).0);
    let mut mean_data: Vec<f64> = Vec::new();
    for subdata in data.as_array_mut().genrows_mut() {
        let mut j = 0;
        subdata.to_vec().retain(|_| (not_outlier[j], j += 1).0);
        let sum_col: f64 = subdata.iter().sum();
        let no_signals = not_outlier.iter().filter(|&n| *n == true).count() as f64;
        mean_data.push(sum_col / no_signals);
    }
    //let interpolated_signal: Vec<f64> = mean_data.interpolate_hermit;
    Ok((mean_data, peaks, peaks_index))
}

I'll answer the question in rust-numpy repo

Thanks

https://github.com/PyO3/rust-numpy/issues/102


How can I change colors of a theme?

How can I change the theme or the primary/secondary/ etc colors of the RMWC? For instance my tool bar, buttons and button text is purple. How can I change that to blue?

Please read the docs before filing an issue.
https://jamesmfriedman.github.io/rmwc/styling

lol

👎

Read your docs. No help

@xikeda, inspect the root element of html document.
Include this in your own CSS, a style tag, or however you get styles into your app.
:root {
  --mdc-theme-primary: red;
  --mdc-theme-secondary: blue;
  // there are many more of these... refer to the mdc docs on the full list, or just look in your web inspector.
}

What would have helped that you didn't see in the docs about this?

@xikeda I added a little more context in the styling section of the docs, let me know if that helps.


1g68

Codecov Report

Merging #121 into master will increase coverage by 0.29%.
The diff coverage is 93.75%.

@@            Coverage Diff             @@
##           master     #121      +/-   ##
==========================================
+ Coverage   85.61%   85.91%   +0.29%
==========================================
  Files          58       58
  Lines        2099     2115      +16
  Branches      404      407       +3
==========================================
+ Hits         1797     1817      +20
+ Misses        298      294       -4
  Partials        4        4

Impacted Files
Coverage Δ

src/data/ChellPDB.ts
39.16% <ø> (+4.16%)
:arrow_up:

src/data/AminoAcid.ts
97.43% <93.75%> (-2.57%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update be1cc0b...d1e086b. Read the comment docs.


Refactor remains of CMasternode/-Man into CMasternodeMeta/-Man

Also rename CActiveDeterministicMasternodeManager to CActiveMasternodeManager as there is no differentiation between legacy and deterministic anymore.
https://github.com/dashpay/dash/commit/a8986226e0e1d7cb46a671fb0d734ea3b61d9ee6 is needed due to the way CMasternodeMetaMan stores and serialized shared refs to CMasternodeMeta.

Looks good, will test it a bit.


[WIP]: Initial effort to replace Cilex with Symfony4

In this change I have replaced Cilex with Symfony 4. The basic idea behind this change is that it would be easier to build the application on a complete framework, and the bundles could work as a plugin system instead of our hand-rolled one.
As it stands, Symfony 4 is light weight enough to work as a microframework for all intents and purposes.
This change is not complete and merge-able, the following things need to be done:

[x] Move the CompatibilityLayer class into a Bundle and split it into the right classes
[x] See if the ServiceProvider can use the ContainerBuilder instead of the Container
[ ] Undo the changes in the ServiceProvider classes to ensure that BC is completely kept
[ ] Add E_USER_DEPRECATED messages when people use stuff from the Compatibility Layer so that we can remove it in phpDocumentor 4

When this is done we can subsequently begin migrating the services from our own Service Providers

closed by #1932


Add css info to docs

I found it very easy to customize my CSS based on the instructions in https://github.com/executablebooks/sphinx-book-theme/issues/183#issuecomment-764672888.
This documentation update therefore potentially resolves #183.

looks great - thanks for this improvement @rabernat !!
It is always tricky to know how much information about "core sphinx config" to include in theme-specific docs, but I agree that customizing CSS is a big one and worth including.

looks great - thanks for this improvement @rabernat !!
It is always tricky to know how much information about "core sphinx config" to include in theme-specific docs, but I agree that customizing CSS is a big one and worth including.


Got down to 0 clippy errors

Hello @yeastplume! This is an awesome library. Saved me ages from working it out myself. If you are interested in pulling these changes in, I have fixed all rust clippy warnings while reading through the implementation. (and have fixed an innocent typo)

Hi @yeastplume! Should I do something before you can accept or reject this PR?

No, all looks good. Thanks for the PR, and very glad to see someone else getting use out of it!


To fix link error

To fix link error when building //tensorflow/cc:tutorials_example_trainer
The local environment is centos release 6.8 (Final), gcc 4.9.2, bazel 0.5.0.
Error detail: /opt/rh/devtoolset-3/root/usr/bin/ld: bazel-out/local_linux-opt/bin/tensorflow/cc/_objs/tutorials_example_trainer/tensorflow/cc/tutorials/example_trainer.o: undefined reference to symbol 'clock_gettime@@GLIBC_2.2.5'

Can one of the admins verify this patch?

Jenkins, test this please.

-lrt doesn't work on MacOS. If you can guard this appropriately, it should be fine, there are other platform specific flags in the BUILD files.
See test log for MacOS.

Commit again. Use the select in linkopts.

Jenkins, test this please.

Thanks!


[draft] mixer: use simplified configs

Switch to using the simplified config model from 50 CRDs.
Signed-off-by: Kuat Yessenov<EMAIL_ADDRESS>

All I wanted was to switch to CEL but couldn't find all instances easily... Sure, let's get this done properly.

This is a lot more complicated than I thought. Mixer does not allow mixing static and dynamic adapter. So once we use compiled adapter, we have to use CRDs... Sad.


Added FormData.fromMap() for MultiPart support

Fixing the issue for thrown error JsonUnsupportedObjectError when passing MultiPart file
https://github.com/trevorwang/retrofit.dart/issues/317

Please update the test code in generator package accordingly.

Please update the test code in generator package accordingly.

Done 🎉


Decide on Casual Coding times for Spring 2019

The survey is located here
Once we decide, we need to update the times on Facebook and the Google Calendar

Wednesday 5-7
Thursday 4-6


Image Classification using MLP

@Vikaas08 why is the model baised toward one class.
any particular reason due to dataset or model performances in general.
also you have mentioned only about 2 tuning parameters.


tools/package-management: replace name with pname&version

Motivation for this change
#103997
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 131718 at 915e337f run on aarch64-linux 1

1 package marked as broken and skipped:

checkinstall

7 packages built successfully:

DisnixWebService
disnix
disnixos
dydisnix
dysnomia
nix-serve
opkg-utils

3 suggestions:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/tools/package-management/nix-serve/default.nix:32:3:
   |
32 |   installPhase = ''
   |   ^

warning: unclear-gpl
lgpl21 is a deprecated license, please check if project uses lgpl21Plus or lgpl21Only and change meta.license accordingly.
Near pkgs/tools/package-management/nix-serve/default.nix:46:5:
   |
46 |     license = licenses.lgpl21;
   |     ^

warning: unclear-gpl
gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/tools/package-management/opkg-utils/default.nix:21:5:
   |
21 |     license = licenses.gpl2;
   |     ^


additional_types aren't inherited

e.g. given https://github.com/dvci/health_cards/blob/4eaa1a5d522fb895a8e15ee188749e1b3129cd02/lib/health_cards/covid_health_card.rb#L11-L12
... the code at https://github.com/HL7/fhir-shc-vaccination-ig/blob/8f1fc04e2f0c81c6b12ea5a2a85189cd5333e849/examples/generate-examples.rb#L6 inadvertently drops the #covid19 type, so it's missing in https://github.com/HL7/fhir-shc-vaccination-ig/blob/master/examples/Scenario1Bundle-jws-payload-expanded.json#L5-L8

Same issue applies for fhir_version.

We're tracking this issue now internally in our project Jira, will update here as needed.

@nkarip @jmandel The changes to allow inheritance of these attributes are now in master, and should fix this issue. If you can confirm all your issues are addressed, please close this ticket. A few implementation notes below:

We have set 4.0.1 as the base FHIR version for all health cards. This can be overridden by subclasses, but based on the Zulip topic this seemed to make sense.
COVIDImmunizationCard should now be used instead of COVIDHealthCard. We were previously including all types in COVIDHealthCard, which I don't think is the expected behavior. Support for actually generating lab cards from the app is still forthcoming.

I'm going to close this ticket since @ssayer addressed it in https://github.com/dvci/health_cards/pull/87, but if anyone is still seeing issues related to this feel free to reopen it!


Missing directories

brew doctor output
Your system is ready to brew.

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
HOMEBREW_VERSION: 4.0.28-5-g9f9ae1e
ORIGIN: https://github.com/Homebrew/brew
HEAD: 9f9ae1edeb07d0e7790f18fd540ca76228a3eec2
Last commit: 2 hours ago
Core tap JSON: 06 Jul 18:01 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 14.0.3 build 1403
Git: 2.39.2 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.88.1 => /usr/bin/curl
macOS: 13.4.1-arm64
CLT: <IP_ADDRESS>.1.1683849156
Xcode: N/A
Rosetta 2: false

What were you trying to do (and why)?
I was trying to bump a new cask following the guide from https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request#submit-a-new-version-of-an-existing-cask.
What happened (include all command output)?
cd "$(brew --repository homebrew/core)"
cd: no such file or directory: /opt/homebrew/Library/Taps/homebrew/homebrew-core

cd "$(brew --repository homebrew/cask)"
cd: no such file or directory: /opt/homebrew/Library/Taps/homebrew/homebrew-cask

What did you expect to happen?
I was expecting, that it enters some correct directory. I completely uninstall the homebrew, but it didn't help.
Step-by-step reproduction instructions (by running brew commands)
1. install `homebrew`
2. execute `cd "$(brew --repository homebrew/core)"`

Yeah this looks like a doc issue to me.
The command to document will be brew tap --force homebrew/cask.

@MikeMcQuaid @Bo98 it woks, thanks!


Improve 'Test Run on current file' command

Description:
Improve the 'Test Run on current file' command to run a specific testCase in the project.
Can use the following CLI command to run the test:
ballerina test --tests testCaseName [ —all | module-name]

Need to list available module/package names
Need to list available test cases

Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Individual test cases should be able to run via code lenses
All tests inside a project should be able to run via the palette command

Moved to https://github.com/wso2/ballerina-plugin-vscode/issues/13


Update to latest release of versioneer (0.29)

Expected to be Python 3.11 and 3.12 compatible.
Some tests done after updating versioneer (see https://github.com/icecube/pisa/issues/779#issuecomment-2289994626):

successful installation of PISA with Python 3.10.14, version number returned by pisa.__version__ agrees with version in package metadata (pisa.egg-info/PKG-INFO)
using Python 3.12.5, I was able to execute the updated copy of versioneer.py (0.29) in the source tree (python versioneer.py setup), and also perform the vendored mode install using the pip-installed versioneer package (also 0.29)

Not explicitly tested (maybe someone else could verify by trying something similar to the above using this branch):

Python 3.8 compatibility (according to https://github.com/python-versioneer/python-versioneer?tab=readme-ov-file#the-versioneer, it is also supported)

Odd that the builds now fail. I sometimes get the exact same problem which I can prevent via export CFLAGS=-I<whatever numpy.get_include() returns> before running the setup (which I thought would be addressed by https://github.com/icecube/pisa/blob/master/setup.py#L217C34-L217C53). It might have to do with https://github.com/icecube/pisa/blob/master/setup.py#L283.


Tests do not run with TypeScript & webpack 4

I used someone else's repro for a different issue as a basis: https://github.com/jdeanwaite/ts-mocha-webpack-example
This repo works as-is. Webpack reports "successful compilation" and mocha reports the test outputs.
Now upgrade the devDeps to their latest versions:

Webpack will still report "successful compilation" but the tests do not seem to run (or their results are not reported.

try mocha-webpack@next


chore: tsconfig.json updates

Updated TS config

enabled strict mode
added extra config for building src only
updated type checking

Updated helpers/utils

added type predicate and assertion functions

Updated types due to strict: true

I gonna look at the PR more, but so far I noticed that you made target es2021, apparently for node 16,
today I merged the PR where the node14 runtime came back, so having es2020 makes more sense.


Reason for typecasting the return type of malloc

Additional info for adding a typecast to the malloc function

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] My article does not contain shortened URLs or affiliate links.
[x] None of my changes are plagiarized from another source without proper attribution.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

We actually wouldn't cast void * to whatever pointer type we need since that is automatically done, and is generally considered bad practice and poor style.
See #20044 for more information.


Deprecate db and resolvers generator

This PR started as simple change but I have been continuing work by picking nondestructive and conflicting changes

Remove cmd DB migrations (mostly docs and cmd - all removals so get)
We need to do this to have a unified way to solve migrations and address numerous issues from the community: #1095 etc.

Remove graphql-codegen-resolvers integration from source code, while keeping resolvers plugin still alive for a while to not trigger conflicts with other PR's etc.

Cleanup templates and give the ability to compose them together.
We have added the ability to clean up templates so we can use multiple layers of them when doing init. This enabled us to have multiple variations runtime templates with little effort. I still kept the

Remove migration config and improvements

The purpose of this PR is to bring the changes that will minimize the amount of the work required for the CRUD services while still being mostly deleting and reorganizing things.
Verification

cd packages/graphback-cli
yarn build
yarn cmdinit
Pick first template (it composes from 2 templates)
All should be able to compose
Template should be runnable

These are being removed not deprecated

Resolver plugin is actually staying there it is simply deprecated by not mentioning it in the future docs. Previous docs will still get it and we going to release new version of the resolver plugin to people despite not having any templates there.
As for CLI I was looking for an effective way to deprecate command and I found that deprecating it will make no impact. If we remove codegen template there will be no way to use it anyway so having it here - even as deprecated could cause potential harm (especially that some of the migration stuff will need to be refactored to cather new CRUD).
I think we reached the point where we need to
I'm going to create new document to show how things could play together and draft the architecture of the datasync in the diagram that we all can relate too.

@craicoverflow I will help with rebasing your changes. Fixing tests


advanced examples, email example

solves issue #8

regarding to https://github.com/LeaVerou/awesomplete/pull/1202#issuecomment-76052477
if we move  to he  (despite the whole "don't put scripts inside the head")
the code below would copy the contents of

Thanks, merged. Any chance you could modify it to fetch elements by input[type="email"] instead of id, so it's more reusable?

Just for reference. Example was made reusable with input[type="email"] in 416f91b3a94e7237b5f06af70c42d22992051441


Just not working.

help.docx
I don't know what to do.

You need to update your bot and run update_deps.bat

@SaultInc have you give your bot an account? i remember getting this error when i started the bot out of the box without setting one

Resolved.


Symfony 4 support

Would be possible to release a new version with Symfony 4's support please?

Or there is another alternative bundle?

after 1.5 years without a response, I guess... but I am no longer working on the project that needed this bundle

Maybe this one can help us.
https://github.com/kunicmarko20/ColorPickerBundle

Or just the native HTML Color Picker input
On Thu, 21 May 2020 at 10:21, David Romaní<EMAIL_ADDRESS>wrote:

Maybe this one can help us.
https://github.com/kunicmarko20/ColorPickerBundle
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xmon/ColorPickerTypeBundle/issues/10#issuecomment-631981522,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3STFM4AHZTAUY4CRRSMTTRSTXALANCNFSM4FYMIXVA
.


Remove unused dependencies from pom file

Remove unused dependencies from pom file.
Testing done

Submitter checklist

[X] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[X] Ensure that the pull request title represents the desired changelog entry
[X] Please describe what you did
[ ] Link to relevant issues in GitHub or Jira
[ ] Link to relevant pull requests, esp. upstream and downstream changes
[ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Fine to remove it on CLI but we need to keep it on core (and use it has much as possible)


generate token

hi @tananaev  i have upgraded to 3.9 traccar where i can see token field i want to generate token from my site so whenever user is login a token will generate and i can use that token for accessing alert from javascript because right now to access socket data i am passing user id and password from javascript which is not good for me.
so is there any api call to get token from server for logged in user??
so i can call the api and get token from my interface. thanx.

Token is a part of user model, so you should get it with login.

i am getting  null into password and token field when i use session api call to authenticate user
 $res = $client->request('POST', API_PATH . "session", array(                         'form_params' => array(                             'email' => $userid,                             'password' => $password                         ),                         'headers' => array('Content-Type' => 'application/x-www-form-urlencoded', 'Accept' => 'application/json')                     ));

user get logged in successfully but token and password is null am i doing somethig wrong??

i think i got it first i have to create token then save it and then try to access.

Yes, you have have to generate a token for the user as an admin first.

hi @tananaev  i have generated token for the user now i am trying to access socket with that but it is giving following error
url: http://<IP_ADDRESS>:8082/api/session?token=%27UL5PeVO3BIk9wObkgN7hfMv6jqQBeh8d
error: NullPointerException (... < PermissionsManager:266 < SessionResource:74 < ...)

got it working thanx problem was with qoutes.

@d33pak-s1ngh  how to get token??
can you please share piece of code OR steps to get token.

@iiitmahesh  you have to call a session api which will return user detail in json with token.
i am using php in which i am making api call's using guzzle and following is request i am making.
`
$res = $client->request('POST', API_PATH . "session", array( 'form_params' => array( 'email' => $userid, 'password' => $password ), 'headers' => array('Content-Type' => 'application/x-www-form-urlencoded', 'Accept' => 'application/json') ));
`
in above code i am making a post request to a session api with userid and password used for authentication which will return json in following format
User {
id:
integer
name:
string
email:
string
readonly:
boolean
admin:
boolean
map:
string
distanceUnit:
string
speedUnit:
string
latitude:
number
longitude:
number
zoom:
integer
password:
string
twelveHourFormat:
boolean
coordinateFormat:
string
disabled:
boolean
expirationTime:
string
deviceLimit:
integer
token:
string
attributes:

} `

@d33pak-s1ngh  thanks your response.
ref:
https://www.traccar.org/api-reference/#paths_session_POST:
But I am getting token as null, is there any config to enable token and set validity of token and all
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "http://serverurl/api/session",
  "method": "POST",
  "headers": {
    "authorization": "Basic XXXXXXXXXXXX",
    "content-type": "application/x-www-form-urlencoded",
    "cache-control": "no-cache",
  },
  "data": {
    "email"<EMAIL_ADDRESS>    "password": "1234"
  }
}

$.ajax(settings).done(function (response) {
  console.log(response);
});

Response :
{
  "id": 2,
  "attributes": {},
  "name": "user",
  "email"<EMAIL_ADDRESS>  "readonly": false,
  "admin": false,
  "map": null,
  "distanceUnit": null,
  "speedUnit": null,
  "latitude": 0,
  "longitude": 0,
  "zoom": 0,
  "twelveHourFormat": false,
  "coordinateFormat": null,
  "disabled": false,
  "expirationTime": null,
  "deviceLimit": -1,
  "userLimit": 0,
  "deviceReadonly": false,
  "token": null,
  "password": null
}

You have to generate a token for user. Traccar doesn't do it for you.

you have to first generate token
go to your account and generate token check following image

@tananaev  is there any default validity for token.
how to use token in positions API call

At the moment you can only use it to create a session.

How come API doesn't automatically create the token and why is it that the client does this ?

hi, how to get user token for call api?

Use the forum for questions.


Dropping an RDFGraph when there is a non-RDFGraph rel table leaves the rel table "dangling"

Consider an RDFGraph UniKG and another node table Students and a rel table SameAs from Students to UniKG_r. You can drop UniKG even if that would leave Students around.
To replicate:
kuzu> CREATE RDF Graph UniKG;
kuzu> CREATE NODE TABLE Students(name STRING, primary key (name));
kuzu> CREATE REL TABLE SameStudent(FROM Students TO UniKG_r);
kuzu> DROP TABLE UniKG;
kuzu>  MATCH (a:Students)-[s:SameStudent]->(b) RETURN *;
Error: unordered_map::at: key not found

Normally, this would happen:
kuzu> CREATE NODE TABLE nodeTable1 (name STRING, primary key (name));
kuzu> CREATE NODE TABLE nodeTable2 (name STRING, primary key (name));
kuzu> CREATE REL TABLE relTable (FROM nodeTable1 TO nodeTable2);
kuzu> DROP TABLE nodeTable2;
Error: Binder exception: Cannot delete node table nodeTable2 referenced by rel table relTable.

So the system does not allow dropping nodeTable2.

Fixed in PR #2760


Allow extensions to add coloured markers in the gutter similar to source control

The source control functionality currently renders nice coloured markers down the gutter. It'd be nice if this functionality was available to extensions that aren't source control (for example code coverage).

This is something that could be added to the text editor decoration API, specifically as a new property to ThemableDecorationRenderOptions

@DanTup I'm assuming here, you are looking for more than just an indicator though right? You'd want them clickable like the SCM gutters?

The feature I wanted this for was ditched, so this isn't a need for me now. However it was intended for something similar to code coverage. The idea was to mark lines that are hot-reloaded into a running app, and then change the colour as the execute (it was intended to help understand if changes you've made and hot reloaded were not being run).
Clicking probably wouldn't have been necessary (for this, though maybe they'd be useful for others?), though tooltips would've been good (to explain what the two different colours meant).

I have a need for this right now too (with them being clickable). I want the user to be able to mark areas of code and have those marked code segments be timed.
@eamodio or @alexdima - will this ever be added?


refactor(coral): Only use regex for topic name validation if it should be applied

About this change - What it does
When a topic name should have a regex ( applyRegex: true in the environments params), then only this regex is used for validation, regardless if prefix or suffix is also in the params.
This PR updates this in form field instructions (currently the placeholder) and validation.
It also removes a small text that was used to try out options for field instructions and sneaked itself in 🥷 through the last PR.
It also updates test cases to confirm proper validation.
Recording
(using a mocked environment api call)
https://user-images.githubusercontent.com/943800/235941822-5d9a8b55-4291-46a9-a40d-859d007d2ed4.mov

Also, was this clarified?

Thanks for reminding me of my own TODO! Can't believe I missed that 😑
Like we discussed in the daily, there's no rule in backend, but there should be and we'll already add a frontend validation to have the name after the prefix contain at least 3 characters. (right @aindriu-aiven ?)

@programmiri so, if we don't want to add a regex translator to the FE, we can't validate in the form, and have to rely on the BE returning an error if the user makes a mistakes? It's not too bad, but not ideal ^^
If there is no other concern to be addressed, I think this can be merged?


Update README.md

ok to test

ok to test

ok to test

ok to test

ok to test

ok to test

test 1


Rotate The Matrix by 90 deg

Enter your question -
you have to rotate the 2D array by 90 degrees
Enter link to the question(if question belongs to any online platform) -
https://www.geeksforgeeks.org/rotate-a-matrix-by-90-degree-in-clockwise-direction-without-using-any-extra-space/
Tags for the question(eg - Array, Basic, Stack, etc.) -
2D Array, Matrix

Please assign this issue to me and add the hacktoberfest tag

@vish-han,
Kindly add your solution to "GeeksForGeeks" folder.
Deadline - 04/10/2021

@SarthakKeshari please add hacktoberfest tag

@vish-han,
I wish to add one more point, you have a consistent contribution to the repository. I would be glad if you could come up with questions that are completely created by you or from your college assignments. That will help the repository to have a very valuable input from your end.

@vish-han,
All the best


‼ Impl. Converter from STRING id to UniProt ID

String mapping: http://string-db.org/mapping_files/uniprot_mappings/

[x] in docker file, download all dictionaries (for loop)

[x] most_common_organisms = ... python dict

[ ] lazy evaluation of the full_organisms_dictionary

[x] Implement tests (preferably in pytest)

[ ] communicate and show to Juanmi

Other possible way of mapping (not necessary for us), as reported by Pandu, previous student:

I joined the entries on entities.tsv and names.tsv from the Tagcorpus which was given to me by Lars. Do you still remember those files?

Also, I just checked my thesis. It seems that my bachelor thesis is a very complete reference for this. Try to read sections 4.4.2. and 4.4.3. of my thesis and you would figure out how it was done in my thesis :)

@shpendm status?

@shpendm are the tests done?

lazy evaluation of the full_organisms_dictionary -> larstagger only uses most_common_organisms

@shpendm then, can you narrow down these common organisms? What are their names?

Names of the common organisms are:
Human, Mouse,Arabidopsis thaliana, Schizosaccharomyces pombe, Saccharomyces cerevisiae, [Escherichia coli str. K-12 substr. MG1655], Ligularia, Caenorhabditis elegans, Drosophila melanogaster, Danio rerio,
Basically, those that are included here:
http://string-db.org/mapping_files/uniprot_mappings/   (except full_uniprot_2_string.04_2015.tsv.gz)

@shpendm awesome, sounds good and sufficient. Let's leave it like this. Good job.


fix: updated type for doughnut offset

Fixes #11050

Docs will need an update too: https://www.chartjs.org/docs/4.1.2/charts/doughnut.html#dataset-properties

Docs also updated


Fails tests when running with South

When settings.SOUTH_TESTS_MIGRATE = True, django-extensions will fail its tests. This is because it is running call_command('syncdb'), which will cause migrations to run before its tests. Then it asks syncdb to go at it again.
The simple workaround is to force call_command('syncdb', migrate=False) if south is in settings.INSTALLED_APPS.
Stack trace below:
======================================================================
ERROR: testTextFieldRead (django_extensions.tests.encrypted_fields.EncryptedFieldsTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/django_extensions/tests/encrypted_fields.py", line 31, in setUp
    call_command('syncdb', verbosity=0)
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/django/core/management/__init__.py", line 166, in call_command
    return klass.execute(*args, **defaults)
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/django/core/management/base.py", line 220, in execute
    output = self.handle(*args, **options)
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/django/core/management/base.py", line 351, in handle
    return self.handle_noargs(**options)
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/south/management/commands/syncdb.py", line 99, in handle_noargs
    management.call_command('migrate', **options)
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/django/core/management/__init__.py", line 166, in call_command
    return klass.execute(*args, **defaults)
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/django/core/management/base.py", line 220, in execute
    output = self.handle(*args, **options)
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/south/management/commands/migrate.py", line 105, in handle
    ignore_ghosts = ignore_ghosts,
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/south/migration/__init__.py", line 191, in migrate_app
    success = migrator.migrate_many(target, workplan, database)
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/south/migration/migrators.py", line 221, in migrate_many
    result = migrator.__class__.migrate_many(migrator, target, migrations, database)
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/south/migration/migrators.py", line 292, in migrate_many
    result = self.migrate(migration, database)
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/south/migration/migrators.py", line 125, in migrate
    result = self.run(migration)
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/south/migration/migrators.py", line 99, in run
    return self.run_migration(migration)
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/south/migration/migrators.py", line 81, in run_migration
    migration_function()
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/south/migration/migrators.py", line 57, in <lambda>
    return (lambda: direction(orm))
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/django_digest/migrations/0001_initial.py", line 16, in forwards
    ('last_used_at', orm['django_digest.UserNonce:last_used_at']),
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/south/db/generic.py", line 226, in create_table
    ', '.join([col for col in columns if col]),
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/south/db/generic.py", line 150, in execute
    cursor.execute(sql, params)
  File "/home/sfllaw/virtualenv/lib/python2.6/site-packages/django/db/backends/sqlite3/base.py", line 234, in execute
    return Database.Cursor.execute(self, query, params)
DatabaseError: table "django_digest_usernonce" already exists

the first workaround (call_command('syncdb', migrate=False)) works for me


Cannot generate preview with RVM

I have set my TM_RUBY variable set per https://rvm.io/integration/textmate and if I execute `rvm current` # => in a ruby document in Textmate I get ruby-2.2.3@global.
In my console:
$ rvm current
ruby-2.2.3@global

$ gem install redcarpet pygments.rb
Building native extensions.  This could take a while...
Successfully installed redcarpet-3.3.4
Successfully installed pygments.rb-0.6.3
2 gems installed

But when I then run "Show Preview" on a Markdown document in TextMate I get the following error in the output window:
Please install the Redcarpet and Pygments.rb RubyGems by running the following:

/usr/bin/gem install --user redcarpet pygments.rb

If I uninstall the GitHub-Markdown bundle the default Show Preview command works fine.

Sorry, I can't provide support for using RVM as I've never used it.

The preview command of this bundle always uses the system Ruby (see shebang in https://github.com/MikeMcQuaid/GitHub-Markdown.tmbundle/blob/master/Support/bin/redcarpet.rb ).
Have you tried installing the gems for system Ruby with the command given in the error message? (If this does not work you might need to do the equivalent of rbenv shell system in RVM, but unfortunately I’m not an RVM expert either …)

To get this working I needed to temporarily turn off rvm by using:
rvm use system
Then install the gems by using:
sudo /usr/bin/gem install --user redcarpet pygments.rb


Storing intermediate files.

Despite UrlDownload is mostly aimed to in-memory operations, sometimes it make sense to download file too, in case some additional processing is required.Here is an example how it can be done in HTTP.jl
io = open("data.tar.gz", "w")
r = HTTP.request("GET", "http://httpbin.org/get", response_stream=io)
close(io)
# now do stuff w/ 'data.tar.gz' file

Fixed in #29


Add Denon AVR-X250BT Full Remote

Hi there, in my line of work I will be gathering and creating many different IR entities, this is simply the first. Love the project btw <3
Also, there's some serious potiential between this and the universal remote integration...

Shit, I see I left a comma up in the models section

Tested, fixed, and working codes


Integrate primitive types, enums and protocols into a basic type-system interface

Started implementation here: https://github.com/vkottler/runtimepy/pull/85
Still needs:

Protocol needs to be able to add a field that's an enum? Can it already do that? (not sure how it would've, just added a "primitive" string for runtime enums)

Questions to answer:

Needs anything else to load new Enum on the fly? https://github.com/vkottler/ifgen/blob/master/ifgen/data/schemas/Enum.yaml
Needs anything else to load new https://github.com/vkottler/ifgen/blob/master/ifgen/data/schemas/Struct.yaml on the fly?

Should we move some of this stuff to a new package???

Added an initial Serializable interface. Need to test out integration with length-prefixed variable fields... if it's possible to chain serializable objects together at runtime, and update them at runtime, it should be possible to add support for more and more kinds of protocols

Added a lot of stuff on https://github.com/vkottler/runtimepy/pull/85, we may end up needing to add more support directly to the Protocol interface?
Probably will be the case for enums


Remove version: Ziad.TCG version 6.9-stable

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: URL works;

Close with reason: URL works;


disable via points in time-map module

git stash on latacunga brench

If I run the module with affected area, the resulting map is blank.
If I run the module without affected area, the process is aborted.

Also this should go through a pull request