New FCM API

Describe the bug
Hi,
I'm using an old version of your SDK (5.x) embedded in my company app skeleton with the aim to migrate to the new 7.x release as soon as possible.
Today we receive the following message from google:

Hi Domenico,
We’re writing to remind you that starting June 20, 2024 the legacy Firebase Cloud Messaging (FCM) APIs will be discontinued. This change will cause the legacy APIs to return an increased number of error responses.
The discontinued APIs will be completely shut down by July-August 2024.

Does version 5.x support the new FCM APIs or is mandatory to migrate to last release?
Thanks,
Domenico
Installed packages
kreait/clock                        1.2         A PHP 7.0 compatible clock abstraction
kreait/firebase-php                 5.26.5      Firebase Admin SDK
kreait/firebase-tokens              1.17.0      A library to work with Firebase tokens

PHP version and extensions
ext-amqp                2.1.1     The amqp PHP extension
ext-apcu                5.1.22    The apcu PHP extension
ext-bcmath              8.2.8     The bcmath PHP extension
ext-bz2                 8.2.8     The bz2 PHP extension
ext-calendar            8.2.8     The calendar PHP extension
ext-ctype               8.2.8     The ctype PHP extension
ext-curl                8.2.8     The curl PHP extension
ext-date                8.2.8     The date PHP extension
ext-dom                 20031129  The dom PHP extension
ext-exif                8.2.8     The exif PHP extension
ext-ffi                 8.2.8     The FFI PHP extension
ext-fileinfo            8.2.8     The fileinfo PHP extension
ext-filter              8.2.8     The filter PHP extension
ext-ftp                 8.2.8     The ftp PHP extension
ext-gettext             8.2.8     The gettext PHP extension
ext-hash                8.2.8     The hash PHP extension
ext-iconv               8.2.8     The iconv PHP extension
ext-igbinary            3.2.14    The igbinary PHP extension
ext-imagick             3.7.0     The imagick PHP extension
ext-intl                8.2.8     The intl PHP extension
ext-json                8.2.8     The json PHP extension
ext-libxml              8.2.8     The libxml PHP extension
ext-mbstring            8.2.8     The mbstring PHP extension
ext-mysqli              8.2.8     The mysqli PHP extension
ext-mysqlnd             0         The mysqlnd PHP extension (actual version: mysqlnd 8.2.8)
ext-openssl             8.2.8     The openssl PHP extension
ext-pcntl               8.2.8     The pcntl PHP extension
ext-pcre                8.2.8     The pcre PHP extension
ext-pdo                 8.2.8     The PDO PHP extension
ext-pdo_mysql           8.2.8     The pdo_mysql PHP extension
ext-pdo_sqlite          8.2.8     The pdo_sqlite PHP extension
ext-phar                8.2.8     The Phar PHP extension
ext-posix               8.2.8     The posix PHP extension
ext-random              8.2.8     The random PHP extension
ext-readline            8.2.8     The readline PHP extension
ext-redis               5.3.7     The redis PHP extension
ext-reflection          8.2.8     The Reflection PHP extension
ext-session             8.2.8     The session PHP extension
ext-shmop               8.2.8     The shmop PHP extension
ext-simplexml           8.2.8     The SimpleXML PHP extension
ext-soap                8.2.8     The soap PHP extension
ext-sockets             8.2.8     The sockets PHP extension
ext-sodium              8.2.8     The sodium PHP extension
ext-spl                 8.2.8     The SPL PHP extension
ext-sqlite3             8.2.8     The sqlite3 PHP extension
ext-sysvmsg             8.2.8     The sysvmsg PHP extension
ext-sysvsem             8.2.8     The sysvsem PHP extension
ext-sysvshm             8.2.8     The sysvshm PHP extension
ext-tokenizer           8.2.8     The tokenizer PHP extension
ext-xdebug              3.2.1     The xdebug PHP extension
ext-xml                 8.2.8     The xml PHP extension
ext-xmlreader           8.2.8     The xmlreader PHP extension
ext-xmlwriter           8.2.8     The xmlwriter PHP extension
ext-xsl                 8.2.8     The xsl PHP extension
ext-zend-opcache        8.2.8     The Zend OPcache PHP extension
ext-zip                 1.21.1    The zip PHP extension
ext-zlib                8.2.8     The zlib PHP extension
lib-amqp-librabbitmq    0.10.0    AMQP librabbitmq version
lib-amqp-protocol       0.9.1     AMQP protocol version
lib-bz2                 1.0.8     The bz2 library
lib-curl                7.68.0    The curl library
lib-curl-libssh         0.9.3     curl libssh version
lib-curl-openssl        <IP_ADDRESS>   curl OpenSSL version (<IP_ADDRESS>)
lib-curl-zlib           1.2.11    curl zlib version
lib-date-timelib        2022.07   date timelib version
lib-date-zoneinfo       0         zoneinfo ("Olson") database for date
lib-fileinfo-libmagic   540       fileinfo libmagic version
lib-iconv               2.31      The iconv library
lib-icu                 66.1      The ICU unicode and globalization support library
lib-icu-cldr            36.1      ICU CLDR project version
lib-icu-unicode         13.0.0    ICU unicode version
lib-icu-zoneinfo        2024.1    zoneinfo ("Olson") database for icu
lib-imagick-imagemagick <IP_ADDRESS> The imagick-imagemagick library
lib-libsodium           1.0.18    The libsodium library
lib-libxml              2.9.14    libxml library version
lib-libxslt             1.1.34    The libxslt library
lib-libxslt-libxml      2.9.10    libxml version libxslt is compiled against
lib-mbstring-libmbfl    1.3.2     mbstring libmbfl version
lib-mbstring-oniguruma  6.9.4     mbstring oniguruma version
lib-openssl             <IP_ADDRESS>   OpenSSL 1.1.1f  31 Mar 2020
lib-pcre                10.40     The pcre library
lib-pcre-unicode        14.0.0    PCRE Unicode version support
lib-pdo_sqlite-sqlite   3.31.1    The pdo_sqlite-sqlite library
lib-sqlite3-sqlite      3.31.1    The sqlite3-sqlite library
lib-zip-libzip          1.7.3     The zip-libzip library
lib-zlib                1.2.11    The zlib library
php                     8.2.8     The PHP interpreter
php-64bit               8.2.8     The PHP interpreter, 64bit
php-ipv6                8.2.8     The PHP interpreter, with IPv6 support

Steps to reproduce the issue.
# Insert the commands issued in the terminal if they are needed
# to reproduce the issue. Otherwise, delete this code block.

// Insert the PHP code to reproduce the issue. Please ensure that it is code that
// can be copy pasted to reproduce it.

Error message/Stack trace
No error message, my message is simply a compatibility request

Additional information
No response

Version 5.x supports the new FCM API, so you don't need to upgrade the SDK right away 🥳

What about version 2.x?

You can't be serious 🤡

Unfortunately yes. We use custom library to send notifications. When getting the email about the legacy Api termination, just find out the library using kreait/firebase-php  v2. Can I know what the minimum version we need to upgrade so it use new firebase http api?

Version 2.x doesn't even include support for FCM

Hello,
Back in December, when Google began sending email about the discontinuation, the email sent to me contained :
"Your recent usage of impacted APIs/features: Batch send API"
Decommissioned service:
Including multiple send requests in a single HTTP request to FCM known as Batch Send.
New alternative:
Send messages via the HTTP v1 API, which has been optimized for fanout performance
I am using version 6.1, and I don't think I do some Firebase Cloud Messaging myself anywhere else.
Any idea of why I received this message ?

