[Question] Does OpenSearch offer version control

According to the documentation, when you add a document to an index, OpenSearch adds some metadata. One of these data is _version. I have the following questions:

Is _version used for version control?
If yes, how does OpenSearch manage the different versions without convoluting the index?
If yes, can versions be queried and visualized? For example, say I use OpenSearch to catalogue blog posts. And I typically use OpenSearch to document blog posts' metrics. Could I also use OpenSearch to see how much I rewrite each blog post?

Not exactly -- only the latest version is kept. If you specify the version parameter when indexing a document, it will check against the internal version of the existing doc and only overwrite it if the existing version matches (as a way of doing optimistic locking).
Not applicable.
You can't get the old versions (unless you choose to write a new doc for every version, but then you'd need to find a way to show the latest version on your blog -- maybe using collapse). If you GET /<index_name>/_doc/<doc_id>, then you can see the current version. That would at least tell you how many times you've edited a given blog post (but not what edits were made).

Hope that helps! Feel free to follow up with any further questions.

Oh, not directly related to your questions, but it's also worth noting that you can use external versioning (by specifying version_type=external) if you have some outside system that assigns increasing versions, so that if multiple sources are updating the same doc, then you can make sure the last update always wins.

@collinsezedike -- Did this cover all your questions? If so, please feel free to close it.
If not, it may still be worthwhile from a SEO standpoint to close out this question and ask new questions on a new issue.
I know I've certainly run into the case where I've tried to Google "How do I do X?" and get no answer, but I've tried to Google "How do I do X but not Y", and land on a page where someone asked "How do I do Y?" and someone told them how to do X.
tl;dr: if you have more questions related to your original problem, please ask them here. If you have more questions not related to your original problem, please open a new issue.
If you want general advice on implementing a blog (especially if you're considering OpenSearch as a platform), feel free to DM me. I implemented a blog site back when I was a student (back when PHP + MySQL was the norm), so I may have useful but potentially out-of-date advice.

Yes it does, @msfroh.
Thank you.
Closing now...


License missing

Is this public domain code?

@erikmack
Isn't this?
https://github.com/CanonicalLtd/go-grpc-sql/blob/master/COPYING

Thank you.  I see Stephane eventually added the license, and since then the package is no longer an lxd dependency.
As the lxd packager for a distribution, it was important at the time to account for the licenses of all the libs used.


feat(js) Add ArrayBuffer::new, ::is_view & ::slice bindings.

Cf. https://github.com/rustwasm/wasm-bindgen/issues/275
My wish was to include get ArrayBuffer[@@species] but I've no idea how to tackle this binding :-). Any recommendation?

Thanks for the review! It is a perfect illustration of: “Why you should not write a PR 5mn before a meeting”.


Test code does not work normally due to API and business logic changes.

The domain dashboard and project dashboard test codes do not work properly.

After setting the environment correctly, I ran a unit test and there was no problem.
I will close the issue.


[Enhancement]: Client Option to easily add / delete the Slasher for Lighthouse

Describe the enhancement
Add an option to the client settings of Lighthouse to easily add / delete the Slasher Lighthouse installs.
Dependencies
--
Additional Context
--
Acknowledgment

[X] I have reviewed the existing enhancements and confirm that this suggestion is unique.

To remove the slasher from Lighthouse CC you need to do the following:

remove slasher tags from config (--slasher and --slasher-dir)
remove slasher volume working-dir + /slasher:/opt/app/slasher
remove left files in slasher directory (working-dir + /slasher)


caching of application icons

Currently application icons are not being cached, which results in onagre microfreezing everytime I try to search for an application.
If there is no specific reason against caching those icons, I would like those icons to be cached.

There is a first query to build the icon index then its cached on every subsequent request:
https://github.com/onagre-launcher/onagre/blob/543f1fe827f4b16408cdcc07c19fb839741ca0f5/src/icons/mod.rs#L85
That said, in the current implementation, the cache still need to be loaded on every start.
We could store this in db to make it available on next launch.
Note that it has the potential to be out of sync if the user uninstall or add new desktop entries, change their theme etc.
A correct implementation should greedily load the cache on start, then fetch the up to date icon index in the background and replace the current cache with actual runtime values.
PRs welcome :)

I looked at this line already and my point is that it is missing for the else case, but i didn't want to submit a pr for one line of code. The idea of storing it in the db sounds nice, as it still stutters on startup a bit, even with caching all icons, maybe i get around to doing a pr for that ^^


Allow to define app name in kontena.yml

This PR allows to define app name in kontena.yml. It will be used if user has not given any -p option on app commands. If the app name is not defined in kontena.yml name of the current work dir is used.
version: '2'
name: todo-example
services:
  app:
    image: kontena/todo-example:latest

depends on #739

LGTM


is it possible detecting which permission are denied and accepted in multi-permission interface ?

I want to ask it this library can detect which permissions are denied and accepted in multi-permission interface ? I need this for better user management.

according to this issue ticket it is possible : https://github.com/Karumi/Dexter/issues/242


Chinese translation WIP / 中文翻译仍在处理中

由于 https://github.com/GyulyVGC/sniffnet/pull/89 提到的问题, 目前暂未能将含有中文翻译的分支合并到主线. 已合并, 等待发版
Due to the problem that https://github.com/GyulyVGC/sniffnet/pull/89 mentioned, branch chinese_font_setup cannot be merge into master branch now.
在等待下一版本时, 有需要的, 可以下载我编译的预览版:  sniffnet.zip, 或自行拉取chinese_font_setup编译.
If necessary, you can download sniffnet.zip, or compile by yourself.
解压然后直接替换位于C:\Program Files\sniffnet\bin处的sniffnet.exe文件即可.
Simply unzip the file and replace C:\Program Files\sniffnet\bin\sniffnet.exe.
文件校验:
HASH:
MD5 B196739024FFAE7FF221702B21991B95
SHA-1 093A9AAF0DA6BDBB38BD0E7A17FD7A79D95BE44E

Hi @cxw620.
Today's release finally introduces the Chinese language, so I think that this issue can be closed.
I made an announcement about the release on the Rust Chinese forum (link).
If you could spread the news on other Chinese forums/blogs it'd be awesome, so that more people can benefit of your translation!


Feature Request: Adding an indicator to show the ESP32 device is sending data to the Webpage

There can be times that the GPIOs are actually static (no change in state) and that can be by design according to the code running on the ESP32. At this point the webpage LEDs are no longer changing. However, there may be fault conditions as shown below.
There could be situations like:

The ESP32 has lost connection to WiFi.
The ESP32 task for polling the GPIOs has stopped.
When the ESP32 has been powered off
etc

During any of the above, the Webpage remains static and we don't think anything is wrong.
What I feel is a useful feature is to add an indicator on the webpage that shows that the ESP32 device is still sending data to the site.
This indicator can flash on screen and maybe it's frequency derived from the Sampling Interval - flashing state toggles per interval maybe?
Having such a flashing indicator on the page is another tool to help with ESP32 fault diagnosis - if the flashing stops then check the board!
Regards
Tony

That's a very good idea, I add it for a future release.
Thanks You.


Adding mock_hardware to diffbot and update docs for all usages

I implemented the mock_hardware for the diffbot to test https://github.com/ros-controls/ros2_control/pull/1028
It simply works ;)
This PR closes #254.

@mergifyio backport humble


Added titleize gem to titleize Provincia and Ciudad names

Thanks for the script, it helped me a lot.
Just wanted to contribute with a better naming capitalization.
Gracias!

Thanks @lucasvel for the PR. I'm always a little hesitant to add new deps, specially for asthetic reasons. Do you think something like this would work:
https://github.com/wecodeio/ciudades-argentinas/blob/master/scraper.rb#L8
Also, this is certainly terrible code. I'd much rather have this rebuilt into a proper,  reusable gem. Any volunteers for the task? I promise to help!

Closed for inactivity


Endless loop when processing very large tnetstring

Problem Description
The loading of flows stored in mitmdump capture files can get stuck endlessly (manually terminated after 10+ hours). This happens for capture files that contain very large tnetstring for dict and/or list objects. The issue originates from the recursive slicing performed in the pop function while parsing (parse function) a tnetstring using the tnetstring module.
I solved this issue by using memoryview to represent the data to be parsed in the tnetstring module. In the following archive
tnet.zip, you can find the modified tnetstring module and code  + data to test it.
Env:

python 3.10.13
mitmproxy 10.2.4

Steps to reproduce the behavior:

Unzip tnet.zip
run python test_tnetstring.py

The test script will try to parse a large tnetstring (100+ MB), stored in the file part of the .zip, using both the original and the modified tnetstring module. On my machine the modified code ends in ~ 7 seconds while the original runs for hours (I have never seen the end of it). To avoid waiting forever, the script kills the execution of the original code after a timeout 120 seconds.
In the test_tnetstring.py script there is also code to check that the result produced by the original code and the modified one are the same. The call to this test function is commented out; you can specify the path of a not-problematic mitmdump capture and run it.
System Information

python 3.10.13
mitmproxy 10.2.4

Thank you for investigating this! Could you please open a PR with your changes? Thanks!


New User!

Hi! Congrats on this repo, I love the idea and the widget looks great!
I am currently using the github contribution stats at https://github.com/suhaanigurjar and would like to be added to the list, thank you!

Hello @suhaanigurjar! thanks for using this project and we appreciate your feedback. Feel free to contribute to this project if you have something in mind!  🙌  👍

Added you in the list, cheers! 🍻

Hello @suhaanigurjar! thanks for using this project and we appreciate your feedback. Feel free to contribute to this project if you have something in mind! 🙌 👍

will try to for sure! 🙌


docs: Fix CONTRIBUTING.md and running-locally.md. Fixes #2682

Checklist:

[ ] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[ ] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[ ] I've signed the CLA.
[ ] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[ ] My builds are green. Try syncing with master if they are not.
[ ] My organization is added to USERS.md.

This can be merged as soon as green.


UPDATE the UI, Changes in Header, Navbar, Hero section images, add transitions, resize contact section, review section, footer & also update all  navigation links, & create about.html file, edit book.html file

