Bastion ssh with AAD auth not working

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az network bastion ssh
Errors:
Command group 'network bastion' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
C:\Users\<username>\AppData\Local\Temp\aadsshcertxnty0ib4 contains sensitive information (id_rsa, id_rsa.pub). Please delete once this certificate is no longer being used.
Generated SSH certificate C:\Users\<username>\AppData\Local\Temp\aadsshcertxnty0ib4\id_rsa.pub-aadcert.pub is valid until 2022-10-12 15:51:23 in local time.
Exception in thread Thread-1 (_start_tunnel):
Traceback (most recent call last):
  File "threading.py", line 1016, in _bootstrap_inner
  File "threading.py", line 953, in run
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/network/custom.py", line 8485, in _start_tunnel
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/network/tunnel.py", line 184, in start_server
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/network/tunnel.py", line 117, in _listen
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/network/tunnel.py", line 104, in _get_auth_token
msrestazure.azure_exceptions.CloudError: Tunneling is disabled

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

az network bastion ssh --name {} --resource-group {} --target-resource-id {} --auth-type "AAD" --debug

Expected Behavior
Logged in with ssh to Ubuntu VM via Bastion using AAD credentials. I tried connecting to the same VM using AAD credentials with - az ssh vm --name {} --resource-group {} and that worked OK.
Environment Summary
Windows-10-10.0.22621-SP0
Python 3.10.5
Installer: MSI

azure-cli 2.41.0

Extensions:
ssh 1.1.2

Dependencies:
msal 1.20.0b1
azure-mgmt-resource 21.1.0b1

Additional Context

route to CXP team

Hi @necusjz
I also tested this from Azure Cloud Shell and got the same result.
Error:
Command group 'network bastion' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
/tmp/aadsshcert78z2hij8 contains sensitive information (id_rsa, id_rsa.pub). Please delete once this certificate is no longer being used.
Generated SSH certificate /tmp/aadsshcert78z2hij8/id_rsa.pub-aadcert.pub is valid until 2022-10-13 18:14:18 in local time.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 980, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.9/threading.py", line 917, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/network/custom.py", line 8475, in _start_tunnel
    tunnel_server.start_server()
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/network/tunnel.py", line 184, in start_server
    self._listen()
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/network/tunnel.py", line 117, in _listen
    auth_token = self._get_auth_token()
  File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/command_modules/network/tunnel.py", line 104, in _get_auth_token
    raise exp
msrestazure.azure_exceptions.CloudError: Tunneling is disabled

Environment Summary
Linux-5.4.0-1091-azure-x86_64-with-glibc2.35 (Cloud Shell), CBL-Mariner/Linux
Python 3.9.13
Installer: RPM

azure-cli 2.40.0 *

Extensions:
resource-graph 0.1.8
azure-iot 0.9.2
kusto 0.3.0
ai-examples 0.2.5
ml 2.7.1
ssh 1.1.2

Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1

I've now also tried to connect to a Windows VM using
az network bastion rdp
and get the error
Request to EncodingReservedUnitTypes v2 API endpoint failed.
The final part of the --debug output is
urllib3.connectionpool: Starting new HTTPS connection (1): bst-fbfd7e59-2068-4a31-a948-70cf3193efa8.bastion.azure.com:443
urllib3.connectionpool: https://bst-fbfd7e59-2068-4a31-a948-70cf3193efa8.bastion.azure.com:443 "GET /api/rdpfile?resourceId=/subscriptions/7645db42-8220-45fc-a5bf-7c296c1a68bd/resourceGroups/AADVMTEST/providers/Microsoft.Compute/virtualMachines/aadwinvm&format=rdp HTTP/1.1" 403 431
cli.azure.cli.core.util: azure.cli.core.util.handle_exception is called with an exception:
cli.azure.cli.core.util: Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/network/custom.py", line 8436, in rdp_bastion_host
knack.util.CLIError: Request to EncodingReservedUnitTypes v2 API endpoint failed.

Do I need to open a separate issue for this?
@yonzhan, @necusjz

Turns out there was a problem with my Azure Bastion deployment, so I will close this issue now.

Some more useful error messages might have been helpful :-)


Exit storybook build non-zero on stats errors (e.g. errors in the transpilation pipeline)

Currently, storybook does not exit non-zero when there are errors in the pipeline, e.g. we are using TypeScript with ts-loader and a type error that fails tsc does not make storybook exit non-zero even though the transpilation failed.
Issue:
What I did
Run build-storybook with a "broken" typescript source.
How to test
Any transpiler (for example typescript) producing an error will still not make storybook exit non-zero.

Just tested 3.1.7, works like a charm:
@storybook/react v3.1.7

=> Loading custom addons config.
=> Loading custom webpack config (extending mode).
Building storybook ...
ts-loader: Using<EMAIL_ADDRESS>and /Users/joscha/Development/canva/web/tsconfig.ts-loader.json
Failed to build the storybook
./src/pages/editor/publish/website/website_form_ui.tsx
(20,2): error TS2345: Argument of type 'typeof WebsiteFormUI' is not assignable to parameter of type 'string[]'.
  Property 'find' is missing in type 'typeof WebsiteFormUI'.
./src/pages/editor/publish/website/stories/website_form_ui.stories.tsx
(10,7): error TS2605: JSX element type 'WebsiteFormUI' is not a constructor function for JSX elements.
  Types of property 'setState' are incompatible.
    Type '{ <K extends never>(f: (prevState: void, props: WebsiteFormUIProps) => Pick<void, K>, callback?: (() => any) | undefined): void; <K extends never>(state: Pick<void, K>, callback?: (() => any) | undefined): void; }' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undefined): void; <K extends never>(state: Pick<{}, K>, callback?: (() => any) | undefined): void; }'.
      Types of parameters 'f' and 'f' are incompatible.
        Type '(prevState: {}, props: any) => Pick<{}, any>' is not assignable to type '(prevState: void, props: WebsiteFormUIProps) => Pick<void, any>'.
          Types of parameters 'prevState' and 'prevState' are incompatible.
            Type 'void' is not assignable to type '{}'.
./src/pages/editor/publish/website/stories/website_form_ui.stories.tsx
(13,7): error TS2605: JSX element type 'WebsiteFormUI' is not a constructor function for JSX elements.
./src/pages/editor/publish/website/stories/website_form_ui.stories.tsx
(16,7): error TS2605: JSX element type 'WebsiteFormUI' is not a constructor function for JSX elements.
error Command failed with exit code 1.

@joscha @shilman I'm not sure, but does this change affect #1402? storybook-build does not work for quite a few people since version 3.1.7. Any thoughts?

@mrmartineau it could have been a hidden issue before, if the error was swallowed and never printed and also not changed the exit code. The changes in this PR would pick up such a hidden problem.


Implement CPA

Similar to PostGIS trajectories, a function to compute the closest point approach (CPA) and the time of closest point of approach (TCPA) would be helpful.

Also part of #39


Page preview loading bug

To replicate the issue:

Edit a page
Preview changes (at this point the preview opens in a new tab and works as expected)
Make further changes in the CMS but don't close the preview tab
Preview changes
The preview tries to load in the same tab as the previous preview but hangs

Closing as #878 was merged.

Some times i have bugs as this, some thimes page preview don't load, other times i have to refresh the page many times, F5 many times for get any chage in the page, shure, i have get the page in the window using the full url, you know, localhost:8000/blog/bla-bla-bla... as i said, preview page don't change, left in white.
Now i read this and i get that is not only muy bug.


ATProto: objects don't have URL field

Right now evidently we're not generating a url for objects like posts, so "Show original" links in the fediverse go to their id, which returns the AS2. Ideally we should generate a separate /r/ url to bsky.app.

Done!


Added PlayStation Classic controller mapping for Windows

Just like in title - PS Classic mapping made from Steam Big Picture.
Mapping has been created by Marioysikax.

No hats?

Nope.

I know the controller, the dpad should be hats.

Oh my bad sorry, I'll relay this back.

I'm guessing this is coming through some sort of adapter. Could be the adapter sending axis input... But yes, please double check. Thx.

It may not look like this, but those connectors are standard USB, so no adapters are required.

I had no idea, nice. Then yeah, it should probably be hats.

yeah it’s ‘dpdown:+a1,dpleft:-a0,dpright:+a0,dpup:-a1’

yeah it’s ‘dpdown:+a1,dpleft:-a0,dpright:+a0,dpup:-a1’

Yeah, the string was not generated with Steam Big Picture but rather SDL2 gamepad tools. The tool just gets to the end with nothing unusal cropping up.
It turns out the controller does not have d-pad, but d-pad is instead two axis.

And because of this, Steam Big Picture actually doesn't allow the d-pad, only way to bind the controller is to bind the d-pad into left stick instead.

Binding d-pad into left stick gives following string:
030000004c050000da0c000000000000,PlayStation Classic Controller,platform:Windows,a:b2,b:b1,x:b3,y:b0,back:b8,start:b9,leftshoulder:b6,rightshoulder:b7,leftx:a0,lefty:a1,lefttrigger:b4,righttrigger:b5,
So the string that offalynne provided above is the one that works and correctly binds the controllers d-pad into d-pad and that also shows up correctly with SDL2 Gamepad Tool now when testing the controller.
030000004c050000da0c000000000000,PlayStation Classic Controller,platform:Windows,a:b2,b:b1,x:b3,y:b0,back:b8,start:b9,leftshoulder:b6,rightshoulder:b7,dpdown:+a1,dpleft:-a0,dpright:+a0,dpup:-a1,lefttrigger:b4,righttrigger:b5,

Updated with the mapping with hats mapped.

The mystery has been solved. Aaaaaand merge :)
Thx everyone for pitching in on this one, and for such a robust explanation of what was going on.


Question on altering objects in the current active world

A question regarding this section of the docs:

Rendering and ospCommit
The use of either ospRenderFrame or ospRenderFrameBlocking requires that all objects in the scene being rendered have been committed before rendering occurs. If a call to ospCommit happens while a frame is rendered, the result is undefined behavior and should be avoided.

Does "committed before rendering occurs" leave open the case of altering and re-committing objects in the current world after rendering has started? To be more concrete, I have an interactive render loop in which ospRenderFrame() is repeatedly called, but somewhere during that loop the scene might need to be updated (based on user input). Since canceling the current render might take a small amount of time I'd like to alter the current world and its scene objects directly after calling ospCancel(), but before waiting on ospWait(OSP_TASK_FINISHED), in order to minimize waiting time. But I'm not sure if that's supported and/or leads to undefined behaviour.

