HMR when inside a next app

Describe the Bug
HMR should work with a custom folder?
Which package is affected (leave empty if unsure)
No response
Link to the code that reproduces this issue
https://github.com/Hacksore/react-email-and-next-app
To Reproduce

pnpm i
pnpm dev:email
open http://localhost:3000/preview/example
make an edit to src/emails/example.tsx
should HMR work?

Expected Behavior
Saving a file should make the component trigger HMR when saving
What's your node version? (if relevant)
No response

A workaround for now is to use a monorepo so going to close this issue out.


Nothing showing in "Recent Contributions" section

The "Recent Contributions" section on https://opensource.microsoft.com/ecosystem/ doesn't appear to have any content. I know Microsoft is sharing OS content, so please share. :-)

This no longer looks to be an issue.


Not receiving image when running Automatic1111 on a Runpod Jupyter notebook

Describe the bug
I try to use AI-render addon together with Automatic1111 deployed in RunPod service using jupiter notebook
fast-stable-diffusion
It's the way recomended by Runpod
The connection is established and the request is successull sent but there is an exception occurses in the file automatic1111_api.py in the following string of handle_success() function:
response_obj = response.json()

All the code before the wrong string are executed correctly including the checking the status in the string
if response.status_code == 200:

Also I see in the jupyter notebook with SD that the SD works and generates the picture.
I dumped the response.content object to the file. It looks like a binary data and I can't understand it's format by visual seeing.
The size of file is ~350-400 kb and it 's similar the png or jpg file of the size 512x768 witch I try to generate. I attached it here. (I packed it to zip because github don't want to download the file of unknown format)
It's the first time when I see the 'requests' library so I can suppose two reasons of the bug (Maybe my supposings is wrong):

