Issue with Zipato mini keypad rfdi (wintop)

Hi,
After upgrading from zwavejs2mqtt 1.7.2 to 1.8.0 / 1.8.1 and 1.9.0
my 2 wintop keypads are acting up.
in the old 1.7.2, when entering og leaving, press home or away and hold up the rfdi tag.
in 1.8.x it's the same, BUT under 1.8.X it's like the wintop keypads wakes up, and resends the last action.
so when leaving the home, we are the alarm, but if the second keypad was last used to disarm, the the alarm are turned off and on durring the day
then event in HA (listen to events)
there is no difference the notification in HA of a real event or the "resend"
The "resend" happens with the "wakeup", if that helps.
This was NOT an issue before 1.8.x and I had it running for at least 2.5 years

ID 43 reinterviwed
I hope you can find so errors in that log
zwave-js-ui-store (1).zip

Yeah, I know what's wrong:
A recent update implemented a requirement that some nodes/CCs need to be polled every couple of hours. For Notification CC that is only a requirement when the node operates in "pull" mode
Your device is incorrectly detected as operating in "pull" mode, because of an edge case in the mode discovery. As a result it gets queried roughly every 6h when it wakes up and it seems to return the last notification it sent.

I do hope, that can be fixed 😄 but, yes, that sounds about right, my devices wakes up every 2 hours, and then the 6 hours pull, makes the strange pattern I can see in HA

Fix is up at https://github.com/zwave-js/node-zwave-js/pull/5627
Once that is released, you will have to re-interview the devices again for the change to take effect.

Great... Not sure how to update, as I'm running the HA version...


fix: Circular dependency on ButtonOutline Broke focus states

Overview

Fixes circular dependency that would cause colors to be undefined occasionally.

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: ABC-123
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-kit@0.3.64-alpha.cb679a.0@codecademy/gamut-labs@15.2.4-alpha.cb679a.0@codecademy/gamut@32.7.1-alpha.cb679a.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://608b2eaa06c99e8037ff34bb--gamut-preview.netlify.appDeploy Logs


Issues on SynchronizeRealtime

MDD_realtimeSynchronize uses static variables which is no good programming since it is not thread-safe. Therefore it would be better to implement Modelica_DeviceDrivers.Blocks.OperatingSystem.SynchronizeRealtime as an external object.

Did you manage to set up a Win installation. If not I can offer to test it.

I have a windows installation, just no VS2010 installed on it (only VS2013) so that I can't build Windows XP compatible libraries as you explained to me.
However, I have merged all of your last patches in Linux and not yet tested for Windows. So if you want to test it, you are welcome :-).

Which branch is it? I do not find any changes that remove static variables from MDD_realtimeSynchronize.

I thought I had pulled a patch from you that solved it. However, I just searched the history and the patches that I pulled from you addressed other things
(6d2830a4d385eae47cc6bc3b18743242dec089fb, 6d2830a4d385eae47cc6bc3b18743242dec089fb, 6d2830a4d385eae47cc6bc3b18743242dec089fb)
Is there a patch that I missed?
If not, no problem I will change it to external objects. Just not sure if I find the time today.

No, I did not provide a patch for this issue.


Fixes default tokens to be truthy

Currently in the test-waiter module, we use a zero-based counter for the default tokens. This presents a problem for consumers when checking for the existence of a valid token:
let token = waiter.beginAsync();

// ...

if (token) {
  waiter.endAsync(token);
}

This PR changes tokens to be one-based, so that the truthy evaluation will always pass, and consumers won't have to know that the first token is magically different than the rest.

Fixes #111

Fixes #110


[Support] I'm using pinpoint collect 2.5.2, and there's an error parsing the data sent by pinpoint-c-agent. By using python

2024-08-05 20:22:37.137 [Pinpoint-Server-Worker(22-2)] ERROR c.n.p.r.c.ServerPacketDecoder invalid packetType received. packetType:18720, channel:[id: 0x73eb7471, /<IP_ADDRESS>:57560 :> /<IP_ADDRESS>:8884]
2024-08-05 20:22:37.137 [Pinpoint-Server-Worker(22-2)] ERROR c.n.p.r.c.ServerPacketDecoder invalid packetType received. packetType:10784, channel:[id: 0x73eb7471, /<IP_ADDRESS>:57560 :> /<IP_ADDRESS>:8884]
2024-08-05 20:22:37.137 [Pinpoint-Server-Worker(22-2)] ERROR c.n.p.r.c.ServerPacketDecoder invalid packetType received. packetType:18516, channel:[id: 0x73eb7471, /<IP_ADDRESS>:57560 :> /<IP_ADDRESS>:8884]
2024-08-05 20:22:37.137 [Pinpoint-Server-Worker(22-2)] ERROR c.n.p.r.c.ServerPacketDecoder invalid packetType received. packetType:21584, channel:[id: 0x73eb7471, /<IP_ADDRESS>:57560 :> /<IP_ADDRESS>:8884]
2024-08-05 20:22:37.137 [Pinpoint-Server-Worker(22-2)] ERROR c.n.p.r.c.ServerPacketDecoder invalid packetType received. packetType:12082, channel:[id: 0x73eb7471, /<IP_ADDRESS>:57560 :> /<IP_ADDRESS>:8884]
2024-08-05 20:22:37.137 [Pinpoint-Server-Worker(22-2)] ERROR c.n.p.r.c.ServerPacketDecoder invalid packetType received. packetType:11824, channel:[id: 0x73eb7471, /<IP_ADDRESS>:57560 :> /<IP_ADDRESS>:8884]
2024-08-05 20:22:37.137 [Pinpoint-Server-Worker(22-2)] ERROR c.n.p.r.c.ServerPacketDecoder invalid packetType received. packetType:3338, channel:[id: 0x73eb7471, /<IP_ADDRESS>:57560 :> /<IP_ADDRESS>:8884]
2024-08-05 20:22:37.137 [Pinpoint-Server-Worker(22-2)] ERROR c.n.p.r.c.ServerPacketDecoder invalid packetType received. packetType:3338, channel:[id: 0x73eb7471, /<IP_ADDRESS>:57560 :> /<IP_ADDRESS>:8884]
2024-08-05 20:22:37.137 [Pinpoint-Server-Worker(22-2)] ERROR c.n.p.r.c.ServerPacketDecoder invalid packetType received. packetType:21325, channel:[id: 0x73eb7471, /<IP_ADDRESS>:57560 :> /<IP_ADDRESS>:8884]
2024-08-05 20:22:37.137 [Pinpoint-Server-Worker(22-2)] ERROR c.n.p.r.c.ServerPacketDecoder invalid packetType received. packetType:3338, channel:[id: 0x73eb7471, /<IP_ADDRESS>:57560 :> /<IP_ADDRESS>:8884]
2024-08-05 20:22:37.137 [Pinpoint-Server-Worker(22-2)] ERROR c.n.p.r.c.ServerPacketDecoder invalid packetType received. packetType:3338, channel:[id: 0x73eb7471, /<IP_ADDRESS>:57560 :> /<IP_ADDRESS>:8884]
2024-08-05 20:22:37.137 [Pinpoint-Server-Worker(22-2)] ERROR c.n.p.r.c.ServerPacketDecoder invalid packetType received. packetType:0, channel:[id: 0x73eb7471, /<IP_ADDRESS>:57560 :> /<IP_ADDRESS>:8884]
2024-08-05 20:22:37.137 [Pinpoint-Server-Worker(22-2)] ERROR c.n.p.r.c.ServerPacketDecoder invalid packetType received. packetType:4, channel:[id: 0x73eb7471, /<IP_ADDRESS>:57560 :> /<IP_ADDRESS>:8884]
2024-08-05 20:22:37.137 [Pinpoint-Server-Worker(22-2)] ERROR c.n.p.r.c.ServerPacketDecoder invalid packetType received. packetType:0, channel:[id: 0x73eb7471, /<IP_ADDRESS>:57560 :> /<IP_ADDRESS>:8884]
2024-08-05 20:22:37.137 [Pinpoint-Server-Worker(22-2)] ERROR c.n.p.r.c.ServerPacketDecoder invalid packetType received. packetType:0, channel:[id: 0x73eb7471, /<IP_ADDRESS>:57560 :> /<IP_ADDRESS>:8884]
This error occurs and does not match the packetType in the collect. What is the problem? Is there a location?

@eeliu Hello eeliu, thank you very much. Can you help me analyze what went wrong when the data was sent?

hmm, which service on 8884 , span port ?

@eeliu I configured collector.receiver.grpc.agent.bindaddress.port=8884 in collect 2.5.2.
PP_COLLECTOR_AGENT_AGENT_PORT in pinpoint-c-agent 0.5.0 is set to 8884.

Is my port configuration wrong?
Port configuration in pinpoint-collector-grpc.properties
collector.receiver.grpc.agent.bindaddress.ip=<IP_ADDRESS>
collector.receiver.grpc.agent.bindaddress.port=8884
collector.receiver.grpc.stat.bindaddress.ip=<IP_ADDRESS>
collector.receiver.grpc.stat.bindaddress.port=8885
collector.receiver.grpc.span.bindaddress.ip=<IP_ADDRESS>
collector.receiver.grpc.span.bindaddress.port=8886
Port configuration in pinpoint-collector-root.properties
collector.receiver.base.ip=<IP_ADDRESS>
collector.receiver.base.port=8883
collector.receiver.stat.udp.ip=<IP_ADDRESS>
collector.receiver.stat.udp.port=8885
collector.receiver.span.udp.ip=<IP_ADDRESS>
collector.receiver.span.udp.port=8886

Port configuration in pinpoint-c-agent
PP_ADDRESS            <IP_ADDRESS>@8080
PP_COLLECTOR_AGENT_AGENT_IP   <IP_ADDRESS>
PP_COLLECTOR_AGENT_AGENT_PORT   8884
PP_COLLECTOR_AGENT_ISDOCKER   false
PP_COLLECTOR_AGENT_SPAN_IP   <IP_ADDRESS>
PP_COLLECTOR_AGENT_SPAN_PORT   8886
PP_COLLECTOR_AGENT_STAT_IP   <IP_ADDRESS>
PP_COLLECTOR_AGENT_STAT_PORT   8885

@eeliu hi eeliu

I don't know.
Did your docker image works fine  ?   https://github.com/pinpoint-apm/pinpoint-docker/tree/master
https://github.com/pinpoint-apm/pinpoint-docker/blob/be2879e4f874faa7eedbd60fcb2d49cc04a10400/.env#L70-L82

Now the python service can be displayed on the ppweb, but the record on the right of the ServerMap that does not call the API shows no data, but no error log is found in the collect and pinpoint-c-agent. Which port has the data error?

thanks..
@eeliu

Now the python service can be displayed on the ppweb, but the record on the right of the ServerMap that does not call the API shows no data, but no error log is found in the collect and pinpoint-c-agent. Which port has the data error?
thanks.. @eeliu

We didn't use docker, we built it ourselves.

I tested with https://github.com/pinpoint-apm/pinpoint-docker/tree/2.5.4, it's ok.
Try to compare the configuration files of pinpoint.