Up to 6.x, the SDK uses the HTTP v1 API for single messages and the batch API for batch/multicast messages (the sendMulticast() and sendAll() methods, if I remember correctly.
@domenico-renna I think I must retract my previous message 😕
I'm not a 100% sure, but I don't have the time or opportunity to search right now...

That makes sense, thank you.
I'm in the process of upgrading to 7.12, fortunately we have one more month to do that.
The most annoying thing is that I have to upgrade the php engine from 7.4 to 8.1 which might need a few changes here and there (well the main problem I had yet was just a deprecation warning, in fact).

Upgrading PHP versions, thankfully, has become much less of a pain, in my experience, it sounds as if you had a well-maintained code base, if all you got is a deprecation warning 😅
I'm trying to make upgrading the SDK as painless as possible as well - as long as you're not doing some fancy things, it should be quite easy. I hope 😅

Version 2.x doesn't even include support for FCM 😅

sorry see wrong packages. It's midnight time when I last reply. Anyway, below is correct version
kreait/firebase-php                          5.26.5              Firebase Admin SDK
kreait/laravel-firebase                      2.4.0               A Laravel package for the Firebase PHP Admin SDK

So i need to upgrade to kreait/laravel-firebase v4.x and kreait/firebase-php v6.x to be safe? Currently Im using php 8.0

Ah, got it! You should be safe with your current versions, since your using 5.x of the SDK 🤞🏻

I am using version 4.44.0, do I need to update it?

Yes. If you scroll up, you can see that you'll need at least version 5.

Yes. If you scroll up, you can see that you'll need at least version 5.

In my application, I send Cloud Messages using the sendAll method. In that case, wouldn't it be true that the sendAll method using https://fcm.googleapis.com/batch cannot be resolved even in Ver5?

Uh!  I just thought of the API for sending single messages.
If you use the sendAll() or sendMulticast() methods, you indeed need to upgrade to the latest version of the SDK.


Create olmCatalogDir if doesn't exists in deploy/

If olm-catalog/ is removed from deploy/ dir, olm-catalog generation
fails. This change creates deploy/olm-catalog/ dir if it doesn't exist
and avoids failure.
Fixes #495

Thanks for the PR!

@AlexNPavel Can you double check why the CI is failing for the openshift cluster. It's failing to set that up.

It looks like travis simply failed to download the oc binary. I'll restart the build, see if it works now

@hasbro17 the most recent run on travis worked. Seemed to be some temporary network issues

LGTM after nit.

It felt weird to me as well to use return instead of fatal, but I tried to be consistent with the other tests. I've updated it and added it as part of the previous commit.
Didn't change to "failed to write file and print:" because check_error_case.sh expects all the Errorf and Fatalf to start with an uppercase.
Hope it's ready :)

Thanks for the fix. I've updated the commit message a bit according to our convention.
https://github.com/operator-framework/operator-sdk/blob/master/CONTRIBUTING.MD#format-of-the-commit-message

@darkowlzz not really check_error_case.sh ensure the first character is lower cased.


Misleading indentation of some TOC entries

Some items/levels in the TOC are shown with the wrong indentation, hindering readability - for example:

In the screenshot, the Terra organization entry is visually at the same level as Overview, but the real hierarchy is:
Qiskit Terra
    Overview
        Terra Organization
    The Quantum Circuit
    ...

Pinging @Borjagodoy - can you double check the relevant parts of the theme for the TOC? Please note that there might be other oddities potentially related, such as the indentation for an "entry that has subentries" vs the intentation for an "entry that has no subentries".
Also, it seems the original theme already had the collapsing/expanding functionality baked in by default (on the sample site, with some circles around the arrows and no extra changes) - can you evaluate if we can reuse it directly, instead of tuning the html and CSS?

Following up on the last bit of the comment, currently there are two <div class="globaltoc"> entries, which might be related. Since each one takes up ~40kb (and we end up producing ~400 files), can we also look into removing this duplicity, as it is also causing some minor issues in non-javascript enabled browsers?


[prim] Add time-out functionality to prim_clock_meas

prim_clock_meas can now also detect if a clock has stopped.
This is done for 2 reasons:

clkmgr needs to have both clock presence and accuracy detection.  The former was missed in a previous PR.

The same module will be re-used for #8658, which needs a time-out mechanism.

Signed-off-by: Timothy Chen<EMAIL_ADDRESS>

@matutem should i file an issue to track the DV of this?
It's really really simple (in theory). Also, do we want to apply the same handling that @weicaiyang has done with prim_count?
I don't think it's really necessary yet since this module will be used in only 2 places, and we can directly test them.

@matutem should i file an issue to track the DV of this? It's really really simple (in theory). Also, do we want to apply the same handling that @weicaiyang has done with prim_count? I don't think it's really necessary yet since this module will be used in only 2 places, and we can directly test them.

The prim_count test method is to force the internal signals in the prim. Looks like those 2 clocks can be driven at clkmgr input pins. we probably want to drive on the input pins, rather than use the prim_count method that binds an interface to the prim and force internal signals.
Also, this timeout triggers recoverable alert rather than fatal alert.
WDTY? @matutem


Update/Add Select Component

💬 Description
Adds a <Select /> component to GUI, built on top of react-select. Required for the following designs: https://www.figma.com/file/nYWpuGuUnmpPMm0E4x0cKY/Fixed-Toolbar?node-id=432%3A32
We don't have a <Select /> definition in GCDS yet, but this implementation has been left open to change when that time comes.

Creates <Select /> component. API is exactly the same as react-select

The chunky function called mergeDefaultStyles merges two sets of react-select style objects, so we can pass the styles prop to our new component, as well as having default styles.

Adds with default styles, using react-select's styles object

As our theme is now in JS, we can import it and use whatever bits of it we need.
In order for this to work when GUI is transpiled, we had to add tailwind.config.js to the babel build (check the package.json)

🔗 Links
Links that relate to the PR (Trello, Figma etc.)
📹 GIF (optional)
https://share.getcloudapp.com/JruLNXJ9
🚪 Start Points
Where is a good place to start the review? If there are multiple changes it may be worth listing multiple files.
👫 Related PRs (optional)
Any PRs that relate to the changes.
✅ Checklist

[ ] Tests written
[ ] Browser tested
[ ] Added to documentation
[ ] Added to storybook

 Add dropdown for switching reasons


Improve Open Street Map background by fixing disjointed Dry Creek error

I am working on getting a map from the Sonoma County Water Agency that will help us do this.

Corrected in OSM.


[Feature Request]: Feat:adding a new page to display all contributors✨

Is there an existing issue for this?

[X] I have searched the existing issues

I want to add a page to showcase all the contributors of this website
@mansiruhil13 can you assign me this issue.
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

is there a duplicate issue?

it was made by me

it was made by me

Why you made another?

Sorry I go thru multiple repos , I usually check but this time I didn't see that I already raised an issue


Generate contract test file along with contract boilerplate

Closes #1394
Description
Generate contract test file along with contract boilerplate

For contributor use:

[x] Targeted PR against master branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[ ] Code follows the standards mentioned here
[ ] Updated relevant documentation
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Added appropriate labels

Codecov Report
Attention: Patch coverage is 83.33333% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 40.62%.  Consider uploading reports for the commit 07353bd to get more accurate results

Files
Patch %
Lines

internal/super/generate.go
83.33%
3 Missing and 3 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1451      +/-   ##
==========================================
+ Coverage   40.17%   40.62%   +0.44%
==========================================
  Files          47       47
  Lines        2626     2656      +30
==========================================
+ Hits         1055     1079      +24
- Misses       1446     1449       +3
- Partials      125      128       +3

Flag
Coverage Δ

unittests
40.62% <83.33%> (+0.44%)
:arrow_up:

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

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


Cache tag helper should have an Enabled property

The CacheTagHelper should have a property Enabled that makes it simple to conditionally disable/enable the caching. This can be very useful in debugging scenarios, e.g. disabling caching if a given cookie is present.
<cache enabled="@string.IsNullOrEmpty(Context.Request.Query["cache"])">...</cache>

https://github.com/aspnet/Mvc/commit/b08a2154c10a3c297f1ba61138cad5726a7c7dd9


Add certificate.spec.keystores and 'native' P12 and JKS keystore support

What this PR does / why we need it:
This PR builds on the existing JKS/P12 functionality and adds dedicated stanzas in the Certificate resource spec to control if and how JKS and P12 keystores are stored in the target Secret resource.
It retains the model we have right now of storing these bundles alongside the tls.crt and tls.key to make it easier for other parts of cert-manager and consumers of Secret resources created by cert-manager to interpret and decode stored certificates.
Which issue this PR fixes: fixes #586, fixes #2798, related to #843
Special notes for your reviewer:
Release note:
Add `certificate.spec.keystores` stanza and allowing configuring JKS and PKCS12 issuing on a per-Certificate basis

/kind feature
/milestone v0.15

Looking good! Just a few nits

---------- Původní e-mail ----------
Od: Maartje Eyskens<EMAIL_ADDRESS>Komu: jetstack/cert-manager<EMAIL_ADDRESS>Datum: 22. 4. 2020 11:28:30
Předmět: Re: [jetstack/cert-manager] Add certificate.spec.keystores and
'native' P12 and JKS keystore support (#2824)
"
Looking good! Just a few nits
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on
(https://github.com/jetstack/cert-manager/pull/2824#issuecomment-617664135)
odevzdat 6958da8581735e7cfc3d57772b1c9099034e30ef"

"
 GitHub
(https://github.com/jetstack/cert-manager/pull/2824#issuecomment-617664135),
or unsubscribe
(https://github.com/notifications/unsubscribe-auth/AONAY3XCT2Y23FYASO6KPPTRN22DTANCNFSM4MNOEVLQ)
.
"

/lgtm


Does changing Add-in manifest.xml  auto-update Custom Add-in's installed via URL?

Regarding the section on Version here: https://docs.microsoft.com/en-us/office/dev/add-ins/outlook/manifests#version
Does changing Add-in manifest.xml <Version> auto-update Custom Add-in's that were manually installed via URL? This would be great for keeping QA engineers up to date during development & testing. The documentation could use some clarity on that as it's specifically what I'm trying to find an answer for, thanks.

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

ID: 11323a5a-fd84-f259-9079-62732c695ed8
Version Independent ID: 569f6274-2c83-e200-fc5a-9642193cb76c
Content: Outlook add-in manifests - Office Add-ins
Content Source: docs/outlook/manifests.md
Product: outlook
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Hi @mrbfrank - Thanks for reading our docs and writing in. I'm not sure on the answer to this, but I will transfer this issue to the office-js repo to get an answer from engineering on this. I will then tag myself on this issue to add that information to the documentation so it can be more clear for folks! Thanks.


Prompt the user for their Github access token and store it on the cluster

Currently, we rely on a user's GH access token to be present in their environment. This will not work for the API server since it will be running in the cluster, so we need to prompt the user for their token ahead of time.
Once the user pastes their token, we need to save it on the cluster in a Secret for later use. This Secret should be scoped only be readable to the user doing the wego install command, and the API server service account.
Once the Secret is created, the API server will be able to use it to create PRs and add deploy keys to a given Source repository.

@jpellizzari  Where would the toke be pasted, at the time of installing gitops(wego gitops install)?

@josecordaz via an interactive prompt, the same way we do with the SSH key passphrase

right, when the interactive prompt should show up? at the time of running wego gitops install ?

@josecordaz yes

@jpellizzari How can I accomplish this? This Secret should be scoped only be readable to the user doing the wego install command, and the API server service account. sorry not a k8s export 😔 (yet 😎)

I would say just get the secret saving on your cluster, and then we can pair to make sure we have the right permissions set on it (before merging the PR)

@markramm We've decided to add check for the github token. If the env var GITHUB_TOKEN exists then we use it and print out a message reflecting so. If it doesn't exist we will trigger an interactive prompt to set it. Do you think this would be ok?

Closing in favor of using the approach laid out here: https://github.com/weaveworks/weave-gitops/pull/513


Allow the Github organization to be specified on the Kabanero object

Fixes #138.
The Github organization is now specified on the Kabanero Spec:
spec:
  version: 0.0.1
  githubOrganization: production
  collections:

When githubOrganization is specified, the container specification for the CLI will contain a new environment variable, KABANERO_CLI_GROUP which will be set to whatever value was specified (in this case production).
I tested that the environment variable is present when specified, and not present when not specified.  I also tested that when the value of githubOrganization changes (ie applying changes to an existing Kabanero) that the deployment also changes, and the pod recycles with the new value (or no value if it was removed).
Feel free to suggest a new name or structure for the Spec section - I am open to using something else.

This needs to be reevaluated after discussion with the originating requestor


[5.5] Fix for empty Collection

https://github.com/laravel/framework/pull/19616

Why was this merged into master and not 5.4?

It's already done
https://github.com/laravel/framework/pull/19671

Ah, thanks!

Initially I made it for master because wrongly thought this method is for 5.5 only (maybe because it was merged in master by that moment).


Fix for intermittent crash on launch

I should note that this is a crash on Oculus Touch in a build (but works fine in editor) using Unity 5.4.4p3.

Merged this into my own master branch so it's now included in PR #114.


ASL-chrisda to Master

Docs Build status updates of commit 663f198:
:clock10: Pending: waiting for processors (5 builds ahead of you)
:warning: Docs Build is busy, currently there are 5 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 663f198:
:clock10: Full build: the average full build time is 17 min(s) 37 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 663f198:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-AutoSensitivityLabelRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/exchange.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/mapping/serviceMapping.json
:white_check_mark:Succeeded

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Determine artist/album names automatically from folder name

If the artist and album name are not specified in the info.txt file, try and determine them automatically from the current folder name.
Examples:

path/to/artist ~ album/
path/to/artist - album/

If the current folder has one tilde or one hyphen, we can safely assume artist and album names. Otherwise, abort.

If the path has more than one delimiter (tilde or hyphen), the first instance delimits the artist, the remainder are considered part of the album.
Example:

path/to/artist ~ album ~ title ~ here is artist = "artist", album = "album ~ title ~ here"

If the path has no delimiter (hyphen or tilde), the parent path is artist, and the current path is the album.
Example:

path/to/artist/album title is artist = "artist", album = "album title"


[WIP] Add document link for volume group snapshots

Description
This PR adds a doc link for the Volume Group Snapshot feature.

Issue

Closes: #

Hi @jingxu97 @yuxiangqian, James Spurin :wave:, 1.32 Docs Shadow here, are you able to review this please?

Thanks for this @xing-yang
/approve


adds support for randomly selecting instances while not scaling down

Changes proposed in this PR

the scaling algorithm runs on all routers
actual scaling of services is only triggered on the scaler
scaling mode (scale up, scale down or stable) is propagated to the service responder
adds support for randomly selecting instances while not scaling down

Why are we making these changes?
We would like to balance the load across instances, rather than to the oldest ones, while not scaling down. While scaling down, we need to start selecting the oldest available instances to increase the chances of finding an idle instance to kill. The scaling mode is propagated from the autoscaler (scale-services) to the service responders.

How do we handle users that want oldest instance, always?
Should we expose some new configuration options?:
x-waiter-eviction-mode: random, oldest (later: least-conn)
x-waiter-load-balancing: random, oldest (later: least-conn)

x-waiter-load-balancing: random, oldest is easy to support and will allow users to specify the instance selection while not scaling down.
I'll add support for the x-waiter-load-balancing parameter as it is a small delta from the current implementation.

If we're scaling down, don't we still want to avoid piling up on the oldest instance?

Scaling down is temporary, once scaling down is complete we revert back to the random (or user-specified) strategy.

Would a better strategy be to prevent a particular instance from getting further requests? Could we blacklist the instance we want to kill and wait?
x-waiter-eviction-mode: random, oldest (later: least-conn)

Blacklisting (and then unblacklisting if we don't scale) is more complicated to implement.
We need to add corrective action when the autoscaler decides that it no longer wants to scale down.
Choosing the instance to kill also requires global consensus, it is easier if the routers can independently decide on 'blacklisting' the same instance (e.g. youngest).
We make no guarantees of the evicted instance, it is a best effort to pick the youngest idle instance to kill.

Are we able to determine the scaling state (:scaling-up, :scaling-down, and :stable) via the /apps endpoint? That would be useful to later incorporate into the web UI/CLI.

It is available indirectly from the /state/ endpoint from the scale-amount.
I'll add support for the scaling-mode in the /apps and /app/service-id endpoint.

Should we create an integration test (min-instances > 1, concurency >>> 1, # of requests < concurrency) and confirm we get responses from more than 1 instance?

We have a unit test for this already where we have more control and be more precise in our assertions.
With min-instance: 2 we need to wait on the scheduler to be able to spin up 2 instances for this test to work.

scaling-state seems better than scaling-mode, but that's pretty nitpicky.

Will rename.

@sradack ready for another round of review.

added load-balancing parameter
added integration tests for the parameter
renamed scaling-mode to scaling-state
added scaling-state to /apps and /apps/ endpoints

@sradack ready for another round of review.


Add documentation for creation of custom firmware uf2 files

This PR adds documentation for creation of custom firmware uf2 files as discussed in https://github.com/Allen-Synthesis/EuroPi/issues/194. It also documents the process automated in https://github.com/Allen-Synthesis/EuroPi/pull/198 once it is merged.

Thank you again for taking the time to teach us how to compile the EuroPi firmware into a uf2 binary distributable file and for adding the documentation. This is a huge step forward in simplifying the process for getting EuroPi users up and running!


Fix a couple minor project warnings

Simple fixes for a couple minor warnings that our project settings exposed.

Thanks for the PR! These fixes all look good. ✨


Revert "Make path_get return ENOTDIR when the base isn't a directory."

DO NOT MERGE YET UNTIL CERTAIN DECISIONS ARE MADE
Reverts CraneStation/wasi-common#155
It turns out I was too hasty in merging this in. The proposed changes in this #155 unfortunately won't have the desired effect as ENOTCAPABLE will be returned before path_get gets called, namely, when we query the WasiCtx for an appropriate FdEntry that's tied to the passed in WASI fd:
let fe = &wasi_ctx.get_fd_entry(dirfd, rights, 0)?;

There, the context checks whether the correct rights are attached to the specified descriptor (in this case, whether dirfd is indeed a directory), and if something is amiss, we fail with ENOTCAPABLE. The relevant bit of code can be found here.

Arg. I factored this out of a larger patch that I'm working on, and while I thought I tested it, it appears I didn't actually test it with the new test I wrote. Thanks for catching this.

@sunfishcode No probs. I think we might just about be almost OK. See #159 and let me know what you think :-)


Missing registering debug/config flags on server subcommand

addresses the debug problem mentioned in https://github.com/rancher/k3s/issues/2182


Add a flag to disable unicode escaping, refactor showFieldNames configuration

Supersedes https://github.com/com-lihaoyi/PPrint/pull/55
the new escapeUnicode flag defaults to false, since unicode characters are common enough nowadays we should expect editors and other UIs to render them without issue. Someone who wants the old behavior can always manually set it to true
showFieldNames was added in a kind of awkward manner to avoid breaking backwards binary compatibility. It's been long enough that I think a breakage is ok, so I'm moving it to be a default argument like the rest of our pprint configuration values

This could be a good moment to break binary compatibility since Mill is going to get 0.10 soon.
Otherwise, you could define deprecated overrides of the changed methods and pass some default values. But probably it is not worth it.

@lolgab I've no idea how this is related to Mills binary compatibility.

@lefou i think the reasoning is that if we break bincompat in some library, we should try to coordinate the breakages in the dependent libraries so they all happen at once. That way people can just upgrade once to get over the combined breakage, rather than upgrading over and over for each individual breakage.
e.g. if we break bincompat in pprint but don't have a corresponding ammonite/mill release using the new version, then anyone trying to use new pprint with old ammonite/mill would hit linking errors. And since we need to release a new incompatible ammonite/mill anyway, might as well batch any other incompatible changes into that release

Thanks for making this more clear. I have currently no deep insights into PPrint and am fully loaded, so I'd rather like to not have an opinion about this topic. Sorry. Regarding Mill, I envision to encapsulate more dependencies and only share a small API with build scripts (e.g. os-lib). I think Ammonite already supports this (with --thin) but I'm either not smart enough or it's actually very complicated to make that work with Mill.

I'd say, merge this and immediately tag 0.7.0 unless there are other breaking PRs we can merge right after.

@lolgab I'm planning on doing a release of the whole com-lihaoyi ecosystem; there are a bunch of changes e.g. https://github.com/com-lihaoyi/acyclic/pull/42 that I'd like to propagate throughout all the way down to Ammonite and possibly Mill
I won't get to it tomorrow, but hopefully some time in the next 1-2 weeks


timeout < 30 only?

I am setting timeout to 300 seconds (to test an AWS lambda function + API Gateway), but HTTPie continues to timeout at 30 seconds. Is there an upper limit set at 30 seconds? I'´m using
http --timeout=300 POST https://...

30 is the default timeout set, not the upper limit.

For some reason, httpie is not using the timeout I specify and times out at 30 seconds...
$ http --timeout=300 POST https://...
HTTP/1.1 504 Gateway Timeout
Connection: keep-alive
Content-Length: 41
Content-Type: application/json
Date: ...

{
    "message": "Endpoint request timed out"
}

I tries this with --timeout=300 and --timeout 300 (which should not make a difference, but I wanted to make sure) and the results are the same: it times out at 30 seconds. The function call should take around 2 minutes (120 seconds), but it never gets past the 30 seconds.

This is not httpie timing out. You're receiving a response that tells you the intermediary between you and your lambda function is timing out the request. --timeout is from your computer to that intermediary. The intermediary can set whatever timeout it wants from itself to your lambda function. This is firmly not an HTTPie bug.

Actually this is an issue with httpie.  My gunicorn timeout is 90s and httpie is still stopping at 30s... I know gunicorn isn't timing out because a few seconds after httpie dies I see the server output results in the log.

@gnulnx there's a default 30s connection timeout which you can change via --timeout=n.
(The default timeout will be removed in v2.0.0.)


Client Allocation Request for: NGMob

Client Allocation Questions
Core Information

Name: NGMob
Website / Social Media: @Peter Ma on Filecoin Slack
Region: Greater China
DataCap Requested: 10TiB
Addresses to be Notarized: f2f4au4nt4h32byflmflgolsrutkukw6utcpwzxea
Notary Requested: MRJAVAZHAO

@maweis1981 Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hello, @maweis1981
Please provide the following materials.

organization name, business scale, social media accounts&follwers, and business license (could be sent by email); if you are an individual, please provide name, date of birth, working company and scale, employment certificate, social media accounts&follwers, and ID card (can be sent by email);

When did you start learning about Filecoin? Please give a description about the projects you have participated in ? What do you want to get from Filecoin? Any suggestions or expectations for the Filecoin Network?

Is there any law risk? What percentage of questions are yours?

Please describe your organization, such as established time, the number of employees, users volumn, the number of social media followers.

How about your data volume, source and later planning? Please describe the type, format, source, storage capacity, publicity (and if data could be public, how can others retrieve it?) of the data to be stored in Filecoin.

In which area do you plan to store you data? How many miners do you want to find ? Please list the miner ID. How about the proportion of the storage for each miner? What are the requirements about miners? At last, please state your redundancy plan.

Do you agree to disclose transaction information? If you get DataCap, please make the transaction information public on the Issue in time.

I closed this issue for no reply.
@maweis1981 You can open it again if you want to reply again.


Backport all changes from master into the maintenance

This PR backports all changes performed at master up until this time into the maintenance branch.

:-1:

Shall resend the PR separately for each PR backport.


YouTube keeps on making a weird crring sound randomly.

System Details

OS: Windows 11
Thorium Version AppData\Local\Discovery\Saved\Config\WindowsClient

Problem
On any youtube video, from time to time during the video, a sound will randomly be heard, a crring sound, kinda sounds like it just..bugs out completely and makes that sound.
Anybody else have this issue?

One example I had this was on sandroman's video (he narrates
historic battle, and in one video I had ping-like sounds that were
super-annoying; when I closed the tab it went away. I should say
that I listen to videos mostly, so I don't even know what happens
in the main video; I thought it was an integral part of the video).


ENH: Improve vline

What does this implement/fix?
This changes the width of the vline to improve visibility as suggested in #155.
It also adds that the vline-label changes color too when the mouse hovers over the vline.
@larsoner @mscheltienne WDYT should be the width (examples in #155)?

2 or 3 looks reasonable to me.

It looks like something is wrong with the hovercolor, when you create the vline, the label is not always of the correct color. It changes back to the correct color when the mouse enters the overview-bar area.
Screencast from 08-02-2023 05:05:18 PM.webm

@mscheltienne I can't reproduce this behaviour.
Could you post sys info and your code?

import numpy as np
from mne import create_info
from mne.io import RawArray
from mne.viz import set_browser_backend

set_browser_backend("qt")
data = np.random.randn(3, 10000)
raw = RawArray(data, create_info(3, 1000, "eeg"))
raw.plot(scalings="auto")

Yes the default pop-os screen capture tool does not include the mouse for some reason. I'm just randomly clicking in the area, and then sometimes also on the vertical line. Both mne and mne-qt-browser are running the main version.
Platform             Linux-6.2.6-76060206-generic-x86_64-with-glibc2.35
Python               3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0]
Executable           /home/scheltie/pyvenv/mscheltienne/mne-python/bin/python
CPU                  x86_64 (12 cores)
Memory               31.0 GB

Core
├☑ mne               1.5.0.dev84+g0f2ea8183
├☑ numpy             1.23.5 (OpenBLAS 0.3.20 with 12 threads)
├☑ scipy             1.10.1
├☑ matplotlib        3.7.2 (backend=Qt5Agg)
├☑ pooch             1.7.0
└☑ jinja2            3.1.2

Numerical (optional)
├☑ sklearn           1.2.2
├☑ numba             0.56.4
├☑ nibabel           5.1.0
├☑ nilearn           0.10.0
├☑ dipy              1.7.0
├☑ openmeeg          2.5.6
├☑ pandas            2.0.0
└☐ unavailable       cupy

Visualization (optional)
├☑ pyvista           0.37.0 (OpenGL 4.6 (Core Profile) Mesa 22.3.5 via Mesa Intel(R) UHD Graphics 770 (ADL-S GT1))
├☑ pyvistaqt         0.10.0
├☑ ipyvtklink        0.2.3
├☑ vtk               9.2.6
├☑ qtpy              2.3.1 (PyQt5=5.15.2)
├☑ ipympl            0.9.3
├☑ pyqtgraph         0.13.3
└☑ mne-qt-browser    0.6.0.dev4+gc912752

Ecosystem (optional)
├☑ mne-bids          0.13.dev0
├☑ mne-connectivity  0.6.0dev0
└☐ unavailable       mne-nirs, mne-features, mne-icalabel, mne-bids-pipeline

One part reproducible, if you the label is green and you click on the vline it becomes yellow. Everytime.

Same on another computer on windows.

Oh you mean the label should always stay green and it doesn't?
That was on purpose, I connected a color change of the label to the hovering of the line to improve visual feedback on hovering and when you are able to drag the line/label

I did not look in detail, but I figured it had something to do with hovering. I'm fine with the color change on hovering, but my point is, it doesn't seem to work correctly.


Visual Studio integration

Can it be integrated into Visual Studio as extension and use F# parser loaded into it to format a particular file?

Sure it can, but will i implement it? Not yet, i would rather see this or other formatter as a part of VS F# Tools, but for that i dont see F# ecosystem ready yet. But like with this project itself I could get tired of waiting and just implment exstension you asked for ;)


Inlines every required file for each function

Thanks for your work on this – it works great! All this for an env-based NODE_ENV is crazy, but until Netlify forwards env vars from netlify.toml this is what I'm stuck with.
My issue is that this plugin processes each javascript file individually each time it's included in a function. Would love to figure out a way to inline once. See below:
10:38:52 PM: inlining /opt/build/repo/api/createExpense.js    <---- this is a function
10:38:52 PM: inlining /opt/build/repo/api/shared/db.js    <---- this is required in my function
10:38:52 PM: inlining /opt/build/repo/api/shared/helpers.js    <---- this is required in my function
10:38:52 PM: inlining /opt/build/repo/api/shared/middleware.js    <---- this is required in my function
10:38:52 PM: inlining /opt/build/repo/api/shared/models/Customer.js    <---- this is required in my function
10:38:52 PM: inlining /opt/build/repo/api/shared/models/Expense.js    <---- this is required in my function
10:38:52 PM: inlining /opt/build/repo/api/shared/models/Product.js    <---- this is required in my function
10:38:52 PM: inlining /opt/build/repo/api/shared/models/Sale.js    <---- this is required in my function
10:38:52 PM: inlining /opt/build/repo/api/shared/models/User.js    <---- this is required in my function
10:38:52 PM: inlining /opt/build/repo/api/shared/models/WriteOff.js    <---- this is required in my function
10:38:52 PM: inlining /opt/build/repo/api/shared/secrets.js    <---- this is required in my function
10:38:52 PM: inlining /opt/build/repo/src/constants.js    <---- this is required in my function
10:38:52 PM: inlining /opt/build/repo/api/createProduct.js    <---- this is a function, etc. for every function
10:38:52 PM: inlining /opt/build/repo/api/shared/db.js
10:38:52 PM: inlining /opt/build/repo/api/shared/helpers.js
10:38:52 PM: inlining /opt/build/repo/api/shared/middleware.js
10:38:52 PM: inlining /opt/build/repo/api/shared/models/Customer.js
10:38:52 PM: inlining /opt/build/repo/api/shared/models/Expense.js
10:38:52 PM: inlining /opt/build/repo/api/shared/models/Product.js
10:38:52 PM: inlining /opt/build/repo/api/shared/models/Sale.js
10:38:52 PM: inlining /opt/build/repo/api/shared/models/User.js
10:38:52 PM: inlining /opt/build/repo/api/shared/models/WriteOff.js
10:38:52 PM: inlining /opt/build/repo/api/shared/secrets.js
10:38:52 PM: inlining /opt/build/repo/src/constants.js
10:38:52 PM: inlining /opt/build/repo/api/createSale.js
10:38:52 PM: inlining /opt/build/repo/api/shared/db.js
10:38:52 PM: inlining /opt/build/repo/api/shared/helpers.js
10:38:52 PM: inlining /opt/build/repo/api/shared/middleware.js
10:38:52 PM: inlining /opt/build/repo/api/shared/models/Customer.js
10:38:52 PM: inlining /opt/build/repo/api/shared/models/Expense.js
10:38:52 PM: inlining /opt/build/repo/api/shared/models/Product.js
10:38:52 PM: inlining /opt/build/repo/api/shared/models/Sale.js
10:38:52 PM: inlining /opt/build/repo/api/shared/models/User.js
10:38:52 PM: inlining /opt/build/repo/api/shared/models/WriteOff.js
10:38:52 PM: inlining /opt/build/repo/api/shared/secrets.js
10:38:52 PM: inlining /opt/build/repo/src/constants.js

Thanks for reporting! I will create a PR to resolve this.


Small punctuation and grammar tweaks

@matsjohans

@brianweet and @matsjohans - here is a suggestion for this text. I'm not able to add you as reviewers or to add a PR straight to this repo, but I think you will see a link to my forked repository.

@valdisiljuconoks - Thanks! If this is ok, can you also merge it?


Create HTML structure

I have completed all 3 tasks. I then created a branch called main_html_structure and pushed everything up. They are now waiting to be approved.

Moved to QA.
Let's review how we sync pull requests to their relevant issue for future issues

@ClaireFraser121 Nice work on the HTML structure, you've done a tonne of stuff!
Have you thought about the amount of content/options we need to display on the results page and how a modal will achieve this? You've gone a fair bit beyond the scope we set out, so we just need to make sure all the JS you've written will do what we want it to.
What if we displayed the results using the full page?
It may be easier to achieve and likely a better UX, so that the user can navigate around the page, without having to first close the modal.
Example

Here's how we could set it up in the HTML ready to manipulate in the JS

Adding cards for the initial page content


Update interface.html for shadowclk

Lots of fixes, fairly reliable now.
GadgetBridge throws a "Malformed JSON from Bangle.js: No value for t"

Thanks - if you're connected with the IDE and just using the watch as-is, do you see any unexpected messages? It might be your clock code is printing something to the console and that is confusing Gadgetbridge

I didn't notice anything odd, but sure enough there's some weird data at the end of the id for my clock when the app loader connects to it
{"id":"shadowclk","version":"0.02","files":"shadowclk.info,shadowclk.app.js,shadowclk.settings.js,shadowclk.img","data":"shadowclk.json","type":"clock"},"BANGLEJS2","2v17.74",1683704307,86432740]

Ahh, right - so that's the problem. It's a hard one really - Gadgetbridge expects JSON-formatted objects to be commands for it from the watch, and it's always looking for data - so when you read the settings and get  {"color":"#000","theme":"dark"} it sees JSON with {...} it thinks it is a command for itself, but it doesn't see a t so it complains.
It's probably easiest to do:
Puck.eval('[require("Storage").readJSON("shadowclk.json", true)]', (data) => {
          if (data) data = data[0];
          if (data) { ...

So then it's wrapped in an array which won't be parsed by Gadgetbridge

That indeed was the problem with the malformed JSON errors. Thank you.
Now I just need to figure out the communication issue that's still there sometimes


Simplify how tests are built

Description
Removes unnecessary CMake code which obfuscates the true intent of the build. There is no requirement that source files use absolute paths. CMake will just as happily accept these relative paths.
Tasks

[ ] Tested on Linux
[ ] Tested on Windows
[x] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

SFMLBuildMaster: Build this please.


Docker Compose cant run when following "Quickstart" guide

First time on Github and kind of learning Docker along the way.
Latest one (Dont know how to get version - Literally just ran: docker run -d -p 8080:8080 -p 80:80 -v $PWD/traefik.toml:/etc/traefik/traefik.toml traefik")
What is your environment & configuration (arguments, toml...)?
Literally just - "docker run -d -p 8080:8080 -p 80:80 -v $PWD/traefik.toml:/etc/traefik/traefik.toml traefik"
What did you do?

First I ran the Docker command "docker run -d -p 8080:8080 -p 80:80 -v $PWD/traefik.toml:/etc/traefik/traefik.toml traefik"

Then I made a directory called "traefik" in "/home/test" (my username is test in Ubuntu)

I created a file called "docker-compose.yml"

I then installed Docker Compose (via sudo apt install docker-compose)

I run the command "docker-compose up -d" in the directory where the .yml file is located

I get hit with this:
 In file './docker-compose.yml' service 'version' doesn't have any configuration options. All top level keys in your docker-compose.yml must map to a dictionary of configuration options.

What did you expect to see?
Something else other than an error?
What did you see instead?
An error

So u've got a error from ur dockr-compose.yml file.
Try pasting ur docker-compose.yml here for solving ur problem.

I'll close the issue due to inactivity but feel free to re-open if needed.


chore: upgrade polkadot packages

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[ ] Feature
[x] Refactoring

Context

[x] Related #4585

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality

Optional

[ ] I've tested it at </ksm/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[ ] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

Copilot Summary

🤖 Generated by Copilot at ec7e454
This pull request improves the node modules compatibility, the browser targeting, and the Polkadot dependencies of the project. It modifies the nuxt.config.js, .browserslistrc, and package.json files accordingly.

🤖 Generated by Copilot at ec7e454

We are the NFT warriors, we defy the old and stale
We update our dependencies, we optimize our code
We use the Polkadot API, we display our identities
We tweak our webpack config, we rule the smoldot-light

the issue still exists, I will check in the other packages. changes in this PR:

fix loader for a newer @polkadot/* packages
unify .mjs loader
upgrade @paraspell/sdk to a newer version. how to test this btw?

* upgrade `@paraspell/sdk` to a newer version. how to test this btw?

This is used in /teleport-bridge page

* upgrade `@paraspell/sdk` to a newer version. how to test this btw?

This is used in /teleport-bridge page

seems stuck on the rpc is pending on my end. I check it on canary

the issue still exists, I will check in the other packages. changes in this PR:

fix loader for a newer @polkadot/* packages

please also update packages in sub-api (kodadot/packages)

unify .mjs loader

Won't this cause slower build times?

upgrade @paraspell/sdk to a newer version. how to test this btw?

https://github.com/paraspell/xcm-sdk/issues/34

Pushed new @paraspell sdk
also opened:

paraspell/sdk#35

please also update packages in sub-api (kodadot/packages)

related PR https://github.com/kodadot/packages/pull/137

Won't this cause slower build times?

seems not. but, let me know if you found out that it makes the build slower

Fresh from KodaDot bakery:
cc @preschian

<EMAIL_ADDRESS><EMAIL_ADDRESS>

vuex-options were already released to main because of the breaking change :)


Publish / install extensions task needs to be updated.

we are getting this message:
2019-03-21T15:50:22.5979561Z ==============================================================================
2019-03-21T15:50:22.5979725Z Task         : Install Extension
2019-03-21T15:50:22.5979863Z Description  : Install a published extension to an Azure DevOps organisation or Team Foundation Server
2019-03-21T15:50:22.5979978Z Version      : 1.2.44
2019-03-21T15:50:22.5980086Z Author       : Microsoft Corporation
2019-03-21T15:50:22.5980217Z Help         :
2019-03-21T15:50:22.5980328Z ==============================================================================
2019-03-21T15:50:23.2269755Z ##[warning]DEPRECATED: Please add the 'Use Node CLI for Azure DevOps' to install tfx.

I'll fix the message to be more clear. I've introduced a tool installer to allow better control and caching for tfx-cli. So.... The task isn't deprecated, the part that every task tries to install tfx-cli as part of the task is deprecated.

This better?
https://github.com/Microsoft/azure-devops-extension-tasks/commit/4415a51aa9fd648019753b90d1dd62bb4641cba8


refactor(ui/swipe): refactor from @varlet/use

Checklist

[ ] Fix linting errors
[ ] Tests have been added / updated (or snapshots)

Change information

Codecov Report

Merging #888 (573eac1) into dev (755deee) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##              dev     #888      +/-   ##
==========================================
- Coverage   94.86%   94.86%   -0.01%
==========================================
  Files         272      272
  Lines        6119     6116       -3
  Branches     1112     1112
==========================================
- Hits         5805     5802       -3
  Misses        314      314

Impacted Files
Coverage Δ

packages/varlet-ui/src/swipe-item/provide.ts
80.00% <100.00%> (-3.34%)
:arrow_down:

packages/varlet-ui/src/swipe/provide.ts
100.00% <100.00%> (ø)

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


Delayed and stuttering effects on Razer Blackwidow V2 TE

Expected behavior:
The animations should be instant and smooth when they are initiated. No problems when tested with a Cooler Master Masterkeys Pro S. Had the same issue occur on two different Razer Blackwidow V2 TE keyboards. Bitmap animation is smooth.
Actual behavior:
Animations are delayed and stutter on every profile except the audio visualizer (I will get into this).
How often does this problem occur?
This problem occurs everytime, unless you perform this strange fix I found which I will mention below. Occurs with synapse 2 open or closed.
Please describe the steps to reproduce this issue:
You can easily test this by using the default desktop profile and type to see the stutter or press ctrl to see the delay. The stutter is there on any other animated profile as well.
Strange Fix:

Switch to a profile that contains the audio visualizer effect.
Play some sound so the keyboard lights up.
Switch to any other animation or profile of your choosing and the animations will now be smooth and responsive, but only for that program. (For example, play sound from a youtube video in chrome, switch to a profile of choosing, and the issue will be fixed. Now minimize chrome and the issue will come back. Unminimize chrome and it will be fixed again. Interestingly enough, Aurora "remembers" this and animations will now be smooth in chrome even after closing and reopening aurora or chrome.

What is the version of Aurora you are experiencing this issue with?

My version is 0.6.2b
Does the previous version of Aurora have this issue?
The previous version, 0.6.1-dev4, also has this issue.
Please include any logs, screenshots, or files that are related to this issue:
Log: https://pastebin.com/1FW6inqv
Demonstration: https://i.imgur.com/YdGMJ5Y.gifv

What response time does it show for Razer in the "Device Manager" tab of settings? The fix you describe is pretty weird especially if the Debug Bitmap is smooth the entire time and the only thing changing is the responsiveness of your keyboard. If the response time for Razer is high could you see if it changes at all when you do the "Strange Fix"?

0ms response time with and without the fix. Deleted Aurora folder in AppData, no luck. Even had the chance to try on a completely different computer with brand new installation of Windows (installed synapse 2 and then opened aurora after windows installation) and it still had the bug. Kind of surprised no one has had this issue. Maybe its an issue with Blackwidow v2 TE's in particular.

@johnmarshall515 That's pretty strange, have you tried with any other application that uses the SDK to see if it is an issue with those as well?

@simon-wh I have only tried it on games that use the SDK such as DOOM, Fortnite, and Thumper, and they all work completely fine.

Could you try changing the option for the "Bitmap Accuracy/Ratio" under "Devices & Wrappers" to a worse option to see if it changes anything?

Hm, I'm really unsure why you're experiencing this issue, I artificially added update delay to the device I use and it still only looked laggy by a minor amount (It took 100ms to refresh whereas a new frame is made every 33ms resulting in a lot of dropped frames), it could be an issue with the Razer end of things. Is your keyboard connected to your pc through a usb hub? hubs have been known to cause issues with lighting in the past

@simon-wh I am not on a USB hub. Here's another video with a different keyboard effect showing the different bitmap accuracies. It looks like changing it to "best" does actually do something but it's still not as smooth as it should be. Then, as you can see when I switch to chrome (which I've previously used audio visualizer on), it goes completely smooth as it should be until i minimize it.
https://www.youtube.com/watch?v=9nRp11dxH3g&feature=youtu.be
Yet still randomly I have encountered it going studdery in chrome but it eventually goes back to smooth again. Very strange.

That is some extremely strange behaviour, especially when the "Best" option is one which would generally be laggier for most people as it uses the most CPU. And for it to run smoothly while in chrome, that is incredibly weird. Is it only chrome that it changes with? Do any electron based apps change it like Discord? I'm curious what's special about chrome that is causing it to run fine.

@simon-wh It's not chrome specific, I was just using chrome as an example. I can make any program be smooth by switching to audio visualizer, playing some sound out of that program, and then switching back to my own keyboard effect. Whatever the audio visualizer does, fixes the problem for that program.

Is there any update on this issue?
I'm having the same problem. It might have something to do with the windows Update 1909.
I was at 1903 and after Updating to 1909 it started this behavior. Everything except the keyboard is smooth. I have a Razer Blackwidow Keyboard, Razer Goliathus Mousepad & a Logitech g502 Mouse.
When looking at it, it seems like the keyboards animation is running slower then the rest and it tries to keep up by skipping some frames.

same issue here, razer oranata chroma lighs out of sync. my mousepad and mouse scroll and change colours during animations smoothly, but the keyboard is now a choppy mess. changing the bitmap to best has some affect but animations are still not smooth. was on win 10 1909 x64, updated to windows 10 2004 (May 2020 update)

im currently having the same issue with any Razer chroma related devices


Update dbt debug to also check that the database and warehouse fields are correct

Is this a new bug in dbt-snowflake?

[X] I believe this is a new bug in dbt-snowflake
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
Currently dbt debug runs select 1 as id  (link). And seems like snowflake will allow you to do that without correct database/warehouse. This means that this command will pass regardless of whether the warehouse, database info provided is correct.
Expected Behavior
dbt debug should fail if the warehouse or database info is incorrect.
Steps To Reproduce
Run dbt debug with wrong config values for database and warehouse. It will still pass.
Relevant log output
No response
Environment
- OS:
- Python:
- dbt-core:
- dbt-snowflake:

Additional Context
No response

Taking a look at this - this is expected behavior even in Snowflake

For the debug command that we are running (select 1 as id) - it makes sense that it wouldn't check the database. We aren't selecting an object in the database. For that, I don't see us updating. For warehouse - this would be an enhancement, even on Snowflake's capabilities with that query.

At this time, this is not something we intend to change because the behavior is expected on Snowflake.


MaskablePPO doesn't set _num_timesteps_at_start so fps count is wrong when reset_num_timesteps=False in learn()

Describe the bug
MaskablePPO calculates FPS here, which checks self._num_timesteps_at_start. However MaskablePPO overrides _setup_learn which is where this gets updated (in BaseAlgorithm here), so it never updates this field. This means it's always 0, so it's incorrect when reset_num_timestamps=False.
Code example
N/A (the issue is present but looking at the code I linked above)
Just passing reset_num_timesteps=False into MaskablePPO.learn() will log incorrect fps after the first call to learn
System Info
- OS: Windows-10-10.0.19044-SP0 10.0.19044
- Python: 3.9.16
- Stable-Baselines3: 1.7.0
- PyTorch: 1.13.1+cpu
- GPU Enabled: False
- Numpy: 1.24.2
- Gym: 0.21.0

Additional context
For ex. here's my tensorboard graph when using the following code:
while True:
    ppo.learn(total_timesteps=1000000,
              tb_log_name='agent',
              reset_num_timesteps=False,
              callback=checkpoint_callback)

As you can see, FPS shot up right after the first 1000000 timesteps, when learn was called again.

Hello,
it is indeed missing the fix we did a while ago for all other algos: https://github.com/DLR-RM/stable-baselines3/blob/f0382a25bdbed62dcc31875d3e540ad95c1575a5/stable_baselines3/common/base_class.py#L404
i would welcome a PR that fixes this issue =)


[feat]: Support External Funding Sources

Prerequisites

[X] I have searched for existing issues that already report this problem.

Device
Laptop/Desktop
Device OS
MacOS
Device OS Version
12.7.3
Browser
Safari
Browser Version
17.3
Current Behavior
After updating from v0.12.4 to v0.12.5 all lnbits server config and accounts are lost.
I have first discovered this in the properties tab, the accounts were lost and the superuser password changed. Then I tried to login with an old account and got a 401 error (account does not exist).
Checked later the funding and server config and all was lost 😔
Expected Behavior
Maintain all lnbits server config and accounts after upgrading to a new version.
Steps to Reproduce

Have installed v0.12.4
Do some config in lnbits and created accounts
Update to v0.12.5
All config and accounts are lost

Anything else?
No response

I am not able to reproduce following the described steps. Changing the config LN Implementation i.e. LND -> CLN or vice versa would explain the described behavior - did you happen to change this config between step 2 and 4?
If not, sharing the LNbits logs would be helpful in understanding why this might have occurred.

I did not change LND -> CLN or vice versa... As I'm using an external funding wallet I have disabled LND...
LND must be running even using an external funding source?

To confirm, you manually added an external funding source in the admin UI? If so, this would be expected.
The LNbits package on StartOS hasn't been setup/tested to accommodate funding sources outside of LND or CLN running on the same StartOS Server.
Supporting external LN nodes could be a feature added in the future, but I wouldn't expect this to work at preset.

Yes,

Installed LNbits and LND, then entered the LNbits admin and added an external funding wallet.
Generated a normal user in LNbits and created an invoice... Also payed for it and no problems.
In some moment I disabled LND because I was using external funding and thought that was not necessary.
Then updated LNbits from v0.12.4 to v0.12.5 and all config was erased (users, server config, superuser password)
Tried to config again and install some extensions and errors were shown, errors saying that SQL databases were already created before. So in some way the update found data.
Erased completely LNbits and installed again.

I was not aware that LNbits in Start9 can't run with external funding wallets, why is that? is there any docs saying features that run or not run?
Thank you!

The documentation for LNbits can be found here. "Start by ensuring that you have LNbits installed already as well as LND or Core Lightning (CLN)." - the implication here is LND or CLN is installed on the same server. But if that is not apparent we can amend the docs to be more explicit.
In general a service release on StartOS will include the most common/requested use cases of the upstream service.
As to why external funding wallets are not currently supported: dev resources are generally applied first toward highly requested service features. To my knowledge this is the first time a StartOS user has requested external node support for LNbits. This doesn't mean it won't be implemented at some point, but it may require more time and/or demand from users before it is implemented. And as always with open source, community members are welcome to contribute with PRs.

All understood!
Some days ago I've discovered that LNbits was accepting external funding sources in their support chat.. So that's why I was trying to use this feature. That for some strange reason worked in v0.12.4 under StartOS... but not in v0.12.5.
I think this is useful as no need for spinning a Lightning node, managing channels, inbound liquidity... I know that this has some privacy and security issues on funds as we know that we are using third party custodial services. But is so easy to setup, and in one minute yo are using LNbits with Alby for example.
Hope some members will find this useful and vote for it.
Is there anything I can test to be sure why this is disabled or failing? I'm not an expert but I can test.
Thank you @Dominion5254

I believe the db being reset is not directly related to updating from v0.12.4 to v0.12.5, but rather restarting the lnbits service which happens after update, and then runs the docker_entrypoint.sh script.
Every time the service starts there is a conditional in this script comparing the LN Implementation in Config with the database; if they do not match the db is reset so the user is starting with a fresh node using the internal LN node specified in Config. I suspect that something related to the external node resulted in the DB not matching Config and the DB being reset as a result.
If you have logs going back to when you updated LNbits to v0.12.5 there should be some entries that validate this hypothesis (line 27 and 28 of docker_entrypoint.sh).

I've submitted https://github.com/Start9Labs/lnbits-startos/pull/42. It doesn't allow external funding sources, but at least prevents the user from changing it through the LNBits admin UI. And it backups/restores the sqlite database when switching between lnd/cln.


Xcode 7.2 - Issues with poly themes - colors removed

I've tried uninstalling everything (all plugins and themes including alcatraz itself), but when I upgraded to Xcode 7.2, all of the colors disappeared from the installed themes. The themes are still there and can be activated, they are just now monochromatic as seen below:

Love this plugin...really useful. Let me know if I can help in any way.

+1

If you look in the Variables panel, what' it show as the values?

This appears to have been fixed for me.

@twof - what did you do?

@jakeatwork Nothing at all. I just popped open xcode yesterday and everything was working. I think they updated the plugin, so try closing xcode and reopening it maybe.

I think the reason this happens is a detail of Alcatraz: I believe on one launch it downloads and copies in new updates for the plugins. On another launch, those are then loaded.

woot...got it working again. removed both the plugin and themes, restarted, then reinstalled and they are working now. thanks!


Add charts

This PR implements the Measurement Details page.  It currently rides on top of #23 so that one should be reviewed first.  This PR actually starts on commit f4a46c52d490280b4349032e173afcc386996645

@mattfred to be reviewed after #23

Rebased with newly rebased measurements PR. Previous head: f4a46c52d490280b4349032e173afcc386996645

This PR really starts on commit 2ab93b59fc3baa53e74e895a903054022b486b71

This looks good


fix(security): increase max conntrack connections

In the logs I saw this:
Jan 21 18:06:05 nodo-3 sh[27968]: Error:  501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
Usually this means that something is wrong in the cluster but everything was working just fine (I even checked the etcd leader stats :) )
The problem is the default for nf_conntrack_max: 65536 docs
This number sound high but every docker container uses iptables with connection tracking so 200 containers using mongodb with replication (1 connection per mongodb node per application) and that number is a joke.
To check if there is a problem with  nf_conntrack run: dmesg | grep conntrack
If it shows something like nf_conntrack: table full, dropping packet the connection table is too low for the number of connections.
To check the connection in one node:
core@nodo-3 ~ $ toolbox
Spawning container core-ubuntu-debootstrap-14.04 on /var/lib/toolbox/core-ubuntu-debootstrap-14.04.
Press ^] three times within 1s to kill container.
root@nodo-3:~# apt-get update && apt-get install conntrack
....
root@nodo-3:~# conntrack -L
....
conntrack v1.4.1 (conntrack-tools): 71310 flow entries have been shown.

I removed the output from conntrack to keep this readable :)
This PR increases the number to 2000000. Each connection requires 100 bytes so this number of connections will consume 200MB of ram.

@carmstrong this could be another reason for the error 501 in etcd in a cluster with a moderate number of connections

Jenkins, test this please.

Jenkins, test this please.

this could be another reason for the error 501 in etcd in a cluster with a moderate number of connections

Yeah, that actually makes a lot of sense. Good find!

@aledbf Is 2,000,000 overkill? 200MB may be a little too much on smaller instances.
What about 500,000 or so? How many connections are you using in practice?

@carmstrong now I see spikes of 92,000 connections (per node).
Just in case the ram usage is dynamic, it grows with the number of connections.
I will change the value to 500,000.

I'm a little concerned about RAM bloat, but if this is an active issue then code LGTM.

Code LGTM.


help:How to set can-continue value to true in all time and it never set to false?

inside your step:
mounted() {
this.$emit('can-continue', {value: true});
}


How to have media controls in lock screen and notification bar

That's out of the scope for this lib, please look for a plugin specifically designed for notifications. This is about playing and controlling audio, not UI or notifications.

@luanpotter I understand what you are saying that it is out of scope for this lib, but when a user is playing an audio and the device goes to the lock screen they are expecting the audio to continue to play and if they need to pause the audio without the audio media controls on the lock screen they would need to go back to the app and pause the audio.
You have a great plugin and I believe adding the ability to pause, play, skip audio media controls from the lock screen is a must for any audio app and it would make your plugin even greater.
Thank you.

Any updates on the lock screen controls?


generate spec: json.RawMessage doesn't represent the intent.

Problem statement
When generating from source, models with a json.RawMessage, it is represented as an array of uint8 values (which is the internal representation of course). Just as a interface{} generates a "type": "object" it would be nice if json.RawMessage did the same.
Swagger specification
The following model is generated:
    "RawMessage": {
      "description": "It implements Marshaler and Unmarshaler and can\nbe used to delay JSON decoding or precompute a JSON encoding.",
      "type": "array",
      "title": "RawMessage is a raw encoded JSON value.",
      "items": {
        "type": "integer",
        "format": "uint8"
      },
      "x-go-package": "encoding/json"
    }

Steps to reproduce
Generate a model with a json.RawMessage field.
Command used here: swagger generate spec -m -i swagger.yaml -o ./swagger.json
Environment
swagger version: SHA-1: 8914a0f9bc4c11970552f133f8c9af106c1ac511 (latest master)
go version: 1.10.3
OS: windows/amd64

+1, this would be really useful for our use case as well

+1

+1

How about RawMessage being actually an array, and not an object?

interface{} can also be an array, yet go-swagger uses object for it... and json.RawMessage is pretty much the same thing, no?
Plus there's always []json.RawMessage

yes agreed it should be treated as
type: string
format: binary

I've hit this issue and tried to work around it using:
struct T {
	// type: string
	// format: binary
	Traits          json.RawMessage `json:"traits" form:"traits" faker:"-" db:"traits"`
}

without success, it still generates:
    "RawMessage": {
      "description": "It implements Marshaler and Unmarshaler and can\nbe used to delay JSON decoding or precompute a JSON encoding.",
      "type": "array",
      "title": "RawMessage is a raw encoded JSON value.",
      "items": {
        "type": "integer",
        "format": "uint8"
      },
      "x-go-package": "encoding/json"
    },

type T struct {
struct {
	// traits
	Traits RawMessage `json:"traits,omitempty"`
}

with
// RawMessage RawMessage is a raw encoded JSON value.
//
// It implements Marshaler and Unmarshaler and can
// be used to delay JSON decoding or precompute a JSON encoding.
// swagger:model RawMessage
type RawMessage []uint8

// Validate validates this raw message
func (m RawMessage) Validate(formats strfmt.Registry) error {
	return nil
}


Support hex digits in character classes and escaped characters in character class ranges

Fixes #4865, fixes #4505, closes #4518
This PR allows hexadecimal digits to be used in character classes and ranges in character classes. To support this, I have also generalized this to support all valid escaped characters in character class ranges.
A few notes:

I define a list of supported metacharacters in a character class: \, ^, -, ], +. These are the characters that may be escaped in a character class
In addition to the above list, I define \n, \r, \t, \f, \a, \b, \e as all the literals that use a backslash (https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html under "Characters")
When a pattern uses the hexadecimal representation of a metacharacter in a character class (eg. using \x5e instead of ^), Java treats this as an escaped metacharacter. Because of this, we cannot directly transpile hex digits to their unicode representation--we need to first check if it is a metacharacter.
Example: [\x5ea] should transpile to [\^a]

Signed-off-by: Anthony Chang<EMAIL_ADDRESS>

build


Ticket Creation Fails to Save name and email Field in Unified SDK

The Unified SDK’s ticketing API is not saving the name field. Despite providing the correct data, the response shows an empty name field and no emails, although the telephone number is saved correctly. Example response:

{"id":"4772478622","name":"","emails":[],"telephones":[{"telephone":"1234567890"}],"created_at":"2024-08-12T09:55:44.000Z","updated_at":"2024-08-12T09:55:44.000Z"}
Please investigate the issue and provide guidance on resolving it.

Hi @jo-2031, is the issue still persisting?

As I haven't received a response, I will assume the problem is solved. Please let us know if it still persist!


Error in Chrome after the update to v15

After updating to v15 I got an error on extension reload. With dist folder and with published zip file.
After Inspecting view in service worker I found this error
Error in event handler: ReferenceError: window is not defined
at chrome-extension://aicngmhgodhjdeiblaikecebkoaaoaac/background.js:7:5
And clicking the code link returns
chrome.runtime.onInstalled.addListener(function (details) {
if (details.reason == "install") {
chrome.runtime.openOptionsPage();
window.open("https://www.wikitree.com/wiki/Space:WikiTree_Browser_Extension");
} else if (details.reason == "update") {
// Remove the slashes below after a significant update (e.g. a new feature).
window.open("https://www.wikitree.com/wiki/Space:WikiTree_Browser_Extension_Update");
}
});
I think the error was on 2nd window.open command. The extension otherwise works.

I just started getting this too. It probably started for us when a background.js was added to our extension.
It is a known bug in Chrome:
https://bugs.chromium.org/p/chromium/issues/detail?id=1257170
There is a workaround described on that page:

if you already clicked Errors, close this tab as it's unusable now
open chrome://extensions
open devtools console
paste this in console and press Enter key:
URL=class extends URL { constructor(href, ...rest) { super(href || 'dummy://', ...rest) } }
click Errors in your extension's card

I've fixed this.


Find-moj-data-45/search-highlighting

Add a matched fields entry to search results with readable names
Apply bold highlighting for search terms on the description and search summary fields
The search summary field isn't actually searched by datahub, it's more of a patch until we figure out how we want to handle long descriptions
Should URN/ID even be included in matched fields? Users will not care about it's URN or ID most likely.

I agree we can ignore matching on URN and ID

I added back ID and URN, as otherwise some search results had blank match reasons. I've also displayed a clipped search description instead of a search summary on the search page. Pre-existing markdown will likely cause some weird rendering on the descriptions, but I couldn't think of a nice way around it other than restricting inputs for the descriptions.
I've tested the highlighted descriptions with a screenreader; it doesn't pick up the bolding.


Include check for trusted value

Could you include this changes into release (tag: 0.1.5) ?
Thanks


Poor performance of pre-trained segnet model

Semantic segmentation gif
I appreciate for sharing your work.
I am new to this and trying to use the pre-trained model fcn-resnet18-cityscapes-2048x1024 to do real-time semantic segmentation for a robotics application. I am also using your ros repo to implement the pipeline.
The input is a simulated 800x800 camera located inside an urban environment simulated in gazebo. The frame rate is less than 20fps. As you can see in the above liked gif, a lot of pixels are not labelled properly. The sidewalk is not recognized at all.
Is this an expected behavior or is there something I missed? How do I improve the labeling?

You might want to try the smaller fcn-resnet18-cityscapes-512x256 model, because your 800x800 image is being upsampled to 2048x1024 for the 2048x1024 model.  Also, you may want to change/crop the aspect ratio to be the same as the model.  I have also not tried this on simulated data, only real images.

I made those changes and it works significantly better. I’ll try with real images to see if it’s any better with them.
Thank you so much.


Geek-Stuff

Project Kanban link: https://github.com/chelobotix/Geek-Stuff/projects/1
3 participants:
Team member 1: Felipe Haybar https://github.com/Feliverse
Team member 2: Anderson Canales https://github.com/anderCM
Team member 3: Marcelo Alarcon https://github.com/chelobotix

Status: Approved 🟢 🟢 🟢
Hi Team,
Your project is complete!  There is nothing else to say other than... it's time to merge it: ship it:
Congratulations! 🎉
Highlights:
✅ Set up the Kanban board correctly 👍🏽
✅ Tasks are shared fairly 👍🏽
✅ Tasks are assigned to team members correctly 👍🏽
Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Typeface

Nice work !
Please provide an option for setting the custom typeface
Thanks In Advance

No any idea about this?


[ERROR] ImportError : Pgoapi.exceptions (Mac OsX)

Hello, just compiled and run on my MacOS X and got this error on first run.
How can I fix this?
./run.sh: line 10: bin/activate: No such file or directory remote: Counting objects: 127, done. remote: Compressing objects: 100% (29/29), done. remote: Total 127 (delta 87), reused 74 (delta 74), pack-reused 24 Receiving objects: 100% (127/127), 54.46 KiB | 0 bytes/s, done. Resolving deltas: 100% (90/90), completed with 38 local objects. From https://github.com/PokemonGoF/PokemonGo-Bot    4cc56b9..a529e0e  dev        -> origin/dev Traceback (most recent call last):   File "pokecli.py", line 43, in <module>     from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException, NoPlayerPositionSetException ImportError: No module named pgoapi.exceptions Thu Aug 25 11:31:12 JST 2016 Pokebot  Stopped. Press any button or wait 20 seconds to continue.

pip install -r requirements.txt --upgrade
But they just put out an update to the app, so I highly recommend not running the bot right now.

Oh, and you need to run this too:
source bin/activate
Missed that first part of the error.


main  code is not released?

@yewzijian yewzijian

We do not intend to release the code for this work, as parts of our code is proprietary.


Unable to add apps via hub

I'll post to forum too. No dice on discord.
I am unable to add apps when I'm connected to the flipper on ios. If I'm unconnected I can click the buttons but I cannot otherwise.
I've tried 2.4 ghz/5 ghz bands.
I've tried 5G and LTE
I've restarted and reinstalled.
No effect.
The following are device details

This shows the bug (gray flashing).

Ios version and model

I'll add any info as needed

Should be fixed in the latest release. Feel free to reopen if you're still facing this issue


Open Source : 6.23 Explain everything related to Django

Description 📜
Open Source : 6.23 Explain everything related to Django
NOTE 👇
Please put your doc 6.Popular_Projects with the name 6.23_Django.md

Domain
Open Source
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

I'd like to work on this /assign

/assign

/assign please

I want to work on this

@palakshivlani-11 Assigned, Happy learning 🎉🎉

Thank u😊 @Aryamanz29

@palakshivlani-11  Any updates on this?


Clean up type and class codegen

Is your feature request related to a problem? Please describe.
The codegen for types and classes are a mangled mess due to the iterative process and evolving changes of how the code is generated.
Describe the solution you'd like
Refactor the code to utilize an AST in an attempt to clean up the code. Maybe https://golang.org/pkg/go/ast/
Describe alternatives you've considered
At first I was thinking about going with ANTLR. This fits for the use case of parsing the gdnative C header into Go; however, there's still the parsing of XML into Go. Maybe ANTLR can still work for type generation.

why we need to parse C  header ??

the C headers parsing provides 2 things:

cgo doesn't support calling function pointers; you have to add wrapper code to call the function pointers from C; you can check out any of the *.gen.c and *.gen.h files in the project as an example.
we need to generate codegen to make interacting with godot data type primatives such as Vector2 more golang-like. without the code gen, we'd effectively need to call C code directly; this is what the types.gen.go file contains.

Hope this helps; I think once the major issues are complete, I'll write an article explaining all the aspects of the project

closing this out as i've deprecated the godot 3.x work favor of godot 4


I think it would be better to specify that using these features will consume the capacity of the AI Builder.

I assume that using these AI functions will consume AI Builder capacity, but I think it would be better to specify this in the prerequisites.

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

ID: c589a40a-2868-d1ed-daf6-a1fe0da7922b
Version Independent ID: c589a40a-2868-d1ed-daf6-a1fe0da7922b
Content: AISummarize, AISentiment, AIReply, AITranslate, AIClassify, and AIExtract functions - Power Platform
Content Source: power-platform/power-fx/reference/function-ai.md
Service: power-platform
Sub-service: power-fx
GitHub Login: @paulliew
Microsoft Alias: paulliew

Thanks for your comment, @koruneko. This issue has been assigned to the doc author for review.


[3.0] Optimization of ReflectionAbstractServerCall

What is the purpose of the change
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #10190 (787e2e1) into 3.0 (0089503) will decrease coverage by 0.52%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                3.0   #10190      +/-   ##
============================================
- Coverage     65.78%   65.25%   -0.53%
- Complexity      294      295       +1
============================================
  Files          1231     1231
  Lines         53560    53553       -7
  Branches       8090     8065      -25
============================================
- Hits          35236    34948     -288
- Misses        14491    14768     +277
- Partials       3833     3837       +4

Impacted Files
Coverage Δ

...rotocol/tri/call/ReflectionAbstractServerCall.java
32.89% <100.00%> (ø)

...luster/router/script/ScriptStateRouterFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...zookeeper/curator/CuratorZookeeperTransporter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...pc/cluster/router/file/FileStateRouterFactory.java
0.00% <0.00%> (-80.96%)
:arrow_down:

...o/rpc/cluster/router/script/ScriptStateRouter.java
0.00% <0.00%> (-67.31%)
:arrow_down:

...ting/zookeeper/curator/CuratorZookeeperClient.java
16.34% <0.00%> (-53.85%)
:arrow_down:

...dubbo/remoting/zookeeper/ZookeeperTransporter.java
55.55% <0.00%> (-33.34%)
:arrow_down:

...nt/metadata/ServiceInstanceHostPortCustomizer.java
65.78% <0.00%> (-21.06%)
:arrow_down:

.../apache/dubbo/rpc/filter/ProfilerServerFilter.java
62.85% <0.00%> (-20.00%)
:arrow_down:

...e/dubbo/rpc/protocol/tri/transport/WriteQueue.java
64.28% <0.00%> (-14.29%)
:arrow_down:

... and 59 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 0089503...787e2e1. Read the comment docs.


Update README.md

Add crossorigin prop

Hey, I found that it is already supported in the source code, but not shown in the doc.


Pass WebNN options as a strongly typed object

Instead of passing options to the WebNN delegate as Array<[string, string]>, use a strongly typed object that prevents incorrect or extraneous options from being passed and works with TypeScript code completion.

This change is

@Honry, please take a look at this approach to passing options and let me know what you think. Thanks!

Thanks @mattsoulanille, @pyu10055, this improvement LGTM!


基于淘宝镜像的yarn.lock在Gitlab CI上出现连接问题

请问yarn.lock是否可以自己生成，或者把registry替换成其他地址？

You could use Taobao's mirror.

You could use Taobao's mirror.

现在的问题是我们GCP asia-east上的镜像和淘宝镜像的连接有问题——yarn install报错如下
 [2/4] Fetching packages...  info There appears to be trouble with your network connection. Retrying...  info There appears to be trouble with your network connection. Retrying...  info There appears to be trouble with your network connection. Retrying...  error An unexpected error occurred: "https://registry.npm.taobao.org/<EMAIL_ADDRESS>unexpected end of file".
直接运行wget发现连淘宝的镜像很慢。
所以是否有办法替换yarn.lock里的淘宝地址？不使用repo里的yarn.lock的话，yarn install得到的package版本似乎不对

You could remove the yarn.lock and reinstall by using official mirror, don't care about that version.
BTW, the new dashboard is building on next branch, you could use the admin api to operate the APISIX manually.

I tried building the new dashboard, but I'm not sure how to add services/routes/plugins with that?And for the issues with taobao mirror which occurred on dashboard v1.0: removing yarn.lock and reinstalling causes the following errors:
 ERROR  Failed to compile with 6 errors                                                                                下午1:41:20

 error  in my/path/incubator-apisix-dashboard/src/components/HeaderSearch/index.vue

ERROR in my/path/incubator-apisix-dashboard/src/components/HeaderSearch/index.vue
76:18 Generic type 'Fuse<T, O>' requires 2 type argument(s).
    74 |   private options: RouteConfig[] = []
    75 |   private searchPool: RouteConfig[] = []
  > 76 |   private fuse?: Fuse<RouteConfig>
       |                  ^
    77 |
    78 |   get routes() {
    79 |     return PermissionModule.routes

 error  in my/path/incubator-apisix-dashboard/src/layout/components/TagsView/index.vue

ERROR in my/path/incubator-apisix-dashboard/src/layout/components/TagsView/index.vue
207:23 Argument of type 'ITagView' is not assignable to parameter of type 'RawLocation'.
  Type 'ITagView' is not assignable to type 'Location'.
    Types of property 'name' are incompatible.
      Type 'string | null | undefined' is not assignable to type 'string | undefined'.
        Type 'null' is not assignable to type 'string | undefined'.
    205 |
    206 |   private closeOthersTags() {
  > 207 |     this.$router.push(this.selectedTag)
        |                       ^
    208 |     TagsViewModule.delOthersViews(this.selectedTag)
    209 |     this.moveToCurrentTag()
    210 |   }

 error  in my/path/incubator-apisix-dashboard/src/layout/components/TagsView/index.vue

ERROR in my/path/incubator-apisix-dashboard/src/layout/components/TagsView/index.vue
223:25 Argument of type 'ITagView' is not assignable to parameter of type 'RawLocation'.
  Type 'ITagView' is not assignable to type 'Location'.
    221 |     const latestView = visitedViews.slice(-1)[0]
    222 |     if (latestView) {
  > 223 |       this.$router.push(latestView)
        |                         ^
    224 |     } else {
    225 |       // Default redirect to the home page if there is no tags-view, adjust it if you want
    226 |       if (view.name === 'Dashboard') {

 error  in my/path/incubator-apisix-dashboard/src/store/modules/tags-view.ts

ERROR in my/path/incubator-apisix-dashboard/src/store/modules/tags-view.ts
55:35 Argument of type 'string | null | undefined' is not assignable to parameter of type 'string | undefined'.
  Type 'null' is not assignable to type 'string | undefined'.
    53 |   @Mutation
    54 |   private ADD_CACHED_VIEW(view: ITagView) {
  > 55 |     if (this.cachedViews.includes(view.name)) return
       |                                   ^
    56 |     if (!view.meta.noCache) {
    57 |       this.cachedViews.push(view.name)
    58 |     }

 error  in my/path/incubator-apisix-dashboard/src/store/modules/tags-view.ts

ERROR in my/path/incubator-apisix-dashboard/src/store/modules/tags-view.ts
57:29 Argument of type 'string | null | undefined' is not assignable to parameter of type 'string | undefined'.
  Type 'null' is not assignable to type 'string | undefined'.
    55 |     if (this.cachedViews.includes(view.name)) return
    56 |     if (!view.meta.noCache) {
  > 57 |       this.cachedViews.push(view.name)
       |                             ^
    58 |     }
    59 |   }
    60 |

 error  in my/path/incubator-apisix-dashboard/src/views/login/index.vue

ERROR in my/path/incubator-apisix-dashboard/src/views/login/index.vue
105:10 Module '"../../../../../../..my/path/incubator-apisix-dashboard/node_modules/vuex/types"' has no exported member 'Dictionary'.
    103 | import { Component, Vue, Watch } from 'vue-property-decorator'
    104 | import { Route } from 'vue-router'
  > 105 | import { Dictionary } from 'vuex'
        |          ^
    106 | import { Form as ElForm, Input } from 'element-ui'
    107 | import { UserModule } from '@/store/modules/user'
    108 | import { isValidUsername } from '@/utils/validate'

 ERROR  Build failed with errors.
error Command failed with exit code 1.

And the packages' versions in my generated lock file are different  from the ones in yarn.lock from repo.

I just built one for you.
dashboard.tar.gz

@Gary-Airwallex BTW, the new dashboard is under development on the next branch, welcome PR or contribution :)


Few Google bots are not considered

Description
We are seeing traffic from these two user-agents:

Mozilla/5.0 AppleWebKit/537.36 Chrome/126.0.6478.126 Safari/537.36 Google-Ads-Conversions
Mozilla/5.0 (iPad; CPU OS 9_1 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko; compatible; pageburst) CriOS/79.0.3945.117 Mobile/13B143 Safari/601.1.46

References

isbot considers them as bots.
IP seems to be from Google https://www.ip-tracker.org/lookup.php?ip=<IP_ADDRESS>.
https://user-agents.net/string/mozilla-5-0-ipad-cpu-os-9-1-like-mac-os-x-applewebkit-601-1-khtml-like-gecko-compatible-pageburst-crios-79-0-3945-117-mobile-13b143-safari-601-1-46-ip-74-125-150-66
https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers

Thanks! Would you you make a pulll-request to add Google-Ads-Conversions and pageburst?


getAllWithRoles command and format

This PR is a small addition for [p]getAllWithRoles. Similar to getAllWithRole, this command simply finds players that have intersecting roles for any number of roles specified.
Example:
?getAllWithRoles Admin "General Manager"
Lastly, I did a second commit and formatted the entire cog using python-black.

mush:

looks good


Size import missing in certain samples that use VisionPortal.setCameraResolution()

Applies to v9.0.1 and earlier.
Certain samples contain a commented out line that calls VisionPortal.setCameraResolution(Size cameraResolution).  If this line uncommented, and you are using OnBot Java for development, the build will break because OnBot Java will not auto import the Size class, and the sample is not shipped with the Size be default in its list of import statements.
To fix the problem simply add
import android.util.Size;

to the list of existing imports at the top of the file.
v9.1 has the necessary import added by default.

This issue has been corrected in in 9.10.
The Size import has been included in all sampes that include it int the code, or in commented out samples.


Plotting seismic well log and trace data in ChartJS

Feature Proposal

Feature Use Case

Possible Implementation

Sample well log and seismic trace curves is

Seismic well data is too specific a use case to be implemented in the core library. We would expect this to be implemented by a user as a plugin


Default server config cors->allowed_origins parameter does not get parsed

Hi, I've successfully build gocrack, using go 1.9 on Ubuntu 16.04 and have created default configs for the server and worker in gocrack/build/linux/amd64/configs. However, when I run './gocrack_server' from amd64/ I get the following error:
{"time":"2017-11-03T17:34:13-04:00","level":"fatal","error":"web_server.cors.allowed_origins must contain one or more domains","message":"Failed to initialize server"}
I believe the issue is that the default config supplied in this repository defines 'api_server' instead of the expected 'web_server' listed in gocrack/server/config.go:18

Argh, yes you are correct. It should be web_server not api_server (https://github.com/fireeye/gocrack/blob/master/server/config.go#L18). This was a last minute change and slipped my mind. I'll get this fixed ASAP, thank you!


Order of sub-sections in openssl.pod needs review

From https://github.com/openssl/openssl/pull/10132#issuecomment-573238242
The order of the OPTION subsections in openssl.pod is debatable. For example it is suprising that the 'Extended Verification Options' precede the 'Verification Options'.
This should be handled after the #10132 and #10134 are merged.
doc/man1/openssl.pod:496:=head1 OPTIONS
doc/man1/openssl.pod:501:=head2 Common Options
doc/man1/openssl.pod:519:=head2 Format Options
doc/man1/openssl.pod:622:=head2 Pass Phrase Options
doc/man1/openssl.pod:668:=head2 Trusted Certificate Options
doc/man1/openssl.pod:722:=head2 Random State Options
doc/man1/openssl.pod:752:=head2 Extended Verification Options
doc/man1/openssl.pod:797:=head2 Verification Options
doc/man1/openssl.pod:1037:=head2 Name Format Options
doc/man1/openssl.pod:1187:=head2 Engine Options

Ping @ddvo who said the plan is to split openssl.pod into separate sub-pages.  He can assign appropriately.

Did this get resolved with those two PRs?

Since there are now for "openssl-XXX-options" pages, I am closing this.


Fix: ALLOWED_ORIGINS vars for CORS

Inconsistent CORS errors.  Try revising ALLOWED_ORIGINS to use only our deployment domain.

Thanks for the PR!
Any successful deployments (not always required) will be available below.
Backend
Frontend
Oracle-API
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

Looks like ALLOWED_ORIGINS isn't the issue.  Closing.


add actual LSPTask objects for Watchman state-enter/state-leave notifications

Motivation

This is essentially pre-work for a larger change that wants to check for particular states and take action on said states.
This PR should be reviewable commit by commit.
Test plan

See included automated tests.

Makes sense. Curious to see what you're going to go inside the LSPTask's, because I still don't have an idea of what code I'd fill them out with.

I am not 100% sure whether there will be bits added to LSPPreprocessor or similar to call from inside the tasks, or whether the tasks will mostly be useful for LSPPreprocessor or similar to recognize state-enter/state-leave events and take appropriate action.