Related Issue
Hlo @PriyaGhosal
[UI was not giving good experience so I have Update header, footer, hero section and create some files like about.html and update book.html file . this pull request addresses #629. ]
Fixes:  #629
Description
[Update the UI, Changes in Header, Navbar, Hero section images, add transitions, resize contact section, review section, footer & also update all navigation links, & create about.html file, edit book.html file ]

Type of PR

[x] Feature enhancement
[ ] Documentation update
[x] UI Update

Screenshots
--------------------------------------------------------------------------------------------------------------------------------------------
HEADER UI , FONTS
BEFORE--->

AFETR--->

--------------------------------------------------------------------------------------------------------------------------------------------
HERO-SECTION
BEFORE--->

AFTER--->

--------------------------------------------------------------------------------------------------------------------------------------------
RESIZE THIS SECTION
BEFORE--->

AFTER--->

--------------------------------------------------------------------------------------------------------------------------------------------
RESIZE THE CONTACT SECTION & FONTS SIZES
BEFORE--->

AFTER--->

--------------------------------------------------------------------------------------------------------------------------------------------
ALLIGNMENT OF REVIEW SECTION
BEFORE--->

AFTER--->

--------------------------------------------------------------------------------------------------------------------------------------------
FOOTER SECTION
BEFORE--->

AFTER--->

--------------------------------------------------------------------------------------------------------------------------------------------
ADD ABOUT.HTML FILE

--------------------------------------------------------------------------------------------------------------------------------------------
UPDATE BOOK.HTML FILE
BEFORE--->

AFTER--->

Checklist:

[x] I have made this change from my own.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@Nishkarshgupt Please see the conflicts . Resolve the conflicts . Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


cannot add previously removed agent

Is your issue a feature request? If so, please raise it as an enhancement
Environment

OS / version: Fedora 37
Processor architecture: x86_64
TPM Manufacturer: swtpm
Keylime version: upstream da652daeec

Description
I can add an agent successfully but after removing it another attempt to add it fails
Expected behavior vs. actual behavior
agent should be added successfully
Steps to reproduce problem
# keylime_tenant -v <IP_ADDRESS> -t <IP_ADDRESS> -u d432fbb3-d2f1-4a97-9ef7-75bd81c00000 --verify --runtime-policy policy.json --include payload-script --cert default -c add
# keylime_tenant -v <IP_ADDRESS> -t <IP_ADDRESS> -u d432fbb3-d2f1-4a97-9ef7-75bd81c00000  -c delete
# keylime_tenant -v <IP_ADDRESS> -t <IP_ADDRESS> -u d432fbb3-d2f1-4a97-9ef7-75bd81c00000 --verify --runtime-policy policy.json --include payload-script --cert default -c add

Relevant logs
INFO:keylime.config:Reading configuration from ['/etc/keylime/logging.conf']
2023-05-16 14:15:20.579 - keylime.keylime.cmd_exec - DEBUG - Executing command "tpm2_startup --version"
2023-05-16 14:15:20.583 - keylime.tpm - INFO - TPM2-TOOLS Version: 5.4
2023-05-16 14:15:20.584 - keylime.tenant - WARNING - The configuration upgrade templates path /usr/share/keylime/templates does not exist
2023-05-16 14:15:20.585 - keylime.config - INFO - Reading configuration from ['/etc/keylime/tenant.conf']
2023-05-16 14:15:20.585 - keylime.tenant - INFO - Setting up client TLS...
2023-05-16 14:15:20.585 - keylime.tenant - INFO - Using default client_cert option for tenant
2023-05-16 14:15:20.585 - keylime.tenant - INFO - Using default client_key option for tenant
2023-05-16 14:15:20.585 - keylime.tenant - INFO - No value provided in client_key_password option for tenant, assuming the key is unencrypted
2023-05-16 14:15:20.600 - keylime.tenant - INFO - TLS is enabled.
2023-05-16 14:15:20.602 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): <IP_ADDRESS>:8891
2023-05-16 14:15:20.621 - urllib3.connectionpool - DEBUG - https://<IP_ADDRESS>:8891/ "GET /v2.1/agents/d432fbb3-d2f1-4a97-9ef7-75bd81c00000 HTTP/1.1" 200 None
2023-05-16 14:15:20.636 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): <IP_ADDRESS>:9002
2023-05-16 14:15:20.653 - urllib3.connectionpool - DEBUG - https://<IP_ADDRESS>:9002/ "GET /version HTTP/1.1" 200 69
2023-05-16 14:15:20.654 - keylime.cli.policies - INFO - TPM PCR Mask from policy is 0x0
2023-05-16 14:15:20.654 - keylime.ima - DEBUG - Loading runtime policy from policy.json
2023-05-16 14:15:20.654 - keylime.ima - DEBUG - Loaded runtime policy from policy.json with checksum b86c70739f11422ee4ae349f8c40c7ba7803a0b5d0bc448df850166e9ecd543c
2023-05-16 14:15:20.654 - keylime.config - INFO - Reading configuration from ['/etc/keylime/ca.conf']
2023-05-16 14:15:20.655 - keylime.ca-util - WARNING - The 'default' password option from CA configuration file cannot be used with keylime CLI (keylime_tenant or keylime_ca)
Please enter the password to decrypt your keystore:
2023-05-16 14:15:23.027 - keylime.ca-util - INFO - Creating cert package for d432fbb3-d2f1-4a97-9ef7-75bd81c00000 in d432fbb3-d2f1-4a97-9ef7-75bd81c00000-pkg.zip
2023-05-16 14:15:23.049 - keylime.ca-util - INFO - Creating cert package for RevocationNotifier in RevocationNotifier-pkg.zip
2023-05-16 14:15:23.051 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): <IP_ADDRESS>:9002
2023-05-16 14:15:23.139 - urllib3.connectionpool - DEBUG - https://<IP_ADDRESS>:9002/ "GET /v2.0/quotes/identity?nonce=aJ9JHgTQl2R2YwPgk8PB HTTP/1.1" 200 2009
{'code': 200, 'status': 'Success', 'results': {'quote': 'r/1RDR4AYACIAC8bQHs/PRBTiBTzFUBc4XHN6NNGN57Eoax7lZfm2hfKHABRhSjlKSGdUUWwyUjJZd1BnazhQQgAAAAAAANd/AAAAAgAAAAABIBkQIwAWNjYAAAABAAsDAAABACAtddKXP2f5j0Prvy4BNZuVZRX2xFG2fH4LTgtKSJYZTA==:ABQACwEAHcc7c2yQ0bMHLdfz8g3j1ilGx13Ado5NAjONNaJf03yItchtfbDaidFaaVyj7yr+9qOIoRVU2DPilqnxTmdN+hwpheAwKADEljMCOmlFPjcU8S0yE3uM9F1FZ0d2R0jdkMWCYwUBBqPUjWViHm5rDA2t1eS6FEUlFOwM+Hnhd6rSZp2TxlzJR5OF6vx/81bNMVYBSa+mrws++8HTo95+qVoXWMi9QjrkkG4gO0ficHSdLMvzaYGpXdAAhzbHEKPAB+NuOq5PNfYM50dRUE7PvnoW/mImcTVk6VBbiVT1f61InpytEpbuNgBxBiC7MAvkTe3CRY/eN8KYXi5xydOEIg==:AQAAAAsAAwAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAEAAAAgAOTtYzActvRdPDUuwU0fNAhz4FbjtNR0efv0Scz0Rx6FAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=', 'hash_alg': 'sha256', 'enc_alg': 'rsa', 'sign_alg': 'rsassa', 'pubkey': '-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv46hndi2wDeXio3GBkCa\nrNUXmlpHg4FmQXok3upTFe7X2X4Vrft09av/a+RYj4I3Y5qmlnMsy+xWVLXAw5t3\nplKrpvwt10LKXtV29AyLq6qSSA82vuZHbAe642WdFbFDY3k2gmeoIYTriBMrVbMr\nGL4v3OViXeNwv02PwPLfJWf7Uf+OqJd8wu8foHzVn16PCD8W5ANoGSYLLgJvIiCO\nJZX/z5sRWtBV1dhVn0WCJuzH7ov3s1wD1uzFxOlLzeTLotdqijDfzpmUye74TOKt\n8cmRFFibqBor6FbApQ8W///CvfKiILldom8Mw1gBO3UFHauCzeg02qpBhT8LoWNU\nwwIDAQAB\n-----END PUBLIC KEY-----\n'}}
2023-05-16 14:15:23.140 - keylime.tenant - DEBUG - Agent_quote received quote: r/1RDR4AYACIAC8bQHs/PRBTiBTzFUBc4XHN6NNGN57Eoax7lZfm2hfKHABRhSjlKSGdUUWwyUjJZd1BnazhQQgAAAAAAANd/AAAAAgAAAAABIBkQIwAWNjYAAAABAAsDAAABACAtddKXP2f5j0Prvy4BNZuVZRX2xFG2fH4LTgtKSJYZTA==:ABQACwEAHcc7c2yQ0bMHLdfz8g3j1ilGx13Ado5NAjONNaJf03yItchtfbDaidFaaVyj7yr+9qOIoRVU2DPilqnxTmdN+hwpheAwKADEljMCOmlFPjcU8S0yE3uM9F1FZ0d2R0jdkMWCYwUBBqPUjWViHm5rDA2t1eS6FEUlFOwM+Hnhd6rSZp2TxlzJR5OF6vx/81bNMVYBSa+mrws++8HTo95+qVoXWMi9QjrkkG4gO0ficHSdLMvzaYGpXdAAhzbHEKPAB+NuOq5PNfYM50dRUE7PvnoW/mImcTVk6VBbiVT1f61InpytEpbuNgBxBiC7MAvkTe3CRY/eN8KYXi5xydOEIg==:AQAAAAsAAwAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAEAAAAgAOTtYzActvRdPDUuwU0fNAhz4FbjtNR0efv0Scz0Rx6FAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
2023-05-16 14:15:23.140 - keylime.tenant - DEBUG - Agent_quote received public key: -----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv46hndi2wDeXio3GBkCa
rNUXmlpHg4FmQXok3upTFe7X2X4Vrft09av/a+RYj4I3Y5qmlnMsy+xWVLXAw5t3
plKrpvwt10LKXtV29AyLq6qSSA82vuZHbAe642WdFbFDY3k2gmeoIYTriBMrVbMr
GL4v3OViXeNwv02PwPLfJWf7Uf+OqJd8wu8foHzVn16PCD8W5ANoGSYLLgJvIiCO
JZX/z5sRWtBV1dhVn0WCJuzH7ov3s1wD1uzFxOlLzeTLotdqijDfzpmUye74TOKt
8cmRFFibqBor6FbApQ8W///CvfKiILldom8Mw1gBO3UFHauCzeg02qpBhT8LoWNU
wwIDAQAB
-----END PUBLIC KEY-----

