The icon does not flip back

Describe the bug
The icon does not flip back.
Context
Device: Nexus 5
OS Version: Android 9.0.0
App version: 1.0.06
How to reproduce
1.Lauch memory_game
2.Select theme and difficulty
3.Click two different icons to flip
4.Click one of these two icons several times quickly when they flip back
5.Click another icon, then the icon you clicked before will not flip back
Expected behavior

Actual behavior

Actual behavior

Expected behavior


Problems about predicting by pandas

I trained a xgboost model by libsvm format,when predicting values with same data (pandas dataframe),the model predicts wrong answers.

tree structure like this :
booster[0]:
0:[4003<1] yes=1,no=2,missing=2
1:[21<0.00287356321] yes=3,no=4,missing=4
3:[1563<0.100484997] yes=7,no=8,missing=8
7:[10023<0.380952388] yes=15,no=16,missing=16
15:leaf=0.421930671
16:leaf=0.437725931
8:[10<2.08999991] yes=17,no=18,missing=18
17:leaf=0.388969213
18:leaf=0.423030943
4:[10016<0.295454532] yes=9,no=10,missing=10
9:[1565<0.136473] yes=19,no=20,missing=20
19:leaf=0.366048157
20:leaf=0.308834165
10:[5016<0.429840147] yes=21,no=22,missing=22
21:leaf=0.388634413
22:leaf=0.426836252
train_data format：
2 10:0.98350227 11:-8.8888888E7 21:-8.8888888E7 314:0.0 317:0.41715977 409:-8.8888888E7
predict data format:

hey which, version are you using?

closing as stalled. Feel free to reopen if there is further information.


Replace Parameters.@with_kw by Base.@kwdef

That allows to remove Parameters.jldependency

Didn't know about this! Thank you @frapac


Upgrade to Dotty 0.25.0-RC2

@cla-bot[bot] check

Note that I was not able to test these changes, I let scalacticTestDotty/test:compile run for > 30 minutes and it never finished, looking at stack traces it doesn't look like it was stuck in an infinite loop, so maybe some macros are generating a huge amount of code? This already happens on branch 3.2.x-new before this PR (is there no CI running in this repository?), but it does not happen in the older version of scalatest in our community-build which we patched to work with the latest dotty: https://github.com/dotty-staging/scalatest/commits/dotty-community-build, so something must have changed in the scalatest repository to cause dotty compile time to blow up.

@smarter Our CI currently only covers scala 2.x builds on jvm, I have been running scalacticTestDotty manually on my machine, and it is working fine where it took about 3mins to finish using Dotty 0.24.0.  I'll try this PR and see if I can reproduce what you're encountering locally.

@smarter Fyi This PR did finish on my machine, took about 3 mins also, I am not sure why it didn't finish on your end, for communication this is how I built:
> sbt scalatestTestDotty/clean scalacticTestDotty/clean scalatestDotty/clean scalacticDotty/clean
> sbt scalatestTestDotty/test
> sbt scalacticTestDotty/test

They are all green (and finished) when I ran the above.

Thanks for checking! That's very weird then, would be good to get a third person to run it and see what happens, @nicolasstucki could you try running scalacticTestDotty/test on scalatest master ?

@cla-bot[bot] check

It also took around 3 minutes on my machine  for scalatest:3.2.x-new and dotty-staging:dotty-3.2. All tests passed.


new cumprod atom

Description
Please include a short summary of the change.
This PR adds a new cvxpy atom that is analog to numpy.cumprod.
TODO:

figure out implementation for axis. General case is given here
tests
Issue link (if applicable): from Discord.

Type of change

[x] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[ ] Bug fix
[ ] Other (Documentation, CI, ...)

Contribution checklist

[x] Add our license to new files.
[x] Check that your code adheres to our coding style.
[x] Write unittests.
[x] Run the unittests and check that they’re passing.
[x] Run the benchmarks to make sure your change doesn’t introduce a regression.

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

Small note: cumprod isn't an affine atom.


onDelay and onTimeout events

