KAFKA-9823: Remember the sent generation for the coordinator request

For join / sync / commit / heartbeat request, we would remember the sent generation in the created handler object, and then upon getting the error code, we could check whether the sent generation still matches the current generation. If not, it means that the member has already reset its generation or has participated in a new rebalance already. This means:

For join / sync-group request, we do not need to call reset-generation any more for illegal-generation / unknown-member. But we would still set the error since at a given time only one join/sync round-trip would be in flight, and hence we should not be participating in a new rebalance. Also for fenced instance error we still treat it as fatal since we should not be participating in a new rebalance, so this is still not expected.

For commit request, we do not set the corresponding error for illegal-generation / unknown-member / fenced-instance but raise rebalance-in-progress. For commit-sync it would be still thrown to user, while for commit-async it would be logged and swallowed.

For heartbeat request, we do not treat illegal-generation / unknown-member / fenced-instance errors and just consider it as succeeded since this should be a stale heartbeat which can be ignored.

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

cc @abbccdda @hachikuji for reviews.

@hachikuji @abbccdda comments replied / addressed. Please take another look.

@hachikuji updated again, also tightened some flakiness I found in the newly added unit tests.

retest this please

retest this please


Report violations of cardinality model constraints

This might be added to the report generator.
Requires

SPARQL to get the constraints from the model
SPARQL to check the constraints against the data
Endpoints to run these
Probably "special" report features to run the endpoints
A constraints report
A mechanism to save some or all reports in the system

Note that Range restrictions may be handled totally differently (i.e. during ingestion).
Therefore, cardinality restrictions should be a stand-alone task.

Some experimenting with SPARQL in the SemTK service layer seems to show that this is a reasonable way to go.   Cardinality restrictions can be queried and checked in the SemTK service layer using Java and SemTK SPARQL queries.

Implemented as a "special section" in the report generator.   In SPARQLgraph, go to the report tab and create a sample report.  It needs to have a Section with a "special" and choose cardinality.   Then run.

Test by

loading RACK in SPARQLgraph
go to the Report Tab
taking the ".txt" off the end of this json file and drag it on:   cardinality-report.json.txt
hit the "run" button


fix: improve error if svg.transforms is invalid

If the user provides {transform: 42}, svg.transform is reset to undefined. This leads to an error down the road such as "TypeError: this.transform is not iterable".
Explicitly error out earlier. This improves the message for users, and also fixes the following lint warning:

JSDoc @returns declaration present but return expression not available
in function.
jsdoc/require-returns-check

@strager hey! I added a corresponding test case. Pls merge my PR in your fork. Thanks


Add missing RBI definitions to CSV

No signatures, also contains a few documentation changes (see first commit).

http://go/builds/bui_HHfUw4ivsgkhEX

This one turned up a handful of errors on Stripe's codebase that we're going to have to take fixing ahead of merging this.
@elliottt do you have some time to look into the failures today? There are only 7

@jez I'll take updating the stripe codebase 👍


require('prismic-javascript') instead of require('prismic-javascript').default

Just went through an issue setting up the lib.
Following the README, it's not possible to make the lib work.
I noticed that in your demo you use require('prismic-javascript').default because of the way TS exports in ES6.
Is it possible to fix this issue ? Or else change the README

@bulby97
It's fixed in 1.0.5 here: https://github.com/prismicio/prismic-javascript/tree/v1.0.5


⚠ Bofrost.at has degraded performance

In dbf4ce9, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1309 ms

Resolved: Bofrost.at performance has improved in 2b9b77d after 6 minutes.


Recreate schools table

The old schools table can be found in yacs-admin/app/views/layouts/tables/_schools.html.erb. Migrate this code into src/app/school/schools-list.component.html. Add unit tests where appropriate. Note: This issue may be dependent on a future issue adding "dummy" school data

All done


Feature/SK-702 | Base-services config by Envs

It should be possible to setup connection configurations to mongo and minio via ENVs.

Close due to inactivity


TranslatableMixin system check does not recognise models.UniqueConstraint

Is your proposal related to a problem?
When making migrations, TranslatableMixin system check requires that a model has a unique_together constraint on translation_key and locale.
SystemCheckError: System check identified some issues:

ERRORS:
blog.BlogCategory: (wagtailcore.E003) blog.BlogCategory is missing a unique_together constraint for the translation key and locale fields
        HINT: Add ('translation_key', 'locale') to BlogCategory.Meta.unique_together

The current solution, add the unique_together definition to Meta:
    class Meta:
        unique_together = ('translation_key', 'locale'), ('locale', 'slug')

However, Django docs state that models.UniqueConstraint should be used instead and that unique_together may be deprecated in the future.
In the above Meta, using the following will fail the system check:
    class Meta:
        constraints = [
            models.UniqueConstraint(fields=['translation_key', 'locale'], name='unique_translation_key_locale'),
            models.UniqueConstraint(fields=['locale', 'slug'], name='unique_locale_slug'),
        ]

Describe the solution you'd like
The system check is updated to recognise models.UniqueConstraint as an alternative to unique_together.
Perhaps even a warning level message added to echo Django doc's recommendation to use models.UniqueConstraint if unique_together has been used in the Meta definition.

@enzedonline I see what you are saying. Let me look into this.

So I have looked into it. There are several ways we can go about solving this:

Throw a warning encouraging the use of UniqueConstraint if not used, while removing completely the need to check for unique_together.

class TranslatableMixin(models.Model):
    translation_key = models.UUIDField(default=uuid.uuid4, editable=False)
    locale = models.ForeignKey(
        Locale, on_delete=models.PROTECT, related_name="+", editable=False
    )
    locale.wagtail_reference_index_ignore = True

    class Meta:
        abstract = True
        constraints = [
            models.UniqueConstraint(fields=['translation_key', 'locale'], name=f"unique_translation_key_locale_%(app_label)s_%(class)s")
        ]

    @classmethod
    def check(cls, **kwargs):
        errors = super().check(**kwargs)
        # Define the unique constraints you want to check for
        unique_constraints = [
            ('translation_key', 'locale'),
        ]

        # Check if each unique constraint exists
        for constraint_fields in unique_constraints:
            constraint_exists = any(
                isinstance(constraint, models.UniqueConstraint) and set(constraint.fields) == set(constraint_fields)
                for constraint in cls._meta.constraints
            )

            if not constraint_exists:
                errors.append(
                    checks.Warning(
                        "{}.{} is missing a UniqueConstraint for the fields: {}. Consider using models.UniqueConstraint.".format(
                            cls._meta.app_label, cls.__name__, constraint_fields
                        ),
                        hint="Add models.UniqueConstraint(fields={}, name='unique_{}') to {}.Meta.constraints.".format(
                            constraint_fields, "_".join(constraint_fields), cls.__name__
                        ),
                        obj=cls,
                        id="wagtailcore.W001",
                    )
                )

        return errors

@enzedonline as a follow up on this. The second solution is more likely especially given Wagtail deprecation policy which I think would also apply here.

Sometimes it is necessary for a feature release to deprecate features from previous releases. This will be noted in the “Upgrade considerations” section of the release notes.
When a feature is deprecated, it will continue to work in that feature release and the one after it, but will raise a warning. The feature will then be removed in the subsequent feature release. For example, a feature marked as deprecated in version 1.8 will continue to work in versions 1.8 and 1.9, and be dropped in version 1.10.