2023-05-16 14:15:23.140 - keylime.tenant - DEBUG - Agent_quote received hash algorithm: sha256
2023-05-16 14:15:23.141 - keylime.tenant - DEBUG - Agent_quote received encryption algorithm: rsa
2023-05-16 14:15:23.141 - keylime.tenant - DEBUG - Agent_quote received signing algorithm: rsassa
2023-05-16 14:15:23.142 - keylime.tenant - WARNING - DANGER: EK cert checking is disabled and no additional checks on EKs have been specified with ek_check_script option. Keylime is not secure!!
2023-05-16 14:15:23.142 - keylime.tenant - INFO - Quote from <IP_ADDRESS> validated
2023-05-16 14:15:23.142 - keylime.tenant - DEBUG - b64_encrypted_u: Omy0qgo0O9A7NVJu3pH4yku1Bft42Eq5E2EoTjwHRg6diQ2t3i8Yd3Bjwd9LcyZJQPY/dhPDXUTNc6sTXH8hfXK1+wIWjXUF7g570bzu2TLlzCe5c5woeGAvCx8yf1HqCosfQb4SX+B9XiF/ZFEtOZzKPMCmREJg0DZtbkapl5tqJNYgsYyutzy8SDcEsauU1n4jFu0UkyexHy8MBxESheyLFbXp98at2gtSNHPNDUiq8RRlnE9jUxnhd2RzhLD0NluTOf6NGO3zTmtXxEy/mCYFW5Cy3II+JUmXxc4b9+GFCI+LjHvNVYfX5Sfrx+w8sujCtAQCV86NrzeqKPbtaw==
2023-05-16 14:15:23.143 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): <IP_ADDRESS>:9002
2023-05-16 14:15:23.159 - urllib3.connectionpool - DEBUG - https://<IP_ADDRESS>:9002/ "POST /v2.0/keys/ukey HTTP/1.1" 200 46
2023-05-16 14:15:23.160 - keylime.tenant - DEBUG - b64_v: zJEaAACsFWX+oVUmaQHe2NGz+qB01m2mspctv1R9/24=
2023-05-16 14:15:23.161 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): <IP_ADDRESS>:8881
2023-05-16 14:15:23.206 - urllib3.connectionpool - DEBUG - https://<IP_ADDRESS>:8881/ "POST /v2.1/agents/d432fbb3-d2f1-4a97-9ef7-75bd81c00000 HTTP/1.1" 200 49
2023-05-16 14:15:23.208 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): <IP_ADDRESS>:8881
2023-05-16 14:15:23.236 - urllib3.connectionpool - DEBUG - https://<IP_ADDRESS>:8881/ "GET /v2.1/agents/d432fbb3-d2f1-4a97-9ef7-75bd81c00000 HTTP/1.1" 200 784
2023-05-16 14:15:23.236 - keylime.tenant - INFO - Agent Info:
{"d432fbb3-d2f1-4a97-9ef7-75bd81c00000": {"operational_state": "Start", "v": "zJEaAACsFWX+oVUmaQHe2NGz+qB01m2mspctv1R9/24=", "ip": "<IP_ADDRESS>", "port": 9002, "tpm_policy": "{\"mask\": \"0x400\"}", "meta_data": "{\"cert_serial\": 2, \"subject\": \"OU=53,O=MITLL,L=Lexington,ST=MA,CN=d432fbb3-d2f1-4a97-9ef7-75bd81c00000,C=US\"}", "has_mb_refstate": 0, "has_runtime_policy": 1, "accept_tpm_hash_algs": ["sha512", "sha384", "sha256"], "accept_tpm_encryption_algs": ["ecc", "rsa"], "accept_tpm_signing_algs": ["ecschnorr", "rsassa"], "hash_alg": "", "enc_alg": "", "sign_alg": "", "verifier_id": "default", "verifier_ip": "<IP_ADDRESS>", "verifier_port": 8881, "severity_level": null, "last_event_id": null, "attestation_count": 0, "last_received_quote": 0, "last_successful_attestation": 0}}
2023-05-16 14:15:23.236 - keylime.tenant - INFO - Agent ID d432fbb3-d2f1-4a97-9ef7-75bd81c00000 added to the Verifier after 0 tries
2023-05-16 14:15:23.237 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): <IP_ADDRESS>:9002
2023-05-16 14:15:23.256 - urllib3.connectionpool - DEBUG - https://<IP_ADDRESS>:9002/ "GET /v2.0/keys/verify?challenge=UbjTVkdruKf6YTVtjpNC HTTP/1.1" 200 149
2023-05-16 14:15:23.257 - keylime.tenant - ERROR - Key derivation failed
2023-05-16 14:15:23.257 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): <IP_ADDRESS>:8881
2023-05-16 14:15:23.280 - urllib3.connectionpool - DEBUG - https://<IP_ADDRESS>:8881/ "PUT /v2.1/agents/d432fbb3-d2f1-4a97-9ef7-75bd81c00000/stop HTTP/1.1" 200 49
2023-05-16 14:15:23.281 - keylime.tenant - INFO - Agent d432fbb3-d2f1-4a97-9ef7-75bd81c00000 stopped

Is this happening with a default ca.conf, without any overriding from environment variables?

In an environment with a non-default password in the ca.conf used by the tenant, I cannot reproduce the problem. Let me try with the "default" password, which will trigger the request for the password...

I am sorry, I do not recall. Definitely I was also checking scenarios with custom password defined in ca.conf but can't remember if this was the case.

Yes, according to logs I had default password.

I have just reproduced it. I was following the scenario from
https://github.com/RedHat-SP-Security/keylime-tests/blob/main/functional/basic-attestation-on-localhost/test.sh
and after adding the agent I have removed it and then tried adding it back.
Or, simply add the agent and then run the same tenant command with -c update.

Ok, my mistake, I have managed to reproduce it. Somehow I missed the --verify option on the tenant. I can see the same error with something as simple as /keylime_tenant -c add -v <IP_ADDRESS> -r <IP_ADDRESS> -t <IP_ADDRESS> -u 81412947-7332-5187-beeb-c0386ce7556c --verify -f /empty.txt . The error happens with "default" and non-default values for CA_PASSWORD on ca.conf.

@ansasaki so, this is interesting... The above mentioned command (the "simplest possible" -c add), with the option --verify fails with two subsequent attempts at adding the agent to a verifier(second just after removal of the first)
The nature of the failure is that the hmac sent by the agent no longer matches what is calculated by the tenant, with key K and challenge as parameters, resulting in "Key derivation failed"
Evidently, restarting the agent "fixes" it.

Hum, this scenario is tested as part of the unit tests in the agent. I'm not saying that the issue is not there, but we should check the values in both sides and check if somehow the new values of U and V are mixed with the old in the tenant.

yup, doing it (and a few more things) now, will let you know.

@ansasaki ok, inserted a few debug statements on agent code (the tenant already had the conveniently present config.INSECURE_DEBUG which print the actual value of K, U, V in the logs...  a good suggestion for the agent) and can confirm that the U key is  correct on both sides on subsequent adding attempts (the V key is never received on the second attempt, given the Key derivation failure at the tenant)

@ansasaki ok, inserted a few debug statements on agent code (the tenant already had the conveniently present config.INSECURE_DEBUG, which prints the actual value of K, U, V in the logs... a good suggestion for the agent) and can confirm that the U key is correct on both sides on subsequent adding attempts (the V key is never received on the second attempt, given the Key derivation failure at the tenant)

I think I know what is happening. The agent does not replace K until both the new U and V are received. The tenant tries to verify that the agent has the new K before the agent receives the V part. For this request, the agent will use the old K, resulting in failure on tenant side.
We have some options:

Make the tenant to tolerate the response of the challenge with the old K (e.g. implementing retry).

Alternatively, add an API for the agent to be notified when it was removed from the verifier (so that it can drop K)

Drop K immediately when a new U is received on agent side. This can cause problems when multiple tenants are adding the agent (not saying multiple tenants are supported at the moment, but it can worsen the situation in my point of view)
Implement support for multiple tenants on the agent (basically support having multiple K)
Rethink the whole U, V and K protocol. It is not FIPS compliant, it is tied with the RSA algorithm to encrypt U and V, it does not use standard key wrapping format. Basically we will need to do this anyway when making keylime FIPS compliant and PQ-crypto ready.

Given the fact that we are now seeing these failures cropping up on other PRs, I suggest we implement the second alternative (drop K as soon as new U is received) for now as stopgap measure. You are very much on point that we will have inevitably redesign the whole protocol for FIPS compliance anyway.

Given the fact that we are now seeing these failures cropping up on other PRs, I suggest we implement the second alternative (drop K as soon as new U is received) for now as stopgap measure. You are very much on point that we will have inevitably redesign the whole protocol for FIPS compliance anyway.

For me the best would be to implement the retry on tenant. Making the agent to drop K when a new U is received in my point of view is like adding a bug to the agent to cover for the tenant.

Ok, I will implement a retry on the tenant, just to be able to make forward progress with the rest of PRs. The release process for the agent is less mature anyway, and makes sense not putting more pressure on it while we collectively figure out how to have public container images for it.


remove coverity env var since it is not working

Coverage remained the same at 91.455% when pulling b6639e557f7851c1953c93a85a3f8d893ea6aa87 on c9s-patch-1 into 9b69f3852788f0ae028b819e2ffa5af2ff7bcc95 on 2.0.


Handle Concurrency Errors in Lambda deployments

Unable to deploy Lambda function: The function could not be updated due to a concurrent update operation. { ResourceConflictException: The function could not be updated due to a concurrent update operation.
    at deserializeAws_restJson1UpdateFunctionConfigurationCommandError (/home/circleci/repo/node_modules/@aws-sdk/client-lambda/dist/cjs/protocols/Aws_restJson1.js:7670:41)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  name: 'ResourceConflictException',
  '$fault': 'client',
  '$metadata':
   { httpStatusCode: 409,
     requestId: '9ce0bb78-d6c9-4e26-8803-a037ffccf10c',
     extendedRequestId: undefined,
     cfId: undefined,
     attempts: 1,
     totalRetryDelay: 0 },
  Type: 'User' }
error: AmazonWebServices - The function could not be updated due to a concurrent update operation.

https://app.circleci.com/pipelines/github/adobe/helix-deploy/254/workflows/ef7cfa1c-2bf0-4993-9412-09cd672a44a0/jobs/230/steps

haven't seen this for a while... closing won't fix for now


In diagnostics, when directory is not writable, also hint to set permission.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

I don't want to admit how long it took me to notice the actual permission problem (/facepalm) with my (/user/local/sbin) directory, but it was preventing install of qemu, and I hope this will help the next person (who might be me again):
Warning: The following directories are not writable by your user:
/usr/local/sbin

You should change the ownership of these directories to your user.
  sudo chown -R $(whoami) /usr/local/sbin

And make sure that your user has write permission.
  chmod u+w /usr/local/sbin

Please let me know if there is something I should do for the failing test, but it looks unrelated, to me at least:
...
Step 9/9 : RUN HOMEBREW_NO_ANALYTICS=1 HOMEBREW_NO_AUTO_UPDATE=1 brew tap homebrew/core 	&& chown -R linuxbrew: /home/linuxbrew/.linuxbrew 	&& rm -rf ~/.cache
 ---> Running in 90b2fc031c0c
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
Service 'sut' failed to build: The command '/bin/sh -c HOMEBREW_NO_ANALYTICS=1 HOMEBREW_NO_AUTO_UPDATE=1 brew tap homebrew/core 	&& chown -R linuxbrew: /home/linuxbrew/.linuxbrew 	&& rm -rf ~/.cache' returned a non-zero code: 1
##[error]Bash exited with code '1'.``

I see the tests are now passing (sweet) due to an upstream change, but it is possible that https://github.com/Homebrew/brew/pull/5915 may have provided an alternative solution as well.