Is your feature request related to a problem? Please describe.
Especially on timeout, it could be useful to cancel the request and also indicate to the user to try again with a toast message, which is hard to do with just checking {#if $timeout}.
Describe the solution you'd like
Events for onDelayed and onTimeout, triggering when delayed and timeout are set to true respectively.

Possibly a 1.x feature.

Will be added by popular request.


Reject suspect search criteria on rest calls

Analyse  rest input to identify regex metacharacters; if the payload looks suspect then reject it.
Consider policing this in the java client API as well.

malicious regex expressions can force the regex engine to loop.

Recommended compliant change is
public boolean validate(javax.servlet.http.HttpServletRequest request) {
  String regex = request.getParameter("regex");
  String input = request.getParameter("input");

  input.matches(Pattern.quote(regex));  // Compliant : with Pattern.quote metacharacters or escape sequences will be given no special meaning
}
```so a string of .* would not match any character but would match a got then a star.

Any thoughts on how we solve this assuming we want to accept regex string expressions in search criteria on rest calls?

@mandy-chessell @cmgrote @planetf1 @lpalashevski

This was discussed in the community, the consensus was that we should not expose the regex in the ui. Maybe we have

exact match if not set then there is a .*added - this should be done in the OMAS server code.
case sensitive - probably best done in the client code

The fix will

remove the regex processing the search criteria and replace it with processing based on a new exactMatch flag from the user
add the new Subject Area OMAS and Glossary Author OMVS flag for search requests . When not set the search will be not an exact match
Add FVT tests to confirm this behaviour is as expected.


Improve Txr usability

define Aux alias via bounds
add Txr implicit summoners
add txr syntax: trans/rawTrans
improve example

@oskin1 @FunFunFine I kindly ask you to publishLocal a snapshot and try it in your projects. I suppose the change in Aux definition shouldn't break anything (it is needed for izumi-reflection).


Add entry points for Inspectr and autoplot

This way both tools can be lauched from the commandline in the same way as monitr directly from a pip installed version of plottr without needing the app folder to be downloaded.
The old app folder is retanind for backwards compatibility

we forgot to mention the entry points in readme and/or docs

@astafan8 No that is on purpuse. It will follow


wifi bcm43455 load firmware failed

Thanks for your nice job。
I have a rk3399 based board eaidk610，which have a AP6255 wifi + bt module on board，I think it is the same with pinephone pro。
I porting the device configuration from this pine64-pinephonepro project[0]：
But wifi startup failed due to load firmware failed:
[    5.894232] brcmfmac: brcmf_attach Enter
[    5.894597] brcmfmac: brcmf_fwvid_attach_ops mod=wcc: enter: dev mmc0:0001:1
[    5.894849] brcmfmac: brcmf_sdio_readshared sdpcm_shared address 0x00201F18
[    5.895256] brcmfmac: brcmf_fwvid_request_module: mod=wcc: failed -2
[    5.896418] brcmfmac: brcmf_sdio_isr Enter
[    5.896434] ieee80211 phy0: brcmf_attach: brcmf_fwvid_attach failed
The full kernel bootlog is here[1]:
When search online, I find these discuss[2]:
It seems I should change the brcmfmac wifi driver module load order make brcmfmac-wcc insmod before brcmfmac, But I can't find
a proper way to adjust the order.
I also try to setting  CONFIG_MODPROBE_PATH="/system/bin/modprobe" , but it also has no luck.
Hope to get some advice from you.
Thanks a lot.
[0]https://github.com/andyshrk/pine64-pinephonepro/commit/0224c537e19cd4672a07cdf2ec466a9c9d3dc07b
[1]https://pastebin.com/H9YDcJNT
<EMAIL_ADDRESS>

Hi @andyshrk ,
modprobe won't work without specifying the modules directory, e.g.,
modprobe -d /vendor_dlkm/lib/modules brcmfmac-wcc

It also looks like kernel module auto-loading is disabled:
https://cs.android.com/android/platform/superproject/+/master:system/core/rootdir/init.rc;l=19;drc=2fccf5ead36d5460c27f442a3a093b2d4d410b21

Adding MODULE_SOFTDEP() macro into the brcmfmac driver to load brcmfmac-wcc may work.

I have got the same issue with the PPP. Fixed with the kernel patch:
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
@@ -51,7 +51,2 @@ brcmfmac-$(CONFIG_DMI) += \

-ifeq ($(CONFIG_BRCMFMAC),m)
-obj-m += wcc/
-obj-m += cyw/
-obj-m += bca/
-else
 brcmfmac-$(CONFIG_BRCMFMAC) += wcc/core.o
@@ -59,2 +54 @@ brcmfmac-$(CONFIG_BRCMFMAC) += cyw/core.o
 brcmfmac-$(CONFIG_BRCMFMAC) += bca/core.o
-endif
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwvid.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwvid.c
index 86eafdb40..9958a8375 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwvid.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwvid.c
@@ -28,3 +28,3 @@ struct brcmf_fwvid_entry {
        struct list_head drvr_list;
-#if IS_MODULE(CONFIG_BRCMFMAC)
+#if 0
        struct module *vmod;
@@ -36,3 +36,3 @@ static DEFINE_MUTEX(fwvid_list_lock);

-#if IS_MODULE(CONFIG_BRCMFMAC)
+#if 0
 #define FWVID_ENTRY_INIT(_vid, _name) \
@@ -58,3 +58,3 @@ static struct brcmf_fwvid_entry fwvid_list[BRCMF_FWVENDOR_NUM] = {

-#if IS_MODULE(CONFIG_BRCMFMAC)
+#if 0
 static int brcmf_fwvid_request_module(enum brcmf_fwvendor fwvid)

I updated the main branch with new functionality + this workaround.

It also looks like kernel module auto-loading is disabled:
https://cs.android.com/android/platform/superproject/+/master:system/core/rootdir/init.rc;l=19;drc=2fccf5ead36d5460c27f442a3a093b2d4d410b21

I also get this. It seems the mainline wifi vendor-specific firmware api is conflict with android.
So I revert this series patch.

I have got the same issue with the PPP. Fixed with the kernel patch:
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Makefile
@@ -51,7 +51,2 @@ brcmfmac-$(CONFIG_DMI) += \

-ifeq ($(CONFIG_BRCMFMAC),m)
-obj-m += wcc/
-obj-m += cyw/
-obj-m += bca/
-else
 brcmfmac-$(CONFIG_BRCMFMAC) += wcc/core.o
@@ -59,2 +54 @@ brcmfmac-$(CONFIG_BRCMFMAC) += cyw/core.o
 brcmfmac-$(CONFIG_BRCMFMAC) += bca/core.o
-endif
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwvid.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwvid.c
index 86eafdb40..9958a8375 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwvid.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwvid.c
@@ -28,3 +28,3 @@ struct brcmf_fwvid_entry {
        struct list_head drvr_list;
-#if IS_MODULE(CONFIG_BRCMFMAC)
+#if 0
        struct module *vmod;
@@ -36,3 +36,3 @@ static DEFINE_MUTEX(fwvid_list_lock);

-#if IS_MODULE(CONFIG_BRCMFMAC)
+#if 0
 #define FWVID_ENTRY_INIT(_vid, _name) \
@@ -58,3 +58,3 @@ static struct brcmf_fwvid_entry fwvid_list[BRCMF_FWVENDOR_NUM] = {

-#if IS_MODULE(CONFIG_BRCMFMAC)
+#if 0
 static int brcmf_fwvid_request_module(enum brcmf_fwvendor fwvid)

This workaround is much simple.

Thanks  so much

Would you like to add eaidk_610 to the GloDroid?

Would you like to add eaidk_610 to the GloDroid?

Of course . I can send you a pull request when I figure out the latest recovery fastboot failed issue

I saw you created a rockchip-series repo, so it's better to make ppp and eaidk610 both to this rockchip-series repo ?

PPP is more complex and may require special AOSP patching. Therefore it is in a separate repository.

Do you have other boards based on rockchip soc  for the rockchip-serials repo ？

I have an opi4 tree locally. Unfortunately, I can't make it work. I'll make a few attempts to fix it and push it anyway, regardless of its state.

may be i can offer you an eaidk610 board freely if you like.

My concern regarding this board is that it is not available for sale on international trading platforms, e.g., ali's, ebay, amazon, etc...

My concern regarding this board is that it is not available for sale on international trading platforms, e.g., ali's, ebay, amazon, etc...

Yes, eaidk610 is hard to find on the international market. I only play with it because a friend gives me such one.
Maybe some boars form radxa(rockpi4/rk3399, rock3a/c rk3566/8), pine64(rockpro64/rk3399, quartz64/rk3566/8), they both have communtiy support(mainline linux kernel/u-boot, armbian) are better choice.


Vickel: Watch liteblue-usps-gov.com

Vickel requests the watch of the watch_keyword liteblue-usps-gov\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Ryan M in Charcoal HQ

liteblue-usps-gov\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.


Bug report: Block reference previews have poor support for long documents

When previewing a block reference link from a long document (over 100,000 words), it always shows the beginning of the document but not the block positioned by the blockID, regardless of whether I hold down the ctrl key and how long I wait.

Can you upload a note that has the problem with step-by-step instructions for how to reproduce the issue?  I'm having trouble understanding exactly what you mean.  For example, you say "a block reference link from a long document", but some of what you say sounds like you mean a link to a block in a long document?
It also sort of sounds like maybe you're describing something that's an Obsidian problem - namely that while Hover Editor can ask for Obsidian to scroll to a heading or block, Obsidian sometimes has challenges with this in source/live preview mode because of the way it handles formatting, especially in long documents.  So I need to know if you are in reading mode or editing mode, both in the document where you're hovering the link, and in your settings for how the Hover Preview is displayed.  Thanks.

(Also, to be clear, by "upload" I mean attaching a file to your reply, not pasting it in the comment -- I don't think Github will handle a 100k-word comment well.  :grin: )

but some of what you say sounds like you mean a link to a block in a long document

Yes, that's what I mean, sorry for the poor expression.

So I need to know if you are in reading mode or editing mode

The results are the same in both modes. The reason why I think there is a bug in hover editor is because when I close hover editor but use only the native page preview core plug-in, I can locate the original block very quickly and accurately.

And these are the two files in the images above.
003-新修本草.md
天麻整理.md
Hover editor Settings are the default.

Interesting.  For me, it goes to the correct location after about 5 or 6 seconds (no need to hold Ctrl).  If Hover Editor is set to Editing View as the default mode, however, it comes up instantly.  What Obsidian version are you using?  (I'm on 1.4.16)

For me, it goes to the correct location after about 5 or 6 seconds (no need to hold Ctrl).

I tried to wait longer, sorry about the "no matter how long" description, and it did go when I didn't hold Ctrl for more than half a minute (but the wait time was a little too long, and there wasn't any hint). I tested more links and it seemed that the wait time was related to the word count of the original document, with another block link from a document of over 1.3 million words taking two minutes to showed up.
Another strong correlation is the number of plug-ins. The above was tested in my sublibrary with single-digit plugins, and when I tried to view the block link preview in my main library with 92 plugins, I waited for over an hour without jumping... (Too impatient to wait any longer)

If Hover Editor is set to Editing View as the default mode, however, it comes up instantly.

I tried it, and it did. But somehow some of the links appeared a few lines down, and I had to scroll to find them.
I'm on 1.4.16 too.

So, I tried switching to Reading View and clicking on the problematic link rather than hovering it, and found that Obsidian navigates to the location just as slowly: i.e., this is a problem with navigating to a location in a large document open in Reading View in Obsidian, and as far as I can tell, entirely unrelated to Hover Editor.
I would suggest reporting this as an Obsidian bug/performance issue, since I would guess you'll be able to reproduce the problem in the sandbox without any plugins at all: just using the two notes and clicking between them.  If the link click works without a delay, then Hover Editor should do the same.
(Note, by the way, that the reason it's fast in Obsidian's built-in preview is because when you preview a heading or block, Obsidian loads only that part of the note; Hover Editor on the other hand is just a floating tab, which means it behaves just like if you clicked on the link to open in a new tab, except that the tab is floating in its own pseudo-window.  So it has exactly whatever features or bugs Obsidian would have upon clicking a link into a new tab.)

I've filed an issue for the Obsidian performance issue here: https://forum.obsidian.md/t/opening-new-tab-in-reading-mode-via-heading-or-block-link-takes-multiple-seconds/77208


feat: ✨ provide active/pressed state for certain input components

Checklist (for the issue creator)

[x] I have looked at the documentation site and was not able to find the required feature.
[x] I have looked into the Figma boards and was not able to find the required feature.
[ ] I would be willing to provide a PR for this feature.

Component
I suggest to add the feature to the following component: checkbox, radio, ...
Story

As a user of the Synergy Design System, I would like to get feedback if I press the mouse button down.
Acceptance criteria

[ ] All DoD items successfully completed
[ ] All active states from design are implemented

refers to https://github.com/synergy-design-system/design/issues/108


Use Python's path library

The standard Python library has a module for dealing with paths, consider using it.
https://docs.python.org/3/library/os.path.html
https://github.com/supermaxiste/ARPEGGIO/blob/b60393c653623f458ade3fed66b1943746856ddf/Snakefile#L13-L23

All addressed in #98 with snakemake --lint as a quality checker for path handling

All addressed in #98 with snakemake --lint as a quality checker for path handling


cosmosDBTrigger causes overload on the leases collection

Investigative information
Please provide the following:

Timestamp: 2017-11-20T04:50:18.383
Function App version (1.0 or 2.0-beta): 1.0.11388.0
Function App name: b985666c-b30b-4c15-b796-8968b1bbd444 in
Function name(s) (as appropriate):
Invocation ID: b985666c-b30b-4c15-b796-8968b1bbd444 3d1cacd1-2d3f-47a3-b79d-9cb0d4cc6067
Region: West US 2

Repro steps
I'm not sure how to reproduce this other than "use the cosmosDBTrigger".
I deployed a JavaScript-based Function this evening which uses the cosmosDBTrigger and I'm seeing an absurd number of requests to the Azure CosmosDB's "leases" collection. The collection was automatically created by the tirgger binding. See this spike:

Expected behavior
The collection which the function is triggering off of only has ~6k records in it, and generally speaking less than 50 new records are added an hour.
I would expect the leases traffic to not exceed my RU/s on CosmosDB and be within an appropriate order of magnitude 😈
Actual behavior
The Function itself has only been invoked 88 times at my current count, so for 88 Function invocations we're looking at thousands of requests to CosmosDB.
Related information
function.json

{
  "disabled": false,
  "bindings": [
    {
      "direction": "in",
      "type": "cosmosDBTrigger",
      "databaseName" : "db",
      "collectionName" : "someColl",
      "connectionStringSetting" : "COSMOSDB_PAGES",
      "createLeaseCollectionIfNotExists": true,
      "name": "coll"
    },
    {
      "direction": "out",
      "type": "eventHub",
      "name": "events",
      "path": "some-eventhub",
      "connection": "EVENTHUB"
    }
  ]
}

Hi @rtyler Is your Function in Consumption Mode or running in an App Service? If it is the later, how many instances of the App Service are?

The function is on a Consumption plan

Thanks @rtyler
From the metrics I can see the RU usage is less than 200 RU/s per hour, which is not high. Are you concerned about the amount of Requests made to the collection?

@ealsur yeah, the number of requests made to the collection concerns me, mostly because I don't know how to model this behavior for any capacity/cost planning. I disabled an upstream Function which was pushing writes into Cosmos and the traffic on the leases collection remained at ~8K/hour

The spike to the right on the graph represents me re-enabling the upstream function, which added approximately 150 records, apparently resulting in 2k/hour additional requests on the leases collection.
Since the behind the scenes isn't fully open to me, it's hard to tell whether this is a bug or a mismatched set of user expectations 😄. My end goal here is to better understand how I should be capacity planning for these Azure Functions interacting with Cosmos

Just so in case you want to delve into the logic, the code of the Trigger is here. The Trigger internally uses the Azure Cosmos DB Change Feed Processor, the code is also available here.
The amount of requests is not really out of what is expected, in a Consumption Plan scenario, the Functions runtime will test every 10 seconds to see how much pending work there is, that test equals at least 2 requests (more if the amount of Partition Key Ranges in your monitored collection is greater than 1, because the leases get created per PK Range), so that's 720 requests in an hour.
The Function itself uses a polling mechanism over the Change Feed every 5 seconds or less to check for new changes. The leases are kept renewed every 17 seconds by default, so that adds a couple of other hundred requests per hour (~200) which will vary if your monitored collection has more Partition Ranges.
When new changes happen, the leases get checkpointed, which add more requests (depends on the frequency of your updates).
What's more important is the amount of RU/s consumed, which by the metrics is low (<200). Requests will get throttled if the RU consumption goes over the provisioned one.
In your request chart you can see that all requests are a HTTP 200 (throttled requests are HTTP 429).

@ealsur thanks for the info on this! @rtyler can we close this?

@paulbatum Yeah I think that's reasonable. I would recommend passing this off internally to some of the folks responsible for the azure functions docus to improve that content to explain a bit more about "what's expected" for silly users like me 😄
Thanks for the info @ealsur


Update cuco to version that supports Ada and Hopper

Description
Update cuco version to one that supports Ada and Hopper ( by using rapids-cmake 22.12 )
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[x] The cmake-format.json is up to date with these changes.

Let's wait to merge this until Monday morning just in case. I don't want some unexpected change to suddenly block the hotfix releases that are ongoing to break builds for people who want to work on something over the weekend.

@gpucibot merge

@gpucibot merge

@gpucibot merge


refactor: create constants for hardcoded values shared in kakarot core

Currently we use a lot of hard coded values in various places in mod.rs of core crate. We need to replace them with constants, that sit in constant.rs.
Example:

async fn starknet_block_to_eth_block(
        &self,
        block: MaybePendingStarknetBlock,
    ) -> Result<RichBlock, KakarotClientError> {
        // Fixed fields in the Ethereum block as Starknet does not have these fields

        //TODO: Fetch real data
        let gas_limit = U256::from(1_000_000);

        //TODO: Fetch real data
        let gas_used = U256::from(500_000);

        //TODO: Fetch real data
        let difficulty = U256::ZERO;

        //TODO: Fetch real data
        let nonce: Option<H64> = Some(H64::zero());

        //TODO: Fetch real data
        let size: Option<U256> = Some(U256::from(1_000_000));

        // Bloom is a byte array of length 256
        let logs_bloom = Bloom::default();
        let extra_data = Bytes::from(b"0x00");
        //TODO: Fetch real data
        let total_difficulty: U256 = U256::ZERO;
        //TODO: Fetch real data
        let base_fee_per_gas = self.base_fee_per_gas();
        //TODO: Fetch real data
        let mix_hash = H256::zero();

// ...rest of code

@Eikix you can send this my way :)


[DOC] Add installation guide for installing with NixOS

What do you want to do?

[ ] Request a change to existing documentation
[X] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
OpenSearch just got merged into nixpkgs https://github.com/NixOS/nixpkgs/pull/175000
so we can add a quick installation guide to the page how to setup an OpenSearch server with Nixos
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

https://github.com/NixOS/nixpkgs/pull/175000

Enabling OpenSearch is:
services.opensearch.enable = true;

then it's running as a single-node
Any opensearch own configuration can be applied in the settings option:
services.opensearch.settings = {
   "cluster.name" = "foo";
};

@shyim: Would you interested in collaborating on this one, since it's community-focused?

@Naarcha-AWS yea why not :)


Add codeAction autofix support for LSP Server

Summary

Closes #821

Adds quickfix (lightbulb) code actions to apply autofixes and add suppression comments for lint diagnostics
Adds source.fixAll.rome code action to perform recommended auto fixes with codeActionsOnSave
Adds LSPTransport#request so we can send workspace/applyEdit requests from the LSP Server
Adds ServerRequest#requestWorkerGetBuffer so we can diff the buffers

TODO:

Make source.fixAll.rome action available while project initializes
Refactor LSPServer because some methods are getting long
Check for ClientCapabilities to fallback gracefully
Add more tests

Test Plan

I added an integration test for the LSP server, but it needs more tests.

Ohh I love it! I don't have a ton of time to thoroughly review but from briefly skimming it looks great. I'll take a better look post-release, but I think this is a really important feature for us to include, and the earlier we can get it into peoples hands to test the better. Thank you!


Displaying author and rating on connections

Ratings are currently only mocked up, but the interface is fully functional.
Rating a persona does not do anything, and the displayed rating is derived from the persona uri.

tested by @m0ru


Both the error message and explanation have ambiguous wording.

Is the reference to a buffer of fixed size (i.e., a well-known size), or to a buffer at an unchanging ("fixed") address? Some commas or hyphens might help, but it's just generally too terse of a statement with too many consecutive adjectives. The message says "fixed size buffers", but the explanation is for "fixed sized buffers" (addition of "d"). The suggestion that "fixed" refers to the address is reinforced later when describing the containing class: "The runtime is free to move the unfixed class around...".

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

ID: 992ecf02-4b42-4704-8ee0-cadb3a2c5d99
Version Independent ID: 22fb781a-a362-0dbd-d628-4349600c122e
Content: Compiler Error CS1666
Content Source: docs/csharp/misc/cs1666.md
Product: dotnet-csharp
Technology: csharp-diagnostics
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

@KevinKilzer from the example it looks like the error is about fixed-size buffers:
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/unsafe-code#fixed-size-buffers

Thanks for asking this question @KevinKilzer
Thanks for the PR @pkulikov
I'll review those shortly.


117HD displays skybox only - Arch Linux

Much like the error below about OpenSUSE, I am only getting a skybox texture upon enabling 117HD plugin on Runelite.

My system is up to date. I see someone mentioned the mesa drivers, here is my versions along with uname & kernel information.
extra/mesa 23.0.3-1 (14.7 MiB 85.3 MiB) (Installed)
Linux Arch 6.3.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 01 May 2023 17:42:39 +0000 x86_64 GNU/Linux
If you require any specifics let me know.

Can you try it with mesa-git from the AUR?

Duplicate of #195. See the latest comment there for more info.


system types cannot be overridden with custom serializers

I struggled trying to figure out why I could not override encoding of a java.net.InetAddress, and finally realized that TypeType was recognizing it as SYSTEM, which always uses the unknown serializer, i.e. the toString() method. It would be better to lift this limitation, otherwise types like Java 8 Time representations, InetAddress and lots of other reasonable things to override will need to be wrapped.

Ok.. I will consider that. I think I want to handle InetAddress the right way.. not sure what that is yet.
Boon is still in Java 7 land, but I will try to figure out how to support Java 8 Time in Java 7 in a way so you can use Boon with Java 8 even though it is still in Java 7.
I have been working on QBit a lot lately. I need to come back to Boon and fix some of these things.

Do you have the code where you attempted to install a custom serializer that failed?
I will use that as the test case.

If you remove setUseAnnotations(true) it will not work.
    JsonSerializerFactory jsonSerializerFactory = new JsonSerializerFactory()
            .setAsciiOnly(true)
            .setUseAnnotations(true)
            .addTypeSerializer(PasswordHolder.class, new AbstractCustomObjectSerializer<PasswordHolder>(PasswordHolder.class) {
                @Override
                public void serializeObject(JsonSerializerInternal serializer, PasswordHolder instance, CharBuf builder) {
                    builder.addQuoted(instance.getPassword());
                }
            })
            .usePropertyOnly();

I think you meant that comment for the other issue.

Migrated comment to #292


 This handles that by also replacing @ and non-prefix :: with _.
Maybe don't merge until @mitchmindtree has checked this

fixes #771

Actually this doesn't handle pub vars declared in macros. Fixing this now

I'm kind of surprised we can have macros that expand to var/pub-var declarations, but looks like this PR just helps support existing stuff so :shipit:

If we couldn't do this then it greatly reduces the ability to reuse code with macros. The vars/ pub vars are still scoped to the macro so they can't be used outside the macro.

I guess it just feels a bit odd that we abstract them away in a macro in pint, but then they're revealed on the application side in ABI-gen anyways.
My intuition is that like state, var and pub var declarations should be explicit as they're all the inputs to the predicate. Having them hidden in macros kind of feels like hiding function arguments :sweat_smile:
I'm struggling to think of cases where you wouldn't want to declare a var/pub var with some type, and then pass the var ident as an input to the macro instead to do whatever other constraint expansion etc is necessary :thinking: Maybe the use-case will become clearer to me once I actually start hacking on some application stuff.

I'm struggling to think of cases where you wouldn't want to declare a var/pub var with some type, and then pass the var ident as an input to the macro instead to do whatever other constraint expansion etc is necessary 🤔 Maybe the use-case will become clearer to me once I actually start hacking on some application stuff.

Basically something like this:
https://github.com/essential-contributions/essential-integration/blob/d226ba333d1a27488589f298181a4deb84fe9961/apps/token/pint/signed/src/contract.pnt#L109

I guess if we decide to not allow declaring vars and pub vars in macros then I could not merge this PR and just change the integration apps to not do that?
@mitchmindtree another thing that this kind of fixed but might not actually be a problem is that currently if you have a name like ::foo::bar it becomes foo not foo_bar. I'm not sure if it's possible to declare a var or pub var in another file but if it is this would be a problem.

I might just merge this as it's blocking work on the integration repo. If we decide to make it not possible to declare var or pub var in macros then we can revert this change later.

I'm not sure if it's possible to declare a var or pub var in another file

I don't think it is, and I suspect we don't want to allow this. It might be odd to declare an input for a predicate somewhere outside of the predicate itself? Again, this might just be a self-imposed mental block I have by imagining vars and pub vars as function inputs for predicates, but it's the closest mental model I can think of. I feel like as someone reading the code, you want to be able to read all the inputs in one place, but this might just be personal preference.
I'll open a separate issue to discuss decision variable / transient data decls in macros :+1:


does not obey @property dockblock

padawan seems not to care about @property tag
(I think it doesn't care about @method tag too)

@mikk150 that's true, currently padawan simply adds doc comment text to class, but do not process it.
https://github.com/mkusher/padawan.php/blob/master/src/Parser/ClassParser.php#L106
Not sure whether it feature request or but :)

yes, it is a feature request. I think it is much needed, because at this point I can't use padawan(I am forced to use codeintel at this point)
Yii2 framework relies heavily on magic getters and setters and magic call functions, so there it is much needed

@mikk150 will try to spend time on padawan next weekend, but if you have some free time you may try implement this feature, it maybe faster, than waiting for me(sorry I'm too busy on my current project :( ).

I'll see what I can do. I have done something like this with reflection-dockblock, it is really easy. But I have to figure out, how I can inject it in padawan

@mikk150 padawan already parses doc-comment, but do not process it

It seems like this feature was implemented here
closing this issue.

@halftan should we have another one for @method block?

@mkusher yes, I'll implement this feature in the same PR


Proposal on making install script more appealing

Just a thought I had regarding our discussion on scripts vs helm vs operator. This felt too small to be an RFC, so I just thought I'd start a discussion here. The idea is just to modify/rename drogue.sh, status.sh or wrapping them in a drgadm script.
The drgadm script could just be drogue.sh renamed, wrap it, or combine it with helm or operator under the hood. I find it appealing that you don't really need to touch Kubernetes with such an interface. It would be similar to the kubeadm tool that exists for installing and managing Kubernetes clusters, in the same way drg is similar to kubectl.
drgadm install -c kubernetes # Does whatever drogue.sh does
drgadm status # Invokes status.sh

Maybe the first step could be just to refactor the drogue.sh and status.sh into functions that can be sourced and invoked from this tool?
Where this ties into helm I'm not sure, but if it uses helm, we introduce a dependency other than kubectl. Maybe helm would just be separate to this, I'm not sure.

I think it should be more appealing now. Both from an internal structure and from a user's perspective.

Agreed, I like the new scripts.


boost sound without radio

Is the idea here to run the same code on each thread? Should the threads equal the number of processors on the system?

Main idea just modulate power consumption, more power consumption in "hi" half-wave - more sound power. Most likely sound from inductors on the supply circuit.

I confirmed this noticeably increase the output.

Thank you, this is merged in the Using counter and threads flavor. I am using "threads" to describe this feature.


Feature request: Avisynth Soothe port

Avisynth has a script known as "Soothe" which is basically a very safe temporal soften filter for reducing shimmer introduced by sharpening.

Added in https://github.com/Irrational-Encoding-Wizardry/vs-rgtools/commit/3c427cda75da06464c2e3eed34a97b268216e486


Fix NSNumber bridging test for Double.nan

This catches a test that I didn't update in https://github.com/apple/swift-corelibs-foundation/pull/1274.

@swift-ci Please test


[BUG] Awkward drawing with negative values in bar chart

Expected Behavior
showing normal Bar charts when assigned to negative value
Current Behavior
displays awkward graph with curved and overflowing bars

Steps to Reproduce (for bugs)
1 . create a canvas.
2. use the following initialization
var chartData = {
                labels: [N_1Date,Ndate],
                datasets: [{
                    //label: 'Dataset 1',
                    backgroundColor: Colors,
                    data: [5690,-3560],
                    borderWidth:2
                }, /*{
                        //label: 'Dataset 2',
                        backgroundColor: '#f3f3fb',
                        data: [
                            15, 20, 25, 30, 25, 20, 15, 20, 25, 30, 25, 20, 15, 10, 15, 20
                        ]
                    }*/]
            };

            var chart = new Chart(chartContainer, {
                type: 'bar',
                data: chartData,
                options: {
                    plugins:{
                        labels:{
                            render:'value',
                            // font size, default is defaultFontSize
                            fontSize: 15,

                            // font color, can be color array for each data or function for dynamic color, default is defaultFontColor
                            fontColor: '#0d0d0d',
                        }
                    },
                    title: {
                        display: false,
                    },
                    tooltips: {
                        intersect: false,
                        mode: 'nearest',
                        xPadding: 10,
                        yPadding: 10,
                        caretPadding: 10
                    },
                    legend: {
                        display: false
                    },
                    responsive: true,
                    maintainAspectRatio: false,
                    barRadius: 1,
                    scales: {
                        xAxes: [{
                            display: true,
                            gridLines: true,
                            stacked: true,
                            ticks:{
                                padding:15
                            }
                        }],
                        yAxes: [{
                            display: true,
                            stacked: false,
                            gridLines: true,
                            ticks:{

                            }
                        }]
                    },
                    layout: {
                        padding: {
                            left: 0,
                            right: 0,
                            top: 0,
                            bottom: 0
                        }
                    }
                }
            });

Environment

Browser name and version: Chrome 68

Duplicates #5582 and still without a working fiddle that reproduces this issue.
@moda20 can you please create a jsfiddle (or codepen or...)?

I can't do it on jsfiddle. the bug doesn't occur there.

Unfortunately, we can't debug if we are not able to reproduce your issue.
At least, can you provide more context:

what version of Chart.js?
do you use any plugins other than labels?
what is barRadius? (it's not an option we currently support)

I am closing this, since i figured it out. I am integrating ChartJs in a framework ( metronic ) and it bundles an other versions of charJs with it.
When using the the newest version of chartJs my problem is not more.


Move .binarize() from a method to a function

There are a number of reasons for this, including the fact that it returns a new PhyloData object, and that it could make the collections of assumptions easier.
The code could stay in internal.py.

Done with 48d7d06f1ee


Lambdas with narrowed value

So one complaint on Reddit was that this still needs an unwrap. Couldn't it just give you the value?
const msg = match( plate.variant, {
        // Values with 'Some' will return the internal value when unwrapped
        'Some': () => `Here eat your food: ${plate.unwrap()}`,
        'None': () => 'No food here yet'
    });

Well, if we made an option-specific match, then sure, it's easy.
But what if we want to keep the match as general as possible? Then it's hard. But still doable, because Typescript is wild.
I took a stab at a slightly simpler version of that, where I assume that the key is always called "variant". And yep, it's possible to get an API like this
// Look, msg is a string
const msg = matchVariant( plate, {
        'Some': (p) => `Here eat your food: ${p.value}`, // p has a value
        'None': (p) => `No food here yet ${p}` // p does not have a value
    });

Here's the Typescript playground demo
https://www.typescriptlang.org/play?#code/KYDwDg9gTgLgBDAnmYcByEB2wAqAeHAPjgF44BvOANwEMoBLGzGALjgHINt2AaOAV0wB3KDTBsAFAEpSxHHAA+cbFWBQ4AXwBQoSLATJUAZQgBbXAWJlKtBk1YcT53tRoAbfsDY4+gkWMkZEjlNHXBoeCQUOAB5MBh6LHwiUnQsCxSlJwzCAG4tML14AGMsAGd4OISsACF+ejcAEzVU8i04ZXS2ADNBYurMOFMaAGtgLmBLaTYqxMxk4jaOjqhgGH4oQaXljttGZjZOdN52nYFhUXE4aVkKBAALKAghZWAXgFEoJ6gJACIANXcnjgjQgwDKmHY8FA9Aqvxk2h2iM0PFOZTMXjgvUw-TmQ1GwGyU1oHkxOCkM3icwWFFOKzWGy2dOWe3sh2y7DgNDKcFKmAqqLOrlJgrOfkugVuJM8zI0+Q62m0hQiWL6A3xMGK90BdmYBDgoBgwEwjR5Njo+wcFQYmAA5gpMPxTAAjNQKMqIF0QNwo3nleAAVQNICNJp5AFkaJr7gAFKP3MqWQgSCDOgBW3j4xW54LYAYpcEj0bjMATACUGZtEwHFqc+RU4GNEN4ANq-VnMX4AXVSqbTADoOzB5XBVutNryc2UW02uyn01yeUxEFJ8tooqgi1qSwn9Ybjaa7kO2Nb6HaHU7XVB3Z7nd7NFZaR0Z8BEHAz3AcG2h92u5IaN4cAAGRHhabKNq+mhBMQy5aHKWgboWUbbvGZQVuO-KWKk8j7mGcAVqUUCNHgy58Ge3QtEGuGHhI-Z0XQtplGwy7QVymCIMQAD8+GVvMhh4DWcBsCoaj5AhhhwAAwlGABiEAQIeZDsDggg0JySjsJJ9z0MUYyQooHBxrpazAI0cByQp7BaG4axwGAbhRqgZCzLU9RNGo-aYOkeDSTAFmmsmq5wAUAD0IVwAAMvJIx8KYZS2u+S5wKedpaPW8BxQlZDDNGOqWhIdkOUafDbEK7AcpIYCsQABgAEmoqDAFGcCIBAGxYvJjRsAAJOQYCDkCwAaNVfBhXZcD3NyXLCjKQodEc3CVTVGAdQpE0NS1tm9WAw1wGNYAgmCPJefAk2qNN0rALKq4FEAA

Thanks for contributing!
This honestly feels more intuitive than what I provided. I'll be happy to add this as another function (matchVariant as you wrote), or if you want you can send in a pull request with this code.

Feel free to simply use it :)
I'm hereby releasing my code above under the CC0 licence. Now the licensing part is also sorted out and you're free to simply copy it.

Ahahaha thanks a ton! :D


Migrate Documize Data

Task
Migrate Documize data from Pathfinder to Silver Cluster
Definition of Done

[ ] Migrate data to Dev or Test Env in Silver
[ ] Test Data against Matching Documize Version from Pathfinder
[ ] Test Data against Latest Stable Documize Version
[ ] Migrate the latest data from Pathfinder into Prod Env on Silver Cluster
[ ] Verify Data in Prod Env
[ ] Enable Redirect from Pathfinder to Silver Cluster

done


Iframe and Quill-React, events are lost

Hey,
I have an issue where I want to use React Quill within an iframe.
It does render and callback events are triggered accordingly whenever typing in the editor, but the tool bar is not working at all.
This is what I do
I am building a small template editor that will have areas (normal divs) that my hope is to convert into editable areas using Quill.
I then include my template into the iframe, but through ReactHtmlParser. With ReactHtmlParser I loop through each node and I look for divs (at the moment only one) with the cms-text data attribute.
ReactHtmlParser provides us with a transformer method. I am using that to convert

 to a Quill component:
<Quill
	onChange={contentUpdated}
	placeholder="Type something... :-)"
	theme={"snow"}
	key="some-uniqiue-key" />

This works!

This is what's going wrong
The Quill tool bar doesn't respond to anything I do. It's as those events are never registered within the iframe. I have set up a repo here that illustrates the problem: https://github.com/entiendoNull/react-iframe-test
To begin with I figured that this may have been a problem related to the usage react-frame-component and I filed this issue there: https://github.com/ryanseddon/react-frame-component/issues/133
It was then suggested that this is more of a problem related to QuillJS pointing out these two similiar issues: https://github.com/quilljs/quill/issues/1042#issue-182512608, https://github.com/quilljs/quill/issues/1386#issue-218121065
I am using this

"react": "^16.8.1",
"react-dom": "^16.8.1",
"react-frame-component": "^4.0.2",
"react-html-parser": "^2.0.2",
"react-quill": "^1.3.3",

This may be a problem that is directly related to just QuillJS, but I thought I'd try my luck here first. Do anyone have an idea how this can be achieved? Or of an alternative solution?

Did you find any solution for iframe?

Hey, well...
My solution was unfortunately to skip React-Quill and move on to Slate. I did get that to work without issues.
In my original post I recently received this suggestion however:
https://github.com/ryanseddon/react-frame-component/issues/133#issuecomment-471925298
Have a look :)

@entiendoNull Is slate working fine for you? I am also implementing similar code in my project and I am finding it hard to get my hands on a react inline editor that works properly inside react-frame-component.
Let me know if you found something that's reliable

Hi, yes. I've got that working with Slate.
It is a little bit cumbersome in the beginning, but it's worth the effort ;)

@entiendoNull The github page on slate says that it's in beta mode and there can be breaking changes. won't that be a problem?

Hi,
I'm having the same issue, bit I believe it must be possible to run it inside the iframe given that codesandbox.io runs inside on of those and quill runs flawlessly there.
Today I'll try to hack it and make it work, then I'll give a heads up here.
Wish me luck.


Django-q multiple queues

How do I configure multiple queues in django-q? Can I configure the priority of asynchronous tasks?How I configure

Please read the docs:
https://django-q2.readthedocs.io/en/master/configure.html#alt-clusters
https://django-q2.readthedocs.io/en/master/configure.html#configuration
https://django-q2.readthedocs.io/en/master/cluster.html#multiple-queues

Can I configure the priority of asynchronous tasks?

No, this is not possible.


[question] Compatibility with Quill/vue-quill-editor

Hey, how would you make this work with an editor like Quill, or specifically https://github.com/surmon-china/vue-quill-editor?
Sorry, that's broad, but I am trying and coming up with nothing.

Sorry I just saw this now. With something like that I think it's be pretty straightforward. First I would try just using the content value from vue-quill-editor and sticking that in the text prop of vue-countable. vue-countable just watches whatever variable you want and gives back the stats on it.
If that doesn't work, I would try something similar, but use a computed variable to "mock" the vue-quill-editor value.
Let me know what you got so far in a codepen or something and we'll figure it out. Sorry for the late response.

Thank you @johndatserakis - that did indeed work, although I am having trouble getting paragraphs to work, it always reports just 1 in the event, I am wondering if that's because quill presents an editable div, and uses actual p tags in the div etc, so maybe your counter isn't looking for this.
I only wondered as I noticed your demo uses a textarea. No worries though if my editor isn't suitable for use with your package, and thank you for the help so far :)

Hey @kieron,
I see - well in that case, I think there's a few things you could try.
The first thing I would try is make a computed variable using the content from vue-quill-editor.
In that computed variable, you could take the initial content and iterate through it, perhaps entering your own line break character wherever you see a closing </p>, for example. I believe that the library the powers  vue-countable looks for newlines to determine "paragraphs". Basically just try and use the computed variable to shape your content as needed.
Also, you can try to turn on the stripTags option through vue-countable:
<vue-countable
    :text="content"
    elementId="myId"
    stripTags
    @change="change"
/>

Maybe that will help with the tags.


Invalid Access Token with header error Code=20101 status - 503

Im facing this below issue, i used twilio for the purpose of voice call & i updated my pod file to 'TwilioVoice', '~> 3.0'
Here i'am using the below function to make a call

        guard let accessToken = fetchAccessToken() else {
            completionHandler(false)
            return
        }

        let connectOptions: TVOConnectOptions = TVOConnectOptions(accessToken: accessToken) { (builder) in
            builder.params = [twimlParamTo : "xxxxxPhonenumber"]
            builder.uuid = uuid
        }
        call = TwilioVoice.connect(with: connectOptions, delegate: self)
    }```

But i get the below error:
 Via: SIP/2.0/TLS <IP_ADDRESS>;received=<IP_ADDRESS>;branch=z9hG4bK-524287-1---136cd36cff6d6463;rport=64801

Contact: <sip:<IP_ADDRESS>:10193>

To: <sip:chunderm.gll.twilio.com:443;transport=tls>;tag=28558475_6772d868_1a72b137-32f1-4158-b55d-2cc1243f9c9c

From: <sip:VoiceSDK@chunderm.gll.twilio.com>;tag=ec0c9a71

Call-ID: 7-k7zY9e7MEWUehSGM4Y5A..

CSeq: 1 INVITE

Server: Twilio

X-Twilio-Error: 20101 Invalid Access Token

X-Twilio-EdgeHost: ec2-54-169-64-131.ap-southeast-1.compute.amazonaws.com

X-Twilio-EdgeRegion: sg1

X-Twilio-Zone: ASIAPAC_SINGAPORE

Content-Length: 0

}
2019-04-29 22:37:50.661968+0530 TwilioSample[2250:343053] ERROR:Twilio:[Platform]:Failed to send request, status code: 503

