Internationalization

The Flutter community is very much global. It would be important for us to have a path towards internationalization where people could contribute.
Right now Sidekick does not have any abstraction for internalization. We would first need to build this and call for the community to contribute.

#95 added intl, will be released in next version

I believe this was a first go. However not sure how maintainable this will be going forward. I believe we need to implement something like https://github.com/aloisdeniel/flutter_sheet_localization, in order to make it easy to create and maintain new languages.
The first issue that I had is when creating new features we have to easily make the strings that need to be translated available. By having a google sheets interface I believe it can be easier, for us to make a “CSV”available that can be versioned, and/or allow for people to modify through the Google sheets itself.

Have a look at the extension that makes the development a bit easier.
Also there are some websites where you can upload the arb files. And then they can be translated by everyone.
https://marketplace.visualstudio.com/items?itemName=localizely.flutter-intl

https://localizely.com/

@MaxiTechno1ogy do you have experience with this service? It seems pretty good.

If help about it:
https://localizely.com/flutter-localization-workflow/
https://localizely.com/flutter-over-the-air/
But I still prefer local .arb files:
https://flutter.dev/docs/development/accessibility-and-localization/internationalization
https://github.com/VeryGoodOpenSource/very_good_cli

I've got good experiences with internationalization.
Should I create a PR based on i18Next?
It's for me the best way to add translations and to handle Dates, and so on.

@Ahmadre that would be great, to be honest, I think we need some support on keeping up with localization. We have currently implemented some, but seems that maintaining might be difficult, and also  I think some things could be simpler.

How do we handle updates to new strings or features
How do we make people aware that a change needs to happen
How do make onboarding of new localization easier, where non-programmers can contribute to it
What are the benefits of using a package, vs. a third-party service.

I don't expect you to answer all of these, but it's some of the questions I have as we bring more localization options.

Let's go:

How do we handle new strings/features: ✅ (possible solution from existing production apps will follow)
How do we make people aware that a change needs to happen: What exactly has this to do with translations? I think here of a kind of linter solution / static analysis, if a user tries to add static Text like: Text('Static text)'.
How do make onboarding of new localization easier, where non-programmers can contribute to it: ✅ (super easy and convinient possible solution from existing production apps will follow) -> only the translation file (e.g.: de-DE, en-GB,...) and a new entry in supportedLanguages are needed and that's just a simple line: const Locale('de', 'DE'),.
What are the benefits of using a package, vs. a third-party service: I have investigate and do a little research here. Me for myself I didn't like the services from Google Translator API and DeepL API. Especially the DeepL and DeepL Pro Service isn't the yellow of the egg. There're also Google Play Translation Service and others, but like I said, I have to investigate here more in Third party services. It also depends on the project and complexity! And for sidekick I would prefer a package which rich features (Plurals, nesting, contexting/namespacing,...).

If you like I would start tomorrow with the PR while we're discussing all of this.

@Ahmadre this looks great, thanks!
You're more than welcome to start working on a PR.
Regarding state management, we use Riverpod.

@Ahmadre Thanks for the detailed answers. I think what you are proposing makes translation much easier, and also maintenance of new translations. Let me know if you would like to get on a chat, or feel you have enough to start a PR

I've finished everything and added also spanish as a new language so you can see what I actually did.

@Ahmadre I cannot get the intl to work on my PC. Is there any step I have to take?

@Ahmadre I cannot get the intl to work on my PC. Is there any step I have to take?

That doesn't look like intl. Could you reset your settings in SettingsScreen and let Hive reinitialize itself?
I am also investigating into this. I also found a problem with 'isCached'. I think null-safety would be helpful.

I will rename the key for hive to cache. It can collide with the existing key I was using for the actual locale

I was recently looking up how the app is setup and would prefer if the keys for the localization strings are typed. If we follow the default flutter internalisation way we could just L10n.of(context).stringToBeTranslated(parameters). But this would probably be a very big refactoring now. Is this worth a new issue?

I think the effort is not worth it at the moment, with Sidekick being mostly stable and no need to keep adding translations.
I agree a strongly typed solution would be preferable, so it may be worth it in the long term.


proposal of the admin data logs if a new column is going to be created..

in future we are going to merge  trangender to main(with main as db)...so on the same site sometimes you are going to see a new column Tgender(transmasculine-feminine)...

Please create a proposal document in this folder
https://drive.google.com/drive/folders/1dEeS2dLiRtaH2WGqvbWqN-DpP7Hbn_9G?usp=sharing

done, you can review it

closing as it is a duplicate of issue #92 of the admin page


Bug: mixin sets every property as experimental

Hello, First of love the library. Overriding projen properties is/was a pain point of ours. We set the new default properties by hand and even enforce some but having it reflected in the generated docs is hard. With this library it's easy thanks for that.
Using it however I think I found a bug as every property in the generated Struct has the @stability experimental doc annotation attached to it.
Using this code I'm trying to generate a new Struct extending from projen.typescript.TypeScriptProjectOptions.
export class NodeLibraryBlocProjenOptions extends ProjenStruct {
    constructor(project: typescript.TypeScriptProject, options?: ProjenStructOptions) {
        const defaultOptions: ProjenStructOptions = {
            name: 'NodeLibraryProjenOptions',
            filePath: './src/blocs/node-library/node-library.projen-options.ts',
        };
        super(project, { ...defaultOptions, ...options });
        this.mixin(Struct.fromFqn('projen.typescript.TypeScriptProjectOptions'));
    }
}

This generates this Struct and every property now has the @stability experimental tag.
/**
 * NodeLibraryProjenOptions
 */
export interface NodeLibraryProjenOptions {
    /**
     * TypeScript version to use.
     * NOTE: Typescript is not semantically versioned and should remain on the
     * same minor, so we recommend using a `~` dependency (e.g. `~1.2.3`).
     * @default "latest"
     * @stability experimental
     */
    readonly typescriptVersion?: string;
    /**
     * The name of the development tsconfig.json file.
     * @default "tsconfig.dev.json"
     * @stability experimental
     */
    readonly tsconfigDevFile?: string;
    /**
     * Custom tsconfig options for the development tsconfig.json file (used for testing).
     * @default - use the production tsconfig options
     * @stability experimental
     */
    readonly tsconfigDev?: javascript.TypescriptConfigOptions;
    /**
     * Custom TSConfig.
     * @default - default options
     * @stability experimental
     */
    readonly tsconfig?: javascript.TypescriptConfigOptions;

I can remove it for individual properties by manually setting the stability to undefined in an update function.

Fun times! Basically this is because your source (in this case projen) has marked everything as experimental.
Can you do a PR that add something like a withStability method to easily change the stability of all properties?


Show list of all channels on the left sidebar, like Slack/Discord

Show a list of all the rooms in the space, and let people click them by joining. Just like any other chat client.
Ideally we'll also send presence data, so you can see how many people are in a given room. We can send this data out on a different SignalR channel at the same time we send "X joined/left a room" messages to those rooms.
This is going to drive out one other server change. There are rooms we won't want to show, so we'll want to create a distinction on the server between "public" rooms and ones that don't show up in this list.
Open design question: how are these sorted?

We're now sending data for all rooms down to the client.
We're not yet sending out heartbeat updates of presence in each room.

Update, we are ;)


Support for Kogan Smart Kettle

Just purchased a kogan smart kettle (it is a tuya device) i was able to obtain the device ID Key and the schema, im unable to get the signiture as when set up as a simple light the logs dont show anything and the device still cant be found, unsure what im doing wrong? is there another way to aquire the signiture?
Please help in getting support for this device! ive just had a baby and it woudl be super helpful if i could ask siri to boil my kettle ready for bottles. ^_^
Found 1 device:
[
{
name: 'Kogan smart kettle',
id: '41341132bcddc266e0c5',
key: '87869d43e011b3ae',
def: {
schema: '[{"mode":"rw","code":"Power","name":"\u70e7\u5f00","property":{"type":"bool"},"iconname":"icon-dp_power","id":1,"type":"obj","desc":""},{"mode":"ro","code":"tempcurrent","name":"Current Temeperature","property":{"unit":"\u2103","min":0,"max":100,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_light2","id":5,"type":"obj","desc":""},{"mode":"rw","code":"tem","name":"\u4fdd\u6e29","property":{"range":["40","50","60","80","90","currenttemp"],"type":"enum"},"id":102,"type":"obj","desc":"\u5355\u4f4d\u2103"}]',
},
},
]
link to purchase = https://www.kogan.com/au/buy/kogan-smarterhome-17l-smart-glass-kettle/

I would also like this! Even if it’s not the full functionality but if it acted like a switch for on and off would be great! @AMoo-Miki

+1

Just purchased a kogan smart kettle (it is a tuya device) i was able to obtain the device ID Key and the schema, im unable to get the signiture as when set up as a simple light the logs dont show anything and the device still cant be found, unsure what im doing wrong? is there another way to aquire the signiture?
Please help in getting support for this device! ive just had a baby and it woudl be super helpful if i could ask siri to boil my kettle ready for bottles. ^_^
Found 1 device:
[
{
name: 'Kogan smart kettle',

id: '41341132bcddc266e0c5',

key: '87869d43e011b3ae',

def: {

  schema: '[{"mode":"rw","code":"Power","name":"\\u70e7\\u5f00","property":{"type":"bool"},"iconname":"icon-dp_power","id":1,"type":"obj","desc":""},{"mode":"ro","code":"tempcurrent","name":"Current Temeperature","property":{"unit":"\\u2103","min":0,"max":100,"scale":0,"step":1,"type":"value"},"iconname":"icon-dp_light2","id":5,"type":"obj","desc":""},{"mode":"rw","code":"tem","name":"\\u4fdd\\u6e29","property":{"range":["40","50","60","80","90","currenttemp"],"type":"enum"},"id":102,"type":"obj","desc":"\\u5355\\u4f4d\\u2103"}]',

},

},
]
link to purchase = https://www.kogan.com/au/buy/kogan-smarterhome-17l-smart-glass-kettle/

Any luck with this. I'm thinking about getting one and trying to work it out.


Swift 5.0

I just think you should have it for the next few years if they were set up

Hey,
I didn't understand what is this PR doing :(
Are you opened it from the correct branch?

IMO, this PR is an accident


yotta init should fill in a default .gitignore if run in a git repo.

All yotta modules require similar entries in .gitignore.  Adding this functionality to yotta init would save a repetitive task.

+1. Remember to also put .yotta.json there.

Why stop there, add a mercurial ignore file too, heck maybe add them both regardless of where the repo is initialized.

I don't think yotta should generate files that aren't for an existing git repo.

I will often create a module locally and test before I ever create a git repo for it. In fact this is how i develop most often. In this workflow having the .git ignore files present would be rather helpful.
Workflow
Local yotta module-> test -> modify-> repeat -> commit to git

I'm not sure this is the responsibility of yotta.
But this can definitely be considered in IDEs ;)


