porting network VDC article into AAC

We need to create the corresponding PR to redirect from the existing article.
//cc @telmosampaio

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/vdc/networking-virtual-datacenter.md
:warning:Warning
View
Details

docs/vdc/images/networking-high-level-diagram-monitoring.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-high-level-workloads.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-highlevel-perimeter-networks.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-hub-spokes-cluster.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-infrastructure-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-redundant-equipment.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-spoke-to-spoke.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-users-groups-subsciptions.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-block-level-diagram.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vnet-peering-perimeter-neworks.png
:white_check_mark:Succeeded
View

docs/vdc/index.md
:white_check_mark:Succeeded
View

docs/vdc/networking-virtual-datacenter.md

Line 25: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/redundant-equipment.png).
Line 25: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/redundant-equipment.png).
Line 99: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/vdc-high-level.png).
Line 99: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/vdc-high-level.png).
Line 121: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/hub-spokes-cluster.png).
Line 121: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/hub-spokes-cluster.png).
Line 130: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/spoke-to-spoke.png).
Line 130: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/spoke-to-spoke.png).
Line 141: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/vdc-block-level-diagram.png).
Line 141: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/vdc-block-level-diagram.png).
Line 159: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/users-groups-subsciptions.png).
Line 159: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/users-groups-subsciptions.png).
Line 172: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/infrastructure-high-level.png).
Line 172: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/infrastructure-high-level.png).
Line 206: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/highlevel-perimeter-networks.png).
Line 206: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/highlevel-perimeter-networks.png).
Line 216: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/vnet-peering-perimeter-neworks.png).
Line 216: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/vnet-peering-perimeter-neworks.png).
Line 253: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/high-level-diagram-monitoring.png).
Line 253: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/high-level-diagram-monitoring.png).
Line 293: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/high-level-workloads.png).
Line 293: [Warning] Invalid file link:(~/vdc/media/networking-virtual-datacenter/high-level-workloads.png).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/vdc/images/networking-high-level-diagram-monitoring.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-high-level-workloads.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-highlevel-perimeter-networks.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-hub-spokes-cluster.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-infrastructure-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-redundant-equipment.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-spoke-to-spoke.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-users-groups-subsciptions.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-block-level-diagram.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vnet-peering-perimeter-neworks.png
:white_check_mark:Succeeded
View

docs/vdc/index.md
:white_check_mark:Succeeded
View

docs/vdc/networking-virtual-datacenter.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/toc.yml
:white_check_mark:Succeeded
View

docs/vdc/images/networking-high-level-diagram-monitoring.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-high-level-workloads.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-highlevel-perimeter-networks.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-hub-spokes-cluster.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-infrastructure-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-redundant-equipment.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-spoke-to-spoke.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-users-groups-subsciptions.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-block-level-diagram.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vnet-peering-perimeter-neworks.png
:white_check_mark:Succeeded
View

docs/vdc/index.md
:white_check_mark:Succeeded
View

docs/vdc/networking-virtual-datacenter.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/vdc/images/networking-high-level-diagram-monitoring.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-high-level-workloads.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-highlevel-perimeter-networks.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-hub-spokes-cluster.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-infrastructure-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-redundant-equipment.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-spoke-to-spoke.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-users-groups-subsciptions.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-block-level-diagram.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vnet-peering-perimeter-neworks.png
:white_check_mark:Succeeded
View

docs/vdc/index.md
:white_check_mark:Succeeded
View

docs/vdc/networking-virtual-datacenter.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/vdc/images/networking-high-level-diagram-monitoring.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-high-level-workloads.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-highlevel-perimeter-networks.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-hub-spokes-cluster.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-infrastructure-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-redundant-equipment.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-spoke-to-spoke.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-users-groups-subsciptions.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-block-level-diagram.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vnet-peering-perimeter-neworks.png
:white_check_mark:Succeeded
View

docs/vdc/index.md
:white_check_mark:Succeeded
View

docs/vdc/networking-virtual-datacenter.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/vdc/images/networking-high-level-diagram-monitoring.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-high-level-workloads.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-highlevel-perimeter-networks.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-hub-spokes-cluster.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-infrastructure-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-redundant-equipment.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-spoke-to-spoke.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-users-groups-subsciptions.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-block-level-diagram.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vnet-peering-perimeter-neworks.png
:white_check_mark:Succeeded
View

docs/vdc/index.md
:white_check_mark:Succeeded
View

docs/vdc/networking-virtual-datacenter.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/vdc/images/networking-high-level-diagram-monitoring.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-high-level-workloads.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-highlevel-perimeter-networks.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-hub-spokes-cluster.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-infrastructure-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-redundant-equipment.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-spoke-to-spoke.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-users-groups-subsciptions.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-block-level-diagram.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vnet-peering-perimeter-neworks.png
:white_check_mark:Succeeded
View

docs/vdc/index.md
:white_check_mark:Succeeded
View

docs/vdc/networking-virtual-datacenter.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/vdc/images/networking-high-level-diagram-monitoring.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-high-level-workloads.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-highlevel-perimeter-networks.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-hub-spokes-cluster.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-infrastructure-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-redundant-equipment.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-spoke-to-spoke.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-users-groups-subsciptions.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-block-level-diagram.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vdc-high-level.png
:white_check_mark:Succeeded
View

docs/vdc/images/networking-vnet-peering-perimeter-neworks.png
:white_check_mark:Succeeded
View

docs/vdc/index.md
:white_check_mark:Succeeded
View

docs/vdc/networking-virtual-datacenter.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Kotlin Support

I tried using this library to test Spark in Kotlin but didn't manage.
See sample https://github.com/PaulMuriithi/SparkTest
The exact same example on the README but doesn't quite work as is.

I will give this a try: https://hackernoon.com/restful-api-with-spark-kotlin-f43bd57affc4

I never developed using Kotlin. Can you post the error that you get?
Thank you!


Remove unneeded locking from CkLocMgr

These locks were added in 2004, and only protect some accesses to
the hash member of CkLocMgr. Lock usage is inconsistent, none of
the places its used are accessed by multiple threads, and TSAN
reports no issues after removing the locks.

Do we want to merge this for the release or hold it back?

My assumption is hold it, since it doesn't address and 6.10 issues and we just said we were going to freeze unnecessary merges in yesterdays core.


Fix column align in VerticalGroup

Fix not to compare X align with Align.top and Align.bottom

Related #4243

This was fixed some time ago. Cheers!


Extract the Hubbard U orbital occupation number

Is it possible that you forgot to add the actual parsing function?

I see that your parser somehow ended up in the test function? I guess you just need to copy and paste it to the output parser file (output.py) or you can simply add a new file.

Once the function is moved to output.py. A unittest still needs to be added in the tests.


Area mod

The goal or this PR is to get the ability to work with areas bitwise, as explained in #257
Implemented rcAreaModification which represents a bitwise modification to apply to an areaId.
It contains a value and a mask.
By default, the mask is RC_AREA_ALL, so the value fully applies. As rcAreaModification can build from an areaId (with mask RC_AREA_ALL), replacing arguments unsigned char areaId with rcAreaModification areaMod in the API did not change the behavior of existing user code.
This kind of arguments replacements took place in all rcMarkXxx functions.
Also, convex polygons now contain a member rcAreaModification m_areaMod.
As an illustration, I slightly reviewed the sample area ids.
The sample considers 4 'ceil' values (ground/road/grass/water) which can be combined with two flags (door/jump).
There is an example of overlapping "Door" and "Jump" convex polygons, which produces a zone with both values.
Sample AreaToPoly has been reviewed accordingly.

A word of warning to whom will merge this. Once upon a time, I was testing similar area type stuff, and I ran quite a lot into the issues where contour simplification failed, because some stuff was not checking 8-neighbourhood. There used to be issue about it, maybe it is fixed now. The case looked something like this:
    +-----
  A |