Kindly give some suggestion its urgent, let you know me what i did wrong

Hi @navaranjithavelladurai
It's hard to tell what exact is causing the error with seeing the access token but basically the operation failed because the Access Token is invalid (either the format is wrong or the credentials are incorrect) and caused the authentication to fail.
Please check your Access Token in https://jwt.io/ and make sure you have all the credentials in it. You should see something like this:
{
  "iss": "SKdeadbeedeadbeedeadbeedeadbeedead",
  "grants": {
    "voice": {
      "outgoing": {
        "application_sid": "APdeadbeedeadbeedeadbeedeadbeedead"
      },
      "push_credential_sid": "CRdeadbeedeadbeedeadbeedeadbeedead"
    },
    "identity": "alice"
  },
  "sub": "ACdeadbeedeadbeedeadbeedeadbeedead",
  "exp":<PHONE_NUMBER>,
  "nbf":<PHONE_NUMBER>
}

-bobie

No same crediential is working fine in android studio, but iOS only facing the issues

Hi @navaranjithavelladurai
The 20101 Invalid Access Token error indicates that either the format of the Access Token is invalid or the credentials or the identity in the token are invalid. Could you please check the contents of the Access Token?
Thanks,
-bobie

Here i formed & get the access token
let baseURLString = "https://xxxxxxx"
//let accessTokenEndpoint = "/accessToken"
let identity = "alice"
let twimlParamTo = "to"

