text:
Werror: nb_attr.h:199:14: error: ISO C++ forbids zero-size array

https://github.com/wjakob/nanobind/blob/b0136fe6ac1967cb2399456adc346a1af06a3b88/include/nanobind/nb_attr.h#L212
full stack
include/nanobind/nb_attr.h: In instantiation of ‘struct nanobind::detail::func_data_prelim<0>’:
include/nanobind/nb_func.h:95:38:   required from ‘PyObject* nanobind::detail::func_create(Func&&, Return (*)(Args ...), std::index_sequence<Is2 ...>, const Extra& ...) [with bool ReturnRef = false; bool CheckGuard = true; Func = nanobind::ndarray<float>& (*&)(nanobind::ndarray<float>&, const nanobind::ndarray<float>&); Return = nanobind::ndarray<float>&; Args = {nanobind::ndarray<float>&, const nanobind::ndarray<float>&}; long unsigned int ...Is = {0, 1}; Extra = {nanobind::scope, nanobind::name}; PyObject = _object; std::index_sequence<Is2 ...> = std::integer_sequence<long unsigned int, 0, 1>]’
include/nanobind/nb_func.h:187:37:   required from ‘void nanobind::cpp_function_def(Return (*)(Args ...), const Extra& ...) [with Return = ndarray<float>&; Args = {ndarray<float>&, const ndarray<float>&}; Extra = {scope, name}]’
include/nanobind/nb_func.h:256:21:   required from ‘nanobind::module_& nanobind::module_::def(const char*, Func&&, const Extra& ...) [with Func = nanobind::ndarray<float>& (&)(nanobind::ndarray<float>&, const nanobind::ndarray<float>&); Extra = {}]’
src/mod.cpp:55:8:   required from here
include/nanobind/nb_attr.h:199:14: error: ISO C++ forbids zero-size array [-Werror=pedantic]
  199 |     arg_data args[Size];

I can turn off werror of course, so just consider this an FYI, and close if you wish

it was reported before, there is a big comment about it just above that line
https://github.com/wjakob/nanobind/blob/b0136fe6ac1967cb2399456adc346a1af06a3b88/include/nanobind/nb_attr.h#L181-L213

so there is, it wasn't immediately before it so it didn't register, for your sanity you could consider
    // GCC and Clang do. (See above comments for zero-length array Werror)
    arg_data args[Size];

authors: PhilipDeegan wojdyr

repo: wjakob/nanobind


text:
More packaging: v8stdint.h clash

The v8stdint.h header is used in multiple packages, and creates collisions in large namespaces like Debian. Furhermore, this file is not really needed on any linux systen, since these have stdint.h available.
Enclosed patch drops v8stdint.h from package on hosts having stdint.h available, thus resolving this issue.
0001-Avoid-using-v8stdint.h-unless-needed.patch.gz

Please consider a pull request instead of a patch file: https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request
Also, v8stdint.h is used conditionally on Windows only, so it should never cause an issue with Debian:
https://github.com/wjwwood/serial/blob/cbcca7c83745fedd75afb7a0a27ee5c4112435c2/include/serial/v8stdint.h#L39
I'll close this since I cannot take a patch file (no git author, etc).

The problem is not the usage, the problem is the very existence of this file which typically goes int /usr/include, creating collisions with other packages.
The patch is a git patch, you can use git  -am which brings you author, date  etc. I was admittedly lazy, the debian packaging lives on gitlab...

I see, given this is a very background project for me, I still don’t see me taking it without a pull request. But the patch is useful for others that stumble here. Thanks!

source: gharchive/issue

authors: leamas wjwwood

repo: wjwwood/serial

license: MIT

license_type: permissive

license_source: github-api


text:
Updateeffect does not work in version 0.3.0

Updateeffect does not work in version 0.3.0,it just adds special effects to the whole video, but there is no time limit.Can you help me？

On UpdateEffect its crash and didn't provide any crash log.Please provide any solution

using 0.3.1 fix this bug.

Whenever i click on effect i get this error even on 0.3.1 update
Build fingerprint: 'Xiaomi/kenzo/kenzo:6.0.1/MMB29M/V10.2.1.0.MHOMIXM:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 27096, tid: 27152, name: Thread-1008  >>> com.testapp.app <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
r0 dc19605c  r1 00000016  r2 ab79acb8  r3 00000000
r4 ab1477c4  r5 ab891230  r6 ab1477c0  r7 f39a37e8
r8 00000438  r9 ab4d6148  sl ab4d6158  fp 00000004
ip ab247ff8  sp f39a3798  lr dbf1e15f  pc dbf1e16e  cpsr 60010030
backtrace:
#00 pc 000e816e  /data/app/com.testapp.app-1/lib/arm/libtrinity.so (_ZN7trinity21FaceMakeupV2SubEffect11OnDrawFrameEPNS_13FaceDetectionENSt6__ndk14listIPNS_9SubEffectENS3_9allocatorIS6_EEEEiiiiiiy+173)
#01 pc 000db40b  /data/app/com.testapp.app-1/lib/arm/libtrinity.so (_ZN7trinity6Effect11OnDrawFrameEjiiiiy+146)
#02 pc 000d8df1  /data/app/com.testapp.app-1/lib/arm/libtrinity.so (_ZN7trinity12ImageProcess9OnProcessEjxiiii+122)
#03 pc 000927e5  /data/app/com.testapp.app-1/lib/arm/libtrinity.so (_ZN7trinity12CameraRecord4DrawEv+488)
#04 pc 00093b19  /data/app/com.testapp.app-1/lib/arm/libtrinity.so (_ZN7trinity12CameraRecord11RenderFrameEv+16)
#05 pc 00095fa7  /data/app/com.testapp.app-1/lib/arm/libtrinity.so (_ZN7trinity7Message7ExecuteEv+30)
#06 pc 0009572b  /data/app/com.testapp.app-1/lib/arm/libtrinity.so (_ZN7trinity7Handler14ProcessMessageEv+74)
#07 pc 00095611  /data/app/com.testapp.app-1/lib/arm/libtrinity.so (_ZN7trinity7Handler18MessageQueueThreadEPv+4)
#08 pc 0004185b  /system/lib/libc.so (_ZL15__pthread_startPv+30)
#09 pc 000192a5  /system/lib/libc.so (__start_thread+6)a

repo: wlanjie/trinity


text:
finding entries in WMO code tables

finding different ways to search
scientific domain experts: operational meteorologist
(in charge of a particular kind of data collection)
lets say they are interested in
http://test.wmocodes.info/bufr4/b/21
weather radar
but they don't know where the WMO keep this
in particular let us consider peakiness
http://test.wmocodes.info/bufr4/b/21/071
http://test.wmocodes.info/bufr4/b/21/093
http://test.wmocodes.info/bufr4/b/21/094
http://test.wmocodes.info/bufr4/b/21/182

lets just search
http://test.wmocodes.info/ui/text-search?query=peakiness

how may i narrow my search to the scenario i am interested in

'search' for table b
http://test.wmocodes.info/ui/text-search?query=table+b
find BUFR4 table B in the list and select
this takes us to:
http://test.wmocodes.info/bufr4/_b

consider velocity, as this has a wider path at the start so it's more useful to show context search

consider adding a link to the 'narrowing your search' page to the search results template

http://test.wmocodes.info/ui/about/findingentries

repo: wmo-registers/codes-wmo-deploy

license_source: bigquery


text:
Support symbolic links

Hi @woelper,
thank you for providing dircpy! I notice it ignores symbolic links at the moment. Only files and directories are handled.
I implemented the necessary functionality. Note that I had to use path.symlink_metadata().is_ok() to check if a file exists, as path.exists() follows symbolic links. That is, if the symbolic link was dangling, it would return false and the link wouldn't be copied. Also, metadata() would follow symbolic links, which is not what we want here.

Nice, thanks! Wow, I would have never guessed that symlink_metadata() Queries the metadata about a file without following symlinks. I'll merge this PR, but I think I might add a test before I release. If you want to write one, feel free to do so!

Does this #5 work for you?

Thanks, yes. Merged #5 . Nice work!
I like the functionality as it is now as default - it basically recreates a folder 1:1.
As for ergonomics, do you think it makes sense to add options to skip symlinks or dereference them? Or is this something people will not need?

Crates.io version has been released.

Crates.io version has been released.

Nice! Thanks

As for ergonomics, do you think it makes sense to add options to skip symlinks or dereference them? Or is this something people will not need?

I was thinking about this as well. Typically, symbolic links convey some semantics. E.g., one might use a symlink to ensure the same content is found at various file paths. And wants to keep this invariant, even after some program modifies the file via one of the paths. Or to save space referencing a huge file from multiple paths.
There is the exception though of symbolic links that become dangling in the destination because they don't reference a path within the copied directory...
I, personally, don't see the use for skipping symbolic links, dereferencing during copy might have its use though.

source: gharchive/pull-request

authors: fzgregor woelper

repo: woelper/dircpy


text:
OutOfMemory Crash during capture using back-facing camera

Is this a bug report?
Yes

Have you read the Contributing Guidelines?
Yes
Environment
Android Studio 3.0 Beta 7
Samsung Galaxy S5
com.wonderkiln:camerakit:0.11.1
Steps to Reproduce

Load up a CameraView
Capture image using the back-facing camera
Application crashes with OutOfMemoryError during ExifUtil.decodeBitmapWithRotation

When using the front-facing camera there is no issue.
I think the crash is due to resolution differences between the front/back facing cameras.
Expected Behavior

I thought the picture will be transferred to the CameraListener I've set up.
Actual Behavior
Application crashes:
E/AndroidRuntime: FATAL EXCEPTION: CameraViewWorker
Process: com.orons.weddingapp, PID: 4186
java.lang.OutOfMemoryError: Failed to allocate a 63489036 byte allocation with 16777216 free bytes and 41MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:939)
at android.graphics.Bitmap.createBitmap(Bitmap.java:912)
at android.graphics.Bitmap.createBitmap(Bitmap.java:843)
at com.wonderkiln.camerakit.ExifUtil.decodeBitmapWithRotation(ExifUtil.java:34)
at com.wonderkiln.camerakit.CameraView$CameraListenerMiddleWare.onPictureTaken(CameraView.java:511)
at com.wonderkiln.camerakit.Camera1$2.onPictureTaken(Camera1.java:277)
at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1142)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.os.HandlerThread.run(HandlerThread.java:61)

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