Label color has been changed and file name spelling is corrected

#1147

The CI check is failing @Shivam-Samant please check. I'll review again once it has green tick.

@Shivam-Samant there is a conflict here. Can you please resolve it?


Added views docs

Purpose of this pull request
This pull request is to add the Views docs.
Select the type of change

[ ] Minor Changes - Typos, formatting, slight revisions
[ ] Update Content - Revisions, updating sections
[x] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - .clabot, version updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Ticket (if applicable)
Documentation for new Views page instead of existing Scheduled Page

@JV0812, I noticed that you haven't addressed by suggestions yet. Let me know if you need another review.

@jpipkin1 Thanks for your review. But the feature development is still under process and not sure with the upcoming changes. So I will work on your feedback when I incorporate the future feature updates.

@JV0812, I converted the PR to a draft since work on it is still in progress.


Assistance identifying origin of Backtrace

I'm running into a panic abort issue with BLE-Gamepad (0.5.1 and earlier) and running into a backtrace related to an assertion failure. Hoping I can get some pointers on potential next steps for debugging further.  Any pointers are much appreciated. Thanks.
Backtrace
assert failed: static int NimBLECharacteristic::handleGapEvent(uint16_t, uint16_t, ble_gatt_access_ctxt*, void*) NimBLECharacteristic.cpp:277 (rc == 0)

Backtrace:0x40083aa5:0x3ffcff600x4009297d:0x3ffcff80 0x40097f89:0x3ffcffa0 0x401044fc:0x3ffd00d0 0x4010b38d:0x3ffd0150 0x4010b421:0x3ffd0180 0x40107343:0x3ffd01c0 0x401075de:0x3ffd0200 0x4010ac65:0x3ffd0220 0x40104412:0x3ffd0240 0x40104425:0x3ffd02a0 0x400d32a8:0x3ffd02c0 0x400d1e90:0x3ffd0310 0x400d235f:0x3ffd0340

  #0  0x40083aa5:0x3ffcff60 in panic_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/panic.c:402
  #1  0x4009297d:0x3ffcff80 in esp_system_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/esp_system.c:128
  #2  0x40097f89:0x3ffcffa0 in __assert_func at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/newlib/assert.c:85
  #3  0x401044fc:0x3ffd00d0 in NimBLECharacteristic::handleGapEvent(unsigned short, unsigned short, ble_gatt_access_ctxt*, void*) at .pio/libdeps/featheresp32/NimBLE-Arduino/src/NimBLECharacteristic.cpp:315 (discriminator 1)
  #4  0x4010b38d:0x3ffd0150 in ble_gatts_val_access at .pio/libdeps/featheresp32/NimBLE-Arduino/src/nimble/nimble/host/src/ble_gatts.c:378
      (inlined by) ble_gatts_val_access at .pio/libdeps/featheresp32/NimBLE-Arduino/src/nimble/nimble/host/src/ble_gatts.c:343
  #5  0x4010b421:0x3ffd0180 in ble_gatts_chr_val_access at .pio/libdeps/featheresp32/NimBLE-Arduino/src/nimble/nimble/host/src/ble_gatts.c:424
  #6  0x40107343:0x3ffd01c0 in ble_att_svr_read at .pio/libdeps/featheresp32/NimBLE-Arduino/src/nimble/nimble/host/src/ble_att_svr.c:402
  #7  0x401075de:0x3ffd0200 in ble_att_svr_read_handle at .pio/libdeps/featheresp32/NimBLE-Arduino/src/nimble/nimble/host/src/ble_att_svr.c:477
  #8  0x4010ac65:0x3ffd0220 in ble_gattc_notify_custom at .pio/libdeps/featheresp32/NimBLE-Arduino/src/nimble/nimble/host/src/ble_gattc.c:4174
  #9  0x40104412:0x3ffd0240 in NimBLECharacteristic::notify(unsigned char const*, unsigned int, bool) at .pio/libdeps/featheresp32/NimBLE-Arduino/src/NimBLECharacteristic.cpp:511
  #10 0x40104425:0x3ffd02a0 in NimBLECharacteristic::notify(bool) at .pio/libdeps/featheresp32/NimBLE-Arduino/src/NimBLECharacteristic.cpp:418
  #11 0x400d32a8:0x3ffd02c0 in BleGamepad::sendReport() at .pio/libdeps/featheresp32/ESP32-BLE-Gamepad/BleGamepad.cpp:774
      (inlined by) BleGamepad::sendReport() at .pio/libdeps/featheresp32/ESP32-BLE-Gamepad/BleGamepad.cpp:672
  #12 0x400d1e90:0x3ffd0310 in pollController() at src/main.cpp:589
  #13 0x400d235f:0x3ffd0340 in Task2code(void*) at src/main.cpp:752 (discriminator 1)

