make use of semvers and allow rollback

First of all, big thanks for Eth Docker, amazing project !
yesterday, I ran ethd update and ethd up and my teku client went down. It was down for about 10 minutes in total, the time I figure out the issue and fix it. Luckily, I'm used to troubleshooting systems in production and didn't panic 😄
The cause of the incident was the following:

a few weeks ago, in my .env, I have replaced the line TEKU_SRC_BUILD_TARGET='$(git describe --tags $(git rev-list --tags --max-count=1))' by TEKU_SRC_BUILD_TARGET=23.10.0 because I'm used to controlling which version I'm running. And I don't want to magically pull the latest one.
meanwhile, teku 23.11.0 got released yesterday
and @yorickdowne being faster than light, immediately updated Eth Docker with a new flag for teku in this PR https://github.com/eth-educators/eth-docker/pull/1625
so later that day, when I ran ethd update and ethd up, the following happened:
ethd update runs git pull behind the scene (I think here https://github.com/eth-educators/eth-docker/blob/main/ethd#L1016) which pulled the latest changes of Eth Docker main branch, including the PR https://github.com/eth-educators/eth-docker/pull/1625 introducing the new flag --checkpoint-sync-url which is only supported by teku 23.11.0 (there's no documentation for that flag in the 23.10.0 doc https://docs.teku.consensys.net/23.10.0/reference/cli)
I then ran ethd up and because I have fixed my teku to 23.10.0, things started to break as the newly introduced flag --checkpoint-sync-url was not recognized by my teku 23.10.0.
luckily, I could quickly figure out that the flag was driven by RAPID_SYNC_URL and mitigate the issue.

this "incident" got me thinking about 2 things

being able to pass a semver (Eth Docker release tag) to the command: e.g. ethd update --version=v2.3.8
Implement a rollback logic.

a rollback logic could be

as simple as: when running ethd update, just store the current git tag or git commit to an env var, and at the end of the script, print "To revert Eth Docker to the previously installed version, you may run ethd update --version=vXX.YY.ZZ", where vXX.YY.ZZ is the value in the env var.
or as complex as: the "state" cloud maybe be stored in .env or another file. With that state, a rollback logic (very similar to kubectl rollback where the last 10 manifests are kept) could be implemented.

Obviously, I'm also to be blamed here. I should have tested those changes first before applying them on my server. Nonetheless, I think the ideas above could improve Eth Docker on the operational side of things. Although, we could also argue that the project is already quite complex and adding even more complexity isn't necessarily desirable.
cheers, and thanks again for the good work !

Hmm interesting. So you're looking to pin the Eth Docker version while updating the clients.
I could do this with an .env variables for the Eth Docker version - latest or a specific tag. Let me think on it.
I haven't done semver because then I end up with version 112.x in rapid cadence :sweat_smile:

Yeah I feel you 🤔 as an alternative to a semver, a commitSHA would also work. Although less user friendly, it would allow the same mechanism of being able to control which version of eth docker code base is being executed.
The command ethd update could then simply print "eth docker updated to commit XYZ from commit ABC. To revert, run ethd update --version=ABC".
Additionally, I'm also thinking: with your current defaults of pulling latest versions everywhere, if you go on vacation for 1-2 weeks and some clients meanwhile release breaking changes in their latest version, eth docker will be broken for everyone using those clients. So maybe you also want to print the clients version or commit sha as part of your script, to at least help debug issues (thinking out loud here)...

OK so as an MVP you can now pin the version of Eth Docker. That by necessity only works from v2.3.9 onwards, as otherwise it'll go to a version that has no idea what pinning is.

Sounds reasonable enough! Thanks for the great work 🚀


In speed mode, don't waste raining gold if its not a raining gold level

Raining gold seems to be starving for us (>= level 10k) and they are wasted on bosses that get crippled a second later.
It should thus only be used in levels where they are meant to be farmed, to get a better economy in later levels.
Should I add it?

If possible, do it. Any optimizations are welcomed.

It should thus only be used in levels where they are meant to be farmed

Such as?

https://github.com/SteamDatabase/steamSummerMinigame/blob/master/autoPlay.user.js#L143
level < speedThreshold || level % rainingRounds == 0;

&& (level < CONTROL.speedThreshold || level % CONTROL.rainingRounds === 0)

PR #189 adds this as well as I've just seen.
There's a comment to disable gold rain in the first 100 levels completely, maybe that should be discussed as well.
#159 looks good and should be used in favour of my PR.

Usage of gold rain under these rules matches nicely with the drop rate with the addition of the hp treshold lowering.

Since it is added  (https://github.com/SteamDatabase/steamSummerMinigame/blob/master/autoPlay.user.js#L1281)  now, I will close this.
You should still consider if @kaetemi 's change to use raining gold if it's progressing slowly is an even better approach.


Document NASM input/output convention

Currently this information is not documented anywhere, and it's always up to each kata's whim to tell users this information.
Which registers are used for input and output? What is the argument order?

This can be somewhat deduced, as the command line used to compile (see docs) suggests 64-bit output executable, and there's very few 64-bit calling conventions . Even for me it was quite easy to narrow them down to so-called "System V AMD64 ABI" as it seems to be the only one (or one of the few) commonly used for 64bit Linux programs.
Of course, it could be helpful to add this information to NASM doc page.
(Sorry but I am on a mobile and cannot post links now for some strange reason, I will fill them in later today).


Validation renderer gets an instance of a class, not the html element

https://gist.run/?id=66e783f15c68f439adfee440d55438ca
As you can see I validate the md-value on a custom element. The renderer md-validation-renderer.js receives a parameter node which is an instance of an md-input class defined by the bridge. Luckily, it has an element field which I can use. But I cannot assume that all custom elements will expose an HTML element.
In a nutshell, I don't particularly like this code in the renderer
    if (node.element)
        this.renderErrorsOnElement(node.element, relevantErrors);
    else if (node.classList)
        this.renderErrorsOnElement(node, relevantErrors);

Solved by this :

<input XXXXX>

Doing this, the node passed gets a parentElement even if this is not an html component.

Should this be added to an element template?

This doesn't work with template, I cannot remember why...
But you can add the div inside the template like this :
<template>

[...]

</template>

That's fine for my own controls. What about 3rd party controls like Materialize which might not have element or parentElement exposed?

I haven't integrated this, so I can't help you

@MaximBalaganskiy can you summarize the changes you are proposing or put together a PR?

@PWKad I'm not that familiar with the framework to submit a PR, I'm afraid.
I think, renderer must have access to an HTML representing the custom element. Are there any framework service classes which can take a class instance and return a UI tree? If yes it can be injected into a renderer.

I have the same issue with the validate binding behavior on a custom element / attribute. Used the following code to reproduce:
<template>
  <input type="text" value.bind="mdValue"/ />
</template>

import {bindable} from 'aurelia-framework';
export class MdInput {
  @bindable mdValue;
}

    First Name

    <md-input md-value.two-way="model.firstName & validate"></md-input>

An assumtion is made here that binding.target is the HTML element, which is true for <input value.bind="model.firstName & validate"/> but when a custom element is used binding.target is the instance of the MdInput viewmodel

if anyone is interested, I made a workaround: https://github.com/JeroenVinke/validatejs/commit/7876e9a4ec124cd8e510e4ba69fa7c452f1473c1
It is used like this: <md-input ref="_firstName" md-value.two-way="model.firstName & validate:_firstName"></md-input>
jspm install aurelia-validatejs=github:JeroenVinke/validatejs@master

this is fixed in the latest build


UI Elements cut off smaller screens on Android.

On the Beta version of the Application (V3.0.0 (2)) I've noticed some UI elements get cut off the top and bottom on my phone.

Then on the initial hotspot setup the UI elements here did look rather close.

When selecting the RAK hotspot on the setup page, the bluetooth icon is cut off the top of the screen.

Running Android 8.1 on a Blackberry KeyOne (hence the unusual screen size).

On current version of the app this issue still happens on some pages as shown here.


addFriend() is not working

Whenever I try using the addFriend function it doesnt work and gives me this error: client.users.cache.get(...).addFriend is not a function
I even tried copying the example and it gives me the same error
const { Client } = require('discord.js-plus')
const client = new Client();

client.on('ready', async() => {

    client.users.cache.get('ID').addFriend().then( () => {
        console.log('A friend request has been sent')
    }).catch(console.error)

})

There is a typo in the function addFreind
We apologize for the delay in responding, I forgot about this library, but we will be back with a new version soon.


docs: Add user guide for View the markdown source of a message for 540KJ

docs: Add user guide for View the markdown source of a message for 540KJ

Automated message from Dropbox CLA bot
@540KJ, it looks like you've already signed the Dropbox CLA. Thanks!

@540KJ In your view-the-markdown-source-of-the-message.md I guess it would be better to start the heading with a single hash # instead of ##, Cause its the first heading.


Interpolation questions

Are all the interpolations linear?
Is it possible to do easing or even physics-based (e.g. spring based using stiffness and damping)?

Most of the interpolators are linear, but not all (such as interpolateZoom and interpolateRgbBasis). See d3-ease for easing.
If you have a question about D3’s behavior and want to discuss it with other users, consider the d3-js Google Group or joining the d3-js Slack.
Thank you! 🤗

Thanks @mbostock. Will do! :)


can't create endpoint from api

Hello,
When i try to add endpoint to portainer:
http --form POST http://<IP_ADDRESS>:9007/api/endpoints
"Authorization:  Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJhZG1pbiIsInJvbGUiOjEsImV4cCI6MTYwNzk2ODI1NH0.erFpDLsXCpz_v2hdlraOQ6JgSClKW1gAenmSZDpa53c"
Name="test-remote" URL="tcp://<IP_ADDRESS>:2386" EndpointType=1

I get an error:

"details": "Invalid endpoint type value. Value must be one of: 1 (Docker environment), 2 (Agent environment), 3 (Azure environment), 4 (Edge Agent environment) or 5 (Local Kubernetes environment)",

I tried to use curl but the same error occurs
Thanks in advance for your help.
os: ubuntu 18.04
Portainer version: portainer2.0 (portainer-ce docker container)
kern: 4.15.0-112-generic
docker ver: 19.03.8

Hi @ImSFT
You'll probably want to try this:
http --form POST http://<IP_ADDRESS>:9007/api/endpoints
"Authorization:  Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJhZG1pbiIsInJvbGUiOjEsImV4cCI6MTYwNzk2ODI1NH0.erFpDLsXCpz_v2hdlraOQ6JgSClKW1gAenmSZDpa53c"
Name="test-remote" URL="tcp://<IP_ADDRESS>:2386" EndpointType="1"

Helllo @deviantony
with
 http --form POST http://<IP_ADDRESS>:9007/api/endpoints  "Authorization: Bearer tocken" Name="test-remote" URL="tcp://<IP_ADDRESS>:2386" EndpointType="1"
i get the same error;
HTTP/1.1 400 Bad Request
Content-Length: 234
Content-Type: application/json
Date: Tue, 15 Dec 2020 08:14:00 GMT
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "details": "Invalid endpoint type value. Value must be one of: 1 (Docker environment), 2 (Agent environment), 3 (Azure environment), 4 (Edge Agent environment) or 5 (Local Kubernetes environment)",
    "message": "Invalid request payload"
}

