Returning from subscription with error

It could happen that a subscription fails and instead of returning something like
impl Stream<Item = Option<MyThing>>

I would like to interrupt the stream or not start it at all.
How can this be done with the current implementation?

I have the same question.
I tried changing my subscription resolver function to return Result<impl Stream<Item = GQLSetVariant> + 'a, Error>, but it gave the error:
#[Subscription]
   | ^^^^^^^^ the trait `Stream` is not implemented for `Result<impl Stream<Item = MyItem>, anyhow::Error>`

Nevermind, I figured it out; you just have to return impl Stream<Item = Result<GQLSetVariant, MyError>> + 'a.
Though some things to note:

You have to use an error-type that has Clone implemented; in my case I just created a basic SubError struct:

use std::{error::Error, fmt};

// Clone is needed for it to be used under async-graphql's `#[Subscription]` macro
#[derive(Debug, Clone)]
pub struct SubError {
    message: String,
}
impl SubError {
    pub fn new(message: String) -> Self {
        Self { message }
    }
}

impl Error for SubError {}

impl fmt::Display for SubError {
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        write!(f, "GQLError:{}", self.message)
    }
}

In your subscription handler, you have to make sure that the errors returned are of your cloneable error-type. I didn't know how to do this while still using the ? operator, so here was my workaround:

async fn my_items<'a>(&self, ctx: &'a Context<'_>) -> impl Stream<Item = Result<MyItem, SubError>> + 'a {
    let stream_for_error = |err: Error| {
        async_stream::stream! {
            yield Err(SubError::new(err.to_string()));
        }
    };

    // if you want to do this, in the code prior to your `async_stream::stream!` closure...
    //let temp = func_that_may_error()?;

    // do this instead...
    let temp = match func_that_may_error() { Ok(a) => a, Err(err) => return stream_for_error(err) };

    // and then inside the regular loop...
    async_stream::stream! {
        loop {
            // where you want to do this...
            //let temp = func_that_may_error()?;

            // do this instead... (untested, but it should work)
            let temp = match func_that_may_error() {
                Ok(a) => a,
                Err(err) => {
                    yield Err(SubError::new(err.to_string()));
                    break;
                }
            };

            // regular entry-yielding for the non-error case
            yield temp.get_next_entry().await;
        }
    }
}

@sunli829 Would it maybe be worth adding some example like this to the async-graphql error-handling docs, for returning errors from subscription resolvers rather than only queries/mutations?

@Venryx  Would you like to help improve it? 😁

@Venryx Would you like to help improve it? 😁

Haha, I was afraid you'd ask that. 😆
I'll see if I can find time to write something up.


Gene level custom boxplots don't always break down by group

Not sure why but it's probably trivial... maybe something hardcoded instead of a variable again.

Resolved #33


rclone 'forgetting' custom Google Drive API keys

I followed the instructions for Making your own client ID, which worked well for about an hour.
But then I started getting errors and noticed that somehow both the client id and secret got erased from my config, during the transfer.
This happened twice, with 2 fresh keysets.

Which version of rclone were you using? Can you try again with the latest beta please?
Were you maybe running two versions of rclone at once?


Update manage-user-profiles.md

Added a note to the section "Add and remove admins for a user's OneDrive" indicating the lack of support for removing site collection administrator rights for their OneDrive for Business site. Please see the internal Yammer thread below for a discussion on this topic:
https://www.yammer.com/microsoft.com/#/threads/show?threadId=686785069760512

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@kaarins PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@DamianWiese thank you for this! I already added a warning when I was making other changes to user profile content.


blender: error: unrecognized arguments: --joint_type=HumanML3D

HI author,
It seems no joint_type parameter here.

Hi @hdjsjyl
We have made improvements to the render script, enabling it to automatically detect the joint_type of .npy files instead of requiring manual assignment. As a result, you no longer need to specify the joint_type while keeping other flags unchanged. We have also updated the README to reflect this update.

thank you!


SQL queryParameters

Description
Shortcut: https://app.shortcut.com/cartoteam/story/245734/add-parametrized-queries-support-to-cartoreact
RFC: https://github.com/CartoDB/carto-react/issues/456
Type of change

Feature

Acceptance
We should be able to send queryParameters along the following methods:

SQL - executeSQL
Hooks - useCartoLayerProps
cartoSlice - addSource
model - executeModel
stats - getStats

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 5 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.002%) to 72.388%

Totals

Change from base Build<PHONE_NUMBER>:
-0.002%

Covered Lines:
1656

Relevant Lines:
2143

💛  - Coveralls


CNAME check

Added the ability to check the CNAME record of a domain before testing it for takeover.
Changed Tumblr's check to be CNAME-based.
Added a few more content hosting providers (CNAME check only).

This is awesome @mhmdiaa! Thanks a ton for making these changes...And, I hope this tool is helpful for some of the takeover automation. I've never really tried on bug bounties after I initially wrote it so I had no idea that this might be of interest to others.

😞


Roll engine f4aadb11cf13..74625aed323d (2 commits)