Looking at NimBLECharacteristic.cpp:277 from the panic, it looks like this could be related to packet size but I may be interpreting this incorrectly.
  uuid = ctxt->chr->uuid;
    if(ble_uuid_cmp(uuid, &pCharacteristic->getUUID().getNative()->u) == 0){
        switch(ctxt->op) {
            case BLE_GATT_ACCESS_OP_READ_CHR: {
                rc = ble_gap_conn_find(conn_handle, &desc);
                assert(rc == 0);

                 // If the packet header is only 8 bytes this is a follow up of a long read
                 // so we don't want to call the onRead() callback again.
                if(ctxt->om->om_pkthdr_len > 8 ||
                   pCharacteristic->m_value.size() <= (ble_att_mtu(desc.conn_handle) - 3)) {
                    pCharacteristic->m_pCallbacks->onRead(pCharacteristic);
                    pCharacteristic->m_pCallbacks->onRead(pCharacteristic, &desc);
                }

                ble_npl_hw_enter_critical();
                rc = os_mbuf_append(ctxt->om, pCharacteristic->m_value.data(), pCharacteristic->m_value.size());
                ble_npl_hw_exit_critical(0);
                return rc == 0 ? 0 : BLE_ATT_ERR_INSUFFICIENT_RES;
            }

It's possible I am creating a corruption on accident related to rtos stack size in tasks as I see this getting called. This is the task I'm calling for pinning updates for controller status to Core1 with a priority of 1 if that is helpful. BleGamepad::sendReport() in the backtrace is called from that task which should send the contents of the current packet upstream.
 #11 0x400d32a8:0x3ffd02c0 in BleGamepad::sendReport() at .pio/libdeps/featheresp32/ESP32-BLE-Gamepad/BleGamepad.cpp:774
      (inlined by) BleGamepad::sendReport() at .pio/libdeps/featheresp32/ESP32-BLE-Gamepad/BleGamepad.cpp:672
  #12 0x400d1e90:0x3ffd0310 in pollController() at src/main.cpp:589
  #13 0x400d235f:0x3ffd0340 in Task2code(void*) at src/main.cpp:752 (discriminator 1)

The only thing I can think of that could cause that assert to trigger is if the connection closed just before processing the read request. Other than that, there could be corruption happening somewhere. This looks like an opportunity to cleanup some of these asserts, this one should be handled gracefully instead.

Thanks for the reply. I think this is a timing issue.
As I figured I might be overrunning the stack I stuffed a number of uxTaskGetStackHighWaterMark() prints into to try to locate the source.  After I added them (3 in total) throughout code, now suddenly the issue is gone.   If I remove them, the cores immediately return.
Given that the only change is a couple prints, that suggests the added delay is just enough to get past this check in the library.

i got the same issue
a BLE paket send every ~13ms (as fast as possible without delay between pakets) causing the same issue
with a delay of 50ms it's ok.
I replaced:
assert(rc == 0);
with:
if(rc != 0){
break;
}
Now it is working without crash


Extend the far plane to show models with negative z coord

Extend the far plane for creating the perspective projection matrix so that models with negative height are also shown
@Pessimistress @ibgreen

@Pessimistress  Published as beta22


Edit target asm

Aside from the design ramifications of this (asm being shared among scratches, how this will affect forks and parents, permissioning), we need to consider that the asm in the db will need to be re-assembled and all. idk just some random thoughts - will flesh this out later

Ideas:

Editing target asm only affects all children of a fork and breaks the current fork away from its parent, creating a new Asm object with different information (shared by all children)

For project functions, only the project members could edit base asm

Editing target asm is a frontend-only feature, in that you can send custom asm to the /compile endpoint to see what the score would be if the asm were different. but it doesn't actually modify the asm in the database or affect the score

FWIW I'm still on team 'immutable target asm'. If the people who want this feature can provide some cases as to when they see themselves wanting the feature, perhaps we can get a better idea of how to tackle the problem. Right now I think it will cause too many problems with respect to forks, parents, scoring, and the relationship between them.

All the cases I can think of where a user might want to edit target asm would be effectively solved with a "duplicate scratch but with different target asm and prompt to archive the old one" feature

unfortunately target asm just isn't always accurate, and so manually fixing it is required to get things to match / fix symbol names / correctly annotate hi/lo pairs or what have you. so I definitely see the need to edit it and why it's inconvenient to go back to the new scratch page just to effectively edit the asm

Right now I think it will cause too many problems with respect to forks, parents, scoring, and the relationship between them.

I think the ideas I presented above wouldn't be that bad in this regard

duplicate scratch but with different target asm and prompt to archive the old one
I think this sounds good in theory, but what if you need to keep trying new things? Making a bunch of new scratches just seems unnecessary

Okay, here's my new recommendation on this:
A user can edit the target asm, and we create a new scratch for them with a new target_asm object in the database.
They're told this will split the scratch away from its current ancestry *. They're also prompted for whether they want to delete (or archive) their existing scratch before being navigated to the new scratch page.

If we want to preserve the family in this situation, we can stop basing families off of target_asm and instead go off of highest parent or something


Updating the azkaban-web-start.sh to be more robust and fixing some bugs...

....
Old pull request (https://github.com/azkaban/azkaban/pull/318) was mistakenly closed by me. So here it is again.

HADOOP_HOME was not being checked correctly. The literal was being checked instead of the variable. There was no check for the directory existing either.
It was being assumed that the Hadoop MR1 native bits were under HADOOP_HOME. With Hadoop 2 coming out, MR1 bits are usually picked from a separate location. So, I added a new variable called HADOOP_MR1_HOME which if exists, and has native bits, those native bits would be added to the Java Library Path.
Hadoop HDFS home doesn't have to be the same location as Hadoop Home. Many distributions including Apache Bigtop, CDH, etc. put HDFS in a separate location other than HADOOP_HOME. Added support for a new variable called HADOOP_HDFS_HOME, which if it's set and exists, will be used to pick HDFS jars in the classpth.
It was also previously assumed that Hadoop configuration always exists under $HADOOP_HOME/conf. That's not always the case. Added support for a new variable called HADOOP_CONF_DIR which can be used to specify the location of hadoop configuration.
Added HIVE_CONF_DIR in the same vein, as well.

All of this was done with backwards compatibility in mind, so any existing setup and variables should take precendence and this wouldn't break anything. If existing variables are defined, the script will leverage them.
Example invocation:
HADOOP_HOME=/opt/cloudera/parcels/CDH/lib/hadoop HADOOP_HDFS_HOME=/opt/cloudera/parcels/CDH/lib/hadoop-hdfs HADOOP_CONF_DIR=/etc/hadoop/conf HIVE_HOME=/opt/cloudera/parcels/CDH/lib/hive HADOOP_CONF_DIR=/etc/hadoop/conf bin/start-web.sh

Cleaning up unattended / old PRs


multiple alert with dynamic threshold ARM template fails

[Enter feedback here]
az group deployment create     --name MultiResourceAlertDeployment     --resource-group az1000101b-RG     --template-file "/home/naseem/all-vms-in-subscription-dynamic.json"     --parameters<EMAIL_ADDRESS>Deployment failed. Correlation ID: cc749426-ba6f-4348-8f92-eea14ab1c62c. {
"error": {
"code": "LinkedAuthorizationFailed",
"message": "The client has permission to perform action 'Microsoft.Resources/subscriptions/read' on scope '/subscriptions/a50e62e8-faa1-47c5-b9c3-2d4ddaca60dc/resourcegroups/az1000101b-RG/providers/Microsoft.Insights/metricAlerts/Multi-resource sub level metric alert with Dynamic Thresholds via Azure Resource Manager template', however the linked subscription 'replace-with-subscription-id' was not found. "
}
}
Fails with "replace-with-subscription-id"  error
Thanks
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1f2bd9d0-af11-d684-051b-7ac8e611cca9
Version Independent ID: f83d6e85-4d52-6b7f-a79e-f3ed3f3d0a95
Content: Create a metric alert with a Resource Manager template
Content Source: articles/azure-monitor/platform/alerts-metric-create-templates.md
Service: azure-monitor
Sub-service: alerts
GitHub Login: @snehithm
Microsoft Alias: snmuvva

Hi,
You need to replace the 'replace-with-subscription-id' with your subscription id everywhere in the template and parameters files.
Regards,
Snehith

@snehithm Thanks for the super quick response. 👍

Thanks for the prompt update.
I had modified the below  template and parameter file as suggested("replace the 'replace-with-subscription-id' with the correct subscription id everywhere in the template and parameters files") to make them a valid inputs for the template deployment.
https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/azure-monitor/platform/alerts-metric-create-templates.md#template-for-a-simple-static-threshold-metric-alert
simplestaticmetricalert.json
simplestaticmetricalert.parameters.json
The given template does not automatically creates the necessary actiongroup entity that's need for this alert implementation.  I had to create a separate template and parameter files for the actiongroup to make this ARM deployment successful.
Step done to full fill this MetricAlert Deployment

create actiongroup entity using the below template files

actiongroups-template.json
actiongroups.parameters.json

create the MetricAlert using the below template files by providing the newly created actiongroup name in the template. Link to the document section
https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/azure-monitor/platform/alerts-metric-create-templates.md#template-for-a-simple-static-threshold-metric-alert

simplestaticmetricalert.json
simplestaticmetricalert.parameters.json
For your observation have attached the template and parameter file use to create the action group.
Updating the document on how to first create the actiongroup with the template will certainly make the "self exploring - How to" experience little better.
As all the sample json files provided in the document link need an actiongroup to be created

actiongroups-template.txt
actiongroups.parameters.txt

one after thought :
why is the template validation missing to figure out   simple parameter files syntax mistakes "replace the 'replace-with-subscription-id' with the correct subscription id" error situations ?

@ahanaseem-gitid Yes you would have to create action group but you use action group in template.
We may add a note in the beginning of this document stating something like "Make sure you have action group created before you use below metric alert templates. Few ways to create action group are with Resource Manager template, Azure Portal, Az PowerShell, Az CLI, Azure REST API"
Assigning @snehithm for visibility and document enhancement considerations.

Thanks for the support.
I could find one ARM template in quickstart,
(https://github.com/Azure/azure-quickstart-templates/tree/master/monitor-autoscale-alert)
which combines both monitoring "activitylog and actiongroup" in a single template,  An expert ARM template deployer , can do the same in this situation "where metricalerts and actiongroup" has to be combined and presented as one template. My attempts failed.
such combined template can be used in all the sample template files in this section.
If this get's tested, this templates can adhore in the quickstart section also


Fix geometry creation in TypeScript

None of the XXXGeometry classes are actually Geometry instances. They are instead utility classes that create geometries via their createGeometry implementation. GeometryInstance can take either "type" but since JS doesn't have types we never really defined what the "utility" type is, so the TypeScript definition for GeometryInstance specifies that currently only specifies Geometry. This means that this valid JS code is a compiler error in TypeScript
const geometryInstance = new GeometryInstance({
  geometry: new PolylineGeometry({
    positions: [],
  }),
});

To fix this, I introduced a GeometryFactory base class like we have elsewhere in the code and changed GeometryInstance to take either type. This is the only place where we actually base "non-geometry Geometry" in the API.
Happy to consider other names, like GeometryCreator if we don't like factory for some reason, but I want to get this in sooner rather than later for 1.70.1 fixes.
Also fixed an issue with tsconfig.json I introduced in my last change which was failing to actually catch TS compile errors because it wasn't including the Cesium.d.ts.

Thanks for the pull request @mramato!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

Fixes #8924

Not sure why travis thinks those builds are pending, it's pretty clear if you click on Details that they completed successfuly.


Upgrade tests to Molecule 2

See https://github.com/ome/ansible-roles/issues/9

@manics thanks for checking this. Fixed the tests execution in  17ec146


[RFC] Support for simple encrypted settings

Is your feature request related to a problem? Please describe.
I think it would be useful if dynaconf can support its own simple secret encryption/decryption loader (probably powered by cryptography or pynacl). The main aim would be to support simple scenarios where users want to store their configs encrypted - but don't have a complex redis or dynaconf setup.
Describe the solution you'd like

A CLI command to create encrypted setting values
A builtin loader which can decrypt these encrypted values in a generic way
Potentially, it could be that the .secrets.X file can be assumed to have all encrypted configs ?

Describe alternatives you've considered
I'm considering currently implementing my own custom loader to do something similar. The custom loader functionality is pretty neat and shoudl allow for this (I'm still figuring it all out though)
But I am hoping here that this is a simple-ish loader to support, and would improve security with minimal effort for some users who are currently saving passwords in clear text files.

We were considering #248 JOSE as a file format and also SOPS #224

Hi @rochacbruno Thanks for the reply!
I did see those issues, and I was considering them. Here are my comments on those:

SOPS: Seems like I need to install sops in my environment and the place where I use my application is quite restricted, and installing any new software is quite complex (kinda also why I avoided vault/redis)
JOSE: This seemed to be simpler (i.e. just a python library?) But I didnt go too much in detail here because I use the "python file" format (and not JSON, YAML, etc.). I know it's not recommended - but it provides some stuff that I care about :)

I was thinking of this something like - https://pypi.org/project/secureconfig/ (or atleast similar based on the README)
But that uses cryptography + configparser


CPLAT-4767 Implement Component2 "init" method to replace componentWillMount

Description:
-Added init lifecycle method that maps the js constructor to dart
-Deprecated componentWillMount and getInitialState
https://jira.atl.workiva.net/browse/CPLAT-4767
Testing:

[ ] CI
[ ] Tests passing

+10


Newsletter-215: Translate to German

Thanks for the review, as always.

ACK with nit that either I or @tschweg could fix.

ACK

@bitschmidty: Sorry for the commit mess. Seems git doesn't let me squash commits that contain merges (or I haven't figured out how yet).

Lemme see if I can squash.

Ah, I see. The two Hindi newsletters got merged and a squash would include them. I'll rebase and squash instead.

Okay that worked.  In the interactive rebase, I set the three latter (non-merge) commits to f for "fixup" which folds them into the prior commit without retaining the commit message.


single character differences in pysbd x scispacy sentencization

Given this long paragraph of 2824 characters:
text = 'Trust in journalism is not associated with frequency of media use (except in the case of television as mentioned above), indicating that trust is not an important predictor of media use, though it might have an important impact on information processing. This counterintuitive fi nding can be explained by taking into account the fact that audiences do not watch informative content merely to inform themselves; they have other motivations that might override credibility concerns. For example, they might follow media primarily for entertainment purposes and consequently put less emphasis on the quality of the received information.As <|CITE|> have claimed, audiences tend to approach and process information differently depending on the channel; they approach television primarily for entertainment and newspapers primarily for information. This has implications for trust as well since audiences in an entertainment processing mode will be less attentive to credibility cues, such as news errors, than those in an information processing mode (Ibid.). <|CITE|> research confi rms this claim -he found that audiences tend to approach newspaper reading more actively than television viewing and that credibility assessments differ regarding whether audience members approach news actively or passively. These fi ndings can help explain why we found a weak positive correlation between television news exposure and trust in journalism. It could be that audiences turn to television not because they expect the best quality information but rather the opposite -namely, that they approach television news less critically, focus less attention on credibility concerns and, therefore, develop a higher degree of trust in journalism. The fact that those respondents who follow the commercial television channel POP TV and the tabloid Slovenske Novice exhibit a higher trust in journalistic objectivity compared to those respondents who do not follow these media is also in line with this interpretation. The topic of Janez Janša and exposure to media that are favourable to him and his SDS party is negatively connected to trust in journalism. This phenomenon can be partly explained by the elaboration likelihood model <|CITE|> , according to which highly involved individuals tend to process new information in a way that maintains and confi rms their original opinion by 1) taking information consistent with their views (information that falls within a narrow range of acceptance) as simply veridical and embracing it, and 2) judging counter-attitudinal information to be the product of biased, misguided or ill-informed sources and rejecting it <|CITE|> <|CITE|> . Highly partisan audiences will, therefore, tend to react to dissonant information by lowering the trustworthiness assessment of the source of such information.'

running sentencizer segments incorrectly:
nlp = spacy.load("en_core_sci_sm", disable=["tagger", "parser", "textcat"])
nlp.add_pipe(pysbd_sentencizer, first=True)
list(nlp(text).sents)[0]

>> Trust in journalism is not associated with frequency of media use (except in the case of television as mentioned above), indicating that trust

but if you go down 1 fewer character, it doesn't segment that sentence incorrectly:
list(nlp(text[:2823]).sents)[0]

>> Trust in journalism is not associated with frequency of media use (except in the case of television as mentioned above), indicating that trust is not an important predictor of media use, though it might have an important impact on information processing.

Doing this with pysbd splits correctly:
import pysbd
pysbd.__version__
>> '0.2.3'
segmenter = pysbd.Segmenter(char_span=True)
segmenter.segment(text)[0] == segmenter.segment(text[:2823])[0]

hypotheses

scispacy version?  A:  Installed from master.  the pip list shows scispacy                 0.2.4-unreleased
can we reproduce error with fewer preceding characters?  A:  Nope, needs basically those 2k characters in front to reproduce error
is it specific to the <|CITE|> tokens that are in that text snippet?  A:  Yes, replacing them with QQQQQQ doesn't result in this segmentation error

Reported a pysbd bug here: https://github.com/nipunsadvilkar/pySBD/issues/53

Fixed upstream, we don't pin pysbd so this should be available by running pip install --upgrade pysbd


Consolidate csprojs with TargetFrameworks property

-Uses multi target frameworks on LiteNetLib instead of creating multiple csproj files and referencing the cs files.
-Renamed LibSamples to LiteNetLib.Samples to follow the naming convention.

@Chompetto Thanks for PR!! But does this work in MonoDevelop/Xamarin Studio? I remember i separated project files because this method doesn't work with some IDEs.

Since unity relies on the .NET Framework we could have two csprojs, where the first csproj only targets the .NET Framework and second csproj targets other frameworks in addition to the .NET Framework

@Chompetto consolidated in master


Failed to withdraw with contract exchange

The exchange contract has the following raws:
eosio_assert( a.amount > 0 || t.memo == "withdraw", "withdrew tokens without withdraw in memo");
eosio_assert( a.amount < 0 || t.memo == "deposit", "received tokens without deposit in memo" );

As I understood, If I want to deposit currency then I need to use the following action
cleos push action eosio.token transfer '["testa", "exchange", "10.0000 AET", "deposit"]' -p testa

If I want to withdraw currency then I need to use the following action
cleos push action eosio.token transfer '["testa", "exchange", "-10.0000 AET", "withdraw"]' -p testa

But the withdraw action doesn't work
eosio_assert_message_exception: eosio_assert_message assertion failure
assertion failure with message: must transfer positive quantity
    {"s":"must transfer positive quantity"}
    thread-0  wasm_interface.cpp:930 eosio_assert

    {"_pending_console_output.str()":""}
    thread-0  apply_context.cpp:62 exec_one

When you withdraw, you dont have to indicate that as negative.
cleos push action eosio.token transfer '["testa", "exchange", "10.0000 AET", "withdraw"]' -p testa
This will withdraw 10 AET

In this case
cleos push action eosio.token transfer '["testa", "exchange", "10.0000 AET", "withdraw"]' -p testa

I have the following error
2365352ms thread-0   http_plugin.cpp:406           handle_exception     ] Exception Details: 3050003 eosio_assert_message_exception: eosio_assert_message assertion failure
assertion failure with message: received tokens without deposit in memo
    {"s":"received tokens without deposit in memo"}
    thread-0  wasm_interface.cpp:930 eosio_assert

    {"_pending_console_output.str()":""}
    thread-0  apply_context.cpp:62 exec_one


Gradle does not run simple OpenJDK 12, JavaFX 12 project out of the box

A very simple Java 12 / OpenJDK 12 project with a JavaFX 12 dependency does not run using gradle 5.4.1
./gradlew run produces these errors:
module not found: javafx.controls
module not found: javafx.graphics
Here is a simple GitHub hello world project. (The master in that same repo works due to several hacks, that should probably not be necessary.)
https://github.com/pelamfi/gradle-javafx-hello-world-app/tree/gradle-javafx-run-not-working
Expected Behavior
"./gradlew run" should open a window
Current Behavior
$ ./gradlew run

> Task :compileJava FAILED
/Users/pete/lattana_workspace/gradle-javafx-hello-world-app/src/main/java/module-info.java:2: error: module not found: javafx.controls
    requires javafx.controls;
                   ^
/Users/pete/lattana_workspace/gradle-javafx-hello-world-app/src/main/java/module-info.java:3: error: module not found: javafx.graphics
    requires javafx.graphics;
                   ^
2 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 0s
1 actionable task: 1 executed

Context
I'm trying to help people (and my self) on StackOverflow. Starting with a simple
JavaFX project is needlessly hard. I'm not absolutely sure whose problem this should
really be and it could be I'm just not reading documentation right and missing something
simple.
It is important to note, that the plugin org.openjfx.javafxplugin works
as demonstrated in the master branch of my example project.
However,  I feel that for a simple project a plugin should not be necessary
as all that is really needed is to add some dependencies and configure the
Java --module-path and the --add-modules settings as shown in
a hacky way this branch.
Anyway, here is my answer to the question "Building a JavaFX application using Gradle":
https://stackoverflow.com/a/55889428/1148030
Steps to Reproduce
Clone the branch gradle-javafx-run-not-working of
my example repository
git clone --single-branch --branch gradle-javafx-run-not-working git@github.com:pelamfi/gradle-javafx-hello-world-app.git

cd gradle-javafx-hello-world-app

./gradlew run

Your Environment
$ sdk current

Using:

gradle: 5.4.1
java: 12.0.1-open
sbt: 1.1.4
scala: 2.12.8

MacOS mojave 10.14.4 (18E226)
Build scan URL: https://scans.gradle.com/s/rcynl52nopika

same issue with Gradle 5.2.1, AdoptOpenJDK 12.0.1 x86, Windows 7 x86

This issue is now fixed! (Closing this)
Tested with Gradle 6.6.1 and now it works with some simple Gradle configuration.
See my example at:
https://github.com/pelamfi/gradle-javafx-hello-world-app/tree/gradle-javafax-run-without-javafx-plugin
The relevant parts of Gradle documentation are here:
Gradle documentation for the Application plugin which shows how
to inform the plugin about the module that contains the main:
https://docs.gradle.org/current/userguide/application_plugin.html
Gradle documentation showing how to enable the module support (inferModulePath)
https://docs.gradle.org/current/samples/sample_java_modules_multi_project.html
https://guides.gradle.org/building-java-9-modules/ (Previous referred from here)
Gradle documentation showing how to set up a Java module:
https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_modular


[WIP] Testing new build image

Description
Just testing the py37 build

@angerson A TF 2.6 has still a python 2.6 wheel do you plan to push also a 2.6 image?

OK.. green lights here..

https://discuss.tensorflow.org/t/adopting-open-source-dockerfiles-for-official-tf-nightly-ci/6050

We are having some issues with the auditwheel patch now.
What was the origin of this patch? Is it still required?
#27 0.585 + sed -i 's/libresolv.so.2"/libresolv.so.2", "libtensorflow_framework.so.2"/g' /usr/local/lib/python3.8/dist-packages/auditwheel/policy/policy.json
#27 0.588 sed: can't read /usr/local/lib/python3.8/dist-packages/auditwheel/policy/policy.json: No such file or directory
#27 ERROR: executor failed running [/bin/sh -c bash tools/releases/tf_auditwheel_patch.sh]: exit code: 2
------

We are having some issues with the auditwheel patch now. What was the origin of this patch? Is it still required?
#27 0.585 + sed -i 's/libresolv.so.2"/libresolv.so.2", "libtensorflow_framework.so.2"/g' /usr/local/lib/python3.8/dist-packages/auditwheel/policy/policy.json
#27 0.588 sed: can't read /usr/local/lib/python3.8/dist-packages/auditwheel/policy/policy.json: No such file or directory
#27 ERROR: executor failed running [/bin/sh -c bash tools/releases/tf_auditwheel_patch.sh]: exit code: 2
------

Was solved in https://github.com/tensorflow/addons/pull/2623

We are having some issues with the auditwheel patch now. What was the origin of this patch? Is it still required?
#27 0.585 + sed -i 's/libresolv.so.2"/libresolv.so.2", "libtensorflow_framework.so.2"/g' /usr/local/lib/python3.8/dist-packages/auditwheel/policy/policy.json
#27 0.588 sed: can't read /usr/local/lib/python3.8/dist-packages/auditwheel/policy/policy.json: No such file or directory
#27 ERROR: executor failed running [/bin/sh -c bash tools/releases/tf_auditwheel_patch.sh]: exit code: 2
------

Just for visibility the reason for this auditwheel patch is to specify that tensorflow shared library should be added to the approved manylinux2010 libraries. If we remove this it will fail to export a manylinux2010 package.

Nice to be able to cut a lot of this tech debt from the build file

Made a new PR for the release:
https://github.com/tensorflow/community/pull/406


Firebase Auth "redirect" broken

Describe the bug
The Firebase auth example is broken due to the Cross origin redirect login change in chrome.

To Reproduce
Run the example in this repo and it will not work if the app is hosted on different domains than firebase.
Expected behavior
Redirect flow should work again.
Workaround
"popup" flow is a workaround but one cannot auto-login with the popup flow
One potential solution would be to implement a transparent proxy within mesop:
https://firebase.google.com/docs/auth/web/redirect-best-practices?hl=en&authuser=0#proxy-requests
so request to /__/auth/ can be forwarded.
or mesop allows to serve local html and js files directly under a path.

i've created a workaround for mesop with popup here:
import {html, LitElement} from<EMAIL_ADDRESS>import {initializeApp} from 'https://www.gstatic.com/firebasejs/10.12.4/firebase-app.js';
import {
    getAuth,
    OAuthProvider,
    onAuthStateChanged,
    signInWithPopup,
    signOut
} from 'https://www.gstatic.com/firebasejs/10.12.4/firebase-auth.js';

const firebaseConfig = {
    apiKey: '',
    authDomain: '',
    projectId: '',
};

// Initialize Firebase
const app = initializeApp(firebaseConfig);
const auth = getAuth(app);
const provider = new OAuthProvider('');

class FirebaseAuthComponent extends LitElement {
    static properties = {
        isSignedIn: {type: Boolean},
        authChanged: {type: String},
    };

    constructor() {
        super();
        this.isSignedIn = false;
    }

    createRenderRoot() {
        return this;
    }

    firstUpdated() {
        this.checkAuthState();
    }

    checkAuthState() {
        onAuthStateChanged(auth, user => {
            this.isSignedIn = !!user;
            const token = user ? user.getIdToken() : Promise.resolve('');
            token.then(token => this.dispatchEvent(new MesopEvent(this.authChanged, token)));
            if (!user) this.signInWithPopup();
        });
    }

    signInWithPopup() {
        signInWithPopup(auth, provider).then(result => {
            this.isSignedIn = true;
            result.user.getIdToken().then(token => this.dispatchEvent(new MesopEvent(this.authChanged, token)));
        }).catch(console.error);
    }

    signOut() {
        signOut(auth).then(() => {
            this.isSignedIn = false;
            this.dispatchEvent(new MesopEvent(this.authChanged, ''));
        });
    }

    render() {
        return html`

                <button @click="${this.signOut}">Sign out</button>

        `;
    }
}

customElements.define('firebase-auth-component', FirebaseAuthComponent);

this is working with the limitation that the popup-blocker needs to be whitelisted for the domain mesop is running

Thanks for pointing out this use case.
Yes, the pop up option does seem less than ideal.
I do think the nginx proxy described in the docs seems like the easiest approach. However, I'm not as familiar with other options (outside of nginx) in terms of what people would need to do.
Yes, I think, if we do https://github.com/google/mesop/issues/564, that could allow people to do option 4.
In terms of your pop up implementation, it could be good to have your example in the repository as an example.

I see. Yes, I think it would make sense if we can forward the request headers somehow. That seems like useful functionality. Under the hood we use Flask, so we should be able to get the headers and make them accessible in Mesop.
I think maybe just need to determine how the API should look. Add them to the LoadEvent is definitely one possible as you suggest. I'm wondering if there could be any other use cases outside the load event where it may be useful.

@tpcgold we just added support in https://github.com/google/mesop/releases/tag/v0.12.3 for mounting other web servers with Mesop, which means you could use a web framework like FastAPI or Flask and use that to proxy the  request to /__/auth/ - I'll close this for now, but feel free to re-open if you're still running into issues.


eliminate NotificationSubscriber

reimplement EventStream.on{Value,Error,Completion} in terms of StreamNotifier
same for EventStream.notify (rename to onEvent?)

actually, this was not a good idea.


[sailfish-secrets] Add SQLCipher-based EncryptedStoragePlugin. Contributes to JB#36797

Self approving.  Joona had a bunch of review comments (sent by email) which affect not just this PR but also the rest of the codebase, so I'll merge this one and then start to address all of those comments in a separate PR.


Added 3 tasks: fruit_basket, acquaintances, student_classes

Sorry, somewhat inexperienced with github, so I was not sure whether to do three separate forks or to do the three tasks in one fork as done here. Happy to change if requested. Also, no results for existing pre-trained models yet due to insufficient computing resources at this point.

@googlebot I fixed it.

Thank you for submitting your task! We are in the process of pairing submissions with task reviewers and will be in touch soon.

Hi @benjamininden - As a reminder you have until Friday, March 26th to revise your task to be accepted in the workshop. Please tag your reviewers when you have addressed their suggestions.
Reviewers:
@Sohl-Dickstein and @ajslone if the submitter has made revisions please be sure to notify me with a formal "accept" or "does not meet criteria" by Friday, March 26th.

Changes for this revision:

All three tasks have been made subtasks in a common directory as requested.
File with output from manual tests added.
Some background with literature references added in README.md.
GPT2 performance data added.
Somewhat simpler performance measures that can become negative.
.Acquaintances: graph generated in a more transparent way, and model input text clarified.
Clarification that the task was about finding a path, not necessarily the shortest path (in this version, there is only one path anyway).
Everything converted to lower case when parsing model output.
Some bug fixes and minor changes as suggested.
num_trials reduced from 1000 to 50 (for all tasks) to make things easier for the human model.

Not yet changed:

I could not make up my mind about magic numbers. This cannot be fixed with a few variables since the exact length of the model input depends on many short strings and variable contents. Of course, all inputs could be generated in the constructor as suggested. I was just wondering whether this would go against the (dynamic) nature of a programmed task, where you can always get new or more data in principle. Also, would need to store all text and solution data. While doable, I wasn't sure whether this would be the best way ... Please let me know if you want me to further change this.

Thank you @Sohl-Dickstein and @ajslone for your very helpful and detailed comments. Sorry that some things took a while. In addition to the revision submitted yesterday, there are a few changes here:

Minor changes / bug fixes as suggested.
Re-ran GPT2 on acquaintances task after bug fix, but performance is unchanged.
Re-named to word_problems_on_sets_and_graphs as suggested.
Added a comment in README.md / Limitations about the need to change maximum input text length if task is changed.

Thank you for the edits! I think this is a very nice task.
@chiafullo Accept.

Looks good to me. Thanks for all of the changes!
@chiafullo accept

@lewkowycz for meta review and merge (if acceptable)

Thanks a lot for the nice submission, I am metareviewing this task. Before merging, do you think you could parallelize the model calls by passing a list of strings to model.generate_text instead of a single string? This should speed up the time it takes to evaluate this task now and in the future. As an example if the task is:
for i in range(num_samples):
  context=get_context(i)
  output=model.generate_text(context)
  do_something_with_output(output,context)

this can be parallelized by adding 3 lines
contexts=[]
for i in range(num_samples):
  context=get_context(i)
  contexts.append(context)
outputs=model.generate_text(contexts)
for context,output in zip(contexts,outputs):
  do_something_with_output(output,context)

Thanks a lot!

@lewkowycz  Thanks I have now done this. I then placed the input text assembly into the constructor for each task, which also enabled me to remove any "magic numbers" from the maximum model context length specification as suggested by the reviewers.

@benjamininden Thanks for doing this, it looks great, will proceed to merge!


MatDialog Animation Options

Bug, feature request, or proposal:
Feature Request / Documentation Request / Information
What is the expected behavior?
The MatDialog Component currently has built in animation. When opening the MatDialog, it flyes out from the bottom to the center of the screen (or where your position is). I am having a lot of trouble finding anything out there that shows me how to change the MatDialog Animation. For example, I want to dock my MatDialog to the right of the screen and have the animation fly the dialog out from the right rather than from the bottom of the screen.
I do not see any documentation/threads/options in the configuration that allow this behavior. It does seem like the MatSideNav has this functionality. However, MatSideNav is not preferred here since I would end up with a MatSideNav within a MatSideNav.
What is the current behavior?
The only option for animating the 'flyout position' of the MatDialog animation is from the bottom
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
Example stack blitz: https://stackblitz.com/edit/angular-wbuvsn?file=app/dialog-overview-example.ts
What is the use-case or motivation for changing an existing behavior?
Better UX/flexibility for MatDialog
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
All
Is there anything else we should know?

This control is possible by using the dialog from the cdk (currently in cdk-experimental).  Because this animation is not part of the Material spec, it is highly unlikely that we will create this animation in the Material Dialog.

@josephperrott Do you have an issue I can follow? If so, this can probably be closed out and tracked in the other.

This should be documented, indeed! Thank you guys!

why is this closed? is there a way to customize the animation for dialogs? I would love to use dialogs and make them look & animate as drawers

is there any improvement ???


revision-controller: log possible LatestAvailableRevision race

We do a quorum read for the operator status, and the revision controller is the only actor changing LatestAvailableRevision. So seeing it being mutated outside of the controller loop hints at a serious race. This PR adds logging to see whether we experience this race.

/lgtm

/retest


Port to vec-embed-store

this is an extractions (and total re-write) of what was formerly in db.rs into a stand alone lib: https://crates.io/crates/vec-embed-store

This has been completed


Add removeState as an option to processSigninResponse

Use case:
We have a custom extension to OAuth/OIDC where the code is an OTP that the user is sent when the OAuth handshake starts. This code is used instead of the typical randomly generated code in exchange for an access token.
If this code is incorrect, the user cannot retry as the state (including PKCE challenge) gets removed from the store as soon as the code is used. With this change, we can pass removeState = true which means even if the validation fails, it can be reattempted with a different code.
Without this change, we have to mimic the behaviour of processSigninResponse by:

Calling readSigninResponseState directly with removeState = false
Editing the prototype of OidcClient so that _validator.validateSigninResponse() can be called by the application.

OidcClient.prototype.getValidator = function () {
  return this._validator;
};

Checklist

[x] This PR makes changes to the public API
[ ] I have included links for closing relevant issue numbers

This library can also be used as a SDK, like you do. Thanks for contributing.


Stratis DNS node fails to start in light mode

When starting Stratis.StratisDnsD in the "light" mode it fails to start.
**Stack Trace**
fail: Stratis.Bitcoin.Builder.FullNodeFeatureExecutor[0]
      An error occurred starting the application.
There was a problem initializing the node. Details: 'System.InvalidOperationException: Unable to resolve service for type 'Stratis.Bitcoin.Interfaces.IBlockStore' while attempting to activate 'Stratis.Bitcoin.Consensus.ConsensusManager'.
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Type serviceType, Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(Type serviceType, Type implementationType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(Type serviceType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateCallSite(Type serviceType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Type serviceType, Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(Type serviceType, Type implementationType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(Type serviceType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateCallSite(Type serviceType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.CreateServiceAccessor(Type serviceType)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
   at Stratis.Bitcoin.Builder.FullNodeServiceProvider.get_Features()+MoveNext() in C:\Code\InternalTestnet\tmp\StratisBitcoinFullNode\src\Stratis.Bitcoin\Builder\FullNodeServiceProvider.cs:line 36
   at Stratis.Bitcoin.Builder.FullNodeFeatureExecutor.Execute(Action`1 callback, Boolean reverseOrder) in C:\Code\InternalTestnet\tmp\StratisBitcoinFullNode\src\Stratis.Bitcoin\Builder\FullNodeFeatureExecutor.cs:line 98
   at Stratis.Bitcoin.Builder.FullNodeFeatureExecutor.Initialize() in C:\Code\InternalTestnet\tmp\StratisBitcoinFullNode\src\Stratis.Bitcoin\Builder\FullNodeFeatureExecutor.cs:line 51
   at Stratis.Bitcoin.FullNode.Start() in C:\Code\InternalTestnet\tmp\StratisBitcoinFullNode\src\Stratis.Bitcoin\FullNode.cs:line 211
   at Stratis.Bitcoin.Utilities.FullNodeExtensions.RunAsync(IFullNode node, CancellationToken cancellationToken, String shutdownMessage, String shutdownCompleteMessage) in C:\Code\InternalTestnet\tmp\StratisBitcoinFullNode\src\Stratis.Bitcoin\Utilities\FullNodeExtensions.cs:line 71
   at Stratis.Bitcoin.Utilities.FullNodeExtensions.RunAsync(IFullNode node) in C:\Code\InternalTestnet\tmp\StratisBitcoinFullNode\src\Stratis.Bitcoin\Utilities\FullNodeExtensions.cs:line 53
   at Stratis.StratisDnsD.Program.Main(String[] args) in C:\Code\InternalTestnet\tmp\StratisBitcoinFullNode\src\Stratis.StratisDnsD\Program.cs:line 71'
Application is shutting down.
The CancellationTokenSource has been disposed.

An easy solution would be to add UseBlockStore to the light build of the node. Don't do it!
The real solution is to add an empty ConsensusManager that doesn't do any validation.

The DNS node is not a deliverable right now, so I'll remove the UAT tag.


MS Teams channel bot not responding to messages, was working previously

We have a Azure Bot hosted in MS Teams which was working till 05/Dec/2018 and its not responding to any messages thereafter, we tried debugging different settings but it doesn't work in MS Teams at all. The same bot will work with Bot Emulator and give proper response.
[23:45:35]Emulator listening on http://localhost:42953
[23:45:35]ngrok listening on https://210f68f9.ngrok.io
[23:45:35]ngrok traffic inspector:http://<IP_ADDRESS>:4040
[23:45:35]Will bypass ngrok for local addresses
[23:45:35]POST201directline.startConversation
[23:45:44]->messagehome
[23:45:45]<-message...
[23:45:45]POST200conversations.replyToActivity
[23:45:46]<-typing
[23:45:46]POST200conversations.replyToActivity
[23:45:50]<-messageapplication/vnd.microsoft.card.heroHi HK...
[23:45:50]POST200conversations.replyToActivity
[23:45:50]POST200directline.postActivity
This bot is build upon :
Microsoft.Bot.Connector.Teams 0.9.0
Microsoft.Bot.Builder <IP_ADDRESS>846
Microsoft.Bot.Connector <IP_ADDRESS>846
Microsoft.Bot.Builder.Azure 3.2.5

@v-haun - Could you please share your bot id? Also, it this (https://210f68f9.ngrok.io) endpoint currently active?

Hi Wajeed,
Following are the Bot details
"endpoint url" : "https://metrix-dev.azurewebsites.net/api/messages"
"botId": "14d39571-d8d0-447a-b049-7b586512e556"
This bot is used by internal msft users, my user id is<EMAIL_ADDRESS> Can we sync up on MS Teams today to debug further ?
Also attaching the bot manifest file for more details.
MetrixDev.zip
Regards,
Hari

This issue can be closed as our bots are back online through MS Teams Channel. It is found that Bot Framework did start rolling out the TLS 1.2 change this weekend. We have to make the change in Azure portal and upgrade the HTTP target .NET framework settings in web.config to 4.6 where TLS 1.2 is supported by default.
Reference: [https://blog.botframework.com/2018/11/06/announcement-azure-bot-service-enforcing-transport-layer-security-tls-1-2/]


No such file or directory: Your trained walk model directory

Hello, when I use command line python legged_gym/legged_gym/scripts/train.py --task a1_down --headless to run a1_down or a1_jump, etc, there is a problem as follows:
Traceback (most recent call last):
  File "legged_gym/legged_gym/scripts/train.py", line 49, in <module>
    train(args)
  File "legged_gym/legged_gym/scripts/train.py", line 44, in train
    ppo_runner, train_cfg = task_registry.make_alg_runner(env=env, name=args.task, args=args, env_cfg=env_cfg)
  File "/root/parkour/legged_gym/legged_gym/utils/task_registry.py", line 171, in make_alg_runner
    resume_path = get_load_path(log_root, load_run=train_cfg.runner.load_run, checkpoint=train_cfg.runner.checkpoint)
  File "/root/parkour/legged_gym/legged_gym/utils/helpers.py", line 132, in get_load_path
    models = [file for file in os.listdir(load_run) if 'model' in file]
FileNotFoundError: [Errno 2] No such file or directory: '/root/parkour/legged_gym/logs/field_a1/{Your trained walk model directory}'

And I find the configure in class A1JumpCfgPPO.runner:
class runner( A1FieldCfgPPO.runner ):
        policy_class_name = "ActorCriticRecurrent"
        experiment_name = "field_a1"
        resume = True
        load_run = "{Your traind walking model directory}"
        load_run = "{Your virtually trained jump model directory}"

But I did not have a trained jump model and I can`t.
And when I use command line python legged_gym/legged_gym/scripts/train.py --task a1_field --headless, it dose works, but in every episode, the Mean Reward is 0. I can not find the reason.

For the safety issue of A1 hardware, we will not provide the checkpoint and training log for Unitree A1.
For training the walking and parkour skills, please refer to this issue. The files provided are examples of how you can launch the training process.

Okey ,thank you for your reply!

class runner

So you can only run the single skill a1_field in the simulation?


Min label visible after setting disableRange

New Issue Checklist

[x] Updated RangeSeekSlider to the latest version
[x] Checked Gitter

Issue Description
After setting the disableRange to true, minLabel still shows up. I guess the following line (469):
        minLabel.isHidden = hideLabels

Should read:
        minLabel.isHidden = hideLabels || disableRange

Let me know if that's the fix or I am using it wrong and I'll send a PR.
Thank you,
H.
Environment

@hernangonzalez Thank you for opening the issue. I think it is probably a bug. Please send me a PR.

Looks like the bug has more in it. If you look at:

I'll take a closer look and prepare a complete fix for the disableRange feature.
Thank you.

@WorldDownTown let me know if this makes sense.
The solution I found for the border there was on updateLineHeight:
        sliderLineBetweenHandles.cornerRadius = sliderLine.cornerRadius

Thanks.

Sent the PR. Might as well continue discussion there. Thank you.


New term keywords strategy

come up with a strategy for maintaining term/slot keywords in a way that is

unbaised
sustainable
automated

get rid of 'host.'

keywords are useful for assessing consistency in terms: do all terms that have the time or date keyword use the same range?


separate instrumentation for service/component/repository/restcontroller/controller from other beans

Currently they're instrumented in spring.bean plugin. This plugin also enhance all other spring beans. Sometimes, users don't want to enable the spring.bean plugin, but want to keep above components enhanced.

controllers are now not instrumented by bean interceptors. See #784

A configuration is provided to disable beans not annoated with these annotations


Update Setup Documentation for Swift 4.0.2

Not sure this is exactly the right place for this issue, but wasn't sure where else was best to send it...
Your docs both in the account dashboard and here are not up to date with Swift 4.0.2. I was following the setup steps in the account dashboard.
In step 5 "Copy the highlighted statements into your AppDelegate.swift", the imports only include:
#if DEBUG
        import AdSupport
#endif

but I was getting errors like:

In order to fix those, I had to add:
import Leanplum

to the top of my file. Similarly, anywhere I was using Leanplum.track() I needed to include import Leanplum.
Also, in step 5, the docs include the following in it's sample snippet to copy/paste:
Leanplum.setDeviceId(ASIdentifierManager.sharedManager().advertisingIdentifier.UUIDString)

But I was getting this error:

To fix it, I had to change that line to:
Leanplum.setDeviceId(ASIdentifierManager.shared().advertisingIdentifier.uuidString)

I was also running into some issues with Step 7 of the docs in the account dashboard. See #100 for more details.
Are these all valid issues / changes? Or did I do something wrong in my setup? I installed Leanplum 2.0.3 using carthage and am running Swift 4.0.2 in Xcode 9.1 (9B55).

Thanks for reporting. CSM and TSE will contact you shortly. We will update our doc.

Issues are fixed in new docs: http://www.leanplum.com/docs/ios/setup#install-the-sdk


Add DoubleOpen as license classification provider

Please have a look at the individual commit messages for the details.

FYI @mmurto.


Issues: Tables are not rendered correctly

Source: Debits and credits - Wikipedia, under the heading: - Aspects of transactions
Actual Result
On the other hand, increases in revenue, liability or equity accounts are credits or right side entries, and decreases are left side entries or debits.
Kind of account
Debit
Credit
Asset
Increase
Decrease
Liability
Decrease
Increase
Income/Revenue
Decrease
Increase
Expense/Cost/Dividend
Increase
Decrease
Equity/Capital
Decrease
Increase
Debits and credits occur simultaneously in every financial transaction in double-entry bookkeeping.

Expected Result (Using clipboard2markdown)
On the other hand, increases in revenue, liability or equity accounts are credits or right side entries, and decreases are left side entries or debits.

Kind of account
Debit
Credit

Asset
Increase
Decrease

Liability
Decrease
Increase

Income/Revenue
Decrease
Increase

Expense/Cost/Dividend
Increase
Decrease

Equity/Capital
Decrease
Increase

Debits and credits occur simultaneously in every financial transaction in double-entry bookkeeping.

Thanks for the issue @anishmittal2020. The part works for me. Can you please check your addon version? It should be:

Version 0.21.0
Last Updated June 27, 2021

Update to the latest by about:addons → Gear icon at top-right → Check for updates, restart your browser, and retry please. As it's works for me it might be difficult to investigate and/or fix I'm afraid.

@0x6b I have same Addon version, and I tried once again, I got exeactly the same issue.
Firefox: 90
OS: Ubuntu 20.04
Extension Version: 0.21.0
Last Updated: 26 June 2021

@anishmittal2020 Can you try the page with checking Enable GitHub Flavored Markdown (strikethrough, tables, and taskListItems) support? Original Markdown syntax does not support table so you have to check the preference.

Hi what you mentioned worked for the aforemnetioned example. I changed my settings:

But it does not work in this example: Attitudes, Beliefs, and Values  SPCH 1311: Introduction to Speech Communication

Definition
Changeable?
Example

Attitudes
Learned predispositions to a concept or object
Subject to change
I enjoyed the writing exercise in class today.

Beliefs
Convictions or expressions of confidence
Can change over time
This course is important because I may use the communication skills I am learning in my career.

Values
Ideals that guide our behavior
Generally long lasting
Effective communication is important.

It weorks with clipboard2markdown)

@lamyergeier Thank you for your patience. After nearly 3 years of silence, I've released version 0.22.0, and it seems to be working fine with the URL. Please check and if you have something strange, please reopen the issue. Thanks!

@0x6b  The following table from File attribute - Wikipedia is rendered as below

Common file attributes supported by many common Linux file systems Attribute .mw-parser-output .monospaced{font-family:monospace,monospace}lsattr flag chattr option Semantics and rationale No `atime` updates `A` `+A,-A` [[atime record](https://en.wikipedia.org/wiki/Stat_(Unix))](https://en.wikipedia.org/wiki/Stat_(Unix) "Stat (Unix)") is not modified when file is read/accessed. Append-only `a` `+a,-a`

Writing to file only allowed in append mode.

Immutable `i` `+i,-i`

Prevents any change to file's contents or metadata: file/directory cannot be written to, deleted, renamed, or hard-linked.

No dump `d` `+d,-d` File is skipped by the [[dump program](https://en.wikipedia.org/wiki/Dump_(Unix))](https://en.wikipedia.org/wiki/Dump_(Unix) "Dump (Unix)") Secure deletion `s` `+s,-s` Requests that, when deleted, all file data blocks are [[filled with zeroes](https://en.wikipedia.org/wiki/Data_remanence#Overwriting)](https://en.wikipedia.org/wiki/Data_remanence#Overwriting "Data remanence"). Synchronous updates `S` `+S,-S` Changes are written synchronously to the underlying filesystem storage medium; equivalent to 'sync' mount option for affected files.


source_id -- add NERC to two HadGEM3-GC31 models

Hi,
Would it be possible for the institution_id NERC be added to source_ids HadGEM3-GC31-HH and HadGEM3-GC31-HM in addition to the existing institution_id of MOHC for these two models please?
Thanks,
Jon

@jonseddon
Hi Jon,
institution_id must be a single item, not a list.  [it is used, for example, in constructing the directory structure.]   I think it would be o.k. to define a new "institution" as institution_id = "MOHC-NERC" without breaking anything.  Then the full description of the "institution" would be a semi-colon separate list similar to the EC-Earth-Consortium  (see https://github.com/WCRP-CMIP/CMIP6_CVs/blob/master/CMIP6_institution_id.json)
If this is what you would like to do, please submit an issue proposing a "new" institution.
thanks,
Karl

@taylor13 that's a problem in the existing version of the source_id for two models, both UKESM1-0-LL and UKESM1-0-MMh which have 3, or 2 separate institution_id values listed. I agree, we'll need to amend these, as in the case of UKESM1-0-LL two separate institutions (MOHC and NIWA] will be separately running simulations with this model, we should create MOHC-NERC and MOHC-NERC-NIWA institutions and replace these entries. @jonseddon does this seem a reasonable forward step?

Let's think a bit more about this.  We should be able to allow multiple institutions and have either one return qualifying datasets in the search interface.  Only the first institution would be considered the "DRS" value, and it would be used in directory structures,  further_info_url, etc.
We need to check with Denis, Sasha, Eric, and perhaps others before authorizing this modification.

For the HadGEM3-GC31 series of models we expect two institutions to be performing & submitting data; MOHC and NERC.
For the UKESM1 models I'm aware of four institutions; MOHC, NERC, NIWA and KMA.
I'm sure its important to the institutions involved that credit for performing the experiments is appropriately given, particularly in the case of some of the scenarios where current plans suggest MOHC, NERC and KMA will each perform ensemble members, and all four may be involved in AerChemMIP experiments.
I can understand keeping the institution used in the DRS constant, but propagating this through to the further_info_url would appear to require MOHC to be responsible for managing/organising the further information for other institutions (I'll have a further think about this).
I note that the EC-Earth groups have organised this differently, with a single institute_id referring to the whole consortium.

Thanks for this additional information about plans for the Hadley Centre models.  In an offline discussion I noted that there are two use cases we might want to consider:

Two or more institutions want to claim responsibility for the same simulation produced by a model.
Different institutions want to claim responsibility for different simulations produced by a single model.

Case 1: Two or more institutions want to claim responsibility for the same simulation produced by a model:
This can currently be done only if the institutions team up and define an institution_id (and institution) containing both their acronyms/names and all simulations produced by that model are jointly sponsored by both institutions.  In short, some of the ESGF infrastructure currently assumes there is just one institution (or one collection of institutions identified by a single name) associated with each model (i.e., with each source_id).
Case 2:  Different institutions want to claim responsibility for different simulations produced by a single model:
At present this can't be done.
Further comments welcome.

@jonseddon @matthew-mizielinski @durack1
I can't promise we can do this, but is this what we would like CMOR to do?
1) receive a *list* of institution_id's (or a single institution_id) from the user, which are
to be associated with a data set
2) check whether each of the i.d.'s, is found in the CV
3) extract from the CV the "institution(s)" using the "institution_id(s)" as keys
4)  construct the institution_id global attribute as a space-separated list of the institution_id(s)
(as passed by the user)
5)  write the institution global attribute for each institution_id as a semi-colon-separated string.
6) use the first institution_id in defining the directory structure and further_info_url

and is this what we want PrePARe to do?
1) Read global attributes institution_id and institution.
2) Check that each of the institution_id's (appearing as space separated strings) is
found in the CV
3) Check for each institution_id whether the corresponding "institution" in the CV
appears within the institution global attribute.
4) Check that the same institution_id appears in the directory structure and in
further_info_url, and that it also is the first id appearing in the institution_id global attribute.

As a bonus, it would be nice to
5) check that the institution_id(s) associated with the data set are included in the list
of institution_id's found in the source_id CV for the model that produced the data set.

CMOR and PrePARe already do some of the above, but before checking whether it would be easy to modify them to meet the additional needs, I want to make sure we know what we want.
thanks.

From our HadGEM3/UKESM point of view, I believe that although there are multiple institution_ids defined for a source_id in the CV, we will only ever pass a single institution_id to CMOR. @matthew-mizielinski will have to confirm this. However, I can see that the ability to pass multiple institution_ids could potentially be useful for other groups.
Can I check in step 6 of the CMOR requirements, do you mean the first institution_id passed to CMOR in step 1, or the first institution_id in the CV? From the PrePARe steps I believe the former.
Thanks for looking into this. It provides very useful functionality for us.

Sorry I am a bit late to this discussion - I would like to add a note of caution here before anything is changed.   I would strongly argue against combination acronyms for institute_id (e.g. MOHC-NERC).  The end user must be able to uniquely identify the institute that produced the data and ultimately be able to direct queries to that institute.  If you must use a combination acronym then a support mechanism needs to be established for the combination - and at the Met Office we don't want to have to deal with enquiries for data we didn't produce.
The CV system needs to be able to reflect a one to many relationship between models and institutes.  In CMIP5 several institutes delivered data from the HadGEM2 model and these were all correctly handled by ESGF with the relevant institute label.  If an end-user wanted to find all data from hadGEM2 model ignoring the data provider then the ESGF search mechanisms support that.
Matthew has indicated the likely use of HadGEM-GC3 and UKESM across the CMIP6 programme and we have agreed with these partners that data will be submitted on the basis of individual institutes (as Jon indicated in his last post).
I don't fully understand the technical issues preventing the model and institute being considered independent descriptors for the supplied data as it was for CMIP5.  If they need to be dependent for PREPARE then can't we just define a one-to-many structure and allow PREPARE checks to verify that the supplied data matches one of the model->institute relationships.

In can confirm as @jonseddon suggested that each simulation will be produced by a single institution.
I had also forgotten about the ES-Doc / support query requests that @markelkington is referring to, which could significantly complicate support procedures, particularly if I have to convince scientists at other institutions (some of whom have not been particularly responsive to date) to respond to queries regarding datasets we have had no involvement in.

Thanks, all, for clarifying what we need (and what we don't want).  I vaguely recall that Mark (and Martina?) and I had discussions about how we would handle this many months ago, and I think that led to the current approach (which might not have to be changed at all).  So, to summarize what we know we need at this time, for CMOR:
1) user passes to CMOR a single institution_id that indicates who should be contacted with
any questions about the data.
2) CMOR checks whether the institution_id is in the CV
3) CMOR extracts from the CV the "institution" using the "institution_id" key
4) CMOR writes institution_id as a global attribute
5) CMOR writes the institution as a global attribute
6) CMOR uses the institution_id in defining the directory structure and further_info_url

