Inconsistent formatting when using a call chain with a closure

This code:
pub struct Bla;

impl Bla {
    fn constant(&mut self) -> Option<Token> {
        self.advance_until_special()
            .and_then(|(start, stop)| Some(self.token(TokenType::Constant, start, stop)))
    }
}

using this configuration:
max_width = 82
write_mode = "Overwrite"

Gets turned into this:
pub struct Bla;

impl Bla {
    fn constant(&mut self) -> Option<Token> {
        self.advance_until_special()
            .and_then(|(start, stop)| {
                          Some(self.token(TokenType::Constant, start, stop))
                      })
    }
}

In turn, this:
pub struct Bla;

impl Bla {
    fn constant(&mut self) -> Option<Token> {
        self.advance_until_special()
            .and_then(|(start, stop)| {
                let token = self.token(TokenType::Constant, start, stop);

                Some(token)
            })
    }
}

gets turned into this:
pub struct Bla;

impl Bla {
    fn constant(&mut self) -> Option<Token> {
        self.advance_until_special()
            .and_then(|(start, stop)| {
                          let token =
                              self.token(TokenType::Constant, start, stop);

                          Some(token)
                      })
    }
}

but this:
pub struct Bla;

impl Bla {
    fn constant(&mut self) -> Option<Token> {
        self.advance_until_special()
            .and_then(|(start, stop)| {
                let token = self.token(TokenType::Constant, start, stop);

                if whatever {
                    ehm;
                }

                Some(token)
            })
    }
}

stays as it is.
Here the inconsistency is where the }) are placed, which appears to somewhat randomly either start at the same column as the method call, or at the same column where the closure starts.
This is different from previous versions of rustfmt, where IIRC the }) would end up on the same column as the function call starts at.

It seems this only happens when another set of braces (e.g. an if, loop, etc) is placed in the closure. Replacing the if with a function call results in }) being placed at the column the closure starts with.

Another example, this:
let matches = options.parse(&args[1..])
    .unwrap_or_else(|err| {
        print_stderr(format!("{}\n", err));
        print_usage(&options);
    });

gets turned into this, which looks really silly:
let matches = options
    .parse(&args[1..])
    .unwrap_or_else(|err| {
                        print_stderr(format!("{}\n", err));
                        print_usage(&options);
                    });

I would have expected something more along the lines of this:
let matches = options
    .parse(&args[1..])
    .unwrap_or_else(|err| {
        print_stderr(format!("{}\n", err));
        print_usage(&options);
    });

You could use closure_block_indent_threshold = -1 or `fn_call_style = "Block" to get what you would expect:
pub struct Bla;

impl Bla {
    fn constant(&mut self) -> Option<Token> {
        self.advance_until_special().and_then(|(start, stop)| {
            Some(self.token(TokenType::Constant, start, stop))
        })
    }
}

pub struct Bla;

impl Bla {
    fn constant(&mut self) -> Option<Token> {
        self.advance_until_special().and_then(|(start, stop)| {
            let token = self.token(TokenType::Constant, start, stop);

            Some(token)
        })
    }
}

fn foo() {
    let matches = options.parse(&args[1..]).unwrap_or_else(|err| {
        print_stderr(format!("{}\n", err));
        print_usage(&options);
    });

}

@topecongiro That produces even weirder results sometimes. For example, this:
fn identifier_or_keyword(&mut self) -> Option<Token> {
    self.advance_until_special()
        .and_then(|(start, stop)| {
            let mut token = self.token(TokenType::Identifier, start, stop);

            if let Some(token_type) = self.identifiers
                .get(&token.value.as_ref())
                .cloned() {
                token.token_type = token_type;
            }

            Some(token)
        })
}

now becomes (with those settings):
fn identifier_or_keyword(&mut self) -> Option<Token> {
    self.advance_until_special()
        .and_then(
            |(start, stop)| {
                let mut token =
                    self.token(TokenType::Identifier, start, stop);

                if let Some(token_type) = self.identifiers
                       .get(&token.value.as_ref())
                       .cloned() {
                    token.token_type = token_type;
                }

                Some(token)
            }
        )
}

That is fixed on the current master. We will get the following:
fn identifier_or_keyword(x: &mut i32) -> Option<Token> {
    self.advance_until_special().and_then(|(start, stop)| {
        let mut token = self.token(TokenType::Identifier, start, stop);

        if let Some(token_type) = self.identifiers
               .get(&token.value.as_ref())
               .cloned() {
            token.token_type = token_type;
        }

        Some(token)
    })
}

@topecongiro Ah, neat! Is there any indication as to when master gets released?

rustfmt 0.8.6 has been released and appears to work as expected, so I'll close this issue. Thanks!


Mouse buttons 8/9 cannot be listened to from Atom

Most mouse devices today not made by Apple have more than two button.
To be precise, my mouse is this one: http://myego.cz/img/razer-logitech/mx518.jpg
I would love if I could use all of my buttons in Atom. Currently I tried:
document.addEventListener('mousedown', (e) => console.log(e))

But that doesn't trigger when I use my mouse's back/forward button.
I did a quick search and came to:
https://github.com/jostrander/mouse-forward-back
I would be perfectly satisfied if I could at least listen to 5 buttons left click, right click, middle click and those forward/back buttons.
My versions:
Atom    : 1.7.1
Electron: 0.36.8
Chrome  : 47.0.2526.110
Node    : 5.1.1
apm  1.9.2
npm  2.13.3
node 0.10.40
python 2.7.11+
git 2.7.4

It seems an enhancement request.
You may give a look at at https://discuss.atom.io/t/enhancement-support-for-all-available-mouse-buttons/16800.
Generally speaking, you may read the recent post about issue guidelines.

@capaj So just to clarify: do mouse buttons 1-7 work?

To my understanding, Atom supports left, right and middle click on all platforms. While it would be nice to have support for more mouse buttons, I don't think that this is something that the Atom team is going to have the bandwidth to work on any time soon. If someone wants to work on this and needs help creating a quality pull request, please do contact me here or on the Atom Slack.

I really don't get the idea behind closing such issue?
sure, not having the time is completely understandable. but this doesn't mean the issue is not there!
it's like deleting a todo item that I don't have the time to do now!
closing it will just slowly kill it over time
However, it's 1000000 times better than locking issues. it should be illegal :D


Bugfix/session attributes not preserved

Coverage increased (+0.6%) to 98.355% when pulling aa00e32a5f17c77f30628426269dbdea3e247965 on armonge:bugfix/session-attributes-not-preserved into 5ece285bfc4009244db2b91d0a69dfa7f2830fe2 on mediarain:master.


[Google Maps Plugin] Won't Compile - Factory isn't a type

I've been using the google maps plugin, but I recently moved to a new computer and now it won't compile. I assume this is because it's using the latest committed version, instead of a version number and a recent change has broken this.
Here are the compiler errors.
Compiler message:
file:///.../.pub-cache/git/plugins-6cd8c677a21f1da0e78b20186be3ba0b0de08cef/packages/google_maps_flutter/lib/src/google_map.dart:29:13: Error: Expected 0 type arguments.
  final Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers;
            ^
file:///.../.pub-cache/git/plugins-6cd8c677a21f1da0e78b20186be3ba0b0de08cef/packages/google_maps_flutter/lib/src/google_map.dart:29:13: Error: 'Factory' isn't a type.
  final Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers;
            ^^^^^^^
file:///.../.pub-cache/git/plugins-6cd8c677a21f1da0e78b20186be3ba0b0de08cef/packages/google_maps_flutter/lib/src/google_map.dart:42:36: Error: The argument type 'dart.core::Set<invalid-type>' can't be assigned to the parameter type 'dart.core::List<#lib1::OneSequenceGestureRecognizer>'.
Try changing the type of the parameter, or casting the argument to 'dart.core::List<#lib1::OneSequenceGestureRecognizer>'.
        gestureRecognizers: widget.gestureRecognizers,
                                   ^

Same issue. Could it be connected to this PR?

Seems like it. For a work around, I just cloned the repo and commented out the lines about the gesture recognizers. It works fine for now.

Seems like it. For a work around, I just cloned the repo and commented out the lines about the gesture recognizers. It works fine for now.

Thanks! :+1:

There is an accompanying PR in the Flutter in Master Branch. Do you have latest master?

file:///home/ufours-24/SathishFlutter/FlutterSdk/flutter/.pub-cache/git/plugins-8102ea700ed3e773a67a60d88e0e6b94ebf89cd9/packages/google_maps_flutter/lib/src/google_map.dart:42:36: Error: The argument type 'dart.core::Set' can't be assigned to the parameter type 'dart.core::List<#lib1::OneSequenceGestureRecognizer>'.
Try changing the type of the parameter, or casting the argument to 'dart.core::List<#lib1::OneSequenceGestureRecognizer>'.
gestureRecognizers: widget.gestureRecognizers,
^

/flutter/.pub-cache/git/plugins- clear the map plugin cache it will fix the error

@sathishRA91 perhaps flutter packages upgrade had worked as well. Have you triedIt's quite seldom that one needs to manually modify~/.pub-cache`

Having the same issue. Did flutter packages upgrade and cleared the map plugin cache but still it didn't work.

@wilburt have you tried with master channel?

@zoechi I tried with the master channel and I am getting the following error.
`/home/power/development_installation/flutter/.pub-cache/hosted/pub.dartlang.org/map_view-0.0.14/android/src/main/kotlin
/com/apptreesoftware/mapview/MapViewPlugin.kt: (168, 34): Only safe (?.) or non-null asserted (!!.) calls are allowed
on a nullable receiver of type Map<String, Any>?
e:
/home/power/development_installation/flutter/.pub-cache/hosted/pub.dartlang.org/map_view-0.0.14/android/src/main/kotlin
/com/apptreesoftware/mapview/MapViewPlugin.kt: (171, 36): Only safe (?.) or non-null asserted (!!.) calls are allowed
on a nullable receiver of type Map<String, Any>?
e:
/home/power/development_installation/flutter/.pub-cache/hosted/pub.dartlang.org/map_view-0.0.14/android/src/main/kotlin
/com/apptreesoftware/mapview/MapViewPlugin.kt: (172, 40): Only safe (?.) or non-null asserted (!!.) calls are allowed
on a nullable receiver of type Map<String, Any>?
e:
/home/power/development_installation/flutter/.pub-cache/hosted/pub.dartlang.org/map_view-0.0.14/android/src/main/kotlin
/com/apptreesoftware/mapview/MapViewPlugin.kt: (173, 37): Only safe (?.) or non-null asserted (!!.) calls are allowed
on a nullable receiver of type Map<String, Any>?
e:
/home/power/development_installation/flutter/.pub-cache/hosted/pub.dartlang.org/map_view-0.0.14/android/src/main/kotlin
/com/apptreesoftware/mapview/MapViewPlugin.kt: (174, 31): Only safe (?.) or non-null asserted (!!.) calls are allowed
on a nullable receiver of type Map<String, Any>?
e:
/home/power/development_installation/flutter/.pub-cache/hosted/pub.dartlang.org/map_view-0.0.14/android/src/main/kotlin
/com/apptreesoftware/mapview/MapViewPlugin.kt: (175, 28): Only safe (?.) or non-null asserted (!!.) calls are allowed
on a nullable receiver of type Map<String, Any>?
e:
/home/power/development_installation/flutter/.pub-cache/hosted/pub.dartlang.org/map_view-0.0.14/android/src/main/kotlin
/com/apptreesoftware/mapview/MapViewPlugin.kt: (177, 21): Only safe (?.) or non-null asserted (!!.) calls are allowed
on a nullable receiver of type Map<String, Any>?
e:
/home/power/development_installation/flutter/.pub-cache/hosted/pub.dartlang.org/map_view-0.0.14/android/src/main/kotlin
/com/apptreesoftware/mapview/MapViewPlugin.kt: (178, 66): Only safe (?.) or non-null asserted (!!.) calls are allowed
on a nullable receiver of type Map<String, Any>?
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':map_view:compileDebugKotlin'.

Compilation error. See log for more details

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with
--scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 18s`