Yes, absolutely. unique_together would need to be phased out with a transition period where the system check tests for one or the other. The warning will give developers time to transition.
As per the initial suggestion

UniqueConstraint be accepted by the SystemCheck as an alternative to unique_together (i.e. not replacing unique_together yet) - that is, the check is that one or the other is in place (and, for completeness, not both).
Some notification (warning level or info if that exists) to let developers know that unique_together may be phased out and that UniqueConstraint should be used instead (with a link to the Django doc confirming this).

@enzedonline Great. I linked a PR with the solution you offered. You can look through it and let me know what you think of it.

I think we can consider this fixed in #11112 for now. I didn't add a warning/info if unique_together is used, because the default TranslatableMixin.Meta still uses it and updating it to use UniqueConstraint would force developers to generate migrations for their models.
We can take further steps once Django has officially deprecated unique_together, and follow what they'll do with their own usage of it. When that time comes, we'll also have to update the docs for TranslatableMixin and bootstrapping models with it.


Implement reconcilers for hierarchical predictions

Reference Issues/PRs

This PR adds a reconciler transformer, which takes hierarchical predictions and processes them so they sum appropriately. Three methods are implemented here out of the list in issue #2157

bottom up
ols
wls_var

What does this implement/fix? Explain your changes.

Hierarchical reconciler which depends only on the structure of the hierarchy. The three methods are detailed here and the code is constructed similar to the methodology as noted in these slides. The only difference between the three methods is the construction of the "G" matrix.
Does your contribution introduce a new dependency? If yes, which one?
No

just pushed a few checks on the index and method @fkiraly

PS: I took the liberty to update your branch from main and fix your tags (except X_inner_mtype)

Closing for now - it should now work with hierarchy levels greater than or equal to two tho 👍

? why are you closing?
This has not been merged yet afaik?

We should try to get this merged, or am I misunderstanding sth?

lol no, that's my bad! I was just closing until the we sorted the problem with the tests

currently it's linting - and we should leave it open.
We can merge the type check updates into it and then the tests should run.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-30-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4824

Questions ?
Please refer to the Backport tool documentation


Fix the problem that csharp\Adapter\Microsoft.Spark.CSharp\packages.c…

Forget to check in a file in the previous pull request

Hi @qintao1976, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Tao Qin). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


Reduce number of cdef bits for inter frames with large quantizers

Default speed

PSNR
PSNR Cb
PSNR Cr
PSNR HVS
SSIM
MS SSIM
CIEDE 2000

-3.1269
-5.4295
-5.5498
-3.0509
-2.4209
-2.6060
-3.5375

Coverage increased (+0.4%) to 83.959% when pulling 7219b4869c1a91738c75d00dda796f0056f82b23 on fbossen:cdef1 into 23c68641402f4d163d441bac4bcab10b66ae0a18 on xiph:master.

With frame reordering

PSNR
PSNR Cb
PSNR Cr
PSNR HVS
SSIM
MS SSIM
CIEDE 2000

-1.3938
-2.6502
-2.5971
-1.3522
-1.0142
-1.1479
-1.5593


Moving handling of NULL values from RecordReaders to NullValueTransfo…

…rmer
Prior to this PR, its the responsibility of each recordReader to populate defaulValues for every field in schema. This PR moves that logic into NullValueTransformer where we set defaultNullValues appropriately.
This is a precursor to supporting NULLs in Pinot.

Codecov Report

Merging #4399 into master will increase coverage by 0.06%.
The diff coverage is 82.75%.

@@             Coverage Diff             @@
##             master   #4399      +/-   ##
===========================================
+ Coverage     65.34%   65.4%   +0.06%
  Complexity       20      20
===========================================
  Files          1066    1069       +3
  Lines         55415   55566     +151
  Branches       7894    7910      +16
===========================================
+ Hits          36209   36344     +135
- Misses        16641   16647       +6
- Partials       2565    2575      +10

Impacted Files
Coverage Δ
Complexity Δ

...manager/realtime/LLRealtimeSegmentDataManager.java
70.87% <ø> (-0.7%)
0 <0> (ø)

...t/creator/impl/SegmentIndexCreationDriverImpl.java
89.71% <ø> (+0.08%)
0 <0> (ø)
:arrow_down:

...ache/pinot/core/minion/BackfillDateTimeColumn.java
56.25% <0%> (ø)
0 <0> (ø)
:arrow_down:

.../java/org/apache/pinot/common/utils/JsonUtils.java
43.47% <0%> (ø)
0 <0> (ø)
:arrow_down:

...ata/recordtransformer/SanitizationTransformer.java
100% <100%> (ø)
0 <0> (?)

...e/data/recordtransformer/CompositeTransformer.java
83.33% <100%> (ø)
0 <0> (?)

...che/pinot/core/data/readers/RecordReaderUtils.java
78.2% <100%> (+2.89%)
0 <0> (ø)
:arrow_down:

...manager/realtime/HLRealtimeSegmentDataManager.java
81.21% <100%> (+0.29%)
0 <0> (ø)
:arrow_down:

...e/realtime/converter/RealtimeSegmentConverter.java
74.62% <100%> (-0.38%)
0 <0> (ø)

...creator/RecordReaderSegmentCreationDataSource.java
69.23% <100%> (ø)
0 <0> (ø)
:arrow_down:

... and 55 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 732a7b9...4b31f3b. Read the comment docs.


doc: net: Add more info for network connectivity with host

Added more detailed information how to connect Zephyr instance
to host system like Linux desktop.
Signed-off-by: Jukka Rissanen<EMAIL_ADDRESS>

Codecov Report

Merging #13505 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #13505   +/-   ##
=======================================
  Coverage    52.5%    52.5%
=======================================
  Files         318      318
  Lines       46529    46529
  Branches    10755    10755
=======================================
  Hits        24431    24431
  Misses      17199    17199
  Partials     4899     4899

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 996c252...e8f12c0. Read the comment docs.

Updated according to comments.


Sentience

Communicating with other humans is too difficult. Can you just program this so it can be my friend

Please make formal Feature Request issue, thank you.

d00d use the template


blocks spawn in the world like ores and plants

Block.setSpawnIntoWorld (id, data, rarity, acceptableBlockToSpawn, miny, maxY, dimension, [biomeToSpawn])
These appear in the world as if they were a plant,
or one of the structures in the desert.
Block.setSpawnUnderWorld(id,data,rarity,acceptableBlockToSpawn,minY,maxY,amountOfBlocks,dimension,[biomeToSpawn])
These appear in the world as an ore
according to its parameters
sorry for the ...
well you know. Google translator

@zhuowei
function generate (params) can be useful to add

:)


one-monokai

Request to include this theme:
https://github.com/azemoh/vscode-one-monokai

I’m closing this issue because it has been inactive for a few months. This probably means that it is not reproducible or it has been fixed in a newer version. If it’s an enhancement and hasn’t been taken on for so long, then it seems no one has the time to implement this.
Please reopen if you still encounter this issue with the latest version.
Thank you!