Hi @navaranjithavelladurai
Thanks for providing the code snippet. Please check the credentials in the Access Token generated from this URL are correct. I have a feeling that the Access Token string you received in the iOS application is in incorrect format since the Access Token should not have platform (Android/iOS) dependencies except for the Push Credential SIDs.
-bobie

could you please provide the dummy Access Token for test case purpose?

Hi @navaranjithavelladurai
A random string like ACCESS_TOKEN should give you the error. Please make sure the Access Token is valid when calling the SDK methods.
-bobie

yah offcourse i tried to put the access token in  https://jwt.io/ means,
& its shows valid access token.

Hi @navaranjithavelladurai
Please paste the contents (but mask your credentials) of the payload parsed from your Access Token.
-bobie

Kindly check the below contents
Header
{
"typ": "JWT",
"alg": "HS384",
"cty": "twilio-fpa;v=1"
}
Payload
{
"jti": "xxxxxx",
"iss": "xxxxx",
"sub": "xxxx",
"exp":<PHONE_NUMBER>,
"grants": {
"voice": {
"outgoing": {
"application_sid": "xxxxxx"
}
}
}
}
Verified signature
HMACSHA384(
base64UrlEncode(header) + "." +
base64UrlEncode(payload),
your-256-bit-secret
) secret base64 encoded

