[MM-46562] Add show/hide password function for login screen

Summary
This PR adds the functionality of toggling the password visibility on the login screen.
To implement such behavior I had to extend and refactor part of the existent FloatingTextInput component to support a start and an end adornment, making it easier to be reused across multiple use cases.
I also created a few unit test cases for the component to ensure the expected behavior and making it easier to refactor/extend in the future.
Ticket Link
https://mattermost.atlassian.net/browse/MM-46562
Checklist

[x] Added or updated unit tests (required for all new features)
[x] Has UI changes
[ ] Includes text changes and localization file updates
[ ] Have tested against the 5 core themes to ensure consistency between them.

Device Information
Nexus 5: Android 10
Iphone 13: iOS 15.5
Screenshots

Release Note
Add show/hide password function for login screen

Hello @tiagocorreiaalmeida,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@tiagocorreiaalmeida thanks for the contribution.. we'll soon start the reviews ;)

This is great @tiagocorreiaalmeida, thanks for the contribution. Just a minor thing:

Can we ensure the theme color used for the show/hide icon is theme.centerChannelColor with an opacity of 0.64?

Other than that, I think it's a great improvement. Thanks!

Thanks for the contribution @tiagocorreiaalmeida!

This is great @tiagocorreiaalmeida, thanks for the contribution. Just a minor thing:

Can we ensure the theme color used for the show/hide icon is theme.centerChannelColor with an opacity of 0.64?

Other than that, I think it's a great improvement. Thanks!

Just updated the PR to account for the theme color with opacity, not sure if the color opacity is the best one for the default theme(light appearence)

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/24764
https://circleci.com/gh/mattermost/mattermost-mobile/24763

Artifact links:
https://output.circle-artifacts.com/output/job/e4041a21-fb89-474a-9006-a9986b3d4e5c/artifacts/0/tmp/artifacts/Mattermost_Beta.ipa
https://output.circle-artifacts.com/output/job/16aa615a-7b65-47f2-bda8-77e522ba12a5/artifacts/0/tmp/artifacts/Mattermost_Beta.apk

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

Hey @tiagocorreiaalmeida, just checking in on this one. Anything you need from us to carry this forward?

Hey @tiagocorreiaalmeida, just checking in on this one. Anything you need from us to carry this forward?

Pull request updated to new icon and merge conflicts resolved


Add sync backup volume option to allow users to manually synchronize backup volume

Goal

Add Sync Backup Volume option for each backup volume to allow users to request synchronized backup volume.
Add Sync all Backup Volumes button to sync all backup volumes.

Issue
https://github.com/longhorn/longhorn/issues/8501
Test Result
Success

1f2">

Failed

Can we have a button that syncs all backup volumes?
WDYT @a110605 @mantissahz @innobead

Can we have a button that syncs all backup volumes? WDYT @a110605 @mantissahz @innobead

As far as I know,  longhorn-manager supports PUT SyncAllBackupVolumes: true to sync all backup volume.
But it's NOT to sync the SELECTED backup volume on table. If we wish to sync selected backup volume, we may need batch do POST SyncBackupVolume: true. Or we just one button on the top to sync all backup volume in page ?

Can we have a button that syncs all backup volumes? WDYT @a110605 @mantissahz @innobead

As far as I know, longhorn-manager supports PUT SyncAllBackupVolumes: true to sync all backup volume.
But it's NOT to sync the SELECTED backup volume on table. If we wish to sync selected backup volume, it need to do batch POST SyncBackupVolume: true for selected backup volume.
Or we just one button named Sync all backup volumes on the top to sync all backup volume in page (would be easy case)?

Selected volumes might be over-engineering. I think sync all backup volume is good enough.

Can we have a button that syncs all backup volumes? WDYT @a110605 @mantissahz @innobead

As far as I know, longhorn-manager supports PUT SyncAllBackupVolumes: true to sync all backup volume.
But it's NOT to sync the SELECTED backup volume on table. If we wish to sync selected backup volume, it need to do batch POST SyncBackupVolume: true for selected backup volume.
Or we just one button named Sync all backup volumes on the top to sync all backup volume in page (would be easy case)?

Selected volumes might be over-engineering. I think sync all backup volume is good enough.

ok, let me add new commit for sync all button.

@derekbit , @mantissahz , added in last  6e51c8d

@mergify backport v1.6.x

@mergify backport v1.6.x


updating the document Add a repository to an app installation - rest api

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
This is the url: https://docs.github.com/en/rest/apps/installations?apiVersion=2022-11-28#add-a-repository-to-an-app-installation
so basically this end point is used when a folk is trying to porgrammatically add a repo or multiple repos to github app.

This hasn't specified what methods of authentication will work for this end point : PUT
/user/installations/{installation_id}/repositories/{repository_id}
What part(s) of the article would you like to see updated?
i would really appreciate if you can add

use personal access token with repos permissions

This particular missing piece caused me weeks of hardship trying to find out what i am missing or what i am doing wrong or a bug or what.
Additional information
The above piece could help other developers life much easy

i have tried to understand the automatic ways of setting up the documentation for github docs. still needs improvement on an everest level.
This can definitely help out many developers who reads the docs 💯

@githubofkrishnadhas Thank you for opening this issue! I'll get this triaged for review ✨

I need advice and genuine support

@githubofkrishnadhas Thank you for opening this issue! I'll get this triaged for review ✨

Thanks. really appreciate it

Hello @nguyenalex836  hope you are doing good. let me know if you have any updates

@githubofkrishnadhas Hello! 👋 No new updates yet, but you will be the first to know once our team has reviewed 💛


Get an error  - ld: framework not found DCTAuth

directory not found for option '-F/Users/amishshah/Library/Developer/Xcode/DerivedData/PrototypeResponseApp-gkdvktggnnjdkxgmqblmvkmnjxlm/Build/Products/Debug-iphoneos/DCTAuth'
ld: framework not found DCTAuth
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This is in my Podfile.
pod 'DCTAuth', :git => 'https://github.com/danielctull/DCTAuth.git'
I am using React Native 0.40

Fix it by adding in the xcode project in the folder "Frameworks" ---> Pods / Pods.xcodeproj.
Right click on Frameworks and "add Files to xxxx" and look for Pods / Pods.xcodeproj.
I hope I have helped you :)

Wow thanks @luisrosero25 !!

I had to add $(inherited) as the first line in "Build Settings" -> "Framework Search Paths"

This worked for me. It should be added to the readme. One thing I dislike about react native development is how fragile/poorly documented 3rd party packages are and the many hours wasted trying to get it all to work. =(


Installing tensordict in SD Webui reinstalls torch on CPU

If I understand correctly, this project is not meant to be transformed into an extension for A1111 Webui itself, but it is meant to help extension makers by providing more merging methods. If that's the case, am I right to think that we should be able to run pip install -r requirements.txt in A1111 Webui's venv?
I have torch 2.0.1+cu118 already installed, but installing tensordict reinstalls torch even if it's already installed. Is this expected?
If I were to use this for an extension, users would get the typical "torch is not installed on the cpu" error after a restart.

You should be able to use it with its own or with the webui's venv. I haven't encountered the issue with tensordict yet.
Try installing tensordict first, or alternative versions from here https://pypi.org/project/tensordict/#history
This extension isn't actively being developed, the author is on hiatus right now. There are various forks that people are maintaining for their use cases. There is also another fork/project being worked on called sd-mecha, but it's like a day or 2 old.
You can try sd.next, because their implementation of meh is currently the most fleshed out and integrated, but it means using sd.next so if you're not into that forks are your best luck.

Ok, tensordict==0.3.0 is only compatible with torch>=2.1.0 apparently, but I'm using torch==2.0.1. Installing tensordict==0.2.1 seems to not inadvertently reinstall torch on cpu.
tensordict==0.3.0 is 1 month old, this is probably why. Pinning the version in requirements.txt should fix this.

Oh you can manage the versioning in the install.py file in A1111 Webui, so I guess it's not an issue anymore.
Thank you for the recommendations.


Resetting Undo Manager after content is set to allow the same editor to be used for multiple data rows.

When using the same tinymce editor for different rows of content (i.e. open row 1 to populate editor, close row 1, then open row 2 to populate the same editor), there is an issue where if you hit "undo" while in row 2, it will start going back to the content from row 1. I would recommend adding in a line that will refresh the undoManager when the content is re-set.

Can you please squash these into one commit and I can work on getting these changes in.

Should be good.

It looks like travis says there is a test failing. Can you check on that?


[Feature request]: Support for the E340 Doorbell (T8214)

Describe the solution you'd like
Please add support for the E340 Doorbell. Currently the device is detected, but only shows debug entities.

I second this request. Please let me know if there is any information that we can collect from the T8214 to help make this happen.

+1 this request, have the same doorbell here too, happy to provide any info I can too.
@raed21 I see there's a repo for the client but nothing in the addon store, is it yet to be released?

+1

+1 please update/release the eufy-security-ws with E340 Doorbell support. Would love to see it working in HA before Christmas
;) THX

+1 please update/release the eufy-security-ws with E340 Doorbell support. Would love to see it working in HA before Christmas
;) THX

+1

+1 ! If releasing the next version/milestone for now is not yet doable, maybe we can have some brief overview of steps on how to fork the repos that are involved for eufy-security-ws and the HA addons and what to change to install it for testing manually in HA ?

Please add the E340 doorbell support to the downloadable release.
Or give us a foresight when it will be released.
Thank you in advice.

+1 Hopefully coming soon!


Create a full command line executable workflow for RNA-Seq on PBMC Samples. Open a new pull request (on a separate branch) and comment the PR number here when you're done.

Experiment Type:
RNA-Seq
Sequencing of total cellular RNA
Workflow Management:
Bash/SLURM
Scripting and job scheduling
Software Stack:
FastQC
MultiQC
STAR
RSEM
samtools
DESeq2
What else to know about the pipeline?
I am working PBMC samples collected from patients that are undergoing immunotherapy.
Use the data files existing in Report_WholeBrain as input for this workflow.
You should write a series of bash scripts and R scripts that can accomplish this task. Open a PR with those scripts when you're done.

Here's the stack trace: https://smith.langchain.com/public/ccd521f4-3620-4d64-ada8-94ffe590c09f/r


[next][lab] typescript fails due two LoadingButtonClassKey exports

Lab exports two LoadingButtonClassKey from the same file that Typescript compiler rightfully complains about and fails.

