Merge with ebfe/scard?

There is a lot of overlap between this project and https://github.com/ebfe/scard.
I am currently using ebfe/scard because I need GetStatusChange, but this project has some nice things too, like the ISO Command APDU factory functions, the Reader struct with IsCardPresent() and WaitForCardPresent().
How do you feel about merging those features into ebfe/scard?
See also: https://github.com/ebfe/scard/issues/14

I certainly won't mind if anyone wants to have a go at this. The purpose of the ebfe/scard project seems to be to provide a direct wrapper for the winscard C API though, while sf1/go-card was meant to be a higher level interface from the beginning.
The implementations of the two projects are fundamentally different, especially on Linux/Unix where sf1/go-card connects directly to PCSC-Lite daemon instead of going through any C library.

@sf1 I am curious, why did you choose to bypass libpcsclite and go directly to the daemon?

I don't know @sf1's reason, but I see the use of libpcsclite as a problem because it requires CGO, which, as we know, is not Go and also meant I had to do extra steps because I couldn't build my application on Alpine Linux because it doesn't use glibc.

@bluetech The main reason was to avoid using cgo.

Avoiding cgo is great for cross compilation.
My major concern would be, is the libpcsclite <-> pcscd protocol stable? Unless told otherwise, I would assume it's an implementation detail which is subject to change.
Another approach would be to implement PCSC directly on top of USB (CCID is not too hard to implement). The problem with that is that access to USB is privileged by default on Linux (unlike, say, on Android, or on WebUSB (RIP)). Which I suppose is why libpcsclite went with the daemon architecture in the first place.


Name not found in smtencoding env

This file triggers it
FStar.Reflection.TermEq.fst.txt

Minimized:
module Bug

type comparator_for (t:Type) = x:t -> y:t -> int

val term_eq         : comparator_for int
let rec term_eq t1 t2 = 0

let t = term_eq

ASSERTION FAILURE: Name term_eq not found in the smtencoding env
F* may be in an inconsistent state.
Please file a bug report, ideally with a minimized version of the program that triggered the error.


Building instructions don't work on Linux

Hey @melton1968, it's reuseman from Stackoverflow. The sort library is really coming out nice. I've tried to compile with your building instructions both on Fedora 36 and Ubuntu 22.04, and for some reason the compiler cannot found out of the box the std library. Here it is the error:
[  1%] Building CXX object _deps/date-build/CMakeFiles/date-tz.dir/src/tz.cpp.o
In file included from /home/reuseman/temp/sort/build/_deps/date-src/src/tz.cpp:86:
In file included from /home/reuseman/temp/sort/build/_deps/date-src/include/date/tz_private.h:31:
In file included from /home/reuseman/temp/sort/build/_deps/date-src/include/date/tz.h:99:
/home/reuseman/temp/sort/build/_deps/date-src/include/date/date.h:43:10: fatal error: 'cassert' file not found
#include <cassert>
         ^~~~~~~~~
1 error generated.
make[3]: *** [_deps/date-build/CMakeFiles/date-tz.dir/build.make:76: _deps/date-build/CMakeFiles/date-tz.dir/src/tz.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:796: _deps/date-build/CMakeFiles/date-tz.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:355: CMakeFiles/sort1.dir/rule] Error 2
make: *** [Makefile:195: sort1] Error 2

My first guess is a problem with libc++ or the compiler configuration. On Ubuntu 20.04, I find <cassert> here:
/usr/include/c++/v1/cassert

Can you compile a simple program that includes <cassert>?
This is how I installedclang-15 and related libraries:
apt install clang-15 libc++-15-dev libc++abi-15-dev

Here is the beginning of what I get when I configure and build on Ubuntu 20.04 using clang-15:
Configuration:
$ CC=clang-15 CXX=clang++-15 cmake -DCMAKE_INSTALL_PREFIX=~/opt ..
-- The C compiler identification is Clang 15.0.7
-- The CXX compiler identification is Clang 15.0.7
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /usr/bin/clang-15
...

Build:
$ VERBOSE=1 make sort1
/home/mmelton/bin/cmake -S/home/mmelton/work/sort -B/home/mmelton/work/sort/build --check-build-\
system CMakeFiles/Makefile.cmake 0
make  -f CMakeFiles/Makefile2 sort1
make[1]: Entering directory '/home/mmelton/work/sort/build'
/home/mmelton/bin/cmake -S/home/mmelton/work/sort -B/home/mmelton/work/sort/build --check-build-\
system CMakeFiles/Makefile.cmake 0
/home/mmelton/bin/cmake -E cmake_progress_start /home/mmelton/work/sort/build/CMakeFiles 52
make  -f CMakeFiles/Makefile2 CMakeFiles/sort1.dir/all
make[2]: Entering directory '/home/mmelton/work/sort/build'
make  -f _deps/date-build/CMakeFiles/date-tz.dir/build.make _deps/date-build/CMakeFiles/date-tz.\
dir/depend
make[3]: Entering directory '/home/mmelton/work/sort/build'
cd /home/mmelton/work/sort/build && /home/mmelton/bin/cmake -E cmake_depends "Unix Makefiles" /h\
ome/mmelton/work/sort /home/mmelton/work/sort/build/_deps/date-src /home/mmelton/work/sort/build\
 /home/mmelton/work/sort/build/_deps/date-build /home/mmelton/work/sort/build/_deps/date-build/C\
MakeFiles/date-tz.dir/DependInfo.cmake --color=
make[3]: Leaving directory '/home/mmelton/work/sort/build'
make  -f _deps/date-build/CMakeFiles/date-tz.dir/build.make _deps/date-build/CMakeFiles/date-tz.\
dir/build
make[3]: Entering directory '/home/mmelton/work/sort/build'
[  1%] Building CXX object _deps/date-build/CMakeFiles/date-tz.dir/src/tz.cpp.o
cd /home/mmelton/work/sort/build/_deps/date-build && /usr/bin/clang++-15 -DAUTO_DOWNLOAD=0 -DHAS\
_REMOTE_API=0 -DINSTALL=. -DONLY_C_LOCALE=0 -DUSE_OS_TZDB=1 -I/home/mmelton/work/sort/build/_dep\
s/date-src/include -fPIC -Wall -stdlib=libc++ -g -O -std=c++17 -MD -MT _deps/date-build/CMakeFil\
es/date-tz.dir/src/tz.cpp.o -MF CMakeFiles/date-tz.dir/src/tz.cpp.o.d -o CMakeFiles/date-tz.dir/\
src/tz.cpp.o -c /home/mmelton/work/sort/build/_deps/date-src/src/tz.cpp
[  3%] Linking CXX static library libdate-tz.a

Also, I recall that to install clang-15 on Ubuntu 20.04, I had to manually update the repos:
$ wget https://apt.llvm.org/llvm.sh
$ sudo ./llvm.sh 15
$ apt update

Still doesn't work, but if I create a simple cpp file with the cassert header, it can be trivially compiled by clang-15.
This is what I've done.
CMake output
> CC=clang-15 CXX=clang++-15 cmake -DCMAKE_INSTALL_PREFIX=~/opt ..
-- The C compiler identification is Clang 15.0.7
-- The CXX compiler identification is Clang 15.0.7
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /usr/bin/clang-15
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang-15 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++-15 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.40.0")
-- sort: Configuration: /home/reuseman/temp/sort
-- sort: Included from: /home/reuseman/temp/sort
-- sort: Install prefix: /home/reuseman/opt
-- sort: test ON
-- sort: docs OFF
-- stream: Searching for stream::stream
-- stream: Fetching from repo: stream
-- stream: Configuration: /home/reuseman/temp/sort/build/_deps/stream-src
-- stream: Included from: /home/reuseman/temp/sort
-- stream: Install prefix: /home/reuseman/opt
-- stream: test OFF
-- stream: docs OFF
-- tuple: Searching for tuple::tuple
-- tuple: Fetching from repo: tuple
-- tuple: Configuration: /home/reuseman/temp/sort/build/_deps/tuple-src
-- tuple: Included from: /home/reuseman/temp/sort
-- tuple: Install prefix: /home/reuseman/opt
-- tuple: Binary dir: /home/reuseman/temp/sort/build
-- tuple: core dir:
-- tuple: test OFF
-- tuple: docs OFF
-- mp: Searching for mp::mp
-- mp: Fetching from repo: mp
-- mp: Configuration: /home/reuseman/temp/sort/build/_deps/mp-src
-- mp: Included from: /home/reuseman/temp/sort
-- mp: Install prefix /home/reuseman/opt
-- mp: test OFF
-- mp: docs OFF
-- fmt: Searching for fmt::fmt
-- fmt: Fetching from repo: fmt
-- Module support is disabled.
 -DONLY_C_LOCALE=0 -DUSE_OS_TZDB=1 -I/home/reuseman/temp/sort/build/_deps/date-src/include -std=c++17 -fPIC -Wall -stdlib=libc++ -g -O -MD -MT _deps/date-build/CMakeFiles/date-tz.dir/src/tz.cpp.o -MF CMakeFiles/date-tz.dir/src/tz.cpp.o.d -o CMakeFiles/date-tz.dir/src/tz.cpp.o -c /home/reuseman/temp/sort/build/_deps/date-src/src/tz.cpp
In file included from /home/reuseman/temp/sort/build/_deps/date-src/src/tz.cpp:86:
In file included from /home/reuseman/temp/sort/build/_deps/date-src/include/date/tz_private.h:31:
In file included from /home/reuseman/temp/sort/build/_deps/date-src/include/date/tz.h:99:
/home/reuseman/temp/sort/build/_deps/date-src/include/date/date.h:43:10: fatal error: 'cassert' file not found
#include <cassert>
         ^~~~~~~~~
1 error generated.
make[3]: *** [_deps/date-build/CMakeFiles/date-tz.dir/build.make:76: _deps/date-build/CMakeFiles/date-tz.dir/src/tz.cpp.o] Error 1
make[3]: Leaving directory '/home/reuseman/temp/sort/build'
make[2]: *** [CMakeFiles/Makefile2:796: _deps/date-build/CMakeFiles/date-tz.dir/all] Error 2
make[2]: Leaving directory '/home/reuseman/temp/sort/build'
make[1]: *** [CMakeFiles/Makefile2:355: CMakeFiles/sort1.dir/rule] Error 2
make[1]: Leaving directory '/home/reuseman/temp/sort/build'
make: *** [Makefile:195: sort1] Error 2