Hi @navaranjithavelladurai
Assuming the masked credentials are correct (including the secret of the API Key), you would probably want to check if the identity is properly specified in the Access Token.

I passed my identity as:
let baseURLString = "https://xxxxx"
//let accessTokenEndpoint = "/accessToken"
let identity = "alice"
let twimlParamTo = "to"
Here i formed the baseUrl :
guard let accessTokenURL = URL(string: baseURLString) else {
return nil
}
return try? String.init(contentsOf: accessTokenURL, encoding: .utf8)
Here i get the response:
let connectOptions: TVOConnectOptions = TVOConnectOptions(accessToken: accessToken) { (builder) in
builder.params = [twimlParamTo : "+91xxxxxxxx"]
//builder.uuid = uuid
print(accessToken)
}
call = TwilioVoice.connect(with: connectOptions, delegate: self)
Kindly give the suggestion, if i need to do change anything in the above code

Hi @navaranjithavelladurai
Thanks for providing the snippet. Not sure if I am missing something but can you explain how where is the accessToken variable being updated and assigned? and what contents are you seeing after the token is parsed by https://jwt.io ?
If you think the contents of the token does match the format in my previous comment and the credentials are all correct, please go to Twilio Support and create a support ticket. There you can provide us the Access Token safely and we can help you debug. Please also tag the link of this issue in the support ticket so the support representative person knows which team they need to reach out to.
Thanks,
-bobie

