profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/XinyueZ/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

XinyueZ/AndroidFaceMaskDetection 4

Predict wearing face-mask

XinyueZ/android-ins-unins-tool 2

Command tool install and uninstall Apk of Android

XinyueZ/android-simple-facebook 2

Simple Facebook SDK for Android

XinyueZ/android-sunflower 1

A gardening app illustrating Android development best practices with Android Jetpack.

XinyueZ/android-text 1

Samples showing how to work with text on Android

XinyueZ/android_cleanarchitecturesample 1

Sample Android project of Clean Architecture

moia-killian/flutterlocation 0

A Flutter plugin to easily handle realtime location in iOS and Android. Provides settings for optimizing performance or battery.

XinyueZ/aboutyou-android-sdk 0

Use the android SDK to build apps for the ABOUT YOU platform

XinyueZ/AcClient 0

杭电OJ客户端

PR opened flutter/flutter

Roll Engine from 9520bb15b3d2 to 2536a3485940 (7 revisions)

https://github.com/flutter/engine/compare/9520bb15b3d2...2536a3485940

2021-06-22 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from krpEDaT56... to 8F5w2I_W6... (flutter/engine#26873) 2021-06-22 skia-flutter-autoroll@skia.org Roll Dart SDK from 77bc0eb4b39a to b260adefae51 (4 revisions) (flutter/engine#26872) 2021-06-22 skia-flutter-autoroll@skia.org Roll Skia from 64751750f474 to 9f73b04b437d (10 revisions) (flutter/engine#26871) 2021-06-21 54558023+keyonghan@users.noreply.github.com update gcloud credentials (flutter/engine#26868) 2021-06-21 47866232+chunhtai@users.noreply.github.com Revert "Issues/80711 reland (#26813)" (flutter/engine#26859) 2021-06-21 skia-flutter-autoroll@skia.org Roll Skia from 9a4824b47c03 to 64751750f474 (1 revision) (flutter/engine#26851) 2021-06-21 skia-flutter-autoroll@skia.org Roll Dart SDK from debd5e54b544 to 77bc0eb4b39a (1 revision) (flutter/engine#26853)

Also rolling transitive DEPS: fuchsia/sdk/core/mac-amd64 from krpEDaT56jlQ to 8F5w2I_W6Nk0

If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC cbracken@google.com on the revert to ensure that a human is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

+2 -2

0 comment

2 changed files

pr created time in 3 minutes

push eventfacebook/facebook-android-sdk

Mengxiao Lin

commit sha 5c044dfb1ae62c3cc39f55a6fcd41157f47288a0

Add test for UnobservedErrorNotifier Summary: As title Reviewed By: jingping2015 Differential Revision: D29269097 fbshipit-source-id: d2f861477b7b92387785b660ccc990179d57f481

view details

push time in 3 minutes

pull request commentflutter/flutter

Roll Engine from 9520bb15b3d2 to 2536a3485940 (7 revisions)

Commit queue failed; closing this roll.

engine-flutter-autoroll

comment created time in 4 minutes

PR closed flutter/flutter

Roll Engine from 9520bb15b3d2 to 2536a3485940 (7 revisions) cla: yes

https://github.com/flutter/engine/compare/9520bb15b3d2...2536a3485940

2021-06-22 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from krpEDaT56... to 8F5w2I_W6... (flutter/engine#26873) 2021-06-22 skia-flutter-autoroll@skia.org Roll Dart SDK from 77bc0eb4b39a to b260adefae51 (4 revisions) (flutter/engine#26872) 2021-06-22 skia-flutter-autoroll@skia.org Roll Skia from 64751750f474 to 9f73b04b437d (10 revisions) (flutter/engine#26871) 2021-06-21 54558023+keyonghan@users.noreply.github.com update gcloud credentials (flutter/engine#26868) 2021-06-21 47866232+chunhtai@users.noreply.github.com Revert "Issues/80711 reland (#26813)" (flutter/engine#26859) 2021-06-21 skia-flutter-autoroll@skia.org Roll Skia from 9a4824b47c03 to 64751750f474 (1 revision) (flutter/engine#26851) 2021-06-21 skia-flutter-autoroll@skia.org Roll Dart SDK from debd5e54b544 to 77bc0eb4b39a (1 revision) (flutter/engine#26853)

Also rolling transitive DEPS: fuchsia/sdk/core/mac-amd64 from krpEDaT56jlQ to 8F5w2I_W6Nk0

If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC cbracken@google.com on the revert to ensure that a human is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

+2 -2

2 comments

2 changed files

engine-flutter-autoroll

pr closed time in 5 minutes

pull request commentflutter/flutter

Roll Engine from 9520bb15b3d2 to 2536a3485940 (7 revisions)

build_ios_framework_module_test test prepped for this roll with https://github.com/flutter/flutter/pull/85051. Closing this one to pick up that test change.

engine-flutter-autoroll

comment created time in 5 minutes

push eventflutter/flutter

Jenn Magder

commit sha 3ee1d46d5a4e301d4223f3caf719aafe430a3ff0

Check for either ios-x86_64-simulator or ios-arm64_x86_64-simulator in module test (#85051)

view details

push time in 6 minutes

PR merged flutter/flutter

Check for either ios-x86_64-simulator or ios-arm64_x86_64-simulator in module test cla: yes platform-ios team

Prep for engine roll https://github.com/flutter/flutter/pull/85045 with recipe change https://flutter-review.googlesource.com/c/recipes/+/14780 that contains ios-arm64_x86_64-simulator instead of ios-x86_64-simulator

Passing: https://ci.chromium.org/p/flutter/builders/try/Mac%20build_ios_framework_module_test/7958?

+20 -8

1 comment

1 changed file

jmagman

pr closed time in 6 minutes

pull request commentflutter/flutter

Check for either ios-x86_64-simulator or ios-arm64_x86_64-simulator in module test

build_ios_framework_module_test passed, merging ASAP to unblock the engine roll.

jmagman

comment created time in 6 minutes

push eventflutter/flutter

Dan Field

commit sha eafadd8b1cb4ab8938c99acade4fc6c275798c8a

Try to dump app again for run_demos.dart (#85048)

view details

push time in 7 minutes

delete branch flutter/flutter

delete branch : dnfield-patch-1

delete time in 8 minutes

PR merged flutter/flutter

Try to dump app again for run_demos.dart cla: yes team

Previous attempt at #84996 was not catching the exception. This instead tests the condition that causes the exception when calling .tap

@zanderso

For https://github.com/flutter/flutter/issues/83298

+4 -5

2 comments

1 changed file

dnfield

pr closed time in 8 minutes

issue openedytdl-org/youtube-dl

Postprocessor not called when using `-f bestaudio` and `--postprocessor-args`

Checklist

<!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:

  • First of, make sure you are using the latest version of youtube-dl. Run youtube-dl --version and ensure your version is 2021.06.06. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.

  • Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.

  • Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in http://yt-dl.org/escape.

  • Search the bugtracker for similar issues: http://yt-dl.org/search-issues. DO NOT post duplicates.

  • Read bugs section in FAQ: http://yt-dl.org/reporting

  • Finally, put x into all relevant boxes (like this [x]) -->

  • [ ] I'm reporting a broken site support issue

  • [x] I've verified that I'm running youtube-dl version 2021.06.06

  • [x] I've checked that all provided URLs are alive and playable in a browser

  • [x] I've checked that all URLs and arguments with special characters are properly quoted or escaped

  • [x] I've searched the bugtracker for similar bug reports including closed ones

  • [x] I've read bugs section in FAQ

Verbose log

<!-- Provide the complete verbose output of youtube-dl that clearly demonstrates the problem. Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the WHOLE output and insert it below. It should look similar to this: [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2021.06.06 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4 [debug] Proxy map: {} <more lines> -->

$ youtube-dl -f bestaudio --postprocessor-args "-c:a mp3 -filter:a loudnorm=i=-18:lra=17 -qscale:a 2" 'https://www.youtube.com/watch?v=JKfmTJoW2kc' -v -o test.webm

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-f', u'bestaudio', u'--postprocessor-args', u'-c:a mp3 -filter:a loudnorm=i=-18:lra=17 -qscale:a 2', u'https://www.youtube.com/watch?v=JKfmTJoW2kc', u'-v', u'-o', u'test.webm']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 2.7.18rc1 (CPython) - Linux-5.4.0-26-generic-x86_64-with-Ubuntu-20.04-focal
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] JKfmTJoW2kc: Downloading webpage
[youtube] JKfmTJoW2kc: Downloading MPD manifest
[debug] Invoking downloader on u'https://r16---sn-4gxx-25gel.googlevideo.com/videoplayback?expire=1624404254&ei=vhzSYKyBI5f3xN8Ps4aluA8&ip=2a01%3Ae0a%3A100%3Ae190%3Acd95%3Adc1c%3A2e10%3A6a11&id=o-ALN1Re2gfqeyOQx8IR11Q_IGX_Lzl_6USbqCDwFs1SFo&itag=251&source=youtube&requiressl=yes&mh=Qd&mm=31%2C29&mn=sn-4gxx-25gel%2Csn-4gxx-25gy&ms=au%2Crdu&mv=m&mvi=16&nh=EAE%2CEAE&pl=52&initcwndbps=751250&vprv=1&mime=audio%2Fwebm&ns=kUY3poQ3dmhAeOD1Yq7P12MF&gir=yes&clen=5901131&otfp=1&dur=358.681&lmt=1564508839399265&mt=1624382462&fvip=16&keepalive=yes&fexp=24001373%2C24007246&c=WEB&n=eGxkNNDX6Ojhfzuyt&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAP3oHXJ5FekU66_RyQZgQg5dIbAQAzPwg07_5yIVlpcWAiEAzsNt1YTrVOgUq7q4Em7O021eof5RuT02vb2Zzd1v0AY%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cnh%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAId_jZhfm0sDxx4VIHb1sKMALp9YdLMPhlFiE9hLFiu2AiEA2ahCkwMWnqGv49Aa4F58wUpR93eNMFsRfYPheQamsVw%3D'
[download] Destination: test.webm
[download] 100% of 5.63MiB in 00:01

Description

<!-- Provide an explanation of your issue in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible. If work on your issue requires account credentials please provide them or explain how one can obtain them. -->

Goal

I want to download audio only from a Youtube video and run ffmpeg for some post processing (mainly audio loudness normalization)

Problem

The postprocessor is not called

I'm using this combination of command line arguments:

  • --postprocessor-args to pass some options to ffmpeg postprocessor
  • -f bestaudio to only download audio stream (and save the planet :earth_africa:)

Workaround

The workaround is to download audio + video (not using -f bestaudio argument):

youtube-dl --postprocessor-args "-c:a mp3 -filter:a loudnorm=i=-18:lra=17 -qscale:a 2" 'https://www.youtube.com/watch?v=JKfmTJoW2kc'

But this is not satisfactory as this uses a lot of bandwidth to download video stream and not using it (I do not have a good internet connection)

Thanks a lot to the team !

created time in 8 minutes

issue commentflutter/flutter

Fuchsia artifact upload failing often, reported as build/test issue

/cc @iskakaushik

zanderso

comment created time in 8 minutes

Pull request review commentflutter/flutter

Check for either ios-x86_64-simulator or ios-arm64_x86_64-simulator in module test

 Future<void> _testBuildIosFramework(Directory projectDir, { bool isModule = fals      await _checkBitcode(engineFrameworkPath, mode); -    checkFileExists(path.join(+    // TODO(jmagman): Remove ios-x86_64-simulator checks when the ARM simulator engine artifacts rolls.+    final String x86SimulatorFramework = path.join(       outputPath,       mode,       'Flutter.xcframework',       'ios-x86_64-simulator',       'Flutter.framework',-      'Flutter',-    ));+    ); -    checkFileExists(path.join(+    final String x86ArmSimulatorFramework = path.join(       outputPath,       mode,       'Flutter.xcframework',-      'ios-x86_64-simulator',+      'ios-arm64_x86_64-simulator',       'Flutter.framework',-      'Headers',-      'Flutter.h',-    ));+    );++    final bool x86SimulatorBinaryExists = exists(File(path.join(x86SimulatorFramework, 'Flutter')));

I'm going to delete this code within the next few days once we validate #85045 and are confident the roll won't be reverted. Noted for future reference though.

jmagman

comment created time in 9 minutes

issue commentflutter/flutter

Provide flutter precache download of iOS dSYMs in the tool

Any updates on this? It doesn’t seem like a complicated issue?

emlynmac

comment created time in 10 minutes

Pull request review commentflutter/flutter

Check for either ios-x86_64-simulator or ios-arm64_x86_64-simulator in module test

 Future<void> _testBuildIosFramework(Directory projectDir, { bool isModule = fals      await _checkBitcode(engineFrameworkPath, mode); -    checkFileExists(path.join(+    // TODO(jmagman): Remove ios-x86_64-simulator checks when the ARM simulator engine artifacts rolls.+    final String x86SimulatorFramework = path.join(       outputPath,       mode,       'Flutter.xcframework',       'ios-x86_64-simulator',       'Flutter.framework',-      'Flutter',-    ));+    ); -    checkFileExists(path.join(+    final String x86ArmSimulatorFramework = path.join(       outputPath,       mode,       'Flutter.xcframework',-      'ios-x86_64-simulator',+      'ios-arm64_x86_64-simulator',       'Flutter.framework',-      'Headers',-      'Flutter.h',-    ));+    );++    final bool x86SimulatorBinaryExists = exists(File(path.join(x86SimulatorFramework, 'Flutter')));

very minor nit: x86_64 should be shortened to x64, not x86. This looks good though.

jmagman

comment created time in 15 minutes

issue closeddotnet/core

Unable to run your project. Ensure you have a runnable project type and ensure 'dotnet run' supports this project. A runnable project should target a runnable TFM (for instance, netcoreapp2.0) and have OutputType 'Exe'. The current OutputType is 'Library'.

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/run Operating System: windows

Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

closed time in 15 minutes

qadir1020

issue closeddotnet/core

dotnet run command givs error.

<!--This is just a template - feel free to delete any and all of it and replace as appropriate. If you're not sure of an answer, just skip it. We'll help you! -->

Description

<!--

  • Please share a clear and concise description of the problem.
  • Include minimal steps to reproduce the problem if possible. E.g.: the smallest possible code snippet; or a small repo to clone, with steps to run it.
  • What behavior are you seeing, and what behavior would you expect? -->

Configuration

<!--

  • Which version of .NET is the code running on?
  • What OS and version, and for Linux, what distro?
  • What is the architecture (x64, x86, ARM, ARM64)?
  • Do you know whether it is specific to that configuration?
  • If you're using Blazor, which web browser(s) do you see this issue in? -->

Regression?

<!--

  • Did this work in a previous build or release of .NET Core, or from .NET Framework? If you can try a previous release or build to find out, that can help us narrow down the problem. If you don't know, that's OK. -->

Other information

<!--

  • Please include any relevant stack traces or error messages. If possible please include text as text rather than images (so it shows up in searches).
  • If you have an idea where the problem might lie, let us know that here. Please include any pointers to code, relevant changes, or related issues you know of.
  • Do you know of any workarounds? -->

closed time in 15 minutes

qadir1020

issue commentdotnet/core

Unable to run your project. Ensure you have a runnable project type and ensure 'dotnet run' supports this project. A runnable project should target a runnable TFM (for instance, netcoreapp2.0) and have OutputType 'Exe'. The current OutputType is 'Library'.

This issue has been automatically closed due to no response from the original author. Please feel free to reopen it if you have more information that can help us investigate the issue further.

qadir1020

comment created time in 15 minutes

issue commentdotnet/core

dotnet run command givs error.

This issue has been automatically closed due to no response from the original author. Please feel free to reopen it if you have more information that can help us investigate the issue further.

qadir1020

comment created time in 15 minutes

issue commentmaterial-components/material-components-android

[Navigation Rail] side navigation component for large screen / landscape config

Depending upon the screen form factor, there may not be enough to show all the destinations with the recommended paddings and margins. The best way to handle this is place the navigational rail into a scroll container.

wcshi

comment created time in 17 minutes

pull request commentfirebase/quickstart-android

chore(*): disable jetifier

I was hoping this would reduce build times, but apparently that's not the case :sweat_smile:

rosariopfernandes

comment created time in 18 minutes

issue commentflutter/flutter

Make ButtonBar.alignment configurable from AlertDialog

https://github.com/flutter/flutter/pull/85050 adds a MainAxisAlignment property to OverflowBar.

@kenzieschmoll, @ycherniavskyi - If we add an AlertDialog pass-through property for its OverflowBar's alignment, I think we can resolve this issue.

kenzieschmoll

comment created time in 19 minutes

issue commentflutter/flutter

Avoid reading clipboard without authorization when use textfield on Xiaomi MIUI 12

Same happens like @krispypen on Android 12 Beta 2 on a Pixel 4XL

WingCH

comment created time in 20 minutes

issue commentflutter/flutter

[Web][Release]: Another exception was thrown: Instance of 'minified:d1<void>'

So can you improve this problem in the next version update, because I have no way to get around it

@fangkyi03: Please see rakudrama's suggestions above. You can use Types as values and compare them directly without converting to String. If you need to test if a value x has type T, use x is T rather than x.runtimeType.toString() == 'T'. Even if we provide a way to recover the unminified names, String-based logic is brittle and it would be more appropriate to use the language features designed to work with types.

fangkyi03

comment created time in 20 minutes

PR opened flutter/flutter

Check for either ios-x86_64-simulator or ios-arm64_x86_64-simulator in module test platform-ios

Prep for engine roll https://github.com/flutter/flutter/pull/85045 that contains ios-arm64_x86_64-simulator instead of ios-x86_64-simulator

+23 -11

0 comment

2 changed files

pr created time in 24 minutes

push eventflutter/flutter

Darren Austin

commit sha 5e2d32fe97f92863f7498472e247c97be88ae375

Fixed an issue with overflow exceptions with nested lists inside a reorderable list item. (#84807)

view details

push time in 25 minutes

issue closedflutter/flutter

ReorderableListView reverse bug

I have to align the listview from right to left, but the reverse feature of the ReorderableListView looks not that right?

code:

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: MyHomePage(),
    );
  }
}
class MyHomePage extends StatefulWidget {
  @override
  State<StatefulWidget> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {

  late List<Widget> items;

  @override
  void initState() {
    items = List.generate(3, (index) => Container(
      key: UniqueKey(),
      margin: EdgeInsets.all(10),
      padding: EdgeInsets.all(20),
      color: Colors.lightBlue,
      child: Text((index + 1).toString()),
    ));
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
        child: Align(
          alignment: Alignment.centerRight,
          child: SizedBox(
             height: 80,
            child: ReorderableListView(
              reverse: true,
              physics: AlwaysScrollableScrollPhysics( parent: BouncingScrollPhysics() ),
              children: items.reversed.toList(),
              scrollDirection: Axis.horizontal,
              onReorder: (oldIndex, newIndex) {
                setState(() {
                  oldIndex = items.length - oldIndex - 1;
                  newIndex = items.length - newIndex;
                  items.insert(newIndex - (oldIndex < newIndex ? 1 : 0), items.removeAt(oldIndex));
                });
              },
            ),
          ),
        ),
      ),
    );
  }
}

If I just reorder it normally, it looks fine. fine

but if I put that object back to the same place, the animation will look weird... bug

closed time in 25 minutes

FIB24

PR merged flutter/flutter

Fix an animation issue when dragging the first item of a reversed list onto the starting position. a: animation a: quality cla: yes f: material design f: scrolling framework

Fixes #84625

The problem here is that if the list is reversed and the first item is dragged off the edge of the screen it would animation from one list position greater than it should have leading to a weird jumping animation. This PR fixes this edge case so it should animate properly.

I added a test case to ensure this doesn't break again in the future.

Pre-launch Checklist

  • [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • [x] I signed the [CLA].
  • [x] I listed at least one issue that this PR fixes in the description above.
  • [x] I updated/added relevant documentation (doc comments with ///).
  • [x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
  • [x] All existing and new tests are passing.
+47 -1

1 comment

2 changed files

darrenaustin

pr closed time in 25 minutes

issue commentflutter/flutter

Fuchsia artifact upload failing often, reported as build/test issue

Is there any way we can tell the artifact size for different builds? Wanna to see if any obvious size differences.

zanderso

comment created time in 30 minutes