visual studio 2017 ERROR Exception calling "Start" with "0" argument(s): "The directory name is invalid"

Receiving errors when installing visual studio 2017 professional or enterprise packages on Windows 10: ERROR: Exception calling "Start" with "0" argument(s): "The directory name is invalid"
I've attempted to uninstall the visualstudio2017-installer and retry the other packages, with no success.
Chocolatey v0.10.11 Business
Installing the following packages:
visualstudio2017professional
By installing you accept licenses for the packages.

visualstudio2017-installer v1.0.2
visualstudio2017-installer package files install completed. Performing other installation steps.
 The install of visualstudio2017-installer was successful.
  Software install location not explicitly set, could be in package or
  default install location if installer.

VisualStudio2017Professional v<IP_ADDRESS>
visualstudio2017professional package files install completed. Performing other installation steps.
File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded.
Hashes match.
 Not verifying 'vs_professional.exe'
Hashes match.
Installing Visual Studio Installer...

ERROR: Exception calling "Start" with "0" argument(s): "The directory name is invalid"
The install of visualstudio2017professional was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\VisualStudio2017Professional\tools\ChocolateyInstall.ps1'.
 See log for details.
visualstudio2017professional not installed. An error occurred during installation:
 Stopping further execution as visualstudio2017professional has failed install.
This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 Could not find a part of the path 'C:\ProgramData\chocolatey\lib\VisualStudio2017Professional\.chocolateyPending'.
This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 Could not find a part of the path 'C:\ProgramData\chocolatey\lib\VisualStudio2017Professional\.chocolateyPending'.
Maximum tries of 3 reached. Throwing error.
Could not find a part of the path 'C:\ProgramData\chocolatey\lib\VisualStudio2017Professional\.chocolateyPending'.

I've posted a log: https://gist.github.com/jeremygaither/a4436dca6c195bca4ac4f563a40b97ea

The only thing I can think of that could possibly cause Process.Start() to throw an error like this is if the WorkingDirectory property was set to an invalid value.
My code sets WorkingDirectory to the value of Get-Location (same as the original Chocolatey helper Start-ChocolateyProcessAsAdmin.ps1). I'm guessing in your environment Get-Location returns an unexpected value.
Could you please do the following:

open C:\ProgramData\Chocolatey\extensions\chocolatey-visualstudio\Start-VSChocolateyProcessAsAdmin.ps1 in a text editor with administrative rights
change line 100 from

  $process.StartInfo.WorkingDirectory = Get-Location

to
Write-Warning "Get-Location returns: [$(Get-Location)]"; $process.StartInfo.WorkingDirectory = "${Env:SystemDrive}\"

run cinst -y visualstudio2017professional and post chocolatey.log

This suddenly started working, with no apparent changes on my end. This was also occurring on other packages, so is likely not specific to this package.
I did some testing, and this may have been caused by running chocolatey with the current folder set as either c:\windows\system32 or a UNC path. Changing the current working folder to c:\temp seems to allow chocolatey to work properly.

Ah yes, now that you mention it I recall seeing this error at my company when someone invoked a script containing cinst commands (unrelated to VS 2017) directly from a network share.
You could report this issue to https://github.com/chocolatey/choco and ask for changing the default WorkingDirectory from Get-Location to something predictable, such as "${Env:SystemDrive}\".
Meanwhile, since I'm using my own copy of the affected function, I'll implement a workaround in the VS packages.


HTML interpretation of rants and comments

Hey devs of devrantron. As mentionend in
https://www.devrant.io/rants/818876
every rant or comment is interpreted by the devrantron client. The official website and app don't do that and in my opinion, devrant should be displayed equal on platforms. It's a design question and it's up to you how you handle it ;) Thanks for your nice work, keep it up!

Yeah, this is quite serious. It does not allow for

I think text formatting is fun for a week and then everyone gets tired of it and it becomes more of a way to spam/be annoying than actually increase the quality of rants. We purposely don't format anything (even links) on the main rant feed because we stress the importance of the quality of the rant over how it's formatted/how much space it takes up. That's another reason why rants containing images get slightly down-weighted - because they stand out more in the feed and hence get more attention, naturally.
Also, just to add here - even if we did decide to allow some kind of reasonable formatting, it would not be done through HTML but rather markdown as has been requested pretty thoroughly. Official ticket is here, with some limited discussion but more thoughts are of course appreciated: https://github.com/devRant/devRant/issues/27


Add onFocus and onBlur to Pressable.

Summary

Starting to upstream keyboard-related features from React Native Windows - this is the Android implementation.
Exposing onFocus and onBlur callbacks on Pressable; they're already declared for View in ViewPropTypes.js, which Pressable wraps.
Registering event listeners in ReactViewManager to listen for native focus events.
Changelog

[Android] [Added] - Add onFocus/onBlur for Pressable on Android.
Test Plan
Tested on v63-stable, since building master on Windows is now broken. Screenshots from RNTester running on the emulator:

Renaming ReactTextInputFocusEvent.java to ReactFocusEvent.java and make public for reuse by other classes. Open to suggestions here - is it better to duplicate code by creating a package-private class only accessible by ReactVievManager for these events?

