Android Studio 3.1 Canary 9

I've already created issue in the main spek repo (https://github.com/spekframework/spek/issues/354), seems here is a better place for it.
Spek plugin 0.5.4-studio3.0 fails to run tests.
Trying with sample https://github.com/spekframework/spek-android-example produces
Error running 'org.spekframework.speksample.CalculatorSpec': com.android.tools.idea.gradle.project.model.AndroidModuleModel.getSelectedVariant()Lcom/android/tools/idea/gradle/project/model/ide/android/IdeVariant;
This is very similar to the error which appeared with gradle sync-s in Studio Canary 3, https://stackoverflow.com/questions/47290290/android-studio-3-1-canary-3-gradle-sync-failed.

Basically, yes.
It worked with kotlinVersion=1.2.20 and plugin "org.jetbrains.kotlin:$kotlinVersion-release-Studio3.1-1.

Hi, there, so, what's the fix? is it going to be any update?
Thanks

I'm not keen on doing a release for a canary version.
On Mon, 5 Feb 2018, 9:57 PM Julio Yaguez<EMAIL_ADDRESS>wrote:

Hi, there, so, what's the fix? is it going to be any update?
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/raniejade/spek-idea-plugin/issues/64#issuecomment-363050852,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA_l_x8N0jkMExRlACUZRSZVVLdcL4Nbks5tRt6ygaJpZM4RyCBZ
.

--
Cheers,
Ranie Jade Ramiso
Software Engineer
w: http://polymorphicpanda.io

makes sense, would it be possible then, to have some instructions on how to compile it in the same way @yunikkk did, so anyone who wants to use the preview version of AS can use it?

./gradlew clean plugin-studio3.0:buildPlugin should do it, the plugin will be at plugin-studio3.0/build/distributions.

@raniejade HI, i just update AS 3.1.0. and suddenly i cannot run spek by using IDE. but still run when using command line. how to fix that?

I'm trying out a fix locally, but the jcenter outage is blocking me. Hopefully, this gets fixed soon.

@radityagumay @julioyg @yunikkk can you guys test this build out: https://drive.google.com/file/d/11BT-2alz6C6XxqZCAqggje1l1HvNxarl/view?usp=sharing.  It works for me, let me know if there are issues.

works for me

@raniejade hi, great.i will check that out and info to you soon!

I've tried the latest plugin from the link on above, but it fails with Test framework quit unexpectedly. Could anyone help to get the logs out?

My config is mannodermaus/android-junit5 + spec which is ok for ./gradlew test

@raniejade I got different error
Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/radityagumay/AndroidStudioProjects/Foo/GreateApp/app/libs/junit-platform-launcher-1.0.1.jar

@raniejade I got some error
Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/radityagumay/AndroidStudioProjects/Foo/GreateApp/app/libs/junit-platform-launcher-1.0.1.jar

@almozavr can you share you full config?
I use AS 3.1.0
classpath 'com.android.tools.build:gradle:3.1.0' ,
ext.kotlinVersion = '1.2.31'
I got
Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/radityagumay/AndroidStudioProjects/Foo/GreateApp/app/libs/junit-platform-launcher-1.0.1.jar

@radityagumay here it is
Gradle wrapper:
4.6
Dependencies versions
versions.android_gradle_plugin = '3.1.0'
//============================================== KOTLIN ============================================
versions.kotlin = '1.2.31'
versions.kotlin_runtime = "${versions.kotlin}-release-Studio3.1-1"
def kotlin = [:]
kotlin.stdlib = "org.jetbrains.kotlin:kotlin-stdlib-jre7:$versions.kotlin"
kotlin.reflect = "org.jetbrains.kotlin:kotlin-reflect:$versions.kotlin"
kotlin.test = "org.jetbrains.kotlin:kotlin-test:$versions.kotlin"
kotlin.gradle_plugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
//============================================ TESTS ===============================================
def test = [:]
test.spek = [:]
test.spek.api = 'org.jetbrains.spek:spek-api:1.1.5'
test.spek.engine = 'org.jetbrains.spek:spek-junit-platform-engine:1.1.5'

Buildscript Dependencies
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.0.31"

app's build.gradle
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: "de.mannodermaus.android-junit5"

android {
    compileSdkVersion build_versions.compile_sdk
    defaultConfig {
        applicationId "com.vodolazskiy.treellogin"
        minSdkVersion build_versions.min_sdk
        targetSdkVersion build_versions.target_sdk
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
        encoding "UTF-8"
    }
    sourceSets {
        main.java.srcDirs += "src/main/kotlin"
        test.java.srcDirs += "src/test/kotlin"
    }
    testOptions {
        junitPlatform {
            filters {
                engines {
                    include "spek"
                }
            }
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])

    //support
    implementation deps.support.appcompat
    implementation deps.support.annotations
    implementation deps.support.design

    //kotlin
    implementation deps.kotlin.stdlib

    //rx
    implementation deps.rx.android
    implementation deps.rx.java
    implementation deps.rx.rxbinding

    //mosby
    implementation deps.mosby.core
    implementation deps.mosby.queuing

    //kodein
    implementation deps.kodein.lib
    implementation deps.kodein.android

    //conductor
    implementation deps.conductor.lib

    //tests
    testImplementation(deps.test.spek.api) {
        exclude group: 'org.jetbrains.kotlin'
    }
    testCompileOnly(deps.test.spek.engine) {
        exclude group: "org.junit.platform"
        exclude group: "org.jetbrains.kotlin"
    }
    testImplementation junit5.unitTests()
    testCompileOnly junit5.unitTestsRuntime()
    testImplementation deps.kotlin.reflect
    testImplementation deps.kotlin.test

}

Perhaps, try updating junit-platform?

@raniejade i've been update like @almozavr answer but, still wont works.

here's my configuration
================== buildscript ====================
`buildscript {
ext.kotlinVersion = '1.2.31'
repositories {
jcenter()
maven { url "http://dl.bintray.com/jetbrains/spek" }
google()
}
dependencies {
classpath 'org.ow2.asm:asm:6.0'
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.1'
classpath 'org.jacoco:org.jacoco.core:0.8.0'
classpath 'com.android.tools.build:gradle:3.1.0'
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
    classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlinVersion"

    classpath "org.junit.platform:junit-platform-gradle-plugin:1.0.3"
    classpath "de.mannodermaus.gradle.plugins:android-junit5:1.0.31"
}

}
`
============= build.gradle ===============
`apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'org.sonarqube'
apply from: "$rootDir/coverage.gradle"
// junit5 doesn't support android projects out of the box
apply plugin: "de.mannodermaus.android-junit5"
android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion
defaultConfig {
    ...
}

lintOptions {
    abortOnError false
}

signingConfigs {
    ..
}

buildTypes {
    debug {
        testCoverageEnabled true
    }
}

testOptions {
    execution 'ANDROID_TEST_ORCHESTRATOR'
    animationsDisabled true

    unitTests.all {
        jacoco {
            includeNoLocationClasses = true
        }
    }

    junitPlatform {
        filters {
            engines {
                include "spek"
            }
        }
    }
}

sourceSets {
    main.java.srcDirs += 'src/main/kotlin'
    test.java.srcDirs += 'src/test/kotlin'
    androidTest.java.srcDirs += 'src/androidTest/kotlin'
}

}
dependencies {
testImplementation(testLibraries.spek) {
exclude group: "org.jetbrains.kotlin"
}
testImplementation(testLibraries.spekEngine) {
exclude group: "org.junit.platform"
exclude group: "org.jetbrains.kotlin"
}
testImplementation testLibraries.junitEngine
testImplementation testLibraries.kotlinReflect
testImplementation testLibraries.junit
testImplementation testLibraries.mockitoCore

testImplementation testLibraries.assertj
testImplementation testLibraries.assertk

testImplementation(testLibraries.nhaarman) {
    exclude group: 'org.jetbrains.kotlin'
}

androidTestImplementation testLibraries.mockitoCore
androidTestImplementation testLibraries.dexMakerMockito
androidTestImplementation(testSupportDependencies.espressoCore) {
    exclude group: 'com.android.support', module: 'support-annotations'
}
androidTestImplementation(testSupportDependencies.espressoIntents) {
    exclude group: 'com.android.support', module: 'support-annotations'
}
testImplementation testLibraries.mockWebServer

//https://developer.android.com/topic/libraries/testing-support-library/release-notes.html#espresso_302-alpha1_runner_102-alpha1_rules_102-alpha1_androidtestorchestrator_102-alpha1_2017-12-05
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test:rules:1.0.1'

androidTestUtil 'com.android.support.test:orchestrator:1.0.1'

}`
@raniejade @almozavr

@radityagumay that means the plugin is not loaded.  Can you guys dump what versions of JUnit Platform are you using?  The plugin works with this project: https://github.com/spekframework/spek-android-example

@radityagumay you're missing
testImplementation junit5.unitTests()
testCompileOnly junit5.unitTestsRuntime()

Note, it's not a custom dependency, but a function from de.mannodermaus.android-junit5 plugin.

@almozavr is it working for you? or is there a dexing error?

@raniejade plugin works pretty fine 👍


Bug report: Add 'm365' in the documentation for 'spo knowledgehub remove' for consistency

Description
Documentation details for the command spo knowledgehub remove  does not follow the standard command which is prefixed by m365.
THIS IS the documentation which is being referred
Steps to reproduce

Open the command documentation for spo knowledgehub remove.
The command is mentioned as spo knowledgehub remove

Expected result

The command is supposed to be m365 spo knowledgehub remove .
THIS COMMAND could be viewed for reference

Actual result

The command is supposed to be m365 spo knowledgehub remove .

Environment

N/A

Hello all - Please feel free to assign it to me if you guys are fine with that.


Environment of generic resources cannot be changed in resource table

Generic resources default to unpressurized environment and cannot be changed in the GUI table presentation.

This is a broader issue where the environment of generic resources cannot be serialized to the existing spreadsheet data format.


Improve structure of generated docs

This updates the View documentation to match the ViewModifier documentation. Now both are single pages with each View/Modifier as a heading.
Documentation for types and arguments are found at the bottom of each page.
https://github.com/user-attachments/assets/15e5c201-c393-4c52-9ddd-03e28f46522e

This is great, I was working on something similar but got stalled out prior to ElixirConf so thanks for tackling this!