Describe code state more precisely in the logging

We currently log the Parsl version. For debugging, it would be convenient to log the most recent commit hash and whether or not there are any additional changes.

We badly need this!

I found this information really useful when debugging other people's stuff.
Swift had some scripting that did pretty much exactly this, which was run as part of the build process.
This is the current version:
https://github.com/swift-lang/swift-k/blob/master/libexec/svn-revision


Checking only Files in PR - .swiftlint.yml is not respected

When using the configuration option
env:
 - name: SwiftLint
      uses<EMAIL_ADDRESS>      env:
        DIFF_BASE: ${{ github.base_ref }}
      with:
        args: --strict

in order to check only files of the current PR, my .swiftlint.yml configuration (containing some exclusion filters) is not taken into account.
Removing the line DIFF_BASE: ${{ github.base_ref }} re-enables my .swiftlint.yml configuration.

If found that adding
 --config YOUR_SWIFTLINT_PATH.yml on the args: comments helps with this issue.
However, I cannot seem to have the action only scan PR only files with this. Hope this helps!


Support explicitly overriding workspace settings with user settings

Background
I do a lot of my work in a monorepo. This monorepo has some workspace settings that are designed to work for the most general case, not that there is necessarily a strict requirement to use those settings. Unfortunately there really isn't a way for me to override these settings from my user settings.
Request
I'd like there to be support for explicitly overriding workspace settings from user settings. For example...
"[python]": {
    "editor.rulers": {"override": null},
    "editor.defaultFormatter": {"override": "charliermarsh.ruff"}
}

Or maybe...
"[python]": {
    "overrides": {
        "editor.rulers": null,
        "editor.defaultFormatter": "charliermarsh.ruff"
    }
}

Related to #40233, where there has been a lot of discussion over the years.

/duplicate

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!

@sandy081 duplicate of....? I'd like to add myself as a watcher on that issue.

https://github.com/microsoft/vscode/issues/40233


keep token stored

how can i keep token stored, so i don't have to do redirect each time to authenticate request?
Right now i have routes /twitch and /twitch/redirect i have to head to 2nd route first so it gets the code and then redirects to /twitch, otherwise if i access /twitch w/o redirecting, it throws exception that it need to be authenticated (probably because of missing token)

Store the token in a session variable:
$token 	= TwitchApi::requestToken(Input::get('code'));
session('token' => $token);

Then simple recall the token later:
$token = session('token');


Updated Bucket Sort to Swift 3.0

Updated the Bucket Sort Algorithm to Swift 3.0

Someone did bucket sort earlier, so we're just going to close this one. Thanks for the update anyhow @KBryan!

@kelvinlauKL Sounds good, what other algortihms needs attention. Have some time over the holidays.


stuck at Load EVERYTHING node

Use SDXL official base checkpoint. Log shows bunch of "Applied Providers" and stopped at "set det-size: (640, 640). Then everything stuck here can the queue can't be cancelled. I have to restart ComfyUI altogether to move on.
From the gpu consumption I assume the model is not yet loading.

no longer relevant since the version update


WatchOS supported

Description
I have noticed that there are native tuner apps running on WatchOS - and watch only. Did something change with regards to supporting audio for analysis? Can AudioKit run on WatchOS now?
Thanks
Proposed Solution
Allow analysis of audio on watchOS
Describe Alternatives You've Considered
I've looked and cannot find any source code that does analysis of audio.
Additional Context
No response

As far as I know, AudioKit doesn't support WatchOS and it's not on the road map unless someone wants to take it on. There is an iOS/ Mac Catalyst tuner example in the Cookbook: https://github.com/AudioKit/Cookbook/blob/main/Cookbook/CookbookCommon/Sources/CookbookCommon/Recipes/MiniApps/Tuner.swift
You would have to import a local copy of the AudioKit package, remove all the methods not supported on watchOS, and it might work. It's uncharted territory.


[dbus] Build error on arm64-linux

Package<EMAIL_ADDRESS>Host Environment

Host: arm64-linux
Compiler: GNU 11.4.0
vcpkg-tool version: 2999-12-31-unknownhash
vcpkg-scripts version: 67cc1677c 2024-06-02 (11 小时前)

To Reproduce
vcpkg install opencv[core,dnn] --recurse
Failure logs
-- Note: dbus only supports dynamic library linkage. Building dynamic library.
-- Downloading https://gitlab.freedesktop.org//dbus/dbus/-/archive/dbus-1.15.8/dbus-dbus-1.15.8.tar.gz -> dbus-dbus-dbus-1.15.8.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Trying to load bundleconfig from /external/vcpkg/vcpkg-bundle.json
[DEBUG] Failed to open: /external/vcpkg/vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Metrics enabled.
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
[DEBUG] 1000: execute_process(curl --fail -L https://gitlab.freedesktop.org//dbus/dbus/-/archive/dbus-1.15.8/dbus-dbus-1.15.8.tar.gz --create-dirs --output /external/vcpkg/downloads/dbus-dbus-dbus-1.15.8.tar.gz.739948.part)
[DEBUG] 1000: cmd_execute_and_stream_data() returned 22 after  1161945 us
error: Failed to download from mirror set
error: https://gitlab.freedesktop.org//dbus/dbus/-/archive/dbus-1.15.8/dbus-dbus-1.15.8.tar.gz: curl failed to download with exit code 22
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

curl: (22) The requested URL returned error: 503

[DEBUG] /external/vcpkg/buildtrees/_vcpkg/src/vcpkg-tool-2024-04-23/src/vcpkg/base/downloads.cpp(997):
[DEBUG] Time in subprocesses: 1161945us
[DEBUG] Time in parsing JSON: 1us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 263us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 1.2 s (1162672us)

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):

      Failed to download file with error: 1
      If you are using a proxy, please check your proxy setting. Possible causes are:

      1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
         to `https://address:port`. This is not correct, because `https://` prefix
         claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
         , etc..) is an HTTP proxy. Try setting `http://address:port` to both
         HTTP_PROXY and HTTPS_PROXY instead.

      2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
         set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
         The value set by your proxy might be wrong, or have same `https://` prefix issue.

      3. Your proxy's remote server is out of service.

      If you've tried directly download the link, and believe this is not a temporary
      download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
      to report this upstream download server failure.

Call Stack (most recent call first):
  scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
  scripts/cmake/vcpkg_from_gitlab.cmake:113 (vcpkg_download_distfile)
  ports/dbus/portfile.cmake:3 (vcpkg_from_gitlab)
  scripts/ports.cmake:175 (include)

Duplicated of #39113.


favicon.ico did not show when prod env

Version
v2.4.0
Reproduction link
https://github.com/Kylin93CN/pieceOfCode/blob/master/nuxt.issue.js
Steps to reproduce
on linux server, i clone the project, then run "yarn run build" and "pm2 start npm --name "cygy-www" --watch  -- run start",
use nginx reverse proxy reflex on port 3000, visti domain， the favicon did not  show
What is expected ?
the favicon.ico   show
What is actually happening?
the favicon did not  show
Additional comments?
the favicon.ico   showed on dev env.

