Mccalluc/partonomy index error

Fix #244

@yuanzhou - It looks like tests have been broken on this branch for several commits. That shouldn't have happened, but this fixes it.

@mccalluc thanks for quick fix! Regarding the failed CI test, couple things to clarify:

the src/requirements.txt is the one should be used by CI build, because it installs the specified commons branch via COMMONS_BRANCH (https://github.com/hubmapconsortium/search-api/blob/test-release/src/requirements.txt#L9)
the src/requirements_dev.txt is only used by developers who want to experiment locally using the local version of commons (many cases are they make changes in commons too, so use a local version instead of installing the github branch). That's why I removed this from the CI: https://github.com/hubmapconsortium/search-api/commit/c4a96ed33dde8984f104feb62c68a403d1a0bae9#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485

Two things to consider and discuss:

Should we use test-release branch of commons instead of the master branch in CI? https://github.com/hubmapconsortium/search-api/blob/test-release/.travis.yml#L6 considering the test-release is the default branch now, and the master branch is the released version that may not contain new features and bug fixes needed for the build.
We may want to create a new CI dependency install file, requirements_ci.txt and put flake8 and other dependencies only used by CI tests, and add to the install section in addition to the requirements.txt install: https://github.com/hubmapconsortium/search-api/blob/test-release/.travis.yml#L8

Should we use test-release branch of commons instead of the master branch in CI?

I would vote for neither of the above: I believe dependencies should be pinned to explicit version numbers. (Dependencies in libraries are different: they need to specify the range they can work with.) If tests pass in a particular repo at a particular version, they should continue to pass, and not start failing because HEAD on a different repo introduced a breaking change.
This would obviate #238 entirely: It would just work like any other dependency.

We may want to create a new CI dependency install file

Typically, dev or ci dependencies are specified in addition to the base requires.txt: right now, requires.txt is copied over, with the (weird) commons dependency tweaked. Besides being a non-standard practice, it means that these may drift out of sync over time, because developers see one version of a dependency, but it's being deployed or tested with another version.
Let's not continue this discussion in this PR.

@mccalluc My bad, I just realized the old requirements-dev.txt is different from the requirements_dev.txt used in other repos. Fixed that in the test-release branch and appended the fixes to this PR. Sorry about not paying too much attention to the differences.


Question: best way to repeat terraform module testing with different sets of variables

Often we create modules that behave differently depending on combinations of inputs, and it's important to test all of them to make sure things behave as intended.
For example, we have a Route53 alias module that supports supplying of either dns_zone_id or dns_zone_name.
Following Terratest examples, we have a testing code that does ApplyAndIdempotent() (great function by the way), following by some DNS lookups at the end to validate it even further.
How would we best handle repeating the testing, in this example, one time with dns_zone_id, and other time with dns_zone_name, without repeating a bunch of code?
Do we just put the relevant testing logic into a function and iterate over variable sets? This question comes out of ignorance of Golang, but I hope someone can give us some pointers for best practices. Thanks!
func TestR53Example(t *testing.T) {

	// Generate a unique suffix to use for test resources
	uniqueId := random.UniqueId()
	aliasName := fmt.Sprintf("terratest-alias-%s", uniqueId)
	elbName := fmt.Sprintf("terratest-elb-%s", uniqueId)

	sess, err := session.NewSession()
	if err != nil {
		fmt.Println("failed to create session,", err)
		return
	}

	svc := elb.New(sess)

	elbFQDN := createMockResources(t, svc, elbName)

	defer cleanupMockResources(t, svc, elbName)

	opts := &terraform.Options{
		TerraformDir: "../example",
		Vars: map[string]interface{}{
			"alias_name":   aliasName,
			"alias_target": elbFQDN,
		},
	}

	defer terraform.Destroy(t, opts)

	// You can also use InitAndApply()
	terraform.Init(t, opts)

	// This makes sure there are no changes between 2 Terraform runs
	terraform.ApplyAndIdempotent(t, opts)

	r53AliasFqdn := terraform.OutputRequired(t, opts, "alias_fqdn")

	// It seems that Google's DNS is allowed outbound on our network
	nameServers := []string{"<IP_ADDRESS>", "<IP_ADDRESS>"}
	dnsQuery := dns_helper.DNSQuery{"A", r53AliasFqdn}

	lookupResults, err := dns_helper.DNSLookupAuthoritativeWithRetryE(t, dnsQuery, nameServers, 20, time.Duration(10)*time.Second)

	if err != nil {
		fmt.Printf("DNS lookup failed: %s", err)
	}

	if parsedIP := net.ParseIP(lookupResults[0].Value); parsedIP == nil {
		fmt.Printf("IP for alias not retrieved from DNS: %s\n", err)
	} else {
		fmt.Printf("Succesfuly retrieved an IP Address %s for ELB.\n", lookupResults[0].Value)
	}
}

I solved this by simply having multiple .tfvars files in a directory. Then I moved the Terraform testing steps into a function, which then iterates over the list of files, naming each run after the filename. That way additional test cases can easily be added, even by users who might now be familiar with Terratest.


Bug: GQL API not present after restart if no network is configured

Seems to have missed our tests because we use a network in the tests
Reproduce

Run weaviate without network
Import a schema
Verify that GQL works
Restart weaviate

Expected
GQL should still work
Actual
We get an error message that no schema is present and GQL can't be provided

That's some quick fixing :-)

As it should be on a blocker :)