The reult is in binary format but not is a text as the AI Renderer addon expects.
The result is encrypted (but in this case it's strange that the automatic successfully get the input data)

In the both cases I don't know what to do and how to fix it.
Maybe there ara any setting of output data in automatic1111 but I can't find it.
dump.zip
To reproduce
The bug is 100% reproducible

Start Automatic1111 on Runpod
Launch Blender, open the blend file, switch to render mode.
Setup the settings of AI Renderer Addon inpreference: choose local automatic1111, enter the URL witch is always new after ralaunching Automatic, usially it looks like https://rhft3k44x3eun0-3001.proxy.runpod.net/, port is not required (i tryed to set the port 7860 but it does not work)
Press F12 to render and whait several seconds

Error log
BlenderConsoleLog.txt
Environment

Blender version - 3.3.1:
AI Render version - 0.9.0 (last version from Github at 2023-07-03:
Operating system - Window 11

Screenshots/video
No response
Additional information
response.headers =  {'Date': 'Tue, 11 Jul 2023 15:10:09 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Cache-Control': 'no-cache', 'Strict-Transport-Security': 'max-age=63072000; includeSubDomains', 'Vary': 'Accept-Encoding', 'X-Process-Time': '2.4444', 'CF-Cache-Status': 'DYNAMIC', 'Report-To': '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=MepGM3D0P8UrB5ClIHa5PtTKrspdE2l6mjUdTFB2WK9dh4b9Qs7nfWyRZo%2B8QK5LPH8GovJbqX3jY5n55K9oZVW2tzIossKLjg9V%2FPLtMrVktyEwg%2FXp42yvAAtE620Sgz%2B1myKGXsa56qJPL3p89wZWlKprTQ%3D%3D"}],"group":"cf-nel","max_age":604800}', 'NEL': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'Set-Cookie': '__cflb=02DiuFoofD6fhPpBaAsUWRBsQ3ZkHnhQtascZteRZZ1rk; SameSite=None; Secure; path=/; expires=Wed, 12-Jul-23 14:10:09 GMT; HttpOnly', 'Server': 'cloudflare', 'CF-RAY': '7e51f8a8f886c31e-VIE', 'Content-Encoding': 'br'}

Ah, interesting. I don't think I've seen anyone successfully use AI Render with Automatic1111 running on a notebook. (Or if they have, I haven't heard about it).
I will look into this, but it might be a while before I can get to it!

May be may way is wrong.
Really it's a little strange that this run pod environment deploys Jupyter and then jupiter deploys automatic 1111)
Maybe somebody can show me simple and correct way how to deploy automatic 1111 to server in Internet.
I like to use remote servers and cloud services for heavy tasks because it's the way for me to work anywhere using light notebook. And it's cheap way - I usually spend not more 10-20$ for different services. So I can't and I don't plan to deploy SD to my own computer.
Earlier I use Colab for running SD, but some month ago Google broken it, so I found the method using Run pod. It's not free but not expensive, and also it's simple, stable and predictable. And it's cheaper then Dream Studio and I can customise it using automatic 1111.

Yeah, it's a really convenient and inexpensive way to do it, for sure! For what it's worth, you can still do it on the Google Colab notebooks for about the same price you mentioned. (But I'm not sure if anyone has gotten AI Render working with that, either)

The free Collab account is not working at the moment.
As for the paid account. I haven't tried it, but I've read bad reviews. They say it's not cheap because Google counts certain "computing units".
When I use Runpad, I can choose the configuration and pay for the time spent.
But Google calculates "units", and as I read in the reviews, 100 units by default is really an insignificant amount, and it can be spent in an hour.
Although I haven't actually tried it myself)

Gotcha. Ok, that's good to know!


PRM-1300 Added EIS headers to GetPenaltyDetailsConnector + refactored to take VRN instead of Url path

Could you rebase as well please?


remove libseccomp cgo dependency

The CRI plugin was depending on libseccomp cgo dependency via libseccomp-golang via libcontainer.
https://github.com/seccomp/libseccomp-golang/blob/v0.9.1/seccomp_internal.go#L17

good one!
LGTM


Level 1:Set password.

Password still visible when it should not be.
When I as a user skipped backup initially and now setting it up, the app is not displaying "easily guessable", etc text.
Plus it's allowing me to setup any password in the above mentioned scenario.

Verified this issue on dev app v2.0.75(446)


Fix documentation generation

Docs generation was failing.
The import system was somehow getting confused: when a transformers module tried to import their local tokenizers.py, it instead resolved to importing the SpeechBrain tokenizers.py file.
I wanted to fix the whole thing by mocking the extra dependencies. But it turns out, better-apidoc does not mock the imports in autodoc_mock_imports, it just changes ImportErrors to warnings, which does not work for us. So instead I hacked this so that SpeechBrain is added to the end of the path rather than right at the front.
I also fixed the fairseq and huggingface wav2vec2 ImportErrors to properly raise an error instead of printing a message.

I added a GitHub action to test the docs generation so that hopefully this doesn't happen again.

LGTM.


Somtimes parties start on water

Not sure why, but sometimes we start on water

I have also noticed this. It shouldn't be too difficult to fix


What to do regarding large customization

Hello,
What would you recommend in the event that our localization is very large? For example, we currently support 13 languages and are currently having to provide translations for a country claim which alone is taking thousands of lines of code. Is there a way to point to a localization file for a specific language? What are some of MS best practices regarding large localization files?

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

ID: 14a1a1f1-4cb3-956a-8168-5e3101ea5f76
Version Independent ID: a1a9db9c-d0d1-eb5c-0fb5-fb36f71effaa
Content: Localization - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/localization.md
Service: active-directory
Sub-service: b2c
GitHub Login: @mmacy
Microsoft Alias: marsma

@Norrch2 Thanks for your feedback! We will investigate and update as appropriate.

Hello @Norrch2 currently the best practice is :
put the language section in a separate file entirely
Currently the only practice is to have multiple files. In addition to that, there is a 500KB hard limit for the local files, so please note that.
If you're interested in this feature being implemented, I suggest filing this against the uservoice feedback forums here : https://feedback.azure.com/forums/169401-azure-active-directory
And if there's enough community support the product team will look into putting this on the roadmap and implementing this in the future.
Please let us know if there are anymore questions within the scope of this git issue. If not, I will be closing out this git issue by end of day tomorrow. Please file a new git issue with a reference to this one if you have anymore concerns. Thanks

Hi @FrankHu-MSFT
So the only way I can see this happening is by chaining the files together. Is there a way to include additional files instead of chaining them together?

hey @Norrch2
The suggested pattern is to chain them together
So at the moment, the policy chain looks something like this:
... <- B2C_1A_TrustFrameworkBase <- B2C_1A_GF_BuildingBlocks <- ...
What could be done is adding another intermediate policy that contains the localization information. This would look something like this:
... <- B2C_1A_TrustFrameworkBase <- B2C_1A_GFLocalization <- B2C_1A_GF_BuildingBlocks <- ...
Then you would have in B2C_1A_GFLocalization:
 mytenant.onmicrosoft.com B2C_1A_TrustFrameworkBase
And in B2C_1A_mytenant_BuildingBlocks:
 mytenant.onmicrosoft.com B2C_1A_mytenantLocalization
Please let us know if there are anymore concerns in regards to this as I will be closing out this issue by end of day today.


HandleSync for paused containers

Description
Changes proposed in this pull request.
Test plan
Outline the test plan used to test this change before merging it.

Fixes #.

Codecov Report

Merging #424 into master will decrease coverage by 0.25%.
The diff coverage is 30%.

@@            Coverage Diff             @@
##           master     #424      +/-   ##
==========================================
- Coverage   58.08%   57.83%   -0.26%
==========================================
  Files          45       45
  Lines        5645     5654       +9
==========================================
- Hits         3279     3270       -9
- Misses       2062     2079      +17
- Partials      304      305       +1

Impacted Files
Coverage Δ

monitor/instance/docker/monitor.go
54.39% <30%> (-0.85%)
:arrow_down:

monitor/instance/linux/linux.go
62.28% <0%> (-9.65%)
:arrow_down:

Continue to review full report at Codecov.

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


Add documentation for on-behalf-of token authorization

Description
On-behalf-of tokens will allow users to authorize services running with OpenSearch on their behalf. The first use case for this token is the Security extension.
Issues Resolved
Fixes #4388
Checklist

[ ] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pausing this for 2.9. If it doesn't get fresh attention between release cycles, it will be an issue for 2.10.

Pushed to 2.10.

@RyanL1997 I'm getting near to completing a rough draft for OBO authentication. A few questions remain:

Has anything changed in configuration/usage since the documentation issue #4388 was created?
You can see I've created some questions in comments (inline with text in "Files changed"). Basically they have to do with authc configuration in the config.yml file (see changes). The JWT auth domain doesn't appear to require an encryption_key setting in its configuration. Is there a special use here for OBO? Are there additional configuration settings for OBO that carry over from a JWT domain configuration (e.g., challenge to false, the jwt_header, set authentication_backend type to noop)?
I'm not quite clear on the "Roles in OBO's Payload" section in the documentation issue. What is this about? Where is this configured? Is there more information somewhere about the part this plays in OBO and how it's used?

Thanks.


Override strings

Hi,
How can I override some translations?
Override some translations to prevent it wont overwritten with updates

Solved: make translation in
/app/design/frontend/Yourtheme/default/i18n/nl_NL.csv


js cause no respond with Bootstrap Darkroom

I like Bootstrap Darkroom theme,but I found Bootstrap Darkroom no respond if the photos quantity more than 1000,firefox report some js cause page slow,it work well if you change to other theme like Bootstrap(without Darkroom),or you delete the most photos and keep a small photo quantity,Bootstrap Darkroom work again.
the demo website like below,it's slowly when you click any photo to detail page.
http://cunsong.com/index.php?/category/2

This is a known issue, especially on servers with low processing power for the database. You can disable Slick carousel and PhotoSwipe which will avoid that heavy query needed for them to work, or tune your database (InnoDB buffer pool, query cache) so it can handle it in a timely manner.

Hello tkuther,thanks for your kind reply,and it work well after I disable Slick carousel and PhotoSwipe,it's really a simple way to solve my issue,this is my first issue at github,I appreciate your professional and help!


🐛  device?.supportsParallelVideoProcessing is true but library fails to init frameProcessor

What were you trying to do?
I wanted to use frameprocessor form the current version of react-native-vision-camera/example.
What happened instead?
device?.supportsParallelVideoProcessing returns true but the frameProcessor fails to initialize with the following error:
[device/parallel-video-processing-not-supported: [device/parallel-video-processing-not-supported] The given LEGACY Camera device does not support parallel video processing ('video={true}' + 'frameProcessor={...}'). Disable either 'video' or 'frameProcessor'. To find out if a device supports parallel video processing, check the 'supportsParallelVideoProcessing' property on the CameraDevice. See https://mrousavy.github.io/react-native-vision-camera/docs/guides/lifecycle#the-supportsparallelvideoprocessing-prop for more information.]
Relevant log output
2021-08-02 12:10:51.419 2057-2210/com.mrousavy.camera.example I/VisionCamera: Initializing FrameProcessorRuntimeManager...
2021-08-02 12:10:51.419 2057-2210/com.mrousavy.camera.example I/VisionCamera: Initializing Vision JS-Runtime...
2021-08-02 12:10:51.422 2057-2210/com.mrousavy.camera.example I/VisionCamera: Initialized Vision JS-Runtime!
2021-08-02 12:10:51.422 2057-2210/com.mrousavy.camera.example I/FrameProcessorRuntime: Installing Frame Processor Plugins...
2021-08-02 12:10:51.422 2057-2210/com.mrousavy.camera.example I/VisionCamera: Installing Frame Processor Plugin "__example_plugin"...
2021-08-02 12:10:51.422 2057-2210/com.mrousavy.camera.example I/FrameProcessorRuntime: Successfully installed 1 Frame Processor Plugins!
2021-08-02 12:10:51.552 2057-2205/com.mrousavy.camera.example I/ReactNativeJNI: received didPause for reason: 0 in state: RunningDetached
2021-08-02 12:10:51.653 2057-2205/com.mrousavy.camera.example D/SoLoader: About to load: libreactnativeblob.so
2021-08-02 12:10:51.654 2057-2205/com.mrousavy.camera.example D/SoLoader: libreactnativeblob.so not found on /data/data/com.mrousavy.camera.example/lib-main
2021-08-02 12:10:51.654 2057-2205/com.mrousavy.camera.example D/SoLoader: libreactnativeblob.so found on /data/app/~~Yf7ywxPn_Ow2NM3XralC6Q==/com.mrousavy.camera.example-RTQSI8aRZxUVTrUL7tpKWg==/lib/arm64
2021-08-02 12:10:51.654 2057-2205/com.mrousavy.camera.example D/SoLoader: Not resolving dependencies for libreactnativeblob.so
2021-08-02 12:10:51.655 2057-2205/com.mrousavy.camera.example D/SoLoader: Loaded: libreactnativeblob.so
2021-08-02 12:10:51.684 2057-2206/com.mrousavy.camera.example I/WebViewFactory: Loading com.google.android.webview version 92.0.4515.115 (code 451511533)
2021-08-02 12:10:51.706 2057-2206/com.mrousavy.camera.example W/.camera.exampl: Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (greylist, reflection, allowed)
2021-08-02 12:10:51.706 2057-2206/com.mrousavy.camera.example W/.camera.exampl: Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (greylist, reflection, allowed)
2021-08-02 12:10:51.706 2057-2206/com.mrousavy.camera.example W/.camera.exampl: Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (greylist, reflection, allowed)
2021-08-02 12:10:51.706 2057-2206/com.mrousavy.camera.example W/.camera.exampl: Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (greylist, reflection, allowed)
2021-08-02 12:10:51.706 2057-2206/com.mrousavy.camera.example W/.camera.exampl: Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (greylist, reflection, allowed)
2021-08-02 12:10:51.709 2057-2206/com.mrousavy.camera.example I/cr_WVCFactoryProvider: Loaded version=92.0.4515.115 minSdkVersion=29 isBundle=true multiprocess=true packageId=2
2021-08-02 12:10:51.724 2057-2206/com.mrousavy.camera.example I/cr_LibraryLoader: Successfully loaded native library
2021-08-02 12:10:51.725 2057-2206/com.mrousavy.camera.example I/cr_CachingUmaRecorder: Flushed 7 samples from 7 histograms.
2021-08-02 12:10:52.007 2057-2205/com.mrousavy.camera.example I/VisionCamera: Installing JSI bindings...
2021-08-02 12:10:52.007 2057-2205/com.mrousavy.camera.example I/VisionCamera: Finished installing JSI bindings!
2021-08-02 12:10:52.050 1753-2127/? D/ConnectivityService: NetReassign [no changes]
2021-08-02 12:10:52.431 2057-2057/com.mrousavy.camera.example D/SoLoader: About to load: libyoga.so
2021-08-02 12:10:52.432 2057-2057/com.mrousavy.camera.example D/SoLoader: libyoga.so not found on /data/data/com.mrousavy.camera.example/lib-main
2021-08-02 12:10:52.432 2057-2057/com.mrousavy.camera.example D/SoLoader: libyoga.so found on /data/app/~~Yf7ywxPn_Ow2NM3XralC6Q==/com.mrousavy.camera.example-RTQSI8aRZxUVTrUL7tpKWg==/lib/arm64
2021-08-02 12:10:52.432 2057-2057/com.mrousavy.camera.example D/SoLoader: Not resolving dependencies for libyoga.so
2021-08-02 12:10:52.433 2057-2057/com.mrousavy.camera.example D/SoLoader: Loaded: libyoga.so
2021-08-02 12:10:52.438 2057-2205/com.mrousavy.camera.example I/ReactNativeJS: Running "CameraPage" with {"initialProps":{"componentId":"Component1"},"rootTag":1}
2021-08-02 12:10:52.562 1753-1753/? W/WindowManager: removeWindowToken: Attempted to remove non-existing token: android.os.Binder@a49ed1e
2021-08-02 12:10:52.640 2057-2205/com.mrousavy.camera.example I/ReactNativeJS: re-rendering camera page without active camera
2021-08-02 12:10:52.824 2057-2057/com.mrousavy.camera.example I/ReactNative: [GESTURE HANDLER] Initialize gesture handler for root view com.reactnativenavigation.react.ReactView{90fcc62 V.E...... ......ID 0,0-1080,2296 #1}
2021-08-02 12:10:52.841 2057-2057/com.mrousavy.camera.example D/ExtenderVersion: No versioning extender found. Falling back to default.
2021-08-02 12:10:52.859 2057-2228/com.mrousavy.camera.example I/CameraManagerGlobal: Connecting to camera service
2021-08-02 12:10:52.861 1151-2072/? W/ServiceManager: Permission failure: android.permission.CAMERA_OPEN_CLOSE_LISTENER from uid=10378 pid=2057
2021-08-02 12:10:52.875 2057-2228/com.mrousavy.camera.example D/CameraRepository: Added camera: 0
2021-08-02 12:10:52.891 2057-2228/com.mrousavy.camera.example I/Camera2CameraInfo: Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_FULL
2021-08-02 12:10:52.892 2057-2228/com.mrousavy.camera.example D/CameraRepository: Added camera: 1
2021-08-02 12:10:52.893 2057-2228/com.mrousavy.camera.example I/Camera2CameraInfo: Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_FULL
2021-08-02 12:10:52.893 2057-2228/com.mrousavy.camera.example D/CameraValidator: Verifying camera lens facing on sunfish, lensFacingInteger: null
2021-08-02 12:10:53.014 2057-2057/com.mrousavy.camera.example W/CameraView: CameraViewModule::getAvailableCameraDevices took: 226 ms
2021-08-02 12:10:53.060 2057-2205/com.mrousavy.camera.example I/ReactNativeJS: Re-rendering camera page with active camera. Device: "back (0)" (4000x2000 @ 30fps)
2021-08-02 12:10:53.094 1003-1003/? I/sensors-hal: [hal]flush_physical_sensor:320, android.sensor.accelerometer/11
2021-08-02 12:10:53.094 1003-1003/? I/sensors-hal: [hal]flush_physical_sensor:326, android.sensor.accelerometer/11 completed
2021-08-02 12:10:53.095 2057-2057/com.mrousavy.camera.example D/CameraView: Lifecycle went from INITIALIZED -> CREATED (isActive: true | isAttachedToWindow: false)
2021-08-02 12:10:53.129 2057-2205/com.mrousavy.camera.example I/ReactNativeJS: Re-rendering camera page with active camera. Device: "back (0)" (4000x2000 @ 30fps)
2021-08-02 12:10:53.165 2057-2057/com.mrousavy.camera.example D/CameraView: Lifecycle went from CREATED -> RESUMED (isActive: true | isAttachedToWindow: true)
2021-08-02 12:10:53.176 3308-3332/? D/DeviceStateHelper: Audo mode: 0
2021-08-02 12:10:53.178 3308-3332/? D/DeviceStateHelper: Audo mode: 0
2021-08-02 12:10:53.185 2057-2057/com.mrousavy.camera.example D/CameraView: Lifecycle went from RESUMED -> RESUMED (isActive: true | isAttachedToWindow: true)
2021-08-02 12:10:53.185 2057-2057/com.mrousavy.camera.example I/CameraView: Configuring session...
2021-08-02 12:10:53.186 2057-2057/com.mrousavy.camera.example I/CameraView: Configuring session with Camera ID 0 and custom format...
2021-08-02 12:10:53.192 2057-2057/com.mrousavy.camera.example I/CameraView: Using custom format - photo: 1920x1080, video: 1920x1080 @ 30 FPS
2021-08-02 12:10:53.192 2057-2057/com.mrousavy.camera.example I/CameraView: Setting AE_TARGET_FPS_RANGE to 30-30, and SENSOR_FRAME_DURATION to 0
2021-08-02 12:10:53.192 2057-2057/com.mrousavy.camera.example I/CameraView: Adding VideoCapture use-case...
2021-08-02 12:10:53.196 2057-2205/com.mrousavy.camera.example I/VisionCamera: Setting new Frame Processor...
2021-08-02 12:10:53.197 2057-2205/com.mrousavy.camera.example D/FrameProcessorRuntime: finding view 25...
2021-08-02 12:10:53.197 2057-2205/com.mrousavy.camera.example D/FrameProcessorRuntime: found view 25! is null: false
2021-08-02 12:10:53.197 2057-2205/com.mrousavy.camera.example I/VisionCamera: Found CameraView!
2021-08-02 12:10:53.197 2057-2205/com.mrousavy.camera.example I/VisionCamera: Adapting Shareable value from function (conversion to worklet)...
2021-08-02 12:10:53.197 2057-2205/com.mrousavy.camera.example I/VisionCamera: Successfully created worklet!
2021-08-02 12:10:53.200 2057-2210/com.mrousavy.camera.example I/VisionCamera: Frame Processor set!
2021-08-02 12:10:53.201 2057-2057/com.mrousavy.camera.example I/CameraView: Tried to add photo use-case (`photo={true}`) but the Camera device only supports a single use-case at a time. Falling back to Snapshot capture.
2021-08-02 12:10:53.202 2057-2057/com.mrousavy.camera.example I/CameraView: Adding ImageAnalysis use-case...
2021-08-02 12:10:53.207 2057-2057/com.mrousavy.camera.example I/CameraView: Attaching 2 use-cases...
2021-08-02 12:10:53.220 2057-2057/com.mrousavy.camera.example E/CameraView: Failed to configure session: No supported surface combination is found for camera device - Id : 0.  May be attempting to bind too many use cases. Existing surfaces: [] New configs: [androidx.camera.core.impl.PreviewConfig@1956282, androidx.camera.core.impl.ImageAnalysisConfig@1a7b1d0, androidx.camera.core.impl.VideoCaptureConfig@32abd93]
2021-08-02 12:10:53.225 2057-2057/com.mrousavy.camera.example E/CameraView: update() threw: [device/parallel-video-processing-not-supported] The given LEGACY Camera device does not support parallel video processing (`video={true}` + `frameProcessor={...}`). Disable either `video` or `frameProcessor`. To find out if a device supports parallel video processing, check the `supportsParallelVideoProcessing` property on the CameraDevice. See https://mrousavy.github.io/react-native-vision-camera/docs/guides/lifecycle#the-supportsparallelvideoprocessing-prop for more information.
2021-08-02 12:10:53.225 2057-2057/com.mrousavy.camera.example E/CameraView: invokeOnError(...):
2021-08-02 12:10:53.225 2057-2057/com.mrousavy.camera.example W/System.err: com.mrousavy.camera.ParallelVideoProcessingNotSupportedError: [device/parallel-video-processing-not-supported] The given LEGACY Camera device does not support parallel video processing (`video={true}` + `frameProcessor={...}`). Disable either `video` or `frameProcessor`. To find out if a device supports parallel video processing, check the `supportsParallelVideoProcessing` property on the CameraDevice. See https://mrousavy.github.io/react-native-vision-camera/docs/guides/lifecycle#the-supportsparallelvideoprocessing-prop for more information.
2021-08-02 12:10:53.225 2057-2057/com.mrousavy.camera.example W/System.err:     at com.mrousavy.camera.CameraView.configureSession(CameraView.kt:442)
2021-08-02 12:10:53.225 2057-2057/com.mrousavy.camera.example W/System.err:     at com.mrousavy.camera.CameraView.access$configureSession(CameraView.kt:62)
2021-08-02 12:10:53.225 2057-2057/com.mrousavy.camera.example W/System.err:     at com.mrousavy.camera.CameraView$update$1$1.invokeSuspend(CameraView.kt:275)
2021-08-02 12:10:53.225 2057-2057/com.mrousavy.camera.example W/System.err:     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2021-08-02 12:10:53.225 2057-2057/com.mrousavy.camera.example W/System.err:     at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2021-08-02 12:10:53.225 2057-2057/com.mrousavy.camera.example W/System.err:     at android.os.Handler.handleCallback(Handler.java:938)
2021-08-02 12:10:53.225 2057-2057/com.mrousavy.camera.example W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:99)
2021-08-02 12:10:53.225 2057-2057/com.mrousavy.camera.example W/System.err:     at android.os.Looper.loop(Looper.java:223)
2021-08-02 12:10:53.225 2057-2057/com.mrousavy.camera.example W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:7664)
2021-08-02 12:10:53.225 2057-2057/com.mrousavy.camera.example W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
2021-08-02 12:10:53.225 2057-2057/com.mrousavy.camera.example W/System.err:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
2021-08-02 12:10:53.225 2057-2057/com.mrousavy.camera.example W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
2021-08-02 12:10:53.226 2057-2057/com.mrousavy.camera.example W/System.err: Caused by: java.lang.IllegalArgumentException: No supported surface combination is found for camera device - Id : 0.  May be attempting to bind too many use cases. Existing surfaces: [] New configs: [androidx.camera.core.impl.PreviewConfig@1956282, androidx.camera.core.impl.ImageAnalysisConfig@1a7b1d0, androidx.camera.core.impl.VideoCaptureConfig@32abd93]
2021-08-02 12:10:53.226 2057-2057/com.mrousavy.camera.example W/System.err:     at androidx.camera.lifecycle.LifecycleCameraRepository.bindToLifecycleCamera(LifecycleCameraRepository.java:278)
2021-08-02 12:10:53.226 2057-2057/com.mrousavy.camera.example W/System.err:     at androidx.camera.lifecycle.ProcessCameraProvider.bindToLifecycle(ProcessCameraProvider.java:457)
2021-08-02 12:10:53.226 2057-2057/com.mrousavy.camera.example W/System.err:     at androidx.camera.lifecycle.ProcessCameraProvider.bindToLifecycle(ProcessCameraProvider.java:289)
2021-08-02 12:10:53.226 2057-2057/com.mrousavy.camera.example W/System.err:     at com.mrousavy.camera.CameraView.configureSession(CameraView.kt:427)
2021-08-02 12:10:53.226 2057-2057/com.mrousavy.camera.example W/System.err: 	... 11 more
2021-08-02 12:10:53.250 2057-2205/com.mrousavy.camera.example E/ReactNativeJS: { [device/parallel-video-processing-not-supported: [device/parallel-video-processing-not-supported] The given LEGACY Camera device does not support parallel video processing (`video={true}` + `frameProcessor={...}`). Disable either `video` or `frameProcessor`. To find out if a device supports parallel video processing, check the `supportsParallelVideoProcessing` property on the CameraDevice. See https://mrousavy.github.io/react-native-vision-camera/docs/guides/lifecycle#the-supportsparallelvideoprocessing-prop for more information.]
      name: 'device/parallel-video-processing-not-supported',
      _code: 'device/parallel-video-processing-not-supported',
      _message: '[device/parallel-video-processing-not-supported] The given LEGACY Camera device does not support parallel video processing (`video={true}` + `frameProcessor={...}`). Disable either `video` or `frameProcessor`. To find out if a device supports parallel video processing, check the `supportsParallelVideoProcessing` property on the CameraDevice. See https://mrousavy.github.io/react-native-vision-camera/docs/guides/lifecycle#the-supportsparallelvideoprocessing-prop for more information.',
      _cause:
       { stacktrace: 'java.lang.IllegalArgumentException: No supported surface combination is found for camera device - Id : 0.  May be attempting to bind too many use cases. Existing surfaces: [] New configs: [androidx.camera.core.impl.PreviewConfig@1956282, androidx.camera.core.impl.ImageAnalysisConfig@1a7b1d0, androidx.camera.core.impl.VideoCaptureConfig@32abd93]\n\tat androidx.camera.lifecycle.LifecycleCameraRepository.bindToLifecycleCamera(LifecycleCameraRepository.java:278)\n\tat androidx.camera.lifecycle.ProcessCameraProvider.bindToLifecycle(ProcessCameraProvider.java:457)\n\tat androidx.camera.lifecycle.ProcessCameraProvider.bindToLifecycle(ProcessCameraProvider.java:289)\n\tat com.mrousavy.camera.CameraView.configureSession(CameraView.kt:427)\n\tat com.mrousavy.camera.CameraView.access$configureSession(CameraView.kt:62)\n\tat com.mrousavy.camera.CameraView$update$1$1.invokeSuspend(CameraView.kt:275)\n\tat kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)\n\tat kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)\n\tat android.os.Handler.handleCallback(Handler.java:938)\n\tat android.os.Handler.dispatchMessage(Handler.java:99)\n\tat android.os.Looper.loop(Looper.java:223)\n\tat android.app.ActivityThread.main(ActivityThread.java:7664)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)\n',
         message: 'No supported surface combination is found for camera device - Id : 0.  May be attempting to bind too many use cases. Existing surfaces: [] New configs: [androidx.camera.core.impl.PreviewConfig@1956282, androidx.camera.core.impl.ImageAnalysisConfig@1a7b1d0, androidx.camera.core.impl.VideoCaptureConfig@32abd93]' } }
2021-08-02 12:10:53.383 2057-2247/com.mrousavy.camera.example D/SoLoader: About to load: libimagepipeline.so
2021-08-02 12:10:53.384 2057-2247/com.mrousavy.camera.example D/SoLoader: libimagepipeline.so not found on /data/data/com.mrousavy.camera.example/lib-main
2021-08-02 12:10:53.384 2057-2247/com.mrousavy.camera.example D/SoLoader: libimagepipeline.so found on /data/app/~~Yf7ywxPn_Ow2NM3XralC6Q==/com.mrousavy.camera.example-RTQSI8aRZxUVTrUL7tpKWg==/lib/arm64
2021-08-02 12:10:53.385 2057-2247/com.mrousavy.camera.example D/SoLoader: Not resolving dependencies for libimagepipeline.so
2021-08-02 12:10:53.386 2057-2247/com.mrousavy.camera.example D/SoLoader: Loaded: libimagepipeline.so

Device
Pixel 4a
VisionCamera Version
latest master
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

Hi! Thanks for the bug report. Could you try opening Android Studio and place a breakpoint in that line:
https://github.com/mrousavy/react-native-vision-camera/blob/43f5a735a5459c7dad70ee8f5bc6eada0efc6cd2/android/src/main/java/com/mrousavy/camera/CameraView.kt#L138
Then as soon as the breakpoint gets hit, please tell me what value the hardwareLevel value has.

You're just running the example/ right? Everything works fine if you disable photo and/or video?

I'm indeed only running the example and it only works if I disable video. Disabling photo or audio or any combination not video does not work.

Hi, @mrousavy @Kypsis are there any updates on this issue 🐛 ? Thank you 🙌🏻

Hi! Sorry, no update from my side, I've been really busy with contracting. I'd love to review and merge a PR that fixes this, not entirely sure what's causing this but I can give pointers if you want to debug this.

I have the same issue for Android 11 Xiaomi Redmi Note 8 Pro

@Kypsis did you resolve the problem?

+1 same issue for Oppo A1k

+1 samsung s22 ultral
+1 samsung s22+
i think samsung device have this problem.

@TuJobs what react-native version are you using?

@HorbachAndrii it's react-native": "0.68.2

I am running into this same problem on a Google Pixel 6a with the example app. Has there been any movement on this?

@TuJobs @TensionCoding did you resolve the problem? I am having it running the example app.

Hey! I've rewritten the entire Android codebase of VisionCamera from CameraX to Camera2 in the efforts of ✨ VisionCamera V3.
I just now completed the Camera2 rewrite and I believe the core structure is running, but there might be some edge cases to iron out. Can you try and test the PR #1674 for me to see if you can still reproduce this issue here?
Here's an instruction on how you can test that: https://github.com/mrousavy/react-native-vision-camera/pull/1674#issuecomment-1684104217
If the issue cannot be reproduced with that version/PR anymore, then hoorayy, I fixed it! 🎉
Otherwise please let me know and I'll keep this issue open to keep track of it.
Thank you!


Add check for outline glitches

Observed behaviour
https://github.com/googlefonts/noto-source/issues/245 has an outline glitch
Expected behaviour
I wonder if there is some way to detect it.

It’s going to be very difficult to distinguish a cut like that from an ink trap.

Here’s an idea: take every pair of successive segments and treat them as a sub path. Close the sub path with a line segment and calculate the area. If the area is less than epsilon, there is a glitch.

FontBakery v0.12.9
I'm getting a lot of false positives on the com.google.fonts/check/outline_jaggy_segments check. In very large families double checking all the warnings to ensure if any are actually affecting output can become very cumbersome and time consuming. Is there a way we can make this algorithm more efficient?
The algorithm in its current state might flag mild to extreme condensed designs.
Some examples:

⚠ WARN The following glyphs have jaggy segments:

M (U+004D): L<<276.0,86.0>--<163.0,592.0>>/L<<163.0,592.0>--<163.0,143.0>> = 12.588740511051117
M (U+004D): L<<584.0,143.0>--<584.0,592.0>>/L<<584.0,592.0>--<443.0,0.0>> = 13.396859158897033
trademark (U+2122): L<<586.0,400.0>--<519.0,664.0>>/L<<519.0,664.0>--<519.0,434.0>> = 14.2403237429406

Warning 1 'M': is related to the selected segments in the image below:

Warning 2 'M': is related to the selected segments in the image below:

Warning 3 'trademark': is related to the selected segments in the image below:


[Feature request] Protect cookies

I've been using editthiscookie for years for the sole purpose of protecting individual login or pref cookies from being deleted when cookies are cleared. It recently quit working, so I've been trying all the alternative cookie managers, and none seem to be capable of protecting individual cookies AFAICT. Yours has a lock icon, so I was optimistic, but it seems to be just an indicator for "secure".

Thanks for the feedback, I like the idea. I will look into implementing this when I have some spare time :)

Wow, sorry this took so long to implement but I did not find much time to work on this project. That being said, I just released v2.0.0 and this feature is implemented in that release alongside blocking cookies and much more. Just waiting for chrome to approve the update.

Better late than never! Only tested briefly, but protecting cookies seems pretty flawless so far.
I've been using a locally modified version of SyncMyCookie, which is nowhere near as convenient, since it only initializes cookies on browser/window launch, and I've never gotten around to improving it in that aspect.
One major bonus I've noticed since using SyncMyCookie though, has been the ability to dynamically update "protected/saved" cookies. Some sites may require refreshed values for user session cookies to keep working correctly, or some pref cookies may add additional pref values to the same cookie.
More often than not, if the expiration/session is modified, you want those locked in, if protected, but there'll be many instances where it's useful to be able to allow the cookie's actual value to update dynamically.

I am really glad you like it and thank you for testing it before it releases to the chrome store, it is much appreciated! As far as allowing values to change on a protected cookie, it is an interesting idea but might get confusing. It would need to be two separate things in my opinion. I will try to revisit this idea on my next sprint! Thanks again for using the extension and providing your feedback!
P.S. It would be great if you can leave a review on the chrome webstore :)
https://chrome.google.com/webstore/detail/milk-—-cookie-manager/haipckejfdppjfblgondaakgckohcihp

It would be great if you can leave a review on the chrome webstore

Done. Used the dev account for credibility, since all my throwaways have absurd names. =)


Force LF line endings (fixes #580)

\cc @AlexanderMoskovkin @kirovboris
@DevExpress/testcafe FYI: please, rebase all pending PRs on top of this one once it gets merged. Also, you will need to change line endings locally, to do so, run steps described in https://help.github.com/articles/dealing-with-line-endings/ to peek up new line endings from .gitattributes file

lgtm

lgtm

I will do same in hammerhead repository.


[WFRP4e Core] empty "Earning Skill" for all Tiers of Aide

All tiers of Advisor (Aide/Advisor/Counsellor/Chancellor) have not earning skill fileld inFrom: Christophwfrp4e: 3.3.3wfrp4e-core: 1.2.0wfrp4e-rnhd: 1.3.0wfrp4e-starter-set: 1.3.0

Christoph here again.
Just randomly clicked on some carrers and found some more empty fields for earning skill:
Custodian/Warden/Seneschal/Governor - all tiers of Warden Career.
Zealot/Flaggelant/Penitent/Prohet of Doom - all tiers of Flaggelant.

Christoph here again.
Just randomly clicked on some carrers and found some more empty fields for earning skill:
Custodian/Warden/Seneschal/Governor - all tiers of Warden Career.
Zealot/Flaggelant/Penitent/Prohet of Doom - all tiers of Flaggelant.

Flagellant is not an error.

Flagellant is not an error.


Upgrading from 1.21.7 to 1.21.8, Gitea doesn't start, container crash looping

Description
I am running Gitea 1.21.7 in Docker via Docker Compose (external Postgres database). I upgraded to 1.21.8 and the container is crashing in a loop. Usually it gives some sort of hint as to why it crashed, but I don't see anything here.
Server listening on :: port 22.
Server listening on <IP_ADDRESS> port 22.
2024/03/20 15:54:34 cmd/web.go:242:runWeb() [I] Starting Gitea on PID: 16
2024/03/20 15:54:34 cmd/web.go:111:showWebStartupMessage() [I] Gitea version: 1.21.8 built with GNU Make 4.4.1, go1.21.8 : bindata, timetzdata, sqlite, sqlite_unlock_notify
2024/03/20 15:54:34 cmd/web.go:112:showWebStartupMessage() [I] * RunMode: prod
2024/03/20 15:54:34 cmd/web.go:113:showWebStartupMessage() [I] * AppPath: /usr/local/bin/gitea
2024/03/20 15:54:34 cmd/web.go:114:showWebStartupMessage() [I] * WorkPath: /data/gitea
2024/03/20 15:54:34 cmd/web.go:115:showWebStartupMessage() [I] * CustomPath: /data/gitea
2024/03/20 15:54:34 cmd/web.go:116:showWebStartupMessage() [I] * ConfigFile: /data/gitea/conf/app.ini
2024/03/20 15:54:34 cmd/web.go:117:showWebStartupMessage() [I] Prepare to run web server
2024/03/20 15:54:34 routers/init.go:112:InitWebInstalled() [I] Git version: 2.40.1, Wire Protocol Version 2 Enabled (home: /data/gitea/home)
Received signal 15; terminating.
Server listening on :: port 22.
Server listening on <IP_ADDRESS> port 22.
2024/03/20 15:55:35 cmd/web.go:242:runWeb() [I] Starting Gitea on PID: 15
2024/03/20 15:55:35 cmd/web.go:111:showWebStartupMessage() [I] Gitea version: 1.21.8 built with GNU Make 4.4.1, go1.21.8 : bindata, timetzdata, sqlite, sqlite_unlock_notify
2024/03/20 15:55:35 cmd/web.go:112:showWebStartupMessage() [I] * RunMode: prod
2024/03/20 15:55:35 cmd/web.go:113:showWebStartupMessage() [I] * AppPath: /usr/local/bin/gitea
2024/03/20 15:55:35 cmd/web.go:114:showWebStartupMessage() [I] * WorkPath: /data/gitea
2024/03/20 15:55:35 cmd/web.go:115:showWebStartupMessage() [I] * CustomPath: /data/gitea
2024/03/20 15:55:35 cmd/web.go:116:showWebStartupMessage() [I] * ConfigFile: /data/gitea/conf/app.ini
2024/03/20 15:55:35 cmd/web.go:117:showWebStartupMessage() [I] Prepare to run web server
2024/03/20 15:55:35 routers/init.go:112:InitWebInstalled() [I] Git version: 2.40.1, Wire Protocol Version 2 Enabled (home: /data/gitea/home)
Received signal 15; terminating.

When I downgrade to 1.21.7, I have no issues.
Server listening on :: port 22.
Server listening on <IP_ADDRESS> port 22.
2024/03/20 15:56:26 cmd/web.go:242:runWeb() [I] Starting Gitea on PID: 19
2024/03/20 15:56:26 cmd/web.go:111:showWebStartupMessage() [I] Gitea version: 1.21.7 built with GNU Make 4.4.1, go1.21.7 : bindata, timetzdata, sqlite, sqlite_unlock_notify
2024/03/20 15:56:26 cmd/web.go:112:showWebStartupMessage() [I] * RunMode: prod
2024/03/20 15:56:26 cmd/web.go:113:showWebStartupMessage() [I] * AppPath: /usr/local/bin/gitea
2024/03/20 15:56:26 cmd/web.go:114:showWebStartupMessage() [I] * WorkPath: /data/gitea
2024/03/20 15:56:26 cmd/web.go:115:showWebStartupMessage() [I] * CustomPath: /data/gitea
2024/03/20 15:56:26 cmd/web.go:116:showWebStartupMessage() [I] * ConfigFile: /data/gitea/conf/app.ini
2024/03/20 15:56:26 cmd/web.go:117:showWebStartupMessage() [I] Prepare to run web server
2024/03/20 15:56:26 routers/init.go:112:InitWebInstalled() [I] Git version: 2.40.1, Wire Protocol Version 2 Enabled (home: /data/gitea/home)

Gitea Version
1.21.8
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Debian 11
How are you running Gitea?
Docker via docker-compose
Database
PostgreSQL

could you provide DEBUG logs rather than INFO as this should provide insight into when or why it is terminating

Found it, thanks! I was a special character in my mailer section. It must have been one of the brackets [ or ] or < or > that isn't compatible with 1.21.8. I removed it and it's working now, thanks!
2024/03/20 19:26:34 ...es/setting/mailer.go:214:loadMailerFrom() [F] Invalid mailer.FROM ([Alert from Gitea] <donotreply@mydomain.com>): mail: missing word in phrase: mail: invalid string


Documentation does not match components

I encountered that the properties of the Link component do not correspond to the documentation on the site https://gravity-ui.com/components/uikit/link
Previously, the href property was optional and this was indicated in the documentation, but with pr https://github.com/gravity-ui/uikit/pull/1270 this has changed.
There is no documentation for version 6.15.0 and it is a bit misleading.

@SimbiozizV Hey! It is indicated here, but there is one inaccuracy in properties table, we will fix it


Support redis as event store

Fixes ISSUE#389.
Motivation
Support redis as event store use publish/subscribe
Modifications
Describe the modifications you've done.
Added eventmesh-connector-plugin:eventmesh-connector-redis module
Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? ( JavaDocs )
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@jjz921024   hello, there is a Chinese comment in the project. And supplement the test case for normal operation.

@jjz921024 Could you please setup a design description just like https://github.com/apache/incubator-eventmesh/blob/develop/docs/en/features/eventmesh-stream-design.md , so that we can discuss on it.


Handling bloom prefix.

What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

Great :tada: do you plan to publish a new release soon?


False Positive: AWS Opensearch domain is reported as publicly accessible when Opensearch is within VPC

Steps to Reproduce
An Amazon Opensearch service domain within a VPC.
Running prowler reports that Opensearch domain {domain.name} policy allows access (Principal: '*').
python -m prowler aws -c opensearch_service_domains_not_publicly_accessible
Expected behavior
Prowler should either detect that the service domain is running within a VPC (and therefore is not inherently publicly accessible), or provide a false-positive notice.
Actual Result with Screenshots or Logs
{
...
 "severity_id": 5,
 "severity": "Critical",
 "status": "New",
 "status_code": "FAIL",
 "status_detail": "Opensearch domain test-es policy allows access (Principal: '*').",
 "status_id": 1,
...
}

How did you install Prowler?
From pip package (pip install prowler)
Environment Resource
Workstation
OS used
Kali Linux
Prowler version
4.2.4
Pip version
24.0
Context
You can't apply IP-based access policies to domains that reside within a VPC because security groups already enforce IP-based access policies.
Reference

Hey! @huner2 how are you? We are investigating this issue right now. Once that a decission it's taken we will reach you with a solution / update. Thanks for using Prowler! 😄

Hey @pedrooot is this issue some to big that I could help out with. Or is the prowler team already got it covered?
Thanks

Hello @abant07, currently @puchy22 is working on this issue.
Thanks for offering a hand on this.

No worries,
Do you guys have any specific issues that I could work on?
Thanks

Hi @huner2,
I have addressed the case you mentioned in this PR. Could you please review the changes and let me know if they meet your requirements or if further modifications are needed?
Thank you for using Prowler! 🚀

Thank you @puchy22, after reviewing the PR I think it looks great.  All requirements are met!


Ensure that Maven plugin can use password / username to download contracts

I have a problem and I don't know if it is related with this one. Perhaps you can tell.
When I use the annotation AutoConfigureStubRunner in online mode, I just pass the properties stubrunner.username and stubrunner.password and everything is ok.
But when I use StubRunnerRule I cannot make it work, I tried with system properties and also with StubRunnerOptionsBuilder().withUsername("xxx").withPassword("xxx").build()

Which version are you using? Also, can you show how exactly you use it?

Perhaps this could be created a separate issue. Either case, do you think that a workaround will be possible?

I investigated a bit more and I was able to reproduce this at home. I set up a Nexus repository in my laptop using some Docker image and configured it to not have anonymous access to repos.
The problem is as I described before, with annotation AutoConfigureStubRunner works, with ClassRule doesn't work.
I then enabled anonymous access to repos, and both annotation AutoConfigureStubRunner and ClassRule worked.
I would like to investigate deeper in Spring source code but my knowledge of the Spring framework is more on the usage level, I don't have skills to do this alone or without guidance.

So when you passed the creds via system properties it didn't work right? Can you paste the dockerfile you've created for the test?

Right, when using ClassRule the credentials via system properties does not work. Also doesn't work with StubRunnerOptionsBuilder when trying to set credentials.
I used a Docker image available in https://github.com/sonatype/docker-nexus but I needed to do some administration on it manually after it started (like disabling anonymous user, setting a user/pass for read access). I also deployed there some stubs jar using spring-cloud-contract-maven-plugin.
So this is not a ready made image built to simulate the problem.

Can you ping me on gitter about this - https://gitter.im/marcingrzejszczak ?

Seems gitter is blocked at my work...

Can you send me an email then? mgrzejszczak (at) pivotal (dot) io ?

I've moved the StubRunnerRule issue here - https://github.com/spring-cloud/spring-cloud-contract/issues/466 . I've managed to replicate the problem locally


math module

Adding the math module to silx.

Question: does the PR trigger the continuous integration ?
the code looks good  to me but it would be cool to have green light for merging (i.e. no test broken & documentation builds)

It looks like it does trigger it.
In the PR list there's a green tick next to the PR. If you click on it you can see the results (build and conflicts).

Travis (for Linux, python 2.7, 3.4, 3.5 and Mac OS X, python 2.7) and appveyor (Windows, python 2.7 and 3.5) are watching the project since previous PR.
But nothing is testing the doc is actually building...

Looks good to me

The authors are the physical persons writting the code, which is not necessarily the person that did the commit, so we are adding a authors field.
During your work hour, the copyright owner is your employer cited in the license header.


Links not working

Hello, this is not a code related issue, but the links seem to be unavailable. Are there some new links that can be shared? Thank you.

Thanks, fixed!


Testing with mongoengine

Is it possible to use this library to test mongoengine?
Here is a preliminary test:
def test_something(mongodb: Database):
    print(f"type(mongodb.user)\t->\t{type(mongodb.user)}")
    print(f"mongodb.user.count()\t->\t{mongodb.user.count()}")
    print(f"type(User.objects()\t->\t{type(User.objects())}")
    print(f"User.objects().count()\t->\t{User.objects().count()}")
    print(f"type(User)\t->\t{type(User)}")
    print(f"{mongodb.list_collection_names()}")
    print(mongodb.client)
    print(User._get_collection_name())
    for i in User.objects():
        print(f"type(user object)\t->\t{type(i)}")
        print(I)

Output:
tests/services/test_announcement.py ....type(mongodb.user)      ->      <class 'mongomock.collection.Collection'>
mongodb.user.count()    ->      15726
type(User.objects()     ->      <class 'mongoengine.queryset.queryset.QuerySet'>
User.objects().count()  ->      1
type(User)      ->      <class 'modules.mongoengine_extensions.IndexDocumentsMeta'>
['user', 'venue', 'players']
mongomock.MongoClient('localhost', 27017)
user
type(user object)       ->      <class 'src.models.model.User'>
User object

As we can see above mongodb.user.count()  is 15726 but User.objects().count() is 1.
How do I make the mongoengine documents work with pytest-mongodb?

To be honest, I don't know. If not been working with MongoDB under Python for quite some time, and I currently don't have the time to investigate this. I would very much appreciate a pull-request if you figure it out.


Hotfix/json auto type

[ ] I have registered the PR changes.

Ⅰ. Describe what this PR did
FIX 5633
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

 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.16 out of 17 committers have signed the CLA.:white_check_mark: GoodBoyCoder:white_check_mark: renliangyu857:white_check_mark: isharpever:white_check_mark: mxsm:white_check_mark: a364176773:white_check_mark: liuqiufeng:white_check_mark: l81893521:white_check_mark: ZhangShiYeChina:white_check_mark: slievrly:white_check_mark: zsp419:white_check_mark: dmego:white_check_mark: wangliang181230:white_check_mark: tuwenlin:white_check_mark: Bughue:white_check_mark: pengten:white_check_mark: PeppaO:x: yixiayixia 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.

@wt-better sign the CLA.

ok


[Support] nginx upstream timed out

Maybe someone has an idea.  I have run a load test with artillery and we do not get over approx 1000 connections. Then nginx starts throwing following errors:
upstream timed out (110: Connection timed out) while proxying upgraded connection
or
upstream timed out (110: Connection timed out) while reading response header from upstream
Everything should be configured according to https://beyondco.de/docs/laravel-websockets/faq/deploying. Could we have done something wrong here? Unfortunately I can't really assign the error.
This is what the websocket part of our nginx config looks like:
location @ws {
  proxy_pass http://<IP_ADDRESS>:6001;
  proxy_set_header host $host;
  proxy_read_timeout 300;
  proxy_connect_timeout 120;
  proxy_redirect off;
  # Allow the use of websockets
  proxy_http_version 1.1;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection 'upgrade';
  proxy_set_header Host $host;
  proxy_cache_bypass $http_upgrade;
}

did you change the event loop or just set ulimit  to a higher value with the correct user?
semi-off-topic: did you write a advanced pusher specific artillery script that also joins channels and sends messages? if yes mind sharing or add a PR to the docs?

The adjustments for supervisor and ulimit were made. However, the event package was not installed correctly. After that we got over 1000 concurrent users, but at about 3000 connections the following error occurred again:
upstream timed out (110: Connection timed out) while proxying upgraded connection
The load of the server was actually always quite low, so I could not really find out where exactly the problem is.
Regarding Artillery I orrientated on this example and played around with the values:
https://ma.ttias.be/benchmarking-websocket-server-performance-with-artillery/. But it only connects users and subscribes to a channel.


[Bug] WeChat in-App browser is recognized as headless browser

That will trigger the headlessbrowser event

3Q, fixed


Missing bindings for drawVertices in Skia-bindings

Code for testing bindings to drawVertices (pushed to branch in my Github repo)
https://github.com/vlidholt/sky_engine/tree/drawVertices
Specific file:
https://github.com/vlidholt/sky_engine/blob/drawVertices/sky/packages/sky/example/game/test_spritemesh.dart
Vik

You landed this, right?


Auto indent: incorrect indentation when pressing enter after the end of an arrow function

VS Code Version: 1.53.2
OS Version: macOS 11.2.1

Steps to Reproduce:
const add1 = (n) =>
    n + 1;

(Arrow functions are frequently formatted in this way by Prettier.)

After the last character on the last line, press enter

Expected: a new line is created without indentation
Actual: a new line is created with indentation

Does this issue occur when all extensions are disabled?: Yes

This has nothing to do with arrow functions. The editor just repeats the previous indentation level, and only cares about brackets I believe. The problem is that there is nothing about indentation in the LSP protocol.
The closest thing would be to look at the folding and have VSCode use the indentation of where the folding region starts, but this doesn't apply everywhere.
What indentation would you expect here?:
const x = array
    .map(n => n+1)

You might say that there is no semicolon so the user obviously intends to chain another array method, so we need indentation.
Then what about users who don't use semicolons? This is ambiguous.
Maybe the solution is to first guess the semicolon preference from the current file. Or maybe we assume it needs indentation, but if the user doesn't type a dot then we dedent the line? The point is, I think this should be a discussion in https://github.com/microsoft/language-server-protocol

Very good points. I don't have any answers unfortunately.

Although I found the place to fix this specific problem, but I'm not sure what to change 😅
https://github.com/microsoft/vscode/blob/bcc49ca4b67723b90e40998a159e18fc4c45dbf9/extensions/typescript-language-features/src/languageFeatures/languageConfiguration.ts#L16-L53

I have noticed that languages that enforce the use of semicolon in the end of a statement also display this issue (I've tried with with Java and C) so it might be worth looking into it.

I've been changing this but nothing is happening for some reason.
I've changed increaseIndentPattern to increaseIndentPattern: / /, and expected that when typing
if(true){
}

If I hit enter right after opening curly braces, no indent increase would happen.
I've been running by opening debug on VS, choosing Launch VS Code from the dropdown, and hitting run.
For some reason, this freezes the VS code window, so I just ctrl + shift + F5 to restart and I manage to open VS code.
Does anyone know what I'm doing wrong in order to test this?

Probably related: https://github.com/microsoft/vscode/issues/209802

Related: https://github.com/microsoft/vscode/issues/209822

Hi @OliverJAsh thank you for posting the issue. This should be fixed with the changes made in this PR https://github.com/microsoft/vscode/pull/208222


feat: use automatically created image repos

Description
This PR will change from using a hard coded repository for JVM build service images, to a repository that is created on demand.
Note that this requires the corresponding infra-deployments branch (https://github.com/stuartwdouglas/infra-deployments/tree/STONEBLD-1354), so should not be merged until this is also in (and this PR is passing).
Issue ticket number and link
https://issues.redhat.com/browse/STONEBLD-1354

/test redhat-appstudio-e2e

/test redhat-appstudio-e2e

/test redhat-appstudio-e2e

/test redhat-appstudio-e2e


feature request: config test command should return more helpful logs

I'm not sure what options are available but this is related to a slack thread https://meltano.slack.com/archives/CMN8HELB0/p1670907167441139 where meltano config tap-google-analytics test was failing and it was hard to figure out what was wrong.
In this case the view_id was expected to be a string but was being passed in as an integer. The error message just says Plugin configuration is invalid with no other context. Eventually we ran the tap with invoke and it showed log messages that explained the misconfiguration singer_sdk.exceptions.ConfigValidationError: Config validation failed: <number> is not of type 'string'.  I also got the same generic Plugin configuration is invalid message when testing a purposefully wrong client secret.
Potentially Helpful Ideas:

Try to re-log the exception. Maybe we can say exactly what part of the json schema didnt pass validation or if the tap is executed we can re-log the exception (although I know thats tricky).
Add a log to the config/test error output about what it means. I.e. "Plugin configuration is invalid. This could be related to a schema violation or because the tap was unable to connect to the source system with provided configs." 🤷
Add a suggestion to try using invoke to see if the tap returns a helpful log about whats misconfigured
The hub tells users to run config/test. Maybe it should also have a note to try running invoke.

cc @menzenski

It's perhaps worth noting that if the --log-level=debug parameter is passed (meltano --log-level=debug config tap-google-analytics test), the same clear error message is written to the logs but it's effectively buried in many other log messages.
2022-12-13T15:41:55.328190Z [debug    ] File "/Users/matt/dev/pudl/src/.meltano/extractors/tap-google-analytics/venv/lib/python3.9/site-packages/singer_sdk/plugin_base.py", line 257, in _validate_config
2022-12-13T15:41:55.328302Z [debug    ] raise ConfigValidationError(summary)
2022-12-13T15:41:55.328374Z [debug    ] singer_sdk.exceptions.ConfigValidationError: Config validation failed: XXXXXXXXX is not of type 'string'
2022-12-13T15:41:55.328452Z [debug    ] JSONSchema was: {'type': 'object', 'properties': {'start_date': {'type': ['string'], 'format': 'date-time', 'description': 'The earliest record date to sync'}, 'view_id': {'type': ['string'], 'description': 'Google Analytics View ID'}, 'client_secrets': {'type': ['object', 'null'], 'properties': {}, 'description': 'Google Analytics Client Secrets Dictionary'}, 'key_file_location': {'type': ['string', 'null'], 'description': 'File Path to Google Analytics Client Secrets'}, 'oauth_credentials': {'type': ['object', 'null'], 'properties': {'access_token': {'type': ['string', 'null'], 'description': 'Google Analytics Access Token'}, 'refresh_token': {'type': ['string', 'null'], 'description': 'Google Analytics Refresh Token'}, 'client_id': {'type': ['string', 'null'], 'description': 'Google Analytics Client ID'}, 'client_secret': {'type': ['string', 'null'], 'description': 'Google Analytics Client Secret'}}, 'description': 'Google Analytics OAuth Credentials'}, 'reports': {'type': ['string', 'null'], 'description': 'Google Analytics Reports Definition'}, 'end_date': {'type': ['string', 'null'], 'description': 'The last record date to sync'}, 'stream_maps': {'type': ['object', 'null'], 'properties': {}, 'description': 'Config object for stream maps capability. For more information check out [Stream Maps](https://sdk.meltano.com/en/latest/stream_maps.html).'}, 'stream_map_config': {'type': ['object', 'null'], 'properties': {}, 'description': 'User-defined config values to be used within map expressions.'}, 'flattening_enabled': {'type': ['boolean', 'null'], 'description': "'True' to enable schema flattening and automatically expand nested properties."}, 'flattening_max_depth': {'type': ['integer', 'null'], 'description': 'The max depth to flatten schemas.'}}, 'required': ['start_date', 'view_id']}
2022-12-13T15:41:55.414234Z [debug    ] Deleted configuration at /Users/matt/dev/pudl/src/.meltano/run/tap-google-analytics/tap.b8c6ff32-c496-4377-a255-ee76580171dd.config.json
2022-12-13T15:41:55.415769Z [debug    ] Need help fixing this problem? Visit http://melta.no/ for troubleshooting steps, or to

Some other thoughts: while the JSON schema does indicate that this field is a string, not an int ('view_id': {'type': ['string'], 'description': 'Google Analytics View ID'}), the type isn't indicated when it's set interactively:

And if I enter nine digits 123123123, it's not coerced to a string. The correct thing for me to do is to enter it with quotes '123123123' here but that's not obvious.

Thanks, @menzenski. This is a known issue but I don't think we had an issue logged for it before now. I've logged it here:

https://github.com/meltano/meltano/issues/7082

Hey, just dropping some thoughts here. :smile:
There is some logic to try and print a meaningful error message, but it is largely dependent on how the extractor is logging and handling errors itself.
Here is where the error is surfaced to the user at the CLI.
https://github.com/meltano/meltano/blob/03d62e0553e4e0b468929766f7fa295ec1b0d889/src/meltano/cli/config.py#L377-L385
Here, any exception that occurs as a result of invoking the extractor is returned as str.
https://github.com/meltano/meltano/blob/03d62e0553e4e0b468929766f7fa295ec1b0d889/src/meltano/core/plugin_test_service.py#L72-L77
Here, if no RECORD message was received then the last non-falsy log line is returned (in the above case, a print-out of the entire JSON schema).
https://github.com/meltano/meltano/blob/03d62e0553e4e0b468929766f7fa295ec1b0d889/src/meltano/core/plugin_test_service.py#L98-L103
The implementation I made is quite crude and could definitely use some refining - @aaronsteers' suggestion seems like the best approach to me.
> meltano invoke tap-google-analytics test
Plugin configuration is invalid
Logs are in .meltano/logs/tap-google-analytics/2022-12-15/00:00:00-6a66822d-b9e2-4231-9f01-8e63790698b5.log

Relates to:

https://github.com/meltano/meltano/issues/7459


Naming pattern files creates error when run

It appears that pattern markdown files can't start with a number, and can't contain a hyphen. If they do it creates an error when you try to run it.

Yes this is by design.

@morgante May I suggest a more helpful error in that case? The error doesn't really indicate that it's because of the filename is named in a "faulty" way.

Agreed. We just fixed this for yaml (https://github.com/getgrit/gritql/pull/151) but should also improve markdown.

Fixed in https://github.com/getgrit/gritql/pull/157


Bug in sfPath

Hello,
My schema looks like below,
{
	"type" : "object",
	"title" : "People",
	"properties" : {
		"people" : {
			"type" : "array",
			"items" : {
				"type" : "object",
                                "default": {
                                        "first_name": "...",
                                        "last_name": "...",
                                        "interests": []
                                },
				"properties" : {
					"first_name" : {
						"title" : "First Name",
						"type" : "string"
					},
					"last_name" : {
						"title" : "Last Name",
						"type" : "string"
					},
					"interests" : {
						"type" : "array",
						"title" : "My interests",
						"items" : {
							"type" : "string",
							"enum" : [
								"books",
								"music",
								"movies"
							]
						}
					}
				},
				"required" : [
					"first_name",
					"last_name",
					"interests"
				]
			}
		}
	}
}

In the form, I am rendering the above with tabarray. I am using sfNewArray with the latest bootstrap decorator (from its development branch). In my global configuration, I have set setSchemaDefaults to true.
When I create a new tab, the model gets created looks like below,
{
"first_name": "...",
"last_name": "...",
"interests": [],
"Undefined": {}
}
I think the below code from sfPath is actually causing the issue.
    if (typeof valueToSet !== 'undefined' &&
        typeof obj[parts[0]] === 'undefined') {
       // We need to look ahead to check if array is appropriate
      obj[parts[0]] = parts.length > 2 && numRe.test(parts[1]) ? [] : {};
    }

I guess there should be an additional test of if(parts.length > 0) in the above if statement.

Just a note, it works fine if I list the default value on individual schema properties. Is that the correct way of defining the schema?


Add context_type to tell chansend1 or selectnbsend

I don't know why goroutine id is zero in  uprobe/runtime.{chansend1,selectnbsend,chansend}. Unless the root cause is found, I am not able to keep working on this.


POC IMAP FETCH with large body should not rely on in-memory buffering

[x] Runned the Distributed AES tests successfully, S3 too

Real question on non-aes tests and I think Flux<ButeBuffer> -> InputStream needs to be improved in order not to be blocking

As expected, the ChunckStream is blocking on the eventLoop...

https://github.com/apache/james-project/pull/2138 is NOT a solution.
ChunkStream is necessarily blocking on slow data supplier cf https://github.com/netty/netty/issues/2984
I will be closing this as such.
So far I see 2 possible solution:

Switch to a distinct EventExecutor for some parts of the Netty pipeline. Early tries shows at least fine tunning would be needed. Benefit: limited refactoring needs. Limits: realies on blocking abstractions, costs of switching to a distinct thread.

Carry other the Flux<ByteBuffer> and write it in a backpressure aware fashion. Fully compatible with reactive code. Requires refactoring of BlobStore, Mailbox and IMAP. More importantly the AES blob store would be non complying as it relies on InputStream absctraction...

Blocking reads is a major issue I do not feel confident solving for the AES blobstore
(which I need to do)
See https://github.com/apache/james-project/pull/2149 as an alternative for reasonable memory usage on IMAP FETCH


Add iOS and Android icons to project modal and config

I would probably have this in addition to website, ie:
type DownloadType = 'ios' | 'android'

download?: string;
downloadType?: DownloadType;


update pyenv config for fish

This addresses a regression introduced in fish 3.1 and aligns with best practices for fish shell scripting.

derp, wrong base.


SaveFileDialog extension is not taken in account

Hi,
I'm using SaveFileDialog. If I type a new file name (for SaveAs usage) without extension but I select an predefined extension in combo, ShowDialogAsync returns the string I type without predefined extension.
Thanks

@maxmontgmx Did yout set the ForceFileExtensionOfFileFilter property of the arguments or the dialog control to true?

Sorry, I don't manage to reproduce this issue.
If I manage, I will go back to this thread.
Thanks


RTK offset

Hello MRS Team,
As explained in #54, I added an offset in the odometry.cpp file to have relevant Z position when using the RTK as altitude estimator. By default, with no offset, the Z-component decreases linearly until -66.76, where it is then steady. By adding  a counter offset this line of code is in our case
odom_main.pose.pose.position.z = alt_x(mrs_msgs::AltitudeStateNames::HEIGHT) + 66.76 ;
This allows to have a value of 0.25m for the z component when it is on the ground (which is what we want in the end).
There are 2 different problems when applying this solution:

This offset is not exactly -66.76m. Depending on the flight zone it is -66m or -67m, so it requires us to constantly change this offset value in the source file.
Since we want our code to be perfectly working with your latest software this means that the modification above will always be deleted when we pull your latest commits.

Is there a way to fix this issue? Did you already encounter it? We thought as a solution to add a parameter in the odometry yaml file such that
odom_main.pose.pose.position.z = alt_x(mrs_msgs::AltitudeStateNames::HEIGHT) + offset_rtk_z ;
Is it possible to create a parameter offset_rtk_z  the same way you defined (those)such that I can use it in odometry.cpp ?
This way I can stay up-to-date and  keep working with my custom_configs, without changing the src files.
Best,
Zakaria

Hey @petrlmat,
The RTK Z coordinates gives by default 0.2m now, which is indeed the height of our RTK device relative to the ground.
Thank you very much for your help !


'let' is not considered a valid identifier with 'ecmaVersion: 6'

The following should be allowed when not in a strict-mode context:
var let = 10;

Instead I get:

acorn.js:998 Uncaught SyntaxError: Unexpected token (1:4)

See: https://github.com/eslint/espree/issues/149#issuecomment-122324416

Pretty much subset of #227.


Testing vscoq2

Testing nix PR https://github.com/NixOS/nixpkgs/issues/256515
@Zimmi48 this PR includes an extension of the toolbox to add the vscoq2 language server to any shell.

Would it make sense to make this optional with an argument similar to the current withEmacs?
[We could go further, BTW, and provide a reproducible VSCoq environment where VS Code is provided with the VsCoq extension pre-installed via Nix too. But that's more work.]

Would it make sense to make this optional with an argument similar to the current withEmacs?

I don't think so. withEmacs will basically override your own emacs and your init file, so it's mandatory for it to be optional. Since the vscoq2 language server is tied to the version of coq, which is always in the build inputs of your derivation, I'd say it is mandatory to use this specific version at all times. However could have a withoutVSCoqServer option, but I'm not sure what use it would have.

[We could go further, BTW, and provide a reproducible VSCoq environment where VS Code is provided with the VsCoq extension pre-installed via Nix too. But that's more work.]

Sure, and then it would indeed make sense to have a withVSCode option indeed.

Sure, and then it would indeed make sense to have a withVSCode option indeed. And I believe it is not a lot of work.

Should be withVsCoq preferably since VsCoq is not the only option for Coq support in VS Code.

I don't think so. withEmacs will basically override your own emacs and your init file, so it's mandatory for it to be optional. Since the vscoq2 language server is tied to the version of coq, which is always in the build inputs of your derivation, I'd say it is mandatory to use this specific version at all times. However could have a withoutVSCoqServer option, but I'm not sure what use it would have.

I guess it's not going to hurt anyone to have it in their dev environment even if they don't use it, but it will not be useful to everyone of course (one can develop Coq projects using ProofGeneral, or Coqtail, or coq-lsp, or VsCoq1, and none of these options require the vscoq2 language server).

Sure, and then it would indeed make sense to have a withVSCode option indeed. And I believe it is not a lot of work.

Should be withVsCoq preferably since VsCoq is not the only option for Coq support in VS Code.

Ok, it's a bit of a lie both way (withVsCoq seems to imply we install only vscoq and not vscode). But I won't debate the name anymore. Any of the two make sense.

I don't think so. withEmacs will basically override your own emacs and your init file, so it's mandatory for it to be optional. Since the vscoq2 language server is tied to the version of coq, which is always in the build inputs of your derivation, I'd say it is mandatory to use this specific version at all times. However could have a withoutVSCoqServer option, but I'm not sure what use it would have.

I guess it's not going to hurt anyone to have it in their dev environment even if they don't use it, but it will not be useful to everyone of course (one can develop Coq projects using ProofGeneral, or Coqtail, or coq-lsp, or VsCoq1, and none of these options require the vscoq2 language server).

We already put extra stuff in the environment anyway. As long as the vscoq language server stays as small as today, I think we can silently add it. We could also load coq-lsp language server for those who want (and the others do not need an executable, so I guess they're fine).


Add Wrench Editor

Hi!
For the last year or so I've been developing a level editor for the PS2 games [1].
I haven't yet made much of an effort to advertise it to anyone, but I think this would be a good first step.
I'd love to hear some feedback from a fellow hacker.
It currently only works on Linux, but given your profile picture is tux, I don't think that'll be a problem for you. I'll get around to porting it to Windows at some point.
[1] https://github.com/chaoticgd/wrench

That's amazing! Most project on this list are in a (very) early stage of development, so that's not a problem.
Thanks for the PR!

I'm also in a Discord server with fellow rac-modding enthusiasts, if you're not already on there, let me know, so I can send you an invite.

I'm not there already (I haven't made much of an attempt to connect with the rest of the community). Send the invite to my email (my username, on protonmail).


Add Controller translate strings (for ConttollerDiagramFacetPrecet

As a title says. any other default facets support i18n but this facet doesn't support i18n at now.
so if add some args for translate ControllerDiagramFacet, it is more confortable to understand how to use.

Unfortunately this is just an image right now and we do not supporting translating images yet. We'll probably have to rework this facet to use native Neos rendering first in order for this to be translatable or add support for submitting translated images.

Oh, that's right, of course. However, I thought it would be easier to support multiple languages if the basic controller names and how to operate the controllers are translated, even if you want to write operation descriptions for other worlds (of course, those words will not be used in the Facet unless you recreate it). (Of course, these words will not be used in the Facet unless it is recreated, but I think there is a merit in being able to translate them by using the arguments after implementation.)
あ、勿論それはその通りです。ただ現在の時点で追加しておけば、例えば他のワールドで操作説明を書きたい時にでも、基礎的なコントローラの名前やコントローラの操作方法方が翻訳されていれば多言語対応を行うのが楽になるのではと思いました（勿論作り直さなければそれらの文言はそのFacetには使用されませんが、実装した後にそのままその引数を利用することで翻訳できるメリットもあると思います）


Extra maintainer / developer

@Mesuva , Can you add @wardhache to the developers/maintainers list?
I know him IRL and to be honest, he's much more familiar with this package than I am.

Done, invite sent


[WIP] feat: add rwkv model.

This is a draft PR about adding rwkv model (#47)
The whole feature will include a large amount of work so I separate them into the following parts:

[x] RWKV model definition
[x] Model conversion
[x] Model build
[ ] Precision check
[ ] Summarize example
[ ] Chat example
[ ] Benchmark test
[ ] Documentations

I'll try my best to complete this feature as soon as possible. Any suggestions about the development of this feature will be appreciated. :)

I am expecting to hear good news about it. ٩(๑>◡<๑)۶

If you need some help on how to export RWKV to Onnx you can check out this repo.
https://github.com/daquexian/faster-rwkv

@AsakusaRinne thanks for the ongoing efforts to add RWKV model in TRT-LLM!
One small input is that we have just upgraded the workflow of adding new models in TRT-LLM:

https://github.com/NVIDIA/TensorRT-LLM/blob/main/docs/source/new_workflow.md

You can also refer the latest LLaMA example to have more concrete understanding of the new workflow:

https://github.com/NVIDIA/TensorRT-LLM/tree/main/examples/llama

So ideally you should refresh your implementation with the new workflow.
For any questions, pls let me know.
Thanks
June

@AsakusaRinne any updates on this feature? when will it be ready?


[Enhancement] Add DateTimeOffset Converter

Summary
Add a converter for converting from DateTimeOffset to DateTime and back.
API Changes
Adds a new Converter To the converters.
Intended Use Case
Often times DateTime is stored with the offset on the backend to allow for storing the timezone in which a DateTime originated from. Controls like the DatePicker in Xamarin.Forms will only work with DateTime. To be able to easily hook up ViewModels/Models containing a DateTimeOffset property this converter would come in handy.

I would also be happy to provide the implementation of the DateTimeOffsetConverter 🙂

Love it! A go from me :)

It’s a yes for me

Looking forward 👍

But if @mallibone implements it, @jfversluis can't be mean to him on the Null Pointers podcast any more. That's my favourite bit of the show.

But if @mallibone implements it, @jfversluis can't be mean to him on the Null Pointers podcast any more. That's my favourite bit of the show.

I know, right?! Now I have to do a poll to find out what else I can hold against him...


dwm failed to start (0xc000007b)

Windows Version
windows 10 64-bit.
dwm version
v0.0.16 (latest)
after installing the missing .dll files (ucrtbased.dll and vcruntime140d.dll) to both C:\Windows\System32 and C:\Windows\SysWOW64,
running dwm outputs:

[ the application failed to start correctly (0xc000007b). click on OK to close it. ]
reinstalling .NET35 and enabling didn't fix the issue.

Please try the latest release which should now be using the release build.
https://github.com/prabirshrestha/dwm-win32/releases/tag/v0.0.17


Template for table structure labelling

A feature request in labelling interface
It would be great if you could add a template for table structure labelling on images. You already have bounding box implementation, which will mark the table area. You'll just need to add implementation of vertical and horizontal lines, which will be used as column and row separators respectively.
Now one might suggest using bounding boxes for rows and columns. But drawing boxes is very time consuming as compared to a line drawn by a single click of mouse.
Please consider this request.

@Gunj23 You can try pre-annotations - draw bboxes as you want and then propagate this annotation to all tasks (you need to run LS with env var EXPERIMENTAL_FEATURES=1 label-studio to enable Data Manager action Propagate annotations). Or you can prepare your tasks before the import with this bbox table structure for each task.


golang http: longer delay deletion time.

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

it's good to merge, thanks~


Create CSS in JavaScript

To remove dependency of CSS import when use the library, I created a method that add a CSS from JavaScript.
The method use breaking point of gaiden and now the users can customize with own values

@nathpaiva I would also update the README part where is says After install, you will have to add the stylesheet (dist/media-query.css) to your page via link tag or import it to your existing style manifest.
Can you verify if we still have 💚 Maintainability and 💚 coverage  😄


Do not create ES indices too far into the past/future

Requirement - what kind of business use case are you trying to solve?
Jaeger performance should not degrade due to bugs in services reporting spans.
Problem - what in Jaeger blocks you from solving the requirement?
One of our services (due to some bug) reports spans with begin timestamps far into the future (years). This causes a lot of indices to be created in the elasticsearch for strange dates because ES indices are created per day. For example:
$ curl $ESADDR/_cat/shards -s | wc -l
9986
$ curl $ESADDR/_cat/indices -s | head
green open jaeger-service-8160-12-02   E759tRv5TeyZD0cB2xubCw 48 0          1   0   9.4kb   9.4kb
green open jaeger-span-8154-09-01      tDhwyd9sQEqIgDYxmd8xXw 48 0          0   0     6kb     6kb
green open jaeger-span-8157-02-28      4Yam481RTF-jS7NpGKBS1g 48 0          0   0     6kb     6kb
green open jaeger-service-8154-03-05   YGICrbBkTNaFu-tiaoFYbw 48 0          1   0   9.1kb   9.1kb
green open jaeger-service-8148-12-15   97E695J7R3uyFSImODLx7g 48 1          1   0    19kb   9.5kb
green open jaeger-span-8151-11-09      U1owZ6ieQ6CrPMHlmcNc1g 48 0          0   0     6kb     6kb
green open jaeger-span-8160-02-18      FFVy6vQ1RamzyauHT_Njow 48 0          0   0     6kb     6kb
green open jaeger-span-8156-02-26      -hNsr6rtS6CCxAUH4HrJmw 48 0          0   0     6kb     6kb
green open jaeger-service-208917-08-31 Qx7Xm9jbQe-3Lf1ryv0paQ 48 0          1   0   9.1kb   9.1kb
green open jaeger-service-8163-10-27   g5mLfk9IQQCvYlCooWWqWQ 48 0          1   0   9.4kb   9.4kb9.5kb

This impacts ES cluster for example because each index's shard holds own file handles.
Additionally our curator script does not remove those indices as they are considered to be in the future (and only past ones are removed).
Proposal - what do you suggest to solve the problem or improve the existing situation?
Restrict in the collector what timestamps are allowed and reject spans which are too old or too far into the future. E.g. not older than 14 days, at most 1 day into the future. Drop spans outside of this range or save them into the "current" index.
The range could be configurable.

I think this is a good idea.
Internally, we've run into a problem where services were setting timestamps far enough in the future to cause overflows.

Drop spans outside of this range or save them into the "current" index.

I don't think dropping spans for incorrect timestamps are reasonable, instead we could overwrite the timestamp with the ingestion time, and log a warning on the span. (Ideally, we'd like users to be able to retrieve these spans as part of a trace even if the timestamps are invalid). I'm not sure whether saving them into the current index accomplishes the same thing.

Overwriting sounds good.

It turns out that it isn't a bug in the service - I've added extra logging wrapped around Sender and it didn't catch anything. I suspect that once in a while UDP packets sent to the agent are corrupted.
Based on number of extra indices It happens few times per 10^9 spans.

Just adding a note this behavior is not present when using rollover aliases --es.use-aliases flag.

I think this is a good idea.
Internally, we've run into a problem where services were setting timestamps far enough in the future to cause overflows.

Drop spans outside of this range or save them into the "current" index.

I don't think dropping spans for incorrect timestamps is reasonable, instead we could overwrite the timestamp with the ingestion time, and log a warning on the span. (Ideally, we'd like users to be able to retrieve these spans as part of a trace even if the timestamps are invalid). I'm not sure whether saving them into the current index accomplishes the same thing.

Solution to this problem would really help. Currently we run  into the trouble with elasticsearch having too many indices.
I agree that we should rewrite timestamps if they are in the future.
But ideally have a flag where the user can decide if they want our of order spans  (aka future spans) or rewrite timestamp.
Similar to what Vector has: https://vector.dev/docs/reference/configuration/sinks/loki/#out_of_order_action


feat: add Coveo support for SSCA, IaCM, Code Repository [HDH-196]

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[x] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[x] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://655ea902e3d8f222449d025b--harness-developer.netlify.app


Process motortune tuning curves need more decimal places

Now that the mixing crystal is the most sensitive motor, we need to extend the accuracy of the positions generated by the process motortune module. Could we have the grating and bbo tuning points to be up to 3 decimal places and the mixer tuning points up to six?

This should be doable. Could you upload a representative motortune and its corresponding tuning curve for me to work with?

I've attached one here. I had to save it as a txt file for github to accept.
OPA3_forBlaise.txt

OK @jhandali I think the push I just made to WrightTools master should fix the problem. I will mention that I've also changed around how curve objects work generally so you may see other changes / problems. Just let me know.


File Naming in 3.0 different than 2.9

What TMM version are you using?
3.0-SNAPSHOT
release, pre-release, nightly, or directly from GitHub/branch?
Build date: 2018-09-20 07:02
What is the actual behaviour?
in 2.9, the :  was converted to a space
In 3.0 the : is converted into a -
What is the expected behaviour?
Name the same as 2.9?
Additional
Have you attached the Logfile from the day it happened?
Here's a picture

Your Operating system? (win/mac/linux? version?)
Arch Linux: 4.18.7-arch1-1-ARCH
This isn't a huge problem, but anyone converting from 2.9 will have all their files renamed if using the renamer. This only concerns me because I backup all my media which means it will have to rewrite many terabytes to change all the names on my backup.

I was just going to file an issue requesting the behavior that 3.0 now has :-)
I agree, however, that it shouldn't be changing on its own. Rather there should be a setting, or maybe even a list of special characters and their replacements that can be edited.

that's a pity..
with v3 I am sure we wanted to be more precise when renaming.. do you think there are so much episodes which would be renamed (and how much users do have full backups of their TV shows?)...
I am against a complete list with replacements because tmm should stay simple. you see the renamer window now (it has far more options than it should have to be simple) and a full list of replacements would be too much.
As far as I could see is:
replaces all invalid/illegal characters for filenames with "" except the colon, which will be changed to a dash
so the colon is the only invalid character which gets replaced by a dash...

FYI: the movie renamer always renamed like this - so we can see it as a bug in TvShow renamer in v2 which is fixed in v3 ;)

FYI: the movie renamer always renamed like this - so we can see it as a bug in TvShow renamer in v2 which is fixed in v3 ;)

I would be fine with any fix that would allow me to move between v2 & v3 without mass file renaming. I have over 11K episodes and it's just unwieldy to move between them the way it is.
Even a "bug fix" for v2 would be fine with me. If there won't be an option to select the new/old behavior in v3, this would be like ripping off the band-aid and prepping all the users for v3 ahead of time. ;)

The new setting isn't persisted for me, anyone else experience the same?


Cannot Prepend RegEx Match Group Replacement with a $

VSCode Version: 1.12.2
OS Version: Windows 10

Steps to Reproduce:

Enter some text in an editor

Enter the Find-Replace function (Ctrl-H)

Supply a RegEx that matches the entered text.  Ensure to create at least one capture group in the regex

In the Replace text box, prepend the reference to a capture group ($1) with a $.
Note that both a literal $ and an escaped \$ do not produce the expected behavior; while the behavior does differ between the methods.

Click the Replace button

Expected result: The matched text is replaced with the capture group, preceded by a $

Actual result (Non-escaped $): The matched text is replaced with the literal text $1

Actual results (Escaped \$): The matched text is replaced with \$$1

is this fixed yet? or atleast a way to do this? I want to find a pattern in  a json with 100k objects and append some data to them.

Hi, I'm wondering if this bug is worth looking into. I believe I found why this bug is happening. Looking at the parseReplaceString method in replacePattern.ts, it seems like vscode uses javascript's rules for regex replace. In javascript's rules(https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace) it mentions that '$$' inserts a $. I believe this would cause $$1 to replace as $1.
Hopefully this information will be useful.

Thanks for looking into it @irrationalRock
Indeed, the way to insert a literal $ is to use $$, not \$.


Support openebs PV to use different networks for traffic isolation

FEATURE REQUEST
OpenEBS PVs comprise of controller and replica pods. The controller pod exposes the storage to the stateful pods like (databases, content stores etc.,) and saves the data by synchronously replicating them to replica pods. It will be good to isolate the traffic on the controller pods based on -- application and backend, with each kind of traffic possibly going through different network interfaces.
To this effect, the controller pod needs to be configured with multiple pod IPs, which is not yet supported by kubernetes. However the following are some related threads that were provided in the kubernetes slack #sig-networking

https://github.com/kubernetes/kubernetes/issues/27398#issuecomment-350969948
https://github.com/Huawei-PaaS/CNI-Genie
https://github.com/Intel-Corp/multus-cni
https://groups.google.com/forum/#!topic/kubernetes-sig-network/ANAjTyqVosw

Looking at this: https://ligato.github.io might which matches other plans/thinking we currently have.

Some more links related to intel - multus:

https://networkbuilders.intel.com/network-technologies/container-experience-kits
https://builders.intel.com/docs/networkbuilders/multiple-network-interfaces-support-in-kubernetes-feature-brief.pdf
https://builders.intel.com/docs/networkbuilders/multiple-network-interfaces-in-kubernetes-application-note.pdf


:bug: Fix exports to ensure shared types are being bundled

⚠ Fixes:
ℹ What is the context for these changes?

...
🕹 Demonstration

...

🎩 How can this be tophatted?

...
✅ Checklist

[ ] Tested on mobile
[ ] Tested on multiple browsers
[ ] Tested for accessibility
[ ] Includes unit tests
[ ] Updated relevant documentation for the changes (if necessary)

/snapit

/snapshot

/snapshot

/snapit

/snapit


quick-repo-deletion z-index issue

Just look at the screenshot or the gif.

I guess that it's because of GitHub's new MARKDOWN viewer.

Confirmed, only a visual issue

Hi @yakov116 ! Thanks for fixing.
But it seems that #4251 introduced new visual bug, please check it in the screenshots below.
Without Refined GitHub opened ↓

With Refined GitHub opened ↓

https://github.com/chromium/mini_chromium
This bug doesn't happen in every repo. I can't reproduce it in sindresorhus/refined-github, but it truly happens in many other repos. And I'm not sure what causes this weird difference. Should I open a new issue or just in this one?

This is unrelated to this issue and is fixed by https://github.com/sindresorhus/refined-github/pull/4279 in the next release.

OK. I'll close this issue.


Convert topics field for CORE dataset collection to string

Addresses CORE issue https://github.com/castorini/anserini/issues/889.
Changes
The CoreCollection generates a MultifieldSourceDocument that is indexed into Lucene for the CORE dataset. Right now we perform e.getValue().asText() for all document fields, which for ArrayNode JSON types (such as the "topics" field), this defaults to the empty string, not the actual text value of the field. This change will convert the array of topic strings into a single space-separated string, which can then be indexed by Lucene.
To get the "topics" and "year" fields indexed as "stored" fields in Lucene, we can pass the -storeTransformedDocs flag to the indexer, instead of creating a new Generator class. I don't think creating a new generator would be necessary since I'm able to search on the topic and year fields successfully using the Lucene index. Just FYI I'm using https://github.com/DmitryKey/luke to verify the fields in the index.

@bazingagin has more context than I do, so I'll let her chime in...

This change will convert the array of topic strings into a single space-separated string, which can then be indexed by Lucene.

Instead of space sep, maybe use ::, like Python classifiers? That way we can recover individual topics down the road...


Fix Windows asserts

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.004%) to 53.431%

Totals

Change from base Build<PHONE_NUMBER>:
0.004%

Covered Lines:
40853

Relevant Lines:
76459

💛  - Coveralls

thanks!


Deadlock workaround

Right now we do a DispatchQueue.main.sync in order to make sure that the test observer is registered on the main thread. sync is always a dangerous operation, and it turns out we can deadlock. It can be reproduced with the following 3 steps:

Start background thread/queue and access a dependency after a small amount of time.
Before the dependency is accessed block the main thread with some work.
After the main thread work is done access another dependency.

This causes a deadlock because the background thread has already entered into a dispatch_once to resolve static var current but is currently waiting on the main thread to finish its work. And simultaneously the main thread has now also entered the dispatch_once, and hence a deadlock.
The fix is perhaps a little risky, but we think it should be ok. We are going to allow adding the test observer in main.async if the dependency is first being accessed on a background thread. It seems theoretically possible that the test observer will not be registered by the time the test ends, but we haven't been able to find a situation in which that occurs.

Incidentally this will fix #76 too.


sweet.js accepts unbalanced brackets

I was surprised to discover that sweet.js doesn't require brackets to be matched in its patterns:
macro swap {
    rule { ($x, $y)) } => {
        var tmp = $x;
        $x = $y;
        $y = tmp;
    }
}

I would have expected an error when I defined the macro. It's a little bit tricky to debug otherwise.
If I do make this mistake, I can actually call my macro with unbalanced brackets:
var a = 1, b = 2;
swap(a, b));

Is this expected behaviour?

I'm mass closing issues due to the release of 1.0 obviating lots of bugs. If you feel this issue is something we still need to address feel free to reopen.


Implement Logging System

Since debugging is going to require a lot of looking at logs, I need to bake-in a logging/output system into the design early on. I suggest doing this after a very basic working model is implemented to get a sense of what logs are useful and how output might look.

There are two separate logging components, one for general logging of information within the code (which feeds to log\spur.log, log.debug.log, and log\error.log). There is also a simulation log simLog which currently just writes to stdout, but is formatted to be more useful for tracing simulations steps (as it includes mode.now within the logging).