Installing WSL2 following the Microsoft official instructions breaks az cli: curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az login
Errors:
The command failed with an unexpected error. Here is the traceback:
__init__() got an unexpected keyword argument 'http_cache'
Traceback (most recent call last):
  File "/home/agriggs/.local/lib/python3.8/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/home/agriggs/.local/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 658, in execute
    raise ex
  File "/home/agriggs/.local/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/home/agriggs/.local/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 692, in _run_job
    result = cmd_copy(params)
  File "/home/agriggs/.local/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/home/agriggs/.local/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/home/agriggs/.local/lib/python3.8/site-packages/azure/cli/command_modules/profile/custom.py", line 149, in login
    subscriptions = profile.login(
  File "/home/agriggs/.local/lib/python3.8/site-packages/azure/cli/core/_profile.py", line 153, in login
    user_identity = identity.login_with_device_code(scopes=scopes, **kwargs)
  File "/home/agriggs/.local/lib/python3.8/site-packages/azure/cli/core/auth/identity.py", line 177, in login_with_device_code
    flow = self._msal_app.initiate_device_flow(scopes, **kwargs)
  File "/home/agriggs/.local/lib/python3.8/site-packages/azure/cli/core/auth/identity.py", line 101, in _msal_app
    self._msal_app_instance = PublicClientApplication(self.client_id, **self._msal_app_kwargs)
  File "/home/agriggs/.local/lib/python3.8/site-packages/msal/application.py", line 1023, in __init__
    super(PublicClientApplication, self).__init__(
TypeError: __init__() got an unexpected keyword argument 'http_cache'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az login --use-device-code

Expected Behavior
Environment Summary
Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.29, Ubuntu 20.04.3 LTS
Python 3.8.10
Installer: PIP

azure-cli 2.32.0

Additional Context

az cli works if installing the outdated version. Ubuntu 20.04 (Focal Fossa) and 20.10 (Groovy Gorilla) include an azure-cli package with version 2.0.81 provided by the universe repository

Only one machine if affected. Others work so closing.


feat(text-to-image): integrate NSFW safety checker

This pull request integrates the CompVis/stable-diffusion-safety-checker into the text-to-image pipeline. It enables users to activate the safety_check input variable, which prevents the generation of NSFW images.

[!Warning]
DO note merge before this upstream pull requests is merged.

Followed up by https://github.com/livepeer/ai-worker/pull/76.


Uc01 manter ipa

Coverage decreased (-6.07%) to 12.676% when pulling 420ccd5beaae6398a64c78636cd29646977171f4 on uc01-Manter_IPA into fd5d56caa0d86318751ef4c19b5cae642326f988 on master.

Coverage decreased (-4.7%) to 14.085% when pulling f969e50f0ee321533522ab4b18717c67ab4385cc on uc01-Manter_IPA into fd5d56caa0d86318751ef4c19b5cae642326f988 on master.

Coverage decreased (-5.5%) to 13.483% when pulling 801774dd58bd8dc08b2e5fd5a56b6dcba5b62975 on uc01-Manter_IPA into 2c613c1d39b7b70129f3906c3a2c14e5b15c4529 on master.


Parent required updates

instead of https://github.com/aerogear/aerogear-unifiedpush-server/pull/639

@kpiwko and @vibe13 please review/merge

@matzew perfect thanks!

@matzew merging


React to new AlterDatabase and AlterTable migrations

https://github.com/aspnet/EntityFramework/issues/3122#issuecomment-140151839

There's nothing in particular to do here. Support for PostgreSQL-specific features such as tablespaces can be added according to demand etc.


add onEntry callback for progress notification

This is a simple solution for #8

cool, nice and simple


added minelabs.org

Closing this due to 20+ days of inactivity.
You may create a new pull request if you want to add your server to the list.


raft library should be its own repo

If the raft/ directory is intended to be a stand-alone library used by other projects than etcd, I think it should live in a separate repository. This would help push it towards being usable without understanding pieces of etcd. For example, #5063, that there is no README, would be an obvious problem with a standalone repo. Any requirements to depend on other things in the etcd repo would also be out in the open, like the stuff that contrib/raftexample uses.

and separate issue tracker, making it easier for others to find existing issues before filing duplicates :)

@ongardie The readme of raft is here: https://godoc.org/github.com/coreos/etcd/raft. But yea, I agree it is hard to find.

@xiang90 I didn't know of that. I personally prefer to have high-level concepts in a README file, then low-level details like function arguments in inline code docs.
Some high-level stuff you may want to include (this should maybe go into #5063 instead):

What does this library do you for you? What does it not do for you? For example, who is responsible for storage? For networking? For log compaction?
When is this library suitable vs unsuitable? For example, would it be suitable for replicating TBs of data stored on disk?
Who are the major users of the library? (#5063)
How does the library do versioning and releases? What are the compatibility guarantees? What versions of Go are supported?
Without getting into the details of Raft, what optional features does the library implement and which does it leave out? For example, are no-ops implemented? Log compaction approach? Pre-vote? Leadership transfer?
Given that your membership change algorithm is not described in the Raft paper or my PhD thesis, how does it work?

You probably have written some words about some of this stuff in some places, but I'm not interested in pointers to those at this time. I opened this issue to try to help you make this project look more like a library that others should use.

This would make the raft library much more accessible.


Merging restic-server

This PR aims to merge bchapuis/restic-server as a subtree (src/restic/cmd/restic-server). I also took the liberty of gb vendoring all requirements for the tests.
Changes beside the merge are:

Added comments for exported fields and methods
Build constraints for preventing builds on 1.3
Removed external dependencies for the test

Why merge it? IMO it's better kept as a separate project to keep restic's code base leaner. Especially since it can be run fully free of dependencies against restic.


Update ClientId settings

Here is what I have found. Scenario: SPA using JWT token to authenticate an API. The spa gets the token successfully, inside we have all information required, the audience (aud) is: "api://clientid-guid". But then with the basic configuration, JWT validations fails and the error said "audience incorrect 'api://clientid-guid' ". Adding Audience parameter to appsettings.json did not help. The only thing that worked for me was to change in appsettings.json ClientId to: "api://clientid-guid". For me, it looks like it took ClientId as valid Audience. I'm not sure this behavior is expected or not. Cheers.

@ramiglez30 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ramiglez30: no the client ID should remain a GUID
you might want to add the audience
"Audience" : "api://[Client_id-of-web-api-eg-2ec40e65-ba09-4853-bcde-bcb60029e596]"

@ramiglez30: no the client ID should remain a GUID
you might want to add the audience
"Audience" : "api://[Client_id-of-web-api-eg-2ec40e65-ba09-4853-bcde-bcb60029e596]"

Like I said, that did not worked.

@ramiglez30 : do you have a repro solution to share? do you want to raise a GitHub issue on the Microsoft.Identity.Web repo? https://github.com/AzureAD/microsoft-identity-web

@ramiglez30 : do you have a repro solution to share? do you want to raise a GitHub issue on the Microsoft.Identity.Web repo? https://github.com/AzureAD/microsoft-identity-web

Yes, it looks to me this may be the wrong behavior. I'll create the issue. Thanks. Anyhow, the documentation was not clear to me as to when to add the Audience settings or not. It says "If you've accepted the App ID URI proposed by the app registration portal"... - accepted where and when? The App ID URI is created automatically as far as know. Thanks!!

I have created this issue: https://github.com/AzureAD/microsoft-identity-web/issues/446

#please-close


Changing Directories is Broken

Can’t change directories in PowerShell 7, see:

Problem:
$workingDirectory = Join-Path $workingDirectory $selectedDir
Fixed:
$workingDirectory = Join-Path $workingDirectory $selectedDir.BaseName
PowerShell 7 appears to have altered the default behavior of Get-ChildItem, this was worked around by explicitly calling the parameter needed to successfully build a path. This was tested on PowerShell v5 and v7 with no further issues.

Will be pushed immediately to the dev branch and will show up in the next commit to the main branch.


Delete existing access keys before creating new one

https://issues.redhat.com/browse/OSD-7698

/lgtm
/approve


Request path documentation says leading slashes are ignored, but are not always

The documentation states:

Value: One or more string or integer values representing the value of the request path to match. If you specify a leading slash, it's ignored. If multiple values are specified, they're evaluated using OR logic.

I've created a condition on the request path to equal / and it stored the slash. This is my output of  az afd rule list -g XXX --profile-name frontdoor --rule-set-name index:
...
    "actions": [
      {
        "name": "UrlRewrite",
        "parameters": {
          "destination": "/index.html",
          "preserveUnmatchedPath": false,
          "sourcePattern": "/"
        }
      }
    ],
    "conditions": [
      {
        "name": "UrlPath",
        "parameters": {
          "matchValues": [
            "/"
          ],
          "negateCondition": false,
          "operator": "Equal",
          "transforms": []
        }
      }
    ],
...

And it also works as expected, it redirects https://frontend-xyz.azurefd.net/ to https://frontend-xyz.azurefd.net/index.html
So the documentation is not accurate.

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

ID: 2facf12e-6b67-28b6-3504-08ae493f6e39
Version Independent ID: bf977608-7c02-674d-6421-649b2d09bc19
Content: Configure Azure Front Door rules match conditions
Content Source: articles/frontdoor/rules-match-conditions.md
Service: frontdoor
GitHub Login: @duongau
Microsoft Alias: duau

@dhilgarth , thank you for the feedback. We have assigned this to the content owner/author for review.
@duongau , for your review.

Hello @dhilgarth, the statement is about how Front Door rule set will ignore the initial "/" in the request value field. It doesn't mean you can't specify it. If you specify it in the portal, the "/" will save but don't be looked at as part of the value.


No argument --package

This argument does not exist anymore.
php artisan migrate --package=pragmarx/ci

Also looks like the migrations aren't registered in the package, so laravel can't migrate them.
The service provider needs this:
 $this->loadMigrationsFrom(__DIR__ . '/../../migrations');

And then we can migrate with php artisan migrate

Version 0.9.0 was tagged, please try it.


Cleanup generics and remove other warnings

My only concern here is that this will diverge us a bit more from easily cherry-picking into 0.8 branch. We may be too far along already though.

+1 for generics cleanup. Please pull this in.


add Changes.md, .gitignore, and .travis.yml

Updates:

libxmljs build dep from 0.8 to 0.18. The latter will actually install on macOS Sierra.

Adds:

Changes.md
generic .gitignore file (like GitHub now offers when you create a new repo)
.travis.yml  If you configure Travis-CI for your repo, your test suite will run automatically when PRs are created. It's very handy.

@msimerson Thanks! Really appreciate the Changes.md. I went ahead and enabled Travis-CI and added some options to get that building.


Add max to BatchedArray

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

Project coverage is 100.00%. Comparing base (f6bbe4f) to head (549e25e).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #636   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           31        31
  Lines         2653      2664   +11
  Branches       341       342    +1
=========================================
+ Hits          2653      2664   +11

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Can't run webapi app in using 3.1! No idea what's going on....

So I've just installed dotnetcore 3.1 on my web server.
Running dotnet --info produces the following:
.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

The web api kept retuning a 404 so I decided to run the application in the console.
I saw this error:
.\NewsApi.exe
It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '3.1.0' was not found.
  - The following frameworks were found:
      2.1.2 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
      2.1.3 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
      2.2.2 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]

What's going on? One minute I'm being told 3.1.0 is installed the next minute it isn't.
I've got a tight client deadline on and  I can't deploy my app. Please help.

Sorry looks like I duplicated this issue.


Crons Disabled for findblock, blockupdate, and payouts

I know that cron is running all of the files because the end time keeps updating. I have NO IDEA what is going wrong. I have dogecoind set up and working, it is able to  "poke" the stratum server fine. I checked the apache logs, nothing seems wrong. I can not figure out what is going wrong.

Even if the end time updates, they aren't running and most likely marked as Disabled in the list. Check your cron error logs. It's most likely that the wallet couldn't be reached and crons stopped, either due to a reboot of the server or restarted the coin service.
So before opening issues, check log files. They usually tell you what went wrong and when. If you can relate the time of the issue with something happening during that time, often it's enough to force a cron run.

I used cron -f to force the running of the crons (multiple times) this is what all of the logs for those crons in the /var/mpos/logs/ folder
2015-02-07 17:56:03 - CRIT --> Cronjob is currently disabled due to errors, use -f option to force running cron.
2015-02-07 17:57:04 - CRIT --> Cronjob is currently disabled due to errors, use -f option to force running cron.
2015-02-07 17:58:03 - CRIT --> Cronjob is currently disabled due to errors, use -f option to force running cron.
2015-02-07 17:59:03 - CRIT --> Cronjob is currently disabled due to errors, use -f option to force running cron.
2015-02-07 18:00:03 - CRIT --> Cronjob is currently disabled due to errors, use -f option to force running cron.
2015-02-07 18:01:03 - CRIT --> Cronjob is currently disabled due to errors, use -f option to force running cron.
2015-02-07 18:02:03 - CRIT --> Cronjob is currently disabled due to errors, use -f option to force running cron.

You have to force run the cron that is throwing these errors. If it tells you it's disabled then it wasn't forced properly.
Run each script ending with .sh with the -f option.

To be more specific, in your case it seems that this cron isn't working: https://github.com/MPOS/php-mpos/blob/development/cronjobs/run-payout.sh
Scrol the log files up and find why it failed.

I am sorry, I didnt know I had to force the run-crons.sh file to run. I was just running cron -f

Okay. You should have noticed that's not the way to do it ;-) Anyway, should recover. If not, you will have to debug it yourself since this is not an MPOS issues but something that happened during cron runs. This is very system specific and has to be fixed on the machine by a pool admin.


ログ出力対応

Codecov Report

Merging #35 (20dfafc) into master (25a1024) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #35   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           12        13    +1
  Lines          318       338   +20
  Branches        15        16    +1
=========================================
+ Hits           318       338   +20

Impacted Files
Coverage Δ

src/log.ts
100.00% <100.00%> (ø)

src/storage.ts
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


MPEG 1/2 support

I just tried to add support for MPEG2 and seems like there are a couple issues.

The encoder handles time_base differently from modern encoders
There is something wrong with the output stream configuration, but I can't figure out what. The resulting stream is not recognized as mpeg2 stream by media players

I made a new branch mpeg2 https://github.com/skeskinen/smartcut/tree/mpeg2
I think I fixed issue 1 for the most part but issue 2 is confusing. I think it might be a bug in PyAV or something.
Next step would be to make a minimal example of remuxing mpeg2 stream with PyAV and see if it works. Will the output stream settings be set correctly in a minimal example?

So I did the minimal muxing example with PyAV + mpg/MPEG-2 and it works.
And I figured that the reason for why the resulting stream wasn't recognized as a video stream was that seeking works differently in mpg and stuff in the beginning was skipped. Also the timestamp calculations are still wrong, but I don't yet understand why.

I did some more testing and it seems that seeking in .mpg is pretty broken. The first packets/frames you get after seeking are not what you'd expect.
I wanted to get rid of seeking during video cutting anyway, so this is a good time to implement that. Seeking can be finicky in other formats as well, so this change should ultimately improve reliability.

I completed the changes for cutting without seeking and MPEG-2 seems to work ok now.
There was also bunch of other changes related to how timestamps are handled. Notably, .m2ts, .ts, etc. transport files seem to often have starting point >0 so I added support for that as well.
https://github.com/skeskinen/smartcut/commit/751cbcdf9374d694d9e60d636b4d4ef474b422c9


Upload file

Hello,
I want to use this framework for my project. Can I use multer to upload file in this framework ?
Do you have any idea about upload file in aqua?
Many thanks
Ken

If I'm remembering correctly this should be builtin to hapi. Checkout the route config section of the API docs here: https://hapijs.com/api#route-configuration Searching that page for the word "upload" landed me in the right section.
This Stack Overflow answer may help too: https://stackoverflow.com/a/24521136

@taisaotaokhoc Did you come up with a solution?


Add mean_along_batch/seq for nested data

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

Comparison is base (06726a1) 100.00% compared to head (d05883c) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #50   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           24        24
  Lines          358       366    +8
  Branches        21        21
=========================================
+ Hits           358       366    +8

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


feat: added new cc transaction.submit metric

Overview

Adds new transaction.submit metric into the childchain app. The metric t is tagged with either transaction.submit:success or transaction.submit:failure giving it 3 dimensions.

total transaction submissions
total transaction submission successes
total transaction submission failures

~Use the metrics above to demonstrate metrics above to demonstrate usage of the Metric Naming and Tagging conventions in https://github.com/omisego/elixir-omg/issues/1375~
About #2, but maybe we can just close it. The only suggestion I have is we prefix all business-like metrics with omg., so this metric would become omg.transaction.submit.  To distinguish between a transaction submission on watcher vs childchain, one can filter via the tags application:watcher,  application:childchain. Thoughts?

Changes

New Transaction.Metrics module which encapsulates telemetry event handling to DD metric publishing. Outside code doesn't need to know anything. (Application still attaches the telemetry handler, but even that can be moved into the Metrics module.)
New Transaction.Metric.Submit module which encapsulates the creation of the transaction.submit metric. Naming, measuring and tagging.
To make things more testable, transaction validation and submission code was extracted out of the ChildChain module into a new module, Submitter, which defines and implements default behavior. Tests can override the behavior via dependency injection for easier testing. DI via passing the dependencies in via function parameters was used (provides the most flexibility). This can be discussed as there are other ways.

Testing

Manually run tests that make requests to the OMG.ChildChainRPC api endpoint /transaction.submit. Analyze the metrics, checking the have the correct values, correct names and the correct tags.
WIP: automated tests, and more to come...

Coverage remained the same at 68.985% when pulling 4e66af528f40b244884cb6b69a260e20f10a8b55 on jacob/1-cc-metrics into 4cc1445ed12b1ea6732b3e5360df14d91e895bdb on master.

Anything blocking this PR?

Hi @unnawut,
No blockers. I'm almost finished with a draft doc that I have been working on. When we agree on the metric naming and tagging conventions, then this PR will be an example of those conventions.
Automated tests also need to be written, but that will happen quickly now.
This PR is not the complete endpoint I want the code to be at. Eg: there is no code support or enforcement of the conventions, so it's up to the author of the new metrics to do so.
The end goal would be to create a module defining the public contract and providing supporting functions to facilitate with conventions. New metric modules could be written as we expand them, implementing 2 callbacks.
I'd also like to clean up the naming a bit in https://github.com/omisego/elixir-omg/tree/master/apps/omg_status/lib/omg_status/metric
Metrics, Events, Telemetry Events, they start blending together a bit...I'd like to massage the naming a bit to make things clearer.
Public contract would be something like:
@callback measure()
@callback measurement(measurements)

This part is technically out-of-scope for this PR, and thus a bit hand-wavy at the moment.
This PR is scoped to demonstrate the wiring up to DataDog and naming conventions only.

I'd like to suggest focusing on completing the feature in this PR before exploring the naming standards if possible. IMO, having a working metrics first will help us immensely compared to having a standard first and working metrics delayed.

Agreed with that. This PR will have tests and be out of Draft before the day is done and ready for review. The conventions doc does not need to be complete or agreed upon for this PR to merge.
But this PR is a an example of recommended conventions (I didn't invent them). I felt the need for a separate issue for the doc because making sense of the metrics that we already wasn't clear -- by clear I mean the meaning of the metrics (what they were actually measuring) and their scope.

I'll have a look at this PR first thing tomorrow morning. 🙇 At the same time, could you check/fix the build status?

Checking in to say that I'm currently still on this review

Checking in to say that I'm currently still on this review

Thanks @unnawut.
Update from my end is the PR is pretty much ready to go. I need to clean up a couple of TODO comments and write a some tests -- a minor refactoring of ChildChain.submit/3 was done to make testing granular and easy. If design conventions are not desired, then no sense to continue on testing work.
Other thing is metric naming and tagging. My recommendation can be summarized pretty easily:

Add an omg prefix to all business-related metrics. This follows other integrations like vmstats, tracer, etc... It also helps to avoid metric naming conflicts with other code or integrations that might have non-prefixed metrics for whatever reason.
Metric name is case specific, but generally the pattern is business entity (a noun).verb, where verb is what was done with noun. Eg: transaction.submit.
Tagging would simply be: metric_name:state_or_result. Eg: transaction.submit:success, transaction.submit:failure. (tag keys = metric names, tag values = specific to the metric)

Drifted too far from master. Will resubmit as new PR.


[Feature request] save the date

Sometimes coming up with ideas for valentines day is tedious, (don't quote me on that), so to solve this problem we are going to create a bot that gives a random date idea.
Implementation details

[ ] Write the bot command !savethedate (open to other command names)
[ ] Add the command to our README.md
[ ] Provide a random suggestion, for a valentines date (let your mind work).

!savetheDate

Prepare a lovely picnic for two

I will do this !


Added more info about EWC

I added the discussed information about the EWC.
As I have no experience with the used doc generator tool and I don't have any local Docker installation to use I will try to compile the docs locally with asiidoctor-pdf.
Or is this part already automated via a action in github?

From my side it is ready, just the generated content is missing. I marked it therefore as draft. I need a bit more time to look into it, as I can't find any package in the repository of my OS for asciidoctor(-pdf). If somebody can generate this quickier it's fine for me else I will try it again this afternoon.

@skremdwd - you can use vagrant or the compile-docs.sh script. With vagrant, just install vagrant and virtualbox, then run vagrant up.

I just generated the docs, I installed Ruby and used the gem installer, this was a bit easier.
Maybe squash this commit is the best merge option to not pollute the commit history.


Getter- and Setter- Function Mapping when using "Value#as"

I'm currently exploring the functionality of "casting" JavaScript objects to Java interfaces using Value#as. In general I'm quite successful, but I've discovered some limitations about which I'm not sure whether they are intentional or not.
More specifically I'm currently trying to cast JavaScript object with setter and getter methods into Java interfaces.
Let's assume I have the following Java interface:
public interface A {
   String getX();

   void setX(String x);
}

Then I can successfully cast a JS object of the following "type" to the previous Java interface:
class AImpl1 {
   constructor() {
      // do nothing
   }

   getX() {
      return "test";
   }

   setX(x) {
      // do nothing
   }
}

What doesn't seem to work is casting a JS object with a JS getter method to the previous Java interface:
class AImpl2 {
   constructor() {
      // do nothing
   }

   get x() {
      return "test";
   }

   setX(x) {
      // do nothing
   }
}

The issue seems to be that get x() is not assumed to be the same as getX in Java.
I also expect that a JS object with a JS setter method can't be converted to a Java interface for the same reason, but I haven't tested it.
Is this behavior of Value#as intentional or is it a bug?

Is this behavior of Value#as intentional or is it a bug?

Yes, the current behavior is intentional. getX() and get x() are two different things in JavaScript. The current "casting" works with the former but not with the latter. The "casting" works with executable members. get x() is not an executable member (from our polyglot point of view). It is an implementation detail of member x. Namely, it is the side-effect that is triggered when member x is read.
Hence, I don't expect us to support the get x() use-case as it does not fit well into the bigger picture of our polyglot support of "casting". Moreover, such support would be ambiguous in the unlikely (but possible) case when both get x()/set x() and getX()/setX() exist on the same object.

The "casting" works with executable members. get x() is not an executable member (from our polyglot point of view). It is an implementation detail of member x. Namely, it is the side-effect that is triggered when member x is read.

I don't think that a JavaScript getter method is simply a side-effect. In my opinion it is a fully fledged method with a special syntax that allows accessing the method as if it were a field. A main difference between a normal field and a getter method is that the getter method does not need to be backed by a real field.

Moreover, such support would be ambiguous in the unlikely (but possible) case when both get x()/set x() and getX()/setX() exist on the same object.

That is true, but there are solutions for that. For example you could set a strict resolution priority, where a Java A getX() method is first mapped to a JavaScript method with the same name, and only if such a JavaScript method does not exist a JavaScript getter method (i.e. get x()) is searched.
This behavior could also be made optional with a flag to ensure backwards compatibility.


Key Vault regeneration statement is confusing

Current:
Key Vault will regenerate 'key2' and swap the active key from 'key2' to 'key1' (replace with 'primary' and 'secondary' for Classic Storage Accounts).
Change to:
"Only one of the keys are used to issue SAS tokens at any one time. This is the active key. When it is time to rotate, KeyVault regenerates the key that is not active, and then sets the newly created key as active."

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

ID: 8e90b309-baac-4f6b-c48b-e395f897b870
Version Independent ID: 375e2262-7ad2-3638-9864-7e2421f51942
Content: Azure Key Vault managed storage account - PowerShell version
Content Source: articles/key-vault/secrets/overview-storage-keys-powershell.md
Service: key-vault
Sub-service: secrets
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

Created pull request and merged.
Closing issue.


FaceMesh(js) does not work with non-camera video input?

I am getting these errors when trying to use js version of face_mesh demo.
The same demo works OK and detects and report face landmarks as expected (using PC built-in camera as input).
However, if I feed video data (webm/v9) to video tag's srcObject using MediaSource interface, these errors happen and mediapipe FaceMesh.send() does not seem to be working.
Firstly, I doubted if this is caused by lack of heap memory (I was trying it with 120M bytes video data), but I found this happens even with 25M bytes of video data.
Rather, this is caused by using feeding non-camera data to the video tag (which is the input to FaceMesh)?
Errors from  chrome console.
These errors are repeated a few times, then I see other kinds of errors later.
VM161 face_mesh_solution_packed_assets_loader.js:48 Uncaught TypeError: Cannot read property<EMAIL_ADDRESS>of undefined
    at XMLHttpRequest.xhr.onprogress (VM155 face_mesh_solution_packed_assets_loader.js:48)
xhr.onprogress @ VM161 face_mesh_solution_packed_assets_loader.js:48
XMLHttpRequest.send (async)
fetchRemotePackage @ VM161 face_mesh_solution_packed_assets_loader.js:76
loadPackage @ VM161 face_mesh_solution_packed_assets_loader.js:86
(anonymous) @ VM161 face_mesh_solution_packed_assets_loader.js:184
(anonymous) @ VM161 face_mesh_solution_packed_assets_loader.js:186

then:
Uncaught (in promise) TypeError: Cannot read property 'buffer' of undefined
    at Object.write (VM156 face_mesh_solution_wasm_bin.js:9)
    at Object.write (VM156 face_mesh_solution_wasm_bin.js:9)
    at Object.createDataFile (VM156 face_mesh_solution_wasm_bin.js:9)
    at finish (VM156 face_mesh_solution_wasm_bin.js:9)
    at processData (VM156 face_mesh_solution_wasm_bin.js:9)
    at Object.createPreloadedFile [as FS_createPreloadedFile] (VM156 face_mesh_solution_wasm_bin.js:9)
    at DataRequest.finish (VM155 face_mesh_solution_packed_assets_loader.js:127)
    at DataRequest.onload (VM155 face_mesh_solution_packed_assets_loader.js:122)
    at processPackageData (VM155 face_mesh_solution_packed_assets_loader.js:158)
    at runWithFS (VM155 face_mesh_solution_packed_assets_loader.js:169)
write @ VM168 face_mesh_solution_wasm_bin.js:9
write @ VM168 face_mesh_solution_wasm_bin.js:9
createDataFile @ VM168 face_mesh_solution_wasm_bin.js:9
finish @ VM168 face_mesh_solution_wasm_bin.js:9
processData @ VM168 face_mesh_solution_wasm_bin.js:9
createPreloadedFile @ VM168 face_mesh_solution_wasm_bin.js:9
finish @ VM155 face_mesh_solution_packed_assets_loader.js:127
onload @ VM155 face_mesh_solution_packed_assets_loader.js:122
processPackageData @ VM155 face_mesh_solution_packed_assets_loader.js:158
runWithFS @ VM155 face_mesh_solution_packed_assets_loader.js:169
callRuntimeCallbacks @ VM156 face_mesh_solution_wasm_bin.js:9
preRun @ VM156 face_mesh_solution_wasm_bin.js:9
run @ VM156 face_mesh_solution_wasm_bin.js:9
runCaller @ VM156 face_mesh_solution_wasm_bin.js:9
removeRunDependency @ VM156 face_mesh_solution_wasm_bin.js:9
receiveInstance @ VM156 face_mesh_solution_wasm_bin.js:9
receiveInstantiatedSource @ VM156 face_mesh_solution_wasm_bin.js:9
Promise.then (async)
asyncGeneratorStep @ index.js:124
_next @ index.js:124
(anonymous) @ index.js:124
(anonymous) @ index.js:124

and:
VM176 face_mesh_solution_wasm_bin.js:9 Uncaught (in promise) RuntimeError: abort(Module.arguments has been replaced with plain arguments_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)) at Error
    at jsStackTrace (https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh_solution_wasm_bin.js:9:68379)
    at stackTrace (https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh_solution_wasm_bin.js:9:68555)
    at abort (https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh_solution_wasm_bin.js:9:42200)
    at Object.get (https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh_solution_wasm_bin.js:9:23247)
    at https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh_solution_wasm_bin.js:9:23071
    at ja.h (https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh.js:30:51)
    at Q (https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh.js:10:296)
    at ma.next (https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh.js:11:90)
    at k (https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh.js:22:318)
    at abort (https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh_solution_wasm_bin.js:9:42231)
    at Object.get (https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh_solution_wasm_bin.js:9:23247)
    at https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh_solution_wasm_bin.js:9:23071
    at ja.h (https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh.js:30:51)
    at Q (https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh.js:10:296)
    at ma.next (https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh.js:11:90)
    at k (https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh.js:22:318)

I can see below in camera_utils.js, so it has something to do with mediastream's width / height?
function t(a, b)
        a.video.srcObject = b;
        a.video.onloadedmetadata = function() {
            a.video.play();
            q(a)
        }
}

var n = {
    facingMode: "user",
    width: 640,
    height: 480
};

p.prototype.start = function() {
...
    return navigator.mediaDevices.getUserMedia({
        video: {
            facingMode: b.facingMode,
            width: b.width,
            height: b.height
        }
...
};

though not sure if it is related, "Module.arguments has been replaced with plain arguments_ " error menthoned in below (emscripten issues).
https://github.com/emscripten-core/emscripten/issues/11239

For easy repro, I just tried directly specify video file in video tag (previously, I was feeding video data by js code via MediaSource i/f).
Even with this, I am getting similar error.
<video class="input_video" width="640px" height="480px" type="video/webm" src="nBs3K0bsxyc.webm"></video>

It's possible your initial errors might be unrelated-- they seem to be related to loading assets rather than initializing the video stream.  But I will address the non-camera video input here:
Currently camera_utils is set up to specifically use web-cam input, so it will fail if you try to feed it a video stream.  This is a feature which can definitely be added, but is not a high priority, as the camera_utils class itself is quite small and bare-bones.  It should be perfectly fine to feed other video data into MediaPipe, but for now you'll have to set that up without camera_utils as follows:

Play your source video in an HTMLVideoElement object
Use requestAnimationFrame() callbacks to poll for new frames
Determine if a new frame has actually loaded, by caching video frame times (optional, but eliminates unnecessary processing).  For example, something like "if (!videoElement.paused && videoElement.currentTime !== lastVideoTime) {..."
If a new frame has loaded, then send it into the FaceMesh solution: "faceMesh.send({image: videoElement});"

Thank you for your hint.
Looks like I have to wait for the "loadeddata" event so that now it is assured there is a image.
No more crashes and the model is working.
Previously, I was hooking to "updatetime" event, so I was giving video element to faceMesh before was ready, so faceMesh library was crashing.
(In camera input case there is no such delay for image data loading?)
I think I can close this issue.

I am facing same issue on web demo for hand. Can you please tell me how to use loadeddata function?
https://codepen.io/mediapipe/pen/RwGWYJw


Registering New Loggers

Hello,
First off, what a great resource this is :+1:
I have only just got this working, and LOG(LEVEL) << ""; seems to work fine, but when I create my own logger, I get a Debug Abort Message.
el::Logger * newL = el::Loggers::getLogger("newLogger");
newL->warn("Warning 1");

Then I click retry and:

I am running Visual Studio 2013 and project uses V120 toolset, C++11
If there is any other info you require, please ask.
Thanks for your help,
Aaron Thompson

Also, the log has been successfully written to the log file, just to let you know.

Hello?

?

@Aaron1178 Have you tried using the CLOG macro instead of using the el::Logger pointer directly?
You should be able to do something link this:
// somewhere at the start of your main()
el::Logger * newL = el::Loggers::getLogger("newLogger");

// somewhere afterwards
CLOG(WARNING, "newLogger") << "Warning 1";


KubeAudit should raise an error if ServiceAccountName is set to "default"

ISSUE TYPE

[x] Bug Report
[ ] Feature Idea

BUG REPORT
SUMMARY
if there is no serviceAccount[Name] specified, it assumes default and uses the default SA token, which is not desirable in most multi-tenant circumstances, so automountServiceAccountToken: false should then be applied. so realistically, if serviceAccount != default, then it should replace it with serviceAccountName instead. if it is default, remove it and add automount false
ENVIRONMENT

Kubeaudit version: master
Kubeaudit install method: master

STEPS TO REPRODUCE

include serviceAccountName: "default" in the pod spec
user kubeaudit to audit the yml file

EXPECTED RESULTS
Kubeaudit should raise an error
ACTUAL RESULTS
not error is raised

Great Catch I'll fix this in a PR tomorrow!


Question: Project initialization?

Wouldn't be nice to have a command rr init --laravel-worker that emits a worker.php inside a laravel project, the same as in https://github.com/spiral/roadrunner/wiki/Laravel-Framework that also generates a .rr.yaml file by default?
Then you could simply run rr serve and you would have a running server ready for use.

Two console commands available in 1.4.0 release, thx to @Alex-Bond see release notes for the details.


Implement fundrawtransaction and signrawtransaction RPC

There are two issues to be resolved:

The ToHex() helper method in the RPC client needs to return valid hex for transactions with empty input lists. It is currently hardcoded, but this may fail with proper segwit transactions.
The RPC middleware does not seem to be propagating the fund raw transaction options model to the controller. So one of the tests is failing due to the change position not being properly specified.

There are also several unimplemented option settings for fundrawtransaction, such as the fee rate, but the initial implementation works.

This includes the following:

fundrawtransaction and signrawtransaction RPC methods, with basic options supported for FRT.
Offline transaction signing API endpoints that allow a synced wallet restored via extpubkey (i.e. with no private keys) to create a template transaction for an offline/air-gapped node to sign with its private keys.
newaddresses API endpoint for the use case where a new address needs to be returned with every call rather than returning the first available unused address.


1.1 docsreadme

just fixing the links in the readme to new locations within documentation.

Thanks for spotting the link breakage. It seems some extra commits sneaked into this PR. We should probably add the redirects for the old links here https://github.com/UnionOfRAD/site/blob/master/app/config/routes.php too as there are probably more of these out there.

i noticed the extra-commits but was not able to grasp how they've come into that. Is the branch i am pull-requesting against the correct one?

The 1.1 branch is the correct one. I guess you patch predates the latest 1.1 branch updates.

I'll cherry pick the commit from here.

Added as d99dfdfeb75f07fb41fa0e458cea89ebd0b7505e


mat: add VecDense.Permute

I'm wondering whether it wouldn't be more mat-like to have signatures
// v = P*x or v = P^T*x
func (v *VecDense) Permute(p []int, trans bool, x Vector)

// M = P*A or M = P^T*A
func (m *Dense) PermuteRows(p []int, trans bool, a Matrix)

// M = A*P or M = A*P^T
func (m *Dense) PermuteCols(a Matrix, p []int, trans bool)

It complicates the implementation (special-casing on the type of A and whether it's transposed; do we care about orientation of x?) and I'm not sure if the greater flexibility is a benefit for the user. What do you think?

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

Comparison is base (bd767ae) 73.96% compared to head (b0fbdbd) 73.81%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1910      +/-   ##
==========================================
- Coverage   73.96%   73.81%   -0.15%
==========================================
  Files         528      510      -18
  Lines       63364    62707     -657
==========================================
- Hits        46865    46289     -576
+ Misses      13909    13861      -48
+ Partials     2590     2557      -33

Files
Coverage Δ

mat/vector.go
78.86% <100.00%> (+0.05%)
:arrow_up:

... and 22 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

If we use the first signature in the alternative, we have to care about vector orientation since Vector can be a row vector. I'm inclined not to want to have the alternative signatures; the user would already know what kind of Matrix they have and can easily move that into the destination in a hopefully efficient way, while we would have to have non-trivial assessments of the value to determine the best way to get it into place before doing the same work.

These were exactly my thoughts too.


Unclear size of FWFT Feature Types (Chapter 18)

In the text the FWFT feature types are described as "32-bit identifiers", but in function calls they are described as unsigned long, which will result in 64-bit identifiers.

Good catch.
@clementleger @avpatel : We don't need 64 bit feature values. We should change the function arguments to uint32_t ? It would require the fixes in the existing implementation though.

Yes clearly that should be defined as uint32_t, thanks for catching this. I'll submit fixes for the doc/implementation if you want.

The documentation says:

Every SBI function should prefer unsigned long as the data type. It keeps the specification simple and easily adaptable for all RISC-V ISA types. In case the data is defined as 32bit wide, higher privilege software must ensure that it only uses 32 bit data.

This doesn't read very clearly to me. Does that mean the function should be declared as taking an unsigned long but only read 32 bits from it? Or does it mean the function should be declared as taking a 32-bit integer? Also it seems to suggest that the high bits of the register on RV64 can be junk, which is notably not what the psABI says, so you can't just forward the register in assembly to a C function taking a uint32_t.

Though it seems there are a number of interfaces already taking uint32_t and hitting that exact case of a lack of adequate documentation...


Qmaps 1748/1751 - Direction panel tweaks

Description

Update title and placeholders
add closeButton on mobile
add focus icons states
fix direction's form overflowing along with suggestions, using renderHeader props.
reverse button styles is now applied depending of its disabled state, instead of hover.

Why
New Design
Screenshots

Icon color change on focus. The colored icons are now displayed only on valid state (once validated).

Another comment about something not in the diff, but probably should be:
The horizontal space for the origin/destination field icons is too large. The code says 64px, but the design says 48px.

Actually, it's 64px on desktop, et 48px on mobile... I did not see it


Feature Request : VLC support

I would love to have the VLC Media Player included as a supported player (as it is by far the easiest one to enable local playback) ...

How do you launch media remotely on vlc player?

I have the VLC addon installed in Hass, which makes available a media player with the 'VLC media player Telnet' integration. According to the docs, this player 'can play files on the local network, Internet or files and playlist locally saved to the /share and /media folder'. I would love to be able to use your wonderful card to activate the VLC player to play my Plex music through the local audio output of the Hass machine.

That sounds possible! I will take a look once i have some time.

Great, really looking forward to it ! Thanks beforehand ...

Currently supports only track. Reasoning and possible future solution is described in https://github.com/JurajNyiri/PlexMeetsHomeAssistant/pull/67 .

I have came to the conclusion that there is no way to pass multiple links into https://www.home-assistant.io/integrations/vlc_telnet/ .
What we would need is a service in Home Assistant which allows us to generate playlist accessible via HTTP. We would then pass URL to this playlist into the media_content_id.
Until then, it is possible to only use track with vlcTelnet player.


Gift Entry: Fix early return

…
Critical Changes
Changes

Fix early return preventing assignment of opportunity donation import fields on 'update payment' matching selection

Issues Closed
Community Ideas Delivered
New Metadata
Deleted Metadata

**lurch: attach W-039536

Tracking W-039536


[Question] /Pods/GoogleDataTransport/GoogleDataTransport/GDTCCTLibrary/GDTCCTUploadOperation.m:37:9 'GoogleUtilities/GULURLSessionDataResponse.h' file not found

[REQUIRED] Please fill in the following fields:

Unity editor version: _____2021.3.28f
Firebase Unity SDK version: _____11.6.0
Source you installed the SDK: _.unitypackage (.unitypackage or Unity Package Manager)
Problematic Firebase Component: _____ (Auth, Database, etc.)
Other Firebase Components in use: _____ (Auth, Database, etc.)
Additional SDKs you are using: _____ (Facebook, AdMob, etc.)
Platform you are using the Unity editor on: _Mac (Mac, Windows, or Linux)
Platform you are targeting: _Android,iOS (iOS, Android, and/or desktop)
Scripting Runtime: ___iL2CPP (Mono, and/or IL2CPP)
Pre-built SDK from the website or open-source from this repo: _____

[REQUIRED] Please describe the question here:
while making Archieve  getting /Pods/GoogleDataTransport/GoogleDataTransport/GDTCCTLibrary/GDTCCTUploadOperation.m:37:9 'GoogleUtilities/GULURLSessionDataResponse.h' file not found.

Hi @jayantjha23,
In order to identify what's causing this to happen, could you provide a minimal, reproducible example of your implementation along with your Podfile.lock file?


Issue in image picker when submit the image

'package:flutter/src/widgets/navigator.dart': Failed assertion: line 5308 pos 12: '_history.isNotEmpty': is not true.

Hi @NavdiwalaVatsal
Can you please provide your flutter doctor -v, a complete reproducible minimal code sample, and complete flutter run --verbose logs running the minimal code sample?
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Feature Request: Add a function to provide more consistent timing in EC

Product: (OC-SDR, OC-LTE, OC-LTE, OC-Power, others)
OC-SDR
Component: (PSU, GBC, BBU, FEM, LED, ME)
GBC
Category: (Hardware, Software/stack, Firmware/bootloader, Documentation)
Firmware/OCWare
Describe the solution you'd like
Write a macro/function to allow for more consistent timing. Since the system tick period can easily be changed, it would be great to have a sleep_ms(uint) function that does the conversion rather than do all our timing based on ticks. Right now we tend to use Task_sleep() and rely on 1 tick == 1 ms, but this is a potentially dangerous assumption.
Is your feature request related to a problem? Please describe.
Enhancement.

[Originally commented by imgraham]_
In addition to this, we use SysCtlDelay in a number of places - this should only be used when tight/accurate timing is needed. In some places, we can just replace this with Task_sleep if needing to delay for more than a few ms. On top of this, this should be wrapped into a delay_us function/macro that takes the clock into account.
Places where we should replace with a Task_sleep call:

[ ] ethernet.c
[ ] hci.c (although I question the need for this at all)
[ ] sdr.c (not sure on this once since it only needs a very small delay, but we'll see)
[Edit] Worst thing we're doing is NOP_DELAY - this is simply a spin delay of arbitrary time, it's really unclear how long it delays for and what its true purpose over SysCtlDelay is


fix: zsh completion definition

Cheat's upstream provides a non-standard zsh-completion script. It has confused lots of package managers (like Homebrew, Nixpkgs and aur). After installed, cheat.zsh will be added to /usr/share/zsh/site-functions which is included in fpath, and zsh will autoload the file to define the completion function. Therefore, no compdef is needed. If the last line is compdef _cheat cheat, the file must be sourced explicitly.
This commit causes the problem.

Examples for package managers who regard cheat.zsh as a standard zsh completion file:

Homebrew: https://github.com/Homebrew/homebrew-core/blob/78ac2fb4263f82d5acc7b7226fa5263a04fcf28f/Formula/c/cheat.rb#L27
Nixpkgs: https://github.com/NixOS/nixpkgs/blob/52ec9ac3b12395ad677e8b62106f0b98c1f8569d/pkgs/applications/misc/cheat/default.nix#L21
AUR: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=cheat#n58

As a result, they are all "cheat"ed by the upstream mistake.

@chrisallenlane could you spare some time reviewing the PR? Thanks!


Rmilter should not be enabled with Rspamd by default

Issue description
Rmilter is implicitly enabled (here) with Rspamd despite the former being deprecated.
This triggers a deprecation warning since release-18.09 which was hard to trace:

warning: config.services.rmilter' is deprecated, rmilter' deprecated and unsupported by upstream, and will be removed from next releases. Use built-in rspamd milter instead.

Rmilter should instead either be completely disabled by default, or conditionally disabled (with versionAtLeast config.system.stateVersion "18.09").
CC package maintainers: @avnik @fpletz
Steps to reproduce
Set
  services.rspamd.enable = true;

And obtain said warning about Rmilter.
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
 - system: `"x86_64-linux"`
 - host os: `Linux 4.14.70, NixOS, 18.03.133280.862fb5215f0 (Impala)`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.0.4`
 - channels(root): `"nixos-18.09"`
 - channels(kea): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`

At least master haven't any references from rspamd to rmilter.
We definelly had have code, which enable rmilter, when rspamd enabled. But it removed now.
I looking into it (because it a bug, but I also want decomission rmilter as well ;)

I bet, that I found it ;)
https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/mail/rmilter.nix#L55
I feel it  can be safely defaulted to false (at least in master)
@fpletz @samueldr folks, what your thoughs about this?


Upgrade Debezium to 1.9.8.Final

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
The Debezium team released another 1.9.x release the other day with a few bug fixes, including support for ingesting changes from Postgres 16 read replicas. I would like to suggest to update to that release therefore. Will send a PR in a bit.
Solution
No response
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

Fixed in https://github.com/ververica/flink-cdc-connectors/pull/3034.


release.sh script ignores arguments?

When you call release.sh it wants you to pass a crate name, but then it calls cargo publish without passing along this argument? Currently the script cannot publish write-fonts because it is failing when it tries to publish an already-existing version of font-types.

Someone should fix that!

https://github.com/googlefonts/fontations/blob/main/resources/scripts/bump-version.sh#L29-L33 shows bump-version.sh obeying. For some reason in release.sh it looks like I established a crates variable and then went on to completely ignore it.

I played around with this a bit and I'm not sure there's a better solution. When I respect the names and use the loop, then it will fail during dry-run if any of the crates we're trying to publish have dependencies on other crates we're trying to publish (since it can't find them in the registry, as they aren't published yet) and then publishing will likely fail since it won't know to wait between publishing crates so that it has time for the registry to update.
It also does seem to work for publishing a single crate as long as other crates don't have changes; in the less-common case where we want to be more selective it isn't too hard to just do it by hand.

Sorry, one more question, would it not still be marginally better if it respected names? It will correctly fail if a dependency doesn't exist but I think it would mean that things that don't have dependencies could be pushed independently? For example, I could bump skrifa and write-fonts and then release one but not the other even those both are pending?

I agree that would be nice, but i'm not sure the best way to do it?
Actually thinking out loud, maybe there is a reasonable way: instead of having the user provide a list of all the crates they want to publish, they should either pass no arguments (which means publish everything) or they can pass a single crate, in which case we would only target that crate.
This would save us from needing to use a loop (which didn't work in my earlier experiments) and if you wanted to publish exactly two crates then you could just run the script twice.
I'll play around with this and see if it works next time I need to do a release, which should be soon.

I just ran into this with write-fonts : I ran the script, it asked me if I wanted to publish all the things:
Publish
  font-types 0.2.0
  read-fonts 0.4.0
  write-fonts 0.6.2
  skrifa 0.3.0
? [y/N]

I actually wanted to publish only write-fonts but the script doesn't make that easy for me, I had to run the commands by hand with -p write-fonts. I would think we want the same loop as bump version.

as mentioned above, the loop doesn't work, but we could change the semantics to be either "publish everything" or "publish a single crate".

Why doesn't the loop work exactly? - I just ran through the commands from the shell script passing -p write-fonts each time and it seemed just fine.

See this comment: (https://github.com/googlefonts/fontations/issues/437#issuecomment-1572506151)
basically:

it fails in dry run if any crate depends on another crate (of ours) since it won't be published yet
publishing can fail for crates with dependencies if the new dependency version hasn't propagated on crates.io yet.
also it matters what order you publish crates in, so you would have to specify them in the correct order on the command line (unless we use something to resolve the dependency graph and produce a topographic order, which I do not seriously propose), which could be just barely tolerable but feels pretty bad.

I believe that still leaves cases where it will work, for example write-fonts and skrifa, and it will fail if you try to use it in a way that won't work. It will fail safely - not do something bad - if you use it poorly so it's relatively harmless. You have to have some care in ordering and how you update version #s but ... that's true regardless.
To be fair, everything or just one would suffice and would be far more useful than what we have now.


ENHANCEMENT Add theme color picker to the CMS

Resolves https://github.com/silverstripe/cwp-agencyextensions/issues/12
Matching PR for watea theme changes: https://github.com/silverstripe/cwp-watea-theme/pull/25
Todo:

[x] Create matching PR in https://github.com/silverstripe/cwp-watea-theme
[x] Finish docs for scss changes when adding new theme colors

Thanks for the feedback @robbieaverill! There'll be some work done shortly to create a new field to use in the CMS for this feature so most of the functionality that currently exists to handle cases for both DropdownField and ColorPaletteField will be removed in favour of this new field.
I'll wait to address your feedback until that new field is created, as it will remove the need to address the feedback around handling both field types.

Cheers @NightJar, while fixing that I also added made a small change for selected items, see last commit

Cool... only for colour picker field though?

Neat, thanks for updating @scott1702 !
Do you foresee any more wee tweaks to this work in the immediate future, or is it ready for merge now?

@NightJar Nope, all ready to merge :)


Random page elements issue

I have a problem that non-clickable elements strangely appear beside the audio elements as shown in the screenshot

url
https://soundeals.com/user/NourAllam/samples/10
tested on firefox
if did not appear, please refresh multiple times

I tried several times with Chrome and FF 57 and nothing happened.


[BUG] v17.0.0 Fails to compile with yarn pnp

Description
Failure to compile with yarn pnp:
Failed to compile.

Module not found: Error: Can't resolve '@nevware21/ts-utils' in 'workspace/.yarn/__virtual__/@microsoft-applicationinsights-react-js-virtual-5e2603ec10/0/cache/@microsoft-applicationinsights-react-js-npm-17.0.0-f9df6f3087-3af1cfa49c.zip/node_modules/@microsoft/applicationinsights-react-js/dist-esm'
ERROR in ./.yarn/__virtual__/@microsoft-applicationinsights-react-js-virtual-5e2603ec10/0/cache/<EMAIL_ADDRESS>13:0-52
Module not found: Error: Can't resolve '@nevware21/ts-utils' in 'workspace/.yarn/__virtual__/@microsoft-applicationinsights-react-js-virtual-5e2603ec10/0/cache/@microsoft-applicationinsights-react-js-npm-17.0.0-f9df6f3087-3af1cfa49c.zip/node_modules/@microsoft/applicationinsights-react-js/dist-esm'

Steps to Reproduce
Minimal reproduction repo: https://github.com/CEOehis/application-insights-yarn-pnp

React Version: 17.0.2
SDK Versions:

@microsoft/applicationinsights-react-js 17.0.0
@microsoft/applicationinsights-web 3.0.2

Additional context
@nevware21/ts-utils is referenced in the code but is not specified as a dependency . As a result, yarn pnp is unable to resolve it correctly.
It works with node-modules because @nevware21/ts-utils is also installed with @microsoft/applicationinsights-web.

@siyuniu-ms, can you please look at this and add the referenced (and missing) dependencies, if we are using ts-async then we should also add that.
And we will create a release with this fix once we release v3.0.3 of ApplicationInsights (hopefully) next week.

@siyuniu-ms, I've approved the PR. Can you please make sure that I've not missed something and if it looks good feel free to commit it.

fixed at #57

@siyuniu-ms this doesn't seem to be fixed in #57.
I've updated my project to use @microsoft/applicationinsights-react-js 17.0.1 and @microsoft/applicationinsights-web 3.0.3 but I  still have the same error with yarn pnp.
It seems to me that the issue is that @nevware21/ts-utils is still not specified in the package.json as a dependency in this latest release.

@siyuniu-ms can you please ensure that any used packages are included in the package.json (under dependencies) and if necessary fix and then publish an updated version


[PAIShare] Use authenticated client if token and PAT are offered.

Coverage decreased (-15.5%) to 45.861% when pulling 2083b95dc1c13bd238b9625f7e9d787da441f19b on shaocs-paishare into 615548efb5b442ec61e33782116da61030986e80 on paishare.

Coverage decreased (-15.5%) to 45.861% when pulling 2083b95dc1c13bd238b9625f7e9d787da441f19b on shaocs-paishare into 615548efb5b442ec61e33782116da61030986e80 on paishare.


Allow tab navigation through the calendar days

Can you explain a little bit more what you did?

Sorry, I'm not exactly sure what it does as it was a long time ago.
But from what it seems - it adds tabindex to each calendar day. This way you can use tab key (on keyboard) to navigate through days and respectively when you keypress on Enter - that day will get selected. Basically this should allow selecting a day using only keyboard or voiceover commands.
If you think that it doesn't work/make sense or that's a wrong behaviour - feel free to close this PR as I'll not be able to work any further on this PR. Thanks!

Added manually in cdbb8bb4a8f5d1d040749abe0cb814775dd9098c. Sorry for not merging this earlier, I ended up just making the one line change myself due to the fact that the file has changed a lot since then.


PySim VCDWriter is useless with io.StringIO

It unconditionally calls close on the VCD and that destroys the StringIO object. Questionable design of the latter, perhaps, but we have to live with it.
Not entirely clear what to do with it. I suggest just special-casing io.StringIO for specifically write_vcd(vcd_file=). Though, there could be a similar issue with a tempfile.TemporaryFile or tempfile.SpooledTemporaryFile, so maybe a close_vcd_file=True argument would work better.
This is a minor change that does not require an RFC.

I would argue that the sanest solution is for it to only close file objects it has opened itself, i.e. when passed a filename.
When the caller passes a file object, whether it's a StringIO, a regular file or anything else, leave it to the caller to deal with closing it.

I would argue that the sanest solution is for it to only close file objects it has opened itself, i.e. when passed a filename.

You're completely right.


Interrupt request

Hi,
How to add interrupt to this library?
I want to sleep the MCU and wakeup it when there's incoming data.
I use PY32F002 chip.
Regards;

Please read the SX126x datasheet.

Thanks;


vue-ui: TypeScript doesn't compile

@lorisleiva the package is throwing some strange errors when compiling the TypeScript source:
➜  vue-ui git:(master) tsc
../../../node_modules/@types/react/index.d.ts:120:51 - error TS2344: Type 'C' does not satisfy the constraint 'ElementType<any>'.
  Type 'string | number | ForwardRefExoticComponent<any> | (new (props: any) => Component<any, {}, any>) | ((props: any, context?: any) => ReactElement<any, string | JSXElementConstructor<...>> | null)' is not assignable to type 'ElementType<any>'.
    Type 'number' is not assignable to type 'ElementType<any>'.
      Type 'C' is not assignable to type 'FunctionComponent<any>'.
        Type 'string | number | ForwardRefExoticComponent<any> | (new (props: any) => Component<any, {}, any>) | ((props: any, context?: any) => ReactElement<any, string | JSXElementConstructor<...>> | null)' is not assignable to type 'FunctionComponent<any>'.
          Type 'string' is not assignable to type 'FunctionComponent<any>'.

120         "ref" extends keyof ComponentPropsWithRef<C>
                                                      ~

../../../node_modules/@types/react/index.d.ts:121:49 - error TS2344: Type 'C' does not satisfy the constraint 'ElementType<any>'.
  Type 'C' is not assignable to type 'FunctionComponent<any>'.

121             ? NonNullable<ComponentPropsWithRef<C>["ref"]> extends Ref<
                                                    ~

../../../node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1190:6 - error TS2748: Cannot access ambient const enums when the '--isolatedModules' flag is provided.

1190     [BooleanFlags.shouldCast]?: boolean;
          ~~~~~~~~~~~~

../../../node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1191:6 - error TS2748: Cannot access ambient const enums when the '--isolatedModules' flag is provided.

1191     [BooleanFlags.shouldCastTrue]?: boolean;
          ~~~~~~~~~~~~

../../../node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1725:10 - error TS2748: Cannot access ambient const enums when the '--isolatedModules' flag is provided.

1725 export { TrackOpTypes }
              ~~~~~~~~~~~~

../../../node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1754:10 - error TS2748: Cannot access ambient const enums when the '--isolatedModules' flag is provided.

1754 export { TriggerOpTypes }
              ~~~~~~~~~~~~~~

../../../node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts:1495:15 - error TS2320: Interface 'Element' cannot simultaneously extend types 'VNode<RendererNode, RendererElement, { [key: string]: any; }>' and 'ReactElement<any, any>'.
  Named property 'key' of types 'VNode<RendererNode, RendererElement, { [key: string]: any; }>' and 'ReactElement<any, any>' are not identical.

1495     interface Element extends VNode {}
                   ~~~~~~~

../../../node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts:1495:15 - error TS2320: Interface 'Element' cannot simultaneously extend types 'VNode<RendererNode, RendererElement, { [key: string]: any; }>' and 'ReactElement<any, any>'.
  Named property 'props' of types 'VNode<RendererNode, RendererElement, { [key: string]: any; }>' and 'ReactElement<any, any>' are not identical.

1495     interface Element extends VNode {}
                   ~~~~~~~

../../../node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts:1495:15 - error TS2320: Interface 'Element' cannot simultaneously extend types 'VNode<RendererNode, RendererElement, { [key: string]: any; }>' and 'ReactElement<any, any>'.
  Named property 'type' of types 'VNode<RendererNode, RendererElement, { [key: string]: any; }>' and 'ReactElement<any, any>' are not identical.

1495     interface Element extends VNode {}
                   ~~~~~~~

../../../node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts:1502:15 - error TS2430: Interface 'IntrinsicElements' incorrectly extends interface 'NativeElements'.
  Types of property 'a' are incompatible.
    Type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>' is not assignable to type 'ElementAttrs<AnchorHTMLAttributes>'.
      Type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>' is not assignable to type 'AnchorHTMLAttributes'.
        Types of property ''aria-relevant'' are incompatible.
          Type '"all" | "text" | "additions" | "additions text" | "removals" | "additions removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined' is not assignable to type '"all" | "text" | "additions" | "additions text" | "removals" | undefined'.
            Type '"additions removals"' is not assignable to type '"all" | "text" | "additions" | "additions text" | "removals" | undefined'.

1502     interface IntrinsicElements extends NativeElements {
                   ~~~~~~~~~~~~~~~~~

../../../node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts:1507:15 - error TS2320: Interface 'IntrinsicAttributes' cannot simultaneously extend types 'ReservedProps' and 'Attributes'.
  Named property 'key' of types 'ReservedProps' and 'Attributes' are not identical.

1507     interface IntrinsicAttributes extends ReservedProps {}
                   ~~~~~~~~~~~~~~~~~~~

Found 11 errors.

I prepared this package for publishing here: https://github.com/solana-labs/wallet-adapter/pull/141
This change was necessary to prevent typedoc from failing: https://github.com/solana-labs/wallet-adapter/pull/141/commits/d479af2041c3847029fe017d389ebe7721a5bf45
I had to specify all the packages to avoid compiling the vue-ui package this way. The error output is pretty weird, especially complaining about the React types. Any ideas what could be going on?

Fixed by #167


Open Source License?

I noticed this repository is missing a LICENSE file. I want to use this software as part of a project I'm developing. However, I legally cannot unless a compatible license is applied.
If this project is intended to be open source, please apply a license to make it so, such as the MIT license.
Thanks!

Thanks for letting us know, we forgot to slap a license on the repo. We’ll
get to it as soon as we decide on which one.

Adam Doupé

On Thu, Jan 11 2024 at 11:45 AM, Mason Schmidgall @.***>
wrote:

I noticed this repository is missing a LICENSE file. I want to use this
software as part of a project I'm developing. However, I legally cannot
unless a compatible license is applied.
If this project is intended to be open source, please apply a license to
make it so, such as the MIT license.
Thanks!
—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/jkrshnmenon/arbiter/issues/15__;!!IKRxdwAv5BmarQ!cnEwABrrl8NfodOyCALgfbXQY2KdtgQj5V3k-42eb4jPsvNEZ8j4rePOYW9J2g99rg0XCgzuw6WnPz4tXvhYFA$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAALXZRB6HPPOKLLUI2TE43YOAJKFAVCNFSM6AAAAABBWZTZKCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3TOMJUGEYTSNI__;!!IKRxdwAv5BmarQ!cnEwABrrl8NfodOyCALgfbXQY2KdtgQj5V3k-42eb4jPsvNEZ8j4rePOYW9J2g99rg0XCgzuw6WnPz57mi3coQ$
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you so much!

Thanks for pointing this out.
We've added a LICENSE file now.


Apk signer returned with error #1

Godot version
3.5 stable, 4.0 beta 10
System information
Windows 10, i5-7200, 940MX
Issue description
hi,
I am having an issue when i try to export my game for android, the error calld ( Apk signer returned with error #1 ), I follow the documentation step by step, I traid to delete android studio and godot and reinstall everything but still getting the same problem.
I was using unity and exporting for andriod and it was working very will and i don't know why this is facing me in godot.
Even if i want to make a debug build or release one it gives me the same error.

Steps to reproduce
I don't know how it's only happening to me, My friends can build for android so I hope that you can help me to fix this issue.
Minimal reproduction project
it doesn't mattre what project i traid to build even if it was empty.

How did you solve it?

I deleted all of android studio packages and sdk's, deleting android studio is not enough
Open android studio > More Actions > SDK maneger > Uncheck everything in SDK platforms and SDK Tools > click Apply
Then follow the documentation normally : https://docs.godotengine.org/en/stable/tutorials/export/exporting_for_android.html

I Tried everything looked at a lot of posts but it still doesn't work


email: determine site URL with request.META

I would love to get rid of the weird site URL code (which I think is mostly bad), but I'm worried about trusting the header here. This is just the origin that comes from the end user, right? So couldn't someone set up their local hosts file to trick us into sending emails with links to arbitrary sites?

I think this would happen but I'm not sure what the problem here is

I think it would make us look bad if someone received a forgot password email from us that linked to goatse

I set up a redirect rule in nginx so that any attempt to access the server using an address other than staging.silentselene.net will 301 redirect to staging.silentselene.net. That way, the server will always use staging.silentselene.net in emails

yeah that should be safe I think. or just 404 if it isn't staging.silentselene.net