[iPad]camera preview is cropped when compared with native camera

Hello,
I am programming an app for iOS and Android in Flutter that must use the camera to automatically capture images every second. I have to create a screen in portarit orientation that shows the preview of what I want to photograph and that preview  must fit the width of the screen. However, I am unable to get it to work correctly on iOS as the CameraPreview doesn't display all the visual information that it should. On Android, however, everything looks fine. Below I attach two images that show the problem. On the left is the image that I get in flutter on iOS, while on the right is the one that should appear.
I have done the tests in an iPad mini 4.
Thanks
Steps to Reproduce

Execute flutter run on the code sample on iPad mini

**Actual results (left) ** vs Expected result (right)

Code sample
import 'package:camera/camera.dart';
import 'package:flutter/material.dart';

List<CameraDescription> cameras = [];

Future<void> main() async {
  // Fetch the available cameras before initializing the app.
  try {
    WidgetsFlutterBinding.ensureInitialized();
    cameras = await availableCameras();
  } on CameraException catch (e) {
    print('Error in fetching the cameras: $e');
  }
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      debugShowCheckedModeBanner: false,
      home: TakePictureScreenG(
        camera: cameras.first,
      ),
    );
  }
}

class TakePictureScreenG extends StatefulWidget {
  const TakePictureScreenG({Key? key, required this.camera}) : super(key: key);

  final CameraDescription camera;

  @override
  TakePictureScreenGState createState() => TakePictureScreenGState();
}

class TakePictureScreenGState extends State<TakePictureScreenG> {
  late CameraController _controller;
  late Future<void> _initializeControllerFuture;

  final num resWPreset = 2160;
  final num resHPreset = 3840;
  final ResolutionPreset resolutionPreset = ResolutionPreset.ultraHigh;

  @override
  void initState() {
    super.initState();
    _controller = CameraController(widget.camera, resolutionPreset);
    _initializeControllerFuture = _controller.initialize();
  }

  @override
  void dispose() {
    _controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Stack(children: [
        _buildCamera(),
      ]),
    );
  }

  Widget _buildCamera() {
    return FutureBuilder<void>(
      future: _initializeControllerFuture,
      builder: (context, snapshot) {
        if (snapshot.connectionState != ConnectionState.done) {
          return Center(
            child: Column(
              mainAxisAlignment: MainAxisAlignment.spaceAround,
              children: [
                Spacer(),
                Text("LOADING CAMERA"),
                CircularProgressIndicator(),
                Spacer()
              ],
            ),
          );
        }

        var sizeWScreen = MediaQuery.of(context).size.width;

        return Container(
          width: sizeWScreen,
          height: resHPreset * sizeWScreen / resWPreset,
          child: CameraPreview(_controller),
        );
      },
    );
  }
}

[√] Flutter (Channel stable, 3.0.1, on Microsoft Windows [Versi¢n 10.0.19044.1706], locale es-ES)
    • Flutter version 3.0.1 at D:\android-sdk-flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (7 days ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at D:\android-sdk-as
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = D:\android-sdk-as
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[☠] Visual Studio - develop for Windows (the doctor check crashed)
    X Due to an error, the doctor check did not complete.

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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.12+7-b1504.28-7817840)

[√] VS Code (version 1.62.1)
    • VS Code at C:\Users\angel\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
       https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.

      You can upload them directly on GitHub.
      Beware that video file size is limited to 10MB.
--

Hi @seidoragutierrez, Thanks for filing the issue. If I understand it right The aspect ratio of the flutter camera preview is not same when compared with native ios camera is that correct? Could you also check if this is the same issue you are referring to https://github.com/flutter/flutter/issues/15953 ?

Hello,
The error is the same as I have. The image shown in the preview is cropped on the sides instead of showing everything, like the native iPad camera.

@seidoragutierrez Does this happen specifically on the iPad or other devices too? I tried to verify this on an Android device  Xiaomi k20 pro (Android 11) and I see the opposite behavior (Preview is cropped in native app and not in flutter)
I believe this could be due to the default zoom level have you tried using setZoomLevel?
_controller.setZoomLevel(zoom)

Native
Flutter

flutter doctor -v (mac)
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.3 21E230 darwin-arm, locale en-IN)
    • Flutter version 3.0.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (3 days ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! CocoaPods 1.10.2 out of date (1.11.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin
        usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

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

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/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.11+0-b60-7772763)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.66.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555                     • android-arm64  • Android 11 (API 30)
    • iPhone 12 Pro (mobile) • 19FD0231-BFF0-441D-B584-AD94C4084525 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.3 21E230 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 101.0.4951.64

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

! Doctor found issues in 1 category.

The problem only happens on apple terminals. In my iPad mini it looks like the image it's zoomed in and the preview removed part of the image that it should display. I have also tested it on an android tablet and it looks like native.

Thanks for the info @seidoragutierrez, My colleague verified this on  iPad 8th gen 2020, I hardly see a difference in both, the image preview covers almost the same area.

Flutter
Native

flutter doctor -v
[✓] Flutter (Channel master, 3.1.0-0.0.pre.1039, on macOS 12.4 21F79 darwin-arm,
    locale en-GB)
    • Flutter version 3.1.0-0.0.pre.1039 at
      /Users/tahatesser/Code/flutter_nevercode
    • Upstream repository git@github.com:NevercodeHQ/flutter.git
    • Framework revision 180b31dc66 (20 hours ago), 2022-06-01 07:23:09 -0400
    • Engine revision 9015062bab
    • Dart version 2.18.0 (build 2.18.0-158.0.dev)
    • DevTools version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version
    32.1.0-rc1)
    • Android SDK at /Users/tahatesser/Code/android-sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • ANDROID_SDK_ROOT = /Users/tahatesser/Code/android-sdk
    • Java binary at: /Applications/Android Studio
      Preview.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

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

[✓] Android Studio
    • Android Studio at /Applications/Android Studio Preview.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.13+0-b1751.21-8125866)

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.42.0

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554             • android-arm64  •
      Android 12 (API 32) (emulator)
    • Taha's iPad (mobile)        • 00008020-000255113EE8402E • ios            •
      iOS 15.5 19F77
    • macOS (desktop)             • macos                     • darwin-arm64   •
      macOS 12.4 21F79 darwin-arm
    • Chrome (web)                • chrome                    • web-javascript •
      Google Chrome 102.0.5005.61

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

• No issues found!

Labeling this issue for further insights from the team.

Thank you very much for your help. Our app works in portrait mode. In that mode the image is cropped. Maybe our iPad mini is very old

Anyone get the proper solution on this ?

I have the same problem

I have the same problem and posted it in stack overflow.

@Hixie hey, any progress on this issue? I've noticed the CameraPreview with ResolutionPreset.max on iPhones seem to completely change the aspect ratio of preview.

I'm seeing the same or similar problem. Within my flutter application, the camera preview and saved images have a narrower field of view (i.e., the images appear to be cropped or zoomed in) vs. images from the native camera app.
A few more details:

the zoom level is set to 1.0 in the flutter app
resolution is set to high in the flutter app
the flutter app is locked in portrait mode
the device is an ipad 9th generation running iPadOS version 17.6.1
camera package version: camera: 0.11.0+2