I'm actually facing the same issue
Environment
Android Studio 2.3.3
Device 1:
Samsung Galaxy S5 (G900F)
Android 6.0.1
com.wonderkiln:camerakit:0.10.1 and com.wonderkiln:camerakit:0.11.1
Device 2:
Samsung Galaxy A5 (SM-A520F)
Android 7.0.0
com.wonderkiln:camerakit:0.10.1
Device 3:
Samsung Galaxy A5
Android 6.0.1
com.wonderkiln:camerakit:0.10.1
Steps to Reproduce
Declare CameraView in xml
Capture image using the back-facing camera
Application crashes with OutOfMemoryError during ExifUtil.decodeBitmapWithRotation
When using the front-facing camera there is no issue.
Expected Behavior
I thought the picture will be transferred to the CameraListener I've set up.
Actual Behavior
Application crashes:
FATAL EXCEPTION: CameraViewWorker
Process: it.wedigital.silcamykeys, PID: 32735
java.lang.OutOfMemoryError: Failed to allocate a 63489036 byte allocation with 16771680 free bytes and 43MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:975)
at android.graphics.Bitmap.createBitmap(Bitmap.java:946)
at android.graphics.Bitmap.createBitmap(Bitmap.java:877)
at com.wonderkiln.camerakit.ExifUtil.decodeBitmapWithRotation(ExifUtil.java:34)
at com.wonderkiln.camerakit.CameraView$CameraListenerMiddleWare.onPictureTaken(CameraView.java:511)
at com.wonderkiln.camerakit.Camera1$2.onPictureTaken(Camera1.java:277)
at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1165)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.os.HandlerThread.run(HandlerThread.java:61)

FYI - This happens on the demo app as well.
10-11 15:18:44.765 23141-23162/com.wonderkiln.camerakit.demo E/AndroidRuntime: FATAL EXCEPTION: CameraViewWorker
                                                                               Process: com.wonderkiln.camerakit.demo, PID: 23141
                                                                               java.lang.OutOfMemoryError: Failed to allocate a 63489036 byte allocation with 16766656 free bytes and 39MB until OOM
                                                                                at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
                                                                                at android.graphics.Bitmap.nativeCreate(Native Method)
                                                                                at android.graphics.Bitmap.createBitmap(Bitmap.java:975)
                                                                                at android.graphics.Bitmap.createBitmap(Bitmap.java:946)
                                                                                at android.graphics.Bitmap.createBitmap(Bitmap.java:877)
                                                                                at com.wonderkiln.camerakit.ExifUtil.decodeBitmapWithRotation(ExifUtil.java:34)
                                                                                at com.wonderkiln.camerakit.CameraView$CameraListenerMiddleWare.onPictureTaken(CameraView.java:511)
                                                                                at com.wonderkiln.camerakit.Camera1$2.onPictureTaken(Camera1.java:277)
                                                                                at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1165)
                                                                                at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                at android.os.Looper.loop(Looper.java:158)
                                                                                at android.os.HandlerThread.run(HandlerThread.java:61)

It happened to me too, same on Samsung devices.
As a quick fix...although it isn't recommended by Google I've added
android:largeHeap="true"
in the application tag in the Manifest
and also handled the Error (again...hacking)
Hope you'll fix this soon though, it's not the safest.

I've faced the same issue with CameraKit on my project where I'm currently using this library. I connected  library as a module and made some changes to ExifUtil class like creating bitmap with inSampleSize equals to 2 just for reducing bitmap in-memory size. There is a method that I've added to ExifUtil class:
private static Bitmap getSampledBitmap(byte[] picture) {
        BitmapFactory.Options options = new BitmapFactory.Options();
        options.inJustDecodeBounds = true;
        options.inSampleSize = SAMPLED_SIZE_DEFAULT; // equals to 2
        options.inJustDecodeBounds = false;
        return BitmapFactory.decodeByteArray(picture, 0, picture.length, options);
}

We are working on a fix for this today and will be part of the 0.11.2 release. Will keep this ticket updated as it progresses!

@pihariev Yeah that's how I've fixed it locally, will be out in a release sometime today.

Fixed via https://github.com/wonderkiln/CameraKit-Android/pull/204
Going into testing via @AndrewGable and @capezzbr and will close if resolved.

Unfortunately this isn't fixed for the Samsung S5, this is the stack trace I get running the demo app on the latest master
10-20 16:48:35.195 7896-7941/com.wonderkiln.camerakit.demo W/art: Throwing OutOfMemoryError "Failed to allocate a 63489036 byte allocation with 16777216 free bytes and 40MB until OOM"
10-20 16:48:35.205 7896-7941/com.wonderkiln.camerakit.demo E/AndroidRuntime: FATAL EXCEPTION: CameraViewWorker
                                                                             Process: com.wonderkiln.camerakit.demo, PID: 7896
                                                                             java.lang.OutOfMemoryError: Failed to allocate a 63489036 byte allocation with 16777216 free bytes and 40MB until OOM
                                                                                at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
                                                                                at android.graphics.Bitmap.nativeCreate(Native Method)
                                                                                at android.graphics.Bitmap.createBitmap(Bitmap.java:975)
                                                                                at android.graphics.Bitmap.createBitmap(Bitmap.java:946)
                                                                                at android.graphics.Bitmap.createBitmap(Bitmap.java:877)
                                                                                at com.wonderkiln.camerakit.ExifUtil.decodeBitmapWithRotation(ExifUtil.java:38)
                                                                                at com.wonderkiln.camerakit.CameraView$CameraListenerMiddleWare.onPictureTaken(CameraView.java:520)
                                                                                at com.wonderkiln.camerakit.Camera1$2.onPictureTaken(Camera1.java:288)
                                                                                at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1165)
                                                                                at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                at android.os.Looper.loop(Looper.java:158)
                                                                                at android.os.HandlerThread.run(HandlerThread.java:61)

Moved to 0.12.0 milestone @AndrewGable -- thanks for reOpening and the trace!

Facing same in Moto G3 Android 6.0
Throwing OutOfMemoryError "Failed to allocate a 48688652 byte allocation with 16773168 free bytes and 21MB until OOM"
FATAL EXCEPTION: CameraViewWorker
Process: com.example.ritesh.rkcamera, PID: 32260
java.lang.OutOfMemoryError: Failed to allocate a 48688652 byte allocation with 16773168 free bytes and 21MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.BitmapRegionDecoder.nativeDecodeRegion(Native Method)
at android.graphics.BitmapRegionDecoder.decodeRegion(BitmapRegionDecoder.java:188)
at com.wonderkiln.camerakit.CenterCrop.(CenterCrop.java:36)
at com.wonderkiln.camerakit.CameraView$CameraListenerMiddleWare.onPictureTaken(CameraView.java:530)
at com.wonderkiln.camerakit.Camera1$2.onPictureTaken(Camera1.java:288)
at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1111)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)

Facing same issue on Samsung Galaxy J7 Duos.
`
E/AndroidRuntime: FATAL EXCEPTION: CameraViewWorker
                                                                      java.lang.OutOfMemoryError: Failed to allocate a 38340876 byte allocation with 16777216 free bytes and 36MB until OOM
                                                                          at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
                                                                          at android.graphics.Bitmap.nativeCreate(Native Method)
                                                                          at android.graphics.Bitmap.createBitmap(Bitmap.java:975)
                                                                          at android.graphics.Bitmap.createBitmap(Bitmap.java:946)
                                                                          at android.graphics.Bitmap.createBitmap(Bitmap.java:877)
                                                                          at com.wonderkiln.camerakit.ExifUtil.decodeBitmapWithRotation(ExifUtil.java:38)
                                                                          at com.wonderkiln.camerakit.CameraView$CameraListenerMiddleWare.onPictureTaken(CameraView.java:512)
                                                                          at com.wonderkiln.camerakit.Camera1$2.onPictureTaken(Camera1.java:280)
                                                                          at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1165)
                                                                          at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                          at android.os.Looper.loop(Looper.java:148)
                                                                          at android.os.HandlerThread.run(HandlerThread.java:61)

`