Fixed in 0.14.3 (commit accidentally tagged with #980 instead of of #890)


The one issue with skelly: buttons dont line up with text

The one thing I'm struggling with is text,buttons,icons when floated next to eachother do not line up at all vertically. Else, its a very nice framework thanks a lot.
Example: http://i.imgur.com/Akil1B2.png

Hello

Foo

  <button class=button style="float:left;margin-left:10px;">bar baz</button>

Unrelated suggestion also would be to add columns layout along with rows

p { display: inline; } That should solve the problem. And thats no issue. It is your own mistacke because
 displayed never inline. Use span or somehting else


Increase the number of tests for each existing unit test

Issue Summary
For the following tests, we should increase coverage by adding tests for failure cases, edge cases, different types of valid inputs, etc.

https://github.com/sendgrid/sendgrid-php/blob/master/test/unit/KitchenSinkTest.php
https://github.com/sendgrid/sendgrid-php/blob/master/test/unit/MailHelperTest.php
https://github.com/sendgrid/sendgrid-php/blob/master/test/unit/MultipleEmailToMultipleRecipientsTest.php
https://github.com/sendgrid/sendgrid-php/blob/master/test/unit/SendGridTest.php
https://github.com/sendgrid/sendgrid-php/blob/master/test/unit/SingleEmailToASingleRecipientTest.php
https://github.com/sendgrid/sendgrid-php/blob/master/test/unit/SingleEmailToMultipleRecipientsTest.php

Did some first work on this but also have a question / point for discussion:
Some of the Testcases in there look more like an integration, behaviour or 'set of features'-test to me.
Wouldn't this folder, being for unittests, normally include like ClassnameTest.php for all the classes inside /lib/ and test only the methods of a single file at a time / mock out external stuff.
Just like the MailHelperTest which I looked through?
So to get the coverage and quality desired it should be more like adding simple but plentiful tests for every single class and not just extend the current ones, or am I missing something?

Since there has been no activity on this issue since March 1, 2020, we are closing this issue. Please feel free to reopen or create a new issue if you still require assistance. Thank you!


Using IO6 for INT2 on RAK12034 WisBlock 9-Axis Accelerometer Module?

Hello,
is it possible to use IO6 for the second interrupt of the WisBlock 9-Axis Accelerometer Module (RAK12034 )?

Yes, why not?


vlan: migrate harvester-mgmt to mgmt-br and mgmt-bo

Migrate harvester-mgmt to mgmt-br and mgmt-bo
It will be executed before cos-setup-initramfs.service
Signed-off-by: Date Huang<EMAIL_ADDRESS>

Will the system fail to boot if the exit status of /usr/sbin/migration.sh is not 0?

Will the system fail to boot if the exit status of /usr/sbin/migration.sh is not 0?

It will fail boot if Pre command is fail.

Should I ignore the migration script error and force execute cos-setup-initramfs?

It seems not to work. After upgrading the image and rebooting, the content in /oem/ is still the same.
If I run the script /usr/sbin/migration.sh manually, the /oem/99_custom.yaml file does changes.
Please also back up the original file to a safe place.

I also see a custom bonding device (harvester-vlan) not being migrated, is this expected?
The original configuration:
  networks:
    harvester-mgmt:       # (Mandatory) The management bond name.
      interfaces:
      - name: ens5
      default_route: true
      method: dhcp
      bond_options:
        mode: balance-tlb
        miimon: 100
    harvester-vlan:       # (Optional) The VLAN network bond name. If VLAN NIC names vary from
      interfaces:         # host to host, consider creating a bonding device. Users can then select
      - name: ens6        # `harvester-vlan` as the VLAN network NIC in the Harvester GUI.
      method: none
      bond_options:
        mode: balance-tlb
        miimon: 100

The original custom file:
    - path: /etc/sysconfig/network/ifcfg-harvester-vlan
      permissions: 384
      owner: 0
      group: 0
      content: |+
        STARTMODE='onboot'
        BONDING_MASTER='yes'
        BOOTPROTO='none'

        BONDING_SLAVE_0='ens6'

        BONDING_MODULE_OPTS='miimon=100 mode=balance-tlb '

        DHCLIENT_SET_DEFAULT_ROUTE='no'

      encoding: ""
      ownerstring: ""

It seems not to work. After upgrading the image and rebooting, the content in /oem/ is still the same. If I run the script /usr/sbin/migration.sh manually, the /oem/99_custom.yaml file does changes.
Please also back up the original file to a safe place.

Let me check it

I also see a custom bonding device (harvester-vlan) not being migrated, is this expected?

This is expected.
This part should be new VLAN config.

[x] backup script before patching
[x] it will be executed before cos-setup-initramfs.service.

Hope to be merged after 1.1.0 rc1 and before 1.1.0 rc2.


Programatically select the row in ng-grid

Hi,
Am refreshing an ng-grid on every 5 seconds. I am getting the data from the server on an interval of every 5 seconds.
setInterval(function () {
$scope.$apply(function (){
$http.get('http://www.w3schools.com/website/Customers_JSON.php').success(function(thisdata) {
//Convert data to array.
$scope.myData = angular.fromJson(thisdata);
}
});
}, 5000);
Suppose i select a row, after 5 seconds the grid is reloaded, i want to keep the selection as is. Or make it select the same row again programatically. on select of row am performing other actions. Am trying to get the row index on select of a row and storing it in a variable. After refresh am using $scope.ngGrid.selectRow(selectedRowIndex, true) to make it select. But it seems to be selecting the row but not visible in UI. how make it look selected in UI as well.

Without seeing the plunker of the whole it's hard to say, but the most common issue people have is selecting the row before the grid has had a chance to ingest the data - so if you are setting the data then setting the selection, you need to put one or two (can't remember which) timeouts before the selection.  The selection tutorial I think does exactly this, so check there.

Hi Paul,
Adding the delay worked fine for me.. We can close this. Thanks


Updated react-native-drawer styles property

[Base] - Fixed bug in Drawer Styles

Ignite Base Change

[x ] Works on iOS/Android/XDE
[ x] Tests Pass (run: npm run test)
[ x] Code is StandardJS compliant (run: npm run lint)

'react-native-drawer' calls it style property styles.
(see: https://github.com/root-two/react-native-drawer)

excellent find! 👍


[EDA] - Reciprocal Method Picklist Translation Fix

Note: FOR INTERNAL USE ONLY. For support questions, please use the EDA Chatter group in The Power of Us Hub.
For feature requests, please use the Ideas tab in The Power of Us Hub.

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
The values in Reciprocal Method tab of EDA settings->Relationships->Settings for Reciprocal Method picklist values are hard coded and don't get translated.

What is the expected behavior?
The values should be translated when using different languages

What is the motivation / use case for changing the behavior?
localization

Acceptance Criteria

Given: When I am on EDA settings->Relationships->Settings->
When: When I see the Reciprocal Method picklist values and when I am using a different locale
Then: I should have the ability to translate the value using translation files

Tracking W-8008266


Add precisions about using aws.s3.bucket with other cloud provider s3 integration

Fixes #3245
Please tell me if anything more needs to be done to update the documentation!
Thanks

This PR merged as part of https://github.com/pulumi/pulumi-aws/pull/3280.


[Feature Request] Removing PWA

Description
Hi,
for my productive site btp.udina.de, i currently saw some users issues with PWA and errors in the console.log.
How can i cleanly disable the plugin for running sites, because just removing the plugin from config does not work, because workbox is still running in clients and waiting for updates.
There is currently no info available on this topic.
How can i deliver code to browsers to unregister the PWA web worker/service worker, so that my vuepress site will be run without it (even for users, that currently have the web workers enabled).
Any help would be appreciated, because currently this blogs some users from updates, sadly without info on this.
Best regards
Holger
Reproduction
The problem was seen in switzerland for live btp.udina.de site, but maybe concerning some company security restrictions.
Used Package Manager
npm
System Info
sadly no access to the users and there browser.

Just need a way of disabling PWA to get rid of this issues.

I will publish a plugin vuepress-plugin-remove-pwa very soon.

Hi,
Thank you very much. That sounds very good. I also tried custom solutions, but nothing worked well.
Since yesterday in Switzerland a client showed me not beeing able to see latest updates, i decided to better disable it for public info sites.
Even the update popup was not recognized by some clients and linking from twitter to new pages was a little bit problematic.
Impatiently awaiting your fix.
Again thank you,
Holger

Track https://github.com/vuepress-theme-hope/vuepress-theme-hope/issues/2452


Hello, is there a generic way to iterate all of the comment, and to know what syntax node it attached to?

there's a test_extractcomments, but it has to deal with detailed struct of the cst, is there any way to get all comment in a file, and to know the syntax it attached to ?

I can restrict fetching comments from certain nodes, so this issue can be closed.


[Talk] Boosted, for orange branded and accessible websites

Description
To support the Orange Dev and Test Days Conferences a talk needs to be prepared to support this subject.
Subtasks

[ ] articulate the content to be presented
[ ] create the powerpoint slides
[ ] create the script of the full presentation
[ ] presentation rehearsals
[x] identify the detailed location of the presentation
[ ] test the material configuration in the destination location
[ ] record the presentation

The conference takes place on October 6 2022, in the Armor amphitheater, from 11:30 a.m. to 12:15 p.m.


VSCODE doesn't respect font settings for editor or terminal

VSCode Version: 1.40.2
OS Version: Windows 10

Steps to Reproduce:

Install Fira Code font from https://github.com/tonsky/FiraCode
Install VSCode, edit settings for editor's and terminal's fontFamily to reflect "Fira Code". Edit settings to enable ligatures.

The settings will haphazardly work sometimes. After every computer restart though, the following screenshot is what the editor looks like.
https://imgur.com/a/0ztcWgF

Does this issue occur when all extensions are disabled?: Yes/No

As you have shown your setting for the font. I think you have to add a pair of ''(quotes) on font name like this "editor.fontFamily": "'Fira Code Retina', Consolas".


[feat] Implement OP_FROMALTSTACK opcode

Implement the OP_FROMALTSTACK opcode using the opcodeFromAltStack reference implementation from btcd
References
Guide on how to add an opcode in shinigami

I would like to take this. The approach is lean check the btcd impl in go and port in Cairo according to the guide provided

Awesome! Welcome to the project, let me know if you have any questions or issues. 🍎


Under water speed

When CJ dives to underwater his movement speed still effected by framerate.

Closed, missed the line dive fix was added.

Actually there's one issue with under water. CJ sinking in underwater. (Tested at 240FPS)

https://github.com/GTAmodding/FramerateVigilante/commit/9b8fc349b647d5c190d93ab4f606b163771953a6 fixes this


add completion for instance/class variables

Motivation

More features in the IDE.
Test plan

See included automated tests.

This is not perfect, but it's at least an improvement on the current situation.
My (possibly Stripe-influenced) perspective on 7366d6b is that accessing superclass instance/class variables from a subclass is uncommon and so it's not worth worrying about this limitation unless somebody complains.


Add code-wide switch for PyTorch support

Currently we force users to install both JAX and PyTorch to gain access to either. We should add a switch with optional dependencies to reduce the requirement overhead.

Hi @CosmoMatt, is there any plan to work on that in the near future? I am be happy to help if you have any interest in a pull request.

Hey @lgrcia so this is something we've been wondering about internally, mainly from an implementation point of view (i.e. whether to wrap the JAX backend or just translate it outright). I suspect either approach should be relatively straightforward, but we don't have the time currently to do it. If you are interested in doing this we're of course more than happy for a PR! If you have any specific questions definitely post here and I'll try to follow up.


Update java-ngrok to work with ngrok 3.x

ngrok released v3.x, which has many breaking changes. java-ngrok still works fine with ngrok 2.x, which is the version it uses for its managed binary, but it is easy to miss which version you've downloaded (which has led to a lot of community confusion), and the library should be updated to support the latest ngrok using their migration guide.
Additionally, since ngrok doesn't version its docs, this has led to further community confusion, since java-ngrok frequently links to its documentation, but now these links point to incompatible 3.x documentation. The last good 2.x docs can be found on the Archive.org here.

Closing, as ngrok v3 will be supported with the release of 1.6.0, which is now stable in develop.


Fixes property name for compatibility with VRChat SDK 3.1.12

Note that this issue will be fixed in our next SDK release.

Good news! We'll revert out change in the SDK instead, so you don't need to make any changes on your end. (Unless you'd like to implement any changes before our next SDK release)


not everyone uses gsutil

Page: /setup/quickstart/faq/
Feedback:
in the page:https://www.spinnaker.io/setup/quickstart/faq/#halyard-times-out-during-a-config-change
it suggests to use gsutil to locate the halyard bucket. It would be better to provide the full URL to the bucket, since not everyone is using the google cloud provider. Also might provide the link to work around it here:
https://github.com/spinnaker/spinnaker.github.io/blob/master/guides/operator/custom-boms.md

@duftler
@brandonnelson3
@ezimanyi
Any of y'all want to take a shot at a solution generalized acorss all providers?

@spinnakerbot remove-label to-be-closed

@spinnakerbot remove-label stale


BUG Newline not working with TextFormField/TextField on Android device with custom keyboard

Steps to Reproduce

Run flutter create bug.
Update the files as follows:
main.dart - Change Scaffold body to

TextFormField(
        initialValue: '',
        minLines: 2,
        maxLines: 4,
        onChanged: (value) => print(value),
      ),

...
Run the app on any Android device (Using a non-google keyboard). Enter the textfield and try to enter a text with line breaks by using the enter key on your software keyboard. Bug reproducable on Samsung Keyboard and SwiftKey Keyboard.

Expected results:
A text with line breaks
Actual results:
A text with no line breaks

Logs

ok-Pro:multiline_fun paul$ flutter run --verbose
[  +19 ms] executing: [/Users/paul/Development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +35 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 92f7e16312d9c7c396c0100dcb699458c3f10172
[        ] executing: [/Users/paul/Development/flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +24 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.14.6-38-g92f7e1631
[   +6 ms] executing: [/Users/paul/Development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/Users/paul/Development/flutter/] git ls-remote --get-url origin
[   +8 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +40 ms] executing: [/Users/paul/Development/flutter/] git rev-parse --abbrev-ref HEAD
[  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[   +5 ms] executing: sw_vers -productName
[  +17 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +15 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.3
[        ] executing: sw_vers -buildVersion
[  +15 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19D76
[  +25 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +35 ms] executing: /Users/paul/Library/Android/sdk/platform-tools/adb devices -l
[   +7 ms] Exit code 0 from: /Users/paul/Library/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
           33006b57244db5fd       device usb:338952192X product:gtaxlwifixx model:SM_T580 device:gtaxlwifi transport_id:1
[  +19 ms] executing: /Users/paul/Development/flutter/bin/cache/artifacts/libimobiledevice/idevice_id -h
[  +56 ms] executing: /usr/bin/xcode-select --print-path
[   +7 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Applications/Xcode.app/Contents/Developer
[   +1 ms] executing: /usr/bin/xcodebuild -version
[ +629 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[   +1 ms] Xcode 11.3.1
           Build version 11C504
[   +3 ms] /usr/bin/xcrun simctl list --json devices
[ +100 ms] /Users/paul/Library/Android/sdk/platform-tools/adb -s 33006b57244db5fd shell getprop
[  +89 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +201 ms] Generating /Users/paul/StudioProjects/multiline_fun/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +19 ms] ro.hardware = samsungexynos7870
[  +34 ms] Launching lib/main.dart on SM T580 in debug mode...
[   +7 ms] executing: /Users/paul/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/paul/StudioProjects/multiline_fun/build/app/outputs/apk/app.apk AndroidManifest.xml
[  +20 ms] Exit code 0 from: /Users/paul/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/paul/StudioProjects/multiline_fun/build/app/outputs/apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.multiline_fun" (Raw: "com.example.multiline_fun")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="multiline_fun" (Raw: "multiline_fun")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.multiline_fun.MainActivity" (Raw: "com.example.multiline_fun.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +7 ms] executing: /Users/paul/Library/Android/sdk/platform-tools/adb -s 33006b57244db5fd shell -x logcat -v time -t 1
[ +137 ms] Exit code 0 from: /Users/paul/Library/Android/sdk/platform-tools/adb -s 33006b57244db5fd shell -x logcat -v time -t 1
[        ] --------- beginning of main
           01-30 16:42:30.045 E/adbd    (23917): recv: OPEN 00003090 00000000 001a:73 68 65 6C 6C 3A 6C 6F 67 63 61 74 20 2D 76 20 74 69 6D 65 20 2D 74 20 31 00
[   +8 ms] executing: /Users/paul/Library/Android/sdk/platform-tools/adb version
[   +1 ms] executing: /Users/paul/Library/Android/sdk/platform-tools/adb -s 33006b57244db5fd logcat -v time -T 01-30 16:42:30.045
[  +14 ms] Android Debug Bridge version 1.0.41
           Version 29.0.5-5949299
           Installed as /Users/paul/Library/Android/sdk/platform-tools/adb
[   +2 ms] executing: /Users/paul/Library/Android/sdk/platform-tools/adb start-server
[   +6 ms] Building APK
[  +17 ms] Running Gradle task 'assembleDebug'...
[   +1 ms] gradle.properties already sets `android.enableR8`
[   +2 ms] Using gradle from /Users/paul/StudioProjects/multiline_fun/android/gradlew.
[        ] /Users/paul/StudioProjects/multiline_fun/android/gradlew mode: 33261 rwxr-xr-x.
[  +45 ms] executing: /usr/bin/plutil -convert json -o - /Users/paul/Applications/JetBrains Toolbox/Android Studio.app/Contents/Info.plist
[  +10 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Users/paul/Applications/JetBrains Toolbox/Android Studio.app/Contents/Info.plist
[        ] {"NSUIElement":false,"CFBundleIdentifier":"com.jetbrains.apps.activator.linkapp.pcom.jetbrains.apps.activator__ndroid_tudio_3_5_3","CFBundleInfoDictionaryVersion":"6.0","CFBundleLongVersionString":"3.5.3","CFBundleVersion":"3.5.3","CFBundleName":"Android Studio
3.5.3","CFBundleExecutable":"jetbrains-toolbox-launcher","CFBundleGetInfoString":"","NSHighResolutionCapable":true,"CFBundleSignature":"????","LSUIElement":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"icon.icns","JetBrainsToolboxApp":"\/Users\/paul\/Library\/Application
Support\/JetBrains\/Toolbox\/apps\/AndroidStudio\/ch-0\/191.6010548\/Android Studio.app","CFBundleDevelopmentRegion":"English","NSHumanReadableCopyright":"Copyright (c) JetBrains s.r.o.","CFBundleShortVersionString":"3.5.3"}
[   +5 ms] executing: /usr/bin/plutil -convert json -o - /Users/paul/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents/Info.plist
[   +7 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Users/paul/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android
Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_P
ACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","WorkingDirectory":"$APP_PACKAGE\/Contents\/bin","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio3.5","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.home.path":"$A
PP_PACKAGE\/Contents"}},"LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-191.8<IP_ADDRESS>10548","CFBundleDevelopmentRegion":"English","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project
File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All
documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersio
nString":"3.5","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}],"CFBundleIdentifier":"com.google.android.studio","LSApp
licationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","CFBundleGetInfoString":"Android Studio 3.5, build AI-191.8<IP_ADDRESS>10548. Copyright JetBrains s.r.o., (c) 2000-2019"}
[   +5 ms] executing: /Users/paul/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[  +67 ms] Exit code 0 from: /Users/paul/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_202-release"
           OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
           OpenJDK 64-Bit Server VM (build 25.202-b49-5587405, mixed mode)
[   +1 ms] executing: [/Users/paul/StudioProjects/multiline_fun/android/] /Users/paul/StudioProjects/multiline_fun/android/gradlew -Pverbose=true -Ptarget=/Users/paul/StudioProjects/multiline_fun/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root
-Ptarget-platform=android-arm assembleDebug
[ +771 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[        ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:checkDebugManifest UP-TO-DATE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders UP-TO-DATE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +185 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[        ] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[  +96 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:signingConfigWriterDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] Compatible side by side NDK version was not found.
[  +73 ms] > Task :app:packageDebug UP-TO-DATE
[        ] > Task :app:assembleDebug UP-TO-DATE
[        ] BUILD SUCCESSFUL in 1s
[        ] 30 actionable tasks: 3 executed, 27 up-to-date
[ +354 ms] Running Gradle task 'assembleDebug'... (completed in 1,6s)
[  +32 ms] calculateSha: LocalDirectory: '/Users/paul/StudioProjects/multiline_fun/build/app/outputs/apk'/app.apk
[ +158 ms] calculateSha: reading file took 157us
[ +526 ms] calculateSha: computing sha took 525us
[   +3 ms] ✓ Built build/app/outputs/apk/debug/app-debug.apk.
[   +2 ms] executing: /Users/paul/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/paul/StudioProjects/multiline_fun/build/app/outputs/apk/app.apk AndroidManifest.xml
[   +8 ms] Exit code 0 from: /Users/paul/Library/Android/sdk/build-tools/29.0.2/aapt dump xmltree /Users/paul/StudioProjects/multiline_fun/build/app/outputs/apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.multiline_fun" (Raw: "com.example.multiline_fun")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="multiline_fun" (Raw: "multiline_fun")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.multiline_fun.MainActivity" (Raw: "com.example.multiline_fun.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +1 ms] Stopping app 'app.apk' on SM T580.
[        ] executing: /Users/paul/Library/Android/sdk/platform-tools/adb -s 33006b57244db5fd shell am force-stop com.example.multiline_fun
[ +193 ms] executing: /Users/paul/Library/Android/sdk/platform-tools/adb -s 33006b57244db5fd shell pm list packages com.example.multiline_fun
[ +953 ms] package:com.example.multiline_fun
[   +4 ms] executing: /Users/paul/Library/Android/sdk/platform-tools/adb -s 33006b57244db5fd shell cat /data/local/tmp/sky.com.example.multiline_fun.sha1
[  +37 ms] d8daf5bffe6118256ecb9b327f67feb5510b86b7
[        ] Latest build already installed.
[        ] SM T580 startApp
[   +2 ms] executing: /Users/paul/Library/Android/sdk/platform-tools/adb -s 33006b57244db5fd shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true
com.example.multiline_fun/com.example.multiline_fun.MainActivity
[ +118 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.multiline_fun/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +866 ms] Observatory URL on device: http://<IP_ADDRESS>:47044/vztAuCOxS5Y=/
[   +1 ms] executing: /Users/paul/Library/Android/sdk/platform-tools/adb -s 33006b57244db5fd forward tcp:0 tcp:47044
[   +8 ms] 58153
[        ] Forwarded host port 58153 to device port 47044 for Observatory
[  +11 ms] Connecting to service protocol: http://<IP_ADDRESS>:58153/vztAuCOxS5Y=/
[ +488 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:58153/vztAuCOxS5Y=/
[   +3 ms] Sending to VM service: getVM({})
[   +6 ms] Result: {type: VM, name: vm, architectureBits: 32, hostCPU: Unknown, operatingSystem: android, targetCPU: arm, version: 2.8.0-dev.6.0.flutter-fc3af737c7 (Fri Jan 24 09:53:26 2020 +0000) on "android_arm", _profilerMode: VM, _nativeZoneMemoryUsage: 0, pid: ...
[   +4 ms] Sending to VM service: getIsolate({isolateId: isolates/3640369962218979})
[   +3 ms] Sending to VM service: _flutter.listViews({})
[  +16 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xe5166290, isolate: {type: @Isolate, fixedId: true, id: isolates/3640369962218979, name: main.dart$main-3640369962218979, number:<PHONE_NUMBER>218979}}]}
[   +5 ms] DevFS: Creating new filesystem on the device (null)
[        ] Sending to VM service: _createDevFS({fsName: multiline_fun})
[  +67 ms] Result: {type: Isolate, id: isolates/3640369962218979, name: main, number:<PHONE_NUMBER>218979, _originNumber:<PHONE_NUMBER>218979, startTime:<PHONE_NUMBER>222, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 0, avgCollectionPeriodMillis...
[  +12 ms] D/libGLESv2(23561): STS_GLApi : DTS, ODTC are not allowed for Package : com.example.multiline_fun
[        ] Result: {type: FileSystem, name: multiline_fun, uri: file:///data/user/0/com.example.multiline_fun/code_cache/multiline_funHOEWQO/multiline_fun/}
[        ] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.multiline_fun/code_cache/multiline_funHOEWQO/multiline_fun/)
[   +1 ms] Updating assets
[  +99 ms] Syncing files to device SM T580...
[   +1 ms] Scanning asset files
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +7 ms] /Users/paul/Development/flutter/bin/cache/dart-sdk/bin/dart /Users/paul/Development/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/paul/Development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental
--target=flutter -Ddart.developer.causal_async_stacks=true --output-dill /var/folders/vs/h520s0yd1jlgwppdch09_m7h0000gn/T/flutter_tool.Dwhz0c/app.dill --packages /Users/paul/StudioProjects/multiline_fun/.packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root
[   +4 ms] <- compile package:multiline_fun/main.dart
[+3628 ms] D/ViewRootImpl@61907a3[MainActivity](23561): ViewPostIme pointer 0
[  +71 ms] D/ViewRootImpl@61907a3[MainActivity](23561): ViewPostIme pointer 1
[ +189 ms] D/InputMethodManager(23561): SSI - flag : 0 Pid : 23561 view : com.example.multiline_fun
[  +16 ms] V/InputMethodManager(23561): Starting input: tba=android.view.inputmethod.EditorInfo@1d4623d nm : com.example.multiline_fun ic=io.flutter.plugin.editing.InputConnectionAdaptor@58a9a32
[        ] D/InputMethodManager(23561): startInputInner - Id : 0
[        ] I/InputMethodManager(23561): startInputInner - mService.startInputOrWindowGainedFocus
[   +7 ms] D/InputTransport(23561): Input channel constructed: fd=90
[        ] D/InputTransport(23561): Input channel destroyed: fd=87
[  +58 ms] D/ViewRootImpl@61907a3[MainActivity](23561): MSG_RESIZED: frame=Rect(0, 0 - 1200, 1920) ci=Rect(0, 36 - 0, 557) vi=Rect(0, 36 - 0, 557) or=1
[  +29 ms] D/ViewRootImpl@61907a3[MainActivity](23561): Relayout returned: old=[0,0][1200,1920] new=[0,0][1200,1920] result=0x1 surface={valid=true<PHONE_NUMBER>} changed=false
[ +806 ms] Updating files
[ +257 ms] DevFS: Sync finished
[   +1 ms] Syncing files to device SM T580... (completed in 5.082ms, longer than expected)
[        ] Synced 0.9MB.
[   +1 ms] Sending to VM service: _flutter.listViews({})
[   +6 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xe5166290, isolate: {type: @Isolate, fixedId: true, id: isolates/3640369962218979, name: main.dart$main-3640369962218979, number:<PHONE_NUMBER>218979}}]}
[        ] <- accept
[        ] Connected to _flutterView/0xe5166290.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on SM T580 is available at: http://<IP_ADDRESS>:58153/vztAuCOxS5Y=/
[ +104 ms] I/flutter (23561): t
[ +337 ms] I/flutter (23561): te
[ +186 ms] I/flutter (23561): tes
[ +334 ms] I/flutter (23561): test
[ +898 ms] I/flutter (23561): Test
[+7548 ms] I/zygote  (23561): Do partial code cache collection, code=26KB, data=30KB
[        ] I/zygote  (23561): After code cache collection, code=26KB, data=30KB
[        ] I/zygote  (23561): Increasing code cache capacity to 128KB
[ +995 ms] I/flutter (23561): Testn
[ +870 ms] I/flutter (23561): Testne
[ +226 ms] I/flutter (23561): Testnew
[ +575 ms] I/flutter (23561): Testnewl
[ +303 ms] I/flutter (23561): Testnewli
[ +305 ms] I/flutter (23561): Testnewlin
[ +422 ms] I/flutter (23561): Testnewline

Pauls-MacBook-Pro:multiline_fun paul$ flutter analyze
Analyzing multiline_fun...

   info • The value of the field '_counter' isn't used • lib/main.dart:47:7 • unused_field

1 issue found. (ran in 2.0s)

Pauls-MacBook-Pro:multiline_fun paul$ flutter doctor -v
[✓] Flutter (Channel master, v1.14.7-pre.38, on Mac OS X 10.15.3 19D76, locale de-DE)
    • Flutter version 1.14.7-pre.38 at /Users/paul/Development/flutter
    • Framework revision 92f7e16312 (14 hours ago), 2020-01-29 17:51:31 -0800
    • Engine revision 6007c17fd2
    • Dart version 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/paul/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Users/paul/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Users/paul/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (1 available)
    • SM T580 • 33006b57244db5fd • android-arm • Android 8.1.0 (API 27)

• No issues found!

I found a somewhat related issue in another project where they wrote their own input, experienced the same issue and fixed it with those lines:
https://github.com/memspace/zefyr/pull/195/commits/c5f34ce63bf9079e4dc21b48078fbba3a0def1d7

We're experiencing the same issue over at https://github.com/OkunaOrg/okuna-app since yesterday on the latest Flutter master branch.
People have reported this bug on the SwiftKey keyboard.

Having the same issue using just the defaults:
TextField(
  maxLines: 20,
  keyboardType: TextInputType.multiline,
),

Pressing the Return key has no effect.
I have created a basic demo: crtl/flutter-text-field-return-demo
[√] Flutter (Channel master, v1.15.3-pre.58, on Microsoft Windows [Version 10.0.18362.657], locale en-DE)
    • Flutter version 1.15.3-pre.58 at D:\dev\flutter\sdk
    • Framework revision f769bcc5c4 (6 days ago), 2020-02-10 20:55:48 -0500
    • Engine revision e4f46f32f1
    • Dart version 2.8.0 (build 2.8.0-dev.8.0 fd992e423e)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at D:\dev\Android\SDK
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = D:\dev\Android\SDK
    • Java binary at: D:\Programms\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

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

[√] Android Studio (version 3.5)
    • Android Studio at D:\Programms
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

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

[√] Connected device (3 available)
    • SM A520F   • 5210ae1cf4a7448d • android-arm64  • Android 8.0.0 (API 26)
    • Chrome     • chrome           • web-javascript • Google Chrome 80.0.3987.106
    • Web Server • web-server       • web-javascript • Flutter Tools

• No issues found!

I had the same problem after updating

Yah I can confirm it works with the default google keyboard but it's not working on SwiftKey for me either. I keep getting this error.
E/SpannableStringBuilder(16503): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
And the fixes I see online for that error don't work here anymore.

Not work with Gboard pinyin.

cc @gspencergoog

Hmm, my issue isn't related to a Samsung keyboard though. I use a Google pixel 2xl with the Swipe keyboard.

The same case.
I had to return to Flutter stable to publish the app.

The same case.
I had to return to Flutter stable to publish the app.

Are you saying this issue doesn't occur in flutter stable?

It doesn’t occur on flutter stable. But another error occurs on flutter stable, when we type the text and after that a setstate occurs, the text disappears.
We have to choose between these two erros. Or the text is erased after setState or we can break lines.

The same case.
I had to return to Flutter stable to publish the app.

Are you saying this issue doesn't occur in flutter stable?

I answered above.

This should be fixed with https://github.com/flutter/engine/pull/16560.
If anyone is still seeing this bug on master, please let me know and I can reopen.

I am still seeing this issue with Microsoft SwiftKey Keyboard @justinmc

@justinmc @TahaTesser facing the same issue while using Microsoft SwiftKey Keyboard. The behaviour is perfect when using Gboard.
❯ flutter doctor -v
[✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.6 19G73, locale en-IN)
    • Flutter version 1.17.5 at /Users/ayushshekhar/development/flutter
    • Framework revision 8af6b2f038 (5 weeks ago), 2020-06-30 12:53:55 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/ayushshekhar/Library/Android/sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = /Users/ayushshekhar/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

I couldn't reproduce this on Flutter master on a physical Pixel2 with Microsoft SwiftKey.  Can anyone reproduce this on master?  @ayush221b I see you're using an old Flutter version.

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

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

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

  final String title;

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

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Padding(padding: EdgeInsets.all(4), child: TextField(minLines: 2, maxLines: 4)),
      ),
    );
  }
}

@justinmc Yes, this is fixed in latest stable (1.20.1). Thank you.

Awesome!  Thanks for checking

This bug still exist for me using, i cannot have "newline button" in ios
Flutter 2.2.2 • channel stable • https://github.com/flutter/flutter.git
TextField(
                  controller: _textEditingController,
                  keyboardType: TextInputType.multiline,
                  textInputAction: TextInputAction.newline,
                  onSubmitted: _textMessageSubmitted,

@kristijorgji Can you open a new issue with repro code and tag me?


Provide true original text to MessageChannel::transformMessage

The MessageChannel::transformMessage method receives an argument called Text original, but this Text object is the final "vanilla" formatted chat message, complete with <playername> formatting. The same is true for a MessageChannelEvent, the original/message methods include the player content.
Our custom chat plugin needs to remove this player content from the message (in favor of custom prefixes), but the only way to do this is to convert the message toPlain and replace the content, however this also removes any existing formatting like clickable URLs.

There isn't really a nice way to do this without adding another parameter to the send and transformMessage methods, however I suppose I can provide the original String.

AFAICT there is already a sender parameter.
https://github.com/SpongePowered/SpongeAPI/blob/master/src/main/java/org/spongepowered/api/text/channel/MessageChannel.java#L158
Or are you referring to the impl that does not make use of that param.

@ST-DDT sender is the literal sender (player, etc) of the message. See https://github.com/SpongePowered/SpongeAPI/pull/1104

Assuming you're talking about MessageChannelEvent for player chat, MessageChannelEvent.Chat has a getRawMessage method that contains what you want, you just need to set that as the message, the channel will use that afterwards.

API 4 should have addressed this.


Azure CI / CD on a Project

Whats the process for doing CI / CD for project with multiple authors possibly working on the YAML? (I am thinking of any Secure variables we might want to keep (just as a teaching point)). I have never had shared owners of CI in a non corp / Active Directory situation.
I am assuming we just do it on our Azure account with our fork and see what the PR reveals in hard coded / relative paths. I can see Badges in the Readme.md possibly being "path-y / specific URI" based.
Can we use Xamarin.BuildTools? Will we will track with the latest XF release?

I've also never done a non-corporate pipeline with for a project but some of my personal pipelines are open source. e.g. https://dev.azure.com/MelbourneXamarinBlazorMeetup/
I'm kinda guessing but I think it would be somehting along the lines of having a pipeline owned by one person/organisation. It can be public so we can all view it but some variables would be secret.
I expect we'd have a build that runs against any PRs coming in, and a separate build with distribution for AsHoc distribution off dev branch and AppStore Distribution from Master.
If someone wants to set up their own CI/CD on their Fork they would set it up in their own Devops account, reuse the yaml but set their own private variable.
Their is also a check box "Let users override this value when running this pipeline" which may come in handy.
I've only dabbled in Xamarin.BuildTools but I reckon they're the way to go.


[RFC]: improve README examples of stats/base/dists/arcsine namespace

Description
This RFC proposes to improve the README examples of the stats/base/dists/arcsine namespace package. Currently, namespace package READMEs only include minimal examples which are not particularly informative and do not showcase namespace functionality.
Historically, namespace examples were not given much effort due to the rapidly changing nature of the project; however, now that development and organization has settled, it would be good to revisit these packages and add proper examples to better communicate to users how to use namespace contents.
For those wanting to contribute to this issue, you can use the following steps:

Browse through the contents of the stats/base/dists/arcsine namespace and identify interesting functions and packages to showcase.
Update the example code block in the "Examples" section of the README for the stats/base/dists/arcsine namespace and open a PR.
When updating the README, examples should follow existing project conventions (e.g., ES5).
Examples may require functionality from other packages to help make examples more interesting.

Related Issues
None.
Questions
No.
Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

@Planeshifter please assign this issue to me

@mayank1365 Done. Please only take one of these on at a time. Looking forward to your PR!

@Planeshifter Hey, I just raised a PR, please have a look.

@Planeshifter let me know if everything is good or if I need to tweak a few things to get it merged.


All the plugin rules are showing up severity: "ignore"

I'm having trouble where all the rules from this plugin are severity warning. I'm not sure if it's a stylelint system problem because the error on border: none; is from a plugin also.
I've also tried this in my config file
    "scss/at-extend-no-missing-placeholder": [true, { "severity": "error" }],

And I still get a ignore

Thanks for reporting this! I have been checking the severity levels, so we need to check if it works correctly.


Mark Patch files in file explorer

Kustomization patch files are often valid resources - which can be confusing if resources in a file that looks valid in the file-explorer don't show up in the resource navigator - would be great if we could somehow mark patch files in the file-explorer and provide an action to select the patch in the Kustomizations panel

related to #956


NavbarDropDown

SideDropdown

Fixes Issue

Changes proposed

Screenshots

Note to reviewers

Code of Conduct

[x] By submitting this pull request, I confirm I've read and complied with the CoC 🖖

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

You can also join our Discord community.
Feel free to check out other cool repositories of the Cryptoverse Web3.
Join the Cryptoverse Web3 GitHub Organisation by raising an issue (you will be sent an invitation).

can any maintenance response to this changes. never see any response since I make the PR.

Thank you for your response.


[Bug] Can't always connect to Heascale through data (lte/4g) without passing via wifi first

Is this a support request?

[X] This is not a support request

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Probably it's me and I can't figure out how Headscale (btw nice piece of sw) works but this is what happens and idk if it's normal:

I connect to the home wifi (in which my Headscale is active and operative) with my phone (Android or iOS)
My Headscale paired device log in the Headscale network
I turn off the wifi, then I enable the data: I remain connected to the Headscale network and I can use data instead of wifi to remotely access my home network services
BUT if I turn off the connection in the Tailscale app (or I reboot the phone*), and turn it on again (all of this while using only data), I cannot reconnect to my Headscale network using only the data connection
Then I have to reconnect to the home wifi to be able again to connect to the Headscale network. As you know right, this is impossible while I'm away

*(I'm not sure if this it's always the case when rebooting the phone)
Currently, these are my nodes

And these are my routes

Idk if this too is normal but: when I paired my devices, none of them automatically appaired in the routes list, and I had to add them with the advertise command. I did this with my Linux PC (srv) and my Android phone (rn7-mrk) with the "Run as exit node" on this one. Off course I can't do this on iOS as the Tailscale doc says.
Idk if I have to at least advertise all nodes in the Headscale net to make it function properly and to avoid the problem above
Expected Behavior
I expect to be able to connect to the Headscale mesh network even using only the data connection, even after a disconnection from it through the toggle in the Tailscale app
Steps To Reproduce

Connect to the Headscale mesh network using wifi (you have to already be paired to it)
Disable wifi and use data connection
Disconnect from the Headscale network (toggle of in the Tailscale app, or reboot the phone)
Reconnect to the Headscale network using only the data connection
You can't reconnect to it

Environment
- OS: Debian GNU/Linux trixie x86_64 (Headscale server)
- Headscale version: 0.23.0-alpha12
- Tailscale version: 1.66.3 on Android/iOS, 1.66.4 on Linux PCs

Runtime environment

[ ] Headscale is behind a (reverse) proxy
[ ] Headscale runs in a container

Anything else?
No response

did you have this issues with the prior stable version (0.22.3)?

Just wanted to mention that I recently began configuring headscale as a transition from tailscale. I experimented with this specific situation using my iPhone and encountered the same problem. It didn't connect over cellular, so I had to turn on wifi again for it to connect. Once connected, I can turn off wifi and it seems to work fine over cellular. I'm running headscale (v0.22.3) in a Proxmox LXC. iPhone Tailscale client version is 1.66.3.

Hi guys, I implemented the latest headscale with the latest client for iOS on an iPhone and iPad and the same thing happened on both. As mentioned by @timmyb824 enabling the VPN while on wifi and then turning it off makes the device connect to the advertised nodes and subnets.

No one else has this issue? What I'm doing wrong?
I simply disconnect the phone from the wifi, then use 4G data with the Tailscale (Headscale) VPN enabled and everything seems fine. Device appears as online in the nodes list. Then I turn off mobile data and VPN, I turn them back on after a while - in this whole time I didn't reconnect to the wifi - so I can't reconnect to the Headscale server.
In the Tailscale app, it shows that the device is connected, but it is not. Indeed looking at nodes list on the server it shows the device as offline. After a few seconds/minutes it shows that I'm disconnected on the Tailscale app too.
I'm on a Pixel 7a with Android 15, but same happens on other Android phones, and even on iPhone. @kradalby, any help?


getting protobuf downgrading issue

######################$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$<<< tensorflow model
#Copy and execute the following code in a new Google Colab notebook launch to run the model.
!python -m pip install tensorflow tensorflow_decision_forests -U -qq

# Transfer the model from Google Drive to Colab
from google.colab import drive
drive.mount("/content/gdrive")
!cp "/content/gdrive/My Drive/simple_ml_for_sheets/Ice height from bands" ydf_model

# Prepare and load the model with TensorFlow
import tensorflow as tf
import tensorflow_decision_forests as tfdf

tfdf.keras.yggdrasil_model_to_keras_model("ydf_model", "tfdf_model")
model = tf.keras.models.load_model("tfdf_model")
######################$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$<<< tensorflow model

output from google colab
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 462.5/462.5 KB 18.2 MB/s eta 0:00:00
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorflow-metadata 1.12.0 requires protobuf<4,>=3.13, but you have protobuf 4.22.1 which is incompatible.
Drive already mounted at /content/gdrive; to attempt to forcibly remount, call drive.mount("/content/gdrive", force_remount=True).
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
[<ipython-input-10-257986a1557a>](https://localhost:8080/#) in <module>
     17 # Prepare and load the model with TensorFlow
     18 import tensorflow as tf
---> 19 import tensorflow_decision_forests as tfdf
     20
     21 tfdf.keras.yggdrasil_model_to_keras_model("ydf_model", "tfdf_model")

8 frames
[/usr/local/lib/python3.9/dist-packages/google/protobuf/descriptor.py](https://localhost:8080/#) in __new__(cls, name, index, number, type, options, serialized_options, create_key)
    794                 type=None,  # pylint: disable=redefined-builtin
    795                 options=None, serialized_options=None, create_key=None):
--> 796       _message.Message._CheckCalledFromGeneratedFile()
    797       # There is no way we can build a complete EnumValueDescriptor with the
    798       # given parameters (the name of the Enum is not known, for example).

TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Compatibility tableThe following table shows the compatibility between tensorflow_decision_forests and its dependencies:

tensorflow_decision_forests
tensorflow

1.1.0 - 1.2.0
2.11.0

1.0.0 - 1.0.1
2.10.0 - 2.10.1

0.2.6 - 0.2.7
2.9.1

0.2.5
2.9

0.2.4
2.8

0.2.1 - 0.2.3
2.7

0.1.9 - 0.2.0
2.6

0.1.1 - 0.1.8
2.5

0.1.0
2.4

Solution #2: Wrap your preprocessing function into

Hi,
Thank you for the report, I'll have a look. Most likely, this is indeed due to incompatibility between TF 2.12.0 and the current TF-DF - as you can see, TF-DF has not yet been updated on PyPi, but we should get to this very soon.
Best,
Richard

i got to get it working ✅ by >>> removing the tensorflow install command
######################$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$<<< tensorflow model
#Copy and execute the following code in a new Google Colab notebook launch to run the model.
!python -m pip install tensorflow_decision_forests -U -qq

# Transfer the model from Google Drive to Colab
from google.colab import drive
drive.mount("/content/gdrive")
!cp "/content/gdrive/My Drive/simple_ml_for_sheets/Ice height from bands" ydf_model

# Prepare and load the model with TensorFlow
import tensorflow as tf
import tensorflow_decision_forests as tfdf

tfdf.keras.yggdrasil_model_to_keras_model("ydf_model", "tfdf_model")
model = tf.keras.models.load_model("tfdf_model")
######################$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$<<< tensorflow model


[feat] Allow using the js fetch api to load the asset url

Describe the problem
I am using a canvas lib to draw some RAW images. But this lib uses the js fetch API to load the URL to my RAW file.
I have tried the convertFileSrc method to convert my file url to the asset url. But it does not work at all.

I have add the file directory into the assetScope so this problem is not caused by the permissions.

Describe the solution you'd like
I guess that adding a Cors header in the asset url handler may works.
I hope that I can use the fetch API in js directly because a lot of third party libraries uses the fetch function to load url resources.
Alternatives considered
No response
Additional context
[✔] Environment
- OS: Debian 12 X64
✔ webkit2gtk-4.0: 2.42.4
✔ rsvg2: 2.54.7
✔ rustc: 1.75.0 (82e1608df 2023-12-21)
✔ cargo: 1.75.0 (1d8b05cdd 2023-11-20)
✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
- node: 18.18.0
- yarn: 1.22.21
- npm: 9.8.1
[-] Packages
- tauri [RUST]: 1.5.4
- tauri-build [RUST]: 1.5.1
- wry [RUST]: 0.24.7
- tao [RUST]: 0.16.5
- @tauri-apps/api [NPM]: 1.5.1
- @tauri-apps/cli [NPM]: 1.5.6
[-] App
- build-type: bundle
- CSP: default-src 'self' asset: https://asset.localhost; img-src 'self' asset: https://asset.localhost
- distDir: ../dist
- devPath: http://localhost:1420/
- framework: Vue.js
- bundler: Vite

can you try adding the linux-protocol-headers flag to the tauri dependency in cargo.toml?

Nice, it works.
Is there an extra work to make it compatible with Windows and macOS?

nope, they should work out of the box.


CppUMock(): setData() should enqueue getData() should dequeue

The current implementation for mock().setData() / mock().getData() makes a simple key=>value assignment. I have often the requirement to pass multiple values for a key to the mocks, e.g. to cause different error conditions to trigger. But for that it would need a queuing/FIFO mechanism to not overwrite the same key with the last value.
An insertDataIntoQueue/popDataFromQueue API would be handy for that or change the behaviour of setData/getData API to cause enqueuing/dequeuing.

+1. I am currently running into an error where our component calls a certain mocked function multiple times, each needing a different set of data (Cannot use withParameter since it's a stack allocated pointer that gets passed, so no way of comparing data) but the setData won't be reset-able without calling checkExpectations() first, which isn't possible at that time.

You can implement it yourself with a SetData for a counter and a SetData for an array. I know it is awkward atm, keeping this issue open for now.

Isn't this what expectOneCall and actualCall are for? I mean, they pretty much enqueue and dequeue arbitrary data for your string key. At least with checking a buffer every time it changes, passing it to mock().actualCall("the_buffer is").withMemoryBufferParameter("the_buffer", the_buffer, sizeof(the_buffer)); and expecting it makes perfect sense to me.
The only problem is if you don't want to dequeue on every call, but then again, what if you want a map or a state machine in there instead of a simple queue? I'd say just use setData to pass the address of your queue or whatever other object.


regression in c7n-org - friendly account name not honored

@here - I think there may have been a regression introduced into c7n-org at some point in the last month or so. I've tried rewinding -org to much older versions and the issue remains, so I believe it must be in c7n base.
The problem is that the account name specified with -a on the command line isn't being honored. When I specify the account number, things work fine.
Example:
accounts:
- account_id: 'XXXXXXXXXXXX'
  name: sandbox
  role: arn:aws:iam::XXXXXXXXXXXX:role/cloud-custodian

TESTS
Using account name:
$ c7n-org run -c test/account.yml -a sandbox -r us-west-2 -s s3://bucketname/testing -u test/cwbtest.yml || exit 1
c7n_org:ERROR Exception running policy:c7n-org-test account:sandbox region:us-west-2 error:Failed to upload /tmp/tmpPVjDZ5/custodian-run.log.gz to bucketname/testing/sandbox/us-west-2/c7n-org-test/2018/06/18/12/custodian-run.log.gz: An error occurred (AccessDenied) when calling the PutObject operation: Access Denied

Using account number:
$ c7n-org run -c test/account.yml -a XXXXXXXXXXXX -r us-west-2 -s s3://bucketname/testing -u test/cwbtest.yml || exit 1
c7n_org:INFO Policy resource counts Counter()

I've tried with org 0.2.2 and 03.1, latest, etc. This seemed to stop working around the beginning of June, but we've been using 0.3.1 since before that, and as mentioned, reverting to 0.2.2 didn't change the problem so I'm guessing something across the base is impacting this.

Update: things do NOT work fine when using the account number; we just exit silently.
The name DOES work from a provisioning perspective - the role is assumed. However, it doesn't seem to hold onto that credential when attempting to upload to s3. That's where my permission problem arises.
So to be clear: If I set the -s flag to, say, /tmp/c7n, the policy provisions fine and all is well - I just don't have the deploy logs, as this is deployed via an ephemeral runner. If I do -s s3://my-bucket/key/to/kingdom, I'm denied access to the bucket, because the role it's attempting to upload with has reverted to the assumer, not the assumed.

Moar update: c7n-org isn't logging anything at deploy time. Note 0-byte log files created though.
cbouscal@laptop<⚡>:~/git/custodian::vpn::SANDBOX::Thu Jul 19::04:53:33
└─<upheaval-test>$ c7n-org run -v --metrics  -c config/accounts.yml  -a sandbox -r us-west-2 -s foo -u /tmp/c7n_tmp_west.yml
ls -lrth2018-07-19 04:53:38,408: c7n_org:DEBUG Running policy:aaa-1 account:sandbox region:us-west-2
 2018-07-19 04:53:40,214: c7n_org:INFO Ran account:sandbox region:us-west-2 policy:aaa-1 matched:16 time:1.81
2018-07-19 04:53:40,215: c7n_org:DEBUG Running policy:aaa-2 account:sandbox region:us-west-2
foo/sand2018-07-19 04:53:42,050: c7n_org:INFO Ran account:sandbox region:us-west-2 policy:aaa-2 matched:16 time:3.64
2018-07-19 04:53:42,066: c7n_org:INFO Policy resource counts Counter({'aaa-1': 16, 'aaa-2': 16})

cbouscal@laptop<⚡>:~/git/custodian::vpn::SANDBOX::Thu Jul 19::04:53:42
└─<upheaval-test>$ ls -lrth foo/sandbox/us-west-2/aaa-*/*
-rw-r--r-- 1 cbouscal cbouscal 0 Jul 19 04:52 foo/sandbox/us-west-2/aaa-1/custodian-run.log
-rw-r--r-- 1 cbouscal cbouscal 0 Jul 19 04:52 foo/sandbox/us-west-2/aaa-2/custodian-run.log


Issue #237: Made variables overridable

Please refer to #237 for details of this PR.
It only makes the existing variables overridable and adds a few variables for the image path and filename.
Refactored the retina image url part a little to make better use of Sass's nesting syntax, but it doesn't affect the compiled css at all.

This looks great thanks. If you could just add a comment at the top about why we're using !default so I don't forget, then I will merge this in!


(feat): Add option for iOS image aspect ratio. Default is fill.

This is an extension of PR #114

This is awesome! I just wanted to create a PR to do something similar as I needed 'fit' as well 👍 👍


Error when Touchable is bundled

On web, Touchable errors when react-primitives is bundled with a react component thats then bundled, for instance, as an npm package.
Warning: Unknown event handler property `onStartShouldSetResponder`

Took me a while to prove to myself that it was an issue with react-primitives. I've written a stripped down example repo that reproduces the issue. Heres a direct link to the hypothetical component that would use react-primitives, its a really simple implementation
Repo with bug reproduced
Screenshot:

I originally thought this had something to do with react-primitives not being up to date with React 16, and react-dom getting angry about it. Spent a lot of time debugging devDependencies and peerDependencies. Also tweaked and trimmed down my webpack config to try to figure out any bundling issue. I've recreated the issue in that repo using react-primitives at<EMAIL_ADDRESS>and<EMAIL_ADDRESS>It happens in either version. (I used my PR upgrading react-primitives to React 16 for the example at 16.2.0)
The example repo has a small webpack config for the hypothetical component and a separate webpack config for the example dir showcasing the component's usage. All I've done in the hypothetical component is import Touchable and added a simple View and Text for something to click on. On refresh I get the error output above
Does anyone have any idea what the issue is? Is webpack doing something I'm not seeing?
This is preventing me from using react-primitives in several open source components I'd like to write

Recreated the example repo in Glitch, but Glitch hangs trying to serve it. I fixed any errors in the logs, so I'm not sure why its not displaying
https://glitch.com/edit/#!/loud-roof
Since Glitch isnt running, I cant be sure that the issue is reproduced in it. But its just a port of the example repo I created earlier

Using babel-plugin-react-native-web fixed this for me.

Thanks for the suggestion. I theorized in the past few days that this was related to webpack 'tree-shaking' when import is used for side-effects only. That would explain why injectResponderEventPlugin isnt actually run/included when bundled further.
Will try out babel-plugin-react-native-web


Register custom types

Doctrine supports adding custom types, but the laravel-doctrine config does not indicate that this is supported. Is there another way to accomplish this?
If this is indeed not possible, then I won't mind working on this feature and creating a PR. Let me know!

It's fairly easy. Add the type according to the Doctrine docs to the following event:
\Doctrine\DBAL\Events::postConnect

We use an event subscriber for this, like so:
<?php namespace App\Listeners\JsonB;

use Doctrine\Common\EventSubscriber as Subscriber;
use Doctrine\DBAL\Event\ConnectionEventArgs;
use Doctrine\DBAL\Events;
use Doctrine\DBAL\Types\Type as BaseType;

class EventSubscriber implements Subscriber {

    /**
     * @return array
     */
    public function getSubscribedEvents()
    {
        return [
            Events::postConnect,
        ];
    }

    /**
     * @param \Doctrine\DBAL\Event\ConnectionEventArgs $args
     *
     * @throws \Doctrine\DBAL\DBALException
     */
    public function postConnect(ConnectionEventArgs $args)
    {
        BaseType::overrideType(BaseType::JSON_ARRAY, Type::class);
    }
}

Then register the subscriber in \App\Providers\EventServiceProvider. Something like this:
    /**
     * Here we make sure that we have a tenant set
     *
     * @return void
     */
    public function register()
    {
        $this->registerDoctrineEvents();
    }

    /**
     * And here we register any Doctrine events
     *
     * @return void
     */
    private function registerDoctrineEvents()
    {
        /** @var \Doctrine\Common\EventManager $eventManager */
        $eventManager = registry()->getConnection()->getEventManager();

        $eventManager->addEventSubscriber(new JsonB\EventSubscriber);
    }

How do you access the EventManager? You're using registry(), but I guess you wrote this method?

I'm using a fork that supports multiple entity managers:
https://github.com/FoxxMD/laravel-doctrine
This is the registry function:
/**
 * Get the entity manager registry
 *
 * @return \Doctrine\Common\Persistence\ManagerRegistry
 */
function registry()
{
    return app(\Doctrine\Common\Persistence\ManagerRegistry::class);
}

If you're not using the same fork, then you can get the connection straight from the entity manager
$eventManager = EntityManager::getEventManager();

Thanks. I'm using the same fork (the l5 dev branch), but the issue was with the order in which I registered the providers. It's working now, many thanks!
This solution is so simple that integrating it into this project is unnecessary. Closing the issue.

Hey, I just open-sourced my Laravel-Doctrine solution in which adding custom types is as easy as adding them to the config:
https://github.com/patrickbrouwers/Laravel-Doctrine


Binary Search in C

Fixes #[Add issue number here."First steps for issues #IssueNumber]
Language:Binary Search implemented in C

Hi, @ArunaMaurya221B thanks for contributing.
Your Binary Search algorithm is actually being implemented in O(n). Please take a look at how exactly the algo is implemented and then share with us.
Keep Contributing

I'll definitely take a look and get back to you shortly

Aruna program should be modular, make a Binary-Search function.


Response time is missing in the response section

Response time is missing in the response section

Added response time.


arrays don't seem to work with updates

not sure what's going on, but i can't get it to work using the example you provided.

Can you show me your code? What does "don't work" mean?

sorry that was a terrible issue, i was writing it in a hurry. here's an example:
format('UPDATE %I SET channels = (%L) WHERE team_id=%L', 'teams', ['a', 'b'], 'cool')

What is the data type of channels?

channels is the text[] data type

This should work.
format('UPDATE %I SET channels = ARRAY(%L) WHERE team_id=%L', 'teams', ['a', 'b'], 'cool')

If you get a type error then try this.
format('UPDATE %I SET channels = ARRAY(%L)::text[] WHERE team_id=%L', 'teams', ['a', 'b'], 'cool')

Thanks for the response :-) still getting the hang of postgres. the first query worked with a slight modification:
- ARRAY(%L)
+ARRAY[%L]

Thanks for the help!


[zh] fix some translations error

Related issue: #31888
Change details:

content/zh/docs/concepts/cluster-administration/system-metrics.md
line 131 , '启用' changes to  '弃用'

content/zh/docs/reference/access-authn-authz/_index.md
Title '访问 API' changes to ‘API 访问控制'

/lgtm
/approve


Crash After Double Clicking a Directory

Explain the bug
When using files on my Zephyrus G14, the app always seems to crash without fail after double clicking on a directory with more than 2 folders/contents inside. After double clicking, the app will show the loading bar and then crash. Sometimes the app just freezes then crashes.
What's strange is, after turning on the option to open items with a single click, the app runs amazingly well and does not crash. Crashes only occur when I double click. I have a desktop that also has files however there seems to be no issue there when I double click on folder. It only occurs on my laptop.
To reproduce

Open Files App
Open  a system directory such as C: or D:
Open (Using double click) a folder such as Program Files or Windows (Any folder with more that 2 sub folders)
Crash

Expected behavior
I expect that the folders regardless of the contents would be loaded without crashing.
Log File
debug_fulltrust.txt
debug.txt
Screenshots
Not Applicable
System Information

OS Version: Windows 10 21H1 19043.1052
App version: v<IP_ADDRESS>

Additional comment
Only happens on my laptop and not my desktop

This issue should be fixed in latest code. To verify this is the same issue could you try to turn Off "Enable individual preferences for individual directories" in Settings > Files and Folders and see if it still crashes?

Thanks! Workaround 1 seemed to have fixed the issue. Glad to know that a fix is coming! Thanks so much

Glad it works.
For workaround 1 you may be able to set also Details view as layout (I'm not sure), the only limitation is that all folders will use the same layout mode.

I tried using details view and that's what I think is causing the crashing, I tried turning off the options on workaround 2 as well but with details view on, the whole program still crashes. As of right now I don't mind using other layout modes though!


initialized docker files

started working on the kubernetes / knative pattern.

Also we should add a build step for each container in the travis.yml, if anything to make sure it still builds with any changes up or down the stack.


Unlabelled header sections in "Plan a lesson"

I'm not sure I fully understand the usability issue here (might not be using a screen reader correctly) but the feedback is:

[ ] Add either aria-labels or aria-describedby attributes to the header elements to make them easier to identify.

https://www.notion.so/oaknationalacademy/The-multiple-header-elements-on-the-Plan-a-lesson-page-have-no-labels-associated-with-them-to-help-bb7ca83e27464d2f9eb9f285d4f316aa?pvs=4

moved to notion

moved to notion


Reduce gas usage, in particular when adding doge block headers

Background
The first naive approach to do a Doge->Eth bridge is to just port BtcRelay to Dogecoin. Then, scrypt can not be executed onchain.
So we have this DogeRelay+ScryptInteractiveVerification solution that we have been coding for months.
Problem
DogeRelay requires all new doge block headers to be submitted to it.
That costs:
1440 blocks per day x 300,000 unit of gas per block x 50gwei (gasPrice) x 1200 USD/eth =  USD 26k per day.
The DogeRelay code is missing some checks yet. Once we do that, I expect gas cost to increase to 350,000 per block, ie daily cost would go to USD 32k per day.
I have some ideas to optimize DogeRelay.

We don't need to store the entire doge block header (that means storing 40 bytes instead of 80 bytes per block header)
We could remove block headers older than 1 week as new blocks are added.
But still, an optimistic goal would be to reduce gas needed by 3.
As a reference BtcRelay consumes 200,000 gas per btc block header.

We might use a lower gas price... maybe 10gwei... it is just optimizing by 5.
Block submitters' incentive is they get a fee for every lock tx that is processed by DogeRelay.
They would have a daily cost of USD 3k to 32k and we don't expect fees to be that big.
Also, the cost is fixed but the reward is variable, that makes things to look less attractive for block submitters.
Solution

DogeRelay won't receive any doge blocks, just doge lock txs.
This info would be sent when sending a lock tx: doge tx + block hash where the tx was included + Partial Merkle Tree (SPV proof tx is included in the block).
That is the same information that is submitted nowadays.
We check onchain the doge tx is actually a lock tx and the SPV proof.
We implement interactive verification per tx: To verify the submitted block hash of the tx is part of the doge mainchain.
When a lock tx is submitted to DogeRelay, and a validator finds it is not included on doge mainchan, it would do a "pre-challenge". Then, the submitter would have to send the doge header where the tx is included + 100 doge headers on top of that one.
We can write a solidity program were we validate those 100 headers: We validate the Scrypt PoW of those 100 block headers, check the headers are connected, check that difficulty adjustments are ok, etc. That algorithm returns true/false.
Executing that program would consume around 300,000,000 x 100 unit of gas, so we implement an interactive verification of it.

Before doing this

Think whether the current scheme would work: Optimize DogeRelay gas usage further and expect lots of money flowing through the bridge.
Make sure the cryptoeconomics of a challenge/response game would work for a game of 30,000,000,000 unit of gas.
Think how we establish the difficulty we expect from those 100 blocks

More ideas...
We are doing some research on that part and we are designing a solution based on submitting a single merkle root of the hashes of the header every day or a long period. Then, the transactions should prove that they are tied to a submitted merkle root.

Still working on the "superblocks" design. News coming soon


zz takes up more space than a regular character

Note: this could well be a misunderstanding on my side: I found that zz produces a space that is wider than a single character. This made it hard to align some text, for example here:

The text for the above is:

kin la zz jan ante li moku e selo pakala pi (jan wawa) la

zz zz jan ante li ken kama jo e wawa sama

My expectation would be that zz takes the same width as a regular character. Thus if I used three zz on the second line, things would be aligned (one zz each for the kin, the la, and the zz in the first line)

Ahh, I think this is happening because of the spaces after zz. The fullwidth space currently has a space space ligature and a z z ligature. I'll add a z z space ligature in v4 to make it more consistent with how the ligatures for glyphs work.

Alright, this is ready in 4.0. Closing the ticket!


added buckets for authority round

Rename also “ DevPendingEpoch” to “PendingEpoch”.

And group all Aura buckets

Support was dropped


Increase size and add rounded corners to logo in header

The current logo in the top left corner of the website appears to be quite small and has square corners. This makes it less visually appealing and potentially difficult to see on smaller screens.
Suggestion:
Increase the size of the logo slightly to improve visibility.
Add rounded corners to the logo to create a more modern and user-friendly aesthetic.

@rajdesai17 Go ahead and work on it.

Nice work


Write a tutorial on how to run the end-to-end tests

Our end-to-end tests are very powerful but require a few steps to setup. We need to write a tutorial on how to run them and what results to expect.

Wrote a tutorial here: https://github.com/CatalystCode/3DStreamingToolkit/wiki/Running-functional-tests-tutorial. @phongcao please review when you can and we can close this

Looks awesome to me @anderm! Thanks a lot for helping me write this tutorial.

I'll merge this PR after adding the info about multi-clients test.

Wiki has been updated. Closing.