Not able to see "Shows" section in Dev build and sometimes Tests for them behave strangely

I am in the release-0.0.6-alpha branch. I have built using it and I have noticed that the Tv Shows section wouldn't show up, instead only the Movies section would be visible even after clicking Shows. But when I did testing using npm run test, somehow my tests passed a few times, but a while ago they didn't pass. An error showed up and said the Shows section isn't shown, which is true.
And after trying the test  command a few more times, the tests finally started to pass and the Shows section actually showed up while doing npm run test.
What is this strange behavior ? And when I package the App, the Tv Shows section is visible perfectly. But that can possible because of Webpack's different environments for production and developement.
But why does this strange behavior happen even within different tests on the Dev build ?

Not sure why. There are a lot of bugs like that that have encouraged me to rewrite the entire Item module.

Oh, okay.

So, shall I close it ? Or you wanna close it when you push the code for all this ?

Nah, keep it open. Its a good reminder. Lets close it when its fixed.

Ah, okay!


"Authenticator" Would Like to Access the Camera step missing

Ref issue #36731 - please could you add the same camera warning that was recently added to 'Add your Amazon Account' point 5 to points 3 and 2 on 'Add your Google account to the app' and 'Add your Facebook account to the app' respectively, since the same steps also apply to those accounts? Thank you!

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

ID: 49de26c3-95f4-2004-8e63-0076c41ddfb3
Version Independent ID: c304f504-3e8a-591d-6d34-8f2a3277094f
Content: Add your non-Microsoft accounts to the Microsoft Authenticator app - Azure Active Directory
Content Source: articles/active-directory/user-help/user-help-auth-app-add-non-ms-account.md
Service: active-directory
Sub-service: user-help
GitHub Login: @eross-msft
Microsoft Alias: lizross

@ChrisAtMAF

@ChrisAtMAF  Thank you for the feedback! I actually ended up moving the note to the top of the article, underneath the Add a personal account heading, where it talks about the general steps to add non-MS accounts. You should see this update later this afternoon.
Add personal accounts
Generally, for all your personal accounts, you must:

Sign in to your account, and then turn on two-factor verification using either your device or your computer.

Add the account to the Microsoft Authenticator app. You might be asked to scan a QR code as part of this process.
Note
If this is the first time you're setting up the Microsoft Authenticator app, you might receive a prompt asking whether to allow the app to access your camera (iOS) or to allow the app to take pictures and record video (Android). You must select Allow so the authenticator app can access your camera to take a picture of the QR code in the next step. If you don't allow the camera, you can still set up the authenticator app, but you'll need to add the code information manually. For information about how to add the code manually, see see Manually add an account to the app.

We're providing the process here for your Facebook, Google, GitHub, and Amazon accounts, but this process is the same for any other app, such as Instagram, Netflix, or Adobe.
#please-close


[Feature]: how to use a proxy to view the url "https://xx.myshopify.com/admin/api/unstable/themes.json"

What area(s) will this request affect?
App, Deployment
What type of change do you want to see?
New feature
Overview

Motivation
when i excuted commands 'shopify theme dev --store xx', there was a problem, i can't use my vpn to view the url.

Hello @daguniang , thank you for flagging this issue, can you share the --verbose logs for this error?

May I ask if you have solved it now? I still can't solve it according to this method #3225

In order to help us fix this, can you share the --verbose logs for when you get this error?

@lukeh-shopify  Bro!
Below is how I fixed the network issue. Hope this code can give you some idea!
Basically, We just need a way to set a proxy for the shopify cli!
In @shopify/cli/bin/run.js
#!/usr/bin/env node

process.removeAllListeners("warning");

import http from "http";
import https from "https";
import { HttpProxyAgent } from "http-proxy-agent";
import { HttpsProxyAgent } from "https-proxy-agent";

const proxyUrl = "http://<IP_ADDRESS>:20122";

const httpAgent = new HttpProxyAgent(proxyUrl);
const httpsAgent = new HttpsProxyAgent(proxyUrl);

http.globalAgent = httpAgent;
https.globalAgent = httpsAgent;
import runCLI from "../dist/index.js";

runCLI({ development: false });

in cli/dist/index.js Line 145995
import {ProxyAgent} from "undici"

  try {
    response = await _getFetch(opts.fetch)(target, {
      headers: opts.headers,
      ignoreResponseError: !0,
      // make $ofetch.raw transparent
      ...opts.fetchOptions,
      dispatcher: new ProxyAgent("http://<IP_ADDRESS>:20122")
    });
  } catch (error) {
    throw createError({
      status: 502,
      statusMessage: "Bad Gateway",
      cause: error
    });
  }

@ruinb0w Great, I'm glad you all managed to work around the issue with external software. @panjiangyi Thanks for sharing the information about the proxy work around as well.
@Shopify/app-inner-loop Do ya'll know if adding wider proxy server support to the CLI is something that has been considered previously? I think this would affect not only the theme commands, but everything else as well


bluetoothctl not found, is there any way to pair an audio bluetooth device

Hello,
I used buildroot to build an embedded target and I included bluez-alsa, bluez-tools and bluez-utils 5.x as I intend to develop a bluetooth audio application.
When I try to use the bluetoothctl tool, it is not found. I searched in /bin and /usr/bin and it is not there (bluealsa is in /usr/bin).
Does bluealsa provide a tool to pair bluetooth audio devices?
Regards,

Does bluealsa provide a tool to pair bluetooth audio devices?

No, pairing/connecting Bluetooth devices is out of the scope of bluez-alsa project. The bluetoothctl tool is part of bluez project.

I don't use buildroot, but I believe that bluetoothctl is an optional part of the build. Make sure you select [*] build CLI client under [*] bluez-utils 5.x

Thanks for the reply. I had already selected the CLI client under bluez-utils 5;x but I still can't have the bluetoothctl tool. I am getting this error :
/bin/sh: bluetoothctl: not found
That's may be due to my development board (Ingenic Halley5) or the buildroot version used (2020.02.1). I am going to try to change those 2 parameters and see if it makes any better.

As this is not an issue with BlueALSA, but rather with buildroot and/or Bluez, I am closing it now. Please look to those two projects for help with getting bluetoothctl to install.


[AMQ-7514] Deprecate configuration that uses non-inclusive language

This is the first in a series of changes that are planned to phase out non-inclusive terminology throughout the config, and codebase.

Auto closed


Bulk Metadata Update - ms.topic updates.

Global effort to improve metadata quality across the Learn platform
These changes make reports cleaner, easier to use, more consistent, and more reflective of our current business. After you accept these changes and they're merged, they will be reflected in standard dashboards and reports maintained by C+E Skilling Business & Customer Success. You'll need to use new filter values in these reports, and you may need to update any custom dashboards or Kusto queries. If you have any questions, please contact Learn Platform Metadata (learn-metadata@microsoft.com).

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/graph-api/meeting-transcripts/api-transcripts.md
97
1
link
:white_check_mark:

msteams-platform/graph-api/meeting-transcripts/fetch-id.md
97
4
link
:white_check_mark:

msteams-platform/graph-api/meeting-transcripts/overview-transcripts.md
99
4
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Learn Build status updates of commit 10628a0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/graph-api/meeting-transcripts/api-transcripts.md
:white_check_mark:Succeeded
View

msteams-platform/graph-api/meeting-transcripts/fetch-id.md
:white_check_mark:Succeeded
View

msteams-platform/graph-api/meeting-transcripts/overview-transcripts.md
:white_check_mark:Succeeded
View

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

@laujan
This PR replaces 3 instances across 3 files. No other content was edited or added. If you have any questions, please contact Learn Platform Metadata (learn-metadata@microsoft.com).

Hi @v-vpaliwal, please review and merge, thanks!


XOR constraint + misc

addConsXor as new constraint (MAIN CHANGE)
changed test_logical.py: two different testing functions, removed trivial skips, cosmetics
examples for and/or/xor constraints (and a workaround to get xor resultant as variable)
example to get if a integer number is even or odd (for newcomers)
ignorefix
Question: what is the boolean rhs in http://scip.zib.de/doc-5.0.1/html/cons__xor_8h.php ?
right-hand side? it is left-side...
resultant? it is not a variable...
I'd like to add its meaning to the docstring.

Question: what is the boolean rhs in http://scip.zib.de/doc-5.0.1/html/cons__xor_8h.php ?
right-hand side? it is left-side...
resultant? it is not a variable...
I'd like to add its meaning to the docstring.

See here. It is the right-hand side. I guess it would make more sense to write it as the rhs ;)
http://scip.zib.de/doc-5.0.1/html/group__CONSHDLRS.php#ga6d8ed4fefe3d67731f636c06e580750e

I am confused. :/
Can a right-hand side be at the left-hand side? (e.g. here)

in this case it doesn't really matter since a = b if and only if b = a

On rhs
Lhs and Rhs are associated to Model method getLhs and getRhs. Albeit left-hand in the formula, I would expect the boolean value rhs should be returned with getRhs if in any future XOR constraint supports getRhs/getLhs. Or am I missing something?
On and/or/xor example
It is a tutorial example for newcomers with a little tip if one wants to set a XOR constraint with a resultant integer variable instead of a boolean rhs. (I used the same tip in test_logical.py)
On integer parity example

as caveat, to show variables are non-negative by default;
to point there is no explicit method/error to get the minimum set of constraints for which the problem is infeasible;
there is no explicit modulus (%) operator, so an auxiliary variable is needed.

On example policy
If examples are application showcases, may I suggest a folder for tutorial examples to help newcomers? A showcase may not be the best to start and may not be the best place to stress caveats, etc.

Or am I missing something?