If anyone finds a hack/way around this then that would be greatly appreciated.. Really want to put my app into Google Play but just cannot compile it anymore.. Understand it is not fully released but it was working fine for what I needed before this problem..

Hi, so I made it work by cloning the repository and commented out the following lines in google_maps.dart
this.gestureRecognizers,
gestureRecognizers: widget.gestureRecognizers,
After commenting you have to change the reference to the package in your pubspec.yaml

Hi
I followed your instructions.
Now I got an error in file material_button.dart, please find it below.
Thank you.
X:_dart-sdk\bin\dart.exe --enable-asserts --enable-vm-service:56989 X:\AndroidFlutterTutorials\google_maps_1\lib\main.dart
Observatory listening on http://<IP_ADDRESS>:56989/
file:///X:/_flutter_sdk/packages/flutter/lib/src/material/material_button.dart:285:1: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
mixin MaterialButtonWithIconMixin { }
^^^^^
file:///X:/_flutter_sdk/packages/flutter/lib/src/material/material_button.dart:285:1: Error: Expected ';' after this.
mixin MaterialButtonWithIconMixin { }
^^^^^
file:///X:/_flutter_sdk/packages/flutter/lib/src/material/material_button.dart:285:7: Error: A function declaration needs an explicit list of parameters.
Try adding a parameter list to the function declaration.
mixin MaterialButtonWithIconMixin { }
^^^^^^^^^^^^^^^^^^^^^^^^^^^
dart:ui:1: Error: Not found: dart:ui.
Process finished with exit code 254

@mjserrato are you using master channel?

Yes I am.
X:_flutter_sdk>flutter channel master
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine 74625aed323d04f2add0410e84038d250f51b616...
Unzipping Dart SDK...
Building flutter tool...
Running pub upgrade...
Downloading Material fonts...                                0,5s
Downloading package sky_engine...                            0,3s
Downloading common tools...                                  1,0s
Downloading windows-x64 tools...                             3,3s
Downloading android-arm-profile/windows-x64 tools...         0,4s
Downloading android-arm-release/windows-x64 tools...         0,3s
Downloading android-arm64-profile/windows-x64 tools...       0,5s
Downloading android-arm64-release/windows-x64 tools...       0,4s
Downloading android-x86 tools...                             2,8s
Downloading android-x64 tools...                             2,9s
Downloading android-arm tools...                             1,0s
Downloading android-arm-profile tools...                     1,0s
Downloading android-arm-release tools...                     0,8s
Downloading android-arm64 tools...                           1,0s
Downloading android-arm64-profile tools...                   0,9s
Downloading android-arm64-release tools...                   0,8s
Downloading android-arm-dynamic-profile tools...             1,0s
Downloading android-arm-dynamic-release tools...             0,8s
Downloading android-arm64-dynamic-profile tools...           1,1s
Downloading android-arm64-dynamic-release tools...           0,9s
Downloading Gradle Wrapper...                                0,1s
Switching to flutter channel 'master'...
git: Branch 'master' set up to track remote branch 'master' from 'origin'.
git: Switched to a new branch 'master'

What Dart version do you get in flutter doctor -v?

Flutter (Channel master, v0.10.2-pre.88, on Microsoft Windows [VersiÃ³n 10.0.17134.345], locale es-ES)
• Flutter version 0.10.2-pre.88 at X:_flutter_sdk
• Framework revision 6eadbe24ab (8 hours ago), 2018-10-29 00:21:22 -0400
• Engine revision 2f06a53a8d
• Dart version 2.1.0 (build 2.1.0-dev.8.0 bf26f760b1)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at x:_android_sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = x:_android_sdk
• Java binary at: X:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[√] Android Studio (version 3.2)
• Android Studio at X:\Program Files\Android\Android Studio
• Flutter plugin version 29.1.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[√] IntelliJ IDEA Ultimate Edition (version 2018.1)
• IntelliJ at W:\Program Files\JetBrains\IntelliJ IDEA 2018.1.2
• Flutter plugin version 28.0.2
• Dart plugin version 181.4668.60
[!] Connected device
! No devices available
! Doctor found issues in 1 category.
X:_flutter_sdk>

X:_dart-sdk\bin\dart.exe --enable-asserts --enable-vm-service:56989 X:\AndroidFlutterTutorials\google_maps_1\lib\main.dart
Observatory listening on http://<IP_ADDRESS>:56989/

looks like you are running with the standalone Dart SDK instead of with Flutter.
What action exactly leads to that error?

mixin MaterialButtonWithIconMixin { }
file:///X:/_flutter_sdk/packages/flutter/lib/src/material/material_button.dart:285:7: Error: A function declaration needs an explicit list of parameters.
Try adding a parameter list to the function declaration.
mixin MaterialButtonWithIconMixin { }
^^^^^^^^^^^^^^^^^^^^^^^^^^^
dart:ui:1: Error: Not found: dart:ui.

@mjserrato Can't make sense of your last comment.

What action exactly leads to that error?

Can you please explain?

Now is working.
Thank you.

I have the same problem, I am using master and it's updated.

[✓] Flutter (Channel master, v0.10.3-pre.145, on Mac OS X 10.13.6 17G65, locale
en-ZA)
• Flutter version 0.10.3-pre.145 at /Users/user/flutter
• Framework revision 2d5ed986e1 (60 minutes ago), 2018-11-08 07:55:54 +0000
• Engine revision 70a1106b50
• Dart version 2.1.0 (build 2.1.0-dev.8.0 bf26f760b1)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/user/Library/Android/sdk
• Android NDK at /Users/user/Library/Android/sdk/ndk-bundle
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = /Users/user/Library/Android/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 23.2.1
• Dart plugin version 171.4424
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] VS Code (version 1.28.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.20.0
[✓] Connected device (1 available)
• LG H850 • LGH8509d2a9d98 • android-arm64 • Android 7.0 (API 24)
• No issues found!

@uppercase-army please try https://github.com/flutter/flutter/issues/23253#issuecomment-431250726
It seems there might be an issue with plugins from git-dependencies.

@zoechi thanks, my problem persists.
I emptied the ~/.pub-cache folder, I then used "flutter packages upgrade" command.
Error:
[dart] The name 'Factory' isn't a type so it can't be used as a type argument.

Has this actually been fixed? It is broken and broke when the bug was first listed. The original error still occurs.

I've been using the google maps plugin, but I recently moved to a new computer and now it won't compile. I assume this is because it's using the latest committed version, instead of a version number and a recent change has broken this.
Here are the compiler errors.
Compiler message:
file:///.../.pub-cache/git/plugins-6cd8c677a21f1da0e78b20186be3ba0b0de08cef/packages/google_maps_flutter/lib/src/google_map.dart:29:13: Error: Expected 0 type arguments.
  final Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers;
            ^
file:///.../.pub-cache/git/plugins-6cd8c677a21f1da0e78b20186be3ba0b0de08cef/packages/google_maps_flutter/lib/src/google_map.dart:29:13: Error: 'Factory' isn't a type.
  final Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers;
            ^^^^^^^
file:///.../.pub-cache/git/plugins-6cd8c677a21f1da0e78b20186be3ba0b0de08cef/packages/google_maps_flutter/lib/src/google_map.dart:42:36: Error: The argument type 'dart.core::Set<invalid-type>' can't be assigned to the parameter type 'dart.core::List<#lib1::OneSequenceGestureRecognizer>'.
Try changing the type of the parameter, or casting the argument to 'dart.core::List<#lib1::OneSequenceGestureRecognizer>'.
        gestureRecognizers: widget.gestureRecognizers,
                                   ^

Did you import 'foundation.dart'?


How exactly can I run this proxy on my local enviornment

Hi, I like the way this handles the comment from fork PR, but I'm confused how can I setup the proxy server to run on my local system, or on aws or openshift, Couldn't find anything on the README, any would be great in this matter.

I've set it up to run on Cloud Run because it's likely free for most users, and allows for the deploy button which makes it extremely easy to get running. I imagine folks wanting to run this server to do a specific job, but maybe they aren't interested in maintaining cloud infrastructure.
As far as running it locally — it's a standard Node.js / Express app, and you could run it locally by defining the required env variable and running the npm start script, e.g.,
$ GITHUB_TOKEN=xxx111yyy npm run start

If you wanted to submit a PR for docs or files to allow deployment on other cloud services I'd be happy to review.


[CMake] Use proper module triples for the names of standard library modules

The standard library (and other Swift modules built by our CMake build system)
has been building module files with an architecture only (e.g., x86_64.swiftmodule)
rather than a proper module triple (x86_86-apple-macosx10.15,
x86_64-apple-ios13.0-simulator, etc.), unlike every other build
system. There are hacks in the compiler and other tools to cope with
this unnecessary build difference. Fix the module file names so we'll
be able to remove the hacks later.
Fixes rdar://problem/49071536.

@swift-ci please test

@swift-ci please test source compatibility

Build failed
Swift Test OS X Platform
Git Sha - b27b4d4bb6fbedcf3b0fa0b2adaf8f5bdae12096

Build failed
Swift Test Linux Platform
Git Sha - b27b4d4bb6fbedcf3b0fa0b2adaf8f5bdae12096

@swift-ci please test

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - b27b4d4bb6fbedcf3b0fa0b2adaf8f5bdae12096

Build failed
Swift Test Linux Platform
Git Sha - 13b6d7226229372859e620aa6b235d87762195b5

@swift-ci please test

@swift-ci please test


[link2file] Replace given links with source files.

Adds a playbook that would replace the provided link files with the linked source file. This is to workaround the limitation with kustomize load restrictions.
At the same time maintain reference to a single source.
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running

Testing results
Tasks snippet
TASK [run_hook : Run Replace resource links with files from library.] ************************************************************************************************************************************************************************
Friday 12 April 2024  05:54:04 -0400 (0:00:00.141)       0:02:15.710 **********
Follow script's output here: /home/zuul/ci-framework-data/logs/ci_script_006_run_replace_resource_links.log
changed: [localhost]

Log snippet
PLAY [Replace soft link files with source files.] ******************************

TASK [Gather the file details path={{ _file_path }}] ***************************
Friday 12 April 2024  05:54:05 -0400 (0:00:00.045)       0:00:00.045 **********
ok: [localhost] => (item=dt/uni01alpha/networker/dataplane-ssh-secret.yaml)
ok: [localhost] => (item=dt/uni01alpha/networker/openstackdataplanenodeset.yaml)
ok: [localhost] => (item=dt/uni01alpha/networker/openstackdataplanedeployment.yaml)

TASK [Remove all links path={{ item.stat.path }}, state=absent] ****************
Friday 12 April 2024  05:54:05 -0400 (0:00:00.463)       0:00:00.508 **********
changed: [localhost] => (item=dt/uni01alpha/networker/dataplane-ssh-secret.yaml)
changed: [localhost] => (item=dt/uni01alpha/networker/openstackdataplanenodeset.yaml)
changed: [localhost] => (item=dt/uni01alpha/networker/openstackdataplanedeployment.yaml)

TASK [Replace link with actual file. src={{ item.stat.lnk_source }}, dest={{ _file_path }}] ***
Friday 12 April 2024  05:54:06 -0400 (0:00:00.480)       0:00:00.989 **********
changed: [localhost] => (item=dt/uni01alpha/networker/dataplane-ssh-secret.yaml)
changed: [localhost] => (item=dt/uni01alpha/networker/openstackdataplanenodeset.yaml)
changed: [localhost] => (item=dt/uni01alpha/networker/openstackdataplanedeployment.yaml)

PLAY RECAP *********************************************************************
localhost                  : ok=3    changed=2    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

Friday 12 April 2024  05:54:07 -0400 (0:00:00.854)       0:00:01.844 **********
===============================================================================
Replace link with actual file. ------------------------------------------ 0.85s
Remove all links -------------------------------------------------------- 0.48s
Gather the file details ------------------------------------------------- 0.46s

/approve


CH340 Serial device doesn't appear in /dev/

I seem to be unable to find the serial port for my Arduino to Ubuntu on WSL2, but it shows up in lsusb (passed through with usbipd).
It should appear as /dev/ttyUSB* or /dev/ttyS*, or like WSL1 could automatically be assigned a tty port without having to use usbipd.
I've attempted to build the kernel module myself but it fails as this seems to be impossible to do on WSL short of building WSL from scratch (and even then I couldn't figure out how to add support)
I am running Windows 11 with the preview build of WSL to enable USB support via usbipd.
The device appears in lsusb as Bus 001 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
and can be seen in dmesg as:
[15159.884965] vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(3)
[15159.885370] vhci_hcd vhci_hcd.0: devid(65542) speed(2) speed_str(full-speed)
[15159.885803] vhci_hcd vhci_hcd.0: Device attached
[15160.172592] vhci_hcd: vhci_device speed not set
[15160.242586] usb 1-1: new full-speed USB device number 3 using vhci_hcd
[15160.322591] vhci_hcd: vhci_device speed not set
[15160.392593] usb 1-1: SetAddress Request (3) to port 0
[15160.436425] usb 1-1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.63
[15160.436944] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[15160.437353] usb 1-1: Product: USB2.0-Serial