---+---
    | B
    |

There was some problem detecting that shared vertex correctly.
Also small areas (which result from combined areas) become problem with path quality really really quickly.
That being said, this has been a very requested feature, but I was not be able to solve to my satisfaction.

@memononen I believe #97 is for the issue you mention. As you can see it has kind of rotten - it has been on my todo list for a long time - but I have not had the energy/time to familiarize myself well enough with contour creation/simplification to review it, and to port the fix to dtTileCache.

Any news from the review ?
@jakobbotsch are you ok with the fixes I submitted ?

@domalb Sorry for the delay -- I have a little more but I will not add the comments until later. I will need you to open the same PR targeting a different branch once we set that up. @grahamboree @hymerman what do you guys think about setting up the branch as I mentioned above?

2.0 branch sounds good - sorry for quiet lurking :)

@hymerman no problem. :)
@domalb Can you please reopen this PR targeting the release-2.0 branch?

Should I edit the current PR and change it's base, or open a new one ?

Editing the current is fine, I did not know that was possible.

ok, done !

Thanks for the fixes! I will work on @memononen's problem (it should be solved by #97) and some other improvements before this makes it into master.

@jakobbotsch seems this PR's code is in release-2.0 branch, but not in main brach?

@Marqin See: https://github.com/recastnavigation/recastnavigation/issues/629#issuecomment-1555956716


fix: update to latest Schemable

This looks good but it seems like you might be applying some non-default deno formatting. Specifically, it seems like your formatter is removing lice from block comments and removing last item commas from arguments/lists. Are you maybe using prettier?

My bad. Disabled prettier on workspace level now and re-submitting in a different branch.


json synthesis output should include information on port bounds

This is related to issue https://github.com/YosysHQ/nextpnr/issues/206. Consider input file
module main(// Leds, labeled D2 - D9 on the board.
	    output [9:2] d);

   assign d[2] = 1;
   assign d[3] = 0;
   assign d[4] = 1;
   assign d[5] = 1;
   assign d[6] = 0;
   assign d[7] = 0;
   assign d[8] = 1;
   assign d[9] = 1;
endmodule // main

When synthesized using
yosys -q -p 'synth_ice40 -json main.json' -f 'verilog' main.vl

the resulting json file seems to not include information on port bounds for [9:2], which makes it impossible for nextpnr to resolve indexing of d in the .pcf input, e.g.,
set_io d[9] B5

I'd suggest the attached patch. Not sure if the start_offset attribute fits best on "ports" or "netnames", or what the difference is. And maybe it should be omitted in the common case that it's zero.
After this patch, the section of the json output looks like
    "main": {
      "attributes": {
        "top": 1,
        "src": "main.vl:1"
      },
      "ports": {
        "d": {
          "direction": "output",
          "start_offset": 2,
          "bits": [ "1", "0", "1", "1", "0", "0", "1", "1" ]
        }
      },
      "cells": {
      },
      "netnames": {
        "d": {
          "hide_name": 0,
          "start_offset": 2,
          "bits": [ "1", "0", "1", "1", "0", "0", "1", "1" ],
          "attributes": {
            "src": "main.vl:2"
          }
        }
      }
    }

yosys-start_offset.txt

#1122 added this functionality


Icon "linkedin alternate" is actually "linkedin alt".

Bug Report
Steps
Create an icon with name="linkedin alternate" and and icon with name="linkedin alt".  The linkedin alt icon displays fine, but throws a prop type error and is not displayed in the docs.
Expected Result

Actual Result

(from the docs)
Version
0.83.0
Testcase
https://codesandbox.io/s/jn19m23339

Thanks it's a valid report, however we're using names from SUI core. As you can see issue is present there:

https://semantic-ui.com/elements/icon.html
And it should be fixed there, https://github.com/Semantic-Org/Semantic-UI. As temporary workaround you can just use:
<Icon className="linkedin alt" />


'kong config db_export' fails on 2.0.4

Summary
I have a configured production instance of Kong 2.0.4, which I'm planning to upgrade to 2.2.1, but I can't even export current config:
~$ kong config -v db_export ./kong.yml
2020/12/14 18:48:29 [verbose] Kong: 2.0.4
2020/12/14 18:48:29 [verbose] prefix in use: /usr/local/kong
2020/12/14 18:48:29 [verbose] reading config file at /usr/local/kong/.kong_env
Error:
/usr/local/share/lua/5.1/kong/conf_loader.lua:741: attempt to index local 'file_conf' (a nil value)
stack traceback:
        /usr/local/share/lua/5.1/kong/conf_loader.lua:741: in function 'fun'
        /usr/local/share/lua/5.1/pl/tablex.lua:504: in function 'pairmap'
        /usr/local/share/lua/5.1/kong/conf_loader.lua:1094: in function 'conf_loader'
        /usr/local/share/lua/5.1/kong/cmd/config.lua:65: in function 'cmd_exec'
        /usr/local/share/lua/5.1/kong/cmd/init.lua:88: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:88>
        [C]: in function 'xpcall'
        /usr/local/share/lua/5.1/kong/cmd/init.lua:88: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:45>
        /usr/local/bin/kong:9: in function 'file_gen'
        init_worker_by_lua:49: in function <init_worker_by_lua:47>
        [C]: in function 'xpcall'
        init_worker_by_lua:56: in function <init_worker_by_lua:54>

Steps To Reproduce
Try exporting config file on Kong 2.0.4
Operating system: Oracle Linux 7.8

Close as the 2.0.x is EOL.


Readme says project, make the template match that.

The v2 name is tenant, the v3 name is project. I went with tenant since this is v2

Looked at this a little closer and realized what you were really saying. I agree project is right, but there is another use of keystone_admin_tenant_name in the print down at line 28.


use github.com/sirupsen/logrus

origin github.com/Sirupsen/logrus is deprecated, we should use the lower name.

Thanks!


Allow loading published rig that has no out_SET and no controls_SET

Changelog Description
Allow loading published rig that has no out_SET and no controls_SET but then skip creating the animation instance automatically, with a warning
Additional review information
There may be edge cases where a rig was published without those sets without validation errors (the validators are disabled by default) but then being unable to load them is very annoying. So this allows them to be loaded, but with a warning logged instead.
Fixes https://github.com/ynput/ayon-maya/issues/168
Testing notes:

Create rig instance
Remove the out_SET and controls_SET from the instance
(Make sure the validate rig contents validator is disabled; it's disabled by default)
Publish rig
Load the rig

I have followed the testing steps and all been functional...
ended up with loaded rig without out_set and control_set without any issues and no animation publish instance present within publisher ui.

Just to be sure - was there a warning logged in the script editor?


LineMod Multi-object pose estimation?

FOR LINEMOD DATASET:
Is the code able to provide poses for objects irrespective of class label?
i.e. can the model be trained without the 'cls' arg.
Or is there existing support in the code for dealing with this?
I can change n_objects in common.py, make adjustments for labels in linemod_dataset.py and use MeanShift.fit_multi_clus, but I am unable to correct it so it trains.
As the code is, is a model only trainable for 1 object class at a time? I presumed I do not need to add a module to handle number of found objects, but now I am not so sure.

Tried using fuse data only with multi-label but did not get good results.


Separate emails for each report type

What was CyhyMessage functionality now partially resides in a few base classes.  This makes it easier to create the TmailMessage and HttpsMessage classes.
Changed GitHub URL from my personal account to dhs-ncats in setup.py
Created TmailMessage for sending Trustworthy Email reports
Now using the date of report creation in the email subject line instead of financial year/quarter
Bumped version up to 1.0.0
Changed the order that the text and HTML bodies are attached to the email messages.  The current order makes the HTML version the default version displayed, as long as the client supports it.
Added a period to one of the list items in the unordered list for the TmailMessage text and HTML bodies.  This also necessitated some changes in the corresponding unit tests.

This resolves issue #7.

Note that HTTPS reports are not included yet because I don't (yet) have the subject line and body for those messages.

Changes Unknown when pulling b7620c03c4c014a3bfc1a164e6e8c114efe86710 on improvement/send_reports_via_separate_emails into ** on develop**.

Changes Unknown when pulling 93baa4349110e0f322e1aac84c950069e8e27b93 on improvement/send_reports_via_separate_emails into ** on develop**.

Changes Unknown when pulling 44a300667ed745bec71921474960fc8c0441aa27 on improvement/send_reports_via_separate_emails into ** on develop**.

Changes Unknown when pulling 44a300667ed745bec71921474960fc8c0441aa27 on improvement/send_reports_via_separate_emails into ** on develop**.

Changes Unknown when pulling f92625fae693e2259ae3ee240da3eb866162aa7b on improvement/send_reports_via_separate_emails into ** on develop**.


Profile ocassionally does not attach to user

There is a problem after logout/login the profile schema is not attached to the user. This unfortunately happens only sometimes, the refresh solves the problem. Open dev tools and check with Meteor.user().profile, probably the full profile shown only with 'invitedBoards' property is returned. Try to relogin, check the profile again. If property still visible then try again. It usually happens after first relogin to me, but used to happen on the third one as well..

a tip: if cannot reproduce the problem, after login try to click a board and then relogin again.
If empty object is displayed try refresh and it's solved.

EDIT: If reproduced the issue notice that this also causes shortcuts for starred boards to dissapear, which are also stored in the profile

I am able to reproduce this problem. It seems that there is an unfortunate interaction between three things:

Meteor's built-in logic that subscribes a user to their own Users record, including the full profile field.
Wekan's 'board' publication, which relies on some complicated magic from the cottz:publish-relations package to publish partial profiles for all members of a board. Somehow this seems to overwrite the profile data that the client receives from (1).
Wekan's usage of SubsManager, which implies that subscriptions to 'board' don't get stopped when the user navigates away.

#20 works around the problem.

#21 works around the problem and seems less likely than #20 to cause other problems.
Of course, it still would be good to understand the root problem here! I suspect there is a bug in the cottz:publish relations package.

Some errors on current version of pull request https://github.com/wefork/wekan/pull/20

I believe the main problem is that this cursor will call subscription.added() with an incomplete version of the user's profile. If that call to added() happens before Meteor's autopublish of user.profile happens, then it is the only piece of the profile that the client will see. #25 fixes this problem by avoiding the current user in this 'boards' publish.

Fixed by #25.


onmousewheel does not have correct event in web browser.

If onmousewheel is overridden in your game class, the Y property of the event (the scroll factor) should show the relative mouse scroll. This works on native targets however does not work in the web browser. In the web browser, the Y property is always 0. The function is still called however.

Just realised this is actually already an issue on flow - It's due to inconsistencies in browsers. Sorry - Closing.

No worries, actually it should be an issue on the snow repo, and I've since resolved this and should be upstream soon


get user from tty1 when tty7 unavailable

On my system (a minimal Debian using awesome alone) there is no result for who | grep tty7 and the blank string results in a failure to notify the awesome client. This slight modification gets the user from tty1 if the tty7 user is blank.

Thanks!


feat(collections): Add public getter for _multiple on SelectionModel

If your component receives a SelectionModel instance through Input, it was previously not possible to have different behavior based on whether multiple selected items is allowed (e.g.: rendering radio buttons instead of checkboxes). You had to use a second Input property to the component. This pull request allows developers to check the SelectionModel instance property.

CLA signed


Support classes in assemblies using reflection

It would be useful if it were possible to generate typescript classes based on classes in assemblies, this would require reflection. This would be useful as it's common in larger projects to split out entity models for example into different assemblies and reference them in the website to use them server and client side (CRUD pages being the obvious example).
Any possibility that this could be supported in 2.x? Or is this not within the desired scope of TypeWriter? If it isn't in the desired scope then it might be useful to release the typewriter generation code as an api and then make it support multiple "feeds", so from assembly or from file or whatever?

This is a duplicate of #103. My bad :P

+1 duplicate but you explain it so well =)

I've dome some experimenting on this and it looks very promising.. It'll probably be supported in a 2.x version, but not 2.0

+1 for this.

Seems the requirement has been asked two years ago and we still do not support generating models from Nuget package for now?


Can you re-run capgen on same project?

If I run capgen to generate an app and then use the apptemplater tool to change the data model - can we re-run capgen inside the same project or are these tools for initial scaffolding of the base app only?
Great project by the way.

Great question. I just pushed some changes and introduced an additional flag 'u' for update. This will allow the rerunning of capgen on the same project for the scenario you mentioned above!
Matt


[Enhancement] Change test framework from Nose to pytest

The unit tests are run using pytest (https://pytest.org) in replacement for the deprecated nose.
This PR addresses #408.
Travis CI settings were updated to use the new framework.

Coverage increased (+0.1%) to 88.921% when pulling 60a849daa4701a819d6f38a6c8d89d4226d56bab on INM-6:enh/change_test_framework into 165276fe26174f4747a53ad27b8ca0727a9e4c28 on NeuralEnsemble:master.

Seems all ok, and in fact, we do need pytest capabilities in fixing a bug currently in the travis testing: The package is installed using python setup.py install, however, the unit test actually do not use this installed version, but import from the working directory instead. This was not problemantic before, but with the inclusion of C code in an upcoming PR, this leads to problems. Therefore, this future PR will include a further option to pytest
pytest --cov=elephant --import-mode=importlib

which makes sure that the installed version of elephant is used, not local version.
This is just a heads-up, there is, I think,  no need to change this in the current PR.


chore: package-lock.json doesnt have use in the folder [sc-0]

I hereby confirm that I followed the code guidelines found at engineering guidelines
Notes for the reviewer
With the workspace setup, the package-lock in the workspace folder doesn't have any effect

I wonder how this works when publishing the package?
Same but we will see in a second :)


Update peer dependencies versions for @ts-rest/nest to support NestJS 10

Hey guys, great library.
When using ts-rest with the latest Nest v10 I get the warning about incorrect peer deps:
 WARN  Issues with peer dependencies found
apps/backend
└─┬ @ts-rest/nest 3.27.0
  ├── ✕ unmet peer<EMAIL_ADDRESS>found 10.1.3
  └── ✕ unmet peer<EMAIL_ADDRESS>found 10.1.3

I did not encounter any issues with nest 10 so I think it's safe to set the peers to support 10 as well -  that would resolve this warning.
Cheers.

This should be fixed in 3.28.0 !


[Bug]: Crash on android, Error while updating property 'video'

Version
v2.0.0
Which operating systems have you used?

[X] Android
[ ] iOS

Environment that reproduces the issue
Tested on
Xiaomi Redmi Note 11S
android 13
Is it reproducible in the example application?
Not tested
RTMP Server