Ok, I see what you mean. The model method getRhs will not work for Xor constraints. SCIP has different types of constraints and each of them provides its own method to query them. We have only interfaced the behavior for linear and quadratic constraints.
One would need to extend getRhs with something like
        elif constype == 'quadratic':
            return SCIPgetRhsQuadratic(self._scip, cons.cons)
        elif constype == 'xor':
            return SCIPgetRhsXor(self._scip, cons.cons)

and this would return the boolean, even though in the documentation it is written at the left side.
On the other hand, the method getLhs will never work for Xor constraints, because there is no lhs. There is no SCIPgetLhsXor. One could return the variables, but this would differ from SCIP.
In any case, I am unsure whether it is a good idea to extend getRhs so that it also returns the boolean for Xor constraints.
Regarding examples and tutorial, maybe we can have a directory example and another, applications, for showcases? Or inside example, we can have advanced and basic? @mattmilten any opinions?

We should definitely clean up the examples directory. I really like the separation of examples/applications into beginner and advanced.

ok, I would open a different issue for that. I guess this is good to go


♻ New tiledbsoma API: save_tiledbsoma_experiment

https://github.com/laminlabs/lamindb/pull/1823
https://github.com/laminlabs/lamindb/pull/1827
https://github.com/laminlabs/lamin-usecases/pull/141

Can you please also cross-link your previous PR and the changes to the guide?

Done.


OCPBUGS-21846: revision_controller: update last revision only when a revision is completely rendered

/hold
until tested through operators:
KS: https://github.com/openshift/cluster-kube-scheduler-operator/pull/514 worked
KCM: TBD

/retest-required

some comments that needs resolving before merge.  lgtm otherwise.
/approve

/lgtm

/lgtm

/hold cancel


Update partners file with web links and logos

All logos used with permission.
Signed-off-by: Paul Howard<EMAIL_ADDRESS>

Thanks @hug-dev for the reminder on the old logo. I've pushed a second commit to do that.

Thank you!


feat: handle keep-alive timeout

Issue
https://gravitee.atlassian.net/browse/APIM-3966
Description
Add the possibility to configure the keep-alive timeout.

Gravitee.io Automatic Deployment
🚀 A prerelease version of this package has been published on Gravitee's private artifactory, you can:

use it directly by updating your project with version: 5.11.0-apim-3966-configure-keepalive-timeout-SNAPSHOT
download it from Artifactory here

:tada: This PR is included in version 5.11.0 :tada:
The release is available on:

5.11.0
GitHub release

Your semantic-release bot :package::rocket:


Writing BufferedImages to in-memory MP4-format

Your README provides a decent example for how one can turn a list of BufferedImages into an MP4 like so:
SeekableByteChannel out = null;
try {
    out = NIOUtils.writableFileChannel("/tmp/output.mp4");
    // for Android use: AndroidSequenceEncoder
    AWTSequenceEncoder encoder = new AWTSequenceEncoder(out, Rational.R(25, 1));
    for (...) {
        // Generate the image, for Android use Bitmap
        BufferedImage image = ...;
        // Encode the image
        encoder.encodeImage(image);
    }
    // Finalize the encoding, i.e. clear the buffers, write the header, etc.
    encoder.finish();
} finally {
    NIOUtils.closeQuietly(out);
}

Instead of writing to a file system resource on the disk (such as "/tmp/output.mp4"), I'd like to write to a (fully MP4-compliant) in-memory buffer, ideally a byte[] or something that will convert into a byte[].
Is this possible to do with JCodec (maybe something inside of NIOUtils or similar)?

You should be able to access the encoded bytes via something like this:
WritableRaster raster = image.getRaster();
DataBufferByte dataBuffer   = (DataBufferByte) raster.getDataBuffer();
byte[] encodedImageData = dataBuffer.getData();


fix: revert freeze BluetoothServiceInfo dataclass

There are some libs that are failing with this change and since they are not hard pinned we need to revert this for now and come back to it later.
Revert "feat: freeze BluetoothServiceInfo dataclass"
This reverts commit bc61444acde3cfb0b6c926072cf7c40f5a6ca744.

Thanks.  Hopefully we can eventually get this to work.  But with the proximity to release I don't want to risk it now 👍


Bump module dependencies

This commit bumps the required module dependencies, particularly requiring stdlib >9

we also have https://github.com/puppetlabs/puppet_operational_dashboards/pull/181 :)


Running unity's example scene make application not responding

Everytime I tried to run both example scene 1 and 2 will make my unity editor not responding. I have slept for 10 hours and come back to see that it still not responding. I tried to change the version of my editor, and it still didn't solve my issue.
To Reproduce
Steps to reproduce the behavior:

Download & open the example project.
Open SampleScene1 or SampleScene2.
Run the play mode.

Operating System: 13.2 (22D49)
Unity Version: 2021.3.20f1 and 2023.1.0a26
Device: MacBook Pro 14-inch, 2021 (M1 Pro)

Thanks for your report.
Did you add Unity.app to Preferences?
Refer to the Installation chapter of the README.

I did follow the README installation guide.


autolister possible

Hey, you made an incredible autobuyer but is it possible to make an autolister for all your unassigned items to be listed?
Thanks!
Keep it up!

If you are on windows os , you can try this tool which has autolist option
https://github.com/chithakumar13/FIFA-ClickAutoBuyer

If you are on windows os , you can try this tool which has autolist option
https://github.com/chithakumar13/FIFA-ClickAutoBuyer


Sync Overview - Error: 2

What syncthing version? This used to be a problem a few versions back, but Syncthing should have fixed it

Reference: https://github.com/syncthing/syncthing/pull/1880

v0.11.9

It hasn't popped back up since so I will keep monitoring, didn't realise it outputs the error reported from Syncthing...

Can you correlate it with an entry from Syncthing's log? Either in the console, or syncthing.log?

Any more input on this?

I'm waiting for it to appear again, at the moment it hasn't or I have missed it due to other commitments. I will monitor today and report back at the end of the day.

It should be fairly easy to reproduce:

Create folder, wait for it to sync
Add ignore rule for *.testtmp
Create folder\Something.testtmp
From another device, delete folder
Watch as Syncthing fails to delete the folder

I haven't seen this come back so I no longer think this is an issue.

Cool - I've seen it work properly with new versions of Syncthing in the meantime.
I'll close this off, feel free to re-open if you see it with a new Syncthing version


results of the pre-trianed  model

Hi everyone! I've installed this projects and download the pretrained model  for  Second and PV-RCNN,  my problem is:
when I running demo.py to  see the detected results on KITTI datasets(some samples of KITTI test sets ), the  results is very badly, there are a lot of  false detect results, then I replace the KITTI datasets with my own pointcloud bin file,  the performance is also very poor.
Did anyone occurred the same problem?

The confidence score of false detections are very low, around 20% so you can threshold the output to a specific score and you won't see these detections @hitxing
I wanna ask you about something if you could help, when I load the pretrained weights for pv_rcnn and try to run demo.py, it outputs segmentation fault (core dumped), have you faced this issue ?

The confidence score of false detections are very low, around 20% so you can threshold the output to a specific score and you won't see these detections @hitxing
I wanna ask you about something if you could help, when I load the pretrained weights for pv_rcnn and try to run demo.py, it outputs segmentation fault (core dumped), have you faced this issue ?

Thanks for your help, I faced the same problem when I trying to train my own weights but not in the time I load the pretrained weights,I tried some solutions but all failed,finally,I train the weights on another computer and it works.Hope I was helpful!

Thanks for your help, I faced the same problem when I trying to train my own weights but not in the time I load the pretrained weights,I tried some solutions but all failed,finally,I train the weights on another computer and it works.Hope I was helpful!

Hi @AymanNasser, may I know how did you change the confidence score of false detection?

@AngYikHong  In the output prediction dictionary pred_dicts, _ = model.forward(data_dict) in tools/demo line 91, you can access the score of each box by pred_dicts[0]['pred_scores'] and threshold the visualization with a specific score threshold


Support Parsing Avro File Headers

Which issue does this PR close?

Part of #4886
Rationale for this change

This adds support for decoding the avro headers, and parsing the embedded schema.
This is a necessary first step towards supporting reading avro data
What changes are included in this PR?

Are there any user-facing changes?

The integration test failures are unrelated and appear to relate to https://github.com/apache/arrow/pull/37990


Allow Optimizers to accept a loss tensor

This brings the TensorFlow Addons Optimizers up to date with the built-in Optimizers

@philjd
You are owner of some files modified in this pull request.
Would you kindly review the changes whenever you have the time to?
Thank you very much.

@omalleyt12 Thanks for the fix! Can you run bash tools/pre-commit.sh to format codes? Thanks again!

@WindQAQ Thanks for the review! Done


Splits lodash dependency into used functions only

Hey everyone, thanks for the amazing work done here.
I was looking at this project to try to do something similar with another open source project that I'm working on with my friends, but without gulp.
I noticed that you guys are requiring all lodash library, and I saw that it's possible to define just specific parts of lodash as npm dependencies, instead of the whole library...
So I replaced lodash dependency by lodash.merge and lodash.template, it seems it's all that this project needs. (I didn't add lodash.foreach though).
I'm not sure if I'm correct about this, or if you guys want this, it was just a thought of mine :)
EDIT:
From 4.7M of lodash dependencies, we got 396K with this change.

Good thought, however, I already tried to do that, but had to revert it https://github.com/sindresorhus/gulp-template/commit/b8c8412ec37d3353d40703ed42da1dbc59276c89 since people didn't like it as they expected all the Lodash utilities to be available inside the template.


Feature: port python's hybrid search to rust

SDK
Rust
Description
Python has a hybrid search API that should be ported to rust if we want to be able to use it in all of the SDKs

unclear how we'll want to do this. because for reranking there are options that would not be available in rust (e.g., cross encoder / colbert) unless we also fetch the ONNX version. But at least cohere / linear combination should be doable.

Yeah, same thoughts as #994 apply here.  Rust creates the extension point and the python implementation hooks the extension point into python-specific libraries to offer extensions like cohere and colbert.

@westonpace would be very keen to see this in javascript! Do you have an ETA for when you think it'll be available?

No ETA at the moment.  I'm currently trying to unify the functionality that is available on all three SDKs.  I'm hoping to finish that in the next week or two.  Porting SDK-specific functionality will come sometime after that.  Per @changhiskhan 's comment, were you looking for simple linear reranking or something more complex?