Okay thank you for support & time & i created a tickets in Twilio support as per your above comment, Kindly check it please.

Hi @navaranjithavelladurai
I am assuming that the authentication problem has been resolved and things are working on your end. Closing the ticket for now but feel free to reach out to us if you run into any issue in the future.
Thanks,
-bobie


add atoi in stdlib header

Thank you for contributing, but this method is already defined in the C++ libraries, re-implementing it may be of no use unless there is huge improvement in the code.
Closing PR.


database name now the same in local_template.py

pycon2019 -> pyconcz2019

but as on server it is pycon2019 we should probably update it in the template…

Changed except docker info (not sure what is what).

No need to change antyhing then.


Add sleep after pg.stop() in check_restored_datadir_content for taking basebackup.

pg.stop) is not waiting for  postgres backends termination, so with very small probability there can be still active tranactions after returning from pg.stop() which cause differences in pg_xacts with restored directory

Well, after some thinking I tend to agree with you.
So, what  I have found at this moment:

The problem with pg_xacts/0000 file mismatch is reproduced quite reliably. Sometime it requires 4 iterations of test_pg_regress sometimes 200.
With this sleep the problem is not reproduced after 100 iterations.
The difference in pg_xacts/0000 is caused by one last transaction which was marked as aborted in CLOG and is not present in WAL. So this transaction was abort after basebackup was taken.

Looks like I have incorrectly interpreted 3).
I thought that it was cause by transaction terminated after basebackup was taken.
But now I  realized that as far as this transaction is not recorded in WAL it has no chances to reach pageserver.
So the problem is that there are rollbacked transaction which are marked as aborted in CLOG but not recorded in WAL.
I am not sure when and how it can happen. But in this case we can only avoi comparaiion of pg_xacts directory in  check_restored_datadir_content

Perhaps the xact-abort WAL record is created, but not yet flushed to the safekeepers before Postgres shuts down. Can we force a wait for that before shutting down?
Or perhaps the WAL record is created and sent to safekeepers, but not yet received by the pageserver.

Or perhaps the WAL record is created and sent to safekeepers, but not yet received by the pageserver.

No, I have inspected pg_wal of compute (pgdatadir/...)

Looks like the problem is that RecordTransactionAbort(bool isSubXact) is  not performing XLogFLush:
	 * We do not flush XLOG to disk here, since the default assumption after a
	 * crash would be that we aborted, anyway.  For the same reason, we don't
	 * need to worry about interlocking against checkpoint start.

So it is really possible that last aborted transactions will never reach pageserver.
I do not think that it will cause some problems .... except rare test failures because of pg_xacts  file mismatch.
But if we will just ignore this error, then there is not so much sense in this test (comparison of original and restored dbdir).


scale up for more subreddits

I had been writing along the way to eventually take in a different subreddit or more subreddits. Some ideas:

Start collecting data for a list of subreddits on the lambda job. This could have scaling issues as more subs are added, but it's unclear where the limit is.
The alternative would be to a script that spins up a new lambda job for each new subreddit. Problem with this is you quickly increase the number of lambda tasks. Currently we run about 44k calls/month for one subreddit so this only scales for about 22 subreddits on the free tier (1M calls/month) before we have to start paying. Another issue is concurrent calls to the reddit API could cause issues.
Combination of these.

Completed in #28


MDT CGM support

Initial attempt at MDT CGM support, based on commands provided by @bender1061.  John (or anyone else with Enlite), can you pull the oref0-setup branch and test whether this actually works?  I only have Dexcom myself, so I've just been able to test that the script itself works, not whether the resulting loop works.

Hi Scott, Great progress but a few issues:
Openaps looping successfully, temp basals initiated appropriately. NS OpenAPS pill, Pump status pill updating.
Some NS visualization issues  - "Purple line" appears, but CGM values not uploading to nightscout. This may be a timezone issue at my end, I will look at it further.
carbhistory.json is empty apart from []
Running openaps ns-loop gives the following output:
openaps ns-loop
Starting ns-loop at Tue 20 Sep 22:10:17 AEST 2016:
ns://JSON/shell/cgm/ns-glucose.json
reporting cgm/ns-glucose.json
settings/autosens.json
Refreshed temptargetsWarning: could not parse monitor/carbhistory.json
Warning: Argument order has changed: please update your oref0-meal device and meal.json report to place carbhistory.json after basalprofile.json

/usr/local/lib/node_modules/oref0/lib/meal/history.js:19
    for (var i=0; i < carbHistory.length; i++) {
                                 ^
TypeError: Cannot read property 'length' of undefined
    at findMealInputs (/usr/local/lib/node_modules/oref0/lib/meal/history.js:19:34)
    at generate (/usr/local/lib/node_modules/oref0/lib/meal/index.js:8:20)
    at Object.<anonymous> (/usr/local/lib/node_modules/oref0/bin/oref0-meal.js:99:21)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:906:3
 and meal-carbs
Uploaded

I'm not sure if the warning about argument order is significant. Is the error in carbhistory due to it being empty?
I hope this helps I'll look at it further as well.

I can test it tomorrow night with the Pi + TI stick rig. Would that help?
Em 20/09/2016 01:08, "Scott Leibrand"<EMAIL_ADDRESS>escreveu:

Initial attempt at MDT CGM support, based on commands provided by
@bender1061 https://github.com/bender1061. John (or anyone else with
Enlite), can you pull the oref0-setup branch and test whether this actually
works? I only have Dexcom myself, so I've just been able to test that the
script itself works, not whether the resulting loop works.
You can view, comment on, or merge this pull request online at:
https://github.com/openaps/oref0/pull/219
Commit Summary

initial attempt at MDT CGM support
sudo pip install

File Changes

M bin/oref0-setup.sh
https://github.com/openaps/oref0/pull/219/files#diff-0 (33)
A lib/oref0-setup/mdt-cgm.json
https://github.com/openaps/oref0/pull/219/files#diff-1 (51)

Patch Links:

https://github.com/openaps/oref0/pull/219.patch
https://github.com/openaps/oref0/pull/219.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/openaps/oref0/pull/219, or mute the thread
https://github.com/notifications/unsubscribe-auth/AL5e4d0KdY7YRSEdSBHjnh-S3gWYhbtrks5qr1xGgaJpZM4KBNHA
.

@dougtakeuti Yes, it would, thanks. Please do share your results even if we end up merging it by then.

@johnmales have you ever entered (or uploaded) carbs into NS?  If not, you might be hitting a bootstrap bug.  Try putting in a carb entry and see if that clears it up.