If I create the build/t.cpp with that content, then I get this
x cd /home/reuseman/temp/sort/build/_deps/date-build && /usr/bin/clang++-15 -DAUTO_DOWNLOAD=0 -DHAS_R\
EMOTE_API=0 -DINSTALL=. -DONLY_C_LOCALE=0 -DUSE_OS_TZDB=1 -I/home/reuseman/temp/sort/build/_deps/da\
te-src/include -std=c++17 -fPIC -Wall -stdlib=libc++ -g -O -MD -MT _deps/date-build/CMakeFiles/date\
-tz.dir/src/tz.cpp.o -MF CMakeFiles/date-tz.dir/src/tz.cpp.o.d -o CMakeFiles/date-tz.dir/src/tz.cpp\
.o -c /home/reuseman/temp/sort/build/t.cpp
/home/reuseman/temp/sort/build/t.cpp:1:10: fatal error: 'cassert' file not found
#include <cassert>
         ^~~~~~~~~
1 error generated.

But with a simple a.cpp that contains
#include <cassert>

int main(int argc, char* argv[]) {
	return 0;
}

and compiled with clang++-15 a.cpp, everything works nice

Ok, I've just managed to solve by looking at the compilation commands. I usually use gcc, and apparently on my Fedora 36 machine libcxx-devel was missing. So a simple sudo dnf install clang libcxx-devel was enough to solve the problem.
Thanks for the support!


Uploading individual .txt files as individual tasks fails in multiple ways

Describe the bug
For the NER usecase when each text file is a separate task; the export of annotated data exports only text file names for text content; even though there is no issues with labelling the content
To Reproduce
Steps to reproduce the behavior:

