[KDEV-22074] Upgrades mocha for growl dependency security vulnerability

Upgrades Mocha to handle growl security vulnerability. This change does not impact tests.
See https://kustomer.atlassian.net/browse/KDEV-22074

@aefritz19 curious if the tests still pass locally (despite not having CI configured)?
also potential question for @kustomer/trust (since that's been the bulk of the contributions here) – should we bump our version to 3.0.1 and also update it in api?  https://github.com/kustomer/api/blob/master/package.json#L10
Doesn't look like this impacts anything functional.

@obukspan Oh yeah, adding screenshot in the description

@joeyfromspace if you have 2 min would be curious to get your thoughts here on whether we should make a habit of bumping the version / release process for changes to multer.

@obukspan I think after we merge, we just have to create a new tag here in github, then reference the new tag in api's package.json. Though the tag version should probably match the version in this repo's package.json?
https://github.com/kustomer/api/blob/master/package.json#L9-L10

@obukspan @joeyfromspace Should I bump with this current PR? I'm also blocked by the build_test_deploy.

Sorry I missed this! need to fix my github notifs.
@aefritz19 I updated the build_test_deploy piece.
I would recommend bumping the version in this PR and once it's merged we'll create the matching release.

@obukspan Bumped to 3.0.1. Just needs another pass so I can merge.

@obukspan Bumped to 3.0.1. Just needs another pass so I can merge.


Add track groups

Allow tracks to be grouped together. This would be useful for when a user has a lot of tracks and the interface gets tight.
Ideally you would be able to swipe left and right between groups with something like a page tab view.

It could also make sense to make this a premium feature with an in-app purchase. I think that would be fair as it would only be necessary for users with lots of tracks which should mean they're a heavy user of the app.

#29 adds support for this feature.
I won't mark this closed until it and its potential in-app purchase is finalized though.


Materializecss

It does not work with the framework materializecss
Someone could make it work?

Sorry, there was a mistake in my code, and it works correctly.


ENYO-5553: Added sample to qa-sampler with many ExpandableLists

Checklist

[ ] I have read and understand the contribution guide

[ ] A CHANGELOG entry is included

[ ] At least one test case is included for this feature or bug fix

[ ] Documentation was added or is not needed

[ ] This is an API breaking change

Issue Resolved / Feature Added
Resolution
Additional Considerations
Links
Comments

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 3 committers have signed the CLA.:white_check_mark: xbinary:x: JayCanuck:x: Lucie RoyLucie Roy seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Better Protection of API keys

Currently, the LastFM and Youtube API keys are stored in the code in plain text. This makes them pretty vulnerable to being yanked out, resulting in other parties impersonating the TUIJam app. This also means that if I ever have to revoke either of the keys, everyone's current installation will stop working.
This is a bit of a tricky problem because the client actually needs to have the API keys to work, so one can't just keep the keys secret. A pretty good compromise would be to use a solution similar to this project.
Basically, I would run a little app on a server that would serve the API keys to the app at runtime. This at least would prevent the keys from leaking through just scraping Github, and I could freely swap out the keys in the future if necessary.
I think it would also be a good idea to support having API keys in a config file in case I disappear and the server goes down so motivated users could create their own keys and place them in their config.

74eff44 introduces an implementation of this. Still to be done is to preempt the remote fetch if keys are in the config file, and to (after a reasonable amount of time) revoke the "leaked" keys that are in the repo history.

That's great! Have you revoked the previous keys since they can be still found in git history?

Have you revoked the previous keys since they can be still found in git history?

Not yet, I want to finish the feature and have it pushed out for a couple weeks to give people time to upgrade before I revoke the old keys.

Also, isn't Flask a little heavy to just fetch keys from a server?

requests is used to fetch the keys. I used flask in my example server because it was easy for me to deploy on my server (already have a couple flask apps). A different server wouldn't have to use flask, it just needs to recieve a POST with some json and reply with the keys, also in json.

Version 0.5.0 finishes the implementation of this feature.


Build started failing about 21:00 UTC

Details

Project URL: http://cgpjbrowsetoolkit.readthedocs.io
Build URL (if applicable): https://readthedocs.org/projects/cgpjbrowsetoolkit/builds/5225458/

Expected Result
Build to completion
Actual Result
All builds ceased to build.  All appearing to fail after second step with 'Error An unexpected error occurred', before the reading of conf.py.
No fundamental changes had been made between pass and fail generations.  Local build with sphynx all good.
Tried

Wipe of builds
Resyncing web-hooks
Deleting read the docs site and rebuilding

This looks like a unicode bug in our latest deploy (we should really upgrade to python 3 :frown:) -- it should now be fixed.


x/telemetry: add a process for cleaning up obsolete data

Right now, there are several opportunities for the telemetry upload/aggregation process to leave behind artifacts that will never be cleaned up:

corrupt counter files
upload/<date>.json.lock lock files, if the process is killed during upload
load/<date>.json files, if the process is killed during upload
old counter files (counters older than 4w are not considered for aggregation)

Furthermore, we never delete local reports, though they cause the local folder to grow, and are likely to become obsolete over time.
The rate of growth of these files is slow, but at some point (1.24 or 1.25), we should design a system for cleaning up automatically.
CC @golang/telemetry

Related Issues and Documentation

x/telemetry/upload: convert old counter files to local report files #62619 (closed)
x/telemetry: simplify state across counters, reports, mode #63218 (closed)
x/telemetry: add garbage collection #63884
x/telemetry: audit upload process for 1.23 #65970 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

Closing as a dupe of #63884. Thanks gaby.


Implement #[proptest(regex = "...")]

This PR implements #[proptest(regex = "...")].

To do so cleanly, the trait StrategyFromRegex is introduced into proptest::string but is hidden and semver exempt.
The PR improves some of the error messages.
New error messages E0034 (reports malformed regex attribute modifiers), E0035 (reports params and regex used on the same field together which is nonsense since the params can't be used inside the regex string...).
Some minor refactoring is done.
Some missing test coverage is made up for.

Thanks again!


[!] Failed to locate Nuitka data in PE resources

hello, I get this error even though the packager is nuitka.
here is the link to the files if you want to check them

https://dosya.co/rp90jju4rhr4/lifefish.exe_extracted.zip.html

This is the expected behaviour. The file you have uploaded previously to mediafire in Issue #4 can already be extracted.

Launcher.exe and lifefish.exe
https://www.mediafire.com/file/2w582903twvpkbx/LifeFish_v.1.5.3.rar/file

This folder https://dosya.co/rp90jju4rhr4/lifefish.exe_extracted.zip.html is the extracted contents of the previous litefish.exe. The second litefish.exe here cannot be extracted further as it has no binary assets embedded. Note that nuitka compiles python bytecode to native code, hence you won't be able to get pyc files at any stage.


made ui for faq

All Submissions:

[x ] Have you followed the guidelines stated in [README.md](https://github.com/visheshrwl/Uber-like/tree
/main#how-to-contribute) file?
[ x] Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

After these steps, you're ready to open a pull request.
a. Give a descriptive title to your PR.

b. Describe your changes.

c. Put `closes #51 ` in your comment to auto-close the issue that your PR fixes (if such).

Hey @Prabhav444 ! 👋
First off, I want to extend a huge thank you to all of you for your amazing contributions to this project! Your support and hard work mean a lot, and I truly appreciate everything you do. 🙏
I have a small favor to ask: if you think I’ve been helpful and supportive throughout your contributions, I would be honored if you could nominate me by filling out this form: Nominate me.
Your nomination would mean the world to me, and it’s a great way to help me continue supporting our awesome community. Thanks again for all the amazing work, and let's keep making great things happen! 🚀
Best,
Vishesh


Pydantic 2.0+ import issue

Hi all. Thanks for the great package. I was migrating a library to pydantic 2.0 and realized our docs don't build anymore due to the following change on Pydantics side.
The core issue is that "BaseSettings has been moved to the pydantic-settings package." See the full traceback below.
Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/xpublish/envs/215/lib/python3.11/site-packages/sphinx/registry.py", line 459, in load_extension
    mod = import_module(extname)
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/.asdf/installs/python/3.11.4/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/docs/checkouts/readthedocs.org/user_builds/xpublish/envs/215/lib/python3.11/site-packages/sphinxcontrib/autodoc_pydantic/__init__.py", line 11, in <module>
    from sphinxcontrib.autodoc_pydantic.directives.autodocumenters import (
  File "/home/docs/checkouts/readthedocs.org/user_builds/xpublish/envs/215/lib/python3.11/site-packages/sphinxcontrib/autodoc_pydantic/directives/autodocumenters.py", line 10, in <module>
    from pydantic import BaseSettings, BaseModel
  File "/home/docs/checkouts/readthedocs.org/user_builds/xpublish/envs/215/lib/python3.11/site-packages/pydantic/__init__.py", line 207, in __getattr__
    return _getattr_migration(attr_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/xpublish/envs/215/lib/python3.11/site-packages/pydantic/_migration.py", line 288, in wrapper
    raise PydanticImportError(
pydantic.errors.PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package. See https://docs.pydantic.dev/2.0.3/migration/#basesettings-has-moved-to-pydantic-settings for more details.

For further information visit https://errors.pydantic.dev/2.0.3/u/import-error

This should be a quick import fix? I was originally thinking about pulling down the repo and making a pull request, but it appears the tests are already failing, and you use a dev environment (tox) I am not quite used to. Happy to do so if others are busy, but this could be more efficiently done by someone else?
Thanks

Hi @xaviernogueira,
your issue is related to #146 and is actively worked on in #160.
Unfortunately, is not simple as swapping the import :-(. It is way more sophisticated because pydantic v2 changed semantics and public/internal API.
For the meanwhile, stay tuned.


refactor: Remove dependency on swc_cached from swc_config

Description:
swc_ecma_transforms_react depends on swc_config, which depends on swc_cache, which depends on ahash, which causes some pain when trying to use in a Wasm environment. Looking into it, it seems like it's cleaner to break up the dependency here and instead import directly from swc_cached when needed?
Edit: actually, I don't believe this helps me, but seems like this is good to do anyway?
BREAKING CHANGE:
Removes re-export from swc_config.
Related issue (if exists):

Actually I want to remove swc_cached and merge it into swc_config

Ah, ok let's close this.


Error: app/main.jsbundle does not exist. This must be a bug with

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
Upon building my application in XCode, I am faced with one error reading:
error: File /Users/[Me]/Library/Developer/Xcode/DerivedData/[myApplication]/Build/Products/Release-iphoneos/[myApplicatoin].app/main.jsbundle does not exist. This must be a bug with
React Native version:
System:
OS: macOS 10.15.6
CPU: (4) x64 Intel(R) Core(TM) i7-6567U CPU @ 3.30GHz
Memory: 320.16 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.9.1 - ~/emsdk/node/12.9.1_64bit/bin/node
Yarn: 1.13.0 - /usr/local/bin/yarn
npm: 6.10.2 - ~/emsdk/node/12.9.1_64bit/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.9.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
Languages:
Java: 10.0.2 - /usr/bin/javac
Python: 3.7.4 - /Users/[Me]/opt/anaconda3/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce

XCode > Product > Build

Expected Results
The app should build and be ready for archiving and uploading to Testflight
Snack, code example, screenshot, or link to a repository:

@mgecawicz I have the same error.

I have the same error. RN 0.62.2

I have the same error. I'm using RN 0.61.5
...app/main.jsbundle does not exist. This must be a bug with.

I encountered a similar issue when upgrading to 0.63. This is what was the problem for me.

@Sachanski  yes in my case,
Error: Unable to resolve module src/splashScreen/screen from src/_shared/routes/Navigator.tsx: src/splashScreen/screen could not be found within the project or in these directories:
/Users/lorenzo/apps/app/node_modules/src/splashScreen
it is strange because in debug mode it works. When launch the release i have this problem

@lorenzoangelini I am not that familiar with React Native, but isn't the main.jsbundle file only used in release mode (i.e. in debug the files are fetched from the Metro Server)?

None of the above fixed it for me, but it works with this PR, it'll probably be released soon https://github.com/facebook/react-native/pull/29477
Just in case somebody finds it useful :)


Improve Network's examples

Responses for LoadBalancer with Basic SKU don't have outboundRules property so removed it from examples
Added missing read-only properties like type and etag to LoadBalancer's examples & specs
Removed read-only fields from VPN Gateway's example for PUT

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[x] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[x] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[x] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

Automation for azure-sdk-for-ruby

Can one of the admins verify this patch?

Automation for azure-sdk-for-java

Please ignore error in NetworkValidation, it's not related to this PR, it failed due to NuGet not being able to resolve dependencies. I've already reported this error to SDK & Azure PowerShell teams.
D:\a\1\s\Out\azure-powershell\src\Network\Network\Network.csproj : error NU1605: Detected package downgrade: Microsoft.Rest.ClientRuntime from 2.3.20 to 2.3.19. Reference the package directly from the project to select a different version.  [D:\a\1\s\Out\azure-powershell\src\Network\Network.sln]

@number213 what about your JS SDK issue?

@tjprescott doesn't look like error is related to changes in PR.
INFO:swaggertosdk.autorest_tools:  Error: Unable to resolve package 'foo@@microsoft.azure/autorest.typescript'.
ERROR:swaggertosdk.autorest_tools:Command '['/usr/local/bin/autorest', '/git-restapi/specification/network/resource-manager/readme.md', '--license-header=MICROSOFT_MIT_NO_VERSION', '--typescript', '--typescript-sdks-folder=/tmp/tmph_u9ld91/azure-sdk-for-js'<EMAIL_ADDRESS>returned non-zero exit status 1.

I think this is the step that was removed by @sergey-shandar (https://github.com/Azure/azure-rest-api-specs/pull/6391)

/azurepipelines run

@number213 it is still failing. @sergey-shandar it is okay to merge this with the JS SDK failing?

@number213 it is still failing. @sergey-shandar it is okay to merge this with the JS SDK failing?

Yes, go ahead.

@kpajdzik yes, failures are because spellchecker's config with exceptions in this branch is out of sync with master, this PR doesn't introduce any new errors


Only half screen is used in landscape mode

When I unlock the device orientation and allow the device to go landscape mode, the app only fills the left half the screen, the rest is blank. How do I fix this?
Also, maybe related, when I rotate the screen so it goes back to portrait view, sometimes it shows a unrotated portrait mode.
See below for examples screen shots.
By the way, I have found this app very useful. Thank you.

Hi, I'm on holidays away from my computer for the next few days, but will take a look when I return.
If you find a fix in the meantime, feel free to submit a pull request.
Matt

Does this answer on stackoverflow point in the right direction to solve this problem?

Hi @obromios
Sorry for the delay! I've just pushed an upgrade which resolves this. Basically, RN calculates the windowWidth on load and you have to manually ask it to recalculate for things like orientation change.
Instead of doing this, I simply rewrote the styles to use flexbox - which is the better way to do it anyway.
Thanks for raising the issue, to push me along

Thank you, I will try it in the next few days and let you know how it goes.
Flexbox fantastic, for the first time I am not dreading having to locate
any elements with CSS.
On Tue, May 24, 2016 at 7:18 PM, Matt Mcnamee<EMAIL_ADDRESS>wrote:

Hi @obromios https://github.com/obromios
Sorry for the delay! I've just pushed an upgrade which resolves this.
Basically, RN calculates the windowWidth on load and you have to manually
ask it to recalculate for things like orientation change.
Instead of doing this, I simply rewrote the styles to use flexbox - which
is the better way to do it anyway.
Thanks for raising the issue, to push me along
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/mcnamee/react-native-starter-app/issues/9#issuecomment-221212635

That worked thank you.  Elegant solution ⭐


Text overflow options for dropdown options

Please Describe The Problem To Be Solved
The overflow of long text options in a Dropdown render outside the container.  I'd like to use ellipsis or clip it. In Flet (0.22), the Option class only supports str-type key and text fields.
(Optional): Suggest A Solution
In Flutter, the TextStyle class has an overflow option. This option would be useful wherever there is text - it would be great if it was included in Flet's TextStyle.
Flet does have the overflow option on the Text control but Dropdown's Option class expects just a string. Another option could be using the Text control in Option, though this could be a potential issue in other controls. Dropdown does have a text_style property so adding the support within TextStyle so that could just work.

@ndonkoHenri @FeodorFitsner, is there an option or configuration for the value text? It overflows past the boundary of the dropdown itself.
Example:

import flet as ft

def main(page: ft.Page):
    text_style = ft.TextStyle(
        overflow=ft.TextOverflow.ELLIPSIS,
    )
    str_options = [
        "A really large option string that can take up a lot of space so it will likely overflow but it shouldn't go outside the dropdown area itself",
        "Option 2",
        "Option 3",
    ]
    options = [
        ft.dropdown.Option(str_option, text_style=text_style)
        for str_option in str_options
    ]
    dropdown = ft.Dropdown(options=options, value=str_options[0], text_style=text_style)
    container_with_border = ft.Container(
        content=dropdown, border=ft.border.all(1, "RED")
    )
    page.add(container_with_border)

ft.app(main)

@torablien you can open a new issue for that.

any status on this?

@bdoohan-goog Option has a text_style property (of type TextStyle) through which you can set the overflow.


1.8.9 example mod does not use chocoloom

not using chocoloom causes a 200% increase in build times + extra build.gradle bloat

not using chocoloom causes the example mod to actually function correctly

not using chocoloom causes the example mod to actually function correctly

not using chocoloom causes the example mod to actually function correctly

removing build.gradle bloat fixes it

not using chocoloom causes the example mod to actually function correctly

removing build.gradle bloat fixes it

intermediaryUrl :concern:

intermediaryUrl :concern:

chocoloom is based off of an ancient version of loom

chocoloom is based off of an ancient version of loom

chocoloom is based off of an ancient version of loom

chocoloom cherry picks modern loom's commits

chocoloom is based off of an ancient version of loom

chocoloom cherry picks modern loom's commits

"cherry pick" != based off of modern version

"cherry pick" != based off of modern version

loom 0.5 was based on 0.4
0.4 was based on 0.2.7
0.2.7 was based on 0.2

loom 0.5 was based on 0.4
0.4 was based on 0.2.7
0.2.7 was based on 0.2

what is your point
loom 0.6 is based off of 0.5
chocoloom jekan't is based off of 0.2.6

what is your point
loom 0.6 is based off of 0.5
chocoloom jekan't is based off of 0.2.6

based off of newer version != more advanced and powerful

based off of newer version != more advanced and powerful

plus, jekan't mirrors (most if not) all features of 0.4
and has a bunch of epic goodies

plus, jekan't mirrors (most if not) all features of 0.4
and has a bunch of epic goodies

actually the latest version isnt jekan't

actually the latest version isnt jekan't

its e3d1762

its e3d1762

https://www.youtube.com/watch?v=2ZIpFytCSVc

https://www.youtube.com/watch?v=2ZIpFytCSVc


Update documentation to support the ones in EventHubMessageSerializer.

Description
Corrects documentation to the types supported by EventHubMessageSerializer.
Fixes #31095
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


paper

can you please write a paper or a rapport on the method you used so we could follow the steps of the detection

Agreed.. At least a white paper will help to understand the model.
At present the technical details given is too short to understand the model

I'm sorry. I only reported the technical details in the note


Add expect method

Coverage decreased (-8.3%) to 88.372% when pulling 9fc44f7afee88ef6e55d4d3f12b628f91bda208f on 0.9.1 into 8125dcccfd6c40bec3c840e7153ab9719da47104 on master.

Coverage decreased (-8.3%) to 88.372% when pulling<PHONE_NUMBER>351b6aa49bdb085f428ed1acbfb5d7 on 0.9.1 into 8125dcccfd6c40bec3c840e7153ab9719da47104 on master.

Coverage decreased (-8.3%) to 88.372% when pulling a94a78d42ea4dc9f42fd627cf61bf4ec3d035137 on 0.9.1 into 8125dcccfd6c40bec3c840e7153ab9719da47104 on master.

Coverage decreased (-8.3%) to 88.372% when pulling 04ac333611d12cdb47393ca024adeb3aafd60633 on 0.9.1 into 8125dcccfd6c40bec3c840e7153ab9719da47104 on master.

Coverage decreased (-8.3%) to 88.372% when pulling 7ff34a41db8c88b764ff4acc938e2f55757b5b79 on 0.9.1 into 8125dcccfd6c40bec3c840e7153ab9719da47104 on master.

Coverage decreased (-8.3%) to 88.372% when pulling f2dc32daa4d03d730458f284ff8491838e4c7af8 on 0.9.1 into 8125dcccfd6c40bec3c840e7153ab9719da47104 on master.


V5 Popovers & Modal : Calling a modal from popover not working!

I'm trying to call modal popup from popover but is seems that something is wrong with it??
Here is my code example :
<button type="button" class="btn btn-lg btn-danger" data-bs-toggle="popover" data-bs-html="true" title="Popover title" data-bs-content="And here's some amazing content. It's very engaging. Right? Click here">Click Here</button>

Modal title

        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>

        ...

        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary">Save changes</button>

@devhoussam You've opened enough issues here to know you need to produce a working example of the problem and additional information :). Please do so and I'll reopen this issue.

@devhoussam The Popover is not opening because you have to initialize them yourself. The link for the modal isn't working because the bootstrap html sanitizer strips all attributes except href and role from the anchor.
You also need to lower the z-index of the popover because it's z-index (1070) is higher than the modal one's (1060).
You can add allowed attributes to the html santizer by (modifying the AllowList)[https://getbootstrap.com/docs/5.0/getting-started/javascript/#sanitizer] or disable the sanitizer completly by using sanitize: false when initializing the component.
Here is a small demo: https://codepen.io/korki43/pen/PoWjPyB
Note: With the code in my example it's impossible to have another popover in the modal, because it's z-index will be lower than the modal's. To do something like that you would have to differentiate between popovers within and outside of a modal.


issue in parsing

Parsing Using Other Library It's Taking To much Time. I have custom code but cnat work
protocol JSONable{    init?(parameter: JSON) }
extension JSON
{    func to(type: T?) -> Any?    {        if let baseObj = type as? JSONable.Type        {
if self.type == .array            {                var arrObject: [Any] = []
arrObject = self.arrayValue.map
{
baseObj.init(parameter: $0)!
}
return arrObject
}
else
{
let object = baseObj.init(parameter: self)
return object!
}
}
return nil
}
}

Sorry, we use our GitHub project for bug reports and feature requests. In the future, you should open questions like this on Stack Overflow.
Cheers. 🍻

From our Contribution Guidelines
Asking Questions
We don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.


Fix missing [Cocoapods] license

Closes #4688

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @paulmelnikow!

  Generated by :no_entry_sign: dangerJS against a495819341640ecb56371252505a51367d1ae2c5


Value to_string unexpect result

use serde_json::{Result, Value};

fn untyped_example() -> Result<()> {
    // Some JSON input data as a &str. Maybe this comes from the user.
    let data = r#"
        {
            "name": "John Doe",
            "age": 43,
            "phones": [
                "+44 1234567",
                "+44 2345678"
            ]
        }"#;

    // Parse the string of data into serde_json::Value.
    let v: Value = serde_json::from_str(data)?;

    // Access parts of the data by indexing with square brackets.
    println!("name: {:?}", v["name"].to_string().as_bytes());
    Ok(())
}

fn main() {
    untyped_example().unwrap();
}

Result:
name: [34, 74, 111, 104, 110, 32, 68, 111, 101, 34]
Expectation：
name: [74, 111, 104, 110, 32, 68, 111, 101]

This is the correct behavior. This is simply how strings work in JSON. Like how JSON arrays are surrounded by [...] and JSON maps are surrounded by {...} -- JSON strings are written with "..." (U+0022).


Import partial

transformer.py needs partial imported to run, if you set use_flash_attn=False

@marksgraham oh oops, thanks! also, just so you know, official flash attention repository is here


OpenAI GPT-3 text model usage example throwing a type definition error

components\Chat.tsx (85:12) @ sendMessage

  83 |
  84 | if (!response.ok) {
> 85 |   throw new Error(response.statusText)
     |        ^
  86 | }
  87 |
  88 | // This data is a ReadableStream

Console in VSCode is throwing below warning:
Class extends value undefined is not a constructor or null
To replicate:
npx create-next-app --example https://github.com/vercel/examples/tree/main/solutions/ai-chatgpt
Update env.example to env.local
Input OpenAI API Key
Npm run dev
Test the message service.
I understand that this is a painful implementation and python is working seeminglyeasily enough in other projects but Vercel is too nice for NextJS to use to go learn parseltongue :-P

Ah. I had removed some of the elements of the Payload. That was the issue. It is running fine now.
Thanks to GPT-4 for helping me debug it though!

I also encountered this problem, how to solve it?

I also encountered this problem, how to solve it?

There are several different ways in which this error can be thrown, but I resolved it by removing all references in the Payload other than messages.


Add name for the entity in ActionSchema

Coverage increased (+0.01%) to 34.719% when pulling 7a8cce6de93d32757259f467244d93e4d1e39847 on fcastilloes:entity-name into e99e9d33af1141cf73de0db57950ac362b472495 on kusanagi:master.


Provide Guidance For Provider Authors Writing Tests

I think we should provide docs :abc: for provider authors to guide them in writing tests for their providers. These tests need to be able to verify a few things:

[ ] Typing a character triggers a suggestion request
[ ] The provider is called when their selector matches
[ ] The provider is not called when their selector does not match
[ ] Suggestions are provided when appropriate
[ ] Suggestions are not provided when appropriate
[ ] Suggestions conform to the autocomplete-plus API definition for suggestions
[ ] Suggestions are confirmed correctly
[ ] The onDidInsertSuggestion function (if specified) is called correctly

Further complicating things is that tests:

Must be asynchronous and leverage waitsFor
Usually need to be integration tests to fully test the desired functionality

Clear and up-to-date documentation for writing testable providers will be invaluable to new provider authors and ensure that the Provider ecosystem continues to expand with good quality, well tested providers.

:+1: I like this idea a lot. What about creating a provider repo that showcases these specs? The implementation could be really simple and serve as a template. Copy pasta the code into your new repo, and add your specific functionality.

Yep, that makes sense. Want to create a repo for the autocomplete-example (or similar?) at https://github.com/atom and add me as a contributor?

Ok: https://github.com/atom/autocomplete-example You are on the @atom/autocomplete-maintainers team.

Ok: https://github.com/atom/autocomplete-example You are on the @atom/autocomplete-maintainers team.

I think it would be really nice to have a complete example of how to create a simple autocomplete+ provider.

@rm-code that's the intent of that repo.

@joefitzgerald Oh my bad, I thought it was just there for the specs example. Looking forward to it :+1:

You can't have specs unless there's a provider there to test, also :wink:.

It would be interesting to know how to test the case "The provider is not called when their selector does not match".
I've spent about an hour trying to understand why my plugin works fine in the editor, but fails some tests. It looked odd to me. However, I've eventually realized that my plugin is called by autocomplete-plus according to its selector, but in tests I always call it manually (just like it is done in autocomplete-html and autocomplete-css packages) regardless of its selector. How to handle this situation properly? Should I just copy-paste selector matching code from autocomplete-plus or there are some special methods provided for such things?


Vue-gates Directives Doest work with Bootstrap-vue tabs

Hello sir,
I tried your plugin is work perfect but when I want to hide tabs using v-role="'admin'" it only hides the tab content but it doesnt hide the tab-nav from navigation bar

Thank you

Hey @utechs
In this https://github.com/bootstrap-vue/bootstrap-vue/issues/5477#issuecomment-640889429 issue, they try to do the same :)
<b-tab title="Users" :title-item-class="isAdmin"></b-tab>

computed: {
  isAdmin() {
    return this.$gates.hasRole('admin') ? '' : 'd-none';
  }
}


sticky scroll for  treeviews

aticky scroll has become an invaluable way to understand the place of the current syntactical construct in the source hierarchy in the current editor.
I miss it a lot in the explorer tree view for deep workspaces like vscode itself. There are some treadoffs. If the treeview is not high enough, the sticky part would take too much place. With a large enough treeview, the view could bundle dirs.
Suppose the two first lines are sticky :
+ dir
+ | subdir
    file1

could be represented giving place for another file in the non sticky part
+ dir / subdir
  file1
  file2

If more lines are taken by the sticky parts than the non sticky one. Stickiness should be ignored.

/duplicate of #161207 which is on the current milestone.

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


Make modules in sorts importable

#21

BitonicSort.py
Yeah that main accidentally covered way too much. Fixed


Update RoSH risk endpoint to act as passthrough

Update to use the widgets endpoint added here https://github.com/ministryofjustice/hmpps-assess-risks-and-needs/pull/215

Very keen to help with this as we are a bit blocked by it. We can pick this up and fix the tests if that would help


TD 11169

Due to the use of docker, when a worker is restarted it has a high probability of getting the same PID. Under the existing PID scraping logic, the resque pid scraper will think that and existing registered worker with the same PID is itself. In reality the PID is an artifact of the previous worker that had the same PID. This change does two things:

Adds a parameter to prune_dead_workers that allows the caller to tall you about know workers. This enabled startup to perform exclusion logic that prevents the current PID as being "known"
Removed silly logic that will only prune workers if their queue set matches. This should be considered a configuration error and you would want to be forced to resolve it.

approved


🐛 airbrake: http-proxy-middleware v3 migration

Plugin Name
airbrake
📜 Description
We aren't able to use v3 of http-proxy-middleware as it requires manual migration changes.
Renovate PR: https://github.com/backstage/community-plugins/pull/406
Migration details: https://github.com/chimurai/http-proxy-middleware/blob/master/MIGRATION.md#pathrewrite-potential-behavior-change
👍 Expected behavior
We should be able to up grade to v3 of http-proxy-middleware
👎 Actual Behavior with Screenshots
We are not able to up grade to v3 of http-proxy-middleware
👟 Reproduction steps
Try to upgrade the airbrake plugin to v3 of http-proxy-middleware
Notice: there are errors.
📃 Provide the context for the Bug.
We need to keep our dependencies up to date.
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, I don't have time to work on this right now

Contributions welcome!


Oceanic dates size static

The dates size aren't dynamic. Even in your gifs, the screen size is not big enough to accommodate all 7 days and it cuts off the extra ones. It would be better if the size dynamically changed to fit the screen

Hey, can you share a screenshot please?

My bad, I didn't take a screenshot while I was testing it out, but it looked similar to your screenshot https://github.com/hi-manshu/Kalendar/blob/main/art/oceanic.png
In your screenshot 6 days of the week show instead of 7. In my case, it was showing the first 5 days of the week and when you click to the next week, it would skip the 2 missing days. I was able to make all 7 days show up by making the Kalendar() compose take up the whole width of the screen, but that's not a reliable workaround.
It would be great if the size of the date circles would dynamically change according to the width constraints so that there's always 7 on screen.

Hey will add this to enhancement, have few things to change will keep for this as well


Question about task observation

Hi,
I am curious about the task observations used in the environment. I am very sorry if my question is very trivial, I am new to reinforcement learning.
The observation states of pick and place tasks are the objects kinematics (position, velocity, etc):
# position, rotation of the object
object_position = self.sim.get_base_position("object")
object_rotation = self.sim.get_base_rotation("object")
object_velocity = self.sim.get_base_velocity("object")
object_angular_velocity = self.sim.get_base_angular_velocity("object")
observation = np.concatenate([object_position, object_rotation, object_velocity, object_angular_velocity])

Even in the PandaReach, the task observation is empty:
def get_obs(self) -> np.ndarray:
        return np.array([])  # no tasak-specific observation

Why is the target position not included in the observation? Such as:
target_position = self.sim.get_base_position("target")
object_position = self.sim.get_base_position("object")
...
observation = np.concatenate([target_position, object_position, ...])

Does this mean that the critic networks in the RL algorithms (SAC or TQC) basically also learning to predict the random target location?
If it is not, for example in pick and place task, does the agent still need to randomly search position with maximum reward after successfully picking the object, when testing the trained model?
Thank you very much.

In fact the actual observation that the agent receives the observation is composed of several components (in the form of dict).
observation = {
  "observation": ...,
  "desired_goal": ...,
  "achieved_goal": ...,
}

For the key "observation", there are two components:

the robot-related component (the position of the gripper, its speed etc.)
the task-related component (the position of the objects, the speed etc.)

For the key "desired_goal", this is the goal of the task. For example, the target position of the object for the PickAndPlace task.
For the key "achieved_goal", it is the goal achieved at time t. For example for PickAndPlace, it is the current position of the object.

Several remarks:

The codes you attached are for building the task-related observation. This component is then concatenated with the component linked to the robot, then put in a dict with the desired goal and the achieved goal. (see above)
"achieved_goal" is usually redundant with the components of the observation. For example, for PickAndPlace, the position of the object is in the observation vector and in the "achieved_goal" vector.
For Reach, there is no component linked to the task because there is no object (in this case, the terminology is a bit misleading because there is still a task to perform, but this is a special case so we left it like that)

All this is explained in the publication linked to panda-gym, I strongly advise you to read it (especially the diagram)


Dead link to libosmium

For large extracts or planet processing we recommend leveraging the libosmium C++ API instead of using node-osmium.

At this paragraph the link gives 404

Thanks for noticing and reporting. Fixed in e08cc05


fix typo

Before submitting a PR please:

Make sure you have based your branch off the dev branch. ✅
Submit your PR against the dev branch. ✅
Run npm run build and check that the build succeeds. ✅
Ensure that the PR hasn't been submitted before. ✅

PR Template
Objective
This PR fixes a tiny typo in the react comparison docs

Thanks!


Is it already possible to control a Youtube 360 video?

Is it already possible to control a Youtube 360 video?

I tested with https://www.youtube.com/embed/-xNN-bJQ4vI
The controls are shown, but you can't click them. You can fix this with custom css:
.plyr--full-ui .plyr__video-embed iframe { pointer-events: auto; }
I think we should support this.

v3.3.19 fixed this, but v3.3.20 / https://github.com/sampotts/plyr/commit/ac64350a5fb658f0c9d96063a3cdb8871669cd55 broke it again.
Now you need to set .plyr__poster { pointer-events: none } to make this work. It doesn't seem to create any problem with the controls not showing?


share encrypted notes

Encrypted notes are not shareable because they're encrypted.

make it so that when you set a note to shared, the note is automatically saved as plain text & not encrypted!

Removed share notes feature (out of scope)


Offsite: Aruba March 2023 retro

Summary of survey:
How satisfied were you with the event overall?

91% said they were very satisfied with the event. There seemed to be one outlying result that was not positive, but the overwhelming consensus is that it was a successful event.

How relevant and helpful do you think it was for your job?

60.9% said the event was very relevant for their job.

What were your key take aways from this event?

The main positives were getting to know the team better and the hackathon.

How satisfied were you with each aspect of the trip?

The majority were happy with the accommodation, merch, catamaran trip (minus one outlier), posties/final meal, hackathon and general itinerary.
However, there was more varied feedback about the food offered, the OKR session, interview with a founder, values session and the venue for activities. If anyone who scored lower for these aspects would like to expand further, please feel free!

Which sessions did you find most relevant?

The hackathon and interview with a founder was seen to be generally very relevant for everyone.
The feedback was varied again for the other sessions, 13% found the values session not relevant at all, and 8% for the OKR session.

Any additional comments regarding the sessions or overall itinerary?

There seemed to be a general trend that the values session and the interview with a founder can be less relevant for team members that have been with Posthog longer as there are less new insights.
There were a few comments suggesting that the OKRs should have been discussed outside of the offsite as it didn’t allow for cross-team discussions as much.

How well did you feel you knew other members of the team before the offsite?

This question garnered very varied feedback from everyone as we had very new colleagues and people who have been with PostHog for a while, but the result was that nearly everyone felt that they got to know the team better as a result of the offsite.
There was some good feedback suggesting that a 1/1 breakfast with someone not on your team could also help get to know others better, and could be implemented next time.

Any overall feedback for the event? What went well, what could have been better?

One piece of feedback that was echoed by a few people was the quality of the wifi in the resort was not strong enough to conduct the hackathon properly.
People overall were appreciative of the less crammed itinerary compared to other offsites so it gave people more time to relax and mingle.
The climate of Aruba was preferred, and there are requests to do another warm destination next time.
Overall, the majority said this was the best offsite yet, and it has made them more excited for the next one.

Thanks for this!
I personally had a lovely time, but I'm curious about the negative response and if there are any actions we can take off the back of that, or if we feel we can discount it complete as an outlier?

Here is the budget vs. actuals breakdown:

We came in roughly $12,000 under budget
Total per head cost was $5,087.51
Airfare was a bit more than expected with folks flying from Europe
We spent a bit extra on ground transportation, factoring in Ubers and taxi rides
Team outings was a bit over due to the hike and our night out at the club 💃

Forgot to add this in the survey: I thought posties in Iceland was a lot more fun & interesting than in Aruba, and I missed that. I think a combination of fun posthog related group activity (like jeopardy) followed by the awards made it a lot more fun. Also being able to appreciate everyone, clap for them, etc. etc. which couldn't exactly happen in the fancy restaurant 😅 .
Also, the actual awards this time in Aruba were brilliant, much nicer than the certificates :D


bump httpclient to 4.5.2 and httpcore to 4.4.4

What changes were proposed in this pull request?
bump httpcore version to make elasticserach component working on SJS

Later on, we will build a spark-assembly from there, publish it into Nexus and update SJS accordingly.
QA will have to run tests to see if we did not break the existing components.


Custom Standards

We would like to adopt the restricted standard but we require to make a few customizations to that. It would be great if there was a custom resource where custom standards or inherited and then customized standards could be made.

/transfer kubernetes


Test: voice keyword activation ("Hey Code")

Refs: https://github.com/microsoft/vscode/issues/197050

[ ] macOS @lramos15
[ ] linux @jrieken
[ ] windows @bhavyaus

Complexity: 3
Create Issue

Setup: install the pre-release version of ms-vscode.vscode-speech. At least be on v0.3.x
Testing:

review the new setting accessibility.voice.keywordActivation makes sense
flip through the values and verify the related action is triggered when you say "Hey Code"
verify you see a status bar entry 🎤  informing you about active listening
verify that after the voice chat session is done, "Hey Code" works again
verify the status bar entry hides when you turn this back off again

loosely related, some users are seeing "waiting for voice chat to end" in relation to this feature: https://stackoverflow.com/q/77853020/11107541. Is something set up wrong? Are they supposed to have to manually install the speech extension?

@lramos15 @bhavyaus Can I trade the linux with windows or macos here? My VM setup is linux-arm which isn't supported by the speech extension


is there a planner in 0.9.1？

Thanks for Carla team hard work.
I want to collect some driving data  based on CARLA.
Is there a planner in 0.9.1 ？
or how could i get a high level command( like Right， Left  ... ) in 0.9.1 if i set a start point and end point?
I know i can do that in 0.8.4 , and i want to do that in 0.9.1.

Hi,
I have also the same question.
@mznw Didi you find any solution for your problem?


nx affected:test -> Jest: a transform must export something.

nx affected:test is throwing the following error,
Jest: a transform must export something.
NX   ERROR  Running target "test" failed
Can you please advise me on this?

if you are using Jest 27, you must use ts-jest 27


Indicate code editor search match number

Hiiiiii, I added an match number to search matches label in code editor.

I made counting all matches and "to current matches" in FindReplaceBar::_update_results_count(). I also made an incrementation/decrementation mechanism to optimize it. It is understanding that caret position was changed for search result and not counting, just incrementing/decrementing unless search text/option or caret position are not changed.
Bugsquad edit: Closes https://github.com/godotengine/godot-proposals/issues/600

These changes seem a bit overkill, any reason my we can't isolate it to the editor, by repeatedly calling search in CodeEdior?

Finding total matches is already doing that... I was planning a different mechanism and I just replaced it to this but I found a better way now. First thing now I'm changing search result type to automatic/stack variable.
The better way to calculate matches is merging match index calculation and total matches calculation. I will do that.

Is there a Godot Engine proposal for this change?

Hiiii @Paulb23 I will merge them as I said 😊

Meooww.. I optimized everything at maximum 🙀

Trimmed trailing space and squashed again.

You should use clang-format to have it easier fixing style issues.

You should use clang-format to have it easier fixing style issues.
Would recommend setting up clang-format localy, can use he guide here:

Oh.. I was just doing that. I ran it on WSL.

Hiii @Paulb23 @Calinou I made changes. I set needs to re-count flag on text_changed too.

I squashed commits.

Thanks!

Thank you toooo ❤


Project/namespace deletion goes to hanging state.

On CRC side when a user create a new project/namespace and want to delete then it goes to hanging state forever. Looking on the kubernetes side and found out it is occur because of CRD's [0][1], as part of our CRC creation we scale down the  cluster wide monitoring operator[2] which serve 'v1beta1.metrics.k8s.io` as per my understanding. if we also delete the apiservice that would not break anything for the users and if a user want to try out the cluster wide monitoring then it will again created as part of CRD's.
[0] https://github.com/kubernetes/kubernetes/issues/60807
[1] https://github.com/kubernetes/kubernetes/issues/60807#issuecomment-429754733
[2] https://github.com/code-ready/snc/blob/master/snc.sh#L184-L186

resolved by #55


Android 4+ bug : use of JpegEncoder

.toDataUrl always return png on Android, and file.type="". To convert
the resized canvas to jpeg, we use JpegEncoder.
More info on :
http://ghinda.net/jpeg-blob-ajax-android/
With my other pull request pending on DarrenInWood/Jquery-File-Upload (still to migrate in separate files), it is now possible to resize and post images on Android 4+

Please see my comment here: https://github.com/blueimp/jQuery-File-Upload/pull/3052#issuecomment-95897618


Restructure dataset selection

Our assumption that the user should select a single subject to view multiple associated data objects in a grid was incorrect. Instead, the user should select a single dataset and view multiple subjects in a grid where each subject's rendering can have one or more data objects in a single rendering. These data objects should be overlaid, because the assumption is that each will occupy a different space, acting as components of a whole image.

Resolved by #139


How to change quality

wf-recorder -f test-vaapi.mkv -c h264_vaapi -d /dev/dri/renderD128
i am using this to record my laptop screen.
In the output I get this
[h264_vaapi @ 0x7f984c001b40] No quality level set; using default (20).
How can I change the quality level?

Thanks, now a more specific question, how can I record at the highest quality?

wf-recorder -f test-vaapi.mkv -c h264_vaapi -d /dev/dri/renderD128
Please select an output from the list to capture (enter output no.):

Name: eDP-1 Description: Unknown 0x0600 0x00000000 (eDP-1)
Name: DP-2 Description: Dell Inc. DELL E170S U072N0153SHS (DP-2 via VGA)
Enter output no.:1
selected region 0 0 0 0
[h264_vaapi @ 0x7f20a8001b40] No quality level set; using default (20).
[1]    23366 segmentation fault (core dumped)  wf-recorder -f test-vaapi.mkv -c h264_vaapi -d /dev/dri/renderD128

this error

The vaapi command needs working vaapi, make sure your drivers are installed. For the highest recording quality, see https://github.com/ammen99/wf-recorder/issues/130#issuecomment-749164332


Javascript Rendered Apps (React, Angular)

Same issue as here, but I'm using React. This will be a common issue for most Js rendered apps.
So requiring in the file automatically runs a function that goes through all the DOM elements and adds the various fallback styles, and giving you access to window.flexibility.
We need to be able to recalculate or re-run the self invoking function when we re-render areas of the site. .walk and .init doesn't really work as we won't always know the elements to render due to app's dynamic nature, and we should really be able to just define with -js-display: flex.
Ideally we would also be able to assign flexibility as a variable and use it when we need to, not whenever we require it and have it as a global variable.
E.g.
import flexibility from 'flexibility';

// Initial page render
render(foo, function() {
   flexibility.init(); // Not attached to window, and this is the first initialisation!
});

// On React component / Angular controller update
render(bar, function() {
   flexibility.update(); // Recalculate whole DOM
});

Is there any workaround for forcing this re-init already?

I attempted triggering a resize event in hope that it would re-calculate and apply styles, but to no avail.

I got flexibility to work for our react components by adding:
...
    _updateFlexibility () {
        flexibility.walk(ReactDOM.findDOMNode(this));
    }

    componentDidMount () {
        this._updateFlexibility();
    }

    componentDidUpdate () {
        this._updateFlexibility();
    }
...

unfortunately our flex layout was too much for flexibility right away (several layers nested)
It sort-of worked, but failed to handle flex-direction: rows-reversed; and failed flex: 1 0 auto; on one child. We'll continue investigating because this would be a big win for us.

@rennat-eb Nice! I guess this works well on self contained components but would be difficult if they update application state (using something like Flux or Redux) that could update a bunch of components.

I apologize for resurrecting this but has there been any headway on this in the 2.x release? If not, what is the officially suggested way of using this in a React app?

Bump...

Any Update?


💡[Feature]: Vehicle Insurance Claim Fraud Detection

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Vehicle insurance fraud involves conspiring to make false or exaggerated claims involving property damage or personal injuries following an accident so, It will Detect fraud claims and will help Insurance Firms to verify them properly again.Starting with cleaning and EDA I'll be going with Classification & SGD Classifier and will try to finalize the one with the highest accuracy
Use Case
Vehicle insurance fraud involves conspiring to make false or exaggerated claims involving property damage or personal injuries following an accident so, It will Detect fraud claims and will help Insurance Firms to verify them properly again.Starting with cleaning and EDA I'll be going with Classification & SGD Classifier and will try to finalize the one with the highest accuracy
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 want to work on this issue

@sanjay-kv  can you assign me this please


xorgserver: 1.20.3 -> 1.20.4

Motivation for this change
https://lists.x.org/archives/xorg-announce/2019-February/002957.html
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

This is small enough to bypass staging*.

(sorry for noise, github being github)

Worth picking to 19.03, you think?

On second thought, I'm too convinced about this, so let me pick it now and in the worst case we can revert that.

Sounds good, thanks! I think this is appropriate for backport.
On Fri, 01 Mar 2019 02:37:58 -0800, Vladimír Čunát<EMAIL_ADDRESS>wrote:

On second thought, I'm too convinced about this, so let me pick it now and in the worst case we can revert that.
--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
https://github.com/NixOS/nixpkgs/pull/56429#issuecomment-468621813Non-text part: text/html


python.app for osx-arm64 has a copy of python

[x] I read the conda-forge documentation and could not find the solution for my problem there.

Issue:
When I create an environment with the python.app package for osx-arm64, the version of Python in the python.app package does not match the version in the environment. For example, if I create a new environment with conda create -n b python.app python=3.8, I get this behavior
[bkpoon@eeyore:~] conda activate b
(b) [bkpoon@eeyore:~] $CONDA_PREFIX/bin/python --version
Python 3.8.8
(b) [bkpoon@eeyore:~] $CONDA_PREFIX/python.app/Contents/MacOS/python --version
Python 3.8.6

From extracting the version 1.3 tarballs of the osx-64 and osx-arm64 packages from https://anaconda.org/conda-forge/python.app/files, it looks like the osx-arm64 packages have a copy of python in pythonapp/Contents/MacOS/python
[bkpoon@eeyore:Downloads/a] ls -l pythonapp/Contents/MacOS
total 8024
8024 -rwxr-xr-x@ 1 bkpoon  staff   3.9M Jan  8 03:36 python

instead of a symbolic link.
[bkpoon@eeyore:Downloads/b] ls -l pythonapp/Contents/MacOS
total 0
0 lrwxr-xr-x@ 1 bkpoon  staff    19B Jan  8 03:54 python -> ../../../bin/python

This may also be the reason why I needed to copy the python for cross-compiling in Apple Silicon. The relevant pull request commit is https://github.com/conda-forge/cross-python-feedstock/commit/1c5b14a6f8c2d1c934ec6b3037423273a99aa0eb. I suspect that the copy would not be necessary if the symbolic link is restored.
I am not sure why the recipe is copying instead of making the symbolic link in build.sh, though.

Environment (conda list):

$ conda list
# packages in environment at /Users/bkpoon/software/miniforge3/envs/b:
#
# Name                    Version                   Build  Channel
ca-certificates           2020.12.5            h4653dfc_0    conda-forge
certifi                   2020.12.5        py38h10201cd_1    conda-forge
libcxx                    11.1.0               h168391b_0    conda-forge
libffi                    3.3                  h9f76cd9_2    conda-forge
ncurses                   6.2                  h9aa5885_4    conda-forge
openssl                   1.1.1k               h27ca646_0    conda-forge
pip                       21.0.1             pyhd8ed1ab_0    conda-forge
python                    3.8.8           h12cc5a1_0_cpython    conda-forge
python.app                1.3              py38he168f11_4    conda-forge
python_abi                3.8                      1_cp38    conda-forge
readline                  8.1                  hedafd6a_0    conda-forge
setuptools                49.6.0           py38h10201cd_3    conda-forge
sqlite                    3.35.4               hc49ca36_0    conda-forge
tk                        8.6.10               hf7e6567_1    conda-forge
wheel                     0.36.2             pyhd3deb0d_0    conda-forge
xz                        5.2.5                h642e427_1    conda-forge
zlib                      1.2.11            h31e879b_1009    conda-forge

Details about  conda and system ( conda info ):

$ conda info
    active environment : b
    active env location : /Users/bkpoon/software/miniforge3/envs/b
            shell level : 1
       user config file : /Users/bkpoon/.condarc
 populated config files : /Users/bkpoon/software/miniforge3/.condarc
                          /Users/bkpoon/.condarc
          conda version : 4.10.1
    conda-build version : not installed
         python version : 3.9.2.final.0
       virtual packages : __osx=11.2.3=0
                          __unix=0=0
                          __archspec=1=arm64
       base environment : /Users/bkpoon/software/miniforge3  (writable)
      conda av data dir : /Users/bkpoon/software/miniforge3/etc/conda
  conda av metadata url : https://repo.anaconda.com/pkgs/main
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/osx-arm64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-arm64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/bkpoon/software/miniforge3/pkgs
                          /Users/bkpoon/.conda/pkgs
       envs directories : /Users/bkpoon/software/miniforge3/envs
                          /Users/bkpoon/.conda/envs
               platform : osx-arm64
             user-agent : conda/4.10.1 requests/2.25.1 CPython/3.9.2 Darwin/20.3.0 OSX/11.2.3
                UID:GID : 501:20
             netrc file : None
           offline mode : False

It almost seems as if we're back to the days before #11 was merged, then? :(
cc @cbrnr

Hm no we're still creating a symlink:
https://github.com/conda-forge/python.app-feedstock/blob/69062838dc3cab7ff28063bb52b2b20ffcc071a4/recipe/build.sh#L21
So this must be something else 🧐

OMG. Can this be fixed easily? I still think the only viable long-term solution will be to do what the official Python binaries for macOS do - they are correctly placed inside a framework. @hoechenberger do you know the relevant issue for this?

do you know the relevant issue for this?

I believe you're referring to #12?
I don't think this is going to happen … Maybe in 20 years or so :)
It's interesting that it seems only ARM appears to be affected, though…

Yes, that's the issue I meant. I also have the feeling that this will never happen because it is a lot of effort. The only way this might work is if the official (Python.org) build scripts can be used in the conda recipe, but this is probably not be that simple. However, because of this issue I'm staying away from conda because it's just not workable if you need to access the window system on macOS. The fact that this problem keeps resurfacing means that this is really a fundamental flaw that should really be addressed at its root.

The fact that this problem keeps resurfacing means that this is really a fundamental flaw that should really be addressed at its root.

Yes. I'm honestly also pretty annoyed by this. Pondering to move away from conda too, this is just a total deal breaker.

Yes. I'm honestly also pretty annoyed by this. Pondering to move away from conda too, this is just a total deal breaker.

brew install python has been working flawlessly so far. Just saying.

Fixed in #21

Great! @isuruf do you think this copy, https://github.com/conda-forge/cross-python-feedstock/commit/1c5b14a6f8c2d1c934ec6b3037423273a99aa0eb, is needed after the fix is merged? The link in this fix should properly point to the earlier copy of $PREFIX/bin/python.

Yes, it's still needed for cross compiling.

Do you want me to make a pull request for deleting that copy? Once #21 is merged and cross-python-feedstock is updated, I can test the changes on a package that I maintain, either through a dummy pull request that triggers a build or an updated release (coming this week). Or if there is another mechanism for testing these kinds of changes, just let me know. Thanks!


btc-rpc-explorer: add cacert to inputs

Description of changes
ZHF: #309482
The build started to fail due to #257513.
This adds cacert as an explicit input to the build.

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] 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/)
24.05 Release Notes (or backporting 23.05 and 23.11 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

[ ] Fits CONTRIBUTING.md.

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

Moved to draft to investigate linux build breakage


Add a button to re-indent code so it looks nice and makes it easier to understand

In UmpleOnline, add an command in the menu (perhaps even a button) to re-indent the code. So that it looks nice.
This would apply a rule of indentation of two spaces.
It would not shorten any lines of text if they are long. It would also not adjust any other aspects of style, such changing the location of starting curly-brackets. But ending curly brackets that are preceded by text on the same line would be moved to a line of their own, unless the starting curly bracket was earlier on the same line.
It would match curly brackets (e.g. for classes, methods, mixsets, and all other elements. Lines of code that are between curly brackets would be indented by 2 spaces.
The code would have to be careful not to be tricked by escaped curly brackets, or curly brackets within strings.
If there is additional special indentation within blocks (e.g. on conditions), this would be preserved

An examples:
Any of the following
class X {
a = "{";
}

class X {
  a = "{";}

  class X {
  a = "{";
}

  class X {
    a = "{";
  }

class X {
          a = "{";
        }

would become
class X {
  a = "{";
}

Another example
class X {
  sm {
      s1 {
      e-> s2;
    }
    s2 { e2 -> s1; }
  }
  public static void main(String[] argv) {
  System.out.print("{");
    X theX = new X();
    trace sm;
x.e();
    x.e2();
    System.out.println("}");
}
}

class X {
  sm {
    s1 {
      e-> s2;}
    s2 { e2 -> s1; }
  }
public static void main(String[] argv) {
   System.out.print("{");
 X theX = new X();
     trace sm;
 x.e();
x.e2();
    System.out.println("}");}
}

class X {
  sm {
    s1 {
      e-> s2;    }
    s2 { e2 -> s1; }  }
  public static void main(String[] argv) {
    System.out.print("{");
    X theX = new X();
    trace sm;
    x.e();
    x.e2();
    System.out.println("}");
  }
}

class X {
sm {
s1 {
e-> s2;
}
s2 { e2 -> s1; }
}
public static void main(String[] argv) {
        System.out.print("{");
        X theX = new X();
        trace sm;
         x.e();
        x.e2();
        System.out.println("}");
  }
}

class X {
  sm { s1 {
      e-> s2;}
    s2 { e2 -> s1; }
  }
  public static void main(String[] argv) {
      System.out.print("{");
         X theX = new X();
          trace sm;
          x.e();
          x.e2();
     System.out.println("}"); }}

Would all Become
class X {
  sm {
    s1 {
      e-> s2;
    }
    s2 { e2 -> s1; }
  }
  public static void main(String[] argv) {
    System.out.print("{");
    X theX = new X();
    trace sm;
    x.e();
    x.e2();
    System.out.println("}");
  }
}

The button should be 'Reindent text' and should be in the 'Draw' menu below 'Redo'. It should always be active.


Add usememos extension

Description
Usememos
Usememos is an extension for usememos/memos.
Preferences
You can customize the following preferences:

OpenAI API Key: API Key is used to authenticate with OpenAI API.
Model: Model is used to specify the model to use.
OpenAI Base Path (Optional): Base Path is used to override base path with OpenAI API.
Language: LLM will use this language to generate content.
Memos Server URL: The URL of the Memos server.
Memos Server Token: Token is used to authenticate with the memos server.

This PR is auto-generated by create-pull-request
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi 👋
Thanks for your contribution 💪
I have now tested your extension, and I have some feedback ready for you:

Could you add at least one screenshot of the extension
can you record a flow or provide a test key for me :)

I'm looking forward to testing this extension again 🔥
Request a new review when you are ready. Feel free to contact me here or at Slack if you have any questions.

I sent the key via a private message on Slack. I will add the video and screenshots shortly.

@zrr1999 Can you please explain why this extension requires OpenAI token?


Unable to to install styled-components in expo app with react 18.0.0

created a expo app
npx create-expo-app purple
that produces following package.json
{
  "name": "purple",
  "version": "1.0.0",
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "expo": "~46.0.8",
    "expo-status-bar": "~1.4.0",
    "react": "18.0.0",
    "react-native": "0.69.4"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9"
  },
  "private": true
}

now i try to install styled-components
npm install styled-components --save
produces following error
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer react@">= 16.8.0" from<EMAIL_ADDRESS>npm ERR!   node_modules/styled-components
npm ERR!     styled-components@"*" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/react-dom
npm ERR!   peer react-dom@">= 16.8.0" from<EMAIL_ADDRESS>npm ERR!   node_modules/styled-components
npm ERR!     styled-components@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/manas/.npm/eresolve-report.txt for a full report.

npm ERR!      /Users/manas/.npm/_logs/2022-08-21T05_03_49_194Z-debug-0.log

npm log
verbose cli /usr/local/bin/node /usr/local/bin/npm
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 6ms
6 timing config:load:builtin Completed in 7ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/Users/manas/Documents/projects/purple/.npmrc Completed in 1ms
10 timing config:load:project Completed in 3ms
11 timing config:load:file:/Users/manas/.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:/Users/manas/.npm-global/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 1ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 0ms
18 timing config:load Completed in 15ms
19 timing npm:load:configload Completed in 15ms
20 timing npm:load:mkdirpcache Completed in 1ms
21 timing npm:load:mkdirplogs Completed in 1ms
22 verbose title npm install styled-components
23 verbose argv "install" "styled-components"
24 timing npm:load:setTitle Completed in 16ms
25 timing config:load:flatten Completed in 2ms
26 timing npm:load:display Completed in 3ms
27 verbose logfile logs-max:10 dir:/Users/manas/.npm/_logs
28 verbose logfile /Users/manas/.npm/_logs/2022-08-21T05_03_49_194Z-debug-0.log
29 timing npm:load:logFile Completed in 4ms
30 timing npm:load:timers Completed in 0ms
31 timing npm:load:configScope Completed in 0ms
32 timing npm:load Completed in 42ms
33 timing arborist:ctor Completed in 1ms
34 silly logfile start cleaning logs, removing 1 files
35 silly logfile done cleaning log files
36 timing idealTree:init Completed in 536ms
37 timing idealTree:userRequests Completed in 2ms
38 silly idealTree buildDeps
39 silly fetch manifest styled-components@*
40 timing arborist:ctor Completed in 0ms
41 http fetch GET 200 https://registry.npmjs.org/styled-components 688ms (cache revalidated)
42 silly fetch manifest<EMAIL_ADDRESS>43 http fetch GET 200 https://registry.npmjs.org/react 8ms (cache hit)
44 silly fetch manifest react-dom@>= 16.8.0
45 http fetch GET 200 https://registry.npmjs.org/react-dom 91ms (cache revalidated)
46 silly fetch manifest<EMAIL_ADDRESS>47 timing idealTree Completed in 1354ms
48 timing command:install Completed in 1366ms
49 verbose stack Error: unable to resolve dependency tree
49 verbose stack     at Arborist.[failPeerConflict] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1428:25)
49 verbose stack     at Arborist.[loadPeerSet] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1421:30)
49 verbose stack     at async Arborist.[loadPeerSet] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1362:11)
49 verbose stack     at async Arborist.[buildDepStep] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:976:11)
49 verbose stack     at async Arborist.buildIdealTree (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:218:7)
49 verbose stack     at async Promise.all (index 1)
49 verbose stack     at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:154:5)
49 verbose stack     at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:145:5)
49 verbose stack     at async module.exports (/usr/local/lib/node_modules/npm/lib/cli.js:78:5)
50 verbose cwd /Users/manas/Documents/projects/purple
51 verbose Darwin 20.6.0
52 verbose node v16.15.0
53 verbose npm  v8.15.0
54 error code ERESOLVE
55 error ERESOLVE unable to resolve dependency tree
56 error
57 error While resolving<EMAIL_ADDRESS>57 error Found<EMAIL_ADDRESS>57 error node_modules/react
57 error<EMAIL_ADDRESS>from the root project
57 error   peer react@">= 16.8.0" from<EMAIL_ADDRESS>57 error   node_modules/styled-components
57 error     styled-components@"*" from the root project
57 error
57 error Could not resolve dependency:
57 error peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>57 error node_modules/react-dom
57 error   peer react-dom@">= 16.8.0" from<EMAIL_ADDRESS>57 error   node_modules/styled-components
57 error     styled-components@"*" from the root project
57 error
57 error Fix the upstream dependency conflict, or retry
57 error this command with --force, or --legacy-peer-deps
57 error to accept an incorrect (and potentially broken) dependency resolution.
57 error
57 error See /Users/manas/.npm/eresolve-report.txt for a full report.
58 verbose exit 1
59 timing npm Completed in 1481ms
60 verbose unfinished npm timer reify<PHONE_NUMBER>305
61 verbose unfinished npm timer reify:loadTrees<PHONE_NUMBER>314
62 verbose unfinished npm timer idealTree:buildDeps<PHONE_NUMBER>853
63 verbose unfinished npm timer idealTree:#root<PHONE_NUMBER>854
64 verbose code 1
65 error A complete log of this run can be found in:
65 error     /Users/manas/.npm/_logs/2022-08-21T05_03_49_194Z-debug-0.log

im having the same issue with brand new rn project using RN 0.69.0 and React 18.1.0

 npx create-expo-app hello
 cd hello
 npx expo install<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS> npm run web

npm install styled-components --save
my package.json now looks like following
{
  "name": "hello",
  "version": "1.0.0",
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "@expo/webpack-config": "^0.17.0",
    "expo": "~46.0.16",
    "expo-status-bar": "~1.4.0",
    "react": "18.0.0",
    "react-dom": "18.0.0",
    "react-native": "0.69.6",
    "react-native-web": "~0.18.7",
    "styled-components": "^5.3.6"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9"
  },
  "private": true
}

now  npm run web  to start web version .... 😀

I ended up running npm install styled-components --force and it worked. But I really feel gross with all of those npm WARNs.

I ended up running npm install styled-components --force and it worked. I really feel gross with all of those npm WARNs.

I'm using neither expo nor yarn but this seems working fine for me, at the moment, with RN 0.70.4, node 18.12.1 and npm 8.19.2.

I ended up running npm install styled-components --force and it worked. I really feel gross with all of those npm WARNs.

It worked for me!  "react": "18.1.0", "react-native": "0.70.6" and node v16.14.2

Worked for me after installing react-dom npx expo install react-dom Thanks @manastunga787

This kind of problem seems to be about peer dependencies version conflict. You can ignore this kind of problem by default with yarn, or with npm creating a .npmrc file with legacy-peer-deps=true.

I am trying to install the styled-components
I tried reinstalling the npm, I have erased the node_nodules folder, I used --force too, but nothing is working... Can anyone help me?

Thanks @abhijith1741  it works

Thanks, it worked

thanks @abhijith1741 , worked fine

// after installing specific version I got warning in my pakage.json  file
npm install styled-components@5
{
"name": "react-complete-guide",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "^11.2.2",
"@testing-library/user-event": "^12.5.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-scripts": "^5.0.1",
"styled-components": "^5.3.11",
"web-vitals": "^0.2.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}

I am trying to install the styled-components I tried reinstalling the npm, I have erased the node_nodules folder, I used --force too, but nothing is working... Can anyone help me?

while installing specify the version also npm install styled-components@5

Thanks for share, work for me!

Thank you @abhijith1741 !  worked for me as well :D

Adding react-dom as a dependency solved the issue for me.

Have this issue, it was strange because i had another react 18 app that i recently installed styled-component with and it worked fine. The difference between that and the app that was had version conflicts? there wasn't a react-dom in the package.json
Running npm i<EMAIL_ADDRESS>solved it for me


How to use socks5 proxy with that?

Privoxy acts only as an HTTPS proxy, which is a different protocol than SOCK5. An easy tweak would be to replace it with a Lua script injected into HAProxy.


fix[cookie-consent]: add bottom margin to checkout flow

The type of this PR is: bugfix
Description
Currently, if a user has not accepted cookies and views an order page, they will be unable to see the "continue" button at the bottom of the screen and are unable to scroll it into view.
While we figure out a better long-term solution, this PR adds more margin to the container so that users can at least scroll the button into view and not get stuck.
Before:

After:

After + user has accepted cookies:

Thanks Matt! I have checked out the branch and tested locally but it seems like there are some areas where the padding might still not be enough:

Register to bid: Cookie consent is hiding the checkbox and continue button
Sign up: Cookie consent is hiding Facebook Sign-on button

Can the padding be increased even more?


rename stage dirs

This fix should help with the bot comment. I'll continue with the other repos when the first two will be successfully merged.
This PR conflicts with combining character classes, so one should be merged, then another fixed before merge.


Fix broken access modified in MsSqlDatabaseLoggerModule

In the MsSqlDatabaseLoggerModule the initialize had the "protected" access modifier, should be "public". This PR fixes that :)

:+1:

Thanks for contribution! Merged :)

Thanks guys! Any plans of incrementing the assembly version and updating the NuGet package?
I would prefer to use that instead of compiling it myself.


AMD (Asynchronous Module Definition) support

With this update, store.js can be loaded as an AMD module by module loaders such as RequireJS.

Thanks! Will make a small change I think, but looks good.
Cheers!

Thanks!

Thank you :)


Configure the sink missing defaults

Would have been nice to have all the default values in the Wiki. Had to pull source to find a waste of a few minutes. BufferLogShippingInterval is 5 seconds but I suspected that it may be far less. Good to know what the standard is before tweaking.
https://github.com/serilog/serilog-sinks-elasticsearch/wiki/Configure-the-sink

Hi @etiennedetrace, I have updated the wiki with the defaults (adjusted some old values and updated those that were missing). Thanks for pointing this out, and sorry you lost a bit of time looking for that value!
@mivano, you may want to have a look at the wiki page to see if I missed something?

Thanks @chuwik
I quickly looked through it and noticed the minimum log event level. It think this is informational, instead of verbose: https://github.com/serilog/serilog-sinks-elasticsearch/blob/defba05c1d61d81347f86af6f6a508d8a200edf5/src/Serilog.Sinks.Elasticsearch/LoggerConfigurationElasticSearchExtensions.cs#L60
ConnectionTimeout is a nice one; in the comments in the class it says 5 sec, in the code 60 secs :-)

I checked LevelAlias.Minimum in the main serilog repo and it's set to Verbose; I believe that's what's being picked up by the es sink? Or is it overriden somewhere?

Ah yes, you are right. Thanks for updating the wiki page and I will close this ticket. @etiennedetrace let us know if you think more is needed.


[Removal]: Decent Pink Lizard in real location,I do not know why my hotspot in the denylist

Hotspot Name
Decent Pink Lizard
Hotspot b58 Address
112JNohkmPPpKYeKKTEckBiakJ93ZZtva7Wb4WGRJFUoo5J1Fjnw
Discord Handle
No response
Hotspot Manufacturer
Bobcat
Removal Reason
This is a manslaughter. My hotspot in real location and Hotspots around me also in real location, and I can  connect to them, so please delete my hotspot from the blacklist，Or you can send someone down here for a signal to prove my innocence,please.thanks
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
Please deal with it as soon as possible.This hotspot I bought from a friend and in real location, since February 1st ，the output down, I do not know why and hope the official solution to this problem as soon as possible, do not let the real location of friends chill,thanks

Dear official friend，you can see the map, I am here, people maybe lie, but coordinates and location do not lie

I can only say that true gold stands the test of fire

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


RTD build failure executing thinking_in_jax.ipynb

#5426 added a new notebook to our docs, and ever since there have been unpredictable failures in the readthedocs build. An example is here: https://readthedocs.org/projects/jax/builds/12905004/
This is the error:
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-1-1cefe89b730a> in <module>
      1 x = np.random.randn(3, 4)
      2 y = np.random.randn(4)
----> 3 f(x, y)

NameError: name 'f' is not defined

(Show full traceback)

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/nbsphinx.py", line 1021, in parse
    rststring, resources = exporter.from_notebook_node(nb, resources)
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/nbsphinx.py", line 832, in from_notebook_node
    nb, resources = pp.preprocess(nb, resources)
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/nbconvert/preprocessors/execute.py", line 79, in preprocess
    self.execute()
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/nbclient/util.py", line 74, in wrapped
    return just_run(coro(*args, **kwargs))
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/nbclient/util.py", line 53, in just_run
    return loop.run_until_complete(coro)
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/nest_asyncio.py", line 70, in run_until_complete
    return f.result()
  File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/asyncio/futures.py", line 181, in result
    raise self._exception
  File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/asyncio/tasks.py", line 249, in __step
    result = coro.send(None)
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/nbclient/client.py", line 541, in async_execute
    cell, index, execution_count=self.code_cells_executed + 1
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/nbconvert/preprocessors/execute.py", line 123, in async_execute_cell
    cell, resources = self.preprocess_cell(cell, self.resources, cell_index)
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/nbconvert/preprocessors/execute.py", line 146, in preprocess_cell
    cell = run_sync(NotebookClient.async_execute_cell)(self, cell, index, store_history=self.store_history)
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/nbclient/util.py", line 74, in wrapped
    return just_run(coro(*args, **kwargs))
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/nbclient/util.py", line 53, in just_run
    return loop.run_until_complete(coro)
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/nest_asyncio.py", line 70, in run_until_complete
    return f.result()
  File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/asyncio/futures.py", line 181, in result
    raise self._exception
  File "/home/docs/.pyenv/versions/3.7.9/lib/python3.7/asyncio/tasks.py", line 249, in __step
    result = coro.send(None)
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/nbclient/client.py", line 832, in async_execute_cell
    self._check_raise_for_error(cell, exec_reply)
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/nbclient/client.py", line 740, in _check_raise_for_error
    raise CellExecutionError.from_cell_and_msg(cell, exec_reply['content'])
nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell:
------------------
x = np.random.randn(3, 4)
y = np.random.randn(4)
f(x, y)
------------------

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-1-1cefe89b730a> in <module>
      1 x = np.random.randn(3, 4)
      2 y = np.random.randn(4)
----> 3 f(x, y)

NameError: name 'f' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/sphinx/cmd/build.py", line 276, in build_main
    app.build(args.force_all, filenames)
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/sphinx/application.py", line 349, in build
    self.builder.build_update()
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 299, in build_update
    len(to_build))
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 311, in build
    updated_docnames = set(self.read())
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 418, in read
    self._read_serial(docnames)
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 439, in _read_serial
    self.read_doc(docname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 479, in read_doc
    doctree = read_doc(self.app, self.env, self.env.doc2path(docname))
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/sphinx/io.py", line 316, in read_doc
    pub.publish()
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/docutils/core.py", line 218, in publish
    self.settings)
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/sphinx/io.py", line 130, in read
    self.parse()
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/docutils/readers/__init__.py", line 77, in parse
    self.parser.parse(self.input, document)
  File "/home/docs/checkouts/readthedocs.org/user_builds/jax/envs/5573/lib/python3.7/site-packages/nbsphinx.py", line 1028, in parse
    raise NotebookError('\n'.join(lines))
nbsphinx.NotebookError: CellExecutionError in notebooks/thinking_in_jax.ipynb:
------------------
x = np.random.randn(3, 4)
y = np.random.randn(4)
f(x, y)
------------------

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-1-1cefe89b730a> in <module>
      1 x = np.random.randn(3, 4)
      2 y = np.random.randn(4)
----> 3 f(x, y)

NameError: name 'f' is not defined

You can ignore this error by setting the following in conf.py:

    nbsphinx_allow_errors = True

Notebook error:
CellExecutionError in notebooks/thinking_in_jax.ipynb:
------------------
x = np.random.randn(3, 4)
y = np.random.randn(4)
f(x, y)
------------------

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-1-1cefe89b730a> in <module>
      1 x = np.random.randn(3, 4)
      2 y = np.random.randn(4)
----> 3 f(x, y)

NameError: name 'f' is not defined
NameError: name 'f' is not defined

You can ignore this error by setting the following in conf.py:

    nbsphinx_allow_errors = True

The notebook in question is here: https://github.com/google/jax/blob/967f3ac7a335c09739469a18e7f2ad45bbc193df/docs/notebooks/thinking_in_jax.ipynb
Looking at the notebook, it's clear that the name f is defined in the previous cell. This appears to be some sort of race condition in cell execution: the cells are nominally executed synchronously, but under the hood nbclient is running cells using asynchronous calls that are synchronized via this utility: https://github.com/jupyter/nbclient/blob/c3898b6df19b1f2fbbf88a6dcf7262c898d71df5/nbclient/util.py#L56-L76
Something about the RTD environment is making this particular cell start running before the previous cell has populated the namespace.

#5635 side-steps the issue by not executing the problematic notebook. I'm going to leave this issue open, though, to track re-enabling the execution if possible.


[Feature][CI] Prue pydolphinscheduler change should not trigger e2e and java UT CI

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
When I submit PR https://github.com/apache/dolphinscheduler/pull/6753 I found out CI e2e and Java unit test run but I only changed pydolphinscheduler code. I think it should only run Pythons API CI in this situation, we have path-ignore in e2e but failed and I think maybe we should use - 'dolphinscheduler-python/pydolphinscheduler/**' instead of - 'dolphinscheduler-python/pydolphinscheduler'. You could find it in https://github.com/apache/dolphinscheduler/blob/be28d2c63bb9101a3525c1102ae1a8e91f1668c9/.github/workflows/e2e.yml?_pjax=%23js-repo-pjax-container#L22
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Close this issue due to https://github.com/apache/dolphinscheduler/pull/6756#issuecomment-967793585


Stable floating-ui-id for TEST environments in jest - RTL

Is your feature request related to a problem? Please describe.
At the moment my snapshots get outdated at each test run because of random ids generation
Describe the solution you'd like
I think other libraries like MUI implement some mechanism to keep stable IDs on test environments
Describe alternatives you've considered
I tried to mock useId hook exposed by floating-ui/react, but no luck to date.
Additional context

jest.mock("@floating-ui/react", () => {
  const originalModule = jest.requireActual("@floating-ui/react");
  return {
    __esModule: true,
    ...originalModule,
    useId: jest.fn(() => "mocked-id"),
  };
});

https://jestjs.io/docs/jest-object#jestrequireactualmodulename

I tried that and any variant of that (using spy etc), but it didn't have any effect, I suspect because I'm not using useId in my code directly.

Snapshot tests like that are generally a bad idea because you're testing internals which are subject to change. Instead assert only the public parts that are necessary to check for.
Otherwise, if you upgrade to React 18, it will use the built-in hook instead, which I think may be stable.