Apologies for the abominable delay @westonpace!
I'm still keen on this. And interested in both linear and more complex reranking.
In my head though, linear reranking would run alongside the vector search (biasing the similarity score) while reranking happens post vector search. So of far higher value to me is linear reranking given that I can run my own reranking models directly in node js.

Can't xenova/transformers.js be used to support reranking in nodejs?
There is an example here cross-encoder


Swift File in Objective C POD Files of firebase-ios-sdk

How to use my swift project files in firebase-ios-sdk objective c code?

Currently we require that firebase-ios-sdk be written in Objective C, so that Objective C apps that want to use Firebase don't need to pay the Swift size increase penalty.
Firebase has full support for Swift apps. See the documentation at https://firebase.google.com/docs/ios/setup


Improve custom logout url support

Description
For some environments the standard OIDC logout flow is not working well. For them we need to use custom logout url. For example for Seattle we need to use the following URL (with no extra URL params): https://login.seattle.gov/#/logout?appName=CIVIFORM. This PR improves CiviForm logic to support this use case. In particular it does:

Allow custom logout URL to have fragment #. Default pac4j logic removes everything after the fragment. Unclear whether it's intentional or it just was implemented that way, before client-side rendering/routing became popular. For context here is pac4j logic: link.

Handle empty auth.oidc_post_logout_param config setting as signal to omit logout redirect param from logout request.

Remove unused constructors.

In parallel Seatlle is talking to Oracle about IDCS and whether we maybe using standard logout flow incorrectly. If it gets resolved - then we might not need these changes. But meanwhile I wanted to add support given that it's not many changes.
Release notes:
Improve support for using custom logout URL.
Checklist
General

[x] Added the correct label: < feature | bug | dependencies | infrastructure | ignore-for-release >
[x] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

User visible changes

[ ] Wrote browser tests using the validateAccessibility method
[ ] Manually tested at 200% size
[ ] Manually evaluated tab order

New Features

[ ] Add new FeatureFlag env vars to server/conf/application.conf
[ ] Conditioned new functionality on a FeatureFlag
[ ] Wrote browser tests with the feature flag off and on, etc.

Issue(s) this completes
Fixes #3621

Codecov Report

Merging #3834 (11a370a) into main (60d2d4d) will increase coverage by 0.07%.
The diff coverage is 57.14%.

@@             Coverage Diff              @@
##               main    #3834      +/-   ##
============================================
+ Coverage     80.63%   80.71%   +0.07%
- Complexity     2441     2444       +3
============================================
  Files           296      296
  Lines          9642     9638       -4
  Branches        659      660       +1
============================================
+ Hits           7775     7779       +4
+ Misses         1613     1605       -8
  Partials        254      254

Impacted Files
Coverage Δ

server/app/auth/oidc/CustomOidcLogoutRequest.java
76.19% <57.14%> (+28.19%)
:arrow_up:

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


examples/c: Add support for arm (32-bit)

Add the arm vmlinux.h header. Update Makefile to select arm as ARCH when uname -m returns armv7l etc.
Closes #145

Thanks!


Failure when extending a class that includes behavior mixins

Description
Extending a base class which extends Polymer.mixinBehaviors results in failure (at least with iron-a11y-key-behaviors).
Live Demo
I could not get jsfiddle / others to work with Polymer 2.0 so I had to create a gh-pages repo.
View: https://coreyfarrell.github.io/broken-test/
Source: https://github.com/coreyfarrell/broken-test/
Steps to Reproduce
See index.html from broken-test repo for minimal test case.
When loading the page, press "enter" within the first edit box shown.  This will attempt to create the second edit box, which will fail.  Check the error console for details.
Expected Results
Creating my-element1 and my-element2 should work without error.
Actual Results
The first created element functions, the second throws an error.  Creating the same element multiple times works fine, for example:
<my-element1></my-element1><my-element1></my-element1>
Creating both my-element1 and my-element2 will only succeed on the first element created.  Any further elements that are created will not call registered in the behavior, thus causing iron-a11y-key-behavior to fail when attached is run.
The order of declaration for the elements makes no difference, only the first class to have an instance created will succeed.
Browsers Tested/Affected

[x] Chrome
[x] Firefox

Versions

Polymer: v2.0.0-rc.3
webcomponents: v1.0.0-rc.6

Yes, can confirm this issue. It's related to how we call registered when extending classes. We'll work on a fix.


More fixes in Overlay.

Overlay now reacts to arrow size and trigger changes to reposition itself if needed.
Also added a destructor and cleand up a bit

I can confirm that this is still an issue in 0e3a5fb7146d6ae2c9840a9e71dcb116b4d7f5fb
Please reopen..


Reset + and * to default register when clipboard is set

Fix https://github.com/folke/which-key.nvim/issues/202
Please let me know if there is anything I can do/add to the PR to help out. Love this plugin, thanks in advance!

I think this should be marged, I checked this out and it's working.

@folke 👀

+1


Fix: Do not prefix data providers with test

This PR

[x] asserts that data providers are not prefixed with test
[x] uses a different prefix for data providers

Related to #3017.

I will have happy merging from 2.2 to master I see... ;)

ping @SpacePossum
you requested this, please take a look

please rebase

reason: only 2.5k of 8.5k test are executed in this PR.

@keradus
Weird, when running tests on this branch with xdebug enabled and
$ ./vendor/bin/phpunit --coverage-text

then the output suggests that there are
2479 / 2479 (100%)

tests.
On 2.2 it's
8387 / 8387 ( 100%)

Taking a look tomorrow!

wait a sec and take a look

fixed

all green :1st_place_medal: @keradus

Thank you @localheinz.

Thank you, @julienfalque, @keradus, and @SpacePossum!

thanks @localheinz , great idea well done :D
thank you @ @keradus for fixing the coverage issue I missed completely, lesson learnt! :)


Scraping stop after 2/3 days and .~db.json appear

Hi,
After I moment (around 3 days), the program don't scrape anything. The two command prompts are still the same, but the file db.json is not uploaded anymore.
A file nammed .~db.json appear and I file this file creates difficulties for the uploading. I cannot delete it or renammed it.
It is the second time i have the same issues.
Thomas

This seems to be an issue with Steno: a dependency used in lowdb, which in turn is a dependency used in fb-sleep-stats.
I have noticed this happen but have no idea how to reproduce this, nor how to fix it. Sorry!
My best advice is to delete the file (.~db.json).


Added EnumeratorRelay to the default collection of residue collectors

As discussed in #374, this PR adds the EnumeratorRelay created as part of #351 to the ResidueCollectorNode.
This way, all mocking glue libraries will return finite sequences for abstract types implementing IEnumerable<T>.

Thank you for your contribution! It's now live as AutoFixture 3.26.0.


Paths issue when moving Views outside of app folder

When using app/config/Paths.php to set a $viewDirectory, my application is always pulling from app/Views regardless of the setting used here.
I'm seeing this in CI4, beta 3

@desttools can you provide some more information? If possible

Sure @truelineinfotech
The setup I'm trying to get working is using composer to install CI4 system and another repo with my app folder. The Views folder I want to use is outside of the app folder and at my base directory
/Views
My index.php file is located here as you would expect:
/public/index.php
The line in that file that points to my app folder's Paths file is:
$pathsPath = FCPATH . '../vendor/desttools/myapp/app/Config/Paths.php';
Inside the Paths.php file, I'm setting the Views path like this:
public $viewDirectory = __DIR__ . '/../../../../../Views';
And the path to the system:
public $systemDirectory = __DIR__ . '/../../../../codeigniter4/framework/system';
Despite these settings, it's only recognizing the default Views directory inside the app, located at:
/vendor/desttools/myapp/app/Views
Not 100% sure this isn't a misconfiguration on my part, but it's seeming like a bug at the moment.

@desttools did you get this resolved? I'm looking through the code and I think it's respecting the view path everywhere.

Thanks @lonnieezell for taking a look. It was a learning curve issue on my part. My controller wasn't being called. I had changed the default controller in the Routes.php file (like CI3), but I didn't realize that the controller also needed to be explicitly set in $routes->get();

No worries. Glad it's working for you!


Remove npm Badge Test, Add Version Imports to Doc Pages

Summary
This removes the npm badge wdio test from doc-template (the jest test remains), and imports the package version from each component's package.json into their respective doc pages.

Add package name and version to this test as well.
https://github.com/cerner/terra-core/blob/badge-fix/packages/terra-doc-template/src/terra-dev-site/test/doc-template/DefaultDocTemplate.test.jsx#L29


Implement OpenTelemetry integration

Provider

[x] Out-of-the-box  default opentelemetry provider

Instrumentation
Tracing

[x] support server and client kitex rpc tracing

Metrics

[x] support kitex rpc metrics [RED]
[x] support go runtime metrics

Logging

[x] extend kitex logger based on logrus
[x] implement tracing auto associated logs

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

/approve


As a user, I can mark a task

... so that I can mark the task of a contact as complete or incomplete

@wxy1203


cplaced (avs+)

Hi,
It seems cplaced accepts the cplaces value and it cannot be changed.
Colorbars(pixel_type="yv12")
a=fmtc_resample(width/2, height/2, cplace="mpeg1", cplaces="mpeg1")
fmtc_resample(width/2, height/2, cplaces="mpeg1", cplaced="mpeg2")
Compare(a)

Indeed. It was a copy/paste error, as often. Fixed in 9681b3e14cf15f41dfac2515d188af2e8587efe5.

Thanks.


Use tox

Use tox instead of invoking pytest directly. That makes it easier to have different Python versions run the test suite and takes care of setting up a proper test environment with all the packages.

Can we merge this asap? It makes testing much easier.

thanks :-D


config should allow multiple machines with different disk sizes

I'm also in need for this. Any idea about the effort it takes to implement this ?
I guess it could be something like config.vm.disksize ?

Beside, had you tried specifying a single VM name from commandline ?
In that case I guess it would work ?


MAGG Discontinuing the Marine Aggregates

WGEXT has changed their way of collecting and processing data since their request to ICES DC to host a marine aggregates database. Therefore, our project never kicked off, and can be archived.
The dataset is using some shared and unique reference lists, the latter can be deprecated or at least made invisible in the Vocab.
shared:
ISO_3166
EDMO
YesNoFields
AreaType
unique (right?):
https://vocab.ices.dk/?ref=1520 Magg license type
https://vocab.ices.dk/?ref=1523 Value_Type
https://vocab.ices.dk/?ref=1521 AlwaysNeverFields
https://vocab.ices.dk/?ref=1519 GrainSize