Reproduction steps
I have a component where <ApiVideoLiveStreamView.../> is placed. Upon mounting and unmounting the component for few time ( more than 3 times) without even connecting to the server, the app gets crashed.
Expected result
the app should not crash
Actual result
the app is crashing on mounting/unmounting the component containing <ApiVideoLiveStreamView.../>.
Additional context
react native: 0.71.13
Relevant logs output
FATAL EXCEPTION: main
com.facebook.react.bridge.JSApplicationIllegalArgumentException: Error while updating property 'video' of a view managed by: ApiVideoLiveStreamView
    at com.facebook.react.uimanager.ViewManagersPropertyCache$PropSetter.updateViewProp(ViewManagersPropertyCache.java:101)
    at com.facebook.react.uimanager.ViewManagerPropertyUpdater$FallbackViewManagerSetter.setProperty(ViewManagerPropertyUpdater.java:136)
    at com.facebook.react.uimanager.ViewManagerPropertyUpdater.updateProps(ViewManagerPropertyUpdater.java:56)
    at com.facebook.react.uimanager.ViewManager.updateProperties(ViewManager.java:86)
    at com.facebook.react.uimanager.ViewManager.createViewInstance(ViewManager.java:188)
    at com.facebook.react.uimanager.ViewManager.createView(ViewManager.java:115)
    at com.facebook.react.uimanager.NativeViewHierarchyManager.createView(NativeViewHierarchyManager.java:281)
    at com.facebook.react.uimanager.UIViewOperationQueue$CreateViewOperation.execute(UIViewOperationQueue.java:194)
    at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.dispatchPendingNonBatchedOperations(UIViewOperationQueue.java:1110)
    at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:1081)
    at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:29)
    at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:175)
    at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:85)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1503)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1513)
    at android.view.Choreographer.doCallbacks(Choreographer.java:1128)
    at android.view.Choreographer.doFrame(Choreographer.java:1037)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1481)
    at android.os.Handler.handleCallback(Handler.java:942)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:211)
    at android.os.Looper.loop(Looper.java:300)
    at android.app.ActivityThread.main(ActivityThread.java:8503)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
Caused by: java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at com.facebook.react.uimanager.ViewManagersPropertyCache$PropSetter.updateViewProp(ViewManagersPropertyCache.java:93)
    at com.facebook.react.uimanager.ViewManagerPropertyUpdater$FallbackViewManagerSetter.setProperty(ViewManagerPropertyUpdater.java:136)
    at com.facebook.react.uimanager.ViewManagerPropertyUpdater.updateProps(ViewManagerPropertyUpdater.java:56)
    at com.facebook.react.uimanager.ViewManager.updateProperties(ViewManager.java:86)
    at com.facebook.react.uimanager.ViewManager.createViewInstance(ViewManager.java:188)
    at com.facebook.react.uimanager.ViewManager.createView(ViewManager.java:115)
    at com.facebook.react.uimanager.NativeViewHierarchyManager.createView(NativeViewHierarchyManager.java:281)
    at com.facebook.react.uimanager.UIViewOperationQueue$CreateViewOperation.execute(UIViewOperationQueue.java:194)
    at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.dispatchPendingNonBatchedOperations(UIViewOperationQueue.java:1110)
    at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:1081)
    at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:29)
    at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:175)
    at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:85)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1503)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1513)
    at android.view.Choreographer.doCallbacks(Choreographer.java:1128)
    at android.view.Choreographer.doFrame(Choreographer.java:1037)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1481)
    at android.os.Handler.handleCallback(Handler.java:942)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:211)
    at android.os.Looper.loop(Looper.java:300)
    at android.app.ActivityThread.main(ActivityThread.java:8503)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
Caused by: android.media.MediaCodec$CodecException: Error 0xfffffff4
    at android.media.MediaCodec.native_configure(Native Method)
    at android.media.MediaCodec.configure(MediaCodec.java:2214)
    at android.media.MediaCodec.configure(MediaCodec.java:2130)
    at io.github.thibaultbee.streampack.internal.encoders.MediaCodecEncoder.createCodec(MediaCodecEncoder.kt:184)
    at io.github.thibaultbee.streampack.internal.encoders.MediaCodecEncoder.configure(MediaCodecEncoder.kt:200)
    at io.github.thibaultbee.streampack.streamers.bases.BaseStreamer.resetVideo(BaseStreamer.kt:365)
    at io.github.thibaultbee.streampack.streamers.bases.BaseStreamer.stopStream$suspendImpl(BaseStreamer.kt:322)
    at io.github.thibaultbee.streampack.streamers.bases.BaseStreamer$stopStream$1.invokeSuspend(Unknown Source:11)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
    at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
    at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
    at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
    at io.github.thibaultbee.streampack.streamers.bases.BaseCameraStreamer.stopPreview(BaseCameraStreamer.kt:120)
    at io.github.thibaultbee.streampack.streamers.bases.BaseCameraStreamer.release(BaseCameraStreamer.kt:130)
    at io.github.thibaultbee.streampack.streamers.bases.BaseStreamer.configure(BaseStreamer.kt:244)
    at video.api.livestream.ApiVideoLiveStream.setVideoConfig(ApiVideoLiveStream.kt:127)
    at video.api.reactnative.livestream.LiveStreamView.setVideoConfig(LiveStreamView.kt:134)
    at video.api.reactnative.livestream.LiveStreamViewManager.setVideo(LiveStreamViewManager.kt:67)

android.media.MediaCodec$CodecException: Error 0xfffffff4 is not really explicit.
As a short term solution, I will mitigate this issue by not calling Codec configure when stopStream is call and it is not streaming.
As a long term, as I am reworking the native Android component. I already change the behavior so that the mediacodec won't be open/close anymore when calling startStreaming/stopStreaming.

android.media.MediaCodec$CodecException: Error 0xfffffff4 is not really explicit. As a short term solution, I will mitigate this issue by not calling Codec configure when stopStream is call and it is not streaming.
In the current implementation, the codec (Android API called MediaCodec) is released and reopen when calling stopStream so it is quickly ready for a new shot. Currently, I am reworking the native Android component. I already changed that behavior so that the MediaCodec won't be open/close anymore when calling stopStreaming.

How can i fix this crash right now?
FYI i'm not calling stopStreaming while mounting or unmounting the component, it is only called when the stream is connected to RTMP server.

Wait for a new release.
stopStreaming is used internally when the application is unmounting.

Hi @ThibaultBee,
I'm experiencing the same issue. As you mentioned, it will be fixed in the upcoming version. Could you please let me know when we can expect the new version to be released?

We don't have source code to get you a PR and its affecting our tests alot making android more or less unreliable. Any rough eta on this?

See https://github.com/apivideo/api.video-android-live-stream/commit/276020aa96d113593be7280be5a9c228c25d1ef6

Fixes in apivideo/api.video-android-live-stream@276020a

Great, have you released it, how soon can we test it?

Fixes in apivideo/api.video-android-live-stream@276020a

when are you planning to release it ? @ThibaultBee

Hi,
I have made the fixes in the main branch.
Could you test on the main branch?

Hi, I have made the fixes in the main branch. Could you test on the main branch?

its fixed
step tried:

open application
went into background
application didn’t crash

Hi, I have made the fixes in the main branch. Could you test on the main branch?
when do you plan to release it?.

When are you planning on releasing it? We are hit hard with this bug and currently trying to find alternatives to replace it.

Hi @ThibaultBee,
Do you have a tentative release date for this fix? We're experiencing a lot of crashes related to this issue.

@ThibaultBee our app users are currently impacted by this bug, and I was wondering if it's possible to release an update with that fix, like beta version of the release. I understand you're working on other issues, but this would really help in the meantime.

@ThibaultBee seems issue #81 is stale as the user hasn't responded for 3 weeks. I would request to create a release which can fix up this crash at least. It has ruined overall experience of our app. :)

getting this error after updating to 2.0.1 version. @ThibaultBee
> Could not resolve all files for configuration ':app:developmentDebugRuntimeClasspath'.
> Failed to transform camera-viewfinder-1.4.0-alpha06.aar (androidx.camera:camera-viewfinder:1.4.0-alpha06) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingWithClasspathTransform: /.gradle/caches/transforms-3/a2f592b30fddcb727f0b2169f047a323/transformed/jetified-camera-viewfinder-1.4.0-alpha06-runtime.jar.
> Error while dexing.


feat: Added danish locale to datepicker

Lets the admin UI and fields use danish date notations when having danish selected as admin locale.

Yeah I think I misunderstood the intentions on the locale here. I can see that daynames and start of week is actually in danish, but I was hoping for the formats to also be in danish notation, but looking at the DatePicker component, the default formats are american with all locales. I'll make custom fields insteads with the correct formats


