NetworkType.METERED constraint does not work in < Android 8.0

When I schedule for a NetworkType.METERED constraint in the WorkManager, while connected to an "UnMetered" Wifi AP, the WorkManager immediately triggers on Android 7, 6 etc. However, in Android 8, 9, and 10 it triggers only when the device actually connects to the NetworkType.METERED connection. This was tried even against the latest drop of the WorkManager, specifically androidx.work:work-runtime:2.3.0.
Pre-requisite, be connected on Wifi (unmetered WIfi connection, and not a Wifi hotspot over cellular for example). Schedule a WorkManager request to be scheduled when connected over a METERED request.
Result: The WorkManager schedules you immediately, while still on WiFi. (unmetered).
Here is the sample code:
Context context = getApplicationContext();
    Constraints constraints = new Constraints.Builder()
            .setRequiredNetworkType(NetworkType.CONNECTED)
            .setRequiredNetworkType(NetworkType.METERED)
            .build();

    OneTimeWorkRequest workRequest = new OneTimeWorkRequest.Builder(WiFiDisconnectWorker.class)
            .setConstraints(constraints)
            .addTag(GLOBAL_METERED_TYPE_TAG)
            .build();

    WorkManager.getInstance(context).enqueue(workRequest);

Thanks for reporting this.
I'm closing this issue because this forum is for issues with the codelab.
Stackoverflow might be a better forum for this kind of questions.
If you think that this is a problem of the WorkManager library, please open a bug on the WorkManager public issue tracker: https://issuetracker.google.com/issues/new?component=409906&template=1094197
Please reopen if you still think this is an issue with the codelab.

@carshoptest12 Are you able to find the solution to this problem?


fix(client-cli): Properly interpret nullable prop

With this change, when an Open API schema contains a nullable: true property, it's properly handled and the generated type will contain  | null;

I've seen a coverage failure, but locally I get 100% 🤔

Slap a /* c8 ignore next 2 */ in there.

@mcollina not sure it's related to coverage 🤔
it's failing other packages + looking at the failure it seems some tests are cancelled, like in this case + the same thing seems to already happen on master.
So I'm not sure it's related to this PR to be honest


bpf: SRv6 fib on encap

This is the first PR in a set of two.
In this PR we introduce new functions in lib/fib.h to fix the issue described below
A follow up PR will be opened once this is merged which carries the non-backported refactor of fib/lib.h, removing the duplicate code introduced in this PR.
see https://github.com/cilium/cilium/pull/26048#issuecomment-1587382600 for an explanation of why this occurs in two PRs.
Original SRv6 encapsulation flow:
 flowchart LR
p["pod"]
v1["veth1"]
v2["veth2"]
hs["host stack"]
e["eth0"]
tx["tx"]

p-->|egress pkt|v1-->v2-->hs-->|fib lookup|e-->|SRv6 encap|tx

This results in the egress packet always choosing the output interface, source, and destination mac from the FIB lookup that occurred on the inner packet.
SRv6 encapsulation flow corrected:
 flowchart LR
p["pod"]
v1["veth1"]
v2["veth2"]
hs["host stack"]
e["eth0"]
tx["tx"]

p-->|egress pkt|v1-->v2-->hs-->|fib lookup|e-->|SRv6 encap\n+\nfib lookup|tx

Now, we perform an additional fib lookup once the egress packet has been encapsulated, ensuring the encapsulated packet is forwarded correctly based on the host namespace's FIB.
Performing these actions independently is currently necessary for this SRv6 datapath fix.
This is because we perform the fib_lookup already at a egress interface and we may or may not need to redirect to a new interface for tx.
It is obvious to see that two fib lookups are occurring here.
It does seem to me that this can be reduced to one, however this involves changing where encapsulation occurs and will be a larger refactor, however I will also look into this.
Fixes an issue where SRv6 encapsulated packets are forwarded to the wrong layer 2 next hop.

/test

/test-1.26-net-next

Is ti worth considering a unit test?

@jibi latest push moves the fib_lookup functions to take src/dst addresses instead of the full header

@nickolaev added tests: https://github.com/cilium/cilium/pull/26136/commits/4bce0213d35cd46709708fc3f55d3dcd3a5a42c0

/test

/ci-verifier

/test

@ldelossa Backporting the changes in this PR to v1.13 yields conflicts as they depend on changes made in #23884, which was not backported to v1.13. I'm not competent enough in BPF to fully understand what's going on, can you double-check if it's OK to backport #23884 to v1.13?

No problem @nbusseneau
Let me see if I can open a manual backport on v1.13 that does not rely on #23884, as this PR only adds functions, and we are probably running into line conflicts, not logic conflicts.

No problem @nbusseneau
Let me see if I can open a manual backport on v1.13 that does not rely on #23884, as this PR only adds functions, and we are probably running into line conflicts, not logic conflicts.

Note that at the very least, we'll need to pick up the change that introduced BPF_FIB_MAP_NO_NEIGH. So I think this needs a proper backport, adding the corresponding label.

I believe there's no plan to backport this into v1.13 anymore.


feat: add russian lang support

closes #254

@xguest I made a few changes in the second commit. Can you help double-check that they're appropriate?


Integrate with GNU Taler?

Seems a bit pointless by itself, but could become a really nice mobile app for GNU taler? See: https://taler.net/

Hey @poVoq, my only intentions with this project is learning and exploring react native ecosystem. I don't plan to release this app. Thanks for your input though, I appreciate it. 🐱


Player not support this device

Hi, I'm using version 0.3 and I get this error Player not support this device . My device is a galaxy s5 . Prior 2.0 eh you used without problems.

can you show the stack trace please

with version 4 , a friend gets this error. a nexus player. intel cpu . I still log but tomorrow I get it. I tested the Nexus 9 Nexus 6 , the shield nvidia tv without errors.

E/GiraffePlayer: loadLibraries error
java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/ro.vrt.videoplayerstreaming-1/lib/x86/libijkffmpeg.so: has text relocations

this problem is found and vitamio and is currently a problem with no solution. sdk 22 only if we go well.

v0.4 has x86 so files，make sure the the so files in the apk after build,or try this:
1.add abiFilters in build.gradle:
android{
...
defaultConfig{

    //add this
    ndk {
        abiFilters "armeabi"
    }
}
}

2.add android.useDeprecatedNdk=true in gradle.properties

yes ,  and from nexus player cpu intel and android 6.0.1  is not work
log :02-22 18:21:12.176 6259-9852/ro.vrt.videoplayerstreaming W/cr_media: Requires BLUETOOTH permission 02-22 18:21:12.212 6259-6259/ro.vrt.videoplayerstreaming I/Ads: Starting ad request. 02-22 18:21:12.213 6259-6259/ro.vrt.videoplayerstreaming I/Ads: Use AdRequest.Builder.addTestDevice("F7317B922DCCFD09D20E6878B811383D") to get test ads on this device. 02-22 18:21:12.231 6259-6259/ro.vrt.videoplayerstreaming E/linker: /data/app/ro.vrt.videoplayerstreaming-2/lib/x86/libijkffmpeg.so: has text relocations 02-22 18:21:12.233 6259-6259/ro.vrt.videoplayerstreaming E/GiraffePlayer: loadLibraries error                                                                           java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/ro.vrt.videoplayerstreaming-2/lib/x86/libijkffmpeg.so: has text relocations                                                                               at java.lang.Runtime.loadLibrary(Runtime.java:372)                                                                               at java.lang.System.loadLibrary(System.java:1076)                                                                               at tv.danmaku.ijk.media.player.IjkMediaPlayer$1.loadLibrary(IjkMediaPlayer.java:144)                                                                               at tv.danmaku.ijk.media.player.IjkMediaPlayer.loadLibrariesOnce(IjkMediaPlayer.java:155)                                                                               at tcking.github.com.giraffeplayer.GiraffePlayer.<init>(GiraffePlayer.java:263)                                                                               at ro.vrt.videoplayerstreaming.MainActivity.onCreate(MainActivity.java:76)                                                                               at android.app.Activity.performCreate(Activity.java:6251)                                                                               at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)                                                                               at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)                                                                               at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)                                                                               at android.app.ActivityThread.-wrap11(ActivityThread.java)                                                                               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)                                                                               at android.os.Handler.dispatchMessage(Handler.java:102)                                                                               at android.os.Looper.loop(Looper.java:148)                                                                               at android.app.ActivityThread.main(ActivityThread.java:5417)                                                                               at java.lang.reflect.Method.invoke(Native Method)                                                                               at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)                                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 02-22 18:21:12.279 6259-6259/ro.vrt.videoplayerstreaming I/Ads: Starting ad request.

    ndk {
        abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
    }