@Osanna123 To contact WGEXT to ask whether the codes are used.
If not, then deprecate.

@Osanna123 Have you heard from WGEXT?

Reply from Keith Cooper, WGEXT Chair:
'...We’re not using the reference lists, so I would agree that they can be deprecated...'

CodeType can not be deprecated. Made invisible with the comment 'No longer in use, discontinued in 2024 by agreement with WGEXT'


Data output agent needs a function to remove repeat events

Events from different  source agents may repeat, and it's very useful to add a function to remove duplicates.
To deal with the repeat events, a flag to identify events is needed. For example,  "guid" , "url" and "title"  are all available for that.
Besides, if two events repeat, it's a problem which one should be removed. For example, one website agent generates a simple description and another one is full-text. I want the full-text one to cover the simple one. But only simple description is available for all websites and full-text is just available for parts of them. I don't know how to deal with this situation. Maybe the order of events generated will help and the later one will cover the former one if they have the same flag.
I'm so sorry  my English is very poor.

I don't think that functionality should be in the DataOutputAgent, we already have the DeduplicationAgent which prevent duplicate Events.

Besides, if two events repeat, it's a problem which one should be removed. For example, one website agent generates a simple description and another one is full-text.

This could be done with a custom Agent but would require some work, it would require modifying the DataOutputAgents memory to replace the previous Event with the  one containing more information.

Thank you!
I have known how to deal with duplicate events from your answer.


Docs: missing redirects

Just adding a handful of redirects.

[x] Commits in this PR are minimal and have descriptive commit messages.

Oh - heh - when committing to the gh-branch for publishing, I just check if there are deletes.

Oh - heh - when committing to the gh-branch for publishing, I just check if there are deletes.


Firebase phone auth not working