Not update package version on previous files

Issue Type: Bug
-created a script
-updated one package that the script was using succesfully through conda
-re-run the script, still the same version
-open a new .ipynb file and copy paste the code, package updated in the new script but not the previous one
Extension version: 2021.2.576440691
VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:48:04.245Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz (12 x 3600)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.66GB (25.20GB free)

Process Argv
--crash-reporter-id 3651da78-aff5-4851-ae7d-6125f1ed13e5

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30256636
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475

Thanks for the issue but it looks to me like this is expected.
You're using two different kernels. If you look in your upper right corner of your notebook the V2 notebook is using a different kernel

At least it seems that way and that would explain the discrepancy.


Add dead cells in Game of life activity

Add a new toolbar icon in the Game of life activity to see dead cells.
When this icon is selected the board display dead cells in a specific colors.
See an example on http://www.conwaylife.com/

like when we have this

if we click the toolbar icon it gets

Yes, exactly

cool.

Fixed in https://github.com/llaske/sugarizer/pull/558


Running gulp task test:unit returning an error

It used to work prior to the recent updates, but as of now every time I try to run the task I get an error like so :
[10:30:21] 'test:unit' errored after 3.69 s
[10:30:21] Error: 1
    at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10)
    at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15)
    at Gulp.emit (events.js:107:17)
    at Gulp.Orchestrator._emitTaskDone (/Users/..../test-ts-skeleton/ts-skeleton/node_modules/gulp/node_modules/orchestrator/index.js:264:8)
    at /Users/..../test-ts-skeleton/ts-skeleton/node_modules/gulp/node_modules/orchestrator/index.js:275:23
    at finish (/Users/...../test-ts-skeleton/ts-skeleton/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8)
    at cb (/Users/...../test-ts-skeleton/ts-skeleton/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3)
    at removeAllListeners (/Users/..../test-ts-skeleton/ts-skeleton/node_modules/karma/lib/server.js:332:7)
    at Server.<anonymous> (/Users/...../test-ts-skeleton/ts-skeleton/node_modules/karma/lib/server.js:343:9)
    at Server.g (events.js:199:16)
    at Server.emit (events.js:129:20)
    at net.js:1409:10
    at process._tickCallback (node.js:355:11)

Process finished with exit code 1

Any clue as to why? :squirrel:

Hi,
what command do you run?
if it is gulp test:unit then this error may occur because there is no transpired code, so before it you should run gulp compile, or run gulp test which depends on compile task.
You can also make your IDE transpile code for you on save, then you can always run gulp test:unit
did i solve your problem?

No, running  gulp compile   /   gulp test   did not solve the issue, the error remains the same. :(

please try running:
npm install

gulp default

and if it doesn't work paste me the results.


Support aliases for function & module names (to handle refactors)

If you refactor your code and change the names of functions or modules, you might want to keep some continuity with the metric names.
@akesling suggested allowing users to specify an alias for each function such that the metrics would be produced with the new and the old function/module names. That way, you could keep using the old name and then transition to the new name later and remove the alias once you've moved everything over.
I like the idea of having a parameter for the macro along the lines of function_alias="other_function_name" or function_aliases=["function_1", "function_2"] and the equivalent for module_alias and module_aliases. We could then duplicate the tracking code so it produces the metrics under all of the given names.

A simpler way of doing that could be to "just" duplicate the metric, so calling new_name would generate metric for both function=new_name, module=new_module and function=old_name, module=old_module (called "the alias metric").
There are 2 issues with that approach
Breaking SLOs
We need to only count one of the metrics for the SLO error budget otherwise that would break the SLO (the expectation of acceptable error levels vs. what error rate actually triggers the alert). To fix that, we can make sure that when feeding data to the alias metric, we never add the objective_name label. This - the lack of objective_name label - could also be tracked to prune the alias metric (or prompt to) after some time to save space
## Tracking metric from new to old
This proposal would make it really easy to see the new stats when querying only function=old_name, module=old_module (the graph will naturally extend with the newly named function), but not really to see the old stats when querying function=new_name, module=new_module.
A solution for that would be to add new_function=new_name, new_module=new_module attributes to the alias metric, and modify slightly our current queries so that they also look for alias metrics in the past using these attributes

Hello @emschwartz @gagbo, I am interested in contributing to Autometrics. Will it be okay if I start working on this issue ?

@Archisman-Mridha 100%! let us know if you run into any issues or if we can help in any way. Thank you for the support!

Btw, 1 thing to note here -
Let's say we have this scenario initially -
struct Foo;

#[autometrics]
impl Foo {
    fn bar( ) { }
}

Metrics for the function will be generated with name Foo::bar.
Now, we change the struct name to Fiber and put an alias. Like this -
struct Fiber;

#[autometrics(alias = "Foo")]
impl Fiber {
    fn bar( ) { }
}

Metrics for the function will now be generated with names Fiber::bar and Foo::bar.
But then, if we also rename Fiber::bar to Fiber::plane like this -
struct Fiber;

#[autometrics(alias = "Foo")]
impl Fiber {
    fn plane( ) { }
}

Metrics for the function will now be generated with names Fiber::plane and Foo::plane. We lost Foo::bar!

Also, someone can assign this issue to me :)

Metrics for the function will now be generated with names Fiber::plane and Foo::plane. We lost Foo::bar!

Yeah, to solve this, you would need to add an alias when changing the function from bar to plane:
#[autometrics(alias = "Foo")]
impl Fiber {
    #[autometrics(alias = "bar")]
    fn plane( ) { }
}

But it’s also not so important if we lose the metrics that are at least two different refactorings away. Renaming like this shouldn’t happen too often, and we do not necessarily want to generate 10 metrics if a function changed name 10 times, because it takes space.


Update StudentRepository.cs with inc id by 2

Updated
public void AddStudent(Student student)
{
student.StudentId = nextStudentId++;
student.StudentId = nextStudentId+=2;
students.Add(student);
}

Issue updated and closed


[Bug] confidential.WithAuthority is undefined

Which version of MSAL Go are you using?
v1.0.0
Where is the issue?

Confidential client

[X] Authorization code flow
[ ] Client credentials:

[ ] client secret
[ ] client certificate

Token cache serialization

[ ] In-memory cache

Other (please describe)

Is this a new or an existing app?
This is a new app
What version of Go are you using (go version)?

$ go version go1.20.1

What operating system and processor architecture are you using (go env)?
darwin/arm64
Repro

Expected behavior
I am following the docs to set up a confidential client app<EMAIL_ADDRESS>Sadly WithAuthority does not exist in the confidential package.

Hmm, I think this is more a documentation thing. The args for confidential.New() are different from the documentation on the main page.
Would this be the right?
func (a *authorizationHandlers) GetPowerBIEmbedToken(w http.ResponseWriter, r *http.Request) {
	cred, err := confidential.NewCredFromSecret("client_secret")
	if err != nil {
		fmt.Errorf("could not create a cred from a secret: %w", err)
	}

	confidentialClientApp, err := confidential.New(
		"https://login.microsoftonline.com/<your tenant>",
		"powerBI_clientID",
		cred,
	)
}

It works. I guess the docs need to be updated.

I suppose its more a docs need to be fixed rather than a bug. I was able to create the confidential client app with the code I shared above.

I suppose its more a docs need to be fixed rather than a bug. I was able to create the confidential client app with the code I shared above. Looks like they have removed the .WithAuthority method.

Yes, upgraded from ver.7 and had the same issue. Didn't find anything in the release note but your post is very helpful.


misc(release): plug release registry

Description

Plugs in the release registry

Checklist

[ ] Update CHANGELOG.md
[ ] Update K8s Upgrade notes
[ ] Kustomiz-specific changes
[ ] Update sister repository: deploy-sourcegraph-helm
[ ] Update sister repository: deploy-sourcegraph-docker
[ ] Verify all images have a valid tag and SHA256 sum