Looks like it worked good for me. at least for the stuff that I gave Scott.
Yes, we do have nightscout visualization issues. I have been unable to get the CGM data to upload to nightscout. What is needed to make this work is not there. And I've been unable to figure out how to format the data correctly to make it work.
OpenAPS pill does works well. One of the advantages of this setup, is you do not need to be hooked up to the internet in order for your loop you run. (really helps me, considering I sometimes work at plants that cell service is flaky, or sometimes, it's hard to keep the phone charged cause the battery drains fast while being a hotspot)
Anyone been able to get cgm data sent to nightscout to work? Or know what needs to be added?

Just updated to have get-bg run as part of pump-loop, not as a standalone cgm-loop that might fight over the radio stick with the pump-loop.  Can a few people please re-test to confirm that works right?

It would be good to remind older users to update mmeowlink, as this might be an issue with the wait-for-silence alias.

@dougtakeuti would be better to upgrade automatically if needed in https://github.com/openaps/oref0/blob/oref0-setup/bin/oref0-setup.sh#L188-L193

Per @johnmales  https://github.com/openaps/oref0/pull/221#issuecomment-249448374 - "So far working with MDT cgm setup - temp basals being set appropriately, openaps pill in NS reporting correctly."


proposal: Go 2: make constants and literals addressable

I couldn't find any proposals for this, but it seems like something that someone would have already proposed. So I apologize if this is a duplicate.
This proposal is to make constants, and some expressions, addressable. It is quite simple so I will keep it that way.
How it works
A pointer to a constant expression would result in a new pointer to the value the expression represents.
This is the same way that pointers to pointers to composite literals work, so I don't personally think it's unintuitive or anything. The only slightly unintuitive part is that &namedConstant == &namedConstant evaluates to false, although I don't personally find that unintuitive.
Example:
const hello = "hello"

fmt.Println(&346) // output: 0x416020

fmt.Println(&hello == &hello) // output: false

Modifying constant pointers
Modifying a constant pointer should not panic. The value at the pointer would still be modified, because the pointer doesn't really point to five, it points to a value that the calling function doesn't have access to anyway. This is exactly how pointers to composite literals work.
// Scanf would still modify a value, we just don't have access to it
fmt.Scanf("%d", &5)

// similarly, but perhaps less intuitively

const five = 5

// Scanf again still modifies a value, but we don't have access to it
fmt.Scanf("%d", &five)

fmt.Println(five) // output: 5

Modifying constant pointers (with read-only types)
If we had read-only types, the resulting pointer would be a read-only pointer. So ideally our fmt.Scanf lines from the previous example would not even compile.

Can you give an existing code example where this would be helpful and why does improve the code?

This is #19966, which was closed as a special case of the more general #9097 (see e.g. https://github.com/golang/go/issues/9097#issuecomment-376899260).

Can you give an existing code example where this would be helpful and why it does improve the code in the example?

My bad, I should have included real-world examples.
The main advantage is brevity. Especially when working with constructs that have nullables (ie JSON) structures need to have *string values rather than simply string.
*string is also used frequently in structs made for passing lots of parameters to a function. This makes it possible to tell the difference between explicitly providing an empty string and not including the argument.
Initializing these structs that use *string quickly becomes painful. For instance, with AWS:
// standard Go way without `aws.String` convenience function
var bucket = "MyBucket"
var key = "SomeFile.pdf"
downloader.DownloadWithContext(ctx, buffer, &s3.GetObjectInput{
	Bucket: &bucket,
	Key: &key
})

Now imagine calling that function but using all of the possible parameters
AWS realized that this was a problem, so they provided a "solution":
func String(str string) *string {
	return &str
}

So then our function call would look like:
downloader.DownloadWithContext(ctx, buffer, &s3.GetObjectInput{
	Bucket: aws.String("MyBucket"),
	Key: aws.String("key")
})

The repetition of aws.String is still quite painful. Again, think about needing to use that for every single AWS call.

if each & gives a new memory address does that mean that each time an address of a constant is taken at runtime it needs to copy the constant into new memory and return a pointer? That would seem a lot of hidden cost behind & for constants being different then e.g. for variables.

That is fair I guess. Having it shown over two lines is good to show that there is extra cost. I'd personally call that a micro-optimization though. After all &"hello" would be equivalent to hello := "hello"; &hello. I wouldn't exactly call that expensive. I really would think of it as more syntactic sugar. It would only be more expensive if you create lots of pointers to the same value.

Which would raise the question for me what the advantage is over initializing a variable with the constant and then taking the address of the variable.

Again, my AWS example is what I'm trying to avoid.

This is #19966, which was closed as a special case of the more general #9097 (see e.g. #9097 (comment)).

My bad, you are correct. Closing this.


Deseng 617 screen reader improvements

Issue #: https://citz-gdx.atlassian.net/browse/DESENG-617
Description of changes:

Update markup to be more semantic
Improve aria labelling
Add aria live announcer for dynamic search result updates

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 75.94%. Comparing base (ae08700) to head (516b1c6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2549   +/-   ##
=======================================
  Coverage   75.94%   75.94%
=======================================
  Files         608      608
  Lines       21991    21996    +5
  Branches     1709     1710    +1
=======================================
+ Hits        16700    16704    +4
- Misses       5028     5029    +1
  Partials      263      263

Flag
Coverage Δ

metweb
64.72% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

met-web/src/components/banner/BannerWithImage.tsx
84.61% <ø> (ø)

met-web/src/components/common/Input/Button.tsx
94.18% <ø> (ø)

met-web/src/components/landing/FilterBlock.tsx
75.67% <100.00%> (+1.38%)
:arrow_up:

met-web/src/components/landing/FilterDrawer.tsx
48.00% <ø> (ø)

met-web/src/components/landing/TileBlock.tsx
95.23% <100.00%> (+5.23%)
:arrow_up:

... and 1 file with indirect coverage changes


Add spring-social with gdrive integration (resolves #507).

Integration of gdrive to UploadStep allows to add files to submission from gdrive, this resolves #507. Other providers will follow.

There'll be documentation at https://github.com/ufal/clarin-dspace/wiki/[draft]-social


Reduce amount of docs ingested for SegRep ITs

Description
This change reduces the amount of docs we ingest inside SegmentReplicationIT. Many of these tests were ingesting 1-200 docs where only a handful of docs were required to create segments.
This speeds up tests when run with remote store through SegmentReplicationUsingRemoteStore as each translog write is sync'd to remote store and adds latency.  On my machine it takes execution time of this suite from 5-7+ mins down to ~1 min.
Also add TestLogging annotation on the replication package for known flaky tests.
Related Issues
Related flaky tests have added @TestLogging
https://github.com/opensearch-project/OpenSearch/issues/10026
https://github.com/opensearch-project/OpenSearch/issues/9712
https://github.com/opensearch-project/OpenSearch/issues/9735
Check List

[x] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@mch2 Rebase?


Make use of relaxed*() in Recycler when possible

Motivation:
We should be able to make use of MessagePassingQueue.relaxed*() methods in Recycler to reduce the overhead.
Modifications:
Use MessagePassingQueue.relaxedOffer(...) / MessagePassingQueue.relaxedOffer(...)
Result:
Less overhead

/cc @nitsanw

@chrisvest it just implies that isEmpty could be false but relaxed poll still return null, adding a new semantic to null ie a new element is not available "yet"
From the JMM pov it still correctly ensure happens before relationship of consuming vs offering and it acts as a load acquire action in JMM 9 parlee.
The sole difference in term of progress guarantees is that due to relaxed poll the queue offering is serializable but not linearizable (see more info on http://psy-lob-saw.blogspot.com/2015/04/porting-dvyukov-mpsc.html comments included) and wait-free instead of lock-free

@franz1981 awesome, thanks for clarifying!

@franz1981 @chrisvest any more comments ?


dental sibilant affricate consonant should be re-spelled

We don't need to have the ugly dentality marker under both sounds, it is enough if its under the sibilant fricative.

In other words, the same solution here as with prenasalised sounds, an underspecified first element, e.g. ⁿb for conventional ᵐb, and ts̪ for t̪s̪.

Yes, we define underspecification rules. I think this is reasonable, and increases visability. We should write down the principles of graphemes we pick:

visability/readability
writability (write three rather than four symbols, etc.)
simplicity (prefer the simpler system)
feasability (there are not too many superscript nasals for alls sounds, e.g., if you have superscript n-dental, you would have NO possibility to write it, so it would be inconsistent, which is also why I am against homorganic nasals if they serve only to express pre-nasalization)


Fetching model param super slow on Vercel

for some reason it takes ~3 seconds to load model locally and 30 min on @Vercel
stupid question, isn't the model downloaded on client side? so why the network would be different?
PS: similar question, any best practice to avoid loading model every time i switch page? using react hook to load model

@louis030195
For the slow loading on Vercel, I'm not sure about the reason. We have WebLLM Chat deployed both on GitHub pages (https://chat.webllm.ai) and on Vercel (https://chat.neet.coffee/) and the loading speed are same. Could you try it and see whether the same issue?
For you second question, there isn't a good solution since for security and performance reasons browsers typically doesn't allow website state to persist after all pages have been closes. One workaround is using ServiceWorker as WebLLM Chat does right now, which allows the WebLLM engine and its internal state to persist in worker thread even after the pages have been closed, but it is unstable as browser may still kill it at any moment.
For service worker implementation, you can reference examples/service-worker or WebLLM Chat.


Make bind-mounts from host explicit in container manifest

Currently, we magically bind-mount /lib (and /lib64 if present) on vanilla Linux, and /system on Android into the container, and assume that this works out fine.
But that actually creates a hidden dependency between container and supported host - the following things break:

A fully self-contained NPK (like a Docker image) which contains its own /lib or /lib64 will break because its files in /lib will be hidden by the bind-mounted contents from the host, which might also be incompatible with the container binaries. For example turning a minimal Alpine-Linux musl (docker) container into a NPK can break because of different libc.
Containers built with Android toolchain (expecting linker in /system/lib etc.) will try to start on a non-Android host and then fail because of missing host directories, and vice-versa. It would be nicer to detect this problem at installation time already.

Also, this whole bind-mounted /lib approach will break with firecracker, which doesn't support host filesystem sharing at all.
Proposal:

By default, containers should not bind-mount any real host directory.
Self-contained NPKs should just work then.
Non-self contained NPK can either
-- use a (potentially shared) resource container containing /lib (and other directories), or
-- explicitly bind-mount folders from the host, which the runtime can check for existence before start

(It's also nicer from a security perspective to see which host files are exposed to containers in the manifest)
Manifest syntax ideas:
...
resources:
  - name: ferris
    version: 0.0.2
    dir: /
    mountpoint: /bin
  - name: hello_message
    version: 0.1.2
    dir: /
    mountpoint: /message
host_resources:
  - host_dir: /lib64
  - host_dir: /some/other/lib
    mountpoint: /lib

Or maybe a more powerful generic mounts similar to docker compose?
...
resources:
  - name: ferris
    version: 0.0.2
    dir: /
    mountpoint: /bin
  - name: hello_message
    version: 0.1.2
    dir: /
    mountpoint: /message
mounts:
  - source: /lib64
    target: /lib64
    type: bind
  - source: /cache
    target: /cache1
    type: bind
    options: ro
  - source: tmpfs
    target: /cache2
    type: tmpfs
    options: rw,size=20M

Fixed by #111


add ps3-chrome-osx mapping

Thanks @awesomerex!

Hi! Neewb here.
I am currently playing a game that I believe is using this library. The game is written in html5 and is named CrossCode. It gets the mapping of my PS3 controller wrong and I can’t adjust it. I believe it has to do with some different setups for different controllers, where the PS3 uses button sensitivity instead of mapping the buttons to a new “axis” or something similar to that. I have no idea how to solve this, and neither does the game coders. :/
Is there a way to manually change this in the code somehow?


How to bind multi actions to the one of props object mount point.

I want to write in the follow style.
this.props.http.list()

thank you.

The example given in #89 , which you already commented on, should work just fine.

sorry, It isn't like to mine, I want to follow:
this.props.xhttp.list()
this.props.xhttp.detail()
thijs.props.xhttp.create()

Yes, and the code in the other issue will do that.  Example:
import {bindActionCreators} from "redux";
import {connect} from "react-redux";
import {list, detail, create} from "./httpActions";
import MyComponent from "./MyComponent";

const mapDispatch = (dispatch) => {
    return {
        xhttp: bindActionCreators({list, detail, create}, dispatch)
    };
}

export default connect(null, mapDispatch)(MyComponent);

The wrapped component will now have this.props.xhttp.list, etc.


Make a bundle of example scripts summarizing the piece wise instructions

After a team discussion, we see the need to have a couple of example scripts that show how the individual steps in the docs can be used.
We can host these scripts both in our repository and use the code insertion functionality of markdown as done here under Accelerated decomposition and Normal spin-up

Here is an example Bash script with the steps to run a regional simulation on Fram, using CLM from NordicESM hub.
There are some differences with respect to the regional case workflow in the documentation:

$CTSM_ROOT/tools/contrib/subset_data.py is not used (not found in NordicESM hub).
It relies on domain and surface files in /cluster/projects/nn9373k/gelati/data_regional_SBS/, which are copies of those in /cluster/shared/noresm/regdata that is no longer there.

Great!
Can you please file a pull request on this? Remember to not use main branch directly :)
Maybe add it in a tab, like in is done  here? Under a new header called something like Example scripts under run.


Yjs API docs

Created from this reference.

Starting to look great! Is there anything that needs to be documented about the YDoc and/or YText instances or APIs, similarly to how Awareness is extensively documented here now?

I think not, but @jrowny will have to tell us! We implemented the provider and awareness, but the others come straight from the Yjs package.


match list service implementation

Match list service implementation

Coverage remained the same at 100.0% when pulling 3caa5019aad1e4aacf63b7e936c131a2013adefc on match-list-service into 97e8eb922818f390156d81fe3e19b8ff5b1b759b on master.


Problem with standard safe stack standard project

Description
I followed the quickstart guide on safe stack web site. https://safe-stack.github.io/docs/quickstart/
There is an error on step dotnet fake build --target run
The error is
There was a problem while setting up the environment:
-> Could not download System.Memory 4.5.4.
-> Couldn't get package details for package System.Memory 4.5.4 on https://api.nuget.org/v3/index.json.
-> Could not retrieve data from 'https://nuget.org/api/v2/FindPackagesById()?semVerLevel=2.0.0&id='System.Memory''
-> HttpRequestException: An error occurred while sending the request.
-> WinHttpException: Error 12030 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR
Also, a couple of errors like this:
Possible Performance degradation, V3 was not working: One or more errors occurred. (One or more errors occurred. (Could not load resources from 'https://api.nuget.org/v3/index.json'))
Seems to me there is a proxy problem but my proxy is supposed to accept default Active Directory credentials. Nuget is working on another project.

I restarted the safe stack procedure and it worked. Don't know what happened.


404 - link issue for Core area > "Work with analytics and reporting in Finance and Operation"

Hi, please see that Core area > "Work with analytics and reporting in Finance and Operation" link goes to a 404 page, please update to correct link to the online course. broken link is "https://docs.microsoft.com/en-us/learn/modules/work-with-analytics-reporting-in-dynamics-365-finance-ops/"

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

ID: 254129c7-f92a-aa24-3c7e-f055de543ae4
Version Independent ID: cbb3dabf-25ea-68af-3c86-e92b647e9db1
Content: Functional Consultant Learning Catalog - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/fin-and-ops/get-started/learning-catalog-functional-consultant.md
Service: dynamics-ax-applications
Product: ****
Technology: ****
GitHub Login: @MargoC
Microsoft Alias: margoc

Fixed.


Check if responses exist

There are some rare cases when AFLNet crashes. This is when I restart AFLNet repeatedly and no response is yet recorded.

Thanks @andronat. I have merged your PR with a small change -- the check is added earlier in update_state_aware_variables function.

Thanks @andronat. I have merged your PR with a small change -- the check is added earlier in update_state_aware_variables function.

Thanks @andronat. Your PR has been merged with a small change -- the check is done before the function update_region_annotations is called.

Thanks @andronat. Your PR has been merged with a small change -- the check is done before the function update_region_annotations is called.


Duplo 26461 TF:GCP:Security Rule: Update of rule_type should show forces replacement

Overview
Update logic for waitafterdelete function logic
Summary of changes
This PR does the following:

Checking fields explicitly for structure is empty if nil interface is not getting resolved
...

Testing performed

[ ] Using unit tests
[ ] Manually, on my local system
[✔ ] Manually, on a remote test system

Describe any breaking changes

...

Task linked: DUPLO-26461 TF:GCP:Security Rule: Update of rule_type should show forces replacement


Prevent jwks_expired flood in worker 2nd try

Fixes #359

@asabil There's multiple ways a config / jwk is refreshed.

Config Lifetime (based on cache headers)
JWK Lifetime (based on cache headers)
JWK kid not found triggering refresh
Manual refresh of both config / jwks

In all cases when a refresh happens, the timeout has to be reset. Additionally, a refresh of the config triggers a refresh of the jwks as well.
Since not all refreshes are triggered by the timeouts, we have to reset the timers, no?
One thing i was thinking about now is if there needs to be a strict dependency between the config and the jwks. If the config does not change the jwk uri, the jwks do not need to be refreshed as long as they haven't expired in the meantime.
Even with that change, we still have to cancel the timers on any not timeout based refresh.


Uncaught ReferenceError: angular is not defined

Uncaught ReferenceError: angular is not defined
at eval (index.js:850)
at Object../node_modules/angular-datepicker/dist/index.js (vendor.bundle.js:95)
at webpack_require (inline.bundle.js:55)
at eval (app.module.ts:10)
at Object../src/app/app.module.ts (main.bundle.js:51)
at webpack_require (inline.bundle.js:55)
at eval (main.ts:4)
at Object../src/main.ts (main.bundle.js:382)
at webpack_require (inline.bundle.js:55)
at Object.0 (main.bundle.js:390)

you have to add new
webpack.DefinePlugin({
      angular: 'angular',
})```

to your plugins list. angular-datepicker is using angular from global variable and definePlugin will mount angular object to window

I'm getting the same error. where do you add this?

I don't remember now


Exception handling causes internal compiler error (C1001) in certain scenarios

This issue is relevant under two scenarios:

You have a try-catch(-finally) inside of a catch or finally
You have ARC inside of a catch or finally (since ARC uses exception handling)

This can cause an internal compiler error.
Workaround: While we are working on a fix this issue can be mitigated through moving the code inside the catch or finally into a separate function (and simply calling that function from the catch or finally where the code used to live before)

Fixed with #2869


Remove unused vsphere machine config controller

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Ignore/truncate metric messages that are too large

Ignore/truncate metric messages that are bigger than a certain threshold to protect against clogging all of cloudprober due to a bug in one of the modules.
ORIGINAL_AUTHOR=Clyde-Xu<EMAIL_ADDRESS>PiperOrigin-RevId: 164014062

CLA has been updated.

CLA has been updated.


CORE-1167 Changed validCheckSum behavior to make more sense...

CORE-1167 Changed validCheckSum behavior to make more sense and match
the original documentation. By default, each validCheckSum now specifies
a stored checkSum value that will be considered valid. This allows a
changeSet to be altered and still pass validation.
The old behavior can still be used by setting the legacyCheckSumCompare
configuration property to true.

See the reasoning for this change here: https://liquibase.jira.com/browse/CORE-1167
I will try to give another example below.
Say I create a changeSet to update the value of a column
<changeSet id="update-some-value" author="svanhoose">
    <update tableName="WIDGET">
        <column name="PRICE" valueComputed="special sql" />
    </update>
</changeSet>

This goes into production and it works for 90% of my users on Oracle but fails for one user on Postgres. I look into the problem and find that my update SQL was bad so I fix it to be DB-agnostic.
Now I want to fix the changeSet for the next release. It already ran successfully for 90% of my customers and they should not have to do anything. I want the updated changeSet to run for the 10% of customers where it previously failed.
Essentially, "If this changeSet already ran successfully and the old checksum matches the provided value, everything is okay. Otherwise run the changeSet or report a validation error."
<changeSet id="update-some-value" author="svanhoose">
    <validCheckSum>7:2cad55a6ddef7f531bc0bdb867929d89</validCheckSum>
    <update tableName="WIDGET">
        <column name="PRICE" valueComputed="improved special sql" />
    </update>
</changeSet>

Except that this doesn't work. The current behavior of Liquibase is such that validCheckSum is checked against the newly computed checksum. This behavior is logically equivalent to:
<changeSet id="update-some-value" author="svanhoose">
    <ignoreDatabaseChecksum>true</ignoreDatabaseChecksum>
    <update tableName="WIDGET">
        <column name="PRICE" valueComputed="improved special sql" />
    </update>
</changeSet>

I don't want to ignore the stored database checksum entirely. I only want to ignore one specific value.

Apologies for the long message... I'm really trying to make sure this is clear since the previous discussion of this issue in CORE-1112 ended with the documentation being updated instead of the bug being fixed.
Let me know if you think I should submit this against a different branch.

Instead of merging this in, I decided to just accept both currentMD5Sum and storedCheckSum.