I`m trying to enable phone auth using firebase but its not working
I have added the SHA1 key in firebase console and added test phone number but never worked
import 'package:flutter/material.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/services.dart';
import 'homepage.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Phone Authentication',
      routes: <String, WidgetBuilder>{
        '/homepage': (BuildContext context) => MyHome(),
        '/loginpage': (BuildContext context) => MyApp(),
      },
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyAppPage(title: 'Phone Authentication'),
    );
  }
}

class MyAppPage extends StatefulWidget {
  MyAppPage({Key key, this.title}) : super(key: key);
  final String title;

  @override
  _MyAppPageState createState() => _MyAppPageState();
}

class _MyAppPageState extends State<MyAppPage> {
  String phoneNo;
  String smsOTP;
  String verificationId;
  String errorMessage = '';
  FirebaseAuth _auth = FirebaseAuth.instance;

  Future<void> verifyPhone() async {
    final PhoneCodeSent smsOTPSent = (String verId, [int forceCodeResend]) {
      this.verificationId = verId;
      smsOTPDialog(context).then((value) {
        print('sign in');
      });
    };
    try {
      await _auth.verifyPhoneNumber(
          phoneNumber: this.phoneNo, // PHONE NUMBER TO SEND OTP
          codeAutoRetrievalTimeout: (String verId) {
            //Starts the phone number verification process for the given phone number.
            //Either sends an SMS with a 6 digit code to the phone number specified, or sign's the user in and [verificationCompleted] is called.
            this.verificationId = verId;
          },
          codeSent:
              smsOTPSent, // WHEN CODE SENT THEN WE OPEN DIALOG TO ENTER OTP.
          timeout: const Duration(seconds: 20),
          verificationCompleted: (AuthCredential phoneAuthCredential) {
            print(phoneAuthCredential);
          },
          verificationFailed: (AuthException exceptio) {
            print('${exceptio.message}');
          });
    } catch (e) {
      handleError(e);
    }
  }

  Future<bool> smsOTPDialog(BuildContext context) {
    return showDialog(
        context: context,
        barrierDismissible: false,
        builder: (BuildContext context) {
          return new AlertDialog(
            title: Text('Enter SMS Code'),
            content: Container(
              height: 85,
              child: Column(children: [
                TextField(
                  onChanged: (value) {
                    this.smsOTP = value;
                  },
                ),
                (errorMessage != ''
                    ? Text(
                        errorMessage,
                        style: TextStyle(color: Colors.red),
                      )
                    : Container())
              ]),
            ),
            contentPadding: EdgeInsets.all(10),
            actions: <Widget>[
              FlatButton(
                child: Text('Done'),
                onPressed: () {
                  _auth.currentUser().then((user) {
                    if (user != null) {
                      Navigator.of(context).pop();
                      Navigator.of(context).pushReplacementNamed('/homepage');
                    } else {
                      signIn();
                    }
                  });
                },
              )
            ],
          );
        });
  }

  signIn() async {
    try {
      final AuthCredential credential = PhoneAuthProvider.getCredential(
        verificationId: verificationId,
        smsCode: smsOTP,
      );
      final FirebaseUser user = await _auth.signInWithCredential(credential);
      final FirebaseUser currentUser = await _auth.currentUser();
      assert(user.uid == currentUser.uid);
      Navigator.of(context).pop();
      Navigator.of(context).pushReplacementNamed('/homepage');
    } catch (e) {
      handleError(e);
    }
  }

  handleError(PlatformException error) {
    print(error);
    switch (error.code) {
      case 'ERROR_INVALID_VERIFICATION_CODE':
        FocusScope.of(context).requestFocus(new FocusNode());
        setState(() {
          errorMessage = 'Invalid Code';
        });
        Navigator.of(context).pop();
        smsOTPDialog(context).then((value) {
          print('sign in');
        });
        break;
      default:
        setState(() {
          errorMessage = error.message;
        });

        break;
    }
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Padding(
              padding: EdgeInsets.all(10),
              child: TextField(
                decoration: InputDecoration(
                    hintText: 'Enter Phone Number Eg. +910000000000'),
                onChanged: (value) {
                  this.phoneNo = value;
                },
              ),
            ),
            (errorMessage != ''
                ? Text(
                    errorMessage,
                    style: TextStyle(color: Colors.red),
                  )
                : Container()),
            SizedBox(
              height: 10,
            ),
            RaisedButton(
              onPressed: () {
                verifyPhone();
              },
              child: Text('Verify'),
              textColor: Colors.white,
              elevation: 7,
              color: Colors.blue,
            )
          ],
        ),
      ),
    );
  }
}

import 'package:flutter/material.dart';
import 'package:firebase_auth/firebase_auth.dart';

class MyHome extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MyHomePage(title: 'Flutter Demo Home Page');
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);
  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  FirebaseAuth _auth = FirebaseAuth.instance;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'You have pushed the button this many times:',
            ),
            RaisedButton(
              child: Text('Logout'),
              onPressed: () async {
                await _auth.signOut();
                Navigator.of(context).pushReplacementNamed('/loginpage');
              },
            ),
          ],
        ),
      ),
    );
  }
}

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.7.8+hotfix.3, on Microsoft Windows [Version 10.0.18362.175], locale en-US)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 3.4)
[√] IntelliJ IDEA Community Edition (version 2019.1)
[√] VS Code (version 1.35.1)
[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

My country code is +20
so my number is +201155717460

May be it's because you are testing it on emulator or try adding SHA256 in your firebase console.

@mohamed6996 Did you manage to solve it?

I solved it 2 months ago but now some syntaxes are changed in the latest version right!!

Ok, then I think It's safe to close the issue.
If you have it again, please comment and I will re-open it right away.

@mohamed6996
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/1100. Any further collaboration will be done there.

I solved it 2 months ago but now some syntaxes are changed in the latest version right!!

Hi Akshay, I am also facing the same issue with test phone number (flutter with firebase_auth)
Ex phone number: +16505559999
What was the resolution which worked for you???
Thanks,
Siva

The above code he had posted actually it's correct but now on the latest auth package some (2) syntaxes are changed i.e at AuthResult and you should add both SHA1 and SHA256 in your firebase console


command line argument doesnt support config file at the end

[yes ] I am using the latest SDK version
[yes ] This API is compatible with my vCenter version (You can get this info from the API documentation )
[yes ] I have searched existing issues

Description
While Trying to specify the arguments in config file and passing it as last argument in the command line parameters it is failing with the
Environment

SDK version: 6.7.0

Java version: 1.8

vSphere version:

Steps or code snippet to reproduce

Create a config file with a dummy variable like below
power-config.properties -> dummy=true

Take PowerLifeCycle Sample while running this sample, provide below arguments
--server sc2...eng.vmware.com --username adminis... --password **** --vmname   Sample_Basic_VM_for_Simple_Testbed --skip-server-verification --config-file ../../power-   config.properties

Now run the sample and you will see below error message:
Cannot locate configuration source sc2...eng.vmware.com

Now make the config-file as your first argument, and you will see no error message and sample will run as expected.

Actual behavior
config-file passing as last argument is not supported
Expected behavior
config-file as argument should be supported independent of its position in argument list

5e6e156 this commit contains the fix


Add function: Ratio between two (label,value) sets on the same metric

Proposal
Use case. Why is this important?
Getting the ratio of two sets of (label,value) pairs for the same metric is common use case which can be implemented efficiently if it is natively supported by a function in prometheus.
Example:
We have a requests_counter metrics with one label result which takes one of two values error and ok. For the sake of finding out the percentage (ratio) of errors over a specific period of time, we currently need to use the following query:
sum(rate(requests_counter{result="error"}[28d])) / sum(rate(requests_counter[28d]))

OR
sum(increase(requests_counter{result="error"}[28d])) / sum(increase(requests_counter[28d]))

Both would give the same result.
The problem is that any of those queries would take longer to execute and with huge number of events the query will timeout. The reason is that the execution of such queries need to traverse the data points twice; Once for the numerator and another time for the denominator.
The intended calculation can been done by traversing the data points once with two accumulating counters in hand. This will reduce. the execution time by 50%.
Therefore, the proposal is to have a function in prometheus called ratio(...) which takes three parameters:

The metric name
A set of (label, value) pairs
Another set of (label, value) pairs

And the result of ratio(...) will be the ratio of the number of events happened with the first set of (label,value) pairs to the number of events happened with the second Set of (label,value) pairs.
ratio(metric, LabelValueSet1, LabelValueSet2) =

number of events matching LabelValueSet1
-------------------------------------------
number of events matching LabelValueSet2

That is a good idea to reduce the amount of select we do.
How do you cover http_requests{code=~"5.."} type of selects?

Note that we could optimize this use case in TSDB selcts out of the box but not in remote reads calls.

Functions don't do arbitrary label matching which is essential for this to be useful (that's what operators are for), and I don't think we should be making PromQL more complex for the sake of micro-optimising performance. If there's a performance optimisation that's possible here let's do it under the covers and not push that burden on to the user.
More generally, your examples and what your proposed function would enable can be an anti-pattern as it encourages undoing the benefits of labels; plus it's simpler, safer, and faster to do ok/error as two separate total/failed counters.
For the more general case for more than 2 label values I think https://www.robustperception.io/using-group_left-to-calculate-label-proportions is what you actually want, and also more efficient than what you're proposing as it'll only require one PromQL expression.

@brian-brazil
Do we do 2 selects in the local tsdb for:
  sum without (cpu)(rate(node_cpu[1m]))
/ ignoring(mode) group_left
  sum without (mode, cpu)(rate(node_cpu[1m]))

?

Yes, that's two selects. I'd suggest however that if doing common subexpression elimination here (the technical name for this optimisation) makes the difference in terms of a timeout, that the real problem is the amount of data being processed. A 28d rate is going to be slow generally, and at most a 2X improvement will in face of growth at most buy you a little time until you run into limits again.
The more appropriate solution here is aggregation and rates over a short time period, such as 5m, in recording rules and then taking it from there when running large 28d reporting queries.

As per the discussion, I guess we do not want to implement(atleast what Brian said). So, is this still a kind/feature in terms of Pmaybe?

I am waiting for input of the OP or the next bug scrub to close this.

We have looked at it during our bug scrub and decided to close this as per above comments. Thanks!


onboarding: Move intro_compose hotspot to be activated on opening compose.

We currently have 5 hotspots, which is just too much. I think intro_compose is likely adding the least, so let's remove that one.
You can grep for intro_compose to get a sense for where it is used and needs to be removed.
This may also be helpful: https://zulip.readthedocs.io/en/latest/subsystems/hotspots.html
Edit: as per https://chat.zulip.org/#narrow/stream/101-design/topic/new.20topic, let's just change this so that it's activated the first time you open the compose box for sending a stream message. (So, no bouncing ?, and no activation for sending a PM.) The popover should appear over the topic field.
You'll also need to make sure this hotspot can be visited in any order relative to the other hotspots, which will require modifying get_next_hotspots to return up to two hotspots at a time.
Initially, just keep the text the same. I'll update or suggest some text before merging.

@zulipbot claim

I am still working on it, will write node tests soon.

@zulipbot claim

@rishig  I have fixed the issue by PR #11948 . Please review in your free time. Thanks!

I just came across this issue since I recently worked on get_next_hotspots. I personly think it is nice and clear to get only one hotspot at the time and that they are shown in a fixed order.
But if it is still desired to change the activation of intro_compose and modify get_next_hotspots to return two hotspots I would like to work on this. (Since the open PR addressing this issue has conflicts and hasn't been updated for more than a year)

I just came across this issue since I recently worked on get_next_hotspots. I personly think it is nice and clear to get only one hotspot at the time and that they are shown in a fixed order.
But if it is still desired to change the activation of intro_compose and modify get_next_hotspots to return two hotspots I would like to work on this. (Since the open PR addressing this issue has conflicts and hasn't been updated for more than a year)

Closing as I think we're going to be removing the hotspots as part of an onboarding redesign.


doc: add defaults option example to cluster documentation

Description

Describe your pull request here

Add defaults option example to cluster documentation, see https://github.com/redis/node-redis/issues/1719#issuecomment-1381541671
Checklist

[ ] Does npm test pass with this change (including linting)?
[ ] Is the new or changed code fully tested?
[x] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

@leibale Please have a look when you have time. It did take me quite a while to find the correct configuration, and I haven't been able to find documentation that already exists.

Codecov Report
Base: 95.85% // Head: 95.85% // No change to project coverage :thumbsup:

Coverage data is based on head (de4ac39) compared to base (c5b6f77).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2377   +/-   ##
=======================================
  Coverage   95.85%   95.85%
=======================================
  Files         449      449
  Lines        4224     4224
  Branches      471      471
=======================================
  Hits         4049     4049
  Misses        107      107
  Partials       68       68

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Image object with colored PNGs

Is it possible to check the device type so Basalt can display colored images instead of Grayscale ?
https://github.com/pebble/pebblejs/blob/master/src/js/lib/image.js#L169
https://github.com/pebble/pebblejs/blob/master/src/js/lib/image.js#L13

Hi there,
you can use different images for aplite and basalt by simply appending ~bw / ~color to your filenames. So if you have one image with the name example you need to create example~bw.png and example~color.png. Within the appinfo.json you only need to add example.png once because the app will automatically use the correct image.
      {
        "type": "png",
        "name": "IMAGE_EXAMPLE",
        "file": "images/example.png"
      },

Hope that helps,
Mathias

@matism Thanks for replying! This is a helpful tip I should add to the README.md. @kinncj is referring to colored remote images that are loaded from the internet which I've demoed yesterday at the Toronto meetup but will be pushing up hopefully before the weekend.

@Meiguro Ah I see, wasn't clear to me so I thought that might help.

@matism, sorry for not being clear.
I figured that local and remote resources can use the same Image object, but the Image::load() method forces the Image to be grayscale.
Thanks.

@kinncj Now everything is clear to me - thanks for the explanation!

@kinncj The changes have been pushed! I recommend testing on a real watch. There seems to be a strange app message issue when used in the emulator that I haven't finished investigating, though it eventually still works. If using the emulator, continually press buttons until an image shows up. I plan to add a progress spinner for loading images later, though the progress spinner wouldn't solve the problem with the emulator.

@Meiguro it worked like a charm.
Is cloud pebble using master? I did not have a chance to test on CloudPebble yet, just locally.

@Meiguro I guess we can close this?

Yes, thanks for the reminder!


Run OSSChat locally Failed

when I run npm run start. this warning shows up. In localhost:5000, there is no qrcode for scan.
17:08:53 WARN HAWechaty start() rejection: Error: no wechaty puppet found
there is no place to change or set puppet.plz help

The OSSChat requires lots of environment variables to be set up before it can be able to run locally.
We have no time to document those environment variable settings yet, but if you do want to run it locally, please let me know and I'd like to help.

I'd like know more and make some contribution with this great project

Ok, let me give you some clues for the environment variables, I believe you need to drive into it for a while before you can set it up locally.
To make the OSSChat run, we need at least the following environment variables, please read my inline comments for explanation.
Part 1: Probot
Learn more from https://probot.github.io/ because we are using the Probot framework.
# GitHub Apps Config for our OSSChat at https://github.com/apps/osschat
APP_ID=50239
PRIVATE_KEY='-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----\n'

# Webhook for GitHub Apps to push notifications (issues, PRs, etc)
WEBHOOK_PROXY_URL='https://smee.io/callback_url'
WEBHOOK_SECRET=webhook_secret

Part 2: Wechaty
# High Available Wechaty Config, see: https://github.com/wechaty/HAWechaty
HA_WECHATY_PUPPET='wechaty-puppet-hostie:wechaty-puppet-padplus'
HA_WECHATY_PUPPET_HOSTIE_TOKEN=puppet_hostie_token
HA_WECHATY_PUPPET_PADPLUS_TOKEN=puppet_padplus_token

# The Bot Name
WECHATY_NAME=OSSChat

I hope the above information will help you to understand. Please feel free to comments on this issue if you have any questions.
If you have any questions related to Wechaty, please read https://github.com/wechaty/wechaty first.

thanks dude！now I just needs apply those puppet key then it should be run successfully.

You are welcome, and good luck!


[BUG] ETH on EVM chains have double icons

Describe the bug
ETH on EVM chains have the EVM representation displayed 2 times.
Expected behavior
Just displayed once
Screenshots

System:

Version 1.8

QA done.


Load user's login shell environment for graphical sessions

Describe the bug
Currently the xsession wrapper is hard-coded to emulate the login shell for sh.
This should be generalized to load the environment for whatever shell the user configured. Similarly to SDDM's default Xsession wrapper script: https://github.com/sddm/sddm/blob/v0.19.0/data/scripts/Xsession#L8-L51
Decoupling bash-specific sourcing from the xsession wrapper could also make it possible to disable bash again: https://github.com/NixOS/nixpkgs/commit/90dac235bb409e5795aa460b34388c455178035c.
Steps To Reproduce
Steps to reproduce the behavior:

chsh -s /run/current-system/sw/bin/bash
Add ~/.bash_profile file with exports
~/.bash_profile will be sourced in a tty login shell, but not a graphical session.

Expected behavior
A graphical session should have the same environment as a tty login for the user's configured shell.
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.19.0, NixOS, 22.11 (Raccoon), 22.11.20220813.65c15b0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.10.3`
 - nixpkgs: `/nix/store/28fq18g5rbzn29di36pcnaz4qpwdf1r3-source`

@LoveIsGrief

This was actually the next thing I wanted to tackle.
I'll make a PR but I have to check if the SHELL variable is set and available if the script is run with sh on NixOS


TypeError comparing complex type and float type in is_close-like functions

Conditions

CuPy Version          : 5.4.0
CUDA Root             : /usr/local/cuda-10.1
CUDA Build Version    : 10010
CUDA Driver Version   : 10010
CUDA Runtime Version  : 10010
cuDNN Build Version   : 7500
cuDNN Version         : 7500
NCCL Build Version    : 2402
NCCL Runtime Version  : 2402

Code to reproduce

import cupy as cp
a = cp.random.rand(10)
b = a * 1j
cp.isclose(a, b)

Error messages, stack traces, or logs

Traceback (most recent call last):
  File "test.py", line 4, in <module>
    cp.isclose(a, b)
  File "/home/wtli/.conda/envs/cp/lib/python3.6/site-packages/cupy/logic/comparison.py", line 73, in isclose
    return _is_close(a, b, rtol, atol, equal_nan)
  File "cupy/core/_kernel.pyx", line 807, in cupy.core._kernel.ufunc.__call__
  File "cupy/core/_kernel.pyx", line 692, in cupy.core._kernel._guess_routine
