Optimize shader processor

execute metal specific workaround only on iOS and MacOS
process array sizes on the whole source instead of per line for large speed up

before:

after:

For 100 shaders this makes about 1.5s difference.

Thank god, I'm having so many issues with this right now!  looks forward to trying it.
p.s. I'm also seeing large amount of time in generating shader keys wonder if theres a faster way somehow to hash them.
Any reason I couldn't write these cached shader files to disk / localstorage?  Would be nice if it could be skipped on subsequent runs

@MAG-AdrianMeredith it looks like its only for iOS15. If you are on iOS16, it should already be running at optimal speed.
Now that you brought it up, I'm also curious if there is a way to reuse once compiled shader on subsequent runs of the same application. Can some of those be reused by another app, if they share a storage? We have a native wrapper that hosts multiple apps, and it could share compiled shaders between them.

We have some code that can store the generated shaders to a file, and load it / precompile ahead of time. Not a public API, and not really well implemented, so it's disabled at the moment. But I keep thinking about how to do this in a better way.
Modifying material properties and then calling update() on the material is another thing that does not work too well, as it often makes the engine to reevaluate material options to see if the existing shader can still be used. This is expensive.

Modifying material properties and then calling update() on the material is another thing that does not work too well, as it often makes the engine to reevaluate material options to see if the existing shader can still be used. This is expensive.
Good point. We've noticed it as well and generally try to avoid updating or changing a material at runtime. We have a limited set of materials that all of our assets are using across all our games. They are always the same.

I am considering to monkey-patch the key generation for our project. If none of our games is using a, e.g. a clear coat factor, then there is no need to check its value. Building around this premise, perhaps we could explicitly tell which fields can be different and used by the generator. The rest would be ignored, and assumed to be the same across all materials. However, if the majority of time is coming from say linking the program, then that won't help much.

From my profiling, I could not see this taking too much time .. options generation is about 1ms or less. Can you please post some screenshots of what you see?

Just tried to run on one of the games. The key generation took less than 1ms, like you said, Martin. Its the getProgramParameter in most cases for us.

I'm on apple macbook m1 oddly enough I'm not seeing genereate key as much as previously but its mostly in getProgram

The actual shader compilation part is by far the smallest part of the whole thing


Add network device using pyrealsense

Required Info

Camera Model
{ T265 }

Firmware Version
(pyrealsense)

Operating System & Version
{MacOS}

SDK Version
{ 2 }

Language
{python }

Issue Description
I found net_device class in Intel Realsense Cross-platform API. However, I did not find it in pyrealsense's documentation. There is only one load_device function to add device from .bag file.
Could it possible to connect to network devices using Python?

Thank you for highlighting this feature. We have moved our focus to our next generation of products and consequently, we will not be addressing this in the T265.


change_realm_subdomain: Revoke user sessions.

If we don't revoke sessions, this can lead to issues when we import a realm (e.g. from Slack) into the original subdomain for the same organization. Because then, users who already had sessions before the move end up stuck:

when they try to open Zulip on the original subdomain, which now has the imported instance, they get redirected to the moved subdomain due to their pre-existing session cookie.
they can't even log out to get rid of the bugged cookie, because the account they're logged into in that session is now on the moved subdomain.

Looks good. Probably there's some future refinement we could do here, but this seems like the right place to start.


Import global symbols

Description
This is the result of the internal discussion whether to import global symbols (classes, functions, constants) or to fully prepending them with T_NS_SEPARATOR.
This PR imports all internal global symbols to speed up scope resolution. Take note that this imports only the native/internal symbols. This means that this does not import user-defined constants and functions exposed to the global namespace.
Linebreaks separating imports of classes, constants and functions are manually added in accordance with PSR-12.
Checklist:

[x] Securely signed commits

Not sure what happened here. 🤔

I know this was what we agreed on, but seeing it in action makes me realize: this is a lot of extra lines. I wonder if at some point there is a diminishing return between the scoping performance gains versus the overall line and file size of the framework? We should calculate the difference and maybe look into running some benchmarks against both versions.

Closing this for now. The cost of resolving merge conflicts and maintaining PR up to date with latest develop is way too much than its perceived benefits. I can just recreate this when the time comes.


rt upload with build_name,tag fails when run from git worktree

Describe the bug
jfrog rt upload with --build-name --build-number fails when run from a git worktree
To Reproduce
Create a git worktree and execute jfrog rt upload from the worktree
cd sandbox
git worktree add --detach ../worktree HEAD
cd ../worktree
jfrog rt upload --spec upload.json --spec-vars="repo=...;file=...." --build-name=PR-123 --build-number=1
...
[Error] path found in .git file '.git' does not exist: 'home/schmidtl/worktree/.git/worktrees/sandbox'

Expected behavior
jfrog rt upload to succeed by collecting vcs.build info from proper git-dir
or
jfrog rt upload to succeed and provide warning that vcs.build info could not be gathered
or
provide commandline argument and/or ENV var to pass path to git-dir
Similar to jfrog rt bag
https://www.jfrog.com/confluence/display/CLI/CLI+for+JFrog+Artifactory#CLIforJFrogArtifactory-PromotingaBuild

.git path | Optional - Path to a directory containing the .git directory. If not specific, the .git directory is assumed to be in the current directory or in one of the parent directories.

Screenshots
If applicable, add screenshots to help explain your problem.
Versions

JFrog CLI version: 1.5.3, 2.5.0, 2.16.2
JFrog CLI operating system: RedHat EL 7.9, RedHat EL 8.5
Artifactory Version: v7.33.12

Additional context
There's some similarities to issue https://github.com/jfrog/jfrog-cli/issues/1012, but no explanation if it's possible to specify the git-dir
We require our CI to run in git worktrees, as our monorepo is quite large and worktrees reduce clone/checkout time for our pipelines

:green_circle: v1.40.1

Hello @eyalbe4 - the PR to fix this has been open since Jun 23, 2022.  Could we get this reviewed and merged?  This is gating my team from moving to new versions of jfrog


Shape.setMask  make mask for all objects in CANVAS

Version

Phaser Version: 3.15.1

Operating system: Windows 8

Description
Phaser.Canvas mode - when we setMask for any Shape, all objects on scene get same mask
(in Phaser.WebGL mode mask works correct)

Example Test Code

var rect1 = this.add.rectangle(12, 12, 320, 320, 0xfeefee);   var maskGraphics = this.make.graphics();     maskGraphics.fillStyle(0xffffff);     maskGraphics.beginPath();     maskGraphics.fillRect(23, 23, 32, 32);     var mask = maskGraphics.createGeometryMask(); for (var i = 0; i < 12; i++) {             x = 8, y = i * 64;             var item = this.add.rectangle(x, y, 600, 52, i*0x012111);             var item2 = this.add.circle(x, y, i*5, 0xffffff);         }    rect1.setMask(mask);
Additional Information

What we need (WebGL sample - correct mask for rect12 only)

What we get in Canvas - last Phaser.Shape object set mask for all objects (including sprites and images)

Sorry for the delay in responding to this - thankfully, the bug was quickly fixed in 3.16, released shortly after you made this post. So hopefully it didn't cause a problem for too long.


Invalid arguments for function plug#

I used a very simple config:
call plug#begin('~/.config/nvim/plugs')
Plug 'itchyny/lightline.vim'
call plug#end()

But I founded some error:
Error detected while processing /home/inkuniverse/.config/nvim/init.vim:
line    9:
E488: Trailing characters
line   10:
E116: Invalid arguments for function plug#
line   11:
E488: Trailing characters
Press ENTER or type command to continue

Why that?

Type:

[ ] Bug
[ ] Enhancement
[ ] Feature Request
[x] Question

OS:

[ ] All/Other
[x] Linux
[ ] OS X
[ ] Windows

Vim:

[ ] Terminal Vim
[ ] GVim
[x] Neovim

Did you install vim-plug?

Yes I did.

Is there an error if you replace Plug 'itchyny/lightline.vim' with call plug#('itchyny/lightline.vim')?

Sorry,I found that I put plug.vim in a error space.
Thanks for your help!


Add a whois rule

What the whois command returns depends on the 'Whois server' it contacted and is not consistent through different servers. But there can be only two types of errors I can think of with whois:

whois https://en.wikipedia.org/ → whois en.wikipedia.org;
whois en.wikipedia.org → whois wikipedia.org.

So we match any whois command and then:

if there is a slash: keep only the FQDN;
if there is no slash but there is a point: removes the left-most subdomain.

We cannot either remove all subdomains because we cannot know which part is the subdomains and which is the domain, consider:

www.google.fr → subdomain: www, domain: 'google.fr';
google.co.uk → subdomain: None, domain; 'google.co.uk'.

Thanks!


aix360 installation GCP and on Windows