Kentico unit tests throw null reference exception when ASP.NET Core 6 project has this nuget package installed

A null reference exception is thrown when running unit tests with the test class inheriting from the Kentico libraries test base class 'UnitTests' and referencing an ASP.NET CORE 6 project with this NuGet package installed.
    [TestFixture]
    public class Tests : UnitTests
    {
        [Test]
        public void Test1()
        {
            Assert.Pass();
        }
    }

This exception will not get thrown when removing this Nuget package from the ASP.NET CORE 6 project.
Hotfix version: 13.0.68

Thank you @ttlaare . I'll take a look at this.

Hiya @ttlaare , this issue is fixed in v13.0.7. It was caused by the module trying to initialize with a null configuration parameter.
https://www.nuget.org/packages/KenticoCommunity.StagingConfigurationModule/13.0.7
Here's the PR.
https://github.com/heywills/StagingConfigurationModule/pull/11
Will you let me know if it works for you?

Hi @heywills. Unit tests are running successfully now, so this is issue is fixed. Thanks!


Client-side MinimumLength always fails

The MinimumLengthValidator makes use of StringLengthFluentValidationPropertyValidator.
The StringLengthFluentValidationPropertyValidator will always return a ModelClientValidationStringLengthRule (which calls the rangelength jquery validate method).
It passes the specified minimumLength parameter as the minimumLength, and -1 as the maxLength.
The rangelength jquery validate method's validation logic is as follows;
length >= {minimumLength} && length <= {maximumLength}.
As such, the input length is never going to be <= -1.
The logic in StringLengthFluentValidationPropertyValidator needs to check if the validator is a MinimumLengthValidator, and return a ModelClientValidationMinLengthRule (Similar to what it does to select the right error message), so that the minlength jquery validate method is called.
I haven't checked the MaximumLengthValidator - but it could suffer from the same issue.
E.g. change
...
yield return new ModelClientValidationStringLengthRule(message, LengthValidator.Min, LengthValidator.Max);

to
...
ModelClientValidationRule rule;
if (lengthVal is MinimumLengthValidator)
    rule = new ModelClientValidationMinLengthRule(message, LengthValidator.Min);
else if (lengthVal is MaximumLengthValidator)
    rule = new ModelClientValidationMaxLengthRule(message, LengthValidator.Max);
else
    rule = new ModelClientValidationStringLengthRule(message, LengthValidator.Min, LengthValidator.Max);
yield return rule;

Thanks, I believe I fixed this recently in the asp.net core integration, but I missed it in the mvc5 integration. I've checked in your change and it'll be part of the next release.
Thanks again for catching this.

7.1-beta1 is released with this change.


add superclass to 'congenital myasthenic syndrome 14'

close #6885

@sabrinatoro this is failing becasue this is an OMIM subsuming another OMIM term. This was a request from ClinGen, this will take some investigation into how to properly address this. Maybe we should discuss on a curation call?

Discussed on the curation call. @nicolevasilevsky will contact the requesters.

I confirmed with ClinGen that this classification is correct, this is ready for review.


Apiserver fails to start when tokens.csv is supplied and AssetsEncryptionEnabled is false

If a non-empty tokens.csv file is supplied, then the AssetsConfig.HasAuthTokens is fulfilled and the file is copied to /etc/kubernetes/auth/tokens.csv.tmp
The /opt/bin/decrypt-assets is only constructed when AssetsEncryptionEnabled is fulfilled and within that section is the section to copy the tmp file back to its correct tokens.csv form
So, if the AssetsEncryptionEnabled is not fulfilled, the apiserver cannot find the tokens file and will not start
A workaround was to force the asset copy part by
{{if or .AssetsEncryptionEnabled .AssetsConfig.HasAuthTokens}}
  - path: /opt/bin/decrypt-assets

and
{{- if or .AssetsEncryptionEnabled .AssetsConfig.HasAuthTokens}}
ExecStartPre=/opt/bin/decrypt-assets
{{- end}}

But this seems clumsy and incorrect and it seems that the decryption and hastokens components should be separated

Thanks for bringing this up.
/assign


Configure CI

Set the repository to build when a new commit arrives with Travis CI and auto deploy to Firebase Hosting the new version

Issue created just to keep the record of


adding connection timeout in secs with default value 10 secs

adding connection timeout when opening socket to the device as an optional value with default 10 secs. Relates to #171
small code formatting. Sorry for that, my IDE insists on this
please add or review python code / sample if we maybe need to describe it in more details

ApiClient::new(tapo_username, tapo_password)?

Yes, you are right, its probably more clean usage as you describe. But its much more difficult to implement as the ApiClient does not store client directly but protocol. And this is immutable and private.This would need bigger re-factoring.
In the current ApiClient::new there is HttpClient builder where we can set the timeout. And the timeout_secs is an optional value. Not mandatory.

I updated one python example tapo_p100.py with shorter timeout than defualt 10secs. I used 3 secs. Its optional value and default value is 10 secs as you suggested

I went ahead and did the refactor. It was a pain indeed, as you've assumed it would be. But it was worth it, as it has enabled me to get rid of a Result as well.
After a rebase from the main, adding a set_timeout function to the ApiClient should be trivial.
I've ended up going with a default of 30 seconds for the timeout, as it's a more typical value than 10 seconds.

I have rebased to your latest main. I feel i broke it. Let me analyze this in more details

I updated the rust API. Not sure how we can test python code to make sure it works. Do you like way of Rust and Python API is designed now?

Nice. This is a lot more ergonomic.
Maybe it should be called with_timeout or just timeout instead of set_timeout, considering it follows the builder pattern that returns Self?
The Python wrapper has examples that can be run like this.

I followed you style of setting params. Let me know if it make sense

Shouldn't the Python wrapper follow the same behavior of the Rust API with the with_timeout instead of having timeout in the constructor?

How is this pull request going along? I would really like to see this feature as soon as possible.
Let me know if I can help somewhere by contributing to this issue

Sorry for the long delay; work got in the way.
I've mulled this over and decided to go with your suggestion. While I would like the Python API to remain as consistent as possible with the Rust one, I find it worthwhile to diverge in some cases to make it Pythonic.

@mihai-dinculescu  thanks for merging. Can you please release new version with python as well? I wish to have it in my project. Thanks

It's been released.


Upgrade tests to prevent regression

This issue tracks the improvement of upgrade test for preventing regression as noted in:
We should add a step where we run integration tests on the older server version (before upgrading the server). This will address the first type of regression detailed here. When we do make a breaking change purposefully (after deprecating a field), I would imagine we'd remove tests for this functionality, so I don't think adding this check would stop us from removing deprecated fields.
https://github.com/tektoncd/pipeline/issues/5193#issue-1313586664

/assign

/lifecycle frozen

the first type of regression detailed here.

@JeromeJu could you describe what the regression we are trying to catch is?


bugfix: transfer shows address twice

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[x] Bugfix
[ ] Feature
[ ] Refactoring

What's new?

[x] PR closes #3353
[ ] Requires deployment <rubick/magick_issue>
[ ] <brief_description_of_what_I've_added>

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[x] I've tested it at </transfer?target=EgCzZLpVe7zg7RHh79qPyC8UrykVkA22YY2oj7sWMZf15Ws>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[ ] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

pay 50

hey seems this PR introduced some bug tho, which was fixed in #3369
but rewarding your effort tho! :)
pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 52.58 USD/KSM ~ 0.571 $KSM
🧗 EgCzZLpVe7zg7RHh79qPyC8UrykVkA22YY2oj7sWMZf15Ws
🔗 0x9b8e70568c8f7ebf7aca4efe6b80bab2ccf5607546a1e244134111b84018d154
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Pipeline: support io task thread pool

What problem does this PR solve?
Issue Number: ref #6518 close #7222
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests

/cc @ywqzzy @windtalker @zanmato1984

/rebuild

/merge


Termux can't lock archive files

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2021.12.01. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
When run on Termux with --download-archive, yt-dlp fails and exits with error when archive file exists. Otherwise it seems to create but not write the archive.
Android 11, Termux 0.117.
Verbose log
$ touch example
$ yt-dlp -Uv --download-archive example https://youtube.com/
[debug] Command-line config: ['-Uv', '--download-archive', 'example', 'https://youtube.com/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.01 [91f071af6]
[debug] Python version 3.10.0 (CPython 64bit) - Linux-4.14.190-perf-g6879b1d702f2-dirty-aarch64-with-libc
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] Loading archive file 'example'
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/bin/yt-dlp", line 8, in <module>
    sys.exit(main())
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/yt_dlp/__init__.py", line 823, in main
    _real_main(argv)
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/yt_dlp/__init__.py", line 784, in _real_main
    with YoutubeDL(ydl_opts) as ydl:
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 670, in __init__
    preload_download_archive(self.params.get('download_archive'))
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 660, in preload_download_archive
    with locked_file(fn, 'r', encoding='utf-8') as archive_file:
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/yt_dlp/utils.py", line 3594, in __enter__
    _lock_file(self.f, exclusive)
  File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/yt_dlp/utils.py", line 3571, in _lock_file
    fcntl.flock(f, fcntl.LOCK_EX if exclusive else fcntl.LOCK_SH)
OSError: [Errno 38] Function not implemented

A bit of searching revealed another user with the same issue: https://old.reddit.com/r/youtubedl/comments/ohz2op/downloadarchive_not_working_with_termux/
It would seem that Android 11 includes security updates that limit which actions an app can perform on certain paths by default. There's a post with a work-around in the reddit thread above, and more information/suggestions on the Termux wiki: https://wiki.termux.com/wiki/FAQ#How_can_I_access_device_storage_with_Termux

Does the download work fine? If so, seems "scoped storage" is allowing us to write files, but not lock them. We could try to make the locking non-fatal. But I don't have an android 11 device to test. So a PR will be needed
Tangentially related: https://github.com/yt-dlp/yt-dlp/pull/1066

@Zirro fantastic, well found :) didn't occur to me to search outside of here.
@pukkandan Yes, the download works, and i suspect that's exactly what's happening, it feels right.
As a test, is there a function I can call in the Python repl to attempt to lock a file and see if it fails? Maybe something in fcntl? I'm not a Python hacker, but can do that much.


IMAP Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate

After the three containers are started I get the following message
parsedmarc_1     |    ERROR:cli.py:696:IMAP Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1131) dmarc-visualizer_parsedmarc_1 exited with code 1
That is weird because my mailserver has no self-signed-certificate, but a genuine one which expires somewhere late october.
My parsedmarc.ini settings are:
[general]
save_aggregate = true
save_forensic = true
output = /output/

[imap]
host = mailserver.domain.tld
WRONG_VERSION_NUMBER]
port = 993
user =<EMAIL_ADDRESS>password = password
watch = true
reports_folder = INBOX

[elasticsearch]
hosts = elasticsearch:9200
ssl = false

Setting ssl = False and skip_certificate_verification = True  makes no difference.
Any reason why parsedmarc does not start and gives this error?

Same here with an validated wildcard cert .
ERROR:cli.py:696:IMAP Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:877)

Do you use port 993? Do you have special characters in your password?

my solution is in cli.py ssl verify in #668 and #729 to False . Then it works !

Do you use port 993? Do you have special characters in your password?

I use port 993 and have not specials chars in my password.

my solution is in cli.py ssl verify in #668 and #729 to False . Then it works !

Where did you find this file? I cannot use the shell in the container because it keeps restarting...

After some caching error with a reset password I get the following error:
parsedmarc_1     |    ERROR:cli.py:696:IMAP Error: socket error: EOF
dmarc-visualizer_parsedmarc_1 exited with code 1

What is this? It used to work before I reset everything (except the settings etc).

I don't use the container files. I don't like docker containers , very Inflexible.  I have build it like this: https://www.linuxbabe.com/mail-server/parsedmarc-ubuntu-18-04-16-04 and then connect with a grafana instance, that runs since years for me.

cli.py is located in parsedmarc build


Replace requests docs url with official one

(Very) small fix for the documentation url - the one in the docs is no longer maintained and the site is broken.

Thanks for the PR...I missed the notification, so didn't realize it was there :/


Checkout Windows Security Baselines

Checkout Windows Security Baselines
Source:

https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-security-baselines

Really not for Home use. Leave it at that. CIS is enough.

Going to revisit this issue: https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-security-configuration-framework/windows-security-configuration-framework

And closed again. No real added value in regard to CIS benchmarks, and there is no easy way to test this.


If given key fails base64 decoding, attempt operation on raw string as key

For the ascii-compatible keys, allow reading/writing without base64 encoding

Took a different route to fix instead: now encoding keys as hex strings as it is more human-readable in the case of chunk locations and types, and it's the most sane way I could think of to have url-friendly key representations


About jupyter notebook

This work is thrilling! I'm curious if I could ask some questions about the notebook, as there are only a few annotations.
would you like to show what we should change and what we need？ I am stuck in the !python -m torch.distributed.launch --nproc_per_node=$n_gpu --master_port=$MASTER_PORT $(which unicore-train) $data_path --task-name $task_name --user-dir ../unimol --train-subset train --valid-subset valid \ and may I install something of unicore-train？

It appears to be the notebook for predicting molecular properties, and it is a local notebook. One can run it in the Uni-Mol environment. And the environment configuration can be found at https://github.com/dptech-corp/Uni-Mol/tree/main/unimol#dependencies.

