Feature request: Parameter valueMethods attribute

Reporter
Ricardo
Is your feature request related to a problem? Please describe.
The parameters have an attribute defaultValueMethods to define which methods (and in which order) to use if the an empty/null value is returned. I now have the situation that I want to override the default order that is used currently (so before the defaultValueMethods come into play). I have a sessionKey that is always filled, but I only want to use that sessionKey if the value-attribute is empty. However, the sessionKey-attribute takes precedence over the value-attribute in the code, so the value-attribute is never used.
Describe the solution you'd like
To be able to determine the order in which parameter attributes are resolved to get a value, so a valueMethods attribute for Parameters. Default value could be the current order (maybe auto-determine which attributes are present so the set value only has those options that are actually present), and last value could be the current defaultValue to maintain compatibility.
Describe alternatives you've considered
N/A
Additional context
N/A

Depends on #6802. At the moment transformed parameters use a different order to determine the value. Which can/should be also fixed when working on this issue!


Update noise table to include choose the wrong option

Title: Update noise table to include choose the wrong option

Description

Category: documentation
JIRA issue: SSCI-1376

Re-doing this PR to merge to main instead of develop.
'Choose the wrong option' (previously 'incorrect select' in concept model) was missing from the noise table in psp docs. Added for fields listed in concept model: state for any address; relationship to reference person; sex; race/ethnicity; type of tax form; and type of SSA event)
Edit: I also just noticed that 'head of household' is used in this table - I just updated it to 'reference person' to be consistent with the rest of documentation.

Testing

I think this should be going into develop and not main

I think this should be going into develop and not main
@albrja I'm trying to merge to main per this slack thread, but happy to merge to develop instead

@zmbc Would you be able to merge this PR for me? I'm not authorized to merge to main but maybe you are?

I think we need an engineer to do it, @rmudambi?


I can't scroll, is it supposed to be like this or did I change a setting that I don't know off.

What feature or improvement do you think would benefit Files?
Is it possible to scroll through folder files?
Requirements

This proposal will increase comfort

Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.1555
Comments
No response

Thanks for the report can you check the below.

Is it still and issue in <IP_ADDRESS>?

If you have software called XMouse control? if so you can try creating a separate profile for Files.exe > Options > enable Disable Scroll Window Under Cursor

You can also try going to Windows Settings > Bluetooth & devices > Mouse > Enable Scroll inactive windows when hovering over them

It may also be caused by https://github.com/microsoft/WindowsAppSDK/issues/2791 in this case it cannot be fixed in Files but the above option should get it working.

@OscarHdz13

@Josh65-2201 creating a separate profile for Files.exe > Options > enable Disable Scroll Window Under Cursor
Really useful


No button to share the screen

Remove button to share the screen

@mradkov let me check some things


Create NuGet account for publishing .NET clients

Is your feature request related to a problem? Please describe
We recently added two repos on .NET:
https://github.com/opensearch-project/opensearch-net
https://github.com/opensearch-project/opensearch-net-abstractions
A NuGet account is needed to publish clients, which we currently don't have
Describe the solution you'd like
Some support from infra team on creating/managing NuGet account
Describe alternatives you've considered
No response
Additional context
No response

Look into this, looks like we need to signin via Microsoft account. One other way is using Github account but it only allows personal account. Tried logging in via opensearch-ci-bot account but looks like no work/school email address are allowed.

Hi @gaiksaya, just want to follow up and see if there are any updates to this? This is blocking integration tests and release of .NET clients

@joshuali925 We are still working on understanding the process to create account on NuGet.  Please work with @abhinavGupta16 to align on next steps.

thanks. @abhinavGupta16 any updates on this?

thanks. @abhinavGupta16 any updates on this?

I tried reaching out to @NormJohanason about our offline discussion, but have not received a response from him yet. If this does not work out, we would have to proceed with the a non-amazon account.
cc: @bbarani

@gaiksaya @abhinavGupta16 @zelinh Lets proceed with creating a new account.

Sure I think @zelinh was looking into options. Tagging @peterzhuamazon for this week

thanks, let us know if you have any updates/eta, this has been pending for a while..

@joshuali925 The account has been created and registered on NuGet. We could work on the release for .NET clients then.

thanks @zelinh, created issue to release packages https://github.com/opensearch-project/opensearch-build/issues/2051


New UI for the Website

Suggest new UI for the website in the comment !! (Use figma for design)

Coz maximum beginner users will access this repo and they want a simple and interactive design.
We can simply make a card with  project preview (optional) and two buttons (1. Live preview and 2. Source code).
With project image

Without project image

Recently I contributed to open source project and implemented this design

@deepakydv9315 It's seems nice, you can work on this. Looking forward to your PRs😊

Thanks, definitely i will work on this. ❤

One more thing, you can check, because of some conflicts, there are duplicate projects shown on the website. you can check project json file and correct that as well


🐛 [firebase_analytics] Events not working with Name must start with a letter error

Bug report
Describe the bug
after upgrading Kotlin version to latest(1.6.10) due to flutter needs, firebase analytics gives Name must start with a letter. Type, name: event param, 1.2.0 error and wont logs any event.
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.1, on Arch Linux 5.15.23-2-lts, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio
[✓] Connected device (1 available)
[✓] HTTP Host Availability

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.16.1
Flutter SDK 2.10.1
ninipaa 1.2.0+4010