[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 😯
Typescript fails to compile when material-ui/lab is in dependencies.
node_modules/@material-ui/lab/LoadingButton/index.d.ts:5:1 - error TS2308: Module './LoadingButton' has already exported a member named 'LoadingButtonClassKey'. Consider explicitly re-exporting to resolve the ambiguity.

5 export * from './loadingButtonClasses';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expected Behavior 🤔
Typescript not to fail.
Steps to Reproduce 🕹
I see that index re-exports from 2 files, where there are two different types but with the same name.
// index.d.ts
export * from './LoadingButton';
export * from './loadingButtonClasses';

// LoadingButton.d.ts
export type LoadingButtonClassKey = keyof NonNullable<LoadingButtonTypeMap['props']['classes']>;

// loadingButtonClasses.d.ts
export declare type LoadingButtonClassKey = keyof LoadingButtonClasses;

I think one of them should be renamed, or not exported at all.
Context 🔦
Upgraded to latest alpha but typescript started to fail.
Versions:

@material-ui/lab 5.0.0-alpha.37
typescript 4.3.4

Was fixed in https://github.com/mui-org/material-ui/pull/26697


GitHub scraping

Opened PRs per day
Closed PRs per day
Time from PR open to PR close
Number of "@bors retries" per PR
Opened issues per day
Closed issues per day
Time from issue open to issue close
P-high issue count
Regression issue count

Also need to add webhooks once the database is bootstrapped.

How should time from PR open to PR close be presented? Per PR? PRs closed in the last week? Per day of PRs closed?

Scraping for GitHub should be pretty much done now. Still need to expose analysis, waiting to hear back thoughts from Rust team about metrics.

Merge conflicts per day?


forums/newsgroup/mailing-list for newbie questions?

Do you have something like a forums/newsgroup/mailing-list for newbie questions?  I checked on http://mxnet.readthedocs.org/en/latest/ , but couldnt seem to find?
Edit: and also checked https://github.com/dmlc/mxnet and http://mxnet.readthedocs.org/en/latest/faq.html  我会说中文。所以中文的也行 。。。

Setting up a https://disqus.com/ platform might be a good option to cut down the noise on the github issues.

@vchuravy May I suggest a mailing list / google groups? Allows to stick to an email-based workflow.

disqus also works with e-mails, but I would be fine with google groups.

google groups kind of sucks from China.  I'm kind of pondering whether anyone has ever tried using a reddit subreddit for such a role?  (I've never tried it myself, or seen anyone try it, but the reddit interface is at least relatively lightweight, loads in less than 3 minutes!).  disqus works ok-ish.

google groups is the best choice, although I am in China.  I can access gmail or google group, that is the basic skill in china.

Ah I did a mistake I originally proposed discus, but what I actually meant is discourse. https://www.discourse.org/ It can be self-hosted (from within china as an example) or but behind an edge-cache (cloudflare has support for china) as an example see the rust user forum https://users.rust-lang.org/

Or weechat, that will be real time.

威信行。反正它只有一个'e' :P 反正我终于暂时放弃了mx。但是可能很大的理由是因为找不到了容易回答我的问题的方法。
所以你们打算创造一个威信的团队？ 还是。。。 ？


Tinymic rich text box has a issue