This bug report is available on Nuxt community (#c8931)

Hi, i tried to reproduce and lost the any resources except the index, no matter product or development environment.
But i found an error in nginx.conf that proxy_pass https://internal.ip:port;. Missing a / after the port and everything goes wrong. Fix to proxy_pass https://internal.ip:port/;, it's gonna be all right.
So is any possible with nginx?

Nuxt  ^2.4.0
Nginx 1.14.0

hello,vanpipy
i want to know where is favicon.ico after builded, i can't find it in .nuxt/build/client
and my nginx.conf is>
server {
        listen  80;
        server_name www.ycygy.cn; #绑定域名
        gzip            on;
        gzip_types      text/plain application/xml text/css application/javascript;
        gzip_min_length 1000;
        location / {
            proxy_pass http://<IP_ADDRESS>:3000;  ## 指定端口号 3000
        }
                error_page 404 /404.html;
            location = /40x.html {
        }

        error_page 500 502 503 504 /50x.html;
            location = /50x.html {
        }
    }

I got it, here is the document to explain it. it is Nuxt static.

All included files will be automatically served by Nuxt and are accessible through your project root URL. (static/favicon.ico will be available at localhost:3000/favicon.ico)

Follow this, the favicon.ico is still in the directory static.

okay,i  had solved the issue.
on nginx.conf,  i should add
#Point to the project root directory
root         /home/ycygy/www-ycygy;

then 'https://www.xx.com/favicon.ico'  can be Point nuxtProject/static


[firefly-iii] Added firefly-iii chart

Description of the change
Add firefly-iii chart
Benefits
People will be able to deploy firefly-iii and manage their personal finance.
Possible drawbacks
NA
Applicable issues
NA
Additional information
Checklist

[X] Title of the PR starts with chart name (e.g. [home-assistant])
[X] Chart version bumped in Chart.yaml according to semver.
[X] Chart artifacthub.io/changes changelog annotation has been updated in Chart.yaml. See Artifact Hub documentation for more info.
[x] Variables have been documented in the values.yaml file.

Hi @bikram990, thanks for the PR
Looks like you have some whitespace/end of file linting to do.  If you haven't, we suggest you install the repo pre-commit to ensure your PR will past the linting check.

@Truxnell I've fixed the pre-commit linting issue.

@bikram990 I've approved & merged.
Have a look at how the readme generates - you can clean up anything that might need updating in a update (as it usually takes a bit to shake out changes with a new chart)

@all-contributors please add @bikram990  for code


Not Working in Morzila FireFox

It is not working in morzila fire fox any version . So any other option is there to fix it

Mozilla Firefox Versions 51.0.1  i also tried in many version there also it is having the same problem

Is it fixed am also facing same problem. Do we have any workaround for this?

Hi @NagenderCA , Currently I am unable to resolve this problem due to time constrains, also the module it self needs to be properly formatted so that it can be easily linked with an angular-cli project also which(ng-cli/ angular) is keep to changing and evolving making to more complex to be up to date with all variations. Will try to debug it and will let you know. Also, if you guys can help me out that would be great.


Always asking auth for [Auth required]

Hi,
Thanks for your hard work on this project, I have a question regarding commands with auth required, is it possible to retain the user authentication instead of askin login each time we trigger the "Run" button ?
Thanks

Yes, assuming you mean you're looking to track whether a user has previously authorized the rights before.
The key piece is to make use of XPCRequestContext.effectiveUserID to know which user made the current request.
Here's a really basic form where the server keeps it in memory and this implementation is not thread safe. But the same general approach could be made thread safe or even persisted to disk (assuming you're comfortable assuming user ids are stable over time):
private static var previouslyAuthorizedUsers = Set<uid_t>()