https://github.com/flutter/engine/compare/f4aadb11cf13...74625aed323d
git log f4aadb11cf13..74625aed323d --no-merges --oneline
74625aed3 Keyboard padding detection heuristic to distringuish when to include bottom inset. (flutter/engine#6288)
617b122bd Roll Dart to a2eb050044eec93f0844667b8b6132e858467e4e. (flutter/engine#6321)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@rmistry @liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Auto-roller completed checks. About to merge.

CC authors of the two engine PRs: @GaryQian @rmacnak-google : do you have any ideas if your PR can cause the flakiness?

My PR should not have caused anything on iOS as it was an android only patch.


Drop support for Python 3.4

Python 3.4 has reached end of
life.
Consequently, we're dropping support in Rally as well and raise the
minimum supported version to Python 3.5.

Thanks for the review!


Analyzer: Export dynamic from dart:core

The dynamic type should be should be exported by the dart:core library under the dynamic identifier.
As a built-in identifier, it's possible to declare members named dynamic (even thought you probably shouldn't), and those will shadow the dynamic in dart:core.
See #29125.

Still an issue with dartanalyzer v 2.0.0-dev.48.0. When can we expect this to be fixed?

What is the impact of this bug on users and/or clients?

That's more or less it, yeah. In this case, it was prompted by package:googleapis (and anything else generated by package:discoveryapis_generator). I seem to attract code generation...
When we generate code (for either protobuf or discovery APIs), the problem is that the source schema may have definitions that end up shadowing things in dart:core, which leads to analysis warnings. A good example is 'Error', which is quite common as a response object.
My current issue is with discoveryapis_generator, where we generate code that imports dart:core with a prefix ('core'). We therefore refer to dynamic as core.dynamic, which seems to work in VM and dart2js, but analyzer reports errors for it.

@jakobr-google, do you have a work-around for this? This doesn't seem to be a recent regression.

Jakob has left the building, but no, there isn't a good workaround except manually editing the files.
We have people doing manual editing every time they roll a new version of google-apis (see https://github.com/dart-lang/sdk/issues/32228#issuecomment-397595085).

@MichaelRFairhurst will be working on the Dart2Stable issues (in priority order).

I have a solution to this which is maybe not particularly clean, maybe there's a better option that will come up in review or maybe it will be OK as is.
https://dart-review.googlesource.com/c/sdk/+/62730

Reopening since the fix was reverted.

Reopening since analyzer still permits the following:
import "dart:core" as mycore;

void main() {
  dynamic;
}

Analyzer should report that the name dynamic is undefined.

Do you see an issue if you give the field a name?

Yes:
import "dart:core" as mycore;

void main() {
  dynamic x;
}

The error that analyzer reports says that the built-in identifier dynamic can't be used as a type. It should instead be reporting that dynamic is an undefined name.
(I also get a hint that x is unused, which is fine.)

Working now:
import "dart:core" as mycore;

void main() {
  dynamic x; // error here: Undefined class 'dynamic'.
  mycore.dynamic y; // no error.
}


🐛 [firebase_messaging] (iOS) App crashes immediately on notification click (EXC_BAD_ACCESS (KERN_INVALID_ADDRESS))

Bug report
Describe the bug
This bug occurs when the app is terminated (not running) and i receive a push notification. The push notification is received and displayed as expected by the OS, but when i click the notification it attempts to open the app, but it immediately shuts down/crashes. I want to emphasize that this only happens on iOS and when the app is terminated. If the app is in the background and i click the notification, it resumes the app as expected.
After this has happened the app is in a broken state meaning that if i now attempt to open the app normally (clicking the launch icon), the same thing happens; the app shuts down/crashes. I have to re-install the app to make it well again.
I have tested on iPhone 6s (iOS 14.7.1) and iPhone 14 Pro Max (iOS 16.3.1) and it occurs on both of them, consistently.
Below is a screen recording where I:

Terminates the app which was running just fine
Send a push notification to the app
Clicks the notification (instant crash occurs)
Click the launch icon (instant crash occurs).

https://user-images.githubusercontent.com/13535388/222383646-93161334-9543-4893-ba30-c8d03b971e7b.MP4
Stack trace:
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000

Crashed: com.apple.main-thread
0  libswiftCore.dylib             0x32ab90 swift_getObjectType + 36
1  flutter_secure_storage         0x8b40 $s22flutter_secure_storage31SwiftFlutterSecureStoragePluginC8register4withySo0eH9Registrar_p_tFZ + 108
2  flutter_secure_storage         0x8d30 $s22flutter_secure_storage31SwiftFlutterSecureStoragePluginC8register4withySo0eH9Registrar_p_tFZTo + 56
3  flutter_secure_storage         0x4e98 +[FlutterSecureStoragePlugin registerWithRegistrar:] + 72
4  Runner                         0x51c8 +[GeneratedPluginRegistrant registerWithRegistry:] + 108 (GeneratedPluginRegistrant.m:108)
5  Runner                         0x546c AppDelegate.application(_:didFinishLaunchingWithOptions:) + 10 (AppDelegate.swift:10)
6  Runner                         0x5734 @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) (<compiler-generated>)
7  ???                            0x1966607b0 (Missing)
8  ???                            0x196662150 (Missing)
9  ???                            0x196667f24 (Missing)
10 ???                            0x195d3a8c0 (Missing)
11 ???                            0x19625f2c8 (Missing)
12 ???                            0x195d3b3a8 (Missing)
13 ???                            0x195d3adfc (Missing)
14 ???                            0x195d3b1d4 (Missing)
15 ???                            0x195d3aa90 (Missing)
16 ???                            0x195d4272c (Missing)
17 ???                            0x19617938c (Missing)
18 ???                            0x196277184 (Missing)
19 ???                            0x195d42420 (Missing)
20 ???                            0x195b81ae4 (Missing)
21 ???                            0x195b80590 (Missing)
22 ???                            0x195b81730 (Missing)
23 ???                            0x1966660fc (Missing)
24 ???                            0x19619fa84 (Missing)
25 ???                            0x1a2899d00 (Missing)
26 ???                            0x1a28c14fc (Missing)
27 ???                            0x1a28a7420 (Missing)
28 ???                            0x1a28c1214 (Missing)
29 ???                            0x1939f7298 (Missing)
30 ???                            0x19399c5b8 (Missing)
31 ???                            0x1a28e5e04 (Missing)
32 ???                            0x1a28e5acc (Missing)
33 ???                            0x1a28e5fa0 (Missing)
34 CoreFoundation                 0x9a8a8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
35 CoreFoundation                 0x9a7a8 __CFRunLoopDoSource0 + 204
36 CoreFoundation                 0x99afc __CFRunLoopDoSources0 + 256
37 CoreFoundation                 0x94018 __CFRunLoopRun + 768
38 CoreFoundation                 0x937d0 CFRunLoopRunSpecific + 572
39 ???                            0x1aa479570 (Missing)
40 ???                            0x1966642d0 (Missing)
41 ???                            0x19666984c (Missing)
42 Runner                         0x58ac main + 5 (AppDelegate.swift:5)
43 ???                            0x193a16140 (Missing)

Steps to reproduce
Steps to reproduce the behavior:

Create a Flutter plugin project
Follow this installation guide in order to set up Firebase cloud messaging so that it is ready for receiving notifications.
Fire up the application and copy the FCM token (FirebaseMessaging.instance.getToken())
After you have obtained the token, terminate the app (kill it).
Now, open the Firebase console and navigate to the "Cloud Messaging" category and send a test message to the device using the FCM registration token you just copied.
When the app has received the push notification, click it
Observe the app crashes immediately when clicking the notification

Expected behavior
When the app is in terminated state and i receive a push notification, when i click the notification i expect the app to open
Sample project
Providing a minimal example project which demonstrates the bug in isolation from your main App greatly enhances the chance of a timely fix.
Please link to the public repository URL.
A bit difficult to provide a working project that supports Firebase messaging

Additional context
When looking at the stack trace you might think that the package flutter_secure_storage is to blame but I have tried removing the package and the crash still occurs with a slightly different stack trace.
Again, this is a Flutter plugin project. I am running the example app within the project.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 3.7.6, on macOS 13.2.1 22D68 darwin-arm64, locale nb-NO)
    • Flutter version 3.7.6 on channel stable at /Users/detoxer/dev/sdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 12cb4eb7a0 (14 hours ago), 2023-03-01 10:29:26 -0800
    • Engine revision ada363ee93
    • Dart version 2.19.3
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/detoxer/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • Java binary at: /Users/detoxer/dev/ide/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Users/detoxer/dev/ide/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] VS Code (version 1.73.1)
    • VS Code at /Users/detoxer/dev/ide/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available)
    • Smartly's iPhone (mobile) • c6684fab9044c7008a2dc189294953a7a06d0509 • ios            • iOS 14.7.1 18G82
    • iPhone 14 Pro (mobile)    • 8BFD8725-EF0B-4B05-97EC-7C810DCD7B6A     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)           • macos                                    • darwin-arm64   • macOS 13.2.1 22D68 darwin-arm64
    • Chrome (web)              • chrome                                   • web-javascript • Google Chrome 110.0.5481.177

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.19.3
Flutter SDK 3.7.6
lyselib 0.0.1

dependencies:
- animated_toggle_switch 0.6.1 [flutter]
- cupertino_icons 1.0.5
- custom_sliding_segmented_control 1.7.4 [flutter]
- device_info_plus 8.1.0 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta win32]
- dio 5.0.1 [http_parser meta path]
- dots_indicator 2.1.0 [flutter]
- firebase_analytics 10.1.4 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_core 2.7.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 3.0.15 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_messaging 14.2.5 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- flutter 0.0.0 [characters collection js material_color_utilities meta vector_math sky_engine]
- flutter_animate 4.1.0 [flutter]
- flutter_bloc 8.1.2 [flutter bloc provider]
- flutter_html 3.0.0-alpha.6 [html csslib collection numerus flutter]
- flutter_local_notifications 13.0.0 [clock flutter flutter_local_notifications_linux flutter_local_notifications_platform_interface timezone]
- flutter_localizations 0.0.0 [flutter intl characters clock collection js material_color_utilities meta path vector_math]
- flutter_secure_storage 8.0.0 [flutter flutter_secure_storage_linux flutter_secure_storage_macos flutter_secure_storage_platform_interface flutter_secure_storage_web flutter_secure_storage_windows meta]
- flutter_svg 2.0.2 [flutter vector_graphics vector_graphics_codec vector_graphics_compiler]
- google_api_availability 3.0.1 [flutter meta]
- intl 0.17.0 [clock path]
- lottie 2.2.0 [archive flutter path vector_math]
- package_info_plus 3.0.3 [ffi flutter flutter_web_plugins http meta path package_info_plus_platform_interface win32]
- path_provider 2.0.13 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows]
- pull_to_refresh_flutter3 2.0.1 [flutter]
- rxdart 0.27.7
- share_plus 6.3.1 [cross_file meta mime flutter flutter_web_plugins share_plus_platform_interface file url_launcher_web url_launcher_windows url_launcher_linux url_launcher_platform_interface ffi win32]
- shared_preferences 2.0.18 [flutter shared_preferences_android shared_preferences_foundation shared_preferences_linux shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- shimmer 2.0.0 [flutter]
- syncfusion_flutter_charts 20.4.52 [flutter intl vector_math syncfusion_flutter_core]
- syncfusion_flutter_gauges 20.4.52 [flutter syncfusion_flutter_core intl]
- syncfusion_flutter_pdfviewer 20.4.52 [flutter vector_math async http uuid intl syncfusion_pdfviewer_platform_interface syncfusion_pdfviewer_web syncfusion_pdfviewer_macos syncfusion_pdfviewer_windows syncfusion_flutter_core syncfusion_flutter_pdf url_launcher]
- synchronized 3.0.1
- transparent_image 2.0.1
- url_launcher 6.1.10 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- web_socket_channel 2.3.0 [async crypto stream_channel]
- webview_flutter 4.0.5 [flutter webview_flutter_android webview_flutter_platform_interface webview_flutter_wkwebview]

dev dependencies:
- flutter_lints 2.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection js matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]

