performance of DTS-SQL in bird

How are the results of DTS-SQL Mistral and DTS-SQL Deepseek on the bird dataset?

Thank you so much for your open source contributions
I used deepseek model version  deepseek-ai/deepseek-coder-6.7b-instruct
and fintune in  bird-sql and spider  ， evaluating  result of finetune mode  in bird-dev as  following :

is different with your results in bird-leadboard :

I would like to ask, what are the possible reasons why the contents of the paper cannot be reproduced?

I think it's probably due to inadequate training. How many Epochs have you trained?@dshwei

I think it's probably due to inadequate training. How many Epochs have you trained?@dshwei

I set 3 epoch

I think it's probably due to inadequate training. How many Epochs have you trained?@dshwei

I set 3 epochs

how many epoch should  be setted

I think it's probably due to inadequate training. How many Epochs have you trained?@dshwei

how many epoch should be setted

training attributes :
lora_r = 64
lora_alpha = 64
lora_dropout = 0.1
output_dir = "./bird_sql_gen"
num_train_epochs = 6
bf16 = True
overwrite_output_dir = True
per_device_train_batch_size = 2
per_device_eval_batch_size = 2
gradient_accumulation_steps = 16
gradient_checkpointing = True
evaluation_strategy = "steps"
learning_rate = 5e-5
weight_decay = 0.01
lr_scheduler_type = "cosine"
warmup_ratio = 0.01
max_grad_norm = 0.3
group_by_length = True
auto_find_batch_size = False
save_steps = 50
logging_steps = 50
load_best_model_at_end= False
packing = False
save_total_limit=3
neftune_noise_alpha=5
report_to="wandb"
max_seq_length = 2100 #set based on the maximum number of queries
peft_config = LoraConfig(
lora_alpha=lora_alpha,
lora_dropout=lora_dropout,
r=lora_r,
target_modules=[
"q_proj",
"v_proj",
"k_proj",
"o_proj",
"gate_proj",
"up_proj",
"down_proj",
"lm_head"
],
task_type=TaskType.CAUSAL_LM,
)

It doesn't seem to exist a configuration problem in your code. You can contact me by email.

It doesn't seem to exist a configuration problem in your code. You can contact me by email.

OK,  What's your email address?


Allow showing the diff and exit 1 if files were changed

What is the current behavior?
Currently, you can either run:

docformatter file, which will display the diff but always exit 0 if nothing was changed
docformatter --check file, which will only display the file name if there is a change and exit 1.

What would you like?
I'd like to be able to both:

show the diff
exit 1if there is a change

in a single invocation, which would allow me to have an easier CI setup, while showing a nice diff to users.
I am happy to contribute the feature once/if there is an agreement that it is worth it and how we want to do it

I am happy to contribute the feature once/if there is an agreement that it is worth it and how we want to do it
Please feel free to submit a pull request with your proposed solution.


Support multiple source directories

Here is my use case : I'm generating my @Entity files into target/generated-sources/another-plugin with another maven plugin.
I would like com.mysema.maven:apt-maven-plugin to be able to handle multiple sources directories with for example a configuration parameter like <sourceDirectories>.

Are you executing the plugins in the right order? And the apt-maven-plugin doesn't pick up the source folder of your other plugin execution?

@anthony-o Have you been able to resolve the issue?

Thanks for your replies @timowest .
Yes, I'm executing the plugins in the right order (the other plugin THEN com.mysema.maven:apt-maven-plugin:1.1.3) and the sources were not taken into account.
As a workaround, for now I'm generating the entities with the other plugin in src/main/other_plugin_generated_src and configured this as a source using:

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>build-helper-maven-plugin</artifactId>
    <version>1.9.1</version>
    <executions>
        <execution>
            <id>add-source</id>
            <phase>generate-sources</phase>
            <goals>
                <goal>add-source</goal>
            </goals>
            <configuration>
                <sources>
                    <source>src/main/other_plugin_generated_src</source>
                </sources>
            </configuration>
        </execution>
    </executions>
</plugin>

And with this, `apt-maven-plugin` use my generated entities.

How do the sources of the other plugin get compiled, if the folder is not added as a compile source root?

Hi,
I've the same issues, my sources that should be processed by apt-maven-plugin are in the src/main/java and the src/main/java-gen package.
The plugin is compiled, because of the build-helper-plugin 'add-source' MOJO that add the java-gen folder in the classpath.
Unfortunately, apt-maven-plugin only uses the src/main/java folder.
It should be nice to either take in account the sources folders added by build-helper (the hard but optimal way), or at least add a mojo parameter 'additionalSourceRoot' parameter.
Unfortunately, I don't have the time to contribute for now, I'll do it when I will, but it can be long. Can anyone investigate on it?
Best regards,
Charlie

Seems the coding is in since 2016 https://github.com/querydsl/apt-maven-plugin/blob/b60bb8eafbda1e011bc9fcaefc0bd2860e6d161e/src/main/java/com/mysema/maven/apt/AbstractProcessorMojo.java#L120 but there is not release cut and hence no new version available on https://mvnrepository.com/artifact/com.mysema.maven/apt-maven-plugin (latest of Nov 2014) Could you please create a new release?


The HTML language ID

I see that the languageId is set to html, but the selector is different from regular html. That is, the selector here is text.html.ngx but other server setups use text.html.basic. If we want to abstract away these document selectors they should all agree for every VSCode language ID.
Could you try changing the languageId to html-ngx and see if this Angular server still works as expected?

It's a server that only works for one languageId so I doubt it even looks at the languageId that we send in textDocument/didOpen

Just a quick search in the server's code returns this:
https://github.com/angular/vscode-ng-language-service/blob/546870c3a486424200aecd1b8255f68ff1dbb415/server/src/session.ts#L26-L29
So it does support multiple languageId's and we should also add typescript here.

Looking at the logic where it compares languageId, it seems like it only explicitly checks for typescript and if it gets something else, it won't really use that value for anything.
https://github.com/angular/vscode-ng-language-service/blob/546870c3a486424200aecd1b8255f68ff1dbb415/server/src/session.ts#L253
So changing to html-ngx should work but I wouldn't personally recommended that as it's not official ID it supports and things could break in the future.

I thought {"languageId": "html", "pattern": "**/*.component.html?"} would perhaps be necessary, given that that's the file extension of this HTML Ngx syntax. But the VSCode client just starts this server for any html file? I'm not well-versed in typescript though https://github.com/angular/vscode-ng-language-service/blob/546870c3a486424200aecd1b8255f68ff1dbb415/client/src/extension.ts#L28-L33

The problem with having different Sublime text selectors for the same language ID is that the matchers are different (obviously), but that causes the language ID stored in the view.settings() to be ambiguous and dependent on the particular server config.

Could you try changing the languageId to html-ngx and see if this Angular server still works as expected?
I'll check on the weekends

So it does support multiple languageId's and we should also add typescript here.
Initially, I added typescript, but from time to time LSP-angular was replacing LSP-typescript capabilities, I'll check this too.

but from time to time LSP-angular was replacing LSP-typescript capabilities, I'll check this too.

What you can do in that case (provided that theia's typescript-language-server is better than angular's), is you can set an empty feature_selector so that its score is always 1, which is less than 16 (= score of typescript's langserver). This will select the typescript langserver in case there's multiple providers (e.g. for completionProvider).
In code:
{
    "languageId": "typescript",
    "document_selector": "source.ts",
    "feature_selector": ""  // prefer other typescript langservers over this one
}

@rwols, hello :)

I thought {"languageId": "html", "pattern": "**/*.component.html?"} would perhaps be necessary

I did some investigation, and I can say that VSCode client starts this server for any HTML file, but only if a valid tsconfig.json file is present in the workspace folder.
I've changed language id to html-ngx and I believe everything is working.

"feature_selector": ""  // prefer other typescript langservers over this one

It seems that the empty feature_selector is not working, because LSP-angular still overrides LSP-typescript with the next configuration:
{
	"languages": [
		{
			"languageId": "html-ngx",
			// ST3 configuration
			"scopes": [
				"text.html.ngx"
			],
			"syntaxes": [
				"Packages/Ngx HTML/NgxHTML.sublime-syntax"
			],
			// ST4 configuration
			"document_selector": "text.html.ngx",
			"feature_selector": "text.html"
		},
		{
			"languageId": "typescript",
			// ST3 configuration
			"scopes": [
				"source.ts"
			],
			"syntaxes": [
				"Packages/JavaScript/TypeScript.sublime-syntax",
				"Packages/TypeScript Syntax/TypeScript.tmLanguage",
				"Packages/User/JS Custom/Syntaxes/TypeScript.sublime-syntax"
			],
			// ST4 configuration
			"document_selector": "source.ts",
			"feature_selector": ""
		}
	],
	"initializationOptions": {},
	"settings": {},
	"env": {
		"TSC_NONPOLLING_WATCHER": "true"
	}
}

Hmm, I agree with rchl in that the language ID should stay html as things can break in the future. Apologies for not communicating that clearly enough.


Implement missing checks

Some checks in the docker_wrapper are missing, namely:
https://github.com/CMA-Lab/bioTEA/blob/df38557ae0f0b33a0e5fda8c8938cefbbec5020d/bioTea/docker_wrapper.py#L188-L195

These checks would be way too onerous to do at the level of the CLI. Let's just have the container crash. With commit 8e72330 I've changed the comments on the code to reflect this decision.


not able to clear column filter in iTwin table

We're using an itwin react table with a column filter. If we search the data presented in the table, we will get the expected result and a horizontal scroll bar based on the width. If the table data does not include the searched result, the horizontal scroll bar will disappear and we will be unable to clear the filter.
for reference:
https://codesandbox.io/s/itwinui-react-minimal-example-forked-wiirrf?file=/src/TreeComponent.tsx

Also running into this issue

This is finally fixed in 3.1.0 🚀


🐞 [BUG_LP] - Unattractive navbar