but is not enumerated as a serial device. I think the WSL kernel is missing a module?
Thanks,
Hope there is a simple fix.

The same thing goes for my ESP32 dev board with the CP210x USB serial chip. Is there any documentation for getting USB serial devices working with WSL as mentioned in the release notes for WSL <IP_ADDRESS> here?

What is the Linux kernel version in WSL2? have you tried with system provided WSL? Also try with newer version of WSL Preview.

I'm running Ubuntu in the Windows 11 WSL2 preview version (kernel <IP_ADDRESS>-microsoft-standard-WSL2) from the Windows store.

Hmm... same in my case. Appears in lsusb but not as a device. Mine is CP2102 USB to UART Bridge Controller.
[   49.854530] vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(3)
[   49.854534] vhci_hcd vhci_hcd.0: devid(196610) speed(2) speed_str(full-speed)
[   49.854563] vhci_hcd vhci_hcd.0: Device attached
[   50.141719] vhci_hcd: vhci_device speed not set
[   50.211646] usb 1-1: new full-speed USB device number 2 using vhci_hcd
[   50.301694] vhci_hcd: vhci_device speed not set
[   50.371658] usb 1-1: SetAddress Request (2) to port 0
[   50.438231] usb 1-1: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[   50.438233] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   50.438235] usb 1-1: Product: CP2102 USB to UART Bridge Controller
[   50.438236] usb 1-1: Manufacturer: Silicon Labs
[   50.438237] usb 1-1: SerialNumber: 0001

I've managed to get both the CH340 and CP2102 working by rebuilding the kernel with some config settings changed.
I've put some instructions on how to do it here!
Hopefully useful in the meantime before MS add them to the kernel.

I was able to confirm that the instructions via Stackoverflow works!

This also works on Windows 10 as long as you're using WSL2 distros.