It is fine to update objects (set / change parameters) even during renderFrame, but the commit() needs to be deferred. See e.g.
apps/ospExamples/GLFWOSPRayWindow.cpp with various async calls to  addObjectToCommit; and the commitOutstandingHandles happens right before the next renderFrame.
The time between ospCancel and return of ospWait cannot be used for that, because a commit may change datastructures which are still access by a render task (until that one checks the cancel-flag), which would result in a crash.

Thanks for the info. I seem to remember that setting a data object as parameter, without the data having been committed can cause problems, even if the object on which the parameter is being set isn't committed. Is that still the case? I.e. should data objects be treated specially, or can they simply be treated the same when it comes to deferred commits (as long as the order of deferred commits is correct)? And I guess that a shared data object cannot be altered during rendering, regardless of using a deferred commit?
Looking at that example, won't certain window events, like a reshape, trigger updates on the camera and subsequent commit() while rendering is active?

The use of either ospRenderFrame or ospRenderFrameBlocking requires that all objects in the scene being rendered have been committed before rendering occurs.

I guess I'm a bit unclear to what extent "all objects in the scene" applies? Only those directly set on the World, or also objects "further down the line", like a transfer function, or data object. Are there any general guidelines for this? For example, looking at the ospray_testing builders, like GravitySpheres, it seems they don't commit any of the data objects, plus they do fully set up a world and return it. Yet in GLFWOSPRayWindow::refreshScene() the world is updated using a builder and committed, while the renderer is also updated but then added to the list of objects to commit.

Hmmm, seems there's more undocumented constraints in handling commits, e.g. #437

Unfortunately, commiting the World is indeed currently necessary if an Instance/Geometry/Volume changed (spatially).

Unfortunately, commiting the World is indeed currently necessary if an Instance/Geometry/Volume changed (spatially).

Related to this restriction, does the same hold for lights? Or is a world commit not needed if only parameters of lights are changed? Changing the world light list obviously would force a commit.


Publish newer versions to NuGet

Hi,
I noticed that recent updates haven’t been pushed to NuGet in a while. When I attempted to install the latest version, it tried to pull in System.Text.Json 6.0.1 rather than the 8.0.5 version currently used in this project.
Would it be possible for one of the contributors to update the package on NuGet? If needed, I’d be glad to assist with this process.
Kind regards,
Jeroen

While there is no updated version on nuget yet, there is one thing that you can do as a workaround (if you depend on it really urgently): Download the nupkg generated by GHA for the current main branch from https://github.com/GeoJSON-Net/GeoJSON.Text/actions/runs/11608790846#artifacts, save it locally and use a local package source to include it in your project.
But you are right: The last public release 1.0.2 on nuget.org is more than a year old, and several fixes have been applies on the main branch by now. One should tag a new version (1.0.3 or 1.1.0?) and upload it to nuget.org (the latter can only be done by @xfischer or @matt-lethargic).

@janusw  Thanks for you reaction!
That will not work for me. But that's okay. I hope the people you mentioned will release the official way :)

Yes I’ll do it tonight. Sorry for the poor availability lately.

Yes I’ll do it tonight.

If you do, it might be a good idea to also update the version in the csproj, which is currently "0.1.0":
https://github.com/GeoJSON-Net/GeoJSON.Text/blob/2f669b361e877b74d01dc9e5281f3cd821f2e7d9/src/GeoJSON.Text/GeoJSON.Text.csproj#L11

1.1.0 published ! https://www.nuget.org/packages/GeoJSON.Text/1.1.0

@xfischer you are amazing! Thanks!

You both did the heavylifting, thanks again !


WSS connection is taking more than 30 sec to connect

I was using WS connection  with sioconnector which was working great but when i switched to WSS with same sioconnector configuration then it it taking more than 30 sec to connection with client (while disconnecting from gate server and connecting to connector servers). In WS connection the connection time is near about 6 or 7 sec only.
Previous app configuration (WS with sioconnector):
app.configure('production|development', 'connector', function(){
app.set('connectorConfig',
{
connector : pomelo.connectors.sioconnector,
transports : ['websocket'],
heartbeats : true,
closeTimeout : 60,
heartbeatTimeout : 60,
heartbeatInterval : 25
});
});
New app configuration (WSS with sioconnector):
app.configure('production|development', 'connector', function(){
app.set('connectorConfig',
{
connector : pomelo.connectors.sioconnector,
connector: pomelo.connectors.sioconnector,
key: fs.readFileSync('../shared/server.key'),
cert: fs.readFileSync('../shared/server.crt')
});
});
In the client side only change is made that we switched ws:// to wss:// (or http:// to https://)

could you use tcpdump or wireshark to capture some packets for analyzing?


refactor(comments): move script to files

for LSP, treesitter, and typescript, and the whole thing

I checked whether category-id is safe to expose, didn't find any exploit, so putting it under dataset for now.

can you double check that comments still work on this branch by adding it to layout

It should work now, I just use a dummy from the docs and everything render correctly. LMK when you check it so that I can remove the comments.

before reverting back.


[zuul] Add a job to check operator errors

This checks for errors in the operator logs.
For testing purposes I introduced an error in the metricstorage controller, so the job should fail right now.

cert-manager issues. I've seen that on another PR as well.

recheck

Just as I worried. The test failed. CI framework didn't execute our tests because control plane wasn't ready because telemetry wasn't ready because metric-storage wasn't ready which is caused by missing COO. I'll temporarily disable metric-storage to see if the rest works OK and if CI framework executes our tests.

recheck
It doesn't seem like it triggered for some reason.

Just as I worried. The test failed. CI framework didn't execute our tests because control plane wasn't ready because telemetry wasn't ready because metric-storage wasn't ready which is caused by missing COO. I'll temporarily disable metric-storage to see if the rest works OK and if CI framework executes our tests.

You can also add the check playbook to Zuul's post-run config while you're debugging and fixing the issue.
You can leave the playbook as a hook, but also add it as a post-run playbook temporarily, which will always be executed in a job, and help to debug and verify any fixes you put in.

It's waiting for heat to get ready. We need to wait until a bug in heat is fixed.

recheck

Build failed (check pipeline). Post recheck (without leading slash) to rerun all jobs. Make sure the failure cause has been resolved before you rerun jobs.
https://review.rdoproject.org/zuul/buildset/178dc9387a44478bbfe6ebbd9068dfa8
✔ openstack-k8s-operators-content-provider  SUCCESS in 1h 56m 54s ✔ podified-multinode-edpm-deployment-crc  SUCCESS in 1h 14m 54s ❌ telemetry-operator-multinode-autoscaling-tempest  FAILURE in 1h 33m 48s ✔ telemetry-operator-multinode-default-telemetry  SUCCESS in 1h 11m 04s