Facing the same issue on Samsung Galaxy J7
`
E/AndroidRuntime: FATAL EXCEPTION: CameraViewWorker
                                                                      java.lang.OutOfMemoryError: Failed to allocate a 38340876 byte allocation with 16777216 free bytes and 36MB until OOM
                                                                          at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
                                                                          at android.graphics.Bitmap.nativeCreate(Native Method)
                                                                          at android.graphics.Bitmap.createBitmap(Bitmap.java:975)
                                                                          at android.graphics.Bitmap.createBitmap(Bitmap.java:946)
                                                                          at android.graphics.Bitmap.createBitmap(Bitmap.java:877)
                                                                          at com.wonderkiln.camerakit.ExifUtil.decodeBitmapWithRotation(ExifUtil.java:38)
                                                                          at com.wonderkiln.camerakit.CameraView$CameraListenerMiddleWare.onPictureTaken(CameraView.java:512)
                                                                          at com.wonderkiln.camerakit.Camera1$2.onPictureTaken(Camera1.java:280)
                                                                          at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1165)
                                                                          at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                          at android.os.Looper.loop(Looper.java:148)
                                                                          at android.os.HandlerThread.run(HandlerThread.java:61)

Facing the same issue on Samsung Galaxy J7
E/AndroidRuntime: FATAL EXCEPTION: CameraViewWorker                                                                           Process: me.veganbuddy.veganbuddy, PID: 16262                                                                           java.lang.OutOfMemoryError: Failed to allocate a 38340876 byte allocation with 16777216 free bytes and 36MB until OOM                                                                               at dalvik.system.VMRuntime.newNonMovableArray(Native Method)                                                                               at android.graphics.Bitmap.nativeCreate(Native Method)                                                                               at android.graphics.Bitmap.createBitmap(Bitmap.java:975)                                                                               at android.graphics.Bitmap.createBitmap(Bitmap.java:946)                                                                               at android.graphics.Bitmap.createBitmap(Bitmap.java:877)                                                                               at com.wonderkiln.camerakit.ExifUtil.decodeBitmapWithRotation(ExifUtil.java:38)                                                                               at com.wonderkiln.camerakit.CameraView$CameraListenerMiddleWare.onPictureTaken(CameraView.java:512)                                                                               at com.wonderkiln.camerakit.Camera1$2.onPictureTaken(Camera1.java:280)                                                                               at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1165)                                                                               at android.os.Handler.dispatchMessage(Handler.java:102)                                                                               at android.os.Looper.loop(Looper.java:148)                                                                               at android.os.HandlerThread.run(HandlerThread.java:61)

Facing the same issue on Samsung Galaxy J7
E/AndroidRuntime: FATAL EXCEPTION: CameraViewWorker                                                                           Process: me.buddy.buddy, PID: 16262                                                                           java.lang.OutOfMemoryError: Failed to allocate a 38340876 byte allocation with 16777216 free bytes and 36MB until OOM                                                                               at dalvik.system.VMRuntime.newNonMovableArray(Native Method)                                                                               at android.graphics.Bitmap.nativeCreate(Native Method)                                                                               at android.graphics.Bitmap.createBitmap(Bitmap.java:975)                                                                               at android.graphics.Bitmap.createBitmap(Bitmap.java:946)                                                                               at android.graphics.Bitmap.createBitmap(Bitmap.java:877)                                                                               at com.wonderkiln.camerakit.ExifUtil.decodeBitmapWithRotation(ExifUtil.java:38)                                                                               at com.wonderkiln.camerakit.CameraView$CameraListenerMiddleWare.onPictureTaken(CameraView.java:512)                                                                               at com.wonderkiln.camerakit.Camera1$2.onPictureTaken(Camera1.java:280)                                                                               at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1165)                                                                               at android.os.Handler.dispatchMessage(Handler.java:102)                                                                               at android.os.Looper.loop(Looper.java:148)                                                                               at android.os.HandlerThread.run(HandlerThread.java:61)

Fixed in 0.12.0. Update dependency to:
compile 'com.wonderkiln:camerakit:0.12.0'

Hi,
This issue still there in Samsung Galaxy Note5 (SM-N920I).
Here is the log
                                                                        java.lang.OutOfMemoryError: Failed to allocate a 63489036 byte allocation with 16777216 free bytes and 30MB until OOM
                                                                            at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
                                                                            at android.graphics.BitmapRegionDecoder.nativeDecodeRegion(Native Method)
                                                                            at android.graphics.BitmapRegionDecoder.decodeRegion(BitmapRegionDecoder.java:285)
                                                                            at com.wonderkiln.camerakit.PostProcessor.getBitmap(PostProcessor.java:84)
                                                                            at com.wonderkiln.camerakit.PostProcessor.getJpeg(PostProcessor.java:42)
                                                                            at com.wonderkiln.camerakit.CameraView$5.imageCaptured(CameraView.java:439)
                                                                            at com.wonderkiln.camerakit.Camera1$2.onPictureTaken(Camera1.java:288)
                                                                            at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1115)
                                                                            at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                            at android.os.Looper.loop(Looper.java:154)
                                                                            at android.os.HandlerThread.run(HandlerThread.java:61)

authors: AndrewGable BharathKumarBachina Jameido abhisheksingapore austinkettner dwillmc pihariev ritesh94 tamper2 tartacutza

repo: wonderkiln/CameraKit-Android

license: mit


text:
Fix readme.md's typo

In getting started section, I think the command should be react-google-ads.
I've try to npm i -S react-google-ades but not working.
$ npm i -S react-google-ades
npm ERR! code E404
npm ERR! 404 Not Found: react-google-ades@latest

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/dc_hideokamoto/.npm/_logs/2018-04-02T14_48_42_089Z-debug.log

Thanks for merging :)

repo: wonism/react-google-ads


text:
showcase multiple targets?

How can I showcase multiple targets?

@power7714 Is there any solution ?

repo: wooplr/Spotlight


text:
Fix typo in release script

Description
Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

repo: workos/workos-kotlin


text:
android input issue

Reconsider the input problem of the editor under android, any ideas are welcome.

keep composition input state for Sougou Keyboard #228

Hi @RaulPROP and @BitPhinix,
I have been trying to handle Android input issues for slate-angular. I tested several input cases in the richtext demo, inlines demo, and markdown demo using multiple input methods like Gboard, Sougou Keyboard, Baidu IME, and others. I also validated some issues mentioned in this PR: https://github.com/ianstormtaylor/slate/pull/4988. It has been working fine so far.
Could someone please help me verify whether there are any other problems? Thank you very much!

repo: worktile/slate-angular


text:
🛑 WoSC Files is down

In d77ab4d, WoSC Files (https://files.worldofsteelcraft.tk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: WoSC Files is back up in 55adf93 after 9 minutes.

repo: worldofsteelcraft/status


text:
Errors trying to compile auto-generated REST api package

Steps to recreate:

Created chaincode usschainx
Tests OK
Attempt to create REST api as follows:

npm install -g @worldsibu/convector-rest-api
conv-rest-api generate api -c usschainx -p usschain2

REST api package created OK
npx lerna run compile --scope usschainx-app

Tool Versions:
conv version 1.1.3
hurl version 1.0.5
convector-rest-api version 1.0.8
I am running this command: npx lerna run compile --scope usschainx-app
THE ERROR:
../../node_modules/fabric-shim/node_modules/winston/index.d.ts(4,23): error TS4090: Conflicting definitions for 'node' found at '/Users/mac/WORLD_SIBU/unemployment-services-chaincode-repo/usschain2/node_modules/fabric-shim/node_modules/@types/node/ts3.2/index.d.ts' and '/Users/mac/WORLD_SIBU/unemployment-services-chaincode-repo/usschain2/node_modules/@types/node/ts3.2/index.d.ts'. Consider installing a specific version of this library to resolve the conflict.
../../node_modules/fabric-shim/node_modules/winston/lib/winston/config/index.d.ts(4,23): error TS4090: Conflicting definitions for 'node' found at '/Users/mac/WORLD_SIBU/unemployment-services-chaincode-repo/usschain2/node_modules/fabric-shim/node_modules/@types/node/ts3.2/index.d.ts' and '/Users/mac/WORLD_SIBU/unemployment-services-chaincode-repo/usschain2/node_modules/@types/node/ts3.2/index.d.ts'. Consider installing a specific version of this library to resolve the conflict.
../../node_modules/fabric-shim/node_modules/winston/lib/winston/transports/index.d.ts(4,23): error TS4090: Conflicting definitions for 'node' found at '/Users/mac/WORLD_SIBU/unemployment-services-chaincode-repo/usschain2/node_modules/fabric-shim/node_modules/@types/node/ts3.2/index.d.ts' and '/Users/mac/WORLD_SIBU/unemployment-services-chaincode-repo/usschain2/node_modules/@types/node/ts3.2/index.d.ts'. Consider installing a specific version of this library to resolve the conflict.

I re-generated my rest api a few more times and still falling down. If a link to my repo would help:
https://github.com/malengatiger/unemployment-services-chaincode-repo/tree/master/usschain2
Thanks!

repo: worldsibu/convector-rest-api


text:
Postgresql

Hey, maybe this is not an issue but i have a question about dejavu. How is it possible to use it with postgresql? I create a new database script and rewrite the sql statements. But since there is no hex or unhex function in postgresql it wont work. I use the encode/decode function but for example the decode function returns a longer string than the unhex in mysql. Is there any solution?
EDIT:
i found a way to create a postgresql script. Can be closed

@BeeZerk do you mean a database adapter? Would welcome a pgsql PR if you have one working.

@worldveil yeah i have one now. But my python knowledge isnt that good so maybe there are some bugs. But i can create fingerprints from a directory and recognize files. If you want i send it to you

The best way to do this would be to migrate the current adapter to sqlalchemy which is not very hard.

authors: BeeZerk avilaton worldveil

repo: worldveil/dejavu


text:
🛑 Ombi is down

In 5a262e6, Ombi (https://ombi.wouterplanet.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ombi is back up in 3e0aba7 after 25 minutes.

repo: wouterplanet/monitoring


text:
Lanugage selector script does not take in new language

I am working on a multi-language website, and wanted to add a language that is currently not part of the pre-translated 34 ones, Slovak.  I followed the instructions, created an sk.yaml in the i18n directory in root, give the menu parameters, and the website is built, but cannot be accesssed from the main language (English) interface.
For understanding what is happening, I created three languages, en, nl, and sk.
http://...url/sk/ shows the website, but it is not accessible from the English/Dutch interface language selector.
http://...url/nl/ not only shows the Dutch website, but the language selector works as expected.
http://...url/ shows the default English and allows the selection of the Dutch version (nl)
I think that there is a script that emunerates the languages, but I cannot locate it.  Because the all other UI elements are correctly shown in Slovak. I think that the problem is that the string 'Slovak' needs to be inserted to a language list, and of course, needs to be translated in existing languages.  For example, the Dutch version language list knows that English = Engels, but does not know how to call Slovak.
Creating menus
The new documentation (compared to earlier academic versions) suggests to create new toml files for each language.  As you can see if you click through, this is not necessary, the Dutch menu comes up nicely when the menus.toml is configured with both English and Dutch.
I tried to configure here the Slovak language, too, and then I also followed the suggested route, i.e. the creation of a separate menu.sk.toml  [This may require clarification in the documentation, but I think both approaches work fine.]
I believe that the problem is in the language selector script, becasue in fact the Slovak website is created properly, with Slovak title, and Slovak scripting.
Technical details:

Link to your GitHub project: https://github.com/dataobservatory-eu/listen-local-website/
Wowchemy Version (from your go.mod):  go 1.15, github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201220004521-6c434e6de205
Hugo Version (run hugo version): 0.79.0
Browser/OS: Windows10
Wowchemy Template:  module github.com/wowchemy/starter-academic

Extra:
Needless to say that as soon as I resolve this issue, I'll send a pull request with a new Slovak localization, and an update of Dutch, Estonian, Hungarian versions, as some recent improvements in the UI were not followed in the lanugage.yaml files.

You added your new language in your config/_default/languages.toml right?

authors: antaldaniel rodrigoalcarazdelaosa

repo: wowchemy/wowchemy-hugo-modules


text:
Crash Report 1486025123

Link:
https://wowsims.github.io/wotlk/rogue/#eJztmE1IFGEYx+d5dnadHRRft2Bnl93Yhg4iBDOzSS4E79SpwIMFgXgyaMNDh8WbniQySugQVNgeCoRCwkPRum1ZK30JCq5LHwt9LIiQGZqYFGwG0TuzHQvZN729P4aXZz7+/5f5zW3UoIIG9kAKBwBGAXIARYAlgEMkhm1gQyek4Lx7KyCFB71nwNdx+kRfslfxEl84A2ojuTCO2ueo7ss+w4Ucqn5S+YC6Z5KN9ST7CLX5qO65fgPVOnIpj9qVCIucY5FMSPct3kd2qCrZeIDa4C4dJLWB3GGZyxFdLuRQYm3PH7K2DdbWSDLszi8WY23VwjFWeDWiyuRiHtk6dMtZy2+ddeWx88BIFrXZKBueTriDTNITqMvsnb0jOIvqMEqCvxIwak30ywpo2BVkH0rWMIbN2OaxcRgOhGUCGgxBi2G0xi3DZGurZbITZ47vNSw2OIdhxE12xbIscwHqlZk5JO/nUJv6iEsgr0FdGqR3IKVR0r/v8Vf33Gc3VYeddih9zWGaJqpXinT3KZcStcYxdlRTWrb7a5+1t6TGePJfPd3BHQdrzVSdtZftP8kKPQzdILxthvAmvPEivPEhvPEhvPEhvPEhvPEhvPEhvPEhvPEhvPEhvPEhvPGxdd6OuX8Mb7r/mb7SmeX2vhepH7TW7pPH++8trxb/kVuj+48k3ni+vab5u6XkeuITnRqY7Fksl+h0x21/V2Gd9iZHgyudAbvWfbebgNFcKaTHXoXsBvPll59Bn71Z4jefGhdT
RNG Seed: 3532051829
runtime error: invalid memory address or nil pointer dereference
Stack Trace:
goroutine 11 [running]:
runtime/debug.Stack()
/opt/hostedtoolcache/go/1.18.10/x64/src/runtime/debug/stack.go:24 +0x6
github.com/wowsims/wotlk/sim/core.runSim.func1()
/home/runner/work/wotlk/wotlk/sim/core/sim.go:59 +0x10
panic({0xeeb00, 0x1340fa0})
/opt/hostedtoolcache/go/1.18.10/x64/src/runtime/panic.go:838 +0x29
github.com/wowsims/wotlk/sim/rogue.(*Rogue).setupAssassinationRotation(0x210a000, 0x151d4a0)
/home/runner/work/wotlk/wotlk/sim/rogue/assassination_rotation.go:292 +0x104
github.com/wowsims/wotlk/sim/rogue.(*Rogue).setPriorityItems(0x210a000, 0x151d4a0)
/home/runner/work/wotlk/wotlk/sim/rogue/rotation.go:268 +0x10
github.com/wowsims/wotlk/sim/rogue.(*Rogue).Reset(0x210a000, 0x151d4a0)
/home/runner

Clear your cache for the site and it will run.

Clearing cache didn't seem to solve the issue. Running a specific talent set seems to be the cause of the issue. Here's an export link
https://wowsims.github.io/wotlk/rogue/#eJzjEudgMmDKYCxgamBkXMHIuIOR8QIj4wtGRicBBSYLRgfGCMYCxg6wlBCDVCNrEyNbQE5iZWoRB6sAm9QGRi5+gc17mCReyiqxbTvM9GgHExenwI87TErM+4FMHoFtQLkHskrM8+YzcbELXN7NJDFVBqhlPVB4i6QSG1ARSB2XwK+dTBKtckqMDED2XaDkFBkQm1PgyC6gUb+ASvgFtgCF/wH1AI2CmDZ1G5PENBkuFoHefUxAsmsniLx7E0S+2QtSMPcBk8QxHi42gXVJEh9FgMIHdzMpsQD9y7qI6SwT1wwmhlGAFQgZkKqjioWDUYIpShwYTywSTApMGkwWzA5MMxhtpFgEGCUYuxi1DAxMjY0MDIGkqZEhkANiG+saGAEZIGRgYGwIFDEyMjJ8xMjDceo8k8Dt88Doe8r0gpHlAyP7LEaGW4wMs5gYlO5KcELsNHEQhDBEHCRnzQSBk/aWEJEL9oppYHDN3mgrk0KgBIcWrWO7xYEqxhgcpMicBHFhR1L1QMLM564DVOcPew/GBMbRcCMERsNtNNzIBaPhRh4YDTfywGi4kQdGw408MBpu5IHRcCMPUC/cgsA9w6Xg/sRH+1OvfSqPFvy0J9XslNCqza/fXcCh74O9uaflVeYvV+z3bbyW+snyuf2xhv0Zz+5esz8ZsIoz6twn+6LUFeJvIoQcSLWX1kDIQOPHuVlrLks68BpeevtbnM2BkA4AMSDqFA==

I will take a look at that. Thanks for letting me know it wasn't just old settings

authors: catszeid polocabbit

repo: wowsims/wotlk


text:
replace Phoenix.HTML.Tag

contributes to #299

coverage: 100.0%. remained the same
when pulling 4ce52639d5a7d881fc260878d88ed03f2f4a0432 on remove-phoenix-html-tag-references
into ce208adb84b44c575f4e322d86396a98d5d80bbf on main.

authors: coveralls woylie


text:
Port Package Functional Tests page from wiki

From https://github.com/wp-cli/wp-cli/issues/2508

Handled this in #112

authors: danielbachhuber gilbitron


text:
타 사이트 지원 여부

실례지만 혹시 카카오나 탑툰, 레진 같은 사이트도 지원 가능성이 있을까요..?
덕분에 정말 편하게 읽고 있습니다. 감사합니다 !

없습니다.

authors: kimhomo wr-rainforest

repo: wr-rainforest/Naver-Webtoon-Downloader


text:
Language Detection

Need a Wrangle to simply detect the langauge of texst, not translate it.  I searched the DeepL API docs and it doesn't seem to do this directly.  It doesd return the detected language, but you must specify the targe language.
I found an Azure API that does this explicitly.  What do you think about giving it a try?
https://learn.microsoft.com/en-us/azure/ai-services/language-service/language-detection/how-to/call-api
The general use case is processing a file that has multiple languages. Specifically, as an input to PRA, I need the language in order to direct the search to the appropriate country / websites.
I'm hoping that we can do this w a Recipe just like we did for the Google Address validation.

Closing this. Achieved with extract.ai using a prompt.

authors: ChrisWRWX ebhills

repo: wrangleworks/WranglesPY


text:
[Feature Request] Raw Strings

I think that a simple raw string would be beneficial when using lots of texts with double-quotes and similar needs to escape characters.
I think using the backtick character (`) (similar to Javascript) could be an option to delimiter a raw string.
var raw = `This is a "Raw" String`
var raw2 = `
This can be done too %(not_interpolated)
`