and for PrePARe:
1) Read global attributes institution_id and institution.
2) Check that the institution_id is found in the CV
3) Check that the "institution" is the same as the institution associated with institution_id
found in the CV
4) Check that the institution_id recorded as a global attribute also appears in the directory
structure and in further_info_url

Note that I have not asked PrePARe or CMOR to check that the institution has been authorized to contribute results from any particular model.  As long as an institution is registered in the institution_id CV, CMOR & PrePARe will let it contribute results from any registered CMIP6 model.  I think that's probably o.k. (although, then the source_id CV might not show all the institutions contributing results from the models registered).  Any concerns?

@taylor13 that looks great to me. Many thanks!

@jonseddon those changes are now in place, please take a peek at CMIP6_source_id.html to double check.

@durack1 That looks great. Many thanks! Jon


Large Data React-Window Virtualization

Please describe the feature that you want to propose
I'm using ReactFlow customized, but if there are 500 pieces of data, the scroll is stuttering.
In this case, I'm trying to optimize rendering using a react-window, are there any options or methods available?
https://github.com/xyflow/xyflow/assets/130032473/e8fcbb17-24b8-493a-a2da-c189ecde42bb

You can use the onlyRenderVisibleElements prop.
We want to improve the virtualization. You can follow that status here: #4239