Set up NER labelling Task with following Config
(I used the valueType="url" based on recommendation here to have each .txt file as a separate task : https://labelstud.io/guide/tasks.html#Plain-text; it reads "If you want to import entire plain text files without each line becoming a new labeling task, customize the labeling configuration to specify valueType="url" in the Text tag. See the Text tag documentation")

  <Labels name="label" toName="text">
    <Label value="label1" background="#FFA39E"/>
    <Label value="label2" background="#D4380D"/>
    <Label value="label3" background="#FFC069"/>
    <Label value="label4" background="#AD8B00"/>
    <Label value="label5" background="#D3F261"/>
    <Label value="label6" background="#389E0D"/>
    <Label value="labe7" background="#5CDBD3"/>
  </Labels>
  <Text name="text" value="$text" valueType="url"/>
</View>

Upload a few .txt files and Import as Time Series (only Time Series option keeps the each .txt files as a separate task)
Annotate the data
Try to Export the annotated data through API or UX and in any format. The annotated data does not contain content of .txt files

Expected behavior

The text content is visible in the exported data
When uploading .txt files; there is an option to upload it as .txt or .txtl (text or textLine similar to json or jsonl)
Perhaps a new valueType param in Text tag to indicate text or textline

Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

Label Studio Version [e.g. v1.01]

Additional context
https://label-studio.slack.com/archives/C01SKFX54QK/p1621488696013000

I wanted to do the same thing as you - import a whole text file as a single task.
I reporduced what you said and I can't reproduce - exporting shows me labels.

I set up a project with the NER template, but I needed to change the valueType="url" (even though the preview showed me errors that it couldn't find a file with the url from the example - well, the example (text about Jimi Hendrix) is plaintext, so no wonder).

I clicked ok anyways (though it'd be cool if the example detected that I used valueType="url" and switched example text to an url).  The template I used is in the screenshot also.

Upload a .txt file as time series (this was very confusing - I'm uploading a text file and the app is asking me if it should interpret TSV as time series or separate tasks? I'm uploading plain text, not TSV or CSV). I have similar findings that uploading as time series is the only way to get Label Studio to interpret the file as a single task.

Annotate some text:

Export as CSV:

The exported CSV contains annotations that seem to be correct:

I downloaded the Label Studio Docker image 2 hours ago, so my version is "from today" :P Below is more detailed info
# docker -it exec label-studio /bin/bash
root@0a7d94e30c07:/label-studio# pip list | grep label-studio
label-studio               1.0.2         /label-studio
label-studio-converter     0.0.28

The issue is annotated data needs to contain the original data / content of uploaded files in all formats including csv. Having just the file names requires people to manually merge and create a dataset. Also, exporting this in Standard format like CoNLL from this point is just garbage output that cannot be used

Release 1.2.0 failed at step 2. Please see the attachment. Thank you for any help.

The issue is still there. Choosing the "url" as value type makes the data text saving the path file not the source text

@ALIYoussef can you set your Text tag to also include "saveTextResult" to "true"?
https://labelstud.io/tags/text.html

@ALIYoussef If you try to export data that was imported with valueType = "url", then you will always get urls in your "text" field, this is the expected behavior.

@smoreface  @makseq  thank you for replying. By setting the saveTextResult ="yes" will save the tag only (i.e., the annotation text but the text includes the tag). So, in the field "data" the "text" will include only the the URL.
Is there a way to save the text included in the "file.txt" in the data dictionary? or this operation should be performed after exporting  the annotation!

@ALIYoussef If you try to export data that was imported with valueType = "url", then you will always get urls in your "text" field, this is the expected behavior.

So, no way to save the full text in the file within the data dictionary when the valueType = "url"?

@ALIYoussef can you set your Text tag to also include "saveTextResult" to "true"? https://labelstud.io/tags/text.html

By setting the saveTextResult ="yes" will save the tag only (i.e., the annotation text but not the text includes the tag). So, in the field "data" the "text" will include only the the URL.
Is there a way to save the text included in the "file.txt" in the data dictionary? or this operation should be performed after exporting the annotation!

using last docker build, the workaround with  valueType="url"  works

using last docker build, the workaround with valueType="url" works

Thank you. I will try that. So, now does it save the text included in the text instead of the url path in the annotated data?

I'm seeing the path not the actual text of my file with 1.16rc5

what specific problem do you have?

what specific problem do you have?

i have exactly the same problem of teebu.
I have LS 1.7.1 installed on docker, when i upload a txt (choosing NER template) in the source tag i see this:

When i start labeling my task, it shows correctly the content of the txt and i submit that task. When i try to export in json or json min i see again the url path instead of the content of the txt.
I set the template in this way:

i tried to reinstall docker and label studio, i tried to update it but with no success

It's the correct behaviour by design, LS backend avoids touching user's data by security reasons.
If you want to have texts in export, you should make tasks with text inplace.

When import txt file you should choose "List of tasks"
You <Text> tag shouldn't have valueType="url"
After import you will see text in "Source for task"
If you need to import text with newlines as one task for labeling, you have to use JSON file for import instead of txt.

I think I had the same issue. And I want to explain why it is confusing to the end users.
So I wanted to import a plain text document as one task. Let's say the content is:
my-doc.txt
this is the first line
this is the second line
this is the third line

So when I import it into label studio. It as me to choice Treat CSV/TSV as: List of tasks/Time Series or Whole Text File which is confusing becasuse I want to import a plain text document instead of CSV/TSV file. But any way
when I chose List of tasks
I'll get 3 tasks, which is not expected, I want one task instead of 3.
task1: this is the first line
task2: this is the second line
task3: this is the third line

when I chose Time Series or Whole Text File
I get one task but not data imported
task1: `/data/my-doc.txt`

What I'm actually expecting is:
task1: this is the first line\nthis is the second line\nthis is the third line

tempory solution
conver the plain text into JSON before import
{
  "id": 1,
  "data": {
    "value": "this is the first line\nthis is the second line\nthis is the third line"
  },
  "annotations": [],
  "predictions": []
}

Don't know if we can make the behavior more intuitive to the user.

when I chose Time Series or Whole Text File
I get one task but not data imported
task1: /data/my-doc.txt
Have you tried to use valueType="url" in the labeling config for the Text tag?

still no solution ?

how can i get content of the file with annotations after exporting?

可以参考我的分支中该提交，该操作可以的实现：从ui上传txt时，选中Time Series or whole Text File时，可以解析整个文本的内容赋值给data，而不是以上传文件类型，即实现
{
"id": 1,
"data": {
"value": "this is the first line\nthis is the second line\nthis is the third line"
},
"annotations": [],
"predictions": []
}


Run net-istio tests on KinD

That allows us to test more K8s version and customizations like cluster sufffix (see https://github.com/knative-sandbox/net-istio/issues/343 )

This was solved by https://github.com/knative-sandbox/net-istio/pull/394 :tada:


Add a License

Currently, there's no license present in this mgem, it would be nice if you could choose one for it (that's it, if you intend for the mgem to be open to use).

Finally fixed this oversight 🙂
Only been... 5 years?!? Wow, time flies ⏳


Missing https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/InRelease

Describe the issue
Package https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/InRelease missing
When did the issue occur?
Today, since 2024-04-24 10:09:00 GMT+2
If applicable, what package did you attempt to install, and from which repo?
prod/dists/jammy
Steps to Reproduce
https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/InRelease
Actual Result
nothing downloaded
Expected Result
should download something

Sames issue here, the "InRelease" file is empty

See https://github.com/microsoft/linux-package-repositories/issues/130

ok, closed


MissingPlugins in release installation when image_picker added as dependency

I am currently struggling with the following issue in Android:
The flutter share plugin as well as the url_launcher plugin do not work in the actual release installation.
Everything works perfectly fine in debug (physical device & emulator).
Also when the release version is run (from vscode) on a physical device, everything is working.
However, once I install the release version, the plugins are no longer available.
I have spent about 3 days testing my flutter app and was able to reproduce the error.
I found the following:

Physical device logcat throws missing plugin exception

when image_picker plugin is removed, everything works as expected.

The internet permission is added in Android.Manifest.
Compile and SDK versions is 29.
Min SDK Version is 21.
I really hope someone could give me a hint on how to overcome the MissingPluginException issue.
Could one force flutter to register the plugins in release?

I have checked the GeneratedPluginRegistrant.java and everything is listed.
I ran flutter clean and pub cache repair a dozen of times
I used different gradle versions
I used different plugin versions

Thank you for your time!
Error thrown when trying to use url_launcher or share plugin:
E flutter : [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method share on channel plugins.flutter.io/share)
11-11 20:36:28.091 23069 23094 E flutter : #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157)
11-11 20:36:28.091 23069 23094 E flutter : <asynchronous suspension>
11-11 20:36:28.091 23069 23094 E flutter :

11-11 20:37:19.084 23069 23094 E flutter : [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method canLaunch on channel plugins.flutter.io/url_launcher)
11-11 20:37:19.084 23069 23094 E flutter : #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157)
11-11 20:37:19.084 23069 23094 E flutter : <asynchronous suspension>
11-11 20:37:19.084 23069 23094 E flutter : #1      canLaunch (package:url_launcher/url_launcher.dart:124)
11-11 20:37:19.084 23069 23094 E flutter : <asynchronous suspension>
11-11 20:37:19.084 23069 23094 E flutter : #2      _MyHomePageState._tryLaunchURL (package:atestapp/main.dart:36)
11-11 20:37:19.084 23069 23094 E flutter : <asynchronous suspension>
11-11 20:37:19.084 23069 23094 E flutter : #3      _MyHomePageState.build.<anonymous closure> (package:atestapp/main.dart:65)
11-11 20:37:19.084 23069 23094 E flutter : <asynchronous suspension>
11-11 20:37:19.084 23069 23094 E flutter :
11-11 20:37:20.273  3896  9400 D ClClient: Not sending keepalive.  Current connection state=STOPPED

Flutter doctor -v output:
[√] Flutter (Channel stable, 1.22.3, on Microsoft Windows [Version 10.0.18363.1198], locale de-DE)
    • Flutter version 1.22.3 at C:\flutter
    • Framework revision 8874f21e79 (13 days ago), 2020-10-29 14:14:35 -0700
    • Engine revision a1440ca392
    • Dart version 2.10.3

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Android-SDK
    • Platform android-29, build-tools 29.0.2
    • ANDROID_SDK_ROOT = C:\Android-SDK
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[!] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code, 64-bit edition (version 1.51.0)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.16.0

[√] Connected device (1 available)
    • Pixel 2 XL (mobile) • 801KPTM1379449 • android-arm64 • Android 11 (API 30)

! Doctor found issues in 1 category.

pubspec.yaml
name: atestapp
description: A new Flutter project.

# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  image_picker: ^0.6.7+14
  url_launcher: ^5.7.10
  share: ^0.6.5+4

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.0

dev_dependencies:
  flutter_test:
    sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  # assets:
  #   - images/a_dot_burr.jpeg
  #   - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

Hi @BerlinUkn0w
Please consider this an issue about image_picker only, you should open another issue about the share plugin. We do not track two issue in one since they require to be solved in different places and by different people.
I was not able to reproduce this by building the app in release mode on my Xiaomi 5Plus device.

Hey @pedromassangocode
Thanks a lot for giving it a try and taking the time to respond. After building the app, did you actually run flutter install and use it on the device ?
I'm asking this because I only get the error when the app is installed, not when run from Android Studio.
I will try to reinstall flutter.

Hi guys, I have a similar issue when building and running a "release" apk. When I run the app in debug mode everything works well
Release mode output:
2020-11-12 09:30:53.763 12328-12386/? I/flutter: MissingPluginException(No implementation found for method getTemporaryDirectory on channel plugins.flutter.io/path_provider)
2020-11-12 09:30:53.763 12328-12386/? I/flutter: #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157)
    <asynchronous suspension>
    #1      getTemporaryDirectory (package:path_provider/path_provider.dart:55)
    <asynchronous suspension>
    #2      HydratedStorage.build.<anonymous closure> (package:hydrated_bloc/src/hydrated_storage.dart:67)
    <asynchronous suspension>
    #3      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:34)
    <asynchronous suspension>
    #4      main.<anonymous closure> (package:sytex/main.dart:32)
    <asynchronous suspension>

flutter doctor:
[✓] Flutter (Channel beta, 1.23.0-18.1.pre, on Mac OS X 10.15.7 19H15 x86_64, locale en-AR)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.51.1)
[✓] Connected device (1 available)

• No issues found!

Hi guys, I have a similar issue when building and running a "release" apk. When I run the app in debug mode everything works well
Release mode output:
2020-11-12 09:30:53.763 12328-12386/? I/flutter: MissingPluginException(No implementation found for method getTemporaryDirectory on channel plugins.flutter.io/path_provider)
2020-11-12 09:30:53.763 12328-12386/? I/flutter: #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157)
    <asynchronous suspension>
    #1      getTemporaryDirectory (package:path_provider/path_provider.dart:55)
    <asynchronous suspension>
    #2      HydratedStorage.build.<anonymous closure> (package:hydrated_bloc/src/hydrated_storage.dart:67)
    <asynchronous suspension>
    #3      BasicLock.synchronized (package:synchronized/src/basic_lock.dart:34)
    <asynchronous suspension>
    #4      main.<anonymous closure> (package:sytex/main.dart:32)
    <asynchronous suspension>

flutter doctor:
[✓] Flutter (Channel beta, 1.23.0-18.1.pre, on Mac OS X 10.15.7 19H15 x86_64, locale en-AR)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.51.1)
[✓] Connected device (1 available)

• No issues found!

Have you tried using stable channel ?
It can be changed by running flutter channel stable

Have you tried using stable channel ?
It can be changed by running flutter channel stable

It throws the same error using stable channel

I finally found the issue!
I tested different gradle plugin versions and had to downgrade from using classpath 'com.android.tools.build:gradle:4.0.0' and  classpath 'com.android.tools.build:gradle:4.1.0' TO classpath 'com.android.tools.build:gradle:3.5.0 in /android/build.gradle while keeping distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip the same.

I finally found the issue!
I tested different gradle plugin versions and had to downgrade from using classpath 'com.android.tools.build:gradle:4.0.0' and classpath 'com.android.tools.build:gradle:4.1.0' TO classpath 'com.android.tools.build:gradle:3.5.0 in /android/build.gradle while keeping distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip the same.

It's the same form my case, thanks!


ntr: mitotic sister chromatid separation in interphase 	PMID:9808627

FYPO:0000670	abnormal mitotic sister chromatid separation

PMID:9808627

A cellular process phenotype in which mitotic sister chromatid separation occurs prematurely in interphase (before spindle formation). Mitotic sister chromatid separation is the process in which sister chromatids are physically detached from each other during mitosis.
Comment: "Note that these interphase cells revealing the two split signals did not contain the spindle at all, so that separation was not attributable to the spindle force."
This phenotype is usually a cohesion defect.

mitotic sister chromatid separation during interphase FYPO:0005345

edit file: 36a0132ad81c1ca6c58d5359cde67b290188929d
release: 26871d42eabe9730906d4a2e850f973d24f88ad8

does not appear as descendant of "abnormal mitotic sister chromatid separation" my placeholder term. Should it?

fixed by amending an asserted link further up-tree


Mixer duplicating Set-Cookie headers in response when rule has multiple APPEND operations using same header

Bug description
i have a rule with responseHeaderOperations as follows :
responseHeaderOperations:
    - name: Set-Cookie
      values: [ a1.output.sessionCookie ]
      operation: APPEND
    - name: Set-Cookie
      values: [ a1.output.markerCookie ]
      operation: APPEND

and my adapter sets them as follows (they're called mt_sid & mt_mk)
return &authnz.HandleAuthnZResponse{
			Result: &v1beta1.CheckResult{Status: status.WithMessage(rpc.OK, "User is authenticated")},
			Output: &authnz.OutputMsg{
				Authorization: strings.Join([]string{bearer, tokens.AccessToken, tokens.IdentityToken}, " "),
				SessionCookie: cookie.String(), //mt_sid
				MarkerCookie: cookieTwo.String(), //mt_mk
			},
		}

however upon inspecting the response in the browser, the set-cookie header is set twice for each cookie

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[X ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Its expected to append the set-cookie header only one time for each APPEND operation
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
istioctl version --remote :
client version: 1.3.3
citadel version: 1.4.3
galley version: 1.4.3
ingressgateway version: 1.4.3
nodeagent version:
... //many duplicate empty "nodeagent version: "
nodeagent version:
pilot version: 1.4.3
policy version: 1.4.3
sidecar-injector version: 1.4.3
telemetry version: 1.4.3

kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.2", GitCommit:"c97fe5036ef3df2967d086711e6c0c405941e14b", GitTreeState:"clean", BuildDate:"2019-10-15T19:18:23Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.9-eks-502bfb", GitCommit:"502bfb383169b124d87848f89e17a04b9fc1f6f0", GitTreeState:"clean", BuildDate:"2020-02-07T01:31:02Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

How was Istio installed?
Helm
Environment where bug was observed (cloud vendor, OS, etc)
AWS EKS

I'm sorry that this did not get any attention. Mixer was deprecated and is now deleted. I'm going to close this issue as result. Feel free to re-open if you believe this should be fixed in the 1.7 release branch.


Fixing issue with ZEPPELIN-173: Zeppelin websocket server is vulnerab…

Fixing the socket cross-origin vulnerability as described in the Jira. Overwrote the checkOrigin in the WebSocketServlet class implemented by NotebookServer so that a list of all seen socket Get requests are kept and only Upgrade requests from the same origin will be accepted. Otherwise unauthorized will be returned.
Included basic unit tests.

Tested and working nicely. Thanks for the contribution!

I have fixed the merge issues and recommitted. Ready for your review.
Thanks,
Joel

From: Lee moon soo<EMAIL_ADDRESS>Sent: Thursday, August 13, 2015 9:20:05 AM
To: apache/incubator-zeppelin
Cc: Joel Zambrano
Subject: Re: [incubator-zeppelin] Fixing issue with ZEPPELIN-173: Zeppelin websocket server is vulnerab… (#205)
Tested and working nicely. Thanks for the contribution!
—
Reply to this email directly or view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-zeppelin%2Fpull%2F205%23issuecomment-130748871&data=01|01|joelz%40microsoft.com|8b71ee668dd34c8e280708d2a3fb0e00|72f988bf86f141af91ab2d7cd011db47|1&sdata=ulufWnZiCgXfeRlodVWtuiUPUk0fi81urTN4V4uiJiA%3D.

Thanks, LGTM.

Great! Next step is to merge? Who does this?

Next step is, getting more review and votes, or waiting for enough time to have discussions and consensus (which is normally take a day at least). Then it's going to be merged.

Not sure if it's best to comment here, or open a new issue, but
java.net.InetAddress.getLocalHost().getHostName();

isn't going to return all possible addresses which a node might reasonably be listening on. For instance, on an EC2 node, this will return the private IP, but if you want to connect to that node from outside of Amazon's network, that address won't be visible, where as the public address will.
I think there needs to at least be the option of setting an alternative value in config.

 Thanks!

@Leemoonsoo can I suggest alternativeallowedsource as the configuration name? Also this will be used for my other pull request that affects REST endpoints as well.
I could implement it also if you want. have you started already?

@djoelz If you can implement, that would be really appreciated!

@Leemoonsoo @jonbuffington is already doing the work. I will work closely with Jon to wrap this up.
Thanks Jon!

I have a fix for this. Will create the PR soon

Looking forward to this fix, I am unable to run Zeppelin in AWS.  On my local machine, I don't have web-socket issue.

@djoelz I also pushed a fix. @djoelz, @jitenderaswani  please review #233.


aria fast follow

This allows the user to set an explicit ariaLabel for each axis, e.g.: ariaLabel: "vertical axis representing change in percentage, from 0% to 25%"
The default is y-axis label; I'd like to remove the ↑ and → but maybe that's something for #702
The label itself is hidden (since redundant with the item above); maybe controversial since users might want to know what this text is, even if it's redundant?
Adds role=none to the tick lines and grid lines (removes a lot of noise, especially since ticks are interspersed with tick values, and so you can't listen to tick values without hearing an empty "image" for each of them).
I haven't pushed the tests since all charts are affected and will be affected again when we fine-tune.
https://user-images.githubusercontent.com/7001/151651375-fb87d135-9be4-4a02-a0f3-c8f2581ac00f.mov

I think I was wrong about role=none; there is an option in VoiceOver Utility > Web that allows the user to ignore images without a description. When this option is selected, the tick lines are not spoken any more.

ariaLabel: "vertical axis representing change in percentage, from 0% to 25%"

According to my (neophyte) understanding of ARIA, this would be more appropriate as an aria-description rather than an aria-label. Per MDN:

The aria-description attribute is similar to aria-label in that both provide a text string to associate with the element, but a label should be short and concise, while the description can be longer as it is intended to provide more context and information.

So, aria-label should be “y-axis”, but aria-description can be “a vertical axis representing change in percentage, from 0% to 25%”. We could/should add an ariaDescription option for axes.
I would prefer to move the default logic for ariaLabel up to the constructor, rather than doing it in render. I will open a PR with these suggestions.
Note that in the case where there is a visible label, we’re supposed to use aria-labelledby to point to that label. But that sure is a pain because it means we need to allocate a globally unique id! Per MDN:

The purpose of aria-label is the same as aria-labelledby. Both provide an accessible name for an element. If there is no visible name for the element you can reference, use aria-label to provide the user with a recognizable accessible name. If the label text is available in the DOM, and referencing the DOM content and acceptable user experience, prefer to use aria-labelledby. Don't include both. If both are present on the same element, aria-labelledby will take precedence over aria-label.

But in addition to being a pain to implement, I think our aria-label here will be better than aria-labelledby because we can include “x-axis” or “y-axis” in the label, which is not wanted for the visible label.
I don’t think we need/want the aria-hidden for the visible label. I think we should leave that alone.

I would prefer to move the default logic for ariaLabel up to the constructor, rather than doing it in render.

Ah, boo, this won’t work because we use mutation here e.g.:
https://github.com/observablehq/plot/blob/5ce6cc0595b29839174b804c98f85ffbc4335770/src/axes.js#L87


Explicit error reporting

Make code more pure.

I need this to render C code to String in my program.

Can you give an example for how you use this?

Our tool produce one big C file as its output. We call Ivory as a library from Haskell process, so we want to get errors from the function call, without parsing stderr.

Do you need something else?


Automated cherry pick of #9024: fix(cloudid): avoid use invalid character for role name

Cherry pick of #9024 on release/3.5.
#9024: fix(cloudid): avoid use invalid character for role name

Codecov Report

Merging #9026 (3b85961) into release/3.5 (6a15e02) will increase coverage by 11.99%.
The diff coverage is 33.33%.

@@               Coverage Diff                @@
##           release/3.5    #9026       +/-   ##
================================================
+ Coverage         5.98%   17.97%   +11.99%
================================================
  Files              796       84      -712
  Lines           125693     8861   -116832
================================================
- Hits              7522     1593     -5929
+ Misses          117504     7099   -110405
+ Partials           667      169      -498

Flag
Coverage Δ

aFlag
17.97% <33.33%> (+11.99%)
:arrow_up:

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

Impacted Files
Coverage Δ

.../monitor/alerting/conditions/suggestrulereducer.go
0.00% <0.00%> (ø)

pkg/util/seclib2/seclib.go
86.04% <100.00%> (ø)

pkg/multicloud/esxi/ip.go

pkg/cloudcommon/cmdline/helper.go

pkg/util/imagetools/imagetools.go

pkg/compute/models/netinterfaces.go

pkg/mcclient/options/dbinstances.go

pkg/multicloud/aws/region.go

pkg/mcclient/options/dnszonecache.go

pkg/util/samlutils/instance.go

... and 682 more

Continue to review full report at Codecov.

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

/lgtm
/approve


[SwipeableDrawer] Avoid blocking events

Solution proposed by @oliviertassinari !
Fix #22493
[*] I have followed (at least) the PR section of the contributing guide.

@JadRizk It's a great first pull request on Material-UI 👌🏻. Thank you for working on it!
Let's see how this behaves once released. Hopefully, it will be alright.


Config file doesnt generate on docker install.

I am currently mailing a bomb to whoever is responsible for this error.

Rebuilt the container on my laptop, and config file does generate. Here's output from a shell inside a running container:
root@adb0e071db47:/acsim# head data/config.yaml

---
# IP addresses and port used to serve the imageboard itself
server_ipv4: <IP_ADDRESS>
server_ipv6: ::1
server_port: 8080

# If set to true, only binds to addresses specified above, otherwise binds to <IP_ADDRESS>
bind_to_one_ip: false

root@adb0e071db47:/acsim# ls data
acsim.db  banlist.yaml	captcha  config.yaml  user_images
root@adb0e071db47:/acsim#

Docker still outputs ./setup.sh: 28: [[: not found when building (which I'll fix later), but everything still seems to generate fine. It's probably an issue with the older version that current acsim:latest was generated from. Expect a new image sometime soon.

Despite a new OS reinstall, redoing all of the steps, I've yet to generate a config file. I've tried the manual install and editing the setup file and have only gotten errors.

Despite a new OS reinstall, redoing all of the steps, I've yet to generate a config file. I've tried the manual install and editing the setup file and have only gotten errors.

Are any other files affected or is only the config missing? Also, could you share any of the error logs you got?

I believe rust may be effected as well, whenever I tried to invoke or use anything related to rustup or its dependencies it would give an "incorrect directory" error. this could be because I installed all of the targets in the acsim directory but I'm not sure.

Sorry, if not being specific enough. It always gave some type of "incorrect directory error" relating to "cargo install --path". Trying to replicate now.

Error on my end. For future prosperity, don't cd when trying to mount or run this.


encoding/json: Capitalization in field tags not handled correctly when unmarshalling

If you try to unmarshal a JSON string with entries with identical keys but different cases, the correct key may not be chosen.
Test Program:
package main

import (
	"encoding/json"
	"fmt"
)

type testStruct struct {
	Testone string `json:"testone"`
}

func main() {
	testStr := `
	{
		"testone": "one",
		"testOne": "two"
	}`

	var s testStruct
	json.Unmarshal([]byte(testStr), &s)
	fmt.Printf("testone = %s\n", s.Testone)
}

Expected output: testone = one
Actual output: testone = two
Tested on Go Playground - go1.11.1
https://play.golang.org/p/zMeyW9Zgfnz

Dup of https://github.com/golang/go/issues/14750?

Looks like it, closing this issue.


Yo, I added a manual page, and build instructions for it

Wasn't necessary but I won't remember anything without it

I can add your name to the man page's authors if you'd like (since I copied and pasted most of it from your README). Just let me know what sounds good, and what you want your name to be.

woah, a wild contributor
i really appreaciate this, i looked the man page you made and its perfect for me!
oh and yeah please i would like to have my name on the man page, kaonkaon is okay for me
tell my if you are ready, i will happily start merge this

You're welcome!


chore(main): release 1.0.2

:robot: I have created a release beep boop
1.0.2 (2023-02-20)
Bug Fixes

ci: use personnal token in order to trigger workflow (205da7b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/bdronneau/memoriesbox/releases/tag/v1.0.2 :sunflower:


Backporting the fix #48147 to 1.19, 1.20 Istio versions

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
It is noted that 1.19 is introduced with webhooks by default as per #43897 and the upgrades are ending up with failures  because of webhook conflict issue  as fixed here #48147. I think it is much better to backporting the fix to the version 1.19 and 1.20 to avoid creating the issue as mentioned.
Version
$istioctl version
client version: 1.19.9
control plane version: 1.19.9
data plane version: 1.19.9
$kubectl version
Client Version: v1.27.4
Server Version: v1.27.4

Additional Information
No response

@hanxiaop mind taking a look?

The first PR was trying to fix a different issue, where successfully installing the operator didn’t go with the validation webhook, and it didn’t change the confliction behavior. The fixes related to the confliction were to make the installation process smoother, but IIRC there were 2 to 3 related PRs, which involves both webhook and the webhook analyzer logics, and that may not be done easily.
I think If we want to backport PRs, we can do for 1.20 maybe, in case if there are any regressions from the backport and 1.19 is EOL and doesn't accept PRs anymore.

@hanxiaop thank you for comments, sounds good. I hope this will backport in 1.20?

@hanxiaop once you confirm, please let us know the date at which the backporting can be done. Also confirm if upgrading from 1.18 to 1.20 is possible. I knew that this is not recommended but still checking for options.


Potential bug/doc request for obtaining graph tokens with ECC certificate assertions

Hi all,
Reposting this issue from https://github.com/AzureAD/microsoft-identity-web/issues/1809 on advice of a contributor there:
I hope this is the right repo to post this in. For the last couple of days I've been trying to figure out why we couldn't get our app to receive a token for the Microsoft Graph API. No matter how I tried, first with the msal-node library and then by manually constructing and sending JWT assertions, I couldn't figure it out.
Edit: I have since wondered if JWTs for ECC certificates need to be signed differently to RSA certs in a way that msal-node doesn't handle and I haven't done in my manual code that works with RSA certs. I can post my code if that's appropriate/helpful
The only error shown was the code "5000" and a message saying a server error had occurred.
It transpires that it's because we were using an ECC certificate. I got it reissued as 2048-bit RSA and it worked straight away.
I'm not sure if this is a bug report or a plea for this to be documented. The Azure Portal for the application allowed the potentially unsupported certificate to be uploaded, showing no signs of error.  I suppose it hinges on: is this expected behaviour?
All the best, and thanks.

@kjkent do you have a stack trace with messages?

@brentschmaltz When I get the chance, I'll make a self-signed ECC cert and reproduce; I'll post the results here.

@brentschmaltz apologies for the long silence -- work has been manic and I've been pulled onto other things. That said, I'm at a point where hopefully I should be able to try and recreate this in the next couple of weeks. What would be the best way to get a stack trace with the level of detail you're after? I recall that the Graph API just responded with something like a 400 - Bad Request. I'll post my findings as soon as I get chance!

@kjkent closing a dup of #1878


Somehow, this component is killing NgbModal component.

Hi there,
Though this component works fine, it seems to be breaking another component you can find in NPM, and not an unpopular one, precisely. It's one NgBootstrap modal component:
https://ng-bootstrap.github.io/#/components/modal/examples
Basically, when I use ng2-daterangepicker and put the directive into the DOM, I can't select checkboxes that are dynamically loaded into the modal. But if I comment all the datepicker template implementation, and just load the component class... it works fine.
So somehow, this directive implementation is breaking something.
Do you have any idea on what it can be? I've been quick checking the code and I find nothing... and that's bad because I need to fix this up quite quickly. And happy thing is that both components (yours and the other) are requirements in this project 😅😅😅 so... Can you help me with this issue?
Thank you so much and sorry!
EDIT: I don't get absolutely any errors here, it's just silent bug. When I select one of those checks, they just don't get checked.

Something I just "discovered" is that it's some problem when binding one function to the (click) action in my checkbox. The function it aims to, doesn't trigger. Weird.

I'll leave here the template code, in case it's useful for you:

  <ng-template #content let-c="close" let-d="dismiss">

Dimensions

      <button type="button" class="close" aria-label="Close" (click)="d('Cross click')">
        ×
      </button>

        <fieldset *ngFor="let attribute of listAttributes(config.attributes.available)" >

                {{attribute.label}}

                  <input
                    [type]="config.attributes.type[attribute.key]"
                    (click)="toggle_selected(attribute.key, attribute.values[i])"        <-- Here is the problem!
                    [checked]="is_selected(attribute.key, attribute.values[i])"
                    *ngIf="is_defined(attribute.values[i])"
                  >
                  {{ value }}

        </fieldset>

              Selected dimension filter(s):

              0 && !config.attributes.hidden[attribute.key]">

                 {{attribute.label}}:
                 {{attribute.values}}

      <button type="button" class="btn btn-success" (click)="save();c()">Save</button>
      <button type="button" class="btn btn-outline-dark" (click)="c('Close click')">Close</button>

  </ng-template>

New info: When jquery is loaded at line 6 of your file daterangerpicker.component.js, it breaks my other component. When I comment this line, the other component starts working, but of course, the datepicker stops working. I'm seeing what I can do to fix it.

So how could this be fixed?

Not sure. But the daterangepicker is dependent on jQuery.
I will try experimenting further to see whether it can work but I don't have a lot of time at my disposal.


Bug in add quantities

As reported by @hpohekar, e.g.,  1m + 1 ft gives wrong result.
Please start by adding tests for this and related: other operators, other unit combinations such as 1 m + 1mm.

Yeah, ouch.  There is no test for this: https://github.com/ansys/pyansys-units/blob/fdd29ccce38cb2437e472e94e87de07d5e6cbb05/tests/test_quantity.py#L274

@seanpearsonuk @dnwillia-work @ansaboutin
Yes, we have discussed same thing in the meeting.
We will retain unit of first quantity by converting second quantity to unit of first quantity during the addition and subtraction so that we will get desired result as you mentioned above.
>>> f + m
Quantity (16.56167979002625, "ft")
>>> m + f
Quantity (5.048, "m")


CurriedParameterGroups can not be accessed in a nested function.

The following code illustrates the issue:
module Test =
    let half (str: string) = str.[..str.Length / 2]

[<EntryPoint>]
let main argv =
    let half (str: string) = str.[..str.Length / 2]
    0

Both symbols for half should have the same CurriedParameterGroups count, however the second one defined within the main function throws an exception when CurriedParameterGroups is accessed stating: not a module let binding or member
If this is not supported then how van the type parameters for the function be accessed.

This is now implemented via PR #298


All I get is "poll: Fastly error: Error"

I'm trying the basic example proxy example on my own test backend:  https://autov.stag.v3.crewlinker.com/check/health but all I get is poll: Fastly error: error without any way to debug. It works fine when running it with  fastly compute serve
This is basically developing blind and I have to give up on doing anything with compute@edge for now. Hopefully this can be improved

This should be fixed by https://github.com/fastly/compute-sdk-go/pull/81.  If you want to try it out, check that PR out locally and add something like this to your go.mod:
replace github.com/fastly/compute-sdk-go => /path/to/checked-out/compute-sdk-go

To be clear, by "should be fixed" I mean "will report a more meaningful error."
If you want to post your code we can take a look and see if we can identify the issue.  My first guess is that your backend isn't defined on the Fastly service, or that the name doesn't match what's in your code.  Hope this helps!

I had to switch to just using vcl and that got my setup working, for now I have to move on. Maybe later I have more time to try out the pr. But it sounds like 81 is definite win and sounds like it should fix this issue.


Fix: Adding and Removing public config take long time to reflect

Description
Refactored and enhanced the AddPublicConfig component to improve readability and maintainability. Extracted configuration fields and used a loop to generate input-validator components for each field. Also, improved variable naming and removed redundant comments.
Changes

Created a new variable called defaultNodeConfig and copied its values to the config. The form now watches these values instead of new and old values.
Extracted configuration fields to improve code readability.
Improved consistency in variable naming.
Removed redundant comments and added explanatory comments where needed.
Created a fake data with Fill Fake Data button on development mode.

Related Issues

https://github.com/threefoldtech/tfgrid-sdk-ts/issues/1855

Screenshots/Video
Screencast from 01-30-2024 05:57:31 PM.webm
Checklist

[ ] Tests included
[x] Build pass
[x] Documentation
[x] Code format and docstrings
[x] Screenshots/Video attached (needed for UI changes)

developing with the same data every time might lead to unwanted behaviors.

Yeah, you have a point, I removed it, kindly take a look again :)


Add yamllint to install_requires

This is required in the run time and is suddenly not present when installing the package as can be seen in the report from https://github.com/ansible/molecule/issues/2012. We now include this in our install_require list and manage the bounds directly to ensure we have a working default linter.

See https://github.com/ansible/molecule/issues/2012 for more! Critical bug ...

WDYT @webknjaz?

CI failure unrelated. Please see #2042.


US-3382, US-3381 Added some comments and descriptions for the test cl…

Change list
Added more details to the test classes; one is more of an example, the other tests our implementation (SanityTest.java).
Removed some TODO items and comments.
Added an app for testing purposes; iOS and Android versions.
Types of changes
What types of changes are you proposing/introducing to Java client?

[ ] Bugfix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Details
Mostly clean up of comments, descriptions for the test classes and each of their test methods.
Included two Youi Engine apps; YouiEngineAppiumSample-debug.apk and YouiEngineAppiumSample.app.zip to be used with the tests.
The zip file should be unzipped before use.
Caps in the test classes should be adjusted to reflect the device to be tested.

Updated - seemed adding some of the descriptions violated a few of the Google coding style guidelines so I corrected those.

A couple of comments, then 🚢


[MPD] Version 1.5.4 not available on all architectures

Which addon?
MPD
Describe the bug
The MPD addon is not available on armv7, armhf, aarch64.
The build has problems with the cross-compiling with the Home Assistant builder.

Is that why I get this error? Will you make it available to the remaining architectures at all?
21-03-25 14:20:36 ERROR (SyncWorker_7) [supervisor.docker.interface] Can't install ghcr.io/poeschl/ha-mpd-aarch64:1.5.4 -> 500 Server Error for http+docker://localhost/v1.40/images/create?tag=1.5.4&fromImage=ghcr.io%2Fpoeschl%2Fha-mpd-aarch64: Internal Server Error ("name unknown").

That's exactly the error what gets cause by it.
I will make it available again for sure.

That's exactly the error what gets cause by it.
I will make it available again for sure.

 Thanks!
PS.: I'll send you another coffee shortly ;) Your work is great!


orian: Fix a problem with not getting the correct Context on App Engine

See PR #78.

I don't see any downside to this other than it being more correct. Doesn't affect anything else. Tests pass etc. Thanks for fixing this up. Probably should have merged it a while ago.

Nice, thanks for merging so quickly this time!


updated dotnet test command

Fixes #1472
/cc @blackdwarf
Related questions/comments:
1- do we need a topic specific for https://aka.ms/vstest-filtering that is not a super old blog post?
2- help command says that configuration is Debug for most projects. What does most means here?
3- we probably need to add more info on how to use this command for beginner users

@mairaw some answers:

That would be very good
most means what it means. It should mean "if you haven't changed it"
Yes.

@blackdwarf  I did create an issue for question 1 (https://github.com/dotnet/docs/issues/1489). I won't be addressing that on this PR since we have a fallback plan for now.
question 2 - I've changed the description on the topic because I think saying default for most project is not clear for customers.
question 3 - I'll add a separate issue for that one.
Please let me know if my changes look accurate. Thanks!

LGTM :shipit:

I've updated this to match RC4 version now. Removed the [--results-directory] option and replaced the sample with the current template from dotnet new xunit.


Group invitation by person

Dave pointed out that if we invite user to a group it does not indicate who the person is that invites you,  Currently the user is invited by a generic message from the "Hydroshare Team"
Please see sample below:
Dear David
You have been invited to join HydroShare user group (2019 CUAHSI Conference on Hydroinformatics ).
Click on the link below to join this group.
https://www.hydroshare.org/hsapi/_internal/group_membership/58m-f5a4b2dceda17e279885/2/1520/?next=/
The HydroShare Team
To make it more personal this functionality should be changed to indicate who initiated the invite.

Additional suggested functionality from Dave for the invite email: When a user receives a invite the user also should be able to click a link to see the group landing page get information about the group that the invite refers to.


Mapping of HealthProfessional::HealthProfessionalRole

Zib HealthProfessional defines a concept called HealthProfessionalRole, defined as "The role the health professional fulfils in the healthcare process. For health professionals, this could be for example attender, referrer or performer". In FHIR this is usually specified not in the referred but in the referring profile, to allow re-use of the same Practitioner/PractiotionerRole model. For example, Procedure defines Procedure.performer.role for this purpose, and CareTeam specifies CareTeam.participant.role. It makes sense to map HealthProfessionalRole on these FHIR elements.
However, not every referring resource defines a role, e.g. Observation just has Observation.performer and cannot specify the role of the performer. This means that HealthProfessionalRole cannot always be captured.
Possible solutions:

Add a (custom) extension to the PractitionerRole profile to capture HealthProfessionalRole. This would negate the benefit of having a single Health Professional model that can be re-used to some extent.
Add a (custom) extension to the reference datatype and add it everywhere where a HealthProfessional is referred. This would involve quite a bit of extra work.

At first sight, I am not happy with either option at all. You would think there may be some logic in FHIR on the reasons why .role elements are skipped in certain resources...
It might help if we make an analysis on how often a HealthProfessionalRole cannot be captured because there is not a suitable element for it in the FHIR resource.

True, but there's also some logic as to why the zib does capture this role. But agreed, let's find out where FHIR omits this role.

Here are my results based on some preliminary mappings to resources. For the majority of references to HealthProfessional there is no suitable element for HealthProfessionalRole concept. However, the amount of HealthProfessional references made by the zibs is lower than I expected. Therefore, I think I am inclined to go for option 2. Create a custom extension on the reference datatype. We could make a profile on the reference datatype to simplify things a bit?

Zib
FHIR resource
Mapping voor HealthProfessionalRole
Notes

CareAgreement-v1.0
CarePlan
None
Has 3 references to HealthProfessional: CareCoordinator, Performer and AgreementParties

HelpFromOthers-v3.01
CarePlan
None

LaboratoryTestResult-v4.6
Observation
None

MedicalDevice-v3.3.1
DeviceUseStatement
None
The STU3 profile uses a custom extension for the HealthProfessional reference and there is no suitable element in R4 too,-- make it a complex   extension? No definitioncode is given for the context of the reference   therefore I am wondering if the HealthprofessionalRole is applicable here.

MedicationAgreement-v1.2
MedicationRequest
None
A .performerType exists, but this is not about the prescriber/requester

MedicationContraIndication-v1.0
Flag
None

MedicationUse2-v1.1.1
MedicationStatement
None
Prescriber is already captured with a custom extension -- we can make it   a complex custom extensino…

SOAPReport-v1.0
Composition(?)
None
.author

TreatmentDirective2-v1.0
Consent
None
This zib changes significantly between 2017 / 2020. The reference was   first mapped to a custom extension but now .performer should be suitable. I   wonder, however, if the HealthprofessionalRole really matters here.

LaboratoryTestResult-v4.6
DiagnosticReport
.performer.role &      ServiceRequest.performerType

NursingIntervention-v3.2
Procedure
.performer.function &      ServiceRequest.performerType

MedicationAdministration2-v1.1.1
MedicationAdministration
.performer.function

Procedure-v5.2
Procedure
.performer.function

Vaccination-v4.0
Immunization
.performer.function

Encounter-v4.0.1
Encounter
.participant.type

MultidisciplinaryTeamMeeting-v1.0
Encounter(?)
.participant.type

CareTeam-v1.0
CareTeam
.participant.role

A few notes:

The CarePlan based resources may end up using a reference to a CareTeam instead of inline references to participants, which natively support a role.
CarePlan might be better suitable than Consent for TreatmentDirective. Therefore, the above remark applies again.
DiagnosticReport does not have a .performer.role in FHIR R4.
Procedure.performer.function seems to specify the function rather than the role of the performer (e.g. "a neurosurgeon" rather than "the surgeon performing the procedure"). For MedicationAdministration and Immunization, .performer.function seem to match the zib concept better.

Thanks, I indeed missed some of those notes... I tried to incorporate them in the above table overview.

Update: seems like most big hospitals register this concept for Procedures, Encounters and EpisodeOfCare. Therefore I wonder if this concept is actually applicable for all HCIMs in the list above. For example, is the HealthProfessionalRole applicable for the MedicationContraIndication author...

Pull request #55 zou dit issue moeten oplossen.

FHIR Core allows for further definition of the type of participation/performer/author, but not everywhere. This seems to align with normal practice. Not every participation needs HealthProfessionalRole /ZorgverlenerRol.
So agree with Ardon to only use the .role/.function when available in the resource. Note that in http://hl7.org/fhir/R4/valueset-participant-role.html connected to CareTeam.participant.role for example, a case manager is actually represented albeit using the some extension of SNOMED CT.


Freezes on neovim due to recent commit

vim or neovim?

[ ] vim
[x ] neovim

Output of vim --version or nvim --version:
NVIM v0.4.0-442-gedc3c4be5
Build type: Debug
LuaJIT 2.0.5
Compilation: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector
-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/Users/svermeulen/Projects/Ave/neovim/build/config -I/Users/svermeulen/Projects/Ave/neovim/src -I/Users/svermeulen/Projects/Ave/neovim/.deps/usr/include -I/Library/Frameworks/
Mono.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Users/svermeulen/Projects/Ave/neovim/build/src/nvim/auto -I/Users/svermeulen/Projects/Ave/neovim/build/include
Compiled by<EMAIL_ADDRESS>
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/share/nvim"
Run :checkhealth for more info

Output of :echo has("python"):  1
Output of :echo has("python3"):  1
Output of :echo &pythondll(only vim, not neovim):
Output of :echo &pythonthreedll(only vim, not neovim):
Output of :py print(sys.version):  2.7.10 (default, Feb 22 2019, 21:17:52)
Output of :py3 print(sys.version): 3.7.2 (default, Feb 12 2019, 08:15:36)
Output of :echo g:Lf_Debug_Cmd:  rg --no-messages --files --color never  -g '!.svn' -g '!.git' -g '!.hg' -g '!*.meta' -g '!*.lua' -L --hidden
Output of :echo g:Lf_FilesFromCache:  1
Operating system:

[ ] Linux
[ x] Mac OS X
[ ] Windows
[ ] Etc.

Configurations related to LeaderF in vimrc:

    let g:Lf_UseVersionControlTool = 0
    let g:Lf_ShowHidden = 1
    let g:Lf_FollowLinks = 1
    let g:Lf_CommandMap = {
            \ '<C-K>': ['<C-O>'],
            \ '<DOWN>': ['<C-J>'],
            \ '<UP>': ['<C-K>'],
            \ '<C-F>': ['<C-N>'],
            \ '<C-U>': ['<C-W>', '<c-u>'],
            \ '<C-R>': [],
            \ '<F5>': ['<C-R>'],
            \ '<home>': ['<c-f>'],
            \ '<left>': ['<c-h>'],
            \ '<right>': ['<c-l>'],
            \ '<tab>': ['<c-d>']
            \ }

    if has('win32')
        let g:Lf_CommandMap['<C-J>'] = ['<C-F14>']
        let g:Lf_CommandMap['<C-H>'] = ['<C-F7>']
        let g:Lf_CommandMap['<end>'] = ['<s-f3>']
    else
        let g:Lf_CommandMap['<C-J>'] = ['<D-A>']
        let g:Lf_CommandMap['<C-H>'] = ['<D-M>']
        let g:Lf_CommandMap['<end>'] = ['<C-;>']
    endif

    let g:Lf_WildIgnore = {
        \ 'dir': ['.svn', '.git', '.hg'],
        \ 'file': ['*.meta', '*.lua']
        \}

Describe your question, feature request, or bug.
Freezes after typing a few characters after executing Leaderf file --reverse DIR
Steps to reproduce
Execute Leaderf file --reverse Dir then type 2 characters
Actual behaviour
Freezes
Expected behaviour
Should not freeze
I found this started happening with commit 51bd00b.  If I go to the one before that it works again

Is it terminal vim or macvim?

Got it. It is neovim, so it's terminal vim.

neovim-qt

Does this issue happen on terminal neovim?

I tried upgrading neovim to master (I've been building it myself) and the problem disappeared.  So I guess it was a neovim issue.


Setting up external control plane in AWS EKS and running into errors

I am trying to set up an external control plane in EKS with a remote cluster in a different VPC. I would like some clarification on the following two points mentioned in the documentation: https://istio.io/latest/docs/setup/additional-setup/external-controlplane/

What would be SSL_SECRET_NAME be set to in this environment? Is it a self-signed certificate as described in https://istio.io/latest/docs/tasks/traffic-management/ingress/secure-ingress/ ? I have tried doing this however the remote cluster ingress complains of unknown CA - which is valid because it does not have the root CA set. Or is this the secret that could be created by plugging in a different CA following: https://istio.io/latest/docs/tasks/security/cert-management/plugin-ca-cert/ ?

What is the significance of
proxyMetadata:
XDS_ROOT_CA: /etc/ssl/certs/ca-certificates.crt
CA_ROOT_CA: /etc/ssl/certs/ca-certificates.crt in the remote control plane and external control plane configuration?
Is this a constant that is known to exist in an environment and will it apply to AWS EKS?

I haven't had much success in setting this up with the TLS termination happening at the ingress in the external control plane. I also tried a TLS passthrough configuration at the external control plane's ingress gateway - however then I ran into an error during Istio proxy injection in the remote cluster replica set:
Warning  FailedCreate  8m43s (x18 over 19m)  replicaset-controller  Error creating: Internal error occurred: failed calling webhook "sidecar-injector.istio.io": Post https://xxxxxx-xxxx.us-west-2.elb.amazonaws.com:15017/inject?timeout=30s: x509: certificate signed by unknown authority.
Any pointers are much appreciated. I think that the documentation could be updated to clarify the requirements better such as generation of TLS certs and where to set them i.e., in what namespace in the external cluster since there are two control planes in the external cluster - one to control the istio-ingress, and the other to control the remote cluster.

These are my configurations with TLS passthrough from remote cluster to external cluster. The istiod in external cluster is running and can connect to the remote cluster. The ingress gateway in remote cluster is running too. However proxy injection fails for all pods.
Remote/Config cluster:
`apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
namespace: external-istiod
spec:
profile: remote
meshConfig:
rootNamespace: external-istiod
defaultConfig:
discoveryAddress: xxx.us-west-2.elb.amazonaws.com:15012
controlPlaneAuthPolicy: MUTUAL_TLS
components:
pilot:
enabled: false
istiodRemote:
enabled: true
values:
global:
caAddress: xxx.us-west-2.elb.amazonaws.com:15012
istioNamespace: external-istiod
meshID: mesh1
multiCluster:
clusterName: xxx.us-west-2.eksctl.io
istiodRemote:
injectionURL: https://xxx.us-west-2.elb.amazonaws.com:15017/inject
base:
validationURL: https://xxx.us-west-2.elb.amazonaws.com:15017/validate`
External control plane:
apiVersion: install.istio.io/v1alpha1 kind: IstioOperator metadata:   namespace: external-istiod spec:   meshConfig:     rootNamespace: external-istiod     defaultConfig:       discoveryAddress: xxx.us-west-2.elb.amazonaws.com:15012       controlPlaneAuthPolicy: MUTUAL_TLS   components:     base:       enabled: false     ingressGateways:     - name: istio-ingressgateway       enabled: false   values:     global:       caAddress: xxx.us-west-2.elb.amazonaws.com:15012       istioNamespace: external-istiod       operatorManageWebhooks: true       meshID: mesh1       multiCluster:         clusterName: xxx.us-west-2.eksctl.io      pilot:       env:         INJECTION_WEBHOOK_CONFIG_NAME: ""         VALIDATION_WEBHOOK_CONFIG_NAME: ""
Gateways/VSs:
`
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: external-istiod-gw
namespace: external-istiod
spec:
selector:
istio: ingressgateway
servers:
- port:
number: 15012
protocol: tls
name: tls-XDS
tls:
mode: PASSTHROUGH
hosts:
- xxx.us-west-2.elb.amazonaws.com
- port:
number: 15017
protocol: tls
name: tls-WEBHOOK
tls:
mode: PASSTHROUGH
hosts:
- xxx.us-west-2.elb.amazonaws.com
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: external-istiod-vs
namespace: external-istiod
spec:
hosts:
- xxx.us-west-2.elb.amazonaws.com
gateways:
- external-istiod-gw
tls:
- match:
- port: 15012
sniHosts:
- xxx.us-west-2.elb.amazonaws.com
route:
- destination:
host: istiod.external-istiod.svc.cluster.local
port:
number: 15012
- match:
- port: 15017
sniHosts:
- xxx.us-west-2.elb.amazonaws.com
route:
- destination:
host: istiod.external-istiod.svc.cluster.local
port:
number: 443
Ingress gateway in istio-system namespace of external cluster:
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
namespace: istio-system
spec:
components:
ingressGateways:
- name: istio-ingressgateway
enabled: true
k8s:
service:
ports:
- port: 15021
targetPort: 15021
name: status-port
- port: 15012
targetPort: 15012
name: tls-xds
- port: 15017
targetPort: 15017
name: tls-webhook
The mutating webhook configuration in remote cluster shows an empty caBundle:
webhooks:

admissionReviewVersions:

v1beta1
v1
clientConfig:
url: https://xxx.us-west-2.elb.amazonaws.com:15017/inject
failurePolicy: Fail
matchPolicy: Exact
name: sidecar-injector.istio.io
namespaceSelector:
matchLabels:
istio-injection: enabled
objectSelector: {}
reinvocationPolicy: Never
rules:
apiGroups:

""
apiVersions:
v1
operations:
CREATE
resources:
pods
scope: '*'
sideEffects: None
timeoutSeconds: 30

`
kubectl describe rs helloworld -n foo
Name:           helloworld-v1-5b75657f75
Namespace:      foo
Selector:       app=helloworld,pod-template-hash=5b75657f75,version=v1
Labels:         app=helloworld
pod-template-hash=5b75657f75
version=v1
Annotations:    deployment.kubernetes.io/desired-replicas: 1
deployment.kubernetes.io/max-replicas: 2
deployment.kubernetes.io/revision: 1
Controlled By:  Deployment/helloworld-v1
Replicas:       0 current / 1 desired
Pods Status:    0 Running / 0 Waiting / 0 Succeeded / 0 Failed
Pod Template:
Labels:  app=helloworld
pod-template-hash=5b75657f75
version=v1
Containers:
helloworld:
Image:      docker.io/istio/examples-helloworld-v1
Port:       5000/TCP
Host Port:  0/TCP
Requests:
cpu:        100m
Environment:
Mounts:
Volumes:
Conditions:
Type             Status  Reason

ReplicaFailure   True    FailedCreate
Events:
Type     Reason        Age                From                   Message

Warning  FailedCreate  8s (x13 over 28s)  replicaset-controller  Error creating: Internal error occurred: failed calling webhook "sidecar-injector.istio.io": Post https://xxx.us-west-2.elb.amazonaws.com:15017/inject?timeout=30s: x509: certificate signed by unknown authority
Anything that I am missing?
The ingress gateway in remote cluster is up and istiod is running in the external control plane.

cc @shankgan for the CA related questions.

@shankgan appreciate your comments for this problem. Thanks!
I have another data point - I tried the above in GKE too, and the mutating webhook configuration has an empty caBundle again, so we are seeing the same error: "x509: certificate signed by unknown authority" during pod deployment.
Auto Sidecar injection does not work for namespaces in the remote cluster. However I was able to manually add sidecars to pods - which is not desirable.

@lei-tang - could you redirect this to someone who has experience with the external istiod configurations? possibly @howardjohn or @linsun
@ptembey-jnpr - not sure if the TLS passthrough approach will work. The XDS_ROOT_CA and CA_ROOT_CA environment variables are the path for the CA certificates used by the workloads on the "remote-cluster" to access the external-istiod via the ingress gateway. Could you check if the workload deployment manifests (in the remote-cluster) have mounted any  volumes (backed by configmaps/secrets) onto the location "/etc/ssl/certs" ?
If not, just for testing, when you follow the steps to create self-signed certificates for the ingress gateway (https://istio.io/latest/docs/tasks/traffic-management/ingress/secure-ingress/ ) could you load the ca certificate from step 1 into a kubernetes configMap and mount that onto  and   /etc/mounted_dir/ca.crt and configure this to be the XDS_ROOT_CA && CA_ROOT_CA?

Redirected to @linsun.

Thanks @shankgan for the pointers.
I was able to get my setup working - however I needed to add a few changes.

I created a config map with our custom root certificate in the remote cluster 'external-istiod' namespace.
In the Istio Ingress gateway configuration of remote cluster, I had to patch the deployment with a mount configuration to mount the config map using k8s overlays of Istio Operator
I then modified the MutatingWebhookConfiguration in remote-cluster to include the base64 encoding of the root certificate in its clientconfig 'caBundle'. -> This fixed the auto-injection of the envoy proxy as a sidecar.
I then modified the istio-sidecar-injector config map to include the mount configuration in the Envoy proxy sidecar template ( similar to patching the deployment of Istio ingress ). -> This solved the problem of the envoy sidecar trusting the remote certificate and coming up.

For points 3 and 4, could configuration override options be added to the Istio operator YAML config so we can customize the webhook configuration's caBundle ( we can only change the injectionURL today), and the istio-sidecar-injector's injection template to include additional external certs for the path: /etc/ssl/certs/<>.crt in CA_ROOT_CA and XDS_ROOT_CA ? This will help with configuring all things in remote cluster from one place in the Istio operator config instead of having to change the config maps after deployment.

Please re-open. As is stands today, there is still an issue and is not called out in the documentation: https://istio.io/latest/docs/setup/additional-setup/external-controlplane/

@digitalsanctum i've created a script to do this in kind environment, the issues you described exists with basically any cluster and I do not think it is AWS specific. Please look at the script here. https://github.com/litong01/multicluster-istio/blob/main/do-external-control-plane.sh. The key is that when you setup external control plane (not the one for ingress), you need to specify the webhook configuration name like what I have in the script:
        env:
        - name: INJECTION_WEBHOOK_CONFIG_NAME
          value: "istio-sidecar-injector-${ISTIO_NAMESPACE}"
        - name: VALIDATION_WEBHOOK_CONFIG_NAME
          value: "istio-validator-${ISTIO_NAMESPACE}"
        - name: EXTERNAL_ISTIOD
          value: "true"
        - name: CLUSTER_ID
          value: ${CLUSTER2_NAME}
        - name: SHARED_MESH_CONFIG
          value: istio

Have external_istiod , cluster_id, shared_mesh_config there for you to see where the injection webhook config should be set to. In my case, the ISTIO_NAMESPACE is external_istiod, but you can have your own namespace. With this setting, the external control plane will try to inject the caBundle into your webhooks in the config cluster, you can also inspect the webhook configuration, this way, when config cluster send request to external control plane, it will not cry about the unknown certs. I wished that the document be reworked on. Please reopen if you feel this has to be fixed on.

@litong01 Thanks for the script and detailed response. I see this as a workaround and seems to fill a gap of the documentation.
As a consumer of the documentation, I would expect to have a working example from the step by step process. I still think it makes sense to re-open this issue or create a new one.

@digitalsanctum  do you resolve this, i have the same question.

Thanks @shankgan for the pointers.
I was able to get my setup working - however I needed to add a few changes.

I created a config map with our custom root certificate in the remote cluster 'external-istiod' namespace.
In the Istio Ingress gateway configuration of remote cluster, I had to patch the deployment with a mount configuration to mount the config map using k8s overlays of Istio Operator
I then modified the MutatingWebhookConfiguration in remote-cluster to include the base64 encoding of the root certificate in its clientconfig 'caBundle'. -> This fixed the auto-injection of the envoy proxy as a sidecar.
I then modified the istio-sidecar-injector config map to include the mount configuration in the Envoy proxy sidecar template ( similar to patching the deployment of Istio ingress ). -> This solved the problem of the envoy sidecar trusting the remote certificate and coming up.

For points 3 and 4, could configuration override options be added to the Istio operator YAML config for "istiodRemote" section so we can customize the webhook configuration's caBundle ( we can only change the injectionURL today), and the istio-sidecar-injector's injection template to include additional external certs in its mount config for the path: /etc/ssl/certs/<>.crt in CA_ROOT_CA and XDS_ROOT_CA ? This will help with configuring all things in remote cluster from one place in the Istio operator config instead of having to change the config maps after deployment.

Hi,can you share your  points 4


how to find the element for input

when I clicked an input element, how to find it so i can use e.settext() afterwards?

You do not need to find it. Just use session.send_keys instead


OpenCV3 SimpleBlobDetector compatibility issue

Running endocal-test with OpenCV3 leads to
Traceback (most recent call last):
  File "/usr/local/bin/endocal-test", line 7, in <module>
    from endocal import test
  File "/usr/local/lib/python2.7/site-packages/endocal/__init__.py", line 9, in <module>
    import calibration
  File "/usr/local/lib/python2.7/site-packages/endocal/calibration.py", line 1, in <module>
    from cv2 import findCirclesGrid, SimpleBlobDetector,\
ImportError: cannot import name SimpleBlobDetector

Replacing SimpleBlobDetector by SimpleBlobDetector_create for OpenCV3 solves the problem.

Depends on #11 (in case different OpenCV implementations provide different APIs)


Fix the formatting of AUTO expansions

AUTO expansions currently do not follow formatting settings. This results in the formatter and AUTO expansion modifying each other's outputs. Not a great experience for the user, with text constantly being moved around.
This patch mostly fixes the formatting of AUTO expansion output. It makes AUTO expansion follow the Verible formatter rules. It's not perfect, as the user might not be using the formatter, but it's better than not being consistent with it. Also, not everything in the format style is supported yet: it doesn't follow alignments of port connections and module nets.
This PR also adds formatting and syntax checking to the AUTO expansion test.

Codecov Report
Base: 93.00% // Head: 92.99% // Decreases project coverage by -0.02% :warning:

Coverage data is based on head (12d1adb) compared to base (7082de6).
Patch coverage: 84.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1734      +/-   ##
==========================================
- Coverage   93.00%   92.99%   -0.02%
==========================================
  Files         352      352
  Lines       25501    25513      +12
==========================================
+ Hits        23718    23726       +8
- Misses       1783     1787       +4

Impacted Files
Coverage Δ

verilog/tools/ls/autoexpand.cc
96.21% <84.00%> (-0.63%)
:arrow_down:

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

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

Pushed fixes for your comments. I'm working on actually using the formatter on the expanded code, but this can be merged for now if you're OK with this changeset.


added elixir messages code

Cucumber messages protobuf implementation in Elixir.
Note: for now hardcoded json serializer (at the moment only messages used in gherkin parser are supported)

Hi @WannesFransen1994!
I've made a few improvements to the Makefile. In order to be compatible with the release process we need to implement some additional targets.
Could you have a look at the TODOs in the Makefile and fix them if you know how? You know how mix and hex work :-) Just let me know if anything seems hard - especially about updating version numbers.


Throwing a TypeError when input isn't string

How about throwing a TypeError when input isn't a string? Currently getSymbolFromCurrency(1) returns undefined, but it seems very likely that it would only be due to programmer error that something non-string was submitted.
I'd be happy to submit a PR if you want it 🙌

it would only be due to programmer error

it could also be bad data retrieved from the database! I intentionally return undefined rather than throwing so that the programmer doesn't have to catch errors. As a user you can opt in to checking undefined, but you can't opt out of try/catch. Thanks for the suggestion though :)


Model isn't loaded from file

Love what you've done with the python snake stuff, but i've noticed if you run the ai again, it doesn't use what it's already learnt and start from there again. Is there an easy way to get this implemented? I'm not great at python but i'd be happy to give it a go if i'm pointed in the right direction?

I had this same question, just commenting to see if an answer is every provided

You can save what the AI has learned in a folder somewhere and reuse that contents when train() begins again.

I made a code entirely based on this repository.
It includes this functionality.
Maybe it helps: https://github.com/flaviolsousa/ping-pong-ia/blob/main/classes/model/model.py

I made a code entirely based on this repository. It includes this functionality. Maybe it helps: https://github.com/flaviolsousa/ping-pong-ia/blob/main/classes/model/model.py

I tried by loading state dict but still it performs poorly (starts learning from scratch everytime its ran)

I made a code entirely based on this repository. It includes this functionality. Maybe it helps: https://github.com/flaviolsousa/ping-pong-ia/blob/main/classes/model/model.py

I tried by loading state dict but still it performs poorly (starts learning from scratch everytime its ran)

you can delete "if random.randint(0, 200) < self.epsilon" in agent.py.


dumpprivkey <6fdc546d-62a6-49ef-95a3-abdc8f8e1fb0>

dumpprivkey <1PhRyhGwNToV3F7pVQ8Wmjy44brTPmrcD5>

bitcoin.conf

Sorry I'm not quite sure what the issue is? Could you please explain your issue a bit more.


Scalafix: enhancements

Fixes #2279 and now the fix is more robust due to the fact that we match to http4s symbols
Adds BlazeServerBuilder fix (#2285)
Refactors fixes from unapply to apply (internal)
Fixes MessageSyntax withBody
Instead of renaming the ResponseCookie to cookie in the import, renames it everywhere so it's clearer in the code

Yeah right, go for it then :)


Helm doesn't validate pattern correctly

Output of helm version:
version.BuildInfo{Version:"v3.5.4", GitCommit:"1b5edb69df3d3a08df77c9902dc17af864ff05d1", GitTreeState:"dirty", GoVersion:"go1.16.3"}

Output of kubectl version:
Does not apply
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
Does not apply
Using the following values.schema.json, which can be validated on https://www.jsonschemavalidator.net, helm lint . fails
{
  "$schema": "http://json-schema.org/draft-07/schema",
  "properties": {
    "ip": {
      "type": "string",
      "pattern": "^((25[0-5]|(2[0-4]|1[0-9]|[1-9]|)[0-9])(\\.(?!$)|$)){4}$"
    }
  }
}

Helms error message is;
pattern must be a valid regex

The pattern itself can be verified online; https://regexr.com/5rmoo

Helm utilizes https://github.com/xeipuuv/gojsonschema/ as the JSON Schema library used to load and validate JSON Schemas. If there are issues with loading and validating certain schemas, I would suggest opening tickets there.
https://github.com/xeipuuv/gojsonschema/issues/93 might be relevant to your issue, for example.
For reference, here is the extent of Helm's schema validation code: https://github.com/helm/helm/blob/43853ea772e779b617b011a8d4e69205636fa4f9/pkg/chartutil/jsonschema.go#L70-L73

Mh, that's unfortunate, especially because the other issue is so old

xeipuuv/gojsonschema#232
This is the reason for the regular library, I think it is not a bug
If you use Golang's Standard Library, you will get an error.
_, err := regexp.Compile("^((25[0-5]|(2[0-4]|1[0-9]|[1-9]|)[0-9])(\\.(?!$)|$)){4}$")
// err.Error():
// error parsing regexp: invalid or unsupported Perl syntax: `(?!`

@bacongobbler what do you think

Please file tickets upstream. Once a fix has been applied we can fetch the fix in the next update with go.mod. Thanks!


Reduce allocations for gateway queue

The nested inner Box is not needed at all since Arc can hold dyn Trait objects by itself.

Thanks

Shouldn't this be documented as a breaking change in the Github release notes?

Shouldn't this be documented as a breaking change in the Github release notes?

Yes, it should be. We will be able to add them as soon as Sunday.


How to package a ipa after obfusca ?

Dear
I am try to using this lib to obfusca my dotnet6.iOS project .
I can do it with this "obfuscar.console Obfuscar.xml".

This can generate a new dll, (On mac ,I don't find the exe file to obfusca..)
My question is how I can package a ipa file with it ?
I try to replace this dll after generate an ipa ,    but faield.
Could you help check the step please ?
I can't find useful info for the iOS on mac.
Many thanks .

Duplicate to #159


changed svgIcon to JSX.element to accept both icons and avatar

Hey, I just made a Pull Request!

Changed the SvgIcon type to JSX.Element to allow instantiation of either Icon or Avatar
:heavy_check_mark: Checklist

[ ] All tests are passing yarn test
[ ] Screenshots attached (for UI changes)
[ ] Relevant documentation updated
[ ] Prettier run on changed files
[ ] Tests added for new functionality
[ ] Regression tests added for bug fixes

Fails with the following error:
/home/runner/work/backstage/backstage/packages/app/src/components/Root/Root.tsx
69
[yarn start].out: TypeScript error in /home/runner/work/backstage/backstage/packages/app/src/components/Root/Root.tsx(81,25):
70
[yarn start].out: Type 'OverridableComponent<SvgIconTypeMap<{}, "svg">>' is not assignable to type 'Element'.  TS2322
71
[yarn start].out:
72
[yarn start].out:     79 |       <SidebarSpacer />
73
[yarn start].out:     80 |       <SidebarDivider />
74
[yarn start].out:   > 81 |       <SidebarItem icon={HomeIcon} to="/" text="Home" />
75
[yarn start].out:        |                         ^
76
[yarn start].out:     82 |       <SidebarItem icon={AccountCircle} to="/login" text="Login" />
77
[yarn start].out:     83 |       <SidebarDivider />
78
[yarn start].out:     84 |       <SidebarSpace />

Discussed this a bit more today, along with the initial approach in https://github.com/spotify/backstage/pull/538. I'm thinking it's best we allow the consumers of icons to be responsible for the styling / layout of them.
We discussed the possibility of converting avatar urls into icon-compatible components on the fly with a function, which could be interesting to explore.
Another approach that I think would be a bit quicker and unblock you is to create a SidebarAvatarItem component for use with avatars.

Discussed this a bit more today, along with the initial approach in #538. I'm thinking it's best we allow the consumers of icons to be responsible for the styling / layout of them.
We discussed the possibility of converting avatar urls into icon-compatible components on the fly with a function, which could be interesting to explore.
Another approach that I think would be a bit quicker and unblock you is to create a SidebarAvatarItem component for use with avatars.

Speaking explicitly regarding having an avatar for authentication, a whole component just for the having a picture instead of a "user icon" seems a bit of an over kill? especially when there is a  by simply passing a url which would act as a flag to override the user icon, and replace it with the user avatar. Unless there is more to it?

@majd-asab The profile item is likely gonna be expanded to support multiple oauth providers, and settings/help/about menus. Having a separate component for that is gonna be needed anyway.

Hi! What's the status of this? Could we help you in any way?

Maybe this PR is replaced by https://github.com/spotify/backstage/pull/589
Should we close?

Closing for now. Let us know if you disagree 😏