Thanks! I've successfully installed the unimol library and rdkit (2022), but I'm still encountering an issue where the path automatically appends "/Usage" after the command. I copied the entire repository to my HPC and tried running it locally. I believe I installed unimol in a Docker container, but I'm not sure why this issue persists.
the warnings.warn(
/ext3/miniconda3/bin/python: can't open file '/scratch/yannynyu/unimol/Uni-Mol/unimol/notebooks/Usage:': [Errno 2] No such file or directory
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 2) local_rank: 0 (pid: 485347) of binary: /ext3/miniconda3/bin/python
Traceback (most recent call last):
File "/ext3/miniconda3/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/ext3/miniconda3/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/ext3/miniconda3/lib/python3.10/site-packages/torch/distributed/launch.py", line 196, in
main()
File "/ext3/miniconda3/lib/python3.10/site-packages/torch/distributed/launch.py", line 192, in main
launch(args)
File "/ext3/miniconda3/lib/python3.10/site-packages/torch/distributed/launch.py", line 177, in launch
run(args)
File "/ext3/miniconda3/lib/python3.10/site-packages/torch/distributed/run.py", line 785, in run
elastic_launch(
File "/ext3/miniconda3/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 134, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "/ext3/miniconda3/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 250, in launch_agent
raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
Usage: FAILED
Failures:
<NO_OTHER_FAILURES>
Root Cause (first observed failure):
[0]:
time      : 2023-04-05_00:01:05
host      : cs052.hpc.nyu.edu
rank      : 0 (local_rank: 0)
exitcode  : 2 (pid: 485347)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html

As in issue 106, you can try running the finetuning for property prediction tasks on our Borium notebook for unimol_property_predict without the need to configure the environment.


cmd/dist: list all valid combinations of GOOS and GOARCH

To easier write tooling for cross compiling it would be good to programmatically get the possible combinations of GOOS and GOARCH.
The only reference I can find is at http://golang.org/doc/install/source#environment
In addition, go help environmentonly gives examples; andgo help build and go help installdoes not mention GOOS and GOARCH.

I've wanted this too for the Go builders.

See also my comment on https://go-review.googlesource.com/#/c/14272/ where the map of GOOS/GOARCH pairs supporting cgo is duplicated.
That could move to this internal package.
/cc @minux

so the plan is to move go/build/syslist.go file and cgoEnabled slice into a
new toplevel internal package and also add a list of currently supported
platforms.
The problem is that cmd/dist is first build with the bootstrap compiler, and
I don't how to make that pick up our new internal package.
I have another idea:
we can make cmd/dist be the single point of truth, and generate
go/build/zcgo.go
for the go/build package.

Hmm, I don't think the CL satisfy me.
(not tested! sorry!)
Please consider platforms: "nacl_amd64", "linux_s390"

Both of two are supported by go (build) command and go/build package.
gccgo support "linux_390", but gc doesn't.
gccgo and gc doesn't support "nacl_amd64".

My point is:

Build contexts and compiler supported contexts are different concepts.
Compiler supported contexts are part of build contexts.
Compiler supported contexts are different per implementations.

Maybe there are wrong assumptions, if so, please feel free to correct me.
Thank you.
hiro

That CL is only the first step towards fixing this.
It first centralizes the information to just one place.
And note that all the entries in the cgoEnabled map
are currently supported platforms (at the time the
CL was proposed.)

Where is plan9?

Let me amend what I said.
The goal is to have every supported platform appear
as key in the map.

gccgo?

The gccgo story will be figured out by gccgo maintainers.
cmd/dist is only for gc.
And note that gc can build for any target supported, but
for gccgo you actually need to build and install a separate
gccgo for any platform you need.

And note that gc can build for any target supported, but for gccgo you actually need to build and install a separate gccgo for any platform you need.

Hmm, is this mean gccgo isn't able to cross compile? or need to compile libgo per platforms?
Anyway, I think runtime package is appropriate place to put compiler-dependent information.
What do you think?
Thank you.
hiro

For example, if you have gccgo for linux/amd64 target, then it's not
possible to build Go programs for solaris/amd64 with that gccgo.
You will have to install a gccgo specific for solaris/amd64.
I don't think the runtime should contain information about supported
platforms.
For one, it's quite reasonable for gc compiled programs to want to
know which platform does gccgo support.  The
property is fundamentally a property of the toolchain, so it should be
part of the toolchain, not part of the compiled programs.

Finally, I am convinced by your suggestion.
I still think cgoEnabled should be different per implementations in go/build package.
But it's a different issue.
I also suggest cmd/api should be updated after you reaching the goal.
func defaultContexts() []*build.Context {
  switch runtime.Compiler {
  case "gc":
    return xxx // import from go tool dist list
  case "gccgo":
    return []*build.Context{build.Default} // only build.Default is needed, because of your suggestion.
  }
}

Thank you for your kindness responses.
hiro


InjectJavaScript on Android(no one of existing issues could help)

Bug description:
Hi, everyone! I'm trying to send data from RN to Web, it works fine on iOS, but does nothing for Android. I've spent 16 hours to read everything that is written here in issues and all over the internet and tried every variant, but Android doesn't want to work.
Reciving data from Web works also fine for both iOS and Android, trouble is only with sending to Web from Android. I tried IIFE, strings, JSON.stringify, all kinds of injects, postMessages, everything that I found. I'm done and look forward to your help!)
To Reproduce:

Expected behavior:

Screenshots/Videos:
My Web hook

My RN code(It's just final variant I've stopped on, i tried many of other ones)

My WebView Component

Environment:

OS: Android
OS version: Android 12
react-native version: "0.68.2"
react-native-webview version: "0.17.7"

Small note:

react-native-webview version: "0.17.7"

There was never such a version AFAIK. The current version is 11.22.4.

Small note:

react-native-webview version: "0.17.7"

There was never such a version AFAIK. The current version is 11.22.4.

Yep, thanks! I corrected the issue. My version actually is 11.22.3

TheAlmightyBob

@TheAlmightyBob any ideas? Maybe you have 100% working example of injecting JS? Which works both for iOS and Android

@TheAlmightyBob Thank you, sir! Im gonna try to use some previous versions next time, because for now, Ive already rewritten everything into Web code to avoid comunication between RN and WebView using JS

Hi, I solved my problem with in another way, not using JSinjections. But, I can see in comments that changing library version gonna help. So, yes, close this issue. Thank you


1.0 Warnings in log window

Playing is working (mp4 file, h264, AAC)
But get warnings.

Sony Bravia 32W705B
Windows 7 64bit
all tested files streams OK
But
i see same errors (in picture dimitrov-adrian) + each time i start/stop server or reboot PC.. TV add new tab with server name to tv media player... like i have another runned SimpleDLNA
Full log..
2015-02-18 02:25:51,079 NOTICE [  1] HttpServer                     - Running HTTP Server: WIN64/6.1 UPnP/1.0 DLNADOC/1.5 sdlna/1.0 on port 51752
2015-02-18 02:25:51,157 NOTICE [  1] SsdpHandler                    - SSDP service started
2015-02-18 02:25:52,280   INFO [  6] FileStore                      - FileStore at C:\Users\User\AppData\Local\SimpleDLNA\sdlna.cache is ready
2015-02-18 02:25:53,075   INFO [ 10] FFmpeg                         - Found ffmpeg.exe at C:\Program Files (x86)\Nils Maier\ffmpeg\bin\ffmpeg.exe
2015-02-18 02:25:53,247 NOTICE [  6] HttpServer                     - New mount at: http://<IP_ADDRESS>:51752/mm-1/description.xml
2015-02-18 02:25:53,247 NOTICE [  6] State                          - My Movies loaded in 1,83 seconds
2015-02-18 02:25:54,760   INFO [ 12] HttpClient                     - <IP_ADDRESS>:59547 - 200 response for /mm-1/description.xml
2015-02-18 02:25:54,760   INFO [ 11] HttpClient                     - <IP_ADDRESS>:59548 - 200 response for /mm-1/description.xml
2015-02-18 02:25:54,760   INFO [ 14] HttpClient                     - <IP_ADDRESS>:35349 - 200 response for /mm-1/description.xml
2015-02-18 02:25:54,776   INFO [ 13] HttpClient                     - <IP_ADDRESS>:59549 - 200 response for /mm-1/contentDirectory.xml
2015-02-18 02:25:54,776   INFO [ 13] HttpClient                     - <IP_ADDRESS>:35350 - 200 response for /mm-1/contentDirectory.xml
2015-02-18 02:25:54,776   INFO [ 13] HttpClient                     - <IP_ADDRESS>:59551 - 200 response for /mm-1/connectionManager.xml
2015-02-18 02:25:54,776   INFO [ 14] HttpClient                     - <IP_ADDRESS>:59550 - 200 response for /mm-1/contentDirectory.xml
2015-02-18 02:25:54,807   INFO [ 14] HttpClient                     - <IP_ADDRESS>:59552 - 200 response for /mm-1/MSMediaReceiverRegistrar.xml
2015-02-18 02:25:54,823   INFO [ 14] HttpClient                     - <IP_ADDRESS>:35351 - 200 response for /mm-1/connectionManager.xml
2015-02-18 02:25:54,823   INFO [ 13] HttpClient                     - <IP_ADDRESS>:59553 - 200 response for /mm-1/connectionManager.xml
2015-02-18 02:25:54,854   INFO [ 14] HttpClient                     - <IP_ADDRESS>:59555 - 200 response for /mm-1/description.xml
2015-02-18 02:25:54,854   INFO [ 14] HttpClient                     - <IP_ADDRESS>:59556 - 200 response for /mm-1/contentDirectory.xml
2015-02-18 02:25:54,869   INFO [ 14] HttpClient                     - <IP_ADDRESS>:59557 - 200 response for /mm-1/connectionManager.xml
2015-02-18 02:25:54,869   INFO [ 14] HttpClient                     - <IP_ADDRESS>:59558 - 200 response for /mm-1/MSMediaReceiverRegistrar.xml
2015-02-18 02:25:55,057   INFO [ 13] HttpClient                     - <IP_ADDRESS>:59554 - 200 response for /mm-1/control
2015-02-18 02:25:55,057   INFO [ 14] HttpClient                     - <IP_ADDRESS>:35352 - 200 response for /mm-1/control
2015-02-18 02:25:55,088   INFO [ 13] HttpClient                     - <IP_ADDRESS>:59560 - 200 response for /mm-1/description.xml
2015-02-18 02:25:55,088   INFO [ 13] HttpClient                     - <IP_ADDRESS>:59561 - 200 response for /mm-1/contentDirectory.xml
2015-02-18 02:25:55,088   INFO [ 13] HttpClient                     - <IP_ADDRESS>:59562 - 200 response for /mm-1/connectionManager.xml
2015-02-18 02:25:55,103   INFO [ 13] HttpClient                     - <IP_ADDRESS>:59563 - 200 response for /mm-1/MSMediaReceiverRegistrar.xml
2015-02-18 02:25:55,275   INFO [ 14] HttpClient                     - <IP_ADDRESS>:59559 - 200 response for /mm-1/control
2015-02-18 02:25:55,291   INFO [ 13] HttpClient                     - <IP_ADDRESS>:35353 - 200 response for /mm-1/control
2015-02-18 02:25:55,478   INFO [ 13] HttpClient                     - <IP_ADDRESS>:59564 - 200 response for /mm-1/control
2015-02-18 02:25:55,493   INFO [ 13] HttpClient                     - <IP_ADDRESS>:35354 - 200 response for /mm-1/control
2015-02-18 02:25:55,509   INFO [ 14] HttpClient                     - <IP_ADDRESS>:59565 - 200 response for /mm-1/description.xml
2015-02-18 02:25:55,525   INFO [ 13] HttpClient                     - <IP_ADDRESS>:59566 - 200 response for /mm-1/contentDirectory.xml
2015-02-18 02:25:55,525   INFO [ 14] HttpClient                     - <IP_ADDRESS>:59567 - 200 response for /mm-1/connectionManager.xml
2015-02-18 02:25:55,556   INFO [ 13] HttpClient                     - <IP_ADDRESS>:59569 - 200 response for /icon/largePNG
2015-02-18 02:25:55,743   INFO [ 14] HttpClient                     - <IP_ADDRESS>:59568 - 200 response for /mm-1/control
2015-02-18 02:25:55,961   INFO [ 14] HttpClient                     - <IP_ADDRESS>:59570 - 200 response for /mm-1/control
2015-02-18 02:25:56,180   INFO [ 14] HttpClient                     - <IP_ADDRESS>:59571 - 200 response for /mm-1/control
2015-02-18 02:25:58,099   INFO [ 14] HttpClient                     - <IP_ADDRESS>:59572 - 200 response for /mm-1/control
2015-02-18 02:25:58,301   INFO [ 14] HttpClient                     - <IP_ADDRESS>:59573 - 200 response for /mm-1/control
2015-02-18 02:26:07,880   INFO [  9] HttpServer                     - Unregistered Media Server 6e6c6473-6661-2173-2043-4f4d504c455e
2015-02-18 02:26:10,984  ERROR [ 10] FileStore                      - Failed to serialize an object of type NMaier.SimpleDlna.FileMediaServer.VideoFile
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'SQLiteCommand'.
at System.Data.SQLite.SQLiteCommand.CheckDisposed()
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at NMaier.SimpleDlna.FileMediaServer.FileStore.MaybeStoreFile(BaseFile file)
2015-02-18 02:26:11,031  ERROR [ 10] VideoFile                      - Failed to look up subtitle
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'SQLiteCommand'.
at System.Data.SQLite.SQLiteCommand.CheckDisposed()
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at NMaier.SimpleDlna.FileMediaServer.FileStore.MaybeStoreFile(BaseFile file)
at NMaier.SimpleDlna.FileMediaServer.VideoFile.get_Subtitle()
2015-02-18 02:26:21,046  ERROR [ 10] FileStore                      - Failed to serialize an object of type NMaier.SimpleDlna.FileMediaServer.VideoFile
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'SQLiteCommand'.
at System.Data.SQLite.SQLiteCommand.CheckDisposed()
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at NMaier.SimpleDlna.FileMediaServer.FileStore.MaybeStoreFile(BaseFile file)
2015-02-18 02:26:21,046  ERROR [ 10] VideoFile                      - Failed to look up subtitle
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'SQLiteCommand'.
at System.Data.SQLite.SQLiteCommand.CheckDisposed()
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at NMaier.SimpleDlna.FileMediaServer.FileStore.MaybeStoreFile(BaseFile file)
at NMaier.SimpleDlna.FileMediaServer.VideoFile.get_Subtitle()
2015-02-18 02:26:31,061  ERROR [ 10] FileStore                      - Failed to serialize an object of type NMaier.SimpleDlna.FileMediaServer.VideoFile
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'SQLiteCommand'.
at System.Data.SQLite.SQLiteCommand.CheckDisposed()
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at NMaier.SimpleDlna.FileMediaServer.FileStore.MaybeStoreFile(BaseFile file)
2015-02-18 02:26:31,061  ERROR [ 10] VideoFile                      - Failed to look up subtitle
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'SQLiteCommand'.
at System.Data.SQLite.SQLiteCommand.CheckDisposed()
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at NMaier.SimpleDlna.FileMediaServer.FileStore.MaybeStoreFile(BaseFile file)
at NMaier.SimpleDlna.FileMediaServer.VideoFile.get_Subtitle()
2015-02-18 02:26:41,076  ERROR [ 10] FileStore                      - Failed to serialize an object of type NMaier.SimpleDlna.FileMediaServer.VideoFile
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'SQLiteCommand'.
at System.Data.SQLite.SQL

Yeah, seems like the background cacher tries to insert things into the cache DB after the DB itself was already shut down. Besides these pesky warning, this shouldn't have any effect, tho.
Still, I'll look into it and fix it when I get some time.

PS: That was targeted at @VikPC of course. @VikPC in the future, please do not hijack other people's issues, but instead file a new one.

I think that this problem is caused by the GUI's Config.cache setting. This setting is supposed to store a folder name, but in FormMain's constructor it is treated like a filename (line 94). This eventually causes FileServer to open a FileStore with a folder rather than a file, which will fail.


[SPARK-39979][SQL][FOLLOW-UP] Make spark.sql.execution.arrow.useLargeVarTypes as an internal configuration

What changes were proposed in this pull request?
This PR is a followup of https://github.com/apache/spark/pull/39572 that hides the spark.sql.execution.arrow.useLargeVarTypes configuration as an internal configuration.
Why are the changes needed?
As described in https://github.com/apache/spark/pull/41569, this feature only works for mapInArrow, and other cases cannot be completely supported because of Arrow side limitation, see https://github.com/apache/arrow/issues/35289. Therefore, this PR hides this configuration as an internal one for now.
Does this PR introduce any user-facing change?
No, this configuration was not released out yet.
How was this patch tested?
Ran the Scala linter.

cc @Kimahriman for a look.

LGTM


[WFLY-18120] Split LayersTestCase tests of wildfly-ee feature pack la…

…yers from tests of wildfly feature pack layers
https://issues.redhat.com/browse/WFLY-18120

@bstansberry the one failure we have is in the LayersTestCase on the Preview run, I assume likely related?

@darranl Should be fixed. The failed test was redundant.


[release-1.8] (cherry-pick) add integration test for audit policy

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[X] Policies and Telemetry
[X] Security
[X] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[X] Does not have any changes that may affect Istio users.

@xulingqing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-distroless-k8s-tests_istio_release-1.8
5273263d7e47edd5421d7186722cd6aa49e78640
link
/test integ-distroless-k8s-tests_istio_release-1.8

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

/retest

Thanks A Lot! 😁


Issue: receiveCompletion or receiveValue not being called in Swift for createFuture

Here a simple replication scenario:
Dependencies:
nativecoroutines: 1.0.0-ALPHA-30
ksp: 1.9.24-1.0.20
coroutines: 1.8.1
kotlin: 1.9.24
Kotlin:
@NativeCoroutines
suspend fun simpleFunc(): String {
     delay(2000)
     return "is working"
}

Swift:
let future = createFuture(for: SimpleFuncNativeKt.simpleFunc())

// Now use this future as you would any other
let cancellable = future.sink { completion in
    print("Received completion: \(completion)")
} receiveValue: { value in
    print("Received value: \(value)")
}

Issue:
receiveCompletion or receiveValue will never get called. It seems the integration is not working as expected.
same applies for createPublisher and Flow

Hi! Are you storing the cancellable somewhere permanent?
When using Combine it's important to keep a reference to the cancellable as publishers are otherwise immediately cancelled.

Hi! Are you storing the cancellable somewhere permanent?
When using Combine it's important to keep a reference to the cancellable as publishers are otherwise immediately cancelled.

Yes you are right! Cancellable should be defined outside of the function scope wheresink is called for example in class scope. Could be nice to mention it in the example of README file for beginners like me who not much proficient in iOS development and came from Android background.


Frontend Web Dev : HTML Links and Images

I'm an open source contributor and participated in GWOC as a contributor. I have good knowledge regarding HTML and its Tags
I can works on this issue
1 Discussion about anchor("a") tag and its uses
2 Discussion about "img" tag in details with the demo
Can mentors assign me for this issue please ?

I want to work on this issue......

I want to work on this issue.

via documentation

I want to make audio content on this, May I ?

Lavleen Agrawal (Batch 18 - Frontend)

I want to work on this issue......

via either documentation or audio or video

I want to contribute on this issue via documentation or video

@praveenscience I want to make video content on this, May I ?
Lavleen Agrawal (Batch 18 - Frontend)

Hi @praveenscience Sir, This is Titas Nath(batch 6, frontend with HTML, css). May I contribute on this topic?

Can I go for it?

I'm a contributor and participated in GWOC as a contributor. I have good knowledge regarding HTML and its Tags
I can works on this issue and i also have my previous using all this
so please let me handle with this issue.
https://joshi-anita.github.io/portfolio/
Anita Joshi
Batch-17

With a good knowledge of HTML  and its tags, I can work on this issue via documentation.
So please let me work on these issue.

/assign

I also wanna work with the documentation part

I would like to contribute to this issue . Please assign it to me.

Is this issue still open? I would love to contribute to this!

/assign


feature(author-bio): Dynamically adding author bio

Issue
Fixes  MERATIVE-818
Description
The data of the Authors and Contributors should be treated as Content Fragments/Related Content.
Authors should be able to insert the authors/contributor path and there should be a script that queries the path and pull in the meta data needed to display the author's information.
Authors/Contributors' content is now managed under the /people directory within Sharepoint (people).
Design Specs

If applicable, add the direct link to the design specs of the component/feature that's part of this PR.

Figma Link - https://www.figma.com/file/FSqQ1LYrVSssEFOZuOnMIE/Final-page-layouts-for-Merative.com?type=design&node-id=1933-47557&mode=design&t=DKh0qauOISJX3DEG-4

https://www.figma.com/file/vw24IPXXt4vCh9BNumka9A/Web--Merative-Digital-Design-System-2.0?type=design&node-id=18851-33641&mode=design&t=bFnPyjPtqSY1Ts4K-4
Test URLs

Before (Changes from main):https://main--merative2--sahmad-merative.hlx.page/drafts/saad/test-blog-detail-page
After (Changes from this PR):  https://818-dynamic-author-bio--merative2--sahmad-merative.hlx.page/drafts/saad/test-blog-detail-page

Testing Instruction

@keith-kaplan FYI, we need to update the enablement doc for the "Blog" page to include the new way of relating/managing the authors.
https://818-dynamic-author-bio--merative2--sahmad-merative.hlx.page/drafts/saad/test-blog-detail-page


Enable base64/other UTF-8 encoding of non-UTF-8 proxy protocol TLVs

Title: Enable base64/other UTF-8 encoding of non-UTF-8 proxy protocol TLVs
Description:
The proxy protocol filter can write metadata derived from proxy protocol TLVs that isn't UTF-8, as disclosed in this security advisory: https://github.com/envoyproxy/envoy/security/advisories/GHSA-gq3v-vvhj-96j6. The fix for this was to sanitize non-UTF-8 binary TLVs and replace non-UTF-8 characters with !. However, there's no requirement for proxy protocol TLVs to be UTF-8 in the first place—any binary vector is valid.
For example, Azure TLVs are encoded as little-endian uint32s in the TLV, which can produce invalid UTF-8. In this case, sanitizing the UTF-8 solves the security issue but does so in a lossy way that prevents us from decoding useful information from the TLV for purposes such as allowing cloud traffic based on private link ID.
We'd like to add a flag in the Proxy Protocol filter that causes the filter to base64 encode the TLV before passing it on further into filter state/filter metadata. This would allow us to pass on all binary TLVs without lossy replacements.
I'm happy to contribute the change to Envoy; it would likely involve a small API change.
[optional Relevant Links:]
Azure TLVs: https://learn.microsoft.com/en-us/azure/private-link/private-link-service-overview#getting-connection-information-using-tcp-proxy-v2

The proposal sounds good to me! Contributions are welcome.

@kyessenov I haven't had time to get around to this yet but could we tag this as "no stalebot" or "help wanted" please?


Make project more legible to newcomers

Right now, the Breadboard project is a collection of packages in a monorepo. It takes a bit of time to piece together all the bits and get a full picture of what's going on -- a tax on newcomers.
Let's make a first pass at making the Breadboard project a bit easier to comprehend and get started. We need:

[ ] A map of all packages -- how they relate to each other and what's what
[ ] A written guide to the project
[ ] Perhaps deprecating/moving some packages (see google/breadboard-ai#143 as an example)
[ ] A refresh to DEVELOPING.md  to reflect the latest changes and add relevant links (maybe a Breadboard-specific one?)
[ ] {insert item}

We've moved to https://github.com/breadboard-ai/breadboard

Declaring victory here, splitting off remaining work to #510, #509, etc.

🚢


Show workload type in workload list and get output

Description of problem
Output of the apps workload list and apps workload get commands are missing the workload type information.

Proposed solution
Add the workload type information in workload list and get output

Talked with @shaheerkootteeri - Proposed column order for list
NAME   TYPE   APP   STATUS   AGE
When there is no value for type we will display <empty>

Proposed workload get
$tanzu apps workload get tanzu-java-web-app
---
Name: tanzu-java-web-app: Ready
---
Workload
type:   web

Source
...

The workload section could also be used to house other information such as

type
namespace
cluster
age
URL
update strategy
schedule (for cronjob workloads)
live view on/off
debug on/off
resource usage

After talking with @heyjcollins - we decided to use overview rather than workload as the title for the new section.


Add attestation output to ec validate image

Now any attestations can be outputted when running ec validate image
using the --output attestation format. The output is presented as a
multipart MIME document, allowing more than one attestation to be
outputted.
Using the existing --output functionality allows placing the output to
a file.
Ref. https://issues.redhat.com/browse/HACBS-2133
Includes #829 so review that first...

I'm curious about the decision to use multipart mime.
I could imaging outputting input.json in its entirerly, which would include the attestations, plus everything else, and might be potentially useful for troubleshooting, debugging, auditing etc.

a31e00af8502b40f168867a7c195feb9cc11854d illustrates the difference between MIME multipart and JSONL


Simplify canary

This PR simplifies our canary system. This is possible now, because our stack-painting and stack-measuring got blazingly fast due to #302 #327 #331.
Fixes #39.
What
Before this PR there were two modes. By default probe-run would only paint 10% of stack and use that to detect potential stack-overflows. If a user would pass --measure-stack, probe-run would paint the whole stack (which was slow) and report the percentage of stack used, but don't notify about potential stack-overflows.
After this PR there is only a single mode. probe-run always paints the whole stack (which is fast), always reports the percentage of stack used and always reports potential stack-overflows.
The --measure-stack option is not completely removed to avoid a breaking change. But it does not do anything anymore except emitting a deprecation warning.
Some other drive-by changes:

assert subroutine requirements more early, therefore fix #39
refactor Settings to not need a lifetime

Testing
The unit testing[^1] and on-device tests[^2] succeed
Note to reviewer
While the whole PR got kinda big, the individual commits should be rather self-contained and therefore easier to review.
[^1]: cargo test
[^2]: cargo test -- --ignored

Left some notes, but good job! Looks great!


FINAL: Release 0.3 Features

FINAL
To Do:

Python 3 Support

Completed:

Add support for bash's OR operator

Python Support has been implemented by @naegi


GUI building entirely moved to python

GUI building entirely moved to python (pyqt to be more precise).
This current setup is optimized to be able to run the first script (ColorMania); so, there are more works to do which follows.
"label", "floatedit", and "dropdown" elements from lua GUIs are converted to pyqt widgets (for "floatedit" element the conversion works for the ColorMania script but needs to be improved to better reflect its parent. Other elements of lua GUIs need to be converted to pyqt widgets.
Right now, the scripts will be applyed on all of the subtitle lines. This needs to be modified so that we can have the option to apply the scripts on the selected line(s) as well as filtering the lines based on some of their attributes (e.g. actor, style, etc.
5. The "settings.json" files need to have a "format" field so that we can identify in which environment the developers are presenting their GUIs' settings; for example in the ColorMania script, the setting.json file is structured based on lua GUIs format.

GUI building entirely moved to python (pyqt to be more precise).
This current setup is optimized to be able to run the first script (ColorMania); so, there are more works to do which follows.
"label", "floatedit", and "dropdown" elements from lua GUIs are converted to pyqt widgets (for "floatedit" element the conversion works for the ColorMania script but needs to be improved to better reflect its parent. Other elements of lua GUIs need to be converted to pyqt widgets.
Right now, the scripts will be applyed on all of the subtitle lines. This needs to be modified so that we can have the option to apply the scripts on the selected line(s) as well as filtering the lines based on some of their attributes (e.g. actor, style, etc.
The "settings.json" files need to have a "format" field so that we can identify in which environment the developers are presenting their GUIs' settings; for example in the ColorMania script, the setting.json file is structured based on lua GUIs format.

I think passage 5 has not been implemented yet. So maybe you should strikethrough this passage as it's not done yet or implement it for Phase 1.

Newer branches are available.


Change Ref() methods to return a RefCountedPtr<>.

This is an alternative to #14179.  The idea here is that instead of creating a new base class for objects for which we want to generate a new RefCountedPtr<> internally, we give that capability to any ref-counted object.  This is done by changing the Ref() method to return a RefCountedPtr<> directly.  This has the nice property that creating a ref automatically yields a RefCountedPtr<>, so it's not possible to create a ref that the type system won't automatically clean up for us.
Some things to note:

We now use the Curiously Recurring Template Pattern for the ref-counting classes.

This does require tighter coupling between the ref-counting classes and RefCountedPtr<>.  In particular, there is a need to increment the refcount without creating a new RefCountedPtr<> (e.g., when copying a RefCountedPtr<> to another one).  To support this, there is now a private IncrementRefCount() method, and RefCountedPtr<> is now a friend of the ref-counting classes.

Making RefCountedPtr<> a friend of InternallyRefCounted also fixes a pre-existing problem whereby RefCountedPtr<> could not call the InternallyRefCounted object's Unref() method, which was protected.

For cases where we need to pass a ref-counted pointer to legacy C code that handles the references manually instead of using RefCountedPtr<>, the caller will need to first get RefCountedPtr<> and then call its release() method.  This is a bit cumbersome, but I think that's a feature, not a bug: it provides a code smell that tells the reader that something funny is going on and that it needs to be fixed as part of converting the C code to C++.

For the subchannel code, we continue to use manual ref-counting instead of RefCountedPtr<>.  We can look at changing this if we find a good solution for #14219.

Please let me know what you think.  Thanks!

****************************************************************

libgrpc.so

     VM SIZE                                                                                FILE SIZE
 ++++++++++++++ GROWING                                                                         ++++++++++++++
  +0.0%     +96 [None]                                                                          +1.25Ki  +0.0%
      +0.0%     +96 [Unmapped]                                                                      +1.25Ki  +0.0%
      [NEW]     +32 vtable for grpc_core::RefCountedWithTracing<grpc_core::ConnectedSubchannel>         +32  [NEW]

  +0.0%     +96 TOTAL                                                                           +1.25Ki  +0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE                                                                                FILE SIZE
 ++++++++++++++ GROWING                                                                         ++++++++++++++
  +0.0%     +96 [None]                                                                          +1.26Ki  +0.0%
      +0.0%     +96 [Unmapped]                                                                      +1.26Ki  +0.0%
      [NEW]     +32 vtable for grpc_core::RefCountedWithTracing<grpc_core::ConnectedSubchannel>         +32  [NEW]

  +0.0%     +96 TOTAL                                                                           +1.26Ki  +0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Corrupt JSON data (indicates timeout or crash):
    bm_fullstack_streaming_pump.BM_PumpStreamServerToClient_SockPair__1.opt.new: 1

[microbenchmarks] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE                                                                                FILE SIZE
 ++++++++++++++ GROWING                                                                         ++++++++++++++
  +0.0%     +96 [None]                                                                          +1.26Ki  +0.0%
      +0.0%     +96 [Unmapped]                                                                      +1.26Ki  +0.0%
      [NEW]     +32 vtable for grpc_core::RefCountedWithTracing<grpc_core::ConnectedSubchannel>         +32  [NEW]

  +0.0%     +96 TOTAL                                                                           +1.26Ki  +0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences


I can not use Template strings in vscode.

VSCode Version: 1.19.1
OS Version: Window10

Steps to Reproduce:

Use<EMAIL_ADDRESS>Use the ECMA6 template string syntax.
The code is as follows.

Reproduces without extensions: Yes/No
import { Injectable } from '@angular/core';
import { LANG_INFO } from './langInfo';
@Injectable()
export class LangSupportService {
langCode = 'ko';
private welcomMsg;
constructor() {
}
getWelcomMsg(userName :  string){
  const langData = LANG_INFO.find(sellang => sellang.code === this.langCode);
  return '${greetingMsg}, ${userName}!';  // $ {} does not work.
   //$ {greetingMsg}, $ {userName}! The shape is displayed in the browser as it is.

}
}

As far as my googling brought me:
The Templating Syntax requires Backticks (`) instead of regular ticks (')
ex.: string text ${expression} string text
(source: https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/template_strings)

Thank you very much. ^^


Paginator not working properly

I'm trying to use the paginate() method to get specific items from the database. When I use "getQueryLog" it does not show that the query uses take() or skip().
I'm having issues with this because I have a large number of records and it seems to be retrieving too many which is causing too much memory to be used.
Does anyone have any ideas about this?

Are you using any group operations?

I'm not using group operations, just order by but the query log shows it's grouping.
MyModel:
public function scopeWithSuccess($query) {
    return $query->withTrashed()->with('user')->where('status', '=', 1);
  }

Service:
$items = MyModel::withSuccess()->orderBy('created_at', 'DESC')->paginate(15, ['id','name']);
dd(\DB::getQueryLog());

Query Log Output:
array (size=2)
  0 =>
    array (size=3)
      'query' => string 'mymodels.aggregate([{"$match":{"$and":[{"status":"1"}]}},{"$group":{"_id":null,"aggregate":{"$sum":1}}}])' (length=105)
      'bindings' =>
        array (size=0)
          empty
      'time' => float 6.74
  1 =>
    array (size=3)
      'query' => string 'mymodels.find({"$and":[{"status":"1"}]},{"id":true,"name":true})' (length=64)
      'bindings' =>
        array (size=0)
          empty
      'time' => float 0.06

any ideas of what could be causing this? I'm still having the issue. thanks.

The builder gets the cursor for all the results, and then calls skip on the cursor.

Try the current version on master.

Is it possible to merge this into a branch that is capable of running on laravel 4.2? We have not yet upgraded to 5.0.


License Hyperlink to the 10 year Add-On license.

[Enter feedback here]
https://learn.microsoft.com/en-us/microsoft-365/compliance/audit-log-retention-policies?view=o365-worldwide
Please do add the hyperlink to buy the 10 year Add-On license.
Thank You.

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

ID: e52e1877-191e-5dbe-b805-e755c736b985
Version Independent ID: 69df5ed6-a86f-06d7-1156-e1de211f8e83
Content: Manage audit log retention policies - Microsoft Purview (compliance)
Content Source: microsoft-365/compliance/audit-log-retention-policies.md
Service: o365-seccomp
GitHub Login: @robmazz
Microsoft Alias: robmazz

@SARSAX Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/12221
Once the author approves, the changes will be live.
Thanks
Sri

Thank You!
Regards,
Sarthak Saxena

@SARSAX Thanks for your feedback! New issues and pull requests for this content are closed while we update this content to support upcoming feature improvements.


[Arduino IDE][AX-12A] Issues reading Present Position from AX-12A

I tried to get the Present Position value of AX-12A by using Dynamixelworkbench, but it does not cause an error and the value is 0.
API of 1 can get the value with , but it could not get with API of 2.
What is the cause?
I will attach the log and code at that time.
1. bool readRegister (uint8_t id, uint16_t address, uint16_t length, uint32_t * data, const char ** log = NULL);
2. bool readRegister (uint8_t id, const char * item_name, int32_t * data, const char ** log = NULL);

Environment
OpenCM9.04, SMPS2Dynamixel, Arduino IDE 1.8.8, DynamixelWorkbench 1.3.0, Windows10
Dynamixel Setting

Model Name
AX-12A

ID
ID1

Baud Rate of Dynamixels
1000000

Protocol Version
Protocol1.0

code
#include <DynamixelWorkbench.h>

#define DEVICE_NAME "1"

#define BAUDRATE  1000000
#define DXL_ID_1  1

DynamixelWorkbench dxl_wb;

uint8_t dxl_id = DXL_ID_1;
uint16_t goal_position[2] = {0, 1023};
const uint8_t handler_index = 0;

void setup()
{
  Serial.begin(57600);
  while (!Serial); // Wait for Opening Serial Monitor

  const char *log;
  bool result = false;

  uint16_t model_number = 0;

  result = dxl_wb.init(DEVICE_NAME, BAUDRATE, &log);
  if (result == false)
  {
    Serial.println(log);
    Serial.println("Failed to init");
  }
  else
  {
    Serial.print("Succeeded to init : ");
    Serial.println(BAUDRATE);
  }
  result = dxl_wb.ping(dxl_id, &model_number, &log);
  if (result == false)
  {
    Serial.println(log);
    Serial.println("Failed to ping");
  }
  else
  {
    dxl_wb.torqueOn(dxl_id);
    Serial.println("Succeeded to ping");
    Serial.print("id : ");
    Serial.print(dxl_id);
    Serial.print(" model_number : ");
    Serial.println(model_number);
  }
}

void loop()
{
  const char *log;
  bool result = false;

  int32_t get_data = 0;

  // id , address , data_length , read_data, log
  result = dxl_wb.writeRegister(dxl_id, 30, 2, (uint8_t*)&goal_position[0], &log);
  if (result == false)
  {
    Serial.println(log);
    Serial.println("Failed to write position");
  }
  else
  {
    Serial.println(log);
  }

  do
  {
    //result = dxl_wb.readRegister(dxl_id, 36 , 2, &get_data , &log);
    result = dxl_wb.readRegister(dxl_id, "Present_Position", &get_data , &log);
    if (result == false)
    {
      Serial.println(log);
    }
    else
    {
      Serial.print("[ID ");
      Serial.print(dxl_id);
      Serial.print(" ]");
      Serial.print(" Goal Position : ");
      Serial.print(goal_position[0]);
      Serial.print(" Present Position : ");
      Serial.println(get_data);
    }
  } while (abs(goal_position[0] - get_data) > 15);

  swapUint16(goal_position);
}

void swapUint16(uint16_t *array)
{
  uint16_t tmp = array[0];
  array[0] = array[1];
  array[1] = tmp;
}

log
Succeeded to init : 1000000
Succeeded to ping
id : 1 model_number : 12
[DynamixelDriver] Succeeded to write!
[ID 1 ] Goal Position : 0 Present Position : 0
[DynamixelDriver] Succeeded to write!
[ID 1 ] Goal Position : 1023 Present Position : 0
[ID 1 ] Goal Position : 1023 Present Position : 0
[ID 1 ] Goal Position : 1023 Present Position : 0
[ID 1 ] Goal Position : 1023 Present Position : 0
[ID 1 ] Goal Position : 1023 Present Position : 0
[ID 1 ] Goal Position : 1023 Present Position : 0
[ID 1 ] Goal Position : 1023 Present Position : 0
[ID 1 ] Goal Position : 1023 Present Position : 0
[ID 1 ] Goal Position : 1023 Present Position : 0
[ID 1 ] Goal Position : 1023 Present Position : 0
[ID 1 ] Goal Position : 1023 Present Position : 0
[ID 1 ] Goal Position : 1023 Present Position : 0
[ID 1 ] Goal Position : 1023 Present Position : 0
[ID 1 ] Goal Position : 1023 Present Position : 0
...

You should torque on and set joint mode to your dynamixels
Add below code after Ping()
    result = dxl_wb.jointMode(dxl_id, 0, 0, &log);
    if (result == false)
    {
      printf("%s\n", log);
      printf("Failed to change joint mode\n");
    }
    else
    {
      printf("Succeed to change joint mode\n");
    }

I have found terribly mistakes write and readRegister functions.
I fixed that issues and commit in develop branch. It will be merged mater branch soon.
If you want to use develop branch, please check link I attached below
https://community.robotsource.org/t/howto-adding-multiple-opencr-boards-to-the-arduino-ide/1497
I give you to test code, too.
#include <DynamixelWorkbench.h>

#define DEVICE_NAME "1"

#define BAUDRATE  1000000
#define DXL_ID_1  1

DynamixelWorkbench dxl_wb;

uint8_t dxl_id = DXL_ID_1;
uint16_t goal_position[2] = {0, 1023};
const uint8_t handler_index = 0;

void setup()
{
  Serial.begin(57600);
  while (!Serial); // Wait for Opening Serial Monitor

  const char *log;
  bool result = false;

  uint16_t model_number = 0;

  result = dxl_wb.init(DEVICE_NAME, BAUDRATE, &log);
  if (result == false)
  {
    Serial.println(log);
    Serial.println("Failed to init");
  }
  else
  {
    Serial.print("Succeeded to init : ");
    Serial.println(BAUDRATE);
  }

  result = dxl_wb.ping(dxl_id, &model_number, &log);
  if (result == false)
  {
    Serial.println(log);
    Serial.println("Failed to ping");
  }
  else
  {
    Serial.println("Succeeded to ping");
    Serial.print("id : ");
    Serial.print(dxl_id);
    Serial.print(" model_number : ");
    Serial.println(model_number);
  }

  result = dxl_wb.jointMode(dxl_id, 0, 0, &log);
  if (result == false)
  {
    Serial.println(log);
    Serial.println("Failed to set joint mode");
  }
  else
  {
    Serial.println("Succeeded to set joint mode");
  }
}

void loop()
{
  const char *log;
  bool result = false;

  int32_t get_data = 0;

  result = dxl_wb.writeRegister(dxl_id, "Goal_Position", goal_position[0], &log);
  if (result == false)
  {
    Serial.println(log);
    Serial.println("Failed to write position");
  }
  else
  {
    Serial.println(log);
  }

  do
  {
    result = dxl_wb.readRegister(dxl_id, "Present_Position", &get_data , &log);
    if (result == false)
    {
      Serial.println(log);
    }
    else
    {
      Serial.print("[ID ");
      Serial.print(dxl_id);
      Serial.print(" ]");
      Serial.print(" Goal Position : ");
      Serial.print(goal_position[0]);
      Serial.print(" Present Position : ");
      Serial.println(get_data);
    }
  } while (abs(goal_position[0] - get_data) > 15);

  swapUint16(goal_position);
}

void swapUint16(uint16_t *array)
{
  uint16_t tmp = array[0];
  array[0] = array[1];
  array[1] = tmp;
}

I found the same bug yesterday.
Thanks for the measure of the bug.
I have an opinion on the modified code, where should I post?
modified write and read register

It is the case that JointMode becomes an error,
I think the AX - 12A seems to be unable to set MovingSpeed unless the torque is ON.
Is this a specification?

It helped a lot.
I will write a comment in the code.
Thank you


Allow retries for subprocess commands

#21

@michael-sbarra-apexai What is the purpose of this change? If the timeout is too short, can you not simply increase the timeout instead of adding all of this complexity to the code?

@michael-sbarra-apexai What is the purpose of this change? If the timeout is too short, can you not simply increase the timeout instead of adding all of this complexity to the code?

@kilian-funk See #21. If some brief network interruption occurred, the whole file builder would be lost resulting in the error shown in the issue. I also found sometimes the git ... command would hang and not terminate, which is why I added the timeout. This now adds a max_retries = 3 with a timeout of 20s (for git clone), so the file build will not fail on some brief network issue. In additional testing, I found that timeout of 5s should be sufficient.


daemon: Perform early (partial) local node info initialization

As we're moving more code into modules the global variables in pkg/node
are becoming increasingly dangerous. These were populated as part of the
newDaemon() and as such were not accessible before daemon is started.
The first three commits do bit of cleanup around the node resource (switching to slim)
and removes the singleton hack of LocalNodeStore and switches to the proper cell.
The last commit moves the config and k8s initialization into a LocalNodeStore
initializer function, thus making the node IP, name and labels available
to modules outside daemon. To validate this initialization the test
test/controlplane/node/localnode.go was added.
Fields still initialized in daemon are:

Cilium internal IPs (restored from cilium_host or allocated by IPAM)
Health IPs (allocated by IPAM)
Ingress IPs (restored from ipcache or allocated)
Wireguard key (set by wireguard agent)
IPsec key (set by IPsec)
alloc CIDRs (depends on IPAM mode; restored from Node or CiliumNode)
ClusterID (set by NodeDiscovery)

/test

#24677 already depends on these changes as it requires access to the K8s NodeIP before daemon module starts.

/test

What's the idea around the FIXME comments? These are things that need to be addressed before merging, or after?

Yeah that was just sloppy of me. I had forgotten that I didn't address them. Adding a git hook to stop me from doing this in the future. Will address them and ping you for another review round when they're all fixed.

I would highly encourage continuing to take bigger PRs like this, slicing out some portions and submitting them for shorter review + merge and then stacking the remaining changes on top, in order to make review more bite-sized.

Split the slim_corev1.Node change to https://github.com/cilium/cilium/pull/25282. Will rebase this once that is in.

/test

/test

/test

/test

/test

ci-l4lb is hitting https://github.com/cilium/cilium/issues/25892.

All reviews are in. Merging to unblock other PRs.


decouple find InsertColumnsSegment with insert statement

For #4342.

Pull Request Test Coverage Report for Build 9607

13 of 25 (52.0%)  changed or added relevant lines in 13 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.005%) to 57.623%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/filler/impl/dml/InsertColumnsFiller.java
0
1
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/sql/statement/dml/InsertStatement.java
1
2
50.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-mysql/src/main/java/org/apache/shardingsphere/sql/parser/visitor/impl/MySQLDMLVisitor.java
0
1
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-oracle/src/main/java/org/apache/shardingsphere/sql/parser/visitor/impl/OracleDMLVisitor.java
0
1
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-postgresql/src/main/java/org/apache/shardingsphere/sql/parser/visitor/impl/PostgreSQLDMLVisitor.java
0
1
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-sql92/src/main/java/org/apache/shardingsphere/sql/parser/visitor/impl/SQL92DMLVisitor.java
0
1
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-sqlserver/src/main/java/org/apache/shardingsphere/sql/parser/visitor/impl/SQLServerDMLVisitor.java
0
1
0.0%

shadow-core/shadow-core-rewrite/src/main/java/org/apache/shardingsphere/shadow/rewrite/token/generator/impl/RemoveShadowColumnTokenGenerator.java
0
5
0.0%

Files with Coverage Reduction
New Missed Lines
%

sharding-orchestration/sharding-orchestration-core/src/main/java/org/apache/shardingsphere/orchestration/internal/util/IpUtils.java
3
76.0%

Totals

Change from base Build 871:
-0.005%

Covered Lines:
11082

Relevant Lines:
19232

💛  - Coveralls


AnimationTreePlayer: constructor now sets processing mode.

This doesn't affect issue #4271, but it has to be a bug: the constructor was creating and setting a local variable and neglecting to set the object property with the same name.

Looks good, thanks!


STL files and instructions dont seem to match

I am looking for a case for the CM3588 and came across this design.  I like the overall design and assembly options.  Reading the instructions the MainBody.stl is missing some holes for buttons and heat inserts.  Or am I missing something.  Thanks.

Sorry, my bad, thanks for noticing and opening an issue.
I seem to have uploaded a Version with some missing Elements. I just uploaded the corrected file.


Autofill is not working

Steps to Reproduce

Run flutter create bug.
Update the files as follows:

main.dart: add the following TextField, inside the Column of MyHomePage widget (line 100):
TextField(             keyboardType: TextInputType.phone,             autofillHints: <String>[AutofillHints.telephoneNumber],           ),

Connect your device
Run 'flutter run'
Tap the TextField to have focus in it

Expected results:
Android: it shows your phone number hint popup, and if you tap it, the TextField will be filled with that number.
iOS: it shows the hints above the keyboard and lets you choose the number you want to use. When you tap on one number, the TextField will be filled with it.
Actual results:
Android: it shows the phone number hint, but when you tap it, nothing happens.
iOS: nothing happens.

Android Logs
[+23040 ms] I/ViewRootImpl@a3ed905[MainActivity](24443): ViewPostIme pointer 0
[  +36 ms] I/ViewRootImpl@a3ed905[MainActivity](24443): ViewPostIme pointer 1
[ +201 ms] D/InputMethodManager(24443): SSI - flag : 0 Pid : 24443 view : com.example.bug
[  +15 ms] D/InputMethodManager(24443): prepareNavigationBarInfo() DecorView@9597149[MainActivity]
[        ] D/InputMethodManager(24443): getNavigationBarColor() -855310
[        ] V/InputMethodManager(24443): Starting input: tba=com.example.bug ic=io.flutter.plugin.editing.InputConnectionAdaptor@ac89544 mNaviBarColor
-855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
[   +1 ms] D/InputMethodManager(24443): startInputInner - Id : 0
[        ] I/InputMethodManager(24443): startInputInner - mService.startInputOrWindowGainedFocus
[   +3 ms] D/InputTransport(24443): Input channel destroyed: 'ClientS', fd=110
[        ] D/InputMethodManager(24443): prepareNavigationBarInfo() DecorView@9597149[MainActivity]
[        ] D/InputMethodManager(24443): getNavigationBarColor() -855310
[  +38 ms] D/InputMethodManager(24443): prepareNavigationBarInfo() DecorView@9597149[MainActivity]
[        ] D/InputMethodManager(24443): getNavigationBarColor() -855310
[        ] V/InputMethodManager(24443): Starting input: tba=com.example.bug ic=io.flutter.plugin.editing.InputConnectionAdaptor@5354829 mNaviBarColor
-855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
[   +1 ms] D/InputMethodManager(24443): startInputInner - Id : 0
[        ] I/InputMethodManager(24443): startInputInner - mService.startInputOrWindowGainedFocus
[        ] D/InputTransport(24443): Input channel destroyed: 'ClientS', fd=98
[   +5 ms] I/AssistStructure(24443): Flattened final assist data: 440 bytes, containing 1 windows, 3 views
[   +3 ms] W/IInputConnectionWrapper(24443): getTextBeforeCursor on inactive InputConnection
[        ] W/IInputConnectionWrapper(24443): getSelectedText on inactive InputConnection
[   +2 ms] W/IInputConnectionWrapper(24443): getTextAfterCursor on inactive InputConnection
[ +156 ms] I/ViewRootImpl@a3ed905[MainActivity](24443): MSG_RESIZED: frame=(0,0,810,1800) ci=(0,68,0,563) vi=(0,68,0,563) or=1
[  +35 ms] I/ViewRootImpl@a3ed905[MainActivity](24443): Relayout returned: old=(0,0,810,1800) new=(0,0,810,1800) req=(810,1800)0 dur=26 res=0x1 s={true
543090724864} ch=false
[ +324 ms] I/ViewRootImpl@a3ed905[MainActivity](24443): MSG_WINDOW_FOCUS_CHANGED 0 1
[   +1 ms] D/InputMethodManager(24443): prepareNavigationBarInfo() DecorView@9597149[MainActivity]
[        ] D/InputMethodManager(24443): getNavigationBarColor() -855310
[+3344 ms] I/ViewRootImpl@a3ed905[MainActivity](24443): MSG_WINDOW_FOCUS_CHANGED 1 1
[   +1 ms] D/InputMethodManager(24443): prepareNavigationBarInfo() DecorView@9597149[MainActivity]
[        ] D/InputMethodManager(24443): getNavigationBarColor() -855310
[  +76 ms] I/ViewRootImpl@a3ed905[MainActivity](24443): MSG_WINDOW_FOCUS_CHANGED 0 1
[        ] D/InputMethodManager(24443): prepareNavigationBarInfo() DecorView@9597149[MainActivity]
[        ] D/InputMethodManager(24443): getNavigationBarColor() -855310
[ +543 ms] I/ViewRootImpl@a3ed905[MainActivity](24443): stopped(false) old=false
[  +39 ms] I/ViewRootImpl@a3ed905[MainActivity](24443): Relayout returned: old=(0,0,810,1800) new=(0,0,810,1800) req=(810,1800)0 dur=11 res=0x1 s={true
543090724864} ch=false
[   +2 ms] I/ViewRootImpl@a3ed905[MainActivity](24443): MSG_WINDOW_FOCUS_CHANGED 1 1
[   +4 ms] D/InputMethodManager(24443): prepareNavigationBarInfo() DecorView@9597149[MainActivity]
[        ] D/InputMethodManager(24443): getNavigationBarColor() -855310

Analyzing bug...
No issues found! (ran in 2.0s)

[✓] Flutter (Channel stable, 1.22.6, on macOS 11.1 20C69 darwin-arm, locale en-IT)
    • Flutter version 1.22.6 at /Users/marcodecarolis/Dev/flutter
    • Framework revision 9b2d32b605 (13 days ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/marcodecarolis/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • 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-6915495)
    • All Android licenses accepted.

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin installed
    • Dart plugin version 201.9317
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

I was able to reproduce it as well. Does not work on iOS even if you use CupertinoTextField()

Have you tried this?

iOS contact information autofill: iOS seems to pull contact info from the Apple ID currently associated with the device. Go to Settings -> Apple ID (usually the first entry, or "Sign in to your iPhone" if you haven't set up one on the device), and fill out the relevant fields. If you wish to test more contact info types, try adding them in Contacts -> My Card.

@LongCatIsLooong mine is set up correctly and still does not work. I have tried with a native iOS swift app and autofill works as expected.

Here is a video of how it should work. This is a native iOS Swift app.
https://user-images.githubusercontent.com/75305802/107219036-69aa8e80-6a08-11eb-8ca1-a828dc8f9f02.MP4

@daniil-shumko this works on my iphone xr running iOS 14.2. The text field looks like this: TextField( keyboardType: TextInputType.phone, autofillHints: <String>[AutofillHints.telephoneNumber], ). I'm upgrading the device to iOS 14.4 but I doubt that will make a difference.
Could you share your code that sets up the text field for autofill?

@LongCatIsLooong my flutter code is exactly the same and it does not work for me.

Unfortunately, the autofill is not working at all on our iPhone.
The other problem is in Android, for what I see only the phone number autofill has a bug, because other fields I tried, like email and name, work.
For android, the only time when it works is if you put the keyboardType = TextInputType.text, but this is not good to have when the user types numbers.

it shows the phone number hint, but when you tap it, nothing happens.
@marcodecarolisidt could you provide a minimal repro?

@daniil-shumko I couldn't repro the issue on iOS 14.4 either unfortunately. Could you try debugging your app in Xcode's view hierarchy inspector, and check if the FlutterTextInputView instances in the view hierarchy have the correct textContentTypes set (https://developer.apple.com/documentation/uikit/uitextinputtraits/1649656-textcontenttype)?

I can reproduce the Android issue on latest Master and Stable channel, the phone number is not pasted in the text field. If I then type any number in the keyboard the phone number appear in the text field.
https://user-images.githubusercontent.com/67424416/107622878-ce5c2800-6c58-11eb-9904-493499ccb525.mp4

code sample
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: Scaffold(
        body: Center(
          child: SizedBox(
            width: 2200,
              child: TextField(
                keyboardType: TextInputType.phone,
                autofillHints: <String>[AutofillHints.telephoneNumber],
                onChanged: print,
              ),
          ),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 1.27.0-2.0.pre.65, on macOS 11.2 20D64 darwin-x64, locale en-AO)
    • Flutter version 1.27.0-2.0.pre.65 at /Users/pedromassango/Code/flutter_master
    • Framework revision a8075deea3 (3 hours ago), 2021-02-10 22:46:02 -0500
    • Engine revision cdc49c575b
    • Dart version 2.13.0 (build 2.13.0-25.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • 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-6915495)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.2.5
    • Dart plugin version 203.6912

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.2 20D64 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 88.0.4324.150

! Doctor found issues in 1 category.

[✓] Flutter (Channel stable, 1.22.6, on macOS 11.2 20D64 darwin-x64, locale en-AO)
    • Flutter version 1.22.6 at /Users/pedromassango/Code/flutter_stable
    • Framework revision 9b2d32b605 (3 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • 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-6915495)
    • All Android licenses accepted.

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

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin installed
    • Dart plugin version 203.6912

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

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

I've just created https://github.com/flutter/flutter/issues/75833 to focus on the Android issue. The current issue is now focused on iOS.

Hi @daniilshumkoidt
Not able to reproduce this on the latest stable or master channels running on XR (iOS 14.4)

My Card
Flutter

code sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: Container(
          child: TextField(
            keyboardType: TextInputType.phone,
            autofillHints: <String>[AutofillHints.telephoneNumber],
          ),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {},
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.6, on macOS 11.2 20D64 darwin-x64, locale en-GB)
    • Flutter version 1.22.6 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 9b2d32b605 (3 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location.
      You may also want to add it to your PATH environment variable.
[!] Xcode - develop for iOS and macOS (Xcode 12.4)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install:
        sudo gem install cocoapods
[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.53.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.19.0
[✓] Connected device (1 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios • iOS 14.4
! Doctor found issues in 3 categories.

[✓] Flutter (Channel master, 1.27.0-2.0.pre.67, on macOS 11.2 20D64 darwin-x64, locale en-GB)
    • Flutter version 1.27.0-2.0.pre.67 at /Users/tahatesser/Code/flutter_master
    • Framework revision 78ce11d7e3 (5 hours ago), 2021-02-11 07:37:57 +0100
    • Engine revision cdc49c575b
    • Dart version 2.13.0 (build 2.13.0-25.0.dev)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.
[!] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.53.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.19.0
[✓] Connected device (3 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            • iOS 14.4
    • macOS (desktop)        • macos                     • darwin-x64     • macOS 11.2 20D64 darwin-x64
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome 88.0.4324.150
! Doctor found issues in 2 categories.

@LongCatIsLooong @TahaTesser it has magically started working for me on all my devices 🤔 Thanks for your help!

@marcodecarolisidt FYI the android autofill fix has landed in master. But unfortunately I'm still unable to repro the iOS issue:

Could you try debugging your app in Xcode's view hierarchy inspector, and check if the FlutterTextInputView instances in the view hierarchy have the correct textContentTypes set (https://developer.apple.com/documentation/uikit/uitextinputtraits/1649656-textcontenttype)?

That's great thank you,
yes, we tried on iOS and weirdly we cannot reproduce it again. So I guess the problem is solved :)