I have already tried all the options, I turned on the tls, changed the EndpointType to 2,3,4. but this error does not leave me, through the web interface - the endpoint is created perfectly

@ImSFT sorry about that, it seems that we renamed the parameter EndpointType to EndpointCreationType recently.
Can you give that a try?

@deviantony thank you very much. Everything works perfectly.
strangely, I haven't seen this parameter anywhere in the documentation
Thank you for your time.

Yes, we have a task in our backlog to automate the API documentation generation. Sorry about that!
Closing this issue.


"../file.md"

Are there any plans to add a feature that allows Markdown files to be included in the doc generation.
I would like to be able to do:
"""
../file1.md
../file2.md
"""
function test()
end
where the documentation is generated from external files.

String interpolation should get you what you want here. You can do it with something like
"""
$(readall(joinpath(dirname(@__FILE__), "..", "file1.md")))

$(readall(joinpath(dirname(@__FILE__), "..", "file2.md")))
"""
function test()
end

This is great. It works!
Are there easy ways to list function methods in the documentations?

Are there easy ways to list function methods in the documentations?

I'm not 100% sure exactly what you're after here. Could you give an example of what you'd like to be able to do? Thanks.
Do you mean automatically generating external docs from inline docstrings? If that's the case, then the current work going into https://github.com/MichaelHatherly/Lapidary.jl, which makes use of the new docsystem in Julia 0.4 would probably be of interest. (Note that the Docile/Lexicon combination for generating docs is going to be deprecated (in Julia 0.4/0.5) in favour of Lapidary.jl once it's reached feature parity, which it's very close to doing.)


Memory conflict $308170 (PC 0x180170) used for two purposes

That memory location is used by .GanonPyramidRespawn and the third byte of .HardModeExclusionCapeUsage.
Please reassign the GanonPyramidRespawn to a new address that does not conflict with anything.
(It is the better one to move, as in practice only EntranceRandomizer is affected.  VT always writes the default value here, which happens to act as the correct default for the respawn too).
It is actually a bit surprising in retrospect that this was not the cause of the pyramid respawn bug you fixed a month ago.

good catch, I'll move this and get in touch with ER people to update


Log an error when the Build.pk differs from the pk in Build.error message

This is my last card played trying to get more debug information to understand what is happening with the Build.pk and the Build.error.
Example: https://readthedocs.org/projects/libmodule/builds/7015103/

@agjohnson please, take a look at this and let me know if this could be a good way to get more debugging information from production environment.

@humitos there are others examples of this? I didn't find anything with that one :/