Description of the bug. ✍🏻
The navbar looks very thin and unpleasing to the eye right now. Morever, the color contrast while hovering on it doesn't look as good.
The page reloads each time we click on the 'Github Readme' logo on the navbar.
Current Behaviour
The hover effect on navbar element is not good.
The page reloads each time we click on the 'Github Readme' logo on the navbar.
Expected Behaviour
I would like to make some improvements in the navbar section. I want to increase its height, improve its spacing as well add a better hover effect to it so it looks pleasing to the eye. I would also like to use react's feature to prevent the page from reloading while clicking on the 'Github Readme' logo.
Reproduction Steps
No response
Screenshots

Additional information
Please assign me this issue to fix this bug.
Contributor terms

[X] I agree to follow the Contributing Instructions

I want to work on this issue, kindly assign it to me.


geolocator_apple-1.2.0 uses methods not available on macOS

Working on an app that should be deployable on Android, iOS and macOS.
Using geolocator 7.6.1, building for macOS fails with this error:
Command CompileSwift failed with a nonzero exit code
/Users/user/Library/flutter/.pub-cache/hosted/pub.dartlang.org/geolocator_apple-1.2.0/macos/Classes/Handlers/PermissionHandler.m:52:29: error: 'requestWhenInUseAuthorization' is unavailable: not available on macOS
      [self.locationManager requestWhenInUseAuthorization];
                            ^
In module 'CoreLocation' imported from /Users/user/Library/flutter/.pub-cache/hosted/pub.dartlang.org/geolocator_apple-1.2.0/macos/Classes/Handlers/PermissionHandler.h:11:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:406:1: note: 'requestWhenInUseAuthorization' has been explicitly marked unavailable here
- (void)requestWhenInUseAuthorization API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(macos);

Flutter, Cocoapods, Xcode are all up to date on a machine running Catalina(10.15.7). Flutter doctor reports no issues. Posting this as a question since I'm not sure if this can be an error on my side or if there's a bug in geolocator_apple...
any help appreciated!

Hi @michpohl,
That is a bit strange, Apple's documentation clearly mentions that this method is available on macOS 10.15+.
Also when I create a quick test application I don't run into any problems. Here are the steps I took:

Create a new Flutter application: flutter create --platforms=macos issue_835;
Add the correct permissions to the macos/Runner/Info.plist file (see example file below);
Add the necessary entitlements to the macos/Runner/DebugProfile.entitlements and macos/Runner/Release.entitlements files (see example files below);
Add the dependency to the pubspec.yaml file (see example file below);
Update the main.dart file to use the geolocator plugin (see example below).

After applying these changes I am able to build and run the app correctly as a macOS App. Hitting the floating action button will show the permissions dialog and afterwards print the location information to the console.

Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>$(DEVELOPMENT_LANGUAGE)</string>
	<key>CFBundleExecutable</key>
	<string>$(EXECUTABLE_NAME)</string>
	<key>CFBundleIconFile</key>
	<string></string>
	<key>CFBundleIdentifier</key>
	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>$(PRODUCT_NAME)</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleShortVersionString</key>
	<string>$(FLUTTER_BUILD_NAME)</string>
	<key>CFBundleVersion</key>
	<string>$(FLUTTER_BUILD_NUMBER)</string>
	<key>LSMinimumSystemVersion</key>
	<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
	<key>NSHumanReadableCopyright</key>
	<string>$(PRODUCT_COPYRIGHT)</string>
	<key>NSMainNibFile</key>
	<string>MainMenu</string>
	<key>NSPrincipalClass</key>
	<string>NSApplication</string>
	<key>NSLocationUsageDescription</key>
	<string>This app needs access to location.</string>
</dict>
</plist>

DebugProfile.entitlements
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.security.app-sandbox</key>
	<true/>
	<key>com.apple.security.cs.allow-jit</key>
	<true/>
	<key>com.apple.security.network.server</key>
	<true/>
	<key>com.apple.security.personal-information.location</key>
	<true/>
</dict>
</plist>

Release.entitlements
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.security.app-sandbox</key>
	<true/>
	<key>com.apple.security.personal-information.location</key>
	<true/>
</dict>
</plist>

pubspec.yaml
name: issue_835
description: A new Flutter project.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
  sdk: ">=2.12.0 <3.0.0"

  dependencies:
  flutter:
    sdk: flutter
  geolocator: ^7.6.1
  cupertino_icons: ^1.0.2

dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_lints: ^1.0.0

flutter:
  uses-material-design: true

main.dart
import 'package:flutter/material.dart';
import 'package:geolocator/geolocator.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

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

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    Geolocator.getCurrentPosition().then((position) => print(position));

    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

Here is the output of my flutter doctor -v command:
[✓] Flutter (Channel stable, 2.5.0, on macOS 11.5.2 20G95 darwin-x64, locale en-GB)
    • Flutter version 2.5.0 at /Users/maurits/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cc385b4b8 (8 days ago), 2021-09-07 23:01:49 -0700
    • Engine revision f0826da7ef
    • Dart version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/maurits/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/maurits/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 2020.3)
    • 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.10+0-b96-7281165)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 58.0.4
    • Dart plugin version 212.4746.57

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

[✓] Connected device (3 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • macOS (desktop)         • macos         • darwin-x64     • macOS 11.5.2 20G95 darwin-x64
    • Chrome (web)            • chrome        • web-javascript • Google Chrome 93.0.4577.82

Since it seems to work on my machine and the example App also compiles correctly in our CI environment (GitHub Actions), it looks to be some error on your side.

Thank you @mvanbeusekom! Will replicate the example app and if that works should be able to figure out the difference in setup to my app. Will reply with results

Unfortunately, the error persists. The test application won't build, aborting with the same error.
I've used your exact snippets to replace the generated ones so I'd assume it should be the same app.
Only difference I can see currently is I am still on Catalina...?
Here's my flutter doctor -v output:
[✓] Flutter (Channel stable, 2.5.0, on Mac OS X 10.15.7 19H1417 darwin-x64, locale en-GB)
    • Flutter version 2.5.0 at /Users/michaelpohl/library/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cc385b4b8 (8 days ago), 2021-09-07 23:01:49 -0700
    • Engine revision f0826da7ef
    • Dart version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/michaelpohl/library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/michaelpohl/library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.11.2

[✓] 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 <IP_ADDRESS>+0-b77-7246554)

[✓] Android Studio (version 2020.3)
    • 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.10+0-b96-7281165)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • 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

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 55.1.5
    • Dart plugin version 211.6693.108

[✓] VS Code (version 1.60.1)
    • VS Code at /Applications/Visual Studio Code 2.app/Contents
    • Flutter extension version 3.26.0

[✓] Connected device (4 available)
    • Android SDK built for x86 (mobile) • emulator-5554                        • android-x86    • Android 10 (API 29) (emulator)
    • iphone 8 2 (mobile)                • 34E71028-80B4-4644-A211-89A376E176F0 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • macOS (desktop)                    • macos                                • darwin-x64     • Mac OS X 10.15.7 19H1417 darwin-x64
    • Chrome (web)                       • chrome                               • web-javascript • Google Chrome 93.0.4577.82

Could you check if you can update Xcode? I noticed that I am on Xcode 12.5.1, Build version 12E507 while you are on Xcode 12.0.1, Build version 12A7300.
It is possible that this would bring in an updated version of the CoreLocation SDK which will allow support for the particular permission. Although I am not sure if this version of Xcode is bound to the version of MacOS X (since you are still on Catalina).
This would be worth a try though.

According to Xcode, the App Store and the softwareupdate tool I have no updates available. 12.5.1 requires Big Sur and I'm still on Catalina. I'm willing to update (I guess I have been holding off long enough now) later today to see if 12.5.1 fixes the issue. In that case it would mean though, that it is a requirement to be on Big Sur to compile a project for macOS using the current geolocator release

Maybe hold on with updating as you are the perfect test subject (this is a bad way of saying you are very valuable to us ;)).
I will try to do some more research as it seems that on macOS (and MacOS X) one does not explicitly have to request permissions when accessing the device's location. Reading some threats on the internet it seems that macOS triggers the permission pop-up automatically the first time location information is retrieved.
I will make some changes and do some testing and hopefully you are also willing to help and be able to confirm the changes work correctly. This however will take a little bit of time which I hope you have available?

Happy to help! I am on vacation though (without my laptop) next week, so this might slow it down a little...

I am back :-) Are there any updates on this issue?

Hi @michpohl, I am sorry no updates yet. Last week has been very busy, I will make sure to work on it this week and keep you in the loop.

Since I felt bad not spending time on this I decided to have a look immediately and made some changes. Would you mind testing if the version in this branch work correctly?
The easiest to do this is to add a dependency override to your pubspec.yaml. Something like this:
dependency_overrides:
  geolocator_apple:
    git:
      url: git@github.com:baseflow/flutter-geolocator.git
      path: geolocator_apple
      ref: issue/835

Please let me know if you run into any issues.

Will try asap!

One error is left:
/Users/user/.pub-cache/git/flutter-geolocator-26830e289fded43271cc1682ea5d21c2d28302a4/geolocator_apple/apple/Classes/Utils/LocationAccuracyMapper.m:28:24: error: use of undeclared identifier 'kCLLocationAccuracyReduced'; did you mean 'kCLLocationAccuracyBest'?
                return kCLLocationAccuracyReduced;
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
                       kCLLocationAccuracyBest
In module 'CoreLocation' imported from /Users/user/.pub-cache/git/flutter-geolocator-26830e289fded43271cc1682ea5d21c2d28302a4/geolocator_apple/apple/Classes/Utils/LocationAccuracyMapper.h:9:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h:113:36: note: 'kCLLocationAccuracyBest' declared here
CL_EXTERN const CLLocationAccuracy kCLLocationAccuracyBest;

Seems like this is just about switching methods used for mobile to ones that are present on MacOS...might be Big Sur is more forgiving and has these present...?