transitive dependencies:
- _flutterfire_internals 1.0.16 [collection firebase_core firebase_core_platform_interface flutter meta]
- archive 3.3.6 [crypto path pointycastle]
- args 2.4.0
- async 2.10.0 [collection meta]
- bloc 8.1.1 [meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- characters 1.2.1
- clock 1.1.1
- collection 1.17.0
- convert 3.1.1 [typed_data]
- cross_file 0.3.3+4 [js meta]
- crypto 3.0.2 [typed_data]
- csslib 0.17.2 [source_span]
- dbus 0.7.8 [args ffi meta xml]
- device_info_plus_platform_interface 7.0.0 [flutter meta plugin_platform_interface]
- fake_async 1.3.1 [clock collection]
- ffi 2.0.1
- file 6.1.4 [meta path]
- firebase_analytics_platform_interface 3.3.21 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.5.1+12 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_core_platform_interface 4.5.3 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.2.1 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.3.15 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 4.2.14 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 3.2.15 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- flutter_local_notifications_linux 3.0.0+1 [dbus ffi flutter flutter_local_notifications_platform_interface path xdg_directories]
- flutter_local_notifications_platform_interface 6.0.0 [flutter plugin_platform_interface]
- flutter_secure_storage_linux 1.1.3 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_macos 3.0.0 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_platform_interface 1.0.1 [flutter plugin_platform_interface]
- flutter_secure_storage_web 1.1.1 [flutter flutter_secure_storage_platform_interface flutter_web_plugins js]
- flutter_secure_storage_windows 2.0.0 [flutter flutter_secure_storage_platform_interface]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- html 0.15.1 [csslib source_span]
- http 0.13.5 [async http_parser meta path]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- js 0.6.5 [meta]
- lints 2.0.1
- matcher 0.12.13 [meta stack_trace]
- material_color_utilities 0.2.0
- meta 1.8.0
- mime 1.0.4
- nested 1.0.0 [flutter]
- numerus 2.0.0 [characters]
- package_info_plus_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- path 1.8.2
- path_parsing 1.0.1 [vector_math meta]
- path_provider_android 2.0.23 [flutter path_provider_platform_interface]
- path_provider_foundation 2.1.2 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.9 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.0.6 [flutter platform plugin_platform_interface]
- path_provider_windows 2.1.4 [ffi flutter path path_provider_platform_interface win32]
- petitparser 5.1.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.4 [meta]
- pointycastle 3.6.2 [collection convert js]
- process 4.2.4 [file path platform]
- provider 6.0.5 [collection flutter nested]
- share_plus_platform_interface 3.2.0 [cross_file flutter meta mime plugin_platform_interface path_provider uuid]
- shared_preferences_android 2.0.16 [flutter shared_preferences_platform_interface]
- shared_preferences_foundation 2.1.4 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.1.4 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.1.1 [flutter plugin_platform_interface]
- shared_preferences_web 2.0.5 [flutter flutter_web_plugins shared_preferences_platform_interface]
- shared_preferences_windows 2.1.4 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- sky_engine 0.0.99
- source_span 1.9.1 [collection path term_glyph]
- stack_trace 1.11.0 [path]
- stream_channel 2.1.1 [async]
- string_scanner 1.2.0 [source_span]
- syncfusion_flutter_core 20.4.52 [vector_math flutter]
- syncfusion_flutter_pdf 20.4.52 [flutter intl xml syncfusion_flutter_core crypto convert]
- syncfusion_pdfviewer_macos 20.4.52 [flutter syncfusion_pdfviewer_platform_interface]
- syncfusion_pdfviewer_platform_interface 20.4.52 [flutter plugin_platform_interface]
- syncfusion_pdfviewer_web 20.4.52 [flutter flutter_web_plugins js meta syncfusion_pdfviewer_platform_interface]
- syncfusion_pdfviewer_windows 20.4.52 [flutter]
- term_glyph 1.2.1
- test_api 0.4.16 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timezone 0.9.1 [path]
- typed_data 1.3.1 [collection]
- url_launcher_android 6.0.24 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.1.1 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.3 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.3 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.1.2 [flutter plugin_platform_interface]
- url_launcher_web 2.0.15 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.4 [flutter url_launcher_platform_interface]
- uuid 3.0.7 [crypto]
- vector_graphics 1.1.0 [flutter vector_graphics_codec]
- vector_graphics_codec 1.1.0
- vector_graphics_compiler 1.1.0 [args meta path_parsing xml vector_graphics_codec]
- vector_math 2.1.4
- webview_flutter_android 3.3.1 [flutter webview_flutter_platform_interface]
- webview_flutter_platform_interface 2.0.2 [flutter meta plugin_platform_interface]
- webview_flutter_wkwebview 3.1.1 [flutter path webview_flutter_platform_interface]
- win32 3.1.3 [ffi]
- xdg_directories 0.2.0+3 [meta path process]
- xml 6.2.2 [co

Thanks for the report @DeToxer

1  flutter_secure_storage         0x8b40 $s22flutter_secure_storage31SwiftFlutterSecureStoragePluginC8register4withySo0eH9Registrar_p_tFZ + 108
2  flutter_secure_storage         0x8d30 $s22flutter_secure_storage31SwiftFlutterSecureStoragePluginC8register4withySo0eH9Registrar_p_tFZTo + 56
3  flutter_secure_storage         0x4e98 +[FlutterSecureStoragePlugin registerWithRegistrar:] + 72

This as you mentioned points to third party package.

and the crash still occurs with a slightly different stack trace.

Can you provide the stacktrace ?

2. Follow this installation guide in order to set up Firebase cloud messaging so that it is ready for receiving notifications.

This link is archived and no more updated. The new home for flutterfire plugins is https://firebase.google.com/docs/flutter/setup?platform=ios, so please try to follow the instructions as mentioned here to add firebase_messaging on iOS and see if using it, you still get the same crash or not.

Can you provide the stacktrace ?

Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000
Crashed: com.apple.main-thread
0  ???                            0x197a51b90 (Missing)
1  ???                            0x105340b40 (Missing)
2  ???                            0x105340b40 (Missing)
3  ???                            0x105340d30 (Missing)
4  ???                            0x10533ce98 (Missing)
5  Runner                         0x51c8 +[GeneratedPluginRegistrant registerWithRegistry:] + 108 (GeneratedPluginRegistrant.m:108)
6  Runner                         0x546c AppDelegate.application(_:didFinishLaunchingWithOptions:) + 10 (AppDelegate.swift:10)
7  Runner                         0x5734 @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) (<compiler-generated>)
8  ???                            0x1966607b0 (Missing)
9  ???                            0x196662150 (Missing)
10 ???                            0x196667f24 (Missing)
11 ???                            0x195d3a8c0 (Missing)
12 ???                            0x19625f2c8 (Missing)
13 ???                            0x195d3b3a8 (Missing)
14 ???                            0x195d3adfc (Missing)
15 ???                            0x195d3b1d4 (Missing)
16 ???                            0x195d3aa90 (Missing)
17 ???                            0x195d4272c (Missing)
18 ???                            0x19617938c (Missing)
19 ???                            0x196277184 (Missing)
20 ???                            0x195d42420 (Missing)
21 ???                            0x195b81ae4 (Missing)
22 ???                            0x195b80590 (Missing)
23 ???                            0x195b81730 (Missing)
24 ???                            0x1966660fc (Missing)
25 ???                            0x19619fa84 (Missing)
26 ???                            0x1a2899d00 (Missing)
27 ???                            0x1a28c14fc (Missing)
28 ???                            0x1a28a7420 (Missing)
29 ???                            0x1a28c1214 (Missing)
30 ???                            0x1939f7298 (Missing)
31 ???                            0x19399c5b8 (Missing)
32 ???                            0x1a28e5e04 (Missing)
33 ???                            0x1a28e5acc (Missing)
34 ???                            0x1a28e5fa0 (Missing)
35 ???                            0x193d3e8a8 (Missing)
36 ???                            0x193d3e7a8 (Missing)
37 ???                            0x193d3dafc (Missing)
38 ???                            0x193d38018 (Missing)
39 ???                            0x193d377d0 (Missing)
40 ???                            0x1aa479570 (Missing)
41 ???                            0x1966642d0 (Missing)
42 ???                            0x19666984c (Missing)
43 Runner                         0x58ac main + 5 (AppDelegate.swift:5)
44 ???                            0x193a16140 (Missing)

This link is archived and no more updated. The new home for flutterfire plugins is https://firebase.google.com/docs/flutter/setup?platform=ios, so please try to follow the instructions as mentioned here to add firebase_messaging on iOS and see if using it, you still get the same crash or not.
I followed the instructions -> same outcome unfortunately

@darshankawar I've had a development in this case. Turns out the crash is due to something completely different.
I'm installing the app on a physical device which works fine. When i terminate the app and click the launcher icon, the same thing happens -> crash. This happens regardless for weather or not firebase packages are added to the app or not. I literally removed all third party packages and most of the source code and fired up the app (which was just a Text widget saying "Hello world" wrapped in a MeterialApp-widget) and the same thing happened -> exact same crash.
I guess it has something to do with how debug builds are installed on physical devices via Android Studio or something.

alright thanks for this update. That means the issue is not specific to messaging plugin.
I wa actually trying to replicate the reported behavior using messaging plugin example on iPhone 6s device. Terminated the app and then sent a notification, tapped on it which leads to lost connection to device. But after going through documentation, it states that when we are terminating the app by swiping it away, we need to manually reopen it:
https://firebase.google.com/docs/cloud-messaging/flutter/receive
Based on your feedback, I'll go ahead and close it as not a plugin issue. If you disagree, write in comments and I'll reopen it.


v4l2loopback: unstable-2020-04-22 -> unstable-2021-07-13, add bin output with utils

Motivation for this change
Now we can use v4l2loopback-ctl
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

@fortuneteller2k

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 134311 run on x86_64-linux 1

4 packages marked as broken and skipped:

linuxPackages-libre.v4l2loopback
linuxPackages_hardkernel_4_14.v4l2loopback
linuxPackages_hardkernel_latest.v4l2loopback
linuxPackages_latest-libre.v4l2loopback

12 packages built:

linuxPackages.v4l2loopback (linuxPackages_5_10.v4l2loopback)
linuxPackages_4_14.v4l2loopback
linuxPackages_4_19.v4l2loopback
linuxPackages_4_4.v4l2loopback
linuxPackages_4_9.v4l2loopback
linuxPackages_5_13.v4l2loopback (linuxPackages_latest.v4l2loopback)
linuxPackages_5_4.v4l2loopback
linuxPackages_hardened.v4l2loopback (linuxPackages_latest_hardened.v4l2loopback)
linuxPackages_lqx.v4l2loopback
linuxPackages_testing_bcachefs.v4l2loopback
linuxPackages_xanmod.v4l2loopback
linuxPackages_zen.v4l2loopback

I believe this has broken v4l2loopback, the output folder now only includes a bin folder with the v4l2loopback-ctl binary but no kernel module.

Suggest instead to not modify outputs and add
postInstall = ''
  make install-utils PREFIX=$out
'';

@frogamic then you will have the executable in /run/current-system/kernel-modules.

Maybe I am doing something wrong, but when I try to install the v4l2loopback kernel module as shown in the examples I could find, I only have the utils binary in my kernel modules folder and no actual kernel module.
boot = {
		extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
		kernelModules = [ "v4l2loopback" ];
		extraModprobeConfig = ''
			options v4l2loopback exclusive_caps=1
		'';
	};

Try putting .out on the end of it to choose the output explicitly. Very odd. When I in my REPL check the default output it gives me the kernel library. This seems more like a big with the NixOS module for the kernel.

Ah yes, thanks that fixed it. This is going to be a breaking change for anyone who has googled "Droidcam nixos" though, I was pulling my hair out wondering why no guide was working till I found this change from 3 days ago 🙁

I fixed this.


White screen when clicking "register"

I just found this project recently and was curious to see what it's like since I'd never had the chance to play FusionFall when it was still running.
I selected a server and loaded it up, then it goes to a character creation screen where I had to sign in. Don't have an account yet, so I clicked on "register" hoping it would go to a "new account" screen, but nothing happened.
I then clicked register again and it soft crashed. :/

Same thing seems to happen when clicking "manage account"

Same thing seems to happen when clicking "manage account"

Using the 1.3 release btw.

Using the 1.3 release btw.

The register button currently doesn't function as OpenFusion uses server-specific accounts (please see the README on the main GitHub page). Whenever you want to make a new account, you just login with the username and password that you would like to use, and enter those same details in every time you want to use that account.
If you have more questions, make sure you read the README and FAQ on our Discord, and if you're still stuck, we have a tech support channel on there as well.

The register button currently doesn't function as OpenFusion uses server-specific accounts (please see the README on the main GitHub page). Whenever you want to make a new account, you just login with the username and password that you would like to use, and enter those same details in every time you want to use that account.
If you have more questions, make sure you read the README and FAQ on our Discord, and if you're still stuck, we have a tech support channel on there as well.


Request to use your tutorial in a course

Hi Will
Thank you very much for your very well written tutorial Hello Arty - Part 1. I don't usually do this, but I would like to go ahead and use your tutorial - as is - in my digital electronics class next week. I love you how you explain all the steps and the terminology so that it can be easily understood by almost anyone; I am sure my freshmen EE students will get a lot more out of following your tutorial than anything I can put together. But, I would like to have your permission first. Of course, I will let the students know who wrote this tutorial as I plan on just giving them the link to your page. Please let me know if you approve. Best and Thanks again! There's a lot out there and no one breaks it down like you did :-)