Thank you for your quick response.
I have an additional question, '[React Flow]: Couldn't create edge for source handle id: s-right;'<- I'm ignoring the warning and using the feature. I wonder if the warning has a big impact on rendering. Is it okay to ignore it if it's not a big problem?

Do you only get that warning while using onlyRenderVisibleElements?

No, it was a warning that occurred in the past regardless of the use of onlyRenderVisibleElements.
The flow is well displayed, but I think there is a problem internally because the warning is happening. I would like to get some guidance on how to fix the problem
I used onlyRenderVisibleElements, but it doesn't seem to have much effect on the screen, so I thought it might be a warning problem
The code I'm working on is as follows
https://codesandbox.io/p/sandbox/reactflow-9h9mfz?file=%2Fsrc%2Fcomponents%2FCallFlow.tsx%3A276%2C30

I can't see the warning in your codesandbox. The warning happens if you want to connect to handles or nodes that don't exist. Sometimes it's a race condition, because nodes get rendered, before the new edge state is set. Could that be the case here?

If that's the case you can safely ignore the warning. Or delay the next edge state a bit


Make it possible to configure user/group to install Maven under

Description
It was found in #82 that it is not possible to configure the user/group that Maven is installed under. This change makes that possible, and creates that user/group if required.
Additionally, this adds some more tests for the maven::default recipe.
Issues Resolved
Closes #82.
Check List
[x] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