That is a bit strange, the code on that line looks like this:
            if (@available(iOS 14.0, macOS 11.0, *)) {
                return kCLLocationAccuracyReduced;
            } else {
                return kCLLocationAccuracyThreeKilometers;
            }

This means kCLLocationAccuracyReduced should only be used on macOS 11 and higher (which also confirms with Apples documentation).
I can of course change this to the code below, but that doesn't really feel correct.
#if TARGET_OS_OSX
            return kCLLocationAccuracyThreeKilometers;
#else
            if (@available(iOS 14.0, macOS 11.0, *)) {
                return kCLLocationAccuracyReduced;
            } else {
                return kCLLocationAccuracyThreeKilometers;
            }
#endif

All places that break my build have this check. I am just as confused by this. I agree that your code change doesn't feel correct. Not sure what do do with this. I might as well just update to Big Sur and call it a day. It's possible I am the only one with that problem...

No I don't think so, for now I will update the code as mentioned above. Would be nice if you could test this again, I have just updated the PR.

This still fails. I'm afraid more places need changes (see my link above)  -> current error:
Command MergeSwiftModule failed with a nonzero exit code
/Users/user/Library/flutter/.pub-cache/git/flutter-geolocator-00922687390290cf9fc5cff59217285ef8a4ad67/geolocator_apple/apple/Classes/Handlers/GeolocationHandler.m:58:23: error: 'allowsBackgroundLocationUpdates' is unavailable: not available on macOS
      locationManager.allowsBackgroundLocationUpdates = [GeolocationHandler shouldEnableBackgroundLocationUpdates];
                      ^
In module 'CoreLocation' imported from /Users/user/Library/flutter/.pub-cache/git/flutter-geolocator-00922687390290cf9fc5cff59217285ef8a4ad67/geolocator_apple/apple/Classes/Handlers/GeolocationHandler.h:11:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:270:35: note: 'allowsBackgroundLocationUpdates' has been explicitly marked unavailable here
@property(assign, nonatomic) BOOL allowsBackgroundLocationUpdates API_AVAILABLE(ios(9.0), watchos(4.0)) API_UNAVAILABLE(tvos, macos);

Alright that error also makes sense as the macOS platform doesn't really know the concept of running things in the background via separate background services. I also made an quick change here to only execute this code when running on iOS platform.
Would you mind giving it another try (I have updated the PR)?