Hello,
Thank you for your kind words.
I don't mind you using Hello Arty - Part 1 as part of your course, provided it's for a single institution and you're not repackaging my content to sell online. It would be good to know where you're teaching.
I plan to make the third, and final, part of Hello Arty available later in the spring.
If you, or your students, have any suggestions or improvements please feel free to open issues on GitHub.
Best wishes,
Will

Hi Will - definitely just for one class this semester. I learned digital electronics in the early 80s, so I am pretty weak with HDL! I am teaching at Benedictine College. I broke my leg this semester, so class preparation was severely hampered. Therefore, I was so grateful when I came across your tutorial and realized my freshmen could easily follow it. They did great with all 6 groups completing in 1 lab period. It was definitely a great springboard because they said they feel prepared to move on with their own designs. So again Thanks so much!!

Oh and of course I will pass it on if they have any suggestions!

Thanks for sharing and best wishes for your course.


TF-M v2.0.0 upmerge

@SebastianBoe can you please take a look?

will do

I see we revert some commits before the merge, but we don't re-apply them.
May I ask why they are not reapplied?

I see we revert some commits before the merge, but we don't re-apply them.
May I ask why they are not reapplied?

I guess because they were cherry-picked before? but let me know which commits you mean.


docker.run(...).then is not a function

I was attempting to use docker.run with the example on the readme returning a promise.  Using this code, which is a virtual cut and paste of the documentation I simply get the error "docker.run(...).then is not a function".
docker.run(MyImage, [], process.stdout).then(function(container) {
console.log(container.output.StatusCode);
return container.remove();
}).then(function(data) {
console.log('container removed');
}).catch(function(err) {
console.log(err);
});
Can you advise? Apologies if I am missing something simple.

If you installed from npm, it is expected :)
The version that is in the master branch is yet to be published onto NPM, will probably publish it tonight.

Just published v2.3.3 which features the promise interface :)

thanks :-)


Highlight Matching color is too similar to line highlight

Basically, you cant see matching tags. See screenshot below:

compared to say, dracula-soft

Hey @Niichie ,
Thanks for reporting 👍 . I'm sorry, but I can't understand exactly what you're saying. If you could give a little more detail about the issue, that'd be great.

The color that you have set for the bracket matching (when the opening and closing tag are highlighted) is almost invisible with this theme.
This theme:

Dracula:

As you see, in dracula the highlight for the 2 div tags is very visible. In your theme the 2 highlights are basically invisible because the color matches the background too much.

Thanks @Niichie ,
I'll consider that in the next release v1.0.11.

Hi @whizkydee, thanks for the awesome theme!
I was about to make the same suggestion but came across this one.
Can you pls make the selection highlight a bit different (maybe darker or less transparent).

as you can see it's a bit hard to spot similar words thought they're 'highlighted' due to the very transparent highlighting (i guess).
Cheers,

Awesome @mustafawm ,
Thanks. I'll check that out soon and take action in a moment. Please be patient.

Also @mustafawm ,
Which of the highlights are you talking about?

Hello @whizkydee, after using the theme for the past few days it still seems like the bracket matching color is a touch too dark. It needs more contrast to be easily identifiable quickly!

Alright @Niichie,
Contributions are wide open. Feel free to contribute to the repo.


docs: Replace cluster autoscaler/node termination handler example with Karpenter

Description

Replace cluster autoscaler/node termination handler example with Karpenter

Motivation and Context

Karpenter handles what cluster autoscaler and node termination previously provided and is a more modern, K8 native scaling solution. The example is updated to show users how to setup Karpenter on clusters created by this module as well as the IAM IRSA module

Breaking Changes

No

How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

This PR is included in version 18.20.0 :tada:

https://github.com/aws/karpenter/issues/702#issuecomment-1104258323
This suggests that Karpenter does yet deal with Spot instance termination, so it is not yet a full replacement for NTH.


feat: Rademacher theorem

We prove Rademacher theorem, stating that a Lipschitz function between finite-dimensional real vector spaces is differentiable almost everywhere.

[x] depends on: #6903
[x] depends on: #6979
[x] depends on: #7004
[x] depends on: #7005
[x] depends on: #7006
[x] depends on: #7038
[x] depends on: #7055
[x] depends on: #7252

Thanks!
bors d+

I have streamlined the Fubini argument, by using instead a general argument done in #7252. It's not clear to me that the bors d+ by @urkud still applies, so I am putting this back to awaiting-review.

Thanks!
bors r+

bors retry


Bot is impersonal - Please add some personality

The bot right now is fine, but it really lacks a cool accent and personality. Can we build a framework to build personality-based bots like:

Mr. Belvedere from Mr. Belvedere
Geoffrey from Fresh Prince of Bel Air
Mrs. Garrett from Facts of Life
Tony Macelli from Who's the Boss
VICI from Small Wonder
Benson from Benson
Charles from Charles in Charge

Worst. Idea. Ever.

Worst. Idea. Ever.

Worst. Idea. Ever.


"No protocols available" on Ubuntu 20.04

I received the above error message using LuaIRC with the Minetest IRC mod. Because I am only able to configure secure as a boolean true and not with a table specifying protocol I have come up with this small change to LuaIRC which I think benefits many users and leaves no users disadvantaged.
tlsv1 and tlsv1_1 are insecure, deprecated and no longer available on Ubuntu as of 20.04 so hardcoding tlsv1 as a default is a bad idea. This pull request fixes the problem by not specifying the protocol version. LuaIRC will now use the highest TLS version available. Using protocol = "any" is also used in the client example for Luasec at https://github.com/brunoos/luasec/wiki . Luasec itself changed from "tlsv1" to "any" in version 0.6 as the default for https connections.
To diagnose the problem, I used openssl to check what protocols were available. TLSv1 and TLSv1.1 worked on MacOS 10.14 but not on Ubuntu 20.04 as can be seen by the failure of these commands on Ubuntu.
openssl s_client -connect chat.freenode.net:6697 -tls1
openssl s_client -connect chat.freenode.net:6697 -tls1_1

TLSv1.2 and TLSv1.3 worked on both MacOS 10.14 and Ubuntu 20.04 as can be seen by the success of these commands.
openssl s_client -connect chat.freenode.net:6697 -tls1_2
openssl s_client -connect chat.freenode.net:6697 -tls1_3

Deprecating TLSv1 and TLSv1.1 is recommended by this IETF RFC https://datatracker.ietf.org/doc/draft-ietf-tls-oldversions-deprecate/ . The RFC also recommends that clients specify their highest supported protocol.

Please review this pull request. I know other people are finding a requirement for this change.


[Validator] validate named parameters