This all works great after making a custom kernel, however I now run into permission problems on ttyUSB0
I can get around them by changing the permissions on ttyUSB0 each time it connects but this is a pain.
This works:
sudo chmod +666 /dev/ttyUSB0
These do NOT work.  (as in, don't grant permissions to the ttyUSB0 for the current user)

Adding the user to the dialout group
setting up UDEV to automatically set the permissions.

e.g. in  /etc/udev/rules.d/50-myusb.rules
KERNEL=="ttyUSB[0-9]*",MODE="0666"
KERNEL=="ttyACM[0-9]*",MODE="0666"

Note:  I logged out and back after changes,   also   did wsl --shutdown, and restarted it,   and even rebooted.   Nothing 'stuck' and would apply each time the ttyUSB0 was connected.
Info:
dev@HorizonNuc:/etc/udev/rules.d$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I failed to compile the customized kernel since after compiling the kernel I cannot find the “bzImage” file to copy?


Update dependency ava to ^0.25.0

This Pull Request updates dependency ava from ^0.22.0 to ^0.25.0

Release Notes
v0.25.0
Compare Source
Another small release while we're gearing up for a 1.0 built with Babel 7. This is likely to be the last 0. release, but we may go through a few beta releases for 1.0 whilst we wait for Babel 7 to get out of beta itself.

We now detect @std/esm in AVA's "require" configuration and will use it to require subsequent modules 72c53be
t.log() now supports multiple arguments 4f896c2
AVA no longer globally modifies Error.stackTraceLimit in the worker processes f00f3c4
We've improved TypeScript typings for t.snapshot(value, options) 29e5dfd
Source maps for the test files can now be resolved if they reside on a different drive aaddc37
Code excerpts shown for test failures now handle Windows-style linebreaks 947f207
We've updated the Debugging tests with Visual Studio Code recipe with tips on serial debugging and skipping dependencies 4a13966 bcb77fc

All changes 📚
v0.24.0...v0.25.0
Thanks 💌
💖 Huge thanks to @ppatel221, @cdaringe, @jy95, @jamestalmage, @okyantoro, @ajafff, @niftylettuce, @kugtong33, @troysandal, @willnode and @forresst for helping us with this release. We couldn’t have done it without you!
Get involved ✌
We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

v0.24.0
Compare Source
Highlights 💡
This is a pretty small release, but a great one if you're solely developing for Node.js 8.3 or above.
You can now use object rest/spread properties in test files without any further Babel configuration. Note that if you're running tests on older versions of Node.js you'll still need to add the relevant Babel plugins, since this new language feature has not yet reached stage 4. 37c9122c50722b06039f1cc2306a7c176fd3c786
Miscellaneous 🕯

Before and after hooks are no longer run when all tests are skipped 1cd3a04fbab2787a4f2dd4020529f8598ec31e51
Improved output of assertion statements when tests fail 37e8b49af78dc72bbf6a4ff674650cd57f48ea58
Improved feedback when t.is() values are deeply equal but not the same c41b2afc201118bfdc4d2039180ae2ddd0f697c9
Updated the Typescript with an example of how to title macros f98a8810de770c4d22d87302580eecc228c8d052

All changes 📚
v0.23.0...v0.24.0
Thanks 💌
💖 Huge thanks to @jedmao, @Lifeuser, @mightyiam, @ahmadawais and @codeslikejaggars for helping us with this release. We couldn’t have done it without you!
Get involved ✌
We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

v0.23.0
Compare Source
Highlights 🕴
NODE_ENV=test ✨
AVA will now set process.env.NODE_ENV to 'test', as long as the NODE_ENV environment variable has not already been set. 42e7c74
Improved snapshot storage location 🗃
Snapshots are stored alongside your test files. This is great when your test file is executed directly but say if you're using TypeScript to precompile your test file AVA would store the snapshots in your build directory. In this release, if source maps are available, AVA determines the original test file location and uses that to store the snapshots.
You can also specify where snapshots are stored through the snapshotDir option in the package.json file. 7fadc34
Matching anonymous tests 🕵
--match='*' now matches all tests, including those without a title. 1df502d
Miscellaneous 🎒

The verbose logger now only displays the timestamp when in watch mode 1ea758f
Anonymous functions are now included in stack traces c72f4f2
Concurrency is now capped at 2 in CI environments 3f81fc4
AVA no longer calls Bluebird.longStackTraces(). If you're using Bluebird you may want to call this yourself using a require script. ebf78b3 61101d9
There's a new recipe for endpoint testing using Mongoose c9fe8db
The browser testing recipe has been updated with an example of exposing global variables, such as jQuery f43d5ae
t.log() is now supported in the Flow and TypeScript type definitions 64b7755
t.title is now supported in the TypeScript type definitions 3c8b1be
t.snapshot() now has a better Flow type definition ded7ab8

All changes 🛋
v0.22.0...v0.23.0
Thanks 💌
💖 Huge thanks to @anshulwadhawan, @mliou8, @dehbmarques, @forivall, @forresst, @Couto, @impaler, @kristianmandrup, @lukechilds, @neoeno, @jugglinmike, @P-Seebauer, @philippotto, @ptim, @rhendric, @ntwb, @tdeschryver, @timothyjellison and @zellwk for helping us with this release. We couldn’t have done it without you!
Get involved ✌
We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.

This PR has been generated by Renovate Bot.

Lock file problem
Renovate failed when attempting to generate a lock file. This is usually happens when you have private modules but have not added configuration for private module support. It is strongly recommended that you do not merge this PR as-is.
Renovate will not retry generating a lockfile for this PR unless either (a) the package.json in this branch needs updating, or (b) you manually delete this PR so that it can be regenerated.
The output from stderr is included below:
package.json/yarn.lock
undefined


Restyaboard integration

I'm looking to integrate SilverStripe with Restyaboard
Can I get the integration document, if any?

Hi, thanks for taking the time to post to our issue tracker.
The issue tracker is reserved for reporting bugs and we don't provide support via the issue tracker. There are great community support options where you can get help including Stack Overflow (remember to tag as silverstripe), our forums and even IRC or Gitter.
Sorry we can't be of more help and good luck resolving your problem!

Thanks for the response.


how do I highlight the errors that came from the server?

hi! thanks for lib!
but how i do it?
what is the right way?
for example - an error when such an email already exists in the database

You can use asyncValidator(https://beizhedenglong.github.io/vue-hooks-form/guide/validation.html#asynchronous-validation) that returns a promise to check whether the email is already exists  in server


Add test harness

For base functionality especially, speeds up review cycles.

E.g. https://www.toptal.com/ios/how-to-write-automated-tests-for-ios


tendonitis

Add new term:
tendonitis (a child of increased inflammatory response MP:0001846)
DEF: inflammation of a tendon
SOURCE: HP:0025230
SYN: tendinitis
SYN: tendon inflammation

Added new term:
tendonitis MP:0030801


Release v5.3.0

Changes since last release (https://github.com/github/linguist/compare/v5.2.0...master)

Update to charlock_holmes 0.7.5 (#3778)
Fix classification of bogus "markup" languages (#3751)
Add nearley language definition. (#3781)
Byebug requires Ruby 2.2 (#3790)
Add test to keep grammar-list synced with submodules (#3793)
Add ".gql" as a GraphQL file extension (#3813)
Added ".monkey2" extension to Monkey Programming Language (#3809)
Change KiCad Board language to KiCad Legacy Layout (#3799)
Added syntax highlighting for Squirrel (#3791)
Create VBAllInOne.vb (#3785)
Added .mjs extension to JavaScript (#3783)
Updated color for Ceylon language (#3780)
Make Matlab's Color More Appropriate (#3771)
Add .clang-tidy filename for YAML (#3767)
Classify some project files as XML (#3696)
Add DataWeave language (#3804)
Update Ace modes for Csound languages (#3822)
Add Ballerina language (#3818)
Register "buildozer.spec" as an INI filename (#3817)
Added natvis extension to XML (#3789)
Change Ruby grammar source (#3782)
New repository for TypeScript grammar (#3730)
Added VS Code workspace files to vendored path (#3723)
Fix typo in script/add-grammar (#3853)
Don't count VCL as Perl for statistics. (#3857)
Add WDL language support (#3858)
Add Angelscript language (#3844)
Create association with OpenEdge .w files (#3648)

... and an update to the latest version of all grammars.
/cc @github/data-engineering @dbussink

Linguist v5.3.0 is now live on GitHub.com and Lightshow.


gas-less Swap USDT for ETH - ERROR

Describe the bug
Swapping 500 USDT for ETH results in ERROR
To Reproduce

Set Relayer Approval
Approve USDT spend limit (15000 USDT)
swap gas-less 500 USDT for ETH

result : ERROR message with no reason
sellToken: 0xdac17f958d2ee523a2206206994597c13d831ec7
buyToken: 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
receiver: 0xc64ab................08bd68daed59ee
sellAmount: 435132232
buyAmount:<PHONE_NUMBER>9694117
validTo:<PHONE_NUMBER>
appData: 0xe9f29ae547955463ed535162aefee525d8d309571a2b18bc26086c8c35d781eb
feeAmount: 64867768
kind: sell
partiallyFillable: false
sellTokenBalance: external
buyTokenBalance: erc20

Firefox console
Unknown reason for bad order submission Request body deserialize error: invalid type: map, expected a u256 encoded as a decimal encoded string at line 1 column 672 instrument.js:109:45
    m instrument.js:109
    getErrorMessage OperatorError.ts:93
    getErrorFromStatusCode OperatorError.ts:113
    sendSignedOrder gnosisProtocol.service.ts:63

Expected behavior
should receive ~ 0.1 ETH
Screenshots

Cleaning up old issues, please reopen if applicable


pact.cabal: remove other-modules from test-suite

hspec-discover doesn't use this section anyway.

GitLab CI is failing due to https://github.com/kadena-io/pact/pull/430.

Good that -Wall catches this though.


[Bug] Signup & Signin page issue

Describe the bug
A clear and concise description of what the bug is.
[Accessibility]
When we open the sign-in or sign-up page on mobile the EOS Icon on both pages looks too small.
Solution :
Icon Size can be increased a little bit.
1. Icon Issue(Header)

Steps to reproduce the behavior:

Open EOS User Story webpage on mobile.
Click on the sign-in button.

Expected Behavior:
A clear and concise description of what you expected to happen.
You will notice the EOS icon in the header looks too small and the language changing option dropdown is quite bigger.
The header EOS icon size should be increased.
2. Footer Overlapping

Problem: The footer overlaps on the text present on sign up form
(The logic behind the footer is to hide the text, cause both the text on the sign-up form and footer talks about cookies and privacy policy)
Steps To Reproduce the Behavior:

Open EOS User Story webpage on mobile.
Click on the sign-in button.

Expected Behavior:
The footer should either completely overlap on the sign-up text or should be aligned properly so that it won't overlap.
Logs
If applicable, add logs to help explain your problem (e.g. the error message and/or exception traceback).
Environment (please complete the following information):
Browser: Chrome

OS:
Browser:

Additional context
Add any other context about the problem here.

I have made the changes according to your requirements. You can see the above image where I increase the size of the "user story" logo and the footers are not overlapping.  If you approve it then I will make a pull request for it.

Actually the size and overlapping changes according to different screen sizes which I m currently trying to solve.
Try for galaxy s9+ and pixel 5 device overlapping will happen and even the header alignment will break a little.

In inspect, I didn't find the Samsung galaxy s9+ but I tried the Samsung galaxy s8+ which shows the same above image that I have sent. In Galaxy fold, Header will give an overlapping problem. So, what I will do - I will decrease the size of the logo and the button for below 300px devices. So, they can overlap with each other. If it is ok for you?

*can't

Plz see the above video, If you approve it then I will make a pull request.

Thank you


VHeaderFilter Typescript Conversion

Description
The types in VHeaderFilter aren't detected even though they are defined in ~/composables
Screenshots

Additional context
Stumbled upon this while trying to figure out why tests results vary depending on the enviroment #1737. This error gets replaced by others if we include /src/components/VHeader/VHeaderFilter.vue to the tsconfig file.

I suspect it is related to #1752. I am working on finding a fix. If you have any insight / ideas on how to approach this, i'd greatly appreciate it !
Resolution

[x] 🙋 I would be interested in resolving this bug.

 The version of vue-tsc has been updated recently, and different versions produce different type errors.
Also, there are currently several PRs that update the types and modals, it might be better to wait until they land to try to figure out what causes this issue.

Okay! I'll wait for the new PRs to be merged until continuing with this issue.

I tried looking into it, and it appears to be a VSCode/Volar problem. I don't see these problems in WebStorm, and you don't get errors when you run pnpm types.
The problem seems to be that VSCode or Volar are not picking up the paths object in the tsconfig file, and marking all the aliased paths that start with ~ as not found. If you replace all of the aliased paths with the relative paths ( '~/utils/focus-management' with  '../../utils/focus-management'), the problem disappears.

The problem seems to be that VSCode or Volar are not picking up the paths object in the tsconfig file

I think it's because we don't include it in tsconfig.json
{ /* ... */
"include": [
  "**/*.ts",
/*rest of the files */
  "src/components/VHeader/VHeaderFilter.vue",
 ],
 }

Adding something like that to tsconfig.json fixes the problem but we get some type errors "Type HTMLElement | null " is not assignable. Weird thing is it doesn't fail the pnpm test linting check.

Nvm it fails when i try to upload a branch.

@ramadanomar, I've added lang="ts" to the VHeader components to be able to use TypeScript when writing them. I did not add them to tsconfig so that they wouldn't raise TypeScript errors (see more details in this comment). Normally, this can raise warnings in the IDE, but should not cause errors.
We have vendored-in the Reakit functions, and I plan to convert VHeader, VModal and VPopover components to valid Typescript and add them to TSConfig after the modal refactor PRs are merged in.

Oh, i understand. I'll close this issue as it behaves normally then. Lmk if i can help with the typescript conversion


How to Use docker-elk 6.7.0?

Hi all, i have managed to pull and use the docker-elk 7.0.1 but i wanted to try 6.7.0
Problem description
i do not know how to pull/use docker-elk 6.7.0, but i managed to find a link for that https://hub.docker.com/r/sebp/elk/ but i do not know how to use it in conjunction with the docker-elk git.
Any help will be appreciated, Thanks

Have a look at https://github.com/deviantony/docker-elk#using-a-newer-stack-version


New feature: JSON stringifier

new table method export() returns an array table rows' own properties, allowing to stringify.
A full utility method will be provided in next release.

table.exports() has been removed.
JSON exporting will be provided as a separate module


How to launch upload with submission?

Hello,
I succeeded in using your modules and it works perfectly. However I would like to use it in a form and the problem is that the user has to upload each file and then submit the form. Is it possible to launch the uploads with the form submission?
Thanks.

try to send a broadcast signal on submitting your form:
$scope.$broadcast('schemaFormFileUploadSubmit');
something like:
$scope.onSubmit = function(form) {
  // First we broadcast an event so all fields validate themselves
  $scope.$broadcast('schemaFormFileUploadSubmit');

  // Then we check if the form is valid
  if (form.$valid) {
    // ... do whatever you need to do with your data.
  }
}

I also would like to know how to do this.  On my endpoint i return back an id and need all the ids of the files being uploaded to make DB associations. Can you please elaborate on how to do this? Thanks!

@saburab Not sure how you expect to see if the form is valid and move on. Because even though the $broadcast is uploading the files, the controller still continues to execute additional code before the files are finished uploading.


EmptyState: review findings

What will this achieve?

[x] Change customIllustrationAltText to simply illustrationDescription
[x] Change linkUrl and linkHref props into a single link prop that is a shape of

link: PropTypes.shape({
    href: PropTypes.string.required,
    text: PropTypes.string.required,
  }),

[x] Change all action props into a single action prop that is a shape of

action: PropTypes.shape({
    text: PropTypes.string,
    renderIcon: PropTypes.string,
    kind: PropTypes.string,
   onClick: PropTypes.func,
  }),

[x] Remove console log in EmptyState.stories.js
[x] Use spacing-10 and spacing-11 tokens for illustration sizes in _empty-state.scss
[x] title and subtitle props in EmptyStateContent should be refactored to remove typeof string check
[x] EmptyState.test.js copyright header should have 2021 in date

This is complete and the empty state components have been released.


Perform db ops on the HashMap (need to fetch data from db if not present)

Simple CRUD operations - find, get
Custom Repository methods - findByName, findByIdAndName
Update methods with custom implementation in repository classes
Introduce a utility or helper class to be used by Repository/Cake classes and Transaction flow to perform the given entity

Dependent on https://github.com/appsmithorg/appsmith/issues/37228


SkipCertificateValidation => wrong naming

https://github.com/EvotecIT/Mailozaurr/blob/cc806a2a2c9d6d2176ffb40872b5befbf997ac2a/Public/Send-EmailMessage.ps1#L78
The 'SkipCertificateValidation' parameter is $SkipCertificateValidatation, but the error message says :  "You can also try SkipCertificateValidation or SkipCertificateRevocation."

It's a typo. I'll fix it, but we may need to add additional depracated parameter to tell people not to use it before removing to not introduce breaking change.

Thank you for the response ! ;-)
----- Mail original -----
De: "Przemysław Kłys" @.>
À: "EvotecIT/Mailozaurr" @.>
Cc: "xroot16x" @.>, "Author" @.>
Envoyé: Mardi 25 Juillet 2023 08:09:01
Objet: Re: [EvotecIT/Mailozaurr] SkipCertificateValidation => wrong naming (Issue #44)
It's a typo. I'll fix it, but we may need to add additional depracated parameter to tell people not to use it before removing to not introduce breaking change.
—
Reply to this email directly, view it on GitHub , or unsubscribe .
You are receiving this because you authored the thread. Message ID: <EvotecIT/Mailozaurr/issues/44/<PHONE_NUMBER> @ github . com>


remove datadeps test dep

I just update it and still not working

Ok, but since all test that failed are kaggle related and the local test seems to pass, maybe we can just merge the two PR?

It is probabily due to the setting of GitHub secrete


Update gradle versions

Task/Issue URL: https://app.asana.com/0/488551667048375/1206287150356144/f
Description
Upgrade some libraries to the latest stable version
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #4050   👈

This stack of pull requests is managed by Graphite.


VIMEO API ERROR

Unable to play video from vimeo getting error
VIMEO API ERROR: type 'Null' is not a subtype of type 'List' in type cast

This error is thrown because, Vimeo changed their API response, So our implementation is breaking,
Let me try to find a fix for this issue ASAP

Im closing this issue, because its a dupe of #182 182


Typo, pagablob should be pageblob

There is a typo in the parameters list:
"/blobtype:	This option specifies the type of blobs you want to import the data to. For block blobs, this is BlockBlob and for page blobs, it is PagaBlob."
Br,
Antti

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

ID: b51e3a8d-6204-ac1b-996f-4b855e431df8
Version Independent ID: 7ccaa486-db3e-7e9c-9960-b9af8134d896
Content: Using Azure Import/Export to transfer data to Azure Blobs
Content Source: articles/storage/common/storage-import-export-data-to-blobs.md
Service: storage
Sub-service: common
GitHub Login: @alkohli
Microsoft Alias: alkohli

Hi @AnttiKiiski Thanks for your feedback. We will review and update as appropriate.


Multiple Data Sources with Microsoft List Default SharePoint Integration in PowerApps?

Can you manage multiple datasources with the default form settings (SharePointIntegration) from a Microsoft List in Power Apps? If so, how? I have one data source I want to use to populate dropdowns and I want it to output to another, but when I try to change it the new record created in the list does not populate with the drop down text.

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

ID: ffc8c866-e0da-7e25-7419-43ece1ff6b6e
Version Independent ID: 918ae4ef-a2b4-6542-6df0-6f3d3d6ed1e5
Content: Understand SharePoint forms integration - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/sharepoint-form-integration.md
Service: powerapps
Sub-service: canvas-maker
GitHub Login: @NickWaggoner
Microsoft Alias: niwaggon

Thanks for your comment, @tosimowicz. This issue has been assigned to the doc author for review.


Updates contributors name README.md and main.c

You missed writing 0 in  README.md file in contributors section for Om prakash sharma.


How to install additional packages in tellurium notebook?

How can I install additional packages with pip in the tellurium notebook version?
For instancesympy is not installed, also other packages missing users could want to use for analysis.
What I tried to do was to install the packages into the virtualenv which is distributed with tellurium.
Because there is no activate script I tried the following:
cd /opt/Tellurium/resources/telocal/
sudo virtualenv python-3.6.3 --distribute --python=python3.6
source python-3.6.3/bin/activate
(python-3.6.3) sudo pip install sympy

but this is overwriting the python interpreter and does not install sympy in the virtualenv but the local environment??
So how can I install an additional package? Is it possible to ship a full virtualenv with the jupyter notebook? Currently the activate scripts are missing, so I can not really active the virtualenv and install anything in it?
Or is it possible to point the notebook executable to another local virtualenv easily? I.e. use a different kernel in the notebook version
Best M

I haven't tried virtual environments for the Python that comes bundled with the notebook viewer, but I would try to make them off of the ~/.config/Tellurium/telocal/python-x.y.z distribution, not the one in /opt. Theoretically, you could replace the ~/.config/Tellurium/telocal/python-x.y.z directory with your own Python distribution and install the tellurium and temagics packages, but, of course, they are both designed to work with a specific notebook viewer version. I don't currently have a way to configure the kernel search path from the application, maybe in a future release...

Also, if all you want to do is just install new packages (without a virtualenv), there's a convenience function:
import tellurium as te
te.installPackage('cobra')

If the package needs a C compiler before it can be installed, you'll have to install it using pip on the command line.

I tried pip install sympy and afterwards also pip3 install sympy as superuser. Afterwards I launched Tellurium and typed !pip list which, among other packages, listed sympy (1.1.1) to be installed. However, the following commands both fail with the same error:
import sympy as sp

and
from sympy import *

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-3-a03f9816da30> in <module>()
----> 1 from sympy import *
ModuleNotFoundError: No module named 'sympy'

Question: what can I do to use sympy within the Tellurium notebook (version 1.0.2 on macOS)?

There is a convenience function for installing packages (it just delegates to pip):
import tellurium as te
te.installPackage('sympy')

After running the above code, import sympy should work. I just tested in on the Mac and it worked, so please let me know if you still have problems.
For some older distutils-type packages which compile C code when you pip install them, you may need to quit out of the notebook viewer and run ~/Library/Application\ Support/Tellurium/telocal/python-3.6.3/bin/python3 -m pip install <package-name>. However, sympy is not one of these packages, so the above convenience function should work.

Also, just to clarify, this code is intended to be run in a notebook cell:
import tellurium as te
te.installPackage('sympy')

And in the next cell:
import sympy

Excellent, this worked! Maybe it would be nice to have this in the FAQ as well. Thanks a lot!

Yes, this is central piece of information. We should add this prominently to the docs/FAQ.
I will add the documentation and close this afterwards.

I actually had it here, but maybe not prominent enough.

No is good, was just not rtfm

No is good, was just not rtfm

No is good, was just not rtfm


Cannot download datasets

code

$ git clone https://github.com/stangelid/oposum.git

Result

Cloning into 'oposum'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 766 (delta 0), reused 1 (delta 0), pack-reused 763
Receiving objects: 100% (766/766), 38.36 MiB | 9.95 MiB/s, done.
Resolving deltas: 100% (74/74), done.
Downloading data/train/bags_and_cases.trn (26 MB)
Error downloading object: data/train/bags_and_cases.trn (bc0b621): Smudge error: Error downloading data/train/bags_and_cases.trn (bc0b621be09ba0d7cfc15908a181cc3185a489b11b9c301a605731ae51f72ce3): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
...

I think #5 has not been solved yet. Can you solve this problem? I really hope this would be solved.
I am so impressed by your paper!
If you can give me another google drive link to download, it's totally ok.

Apologies, I was not aware that the google drive link had expired. You can now find the data here: https://drive.google.com/uc?id=1Vt_Pnby63OgB1NK-2qwT_K4mryEXMQ-J&export=download


gauge dotnet (and csharp) templates do not work on Windows 10

Expected behavior
gauge csharp and dotnet templates should work.
Actual behavior
Specs do not run. Output:
Microsoft (R)-Buildmodul, Version <IP_ADDRESS>72 f�r .NET Core
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

# Specification Heading
  ## Vowel counts in single word        Assert Failure
Expression: [Recursive resource lookup bug]
Description: Infinite recursion during resource lookup within System.Private.CoreLib.  This may be a bug in System.Private.CoreLib, or potentially in certain extensibility points such as assembly resolve events or CultureInfo names.  Resource name: ArgumentNull_Generic
Stack Trace:
   at System.SR.InternalGetResourceString(String key)
   at System.SR.GetResourceString(String resourceKey, String defaultString)
   at System.ArgumentNullException..ctor(String paramName)
   at System.Runtime.Loader.AssemblyLoadContext.GetLoadContext(Assembly assembly)
   at System.Reflection.Assembly.LoadFromResolveHandler(Object sender, ResolveEventArgs args)
   at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks, IntPtr ptrLoadContextBinder)
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at System.SR.InternalGetResourceString(String key)
   at System.SR.GetResourceString(String resourceKey, String defaultString)
   at System.ArgumentNullException..ctor(String paramName)
   at System.Runtime.Loader.AssemblyLoadContext.GetLoadContext(Assembly assembly)
   at System.Reflection.Assembly.LoadFromResolveHandler(Object sender, ResolveEventArgs args)
   at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks, IntPtr ptrLoadContextBinder)
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at System.SR.InternalGetResourceString(String key)
   at System.SR.GetResourceString(String resourceKey, String defaultString)
   at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
   at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks, IntPtr ptrLoadContextBinder)
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at System.SR.GetResourceString(String resourceKey, String defaultString)
   at System.Runtime.Serialization.CollectionDataContract.IsCollectionOrTryCreate(Type type, Boolean tryCreate, DataContract& dataContract, Type& itemType, Boolean constructorRequired)
   at System.Runtime.Serialization.DataContract.DataContractCriticalHelper.CreateDataContract(Type type)
   at System.Runtime.Serialization.DataContract.DataContractCriticalHelper.CreateDataContract(Int32 id, RuntimeTypeHandle typeHandle, Type type)
   at System.Runtime.Serialization.DataContract.DataContractCriticalHelper.GetDataContractSkipValidation(Int32 id, RuntimeTypeHandle typeHandle, Type type)
   at System.Runtime.Serialization.DataContract.GetDataContract(RuntimeTypeHandle typeHandle, Type type, SerializationMode mode)
   at System.Runtime.Serialization.Json.DataContractJsonSerializerImpl.get_RootContract()
   at System.Runtime.Serialization.Json.DataContractJsonSerializerImpl.InternalIsStartObject(XmlReaderDelegator reader)
   at System.Runtime.Serialization.Json.DataContractJsonSerializerImpl.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName)
   at System.Runtime.Serialization.XmlObjectSerializer.InternalReadObject(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.Json.DataContractJsonSerializerImpl.ReadObject(XmlDictionaryReader reader)
   at System.Runtime.Serialization.Json.DataContractJsonSerializerImpl.ReadObject(Stream stream)
   at Gauge.Dotnet.StepExecutor.GetTable(String jsonString) in /Users/vagrant/go-agent-17.4.0/pipelines/dotnet-package/src/StepExecutor.cs:line 84
   at Gauge.Dotnet.StepExecutor.<Execute>b__2_0(String o) in /Users/vagrant/go-agent-17.4.0/pipelines/dotnet-package/src/StepExecutor.cs:line 54
   at System.Linq.Enumerable.SelectArrayIterator`2.ToArray()
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Gauge.Dotnet.StepExecutor.Execute(GaugeMethod gaugeMethod, String[] args) in /Users/vagrant/go-agent-17.4.0/pipelines/dotnet-package/src/StepExecutor.cs:line 45
   at Gauge.Dotnet.ExecutionOrchestrator.ExecuteStep(GaugeMethod method, String[] args) in /Users/vagrant/go-agent-17.4.0/pipelines/dotnet-package/src/ExecutionOrchestrator.cs:line 57
   at Gauge.Dotnet.Processors.ExecuteStepProcessor.Process(Message request) in /Users/vagrant/go-agent-17.4.0/pipelines/dotnet-package/src/Processors/ExecuteStepProcessor.cs:line 63
   at Gauge.Dotnet.GaugeListener.PollForMessages() in /Users/vagrant/go-agent-17.4.0/pipelines/dotnet-package/src/GaugeListener.cs:line 56
   at Gauge.Dotnet.StartCommand.Execute() in /Users/vagrant/go-agent-17.4.0/pipelines/dotnet-package/src/StartCommand.cs:line 54
   at Gauge.Dotnet.Program.Main(String[] args) in /Users/vagrant/go-agent-17.4.0/pipelines/dotnet-package/src/Program.cs:line 29

        Error Message: write tcp <IP_ADDRESS>:50356-><IP_ADDRESS>:50362: use of closed network connection
        Stacktrace:

        Failed Step: Vowels in English language are "aeiou".
        Specification: specs\example.spec:11
        Error Message: Connection closed [<IP_ADDRESS>:50362] cause: read tcp <IP_ADDRESS>:50356-><IP_ADDRESS>:50362: wsarecv: Eine vorhandene Verbindung wurde vom Remotehost geschlossen.
        Stacktrace:

    Error Message: write tcp <IP_ADDRESS>:50356-><IP_ADDRESS>:50362: use of closed network connection
    Stacktrace:

Failed to initialize scenario datastore. Error: write tcp <IP_ADDRESS>:50356-><IP_ADDRESS>:50362: use of closed network connection
  ## Vowel counts in multiple word
    Error Message: write tcp <IP_ADDRESS>:50356-><IP_ADDRESS>:50362: use of closed network connection
    Stacktrace:

    Error Message: write tcp <IP_ADDRESS>:50356-><IP_ADDRESS>:50362: use of closed network connection
    Stacktrace:

Successfully generated html-report to => C:\Dev\Versuche\gauge\core\reports\html-report\index.html
Specifications: 1 executed      0 passed        1 failed        0 skipped
Scenarios:      1 executed      0 passed        1 failed        1 skipped

Steps to reproduce

gauge init dotnet
gauge run

A similar problem occurs with the csharp template.
Gauge version
Gauge version: 1.0.0
Commit Hash: 5a99965

Plugins
-------
csharp (0.10.4)
dotnet (0.1.0)
html-report (4.0.4)
js (2.3.1)
screenshot (0.0.1)

Additional Versions
Windows 10 1803

However, doing the same steps on the Windows Subsystem for Linux on the same machine works ...

@kuechlerm I'm not able to reproduce your issue at my end. The execution works as expected.
Your issue might be related to this dotnet issue https://github.com/dotnet/corefx/issues/23608.
You can also try to upgrade the dotnet core to latest and see if that works.
If you have any further steps or details to replicate this, please feel free to update here.

@BugDiver Thanks for checking.
I think there was a mixture of versions, a mistake on my side and some strange error messages.
Yesterday I updated Visual Studio 2017 (and a million little things with it) now:

the default gauge dotnet template works
a second project had a different error about EOF problems

I changed the TargetFramework of the second project to netcoreapp2.1 which resulted in the errors mentioned above. Changing the TargetFramework back to netstandard2.0 fixed it.
I would be great, if setting to TargetFramework to netcoreapp2.1 was possible on Windows - it works on the Windows Subsystem for Linux.
Why the dotnet template suddenly works is beyond me.


Improve settings descriptions

The setting description for checkboxes seems redundant, as the checkbox already indicates that one is enabled when ticked. So we are now implying that when the checkbox is ticked, the setting is enabled. Also, rename "Actions" into General".

e.g.
From ✅ Enable Startup notification to just ✅ Startup Notification which I think that it conveys the same meaning but more concise.
This will affect the key modifier for Enable sound on Motivate Me, we could change this to "Sound on Motivate Me" (o alt modifier)

Resolved by #146


Crash when generating types for scoped package

> npx dts-gen --dt --name @iarna/toml --template module
npx: installed 59 in 5.764s
Unexpected crash! Please log a bug with the commandline you specified.
ENOENT: no such file or directory, mkdir 'types/@iarna/toml'

It should generate types/iarna__toml instead.

@ajafff I've managed to go over this bug by creating a folder for the scope before running dts-gen... In your case, try creating a @iarna folder and then running it, it should work :)

still having this issue

+1
Solutin posted by @hcavalieri does not work for me - I get error when the script is unable to create types/<EMAIL_ADDRESS>

@ajafff @hcavalieri @EthanSK works like a charm with<EMAIL_ADDRESS>thanks to @sandersn
This can be closed now :)


Uncaught TypeError: Cannot read property 'apply' of undefined

[Enter steps to reproduce:]

Select a class name
Select Rename from the right click menu

Atom: 1.19.2 x64
Electron: 1.6.9
OS: Mac OS X 10.13
Thrown From: dartlang package 0.7.0
Stack Trace
Uncaught TypeError: Cannot read property 'apply' of undefined
At /Users/Viktor/.atom/packages/dartlang/web/entry.dart.js:28564

TypeError: Cannot read property 'apply' of undefined
    at /packages/dartlang/web/entry.dart.js:47100:43)
    at /packages/dartlang/web/entry.dart.js:47103:21)
    at /packages/dartlang/web/entry.dart.js:49986:23)
    at /packages/dartlang/web/entry.dart.js:49990:21)
    at /packages/dartlang/web/entry.dart.js:48983:101)
    at /packages/dartlang/web/entry.dart.js:28933:23)
    at /packages/dartlang/web/entry.dart.js:30858:29)
    at /packages/dartlang/web/entry.dart.js:28556:25)
    at Object._callInIsolate (/packages/dartlang/web/entry.dart.js:28202:28)
    at dart.invokeClosure (/packages/dartlang/web/entry.dart.js:29797:20)
    at /packages/dartlang/web/entry.dart.js:29818:18

Commands
     -3:50.1.0 core:move-down (input.hidden-input)
     -3:49.2.0 core:save (input.hidden-input)
  2x -3:48.9.0 core:move-down (input.hidden-input)
     -3:48.2.0 core:move-up (input.hidden-input)
     -3:47.6.0 dartlang:newline (input.hidden-input)
     -3:47.6.0 editor:newline (input.hidden-input)
     -3:47.3.0 dartlang:newline (input.hidden-input)
     -3:47.3.0 editor:newline (input.hidden-input)
 10x -3:41 core:backspace (input.hidden-input)
     -3:31.8.0 dartlang:newline (input.hidden-input)
     -3:31.8.0 editor:newline (input.hidden-input)
     -0:41.8.0 core:move-right (input.hidden-input)
  3x -0:40.8.0 core:backspace (input.hidden-input)
     -0:24.7.0 dartlang:refactor-rename (span.syntax--support.syntax--class.syntax--dart)
  2x -0:12.8.0 core:backspace (input.hidden-input)
     -0:03.7.0 core:confirm (input.hidden-input)

Non-Core Packages
atom-htmltidy 5.1.0
atom-toolbar 0.1.6
autocomplete-clang 0.11.3
busy-signal 1.4.3
dartlang 0.7.0
intentions 1.1.5
linter 2.2.0
linter-gcc 0.7.1
linter-ui-default 1.6.7
synced-sidebar 0.4.3

Similar thing
`[Enter steps to reproduce:]

...
...

Atom: 1.19.2 x64
Electron: 1.6.9
OS: Mac OS X 10.12.5
Thrown From: dartlang package 0.7.0
Stack Trace
Uncaught
At /Users/williamjung/.atom/packages/dartlang/web/entry.dart.js:28564

app 'c103b12a-9047-4b4e-b8f5-a6e60f750017' not found
    at Object.wrapException (/packages/dartlang/web/entry.dart.js:29649:17)
    at /packages/dartlang/web/entry.dart.js:34840:19)
    at Object._microtaskLoop (/packages/dartlang/web/entry.dart.js:32280:27)
    at StaticClosure.dart._startMicrotaskLoop (/packages/dartlang/web/entry.dart.js:32286:11)
    at /packages/dartlang/web/entry.dart.js:28933:23)
    at /packages/dartlang/web/entry.dart.js:30858:29)
    at /packages/dartlang/web/entry.dart.js:28556:25)
    at Object._callInIsolate (/packages/dartlang/web/entry.dart.js:28202:28)
    at dart.invokeClosure (/packages/dartlang/web/entry.dart.js:29797:20)
    at /packages/dartlang/web/entry.dart.js:29818:18

Commands
     -2:48.7.0 flutter:enable (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
     -2:33.5.0 flutter:create-project (summary.welcome-summary.icon.icon-repo)
 27x -2:30.5.0 core:backspace (summary.welcome-summary.icon.icon-repo)
     -2:18.4.0 core:confirm (input.hidden-input)
     -2:00.1.0 tree-view:reveal-active-file (atom-text-editor.editor)
     -1:39.6.0 dartlang:run-application (input.hidden-input)

Non-Core Packages
atom-toolbar 0.1.6
busy-signal 1.4.3
dartlang 0.7.0
flutter 0.2.6
intentions 1.1.5
linter 2.2.0
linter-ui-default 1.6.7

`

Same here
[Enter steps to reproduce:]

...
...

Atom: 1.17.0 x64
Electron: 1.3.15
OS: elementary OS
Thrown From: dartlang package 0.7.1
Stack Trace
Uncaught
At /home/melusi/.atom/packages/dartlang/web/entry.dart.js:31128

TypeError: Cannot read property 'apply' of undefined
    at undefined.wrapException (/packages/dartlang/web/entry.dart.js:32213:17)
    at /packages/dartlang/web/entry.dart.js:37511:19)
    at undefined._microtaskLoop (/packages/dartlang/web/entry.dart.js:34877:27)
    at /packages/dartlang/web/entry.dart.js:34883:11)
    at /packages/dartlang/web/entry.dart.js:31497:23)
    at /packages/dartlang/web/entry.dart.js:33455:29)
    at /packages/dartlang/web/entry.dart.js:31120:25)
    at undefined._callInIsolate (/packages/dartlang/web/entry.dart.js:30766:28)
    at dart.invokeClosure (/packages/dartlang/web/entry.dart.js:32361:20)
    at /packages/dartlang/web/entry.dart.js:32382:18

Commands
     -0:19.9.0 flutter:enable (atom-workspace.workspace.scrollbars-visible-always.theme-chestnut-light-atom-syntax.theme-atom-dark-ui)

Non-Core Packages
atom-clock 0.1.15
chestnut-light-atom-syntax 0.2.1
dartlang 0.7.1
flutter 0.2.7
hey-pane 1.0.0
linter-write-good 0.9.0
pristine-ui 1.1.10

[Enter steps to reproduce:]

...
...

Atom: 1.21.1 x64
Electron: 1.6.15
OS: Mac OS X 10.12.6
Thrown From: dartlang package 0.7.1
Stack Trace
Uncaught
At /Users/wx/.atom/packages/dartlang/web/entry.dart.js:31128

app 'f931ca19-b43f-41fe-8ce0-902aac81bc54' not found
    at Object.wrapException (/packages/dartlang/web/entry.dart.js:32213:17)
    at /packages/dartlang/web/entry.dart.js:37511:19)
    at Object._microtaskLoop (/packages/dartlang/web/entry.dart.js:34877:27)
    at StaticClosure.dart._startMicrotaskLoop (/packages/dartlang/web/entry.dart.js:34883:11)
    at /packages/dartlang/web/entry.dart.js:31497:23)
    at /packages/dartlang/web/entry.dart.js:33455:29)
    at /packages/dartlang/web/entry.dart.js:31120:25)
    at Object._callInIsolate (/packages/dartlang/web/entry.dart.js:30766:28)
    at dart.invokeClosure (/packages/dartlang/web/entry.dart.js:32361:20)
    at /packages/dartlang/web/entry.dart.js:32382:18

Commands
  5x -1:04.5.0 core:backspace (input.hidden-input)
     -1:02.2.0 core:save (input.hidden-input)

Non-Core Packages
atom-beautify 0.30.5
atom-toolbar 0.1.6
busy-signal 1.4.3
dartlang 0.7.1
emmet 2.4.3
file-icons 2.1.13
flutter 0.2.7
intentions 1.1.5
linter 2.2.0
linter-ui-default 1.6.10
markdown-preview-plus 2.4.10


It seems that telekasten is not working properly on windows.

Hello.
I am a big fan of telekasten.
Thank you for your great work.
I tried to use telekasten on windows 10 with nvim 0.6.1.
Link address is long when executing insert link command.

An error occurs when executing follow link command.

The configuration file I used is as follows.
syntax on
filetype on
let mapleader=" "

set nocompatible

call plug#begin('~/.vim/plugged')

Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
Plug 'renerocksai/calendar-vim'
Plug 'renerocksai/telekasten.nvim'

call plug#end()

" ----- telekasten -----
lua << EOF
local home = vim.fn.expand("c:/schedule")
require('telekasten').setup({
    home         = home,

    -- if true, telekasten will be enabled when opening a note within the configured home
    take_over_my_home = true,

    -- auto-set telekasten filetype: if false, the telekasten filetype will not be used
    --                               and thus the telekasten syntax will not be loaded either
    auto_set_filetype = true,

    dailies      = home .. '/' .. 'daily',
    weeklies     = home .. '/' .. 'weekly',
    templates    = home .. '/' .. 'templates',

    -- image subdir for pasting
    -- subdir name
    -- or nil if pasted images shouldn't go into a special subdir
    image_subdir = "img",

    -- markdown file extension
    extension    = ".md",

    -- following a link to a non-existing note will create it
    follow_creates_nonexisting = true,
    dailies_create_nonexisting = true,
    weeklies_create_nonexisting = true,

    -- template for new notes (new_note, follow_link)
    -- set to `nil` or do not specify if you do not want a template
    template_new_note = home .. '/' .. 'templates/new_note.md',

    -- template for newly created daily notes (goto_today)
    -- set to `nil` or do not specify if you do not want a template
    template_new_daily = home .. '/' .. 'templates/daily.md',

    -- template for newly created weekly notes (goto_thisweek)
    -- set to `nil` or do not specify if you do not want a template
    template_new_weekly= home .. '/' .. 'templates/weekly.md',

    -- image link style
    -- wiki:     ![[image name]]
    -- markdown: ![](image_subdir/xxxxx.png)
    image_link_style = "markdown",

    -- integrate with calendar-vim
    plug_into_calendar = true,
    calendar_opts = {
        -- calendar week display mode: 1 .. 'WK01', 2 .. 'WK 1', 3 .. 'KW01', 4 .. 'KW 1', 5 .. '1'
        weeknm = 4,
        -- use monday as first day of week: 1 .. true, 0 .. false
        calendar_monday = 1,
        calendar_diary = home .. '/diary',

        -- calendar mark: where to put mark for marked days: 'left', 'right', 'left-fit'
        calendar_mark = 'left-fit',
    },

    -- telescope actions behavior
    close_after_yanking = false,
    insert_after_inserting = true,

    -- tag notation: '#tag', ':tag:', 'yaml-bare'
    tag_notation = "#tag",

    -- command palette theme: dropdown (window) or ivy (bottom panel)
    command_palette_theme = "ivy",

    -- tag list theme:
    -- get_cursor: small tag list at cursor; ivy and dropdown like above
    show_tags_theme = "ivy",

    -- when linking to a note in subdir/, create a [[subdir/title]] link
    -- instead of a [[title only]] link
    subdirs_in_links = true,

    -- template_handling
    -- What to do when creating a new note via `new_note()` or `follow_link()`
    -- to a non-existing note
    -- - prefer_new_note: use `new_note` template
    -- - smart: if day or week is detected in title, use daily / weekly templates (default)
    -- - always_ask: always ask before creating a note
    template_handling = "smart",

    -- path handling:
    --   this applies to:
    --     - new_note()
    --     - new_templated_note()
    --     - follow_link() to non-existing note
    --
    --   it does NOT apply to:
    --     - goto_today()
    --     - goto_thisweek()
    --
    --   Valid options:
    --     - smart: put daily-looking notes in daily, weekly-looking ones in weekly,
    --              all other ones in home, except for notes/with/subdirs/in/title.
    --              (default)
    --
    --     - prefer_home: put all notes in home except for goto_today(), goto_thisweek()
    --                    except for notes with subdirs/in/title.
    --
    --     - same_as_current: put all new notes in the dir of the current note if
    --                        present or else in home
    --                        except for notes/with/subdirs/in/title.
    new_note_location = "smart",

})
EOF

I am not an expert when it comes to windows, but I guess for point 1 the issue has more to do with Telescope itself than Telekasten, no? When you try to simply open a file using Telescope, do you see the whole path as well? If not, then Telekasten needs to properly parse windows paths (in the telescope picker, and when it pastes them).
For the second point, it is a bit strange and there are multiple issues.

Telekasten thinks the link is not an internal file and assumes it is an URL. This is because the link is malformed due to the first issue. If you put [daily/2022-01-12.md]  and try to open that, I think it would work as expected.
In any case, it should gracefully throws an error and refuse to open the URL and not crash (see code excerpt below). I guess it detects your OS as unix for some reason. IMO, this is likely because of your setup (how are you using nvim with windows exactly? What shell?).

https://github.com/renerocksai/telekasten.nvim/blob/90f9cd784b2983ecc2469716fd36dc17e45fe785/lua/telekasten.lua#L1150-L1159

I second @lambtho12's points.

It appears that Telescope is fine with weird C:#a#b#c.md paths or else the finder wouldn't work. Unfortunately, with paths like that, splitting them (by \ on windows, done by plenary) doesn't work, which makes it impossible to just insert the file name. Hence, you end up with weird names in the [[link]].
These weird links containing drive letter and colon confuse Telekasten. Its very simple check whether something is a filename without extension (YYYY-MM-DD) or an URL is done simply by checking for a colon - because it shouldn't care about the protocol. Now that I think of it, a check for :// would be better. Maybe the weird paths will, while remaining ugly, work with follow_link() then.
Your setup makes nvim believe it's Unix when it's clearly not.

I can also see that you seem to be in a conda environment base. Maybe conda deactivate will make a difference - at least no conda libs will interfere. Though I doubt it. Looking at your prompt, it also contains C#schedule, which I find highly suspicious.
Unfortunately, I don't have a Windows machine to try things out myself. I am somewhat doubtful I'd hit the same issues as you since this C:# business is something I haven't seen on Windows before.
One thing I'd suggest is activating / installing WSL2 and try nvim within that. That should give you the closest thing to Linux that's possible on Windows without running a VM.
However, I'll check out the colon = link business and mayyybe that might bring some mild relief.

I have to correct myself. There is no colon = tag (anymore). What happens now is:
telekasten tries to find out if you are in a link or a tag that you want to follow. It starts searching at your cursor position and goes backwards. When it sees a #, it thinks it found a tag, because of your tag_notation. But this doesn't seem to be the case. When it sees a :, it would assume it's in a tag, provided tag_notation were ":tag:". This also isn't the case. It eventually arrives at [ and correctly assumes, this is a link. Now it should go on and figure out how to open the link.
But nothing like this happens, because you invoke Telekasten follow_link in line 6, column 8, at the end of - [ ] yy.

If I do this, telekasten just ignores the command because it cannot find a link or tag in the current line. This should happen in your example, too.
In your case, however, it tries to open a URL. This is suspicious!

I cannot investigate furhter because you seem to run a pretty old version of telekasten. Please try :PlugUpdate or :PlugUpdate telekasten.nvim.
Your version must be so old that it uses yi] to find out the contents of the link which is highly unreliable when your cursor is outside of a link, which it is in your case (line 6, column 8).
Please update telekasten and try again.

I cannot investigate further because you seem to run a pretty old version of telekasten, as is evident by the presence of run_replace_or_original which doesn't exist in the current codebase. Please try :PlugUpdate or :PlugUpdate telekasten.nvim.

I updated telekasten to f20fb78. But the error is similar to before.

The traceback of nvim is weird. "run_replace_original" is in  "telescope/actions/mt.lua:30"
And I can't use WSL at our company. So I tried to use telekasten in windows. But it's not easy. 😅
Anyway, thank you for your answer.

I can't use WSL at our company.

Maybe GitBash can be of any help : it includes basic unix tools (ls, sort, ...), and has a «Portable» version that don't need to be installed. The SDK version also includes pacman as package manager :
https://gitforwindows.org/
I have a Windows 11 with WSL2 at wokr, so I will try to test this in the week :-)

I cannot investigate further because you seem to run a pretty old version of telekasten, as is evident by the presence of run_replace_or_original which doesn't exist in the current codebase. Please try :PlugUpdate or :PlugUpdate telekasten.nvim.

I updated telekasten to f20fb78. But the error is similar to before.

The traceback of nvim is weird. "run_replace_original" is in "telescope/actions/mt.lua:30"
And I can't use WSL at our company. So I tried to use telekasten in windows. But it's not easy. sweat_smile

Yeah, Windows is definitely NOT an OS of choice. Alternatives to running WSL2 could be:

a VM
or maybe easier: Docker
GitBash
cygwin (but I read nvim supposedly cut support for cygwin ages ago)

In any case, NOT using the windows CMD prompt is highly recommended. Alternatives may be

Cmder which supposedly ships with Git for Windows
the new Windows terminal

I also read that a superior Windows experience is achieved by running "Neovim Qt" or "fvim". Google is your friend here.

nvim-qt is contained in the downloadable nvim Windows releases.

Anyway, thank you for your answer.

Your traceback is weird, indeed! selection() is called in line 2646, yet is reported as being in line 1235. In line 1235 is the call to xdg-open. So something really weird is going on here.
However, selection() is only called when you use the "command palette": the telescope picker where you can select a telekasten command.

Have you ever tried typing :Telekasten follow_link - instead of using the command picker?

maybe that would give a more helpful error showing where in the function an error happens

Have you tried placing the cursor inside the link (at what position?) when running follow_link?

Anyway, until we get more information about what's really happening, there's not too much we can do here. If I had a Win machine handy I'd try some stuff, provided I can reproduce what you're encountering.
If you're brave, you can hack telekasten.nvim: Around line 1785 you should find the local function FollowLink(opts).
Insert lines like print("1"), print("2") in there to see how far it gets, starting from the top of the function. That way you'll find out exactly what breaks - and maybe we can take it from there. If you're curious, you can always print(vim.inspect(some_variable_name)) - to see what's in there. Maybe that will give you (or us) an idea...

Update: :lua require('telekasten').follow_link() would be even better than :Telekasten follow_link since it has to go through less indirections.

My advice: replace c:/schedule with /schedule.
Closing for now. Please re-open or comment if problems persist.

@ok97465 what shell program were you using? Also, what language do you use on your machine? I noticed that it uses # to represent '\' in the path before entering nvim. It is super strange and I suspect it is a system (or the shell app) path representation issue

Thanks for reply. I usually use basic "cmd". My machine language is Korean.
I don't know if this problem still exists.
I am using my own telekasten version by modifying the lua code.

I have tried several times in the past two days with cmd.exe. It is working fine with me if I only use English characters for zettel names, no matter where my cwd is, even when the cwd contains Chinese characters. However, when I tried to create a zettel whose name contains Chinese characters, it started to fail to work. I think telekasten might not handle Unicode characters in its path properly. From your video, you do have a strange unicode character representing the '' path separator. I still suspect that is what caused the problem.

Indeed, TK does not work well with non latin characters. Mainly due to the different regex used. See https://github.com/renerocksai/telekasten.nvim/issues/135
But the path thing is something entirely different. It is already painful enough to accommodate the "normal" (:\\ and  \) windows type of paths. So if people start using other chars there is nothing really we can do.
I think TK should rely as much as possible on Pleanry.Path for path manipulation (this is already what is done for the most part).


Bug: Pause with Bluetooth headphones

When I press the Pause button on my headphone it didn't pause! But the forward and backward buttons are working!

Landed in 1.3.3


Passing password with forward slash causing URL analysis failed to connect

Hi there,
Thank you for this project so that I could connecting to TLS enabled REDIS without stunnel (https://www.stunnel.org/)
However, I found that with the arguments '--tls' and '-a' where there are characters '/' in the password value cause problem to connect my target REDIS server.
After I read the source code, I found the problem is from redis.go of this project which passes connectionurl to conn.go from gomodule/redigo. And finally, I found in line 270 of conn.go in gomodule/redigo using 'host, port, err := net.SplitHostPort(u.Host)' parses wrongly the host and port if the password in the connectionurl in it with '/'.
For my personal usage, I already changed in my local of redis.go of this project to use redis.Dial(...) as following:
conn, err = redis.Dial('tcp', address, redis.DialPassword(*redisauth), redis.DialUseTLS(*redistls))
I don't know is it a proper solution on this project level, if it's not, please correct me. And could the owner of this project to update this so that anyone facing this problem could get an official solution?
Thanks and best regards.

Thanks for your feedback. This will be fixed with the next release!

PR: #12
Fixed in Release: https://github.com/IBM-Cloud/redli/releases/tag/v0.4.4


Requires a criterion and a definition for BaseTile to utilize the hardware capabilities.

closed as duplicated with https://github.com/TiledTensor/TiledCUDA/issues/61


Request - Coordinates with restricted access still visible in Berkeley Mapper

Help us understand your request (check below):

[ ] search or data request (help with SQL or provide the specific fields you are trying to retrieve for your collection)
[ ] add a new Github user to the Arctos Users team
[ ] a new barcode series
[ ] a new term for data entry or management
[ ] a change or new report or label
[ ] update to an Agent (split, merge, or other type of change)
[ ] bulkload changes (to Agents, Identifiers, etc that are not already available as a bulkloading tool)
[ ] new feature or otherwise a good idea to make Arctos even better
[ ] quarantine taxon name and suggested replacement (please supply links)
[x] other

Describe what you're trying to do
We need localities with the locality access attribute to not show the private locality coordinates in Berkeley Mapper. (Public locality coordinates are OK.)
Paleo collections need coordinates to be hidden to the public. We thought we were doing this by using the locality access attribute, and then creating public localities, but that only hides the private coordinates on the Arctos pages (which is great!). If you map with Berkeley Mapper, you can still see the private coordinates (and potentially other private data like specific locality), as well as public locality coordinates.
This record shows both the public and private coordinates in Berkeley Mapper (using NMMNH because it's a good illustrative example where there are both public and private coordinates):
https://arctos.database.museum/guid/NMMNH:Paleo:10744
Click "Map with Berkeley Mapper" to see the 2 coordinates points--one is the private locality, the other is the public locality.
Screenshot here

@Nicole-Ridgwell-NMMNHS @WaigePilson @dustymc
help?

Please fix this ASAP. I don't know when it started doing this since I never use the berkeley mapper button, but I know I had tested it as some point, probably a few years ago and it didn't do this.

thanks for adding all the right urgent tags @dustymc ! Yes, this is a big urgent issue.

Thank you!

Thank you @dustymc for the quick fix! I do have a follow up question which is probably a can of worms. Berkeley Mapper is a really useful tool for data visualization. Is there any way to make this tool available for use with private coordinate data if a user is logged in and has the right permissions? Thanks in advance for the info.

worms

Yes, definitely issue-worthy if you want to pursue.

private

Step One: Define "private." Arctos communicates with BM by publicly, if not visibly, posting some data. That certainly won't pass a HIPAA audit, but it might be sufficient for your needs....


Add basic integration test for test logging plug-in

@Garlog7712 Wondering if you have any specific knowledge of Gradle tests that might be helpful here

Also, can ignore Chronicler in this case, only production change was to fix the license header

Black Duck Security Report
Merging #15 into master will not change security risk.
Click here to see full report


Anyway to add -txt or -log etc as a bool argument

I need an option like
App.exe -txt
So basically I need to pass "-txt" as an bool argument .
I tried to add like as follows
  [Option("txt", DefaultValue = false, HelpText = "download all text files", LongName = "txt", MetaValue = "nothing",MutuallyExclusiveSet = "", Required = false]
    public bool TextFiles { get; set; }

But it saying ha LongName is  not a valid named argument
Any help is appreciable.

The first (constructor) argument to OptionAttribute is the long name. Leave it out of the "optional parameter" section and everything should work as expected.
You will, however, need to use two dashes (--txt) instead of the one you showed above.

Closing this. Please reopen if the note above did not solve your problem.


docs: various fixes to documentation, notably Getting Started Guides

Please see individual commits. I suggest reviewing commits one by one: the last one is messy and is better served reviewed on its own.

Did some poking around. More context for my above one liner ;). So the reason, as I understand it, to drop the encryption disable piece is to cover the issue where we add ARP PERM entries but weren't removing them. This had the potential to break a network on the next restart with IPSec disabled due to stale arp entries that would never be removed. This fix should cover the case, https://github.com/cilium/cilium/pull/15993 so I think we are safe to keep the encryption disable instructions. Thanks!

We currently still leave some stale state in our encryption routing table, ip r s t 200 but we do delete the link to it and its also guarded by mark bits set from IPSec BPF case so it should be harmless.

Sorry, I made a mistake with my fork and accidentally closed all my PRs. Reopening.

Let's merge this and not block on kube-router.


Tooltip is keep showing at the same position of screen when we scroll in touchable screens

In touchable screens like iPad, tablets, and phones when we open a tooltip and scroll down or up, the tooltip keep appearing in the wrong position.
Check the video below for more information.
https://user-images.githubusercontent.com/38536438/199652516-99e380e9-c603-4837-90a6-894042a7cb0f.mp4

We know this problem, but unfortunately, we could not find a solution for it for now. This happens because we have given the tooltip position as fixed.
If we do not give fixed, the tooltip does not work correctly. Maybe we can do a little more research on it. Any ideas would be of great help.

I'm working on this by implementing the solution that we used in select component. https://floating-ui.com/docs/autoUpdate


Where are images??

After the program has run and the page no longer refreshes, the files are no where to be found? Please help :))

They should be in your downloads folder.
Which browser are you using?
Are any downloads initialised when you press "Download Pages"?

I'm using chrome, and no downloads are initialised when I press download pages. thanks for your help

Nevermind, this is completely user error hahaha

Ah, ok. Good to know.
If the instructions aren't clear enough, feel free to suggest changes


Getting bankaccount of user

Hi, I'm sorry to ask a question here but I did not find the answer in the documentation and customer support advised me to ask it here.
So, I'm creating a natural user and linking its bankaccount:
bank_account = BankAccount(
            owner_name=str(profile),
            user_id=profile.mangopay_account_id,
            type="IBAN",
            owner_address=address,
            iban=iban,
            bic=bic
        )
        bank_account.save()

This works perfectly, but I'm not able to read the bankaccount info of the user.
I tried to read it through: "user.bankaccounts.related_model" but did not find any info in this.
Is there a way to get bankaccount info of a user?
Thanks a lot,
Louis

Hello @NicolleLouis,
Thank you for contacting us.
You should have a look at this test : https://github.com/Mangopay/mangopay2-python-sdk/blob/master/tests/test_bankaccounts.py#L465.
Tell me if it's solved your issue.
Have a nice day,

Yes thanks a lot


Make sure writes to URLSession.taskRegistry happen on work queue

https://github.com/apple/swift-corelibs-foundation/pull/1625

I cherry pick this in different way


WebGL usage

Describe the feature
Can this be used in webgl build

Hi! Not yet, there is an open feature request on that (#112).
I'll implement that but it is not in the immediate roadmap.

ok thankyou