CI failing due to whitespace formatting errors, however when running 'yarn lint --fix' locally, I'm seeing:
Oops! Something went wrong! :(

ESLint: 7.12.0

D:\react1\react-native\packages\react-native-codegen\src\parsers\flow\modules\index.js:13
import type {
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at new Script (node:vm:100:7)
    at NativeCompileCache._moduleCompile (D:\react1\react-native\node_modules\v8-compile-cache\v8-compile-cache.js:242:18)
    at Module._compile (D:\react1\react-native\node_modules\v8-compile-cache\v8-compile-cache.js:186:36)
    at Module._compile (D:\react1\react-native\node_modules\pirates\lib\index.js:99:24)
    at Module._extensions..js (node:internal/modules/cjs/loader:1112:10)
    at Object.newLoader [as .js] (D:\react1\react-native\node_modules\pirates\lib\index.js:104:7)
    at Module.load (node:internal/modules/cjs/loader:948:32)
    at Function.Module._load (node:internal/modules/cjs/loader:789:14)
    at Module.require (node:internal/modules/cjs/loader:972:19)
    at require (D:\react1\react-native\node_modules\v8-compile-cache\v8-compile-cache.js:161:20)
error Command failed with exit code 2.

Have you tried running yarn prettier from the root of react-native?

Thank you so much for taking the time to do this! This is going to be super useful to get conformance and consistent behavior across platforms.

Thanks @TheSavior - running yarn prettier worked! I've also resolved all build issues, and there's only one CI check failing unrelated to this change. Can you take a look, when you get time?

@rectified95 its expected the Hermes checks are currently failing. Thread with Orta, Eloy, and Lorenzo about it here https://teams.microsoft.com/l/message/19:4f7c68bdc3d34c2eafbf6210ee41ac03@thread.skype/1605541147879?groupId=8034415f-bc0a-4b5d-9453-78ee27e16b22

Same problem - I'm getting import errors when I try to unify and move around the event classes. Can't build master on Windows so it's really difficult to diagnose this.


Change column header AND use render function

Summary of problem or feature request
I've been able to use the render function to combine the values of two columns into a single column, but I'm unable to change the column header title without breaking the render function. (I'm using the HTML builder)
Is there a way use render AND change the column header title?
Render works fine here:
 protected function getColumns()
 {
      return [
        'direction' => ['render' => function() {
                return 'function(data, type, row) {return data + " (" + row.MWD +")";}';}]

    ];
}

I've tried defining the "title" attribute, which changes the column header, but breaks the render function
    protected function getColumns()
    {
        return [
            [
                'title' => 'Direction (MWD)',
                'direction' => ['render' => function() {
                return 'function(data, type, row) {return data + " (" + row.MWD +")";}';}]

            ],

    ];
}

-->
System details

OS X 10.11
PHP Version 5.6
Laravel Version 5.3
Laravel-Datatables Version 6.0

@TomAudre I think you should use render directly like:
protected function getColumns()
    {
        return [
            [
                'title' => 'Direction (MWD)',
                'render' => 'function(data, type, row) {return data + " (" + row.MWD +")";}'
            ],
    ];

Hi @yajra - thanks for the suggestion.  I tested it and the datatable rendering stalls at "processing" and I get an error:
(index):104 Uncaught TypeError: Cannot read property 'MWD' of undefined

Sorry for late response, the issue is on client side and is not in the scope of the project. However, maybe try console logging your row first and make sure the MWD property does indeed exists in the row object. Thanks!


Verify that "Izvoru Ampoiului" is listed in the dropdown menu when searched

Description:
"Izvoru Ampoiului" should appear in the dropdown menu with correct spelling and locality information.
Preconditions:
The website is up and running.

Step 1
Type "Izvoru Ampoiului" in the search bar.
Expected results:
The dropdown is listing "Izvoru Ampoiului" as the first location in the dropdown menu.

Step 2
Observe the dropdown menu.
Expected results:
"Izvoru Ampoiului" is displayed and selectable from the dropdown menu.


Failure to install some CIPD packages in Mac Android Debug Engine

In this PR I got the following failure which seems like a failure to install some CIPD packages:
https://ci.chromium.org/p/flutter/builders/try/Mac Android Debug Engine/6488

Triage: also assign to current oncall.

 Please reopen if it fails again.


Bower package is very old and missing many features

If you install through bower you are provided with an extremely out of date version of the package. I'm specifically missing the chunkedLoading stuff.
Can you please release an update version of the package by incrementing the bower version number and creating an appropriate tag?
Thanks and keep up the good work!

what version of leaflet we are waiting for? currently it's 7.3, but still bower package is lacking chunkedLoading.

A newer version than 0.7.3, it's been ages coming.... soon (tm)


Update Changelog.md

Hi everyone,
I open this to ask the maintainers and collaborators to keep the Changelog file up to date. The last table release of the package seems to be v6.7.4 but the Changelog file only keeps track up to version v6.5.0
Thanks

I'm going to look into recreating the CHANGELOG from the Release tags. Just not sure when I will get to it.

The CHANGELOG is mostly up-to-date now. So closing this issue.


added original value to uniqueness validations

Added original_value to the data-validate uniqueness hash on the element
Added the original value to the proper areas in the Validator/Validation Ruby classes
Validation#validate! only runs rails validate_each method if the validation isn't a uniqueness validator that has a value equal to the original value and if the original value in those cases isn't an empty string(because we don't care about uniqueness on empty inputs)

@joecorcoran my OSS experience is limited, but its my understanding that we don't merge our own PR's. Let me know you're thoughts on how you want to handle this.

Aside from the little note above this looks great, thanks @dannysperry! Agree that PRs need a second look wherever possible.


Calling a macro from inside its definition files creates infinite recursion

If I have this in a template "players\peridot_previous_days.rst" :100:
{% macro sometext() %}
This is some text
{% endmacro %}

<{ sometext }/>

Then compilation fails with infinite recursion (calling the macro "normally" works) :
...
  File "C:\Python27\lib\site-packages\jinja2\environment.py", line 1033, in make
_module
    return TemplateModule(self, self.new_context(vars, shared, locals))
  File "C:\Python27\lib\site-packages\jinja2\environment.py", line 1090, in __in
it__
    self._body_stream = list(template.root_render_func(context))
  File "P:\Programming\Chrysalis\script_fixtures\mysteryparty\players\peridot_pr
evious_days.rst", line 1, in top-level template code

  File "C:\Python27\lib\site-packages\jinja2\environment.py", line 1033, in make
_module
    return TemplateModule(self, self.new_context(vars, shared, locals))
  File "C:\Python27\lib\site-packages\jinja2\environment.py", line 1090, in __in
it__
    self._body_stream = list(template.root_render_func(context))
  File "P:\Programming\Chrysalis\script_fixtures\mysteryparty\players\peridot_pr
evious_days.rst", line 1, in top-level template code

  File "C:\Python27\lib\site-packages\jinja2\environment.py", line 1033, in make
_module
    return TemplateModule(self, self.new_context(vars, shared, locals))
  File "C:\Python27\lib\site-packages\jinja2\environment.py", line 1090, in __in
it__
    self._body_stream = list(template.root_render_func(context))
  File "P:\Programming\Chrysalis\script_fixtures\mysteryparty\players\peridot_pr
evious_days.rst", line 1, in top-level template code

  File "C:\Python27\lib\site-packages\jinja2\environment.py", line 1033, in make
_module
    return TemplateModule(self, self.new_context(vars, shared, locals))
  File "C:\Python27\lib\site-packages\jinja2\environment.py", line 1090, in __in
it__
    self._body_stream = list(template.root_render_func(context))
  File "P:\Programming\Chrysalis\script_fixtures\mysteryparty\players\peridot_pr
evious_days.rst", line 1, in top-level template code

  File "C:\Python27\lib\site-packages\jinja2\utils.py", line 350, in get
    return self[key]
RuntimeError: maximum recursion depth exceeded while calling a Python object

Patch is in my pull request : https://github.com/frascoweb/jinja-macro-tags/pull/2


"Unexpected buffer end" error while using the sign function

I am having issues with the "sign" function. It takes two arguments, "path" and "message".
I am using the Polkadot API for Ledger device:
https://github.com/LedgerHQ/ledger-live/tree/develop/libs/ledgerjs/packages/hw-app-polkadot
The HD derivation path for Polkadot is "44'/354'/0'/0'/0'".
Things i've Tried:

At first i tried passing any random string to test it but it throws error " Unexpected buffer end "
then i passed an empty string and logged  the "signature" and it returned "null", as expected
because the function implementation specifies the return as null | string.

I realised, I had to create a proper payload to be passed to the sign function, so i created a custom transaction by taking reference from Polkadot Docs:
https://wiki.polkadot.network/docs/build-transaction-construction

I have tried  passing the  payload as a string, as a u8 array and also as encoded according to methods provided by substrate itself.

whatever I pass into the message argument, it throws error " Unexpected buffer end " .

:link: zboto Link

Hi @lawmeskiviahs! I don't quite understand what are you trying to do here. Could you explain it a little bit? If you are using hw-app-polkadot to interact with the device, you should open the issue in that repository.
If you want to use this repository to communicate with the Ledger device, you can check this example and in order to get some real blobs, you can go to polkadot app and check current and previous tests


Only 10 Devices from Hub working simultaneously

After the integration of S210 Switches I noticed that only 10 devices work at a time. I digged a bit around and I think the issue is that hub.get_children() only returns the first 10 jsons responses despide giving the correct total of devices.
Could you please have a look at this?

Bug confirmed, I'm working on a fix

I think it was working fine before the update in the Tapo app but I am not sure. I suspect some sort of pagination in the request since having exactly 10 is somewhat suspicious.
I hope this helps.

I tested it just now. It works better but still not perfect. Now all but one devices are listed.

Unfortunately, I am also now coming across this issue.  I thought it was something I was doing wrong


Sorting when showing a repo

Hi,
If I execute repo show -with-packages nicolas_prod, I get :
root@utility01:~# sudo -u aptly -H  aptly repo show -with-packages nico_prod
Name: in-and-win_prod
Comment:
Default Distribution: trusty
Default Component: main
Number of packages: 65
Packages:
  dummy_0.1_all
  nico-backend_0.1.100.ffd6a26f0699_all
  nico-backend_0.1.101.d7eb6f3041d4_all
  nico-backend_0.1.102.d13fea606fd8_all
  nico-backend_<IP_ADDRESS>f9e3ec3faf4_all
  nico-backend_<IP_ADDRESS>dad8d3ec97b_all
  nico-backend_0.1.105.ccb4f152cdf6_all
  nico-backend_<IP_ADDRESS>728900891f_all
  nico-backend_<IP_ADDRESS>0feed72f5b_all
  nico-backend_0.1.108.cdfbe54be6e1_all
  nico-backend_0.1.109.c2e3718e0a21_all
  nico-backend_0.1.110.cec424a5631e_all
  nico-backend_0.1.111.eb25eaaf9cd6_all
  nico-backend_<IP_ADDRESS>ae18d8439d8_all
  nico-backend_<IP_ADDRESS>ae18d8439d8_all
  nico-backend_<IP_ADDRESS>ae18d8439d8_all
  nico-backend_<IP_ADDRESS>ae18d8439d8_all
  nico-backend_<IP_ADDRESS>ae18d8439d8_all
  nico-backend_<IP_ADDRESS>ae18d8439d8_all
  nico-backend_<IP_ADDRESS>825fcd2988_all
  nico-backend_0.1.120.fb58ccd17485_all
  nico-backend_<IP_ADDRESS>a6888b3c49_all
  nico-backend_0.1.122.dc40980b1de5_all
  nico-backend_0.1.123.cf0a0f1ca3e6_all
  nico-backend_<IP_ADDRESS>adcb1ea4f25_all
  nico-backend_<IP_ADDRESS>adcb1ea4f25_all
  nico-backend_<IP_ADDRESS>e88e52178d2_all
  nico-backend_<IP_ADDRESS>fb866bc7812_all
  nico-backend_<IP_ADDRESS>4eefc339ee_all
  nico-backend_0.1.129.ba7c18620d37_all
  nico-backend_<IP_ADDRESS>addf6cd3a87_all
  nico-backend_<IP_ADDRESS>2d0335edb6_all
  nico-backend_<IP_ADDRESS>2d0335edb6_all
  nico-backend_<IP_ADDRESS>99c5d7b49f_all
  nico-backend_0.1.137.e40dd32270ed_all
  nico-backend_<IP_ADDRESS>efb3f36841_all
  nico-backend_<IP_ADDRESS>6034693ed8_all
  nico-backend_0.1.140.c392f831b899_all
  nico-backend_<IP_ADDRESS>b6976461f3e_all
  nico-backend_<IP_ADDRESS>8262ae3279_all
  nico-backend_<IP_ADDRESS>a2eaf38eeb_all
  nico-backend_0.1.76.e0c837a107cb_all
  nico-backend_0.1.77.ec22d9ed5a9b_all
  nico-backend_<IP_ADDRESS>b989986ef75_all
  nico-backend_0.1.79.dd001b7639ae_all
  nico-backend_0.1.80.a3df957b3dbd_all
  nico-backend_<IP_ADDRESS>780bfecf69_all
  nico-backend_<IP_ADDRESS>ee46eb95c9_all
  nico-backend_0.1.83.f381a9a1f26b_all
  nico-backend_<IP_ADDRESS>cc97f4519b_all
  nico-backend_0.1.85.f90cc7e34b9d_all
  nico-backend_<IP_ADDRESS>a11ae3934af_all
  nico-backend_<IP_ADDRESS>065842321_all
  nico-backend_<IP_ADDRESS>750e6d4c8f_all
  nico-backend_<IP_ADDRESS>8aff21fed7_all
  nico-backend_<IP_ADDRESS>b39a8687de1_all
  nico-backend_0.1.91.cd0d7af2c396_all
  nico-backend_0.1.92.b1d70d8bb711_all
  nico-backend_<IP_ADDRESS>eac3ad0c01a_all
  nico-backend_<IP_ADDRESS>d587a1fba4_all
  nico-backend_0.1.95.fd2fb31ea5e0_all
  nico-backend_<IP_ADDRESS>ad968e730_all
  nico-backend_<IP_ADDRESS>610c47dbf_all
  nico-backend_<IP_ADDRESS>f7048552dd_all
  nico-backend_<IP_ADDRESS>42a289a6b_all

Wouldn't be better to sort the package names by version rather than by "string" ?
Using Aptly 0.9 package on Ubuntu.

Sounds good.


Upgrade Stardog to 9.1.1

Stardog should be upgraded to 9.1.1, and a new release should be done.
Changelogs: https://docs.stardog.com/release-notes/stardog-platform#911-release-2023-08-23

Done, and released for v0.8.3.


[Snyk-onprem] Fix for 38 vulnerabilities

Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json
package-lock.json

Adding or updating a Snyk policy (.snyk) file; this file is required in order to apply Snyk vulnerability patches.
Find out more.

Vulnerabilities that will be fixed
With an upgrade:

Severity
Issue
Breaking Change
Exploit Maturity

Denial of Service (DoS) SNYK-JS-EXPRESSFILEUPLOAD-473997
Yes
No Known Exploit

Prototype Pollution SNYK-JS-JQUERY-174006
Yes
No Known Exploit

Prototype Pollution SNYK-JS-LODASH-450202
No
Proof of Concept

Prototype Pollution SNYK-JS-LODASH-73638
No
No Known Exploit

Regular Expression Denial of Service (ReDoS) SNYK-JS-LODASH-73639
No
No Known Exploit

Regular Expression Denial of Service (ReDoS) SNYK-JS-MARKED-174116
No
No Known Exploit

Regular Expression Denial of Service (ReDoS) SNYK-JS-MARKED-451540
No
No Known Exploit

Denial of Service (DoS) SNYK-JS-MONGODB-473855
Yes
No Known Exploit

Information Exposure SNYK-JS-MONGOOSE-472486
Yes
No Known Exploit

Prototype Pollution SNYK-JS-YARGSPARSER-560381
Yes
Proof of Concept

Arbitrary File Write via Archive Extraction (Zip Slip) npm:adm-zip:20180415
No
Mature

Regular Expression Denial of Service (ReDoS) npm:debug:20170905
No
No Known Exploit

Code Injection npm:dustjs-linkedin:20160819
No
No Known Exploit

Arbitrary Code Execution npm:ejs:20161128
Yes
No Known Exploit

Cross-site Scripting (XSS) npm:ejs:20161130
Yes
No Known Exploit

Denial of Service (DoS) npm:ejs:20161130-1
Yes
No Known Exploit

Regular Expression Denial of Service (ReDoS) npm:fresh:20170908
No
No Known Exploit

Cross-site Scripting (XSS) npm:jquery:20150627
Yes
No Known Exploit

Prototype Pollution npm:lodash:20180130
No
No Known Exploit

Cross-site Scripting (XSS) npm:marked:20150520
No
No Known Exploit

Cross-site Scripting (XSS) npm:marked:20170112
No
No Known Exploit

Cross-site Scripting (XSS) npm:marked:20170815
No
No Known Exploit

Cross-site Scripting (XSS) npm:marked:20170815-1
No
No Known Exploit

Regular Expression Denial of Service (ReDoS) npm:marked:20170907
No
No Known Exploit

Regular Expression Denial of Service (ReDoS) npm:marked:20180225
No
Proof of Concept

Denial of Service (DoS) npm:mem:20180117
Yes
No Known Exploit

Regular Expression Denial of Service (ReDoS) npm:mime:20170907
Yes
No Known Exploit

Regular Expression Denial of Service (ReDoS) npm:moment:20161019
No
No Known Exploit

Regular Expression Denial of Service (ReDoS) npm:moment:20170905
No
No Known Exploit

Remote Memory Exposure npm:mongoose:20160116
No
Mature

Regular Expression Denial of Service (ReDoS) npm:ms:20170412
Yes
No Known Exploit

Regular Expression Denial of Service (ReDoS) npm:negotiator:20160616
Yes
No Known Exploit

Uninitialized Memory Exposure npm:npmconf:20180512
Yes
Mature

Prototype Override Protection Bypass npm:qs:20170213
No
No Known Exploit

Regular Expression Denial of Service (ReDoS) npm:semver:20150403
Yes
No Known Exploit

Directory Traversal npm:st:20140206
No
No Known Exploit

Open Redirect npm:st:20171013
Yes
Mature

With a Snyk patch:

Severity
Issue
Exploit Maturity

Regular Expression Denial of Service (ReDoS)  npm:ms:20151024
No Known Exploit

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

asdasd


Can anyone provide me small Java code to implement redis pipelining ? I am using " redisson-3.2.2.jar" as Redis client.

You may find pipelining usage described here:
https://github.com/redisson/redisson/wiki/10.-additional-features#103-execution-batches-of-commands


Homogeneity missing in the text [SSOC]

Homogeneity in the text content is missing in "Our Services" section

(For SSOC Contribution)

Please assign it to me !

@ShivanshAr97 Do you wanna change the button text or the picture?

Yes! Changing the button text of "Talking Therapy" (I have indicated with arrow)
It should match with other buttons

Please assign if possible?

@ShivanshAr97 go ahead


Sort by meta

Hello 👋
I tried to sort by a meta parameter, date, which i have in the 2021-12-16 format. I do that since I moved from another system and the creation/revision sort order doesn't make much sense since they all came in at the same time. Looking at the code it wasn't immediatly visible to me if it should work or if only the two sort-parameters creation and revision work at this moment.

Yeah, the current version only supports sorting by git logs, which will cause this problem. I will looking into this soon.

You should't clone your repository by a shadow clone, which will lost all previous git logs. This is mentioned in the documentation, and you can also check git's documentation.
I think that the plugin indeed needs to support overriding the time using meta, though. I will look into this soon.

Yeah, that is a problem. I think the plugin needs to support overriding the time using meta. I will look into this soon.

v1.2.0 supports setting the time via metadata.


Show how to format Grid numbers based on user locale

Could/should it have a select for the locale?

I was considering the option of an override option to make it easier for someone to try without reconfiguring their browser, but I chose the FFS alternative for the initial version. I can add it...

Updated with an override selector. It became slightly ugly since the renderer cannot be reconfigured without recreating the column, but still quite fine.


Reproduce tx reception failure [ECR-2650]

Overview

Add a test of handling random transactions that reproduces the issue:
Add content type header to the request, equal to the value
sent by the frontend (application/x-www-form-urlencoded).
This makes some tests fail.

See a more detailed description in the ticket: https://jira.bf.local/browse/ECR-2650

@dip56 you might use that to develop a regression test, once a fix is integrated.


[Feature Request] Offer to install autocompletion for the running shell

Tell us about your feature request
I just installed go-blueprint - thanks for the sweet tool!
One thing I had to do though was to install the autocompletion for my shell.
I got the autocompletion script for fish, but had to install it manually.
It would be pretty sweet if the autocompletion would be installed automatically for my user, or at least there would be an option to install the autocompletion automatically.
Disclaimer

[X] I agree

Really good suggestions. We would like to see this implemented. Giving users the option to install the autocompletion automatically is the way to go.
If anybody wants to tackle this one, let me know and I can assign it.


problem with upvm command

Hi,
im trying to install the intel onp  by this manual:
https://software.intel.com/en-us/articles/quick-set-up-onp
and when I got to this line:
upvm fedora-23 --img-size 60G --noconsole -n onp21con --root-password password:mypass -m 8192 -c 8 -w network=default -w bridge=br0 -w bridge=br0 -w bridge=br1
im getting this error:

INFO: HOSTNAME not specified; using 'onp21con.example.com'
INFO: Unable to determine native format of chosen template
INFO: Using qcow2 for output format (change with --format=raw)
INFO: Auto-detected os-variant ('fedora23') was reset to latest ('fedora22') validated by osinfo-query
INFO: Initializing libvirt connection to qemu:///session
INFO: Starting virt-builder
[   0.7] Downloading: http://libguestfs.org/download/builder/fedora-23.xz
[   1.6] Planning how to build this image
[   1.6] Uncompressing
[   3.4] Resizing (using virt-resize) to expand the disk to 60.0G
virt-resize: error: unknown/unavailable method for expanding the xfs
filesystem on /dev/sda3
If reporting bugs, run virt-resize with debugging enabled and include the
complete output:
virt-resize -v -x [...]
First execution of 'virt-builder' failed; trying once more ...
[   0.8] Downloading: http://libguestfs.org/download/builder/fedora-23.xz
[   1.6] Planning how to build this image
[   1.6] Uncompressing
[   3.4] Resizing (using virt-resize) to expand the disk to 60.0G
virt-resize: error: unknown/unavailable method for expanding the xfs
filesystem on /dev/sda3
If reporting bugs, run virt-resize with debugging enabled and include the
complete output:
virt-resize -v -x [...]
virt-builder execution failed; unable to continue
(Please send<EMAIL_ADDRESS>this output)
Traceback (most recent call last):
File "/usr/bin/upvm", line 105, in
main()
File "/usr/bin/upvm", line 86, in main
builder.build()
File "/usr/share/upvm/modules/builder.py", line 143, in build
subprocess.check_call(cmd)
File "/usr/lib64/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['nice', 'virt-builder', 'fedora-23', '--output', '/var/lib/upvm/onp21con.qcow2', '--cache', '/var/cache/upvm', '--hostname', 'onp21con.example.com', '--run', '/tmp/upvm-ifcfgdhcphostname-s6ItYC.sh', '--arch', 'x86_64', '--root-password', 'password:mypass', '--size', '60G', '--format', 'qcow2', '--firstboot', '/tmp/upvm-firstboot-sshkeys-cleanup-njaKA9.sh']' returned non-zero exit status 1

probably this command is doing somthing wrong...
apprciating the help,
Thanks.

Hi @itai257
Assuming you're on a RHEL/Fedora system, you need to install the libguestfs-xfs package to add XFS support to virt-resize.

@itai257 I'm going to assume that advice solved your issue ... if you have further questions, please respond back!


resolve_me requires post request

The resolve_me function in /master/core/views.py uses
info.context.json['identity'] = identity

and if the request does not contain a JSON object ie a GET request the thread will fail throwing a NoneType error.

Hey, when would you use GET in the context of this query?

I was manually building queries using curl and up until that function, GET using /graphql?query=... worked fine.
Do you think there should be a more graceful error for this or leave it so that DVGA can also teach flexibility while testing?

I was able to reproduce what you said, thanks for that!
There's no harm in handling the error a little better, I will look into that.


[FEATURE REQUEST] Add support for configurable PodSecurityPolicy setting for Kubernetes

Is your feature request related to a problem? Please describe.
Right now we have PodSecurityPolicy with defaults for flannel.
Describe the solution you'd like
We need to have configurable PodSecurityPolicy setting with configurable policy and also review our current settings for flannel.
Describe alternatives you've considered
None.
Additional context
https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
https://kubernetes.io/docs/concepts/policy/pod-security-policy/
Pod Sec - common uses are denying container escalation, prevent containers from running as root, prevent containers from accessing host networking and filesystem, prevent container escalation.
DenyEscalatingExec - should be used for containers/pods allowed to run in privileged mode.  Denies the use of exec and attach for privlileged containers.

@erzetpe, @seriva I believe it's not longer valid:
https://github.com/epiphany-platform/epiphany/issues/2900

@rafzei Probably you are right, but the new Kubernetes functionality should have a new issue that will cover this area.


chore: remove mode flag

Description
Remove the last references of the orchestrator mode
Closes FL-1331
How has this been tested?

Checklist

[ ] changelog was updated with notable changes
[ ] documentation was updated

/e2e

End to end tests: :hourglass_flowing_sand: STARTING

/e2e

End to end tests: :hourglass_flowing_sand: STARTING


Get Swift-Foundation building for Musl/Static SDK

This adds the missing imports to get Swift-Foundation building against Musl so we can get the static SDK going again.

We can do that, but since they aren't used in the build, we don't need to build them at all.

We can do that, but since they aren't used in the build, we don't need to build them at all.

*yet - eventually the macro will be needed to build Foundation itself, so this isn't an option that we can expect to be long-lived if we did add it

The install/deployment story for macros is still very hazy and will likely need to change, but this is for 6.0.
Without changing SPM and the compiler, the only way to get them to work for 6.0 is for the compiler to pull the macro from the toolchain side of things rather than in the SDK itself. This is safe enough because the static SDK only works with an aligned toolchain, so the macro content in the toolchain and the SDK content in the static SDK can't be out-of-sync and still be a viable configuration.
Unless you're planning on making them required to build Swift-Foundation in the 6.0 release? In which case, yes, we should take the bits of https://github.com/apple/swift-foundation/pull/714 for ensuring that the macros are compiled for the machine doing the build rather than the machine that we're building for. At the same time, in that case, we should build the macro independently as a separate project and expose it through some SwiftFoundationMacroConfig.cmake file so that we can find_package it and re-use the same one across builds instead of rebuilding it for each architecture.

but this is for 6.0.

Ah I missed that this is for 6.0 - normally for 6.0 work we merge to main and then cherry-pick back to 6.0 filling out the nomination template, could we follow that pattern here to be consistent? That will help us on the Foundation team out a lot with the tooling that we use to manage the repo. But yes we don't plan to require the macro to build Foundation itself in the swift 6 timeframe, so if we need to exclude the macro build from the static SDK due the the incompatibilities at the moment, that seems reasonable. Is that what the stdlib macros do today?

https://github.com/apple/swift-corelibs-foundation/pull/5060
@swift-ci please test

This change will need to be cherry-picked to release/6.0. Please tag @itingliu for review since she's the release manager for 6.0

@swift-ci please test


[BUG REPORT] Setup.py installation failing

python setup.py develop command failed with below error message.

Best match: blosc 1.8.1
Processing blosc-1.8.1.tar.gz
Writing /var/folders/yl/9l3dn2s53wdd4__5v1p1cwbm0000gn/T/easy_install-b7znieg5/blosc-1.8.1/setup.cfg
Running blosc-1.8.1/setup.py -q bdist_egg --dist-dir /var/folders/yl/9l3dn2s53wdd4__5v1p1cwbm0000gn/T/easy_install-b7znieg5/blosc-1.8.1/egg-dist-tmp-6xli48d_
SSE2 detected
warning: no files found matching '*.hpp' under directory 'c-blosc'
c-blosc/internal-complibs/zlib-1.2.8/gzread.c:30:15: warning: implicit declaration of function 'read'
is invalid in C99 [-Wimplicit-function-declaration]
ret = read(state->fd, buf + *have, len - *have);
^
c-blosc/internal-complibs/zlib-1.2.8/gzread.c:30:15: warning: this function declaration is not a
prototype [-Wstrict-prototypes]
c-blosc/internal-complibs/zlib-1.2.8/gzread.c:591:11: warning: implicit declaration of function
'close' is invalid in C99 [-Wimplicit-function-declaration]
ret = close(state->fd);
^
c-blosc/internal-complibs/zlib-1.2.8/gzread.c:591:11: warning: this function declaration is not a
prototype [-Wstrict-prototypes]
4 warnings generated.
c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:256:24: warning: implicit declaration of function
'lseek' is invalid in C99 [-Wimplicit-function-declaration]
state->start = LSEEK(state->fd, 0, SEEK_CUR);
^
c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:14:17: note: expanded from macro 'LSEEK'
define LSEEK lseek
            ^

c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:256:24: warning: this function declaration is not a
prototype [-Wstrict-prototypes]
c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:14:17: note: expanded from macro 'LSEEK'
define LSEEK lseek
            ^

c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:355:9: warning: implicit declaration of function 'lseek'
is invalid in C99 [-Wimplicit-function-declaration]
if (LSEEK(state->fd, state->start, SEEK_SET) == -1)
^
c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:14:17: note: expanded from macro 'LSEEK'
define LSEEK lseek
            ^

c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:396:15: warning: implicit declaration of function
'lseek' is invalid in C99 [-Wimplicit-function-declaration]
ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR);
^
c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:14:17: note: expanded from macro 'LSEEK'
define LSEEK lseek
            ^

c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:492:14: warning: implicit declaration of function
'lseek' is invalid in C99 [-Wimplicit-function-declaration]
offset = LSEEK(state->fd, 0, SEEK_CUR);
^
c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:14:17: note: expanded from macro 'LSEEK'
define LSEEK lseek
            ^

5 warnings generated.
c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:84:15: warning: implicit declaration of function
'write' is invalid in C99 [-Wimplicit-function-declaration]
got = write(state->fd, strm->next_in, strm->avail_in);
^
c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:84:15: warning: this function declaration is not a
prototype [-Wstrict-prototypes]
c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:101:33: warning: implicit declaration of function
'write' is invalid in C99 [-Wimplicit-function-declaration]
if (have && ((got = write(state->fd, state->x.next, have)) < 0 ||
^
c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:573:9: warning: implicit declaration of function
'close' is invalid in C99 [-Wimplicit-function-declaration]
if (close(state->fd) == -1)
^
c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:573:9: warning: this function declaration is not a
prototype [-Wstrict-prototypes]
5 warnings generated.
In file included from c-blosc/internal-complibs/zstd-1.3.8/compress/zstdmt_compress.c:27:
c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress_internal.h:190:5: error: unknown type
name 'ZSTD_dictAttachPref_e'
ZSTD_dictAttachPref_e attachDictPref;
^
c-blosc/internal-complibs/zstd-1.3.8/compress/zstdmt_compress.c:675:85: error: use of undeclared
identifier 'ZSTD_c_forceMaxWindow'; did you mean 'ZSTD_p_forceMaxWindow'?
...const forceWindowError = ZSTD_CCtxParam_setParameter(&jobParams, ZSTD_c_forceMaxWindow, !job-...
^~~~~~~~~~~~~~~~~~~~~
ZSTD_p_forceMaxWindow
//anaconda3/include/zstd.h:1110:5: note: 'ZSTD_p_forceMaxWindow' declared here
ZSTD_p_forceMaxWindow=1100, /* Force back-reference distances to remain < windowSize,
^
c-blosc/internal-complibs/zstd-1.3.8/compress/zstdmt_compress.c:999:21: error: use of undeclared
identifier 'ZSTD_OVERLAPLOG_MIN'
if (value < ZSTD_OVERLAPLOG_MIN) value = ZSTD_OVERLAPLOG_MIN;
^
c-blosc/internal-complibs/zstd-1.3.8/compress/zstdmt_compress.c:999:50: error: use of undeclared
identifier 'ZSTD_OVERLAPLOG_MIN'
if (value < ZSTD_OVERLAPLOG_MIN) value = ZSTD_OVERLAPLOG_MIN;
^
c-blosc/internal-complibs/zstd-1.3.8/compress/zstdmt_compress.c:1000:21: error: use of undeclared
identifier 'ZSTD_OVERLAPLOG_MAX'
if (value > ZSTD_OVERLAPLOG_MAX) value = ZSTD_OVERLAPLOG_MAX;
^
c-blosc/internal-complibs/zstd-1.3.8/compress/zstdmt_compress.c:1000:50: error: use of undeclared
identifier 'ZSTD_OVERLAPLOG_MAX'
if (value > ZSTD_OVERLAPLOG_MAX) value = ZSTD_OVERLAPLOG_MAX;
^
c-blosc/internal-complibs/zstd-1.3.8/compress/zstdmt_compress.c:1171:14: error: use of undeclared
identifier 'ZSTD_btultra2'; did you mean 'ZSTD_btultra'?
case ZSTD_btultra2:
^~~~~~~~~~~~~
ZSTD_btultra
//anaconda3/include/zstd.h:450:42: note: 'ZSTD_btultra' declared here
ZSTD_btlazy2, ZSTD_btopt, ZSTD_btultra } ZSTD_strategy;   /* from faster to st...
^
c-blosc/internal-complibs/zstd-1.3.8/compress/zstdmt_compress.c:1173:14: error: duplicate case value
'ZSTD_btultra'
case ZSTD_btultra:
^
c-blosc/internal-complibs/zstd-1.3.8/compress/zstdmt_compress.c:1171:14: note: previous case defined
here
case ZSTD_btultra2:
^
8 errors generated.
error: Setup script exited with error: command 'gcc' failed with exit status 1

Desktop (please complete the following information):

OS: MacOs Mojave, 10.14.6
Python: 3.7.3, Anaconda
Hangar: master branch

Hey @jicksonp. I'll take a look into this tonight. thanks for the bug report! sorry this is giving you issues!

Hey @jicksonp, thanks for the bug report. Sorry you're having issues!
I have a few potential solutions, but this is screaming of a compiler issue. I also use anaconda as my python package manager, and have also found some incompatibilities which the conda compiler while trying to build blosc.
Solution 1
Repull the lastest changes from the master branch, and in a new conda environment (a clean environment, just having been setup with conda create -n foo python=3.7 try the python setup.py develop command. I merged some changes in #130 which removed a few dependencies. These may be all that's needed
Solution 2:
Use the same packages we use for our distribution on conda-forge. We explicitly disable some compiler flags, and use the conda python-blosc package binary to make this work.
From the base conda environment.
export CC=gcc
export CXX=g++
export INCLUDE_ZSTD=0
export DISABLE_BLOSC_SSE2=0
conda update conda
conda create -n foo -c conda-forge python=3.7 python-blosc zstd zlib
conda activate foo
python setup.py develop

Solution 3
If you don't need the latest dev install (and just want to try hangar out with conda) use the precompiled binary on conda-forge
conda create -n foo -c conda-forge python=3.7 hangar

Follow up
Let me know if any of these work for you. If you encounter other errors, or are still stuck post as much info as you can about the system and the conda environment your using and I will debug with you further.
Best,
Rick

Hi @rlizzo, Solution 1 worked fine. Thank you 👍

👍  you are welcome!


Introduce bridge device plugin

[WIP]

/cc @vladikr

I added some documentation and daemon set deployment option.

I need to update vendoring, please merge https://github.com/kubevirt/kubernetes-device-plugins/pull/5 first.


Template example navbar should support multiple links

Regarding this template https://getbootstrap.com/docs/5.0/examples/dashboard/
The current code does not support multiple links.
I understand it looks good as-is but at the same it should allow for some flexibility.

This is only one example of a navbar. We got a whole example section for navbars https://getbootstrap.com/docs/5.0/examples/navbars/ and a documentation too https://getbootstrap.com/docs/5.0/components/navbar/.
AFAICT the examples are meant to be an inspiration and to showcase what you can do with our components not to provide you with a complete copy & paste solution.

I understand and went through the docs.
You can certainly not address everyone's needs with examples but at the same time and that's what I always appreciated with Bootstrap is that most of the time components are ready to go and you have the peace of mind they will work in all situations.
However here, it works with one link but breaks with two which I think is counter-intuitive and with the new utility-based direction, one has to figure out what tweaks and additional classes to add to the mix.
Feel free to close if the template cannot evolve ✌

Well, the template could evolve (and will, opening a PR) since there's IMHO something to change here: this single link shouldn't be in a list item since it's the only one.
However when it comes to the use of such examples, you can't expect it'll exactly fit your needs: it's only an example, tailored on a semantic basis and using the less possible HTML and CSS to accomplish what it means to. As long as you're modifying it to fit your needs, well, you're modifying it.
There's not so much things we could do here since we can't predict what people will use our examples for.
In this specific case, using .flex-row on the .navbar-nav element is what you need.

@olimart Sorry, I didn't mean to be rude or anything. Just wanted to point out that this is just an example that may not fit your needs perfectly. You made a valid point to some extent, which is why this issue wasn't closed. But as you said, it's impossible to predict what needs people might have and to address them all.
There is always room for improvements and we try our best to provide good solutions. As this is an open source project there is always the possibility to contribute with a PR to improve things.

@alpadev no worries I did not take it personal at all. The work done by the team is stellar and quite impressive, what a project.
@ffoodd thanks for the PR and suggestion will definitively give it a try soon.


Typo in RBAC action

Microsoft.Network/virtualNetworks/subnet/join/action should be Microsoft.Network/virtualNetworks/subnets/join/action.

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


MIM #3 Interpretation

I'd recommend the following:
Interpretation:
In this section, we interpet  the physica property models recovered through inversion, in terms of geologic units. The basis of our interpretations comes from the physical properties table (?link?)  and the geologic model (?reproduce here). The cross-section is most appropriate for  N12200.  We also provide two plan view sections (depth??) {Fig 110} that aid the discussion.
The animations for conductivity and chargeabilty can be viewed {link} and  iso-surface images are provided in Fig 109. On those images we have also indicated some features or regions  that can be discussed in our interpretation.
A: Eastern Creek Volcanics: The region is resistive and non-chargeable. It appears as a steeply dipping contact with the adjacent siltstones.
B: The predominant rocks in this region are the Moondara and Native Bee Siltstones. They cannot be distinguished on the basis of conductivity and chargeabilty. The easternly located Moondara rocks may be separated from the Native Bee siltstones by the Eastern Creek volcanics which is a quartzite unit. This should be resistive and non-chargeable. There is some indication that we may be seeing the sequency of “Moondarra siltstone – Eastern Creek Volcanics – Native Bee” in the southern part of the inversion, near 12200 where the cross-section is situated. However, as we proceed north, the resistor disappears and so does any way of separating Moondarra and Native Bee rocks.
C: Breakaway Shales: This is a highly conductive unit that dominates the conductivity model.  Conductivities in the inversion exceeded 10 S/m. The black line D, which denotes the horiontal location of the near surface portion of the unit, will be used in other images.  We note that the shale unit does not appear to be chargeable. This is more evident in the  planview section in Fig 110b. The trace of the high conductivity is associated with chargeabilty lows.
E,F: Mt. Novit Horizon:  This is characterized by a zone of moderately high conductivity and high chargeabilty. The line E has been drawn to reflect that correlation and it corresponds to a similar trajectory presented in the initial paper by Rutley. The chargeability along this trajectory is not uniform. There is variation in amplitude and breakages.
G:  Other regions of chargeabilty, and potentially minerization, within the siltstone complex. Much of this seems to be “in-board”  (west) of the Breakaway shale.
Summary
The inversion has imaged, in 3D, the highly conductive Breakaway Shale unit, the western boundary of the siltstones that host the mineralization, a linear moderately conductive and chargeable feature identified as the Mt Norvit Horizon, and chargeable regions of moderate conductivity between the Mt. Norvit Horizon and the Breakaway shales.
Comment: I’d recommend leaving Fig 111 out of this part and ending it with above positive statements rather than ending with statements concerning artifacts and lack of resolution.

this is supposed to be content.

Taken care of in MIM_DF_edits branch.


Disable price list filter if there are no rates

Describe the bug
When there are no rates in the price list table, disable the filters to not confuse the user with the add rate form.
To Reproduce
Steps to reproduce the behavior:

Go to 'Cost models'
Click on 'Create cost model'
Enter any name and select "Red Hat Openshift Container Platform"
Click 'Next'
See the error

Expected behavior
Disable the filter selectors to imply the user that these are the filters and in order to add a rate she/he needs to click on "Add rate" button.
Screenshots

verified


Deleting an account without login and rewrite delete method.

Uncomment the line.
https://github.com/lusm554/file-transfer/blob/78ccc115ae1d946a3d18ff2a91b13c3188df10d3/src/server/controllers/users.controller.js#L287
Move authentication from delete method to authenticate middleware.
https://github.com/lusm554/file-transfer/blob/78ccc115ae1d946a3d18ff2a91b13c3188df10d3/src/server/controllers/users.controller.js#L316
Rewrite tests for delete method.

Bug fixed


drivers: modem: shell: modem send doesn't honor line ending in modem cmd handler

Describe the bug
Currently the modem subsystem's shell command to send arbitrary AT commands is hard coded to only send a \r line ending. When registering a modem context driver, it sets the preferred line ending in the modem cmd handler, but this isn't used in the modem send shell command.
To Reproduce
Build a Zephyr image with the quectel-bg9x driver (which sets the eol to \r\n). Use modem send 0 AT and you can see on a UART bus sniffer that AT\r is sent.
Expected behavior
Sending a command with modem send should use the line ending configured in the modem context.
Impact
This is less of a production issue, but being able to issue arbitrary AT commands to a modem is extremely helpful during development and debugging, and also is useful in a manufacturing test context as well.
Logs and console output
N/A
Environment (please complete the following information):
N/A
Additional context
With the way the modem command handler is currently implemented, the only public interface to it is the process function pointer. Everything else is left behind an opaque implementation defined pointer. This prevents someone (for example a modem shell command in this case) who only has the modem context from getting the line ending set within that opaque pointer. I'd suggest that we could change the void * to a struct modem_cmd_handler_data*. Right now that is the only concrete implementation of a command handler and I can't think of cases where we would benefit from having different handlers, so I don't think the increased coupling hurts us.
struct modem_cmd_handler {
	void (*process)(struct modem_cmd_handler *cmd_handler,
			struct modem_iface *iface);

	/* implementation data */

	/* Change this from a void *
	 * void *cmd_handler_data;
	 */
	/* to this */
	struct modem_cmd_handler_data *cmd_handler_data;
};

I'm happy to open a PR with the above proposed change if this feels tenable.
@mike-scott might have some thoughts on this.

I'm happy to open a PR with the above proposed change if this feels tenable.
@mike-scott might have some thoughts on this.

@rerickson1 is the new maintainer.

Quick follow up after thinking a bit more, I have another issue I was going to file about how sending arbitrary AT commands doesn't print the output which feels like a common use case. I was thinking about a solution to that which uses the modem cmd handler to send arbitrary AT commands rather than just sending it out raw using the modem iface. I could see having some helper in the modem subsystem that took care of this and printed all response to the shell just for that command. I'm not sure if there is a good way to do this that isn't tightly coupled to individual driver implementations, but that would also solve the eol issue above by using the cmd handler.

Hi, we would like this issue re-opened. I'm from the same company as @MattCampbellST and taking over this effort.

Not stale. Still an issue. Are there any plans to address this?

Not stale. Still an issue. Are there any plans to address this?

Please submit a PR to address the issue.

Hello Avery body, i am exploring the sample cellular modem app  ..\zephyrproject\zephyr\samples\net\cellular_modem and i want to send directly the commandAT using the modem_shell. I added the necessary shell configurations
Modem Shell
CONFIG_MODEM_SHELL=y
CONFIG_SHELL=y
CONFIG_MODEM_CONTEXT=y
but when i use the modem list command, the list is empty, there is no modem receiver.
anyone please have an idea how to fix that.


[RESOLVED] Unavailable by ICMP ping

Problem started at 01:42:15 on 2023.04.14
Problem name: Unavailable by ICMP ping
Host: MF-FG
Severity: High
Operational data: Down (0)
Original problem ID: 16168
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23130&eventid=16168

Problem has been resolved in 5h 22m 59s at 07:05:14 on 2023.04.14
Problem name: Unavailable by ICMP ping
Host: MF-FG
Severity: High
Original problem ID: 16168


Made a blacklist system that i use for my own bot

When this is accepted, make a blacklist.json file [], i forgot to add that


The cursor moving animation

In the previous version, vscode insiders has animation when moving cursors.
But in the latest version, it deleted this feature, why?

we had one insiders released a few days ago which would always enable cursor animations, regardless of settings, but that was a bug. It sounds like you liked that. Please configure "editor.cursorSmoothCaretAnimation": "on".

OK, thanks!


Fix up linking on Windows.

This is required for the UWP Servo build.

r? @paulrouget

@bors-servo r+

Huh, looks like we never set up Homu on this repo.


update toml++ to v2.4.0

other small changes:

removed dependency on some of toml++'s internal macros
updated benchmark script to show relative speedup/slowdown factor
updated README with new benchmark data
updated tloptional
made use of tloptional over std::optional switched based on a configurable #define (tloptional is a great fallback but in general for this library's purposes you should probably prefer std::optional wherever it's available since it targets C++17 at a minimum and vendors are likely to have extensively tested their standard libraries on their specific platforms)

I also removed 'unofficial' from the readme since I think this library is as close to offical a python toml++ wrapper as there's ever likely to be :)

Ah, goddamnit, clang-format.

Thanks this looks great. I had a look at the changes I and they LGTM. I will merge it now.


Clarified README

Clarified README

Divided the tools prerequisites list into two categories, one for System-wide OS requirements and one for k8s specific CLI tools
Added links to the respective pages documenting the installation for each tool.
Cleaned up deploy and local installation section

Removed extra spaces before shell commands
Added quotes around the environment variable value to ensure special chars are ignored by shell

@J00MZ Thank you!


Support getting the docker client version for older versions of docker

This fixes failures when older versions of Docker are used. The format is pretty different, here's an example of the output from older versions:
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 7c8fca2
OS/Arch (server): linux/amd64

And here's what it looks like from newer versions:
Client:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 23:54:00 2016
 OS/Arch:      darwin/amd64

Server:
 Version:      1.12.1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   23cf638
 Built:        Thu Aug 18 17:52:38 2016
 OS/Arch:      linux/amd64

Without this change the build fails with:
Traceback (most recent call last):
File "/tmp/dcos_build_venv/bin/release", line 9, in <module>
  load_entry_point('dcos-image==0.1', 'console_scripts', 'release')()
File "/dcos/release/__init__.py", line 786, in main
  release_manager.create('testing', options.channel, options.tag)
File "/dcos/release/__init__.py", line 679, in create
  metadata = make_stable_artifacts(self.__config['options']['cloudformation_s3_url'] + '/' + repository_path)
File "/dcos/release/__init__.py", line 279, in make_stable_artifacts
  all_completes = do_build_packages(cache_repository_url)
File "/dcos/release/__init__.py", line 495, in do_build_packages
  _build_builders(package_store)
File "/dcos/release/__init__.py", line 488, in _build_builders
  do_build_docker(name, path)
File "/dcos/release/__init__.py", line 455, in do_build_docker
  if LooseVersion(docker_version) < LooseVersion('1.10'):
File "/usr/lib/python3.4/distutils/version.py", line 58, in __lt__
  c = self._cmp(other)
File "/usr/lib/python3.4/distutils/version.py", line 343, in _cmp
  if self.version < other.version:
TypeError: unorderable types: str() < int()

Actually was planning on introducing a hard dependency on Docker 1.11+ for build so we can do https://github.com/docker/docker/pull/11109) + the sha256 image IDs (the previous ones don't quite work right for what we want), which will make build package caching much better.
Is there some particular reason you can't upgrade this host to docker 1.10+ At least?

Unfortunately the environment we'll be building this in is stuck to an older version of Docker. It's not something that our team can really change right now.

Then yea, get this working / passing with your stuff locally and our CI and can land. Docker 1.12 will probably break this again in yet another time (I remember it breaking our preflight script).

After DC/OS 1.8 we can look at what will keep things happy for the docker image id stuff I need + your CI building

Sorry, can you clarify what you mean? Are you saying that you want to hold on this until all of the checks pass and just have me use my own fork/branch with this fix for now?

BTW, I can confirm that this works with Docker 1.12 as that's what I have installed locally.

:ship: Will pull into the next merge train which should go today or tomorrow


Two Factor Remember Browser Cookie Question

In Microsoft ASP.NET individual accounts authentication the user is given the option to skip the second step of two factor verification on the device where he logged in from. I'm using IdSvr3 "AspNetIdentity_2fa" sample. What would be the approach to add that feature to the IdSvr3 "AspNetIdentity_2fa" sample?
The following is from the Startup class of a MVC5 project that uses individual user account authentication:
    // Enables the application to remember the second login verification factor such as phone or email.
    // Once you check this option, your second step of verification during the login process will be remembered on the device where you logged in from.
    // This is similar to the RememberMe option when you log in.
    app.UseTwoFactorRememberBrowserCookie(DefaultAuthenticationTypes.TwoFactorRememberBrowserCookie);

Put that MW in the pipeline and check it wherever you need to (in the user service, mainly). You can inject the OWIN environment into your ctor in the user service.

Thank you @brockallen.
In the Startup class of the WebHost project of the IdSvr3 "AspNetIdentity_2fa", I can place the following line:
app.UseTwoFactorRememberBrowserCookie(DefaultAuthenticationTypes.TwoFactorRememberBrowserCookie);
which of course places the middleware in the pipeline. In the Microsoft code for local user account authentication they set the cookie using:
var result = await SignInManager.TwoFactorSignInAsync(model.Provider, model.Code, isPersistent:  model.RememberMe, rememberBrowser: model.RememberBrowser);
so I think something like that would interfere with the cookies that IdSvr3 generates or the IdSvr3 operation in general.
So could you please shed some light on this? Is there another way to set that cookie?

It's just another cookie middleware with a diff name -- they should not conflict.

OK, thank you.


Abstract the warning channel and create a package for it

@mccanne's proposal at today's group discussion:

To help understand what's going on in a flowgraph, we should abstract the warning channel that's in proc context and create a package for it. It doesn't have to be complicated initially, but over time it will do more powerful things, such as make it easier to enable different types of warnings. Think of it as being like a logger, but for the warning channel.
As part of the exercise, we should document the model and settle on the nomenclature for the different classes of error.

Likely an MVP1 target.

@mccanne will be doing the first part of this in his hazmat PR.

Async warnings don't work very well.  This mechanism should be replaced by in-line errors throughout the analytics core and compile-time analysis combined with meta-data introspection can catch most of the typos, e.g., your query returns nothing because there is no field fu in the lake when you meant to type foo.

With new model of explicit missing and embeddeda, warnings are no longer needed.  We will make the UX never when the compile-time analysis can raise problems immediately when it consults the meta-data for optimizations.


Name section in iD editor

This is just a suggestion, but I have been using the iD editor (I usually use JOSM for editing). The ‘name’ section should be placed before the start_date and end_date. Currently, it shows at the bottom, and I find it difficult to locate to add the name. I think names and dates are more important, so they should be shown at the top

Actually name section does exist when i created a new object  e.g

The Historic Site preset is a catch-all for historic=*, which can be a lot of things that can either be named or unnamed. So the preset doesn’t specify Name as an integral field, which means you can only get it as an optional field at the end. Would there be a more specific preset for what you’re mapping?

I am mapping historical sites, and it makes sense to use historic=*. In other cases, the name section is also displayed at the bottom.


[#4754] Correctly detect websocket upgrade

Motivation:
If the Connection header contains multiple values (which is valid) we fail to detect a websocket upgrade
Modification:

Add new method which allows to check if a header field contains a specific value (and also respect multiple header values)
Use this method to detect handshake

Result:
Correct detect handshake if Connection header contains multiple values (seperated by ',').

@nmittler @Scottmitch @trustin PTAL

lgtm

Cherry-picked into 4.0 (d5a8b65700b5e69050e0e7a41d7fb8fe01f1c508) and 4.1 (7ef6db3ffd2f10cce835685359dec642bd3c874c)


RouteProvider Use variable to hold $MODULE$

Improve maintainability of stub generated code.

thanks, this broke the snapshots tests, they required to be re-run and then committed. I've updated them all green again.

Thanks for merging. (My first Laravel related PR!!)


Add URL prefixes to links in README.md

Why?
We have noticed that the links in the README.md file, extracted from the binary build artifacts, are invalid because they lack a URL prefix.

We also need to add a unit test coverage badge and display our katharsis.svg in the README.md.

Maybe we should add an Actions badge as well?


Add RTD Support

Fixes #2733
Description
Add RTD support for websites.

Test repository: https://github.com/Andrew-Chen-Wang/test-cookiecutter-django-rtd
Sample URL (old version looking): https://test-cookiecutter-django-rtd.readthedocs.io/en/v1/_source/index.html
Sample URL (modern version looking): https://test-cookiecutter-django-rtd.readthedocs.io/en/latest/_source/index.html

Rationale
Some people with websites may want to add documentation in their code, whether private for enterprise or public for open source websites.
Use case(s) / visualization(s)

Issue: you must go to /_source for this to work due to how the docs/* configuration is setup up.

To enable that modern looking RTD, check out https://github.com/readthedocs/sphinx_rtd_theme. Go to conf.py and add that to the extensions (make sure it's in the requirements file).
You can have something like this (below the extensions list):
if os.getenv("READTHEDOCS", default=False) == "True":
    import sphinx_rtd_theme
    extensions += ["sphinx_rtd_theme"]
    html_theme = "sphinx_rtd_theme"
else:
    html_theme = "alabaster"

Imo, more people would like that first part rather than the alabaster format.

I'll fix the docs service as well to make sure it can run compose up. In this scenario, it follows @browniebroke 's comment on whether or not we should add the env vars to the .yml file or depend on Postgres.
In other words, for that PR, I'll just have SQLite DB be the DATABASE_URL.

It's possible to add the production.txt requirements as a second requirements file: https://docs.readthedocs.io/en/stable/config-file/v2.html#requirements-file I'm not sure if we need to add it. Let me know if I should.

One issue would be the modindex link. I don't know what it does, but it returns a 404

Once this is merged, I'll add the needed compose environment variables from #2674 once this is merged to solve two errors separately.

Thanks for the review! Kind of busy this week, so I'll follow up with a commit next week.

To enable that modern looking RTD

I think we can maybe enable it in a follow up pull request, not critical here.

Sure, I can make a PR in the future for this. Perhaps as two options in cookiecutter.json.


Refactor interfaces exposed by for persistence layer to make them more useful for ABCI apps

[ ] expose go interfaces for the persistence layer
[ ] C wrapper around the go interfaces to enable users to import a persistence layer into any ABCI app
[ ] socket protocol around persistence interfaces

https://github.com/tendermint/tendermint/blob/master/docs/architecture/merkle-frey.md
@ethanfrey Please add your ideas here as well.

This should expose more of the functionality of IAVLTree....
KVStore:
Get
Set
List (in range with start, end, limit)
Remove
Merkle:
Hash (calculate root hash)
Proof (for Get or List with root hash)
Copy/Commit (or something else to  make temporary transaction, we can choose to use or throw away)


[FEATURE]  Add a few bindings...

Pleace add binding for method SKImageFilter.CreateBlur with TileMode argument, currently by default using ClampToBlack (Decal) tile mode, and also add binding for SKSurface.Snapshot with bounding rectangle. Thank you!

Contributions are welcome 😉

Moving this to v2.80 because it overlapped with a needed change.

Fixed in #1356 and #1357
Thanks for the issue!


tiny-AES-c with vcpkg: using AES256

I used to include the repo directly in my project. Recently, I decided to use it through vcpkg and I ran into the following problem:
I needed to use AES256 and there's no way to do that (not that I know of) except to modify the code in aes.h file to define the macro as per the documentation.
Of course one of the perks of using vcpkg is that you don't have to deal with the code of the library you're using. So is there any way to achieve what I want without modifying the code?

Hi @Maverick10
I am completely unfamiliar with vcpkg, so I am afraid I cannot help you :(
Currently, the key-size is hard-coded, so I don't think so.


Project: Simple Mailbox

Project name
Simple Mailbox
Description
This is a simple console app which allows listing messages in the inbox and also send emails using .NET and Graph.
Repo URL
https://github.com/ImanY84/SimpleMailbox
Team members
ImanY84

Thank you for your submission @ImanY84! Would you be willing to record a short video to demonstrate the app? It's not required for the hackathon but it would help us showcase your work internally at Microsoft and publicly in the community 😊

Hi @waldekmastykarz ,
Thanks for your reply and sorry for the delay in sending the video.
Hope you find attached video useful.
https://user-images.githubusercontent.com/57430902/226540605-b8cb6f14-3e3e-4b64-a8c5-998b0c3ea432.mp4
Thanks,
Iman


Multithreading

The Issue
There are some performance issues while rendering / parsing non-playable files
Expected Behaviour
:rocket: Non-blocking UI events.
Suggested Solutions
https://electronjs.org/docs/tutorial/multithreading

See: https://github.com/lbryio/lbry-desktop/pull/1558#issuecomment-406178533

https://github.com/mrdoob/three.js/issues/13664

I wanted to add some intel to this:
I noticed the UI blocks intermittently: random delays lock up the entire UI interrupting tooltips, scrolling, input field entry, etc. I'm told that this is well-known, and that it's not unique to LBRY.
I recorded behavior using javascript profiler in tools.
It looks like _compress from iz-string.js is being called in a blocking way and isn't unblocked until createPersistor.js finishes.

@jessopb I'm experiencing the same. @seanyesmunt this is what I was referring to in my DMs. Something definitely introduced in 0.25 as it doesn't happen in 0.24. I'll see if i can pin this to the electron upgrade or something else we changed.

@seanyesmunt and I did a little more digging and it's related to how much localstorage an install is using and claim caching. It's happening more often now that we are resolving/caching ~20 claims on each file page with recommended content. I'll create a separate issue for this to try to unblock the call or improve caching logic/performance. Clearing the cache (settings option) improves this temporarily until more claims are cached.
Easy way to reproduce fill up the cache - change search results to 1000 and try a new search query (won't automatically update current query - this is logged as an issue).

Is it worth removing 'claims' from the whitelist in store.js? Or does that defeat the main purpose of persist?

I think it's worth trying to just remove that. The resolve calls are way faster now so it should be ok.


Connection issue around engine.io and Android app

I'm need to pack my socketstream assets so they can stand alone. For example, pack the assets and just open the html file in your browser to find a fully working app that connects to the socketstream server and runs.
There are two main problems I've run into so far:

Packing the assets in a way they can be referenced relatively instead of referencing the server's static dir.
Passing the server location to engine.io on the client side.

I may very well be missing others but I haven't solved these two yet.
Any feedback on how I could go about solving these problems would be great.

I can look into this anew with the new EngineIo configuration.  I don't understand everything about the use case and requirements for API.

@mooglin With the improvements in 0.4 you should be able to fix this.
Assets are in the same location during development and production.
You can pass constants to the client by adding them to the client definition.
Obtaining session id through a cookie would be a problem with local files. This should be addressed in 0.4.1 as the general focus.
Feel free to continue this request/discussion under 0.4.1


MRG: Fix setup.cfg

Closes #4572.
@smgutstein can you verify that py.test mne/gui works for you now?

Codecov Report

Merging #4576 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4576      +/-   ##
==========================================
- Coverage   87.05%   87.05%   -0.01%
==========================================
  Files         349      349
  Lines       65692    65692
  Branches    10191    10191
==========================================
- Hits        57188    57185       -3
- Misses       5626     5628       +2
- Partials     2878     2879       +1

@smgutstein I'll merge if you confirm it solves your problem.

OK - I'll check tonight after work...
On Mon, Sep 18, 2017 at 2:51 PM, Alexandre Gramfort <
<EMAIL_ADDRESS>wrote:

@smgutstein https://github.com/smgutstein I'll merge if you confirm it
solves your problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/pull/4576#issuecomment-330319966,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEfaJANyDvVKWd0-wXlwlVr8bSwydh44ks5sjruxgaJpZM4Pa9k2
.

No, I still have the same problem. I just git pulled and ....
$ git log
commit d75f0821c39fff49e418ebb4df189f2a88a204c2
Author: Alexandre Gramfort<EMAIL_ADDRESS>Date:   Sun Sep 17 21:23:42 2017 +0200
DOC : document channel types  in plot_info (#4571)

* DOC : document channel types  in plot_info

* fix formatting

but,
==============================================================================================
ERRORS

ERROR collecting mne/gui/_coreg_gui.py

mne/gui/_coreg_gui.py:47: in
from mayavi.core.ui.mayavi_scene import MayaviScene
E   ImportError: No module named mayavi.core.ui.mayavi_scene

ERROR collecting mne/gui/_fiducials_gui.py

mne/gui/_fiducials_gui.py:10: in
from mayavi.core.ui.mayavi_scene import MayaviScene
E   ImportError: No module named mayavi.core.ui.mayavi_scene

ERROR collecting mne/gui/_kit2fiff_gui.py

mne/gui/_kit2fiff_gui.py:20: in
from mayavi.core.ui.mayavi_scene import MayaviScene
E   ImportError: No module named mayavi.core.ui.mayavi_scene

ERROR collecting mne/gui/_marker_gui.py

mne/gui/_marker_gui.py:12: in
from mayavi.core.ui.mayavi_scene import MayaviScene
E   ImportError: No module named mayavi.core.ui.mayavi_scene

ERROR collecting mne/gui/_viewer.py

mne/gui/_viewer.py:9: in
from mayavi.mlab import pipeline, text3d
E   ImportError: No module named mayavi.mlab
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Interrupted: 5 errors during collection
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 tests deselected
===============================================================================
2 deselected, 5 error in 3.27 seconds
On Mon, Sep 18, 2017 at 10:06 AM, Eric Larson<EMAIL_ADDRESS>wrote:

Closes #4572 https://github.com/mne-tools/mne-python/issues/4572.
@smgutstein https://github.com/smgutstein can you verify that py.test
mne/gui works for you now?
You can view, comment on, or merge this pull request online at:
https://github.com/mne-tools/mne-python/pull/4576
Commit Summary

FIX: Fix setup.cfg

File Changes

M setup.cfg
https://github.com/mne-tools/mne-python/pull/4576/files#diff-0 (2)

Patch Links:

https://github.com/mne-tools/mne-python/pull/4576.patch
https://github.com/mne-tools/mne-python/pull/4576.diff

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/pull/4576, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEfaJF8LADaixqweqpZrnhtunOndzj-vks5sjnj9gaJpZM4Pa9k2
.

You need to checkout my branch (should see commit 20d9f72342464eb5e5a3f0c61469bb2fb2d33d58 from this PR), not latest master

thx @larsoner


Update v0.16.2.txt

Added description of Pull Request 9544

Can you add this to the PR itself? Just commit this on the branch you are using there and push again.

Ok, because I had a old fork and I didn't know if I could push correctly.

No problem! If you have questions with git, just ask! (here or in our dev chat room https://gitter.im/pydata/pandas)

Thanks :)


gh-96: Initial profile with incorrect schema for LSC LED strip

Missing proper schema for the device dump for gh-96

Closing as stale, as it's for the old format.  This device doesn't have a dump with storage, so we can't verify schema.  Another user may be getting a fresh dump, and we'll add full support in the new format then.


Fix PoolComponentDynamicCollection build on specified scene

Move object to scene on build.

Create branch from main
issue-13-fix-poolcomponentdynamiccollection-build-on-specified-scene


ROI Auto-Exposure for ROS

Required Info

Camera Model
D435

Firmware Version
<IP_ADDRESS>

Operating System & Version
16.04 Ubuntu

Kernel Version (Linux Only)
4.15.0-24

Platform
Skull canyon

SDK Version
v2.14.1

Language
C++

Segment
Robotics

Is the ROI auto-exposure feature supported by ROS?

[Realsense Customer Engineering Team Comment]
Hi @fiorano10,
Need to discuss internally about the feature for ROS. So far, you may need to have hard code in the ros wrapper.
Probably, you can refer to "set_region_of_interest" function in librealsense.

Implemented in the ROS wrapper. Thanks!

Implemented in the ROS wrapper. Thanks!

@fiorano10, @RealSense-Customer-Engineering could you provide more information about how to use/access this feature in realsense-ros?

Implemented in the ROS wrapper. Thanks!

Is this option still available for you? Would you like to share the code or push a PR?

@doronhi @RaymondKirk I'll create a PR soon. Thanks!

@fiorano10 ,
The ROI option for ROS was added in version 2.2.8 of realsense2_camera here
Sorry for the trouble you've gone through.

Can this be set in JSON file?

Not sure you can.
You can set it with the launch file.
Why do you need it to be specifically in the JSON file?

You can set it with the launch file.

@doronhi Would you happen to have an example of setting the auto exposure roi in a lauch file?

Will that do?
  <rosparam>
      /camera/stereo_module/auto_exposure_roi/left: 20
      /camera/stereo_module/auto_exposure_roi/right: 200
  </rosparam>

Will that do?
  <rosparam>
      /camera/stereo_module/auto_exposure_roi/left: 20
      /camera/stereo_module/auto_exposure_roi/right: 200
  </rosparam>

is this still in launch file?
I'm using ros noetic and D435 camera
[ INFO] [1689249042.382501571]: Initializing nodelet with 4 worker threads.
[ INFO] [1689249042.513004557]: RealSense ROS v2.3.2
[ INFO] [1689249042.513043439]: Built with LibRealSense v2.50.0
[ INFO] [1689249042.513070724]: Running with LibRealSense v2.50.0
[ INFO] [1689249042.555107524]:
[ INFO] [1689249042.809256370]: Device with serial number<PHONE_NUMBER>38 was found.

[ INFO] [1689249042.811973672]: Device with physical ID 1-4-6 was found.
[ INFO] [1689249042.812172312]: Device with name Intel RealSense D435 was found.
[ INFO] [1689249042.813596997]: Device with port number 1-4 was found.
[ INFO] [1689249042.815959823]: Device USB type: 2.1

Hi @Gunz-katomaran  Not every parameter is defined in the launch file by default, but can be added manually to the launch file with a <rosparam> </rosparam> code block like the one that you quoted.

yeah, it's working. Thanks for your clarification.

You are very welcome!


Improve Box2D performances with TeaVM

Hi!
JBox2D used by libGDX-GWT is commonly known to be a big bottleneck for any 2d physics game made in libGDX for Web, java implementation is just slow compared to the native one, but nowadays there's emscripten and the work you made with Bullet extension for TeaVM shows very great performances! So I was wondering if the same could be made with Box2D to improve performances too.
Thanks :)

Hey, sure. Can you create an example where its slow with gwt backend? It will be easier to see if emscripten will give performance boost.

Currently on my not-so-powerful laptop you're examples already shows interesting scenarios. The Bullet example with 500 3D boxes run at same fps of the Box2DTestCollection here: https://xpenatan.github.io/gdx-html5-tools/teavm/gdx-tests/ (the test with the pyramid of boxes). When boxes are moving fps drops between 20/30fps, while the bullet test runs always between 40/50fps.. On a not-so-powerful phone (OnePlus 6T) the Box2D Pyramid boxes test cannot even run, like 2/3fps before freezing the entire browser, while the Bullet test is at least able to run at 20/30fps and no browser freezing.
The only explanation I can give of such behavior is emscripten.. Tell me what do you think!

The test collection use ShapeRenderer and not sprites and that also drop FPS.
I got emscripten to compile box2d c++ classes. The next step is to figure out how to bind it to libgdx custom box2d classes and that may take some time.

@fgnm Already got something working =D.  Need to bind more methods to get pyramid fully working

Cool! Can't wait to try once finished to check performances :)

Hi @fgnm
https://xpenatan.github.io/gdx-html5-tools/teavm/test-box2d/
Test it and see if there is any fps increase.  There is one issue that the mouse joint is not deleting and I'll fix it later.


HA warning message: Detected blocking call to load_default_certs

System Health details
System Information

version
core-2024.9.3

installation_type
Unsupported Third Party Container

dev
false

hassio
false

docker
true

user
abc

virtualenv
false

python_version
3.12.4

os_name
Linux

os_version
6.8.12-2-pve

arch
x86_64

timezone
America/Los_Angeles

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

HACS Data
ok

GitHub API Calls Remaining
4989

Installed Version
2.0.1

Stage
running

Available Repositories
1491

Downloaded Repositories
14

Home Assistant Cloud

logged_in
true

subscription_expiration
January 31, 2025 at 4:00 PM

relayer_connected
true

relayer_region
us-east-1

remote_enabled
true

remote_connected
true

alexa_enabled
true

google_enabled
false

remote_server
us-east-1-6.ui.nabu.casa

certificate_status
ready

instance_id
253ce95f2a674ca2925b583468e8aa9c

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Dashboards

dashboards
4

resources
7

views
26

mode
storage

Recorder

oldest_recorder_run
September 8, 2023 at 7:14 PM

current_recorder_run
September 28, 2024 at 1:13 AM

estimated_db_size
24832.55 MiB

database_engine
mysql

database_version
11.5.2

Checklist

[X] I have enabled debug logging for my installation
[X] I have filled out the issue template to the best of my ability
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue)
[X] This issue is not a duplicate of current issues

Describe the issue
2024-09-28 01:13:57.369 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_default_certs with args (<ssl.SSLContext object at 0x709848aa72d0>, <Purpose.SERVER_AUTH: _ASN1Object(nid=129, shortname='serverAuth', longname='TLS Web Server Authentication', oid='<IP_ADDRESS>.<IP_ADDRESS>.1')>) inside the event loop by custom integration 'vantage' at custom_components/vantage/__init__.py, line 52: vantage = Vantage( (offender: /usr/local/lib/python3.12/ssl.py, line 713: context.load_default_certs(purpose)), please create a bug report at https://github.com/loopj/home-assistant-vantage/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_default_certs
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/local/lib/python3.12/site-packages/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.12/site-packages/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/local/lib/python3.12/site-packages/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.12/site-packages/homeassistant/setup.py", line 165, in async_setup_component
    result = await _async_setup_component(hass, domain, config)
  File "/usr/local/lib/python3.12/site-packages/homeassistant/setup.py", line 461, in _async_setup_component
    await asyncio.gather(
  File "/usr/local/lib/python3.12/site-packages/homeassistant/setup.py", line 463, in <genexpr>
    create_eager_task(
  File "/usr/local/lib/python3.12/site-packages/homeassistant/util/async_.py", line 45, in create_eager_task
    return Task(coro, loop=loop, name=name, eager_start=True)
  File "/usr/local/lib/python3.12/site-packages/homeassistant/config_entries.py", line 752, in async_setup_locked
    await self.async_setup(hass, integration=integration)
  File "/usr/local/lib/python3.12/site-packages/homeassistant/config_entries.py", line 604, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/vantage/__init__.py", line 52, in async_setup_entry
    vantage = Vantage(

Reproduction steps

Run HA, observe warnings in HA log

Per HA docs see this as recommended code use to prevent blocking IO.
Debug logs
2024-09-28 01:13:57.369 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_default_certs with args (<ssl.SSLContext object at 0x709848aa72d0>, <Purpose.SERVER_AUTH: _ASN1Object(nid=129, shortname='serverAuth', longname='TLS Web Server Authentication', oid='<IP_ADDRESS>.<IP_ADDRESS>.1')>) inside the event loop by custom integration 'vantage' at custom_components/vantage/__init__.py, line 52: vantage = Vantage( (offender: /usr/local/lib/python3.12/ssl.py, line 713: context.load_default_certs(purpose)), please create a bug report at https://github.com/loopj/home-assistant-vantage/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_default_certs
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/local/lib/python3.12/site-packages/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.12/site-packages/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/local/lib/python3.12/site-packages/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.12/site-packages/homeassistant/setup.py", line 165, in async_setup_component
    result = await _async_setup_component(hass, domain, config)
  File "/usr/local/lib/python3.12/site-packages/homeassistant/setup.py", line 461, in _async_setup_component
    await asyncio.gather(
  File "/usr/local/lib/python3.12/site-packages/homeassistant/setup.py", line 463, in <genexpr>
    create_eager_task(
  File "/usr/local/lib/python3.12/site-packages/homeassistant/util/async_.py", line 45, in create_eager_task
    return Task(coro, loop=loop, name=name, eager_start=True)
  File "/usr/local/lib/python3.12/site-packages/homeassistant/config_entries.py", line 752, in async_setup_locked
    await self.async_setup(hass, integration=integration)
  File "/usr/local/lib/python3.12/site-packages/homeassistant/config_entries.py", line 604, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/vantage/__init__.py", line 52, in async_setup_entry
    vantage = Vantage(

Diagnostics dump
No response

It seems like HomeAssistant core doesn't like this line of code, which is apparently blocking:
https://github.com/loopj/aiovantage/blob/main/src/aiovantage/connection.py#L34
It is not immediately clear how to fix this though.

At initial glance it looked like the create_default_context() could be replaced with homeassistant.helpers.aiohttp_client.async_get_clientsession, but not sure if it is the same thing?

Fixed in 14eaae27f4e146860e5d7a0797e4fb4e65b1783b (and loopj/aiovantage#142), thanks Pieter!

There was a helpful page in the HA docs about this https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_default_certs

Lol yes, from the actual warning message, that I linked to in my report, thx for quick fix.
context.load_default_certs(purpose)), please create a bug report at https://github.com/loopj/home-assistant-vantage/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_default_certs


Allowing format_on_save option to be a regex (matching the file_name)

Using "^((?!vendor).)*$" as value for format_on_save parameter permits me to ignore format on save option for files in vendor directory

@qkdreyer as @thecotne mentioned, please add comments in default settings file and in readme about this feature

I've just commited required comments :) Sorry for the delay !


Integrate bors

bors try

looks awesome, we're going to get rid of all the hooks now ?

bors r+

bors r+


Laravel 8

please update

Hello, thank you for your patience, this is now done! Check latest major release!!
This package now supports Laravel v8, PHP v8, Composer v2, enjoy 🥳
CC @sashsvamir @abdrzakoxa @r8928


feat: update swift SDK version to 0.12.5

Description

update swift SDK version to 0.12.5
update example project dependencies

General Checklist

[ ] Added new tests to cover change, if needed
[ ] Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
[ ] Documentation update for the change if required
[ ] PR title conforms to conventional commit style
[ ] If breaking change, documentation/changelog update with migration instructions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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

Project coverage is 100.00%. Comparing base (c087196) to head (f1a2d66).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines           99        99
=========================================
  Hits            99        99

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


Problem when working with Time Stamp Counter (TSC)

Description
I am testing quanta, a high-speed timing library. Also tried another similar project minstant. They both utilize Time Stamp Counter (TSC).
Following code can pass compile, but will fail to run.
fn main() {
    println!("{:?}", quanta::Instant::now());
    // println!("{}", minstant::is_tsc_available());
}

error message: trap at Instance { def: Item(DefId(2:14264 ~ core[0e1d]::core_arch::x86::rdtsc::_rdtsc)), args: [] } (_ZN4core9core_arch3x865rdtsc6_rdtsc17h93aafcf1ca958dbeE): llvm.x86.rdtsc.
If I compile it without cranelift enabled, then everything is OK.
More information
readelf -p .comment target/debug/main
String dump of section '.comment':
  [     0]  rustc version 1.80.0-nightly (bdbbb6c6a 2024-05-26)
  [    34]  mold 2.31.0 (compatible with GNU ld)
  [    59]  GCC: (GNU) 13.2.1 20240316 (Red Hat 13.2.1-7)
  [    87]  rustc version 1.80.0-nightly (bdbbb6c6a 2024-05-26) with cranelift 0.107.0
  [    d2]  GCC: (GNU) 13.3.1 20240522 (Red Hat 13.3.1-1)

Operating System: Fedora 39 container
Host Kernel: 6.1.91

Thanks for reporting this. I've implemented the _rdtsc vendor intrinsic.

Thanks for your work.