@jamietanna On windows systems for example there is no concept of a "root" user.

@jamietanna If you want to refactor this in a way that doesn't break Windows we'd be more than happy to merge it in, but as it stands right now this removes Windows support for the cookbook. I'm going to close it out, but feel free to open this back up with the Windows support resolved.


add rsa_ext

pri key encrypt long string
pub key decrypt long data

I've mostly seen this referred to as RSA in Electronic CodeBook (ECB) mode.
It's a suboptimal way to use RSA as it needs to perform a modpow operation per "block", and generally discouraged.
A better option is to use hybrid encryption, which uses something like RSA-KEM to establish a shared symmetric key, then symmetric cryptography to actually encrypt the message.
HPKE provides a standard protocol for this, although unfortunately we don't yet provide RSA-KEM support: #323

I know what you mean
because this encryption and decryption method is provided in other programming languages
when we interact with other third-party systems, they use this way to verify encryption and decryption of apis,
in order to adapt to their api, we have to use this way to encrypt and decrypt,
I searched for a long time in crates.io and  github, but did not find,
so I implement it myself.
I believe that there will be others who have the same needs as me
so I create this pull request

because this encryption and decryption method is provided in other programming languages

That's not a justification for including this feature. The term for that is cargo culting.
I would personally prefer not to include such a feature in the rsa crate because:

It is a non-standard construction without an associated standards document like an RFC
It is badly designed and including it is something of an endorsement
Hybrid encryption should be the preferred solution to this problem

However, feel free to publish your own crate that implements this construction.


Fix #2259 by relaxing drm connector selection on RPI4 native mode

When selecting a display connector in drm mode raylib tries to find an exact match with FindExactConnectorMode(..)
and if none is found resorts to FindNearestConnectorMode(..).
This PR relaxes the drm connector selection by removing the fps requirement in FindNearestConnectorMode(..).
It is still uses the fps to find the most suitable display!
This change should fix #2259.
It also fixes the problem with SetTargetFPS(..) and InitWindow(..) ordering.
SetTargetFPS(..) is used in order to reach a certain internal fps target and less for display selection.
Resolution is more defining here.

@Crydsch Oh! That's a great fix! Thank you very much! :D


Review script for paper "2023ApJ...943..134C" made with predictor "DataLinkerWithSupport"

Created by Paper Data Linking Bot
Please review the download script and instrument details for the paper.
bibcode: 2023ApJ...943..134C
predictor: DataLinkerWithSupport
annotated pdf: view here (requires login)
Checklist
Download Script

[ ] Correct time ranges specified

[ ] Correct VSO instruments specified

[ ] Query returns good results or contains warning with reasoning if not

[ ] Physical observables omitted or correct

[ ] Wavelengths omitted or correct

[ ] Cadences omitted or correct

Instrument Details

[ ] Consistent with download_script.py

Metadata

[ ] Contains the bibcode for the relevant paper
[ ] VSO sources consistent with download_script.py

For more details, refer to the Contributing Guide.

observation_date = "2020-05-29"

# EPI-Hi on Parker Solar Probe: Measures energetic protons and heavy ions
epi_hi_time_range = a.Time(observation_date)

Needs to be a range, a.Time expects two values.


Asynchronous population of dform entries

The new feature would hinge on the presence of dform entries with a "populate" property.
When a dform is run on an object, the following newly happens:

entries without "populate" properties are displayed
an array of the "populate" entries is constructed
the populate function of the first entry is run, with the array from 2 as its argument

