support getFsInfo()

Signed-off-by: heartlock<EMAIL_ADDRESS>

@heartlock Could you add cadvisor releated code to https://github.com/hyperhq/cadvisor first and update cadvisor vendor here?

file:///home/chen/Pictures/Screenshot%20from%202016-08-21%2023-20-40.jpg

sure,I will do it@feiskyer

@heartlock Update vendor of hypernetes is a little bit tricky.

commit your changes to hyperhq/cadvisor
update all cadvisor lines in hypernetes/Godeps.json to new commitID of hyperhq/cadvisor
copy all contents inhyperhq/cadvisor except /docs, *_test.go into vendor/src/github.com/google/cadvisor
test

@heatlock why Fail to check disk when you have already supported getFsInfo?

@heartlock Please remove *.md, .gitignore, .git, .txt from vendor.
And I see in cadvisor in Godeps.json is be6e26b8db65c92b8ca346920213c19ea1332f5e, but the latest commit in hyperhq/cadvisor is 30a83424c239fc613953b3600b53c843ea47a586
Others lgtm


Sampler-0.115.0

Moved to a simpler module structure using the SimpleModule template from Sampler 0.115.0, as preparation for first public release

Everything checks out


Move all integration tests to separate modules

No module frlom kontx-core or knotx-adapters should have dependency to knotx-mocks module.
Move all tests that require knotx-mocks to separate module outside kontx-core and knotx-adapters.

Additionally, get rid a knotx-mocks module at all. Instead use wiremock for mocking up any service.


New changes to exceptions in vuln mangement

New changes to exceptions and accept risk levels

IMO security engineers should be able to accept Medium risk vulns.


Implement logging with optional hslogger dependency

Why make hslogger optional? It's not a huge dependency, and certainly making it mandatory isn't going to upset clients like ghcide.

@ndmitchell if the additional dependencies are alright, including network and network-bsd, we can add it as a required dependency. opinion, @mpickering ?

We already have hslogger as a dependency due to haskell-lsp.


Generated code doesn't have 100% coverage

https://github.com/googleapis/google-cloud-python/pull/6356#discussion-diff-230149184R87
This code (securitycenter, python) doesn't have full coverage which seems unusual.
ox > coverage report --show-missing --fail-under=100
Name                                                                                Stmts   Miss  Cover   Missing
----------------------------------------------------------------------------------------------------------------------
google/cloud/securitycenter_v1beta1/__init__.py                                              8      0   100%
google/cloud/securitycenter_v1beta1/gapic/__init__.py                                        0      0   100%
google/cloud/securitycenter_v1beta1/gapic/enums.py                                          23      0   100%
google/cloud/securitycenter_v1beta1/gapic/security_center_client.py                        163      9    94%   78-81, 123, 178-189
google/cloud/securitycenter_v1beta1/gapic/security_center_client_config.py                   1      0   100%
google/cloud/securitycenter_v1beta1/gapic/transports/__init__.py                             0      0   100%
google/cloud/securitycenter_v1beta1/gapic/transports/security_center_grpc_transport.py      51      3    94%   55, 61, 96
google/cloud/securitycenter_v1beta1/proto/__init__.py                                        0      0   100%
google/cloud/securitycenter_v1beta1/proto/asset_pb2.py                                      34      0   100%
google/cloud/securitycenter_v1beta1/proto/asset_pb2_grpc.py                                  1      1     0%   2
google/cloud/securitycenter_v1beta1/proto/finding_pb2.py                                    34      0   100%
google/cloud/securitycenter_v1beta1/proto/finding_pb2_grpc.py                                1      1     0%   2
google/cloud/securitycenter_v1beta1/proto/organization_settings_pb2.py                      25      0   100%
google/cloud/securitycenter_v1beta1/proto/organization_settings_pb2_grpc.py                  1      1     0%   2
google/cloud/securitycenter_v1beta1/proto/security_marks_pb2.py                             23      0   100%
google/cloud/securitycenter_v1beta1/proto/security_marks_pb2_grpc.py                         1      1     0%   2
google/cloud/securitycenter_v1beta1/proto/securitycenter_service_pb2.py                    158      0   100%
google/cloud/securitycenter_v1beta1/proto/securitycenter_service_pb2_grpc.py               106     57    46%   123-125, 131-133, 138-140, 145-147, 152-154, 160-162, 171-173, 178-180, 188-190, 195-197, 207-209, 214-216, 221-223, 228-230, 236-238, 243-245, 250-252, 257-259, 263-357
google/cloud/securitycenter_v1beta1/proto/source_pb2.py                                     17      0   100%
google/cloud/securitycenter_v1beta1/proto/source_pb2_grpc.py                                 1      1     0%   2
google/cloud/securitycenter_v1beta1/types.py                                                34      0   100%
----------------------------------------------------------------------------------------------------------------------
TOTAL                                                                                682     74    89%

Most autogen-only libs have a .coveragerc which looks like:
[run]
branch = True

[report]
fail_under = 100
show_missing = True
exclude_lines =
    # Re-enable the standard pragma
    pragma: NO COVER
    # Ignore debug-only repr
    def __repr__