Also, that id exists? I think the instance of the build dictionary is being shared on calls (something similar to what I experimented here https://github.com/rtfd/readthedocs.org/pull/3764#discussion_r173648808)

From pdb
(Pdb) id(self); self.project; self.build
140249780871504
<APIProject: bookpy-2>
{'project': 199282, u'commands': [], u'state_display': u'Triggered', u'success': False, u'state': u'finished', u'setup': u'', u'exit_code': 1, u'output': u'', u'cold_storage': None, u'length': 3
30, 'version': 554, u'id': 367, u'error': 'There was a problem with Read the Docs while building your documentation. Please report this to us with your build id (367).', u'date': u'2018-04-12T00
:56:24.935195', u'commit': u'2c1475517fbfcfe333ed028c27f633313bab65a7', u'setup_error': u'', u'type': u'html', u'builder': u'stsewd'}
(Pdb) c
> /home/stsewd/rtd/readthedocs.org/readthedocs/doc_builder/environments.py(577)update_build()
-> api_v2.build(self.build['id']).put(self.build)
(Pdb) id(self); self.project; self.build
140249780871504
<APIProject: bookpy-2>
{'project': 199282, u'commands': [], u'state_display': u'Triggered', u'success': False, u'state': u'finished', u'setup': u'', u'exit_code': 1, u'output': u'', u'cold_storage': None, u'length': 6
3, 'version': 554, u'id': 367, u'error': 'There was a problem with Read the Docs while building your documentation. Please report this to us with your build id (366).', u'date': u'2018-04-12T00:
56:24.935195', u'commit': u'2c1475517fbfcfe333ed028c27f633313bab65a7', u'setup_error': u'', u'type': u'html', u'builder': u'stsewd'}

Here you can see how the message is changed (error key), the breakpoints are on
https://github.com/rtfd/readthedocs.org/blob/64def2d3b73b98c0593185ee901d25091d07f8a0/readthedocs/doc_builder/environments.py#L512
https://github.com/rtfd/readthedocs.org/blob/64def2d3b73b98c0593185ee901d25091d07f8a0/readthedocs/doc_builder/environments.py#L575
I going to keep investigating.

OK, I got it.
The other build id comes from here
https://github.com/rtfd/readthedocs.org/blob/64def2d3b73b98c0593185ee901d25091d07f8a0/readthedocs/projects/tasks.py#L300-L316
Before that the build is shown as failed and with the correct id, then update_build gets executed and updates the build with another id.

@stsewd thanks for taking a look at this. I'm really confused at the moment :(
I wasn't able to reproduce this in my local instance and I don't really understand the steps you followed to reproduce this in yours. Can you enumerate those steps and how you did the project fail and where the exception has to be raised?

I'm going to close this. We discovered the underlying issue and don't need this anymore. PR is open at #3946


License?

I don't see a license file?
I'd love to see these resources survive for a long time, and a proper license ensures that.
https://choosealicense.com/

Added. Thank you!

Lovely! Thank you 🙏🧡


Vulnerability roundup 97: postgresql-10.14: 2 advisories [8.8]

search, files

[ ] CVE-2020-25695 CVSSv3=8.8 (nixos-20.09)
[ ] CVE-2020-25694 CVSSv3=8.1 (nixos-20.09)

Scanned versions: nixos-20.09: 50c8d1e0deb.
Cc @danbst
Cc @globin
Cc @ocharles
Cc @thoughtpolice

See also: #99831

Can be closed as soon as #108495 is on 20.09.

Can be closed as soon as #108495 is on 20.09.

Updates are on 20.09 since c30ad096b2cd5f64d479a70e656b315ea5e96ae9

Updates are on 20.09 since c30ad096b2cd5f64d479a70e656b315ea5e96ae9


Add CancellationManager for PrefetchDataset

This PR replaces the cancellation logic in PrefetchDataset with a CancellationManager.

@jsimsa Thanks for the prompt review! The comments are addressed here. Please take another look when you get a chance!

This PR is rebased to resolve the conflicts with https://github.com/tensorflow/tensorflow/commit/98ae57bef336f099986783e0500693b31c03dd56. @jsimsa, could you please take another look?


complete initial front-end structure

Co-Authored-By: Paul-Truitt<EMAIL_ADDRESS>Co-Authored-By: Eddie-Hernandez<EMAIL_ADDRESS>


Addresses 8370

Fixes #8370 .

Deploy preview for docsdocker ready!
Built with commit 88a8da277a425b632f2555ffe3a4cb14b2e41c9b
https://deploy-preview-8384--docsdocker.netlify.com

@caervs @adamancini I hope this covers everything we've discussed earlier today. Please let me know if I missed anything.

KB is published https://success.docker.com/article/dtr-26-lost-tags-after-reconfiguring-storage

@trapier hope this addresses everything in your review comments.


Querying overdue days will always display the next weeks day

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
I wanted to query days separately to see all this weeks tasks on (2023-04-19)
For my Wednesday query I wrote the following:
```tasks
explain
due this wednesday
hide due date
sort by priority
```

Expecting the explain to say:
due this wednesday =>
  due date is on 2023-04-19 (Wednesday 19th April 2023)

Current behaviour
Meanwhile the explain said:
due this wednesday =>
  due date is on 2023-04-26 (Wednesday 26th April 2023)

I tried to change the query to the following:
```tasks
explain
due last wednesday
hide due date
sort by priority
```

The outcome is the same:
due last wednesday =>
  due date is on 2023-04-26 (Wednesday 26th April 2023)

Funny thing I tried to change a feature query to due last and it returned next weeks day.
Steps to reproduce

Launch Obsidian in sandbox mode
Make the following query (pick today's day for me its Wednesday):

```tasks
explain
due this Wednesday
```

+1. Try to query any day with due last and it will returns next or this weeks date which is wrong
Which Operating Systems are you using?

[ ] Android
[X] iPhone/iPad
[X] Linux
[ ] macOS
[ ] Windows

Obsidian Version
1.1.16
Tasks Plugin Version
3.2.0
Checks

[X] I have tried it with all other plugins disabled and the error still occurs

Possible solution
No response

Wow. I see what you mean.
Today is Wednesday 19th April 2023
Here is a query:
```tasks
explain

description includes ------------------------------

due today

description includes ------------------------------

due monday
due last monday
due this monday
due next monday

description includes ------------------------------

due tuesday
due last tuesday
due this tuesday
due next tuesday

description includes ------------------------------

due wednesday
due last wednesday
due this wednesday
due next wednesday

description includes ------------------------------

due thursday
due last thursday
due this thursday
due next thursday

description includes ------------------------------

due friday
due last friday
due this friday
due next friday

description includes ------------------------------

due saturday
due last saturday
due this saturday
due next saturday

description includes ------------------------------

due sunday
due last sunday
due this sunday
due next sunday

description includes ------------------------------
```

And here is the explanation:
Explanation of this Tasks code block query:

description includes ------------------------------

due today =>
  due date is on 2023-04-19 (Wednesday 19th April 2023)

description includes ------------------------------

due monday =>
  due date is on 2023-04-24 (Monday 24th April 2023)

due last monday =>
  due date is on 2023-04-24 (Monday 24th April 2023)

due this monday =>
  due date is on 2023-04-24 (Monday 24th April 2023)

due next monday =>
  due date is on 2023-04-24 (Monday 24th April 2023)

description includes ------------------------------

due tuesday =>
  due date is on 2023-04-25 (Tuesday 25th April 2023)

due last tuesday =>
  due date is on 2023-04-25 (Tuesday 25th April 2023)

due this tuesday =>
  due date is on 2023-04-25 (Tuesday 25th April 2023)

due next tuesday =>
  due date is on 2023-04-25 (Tuesday 25th April 2023)

description includes ------------------------------

due wednesday =>
  due date is on 2023-04-26 (Wednesday 26th April 2023)

due last wednesday =>
  due date is on 2023-04-26 (Wednesday 26th April 2023)

due this wednesday =>
  due date is on 2023-04-26 (Wednesday 26th April 2023)

due next wednesday =>
  due date is on 2023-04-26 (Wednesday 26th April 2023)

description includes ------------------------------

due thursday =>
  due date is on 2023-04-20 (Thursday 20th April 2023)

due last thursday =>
  due date is on 2023-04-20 (Thursday 20th April 2023)

due this thursday =>
  due date is on 2023-04-20 (Thursday 20th April 2023)

due next thursday =>
  due date is on 2023-04-27 (Thursday 27th April 2023)

description includes ------------------------------

due friday =>
  due date is on 2023-04-21 (Friday 21st April 2023)

due last friday =>
  due date is on 2023-04-21 (Friday 21st April 2023)

due this friday =>
  due date is on 2023-04-21 (Friday 21st April 2023)

due next friday =>
  due date is on 2023-04-28 (Friday 28th April 2023)

description includes ------------------------------

due saturday =>
  due date is on 2023-04-22 (Saturday 22nd April 2023)

due last saturday =>
  due date is on 2023-04-22 (Saturday 22nd April 2023)

due this saturday =>
  due date is on 2023-04-22 (Saturday 22nd April 2023)

due next saturday =>
  due date is on 2023-04-29 (Saturday 29th April 2023)

description includes ------------------------------

due sunday =>
  due date is on 2023-04-23 (Sunday 23rd April 2023)

due last sunday =>
  due date is on 2023-04-23 (Sunday 23rd April 2023)

due this sunday =>
  due date is on 2023-04-23 (Sunday 23rd April 2023)

due next sunday =>
  due date is on 2023-04-23 (Sunday 23rd April 2023)

description includes ------------------------------

With Tasks 1.19.0 (when explain was introduced), the results are a lot better, so it is a regression in behaviour introduced some point between those two times.
However it happened, it's on me for not having good enough test coverage to detect the problem.
Sorry about this. I will investigate it soon.
Explanation of this Tasks code block query:

Only tasks containing the global filter '#task'.

description includes ------------------------------

due today =>
  due date is on 2023-04-19 (Wednesday 19th April 2023)

description includes ------------------------------

due monday =>
  due date is on 2023-04-17 (Monday 17th April 2023)

due last monday =>
  due date is on 2023-04-10 (Monday 10th April 2023)

due this monday =>
  due date is on 2023-04-17 (Monday 17th April 2023)

due next monday =>
  due date is on 2023-04-24 (Monday 24th April 2023)

description includes ------------------------------

due tuesday =>
  due date is on 2023-04-18 (Tuesday 18th April 2023)

due last tuesday =>
  due date is on 2023-04-11 (Tuesday 11th April 2023)

due this tuesday =>
  due date is on 2023-04-18 (Tuesday 18th April 2023)

due next tuesday =>
  due date is on 2023-04-25 (Tuesday 25th April 2023)

description includes ------------------------------

due wednesday =>
  due date is on 2023-04-19 (Wednesday 19th April 2023)

due last wednesday =>
  due date is on 2023-04-12 (Wednesday 12th April 2023)

due this wednesday =>
  due date is on 2023-04-19 (Wednesday 19th April 2023)

due next wednesday =>
  due date is on 2023-04-26 (Wednesday 26th April 2023)

description includes ------------------------------

due thursday =>
  due date is on 2023-04-20 (Thursday 20th April 2023)

due last thursday =>
  due date is on 2023-04-13 (Thursday 13th April 2023)

due this thursday =>
  due date is on 2023-04-20 (Thursday 20th April 2023)

due next thursday =>
  due date is on 2023-04-27 (Thursday 27th April 2023)

description includes ------------------------------

due friday =>
  due date is on 2023-04-21 (Friday 21st April 2023)

due last friday =>
  due date is on 2023-04-14 (Friday 14th April 2023)

due this friday =>
  due date is on 2023-04-21 (Friday 21st April 2023)

due next friday =>
  due date is on 2023-04-28 (Friday 28th April 2023)

description includes ------------------------------

due saturday =>
  due date is on 2023-04-22 (Saturday 22nd April 2023)

due last saturday =>
  due date is on 2023-04-15 (Saturday 15th April 2023)

due this saturday =>
  due date is on 2023-04-22 (Saturday 22nd April 2023)

due next saturday =>
  due date is on 2023-04-29 (Saturday 29th April 2023)

description includes ------------------------------

due sunday =>
  due date is on 2023-04-16 (Sunday 16th April 2023)

due last sunday =>
  due date is on 2023-04-09 (Sunday 9th April 2023)

due this sunday =>
  due date is on 2023-04-16 (Sunday 16th April 2023)

due next sunday =>
  due date is on 2023-04-23 (Sunday 23rd April 2023)

description includes ------------------------------

git bisect tells me:
f39a0e18d76ac2f77e8d332e3d284960e2202e1e is the first bad commit
commit f39a0e18d76ac2f77e8d332e3d284960e2202e1e
Author: Ilyas Landikov<EMAIL_ADDRESS>Date:   Thu Feb 23 17:38:15 2023 +0600

    feat: filter tasks on date range

 src/Query/Filter/DateField.ts           |  3 +--
 tests/Query/Filter/DueDateField.test.ts | 12 ++++++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

Which is this:
https://github.com/obsidian-tasks-group/obsidian-tasks/commit/f39a0e18d76ac2f77e8d332e3d284960e2202e1e
I cannot immediately see what the problem is.

That commit was included in Tasks 2.0.0 on 2023-03-22
https://github.com/obsidian-tasks-group/obsidian-tasks/releases/tag/2.0.0
The previous release was Tasks 1.25.0 on 2023-02-10
https://github.com/obsidian-tasks-group/obsidian-tasks/releases/tag/1.25.0
So if you are not depending on any other new features since 1.25.0 then temporarily going back to that revision is the workaround.
@PSFHU I am very, very sorry that my unit testing additions to Tasks over the last year did not extend to tests to catch this.

I believe that I do now understand the problem.
Note to self:
I believe that adjusting DateParser.parseDateRange() to be like DateParser.parseDate() in taking the following parameter will fix the problem.
Failing tests would need to be added first.
forwardDate: boolean = false

Thank you very much for the thorough explanation and the quick response.
I'm fine with using an older version mainly I would like use it for my first mentioned purpose.
I'm just happy I was able to help detect this issue, and I'm looking forward to the next working version, when it comes.

Thank you very much for the thorough explanation and the quick response. I'm fine with using an older version mainly I would like use it for my first mentioned purpose.

Thank you.

I'm just happy I was able to help detect this issue, and I'm looking forward to the next working version, when it comes.

I am very pleased and grateful that you did.
And kind of surprised no-one reported it sooner!

The change I proposed above does indeed fix all the filters in your and my examples above.
However, the change causes one test to fail - the filter due in two weeks is now interpreted as an invalid search, which would be a new bug if released...
I'm going to have to put this down now until after the weekend.

This was fixed by PR #1903.


Add Multiple attachment(jpg/png/txt) in issue produce file with no extension on jira

Hello,
I have tried to add multiple file attachment with a issue.I have used tmp path to upload the files in node js .All the file got uploaded successfully,but the issue i find is that the file name is got uploaded without any extension on jira (For ex - upload_2160b1ed5a7ebeaef62ace3790e58426).Hence the images are not visible on jira ,when i view any issue which have attachment include images format.I have also  searched for the solution which i resolved it,Please update it on ur side -
this.addAttachment = function (opts, callback) {
if (!opts.filename) {
throw new Error(errorStrings.NO_FILENAME_ERROR);
}
var options = this.buildRequestOptions(opts, '/attachments', 'POST');
delete options.body;
if (opts.filename.constructor !== Array) opts.filename = [opts.filename];
var attachments = opts.filename.map (function (filename) {
return {
value: fs.createReadStream(filename),
options: {
filename: '',
contentType: ''
}
}
});
options.formData = {file: attachments};
options.headers = {
"X-Atlassian-Token": "nocheck",
'charset': 'UTF-8'
};
    return this.jiraClient.makeRequest(options, callback);
};

In this code - i have added "value" with  "options" under filename map section ,you need to provide a proper file name with extension with its content type.Then after it will display the image file on jira successfully.

This repository is only very lightly maintained; you are welcome to submit a pull request if there is behavior you'd like to add, I do occasionally check the PR list and merge code that is within the scope of this tool and doesn't include breaking changes.
If you have found a bug please indicate the desired behavior and provide a minimal example demonstrating the incorrect behavior; I do try to fix bugs as they come up but I have very little time to devote to this repository anymore, so I can't make any guarantees.
If you have a feature you'd like to request, please indicate the desired behavior.  I will almost certainly never have the time to implement it myself but this repository does see occasional PR activity so it may be added by a generous contributor.  You are, of course, welcome to submit a pull request yourself implementing the desired behavior.

Solved in 2.12.0 version


Resolves #5671 :Add-ApniKaksha DSA Course

Added a great resource for learning Data Structures with Java in Hindi language in free-courses-hi.md file , please check @davorpa
What does this PR do?
Resolves #5671
For resources
Java + Data Structures + Algorithms
YouTube link: https://www.youtube.com/playlist?list=PLKKfKV1b9e8ps6dD3QA5KFfHdiWj9cB1s
by Apni Kaksha
Why is this valuable (or not)?
It is a really great resource for learning DSA with Java in Hindi
How do we know it's really free?
This is a playlist of free videos available on YouTube.
For book lists, is it a book? For course lists, is it a course? etc.
Course
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

I hope you'll appreciate this commit and merge it into the main branch. Help me getting my first PR for Hacktoberfest '21 accepted.
Thank you :)

Thanks, and welcome to free-programming-books!


Upgrade depdendencies

Summary
Updated the following dependencies:

@react-navigation/*
react-native-navigation
react-native-calendars
react-native-gesture-handler
react-native-reanimated
react-native-safe-area-context
react-native-screens
react-native-video

Test Scope:

Navigate through the app, include search -> search result -> thread -> permalink -> go to channel
Android share extension navigation between screens
Video playback
Reaction list (make sure you have enough reactions on the same post to be able to scroll horizontally through). Scrolling horizontally should not pan the panel up or down
Reaction List (Android) emojis should not be opaque

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/9709
https://circleci.com/gh/mattermost/mattermost-mobile/9708

Artifact links:
https://9709-70265724-gh.circle-artifacts.com/0/~/mattermost-mobile/Mattermost_Beta.ipa
https://9708-70265724-gh.circle-artifacts.com/0/~/mattermost-mobile/Mattermost_Beta.apk

@josephbaylon really really interesting find. now here is the thing, definitely not related to this PR but what happened is that as you were dismissing the modal screen for the Reactions, you actually received a push  notification and for some reason it caused an unhandled exception. We should file a different ticket for that one.

@enahum Created a ticket here https://mattermost.atlassian.net/browse/MM-28105

@josephbaylon do please approve this one if you think we are OK


Add ui-bootstrap as an option for Angular 1.4 & 1.3?

Ui-Bootstrap 0.13.3 states AngularJS (requires AngularJS 1.3.x, tested with 1.4.3). 0.12.0 is the last version of this library that supports AngularJS 1.2.x.
I'm having better luck integrating 1.4.x Angular with Ui-bootstrap (moreso than AngularStrap) but missing all of the goodies unless I generate at a lower level and move angular up separately.
Suggestions?

Thanks. I'll look into adding support for it for newer Angular versions. I haven't paid attention to UI Bootstrap, so thanks for catching this update.

bd1ee1754cd1260ebffdfb11c59a31ad41634365 added. Thanks again for catching this.


Space between images

Hi, ho can i remove the space that is shown between images?
Thanks

Hi! Currently there is no way to manually set the space between images. There's actually no space between them, but if you can see it, it's the impact of contentScaleMode set to .ScaleAspectFit, which is default.
To remove the space, just set contentScaleMode to .ScaleAspectFill (but keep in mind that images will be fitted inside).


[ENH] Allows users to get microarray samples in mask

Closes #46.
Adds function abagen.get_samples_in_mask(mask) which allows users to provide a mask (binary or otherwise 🤷♂) and all samples within tolerance of mask boundaries are returned (along with MNI coordinates of samples). If no mask is provided, (i.e., mask=None) all available tissue samples are returned instead.
This required adding a region_agg=None option to abagen.get_expression_data(), though I am choosing not to document this functionality in favor of having people use get_samples_in_mask() directly so that the relevant sample coordinates are returned alongside expression data.
To do:

[x] Add smoke tests for get_samples_in_mask()
[x] Update documentation for function

Alright so the docs failure is a typo (shouldn't have done exp.head() but just exp) but it did highlight an issue with gene normalization when using get_samples_in_mask().
Namely, if a relatively small ROI is provided as the mask then often there are relatively few samples found within the mask for each donor. If normalization is set to 'srs' (the default), then 2/N samples will have expression values set to either 0 or 1 (due to the rescaling). While this is not normally an issue when aggregating over donors, when returning sample-level expression data these 0/1 values are retained and can make for very confusing interpretations (since the resulting expression matrix will have one 0 value for each donor and one 1 value for each donor. As such, normalization should probably be done over all available samples—not just those matched to the provided mask. However, this will requires modifying get_expression_data() in such a way that the functionality of that workflow does not change (since we generally want to retain the functionality there, I think—though now I might reconsider how that process should work...).


markusproject.org is down

Site doesn't seem to work

duplicate of #3810

https://github.com/MarkUsProject still in the org description

Ah I see. Thanks for catching that! It has now been removed.


[Driver] Remove built-in run subcommand

This is as per discussion in https://bugs.swift.org/browse/SR-5332
rdar://problem/33216628 Remove built-in run subcommand
Explanation: Remove built-in run subcommand.
Scope: we need to remove the built-in run subcommand to allow the package manager's new swift-run tool to execute. The package manager has implemented support for running run command with a file name for backwards compatibility: swift run file.swift.
SR Issue: SR-5332, rdar://problem/33216628
Risk: Low risk as this command is not well known and we are providing some backwards compatibility.
Testing: Manually tested that package manager's swift-run is executed instead of the built-in command.

@swift-ci Please test


GET /midlands/notifications/stack/ returns {}

In app I can see one card. But when I do curl -v https://api.robinhood.com/midlands/notifications/stack/ -H "Accept: application/json" -H "Authorization: Token {token}" I get {}.
Docs: https://github.com/sanko/Robinhood/blob/master/Unsorted.md#cards
Did the endpoint change?

Nevermind I see it working now. It doesn't seem to be very well in sync though.


Update index.html

Extra information to use typeahead-template-url

You need to change the file in https://github.com/angular-ui/bootstrap/tree/master/src/typeahead/docs instead. The gh-pages branch contains files that are generated from the source.

@chrisirhc Should be close/invalid this one then?

Sure, sounds good. Closing.


create plugin to limit fixed wing launching rate

They should be limited to 2 parallel launches with 30 second delays.
This will probably need to be a gazebo plugin that pins the vehicles until the previous ones are outside a bounding box.

fixed in cbbb235e1ad4bdaea2b7b88a5abcd500cc638459


The default template does not have option to send to ~

In some cases, we might need to redirect to ~ in order not to write the logs to /var/log/messages.
The default client template's pattern does not have this option.
Ex: if $syslogfacility-text == 'local6' then ~
If we donot mention the hostname or port , from the init.pp the default values are coming.
or else if we supply empty value, remotehost section is appending @:

I'm open for suggestions to fix this.

As there was no feedback, I'm closing this issue now. If this is still required, please open a new issue.


Adding healthy programmer program in python

@SachinDabhade Sir if you can describe more about the program , then maybe I can code this Problem.
Is it something like , amount of calories required for different age groups of programmers.
User will input the age , and we can Output the Range of Calories for a healthy Programmer , Or maybe the most peferred Meal for the same.


Question about licensing the theme

Is it allowed to put a gnu gpl-3 license on your theme?

Yes!


Span Fix for month and quarter which prometheus doesn't support

Signed-off-by: vamsi-amazon<EMAIL_ADDRESS>Description

In the current state, Span expression allows month and quarter which doesn't work with prometheus.
In case of push down, I am converting M = 30d and Q=90d.
Improved messaging from prometheus response.

Issues Resolved
[List any issues this PR will resolve]
Check List

[x] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[x] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

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.

Codecov Report

Merging #1029 (f568f81) into 2.4 (3168ed5) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##                2.4    #1029   +/-   ##
=========================================
  Coverage     98.26%   98.26%
- Complexity     3326     3329    +3
=========================================
  Files           324      324
  Lines          8399     8403    +4
  Branches        553      554    +1
=========================================
+ Hits           8253     8257    +4
  Misses          142      142
  Partials          4        4

Flag
Coverage Δ

sql-engine
98.26% <100.00%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

...us/storage/querybuilder/StepParameterResolver.java
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Have you confirmed if 30 and 90 days' windowing is equivalent to month and quarter in Prometheus? It seems not in our span implementation. For example, span by 1 month is expected to window the result month by month exactly. However, span by 30 days may give you window start time Jan 3 or Feb 4, because month is not fixed window size like second/minute/hour. If it's the same in Prometheus, rather than converting them, we should not push down in this case.

Prometheus doesn't support month and quarter

Are you suggesting to not push down in case month or quarter provided

Are you suggesting to not push down in case month or quarter provided

Yes, either do it in post-processing or throw unsupported exception. Otherwise it would be confusing user.

The response body is just what Prometheus returns to us with error details, right? Just want to double check there is no security concern here. Thanks!

Yes.


Hello!

Hi, I had been looking at your repo and the nice wallpapers, and I came back this morning to find that you had added some from my wallpaper repo! Its great to see them being used, Thank you!

Indeed, missclicking a notification made me see your wallpaper repo and I liked some of them. Very cool though!


Strange Problem

Description
Adding just one line in file modifies other lines even when we don't touch other lines.
Steps to Reproduce

Open this file in Atom : https://github.com/udacity/create-your-own-adventure/blob/master/language.md
Append newline at the end.
Save and run 'git diff'

Expected behavior:
I expected only a new line to be added.
Actual behavior:
Other lines get modified.
Versions
1.6.2
How did I solve?
I added the line using Vim and it worked perfectly.

Some of the lines in this file end with a whitespace character. Is the changes in the other lines only the removal of this whitespace in the end of these lines?
Check the settings in the whitespace core package, specifically the "Remove Trailing Whitespace" option.

@Ben3eeE Please, follow above steps. It will not take more than 2 mins if you have already installed Atom.

@akshar-patel I think it is best if you show what your output of git diff is because there are many settings that will cause different results.
Did you try in safe mode and see if you got the same diff?

What I see is that atom removes the trailing whitespace (and the linked file contains a lot of those). If you don't need or want that feature try to disable it in the settings:

Are there any other issues after disabling theses settings?

I disabled this package.

Appended new line "testing"

Still the last line showing up as deleted and then added again although I have only added "testing"

Please restart Atom after disabling the Whitespace package and try again.

OK. working after restart. Thanks.


[4.4] README with packages and quickstar va tutorial

Refreshed getting started tutorial to new quickstar format

Related to #1102


fix attributes for synchronized (mtx)

synchronized (mtx) is neither pure not const

the compiler currently doesn't check attributes
for synchronized statements

Issue 14251 – synchronized (mtx) doesn't check attributes (pure, const)

LGTM

Auto-merge toggled on

thx


GDScript: Add void datatype

Context
The Lexer is missing the void-type. This type isn't listed in the Grammar Docs. The reason for that could be that the grammar is incosistent with GDScript (see note in Grammar Docs).
The type void should be added, because you can specify it as a return type in GDScript.
Example from the GDScript Basics:
func void_function() -> void:
    return # Can't return a value

References

Grammar Docs
GDScript Basics

Merged, I'll update the tests manually.


Contributing

Describe the Suggestion
Hello ,
I Suggest to add a  CONTRIBUTING.md, for contributions and steps to follow.
Screenshots and Videos
No response
Additional Context
No response

https://github.com/Fabricators-of-Create/Create/blob/mc1.18/fabric/dev/README/CONTRIBUTING.md

That needs to be updated

hello, just checking anyone here?


.Dockerfile Base is unnecessary

### BASE
FROM node:8.11.3-alpine AS base
LABEL maintainer "Byungjin Park<EMAIL_ADDRESS># Set the working directory
WORKDIR /app
# Copy project specification and dependencies lock files
COPY package.json yarn.lock ./
# Install yarn
RUN apk --no-cache add yarn

You can see it： https://github.com/nodejs/docker-node/blob/master/8/alpine/Dockerfile

Thanks! 👍


Customization

Is there any way to change the default colors for each theme? With which program i can edit the xpi file?
also, does this work as firefox color theme is there any difference between the addon and traditional theme?

First, thank you for your interest in Coldark Firefox!
No, the default color cannot be changed. This extension reuses the colors of Coldark, there are no plans to use other colors.
The xpi file is not editable, it is an archive (like zip) allowing installation in Firefox. This is a signed archive. All colors are defined in the background.js file. To achieve this, since you also need to change the information in manifest.json, I only see the creation of a new extension.
I'm not sure I understand your last question. If by addon you are referring to Coldark Firefox, then yes. Everything is detailed in the readme. Colors are unique to Coldark. And there is a switch system between the light version and the dark version.


Avoid accessing the theme too early in EditorRunBar

Fixes https://github.com/godotengine/godot/issues/76509.
I missed it initially because it happens before the editor output can display those errors, so you can only see it in the terminal during the startup. Perhaps we could somehow store those messages, and then print them once the editor output is ready?

Thanks!

I'm still experiencing #76509 when opening any project in 4.1.1-stable. Not sure what might be causing this, I'm not using any undocked windows either. The line where the warning is outputted is different from the original issue:
scene/gui/control.cpp:2522 - Attempting to access theme items too early; prefer NOTIFICATION_POSTINITIALIZE and NOTIFICATION_THEME_CHANGED
And here's a project it's occurring for me on
Kenney2023Game.zip


invalid type used in function: void modp_litoa10(int64_t value, char* str)

In file modp_numtoa.c at line
    unsigned long uvalue = (value < 0) ? -value : value;
input is converted to 32 bit integer.

Solution:
    uint64_t uvalue = (value < 0) ? -value : value;

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 20 Jun 2013 at 8:37

pull requests welcome


tst_09

Describe the bug
unit test 9 fails
To Reproduce
Steps to reproduce the behavior:

run qr.test --only 9

tst_09 FAILED approx_equal ERROR: len(a1) != len(a2): 4 != 7

Expected behavior
test should pass or there should be a slight difference in buffers. This difference is too large.
Desktop (please complete the following information):

OS: [e.g. Mac OS X 10.14.2]
Phenix Version phenix-dev-3591
qrefine Version v1.0-142-g3f87695

Additional context
The difference between c++ and java needs to be found for selecting buffers.

Done


Error when committing without a message

Incomplete Git commits (no commit message) are accepted at the frontend, but then fail when getting commited by the UAServer. “Failed to commit. LibGit2Sharp.EmptyCommitException: No changes.”

In the dashboard we do something like "No message specified" on Null - perhaps the cmdlet should do the same?

Yeah. I think thats a good idea. Check in both palces


Fixed order cancel option is not coming even if invoice state is pending #3679

BUGS:
Issue: https://github.com/bagisto/bagisto/issues/3679

working now

@devansh-webkul
kindly check when invoice status is paid and order status is processing still cancel is visible https://prnt.sc/tzi8jc

@devansh-webkul
generated invoice status is not visible in the order summary https://prnt.sc/tzkvhm

This PR is not valid for existing Orders. Instead I am opening alternate one please check.


codemirror_sync: Use reset and checkout instead of restore

The git version we are using for CI is too old.
Signed-off-by: Julien Pivotto<EMAIL_ADDRESS>

cc @Nexucis


[TEST] Implement test case test_csi_snapshot_snap_delete_csi_snapshot

What's the test to develop? Please describe
Implement test case test_csi_snapshot_snap_delete_csi_snapshot
Describe the items of the test development (DoD, definition of done) you'd like

[x] Implement script
[x] Verify on pipeline

Additional context
N/A

Test case

test_csi_snapshot_snap_delete_csi_snapshot_snapshot_exist
test_csi_snapshot_snap_delete_csi_snapshot_snapshot_not_exist
test_csi_snapshot_snap_delete_csi_snapshot_volume_detached

Verified on ARM64 and AMD64 master-head pipeline


Error using set_edited_scene_root from EditorPlugin

Issue description:
I'm writing an editor plugin and I was trying to create a new root node from the script. So I created a simple node and tried this:
get_tree().set_edited_scene_root(node)
A few days ago, this caused the editor to crash. With a more recent build (compiled from master), it doesn't crash anymore. The node doesn't seem to appear at first, but as soon as the screen gets updated (e.g. by clicking on the "add node" button and going back), the root node does appear, but the editor ignores it and behaves as if there was no root node.  The Console shows this error:

ERROR: get_path: Condition ' !is_inside_tree() ' is true. returned: NodePath()

Is this actually a bug, or am I using this function completely wrong? There seems to be no documentation about it.
Here's a minimal example project. A plugin that adds a single button to the  bottom panel which creates a new node and calls this function:
https://dl.dropboxusercontent.com/u/1891681/Test_set_edited_scene_root.zip

I am not really sure what the set_edited_scene_root do. Code below works for me. You can inspect editor_node.cpp for more details.
	var editor = get_node("/root/EditorNode")
	editor.set_edited_scene(node)

Thank you, that works well! I didn't even know that EditorNode and set_edited_scene existed, is this undocumented?
It would still be nice to know what set_edited_scene_root does and if this is actually a bug or not. But my problem has been solved, so thank you!

Closing as solved. Feel free to document SceneTree.set_edited_scene_root( Object scene ) if anyone knows what it does.


Collection Abstraction and Horizontal Scrolling Supported

#71
Vertical-Collection is renamed to sm-collection.
Vertical-Item is renamed to collection-item.
SM-collection defaults to vertical, but can be set to horizontal by using vertical=false.

@kylemellander I'm looking to get infinite horizontal scrolling implemented in a table with an enormous number of columns. Your pull request looks to be just what I need. Could you throw in a test example using sm-collection with vertical=false but as a table?

@mtapalla unfortunately, @runspired decided not to go this direction, and so this is not supported.    You are free to use this branch, but just know that it is not supported and will not receive any updates.


Contact page

ntumie link ya meeting ya 4 hapa kwa email
On Mon, Jul 3, 2023 at 10:36 AM MPChege @.***> wrote:

Where the user can contact us from here
—
Reply to this email directly, view it on GitHub
https://github.com/MPChege/SkyProperties/issues/7#issuecomment-1617535506,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6HQU5NCWWCKE5R2A77J6FTXOJY6ZANCNFSM6AAAAAAZ4BTOOM
.
You are receiving this because you were assigned.Message ID:
@.***>

ntuimie link ya meeting hapa


Britney - Package Tracking

Britney is a customer that would like to use the packages unique identifier to find out the status of her packages location. (Status includes: Location of package, ETA)

Acceptance criteria:

input for the Unique ID
status list of package

Status indicators should be: Booked, picked up, in storage, in transit, delivered. Date and time stamp needs to be included


New command: flow recyclebinitem list

Usage
m365 flow recyclebinitem list [options]
Description
Lists all soft-deleted Power Automate flows within an environment
Options

Option
Description

-e, --environmentName <environmentName>
The name of the environment.

Examples
List all soft-deleted flows within a specific environment
m365 flow recyclebinitem list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5

Default properties

Name
Display name

Additional Info
Docs
Remarks
A Power Automate flow is soft-deleted when:

It's a non-solution flow.
It's been deleted less than 21 days ago.

[!WARNING]
This command is based on an API that is currently in preview and is subject to change once the API reaches general availability.

(instead of note, use info admonition)

[!NOTE]
To use this command, you must be a Global or Power Platform administrator.

API request
GET https://api.flow.microsoft.com/providers/Microsoft.ProcessSimple/scopes/admin/environments/<Environment ID>/v2/flows?api-version=2016-11-01&include=softDeletedFlows

Can't really find a way to filter only the deleted flows. Worst case we have to do an in-memory filtering on properties/state = Deleted.

LGTM 👍


Add new templating functions for random data

Currently supports
{{randomString}}
{{randomStringLength 2}}
{{randomBoolean}}
{{randomInteger}}
{{randomIntegerRange 7 8}}
{{randomFloat}}
{{randomFloatRange 7.0 8.0}}
{{randomEmail}}
{{randomIPv4}}
{{randomIPv6}}

Uses fake for functions such as {{randomEmail}}, {{randomIPv4}} and {{randomIPv6}}. Can be easilly extended to use more from this library.

How about enum values, like {{ enum OPEN|CLOSE }} and random UUID?


api_key env_var substitution doesn't work with quotes

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
if the config.yaml has
api_key: !env_var SONARR_APIKEY
it works. However, yaml schema verification fails because the ! is part of yaml tagging.
Using
api_key: "!env_var SONARR_APIKEY"
should work, but recycler fails with an unauthorized call, so it appears the " block the env substitution even though the yaml is valid.
Expected Behavior
api_key: "!env_var SONARR_APIKEY"
should work and substitute the variable as expected.
Steps To Reproduce
Use api_key: "!env_var SONARR_APIKEY" to reproduce
Environment & Versions
- Operating System: Kubernetes
- Architecture: AMD
- Recyclarr Version: 4.4.1
- Recyclarr Build:
- Sonarr Version: <IP_ADDRESS>7
- Radarr Version:

Recyclarr Log File(s)
===========================================
Processing Sonarr Server: [standard]
[INF] Processing Quality Definition: series
[ERR] HTTP error: Call failed with status code 401 (Unauthorized): GET http://REDACTED:8989/api/v3/qualitydefinition?apikey=REDACTED
time="2023-04-19T00:00:02Z" level=error msg="error running command: exit status 1" iteration=0 job.command=/cron.sh job.position=0 job.schedule=@daily
Configuration YAML
sonarr:
  standard:
    base_url: http://sonarr:8989
    api_key: "!env_var SONARR_APIKEY"
    delete_old_custom_formats: true
    quality_definition:
      type: series
    release_profiles:
      - trash_ids:
          - EBC725268D687D588A20CBC5F97E538B # Low Quality Groups
          - 1B018E0C53EC825085DD911102E2CA36 # Release Sources (Streaming Service)
          - 71899E6C303A07AF0E4746EFF9873532 # P2P Groups + Repack/Proper
        strict_negative_scores: false
      - trash_ids:
          - 76e060895c5b8a765c310933da0a5357 # Optionals
        filter:
          include:
            - 436f5a7d08fbf02ba25cb5e5dfe98e55 # Ignore Dolby Vision without HDR10 fallback
            - f3f0f3691c6a1988d4a02963e69d11f2 # Ignore The Group -SCENE

Sonarr / Radarr Logs
No response

Perhaps use a different escape character? For example, =env_var

Please attach the actual log files

recyclarr-logs.txt

I need to update the docs, but I suspect the issue you're running into is that the schema validation isn't aware of the tag type. I don't know what tool you're using to perform the validation, but if you're using VS Code, there is a solution posted for secrets here that you can adapt for env vars.
I haven't had time to RCA this issue yet but I suspect you've found a legitimate issue. I do not believe the quotes should matter but obviously they're tripping something up.

Adding ```  "yaml.customTags": [
"!env_var SONARR_APIKEY"
],

The docs have been updated. Once I get around to getting this issue fixed I'll provide another update. Thanks again for the bug report.

Ok I looked into this a bit more. Admittedly, I had to learn something new in this process, but it should have been obvious to me from the beginning.
Based on the YAML specification, tags should not be quoted. The basic thing that I should have realized is that quoting something forces it to be a string. So doing something like base_url: "!env_var SONARR_URL" gives you the literal string "!env_var SONARR_URL".
So the ultimate conclusion here is that there isn't a bug and this is working correctly. The solution to your problem is to not quote the value. I realize you only quoted it as an experiment due to the false-positive issue you ran into with VS Code not recognizing the tag. But now that we've addressed that, the quotations are not necessary either.
I hope that explanation is clear for you. Let me know if you have any other questions or concerns. Thanks once more for the report.

Thanks for the detailed explanation. The settings.json update did fix the issue I was having so I think everything is fine.

I just ran into a similar issue while deploying recyclarr to my Kubernetes cluster using Helm. My helm chart uses the toYaml function to format ConfigMaps correctly and after debugging for a while I noticed that Helm is removing the "!env_var" part from my YAML files.
So if someone uses Helm Charts and toYaml, you cannot use this feature.


Cannot install on my system

I got this following error:

It said to contact the author of bcrypt, so I am doing exactly that.

please provide a full text based error log to the node-gyp project. I can't tell what other errors there are but it seems they are related to building with the v8 headers and not this project.
For future reference screenshots like this are pretty useless compared to a text log file which can be searched.

Hi, sorry for me being so brief back then, was in a hurry and kind of upset (Windows really gives you a bad time when installing node-gyp).
Anyway, I uninstalled VS2012 and installed 2015 version, all works fine now.

@defunctzombie Okay, been scanning around.
I have Visual Studio Express 2013 and getting a similar failure. I am going to see if upgrading to 2015 helps. If it does maybe we should make a note about this on the README to stop from the bugs getting opened up left and right.
@Oreqizer Thank you, this is the only information I have seen leading towards a fix.

@nullivex If that is the case then the instructions here (https://github.com/nodejs/node-gyp) should be updated. Our readme simply says that you need the pre-reqs for node-gyp on your platform and we link to this readme. Once you confirm your findings, opening an issue on the node-gyp repo (or even a PR for the readme) would be appreciated I am sure.


Lower dependency on non-standard fields in output

Currently we depend on non-standard fields in order to figure out some things when loading a spec into the editor. For example, most typefields we have require the x-oad-type field to be present to switch to the correct type.
We should try to reduce the usage of fields such as x-oad-type to make it easier to implement importing other specs (#32).

Some of the x-oad-type requirements can probably be removed by creating an extension of Typefield that has a reference and a non-reference type and can detect which it is based on whether or not there is a $ref field in the input value.


Possible seizure warning?

With strobe, slower BPM of course wouldn't bother many. However, too fast a strobe could be impactful to those that are seizure prone.
(Imagine the volume bar,  as you hit too loud a volume, a dialog appears that mentions damage to your hearing. Is it possible to add the same kind of dialog if a user enters "x" BPM? Possibly able to toggle on/off if a user thinks they won't be affected)

Thanks for the idea.
I think I will just add a general warning inside the interval dialog.
Coming in the next update

Added in Version 2.2.0


Create a conda package

I would really like sesh to be installable through conda.

conda uses so-called "channels" for distributing packages and the most comprehensive and generally used is conda-forge.

The process of adding conda packages to conda-forge is documented here.

Since we are in Go land, here is lazygit's recipe for reference.

I'd be happy to help out with the process, if you would like that.

I'm going to see if GoReleaser might want to add support for Conda, otherwise I can put together something myself, thanks!


get url file

how can I list file url in product listing?

Mage::getBaseUrl('media') . 'catalog/product' . $product->getData('attribute_name');

Where attribute_name is the name you gave the file upload attribute.


Scene Inventory: Maya add actions to select from or to scene

Brief description
Ever wanted to quickly identify some containers that are currently loaded into the scene? Now you can!
Description

Select in scene:  Select nodes in the scene from selected containers in scene inventory
Select from scene: Select containers in scene inventory from the current scene selection

Additional info
This now works because https://github.com/pypeclub/OpenPype/pull/3657 is merged.
Note: that this will not select or consider the top group because it is not returned by get_container_members (that is e.g. the non-referenced top group where references get added into by default)
I added quite a high order to the actions so they'll always appear near the bottom.
Testing notes:

Run maya
Load some content
Try the right click actions in the Scene Inventory

Maybe it's better to have some more elaborate labels? Just from the labels I'm getting confused as to what they do.
"Select nodes in scene" and "Select containers in scene"

Maybe it's better to have some more elaborate labels? Just from the labels I'm getting confused as to what they do.
"Select nodes in scene" and "Select containers in scene"

That's a good remark - but I just couldn't come up with the right label. I think "Select containers in scene" sounds wrong since it's not selecting inside maya but it instead would be selecting the container entries in the Scene Inventory UI.
The best description I could still think of was this:

Select in scene: Select nodes in the scene from selected containers in scene inventory
Select from scene: Select containers in scene inventory from the current scene selection

I think this would be somewhat clearer - but it remains unclear 'based on what' it'd decide to select.

"Select nodes in scene"
"Select containers in inventory"

I think 1) is somewhat clear (also in UX because you're right clicking on the containers) but 2) just remains odd UX without a better label.
Other ideas:

"Match scene selection" (match it where?)
"Match container selection by scene selection" (too long and still not 100% clear)

Anyone has better ideas?

First shot ideas Selection From scene or Mark Scene selection.

I would keep the first one as Select in scene. Many maya users are not primarily familiar with nodes in general. Like animators, quite often. Select in scene seems more than clear to me.
The other one is trickier..... 1. it should be a button in the gui and not and action on a selected container. That's I believe would clear up the confusion and if it was just next to the buttons on the top, we could have it as Highlight by scene selection

The other one is trickier..... It should be a button in the gui and not and action on a selected container. That's I believe would clear up the confusion and if it was just next to the buttons on the top, we could have it as Highlight by scene selection

It's trickier due to this being a host specific implementation and we might not want to expose it for all hosts? (For some it might even be irrelevant, etc.)
How about also allowing right click actions to be added that are not specific to the selection (and thus also work in an empty space in the Scene Inventory) and appear outside of the Actions menu? :)
For this first draft we could also just make them:

Select in scene
Highlight by scene selection

Then we can look into more streamlining separate from this PR?

Let me know if there's a verdict and I'll see if I can update the actions to match along with the feedback.

It's trickier due to this being a host specific implementation and we might not want to expose it for all hosts? (For some it might even be irrelevant, etc.)

This is unfortunatelly true and is partially connected to https://github.com/pypeclub/OpenPype/issues/3467 which could make it available. For now I agree with
For this first draft we could also just make them:

    1. Select in scene
    2. Highlight by scene selection


Allow rvalue and assign to accept eigen expressions

Submission Checklist

[x] Run unit tests: ./runTests.py src/test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary
This allows rvalue and assign to take in generic eigen expressions. This uses a const Eigen::Ref on the rhs of assign and the input to rvalue so that eigen expressions sent into rvalue that need row or column access will first be evaluated. This allows Eigen::Matrix inputs to avoid a copy while eigen expressions will be evaluated
This PR also makes one specialization for the case of A[, col_index] for grabbing a column of a matrix. It feels like this should be a regular thing people do and since we do col major index it feels like an easy slice to grab with A.col()
Intended Effect
Inputs to rvalue and assign can be more complex eigen expressions
How to Verify
Additional tests have been added to rvalue_test and lvalue_test that can be run from
./runTests.py ./src/test/unit/model/indexing/

This PR also cleans up the names of tests for assign to be more descriptive and names the assignee lhs_x and variable to be assigned rhs_y. I think this makes the test code easier to read
Side Effects
Since everything is templated to remove dynamic. This should allow for Eigen expressions like colvec * rowvec to carry forward that the result is known to have 1x1 dims. Once the math library is templated to accept generic eigen expressions we can remove the .eval() in a few places here let the returns of rvalue be their auto deduced type
Documentation
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

@t4c1 are you able to review things in this repo? Else maybe @bob-carpenter can if he has time?

Actually @t4c1 I was goofing around with this and what if we used decltype(a.eval()) instead of Eigen::Ref? Looking at the below it seems like this gives us what we want in that for actual matrix input types it will be a const reference, but for types that need assignment it will be an actual object
--------------
Input Type is:
  Eigen::Matrix<double, -1, 1>&

decltype(Vector) is:
 const Eigen::Matrix<double, -1, 1>&
----------------------------
Input Type is:
  const Eigen::Product<Eigen::Matrix<double, -1, 1>, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>&&

decltype(Vector * Vector.transpose()) is:
 const Eigen::Matrix<double, -1, -1>
----------------------------
Input Type is:
  Eigen::Matrix<double, -1, 1>&

Eigen::Ref<Vector> is:
 const Eigen::Ref<const Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<1> >&
----------------------------
Input Type is:
  const Eigen::Product<Eigen::Matrix<double, -1, 1>, Eigen::Transpose<Eigen::Matrix<double, -1, 1> >, 0>&&

Eigen::Ref<Vector * Vector.transpose()> is:
 const Eigen::Ref<const Eigen::Matrix<double, -1, -1>, 0, Eigen::OuterStride<> >&
--------------

https://godbolt.org/z/vYmxdv
I'm trying to read the docs for Eigen::Ref and it looks like the decltype(a.eval()) does essentially the same thing?
https://eigen.tuxfamily.org/dox/classEigen_1_1Ref.html

Actually @t4c1 I was goofing around with this and what if we used decltype(a.eval()) instead of Eigen::Ref?

It would work, but it would also evaluate (copy) objects, such as Eigen::Map or Eigen::Block. And we do not need copys for those objects. So Eigen::Ref is still preferable.

@t4c1 this is ready for a review? @bob-carpenter idt @t4c1 has approve permissions here though so could you approve and/or review this as well?

The permissions are set across repos for almost everyone and almost every repo.  I have no idea why you can't resolve comments---does one of the participants have to do that?

I tend to leave issues open until the reviewer closes them so that's not an issue. If @t4c1 is able to approve here then we are good after I fix up the latest review stuff

@t4c1 would it ever make sense to have something like
template <typename T>
struct eigen_ref {
  using type = std::conditional_t<std::is_rvalue_reference<T>::value,
    Eigen::Ref<typename std::decay_t<T>::PlainObject>&&,
    const Eigen::Ref<const typename std::decay_t<T>::PlainObject>&>;
};

template <typename T>
using eigen_ref_t = typename eigen_ref<T>::type;

I'm not really certain how Eigen::Ref interacts with rvalue types. For the case of an Eigen::Matrix I think the above would say, "Retain your value type when passing a reference to Ref". Though for unevaluated rvalue expressions classes I'm not sure if this would do something weird.

Also once this passes tests I'll ping you for another once over

@t4c1 would it ever make sense to have something like

This boils down to the question, whether Eigen::Ref<...>&& makes sense. I think it does not. Eigen::Ref does not to allocate any memory on heap, so moving it is no cheaper than copying.
What I think you want to do is have something like Eigen::Ref<Expr&&>&&, to be able to move Expr if it is a rvalue matrix. This does not seem to be supported by Eigen::Ref.

This PR is causing Jenkins Unit tests to go in an infinite loop. Restarting the tests worked before in order to get the worker free, but now that there are conflicts that is not doable. It leaves the previous test run alive:
https://jenkins.mc-stan.org/blue/organizations/jenkins/Stan/detail/PR-2885/23/pipeline
@serban-nicusor-toptal please stop this test run whenever you have time. If you wont have time to do it today let me know and I can just resolve the conflicts and introduce a compile error or something.

@rok-cesnovar apologies just tried merging to develop to get rid of the conflict

No need to apologize :) Just wanted to notify you guys as I saw it and Jenkins reported nothing back here.

Hey, I'll login and fix it in a few minutes.

@t4c1 I think I covered all the last review comments, you want to give this another look?
On a side note I've slowly started working on a design doc related to value types and how to handle move semantics and some of Eigen's peculiars like Eigen::Ref. I have a few other things to deal with right now but hope to have something up in the next two weeks or so

This boils down to the question, whether Eigen::Ref<...>&& makes sense. I think it does not. Eigen::Ref does not to allocate any memory on heap, so moving it is no cheaper than copying.

Yeah I agree, reading the Ref docs over more this makes more sense to me

What I think you want to do is have something like Eigen::Ref<Expr&&>&&, to be able to move Expr if it is a rvalue matrix. This does not seem to be supported by Eigen::Ref. You still can make a separate overload for MatrixXd&&.

Another day we can tinker with this. I think we'd want some sort of clever type trait that does a MatrixXd&& when that's the template parameter value and then a Ref otherwise

Hmm, ok it seems I can select approve, but it does not count as approved.

Thanks for the catch! I updated that doc so feel free to approve and we will merge when the tests pass

@rok-cesnovar

Just a heads up https://github.com/stan-dev/stanc3/issues/471#issuecomment-590538283

Shoot let's revert this then

If there is any easy fix we can also fix this with a PR.

Let me see if I can find a quick fix today else I think it's better revert and then revert revert


[timeseries] Apply ruff linter to timeseries

Issue #, if available: #3353
Description of changes:

Apply ruff linter to code in timeseries/
Add ruff lint check to GitHub action

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

So far we use isort that checks the order of imports and black that checks the style (indents, newlines and whitespaces). ruff is essentially a faster version of flake8 and it additionally checks things like unused imports, unused variables, or undefined variables present in the code. This may catch some bugs (unlike black and isort).


adding content regarding ml under gsoc

Is there an existing issue for this?

[X] I have searched the existing issues

Issue Description
i want to add ml content
Suggested Change
ml supervised and unsupervised
regression  and classification
Rationale
No response
Urgency
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Please assign this

https://github.com/kabeer09/machine-learning-repos/commit/d787f495389b745e4acd43921827e66267527774

sir check i complete this

sir how i check my repo is contribute in gssoc or not

https://github.com/Recode-Hive/machine-learning-repos/pull/543 check this one

https://github.com/Recode-Hive/machine-learning-repos/pull/543

https://github.com/Recode-Hive/machine-learning-repos/pull/543

please check this contribute or not

sir assign the label to my both issues


feat: add witness rebinding optimization

Testing that this doesn't break anything in aztec-nr

Benchmark results
Metrics with a significant change:

protocol_circuit_witness_generation_time_in_ms (private-kernel-init): 415 (-16%)
protocol_circuit_proving_time_in_ms (base-rollup): 77,230 (+18%)
protocol_circuit_proving_time_in_ms (root-parity): 40,198 (+18%)
protocol_circuit_proving_time_in_ms (public-kernel-app-logic): 45,267 (+18%)
protocol_circuit_proving_time_in_ms (public-kernel-teardown): 45,600 (+17%)
protocol_circuit_proving_time_in_ms (public-kernel-tail): 187,804 (+22%)
protocol_circuit_proving_time_in_ms (root-rollup): 23,554 (+21%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,737
1,550
711
761 (-2%)
774 (-1%)

proof_construction_time_sha256_30_ms
11,463 (-4%)
3,064 (-3%)
1,374 (-3%)
1,405 (-3%)
1,448 (-1%)

proof_construction_time_sha256_100_ms
43,833 (-2%)
11,757
5,444
5,418
5,388

proof_construction_time_poseidon_hash_ms
78.0
34.0
34.0
57.0 (-2%)
86.0 (-2%)

proof_construction_time_poseidon_hash_30_ms
1,521
420
204
227 (-3%)
265 (-1%)

proof_construction_time_poseidon_hash_100_ms
5,754
1,563 (-1%)
724
777 (-1%)
788 (-1%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs

l1_rollup_calldata_size_in_bytes
1,412
1,412

l1_rollup_calldata_gas
9,476
9,454

l1_rollup_execution_gas
608,012
607,990

l2_block_processing_time_in_ms
690 (-1%)
1,290 (+1%)

l2_block_building_time_in_ms
22,198 (-1%)
45,734

l2_block_rollup_simulation_time_in_ms
22,079 (-1%)
45,386

l2_block_public_tx_process_time_in_ms
18,949 (-1%)
41,992

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
5,932 (+1%)
8,507 (+1%)

node_database_size_in_bytes
9,531,472
12,759,120

pxe_database_size_in_bytes
9,242
15,127

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Circuit
simulation_time_in_ms
witness_generation_time_in_ms
proving_time_in_ms
input_size_in_bytes
output_size_in_bytes
proof_size_in_bytes
num_public_inputs
size_in_gates

private-kernel-init
136 (+1%)
:warning: 415 (-16%)
12,390 (+2%)
20,634
64,614
89,536
2,731
524,288

private-kernel-inner
404
875 (-15%)
49,517 (+8%)
92,326
64,614
89,536
2,731
2,097,152

private-kernel-tail
576 (-1%)
2,596 (-9%)
49,973 (+3%)
96,545
68,261
11,648
297
2,097,152

base-parity
6.46 (-1%)
1,640 (-8%)
2,721 (-3%)
128
64.0
2,208
2.00
131,072

root-parity
48.8 (-2%)
60.1 (+24%)
:warning: 40,198 (+18%)
27,100
64.0
2,720
18.0
2,097,152

base-rollup
5,973 (-1%)
2,346 (-1%)
:warning: 77,230 (+18%)
119,738
756
3,648
47.0
4,194,304

root-rollup
108 (-4%)
76.2 (+23%)
:warning: 23,554 (+21%)
25,309
620
3,456
41.0
1,048,576

public-kernel-app-logic
567
3,533 (+2%)
:warning: 45,267 (+18%)
108,073
86,550
116,768
3,582
2,097,152

public-kernel-tail
1,130 (-1%)
22,311 (-6%)
:warning: 187,804 (+22%)
403,238
7,646
11,648
297
8,388,608

private-kernel-reset-small
585
1,889 (-13%)
45,894 (+8%)
120,737
64,614
89,536
2,731
2,097,152

public-kernel-setup
654 (-2%)
2,639 (-2%)
43,128 (+14%)
108,073
86,550
116,768
3,582
2,097,152

public-kernel-teardown
560 (-1%)
3,441 (-4%)
:warning: 45,600 (+17%)
108,073
86,550
116,768
3,582
2,097,152

merge-rollup
30.1
N/A
N/A
16,542
756
N/A
N/A
N/A

private-kernel-tail-to-public
N/A
9,229 (+6%)
97,990 (+8%)
N/A
N/A
116,768
3,582
4,194,304

Stats on running time collected for app circuits

Function
input_size_in_bytes
output_size_in_bytes
witness_generation_time_in_ms
proof_size_in_bytes
proving_time_in_ms
size_in_gates
num_public_inputs

ContractClassRegisterer:register
1,344
9,944
460 (-2%)
N/A
N/A
N/A
N/A

ContractInstanceDeployer:deploy
1,408
9,944
40.8 (-4%)
N/A
N/A
N/A
N/A

MultiCallEntrypoint:entrypoint
1,920
9,944
1,746 (-3%)
N/A
N/A
N/A
N/A

SchnorrAccount:constructor
1,312
9,944
1,415 (-3%)
N/A
N/A
N/A
N/A

SchnorrAccount:entrypoint
2,304
9,944
2,796 (-1%)
16,768
53,324 (+5%)
2,097,152
457

Token:privately_mint_private_note
1,280
9,944
1,562 (-6%)
N/A
N/A
N/A
N/A

FPC:fee_entrypoint_public
1,344
9,944
1,018 (-10%)
16,768
10,736 (+4%)
524,288
457

Token:transfer
1,376
9,944
5,274 (-4%)
16,768
52,550 (+8%)
2,097,152
457

Benchmarking:create_note
1,344
9,944
1,385
N/A
N/A
N/A
N/A

SchnorrAccount:spend_private_authwit
1,280
9,944
76.7 (-2%)
N/A
N/A
N/A
N/A

Token:unshield
1,376
9,944
3,883 (-2%)
N/A
N/A
N/A
N/A

FPC:fee_entrypoint_private
1,376
9,944
4,758 (-1%)
N/A
N/A
N/A
N/A

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.4 (-1%)
16.8 (-2%)
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.7
31.7
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.601 (-1%)
0.515 (-2%)
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.3 (-1%)
75.9 (-1%)
132 (-1%)
247
472
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
288
543
1,055
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.494 (-1%)
0.468 (-1%)
0.454
0.448
0.441
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
58.1 (-1%)
113
183 (-1%)
353 (+1%)
625
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
107
208
355
686
1,263
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.501 (-1%)
0.505
0.486
0.482 (+1%)
0.468
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
58.6 (-1%)

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
101

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.548 (-1%)

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
79,470
665,267

Transaction size based on fee payment method
| Metric |  |
| - |  |


SignalR Scale-out Doc

We need a doc that describes why Scale-Out providers are needed in SignalR, the two main options (Redis and Azure SignalR Service), and how to configure them.

See:

https://github.com/aspnet/SignalR/issues/2671 (questions on Redis config)
https://github.com/aspnet/Docs/issues/7204
https://github.com/aspnet/Docs/issues/7450

@anurse  can you draft the doc?

@Rick-Anderson someday, sure :)

As part of this, we'll want to show how to hook the disconnect event in case a user wants to add custom behavior when the connection disconnects:
services.AddSignalR()
        .AddMessagePackProtocol()
        .AddRedis(o =>
        {
            o.ConnectionFactory = async writer =>
            {
                var config = new ConfigurationOptions
                {
                    AbortOnConnectFail = false
                };
                config.EndPoints.Add(IPAddress.Loopback, 0);
                config.SetDefaultPorts();
                var connection = await ConnectionMultiplexer.ConnectAsync(config, writer);
                connection.ConnectionFailed += (_, e) =>
                {
                    Console.WriteLine("Connection Redis failed.");
                };

                if (!connection.IsConnected)
                {
                    Console.WriteLine("Connection did not connect.");
                }

                return connection;
            };
        });

(source https://github.com/aspnet/SignalR/issues/2468#issuecomment-414431147)

@anurse Scale-out with SQL Server won't be supported in ASP.NET Core. Since this was supported in ASP.NET 4.x, should we add a "Scale-out differences" section to the Version differences doc?

Sure, that sounds good

@anurse we should add a pointer to this doc from here https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/web-farm?view=aspnetcore-2.1

Some technical notes and a couple images stolen from a PowerPoint I dug up to help illustrate.

SignalR applications scale differently from traditional web apps
Each SignalR connection takes up resources on the system even when idle

Memory required to track the connection
TCP connections that live for the entire duration of the connection (unlike in HTTP where connections can be reused for multiple requests)
A large number of idle persistent connections could block out other HTTP traffic

However, SignalR applications usually have fairly moderate traffic (depending on the app) since often they are just pushing small notifications to clients.
For high-traffic applications, we recommend running SignalR apps separate from traditional web apps (i.e. put your real-time SignalR code on a separate set of servers)

This prevents SignalR traffic from "starving" other HTTP traffic of connection resources

The Azure SignalR Service makes this easy by off-loading the persistent connections to the managed service while still having your app handle the individual messages

You can scale your app based on the actual throughput rather than the number of concurrnt connections

If you choose to scale your app manually you need a backplane:

SignalR Connections are sticky to a single server. If you have multiple servers, a server can only send messages to it's own clients:

When you have multiple servers, you need a "backplane" to ensure that when one server wants to send a message to all clients, all the other servers get the message so they can forward it to their clients:

SignalR provides one backplane implementation based on Redis
To use it, add NuGet reference to Microsoft.AspNetCore.SignalR.StackExchangeRedis (new in 2.2; we have a different package for 2.1 but we want to guide users to the new one) on the server
Deploy a Redis server (or use Azure Redis Cache)
Call .AddRedis() after .AddSignalR() in ConfigureServices:

public void ConfigureServices(IServiceCollection services)
{
	// ... other services ...
	services.AddSignalR().AddStackExchangeRedis(redisConnectionString);
	// ... other services ...
}

Configure Redis options by passing a second argument (a delegate that can modify the RedisOptions):
public void ConfigureServices(IServiceCollection services)
{
	// ... other services ...
	services.AddSignalR().AddStackExchangeRedis(redisConnectionString, options =>
	{
		// change Redis options here
	});
	// ... other services ...
}

Redis Options:

Configuration - Provides access to StackExchange.Redis's ConfigurationOptions object. Most of these options can also be provided in the connection string. Options configured here override the ones set in the connection string.
ConnectionFactory - Allows you to provide you own custom logic to create a ConnectionMultiplexer to use as the connection information. Receives a TextWriter which can be passed in to the ConnectionMultiplexer so that log messages will be forwarded.

Common Redis configuration scenarios:

Change the ChannelPrefix so that multiple applications can share one Redis server.
Provide the password separate from the connection string

In https://github.com/aspnet/SignalR/issues/3193 @anurse said this:

We don't have SignalR-specific guidance around Redis high-availability. I'd suggest looking at some Redis-specific guidance here. SignalR only uses pub/sub so you don't really need any 'durability' guarantees around your data, you just need to make sure all the servers get all the messages.

We don't officially support clustering (as you noted, there is very limited documentation on Redis right now, this is being worked on in aspnet/Docs#7814). I don't know for sure that it doesn't work, but we don't generally test in that scenario.

So ... Redis clustering is not officially supported. All existing Core SignalR documentation seems to only reference a single Redis server on the backplane.
I understand that only Redis pub/sub functionality is being used so what happens when that Redis server needs to be maintained, patched, restarted? Are SignalR messages only going to be sent to clients attached to the server node that sent the message? (instead of all server nodes). Will SignalR properly reconnect to the Redis server when it comes back after the restart?
If high-availability for Redis is not something that's officially supported or tested I'm trying to determine the implications of having that Redis server as a single-point-of-failure resource. This is something that should be documented & explained since I see many others are trying to find the answer to this exact question.

I've been wondering about the same things that @csatnic-av asks in his comment above - how are we meant to deploy Redis in a way that it can be used as a backplane and also ensure high availability?

So ... Redis clustering is not officially supported. All existing Core SignalR documentation seems to only reference a single Redis server on the backplane.
I understand that only Redis pub/sub functionality is being used so what happens when that Redis server needs to be maintained, patched, restarted? Are SignalR messages only going to be sent to clients attached to the server node that sent the message? (instead of all server nodes). Will SignalR properly reconnect to the Redis server when it comes back after the restart?
If high-availability for Redis is not something that's officially supported or tested I'm trying to determine the implications of having that Redis server as a single-point-of-failure resource. This is something that should be documented & explained since I see many others are trying to find the answer to this exact question.

I've read the new documentation here and here but it doesn't seem to address this question, even though it was written in response to this issue.
Since I'm working in Kubernetes I've also tried the Sentinel master-slave topology by using the Binnami Redis Helm Chart, but this does not seem usable as it deploys separate Kubernetes services for master (writing) and slave (reading), whereas the C# extension method AddStackExchangeRedis(), which sets up the backplane, only allows a single Redis connection string for both reading and writing. So it does not seem possible to use this topology either.

Stackexchange.redis started working on adding ssubscribe, spublish, ... New in redis 7
This could allow redis SignalR scale out support
https://github.com/StackExchange/StackExchange.Redis/issues/2055
I know this is a closed doc issue, but if someone could point me to where to create a new issue to follow this work on the redis client side & and pickup from there on SignalR side, that would be awesome?

@tomap  at the bottom of this page


FetchOHLCVs errors since update

Not sure if this is the appropriate place to post, or if it should be in CCXT, or the Odinsoft library.
I've had CCXT.Net working perfectly in c# until I mistakenly hit "Update all Nuget packages" yesterday. Things seem to have gone a little awry. "FetchOHLCVs" on the public api for example appears to have now completely disappeared to be replaced with "FetchOHLCVsAsync" as the only option which in return gives me a  "Not Supported" error. I've switched packages back and forward in version (OdinSoft and CCXT.Net) to try and get things working as they were, but cannot get a version of Fetching OHLCVs to work again (I've had the old one working for 4 months without issue). I've broken it down to a simple 2 lines now for testing purposes (I had it doing reflection to create objects from config files previously). Basically, I want to call for OHLCVs on the Kraken exchange. Any thoughts on why it's not working any more and what my approach should be...
var kPublic = new CCXT.NET.Kraken.Public.PublicApi();
var OHLCVs = await kPublic.FetchOHLCVs(BaseAsset, QuoteAsset, timeframe, Since, MaxCount);

gives me a "Method not found" at runtime (but not at design time)
var kPublic = new CCXT.NET.Kraken.Public.PublicApi();
var OHLCVs = await kPublic.FetchOHLCVsAsync(BaseAsset, QuoteAsset, timeframe, Since, MaxCount);

gives me a "Not supported" error code.
What has changed to make this suddenly appear incompatible? I have the following versions:
CCXT.Net: 1.3.6
OdinSdk.BaseLib: 2.2.8 (I noticed that this seems to have been changed more recently)

The error has been fixed. You can check it out here: https://github.com/lisa3907/ccxt.net/tree/master/sample/kraken.

The error has been fixed. You can check it out here: https://github.com/lisa3907/ccxt.net/tree/master/sample/kraken.
CCXT.NET: v1.3.7
OdinSdk.BaseLib: Not used
Please refer to https://github.com/lisa3907/ccxt.net/releases/tag/v1.3.7


Make destructured arrays ignorable by eslint.

This allows the following:
// we know array is 3 elements in a test and only want the 2nd item
const [_, something, _] = someArray;
expect(something).toBe('expected value');

// we want to document the unused args but still discard them
const [_first, _second, third] = someArray;
expect(third).toBe('expected value');

This is in support of AJ-1275 which has some test cases that benefit from this change.
Testing strategy
No behavior change here, just changing the linter.  Existing tests should ensure no surprise changes.

Is there a Jira ticket for this work?

It's only changing configuration for a development tool, not any code that runs in production.


[8.2.x][ES2015][prod] custom decorators on inputs are ignored when used inside lib

🐞 bug report
Affected Package
I'd assume<EMAIL_ADDRESS>Is this a regression?
Yes, the issue was not present in Angular 8.1.x or 8.0.x, or even previous majors.
Description
When running in prod mode, with a ES2015 target, any custom decorator that is used in a library used by the app will simply be ignored.
🔬 Minimal Reproduction
I made a small repository that reproduces the issue. You can follow the README.
Basically, what it does is:

build a library that uses a custom decorator on a component's input
use the component from that built library in an app, in prod mode, with a ES2015 target

=> the decorator is ignored
🌍  Your Environment
Angular Version:

Angular CLI: 8.2.1
Node: 10.15.3
OS: win32 x64
Angular: 8.2.1
... cli, common, compiler, compiler-cli, core, platform-browser
... platform-browser-dynamic

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.802.1
@angular-devkit/build-angular      0.802.1
@angular-devkit/build-ng-packagr   0.802.1
@angular-devkit/build-optimizer    0.802.1
@angular-devkit/build-webpack      0.802.1
@angular-devkit/core               8.2.1
@angular-devkit/schematics         8.2.1
@ngtools/webpack                   8.2.1
@schematics/angular                8.2.1
@schematics/update                 0.802.1
ng-packagr                         5.4.3
rxjs                               6.5.2
typescript                         3.5.3
webpack                            4.38.0

Anything else relevant?
The issue is only present when targetting ES2015 and in prod mode.

Duplicate of #15301