The failure is due to the (memcached instance not being provisioned)[https://logserver.rdoproject.org/53/353/f0772c3da4fe5f88b32f96ee5c21baf2309c4806/github-check/telemetry-operator-multinode-autoscaling-tempest/c928a55/controller/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack/crs/autoscalings.telemetry.openstack.org/autoscaling.yaml].
The spec.aodh.memcachedInstance = "" i.e. it is not being set.
Previously (see here), the instance was set to memcached. There's also a bunch of other differences in the config, including the spec.aodh.override being set previously, but not now.

Hmm, that's strange. telemetry-operator-multinode-autoscaling-tempest isn't really something I'd normally care on this PR at the moment. But memcached not being set almost seems like we may have some kind of bug somewhere :thinking:

Hmm, that's strange. telemetry-operator-multinode-autoscaling-tempest isn't really something I'd normally care on this PR at the moment. But memcached not being set almost seems like we may have some kind of bug somewhere 🤔

Definitely a bug somewhere, I saw this issue earlier in the week, and Marihan is also seeing it here: https://github.com/openstack-k8s-operators/telemetry-operator/pull/353

Build failed (check pipeline). Post recheck (without leading slash) to rerun all jobs. Make sure the failure cause has been resolved before you rerun jobs.
https://review.rdoproject.org/zuul/buildset/ccfeaddc341b429eae31f29d445a0f3e
✔ openstack-k8s-operators-content-provider  SUCCESS in 1h 55m 26s ✔ podified-multinode-edpm-deployment-crc  SUCCESS in 1h 11m 43s ❌ telemetry-operator-multinode-autoscaling-tempest  FAILURE in 1h 33m 24s ✔ telemetry-operator-multinode-default-telemetry  SUCCESS in 1h 09m 27s

The failure was due to spec.aodh.memcachedInstance == ''. This issue has been resolved.

recheck

I rewrote most of the ansible, so I squashed it and rebased on top of main.

recheck

recheck
POST_FAILURE

I forgot that I deliberately included a bug in the PR. I can confirm, that the job successfully detected the operator restarting.

The autoscaling tempest job is failing because of No resources found in openshift-operators namespace. This isn't related to this PR.

/lgtm
Awesome work done here!


Align person's role to work with rtl locale

As flagged in this ticket, a person's role wasn't being aligned to be right-to-left if required by the locale (compare this to the body of the bio on the person page which is aligned correctly).
See an example on https://collections-pr-3098.herokuapp.com/government/people/simon-penney.ar
(We've split request 1. from the above ticket to a separate ticket as it requires an Arabic speaker to confirm the correct behaviour in all the contexts.)
Fixes https://trello.com/c/GhM9scaZ/1491-fix-arabic-translations-in-people-and-roles-pages
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

Why do you need the class "direction-rtl" as well as the data attribute? Deleting "direction-rtl" doesn't seem to change anything and I can't see any applied styles that use the class in dev tools (they use the data attribute).

I've dismissed Patrick's approval since we want to make a change to the title component first to allow the role to have a dir attribute.

Closing this until we've had a translator confirm how the person's name should be aligned in this context.


0.8.0: error[E0658]: use of unstable library feature 'lazy_cell'

Both rust-1.79.0 and rust-nightly-<IP_ADDRESS>40507 fail to compile it:
error[E0658]: use of unstable library feature 'lazy_cell'
  --> src/complete.rs:21:5
   |
21 | use std::sync::LazyLock;
   |     ^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

error[E0658]: use of unstable library feature 'lazy_cell'
  --> src/complete.rs:27:28
   |
27 | pub static COMPLETE_CACHE: LazyLock<Arc<Mutex<CompleteKV>>> =
   |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #109736 <https://github.com/rust-lang/rust/issues/109736> for more information

FreeBSD 14.1

emm.. I think maybe should wait for new rust for freebsd will be better.. This feature is stable in rust 1.80, and 1.80 is the latest stable version of rust

emm.. I think maybe should wait for new rust for freebsd will be better.. This feature is stable in rust 1.80, and 1.80 is the latest stable version of rust. You can wait until the new version of rust is packaged to freebsd, then compile neocmakelsp.. When I finded that 1.80 is in archlinux, Then I replaced all once_cell to that in std in neocmakelsp. If you are using rustup, just run rustup update , update to the latest rust will fix it

I installed rust-1.79.0 by nix, where the latest version is just 1.79. I encoutered the same problem. How should I do rather than watiting for the 1.80? Install an older newcmakelsp?

emm.. I think maybe should wait for new rust for freebsd will be better.. This feature is stable in rust 1.80, and 1.80 is the latest stable version of rust. You can wait until the new version of rust is packaged to freebsd, then compile neocmakelsp.. When I finded that 1.80 is in archlinux, Then I replaced all once_cell to that in std in neocmakelsp. If you are using rustup, just run rustup update , update to the latest rust will fix it

I installed rust-1.79.0 by nix, where the latest version is just 1.79. I encoutered the same problem. How should I do rather than watiting for the 1.80? Install a previous version of newcmakelsp?

Sorry for that.. Before I thought two weeks will be enough for Distro to package new version of rust.. sorry again.. maybe you can try to use the assert from the github

emm.. I think maybe should wait for new rust for freebsd will be better.. This feature is stable in rust 1.80, and 1.80 is the latest stable version of rust. You can wait until the new version of rust is packaged to freebsd, then compile neocmakelsp.. When I finded that 1.80 is in archlinux, Then I replaced all once_cell to that in std in neocmakelsp. If you are using rustup, just run rustup update , update to the latest rust will fix it

I installed rust-1.79.0 by nix, where the latest version is just 1.79. I encoutered the same problem. How should I do rather than watiting for the 1.80? Install a previous version of newcmakelsp?

https://github.com/NixOS/nixpkgs/pull/332153 rust 1.80 has been supported by nixos, have your problem been solved now? Emm

emm.. I think maybe should wait for new rust for freebsd will be better.. This feature is stable in rust 1.80, and 1.80 is the latest stable version of rust. You can wait until the new version of rust is packaged to freebsd, then compile neocmakelsp.. When I finded that 1.80 is in archlinux, Then I replaced all once_cell to that in std in neocmakelsp. If you are using rustup, just run rustup update , update to the latest rust will fix it

I installed rust-1.79.0 by nix, where the latest version is just 1.79. I encoutered the same problem. How should I do rather than watiting for the 1.80? Install a previous version of newcmakelsp?

NixOS/nixpkgs#332153 rust 1.80 has been supported by nixos, have your problem been solved now? Emm

Acutally, the nixpkgs with unstable channel only provide rust-1.79 up to now. So I use rustup to install rust 1.80 instead. Thanks.

rustup update fixed it for me

I will close this issue now.. thanks for report


quaternion_operation: 0.0.12-2 in 'humble/distribution.yaml' [bloom]

Increasing version of package(s) in repository quaternion_operation to 0.0.12-2:

upstream repository: https://github.com/OUXT-Polaris/quaternion_operation.git
release repository: https://github.com/ros2-gbp/quaternion_operation-release.git
distro file: humble/distribution.yaml
bloom version: 0.11.2
previous version for package: 0.0.11-1

quaternion_operation
* add header file (#63 <https://github.com/OUXT-Polaris/quaternion_operation/issues/63>)
* Setup workflow (#62 <https://github.com/OUXT-Polaris/quaternion_operation/issues/62>)
* [Bot] Update workflow (#61 <https://github.com/OUXT-Polaris/quaternion_operation/issues/61>)
  * Setup workflow
  * empty commit
  Co-authored-by: Masaya Kataoka<EMAIL_ADDRESS>* Contributors: Masaya Kataoka, wam-v-tan

CI says your branch does not exist


Write manual test cases for "https://prayersconnect.com/regions/provinces?id=45&cid=1"

Please write a manual test case for "https://prayersconnect.com/regions/provinces?id=45&cid=1" which involves breaking down the functionality of the webpage into specific steps that can be tested.
Please use this Google Sheet for your test cases.
https://docs.google.com/spreadsheets/d/1FT33mi7lZ9RcyDcln0vpu1PTX4RUNqeuBdA3uGEAOsE/edit?usp=sharing
This URL done by Shetu Apu, work on this URL:
https://prayersconnect.com/regions/provinces?id=48&cid=1

Work is done.
https://docs.google.com/spreadsheets/d/1FT33mi7lZ9RcyDcln0vpu1PTX4RUNqeuBdA3uGEAOsE/edit?usp=sharing


No DLLs are distributed with the Windows binaries

The C/C++ libraries are supposed to be general purpose, ie they can be used by any other language host. However, there are no DLLs distributed with the binaries, this restricts the use of libSBOL. Note libSBML is not like this.

Issue linked to #73. Be sure to follow up by distributing installers.

@kirichoi maybe this is useful: iconv and zlib are built from source for libSBML, see https://github.com/sbmlteam/libSBML-dependencies

Might be a good starting point to integrate dependencies

libcurl integrated

Kiri, see how we did it with libRoadRunner.

Is it possible to convert the static libSBOL directly to DLL?


Funny bridge

i actually got toaded while running this so i need to figure out what's wrong with the cone

i have a suspicion what could be wrong with the cone since it only happens with the new pathfinding. the new pathfinding only checks the 4 corners of a cell (correct me if i understand the code of it incorrectly), so something can poke in between the corners, for example the pointy part of a cone. this would result in the pixel incorrectly marked as safe.

no the problem with pathfinding for this boss was just that the g-score calculation for forbidden zones was not used for arena bounds, arena bounds just checked the center of each pixel. veyn fixed that so now pathfinding on the bridge (with sufficient map resolution) works fine
also you are correct, i completely forgot about the second half of the fight, i was mainly just putting this up in case veyn was interested in seeing why the pathfinding perf isn't great during bridge phase

i still got hit by the cone yesterday when testing the waypoint manager in vbm code, the ai stood inside the boss hitbox and maybe slightly touched the pointy end of the cone and got hit.
the reason the performance is bad might be because you increased grid resolution to 0.25 if i am seeing this correctly. that makes pathfinding 4 times as expensive to run

i doubt it, 20x20 at 0.25 resolution is only 1.7 times the size of the default grid (30x30 at 0.5) and the impact of trash mob/fate pathfinding on my FPS is unnoticeable, i think it's more likely to do with the length of the path

the total grid size doesn't matter much as far as I can tell. its the amount of cells it has to check until destination, which goes up quadratically when increasing the resolution. even a 100x100 grid will likely still have no noticeable performance impact after its initial creation, but mostly the distances between you and destination. this is also why extremly big AOEs, even if its only a rectangle, can tank the performance, since it has to check a lot of cells to find the optimal path out of the aoe.


200 is not a valid redirect code

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: Azure resource group deployment
With Enable prerequisites:  Configure WinRM agent.
Task Version 2
Environment

Server - Azure Pipelines

Agent - Hosted: Hosted VS2017

Issue Description
Since last night we receive the following error: HTTP response code: '200' is not a valid redirect status code.
It seems  Configure WinRM agent wants to download a powershell script from https://aka.ms/vstsconfigurewinrm. However it is not gettings a valid response.
I am not having any issue when downloading this file from my browser.
(Could this issue be related to the issue's with github yesterday?)
Azure reports the latest deployment of the resource group a succes.
Task logs
2020-04-24T06:17:06.4242828Z ##[debug]Enabling winrm for virtual machine xxxx
2020-04-24T06:17:06.4245766Z ##[debug]Trying to fetch target link from the fwdlink: https://aka.ms/vstsconfigurewinrm
2020-04-24T06:17:06.4246967Z ##[debug][GET]https://aka.ms/vstsconfigurewinrm
2020-04-24T06:17:06.8879319Z ##[debug]Could not parse response: {}
2020-04-24T06:17:06.8881280Z ##[debug]Response: undefined
2020-04-24T06:17:06.8887026Z ##[debug]Failed to add extension to the vms with the exception: Error: The HTTP response code: '200' is not a valid redirect status code.
2020-04-24T06:17:06.8889211Z ##[debug]task result: Failed
2020-04-24T06:17:06.8941169Z ##[error]Error: The HTTP response code: '200' is not a valid redirect status code.
2020-04-24T06:17:06.8959771Z ##[debug]Processed: ##vso[task.issue type=error;]Error: The HTTP response code: '200' is not a valid redirect status code.
2020-04-24T06:17:06.8961573Z ##[debug]Processed: ##vso[task.complete result=Failed;]Error: The HTTP response code: '200' is not a valid redirect status code.

Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
2020-04-24T06:17:06.8961573Z ##[debug]Processed: ##vso[task.complete result=Failed;]Error: The HTTP response code: '200' is not a valid redirect status code.

I too been facing this issue.... But there seems to be a catch.
The task fails when the 'Enable Prerequisites' has been set to 'Configure with WinRM' but succeeds when it is set to 'None'.

Yes but if you set it to none then de WinRM agent wont be deployed.
So unfortunately this is not a options for us.

Neither for for us, but that was one difference I noticed which might be useful when debugging or reproducing the error

We too have seen this suddenly starting in the last few hours which has brought everything completely to a halt.
Currently trying to work out if there is some way around it but not confident as we also need the WinRM agent.

My group is facing this issue as well. @gavinravenlane One possible fix might be to install the custom script extension yourself, with something like this.

We have also installed winrm manually for now.
In addition to the solution @NelsonG6 mentioned
We have to configure the nsg to allow winrm:
    {
                        "name": "allow-winrm",
                        "properties": {
                            "protocol": "*",
                            "sourcePortRange": "*",
                            "destinationPortRange": "5986",
                            "sourceAddressPrefix": "*",
                            "destinationAddressPrefix": "*",
                            "access": "Allow",
                            "priority": 3986,
                            "direction": "Inbound",
                            "sourcePortRanges": [],
                            "destinationPortRanges": [],
                            "sourceAddressPrefixes": [],
                            "destinationAddressPrefixes": []
                        }
                    },

And pass the fqdn to the install winrm script: reference(variables('publicIPAddressName')).dnsSettings.fqdn)
not:  "[concat('*.',parameters('location'),'.cloudapp.azure.com')]",

The solution I linked ended up not working for me. I get "cannot resolve raw.githubusercontent.com". The underlying theme seems to be that no matter where the script is hosted, the process cannot seem to resolve the address.

Currently we are working through the various bits of advice above, all of which have been useful. We decided to merge the dsc script content with existing scripts we had, yes we had to open the port, and finally yes we are struggling a bit with getting the certificate/dns/fqdn name relationship correct but it looks as if this will be the answer

I can confirm that having worked through the certificate/dns/fqdn issue this has now been resolved as a workaround, and as far as we are concerned the broken EnablePrerequisites is now irrelevant.
So the solution, as documented above, was extend VM using powershell script as in the example above, add the nsg rule, and ensure the certificate referred to the full fqdn name

I was able to get things working, too. I was a little confused by Gavin's post, so here are the specific details that I have used:

Disable the WinRM prerequisite in your arm template task.

Set your NSG to have open WinRM ports. You can do this in your arm template, as shown by codeglitcher three posts above. You can also test this by leaving your arm template alone at first and changing the NSG after the resources are laid down.

Created an "azure powershell" task in Azure Devops for my pipeline. I followed the examples from these docs: Custom script extension guide (look for the example with the command Set-AzVMExtension) and Set-AzVmExtension

I grabbed the files hosted at:
"https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-vm-winrm-windows/ConfigureWinRM.ps1"
"https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-vm-winrm-windows/makecert.exe"
...and put these into my own storage container. You might have luck just pulling these files from this github location in your azure powershell that installs the custom script, but that's not the steps I followed. Set-AzVMExtension seems to follow a process that expects a storage container-hosted files.

In my case, we're using azure DNS. The DNS entry is created first, then the custom script extension is installed, and from there I can run remote powershell tasks using the DNS FQDN.

Post here if these steps aren't working and I'll try and give some help.

We encountered this issue as well, first time April 20th.
@NelsonG6 can you clarify these elements of your solution:

Is the arm template run first, then the new powershell script?
If yes, did you then remove the parts of the arm template making use of the WinRM extensions?

I did not tought it mattered but we did ending to pass the full fqdn to the ConfigureWinRM script.
We did this by taken the fqdn directly from the public ip adress of our vm.
We are not having any issue's using raw.githubusercontent.com as the file uri's
'''
"resources": [
{
"type": "Microsoft.Compute/virtualMachines/extensions",
"name": "[concat(variables('salvadorVmName'),'/WinRMCustomScriptExtension')]",
"apiVersion": "2015-06-15",
"location": "[resourceGroup().location]",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', variables('myVm'))]"
],
"properties": {
"publisher": "Microsoft.Compute",
"type": "CustomScriptExtension",
"typeHandlerVersion": "1.4",
"autoUpgradeMinorVersion": true,
"settings": {
"fileUris": [
"https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-vm-winrm-windows/ConfigureWinRM.ps1",
"https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-vm-winrm-windows/makecert.exe"
],
"commandToExecute": "[concat('powershell -ExecutionPolicy Unrestricted -file ConfigureWinRM.ps1 ', reference(variables('myVmPublicIpAddressName')).dnsSettings.fqdn)]"
}
}
}
]
'''

We managed to solve our issue simply by disabling the WinRM prerequisite in our template task.
For some reason, we thought WinRM was needed to allow us to use the Custom Script Extension, but even when disabled, the script was still executed and everything works like a charm.

closing the issue as the fix has been rolled out.


Turn all functions in API files to methods

[ ] binaryedge
[ ] censis
[ ] fofa
[ ] shodan
[ ] virustotal


Localization/translation

Brazilian Portuguese translation proposal for ioSender 2.0.37
translation_pt-BR.txt

Thanks, I have added it to the latest edge version.


[midi] issues

create a new one based on midifile with support for writing and outputing multi tracks, plus "meta", with a similar design (see next comment for more).
create a dump method with optional delta time so you can use it in [text sequence] and also with [score] - see https://github.com/porres/pd-else/issues/1213

"MIDI2" (based on midifile) stuff:

test write
use bpm/ppq in header for write as default
ignore microseconds when header has fps
parse header file in "print".
Set possible tracks as a list and also mute as a list (like "rec").
verbosity as a flag
goto as "bar"
output time in seconds (smpte), bar / beat / tick, etc...
loop flag/message
speed
output track number in another outlet so you can route it

allow one to wrie midi with different tracks

built-in panic...
midi.flush
ctl.in out... all channels

Timing problem with .mid export using [midi] , see --> https://github.com/porres/pd-else/issues/1355


Establish process/procedure for rebuilding old images

Currently, we build and push our Docker image to DockerHub as part of our release process.
This works, but ends up leaving vulnerable images because the underlying layers get patched but we never re-build our images on top of them.
What we should be doing is rebuilding the images at some interval so that our image is always up-to-date at the lower levels (OS, Java, Liberty, etc), probably via either autobuilds or GitHub Actions scheduled events
As a forcing function, Docker recently changed their terms of service and will start deleting stale images that haven't been rebuilt in the last 6 months.

Team to setup a side discussion on how to approach

Proposal

Rebuild on a Schedule
All Tags

Go from there.

now that it only rebuilds the latest (4.11.0), we finally have an automated image rebuild!
first success: https://github.com/IBM/FHIR/actions/runs/2200236782

This seems to be building correctly now. Closing issue.


fsharp core reference is a little broad

/cc @forki @dsyme @cartermp
Guys,
I noticed this .. and it probably won't work as well as expected now that we have removed a bunch of profiles from FSharp.Core.nuget version 4.2.*
When we discussed the change we offered the following guidance:
<snip>
•	Existing packages targeting pcls, net20, or net40 use FSharp.Core.nuget versions 4.1.xxx
•	Existing desktop libraries or projects ... either package is fine, prefer FSharp.Core.nuget versions 4.2.xxx where feasible.
•	New desktop projects, Xamarin projects, or netstandard projects use: FSharp.Core.nuget versions 4.2.xxx
•	Library developers --- target as low a version of dotnet standard as your API consumption allows. netstandard1.6 is ideal for libraries not including type providers. Provide a net45 and netstandard build of your libraries, to enable developers who need to deploy to a wide range of existing Windows dotnet installs. FSharp.Core.nuget versions 4.2.xxx
•	TP developers you will need to target dotnet standard 2.0 and/or net45 --- but the netstandard1.6 profile of FSharp.Core will be ideal to build against use: FSharp.Core.nuget, 4.2.xxx
</snip>
In this case use means:
<package id="FSharp.Core" version="4.1.*" />
Or:
<PackageReference Include="FSharp.Core" Version="4.2.*"></PackageReference>
I would suggest that you tighten down the scaffold templates to restrict the FSharp.Core version to: 4.1.*  here: https://github.com/fsprojects/ProjectScaffold/blob/master/paket.dependencies
Kevin

Fixed by https://github.com/fsprojects/ProjectScaffold/pull/290, default package for libraries created using the scaffold is now <IP_ADDRESS>

@dsyme
Are you not using FSharp.Core 4.1 in scaffold?

Are you not using FSharp.Core 4.1 in scaffold?

For a library it is better that we just have people default to <IP_ADDRESS> (it makes the library more broadly usable).  They can bump the version in paket.dependencies if they want

@dsyme
What makes it more broadly usable?   <IP_ADDRESS> is usable in all of the same places, and has a ton of new Apis?  and is <IP_ADDRESS> even signed.  Because I don't believe we ever shipped a signed <IP_ADDRESS> dll.
Thanks

"More broadly" means it would be compatible in more scenarios when a
package resolve needs to downgrade Version since some other package is
bound to older fsharp.core package. So it is not about the package itself
but about the open version range.
Am 08.06.2017 20:00 schrieb "Kevin Ransom (msft)"<EMAIL_ADDRESS>
:

@dsyme https://github.com/dsyme
What makes it more broadly usable? <IP_ADDRESS> is usable in all of the same
places, and has a ton of new Apis? and is <IP_ADDRESS> even signed. Because I
don't believe we ever shipped a signed <IP_ADDRESS> dll.
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/ProjectScaffold/issues/288#issuecomment-307180994,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNOToKEkPYeiIUzPNR-HjZZsLV4mWks5sCDbMgaJpZM4NzNwr
.


Add hybrid PRF implementation

Issue # (if available):
https://github.com/awslabs/s2n/issues/904
Description of changes:
In the SIKE_and_BIKE_Hybrid_Key_Exchange_Cipher_Suites_for_Transport_Layer_Security.txt document a new PRF was defined for use for hybrid key exchanges with guidance from https://eprint.iacr.org/2018/903.pdf.
To avoid unnecessary memcpys I choose to add a new seed_c to s2n_p_hash that can be used to pass in the client key exchange message. This change does not include the code that uses the new s2n_hybrid_prf_master_secret because a part of that hybrid code is dependent on https://github.com/awslabs/s2n/pull/934. You can see how this will end up being used in s2n_kex.h and s2n_client_key_exchange.c.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Force push for rebase to fix the tls/s2n_crypto.h conflicts.

Force push for rebase and cleanup commits.


[BUG] Running a nested path query from a user with FLS Includes rules returns empty results

What is the bug?
When using a nested query from a user with a role containing FLS Includes rules, the query result is empty but I expect the query results to not be empty.
How can one reproduce the bug?
Steps to reproduce the behavior:

Create an index

Create test index
PUT /my-index
{
  "mappings": {
    "properties": {
      "outerNested": {
        "type": "nested",
        "properties": {
          "innerNested": {
            "type": "nested",
            "properties": {
              "name": {
                "type": "keyword"
              }
            }
          }
        }
      }
    }
  }
}

Create a role with FLS includes rules using either wildcard (nestedField*) or each field explicitly (nestedField.name). When listing fields explicitly, list nested fields as dot-separated starting from the root.

Create a role
PUT _plugins/_security/api/roles/test-role
{
  "cluster_permissions": [
    "cluster_all"
  ],
  "index_permissions": [{
    "index_patterns": [
      "*"
    ],
    "dls": "",
    "fls": ["outerNested*"],
    "masked_fields": [],
    "allowed_actions": [
      "indices_all"
    ]
  }]
}

Map the role to a user
Ingest a few documents

Create documents
POST my-index/_doc
{
  "outerNested": {
    "innerNested": {
      "name": "Craig"
    }
  }
}

POST my-index/_doc
{
  "outerNested": {
    "innerNested": {
      "name": "John"
    }
  }
}

POST my-index/_doc
{
  "outerNested": {
    "innerNested": {
      "name": "Jane"
    }
  }
}

Create a painless script

Create script
POST _scripts/name-eq
{
  "script": {
    "lang": "painless",
    "source": "if (doc[params['fieldName']].size() != 0) { doc[params['fieldName']].value == params['value'] }"
  }
}

Search using Nested Query and script

Search
GET my-index/_search
{
  "query": {
    "nested": {
      "path": "outerNested.innerNested",
      "query": {
        "bool": {
          "must": [
            {
              "script": {
                "script": {
                  "id": "name-eq",
                  "params": {
                    "fieldName": "outerNested.innerNested.name",
                    "value": "Craig"
                  }
                }
              }
            }
          ]
        }
      }
    }
  }
}

> Empty results

What is the expected behavior?
The search query should return the matching documents
Do you have any additional context?
FLS with Includes is evaluated different than FLS with Excludes.
Searching with a painless script will use a __nested_path metaField behind the scenes which is not currently being tracked as a meta field: https://github.com/opensearch-project/security/blob/main/src/main/java/org/opensearch/security/configuration/SecurityFlsDlsIndexSearcherWrapper.java#L41-L59

[Triage] @cwperks thanks for filing this issue. It looks like there is a clear reproduction steps here and the bug seems like a bad user experience. We would gladly accept a PR to address this bug.

Associated PRs have been merged. Closing this issue.


76614 qa automation framework setup

Added basic automation framework skeleton.

All comments are included in PR#15


fix: useVehicleLocation cache mechanism

slove #292
Description
just easy way by add to observable key
operatorRef lineRef
for getting new time from server

the code looks great, did you test it's working as expected on both maps? (single line and realtime)

yes


Fix wrong in-alluxio result for emptyfile

Fix #13278

Codecov Report

Merging #13279 (995a07b) into master (6f18745) will decrease coverage by 13.11%.
The diff coverage is 100.00%.

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


[Bug] Rollout failed when execute cloneset-rollout examples in docs

Describe the bug
Rollout failed when execute cloneset-rollout examples in docs
Steps to reproduce the behavior

Follow the instructions in docs/examples/cloneset-rollout/README.md

When executed instructions in step 2, the approllouts will failed.

The detailed information of the approllout  is provided below

kubectl get approllouts rolling-example -o yaml
apiVersion: core.oam.dev/v1beta1
kind: AppRollout
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"core.oam.dev/v1beta1","kind":"AppRollout","metadata":{"annotations":{},"name":"rolling-example","namespace":"default"},"spec":{"componentList":["metrics-provider"],"rolloutPlan":{"rolloutBatches":[{"replicas":1},{"replicas":3}],"targetSize":5},"targetAppRevisionName":"test-rolling-v1"}}
  creationTimestamp: "2021-05-11T08:45:55Z"
  finalizers:
  - finalizers.approllout.oam.dev
  generation: 1
  managedFields:
  - apiVersion: core.oam.dev/v1beta1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:kubectl.kubernetes.io/last-applied-configuration: {}
      f:spec:
        .: {}
        f:componentList: {}
        f:rolloutPlan:
          .: {}
          f:rolloutBatches: {}
          f:targetSize: {}
        f:targetAppRevisionName: {}
    manager: kubectl-client-side-apply
    operation: Update
    time: "2021-05-11T08:45:55Z"
  - apiVersion: core.oam.dev/v1beta1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:finalizers: {}
      f:status:
        .: {}
        f:batchRollingState: {}
        f:conditions: {}
        f:currentBatch: {}
        f:lastTargetAppRevision: {}
        f:rollingState: {}
        f:rolloutOriginalSize: {}
        f:rolloutTargetSize: {}
        f:upgradedReadyReplicas: {}
        f:upgradedReplicas: {}
    manager: kubevela
    operation: Update
    time: "2021-05-11T08:45:58Z"
  name: rolling-example
  namespace: default
  resourceVersion: "2010424"
  selfLink: /apis/core.oam.dev/v1beta1/namespaces/default/approllouts/rolling-example
  uid: 24a6b0fa-c5f1-47bf-bb19-dc101ef5aa51
spec:
  componentList:
  - metrics-provider
  rolloutPlan:
    rolloutBatches:
    - replicas: 1
    - replicas: 3
    targetSize: 5
  targetAppRevisionName: test-rolling-v1
status:
  batchRollingState: batchInitializing
  conditions:
  - lastTransitionTime: "2021-05-11T08:45:58Z"
    message: the rollout plan changed on no-op scale, total batch size = 4, targetSize
      size = 5
    reason: ""
    status: "False"
    type: RolloutSpecVerifying
  currentBatch: 0
  lastTargetAppRevision: test-rolling-v1
  rollingState: rolloutFailed
  rolloutOriginalSize: 5
  rolloutTargetSize: 5
  upgradedReadyReplicas: 0
  upgradedReplicas: 0

Possible reason for rollout failure
The rollout strategy described in appRollout-scale.yaml maybe wrong.
  componentList:
    - metrics-provider
  rolloutPlan:
    targetSize: 5
    rolloutBatches:
      - replicas: 1
      - replicas: 3

I communicated with yike and and attempt to change with
targetSize: 5
    rolloutBatches:
      - replicas: 2
      - replicas: 3

But it didn't work.
The example rollout plan provided in kubevela.io can rollout success.
apiVersion: core.oam.dev/v1beta1
kind: AppRollout
metadata:
  name: rolling-example
spec:
  targetAppRevisionName: test-rolling-v1
  componentList:
    - metrics-provider
  rolloutPlan:
    rolloutStrategy: "IncreaseFirst"
    rolloutBatches:
      - replicas: 10%
      - replicas: 40%
      - replicas: 50%
    targetSize: 5

@wangyikewxgm

Does the issue be same with #1629 ?

Does the issue be same with #1629 ?

I think so. Both cloneset and deployment application bootstrap use their scaler controller with the very same logic for batch verification, which has an initial size of 1.
When all batches are represented in percentage, target size could be alway filled exactly.

@wangyuan249  the example is not updated, please try
kubectl apply -f docs/examples/cloneset-rollout/app-scale.yaml
kubectl apply -f docs/examples/cloneset-rollout/appRollout-scale.yaml

@ryanzhang-oss thanks for your advice!  It can rollout success with changing : apply app-scale.yaml.  But the only difference between  the  app-scale.yaml  and app-source.yaml  is an replicas value statement.  May be I should  read carefully about the strategy of rolling-out in kubevela code.  It seems that the rollout plan is not absolutely correct or not, we should consider it with the combination of app statement.

@ryanzhang-oss thanks for your advice! It can rollout success with changing : apply app-scale.yaml. But the only difference between the app-scale.yaml and app-source.yaml is an replicas value statement. May be I should read carefully about the strategy of rolling-out in kubevela code. It seems that the rollout plan is not absolutely correct or not, we should consider it with the combination of app statement.

The scale operation needs to manipulate the replicas fields. Therefore, the component itself cannot set the replica value. That's the fundamental point.


Support own types using Array and Object interfaces

Hi, i wonder if it would be possible to support go types in the input data structure that implements a array or object interface.
Something like this
type JsonArray interface {
    Length() int
    Index(index i) interface{}
}

type JsonObject interface {
    Length() int
    Property(name string) interface{}
}

type CustomObject struct{}

func (CustomObject) Length() int { return 1 }

func (CustomObject) Property(name string) interface{} {
    switch name {
        case "a":
            return 123
        default:
            return nil
    }
}

func Test() {
    query, _ := gojq.Parse(".foo.a")
    input := map[string]interface{}{"foo": CustomObject{}}
    iter := query.Run(input)
    v, ok := iter.Next() // v would be 123
}

This is unlikely to be implemented. It is too hard for me to keep maintenance of making this stuff work in all type switches while there's no benefit for myself. You can convert your type to []interface{} and map[string]interface{} and pass it to gojq library.

Ok! understand


Leaflet.TitleLayer.Swiss

First things first, complements for your great work.
I have a question, hope you can answer it.
For a project i use Flutter, a tool to create mobile applications. I came a cross a plugin witch can display openstreetmaps (https://pub.dev/packages/flutter_map) It works with leaflet. With that in mind i hoped, that i could use the geo.admin map as a layer.
Originaly the layer with Openstretmap looks like this:
FlutterMap(
                options: MapOptions(
                  center: LatLng(47.366, 8.2537),
                  zoom: 5.0,

                ),
                layers: [
                  TileLayerOptions(
                      urlTemplate:
                          'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
                      subdomains: ['a', 'b', 'c']),

                ],
              ),

My suggestion was, i could just copy and paste your link into the urlTemplate like this:
FlutterMap(
                options: MapOptions(
                  center: LatLng(47.366, 8.2537),
                  zoom: 5.0,
                ),
                layers: [
                  TileLayerOptions(
                      urlTemplate:
                          'https://wmts{s}.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default/current/2056/{z}/{x}/{y}.jpeg',
                      subdomains: ['0123456789']),
                  MarkerLayerOptions(markers: markers)
                ],
              ),

obviously this dosn't work, but i hope there is an easy way to get it working.
Do you have any suggestions?

Yes, indeed it looks like flutter_map is not actually based on Leaflet, but is a dart-port of Leaflet, so you would also have to port all code in this plugin in order to use it with flutter_map.
An easier solution might be to use the web mercator maps from swisstopo, which should be compatible with flutter_map, the URL (documented here) is:
https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default/current/3857/{z}/{x}/{y}.jpeg


Table pasting from google spreadsheets and openoffice is not working

Not sure if it should, but now it inserts only break, nothing more.

I mean copying table or part of it and insertion into manuscript.

Into a table, or into body?

into body
into table is fine

Yeah, that is not yet done. Same with images -> figures.

ok

What you see is, that table is stripped away, because we do not allow table to be a direct child of body. If we would it would paste it. But in JATS it needs to be wrapped into a <table-wrap> which is our internal table-figure.
So we need a contextually different paster that wraps the table into a table-figure. But I don't know yet how :)

Ok, I see now the problem.

Pasting from a Google Sheet works fine. But pasting from a Google Document table into a Texture table is not working.


PTFE-456: break loop when demanding new runner

When a new runner is required the function need_new_runner is stucked in a while loop until a runner is created. We noticed if the max is reached we get a lot of error message. So i use and if condition instead of while. In any case the manage_runners function that calls the need_runner function is ran every 2 mins so this would atleast reduce the number of log entries

Codecov Report

Merging #262 (7c0b958) into main (374f01a) will decrease coverage by 0.45%.
The diff coverage is 60.00%.

:exclamation: Current head 7c0b958 differs from pull request most recent head 474e94e. Consider uploading reports for the commit 474e94e to get more accurate results

@@            Coverage Diff             @@
##             main     #262      +/-   ##
==========================================
- Coverage   71.98%   71.54%   -0.45%
==========================================
  Files          15       15
  Lines         846      861      +15
==========================================
+ Hits          609      616       +7
- Misses        237      245       +8

Impacted Files
Coverage Δ

srcs/runners_manager/runner/Manager.py
59.79% <0.00%> (ø)

..._manager/vm_creation/openstack/OpenstackManager.py
31.19% <50.00%> (+0.35%)
:arrow_up:

srcs/runners_manager/vm_creation/CloudManager.py
58.18% <66.66%> (+0.48%)
:arrow_up:

srcs/runners_manager/runner/RunnerManager.py
91.13% <75.00%> (-0.87%)
:arrow_down:

... and 1 file with indirect coverage changes


Enforce CDN endpoint

We should enforce the use of CDN api endpoint.
Mainly because the CDN endpoint is replicated over several regions and you gain performance in term of response time.

Hey Sébastien, with v6 that will be enforced with people getting their endpoints through this function: https://github.com/prismicio/prismic-javascript/blob/aa/v6/src/getEndpoint.ts ☺
Aside from that we still have patterns allowing us to use the client with wroom.io for debugging purpose~

Fixed in v6 🎉 Thank you for your contribution!
https://prismic.io/docs/technical-reference/prismicio-client?version=v6


Firebase dynamic links -- iOS manual URL construction

Hi there,
We're building dynamic links manually, using the following documentation: https://firebase.google.com/docs/dynamic-links/create-manually?authuser=0
On our Firebase projects, we have a set of 8 iOS apps, each one using a different bundle id.
For iOS, the documentation says we need to use the ibi parameter to specify "the bundle id of the iOS app to use to open the link".
Unfortunately, the behavior we see is the following when opening a dynamic link, either from simulator or real device (tested on iOS 12.X and iOS 13.X):

giving the ibi parameter does not ensure to open the proper application
giving no ibi parameter still open app
we saw that the application opened on device (a device where all the 8 apps are installed) is the first defined in the apple-app-site-association, no matter what we provide as ibi
if we remove from the device the first app listed in apple-app-site-association, then the dynamic links will open the second one from apple-app-site-association, etc.

Our projects are well configured, with a custom url scheme set to bundle identifier
So app A with com.app.A defines the custom url scheme com.app.A:// and app B with com.app.B defines the custom url scheme com.app.B://, which are working fine if tested from Safari.

Xcode version: 10.X, 11.X
iOS version: 12.X, 13.X
Firebase SDK version: 6.40
Firebase Component: Dynamic links
Component version: 6.40

Is it something broken or a known issue on Firebase team?
Thanks for your help.

If your app is already installed, it will be opened using iOS universal links (using the appids mentioned in the app site association file.) If this is a custom domain, you can try editing the app-site-association-file to include paths specific to each of your apps.

Hi @dmandar,
Thanks for your suggestion. It was my guess that IBI would not be used, now this is confirmed. Could be good to add this in the documentation for others.
We'll try with custom domain and manual edit of the app-site-association-file, as described here: https://github.com/firebase/firebase-tools/issues/1169


Updating for DSM 7.x and Target Filtering

This was a godsend for automating certificate updates with my homelab, but I noticed the python code didn't work with DSM 7.x.
This Pull Request does the following:

Updates the helper script print-certs.yml to include filtering options for specific CNs, and fixes a bug with DSM 7.x that prevented a valid split on the host_name variable.
The helper script gains the ability to filter out the _archive folder if desired by omitting the -a or --allcerts flags.
The helper script gains the ability to filter on a given target CN. This was useful as I had a few different certs from Synology and for specific services that I wanted to leave untouched. When omitting the --target <TARGET> flag.
Lastly, the helper script gains a more robust help output in case the python code is run outside of the ansible playbook.

I also added my Github link to a new Contributors section on the main README.md, but that can come off if desired.

Hi @pezhore  Thanks for this. I'll try to look this PR this week. Thanks.

As a note. Removing _archive broke things for me on DSM 7.2. My certificate would not get updated

Thanks for this.
I'm going to close this as it didn't quite work for me and I made things work with 7.1 and 7.2 in commits that have already been merged.


Update kube-up output to print v1beta3 URLs for system services

Right now at the end of ./cluster/kube-up.sh I get
Kubernetes master is running at https://<IP_ADDRESS>
elasticsearch-logging is running at https://<IP_ADDRESS>/api/v1beta1/proxy/services/elasticsearch-logging/ (note the trailing slash)
kibana-logging is running at https://<IP_ADDRESS>/api/v1beta1/proxy/services/kibana-logging/ (note the trailing slash)
kube-dns is running at https://<IP_ADDRESS>/api/v1beta1/proxy/services/kube-dns/ (note the trailing slash)
influxGrafana is running at https://<IP_ADDRESS>/api/v1beta1/proxy/services/monitoring-grafana/ (note the trailing slash)
heapster is running at https://<IP_ADDRESS>/api/v1beta1/proxy/services/monitoring-heapster/ (note the trailing slash)

We should update the output to point to the appropriate v1beta3 URL endpoints instead.

/cc @satnam6502

Ref #5475 and #6584. cc @nikhiljindal

And as a minor nit, not all of those URLs need a trailing slash hack e.g. I don't think it is required for Elasticsearch. I think @piosz most recently worked on this code?

Thanks for fixing this @piosz!


Add package.json for mip.


Restore Pow message publishing

Describe the enhancement
The 0.20.0 version of nostr-sdk provided with a publish_pow_text_note method that allowed to use NIP-13 for message publishing.
As per the commit history, this method has been deleted from codebase without any apparent replacement for it.
I can't find any explanation on why this has been removed, and would like to either see it reintegrated, or understand why this has been striped out.
Use case
PoW notes imho are useful to show the will of clients to publish their messages on the network by allocating resources to ensure their messages are considered as legit.
I know not many relays use it for now to filter out the messages they broadcast, but i'm pretty sure over time its use will improve.

It's possible to enable POW for all events, by editing default Options:
let opts = Options::new().difficulty(20);
let client = Client::with_opts(&keys, opts);

client.publish_text_note(...).await?; // This will be a POW text note

Or another option to do (if you not want to enable POW for all events) is:
let event = EventBuilder::new_text_note(...).to_pow_event(&keys);
client.send_event(event).await?;

But I can add another option to select what kind of events should be POW, like:
// Disabled
let opts = Options::new();

// Enabled for every events
let opts = Options::new().difficulty(20);

// Enabled only for some kinds
let opts = Options::new().difficulty(20).pow_enabled_for(vec![Kind::TextNote, Kind::EncryptedDirectMessage]);

What do you think?

Hey @yukibtc, thanks for the answer !
Just tried both solutions and both works nicely. I have a preference for the second option as it allows fine-tuning and might make sense to provide an example of it onto the main documentation ?
Third option you suggested seems to be a good idea to allow fine-tuning at low cost, but wouldn't make it a high priority on the roadmap.
I'll close the issue, Thanks again !


AAR video stream dies if timing varies

Hi all, I have observed (what is seemingly) an issue with MediaPipe.
System information

Have I written custom code: Yes, but as close-as-possible to the Iris Tracking example
OS Platform and Distribution: Linux Ubuntu 20.04
Mobile device: Huawei Mate 20 Pro, OnePlus 6. Google Pixel 4
Programming Language and version: C++ / Java (Android)
MediaPipe version: 0.8.6
Bazel version (if compiling from source): 4.1.0
Solution ( e.g. FaceMesh, Pose, Holistic ): Iris Tracking GPU / AAR
Android Studio, NDK, SDK versions: SDK 27, NDK 21.4.7075529

Describe the expected behavior:
I am observing an issue where I have built the MediaPipe Iris Tracking example into an AAR and integrated it into a tradtional Gradle application.  In my application, I create a fragment in the main activity, and retarget the preview output to a FrameLayout in the fragment.  The video only fires up (anecdotally) 10% of the time.
The AAR has been generated using the guidelines here: https://google.github.io/mediapipe/getting_started/android_archive_library.html.  The file generate_aar.sh in the mediapipe_aar folder in repo does this in an automated fashion.
Standalone code to reproduce the issue:
Provide a reproducible test case that is the bare minimum necessary to replicate the problem. If possible, please share a link to Colab/repo link /any notebook:
Please see repo: https://github.com/zigenz/mediapipe_issue.  This is not an exact analog of my architecture, but it reliably recreates the scenario.
Build and run it in Android Studio in debug mode, with a breakpoint on line 181 in MainActivityBase.java.  Once it hits the breakpoint, resume - there will be no video, and very little able to be gleaned from the logger output.  Running it without any breakpoint does not reveal any issue.
Other info / Complete Logs :
N/A

Hi @zigenz, Could you please provide a recording video while executing the APK on the device. And also share us, your use case  using iris solution and any exception logs


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_f84df3ed-9c54-477b-90e9-e6a21a002b71/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_f84df3ed-9c54-477b-90e9-e6a21a002b71.git

Docs Build status updates of commit ba723f2:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


页面展示一直 Running get_models()获取不到模型列表

2024-11-11 20:39:18.837 Runtime state: RuntimeState.ONE_OR_MORE_SESSIONS_CONNECTED -> RuntimeState.NO_SESSIONS_CONNECTED
2024-11-11 20:39:19.405 Watcher created for /data1/tts/EmotiVoice/demo_page.py
2024-11-11 20:39:19.405 AppSession initialized (id=f728e54f-34ce-4cc1-88a2-4f5fc90bd89b)
2024-11-11 20:39:19.405 Created new session for client<PHONE_NUMBER>16464. Session ID: f728e54f-34ce-4cc1-88a2-4f5fc90bd89b
2024-11-11 20:39:19.405 Runtime state: RuntimeState.NO_SESSIONS_CONNECTED -> RuntimeState.ONE_OR_MORE_SESSIONS_CONNECTED
2024-11-11 20:39:19.413 Received the following back message:
rerun_script {
widget_states {
}
}
2024-11-11 20:39:19.414 Beginning script thread
2024-11-11 20:39:19.414 Running script RerunData(widget_states=)
2024-11-11 20:39:19.414 Disconnecting files for session with ID f728e54f-34ce-4cc1-88a2-4f5fc90bd89b
2024-11-11 20:39:19.414 Sessions still active: dict_keys([])
2024-11-11 20:39:19.415 Files: 0; Sessions with files: 0
2024-11-11 20:39:19.464 Caching message (hash=b5bf64b88804de4f3eaac73223656bae)
2024-11-11 20:39:19.475 Cache key: d41d8cd98f00b204e9800998ecf8427e
控制台打印的内容是这样的


Hops 1157

Make sure there is no duplicate PR for this issue

Please check if the PR fulfills these requirements

[x] Tests for the changes have been added and passed (for bug fixes / features)
[xj] HOPS JIRA issue has been opened for this PR
[ ] All commits have been squashed down to a single commit
[ ] The commit message has the following format: [HOPS-XXX] message

Post a link to the associated JIRA issue
https://hopshadoop.atlassian.net/projects/HOPS/issues/HOPS-1157

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

Can one of the admins verify this patch?

Why did you check the box: All commits have been squashed down to a single commit?

test it

tests: https://bbc1.sics.se/jenkins/view/pull-manual/job/hops-pull-manual/73/

TestGetBlocks is fixed now. Other failing tests are flaky and pass on my machine.

tests: https://bbc1.sics.se/jenkins/view/pull-manual/job/hops-pull-manual/74/

I don't manage to run the following tests neither on the test machine nore on my own machine, can you have a look at them:
TestBalancer
TestDecommission

Forget about TestDecommission I also don't manage to make it run on master. But testBalancer run at first try while I did not manage to have it run on your code after at least 10 tries.

In TestDecommission,  testNodesPerInterval and testBlocksPerInterval are flaky. I have added 500 ms sleep and the tests passed five times in a row.
TestBalancer was broken before this jira. The issue was that one of the unit test did not close the MiniDfscluster object. I have fixed it was ran the tests. It passes.

The two tests are still not passing at all on the test machine. I will test on my machine and come back to you.

Can you resolve the conflicts?

Are you sure of what you pushed? It does not seem to build: https://bbc1.sics.se/jenkins/view/pull-manual/job/hops-pull-manual/86/console

should work now. Forgot to push one class

tests: https://bbc1.sics.se/jenkins/view/pull-manual/job/hops-pull-manual/89/


MXC_SYS Missing EXT_CLK Support

Hi, is there a bug in the MXC_SYS implementation for the MAX32670?
In the UG, the clock tree (page 38) and GCR_CLKCTRL register description (page 66-67) both document an external clock as an available system clock option.
However, the implementation in sys_me15.c has support for EXTCLK removed:
In MXC_SYS_ClockSourceEnable (returns an error)
    case MXC_SYS_CLOCK_EXTCLK:
        // MXC_GCR->clkctrl |= MXC_F_GCR_CLKCTRL_EXTCLK_EN;
        // return MXC_SYS_Clock_Timeout(MXC_F_GCR_CLKCTRL_EXTCLK_RDY);
        return E_NOT_SUPPORTED;
        break;

In MXC_SYS_ClockSourceDisable (silent failure)
    case MXC_SYS_CLOCK_EXTCLK:
        // MXC_GCR->clkctrl &= ~MXC_F_GCR_CLKCTRL_EXTCLK_EN;
        break;

In MXC_SYS_ClockSelect (silent failure)
    case MXC_SYS_CLOCK_EXTCLK:
        // Enable HIRC clock
        // if(!(MXC_GCR->clkctrl & MXC_F_GCR_CLKCTRL_EXTCLK_EN)) {
        //     MXC_GCR->clkctrl |=MXC_F_GCR_CLKCTRL_EXTCLK_EN;

        //     // Check if HIRC clock is ready
        //     if (MXC_SYS_Clock_Timeout(MXC_F_GCR_CLKCTRL_EXTCLK_RDY) != E_NO_ERROR) {
        //         return E_TIME_OUT;
        //     }
        // }

        // Set HIRC clock as System Clock
        // MXC_SETFIELD(MXC_GCR->clkctrl, MXC_F_GCR_CLKCTRL_SYSCLK_SEL, MXC_S_GCR_CLKCTRL_SYSCLK_SEL_EXTCLK);

        break;

I will be populating the EXT_CLK footprint on my EV kit to test this disabled code.
(Also, MXC_SYS does not appear in the peripheral documentation.)

Thanks @Jake-Carter for looking into this! That sequence for establishing the EXT_CLK input makes sense.
I am also happy to help test on my EV Kit.

Hi @jlj-ee, I added EXT_CLK support for the MAX32670 and tested it at 2Mhz.  I don't have a clean enough connection to test at higher speeds, but it looks like Hello_World is working as expected off of the external input.
See the EXT_CLK example on my fork.
I'll be porting this to the other micros as well before merging the PR.

Hi @Jake-Carter, I got a chance to verify the example from your fork on my EVKit and it looks great!
When I have some more time I will look at additional speeds. Thanks for getting this fix in!


is buggy

I haz bug plz fix :(

bug not fix plz fix :(

I had the same bug plz fix asap :(

But you no fix my bug? D:

you fix my bug pls

fix bug!


Security Home Button

We need a home button on the security page.

1d

This corresponds to issue 140 where the redesign and navigation toolbars were added...


Suggested feature: Allow setting user for ssh connection

On a couple of beamlines we have PowerPMACs provided by an external supplier,  These have their own user account configured for when connecting over ssh.    eg ssh<EMAIL_ADDRESS>At the moment dls-pmac-control.py seems to only connect over ssh using the current fedid.  Please can there be an option to set the user to be used for ssh connections?

I have added this feature so that you can run the application from the command line with the arguments:
dl-pmac-control.py --username=blah --password=xxxx
Then when connecting to a PowerPMAC, a small pop up will appear with the username and password populated with the values specified. If no arguments are given then the default PowerPMAC username and password will be set but you can still edit these at runtime from the popup.
This feature is available in the released version 3.0.0.

Thanks for implementing this @rjwills28
I tried it today but didn't have any luck.  When I clicked connect I got a RHEL7 message stating that the program needed access to my ssh keyring.  Once that was granted it just say "Cannot connect to "
I am able to ssh to this PowerPMAC from the command line

Hi @JimboMonkey - thanks for trying to test out this feature. Can I just confirm that when you clicked connect that a pop-up did appear allowing you to enter your username and password? Was it after doing so that it failed to connect?

Hi @rjwills28 - yes that's correct.  The pop-up appeared as expected and was pre-filled with the username and password I had entered from the command line.  Clicking OK on this then opened a RHEL7 prompt for ssh keyring access.  Whether I granted this or not, it always resulted in "Cannot connect to"

Sorry it's taken me so long to get round to looking at this.
I tested myself providing an incorrect username+password and in that case I get a pop up saying 'Invalid username or password'. This leads me to think that the issue is the IP address or port as if I also enter an incorrect IP address, I get the 'Cannot connect to ...' error before anything about the username or password.
The IP + port are definitely correct? And does it prompt for ssh access each time? This is something I do not see.

I'll double check it again in the upcoming shutdown.
If I'm still having problems maybe we could arrange for you to log in to the beamline remotely to diagnose it with me?

Yes I am certainly happy to do that so we can get to the bottom of it. I'm a little suspicious of the prompt for ssh keyring access and wonder if this is causing a problem within the Python ssh connection method.

I think I may have been able to reproduce this issue by setting up my own ssh keyring. It looks like it is possible to get round this using arguments passed into the Python paramiko (i.e. ssh library) connect() method.
I have made these changes to the dls_pmaclib module and released a new version of the dls_pmaccontrol module using the updated library. I have made this the default version on the Diamond system.
If you could test trying to connect again in the shutdown and let me know the outcome that would be great.
I will leave this issue open until we verify that this has fixed it.

Thanks @rjwills28 - just tested this and it's working.  Thank you for sorting it!


feat: beautiful icons by @akrych

That's it.
/cc @olizilla

@olizilla just made some changes. The class fill-color should be added to the <svg> element.

Although I'm more into creating a font with the icons and then having a class for each icon.

Can we merge this?

Ping @olizilla :D

@hacdias this looks good. Can you resolve the conflicts and remove the transition from the hovers and it's good to go.

@olizilla rebased!! 😄

ok, i'll merge this and remove the transition as that can be done with a separate atom.


chore: update project

What does this PR do?

I updated all the project dependencies to their latest versions.
I changed the minimum required Node version to 10.13, as 8 ends LTS next week (this is the reason the PR is breaking).

How should it be tested manually?
npm test
# or
yarn test

Pull Request Test Coverage Report for Build 100

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 97:
0.0%

Covered Lines:
46

Relevant Lines:
46

💛  - Coveralls


Calling WFS without specifying version

Is there a way to call WFS with owslib.wfs.WebFeatureService() without specifying a version in parentheses?
I want to call GetCapabilities and find out which WFS versions are supported by the server.

I don't think the standard allows for this:
http://opengeospatial.github.io/e-learning/wfs/text/operations.html#getcapabilities


Create dataset loader for ViCon

Dataloader name: vicon/vicon.py
DataCatalogue: http://seacrowd.github.io/seacrowd-catalogue/card.html?vicon

Dataset
vicon

Description
ViCon comprises pairs of synonyms and antonyms across word classes, thus offering data to distinguish between similarity and dissimilarity.

Subsets
-

Languages
vie

Tasks
Word Analogy

License
Creative Commons Attribution Non Commercial Share Alike 2.0 (cc-by-nc-sa-2.0)

Homepage
https://www.ims.uni-stuttgart.de/forschung/ressourcen/experiment-daten/vnese-sem-datasets/

HF URL
-

Paper URL
https://aclanthology.org/N18-2032/

#self-assign


Please Register Loot Tables to allow LootTweaker Integration (suggestion)

In developing my modpack I discovered that Thaumcraft was not registering any loot tables for the mobs and chests it adds - with the sole exception of the "thaumcraft:pech" loot table. This is an issue because without appropriately registered loot tables the modpack development tool LootTweaker cannot edit the drops for a mob. I would love to use LootTweaker to add drops to the various Thamucraft mobs and chests as I would like to integrate them better with the rest of my modpack, but unfortunately with unregistered loot tables I cannot do that.
To confirm that this wasn't a mod interaction with another mod in my pack, I made a new instance with the following details:
Minecraft v1.12.2
Forge v<IP_ADDRESS>95
Baubles v1.5.2
CraftTweaker v4.1.13
LootTweaker v0.0.8
Thaumcraft v6.1.BETA26
In this instance, I created a new world and used the command "/ct loottables all" to dump all registered loot tables. I then checked in the "[Instance]\dumps\loot_tables\thaumcraft" directory and confirmed that no loot tables except "pech.json" were dumped.
In the mean time, if you cannot push an update that registers this mod's loot tables for whatever reason, if you could post the locations of the loot tables within the mod I could potentially use that to hack together a way to edit the loot tables. Currently LootTweaker cannot do this, but in their upcoming 0.0.9 release they're adding a way to edit an unregistered loot table, but only if you already know its directory path. Without knowing where to write to that feature is insufficient - I need your help to find the directory path.
Thank you for your time and understanding.

I also understand that this would help enable integration with Just Enough Resources, a JEI addon that displays monster and chest loot. Like LootTweaker, JER finds the data it displays by using the list of registered loot tables, so if your loot tables are unregistered it cannot detect them. I'm not certain if it's automatic past that point or not, there may be another step, but I know getting the loot table registered is one of the steps.


Pin ligato image tag

Pin vpp-agent docker image tag to v2.1.1 so that examples will run. References #1652

Coverage remained the same at 68.944% when pulling 5257293e4d1d8c5e714ca35bd8a8358b82d3bf8b on Flickswitch:pin_ligato_vpp_agent into a446e99e2c9dfdfceab8c5f41907ccb4c4cd0647 on contiv:master.


fix: ingress 503

fixes #111

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


Documentation for the /director/certificate-expiry endpoint

#160199794
Signed-off-by: Dale Wick<EMAIL_ADDRESS>

Hi - I'm not sure about what this documentation represents (i.e. rfc, proposal, implemented), but I have several initial concerns about this:

"List of active director certificates" - what does active vs inactive mean here? Does active mean unexpired?
certificate_path is referring to, what looks like, property paths. Properties are job-specific. There is no reference to job here which makes me concerned this is not correctly abstracting BOSH's existing concepts or, at the very least, missing information.
certificate_path is probably verbose, given this is already a certificate-prefixed endpoint.
days_left

this is a derived value from expiry. Typically APIs avoid including duplicate information in favor of encouraging consumers to use canonical values (unless there is a very specific reason otherwise).
this is one format a consumer may be interested, but hour or seconds is another. In addition to whether it should be included at all, is there a reason hour or seconds wasn't provided?
because a day is a relatively large value, 0 is ambiguous (e.g. does it mean less than 1 day, or does it mean it expired?). I consider this another reason to only provide expiry.

read scope authentication - does this require director/global read, or team read sufficient?

For my own understanding, who is the target user for this endpoint/information? Is there a corollary CLI command being introduced? Does bosh env play into this anywhere? Are multiple commands going to be asking for this information?
Let me know if I can help talk through some of these concerns.
Thanks!

cc @xtreme-andrew-su

We're going to be removing this endpoint


how about output bboxes (x,y,z,w,h,l,yaw,b,v)?

did i think right?
output has 9 results ,but i don't know the last three numbers mean
thanks

Hello @Ehangiun, yaw means the heading angle of the bounding box, v means the velocity (2-dimensional). I did not remember whether we have b in the final result, but if there is such a dimensional this might be the batch index (used in batch size > 1 evaluation).

Closed due to inactivity.


Real World

See gist: https://gist.github.com/ForbesLindesay/5392337

This issue is still showing up on my personal "open issues mentioning you" list, limiting its utility. Could you please consider closing it?


fix(docs): updates docs and steps for local dev-env

The PR #567 removed the ui directory and migrated the Greenhouse UI to https://github.com/cloudoperators/juno.
This PR updates various broken references, links and configurations to accommodate for this migration. It also adds steps for building the juno-app-greenhouse locally.
What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[x] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents

Related PR #567

Added tests?

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help
[ ] Separate ticket for tests # (issue/pr)

Added to documentation?

[ ] 📜 README.md
[x] 🤝 Documentation pages updated
[ ] 🙅 no documentation needed
[ ] (if applicable) generated OpenAPI docs for CRD changes

Documentation will be handled in a separate PR.
Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

This would possibly render the branch ui-before-migration redundant.

@abhijith-darshan How does this PR play with yours #775? This PR is changing docs and making the local dev a bit easier to do, but your PR is a completely changing it.
You do not touch the juno/ui thing right? So maybe we pivot this PR to be focusing on how to play ball with that change?

@abhijith-darshan How does this PR play with yours #775? This PR is changing docs and making the local dev a bit easier to do, but your PR is a completely changing it.
You do not touch the juno/ui thing right? So maybe we pivot this PR to be focusing on how to play ball with that change?

@olandr - both solutions exist side by side for now until the new KinD based setup reaches parity with the docker-compose setup. So I would say go ahead and continue with your PR.


Harvest should create resolution metrics for health alerts

Thanks @faguayot for raising here

Hello @rahulguptajss,
I was trying the nightly but I don't know what is the name of new metric that you have created for health? I was checking health_ha_alerts which is an old metric but I don't find any information on that.
The other alerts related to health that I have in my prometheus database are the following:

Thanks.

Ok, in that case I can't check the information until something happens in the HA. I thought that you write everytime the good state (in this case a 0) and when something happens you will write a 1 (failed state). I don't know if you can test it and show me the information available for the metric.
When something happens in our environment, I will be pending to review these parameters. Thanks for the implementation.

Verified in 24.08 with commit 4e3945c1
When home port is changed via UI

When the port reverted to home port via UI


fix(package_info_plus): Use the AssetManager to get the base URL

Description
Currently, the version.json file is fetched using a web specific API to get the base URI. Because the base URI obtained with this API is always the URL from the browser, this could lead that some setups where the Flutter app is deployed and served using different domains and paths could fail.
This PR changes that replacing the web specific API with a Flutter API to get the right URL used to load the assets of the application.
Related Issues

Fix #2732

Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I titled the PR using Conventional Commits.
[x] I did not modify the CHANGELOG.md nor the plugin version in pubspec.yaml files.
[ ] All existing and new tests are passing.
[x] The analyzer (flutter analyze) does not report any problems on my PR.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate that with a ! in the title as explained in Conventional Commits).
[x] No, this is not a breaking change.

Thanks for the pr! I was experimenting with the same yesterday, it's kind of weird that the framework doesn't provide a direct way to obtain the base URLs. As pointed out, reading the base URL from the browser window is not exactly right in all cases.
My concern is if this would be wrong, given the case a user setups a different assets' URL than the entry point where the app is installed.
e.g.
_flutter.loader.loadEntrypoint({
    entrypointUrl: "https://www.app-domain-1.com/app/main.dart.js"
    onEntrypointLoaded: async function(engineInitializer) {
        let appRunner = await engineInitializer.initializeEngine({
            assetBase: "https://www.app-domain-2.com/myappcontent/"
        });
        appRunner.runApp();
    }
});

Where would we expect the version.json to be found? in domain 1 or 2?
So, we can have three URLs:

The browser URL
The entry point URL (where the Dart JS code is)
The Assets URL

Another option is to use it as fallback, say, check if the version.json exists on assets base URL, if not, check on browser URL. This could be done together with also providing a custom param.
Allowing to do:

If a custom version.json path exists, use that.
If not, check in the assets' base URL.
If not, use browser URL.

Hi @AriasBros I am thinking on taking your commit https://github.com/fluttercommunity/plus_plugins/pull/2733/commits/860b8ba4b3f78fa7db21fd0bb3635de0afaf47c9 and creatting a new PR that would support custom version.json url + fallback to browser baseUrl.

Hi @miquelbeltran,
Sorry the delay to answer you. I agree with your proposed solution, but these days my company changed my priorities and this one was down a little in the list, but I think I will reach this task today in a few hours.
I would like to send an update to this PR today or the monday.
If there is hurry to fix this issue just let me know and in that case of course you can use my commit, no problem with that.

Let's do it in this PR then, I will push some changes so you can review them, still WIP as the documentation should be updated as well.

Actually, I will just restore back to the original state of your PR, I will experiment on my own branch.

We also should add integration tests. Testing the custom version.json uri should be easy. Testing the assets' manager may not be as easy without allowing to mock it from the outside, but it is something we can do at the end.

Yes, it is the next thing I want to work on.

I'll mark the PR as breaking, just because the platform interface signature also changed, and I want to avoid version conflicts when pulling dependencies. Technically, this could pass as a non-breaking for package users, but I want to be on the safe side.

Thank you, David! I think this is good to go for now. Let me know if you still want to do some more changes.

Thanks @miquelbeltran
From my side I don't see nothing else to do. Maybe update online documentation, but I am not sure if I should do it in this same PR or that follows other procedures. Just let me know about it, I am available for any change that this PR could need.

I'll mark the PR as breaking, just because the platform interface signature also changed, and I want to avoid version conflicts when pulling dependencies. Technically, this could pass as a non-breaking for package users, but I want to be on the safe side.

If it is necessary, I could split this PR in 2:

One adding only the implementation about to use the AssetManager base URL, which it should not be a breaking change.
And then other with the changes related to add the custom base URL parameter.

Anyway, in this last commit that I sent, I added a new parameter to the plugin constructor to allow testing the AssetManager. I understand that that constructor is a private API of the package, but well, maybe it could be considered a breaking change too.

Thanks for including a test with the AssetManager as well!
Having a breaking change is not an issue, it will simply go into a new major version when we generate a new release, which I prefer anyway. It may take a while until we release the package since we did a big release very recently, but this will be available to anyone who wants to try using a git ref dependency.
I'm specially interested if people in https://github.com/fluttercommunity/plus_plugins/issues/2699 can give it a try.
Thanks again for the work! I will merge now, any further improvements we can do in a new PR.


Improve presentation-time API

The wlr_presentation_feedback struct now tracks presentation feedback
for multiple resources (but still a single surface content update). This
allows the compositor to properly send presentation events even when
there is more than one frame of latency or when it references a
surface's buffer.
Most of the time, compositors just display the surface's current buffer
on an output. Add an helper to make it easy to support presentation-time
in this case.
References: https://github.com/swaywm/sway/issues/4572
Closes: https://github.com/swaywm/wlroots/issues/1917
cc @YaLTeR

Breaking change: instead of calling wlr_presentation_surface_sampled at render time and wlr_presentation_send_surface_presented at presentation time, most compositors now just need to call wlr_presentation_surface_sampled_on_output at render time. Compositors that call wlr_buffer_ref need to call wlr_presentation_surface_sampled when they ref the buffer, wlr_presentation_feedback_send_presented when this buffer has been presented for the first time and then wlr_presentation_feedback_destroy.
Sway PR: https://github.com/swaywm/sway/pull/4731

Thanks!


Update events.rst to reflect behaviour of preUpdate

preUpdate is only triggered when there any changes made on the target entity. The documentation does not mention that as far as I can see.

Please correct me if I am wrong but I think  (https://github.com/hallabro/doctrine2/blob/master/lib/Doctrine/ORM/UnitOfWork.php#L1068)[this line of code] is the reason it is working in this way.

:+1:

:+


Update the Airbyte tutorial to see stream load

The Airbyte destination inserts the data as json into a field.   Should use stream load instead.  https://github.com/StarRocks/starrocks/discussions/23713

https://github.com/StarRocks/starrocks/issues/24861

Looking through the source code.  It does use stream load.


update embedding model

More informations on the lifetime of the embedding models
https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/model-retirements
=> ada2 could be out of service after text-3?
Embedding deprecation dates are still not stable enough to take action.
Closing for now

Change Embeddings model procedure
embedding model upgrade from ada-002 to text-3-small
The database doesn't change because the text-3-small embedding model from OpenAI has the same vector size (1536)
TODO:

deploy a new Azure OpenAI Service for dev environment usage of text-3-small
deploy a new Azure OpenAI Service for prod environment usage of text-3-small
update embedding_models.conf keys to new deployment endpoints
run the upgrade script to update the produced_text_version.embedding and document_chunk.embedding


/truth but it's the english or spanish challenge

no more moving text!!! so oinkbot can stop thinking so hard and i can stop hurting fasla's eyes
Can u pwease merge my pwull wequest senpai?!! UwU

closes #44