omit =
  */gapic/*
  */proto/*

that was the issue. closing.


Cleanup typing extensions

python 3.8 and above has TypedDict in the standard library, we dont need typing_extensions for versions 3.8 and above.
also no need to require dataclasses anymore since we dont support python 3.6.

Still something wrong with the buidl requirements, will look into that when I have time...


Unable to launch any service since last Home Assistant update

It appears all my buttons have stopped working. The app seems connected (it finds all my entities) but none of the services are fired: light toggles and so on simply don't do anything and display the exclamation point error /!\ when pressed.
I will gladly provide logs and such if you indicate me how I can do so.

Potentially try closing the Stream Deck software and restarting it as a temporary workaround.
I've osberved a similar issue, that after a period of time (random) or after an HA update, the Stream Deck button(s) will stop working (similar to what @bchevreau explained above).
Even when I hit reconnect on the plugin configuration the result doesn't change. I have to restart entire Stream Deck app to get things working again.

I would also add, that I can't see a specific log file output for this particular plugin, so can't troubleshoot further. Be nice to include that in the future (as time permits).

have to restart entire Stream Deck app to get things working again.

Thanks a lot for this, I didn't even think of just hard stopping Stream Deck ! Well it's not ideal but it definitely works, so at least I have a workaround.
I do agree that logs would be a great addition to ensure we can debug and give you some clear feedback!

I have a new Steam Deck and services are not fired.
I try to restart computer, and unplug stream deck but actions not working…
How can I restart entire App? How can I do?
Thanks!

I feel like the situation worsened a LOT in the past few weeks following 2023.5 updates. I know some changes were made to the way calls are made, and integrations needed to make async calls now, a lot of integrations were not working because of this. Could that be related @cgiesche ?
I have to shut down and restart streamdeck almost every hour now to be able to use it... which makes it kinda unusable if I'm being honest. Any way we can help or test for you?

I have a new Steam Deck and services are not fired.
I try to restart computer, and unplug stream deck but actions not working…
How can I restart entire App? How can I do?
Thanks!

You need to go to system tray then right-click > quit there as shown below:

The communication between my plugin and home assistant is using a web socket connection and home asaistants web socket api which is already asynchronous.
I will update my home assistant and my Streamdeck today and check if something breaks. "Unfortunately" I have no problems with the connection at all.
Are some of you using a WiFi connection? Maybe networking pickups may cause the websocket connection to break (which then should automatically be reestabliahed, but does not seem to happen if I understand correctly). When I remove my lan cable, the connection gets lost but is reesablished as soon as I plug it in again...

I would also add, that I can't see a specific log file output for this particular plugin, so can't troubleshoot further. Be nice to include that in the future (as time permits).

My plugin is kind of "locked in" by the elgato stream deck application (which is good for security reasons) so that logging is not as straight forward as it would be in under normal conditions. However, there seems to be an elgato-way-of-logging which i will try to add in a future release.

I have a new Steam Deck and services are not fired.
I try to restart computer, and unplug stream deck but actions not working…
How can I restart entire App? How can I do?
Thanks!

Same here, almost each time I wake the computer from sleep, the connection is lost and I have the default grey HA icon instead of properly displayed entities. I have to manually exit the app and relaunch it in order for the plugin to work.

The communication between my plugin and home assistant is using a web socket connection and home asaistants web socket api which is already asynchronous.
I will update my home assistant and my Streamdeck today and check if something breaks. "Unfortunately" I have no problems with the connection at all.
Are some of you using a WiFi connection? Maybe networking hickups cause the websocket connection to break (which then should automatically be reestabliahed, but does not seem to happen if I understand correctly). When I remove my lan cable, the connection gets lost but is reesablished as soon as I plug it in again...

Hi @cgiesche firstly, thanks again for writing this plugin. Appreciate the response.
A couple of additional pieces of info based on what you responded with,

Yes, my desktop PC which is running Stream Deck software is on wifi.
I have observed this issue occurs when I come out of hybernation/sleep (but not limited to just that, and not always occurs)
I have a 3rd party monitoring tool setup to check the Web Socket is responding and that's been up with no issues. So I suspect its not on the Home Assistant side. Will setup something from my desktop PC to monitor if the web socket is responding and see what I find out.

Same here, almost each time I wake the computer from sleep, the connection is lost and I have the default grey HA icon instead of properly displayed entities. I have to manually exit the app and relaunch it in order for the plugin to work.

Assuming when you go to the plugin settings and click the "Reconnect" button that it doesn't help? This is what I observe, so not sure how to diagnose / troubleshoot what the Reconnect button is or is not doing.

This is what I experience as well. Note that I am on Ethernet myself, so wifi is likely not the issue. And same as you @roscocheeta pressing the reconnecting button doesn't have any effect, only hard quit and restart do.
Most instances when it happen are: waking up from sleep/hibernation, any restart / config restart from HASS.

@roscocheeta : yes, same, "Reconnect" button doesn't help.
Also on Ethernet.

+1 on the issue.
My StreamDeck is able to show the states with no problem:

But if I configure Keypad Actions, the scene does not trigger:

Restarting my the StreamDeck software didn't help, reconnect doesn't help, rebooting doesn't help.
Is there a way I can contribute log files? If so, how do I fetch the relevant logs?
Thanks!

Thanks for the link on how to enable debugging.
This is the logs I could grab for you:
Unhandled Event: deviceDidConnect
nunjucks-b4b04137.js:17 Parsing version 4 settings: {"button":{"serviceLongPress":{"entityId":"","serviceData":"","serviceId":""},"serviceRotation":{"entityId":"","serviceData":"","serviceId":""},"serviceShortPress":{"entityId":"scene.office_maximum_chill","serviceData":"","serviceId":"scene.turn_on"},"serviceTap":{"entityId":"","serviceData":"","serviceId":""}},"controllerType":"Keypad","display":{"buttonTitle":"{{friendly_name}}","domain":"sensor","enableServiceIndicator":true,"entityId":"sensor.buro_sensor_airmonitor_vocs","useStateImagesForOnOffStates":false},"rotationTickBucketSizeMs":300,"rotationTickMultiplier":1,"version":4}
nunjucks-b4b04137.js:17 Unhandled Event: titleParametersDidChange
nunjucks-b4b04137.js:17 Parsing version 4 settings: {"button":{"serviceLongPress":{"entityId":"scene.meeting","serviceData":"","serviceId":"scene.turn_on"},"serviceRotation":{"entityId":"","serviceData":"","serviceId":""},"serviceShortPress":{"entityId":"scene.meeting","serviceData":"","serviceId":"scene.turn_on"},"serviceTap":{"entityId":"","serviceData":"","serviceId":""}},"controllerType":"Keypad","display":{"buttonTitle":"{{friendly_name}}","domain":"scene","enableServiceIndicator":true,"entityId":"scene.meeting","hideIcon":false,"useCustomButtonLabels":false,"useStateImagesForOnOffStates":false},"rotationTickBucketSizeMs":300,"rotationTickMultiplier":1,"version":4}
nunjucks-b4b04137.js:17 Unhandled Event: titleParametersDidChange
plugin-780664f7.js:9 Got global settings.
plugin-780664f7.js:9 Connecting to Home Assistant
plugin-780664f7.js:9 Connecting to Home Assistant ws://hass.local:8123/api/websocket
nunjucks-b4b04137.js:17 Sending HomeAssistant command:
 {
  "id": 2,
  "type": "get_states"
}
nunjucks-b4b04137.js:17 Sending HomeAssistant command:
 {
  "id": 3,
  "type": "subscribe_events",
  "event_type": "state_changed"
}
nunjucks-b4b04137.js:17 Sending HomeAssistant command:
 {
  "id": 4,
  "type": "execute_script",
  "sequence": [
    {
      "target": {
        "entity_id": [
          "scene.office_maximum_chill"
        ]
      },
      "service": "scene.turn_on",
      "data": {}
    }
  ]
}
nunjucks-b4b04137.js:17 Uncaught Unauthorized
handleMessage @ nunjucks-b4b04137.js:17
Bl.websocket.onmessage @ nunjucks-b4b04137.js:17

nunjucks-b4b04137.js:17 Uncaught Unauthorized
Ah. This may be caused by the fact, that services are invoked "indirectly" via home-assistant's execute_script-service. Because this service allows to do almost everything in home-assistant, they decided to only allow users with admin rights to call this service.
Due to that, the token that you enter in the plugin must be a token of a user with admin rights. (I dont like that, but i can not change this currently without losing features that many rely on.)

Oh my god. Okay. That's crazy. Thank you so much for the quick help!

token that you enter in the plugin must be a token of a user with admin rights. (I dont like that, but i can not change this currently without losing features that many rely on.)

I am having the same issues, but my token is already for an admin (owner) user.
I also agree it appears to be an issue when I return to the PC after it goes to sleep OR it's the time since boot?
I have enabled logs and will keep the screen open to see if I can find anything when the issue returns.

Same issue here. Happens after pc hibernation.
Streamdeck restart fixes the issue

I have the same issue, usually it happens after waking the PC from sleep..
I can't find any error, and reconnecting the addon doesn't work, the only way is to restart streamdeck

All I did was update HA to latest and have been good for a week. I still plan on following up when (if?) the issue reappears.

Updating HA will not fix this. I always update HA to the latest version when available and the problem is still here.

Just an update from me, I setup a powershell script on my windows PC that run's every 5 mins that opens the websocket on HA, authenticates, and then closes it.
Initial goal was just to monitor (and record in logs) that the connection was stable/working as expected and compare that with this Stream deck plugin's behavior.
However, since enabling this, I've had no reoccurrences of the original reported issue. I've updated HA docker multiple times, my windows PC has come in and out of sleep multiple times.
I am not sure exactly why this PS script is helping, or if its just coincidental.

Adding in on encountering this, on wake from sleep this time. I've enabled debug logging so I can try to see what the heck it's doing and why the 'reconnect' button doesn't seem to do anything even though it 'flashes' the editor view as if it is.

Same issue as @Ceralor .. I have latest version of Mac OS, StreamDeck and Home Assistant. Restarted StreamDeck. It recognizes the events and states, but doesn't run any service/action at all. I have enabled logging but nothing shows on the logs.


Mid-air updates lead to shoot deletion failures

How to categorize this issue?

/area robustness
/kind bug
/priority normal
What happened:
A cluster which had been woken up from hibernation was deleted and but stuck in the deletion flow at the Initializing connection to Shoot step.
What you expected to happen:
The cluster to be deleted successfully.
How to reproduce it (as minimally and precisely as possible):

Hibernate existing or new cluster
Change .spec of shoot, e.g. a worker group
Wait for the reconciliation to beginn
Change .spec.hibernation.enabled  = false during reconciliation
Immediately delete shoot

After the first reconciliation you should notice that the shoot has .status.hibernated: "false" even though it's never woken up. As consequence, the deletion fails because Gardener never tries to wake up the control plane.

Gardener version: v1.11.1

/cc @MartinWeindel

That explains the issue I was looking for yesterday. Thank you for creating this issue!

Is my understanding correct that the issue is the wrongly reported .status.hibernated field? Or is there more that needs to be adapted?

Is my understanding correct that the issue is the wrongly reported .status.hibernated field? Or is there more that needs to be adapted?

Yes, .status.hibernated is true even though the CP/Workers haven't been scaled down.

The problem is, that we here set the hibernation status based on the current spec.
We will have the same problem for the Seed name: if during a reconciliation someone changes the Seed name, after the first reconciliation, the seed is set incorrectly in the status. So a control plane migration will not happen.
I think we have two options here

After successful reconciliation, introduce  checks

for the Seed name: does the Shoot exist on the Seed specified in spec.seedName ? E.g check shoot namespace exists.
hibernation status: is the control plane really hibernated?. E.g check if there are any running pods in the shoot ns in the Seed.

Do not allow updating those two fields during an active reconciliation e.g via admission plugin.

I tend towards 1) due to usability concerns, WDYT?
@rfranzke @timuthy

Thanks @danielfoehrKn for the analysis. Since option 2 really contradicts with the Kubernetes design principles that we follow, I also vote for option 1.
Another option besides checking the seed or the control plane, is to consult the cluster resource. It is written to the seed at the beginning of every reconciliation and we can be sure that the .spec there hasn't changed in the meantime. It sounds like a trick, but we already make use of it for health checks and the confine spec rollout feature here.

Agreed to @timuthy, thanks.
@danielfoehrKn, please keep the .spec.seedName logic untouched for now and focus on the hibernation problem. The colleagues implemented #1631 (@plkokanov @swilen-iwanow @vlvasilev) will handle this if necessary.

@danielfoehrKn, please keep the .spec.seedName logic untouched for now and focus on the hibernation problem. The colleagues implemented #1631 (@plkokanov @swilen-iwanow @vlvasilev) will handle this if necessary

Sure, just mentioned it so that we are aware of the problem.


Update README.md

Visual Code >=1.16.1 is required for auto-fix and severity tslint configuration.

@egamma are you OK with this PR?

👍

Thanks @smasala for your PR and @egamma for your check!


How to enable "total sensor"?

Cannot find where to enable total sensor and can get total apower value in a new device... can anyone please help me?

ok I find it sorry for being so newbie


Makefile: run "go" with $(BUILDTAGS)

Run the "go" command with the $(BUILDTAGS) makefile variable passed in as build tags.  We don't currently set it, but we'll need to eventually, and adding it now does no harm.

:+1: just waiting for tests and I'll merge it

Hmm, maybe BUILDFLAGS instead of BUILDTAGS?

Hmm, maybe BUILDFLAGS instead of BUILDTAGS?

I don't mind, BUILDTAGS is fine since go uses -tags :)

Works for me.  It's not like any of this is set in stone.  Thanks!


Upgrading Firebase Anonymous User does not trigger UseAuthState Hook?

My application involves upgrading an anonymous user to a regular user in Firebase. The upgrade preserves the uid of the Firebase user but updates fields such as email and isAnonymous, and because the upgrade does not change the uid and technically the user has been "signed in" all along, the UseAuthState hook is not triggered.
Does anyone know a way to work around this so the user can be updated once upgraded?

In my case I worked around it by temporarily have the user sign out before signing back in as an upgraded user. A bit janky but it worked for me.


Author RSS Feeds

Inspiration
Be able to create RSS feeds for indivdual authors so they can have a dynamic list of articles they've published which can be consumed in places like personal portfolio websites and GitHub Profiles.
Features
Adds an author parameter to the main EngEd RSS Feed which can be filtered using programming language of choice.
Improvements
Using the author parameter create a unique .xml file for each author. This currently works by adding a .xml template file in an individual author folder but haven't yet got it working so it will generate a new file based on URL (e.g. /author/louise-findlay/index.xml)
Workaround
Haven't managed to get the above desired improvement working with Hugo but it's easier to do so by just consuming the original RSS feed and then iterating over it so can make an small Node application to do so.
Repo Link

The small Node.js application is working well and obtains the Section RSS Feed and can isolate the posts section and parse for specific tags. Added a form so users can enter their name and then replaces to lowercase and hyphen per author name format.
Will add functionality of generating specific author feeds once PR has been merged so I can filter for the author tag.

@louisefindlay23
👀
Can you please elaborate a bit more - I'm not sure I'm following what this would do. (or how it would work).
Where would the RSS feed show up?
Is it just a link that students can plug into their linkedin and other social sites?
I guess I'm wondering where that link would be located on the EngEd site??
Would it auto update every time a new article is posted?
Will it go on there Github profiles?

Sure, Hector.
The current Section RSS feed (for all articles) is located here: https://www.section.io/engineering-education/index.xml. Users can use that to display all Section articles in places where RSS feeds are supported such as GitHub Readmes (using Blog Post Workflow GitHub Action) and websites. This feed is created by Hugo by default and auto updates when new posts are created.
This PR adds a author parameter to articles which will allow us to filter specific posts based on article author.
To make this super easy and separate from the main Section Repo, I wrote a small Node app that will take the main Section EngEd feed and will be able to filter the feed (using the author parameter) once it's been added. This processes the existing RSS feed into JSON and is available via URL.
I then made a GitHub Action to simplify the process of adding to a GitHub readme.


Ask for local encryption password

Probably in some on boarding screen we should be asking the user to set an encryption password and then encrypting their seed and channel data with it.

Change password functionality is needed in the node.


Remove RazorIRVisitor

We haven't found a use for this yet, and it's adding boilerplate to all of our node classes.
It's likely we'll never use this because we're doing immutable data structures in the IR.

@rynowak Do you mean this class: RazorIRNodeVisitor?

No, I mean this class https://github.com/aspnet/Razor/blob/dev/src/Microsoft.AspNetCore.Razor.Evolution/Intermediate/RazorIRNodeVisitorOfT.cs#L6

319c53522459af509e3c238739ef5997ca565531


chore: re-add derivative_bernoulli

Missed in #4352, thanks @Ruben-VandeVelde for noticing!

bors merge


Suddenly Flavor not working in android build bundle

Hello,
Suddenly when I build the app to generate the bundle package for google  play store doesnt seams to take effect it doesnt runthe app as per the flavor while it was working. However on emulator from androud studio when we run based on the flaver main file it working.
Please advice why its not working

Hello @kareemzok , can you provide the instructions you are using to compile the aab bundle?

Hello,
I just noticed you replied me. We are just trying to generate a built aab for the app and its taking the main file by default and not the light  flavor one.
To have a work arround we added a variable to define light flavor in the main.dart.
We followed your tutorial and steps and suddenly not taking the flavor when generating the built but when running the app using emulator it works

Hello @kareemzok , can you provide the instructions you are using to compile the aab bundle?

Still a valid question :)

Hello @kareemzok , can you provide the instructions you are using to compile the aab bundle?

Still a valid question :)

Hehehe you mean generate the bundle? well, we follow the steps below

Get pub ( if needed )
Flutter clean ( if needed )
Run app on emulator
Right click on project root > click on flutter > open in module
New android studio open to compile the project
Then we proceed the normal way when we want to generate the bundle by selecting the key and then the flavor on last step
Wait few minutes and the bundle is generated

If you mean something else by compile, please elaborate more

Hello, Sorry i haven't reply but i was very busy and dont wanna mess with the app as its for  a client and we keep updating it.
Please lets  keep it open to checkn

Hey @kareemzok , any updates on this?

Hllo @AngeloAvv ,
Sorry for not replying back but I wasn't able to try it.
We will try it on the next update of the app as we are adding translation to it and will be pushed soon


Add validation for IP family and gateways

require IPv4 Gateway if addresses are IPv4
continue to not require IPv6 Gateway if addresses are IPv6
validate addresses are of the same family i.e cannot mix IPv4 and IPv6 addresses in a single pool
validate addresses and gateway are of the same family (if gateway is provided)

Relates to #70
We did some experimenting around cases with and without Gateway. We think this PR represents common understandings and preferences. This PR puts forth that Gateway should be required with pools/addresses that are IPv4, and Gateway should be optional when addresses are IPv6. We're open to feedback if these choices seem incorrect or too heavy handed.
We see that (at least in our envs) that we are able to launch IPv6 machines without configuring a Gateway. The default route is provided by Router Advertisements. This leads us to the conclusion that there are valid cases when using IPv6 that Gateway should not be required.
Asides:
We intend to PR CAPI so that Gateway is optional when the IPAddress contains an IPv6 address. We intend to PR CAPI so that it requires Gateway when the address is IPv4.
We intend to PR CAPV so that Gateway is optional when the IPAddress is IPv6.

Given the decision made in CAPI, this PR has been rebased and updated to leave Gateway optional for both IPv4 and IPv6.


2D Crop Layer Support

Hi,
Is there any primitive support for 2D Crop Layer ?. It is good to have support for 2D crop layer, because this layer used in FCN. (or) Is there any way to use existing primitives to support 2D cropping?.
Thanks,
Hari

Hi @nhkrishna,
View provides necessary functionality to implement crop. Please read the documentation here, example here, and #69 issue for more details. The issue contains the most comprehensive explanation.
One way to do crop is:
crop_view_pd(origin_mem_pd, array_offset = {0,0,1,1}, array_crop_size = {10, 20, 3, 3});
reorder_pd(crop_view_pd, cropped_mem_pd);
reoder(origin_mem, cropped_mem);

Also, in theory you can proceed with crop_view_pd and pass to the primitive that should work on cropped memory. In this case you even don't need to copy the cropped part outside of the original memory.

Thanks @emfomenk  :+1:

Hi @emfomenk ,
I have tried the cropping using above method for MKLDNN v0.13, Its working fine. But when try to use v0.17 and later i'm running into following error.
terminate called after throwing an instance of 'mkldnn::error'                                                                                what():  std::exception                                                                                Abort
Does MKLDNN v0.17 has any API related changes in version 0.17 and later ?
Thanks,
Hari

Hi @nhkrishna,
No, there are no changes wrt to API. However somewhere in Intel MKL-DNN v0.15 we introduced support for padded memory, which allows using blocked layout for the sizes which are not multiple of the block size. In particular, that allowed running avx2 jitted convolution (nChw8c) for the cases when number of channels is not divisible by 8. That might sometimes lead to the cases when view cannot be created (in fact even in v0.13 view might have failed, but it was really hard to come up with the appropriate situation).
Here is an example:
    auto data_md = memory::desc({3, 64, 13, 13}, f32, nChw8c);
    auto data_mpd = memory::primitive_desc(data_md, eng);

    // for let's create a windows of size 8 channels with offset 0 for channels
    view::primitive_desc(data_mpd, {3, 8, 13, 13}, {0, 0, 0, 0}); // <-- oK

    // for let's create a windows of size 8 channels with offset 4 for channels
    view::primitive_desc(data_mpd, {3, 8, 13, 13}, {0, 4, 0, 0}); // <-- exception

The reason is that this view cannot be expressed in a way Intel MKL-DNN describes memory.
In other words the restriction for view is that both sizes and offsets must be multiple of block sizes if a blocked format is used (like nChw8c or nChw16c).
For this particular case you have to reorder data (data_mpd) to any plain layout (e.g. nchw) and create a view only after that.
This is a known limitation of a view, and we cannot overcome it with the current API. We have some thoughts how to fix this in the next versions (with some API changes).

Hi @emfomenk
Thanks for info. But in my case both source and destination memory primitives are created in nchw format only. But still i'm seeing the issue. I have attached the crop2d stanalone  snnippet for which V17 is crashing and upto v16 are working. Can you please take a look into this ?
Thanks,
Hari

Hi Hari,
I tried your snippet and it worked fine for me (i removed reading and writing to file, but the remaining keep the same):
$ ( g++ crop.cpp -lmkldnn && MKLDNN_VERBOSE=1 ./a.out )
mkldnn_verbose,exec,reorder,jit:uni,undef,in:f32_nchw out:f32_nchw,num:1,1x3x16x16,0.000976562

I used the latest master. Could you please give it a try?
If it still fails, could you please share your HW and MKL-DNN building details.

Hi @emfomenk ,
I have tried using v0.17.2 on linux platform.
And my system configuration is Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz.
I have followed the below steps to build MKLDNN library:

Downloaded the v0.17.2 from MKLDNN release page.
Downloaded the mklml_lnx_2<IP_ADDRESS>81227.tgz and placed in external folder from MKLDNN root library
mkdir -p build && cd build && cmake .. && make

I will try with MKLDNN master and get back to you.
Thanks,
Hari


does yours variant of Thee library differs from original Pelia library?

Dear Mr Rausty,
Does yours librandroids-shmem code differs from The original library code from Pelia?
If yes, please tell Me how to compile it to run from Arch Linux aarch64 on Android by using Termux. I have found X11 sub folder in yours Github repo for this library. May be, that it contain new code or some changes.
I Am still using yours ArchLinux installation scripts and ArchLinux run like A charm thanks to it. Very well done. And thank you that you have added /dev/shm and sepcial tmp file which enumarate this special folder for sharing memory.
Thank you very much for yours answers.

Dear Mr Rausty,
Does yours librandroids-shmem code differs from The original library code from Pelia?

No it does not.

A charm thanks to it. Very well done

It is well supported; thank you


map() type inference incomplete

Code
const foo = [1, 2, 3].map(() => [1, 2]);
const bar = new Map<number, number>(foo)

Expected behavior:
No error.
Actual behavior:
Type error: Argument of type 'number[][]' is not assignable to parameter of type '[number, number][]'. In this case, foo will always be of the form [number, number][].

Essentially duplicate of #16360 (and several other related issues).  At the moment, tuple types are never inferred and have to be asserted.

In the case of Array.prototype.map, you can write
interface Array<T> {
  map<U, V>(callbackfn: (value: T, index: number, array: T[]) => [U, V], thisArg?: {}): [U, V][];
}
const foo = [1, 2, 3].map(() => [1, 2]);
const bar = new Map(foo);

which will resolve this specific error.


Sorting of collection deposits table by modified date not working correctly

When I try to sort the collection details table for https://sul-h2-stage.stanford.edu/collections/1103/works by modified date I get these two displays, presumably one for most recent to oldest and one for oldest to most recent. But neither of them look right.

@amyehodge I'm pretty sure this is because DataTable is default sorting by string. In order to date sort, especially in the format we're displaying, will require a plugin. From what I can tell, the currently available plugins require jQuery, which we've tried to avoid including.
The easiest option would be to format the data in an easily sortable way (i..e YYYY-MM-DD for example).
cc: @jcoyne in order to raise the issue of including jquery (or if you have any pointers here).
Thanks.

@aaron-collier our requirements here are going beyond off the shelf libraries, let's just build our own.

@jcoyne I'll kick this back to ready then, With STLP this week I don't want to hold this up from anyone else.


[Unified Recorder] Public API - document it from the perspective of the user

Something similar to https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/recorder/README.md

#21950


consider throwing an Error instance

https://github.com/alexbbt/read-last-lines/blob/master/index.js#L31
vs a raw string.  throwing an Error is more conventional, works w/ instanceof checks when sniffing for errors, gives a stack, etc etc. ex:
> throw 'err'
err
> throw new Error('err')
Error: err
    at repl:1:7
    at ContextifyScript.Script.runInThisContext (vm.js:23:33)
    at REPLServer.defaultEval (repl.js:340:29)
    at bound (domain.js:280:14)
    at REPLServer.runBound [as eval] (domain.js:293:12)
    at REPLServer.onLine (repl.js:537:10)
    at emitOne (events.js:101:20)
    at REPLServer.emit (events.js:189:7)
    at REPLServer.Interface._onLine (readline.js:238:10)
    at REPLServer.Interface._line (readline.js:582:8)
>

Thanks for pointing that out, it should be fixed now


Import “Path.to.own.script” could not be resolvedPylance (reportMissingImports) in VS Code using python 3.9x on Lubuntu 20.04

Environment data

Language Server version: Pylance v2020.12.2
OS and version: Lubuntu 20.04 LTS
Python version (& distribution if applicable, e.g. Anaconda): Python 3.9.0 (default, Nov 22 2020, 23:12:14)
[GCC 5.5.0] on linux, managed with pip, pyenv and pyenv-virtualenvwrapper installed via homebrew

Expected behaviour
Pylance doesn't show a warning when importing a custom module at the beginning of my current python-script:
import General.Misc.general_tools as tools
Actual behaviour
My python 3.9x - script (using VS Code on Lubuntu 20.04 LTS) starts with the following import of custom "tools":
import sys
sys.path.append(
    '/home/andylu/Dokumente/Allgemeines_material/Sonstiges/Programming/Python/Scripts/'
)

import General.Misc.general_tools as tools

Now, Pylance states Import "General.Misc.general_tools" could not be resolvedPylance (reportMissingImports) even though when executing the module is being imported perfectly fine.
Thus, to ensure making Pylance understand that this is an existing module-path, in addition to the sys.path.append(..) - approach, I added the following to the settings.json - file:
{
	...
	// Possible values: "Jedi", "Pylance", "Microsoft", "None".
	"python.languageServer": "Pylance",
	// NOTE on changing from microsoft to pylance language server: python.autoComplete.extraPaths --> python.analysis.extraPaths
	// Docs: https://github.com/microsoft/pylance-release/blob/master/TROUBLESHOOTING.md#unresolved-import-warnings
	"python.analysis.extraPaths": [
		"/home/andylu/Dokumente/Allgemeines_material/Sonstiges/Programming/Python/Scripts"
	],
	...
}

Yet, I still get the reportMissingImports-message even though it's correctly being imported.
A workaround I found here works well (appending # type: ignore to the import-statement):
import General.Misc.general_tools as tools  # type: ignore

Nevertheless, it's just a workaround which is why I'm looking to solve the root of this issue.
Code Snippet / Additional information

I asked this question several days ago on StackOverflow, but was recommended to file an issue here.
Notes on additional measures I tried:
I added export PYTHONPATH="$PYTHONPATH:/home/andylu/Dokumente/Allgemeines_material/Sonstiges/Programming/Python/Scripts" to my ~/.bashrc - file, which enables me now to import the module directly in a python-shell from terminal without the previous sys-path manipulation. This however applies only to the global system python environment, but not to any virtual environment.
In order to change the sys-path there, I followed these instructions, while my particular virtual environment "scrapy_course" is open, like so:
(scrapy_course) andylu@andylu-Lubuntu-PC:~/$ add2virtualenv /home/andylu/Dokumente/Allgemeines_material/Sonstiges/Programming/Python/Scripts

This command applies for virtualenvwrapper, which mananges virtual environments in conjunction with pyenv neatly.
Now, I can run my aforementioned script within the current environment even without the sys.path.append(...) prior to import the module, YET pylance still doesn't recognize the paths correctly and shows me the same warning as before.

Can you provide the logs that the issue template listed? https://github.com/microsoft/pylance-release/blob/master/TROUBLESHOOTING.md#filing-an-issue
It should be printing the search paths Pylance is using to resolve imports.
Note that we don't currently support PYTHONPATH (#275, WIP), so modifying that won't help. extraPaths should be getting you what you need.

Can you provide the logs that the issue template listed? https://github.com/microsoft/pylance-release/blob/master/TROUBLESHOOTING.md#filing-an-issue
It should be printing the search paths Pylance is using to resolve imports.

Do you refer to

Enable trace logging by adding "python.analysis.logLevel": "Trace" to your settings.json configuration file. Adding this will cause a large amount of info to be printed to the Python output panel.
?

This is what I did, but I have no idea where the logs are being sent and saved. Can you provide me some more info on that, please? Do I have to run the python script, start a debug session, or just let the file be analyzed by pylance?

Now, for some reason, it stopped throwing the warnings. I don't know how it got resolved, but I'm going to close this issue for now. Thanks for your help.

Now, for some reason, it stopped throwing the warnings. I don't know how it got resolved, but I'm going to close this issue for now. Thanks for your help.


Trim Section is not defined dynamically

The trim section is defined in a static way. It must be done dynamically depending on the binning and ROI.

In fact is so static that completely forgot Imaging. Solving this today.

Fixed this, for imaging it takes TRIMSEC from header.
Some testing is needed.

What happens to custom ROI?

Should we included a table of trim section values?

Let's is not worry about custom ROIs.  If somebody wants to use the pipeline for that, let them modify it themselves.  The documentation within the pipeline should allow users that want to go that way, to modify it to suit their very specific needs.   That is not the goal of the pipeline.

Then, rather than finding the values ourselves we should be adding built-in flexibility for instance with #102

There are no current issues with TRIM sections


Rgeo support (rgeo/activerecord-postgis-adapter)

Objects with a geom column from a spatial database (e.g. postgis with https://github.com/rgeo/activerecord-postgis-adapter are dumped, but the geom seems to be incorrect.
Example: https://gist.github.com/kofronpi/ebade6c9ef49369253a2380b59b77ca8
I will investigate further and edit this issue to explain more.

See https://github.com/rroblak/seed_dump/pull/116


Better breakpoint insertion detection

The debugger inserts stop statements anywhere that we see a breakpoint, even if it's not valid. We should detect whether it's valid or not.

Relates to #43


optionally deploy Azure Bastion Host from the base deployment

Description
This change introduces the examples/remoteAccess module into the base deployment, allowing a user to deploy Azure Bastion Host and the jumpbox(es) by specifying deployRemoteAccess=true and a value for linuxVmAdminPasswordOrKey at deployment time.
To demo this (it's easiest to use the .devcontainer to generate a password with openssl) try:
my_password=$(openssl rand -base64 14)

az deployment sub create \
  --name "myRemoteAccessDeployment" \
  --location "eastus" \
  --template-file "src/bicep/mlz.bicep" \
  --parameters deployRemoteAccess="true" \
  --parameters linuxVmAdminPasswordOrKey="$my_password"

If a user attempts to set deployRemoteAccess=true but forgets to supply a password like this:
az deployment sub create \
  --name "myInvalidRemoteAccessDeployment" \
  --location "eastus"
  --template-file "src/bicep/mlz.bicep" \
  --parameters deployRemoteAccess="true"

template validation will helpfully fail:
{
  "error": {
    "code": "InvalidTemplate",
    "message": "Deployment template validation failed: 'The provided value for the template parameter 'linuxVmAdminPasswordOrKey' at line '311' and column '21' is not valid. Length of the value should be greater than or equal to '14'. Please see https://aka.ms/arm-template/#parameters for usage details.'."
  }
}

Issue reference
The issue this PR will close #361
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles or validates correctly
[ ] BASH scripts have been validated using shellcheck
[x] All tests pass (manual and automated)
[x] The documentation is updated to cover any new or changed features
[x] Markdown files have been linted using the recommended linter. (See .vscode/extensions.json.)
[x] Relevant issues are linked to this PR

Moved to draft so I can move the components into the /modules dir

Moved to draft so I can move the components into the /modules dir

Ready for review, removed the draft tag.


[DOCS]

I think the doc can be improve in many ways.

Use semantic ordered list for the instructions, instead of #1 or #2
Remove the comments which are in parentheses. As, if you click on the copy button, they also get copied. Bad UX.
Add steps like cd <project-directory> to remove any confusion

For reference here's how tailwindcss.com does it.

It's simple & to the point. Any feedback is welcome.

I'd like to work on it. @ykdojo could you assign me this

It looks like it didn't show up on the commit history?

Yes, because I discarded the commit and closed the PR. I send another PR.


[TEST] Enable cypress Jenkins Job for daily-run and support different branches

What's the test to develop? Please describe
We want harvester-cypress-* Jenkins jobs supports:

Daily run
Test on different branches

Describe the items of the test development (DoD, definition of done) you'd like

[x] Setup a new cypress testbed (For not to affect the production one).
[x] On staging Jenkins, can successfully run harvester-cypress-test.
[ ] Add field to test harvester-ui-extension
[ ] Enable periodic run

Additional context
n/a

Setup a new cypress testbed (For not to affect the production one).
Can successfully run harvester-cypress-test and harvester-cypress-run-test.


Add caisq as code owner for tfdbg-related folders

Thanks @caisq. I included this change in the batch update. Closing this.


New app KEXPlaying

Description
The pull request creates a new app KEXPlaying which shows the now playing song, artist, and other info from 90.3 FM KEXP / kexp.org. It uses their publicly available API to pull the data and uses the ttl_seconds method for caching set at 120 seconds to allow for near-realtime information as songs are played without being overly slow or aggressive.
Copilot

🤖 Generated by Copilot at 25776c6
Summary
🐛📝🎮

This pull request adds and updates the kexplaying applet, which demonstrates how to use the KEX library for Tidbyt. It adds comments to the applet files, fixes a bug in the addTwoNumbers function, and creates a manifest.yaml file with the applet metadata.

Oh we're the coders of the Tidbyt, and we work both night and day
We fix the bugs and write the docs, and we always get our pay
We changed the addTwoNumbers to make it add, not take away
And we added a manifest.yaml for the KEXPlaying app, hooray!

Walkthrough

Fix the logic of the addTwoNumbers function in example.py by using addition instead of subtraction (link)
Add a comment to example.py to mark it as a sample file (link)
Create a manifest.yaml file for the KEXPlaying applet with the required metadata (link)
Write a kexplaying.star script that displays the current song and artist information from KEXP 90.3 FM and kexp.org (link)
Add a comment to kexplaying.star to describe its purpose (link)
Add a README.md file for the KEXPlaying applet with a brief introduction and instructions (link)

I have read the CLA Document and I hereby sign the CLA

recheck

Copilot appears to have generated some ideas of what this app does not do, probably from the 'kex' portion of its name. The description is accurate, the Copilot summary is not so much.


UniProtKB IDs are showing up as source RNA central

RNA central should never be of type protein:

E.g.

Clicking SALL3 here, we actually have the type correct here:
http://amigo.geneontology.org/amigo/gene_product/UniProtKB:Q9BXA9

I'm perplexed as to how this is happening
the code here looks sound:
https://github.com/owlcollab/owltools/blob/452b4aa12665c79b94629d2e76b6b643a88e4537/OWLTools-Solr/src/main/java/owltools/solrj/GafSolrDocumentLoader.java#L240-L255

Sometimes AmiGO is a little erratic. I redid what I think you did and it seems OK

Hum no our queries are not the same.

odd, I can't reproduce...

odd, I can't reproduce...


[RandomNumberGeneration] New task: generate a random number between N and M

We can reuse task 3 and add repeat-until-success loop to discard numbers less than N or greater than M, similar to how the Microsoft Learn module does it.

I would love to work on this.

I think this task might be too easy for you :-) I'm filing a bunch of easy to start with issues with an eye towards Hacktoberfest, so that if a new contributor walks in looking for something to try their hand at, they'd have something non-daunting to do.
I appreciate your enthusiasm, but I'd suggest to leave those easy issues (the new ones marked as "good first issue") as an opportunity for first-time contributors. Meanwhile I'm trying to catch up on reviewing your existing PRs so that you'd have something to do :-)

Hey can I work on this ?

@Yash-g17 Sounds good! Let us know if you need any pointers regarding the process.
(I would recommend to send the actual pull request in October, so that it counts for Hacktoberfest :-) I've been part of this event for several years, and I like it a lot)

Tysm :)

Hi,
I have a quick question. Do we need to add a completely new package with the test suite or just add in an existing package. I can find a code file doing random number generation ReferenceImplementation.qs
Can you please guide me through this

Hi @Yash-g17,
To add a task to an existing Kata you do not have to create new packages or files.
You have to add the task to the Jupyter notebook, this is the part where the user will interact with the new task. Next the actual solution should the added to the ReferenceImplementation.qs file.
Lastly, you have to add a unit test to Test.qs, which will compare the solution given by the user in the Jupyter Notebook and the reference implementation.
If you have anymore question don't hesitate to ask.

A quick note: there is also the Tasks.qs entry which is a different front-end for the task, that matches the operation signature in the notebook (without it the Q# project won't compile). You can find the examples in the tutorial - just look for an entry for the task 1 in each file, and see how operations are named (names are important to make sure all pieces work together) and what they do.
Now that I think of it, we don't actually have a list of all the pieces that go into adding a new task documented in the contributor guide, we're relying on ample examples... Let me open an issue to document that.

I hope this issue is not very urgent, I'm quite busy with my assignments and tests right now, I'll create a pull request as soon as I'm done with them.

Hi,
Not urgent, but Hacktoberfest only runs to the end of October 😃.

I'm afraid due to less familiarity with jupyter notebook and Q# language , I won't be able to complete the task even after spending a lot of time with the issue , I deeply regret for all the inconvenience caused and would like to withdraw myself from this for other hacktoberfest aspirants while the time allows .

Hi, @tcNickolas, I have added the new task in #549. Check it out it.


Rewards history UX tweaks

The Chore
The reward history table currently sums up rewards over a range specifed in the selectir.  This is sort of nice but sort of not.... suggestions
Tasks

[ ] Add a toggle for "show details" vs "show summary"

[ ] In show detail mode just duplicate the entire grid for each epoch and show a header, and allow paging between them, including moving to a specific epoch if the user wants to
[ ] In show summary mode follow existing behaviour

[ ] You cannot currently type an number into the TO selector so if you want to move that a long way you have to click many times

Additional details / background info

@JonRay15 can we get a few more details or a quick sketch of how you see this working


Doc links not resolving

This must be a recent change because crate links like https://rusoto.org/rusoto/rusoto_core/index.html previously worked

Yup, my bad, when trying to remove the outdated and misleading copy of our gitbook, I managed to muck it up.
Working on fixing it!
In the meantime, the docs for published versions are available on docs.rs.

Should be all fixed up. I may have to do more tweaks to accomplish my goal of cleaning up our old gitbook, but I will hopefully not blow things up again.

Chrome's caching of redirects got me all messed up, but everything appears to work now.
Ticket causing the issues: https://github.com/rusoto/rusoto.github.io/issues/80 . Now done! 👍

Ah, one thing to note: with the CNAME messing I did with the https://github.com/rusoto/rusoto.github.io repo, the actual link is https://rusoto.github.io/rusoto/rusoto_core/index.html .
With the CNAME incorrectly in place it was redirecting to https://rusoto.org/rusoto/rusoto_core/index.html . Note the difference in domains. As far as I know, we haven't had our API docs available on rusoto.org, just rusoto.github.io . Tricky to follow and not the first time we've run into confusion. A recent clarification is here: https://github.com/rusoto/rusoto/issues/904#issuecomment-354936212 .


ci(github): commit parity check for PRs should show what is wrong

Description
I dogfooded the PR commit message parity check and could not figure out what the problem was (e.g. what was different in my PR description vs my commit message).
The pull request where the check is failing despite my best effort to sync up the description and the commit message:
https://github.com/hyperledger/cacti/pull/3456
Acceptance Criteria

The custom check should show what's exactly different between the two texts that its comparing so that it's quickly obvious to the contributor what they need to change and where.
The nicest would be to show a diff like this screenshot below (or something equivalent that can be rendered as text). With that said, anything that efficiently conveys the required information will do since our time and resources are limited and we cannot put images in the GitHub CI logs anyway.

I am working on this

@petermetz I will make the checks looser while keeping the check relevant (It would be very irritating working on a task, creating a PR and then getting stuck comparing and fixing the PR and the related commit.)

@jagpreetsinghsasan Thank you for the work on the improvements in advance! I thought about it a little more and would strongly recommend to refactor it to be less strict by only demanding a certain level of string similarity, otherwise it will probably just end up being super annoying 90% of the time for contributors in the cases when they just have some silly typo making a difference.
I found this library that looks very versatile and perfect for the task:
https://www.npmjs.com/package/string-similarity-js
Specifically I would recommend the custom check to have a 90% (0.9) similarity ratio demand by default (so maybe they won't be the exact same but as long as at least they are mostly the same we can be OK with it as a best-of-both-worlds tradeoff.
The other thing: It would be very handy to be able to configure the threshold from an env variable so that later on if we find that a higher or lower threshold is better, we don't have to touch the code at all just set the env var in ci.yaml or somewhere else where the job is defined (technically still a code-change I know, but it's in the yaml not in the actual logic)

Oh wow. This looks like a perfect solution to do a looser string matching. I will incorporate the same with a variable input of similarity ratio. Thanks @petermetz for the insights

@jagpreetsinghsasan You got it! Thank you as well!


Enhancement: Application buttons

Once again I'm coming back to the topic of buttons.
While testing @ZombieJuanma's "El misterio de la Mansión Coleman" scenario I encountered the following "issue":

Look at the top right corner; the Delete button covers the title.
I'm thinking that it might be a good idea to create a set of self-explanatory icons which would be used instead of text buttons. Not only they would be smaller but may also look a bit nicer than a raw text. They could look in a similar manner as the existing play/delete/update icons.
Just a brief presentation:

vs

Do you think it is a good idea or not?

Yes, I think it's a good solution to avoid that issue ;)
El dom., 5 may. 2019 a las 23:41, chrismaliszewski (<
<EMAIL_ADDRESS>escribió:

Once again I'm coming back to the topic of buttons.
While testing @ZombieJuanma https://github.com/ZombieJuanma's "El
misterio de la Mansión Coleman" scenario I encountered the following
"issue":
[image: image]
https://user-images.githubusercontent.com/7532602/57200119-8ddb6f00-6fdb-11e9-97e8-c41f2caf4d15.png
Look at the top right corner; the Delete button covers the title.
I'm thinking that it might be a good idea to create a set of
self-explanatory icons which would be used instead of text buttons. Not
only they would be smaller but may also look a bit nicer than a raw text.
They could look in a similar manner as the existing play/delete/update
icons.
Just a brief presentation:
[image: image]
https://user-images.githubusercontent.com/7532602/57200699-009c1880-6fe3-11e9-9d1e-56874d43060a.png
vs
[image: image]
https://user-images.githubusercontent.com/7532602/57200708-13aee880-6fe3-11e9-8140-1db953bdae28.png
Do you think it is a good idea or not?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NPBruce/valkyrie/issues/1160, or mute the thread
https://github.com/notifications/unsubscribe-auth/AL33VDM326G2CPZU3M6VMTTPT5IA3ANCNFSM4HK4HN7Q
.


Where is the list of endpoints supported by the LZA? RDS is missing from the example?

Is your feature request related to a problem? Please describe.
I'm reviewing the list of centralized endpoints in our new landing zone and making sure to enable the ones we'll want/need.  I noticed that RDS is missing from the list of commented-out endpoints.  We got our initial config from Proserv, which had a long list of endpoints commented out that matches very closely with the example from this repo: network-config.yaml
Does RDS being missing mean it's not supported? Is it just an oversight?  Where do I find the list of supported services, and, more importantly, the config value (service name slug, etc) I'm supposed to use for any service not already listed in the file?  Related: #84
Describe the feature you'd like
I somehow need an authoritative list of AWS service endpoints supported by the LZA. If the commented list in the network file IS the list, please explicitly state so.
Additional context
Add any other context or screenshots about the feature request here.

Hello @roncanepa, and thanks for reaching out to the LZA team!
Due to the frequently evolving nature of interface endpoints, we do not keep an active list of supported endpoints in our sample config or source code. Theoretically, the engine can support any service endpoint that is documented here. The service name that should be input into the configuration file is the suffix after com.amazonaws.region.
One thing to note is there is not always regional parity of features for interface endpoints, namely endpoint policies. Presently, our engine assumes that endpoint policies are supported on all endpoints with the exception of the following services. We welcome any enhancement requests if this list changes/needs modification.
I hope that information is helpful! We appreciate your feedback regarding the documentation, and we are working to improve our config API reference in forthcoming releases. Please let us know if there's anything more I can do to help here.

Thank you for all your help, @awsclemj , I appreciate it.  This is good enough to help me out for now.


Benchmark costs on Dyme subscription

Created a batch account on the Dyme subscription:
<EMAIL_ADDRESS>Significant better quotas wrt to personal accounts: 350 dedicated vPCU on a Pool, can actually run more jobs in parallel.
Associated storage account:
<EMAIL_ADDRESS>

We've spent ~£20 running around 34 LADs for around 24 hours (of which 15 failed in the first hour), and the rest took over 12h to run.
It is not clear to me yet if we get charged the same way if the job finishes and the pool stays open, as it happened with the jobs that failed. In any case, running the 3 nations would cost something between 200 to 400£.


Use EditorConfig checker on known file types

Lots of code editors and IDEs support .editorconfig by default but we had a problem:

Didn't check .yaml files added via The GDS Way: Code style guides
Didn't check .cjs, .mjs that JavaScript now supports
Lots of little fixes needed (see PR https://github.com/alphagov/govuk-frontend/pull/3201)

I've included EditorConfig ~ESLint plugin~ checker to do these checks on PRs too

Cheers for tidying the .editorconfig. 😊  I'm not sure checking it's applied should be done via ESLint, though, as that limits it to JS files. Maybe we could bring in editorconfig-checker to have a look at the entire codebase?

Cheers for tidying the .editorconfig. 😊 I'm not sure checking it's applied should be done via ESLint, though, as that limits it to JS files. Maybe we could bring in editorconfig-checker to have a look at the entire codebase?

What a great idea 😅
It found lots of little fixes so I've moved them to:

https://github.com/alphagov/govuk-frontend/pull/3201

Rebased with main so we can discuss Prettier more without it being a blocker:

https://github.com/alphagov/govuk-frontend/pull/3201

Some of our .editorconfig changes will benefit wider GDS too so I've opened:

https://github.com/alphagov/gds-way/pull/789


Fix/order fullfull availble quantity

I want to merge this change because...

PR intended to be tested with API branch:
Screenshots

Pull Request Checklist

[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] Translated strings are extracted.
[ ] Number of API calls is optimized.
[ ] The changes are tested.
[ ] Type definitions are up to date.
[ ] Changes are mentioned in the changelog.

Hey @wael-mohamed, can you provide more information about the issue? E.g. screenshots before/after and what exactly is the problem with the current code.


beatLength, bpm calculation is wrong when bpm is > 10000 or bpm <1

As I can see you are refering to osu!stable. Unlike osu!stable, in osu!lazer the beat length values are limited from 6 to 60 000 which means you can't have BPM below 1 or above 10 000. You can verify this yourself by looking at the game’s source code or simply by opening the map editor in osu!lazer. I don't think I can change that because it can affect star rating calculation, but I can expose raw value as a different property if you really need it.

Expose RawBeatlength Yes Please!

Expose RawBeatlength Yes Please!

New properties already available in the newest update.
You can use beatLengthUnlimited and sliderVelocityUnlimited to get full values. I want to add that osu!mania uses effect points and scroll speed rather than difficulty points and slider velocity. Scroll speed also has it's unlimited variant


Add support for assume_role_ttl in config profiles

As AWS allows for configuration of maximum session duration per-role it seems appropriate and useful to be able to set this per-profile in the AWS config.
Also adds documentation for the environment variables AWS_SESSION_TTL and AWS_ASSUME_ROLE_TTL.

@devonbleak 	sorry for the delay. Looks good to me. Thanks!


VsCode stop debugging dotnet core applications anymore

I was start to develop dotnet core based web api projects.
But suddenly I couldn't debug it anymore (For any dotnet core apps)
I just check a few things. I don't think it's about my sdk versions but here is the result of
dotnet --list-sdks
2.1.804 [/usr/share/dotnet/sdk]
3.1.200 [/usr/share/dotnet/sdk]
I found something in my Log(Window) section and I just wondering what's this about ? I googled it but I couldn't find any information about that
[renderer1] [error] timeout after 500 ms: Error: timeout after 500 ms
at t.RawDebugSession.handleErrorResponse (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2953:952)
at file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2953:250
at async t.RawDebugSession.shutdown (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2951:336)

VSCode Version: 1.43
OS Version: Linux x64 5.3.0-42-generic

Does this issue occur when all extensions are disabled?: May be

Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

Well done. Bot answering ... But the problem is not even close.


[Request] Flux.1 Schnell & Aura

Request you to add the the following weights:
black-forest-labs/FLUX.1-schnell

We would also need the clip, text encoder, and VAE assets:
CLIP=https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors
TEXT_ENC=https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors
VAE=https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/ae.sft
MODEL=https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/flux1-schnell.sft

In the models/ directory, the above should be installed in clip, clip, vae, unet, respectively.
.sft and .ae should be renamed to .safetensors and .vae.

flux is now available

https://huggingface.co/XLabs-AI/flux-RealismLora/tree/main 🥺👉👈

@mirkancal Could you make a new issue for this request?

I'm on it :)


CI Jobs are timing out in the restructured-pipeline

With the new changes we're running functional tests and single root worksapce tests in the same job.
Unfortunately both are slow on windows.

Functional tests >10 minutes
Single root workspace tests ~= 50 minutes
Job has a timeout of 60 minutes

Hence the jobs are cancelled before completion.
We'd need to split them into two separate jobs or increase the timeout.
Increasing timeout only causes the entire pipeline to run slower.
I.e. two separate jobs results in parallelized jobs = faster.
Bug as this now causes jobs to fail cancel out, which didn't in the past.
Also, if there are failures in the tests, these won't be reported anymore, as the whole job has been cancelled

May be we should also increase the Max Parallel. Currently it is 2, and it should be more.

May be we should also increase the Max Parallel. Currently it is 2, and it should be more.

Sure, i'll create a separate PR, or we need a new issue for that fix.

Oh sorry, @karthiknadig that's fine, I though this was my PR, hence asked for a separate issue for the change.

For the PR pipeline it would be better if we could increase the timeout instead of splitting the job up.  The job is not a required one so folks don't need to wait for it if the PR changes don't necessitate that level of validation.  If we split the job then that is 1 extra build agent we are using every time a PR gets created or updated.
For the other pipelines (not sure they are affected), splitting it would be fine.

May be we should also increase the Max Parallel. Currently it is 2, and it should be more.

Keep in mind that increasing the max parallel setting will mean we are using more agents, which is what we were trying to improve.
Also, increasing the max parallel value shouldn't impact timeouts, so I don't see the value in doing so.  If folks are running the CI (or other) pipeline manually and that is taking too long then we should have a separate manual-only pipeline with a higher max parallel value.  In fact, I already added a build/ci/vscode-python-ci-manual.yaml and it only needs to be set up on AzDO.

As I mentioned elsewhere, I'm sure that splitting the job back into 2 would be fine.
FWIW, my only concern is that the repo has any PR-gating CI jobs that take more than a few minutes to run.  At some point we need to have our unit test coverage to the level that we can confidently rely on it almost exclusively for gating PRs (with perhaps a handful of fast functional tests to cover OS-specific behaviors).  However, that's a discussion for a different forum. :smile:

Validated


'MySocialApp', '~> 1.0.14' version update issue

I can't update the new version (1.0.14)
When I try pod update

I got this error
"CocoaPods could not find compatible versions for pod "MySocialApp":
In Podfile:
MySocialApp (~> 1.0.14)"

@Gobountz Thank You
But I still got same error , when I use 'MySocialApp', '~> 1.0.14'  pod update


libfido2: build only Linux

Motivation for this change
An attempt to fix the failed evaluation in https://github.com/NixOS/nixpkgs/pull/80196.
We should build libfido2 with systemd only on Linux.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

No go anyway, libfido2 doesn't play well with darwin's libtool.
Filled a bug in https://github.com/Yubico/libfido2/issues/127
Disabling darwin support for now.


InBrain version 2.0.0 won't build on iOS

Hello,
building iOS ipa will always fail when using InBrain version 2.0.0 with error message: Build input file cannot be found: 'path/to/xcode/project/Libraries/Plugins/iOS/InBrainSurveys/Source/InBrainSurveys-Bridging-Header.h'. Did you forget to declare this file as an output of a script phase or a custom build rule which produces it?
I may have missed something from the documentation but I only found that all that needs to be done is import .unitypackcage (apart from the actual implementation).
Furthermore renaming folder InBrainSurveys_SDK_Swift in Plugins/iOS to InBrainSurveys fixes the issue but the issue I mentioned here is still present.
Unity version: 2020.3.38.f1
InBrain version: v.2.0.0

Hello @jsvitek  - thanks for reporting this!
We will take a look at the trouble and fix that asap! Will keep you posted!

@jsvitek The .unitypackcage for InBrain SDK v2.0.0 doesn't contain InBrainSurveys_SDK_Swift folder anymore (it was actually renamed to InBrainSurveys in the most recent release). I guess this issue could arise after updating the plugin from some older version, so you can try to remove it from the project and reimport

Hi @tustanivsky, we were indeed updating from 1.5.0 to 2.0.0. After firstly removing the previous version in the project and reimporting it anew the mentioned issue is resolved. The other one will hopefully be resolved in the separate thread.
Thanks a lot for your help


Crash when supplying too large mesh

Similar to too large textures previously, we have issues with too large buffers. Easiest way to get a too large buffer is to supply a too large mesh through any api.
Just as before we need more extensive vetting of user supplied data and need to tell wgpu to allow the largest possible buffer.

I tested this:
    rec.log(
        "big",
        &rerun::Mesh3D::new(vec![[0.0, 0.0, 0.0]; 1_000_000_000]),
    )?;

and got no crash, at least not on the native viewer.
It seems like the limit is pretty large, and this issue is more theoretical than the texture size limit

@roym899 do you remember how you got this issue? I missed to write the down the exact circumstances

default max buffer size is speced at 256mb https://www.w3.org/TR/webgpu/#limits
so yeah it gotta be a very large mesh, but it can happen :)

Looks like we can also hit this limit when supplying a lot of plot data. The crash then happens when egui tries to resize its staging buffer for uploading the data
thread 'ThreadId(1)' panicked at 'Failed to create staging buffer for index data'
egui-wgpu/src/renderer.rs:834


Run the Embroider "safe" and "strict" scenarios in CI

This adds the Embroider safe and strict scenarios to Woodpecker again. They are allowed to fail since there are still some issues (which can be resolved in separate PRs. Once they succeed again we can add them to the other ember-scenarios job.

CI seems to fail because there is no changelog change but this is not something that affects the consumer? Is a changelog entry always required?

yeah we don't do CI changes very often, so we didn't get around to adding an exception for it, and yeah I just add a CL entry if I do make a CI change
What should and should not go into the CL is a debate we don't really have the energy for :stuck_out_tongue:

Yea, that's fair. I just prefer changelogs that aren't noisy for consumers 😄. Anyway, I can also just ship this change as part of the other PR. That one has a changelog entry already. Or do you prefer to keep them split up (with a new entry for this one).

no combining is fine :)

Closing and including this change in #953


feat(typeahead): BREAKING CHANGE switch to ngBindHtml

Remove usage of bindHtmlUnsafe in typeahead
Integrate usage of $sce in combination with ngBindHtml

Plunker demonstration here.
This addresses #4073.

I had forgotten about #3463.


Unable to copy images from images.linuxcontainers.org:8443

Hi,
It's been a while since i've last used lxd. So, today i tried to check things out again and to my surprise the following command is failing:
$ lxc image copy lxc-org:ubuntu/wily/amd64 local: ubuntu_15.10
error: wrong number of subcommand arguments

When i check the status like so:
$ systemctl status -l lxd
● lxd.service - Container hypervisor based on LXC
   Loaded: loaded (/lib/systemd/system/lxd.service; indirect; vendor preset: enabled)
   Active: active (running) since Tue 2015-11-03 10:01:36 EET; 32min ago
 Main PID: 809 (lxd)
   Memory: 400.0K
      CPU: 2ms
   CGroup: /system.slice/lxd.service
           ‣ 809 /usr/bin/lxd --group lxd --logfile=/var/log/lxd/lxd.log

Nov 03 10:01:36 Base systemd[1]: Started Container hypervisor based on LXC.
Nov 03 10:11:47 Base lxd[809]: t=2015-11-03T10:11:47+0200 lvl=eror msg="Failed to download image metadata" image=2074453abb29a317de60394c54eaa0d0bb46ac69174ee376aa491c7dfcc4c8c4 err="Get https://images.linuxcontainers.org:8443/1.0/images/2074453abb29a317de60394c54eaa0d0bb46ac69174ee376aa491c7dfcc4c8c4: Unable to connect to: images.linuxcontainers.org:8443"

It tells that there is no connection to images.linuxcontainers.org:8443
Yet running wget on the URL it was trying to reach works out fine. For instance,
$ wget https://images.linuxcontainers.org:8443/1.0/images/2074453abb29a317de60394c54eaa0d0bb46ac69174ee376aa491c7dfcc4c8c4 -O -
--2015-11-03 10:39:44--  https://images.linuxcontainers.org:8443/1.0/images/2074453abb29a317de60394c54eaa0d0bb46ac69174ee376aa491c7dfcc4c8c4
Connecting to <IP_ADDRESS>:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 517 [application/json]
Saving to: ‘STDOUT’

-                                                     0%[                                                                                ]       0  --.-KB/s             {"metadata": {"expires_at": 0, "aliases": [{"description": "", "target": "ubuntu/wily/amd64/default"}, {"description": "", "target": "ubuntu/wily/amd64"}], "uploaded_at":<PHONE_NUMBER>, "properties": {"description": "Ubuntu wily (amd64)"}, "fingerprint": "2074453abb29a317de60394c54eaa0d0bb46ac69174ee376aa491c7dfcc4c8c4", "architecture": 2, "created_at":<PHONE_NUMBER>, "filename": "ubuntu-wily-amd64-default-20151103_03:49.tar.xz", "public": 1, "size": 77535144}, "type": "sync", "status": "Success", "status_code": 200}
-                                                   100%[====================================================================================================================>]     517  --.-KB/s   in 0s

2015-11-03 10:39:46 (34.9 MB/s) - written to stdout [517/517]

One thing to note is that I am behind a proxy and the environment vars http_proxy and https_proxy have been configured correctly (E.g. wget above works).
Would someone know what I am missing in order to get the image copy command to work?

On Tue, Nov 03, 2015 at 12:42:06AM -0800, kkptNinja wrote:

Hi,
It's been a while since i've last used lxd. So, today i tried to check things out again and to my surprise the following command is failing:
$ lxc image copy lxc-org:ubuntu/wily/amd64 local: ubuntu_15.10
error: wrong number of subcommand arguments

When i check the status like so:
$ systemctl status -l lxd
● lxd.service - Container hypervisor based on LXC
   Loaded: loaded (/lib/systemd/system/lxd.service; indirect; vendor preset: enabled)
   Active: active (running) since Tue 2015-11-03 10:01:36 EET; 32min ago
 Main PID: 809 (lxd)
   Memory: 400.0K
      CPU: 2ms
   CGroup: /system.slice/lxd.service
           ‣ 809 /usr/bin/lxd --group lxd --logfile=/var/log/lxd/lxd.log

Nov 03 10:01:36 Base systemd[1]: Started Container hypervisor based on LXC.
Nov 03 10:11:47 Base lxd[809]: t=2015-11-03T10:11:47+0200 lvl=eror msg="Failed to download image metadata" image=2074453abb29a317de60394c54eaa0d0bb46ac69174ee376aa491c7dfcc4c8c4 err="Get https://images.linuxcontainers.org:8443/1.0/images/2074453abb29a317de60394c54eaa0d0bb46ac69174ee376aa491c7dfcc4c8c4: Unable to connect to: images.linuxcontainers.org:8443"

It tells that there is no connection to images.linuxcontainers.org:8443
Yet running wget on the URL it was trying to reach works out fine. For instance,
$ wget https://images.linuxcontainers.org:8443/1.0/images/2074453abb29a317de60394c54eaa0d0bb46ac69174ee376aa491c7dfcc4c8c4 -O -
--2015-11-03 10:39:44--  https://images.linuxcontainers.org:8443/1.0/images/2074453abb29a317de60394c54eaa0d0bb46ac69174ee376aa491c7dfcc4c8c4
Connecting to <IP_ADDRESS>:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 517 [application/json]
Saving to: ‘STDOUT’

-                                                     0%[                                                                                ]       0  --.-KB/s             {"metadata": {"expires_at": 0, "aliases": [{"description": "", "target": "ubuntu/wily/amd64/default"}, {"description": "", "target": "ubuntu/wily/amd64"}], "uploaded_at":<PHONE_NUMBER>, "properties": {"description": "Ubuntu wily (amd64)"}, "fingerprint": "2074453abb29a317de60394c54eaa0d0bb46ac69174ee376aa491c7dfcc4c8c4", "architecture": 2, "created_at":<PHONE_NUMBER>, "filename": "ubuntu-wily-amd64-default-20151103_03:49.tar.xz", "public": 1, "size": 77535144}, "type": "sync", "status": "Success", "status_code": 200}
-                                                   100%[====================================================================================================================>]     517  --.-KB/s   in 0s

2015-11-03 10:39:46 (34.9 MB/s) - written to stdout [517/517]

One thing to note is that I am behind a proxy and the environment vars http_proxy and https_proxy have been configured correctly (E.g. wget above works).
Would someone know what I am missing in order to get the image copy command to work?

Looks like it was just a small oversight, as we didn't have LXD look
for a proxy. Once the branch I just sent is merged, assuming you have
the right configuration set in LXD's environment, it should work
correctly.
Thanks!

Reply to this email directly or view it on GitHub:
https://github.com/lxc/lxd/issues/1264


[Fixes]: Adding an error message for non-existent clippy id #20

Fixes: #20
Title
Added toast message for invalid clippy Id
Description
Added a route to check for if the given clippy is valid or not, if invalid a toast will appear else it will continue to fetch the message
Checklist

[X] I have tested the changes locally
[ ] Documentation has been updated (if necessary)
[X] Changes are backward-compatible

Screenshots (if applicable)

Additional Notes

Footer

Getting Build Errors

@subinoybiswas I am getting the same issue for createClippy route also. Can you give me some idea how to solve it.

@subinoybiswas I am getting the same issue for createClippy route also. Can you give me some idea how to solve it.

It is saying there is some issue with the mongodb uri as connection string but the uri is completely working

Not quite sure, make a temp mongodb in local and test
Use this for reference


Error displayed at production env, yii\web\DbSession, line 184

What steps will reproduce the problem?

Error logged to error log (error_log()) and NO output to browser (no echo())
What do you get instead?
Error displayed
Additional info

Q
A

Yii version
2.0.8

PHP version
7.0.7-1

Operating system
Debian

Go deeper

File vendor/yiisoft/yii2/web/DbSession.php
Line 184 echo $exception;
Why? :smiley:

It's not possible to move any further with the data provided. How to reproduce it?

please also provide the stack trace of the error

Is your application using on one server or are multiple servers using the same database?

I have the same issue. I just want to disable any errors display on production, but can't do it.
I set YII_DEBUG to false, YII_ENV to prod, created light layout for errors. But can't avoid that message after template is rendered.

@samdark & @cebe use mater/slave + time lag or ather problem

@pastuhov do you have master/slave for sessions?

Example to reproduce issue:

Add this code to controller's action

\Yii::$app->session->get('azaza');
return;

Change user name for database connection.
Set YII_DEBUG to false
Refresh page

You will get the error Database Exception: SQLSTATE[42000] [1044] Access denied for user 'X'@'localhost' to database 'Y' at the and of page.
Disabling any errors is useful on production server. User shouldn't be able to see such detailed information for security reasons.

I cannot reproduce that:

Ah, indeed it's in the page source.

Fixed. Thanks for helping with reproducing it.


PRs quality

It came to my attention that some users are submitting PRs that are resulting in inconsistent YAML files or spam, so I thought I should raise this as an issue. It is a quality matter from my point of view. How can we control this?
Example 1:

I submitted this PR for Bot Framework Composer 1.1.1
User with handle DW-42 submitted this update PR claiming it is to make things consistent, while this PR actually removed the word Corporation from the publisher, making it inconsistent, and also changed the homepage url to Bot Framework homepage instead of Bot Framework Composer homepage.
I submitted this fix PR to fix the homepage url.

Example 2:

User with handle DW-42 submitted this update PR claiming it is to make things consistent, while this PR actually removed the word Corporation from the publisher, making it inconsistent, and also changed the homepage url to a wrong one.
I submitted this PR for Bot Framework Composer 1.2.1
User with handle DW-42 submitted this update PR claiming it is to make things consistent, while this PR actually added the word Corporation to the publisher, contradicting their own previous PR of actually removing the word Corporation from the publisher, and also changed the homepage url to the documentation page instead of the homepage.

I'm going to move this issue to Discussions. I think there are several different areas we can begin to tackle. My hope is that the discussion will uncover opportunities to improve how validation works. We also have a feature coming to allow verified publishers to manage their manifests.
We also have some current challenges with how list maps packages by their manifests against their entries in Add / Remove Programs in Windows 10. I've made several changes to publisher and package names in manifests to improve the matching. In some cases that meant adding or removing words like "Team", "Corporation", and other associated words for publishers and packages.


Tablet mode for Windows 11

Description of the new feature / enhancement
Add a tablet mode feature that will make all windows maximized like in Win8/10.
This should have an option to activate automatically when keyboard is detached as well manually.
Leaving this mode should restore original window positions.
Bonus points for supporting touch friendly split screen/window docking.
Scenario when this would be used?
Win11 window management on tablets is a complete shitshow and makes Surface tablets super frustrating to use in tablet mode, especially when switching between desktop mode. Having this in Power Toys would make Windows tablet devices at least semi-usable.
Supporting information
This might be just a small addition to fancy zones?

First step would be to implement #20257

Windows is currently testing a tablet optimized taskbar in the windows insider program. Other feedback should go to /feedbackhub

But taskbar has nothing to do with window management.
Also given that actual tablet mode was just removed there is little chance they'll bring it back based on Feedback Hub. Meanwhile PowerToys is supposed to plug such gaps and already has almost all the hard parts of the code.
Please reconsider.


Full width background image layout

Great work Vincent! Some weeks ago i wondered how to make use of material in apex regions.
Then i saw your post on apex.world :)
Is it possible to achieve this layout with the current version?
If not it would be great to have!
I tried some custom css but it got pretty ugly.

Absolutely. Have a look at: https://apex.oracle.com/pls/apex/f?p=12192:35:::NO:::
I can help if needed. Let me know if I can close this issue.

Have a look at my workspace:
https://apex.oracle.com/pls/apex/f?p=65035:35
I tried to use parallax with a sub region (section/container) and setting the image to
<img src="&DOCS_PATH.img/parallax1.jpg" style="z-index:-99">
The problem is that you can't interact with the content (click button or select text)

Thank you, this is definitely a bug. Will look into it.


PomBase publications update

add
https://royalsocietypublishing.org/doi/10.1098/rsob.200149
to
https://www.pombase.org/about/published-by-pombase

Done!
Let me know if it doesn't look OK.

should I see it now?

Ah I see it. The newer ones usually go at the top ;)

The newer ones usually go at the top ;)

Fixed!


Fix link to project guidelines in README

Just a typo in the markdown meant a broken link :)

I have added another commit to fix the headers' styling and to indent the bullet points inside the first numbered point.


Add Array.prototype.includes

It would be a nice to have.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes

It's part of ES7/ES2016, not ES6/ES2015.
I recommend https://www.npmjs.com/package/array-includes.

Ops, thanks for the pointer!


Create ffcd8aba7b854bad

Should I just try again?

Yea, it's probably easier for you to abandon/close this pull request and create a new one than to try to update this one.


docs text

Forgot that parameter, got multiple threads on forum about it.

Hola
El mar. 18, 2016 2:27 PM, "Ivan Popelyshev"<EMAIL_ADDRESS>escribió:

Forgot that parameter, got multiple threads on forum about it.
You can view, comment on, or merge this pull request online at:
https://github.com/pixijs/pixi.js/pull/2403
Commit Summary

docs text

File Changes

M src/core/text/Text.js
https://github.com/pixijs/pixi.js/pull/2403/files#diff-0 (17)

Patch Links:

https://github.com/pixijs/pixi.js/pull/2403.patch
https://github.com/pixijs/pixi.js/pull/2403.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/pixijs/pixi.js/pull/2403

Vea 'Yo'
https://assets.adobe.com/link/1714751f-8c93-4b3f-6ab3-67bf3083bdd1
#AdobeCapture

Hola como estas megutaria charlar contigo por favor me confirmas si no
es una empresa dedicada al mundo de los mejores deseos para este tipo
de cambio de planes


When posting data using key navigation on a new key, it ignores key only the first time

Sorry about the title, it's hard to explain what's happening.
Steps to reproduce

get a new key with no data
POST to https://db.neelr.dev/api/{key}/test any data such as {"a":"hello"}
GET to https://db.neelr.dev/api/{key} and notice the response shows {"a":"hello"} instead of {"test":{"a":"hello"}} as it should
repeat the earlier post request
GET to https://db.neelr.dev/api/{key} and now notice the response shows {"test":{"a":"hello"}, "a":"hello"}

It seems that the first time data is posted using key navigation in URL the navigation is ignored for some reason but all following times it works correctly

Oop yeah, I'll add the nesting logic when creating a record, because it looks like thats whats going on


Prefix header be gone!

IMPORTANT: You need to delete the following Pods and re-run pod install: ORStackView, ARAnalytics, ARTiledImageView, DRKonamiCode, and NAMapKit.

  | 1 Error
------------- | ------------
    :no_entry_sign: | No CHANGELOG changes made

  | 1 Warning
------------- | ------------
    :warning: | Needs testing on a Phone if change is non-trivial

  Generated by :no_entry_sign: danger

Eh… I guess we can re-enable modules as we’re not actually going to use the caching stuff. Or how do you feel about removing the module from Aerodramus?

Hmm, haven’t seen those failures, will run that make task locally.

I'm not too sure what this means:

how you feel about removing the module from Aerodramus

If the JSON thingy is faster, keep it in, if it's slower, ditch it.

It was about the clang module import, but never mind, I’ve just re-enabled modules.
Not sure what the JSON thing is about, though :D

Sorry, the clang compilation db, OK, get this rebased and it's good from me :+1:

Ah, well, I’m leaving it all in, but it’s disable for you all because you don’t have those tools installed. I’m disabling the generation for now, as that’s causing CI to fail and I don’t feel like debugging gCI the rest of the day :)

Done :+1:

  | 1 Warning
------------- | ------------
    :warning: | Needs testing on a Phone if change is non-trivial

  Generated by :no_entry_sign: danger


Auto merge bot not auto merging when there are no pipelines to run

See PR https://github.com/Azure/azure-sdk-for-js/pull/18446 which has the auto-merge label
There are no pipelines to run, so I ran the /check-enforcer override as recommended
But now the bot does not like that there were no pipelines to run
Anything we can do about this?
(I am merging the PR manually for now)

Based on the fabric bot setting I would have expected it to work after did the check-enforcer override.
However based on the comment https://github.com/Azure/azure-sdk-for-js/pull/18446#issuecomment-955057577 the bot seems to be looking for some sort of pipeline status check which we don't have in these cases. I suppose we can report this scenario to the fabric bot team but honestly this feels like a pretty edge case and if you are already overrriding check-enforcer you can also go ahead and hit the merge button.

We are moving away from the fabric bot for automerge and now folks need to use the github built-in automerge feature.


Toggle controls for routers/middleware via Web UI

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?
It would be handy if the Traefik web UI allowed for routers (and possibly middleware chains) to be enabled/disabled from the UI.
One use case: Containers which periodically (but not always) require access from external/other networks, and use middleware to restrict IP ranges for access.  There is no way to amend access other than by amending the docker label config to amend the middleware, then restart the container.
If a middleware rule, or chain, contained an "allow network A" and "allow network B" middleware, they could be toggled at the traefik level, without restarting traefik or the container.
Other use case: Temporarily stop traefik access to a whole container (i.e. DNS/TLS routing) but not stopping the whole container, i.e. for on-line maintenance - container may be accessed via IP or other route (known to admin) but not to general users.  Stopping a router would stop any DNS->TLS based access, but allow the container to remain up, without having to amend DNS or firewall rules.
Just a thought, feel free to flame to death :)

Duplicate of https://github.com/traefik/traefik/issues/2481


Remove RegionPosition

This class is no longer being used since it has been replaced with ChunkPosition and is due to be removed/deprecated.

RegionPosition differs from ChunkPosition in that it refers to a 64x64 area, whereas the latter refers to a 8x8 area
It's not used yet, but it will be used in the future for things like music (it has a field for the region ID)

Because 8x8 fits perfectly into 64x64, couldn't we use a mapping of region IDs to a set of ChunkPosition objects? That would allow us to still remove RegionPosition.

How would the other information, such as the region X and Y be accessible?

Could we round down the ChunkPosition#getX and ChunkPosition#getY to the nearest multiple of 64?


Double t265 connection

I am trying to connect 2 trackers t265 on the same PC. While with the Viewer everything works just fine, I have problems in Python. I tried a couple of different possibilities, always with the same result, the second unit cannot be opened...
Here's the code:
import pyrealsense2 as rs
import numpy as np
import transformations as tf
import math as m
import time

H_aeroRef_T265Ref = np.array([[0,0,-1,0],[1,0,0,0],[0,-1,0,0],[0,0,0,1]])
H_T265body_aeroBody = np.linalg.inv(H_aeroRef_T265Ref)

### FIRST UNIT
ctx1 = rs.context()
###devices = ctx.query_devices()

print ctx1
time.sleep(1)

### Declare RealSense pipeline, encapsulating the actual device and sensors
pipe1 = rs.pipeline(ctx1)
### Build config object and request pose data
cfg1 = rs.config()
cfg1.enable_stream(rs.stream.pose)

### SECOND UNIT
ctx2 = rs.context()
###devices = ctx.query_devices()

print ctx2
time.sleep(1)
### Declare RealSense pipeline, encapsulating the actual device and sensors
pipe2 = rs.pipeline(ctx2)

### Build config object and request pose data
cfg2 = rs.config()
cfg2.enable_stream(rs.stream.pose)

### Start streaming with requested config
pipe1.start(cfg1)
pipe2.start(cfg2)

 ### Wait for the next set of frames from the camera
 frame1 = pipe1.wait_for_frames()
frame2 = pipe2.wait_for_frames()

### Fetch pose frame
pose1 = frame1.get_pose_frame()
pose2 = frame1.get_pose_frame()

### Close
pipe1.stop()
pipe2.stop()

and here's the output
<pyrealsense2.pyrealsense2.context object at 0x0000000004CE56F8>
<pyrealsense2.pyrealsense2.context object at 0x0000000004CFC228>
Traceback (most recent call last):
File "double_t265_example.py", line 40, in
pipe2.start(cfg2)
RuntimeError: No device connected

@stino78 hello,
For T265 there is a limitation that requires the sensors to be mapped to the first context created in code.
To make your code run you just need to reuse the first context when opening the second device:

pipe2 = rs.pipeline(ctx2ctx1)

It seem that you can drop the second context altogether.
Note that this doesn't apply to the other Realsense devices -  D400 and SR300.
See more discussions on this topic in #3892, #3734, #3434, #3437, #3892
P.S: The original snippet was re-formatted for readability

Hi ev-mp, thanks for the quick feedback!
Sadly I get a similar error...
11:04:50:536 [011440] [E] Device-0C40: State [ACTIVE_STATE] got event [ON_PLAYBACK_SET] ==> [ERROR_STATE]
11:04:50:536 [011440] [E] Device-0C40: Entered state [ERROR_STATE]
Traceback (most recent call last):
File "double_t265_example.py", line 40, in
pipe2.start(cfg2)
RuntimeError: Failed to start TM2 camera
I am looking at the other related discussion, but I could not find a solution.
Can you help me with this?
Thank you,
Agostino

This will have to be resolved via a code fix, and not a trivial one, unfortunately. We are working on it, but it can take more time.

@stino78 I am facing the exact issue right now. I was using a ros package called realsense-ros to launch multiple cameras using (rs_multiple_devices.launch) but I guess that doesn't support t265 cameras. Were you able to extract any pose information from t265 using your code. Thanks

Hi Kartik,
Intel released this code, that is working for me:
https://github.com/IntelRealSense/realsense-ros/files/3461264/more_devices_test.py.zip
I use it with 2 cameras on Win 10 and Ubuntu 18
Best,
Agostino
On Tue, Jan 14, 2020 at 10:13 AM Kartik Prakash<EMAIL_ADDRESS>wrote:

@stino78 https://github.com/stino78 I am facing the exact issue right
now. I was using a ros package called realsense-ros to launch multiple
cameras using (rs_multiple_devices.launch) but I guess that doesn't support
t265 cameras. Were you able to extract any pose information from t265 using
your code. Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IntelRealSense/librealsense/issues/4183?email_source=notifications&email_token=ADYMIIMUG2N6JRFWEZDVYA3Q5X6EFA5CNFSM4HWZ55IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI5S3IA#issuecomment-574303648,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADYMIINKIFYPWDT6M4PE57DQ5X6EFANCNFSM4HWZ55IA
.

Thanks for the prompt reply . I will definitey check this out. Appreciate
your help.
On Tue, Jan 14, 2020, 5:02 PM Agostino Gibaldi<EMAIL_ADDRESS>wrote:

Hi Kartik,
Intel released this code, that is working for me:
https://github.com/IntelRealSense/realsense-ros/files/3461264/more_devices_test.py.zip
I use it with 2 cameras on Win 10 and Ubuntu 18
Best,
Agostino
On Tue, Jan 14, 2020 at 10:13 AM Kartik Prakash<EMAIL_ADDRESS>wrote:

@stino78 https://github.com/stino78 I am facing the exact issue right
now. I was using a ros package called realsense-ros to launch multiple
cameras using (rs_multiple_devices.launch) but I guess that doesn't
support
t265 cameras. Were you able to extract any pose information from t265
using
your code. Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/IntelRealSense/librealsense/issues/4183?email_source=notifications&email_token=ADYMIIMUG2N6JRFWEZDVYA3Q5X6EFA5CNFSM4HWZ55IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI5S3IA#issuecomment-574303648
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ADYMIINKIFYPWDT6M4PE57DQ5X6EFANCNFSM4HWZ55IA
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/IntelRealSense/librealsense/issues/4183?email_source=notifications&email_token=AKLHQT65TABSD3GKLAQDMNLQ5ZABXA5CNFSM4HWZ55IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI6OAXI#issuecomment-574414941,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLHQT7MUT5COLMXAM5E3P3Q5ZABXANCNFSM4HWZ55IA
.