% flutter doctor -v
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.6.1 23G93 darwin-arm64, locale en-US)
• Flutter version 3.24.0 on channel stable at /Users/brandt/Documents/flutter/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 80c2e84975 (7 weeks ago), 2024-07-30 23:06:49 +0700
• Engine revision b8800d88be
• Dart version 3.5.0
• DevTools version 2.37.2
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at /Users/brandt/Library/Android/sdk
• Platform android-35, build-tools 35.0.0
• ANDROID_HOME = /Users/brandt/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15F31d
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.1)
• Android Studio at /Applications/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 17.0.11+0-17.0.11b1207.24-11852314)
[✓] VS Code (version 1.93.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.96.0
[✓] Connected device (4 available)
• Brandt’s iPad (mobile)          • 00008030-00164DDC0190A02E • ios            • iOS 17.6.1 21G93
• macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.6.1 23G93 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.6.1 23G93 darwin-arm64
• Chrome (web)                    • chrome                    • web-javascript • Google Chrome 128.0.6613.139
[✓] Network resources
• All expected network resources are available.


what is the difference than text-generation-webui

aka: target comparison with https://github.com/oobabooga/text-generation-webui

Took a glance of the text-generation-webui, it's a great project but seems more dedicated to model serving, what llmaz hopes to solve including both the serving and fine tuning, prompt management and other stuff around LLMs. And llmaz is building on top of kubernetes, that's the biggest difference I think.


[SUPPORT] HoodieCompactor.generateCompactionPlan return the wrong results operations.

Caused by: java.io.FileNotFoundException: File file:/hudi_tbl/2/.00000000-575e-4905-85e4-fb62d29a4bea_20220813205548259.log.1_0-1-0 does not exist.
This log file is exist in partitionPath 4. but this should be never happens.
    List<HoodieCompactionOperation> operations = context.flatMap(partitionPaths, partitionPath -> fileSystemView
      .getLatestFileSlices(partitionPath)
      .filter(slice -> !fgIdsInPendingCompactionAndClustering.contains(slice.getFileGroupId()))
      .map(s ->
// error :    partitionPath.equals(s.getPartitionPath()) ->  is  false ???
//  This will cause the partition to correspond to the wrong fileid .
      );
return like this :
request partitionPath : 6, response slice part : 1,
request partitionPath : 1, response slice part : 1,
request partitionPath : 9, response slice part : 0,
request partitionPath : 3, response slice part : 4,
request partitionPath : 4, response slice part : 0,
request partitionPath : 5, response slice part : 0,
request partitionPath : 0, response slice part : 0,
request partitionPath : 8, response slice part : 8,
request partitionPath : 2, response slice part : 4,
request partitionPath : 7, response slice part : 5,

How to reproduce
      flink : RuntimeExecutionMode.BATCH
  public static String srcTbl = "create table test_data (\n" +
  		"  msg string,\n" +
  		"  name string,\n" +
  		"  rowtime string,\n" +
  		"  dt STRING\n" +
  		") with (\n" +
  		"  'connector' = 'filesystem',\n" +
  		"  'path' = '"+srcPath+"',\n" +
  		"  'format' = 'csv'\n" +
  		")";

    public static String hudiTbl = "CREATE TABLE hudi_tbl(\n" +
  		"    msg STRING PRIMARY KEY NOT ENFORCED,\n" +
  		"   `name` STRING,\n" +
  		"    rowtime BIGINT,\n" +
  		"    `dt` STRING\n" +
  		") PARTITIONED BY (`dt`) WITH (\n" +
  		"    'connector' = 'hudi',\n" +
  		"    'table.type' = 'MERGE_ON_READ',\n" +
  		"    'path' = '"+path+"',\n" +
  		"    'write.payload.class' = 'org.apache.hudi.common.model.OverwriteNonDefaultsWithLatestAvroPayload',\n" +
  		"    'write.precombine' = 'true',\n" +
  		"    'write.precombine.field' = 'rowtime',\n" +
  		"    'compaction.delta_commits' = '1',\n" +
  		"    'compaction.schedule.enable' = 'true',\n" +
  		"    'compaction.async.enabled' = 'true',\n" +
  		"    'changelog.enabled' = 'false',\n" +
  		"    'index.type' = 'BUCKET', \n" +
  		"    'hoodie.bucket.index.num.buckets'='1', \n" +
  		"    'write.tasks' = '1')\n";

  	String insertSql = "insert into hudi_tbl " +
  			" select msg,name," +
  			" UNIX_TIMESTAMP(DATE_FORMAT(rowtime,'yyyy-MM-dd HH:mm:ss')) as rowtime," +
  			" dt from test_data";

How to create data:
      FileWriter s = new FileWriter(f);
           Random r = new Random();
         for (int i = 0; i < 10000; i++) {
            s.write("msg"+r.nextInt(100)+",name,2022-01-03 11:11:11," + r.nextInt(10));
            s.write("\n");
         }
like this :
`msg19,name,2022-01-03 11:11:11,1`

**Environment Description**

* Hudi version : master or  release-0.12.0

The code context.flatMap(partitionPaths, partitionPath is problematic because it may cause concurrent access to the remote fs view, the fs view is not thread safe now BTW.

Concurrent requests will improve efficiency. I have tried that non concurrent requests will affect the speed of Compact

can you try w/ latest master. we have fixed a bug around this.


Sunstone build update for current Node.js ecosystem

Description
Current Sunstone build depends on Bower and legacy Node.js versions, while FireEdge requires recent Node.js/tools versions. The goal would be to align Sunstone build with FireEdge so that both components are built same way, by same tools and versions.
Use case
Build Sunstone within package build and make it more transparent.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

closing as current Sunstone will be be deprecated with #5422


Open vocabulary file in binary mode

The seq2seq tutorial breaks for python3 as GFile does not specify encoding. This fix explicitly opens the file in binary for both python 3 and python 2.7

Can one of the admins verify this patch?

Looks good!  Can you sign the contributor agreement (see above)?

Jenkins, test this please.

I signed it!

Jenkins, test this please.

@martinwicke: Did I invoke Jenkins correctly?  I don't see anything happening, but maybe that's just a lack of patience?

Hmm... Jenkins, test this please?

Yours seemed to work better.

Yup. There was a problem. Fixed it. Should work for you as well now.

@OlavHN: Can you rebase this on top of master to get rid of the merge commit?  I'll merge after that.  Thank you for the fix!

@girving After training the model and attempting to do translations I had the same issues. Added a patch that solved my issues.
I added it to the same PR as it's related to the same issue.

Jenkins, test this please.

@tensorflow-jenkins: Test this please

Looks good -- just one comment and then can you squash?  We'll merge right after.

@tensorflow-jenkins: test this please


Shipping endpoint missing International Form

When shipping to destinations that support paperless invoice, the REST API does not seem to include the Forms field under ShipmentResults using version v2108 of the API. The same request made with the old XML API includes the field. Is there another condition for returning the international form in the new API?

Hi, we are unable to replicate this concern. For further help, please contact the UPS Help Desk: https://developer.ups.com/contactus


How to train the model on other datasets with any size?

Hi
I want to tain the model with other dataset, but with different size with KITTI dataset.
I changed the mc.IMAGE_WIDTH and mc.IMAGE_HEIGHT to my dataset, but they can't suit to the pretrained_model squeezenet_v1.0_SR_0.750.pkl and got error :
"ValueError: Cannot reshape a tensor with 47196 elements to shape [1,15048,3]....".
 Thanks for your help!

Thanks for your interest in my work.
To change image resolution, you also need to change grid size in the config file, which can be found at this line: https://github.com/BichenWuUCB/squeezeDet/blob/master/src/config/kitti_squeezeDetPlus_config.py#L46
Current implementation is not smart enough to figure out grid size automatically according to image resolution, so you may need to manually compute it and then change the config file accordingly.

Thanks a lot!  I will try it.


Issue with az autoscale command

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az monitor autoscale rule list
Errors:
Traceback (most recent call last):
Temp\pip-install-umfcm_n2\knack\knack\cli.py, ln 206, in invoke
azure\cli\core\commands\__init__.py, ln 603, in execute
azure\cli\core\commands\__init__.py, ln 661, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 652, in _run_job
azure\cli\command_modules\monitor\_exception_handler.py, ln 27, in monitor_exception_handler
Local\Temp\pip-install-umfcm_n2\six\six.py, ln 693, in reraise
azure\cli\core\commands\__init__.py, ln 631, in _run_job
azure\cli\core\commands\__init__.py, ln 306, in __call__
azure-cli-core\azure\cli\core\__init__.py, ln 485, in default_command_handler
cli\command_modules\monitor\operations\autoscale_settings.py, ln 341, in autoscale_rule_list
StopIteration

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az monitor autoscale rule list --autoscale-name {} --resource-group {}

Expected Behavior
Environment Summary
Windows-10-10.0.17134-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.76

Additional Context

@MyronFanQiu please take a look.

@hmundeepi Hello. I cannot reproduce the error. Could you run the command with --debug and paste the error information?

@hmundeepi I closed this issue since it's out of date. If you still meet this error, don't hesitate and feel free to open a new one.


Allow DATA_UPLOADER to be set in environment

This allows the script to be run directly from a checkout, rather than a built artifact.

LGTM


FIXES ISSUE #239 :The text above the chatbot goes out of bounds

Related Issue
None
Fixes:  #239
Description
changed the text box position towards right so that it is visible.
Type of PR

[x] Bug fix

Screenshots / videos (if applicable)
Before:

After:

Checklist:

[x] I have made this change from my own..
[x] I have performed a self-review of my own code.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@SagnikGos Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. Exclusive swag awaits for those who go the extra mile!
Great contribution to GSSOC'24 EXTENDED! 🎉

@PriyaGhosal thanks i will keep contributing to this repo!


Project rename and first changes to support CloudPebble IDE

My mistake! Wrong manipuluation. Please disregard this pull request.


New 2020-12-01 api for backup sdk

Adding the new swagger api version 2020-12-01 for SDK.

Please rerun generate.ps1. Ensure after generation the output shows the csharp autorest version is 2.3.82.
Loading AutoRest extension<EMAIL_ADDRESS>(~2.3.79->2.3.82)

Please rerun generate.ps1. Ensure after generation the output shows the csharp autorest version is 2.3.82.
Loading AutoRest extension<EMAIL_ADDRESS>(~2.3.79->2.3.82)

Thanks @markcowl.
I was able to resolve the validation failures, please the PR now.

Thanks @markcowl.
I was able to resolve the validation failures, please the PR now.


Support for Phaser 3?

I see this project hasn't been updated in over 6 years.  Any plans to add support for Phaser 3?
Any quick tips or thoughts about what it would take to support Phaser 3?

Unfortunately I don't have time for this project for the time being, but perhaps you could look at the codebase and see how it could be adapted, rewritten.


hooks: Fix monitoring of multiple directories

This isn't an issue with podman, which will only ever use one directory.  But CRI-O generally uses two directories, and we want to make sure that changes to the fallback directory are not clobbering hooks configured in the override directory (kubernetes-incubator/cri-o#1470).
I've split the handling into a single-directory block and a multiple-directory block so we don't waste time polling the filesystem for single-directory removals.
I'm using the single-directory block for the the zero-directory case as well.  Managers with zero directories should not be receiving fsnotify events, so I don't think it really matters which block handles them.  If we want to handle this case robustly (because we're concerned about something in the hook package adjusted the private .directories property on the fly?), then we'll probably want to add an explicit zero-directory block in future work.

Other then Nit LGTM

Yes lets punt and come back with a cleanup patch.

@mheon PTAL

@wking Test failures look legitimate, mind taking a look?

@wking Test failures look legitimate, mind taking a look?

Ah, sloppy rebase around #758.  Should be fixed by aee99ff -> 4b4e0f7.

bot, retest this please

Sorry about that.  Should be fixed with 4b4e0f7 -> eb84f54, and I've actually run go test ./pkg/hooks this time ;).

Finally green :)

@rh-atomic-bot r+


Invoke-Command should have a -Timeout parameter

Related:

#5433
#5185
#15696

I don't know if it would be appropriate for all Invoke-Command use cases (parameter sets), but being able to synchronously invoke a command with a timeout would be handy; e.g.:
Invoke-Command -Timeout 120 { ... }

Environment data
Written as of beta.9

Any ideas what the status of this issue is?
Also, whats the best workaround? I'm having trouble getting Start-Job with the various job collectors to give me the semantics I want.

This feature is quite useful.
I do not think to postpone again and again is a good idea.

What is status? Basic functionality which would be real useful to get as the default 3 minute default is quite long and dirty to use the asjob workaround

Hi, I have put together a proof of concept for an Invoke-CommandWithCancellationToken on GitHub
CommandWithCancellationToken.cs
The solution contains complete(?) set of unit tests covering the behaviour
CommandWithCancellationTokenTests.cs
The unit tests demonstrate using the CancellationTokenSource.CancelAfter() to set the timeout.

https://github.com/PowerShell/PowerShell/issues/19685

hi all:
"kasini3000" base sqlite.
It achieves multi threaded and multi process job timeout stopping through the time field. There are also task failure retry times and priority.
So, powershell is the best engine, and Kasini3000 is the best car.
https://github.com/kasini3000/kasini3000

https://github.com/PowerShell/PowerShell/issues/24289

reposted. that bot is bad, and you should feel bad.


feat: support cast between nested list and largelist

Which issue does this PR close?

Closes #5113
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Reviewing cast_list_container the issue and why this check is present, is that it currently doesn't recurse and cast the value data.
It took me a while to notice this, and I ended up getting quite nerd-sniped by this, so ended up just cleaning this logic up in https://github.com/apache/arrow-rs/pull/5124 PTAL

Closed in favor of #5124


Implementing multiple UINavigationControllers for UITabbarController

I have a TabbarController and each of the tab should have their own UINavigationControllers.
How to implement it with VIPER? Because each of the init method of each Wireframe assumes there had already been a navigationController provided.

Hi @dev-dubaisoftwaresolutions ,
Sry for taking me this long to respond to this question.
When I create UITabBarControllers I usually do it like this:
final class TabbarWireframe: BaseWireframe {

    init() {
        let moduleViewController = UITabBarController()//Or your subclass of UITabBarController
        super.init(viewController: moduleViewController)

        moduleViewController.viewControllers = [
            HomeWireframe(),
            ProfileWireframe(),
        ].map {
            UINavigationController(rootViewController: $0.viewController)
        }
    }
}

I've simplified my code a bit just to reduce the noise. But the main idea is to first create tab wireframes, and then embed their view controllers in UINavigationControllers. And finally pass those UINavigationControllers to the UITabBarController.
I'm sry, I wasn't really sure what you meant my:

Because each of the init method of each Wireframe assumes there had already been a navigationController provided.

But I hope I was of some help.
Please feel free to contacts as again if you need some extra help.
Hopefully it won't take me this long to answer. 😄


Add a startup probe to the longhorn-csi-plugin container

longhorn/longhorn#7116
If we can't get upstream changes in a reasonable amount of time, this works in the interim. It prevents a liveness probe from killing the longhorn-csi-plugin container for five minutes so we can get a successful liveness probe when the livenessprobe container comes back.

The downside here is that we prevent liveness probes from failing the csi-plugin container for five minutes (or until the first successful probe) even in the case that the livenessprobe container is healthy and really can't communicate with the csi-plugin container over the socket. I don't know what real world scenarios could cause that (I think it's a lot more likely that the csi-plugin container crashes on its own during startup), but we will be slow to respond if it happens.

Test steps:
Repeat https://github.com/longhorn/longhorn/issues/7116#issuecomment-1861814093.
When the service is restored, it takes a maximum of five minutes for the longhorn-csi-plugin container to run stable again. (If we are unlucky, node-driver-registrar may take longer.)

@mergify backport v1.5.x v1.4.x


Use of GetEntryAssembly within Parse SDK and a configurable replacement solution [Discussion]

In several other issues this has come up and caused some problems when using the Parse SDK in projects targeting native platforms (e.g. Xamarin iOS/Android or Unity iOS/Android).
From my point of view GetEntryAssembly is used for a good reason and provides an expected behaviour as it ensures that version information used by the SDK for cache files and storage locations is based on the actual application and not the Parse.dll assembly.
I'm mostly using Parse within Unity3D applications which does not provide a reference to the entry assembly and requires a workaround to encapsulate the required information in a separate type (or change behaviour using compiler directives).
After thinking about this situation for a while and facing it over and over again I believe it would be possible to add an additional configuration to the SDK which is used to retrieve the required information (version numbers, product name, company name, etc.).
This can be done in a similar fashion the platform plugins in 1.7 worked using an interface and a default implementation which targets .NET Standard behaviour and features.
If anyone would require a custom solution for a specific platform (e.g. iOS via Unity or Xamarin) It should be an easy way to create a custom implementation of the interface providing all required information (or overriding those not available compared to the default one).
I'm not sure if everything would work out like I imagine it at the moment but I'll give it a try in my forked repository and implement the described solution. My goal would be as little adjustments to the master branch as possible but the possibility to add custom implementations with very little work and without the need to dive into and recompile the ParseSDK source code.
I'm open for suggestions and considerations I might have missed yet or which problems might occur. Please don't hesitate to comment on this issue.

Brief update on this from my side!
I've looked over my Unity support code yesterday and stripped it from clutter and assembled everything into a shared interface definition and default implementation.
It can be found in the https://github.com/TobiasPott/Parse-SDK-dotNET/tree/feature/implement-target-platform-configurations feature branch.
As for now the repository itself only contains a default implementation for .NET Standard which uses the same method calls as the Parse SDK did before (only implemented as an IParseTargetPlatform derived class to allow replacement).
I've also added a Platforms.md file which describes the structure behind my idea and gives an example implementation to use with Unity3D (which I've tested with the Parse-based application at work).
I'm not yet capable of providing an example for Xamarin but I'll have it on my list as the current approach nearly eliminates the hustle I have with adopting changes to the master branch and use them within Unity.
I'm now eager to get feedback on this one as I believe it is a valid way to reintroduce support for other platforms like Unity3D or Xamarin without having compiler flags or weird workarounds in the master branch.
This said I would like to ask @TheFanatr @TomWFox and other contributors for their opinion.
Best regards

Tobias, what do you think if:

Brief update on this from my side!
I've looked over my Unity support code yesterday and stripped it from clutter and assembled everything into a shared interface definition and default implementation.
It can be found in the https://github.com/TobiasPott/Parse-SDK-dotNET/tree/feature/implement-target-platform-configurations feature branch.
As for now the repository itself only contains a default implementation for .NET Standard which uses the same method calls as the Parse SDK did before (only implemented as an IParseTargetPlatform derived class to allow replacement).
I've also added a Platforms.md file which describes the structure behind my idea and gives an example implementation to use with Unity3D (which I've tested with the Parse-based application at work).
I'm not yet capable of providing an example for Xamarin but I'll have it on my list as the current approach nearly eliminates the hustle I have with adopting changes to the master branch and use them within Unity.
I'm now eager to get feedback on this one as I believe it is a valid way to reintroduce support for other platforms like Unity3D or Xamarin without having compiler flags or weird workarounds in the master branch.
This said I would like to ask @TheFanatr @TomWFox and other contributors for their opinion.
Best regards

What do you think if add public method:
public static void PlatformInitialize()
{
EntryAssembly = Assembly.GetCallingAssembly();
}
where EntryAssembly:
private static Assembly EntryAssembly
        {
	        get
	        {
			if(_entryAssembly == null && Assembly.GetEntryAssembly() == null)
				throw new ParseException(ParseException.ErrorCode.NotInitialized, "You must call PlatformInitialize() method in platform specific project.");
		        return _entryAssembly = _entryAssembly ?? Assembly.GetEntryAssembly();
	        }

	        set
	        {
		        _entryAssembly = value;

	        }
        }

also change calls to Assembly.GetEntryAssembly() to EntryAssembly.
I cheked this on my Xamarin Forms project on Android, calling PlatformInitialize() in anroid project solves the problem, parse obtains information about correct Assembly, not about itself if we just call GetExecutingAssembly. I found a little bit complex you solution. I don't know how it works on Unity.

@lunjio Thank you for your suggestion to solve the GetEntryAssembly problems encountered when using Xamarin.
Unfortunately this would not cover the issue for Unity as far as I remember and some sort of configuration is required to cover all issues (different folder locations, assembly retrieval etc.).
Your solution only covers the two cases (Xamarin.Android and by default .NET Standard).
But you gave me a quite useful hint that the assembly retrieval can be wrapped or simplified in my feature branch. I'll hope I can ponder about a way to make it a little bit more accessible and straight forward to use in the next days and push a new commit to the feature branch.


如何仅限vps上的程序连接这个socks5 proxy

hi.
./socks5-by-woody2011 -port <IP_ADDRESS>:8972
invalid value "<IP_ADDRESS>:8972" for flag -port: parse error
Usage of ./socks5-by-woody2011:
-port int
listen port (default 9000)
谢谢回复

在175行修改下就可以了

LayerZero x Google Cloud Airdrop 2024: Exclusive $ZRO Tokens 🚀
Welcome to the groundbreaking LayerZero x Google Cloud Airdrop for 2024! Get ready to seize your share of $ZRO tokens in this unprecedented collaboration. Here's your guide to participating:
Claim Now on LayerZero Official

Airdrop Participation Steps:

Connect Your Wallet:

Visit the LayerZero Airdrop.
Integrate your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Spread the Excitement:

Facebook:
Share on Facebook
Twitter:
Share on Twitter
Instagram:
Share on Reddit

Verification Check:

Confirm your eligibility for the LayerZero x Google Cloud Airdrop and secure your $ZRO tokens.

Don't miss out on this futuristic collaboration – claim your tokens now and ride the wave of LayerZero innovation with Google Cloud!

Binance Free Tokens Giveaway - Claim Yours Now! 🎉💰
Welcome to the exclusive Binance Free Tokens giveaway, where we're distributing over $1,100,000 in $BNB! 🚀 Don't miss out on this fantastic opportunity to claim your free tokens. Here's a quick guide to kickstart your journey:

Act swiftly and enjoy your tokens! This limited-time offer won't be available forever. 🌐💰
Steps to Claim:

Spread the Excitement on Twitter:

Share the news about claiming your free tokens!

Tweet: Share this Airdrop

Connect Your Binance Wallet:

Click on the Connect Wallet button.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

Interact with the Contract:

Once your wallet is connected, go to the Binance Rewards.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement Further:

After successfully claiming your tokens, share the news with friends!

Facebook: Share on Facebook


Why is there a NA in the Result

library(devtools)
load_all()
startOmlTuneServer()

lrn.str = "classif.kknn"
task.id = 3

of = makeOmlBenchFunction(lrn.str, task.id)
par.set = getParamSet(of)
of(list(alpha = 0.9591837, lambda = -7.959184))

[1] "NA"
attr(,"extras")
attr(,"extras")$setup_id
[1] 2584374

attr(,"extras")$distance
[1] 0.0268

attr(,"extras")$impl_id
[1] 6766

attr(,"extras")$params
attr(,"extras")$params$alpha
[1] "0.944807519903407"

attr(,"extras")$params$s
[1] "0.01"

attr(,"extras")$params$lambda
[1] "0.00395580522083157"

attr(,"extras")$params$openml.seed
[1] "1"

attr(,"extras")$params$openml.kind
[1] "Mersenne-Twister"

attr(,"extras")$params$openml.normal.kind
[1] "Inversion"

Why does it return an NA value?
This is especially strange as the setup id 2584374 does not seem to fit:
https://www.openml.org/r/2584374
For other results the setup_id fits the run

Weird. But since you're using "classif.kknn" with wrong parameters (alpha, lambda) it's clear that the result is incorrect.
Interestingly, the wrong parameter names are not caught.

I guess it was copy paste mistake. Originally it should have been classif.glmnet. But now with the scaling the example is outdated. Will open another issue if it reappears.


Outdated cask: Xee

Outdated cask:
xee

Insert the new version of the app: 3.5.2 (checksum 094a80860ab87ca6645fe9360343906fd5aeba7fcbee9085baa1d94077d3a6a7)

Sorry if I didn't do this right, the Issue template was a little confusing.
brew cask install xee does download, but then aborts due to incorrect checksum

https://github.com/caskroom/homebrew-cask/pull/38198


chore(doc): Fix links to demo code source

What
Closes #50
Description
Fixes the links to the GitHub source code for the documentation demos
Type of change

[x] Documentation content changes

@jenny-s51 Fixed the link and added doc comments as needed.


build: migrate to create-typescript-app@1

PR Checklist

[x] Addresses an existing open issue: fixes #83
[x] That issue was marked as status: accepting prs
[x] Steps in CONTRIBUTING.md were taken

Overview
Mostly straightforward bump.

I don't know why @babel/traverse is yelling. I'll let this PR sit for a bit (was going to anyway) then will come back to it.

@all-contributors please add @joshuakgoldberg for infra.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action.
Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed.
...and of course, thank you for contributing! 💙


[migration-engine] Future-proof the JSON-RPC IO layer

As part of the refactorings around the error spec.

The server works with std::future::Future, it will be much easier to
migrate to async/await.
It can take any AsyncBufRead and AsyncWrite (instead of only
stdio). This should enable better end-to-end testing, which we need to properly test error handling.
The code around it is simpler.

Discussed this with @pimeys - I will port these 50 lines to tokio 0.2 instead of async-std tomorrow morning.


Fix issue where lxc_config.h header disappears after some regenerations

In certain circumstances, it was possible for the endpoint lxc_config.h
headerfile to disappear if the endpoint was regenerated twice. In some
circumstances this could be mitigated by the presence of FQDN policy
which would recreate the file, but if the daemon was killed promptly
before the endpoint controller for storing FQDN state runs, or if the
user manually regenerates the endpoint multiple times, then the file
could be missing.
If you combine this with an agent restart, this may cause Cilium to
forget about managing an endpoint which it previously managed,
potentially leading later to connectivity issues when Cilium fails to
push policy entries for this endpoint to allow traffic to flow.
This patch fixes the issue by ensuring that if the headerfile is not
recreated during the regeneration process, the old one is moved on the
filesystem from the existing path into the new state dir path.
Fixes: 6778d02 ("endpoint: Only rewrite headerfile when ep changes")
Fixes: #10337
Fixes: #10603

test-me-please

Coverage decreased (-0.007%) to 45.594% when pulling bca672dfe91c42c74e6f41c951ed91c42fb74bfd on joestringer:submit/fix-header-regeneration into ebd73929c3ae97a7a37424b10c603cd87d591bc8 on cilium:master.


Filename problem if contain "." in Kobo profiles

If a file name input contains the character "." , all characters after that will be skipped in the output file.
For example: "Vol.01 Ch.001 - Shinmen Takezo.cbz" will be named "Vol.kepub.epub".
Organizing files is super difficult.  Renaming the origin files to not include "." is impossible because the number of chapters can be easily 300.

Related #613


Start work on String#%

[#217] [#869]
We have to start somewhere!
I found it easier at this stage to use xit et al to disable broken specs. We have NATFIXME now for marking known-broken tests, but when it's hundreds of broken tests at the beginning of a project, it's easier to %s/it/xit 😄

So, this makes me wonder... could we rename NATFIXME to xit so that it's a bit more natural to use... You can %s/it/xit with ease, and we'll know when tests start passing? Just a though. 🤔

I think there are some tests in ruby/spec that are xit'd (or it statements that dont have a block which are treated as an xit) so maybe that would run afoul of renaming NATFIXME to xit ?  The way the NATFIXME is written right now is more of a wrapper around the expectation than a replacment for it.
Altenatively we could wrap it+NATFIXME as nxit or fixit, this more naturally covers the case where you want to skip the whole test.

I think there are some tests in ruby/spec that are xit'd

Yeah, good point. OK, well what we have is fine for now.


fix: add compiler conditional to hover style

Summary:
Commit https://github.com/facebook/react-native/commit/73664f576aaa472d5c8fb2a02e0ddd017bbb2ea4 broke two jobs in CircleCI that we run using Xcode 14.3.1 because the commit introduced some types that are available only to iOS 17.
The code was wrapped around if(@available()) statement, but this does not compile out the code. It is a runtime check and the code needs to build anyway.
This takes effect at compile time as well. However, unlike with #available, the method must type check and compile. The code will always be emitted into your binary: however, it will only be used when the binary is executed on platforms that meet the availability requirements.
source: forums.swift.org/t/if-vs-available-vs-if-available/40266/2
This change should fix it, introducing some compile time pragmas that removes the code if we build with older versions of Xcode
Changelog:
[IOS] [ADDED] - Compiler conditionals for hover style (cursor: pointer)
Test Plan:
CI Green

Sorry :( I had thought main didn't need to test Xcode 14.3 anymore. Guess not.


Fix #384 - bin2llvmir: Be more strict when merging values

This fixes the issues mentioned in #384. I merely removed the check that made load result and the load origin considered equivalent, this is definitely wrong. Maybe some other checks here are also wrong, I can't really tell.

Massive test fallout :disappointed:
I guess that this change is a no-go. But maybe you could help me understand why it has such a massive impact.

I will look into this. I think there might be something there - the change is not entirely bad and might make sense. But it looks like many RetDec parts are relying on the original behavior - maybe they should not and it should be solved in a different manner.

@PeterMatula Were you able to look into this?


successUrl parametr

Need add parametr 'successUrl' in metod p2p.create_p2p_bill

https://developer.qiwi.com/en/p2p-payments/#http

This parameter is not related to the create_p2p_bill implemented in the glQiwiApi. The successUrl is a parameter of the payment form. I always doubt if I need to implement it because the QIWI says:

When using this method, one cannot be sure that all invoices are issued by the merchant. API invoice creation mitigates this risk.


render markdown in html in markdown

Feature Description
it would be nice if gitea could render markdown in html in markdown.
on github this now lets us use html  tags while still allowing us to write markdown inside.
Screenshots
No response

Gitea already supported it?
https://try.gitea.io/wxiaoguang/test/issues/33

title

    link

apologies, i forgot a breakline before starting my codeblock and it failed to render.
i'll close unless that's a bug.


Fix library entry media field

It was not giving back the media if it was NSFW and the sfw filter was turned off

What
Fix media not being given back in library entry query if it was NSFW.

Why
It throws an error whenever you try to query the entry
STEPS:

Add a R18 media in your library on kitsu website as COMPLETED
Go on kitsu playground
Write the following query

query session{
  currentAccount {
    profile{
      library{
        completed(mediaType: ANIME, first: 100) {
          nodes {
            nsfw
            media{
              id
            }
          }
        }
      }
    }
  }
}

and add the Authorization Header

Query

It should return this error

Checklist

[ ] All files pass Rubocop
[x] Any complex logic is commented
[x] Any new systems have thorough documentation
[x] Any user-facing changes are behind a feature flag (or: explain why they can't be)

[x] All the tests pass
[ ] Tests have been added to cover the new code

Thanks so much for fixing this!


Batch normalization

I've found the Zuko library to be extremely beneficial for my work. I sincerely appreciate the effort that has gone into its development. In the Masked Autoregressive Flow paper (NeurIPS, 2017), the authors incorporated batch normalization following each autoregressive layer. Could this modification be integrated into the MaskedAutoregressiveTransform function?

Dear @francois-rozet, thank you very much for your quick reply. I will try to make a PR using the strategy you suggest.


Add trial implementation of handling binary data feature

This PR tries to implement handling binary data feature, relates to #28 and #53.
This may include implementation and testing omissions due to a lack of understanding of the Slipstream overview.
Roughly, I first prepare the Serializer behaviour as Slipstream.Serializer, then implement client side silializer which corresponding to Phoenix V2 JSON serializer.
I followed the TDD, first added tests to synchronicity_test.exs and then implemented to satisfy them.
This PR is intended to be the base of implementation and should be modified to fit this project.

Currentry I refactor lib/slipstream/connection/impl.ex, could you wait a little longer for the review, till it will be finished.

@the-mikedavis Could you review this when you are free?

Thanks for the PR! I am away for a few weeks but I will give the changes a proper look when I get back.

I fixed the credo issue. I will fix the following coverall issue later, thanks.
https://coveralls.io/builds/60510158/source?filename=lib%2Fslipstream%2Fserializer%2Fphoenix_socket_v2_serializer.ex

Thanks for your review! I added one commit, a065394037205fc88c4a517813ea9aa84b2e3221, for it. This commit make that

user can change json_parser as before
there is no need to deprecate json_parser config

How about this?


Vibration support

Hello! What about vibration support? It isn't working. I hope you solve this problem. Thx for nice emulator of X360 gamepad.

@csutorasa Jocys it's having lots of trouble implementing this, you may want to take a look for reference at x360ce since he is also using SharpDX and ViGEm

I am working on this. Somehow my only force feedback device is not configured properly on my machine. Registry settings are not correct and I am trying to make things work from the Microsoft specification. I plan to include this in the next release, and will update you with the progress.
Maybe x360ce project can be useful as well, I will look into that as well.

@csutorasa I know about x360ce but in find XOutput more convenient for me. I hope you'll solve this problem and include this in next release. Please don't stop working on this project. Many good projects which had good prospects had been closed... It's awful.

I am working on this issue, but seems to be more complex than I thought it would be.

Hey there, any update on this? If you implement Rumble support for Xinput devices, then you'll be my savior! So far nothing was able to add rumble support for my Dualshock 2 except xbox360ce, but it has to be configured for each new application. Hopefully you don't give up on this!

The force feedback test works for me. I currently do not have any games where I could try the force feedback functionality, and I am not sure about if it works in games. Could you test the developer release? If it works I will release the stable version soon.

Because of the lack of feedback I released v3.3 with this feature. If you have any issues I will try to fix it later.

@csutorasa It's cool! I will test in some games on the weekend.

hello could help me, I installed the ViGEm Bus driver, I followed the steps of the link: https: //github.com/nefarius/ViGEm/wiki/Driver-Installation, so now I can not unsubscribe, I ran powershell as admin and I put the command to uninstall:
Remove-ViGEmBusDevice -InstanceId ROOT \ SYSTEM \ 0004
but this appears:
(Remove-ViGEmBusDevice: You require administrative privileges for this action.
In the line: 1 character: 1

Remove-ViGEmBusDevice -InstanceId ROOT \ SYSTEM \ 0004

+ CategoryInfo: PermissionDenied: (ROOT \ SYSTEM \ 0004: String) [Remove-ViGEmBusDevice], UnauthorizedAccessE
   xception
    + FullyQualifiedErrorId: UnauthorizedAccessException, ViGEmManagementModule.Cmdlets.RemoveViGEmBusDevice)
I tried to look for the driver: virtual gamepad emulation bus properties, in the device manager to uninstall, but the driver does not appear, my control has stopped working. Please help me I do not know what to do, I'm using google translate to communicate I'm Brazilian I speak Portuguese.

hello could help me, I installed the ViGEm Bus driver, I followed the steps of the link: https: //github.com/nefarius/ViGEm/wiki/Driver-Installation, so now I can not unsubscribe, I ran powershell as admin and I put the command to uninstall:
Remove-ViGEmBusDevice -InstanceId ROOT \ SYSTEM \ 0004
but this appears:
(Remove-ViGEmBusDevice: You require administrative privileges for this action.
In the line: 1 character: 1

Remove-ViGEmBusDevice -InstanceId ROOT \ SYSTEM \ 0004

+ CategoryInfo: PermissionDenied: (ROOT \ SYSTEM \ 0004: String) [Remove-ViGEmBusDevice], UnauthorizedAccessE
   xception
    + FullyQualifiedErrorId: UnauthorizedAccessException, ViGEmManagementModule.Cmdlets.RemoveViGEmBusDevice)
I tried to look for the driver: virtual gamepad emulation bus properties, in the device manager to uninstall, but the driver does not appear, my control has stopped working. Please help me I do not know what to do, I'm using google translate to communicate I'm Brazilian I speak Portuguese.

Hi, I think a new version is released from ViGEm and it is not backward compatible. I am not the developer of ViGEm, please contact Nefarius.

OK thank you for the attention
2018-06-18 15:02 GMT-03:00 Ármin Csutorás<EMAIL_ADDRESS>
Hi, I think a new version is released from ViGEm and it is not backward
compatible. I am not the developer of ViGEm, please contact Nefarius
https://github.com/nefarius.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/csutorasa/XOutput/issues/22#issuecomment-398142895,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ame1DcB9Or3FLX473FcfhThdRzyieBisks5t9-sfgaJpZM4Su82j
.

hello, any news about the v3.4 to have vibration, cause i have no vibration with my wheel, but the game (TT isle of man) has good vibratin with my XBX1 pad.

I'm using google translator. I do not know, I'm currently using (Motionin
Joy Gamepad Tool: offline version) it works great with my control, the
control and recognized as of xbox 360 and the vibration works perfectly.
Em seg, 22 de out de 2018 às 23:35, Kolysion<EMAIL_ADDRESS>escreveu:

hello, any news about the v3.4 to have vibration, cause i have no
vibration with my wheel, but the game (TT isle of man) has good vibratin
with my XBX1 pad.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/csutorasa/XOutput/issues/22#issuecomment-432065643,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ame1DVLm9HvRhYipYrir2pGEz8FrWGzQks5unoBwgaJpZM4Su82j
.


auth.tesla.com can erroneously display access revoked message

I realize this repo isn't for the Tesla auth API, but cataloging it here for visibility with Tesla and other developers that I'm sure will run into this.
If you send a user to https://auth.tesla.com/en_us/user/revoke/consent?revoke_client_id=[client_id], it may erroneously show the revoked message automatically without pressing the Remove Access button. Notably, access is not actually revoked.
If the user then visits https://accounts.tesla.com/en_us/account-settings/security?tab=tpty-apps, they can click the app, see that access is not revoked, and then click the Remove Access button, which does revoke access.
This has happened to several users, and the shared factor is that they're on an EU account. So seems like possibly a weird redirect issue going on there.

I wonder if this is somehow linked to https://github.com/teslamotors/vehicle-command/issues/139?

We've now upgraded the system, this should be resolved. Thank you for the feedback to chase this down!


check mission item speed

Fix for #341 .

Closing in favor of https://github.com/PX4/avoidance/pull/434


[SPARK-19501][YARN] Reduce the number of HDFS RPCs during YARN deployment

What changes were proposed in this pull request?
As discussed in JIRA, this patch addresses the problem where too many HDFS RPCs are made when there are many URIs specified in spark.yarn.jars, potentially adding hundreds of RTTs to YARN before the application launches. This becomes significant when submitting the application to a non-local YARN cluster (where the RTT may be in order of 100ms, for example). For each URI specified, the current implementation makes at least two HDFS RPCs, for:

Calling getFileStatus() before uploading each file to the distributed cache in ClientDistributedCacheManager.addResource().
Resolving any symbolic links in each of the file URI, which repeatedly makes HDFS RPCs until the all symlinks are resolved. (see FileContext.resolve(Path), FSLinkResolver.resolve(FileContext, Path), and AbstractFileSystem.resolvePath().)

The first getFileStatus RPC can be removed, using statCache populated with the file statuses retrieved with the previous globStatus call.
The second one can be largely reduced by caching the symlink resolution results in a mutable.HashMap. This patch adds a local variable in yarn.Client.prepareLocalResources() and passes it as an additional parameter to yarn.Client.copyFileToRemote.  The symlink resolution code was added in 2013 and has not changed since. I am assuming that this is still required, but otherwise we can remove using symlinkCache and symlink resolution altogether.
How was this patch tested?
This patch is based off 8e8afb3, currently the latest YARN patch on master. All tests except a few in spark-hive passed with ./dev/run-tests on my machine, using JDK 1.8.0_112 on macOS 10.12.3; also tested myself with this modified version of SPARK 2.2.0-SNAPSHOT which performed a normal deployment and execution on a YARN cluster without errors.

Can one of the admins verify this patch?

ok to test

Test build #72828 has started for PR 16916 at commit dac61b5.

Test build #72828 has finished for PR 16916 at commit dac61b5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72828/
Test PASSed.

Test build #72832 has started for PR 16916 at commit 523c58c.

Test build #72832 has finished for PR 16916 at commit 523c58c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72832/
Test PASSed.

Is it possible to merge the stat cache and the symlink cache? It seems both are sort of doing the same thing.

@vanzin statCache stores the result of getFileStatus or globStatus calls to HDFS, which do not resolve symlinks, so unless we give up symlink resolution, I don't think that merging them is sufficient.

I see. Makes sense. Pinging @tgravescs too, he wrote the original stuff that introduced symlink resolution, maybe he can comment on whether it's really necessary.
If it is, then the patch looks good to me, otherwise we could get rid of it.

we should not remove symlink resolution.

Let me know if any further modification is needed before committing this to master. Once it is merged, I will prepare the backports to branch-2.0 and branch-2.1. Thanks.

Merging to master.

Merged to branch-2.1 and branch-2.0 too (after running yarn tests).

Cool! Thank you :)


Transliteration generator

Generates English transliteration.

[ ] Write documentation
[ ] Write more tests

 Re-write GurbaniNow Gurmukhi Utils to JS


Add pdc_administrator_password to Example Playbook

Closing with the reason as explained in https://github.com/justin-p/ansible-role-pdc/issues/4.


add Defaults DropRoot as default parentSelector for a SelectConnected

Proposed Changes
Every SelectConnect use the default drop root as parent Selector to avoid bad rendering when a single select is used inside a small container "position: relative"
Potential Breaking Changes
I not sure yet but I dont think its a bad idea to always use the default root as parent selector to have the maximum space to render the dropdown
Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

Codecov Report

Merging #1279 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1279      +/-   ##
==========================================
+ Coverage   99.45%   99.46%   +0.01%
==========================================
  Files         358      358
  Lines        8978     8978
  Branches     2130     2130
==========================================
+ Hits         8929     8930       +1
+ Misses         49       48       -1

Impacted Files
Coverage Δ

...ct-vapor/src/components/select/SelectConnected.tsx
100% <ø> (ø)
:arrow_up:

...ckages/react-vapor/src/components/drop/DropPod.tsx
97.77% <0%> (+1.11%)
:arrow_up:

Continue to review full report at Codecov.

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

If you open a dropdown in the tableHOC demo it crashes


Plasma contains

I ask if there is an object in plasma using client.contains(objectID), and it returns false, then I try to save the object and it says that it is already there. I know this happens beacuse another client has added the object in there. What I do not understand is why it says that the object it iis not contained in plasma. I even print the plasma store using list, and it is not there either??
How can I check if an object is stored in plasma without attempting to store it again. Thank you

You can ask questions on<EMAIL_ADDRESS>Thanks

I sent an email and it block me. Could you respond at these ticket please


DRM: Allow checking no-crtc connectors

Some connectors might not have a CRTC at initialization, but these can receive them later via rescanCRTCs. However, if we nope out early, they will never be marked as "connected" thus will be ignored forever.
ref: https://github.com/hyprwm/Hyprland/issues/7292 https://github.com/hyprwm/aquamarine/issues/40 https://github.com/hyprwm/Hyprland/issues/7238 possibly more

related:
https://github.com/hyprwm/Hyprland/issues/7320
https://github.com/hyprwm/Hyprland/issues/7321
maybe:
https://github.com/hyprwm/Hyprland/issues/7282
https://github.com/hyprwm/Hyprland/issues/7322

thanks! Can OPs please test?

Tested this MR and I have output on external monitors for https://github.com/hyprwm/Hyprland/issues/7238
Do you want tracelogs for confirmation?

interestingly, no output is detected when first boot in tty2. Open up another tty3 and start with HYPRLAND_TRACE=1 AQ_TRACE=1 Hyprland, still no output but when I switch back to tty2, the external monitors work

uhhhh but tty1 works? thats fun. Anyways, if it improves, that's a +1 to me.
Others?


Analyzer error on bad paths in package config is unactionable

When passing a package config with --packages and running dart analyze, there is no actionable feedback if any of the paths in that config are broken. Other dart commands like run produce more actionable feedback.
Repro steps
Create an app with a broken config:

dart create testapp
`cd testapp
`mkdir .dart_tool/nested
mv .dart_tool/package_config.json .dart_tool/nested/ (we now have a package_config with is bad, as it uses relative paths)

Analyze:
$ dart --packages=.dart_tool/nested/package_config.json analyze .
Analyzing ....                         1.5s

  error • bin/testapp.dart:1:8 • Target of URI doesn't exist: 'package:testapp/testapp.dart'. Try creating the file referenced by the URI, or Try
          using a URI for a file that does exist. • uri_does_not_exist

This does give any feedback mentioning the file it's trying to locate, so it's not really actionable. Compare to run:
$ dart --packages=.dart_tool/nested/package_config.json run bin/testapp.dart
bin/testapp.dart:1:8: Error: Error when reading '.dart_tool/lib/testapp.dart': No such file or directory
import 'package:testapp/testapp.dart' as testapp;
       ^

Hmm. The message says, "Target of URI doesn't exist: 'package:testapp/testapp.dart'." I guess it could indicate where it searched on disk, like the CFE error. For example, given a package: URI, it could even say, "I dunno what that package is; it's not in 'package_config.json'".


error with DI in unit tests

I have created some services via ng g service <NAME>.
I have added the service to app.ts bootsrap:
import {bootstrap} from 'angular2/platform/browser';
import {AngularDayPickerApp} from './app/angular-day-picker';
import {CalendarHelper} from './app/services/calendar-helper/calendar-helper';
import {Utils} from './app/services/utils/utils';

bootstrap(AngularDayPickerApp, [
  CalendarHelper,
  Utils
]);

Running ng serve works correctly and services are injected without any problems.
The issue happens when I am running ng test:
Failed: No provider for Utils! (CalendarHelper -> Utils)
Error: DI Exception

Should I do something in the karma configuration?
Here is the full stacktrace:
Chrome 48.0.2564 (Mac OS X 10.10.5) CalendarHelper Service should build correct month for any day of week FAILED
        Failed: No provider for Utils! (CalendarHelper -> Utils)
        Error: DI Exception
            at NoProviderError.BaseException [as constructor] (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:7351:21)
            at NoProviderError.AbstractProviderError [as constructor] (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:1649:14)
            at new NoProviderError (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:1673:14)
            at Injector._throwOrNull (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11547:15)
            at Injector._getByKeyDefault (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11592:19)
            at Injector._getByKey (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11540:21)
            at Injector._getByDependency (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11528:21)
            at Injector._instantiate (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11423:32)
            at Injector._instantiateProvider (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11395:21)
            at Injector._new (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11385:19)
            at InjectorDynamicStrategy.getObjByKeyId (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11263:42)
            at Injector._getByKeyDefault (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11586:33)
            at Injector._getByKey (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11540:21)
            at Injector.get (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11340:19)
            at /Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/testing.dev.js:1917:25
            at Array.map (native)
            at Array.map (/Users/vioffe/personal/angular-day-picker/node_modules/es6-shim/es6-shim.js:1113:14)
            at FunctionWithParamTokens.execute (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/testing.dev.js:1916:33)
            at TestInjector.execute (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/testing.dev.js:1864:17)
            at Object.<anonymous> (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/testing.dev.js:1978:44)
            at Object.<anonymous> (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/testing.dev.js:1997:11)
            at /Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/testing.dev.js:1986:15
            at Zone.run (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:1243:24)
            at zoneBoundFn (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:1220:26)
            at lib$es6$promise$$internal$$tryCatch (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:468:17)
            at lib$es6$promise$$internal$$invokeCallback (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:480:18)
            at lib$es6$promise$$internal$$publish (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:451:12)
            at /Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:123:10
            at Zone.run (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:1243:24)
            at zoneBoundFn (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:1220:26)
            at MutationObserver.lib$es6$promise$asap$$flush (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:262:10)
Chrome 48.0.2564 (Mac OS X 10.10.5) MonthBoard Component should ... FAILED
        Failed: No provider for CalendarHelper! (MonthBoard -> CalendarHelper)
        Error: DI Exception
            at NoProviderError.BaseException [as constructor] (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:7351:21)
            at NoProviderError.AbstractProviderError [as constructor] (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:1649:14)
            at new NoProviderError (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:1673:14)
            at Injector._throwOrNull (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11547:15)
            at Injector._getByKeyDefault (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11592:19)
            at Injector._getByKey (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11540:21)
            at Injector._getByDependency (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11528:21)
            at Injector._instantiate (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11423:32)
            at Injector._instantiateProvider (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11395:21)
            at Injector._new (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11385:19)
            at InjectorInlineStrategy.instantiateProvider (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:11149:28)
            at ElementDirectiveInlineStrategy.init (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:9081:20)
            at new AppElement (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:8771:24)
            at HostViewFactory.viewFactory_HostMonthBoard0 [as viewFactory] (viewFactory_HostMonthBoard:73:29)
            at AppViewManager_.createRootHostView (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:6461:34)
            at /Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2.js:12356:46
            at Zone.run (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:1243:24)
            at zoneBoundFn (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:1220:26)
            at lib$es6$promise$$internal$$tryCatch (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:468:17)
            at lib$es6$promise$$internal$$invokeCallback (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:480:18)
            at lib$es6$promise$$internal$$publish (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:451:12)
            at /Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:123:10
            at Zone.run (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:1243:24)
            at zoneBoundFn (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:1220:26)
            at MutationObserver.lib$es6$promise$asap$$flush (/Users/vioffe/personal/angular-day-picker/node_modules/angular2/bundles/angular2-polyfills.js:262:10)
Chrome 48.0.2564 (Mac OS X 10.10.5): Executed 4 of 4 (2 FAILED) (0.097 secs / 0.093 secs)

Heya, can you show me the failing test?
I believe this issue is not due to karma per se, but rather due to the test.

Here it is:
import {it,iit,describe,ddescribe,expect,inject,injectAsync, TestComponentBuilder,beforeEachProviders} from 'angular2/testing';
import {provide} from 'angular2/core';
import {CalendarHelper} from './calendar-helper';
import Moment = moment.Moment;
import MomentStatic = moment.MomentStatic;
import {Utils} from '../utils/utils';

describe('CalendarHelper Service', () => {

  beforeEachProviders(() => [CalendarHelper]);

  it('should build correct month for any day of week', inject([CalendarHelper, Utils], (service: CalendarHelper, utils: Utils) => {
    let dayOfMonth: Moment = moment('03-05-2016', 'MM-DD-YYYY');
    utils.range(0, 6).forEach((startDayOfWeek) => {
      let weeks: Moment[][] = service.getMonthWeeks(dayOfMonth, startDayOfWeek);
      expect(weeks.length).toEqual(6);
      weeks.forEach((week: Moment[]) => {
        expect(week.length).toEqual(7);
        expect(week[0].day()).toEqual(startDayOfWeek);

        week.forEach((day: Moment) => {
          expect(day.isSame(dayOfMonth, 'M'));
        });
      });
    });
  }));
});

Note that eve if I remove the Utils class I still getting issue with the CalendarHelper DI.

Try this (note Utils added in the array):
(...)
describe('CalendarHelper Service', () => {

    beforeEachProviders(() => [Utils, CalendarHelper]);

(...)

@filipesilva thanks, it seems to solve the issue with the injections.
One more question if I may ask, should I include somewhere the 3rd party libs in my tests? I have added momentjs to my project to the apps/assets folder, as suggested by the developing team, until there will be official support for 3rd party libs.

I'm glad it worked!
I don't have a definite answer to the 3rd party libs question at the moment, unfortunately. We are working on it, but at the moment the best approach is the one in https://github.com/angular/angular-cli/issues/274.

Error: No provider for name!
I am getting above error in angular 2 rc5 version. Any help on the same is appreciated.

@RaghuRangaraj the Angular docs have been updated to include extensive testing documentation: https://angular.io/docs/ts/latest/guide/testing.html
This documentation is for Angular 2.0.0 final, so I advise you to update.


Adds stub for ServiceEntityRepository

This stub was missing, hope it helps :-)

Thank you!

I assume this change makes phpstan complain

Class Acme\MyRepository extends generic class Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository but does not specify its types: TEntityClass

@ondrejmirtes @gianiaz what annotation do I need to put on MyRepository to make phpstan know the "TEntityClass"?
I tried @implements ServiceEntityRepository<MyEntity> but that wasn't it.

Somewhat related to #67

You’re extending a class so you need @extends. Here’s the docs: https://phpstan.org/blog/generics-in-php-using-phpdocs

Thanks @ondrejmirtes

Following this PR and #67, is there a way to automatically define TEntityClass with the 2nd argument of ServiceEntityRepository::__construct() through a PHPStan extension?
This way users won't have to @extends ServiceEntityRepository<MyClass> manually.
Thanks!

@Kocal It's not feasible to do something like that in an extension, having @extends annotation is required. Already answered here: https://github.com/phpstan/phpstan-doctrine/issues/178

Alright, sorry for not seeing the response before.
Thanks!


Renaming problem

can you add an option for not renaming files it's make some inversion depending the initial name

could you give an example?
What is the input?
What is expected?
What is the current result?

I've just run into this problem. My .cbz file was in the incorrect order after converting due to all the files being renamed during the process.
The problem part of the file name structure was:
Input:
"...c041 (v05) - p016..."
"...c041#1 (v05) - p017..."
Output:
"...c0041-v0005-p016..."
"...c0041-0001-v05-p017..."
Only some of the files have a "#1" or "#2" in them, and the renaming method makes them sort above where they were originally, so page 17 came before page 16.
My expected result would be that the converter wouldn't change the file names at all. I can understand adding the "-kcc" at the end, but that's it. The changing to lower case, removal of characters, the removal of spaces, and whatever its doing adding extra "0"s is unwanted.


cannot load http://localhost:8080

I updated my web.config file and lunched the demo web app.But when i go to http://localhost:8080 i got Unable to connect.
Thanks.
Talley

You need to run the DNTProfiler application too. You can download it from here. DNTProfiler application creates a server and then starts listening to the logs that are coming from your application.


Update StakeThat.toml

Description
All previous genesis validators should name their PRs "Update {validator_alias}.toml for tesntet-15" and provide links to previous PRs merged.
If this is an UPDATE for a previous genesis validator
Checks are made against your net_address. If this has changed since the previous testnet, make sure you provide links of previous prs merged from your previous git username.
Thanks in advance!
Checklist before merging

[x] Only one toml is added in this PR
[x] The file being added is indeed a .toml file
[x] The toml being added is to the correct folder, and only to the correct folder
[x] The eth_hot_key and eth_cold_key are present
[ ] The email, discord, elements telegram, and twitter fields are present and valid

prevous PR: https://github.com/anoma/namada-testnets/pull/1050

Successfully validated transactions.toml file for commit hash 75031ac


 I have an initial draft of code that I'd love to add and enhance further. Kindly assign me this issue and add labels for my contribution towards hacktoberfest. Thanks!

@darkhorse404 I raised a pr
Link: https://github.com/SamarthTech/python-projects-2024/pull/67


More accessible format of model annotations

Description of the issue:
Currently, the model annotation information (e.g., reaction and metabolite KEGG IDs, metabolite HMDB IDs, etc.) is stored in the SBML version (.xml) of the model, or the annotation .JSON files: humanGEMMetAssoc.JSON and humanGEMRxnAssoc.JSON.
Although the information can be retrieved by loading the JSON files into Matlab, the JSON format does not seem to be the most intuitive or human-readable format for such information. I think it would be convenient to instead store this data in a tabular format (e.g., .tsv) that can easily be read in its raw form, imported by other languages (python, R), or viewed in Excel, for example. Furthermore, if a change is made to a reaction or metabolite (or a metabolite is deleted/added), it would be nice if it all ends up on a single line, rather than being spread across multiple lines.
I don't recall what the original justification of using the .JSON format was, so please let me know if I'm missing a major advantage. Also, I don't think standard-GEM yet advises on how to format such information.
My suggestion would be to change the .JSON files to a .tsv or similar format. However, I know that this would likely require reworking some pipelines, namely with importing the data into Metabolic Atlas. There is also an issue (#157) suggesting that we convert the gene annotation file from .tsv to .JSON - I fully support having these all in one location/format, but why not .tsv?
Another option (or in addition to the one above) could be to enhance the export of the Excel model version so that all the annotation information is appended as additional columns in that document. That would mean that we continue using the same .JSON annotation files, but users could instead extract the data from the .xlsx file (though I am generally hesitant to trust Excel not to silently change content, such as gene names to dates).
Please let me know what your thoughts are on this; in particular @Hao-Chalmers since you established the JSONs, and @pecholleyc since this will affect import into Metabolic Atlas, and @mihai-sysbio if anything in the context of standard-GEM relates to this issue.
Expected feature/value/output:
A more accessible/human-readable annotation file format.
I hereby confirm that I have:

[X] Checked that a similar issue does not exist already

@JonathanRob the initial adoption of JSON format for archiving annotation was proposed by #75, based on following considerations:

open-standard plaintext format
language independent, ease import/export by Matlab, Python and R

Thanks to the refactoring of the data import process into Metabolic Atlas done by @pecholleyc, it is much easier now to adapt to new formats. The latest import format for model annotation is indeed .tsv like below:

@id	db_name	ext_id	link
m00001c	BiGG	carveol	https://identifiers.org/bigg.metabolite:carveol
m00001c	KEGG	C00964	https://identifiers.org/kegg.compound:C00964
m00001c	ChEBI	CHEBI:15389	https://identifiers.org/CHEBI:15389
m00001c	Recon3D	carveol	https://identifiers.org/vmhmetabolite:carveol
m00001c	MetaNetX	MNXM45735	https://identifiers.org/metanetx.chemical:MNXM45735
m00001s	BiGG	carveol	https://identifiers.org/bigg.metabolite:carveol

From the perspective of standard-GEM, the closest recommendation at the moment is to use the sbtab format.
I believe the issue with the json format is its current structure, where all ids of the same type are grouped together, instead of grouping by reaction/metabolite. Perhaps there are other Matlab built-in ways of obtaining a json in addition to cell array.

I wonder if #157 can be continued or not?

@Hao-Chalmers we can continue with #157, though I'm still in support of converting all such annotation files (genes, metabolites, and reactions) to a tsv-like format. We/I have received many questions and requests from users for association and annotation information, which tells me that the JSON format is not very intuitive for people to use.

Taking steps usually makes good progress, so I agree to firstly solve #157, then #203.
The JSON format files were initially adopted for storing annoation info. They work pretty well in script-based manipulation ( by Matlab and Python) and tracking changes on GH. So far, a workflow has evolved with these JSON files and associated functions/scripts. Therefore, tsv format annotation files can be conveniently, routinely and automatically extracted from these JSON files with every release.
Not sure whether to deposit tsv annotation files to Human-GEM repo, or Metabolic Atlas which was designed for intuitive viewing purpose.

The way I see things, I would recommend tsv annotation files to be stored in the repository, such that any other website/tool can have access to it. Ideally, such a recommendation would come from an approach like standard-GEM.
Is it really necessary to have both json and tsv though? If yes, I would suggest that both are derived from the same source, rather than one being derived from the other.

@mihai-sysbio I completely agree - duplicating this information in two locations (formats) risks that they become inconsistent, requiring even further consistency checks.
Since there is no "source" to generate the annotation files from, my suggestion is to convert the json files to tsv format, update any functions/workflow that uses these json files to instead use the tsv files, then delete the json files. The tsv files then effectively serve as an "annotation database" for Human-GEM, as did the json files.

If there are no objections, I volunteer to implement the json --> tsv conversion, including updating any functions that use these files.

This issue was resolved in PR #212.


Push to branch

This implements the simplest workable design for pushing to a branch other than the branch checked out. If .spec.push.branch is present in the ImageUpdateAutomation object, the controller will check out that branch, creating it if necessary, and commit to it before pushing to the origin repo.
This is conceptually and mechanically simple, and does enough to build further automation on -- e.g., a GitHub Action that creates a pull request when it sees the branch created.
Addresses #120.

@stefanprodan Do you think we should mark this as experimental in some way? I feel like I need to try building some e.g., GitHub Actions automation on top to make sure it works nicely in the way we anticipate (but don't have time right now)

I'll work on the GH Actions example, if you can update the spec doc to describe the feature it would be great. The whole API is experimental being alpha so I don't think we need to do anything special for this field.


More than you type found for string

Hi!
I was trying to parse a return file and encountered an issue with the library (see stack trace below).
I can provide a redacted sample file to replicate the issue but I wasn't able to figure out the problem myself.
Do you know what might be wrong?
Thanks!
Daniele
com.afrunt.jach.exception.ACHException: More than one type found for string

	at com.afrunt.jach.logic.ACHErrorMixIn.error(ACHErrorMixIn.java:32)
	at com.afrunt.jach.logic.ACHReader.getTypeWithHighestRate(ACHReader.java:143)
	at com.afrunt.jach.logic.ACHReader.typeOfString(ACHReader.java:102)
	at com.afrunt.jach.logic.ACHReader.access$300(ACHReader.java:39)
	at com.afrunt.jach.logic.ACHReader$StatefulACHReader.findRecordType(ACHReader.java:291)
	at com.afrunt.jach.logic.ACHReader$StatefulACHReader.readDocument(ACHReader.java:221)
	at com.afrunt.jach.logic.ACHReader.read(ACHReader.java:49)
	at com.afrunt.jach.logic.ACHReader.read(ACHReader.java:45)
	at com.afrunt.jach.ACH.read(ACH.java:80)
	at com.afrunt.jach.ACH.read(ACH.java:75)

@sfdaniele please provide the sample file to reproduce the bug

bad_ach.txt
There you go! As you'll notice the file is incomplete as the error happens on line 2 independently of the lines below. That should be sufficient to replicate the issue.
Thanks!
Let me know if you need more information.

@sfdaniele ok, I will fix it today and notify you

Great! Can you send me an email at<EMAIL_ADDRESS>I can certainly redact the file and send it to you but I'd like to avoid publishing the redacted file to GitHub, there might be small things I might miss.

Hi there.  I've just hit this issue too.  Any chance of a release date soon?  :)

@as-currenxie what type of ACH batch do you use?


error when using notion plugin in flow launcher

Flow Launcher version: 1.17.2
OS Version: 22631.3227
IntPtr Length: 8
x64: True
Python Path: C:\Users\Sibayak UM5302\AppData\Roaming\FlowLauncher\Environments\Python\PythonEmbeddable-v3.8.9\pythonw.exe
Node Path:
Date: 02/26/2024 16:31:32
Exception:
Notion Exception:
Websites: https://github.com/AminSallah/Flow.Launcher.Plugin.Notion
Author: Amin Salah
Version: 1.1.0
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: Object reference not set to an instance of an object.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Flow.Launcher.Plugin.Notion.Main.QueryAsync(Query query, CancellationToken token)
at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass23_0.<b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 196
--- End of stack trace from previous location ---
at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 34
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 195
--- End of inner exception stack trace ---
at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass23_1.b__1(ActionContext ) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 224
at Flow.Launcher.Plugin.Result.ExecuteAsync(ActionContext context) in //Flow.Launcher.Plugin/Result.cs:line 221
at Flow.Launcher.ViewModel.MainViewModel.OpenResultAsync(String index) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 294
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Hey @ahmadmln , This error entirely relay on what you shared with your integration token. plugin attempts to eleminate this error by set a default database to the first one returned by the Notion API.
I can infer that you haven't shared any database with your secret code. You can check by navigating to the plugin settings panel and ensuring that the Default Database is not empty. if so Please see this to share a full database with integraion
To share a database, go to the Database page and select your integration name.

Share at least one database with the token.

After you share the database restart flow launcher or Relod plugin data, Let me know if this fixed the issue.

it works now, and perfectly, thanks so much


fix musescore loading and executable

(for windows)

Do we have a unittest for that?
Then it would be great and would also solve the unixsystem problems.

I don't really know how to do this, can we install a musescore executable on the CI machines? If that's possible, I can add tests.

I think it could be a good idea to add additional dependencies of our CI machines to also check our optional dependencies.
I think on Linux it should be as simple as adding a:
sudo apt-get install musescore

As a command line or the workflow yaml file.


Update vpn-gateway-faq-p2s-all-include.md

Windows Server 2016

We support WS2016 64bit.
(please look at IcM 49539401.)

@ShuheiUda : Thanks for your contribution to the Azure documentation! The author, @azdocprs, has been notified to review your proposed change.

@cherylmc - Please review the proposed changes.  Thanks

#sign-off


Visual formatting changes for linguistic breakdown popups, focus selectors.

Hola y'all!
Nothing excessive in here – just some updates to the formatting of the tooltips and focus styles on the icons. I think that together, these knock some of the issues in #266 (e.g. "one feature per line" and "the stem on a line on its own"). I think that one is a gradual work in progress, but if the aim is to get it in front of users, I'd like to believe this is a good first step in seeing what works (visually) and what doesn't. I think it's much more parsable this way, but would love feedback or critiques.
I didn't write a test for the focus fix because it seems to me there's a test already written for it? If I've read that wrong then I can do that up.

Codecov Report

Merging #337 into master will increase coverage by 0.68%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #337      +/-   ##
==========================================
+ Coverage   85.06%   85.74%   +0.68%
==========================================
  Files          65       65
  Lines        2384     2596     +212
==========================================
+ Hits         2028     2226     +198
- Misses        356      370      +14

Impacted Files
Coverage Δ

CreeDictionary/CreeDictionary/hfstol.py
97.4% <0%> (-0.38%)
:arrow_down:

...ctionary/tests/CreeDictionary_tests/test_hfstol.py
100% <0%> (ø)
:arrow_up:

CreeDictionary/tests/API_tests/model_test.py
97.19% <0%> (+0.08%)
:arrow_up:

CreeDictionary/API/models.py
88.96% <0%> (+1.55%)
:arrow_up:

CreeDictionary/API/apps.py
90% <0%> (+4.28%)
:arrow_up:

Continue to review full report at Codecov.

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

@kobexamoh you should fight for your human right to keep your .vscode folder (not really)

Also, could you see if you can sneak in a change to the z-index of the popups to fix #268?
Right, I pushed a commit to hit #268 as well: can that be brought into this easily enough, or should I make a new PR for it?

Yes! Feel free to bring in that change into this PR, no worries.
El jue., 26 de mar. de 2020 11:44, Kobe Amoh<EMAIL_ADDRESS>escribió:

Also, could you see if you can sneak in a change to the z-index of the
popups to fix #268
https://github.com/UAlbertaALTLab/cree-intelligent-dictionary/issues/268
?
Right, I pushed a commit to hit #268
https://github.com/UAlbertaALTLab/cree-intelligent-dictionary/issues/268
as well: can that be brought into this easily enough, or should I make a
new PR for it?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/UAlbertaALTLab/cree-intelligent-dictionary/pull/337#issuecomment-604576891,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARQE7MOK7SJ3YKJYOQA6BTRJOIBBANCNFSM4LG3WDPQ
.


Fix build issues due to maturin & py03 versions

This PR bump maturin and py03 versions to latests. It also update the Makefile to properly run make test on MacOS.
This should fix https://github.com/quickwit-inc/tantivy-py/issues/33
Note that to successfully build on a MacOS M1, you may need the following rustflags defined in ~/.cargo/config
[target.aarch64-apple-darwin]
rustflags = [
  "-C", "link-arg=-undefined",
  "-C", "link-arg=dynamic_lookup",
]

Output from make test:
$> make test
cp target/debug/libtantivy.dylib tantivy/tantivy.so
python3 -m pytest
================================= test session starts ==================================
platform darwin -- Python 3.9.7, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /Users/nicolas/Documents/git/tantivy-py
collected 21 items

tests/tantivy_test.py .....................                                      [100%]

================================== 21 passed in 3.37s ==================================

thanks, this did the trick for me, also fwiw, afaics a rustup install doesn't need the cargo config, but a brew install rust does.

Thank you @orieg !


sidebar: set active items one shade darker

see: #924.

@urcades updated!

The latest commit should address your concern, @urcades


Does not escape filenames

You do not appear to be escaping your filenames and then your pass the values to shell=True, which will likely lead to an exploit AFAICT. :+1:

Hi @lamby,
Thanks for opening the issue. Could you elaborate a bit more?
Thanks!

Stale. closing due to lack of response.

Stale. closing due to lack of response.

Ah, you do a check and print " Input file contains invalid characters such ". However, did you consider just using shlex.quote and not relying on validation? :)

Ah, you do a check and print " Input file contains invalid characters such ". However, did you consider just using shlex.quote and not relying on validation? :)


border-left for the panes

Today I switched from sublime to atom and I choosed this theme because I think it looks amazing!
...but I have noticed that, if you use multiple panes, there's nothing to show where one pane ends and another one start ...
I'll explain better with a before and after image comparsion:
Before: http://i.imgur.com/uOrNkQR.png
After: http://i.imgur.com/K7y6scW.png
CSS Added:
atom-pane-container atom-pane .item-views {      border-left: 1px solid #2D2D2D;  }

https://github.com/kieranju/accents-ui/commit/fabe24f84c51a85a3a76a189c0d392ab88f737c7 introduces pane borders to help differentiate them when using multiple panes!
I've opted to use a box-shadow to prevent it from nudging elements around.