TypeError: Wrong type ((<class 'numpy.float64'>, <class 'numpy.complex128'>, <class 'numpy.float64'>, <class 'numpy.float64'>, <class 'numpy.bool_'>)) of arguments for cupy_is_close

Apparently similar functions like allclose have the same behavior.
I know it's logically not sound to compare complex value and float value directly, but in numpy no error will be raised in such cases.
Thanks!

Duplicate of #1946. Please update your CuPy version to 6.0.0. This has been resolved in PR #1947.

Updating solves the issue. Thanks!


Smeshing can't be set up after full uninstall and computer restart (v0.0.6RC4)

App build: v0.0.6RC4
OS: Windows 10
Expected:
User uninstalls application. After reinstalling the program, it sets up as if the program is 100% novel.
Actual:
User uninstalls application. After reinstalling the program, the user creates a new wallet password, but is sent to the main app screen without setting up anything else, and cannot continue smeshing setup.
Repro steps:

After experiencing issues https://github.com/spacemeshos/smapp/issues/468 and https://github.com/spacemeshos/smapp/issues/469, delete app data from PC and uninstall program.

Restart computer.

Confirm there is no Spacemesh data.

Reinstall app.

App prompts user to create a new wallet password.

User is not prompted to select a folder, but is instead directed here:

User clicks on smeshing tab. No additional setup options are available.

User clicks on settings, and is met with an error prompt.

@yaelmhoffman - is this on the sm-lab1 desktop pc? might be useful to mention the test machine so we can have a look at it...

This is on my home PC laptop.

The issue does not reproduce in r0.0.6RC2

tested on v0.0.15 in windows, app closes only after closing smesher process, no killing smesher process on app restart does not happen


Automated Package Upgrade

:tada: This PR is included in version 7.7.295 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Use typescript configuration  vue.config file

What problem does this feature solve?
Use typescript configration vue.config file
What does the proposed API look like?
import { ProjectOptions } from "@vue/cli-service";
export default function() {
return {
outputDir: "build"
} as ProjectOptions;
}

Currently, you can use the following snippet for type hints:
/** @type {import('@vue/cli-service').ProjectOptions */
module.exports = {

}

Thanks , it would be great if you could support using .ts in the future like webpack .
https://webpack.js.org/configuration/configuration-languages/

https://github.com/vuejs/vue-cli/issues/2138
https://github.com/vuejs/vue-cli/issues/4477


can't rename variable used in a cascade

Pressing Cmd-R to rename a variable that is used in a cascade message does not bring up the renamer. For example, if you have this, you are unable to rename firstName.
name
	| stream |
	stream := WriteStream on: String new.
	^ stream
		nextPutAll: firstName;
		space;
		nextPutAll: lastName;
		contents


[flagd] implement in-process mode

As mentioned in flagd documentation of  Creating an in-process flagd provider ^1, the in-process provider comes with unique advantages. This issue focuses on creating a .NET implementation.
Requirements

Fulfill requirements outlined by flagd in-process guideline ^1
Minimal external dependencies
Updated/New README & usage guide
Unit & e2e tests (e2e test definitions exist here)

Technical requirements

Build both remote and in-process providers into a single dependency (To be decided after the POC)
Reuse existing interfaces and implementations where possible

Tasks

[x] JSON logic implementation (including custom ops)
[x] Provider functionality (sync.proto implementation)
[x] e2e tests for both RPC and in-process

e2e test already exist here for the SDK, start with these

Done with https://github.com/open-feature/dotnet-sdk-contrib/pull/189


Support notification script

This commit adds support for notification script. This allows a script to take action upon sentinel event (ex. +odown, +sdown, +switchmaster).
It also fixes minor lint issues.

Looks good.
Thanks!


[Snyk] Upgrade @docusaurus/core from 3.1.0 to 3.1.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @docusaurus/core from 3.1.0 to 3.1.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 21 days ago, on 2024-01-26.

Release notes

Package name: @docusaurus/core

3.1.1 - 2024-01-263.1.1 (2024-01-26)
🐛 Bug Fix

docusaurus-types, docusaurus

#9791 fix(core): broken links optimization behaves differently than non-optimized logic (@ slorber)

docusaurus

#9788 fix(core): links with target "_blank" should no be checked by the broken link checker (@ slorber)
#9407 fix(core): conditionally include hostname parameter when using… (@ jack-robson)

docusaurus-utils

#9776 fix(mdx-loader): allow spaces before mdx-code-block info string (@ eitsupi)

create-docusaurus

#9783 fix(create-docusaurus): fix typo in init template sample docs (@ dawei-wang)

docusaurus-theme-common

#9727 fix(theme-common): fix missing code block MagicComments style in Visual Basic (.NET) 16 (@ tats-u)

docusaurus-theme-classic, docusaurus-theme-mermaid

#9733 fix: remove old useless mdx typedefs (@ slorber)

docusaurus-module-type-aliases, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-utils, docusaurus

#9732 fix(core): various broken anchor link fixes (@ slorber)

🏃♀ Performance

docusaurus

#9778 perf(core): optimize broken links checker (@ slorber)

💅 Polish

docusaurus-theme-classic

#9470 polish(theme): MDX images should use async decoding (@ sanjaiyan-dev)

Committers: 6

Jack Robson (@ jack-robson)
Sanjaiyan Parthipan (@ sanjaiyan-dev)
Sébastien Lorber (@ slorber)
Tatsunori Uchino (@ tats-u)
@ dawei-wang
@ eitsupi

3.1.0 - 2024-01-053.1.0 (2024-01-05)
🚀 New Feature

docusaurus-mdx-loader, docusaurus-module-type-aliases, docusaurus-theme-classic, docusaurus-types, docusaurus-utils, docusaurus

#9528 feat(core): make broken link checker detect broken anchors - add onBrokenAnchors config (@ OzakIOne)

docusaurus-mdx-loader, docusaurus-types, docusaurus

#9674 feat(mdx-loader): add support for siteConfig.markdown.remarkRehypeOptions (@ slorber)

docusaurus-theme-common

#9671 feat(theme-common): code block MagicComments support for (Visual) Basic/Batch/Fortran/COBOL/ML (@ tats-u)

docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-types, docusaurus-utils, docusaurus

#9624 feat: siteConfig.markdown.parseFrontMatter hook (@ slorber)

docusaurus-utils

#9610 feat(core): enable port configuration via environment variable (@ OzakIOne)

🐛 Bug Fix

docusaurus-theme-classic, docusaurus-theme-live-codeblock

#9704 fix(theme): allow empty code blocks and live playgrounds (@ slorber)

create-docusaurus

#9696 fix(create-docusaurus): fix init template code blocks, and little improvements (@ slorber)

docusaurus-plugin-pwa

#9668 fix(pwa-plugin): upgrade workbox (@ SimenB)

docusaurus

#9648 fix(cli): output help when no conventional config + no subcommand (@ Josh-Cena)

docusaurus-theme-live-codeblock

#9631 fix(live-codeblock): stabilize react-live transformCode callback, fix editor/preview desync (@ slorber)

docusaurus-utils

#9617 fix(utils): Markdown link replacement with <> but no spaces (@ Josh-Cena)

docusaurus-module-type-aliases

#9612 fix(type-aliases): add title prop for imported inline SVG React components (@ axmmisaka)

docusaurus-plugin-content-blog

#9581 fix(content-blog): add baseUrl for author.image_url (@ OzakIOne)

docusaurus-theme-translations

#9477 fix(i18n): complete translations for theme-common.json Brazilian Portuguese (pt-BR) (@ c0h1b4)

💅 Polish

docusaurus-theme-common

#9335 refactor(theme-common): allow optional desktopBreakpoint param in useWindowSize (@ jgarrow)

🔧 Maintenance

docusaurus-theme-search-algolia

#9604 chore: add lint autofix CI job (@ slorber)

Committers: 8

Janessa Garrow (@ jgarrow)
Joshua Chen (@ Josh-Cena)
Simen Bekkhus (@ SimenB)
Sébastien Lorber (@ slorber)
Tatsunori Uchino (@ tats-u)
@ c0h1b4
axmmisaka (@ axmmisaka)
ozaki (@ OzakIOne)

    from @docusaurus/core GitHub release notes

Commit messages

Package name: @docusaurus/core