I am trying to install aix360 in VM google cloud and also try to install it on anaconda enviornment (on windows) and both times it gives me the same error.
I am following the same steps which I found in the documentation, but still facing the same error. If someone installed this toolkit already can you please help me setting up the enviornment for this toolkit.
Below is the error log:
ERROR: Command errored out with exit status 1:
command: /home/mansoor_working/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'
/tmp/pip-install-zt5ypyrs/cvxpy/setup.py'"'"'; file='"'"'/tmp/pip-install-zt5ypyrs/cvxpy/setup.py'"'"';f=getatt
r(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(comp
ile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-uy3pz4nb --python-tag cp37
cwd: /tmp/pip-install-zt5ypyrs/cvxpy/
Complete output (369 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/cvxpy
copying cvxpy/init.py -> build/lib.linux-x86_64-3.7/cvxpy
copying cvxpy/error.py -> build/lib.linux-x86_64-3.7/cvxpy
copying cvxpy/settings.py -> build/lib.linux-x86_64-3.7/cvxpy
creating build/lib.linux-x86_64-3.7/cvxpy/problems
copying cvxpy/problems/init.py -> build/lib.linux-x86_64-3.7/cvxpy/problems
copying cvxpy/problems/objective.py -> build/lib.linux-x86_64-3.7/cvxpy/problems
copying cvxpy/problems/xpress_problem.py -> build/lib.linux-x86_64-3.7/cvxpy/problems
copying cvxpy/problems/problem.py -> build/lib.linux-x86_64-3.7/cvxpy/problems
copying cvxpy/problems/iterative.py -> build/lib.linux-x86_64-3.7/cvxpy/problems
creating build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_objectives.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_expressions.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_curvature.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_quadratic.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_dgp.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_solvers.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/init.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_monotonicity.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_quad_form.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_benchmarks.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_super_scs.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/base_test.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_mip_vars.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_qp.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_matrices.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_problem.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_constraints.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_atoms.py -> build/lib.linux-x86_64-3.7/cvxpy/tests
copying cvxpy/tests/test_scs.py -> build/lib.linux-x86_64-3.7/cvxpy/tests

have you created separate environment for aix360?

@mansoorkhn182 See comment about cvxpy.


[🐞] Qwik ESLint plugin recently triggered a strange error

Which component is affected?
Qwik ESLint
Describe the bug
The Qwik ESLint plugin recently (v0.103.0) throws the following error: Calling use* methods in non-root component. Is this a bug? Technically, my approach is not a problem. If this rule remains as it is, I will need to update the Modular Forms documentation.

Reproduction
https://stackblitz.com/edit/modular-forms-qwik-actions-r8dy77?file=src%2Froutes%2Ftodos%2Findex.tsx%3AL130
Steps to reproduce
Is ESLint executed in StackBlitz? If not, the project must be run locally in VS Code.
System Info
I think that this information is not relevant here.

Additional Information
No response

I think it's a good practice to put all the use methods as unnested as possible, but the use case you showed, should be perfectly valid! gonna fix


Error when Running experiments and Playing game yourself

Could you please help me solve the AttributeError: 'tuple' object has no attribute 'name'?

Running experiments

root@lzc-virtual-machine:/home/lzc/football# python3 -m gfootball.examples.run_ppo2 --level=academy_empty_goal_close
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 174, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.5/runpy.py", line 109, in _get_module_details
import(pkg_name)
File "/home/lzc/football/gfootball/init.py", line 23, in
for env_name in scenario_builder.all_scenarios():
File "/home/lzc/football/gfootball/env/scenario_builder.py", line 37, in all_scenarios
return [m.name for m in pkgutil.iter_modules([path])]
File "/home/lzc/football/gfootball/env/scenario_builder.py", line 37, in
return [m.name for m in pkgutil.iter_modules([path])]
AttributeError: 'tuple' object has no attribute 'name'

Playing game yourself

root@lzc-virtual-machine:/home/lzc/football# python3 -m gfootball.play_game
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 174, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.5/runpy.py", line 109, in _get_module_details
import(pkg_name)
File "/home/lzc/football/gfootball/init.py", line 23, in
for env_name in scenario_builder.all_scenarios():
File "/home/lzc/football/gfootball/env/scenario_builder.py", line 37, in all_scenarios
return [m.name for m in pkgutil.iter_modules([path])]
File "/home/lzc/football/gfootball/env/scenario_builder.py", line 37, in
return [m.name for m in pkgutil.iter_modules([path])]
AttributeError: 'tuple' object has no attribute 'name'
` @qstanczyk

This issue is due to Python version, between Python 3.5 and Python 3.6 there was a change in pkgutil API which we use:
https://docs.python.org/3.6/library/pkgutil.html#pkgutil.iter_modules
https://docs.python.org/3.5/library/pkgutil.html#pkgutil.iter_modules
You can work around it by changing

return [m.name for m in pkgutil.iter_modules([path])]

to:

return [m[2] for m in pkgutil.iter_modules([path])]

In gfootball/env/scenario_builder.py

I have just pushed a new version with the workaround to the problem, so alternatively you can just sync to head.

I have solved issue#46. Many thanks for your help.
| |
刘泽辰
|
|
<EMAIL_ADDRESS>|
签名由 网易邮箱大师 定制
On 07/23/2019 15:31, qstanczyk wrote:
Closed #46.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Cannot find module 'application'

In my plugin file: plugin-name.android.ts I have imported application module as following:
import * as application from "application";

But I get the mentioned error.
Note: The plugin works fine. (I guess as it's used in demo folder, it find the module in demo folder)

I changed
import * as application from "application";

with
import * as application from "tns-core-modules/application";


"Copy" in the menu "Edit" does not work for text

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
I do not know if this is a bug or if this works as designed
When using the "Paste" function from the menu "Edit" text is not pasted. It only works shapes/lines.
(I know, "normal" people use Ctrl+C / Ctrl+V :-) )
To Reproduce
Steps to reproduce the behavior:

Insert shape
Write text to shape
copy text via the menu "Edit" or by pressing Ctrl+C
paste the text via the menu "Edit" -> "Paste"

-> No text is pasted
Expected behavior
One would expect that this works for text, too. Not only for shapes/lines.
draw.io version (In the Help->About menu of the draw.io editor):
15.9.1
Desktop (please complete the following information):

Windows 10
Firefox Version 94.0.2
Microsoft Edge Version 96.0.1054.43
Google Chrome Version 96.0.4664.45

Thanks, Tom

In order to copy and paste text only (and not a shape with text) just double click text to select it and then use Ctrl+c/Ctrl+v
Does this help?


Auto-accepting is slow in CI

https://drone.owncloud.com/owncloud/ocis/33724/32/6
https://drone.owncloud.com/owncloud/ocis/33662/27/5
https://drone.owncloud.com/owncloud/ocis/33734/32/6
Steps:

user1 shares file
user2 send GET https://localhost:9200/graph/v1beta1/me/drive/sharedWithMe

Actual: share should be accepted. @client.synchronize: true
I have not been able to reproduce this locally. I don't see any problems on the testing side. adding a waiting to the test may solve the problem but seems like a poor solution to the problem

Similar to https://github.com/owncloud/ocis/issues/8864

auto-accepting is an asynchronous process, so sometimes share does not have time to be accepted. This applies only to the first scenario from the feature file.
I tried to fix here https://github.com/owncloud/ocis/pull/8868/commits/4e66cc730e633cd3ff3dac787e9bd5f92c0b7224
step user "Brian" lists the shares shared with him after clearing user cache using the Graph API has 1 sec sleep

Failed in other scenarios as well
https://drone.owncloud.com/owncloud/ocis/33884/32/6
Scenario: user lists folder shared with them in a group from sharer's personal space      # /drone/src/tests/acceptance/features/apiSharingNg/sharedWithMe.feature:2498
    Given using spaces DAV path                                                             # FeatureContext::usingOldOrNewDavPath()
    And the administrator has assigned the role "Admin" to user "Alice" using the Graph API # GraphContext::theAdministratorHasGivenTheRoleUsingTheGraphApi()
    And user "Alice" has created folder "folder"                                            # FeatureContext::userHasCreatedFolder()
    And user "Alice" has created a group "grp1" using the Graph API                         # GraphContext::userHasCreatedGroupUsingTheGraphApi()
    And user "Brian" has been added to group "grp1"                                         # FeatureContext::userHasBeenAddedToGroup()
    And user "Alice" has sent the following share invitation:                               # SharingNgContext::userHasSentTheFollowingShareInvitation()
      | resource        | folder   |
      | space           | Personal |
      | sharee          | grp1     |
      | shareType       | group    |
      | permissionsRole | Viewer   |
    When user "Brian" lists the shares shared with him using the Graph API                  # GraphContext::userListsTheResourcesSharedWithThemUsingGraphApi()
    Then the HTTP status code should be "200"                                               # FeatureContext::thenTheHTTPStatusCodeShouldBe()
    And the JSON data of the response should match
Enum failed, enum: [true], data: false at<EMAIL_ADDRESS>(Swaggest\JsonSchema\Exception\EnumException)

Scenario: user lists the file shared with them from project space                                             # /drone/src/tests/acceptance/features/apiSharingNg/sharedWithMe.feature:3544
    Given using spaces DAV path                                                                                # FeatureContext::usingOldOrNewDavPath()
    And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API               # GraphContext::theAdministratorHasGivenTheRoleUsingTheGraphApi()
    And user "Alice" has created a space "new-space" with the default quota using the Graph API                 # SpacesContext::theUserHasCreatedASpaceByDefaultUsingTheGraphApi()
    And user "Alice" has uploaded a file inside space "new-space" with content "some content" to "testfile.txt" # SpacesContext::userHasUploadedFile()
    And user "Alice" has sent the following share invitation:                                                   # SharingNgContext::userHasSentTheFollowingShareInvitation()
      | resource        | testfile.txt |
      | space           | new-space    |
      | sharee          | Brian        |
      | shareType       | user         |
      | permissionsRole | Viewer       |
    When user "Brian" lists the shares shared with him using the Graph API                                      # GraphContext::userListsTheResourcesSharedWithThemUsingGraphApi()
    Then the HTTP status code should be "200"                                                                   # FeatureContext::thenTheHTTPStatusCodeShouldBe()
    And the JSON data of the response should match
Const failed at<EMAIL_ADDRESS>(Swaggest\JsonSchema\Exception\ConstException)

Closing
See https://github.com/owncloud/ocis/pull/8891#issuecomment-2095284456

Fails in https://drone.owncloud.com/owncloud/ocis/34650/33/5
Scenario: sharee lists the file share (Project space)                                                         # /drone/src/tests/acceptance/features/apiSharingNg/sharedWithMe.feature:2502
    Given using spaces DAV path                                                                                # FeatureContext::usingOldOrNewDavPath()
    And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API               # GraphContext::theAdministratorHasGivenTheRoleUsingTheGraphApi()
    And user "Alice" has created a space "new-space" with the default quota using the Graph API                 # SpacesContext::theUserHasCreatedASpaceByDefaultUsingTheGraphApi()
    And user "Alice" has uploaded a file inside space "new-space" with content "some content" to "testfile.txt" # SpacesContext::userHasUploadedFile()
    And user "Alice" has sent the following share invitation:                                                   # SharingNgContext::userHasSentTheFollowingShareInvitation()
      | resource        | testfile.txt |
      | space           | new-space    |
      | sharee          | Brian        |
      | shareType       | user         |
      | permissionsRole | Viewer       |
    When user "Brian" lists the shares shared with him using the Graph API                                      # GraphContext::userListsTheResourcesSharedWithThemUsingGraphApi()
    Then the HTTP status code should be "200"                                                                   # FeatureContext::thenTheHTTPStatusCodeShouldBe()
    And the JSON data of the response should match
Enum failed, enum: [true], data: false at<EMAIL_ADDRESS>(Swaggest\JsonSchema\Exception\EnumException)

Failing in https://drone.owncloud.com/owncloud/ocis/34827/33/5

Falling in https://drone.owncloud.com/owncloud/ocis/34878/33/5

I will look at it once again.

Failing in nightly https://drone.owncloud.com/owncloud/ocis/35096/31/5

More on trying to disable share sync: https://drone.owncloud.com/owncloud/ocis/35485/33/6

Recent failures:

https://drone.owncloud.com/owncloud/ocis/36422/33/5
https://drone.owncloud.com/owncloud/ocis/36462/33/6


⚠ Bio Links has degraded performance

In eb32fdd, Bio Links (https://bio.rheinklang.events/links) experienced degraded performance:

HTTP code: 200
Response time: 3028 ms

Resolved: Bio Links performance has improved in 49de56d after 19 minutes.


Updates of the class file that may be of use

I made a few changes to the class file, adding ORCID, bibliographies, photo alignment fix and extended the number of timeline nodes. Added an example resume for multiple pages. The John Hammond example still works fine too.

Found a mistake in the Orcid URL, so I need to reopen this PR

Added another commit, reopened.

Hi @iroghair. I love the work you've done, especially the mock-resume which is much better than the one I had made.
As for the changes you're implementing, I'd be happy to merge them. As long as the functionalities I focused on (single page, no picture) are not impacted, offering more flexibility for other use cases is obviously welcome.
I only have one concern about the new readme.md, we might want to revisit this a bit more if we merge your changes into main. Potentially look into releasing versions to indicate what's been introduced.
I'll look a bit more into the latex sometimes this week :)

Hi @Slyces , thanks for your message. The mock-up resume was largely built by ChatGPT but I needed some page filling to show how to create follow-up pages.
You might be able to cherry-pick only the additions to the class file (e.g. not the style enhancements), but I'm not sure how to achieve that from a PR. For instance the addition of Orcid, the Google Maps link, the optional argument for cventries and the bug fix of the photo placement are non-breaking changes. I changed some font sizes, that may be personal preference and can be left out.
Cheers!


Specific Folder structure for Lab1

In the lab01 it will be great if we could execute the command git Init in the root folder instead of inside your webapp.  This way if in the lab02 I add a new folder it will be added to the same repo.  Agree? (edited)
we should have something like
c:\dev\gab2019.git
c:\dev\gab2019\GABCDemo
c:\dev\gab2019\Deployment
etc.. (edited)

done


D435 must be power cycled (disconnect and reconnect cable) after unbinding and rebinding the XHCI driver

Required Info

Camera Model
D435

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux (Ubuntu 18.04)

Kernel Version (Linux Only)
5.6.19

Platform
PC

SDK Version
2.45.0

Language
ROS packages

Segment
Robot

Issue Description
D435 must be power cycled (disconnect and reconnect cable) after unbinding and rebinding the XHCI driver.
The T265 reconnects properly.
On some occasions we have to reset the USB subsystem to recover from some abnormal situations. The expected behavior would be that all USB devices reconnect after a few seconds of performing the reset.
But the D435 camera never recovers, and the cable must be removed and reconnected for it to recover.
Instructions on how to reset the XHCI driver can be found here:
http://blog.linuxbits.io/2015/10/01/resetting-the-usb-subsystem-on-linux/
The error the driver displays is:

[ INFO] [1622044042.142655939]: Loading nodelet /torso_front_camera/realsense2_camera of type realsense2_camera/RealSenseNodeFactory to manager realsense2_camera_manager with the following remappings:
[ INFO] [1622044042.145114493]: waitForService: Service [/torso_front_camera/realsense2_camera_manager/load_nodelet] has not been advertised, waiting...
[ INFO] [1622044042.244374831]: Initializing nodelet with 16 worker threads.
[ INFO] [1622044042.247347706]: waitForService: Service [/torso_front_camera/realsense2_camera_manager/load_nodelet] is now available.
[ INFO] [1622044042.330714851]: RealSense ROS v2.2.9
[ INFO] [1622044042.330761829]: Running with LibRealSense v2.45.0
[ INFO] [1622044042.344883075]:
[ INFO] [1622044042.351414434]: Device with serial number<PHONE_NUMBER>40 was found.
[ INFO] [1622044042.351448708]: Device with physical ID /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/video4linux/video6 was found.
[ INFO] [1622044042.351475638]: Device with name Intel RealSense D435I was found.
[ INFO] [1622044042.351826125]: Device with port number 2-8 was found.
[ INFO] [1622044042.353592896]: getParameters...
[ INFO] [1622044042.411061170]: setupDevice...
[ WARN] [1622044042.411130866]: JSON file provided doesn't exist! (empty)
[ INFO] [1622044042.411180775]: ROS Node Namespace: torso_front_camera
[ INFO] [1622044042.411221412]: Device Name: Intel RealSense D435I
[ INFO] [1622044042.411236965]: Device Serial No:<PHONE_NUMBER>40
[ INFO] [1622044042.411251218]: Device physical port: /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/video4linux/video6
[ INFO] [1622044042.411279580]: Device FW version: <IP_ADDRESS>
[ INFO] [1622044042.411295308]: Device Product ID: 0x0B3A
[ INFO] [1622044042.411309068]: Enable PointCloud: On
[ INFO] [1622044042.411322798]: Align Depth: On
[ INFO] [1622044042.411338316]: Sync Mode: On
[ INFO] [1622044042.411378474]: Device Sensors:
[ INFO] [1622044042.411418998]: Stereo Module was found.
[ INFO] [1622044042.411456379]: RGB Camera was found.
[ INFO] [1622044042.411477245]: Motion Module was found.
[ INFO] [1622044042.411512023]: (Fisheye, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1622044042.411542531]: (Fisheye, 1) sensor isn't supported by current device! -- Skipping...
[ INFO] [1622044042.411554863]: (Fisheye, 2) sensor isn't supported by current device! -- Skipping...
[ INFO] [1622044042.411571569]: (Pose, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1622044042.411600132]: Add Filter: pointcloud
[ INFO] [1622044042.412280846]: num_filters: 1
[ INFO] [1622044042.412301975]: Setting Dynamic reconfig parameters.
[ INFO] [1622044042.621794299]: Done Setting Dynamic reconfig parameters.
[ INFO] [1622044042.624690701]: depth stream is enabled - width: 848, height: 480, fps: 30, Format: Z16
[ INFO] [1622044042.624916323]: infra1 stream is enabled - width: 848, height: 480, fps: 30, Format: Y8
[ INFO] [1622044042.625300962]: infra2 stream is enabled - width: 848, height: 480, fps: 30, Format: Y8
26/05 15:47:22,625 WARNING [139686740637440] (backend-v4l2.cpp:1357) Pixel format 36315752-1a66-a242-9065-d01814a likely requires patch for fourcc code RW16!
[ INFO] [1622044042.635780982]: color stream is enabled - width: 848, height: 480, fps: 30, Format: RGB8
[ INFO] [1622044042.639154284]: setupPublishers...
[ INFO] [1622044042.641408298]: Expected frequency for depth = 30.00000
[ INFO] [1622044042.679262972]: Expected frequency for infra1 = 30.00000
[ INFO] [1622044042.699069836]: Expected frequency for aligned_depth_to_infra1 = 30.00000
[ INFO] [1622044042.720794132]: Expected frequency for infra2 = 30.00000
[ INFO] [1622044042.747090549]: Expected frequency for color = 30.00000
[ INFO] [1622044042.771570100]: Expected frequency for aligned_depth_to_color = 30.00000
[ INFO] [1622044042.794033564]: setupStreams...
[ INFO] [1622044042.794485897]: insert Depth to Stereo Module
[ INFO] [1622044042.794545566]: insert Color to RGB Camera
[ INFO] [1622044042.794573356]: insert Infrared to Stereo Module
[ INFO] [1622044042.794600160]: insert Infrared to Stereo Module
[ INFO] [1622044042.794632606]: insert Gyro to Motion Module
[ INFO] [1622044042.794664087]: insert Accel to Motion Module
26/05 15:47:22,795 WARNING [139686740637440] (ds5-motion.cpp:473) IMU Calibration is not available, default intrinsic and extrinsic will be used.
[ERROR] [1622044042.803881056]: An exception has been thrown: xioctl(VIDIOC_S_FMT) failed Last Error: Input/output error
terminate called after throwing an instance of 'rs2::backend_error'
what():  xioctl(VIDIOC_S_FMT) failed Last Error: Input/output error
26/05 15:47:22,797 WARNING [139686446278400] (backend-hid.cpp:715) HID set_power 1 failed for /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.5/0003:8086:0B3A.0008/HID-SENSOR-200073.2.auto/iio:device2/buffer/enable
[torso_front_camera/realsense2_camera_manager-1] process has died [pid 32479, exit code -6, cmd /opt/ros/melodic/lib/nodelet/nodelet manager __name:=realsense2_camera_manager ].
[ INFO] [1622044052.442498967]: Bond broken, exiting
[torso_front_camera/realsense2_camera-2] process has finished cleanly
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete

Hi @v-lopez   I can provide support in this case so long as the discussion is limited to D435 only.  Thanks very much.
Looking through your kindly provided log, there are a number of potentially problematic issues that should be ideally resolved first before further exploring the XHCI reset issue.

If you are using SDK version 2.45.0 then RealSense camera firmware version <IP_ADDRESS> is recommended.

Librealsense officially supports up to kernel 5.4 at the time of writing this.  Using newer kernel versions such as the 5.6.19 kernel version listed above may have unpredictable results unless librealsense has been built with the RSUSB backend method (which is not dependent on Linux versions or kernel versions and does not require patching).

The ROS wrapper should ideally be matched as closely as possible with a particular librealsense SDK version recommended in the release notes of that particular wrapper version.  In the case of llibrealsense SDK 2.45.0, it is recommended that ROS wrapper version 2.3.0 is used with it if you are using ROS1 Melodic.

https://github.com/IntelRealSense/realsense-ros/releases/tag/2.3.0

Hi, we also tried with librealsense 2.34.0 and 5.11.6 firmware.
With the same ros wrapper version. Same result
Tomorrow I'll try with the firmware,librealsense and ros wrapper version that you mention. The kernel might be harder to change since this is on a robot and the kernel is tied to other things.

If you build librealsense with the RSUSB method to bypass the kernel then the rest of your project can continue to use Kernel 5.6 without having to change it.  You would have to build the ROS wrapper from source code rather than using packages though.

Alright, I've compiled librealsense2 with cmake ../ -DCMAKE_BUILD_TYPE=Release -DFORCE_RSUSB_BACKEND=true , updated firmware to <IP_ADDRESS>, built the 2.3.0 ROS Wrapper after installing the librealsense2 version and I have the same situation, albeit the error messages are different.
One weird thing is that I see is:

Device physical port: /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/video4linux/video0

Should it still be video4linux with RSUSB, did I do something wrong?
Here are the full logs, it was working fine until I did the USB driver reset.

process[torso_front_camera/realsense2_camera_manager-1]: started with pid [3721]
process[torso_front_camera/realsense2_camera-2]: started with pid [3727]
[ INFO] [1622133503.176205177]: Loading nodelet /torso_front_camera/realsense2_camera of type realsense2_camera/RealSenseNodeFactory to manager realsense2_camera_manager with the following remappings:
[ INFO] [1622133503.180916262]: waitForService: Service [/torso_front_camera/realsense2_camera_manager/load_nodelet] has not been advertised, waiting...
[ INFO] [1622133503.351045860]: Initializing nodelet with 16 worker threads.
[ INFO] [1622133503.367173123]: waitForService: Service [/torso_front_camera/realsense2_camera_manager/load_nodelet] is now available.
[ INFO] [1622133503.547639079]: RealSense ROS v2.3.0
[ INFO] [1622133503.547669124]: Built with LibRealSense v2.45.0
[ INFO] [1622133503.547688227]: Running with LibRealSense v2.45.0
[ INFO] [1622133503.573757472]:
[ INFO] [1622133503.631292193]: Device with serial number<PHONE_NUMBER>40 was found.
[ INFO] [1622133503.631337643]: Device with physical ID /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/video4linux/video0 was found.
[ INFO] [1622133503.631362276]: Device with name Intel RealSense D435I was found.
[ INFO] [1622133503.632082127]: Device with port number 2-8 was found.
[ INFO] [1622133503.632135227]: Device USB type: 3.2
[ INFO] [1622133503.634053905]: getParameters...
[ INFO] [1622133503.704282151]: setupDevice...
[ WARN] [1622133503.704387634]: JSON file provided doesn't exist! (empty)
[ INFO] [1622133503.704439738]: ROS Node Namespace: torso_front_camera
[ INFO] [1622133503.704462319]: Device Name: Intel RealSense D435I
[ INFO] [1622133503.704482575]: Device Serial No:<PHONE_NUMBER>40
[ INFO] [1622133503.704500359]: Device physical port: /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/video4linux/video0
[ INFO] [1622133503.704518569]: Device FW version: <IP_ADDRESS>
[ INFO] [1622133503.704564249]: Device Product ID: 0x0B3A
[ INFO] [1622133503.704597465]: Enable PointCloud: On
[ INFO] [1622133503.704624481]: Align Depth: On
[ INFO] [1622133503.704651972]: Sync Mode: On
[ INFO] [1622133503.704747638]: Device Sensors:
[ INFO] [1622133503.708626798]: Stereo Module was found.
27/05 16:38:23,708 WARNING [140108555687680] (backend-v4l2.cpp:1357) Pixel format 36315752-1a66-a242-9065-d01814a likely requires patch for fourcc code RW16!
[ INFO] [1622133503.717730544]: RGB Camera was found.
[ INFO] [1622133503.718028177]: Motion Module was found.
[ INFO] [1622133503.718065272]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1622133503.718561488]: Add Filter: pointcloud
[ INFO] [1622133503.719299084]: num_filters: 2
[ INFO] [1622133503.719327947]: Setting Dynamic reconfig parameters.
[ WARN] [1622133503.737583372]: Param '/torso_front_camera/stereo_module/auto_exposure_limit' has value 0 that is not in range [1, 165000]. Removing this parameter from dynamic reconfigure options.
[ WARN] [1622133503.738121828]: Param '/torso_front_camera/stereo_module/auto_gain_limit' has value 0 that is not in range [16, 248]. Removing this parameter from dynamic reconfigure options.
[ WARN] [1622133503.751680839]: Param '/torso_front_camera/rgb_camera/power_line_frequency' has value 3 that is not in the enum { {50Hz: 1} {60Hz: 2} {Disabled: 0} }. Removing this parameter from dynamic reconfigure options.
[ INFO] [1622133503.765826194]: Done Setting Dynamic reconfig parameters.
[ INFO] [1622133503.766452970]: depth stream is enabled - width: 848, height: 480, fps: 30, Format: Z16
[ INFO] [1622133503.767501371]: color stream is enabled - width: 848, height: 480, fps: 30, Format: RGB8
[ INFO] [1622133503.770203639]: setupPublishers...
[ INFO] [1622133503.773462952]: Expected frequency for depth = 30.00000
[ INFO] [1622133503.805404321]: Expected frequency for color = 30.00000
[ INFO] [1622133503.829850818]: Expected frequency for aligned_depth_to_color = 30.00000
[ INFO] [1622133503.848314546]: setupStreams...
[ INFO] [1622133503.848677352]: insert Depth to Stereo Module
[ INFO] [1622133503.848721629]: insert Color to RGB Camera
[ INFO] [1622133503.906023073]: SELECTED BASE:Depth, 0
[ INFO] [1622133503.915397471]: RealSense Node Is Up!
[ WARN] [1622133503.975063506]:
27/05 16:39:23,525 ERROR [140108342753024] (types.h:315) acquire: Cannot open '/dev/video0 Last Error: No such file or directory
27/05 16:39:23,525 ERROR [140108342753024] (global_timestamp_reader.cpp:239) Error during time_diff_keeper polling: acquire: Cannot open '/dev/video0 Last Error: No such file or directory
[ERROR] [1622133563.756518322]: The device has been disconnected!
27/05 16:39:23,757 ERROR [140108580865792] (types.h:315) xioctl(VIDIOC_STREAMOFF) failed for buf_type=1 Last Error: No such device
27/05 16:39:23,758 ERROR [140108580865792] (sensor.cpp:550) release_power failed: xioctl(VIDIOC_STREAMOFF) failed for buf_type=1 Last Error: No such device
27/05 16:39:23,758 ERROR [140108580865792] (types.h:315) xioctl(VIDIOC_STREAMOFF) failed for buf_type=1 Last Error: No such device
27/05 16:39:23,758 ERROR [140108580865792] (types.h:315) xioctl(VIDIOC_REQBUFS) failed Last Error: No such device
27/05 16:39:23,758 ERROR [140108580865792] (sensor.cpp:550) release_power failed: xioctl(VIDIOC_REQBUFS) failed Last Error: No such device
27/05 16:39:23,772 ERROR [140108317574912] (types.h:315) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device
27/05 16:39:23,773 ERROR [140108317574912] (types.h:315) xioctl(VIDIOC_REQBUFS) failed Last Error: No such device
27/05 16:39:23,773 ERROR [140108317574912] (sensor.cpp:550) release_power failed: xioctl(VIDIOC_REQBUFS) failed Last Error: No such device
27/05 16:39:23,773 ERROR [140108317574912] (error-handling.cpp:78) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device
[ERROR] [1622133563.800843034]: Exception: acquire: Cannot open '/dev/video0 Last Error: No such file or directory
27/05 16:39:23,800 ERROR [140108580865792] (types.h:315) acquire: Cannot open '/dev/video0 Last Error: No such file or directory
27/05 16:39:23,800 ERROR [140108580865792] (types.h:315) xioctl(VIDIOC_REQBUFS) failed Last Error: No such device
27/05 16:39:23,800 ERROR [140108580865792] (sensor.cpp:550) release_power failed: xioctl(VIDIOC_REQBUFS) failed Last Error: No such device
27/05 16:39:24,773 ERROR [140108317574912] (types.h:315) get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device
27/05 16:39:24,773 ERROR [140108317574912] (types.h:315) xioctl(VIDIOC_REQBUFS) failed Last Error: No such device
27/05 16:39:24,773 ERROR [140108317574912] (sensor.cpp:550) release_power failed: xioctl(VIDIOC_REQBUFS) failed Last Error: No such device
27/05 16:39:24,773 ERROR [140108317574912] (error-handling.cpp:78) Error during polling error handler: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: No such device
[ WARN] [1622133564.807143878]: No RealSense devices were found!
27/05 16:39:28,810 ERROR [140108580865792] (handle-libusb.h:51) failed to open usb interface: 0, error: RS2_USB_STATUS_ACCESS
27/05 16:39:28,810 ERROR [140108580865792] (tm-boot.h:42) Failed to open T265 zero interface
[ WARN] [1622133570.808542589]: No RealSense devices were found!
[ INFO] [1622133576.818547984]:
[ INFO] [1622133576.826901204]: Device with serial number<PHONE_NUMBER>40 was found.

[ INFO] [1622133576.826948134]: Device with physical ID /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/video4linux/video0 was found.
[ INFO] [1622133576.826964336]: Device with name Intel RealSense D435I was found.
[ INFO] [1622133576.827582770]: Device with port number 2-8 was found.
[ INFO] [1622133576.827636724]: Device USB type: 3.2
[ INFO] [1622133578.393242159]: getParameters...
[ INFO] [1622133578.457622314]: setupDevice...
[ WARN] [1622133578.457670579]: JSON file provided doesn't exist! (empty)
[ INFO] [1622133578.457690892]: ROS Node Namespace: torso_front_camera
[ INFO] [1622133578.457704631]: Device Name: Intel RealSense D435I
[ INFO] [1622133578.457718853]: Device Serial No:<PHONE_NUMBER>40
[ INFO] [1622133578.457754318]: Device physical port: /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/video4linux/video0
[ INFO] [1622133578.457772050]: Device FW version: <IP_ADDRESS>
[ INFO] [1622133578.457786578]: Device Product ID: 0x0B3A
[ INFO] [1622133578.457800437]: Enable PointCloud: On
[ INFO] [1622133578.457814071]: Align Depth: On
[ INFO] [1622133578.457825797]: Sync Mode: On
[ INFO] [1622133578.457850342]: Device Sensors:
[ INFO] [1622133578.461605288]: Stereo Module was found.
27/05 16:39:38,461 WARNING [140108208535296] (backend-v4l2.cpp:1357) Pixel format 36315752-1a66-a242-9065-d01814a likely requires patch for fourcc code RW16!
[ INFO] [1622133578.471516780]: RGB Camera was found.
[ INFO] [1622133578.471787053]: Motion Module was found.
[ INFO] [1622133578.471810511]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1622133578.472258085]: Add Filter: pointcloud
[ INFO] [1622133578.472957769]: num_filters: 2
[ INFO] [1622133578.472984457]: Setting Dynamic reconfig parameters.
[ WARN] [1622133578.493675388]: Param '/torso_front_camera/stereo_module/auto_exposure_limit' has value 0 that is not in range [1, 165000]. Removing this parameter from dynamic reconfigure options.
[ WARN] [1622133578.494294644]: Param '/torso_front_camera/stereo_module/auto_gain_limit' has value 0 that is not in range [16, 248]. Removing this parameter from dynamic reconfigure options.
[ WARN] [1622133578.510681868]: Param '/torso_front_camera/rgb_camera/power_line_frequency' has value 3 that is not in the enum { {50Hz: 1} {60Hz: 2} {Disabled: 0} }. Removing this parameter from dynamic reconfigure options.
[ INFO] [1622133578.525230431]: Done Setting Dynamic reconfig parameters.
[ INFO] [1622133578.525929696]: depth stream is enabled - width: 848, height: 480, fps: 30, Format: Z16
[ INFO] [1622133578.527012903]: color stream is enabled - width: 848, height: 480, fps: 30, Format: RGB8
[ INFO] [1622133578.529053644]: setupPublishers...
[ INFO] [1622133578.531807136]: Expected frequency for depth = 30.00000
[ INFO] [1622133578.581512124]: Expected frequency for color = 30.00000
[ INFO] [1622133578.613660189]: Expected frequency for aligned_depth_to_color = 30.00000
[ INFO] [1622133578.646075214]: setupStreams...
[ INFO] [1622133578.696778580]: insert Depth to Stereo Module
[ INFO] [1622133578.696841001]: insert Color to RGB Camera
27/05 16:39:38,702 ERROR [140108208535296] (types.h:315) xioctl(VIDIOC_S_FMT) failed Last Error: Input/output error
[ERROR] [1622133578.703022763]: An exception has been thrown: xioctl(VIDIOC_S_FMT) failed Last Error: Input/output error
[ERROR] [1622133578.703100839]: Exception: xioctl(VIDIOC_S_FMT) failed Last Error: Input/output error
[ WARN] [1622133579.525744807]: Hardware Notification:USB SCP overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133580.526068595]: Hardware Notification:Depth stream start failure,1.62213e+12,Error,Hardware Error
[ WARN] [1622133582.526683402]: Hardware Notification:Depth stream start failure,1.62213e+12,Error,Hardware Error
27/05 16:39:43,705 WARNING [140108191749888] (backend-v4l2.cpp:1122) Frames didn't arrived within 5 seconds
[ WARN] [1622133584.527282254]: Hardware Notification:USB SCP overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133586.527871968]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133588.528619813]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
27/05 16:39:48,706 WARNING [140108191749888] (backend-v4l2.cpp:1122) Frames didn't arrived within 5 seconds
[ WARN] [1622133590.529198082]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133592.529896018]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
27/05 16:39:53,711 WARNING [140108191749888] (backend-v4l2.cpp:1122) Frames didn't arrived within 5 seconds
[ WARN] [1622133594.530495312]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133596.531171391]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133598.531852593]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
27/05 16:39:58,712 WARNING [140108191749888] (backend-v4l2.cpp:1122) Frames didn't arrived within 5 seconds
[ WARN] [1622133600.532625434]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133602.533368446]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
27/05 16:40:03,717 WARNING [140108191749888] (backend-v4l2.cpp:1122) Frames didn't arrived within 5 seconds
[ WARN] [1622133604.534005638]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133606.534594778]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133608.535252277]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
27/05 16:40:08,717 WARNING [140108191749888] (backend-v4l2.cpp:1122) Frames didn't arrived within 5 seconds
[ WARN] [1622133610.535803936]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133612.536403843]: Hardware Notification:USB SCP overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133613.536750341]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
27/05 16:40:13,722 WARNING [140108191749888] (backend-v4l2.cpp:1122) Frames didn't arrived within 5 seconds
[ WARN] [1622133614.537130005]: Hardware Notification:USB SCP overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133615.537544668]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133616.538055901]: Hardware Notification:USB SCP overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133617.538362135]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133618.538751295]: Hardware Notification:USB SCP overflow,1.62213e+12,Error,Hardware Error
27/05 16:40:18,723 WARNING [140108191749888] (backend-v4l2.cpp:1122) Frames didn't arrived within 5 seconds
[ WARN] [1622133619.539098324]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133620.539515080]: Hardware Notification:USB SCP overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133621.539856397]: Hardware Notification:USB CAM overflow,1.62213e+12,Error,Hardware Error
[ WARN] [1622133622.540201879]: Hardware Notification:USB SCP overflow,1.62213e+12,Error,Hardware Error

Alright, I've compiled librealsense2 with cmake ../ -DCMAKE_BUILD_TYPE=Release -DFORCE_RSUSB_BACKEND=true , updated firmware to <IP_ADDRESS>, built the 2.3.0 ROS Wrapper after installing the librealsense2 version and I have the same situation, albeit the error messages are different.
I do see the physical device detected as:

[ INFO] [1622134530.622777687]: Device physical port: 2-8-2

Which I believe indicates that it's not using video4linux.
Here are the full logs after launching the appllication after the USB driver reset.

[ INFO] [1622134589.968304849]: Loading nodelet /torso_front_camera/realsense2_camera of type realsense2_camera/RealSenseNodeFactory to manager realsense2_camera_manager with the following remappings:
[ INFO] [1622134589.973678498]: waitForService: Service [/torso_front_camera/realsense2_camera_manager/load_nodelet] has not been advertised, waiting...
[ INFO] [1622134590.120621606]: Initializing nodelet with 16 worker threads.
[ INFO] [1622134590.139978782]: waitForService: Service [/torso_front_camera/realsense2_camera_manager/load_nodelet] is now available.
[ INFO] [1622134590.298098631]: RealSense ROS v2.3.0
[ INFO] [1622134590.298136803]: Built with LibRealSense v2.45.0
[ INFO] [1622134590.298159867]: Running with LibRealSense v2.45.0
[ INFO] [1622134590.343411565]:
[ WARN] [1622134590.366231620]: Device 1/2 failed with exception: failed to set power state
27/05 16:56:30,365 ERROR [140576603227904] (handle-libusb.h:95) failed to claim usb interface: 0, error: RS2_USB_STATUS_BUSY
27/05 16:56:30,365 ERROR [140576628406016] (sensor.cpp:526) acquire_power failed: failed to set power state
27/05 16:56:30,366 WARNING [140576628406016] (rs.cpp:306) null pointer passed for argument "device"
[ WARN] [1622134590.376174235]: Device 2/2 failed with exception: Unable to open device interface
[ERROR] [1622134590.376224751]: The requested device with serial number<PHONE_NUMBER>40 and device name containing d4.5 is NOT found. Will Try again.
27/05 16:56:30,375 ERROR [140576628406016] (handle-libusb.h:95) failed to claim usb interface: 0, error: RS2_USB_STATUS_BUSY
27/05 16:56:30,375 ERROR [140576628406016] (types.h:315) Unable to open device interface
27/05 16:56:30,376 WARNING [140576628406016] (rs.cpp:306) null pointer passed for argument "device"
[ INFO] [1622134596.404429253]:
27/05 16:56:36,430 WARNING [140576611620608] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No data available, number: 61
27/05 16:56:36,487 WARNING [140576611620608] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No data available, number: 61
27/05 16:56:36,544 WARNING [140576611620608] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No data available, number: 61
Last message repaeated hundreds of times
[ WARN] [1622134602.134277448]: Device 1/2 failed with exception: set_xu(ctrl=1) failed! Last Error: Resource temporarily unavailable
27/05 16:56:42,134 WARNING [140576628406016] (rs.cpp:306) null pointer passed for argument "device"
27/05 16:56:42,142 ERROR [140576628406016] (handle-libusb.h:95) failed to claim usb interface: 0, error: RS2_USB_STATUS_BUSY
[ WARN] [1622134602.143078587]: Device 2/2 failed with exception: Unable to open device interface
[ERROR] [1622134602.143117438]: The requested device with serial number<PHONE_NUMBER>40 and device name containing d4.5 is NOT found. Will Try again.
27/05 16:56:42,142 ERROR [140576628406016] (types.h:315) Unable to open device interface
27/05 16:56:42,143 WARNING [140576628406016] (rs.cpp:306) null pointer passed for argument "device"

I have not, but I will do next Monday when I'm back at the office. Thank you for your support, I'll get back to you.

You are very welcome @v-lopez - I look forward to your report.  Good luck!

@MartyG-RealSense using roslaunch realsense2_camera rs_camera.launch initial_reset:=true does the trick.
Thanks a lot for your great support!

You are very welcome @v-lopez - it's excellent news that initial_reset:=true worked for you.  Thanks for the update!

Similar problem with the realsense L515

Hi @drapado  Please create a new case for your L515 issue by visiting the link below and left-clicking on the New Issue button.  Thanks!
https://github.com/IntelRealSense/librealsense/issues/


Choices predicate should preserve order.

Comments
This will make interface generation more predictable. However it may imply that:
Str % Choices('a', 'b', 'c') != Str % Choices('b', 'c', 'a')

which after looking at the grammar again, should be fine as we have a equals (a <= b <= a) method to check domain equality. __eq__ is strictly for hashing and matches __hash__'s semantics

Seems like we tend to just give it a list which is of course ordered, so maybe we don't need this anymore. @ebolyen open if you think is still relevant


Fix wrong behavior of Detection Transform Function.(#959)

Consider the difference of the division operator between Python 2.x and Python 3.x.

Codecov Report

Merging #960 into master will decrease coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #960      +/-   ##
==========================================
- Coverage   60.21%   60.15%   -0.06%
==========================================
  Files          63       63
  Lines        5019     5019
  Branches      748      748
==========================================
- Hits         3022     3019       -3
- Misses       1794     1796       +2
- Partials      203      204       +1

Impacted Files
Coverage Δ

torchvision/models/detection/transform.py
78.09% <100%> (ø)
:arrow_up:

torchvision/transforms/transforms.py
81.89% <0%> (-0.65%)
:arrow_down:

Continue to review full report at Codecov.

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


Add an auto-updater ( We make too much updates... )

We can begin by adding a version number and a version file to check...  If the version is older than the fil   notify user

Look at Ogar-unlimited s code

how? Maybe we need a script to do it


Ho wow i can do it myself

Thanks a lot for you contribution @FedeArre !

@all-contributors please add @FedeArre for translation


Identity Management Specifications

Write specifications for identity management for cross-network interoperability modes:

Remove content redundancy and reduce verbosity in existing files.
Separate network-specific features from features involving third-party decentralized identity registries into different RFCs, to give users more choice and flexibility.
Provide an updated specification of the protocols to conform to the latest models as sketched out in these RFCs.

Models:

https://github.com/hyperledger-labs/weaver-dlt-interoperability/blob/main/rfcs/models/identity/network-identity-management.md
https://github.com/hyperledger-labs/weaver-dlt-interoperability/blob/main/rfcs/models/identity/iin.md
https://github.com/hyperledger-labs/weaver-dlt-interoperability/blob/main/rfcs/models/identity/iin-agent.md
https://github.com/hyperledger-labs/weaver-dlt-interoperability/blob/main/rfcs/models/identity/identity-update-policy.md
Protocols:
https://github.com/hyperledger-labs/weaver-dlt-interoperability/blob/main/rfcs/protocols/identity/id-config-sharing.md (Update this)
https://github.com/hyperledger-labs/weaver-dlt-interoperability/blob/main/rfcs/protocols/identity/identity-syncing.md
Message structures and data formats, for generic components and for DLT-specific components:
https://github.com/hyperledger-labs/weaver-dlt-interoperability/blob/main/rfcs/formats/network/identity.md

Split or merge files into multiple RFCs if you think that will be more comprehensible to the reader. Rename the titles if necessary. Create more RFCs if necessary.

Completed in #316 and #319 .


[backport/1.25] repo: Release 1.25.1

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/docs

cc @ggreenway


Add support for selecting specific wallet for packet clearing CLI

Summary
Add -k <KEY> option for clear packets CLI, just like Hermes provides one for tx raw ft-transfer -k <KEY>
Problem Definition
Hermes operators typically run one start instance in the background and then sometimes require a second instance to do packet clearing in parallel. This second instance should not be reusing the same wallet as the first, otherwise it would result in account sequence mismatch errors. Currently, it is not possible to start clear packets with a separate wallet.
Acceptance Criteria

[ ] Add support for using a specific  with option -k as part of clear packets CLI

For Admin Use

[X] Not duplicate issue
[X] Appropriate labels applied
[X] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

I'm not sure what a key looks like. What's an example key I could use to test this flow?

I think we should have the -k for all CLIs. Is there a way to have a generic solution for all CLIs? i.e. overwrite the key in the chain config if -k flag is present.


onPageSelected called automatically when navigate to other screen and detachInactiveScreens is false

Environment
"react": "17.0.2",
"react-native": "0.66.2"
"react-native-pager-view": "^6.0.0-rc.0"
"@react-navigation/native": "^6.0.6"
Description
disable the detachInactiveScreens and navigate to other screen and after came back the page is set to zero onPageSelected event is called every time when I navigate to other screen. Event is working fine when detachInactiveScreens is true.

Hi, even detachInactiveScreens is not fixing for me.
From my testing, it looks like, starting from react-native 0.65.0, onPageSelected(0) is fired(Android only) when you navigate to child stack screen OR coming back from child stack screen

This is still happening with us in production and is a huge issue, does anyone have any idea how to fix? Only starting in > 0.65

I am also facing this problem and downgraded our react-native version to <0.65

@RMG0 Thanks for the insight. Unfortunately, this didn't fix the problem for us

I have same problem ; @dcphi did you find a solution ? :/


Multibyte write and copy

Writing and copying multiple bytes at once
This change allows for multibyte writing and copying of VRAM data. Its main purpose is to increase performance.
Register usage
This features uses two unused bits: bits 1 and 2 of the $9F22 register

Addr
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0

$9F22
ADDRx_H (x=ADDRSEL)
Address Increment
Address Increment
Address Increment
Address Increment
DECR
-
-
VRAM Address (16)

By setting these 2 bits the way bytes are written to VRAM is changed. The default mode is that only one VRAM byte is changed once a byte is written to DATA0 or DATA1 (as per usual). When the 2 bits are set differently multiple bytes (with the same value) are written to VRAM.
How it works
Up to 4 bytes can be written to VRAM at once, aligned to a 32-bit address. Which of the 4 bytes are overwritten can be controlled: all possible patterns of bytes written to can be achieved by combining the 2 bits (bit 1 and 2 of the register $9F22) and the lower 2 bits of the address that is written to. That is all except the pattern that writes nothing to VRAM.
Below is the mapping:

address % 4

0
1
2
3

bits 1 and 2($9F22)
00
+---
-+--
--+-
---+

01
-+-+
+-+-
++--
+--+

10
++++
+++-
-++-
++-+

11
blit
-+++
--++
+-++

Note: Each byte pattern is consists of four +'s and -'s. Each - or + represents a byte in VRAM. A + means the byte is written to and a - means the byte in VRAM is untouched.
Blitting
A special combination of address and the 2 bits is used to signify copying of 4 bytes at the same time (aka "blitting"). This is when address % 4 == 0 and the 2-bit pattern is 11b. This works as follows:

Whenever there is a read from DATA0 or DATA1 (and this "blit-setting" is the case) a internal 32-bit cache is filled with the (aligned 32-bit) value of DATA0 or DATA1.
Whenever there is a write to DATA0 or DATA1 (and this "blit-setting" is the case)  this stored 32-bit cache is written to the VRAM address.

This effectively allows for copying 4 bytes at the same time from VRAM to VRAM.
Note: the above feature (writing and copying) is limited to main Video RAM: $00000-$1F9BF
Example code
In effect you can write 4 bytes of VRAM at the same time using a single 6502 sta command (after you setup the registers correctly):
lda #1          ; Set address to % 4 == 1
sta $9F20
lda #0
sta $9F21

lda #%00110110  ; Set increment to 4 and bits 1 and 2 to 11b
sta $9F22

lda #42
sta DATA0       ; Write color value 4 bytes at a time
sta DATA0
sta DATA0
sta DATA0
sta DATA0
sta DATA0
...

To copy VRAM to VRAM quickly you can do use an lda and sta (with a "blit-setting" configured):
lda #0          ; Set address to % 4 == 0
sta $9F20
sta $9F21

lda #%00110110  ; Set increment to 4 and bits 1 and 2 to 11b
sta $9F22

lda DATA1       ; Copy 4 bytes at a time
sta DATA0
lda DATA1
sta DATA0
lda DATA1
sta DATA0
lda DATA1
sta DATA0
lda DATA1
...

You can even use a bit and stz, so no CPU register will be needed.
Use cases
Here are a few use cases:

Writing 4 bytes at the time (1111)

Clearing a bitmap screen 4 times as fast
Drawing (large) polygons much faster

Writing 2-3  consecutive bytes at the same time (1100, 0110, 0011, 1110, 0111)

Drawing multiple (textured) pixel columns at the same time

In essence: just like deferred column rendering in DOOM and Wolfenstein 3D worked.

Drawing non-consecutive 2 bytes at the same time (1010, 0101)

Updating tile attributes (which are spaced 2 bytes apart) more quickly

Copying 4 bytes of data from VRAM to VRAM (blit)

Copying tiledata 4 times as fast (for tile animations)
Copying bitmap data 4 times as fast

This shows the speed difference (on real HW) of filling/clearing the screen (source):

This show the speed difference (on real HW) of copying bitmap data (source):

Backwards compatibility and HW testing
This feature uses 2 bits that were previously unused. If set to 00b it is completely backwards compatible, since it will do basic 1 byte writes to VRAM. Only if the bits are set differently will the behaviour change of VERA.
This features has been tested for backwards compatability for the following X16 application/demos/games:

Application/Demo/Game
Tested by

X16 Hardware Tester
JeffreyH

X16 Kernal / Basic
JeffreyH

Super Mario Bros (X16 port)
JeffreyH

STNICCC demo
JeffreyH

Wolf3D demo
JeffreyH

...
...

...
...

...
...

These all work as expected. This is a good indication that this feature is indeed backwards compatible and most if not all software / demos / games have the bit 1 and 2 (of $9F22) set to 0.
Note: this change to VERA has also been implemented for the X16 emulator (see PR by MooingLemur: https://github.com/commanderx16/x16-emulator/pull/470) and has shown the same behavior.
Analysis and research into VERA inner workings
Analysis of (parts of) VERA's inner workings has been performed in order to determine what would be needed to create this feature and what the effects would be on the other parts of VERA. The diagrams below show the (visual) results of the research:

Need some more detail regarding the write patterns: while some of them are obvious, e.g. 1111 for contiguous fill and 1010 and 0101 for tile updates, some patterns such as 1101 are not. Would it be better to reserve some of the patterns for future use?

What is the resource impact (e.g. additional LUT4s used) for adding this capability?

It feels like there needs to be a formal review process for features like this to avoid unnecessary feature creep and ensure we aren't getting away from the original "retro" vision by adding too many advanced capabilities. This particular addition doesn't bother me since it feels like what advanced 8-bit hardware might have had as a steppingstone between the CPU doing everything and a full-blown blitter like the Amiga had. That said, we need people in the room who aren't microarchitecture experts and therefore are not likely to review this as part of the decision-making process.

Need some more detail regarding the write patterns: while some of them are obvious, e.g. 1111 for contiguous fill and 1010 and 0101 for tile updates, some patterns such as 1101 are not. Would it be better to reserve some of the patterns for future use?

I have extended the use cases (see above) explaining/showing 9 multibyte useful patterns. Adding the default 4 single byte patterns to that (and the blit usecase) means there are 14 (out of 16) useful patterns. The two others are not easily used for anything else. So it makes sense just to complete the set of possible byte patterns.

In the description of the issue, you've got this written as the 4-bytes-at-once example:
lda #1          ; Set address to % 4 == 1
sta $9F20
lda #0
sta $9F21

lda #%00110110  ; Set increment to 4 and bits 1 and 2 to 11b
sta $9F22

lda #42
sta DATA0       ; Write color value 4 bytes at a time
sta DATA0
sta DATA0
sta DATA0
sta DATA0
sta DATA0

This example uses the (ADDRESS % 4 == 1) and Register Bits 11,
which according to the table is the -+++ pattern.
It seems the pattern you'd want to use for this example is ++++,
which corresponds to (ADDRESS % 4 == 0) and Register Bits 10 from the table.
So is the table wrong, or the example wrong, or have I misunderstood both really badly?

@blinkdog good catch.
The example is wrong.  The four-byte write used to be at wrpattern ($9F22 bits 1 and 2) 11b, address % 0 == 1, but today @visual-trials moved it to wrpattern 10b, address % 0 == 0.  It seems he might have missed updating the example.

I've updated my fork/branch of the emulator to match the current behavior of this PR.  Builds can be found here https://github.com/mooinglemur/x16-emulator/actions/runs/4029536711

In the description of the issue, you've got this written as the 4-bytes-at-once example:
lda #1          ; Set address to % 4 == 1
sta $9F20
lda #0
sta $9F21

lda #%00110110  ; Set increment to 4 and bits 1 and 2 to 11b
sta $9F22

lda #42
sta DATA0       ; Write color value 4 bytes at a time
sta DATA0
sta DATA0
sta DATA0
sta DATA0
sta DATA0

This example uses the (ADDRESS % 4 == 1) and Register Bits 11, which according to the table is the -+++ pattern.
It seems the pattern you'd want to use for this example is ++++, which corresponds to (ADDRESS % 4 == 0) and Register Bits 10 from the table.
So is the table wrong, or the example wrong, or have I misunderstood both really badly?

Thanks! I fixed this in the example code.

Here is the reasoning being the choices made in the mapping:

This has been discussed in discord, but I though it might be a good idea to post it here as well.

There has been a complete rewrite of this, so this is old and can be removed.

Closing


fix(semantic release): testing semantic release

:tada: This PR is included in version 2.2.1 :tada:
Your semantic-release bot :package::rocket:


Timeout value connect was Timeout(connect=60, read=60, total=None), but it must be an int, float or None.

Thank you for your work Mr Clemens. During install I get "ValueError: Timeout value connect was Timeout(connect=60, read=60, total=None), but it must be an int, float or None."
$ python -V
Python 3.7.3
Best wishes
This is what I am running:
git clone https://github.com/c-w/gutenberg-http.git
cd gutenberg-http
docker-compose up --build web

After which I get this error:

[me@tower gutenberg-http]$ docker-compose up --build web
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/requests/packages/urllib3/util/timeout.py", line 124, in _validate_timeout
float(value)
TypeError: float() argument must be a string or a number, not 'Timeout'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 11, in
load_entry_point('docker-compose==1.24.0', 'console_scripts', 'docker-compose')()
File "/usr/lib/python3.7/site-packages/compose/cli/main.py", line 71, in main
command()
File "/usr/lib/python3.7/site-packages/compose/cli/main.py", line 124, in perform_command
project = project_from_options('.', options)
File "/usr/lib/python3.7/site-packages/compose/cli/command.py", line 42, in project_from_options
compatibility=options.get('--compatibility'),
File "/usr/lib/python3.7/site-packages/compose/cli/command.py", line 128, in get_project
project_name, config_data, client, environment.get('DOCKER_DEFAULT_PLATFORM')
File "/usr/lib/python3.7/site-packages/compose/project.py", line 101, in from_config
service_networks = get_networks(service_dict, networks)
File "/usr/lib/python3.7/site-packages/compose/network.py", line 320, in get_networks
networks[network.true_name] = netdef
File "/usr/lib/python3.7/site-packages/compose/network.py", line 125, in true_name
self._set_legacy_flag()
File "/usr/lib/python3.7/site-packages/compose/network.py", line 146, in _set_legacy_flag
data = self.inspect(legacy=True)
File "/usr/lib/python3.7/site-packages/compose/network.py", line 106, in inspect
return self.client.inspect_network(self.legacy_full_name)
File "/usr/lib/python3.7/site-packages/docker/utils/decorators.py", line 19, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/usr/lib/python3.7/site-packages/docker/api/network.py", line 211, in inspect_network
res = self._get(url, params=params)
File "/usr/lib/python3.7/site-packages/docker/utils/decorators.py", line 46, in inner
return f(self, *args, **kwargs)
File "/usr/lib/python3.7/site-packages/docker/api/client.py", line 230, in _get
return self.get(url, **self._set_request_timeout(kwargs))
File "/usr/lib/python3.7/site-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/lib/python3.7/site-packages/requests/packages/urllib3/connectionpool.py", line 587, in urlopen
timeout_obj = self._get_timeout(timeout)
File "/usr/lib/python3.7/site-packages/requests/packages/urllib3/connectionpool.py", line 302, in _get_timeout
return Timeout.from_float(timeout)
File "/usr/lib/python3.7/site-packages/requests/packages/urllib3/util/timeout.py", line 154, in from_float
return Timeout(read=timeout, connect=timeout)
File "/usr/lib/python3.7/site-packages/requests/packages/urllib3/util/timeout.py", line 94, in init
self._connect = self._validate_timeout(connect, 'connect')
File "/usr/lib/python3.7/site-packages/requests/packages/urllib3/util/timeout.py", line 127, in _validate_timeout
"int, float or None." % (name, value))
ValueError: Timeout value connect was Timeout(connect=60, read=60, total=None), but it must be an int, float or None.

Apologies for the late reply. I wasn't receiving notifications for this repository for a while. The build behavior you mentioned should have been fixed by f3c9881 so I'm closing this issue. Feel free to re-open if you're still experiencing problems.


Django REST API documentation with swagger and open API

Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
Django REST API documentation with swagger and open API
Introduction paragraph(s):
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. In this tutorial the reader will learn how to create a Django REST API and document it with swagger. REST API documentation makes it easier for API consumers to easily integrate with the API.
Key takeaways:

The reader will be able to create REST APIs in Django.
The reader will be able to document the REST API endpoints created using Swaggger.

References:
Please list links to any published content/research that you intend to use to support/guide this article.
N/A
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Thank you for the topic suggestion @okeloviolet. Before we approved this topic, can you please confirm that there will not be too much crossover with this existing article - https://www.section.io/engineering-education/django-crud-api/?
It sounds like your proposed article is more focused on the swagger documentation, but wanted to confirm before having you proceed.

@ninjaginja  the article is majoring on the REST API documentation rather than creating REST APIs


Test: issues on scale deployment

time="2018-03-29T13:16:12Z" level=debug msg="applying /home/vagrant/go/src/github.com/cilium/cilium/test/k8sT/manifests/demo.yaml" testName=NightlyK8sEpsMeasurement
time="2018-03-29T13:16:12Z" level=debug msg="running command: kubectl apply -f  /home/vagrant/go/src/github.com/cilium/cilium/test/k8sT/manifests/demo.yaml"
cmd: "kubectl apply -f  /home/vagrant/go/src/github.com/cilium/cilium/test/k8sT/manifests/demo.yaml" exitCode: 0
 service "app1-service" created
deployment.extensions "app1" created
deployment.extensions "app2" created
deployment.extensions "app3" created

time="2018-03-29T13:16:12Z" level=debug msg="running command: kubectl scale deployment app1 --replicas=3"
cmd: "kubectl scale deployment app1 --replicas=3" exitCode: 1
 error: Scaling the resource failed with: could not update the scale for deployments.extensions app1: Operation cannot be fulfilled on deployments.extensions "app1": the object has been modified; please apply your changes to the latest version and try again; Current resource version 2370

Found  in
https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/1739/
K8sValidatedUpdatesUpdatingCiliumstabletomaster.zip
Seed:<PHONE_NUMBER>

@eloycoto given that #3590 is merged can we close this?

Yep!


[tool_crash] FileSystemException: Deletion failed, OS Error: The system cannot find the path specified., errno = 3

Command
flutter pub get

Steps to Reproduce

...
...
...

Logs
FileSystemException: Deletion failed, OS Error: The system cannot find the path specified.
, errno = 3
#0      _Directory._deleteSync (dart:io/directory_impl.dart:201:7)
#1      FileSystemEntity.deleteSync (dart:io/file_system_entity.dart:412:7)
#2      ForwardingFileSystemEntity.deleteSync (package:file/src/forwarding/forwarding_file_system_entity.dart:70:16)
#3      ErrorHandlingDirectory.deleteSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:486:22)
#4      _runSync (package:flutter_tools/src/base/error_handling_io.dart:597:14)
#5      ErrorHandlingDirectory.deleteSync (package:flutter_tools/src/base/error_handling_io.dart:485:12)
#6      _createPlatformPluginSymlinks (package:flutter_tools/src/flutter_plugins.dart:1047:22)
#7      createPluginSymlinks (package:flutter_tools/src/flutter_plugins.dart:996:5)
#8      refreshPluginsList (package:flutter_tools/src/flutter_plugins.dart:1087:5)
<asynchronous suspension>
#9      FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:359:5)
<asynchronous suspension>
#10     PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:177:5)
<asynchronous suspension>
#11     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1194:27)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#13     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
<asynchronous suspension>
#15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#16     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)

[✓] Flutter (Channel master, 3.1.0-0.0.pre.86, on Microsoft Windows [Version 10.0.19043.1165], locale en-US)
    • Flutter version 3.1.0-0.0.pre.86 at C:\scr\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision baf6b61c15 (3 months ago), 2022-04-11 03:54:06 -0400
    • Engine revision a5466fa0d7
    • Dart version 2.18.0 (build 2.18.0-9.0.dev)
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\MichaelPitter\AppData\Local\Android\Sdk
    • Platform android-32, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\MichaelPitter\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.15)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.32510.428
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[✓] VS Code (version 1.68.1)
    • VS Code at C:\Users\MichaelPitter\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.42.0

[✓] Connected device (4 available)
    • 2201116SG (mobile) • cf685c33c854 • android-arm64  • Android 11 (API 30)
    • Windows (desktop)  • windows      • windows-x64    • Microsoft Windows [Version 10.0.19043.1165]
    • Chrome (web)       • chrome       • web-javascript • Google Chrome 103.0.5060.66
    • Edge (web)         • edge         • web-javascript • Microsoft Edge 103.0.1264.37

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: dev
Creation framework version: 25caf1461b8f643092a9f6f5b224453b5c057d10
Plugins
flutter_barcode_scanner-2.0.0
flutter_config-2.0.0
flutter_plugin_android_lifecycle-2.0.6
google_maps_flutter-2.1.7
location-4.4.0
location_web-3.1.1
path_provider_linux-2.1.6
path_provider_windows-2.0.6
shared_preferences-2.0.15
shared_preferences_android-2.0.12
shared_preferences_ios-2.1.1
shared_preferences_linux-2.1.1
shared_preferences_macos-2.0.4
shared_preferences_web-2.0.4
shared_preferences_windows-2.1.1
url_launcher-6.1.3
url_launcher_android-6.0.17
url_launcher_ios-6.0.17
url_launcher_linux-3.0.1
url_launcher_macos-3.0.1
url_launcher_web-2.0.11
url_launcher_windows-3.0.1
webview_flutter-3.0.4
webview_flutter_android-2.8.11
webview_flutter_wkwebview-2.7.5

Closing this as duplicate of https://github.com/flutter/flutter/issues/106952. Please don't file multiple issues for same reason.


Why does EventEmitter not working on mat-menu?

What is the expected behavior?
The purpose is that I want to reconfirm whether the customer really wants to delete the content.
I have created custom directive AlertConfirmDirective.
When you click the button (delete), open a dialog to verify that it is no / yes. If Yes, it will emit to event (onConfirmed)
It's working fine normal component
but when using it on mat-menu with lazy list item. it do not working.
I have tired to try with change-detection strategy, setTimeout,... but all not working for me.
Reproduction
What are the steps to reproduce?
I have deployed my mini repo to : Stackblitz
<mat-menu #itemActions="matMenu">
  <ng-template matMenuContent let-item="item">
    <button mat-menu-item>{{item.name}}</button>
    <button mat-menu-item
    alert-confirm
    name="banking"
    (onConfirmed)="onDelete(item)">
      Delete
    </button>
  </ng-template>
</mat-menu>

Directive called and dialog open but EventEmiter (onConfirmed) not working.
Please review my repo and help me.
Thanks advaced
Environment
Angular CLI: 8.3.14
Node: 10.17.0
OS: linux x64
Angular: 8.2.12
@angular/material/ cdk    8.2.3

Browser(s): Chrome latest stable
Operating System:  Ubuntu 16.04

change ng-template to ng-container

I took a look and I don't see anything wrong with the example. @crisbeto does anything stand out to you?

I think the issue is that the menu items are detached and Angular unsubscribes from the output in that case. Hence the onConfirmed output does not fire.
Similar issue would be observable with basic *ngIf. Here is an example: https://stackblitz.com/edit/angular-swgksg?file=src/app/app.component.html.
I'm closing this as the menu detaches on list-item click and this is the expected behavior.


In sync with webpack template?

Will this template be in sync with webpack template updates?

That's a good question. I think it should be a goal for us to keep in sync in the short term. I've talked to @yyx990803 about eventually exploring composition support for Vue templates so that we can more easily layer workflows on top of each other without needing to repeat quite as much code.

Are the two in sync feature wise at the moment? I'm using the webpack template at the moment and there's some niceties in there that I wouldn't mind losing out on for PWA support, but I would rather have the best of both worlds (naturally)!

We plan to make the main webpack template PWA by default in the long run. Before that happens, the webpack template and this one will be in sync and not going to undergo major changes.


Incorrectly trimming url for non-existent '/'

sanic.router.Router.add seems to be miscalculating its if the trailing slash is missing or not - which eats into the url. See last key in comment. This only seems to happen when registering multiple handlers to the same route.
from sanic import Sanic

app = Sanic(__name__)

@app.get('/rest/<resource>')
def get(_):
    pass

@app.post('/rest/<resource>')
def post(_):
    pass

print(app.router.routes_all.keys())
# dict_keys(['/rest/<resource>', '/rest/<resource>/', '/rest/<resource'])

Closed with #495


Task - Filter biological associations [Was: New task - Filter/view biological association]

Facets
Nomenclature

[ ] Descendants of taxon name

[ ] subject
[ ] object
[ ] both

[ ] Use && to add another constraint

Relationship

[ ] Pick relationship

Relationship property

[ ] Pick property

[ ] subject
[ ] object
[ ] both

Use cases

[ ] Show me all relationship between one family of insects and one family of plants.

Display considerations

Present the result as linked to the original OTU, or all TaxonNames are desplayed as valid.
Include data attributes for subject/object
Make it look like nomenclature stats (hard, not priority) (i.e. hierarchy on each side)
Display graph of result set

Other

[ ] Download option

@jlpereira I pushed a new branch 1156_biological_associations_filter.  Please scaffold our standard faceted filter there 'Task - Filter biological associations'.  Params coming "soon".

Blocking dependencies are on 2652_unified_filters

Please any updates on this Filter (in terms of priority and progress)? I'm editing text for a reference to this in the manual.
Example

Where current filter doesn't show all publications possible, ... among other functions ...


react-scripts test syntax error for return async function in class field

Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes. Using yarn 1.5.1
Which terms did you search for in User Guide?
async, class, property
Environment
➜  npx create-react-app --info

Environment:
  OS:  macOS High Sierra 10.13.4
  Node:  8.11.1
  Yarn:  1.5.1
  npm:  5.6.0
  Watchman:  Not Found
  Xcode:  Not Found
  Android Studio:  3.1 AI-173.4697961

Packages: (wanted => installed)
  react: ^16.2.0 => 16.3.2
  react-dom: ^16.2.0 => 16.3.2
  react-scripts: ^1.1.4 => 1.1.4

Steps to Reproduce

The following component with the following structure is valid:

// @flow
import React, { Component } from 'react';

class MyComponent extends Component<{}, {}> {
  // ...
  handleSomeState = (identifier: string) => async (event: SyntheticEvent<any>) => {
    await someDynamicPromise(identifier);
  }
}

Adding newlines in the following fashion breaks tests:

// @flow
import React, { Component } from 'react';

class MyComponent extends Component<{}, {}> {
  // ...
  handleSomeState = (identifier: string) => async (
    event: SyntheticEvent<any>
  ) => {
    await someDynamicPromise(identifier);
  }
}

Ensure that yarn start and yarn build continue to pass.
Run yarn test

Expected Behavior

yarn test does not throw syntax error on valid, compiling source code

Actual Behavior
Exception is thrown; SyntaxError: await is only valid in async function. See example:
$ CI=true react-scripts test --env=jsdom --coverage
 FAIL  src/Containers/App.test.jsx
  ● Test suite failed to run

    /Users/alexander/sandbox/src/pi.alexander-wong.com/udia-software/udia-client/src/Components/Auth/ProfileController.jsx:251
              await client.mutate({
              ^^^^^

    SyntaxError: await is only valid in async function

      at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/ScriptTransformer.js:289:17)
      at Object.<anonymous> (src/Components/Auth/index.js:2:52)
      at Object.<anonymous> (src/Containers/Pages/ForgotPassword.jsx:2:39)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        1.361s
Ran all test suites.

Reproducible Demo
Project is open source, problem can be seen directly at: https://github.com/udia-software/udia-client/blob/newApi/src/Components/Auth/ProfileController.jsx#L251

TravisCI https://travis-ci.org/udia-software/udia-client/builds/379058668
User added eslint, flow, yarn build, yarn start all continue to pass.

EDIT: This issue is caused by whitespace. Minimal create-react-app project can be found at https://github.com/udia-software/jest-async-error

Looks like this can be closed. See: https://github.com/facebook/jest/issues/6190#issuecomment-389238128

Yep, this should be resolved in CRA 2.  Please follow the instructions here if you'd like to try it out.


[TEST] Add travis

adding travis to get automatic validation of PRs.
I've tested it and it's currently passing:
https://travis-ci.org/bradzacher/eslint-import-resolver-typescript/builds/446812404
@alexgorbatchev as part of this (if you're all good with it!), please:

activate travis on the repo (https://travis-ci.org/alexgorbatchev/eslint-import-resolver-typescript/)
add a branch protection rule to master (https://github.com/alexgorbatchev/eslint-import-resolver-typescript/settings/branch_protection_rules/new) (might have to trigger a build via "More Options" before it'll show up)

Thank you for adding this!

Thank you for the PR, keeping coding style consistent is very valuable!


Default loading not show properly the correct color on Dark Mode

The correct color should be the accent color(do not need to be explicit the color, Flutter does this automatically), as is by default on Flutter

Hi @LucazzP sorry for the delay, I'll gonna fix that.
Thank you for letting me know.

Closing the issue with PR #3


added mutationObserver to focusTrap

Fixes
Fixes #1444
Fixes #1423
Before submitting the PR:

[x] Does your PR reference an issue? If not, please chat to the team on Discord or GitHub before submission.
[x] Did you update and run tests before submission using npm run test?
I have also tested the focusTrap manually with the following components:

DocsSearch
Modal
Accordion
Drawer
Drawer with Accordions with anchor links

[x] Does your branch follow our naming convention? If not, please amend the branch name using branch -m new-branch-name
[ ] Did you update documentation related to your new feature or changes?

What does your PR address?
As described here: https://github.com/skeletonlabs/skeleton/issues/1444#issuecomment-1541461421 and following the second solution, I implemented a MutationObserver to monitor the children of the node and execute the onScanElements function.
Notes

Changed function names: (onInit -> onScanElements, onDestroy -> onCleanUp) because these functions are also used outside the lifecycle logic and I thought these names describe them better. (I would happily change them back if necessary)
The onScanElements function now receives a boolean indicating if the call was executed by the observer or at initialization of the focusTrap, this boolean is used to prevent the function from focusing on the first element when called by the observer.
In other words: "to not focus on the first element when the children are changed.

@Mahmoud-zino just did some test against this and it's freaking awesome! Seems like a perfect fix for this issue. Thank you so much for this. It seems I need to learn more about MutationObserver!
Also - if you're a member of our Discord would you reach out to me on there. Given how many members we have I struggle to keep everything's accounts straight if the username doesn't match. But you've submitted some useful PRs lately so I want to try to keep you in mind for the future!


maw dev not working

I keep getting the below error
[2] C:\Users\mande\AppData\Roaming\npm\node_modules\maw\bin\index.js webpack exited with code 1
[1] C:\Users\mande\AppData\Roaming\npm\node_modules\maw\bin\index.js watch exited with code 1
[0] C:\Users\mande\AppData\Roaming\npm\node_modules\maw\bin\index.js display exited with code 1
Btw, what port does maw listens to by default and where can I change that?
I've a windows machine, windows 10

Hey, sorry - this is an internal tool so I can't prioritize helping with this issue. There's a pretty good chance it doesn't work at all on Windows, but if you figure it out I'd be happy to accept a PR!

Same here.
Windows 11.


Fix the inability to run inventory against dfds-master account.

We have completed an initial execution of the inventory tool and it has become clear that the dfds-master account is not included in the inventory.
The reason for this is that the billing account does not have an OrgRole defined.  This means that the CE-CLI is unable to deploy the inventory role to this account, and as a result the audit cannot execute.
You could deploy the inventory role manually but this would result in a special case just for this account and if the trust or policy changes in the future then it could get messy.  Ideally we should probably define an OrgRole in the master account, although it doesn't necessarily need to have full permissions, just those needed for the deployment to work.

This needs to be refined, for instance:

What permissions does an OrgRole in the master account need?
Create a Terraform module for the OrgRole in the master account and apply in pre-pipeline?


build(plugin-keychain-memory-wasm): upgrade OpenAPI generator to 5.2.1

The current version (5.2.0) of the OpenAPI generator used for generating the Rust server-side code
of the plugin-keychain-memory-wasm module should be upgraded to the newer one
that @jagpreetsinghsasan has upgraded in a separate pull request to be 5.2.1
The upgrade for plugin-keychain-memory-wasm is not trivial (e.g. it's not just
about bumping some version number in a config file) because the entire process of
generating the code under packages/cactus-plugin-keychain-memory-wasm/src/main/rust/generated/openapi/rust-server
was done through an undocumented and unscripted manual process at the time.
Acceptance criteria:

The build still works and the generated code now uses the OpenAPI generator v5.2.1
packages/cactus-plugin-keychain-memory-wasm/src/main/rust/generated/openapi/rust-server/.openapi-generator/VERSION also shows the updated version number from point 1 above.

The current openapi-generator version is 6.6.0

I would like to take on this issue, thanks!

Hi @petermetz @jagpreetsinghsasan i tried to work on this issue and when i ran npm run generate-rust-server it automatically generated the code with the latest version of openapi generator but on checking git diff i realize some intentional changes were made to the generated code so we have to incorporate those changes into our generated code. Am i getting it right?

@solo-daemon Yes, apologies about the documentation not making this clear. We do not yet have a code structure/architecture in place for this package where the generated vs. hand-written Rust code co-exist in a way that the incorporation you mentioned is automatic. So, yes, you have to put in the implementation code again manually after a fresh code generation.


Deregister allocation record before resource deallocation

This one needs a little discussion.  The replay logs I was given indicated a duplicate deallocation was being performed.  I have confirmed with this new test that Umpire is throwing an exception when this happens.  So I am not sure why the application that generated the replay log did not see one unless it was being caught/ignored

I'm guessing one was being caught...


FYI: Slides for the Interspeech 2023 tutorial

Please see
https://livejohnshopkins-my.sharepoint.com/:p:/g/personal/mwiesne2_jh_edu/EYqRDl8cIr5BsVDxi1MOW5EBUpdqh10WFkzqixPIFM63hg?e=u3lrmL

@csukuangfj Will the video recording be published?

@csukuangfj Will the video recording be published?

I believe so, but I am not sure of the exact time.

Would be nice to link these slides directly in README somewhere. Or maybe even upload the pdf to the docs repo of k2 to guard against google slides being moved / deleted


Drop several duties in the middle to someone else failed

e.g. I have duty 10am-2pm and I drop 11am-1pm to my friend. It does not work.

Can't reproduce. Probably fixed by https://github.com/commit-tech/takoyaki/commit/0a8438a2c8cb310bec292f0b3f61293b232ee92a


Deprecated: scope, use slot-scope

You should update the README. Replace scope with slot-scope in the custom template example.
Error using the old:
(Emitted value instead of an instance of Error) the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to <template> to denote scoped slots.

I don't think its anything to do with the plugin. You have to use slot-scope when you create your template for notification (in your code).
If you just copied the code from docs, you will have to change scope => slot-scope because docs are written for vue 2.0 +.....


stack navigator and search screen

Summary of PR

Search bar and cancel button for search screen
Remove drawer and setup stack navigator

Time spent on PR
5 hours
Linked issues
Building block PR for #98 and eventually #96
Reviewers
@Harjot1Singh

Yes, as an exported enum. Use hex where possible.

On 18 Sep 2020, at 14:56, ਸਹਜਪ੍ਰੀਤ ਸਿੰਘ<EMAIL_ADDRESS>wrote:

@saihaj commented on this pull request.
In src/components/Search.tsx:

 flexDirection: 'row',

borderRadius: 10,
backgroundColor: 'rgb(220,219,224)',
For now should I move this to a src/theme/colors.js?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Installation of VSCode (Insiders Edition)

[x] to get both version and to log-in with both accounts side-by-side
[x] the original in the coding folder and these installation behind the Applications directory

not worth for our scenario: multi-user signing do not work


MM-18463 Add handling for update_badge notifications

The update_badge notification contains almost all of the information needed by the app to set the app's badge, but the previous code caused the sound flag to be set for the notification, so it would play a sound effect on iOS without displaying a notification
Ticket Link
https://mattermost.atlassian.net/browse/MM-18463

@enahum The Android changes are entirely client-side since the app does more of the handling of the notification.
@cpanato This isn't needed immediately since this is for the Mark as Unread feature which isn't shipping until December, but we'll still want it deployed sooner for QA to test. It's not urgent though, so we can discuss it in a few days once Elias is back working.


fix: default theme value in theme preferences

The default theme value in preferences is not synced with actual user theme...

I found a problem where refreshing the page while in the settings page will throw the following hydration error:
Error: Hydration failed because the initial UI does not match what was rendered on the server.

Yep, everything is working properly now. Thanks for your contribution!