The populate functions expect to take a form object and an array of entries. When called, they shift their entry off the front of the array, asynchronously populate the form input, and run the next populate function, sending it as arguments the form object and the array containing the remaining entries.
In this way, the "populate" entries are asynchronously populated in sequence, one after another. The dform would be fashioned so that the entries are listed in order of dependency - i.e. if entry X depends on entries A, B, and C, it would be listed after A, B, and C.
For example, a dform to generate a "last interval plus offset" interval would look like this:

date
aid
long_desc
remark
sid (populate)
schedule intervals (populate)
existing intervals (populate)
interval start (populate)
interval end (populate)

The "sid" entry populate function would look up the SID (Schedule ID) of the current employee.
The "schedule intervals" populate function would look up the schedule intervals for that day.
The "existing intervals" populate function would look up existing attendance intervals for that day.
The "interval start" populate function would derive the interval start time from the schedule intervals and the existing intervals.
The "interval end" populate function would compute the interval end time by adding the offset to the interval start time.

This is now done, via a combination of:

a modification of the dform code in start.js
an idiom for writing populate functions


Revert "test"

Reverts suleymanakbas91/test-infra-1#19

@suleymanakbas91: Updated the job-config configmap using the following files:

key istio-kyma-patch.yaml using file ``

In response to this:

Reverts suleymanakbas91/test-infra-1#19

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@suleymanakbas91: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

test-infra-validate-configs
4abcc6179f9f7277c57f0427a2cb7df5c131b5f1
link
/test test-infra-validate-configs

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Add english language labels

Summary of the discussion
Added language labels, did not use any fancy scripts, only used automatic replacer from vscode and this regex pattern: "rdfs:label "(.*)" replaced by "rdfs:label "($1)@en" then removing the trailing "@en" entries.
Related  to : #1516
Type of change (CHANGELOG.md)
Updated

Updated a lot of classes

Great that you find such an easy solution. However, we should what until #1652 is merged, else we create a lot of conflicts.

Ill do this again from scratch, merging is not direct


fix install weights during cmake, update README, tag for release

fix installing the weights during cmake builds
update README to include how to run the yolov3-tiny.cfg
tag for release

i dont think the tag will be brought over during the PR merge....so we might need to tag again once its merged in on your repo

once this is merged in I can make the bloom release for ROS, ive already made the release repo over here


URL generated for live share is open for search engine index

Issue Type: Bug
When you search for "inurl:visualstudio.com/join/" on Google, it returns results. Here is a link to the query:
https://www.google.com/search?q=inurl:visualstudio.com/join/&filter=0&biw=1680&bih=976
robots.txt (https://insiders.liveshare.vsengsaas.visualstudio.com/robots.txt) should look like the following to prevent it happening:
User-agent: *
Disallow:
Disallow: /join/
and the page itself should have the following meta tag:
<meta name="robots" content="noindex">
Extension version: 0.3.114
VS Code version: Code 1.23.1 (d0182c3417d225529c6d5ad24b7572815d0de9ac, 2018-05-10T16:03:31.083Z)
OS version: Darwin x64 17.5.0

@tarikozket Thanks for reporting this! You're right, we should definitely make this change, and we'll use this issue to track it. Thanks!

@tarikozket This has now been resolved and deployed! Thanks again for the feedback 👍


Clean up temporary "helm-repotest-*" directories left behind by tests under cmd/helm

fix(helm): fix the bug in multiple tests (cmd/helm/repo__test.go) which leaves behind temporary directories named "helm-repotest-" during build. Part of work on #3485
Example of such directories left behind by the build:

drwx------ 5 ab ab  4096 Feb 19 12:59 helm-repotest-473135226
drwx------ 5 ab ab  4096 Feb 19 12:59 helm-repotest-956265361
drwx------ 5 ab ab  4096 Feb 19 12:59 helm-repotest-070488043
drwx------ 5 ab ab  4096 Feb 19 12:59 helm-repotest-763010901

This PR results in no remaining temporary "helm-repotest-*" directories after build.
Signed-off-by: Arash Deshmeh<EMAIL_ADDRESS>

thanks so much @adshmh :)


add what i'm working on

tell me why there are only <head> and <body> but no <arm> and <leg> in an html

I’m too lazy to add more


{Log} Adapt az_command_data_logger to Knack 0.8.0

Adapt to https://github.com/microsoft/knack/pull/228: [Log] CLILogging.configure returns as early as possible
Symptom
az feedback no longer works with knack dev branch:
> azdev test feedback

src\azure-cli\azure\cli\command_modules\feedback\tests\latest\test_feedback.py:130: in _helper_test_log_contents_correct
    self.assertEqual(command_log_files[1].get_command_status(), "SUCCESS")
E   AssertionError: '' != 'SUCCESS'
E   + SUCCESS

Cause
In pytest environment, pytest will configure the root logger to capture all logs.

The old knack always forcibly set root logger level to DEBUG.

The new knack can detect that and it leaves pytest root logger as is (https://github.com/microsoft/knack/pull/228).
In such case, we have to manually set az_command_data_logger's level to DEBUG, otherwise it will honor pytest root logger's level and be WARNING by default (when --log-level is not set). This makes az_command_data_logger's log be ignored. For more info on how Python logging works, see logging.Logger.getEffectiveLevel.

Additional Context

az feedback relies on az_command_data_logger (which are written to ~/.azure/commands/).

az_command_data_logger is written by azure.cli.core.util.handle_exception.

During testing, azure.cli.core.util.handle_exception is mocked by azure.cli.testsdk.patches.patch_main_exception_handler so that the original Exception can be thrown and asserted.

However, azure.cli.testsdk.patches.patch_main_exception_handler doesn't write to az_command_data_logger.

In the oldest code (#8829), this is worked around by calling the leaked file handler after execute finishes.

As #13102 fixed the leaked file handler, the old code no longer worked. To work around it again, #13102 manually delayed the cleanup for file handler.

This PR refactors #13102 with a more elegant mock.patch on azure.cli.core.util.handle_exception again, so that no manual delay of file handler cleanup is necessary.

Log


Align TIMG field names

Problem was that on S2 and S3 there were names like T1CONFIG/T0_xxxx ... this strips the Tn_ prefix from the field names.
Unfortunately, this PR will break the current HAL version so I will pin the dependencies there to a commit instead of just using the branch with_sources

Yes, the interrupt names are consistent as far as I can see

Thanks for the review! I will merge this now ...


Click events not recognized after bringing window into focus

On macOS Monterey.

can you check on latest version? I think this might’ve been fixed in https://github.com/HumbleUI/HumbleUI/commit/0dce46864018b5c54b671016bc6c11afc2422cac
https://user-images.githubusercontent.com/285292/188976353-2aa25393-7319-4911-8d49-a7ddc064dd29.mov

Still the same behavior on my end on https://github.com/HumbleUI/HumbleUI/commit/91f43c3ad7ea0819f5dea99b54cfe61b9d8ae8c8. Any mouse behavior seems to be ignored after clicking into the window, including scrolling, and changing the cursor to | when mousing over a text box (until mouse move).

@tonsky I spent some time trying to diagnose: https://www.youtube.com/watch?v=SvuBhFUJUo0
Might be worth a watch on x2 speed. This part was the most surprising, where the events were firing but the x/y coords was somewhere to the left of the HumbleUI window. https://youtu.be/SvuBhFUJUo0?t=1409

Very interesting indeed. It looks like you are not getting mousemove when window is inactive. In my case even in inactive window I get both mouse move and scroll.
https://user-images.githubusercontent.com/285292/189448427-5ab9a433-f623-424b-ad57-28f154cae32f.mp4
I have two guesses: what version of macOS are you on, and how are you starting Humble UI?
One thing to try might be to run JWM demo (script/run.py) and see if you get move events on inactive window?

I have two guesses: what version of macOS are you on, and how are you starting Humble UI?

macOS 12.5.1 (Intel macbook pro)
./script/run.py

One thing to try might be to run JWM demo (script/run.py) and see if you get move events on inactive window?

Seems to be a similar problem with the first clicks being at the wrong coordinates.
https://user-images.githubusercontent.com/287396/189464370-ff3d2c41-a5b7-4938-9c5b-ba25052dce40.mp4

Well, I guess the reason is your window is not getting mousemove events when not in focus. I have no idea why. Mine does :(

I’d appreciate a lot if you were able to figure it out, since I can’t reproduce it

Thanks for this amazing suite of software (incl JWM, Skija, ...).
I'm finding (on macOS both 13.1 x86 and 13.2.1 arm64) that {:button :primary :pressed? true} only occurs with a full trackpad click, not with the Tap to click feature from System Settings.app. I had a quick look around HumbleUI and JWM and couldn't find why this might be. Can probably assist if you tell me what I need to do.

I'm finding (on macOS both 13.1 x86 and 13.2.1 arm64) that {:button :primary :pressed? true} only occurs with a full trackpad click, not with the Tap to click feature from System Settings.app.

I also observed this behavior. I thought I was imagining it.

I’ve seen it too. No idea why it’s happening, I’m not doing anything smart with AppKit API. Last time I tried to debug it, though, it disappeared :) I’ll give it another shot eventually


M3-1393 refactor account

Add documentation for account endpoint-related things
Add validation schemas as appropriate, updating error handling when necessary.
Standardized function signatures, moved filters from services and into the Manager proper

Coverage increased (+0.04%) to 27.069% when pulling 9e09572bf92d8858071d5a1288e9399a94e6caed on Jskobos:M3-1393-refactor-account into 70ce47d799b882aadf2b286d1fbbb383a5c8db34 on linode:develop.


couldn't load

Main clasee not found

Will be updated today! Check in after 10 hours for the first beta build. Thanks for opening an issue

Fixed


Update with .update().where().orderBy().limit() issues incomplete query

Hello,
I possibly found a bug with issuing chained update queries, but before I start investigating a fix I wanted to verify whether this behaviour is desired or not.
As in the title, issuing an .update() with the following query in the sequence in title:
return knex(TABLE_NAME)
.update(record)
.where('articleId', articleId)
.orderBy('id', 'DESC')
.limit(1)
issues this SQL query:
sql: 'update articles set wpsData = ? where articleId = ?',
bindings: ...
My current workaround:
knex(TABLE_NAME)
.update(record)
.where(knex.raw('articleId = ' + articleId + ' ORDER BY id DESC LIMIT 1'))
this seems to be correctly issuing the following query:
sql: 'update articles set wpsData = ? where articleId = 2640556 ORDER BY id DESC LIMIT 1',
bindings: ...

I did this with Knex + psql :
if (w[0]) {
    db.from('cards')
    .where(
        'cards.box_id', req.body.box_id
    ).limit(5).orderBy('cards.id')
    .then(data => {
        const Ids = data.map(x => x.id );
        const preId = Ids.map(a => ashkan(a) );
        function ashkan(c) {
        db.from('cards')
        .where(
            'cards.id', c
        )
        .update({ position: 2 })
        .returning('email').then(r => {
            console.log('executed');
        })
    }
        res.status(200).json('done');
    })
}