Test plan

Assumed correct, copied from deploy-sourcegraph

Waiting for testing before merge: https://github.com/sourcegraph/sourcegraph/issues/61078#issuecomment-2082883491


Go Text Protocol

GTP appears to be the standard protocol for computer go programs. Should implement to/from GTP functions (see #51)

I'm interested in implementing GTP alongside my existing SGF library.

https://github.com/pasky/pachi/blob/a8e492c7e387fb1443881ca4a695eaabeefd706b/gtp.c
https://github.com/pasky/pachi/blob/a8e492c7e387fb1443881ca4a695eaabeefd706b/gtp.h
this could be useful probably..

@jtauber that would be great! I'm curious how you see it interacting with your SGF library - or am I misunderstanding?
Here are the GTP specs I am looking at. We'd need the 'engine' not the 'controller', and an instantiation of an engine should have a reference to a particular player. In our code, a player will expect a GameState object as input. Basically, I imagine a GTP engine that simply wraps a player + state - something like
class GTPEngine(object):
    def __init__(self, player, size=19):
        self.board_state = GameState(size)
        self.player = player
    def listen(self, addr, port):
        # start listening for server commands on given address/port
        # when a message is received, call the relevant handler
    def msg_clear_board(self):
        # for example
        self.board_state = GameState(self.board_state.size)
    def msg_genmove(self, color):
        move = self.player.get_move(self.state)
        # now send move response back to controller...
    # ...
    # ...

I'm working on just parsing the messages and generating the responses initially. As of last night, I was half way through the "required" commands.
My SGF library just converts to and from the SGF file format and a Python data structure representing collections, games and variations. I can imagine a script built on both my SGF and GTP libraries to do things like "replay" an SGF game as a sequence of GTP commands or persist a sequence of GTP commands as an SGF game.
The third key component to all this is the game state so when I get far enough along (next few days) I'll work out a way of making the game state pluggable.

Hi everyone,
I just joined GitHub and this group. I am a doctoral student in Information Systems, Analytics & Decision Support. I am new in Data Science, can anyone help with how to get started and how to contribute on this?
Thanks for your orientation.
Armel.
Sent from my iPhone

On Mar 16, 2016, at 2:45 PM, James Tauber<EMAIL_ADDRESS>wrote:
I'm working on just parsing the messages and generating the responses initially. As of last night, I was half way through the "required" commands.
My SGF library just converts to and from the SGF file format and a Python data structure representing collections, games and variations. I can imagine a script built on both my SGF and GTP libraries to do things like "replay" an SGF game as a sequence of GTP commands or persist a sequence of GTP commands as an SGF game.
The third key component to all this is the game state so when I get far enough along (next few days) I'll work out a way of making the game state pluggable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

As well as working through the GTP spec I'm testing behavior against GnuGo just to make sure I'm reading the spec correctly.

You can now follow along at https://github.com/jtauber/gtp
All the required GTP commands are implemented from a parsing point of view. What remains is the networking stuff and making the game state / player pluggable so it can be integrated into this project.
Neither of those should take long.

All sounds good! Since the GTP engine is responsible for knowing state/move legality/etc, it made sense to me to use the GameState we've defined here. The alternative - writing state conversion functions from our state to your state and back - is not crazy either especially if you want your project to be a standalone python GTP library.
That said, if you have in mind a way that the state itself could be 'pluggable' that would be the best of both worlds!

Now that my SGF library is in pretty good shape (as best I can tell, I'll shift my focus back to GTP library).

@wrongu I've merged your PRs (with one fix) and done a 0.2 release.
Can this issue  be closed now?


Unable to see the menu bar on Ubuntu 19.04

Storage Explorer Version: 1.9.0_rel/1.9.0_20190625.3
Platform/OS: Linux Ubuntu 19.04
Architecture: x64
Regression From: Not a regression
Steps to reproduce:

Launch Storage Explorer.
Try to check the menu bar.

Expect Experience:
Able to see the menu bar.
Actual Experience:
Unable to see the menu bar.

More info:
This issue doesn't reproduce on Ubuntu 18.04/16.04/14.04

@v-xuanzh Was this run straight from the uncompressed .tar.gz file or was this installed from a snap?

@craxal if i remembered it correctly, you have installed from snap on 19.04 and everything worked ok?

I haven't testing anything on Ubuntu 19.04. The latest I've tested on is 18.04.

Spun up my own Ubuntu 19 machine, and I'm able to reproduce from a snap. Really weird. If you look very closely, you can see the menus are still there. Just in a slightly different color than the window's title bar. If you switch to high contrast, you can see the menus just fine.
Did a little research, and it sounds like we can fix this if we update to Electron 4.0.8 or later.

Hi @craxal ,Today we try to install the latest real signed build 20190626.4 using the snap on Linux, but we got build is 20190626.3 actually.
Steps to reproduce:

Make sure Ubuntu 19.04 have supported snap.
Download the 'StorageExplorer_latest_amd64.snap' from Linux Artifactes(20190626.4)
Run the following commands:

sudo snap install StorageExplorer_latest_amd64.snap --dangerous
snap connect storage-explorer:password-manager-service :password-manager-service

Launch Storage Explorer by the command: storage-explorer
Check the build version after launching Storage Explorer successfully.

Expect:
The shown build is 20190626.4
Actual:
The shown build is 20190626.3

Hi @craxal we installed Storage Explorer using .tar.gz file.

Confirmed with Electron 4.2.5. Upgrading Electron will fix this issue.

This issue has been fixed on latest master build 20190711.5. So closed it.


Add identity to connections and connection pools.

After this output from test/with_dummyserver/test_connectionpool.py looks like this
Finding files... done.
Importing test modules ... done.

HTTPConnectionPool, localhost:18081 (1): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (1): "GET /encodingrequest HTTP/1.1" 200 21
HTTPConnectionPool, localhost:18081 (1): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (2): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (2): "GET /encodingrequest HTTP/1.1" 200 33
HTTPConnectionPool, localhost:18081 (2): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (4): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (4): "GET / HTTP/1.1" 200 13
HTTPConnectionPool, localhost:18081 (4): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (4): Connection HTTPConnection (1) fetched from pool
HTTPConnectionPool, localhost:18081 (4): "GET / HTTP/1.1" 200 13
HTTPConnectionPool, localhost:18081 (4): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (4): Connection HTTPConnection (1) fetched from pool
HTTPConnectionPool, localhost:18081 (4): "GET / HTTP/1.1" 200 13
HTTPConnectionPool, localhost:18081 (4): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (6): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (6): "GET / HTTP/1.1" 200 13
HTTPConnectionPool, localhost:18081 (6): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (6): Starting new (2) HTTP connection
HTTPConnectionPool, localhost:18081 (6): "GET / HTTP/1.1" 200 13
HTTPConnectionPool, localhost:18081 (6): Starting new (3) HTTP connection
HTTPConnectionPool, localhost:18081 (6): "GET / HTTP/1.1" 200 13
HTTPConnectionPool, localhost:18081 (6): Connection HTTPConnection (3) returned to the pool
HTTPConnectionPool, localhost:18081 (6): Starting new (4) HTTP connection
HTTPConnectionPool, localhost:18081 (6): "GET / HTTP/1.1" 200 13
HTTPConnectionPool, localhost:18081 (6): Connection HTTPConnection (4) returned to the pool
HTTPConnectionPool, localhost:18081 (6): Connection HTTPConnection (1) fetched from pool
HTTPConnectionPool, localhost:18081 (6): "GET / HTTP/1.1" 200 13
HTTPConnectionPool, localhost:18081 (6): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (7): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (7): "GET /specific_method?method=GET HTTP/1.1" 200 0
HTTPConnectionPool, localhost:18081 (7): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (9): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (9): "GET /keepalive?close=0 HTTP/1.1" 200 13
HTTPConnectionPool, localhost:18081 (9): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (9): Connection HTTPConnection (1) fetched from pool
HTTPConnectionPool, localhost:18081 (9): "GET /keepalive?close=0 HTTP/1.1" 200 13
HTTPConnectionPool, localhost:18081 (9): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (11): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (11): "GET /keepalive?close=1 HTTP/1.1" 200 7
HTTPConnectionPool, localhost:18081 (11): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (11): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (11): Connection HTTPConnection (1) fetched from pool
HTTPConnectionPool, localhost:18081 (11): "GET /keepalive?close=0 HTTP/1.1" 200 13
HTTPConnectionPool, localhost:18081 (11): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (11): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (11): Connection HTTPConnection (1) fetched from pool
HTTPConnectionPool, localhost:18081 (11): "GET /keepalive?close=1 HTTP/1.1" 200 7
HTTPConnectionPool, localhost:18081 (11): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (11): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (11): Connection HTTPConnection (1) fetched from pool
HTTPConnectionPool, localhost:18081 (11): "GET /keepalive?close=0 HTTP/1.1" 200 13
HTTPConnectionPool, localhost:18081 (11): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (13): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (13): "POST /echo HTTP/1.1" 200 2140
HTTPConnectionPool, localhost:18081 (13): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (14): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (14): "GET /redirect?target=%2F HTTP/1.1" 303 112
HTTPConnectionPool, localhost:18081 (14): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (14): Redirecting /redirect?target=%2F -> http://localhost:18081/
HTTPConnectionPool, localhost:18081 (16): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (16): "GET /echo?lol=cat HTTP/1.1" 200 7
HTTPConnectionPool, localhost:18081 (16): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (17): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (17): "POST /specific_method HTTP/1.1" 200 0
HTTPConnectionPool, localhost:18081 (17): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (18): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (18): "POST /echo HTTP/1.1" 200 289
HTTPConnectionPool, localhost:18081 (18): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (19): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (19): "POST /echo HTTP/1.1" 200 22
HTTPConnectionPool, localhost:18081 (19): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (20): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (20): "GET /redirect?target=%2F HTTP/1.1" 303 112
HTTPConnectionPool, localhost:18081 (20): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (20): Connection HTTPConnection (1) fetched from pool
HTTPConnectionPool, localhost:18081 (20): "GET /redirect?target=%2F HTTP/1.1" 303 112
HTTPConnectionPool, localhost:18081 (20): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (20): Redirecting /redirect?target=%2F -> http://localhost:18081/
HTTPConnectionPool, localhost:18081 (20): Connection HTTPConnection (1) fetched from pool
HTTPConnectionPool, localhost:18081 (20): "GET http://localhost:18081/ HTTP/1.1" 200 13
HTTPConnectionPool, localhost:18081 (20): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (22): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (22): "GET / HTTP/1.1" 200 13
HTTPConnectionPool, localhost:18081 (24): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (24): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (25): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (25): "POST /upload HTTP/1.1" 200 0
HTTPConnectionPool, localhost:18081 (25): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (26): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (26): "POST /upload HTTP/1.1" 200 0
HTTPConnectionPool, localhost:18081 (26): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (27): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (27): "PUT /specific_method?method=PUT HTTP/1.1" 200 0
HTTPConnectionPool, localhost:18081 (27): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (28): Starting new (1) HTTP connection
HTTPConnectionPool, localhost:18081 (28): "GET /specific_method?method=POST HTTP/1.1" 400 25
HTTPConnectionPool, localhost:18081 (28): Connection HTTPConnection (1) returned to the pool
HTTPConnectionPool, localhost:18081 (28): Connection HTTPConnection (1) fetched from pool
HTTPConnectionPool, localhost:18081 (28): "POST /specific_method HTTP/1.1" 400 25
HTTPConnectionPool, localhost:18081 (28): Connection HTTPConnection (1) returned to the pool
----------------------------------------------------------------------
Ran 20 tests in 25.196s

OK
```

Why?

So everyone could know what's really going on.

This causes a lot of unneeded complexity. Why not just show the hex id() of the connection?

Well, curl does it like this (see https://github.com/kennethreitz/requests/pull/269#issuecomment-2886987).
I don't see the complexity which you mention. I should note this commit introduces other minor changes so not all changes are due to addition of identities.

This does add considerable code complexity:

Adding another layer of inheritance for ConnectionPool which is not relevant to the core behaviour of a ConnectionPool.
Adding multiple inheritance to HTTPConnection.
Changing all the simple logging calls into a member logger object.
Adding a class-dynamic str message function.

And in the process, we lose log references to the host of the connection/pool, but we gain some per-connection incremental id.
I see some value in taking inspiration from cURL but I'd like to avoid mimicking it just for its own sake.
For me, the addition of a per-connection incremental id in the logs does not seem worth it. If we do want to uniquely identify each connection, I'm +1 with @kennethreitz on just showing the hex id() of the connection on top of what we already show (such as the host, which I don't want to lose).

Adding another layer of inheritance for ConnectionPool which is not relevant to the core behaviour of a ConnectionPool.

Actually this is just to show ConnectionPool is identifable. This can be removed if it's a problem but I don't see a point in doing it.

Adding multiple inheritance to HTTPConnection.

Well, either this and we reuse code from Connection base class or we have to duplicate this code in each of HTTPConnection, HTTPSConnection and VerifiedHTTPSConnection. We need base class if we want to follow DRY.

Changing all the simple logging calls into a member logger object.

What's good about remember to stick host in every log message? That's what logging.LoggerAdapter is for...

Adding a class-dynamic str message function.

What's wrong with this?

And in the process, we lose log references to the host of the connection/pool (...)

?

I see some value in taking inspiration from cURL but I'd like to avoid mimicking it just for its own sake.

Well, it's not like this. Connection/pool identification is natural. That's why curl does it and we should also.
As to using id(); that's better than no identification at all although it doesn't show behavior so clearly. However, please note that using id() is not going to remove much of the code if we want to follow DRY.

@piotr-dobrogost All of these are valid programming paradigms, but I'm pointing out that they increase code complexity by introducing layers of abstraction and indirection.
I'm still not convinced that there is enough benefit on tracking unique objects in logging to be worth the code for it. Is it really that hard to do it yourself while using urllib3 if you need it?
This has never been a problem I've run into personally.

You don't want this type of identification - that's ok with me.
What things from this pull request are you willing to accept?

Use of LoggingAdapter?
str for connections and pools? (if so how would you go about implementing this without introducing common base class for all 3 types of connections?


New version soon?

Might be time to release a new version soon? I've seen multiple issues with the latest version that have been addressed, but no fixes have been released yet. This includes #741, #696, #756...

Putting this together soon, will be a patch release.

Released a patch, have an issue with icons will patch today.


Returns none when code is authenticated with the service principal

Describe the bug
We are trying to run code using the azure python SDK and are getting different results when we are authenticated with a service principal instead of a user.
When the below code is run with regular username pass authentication, the last line of the code, sub[‘domain’], will return the list of domains in the tenant.  When the same code is run when authenticated as a service principal, sub[‘domain’] returns ‘None’ even though there are domains values that exist for the tenant.   This makes me think there is some role or api permission that a service principal might not be granted by default.
To Reproduce
Steps to reproduce the behavior:
The code snippet was enclosed below. The below code works with username, password authentication, whereas it is returning none when authenticating with service principal.
Expected behavior
domains[sub['tenant_id']][0] should return the list of domains in the tenant
Screenshots
import functools
import logging
from typing import Any, Dict, List
from azure import identity  # type: ignore
from azure.mgmt import resource, storage, web
from azure.storage import blob
from azure.identity import ClientSecretCredential
from azure.mgmt.compute import ComputeManagementClient
creds = identity.AzureCliCredential()
client = resource.SubscriptionClient(credential=creds)
subs = { s.subscription_id: s.as_dict() for s in client.subscriptions.list()}
update subscription info with tenant domains
domains = {t.tenant_id: t.domains for t in client.tenants.list()}
for sub in subs.values():
sub['domain'] = domains[sub['tenant_id']][0]
Additional context
Q1) Is the service principal being used is in the same tenant, with the same permissions, as the user account that was used to successfully list domains? I believe it is yes, please confirm this.
A) Yes
Q2)	Is the service principal authentication being attempted with the AzureCliCredential, as shown in your example code?
A) Yes

@msyyc any update on this? customer made a follow-up..

Hi @pmatte I am not that familiar with different authentication and here is my inference: when you create a service principle, you need create it under specific tenant and specific suscription while user name and password not. It proves that service principal has smaller action scope so that's why client with service principal can't list all the domains while user name and password can.

Thank you for the explanation, so is it not possible to list the domains using service principle?

is there a work around / other alternative exist to achieve this using service principal?

Do you think it is good to involve someone who can help in different authentication methods and/or for providing work around? customer was waiting on this from long time.

Hello @msyyc any update on this? your help on this is highly appreciated.

Thank you @msyyc for sending email to the group.
I see the below update from the team.
====
User-based credentials (https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#authenticate-users)  seem to work fine (as do AzureCliCredential and PowerShellCredential).
Whatever processing is done at the https://management.azure.com/tenants?api-version=2021-01-01 endpoint seems to restrict the results to just the fields “id”, “tenantId”, and “tenantCategory” when an access token from a service principal is used (fields like “domains”, “countryCode”, and “displayName” are absent in the response). And I haven't had any luck getting it to work by tinkering with various roles and permissions.
Perhaps someone on the Azure AD service team or someone more familiar with Azure AD might have more input.
may you loop the Azure AD team for more help? I appreciate your help on this

I just got bit by this. When using a managed identity with the latest API version only the id, tenantId and tenantCategory are returned by https://management.azure.com/tenants?api-version=2022-12-01


How to set alias record set for cname

The CLI command creates the record without issue az network dns record-set cname set-record -g MyResourceGroup -z www.mysite.com -n MyRecordSet -c www.contoso.com
The problem seems to be that when the CNAME is created there's no way to set the ALIAS RECORD SET flag to yes via the CLI?
Perhaps I need to execute a follow-up command?

Originally posted by @sspott in https://github.com/Azure/azure-cli/issues/13382#issuecomment-653297037

I cannot find corresponding swagger spec as well. Could anyone from service team help?

I was able to create an alias record using the --target-resource flag. I'm creating A record rather than a CNAME. I arrived here from a Google search about how to create an Alias record at the domain apex. From the documentation, it looks like that flag is available when creating a CNAME too.
Here's what I'm using (in Github Actions):
front_door_id=$(az network front-door show --name ${{ env.front_door_name }} --query id -o tsv) az network dns record-set a create --name "@" --zone-name ${{ env.domain_name }} --target-resource $front_door_id
It looks like you can do similar for a CNAME by using az network dns record-set cname create .... I put together the above commands based on this StackOverflow question: https://stackoverflow.com/questions/58316973/how-to-create-dns-a-record-usin-azure-cli-or-terraform

Im trying to create the following a record that utilises an alias - here is how I do it on the front end:

I cannot figure out the az cli command - as the docs don't mention how to set an alias when creating the a record set. If I don't speficy an IP address the az command shows:
az network dns record-set a add-record: error: the following arguments are required: --ipv4-address/-a

Im trying to create the following a record that utilises an alias - here is how I do it on the front end:

I cannot figure out the az cli command - as the docs don't mention how to set an alias when creating the a record set. If I don't speficy an IP address the az command shows:
az network dns record-set a add-record: error: the following arguments are required: --ipv4-address/-a

Looks like --target-resource is no longer a valid param for the a add-record commands?
Can't find a way to do it with bicep either ):
> az network dns record-set a add-record --help

Command
    az network dns record-set a add-record : Add an A record.

Arguments
    --ipv4-address -a    [Required] : IPv4 address in string notation.
    --record-set-name -n [Required] : The name of the record set relative to the zone. Creates a new
                                      record set if one does not exist.
    --resource-group -g  [Required] : Name of resource group. You can configure the default group
                                      using `az configure --defaults group=<name>`.
    --zone-name -z       [Required] : The name of the zone.
    --if-none-match                 : Create the record set only if it does not already exist.
    --ttl                           : Record set TTL (time-to-live).  Default: 3600.

Global Arguments
    --debug                         : Increase logging verbosity to show all debug logs.
    --help -h                       : Show this help message and exit.
    --only-show-errors              : Only show errors, suppressing warnings.
    --output -o                     : Output format.  Allowed values: json, jsonc, none, table, tsv,
                                      yaml, yamlc.  Default: json.
    --query                         : JMESPath query string. See http://jmespath.org/ for more
                                      information and examples.
    --subscription                  : Name or ID of subscription. You can configure the default
                                      subscription using `az account set -s NAME_OR_ID`.
    --verbose                       : Increase logging verbosity. Use --debug for full debug logs.

Examples
    Add an A record.
        az network dns record-set a add-record -g MyResourceGroup -z www.mysite.com \
            -n MyRecordSet -a MyIpv4Address

> az version

{
  "azure-cli": "2.27.1",
  "azure-cli-core": "2.27.1",
  "azure-cli-telemetry": "1.0.6",
  "extensions": {}
}

@TeamDman --target-resource is used in record set. So it is available in az network dns record-set a create and az network dns record-set a update

Hi,
This is a workaround in Azure CLI, but not a solution. Microsoft should obviously fix "az network dns record-set cname set-record" command.
But while you wait for that to happen, you can achieve the same goal by using "az resource update" command.
In this case I am setting alias to refer to another record set in the zone.
$CNAMERecord1 = "test1"
$CNAMERecord2 = "test2"
$ResourceGroupName = "mateusztest"
$DNSZone = "mateusztest.com"
$CNAMERecord1Data = (az network dns record-set cname list --resource-group $ResourceGroupName --zone-name $DNSZone -o json | ConvertFrom-Json) | Where-Object {$.fqdn -match "$CNAMERecord1.$DNSZone"}
$CNAMERecord2Data = (az network dns record-set cname list --resource-group $ResourceGroupName --zone-name $DNSZone -o json | ConvertFrom-Json) | Where-Object {$.fqdn -match "$CNAMERecord2.$DNSZone"}
az resource update --ids $CNAMERecord1Data.id --set properties.targetResource.id="$($CNAMERecord2Data.id)"
BEFORE:

AFTER:

I hope this will prove beneficial to some people as I assume converting scripts from Azure CLI to Azure PowerShell, ARM templates or something else might be more time-consuming.
Mateusz


No code complete on command ids

See screen shot - I expect a list of valid command ids

@aeschli not sure if this is you or Alex.

It's a feature request that need to be planned.

I think this use-case is handled now via the keybindings editor.


move rust build and tests to self hosted runner

coverage: 3.698% (-61.0%) from 64.692%
when pulling cb28b4975f4088e8b917df5801b30cf38ec467e6 on self_hosted_runner
into 05e8acb7f4337efa8a5300ea293383a91b2bce16 on main.


Lab 2 (Detailed instructions - 2.2 - 11ii) - Incorrect "RequestCount"

Enter: Add 20 tasks when 2000 <= RequestCount < 000
I believe 000 should be 4000 instead.

Thanks for flagging this @rodrigotolledo. I've fixed the typo and merged. Closing this issue.


The  tag probably shouldn't say only "Blacklight"

On a resource page use the work/collection title. Everywhere else, just "ScholarSphere"