Currently it is not possible to validate named (path) parameters using the validator middleware.
Something similar to:
app.get(
	"/user/:id/posts/:page",
	validator((v) => ({
		v.param("id").asNumber(),
		v.param("page").asNumber()
	}),
	async (c) => ...
)

There are a few questions I think (for example how would isRequiered function), but overall this should greatly help the route's readability.
I could give a shot at making a PR if this is something that is possible/needed

Hi @Tc-001 !
Thank you for creating the issue.
I thought the same thing about validating named path parameters. But, after considering it, it's enough to capture path parameters with regexp.
app.get('/users/:id{[0-9]+}/posts/:page{[0-9]+}', (c) => {
  const { id, page } = c.req.param()
  ...
})

How do you feel about this?

Wow, I did not know that was possible.
That is definetly enough for my usecase, and I can't really see anything more advanced being necessary.
So ye, unless there is a usecase I haven't thought about this issue can be closed :+1:

Okay! I'll close this issue. Thank you!


Add GenericPackagesServices (#1100)

This PR continues the work in #1101, rebasing it to master, updating its interface (returning download URL), and some real-world testing (fixed the URL endpoint and request type).

@svanharmelen  any chance for merging this?

Thanks for working on it @neomantra! Hope this gets merged soon to unblock the goreleaser fix.

I just rebased this branch onto latest master and resolved the minor conflicts.

I'll have a look at this one tomorrow!

Thanks for the review and improvements.  I'm adding select and am testing this end-to-end  with goreleaser patches.

Please confirm if this solution works for you so I can go ahead and merge it. Thanks!

Thanks for the review and update.   It's pretty convenient to have that GetGenericPackageURL function as the end-user needs to know the URL structure, which gitlab-go already knows as it needs it too; they must also include a function like pathEscape.   I also note that the select result of GenericPackagesFile.File.URL is not the same URL as GetGenericPackageURL but some AWS S3 URL (at least for gitlab.com).
But I also appreciate a purist approach to the library.  I tested the latest against an updated goreleaser and it works.  I also tested the select function and it works.  Thanks again for the attention to this issue.

Hmm... Well OK then add your latest commit back so we can include that one after all...

OK, I added it back.  I changed the verb from Get to Format... FormatPackageURL .. to prevent confusion with the common Get* Gitlab API operations and documented that it doesn't make an API call.  I'm fine with another verb, but changed it given your feedback.

Nice, I can appreciate that one! Now if you can only swap the PublishPackageFileOptions and the FormatPackageURL method so that PublishPackageFileOptions is just above the method that uses it, I think we are good to go!


test(e2e): switch to westus3 for e2e

Fixes #
Description
We've been experiencing some allocation issues within the current testing regions.
Did some testing to find a new region, which westus3 seems to be rather well suited for our needs, so switching the testing pipeline there.
How was this change tested?
Ran the E2E pipeline for westus3:
https://github.com/Azure/karpenter-provider-azure/actions/runs/9964029669/job/27531436071
While not all successful, did a sanity check within the subscription on quota, and public doc support for multi-zone region, and this appears to be a good region change:
https://learn.microsoft.com/en-us/azure/reliability/availability-zones-service-support
*
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

Release Note

NONE

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
36287

Relevant Lines:
37139

💛  - Coveralls


chore(main): release 0.1.0

:robot: I have created a release beep boop
0.1.0 (2023-06-09)
Features

add 3m-ser model (df0c507)
add version v0.1.0 (9ea3762)

Documentation

add abstract (21ca06d)
add citation, references section (e68f5ff)
add LICENSE (a3ca361)
draft readme.md (ee6e568)
refactor title (3b05efb)
update readme, repo settings (7c47bf6)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/namphuongtran9196/3m-ser/releases/tag/v0.1.0 :sunflower:


clickjacking

Description
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
Added new ClickJacking Scripts with readme.md.Clickjacking (classified as a user interface redress attack or UI redressing) is a malicious technique of tricking a user into clicking on something different from what the user perceives, thus potentially revealing confidential information or allowing others to take control of their computer while clicking on seemingly innocuous objects, including web pages.
Fixes #239
Replace issue_no with the issue number which is fixed in this PR
Have you read the Contributing Guidelines on Pull Requests?

[x] Yes
[ ] No

Type of change
Please delete options that are not relevant.

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

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I've edited the SCRIPTS.md and link to my code.
[x] I have created a helpful and easy to understand README.md
[x] My documentation follows Template for README.md
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

@avinashkranjan  plz check PR #242  issue and #239

@omazoz  plz review it .It has been more 15 days now..

@omazoz  plz check PR https://github.com/avinashkranjan/Pentesting-and-Hacking-Scripts/pull/242 issue and https://github.com/avinashkranjan/Pentesting-and-Hacking-Scripts/issues/239 under GSSOC'23


Feature Request: TM DB Import/Export

I found that the TM DB was stored in my [User Home Dir]\AppData\Roaming\Poedit\TranslationMemory, I am requesting a feature to import/export that into a packaged file so that users can do back-ups or sharing among their team members.
Thank you very much.

I am requesting a feature

You are always welcome to implement it and submit a PR…
The TM consists of files, you can backup or copy it perfectly fine.


Fix short circuiting quitelite

Pull Request Test Coverage Report for Build 2559

0 of 12 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 22.499%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmd/titus-executor/main.go
0
12
0.0%

Totals

Change from base Build 2554:
-0.02%

Covered Lines:
2483

Relevant Lines:
11036

💛  - Coveralls

@sargun - Changes look fine.  What will this be used for?

@rgulewich To run Titus in OSS


Cannot create database file under Heroku

Every single time I try to create connection with Heroku's JawsDB MySQL Databse, I get the database error.
Your database connection file was either not found, or it was found, and the database failed to connect. If you have not made a database connection file yet, do so by visiting the connection creator. You may check the status of your database connection by visiting the connection page.

On my local machine, I can setup the database connection with the JawsDB no problem.

Hi, this is probably due to a permissions error. Please check your chmod on your conf/database/connection.json file and make sure the PHP Filesystem helper can access this file. You will also run into problems with newly created computers too if you don't set the helper to create folder permissions at a level of which can be read.

The problem is that Heroku's filesystems are temporary in nature. Each reboot of the Dyno (container) will erase the filesystem and re-deploy from the Git repo that was pushed into, I tried to configure the DB connection localy, and it worked without any problems, but once I deployed it with the file (I did modify the gitignore file to allow that), I got a redirect loop.

Could you please tell me which redirect loop you are getting? Please look inside your conf/errorlog.json

Wait a sec, have to re-fork and reconfigure.

By the way, why don't you include the htaccess file with the rest of the files?

We don't include .htaccess for those people who host on Ngnix instead ( like us )

Are you saying that the htaccess is not needed on Nginx? (Because if so, I could just switch it up on Heroku)

.htaccess to my idea does nothing on Nginx since .htaccess is an apache2 config, you will need to set up rewriting your self with nginx ( our sysadmin has a tutorial he hasn't finished yet )

Huh, alright. I think my webhost is running on Nginx, and they support htaccess no problem. Maybe some stuff added on so Nginx supports apache config files?

There's no errorlog.json under conf...

Usually means there is a problem with the file permissions.

The problem is that whenever I try to SSH into the app, a new Dyno gets started up from the git, and therefore, any logs that may be under the public-facing Dyno, are unaccessible to me that way.

Hmm, there might be a way to do it in the configuration file.

I can override settings for PHP and apache/nginx (currently running apache).

But I cannot do anything about the ephemeral filesystem.

Ah, do they have php 7.1 available?

Yes, it's running the latest PHP by default.

I've seen this before, usually because it's php7.0

Nope, It's PHP 7.1, was even making sure it was that.

-----> PHP app detected

 !     WARNING: Your 'composer.json' contains a non-'stable' setting

       for 'minimum-stability'. This may cause the installation of

       unstable versions of runtimes and extensions during this deploy.

       It is recommended that you always use stability flags instead,

       even if you have 'prefer-stable' enabled. For more information,

       see https://getcomposer.org/doc/01-basic-usage.md#stability

-----> Bootstrapping...

-----> Installing platform packages...

       - php (7.1.3)

       - ext-mbstring (bundled with php)

       - apache (2.4.20)

       - nginx (1.8.1)

-----> Installing dependencies...

       Composer version 1.4.1 2017-03-10 09:29:45

       Loading composer repositories with package information

       Installing dependencies from lock file

       Package operations: 12 installs, 0 updates, 0 removals

         - Installing facebook/graph-sdk (5.5.0): Loading from cache

         - Installing symfony/polyfill-mbstring (v1.3.0): Loading from cache

         - Installing symfony/translation (v3.3.0-BETA1): Loading from cache

         - Installing nesbot/carbon (1.22.1): Loading from cache

         - Installing paragonie/random_compat (v2.0.10): Loading from cache

         - Installing illuminate/contracts (v5.4.19): Loading from cache

         - Installing doctrine/inflector (v1.1.0): Loading from cache

         - Installing illuminate/support (v5.4.19): Loading from cache

         - Installing illuminate/container (v5.4.19): Loading from cache

         - Installing illuminate/database (v5.4.19): Loading from cache

         - Installing mashape/unirest-php (v3.0.4): Loading from cache

         - Installing mikecao/flight (v1.3.2): Loading from cache

       Generating optimized autoload files

-----> Preparing runtime environment...

       NOTICE: No Procfile, using 'web: heroku-php-apache2'.

-----> Checking for additional extensions to install...

-----> Discovering process types

       Procfile declares types -> web

-----> Compressing...

       Done: 19.4M

-----> Launching...

       Released v11

       https://syscrack2017.herokuapp.com/ deployed to Heroku

Can you edit the NGINX config? You need to allow for flight.

For Nginx, add the following to your server declaration:

server {
    location / {
        try_files $uri $uri/ /index.php;
    }
}

I'm currently running under Apache. It installs both, but uses Apache by default.

And the .htaccess file is there.

Then in .htaccess you will need to add RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php [QSA,L]

The file is there, and it's configured properly.

Can you cat it?

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]

<IfModule mod_mime.c>
 AddType application/x-javascript .js
 AddType text/css .css
</IfModule>
<IfModule mod_deflate.c>
 AddOutputFilterByType DEFLATE text/css application/x-javascript text/x-component text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/javascript
 <IfModule mod_setenvif.c>
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4\.0[678] no-gzip
  BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
 </IfModule>
 <IfModule mod_headers.c>
  Header append Vary User-Agent env=!dont-vary
 </IfModule>
</IfModule>

Honestly, if I'd be better at PHP than I am, I'd probably try to create a Heroku fork that would access a DB based on an env var that heroku stores the info in and move all game data write and read operations from the filesystem to the DB (since DBs can actually handle multiple requests at once a lot better, and syncing filesystems the way heroku would require would just be a lot harder than just using DB)

Well, thankfully 99.9% of the framework uses the FileSystem class so it would be very easy to change the methods of which are executed when the functions in these classes are called.

Honestly, it would probably be a lot easier to try and run this on openshift, so that's what I'm gonna do right now. Wish me luck.

So, I'm gonna close this issue, since running this on Heroku is out of question unless there is some persistent storage addon, which I am yet to find.


write up a document on forking/upstreaming changes to charts

This action item came out of the sig-apps meeting. Basically we want to spell out how if someone has made a change to a chart or to the application image itself (such as a redis proxy), how they can contribute that change back to the chart itself.
I'm fairly certain that this topic was brought up by @dhilipsiva at the meeting. If it was, would you mind elaborating more on what you'd like to see from this document?

Hey @bacongobbler, Apologies - I do not remember bringing up this point. I think this is someone else. 😛
But I would very much love to have this Doc. It wasnt very straight forward when I wanted to my own charts in the past (Needed to add a minio chart).

I know I am really, really late to weigh in on this, but I believe this issue should be filed on Kubernetes Charts instead of here.

this has been documented at https://github.com/kubernetes/charts.


Error: Too Many requests

Hi,
I have this error:
deepl translate -t "EN" "Salut"
Unexpected error when parsing deepl split sentence response: {"jsonrpc":"2.0","error":{"code":1042912,"message":"Too many requests."}}
Seems the project is broken ?
Thx.

I presume DeepL changed their API. Funnily enough I get an equivalent error with deeplator:
urllib.error.HTTPError: HTTP Error 429: Too many Requests

Funnily enough I get an equivalent error with deeplator:

Related-to: https://github.com/uinput/deeplator/issues/12

deeplator also has the Too many requests problem

Repository no longer maintained


Add support for reserving rack space

Currently, space within a rack can only be either unoccupied or occupied (having been consumed by a device). It would be helpful to allow users to reserve arbitrary swaths of rack space with a comment indicating its intended use. This could also be used to designate unallocated rack space (for instance, because the rack has been damaged).

Think this would be a great feature, as working for an MSP we want to be able to reserve racks/rack space for potential customers.

I think this feature should be worked on sooner than some of the other "issues" raised.
Support for rack space reservation will enable blanking and adding of future network provisions in rack or in dedicated network racks.


Use 1st-party cookie for server->client

Current dependencies on/for this PR:

main

PR #20

PR #21

PR #22

PR #23

PR #24

PR #25   👈

This comment was auto-generated by Graphite.


Tools and resources broken link

Open https://accessibility-manual.dwp.gov.uk
Click "Tools and resources" (https://accessibility-manual.dwp.gov.uk/tools-and-resources)
Page not found

Thanks for letting me know. The Accessibility Manual was handed over to me yesterday and it looks like something went wrong. We'll try to get it fixed as soon as possible.

Hi @jpmckinney there were some teething issues when handing over all of the permissions and responsibilities as today is my last day!
I've pushed a fix, everything should be back up and running now. The codebase is no longer maintained in GitHub as part of the handover process, so you won't see it in the commits unfortunately. But if you go online everything should be working again.
Thanks,
Craig

Thank you!


build(oxygen): add-on v2.2.1

This pull request publishes the latest master via Oxygen add-on channel.
I tested this change on Oxygen 23.1 build<PHONE_NUMBER> using https://github.com/AirQuick/xspec/raw/oxy-addon_2-2-1/oxygen-addon.xml.

I tested this change on Oxygen 23.1 build<PHONE_NUMBER> using https://github.com/AirQuick/xspec/raw/oxy-addon_2-2-1/oxygen-addon.xml.

Tested again with the recent commits.

I'm merging this, and directly I will verify the add-on online.

I'm merging this, and directly I will verify the add-on online.

Done. The upgrade from v2.2.0 was offered and v2.2.1 is working fine on Oxygen 23.1 build<PHONE_NUMBER>.


margin collapse is not handled

...

...

if margins of h2 and p are collapsed, scrollToFixed applied to h2 will not behaves well.

There are two problems in margin collapse:

content below target is jumped (because margins of target are not applied in spacer)
target is jumped (because margins are no longer collapsed now)

I use the following code to solve the first problem (in setFixed()):
                spacer.css({
                    'display' : target.css('display'),
                    'width' : dimensions.width,
                    'height' : dimensions.height,
                    'margin-top' : target.css('margin-top'),   // add margin-top back
                    'margin-bottom' : target.css('margin-bottom'),  // add margin-bottom back
                    'float' : target.css('float')
                });

however for the second problem I do not have easy workarounds now.

Do you have an example I can look at? Perhaps I can have a look at your website so I can see the issue. Thanks!


Inconsistency in PublishArtifactNotationParserFactory output and behavior resp. lazy and eager APIs

Expected Behavior
Behavior matches between lazy and eager usage
and between output and behavior.
Current Behavior
Behavior differs
Steps to Reproduce
Put
val foo by configurations.creating
val fooTask by tasks.creating(Sync::class)
artifacts { add(foo.name, fooTask) }

to a build script and execute the help task.
You get a complaint reading
Cannot convert the provided notation to an object of type ConfigurablePublishArtifact: task ':fooTask'.
The following types/formats are supported:
  - Instances of ConfigurablePublishArtifact.
  - Instances of PublishArtifact.
  - Instances of AbstractArchiveTask, for example jar.
  - Instances of Provider<RegularFile>.
  - Instances of Provider<Directory>.
  - Instances of Provider<File>.
  - Instances of RegularFile.
  - Instances of Directory.
  - Instances of File.
  - Maps with 'file' key

Now just change tasks.creating to tasks.registering and execute the help task again.
Now the complaint vanished and it also works exactly as one would expect.
The FileProviderNotationConverter does not state it in its output, but it actually also supports

Provider<AbstractArchiveTask>
Providers of tasks that have exactly one output file (like Sync where the destination directory is the one output file)
Providers of anything Project.file can handle

So at least the error message should be updated to mention the missing Provider variants that are supported,
and if possible, the eager variants should also accept the values the lazy variant is accepting.
Gradle version
8.1.1

Thank you for providing a valid reproducer.
The issue is in the backlog of the relevant team, but this area of Gradle is currently not a focus one, so it might take a while before a fix is made.


qmlrs not building static library

Starting with a bare project I added the qmlrs requirement (0.1.1) and built it. It failed to build the static library.
I didn't install Qt5 from homebrew. Instead I symlinked it to the real location. However the pkgconfig directory and everything else is there, so it should still work.
cmake and pkg-config work.
cargo build --release -v
       Fresh pkg-config v0.3.8
       Fresh libc v0.2.9
   Compiling qmlrs v0.1.1
     Running `rustc /Users/miv/.cargo/registry/src/github.com-88ac128001ac3a9a/qmlrs-0.1.1/src/lib.rs --crate-name qmlrs --crate-type lib -C opt-level=3 -C metadata=689195b474c08d62 -C extra-filename=-689195b474c08d62 --out-dir /Users/miv/projects/qmlrstest/target/release/deps --emit=dep-info,link -L dependency=/Users/miv/projects/qmlrstest/target/release/deps -L dependency=/Users/miv/projects/qmlrstest/target/release/deps --extern libc=/Users/miv/projects/qmlrstest/target/release/deps/liblibc-d2268fc21ed63f2c.rlib --cap-lints allow -L native=/Users/miv/.cargo/registry/src/github.com-88ac128001ac3a9a/qmlrs-0.1.1/ext/libqmlrswrapper/build -L framework=/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib -L framework=/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib -L framework=/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib -L framework=/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib -L framework=/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib -l static=qmlrswrapper -l dylib=stdc++`
error: could not find native static library `qmlrswrapper`, perhaps an -L flag is missing?
Could not compile `qmlrs`.

Caused by:
  Process didn't exit successfully: `rustc /Users/miv/.cargo/registry/src/github.com-88ac128001ac3a9a/qmlrs-0.1.1/src/lib.rs --crate-name qmlrs --crate-type lib -C opt-level=3 -C metadata=689195b474c08d62 -C extra-filename=-689195b474c08d62 --out-dir /Users/miv/projects/qmlrstest/target/release/deps --emit=dep-info,link -L dependency=/Users/miv/projects/qmlrstest/target/release/deps -L dependency=/Users/miv/projects/qmlrstest/target/release/deps --extern libc=/Users/miv/projects/qmlrstest/target/release/deps/liblibc-d2268fc21ed63f2c.rlib --cap-lints allow -L native=/Users/miv/.cargo/registry/src/github.com-88ac128001ac3a9a/qmlrs-0.1.1/ext/libqmlrswrapper/build -L framework=/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib -L framework=/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib -L framework=/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib -L framework=/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib -L framework=/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib -l static=qmlrswrapper -l dylib=stdc++` (exit code: 101)

I suspect the qmlrs wrapper throws errors at build time which are not displayed. You could try building it by hand (like cd build, cmake ../, make, the usual).
My first guesses would be that you don't have the required /usr/local/opt/qt5/lib/cmake and /usr/local/opt/qt5/lib/pkg-config directories with the proper content, or the Qt version might be too old.

Yeah, it seems that cmake was failing but was returning status code 0. I will try and submit a PR later that panics if cmake prints anything on stderr.
I symlinked my qt5 directory wrong, so that was the cause of this issue. Now I've got different failures on the linking step. I'll dig into this further. Clearly my qt5 is built a little differently. (It's Qt 5.6.0).
Thanks for your help!

I'll be happy to accept a PR that panics on cmake stderr. :smile:
Let's see what other things you'll dig up.

Well, here's the next mystery. The linker command looks wrong, and then it can't find any Qt symbols:
error: aborting due to previous error
error: linking with `cc` failed: exit code: 1
note: "cc" "-m64" "-L" "/usr/local/Cellar/rust/1.7.0/lib/rustlib/x86_64-apple-darwin/lib" "/Users/miv/projects/qmlrs/target/debug/examples/factorial_string.0.o" "-o" "/Users/miv/projects/qmlrs/target/debug/examples/factorial_string" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/miv/projects/qmlrs/target/debug" "-L" "/Users/miv/projects/qmlrs/target/debug/deps" "-L" "/Users/miv/projects/qmlrs/ext/libqmlrswrapper/build" "-F" "/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib" "-F" "/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib" "-F" "/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib" "-F" "/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib" "-F" "/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib" "-L" "/usr/local/Cellar/rust/1.7.0/lib/rustlib/x86_64-apple-darwin/lib" "/Users/miv/projects/qmlrs/target/debug/libqmlrs.rlib" "/Users/miv/projects/qmlrs/target/debug/deps/liblibc-d2268fc21ed63f2c.rlib" "/usr/local/Cellar/rust/1.7.0/lib/rustlib/x86_64-apple-darwin/lib/libstd-6a154fe0.rlib" "/usr/local/Cellar/rust/1.7.0/lib/rustlib/x86_64-apple-darwin/lib/libcollections-6a154fe0.rlib" "/usr/local/Cellar/rust/1.7.0/lib/rustlib/x86_64-apple-darwin/lib/librustc_unicode-6a154fe0.rlib" "/usr/local/Cellar/rust/1.7.0/lib/rustlib/x86_64-apple-darwin/lib/librand-6a154fe0.rlib" "/usr/local/Cellar/rust/1.7.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc-6a154fe0.rlib" "/usr/local/Cellar/rust/1.7.0/lib/rustlib/x86_64-apple-darwin/lib/liballoc_jemalloc-6a154fe0.rlib" "/usr/local/Cellar/rust/1.7.0/lib/rustlib/x86_64-apple-darwin/lib/liblibc-6a154fe0.rlib" "/usr/local/Cellar/rust/1.7.0/lib/rustlib/x86_64-apple-darwin/lib/libcore-6a154fe0.rlib" "-l" "stdc++" "-l" "System" "-l" "pthread" "-l" "c" "-l" "m" "-l" "compiler-rt"
note: Undefined symbols for architecture x86_64:
  "QQmlEngine::event(QEvent*)", referenced from:
      vtable for QrsApplicationEngine in libqmlrs.rlib(qmlrswrapper_automoc.cpp.o)
  ... and every other symbol ...

The -F arguments point at the lib directory, but not at the specific frameworks inside. If I use pkg-config on the command line, I get the -framework arguments:
$ PKG_CONFIG_PATH=/usr/local/opt/qt5/lib/pkgconfig/ pkg-config --libs Qt5Gui
-F/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib -framework\ QtGui -F/Volumes/GuiEnv_v5.5.0-abl4_64/Qt5.5.0/clang_64/lib -framework\ QtCore

Where did they go in the cc command?

I eventually got this working and produced #42 in the process.
In the end I had to give up on my current build of Qt5 and installed the homebrew one instead. Something about static/dynamic/framework linking. Still not totally sure, but it's solved now.


Change UI of chatbot , About and Contributors Page

I noticed that the chatbot looks different compared to the rest of the website's user interface. I suggest making some changes to the chatbot's appearance by switching the blue color to purple. Please do assign me this issue under gssoc with the appropriate label .
user interface of each page appears to have inconsistencies, with each page having a different look and feel. This lack of uniformity is not visually appealing.

#Expected Behaviour
I can change the background color of each page to be consistent with the home and contact page.

@codervivek5 Please assign me this issue .

can you please assign me this task , you can check my shopping we site here https://github.com/Mansii8224/Ecommerece_website I can make this more attractive with beautiful UI under GSOOC .


[AIRFLOW-656] Add dag/task/date index to xcom table

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-656

Per Apache guidelines you need to create a Jira issue.
Testing Done:

Ran upgrade db locally:

INFO  [alembic.runtime.migration] Running upgrade 4addfa1236f1 -> 8504051e801b, xcom dag task indices
Done.

Current coverage is 66.64% (diff: 100%)

Merging #1907 into master will increase coverage by 0.04%

@@             master      #1907   diff @@
==========================================
  Files           136        136
  Lines         10130      10130
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6746       6751     +5
+ Misses         3384       3379     -5
  Partials          0          0

Powered by Codecov. Last update 6fb9463...bb85c43

You probably want to add the index definition to the model as well. Example here:
https://github.com/apache/incubator-airflow/blob/master/airflow/models.py#L737

@mistercrunch please have a second look

+1

This is why we need a correct foreignkey for dag runs


Address the issues in the PE-dry-run

Implement resetting of help window, resolves https://github.com/CS2103-AY1819S1-F11-2/main/issues/200
Disable addition of bookings that start before today, resolves https://github.com/CS2103-AY1819S1-F11-2/main/issues/202 and resolves https://github.com/CS2103-AY1819S1-F11-2/main/issues/198

Pull Request Test Coverage Report for Build 486

6 of 8 (75.0%)  changed or added relevant lines in 4 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.003%) to 91.288%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/address/logic/commands/AddCommand.java
2
4
50.0%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/seedu/address/model/room/booking/BookingPeriod.java
1
94.87%

src/main/java/seedu/address/model/room/booking/Booking.java
1
98.15%

Totals

Change from base Build 477:
0.003%

Covered Lines:
2871

Relevant Lines:
3145

💛  - Coveralls


Can't receive notification on IOS

I am using FCM to push notification to devices both android and IOS
every thing works like a charm with the android but the ios I cant receive a single notification
The response of the FCM is showing that notification is sent successfully :
{"multicast_id":8213058946209775655,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1496412423120826%7bbd1df4f9fd7ecd"}]}
I have made the APNs Auth key and every thing
I am using :
cordova 7.0.1
ios platform  4.4.0
phonegap-plugin-push 2.0.0-rc3
Here is a sample of my code :
> var options = {
      android: {
        senderID: "senderID"
      },
      ios: {
        alert: true,
        badge: true,
        sound: true,
        fcmSandbox: true
      },
      windows: {}
    };
PushNotification.init(options);
$cordovaPushV5.initialize(options).then(function() {
    // start listening for new notifications
      $cordovaPushV5.onNotification();
    // start listening for errors
      $cordovaPushV5.onError();
    // register to get registrationId
      $cordovaPushV5.register().then(function(registrationId) {
        Variables.setRegistration(registrationId);
      })
    });
    $rootScope.$on('$cordovaPushV5:notificationReceived', function(event, data){
        if (data.additionalData.destination) {
          if(data.additionalData.destination=="app.gifts"){
            if(Variables.getState()=='up and running'){
              ModuleLoader.update_gifts().then(function(){ $state.go(data.additionalData.destination);})
            }else {
              Variables.setDestination(data.additionalData.destination);
            }
          }
          else if(data.additionalData.destination=="app.season_parker"){
            if(Variables.getState()=='up and running'){
              ModuleLoader.update_season_parker().then(function(){ $state.go(data.additionalData.destination);})
            }else {
              Variables.setDestination(data.additionalData.destination);
            }
          }
        }
    });

Based on your snippet, I'll say you're using $cordovaPushV5, which is a very old ionic 1.x ngCordova plugin, and it is very outdated. Please see this comment for more details on issues with that and alternatives.
If you're able to re-reproduce the original issue using a more up-to-date method (this plugin's own API, or IonicNative Push module, for example), feel free post back.
Other than that, you missed the xcode logs that the issue template asks for. Please provide them so we can help you better and sooner.

Also, rc3 is not the latest, I would recommend to try rc4 or even master branch

I switched to native push module but it is the same it works on android but not with ios
Here is the new code :
 screen.lockOrientation('portrait');         var options = {           android: {              senderID: "senderID"           },           ios: {             alert: true,             badge: true,             sound: true,             fcmSandbox: true           },           windows: {}         };         var push = PushNotification.init(options);         push.on('registration', function(data) {           Variables.setRegistration(data.registrationId);         });         push.on('notification', function(data) {           if (data.additionalData.destination) {               if(data.additionalData.destination=="app.gifts"){                 if(Variables.getState()=='up and running'){                   ModuleLoader.update_gifts().then(function(){ $state.go(data.additionalData.destination);})                 }else {                   Variables.setDestination(data.additionalData.destination);                 }                    }               else if(data.additionalData.destination=="app.season_parker"){                 if(Variables.getState()=='up and running'){                   ModuleLoader.update_season_parker().then(function(){ $state.go(data.additionalData.destination);})                 }else {                   Variables.setDestination(data.additionalData.destination);                 }                  }                 }       });

I solved it,
It was not a problem with the plugin just the way I send the notification I putted the title and the body inside "data" instead of "notification"


pre-build releases

Understanding that the current implementation of the compressor(not the Photoshop plugin) is released as a VS project that we should compile ourselves I would like to know if there are plans to release prebuilt windows binaries. Even of the beta versions.
Thank you.
Vicente

What binaries? ispc_texcomp.dll ?

I'm talking about the standalone (sample) ISPC Texture Compressor. I could not compile the code since I don't have a Visual Studio yet but I'm assuming the compilation will produce a command line executable. That one.


new version is not working/starting on macos version 10.15

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

VS Code Version: 1.91
OS Version: MacOS 10.15

Steps to Reproduce:

update from version 1.90.2 or just download the latest version and install it

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.91.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

/duplicate of pinned issue https://github.com/microsoft/vscode/issues/219893

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


cant't use the SecurityController's action

If config urlManager like 'enablePrettyUrl' => true, controller name 'security' will auto hide,lead to can't find the action,(eg: '/user/security/login' will become 'user/login' and cant login)

Can't you only access those actions when enablePrettyUrl is true? Or you can't access actions even without enablePrettyUrl enabled?

I can access those actions normally without enablePrettyUrl enabled, but when enablePrettyUrl is true,I cant't access SecurityController's action, because if when enablePrettyUrl is true, the controllerid security will auto hide (eg: '/user/security/login' will become 'user/login' and cant login), I try rename the controller id like securitys,it can work normally, Whether security is the Yii's reserved field

It's funny, now can work normally. I close the issues now, by the way thank you very much.


Fixes #1973. Avoid positioning Submenus off screen.

Fixes #1973 - Before only main menu was always on screen and this fix also do the same to sub-menus.
Pull Request checklist:

[x] I've named my PR in the form of "Fixes #issue. Terse description."
[x] My code follows the style guidelines of Terminal.Gui - if you use Visual Studio, hit CTRL-K-D to automatically reformat your files before committing.
[x] My code follows the Terminal.Gui library design guidelines
[x] I ran dotnet test before commit
[x] I have made corresponding changes to the API documentation (using /// style comments)
[x] My changes generate no new warnings
[x] I have checked my code and corrected any poor grammar or misspellings
[x] I conducted basic QA to assure all features are working

Is it worth adding a test for when the screen area is too small to display the subframe.  For example if submenu has one insanely long menu item we should expect the submenu to still be bracketed by 0,0?
Just to make sure theres no odd behaviour at the boundaries of normality


Allow uploading new file versions

If there's a match for a file an upload request will be made. The response should contain warnings since the file would already exist. If the only warnings are "exists" and "duplicateversions" another request will be made with ignorewarnings=1. This will upload the file as a new version. Allowing these warnings means that you can upload a file with the same name as one that already exists even if the new file is that same as and older version.
An issue is shown when a new version is about to be uploaded to prevent this happening by mistake.
Fixes #5959

from what I understand, when uploading a new version of a file, your code will do two uploads:

a first one without ignorewarnings=1, which will fail because of warnings
a second one with ignorewarnings=1, after having checked that all the warnings returned are indeed things we want to ignore because they are expected for a new file version

The fact that we're uploading the same file twice is maybe not ideal. I imagine that you made it like this because you don't want to add ignorewarnings=1 upfront, in case there are some other warnings that we don't want to ignore. Correct? Did you consider including ignorewarnings=1 upfront but only when we know we are uploading a new version (with a matched reconciled cell)? Maybe that's an acceptable middle ground?

The reason I did it this way was to err on the side of caution. The documentation on warnings isn't very clear, even about what warnings there are. I would think that at least duplicate-archive you don't want to ignore since that means you'd upload the same file that has explicitly been deleted earlier.

The CI failure is due to validation errors for the Javadocs:
 Error:  /home/runner/work/OpenRefine/OpenRefine/extensions/wikibase/src/org/openrefine/wikibase/updates/MediaInfoEdit.java:306: error: @param name not found
Error:       * @param filePageWaitTime
Error:                ^
Error:  /home/runner/work/OpenRefine/OpenRefine/extensions/wikibase/src/org/openrefine/wikibase/updates/MediaInfoEdit.java:308: error: @param name not found
Error:       * @param filePageMaxWaitTime
Error:                ^

Thanks. There were so many errors I wasn't sure where to start, but that seems to have fixed them all🤨

I did some more digging and apparently when a file upload generates warnings the file kept in the upload stash. This means we shouldn't have to upload it again, but instead give filekey in the second request.

@sebastian-berlin-wmse very nice! Looks like we just need to solve the conflicts and it should be good to go :)

Again I was having issues with Git and couldn't get it to apply commits in the order I wanted for rebasing. I ended up force pushing which may make it harder to follow the changes in the review. Sorry about that.

If I am reading your changes correctly, it seems that we will now overwrite any existing file regardless of whether the reconciled cell was marked as "new" or matched to an existing media entity. Is that true?

Yes, there's no extra check for whether the cell is "new" or not. However, if a new file version is uploaded also depends on scrutinisers and API warnings. If I read your scenarios below correctly they should still not lead to uploads.

I was intuitively assuming that we would ignore the warnings only when the cell was originally matched to an existing file. This would avoid the following scenario:

the user bypasses reconciliation because they assume that none of the file names exist on the wiki. They directly mark all cells as reconciled to "new".
one of the filenames actually corresponds to an existing file

If a file name already exists it will be caught by FileNameScrutinizer.

they don't get any warnings about uploading new versions of files, given that all their cells are reconciled to new
in the upload process, warnings about files getting overwritten are ignored, so the user ends up overwriting an existing file without wanting to

The only warnings that are ignored are exists, which is raised when there is a file with the same name, and duplicateversions, which is raised when a file with the same name exists and the same file (as in identical file content) is an old version of that file. Any other warnings will still lead to aborting the upload.


fix ProphetPredictor serialization issue

Issue #, if available:
https://github.com/awslabs/gluon-ts/issues/1531
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Please tag this pr with at least one of these labels to make our release process faster: BREAKING, new feature, bug fix, other change, dev setup

Do we miss a test for the serialization issue?

Yes, let's get a simple serialisation test for Prophet.


Fix EVP_PKEY_new_mac_key()

EVP_PKEY_new_mac_key() was failing if the specified MAC was not available in the default provider - even though that MAC is never actually needed to successfully complete the function. The resulting EVP_PKEY can then be used in some non-default libctx which does have the MAC loaded.
I ran into this while working on #11334, when libssl called EVP_PKEY_new_mac_key(). My solution there avoided the problem (for libssl only) by making libssl use the EVP_MAC API instead. This fixes the underlying problem.
It actually means that we can defer a decision (for now) on whether or not to change libssl to use EVP_MAC (since that is a breaking change).
This includes the commit from #11354, so please only look at the second commit.

This propagation of NULL checks seems quite ugly.

Yes, its horrible - but I couldn't think of an alternative.

I rebased this to pick up the fix to #11354, and to review feedback fixes. I've not made the change to the error code since I think EVP_R_FETCH_FAILED is much more useful.

Pushed. Thanks.


Use RNA not mRNA in examples/tests

Context; #643

Codecov Report
Base: 66.86% // Head: 56.74% // Decreases project coverage by -10.11% :warning:

Coverage data is based on head (62faa43) compared to base (f47dd7a).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #665       +/-   ##
===========================================
- Coverage   66.86%   56.74%   -10.12%
===========================================
  Files          64       38       -26
  Lines        3380     1542     -1838
===========================================
- Hits         2260      875     -1385
+ Misses       1120      667      -453

Flag
Coverage Δ

python
?

r
56.74% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

apis/python/src/tiledbsoma/logging.py

apis/python/src/tiledbsoma/general_utilities.py

apis/python/src/tiledbsoma/tiledb_array.py

apis/python/src/tiledbsoma/util.py

apis/python/src/tiledbsoma/metadata_mapping.py

apis/python/src/tiledbsoma/sparse_nd_array.py

apis/python/src/tiledbsoma/dataframe.py

apis/python/src/tiledbsoma/io.py

apis/python/src/tiledbsoma/tiledb_object.py

apis/python/src/tiledbsoma/__init__.py

... and 16 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Thanks @mlin !! :)


build with odbc package fails for linux

Since I use /code.google.com/p/odbc/ my program, my build fails for linux.
What version of Go are you using (go version)?
go version go1.4.2 darwin/amd64
What operating system and processor architecture are you using?
Mac OSX
What did you do?
I was able to build my app before I have inserted the odbc package (code.google.com/p/odbc). Then I added the package and installed UnixODBC and FreeTDS.
What did you expect to see?
I thought go could compile binaries for Mac, Linux and Windows independent from the packages used.
What did you see instead?
I encountered the error message below when executing make.
My terminal shows:
GOARCH=amd64 GOOS=linux goop exec go build -ldflags "-X main.VERSION cat VERSION -X main.BUILD_DATE date -u +%d.%m.%Y-%H:%M:%S" -o /Users/cadamini/GoApps/connect-client/bin/linux-amd64/connect ./main.go
'# code.google.com/p/odbc/api
.vendor/src/code.google.com/p/odbc/api/api.go:13: undefined: SQLSMALLINT
.vendor/src/code.google.com/p/odbc/api/api.go:14: undefined: SQLUSMALLINT
.vendor/src/code.google.com/p/odbc/api/api.go:15: undefined: SQLUSMALLINT
Do I see a bug or is it just a configuration issue?

code.google.com/p/odbc package uses cgo on linux (see api/api_unix.go). You cannot cross-compile packages that use cgo.
Alex
PS: code.google.com/p/odbc package is moved now to github.com/alexbrainman/odbc.