Thanks 👍

I prefer Rust syntax because using this syntax there's no way to encode a backtick in the string.
Rust syntax:
r then zero to infinite #s then the string then the same number of #s as in the start.
For example:
r"I am a raw string an I can include \"
r#"I am an another raw string and I can include even " (and of course \ too)"#
r#####"I am a third raw strings and I can include " then up to 4 #s - see: "#### "#####

Syntax:
RAW_STRING_LITERAL :
   r RAW_STRING_CONTENT

RAW_STRING_CONTENT :
      " <text> "
   | # RAW_STRING_CONTENT #

(From The Rust Reference).

You are right that a single backtick character would need to be escaped too.
But that kind of syntax is in my humble opinion, not much Wren like.
If something can be to pass variables that can be done with replace.
r"My not interpolated "string" with {param}".toString.replace("{param}", 42)

If something can be to pass variables that can be done with replace.

That's true but not relevant.

r"My not interpolated "string" with {param}".toString.replace("{param}", 42)

Your string isn't valid because you have " inside.

how about using python's """ for delimiting a raw string?

Then you cannot encode """. Yes, this is rarer, but still.

Ok, how about using the current string method. But just adding a new escape character %r(). Then the interpolation logic would detect that and convert the contents to codepoints until the end of the parenthesis, later will interpolate the string and finally convert %r() back from codepoints to a string.
var raw = "
%r("This is a raw string")
"

First, that can collide with format specifiers that we may have in the future.
Second, it does not solve the problem of escaping the end marker.
Third, I find it strange and unnatural.

Maybe it can't be helped but for raw strings, a new keyword must be provided. Unless there is some syntax sugar that could be added to convert to raw codepoints before interpolation. I don't know xd.
Here is a discussion of raw strings in Swift. https://github.com/apple/swift-evolution/blob/master/proposals/0200-raw-string-escaping.md

I'm not arguing that raw strings are not useful, I'm just saying that about the proposed syntax.
C# raw strings are pretty good. I love C#, but in this case, I think that Rust and C++ approaches are better. Remember that raw strings are often (although not always) used in the context of long strings, and in those places, even double quotes instead of one can confuse and break the read continuity. For example, how is reading this:
@"
<!DOCTYPE html>

    <title>My Title</title>

Header

"

Versus reading this:
r#"
<!DOCTYPE html>

    <title>My Title</title>

Header

"#

When I read the first example my eyes jump here and there because of the extra quotes. The second example is clear and easy to read. I also had in some project a list of strings that were aligned, and the quotes broke the alignment and make everything ugly.

A simple solution would be to extend regular string to allow newlines to be
included. It has the benefit to allow raw like string at the cost of
requiring to escape the escape char.
Be careful that raw lines also open the line termination character, that is
OS dependent.
Considering last point and that it is an option that one hardly use, all in
all I don't find it really worth it to add.

Nevertheless, I find at least it should be addressed the escape double-quotes use case. It's a common character, especially in JSON and HTML documents. The "fat quotes" (""") can be provided to automatically:

1: Enable using double quotes without escaping
2: Remove incidental white-space

var json = """
{
 "my": "json"
}
"""

I'd like to see raw strings added to Wren too.
Personally, I dislike the way C++ and Rust do it. Although they can cope with just about anything it's just too complicated for my taste.
The Go language uses back-ticks to delineate raw strings but a lot of people aren't happy that you can't then include back-ticks themselves in the raw string.
The best solution in my view is to use triple quotes. A number of languages have adopted this as a reasonable solution. You can't then include triple quotes in the raw string but how often does that come up? - not very often I suspect.

A simple solution would be to extend regular string to allow newlines to be included. It has the benefit to allow raw like string at the cost of requiring to escape the escape char.

What wasn't clear when I said:

Also I think it is important to say here that Wren supports multiline string literals (for some reason it's not stated in the docs).

You can't then include triple quotes in the raw string but how often does that come up? - not very often I suspect.

When you include a code in the language that includes raw string. That happened to me.

Single quotes aren't currently used by Wren, couldn't we use a single-quoted string as a raw string?

If we did, then we wouldn't be able to include single-quotes in the raw string and they're commoner in my experience than back-ticks and certainly much more common than triple double-quotes.

Other languages like Elixir uses the concept of sigils ~s()and  ~S()
https://elixir-lang.org/getting-started/sigils.html#strings
~s(String with escape codes \x26 #{"inter" <> "polation"})
"String with escape codes & interpolation"

~S(String without escape codes \x26 without #{interpolation})
"String without escape codes \\x26 without \#{interpolation}"

I think this has been solved by @ruby0x1 https://github.com/wren-lang/wren/commit/8304fd5ecc8b367f5ece477fd0808f1f0c33f7e8 👍 💯
I'm super happy about it. Thanks Ruby!

I forgot to comment here but I was working on it and it was ready.
Here's the documentation: https://wren.io/values.html#raw-strings

What a pleasant surprise :)
I've been thinking about this for some time and was convinced that triple double-quotes were the best solution for a simple language such as Wren. The ignoring of white-space when the triple quotes are on their own line is also a nice touch.
If your raw string does happen to include code in Wren itself or in a language which also uses triple quotes for raw strings, then this will normally be easy to deal with by temporarily replacing the triple double-quotes with single quotes, viz:
"""
A markdown string with embedded wren code example.

    class Example {
      construct code() {
        var s = '''I'm an embedded raw string!'''
      }
    }
""".replace("'''", "\"\"\"")

With this feature in place maybe it is a good time to revisit unit testing?

@PureFox48 yea, replace works and you can also do combining
"""
some long parts"""
+ "\"\"\"" +
"""
the rest
"""

repo: wren-lang/wren


text:
Add configurable timeout for metric labels.

When using highly variable metrics we'd like to bound memory use a bit by not persisting metrics which have stopped being sent to the underlying logger.
Default behaviour should be "forever" - practical behaviour for example, in the specific case of logging DNS requests/responses should let us configure an "age-out" period.

Closed by #3


text:
[APIM][2.5.0] Invalid code error while optimising for profiles

Description
While testing the Key Manager profile following issue was identified.

Following logs were observed while optimising for the key manager profile.

bin % sh profileSetup.sh -Dprofile=api-key-manager
Starting to optimize API Manager for the Key Manager profile
sed: 1: "../repository/conf/api- ...": invalid command code .
[2023-05-11 16:18:24:N] INFO - Disabled the <DataPublisher> from api-manager.xml file
sed: 1: "../repository/conf/api- ...": invalid command code .
[2023-05-11 16:18:24:N] INFO - Disabled the <JMSConnectionDetails> from api-manager.xml file
sed: 1: "../repository/conf/api- ...": invalid command code .
[2023-05-11 16:18:24:N] INFO - Disabled the <PolicyDeployer> from api-manager.xml file
sed: 1: "../repository/conf/axis ...": invalid command code .
[2023-05-11 16:18:24:N] INFO - Disabled the <transportSender name="ws" class="org.wso2.carbon.websocket.transport.WebsocketTransportSender"> from axis2.xml file
sed: 1: "../repository/conf/axis ...": invalid command code .
[2023-05-11 16:18:24:N] INFO - Disabled the <transportSender name="wss" class="org.wso2.carbon.websocket.transport.WebsocketTransportSender"> from axis2.xml file

Due to those commands were not executed several errors were generated when trying to start the key manager.
Similar issue was observed for other profiles as well

Product : wso2am-2.5.0
Update level : 68
Steps to Reproduce

Get a U2 updated wso2am-2.5.0 pack.
Run the <PRODUCT_HOME>/bin/profileSetup.sh script using sh <PRODUCT_HOME>/bin/profileSetup.sh -Dprofile=api-key-manager

Affected Component
APIM
Version
2.5.0
Environment Details (with versions)
macOS (Apple M1 Pro)
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

closing this issue as it has been resolved internally.

authors: SavinduDimal YasasRangika


text:
Start error on Macbook M1

Description
Application throw exception when I trying execute,
org.osgi.framework.BundleException: Could not resolve module: io.netty.codec-http [29]
Unresolved requirement: Import-Package: com.aayushatharva.brotli4j.encoder; resolution:="optional"
Unresolved requirement: Import-Package: com.jcraft.jzlib; resolution:="optional"
Unresolved requirement: Import-Package: sun.nio.ch; resolution:="optional"
Unresolved requirement: Import-Package: org.eclipse.jetty.npn; version="[1.0.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.eclipse.jetty.alpn; version="[1.0.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: io.netty.handler.ssl; version="[4.1.0,5.0.0)"
-> Export-Package: io.netty.handler.ssl; bundle-symbolic-name="io.netty.handler"; bundle-version="4.1.74.Final"; version="4.1.74"; uses:="io.netty.buffer,io.netty.channel,io.netty.handler.codec,io.netty.util,io.netty.util.concurrent,javax.crypto,javax.net.ssl"
io.netty.handler [33]
Unresolved requirement: Import-Package: sun.security.x509; resolution:="optional"
Unresolved requirement: Import-Package: org.eclipse.jetty.npn; version="[1.0.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.eclipse.jetty.alpn; version="[1.0.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.bouncycastle.asn1.x500; version="[1.69.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.bouncycastle.cert; version="[1.69.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.bouncycastle.cert.jcajce; version="[1.69.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.bouncycastle.jce.provider; version="[1.69.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.bouncycastle.operator; version="[1.69.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.bouncycastle.operator.jcajce; version="[1.69.0,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.conscrypt; version="[2.5.0,3.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: sun.nio.ch; resolution:="optional"
Unresolved requirement: Import-Package: io.netty.internal.tcnative; version="[2.0.0,3.0.0)"
-> Export-Package: io.netty.internal.tcnative; bundle-symbolic-name="io.netty.tcnative-boringssl-static"; bundle-version="2.0.45.Final"; version="2.0.45"
Steps to Reproduce
Run command
sh wso2si-4.1.0/bin/server.sh
Affected Component
SI
Version
4.1.0
Environment Details (with versions)
Macbook Pro M1 2021
Java 11 (for Apple M1 chip)
WSO2 SI version 4.1.0
Relevant Log Output
org.osgi.framework.BundleException: Could not resolve module: io.netty.codec-http [29]
  Unresolved requirement: Import-Package: com.aayushatharva.brotli4j.encoder; resolution:="optional"
  Unresolved requirement: Import-Package: com.jcraft.jzlib; resolution:="optional"
  Unresolved requirement: Import-Package: sun.nio.ch; resolution:="optional"
  Unresolved requirement: Import-Package: org.eclipse.jetty.npn; version="[1.0.0,2.0.0)"; resolution:="optional"
  Unresolved requirement: Import-Package: org.eclipse.jetty.alpn; version="[1.0.0,2.0.0)"; resolution:="optional"
  Unresolved requirement: Import-Package: io.netty.handler.ssl; version="[4.1.0,5.0.0)"
    -> Export-Package: io.netty.handler.ssl; bundle-symbolic-name="io.netty.handler"; bundle-version="4.1.74.Final"; version="4.1.74"; uses:="io.netty.buffer,io.netty.channel,io.netty.handler.codec,io.netty.util,io.netty.util.concurrent,javax.crypto,javax.net.ssl"

Related Issues
No response
Suggested Labels
No response

@vinhphamduc Have you been able to figure this out? I have tested above mentioned version on an Apple M1 Pro chip with OpenJDK Runtime Environment Temurin-11.0.16.1+1 and couldn't observe the above mentioned issue

authors: AnuGayan vinhphamduc


text:
Maintaining minor OpenAPI document version

Description
APIM 3.2.0 U2 level 332 onwards, we can see the following behavior.

Go to the Publisher Portal and browse to the API definition.
Change the "info.version" property value to "1.0.1" (Assuming the initial value is "1.0.0").
Update the API.
The "info.version" property value reverts back to the "1.0.0" (API's version)

Therefore, cannot maintain the minor version on the OpenAPI document.
Steps to Reproduce
Mentioned in the description.
Affected Component
APIM
Version
3.2.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Hi all,
As per discussions within the team, this is not a recommended/valid approach. In 4.x.x versions, the API version in the OAS file should align with the version of the managed API. Hence, we will be closing this issue and we won't send a fix to master.
Thank you
Avishka

authors: Avishka-Shamendra shavinsenadheera


text:
Fixed UI Styling Issues in API Security Audit Report Viewing Page

Fixes https://github.com/wso2/api-manager/issues/2570
New UI

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

authors: CLAassistant piyumaldk


text:
Refactor DSS editor webapp

Purpose
Refactoring DSS editor webapp

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

 All committers have signed the CLA.

authors: CLAassistant claassistantio dilee


text:
Sync Dev with Main

Purpose
Sync Dev with Main to add Slack and Choreo logo to Config Files

Closing since the changes are already pushed to main.


text:
[WIP] roxy api config doc changes

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues in the following format: Resolves issue1, issue2, etc.

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email documentation@wso2.com to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to certification@wso2.com and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

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


text:
Cannot generate a REST API with a WSDL file on Windows

Description:
Windows specific bug regarding generating a REST API with a WSDL file.
Steps to reproduce:
On Windows OS:

Go to publisher portal -> "I have a SOAP endpoint"
Implementation type = Generate REST APIs
Input type = WSDL File/Archive
Choose a WSDL file (not a zip file)
Try to create API on next page and it will fail

Affected Product Version:

APIM 3.2.0
Environment details (with versions):

OS: Windows 10

Optional Fields
Related Issues:

Suggested Labels:

Suggested Assignees:

The fix for the master has been already done via https://github.com/wso2/carbon-apimgt/commit/5329a140308dc3c7ba99ed837a8d90e98738bf1f and https://github.com/wso2/carbon-apimgt/pull/10686. Hence closing the issue.

authors: BuddhikaJayanarth wasuradananjith


text:
Scopes can be added with non existing roles

A role validation doesn't happen to check whether the provided role is available in the environment, when adding a new scope
Affected version : APIM 3.0 rc3

working in latest 3.1.0 pack.


text:
Implementation of  Ghost deployment(Lazy Loading) test cases for WSO2 AS (JIRI TA-591)

Implementation of  Ghost deployment(Lazy Loading) test cases for WSO2 AS (JIRI TA-591)
this includes

Ghost deployment (Lazy Loading) test caes for WSO2 AS.
Rest web service artefact  to retrieve the web-app/tenant lazy loading information.
add new  "tests-common" module in between  "modules/integration" and  other common sub modules like "tests-common/admin-client","tests-common/ui-pages","tests-common/integration-test-utils".

Hi Saneth,
Can you let me know once you are done with above changes? I will mege this right away.
Thanks.

@kasunbg  this can be merge now...  I have done all changes.

authors: kasunbg sanethd


text:
Sort the Certificate Alias list by alphabetical order in SAML config page

Moved from: https://wso2.org/jira/browse/IDENTITY-7112
If you have a long list of Certificate Aliases it's difficult to find it since the list is not ordered. Can we sort the list Alphabetically?

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!

authors: IsurangaPerera isharak


text:
[SCIM2] Get Group call fails when the user list of the role is large

Description
Get Group call fails (timeout) when the user list of the role is large.
Following error can be also observed in the carbon log in IS 5.9.0.
[2020-08-13 11:36:29,788] []  WARN {org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve} - Thread [https-jsse-nio-9443-exec-4] (id=[{6}]) has been active for [600,906] milliseconds (since [8/13/20 11:26 AM]) to serve the same request for [https://localhost:9443/scim2/Groups/9cb38827-ede0-43c6-9568-98d29071da66] and may be stuck (configured threshold for this StuckThreadDetectionValve is [600] seconds). There is/are [1] thread(s) in total that are monitored by this Valve and may be stuck., tenantDomain=carbon.super java.lang.Throwable
Root Cause
The reason is  that after the usernames are taken from carbon kernel via getUserListOfRole(roleName) API, at SCIM level it calls getUserClaimValue for each username to get the respective userId.
Steps to Reproduce

Assign over 1000 users to a role
Set the MaxUserLimit property to 1000
Call the SCIM2 getGroup API for the respective groupId

Reproduced IS Versions

5.7
5.9

Reproduced User Store

Active Directory

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!

authors: gayashanbc isharak


text:
Bump Dependencies #1399539951

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/1399539951

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging 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.

authors: CLAassistant jenkins-is-staging


text:
Bump Dependencies #6524807879

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/6524807879

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging 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.


text:
fix time bucket issue and fix issue  that check style failed

@pengys5

Changes Unknown when pulling a4c0bb5db4368e29b4afb59ab045e468afb12a19 on ascrutae:feature/debugging into ** on wu-sheng:feature/debugging**.

Changes Unknown when pulling 6d46e85a6fe5cdc96f89ee7ef4d3eee6c42200c2 on ascrutae:feature/debugging into ** on wu-sheng:feature/debugging**.

authors: ascrutae coveralls

repo: wu-sheng/sky-walking


text:
Add JavaTimeModule

Checklist

[ ] Pull requests follows the contribution guide
[ ] New or modified functionality is covered by tests

Description

This can be configured via the public API (see SchemaParserOptions). No need to patch the library

This can be configured via the public API (see SchemaParserOptions). No need to patch the library

authors: Denisalik thedeadferryman

repo: wunderschild/graphql-java-tools


text:
Tooltip does not show on Safari-IOS browser when set the effect prop to solid

I tested on Safari-IOS, it won't show the tooltip if I set the effect prop to solid.

+1
Can anyone help with this?

How to reproduce

More than 1 tooltips on a page
On iPad/iPhone
Set the effect prop to solid
Click on the tips, everything looks fine at first.
Click on the tips again. The tooltip contents become invisible.

Expectation
Showing solid tooltips correctly every time when clicking on the tips.
More information

The first tooltip on a page behaves correctly.

Version

react-tooltip@4.2.21

repo: wwayne/react-tooltip


text:
Bug Reporter "How to report" tab

The "how to report a bug" tab of the bug reporter references https://sourceforge.net/p/wxglade/bugs/ rather than https://github.com/wxGlade/wxGlade/issues which is the current location. I am not sure if the mailing list is also incorrect.
Glade version v0.8.0

Shows the issue.

Thanks. I missed this one as I usually run under a debugger and so never reach the dialog.
It's updated in the repository now.

Fixed with 0.8.1 (see https://github.com/wxGlade/wxGlade/releases )

authors: DietmarSchwertberger GadgetSteve

repo: wxGlade/wxGlade


text:
[Vue warn]: Failed to resolve filter: substring(0,20) (found in component: )

Hello,
I do not know if I'm doing anything wrong, but when I use, for exemple,  the substring (0.20) filter , I get this error: [Vue warn]: Failed to resolve filter: substring (0,20) (Found in component: )
can you help me?
thank you

@bonzinho The reason is you didn't install the filter correctly. Please see this: Install. If it can't work please let me know. :)

Hi again, thanks for quick response,
Sorry im noob with webpack,
and in my file spa.config i do this:
`require('materialize-css');
window.Vue = require('vue');
require('vue-resource');
require('vue-filter');
Vue.http.options.root = appConfig.api_url;
require('./router');`

var Vue = require('vue');
var VueFilter = require('vue-filter');

Vue.install(VueFilter); // don't forget install

Now, I think your problem must be solved. 😃

I had tried, but it shows me these errors:
[Filter duplication]: A filter named debouncehas has already been installed.
(Anonymous) @ vue-filter.js: 2775
Vue-filter.js: 2775 [filter duplication]: A filter named uppercasehas already been installed.
(Anonymous) @ vue-filter.js: 2775
Vue-filter.js: 2775 [filter duplication]: A filter named lowercasehas already been installed.
(Anonymous) @ vue-filter.js: 2775
Spa.js: 10 Uncaught TypeError: tete.install is not a function
At Object.  (spa.js: 10)
At webpack_require (bootstrap efbb9be ...? 3158: 555)
At fn (bootstrap efbb9be ...? 3158: 86)
At Object.  (bootstrap efbb9be ...? 3158: 578)
At webpack_require (bootstrap efbb9be ...? 3158: 555)
At bootstrap efbb9be ...? 3158: 578
At bootstrap efbb9be ...? 3158: 578
Thanks anyway

I had tried, but it shows me these errors:
[Filter duplication]: A filter named debouncehas has already been installed.
(Anonymous) @ vue-filter.js: 2775
Vue-filter.js: 2775 [filter duplication]: A filter named uppercasehas already been installed.
(Anonymous) @ vue-filter.js: 2775
Vue-filter.js: 2775 [filter duplication]: A filter named lowercasehas already been installed.
(Anonymous) @ vue-filter.js: 2775
Spa.js: 10 Uncaught TypeError: Vue.install is not a function
At Object.  (spa.js: 10)
At webpack_require (bootstrap efbb9be ...? 3158: 555)
At fn (bootstrap efbb9be ...? 3158: 86)
At Object.  (bootstrap efbb9be ...? 3158: 578)
At webpack_require (bootstrap efbb9be ...? 3158: 555)
At bootstrap efbb9be ...? 3158: 578
At bootstrap efbb9be ...? 3158: 578
Thanks anyway

@bonzinho I don't know why you got those error message.

Spa.js: 10 Uncaught TypeError: Vue.install is not a function

Vue.install this must be a function. I can check your webpack config. I guess the problem must in there.

authors: bonzinho wy-ei

repo: wy-ei/vue-filter


text:
[Feature request]支持导出到Hiddify 的专用链接支持

你好。
在导出到app使用时，期望增加hiddify软件的专用导出订阅链接，以便点击后只打开hiddify app。谢谢。
参考如下：https://hiddify.com/app/URL-Scheme/

加了
我没测试
有空的人一下


text:
Generated titanium.js

It should be cool if you could host teh generated  titanium.js in your git repository. Thanks!

Do you encounter any issues with running the generator script? I'm not really following Titanium releases now since I've switched from mobile development. Would you provide PR with generated Tern definitions?

authors: angelozerr x-cray

repo: x-cray/titanium-ternjs


text:
Hot reloading removes unchanged plugins from the list

On startup:

Then I modify the BreakpointLog plugin:

Fixed by #76


text:
LiveLink stops when Ctrl+Z pressed

LiveLink stops when Pressing Ctrl+Z for Undo action on C4D,and sometimes C4D crashes by it.
Actually looks like UI is still working,but it can't send
C4D's bugreport file and screenshot(zip)
It needs to restart C4D to fix it.

Hi Flowing, unfortunately most of these bugs are caused by memory errors in the underlying library that HLAELiveLink uses. The only true fix would be to completely re-write a websocket library (which I have considered). But the rate at which crashes happen seem to be small (at least in my tests). If there is enough demand however I will look into re-writing a the websocket backend. In the meantime if you do find any more situations that immediately cause a crash feel free to leave them as a comment on this issue, this will help me further diagnose the underlying problem.

thanks <3 cheers!
also C4D => HLAE cam sync stoppes when C4D has keyframe on camera positions.
I'm not sure it's websocket related bug or not tho.

Are there keyframes on each frame or is just a few across the timeline? And does it stop only on the keyframes or just outright stop working completely?

I'm using that your "HLAE CamIO 2 C4D",So it has keyframes on every frames.
it stoppes completely when C4D cam has keyframes.

Hmmm interesting, I will definitely have to look into that then. Thanks for the info!

authors: FlowingSPDG xNWP

repo: xNWP/HLAELiveLink


text:
Log In page return Server Error (500)

When trying to access the login page, the application returns a Server Error (500).

how to reproduce:
clicking the login button from any page.

Thank you for your feedback. We've already resolved it. The login is now working.

authors: ReggieReo xNatthapol

repo: xNatthapol/SIP


text:
Add operations_access_level flag to projects

@svanharmelen I've got another PR for you :)
This flag was added in the most recent release of GitLab

Looks good, but I think we should then also add the field to the create and edit structs. Right?

Looks good, but I think we should then also add the field to the create and edit structs. Right?

Looks good, but I think we should then also add the field to the create and edit structs. Right?

Yes, good call. Added that as well

Looks good, but I think we should then also add the field to the create and edit structs. Right?

Yes, good call. Added that as well

authors: cmmarslender svanharmelen

repo: xanzy/go-gitlab


text:
Added Vibration on Remote Arrow Press

Arrow buttons on remote give out 100ms vibrations on press. Setting to enable and disable the vibrations has been added too.
Fixes #95.

Thank you for having submitted a pull request for my feature request.
But:

@akshay2000 wrote:
Arrow buttons on remote give out 100ms vibrations on press.

Does your pull request only add vibration for the arrow buttons?
My feature request was about adding vibration to all buttons on the remote.
So, any chance you could add vibration to all buttons on the remote?
My feature request came from the intention to give Kore a tactile feedback.
So, it wouldn't make much sense to only have that tactile feedback on the arrow buttons.
All buttons on the remote should have that tactile feedback IMHO.
Any chance you could do it?
It would be much appreciated.
Regards

@wp9015362  I thought of adding tactile feedback everywhere, but that doesn't really provide any benefit. I have done some A/B testing earlier (for Windows Phone Kodi Remote) and that analytics data suggests that users prefer to have remote keys to vibrate.
Reasoning behind this could be that when you have all the buttons vibrating, it's same as all buttons not vibrating. In essence, there is no way for the user to differentiate between frequently used arrow keys and infrequently used other keys without looking at the phone.
Maybe you could try this version from this debug APK. Try and see if you like it. If not, I'll wait for one of the Team Kodi members to comment on it. I'm not sure if they even want to accept this.

@akshay2000 :
I disagree. I think having vibration on all buttons is great.
I know that it is great because I have an LG G2 smartphone.
The LG G2 / G3 / G4 smartphones come with an app called "LG Quick Remote".
Here you can see a video of it:
https://www.youtube.com/watch?v=5o6Z_YyfZXQ
The LG Quick Remote app has a setting called "Vibrate on tap".
When this setting is enabled, all buttons on the remote do vibrate when they are being pressed.
And this feels amazing.
What's also nice about the LG Quick Remote vibration is, that even when you press and hold a button on the remote, it continues to vibrate. But not with a constant vibration. When you hold down the channel plus or volume plus button for example it makes one short vibration after another with a little break inbetween, everytime a IR blast is being send out.
And it even makes the notification light blink once per IR blast.
It's really nice!
If Kore would do it like that, that would be really awesome.
Please do not just make the arrow buttons vibrate.
Please at least add an option to also make all buttons vibrate.
And, sorry, but I don't want to install APKs manually.
And I really hope that Team Kodi will accept this. Because when you have used LG's Quick Remote, you really miss the vibration feature in Kore.
Regards

PS:
It would also be nice if you could add an option to configure the strength of the vibration.
Regards

@wp9015362 Interesting. I had implemented the ability to send continuous vibration pulses when button is held down. But then I removed it.
At this point, I really don't know what the feature roadmap Team has planned for the app. And since you are not planning to install APK (I didn't inject malware, I promise!) there is no point in implementing further features. I don't even have a device to test vibrations. So, if the Team confirms that the feature is planned, then I will go ahead and implement it. If not, you're either stuck with no tactile feedback or manually managing APK.

I'm not opposed to adding vibration (as an option), and i'll take a look at this later. As for if all buttons should vibrate i don't have a strong opinion about this. I'll try it and see if i form an opinion.
@akshay2000 Good work on the remote for windows (haven't tried it, but looks good). Regarding this PR, i've just glanced at it, and it looks good. Just check if you need the vibrator on the remoteFragment, i believe it is superfluous.

@SyncedSynapse wrote:
I'm not opposed to adding vibration (as an option), and i'll take a look at this later. As for if all buttons should vibrate i don't have a strong opinion about this. I'll try it and see if i form an opinion.

Well, it would be nice if you would let the users decide for themselves via options.
You could add options for:

Configuring if the vibration is enabled on all buttons or only on the arrow buttons
Configuring the strength of the vibration
Configuring the length of the vibration
Configuring if the notification light blinks when a button is pressed

That way the users could configure how they like the vibration themselves.
That would be better than forcing one specific vibration config on the user.
Regards

i'm ok with the vibration as it's default off. We should not add too many option as it's overkill.

Well, yeah, okay, the options for the vibration strength/length and notification light might not be that much needed (but still nice to have anyway).
But an option to enable vibration for all buttons instead of only for the arrow buttons would be essential IMHO.
Because having vibration only for the arrow buttons would make the vibration feature pretty much useless. At least for me.
Regards

We should not add too many option as it's overkill.

Right. Too many choices paradox.
So, here is the plan for me:

Remove unnecessary references.
Enable vibration for all the remote buttons.
Just keep one setting to turn it on or off.
Enable continuous vibration pulse for buttons that send repeated signals.

By the way, @SyncedSynapse Is there a way we could get Windows Phone/Windows project under the umbrella along with iOS and Android apps?

I have added vibrations to all the buttons on remote. This request can now be merged.

@akshay2000 I still haven't been able to test this (i'm on the middle of something else), but looking at the code it looks like you've added vibration to all buttons, including play/ff/re and home/movies/etc.
I think these buttons shouldn't have vibration, as they are "normal" Android buttons and these don't have vibration associated with them. I think that vibration should only be applied to the d-pad and maybe the surrounding buttons, but not the "normal" ones. Also, vibration helps when the user is navigating Kodi's Ui and is not looking at the phone, and this only applies to the d-pad.

@SyncedSynapse That makes sense. In fact, that was my initial idea. I'll make the changes and push a commit.

Looks good, though i feel that 100ms vibration is a little too much. I might change this...

repo: xbmc/Kore


text:
Investigate using pfUnit as formal testing framework

Currently unit tests are defined as regular subroutines and run through ctest. We may get better utilities using pfunit, like better float comparison, test tagging, running tests in parallel.
@slaizet said Thibault tried this out last year and described it as "painful" so I'd like to know what benefits we might get from pfunit before ripping out our current working test framework.

I've used pfUnit a bit in the past, but never done the setup from scratch so I am not sure how painful that part is. I think the main advantage is being able to cleanly run test with MPI. ctest can kind of do it (#20), but it seems fairly hacky.
An other option would be to use something like lit (https://llvm.org/docs/CommandGuide/lit.html). We are using it with Paul on an other fortran project and it is fairly straightforward.

I've used pFUnit in the past and found it a pain to work with, I would recommend ctest over lit.

@pbartholomew08 we're currently using ctest!
Considering many folks' poor experiences with pfunit, one fewer dependency to worry about, potential issues with f2008 + Nvidia's compilers, and the fact that ctest seems to be working fine for us now, I'm considering pfunit unsuitable.

authors: JamieJQuinn Nanoseb pbartholomew08


text:
Add avoid-cfg-tarpaulin flag

I created this pull request in order to avoid "cannot find attribute" error that comes from #[cfg_attr(tarpaulin, skip)] in some old dependencies.
In the project I use glutin that uses wayland-commons v0.21.13. When I want to check coverage using tarpaulin I get:

"Error: cannot find attribute `skip` in this scope"

--avoid-cfg-tarpaulin flag removes --cfg=tarpaulin from the RUSTFLAGS.
Do you agree to add such a flag?
Thanks in advance.

Yeah, I've endeavoured to get projects that haven't upgraded to upgrade via PRs (when I've spotted them) but some haven't yet or don't plan on releasing an update for a while. If you just update the changelog I'll approve and merge this.

Done

Awesome, thanks 👍


text:
Remove formatting does not remove all formatting

Jodit Version:  4.1.12
Browser: Chrome
OS: Windows
Is React App: False
Content of the editor:

example p tag

Expected behavior:
Clicking on the 'remove formatting' button is removing 'dir="ltr"'.
Actual behavior:
Clicking on the 'remove formatting' button is not removing this

Hi, I checked in different editors, none of them deletes dir. Write how you think this should work, and where have you seen this behavior?

authors: jeroentja xdan

repo: xdan/jodit


text:
More explicit code for segment slicing in dejittering

I also added a warning when effective srate was more than 10% different from specified srate.

I think this looks good. +1 for merge.
Some general comments:

I'd prefer if everyone made PRs from a dedicated branch in their fork. This makes it easier for others to pull remote branches. This also means no branches other than master in this repo (upstream).
Our code should try to adhere to PEP8. I know especially the line length of 79 characters is sometimes a problem, but in most cases it is possible.
At least 2 members of the dev team should have seen a PR. Ideally, if a member makes a PR, another member should perform the merge (except of course for trivial changes like typos and whatnot).

WDYT? We could create a short how to contribute guide with these points. Do you have anything to add?

Re this PR: do you want to add an entry to CHANGELOG.md? This refactoring could be in a CHANGED section.

I'd prefer if everyone made PRs from a dedicated branch in their fork. This makes it easier for others to pull remote branches. This also means no branches other than master in this repo (upstream).

Sorry but I'm a maintainer on many different open source repos and it would be a nightmare to manage if I had personal forks for each of them. This is especially problematic for repos like this that are also submodules because I guarantee at some point I would end up having the parent repo pointing its submodule ref to my personal repo. I'll just delete the branch after merge.

Our code should try to adhere to PEP8. I know especially the line length of 79 characters is sometimes a problem, but in most cases it is possible.

I try to adhere to all aspects of PEP8 except the 79 character length. There's already quite a bit of debate about whether or not that should still be included. I'll try to do it for this project but I'm not going to change my IDE defaults on my 6 different computers, so I'll probably miss it sometimes.

At least 2 members of the dev team should have seen a PR. Ideally, if a member makes a PR, another member should perform the merge (except of course for trivial changes like typos and whatnot).

I agree with the second sentence. For the first sentence, sometimes you're going to be waiting months for me to reply to something fairly trivial and that's probably worse than having to revert something after the fact. If you think I was too hasty in merging a PR then let me know and we can work on adding proper unit tests for whatever I missed.
I won't ever make a tagged release without getting consensus so 99.999% of users (who rely on pypi) won't see any changes until well after we've had time to play with changes. If you want to do a develop/master model then that works too.
It's already hard enough for me to find time to work on these things, please don't add any more barriers. Community is more important than having a pristine repo.

Sorry but I'm a maintainer on many different open source repos and it would be a nightmare to manage if I had personal forks for each of them. This is especially problematic for repos like this that are also submodules because I guarantee at some point I would end up having the parent repo pointing its submodule ref to my personal repo. I'll just delete the branch after merge.

I have personal forks for most of the repos I contribute to, but it's OK if you want to work on branches in this repo.

I try to adhere to all aspects of PEP8 except the 79 character length. There's already quite a bit of debate about whether or not that should still be included. I'll try to do it for this project but I'm not going to change my IDE defaults on my 6 different computers, so I'll probably miss it sometimes.

That's OK. If I spot any long lines in any PRs I review I will try to shorten them if it's not too much work.

I agree with the second sentence. For the first sentence, sometimes you're going to be waiting months for me to reply to something fairly trivial and that's probably worse than having to revert something after the fact. If you think I was too hasty in merging a PR then let me know and we can work on adding proper unit tests for whatever I missed.

This comment wasn't intended to criticize something you did, it was just an idea which I thought made sense to implement. Having said that, if you agree that at least two devs should have seen a PR, this means that for the majority of PRs (which are made by a dev) another dev will have to review it.

I won't ever make a tagged release without getting consensus so 99.999% of users (who rely on pypi) won't see any changes until well after we've had time to play with changes. If you want to do a develop/master model then that works too.

No, that's fine, let's continue making releases based on consensus.

It's already hard enough for me to find time to work on these things, please don't add any more barriers. Community is more important than having a pristine repo.

I certainly didn't want to add more barriers. I thought that by providing some guidelines maintaining should be less of a burden, but we don't have to implement all or any of my suggestions.

Thanks @cboulay!

authors: cboulay cbrnr

repo: xdf-modules/xdf-python


text:
Allow set token manually in conversation

 OpenAI.conversation { }
When I use conversation block it always calls the env system, but I want to set the token manually.
 OpenAI.conversation(here_token) { }
The problem:

@JvmField val FromEnvironment: OpenAI = OpenAI()

suspend fun <A> conversation(block: suspend Conversation.() -> A): A =
      block(conversation(LocalVectorStore(FromEnvironment.DEFAULT_EMBEDDING)))

This always ends up calling the environment because the token is set to null by default.
class OpenAI(internal var token: String? = null, internal var host: String? = null)

For now, the token is part of the model not part of the Conversation. If you want to use a model with your own token you should do something like this:
OpenAI.conversation {
    val chat = OpenAI(token = "your_token").DEFAULT_CHAT
    val response = promptMessage("What is the meaning of life?, model = chat)
    println(response)
}

Does that make sense for you?

There is a problem because to create OpenAI.conversation {, you call OpenAI with the token null always by default.
The second call  OpenAI(token = "your_token").DEFAULT_CHAT  it's okay.
It would be interesting if only one OpenAi() were created for the entire block. With Context Receivers this will be easier in the future.

Yes, this is a known error. FromEnvironment should be lazy... and I agree with you about the conversation block

repo: xebia-functional/xef


text:
Optional support for formatting

Have you considered adding optional support for formatting the output with Prettier/Biome?
You could have an optional peer dependency on prettier and prettier-plugin-svelte, and a format: 'prettier' option to trigger it:
const output = print(svelteAST, { format: 'prettier' });

Alternatively a small section on how to achieve it manually - eg. run the output through prettier before writing it to the file.

Just to make sure I understood the proposed idea. Let's focus on prettier to simplify it.

Placing in options { format: "prettier" } would trigger a post-formatting with it. Right?
So from my research, that means:

We would have to change print to be async function 😕 - see: https://prettier.io/docs/en/api#prettierformatsource-options
I'm not feeling in a favour of this, because I'd like to align closely with esrap functionality and API, and leave it to be synchronous. But I can be persuaded to look at it differently.
... I had a thought, but I lost it, so I'll leave it as placeholder.

Also, while working on this package, I'm seeing a possibility to refactor this API to implement more formatting options, where we wouldn't need any formatter at all. But rather a feature of auto-importing the formatting options from existing Prettier or Biome config. That's definitely on my mind 👍.
At the moment, I would like to focus on supporting printing TypeScript nodes, once maintainers of Svelte can find a time. So I don't get lost in my own refactor without having crucial features completed first. 😅

I'm definitely convinced on writing section guide with how to use with formatters API.
A quick example for prettier:
import fs from "node:fs";

import { format } from "prettier";
import { print } from "svelte-ast-print";

let ast; // ... there should be a part on how you get a svelte AST - either using parser from Svelte, or building your own(?)

const stringifiedCode = print(ast);
const formattedCode = await format(stringifiedCode, {
    plugins: ["prettier-plugin-svelte"],
    overrides: [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
});

// ... there should be a part with what you want to do with the final output.
// For example saving to file:
fs.writeFileSync("Button.svelte", formattedCode);

The async argument is a good one, makes sense to keep the API sync.
A good example of how to combine this with Prettier would probably be best right now then. Probably using Prettier's auto-resolving of user config. https://prettier.io/docs/en/api.html#prettierresolveconfigfileurlorpath--options

I've created PR #93 with a small guide on how to get output formatted to the user's needs using Prettier. I'd love to get your review and feedback based on your input: @JReinhold @manuel3108.


text:
Veracode Static scan - Very high security issues found with 1.1.9.1 version

Hi,
I am using snappy java's 1.1.9.1 jar in my application and when I did Veracode static scan, I found the following very high vulnerability issues.
Command or Argument Injection(1 flaw)
Description
Command or argument injection vulnerabilities occur when data enters an application from an untrusted source and is used to
dynamically construct and execute a command. In the case of OS command injection, an attacker may be able to either alter
the command executed by the application or append additional commands. In the case of argument injection, the attacker may
influence the behavior of the program in other ways, for example, by changing the destination of an outbound network request or
injecting additional commands into an argument or parameter. The command is typically executed with the privileges of the
executing process and gives an attacker a privilege or capability that he would not otherwise have.
Recommendations
Careful handling of all untrusted data is critical in preventing injection attacks. Using one or more of the following techniques
provides defense in depth and minimizes the likelihood of a vulnerability.

If possible, use library calls rather than external processes to recreate the desired functionality.
Validate user-supplied input using positive filters (white lists) to ensure that it conforms to the expected format, using
centralized data validation routines when possible.
Select safe API routines. Some APIs that execute system commands take an array of strings as input rather than a single
string, which protects against some forms of command injection by ensuring that a user-supplied argument cannot be
interpreted as part of the command.

Associated Flaws by CWE ID:
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')(CWE ID 78)(1 flaw)
Description
This call contains a command injection flaw. The argument to the function is constructed using untrusted input. If an
attacker is allowed to specify all or part of the command, it may be possible to execute commands on the server with
the privileges of the executing process. The level of exposure depends on the effectiveness of input validation routines,
if any.
An effort to Fix: 3 - Complex implementation error. The fix is approx. 51-500 lines of code. Up to 5 days to fix.
Recommendations
Validate all untrusted input to ensure that it conforms to the expected format, using centralized data validation routines
when possible. When using black lists, be sure that the sanitizing routine performs a sufficient number of iterations to
remove all instances of disallowed characters. Most APIs that execute system commands also have a "safe" version of
the method that takes an array of strings as input rather than a single string, which protects against some forms of
command injection.
Instances found via Static Scan
| Flaw Id | Module # | Class # | Module | Location |
| 6512 | 130 | - | snappy-java-1.1.9.1.jar |  org/.../xerial/snappy/OSInfo.java 178 |
Code:
int exitCode = Runtime.getRuntime().exec("which readelf").waitFor();
Untrusted Search Path(2 flaws)
Description
Executing commands or loading libraries from an untrusted source or in an untrusted environment can cause an application to
execute malicious commands (and payloads) on behalf of an attacker.
If an attacker is allowed to specify all or part of a filename to a certain API function, it may be possible to load arbitrary libraries.
In addition, certain functions perform automatic path searching, iterating over a list of paths to search for desired resources,
such as executables, libraries, or configuration files. If an attacker can modify the path, for example, by manipulating an
environment variable, he may be able to trick the program into referencing an attacker-controlled resource. Similarly, the
search path is static but an attacker is able to place a malicious copy of the resource higher in the search order than the file the
application intends to load, then the application will load the malicious version.
Recommendations
Avoid using user-supplied filenames or paths. When calling methods that load libraries or launch processes, ensure that full
paths are provided specifying the resource to be loaded.
Associated Flaws by CWE ID:
Process Control (CWE ID 114)(2 flaws)
Description
A function call could result in a process control attack. An argument to a process control function is either derived from
an untrusted source or is hard-coded, both of which may allow an attacker to execute malicious code under certain
conditions. If an attacker is allowed to specify all or part of the filename, it may be possible to load arbitrary libraries. If
the location is hard-coded and an attacker is able to place a malicious copy of the library higher in the search order than
the file the application intends to load, then the application will load the malicious version.
An effort to Fix: 2 - Implementation error. The fix is approx. 6-50 lines of code. 1 day to fix.
Recommendations
Always validate untrusted input to ensure that it conforms to the expected format, using centralized data validation
routines when possible. When using hard-coded file locations, use fully-qualified filenames to ensure the proper library
is being loaded.
Instances found via Static Scan
| Flaw Id | Module #  | Class #  | Module  | Location |
| 6519 | 173 | -  | snappy-java-1.1.9.1.jar  | org/.../snappy/SnappyLoader.java 180 |
| 6522 | 173 | -  | snappy-java-1.1.9.1.jar  | org/.../snappy/SnappyLoader.java 183 |
Code:
 if (nativeLibFile != null) {
                    // Load extracted or specified snappy java native library.
                    System.load(nativeLibFile.getAbsolutePath());
                }

Thanks, @xerial.  I did not know that previously. I will definitely use advisories next time. Let me close this issue right now.

repo: xerial/snappy-java


text:
JDBC driver extracts a new dll library on every call of a java program into Temp/

I run into an issue, alreadt mentioned in bitbucket, but not here ([https://bitbucket.org/xerial/sqlite-jdbc/issues/202/jdbc-driver-extracts-a-new-dll-library-on])
I noticed this day that the my windows system drive is out of space after running a java program I wrote which imported 500k different files into a database.
Inspecting the issue using windows's "Disk Cleanup" shows around 129GB of data in user's temp folder, which turns out to be this sqlite jdbc dll driver, creating 500k different jdbc dlls on each call of the java my java program taking, each one taking 720kb of disk space.
The file name looks like this: sqlite-3.8.11.2-00a5dca3-f7cb-44b9-9014-de47cf377bd2-sqlitejdbc.dll where 00a5dca3-f7cb-44b9-9014-de47cf377bd2 part is always different.

Duplicate https://github.com/xerial/sqlite-jdbc/issues/80

repo: xerial/sqlite-jdbc


text:
Fix typos in SQLiteDataSource public API.

setCouncChanges -> setCountChanges
setEnforceForeinKeys -> setEnforceForeignKeys

Hah.  Good catch!

authors: gitblit jeffcoat


text:
还能用吗？

江苏电信还能用吗？

自行测试

authors: toolor xfkencon

repo: xfkencon/land-leg


text:
[FIX]: Board Settings switchs not working properly

Description
When you change the state of "Option to post cards anonymously" the "Limit votes" are checked too, and if you uncheck the "Limit votes" and "Option to post cards anonymously" the "Limit votes" are checked again.
Steps to reproduce

Login in the app;
On Boards/Dashboard page access to a board;
Open Board Settings dialog;
Change status of "Option to post cards anonymously" and "Limit votes".

Expected result
The status of switchs not change the other switch state.
Actual result
When you change a state of "Option to post cards anonymously" the status of "Limit votes" change too.

I can't reproduce your error

repo: xgeekshq/split


text:
Grid exports are rendered upside down

When exporting from Toolbox, Excel renders with an upside down font:

Closing - was due to incompatibility between an outdated version of Excel and Mac OS Catalina.

repo: xh/hoist-react


text:
int32 multiplication overflow at a fat side of 32bit input

I think both inputs should be cast to native pointer prior to multiplication (they are checked unsigned already at that red point)
https://lgtm.com/projects/g/xianyi/OpenBLAS/latest/files/interface/imatcopy.c?sort=name&dir=ASC&mode=heatmap
https://lgtm.com/projects/g/xianyi/OpenBLAS/latest/files/interface/zimatcopy.c?sort=name&dir=ASC&mode=heatmap

Would you mind proposing a patch ? (Though I suspect any lda or ldb large enough to cause an overflow here would fail elsewhere a bit later when not building with INTERFACE64=1)

This would get one bit more before failing, will do tomorrow, like in 10h

repo: xianyi/OpenBLAS