8017f6a v3.1.1
cf5dc2c Revert "v3.1.1"
dba0df5 v3.1.1
beb7f05 Revert "v3.1.1"
1b4ee0b v3.1.1
e590dac Revert "v3.1.1"
4649ebc v3.1.1
431d58b empty
12fcfd9 fix(core): broken links optimization behaves differently than non-optimized logic (#9791)
37ceeeb fix(core): links with target "_blank" should no be checked by the broken link checker (#9788)
ebab8fc fix(mdx-loader): allow spaces before `mdx-code-block` info string (#9776)
43883f8 perf(core): optimize broken links checker (#9778)
47985e7 fix(create-docusaurus): fix typo in init template sample docs (#9783)
bd1a2aa fix(core): conditionally include `hostname` parameter when using… (#9407)
a2c8b41 polish(theme): MDX images should use async decoding (#9470)
f55aad1 fix(theme-common): fix missing code block MagicComments style in Visual Basic (.NET) 16 (#9727)
141e360 fix: remove old useless mdx typedefs (#9733)
ac2b5dd fix(core): various broken anchor link fixes (#9732)
7b1b890 chore: release Docusaurus v3.1 (#9705)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Will be done here: https://github.com/Danilqa/node-file-router/pull/42


Update README.md

Hello,
I improved the spelling within the README to improve project documentation clarity.
Great project! Keep up the good work!
Peace and Love.

Thank you @helloausrine for your contribution!


Investigate claim_search alternatives (elastic?)

Elasticsearch investigated at: https://github.com/lbryio/lbry-sdk/pull/3153
I ported until all claim search tests pass and most of resolve. The app opens and you can navigate around.
Porting was easy. No schema needed, no index created and performance was enough without trying to optimize.
I did a small stress test with 1024 clients doing 10 random queries each.
The test machine is a 2 x E5-2660. 32 threads, 256gb RAM and 2 x MZ7LM240HCGR SATA SSD in RAID 0
10240 requests in 91.83033379493281,<PHONE_NUMBER>2134311 req/s
10240 failures
latest release using sqlite, 32 cores 100%
vs
elastic search 32 cores 50%
10240 requests in 94.92767380108126,<PHONE_NUMBER>9742844 req/s
0 failures
I will publish the test script soon, but this test only proves resilience so far as sqlite cant handle randomized queries (its hitting things that lacks an index).
Elasticsearch doesnt require creating any index so it was able to finish, even though the queries were complex enough to keep all 32 cores busy.

Elasticsearch investigated at: https://github.com/lbryio/lbry-sdk/pull/3153
I ported until all claim search tests pass and most of resolve. The app opens and you can navigate around.
Porting was easy. No schema needed, no index created and performance was enough without trying to optimize.
I did a small stress test with 1024 clients doing 10 random queries each.
The test machine is a 2 x E5-2660. 32 threads, 256gb RAM and 2 x MZ7LM240HCGR SATA SSD in RAID 0
10240 requests in 91.83033379493281,<PHONE_NUMBER>2134311 req/s
10240 failures
latest release using sqlite, 32 cores 100%
vs
elastic search 32 cores 50%
10240 requests in 94.92767380108126,<PHONE_NUMBER>9742844 req/s
0 failures
I will publish the test script soon, but this test only proves resilience so far as sqlite cant handle randomized queries (its hitting things that lacks an index).
Elasticsearch doesnt require creating any index so it was able to finish, even though the queries were complex enough to keep all 32 cores busy.

elastic works and is way more performant

elastic works and is way more performant


build: create docs test npm scripts

npm audit fails after this change.
"broken-link-checker-local" introduces some vulnerabilities.
Are we okay with this, since "broken-link-checker-local" is a dev dependency?
@googleapis/node-team for guidance

@JustinBeckwith

👋 Turns out, we were already using it, just as npx broken-link-checker inside of the docs.sh.  I've asked the maintainer of the repo for help cleaning things up, and offered to do work for em.  I am also just going ahead and moving forward with a fork, in the case that nobody responds.


Card number input loses focus to expiry after 12 numbers entered

Hi all,
While trying to enter account numbers like<PHONE_NUMBER>005900 the card number using the phone keypad text input loses focus after entering only 12 numbers instead of 16  and focus moves to expiry.  Couldn't find any props or options in documentation.
"react-native": "0.47.0",
"react-native-credit-card-input": "0.3.3"
Please Help.

Please help anyone.. Its urgent ..


ThemeProvider breaks when moving from 5.0.0-rc1 to 5.0.0

I have a project which uses @mui/styles and my styling broke when moving from v5.0.0-rc1 to v5.0.0

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
I would have expected the transition to go smoothly so I can slowly convert my code to emotion but instead my app crashes with the following error message
MUI: The `styles` argument provided is invalid.
You are providing a function without a theme in the context.
One of the parent elements needs to use a ThemeProvider.
    at GameRoot (webpack-internal:///110:226:3)
    at LoadingScreen (webpack-internal:///618:24:81)
    at InnerThemeProvider (webpack-internal:///1482:20:82)
    at ThemeProvider (webpack-internal:///1483:46:5)
    at ThemeProvider (webpack-internal:///1482:40:5)
    at StyledEngineProvider (webpack-internal:///752:22:5)
    at TTheme (webpack-internal:///294:282:3)

Note that the error is telling me ThemeProvider should be a parent and you can see in the stack trace that it is!
In case it's relevant I'm importing libraries with these imports.
import { ThemeProvider } from "@mui/material/styles";
import makeStyles from "@mui/styles/makeStyles";
import createStyles from "@mui/styles/createStyles";

I also tried importing ThemeProvider from @mui/styles instead and that makes the app work but the theme just doesn't load at all.
I also verified that the theme wasn't undefined.
The issue is very similar to what seems to have happened here.
https://githubmemory.com/repo/mui-org/material-ui/issues/28493
Expected Behavior 🤔
The app doesn't crash.
Steps to Reproduce 🕹

Steps:

Your Environment 🌎

`npx @mui/envinfo`
  System:
    OS: macOS Mojave 10.14.6
  Binaries:
    Node: 16.5.0 - /usr/local/bin/node
    Yarn: Not Found
    npm: 7.19.1 - /usr/local/bin/npm
  Browsers:
    Chrome: 94.0.4606.81
    Edge: Not Found
    Firefox: 92.0.1
    Safari: 14.0.3
  npmPackages:
    @emotion/react: ^11.4.1 => 11.4.1
    @emotion/styled: ^11.3.0 => 11.3.0
    @mui/core:  5.0.0-alpha.46
    @mui/icons-material: ^5.0.3 => 5.0.3
    @mui/lab: ^5.0.0-alpha.46 => 5.0.0-alpha.46
    @mui/material: ^5.0.3 => 5.0.3
    @mui/private-theming:  5.0.0-rc.1
    @mui/styled-engine:  5.0.0-rc.1
    @mui/styles: ^5.0.1 => 5.0.1
    @mui/system:  5.0.0-rc.1
    @mui/types:  7.0.0-rc.1
    @mui/utils:  5.0.0-rc.1
    @types/react: ^17.0.21 => 17.0.21
    react: ^17.0.2 => 17.0.2
    react-dom: ^17.0.2 => 17.0.2
    typescript: ^4.2.4 => 4.2.4

You are correct.


Bun + Typescript type mismatch: Argument of type 'YogaServerInstance<{}, {}>' is not assignable to parameter of type 'Serve'

Describe the bug
I'm following the instruction to create a minimum GraphQL server locally https://the-guild.dev/graphql/yoga-server/docs/integrations/integration-with-bun
import { createSchema, createYoga } from "graphql-yoga";

const yoga = createYoga({
  schema: createSchema<{}>({
    typeDefs: /* GraphQL */ `
      type Query {
        greetings: String
      }
    `,
    resolvers: {
      Query: {
        greetings: () => "Hello from Yoga in a Bun app!",
      },
    },
  }),
});

const server = Bun.serve(yoga);

console.info(
  `Server is running on ${new URL(
    yoga.graphqlEndpoint,
    `http://${server.hostname}:${server.port}`
  )}`
);

It runs successfully and I can see graphiql UI at http://localhost:3000/graphql
However, I'm encountering this type error when performing typescript type checking:
index.ts:18:26 - error TS2345: Argument of type 'YogaServerInstance<{}, {}>' is not assignable to parameter of type 'Serve<unknown>'.
  Type 'YogaServerInstance<{}, {}>' is not assignable to type 'UnixTLSWebSocketServeOptions<unknown>'.

18 const server = Bun.serve(yoga);
                            ~~~~

Found 1 error in index.ts:18

Your Example Website or App
https://the-guild.dev/graphql/yoga-server/docs/integrations/integration-with-bun
Steps to Reproduce the Bug or Issue

Install Bun by following https://bun.sh/docs/installation
Create a new directory and bun init
bun add graphql-yoga graphql typescript
Copy the example code from https://the-guild.dev/graphql/yoga-server/docs/integrations/integration-with-bun to index.ts
bun run index.ts should work just fine
tsc will show the error.

Expected behavior
I expect there is no TS errors.
Screenshots or Videos
No response
Platform

macOS
Bun 1.0.2
graphql-yoga 4.0.4, typescript 5.2.2

Additional context
Thanks!

Bun.serve takes a generic type like so:
import {type YogaServerInstance} from 'graphql-yoga'

# .... yoga code here

Bun.serve<YogaServerInstance<{},{}>>(yoga)

It seems the types has changed on 1.0.0 release.
A workaround is to give an option object to Bun.serve instead of the yoga instance directly. This also allows you to give other options like development or tls if this is something you need.
Bun.serve({
  fetch: yoga
})

I think this can be closed

This seems to be fixed now

I just ran into an issue similar to this one after updating some packages to the latest (stable) versions
src/index.ts:121:13 - error TS2322: Type 'YogaServerInstance<{}, GlobalContext>' is not assignable to type '((this: Server, request: Request, server: Server) => Response | Promise<Response>) | ((this: Server, request: Request, server: Server) => Response | Promise<...>) | ((this: Server, request: Request, server: Server) => void | ... 2 more ... | undefined) | ((this: Server, request: Request, server: Server) => Response ...'.
  Type 'YogaServerInstance<{}, GlobalContext>' is not assignable to type '(this: Server, request: Request, server: Server) => Response | Promise<Response>'.
    Types of parameters 'res' and 'server' are incompatible.
      Type 'Server' is not assignable to type 'NodeResponse'.

121             fetch: yoga,
                ~~~~~

  node_modules/bun-types/bun.d.ts:2425:3
    2425   fetch(
           ~~~~~~
    2426    this: Server,
         ~~~~~~~~~~~~~~~~
     ...
    2428    server: Server,
         ~~~~~~~~~~~~~~~~~~
    2429   ): Response | Promise<Response>;
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'fetch' which is declared here on type 'Serve<unknown>'

Changing the following resolved this error for me:
         const server = Bun.serve({
             port: config.server.port,
             hostname: config.server.hostname,
-            fetch: yoga,
+            fetch: (request) => yoga(request),
         })

thanks @DuckThom , same issue here. Could be fixed with you change! I will add a comment to https://the-guild.dev/graphql/yoga-server/docs/integrations/integration-with-bun


feat: add option to open grpc server reflection

Describe the solution you'd like
想使用 grpcui 用于 kitex 的调试，其中 README 描述：

kitex 中是否能支持 dev 配置开启 server reflection 用于调试 grpc 服务？

ok，我们记录一个todo

any update on this?

@Sylariam hi, still no update for this, but it is on plan

ready to use rpc server reflection?

@ZUCCzwp I am working on it. The next mid-version update will carry this funtionality. I would inform you ASAP.

Use this pr for tracking https://github.com/cloudwego/kitex/pull/1351
Now functionality works, if anybody wants to experience this feature, you could use this commit.


manage.py: Restore shebang line

It's been a while, been busy with other stuff. This is a trivial fix that I've carried in my own branches for now:

This is an executable file but cannot be executed without the interpreter.
The shebang line was lost in commit 8cbc6b8325c08bb3a72932c7e67c6476f7d29edb

Thanks, nice to have you back. Merging it