Define electra types and apis

Add electra type definition and update apis to include new types.
Follow up of #101

also looks like the submodule update would help the linter errors


Correction of broken links in CHANGELOG.md

What type of PR is this?
Add one of the following kinds:

correction

What this PR does / why we need it:
Correct the links to raw YAML file for Redoc and Swagger (removed blob/)
Which issue(s) this PR fixes:

n/a - minor change
Special notes for reviewers:
Update r1.1 release description as well.

Same for sim-swap-subscription links.
Note: the sim-swap-subscription part from CHANGELOG.md is not in the r1.1 release description. Is this by intention? @fernandopradocabrillo

Same for sim-swap-subscription links.
Note: the sim-swap-subscription part from CHANGELOG.md is not in the r1.1 release description. Is this by intention? @fernandopradocabrillo

No, it's a mistake, I'll fix it tight now


[VQC-CHALLENGE] [Qualition] [2022-11-01]

Team members
John Goldengardiner
A.C.E
Rupesh
Avhijt Nair
Vishal Mandal
Submission summary
private submission
qbraid account<EMAIL_ADDRESS>Additional comments
Acc: 100, QCost: 94.17

Thanks for your submission! Your model achieved an average 94% accuracy over 3 tests against our judging data set. Since your previous submission achieved 100% accuracy, that score will stand (including the quantum cost), and will not be replaced.


Request, create a shortcut to fsi window

The documentation is a little sparse. I have installed the package however I'm not seeing how to open an fsi window. Is there a keyboard shortcut for this like in VS?

Alt+Enter sends the selection to


Adjust the locking mechanism in daemon

pod list lock is dedicated for pod list internal access now
set pod return status success only if the pod return with all 0 value, i.e. set failed if user stop it. and some other stop processing adjustment
move the demon methods about create/start pod to a new file
move all leveldb code to daemondb package, and remove unnecessary daemon method for those have in daemondb
remove some old flag or methods, including autoremove, GetPod/RunPod

LGTM


OpenGL (Epoxy) in one header of Radix

I unify headers, such as glad or epoxy for Radix
By CMAKE at now enabled EPOXY
Yes, this is loading additional CPP file

Yes, I anyway will working on...

How to make high priority of my commit?

I mean again and didn't know what means against (before when I translated).


[Feature] Credit Card Payoff Calculator

Description
Calculate time needed to pay off credit card debt based on payments and interest rate.
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[X] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Go ahead @Yuvraj960


no implicit conversion of nil into String