We all "so" necessary.  and from android 6.0.1 cpu intel x86 not work , from nexus 9 cpu nvidia android 6.0.1 64bit is work from nexus 6 cpu snapdragon androis 6.0.1 is work .
and from cpu intel x86 bot android 5.1 is work fine.

that is the problem on android 6.0+ device,try modify the build.grade and lower the targetSdkVersion less than 23, that works for me on android 6.0 x86 emulator
android {
    compileSdkVersion 23
    buildToolsVersion "23.0.1"

    defaultConfig {
        applicationId "tcking.github.com.giraffeplayer"
        minSdkVersion 10
        targetSdkVersion 21// lower than 23
        versionCode 1
        versionName "1.0"

        ndk {
            abiFilters "armeabi","armeabi-v7a","arm64-v8a","x86","x86_64"
        }
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

Using Android Studio when i create Signed APK (working fine with non signed apk) and start Android App
below error occurs all the time.
ERROR
Can't load vlcjni library: java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/parwinder.singh.livekirtan-1/lib/arm/libvlcjni.so"
It happens only if i set minifyEnabled true.
I have placed libvlcjni.so files in src->main->jniLibs->armeabi-v7a
buildTypes {
release {
minifyEnabled true;
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
proguard-rules.pro file
-keep public class org.videolan.libvlc.**
-keep public class com.squareup.picasso.**
-keep public class com.squareup.okhttp.**
-dontwarn com.squareup.picasso.**
-dontwarn com.squareup.okhttp.**
-keepclasseswithmembers class * {
native ;
}

I'm also facing the problem like text relocations error as this in My Log
E/GiraffePlayer: loadLibraries error                                                                  java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.live.streamnow-Zil4ZLFNjsI0xQUuMMCJ9w==/lib/x86/libijkffmpeg.so" has text relocations

you can let targetSdkVersion less then 23
or you can try GiraffePlayer2


Support T5EncoderModel for t5-based embedding models

What does this PR do?
Add support for the encoder-only model T5EncoderModel
used in t5 embeddings models such as sentence-transformers.
(related to #436)

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Thanks for the review @katalinic-gc ,
I'll work on publishing a model card then,


Add support for number of nauts killed

https://github.com/KSP-RO/RP-0/commit/560687cd662f91d864e227a1a162ae3c7518bba5

Implemented in 68477112cf6c8cf7e3f9dc6b0867bcf4314622f8


rename module and rewrite imports for dcrlabs

Actions seem to work on my fork, so I guess it'll work when merged: https://github.com/chappjc/neutrino-bch/runs/7685166770?check_suite_focus=true

Derp. I must have switched branches or something.

k, let's see if github actions switches on when this is merged


Skip Travis build for doc-only changes

The Travis CI build is triggered regardless of changes made in the PR, Which is not a desirable outcome in case of doc-only changes.
There is an open Issue in travis CI (https://github.com/travis-ci/travis-ci/issues/6301) for the same, but as it's not being followed up, other repos have implemented it on their side.
Ref:
https://github.com/facebook/react/issues/1768
https://github.com/serverless/serverless/issues/2699

if this is a desireable change, i would like to work on it.

@poothia What is required to implement this feature?

@marun i think adding a check in travis.yml to check if only changed files are .md files then it should exit without making the whole build should be enough. if you say so, i can update a WIP PR to see the same.

@poothia If that's the case, then please go ahead.  It wasn't clear to me from the provided links that direct travis support was available.


Filter incoming/outgoing payments by tx id

Is it possible to filter the incoming/outgoing payments by tx id? I am surprised that this works only by payment id - most of the time I only have the tx id.

Good idea. The RPC wallet has even a method for it.

Temp workaround:
incoming = w.incoming()

def tx_id_in_incoming(tx_id):
    return len(list(filter(lambda i: i.transaction.hash == tx_id, incoming))) == 1

>= 1 as you may receive multiple payments within one transaction.

Implemented in d44d4fd2ac1422527a7d3e64e09a65741280e57c. Needs docs and will be released in 0.6


[QUESTION] Discovery of python keywords in a selenium plugin

I have a lot of keywords in a selenium plugin. For example:
# lib/MyPlugin.py

from SeleniumLibrary.base import keyword

class MyPlugin:
  @keyword()
  def assert_something(self, something):
    return some_assertion()

Then I use it in my case file:
*** Settings ***
Library    SeleniumLibrary    plugins=MyPlugin

*** Test Cases ***
Expect Something
    Assert Something    something

I current receive errors, in my case file, telling me that the Assert Something keyword does not exist. Is there anything I can do to remedy that? (Just to clarify, running this test works fine).
Desktop (please complete the following information):

VS Code Version 1.80.2
RobotCode Version 0.48.0
OS: MacOS
Python Version 3.9.1
RobotFramework Version 6.0.2
RobotFrameworkSeleniumLibrary Version 6.0.0

Hi @johngeorgewright,
RobotCode caches the information about the keywords in a library when it first finds them, because normally keywords don't change. However, this is quite a challenge with dynamic libraries. The possibility to extend the Selenium library with plugins makes it a dynamic library.
Try to delete the cache of RobotCode, as long as the SeleniumLibrary is always included in your project in the same way, i.e. with always the same parameters, this can be a solution.
Search in VSCode with F1 for the command Robot Code: Clear Cache and Restart Language Servers and execute it.
You can also exclude libraries completely from the cache mechanism, then the information for each robot file is always read in again. This might take a little longer at startup, but if it's just one library, it shouldn't matter too much.
Excluding libraries is done with the setting robotcode.analysis.cache.ignoredLibraries (just search in Settings, but aware of the User and Workspace/Folder settings, in most cases it is enough to use the User settings), just add SeleniumLibrary there.

Amazing. This works! Thanks for your help @d-biehl .


Merge filter factory overloads now accept null arguments

Description
SKImageFilter.CreateMerge overloads now accept null for the image filter input argments
Since null  refers to the source graphics being drawn, passing null must be allowed.
Added unit test
Bugs Fixed
SKImageFilter.CreateMerge doesn't throw NullReferenceException anymore.

Related to issue #1163

API Changes
None.
Behavioral Changes
SKImageFilter.CreateMerge doesn't throw NullReferenceException anymore.
PR Checklist

[y] Has tests (if omitted, state reason in description)
[n] Rebased on top of master at time of PR
[?] Changes adhere to coding standard
[n] Updated documentation

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Ziriax sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the PR and the unit test. Welcome to the list of contributors!

It seems SKImageFilter.CreateBlendMode suffers from a similar problem. Will create an issue and PR


Add omitempty tags to optional API fields

Some API fields are optional but don't have the omitempty in the JSON tag. This PR adds them.

/cc @ncdc

Thanks @nikhita!

Tests are all green. :+1:


perform setup in viewWillAppear instead of viewDidAppear

Some subviews flicker shortly at startup when the setup is in viewDidAppear

This approach does not work. Layout happens after viewWillAppear: returns. But the code that was originally in viewDidAppear: depends on knowing the correct page width, which is not available in viewWillAppear:.
A better solution is probably to move the code from viewDidAppear: to viewDidLayoutSubviews.

The problem still happens, the solution to move the code from viewDidAppear: to viewDidLayoutSubviews did solve the problem.


Violations of SA1113 are not reported in the MSBuild output

See #1658 for a clear example. The pull request introduces two violations of SA1113, in addition to violations of SA1116 and SA1117. When you open the solution in Visual Studio, all of these warnings are reported in the Error List window. When you build the project, only SA1116 and SA1117 are included in the build output (see AppVeyor for example).
:memo: SA1113 is implemented in SA1113CommaMustBeOnSameLineAsPreviousParameter.

@sharwell Any chance the analyzer is failing to load with an AD0001 diagnostic? You might have to bump up the MSBuild logging verbosity and then search the build log to find it.

1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1110OpeningParenthesisMustBeOnDeclarationLine' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1111ClosingParenthesisMustBeOnLineOfLastParameter' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1012OpeningCurlyBracketsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1016OpeningAttributeBracketsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1111ClosingParenthesisMustBeOnLineOfLastParameter' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1110OpeningParenthesisMustBeOnDeclarationLine' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1111ClosingParenthesisMustBeOnLineOfLastParameter' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1113CommaMustBeOnSameLineAsPreviousParameter' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1112ClosingParenthesisMustBeOnLineOfOpeningParenthesis' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1113CommaMustBeOnSameLineAsPreviousParameter' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1110OpeningParenthesisMustBeOnDeclarationLine' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1001CommasMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1110OpeningParenthesisMustBeOnDeclarationLine' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1023DereferenceAndAccessOfSymbolsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1013ClosingCurlyBracketsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1110OpeningParenthesisMustBeOnDeclarationLine' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1112ClosingParenthesisMustBeOnLineOfOpeningParenthesis' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1017ClosingAttributeBracketsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1111ClosingParenthesisMustBeOnLineOfLastParameter' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1010OpeningSquareBracketsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1008OpeningParenthesisMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1111ClosingParenthesisMustBeOnLineOfLastParameter' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1026CodeMustNotContainSpaceAfterNewKeywordInImplicitlyTypedArrayAllocation' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.FixAnalyzers.CSharpFixerWithFixAllAnalyzer' threw an exception of type 'System.TypeInitializationException' with message 'The type initializer for 'Microsoft.CodeAnalysis.Analyzers.FixAnalyzers.FixerWithFixAllAnalyzer`1' threw an exception.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1113CommaMustBeOnSameLineAsPreviousParameter' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1020IncrementDecrementSymbolsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1113CommaMustBeOnSameLineAsPreviousParameter' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1110OpeningParenthesisMustBeOnDeclarationLine' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1019MemberAccessSymbolsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1006PreprocessorKeywordsMustNotBePrecededBySpace' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1112ClosingParenthesisMustBeOnLineOfOpeningParenthesis' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1110OpeningParenthesisMustBeOnDeclarationLine' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1000KeywordsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1024ColonsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1113CommaMustBeOnSameLineAsPreviousParameter' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1111ClosingParenthesisMustBeOnLineOfLastParameter' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1111ClosingParenthesisMustBeOnLineOfLastParameter' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1014OpeningGenericBracketsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1022PositiveSignsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1000KeywordsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1015ClosingGenericBracketsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1112ClosingParenthesisMustBeOnLineOfOpeningParenthesis' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1011ClosingSquareBracketsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1021NegativeSignsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1111ClosingParenthesisMustBeOnLineOfLastParameter' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1009ClosingParenthesisMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.SpacingRules.SA1002SemicolonsMustBeSpacedCorrectly' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1111ClosingParenthesisMustBeOnLineOfLastParameter' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)
1>  info AD0001: The Compiler Analyzer 'StyleCop.Analyzers.ReadabilityRules.SA1110OpeningParenthesisMustBeOnDeclarationLine' threw an exception of type 'System.IO.FileNotFoundException' with message 'Could not load file or assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'. (TaskId:31)

@sharwell That would be a definitive "yes". Your analyzer appears to have a dependency on Microsoft.CodeAnalysis.Workspaces, which isn't part of the compilers. It is part of VS and is almost certainly being copied over for your unit test runs, which is why the analyzers load and run there.
Unfortunately a quick perusal of the code doesn't reveal any obvious dependencies.

@tmeschter The analyzer in question referenced a static member of a type which was derived from CodeFixProvider. Even though the analyzer didn't use anything from Microsoft.CodeAnalysis.Workspaces, the assembly needed to at least be present.
:memo: This design is a disaster for the way analyzers and code fixes are currently structured in samples and now in various projects. The only way to ensure analyzers will work is to place all analyzers in one assembly, and all code fixes for those analyzers in a different assembly.

Hi Sam,
Has this been fixed? I'm still seeing AD0001 errors when compiling using "dotnet build" but not seeing those errors in Visual Studio.
Some of the analysers must be loading OK and appear to be working because I am seeing violations of SA1505 which is good, but I am seeing AD0001 for the SpecialRules and DocumentationRules analyzers.
CSC : warning AD0001: Analyzer 'StyleCop.Analyzers.SpecialRules.SA0002InvalidSettingsFile' threw an exception of type 'System.TypeLoadException' with message 'Could not load type 'System.Runtime.Serialization.Formatters.FormatterAssemblyStyle' from assembly 'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.'.

CSC : warning AD0001: Analyzer 'StyleCop.Analyzers.DocumentationRules.SA1642ConstructorSummaryDocumentationMustBeginWithStandardText' threw an exception of type 'System.TypeLoadException' with message 'Could not load type 'System.Runtime.Serialization.Formatters.FormatterAssemblyStyle' from assembly 'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.'.`

@mattfrear That's a different error, related to the use of StyleCop Analyzers with .NET Core. We've had several challenges with stabilizing behavior for users working with that toolchain.

This design is a disaster for the way analyzers and code fixes are currently structured in samples and now in various projects. The only way to be certain at compile time that analyzers will work is to place all analyzers in one assembly (which does not reference Microsoft.CodeAnalysis.Workspaces), and all code fixes for those analyzers in a different assembly.

How crazy would I be to try to bundle Microsoft.CodeAnalysis.Workspaces.dll in the nupkg for CSC? My analyzer needs to run logic in Workspaces in order to determine whether to report a diagnostic, so it's either that or copy and paste the logic.


Issue #445 Document supplying pull secret on crc start

We may also want to document the usage of the --pull-secret-file flag. This has not been added to the documentation yet. Please let me know what you think and I'll update this PR accordingly.

@robin-owen maybe using the --pull-secret-file | -p flag in crc start should be the suggested way, and as an alternative, if the user doesn't supply it he'll be prompted for it during start.

@anjannath that can be handled in a follow-up issue.
This information is correct and is necessary.
I will merge, but hope to get an additional PR about the crc config set pull-secret too.

got accidently closed.

retest this please


{“result”:{“error”:“noNetwork”,“error_code”:17,“error_message”:“Not synced to Ripple network.”,“request”:{“command”:“fee”},“status”:“error”}}

I'm trying to run a rippled non-validator node. I'm using an 32GB RAM C5 class instance in aws with an external volume - io1 storage with 10000 iops. I had node reboot for patching and since then it seems fine but it returns
curl --data-binary '{"method": "fee","params": []}' -H 'content-type:text/plain;' http://:5005/ A normal response is like;
{"result":{"current_ledger_size":"68","current_queue_size":"0","drops":{"base_fee":"10","median_fee":"5000","minimum_fee":"10","open_ledger_fee":"10"},"expected_ledger_size":"150","ledger_current_index":51375387,"levels":{"median_level":"128000","minimum_level":"256","open_ledger_level":"256","reference_level":"256"},"max_queue_size":"3000","status":"success"}}

err;
{"result":{"error":"noNetwork","error_code":17,"error_message":"Not synced to Ripple network.","request":{"command":"fee"},"status":"error"}}
After reboot though I just get this Not synced error.

When I spin up a node from fresh it has to download 95GB of data at about 1 a day and it gets the same error while I'm waiting.
I'm wondering what I need to do to get a node caught up or really started or how to do backup and restore so I can take a full ledger and point a new node at it.
This is my server config;
port_rpc_admin_local
port_peer
port_ws_admin_local
#port_ws_public
#ssl_key = /etc/ssl/private/server.key
#ssl_cert = /etc/ssl/certs/server.crt

[port_rpc_admin_local]
port = 5005
ip = <IP_ADDRESS>
admin = <IP_ADDRESS>
protocol = http

[port_peer]
port = 51235
ip = <IP_ADDRESS>
# alternatively, to accept connections on IPv4 + IPv6, use:
#ip = ::
protocol = peer

[port_ws_admin_local]
port = 6006
ip = <IP_ADDRESS>
admin = <IP_ADDRESS>
protocol = ws

#[port_ws_public]
#port = 6005
#ip = <IP_ADDRESS>
#protocol = wss

#-------------------------------------------------------------------------------

[node_size]
huge

# This is primary persistent datastore for rippled.  This includes transaction
# metadata, account states, and ledger headers.  Helpful information can be
# found here: https://ripple.com/wiki/NodeBackEnd
# delete old ledgers while maintaining at least 2000. Do not require an
# external administrative command to initiate deletion.
[node_db]
type=RocksDB
path=/data01/rippled/db/rocksdb
open_files=2000
filter_bits=12
cache_mb=256
file_size_mb=8
file_size_mult=2
online_delete=120000
advisory_delete=0

# This is the persistent datastore for shards. It is important for the health
# of the ripple network that rippled operators shard as much as practical.
# NuDB requires SSD storage. Helpful information can be found here
# https://ripple.com/build/history-sharding
#[shard_db]
#path=/data01/rippled/db/shards/nudb
#max_size_gb=500

[database_path]
/data01/rippled/db

# This needs to be an absolute directory reference, not a relative one.
# Modify this value as required.
[debug_logfile]
/var/log/rippled/debug.log

[sntp_servers]
time.windows.com
time.apple.com
time.nist.gov
pool.ntp.org

# To use the XRP test network (see https://ripple.com/build/xrp-test-net/),
# use the following [ips] section:
# [ips]
# r.altnet.rippletest.net 51235

# File containing trusted validator keys or validator list publishers.
# Unless an absolute path is specified, it will be considered relative to the
# folder in which the rippled.cfg file is located.
[validators_file]
validators.txt

# Turn down default logging to save disk space in the long run.
# Valid values here are trace, debug, info, warning, error, and fatal
[rpc_startup]
{ "command": "log_level", "severity": "warning" }

# If ssl_verify is 1, certificates will be validated.
# To allow the use of self-signed certificates for development or internal use,
# set to ssl_verify to 0.
[ssl_verify]
1

This is my run command:
/opt/ripple/bin/rippled --silent --conf /etc/opt/ripple/rippled.cfg

Turns out I was able to get this working by switching systemd for etc/init.d.
I think the restart on failure what freaking out the system.


Redesigning Configs in Heron

Typing for configs, whether on a cluster, topology, or component level, is not clear.  Some configs are manually converted into Strings while others are left as its original type. This can be very frustrating to developers when setting or reading configs since the type of the config is not clear.  This may also cause unexpected bugs in the code.

My thoughts:
For every config we need to have single source of truth of what type the config is so as to be consistent across the whole project.  I also don't think we should manually convert the configs to strings.  If we need to do so across languages for compatibility, we can always create a layer of converting certain configs to strings and converting them back to the correct types

Perhaps we can use annotations like in Storm to specify what types configs are and also validate config types accordingly

There are two configs, one from APi and the other from Spi. Does this issue target at APi.config or SPI.config, or both?

This is basically API configs if I understand correctly.

Correct I am talking about API.Config.  For C++ and python we could have similar approach ( though not sure what at this moment). We just need to be clear what is the type of the config that is being passed around in the code so all developers are on the same page


null-safety

Do you have any plans to support null-safety?

@higorlapacw yes, new version with null-safety will be released very soon.

Thanks, @jorgefspereira!

@jorgefspereira Hi Jorge, let me know if you'd like help on this. We need it for our app and I can maybe get a PR out by tomorrow if you'd like. Thanks

Hi @tuanvugoodmoney, no need...I'll be pushing a null safety version of the plugin this week 👊

Hi @tuanvugoodmoney, I just publish the plugin version 2.0.0 with null-safety support. Feel free to report or PR any issue 😄

@jorgefspereira You rock


Revised topics about nullable types

Revised two topics about nullable types (probably, the best way to review is side by side):
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/nullable-types/
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/nullable-types/using-nullable-types
Moved snippets to the samples repo: supported by dotnet/samples#205
Fixes #6630

closing and reopening to force a new build

@BillWagner thank you for the review. I've addressed your feedback for the index.md file. As for the using-nullable-types.md file, I've given it one more look and updated the division into sections. Please review it again.
The latest commit relies on the dotnet/samples#209

@BillWagner I've updated the "Using nullable types" topic with pattern matching case.

closing and reopening to start a new build, to include the new sample)

Thanks for making the updates @pkulikov I've reviewed the latest changes, and I'll :shipit: now.
Thanks again.


Assertions in test modules outside test functions are included in the count validated by expect.assertions() in the first test

🐛 Bug Report
Assertions in test modules outside test functions are included in the count validated by expect.assertions() of the first test. This seems to be the same issue as described in the previously closed #5887.
To Reproduce
Clone this example/reproduction repo, npm install and run the tests; they'll fail but should pass: https://github.com/h4l/jest-expect-assertions-bug
Example from that repo:
beforeAll(() => {
    expect(0).toBe(0);
});

// Uncommenting this stops the first test failing
// test('dummy', () => undefined);

// The first test here fails (with 2 assertions instead of 1),
// second and third pass.
test.each([[1], [2], [3]])( 'example test %# ', x => {
    expect.assertions(1);
    expect(x).toBeGreaterThan(0);
});

Expected behavior
The assertion count validated by expect.assertions() in test functions should be independent of assertions made in test setup code.
Link to repl or repo (highly encouraged)
Reproduction repo: https://github.com/h4l/jest-expect-assertions-bug
envinfo
  System:
    OS: macOS 10.14.4
    CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
  Binaries:
    Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node
    npm: 6.9.0 - ~/.nvm/versions/node/v10.16.0/bin/npm
  npmPackages:
    jest: 24.9.0 => 24.9.0

Looks to be related to this issue as well https://github.com/facebook/jest/issues/8297


Updates Todo AKS template to add details about required roles

Resolves #1871
Updates AKS todo readme to include details about required roles for provisioning this template.

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/1961
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/1961

View Changes | Compare Changes

/check-enforcer override


Fancy zones issue with virtual desktops and showing window on all desktops

Microsoft PowerToys version
0.59.0, 0.60.0
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
Context:

I'm using 3 monitors + a laptop screen
Running Windows 11
Using virtual desktops
Affected windows have the following settings in the virtual desktop window control management screen (windows+tab)

When attempting to snap a window to a zone, the zones do not appear.
The windows snap normally to a zone if it is not set to show on all desktops
✔ Expected Behavior
I was expecting the window to snap to a zone
❌ Actual Behavior
No fancy zones appear when dragging the window
Other Software

Hi, do you have options Allow child windows snapping and Allow popup windows snapping enabled?
/needinfo


Double "tab" to trigger snippets

Hi @msaraiva,
I’ve been using the package, and notice that it’s necessary to hit tab twice every time a user needs to trigger a snippet.
By disabling the package, the behavior reverts to normal: 1 tab keydown to trigger the snippet.
All the best!
Gustavo

@gusaiani It's fixed!. Try to git pull the package and restart Atom. Let me know if it's working. Thanks for the feedback!

Yup, it’s working. :100:


Added ignore of special schemes such as mailto, sms, tel, etc

See https://github.com/TheSGJ/nextjs-toploader/issues/61 for more information

This is a nice improvement, would be great to see this merged. 🚀


Support multi-table sink feature for influxdb

Purpose of this pull request
Support multi-table sink feature for influxdb
refer to https://github.com/apache/seatunnel/issues/5652

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[x] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[x] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[x] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[x] Update the release-note.

@hailin0 @EricJoy2048 please cc

please fix ci

cc @Hisoka-X


JCR Compare no colors, Download JSON not working in AEM 6.4

Required Information
JCR Compare is not working as expected.
In 6.2 with SP1, it works but is not rendering the expected colors, but in 6.4.2 there are other errors.

[x] AEM Version: 6.4.2
[x] ACS AEM Commons Version: 3.18.2
[x] Reproducible on Latest? yes

Expected Behavior
When I click Download JSON I expect to get the JSON used for the comparison.
Actual Behavior
When I click on Download JSON, I get a message saying that the address was not understood.
Example: unsafe:localhost:4504/bin/acs-commons/jcr-compare.dump.json?optionsName=REQUEST&paths=%2Fcontent...
Steps to Reproduce
Just start a fresh vanilla install of AEM 6.4 with no sample content, install SP2. Install AEM ACS Commons.
JCR Compare configured using all the default values.

Yes, it is.


Listen Server

Hello!
I'm trying to use your plugin in my multiplayer game, but I can't figure out how to load save file as listen server.
Is there any method for that? I couldn't find anything that could work.
Thanks in advance :)

I'm not aware of any reason it wouldn't work with a listen server, what problems are you seeing?

I'm new to Unreal so I'm probably doing something wrong :D
When I call LoadGame from main menu it will load save and travels to map, but without ?listen.
I also tried to travel into correct level and then calling LoadGame, that doing some weird stuff like it will load, then saves the current level and then loads it again.

Ahh ok I think I see the problem. Can you try the listen-server branch to see if that fixes it for you? Comparison: https://github.com/sinbad/SPUD/compare/master...listen-server

It still doesn't open it as listen server, should I call LoadGame from main menu or in GameMode after level is loaded?
When I call it from main menu, it will load map and loads player to correct position. But no listen, because main menu is not opened with this flag.
When I call it from GameMode, it will do some weird stuff. But no listen even when this level was opened with listen flag.
GameMode: previous comment
Main menu:
/* const auto& SpudSystem = GetSpudSubsystem(GetWorld());
SpudSystem->NewGame();

if (!SaveGame.IsEmpty()) {
    SpudSystem->LoadGame(SaveGame);

    CreateButton->SetIsEnabled(true);

    return;
} */

if (!GetWorld()->ServerTravel(FString::Printf(TEXT("Test?Listen?SaveGame=%s"), *SaveGame))) { // Travel to playable level
    ULogger::LogTemplate(LogPrefix, "Server travel failed");

    CreateButton->SetIsEnabled(true);
}

It will spawn me at correct position, but then it will teleport me to world spawn.
https://github.com/user-attachments/assets/2ce06eb4-81a6-433a-bce0-ef94d8240b25

OK it's probably that I'm only preserving the URL options and in at least some of those cases the last travel wasn't with ?listen or something like that. Probably needs some travel options adding to the LoadGame function. Just try manually adding "listen" as the options in that UGameplayStatics::OpenLevel call in the SPUD code and see if that helps, if so we can always expose that as an option perhaps.

I was thinking about that too.
It would be best for user to pass travel options to LoadGame function that will be directly passed to UGameplayStatics::OpenLevel. Or maybe add option to disable travel entirely and let user to do travel himself?
I tried adding "listen" to options and it works!
But those weird things from previous video are still present


action fails

Reading package lists...
  W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://storage.googleapis.com/bazel-apt stable InRelease: The following signatures were invalid: EXPKEYSIG 3D5919B448457EE0 Bazel Developer (Bazel APT repository key<EMAIL_ADDRESS>  W: Failed to fetch https://storage.googleapis.com/bazel-apt/dists/stable/InRelease  The following signatures were invalid: EXPKEYSIG 3D5919B448457EE0 Bazel Developer (Bazel APT repository key<EMAIL_ADDRESS>  W: Some index files failed to download. They have been ignored, or old ones used instead.
  /usr/bin/sudo apt-get install -y --no-install-recommends python-dev python-venv python3-distutils
  Reading package lists...
  Building dependency tree...
  Reading state information...
  E: Unable to locate package python-venv

See https://github.com/gaborbernat/attrs-strict/runs/730616393?check_suite_focus=true

this is undefined: https://github.com/gaborbernat/attrs-strict/commit/fff8b69834c2ccfa95cb6b337ebc1552690bdde6#diff-a97b94ff5fab7a2f44cbd3d538b5be85R75
you've got matrix.py: https://github.com/gaborbernat/attrs-strict/commit/fff8b69834c2ccfa95cb6b337ebc1552690bdde6#diff-a97b94ff5fab7a2f44cbd3d538b5be85R61-R63


Use the runner command with the default target

What does this PR do?
On homer0/projext#12 projext added support the use of a default targets, which means that you are not longer required from specifying a target name on the build and run commands.
This PR adds the same support for the plugin, you can now run projext-runner without a target name and it will automatically use the new default target functionality.
How should it be tested manually?

Try to run a target without specifying its name.
Run the tests.

Are there any related PRs?

homer0/projext#12

Pull Request Test Coverage Report for Build 47

18 of 18 (100.0%) changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 45:
0.0%

Covered Lines:
242

Relevant Lines:
242

💛  - Coveralls


Cursor highlights

Hello, this is a really great plugin!
I'm new to Vim and I find the highlight group configs confusing. Currently, when other users are editing a file, only their name is shown on the line they are currently editing. I'm wondering if there's a way to also show their cursor (perhaps in a different color), without having to follow them. Any guidance would be greatly appreciated.

Disregard this. I spent a few hours learning more about neovim.


add reco validation files

rm extracted_06, which was a spurious file
add files to the reco jobs so that they are all a little over 1h

Only reco nightly validation should change.

Hi @rlcee,
You have proposed changes to files in these packages:

Validation

which require these tests: build.
@Mu2e/fnalbuild-users, @Mu2e/write have access to CI actions on main.
:hourglass: The following tests have been triggered for 2e59fd0d601a210505b430a569adce3e50f86fc5: build  (Build queue is empty)
About FNALbuild. Code review on Mu2e/Offline.

:sunny: The build tests passed at 2e59fd0d601a210505b430a569adce3e50f86fc5.

Test
Result
Details

test with
:white_check_mark:
Command did not list any other PRs to include

merge
:white_check_mark:
Merged 2e59fd0d601a210505b430a569adce3e50f86fc5 at 3154b8c942cf0826d8beecc181d37a2995bebcda

build (prof)
:white_check_mark:
Log file. Build time: 11 min 16 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 2e59fd0d601a210505b430a569adce3e50f86fc5 after being merged into the base branch at 3154b8c942cf0826d8beecc181d37a2995bebcda.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.


Add test for varsub in secret

Fixes: #502
Fixes: #504
Signed-off-by: Somtochi Onyekwere<EMAIL_ADDRESS>

@makkes I see that you've approved this PR, but the doc formatting is wrong, it will not render on fluxcd.io due to that empty line missing.

@makkes I see that you've approved this PR, but the doc formatting is wrong, it will not render on fluxcd.io due to that empty line missing.

Yeah, my usual way in these situations is to approve the PR and assume that prior change requests are properly addressed. Does that sound reasonable?

Does that sound reasonable?

Yeap all good


All entities become state unknown when one or more entities are set to disabled

After install some entities of the mower becomes state unknown, when i rename the id of the state sensor or when i add the new lawn-mower-control via the configuration checkbox.
Installed Version: 5.7.0
HA-Version: 2024.6.3

Error-log says:
Logger: homeassistant
Quelle: helpers/entity.py:965
Erstmals aufgetreten: 19:01:55 (10 Vorkommnisse)
Zuletzt protokolliert: 19:15:27

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/config/custom_components/indego/__init__.py", line 495, in _initial_update
    self.set_online_state(False)
  File "/config/custom_components/indego/__init__.py", line 658, in set_online_state
    self.entities[ENTITY_MOWER_STATE_DETAIL].set_cloud_connection_state(online)
  File "/config/custom_components/indego/mixins.py", line 83, in set_cloud_connection_state
    self.async_schedule_update_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1254, in async_schedule_update_ha_state
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 997, in async_write_ha_state
    self._async_verify_state_writable()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 965, in _async_verify_state_writable
    raise RuntimeError(f"Attribute hass is None for {self}")
RuntimeError: Attribute hass is None for <entity unknown.unknown=unknown>

Reinstallation of Indego gives error:
Logger: homeassistant.util.package
Quelle: util/package.py:55
Erstmals aufgetreten: 19:46:02 (2 Vorkommnisse)
Zuletzt protokolliert: 19:46:06

Invalid requirement<EMAIL_ADDRESS>
For the moment, i go back to 5.6.1. Here are all entities working perfectly.

Not sure if it is the solution but maybe you can have at look at this issue from beta version #226

Not working for me, i have try it.

The "invalid requirement" warning can be ignored. I have already checked it.
The runtime error causes the behavior you describe.
Can you explain what you mean with "changing the id"?

When i change the entity-id. But the problem occures randomly at one of the entities.

The entity id of which entity? Please provide details, so I can try to do the exact same thing in my setup.

Now i have reinstalled the integration.
Then i have rename the entity-id´s, all works fine:

But when i reload now the integration, all entities become these states:

I don´t know, before update of 5.7.0 all works fine.

Okay now i think i know the problem.
At this point, when i disable any entity and reload the integration, the integration crash.
But when i re-enable the disabled entities all works.

Okay the problem entities are: mower_state_detail and runtime_total.
When i disable one of these entities and reload the integration, the integration crashed.

I guess disabling the entity is the problem here. Can you re-enable and restart HA?

I have tested it. Caused by disabling one or more entities. It breaks updating the state update call.
Workaround: Do not disable entities; you can use the hide toggle for now.

Thank you, thats it!

Thank you for confirming! We try to fix this in the next release. But workaround should be ok for now.

Please test with pre-release 5.7.1 to see if the issue has been resolved.

Problem is fixed with 5.7.2! Thank you!


global variable for verifyURL

https://github.com/CodeChefVIT/Quizzie/blob/master/Backend/api/routers/user.js
Make a global variable in the code for verifyURL or define it in .env.
The repeated use of the same string for the same variable is not a good practice for a clean code.

Can you assign it to me, I will try to fix this

Can you assign it to me, I will try to fix this

Sure @saaheel  go ahead

Thanks, I will be on it

@saaheel  any updates?

Can I fix this @jugaldb

@akshatvg can we assign this to @nanipunepalle

Due to inactivity by the original assignee, I’ve assigned you now @nanipunepalle ✌🏻

Ok @akshatvg will make a PR soon

@akshatvg  added middleware with verifyurl  and updated all routes according to it here https://github.com/nanipunepalle/Quizzie/blob/1c07c82fd5f8913f30fc2a63e498318242b8e765/Backend/api/middleware/verifyURL.js#L1

You can close the issue after merging @akshatvg  refer: #115


Add a mechanism for communicating streaming size behaviour at compile…

… time
This is part of a fix for the max (and other) wrappers that is needed so that wrappers can be aware of how IO sizes will be managed at compile time (and consequently without the need to instantiate a client - as in the main() of the max wrapper or the equivalent class definition section of the pd wrapper).
As this involves hierarchical inheritance this change should not affect the current behaviour of the wrappers in any way until modifications are made to them also.

@weefuzzy - I've included you here because there are some things to review (or tell us that you don't wish to review) in the max wrapper change coming up and that involves being aware of this change.


introduce parquet numpy reader

also stop the readers on error
#15

works but reading parquet from s3 is quite slow when the metadata is strings. Reading from local is much much faster
I believe the reason is that the .slice of pyarrow on parquet is not doing anything very useful and is reading much more than it should
maybe the only fast solution for parquet would be to have a local cache


Bubble Sorting using python

Is your feature request related to a problem? Please describe.
To implement Bubble sort using Python
Programming language

[ ] C
[ ] C++
[ ] Java
[ ] Python

Hi,
Can i try this issue

i can do this in cpp and java language
please assign :)

Can I do this in Python?


[KARAF-6897] Include conditional bundles on karaf-maven-plugin genera…

…ted kar (offline deploy support)

@paulojramos thanks ! Can you please squash the commits in a single one ?

@jbonofre Done.


Update README.md

Fix build status badge to point to Github Actions instead of Travis

Thanks @jherico! I just noticed we don't seem to have a Contributor License Agreement from you yet. Can I please bug you to sign it?
https://github.com/CesiumGS/cesium/blob/master/CONTRIBUTING.md#contributor-license-agreement-cla

@kring done.  It doesn't seem to be workflow related but I know some other repositories seem to automatically check for CLA signature as part of the PR checks mechanism, such as in this PR: https://github.com/google/s2geometry/pull/338
Not sure how that's set up, but might be worth looking into to automate that check and prompt non-signatories to sign without the need for human intervention.

Thanks @jherico! Yes agreed CLAs should be automated. Some other folks at Cesium are working on setting that up.


what's the problem?

I've two problems
in training, segmentation fault(core dump)
in predicting, no such file or directory : 'model.out'

I've removed the instructions about the C++ GMM implementation. Training will not segfault if you do not compile the C++ GMM, then the code will use sklearn.
Predict says no such file or directory, because training is supposed to output a model if it succeeded.

Thank you so much. It works.

That's great to hear!
Closing.


Move levenshtein, uuid, overlay to datafusion-functions

Is your feature request related to a problem or challenge?
As part of https://github.com/apache/arrow-datafusion/issues/9285 move the levenshtein, uuid, overlay functions to the new datafusion-functions crate in the new structure.
Describe the solution you'd like
Functions are migrated to the new crate and use the new patterns as described in https://github.com/apache/arrow-datafusion/issues/9286 & https://github.com/apache/arrow-datafusion/pull/9216
Describe alternatives you've considered
No response
Additional context
No response

take


Specifying how to run tour offline

Most people using the tour for the first time who have no programming experience might not understand how exactly to run the tour after getting the tour binary.
I can update the docs and make a PR for this if anyone else thinks this is needed

I think this extant issue can now be closed ? The instructions now say how to run the tour (i.e. run the tour binary to get the web service running and similarly use a web browser to browse the local website )
However, the latest instruction gives yet another obsolete command
go get golang.org/x/tour
https://github.com/golang/tour/issues/1218#issuecomment-875145650


fix when full clone failed, duplicate key might occur

Proposed changes
Issue Number: close #xxx
introduced by #31268
full clone failure may produce duplicate keys in mow table
the bug would be triggered in the following condition:

replica 0 miss version
replica 0 try to do full clone from other replicas
the full clone failed and the delete bitmap is overrided incorrectly
replica 0 try to do incremental clone again and this time the clone succeed
incremental clone can't fix the delete bitmap overrided by previous failed full clone
duplicate key occurred

solution:
for full clone, don't override the delete bitmap, use merge() method instead.

run buildall


tests: rename test entry functions

Be compatible with the rest and enable parsing of sub-cases.
Signed-off-by: Anas Nashif<EMAIL_ADDRESS>

Codecov Report

Merging #9750 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9750   +/-   ##
=======================================
  Coverage   52.24%   52.24%
=======================================
  Files         212      212
  Lines       25950    25950
  Branches     5593     5593
=======================================
  Hits        13557    13557
  Misses      10159    10159
  Partials     2234     2234

Continue to review full report at Codecov.

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


Provide notice for docker images for 'alpine' base image

The portal team is using alpine as base image for keycloak theme importing purposes
https://github.com/eclipse-tractusx/portal-iam/blob/main/docker/Dockerfile.import
We should provide proper base image information, that can be used in the 'Notice for docker images' and add it to the examples on https://eclipse-tractusx.github.io/docs/release/trg-4/trg-4-06#already-collected-base-image-information
Alpine on DockerHub: https://hub.docker.com/_/alpine

Hi all, guess this is maybe an outdated issue because we have already a Notice for apline
https://eclipse-tractusx.github.io/docs/release/trg-4/trg-4-06/#nginx-unprivileged-serve-static-html-and-js-bundles
or do i get something wrong

So will close the issue


pied: init at 0.3.0

Closes https://github.com/NixOS/nixpkgs/issues/357671
Add pied to nixpkgs.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@TomaSajt

I couldn't run the voice samples, because it looks like like some other plugins were missing too.
According to the appimage build info, gst_all_1.gst-plugins-good and gst_all_1.gst-plugins-bad are also needed.
However, even after adding them, I still couldn't run the audio samples, because I was getting this error:
flutter: AudioPlayers Exception: AudioPlayerException(
	UrlSource(url: https://huggingface.co/rhasspy/piper-voices/resolve/v1.0.0/en/en_US/amy/low/samples/speaker_0.mp3?download=true),
	PlatformException(LinuxAudioError, Failed to set source. For troubleshooting, see: https://github.com/bluefireteam/audioplayers/blob/main/troubleshooting.md, Internal data stream error. (Domain: gst-stream-error-quark, Code: 1), null)
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: PlatformException(LinuxAudioError, Failed to set source. For troubleshooting, see: https://github.com/bluefireteam/audioplayers/blob/main/troubleshooting.md, Internal data stream error. (Domain: gst-stream-error-quark, Code: 1), null)

Does this happen for anyone else? Or do I just have a weird audio setup somehow?

I just got the same error after building with the patch

I just got the same error after building with the patch, after adding the gst_all_1.gst-plugin-good and the  gst_all_1.gst-plugin-bad it works with all the audio samples.

Wait, does this mean you were able to open the app? Didn't you say it showed a blank screen?
(By the way, it opens for me without problems.)

I just got the same error after building with the patch, after adding the gst_all_1.gst-plugin-good and the  gst_all_1.gst-plugin-bad it works with all the audio samples.

Wait, does this mean you were able to open the app? Didn't you say it showed a blank screen?
(By the way, it opens for me without problems.)

At first when I tried launching the app after building all I got was blank screen and  nothing more, after rebuilding a few more time with the gst_all_1.gst-plugins-good and gst_all_1.gst-plugins-bad it launched successfully and the audio samples worked too.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 357976

x86_64-linux

:white_check_mark: 3 packages built:

pied
pied.debug
pied.pubcache

aarch64-linux

:white_check_mark: 3 packages built:

pied
pied.debug
pied.pubcache

x86_64-darwin

:x: 3 packages failed to build:

pied
pied.debug
pied.pubcache

aarch64-darwin

:x: 3 packages failed to build:

pied
pied.debug
pied.pubcache

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 357976

x86_64-linux

:white_check_mark: 3 packages built:

pied
pied.debug
pied.pubcache

aarch64-linux

:white_check_mark: 3 packages built:

pied
pied.debug
pied.pubcache

x86_64-darwin

:x: 3 packages failed to build:

pied
pied.debug
pied.pubcache

aarch64-darwin

:x: 3 packages failed to build:

pied
pied.debug
pied.pubcache

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 357976

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 357976

x86_64-linux

:white_check_mark: 3 packages built:

pied
pied.debug
pied.pubcache

aarch64-linux

:white_check_mark: 3 packages built:

pied
pied.debug
pied.pubcache


[SPARK-46849][SQL][FOLLOWUP] Column default value cannot reference session variables

What changes were proposed in this pull request?

One more followup of https://github.com/apache/spark/pull/44876 .
Previously, by using a fake analyzer, session variables can't be resolved and thus can't be in the default value expression. Now we use the actual analyzer and optimizer, session variables can be properly resolved and replaced with literals at the end. This is not expected as default value shouldn't references temporary things.
This PR fixes this by explicitly failing the check if default value references session variables.
Why are the changes needed?

fix behavior changes.
Does this PR introduce any user-facing change?

no, the behavior change is not released.
How was this patch tested?

new test
Was this patch authored or co-authored using generative AI tooling?

no

cc @dtenedor @srielau @gengliangwang

Thanks, merging to master


[FEATURE] Style: sort tailwindcss classes

Description
It would be great to define tailwind CSS classes in a proper way rather than defining unsorted way. For e.g.

Some text

should be converted to

<Some text

Screenshots
No response
Additional information
No response

@eddiejaoude Can I work on this issue?

Thank you for the suggestion, but from previous experience this is not sustainable and creates a lot make work for new contributors


Commands vs tasks

It would be ideal if docker compose commands were defined as tasks instead. The reason is that tasks execute in the context of scope, but the docker compose commands do not.
Use case 1: As a developer on a multi-module project I would like to have each module have their own docker compose file.
Use case 2: As a developer I would like to have a separate docker compose file for the IntegrationTest configuration and the Test configuration (so I can do it:dockerComposeUp and test:dockerComposeUp)
Use case 3: As a developer I would like to use docker compose commands as a step of a larger task without being forced to define sbt commands
Use case 4: As a developer on a multi-module project I would like to only run docker compose for a single module (so I can do foo/dockerComposeUp)
SBT documentation of commands indicates:

Typically, you would resort to a command when you need to do something that’s impossible in a regular task.

What was the motivation for using commands over tasks?

Hi @s-nel, great question!
It was a while ago so you are testing my memory a bit but I recall during the initial implementation I starting out using Tasks but did run into some cases where I couldn't get it accomplish what I needed and had to switch over to using Commands. I'm not sure if this is the only class of problem I hit with Tasks but I believe that the main issue had to do with not being able to call a Task as a step from within another Task. You could make a Task depend on another Task but you couldn't perform some logic and then decide whether to call a specific other Task or not. Whereas with a Command I could call out and execute another Task or Tasks from anywhere within it.
For example, in the composeTestRunner Command if you pass in the Id of a running instance the code will run tests against the running instance you specified and leave it running. If you do not supply an instance Id it will run docker Task to build a new image, run your tests, and then stop the container. I wouldn't be able to make composeTestRunner dependent on the docker Task as there are cases where I don't want to image to be rebuilt.
I'm not 100% positive but I believe that there was another variation of the dependency issue due to the plugin giving flexibility to the user to define which Task they would like to execute for building the docker images as people typically use either sbt-docker or the sbt-native-packager for doing this. Since this isn't defined until the plugin is used by a project there was a problem with having a Task take a dependency on this Task as is not yet defined. Whereas when using a Command this was not an issue as the actual Task could be supplied at runtime.
If updates to sbt have made this possible or if there are good ways to rework the code so that Tasks can be used to handle these kind of scenarios I'd be all for switching over to use them instead as that is the preferred and recommended way to go.
As for your use cases, for 1 & 4 there is an multi-project example provided showing how you can have a separate docker compose file for each project along with an additional docker compose file in the root project that can contain the "all-up" configuration. Running dockerComposeUp from within the project scope will launch the particular compose instance for that specific project.
For example:
sbt "project sample1" dockerComposeUp
sbt "project sample2" dockerComposeUp
At Tapad we have many multi-project repositories using this model with separate docker compose files for each sub project and it has worked very well for us.
For use case 2: While not as nice as running "it:dockerComposeUp" or "test:dockerComposeUp", you could create an "integration" project and have a separate docker compose file defined within that project that specifies your integration specific setup.
sbt "project integration" dockerComposeUp
For use case 3: Even if the Commands were converted to Tasks I don't believe that you will be able to call the Tasks as steps within a larger Task as that is one of the issues that I ran into when they were Tasks in the first place.
I hope that this answer helps and let me know if you have any other questions or ways to work around the limitations I hit with the initial Task based implementation. Thanks again for the feedback!

Thanks for explaining the rationale. It's perfectly sound, but I think some improvements to SBT may make implementing this in tasks less painful than it used to be. There are dynamic tasks now that allow you to conditionally depend on another task or decide which task to depend on at runtime. There is also support for sequential tasks for ordering tasks.
Thanks for explaining how each project can have its own docker config and there can be a separate file for root. I think that would solve my particular use cases satisfactorily.
When I mentioned calling docker compose tasks from other tasks I really meant depending on docker compose tasks from other tasks. That would be useful because currently it's quite difficult to integrate your plugin with other things (unless I just don't know how) without using commands. I think it's a smell that the plugin implements special commands for testing with docker. With tasks it's much easier, and you can attach to existing tasks (something that a given project could do based on its needs). Including specifying which tests to run with docker, which scope tests to run, extra configuration steps for tests, etc.
test in Test := Def.sequential(dockerComposeUp in Test, test in Test, dockerComposeDown in Test).value

@s-nel not sure if you have a better solution for this, but to depend on a docker compose command from a task you can do something like:
val myTask = taskKey[Unit]("just an example")

val myOtherTask = taskKey[Unit]("another example")

def runCommand(command: String, currentState: State): State = {
  sbt.complete.Parser.parse(command, currentState.combinedParser) match {
    case Right(cmd) => cmd()
    case Left(msg) => throw sys.error(s"Invalid input:\n$msg")
  }
}

val myProject = (project in file("my-project"))
  ...
  .settings(
    myTask := {
      println("invoking command..")
      val nextState = runCommand("dockerComposeUp", state.value)
      println("invoked command")
      println("invoking task..")
      myOtherTask.value
      println("invoked task")
    },
    myOtherTask := {
      println("hello world")
    }
  )
  .enablePlugins(DockerPlugin, DockerComposePluginInternal)

doesn't make any guarantees about sequencing though.

Closing this issue out. Please open a new issue if there are additional things to report.


Check for Signing devices in multiple vault

Task Description
Adding a check for signing devices to be part of multiple signing devices. And warn the user that it is not a good idea and they can use a different account or a different SD. The user can still go ahead with using the SD but then the old Vault will not be recoverable
ETA
Estimated time
Dependencies
Any dependencies for the task

Issue seems outdated, please reopen if still relevant


Changing the URL-Response possible?

Hi there,
I'm using altcha with Angular frontend and Symfony backend. In the API for requests to the backend are some meta data in every response and the payload is as an property in the response. So the request of the Altcha request doesn't work because it's expects a { salt: ""}, but get's an { data: { salt: "" }}.
Is there a possibility to customize the "data path" in the response? If not, I'll have build an exception for the altcha-requests to not send the meta data.
Thank you very much

Hi, if I understand the problem right, the server wraps the response with { data: ... }; there's not way to configure the widget for that behavior, you'll have to adjust your server to return JSON response without wrapping it.

Yes, that was the problem. I'd removed the wrapper for the altcha request, so now it work's.
Thank you


Add hidden window to OpenFin API to track window states

Adds a hidden window in OpenFin to keep track of the window state, communicating via IPC. Because of this, the getParentWindow() method has been made async. The new preload script has also been added, as any windows that were created and did not include the containerjs-api (i.e. github.com) would be lost by the hidden window.
Also, the getParentWindow test has been skipped for the time being, as in OpenFin, doing selectWindow(2) selects the new hidden window, which means ssf is not defined and the test fails. This could be fixed once the startup for the containers has changed, so we can feed OpenFin the app.json file for a hidden window first, which can then create a new window with the config that was passed in.
Closes #134 and closes #123.

Updated this PR. Ill add 2 new issues (one for the possible removal of the api-bundle project and 1 for possibly filtering window events for our application only)


Adds support and visibility for Databend connection

Further to previous PR https://github.com/dbeaver/dbeaver/pull/19558, I made some fixes and this seems to be working for me.

Thank you for contribution. We'll review your PR and let you know if some changes are required

Also LICENSE file is empty

Thanks @E1izabeth , I'll attend to these as soon as I can.

Apologies, I've been unable to progress with this as I can no longer build & run to test within Eclipse after rebasing to make changes. I asked in a discussion https://github.com/orgs/dbeaver/discussions/35703, but no-one has replied.

@rad-pat maybe you could try using IDEA for development? Here is the guide https://github.com/dbeaver/dbeaver/wiki/Develop-in-IDEA

@rad-pat maybe you could try using IDEA for development? Here is the guide https://github.com/dbeaver/dbeaver/wiki/Develop-in-IDEA

Thanks, I tried IDEA but I couldn't get it to work either. Then I tried going back to Eclipse and it was working again. Absolutely no idea why, but at least I could debug and test it. Thanks for the help

Thanks

No icons for database are shown

No statistic tab shown in SQL editor after e.g. CREATE TABLE, INSERT INTO script execution. Only No Data tab is shown.

Error appears on attempt to open function properties tab

eclipse.buildId=unknown
java.version=17.0.6
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en
Framework arguments:  -eclipse.keyring C:\Users\Dziyana\AppData\Roaming\DBeaverData\secure\secure_storage
Command-line arguments:  -os win32 -ws win32 -arch x86_64

This is a continuation of log file C:\Users\Dziyana\AppData\Roaming\DBeaverData\workspace9\.metadata\.bak_0.log
Created Time: 2024-11-19 10:42:47.118

org.jkiss.dbeaver.model
Error
Tue Nov 19 10:45:31 CET 2024
Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null

java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null
	at java.base/java.util.regex.Matcher.getTextLength(Unknown Source)
	at java.base/java.util.regex.Matcher.reset(Unknown Source)
	at java.base/java.util.regex.Matcher.<init>(Unknown Source)
	at java.base/java.util.regex.Pattern.matcher(Unknown Source)
	at org.jkiss.dbeaver.ext.generic.model.GenericProcedure.loadProcedureColumns(GenericProcedure.java:227)
	at org.jkiss.dbeaver.ext.generic.model.GenericProcedure.getParameters(GenericProcedure.java:124)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.extractPropertyValue(DBNDatabaseNode.java:1047)
	at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode$PropertyValueReader.run(DBNDatabaseNode.java:1119)
	at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode$PropertyValueReader.run(DBNDatabaseNode.java:1)
	at org.jkiss.dbeaver.model.exec.DBExecUtils.tryExecuteRecover(DBExecUtils.java:192)
	at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.loadTreeItems(DBNDatabaseNode.java:664)
	at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.loadChildren(DBNDatabaseNode.java:475)
	at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.getChildren(DBNDatabaseNode.java:229)
	at org.jkiss.dbeaver.model.navigator.DBNDatabaseNode.getChildren(DBNDatabaseNode.java:1)
	at org.jkiss.dbeaver.model.navigator.DBNUtils.getNodeChildrenFiltered(DBNUtils.java:94)
	at org.jkiss.dbeaver.ui.navigator.itemlist.ItemListControl$ItemLoadService.evaluate(ItemListControl.java:306)
	at org.jkiss.dbeaver.ui.navigator.itemlist.ItemListControl$ItemLoadService.evaluate(ItemListControl.java:1)
	at org.jkiss.dbeaver.ui.LoadingJob.run(LoadingJob.java:88)
	at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:119)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Thanks for this @uslss, I will look into them ASAP. Missing icon is weird, I'm pretty sure I should've picked that up 🤷

On Item 2, Statistics not shown, that appears to be because JDBC driver returns -1 for getUpdateCount(). Perhaps the JDBC driver is incorrect? It currently returns an empty result set, perhaps it should not? With the number of rows updated being -1, it fails this test and thus does not show the statistics panel.
https://github.com/dbeaver/dbeaver/blob/70be065bae00fff8710298cefcec46027972fe38/plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/execute/SQLQueryJob.java#L799
Item 1, the missing icons - I cannot replicate this. Is there some cache that maybe I need to clear in order to replicate? I did a mvn clean install but the icons remain for me.

@uslss , @E1izabeth , are you happy with the fixes made?

Thank you for the corrections. We'll review them shortly

verified


feat: allows aliases to override browser-resolve

implements #69 - before calling browser-resolve we replace the module-id with the alias

Coverage remained the same at 100.0% when pulling cd10e6d8eb7be5e57162ee0e693c27fc1d2fa018 on respect-aliases into 889fd1604a362f066428bd1c83ea2d7985a06b8f on master.


Implement dropdown within text input

Added story in Text Input where Dropdown is prefix component.

Should it be made as special component? If so, what kind of input would it be (it has 2 inputs - text input and dropdown select)


Wrap a component inside a Formly Field

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x] support request

I have a Component with defined Input/Output. I would like to wrap it inside Formly to be able to use it as a field on the form.
My first thought is to change the Component to implement ControlValueAccessor then create a custom FieldType to embed the CVA and finally bind [formControl]="formControl" and [formlyAttributes]="field" on the CVA.
Sounds good?
The other way around, is to create a custom field type, embed the component as is, and set manually the value on the formControl when the output is fired on the component.
Any preference?
Thanks

CVA?

Make an attempt on stackblitz, then I could try and fill in the rest.

@thorgod Something like this:
https://stackblitz.com/edit/ngx-formly-component-as-template
Thanks

I am unsure what your question is? What are you trying to accomplish?

Sounds like you want a wrapper but unsure what you are creating.

@thorgod Yes, I did create a wrapper. I am trying to wrap a normal component inside Formly. As you see, I handle the selection change event and update formControl accordingly.

So what is your question then?

What do you think of this approach? Are there better options? Thanks

Its such a simple example, I would not make it overly complex by placing it in a separate component, I would just make one custom field. But I don't see the overall picture of what you goal is so hard to say what is the best practice.

@thorgod That's just a simple example to demonstrate the idea.
I have a component with input and output already existing in the application. It's sort of a component that wraps Mat-Tree to allow the user to select nodes on a tree.
Now, we need to use this tree selector inside a form.
That's why I thought of wrapping it this way in formly so that I can use it as a normal field.

use the easy way (keep it simple), if the component is reusable somewhere then it makes sense else you may avoid an extra component.
I would use ControlValueAccessor if it would reduce the complexity of implementation or if you need it in a project that doesn't require formly.

Thanks @aitboudad. For now it seems to be working smooth using the current implementation and setting formControl manually. At the same time, the same component is being used somewhere else in the app, so we are fine till now!
I had this option in mind to make the component ControlValueAccessor, I will keep it an option in case I need it in the future.
Thanks


Should xmlseclibs be updated to stay in line with the requirements of php-saml 3.5.0?

Hi, we were having issues on a wp-site using this plugin due to the fact that the IDP is using AES-128-GCM as their encryption algorithm. Support for that algorithm has been added in xmlseclib version 3.1.0: (https://github.com/robrichards/xmlseclibs/releases/tag/3.1.0).
I checked the dependencies on this module and found that the xmlseclib included in onelogin-saml-sso/php/extlib/xmlseclibs/ (version 3.0.4) is not in line with what php-saml version 3.5.0 is requiring in its composer file: (https://github.com/onelogin/php-saml/blob/3.5.0/composer.json). (xmlseclib >= version 3.1.1).
I tried simply replacing the contents of the extlib/xmlseclibs/ with the source of the 3.1.1 version, but this did not completely solve our issue. It seems the error message is raised from the xmlseclibs library, so I don't expect an answer on that here. As I am unfamiliar with this library's code, I thought that perhaps there is something else that needs to be adjusted to account for the new version of xmlseclibs.
Got error 'PHP message: PHP Fatal error: Uncaught Exception: Key must contain at least 25 characters for this cipher in <redacted>/public_html/wp-content/plugins/onelogin-saml-sso/php/extlib/xmlseclibs/src/XMLSecurityKey.php:378
Stack trace:\n#0 /home/<redacted>/public_html/wp-content/plugins/onelogin-saml-sso/php/lib/Saml2/Response.php(1159): RobRichards\\XMLSecLibs\\XMLSecurityKey->loadKey(<long sequence of unicode chars in the format \\xZZ>...

Does anybody have ideas on this?

xmlseclibs 3.1.0 had a bug that was fixed in 3.1.1
I agree xmlseclibs must be updated here on ths plugin in order to support AES-128-GCM
I had not tested yet deeply the AES-128-GCM support on php-saml that why I have not actively updated all the plugins depends on it.
@TombLL, Is the source code of xmlseclibs 3.1.1 failing in your WP? I guess you used 3.1.0 which does not have the patch.


Feature: EKS Sprite

Awesome resource, but I wish there was an EKS sprite.

+1, amazing tool, just missing EKS :-)

for your interest in the project, and sorry for not being quicker to respond! I have been busy in my personal life and my work, but I promise I will update with the latest architecture icons release ASAP.