In the demo ( http://panjiachen.github.io/vue-element-admin/#/components/tinymce). When I click the fullscreen button in the Tinymic rich textbox control, the sidebar will block the control.

Fixed in 4aa9345


[Feature Request] Rate Limiting Option

It would be helpful if I could set a max number of http(s) requests per second in order to prevent being blocked by the target organization. Thoughts?

That would be a great addition! I will look into implementing throttling for HTTP requests.


[ALLUXIO-1788] Remove the unused parameter from handleResponse

Remove not used in parameter ctx in handleResponse.

Can one of the admins verify this patch?

ok to test

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8926/
Test PASSed.

LGTM. Thanks for the improvement!


dmraid: patch dmevent_tool.c to compile on modern gcc versions (#367926)

Fix dmevent_tool.c to compile on modern gcc versions. Resolves #367926.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 368470

x86_64-linux

:white_check_mark: 2 packages built:

dmraid
os-prober

aarch64-linux

:white_check_mark: 2 packages built:

dmraid
os-prober

This fixed the build for me, thanks!
Here's an overlay for anyone else that wants this fix on the current nixos-unstable.
dmraid = prev.dmraid.overrideAttrs (oA: {
  patches = oA.patches ++ [
    (prev.fetchpatch2 {
      url = "https://raw.githubusercontent.com/NixOS/nixpkgs/f298cd74e67a841289fd0f10ef4ee85cfbbc4133/pkgs/os-specific/linux/dmraid/fix-dmevent_tool.patch";
      hash = "sha256-MmAzpdM3UNRdOk66CnBxVGgbJTzJK43E8EVBfuCFppc=";
    })
  ];
});

The patch failes to apply for me on untsable, did anything change?

It looks like the patch applied twice based on the logs.  This PR hasn't landed in nixos-unstable, are you on master perhaps?

Nevermind, I just worked around it by using an overlay with the package from master, until the fix is in unstable


Filtering for None values

Is there a way to filter for fields that have no value? I have a model with an optional ForeignKey and I would like to use django-filter to allow users to generate a list of objects without any value in that ForeignKey, ie MyObject.objects.filter(myfkfield=None). I didn't see anything about this in the Filter Reference docs.
Thanks!

You could always subclass django-filters.Filter and overwrite def filter(self, qs, value): to create your own filters.
Take a look at filters.py!

I'm marking this and #211 for "Documentation".
Subclassing Filter is pretty easy — and there are lots of examples to provide a base reference cf #196, #198 — so I want to encourage users to go that way.

Thank you for the pointers. I came up with this:
class NoneFilter(django_filters.Filter):
    field_class = forms.BooleanField

    def filter(self, qs, value):
        if not value:
            return qs.exclude(**{self.name: None})
        return qs

This does what I want it to do, however to make the interface make sense I am using it like this:
myfkfield = NoneFilter(label='Has myfkfield value')

Where in the filter should I set the default label so that I don't have to do it everytime I use NoneFilter? I want it to be something like 'Has %s value' % self.name.

Related to #45 etc

Closing this in favour of #261


json file and model

where is the json and model file ?

Hi! For the model we have adopted the following codebases https://github.com/papagina/Auto_Conditioned_RNN_motion and https://github.com/facebookresearch/QuaterNet/tree/main. Which json are you referring to?

Q1: these are many json files, what the different is ?   different action ?  and how to get it ?
Q2: the skeleton looks like smplh ? the input bvh file skeleton must have the same skeleton hierarchy as target skeleton ?
Q2.1 if is not smplh, which skeleton type ?
Q3: how to dispose the bvh file, get 3D world position ?
----- 原始邮件 -----
发件人：nefeliandreou @.>
收件人：nefeliandreou/PoseRepresentation @.>
抄送人：luoww1992 @.>,  Author @.>
主题：Re: [nefeliandreou/PoseRepresentation] json file and model  (Issue #1)
日期：2023年06月28日 15点22分
Hi! For the model we have adopted the following codebases https://github.com/papagina/Auto_Conditioned_RNN_motion and https://github.com/facebookresearch/QuaterNet/tree/main. Which json are you referring to?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

what are your libs:code1, rhythmdata and rhythmnet ?
i find some , but looks like wrong, can you share your libs url ?
----- 原始邮件 -----
发件人：nefeliandreou @.>
收件人：nefeliandreou/PoseRepresentation @.>
抄送人：luoww1992 @.>,  Author @.>
主题：Re: [nefeliandreou/PoseRepresentation] json file and model  (Issue #1)
日期：2023年06月28日 15点22分
Hi! For the model we have adopted the following codebases https://github.com/papagina/Auto_Conditioned_RNN_motion and https://github.com/facebookresearch/QuaterNet/tree/main. Which json are you referring to?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Different json files correspond to different representations, loss weights and so on that you can build depending on the model you want to test out.
The template skeleton is not SMPLH. We are using data from the CMU dataset, therefore we use the template bvh from there. You can find more information about which subjects we use exactly in the paper.
You can extract the 3D position from the dual-quaternions (with current coordinate system) using this function.

You might have to restructure the eval.py file so that you can use the functions from dualquats by replacing
from code1.dualquats import currentdq2localquats  with from dualquats import currentdq2localquats. You will have to also define your dataloader and network init functions (I can help you on that). In this codebase, we just provide the tools to convert between the representations.

1, can you share me a json file and dataset, i want to edit  eval.py by it. and needs libs: code1, rhythmdata and rhythmnet
2, the input bvh file skeleton must have the same skeleton hierarchy as target skeleton ?
3, can i use smpl24 skts to retarget the retarget skt ? if yes, how to edit one-to-one skeleton index or other code ?
----- 原始邮件 -----
发件人：nefeliandreou @.>
收件人：nefeliandreou/PoseRepresentation @.>
抄送人：luoww1992 @.>,  Author @.>
主题：Re: [nefeliandreou/PoseRepresentation] json file and model  (Issue #1)
日期：2023年06月28日 17点04分
Different json files correspond to different representations, loss weights and so on that you can build depending on the model you want to test out.
The template skeleton is not SMPLH. We are using data from the CMU dataset, therefore we use the template bvh from there. You can find more information about which subjects we use exactly in the paper.
You can extract the 3D position from the dual-quaternions (with current coordinate system) using this function.
You might have to restructure the eval.py file so that you can use the functions from dualquats by replacing
from code1.dualquats import currentdq2localquats  with from dualquats import currentdq2localquats. You will have to also define your dataloader and network init functions (I can help you on that). In this codebase, we just provide the tools to convert between the representations.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

You can acquire the dataset from here. The json file will depend on the dataloader and model initiator functions that you will define. I can share with you the ones I used, but you will have to modify it depending on your functions.
Yes, input and target must be the same.
Potentially yes. Please look into this.

i have download a dataset, but this is only some bvh files,
can you give me a sample of your dataset with json and other libs ?
i am editing...
----- 原始邮件 -----
发件人：nefeliandreou @.>
收件人：nefeliandreou/PoseRepresentation @.>
抄送人：luoww1992 @.>,  Author @.>
主题：Re: [nefeliandreou/PoseRepresentation] json file and model  (Issue #1)
日期：2023年06月28日 17点28分
You can acquire the dataset from here. The json file will depend on the dataloader and model initiator functions that you will define. I can share with you the ones I used, but you will have to modify it depending on your functions.
Yes, input and target must be the same.
Potentially yes. Please look into this.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

My dataset is the exact sample of bvh files that I sent you. I will try to provide you with a json later today. The libraries that relate to model and data loading you will have to define them yourself.

A sample config file looks like this:
`
{
"visdom_title": "v1-test",
"model": "dq_acLSTM",
"acRNN_model": "vanilla",
"data_type": "dualquats",
"paired_dir": <train_data_path>,
"test_paired_dir": <test_data_path>,
"validation_paired_dir": <val_data_path>,
"order": "zyx",
"fps_current":120,
"fps_target":30,
"QRL_local": false,
"QRL_curr": false,
"DL": true,
"BL": false,
"ortho6D_loss": false,
"mse_loss":true,
"push_seq":"86_06",
"save_bvh_dir": <path_to_save_bvh>,
"save_weights_dir": <path_for_net_weights_save>,
"train_read_weight_path": "",
"bvh_skeleton_file_name": <default_skeleton_path>,
"save_weights_every": 10000,
"save_bvh_every": 1000,
"norm_type": "all",
"foot_contact": false,
"test_generate_seq_num": 3000,
"test_save_bvh_dir":  <path_to_save_bvh_test>,
"test_read_weight_path": <path_for_net_weights_load>
}
`
As I said before, this is specific to our network initialization function.


Switch to getting cask names from Cask module

Originally the cask names were obtained by running brew list --cask and parsing the output. Now we're getting the cask with the Cask::Caskroom.casks method and stripping out the name.
Fixes #863
I know @jacobbednarz had some concerns about this feature. It turned out to be a simple change so I just created this pull request.
This is my first time contributing so I might've missed something. I'd be happy to have feedback!

You'll need to get the test suite green before this can be merged (likely a mocking issue).
I'm on the fence here still as it seems like a deliberate decision to shell out to the list commands instead of reaching into a class not provided by this codebase. @MikeMcQuaid do you have any context on this decision?

You'll need to get the test suite green before this can be merged (likely a mocking issue).
I'm on the fence here still as it seems like a deliberate decision to shell out to the list commands instead of reaching into a class not provided by this codebase. @MikeMcQuaid do you have any context on this decision?

I'm not very familiar with RSpec. I created a stub/cask.rb to mock Cask::Caskroom and tried adding
allow(Cask).to receive(:casks).and_return([]) in spec/bundle/cask_dumper_spec.rb but I receive the error uninitialized constant Cask.
Do I need to edit spec/spec_helper.rb to include my new stubbed module in any way?

I'm not very familiar with RSpec. I created a stub/cask.rb to mock Cask::Caskroom and tried adding
allow(Cask).to receive(:casks).and_return([]) in spec/bundle/cask_dumper_spec.rb but I receive the error uninitialized constant Cask.
Do I need to edit spec/spec_helper.rb to include my new stubbed module in any way?

I figured out why my mocks weren't working. I'm not very experienced with this codebase, so some of my coding choices might be illogical. I'd be happy to have feedback 😃

I figured out why my mocks weren't working. I'm not very experienced with this codebase, so some of my coding choices might be illogical. I'd be happy to have feedback 😃

I'm on the fence here still as it seems like a deliberate decision to shell out to the list commands instead of reaching into a class not provided by this codebase. @MikeMcQuaid do you have any context on this decision?

Yeh, this was before Casks were integrated into the Homebrew/brew codebase.
Thanks so much for your contribution!  You rock, @Tyrubias!

I'm on the fence here still as it seems like a deliberate decision to shell out to the list commands instead of reaching into a class not provided by this codebase. @MikeMcQuaid do you have any context on this decision?

Yeh, this was before Casks were integrated into the Homebrew/brew codebase.
Thanks so much for your contribution!  You rock, @Tyrubias!


[release-4.11] OCPBUGS-16075: fix dynamic conversion webhook

Copy of #508:

This is an automated cherry-pick of #503

#508 was blocked by CI because of the global catalog changes we put in had a problem downstream. How they got in, I don't know.

/retest

/retest

/label backport-risk-assessed

/hold
because I am doing pre-verifying. after that, I will cancel hold.

pre-verify pass.
/hold cancel

/cherry-pick release-4.10

/approve

/approve

/approve


✨ Inline Instagram photos

There's room for improvement, but here's the first idea. Simply match
instagram links using query selectors, fetch and parse the instagram
post html and append the image to the tweet.

This is really awesome! Thanks for working on it :)
Any chance you could make it work when viewing a single tweet, like here: https://twitter.com/elonmusk/status/938972633416306690 ?
And can you move all the code into a new file in https://github.com/sindresorhus/refined-twitter/tree/master/source/features called inline-instagram-photos.js and just import it into content.js? It's better to have larger features self-contained.

Any chance you could make it work when viewing a single tweet, like here: twitter.com/elonmusk/status/938972633416306690 ?

Oh, it actually works when you visit the link directly, but not when you click the tweet in the stream. I also noticed a race condition as sometimes it adds two of the same photo. Try refreshing and you might see it.

Hey @sindresorhus, thanks for the feedback.
Sure, I’ll make the adjustments you suggested and will take a look in how to prevent the race condition as soon as I get home!
I’ll update the pull-request once I get things going!

I've updated the code and I guess the race condition is now over.
About the single tweet, I'll make a separate commit for that and I'll update the PR soon enough.

I've rebased upstream/master onto my branch to get rid of the conflicts. I'll update the PR with the monkey patch soon.

Well, I guess that's it! See if there's anything else that can be improved and I'll be happy to look into it.

It still duplicates the image, 3 times. Go to https://twitter.com/elonmusk/status/938972633416306690 and then refresh the page.

Can you also mention the feature in https://github.com/sindresorhus/refined-twitter#highlights ?

@sindresorhus I'm looking into another way to detect and append the images, using $.each seems like it's not the best option. And as soon as I finish this, I'll update the README :)

@sindresorhus Made the changes we discussed last week and some other minor upgrades. :)

Yay! Great work @filipekiss. This is going to be super useful for me :)


add function control

add function control page
add function control annotation
add function validator

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

Project coverage is 63.87%. Comparing base (f2a97d4) to head (428510b).
Report is 29 commits behind head on develop.

Files
Patch %
Lines

...m/galewings/repository/FunctionCtrlRepository.java
0.00%
18 Missing :warning:

...a/com/galewings/controller/FunctionController.java
0.00%
6 Missing :warning:

...va/com/galewings/aspect/FunctionCtrlValidator.java
0.00%
5 Missing :warning:

...va/com/galewings/aspect/FunctionCtrlException.java
0.00%
1 Missing :warning:

...c/main/java/com/galewings/entity/FunctionCtrl.java
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@              Coverage Diff              @@
##             develop     #227      +/-   ##
=============================================
- Coverage      64.10%   63.87%   -0.23%
- Complexity       332      390      +58
=============================================
  Files            128      147      +19
  Lines           1170     1373     +203
  Branches          52       58       +6
=============================================
+ Hits             750      877     +127
- Misses           373      445      +72
- Partials          47       51       +4

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


Use afterEach.always in ava sample

From ava 0.15, after.always and afterEach.always runners are added.  They ensure to stop application even if test failed.

/cc @sindresorhus this look good? I'm not an AVA expert.

:shipit:

Thanks! 👍


Update vendor.json

Coverage remained the same at 42.177% when pulling 1c4c0a66b68aa3afd5103208a2895b27426be0df on stgleb:master into be16056950a0dd1bb092215f7cf3f5bf843fe1e6 on supergiant:master.

LGTM


PyLarc 2.1.0 & Scriptfiles

@Ykpauneu was this also tested and confirmed working? :)

@Ykpauneu was this also tested and confirmed working? :)

Yes, I tested this gamemode and it works fine


GEODE-4811: Add a feature flag annotation for gfsh commands.

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[x] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[x] Is your initial contribution a single, squashed commit?

[x] Does gradlew build run cleanly?

[x] Have you written or updated unit tests to verify your changes?

[n/a] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

LGTM. But I am wondering if just creating a CliAvailabilityIndicator for those commands and make them unavailable from the client would be sufficient. I hate to rely on yet another system property.


[Feature Request]: Add Subscribe to our NewsLetter feature

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
@HimanshuNarware
Subscribe to our Newsletter feature can be added in footer
Use Case
In footer subscribe to newsletter feature adds up to connect with the updates from the site .Please assign me this issue
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[x] I have starred the repository

@PSS2134 I want to work on this issue can you please assign it to me?

Since @AfrozeSVU is not active , I am assigning it to @riteshjha61253


fix bug: leading dash is unintendedly removed in yaml printer

WHAT
The same as title
Related issue (if exists)
https://github.com/dty1er/kubecolor/issues/55

Codecov Report

Merging #57 (4f8240a) into main (2b28875) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #57   +/-   ##
=======================================
  Coverage   84.67%   84.67%
=======================================
  Files          17       17
  Lines         535      535
=======================================
  Hits          453      453
  Misses         74       74
  Partials        8        8

Impacted Files
Coverage Δ

printer/yaml.go
90.47% <100.00%> (ø)

Continue to review full report at Codecov.

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


Implement local disk caching of WMG snapshot

We want to implement a scheme to cache the tiledb data files closer to the application containers.

Experiments suggest that caching the tiledb data files on host (or close to the host) on which the web app container is running is much faster than querying S3 for the tiledb datafiles
More experiments suggest that mountpoint-s3 gives performance close enough to local disk caching and gives transparent access to the tiledb datafiles on S3 via a mount point on the local filesystem and thereby removes a lot of application complexity due to copying (see below).

What caching means depends on the compute infrastructure the application is running. Currently, we are using FARGATE. This means that the EC2 instances that runs the web app containers are hidden from us.
Currently, the solution involves the following considerations:

With FARGATE the host machines that run the application container can change and has less privilege than using raw EC2 instances. Moreover, with FARGATE launch type, we cannot specify the docker volumes on the ec2 local disk as is the case with ec2 launch type. This means that we would need to store the tiledb datafiles on EFS. Note that EFS is a Network File System, which is different from the local disk of an EC2 instance. However, we expect EFS to perform better than S3.
Assuming EFS volume to store the datafiles, is leveraging  mountpoint-s3 more robust than copying the data onto EFS?
If mountpoint-s3 is not an option, at what point in the initialization phase of the application do we copy the tiledb data files to an EFS mount point? Specify a script that does the copy in the ECS task definition? Have the application code copy the data files in a separate thread?
Given that WMG reader is pinned to a data schema version should we only copy the tiledb datafiles pinned by the reader? If so, it might make more sense to spawn a separate thread to copy the data to EFS since the ECS task definition would not know which version of the data to copy. If copying all the version of the data from s3, then it might be possible to have the copying specified in the ECS task definition.
Test that data schema version rollbacks and rollforwards work

If EFS is being considered, be sure to perform a cost estimate first. Unlike S3, EFS bills for read usage within the AWS cloud, I believe.

After consulting with @ebezzi, @atolopko-czi and @atarashansky on 01/03/2023, we decided on the following (cc: @dsadgat ):

The first approach to take for this is to use FARGATE ephemeral storage (this is not EFS) to download the tiledb snapshots. We will download ALL versions of the snapshot to keep things simple and support data schema rollback and rollforwards transparently. The total amount of data is about 27GB. The download will be invoked on container startup when the ECS task is being initialized. We will see if we can leverage parallel download of the tiledb files on S3.

Quick back-of-the-envelop math around expected download time:
Assuming roughly 5Gpbs network connection (which is 625 Megabytes/sec), a serial download of 27GB would take about 43 seconds (27GB / (625 MB/s)). If we can parallelize it and hope for a 2X-4X reduction in download time bringing the download time to 10-20 seconds.
We would then update the healthcheck timeout for ECS to be longer (say 1 min) and adjust as we learn more.

In the case we run into problems with (1) we can't solve or if the problems are too complex to take on, we might explore changing the launchtype for WMG to be EC2 instead of Fargate. In that case, mountpoint-s3 is a reasonable option even if it is not as fast as local disk because we trade a speed for simplicity. If the speed of mountpoint-s3 is still not satisfactory for us, we can leverage what we learned in (1) and implement copying the data onto the ec2 instance.

To conclude, we will start with (1) and the estimate is about 6 days with a 60% confidence it will work. After 6 days, we will re-evaluate what to do.

We will download ALL versions of the snapshot to keep things simple and support data schema rollback and rollforwards transparently.

Of course, roll forwards will only work for snapshots built at deploy/init time, and not for future builds. So BE services will need to be restarted to pickup new snapshots.  While one could put logic in place to monitor the S3 source location and sync new data locally, this design would be subject to inconsistency errors across servers for short periods of time.

@atolopko-czi - Good points. What do you think of this solution:

We download the the entire snapshots folder on S3 which contains ALL versions of the snapshot during task initialization.

To address the issue where the latest snapshot is updated on S3 but hasn't been copied to the local filesystem:

When the application starts up it compares the value snapshots/<reader_pinned_schema_version/latest_snapshot_identifier between local filesystem and S3 and if there is a difference, it will serve data from S3 instead of the local filesystem. I think this is doable. This also takes care of the issue where copy failed but task is running anyway (I don't know how that failure mode might happen currently).

Rollbacks or Roll forwards (meaning changing the data schema version or pinning to a particular snaposhot id) require a code change and therefore a deploy to production which should work as currently designed right?

@atolopko-czi @ebezzi @atarashansky - Here is a scheme I think might keep snapshots consistent across and servers without negating disk caching performance by much.

On initial page load, when client makes a request to the server to data (in the current case it is \query), the payload includes snapshot_id (it could also include data schema version too). Have the client store this data_schema_version and snapshot_id and send it to the server on all subsequent requests.
A server with an older snaphshot_id in its local disk, upon getting a request from a client sending a newer snapshot_id, will instead serve the request by querying S3 rather than its local disk

What is the probability a client will suffer the performance problem of having hit a server that has to serve the data by querying S3 rather than its local disk?
Let N be the number of servers. Let K be the number servers that were preemptively scheduled by FARGATE on a new EC2 instance. These K servers will now download a new snapshot_id. N-K servers still have the old snapshot_id in their local disks.

P(A) = The probability that a client hits one of the K servers with a new snapshot_id on initial page load is K/N
P(B) = The probability that a client hits one of the N-K servers with an older snapshot_id is (N-K)/N

So the probability that a client suffers a performance degradation is P(A) x P(B) = K(N-K)/(N^2). This probability is upper bounded by 1/4 (when K = N/2). So in the worst case, only 25% of the clients will see a performance degradation due to fetching from S3.
As concrete example, in our case, N = 6. If only 1 server ends up downloading a new snapshot_id, then the probability a client experiences a slow query due to S3 fetch is 14% (5/36).
So with this scheme we would still need to maintain the ability to query from S3 as a fallback, which is not a bad thing anyway. Moreover, if we ever refactor our API to only query for slices of data, then strong consistency across servers will be needed.
What do y'all think?

Another option to maintain consistency across servers is to use EFS because it is persistent and outlives the task (unlike the FARGATE ephemeral storage).
If we have EFS, the container entrypoint script could check EFS if there is already a data snapshot. If there is, don't download from S3. This is helpful when FARGATE preempts the task and runs it on a different compute node - no need to download the data snapshot again. When we do deploys, we might be able to pass an argument to the container entrypoint to download from S3 and overwrite whatever is on EFS.
The downside is that EFS is not local disk - it is a network disk and we would need to estimate $$ costs for it.


How do I make aimbot work on the left mouse button and not the right one?

How do I make aimbot work on the left mouse button and not the right one?

поменяй в коде правую кнопку мыши на левую

in which file? It is like?

the ideal would be to activate and pause on f2

in which file? It is like?

run.py

Thanks, I managed to shift the aimbot to the left, how do I just pause on F2 and return without closing

The only thing I can't do is make it work in the Black Squad game, why?
https://store.steampowered.com/app/550650/Black_Squad/

close issue nigga


Launch the Electron window after React & FastAPI finish launching

This proves to be challenging because there should be some sort of inter-process communication between the 3 processes for the apps to launch correctly (Electron, React, and FastAPI). Right now, Electron launches prematurely before React & FastAPI finish deploying.

Doesn't Electron start the Python server?

It does but electron might launch the window before the Python server is ready to receive api calls.

I think the best behavior would be to have a splash screen while Electron is waiting for the backend to be ready. e.g. see this article https://medium.com/red-buffer/how-to-create-a-splash-screen-for-electron-app-602b4da406d

Done!


Sqlite provider

Summary

Adding example source code for sqlite3 provider usage

Verified it doesn't work on Windows, but does on macOS (which is expected)

Review pass of doc and clean up doc

Added links to NuGet packages
Code fence non-loc namespaces and package identifiers
Consolidate sentences into cohesive paragraph

Fixes #18215
Preview link
✔ Custom SQLite versions

So what is the recommended workaround to get this nuget package working on Windows?

@d79ima We're gonna need a lot more info than that to answer your question. Can you create a new issue on dotnet/efcore or ericsink/SQLitePCL.raw with more details about what you're trying to do an what error you're encountering?

@bricelam  I think I will just withdraw my question on this forum. In light of your comments  on our discussion here: https://github.com/ericsink/SQLitePCL.raw/discussions/429
Basically we are in agreement that it would be nice to have a PCLRaw bundle that tries to target system sqlite3 libraries for all popular platforms: winsqlite3 on windows, sqlite3 on Linux and iOS, may be fall back to e_sqlite3 on Android since calling into system sqlite3 on Android is prohibited.


Use gas estimator

Gas value are hardcoded when creating multig, transaction or payment channel message.

@mgoelzer FYI


Deprecate enableMeshRootCertificate binary flag

Part of #4998
Related to #5040
Deprecate the enableMeshRootCertificate binary flag added in #4871.
Resources:

example feature flag deprecation #4978

Blocked on:

#5040


error:Fab3 requires the environment variable FABPROXY_CONFIG to be set

Im trying to run fab3 after building with this command ./fab3. some how it is just showing following message

Fab3 requires the environment variable FABPROXY_CONFIG to be set

is it an error or status message. I dont think its an error because I already exported that variable.
bonus: Im doing it on cloud virtual machine so plz also let me know how to add web3 http Provider to cloud like http://localhost:5000

no response. hence closed

no response. hence closed


Exception on loading saved games.

Fixed by adding default constructors to MapComponents that were missing them, and handling a few null refs caused by reading things earlier than expected.


[WIP] use ocaml-migrate-parsetree to compile in 4.06.1 & 4.07.0

Should fix issue #39

[x] Compiles with 4.06.1
[x] Compiles with 4.07.0
[x] Tests are OK with 4.06.1
[x] Tests are OK with 4.07.0
[x] Add test for 4.07 in .travis.yml

The tests are passing with both 4.06 and 4.07, this is ready to be reviewed.

looks good, thanks!


Channel.isWritable always returns false

Hi, I upgraded netty from netty-4.0.30 to netty-4.0.41 because I was interested in getting fix for issue https://github.com/netty/netty/pull/5592. However after upgrading i ran into a serious issue. The entire IO request hangs because channel.isWritable returns false after sending some data. I noticed that if i send (writeAndFlush) tiny data on the channel isWritable continue to be true. But if I send about 839748 bytes on the channel the channel.isWritable remains false. I have taken heap dump in which i see that ChannelOutboundBuffer's buffer is unwritable. It has 12 bytes but zero buffer count; which is odd.

I also noticed that io.netty.channel.AbstractChannelHandlerContext.invokeChannelWritabilityChanged() now checks for invokeHandler() before firing the event. I wonder if that check is causing the problem.
Could you please verify if this bug was recently added and possible fix for it?

update: I don't think that the issue is caused by change to io.netty.channel.AbstractChannelHandlerContext.invokeChannelWritabilityChanged. That method was changed in 3.0.37 and the issue is only reproducible in 4.0.41. So it has to be something introduced in 4.0.41.

I figured out that the change d79e5c594d2e50168da6877e7d4de05733a404c7 broke the isWritable. It however affect if ChannelConfig.writeBufferLowWatermark is set to 0. If it is set to zero the condition newWriteBufferSize < channel.config().getWriteBufferLowWaterMark() in transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java does not match and channel never becomes writable again.
Proposed change to handle cases where low watermark is set to zero:
--- a/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java
+++ b/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java
@@ -194,7 +194,8 @@ public final class ChannelOutboundBuffer {
}
     long newWriteBufferSize = TOTAL_PENDING_SIZE_UPDATER.addAndGet(this, -size);

   if (notifyWritability && newWriteBufferSize < channel.config().getWriteBufferLowWaterMark()) {

   if (notifyWritability && (newWriteBufferSize == 0

      || newWriteBufferSize < channel.config().getWriteBufferLowWaterMark())) {
       setWritable(invokeLater);
   }

}

@buchgr ping.

@yogeshvedpathak out of curiosity, why have you chosen a low watermark of 0?

@johnou thanks for pointing me to this! :)
@yogeshvedpathak
Thank you for digging in! Great job! Your are right, d79e5c5 changed the implementation to follow the API specification more closely [1]. The specification states that a channel is writable if the number of queued bytes drops below the low write buffermark. 0 < 0 is false, so the implementation seems correct.
However, I agree that this edge case is strange. Let me think about this for a bit.

no particular reason. I was just thinking that the actual values for low and high watermark do not matter but just the difference between them.

@yogeshvedpathak so if you increase the low watermark the "bug" is gone, correct?

It seems as though if 0 isn't a valid low watermark, it shouldn't be permitted (the code checks that lowWaterMark is >=0, implying 0 is a valid value and it does make logical sense; in the case where you don't want the channel to be writable until the outbound buffer is empty, it would make sense to specify 0 rather than 1).  This seems like a case where perhaps it makes sense for the lower bound to be inclusive and the upper bound to be exclusive.

@buchgr yes setting low watermark to say, 1 resolves the issue.

@buchgr ping

This seems like a case where perhaps it makes sense for the lower bound to be inclusive and the upper bound to be exclusive.

I agree, however that would in a sense be a breaking change :.
As mentioned before, the current implementation seems to follow the specified interface. Is this still a problem @yogeshvedpathak ?
Maybe we should add an extra sentence to the documentation, explictly stating the implied meaning of 0?

@buchgr yep we can not break stuff... Please just add some more javadocs to make it clear.

After setting non-zero watermarks everything works fine for me. So a documentation change will suffice. Thanks.

@buchgr ping :)

@buchgr can you take care ?

@buchgr ping... or should I take care ?

@normanmaurer yes please take it over. I won't have time anytime soon. Sorry :.


[Feature] upgrade alter/drop/create/select on table/db/view

What type of PR is this：

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Refactor AuthUpgrader, seperating upgrade method on different types.
Implement upgrade logic of action alter/drop/create/select on table/db/view

select

select on *.*/db.* will be applied to both view & table
select on a specific table will be applied to either view or table by the actual type of it.

drop & alter

drop/alter on *.*/db.* will be applied to view, table & db
drop/alter on a specific table will be applied to either view or table by the actual type of it.

create

create on *.*/db.* will be applied to db with action create_table, create_view, create_mv
create on a specific table will be discarded.

Impelement load on table, but doesn't test it.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

run starrocks_admit_test

run starrocks_admit_test

run starrocks_fe_unittest

run all

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 132 / 165 (80.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/mysql/privilege/AuthUpgrader.java
130
163
79.75%
[242, 243, 302, 303, 364, 417, 538, 539, 543, 593, 634, 635, 636, 648, 649, 650, 651, 655, 656, 657, 658, 659, 662, 663, 664, 718, 767, 815, 816, 817, 818, 819, 820]

:large_blue_circle:
com/starrocks/privilege/PrivilegeType.java
2
2
100.00%
[]

I've received your email and will will reply to you as soon as possible after the vacation.————————————This is an auto reply email from QQ Mail.


Wifi disconnecting and not coming back up

I'm working with ESPHome on an RGB bulb - and if I interact with the bulb for a bit, scrubbing through colours etc, the connection will eventually drop and not come back up without a power cycle.
Sometimes I get about 20 seconds out of it, sometimes a few minutes, but will always eventually disconnect.
I can run a continuous effect on the bulb and trigger a disconnect, and the effect will continue running, so I think this confirms it hasn't crashed or anything.
Unfortunately I can't debug over serial as the UART pads are inaccessible. I flashed the device with tuya-cloudcutter.
The chip is a bk7231n based. Specifically it's a CB2L: https://developer.tuya.com/en/docs/iot/cb2l-module-datasheet?id=Kai2eku1m3pyl

Also worth noting that I was using these bulbs for months with the stock Tuya firmware, and never experienced any connectivity issues.

I have noticed this is only occurring when when the logger is active via esphome run
If I ctrl+c after an esphome run, the bulb will never go down. If I leave the logger running, it'll last a minute or two before requiring a power cycle.

Update: looks like it's a wifi issue. Some lights that have <=2/5 bars of wifi randomly disconnect. Some never get back online. The 2.4Ghz wifi channels are very crowded where I live, so maybe that has something to do with it.
Never experienced this issue using the stock Tuya firmware (or other devices) though (same location). Solved by placing an additional wifi access point closer to the disconnecting bulbs.

I had the same experience and fixed it also with a additional access point but I wish it get fixed from the ground...


when run list_apps ,has  errors

from marathon import MarathonClient
c = MarathonClient('http://<IP_ADDRESS>:8090')
c.list_apps()
_Traceback (most recent call last):
File "", line 1, in
File "marathon/client.py", line 165, in list_apps
response, MarathonApp, is_list=True, resource_name='apps')
File "marathon/client.py", line 48, in parse_response
return [clazz.from_json(resource) for resource in target]
File "marathon/models/base.py", line 35, in from_json
return cls({to_snake_case(k): v for k, v in attributes.items()})
File "marathon/models/app.py", line 103, in init
else MarathonContainer.from_json(container)
File "marathon/models/base.py", line 35, in from_json
return cls({to_snake_case(k): v for k, v in attributes.items()})
File "marathon/models/container.py", line 26, in init
else MarathonDockerContainer().from_json(docker)
File "marathon/models/base.py", line 35, in from_json
return cls({to_snake_case(k): v for k, v in attributes.items()})
File "marathon/models/container.py", line 64, in init
for pm in (port_mappings or [])
File "marathon/models/base.py", line 35, in from_json
return cls({to_snake_case(k): v for k, v in attributes.items()})
TypeError: init() got an unexpected keyword argument 'name'

**Environment：
**
marathon-1.1.1
marathon-python-0.8.1
Python 2.7.5
Linux   3.10.0-327.el7.x86_64

Huh. I guess we don't have an param for the name field in the port mapping model?
Can you pb the actual json that marathon returned? And if you feel adventurous to scratch your own itch, can you add a name parameter to that model so it can understand it?

Normal accessed through api：
curl   http://<IP_ADDRESS>:8090/v2/apps
return:
{"apps":[{"id":"/mysqlt1","cmd":null,"args":null,"user":null,"env":{"MYSQL_ROOT_PASSWORD":"123456"},"instances":1,"cpus":1,"mem":256,"disk":300,"executor":"","constraints":[],"uris":[],"fetch":[],"storeUrls":[],"ports":[4406],"portDefinitions":[{"port":4406,"protocol":"tcp","labels":{}}],"requirePorts":false,"backoffSeconds":1,"backoffFactor":1.15,"maxLaunchDelaySeconds":3600,"container":{"type":"DOCKER","volumes":[],"docker":{"image":"mysql:5.6","network":"BRIDGE","portMappings":[{"containerPort":3306,"hostPort":0,"servicePort":4406,"protocol":"tcp","name":"mysqlport","labels":{}}],"privileged":false,"parameters":[],"forcePullImage":false}},"healthChecks":[],"readinessChecks":[],"dependencies":[],"upgradeStrategy":{"minimumHealthCapacity":1,"maximumOverCapacity":1},"labels":{},"acceptedResourceRoles":null,"ipAddress":null,"version":"2016-05-09T08:03:27.589Z","residency":null,"versionInfo":{"lastScalingAt":"2016-05-09T08:03:27.589Z","lastConfigChangeAt":"2016-04-29T09:46:13.648Z"},"tasksStaged":1,"tasksRunning":0,"tasksHealthy":0,"tasksUnhealthy":0,"deployments":[]},{"id":"/myapp3","cmd":"sleep 100","args":null,"user":null,"env":{},"instances":2,"cpus":1,"mem":16,"disk":0,"executor":"","constraints":[],"uris":[],"fetch":[],"storeUrls":[],"ports":[10000],"portDefinitions":[{"port":10000,"protocol":"tcp","labels":{}}],"requirePorts":false,"backoffSeconds":1,"backoffFactor":1.15,"maxLaunchDelaySeconds":3600,"container":null,"healthChecks":[],"readinessChecks":[],"dependencies":[],"upgradeStrategy":{"minimumHealthCapacity":1,"maximumOverCapacity":1},"labels":{},"acceptedResourceRoles":null,"ipAddress":null,"version":"2016-05-09T09:54:52.749Z","residency":null,"versionInfo":{"lastScalingAt":"2016-05-09T09:54:52.749Z","lastConfigChangeAt":"2016-05-09T09:52:03.943Z"},"tasksStaged":0,"tasksRunning":2,"tasksHealthy":0,"tasksUnhealthy":0,"deployments":[]}]}

May be the reason：
MarathonMinimalJsonEncoder

Thank you, the problem has been resolved


Phantom on the same computer as server?

Hello,
I understand the general idea of phantom (proxy and making the remote server appear on the LAN) but as dumb as it might sound I can't seem to make it work in a specific configuration.
I'm trying to have phantom run on the same computer as the server itself.
It's just to test the setup on my own computer at my friend's house. He's the one who has the PS4. Later, I'll have the server on my PC at home and I have yet to decide where I'll run phantom on his LAN.
So anyways, on my PC on his LAN I run the Bedrock server on 127.0.01 on port 19132.
Then I run the Minecraft client still on my own PC. I connect to the server : 127.0.01:19132. It works.
Then I try to run phantom, still on my PC.
phantom-windows.exe -server <IP_ADDRESS>:19132
It fails because it says the port is used or something.
I'm guessing it's because the server is already listening on that port on that same computer.
So I stop my server, change its port to 19134, and restart it.
Then I run phantom again on 19132
phantom-windows.exe -server <IP_ADDRESS>:19132
Phantom's terminal enters a weird infinite loop:
Starting up with remote server IP: <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Binding ping server to port 19132
←[90m9:12PM←[0m ←[32mINF←[0m Starting idle connection handler
←[90m9:12PM←[0m ←[32mINF←[0m Binding proxy server to: <IP_ADDRESS>:61467
←[90m9:12PM←[0m ←[32mINF←[0m Listener starting up: <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Proxy server listening!
←[90m9:12PM←[0m ←[32mINF←[0m Once your console pings phantom, you should see replies below.
←[90m9:12PM←[0m ←[32mINF←[0m Starting 1 workers
←[90m9:12PM←[0m ←[32mINF←[0m Listener starting up: <IP_ADDRESS>:61467
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132 for new client <IP_ADDRESS>:65145!
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Received LAN ping from client: <IP_ADDRESS>:65145
←[90m9:12PM←[0m ←[32mINF←[0m New connection from client <IP_ADDRESS>:65145 -> <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132 for new client <IP_ADDRESS>:65145!
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Received LAN ping from client: <IP_ADDRESS>:65145
←[90m9:12PM←[0m ←[32mINF←[0m New connection from client <IP_ADDRESS>:65145 -> <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132 for new client <IP_ADDRESS>:54217!
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Received LAN ping from client: <IP_ADDRESS>:54217
←[90m9:12PM←[0m ←[32mINF←[0m New connection from client <IP_ADDRESS>:54217 -> <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132 for new client <IP_ADDRESS>:54218!
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Received LAN ping from client: <IP_ADDRESS>:54218
←[90m9:12PM←[0m ←[32mINF←[0m New connection from client <IP_ADDRESS>:54218 -> <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132 for new client <IP_ADDRESS>:54219!
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Received LAN ping from client: <IP_ADDRESS>:54219
←[90m9:12PM←[0m ←[32mINF←[0m New connection from client <IP_ADDRESS>:54219 -> <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132 for new client <IP_ADDRESS>:54220!
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Received LAN ping from client: <IP_ADDRESS>:54220
←[90m9:12PM←[0m ←[32mINF←[0m New connection from client <IP_ADDRESS>:54220 -> <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132 for new client <IP_ADDRESS>:54221!
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Received LAN ping from client: <IP_ADDRESS>:54221
←[90m9:12PM←[0m ←[32mINF←[0m New connection from client <IP_ADDRESS>:54221 -> <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132 for new client <IP_ADDRESS>:54222!
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Received LAN ping from client: <IP_ADDRESS>:54222
←[90m9:12PM←[0m ←[32mINF←[0m New connection from client <IP_ADDRESS>:54222 -> <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132 for new client <IP_ADDRESS>:54223!
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Received LAN ping from client: <IP_ADDRESS>:54223
←[90m9:12PM←[0m ←[32mINF←[0m New connection from client <IP_ADDRESS>:54223 -> <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132 for new client <IP_ADDRESS>:54224!
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Received LAN ping from client: <IP_ADDRESS>:54224
←[90m9:12PM←[0m ←[32mINF←[0m New connection from client <IP_ADDRESS>:54224 -> <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132 for new client <IP_ADDRESS>:54225!
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Received LAN ping from client: <IP_ADDRESS>:54225
←[90m9:12PM←[0m ←[32mINF←[0m New connection from client <IP_ADDRESS>:54225 -> <IP_ADDRESS>:19132
←[90m9:12PM←[0m ←[32mINF←[0m Opening connection to <IP_ADDRESS>:19132 for new client 127.0.0
...
...
...

I don't know what to do about this.
I saw that someone published a docker image with phantom on it, maybe that'd be the easiest way.

Been a while since I used Phantom, but isn't the -server <address> argument for the external server address? So after you changed your port, I think it should be -server <IP_ADDRESS>:19134.

Did this ever get resolved? Having the same issue but the solution isn't working


Trying to use plugin gives linker errors.

This plugin is exactly what I am looking for however when I try to incorporate it into my app (natively using obj-c) I get the following errors.  Any help would be much appreciated.
Undefined symbols for architecture arm64:
      "__swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements", referenced from:
          __swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements_$_open_mail_app in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
         (maybe you meant: __swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements_$_open_mail_app)
      "__swift_FORCE_LOAD_$_swiftCompatibility51", referenced from:
          __swift_FORCE_LOAD_$_swiftCompatibility51_$_open_mail_app in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
         (maybe you meant: __swift_FORCE_LOAD_$_swiftCompatibility51_$_open_mail_app)
      "__swift_FORCE_LOAD_$_swiftCoreImage", referenced from:
          __swift_FORCE_LOAD_$_swiftCoreImage_$_open_mail_app in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
         (maybe you meant: __swift_FORCE_LOAD_$_swiftCoreImage_$_open_mail_app)
      "__swift_FORCE_LOAD_$_swiftCoreGraphics", referenced from:
          __swift_FORCE_LOAD_$_swiftCoreGraphics_$_open_mail_app in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
         (maybe you meant: __swift_FORCE_LOAD_$_swiftCoreGraphics_$_open_mail_app)
      "__swift_FORCE_LOAD_$_swiftCoreFoundation", referenced from:
          __swift_FORCE_LOAD_$_swiftCoreFoundation_$_open_mail_app in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
         (maybe you meant: __swift_FORCE_LOAD_$_swiftCoreFoundation_$_open_mail_app)
      "_swift_getInitializedObjCClass", referenced from:
          type metadata accessor for __C.FlutterMethodChannel in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
          type metadata accessor for open_mail_app.SwiftOpenMailAppPlugin in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
      "__swift_FORCE_LOAD_$_swiftFoundation", referenced from:
          __swift_FORCE_LOAD_$_swiftFoundation_$_open_mail_app in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
         (maybe you meant: __swift_FORCE_LOAD_$_swiftFoundation_$_open_mail_app)
      "__swift_FORCE_LOAD_$_swiftMetal", referenced from:
          __swift_FORCE_LOAD_$_swiftMetal_$_open_mail_app in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
         (maybe you meant: __swift_FORCE_LOAD_$_swiftMetal_$_open_mail_app)
      "__swift_FORCE_LOAD_$_swiftObjectiveC", referenced from:
          __swift_FORCE_LOAD_$_swiftObjectiveC_$_open_mail_app in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
         (maybe you meant: __swift_FORCE_LOAD_$_swiftObjectiveC_$_open_mail_app)
      "_swift_unknownObjectRetain", referenced from:
          @objc static open_mail_app.SwiftOpenMailAppPlugin.register(with: __C.FlutterPluginRegistrar) -> () in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
      "_swift_getObjCClassMetadata", referenced from:
          type metadata accessor for __C.FlutterMethodChannel in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
          @objc static open_mail_app.SwiftOpenMailAppPlugin.register(with: __C.FlutterPluginRegistrar) -> () in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
      "_swift_getObjCClassFromMetadata", referenced from:
          @nonobjc __C.FlutterMethodChannel.__allocating_init(name: Swift.String, binaryMessenger: __C.FlutterBinaryMessenger) -> __C.FlutterMethodChannel in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
      "(extension in Foundation):Swift.String._bridgeToObjectiveC() -> __C.NSString", referenced from:
          @nonobjc __C.FlutterMethodChannel.__allocating_init(name: Swift.String, binaryMessenger: __C.FlutterBinaryMessenger) -> __C.FlutterMethodChannel in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
"__swift_FORCE_LOAD_$_swiftQuartzCore", referenced from:
          __swift_FORCE_LOAD_$_swiftQuartzCore_$_open_mail_app in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
         (maybe you meant: __swift_FORCE_LOAD_$_swiftQuartzCore_$_open_mail_app)
      "__swift_FORCE_LOAD_$_swiftDispatch", referenced from:
          __swift_FORCE_LOAD_$_swiftDispatch_$_open_mail_app in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
         (maybe you meant: __swift_FORCE_LOAD_$_swiftDispatch_$_open_mail_app)
      "__swift_FORCE_LOAD_$_swiftCompatibility50", referenced from:
          __swift_FORCE_LOAD_$_swiftCompatibility50_$_open_mail_app in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
         (maybe you meant: __swift_FORCE_LOAD_$_swiftCompatibility50_$_open_mail_app)
      "__swift_FORCE_LOAD_$_swiftCoreMedia", referenced from:
          __swift_FORCE_LOAD_$_swiftCoreMedia_$_open_mail_app in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
         (maybe you meant: __swift_FORCE_LOAD_$_swiftCoreMedia_$_open_mail_app)
      "_swift_bridgeObjectRelease", referenced from:
          @nonobjc __C.FlutterMethodChannel.__allocating_init(name: Swift.String, binaryMessenger: __C.FlutterBinaryMessenger) -> __C.FlutterMethodChannel in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
      "__swift_FORCE_LOAD_$_swiftCoreAudio", referenced from:
          __swift_FORCE_LOAD_$_swiftCoreAudio_$_open_mail_app in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
         (maybe you meant: __swift_FORCE_LOAD_$_swiftCoreAudio_$_open_mail_app)
      "__swift_FORCE_LOAD_$_swiftDarwin", referenced from:
          __swift_FORCE_LOAD_$_swiftDarwin_$_open_mail_app in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
         (maybe you meant: __swift_FORCE_LOAD_$_swiftDarwin_$_open_mail_app)
      "_swift_unknownObjectRelease", referenced from:
          static open_mail_app.SwiftOpenMailAppPlugin.register(with: __C.FlutterPluginRegistrar) -> () in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
          @nonobjc __C.FlutterMethodChannel.__allocating_init(name: Swift.String, binaryMessenger: __C.FlutterBinaryMessenger) -> __C.FlutterMethodChannel in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
          @objc static open_mail_app.SwiftOpenMailAppPlugin.register(with: __C.FlutterPluginRegistrar) -> () in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
      "_swift_getObjectType", referenced from:
          static open_mail_app.SwiftOpenMailAppPlugin.register(with: __C.FlutterPluginRegistrar) -> () in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
      "__swift_FORCE_LOAD_$_swiftUIKit", referenced from:
          __swift_FORCE_LOAD_$_swiftUIKit_$_open_mail_app in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
         (maybe you meant: __swift_FORCE_LOAD_$_swiftUIKit_$_open_mail_app)
      "value witness table for Builtin.UnknownObject", referenced from:
          full type metadata for open_mail_app.SwiftOpenMailAppPlugin in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
      "Swift.String.init(_builtinStringLiteral: Builtin.RawPointer, utf8CodeUnitCount: Builtin.Word, isASCII: Builtin.Int1) -> Swift.String", referenced from:
          static open_mail_app.SwiftOpenMailAppPlugin.register(with: __C.FlutterPluginRegistrar) -> () in libopen_mail_app.a(SwiftOpenMailAppPlugin.o)
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

Not really sure where to go from here

Seemed to fix it by adding a bridging header in my xcode project


Add the ability to parse response data when errors happen

Issue Description
With the current ImageDownloaderDelegate methods, it is not possible to parse the response data in case an error happens, says 404.
In my case, I'd want to parse the data (in HTML format) to extract the error.
It'd be nice if this is make possible.
Cheers,
Tony Hoang

Hi,
By default, Kingfisher expects the response has the correct status code (200..<400) to continue to download the data. So, if the initially received response contains an invalid HTTP status code (such as 404), Kingfisher will just cancel the request.
To change this and receive all data, you need to first make the status code as valid by implementing the isValidStatusCode delegate method.
Then, you can try this delegate method? It should contain the actual data of the response. Maybe you can verify the data here to see if it is a valid image or some other data (such as an HTML).

Or,
If you have control for your own server, maybe it would be a much better idea to contain some error information (such as a sub error code, etc) in the response header, then inspect this method, where you can get the response object in the error like this:
func imageDownloader(
    _ downloader: ImageDownloader,
    didFinishDownloadingImageForURL url: URL,
    with response: URLResponse?,
    error: Error?) {

    if let kfError = error as? KingfisherError, case KingfisherError.responseError(.invalidHTTPStatusCode(let response)) = kfError {
        response.allHeaderFields["sub-error-code"]
    }
}


screener - prior proceedings - 34 is asked if 33a; 35 is asked if 33b or 33c

Again @nonprofittechy I think you already fixed this. Can you confirm?

Possibly fixed; I'll double-check.


Refactored sample apps 20.2

Follow-up on https://github.com/cockroachdb/docs/pull/10851, which should have been applied to 20.2 docs.

This change is

FYI @ianjevans
Going to merge, as this PR is identical to https://github.com/cockroachdb/docs/pull/10851 (+ removing outdated repo references)

@ianjevans TFTR - apologies for rushing the merge. I've worked in your feedback in a follow-up PR: https://github.com/cockroachdb/docs/pull/10962


Search Filter is not working in messagelog for row "Message"

Describe the issue
The Search Filter for the message content seems not to work. If you enter in the messagelog in row "Message" the content of a just send message, you get a Server Error in the corner of the browser: "Server Error: Cannot extract attachment (IllegalStateException)"
Reporter
Laura Nauta-Timp
Screenshots

It seems the issue persists


Running the example todo app on Replit results in a fatal error

I have copied the todo app code from here.
If I run the code as is, I get the link in the replit console. The link opens the todo app in a separate browser tab, and the app works fine, except refreshing of changes is troublesome as discussed in another issue.
I would like to run the service from replit, but changing the last line as instructed in the tutorial to:
pglet.app("index", target=main)
... only results in this message in the console window:
FATA[2021-12-07T20:35:39Z] Connect app error: Account or page name is reserved
After trying various things, I am unable to try anything else because I am throttled regardless of whether I try to run with the above line or something else:
FATA[2021-12-07T20:39:29Z] Connect app error: A limit of 10 new pages per hour has been reached

Thank you for trying Pglet!
With the latest 0.4.6 Python module there should be local=True argument added while running on Replit:
pglet.app("index", target=main, local=True)

Complete working example<EMAIL_ADDRESS>

Thank you for the very fast reply! I can confirm that it with the local=True it runs "locally" in Replit for me as well.
Yesterday I did look at the code and also tried adding the local parameter, but did not see it working as it seems you need to refresh the Replit "browser window" at the right time to make it reconnect to the server after restarting the replit.


DEV: Add static modifier to inline declarations.

It is currently impossible to build a debug version of Pandas on Mac OS, since some of the C function declarations are declared as inline, and compiling in debug mode turns off optimizations and hence inlining. While this could be solved by adding a compile argument to setup.py to use the C89 behavior for inline as in #10510, I believe an ultimately cleaner solution may consist of declaring inlined functions as static, so that the code is properly C99-compliant.
For the implementation, I added the static keyword to the definitions of PANDAS_INLINE and P_INLINE (and removed duplicate occurrences of static from some function declarations), so that future implementations that use those defines are automatically compliant. This is slightly different from e.g. Cython, which defines CYTHON_INLINE as inline and declares everything as static CYTHON_INLINE.

I think this provides an alternative solution for #10510, but I haven't tested this yet (currently downloading a FreeBSD vm over crummy internet).

Makes sense to me. Reviewed lgtm if the build passes.

I ended up removing the conditional flag -fgnu89-inline on FreeBSD, since the addition of static makes it unnecessary. Building succeeds on my copy of FreeBSD 10.2, and the tests more or less run (there are some failures but they don't look related).

pls add a whatsnew note
and comment on that other issue for them to try this PR (just to confirm)

Done. Thanks guys for the quick feedback.

@jvkersch thank you sir!


Unexpected error: Error while retrieving firmware file

Hello,
Can you please reupload this file https://raw.githubusercontent.com/Jason2866/ESP_Flasher/factory/bootloader/esp32/bin/bootloader_dout_40m.elf
Thank you,

No, since Tasmota setup does not use.

Hello,
Can you please reupload this file https://raw.githubusercontent.com/Jason2866/ESP_Flasher/factory/bootloader/esp32/bin/bootloader_dout_40m.elf
Thank you,

Make sure you are using the correct firmware for your chip. I was about to open another issue with the same error when I realized I was not uploading the correct firmware.  I have an ESP32-S3 and tasmota32s3.bin worked perfectly.


Failed to generate skeleton for 'tcltk'. Exit code: -1

Hi, problems in IntelliJ Idea 2017.1
Error Details
Failed to generate skeleton for 'tcltk'. Exit code: -1
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:132)
at com.r4intellij.packages.RSkeletonGenerator.lambda$updateSkeletons$1(RSkeletonGenerator.java:268)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Thanks.

Works for me. Could you (and also you @PikalaxALT) run the following bits:
wget https://raw.githubusercontent.com/holgerbrandl/r4intellij/master/r-helpers/skeletonize_package.R

pckgName=tcltk
R -f skeletonize_package.R --args  ${pckgName} ${pckgName}.skeleton.R

and attach the resulting ${pckgName}.skeleton.R (if it is created at all)?
This will help to narrow down the problem and make R library indexing more robust.

tcltk.skeleton.R.zip

Hmm, the generated skeleton file looks ok to me. The next patch-level release will indicate better what went wrong during index creation.

I had a similar problem, but in my case with the 'coin' package.  I ran skeletonize_package.R and saw this result:
% Rscript ~/Library/Application\ Support/IdeaIC2017.1/R4Intellij/skeletonize_package.R coin /tmp/out
Loading required package: methods
Loading required package: survival
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared object '/usr/local/lib/R/3.3/site-library/mvtnorm/libs/mvtnorm.so':
  dlopen(/usr/local/lib/R/3.3/site-library/mvtnorm/libs/mvtnorm.so, 6): Library not loaded: /usr/local/opt/gcc/lib/gcc/5/libgfortran.3.dylib
  Referenced from: /usr/local/lib/R/3.3/site-library/mvtnorm/libs/mvtnorm.so
  Reason: image not found
Error: package or namespace load failed for ‘coin’
Execution halted

Sure enough, even when I fired up an R interpreter, I couldn't do library(coin).  It turned out to be a problem with its dependency mvtnorm, so once I re-installed that and re-installed coin, R4IntelliJ was happier.

With v1.0.5 the error boxes will look similar to

This should indicate better what goes wrong.
Also the plugin will no longer reattempt to build skeletons for failing packages on each startup.

Hi, had this same issue. installed R by CRAN
Failed to generate skeleton for 'tcltk'. The error was:

Erro: package or namespace load failed for ‘tcltk’:
 .onLoad falhou em loadNamespace() para 'tcltk', detalhes:
  chamada: dyn.load(file, DLLpath = DLLpath, ...)
  erro: impossível carregar objeto compartilhado '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/tcltk/libs/tcltk.so':
  dlopen(/Library/Frameworks/R.framework/Versions/3.4/Resources/library/tcltk/libs/tcltk.so, 10): Library not loaded: /opt/X11/lib/libfontconfig.1.dylib
  Referenced from: /usr/local/lib/libtk8.6.dylib
  Reason: Incompatible library version: libtk8.6.dylib requires version 11.0.0 or later, but libfontconfig.1.dylib provides version 10.0.0


Fix NPE when host has untagged images.

When the docker host has untagged images the checkDiskSpace() method will throw a NullPointerException due to getRepoTags() returning null.
This simply adds a null check to avoid this situation.

Thanks - this looks good to me. Looks like Travis isn't merging in a fix on master for broken dependency shading; sorry about that.
I'm testing locally and expect to merge shortly.

I was about to report the same issue. So commenting here to make you aware that this is not singular.
Thanks for the fix @kunickiaj

Yes - this is merged into master and I plan to release ASAP
On Tue, 16 Aug 2016 at 08:30 Fabian Lange<EMAIL_ADDRESS>wrote:

I was about to report the same issue. So commenting here to make you aware
that this is not singular.
Thanks for the fix @kunickiaj https://github.com/kunickiaj
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/testcontainers/testcontainers-java/pull/201#issuecomment-240024979,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIETx3tDDWpg466s4RrAzXCsbGw1Ip8ks5qgWcxgaJpZM4JisZf
.

--
Richard


update index.html

Nine publications added of PI Antal van den Bosch which refer to our 2012-2013 project TwiNL or the website developed in this project (twiqs.nl)

Nice


Possible False Positive in upcoming CRS, rule 932120

Description
Future CRS (nightly build) might contain a False Positive and will flag the word "powershell" as an attack in PL1
I think this should not be flagged by rule 932120
How to reproduce the misbehavior (-> curl call)
Running the same request against the sandbox in 3.3.2 and nightly give different results for the string "powershell"
$ curl -H "x-format-output: txt-matched-rules" -H "x-crs-version: 3.3.2" https://sandbox.coreruleset.org/?s=powershell

and
$ curl -H "x-format-output: txt-matched-rules" -H "x-crs-version: nightly" https://sandbox.coreruleset.org/?s=powershell
932120 PL1 Remote Command Execution: Windows PowerShell Command Found
949110 PL1 Inbound Anomaly Score Exceeded (Total Score: 5)
980170 PL1 Anomaly Scores: (Inbound Scores: blocking=5, detection=5, per_pl=5-0-0-0, threshold=5) - (Outbound Scores: blocking=0, detection=0, per_pl=0-0-0-0, threshold=4) - (SQLI=0, XSS=0, RFI=0, LFI=0, RCE=5, PHPI=0, HTTP=0, SESS=0, COMBINED_SCORE=5)

Logs
See sandbox
Your Environment
See sandbox

CRS version (e.g., v3.3.4): nightly
Paranoia level setting (e.g. PL1) : PL1
ModSecurity version (e.g., 2.9.6): sandbox
Web Server and version or cloud provider / CDN (e.g., Apache httpd 2.4.54): sandbox
Operating System and version: sandbox

Confirmation
[x] I have removed any personal data (email addresses, IP addresses,
passwords, domain names) from any logs posted.

@MirkoDziadzka Hi and thanks for reporting this. Why do you think this is a false positive?

@azurit I think the simple presence of the word powershell in an input should not be triggered in PL1. Same as "select" is not triggered as an SQLi. YMMV.

We may need to look into this. Thanks for sharing @MirkoDziadzka.
What is your take on this @theseion? Do we have options to add context in neighboring rules?

powershell was added as part of a bug bounty finding. If I'm not mistaken, we don't have any RCE rules above PL 1 for Windows. I understand that powershell makes much less sense at PL 1 then PowerShell commandlets, so I don't have anything against removing it. We would need to consider though, whether we wanted to add a new rule at Pl 2.

Agreed, it is coming from this one: https://github.com/coreruleset/coreruleset/pull/2589. It was called powershell.exe before (see https://github.com/coreruleset/coreruleset/pull/2589/files#diff-bf277221b446105abad5fd3c89bdea6ac99b7b74269aad782669f969f8a535e7L1).
Per latest comment from Walter, let's remove it from PL1.

I agree on the removal from PL1, but I think we need to catch the naked keyword powershell at higher levels. If there is no rule where it fits, then I think we need a rule/place for this keyword and Windows friends at PL2 or PL3.

A genral question about 932120
To the best of my knowledge, you need some kind of separator before you can start a command injection. The pure command should not be the problem, at least some characters must come before. Not sure about windows, but on Unix I would assume that we need something like '";&|)] before the command to have an injection.
Is this different on Windows? Am I missing something?

You are right. But this rule comes form a list using pmFromFile, where there is no regular expression involved. Therefore there is no previous chars that we can use, nor additional chars at the end.

@fzipi

You are right. But this rule comes form a list using pmFromFile, where there is no regular expression involved. Therefore there is no previous chars that we can use, nor additional chars at the end.

Then maybe we need the @pmf  + a chain rule with matches on any special character which can introduce an injection. Like @rx []'";&|)}] (No idea if this is complete) . This can still produce false positives, but better the current version. But I will leave it to the experts ;-) Thanks.

This is a good idea, but it's a slippery road that leads to evasions very quickly. What you have in the chained rule is the MATCHED_VAR, yet the first rule in the chain may run multiple times, resulting in a MATCHED_VAR that carries an additional naked powershell while the attack payload has been overwritten in the meantime. Very tricky business.


Pb with zoom

On this : https://www.mapcontrib.xyz/t/b55db9-Saint_Paul_les_Dax__Defibrillateurs#
In zoom 15, I can see 2 icons,
if I enlarge in zoom=14 or 13, these 2 icons disapear

it's a theme where i tried the new color utils

if i choose the predefined colors it's ok, if I personalise colors with the new util, I have a bug :)

Yep, I can see that.  ;)

Released in 1.12.3 👌


Use OIDC

Motivation

Use OIDC to ensure the high level security. See https://docs.pypi.org/trusted-publishers/ for more details.
Description of the changes

Use OIDC to publish the package to PyPI and TestPyPI

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@3a1afd2). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@          Coverage Diff           @@
##             main     #33   +/-   ##
======================================
  Coverage        ?   0.00%
======================================
  Files           ?       9
  Lines           ?      39
  Branches        ?       0
======================================
  Hits            ?       0
  Misses          ?      39
  Partials        ?       0

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

This is confirmed at https://github.com/HideakiImamura/optuna-integration/pull/1


Quick Open font color is unreadable

After the most recent update of nord-atom-ui the Quick Open font color is too dark and is unreadable.

Oddly enough, when the window is not focused the font color changes to what I assume is the regular color.

If you select the text that is typed you can see that it's there but it looks like it's a very dark shade of grey.

Issue is not present in One Dark theme.
Atom    : 1.13.0
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0
Fedora : 24

Thanks for your report 👍
This has already been reported in #53 and has been fixed in the apm package release version 🏷 0.10.1.


Feat: Support ciphers SSLOptions

To resolve one of these tasks

CI are success

Finished in 0.45295 seconds (files took 0.179 seconds to load)
353 examples, 0 failures

Faraday 2.8 Ruby 2.7
Finished in 0.40026 seconds (files took 0.16809 seconds to load)
353 examples, 0 failures

Managed to do those small changes myself with the web editor (pretty cool!).
All tests seem to be passing now, thank you @saiqulhaq !


bug: display error

root@localhost:8000/> select 'a\nb' as a, hex(a);

SELECT
  'a\nb' AS a,
  hex(a)

┌─────────────────┐
│    a   │ hex(a) │
│ String │ String │
├────────┼────────┤
│ a      │ 610a62 │
│ b      │        │
└─────────────────┘
1 row in 0.007 sec. Processed 1 rows, 1B (149.15 rows/s, 149B/s)

mysql client:
mysql> select 'a\nb' as a, hex(a);
+------+--------+
| a    | hex(a) |
+------+--------+
| a
b  | 610a62 |
+------+--------+
1 row in set (0.00 sec)
Read 1 rows, 1.00 B in 0.001 sec., 999.27 rows/sec., 999.27 B/sec.

It seems like a MySQL client error rather than BendSQL ?

Yes, MySQL Display is one row.  bendsql display two rows.


Having an enumerated value Off throws an error

I am writing a peripheral for STM32WLE. One of the bits is best described as "Off", so I wrote:
    RRS:
      Off: [0, "SRAM2 powered off in Standby mode (SRAM2 content lost)"]
      OnLPR: [1, "SRAM2 powered by the low-power regulator in Standby mode (SRAM2 content kept)"]

When running make, I get the following output:
❯ make
svd makedeps devices/stm32wle5.yaml .deps/stm32wle5.d
svd patch devices/stm32wle5.yaml
Traceback (most recent call last):
  File "/Users/xxxx/.pyenv/versions/stm32-rs/bin/svd", line 8, in <module>
    sys.exit(svdtools_cli())
  File "/Users/xxxx/.pyenv/versions/3.8.9/envs/stm32-rs/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/Users/xxxx/.pyenv/versions/3.8.9/envs/stm32-rs/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/Users/xxxx/.pyenv/versions/3.8.9/envs/stm32-rs/lib/python3.8/site-packages/click/core.py", line 1668, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/xxxx/.pyenv/versions/3.8.9/envs/stm32-rs/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/xxxx/.pyenv/versions/3.8.9/envs/stm32-rs/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/Users/xxxx/.pyenv/versions/3.8.9/envs/stm32-rs/lib/python3.8/site-packages/svdtools/cli.py", line 16, in patch
    svdtools.patch.main(yaml_file)
  File "/Users/xxxx/.pyenv/versions/3.8.9/envs/stm32-rs/lib/python3.8/site-packages/svdtools/patch.py", line 1407, in main
    process_device(svd, root)
  File "/Users/xxxx/.pyenv/versions/3.8.9/envs/stm32-rs/lib/python3.8/site-packages/svdtools/patch.py", line 1384, in process_device
    d.process_peripheral(periphspec, device[periphspec], update_fields)
  File "/Users/xxxx/.pyenv/versions/3.8.9/envs/stm32-rs/lib/python3.8/site-packages/svdtools/patch.py", line 661, in process_peripheral
    p.process_register(rspec, register, update_fields)
  File "/Users/xxxx/.pyenv/versions/3.8.9/envs/stm32-rs/lib/python3.8/site-packages/svdtools/patch.py", line 1032, in process_register
    r.process_field(pname, fspec, field)
  File "/Users/xxxx/.pyenv/versions/3.8.9/envs/stm32-rs/lib/python3.8/site-packages/svdtools/patch.py", line 1234, in process_field
    self.process_field_enum(pname, fspec, field)
  File "/Users/xxxx/.pyenv/versions/3.8.9/envs/stm32-rs/lib/python3.8/site-packages/svdtools/patch.py", line 1260, in process_field_enum
    enum = make_enumerated_values(name, field, usage=usage)
  File "/Users/xxxx/.pyenv/versions/3.8.9/envs/stm32-rs/lib/python3.8/site-packages/svdtools/patch.py", line 148, in make_enumerated_values
    if vname.startswith("_"):
AttributeError: 'bool' object has no attribute 'startswith'
make: *** [svd/stm32wle5.svd.patched] Error 1

I am using Python 3.8.9, compiled on x86_64 (I have an M1 so I tried both x86_64 and aarch64).
If instead, I change the bit to:
    RRS:
      PowerOff: [0, "SRAM2 powered off in Standby mode (SRAM2 content lost)"]
      OnLPR: [1, "SRAM2 powered by the low-power regulator in Standby mode (SRAM2 content kept)"]

Everything works normally.
I have tried in other peripherals and bits and the same issue occurs. The same is true if the value is On, e.g.:
    RRS:
      PowerOff: [0, "SRAM2 powered off in Standby mode (SRAM2 content lost)"]
      On: [1, "SRAM2 powered by the low-power regulator in Standby mode (SRAM2 content kept)"]

This is an infuriating YAML issue where On and Off are treated as special Boolean values and turned into Python True and False instead of strings. It should work OK if you put "On" and "Off" (inside quotation marks) though.

Oh wow, I did not know that about YAML. Thanks for clarifying.
In that case, I will close the issue. Do you mind if I write this somewhere in the README and do a PR?

Sure, thank you!


Need http server.

Which type do you need? A hyper-like low-level server or an axum-like high-level server?


Change logging to use string formatting inside

To avoid unnecessary complex operations when a certain log level is disabled, pass the dynamic values of a log message to the called logger method instead of concatenating the string ahead of time.
So, instead of the following:
self.__log.trace(f"Some {self.__thing} complex {self.__float} string interpolation.")

the following would be cool (with Jaeger support in mind):
self.__log.trace("Some {Thing} complex {Float} string interpolation", self.__thing, self.__float)

Then, the logger itself could handle the string formatting if and when the message needs to be logged.

Closing, as it will be handled by #113.


Remove drop shadow

I didn't see an option for this, allot of modern interfaces remove drop shadows, possible?

Just editing the css is simple enough. remove box-shadow.