================================================================================
Recipe Compile Error in /var/chef/cache/cookbooks/kafka/recipes/default.rb
TypeError
no implicit conversion of nil into String
Cookbook Trace:
/var/chef/cache/cookbooks/kafka/recipes/_service.rb:6:in from_file'   /var/chef/cache/cookbooks/kafka/recipes/default.rb:10:in from_file'
Relevant File Content:
/var/chef/cache/cookbooks/kafka/recipes/_service.rb:
1:  #
2:  # Cookbook Name:: kafka
3:  # Recipe:: _service
4:  #
5:
6>> template kafka_init_opts[:env_path] do
7:    source 'env.erb'
8:    owner 'root'
9:    group 'root'
10:    mode '644'
11:    helpers(Kafka::EnvFile)
12:    if restart_on_configuration_change?
13:      notifies :create, 'ruby_block[coordinate-kafka-start]', :immediately
14:    end
15:  end
System Info:
chef_version=13.7.16
platform=centos
platform_version=7.0.1406
ruby=ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]
program_name=chef-client worker: ppid=21837;start=16:19:16;
executable=/opt/chef/bin/chef-client
Running handlers:
[2018-02-20T16:19:24-05:00] ERROR: Running exception handlers
Running handlers complete
[2018-02-20T16:19:24-05:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 08 seconds
[2018-02-20T16:19:25-05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2018-02-20T16:19:25-05:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-02-20T16:19:25-05:00] ERROR: no implicit conversion of nil into String
[2018-02-20T16:19:25-05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Figured it out. Mistake by me. My apologies.


Observed frequency is 48.57 Hz rather than 52 Hz (IMU datasheet)

https://community.st.com/s/question/0D53W00002GFgaLSAT/lsm6dsoxism330dhcx-real-sample-rate-lower-than-expected-in-fifo-mode

I am using the LSM6DSOX and ISM330DHCX in FIFO mode at 52 Hz or 208 Hz. For 52 Hz the real frequency turns out to be
 about 48.57 Hz, and proportionally so for 208 Hz. I am confirming this through the number of samples collected between GPS
 fixes and when comparing a signal against another type of sensor. The observed frequency is stable at this rate.

Could this be real or is there something wrong in my application? The FIFO is checked using an RTC and is never allowed to
run full (the overflow, full, overflow_latched) bits are checked. I drain (pop) the number of samples available at the RTC
 interrupt, but do not reset it. Does operating the FIFO or draining it halt the FIFO or reduce the number of samples?

I observe the same both with the LSM6DSOX and the ISM330DHCX.

IMU configuration: [github.com/gauteh/sfy/blob/main/sfy-buoy/src/waves/mod.rs#L231](https://github.com/gauteh/sfy/blob/main/sfy-buoy/src/waves/mod.rs#L231)

FIFO drain function: [github.com/gauteh/sfy/blob/main/sfy-buoy/src/waves/mod.rs#L395](https://github.com/gauteh/sfy/blob/main/sfy-buoy/src/waves/mod.rs#L395)

There was a bug in the dataset generation where I forgot to take the offset in the FIFO into account when generating the time vector. Fixed on main. This was a post-processing bug, so by re-running dataset-exports the error is gone and the frequency is much closer to 52 Hz (and no correction is usually necessary).

ODR specified in the datasheet refers to typical value, so the actual ODR may differ from typical value.

You can get actual ODR of the device following equation "ODRactual" stated in section 6.4 Timestamp of both AN for LSM6DSOX and ISM330DHCX:

https://www.st.com/resource/en/application_note/an5398-ism330dhcx-alwayson-3d-accelerometer-and-3d-gyroscope-with-digital-output-for-industrial-applications-stmicroelectronics.pdf

https://www.st.com/resource/en/application_note/an5272-lsm6dsox-alwayson-3d-accelerometer-and-3d-gyroscope-stmicroelectronics.pdf


Ss/marketplace decode receipt

This PR mainly add 3 new tasks to decode the transaction receipt and return useful information about what the transaction did.
It also detailed the return data of task sendSignTransaction and merge the different events into one data struct.
I will create another PR that implement this modification in the marketplace commands.
This PR is the service side of stuff needed for this comments:
https://github.com/mesg-foundation/core/pull/817/files/a56eb0e3aa55f2fc435a0e76537b7c52eb4375c9#r266858115
https://github.com/mesg-foundation/core/pull/817/files/a56eb0e3aa55f2fc435a0e76537b7c52eb4375c9#r266861843

I was thinking something based on the event for the command and this, the refactoring for the events is good but I don't see the need of creating the tasks for this. The service should expose the data and task really necessary and should abstract as much as possible to technology it uses.
For me this service should only expose data and tasks related to the data of the marketplace not to ethereum (except maybe the transaction to sign and propagate). So adding tasks here about processing data from eth is not necessary especially that we have these data with the events and we just need to listen the events.

I was thinking something based on the event for the command and this, the refactoring for the events is good but I don't see the need of creating the tasks for this. The service should expose the data and task really necessary and should abstract as much as possible to technology it uses.
For me this service should only expose data and tasks related to the data of the marketplace not to ethereum (except maybe the transaction to sign and propagate). So adding tasks here about processing data from eth is not necessary especially that we have these data with the events and we just need to listen the events.

There is no way to fully link a transaction to the event, except by decoding the event from the log of the transaction receipt (what this PR is doing).
As there is no know index, it will be a big guess to associate and triggered event from the execution of a task. What happen when many people are using the smart contract at the same time? Then some execution of task will return the result of other. Otherwise, it needs to listen until a event match some criteria, but i feel it's overcomplicated.

The only way to get a nice result with only one function, will be to merge, for example, createServiceOrder, with signTransaction and decodeLogCreateServiceOrder. But to do so, it will require a service composition to use signTransaction of service ethwallet.

FYI, here is a proof of concept that solves the problem with the CLI and doesn't need any modification here https://github.com/mesg-foundation/core/compare/feature/command-marketplace...feature/command-marketplace-with-listen

closing in favor of https://github.com/mesg-foundation/core/pull/844


Enqueued Songs do not play

After the playing song ends the next song in the queue does not play.

I looked at this a little and I'm unsure why enqueued songs are not playing, when debugging it appears they are being successfully added to the queue, but the next song is not played when the current one ends.


Error from ApiStatusCodesTable

Im using this as dependency for another project and tried updating to v0.0.13 but encontered an error when trying to display the API.
It doesn´t ever show the page. I tried downloading this example and compile it myself but no changes. Even the example seems broken to me. I don´t know why you guys are not having the same error as me.. I tracked the error back to commit 193710b088a97fd7bf5f5641e51d875fc26e340b (10/12/2020)
I got an easy fix but I didn´t explore it deeply.
It seems that from that commit you are using ApiRequestBodyTable to display ApiStatusCodeTable. But at ApiStatusCodes the body not always provides a content.. And since from ApiRequestTableBodyTable we have this code:
  if (body === undefined) {
    return null;
  }

  // NOTE: We just pick a random content-type.
  // How common is it to have multiple?

  const randomFirstKey = Object.keys(body.content)[0];

It fails to access 0 index of undefined.
Easy fix:
  if (body?.content === undefined) {
    return null;
  }
  const randomFirstKey = Object.keys(body.content)[0];

I will make a pull request if it seams fair.

Oh yea I think this error was introduced in the PR we just merged

You fix looks good to me, happy to merge a PR if you open one

Should be fixed I v0.0.14


Investigate and possibly add pages missing from sidebar

While working on #420 I noticed some pages were part of the docset but not listed in the sidebar. They're still published pages, and are accessible via search (both Algolia and external search):

https://ranchermanager.docs.rancher.com/getting-started/quick-start-guides/deploy-rancher-manager/outscale-qs and https://ranchermanager.docs.rancher.com/v2.6/getting-started/quick-start-guides/deploy-rancher-manager/outscale-qs need to be added to the sidebar

This seems like a simple oversight, but it would be good to doublecheck.

I looked through the commit history and it seems like these pages were accidentally overlooked during the site move.


Include source link when importing examples

Based on the animated gif showing the plugin usage, it did not appear that a link to the original SO post was included when importing code. That should probably be added, right?

You mean in the copied code? Good idea. Only problem is that the comment syntax is different based on the current language which makes this a bit more complicated.

I haven't had time to dig into whether this would work or not, but would something like https://atom.io/docs/api/v1.4.1/Selection#instance-toggleLineComments work?

Perhaps. Thanks for the suggestion.

I came across this thread because I was thinking about implementing something like this - if I get chance I will give it a go. Thanks @dhm116 for the API reference.

It should be noted that you are technically required to provide a link to StackOverflow code, unless using it under fair use.
See http://blog.stackoverflow.com/2009/06/attribution-required/

Yep for the time being. This will change in a few weeks though: http://meta.stackexchange.com/questions/272956/a-new-code-license-the-mit-this-time-with-attribution-required

@Chris911 Well, they changed their mind I'm pretty sure (given the vote). We have no idea what the license is going to be.

@ChristopherKing42 this was part of the reason for my previous patch that was @Chris911 applied to the release - since the questions and answers listed didn't either show the original author or wasn't linked back to their profile (which is point 3 and 4 of the above link).
@Chris911 already had a link back to the question (point 2). And point 1 is obvious from the package and the tab's name.
I appreciate that those changes I did in the last update are for the interface, and not for the imported code examples, but since the package is essentially publishing the data it should also conform there too.
Most good programmers will attribute the authors anyway, and the package does provide them with enough information for them to do so. That said, I'm sure that if @Chris911 doesn't do it for the code imports, then I probably will when I get the time to. Since it would be nice for it to do it automatically.
To make this issue report more constructive, I think we should discuss the style we would like it to appear in the code.

@dhm116 thanks for the link, I ended up passing in a {select: true} as an option for insertText(text, [options]), and then using toggleLineCommentsInSelection() followed by toggleLineCommentsInSelection().

I believe this can now be closed, right?

I think so. Fixed via https://github.com/Chris911/Ask-Stack-Atom/issues/35

I'm also updating the animated gif in the README to reflect the new changes.

Nice! Hopefully it might attract more people seeing the new additions. Just a small one, but it might be worth adding a link to the package in the repo description. https://atom.io/packages/ask-stack

There's already a link in the README under "package homepage" but I can add it in description on top as well.

True, I only added it to the description in my fork because I'm lazy. However, it is also the first place I look when seeing someone's repo, so I can only imagine that's where most people would look first.

@Chris911 just noticed that the gif/image hadn't been updated. Thought I would mention it incase you created it but forgot to upload it.

Yeah I created it but the image size was too big (15+ mb). I might give it another go this week. Ideally I'd like to host the image not in the repo as it will increase the size for nothing.

This might be an alternative solution for doing just that: https://git-lfs.github.com/ or alternatively, create a new repo for resource files such as images and link to it that way? There's also things like imgur, etc...


Expose http connector

Is your feature request related to a problem? Please describe.
I'm building a static binary for a docker container, but this seems to cause issues with rustls-native-certs and I need to use webpki-roots instead.  async-stripe is hardcoded to use the default http client AFAICT, which uses rustls-native-certs.
Describe the solution you'd like
Some packages have features for the root CA package they use (native, manual, or webpki) but an easier solution might be just allowing the user to pass in an http client, or a method to expose the http client builder or something.
Describe alternatives you've considered
No response
Additional context
No response

Well I'm blind, I checked and thought I didn't see any features.


Add info on IOCTL_KEYBOARD_QUERY_EXTENDED_ATTRIBUTES and KEYBOARD_EXTENDED_ATTRIBUTES struct

Information gained from ntddkbd.h and HID Usage Table Review Request 42: Consumer Page Keyboard Assist Controls

@DJm00n : Thanks for your contribution! The author(s) have been notified to review your proposed change.

See my comments in #351

Summon @Karl-Bridge-Microsoft :)

@Karl-Bridge-Microsoft  @GrantMeStrength any comments?

@Karl-Bridge-Microsoft any news on this?

Hi @DJm00n - I have to do some due diligence on this, esp. as there are new topics being added.
My review.
Vetting by feature team.
TOC changes required.
A number of moving parts, so please be patient and I'll get to this asap. Note, I might have to close this PR without merging and make the updates on a private, internal branch.
Thanks.

@Karl-Bridge-Microsoft Thank you for follow up.

@DJm00n - files have been updated in an internal PR. If any concerns, please open a new issue/pr on those updated topics. Thanks.


MXF Add HDR Vivid supoort

Hello, last year we communicated with you regarding the addition of the "HDR Vivid" label to the HDR Format in MediaInfo (see issue 1653).  At that time, support was added for MP4 and MOV formats, and dynamic metadata extraction was incorporated into HEVC encoding.
Now, I would like to enable support for the HDR Format label in the analysis of MXF files.  However, when I use MediaInfo to analyze an MXF file, it is unable to recognize the codec ID.  I have an MXF stream that contains HDR Vivid dynamic metadata.  Could you please advise on how to proceed?  Any suggestions?
Wishing you my sincerest regards.

First step: providing a sample file.
Then we analyze the file and depending on the complexity:

if easy, we implement it for free.
if complex, we put it in the queue of the things to do in free support, no commitment that it is done soon but you can sponsor its prioritization (it was the case for support in MP4 and MOV formats).

Okay, here is the MXF stream, which contains HDR Vivid dynamic metadata.
Uploading 4K_265_PQ_HDRvividMD_420p10.zip…

Is the file you provided in production?
It is weird:
There seems to be a descriptor with 060E2B34027F01010E23060701010103 , the registry is 7F which is reserved and it seems that the registry should be the classic 53 (2-byte key, 2-byte length).
Additionally the InstanceID of this descriptor is not registered in any sequence so it is orphelin.
There is a private organization 23 which is not registered at SMPTE, is it UWA and the SMPTE registry is not up to date?
We find the UWAFrameData element in the file, it is a new XML format not supported yet.

@SHEN925 any specification?
T/UWA 005.2-1-2022 does not mention MXF integration.

--There seems to be a descriptor with 060E2B34027F01010E23060701010103 , the registry is 7F which is reserved and it seems that the registry should be the classic 53 (2-byte key, 2-byte length).
You can refer to the PDF file on the HDR Vivid MXF Encapsulation Method in the documentation, which provides an explanation of the descriptor and the location of the dynamic metadata.
--There is a private organization 23 which is not registered at SMPTE, is it UWA and the SMPTE registry is not up to date?
The 23rd entry in the CRIFST registration on https://www.smpte-ra.org/class-1314-registrations is for HDR Vivid dynamic metadata.
--T/UWA 005.2-1-2022 does not mention MXF integration.
T/UWA 005.2-1-2022 currently does not have updated MXF-related information in this document, so you won’t find the details there.
In MXF, dynamic metadata is stored in XML format, and the documentation includes XML template files for your reference!

HDR Vivid MXF Source.zip
This is the material mentioned above.

You can refer to the PDF file on the HDR Vivid MXF Encapsulation Method in the documentation, which provides an explanation of the descriptor and the location of the dynamic metadata.

Thank you, I see that it is similar to PHDR tracks (SMPTE RDD 56, DataDefinition + SourceTrackID + SimplePayloadSID in descriptor, and Generic Stream Data Element Key at the end) , so I can know what is the meaning of each private UL.
But it does not change the issue about "7f" registry designator.
SMPTE ST 377: "Table 18 – Common Universal Label Value for all Abstract Structural Metadata Groups"
"6 Registry Designator: 7fh Abstract Groups, no KLV encoding syntax specified"
"060e2b34.027f0101.0e230607.01010103" is not an abstract group, it is a classic group coded as a local set using 2-byte tag values and 2-byte length values consistent with all MXF descriptors, with private ULs listed in the Primer Pack, check the note e.g. "Note 2: According to SMPTE ST 336, the xx has the value of 13h for BER long or short form encoded length and 53h for 2-byte length".
(I already saw in some specs, if I remember well, the "7f" thing but with a note that "7f" must be replaced by the value corresponding to the encoded content, so if 2-byte tag values and 2-byte length values the registry byte shall be "53")
It is incoherent; either this is a Abstract Structural Metadata Group and there is no additional private ULs in the Primer pack and no Generic Stream Data Element Key, or it is a standard group with the private ULs in the Primer Pack. It can not be abstract and with private ULs in the Primer Pack at the same time.
You can check MXF RDD 56, the Descriptor UL has 53 in the registry byte, as all other standardized descriptors.
I also note that there is no link between the video stream and the Vivid XML stream, so as is they are 2 independent streams not related to each other. The Vivid descriptor instance ID should be be referenced as a subdescriptor in the SubDescriptor item in the CDCI descriptor, in addition to the already listed HEVC subdescriptor instance ID.
I don't see something explicit in the SMPTE RDD 56 but all SMPTE RDD 56 files I have up to now have the Generic Stream Data Element Key related descriptor in the list of subdescriptors of the CDCI or RGBA main descriptor.
I can guess to which video stream the Vivid content applies because there is only 1 video stream but technically I should not do that with what is in this file. Anyway, if a HDR Vivid stream is orphelin and if there is a video stream, I'll force an association between both stream, but it would be preferable that you fix your muxer for adding the HDR Vivid descriptor in the list of sub descriptors of the main descriptor, in addition to fix the UL of the descriptor to "060e2b34.02530101.0e230607.01010103".

The 23rd entry in the CRIFST registration on https://www.smpte-ra.org/class-1314-registrations is for HDR Vivid dynamic metadata.

The XML registry, even the draft one, is not up to date :(.
I added CRIFST manually.

This is the updated MXF file. You can use it for testing.
hevc_420p10_5s.zip


v0.1.2

Codecov Report

Merging #8 (8e8da11) into main (0f997ce) will increase coverage by 9.86%.
The diff coverage is 97.22%.

@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
+ Coverage   84.58%   94.44%   +9.86%
==========================================
  Files           9        9
  Lines         240      234       -6
==========================================
+ Hits          203      221      +18
+ Misses         37       13      -24

Impacted Files
Coverage Δ

src/fastapi_redis_cache/util.py
96.15% <ø> (+36.89%)
:arrow_up:

src/fastapi_redis_cache/cache.py
94.11% <96.15%> (+7.75%)
:arrow_up:

src/fastapi_redis_cache/client.py
94.94% <100.00%> (+3.68%)
:arrow_up:

src/fastapi_redis_cache/key_gen.py
100.00% <100.00%> (ø)

src/fastapi_redis_cache/redis.py
100.00% <100.00%> (+38.88%)
:arrow_up:

Continue to review full report at Codecov.

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


not able to export values in airflow variable section

Hi  @krichter722  ,
to export variable in admin--->variables of airflow ui
I have defined
airflow:
variables: '{ "environment": "dev" }'
in my values.yaml file.
variable is getting uploded and geeting key as environment but values field had value invalid instead of dev.
I edited environment variable in airflow UI and saw the value was blank
can someone help.
thanks in advance

Issue resloved by defining faranet key


Add vat as translatable field.

Currently vat field is not translatable. Please add it :) Thanks in advance!

I'll pick this up next. Please standby!

Even though it's not in the translate field. You can just use the 'tax-notation' setting to change the vat notation. So this shouldn't be a blocker for you. I am moving the setting to translate today anyway, because it's a more appropriate spot.

It will be backwards compatible, so you could use either.

Alright, done. Vat is now a translatable field.


MicroWebSrv2 on W5500-EVB-Pico for WebSockets

I am trying to get websockets to work on a W5500-EVB-Pico.
I need Ethernet (vs WiFi), because it will be for a low-latency project where I'll need
In XAsyncSockets.py, I had to comment the following 3 lines (🤷♂) :

socket.settimeout(0)
socket.setblocking(0)
srvSocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
(I guess the W5500 handles this on its side anyway...)

At this point, HTTP works just fine...
Then, I wrote a simple test script for the ws client (tested succesfully on an ESP-32) :
from time import sleep
ws = create_connection("ws://<IP_ADDRESS>/")
while True:
    print("Sending 'Hello, World'...")
    ws.send("Hello, World")
    print("Received '%s'" % ws.recv())
    sleep(1)
ws.close()

However, on the console I see the accept, but it seems the code isn't able to detect it's a text or binary input (or something else is going wrong)...
MWS2-DEBUG> From <IP_ADDRESS>:80 GET / >> [101] Switching Protocols
MWS2-INFO> WebSocket accepted from <IP_ADDRESS>:80.
WS ACCEPT
==> After receiving empty response I get a "Connection reset by peer" on the client side...
If I try again, same result :
MWS2-DEBUG> From <IP_ADDRESS>:80 GET / >> [101] Switching Protocols
MWS2-INFO> WebSocket accepted from <IP_ADDRESS>:80.
WS ACCEPT
Anyone achieved to get WebSockets working on RP2040 ?
@jczic, I can lend you a W5500-EVB-Pico if you want to test it.

I switched to a nightly build of micropython (official) and now I don't need to comment the 3 socket settings...
However, I am still blocked at WS ACCEPT. 🤷♂

Hi @philippebourcier and thank you for using this web server 👍🏻
Well, do you have trying the example with main.py file ?
So, to correctly receive websocket message, you must to set callback functions in the OnWebSocketAccepted handler.
Example:
def OnWebSocketAccepted(microWebSrv2, webSocket) :
    print('WebSocket accepted:')
    webSocket.OnTextMessage     = OnWebSocketTextMsg
    #webSocket.OnBinaryMessage = OnWebSocketBinaryMsg
    #webSocket.OnClosed               = OnWebSocketClosed

def OnWebSocketTextMsg(webSocket, msg) :
    print('WebSocket text message: %s' % msg)

wsMod.OnWebSocketAccepted = OnWebSocketAccepted

Also, do you have checked if you can receive a msg sent by the server to your javascript?
Or do you think that the problem come from XAsyncSocket lib on your pico board?

OK, looks like I had copied a bad example (SendText vs SendTextMessage, etc. 🤦♂)... 🤷♂
Now everything works fine.
However, I am not really convinced in terms of stability and latency seems a bit high. 😬
def OnWebSocketAccepted(microWebSrv2, webSocket) :
    webSocket.OnTextMessage = OnWebSocketTextMsg

def OnWebSocketTextMsg(webSocket, msg) :
    webSocket.SendTextMessage(msg)

mws = MicroWebSrv2()
mws.BindAddress           = ('<IP_ADDRESS>',80)
mws.SetEmbeddedConfig()
wsMod = MicroWebSrv2.LoadModule('WebSockets')
wsMod.OnWebSocketAccepted = OnWebSocketAccepted
mws.StartManaged()

while True: sleep(1)

mws.Stop()

When the browser idles, the websocket server becomes unavailable (socket seems closed)...
Is there something to run to clear idle/unused connections and/or relaunch the server automatically ?

You mean that when the browser stays connected with a javascript websocket that doesn't transmit, the server on the card doesn't accept other websockets? I'm not sure I understand in fact.
There are many parameters that can be configured indeed, I have to understand your problem because all the interactions with the sockets in the server are managed by my XAsyncSockets lib (with event management, buffers, concurrency and parralelism).


Add debugging contextmanger

@ChrisBeaumont: This PR adds some debugging/validation capability to help validate that predicate.P behaves identically to Q in test suites.
Changes
I moved OrmP into a different module, and added a context manager that monkeypatches P.eval with a version that checks the invariant previously checked by OrmP.
Factoring that out into a method allowed me to avoid some infinite recursion issues I ran into trying to add negation invariants to OrmP before. I tried adding those invariants in https://github.com/lucaswiman/django-predicate/commit/2f2a99ceea1ef1f79a24325cf2472bdd9d1a4e08, but they broke some tests. For now, it's probably wise to consider negation a "beta" feature, and use the patch_with_orm_eval in tests to validate the behavior of P.eval.
Bug reports for any discrepancies found would be greatly appreciated!
Usage
from predicate.debug import patch_with_orm_eval
with patch_with_orm_eval():
    some_code_involving_P()

This will fail with an AssertionError if any discrepancies are found with the ORM behavior of the ORM. Note that though P.eval can filter based on computed properties, the ORM invariants will fail with some kind of "field not found" or "invalid lookup" errors, so the patch_with_orm_eval method will only work on genuine Django model fields.

Cool, this looks good to me!

Thanks for the suggestion. This has been deployed to pypi: https://pypi.python.org/pypi/django-predicate/1.3.0


Test for compatibility with iot.js

Samsung is putting out a new low resource javascript runtime for devices. We should test if they are compatible. Currently it doesn't have a fully implemented http stack.
https://github.com/Samsung/iotjs

I should say they are shooting for node compatibility.


Skip win and py35

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Thanks @isuruf!


[SPARKR-193] Retry backend connection if it doesn't come up

Using loop to check connection state and wait a proper&short time interval during each check.

I simply use stop when it failes to connect for now.

Thanks @lythesia  - The updates look good to me. I also tried this out locally and tested it by injecting some delays etc. and the patch works as expected.
@felixcheung Any other comments ? If not I'll merge this.

LGTM. Thanks for including me.

Great. Merging this


Added plugin load order so that bean override would be proper.

@halfbaked Could you please merge this PR as well? Thanks! for your support 👍


native automation: fix undefined of reqOpts

Any chance we can create a dot release soon? This is the last issue preventing me from switching to native.

We are currently working on the next major release. The fix will be included in v3.0.0.


hooks server 9992 port  is occupied.

Bug description
Hooks port 9992 not killed when Wg process terminates.
How to reproduce

Run 'wunderctl up --debug --listen-addr <IP_ADDRESS>:9991'
See error

{"level":30,"time":1660807160760,"pid":79013,"hostname":"ansondeMacBook-Pro.local","msg":"Hooks plugin registered"}
{"level":50,"time":1660807160765,"pid":79013,"hostname":"ansondeMacBook-Pro.local","code":"EADDRINUSE","errno":-48,"syscall":"listen","address":"<IP_ADDRESS>","port":9992,"stack":"Error: listen EADDRINUSE: address already in use <IP_ADDRESS>:9992\n    at Server.setupListenHandle [as _listen2] (node:net:1334:16)\n    at listenInCluster (node:net:1382:12)\n    at doListen (node:net:1520:7)\n    at processTicksAndRejections (node:internal/process/task_queues:84:21)","type":"Error","msg":"Could not start the hook server"}
2022-08-18T15:19:20+08:00       fatal   Config Bundler: error executing script  {"bundler": "server", "error": "exit status 1"}

Run 'lsof -i:9992'

COMMAND   PID  USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
node    76119 anson   22u  IPv4 0xb571adce244db49d      0t0  TCP localhost:palace-1 (LISTEN)

Run 'kill 76119 '
Run 'wunderctl up --debug --listen-addr <IP_ADDRESS>:9991'
success

Expected behavior
No response
WunderGraph information

Environment & setup

OS:
Go version:
Database:
Node.js version:

WunderCtl Version
Version: 0.94.5
Commit: 7b5e6108ec00cb5de98235f33c07b612415dc346
Date: 2022-07-18T09:13:16Z
BuiltBy: ci

Thanks for reporting, we'll have a look. What's your wunderctl version?

Version: 0.94.5
Commit: 7b5e6108ec00cb5de98235f33c07b612415dc346
Date: 2022-07-18T09:13:16Z
BuiltBy: ci

Hi @AnsonCode are you able to reproduce it with the latest release?


ERROR

Describe the bug
A clear and concise description of what the bug is.
Im getting error
To Reproduce
Steps to reproduce the behavior if there are any.
On server start Im getting error.
Information:

Skript version: 2.6.3
Server software: Purpur
Server version: 1.19.3

Additional context
Add any other context about the bug here.

Fixed in 4.1.9


Viewport lock and child-select lock buttons should be toggles

It is more conventional and intuitive that the viewport buttons for locking/unlocking nodes and child-selection locking/unlocking nodes are singular toggleable buttons than independent buttons.
This is the current layout:

And this is an example of what it could look like by what I mean by toggleable:

(pardon my mediocre graphics skills)
Toggling lock state by clicking the button is also more consistent with toggling lock state by clicking on node lock icons in the Scene panel:

Glancing at the current layout makes it appear as if there are more functions than there actually are, and as we know about good UX, the fewer unnecessary buttons, the more approachable the UI.

+1 Agreed! This same thought occurred to me, the first few times I ever used Godot, and then I just got used to it. Would be a nice little improvement.

@Oranjoose @akien-mga this feature has already been implemented, so this issue can be closed.


Support requestFullscreen() options

See https://developer.mozilla.org/en-US/docs/Web/API/FullscreenOptions

In Chrome version （72.0.3626.121 ）
TypeError: Failed to execute 'requestFullscreen' on 'Element': parameter 1 ('options') is not an object.

A FullscreenOptions object  providing options
var Promise = Element.requestFullscreen(options);
Need to change to

elem[request](keyboardAllowed ? Element.ALLOW_KEYBOARD_INPUT : {});

@issuehunt has funded $40.00 to this issue.

Submit pull request via IssueHunt to receive this reward.
Want to contribute? Chip in to this issue via IssueHunt.
Checkout the IssueHunt Issue Explorer to see more funded issues.
Need help from developers? Add your repository on IssueHunt to raise funds.

I try to fix this issue in #148 😉


Load command

Resolves #68

Coverage increased (+0.05%) to 83.684% when pulling 432c6d855e10415d2e003887035416a916d8d84f on Load-command into 7cf8f6f76fa3903a51872b4f0b39a602423f7a94 on master.

Coverage increased (+0.03%) to 83.673% when pulling 2599a976bb342614181b4fad496ea2d36cc0678c on Load-command into 6ea4e73d215bea951f2634567e4a82cc45564df8 on master.

Coverage increased (+0.3%) to 83.912% when pulling 1f081dfb6c7439a955b593dbfe3d717205657f2e on Load-command into 6ea4e73d215bea951f2634567e4a82cc45564df8 on master.

Coverage increased (+0.3%) to 83.912% when pulling 94de0f63cf7ee714a57388641ffb2304c5ba0174 on Load-command into 6ea4e73d215bea951f2634567e4a82cc45564df8 on master.

Coverage increased (+0.3%) to 83.93% when pulling e34290d3246c1660098f4ef1254cf0c8256388a6 on Load-command into 8cafa514b92a6a8d31650ae4c6dea3de999079eb on master.

Hey @INCENDE Is this good to merge?

Coverage increased (+0.2%) to 84.202% when pulling cbfe4724e72a86015bbc3673b93e8f7e6f8dcadb on Load-command into 614aa8c625fe66e60133ae82b79f666ed993cdd0 on master.

Yes. Thanks


Hbc::SystemCommand error

When upgrading casks via buo/homebrew-cask-upgrade, a system command error is thrown. A fix is currently waiting to be merged into the next release.

Fixed with https://github.com/buo/homebrew-cask-upgrade/commit/95ae966b0da577d94833d38d70784dd9fd9d9efe


Update Crossplane maintainers

Description of your changes

Consider this a request to be a formal Crossplane maintainer. :) I believe I already have most of the responsibilities and rights of a senior maintainer per our Governance document.
Leaving this in draft to start a discussion. We may want to consider updating the areas each maintainer is responsible for to better reflect the current state of the project.
Tangentially, we're hitting the point that it would increase velocity to have more folks with permission to merge approved pull requests. @jbw976 suggested we consider adopting Rook's approver/reviewer policy, which I believe would address this in a fashion that is complimentary to my understanding of our current governance model.
Checklist

I have:

[x] Run make reviewable to ensure this PR is ready for review.
[x] Ensured this PR contains a neat, self documenting set of commits.
[x] Updated any relevant documentation, examples, or release notes.
[ ] Updated the RBAC permissions in clusterrole.yaml to include any new types.

Closing in favor of https://github.com/crossplaneio/crossplane/pull/951.


Do travis-ci on os-x

Coverage remained the same at 85.794% when pulling 27d8df49e0e96b79abb86b8fa79e6c347f311e85 on sevikkk/travis-osx into ebc2c6a8a15beaa295de0f8fac0e0dde8eddb974 on master.

Coverage remained the same at 85.794% when pulling 27d8df49e0e96b79abb86b8fa79e6c347f311e85 on sevikkk/travis-osx into ebc2c6a8a15beaa295de0f8fac0e0dde8eddb974 on master.

Coverage remained the same at 85.794% when pulling d0f7dba345a4509943244f64f06ac3d0a2f437da on sevikkk/travis-osx into ebc2c6a8a15beaa295de0f8fac0e0dde8eddb974 on master.

Coverage remained the same at 85.794% when pulling d0f7dba345a4509943244f64f06ac3d0a2f437da on sevikkk/travis-osx into ebc2c6a8a15beaa295de0f8fac0e0dde8eddb974 on master.

Coverage remained the same at 85.794% when pulling d0f7dba345a4509943244f64f06ac3d0a2f437da on sevikkk/travis-osx into ebc2c6a8a15beaa295de0f8fac0e0dde8eddb974 on master.

Coverage remained the same at 85.794% when pulling d0f7dba345a4509943244f64f06ac3d0a2f437da on sevikkk/travis-osx into ebc2c6a8a15beaa295de0f8fac0e0dde8eddb974 on master.

Coverage remained the same at 85.794% when pulling d0f7dba345a4509943244f64f06ac3d0a2f437da on sevikkk/travis-osx into ebc2c6a8a15beaa295de0f8fac0e0dde8eddb974 on master.

Coverage remained the same at 85.794% when pulling 51937d8301de3ba474e5ee9e526fefe2a519ada9 on sevikkk/travis-osx into ebc2c6a8a15beaa295de0f8fac0e0dde8eddb974 on master.

Coverage remained the same at 85.794% when pulling 51937d8301de3ba474e5ee9e526fefe2a519ada9 on sevikkk/travis-osx into ebc2c6a8a15beaa295de0f8fac0e0dde8eddb974 on master.

Coverage remained the same at 85.794% when pulling 51937d8301de3ba474e5ee9e526fefe2a519ada9 on sevikkk/travis-osx into ebc2c6a8a15beaa295de0f8fac0e0dde8eddb974 on master.

Coverage increased (+0.3%) to 83.228% when pulling 8c26c075d6e032c8735e37d338ae3ec1439bb4f8 on sevikkk/travis-osx into e791e9748d3f292c4d86b424801d2beacb27aa61 on master.

Coverage increased (+0.3%) to 83.228% when pulling 8c26c075d6e032c8735e37d338ae3ec1439bb4f8 on sevikkk/travis-osx into e791e9748d3f292c4d86b424801d2beacb27aa61 on master.

Coverage increased (+0.3%) to 83.228% when pulling 8c26c075d6e032c8735e37d338ae3ec1439bb4f8 on sevikkk/travis-osx into e791e9748d3f292c4d86b424801d2beacb27aa61 on master.

Coverage increased (+0.3%) to 83.228% when pulling 8c26c075d6e032c8735e37d338ae3ec1439bb4f8 on sevikkk/travis-osx into e791e9748d3f292c4d86b424801d2beacb27aa61 on master.

Coverage remained the same at 82.882% when pulling 8c26c075d6e032c8735e37d338ae3ec1439bb4f8 on sevikkk/travis-osx into e791e9748d3f292c4d86b424801d2beacb27aa61 on master.

Coverage remained the same at 82.882% when pulling 50efdbe3cb2822d4a03191ad2029f1cf752e4e78 on sevikkk/travis-osx into e791e9748d3f292c4d86b424801d2beacb27aa61 on master.

Coverage remained the same at 82.882% when pulling 50efdbe3cb2822d4a03191ad2029f1cf752e4e78 on sevikkk/travis-osx into e791e9748d3f292c4d86b424801d2beacb27aa61 on master.

Coverage remained the same at 82.882% when pulling 50efdbe3cb2822d4a03191ad2029f1cf752e4e78 on sevikkk/travis-osx into e791e9748d3f292c4d86b424801d2beacb27aa61 on master.

Coverage remained the same at 82.882% when pulling 50efdbe3cb2822d4a03191ad2029f1cf752e4e78 on sevikkk/travis-osx into e791e9748d3f292c4d86b424801d2beacb27aa61 on master.

Coverage remained the same at 82.882% when pulling 50efdbe3cb2822d4a03191ad2029f1cf752e4e78 on sevikkk/travis-osx into e791e9748d3f292c4d86b424801d2beacb27aa61 on master.

Coverage remained the same at 82.882% when pulling 50efdbe3cb2822d4a03191ad2029f1cf752e4e78 on sevikkk/travis-osx into e791e9748d3f292c4d86b424801d2beacb27aa61 on master.

Coverage remained the same at 82.882% when pulling 50efdbe3cb2822d4a03191ad2029f1cf752e4e78 on sevikkk/travis-osx into e791e9748d3f292c4d86b424801d2beacb27aa61 on master.

Coverage remained the same at 82.882% when pulling 50efdbe3cb2822d4a03191ad2029f1cf752e4e78 on sevikkk/travis-osx into e791e9748d3f292c4d86b424801d2beacb27aa61 on master.

Coverage remained the same at 82.882% when pulling 50efdbe3cb2822d4a03191ad2029f1cf752e4e78 on sevikkk/travis-osx into e791e9748d3f292c4d86b424801d2beacb27aa61 on master.

Coverage increased (+0.06%) to 82.939% when pulling 5901bb70870b07d2b3214d4cb7fbc5b2dcc028d1 on sevikkk/travis-osx into e791e9748d3f292c4d86b424801d2beacb27aa61 on master.


coco.odgt

I wanna use the coco dataset for training, however I can't find the coco.odgt on any website.
Or how can I convert the JSON files into odgt files?
Thank you for any help!

link：https://pan.baidu.com/s/156ibBsTI5sMOo6LIuFVreg
password：zjvg
@0fine0

Thank you for sharing the odgt files, it's really helpful !!!
Could you please give out the python file which is used to convert coco files into odgt files? I want to change all the coco files into odgt files and use them to train networks. Thank you anyway!
@yangxue0827


Postgresql database creation

Hello Mark,
I encountered an issue when i ran buffalo db create -a . It displayed the normal message for successful creation of database, but running the application could not create transaction. After checking, I found out non of the database was created.
I got this when I added fmt.Println(string(comboOut))

Using the create database command with option (-c command)  before the postgres URL,
solved the issue.
I can't confirm if it's only a windows command prompt problem, but this problem occurred on windows.

Thanks!


Flight control and video capture via python

I'm trying to control the drone's flight and also capture the video via python, using Qgroundcontron on Ubuntu.
My phantom 4 pro did not connect with the Rosetta Drone.
So, I'm thinking of buying another drone to be able to use this release of the rosetta drone app.
At this point, which drone would I be able to achieve these goals (flight control and video capture)?
You commented that both Mavic Air 2 and Mavic Air 2 Pro would probably work.
However, there is a considerable difference in price between them.
Which drone model do you feel most comfortable using the rosetta drone at this moment?
Thank you for your consideration.
Diogo Figueira

The Mavic 2 Pro/Zoom/Enterprice is what was used making the code, so it’s the safest beth.
Best regard
Terje Nilsen
9Tek AS
Norway

On Mar 29, 2021, at 06:23, DIOGOFIGUEIRA @.***> wrote:

I'm trying to control the drone's flight and also capture the video via python, using Qgroundcontron on Ubuntu.
My phantom 4 pro did not connect with the Rosetta Drone.
So, I'm thinking of buying another drone to be able to use this release of the rosetta drone app.
At this point, which drone would I be able to achieve these goals (flight control and video capture)?
You commented that both Mavic Air 2 and Mavic Air 2 Pro would probably work.
However, there is a considerable difference in price between them.
Which drone model do you feel most comfortable using the rosetta drone at this moment?
Thank you for your consideration.
Diogo Figueira
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Phantom 4 is not enabled in the code but has been tested in previous tests.
Enable the phantom 4 by adding it to the list in MainActivity.java
Adding the following cases:
case PHANTOM_4_STANDARD:
case PHANTOM_4_ADVANCED:
case PHANTOM_4_PROFESSIONAL:

worked, but not sure which one did the trick.

I added the lines to the MainActivity.java file.
The messages say that it has been registered and that it has been connected with the Phantom 4 Pro.
Then I hit the OPEN button and it turns gray.
After that, should another screen appear?
I open Qgrouncontrol, but it says that it has lost connection with the drone.
Thank you for your help

After the button is pressed you should be welcomed with the application view, could you maybe share your logs? This can be done using catlog.
Thanks in advance

Hello lilfish,
I replaced my phantom 4 pro with a mavic 2 pro,
but the error remains the same.
Below, the log you requested.
Thank you very much for your help so far.
build.board: MSM8226
build.bootloader: 0x411A
build.brand: motorola
build.cpu_abi: armeabi-v7a
build.cpu_abi2: armeabi
build.device: peregrine
build.display: LPBS23.13-35.5-1
build.fingerprint: motorola/peregrine_retbr/peregrine:5.1/LPBS23.13-35.5-1/1:user/release-keys
build.hardware: qcom
build.host: ilclbld52
build.id: LPBS23.13-35.5-1
build.manufacturer: motorola
build.model: XT1040
build.product: peregrine_retbr
build.radio: unknown
build.serial:<PHONE_NUMBER>
build.tags: release-keys
build.time:<PHONE_NUMBER>000
build.type: user
build.user: hudsoncm
version.codename: REL
version.incremental: 1
version.release: 5.1
version.sdk_int: 22
--------- beginning of main
05-12 22:36:26.028 W/m       (10214): Cannot obtain root
05-12 22:36:26.028 W/m       (10214): java.io.IOException: Error running exec(). Command: [su] Working Directory: null Environment: null
05-12 22:36:26.028 W/m       (10214): at java.lang.ProcessManager.exec(ProcessManager.java:211)
05-12 22:36:26.028 W/m       (10214): at java.lang.Runtime.exec(Runtime.java:173)
05-12 22:36:26.028 W/m       (10214): at java.lang.Runtime.exec(Runtime.java:246)
05-12 22:36:26.028 W/m       (10214): at java.lang.Runtime.exec(Runtime.java:189)
05-12 22:36:26.028 W/m       (10214): at com.nolanlawson.logcat.b.m.a(Unknown Source)
05-12 22:36:26.028 W/m       (10214): at com.nolanlawson.logcat.b.w.a(Unknown Source)
05-12 22:36:26.028 W/m       (10214): at com.nolanlawson.logcat.b.p.b(Unknown Source)
05-12 22:36:26.028 W/m       (10214): at com.nolanlawson.logcat.d.doInBackground(Unknown Source)
05-12 22:36:26.028 W/m       (10214): at android.os.AsyncTask$2.call(AsyncTask.java:292)
05-12 22:36:26.028 W/m       (10214): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-12 22:36:26.028 W/m       (10214): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
05-12 22:36:26.028 W/m       (10214): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
05-12 22:36:26.028 W/m       (10214): at java.lang.Thread.run(Thread.java:818)
05-12 22:36:26.028 W/m       (10214): Caused by: java.io.IOException: Permission denied
05-12 22:36:26.028 W/m       (10214): at java.lang.ProcessManager.exec(Native Method)
05-12 22:36:26.028 W/m       (10214): at java.lang.ProcessManager.exec(ProcessManager.java:209)
05-12 22:36:26.028 W/m       (10214): ... 12 more
--------- beginning of system
05-12 22:37:15.686 W/ResourcesManager(10214): Asset path '/system/framework/com.google.android.maps.jar' does not exist or contains no resources.
05-12 22:37:15.842 W/ResourcesManager(10214): Asset path '/system/framework/com.google.android.media.effects.jar' does not exist or contains no resources.
05-12 22:37:15.911 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:15.911 W/PackageManager(10214): Failure retrieving resources for com.android.bluetooth: Resource ID #0x0
05-12 22:37:15.927 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:15.928 W/PackageManager(10214): Failure retrieving resources for com.alphainventor.filemanager: Resource ID #0x0
05-12 22:37:15.943 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:15.944 W/PackageManager(10214): Failure retrieving resources for com.google.android.gm: Resource ID #0x0
05-12 22:37:15.960 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:15.960 W/PackageManager(10214): Failure retrieving resources for com.google.android.apps.plus: Resource ID #0x0
05-12 22:37:15.973 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:15.974 W/PackageManager(10214): Failure retrieving resources for com.google.android.talk: Resource ID #0x0
05-12 22:37:15.992 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:15.992 W/PackageManager(10214): Failure retrieving resources for com.android.mms: Resource ID #0x0
05-12 22:37:15.996 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:15.997 W/PackageManager(10214): Failure retrieving resources for com.google.android.apps.docs: Resource ID #0x0
05-12 22:37:16.023 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.023 W/PackageManager(10214): Failure retrieving resources for com.android.bluetooth: Resource ID #0x0
05-12 22:37:16.028 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.028 W/PackageManager(10214): Failure retrieving resources for com.alphainventor.filemanager: Resource ID #0x0
05-12 22:37:16.031 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.031 W/PackageManager(10214): Failure retrieving resources for com.google.android.gm: Resource ID #0x0
05-12 22:37:16.034 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.034 W/PackageManager(10214): Failure retrieving resources for com.google.android.apps.plus: Resource ID #0x0
05-12 22:37:16.038 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.038 W/PackageManager(10214): Failure retrieving resources for com.google.android.talk: Resource ID #0x0
05-12 22:37:16.041 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.041 W/PackageManager(10214): Failure retrieving resources for com.android.mms: Resource ID #0x0
05-12 22:37:16.046 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.046 W/PackageManager(10214): Failure retrieving resources for com.android.bluetooth: Resource ID #0x0
05-12 22:37:16.055 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.055 W/PackageManager(10214): Failure retrieving resources for com.alphainventor.filemanager: Resource ID #0x0
05-12 22:37:16.060 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.060 W/PackageManager(10214): Failure retrieving resources for com.google.android.gm: Resource ID #0x0
05-12 22:37:16.064 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.064 W/PackageManager(10214): Failure retrieving resources for com.google.android.apps.plus: Resource ID #0x0
05-12 22:37:16.069 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.069 W/PackageManager(10214): Failure retrieving resources for com.google.android.talk: Resource ID #0x0
05-12 22:37:16.078 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.078 W/PackageManager(10214): Failure retrieving resources for com.android.bluetooth: Resource ID #0x0
05-12 22:37:16.083 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.083 W/PackageManager(10214): Failure retrieving resources for com.alphainventor.filemanager: Resource ID #0x0
05-12 22:37:16.088 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.088 W/PackageManager(10214): Failure retrieving resources for com.google.android.gm: Resource ID #0x0
05-12 22:37:16.091 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.092 W/PackageManager(10214): Failure retrieving resources for com.google.android.apps.plus: Resource ID #0x0
05-12 22:37:16.100 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.100 W/PackageManager(10214): Failure retrieving resources for com.google.android.talk: Resource ID #0x0
05-12 22:37:16.103 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.104 W/PackageManager(10214): Failure retrieving resources for com.android.mms: Resource ID #0x0
05-12 22:37:16.107 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.108 W/PackageManager(10214): Failure retrieving resources for com.google.android.apps.docs: Resource ID #0x0
05-12 22:37:16.114 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.114 W/PackageManager(10214): Failure retrieving resources for com.android.bluetooth: Resource ID #0x0
05-12 22:37:16.119 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.120 W/PackageManager(10214): Failure retrieving resources for com.alphainventor.filemanager: Resource ID #0x0
05-12 22:37:16.132 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.132 W/PackageManager(10214): Failure retrieving resources for com.google.android.gm: Resource ID #0x0
05-12 22:37:16.139 W/ResourcesManager(10214): Asset path '/system/framework/com.google.android.maps.jar' does not exist or contains no resources.
05-12 22:37:16.139 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.140 W/PackageManager(10214): Failure retrieving resources for com.google.android.apps.plus: Resource ID #0x0
05-12 22:37:16.142 W/ResourcesManager(10214): Asset path '/system/framework/com.google.android.media.effects.jar' does not exist or contains no resources.
05-12 22:37:16.143 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.143 W/PackageManager(10214): Failure retrieving resources for com.google.android.talk: Resource ID #0x0
05-12 22:37:16.148 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.149 W/PackageManager(10214): Failure retrieving resources for com.android.mms: Resource ID #0x0
05-12 22:37:16.411 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.411 W/PackageManager(10214): Failure retrieving resources for com.android.bluetooth: Resource ID #0x0
05-12 22:37:16.427 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.428 W/PackageManager(10214): Failure retrieving resources for com.alphainventor.filemanager: Resource ID #0x0
05-12 22:37:16.430 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.430 W/PackageManager(10214): Failure retrieving resources for com.google.android.gm: Resource ID #0x0
05-12 22:37:16.433 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.433 W/PackageManager(10214): Failure retrieving resources for com.google.android.apps.plus: Resource ID #0x0
05-12 22:37:16.436 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.436 W/PackageManager(10214): Failure retrieving resources for com.google.android.talk: Resource ID #0x0
05-12 22:37:16.439 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.440 W/PackageManager(10214): Failure retrieving resources for com.android.mms: Resource ID #0x0
05-12 22:37:16.442 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.442 W/PackageManager(10214): Failure retrieving resources for com.google.android.apps.docs: Resource ID #0x0
05-12 22:37:16.451 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.451 W/PackageManager(10214): Failure retrieving resources for com.android.bluetooth: Resource ID #0x0
05-12 22:37:16.456 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.456 W/PackageManager(10214): Failure retrieving resources for com.alphainventor.filemanager: Resource ID #0x0
05-12 22:37:16.459 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.459 W/PackageManager(10214): Failure retrieving resources for com.google.android.gm: Resource ID #0x0
05-12 22:37:16.461 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.462 W/PackageManager(10214): Failure retrieving resources for com.google.android.apps.plus: Resource ID #0x0
05-12 22:37:16.464 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.464 W/PackageManager(10214): Failure retrieving resources for com.google.android.talk: Resource ID #0x0
05-12 22:37:16.466 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:16.466 W/PackageManager(10214): Failure retrieving resources for com.android.mms: Resource ID #0x0
05-12 22:37:21.860 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:21.860 W/PackageManager(10214): Failure retrieving resources for com.android.mms: Resource ID #0x0
05-12 22:37:21.885 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:21.885 W/PackageManager(10214): Failure retrieving resources for com.google.android.apps.docs: Resource ID #0x0
05-12 22:37:22.009 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:22.009 W/PackageManager(10214): Failure retrieving resources for com.google.android.apps.translate: Resource ID #0x0
05-12 22:37:24.851 W/ResourceType(10214): No package identifier when getting value for resource number 0x00000000
05-12 22:37:24.851 W/PackageManager(10214): Failure retrieving resources for com.android.bluetooth: Resource ID #0x0

The Mavic 2 Pro/Zoom/Enterprice is what was used making the code, so it’s the safest beth. Best regard Terje Nilsen 9Tek AS Norway
…
On Mar 29, 2021, at 06:23, DIOGOFIGUEIRA @.***> wrote:  I'm trying to control the drone's flight and also capture the video via python, using Qgroundcontron on Ubuntu. My phantom 4 pro did not connect with the Rosetta Drone. So, I'm thinking of buying another drone to be able to use this release of the rosetta drone app. At this point, which drone would I be able to achieve these goals (flight control and video capture)? You commented that both Mavic Air 2 and Mavic Air 2 Pro would probably work. However, there is a considerable difference in price between them. Which drone model do you feel most comfortable using the rosetta drone at this moment? Thank you for your consideration. Diogo Figueira — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

actually i used mavic 2, i need get raw data telemetry and video trough to my computer (in same network) with Pycharm (python), can you give the solusion?