static func run(message: AllowedCommandMessage) throws -> AllowedCommandReply {
        // Prompt user to authorize if needed
        if message.command.requiresAuth,
           !previouslyAuthorizedUsers.contains(XPCRequestContext.effectiveUserID) {
            if let authorization = message.authorization {
                let rights = try authorization.requestRights([SharedConstants.exampleRight],
                                                             environment: [],
                                                             options: [.interactionAllowed, .extendRights])
                if !rights.contains(where: { $0.name == SharedConstants.exampleRight.name }) {
                    throw AllowedCommandError.authorizationFailed
                }

                previouslyAuthorizedUsers.insert(XPCRequestContext.effectiveUserID)
            } else {
                throw AllowedCommandError.authorizationMissing
            }
        }

        <# rest of implementation remains unchanged #>

Thanks it works well 👍
Is it possible that the authorization expires ? or is it valid forever ?
And what if the authorization expires is there a way to track that ?
Thanks again !

Taking a step back, what are you trying to use a custom right for? Due to the questions you're asking, I suspect this may not be the right approach. There are valid cases use cases, but they're rather uncommon.
To directly answer your questions:

Is it possible that the authorization expires ?

Yes

or is it valid forever ?

It can be, it depends on how the right is defined.

And what if the authorization expires is there a way to track that ?

Yes, you can check if an existing Authorization instance contains a right by requesting rights for it without allowing user interaction.

I'm doing almost what your sample has been designed for, I execute a command from the helper tool.
I just want to avoid user interaction each time I have to execute the command, this is why I have asked you how to save the user authorization.
But with your previouslyAuthorizedUsers method which is external to all the libraries that you have built we only save an UInt32 id, so I was wondering if it is possible to check if the Authorization related to the id is still valid.
I also have tried
authorization.requestRights([SharedConstants.commandRight],
                                                     environment: [],
                                                     options: []) // .interactionAllowed, .extendRights

but I have an error SecureXPC.HandlerError.UnderlyingError.unavailableNotEncoded

I just want to avoid user interaction each time I have to execute the command

Authentication doesn't ever need to be required, the sample is showing how to self restrict functionality if you so choose. If you never want to require it, don't do any self restriction.
Do you want to require user authorization some times, but not other times?

I want to play with pmset which is sudo only normally

You're confusing two different concepts:

Authorization required by macOS to install a privileged helper tool which will run as root and therefore can use functionality such as pmset.

This can handled for you by Blessed package plus the build configuration and script described in this sample.

Authorization which is optionally chosen to be performed by an application and which grants no macOS related privileges.

To make use of functionality that requires sudo privileges means you need to do #1. There's no need to make use of #2 at all, but you may additionally do so if you would like.

This issue you opened is about #2 and will not be of any help to perform actions which require root. The sample app chooses to use authorization to restrict access to a couple of things which happen to require root permissions, but the fact they require root permission is not relevant.
From the README:

Two of the commands say "[Auth Required]" and when run will require you to provide an admin password. This is done to demonstrate how, if you so desire, you can self-restrict access to portions of your helper tool.

In the source code:
https://github.com/trilemma-dev/SwiftAuthorizationSample/blob/4237fb914e7e5b463397d45b5e5e6eacf9a70207/Shared/AllowedCommand.swift#L28-L30
Does this make sense?

Oh yes sorry, it makes sense now thanks !


OpenJ9 HealthCenter agent failed to start

An error occurred while trying to use the -Xhealthcenter parameter on Windows
PS D:\AdoptOpenJDK\jdk-11.0.1+13\bin> ./java -Xhealthcenter -version JVMJ9TI001E 代理程序库 healthcenter 无法打开（找不到指定的模块。 ） JVMJ9VM015W 在库 j9jvmti29(-3) 中发生初始化错误 JVMJ9VM009E J9VMDllMain 失败

Thanks for raising this - the HealthCenter shared library is not currently included in the adoptopenjdk+openj9 builds which is why this is failing

For those wondering, eclipse/openj9#1538 notes that the HealthCenter agent was somehow installed into OpenJ9. I was able to get this to work (and also without -Dsun.rmi.registry.registryFilter*) using the following Dockerfile:
# usage:
# 1. Download agent using instructions at https://www.ibm.com/support/knowledgecenter/en/SS3KLZ/com.ibm.java.diagnostics.healthcenter.doc/topics/installingagent.html
# 2. Rename agent zip file as healthcenter.zip in the same directory as this Dockerfile
# 3. Build the Dockerfile
# 4. Run the Dockerfile and specify -Xhealthcenter* options

FROM adoptopenjdk/openjdk12-openj9:latest

LABEL<EMAIL_ADDRESS>
RUN mkdir -p /opt/java/healthcenter/

COPY healthcenter.zip /opt/java/healthcenter/

RUN cd /opt/java/healthcenter/ && \
    jar xvf healthcenter.zip && \
    cp jre/lib/amd64/* /opt/java/openjdk/lib/ && \
    cp jre/lib/healthcenter.properties /opt/java/openjdk/lib/healthcenter.properties

ENV OPENJ9_JAVA_OPTIONS="-Xbootclasspath/a:/opt/java/healthcenter/jre/lib/ext/healthcenter.jar"

Running:
$ docker build -t adoptopenjdkopenj9healthcenter .
[...]
$ docker run adoptopenjdkopenj9healthcenter java -Xhealthcenter:level=headless -version
[Mon Mar 25 20:45:23 2019] com.ibm.diagnostics.healthcenter.headless INFO: 3.0.10
[Mon Mar 25 20:45:23 2019] com.ibm.diagnostics.healthcenter.headless INFO: Headless data collection has started
[Mon Mar 25 20:45:23 2019] com.ibm.diagnostics.healthcenter.headless INFO: Agent will keep last 5 hcd files
[Mon Mar 25 20:45:23 2019] com.ibm.diagnostics.healthcenter.headless INFO: Headless collection output directory is /
openjdk version "12" 2019-03-19
OpenJDK Runtime Environment AdoptOpenJDK (build 12+33)
Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.13.0, JRE 12 Linux amd64-64-Bit Compressed References 20190320_41 (JIT enabled, AOT enabled)
OpenJ9   - caeb51f87
OMR      - 33a33ff2
JCL      - 419f571019 based on jdk-12+33)
[Mon Mar 25 20:45:23 2019] com.ibm.diagnostics.healthcenter.headless INFO: Creating hcd import file //healthcenter250319_204523_1_1.hcd
[Mon Mar 25 20:45:23 2019] com.ibm.diagnostics.healthcenter.headless INFO: hcd import file //healthcenter250319_204523_1_1.hcd created

FYI @pshipton

I suppose putting the healthcenter.jar on the bootclasspath avoided the need for -Dsun.rmi.registry.registryFilter=javax.**

Is this an actual issue with the AdoptOpenJDK binary or the IBM HealthCenter product?

I'm not part of the Java team, so I'm not sure exactly how everything is scoped, but I believe the issue is that HealthCenter is not shipped with OpenJ9 as it is with IBM Java. The above is a workaround of downloading and placing HealthCenter into OpenJ9. As it stands, I don't think there's any technical issue with OpenJ9, but rather an open question of whether OpenJ9 will ship with the HealthCenter agent at some point. I believe there will be many customers that will be reluctant to move from IBM Java to OpenJ9 until HealthCenter is available.

After checking with the OpenJ9 team this issue should be reported to the IBM health center project.  Closing here.

Also related (Health Center query)  https://github.com/AdoptOpenJDK/openjdk-docker/issues/104


Panic on invalid command line arguments

It seemed really odd that the pulldown-cmark executable panics when the command line arguments passed are not recognized. (More surprising even when the arguments which failed were --help and -h)
I would propose two things:

Add a command line option which prints the command line help menu to standard output (h, help would probably be in line with the current command line options style)
Handle the invalid command line arguments case by:
a) printing a short message to standard error which contains at the very least the command to access the help information and
b) exiting with an error code such that scripts which call the executable can react to the error

I would love to know what you think about this proposal:

if it is valid, what could be improved to make it great
if it is invalid, what are the drawbacks and what are better alternatives and why (one of the alternatives is, of course, the current state)

If desirable, I would be happy to contribute by implementing this change.

Since clap has been seeing much more love from the ecosystem than getopts, would it be acceptable to move to it?


Explanation about VDI instance/device is difficult to understand

The section about VDI devices/instances and persistent and non-persistence is hard to read and understand. Would be great if you could rewrite it and use a better understandable and stringent terminology if possible.
Here the mentioned section:

https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/configure-endpoints-vdi?view=o365-worldwide#:~:text=Onboarding non-persistent virtual desktop,one for each VDI instance.

Furthermore, it would be great if you could add some information regarding when to use VDI with single entries in the MDE portal and when to use multiple entries from a Microsoft perspective.

Full section about VDI

https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/configure-endpoints-vdi?view=o365-worldwide#:~:text=Onboarding non-persistent,Endpoint sensor onboarding.

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

ID: ef5b23fe-37ce-e3b0-ad76-55a416eaa865
Version Independent ID: 26becb70-47ff-38fe-592f-99d84f6aba12
Content: Onboard non-persistent virtual desktop infrastructure (VDI) devices
Content Source: microsoft-365/security/defender-endpoint/configure-endpoints-vdi.md
Service: microsoft-365-security
Sub-service: mde
GitHub Login: @siosulli
Microsoft Alias: siosulli

@siosulli Please help us in resolving this issue. Thanks

Thanks @kathodion for the feedback. We are working on this documentation at the moment so I will make sure to include your specific feedback when updating the particular article.
Thanks,
Sinead

@siosulli, Thank you for the update. Looking forward to the updated parts.

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Clearing only sets the ZITEM field to NULL in ZHISTORYITEMCONTENT

Hi,
Firstly, thanks for this great piece of software, I really appreciate it! This issue is only raised as an observation and no criticism is implied.
I would expect that clearing would remove all the clipboard data records from the sqlite database. However, on inspecting the database, it appears that only the ZITEM field is set to NULL for all records in the ZHISTORYITEMCONTENT table. I am not sure if this is to be expected? I would be happier with this if the database could be encrypted, but as this is not currently the case it might be easier to create a script to delete all the records in the ZHISTORYITEMCONTENT table as a work around.

Oh, you are right. This should definitely be fixed. The problem is that https://github.com/p0deje/Maccy/blob/master/Maccy/History.swift#L40-L43 only removes HistoryItem, but it should first iterate of item's HistoryItemContent and remove them too.

I am worried that this issue may not have been resolved - I am now on Version 0.20.1 (6), but still see the previously stored content upon inspecting the database after clearing maccy.

It's been fixed but not released yet. Will be available in 0.21.0.

@p0deje Thanks for the info. I believe this is a security vulnerability that should be fixed and pushed promptly, this has been delayed for too long now. Also, I think a migration should be included to clean up content that was previously persisted in error.

As I briefly mentioned in #151, I'm still experiencing this issue, although I'm not sure why it happens. If I open the database (which is at path ~/Library/Containers/org.p0deje.Maccy/Data/Library/Application Support/Maccy/Storage.sqlite) after some hours of normal usage, I can find some deleted entries in the ZHISTORYITEMCONTENT table. However, trying to reproduce the problem is difficult, because it seems like most of the times entries are correctly deleted. I couldn't find a pattern.
It may be helpful if other users checked their database and confirmed whether they still see deleted entries in ZHISTORYITEMCONTENT.


Several links broken in README

The current build workflow that is run for PRs is broken, because the link checker is not able to resolve links in the LICENSE file (it gets a 403 presumably in effort to avoid scraping). Additionally one for intels TBB seems to no longer work, see e.g.
(         LICENSE: line    3) broken    https://opensource.org/ - 403 Client Error: Forbidden for url: https://opensource.org/
(         LICENSE: line    3) broken    https://opensource.org/license/apache-2-0/ - 403 Client Error: Forbidden for url: https://opensource.org/license/apache-2-0/
(how-tos/key4hep-tutorials/edm4hep_analysis/edm4hep_api_intro: line   12) ok        https://key4hep.web.cern.ch/podio
(    CONTRIBUTING: line   16) ok        https://reflectoring.io/github-fork-and-pull/

https://github.com/key4hep/key4hep-doc/actions/runs/12049862155/job/33597515436

Hmm I can't reproduce this locally
(talks-and-presentations/README: line   22) ok        https://indico.cern.ch/event/934666/contributions/4154228/
(  how-tos/README: line    3) ok        https://key4hep.github.io/key4hep-doc/tutorials/README.html
(         LICENSE: line    3) ok        https://opensource.org
(         LICENSE: line    3) ok        https://opensource.org/license/apache-2-0/
(developing-key4hep-software/SpackForDevelopers: line   60) ok        https://spack-tutorial.readthedocs.io/en/latest/tutorial_developer_workflows.html

Fixed by #79


Adding new setting -ChannelRecordingDownload

Adding the new setting we added to support block download of channel meetings. We plan to tell customers about this new setting this week and would like this help doc updated and published as soon as possible.

Docs Build status updates of commit efba001:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsTeamsMeetingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@yogkumgit this came in and I asked Dario to review before I have it merged.

Docs Build status updates of commit 99cb598:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsTeamsMeetingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 638abfc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsTeamsMeetingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@dariomws  - Just curious do you know why this document has the options for the command listed 2 times at the top of the document. I added our new one in both sections but don't understand why it's duplicated.

@MarcMroz they are not exactly the same parameters. They are different parameter sets. They differ at least in the parameters -Identity and -Instance.
I hope this explanation helps.

Thank you so much for the review and help on this. When will this be pushed to live?

@MarcMroz it should be live in a few hours.


Community identifier box cannot be edited

Package version (if known):
In RDM 9.1 using the packages:

invenio-communities==2.8.8
<EMAIL_ADDRESS><EMAIL_ADDRESS>
Describe the bug
We found that we could not create new communities in a 9.1 instance that had previously worked, because it was not possible to enter an identifier for the new community.
The instance had initially worked fine, and several communities had been created. An assets rebuild seems to have pulled in minor updates with breaking changes.
Expected behavior
It should be possible to fill in the identifiers box so that new communities can be created.
Screenshots (if applicable)

In prodution mode nothing is logged in the browser console - the box is simply uneditable. Note that the community URL is completed with [object Object] if you attempt to make any entry into the Identifier input, which is probably a useful clue.
Additional context
By comparing to another instance, I was able to acertain that pinning:

<EMAIL_ADDRESS><EMAIL_ADDRESS>
gives a working webpack (I suspect the formik pin may not be required, but have not investiaged further).

(I now see I could also have updated invenio-communities to 2.8.9...)


More refactoring to image import controller

@soltysh i did some more cleanup in the code to make this controller more readable for humans...

Not needed, this is entirely re-written in https://github.com/openshift/origin/pull/13835.

@soltysh i based it on top of that PR (saving time making comments ;-)

OMG, I'm blind, now I've noticed it's against my branch. Sorry ;)


As a developer, I can utilize the fast Fourier transform so that I can convert the audio of the music into a visual

TBD

Tasks

Creating the FFT function
Performing the FFT function on selected data
Converting the FFT output to a readable output for the visuals
Utilizing the .wav or .mp4 as input
Dividing the input data into time slices - this is the "selected data"


Add M6G, C6G, R6G and R6GD constants for Elasticsearch data and master nodes.

https://aws.amazon.com/about-aws/whats-new/2021/05/amazon-elasticsearch-service-offers-aws-graviton2-m6g-c6g-r6g-r6gd-instances/
https://aws.amazon.com/elasticsearch-service/pricing/

Thanks!


Roadmap to implement new facebook messenger 1.1 features like quickreply?

Hi,
Is there any plans to implement new feature  like "quick reply" for facebook in Botbuilder?
http://messengerblog.com/bots/messenger-platform-1-1-ratings-quick-replies-account-linking-and-more/
Thanks,

We're definitely interested in providing support for quick replies/keyboards in the Bot Framework.  In addition, Steve may have additional thoughts about the constructs we'd use in the BotBuilder.

+1 for account linking, i've been trying it out however not getting through the Account Linking Callback message.

we're trying to get a few bugs with 3.0 of the SDK ironed out and then we'll be looking into adding support for these new features.

Is there a way to listen for the event with v1? Apparently the callback is not even forwarded to my endpoint after the linking is successful by Facebook.

Are you also thinking about adding Facebook Messenger Persistent menu & Welcome screen as new features?

Closing this issue. @Stevenic @jameslew - please comment if you have something to add relating to @davyme's question. Thanks!

The Node SDK supports both.

Thanks @Stevenic for the feedback. Any plans for the C# SDK?

It will be coming soon

@Stevenic , Any updates on quick replies implementation in c# sdk?

@msft-shahins is a C# implementation planned?

@danmarshall It is in our backlog.


The UX is broken with v2.3.0 of @github/combobox-nav dependency

A quick report that v2.3.0 of @github/combobox-nav and the new scrollIntoView broke the UX of @github/text-expander for me. It would push the expanded <ul> to the top of the screen. Also, when I scroll down with the keyboard over the available options (<li> elements), it would try to move the highlighted element to the top of the screen. After spending a few hours debugging what's the core of the issue, I noticed that the undesirable UX happens after the combobox-nav dependency of text-expander is upgraded to v2.3.0.
I think this is the PR that's bugging the behaviour https://github.com/github/combobox-nav/pull/75
If someone else is facing this issue, my solution was to fix combobox-nav to v2.2.0 through "resolutions" section of package.json.

Would you kindly provide a reduced test case and we can look into it.

Here is the sample for the bug:

https://github.com/go-gitea/gitea/issues/28595

It should use "nearest" behavior IMO.

If you want to raise a PR with the default to nearest I'd happily merge and release, and hopefully it resolves the issue.

Use "nearest" behavior for scrollIntoView #79
Does it look good to you? Feel free to edit it directly or replace it. Thank you.

https://github.com/github/combobox-nav/releases/tag/v2.3.1


⚠ Bofrost.be has degraded performance

In 0d78ffc, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1350 ms

Resolved: Bofrost.be performance has improved in a8d5398 after 2 minutes.


board power button notification API

@bkueng , @LorenzMeier

Defined types and interface to support a notification call back on power button events.
tap: Added support for notification call back on power button events with the a default handler.

I have some questions/concerns:

I agree we need a consolidation and feel free to rename or rework any of it. Let me just share my perspective and some of the issue I see. I am using commander as the point of control below but that can be any HLL module.

is there a semantic difference between px4_board_pwr and board_shutdown? Do we really need both?

There is at the moment. We have HW that has a single GPIO control that works to Power On and Off the system.
We have other HW that has a GPIO to control the power ON of the system. But can not control the power down other than to, signal the bootloader, release its hold on that GPIO and to a reset, then rely on the bootloader to not re-enable the power.
We will also have smart battery control that will be different.
We probably need to further define and decouple things a bit.
We should remove px4_board_pwr as a public API point.
In it place we will have board_set_power(bool on_true) - it just controls the GPIO and may or may not be used by higher level code.
Based on the defines  BOARD_HAS_POWER_CONTROL and BOARD_HAS_POWER_SWITCH we have different operational scenarios. I am not clear on if the board will define anything for smart battery.
When BOARD_HAS_POWER_CONTROL is defined the board can turn on / off the system
It provides:
board_shutdown() - this may just call board_set_power(on_true) or do other heroics.
board_set_power(bool on_true) - simple power control of an GPIO.
When BOARD_HAS_POWER_SWITCH is defined the board can notify the system of a power switch state
It  provides:
board_register_power_state_notification_cb - registration of the receiver of the call back. (see below)
it call out to that call back with non filtered the button states and does the timer work needed for a button up sending a PWR_BUTTON_REQUEST_SHUT_DOWN .

I think the callback will always be the same for the whole system (initially just waiting for the logger, later maybe more). Thus the question: do we need it? Or would a fixed funtion do it?

Yes. - I think we do need it. Because the phases the system comes up in, dictates a staging.
Power on
V
--------> 1) We can only set GPIO
--------------->2) OS init
---------------> 3) hook and arm GPIO based ISR.
---------------------->4) Init the cpp
----------------------------->5) run init and rcS
------------------------------------------>6) Commander ready

It would not be good for an ISR to call into high level code until it is fully initialized (post 6). While I imagine that the HLL code could be programed with a defensive, a simpler fool proof approach is to have that HLL code register when it can control the system. 2) Until then the default int the board code will take care of a shut down if thing do not go well we can still power off.

I think we should also add a time threshold to  board_register_power_state_notification_cb that replaces the hard coded constant MS_PWR_BUTTON_DOWN in the timer. MS_PWR_BUTTON_DOWN would be the default until the registration is called. Then the app can dictate the button held down time before the  PWR_BUTTON_REQUEST_SHUT_DOWN is sent on the button up.

This also does not consider other calls, such as the px4_board_pwr call from commander

When BOARD_HAS_POWER_CONTROL is defined the commander can call board_shutdown(false, false) and it will power down the system.
If a system has a smart battery, then it is a different level of control and not in the purview of the board code.
If a system does not have BOARD_HAS_POWER_CONTROL lit, or a smart battery, I think commander needs to deal with it differently. If commander just calls board_shutdown(false, false) and a board does not support power control. I guess it could just return and commander will have to deal with it (yeah no if def!), or the board code could just disable interrupts and halt, but I think it is better not to make a decision like that in low level board code. If the board code to just rest, when the system hits a low battery conditions or the system just keep resetting. (That may just happen anyway as the battery rolls off)
Also keep in mind that on FMUv5 we are supposed to log the system voltages including the CPU falling into power fail. The power going down will have to interrupt the CPU. Then the CPU has to get that event logged. If we have sufficient hold up time (TBD), we can use the normal logging channels. If not we need to use bbsram, like we do for hard faults. Then recover and log that data on the next power up.

and px4_systemreset (reboot.c command, calling board_system_reset). They should IMO also use the callback.
Are you referring to board_shutdown(bool, bool)?

Nuttx now provides an arch specific reset API. I would like to use it. But we need 2 steps. The first step conditions the reset with board_set_bootload_mode the second phase calls the arch specific reset API. This can be wrapped with any api you would like, board_shutdown(bool, bool) would work, but what does board_shutdown(false, false) do on HW with no BOARD_HAS_POWER_CONTROL?
Just keep in mind ALL PX4 systems will support the reset at the board API and be able to enter the bootloader. Not all PX4 systems will support power control, or switch notification.
Thoughts?

If the callback is used to ensure correct initialization order, then I agree it's a good way to do it.
If the system does not have BOARD_HAS_POWER_CONTROL, then I think so too, board_shutdown(false, false) should return an error and higher level code should deal with it. If the system does not provide the functionality, it simply cannot satisfy the request, and it depends on the situation what the best alternative is.
With that, I then see nothing standing in the way of a combined API int px4_shutdown_request(bool, bool). The power button callback would then just call this with (false, false).

Also keep in mind that on FMUv5 we are supposed to log the system voltages including the CPU falling into power fail.

Interesting, I didn't know that. But I think it should not confict with the proposed API.
Thanks for the info. I'll rework this then.

@davids5 I reworked and extended this, please have a look. There is now a single public API call px4_shutdown_request(bool reboot, bool to_bootloader) which maps to the lower-level board API calls board_shutdown and px4_systemreset. px4_board_pwr got removed.
In addition, modules can register a shutdown hook, currently used by the logger. It takes around 40ms for the logger to properly shutdown, so I set a max timeout of 300ms.
The power button callback still needs to be tested on HW.

@bkueng, It looks perfect!

Thanks! I just saw the CI error:
../src/platforms/common/shutdown.cpp:49:22: error: variable 'work_s shutdown_work' has initializer but incomplete type
 static struct work_s shutdown_work = {};

for px4cannode-v1_default. Seems the work queue is not enabled there and we have to ifdef it... unless you see a better alternative?

@bkueng - The px4cannode is the minimal uavcan node. It has RAM/FLASH limitations and does not support the worker queue. It has to use the system reset to reset the node to do the UAVCAN upgrade.
So I think I think the high level code need to be optional.

I ifdefed the work queue and tested the power notification callback.


[Feature Request] Custom workspace branding

So we have quite a few projects, giving each project/workspace a unique background colour or even a custom image/logo would really help to differentiate between them. I imagine it could look something like this:

This has the additional benefit of adding an optional splash of colour to some of the more monochrome themes - I tend to prefer light themes these days! 😃

@gschier

Might be nice to use text shadow for this, ala https://codepen.io/ben-eb/pen/Nogrge
They could be synced, sure. For non-team usage/exporting data it could be an absolute path to the file.
Not quite sure on this one, my initial thought would be to have another tab in the workspace settings that would have background colour and image options.


[[rancher/rancher] Link to slack webhook instructions should be a new window

In rancher 2.0 adding Slack notifier the link to the slack docs page should open in a new tab/window.

Master 6/7/18. Verified instructions open in new tab.


cannot import 'run' (aio_compat.py) (fails in local environment using VSCode)

I have created new  empty http-trigger Azure Function in VSCode to check (in another folder). I have the same problem when starting function in debug mode. My file with code is closing and   I have an error with opening aio_compat.py
Exception has occurred: ImportError
cannot import name 'run'
File "c:\users\rutikhal\appdata\roaming\npm\node_modules\azure-functions-core-tools\bin\workers\python\3.6\windows\x64\azure_functions_worker\aio_compat.py", line 84, in
from asyncio import run, get_running_loop  # NoQA
File "c:\users\rutikhal\appdata\roaming\npm\node_modules\azure-functions-core-tools\bin\workers\python\3.6\windows\x64\azure_functions_worker\main.py", line 6, in
from . import aio_compat
File "c:\users\rutikhal\appdata\roaming\npm\node_modules\azure-functions-core-tools\bin\workers\python\3.6\windows\x64\worker.py", line 59, in
from azure_functions_worker import main
if I press F5 I have  another
Exception has occurred: ModuleNotFoundError
No module named 'grpc_tools'   opening another file
Exception has occurred: ModuleNotFoundError
No module named 'grpc_health'
Exception has occurred: ModuleNotFoundError
No module named 'grpc_reflection'
Exception has occurred: ImportError
cannot import name 'enable_deterministic_proto_serialization'
Yes, after that my code is opened again.
But it should not work like this. I have not updated anything from yesterday.
Originally posted by @Rutikhal in https://github.com/Azure/azure-functions-python-worker/issues/481#issuecomment-641796097

it seems that it is really ms-python.python ( Python extension in VSCode)  issue, because my workaround was to uninstall ver. 2020.5.86398, disabled autoupdate of extensions in VSCode, install manually one of the previous version 2020.5.80290 of this ext. using link from this case
https://github.com/microsoft/vscode-python/issues/12217

VSCode has just released the latest version (2020.5.86806) of Python Extension .
Please update the extension to the latest version and it will fix this issue.


improving traverse running order against lists of functions returning tasks

This pull request, is to solve #9,  indeed make no observable difference for almost all scenarios. It just bother me sometimes when debugging.
Given the following passed unit case. Only the running order are reversed when traverse with functions returning tasks.
  it('traverses the list of tasks returning Task', (done) => {
    const Task = require('data.task')
    const buildTask = (n) => new Task((rej, res) => {
      console.log(n) // --> prints 3 2 1, showing it runs in reverse order
      res(n)
    })

    const listOfFns = List.of(()=>buildTask(1), ()=>buildTask(2), ()=>buildTask(3))
    listOfFns.traverse(Task.of, f => f())
    .fork(done, x => {
      assert.deepEqual(x, List.of(1,2,3)) // --> it returns in right order
      done()
    })
  })

Thanks!


Status Pages editable Meta Tags

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
Other
🔖 Feature description
I would love to see a feature to add custom Meta tags to a service page, this would allow us to costumize the content of the link when shared in other applications like discord as seen below.

✔ Solution
This would allow use more customization inside the link highlights in other applications, maybe it dosen't need to be too complicated and could be something similar to the Custon CSS feature, i've included a little example below of how a meta tag would look like which edits a specific element
Example Meta tag for discord or other applications:
<meta data-n-head='ssr' data-hid='theme-color' name='theme-color' content='#00dbd8'>
This would change the link highlight in discord (the little sidebar in the image) to the color "#00dbd8"
<meta data-n-head='ssr' data-hid='og:title' name='og:title' content='Uptime Panel!'>
This would change the title of the link, in the image it would change the "Uptime Kuma" to "Uptime Panel!"
❓ Alternatives
No response
📝 Additional Context
You could also manually edit the Pages to your likely using the source code but this is not possible within docker, thats why im reqesting this feature.
Also, i am sorry for any misspells or anything, i am bad at english and trying my best to write this up

Are we able to edit the meta tags then after the release or is it not possible yet when the linked pr will be released?


Copy database

Hi!
Is there a way to copy full database? When I copy database file, all it's data is lost.
I see db.snapshot() method and that's like what I need, but I couldn't find a way to save this snapshot to file.
If its not possible, is there a way to copy full collection inside db?

Right now there is no way to copy database. If you copy file, make sure that DB is closed.
This feature is easy to implement by copying binary Volumes, but there is no public function for that yet.


Fix: Address print strings regression from PR #175

Fixes #183
Microsoft Reviewers: Open in CodeFlow

Thanks @sylveon


Press release for hurricane efforts

Need to pull together a press release around the hurricane blog post and civic camp details to be shared with News 14 and N&O

https://docs.google.com/document/d/1XYZ-qqKHLzNmO0OrAR0p07Rxat4Lm1TkwO3K5sKG92Y/edit?usp=sharing

@zachambrose  and @jmpmcmanus - ready to share with News 14 and News & Observer


Change inputs based on variable

Hi!
Quick question on this great module which I use nearly daily.
What would be super helpful is to be able to change input sources, eg. for keyers or supersource based on variables.
Case in point - I put Input 5 on preview and then press a button which takes the active input on preview (in that case input 5) and assigns it to eg. supersource box 1.
I guess what I'm asking is for the input dropdown to accept variables in addition to the fixed list of input sources.
Possible?
Thanks already,
Daniel

I'm not keen on having stuff like this in the module, but until the core of companion has support for it I shall consider it.
What would you expect that variable to look like? One of the existing ones from this module?
The problem I see with stuff like this is:

The current variables contain the user defined input names. The same name could be used for multiple, meaning we could use the wrong one
The raw input numbers are from a technical side a great and easy to work with option, but those are weird numbers (eg, SuperSource 2 is 6002). New variables would be needed to output these numbers
It could be limited to work based on the 'default' input names, but then some parsing logic will be needed to interpret these strings. New variables would be needed to output these numbers

I guess the default ones are good and maybe the raw input numbers for the tech savvy people. For me personally it’s only preview on ME1, but mileage might differ for other folks.

Any update on this?
I would like to use this functionality to make a quick stinger by capturing the current Program Input, changing to Camera 4 (looping graphic and audio), then run Auto Transition, and fix the Preview Input back to the old Program output.
As far as potential for name collisions, if you have 2 inputs with the same name, then you deserve to get whacky behavior, IMHO.
There also is the challenge that the name I fetch from the $(atem_mini:pgm1_input) variable is the short name, but the dropdown uses the long name. I'll check if there is a separate issue and raise if needed to get $(atem_mini:pgm1_input_long, etc.) added.


Quote Engine Non-CDN Retrieval

Too tired today... still WIP. I will update this later.
Update: Done everything. Finally!

@wazaundtechnik since you said using raw Github is enough for our usage, is this PR still relevant?

This PR allows hot reload every arbitrary interval (default to 5
minutes). Previously, reload only happens on program startup. So yes,
this PR is still relevant.

@wazaundtechnik wow that's cool. okay then. can @fushar take a look at this PR too? now that we have another user (beside our own group) maybe it's time to work on this again hehe.