Create document fetching

Replaced static about page with dynamic escaped html from ElasticSearch
Created front end get request to receive decoded html page

Hi @TheBroMoe thanks for your contribution. I think you found an unrelated bug (second last comment). Perhaps you wouldn't mind cleaning it up in this pr?
I wonder if this couldn't be extended with some type of interface in the admin section for generating the document. Not sure if it's a priority, but I do think that this PR will make the /about section cumbersome to edit. The dynamicDocument editor could tie in with the Rich Text Editor (future) implementation. Perhaps you've been thinking about this already.

I'll be sure to look into everything you mentioned. Thank you for the Feedback! I'll resend a PR when I've made all the changes.

Everything mentioned should now be resolved. Be sure to look over the request again and let me know if there are any changes I should make. Thanks!

Closing in lieu of #108.


Rounded corner is not showing correctly on UWP

As shown is screenshot after updating Xamarin.Froms and PancakeView. Rounded corner view is not showing correctly in UWP
Current Xamarin.Forms Version :<IP_ADDRESS>
Current xamarin.forms.pancake Version: 2.3.0759

unfortunately the UWP side of this project is not actively maintained (as seen on https://github.com/sthewissen/Xamarin.Forms.PancakeView/wiki).


[MM-45850]: Migrate dot menu to MUI menu and post reminders

Summary
Migrate the post dot menu to the MUI menu
Note: Opening up for early review, I May add a post reminder in this or another pr. Work is done.
Ticket Link
Fixes  https://mattermost.atlassian.net/browse/MM-45850
Related Pull Requests
NA
Screenshots

Release Note
* Migrate post dot menu to MUI menu

@M-ZubairAhmed, I think the only thing left is this new badge

@matthewbirtch This is a known issue. @M-ZubairAhmed will add changes tomorrow

Adding @asaadmahmood for UX review given Matt's transition

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

@AshishDhama e2e cycle failed to run, can you please fix failed checks so i can re-trigger e2es? Thanks 🙂

/update-branch

@AshishDhama I see a bunch of alignment issues.

All Icons aren't aligned to the right.
Spacing between forward and new is not there
Vertical alignment of forward and new is not centered
Shortcut of Forward item is not vertically centered.

@AshishDhama I see a bunch of alignment and spacing issues.

All Icons aren't aligned to the right.
Spacing between forward and new is not there
Vertical alignment of forward and new is not centered
Shortcut of Forward item is not vertically centered.

Thanks, @asaadmahmood I will look into this alignment issue about forward one it’s known
https://github.com/mattermost/mattermost-webapp/pull/12007#issuecomment-1385382066
@M-ZubairAhmed Any updates on this.

@asaadmahmood This is ready for second round.

Thanks @neallred

/update-branch

It's looking closer to me now, but there's still some of the issues present that I originally requested changes for:

Invalid dates by manual keyboard entry trigger a Javascript error banner
Subsequent opens of the custom date picker trigger Uncaught RangeError: Maximum call stack size exceeded. errors
Manually typed dates in the past don't disable clicking submit.

@neallred Yeah, I am working on those.

@neallred I have used a custom status input container, which isn't accessibility friendly, but we have to work on that as this quarter's theme is to do quality fixes. I will take care of that in another pr https://mattermost.atlassian.net/browse/MM-50583
Subsequent opens of the custom date picker trigger Uncaught RangeError: Maximum call stack size exceeded. Errors aren't related to my changes, but for now, I have disabled focus enforcing enforceFocus

Gentle ping @M-ZubairAhmed

You don't have permissions to trigger this command.
It's only available for organization members.

/e2e-test

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

@esethna if you could also take a look

@AshishDhama the test server doesn't seem to be spinning up

/update-branch

/cla-check

/update-branch

/e2e-test

@furqanmlk
Fixing e2es wasn't expexcting so many of them to be failing

Post reminder calendar is not accepting Keyboards keys. Is this the same issue fixed in this https://github.com/mattermost/mattermost-webapp/pull/11609
Yeah, this should fix the issue, as we are using the same component. I will check by merging it locally.

/e2e-test

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

@AshishDhama https://github.com/mattermost/mattermost-webapp/pull/12126 was just merged but nothing to change on the component side of things, hence the conflict

/update-branch

/update-branch

/e2e-test

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

/e2e-test

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

/e2e-test

/e2e-test

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

@furqanmlk Cloud you please check now

@neallred If you can take one more look have to change couple of things.

Code changes look good. Where did we end up on the Maximum call stack size exceeded error? I thought at one point it was fixed but I see it every time I open the custom date modal now.
https://user-images.githubusercontent.com/13738432/221913087-af896034-f7fb-4371-a477-a937009da9f3.mp4

/e2e-test

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard


Update gcc from 9.2.1 to 12.2.1 to fix k-NN compile bug on ARM64

Description
Update gcc from 9.2.1 to 12.2.1 to fix k-NN compile bug on ARM64
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/4379#issuecomment-2067191682
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

https://build.ci.opensearch.org/job/docker-build/5197/console

https://build.ci.opensearch.org/job/docker-copy/1143/console


APM Server returns "validation error: error: 'parent_id' required when 'transaction_id' is set"

Describe the bug: APM Server returns an error when parent_id is not set
To Reproduce
N/A
Environment (please complete the following information)

OS: [e.g. Linux] Linux
Python version: 3.6
Framework and version [e.g. Django 2.1]: django 3.2.5
APM Server version: 7.14.1
Agent version: 6.3.3

Additional context
Found https://github.com/elastic/apm-agent-python/pull/307 implemented some time ago - what was the reason for implementing this ? With latest APM server, my understanding is that when transaction_id field is set, then parent_id field is required as well: https://github.com/elastic/apm-server/blob/v7.14.2/docs/spec/v2/error.json#L1025

Hi @NielkS. There seems to be some confusion here. #307 deals with transactions, not errors, but the JSONSchema you linked to is about errors. For transactions, there is no such dependency between transaction_id and parent_id as far as I can tell.
For errors, we set the distributed tracing IDs here: https://github.com/elastic/apm-agent-python/blob/8b18ddc91e30d131c64754864932fb92bcb69ef8/elasticapm/base.py#L544-L549
parent_id is a bit of a special case, because we have to set it to the current span_id if an exception happens inside a span. This happens here: https://github.com/elastic/apm-agent-python/blob/8b18ddc91e30d131c64754864932fb92bcb69ef8/elasticapm/traces.py#L904-L909
and here: https://github.com/elastic/apm-agent-python/blob/8b18ddc91e30d131c64754864932fb92bcb69ef8/elasticapm/events.py#L146-L147
As I currently understand it, the validation error that you see can only happen if we somehow set parent_id to None, which would happen if span.id was None, but I don't see how that could happen...

Thanks @beniwohli for the clarifications - I confused transaction and error schemas, indeed.

(...) which would happen if span.id was None, but I don't see how that could happen...

Ah, forgot to mention that, but the initial error comes from a worker thread - you may remember https://github.com/elastic/apm-agent-python/issues/499 (basically replace the print statement with logger.error in your example)
from concurrent.futures import Future, ThreadPoolExecutor
from elasticapm.traces import execution_context
from typing import Any, Callable
import logging

executor = ThreadPoolExecutor(max_workers=10)

def _apm_wrapper(func: Callable) -> Callable:
    apm_transaction = execution_context.get_transaction()
    apm_span = execution_context.get_span()

    def inner(*args):
        execution_context.set_transaction(apm_transaction)
        execution_context.set_span(apm_span)
        return func(*args)

    return inner

def work_parallel(list[tuple[Callable, list[Any]] todo):
    for func, args in todo:
        wrapped= _apm_wrapper(func)
        executor.submit(wrapped, *args)
    # ....

work_parallel([(lambda: logging.error("no parent_id :-("), []),])

I don't know if that's relevant, but in my usecase, this work_parallel call is started from within a celery task, so the 'elasticapm.contrib.django.middleware.TracingMiddleware' middleware is not called before the logging.error line runs.

Sorry we haven't been more attentive here -- are you still running into this issue? Can you clarify your custom code a bit? It seems like you're doing some odd things (interacting with execution_context directly), rather than sticking to the public API and that might be causing your issues.

Hi, not sure it my issue is relative to this one, but i getting same warning when submitting some messages, debgging i found following:

at

but i have no clue of why there is dropped span, current transaction should not sample spans in this environment:

heh, it seem because of i use elasticapm.capture_span(leaf=True), have no clue if that is supposed to be so.

If a span is marked as leaf=True, child spans will be dropped. This is to hide irrelevant spans from underlying transport libraries, etc. You see the elasticsearch span, for example, not the underlying http call.
@kalemas I think a new issue is likely warranted, I think we'll need more context around what you're doing to solve this issue.


[v3.1-alpha] Inspector fails to load after physics impostor is added to externally-loaded mesh

I'm fetching a low-poly tree model from an external .obj file via the AssetsManager and adding a cylinder physics impostor after it has finished loading. All of this is working fine. Here's my tree:

Next, I'm duplicating the tree and adding more because Bob Ross said they get lonely, but I digress.
Here's the code:
var loader = new BABYLON.AssetsManager(scene);
var tree = loader.addMeshTask("happyTree", "", "meshes/", "tree.obj");
loader.load();
tree.onSuccess = function (task) {
  var treeMesh = BABYLON.Mesh.MergeMeshes(task.loadedMeshes);
  treeMesh.material = treeMaterial;

  var tree1 = treeMesh.clone();
  treeMesh.dispose();

  tree1.position = new BABYLON.Vector3(-20, 17, 10);
  tree1.physicsImpostor = new BABYLON.PhysicsImpostor(tree1, BABYLON.PhysicsImpostor.CylinderImpostor, { mass: 0, restitution: 8 }, scene);
  ...
}

If I comment out the line where I assign tree1.physicsImpostor, the inspector loads fine. As it stands, this is what I'm seeing in the JS console:

I'm pulling down the relevant JS files from preview.babylonjs.com just to make sure I have the latest and greatest. Seen on Chrome v60.0.3112.101 on Windows 10.
This is the first issue I've filed in this repo, so please let me know if I've forgotten anything!

Hi @treefort ,
If Bob Ross said so, it must be done. Trees!!!
I can't seem to be able to reproduce this on the playground. Can you give it a try and see if you manage to share a public link where we can see it as well? Editable code (i.e. playground) would be wonderful.
Also - can you try not disposing the original object and see if it helps? No idea if that's the case here. And since localCompare is used during string-comparison, maybe try giving tree1 a name (the first variable in the clone function can be a string with an assigned name).

Wow. People in Berlin know who Bob Ross is.
On Sep 21, 2017 7:24 AM, "Raanan Weber"<EMAIL_ADDRESS>wrote:

Hi @treefort https://github.com/treefort ,
If Bob Ross said so, it must be done. Trees!!!
I can't seem to be able to reproduce this on the playground. Can you give
it a try and see if you manage to share a public link where we can see it
as well? Editable code (i.e. playground) would be wonderful.
Also - can you try not disposing the original object and see if it helps?
No idea if that's the case here. And since localCompare is used during
string-comparison, maybe try giving tree1 a name (the first variable in the
clone function can be a string with an assigned name).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BabylonJS/Babylon.js/issues/2839#issuecomment-331128342,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHjKY5Baz3UKnrJI4F2R5xkyp1UOI-mhks5skkdXgaJpZM4Pexd2
.

And since localCompare is used during string-comparison, maybe try giving tree1 a name

Nailed it! That fixed the issue.
Thanks! :D

@deltakosh , @Temechon ,
might be a good idea to fail silently if a mesh has no name.

Agree. Let me reopen it for this fix

Hi @treefort
I'm checking this issue and I can't reproduce this bug.  Can you give me a playground with an example ?

Up...

@QuentinRillet here ya go: http://www.babylonjs-playground.com/#6C1FLA

Click "run"
Click "Debug layer"
Check JS console–

Up @QuentinRillet  :)

Fixed in https://github.com/BabylonJS/Babylon.js/pull/3052


Fix some lint issues

some typo fixes
some simplification when nil and length are checked at the same time where length was enough.

Makes sense, thanks!


A machine with admin perms?

"...  from any machine that has administrator access to all the machines that are listed as nodes in the cluster" - how is a server granted administrator permissions on another server? Surely users have permissions, not machines (unless I'm overlooking something, which is always possible).

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

ID: 187f0e12-ced2-0cd8-d1c8-b4d05d29b791
Version Independent ID: 689b554f-7e4a-31de-8c65-64c062cdf611
Content: Upgrade a standalone Azure Service Fabric cluster on Windows Server
Content Source: articles/service-fabric/service-fabric-cluster-upgrade-windows-server.md
Service: service-fabric
GitHub Login: @dkkapur
Microsoft Alias: dekapur

When you connect to a SF cluster you are required to have the correct certificate associated to access the cluster. What this sentence means is ensure you are connecting from a local PC that has the correct cert and permissions to actually access and modify the cluster.

@RokitSalad I will close this for now. If you feel you need more information just let us know and we can reopen and continue.


Chrome does not use hardware acceleration

Describe the bug
A lot of features are disabled at chrome://gpu/.

Use hardware acceleration when available

is enabled at chrome://settings/system and i have working drivers for my GPU.
Steps To Reproduce
Steps to reproduce the behavior:

open chrome://gpu/
check if hardware acceleration works

Expected behavior
In best case, everything should work.
Additional context
I specifically need WebGL to test Third Room (https://github.com/matrix-org/thirdroom/issues/330).
My GPU is an AMD RX 6600XT using amdgpu driver.
Also using:
hardware.opengl.extraPackages = with pkgs; [ amdvlk rocm-opencl-icd rocm-opencl-runtime ];
Notify maintainers
@primeos
Metadata

system: "x86_64-linux"
host os: Linux 5.15.67, NixOS, 22.05 (Quokka), 22.05.3065.178fea1414a
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.8.1
channels(root): "home-manager-22.05.tar.gz, nixos-22.05, nixos-hardware, nixos-unstable"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Try this:
    (google-chrome.override {       commandLineArgs = [         "--ozone-platform=wayland"         "--enable-features=VaapiVideoDecoder"         "--use-gl=egl"       ];     })

@zendo that does not work because i don't use wayland.
[davidak@gaming:~]$ google-chrome-stable --process-per-site
[852646:852646:0925/065657.787716:ERROR:wayland_connection.cc(215)] Failed to connect to Wayland display
[852646:852646:0925/065657.787741:ERROR:ozone_platform_wayland.cc(220)] Failed to initialize Wayland platform
[852646:852646:0925/065657.787744:ERROR:env.cc(255)] The platform failed to initialize.  Exiting.

and also when removing the first argument and adding some more i found at https://wiki.archlinux.org/title/Chromium#Force_GPU_acceleration it does not work
    (google-chrome.override {
      commandLineArgs = [
        "--enable-features=VaapiVideoDecoder"
        "--use-gl=egl"
        "--ignore-gpu-blocklist"
        "--enable-gpu-rasterization"
        "--enable-zero-copy"
      ];
    })

here are some errors i get in terminal
[853172:853172:0925/065757.450955:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is egl, ANGLE is
Error in cpuinfo: failed to parse processor information from /proc/cpuinfo
[853172:853252:0925/065817.516612:ERROR:platform_shared_memory_region_posix.cc(47)] Descriptor access mode (0) differs from expected (2)
[0925/065817.535506:ERROR:process_memory_range.cc(75)] read out of range
[854055:1:0925/065820.955719:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[854855:1:0925/065820.956200:ERROR:command_buffer_proxy_impl.cc(325)] GPU state invalid after WaitForGetOffsetInRange.
[853128:853128:0925/065821.216586:ERROR:gpu_process_host.cc(965)] GPU process exited unexpectedly: exit_code=133
Fontconfig error: Cannot load default config file: No such file: (null)
[856674:856674:0925/065833.248438:ERROR:shared_image_factory.cc(795)] CreateSharedImage: could not create backing.
[857016:1:0925/065833.248474:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[856674:856674:0925/065833.248499:ERROR:shared_image_stub.cc(159)] SharedImageStub: Unable to create shared image
[856674:856674:0100/000000.702865:ERROR:raster_decoder.cc(1651)] Error: 1 for Command Noop
[856674:856674:0100/000000.703051:ERROR:gles2_cmd_decoder.cc(6002)] Error: 4 for Command SetBucketData
[853128:853128:0925/065842.390020:ERROR:page_load_metrics_update_dispatcher.cc(162)] Invalid first_paint 41.959 s for first_image_paint 33.274 s

these repeat many times...


Raspberry Pi Project - send DHT11 sensor data to Azure IoT hub

Hi, I've been trying a raspberry pi project to send DHT11 sensor data to Azure IoT hub (and stream real-time using Power BI), but unsuccessful (it could be due to azure-iot-sdk-python-V1, or Adafruit DHT library deprecated), I will be grateful if someone can guide or provide me the "workable" python code. Thank you very much.

@jerry68 Please do not use the SDK V1. It is no longer supported.
Instead, please install the V2 SDK via the following command
pip install azure-iot-device

We have many samples to illustrate how to use the this library here: https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-device/samples/sync-samples

Hi,
Thanks for your reply.
I know very little about coding.. I am not sure which example can be used
to “insert” / “modify” the library/ commands of DHT11..
Please help.
Best regards,
Jerry
On Sat, 19 Jun 2021 at 2:04 AM, Carter Tinney @.***>
wrote:

@jerry68 https://github.com/jerry68 Please do not use the SDK V1. It is
no longer supported.
Instead, please install the V2 SDK via the following command
pip install azure-iot-device
We have many samples to illustrate how to use the this library here:
https://github.com/Azure/azure-iot-sdk-python/tree/master/azure-iot-device/samples/sync-samples
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-iot-sdk-python/issues/790#issuecomment-864196963,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ4KXRJYD6Z35L5HAT5SBYLTTODDNANCNFSM465K7QCQ
.

@jerry68
I can't really help you write your application. Perhaps you should start with the simple send message sample
 and then look for other samples depending on what features you want to use.
The SDK is generic, there is nothing special about using it with DHT11. We have no specific sample, or advice for using that sensor. You use the IotHubDeviceClient to send and receive data from your IoTHub - where you get that data you send (presumably your DHT11) has nothing to do with the the client.

Closing due to inactivity


Second-order Quadrilaterals (2D) meshes in standard Abaqus .inp format

This implements second-order 2D quadrilateral p4est meshes constructed from a standard-format Abaqus .inp files.
See #1847 for this feature request.
 As in the existing implementation, we focus on meshes constructed e.g. from gmsh which are exported to .inp format.
For validation, I ran the simulation of a laminar, low Machnumber (essentially incompressible) simulation over the SD7003 airfoil.
The averaged drag & lift coefficient are
Average drag coefficient: 0.049819536195680685
Average lift coefficient: 0.3817639249290595

which are in excellent agreement with reference data (See this preprint)

This implements second-order 2D quadrilateral p4est meshes constructed from a standard-format Abaqus .inp files.

This is so awesome! Thanks a lot for this very cool feature 💪♥


upgrading graphql-tool-utilities to 0.9.0

Upgrades graphql tooling to the latest release. graphql-tool-utilities is current in beta pending confirmation that the upgrade works properly in @shopify/jest-mock-apollo.
We can remove the graphql dependency as graphql-tool-utilities will now provide the correct version.
There are an expectedly large number of changes to the yarn.lock file because of the dependency upgrades that occurred in graphql-tool-utilities. This should be a drop in replacement for the old 0.7.x release, everything should be backwards compatible with only additions and upgrades changing in 0.8.x. graphql-tool-utilities received a minor version bump just because many of the dependencies were upgraded significantly, so there is a risk of some behaviour changing. In practice, no issues have surfaced.

to anyone arriving after the merge, the branch name was created before 0.9.0 was released. 0.9.0 is the expected upgrade version 👍


Invoke-PnPSiteTemplate -Path $FilePath -ErrorAction Stop -WarningAction SilentlyContinue - Error Message:  Attempted to perform an unauthorized operation.

I debug ran the script and here is what happened:
[PS] 'C:\Users\---MY LOGIN---\Documents\One-Offs\TEOC\microsoft-teams-emergency-operations-center\Deployment\provisioning\EOC-Provision.ps1'

Enter site template XML schema file path: C:\Users\---MY LOGIN---\Documents\One-Offs\TEOC\microsoft-teams-emergency-operations-center\Deployment\provisioning\EOC-SiteTemplate.xml
C:\Users\op.brandtc\Documents\One-Offs\TEOC\microsoft-teams-emergency-operations-center\Deployment\provisioning\EOC-SiteTemplate.xml
Enter tenant name: (contoso): ---OUR TENANT---
Enter tenant admin email: ---A VALID EMAIL IS HERE---
Enter site name. Allowed characters for site name are underscore, dashes, single quotes, and periods (_,-,',.), and can't start or end with a period.: Facilities_Emergency_Management
PnP.PowerShell module found

Checking if site already exists at /sites/Facilities_Emergency_Management

Site doesn't exist, creating new site at /sites/Facilities_Emergency_Management

https://---OUR TENANT---.sharepoint.com/sites/Facilities_Emergency_Management

Creating lists in Facilities_Emergency_Management site

Error Message:  Attempted to perform an unauthorized operation.

It fails on this line of code, line #66:
Invoke-PnPSiteTemplate -Path $FilePath -ErrorAction Stop -WarningAction SilentlyContinue
I've moved the File around to different locations to make sure the file is accessible. Tried running the script an non & privileged PowerShell.
NOTE: any ---VALUE PLACEHOLDER--- is me removing the content for security reasons in this post.

Hi @BrandtC-NAIT,
Thanks for reaching out to us.
Please ensure that you are executing these scripts on PowerShell 7.2 or later, as it is a prerequisite for using PnP PowerShell. Additionally, update PnP PowerShell and attempt to run the scripts again.
https://pnp.github.io/powershell/articles/installation.html
Please let us know if this worked.
Thanks.

Same issue under PowerShell 7.4.1 and Updated PnP Module
Error Message:  Attempted to perform an unauthorized operation.

Hi @BrandtC-NAIT,
Can you please try creating a different site name without under scores
"Enter site name. Allowed characters for site name are underscore, dashes, single quotes, and periods (_,-,',.), and can't start or end with a period.: Facilities_Emergency_Management"

Tried that, no spaces, only Mixed Caps: FacilitiesEmergencyManagement

Hi @BrandtC-NAIT,
Can you please check if the SP site is created and if any lists are created.

As reported by the SharePoint Team: https://imgur.com/a/SebYcA8](url)

Hi @BrandtC-NAIT,
Can you please share a screenshot directly here instead of the link.
Thanks.

Hi @BrandtC-NAIT,
Thanks for sharing the screenshots. Please make sure you are added as site collection admin to the share point site and try to tweak the script to run only the lists creation. Update the URL variable with full site URL since the site is already created.
Connect-PnPOnline -Url $TenantURL$EOCSiteURL -Interactive
Write-Host "Creating lists in $SiteName site"

Invoke-PnPSiteTemplate -Path $FilePath -ErrorAction Stop -WarningAction SilentlyContinue

Write-Host "App Provision complete."

2.5.0                PnP.PowerShell
Hardcoding in the path with the below changes did the trick:
`# Write-Host "Checking if site already exists at $EOCSiteURL"
# $site = Get-PnPTenantSite -Url $TenantURL$EOCSiteURL -ErrorAction SilentlyContinue
# if ($null -ne $site) {
#     Write-Host "Site already exists, exiting the PowerShell script"
#     return;
# }
# else {
#     Write-Host "Site doesn't exist, creating new site at $EOCSiteURL"
# }

# try {
#     if (($TenantURL + $EOCSiteURL).Length -lt 128) {
#         New-PnPSite -Type TeamSiteWithoutMicrosoft365Group -Title $SiteName -Url $TenantURL$EOCSiteURL -Owner $AdminEmail -ErrorAction Stop -WarningAction SilentlyContinue
#     }
#     else {
#         Write-Host "Site creation failed. Site URL cannot have more than 128 characters." -ErrorAction Stop
#         return
#     }
# }
# catch {
#     Write-Host "`nError Message: " $_.Exception.Message
#     Write-Host "Site creation failed. Site name cannot contain symbols other than underscore, dashes, single quotes, and periods (_,-,',.), and can't start or end with a period."
#     return;

# }

$TenantURLEOCSiteURL = "https://---OUR TENANT---.sharepoint.com/sites/FacilitiesEmergencyManagement"

Connect-PnPOnline -Url $TenantURLEOCSiteURL -Interactive

Write-Host "Creating lists in $SiteName site"

Invoke-PnPSiteTemplate -Path $FilePath -ErrorAction Stop -WarningAction SilentlyContinue

Write-Host "App Provision complete."`

NOTE: any ---VALUE PLACEHOLDER--- is me removing the content for security reasons in this post.

Hi @BrandtC-NAIT,
So as i understand the issue is cleared now. Please confirm if i can close the ticket.
Thanks.

@v-saikirang please do close the ticket. Issue is now resolved.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Google",
  "product_name": "Google Cloud Platform (GCP) ",
  "product_version": "All versions as of 2022-06-07 and later (unfixed as of yet)",
  "vulnerability_type": "IP address filtering",
  "affected_component": "Kubernetes control plane",
  "attack_vector": "network",
  "impact": "bypass Google Kubernetes Engine (GKE) Authorized Networks (aka Kubernetes control plane firewalls)",
  "credit": "@itspeterc",
  "references": [
    "https://twitter.com/itspeterc/status/1534205155914264576?"
  ],
  "reporter": "kurtseifried",
  "reporter_id": 582211,
  "notes": "",
  "description": "In Google Cloud Platform (GCP), all versions as of 2022-06-07 and later (unfixed as of yet) an IP address filtering vulnerability exists in the Kubernetes control plane that can be attacked via other systems within Google Cloud Engine's network (filtering is only applied to external IP addresses) resulting in a bypass of firewall rules and access to the Google Kubernetes Engine (GKE) Authorized Networks (aka Kubernetes control plane) being allowed (please note an attacker would still need credentials to access it). "
}
--- GSD JSON ---

/cc @kurtseifried

This issue has been assigned GSD-2022-1002525


[Quota] Add new commands az quota request list/show to support manage quota request

This checklist is used to make sure that common guidelines for a pull request are followed.
AAZ model https://github.com/Azure/aaz/pull/346
Since the quota get api does not return provisioning state, the az quota wait command is invalid.
Related command

quota create/update/list/show
quota usage list/show
quota request list/show
General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Quota


Bad performance on GPU

Hi @mabraham ,
thanks for updating & building the images.
As :dev and :latest were rebuilt, I've downloaded those new images. Actually GPU utilization is down to 1%. Therefore I'm wondering if you noticed the same or Debug is enabled?
Thanks
Originally posted by @tbugfinder in https://github.com/bioexcel/gromacs-docker/issues/4#issuecomment-625388376

my fault


Deployment manager issues

There have been some CLI changes (flags) as well as build time requirement changes, so we need to fix the deployment manager scripts accordingly to handle both the 1.0.2 release as well as master.

@lukwam

Resolved by #332 for now...


Add deprecation notice

As discussed, it would be good to add deprec notice for folks.

What do you think about also adding a post-install message in the gemspec?
Something similar to:
spec.post_install_message = %q{
This library is **no longer** actively developed and has been superseded by librdkafka via rdkafka-ruby bindings.

While this library may still receive security patches and bug fixes, it is no longer recommended for production usage.
}

Great idea. Let me add it...

@geoff2k added one more notice in the higher level libs section to indicate correct branches /versions of tools still using ruby-kafka

@dasch can we craft a release? :pray:


Issues Building Demo Application

Several Issues present when building demo application using steps from: https://github.com/aws/amazon-chime-sdk-cpp/blob/main/chime-sdk-signaling-cpp/demo/cli/README.md
Step 2. branch 4844 includes use of libFuzzer which fails to download. Had to use a newer branch that is no longer dependant on libFuzzer (>6000)
Step 6. Issue with type conversion
error: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Werror,-Wsign-conversion]   258 |                             CONF_VALUE *nval = OPENSSL_sk_value((const OPENSSL_STACK *)&cv, j);
Changed
int j; to
size_t j; on line 251 of file chime-sdk-signaling-cpp/build/_deps/libwebsockets-src/lib/tls/openssl/openssl-x509.c
and that fixed this problem, but I shouldn't need to be changing code.
Step 7. Issue with protubuf version issue between chime sdk and webrtc. Added
target_include_directories(${CLI_NAME} PUBLIC <home_folder>/amazon-chime-sdk-cpp-main/chime-sdk-signaling-cpp/build/_deps/protobuf-src/src/)
to end of demo/cli CmakeLists.txt to force it to use the correct protobuf version.
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE="${TOOLCHAIN_FILE}"  runs successfully, but when I run cmake --build build I get the following error:
webrtc-build/webrtc/api/peer_connection_interface.h:1569:16: error: no viable conversion from 'rtc::scoped_refptr<VideoTrackSourceInterface>' (aka 'scoped_refptr<webrtc::VideoTrackSourceInterface>') to 'VideoTrackSourceInterface *'  1569 |         label, rtc::scoped_refptr<VideoTrackSourceInterface>(source));
I am not sure where to go from here. I believe the issues stem from the guide being quite old, and using an older version of WebRTC, seeing how it refers to using branch 4844 which is 2 years old. Please advise as we would like to move forward with this project using the chime service.
Thanks for your help.

I am in the same situation as @jibright .
Branch 4844 does not contain the third_party directory.
https://chromium.googlesource.com/external/webrtc/+/branch-heads/4844
Therefore, gclient sync fails.
Any information would be appreciated.
Thank you.

Hi there! Echoing @jibright, we're also experiencing issues, starting with libFuzzer:
#18 499.2 33>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "fetch" "origin" "debe7d2d1982e540fbd6bd78604bf001753f9e74" "--no-tags"' in /home/build/src/third_party/libFuzzer/src failed; will retry after a short nap...
#18 502.0 33>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "fetch" "origin" "debe7d2d1982e540fbd6bd78604bf001753f9e74" "--no-tags"' in /home/build/src/third_party/libFuzzer/src failed; will retry after a short nap...
#18 505.2
#18 505.2 src/third_party/libFuzzer/src (ERROR)
#18 505.2 ----------------------------------------
#18 505.2 [0:00:38] Started.
#18 505.2 [0:00:38] Finished running: git rev-list -n 1 HEAD
#18 505.2 [0:00:38] Finished running: git rev-parse --abbrev-ref=strict HEAD
#18 505.2 error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 Bad Request
#18 505.2 [0:00:39] fatal: The remote end hung up unexpectedly
#18 505.2 [0:00:41] error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 Bad Request
#18 505.2 [0:00:41] fatal: The remote end hung up unexpectedly
#18 505.2 ----------------------------------------
#18 505.2 Error: Command 'git -c core.deltaBaseCacheLimit=2g fetch origin debe7d2d1982e540fbd6bd78604bf001753f9e74 --no-tags' returned non-zero exit status 128 in /home/build/src/third_party/libFuzzer/src
#18 ERROR: process "/bin/sh -c fetch --nohooks webrtc  && cd src  && git checkout -b _my__m99_branch refs/remotes/branch-heads/4844  && cd ..  && gclient sync  && gclient sync -D" did not complete successfully: exit code: 1

Using a newer branch then leads to more issues during the build process.
Is there any plan to update this repository / the documentation to make this buildable again? Thanks!

Hi sorry for the delay, can you retry with my latest changes and README update? I have updated the build to use the latest libwebrtc.

This issue has been fixed with PR #29 on Aug 9. Please reopen or submit a support case if this is still an issue.


Make prettier config optional

Is there a way to opt out of the prettier config on klap init? Including it seems a bit too opinionated. What if a project is already using XO, or if it uses prettier from within ESLint, or it just prefers a different prettier config?

Good point, I was hesitant to add prettier config in first place. Maybe we should just remove it and let author handle it accordingly.
Technically, we just need to remove @osdevisnot/prettier dependency and pkg.prettier field

:tada: This issue has been resolved in version 4.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


BVTCK-77 Bumping versions

I've created a separate issue for updating the usage example. We can do that towards the end.

This has been superseded by https://github.com/beanvalidation/beanvalidation-tck/pull/69 .


Set Security to Raw Normalization To a Pending Equity Addition

Expected Behavior
Adding options contracts vai AddOptionContract in a universe selection algorithm should not issue an error message on price normalization mode.
Actual Behavior
At the end of time-step, while options contracts were added underlying equity may be pending to be added to the universe and this error message is sent
Runtime Error: Warning: The NVDA equity security was set the raw price normalization mode to work with options.

Potential Solution
N/A
Reproducing the Problem
Universe selection algorithm that adds options contracts in OnSecuritiesChanged method.
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues
[x] I have provided detailed steps to reproduce the issue

I believe this issue could be avoided using UniverseSettings.DataNormalizationMode = DataNormalizationMode.Raw; during algorithm initialization, could this be a valid option? Used the following algorithm to reproduce and test the suggested workaround.
public class CoarseFundamentalTop3Algorithm : QCAlgorithm
{
    private const int NumberOfSymbols = 3;
    public override void Initialize()
    {
        UniverseSettings.Resolution = Resolution.Minute;
        UniverseSettings.DataNormalizationMode = DataNormalizationMode.Raw;
        SetStartDate(2014, 03, 24);
        SetEndDate(2014, 03, 28);
        AddUniverse(CoarseSelectionFunction);
    }

    public static IEnumerable<Symbol> CoarseSelectionFunction(IEnumerable<CoarseFundamental> coarse)
    {
        return coarse.OrderByDescending(x => x.DollarVolume)
            .Take(NumberOfSymbols)
            .Select(x => x.Symbol);
    }

    public override void OnSecuritiesChanged(SecurityChanges changes)
    {
        Log($"OnSecuritiesChanged({UtcTime:o}):: {changes}");
        foreach (var addedSecurity in changes.AddedSecurities.Where(security => security.Type == SecurityType.Equity))
        {
            var contracts = OptionChainProvider.GetOptionContractList(addedSecurity.Symbol, Time).Take(5);
            foreach (var contract in contracts)
            {
                AddOptionContract(contract);
            }
        }
    }
}


[SR-6193] new options' request for swift package generate-xcodeproj

Previous ID
SR-6193

Radar
None

Original Reporter
rockywei (JIRA User)

Type
New Feature

Additional Detail from JIRA

Votes
0

Component/s
Package Manager

Labels
New Feature

Assignee
None

Priority
Medium

md5: 0b223e9b121b7ea14593a85d6c78814e

Issue Description:
Hi, I think these option flags would be useful:
swift package generate-xcodeproj -p $PWD -e key1=value1 -e key2=value2

where `-p $PWD` is equal to `customWorkingDirectory = "$PROJECT_DIR" ` in Xcode and `-e` means to store an environmental variable to the settings as well.
currently, I have to use my DIY script:
https://github.com/PerfectSideRepos/XcodeInit
This would be very useful for testing purposes.
Thank you.

@tomerd since generate-xcodeproj has been removed, this no longer make sense.

As @sjavora pointed out, generate-xcodeproj command doesn't exist anymore. Closing.


New developer's guide

Documentation is needed to aid new developers working on this web app for the first time. Ideally, this would be a page in the wiki with as many sub-pages as needed. Some ideas for this page are:

Resources for Vue.js
Current functionality / Road Map for new features
File structure and where everything is located
Making your first commit guide
Naming conventions or any other standard you think would be useful to carryon

I did a good first draft of that in the wiki page


Preserve /usr/local across reboots

Preserve /usr/local across reboots.
Makes it easier to customize docker (by dropping custom docker binaries into /usr/local/bin) without forcing to switch to a persistent console.

If we do this we can update this test to not use a persistent console. It'll make it run a little faster.

I'm not really for this.  /opt wqs originally designed for this.  We should probably put a custom docker in /opt/bin/

/usr/local is normally used to hold stuff, well, local to this machine. So
users might expect it to be persistent. And /usr/local/bin is normally on
$PATH
On Tue, May 24, 2016 at 6:24 PM Darren Shepherd<EMAIL_ADDRESS>wrote:

I'm not really for this. /opt wqs originally designed for this. We should
probably put a custom docker in /opt/bin/
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/rancher/os/pull/956#issuecomment-221449056

I'm going to close.  We should have users put custom dockers in /opt.  Currently /usr/local/bin is not in the PATH btw.


Failed to call function 'runCommand'

bds-1  | [2024-11-30 09:03:58:965 ERROR] [Scripting] Error: Failed to call function 'runCommand'    at  (r4isen1920/originspe/main.js:1882)
function Ae(e, t) {
    e.dimension.getEntities({ type: "r4isen1920_originspe:dialogue_handler", location: e.location, maxDistance: 32 }).length === 0 && e.dimension.spawnEntity("r4isen1920_originspe:dialogue_handler", _.add(e.location, new _(0, 1, 0))), h(e, "was_"), e.removeTag("load_failed"), e.addTag(`was_${Jl(e)}`);
    let i = en.runInterval(() =>
        {
            e.runCommand(`dialogue open @e[type=r4isen1920_originspe:dialogue_handler,c=1] @s ${t}`), Ul.scoreboard.getObjective("gui")?.getScore(e) === 1 && en.clearRun(i)
        }, 4)
}

[2024-12-07 07:39:31:125 ERROR] [Scripting] Error running command: Error: Failed to call function 'runCommand'

[2024-12-07 07:39:31:126 ERROR] [Scripting] TypeError: cannot read property 'includes' of undefined    at cc (r4isen1920/originspe/main.js:555)
    at <anonymous> (r4isen1920/originspe/main.js)
    at forEach (native)
    at <anonymous> (r4isen1920/originspe/main.js:1850)

[2024-12-07 07:39:31:126 INFO] [Scripting] Running command: dialogue open @e[type=r4isen1920_originspe:dialogue_handler,c=1] @s gui_welcome_screen

[2024-12-07 07:39:31:126 ERROR] [Scripting] Error running command: Error: Failed to call function 'runCommand'

[2024-12-07 07:39:31:210 INFO] [Scripting] Running command: dialogue open @e[type=r4isen1920_originspe:dialogue_handler,c=1] @s gui_race_pick_human

[2024-12-07 07:39:31:210 ERROR] [Scripting] Error running command: Error: Failed to call function 'runCommand'

[2024-12-07 07:39:31:210 INFO] [Scripting] Running command: dialogue open @e[type=r4isen1920_originspe:dialogue_handler,c=1] @s gui_race_pick_human

[2024-12-07 07:39:31:210 ERROR] [Scripting] Error running command: Error: Failed to call function 'runCommand'

[2024-12-07 07:39:31:477 INFO] [Scripting] Running command: dialogue open @e[type=r4isen1920_originspe:dialogue_handler,c=1] @s gui_race_pick_human

[2024-12-07 07:39:31:477 ERROR] [Scripting] Error running command: Error: Failed to call function 'runCommand'

[2024-12-07 07:39:31:477 INFO] [Scripting] Running command: dialogue open @e[type=r4isen1920_originspe:dialogue_handler,c=1] @s gui_race_pick_human

[2024-12-07 07:39:31:477 ERROR] [Scripting] Error running command: Error: Failed to call function 'runCommand'

[2024-12-07 07:39:31:477 INFO] [Scripting] Running command: dialogue open @e[type=r4isen1920_originspe:dialogue_handler,c=1] @s gui_race_pick_human

[2024-12-07 07:39:31:477 ERROR] [Scripting] Error running command: Error: Failed to call function 'runCommand'

[2024-12-07 07:39:31:478 INFO] [Scripting] Running command: dialogue open @e[type=r4isen1920_originspe:dialogue_handler,c=1] @s gui_welcome_screen

[2024-12-07 07:39:31:478 ERROR] [Scripting] Error running command: Error: Failed to call function 'runCommand'

[2024-12-07 07:39:31:581 INFO] [Scripting] Running command: dialogue open @e[type=r4isen1920_originspe:dialogue_handler,c=1] @s gui_race_pick_human

[2024-12-07 07:39:31:581 ERROR] [Scripting] Error running command: Error: Failed to call function 'runCommand'

[2024-12-07 07:39:31:581 INFO] [Scripting] Running command: dialogue open @e[type=r4isen1920_originspe:dialogue_handler,c=1] @s gui_race_pick_human

[2024-12-07 07:39:31:581 ERROR] [Scripting] Error running command: Error: Failed to call function 'runCommand'

[2024-12-07 07:39:31:581 ERROR] [Scripting] TypeError: cannot read property 'includes' of undefined    at cc (r4isen1920/originspe/main.js:555)
    at <anonymous> (r4isen1920/originspe/main.js)
    at forEach (native)
    at <anonymous> (r4isen1920/originspe/main.js:1850)

[2024-12-07 07:39:31:843 INFO] [Scripting] Running command: dialogue open @e[type=r4isen1920_originspe:dialogue_handler,c=1] @s gui_race_pick_human

[2024-12-07 07:39:31:843 ERROR] [Scripting] Error running command: Error: Failed to call function 'runCommand'

[2024-12-07 07:39:31:843 INFO] [Scripting] Running command: dialogue open @e[type=r4isen1920_originspe:dialogue_handler,c=1] @s gui_race_pick_human

[2024-12-07 07:39:31:843 ERROR] [Scripting] Error running command: Error: Failed to call function 'runCommand'

[2024-12-07 07:39:31:843 INFO] [Scripting] Running command: dialogue open @e[type=r4isen1920_originspe:dialogue_handler,c=1] @s gui_race_pick_human

[2024-12-07 07:39:31:843 ERROR] [Scripting] Error running command: Error: Failed to call function 'runCommand'

[2024-12-07 07:39:31:844 INFO] [Scripting] Running command: dialogue open @e[type=r4isen1920_originspe:dialogue_handler,c=1] @s gui_welcome_screen

[2024-12-07 07:39:31:844 ERROR] [Scripting] Error running command: Error: Failed to call function 'runCommand'

[2024-12-07 07:39:31:929 INFO] [Scripting] Running command: dialogue open @e[type=r4isen1920_originspe:dialogue_handler,c=1] @s gui_race_pick_human

[2024-12-07 07:39:31:929 ERROR] [Scripting] Error running command: Error: Failed to call function 'runCommand'

how can i fix it？


chore: payment-api, others

payment-api
minified to lambda

ref
https://github.com/jiyuujin/payment-lambda
https://stackoverflow.com/questions/52399839/duplicate-identifier-librarymanagedattributes

minified to lambda

291.49 MB -> 59.42MB
👀


[Feature Proposal] nano-jsx cli to provide better developer experience.

Motivation :fire:
Currently, mastering nano-jsx is a difficult task for a beginner web developer (I am not going to offend you).
To improve this situation, How about nano-jsx providing a cli?
Cli’s feature (?)

easier setup: nano-jsx create [APP]

nano-jsx create should only handle a very simple setup. I think a more detailed setup to ask questions by dialog should be done with create-nano-jsx-app

easier serve: nano-jsx serve with express6
earsier build: nano-jsx build
easier dev server: nano-jsx start or nano-jsx dev
earsier deploy: nano-jsx deploy with "Node.js & vercel" or "deno & Deno Deploy”
and more (docs, info, help)

How about do you think about this? If it looks good, I want to start to work on this little by little.

In my opinion all these command are a bit too high level for a nanojsx cli.
Everyone should use the style he prefers.

I can imagine adding simple low level elements like:

nano-jsx server --express6 --cjs /server/server.tsx
nano-jsx component /shared/components/button.tsx
nano-jsx page /shared/pages/home.tsx
nano-jsx router /shared/component/router.tsx
nano-jsx routes /shared/component/navigation.tsx
nano-jsx hydrate /client/hydrate/main.tsx

See: https://github.com/nanojsx/nano/tree/cli

Well, I think it's a good idea to provide low layer functionality to help with initialization.  It seems good that a third-party library uses it to provide some high layer functionality

If you still think about this, I would suggest only to provide starter templates and simple configurations. The problem that I have with CLIs like react-create-app is that beginners don't learn how to setup the project and then depend on that tools. Refactoring out the "hidden magic" of CLI tools to get a project configuration to an explicit, actual and custom configurable state can even for experienced devs be a pain. It also is a problem in case of flexibility. I for example use Microbundle (Libs and WebComponents) and Webpack (SPAs) depending on the context of the project.


Sort by Reverse Paging order by default

Small request: I feel like sorting by "reverse paging" should be by default since this is the way timelines are listed on most platforms.

I think this could be debated without end as there is no right or wrong answer. IMO exploring an archive is not the same experience as reading a timeline, so to me it makes more sense to have the posts sorted by chronological order. So I don't think I will change that.
However what I might consider is treating this option as a user preference, stored locally (in the browser). That way the app would remember your last setting and you wouldn't have to change it every time.

User preference would be great! thanks!
On November 30, 2024 2:28:20 PM PST, s427 @.***> wrote:

I think this could be debated without end as there is no right or wrong answer. IMO exploring an archive is not the same experience as reading a timeline, so to me it makes more sense to have the posts sorted by chronological order. So I don't think I will change that.
However what I might consider is treating this option as a user preference, stored locally (in the browser). That way the app would remember your last setting and you wouldn't have to change it every time.
--
Reply to this email directly or view it on GitHub:
https://github.com/s427/MARL/issues/4#issuecomment-2509404162
You are receiving this because you authored the thread.
Message ID: @.***>

sick, you rule. thanks!


Deploying sinatra app

I am looking into the way dockerfile is setup and APP_COMMAND_LINE configuration option mentioned in the readme does not seem to work.
So how do I configure ruby app to start my sinatra app with ruby app.rb ?

@viktor-evdokimov for my Sinatra app, I use bundle exec puma config.ru -C config/puma.rb assuming you have a config.ru file set up. Here's mine (for a modular sinatra app):
env = ENV.fetch('RACK_ENV', 'development')
require 'bundler'
require './config/environment'
require 'rack/protection'

Bundler.require(:default, env)
Dir.glob('./app/{models,helpers,extensions,jobs}/*.rb') { |file|
  require file
}
require_relative './app/controllers/application_controller.rb'
Dir.glob('./app/controllers/*.rb') { |file|
  require file
}

map '/' do
  use HomeController
end

run MyApp


Cherrypick #1202 release/1.2

Cherrypick #1202 to release/1.2
For https://github.com/containerd/containerd/issues/3401.
Signed-off-by: Lantao Liu<EMAIL_ADDRESS>

/LGTM


[SVCS-124] Update to Invoke 0.13.0

Purpose
Allows use of updated invoke 0.13.0 library.
Changes
Minor changes allow use of context argument. Updates to readme and docs.
Side Effects
None that I know of.
Ticket
https://openscience.atlassian.net/browse/SVCS-124

Merged as 4e22c70c2b2ab6bb4bd7e6494ca0229d94827821.


proxy_accept:308 accept on PROXY 9 failed: Too Many Open Files

@ipapapa @timiblossom
Running with: Dynomite TAG v0.5.6-branch
I'm getting this error a lot of times. This is a 3 node cluster. 1 node per AZ at AWS.
[2016-07-06 17:00:07.252] proxy_accept:308 accept on PROXY 9 failed: Too many open files
Do you guys know what could be this ?
     #                                      m
  mmm#  m   m  mmmm    mmm   mmmmm  mmm    mm#mm   mmm
 #   #  \m m/  #   #  #   #  # # #    #      #    #   #
 #   #   #m#   #   #  #   #  # # #    #      #    #''''
 \#m##   \#    #   #   #m#   # # #  mm#mm    mm    #mm
         m/
[2016-07-05 19:47:26.884] stats_listen:1264 m 5 listening on '<IP_ADDRESS>:22222'
[2016-07-05 19:47:26.884] proxy_each_init:221 p 9 listening on '<IP_ADDRESS>:8102' in redis pool 0 '1p-decorator' with 1 servers
[2016-07-05 19:47:26.884] dnode_each_init:204 dyn: p 10 listening on '<IP_ADDRESS>:8101' in redis pool 0 '1p-decorator' with 1 servers
[2016-07-05 19:48:37.304] proxy_accept:355 accepted CLIENT 13 on PROXY 9 from '<IP_ADDRESS>:42079'
[2016-07-05 19:48:37.304] proxy_accept:297 accept on PROXY 9 not ready - eagain
[2016-07-05 19:48:37.308] proxy_accept:355 accepted CLIENT 14 on PROXY 9 from '<IP_ADDRESS>:42080'
[2016-07-05 19:48:37.308] proxy_accept:297 accept on PROXY 9 not ready - eagain
[2016-07-05 19:48:37.311] proxy_accept:355 accepted CLIENT 15 on PROXY 9 from '<IP_ADDRESS>:42081'
[2016-07-05 19:48:37.311] proxy_accept:297 accept on PROXY 9 not ready - eagain
[2016-07-05 19:48:37.353] _msg_get:262 alloc_msg_count : 1 caller req_get
[2016-07-05 19:48:37.353] _msg_get:262 alloc_msg_count : 2 caller rsp_get
[2016-07-05 19:48:37.364] core_close_log:290 close CLIENT 14 '<IP_ADDRESS>:42080' on event 00FF eof 1 done 1 rb 14 sb 0
[2016-07-05 19:48:37.364] client_unref_internal_try_put:119 unref conn 0xc03ce0 owner 0xbf20e0 from pool '1p-decorator'
[2016-07-05 19:48:37.365] core_close_log:290 close CLIENT 15 '<IP_ADDRESS>:42081' on event 00FF eof 1 done 1 rb 14 sb 0
[2016-07-05 19:48:37.365] client_unref_internal_try_put:119 unref conn 0xc03e40 owner 0xbf20e0 from pool '1p-decorator'
[2016-07-05 19:48:37.367] core_close_log:290 close CLIENT 13 '<IP_ADDRESS>:42079' on event 00FF eof 1 done 1 rb 49 sb 5
[2016-07-05 19:48:37.367] client_unref_internal_try_put:119 unref conn 0xc03b10 owner 0xbf20e0 from pool '1p-decorator'
[2016-07-05 19:48:37.498] proxy_accept:355 accepted CLIENT 13 on PROXY 9 from '<IP_ADDRESS>:42088'
[2016-07-05 19:48:37.498] proxy_accept:297 accept on PROXY 9 not ready - eagain
[2016-07-05 19:48:37.499] proxy_accept:355 accepted CLIENT 14 on PROXY 9 from '<IP_ADDRESS>:42089'
[2016-07-05 19:48:37.499] proxy_accept:297 accept on PROXY 9 not ready - eagain
[2016-07-05 19:48:37.500] proxy_accept:355 accepted CLIENT 15 on PROXY 9 from '<IP_ADDRESS>:42090'
[2016-07-05 19:48:37.500] proxy_accept:297 accept on PROXY 9 not ready - eagain
[2016-07-05 19:48:37.511] core_close_log:290 close CLIENT 14 '<IP_ADDRESS>:42089' on event 00FF eof 1 done 1 rb 14 sb 0
[2016-07-05 19:48:37.511] client_unref_internal_try_put:119 unref conn 0xc03e40 owner 0xbf20e0 from pool '1p-decorator'
[2016-07-05 19:48:37.512] core_close_log:290 close CLIENT 15 '<IP_ADDRESS>:42090' on event 00FF eof 1 done 1 rb 14 sb 0
[2016-07-05 19:48:37.512] client_unref_internal_try_put:119 unref conn 0xc03ce0 owner 0xbf20e0 from pool '1p-decorator'
[2016-07-05 19:48:37.513] core_close_log:290 close CLIENT 13 '<IP_ADDRESS>:42088' on event 00FF eof 1 done 1 rb 41 sb 4
[2016-07-05 19:48:37.514] client_unref_internal_try_put:119 unref conn 0xc03b10 owner 0xbf20e0 from pool '1p-decorator'
[2016-07-05 19:48:37.607] proxy_accept:355 accepted CLIENT 13 on PROXY 9 from '<IP_ADDRESS>:42097'
[2016-07-05 19:48:37.607] proxy_accept:297 accept on PROXY 9 not ready - eagain
[2016-07-05 19:48:37.608] proxy_accept:355 accepted CLIENT 14 on PROXY 9 from '<IP_ADDRESS>:42098'
[2016-07-05 19:48:37.608] proxy_accept:297 accept on PROXY 9 not ready - eagain
[2016-07-05 19:48:37.609] proxy_accept:355 accepted CLIENT 15 on PROXY 9 from '<IP_ADDRESS>:42099'
[2016-07-05 19:48:37.609] proxy_accept:297 accept on PROXY 9 not ready - eagain
[2016-07-05 19:48:37.618] core_close_log:290 close CLIENT 14 '<IP_ADDRESS>:42098' on event 00FF eof 1 done 1 rb 14 sb 0
[2016-07-05 19:48:37.618] client_unref_internal_try_put:119 unref conn 0xc03ce0 owner 0xbf20e0 from pool '1p-decorator'
[2016-07-05 19:48:37.619] core_close_log:290 close CLIENT 15 '<IP_ADDRESS>:42099' on event 00FF eof 1 done 1 rb 14 sb 0
[2016-07-05 19:48:37.619] client_unref_internal_try_put:119 unref conn 0xc03e40 owner 0xbf20e0 from pool '1p-decorator'
[2016-07-05 19:48:37.622] core_close_log:290 close CLIENT 13 '<IP_ADDRESS>:42097' on event 00FF eof 1 done 1 rb 52 sb 5
[2016-07-05 19:48:37.622] client_unref_internal_try_put:119 unref conn 0xc03b10 owner 0xbf20e0 from pool '1p-decorator'
[2016-07-05 19:48:37.642] proxy_accept:355 accepted CLIENT 13 on PROXY 9 from '<IP_ADDRESS>:42100'
[2016-07-05 19:48:37.642] proxy_accept:297 accept on PROXY 9 not ready - eagain
[2016-07-05 19:48:37.643] proxy_accept:355 accepted CLIENT 14 on PROXY 9 from '<IP_ADDRESS>:42101'
[2016-07-05 19:48:37.643] proxy_accept:297 accept on PROXY 9 not ready - eagain
[2016-07-05 19:48:37.643] proxy_accept:355 accepted CLIENT 15 on PROXY 9 from '<IP_ADDRESS>:42102'
[2016-07-05 19:48:37.643] proxy_accept:297 accept on PROXY 9 not ready - eagain
[2016-07-05 19:48:37.654] core_close_log:290 close CLIENT 14 '<IP_ADDRESS>:42101' on event 00FF eof 1 done 1 rb 14 sb 0
[2016-07-05 19:48:37.654] client_unref_internal_try_put:119 unref conn 0xc03e40 owner 0xbf20e0 from pool '1p-decorator'
[2016-07-05 19:48:37.656] core_close_log:290 close CLIENT 15 '<IP_ADDRESS>:42102' on event 00FF eof 1 done 1 rb 14 sb 0
[2016-07-05 19:48:37.656] client_unref_internal_try_put:119 unref conn 0xc03ce0 owner 0xbf20e0 from pool '1p-decorator'
[2016-07-05 19:48:37.657] core_close_log:290 close CLIENT 13 '<IP_ADDRESS>:42100' on event 00FF eof 1 done 1 rb 41 sb 11
[2016-07-05 19:48:37.657] client_unref_internal_try_put:119 unref conn 0xc03b10 owner 0xbf20e0 from pool '1p-decorator'
[2016-07-05 19:48:37.775] proxy_accept:355 accepted CLIENT 13 on PROXY 9 from '<IP_ADDRESS>:42109'
[2016-07-05 19:48:37.775] proxy_accept:297 accept on PROXY 9 not ready - eagain
[2016-07-05 19:48:37.776] proxy_accept:355 accepted CLIENT 14 on PROXY 9 from '<IP_ADDRESS>:42110'
[2016-07-05 19:48:37.776] proxy_accept:297 accept on PROXY 9 not ready - eagain
[2016-07-05 19:48:37.777] proxy_accept:355 accepted CLIENT 15 on PROXY 9 from '<IP_ADDRESS>:42111'
[2016-07-05 19:48:37.777] proxy_accept:297 accept on PROXY 9 not ready - eagain
[2016-07-05 19:48:37.784] core_close_log:290 close CLIENT 14 '<IP_ADDRESS>:42110' on event 00FF eof 1 done 1 rb 14 sb 0
[2016-07-05 19:48:37.784] client_unref_internal_try_put:119 unref conn 0xc03ce0 owner 0xbf20e0 from pool '1p-decorator'
[2016-07-05 19:48:37.785] core_close_log:290 close CLIENT 15 '<IP_ADDRESS>:42111' on event 00FF eof 1 done 1 rb 14 sb 0
[2016-07-05 19:48:37.785] client_unref_internal_try_put:119 unref conn 0xc03e40 owner 0xbf20e0 from pool '1p-decorator'
[2016-07-05 19:48:37.786] core_close_log:290 close CLIENT 13 '<IP_ADDRESS>:42109' on event 00FF eof 1 done 1 rb 41 sb 4
[2016-07-05 19:48:37.786] client_unref_internal_try_put:119 unref conn 0xc03b10 owner 0xbf20e0 from pool '1p-decorator'
[2016-07-06 17:00:07.252] proxy_accept:308 accept on PROXY 9 failed: Too many open files
[2016-07-06 17:00:07.252] core_close_log:290 close PROXY 9 '<IP_ADDRESS>:8102' on event 00FF eof 0 done 0 rb 0 sb 0

@ipapapa  @timiblossom
I have found similar issues on twemproxy.
https://github.com/twitter/twemproxy/issues/227
https://github.com/twitter/twemproxy/issues/97
https://github.com/twitter/twemproxy/issues/7

try ulimit. look at bin/launch_dynomite.sh

Hi @shailesh33
I was about to say that :-)  I'm 99% sure is that.
$ sudo lsof -p 24566 | wc -l
1044

$ ulimit -a
1024

I changed in all my cluster nodes... let you guys know in a while... but looks like is it.
Thanks @shailesh33
Cheers,
Diego Pacheco

I think you can close this.


[Do not merge] Update Lancaster House page

Add sections about significant rooms
Add images for rooms
Update contents list

Part of
https://trello.com/c/RTjN7sxI/
https://trello.com/c/NRxrJ33C/
https://govuk.zendesk.com/agent/tickets/2162306
Notes

The provided image for the grand hall and staircase is pixelated
Should we be including the map image, also low quality – we haven't included maps for other addresses

Before merging

[ ] Content reviewed
[ ] Zendesk ticket raiser reviewed

Screenshot

cc @aledelcueto @nickcolley

The department has reviewed the preview and they're asking for 2 changes (here's the zendesk ticket: https://govuk.zendesk.com/agent/tickets/2162306).
Please can I see a preview before you merge?

'Contact details' (bottom of the page)

REPLACE:
'Conference and Events Team, Lancaster House'
WITH:
Lancaster House enquiries

Image of the music room

Add this image under the 'Music room' heading.

Larger image:

Updated with new image and contact details:


Rarity does not work, it seems to output the same no matter what tag the image has, anyone had the same thing?

The tag doesn't do anything in my experience as well. I can't see the code does anything with the rarity tags on the element file name while choosing an element for a layer. It is only used to build metadata.
I'm using the number in the layerOrder config to induce rarity. For instance, if you want to make an element rare, create a new layer and move it under that. Then use the number in the layerOrder to make it rare.


Investigate feasibility of running tests on Android and iOS for MAUI compatibility

Is there an existing issue for this?

[X] I have searched the existing issues

Task description
The MAUI team themselves use a tool called xharness to run tests on Android and iOS. We should investigate if it's feasible to do so.
Example MAUI ADO pipeline result: https://dev.azure.com/xamarin/public/_build/results?buildId=126800&view=logs&jobId=5577a1a6-5922-5c8f-f8aa-3ff6c6e2bbde&j=5577a1a6-5922-5c8f-f8aa-3ff6c6e2bbde&t=aa670144-16c6-5487-06c9-b7432a5fb589
(Split from #258)

The xharness project sounds promising.
It allows implementing custom test runners, which is an issue we had on J2N when adding tests for Xamarin.Android. The official XUnit test runner would not scale to run 70,000+ tests, and the official NUnit runner used NUnitLite (which is going to be an issue for the Lucene.Net test framework which depends on NUnit), so we had to make our own runners. Debugging was also very manual. You basically had to add a filter with the name of the test you want to run and then set a breakpoint in that test.
See https://github.com/NightOwl888/J2N/pull/96/files to see the configuration of Xamarin tests before they were removed - it took about 4 months of trial and error to get the tests to run on Azure DevOps being that documentation on testing class libraries was scarce. We could still use this approach if xharness doesn't pan out, the only thing we would need to do is replace the projects that build the .apk to side load into the Android emulator and update the test runners to run on MAUI.
Note that there were several limitations with Xamarin.Android that made testing worth it, though:

Mono has incomplete generics. We had compilation problems with both LurchTable<TKey, TValue> and with EqualityComparer<T> that required breaking API changes in J2N to fix.
There were limitations with memory mapped files. See: https://github.com/dotnet/android/issues/5423. These didn't affect Lucene.Net, but did cause some of the Harmony tests to fail in J2N.
There were several problems with the way globalization was implemented in Xamarin.Android. See: https://github.com/dotnet/android/issues/5425.
Some other APIs in Xamarin.Android threw PlatformNotSupportedException that made it necessary to find alternatives and/or conditionally suppress tests.

As these issues were left open until Xamarin went out of support, I don't have high confidence that they have been addressed in MAUI, and may need to be re-reported. So, I agree that this is required before we can release 4.8.0 because there may be more breaking changes required to fully support MAUI.
I did a little experimentation and got the tests to run on Lucene.Net.Analysis.Common on Xamarin.Android at one point, but it has never been done for all of the Lucene.NET tests.

So, I agree that this is required before we can release 4.8.0 because there may be more breaking changes required to fully support MAUI.

I, for one, do not think this is required before we can release 4.8.0 unless the community demands it. I put it on the 4.8.0 milestone for investigation and to not lose track of this issue, but I would certainly vote to cut it if needed. If we hear radio silence about needing to ensure full tests passing on iOS and Android, and no one wants to step up to do the work, I personally do not feel like we need to go through this effort, and certainly not if it means several months of delay in the release. It's very possible that it will work as-is sufficiently for most/all iOS and Android use cases, and we welcome issues being filed if there are incompatibilities. I am not aware of any other open-source third-party (meaning, not Microsoft) projects that are going to this extent for these platforms, but if anyone has references that could make our job easier please share. But I don't think we need to spend a ton of effort and energy from our limited time available if no one speaks up about this being important, or is willing to help contribute.
I'm not saying that's the case yet (I just filed the issue yesterday), but I'd say this issue is a call to action for the community. We've only had 1 reported issue on MAUI and it was already fixed in beta 17. If you include Xamarin, we've had  only 2 issues reported in over 3 years. That implies that either it is working well apart from the issues we've fixed, or not many people are using it for that purpose. If anyone needs 4.8.0 to have full test coverage (or any specific test coverage) on iOS and Android, please speak up! Better yet, volunteer to take on this issue. @NightOwl888 and I have enough on our plates. Meanwhile, please install beta00017 in your MAUI apps and let us know if there are any issues, and also please let us know if it works well and what platform(s) you're using it on so we can gauge interest. Let us know what kinds of analysis, query parsing, directories, etc. you're using so we can better understand real-world workloads on mobile devices.


Elaborate on related_stream_id and derived_stream_id

The definition on related_stream_id and derived_stream_id is simple:

related_stream_id: Indicates the stream ID for which this stream is related to.
derived_stream_id: Indicates the stream ID for which this stream is derived from.

But it isn't clear what kind of cases belonging to 'related', and what's 'derived'. Some examples will be helpful to understand the definitions and which one to use.

Relations and derivations are defined in flags set in https://cyanreg.github.io/avtransport/#enum-StreamFlags
I've added a note to the two fields to indicate where to find a definition for this, as well as what their default value should be.

I have noticed stream flags for related_stream_id, looks like there is no flags for derived_stream_id yet, which is what I'm concern.

Ah, good catch. SESSION_LOW_QUALITY is meant to use the derived ID. I've just pushed a fix for that in the spec.

OK, I have that in my mind for a few seconds when reading SESSION_LOW_QUALITY, but totally forgot afterwards.
Now it’s clear.


Fix wrong link to metainfo

fix metainfo link

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.xuwenjie.dev seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Document other OS X CTags installation methods

Both macports and homebrew have ctags packages. If you've got either system installed they're much easier to use than the instructions at http://adamyoung.net/Exuberant-Ctags-OS-X

Updated to default to primary folder (if present), otherwise fallback to current directory

I didn't bother with the path stuff since the usual order is generally correct. Instead I just change the value of ctags_command in CTags.sublime-settings. I also had to include some other options to get PHP code scanned correctly. I'll open up another issue for those.


training config file of ViT-Base/16 for plot-loop?

Very impressive work! Do you have the training config file of ViT-Base/16 for plot-loop?

Thanks very much for your attention.  The current version does not support ViT-based encoders, since the training of OT distance needs discriminative initialized local visual features.  For this issue, we have an extended version PLOT++.   Will release PLOT++ in 3 weeks.  If you want to obtain it early, please free free to drop me an email.

The extension of PLOT (PLOT++) to support ViT-based backbones is released, which includes the training/testing configs and our trained models. Please refer to PLOT++ for details.


Allow to sort favorite bots order

Allow users to sort their favorite bots by dragging them.
The shortkey Ctrl + 1 to 9 to toggle the bots will be updated according to the user's order.

So #290 can be closed. Thank you very much!
Moreover, is it possible to implement dragging up to remove the bot from favorite?

So #290 can be closed. Thank you very much!
Moreover, is it possible to implement dragging up to remove the bot from favorite?

Good idea!


Allow for additional customization on the confirmation screen at application submission

Right now, when a CiviForm admin makes a program, they can add a custom message that will be shown on the confirmation page after an application has been submitted. The goal is to use this message to explain next steps of the application process and/or highlight other programs to apply for.
Given the importance of this handoff and the feedback we have received that it is not as clear as expected, we'd like to expand the functionality of this space to allow for linking out to other pages outside of CiviForm and the text in the submission view to be easier to read.
This issue is complete with the admin can:

Add links to text that allow for navigation to sites outside of CiviForm
Add custom formatting of the text in the form of bold, underlined, and text size

Requirement 1 was covered by this PR: https://github.com/civiform/civiform/issues/4354#event-9999013429
Requirement 2 might also work just by passing it through the formatter, but we'll need to test that.


[simple-romp] How to use it?

I tried to use it with simple-romp but it did not work.
I already created an issue at the ROMP repository and described my problem here and here in detail.
The author of the ROMP repository answered there:

About live blender driving, please refer to this repo. https://github.com/yanch2116/CharacterDriven-BlenderAddon My colleague is responsible for maintaining this funciton now. Best regard.

and closed the issue.
@yanch2116 So how to solve it?
My goal is to send the positions and quaternions of ROMP (or any other SMPL based solution) over the VMC protocol to other application (not Blender).
Any ideas, whats the best way to do it?

Additional notes:
I understand VMC and VRM but i have huge problems to understand how SMPL and the communication between ROMP ([webcam_blender.sh](https://github.com/Arthur151/ROMP/blob/master/scripts/webcam_blender.sh)) and your script ([server.py](https://github.com/yanch2116/CharacterDriven-BlenderAddon/blob/master/src/server.py)).
I mean, there it loads the data from an *.npz.
But it get's also data by an network soket connection?
Why?
For synchronisation?
But then why not just sending the data directly via network?
Hard to understand for me.

def convert_cam_to_3d_trans(cams, weight=2.):
    (s, tx, ty) = cams[:, 0], cams[:, 1], cams[:, 2]
    depth, dx, dy = 1./s, tx/s, ty/s
    trans3d = np.stack([dx, dy, depth], 1)*weight
    return trans3d

def run_romp(receiver, sender, run, gpu, pid):
            settings = argparse.Namespace(GPU=gpu, center_thresh=0.2, input=None, mode='webcam', onnx=False,
                                  model_path=os.path.join(model_path, 'ROMP.pkl'), smpl_path=os.path.join(model_path, 'smpl_packed_info.pth'),
                                  smooth_coeff=3.0, temporal_optimize=True,
                                  show_largest=False, calc_smpl=False, render_mesh=False, show=False, show_items='mesh,tracking', renderer='sim3dr')
            romp = ROMP(settings)

            outputs_all = romp(image, signal_ID=pid)

            if outputs_all is None:
                continue
            poses = getAxisAngle(outputs_all['smpl_thetas'])
            if 'cam_trans' not in outputs_all:
                trans = convert_cam_to_3d_trans(outputs_all['cam']).tolist()
            else:
                trans = outputs_all['cam_trans'].tolist()
            track_ids = outputs_all['track_ids']

I use simple-romp 1.0.2, so it might be different in other version.You can print the attributes of the output to get your need.The cam_trans is position and the smpl_thetas is quaternions(maybe you need convert it from the axis-angle representation as my blender addon does).Track_ids is the people id in the webcam.

For VMC,I don't know much about it. However, I recently used Webscokets and WebRTC to transfer camera images and ROMP-generated parameters so that I could use webcam and ROMP to drive 3D characters in a web page (render 3D characters using three.js). Open source soon.

@yanch2116 Oh wow, very detailed answer! 😃

[..] The cam_trans is position and the smpl_thetas is quaternions [..]

Ah i see.
But maybe i described it not clear enough:
With 'position' i mean the position for the bones, not the camera.
Or is it, what convert_cam_to_3d_trans() does for me?

[..] I'll be writing an interface for simple_romp that will call up the local camera and drive it in Blender for you to check out.

That would be really great, thank you! 👍
By testing a little bit with the code i get in Blender the error ModuleNotFoundError: No module named 'romp':
Read blend: E:\Projekte\py\cdba\blender\Beta.blend
Traceback (most recent call last):
  File "E:\Projekte\py\cdba\blender\Beta.blend\characterDrivenLocal.py", line 5, in <module>
ModuleNotFoundError: No module named 'romp'
Error: Python script failed, check the message in the system console

Even after installing it via pip:
(base) PS C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\bin> python.exe -m pip freeze
brotlipy==0.7.0
certifi==2021.10.8
cffi @ file:///C:/ci/cffi_1636523946399/work
charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work
conda==4.12.0
conda-package-handling @ file:///C:/ci/conda-package-handling_1618262410900/work
cryptography @ file:///C:/ci/cryptography_1639414720302/work
DateTime==4.4
idna @ file:///tmp/build/80754af9/idna_1637925883363/work
menuinst==1.4.16
numpy==1.22.3
osc4py3==1.0.8
Pillow==9.1.0
pycosat==0.6.3
pycparser @ file:///tmp/build/80754af9/pycparser_1636541352034/work
pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1635333100036/work
PySocks @ file:///C:/ci/pysocks_1605307512533/work
pytz==2022.1
pywin32==302
requests @ file:///opt/conda/conda-bld/requests_1641824580448/work
ruamel-yaml-conda @ file:///C:/ci/ruamel_yaml_1616016898638/work
six @ file:///tmp/build/80754af9/six_1623709665295/work
tqdm @ file:///tmp/build/80754af9/tqdm_1635330843403/work
urllib3==1.26.7
win-inet-pton @ file:///C:/ci/win_inet_pton_1605306162074/work
wincertstore==0.2
wxPython==4.1.1
youtube-dl @ file:///home/conda/feedstock_root/build_artifacts/youtube-dl_1640026230460/work
zope.interface==5.4.0
(base) PS C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\bin> python.exe -m pip install simple-romp
Collecting simple-romp
  Using cached simple_romp-1.0.5-cp39-cp39-win_amd64.whl
Requirement already satisfied: setuptools>=18.0.0 in c:\tools\miniconda3\lib\site-packages (from simple-romp) (58.0.4)
Collecting torch
  Using cached torch-1.11.0-cp39-cp39-win_amd64.whl (157.9 MB)
Collecting cython
  Using cached Cython-0.29.30-py2.py3-none-any.whl (985 kB)
Collecting lap
  Using cached lap-0.4.0-cp39-cp39-win_amd64.whl
Collecting opencv-python
  Using cached opencv_python-<IP_ADDRESS>-cp36-abi3-win_amd64.whl (35.6 MB)
Collecting typing-extensions>=4.1scipy
  Using cached typing_extensions-4.2.0-py3-none-any.whl (24 kB)
Requirement already satisfied: numpy>=1.21.0 in c:\tools\miniconda3\lib\site-packages (from simple-romp) (1.22.3)
Installing collected packages: lap, typing-extensions, opencv-python, cython, torch, simple-romp
Successfully installed cython-0.29.30 lap-0.4.0 opencv-python-<IP_ADDRESS> simple-romp-1.0.5 torch-1.11.0 typing-extensions-4.2.0

Outside of Blender it works:
#!/usr/bin/env python3

import romp, cv2

# ROMP
settings = romp.main.default_settings
romp_model = romp.ROMP(settings)
outputs = romp_model(cv2.imread('test.jpg'))
print(outputs["body_pose"])

So it seems, Blender runs the python not inside the conda environment.
How to install the simple-romp module for Blender? 🙂

Instead of running ROMP in Blender, just use TCP to send the results of ROMP over as I did in my repository.
Why do you need the location of the bones? As far as I know, forward kinematics only requires quaternions to drive.

For VMC,I don't know much about it. [..]

To keep it short:
The VMC protocol is used to send bone positions and quaternions from one application to another. like you do it currently between ROMP and Blender, but more standardized.
There are a lot of applications, supporting it.
So thats, why i want to implement it for ROMP.
There is also an existing VMC protocol addon for Blender: VMC4B.

Instead of running ROMP in Blender, just use TCP to send the results of ROMP over as I did in my repository.

Yes, thats right.
I can do it this way:

Modifying your characterDriven.py to implement VMC protocol transmissions from there.
using the following chain: ROMP (standalone) --(your TCP)--> Blender (with modified characterDriven.py) --(VMC protocol)--> my application.

This way might be the best one (if ROMP implements VMC protocol directly):

ROMP (standalone) --(VMC protocol)--> my application
or: ROMP (standalone) --(VMC protocol)--> Blender

Or maybe an good alternative way:

Script (uses simple-romp) --(VMC protocol)--> my application
Script (uses simple-romp) --(VMC protocol)--> Blender

I am familiar with the VMC protocol but not sure, which solution is the best one.

Why do you need the location of the bones? As far as I know, forward kinematics only requires quaternions to drive.

hm, yes your right.
At the moment i only require the quaternions.
Because the VMC protocol speaking application i want to use with ROMP supports inverse kinematics.
Just also having the bone locations might be an useful extra for further development maybe.

@yanch2116

def convert_cam_to_3d_trans(cams, weight=2.):
    (s, tx, ty) = cams[:, 0], cams[:, 1], cams[:, 2]
    depth, dx, dy = 1./s, tx/s, ty/s
    trans3d = np.stack([dx, dy, depth], 1)*weight
    return trans3d

def run_romp(receiver, sender, run, gpu, pid):
            settings = argparse.Namespace(GPU=gpu, center_thresh=0.2, input=None, mode='webcam', onnx=False,
                                  model_path=os.path.join(model_path, 'ROMP.pkl'), smpl_path=os.path.join(model_path, 'smpl_packed_info.pth'),
                                  smooth_coeff=3.0, temporal_optimize=True,
                                  show_largest=False, calc_smpl=False, render_mesh=False, show=False, show_items='mesh,tracking', renderer='sim3dr')
            romp = ROMP(settings)

            outputs_all = romp(image, signal_ID=pid)

            if outputs_all is None:
                continue
            poses = getAxisAngle(outputs_all['smpl_thetas'])
            if 'cam_trans' not in outputs_all:
                trans = convert_cam_to_3d_trans(outputs_all['cam']).tolist()
            else:
                trans = outputs_all['cam_trans'].tolist()
            track_ids = outputs_all['track_ids']

[..] the smpl_thetas is quaternions(maybe you need convert it from the axis-angle representation as my blender addon does). [..]

How is in your example code getAxisAngle() defined?
The part with the ROMP-results-to-quaternion-conversion is not fully understandable to me.
If i look in characterDrivenLocal.py then it uses only poses instead of smpl_thetas?
https://github.com/yanch2116/CharacterDriven-BlenderAddon/blob/6c288acf8540f900202de10adc2463ab2ca75f04/src/characterDrivenLocal.py#L19
Also it does some conversion with it, i also not understand completely:
https://github.com/yanch2116/CharacterDriven-BlenderAddon/blob/6c288acf8540f900202de10adc2463ab2ca75f04/src/characterDrivenLocal.py#L74
Sorry, for having so much questions 🙂

@yanch2116 Okay here my short testing code:
#!/usr/bin/env python3

import romp, cv2

# ROMP
settings = romp.main.default_settings
romp_model = romp.ROMP(settings)
outputs = romp_model(cv2.imread('test.jpg'))
print(outputs["smpl_thetas"][0].reshape(24, 3))

And my result:
[[ 2.94803524e+00 -1.42663017e-01 -7.88208991e-02]
 [-9.88707423e-01  2.52666175e-02  4.28940564e-01]
 [-1.14964235e+00  2.46785283e-02 -3.80045295e-01]
 [ 7.81143069e-01 -2.53749732e-02  4.88573825e-03]
 [ 1.20549548e+00  5.43232150e-02 -1.45304590e-01]
 [ 1.43561351e+00 -1.05927981e-01  1.64200649e-01]
 [ 2.08218731e-02 -1.65508091e-02  1.05584832e-02]
 [-1.09371156e-01  9.65581164e-02 -1.12654939e-01]
 [-1.14813052e-01 -9.41924900e-02  1.42180398e-01]
 [ 4.55470709e-03 -2.39811037e-02  8.59344937e-03]
 [-2.75181592e-01  2.03453958e-01  2.49218971e-01]
 [-2.56546527e-01 -1.35578856e-01 -2.47987211e-01]
 [-1.42983630e-01  8.89663398e-03 -8.55871662e-03]
 [ 1.12185907e-02 -4.22098696e-01 -2.92974502e-01]
 [ 8.57210543e-04  4.21224028e-01  2.51460761e-01]
 [-2.34054159e-02 -3.74585614e-02  3.04763876e-02]
 [-1.22376801e-02 -5.23299575e-01 -8.54798675e-01]
 [ 3.60559858e-02  4.96336907e-01  8.63629162e-01]
 [ 2.78691691e-03 -8.45407069e-01  2.70991951e-01]
 [ 6.24685101e-02  1.06210124e+00 -3.48785102e-01]
 [ 5.90867512e-02 -3.81427072e-02  2.39067242e-01]
 [ 5.54307438e-02  5.38437404e-02 -2.21134484e-01]
 [ 0.00000000e+00  0.00000000e+00  0.00000000e+00]
 [ 0.00000000e+00  0.00000000e+00  0.00000000e+00]]

The Quaternions, that i need, have 4 components (x, y, z and w).
There are only 3 components for each of the 24 SMPL joins?

@yanch2116 according to this at page 32, what type of rotation is it? Euler angles?

@yanch2116 according to this at page 32, what type of rotation is it? Euler angles?

It's the first type Axis-Angle. But it's the product of θ and w. You can use this function to convert it to θ and w.
def getAxisAngle(poses_list):
    AxisAngles = []
    for poses in poses_list:
        AxisAngle = []
        for i in range(0, len(poses), 3):
            theta = np.sqrt(poses[i]**2 + poses[i+1]**2 + poses[i+2]**2)
            w = poses[i:i+3]/(theta+1e-6)
            for key in w:
                AxisAngle.append(key)
            AxisAngle.append(theta)
        AxisAngles.append(AxisAngle)
    return AxisAngles

SMPL_theta and poses are the same thing, just different names. It depends on the simple_romp version.
The position of each bones can be obtained using forward kinematics with quaternion and the global  of root bone(the cam_trans).
If you are not in a hurry to solve these problems in these two days, I will update my repo next week, and you can refer to my writing method then.
For VMC, I can't give you advice immediately.After I finish updating my repo, I will learn about VMC.

@yanch2116

[..] from the axis-angle [..]

Oh no, it was my fault 😆
In combination with getAxisAngle(outputs_all['smpl_thetas']) it was a little bit misleading to me, sorry. 🙂
#!/usr/bin/env python3

import romp, cv2
from scipy.spatial.transform import Rotation as r

# ROMP
settings = romp.main.default_settings
romp_model = romp.ROMP(settings)
outputs = romp_model(cv2.imread('pose.png'))
rotation_by_axis = outputs["smpl_thetas"][0].reshape(24, 3)[0]
rotation_by_quaternion = r.from_rotvec(rotation_by_axis).as_quat()
print(rotation_by_axis)
print(rotation_by_quaternion)

Seems to return the quaternions now:
Rotation by axis: [-2.3814533  0.2776083 -1.8047591]
Rotation by quaternion: [-0.7916114   0.0922789  -0.59991432  0.07027662]

The position of each bones can be obtained using forward kinematics with quaternion and the global of root bone(the cam_trans).

Okay.
Any suggestions for independent libs to use for?

If you are not in a hurry to solve these problems in these two days, I will update my repo next week, and you can refer to my writing method then.

To be honest, i am a little bit in a hurry. 🙂
But thats no problem, i will just try my best and looking forward to your code.

[..] After I finish updating my repo, I will learn about VMC.

If you have any questions, don't hestitate to ask me. 🙂

@yanch2116 Some progress now: https://github.com/Arthur151/ROMP/issues/193#issuecomment-1152999499

@yanch2116 Some progress now: Arthur151/ROMP#193 (comment)

You can refer to this file as to why your posture is wrong. I had the same problem too.
The reason is that the initial orientation of the bone differs from that of SMPL.

Can you modify character skeletons in Blender? Then import it into the software you need.

Not sure, if it works with every VMC protocol receiver if i am loading an converted non-standard model into it.
So changing the users model is not an option.
As an alternative my script may make use of blender for the calculations you proposed but this leads to another issues:
a) using romp inside Blender (not worked out of the box for me) or
b) using bpy outside of Blender (not worked out of the box for me)
So this idea is even hard to test for me ( a) and b) issues not able to solve yet 🙁).
In the meanwhile i tested some other ideas here:
https://github.com/Arthur151/ROMP/issues/193#issuecomment-1155171390
Also i have invited you for full access to my draft: https://github.com/vivi90/python-vmc/invitations

Current progress: https://github.com/Arthur151/ROMP/issues/193

@yanch2116 It seems, that i simply fail to change the rotation of the quaternions:
https://github.com/Arthur151/ROMP/issues/193#issuecomment-1156960708

Sorry, i give up.

Project closed: Arthur151/ROMP#193 (comment)

Sorry, I was so busy these two days that I forgot to reply.
The skeleton of your model is not uniform, can't be unified into the SMPL skeleton, and can't be manipulated in Blender.
The only way seems to be to recalculate the poses from the skeleton information.I haven't studied kinematics systematically, so I don't know exactly how to recalculate.
I have queried the relevant information before, but gave up halfway, you can refer to it, maybe there is some help for you.
I also had a skeleton mismatch, but when I imported the BVH directly from ROMP into Blender, the pose was completely correct. I checked Motion Capture File Formats Explained and learned that Blender recalculated the poses before importing BVH.
So the next thing I looked up import_bvh.py in Blender source code, lines 521~588 (maybe other lines) may said how to recalculate, but I didn't follow up on that.
I'm sorry I couldn't help you！

Sorry, I was so busy these two days that I forgot to reply.

It's not your fault. 🙂

The skeleton of your model is not uniform, can't be unified into the SMPL skeleton, and can't be manipulated in Blender.

It can be manipulated and unified.
But just mathematically.
Here is an image to show you, why is it so:

Every user uses it's own model thats uniform with the VRM standard.
So if i change my model to be uniform with the SMPL standard might be nice.
But it's not an solution.
Maybe my english is just not good enough to explain it, i don't know.

The only way seems to be to recalculate the poses from the skeleton information.I haven't studied kinematics systematically, so I don't know exactly how to recalculate.

I even fail by just calculating some mathematical stuff:
https://stackoverflow.com/questions/72637394/how-to-rotate-an-rotation-by-an-euler-rotation-in-python/72641895
So i don't think the issue is complex.

I have queried the relevant information before, but gave up halfway, you can refer to it, maybe there is some help for you.
I also had a skeleton mismatch, but when I imported the BVH directly from ROMP into Blender, the pose was completely correct. I checked Motion Capture File Formats Explained and learned that Blender recalculated the poses before importing BVH.（The appendix in the PDF has C++ code for parsing BVH, which you may also want to refer to.）
So the next thing I looked up import_bvh.py in Blender source code, lines 521~588 (maybe other lines) may said how to recalculate, but I didn't follow up on that.

What is BVH?

@yanch2116 Project reopened due to deadline extension until 1st of August 2022.

@yanch2116 Bones fixed! 🥳
https://github.com/Arthur151/ROMP/issues/193#issuecomment-1166276307

@yanch2116 How to get the real root rotation?
My issue: https://github.com/Arthur151/ROMP/issues/193#issuecomment-1166676235
Any ideas? 🙂

@yanch2116 Now i want to test the 'webcam' mode in my script and come back to your code snippet:

def run_romp(receiver, sender, run, gpu, pid):
            settings = argparse.Namespace(GPU=gpu, center_thresh=0.2, input=None, mode='webcam', onnx=False,
                                  model_path=os.path.join(model_path, 'ROMP.pkl'), smpl_path=os.path.join(model_path, 'smpl_packed_info.pth'),
                                  smooth_coeff=3.0, temporal_optimize=True,
                                  show_largest=False, calc_smpl=False, render_mesh=False, show=False, show_items='mesh,tracking', renderer='sim3dr')
            romp = ROMP(settings)

            outputs_all = romp(image, signal_ID=pid)

            if outputs_all is None:
                continue
            poses = getAxisAngle(outputs_all['smpl_thetas'])
            if 'cam_trans' not in outputs_all:
                trans = convert_cam_to_3d_trans(outputs_all['cam']).tolist()
            else:
                trans = outputs_all['cam_trans'].tolist()
            track_ids = outputs_all['track_ids']

[..]
[..] the body logic should be understandable. [..]

To be honest, i don't understand the logic 🙂
How do i get the results, if romp is still running?
#!/usr/bin/env python3

import numpy as np
import romp, cv2

subject_id = 0

settings = romp.main.default_settings
settings.mode = 'webcam'
romp_model = romp.ROMP(settings)

outputs_all = romp(image, signal_ID=pid)

Or do i need to use threads and read the webcam frames by my own script and passing it frame by frame to romp?

Yes, you only need to put the image obtained by webcam into romp. Use romp_model(image) to get the results.


Extend to more color classes?

I would also like to implement nightwind in fill- class.
Is there a way I can achieve this?

Currently that's not possible unfortunately, will keep it in mind for future versions of the package

@jjranalli
Thanks for clarifying.
May I also know is there a way to get and monitor the theme mode? e.g. showing two different icons in light and dark theme

There is no specific method exported from the library, but there are different ways you could check the current theme depending on your implementation:

check if dark class is present in <html> el
check if the value of localstorage key nightwind-mode is dark / light
(if using the next-themes library) use theme from the useTheme hook


using proxy doesnt bypassing cf

import CFSession
from CFSession import cfDirectory, cfSession, Options

if __name__ == "__main__":
    dir = cfDirectory(cache_path="cache", session_name=("cookie.json","ua.json"))
    options = CFSession.Options(
    proxy={
        'http': 'http://ip:port',
        'socks5': 'socks5://ip:port'
    },
    #headless=True,  # You can set this to True if you want a headless browser
    # Other options...
    )
    session = CFSession.cfSession(directory=dir,options=options, headless_mode=True)
    res = session.get("https://target/path") #A Cloudflare protected site
    print(res.content)

i checking in my server log and cloudflare security event
i found my proxy ip hit the CF but doesnt bypass to server. meanwhile i found my local ip in server log and CF event logs

i have been trying another option
`
import CFSession
from CFSession import cfDirectory, Options, cf, cfSession, cfCookieHandler
import os
cf.DEBUG = True
if name == "main":
opt = Options(proxy={"https":"ip:port","http":"ip:port","socks5":"socks5://ip:port"},headless=True, user_agent="Mozilla/5.0 (Linux; Android 13; SM-A515F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36")
dir = cfDirectory(cache_path="cache", session_name=("cookie.json","ua.json"))
#Context Manager
with CFSession.cfSession(options=opt, directory=dir) as session:
res = session.get("https://target")
print(res.content)
`

output from debug, the script doing 3 times saving the cookies
when I manually curl the cookies, it turns out that they all belong to my local ip
when I look at the security event on cloudflare, only the proxy ip with https protocol and my local ip are logged in. even though I did not open the https port for my proxy.


Extract reporting

-Moved reporting to different
-Fixed calls to superclasses and changed super of CTTVEvidenceString from UserDict back to dict
-Tests for validate functions
-Calls to "super" rather than explicitly mentioning class

Coverage increased (+2.1%) to 70.343% when pulling 0d7a8892bb27a2c8d8ba320ac016ab748e9bcb8f on tomdcsmith:extract_reporting into ff6a2d880ddba041807f188b7bc81e6fb8a77f37 on EBIvariation:master.

Coverage increased (+2.1%) to 70.343% when pulling e217377b21fd5e16bef2774856026f8d182cc79b on tomdcsmith:extract_reporting into ff6a2d880ddba041807f188b7bc81e6fb8a77f37 on EBIvariation:master.

Coverage increased (+2.2%) to 70.416% when pulling a9617ca31668d704b609821e5222cdc1491a19a2 on tomdcsmith:extract_reporting into ff6a2d880ddba041807f188b7bc81e6fb8a77f37 on EBIvariation:master.


Add Avernic defender to emote clue info

Closes #9832
There's a similar clue with dragon defender "Do a push up at the bank of the Warrior's guild. Beware of double agents! Equip a dragon battleaxe, a dragon defender and a slayer helm of any kind." - needs confirmation if Avernic works there too.
I couldn't find any info about trimmed defender, so I left it as is.

Considering it says "a dragon defender of any kind" I think it would include the trimmed ones.

Considering it says "a dragon defender of any kind" I think it would include the trimmed ones.

That phrase belongs to a slayer helmet, I think. I found a comment in the code where standard dragon defender is considered as the only solution to Falo the Bard clue, that's another thing to confirm.

Oh I had misread the clue. It does say dragon defender or avernic defender


Add compatibility with IE (Still needed for IE11)

http://stackoverflow.com/questions/16618785/ie8-alternative-to-window-scrolly

Sorry for the late response, I'm out on vacation. Will be back in couple of days and have a look at this.
Thanks for your contribution:)

Thanks for the response. I added a few more changes:
I changed that the contextmenu event listener to be on the document, since I noticed some times when redrawing the dom the original dom element listener gets lost and the contextmenu listener is not fired.
I also noticed with multiple context menus touch screens have an issue clicking menu items ( the menu disappears and no action is fired). You can reproduce it here: http://vkbansal.github.io/react-contextmenu/#/multiple-menus by turning on chrome device mode and choosing a touch screen device (eg. Nexus 10). Hold down the left mouse button for the context menu to appear and try clicking the menu item.

@meikoudras Can you make these as separate PRs ?


Attempt to fix sanity tests

Fixes https://github.com/grpc/grpc/issues/6685

With this, sanity tests are green.

Lgtm

I'm going to spend some quality time with set_initial_connect_string real soon now (maybe on the flight tomorrow).


feat: started working on multihop swaps for v3

Partially fixes remaining tasks in #95

Continuing in #221 instead.


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-sandbox/kn-plugin-operator-approvers
/assign knative-sandbox/kn-plugin-operator-approvers
Produced by: knative-sandbox/knobots/actions/update-deps

/lgtn
/approve

/lgtm


When patching files, state boxes are empty on the commit page

When using just the stage screen, the boxes work correctly. But when I go through the patch screen, they always look like this:

#3007

see comments in https://github.com/larshp/abapGit/pull/3003


Add available result: options to state selectors

Description & motivation
The docs for result selection from https://github.com/dbt-labs/dbt-core/pull/4017 currently say "use the result method" but don't say what options are available to it. I originally just listed them out, but then realised that some were unavailable in different contexts. I've made a grid showing which options should be available depending on your target node types.
I freehanded all of this: I think I've remembered all the node types and correctly mapped them, but please double check!
Pre-release docs
Is this change related to an unreleased version of dbt?

[x] Yes: please

update the base branch to next
add Changelog components: <Changelog>[New/Changed] in v0.x.0</Changelog>
add links to the "New and changed documentation" section of the latest Migration Guide

[ ] No: please ensure the base branch is current
[ ] Unsure: we'll let you know!

@sungchun12 this was your masterpiece right? Could I get you to have a gander and make sure I've done this correctly?

@joellabes I'm on vacation until Monday and will review this then! Thanks for submitting this PR 😄

@sungchun12 this was your masterpiece right? Could I get you to have a gander and make sure I've done this correctly?

@matt-winkler @jtcohen6 this is OUR masterpiece 😉

this is OUR masterpiece

yes! I knew there were other maestros but not who 😅


app icon is not work properly when in very small size

one example is when search DBO in Raycast app

by upgrading to tauri v3 this problem solved!


Configure project root?

In elixir-ls, you can set elixirLS.projectDir. I have a monorepo with multiple Elixir projects I'd love to open in Zed. In nvim it's no problem because the mix file is detected as the nearest project root. But Zed/VSCode don't play nicely with that. Any tips? Thanks!

For monorepos, you'll want to use workspace folders.
In VSCode, here is a video showing how to do it: https://www.elixir-tools.dev/next-ls/#workspace-folders
For Zed, unfortunately they don't support workspace folders yet (I am pretty sure at least, I will double check). So the only work around is to open the specific sub folder you want to work in.

Just to confirm, the elixirSL.projectDir setting would only help you use one project at a time, correct?

In Neovim, the support isn't as good, but it is still possible. there is API to do :lua vim.lsp.buf.add_workspace_folder("app1")
There is an easy change I can make to elixir-tools.nvim (it would still take some config on your side tho) to make it rather painless.
But yes, in VSCode, you just need to add all of your project folders to your workspace.
you can easily do it via the CLI with code -a app1 -a app2 -a app3 . (i think thats the syntax, might take some fiddling.
let me know if the neovim thing is interesting to you and i can prioritize it!

I am going to close this tho as its not really an issue

I am going to close this tho as its not really an issue

All good, thanks for the help <3

let me know if the neovim thing is interesting to you and i can prioritize it!

Definitely is, that's where I spend most of my time!