dependencies:
- android_intent_plus 3.1.1 [flutter platform meta]
- chewie 1.2.2 [cupertino_icons flutter provider video_player wakelock]
- cupertino_icons 1.0.4
- curved_navigation_bar 1.0.3 [flutter meta]
- dio 4.0.4 [http_parser path]
- firebase_analytics 9.1.0 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_core 1.12.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- flutter 0.0.0 [characters collection material_color_utilities meta typed_data vector_math sky_engine]
- flutter_linear_datepicker 2.0.4 [flutter shamsi_date]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path typed_data vector_math]
- flutter_switch 0.3.2 [flutter]
- get 4.6.1 [flutter]
- image_cropper 1.4.1 [flutter]
- image_picker 0.8.4+8 [flutter flutter_plugin_android_lifecycle image_picker_for_web image_picker_platform_interface]
- just_audio 0.9.20 [just_audio_platform_interface just_audio_web audio_session rxdart path path_provider async uuid crypto meta flutter]
- marquee 2.2.1 [fading_edge_scrollview flutter]
- pinput 1.2.2 [flutter]
- shamsi_date 1.0.1
- share_plus 3.0.5 [meta mime flutter share_plus_platform_interface share_plus_linux share_plus_macos share_plus_windows share_plus_web]
- shared_preferences 2.0.13 [flutter shared_preferences_android shared_preferences_ios shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- shimmer 2.0.0 [flutter]
- uni_links 0.5.1 [flutter uni_links_platform_interface uni_links_web]
- url_launcher 6.0.20 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- video_player 2.2.18 [flutter video_player_android video_player_avfoundation video_player_platform_interface video_player_web html]

dev dependencies:
- flutter_launcher_icons 0.9.2 [args image path yaml]
- flutter_lints 1.0.4 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- archive 3.2.0 [crypto path]
- args 2.3.0
- async 2.8.2 [collection meta]
- audio_session 0.1.6+1 [flutter flutter_web_plugins rxdart meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.2.0
- charcode 1.3.1
- clock 1.1.0
- collection 1.15.0
- cross_file 0.3.2 [flutter js meta]
- crypto 3.0.1 [collection typed_data]
- csslib 0.17.1 [source_span]
- fading_edge_scrollview 2.0.1 [flutter]
- fake_async 1.2.0 [clock collection]
- ffi 1.1.2
- file 6.1.2 [meta path]
- firebase_analytics_platform_interface 3.0.5 [firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.4.0+6 [firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_core_platform_interface 4.2.4 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.5.4 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- flutter_plugin_android_lifecycle 2.0.5 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta typed_data vector_math]
- html 0.15.0 [csslib source_span]
- http 0.13.4 [async http_parser meta path]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- image 3.1.1 [archive meta xml]
- image_picker_for_web 2.1.5 [flutter flutter_web_plugins image_picker_platform_interface pedantic]
- image_picker_platform_interface 2.4.3 [flutter http plugin_platform_interface cross_file]
- intl 0.17.0 [clock path]
- js 0.6.3
- just_audio_platform_interface 4.1.0 [flutter plugin_platform_interface]
- just_audio_web 0.4.4 [just_audio_platform_interface flutter flutter_web_plugins]
- lints 1.0.1
- matcher 0.12.11 [stack_trace]
- material_color_utilities 0.1.3
- meta 1.7.0
- mime 1.0.1
- nested 1.0.0 [flutter]
- path 1.8.0
- path_provider 2.0.9 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- path_provider_android 2.0.11 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.7 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.5 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.5 [flutter path_provider_platform_interface]
- path_provider_platform_interface 2.0.3 [flutter platform plugin_platform_interface]
- path_provider_windows 2.0.5 [ffi flutter path path_provider_platform_interface win32]
- pedantic 1.11.1
- petitparser 4.4.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.2 [meta]
- process 4.2.4 [file path platform]
- provider 5.0.0 [collection flutter nested]
- rxdart 0.27.3
- share_plus_linux 2.0.4 [share_plus_platform_interface file flutter meta url_launcher]
- share_plus_macos 2.0.2 [share_plus_platform_interface flutter]
- share_plus_platform_interface 2.0.1 [flutter meta mime plugin_platform_interface]
- share_plus_web 2.0.4 [share_plus_platform_interface url_launcher flutter flutter_web_plugins meta]
- share_plus_windows 2.0.3 [share_plus_platform_interface flutter meta url_launcher]
- shared_preferences_android 2.0.11 [flutter shared_preferences_platform_interface]
- shared_preferences_ios 2.0.10 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.1.0 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_macos 2.0.3 [flutter shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.3 [flutter flutter_web_plugins shared_preferences_platform_interface]
- shared_preferences_windows 2.1.0 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- sky_engine 0.0.99
- source_span 1.8.1 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- term_glyph 1.2.0
- test_api 0.4.8 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0 [collection]
- uni_links_platform_interface 1.0.0 [flutter plugin_platform_interface]
- uni_links_web 0.1.0 [flutter flutter_web_plugins uni_links_platform_interface]
- url_launcher_android 6.0.15 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.0.15 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.0 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.0 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.0.5 [flutter plugin_platform_interface]
- url_launcher_web 2.0.8 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.0 [flutter url_launcher_platform_interface]
- uuid 3.0.5 [crypto]
- vector_math 2.1.1
- video_player_android 2.3.0 [flutter video_player_platform_interface]
- video_player_avfoundation 2.3.0 [flutter video_player_platform_interface]
- video_player_platform_interface 5.1.0 [flutter plugin_platform_interface]
- video_player_web 2.0.7 [flutter flutter_web_plugins video_player_platform_interface]
- wakelock 0.5.6 [flutter meta wakelock_macos wakelock_platform_interface wakelock_web wakelock_windows]
- wakelock_macos 0.4.0 [flutter flutter_web_plugins wakelock_platform_interface]
- wakelock_platform_interface 0.3.0 [flutter meta]
- wakelock_web 0.4.0 [flutter flutter_web_plugins js wakelock_platform_interface]
- wakelock_windows 0.2.0 [flutter wakelock_platform_interface win32]
- win32 2.4.0 [ffi]
- xdg_directories 0.2.0+1 [meta path process]
- xml 5.3.1 [collection meta petitparser]
- yaml 3.1.0 [collection source_span string_scanner]

@Ashkan4472
Can you provide how are you passing analytics events ? Also please provide complete error log that contains the error you mentioned.
Also, if you revert back to previous kotlin version, does the same event get logged ?

Can you provide how are you passing analytics events ?

i used default events like logAppOpen (i created a util class with static functions as helpers)
  static Future<void> logOpenApp() async {
    if (Environment.useFirebase) {
      return FirebaseAnalytics.instance.logAppOpen();
    }
  }

Also please provide complete error log that contains the error you mentioned

unfortunately this is the only thing that logs nothing more (with -v flag too)

if you revert back to previous kotlin version, does the same event get logged

i couldn't do that as flutter 2.10 requires newer version of kotlin. i tested till 1.5.0 and error was same
it is good to mention i don't know if this error is because of that or flutter 2.10 or something else but i know it happened after flutter upgrade

rolling back to flutter 2.8.1 and kotlin 1.3.50, logs works

@Ashkan4472
With your current setting, ie, upgrade kotlin version and 2.10.1, can you try below and see if you still get same error ?
Future<void> _sendAnalyticsEvent() async {
    await widget.analytics.logEvent(
      name: 'test_event',
      parameters: <String, dynamic>{
        'string': 'string',
        'int': 42,
        'long':<PHONE_NUMBER>0,
        'double': 42.0,
        // Only strings and numbers (ints & doubles) are supported for GA custom event parameters:
        // https://developers.google.com/analytics/devguides/collection/analyticsjs/custom-dims-mets#overview
        'bool': true.toString(),
        'items': [itemCreator()]
      },
    );
    setMessage('logEvent succeeded');
  }

@darshankawar
i don't know what happended but as i rolled back to 2.10.1 and updated kotlin, no error has loged (event with default logs like app_open) but at the same time no event was logged in firebase analytics dashboard eather.
i think it might log after some time or in release mode.

@Ashkan4472
Thanks for the update and sorry for coming back late on this. Based on your above comment, it seems not be the plugin issue, but probably takes a bit time to log properly specially in release mode. I suggest you to keep an eye on the pattern if you again see the same error as you reported originally.


Front camera returns null metadata🐛

What were you trying to do?
I was trying to take a picture with the takePhoto() method without skipping metadata.
Reproduceable Code
const takePhoto = async =>{
    const photo = await cameraRef.current.takePhoto({})
  }

What happened instead?
The camera gives this null metadata:
{"Orientation": 0, "{Exif}": {"ApertureValue": 0, "BrightnessValue": 0, "ColorSpace": 1, "DateTimeDigitized": null, "DateTimeOriginal": null, "ExifVersion": null, "ExposureBiasValue": 0, "ExposureMode": 0, "ExposureProgram": 0, "ExposureTime": 0, "FNumber": 0, "Flash": 1, "FocalLenIn35mmFilm": 0, "FocalLength": 0, "ISOSpeedRatings": [], "LensMake": null, "LensModel": null, "LensSpecification": [], "MeteringMode": 0, "OffsetTime": null, "OffsetTimeDigitized": null, "OffsetTimeOriginal": null, "PixelXDimension": 0, "PixelYDimension": 0, "SceneType": 1, "SensingMethod": 1, "ShutterSpeedValue": 0, "SubjectArea": [], "SubsecTimeDigitized": null, "SubsecTimeOriginal": null, "WhiteBalance": 0}, "{TIFF}": {"DateTime": null, "Make": null, "Model": null, "ResolutionUnit": 0, "Software": null, "XResolution": 0, "YResolution": 0}}
Relevant log output
{"Orientation": 0, "{Exif}": {"ApertureValue": 0, "BrightnessValue": 0, "ColorSpace": 1, "DateTimeDigitized": null, "DateTimeOriginal": null, "ExifVersion": null, "ExposureBiasValue": 0, "ExposureMode": 0, "ExposureProgram": 0, "ExposureTime": 0, "FNumber": 0, "Flash": 1, "FocalLenIn35mmFilm": 0, "FocalLength": 0, "ISOSpeedRatings": [], "LensMake": null, "LensModel": null, "LensSpecification": [], "MeteringMode": 0, "OffsetTime": null, "OffsetTimeDigitized": null, "OffsetTimeOriginal": null, "PixelXDimension": 0, "PixelYDimension": 0, "SceneType": 1, "SensingMethod": 1, "ShutterSpeedValue": 0, "SubjectArea": [], "SubsecTimeDigitized": null, "SubsecTimeOriginal": null, "WhiteBalance": 0}, "{TIFF}": {"DateTime": null, "Make": null, "Model": null, "ResolutionUnit": 0, "Software": null, "XResolution": 0, "YResolution": 0}}

Device
OnePlus 8T KB2003
VisionCamera Version
2.13.3
Additional information

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

Interesting! This might actually be null here: https://github.com/mrousavy/react-native-vision-camera/blob/de41f8be83b2701c18a03ba146989b285856c34e/ios/PhotoCaptureDelegate.swift#L57
I wonder why though?

I suppose in Android is this line, in my project is not null:
https://github.com/mrousavy/react-native-vision-camera/blob/de41f8be83b2701c18a03ba146989b285856c34e/android/src/main/java/com/mrousavy/camera/CameraView%2BTakePhoto.kt#L105
I've been trying selecting a specific camera device to see if it solves the issue, but it doesn't. I think the strange behavior is the fact that with the back camera it works but with the fron camera it doesn't.

Ah sorry I thought we were talking about iOS! Hmm, I wonder at which part it goes wrong, could you debug this?

I tj

I think the problem is that:
const devices = Camera.useCameraDevices();  const device = devices.front.devices
´device´ returns only ["wide-angle-camera"] I don't know if it's the default camera...

Sorry I closed it by accident :(


ReactOS support

What version of Go are you using (go version)?

$ go version

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env

What did you do?

Tried to run go on ReactOS
What did you expect to see?
Ideally it would just run
What did you see instead?
It instead just doesn't run

Thanks for the report (even though you didn't explain very well what the issue actually is... saying "it doesn't run" it definitely not enough).
Go support Windows. Platforms that emulate Windows, or claim to be Windows-compatible (for example Wine or ReactOS) are not explicitly supported, in the sense that if you compile a Go program targeting Windows and the binary doesn't run on Wine or ReactOS, that is a bug in Wine or ReactOS, and it should be reported in their issue tracker.
Closing here, since this does not appear to be a Go bug.

@ALTree do you support Windows XP?

@jeditobe We don't. From the 1.11 release notes (August 2018):

[...] Go 1.11 now requires OpenBSD 6.2 or later, macOS 10.10 Yosemite or later, or Windows 7 or later; support for previous versions of these operating systems has been removed.

ReactOS is an equivalent of XP/2003


Improve and extend Merge for Organizations object

As a super user / administrator, I want to be able to merge duplicates of Organizations
As a super user / administrator, I want to have more control on which fields are taken from which object, and possibly given the ability to enter a new value of a field while merging.

Blocked by #3147.

We can reuse the merge functionality that is implemented in #3147

Is this feature really necessary?

Is this feature really necessary?

Functionality is not needed by the user.


gzip: unknown compression format

Unable to install k9s with error: gzip: unknown compression format
Repro Steps
🕙 11:14:45 ❯
└─> asdf plugin-add k9s https://github.com/twuni/asdf-k9s.git

🕙 11:15:33 ❯
└─> asdf list all k9s
0.25.1

🕙 11:15:48 ❯
└─> asdf install k9s 0.25.1
gzip: unknown compression format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Other details
└─> asdf --version
v0.11.1

MacOS Ventura 13.1 (22C65)

Something is up with list-all; it works when run directly, but not via asdf. You can still install 0.27.2 (v0.27.0+ is why I put together this plugin as a workaround).
It's possible that 0.25.1 is yet another release archive format.

can confirm, asdf install k9s 0.27.2 works

I've updated the issue title and description to indicate the problem with list all, as I would not have chosen 0.25.X if I knew it wasn't the latest. Happy to ignore the issue with gzips.

You may be interested in this issue: https://github.com/asdf-vm/asdf/issues/1318
I'm looking to standardize aspects of how plugins are created and managed in order solve problems inherent with bash scripts as well as make it even more trivial to add new plugins without the overhead currently involved.
Other related projects:
https://github.com/jdxcode/rtx
https://github.com/hyperupcall/woof

That's a good, productive thread. I haven't seen that. I like the template repo for lowering the barrier to entry for new plugins.

:facepalm: Easy fix -- I forgot that asdf wants plugins' list-all to return the sorted versions on a single line. https://github.com/twuni/asdf-k9s/commit/dc8892f0e2fef58d6c81c2e28afceb827782d880 adds | xargs.

🎉
└─> asdf list all k9s
...
0.25.20
0.25.21
0.26.0
0.26.1
0.26.2
0.26.3
0.26.4
0.26.5
0.26.6
0.26.7
0.27.0
0.27.1
0.27.2


Update omx plugin for fixing static code scan issues WW50 2019

Update mediasdk_release with latest mediasdk_omx_il opensourced code
The commit ID is: a817414710f50215b238682ed7006115566894c1
Signed-off-by: kexx<EMAIL_ADDRESS>Tracked-On: https://jira.devtools.intel.com/browse/OAM-88980

Since this is not a production branch, accepting the merge for this branch


Initial API Gateway Construct Library

Introduce an initial construct library for API Gateway. By all means it does not cover the entire surface area of API Gateway, but provides basic support for defining API gateway configurations (resources/methods hierarchy).
Integration support includes LambdaIntegration which accepts a lambda.Function, sets up the appropriate permissions and binds it to an API method.
Includes many "smart defaults" at every level such as:

Automatically define a Deployment and a Stage for the API, which will be recreated every time the API configuration changes (by generating the logical ID of the AWS::ApiGateway::Deployment resource from a hash of the API configuration, similarly to SAM).
Automatically configure a role for API Gateway to allow writing CloudWatch logs and alarms.
Specify defaultIntegration at the API level which will apply to all methods without integration.

Supports defining APIs like this:
const integ = new apigw.LambdaIntegration(toysLambdaHandler);
const api = new apigw.RestApi(this, 'my-awesome-api', { defaultIntegration: integ });

api.onMethod('GET', new apigw.HttpIntegration('https://amazon.com/toys'));

const toys = api.addResource('toys');
toys.onMethod('GET'); // list toys
toys.onMethod('POST'); // create toy

const toy = toys.addResource('{toy}');
toy.onMethod('GET'); // get a toy
toy.onMethod('DELETE'); // remove a toy

See README for more details.
Framework Changes

resolve: allow object keys to include tokens, as long as they resolvable to strings.
assert: invoke stack.validateTree() by default for expect(stack) to simulate synthesis.

Not Supported

[ ] Swagger/Open API models
[ ] Authorizers
[ ] Method options: RequestValidatorId, RequestModels, RequestParameters, MethodResponses
[ ] Custom domains
[ ] API keys
[ ] Base path mapping
[ ] Client certificates
[ ] Documentation (part and version)
[ ] Model
[ ] Request validators
[ ] Usage plans
[ ] VPC Links

Fixes #602, copy: @hassankhan
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

This is blocked by awslabs/jsii#175

Hi @eladb, had a quick look at the PR and I really like the programmatic way of creating an API 👍
That said, I feel like its a teensy bit verbose as compared to what I proposed in on the issue itself. For example, is there any way to mass-define the API and assign Lambda, or should this be done in user code instead? I personally would prefer it being in the CDK instead of user code, because with API Gateway defining similar options for each API endpoint quickly becomes quite tedious (things such as authorization, CORS options etc.) and mistakes can be made.
I couldn't really tell from the code, but I was wondering if in a scenario where you have multiple API Gateways and enable logging for both, will both APIs use the same Account resource and logging IAM role? Also, might it be possible to add 'Endpoint Types' to the checklist above? (i.e. EDGE/REGIONAL).

@hassankhan

Is there any way to mass-define the API and assign Lambda, or should this be done in user code instead?

You can define a defaultIntegration and then you don't have to define it for each method. At the moment you can only define it at the API level, but I am thinking that perhaps it will be valuable to support this at any level of the resource tree:
const api = new apigw.RestApi(this, 'my-api', { defaultIntegration: lambdaInteg });
const toys = api.addResource('toys');
toys.onMethod('GET'); // will implicitly integrate with `lambdaIteg`

From your comment though I think you are also looking for ways to define other defaults for methods such as authentication, etc. Is that correct?
Do you also think that it would be useful to add support for a declarative way to define the entire API in RestApi props?

I couldn't really tell from the code, but I was wondering if in a scenario where you have multiple API Gateways and enable logging for both, will both APIs use the same Account resource and logging IAM role?

There's actually no association between Account and RestApi. Technically, you will have a role/account per API, but API Gateway will only use the last one created I believe, which I think should be fine because the roles will have similar permissions. It's a bit of a hack. Happy to hear if you have a suggestion on a better approach that will not require deploying a separate stack just for this singleton role.

Also, might it be possible to add 'Endpoint Types' to the checklist above? (i.e. EDGE/REGIONAL).

Endpoint types are supported via the endpointTypes prop. For example:
endpointTypes: [ apigw.EndpointType.Edge, apigw.EndpointType.Regional ]

You can define a defaultIntegration and then you don't have to define it for each method. At the moment you can only define it at the API level, but I am thinking that perhaps it will be valuable to support this at any level of the resource tree:

I agree, we should be able to define it at any level. One major reason why this is useful is because you may have several lambda.Functions, for which you'd create correspondent apigw.LambdaIntegration instances. Some people (like me) use a single Lambda for their API, but others prefer to do things differently and it is a completely valid use-case.

From your comment though I think you are also looking for ways to define other defaults for methods such as authentication, etc. Is that correct?

That is correct :smile:

Do you also think that it would be useful to add support for a declarative way to define the entire API in RestApi props?

Oh my god, that would be mindblowingly amazing 🤯

Happy to hear if you have a suggestion on a better approach that will not require deploying a separate stack just for this singleton role.

I didn't actually, I was just curious to see how you'd handled it, thanks for the explanation :+1:

Endpoint types are supported via the endpointTypes prop. For example:

Ahh awesome, perhaps it could be mentioned on the README?
I was thinking, could we potentially have a apigw.Function construct that handles the integration, method and resource configuration?

@hassankhan in the meantime, I've just added support for specifying default integration and method options at all levels of the resource tree. As for a declarative API for describing the tree, I wonder how this interplays with swagger support. At any rate, I will address at a subsequent commit


Please invite me to the Recode-Hive GitHub Community Organization

Name
Adarsh
Discord Username (if applicable)
jinx.vi
Additional Context
I appreciate the sense of support and collaboration within this community. The opportunity to connect with like-minded individuals and share experiences is invaluable. I'm eager to contribute and learn from everyone here.

Invitation sent to join the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see. You can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/recodehive/people


Cobweb hint is outdated (I think?)

You can collect cobwebs with shears or a silk touch tool now (I believe it used to only be silk touch shears but that was changed a while ago), breaking them with tnt or a sword drops string.

Could maybe be referring to collecting them with shears and then breaking them with a sword to collect string?

Also another small thing, the enchanting_table in the crafting_tab_listing is incorrectly put as enchantment_table, making it not appear

Updated in version 1.5, thanks for reporting.


Provide an option to store error responses in CLI

Make initial change to write error response as well when --include-all-responses flag is passed.
Resolves https://github.com/zytedata/python-zyte-api/issues/38

In addition to those points, could you look into including a test for the change?

Codecov Report

Merging #47 (42743ec) into main (5d561c4) will increase coverage by 14.84%.
Report is 27 commits behind head on main.
 Consider uploading reports for the commit d97e0b7 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #47       +/-   ##
===========================================
+ Coverage   38.63%   53.47%   +14.84%
===========================================
  Files          10       10
  Lines         365      374        +9
  Branches       53       56        +3
===========================================
+ Hits          141      200       +59
+ Misses        223      168       -55
- Partials        1        6        +5

Files
Coverage Δ

zyte_api/__version__.py
100.00% <100.00%> (ø)

zyte_api/constants.py
100.00% <100.00%> (ø)

zyte_api/utils.py
92.00% <100.00%> (+3.53%)
:arrow_up:

zyte_api/aio/client.py
34.66% <66.66%> (+7.63%)
:arrow_up:

zyte_api/aio/errors.py
56.25% <0.00%> (-12.99%)
:arrow_down:

zyte_api/__main__.py
48.83% <40.00%> (+48.83%)
:arrow_up:

... and 2 files with indirect coverage changes


Symbol # replaced incorrectly for the second time

var mf = new goog.i18n.MessageFormat('\'#\'{ID}');
mf.format({'ID':1}) => '#1'
mf.format({'ID':1}) => '1_0_'

This was fixed internally. It will be available on the next Closure release. Thanks!


Login

As a user I should be able to login via TFConnect
This should lead the user to the calendar as a  landing page

We used the JWT token for login because we have user permission based on user id, and type, we will update this with 3fold connect in the next version.


HD and SD versions of Blu Rays

I guess this would be considered more of a feature request then bug but I was wondering how i would be able to make an HD and an SD version of a blu ray with this process. My streaming box isn't very powerful so when I'm traveling I use the SD versions of movies.

I think it would be pretty trivial to add an option for multiple transcoding options.  I'll try to get it in the next release.


Unhelpful TypeError on invalid aegir config in TypeScript project

Describe the bug
Starting up a new typescript project using aegir, I forgot to set tsRepo: true in the aegir config file. I received a TypeError for almost all aegir commands:
TypeError: Unknown file extension ".ts" for "..."
...

Using https://github.com/libp2p/js-libp2p-tcp as an example.. I didn't see tsRepo: true in that repo, so I forgot that I needed it.
To Reproduce
Steps to reproduce the behavior:

Create a new npm project (npm init ...)
mkdir test src
touch src/index.ts
touch test/main.spec.ts
npm install -D aegir check-aegir-project
$(npm bin)/check-aegir-project
Follow the prompts and accept all changes
npm run test or npm run build
See error

Note that creating an aegir config file .aegir.js with tsRepo: true will resolve the error.
Expected behavior
Catch this error and display a helpful warning to the user that typescript projects require tsRepo: true in the aegir config.
Screenshots
N/A
Desktop (please complete the following information):

OS: macOS Monterey 12.1
Browser: N/A
Version: N/A

Smartphone (please complete the following information):
N/A
Additional context
N/A

Can you try this again with<EMAIL_ADDRESS> It's got a bit better at detecting project types, the tsRepo field isn't necessary any more.
See the migration guide at https://github.com/ipfs/aegir/blob/master/md/migration-to-v37.md and also perhaps the sort of PR that does the upgrade

I'll try to repro with the new version and update this issue

seems to work fine now


proof-of-concept for adding chrome extensions

I'm working on a PR to add the feature in https://github.com/jiahaog/nativefier/issues/207
The code in this branch adds react dev tools as a test	😀
How to test

clone this repo and cd into it
run npm link to set up symlink to the current directory
run npm link nativefier in the repo where you would like to test this
run nativefier
open up the new packaged app
open up dev tools
see that there is a new React app

TODO

[ ] I think there should probably a be a command line argument for specifying any extension you want

Feedback requested

I'll add code comments with my questions 👍
Should there be unit tests associated with this change?

When I run npm link in the cloned repository I get the following error. Any idea how to fix this? I'd love to try your fork out, with:
drive.google.com/ + https://chrome.google.com/webstore/detail/google-docs-offline/ghbmnnjooekpmoecnnnilnnbdlolhkhi
<user>@<user> nativefier % npm link
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^7.0.0 but none is installed. You must install peer dependencies yourself.

audited 27405 packages in 4.577s

20 packages are looking for funding
  run `npm fund` for details

found 72 vulnerabilities (64 low, 2 moderate, 6 high)
  run `npm audit fix` to fix them, or `npm audit` for details
npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /usr/local/lib/node_modules/nativefier/lib/cli.js
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/nativefier/lib/cli.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR!      /Users/<user>/.npm/_logs/2020-01-08T17_18_33_493Z-debug.log

Closing, as stale with requested changes, and conflicts. Feel free to fix/rebase and ping me for a re-open.


Should be able to remove my own registrations

If I marked a camera by mistake for some reason, I should be able to edit/delete the registration.
Confirmations aren't really a security against mistakes. Besides, it obviously doesn't always work.
The three first times I tested the app, it didn't ask for confirmation when pinning a camera.
Even though the switch for confirmations was on.
Should the switch be off for some reason, it is quite possible to mark cameras by mistake.

Not really possible to mark by mistake, there is confirm dialog after the mark

We agree. We're still working on implementing 'undo', it's a little bit complicated to build while preventing abuse and protecting everyone's anonymity, but it's definitely possible.

Undo is now implemented in version 1.2. To use it you:

Tap on a pin
Press the info button
Press "Remove"

Let us know if there's a way we can make the process more intuitive, but it is now working.


Needs Install-Module -Name PackageManagement -Repository PSGallery -Force before Step 3

[Enter feedback here]
In the steps for windows powershell:
https://docs.microsoft.com/en-us/azure/storage/blobs/recursive-access-control-lists?tabs=azure-powershell#set-up-your-project
Needs:
Install-Module -Name PackageManagement -Repository PSGallery -Force
before Step 3:
install-Module PowerShellGet –Repository PSGallery –Force
else it fails. Tried it in powershell 7 version.

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

ID: a3aa443a-b30f-2914-5cb8-b032be075c07
Version Independent ID: ece80543-b5c2-7415-776c-06cdf55d2006
Content: Set ACLs recursively for Azure Data Lake Storage Gen2
Content Source: articles/storage/blobs/recursive-access-control-lists.md
Service: storage
Sub-service: data-lake-storage-gen2
GitHub Login: @normesta
Microsoft Alias: normesta

Hi @vick-git , thank you for the detailed question. We are currently investigating and will update you when we have accurate information to provide.

@vick-git, Thanks for the feedback! I have assigned the issue to the content author to review further and update the document as appropriate.

@blueww can you pls verify the proposed install order? Thank you!

@vick-git
Normally, install a module (like PowershellGet), will install all necessary modules (like PackageManagement) automatically.
Could you share the error you meet when you install PowershellGet directly?
Actually, install module process is out of Storage module scope, I might not be the best person to answer it.
@dingmeng-xue , do you have any suggestion how to update PowershellGet to install Azure Powershell preview module?
Do we need to update PackageManagement  first, then update PowershellGet ?

@blueww , sure, here we go. FYI, tried it in both versions 5.1 and 7.1.

PackageManagement\Install-Package : The following commands are already available on this
system:'Find-Package,Install-Package,Uninstall-Package'. This module 'PackageManagement' may override the existing
commands. If you still want to install this module 'PackageManagement', use -AllowClobber parameter.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\<IP_ADDRESS>\PSModule.psm1:1809 char:21

...          $null = PackageManagement\Install-Package @PSBoundParameters

                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package],
Exception
FullyQualifiedErrorId : CommandAlreadyAvailable,Validate-ModuleCommandAlreadyAvailable,Microsoft.PowerShell.Pack
ageManagement.Cmdlets.InstallPackage

Sorry I had the wrong one previously. Here you go.
Install-Module : A parameter cannot be found that matches parameter name 'AllowPrerelease
When I run Install-Module -Name PackageManagement -Repository PSGallery -Force, then it goes off. Tried it in 5.1 and 7.1.

@vick-git
Do you mean when you run "install-Module PowerShellGet –Repository PSGallery –Force", you will meet the error "Install-Module : A parameter cannot be found that matches parameter name 'AllowPrerelease"?
The error usually should get when you install Azure Storage preivew module, before update PowershellGet.

@blueww I updated that comment but I think it got notified before that. Sorry I had the wrong one previously. Here you go.
Install-Module : A parameter cannot be found that matches parameter name 'AllowPrerelease
When I run Install-Module -Name PackageManagement -Repository PSGallery -Force, then it goes off. Tried it in 5.1 and 7.1.

@vick-git
Would you please confirm which command report error : "Install-Module : A parameter cannot be found that matches parameter name 'AllowPrerelease "
Is it the command: "install-Module PowerShellGet –Repository PSGallery –Force"
Or the command to install Az.Storage？

@vick-git , couple things you can try local and share us the detail information.

Execute $PSVersionTable to get environment information.
Set $DebugPreference="Continue" to show debug information for following command execution. Then, try to install module.
After cmdlet is executed no matter successfully or not, execute Get-Module and share us module imported with version info.

Closing as I don't believe that this is a doc issue at this point. @Vick-git - if you're still experiencing issues, feel free to open an issue at https://github.com/Azure/azure-powershell/issues. Thank you!

#please-close


Fix broken links for international workgroups (#2920)

The list of international workgroups was moved
from https://wiki.hyperledger.org/display/fabric/International+groups
to https://wiki.hyperledger.org/display/I18N/International+groups.
Signed-off-by: Justin Yang<EMAIL_ADDRESS>Type of change

Documentation update

Description
Broken links have been used in the documentation.
Additional details
The list of international workgroups was moved
from https://wiki.hyperledger.org/display/fabric/International+groups
to https://wiki.hyperledger.org/display/I18N/International+groups.
But the documentation has used the old one.
Related issues
#2920 (https://github.com/hyperledger/fabric/issues/2920)

@mergifyio backport release-2.3

@Mergifyio backport release-2.2


gives me parse error: invalid numeric literal at line 1 column 7

when i run this it gives me an error invalid numeric literal at line 1 column 7.need solution.
[removed image]

Hi, @tayyabejaz1
Please send us that Endtest API request in an email to<EMAIL_ADDRESS>and we'll reply there.
Since the Endtest API request can contain sensitive information, we cannot discuss those details here.
The issue is not happening for other users, so I'm assuming there's something wrong in your Endtest API request.

Solution:
Make sure to use at least version 1.8 of our Endtest Github Action:
uses<EMAIL_ADDRESS>


Asset compilation fails on Windows 11 after upgrade to 2.1.0

Reproduction:
Follow the installation guide from https://jigsaw.tighten.com/docs/installation/. The installation fails at step 3: vendor/bin/jigsaw init.
Running npm run dev after an upgrade to v2.1.0 from v2.0.0 returns the following error:
webpack compiled successfully
events.js:377
      throw er; // Unhandled 'error' event
      ^

Error: spawn vendor\bin\jigsaw ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:277:19)
    at onErrorNT (internal/child_process.js:472:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:283:12)
    at onErrorNT (internal/child_process.js:472:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn vendor\\bin\\jigsaw',
  path: 'vendor\\bin\\jigsaw',
  spawnargs: [ 'build', 'local' ]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: `mix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Downgrading to 2.0.0 fixes the issue.
I tried running the command both from Powershell (as regular user, then as administrator), and running it from within WSL, and got the same error message in all cases.
I also tried deleting node_modules and npm cache, and reinstalling them.

Adding shell: true attribute to spawn call (see docs) fixes it for me. Default value is false. I'm not the best with Node, so it would be great if someone could confirm if adding this doesn't mess things up on other platforms.
const jigsaw = () => spawn(bin, ['build', env], { stdio: 'inherit', shell: true }).on('exit', (code) => {
    if (code > 0) {
        console.warn(`\nJigsaw build failed, see above.`);
    }
});

Fixed in v2.1.1.


[Launcher] Tabbing breaks narrator support

Manually handling tabbing breaks narrator support. Need to manually add narrator support.

wasn't flagged in accessability push, assuming this is handled now


S3 File Upload hashes - implicit rather than explicit?

With the current behaviour of the S3 File Upload feature when hashing is enabled, there is some redundancy int he config.
The file paths must be specified like this:
s3upload:
- name: bucket1
  hash: true
  paths:
    - file1.txt
    - file2.txt
    - myFolder
- name: bucket1
  hash: false
  paths:
    - file3.txt

Then to actually make use of any of the hashes (and why would you hash them if you're not going to then use those hashes?) you must add them all individually to the stack parameters like so:
parameters:
<PHONE_NUMBER>34:
    FileHash: ${hash.path/to/file.txt}

What if we made the latter part unnecessary by automatically including all hashed paths in the stack parameters? The only issue with this is that parameter keys must be alphanumeric so having the key as the file path wouldn't work. There might be some way to normalise the file paths to alphanumeric characters, maybe by just removing all / and . characters. Thoughts?

 It's convenient for people familiar with the tool, but opaque to those unfamiliar.


Styling incongruencies on Layers list

Context
We just realized there are a few styling incongruencies on production with the original design of the Layers list.
Current Result

Expected result

[ ] Analysis nodes should have the default input styling, not the disabled one. Only source nodes should have the disabled one.
[ ] There should be 4px of separation between the layer name and the analysis/widgets info below.
[ ] Analysis nodes should have only 8px of margin left and right inside their inputs. On production, the ellipsis is cutting the short names unnecessarily soon.

Also, SQL tags should use the color #747D82, not #282C2F like they have on production (below), which makes them stand out too much.

Stale issue. Closing 👋


Indicator and Treemap support

Should be straightforward.

While you're asking Sidi for icons, can you try to clear up the gradients in the densitymapbox icon please? They just don't appear right now :(

Any updates on the Indicator ?


chore(angular): build docs with prod aot compiler

Description

This addition to the CI checks is to validate the library output is useable in an AOT compiled Angular project. Can see the result of this change in this PR's test_angular check below.

fix AOT issues in docs project
add 'test:aot' to build library and docs (prod/aot)
add to existing 'test:CI' for CI checks hook

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots:
Before (If applicable):

After:

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Documentation update
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Build related changes
[x] CI related changes
[ ] Other... Please describe:

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

It seems that the Avatar screen on the Kitchen Sink is now empty. VR Test link


Can the Volume Buttons be added as commands?

Just wondering if this can be done? @lprhodes

Its about how you control your Volume of the AppleTV...if you can control it via hddmi or WLan it could not be a problem...but if you control your Suroundsystem via IR then you logically need a transmitter on xour pi to send those codes

Yeah, the AppleTV doesn't really have a "volume" per se, it either controls the TV via infrared through the remote or it controls the TV via HDMI. You should look into controlling your TV/amp/soundsystem, that's what I'm doing.

The Apple TV does have its own volume, for like when you have headphones as your output.

In that case it controls the (I guess bluetooth in your case?) headphone volume.
There is no software volume in the Apple TV and I am very happy Apple didn't add it. Theres too many people having their gain staging completely messed up because of volume knobs and options in the silliest places.

You can of cause log the Commands the AppleTV Remote send with IR to the Apple TV via an IR Receiver (maybe Arduino (i think i have one, than i will test that)). Than you can send the same commands via an Transceiver over your for example Raspberry Pi...than you can control the Volume

I tested that...i wired an IR Receiver onto my Arduino Board and runned some Code ive Written and....The HEX Code, the Apple TV Remote sends are
For Volume +:
Alternating 810 and 10 for each Press on the Button
For - Volume:
Alternating 811 and 11 for each Press on the Button
So you can of cause use this Code and Send it with an IR Diode with a Library on you Raspberry Pi


Is there a way to tell which version of Scribble Deluxe I am using?

I installed Scribble Deluxe some time ago and I don't remember the version number I have.
Is there a way to check which version I am currently using?

I just saw in the logs:
Scribble Deluxe: Welcome to Scribble by Juju Adams! This is version 9.0.0, 2024-03-10


Changing firstDayOfWeek doesn't have any effect

Version of flutter_calendar_carousel
^2.4.1
Expected behavior
Changing firstDayOfWeek to 0 should make Monday as first day shown in the calendar.
Actual behavior
Changing of firstDayOfWeek doesn't have any difference. Sundays always stays the same
flutter doctor result (run flutter doctor in terminal)
Flutter (Channel stable, 3.3.9, on macOS 13.0.1 22A400 darwin-arm, locale en-MK)

Steps to reproduce the behavior
Create new project & install package

If you want Monday to be the first day of the week, set the firstDayOfWeek to 1. Sunday is 0 index.


Revert "Do not raise PermissionError on 423 in async_get_raw_server_responses"

Reverts uvjustin/pyalarmdotcomajax#28

?
Any comment in relation to why it was reverted? I.e. did I break something?

I tried reverting to increment the version number along with your code change, but ended up canceling the revert and updating the version number manually. Your changes are still in there! Sorry for the confusion.


Bug: Cannot disable some auth providers

I cannot disable auth providers if I don't fill some inputs and doesn't make a lot of sense.

I've submitted a fix for the js validations in master and it will be available with the next minor v0.21.3 release sometimes later this weekend.


--data input error

giving any data argument gives the error:
Please make sure that your processed dataset is in data/ in .mat or .csv format and you have entered the filename as data parameter. e.g. blakeley.csv
to solve this remove "nargs = '+'," from the autoimpute.py script and change it to:
Data
parser.add_argument('--data', type = str, default='blakeley.csv', help = "Dataset to run the script on. Can choose from : ['blakeley.csv', 'jurkat-293T.mat', 'kolodziejczyk.csv', 'PBMC.csv', 'preimplantation.mat', 'quake.csv', 'usoskin.csv', 'zeisel.csv']")

Thanks for reporting the bug as well as the fix @MarinusVL , will update the script shortly.


US 02.01.01

As an owner, I want to see a list of my items.
Requirements/Prerequisites:

Must be a scrollable listview displaying items
Items must show a price, an image (if avalible), at least part of their description (should trail off with "..." if too large), name and leave a space after item name to display tags once they are implemented
Must be able to get to inventory by tapping leftmost nav button
Title must say "Inventory" or similar

Need to add trail off for descriptions

Just needs testing


[UI] Editor could look much better

The current editor doesn't look very good. It has very clunky looking buttons and a completely useless itemlist element along with some really strange styling in the menu buttons and just all around. The styling needs to be improved a lot before we can consider this ready to be seriously used.

When it comes to the actual interface of the plugin's event sheet, I'm looking to create something more like Construct, Clickteam fusion, and GDevelop in terms of layout. Of course I'd make a lot of edits to that kind of layout to make it work for what I'm creating but it's still a good idea as to what I'm looking for.

The above is the specific material I'm using as reference for the style of interface I'd want to craft for the sheet.

After trying several layouts out I have landed on a layout that I think can work for now. In the future I want to look into possibly using a tree element but for now this UI seems fairly readable and understandable.


Sync to AngularDart v3.0.0-alpha

I still intend to do a follow-up sync with CHANGELOG.md updates before releasing.

We plan to have the deprecated differs fixed as part of 3.0.0 final, but it's a big enough change where we wanted to call it out early @kevmoo.


Fix minor issues related to customssl configuration

Fix minor issues related to customssl configuration

Cancelling this pull request, as found another small issue with template dependency of elkTemplate on aadTemplate and aadTemplate with customSSL. I will create a new PR by including the fix for this template dependency as well.


Cannot read property 'options' of undefined

I've got an error
Cannot read property 'options' of undefined
TypeError: Cannot read property 'options' of undefined
    at Class.module.exports.included (/Users/vvs/repo/apollo-auth/node_modules/ember-cli-ic-ajax/index.js:12:27)
    at /Users/vvs/repo/apollo-auth/node_modules/ember-cli/lib/models/addon.js:241:32
    at Array.map (native)
    at Class.eachAddonInvoke (/Users/vvs/repo/apollo-auth/node_modules/ember-cli/lib/models/addon.js:239:22)
    at Class.Addon.included (/Users/vvs/repo/apollo-auth/node_modules/ember-cli/lib/models/addon.js:345:8)
    at EmberApp.<anonymous> (/Users/vvs/repo/apollo-auth/node_modules/ember-cli/lib/broccoli/ember-app.js:312:15)
    at Array.filter (native)
    at EmberApp._notifyAddonIncluded (/Users/vvs/repo/apollo-auth/node_modules/ember-cli/lib/broccoli/ember-app.js:307:45)
    at new EmberApp (/Users/vvs/repo/apollo-auth/node_modules/ember-cli/lib/broccoli/ember-app.js:103:8)
    at Object.<anonymous> (/Users/vvs/repo/apollo-auth/Brocfile.js:10:11)

ember -v shows
version: 0.2.7
node: 2.2.1
npm: 2.11.0

package.json contains:
  "devDependencies": {
    "broccoli-asset-rev": "2.0.0",
    "broccoli-merge-trees": "0.1.4",
    "broccoli-static-compiler": "0.1.4",
    "broccoli-ember-hbs-template-compiler": "1.6.1",
    "ember-cli-6to5": "0.2.1",
    "ember-cli-accounting": "0.0.4",
    "ember-cli-bootstrap": "0.0.15",
    "ember-cli-dependency-checker": "0.0.7",
    "ember-cli-inject-live-reload": "1.3.0",
    "ember-cli-less": "1.0.4",
    "ember-cli-qunit": "0.1.2",
    "ember-data": "1.0.0-beta.12",
    "ember-export-application-global": "1.0.0",
    "ember-validations": "2.0.0-alpha.1",
    "express": "4.8.5",
    "glob": "4.0.5"
  },
  "dependencies": {
    "ember-cli": "^0.2.7",
    "ember-cli-ic-ajax": "^0.2.1"
  }

I got the same error inside the terminal on start up and it seemed the only thing that fixed it was to move my ember-cli-ic-ajax reference to the devDependencies object.
This seems backwards to me since npm documentation states that devDependencies should contain references to packages specific to development environments (https://docs.npmjs.com/files/package.json#devdependencies).
Hopefully this helps or someone else can explain why this worked.


Setup Issue

Thank you for sharing your work ...
I am new to home assistant and could not figure out the problem I am facing.
I am facing a problem in adding the integration as it gives me the following error:

Thank you for your help

I never saw this error message myself. "500 Internal Service error Server got itself in trouble" is not an error message from my Integration itself.
If you could enable all traces in both PyP100 (the most important dependency of this Integration) and this Integration itself, then I could have a look.
configuration.yaml
logger:
  default: warning
  logs:
    # log level for PyP100
    PyP100.PyP100: debug
    PyP100.PyP110: debug
    # log level for tplink_tapo_cloud
    custom_components.tplink_tapo_cloud: debug
    custom_components.tplink_tapo_cloud.sensor: debug
    custom_components.tplink_tapo_cloud.config_flow: debug
    custom_components.tplink_tapo_cloud.tapo_coordinator: debug


Necessary information gets stripped from API documentation

The docs for core.v1.Service.get(...) are unclear because information from the code documentation is being stripped as a part of the docs generation. Given the nature of the issue it's likely affecting many other functions too.
See the original docs at https://github.com/pulumi/pulumi-kubernetes/blob/1853784b6b4235553c18872d6e11c3026870356e/sdk/nodejs/core/v1/Service.ts#L49-L53
At https://pulumi.io/reference/pkg/nodejs/pulumi/kubernetes/core/v1/#Service-get this becomes the below description (with wrapping added):
Get the state of an existing Service resource, as identified by id.
Typically this ID is of the form /; if is omitted, then (per
Kubernetes convention) the ID becomes default/.

Note specifically that <namespace>/<name> becomes / in the formatted docs. The full value should be preserved in the docs.

Reopened because while the original fix worked for the Kubernetes package and that's all that was regenerated with the fix, it caused issues in other TF-based packages.


Rtt_AppleInputDeviceManager.mm : Property with 'retain (or strong)' attribute must be of object type

When I tried to build the target rttplayer  from corona/platform/mac/ratatouille.xcodproj I have this error:

I tried with releases 3601 and 3614, with same result.

Note : I had to upgrade recently XCode to Version 12.0 Beta 6
This could be the reason of my problem, because it used to work correctely two month ago.

OK, guys and girls :
I confirm that there is problems with XCode 12.0 (I have no problems when I downgrade to XCode 11.7).

I have another problem with XCode 12.0, but I am not sure if I must feel another PR (Problem Report) :
When I try to build my App, I have the following error during the Link Edit :

Again, there is not any problem when I downgrade XCode to version 11.7.
Unfortunately I do not know very well XCode to be more helpful.

This issue has probably been addressed with https://github.com/coronalabs/corona/commit/58848d7b2545eb2278aedca5e6dba23170732967

It wasn’t. Release Xcode 12 is building against Xcode 10.15 sdk. Beta - 11.0. Still an issue for next Xcode update and Apple silicone


Copy/Paste URL and embed image

This is not bug .
Expecting Functionality
copy/paste a image URL and that should automatically embed the image
What I have done
Vuejs has Paste event which gives the pasted content and so this is what I have done for it to work
 methods: {
      onPaste (evt) {
      evt.preventDefault()
      this.myQuillEditor.insertEmbed(this.myQuillEditor.getSelection(), 'image', evt.clipboardData.getData('text'));
   }
}

This automatically embeds the image just by copying the image URL in editor .
Problem
The image is not inserting at the cursor position , but at the starting position of the editor .  this.myQuillEditor.getSelection()  is always returning null
Any one has any solution for this problem ? Looks like I am missing some Quill API call here .
Thank You

<div  v-quill:wysiwyg="..." /*...other attributes...*/></div>

...
const wysiwyg = this.wysiwyg
const range = wysiwyg.selection.lastRange || { index: 0 }
...


Option to disable png icons

It would be nice if there was an option to disable png icons so Phantomjs wont get run every time.

Since grunticon is meant to be an all-around solution for providing css for icons with fallbacks, it's not within the scope of the project to disable png icons.
However, it DOES use Directory-Encoder to generate the CSS files that you're looking for. I strongly recommend using that instead if that's all you want.
Thanks!

I would backup this request. Our project doesn't need to support PNGs and having a flag to not generate them would be very useful and speed up our CI a lot. It doesn't mean the project would stop being an all-round solution - having the option of generating PNGs would still be there.

Why not just deleting the request for the PNG fallback? It's pretty easy to limit your implementation of what grunticon generates to just what you need. You could even just delete the symbols.fallback.css file and replace it in your embed script with symbols.data.png.css... for a lack of a quicker hack no?
<script>
	grunticon([
			"assets/css/symbols.data.svg.css",
			"assets/css/symbols.data.png.css",
			"assets/css/symbols.data.png.css"
		],
		grunticon.svgLoadedCallback
	);
</script>
<noscript><link href="assets/css/symbols.data.png.css" rel="stylesheet"></noscript>


Move rust-toolchain.toml back to rust-toolchain

Apparently, the action we use on CI to install the toolchain for publishing does not support the file living under rust-toolchain.toml.

You can copy-paste this action https://github.com/Cardinal-Cryptography/aleph-node/blob/main/.github/actions/install-rust-toolchain/action.yml to this repo, it supports rust-toolchain.toml


Trim, Filter Video

Hi! I want to ask if it's possible to trim Video, or add OpenGL shaders .
Thanks!

any update?
@shahen94 you create the editor for iOS?
https://github.com/shahen94/react-native-video-processing

@mantap123 yes, i am

https://github.com/shahen94/react-native-video-processing

Cool module @shahen94. Can this be closed?

@jhabdas sure

I'm sorry to revive such an old topic, but is it now doable from react-native-video library?
The thing with react-native-video-processing mentioned above is that it's a 103Mb package, adding an extra 50Mb to the release bundle size. :/


[complete-test] Add options for performance testing

This adds two changes to complete-test

Ability to perform multiple completions by specifying multiple -tok parameters.
Ability to measure the time spent performing the completions using a -stats-output-dir parameter.

The stats output file looks as follows. The time.swift-completetest.complete_test_invocation-Validation.swift-na-na-Onone entries measure how long the entire complete-test invocation took, which is probably less useful but auto-generated by UnifiedStatsReporter, which I didn’t want to fiddle around with too much.
{
	"time.swift.complete-request.MEMBER_FAST.wall": 1.4068841934204102e-02,
	"time.swift.complete-request.MEMBER_FAST.user": 1.2606000000000117e-02,
	"time.swift.complete-request.MEMBER_FAST.sys": 1.4890000000000181e-03,
	"time.swift.complete-request.MEMBER.wall": 1.9094991683959961e-01,
	"time.swift.complete-request.MEMBER.user": 1.5148800000000007e-01,
	"time.swift.complete-request.MEMBER.sys": 3.9364000000000010e-02,
	"time.swift.complete-request.GLOBAL_TYPE_2_FAST.wall": 1.0192823410034180e-01,
	"time.swift.complete-request.GLOBAL_TYPE_2_FAST.user": 6.0383999999999993e-02,
	"time.swift.complete-request.GLOBAL_TYPE_2_FAST.sys": 4.0125999999999995e-02,
	"time.swift.complete-request.GLOBAL_TYPE_2.wall": 1.1122202873229980e-01,
	"time.swift.complete-request.GLOBAL_TYPE_2.user": 6.5863999999999923e-02,
	"time.swift.complete-request.GLOBAL_TYPE_2.sys": 4.3583999999999984e-02,
	"time.swift.complete-request.GLOBAL_TYPE_FAST.wall": 1.4530825614929199e-01,
	"time.swift.complete-request.GLOBAL_TYPE_FAST.user": 7.9532999999999854e-02,
	"time.swift.complete-request.GLOBAL_TYPE_FAST.sys": 6.1341000000000007e-02,
	"time.swift.complete-request.GLOBAL_TYPE.wall": 1.2794480323791504e+00,
	"time.swift.complete-request.GLOBAL_TYPE.user": 1.1115800000000000e+00,
	"time.swift.complete-request.GLOBAL_TYPE.sys": 1.6348500000000002e-01,
	"time.swift-completetest.complete_test_invocation-Validation.swift-na-na-Onone.wall": 1.8632860183715820e+00,
	"time.swift-completetest.complete_test_invocation-Validation.swift-na-na-Onone.user": 1.5013159999999999e+00,
	"time.swift-completetest.complete_test_invocation-Validation.swift-na-na-Onone.sys": 3.4988199999999997e-01
}

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - ca29247c148412be8e8e6d49a532112b9cbeec39

@swift-ci Please test Windows

Windows issue seems to be fixed, testing all platforms again to merge.
@swift-ci Please test macOS
@swift-ci Please test Linux

@swift-ci Please test macOS


change pprint-str to print-str

Because the error messages is only string, I think print-str looks better than pprint-str.
For example, when an error message has \n :
user=> (clojure.pprint/pprint "aaa\nbbb")
"aaa\nbbb"
nil
user=> (print "aaa\nbbb")
aaa
bbbnil

"aaa\nbbb" has raw \n instead of newline, but I'd like to show newline on messages.

Thank you for the PR.
The concept of cruler is a validation framework for non-programmers as well as programmers, so human-readable error texts formatted by pprint-str are mandatory.
When a Clojure data structure supplied to error-value is complicated, an error text generated by print-str is so difficult to read.
dev-resources/sample-validator/approved-drug/test.yml
  error: Should be distincted: :drug
    [{:drug foo, :types [{:category A, :serial 1234}], :comment A1} {:drug bar, :types [{:serial 9876}], :comment A2} {:drug bar, :types [{:serial 9876}], :comment A2}] ...
  line: unknown

pprint-str formats such a data structure.
dev-resources/sample-validator/approved-drug/test.yml
  error: Should be distincted: :drug
    [{:drug "foo", :types [{:category "A", :serial 1234}], :comment "A1"}
     {:drug "bar", :types [{:serial 9876}], :comment "A2"}
     {:drug "bar", :types [{:serial 9876}], :comment "A2"}]
     ...
  line: unknown

If you want to use the former error text generated by print-str, I suggest adding a formatting config like :format {:error-value :print} (default :pprint) to cruler.edn and switching an output process regarding to the config.

Thank you for the PR.
The concept of cruler is a validation framework for non-programmers as well as programmers, so human-readable error texts formatted by pprint-str are mandatory.
When a Clojure data structure supplied to error-value is complicated, an error text generated by print-str is so difficult to read.
dev-resources/sample-validator/approved-drug/test.yml
  error: Should be distincted: :drug
    [{:drug foo, :types [{:category A, :serial 1234}], :comment A1} {:drug bar, :types [{:serial 9876}], :comment A2} {:drug bar, :types [{:serial 9876}], :comment A2}] ...
  line: unknown

pprint-str formats such a data structure.
dev-resources/sample-validator/approved-drug/test.yml
  error: Should be distincted: :drug
    [{:drug "foo", :types [{:category "A", :serial 1234}], :comment "A1"}
     {:drug "bar", :types [{:serial 9876}], :comment "A2"}
     {:drug "bar", :types [{:serial 9876}], :comment "A2"}]
     ...
  line: unknown

If you want to use the former error text generated by print-str, I suggest adding a formatting config like :format {:error-value :print} (default :pprint) to cruler.edn and switching an output process regarding to the config.

@totakke Thank you for the review. I defined :format {:error-value :print} in cruler.edn. Could you check it out, please?

@totakke Thank you for the review. I defined :format {:error-value :print} in cruler.edn. Could you check it out, please?


Include original file name in test output

When running stack test on this project, the output indicates that all tests are in test/Driver.hs. Information about the real file name of the test is lost. Can this be fixed?

Migrated to https://git.coop/lwm/tasty-discover/issues/143.


Setup a dev release branch, and workflow for CI/CD(npm package) from main and dev(pre-release only).

Not working on dev release as of now.


Identifier too long

Καλησπέρα!
First of all, a big thank you for this package, it has helped me a lot!
Its pretty easy to use and to modify yet i ran into one problem.
Trying to create a table for the translations of a model using this:
`
Schema::create('property_category_translations', function(Blueprint $table)
{
        $table->increments('id');

        $table->integer('property_category_id')->unsigned();

        $table->string('title');

        $table->string('locale')->index();

        $table->unique(['property_category_id','locale']);

        $table->foreign('property_category_id')->references('id')->on('property_categories')->onDelete('cascade');
    });`

I get a response:
SQLSTATE[42000]: Syntax error or access violation: 1059 I dentifier name 'property_category_translations_property_category_id_locale_unique' is too long (SQ L: alter table 'property_category_translations' add unique 'property_category_translations_propert y_category_id_locale_unique'('property_category_id', 'locale'))
Any insights?
Thank you in advance!

This isn't related to this package but you can use the second parameter of the unique() method to define a custom name.
https://laravel.com/docs/5.6/migrations#creating-indexes

Laravel will automatically generate a reasonable index name, but you may pass a second argument to the method to specify the name yourself:


Rebalance tries to use non-existing channel, dies

Running on current master:
Here, $CHANID is an open channel with almost all balance on local:
$ lndmanage rebalance --max-fee-sat 5 --amount 100000 $CHANID
> Loaded graph from file: n nodes, c channels.
>>> Trying to rebalance channel $CHANID with a max rate of 0.001 and a max fee of 100 sat.
>>> This is a dry run, nothing to fear.
>>> The channel status before rebalancing is lb:x sat rb:y sat cap:z sat.
>>> Trying to change the local balance by -100000 sat.
    The expected unbalancedness target is -1.01 (respecting channel reserve)
>>> Rebalancing can take some time. Please be patient!

>>> Need to still change the local balance by -100000 sat to reach the goal of -100000 sat. Fees paid up to now: 0.000 sat.
>>> Trying to rebalance with 100000 sat (attempt number 1).
    Hop 5: $CHAN2 (cap: ... sat): $ME <- $THEM
      Fees: 1.100 sat
      Liquidity penalty:  x sat
      Badness penalty:  0.000 sat
      Time penalty:  1.000 sat
   ....
    Hop 1: $CHAN (cap: ... sat): $BOB <- $ME
      Fees: 0.000 sat
      Liquidity penalty:  0.000 sat
      Badness penalty:  0.000 sat
      Time penalty:  1.000 sat
  > Route summary: amount: 100000.000 sat, total fee: x sat, fee rate: x, number of hops: 5
Traceback (most recent call last):
  File "/root/.venv/bin/lndmanage", line 8, in <module>
    sys.exit(main())
  File "/root/.venv/lib/python3.10/site-packages/lndmanage/lndmanage.py", line 617, in main
    parser.run_commands(node, args)
  File "/root/.venv/lib/python3.10/site-packages/lndmanage/lndmanage.py", line 516, in run_commands
    rebalancer.rebalance(
  File "/root/.venv/lib/python3.10/site-packages/lndmanage/lib/rebalance.py", line 624, in rebalance
    rebalance_fees_msat = self._rebalance(
  File "/root/.venv/lib/python3.10/site-packages/lndmanage/lib/rebalance.py", line 119, in _rebalance
    illiquid_channel = self.channels[illiquid_channel_id]
KeyError: $CHAN2

Here, $CHAN2 is an old channel that was remotely force-closed >1y ago. lndmanage was recently started for the first time. $CHAN2 does not appear in output from lndmanage listchannels.

Ok, there could be an issue with cached data. I would recommend clearing the ~/.lndmange/cache folder, but will have a look.

It's run with a fresh cache (like I mentioned: First time running lndmanage, channel was force-closed over 1 year ago).


Uncaught TypeError: m.vclock is not a function

Hi, I'm just starting to explore this library and I ran into an issue.  I'm trying to converge two maps in cljs but I'm getting the error Uncaught TypeError: m.vclock is not a function
I think the following needs to be (.-vclock m) instead of (.vclock m)
https://github.com/aredington/schism/blob/a90a0a849703ad80607dcea947b64194bf02f448/src/schism/impl/types/map.cljc#L225

Should be fixed in 41e7d8b3e440551aec234a5cc34b6d534d733ad2
I've got a few more things to mess with but will cut a release soon


About material design guidelines

Hello.
This is more a question than a issue.
While developing new components based on material design guidelines, I face the following information, for example:
Headline: Type 24sp, Leading 32sp
Subhead 1: Type 15sp, Leading 24sp
32sp line height
56dp padding between the top of button and the center of copy (allowing room for 1-3 lines of text)
24dp vertical padding

How does SP/DP translates to CSS font-sizes, font-weight, etc properties? I want to maintain heterogeneity with the rest of the components' font sizes and I'm curious how to do so. Can you elaborate a simple guide in the CONTRIBUTING docs for me?
Thank you.

Hi,
Please refer to this https://material.io/guidelines/layout/units-measurements.html#units-measurements-density-independent-pixels-dp
When writing CSS, use px wherever dp or sp is stated. Dp only needs to be used in developing for Android.

Got it, thanks!


How to lint a decorated bundle output?

I think I'm missing something. I have an OpenAPI description which ... needs some work. It's generated, so I can't change it directly, and I'm evaluating using decorators to get it to the point that it passes the linting step, with some rules disabled. I'll say immediately that it was super simple to get started, the example of a custom decorator is a great starting point, and this was much easier to get moving with than I expected; I have a great first impression so far.
So now the sticking point: How do I bundle and then lint? I can redocly bundle --lint but that shows me the errors as if the decorators haven't been run. If I bundle and save to an output file, then (using duplicate config for the rules) lint the resulting output, I get what I expected - I still see some errors but the decorators have fixed a few things.
I expected to be able to do this in one step: producing the decorated output with bundle and it being linted against the declared rules. Can I do that? If not, would you consider adding this?

It looks like you are looking for preprocessors. Decorators are similar to decorators but they run before the lint or bundle, not after.
 A simple mistake in the preprocessor can break our core validation.
Also, we can't show correct error message locations after the preprocessors run.
We're considering deprecating preprocessors in the current shape and replacing them with a separate command (like preprocess or compile). Alternatively, we're considering changing the way they run.
But we won't change the API so you're pretty safe using them now.
Let me know if you have any other quesitons.

Closing it as outdated.


Support for CoffeeScript functions

Could support for CoffeeScript functions be added so this will work?
function: !!cs/function >
  foobar = ->
    "Wow! JS-YAML Rocks!"

Although CoffeeScript is an abstraction over JavaScript, it's not JavaScript.
I don't think it should become part of JS-YAML (and add extra dependency), instead it can be implemented as a separate module, that will add CoffeeScript-specific tags, just like vows adds new assertion helpers to assert.


[Docs] Fixed some typos in checklist.md

Related Issues
#5071
closes #5071
Screenshots of Visual Changes before/after (if There Are Any)

Which Environment This Relates To
Check your case. In case of any doubts please read about Release Cycle

[x] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[x] I've updated the Upgrade notes and Changelog on how to port existing Vue Storefront sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and Currently Important Rules Acceptance

[x] I read and followed contribution rules

@Fifciu Handled this PR in this one: https://github.com/DivanteLtd/vue-storefront/pull/5260


error while loading database file

i have a database file which i load using your sample code:
var Datastore = require('nedb')
  , db = new Datastore({ filename: 'p.nedb' });
db.loadDatabase(function (err) {
  // Callback is optional
  // Now commands will be executed
    console.log("finished", err);
});

then i get this error:
⇒  node nedbtest.js
finished Error: "toString()" failed
    at Buffer.toString (buffer.js:528:11)
    at tryToString (fs.js:445:15)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:436:12)

any ideas? i could send you the file if it helps (it is 35mb zipped, 639mb unzipped, but i previously had the error with smaller files as well). the error is not catchable...
thanks for looking into this

I got the same error. With a 300mb library.

NeDB loads the full database into memory. Such large databases are not going to work. Please use Mongo or another non-embedded database.

NeDB is indeed not meant for this amount of data, maybe a note could be added about the max recommended size of a database in the README ?

Using nedb on an application the following error occurs when the serving process was triggered:
Feathers application started on localhost:3030
/Users/kaiquesilva/pieces/feathers-scrape-it/node_modules/nedb/lib/datastore.js:77
if (err) { throw err; }
^
Error: ENOENT: no such file or directory, rename '/Users/kaiquesilva/pieces/feathers-scrape-it/data/users.db~' -> '/Users/kaiquesilva/pieces/feathers-scrape-it/data/users.db'
at Error (native)

I'm nothing using emacs, the current file mention on that error does not exists.

@kaiquewdev, I am having the same issue as you right now, did you find any solution to that? Thanks.

I have a small DB with roughly 400 small items, around a hundred characters each. I am using
db.update(doc, object, {multi:true})

where doc is the item from db.find({name:object.name}) and object is an slightly edited version of that object.
I am guessing because of the way nedb works, it has appended the edit to the bottom of the database.db file without erasing previous version of the item, getting me a 285 mb database that prevents my application from launching.
Is there any fix for this?

@Danielv123

I am guessing because of the way nedb works, it has appended the edit to the bottom of the database.db file without erasing previous version of the item

It should not, you should check that you call db.update correctly.
If you're looking for a more scalable Library, I switched to LinvoDB3 some time ago, slower but far more scalable in terms of amount of data.

@KeitIG I call update at line 60 in this file. I can confirm that the items does update and are registered with the same ID in the database file, with older versions towards the top of the file and the newer copy on the bottom.

This would probably be relieved with PR #463.


Where can I find the current version number for ChEBI?

Apologies if this is a silly question, but I cannot seem to find the "version number" for the most recent release of ChEBI (apart from the August 1st tweet).
I checked GitHub, the front page here (https://www.ebi.ac.uk/chebi/), the "About ChEBI" page, the FAQ, User Manual, the Reference Manual...but no luck. Is there a standard place where it is reported?
There is absolutely the possibility that I simply missed it written somewhere. Any and all help is appreciated. Thanks!

It looks to be available via OLS: https://www.ebi.ac.uk/ols/ontologies/chebi
Would this be the best place to check for the current version in the future?

Hi,
You can find the version number in the ontology download files or you can visit the ChEBI statistics page:
https://www.ebi.ac.uk/chebi/statisticsForward.do
The current release is 166.
Best Regards,
Adnan


2D Polygon indices are barely visible on bright background

Godot version:
3.2.1
Issue description:

Could be fixed with something like this #36530 probably

Still reproducible in the current master branch.

I've got an updated fix (in the style of https://github.com/godotengine/godot/pull/36530):
https://github.com/godotengine/godot/pull/70902


scikit-learn API for XGBoost classification's predict_proba function's behavior when run with disabling multithreading inside xgboost vs without disabling multithreading

Environment info
Operating System: Centos 7
Compiler: (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)
Package used (python/R/jvm/C++): python
xgboost version used: 0.6
What have you tried?

I tried to apply xgboost model predict_proba function online with input to model coming as stream of data.
testProb = model.predict_proba(input)
I tried running it in default setting (on 56 core machine). The time taken to predict was around 200ms for each of the incoming messages
I tried running it by setting OMP_NUM_THREADS=1. The time taken to predict was around 8ms for each of the incoming messages.

Could you please tell me how come in multi-threading, it is taking more time as compared to single threading.

@mkmukund10 A similar issue was reported at #3042. Could you send us a fully reproducible script. I'd like to reproduce the bug and try to fix it.

Closing this for lack of activity in last 90 days. Feel free to re-open if the issue occurs again.

Also, consider posting at the new user forum https://discuss.xgboost.ai/.


[GSSOC'23] Updating readme of  BMI Calculator GUI

Title:
Add README with Screenshots and Output for BMI Calculator
https://github.com/avinashkranjan/Amazing-Python-Scripts/tree/master/BMI-Calculator-GUI
Description:
The current repository lacks a detailed README explaining the usage and features of the salary predictor. Create a comprehensive README.md file that includes clear installation instructions, usage examples, and screenshots showcasing the application's output. This will help users understand and utilize the salary predictor effectively.
Additional Information:
to include relevant screenshots of the application's output and provide clear instructions on how to reproduce the results.

https://github.com/avinashkranjan/Amazing-Python-Scripts/tree/master/BMI-Calculator-GUI

Hi @avinashkranjan ,
I am a contributor in GSSOC'23 and would love to work on this issue. Please assign the issue to me

Hello @mkswagger I would love to contribute... Please check out my readme files, so you know who to pick :)

Go Ahead @mkswagger


⚠ Tachidesk Server has degraded performance

In 684db4c, Tachidesk Server (https://tachidesk.culturecloud.gq) experienced degraded performance:

HTTP code: 502
Response time: 17261 ms

Resolved: Tachidesk Server performance has improved in 746ff70.


Editing / Adding JIRA configuration broken due to missing import

Since #3106 adding and editing JIRA configurations is broken:
[04/Nov/2020 09:12:14] ERROR [dojo.jira_link.views:293] name 'settings' is not defined

I think some code parts where copied from utils.py to other files, but the accompanying imports where not copied.
affects jira_link/views.py and tool_type/views.py

fixed in release/1.9.2 branch


ct_os_get_pod_name sometimes returns two pods

.. so it looks like the rc was scaled up to 2:
https://ci.centos.org/job/SCLo-container-postgresql-rh-openshift/43/consoleText

Currently now we precisely check if there are two PODs or not. Nevertheless each OpenShift 4 test is in a separate project. So no collision.


More warnings

The struggle is real.

Hello @agray I ve juste published a 1.2.9 release. Could you try please ?

Hello @agray could you answer please ?

@agray without an answer i'm closing the issue.


Apple pay bottom sheet displays "done" even when a transaction fails

I am using the pay plugin in Flutter to enable Apple pay into my app The funactioanlity runs smoothly but I am facing a UI related issue in Apple Pay payments.
If the user's card is declined, the apple pay bottom sheet still displays a tick and sayd "Done". The response body sent by Apple to my payment provider does say that the card was declined but in the UI, the user sees "Done"

Ideally, the UI of the bottom sheet should also say "Payment failed" or "Payment not completed" like in web or native integrations of Apple Pay:

I am facing the same issue and opened a similar issue a few days ago. They recently released the 2.0.0 version and I thought they must've fixed it, but they haven't

Hi @sarthakrungta, there's an open pull request that adds that feature (see #200).
You can use the PR to keep track of the feature.
@khanawansocialb you are most welcome to keep track of progress there too.