Sorry, more errors :-(
/Users/user/Library/flutter/.pub-cache/git/flutter-geolocator-6a2be452d53fcbb2ceece3527f17a2467e46b92f/geolocator_apple/apple/Classes/Handlers/LocationAccuracyHandler.m:32:35: error: no visible @interface for 'CLLocationManager' declares the selector 'accuracyAuthorization'
    switch ([self.locationManager accuracyAuthorization]) {
             ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/Users/user/Library/flutter/.pub-cache/git/flutter-geolocator-6a2be452d53fcbb2ceece3527f17a2467e46b92f/geolocator_apple/apple/Classes/Handlers/LocationAccuracyHandler.m:58:33: error: no visible @interface for 'CLLocationManager' declares the selector 'accuracyAuthorization'
      if ([self.locationManager accuracyAuthorization] == CLAccuracyAuthorizationFullAccuracy) {
           ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/Users/user/Library/flutter/.pub-cache/git/flutter-geolocator-6a2be452d53fcbb2ceece3527f17a2467e46b92f/geolocator_apple/apple/Classes/Handlers/LocationAccuracyHandler.m:58:59: error: use of undeclared identifier 'CLAccuracyAuthorizationFullAccuracy'
      if ([self.locationManager accuracyAuthorization] == CLAccuracyAuthorizationFullAccuracy) {
                                                          ^
/Users/user/Library/flutter/.pub-cache/git/flutter-geolocator-6a2be452d53fcbb2ceece3527f17a2467e46b92f/geolocator_apple/apple/Classes/Handlers/LocationAccuracyHandler.m:56:27: error: no visible @interface for 'CLLocationManager' declares the selector 'requestTemporaryFullAccuracyAuthorizationWithPurposeKey:completion:'
    [self.locationManager requestTemporaryFullAccuracyAuthorizationWithPurposeKey:purposeKey
     ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/user/Library/flutter/.pub-cache/git/flutter-geolocator-6a2be452d53fcbb2ceece3527f17a2467e46b92f/geolocator_apple/apple/Classes/Handlers/LocationAccuracyHandler.m:33:12: error: use of undeclared identifier 'CLAccuracyAuthorizationFullAccuracy'
      case CLAccuracyAuthorizationFullAccuracy:
           ^
/Users/user/Library/flutter/.pub-cache/git/flutter-geolocator-6a2be452d53fcbb2ceece3527f17a2467e46b92f/geolocator_apple/apple/Classes/Handlers/LocationAccuracyHandler.m:35:12: error: use of undeclared identifier 'CLAccuracyAuthorizationReducedAccuracy'
      case CLAccuracyAuthorizationReducedAccuracy:

Alright, now it is starting to get time to rethink the solution. Let me investigate a bit more. I hope you will hang on a little bit, your test input is very valuable.

@michpohl sorry for all the hassle, I just came across this article which explains that on MacOS X  10.15 and below Big Sur is reported as version 10.16 (and not 11.0).
I made some changes in my code and check for this version instead of 11.0. I am not really sure this will provide a solution but it is worth a try. Would you mind testing again? If not I have found an alternative to test my self but it would require some installation and configuration which will probably take me a few extra hours.

no problem. Will do as soon as I get to it. Thank you for putting so much time into this!

The allowBackgrouzndLocationUpdates error is now back again:
/Users/user/Library/flutter/.pub-cache/git/flutter-geolocator-ed59c2b3a1c0ebe720c509a7f841f69eaffd808d/geolocator_apple/apple/Classes/Handlers/GeolocationHandler.m:59:23: error: 'allowsBackgroundLocationUpdates' is unavailable: not available on macOS
      locationManager.allowsBackgroundLocationUpdates = [GeolocationHandler shouldEnableBackgroundLocationUpdates];
                      ^
In module 'CoreLocation' imported from /Users/user/Library/flutter/.pub-cache/git/flutter-geolocator-ed59c2b3a1c0ebe720c509a7f841f69eaffd808d/geolocator_apple/apple/Classes/Handlers/GeolocationHandler.h:11:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h:270:35: note: 'allowsBackgroundLocationUpdates' has been explicitly marked unavailable here
@property(assign, nonatomic) BOOL allowsBackgroundLocationUpdates API_AVAILABLE(ios(9.0), watchos(4.0)) API_UNAVAILABLE(tvos, macos);

Hi @michpohl,
I managed to reproduce the errors also on my machine by downloading and using Xcode 12.0.1 (via the following site: https://developer.apple.com/download/all/?q=xcode).
I managed to resolve all problems that showed up on my machine (same as you indicated above) and was able to compile and run the example application. I have updated the PR and was wondering if you could give it one final try (it should now also work correctly for you, but good to make sure)?

Yes, I can confirm this works! ❤

Awesome, thank you very much. I will make sure to merge and publish these fixes today.

That is great! Thank you for investing so much time into this!

@michpohl, just a quick update: I have just release version 1.2.1 of the geolocator_apple package. Please make sure you remove the dependency override and run flutter pub upgrade to get the latest version of the geolocator and it's dependencies and you should be good to go.


Validation layer error: attempting to allocate memory type 6, which includes the VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD memory property

This is a note to myself and to anyone who might search for this. There is an issue with following validation layers error appearing:

vkAllocateMemory: attempting to allocate memory type 6, which includes the VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD memory property, but the deviceCoherentMemory feature is not enabled. The Vulkan spec states: If the deviceCoherentMemory feature is not enabled, pAllocateInfo->memoryTypeIndex must not identify a memory type supporting VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-vkAllocateMemory-deviceCoherentMemory-02790)

under certain conditions:

AMD graphics card with a recent driver is used.
VK_AMD_device_coherent_memory extension is not enabled, or it is enabled but VkPhysicalDeviceCoherentMemoryFeaturesAMD::deviceCoherentMemory is not set, or it is set to VK_FALSE.
Allocation is made using VMA with VMA_MEMORY_USAGE_CPU_TO_GPU which exceeds available memory budget.

This issue is not expected to cause any problems beyond this validation layers message reported.

Fixed by 76004205fd1c9313912e51fd476a0500ee92e3b2.


Ctrl-9 not recognized on macOS 10.12

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
The keyboard shortcuts ctrl-6, ctrl-7, ctrl-8 and ctrl-9 are not recognized.  By this I mean: I use cmd-. to invoke the keybinding resolver.  I hit some keyboard combination, say ctrl-1.  When I press ctrl, the keybindig resolver shows me "ctrl".  When I then hit the 1 key, the display changes from just "ctrl" to "ctrl-1", and underneath the key name, it shows me which command would be executed.
But when I hit ctrl-6, ctrl-7, ctrl-8 or ctrl-9, the keybinding resolver shows me just "ctrl" and never shows me the additional digit.
Steps to Reproduce

Start Atom
Invoke keybinding resolver with cmd-.
Press and then release the ctrl key.  Remember what the keybinding resolver shows.
Press ctrl-5.  Remember what the keybinding resolver shows.
Press ctrl-9.  Remember what the keybinding resolver shows.

Expected behavior: What the keybinding resolver shows after steps 3, 4, 5 should be different.  What it shows after step 4 and after step 5 should be somehow similar.
Actual behavior: What the keybinding resolver shows after step 3 and after step 5 is exactly the same.  By this I mean that if you were to take screenshots of the Atom window after these steps, they would be identical, pixel for pixel.
Reproduces how often: Always.
Versions
Atom    : 1.19.2
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0
apm  1.18.4
npm  3.10.10
node 6.9.5 x64
python 2.7.10
git 2.14.1
I'm running macOS Sierra 10.12.6..
Additional Information
Actually, I wanted to complain that keybindings don't work in the github package, until I found out that it's actually the ctrl-9 keybinding that doesn't give focus to the git tab.  If I invoke the command to focus the git tab from the palette, then I can use keybindings such as cursor up and cursor down.
It occurs to me that macOS might be stealing the keybinding, so I opened System Preferences and did some spelunking in the Keyboard / Shortcuts portion.  I went through all of "Launchpad & Dock", "Mission Control", "Keyboard", "Input Sources", "Screen Shots", "Services", "Spotlight", "Accessibility", "App Shortcuts".  The result is that ctrl-6 through ctrl-9 are not mentioned in any of these places.
It occurs to me that FastScripts might be stealing the keybinding, but I don't use these keys there, either.
It's not BetterTouchTool, either.
The activation key for ShortCat is cmd-shift-space, so that's not it, either.
I temporarily quit HammerSpoon to make sure that's not the culprit, either.
The only key configured in Bartender is option-f12, so that's not it, either.
I think you can tell I'm a keyboard fetishist...

Thanks for the report - I can't reproduce with Atom 1.19.2 on macOS 10.12.6, ctrl-9 toggles the Git tab's focus.

What the keybinding resolver shows after step 3 and after step 5 is exactly the same. By this I mean that if you were to take screenshots of the Atom window after these steps, they would be identical, pixel for pixel.

So after typing ctrl-5 and ctrl-9, the keybinding resolver looks like this in both cases where even when typing ctrl-9, the resolver says you typed ctrl-5?

It does sound like you have a handful of keyboard related apps - you mentioned quitting one of them, have you tried temporarily disabling all of them?

The above is from ctrl-9.  As I said, it looks exactly as if I had just pressed and then released ctrl.  For reference, the below is from ctrl-5:

By quitting lots of programs and by doing ps uxww | egrep -v ' (/System/|/usr/libexec/|/usr/sbin/)' and killing those processes, and restarting Atom, I was able to get the desired behavior a couple of times.  But it's not reproducible.  Just quitting Atom and starting it again (from the same command line, repeating the previous command) causes it to stop working.
Very difficult to track down.

I've tried reproducing this issue on macOS 10.12.6 with Atom 1.19.2 with no success. Keyboard resolver is able to detect ctrl-1 thru ctrl-9 without a problem. I don't think this is an issue out of the box.

I am afraid without a good way to reproduce this, I will have to close the issue.  For me, most of the time, ctrl-6 through ctrl-9 fail.  I have gotten ctrl-9 to work once or twice, but even restarting Atom was sufficient to make it fail next time.  For me it's really frustrating, but I understand that you can't reproduce the problem, and therefore can't help.

We have had quite a number of similar reports and every time it has been due to another application that was running in the background and responding to the keystroke. Since you do mention that quitting some applications helped resolve the issue it does seem like this is the case.
Some things to check before closing:

Do you see any errors in the developer tools console? Warnings or errors when loading keymaps does not always surface to the UI.
Do you have anything in your personal keymap file?
What keyboard layout do you use?
Can you try to change to another keyboard layout and restart Atom?

This would be far fetched but we had one issue with validating keymaps that caused users to be unable to write characters because it was interpreted as a command instead of a character. We have since then fixed the validation for the keymaps so invalid entires like that report are ignored. User keymaps are still loaded in safe mode so it was hard to track down that issue.

Not sure if you had a chance to try some of the suggestions above ☝ but we'll close for now since it's nothing something we can reproduce and since for the most part, this type of report is often due to another application responding to the key combination like @Ben3eeE mentions.   We can always re-open if you find the problem is with Atom.


Support gl_FragDepth in HLSL and allow cross-translation

We currently only support it for GLSL, using the GL approach. We should use the HLSL approach and convert that to the GLSL notation as needed, instead.

removed the gl_FragDepth keyword and exposed fragment depth writes via
[FragmentOut(UsageSemantic.Depth)] VarName; syntax.
This maps to valid HLSL without further handling.
GLSL mapping has been added, see
https://github.com/IgniteInteractiveStudio/SLSharp/commit/93a837fa8ccd764c9b5057998575776e2d5b37c2


Initial route after user logged in?

In Navigator, i change initial route passing a function to the prop definition, ex:
<Navigator initialRoute={ this.initialRoute() } />
How can i do the same in react-navigation?
Edit
With the navigator, i connect the state and the navigator with connect(state)(navigator), but if i do the same with react-navigation, it obviously doesn't works because that is not the correct way to do that.
Other way to do that is using the store.getState() in a function in initialRouteName, but it look's weird for me, i want to use react-redux, but i don't know how.
Is there a way to do this?

   const routeConfig = {...};
   const stackRouterConfig = { initialRouteName: initialRoute() };
   const Navigator = StackNavigator(routeConfig, stackRouterConfig);

Does this help?

Thanks @thotegowda,
I've done this, but i do not understand how i do that using redux (with react-redux), i forgot to say this in the question, srry.
With the navigator, i connect the state and the navigator with connect(state)(navigator), but if i do the same  with react-navigation, it obviously doesn't works because that is not the correct way to do that.
Other way to do that is using the store.getState() in a function in initialRouteName, but it look's weird for me, i want to use react-redux, but i don't know how.
Is there a way to do this?

that worked for me :
`const RootNavLogged = StackNavigator({
...
},{
initialRouteName : 'Home'
});
const RootNav = StackNavigator({
...
},{
initialRouteName : 'Login'
});
class App extends Component {
render(){
if (this.props.userLogged == true ){
return (

)
} else {
return(

)
}
}
}
..
export default connect(mapStateToProps)(App)`

@AlpZero : Is it possible to programatically set the initialRouteName on tab navigator. My home screen is a springboard (StackNavigator) and pressing an icon opens the tab navigator.
Would you know how I could navigate from Home to Share in the following example?
export const Tabs = TabNavigator({
  Calendar: {
    screen: Calendar,
  },
  Share: {
    screen: Share,
  },
});
export const Stack = StackNavigator({
    Home: {
        screen: Home
    },
    Tabs: {
        screen: Tabs,
    }
})

@AlpZero doesn't it remove the animation? I mean, I want to animate when going from the login to home, but don't want to show any option to goback. Like a push followed by a replace...

@vishim do you find any solution?

@vishim Do you find any solution?

@arminghm I have a hack at the moment. I have created a routerConfig object and then have various entry points:
const TabEntryCalendar = TabNavigator(routeConfig, {
    initialRouteName: 'Calendar',
    ...tabConfig,
});
const TabEntryShare = TabNavigator(routeConfig, {
    initialRouteName: 'Share',
    ...tabConfig,
});
....

and then the top level stack navigator instantiates
const TabsInsideStack = StackNavigator({
    Home: {
        screen: Home
    },
    TabEntryCalendar: {
        screen: TabEntryCalendar,
    },
    TabEntryShare: {
        screen: TabEntryShare,
    },
....
....

Hope it helps. If someone could suggest a better way, that would be greatly appreciated!

@vishim , @arminghm @AlpZero Guys, after taking some time to dig into the source, I found out a trick for that. Technically we want to avoid the user to go back to the previous screen, that's all.
What I did is to add on the route configuration the following:
const AppRouteConfigs = {
  TheRoute: {
    ...
    navigationOptions: {
      cardStack: {
        gesturesEnabled: false
      }
    }
  }

This will avoid the user to swipe back to the previous screen.
After that, on my reducer, I did this:
      const routeName = state.routes[state.index].routeName
      if (Routes[routeName] &&
        Routes[routeName].navigationOptions &&
        Routes[routeName].navigationOptions.cardStack &&
        Routes[routeName].navigationOptions.cardStack.gesturesEnabled === false) {
        return state
      }

This way the user can't go back back on this screens.

@vishim Actually I did the same thing as you did.
But I think It could be better if we can navigate to each tab using their keys with the navigate function.
@SidFerreira What if you use resetAction?

@arminghm it will not have the animation, and I want the animation

So basically redirecting user to the Home screen in nested navigator scenario, I did this little trick. As react-navigation does not provide a way to set the initialRouteName, we dispatch an action to navigate to the drawer stack i.e. Home screen.
Here is our Navigation file with Redux integration, which will show you the nesting of various navigators
// drawer stack
const DrawerStack = StackNavigator({
  DashboardScreen: { screen: DashboardScreen, navigationOptions: { title: 'Event', drawerLabel: 'Event' } },
  MyAccountScreen: { screen: MyAccountScreen, navigationOptions: { title: 'My Account', drawerLabel: 'My Account' } },
}, {
    headerMode: 'screen',
    navigationOptions: ({ navigation }) => ({
      headerStyle: {
        backgroundColor: Colors.darkBlue,
        shadowOpacity: 0,
        shadowOffset: { height: 0, },
        elevation: 0,
      },
      headerTitleStyle: {
        color: Colors.snow,
        alignSelf: 'center',
      },
      headerLeft: navigation.state.routeName == 'DashboardScreen' ? <TouchableOpacity activeOpacity={0.2} style={styles.leftIcon} onPress={() => {
        navigation.dispatch(NavigationActions.navigate({ routeName: 'DrawerOpen' }));
      }}><Image large source={Images.Bar} style={styles.bar} /></TouchableOpacity> : <TouchableOpacity activeOpacity={0.2} style={styles.leftIcon}
        onPress={() => {
          if (navigation.state.params && navigation.state.params.onBackPress) {
            navigation.state.params.onBackPress();
          }
          navigation.goBack();
        }}><Icon name="angle-left" size={28} color="snow" /></TouchableOpacity>,
      headerRight: <TouchableOpacity activeOpacity={0.2} style={styles.leftIcon} onPress={() => {
        navigation.dispatch(NavigationActions.navigate({ routeName: 'DrawerOpen' }));
      }}><Icon size={28} color="snow" /></TouchableOpacity>

    })
  })
const DrawerNavigation = DrawerNavigator({
    DrawerStack: { screen: DrawerStack }

}, {
    contentComponent: DrawerComponent,
    drawerWidth: 300,
  })
// login stack
const LoginStack = StackNavigator({
  LoginScreen: { screen: LoginScreen },
  RegisterScreen: { screen: RegisterScreen },
  ForgotPasswordScreen: { screen: ForgotPasswordScreen },
  CountryListScreen: { screen: CountryListScreen },
  VerificationScreen: { screen: VerificationScreen },
}, {
    headerMode: 'none',
  })
// Manifest of possible screens
const PrimaryNav = StackNavigator({
    drawerStack: { screen: DrawerNavigation },
    loginStack: { screen: LoginStack },
  }, {
    // Default config for all screens
    headerMode: 'none',
    initialRouteName:  'loginStack',
    transitionConfig: noTransitionConfig,
})
export default PrimaryNav

Now we have done a little bit tweak in the first App.js file which will run just after botting the React native application from index.ios.js/index.android.js/index.js file. We just set a state loading to check whether data is loaded from AsyncStorage or not. And if the data is loaded, then we will return our Root component else we will return null, which will not show login screen or anything on the UI front.
import '../Config'
import DebugConfig from '../Config/DebugConfig'
import React, { Component } from 'react'
import { Provider } from 'react-redux'
import RootContainer from './RootContainer'
import createStore from '../Redux'
import { AsyncStorage, Linking } from 'react-native'
import Constants from '../Components/Constants'
import LinkRoutes from '../Config/LinkRoutes';
import {NavigationActions} from 'react-navigation';

// create our store
const store = createStore()

/**
 * Provides an entry point into our application.  Both index.ios.js and index.android.js
 * call this component first.
 *
 * We create our Redux store here, put it into a provider and then bring in our
 * RootContainer.
 *
 * We separate like this to play nice with React Native's hot reloading.
 */
class App extends Component {

  constructor(props) {
    super(props)
    this.state = {
      loading: false,
    }
  }

  componentWillMount() {
    AsyncStorage.getItem(Constants.KEY_IS_LOGIN, (err, result) => {
      this.setState({ loading: true} , () => {
        if (result === '1') {
          const navigateAction = NavigationActions.navigate({
            routeName: 'drawerStack',
            index: 0,
          });
          store.dispatch(navigateAction);
        }
      })
    });
  }

  render() {
    if(this.state.loading){
      return (
        <Provider store={store}>
          <RootContainer />
        </Provider>
      )
    }else{
      return null
    }
  }
}

// allow reactotron overlay for fast design in dev mode
export default DebugConfig.useReactotron
  ? console.tron.overlay(App)
  : App

In componentWillMount I have just dispatched a NavigationActions that will navigate to the Drawer screen/Home screen. Hope this helps.

@AlpZero thanks for your example but what is disadvantage for using with this way? i mean do you know why  some people dislike your solution?

it's because with that solution you will not be able to make a transition between the login screen and the home page, because when the state "userLogged" change to true, the render function of the class "App" will only change one navigator to the other.
It's a bad solution and deserves all the dislikes xD

@AlpZero thanks i got it, but could you find a better solution? do you know what is the best practice? this is very basic requirement in navigation and it is strange to me why they don't have any documentation for this scenario? :-/

I think the best way is make the setup for integrating react-navigation with redux (https://reactnavigation.org/docs/guides/redux) and make the initial route to a loading screen.
When the app is opened, you make all the login verifications and if the user is logged in or not, you make a navigation action dispatch to the right route.
It's not very well documented, but you can send actions from any location of the app. The boilerplate to an navigate action is: { type: 'Navigation/NAVIGATE', routeName: ' '  }

I agree with @AlpZero , that's actually the approach I use too in my prod app.
If you want another approach, this article we link in the README also provide a way to do it.
Btw if you feel that the docs are not in-depth enough, feel free to submit a PR to them, we'll review it asap :) PRs to Docs are always welcome :)

@AlpZero thanks but i can't understand how integratting with redux can fix this problem, could you please give me example? do you think can we  create 2 separate navigators with different route configs in react-navigation like this?
const ADMIN_ROUTES = {
  home: { screen: HomeNavigator },
  listings: { screen: ListingsNavigator }, // admin only screen/tab
  account: { screen: AccountNavigator }
};

const REGULAR_ROUTES = {
  home: { screen: HomeNavigator },
  buildingList: { screen: buildingListNavigator }
};

class RouteCompoenent extends Component {
    render() {
        if (this.props.isManager) {
            return <ManagerRoutes/>;
        }
        return <ResidentRoutes/>;
    }
}
const mapStateToProps = (state) => {
    return {
        isManager: state
            .get('appState')
            .get('isManager')
    };
};

export default connect(mapStateToProps)(RouteCompoenent);

@derakhshanfar I don't know if I can do a good explanation, my english sucks hahauhauh. Let's try.
The real fix here is to make the initial route to a loading screen instead of login or home screen, because once you are on such route, you can do a verification of the login state and make the animation for the right route. The integration with Redux is only to do this with a better controllability over the navigator state. I don't know how is your familiarity with redux, but if you used before, you know that is possible to control any state of any component from any location of the app and that is the point. You can make all login verifications in other file using redux-saga, for exemple, and from that other file, make a transition between the loading screen and home screen, separating logic from visual components. It's been a long time since I used react-navigation, I doesn't remember very well. @kelset Do you have another idea to explain why is better do that with redux? Maybe another good scenario to make the redux integration is to control nested navigators, like the one @iamrutvik showed. To be honest with you, in newest projects I doesn't even used a navigation library. I'm making all the transition's between screen's with the Animated API, since with that I have all the controllability that I need, and I can set wich component will be rendered too, all in my hands 😆.

@AlpZero thanks so much dude. first of all you know English better than me :-) . yes i worked with Redux but in my idea the reason of using library is getting easier but unfortunately as you say i think it's better to use native navigation for having all the controllability. maybe for next project because we can't change navigation system for current project right now.

@kelset thanks for reply and make a good library for navigation, but i think the support is very important after release a package, the problem is when i see the source code, i can't understand some part of it. so we have to ask question from contributions and i expect to give a answer because we trust this library that's why we use it in our project.

so we have to ask question from contributions and i expect to give a answer

We are doing our best to make the library good and to help everyone understand and use it properly.
But let me be clear, you can not expect anything. You are not paying for the library, there is no dedicated "customer support".
We are doing our best, and luckily aside from us actively maintaining it there are cool developers like @AlpZero that decides to help a fellow dev like yourself who has difficulties with the implementation. But, please, understand that.

//  NOT WORKED
const routeConfig = {...};
const stackRouterConfig = { initialRouteName: initialRoute() };
const Navigator = StackNavigator(routeConfig, stackRouterConfig);
// WORKING SURPRISINGLY
const routeConfig = {...};
// const stackRouterConfig = { initialRouteName: initialRoute() };
const Navigator = StackNavigator(routeConfig, { initialRouteName: initialRoute() });

Here is my workaround:
Navigators (Router.js):
const Nav1 = createStackNavigator({
    Intro,
    Login
});

const Nav2 = createStackNavigator({
    Home,
    Settings,
    Profile
});

export default ({ initialRouteName }) => {
    return createSwitchNavigator(
        {
            Nav1,
            Nav2
        },
        {
            initialRouteName
        }
    );
};

My initial component
//...
import Router from<EMAIL_ADDRESS>//...

let StartNavigator = null;

const App = props => {
    if (!StartNavigator) {
        StartNavigator = Router({initialRouteName: !props.isLogin ? 'Nav1' : 'Nav2'});
    }

    return <StartNavigator />
};

https://reactnavigation.org/docs/en/auth-flow.html


Remove xargs warning for Python generation

There is a warning when running with -l python:
$ docker run -v $PWD:/defs namely/protoc-all:1.51_2 -l python -d /defs
xargs: warning: options --max-args and --replace/-I/-i are mutually exclusive, ignoring previous --max-args value

Hence we can remove the --max-args a.k.a. -n option.

Hey @abe545, I think we can remove a warning message here. Let me know if you have any questions!

Hi @nycdotnet, could we please get a new release that contains this fix?

Hi @nycdotnet, could we please get a new release and docker image that contains this fix?


Send photo?

I have this code
b.Handle("/hello", func(m *tb.Message) {
p := &tb.Photo{File: tb.FromDisk("saber.jpg")}
b.Send(m.Sender, p)
})
but it does let me send a photo, how can i make it send a photo?

@Dontmindmes First, try to log p within this handler, to be sure that bot receives message, photo isn't empty and there is no network errors


Integrate kong-plugin-zipkin with openresty

Hi,
I am using openresty as API gateway because I need to write a custom lua script to integrate with our authorization backend. I couldn't find any lua plugin supporting zipkin except kong-plugin-zipkin. I installed it in openresty but I don't know how to configure it with openresty.
If you know how to do it, please give me the instruction.
Thanks,
cua dong

kong-plugin-zipkin is a plugin for the Kong API gateway; which adds lots of top of plain openresty.
Our recent releases bundle this zipkin plugin.
I welcome you to try out Kong, perhaps start at https://konghq.com/install/
Closing the issue as this isn't something we can action in the repository.
We try and answer questions about Kong over at http://discuss.konghq.com/


add LeNER-Br dataset

Adding the LeNER-Br dataset, a Portuguese language dataset for named entity recognition

I don't know what happened, my first commit passed on all checks, but after just a README.md update one of the scripts failed, is it normal? 😕

Looks like a flaky connection error, I've launched a re-run, it should be fine :)

The RemoteDatasetTest error in the CI is just a connection error, we can ignore it

merging since the CI is fixed on master


take away the huge switch block

I really hate the huge switch, so I write a util function to help write reducer in a better way. ( My English is not that good, but I will try to show my idea. )
example
we can write like this.
import { ADD_TODO, DELETE_TODO, EDIT_TODO, COMPLETE_TODO, COMPLETE_ALL, CLEAR_COMPLETED } from '../constants/ActionTypes';

const initialState = [{
  text: 'Use Redux',
  completed: false,
  id: 0
}];

export default createReducer({
  [ADD_TODO]: (state, { text }) => [{
    id: state.reduce((maxId, todo) => Math.max(todo.id, maxId), -1) + 1,
    completed: false,
    text
  }, ...state],

  [DELETE_TODO]: (state, { id }) => state.filter(todo =>
    todo.id !== action.id
  ),

  [EDIT_TODO]: (state, { id, text }) => state.map(todo =>
    todo.id === id ?
      Object.assign({}, todo, { text }) :
      todo
  ),

  [COMPLETE_ALL]: state => {
    const areAllMarked = state.every(todo => todo.completed);
    return state.map(todo => Object.assign({}, todo, {
      completed: !areAllMarked
    }));
  },

  [CLEAR_COMPLETED]: state => state.filter(todo => todo.completed === false)
}, initialState)

source code
/**
 * an elegance way to write reducer
 * @param funcMap the functions map
 * @param initState initiate state
 * @returns {Function}
 */
function createReducer(funcMap, initialState) {
  if (!isPlainObject(funcMap)) {
    throw new Error('funcMap need to be a plain object');
  }

  return (state = initState, action) =>  map.hasOwnProperty(action.type) ?
  funcMap[action.type](state, action) :
  state;
}

features

simple, whether use or not depends on you.
won't worry about the variable name duplicated
can use destruct action and state
can use arrow function
hashTable is faster than switch when having a lot of cases
don't need annoying break and default

https://github.com/acdlite/redux-actions#handleactionsreducermap-defaultstate

Hi, thanks for sharing! Redux isn't opinionated about how you create the reducers, so indeed you can use any convention you like, including this one. There are cases where you want to match by something other than type though—for example, sometimes you want to respond to action containing a specific field, like action.error or action.response.

@johanneslumpe  thanks for recommending this useful package. I like the way it simplify actionCreator and reducer. But I think it isn't necessary to use a reduce method to handle multiple actions. Maybe hash is enough and more efficient.  But the little problem can't stop me using it  ^ ^ . I'd like to have a discussion with the author and contribute to it.

@gaearon I'm really exciting for your reply cause I really like redux! Your opinion is right, and I found many packages have already actualized my idea. Even I found the same code in redux docs. haha~
My compony use redux from beta version and it works well. Wish redux be better~!

@yeatszhang here is another way of avoiding switch which doesn't require a reducer factory:
const reducer = (state, action) => {

    const {amount} = action.payload;

    const handlers = {
        [INCREMENT]: () => state + amount,
        [DECREMENT]: () => state - amount
    };

    return handlers[action.type](amount);
};

Advantages are that you can effectively switch on whatever you like, and you can reuse variables defined above the handlers as needed.

There are a few problems there though: allocating functions on every call and not handling the "unknown action" case.

@gaearon good point. I guess switch isn't so bad.

It's not :-) People tend to obsess over unimportant details, and the disdain for switch seems like one of such cases.

@gaearon
const reducer = (state, action) => {

    const {amount} = action.payload;

    const handlers = {
        [INCREMENT]: () => state + amount,
        [DECREMENT]: () => state - amount,
        undefined: () => state  // unknown action
    };

    return handlers[action.type](amount);
};

Another alternative is http://ramdajs.com/0.21.0/docs/#cond

IMHO switch blocks are really legible and are perfect for documentation where you need to learn how a reducer works;
but it's true that sometimes this expressiveness can become a little annoying...
anyway here's an alternative pattern :
const reducer = (state, action) => ({
  [INCREMENT]: state + action.payload,
  [DECREMENT]: state - action.payload
}[action.type] || state)

This looks quite good , only cons is you loose switch case fallback.

@fracalo your reducer calculates next states for each action in object (no matter for which it was called), this may lead to performance issues.
Also some of your actions may depend on payload shape and that may lead to another unexpected problems:
const reducer = (state, action) => ({
  [INCREMENT]: state + action.payload,
  [DECREMENT]: state - action.payload,
  [FOO]: state + action.payload.foo.bar,
}[action.type] || state)
reducer(0, { type: INCREMENT, payload: 1  })

(this will throw "Uncaught TypeError: Cannot read property 'bar' of undefined")

@Mistereo   you're right, once the object is initialized the properties get evaluated so depending on the calculations you need to do it can be way more expensive.
You could make methods out of each property:
const reducer = (state, action) => ({
  [INCREMENT]:  () => state + action.payload,
  [DECREMENT]:  () => state - action.payload,
  [FOO]: () => state + action.payload.foo.bar ,
}[action.type]() || state)

but it's starting to get a little noisy.

@fracalo You can always create a helper, this is the one that I use
const { createStore, combineReducers  } = require('redux')
const { prop identity, defaultTo, add, substract, concat, always } = require('ramda')

const createReducer = (actions, INITIAL) =>
    (state = INITIAL, { type, payload }) =>
        defaultTo(identity)(prop(type, actions))(state, payload)

const count = createReducer({ INCREMENT: add, DECREMENT: subtract }, 0)
const list = createReducer({ PUSH: concat, RESET: always([]) }, [])

const store = createStore(combineReducers({ count, list }))

This can help too
export const createReducer = (reducer, state, action) =>
reducer[action.type] ? reducer[action.type](state, action) : state;


Add consensus voting capability

Consensus voting was implemented in godcr here https://github.com/planetdecred/godcr/pull/729

For the time being it'll make more sense to try to port godcr to ios/android instead of implementing these advanced features into the legacy apps.


Release 0.7.1

There have been a few fixes since 0.7.0 which we want to release as 0.7.1.
Things to do beforehand:

[x] merge #475 and #481
[x] check for breaking changes
[x] test the new code
[x] beta pre-release
[x] update changelog
[x] announce new release

Apparently there is a a deprecation warning from today's release of setuptools which requires a patch on this library. I will try to make a PR to fix it.
DeprecationWarning: pkg_resources is deprecated as an API

0.7.1 is up on PyPI


[SYSTEMML-1775] Remove unused constructor and method parameters

Remove many unused constructor and method parameters to assist in
project code maintenance.

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/1776/

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/1848/

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/2013/


Wrong day when schedule starts at midnight

Okay, I'm not very good at explaining, but when I have a schedule set to start at midnight, the scheduler will not select the correct day, but the very next day.
If I inject the following code, I expect the day to be Thursday, but it will select Friday.
"{"timers":[{"starttime":1644447600000,"days":[0,0,0,0,1,0,0],"output":"0","endtime":1644458400000}],"settings":{}}"
days = [sun, mon, tue, wed, thu, fri, sat], and this works for any other schedule, except when it starts at midnight. (This does not respect the settings in the node "First day", but not a problem).
1644447600000 = Thursday, February 10, 2022 0:00:00 [GMT+01:00]
1644458400000 = Thursday, February 10, 2022 3:00:00 [GMT+01:00]
The above code will produce the following schedule:

There will not be any output from the scheduler on Thursday.

Hi, thank you for a quick answer. Not sure if I understand why this happens, but I have made changes to my code so it will store the correct day when the schedule starts at midnight. It was just a behavior I did not anticipate.

Glad I could help.
Going to close this issue now, let me know if you need anything else!
In case you are interested into details here: the days have to be stored in UTC time so that I can calculate the correct day for different users from different countries. If someone from UTC-1 visits your website then this person should see "Wednesday 22:00" instead of Thursday 00:00.


add kmd testnet for dev

add testnet for dev with kmd params,
allow long delays between daemon runs

done in combined branch

a dedicated kmd testnet is removed due to issues how address prefixes are implemented in zebra (basically should be different for each network, so no point to have a dedicated kmd testnet)


Suggestion: Save Presets

It would be really nice if you could save presets because when you start in a bad  seed but want the same preset it is no nice having to do everything again, especially  if you made a lot of changes
Sorry if my English is wrong

You can already do this several ways.

Re-create the world from the world list and change the seed.
Delete a world's region folder and edit the seed in level.dat.
Use the Set Defaults button in the world creation menu and make a new world.

There's also /terra defaults set which can be run from inside the world to create a preset from it.


Compatibility update for angular2_components 0.4.0-alpha

Yep, I just need to leave the version resolution up to angular2_components.


python310Packages.ypy-websocket: 0.12.3 -> 0.12.4

Description of changes
Diff: https://github.com/y-crdt/ypy-websocket/compare/refs/tags/v0.12.3...v0.12.4
Changelog: https://github.com/y-crdt/ypy-websocket/blob/refs/tags/v0.12.4/CHANGELOG.md

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 259050 run on x86_64-linux 1

8 packages built:

python310Packages.jupyter-collaboration
python310Packages.jupyter-collaboration.dist
python310Packages.ypy-websocket
python310Packages.ypy-websocket.dist
python311Packages.jupyter-collaboration
python311Packages.jupyter-collaboration.dist
python311Packages.ypy-websocket
python311Packages.ypy-websocket.dist


CPU Usage is disabled. What's wrong?

Microsoft VS Community 2015 update 3, 14.0.25431.01

https://docs.microsoft.com/ru-ru/visualstudio/profiling/cpu-usage?view=vs-2015

@dontsovcmc -- Evgeny, thank you for your question.  Have you tried changing to a Release configuration from Debug?  Please consider these resources:

Visual Studio on Q&A
https://social.msdn.microsoft.com/Forums/vstudio
https://www.stackoverflow.com
https://www.reddit.com/r/VisualStudio/

cc @Mikejo5000 for awareness
I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.


Local tok

enabled local input paths and a test
added a missing line to enable gz input files
added an option for ray dashboard in a distributed environment
moved the random shuffle for subfraction and and subset before taking a subset of the files, so that it'a random subfraction/subset

Added counters to keep track of the number of tokens generated by source. This is useful when using sampling to check the fractions of the tokens by source.
Added option to force the number of cores. The original script takes the number of cores on the machine as the number of cores available for compute, on TACC nodes this leads to resources (memory, number of threads) running out, and setting this to a lower number makes the tokenize_shuffle script usable on such nodes.


Add note about using more recent openocd interface file. Closes #277 and #263

This is a long-standing issue thanks to openocd's confusing rename of this interface file and not having a release for many years (see also #283 and #268).

r? @andre-richter
(rust-highfive has picked a reviewer for you, use r? to override)


Translated variable in fr.yml

month changed to mois causing this 500 error:
I18n::MissingInterpolationArgument: missing interpolation argument :mois in "vos observations de %{mois}" ({:month=>"Juin"} given)

Please also let the translatewiki folks know that they should not translate variable names. Not sure what the best way to do that is.

I can contact the guy who translated that string - but I think thats the best I can do

@siebrand, any recommendations for preventing this kind of problem in the future? The issue was that a translatewiki translator translated a variable.

Can't really be avoided. We have so called checkers in place, that warn translators about (not) using variables. In those cases, translations will be marked as fuzzy until that's fixed. For iNaturalist, this checker has only been in place for new translations since May 25[1], so it's possible that before that date errors were introduced that went unnoticed.
[1] https://gerrit.wikimedia.org/r/#/c/213538/


dashboard has issues

states doesn't work very well.

okay , i solved it myself because hikaki can't help me.


Allow select date range with unselected date inside

Your Environment

flatpickr version used: 4.6.*
Browser name and version: chrome
OS and version: Macos

Hi, i want to request new option for date range. For now when inside calendar have days disabled. Flatpickr not allow select a daterange which contain disabled days inside. This case is used in many case. Ex:
i need select date range to send and receive nacha file with bank. Start date will be day send nacha file, and end date is estimate day bank response. Bank not working on holidays, weekend so in calendar weekend and holidays will be disabled. Problem is after disabled days flatpickr not allow select date range cross them, like "from monday this week to monday next week"

Want to have same stuff: the ability to select date range within disabled dates inside.

I need to have these functionality too. I have a rental where users can rent something for months just not pick their order up nor return on weekends or holidays.


No provider for WpHttp

Get this error :
No provider for WpHttp
my app.module.ts import the library in this way
import { WpService } from 'ng2-wp-api';

@NgModule({
  declarations: [
...
  ],
  imports: [
...
  ],
  bootstrap: [IonicApp],
  entryComponents: [
...
  ],
  providers: [
    { provide: ErrorHandler, useClass: IonicErrorHandler },
     WpService
  ]

This is my setup:
Ionic Framework: 2.0.1
Ionic Native: 2.4.1
Ionic App Scripts: 1.1.0
Angular Core: 2.2.1
Angular Compiler CLI: 2.2.1
Node: 7.4.0

Don't import anything from this module in providers, you only need WordPressModule.forRoot(url), tomorrow I have an interesting update that adds photon feature and fixes the aot issue


securitySchemes support

Now that we support OpenAPI 3.0 (Awesome). Shouldn't it be possible to define securitySchemes for use with bearer tokens?
https://swagger.io/docs/specification/authentication/
    BearerAuth:
      type: http
      scheme: bearer

looks like securityDefinitions was renamed to securitySchemes along with other changes in OpenAPI v3.0. I would say this plugin supports OpenAPI v2.0 and not v3.0.
PRs are always welcome! 🙏

closing in favor of #511


Update sysdig-scanning.yml

Test Comment

body

https://us2.app.sysdig.com/secure/#/scanning/scan-results/localbuild%2Fhello-world%3Alatest/id/4205839462a3f0b36c9fb26ace31ce04e320e5b1ec24ff116c5de8b11d82fea4/summaries

Using imageID as primary identifier
Inspecting image from remote repository -- hello-world:latest
Full image:  docker.io/library/hello-world
Full tag:    docker.io/hello-world:latest
Repo digest: sha256:2498fce14358aa50ead0cc6c19990fc6ff866ce72aeb5546e1d59caac3d0d60f
Image id:    feb5d9fea6a5e9606aa995e879d862b825965ba48de054caab5ef356dc6b3412
Image found on Sysdig Secure, skipping analysis.
Trying to add alias for image
Added successfully alias tag for image
Scan Report
Last Evaluation: 2022-01-10T16:54:50Z
Final action:    warn
Status:          pass
Evaluation results

warn dockerfile:instruction Dockerfile directive 'HEALTHCHECK' not found, matching condition 'not_exists' check
warn dockerfile:instruction Dockerfile directive 'USER' not found, matching condition 'not_exists' check
warn vulnerabilities:stale_feed_data The vulnerability feed for this image distro is older than MAXAGE (7) days
warn passwd_file:content_not_available Cannot locate /etc/passwd in image stored files archive: check analyzer settings.

Vulnerabilities report
Vulnerability    Severity Package                                  Type     Fix version      URL
Status is pass
View the full result @ https://us2.app.sysdig.com/secure/#/scanning/scan-results/docker.io%2Fhello-world%3Alatest/id/feb5d9fea6a5e9606aa995e879d862b825965ba48de054caab5ef356dc6b3412/summaries
PDF report of the scan results can be generated with -r option.

Using imageID as primary identifier
Inspecting image from remote repository -- hello-world:latest
Full image:  docker.io/library/hello-world
Full tag:    docker.io/hello-world:latest
Repo digest: sha256:2498fce14358aa50ead0cc6c19990fc6ff866ce72aeb5546e1d59caac3d0d60f
Image id:    feb5d9fea6a5e9606aa995e879d862b825965ba48de054caab5ef356dc6b3412
Image found on Sysdig Secure, skipping analysis.
Trying to add alias for image
Added successfully alias tag for image
Scan Report
Last Evaluation: 2022-01-10T16:54:50Z
Final action:    warn
Status:          pass
Evaluation results

warn dockerfile:instruction Dockerfile directive 'HEALTHCHECK' not found, matching condition 'not_exists' check
warn dockerfile:instruction Dockerfile directive 'USER' not found, matching condition 'not_exists' check
warn vulnerabilities:stale_feed_data The vulnerability feed for this image distro is older than MAXAGE (7) days
warn passwd_file:content_not_available Cannot locate /etc/passwd in image stored files archive: check analyzer settings.

Vulnerabilities report
Vulnerability    Severity Package                                  Type     Fix version      URL
Status is pass
View the full result @ https://us2.app.sysdig.com/secure/#/scanning/scan-results/docker.io%2Fhello-world%3Alatest/id/feb5d9fea6a5e9606aa995e879d862b825965ba48de054caab5ef356dc6b3412/summaries
PDF report of the scan results can be generated with -r option.


$CURV_EDITOR not defined

Hello
I discover curv with a lot of pleasure, in ubuntu 16.04, but I fail to launch it in livemode
I got
$ curv -le
-e specified but $CURV_EDITOR not defined
Use curv --help for help.

I tried to set the
CURV_EDITOR=gedit
but the result is the same.
I've installed glslViewer, but not much better result.
any idea?

This should now be fixed. There were two bugs here.

The CURV_EDITOR variable now has a default value, so you should no longer get this error
message, or worry about setting it. Curv now defaults to using the "gedit" text editor.
"curv -le" should fail with a "missing filename" error. Previously, the error message was wrong.
That bug is now fixed.

To use curv, type curv -le foo.curv, where foo.curv is some file name. The file name must be specified, even if the file doesn't exist yet.


export a function for locations comparing

Does exists any functions can we compare equal between two locations?
Maybe should exist a function like this:
export function locationEquals(location1, location2) {
  if (location1 && location2 && location1.key && location2.key) {
    return location1.key === location2.key;
  }
  return false;
}

We already have a locationsAreEqual function, but that implementation is used specifically to determine whether or not a location has changed](https://github.com/rackt/history/blob/7278b7cf2ad34cf1b024c21258f167cd8f8caefe/modules/createHistory.js#L131), which is slightly different. That function should probably be called locationHasChanged(prevLocation, nextLocation).
Is that what you need? What are you doing with it?

I need a function to compare between a location in redux store's state and a location in routing context, so I can sync them by dispatch a action on location change or transitionTo new location on state change.

This one is similar
https://github.com/acdlite/redux-react-router/blob/next/src/routerStateEquals.js

Just re-reading through your use case here.
When you get a new location in your redux dispatch, you can just call history.transitionTo(location) without worrying about whether or not the location is actually different. We already take care of that for you. So, let history worry about whether or not it actually needs to do something.


Why no objective c  SDK?

I just found that you have no sdk for objective c ..but only swift 3. the project written in legacy swift 2.3 and objective c.. due to time constraints and project size. + libraries I'm unable to migrate to swift 3.,. simply because your library is written in swift 3,. you should have provided either the objective c implementation or opensource sdk which I could use to port to objective c.

Hi @LinkedHK,
Thanks for reporting this.
Unfortunately, at this time we are unable to support Swift 2.3 due to the substantial syntax/class differences between Swift 2.3 and 3.0.
We hope that in the future, when you find the time to migrate your project to Swift 3.0, you will reconsider using Pushy again.

but at least there should be available  objective c sdk after all

Hi @LinkedHK,
You are absolutely right.
We have just updated our documentation to add specific instructions for Objective C projects using Xcode 8 and newer:
https://pushy.me/docs/ios/get-sdk
Thank you for the suggestion.

Hi @pushy-me
I'm not able to import Pushy SDK framework to my objective c project. Installed Cocoapod also. Still I'm not able to find the header. It always says Pushy module not found

HI @rajazz,
To avoid the error, please add a blank .swift file to your Xcode project. This file can be empty.


Shapes and Erase+

I have two suggestions ✌,

Eraser+: Basically when you select the eraser tool I want a small sub-menu or a dropdown (Whatever works) to choose between two modes, "Brush" which is just the current Eraser mode, and "Intercept" which works more like a real eraser in which it just erases what it touches rather than the whole brush. I don't care what the final names are by the way.
Shapes: I want a ready-made Rectangle to size and an Eclipse I can rotate and all that stuff, as it would help with my art.

How do I add labels?

Hey, thanks for your suggestions!
We actually already have 1, by the way of the Snip and Join tool:
https://docs.openbrush.app/release-history/2.0#snip-join-strokes
https://docs.openbrush.app/alternate-and-experimental-builds/old-or-completed-feature-builds/snip-tool
For 2, are you referring to a brush stroke that's already shaped into a rectangle/ellipse? Could the guides feature at least help with the rectangle?

I want a 3D version of the shape tool you might find in other programs like Gimp


Formatting stylesheet not applied

If an external stylesheet is provided, Mark my words won't apply it, unless you open "preferences" again

ah, thanks for finding the bug, fixed it.


Brunch Plugin-API faulty

Description
Quoted from official docs:
 // file: File => Promise[Array: Path]
  // Allows Brunch to calculate dependants of the file and recompile them too.
  // Examples: SASS '@import's, Jade 'include'-s.
  // getDependencies(file) { return Promise.resolve(['dep.js']); }

This means, if I have a SASS submodule with the path my/sub/_module.scss and getDependencies returns a path to the parent file, the Plugin's compile function is required to be re-called, if other dependant where returned.
Expected behavior

Compile
fetch dependants
call the Plugin's compile function and with the proper dependant path.

Actual behavior

Compiles
fetch Dependencies
Log's that it should compile a path (with the old path from 1.)
Doesn't call Plugin's compile function and does nothing

I attached a log with official brunch log's, capitalized words are to clarify the internal problem
Environment

Brunch: latest, 2.10.9
Node.js: 6.10.0
NPM: 4.5.0 (also using yarn, 0.23.3
Operating system: OS X
Code editor: various

brunch config contents
Generated dynamically.

Hey @max-scopp, thanks for the issue.
getDependencies should return children paths, not parents'. This allows Brunch to recompile parents:
  // `path` is changed file's path, passed by watcher
  _compileParents(path) {
    const isParent = file => {
      return !this._compiled.has(file.path) &&
        anymatch(file.dependencies, path);
    };

    this._files.forEach(file => {
      if (isParent(file)) this._compile(file);
    });
  }


Add statistics troubleshooting section

From the output of the job:
../../src/fastdds-docs/docs/fastdds/statistics/includes/intro.rst:1: WARNING: Problems with "include" directive path:
InputError: [Errno 2] No such file or directory: '../../src/fastdds-docs/03-exports/aliases.include'.


fix typo

typo:
funtion -> fucntion

/assign @mattfarina

/ok-to-test
@max8899 The chart version needs to be incremented even for doc changes.

@davidkarlsen @mattfarina updated and sorry for the late response, almost forgot this pr

@max8899 please sign the DCO

/retest

@cpanato  why this keeps failing?


Adding support for pico paddle remotes

As referenced in #124 please see changes below--which I modeled after the commit you provided here: https://github.com/thenewwazoo/homebridge-lutron-caseta-leap/commit/d8d26a9f10a472f33ddd7a692cf7b4d497a52278. I'm not super experienced so please forgive me if my changes don't make sense or if this is not the proper way to propose them.

There's a minor typo in this (missing a closing bracket between lines 28 and 29), so I went ahead and released my own commit, and tagged you as a contributor in the release. Many thanks!


Retrigger endpoint returns "process step is not eligible" error

Description:
The retrigger endpoint (POST /api/dim/process/wallet/{processId}/retrigger?processStepTypeId={processStepTypeId}) is returning an error stating that the process step is not eligible to run, even though the step has failed and needs to be retriggered.

Steps to Reproduce:

Obtain an active processId and failed processStepTypeId via the following endpoint:
POST /api/dim/process/setup?bpn={bpn}&companyName={companyName}

bpn: Business Partner Number of the company.
companyName: Name of the company.

In the response, you will get the processId and the processStepTypeId of the TODO step.

Use the retrigger endpoint to attempt retriggering the failed step:POST /api/dim/process/wallet/{processId}/retrigger?processStepTypeId={processStepTypeId}

processId: b56f4766-26e0-4751-b342-de9677198e90
processStepTypeId: RETRIGGER_CREATE_STATUS_LIST

Observe the error in the response:Error: processId b56f4766-26e0-4751-b342-de9677198e90, process step CREATE_STATUS_LIST is not eligible to run

Expected Behavior:
The retrigger endpoint should allow retriggering a failed process step, especially when the step has been marked as failed in the setup process.
Actual Behavior:
The API returns an error stating that the step is "not eligible to run."

@thackerronak could you please verify that the fix solves your bug and if so close the issue? :)


Timout until chat session expires?

Hi, in the roadmap description it says that it is possible to set a timeout. Unfortunately I didn't find any option in this context in the current version of the library. Is this implementation not checked in yet? I would be interested in how long you have until the chat session expires if you don't make a request and is it possible to configure this timeout?

Bing Chat conversations have no expiration beyond what is offered by its retention policy (basically, how long your chats are being kept in your chat history).
The timeout in the roadmap refers to being able to timeout the requests that are being sent to Bing Chat API with CancellationToken. E.g.:
using var cts = new CancellationTokenSource(TimeSpan.FromSeconds(15));
var client = new BingChatClient(new()
{
    CookieU = "your-cookie_u-token",
    Tone = BingChatTone.Balanced,
});

Console.WriteLine("Please wait...");

var message = "Do you like cats?";
var answer = await client.AskAsync(message, cts.Token);

Console.WriteLine($"Answer: {answer}");

Ok, thanks for your help :)


Googlepicker

can you give it a try on your machine, it works for me...

This change is

Seems that when I open the extension for the first time it asks me to authenticate with Google - that is annoying, not sure what is causing it. Even after logging in it opens another Google Login window even though I just logged in.
The user should be only asked to login to google if the click on the Upload button - never before.

Review status: 0 of 11 files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from the review on Reviewable.io

Yeah, ok, I will try smthg this  afternoon, it's quite awful to debug that feature since you have to refresh browser cache everytime, is the file picker working though?

Filepicker not working for me.
On Mon, Mar 21, 2016 at 12:27 PM, Ticruz<EMAIL_ADDRESS>wrote:

Yeah, ok, I will try smthg this afternoon, it's quite awful to debug that
feature since you have to refresh browser cache everytime, is the file
picker working though?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/gorgias/gorgias-chrome/pull/171#issuecomment-199233084

--
Alex Plugaru
Write e-mails faster with Gorgias (Techstars '15)
https://gorgias.io/

here is a first glance on file attachment in gmail, though gmail seems to attach some javascript on their file attachment node.
I still have to handle the proper image for pdf, jpeg, png etc...
And write some script to have the exact same behaviour as 'native' gmail webapp.

So I pushed the changes for in the manifest it would work with our master google account. Check the changes here: https://github.com/gorgias/gorgias-chrome/tree/googlepicker
It appears however that when I insert the template the file gets removed after the email was sent. I'm gonna work on the sync part. Can you please download the above branch and try to see if it works for you?

Reviewed 2 of 11 files at r1, 1 of 3 files at r2, 6 of 10 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

the google filepicker is working properly, the google drive has somehow disappeared in your commit.. I will put it back.
I tried sending a mail to myself with files attached, it all work as expected... I have the file attached to my mail either in sent mailbox and received mailbox. I still have the same template with files attached after sending my mail. I can't figure out the bug you report.
where are the files removed from? the template? the maibox?

This was merged in 5.1.0


HDR-CX700v (Japanese version) Language change.

I have an Issue  that I have  Sony camcorder HDR-CX700V and it seems it is a Japanese version/brand cameras (as i got it on eBay from a dude in Japan) and I want it to change it's language from Japanese to English, couldn't find anywhere to do so and I suspect they don't have that Option available in the setup menu.
Right now I want to change my Sony HDR-CX700V from Japanese to the English language.
Please help me with this, I believe that you can do this, else please refer me a good solution, if you know of any.
Once Again Thanks A Lot

Duplicate of this


Data split for table 1 experiments

Hello,
Thank you for the repo. Can you please share the exact ETH/UCY data splits used for creating table 1 in the paper?

Hello,
We used trajdata to provide data in this project. To create table 1 in the paper, we trained our models on the training split of the indicated source dataset and evaluated them on the entire indicated target dataset. For example, in the case of "A2B" we would train on eupeds_eth-train and evaluate on eupeds_hotel-test_loo (which provides the entire hotel scene).
Hope this helps!


Error: more than one library with package name 'com.airbnb.android.react.maps' SOLVED

Solution: edit android/app/build.gradle and delete line:
compile project(':react-native-maps')
this fixed it for me. Maybe should be added as a step in the install instructions?

This should not be necessary any more


add solution for these problems in C++

Add solution for these problems and add their solution links under solution section in readme file
39 | GCD
40 | Lucky Numbers
41 | Numbers Histogram
42 | Pyramid

hey admin ,
can you assign me this project , I'll provide you the fresh and clear code with comment on each line .

hlo admin can you just help me out
can you help how can i merge both my pull requests over one single patch

hlo admin can you just help me out can you help how can i merge both my pull requests over one single patch

first take a pull from master branch then update your feature branch.
then write program for each problem and cpp file format like 21_problemName.cpp
and add solution link in cpp
then commit for each problem
and do same for all four problems
and after all this send a single MR

I have added 40 Lucky Numbers solution with updated README.md

https://github.com/Shubhamlmp/Programming-Practice/pull/98/commits/1c0450934031d08e575c74bd959ef5f7801f86f9

Link of 40 Lucky Numbers https://github.com/Shubhamlmp/Programming-Practice/pull/98/commits/1c0450934031d08e575c74bd959ef5f7801f86f9

hey @Shubhamlmp, can I submit the solutions..?