add more specific tests for username regex challenge

Since the instructions state that usernames can be two characters long, but if
so it must be alphabetic, we should test for these conditions.
These new tests should also be added to the translated versions, but I don't
have the knowledge for that.
This replaces my previous PR #19503

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

Closes #17733

My account is back up entirely! I had a false positive automatic flag that I got cleared up.

@thornjad The following test is no longer needed, because an earlier PR already took care of this test.
  - text: Your regex should not match J6
    testString: assert(!userCheck.test("J6"), 'Your regex should not match J6');

Also, after reverting this change, you might need to rebase (git pull --rebase upstream master) before pushing your commits back up to capture the other changes.  Thank you.

yes, PR https://github.com/freeCodeCamp/freeCodeCamp/pull/18696 added this:
   - text: Your regex should not match A1
    testString: assert(!userCheck.test("A1"), 'Your regex should not match A1');

So we probably only need to add one more test for a two character username where both are letters, like in this PR's test for Jo

@moT01 So I think we are in agreement that this PR needs to remove the line 30 and 31 (seen below) and we can merge?  If so, I can do this on behalf of the user, so we can get this PR merged/closed.

correct

I did think of an edge case that should be ruled out. Not sure if it would be best to add it to this PR, or make another one. The rules in the description are...

The only numbers in the username have to be at the end. There can be zero or more of them at the end.
Username letters can be lowercase and uppercase.
Usernames have to be at least two characters long. A two-letter username can only use alphabet letter characters.

By these rules, a three character username could look like this: a12 - The solution in this file would not match this, and there is no test for this.
I think an easy fix would be to change rule 3 to say Usernames have to start with at least 2 alphabet characters. - Or something to that effect.

@Manish-Giri, @lynxlynxlynx What are your thoughts on @moT01's last suggestion? The main question is, should we have  new PR for the suggestion or do we expect these changes to be put on this PR.  I say if there is disagreement about the extra suggestion, then it should be documented on a new issue where it can be discussed further and then merge this PR as it is now, which already makes an improvement to the challenge.

@moT01 I think that's a good ides. Maybe something better worded like this:
Usernames should begin with at least 2 alphabetical characters.

Considering this is a 3 month old PR, I'd just accept it and do any further work separately. It's fairer to the author.

@RandellDawson While reviewing a PR, I feel we should focus solely on what the PR adds/improves to solve the current issue at hand. Any edge cases or additional clarification/action that could improve the challenge (that the PR targets) should be discussed on a new issue and consequently, a new PR can be made for it (unless of course - the new proposal directly fixes an unnoticed bug in OP's PR).
This way we can merge PRs faster, and have a better discussion on the issue, rather than on the PR itself.

Congrats @thornjad  on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝

Thank you to everyone for getting this merged! I'm sorry I was terrible at communication, I've been very busy lately. I'll be better in future PRs!


Temp

temporary.

Automated message from Dropbox CLA bot
@umairwaheed, it looks like you've already signed the Dropbox CLA. Thanks!

@umairwaheed I assume you're done with this PR?

Yep.


Panel: Update Icon + Placement

Panel: Update Icon + Placement

This update improves the <PanelHeader /> component's arrow indicator + location. The new icon is provided via a new <ArrowIndicator /> component.
Resolves: https://github.com/ItsJonQ/g2/issues/9

cc'ing @shaunandrews


Is showing only google logo, but map is empty (android-emulator)

Didn't found any solution in issues, google and documentation.
I've created, actived and copy-pasted google api key in AndroidManifest.xml:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>

<uses-sdk
    android:minSdkVersion="16"
    android:targetSdkVersion="22" />

<application
  android:name=".MainApplication"
  android:allowBackup="true"
  android:label="@string/app_name"
  android:icon="@mipmap/ic_launcher"
  android:theme="@style/AppTheme">
  <activity
    android:name=".MainActivity"
    android:label="@string/app_name"
    android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
  </activity>
  <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
    <meta-data
            android:name="com.google.android.geo.API_KEY"
            android:value="{{@string/123hereIsMyApiCode321}}"/>
</application>

My StyleSheet:
var MapView = require('react-native-maps');
const styles = StyleSheet.create({
    container: {
        ...StyleSheet.absoluteFillObject,
        height: 400,
        width: 400,
        justifyContent: 'flex-end',
        alignItems: 'center',
    },
    map: {
        ...StyleSheet.absoluteFillObject,
    },
});

and render method:
    render() {
        return (
            <View style ={styles.container}>
                <MapView
                    style={styles.map}
                                region={{
                       latitude: 37.78825,
                       longitude: -122.4324,
                       latitudeDelta: 0.015,
                       longitudeDelta: 0.0121,
                     }}
                    >
                </MapView>
            </View>
        );
    }
}

android/app/build.gradle - react-native-maps is only here:
dependencies {
    compile project(':react-native-vector-icons')
    compile project(':react-native-maps')
    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:23.0.1"
    compile "com.facebook.react:react-native:+"  // From node_modules
}

and MainApplication.java
package com.awesomeproject;
import android.app.Application;
import android.util.Log;

import com.facebook.react.ReactApplication;
import com.oblador.vectoricons.VectorIconsPackage;
import com.airbnb.android.react.maps.MapsPackage;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;

import java.util.Arrays;
import java.util.List;

public class MainApplication extends Application implements ReactApplication {

  private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
    @Override
    protected boolean getUseDeveloperSupport() {
      return BuildConfig.DEBUG;
    }

    @Override
    protected List<ReactPackage> getPackages() {
      return Arrays.<ReactPackage>asList(
          new MainReactPackage(),
            new VectorIconsPackage(),
            new MapsPackage()
      );
    }
  };

  @Override
  public ReactNativeHost getReactNativeHost() {
      return mReactNativeHost;
  }
}

Full android/app/build.gradle:
apply plugin: "com.android.application"

import com.android.build.OutputFile

/**
 * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
 * and bundleReleaseJsAndAssets).
 * These basically call `react-native bundle` with the correct arguments during the Android build
 * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
 * bundle directly from the development server. Below you can see all the possible configurations
 * and their defaults. If you decide to add a configuration block, make sure to add it before the
 * `apply from: "../../node_modules/react-native/react.gradle"` line.
 *
 * project.ext.react = [
 *   // the name of the generated asset file containing your JS bundle
 *   bundleAssetName: "index.android.bundle",
 *
 *   // the entry file for bundle generation
 *   entryFile: "index.android.js",
 *
 *   // whether to bundle JS and assets in debug mode
 *   bundleInDebug: false,
 *
 *   // whether to bundle JS and assets in release mode
 *   bundleInRelease: true,
 *
 *   // whether to bundle JS and assets in another build variant (if configured).
 *   // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
 *   // The configuration property can be in the following formats
 *   //         'bundleIn${productFlavor}${buildType}'
 *   //         'bundleIn${buildType}'
 *   // bundleInFreeDebug: true,
 *   // bundleInPaidRelease: true,
 *   // bundleInBeta: true,
 *
 *   // the root of your project, i.e. where "package.json" lives
 *   root: "../../",
 *
 *   // where to put the JS bundle asset in debug mode
 *   jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
 *
 *   // where to put the JS bundle asset in release mode
 *   jsBundleDirRelease: "$buildDir/intermediates/assets/release",
 *
 *   // where to put drawable resources / React Native assets, e.g. the ones you use via
 *   // require('./image.png')), in debug mode
 *   resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
 *
 *   // where to put drawable resources / React Native assets, e.g. the ones you use via
 *   // require('./image.png')), in release mode
 *   resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
 *
 *   // by default the gradle tasks are skipped if none of the JS files or assets change; this means
 *   // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
 *   // date; if you have any other folders that you want to ignore for performance reasons (gradle
 *   // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
 *   // for example, you might want to remove it from here.
 *   inputExcludes: ["android/**", "ios/**"],
 *
 *   // override which node gets called and with what additional arguments
 *   nodeExecutableAndArgs: ["node"]
 *
 *   // supply additional arguments to the packager
 *   extraPackagerArgs: []
 * ]
 */

apply from: "../../node_modules/react-native/react.gradle"

/**
 * Set this to true to create two separate APKs instead of one:
 *   - An APK that only works on ARM devices
 *   - An APK that only works on x86 devices
 * The advantage is the size of the APK is reduced by about 4MB.
 * Upload all the APKs to the Play Store and people will download
 * the correct one based on the CPU architecture of their device.
 */
def enableSeparateBuildPerCPUArchitecture = false

/**
 * Run Proguard to shrink the Java bytecode in release builds.
 */
def enableProguardInReleaseBuilds = false

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.1"

    defaultConfig {
        applicationId "com.awesomeproject"
        minSdkVersion 16
        targetSdkVersion 22
        versionCode 1
        versionName "1.0"
        ndk {
            abiFilters "armeabi-v7a", "x86"
        }
    }
    splits {
        abi {
            reset()
            enable enableSeparateBuildPerCPUArchitecture
            universalApk false  // If true, also generate a universal APK
            include "armeabi-v7a", "x86"
        }
    }
    buildTypes {
        release {
            minifyEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
        }
    }
    // applicationVariants are e.g. debug, release
    applicationVariants.all { variant ->
        variant.outputs.each { output ->
            // For each separate APK per architecture, set a unique version code as described here:
            // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
            def versionCodes = ["armeabi-v7a":1, "x86":2]
            def abi = output.getFilter(OutputFile.ABI)
            if (abi != null) {  // null for the universal-debug, universal-release variants
                output.versionCodeOverride =
                        versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
            }
        }
    }
}

dependencies {
    compile project(':react-native-vector-icons')
    compile project(':react-native-maps')
    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:23.0.1"
    compile "com.facebook.react:react-native:+"  // From node_modules
}

// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
    from configurations.compile
    into 'libs'
}

Try to add this to your build.gradle dependencies
compile 'com.google.android.gms:play-services-maps:+'

@DennisSnijder Now i see this message in emulator This app won't run unless you update Google Play  with "update" button. Was trying to fix this by installing Google APIs intel x86 Atom System Image in android sdk under android 6 and 7 - but this try doesn't helped

@Grundmanis TRY TO PINCH OUT (zoom out).. maybe the default ZOOM level is too high.. :)

So i've just copied my working js files (but not a package.json) and created new react native project, pasted there files , manually installed my dependencies (npm install ...), but not a react-native-maps. With that i've just reseted all my config files like build.gradle and so on.
Then was react-native-maps turn, so my steps to succeed was:
npm install react-native-maps
sudo react-native link react-native-maps
On react-native run android was thrown an error:
com.android.dex.DexException: Multiple dex files define La ndroid/support/v7/appcompat/R$anim

And i've fixed it with: cd android && ./gradlew clean
After run-android i just had to paste google map api key to AndroidManifest.xml and it worked!

@Grundmanis  Did you solve your Issue?

@DennisSnijder tried it, still didn't work

I just had to accept the licence agreement when I opened the "Google Maps" app on my Android simulator.
The map was just loading as blank with the Google logo at the bottom-left.
It seems like accepting that licence agreement made my react-native-maps start working, because everything else was pretty tight.

Check your Android Studio and install the Play Services SDK
This is my biuld.gradle file:

dependencies {
    implementation project(':react-native-maps')
    implementation 'com.google.android.gms:play-services-base:+'
    implementation 'com.google.android.gms:play-services-maps:+'
    implementation project(':react-native-linear-gradient')
    implementation project(':react-native-vector-icons')
    implementation fileTree(dir: "libs", include: ["*.jar"])
    implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
    implementation "com.facebook.react:react-native:+"  // From node_modules
}

I maybe/probably don't need that -base dependency but I saw it on a few people's configs so I added it.
Also this is working for me with react-native-maps 0.22
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
        google()
        maven {
            url 'https://maven.google.com/'
            name 'Google'
        }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        jcenter()
        google()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
        maven {
            url 'https://maven.google.com/'
            name 'Google'
        }
    }
}

ext {
    buildToolsVersion = "27.0.3"
    minSdkVersion = 16
    compileSdkVersion = 27
    targetSdkVersion = 26
    supportLibVersion = "26.1.0"
    multiDexEnabled = true
}

It was extremely difficult for me to get this working. After all I saw, it seems like the most important stuff is:

having the correct Gradle version,

react-native-maps version,

SDK versions,

"properly" enabling Play Services in multiple locations

This article here was pretty extremely valuable: https://gist.github.com/nazrdogan/87c63e89a2bfd4cefee24990e4e7ed0e

Try to add this to your build.gradle dependencies
compile 'com.google.android.gms:play-services-maps:+'

Alhamdulillah

Its happen in android Emulator and mobile , Ios working fine
The default ZOOM level is too high so it get problem , you need to add pinch out below i give example its working fine for me
Try tis
showMarkers(region) {
let zoom = Math.round(Math.log(360 / region.longitudeDelta) / Math.LN2)
}
render() {
    const {region} = this.props;
    return (
        <View style={styles.containers}>
            <MapView style={styles.mapcontainer}
                     showsUserLocation={true}
                     showsMyLocationButton={false}
                     zoomEnabled={true}
                     region={this.state.region}

                     onRegionChange={region => {
                         clearTimeout(this.timerForMap)
                         this.timerForMap = setTimeout(() => {
                             this.showMarkers(region)
                         }, 100)
                     }}>
            </MapView>
        </View>
    );
}

const styles = StyleSheet.create({
 containers: {flex: 1,},
  mapcontainer: {
    flex: 1,
    ...StyleSheet.absoluteFillObject
},
});

SubhanAllah


planning mode doesn't change if lane change path can't be executed in behavior path planner

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I'm convinced that this is not my fault but a bug.

Description
In lane driving, if vehicle in lane change mode and lane change can't successfully executed such as obstacle blocks the lane change path,  it would suck with it.

Expected behavior
if lane change can't be executed because of the obstacle, it should change to obstacle avoidance mode to plan a new path.
if planning mode change to obstacle avoidance, it can plan a new path to execute like below.

Steps to reproduce
like the picture uploaded above, put some obstacle around road,  make vehicle start and goal in different lane.
Versions
1.OS: Ubuntun 20.04
2.ROS2: Galactic
3.Autoware: Autoware.universe:main
Possible causes
No response
Additional context
No response

Duplicate of https://github.com/autowarefoundation/autoware.universe/issues/1328


Wartremover version bump

Fixes #1314.
Move to Wartremover  v2.1.1, all unmarked recursion warts annotated.

We will probably need to clear the travis master branch cache in order to get the first matrix travis build to successfully pass.

@sellout, I think I have address everything in this PR but let me know if I haven't.


Fix TEST_HOST name mismatch

Fix TEST_HOST name mismatch.
I saw this error message in the testing section, so I created this PR and submitted my fix. Hope you guys like it.

Good catch, thank you!

I noticed a failed test in the pipeline. Let me investigate the issue, find a solution, and include it in this PR. Stay tuned!

The test are currently somewhat indeterminate #100, so this is good to merge now.


This has to be replaced with a newly generated certificate that has a
longer validity.
Modifications:

generated a certificate with validity of 100 years from now

Results:
Unit tests are passing again

@Scottmitch @normanmaurer PTAL. all builds after Sep 20 19:52:20 2017 GMT are failing as SSLEngineTest. CLIENT_X509_CERT_PEM have expired.
i've generated another client certificate that expires in Sep 22 03:45:01 2117 GMT

@lionelli1 thanks a lot!
Cherry-picked into 4.1 (28d2560679d4e075fb76f7d7448ab6a257914fc5) and 4.0 (3628315e1e)


Mica Effect Not Working

mica effect is not working in latest 1.9 update

I tested and it works for me. send me the code file for Mica Effect

Add this code at the bottom of 'shell.nss' file
theme
{
	name="modern"
	dark=auto
	background
	{
		color=auto
		opacity=0
		effect=3
	}
}

Save changes, press CTRL + RIGHT-CLICK to reload settings.
For more please watch this video https://www.youtube.com/watch?v=sjHPWLCLqyw


Play-asia.com has added support for BIP21 with lightning

Hardware Name
non
Hardware Website
www.play-asia.com
App Name
www.play-asia.com
App Website
www.play-asia.com
Scans BIP-21
Yes
Description
It scans well and supporting apps (Phoenix tested) will ask the scanner if they would like to initiate a lightning or on-chain payment.

I'm adding this here because "service" was listed... :-)

I'm adding this here because "service" was listed... :-)
Thanks for sharing. Help me understand, how does Play Asia "scan" a BIP21 QR code? When I visit the website, it looks like a store. So I imagine instead that this service is presenting the user with a BIP21 with onchain+lightning for payment, then the user scans the QR code with their wallet choice.


Update storage related tests

What would you like to be added?

As per KEP-2578: Windows Operational Readiness Specification, the project needs to include Core.Storage tests to ensure that a cluster can handle pass basic storage related tests
As such, basic storage tests need to be updated to ensure that they are conforming to the KEP specifications
Basic storage tests were last updated in July 2022, and the following updates may be necessary

Update and identify new basic storage test case candidates and ensure KEP is updated to reflect this
Ensure basic storage tests are successfully being executed successfully and where necessary, update upstream kubernetes e2e tests to ensure tests execute successfully
Some existing storage cases are commented out. Consider uncommenting these test cases

Why is this needed?

Refer to KEP-2578: Windows Operational Readiness Specification for motivation for the need for basic storage tests as part of the Windows Operational Readiness Conformance tests

\assign @klwntsingh

/assign @KlwntSingh

/assign @KlwntSingh

/remove-lifecycle stale


Not working with Postgresql 9.5 server

Hi
I upgraded to 9.5 and was able to run 1 migration but subsequent migration:diff's return the following message:
PHP Notice:  Undefined offset: 0 in /home/david/workspace/rarportal/vendor/propel/propel/src/Propel/Generator/Model/Table.php on line 1544
PHP Stack trace:
PHP   1. {main}() /home/david/workspace/rarportal/vendor/propel/propel/bin/propel:0
PHP   2. require() /home/david/workspace/rarportal/vendor/propel/propel/bin/propel:4
PHP   3. Symfony\Component\Console\Application->run() /home/david/workspace/rarportal/vendor/propel/propel/bin/propel.php:30
PHP   4. Propel\Generator\Application->doRun() /home/david/workspace/rarportal/vendor/symfony/console/Application.php:117
PHP   5. Symfony\Component\Console\Application->doRun() /home/david/workspace/rarportal/vendor/propel/propel/src/Propel/Generator/Application.php:17
PHP   6. Symfony\Component\Console\Application->doRunCommand() /home/david/workspace/rarportal/vendor/symfony/console/Application.php:186
PHP   7. Symfony\Component\Console\Command\Command->run() /home/david/workspace/rarportal/vendor/symfony/console/Application.php:818
PHP   8. Propel\Generator\Command\MigrationDiffCommand->execute() /home/david/workspace/rarportal/vendor/symfony/console/Command/Command.php:256
PHP   9. Propel\Generator\Model\Diff\DatabaseComparator::computeDiff() /home/david/workspace/rarportal/vendor/propel/propel/src/Propel/Generator/Command/MigrationDiffCommand.php:185
PHP  10. Propel\Generator\Platform\DefaultPlatform->normalizeTable() /home/david/workspace/rarportal/vendor/propel/propel/src/Propel/Generator/Model/Diff/DatabaseComparator.php:165
PHP  11. Propel\Generator\Model\Table->isUnique() /home/david/workspace/rarportal/vendor/propel/propel/src/Propel/Generator/Platform/DefaultPlatform.php:1395

The message is repeated for every table and the generated sql tries to add all the tables and columns again.

The change in the following pull request fixed my issue:
https://github.com/propelorm/Propel2/pull/1245/files

Hiya, would you be willing to change the title here? "Not working" probably applies to most tickets here. Thanks!


Add possibility to disable generic backend

Using Spring Cloud Vault Config has the generic backend always enabled. Using just a database secret backend causes warnings in the log as the generic backend is not populated.

Done.


Add @PulsarTopic annotation to set default topic for class

This PR adds @PulsarTopic annotation to specify a default topic for a message class.
This is useful in modular projects, because currently spring-pulsar does not have any support for multiple configuration sources for DefaultTopicResolver, like multiple Customizers.
And also default SchemaResolver supports implicit JSON schema generation for Java classes, so default TopicResolver should have similar mechanism to setup topics without directly interacting with the resolver.

Hi @alesharik ,
Thanks for the code proposal! Let's have a conversation on a few points before going further though.

This is useful in modular projects, because currently spring-pulsar does not have any support for multiple configuration sources for DefaultTopicResolver, like multiple Customizers.

When used w/ Spring Boot this "different props for different scenarios" is typically handled via @Profile. I am assumming you are using the SB auto-config and by "multiple customizers" referring to this auto-config code, correct?
Regardless of anything in this PR discussion I think it would be a good thing to have the SR and TR in parity with respect to the ability to specify a topic resolver customizer like we can for schema resolver. However, I don't think adding that would be the ideal way to solve your needs.

And also default SchemaResolver supports implicit JSON schema generation for Java classes so default TopicResolver should have similar mechanism to setup topics without directly interacting with the resolver.

Sorry, but I am not seeing the relevance of this point. We can easily say "If this messsage has no type configured and it is not primitive then use JSON". However, we can not say "If this message has no topic configured then use 'not-sure-what-you-will-call-your-topic'".
Another thing to point out is that TR does not "setup" any topics, but instead it is handled by PulsarAdministration facility.
This is relevant as we already have a construct called PulsarTopic. If this new annotation were added it would be need to be something like @DefaultTypeMapping.
In summary, it seems like you want to add the ability to specify default topic info on the message POJOs, not just the application.yml. If we ended agreeing on this then it would be in good practice (and expected) to also add this new ability to specify default schema mappings on the message POJOs, not just the application.yml.
Let's back up a bit though, and please tell me more about your use case and the "modular projects" aspect. IOW, why would using application.yml work for you?
Thanks,
Chris

Hi @onobc ,
Sorry for bad wording of PR description, but you got it right.
My project structure looks like this:

notifications/domain - contains message POJOs for notifications
notifications/email-sender - reads all notification topics and sends emails
notifications/storage -   reads all notification topics and stores messages into DB
~5 modules which just listen for events in other subsystems (by implementing interfaces, usually) and publishes them as notifications to Pulsar
and some code in modules which sends notifications to Pulsar along other business logic
And this is only one third of pulsar communication in the project.

So I can't just place application.yaml in notifications/domain and other modules which have message POJOs and expect it to merge with main application.yaml when spring starts (or can I?).
So my intent is to have a way for specifying default topics for POJOs in its declarations, not somewhere in root application.yaml and breaking plug-and-play aspect of the modules.

Hi @alesharik ,

Sorry for bad wording of PR description, but you got it right.

No worries.

So I can't just place application.yaml in notifications/domain and other modules which have message POJOs and expect it to merge with main application.yaml when spring starts (or can I?).

You are correct, this is a known issue and has had quite the back/forth comments over the years but is still in open status (https://github.com/spring-projects/spring-boot/issues/24688).
Lets talk about a few mechansims to contribute default properties from some common module(s).
EnvironmentPostProcessor
One possibility is to create an EnvironmentPostProcessor (EPP) that looks for a some yml file and if found converts it to a property source and adds it last to the list of property sources (ensuring it is a default - aka consulted last).
You can find such an example in the Spring Docs here. You will likely want to add some safeguards so that if the file is not found it simply logs exception rather than throws exception.
We could add something like this to the framework that looks for a specific user-provided defaults file and respects it if there - ignores it if not there. However, the contents of concern here are highly app specific (topic and schema for a user defined class) so. I don't think we would want to add this custom defaults feature to Spring Pulsar core though as it is a truly a concern that Boot will likely handle in the future in spring-boot/issues/24688.
You could add something like this to your app though. Altough it is a bit of effort.
spring.config.import
Another option is spring.config.import. You could define a defaults props resource (class or file) that holds the props we are concerned with. This would require you to add the following entry to your apps application.yml:
spring.config.import=optional:classpath:/my-custom-mappings.yml

This is approach is simpler but would require you to add/update the above entry for each module that contributes defaults properties to you app(s).
Using @PropertySource
Another not-recommended approach is to add a @PropertySource entry to a configuration class. Here is a list of reasons not to use this approach - there are more - just search for @PropertySource in Spring Boot ref docs.

Multi-document property files cannot be loaded by using the @PropertySource
YAML files cannot be loaded by using the @PropertySource
While using @PropertySource on your @SpringBootApplication may seem to be a convenient way to load a custom resource in the Environment, we do not recommend it. Such property sources are not added to the Environment until the application context is being refreshed. This is too late to configure certain properties such as logging.* and spring.main.* which are read before refresh begins.

Wdyt about these approaches?

Hi @alesharik ,
Regardless of the possible above-listed workarounds/approaches, adding the ability to annotate the classes (as you have done in this PR) would be a nice feature to add.
A couple of points though if you decide to continue w/ the PR:

It would be better for performance to process the annotations once at server startup and add to the default type mappings rather than look it up on every resolveTopic call.
For feature parity w/ the default type mappings in the properties, it would be good to allow the user to annotate the default schema info as well.

Thanks

Hi @onobc ,
Sorry for the delay, had a busy week.
To use EnvironmentPostProcessor I need to create a library that holds it (to use it in many projects), document and maintain it... and instead I just can create my own annotation-aware TopicResolver. But the point of this PR to have this feature built-in and not in some unknown library.
spring.config.import, as you say, requires me to update main application.yaml every time, which ruins plug-and-play aspect of the modules.
And @PropertySource approach may just work, though it's a bit of hustle to setup.

A couple of points though if you decide to continue w/ the PR:

Ok, I will look into that during the week.

Hi @onobc ,
I added the ability to configure default schema and moved mapping registration to startup time. Could you take a look?

Hi @alesharik ,
Sorry it has taken me a bit to get back to this. I will take a look in the next 1-2 days. Thank you for the contribution.

Hi @alesharik ,
We may not get to this until after SpringOne (week after 8/25). Will try to get to it before then though.

Hi @alesharik ,
We are excited to see the activity on the PR. We will take a look soon and get back w/ you.
Thanks

@alesharik I have taken your original PR commits (squashed them) and added a follow on commit and will close this PR in favor of https://github.com/spring-projects/spring-pulsar/pull/565.
Nice work! Thanks for the contribution.
Take a peek at the polish commit where I added the following:

caching of annotations
enhanced tests for more cases
fixed issue I found w/ support for KEY_VALUE type

Rather than go back/forth on another round of updates I figured I would add the above and we could get this cool feature merged in.


safeHTMLAttr splits string with spaces into separate attributes

When I use safeHTMLAttr as below:
{{ "class=red blue" | safeHTMLAttr }}

it produces
class="red" blue

instead of
class="red blue"

I wanted to confirm if this is a bug or expected behaviour?
What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.86.1-F6821B88 linux/amd64 BuildDate=2021-07-30T10:13:35Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?
Yes

Incorrect usage:
{{ $attr := "class=red blue" | safeHTMLAttr }}

foo

Correct usage:
{{ $attr := `class="red blue"` | safeHTMLAttr }}

foo

- OR -

{{ $attr := printf "class=%q" "red blue" | safeHTMLAttr  }}

foo

Thanks @jmooring

In the future, please use the forum (https://discourse.gohugo.io) for questions and troubleshooting. We prefer to use GitHub for verified bugs and vetted enhancements. Thanks.


What is the default Encryption algorithm that Config Server use?

Hi All,
What is the default Encryption algorithm that Config Server use?

by default spring-cloud-config-server version 2.2.2.RELEASE uses weak encryptior i.e NoOpTextEncryptor which doesn't encrypt the value posted to /encrypt endpoint and hence we get error with message: {"description":"the encryption algorithm is not strong enough","status":"invalid"}


📖 [Website Content Publishing] Update to include the "View all" link for filter groups

Objective

Provide Carbon for IBM.com adopters the most up-to-date best practices and guidance they need to adopt Carbon for IBM.com.
Useful resources

Design page mockup using Gatsby theme resources

Create images strictly using Image production guidelines. Find sketchfiles from same link above

Create thumbnail image on the Components overview page - use the master Sketch work file here to get started.

For general contribution - Please visit the Contributing page for information and process detail.

For Markdown best practices - Please visit the Production guideline to learn more.

To setup the local build of the website, follow Website edits via terminal

For how to create and submit PR
There are several ways to submit a PR. Use whichever method you are comfortable with:

Using command line / Terminal
Using VS Code
Using Github UI

This one doesn't require a website update.


Fix TestPodSidecarLabelChangeTriggersAddIptablesAction flake

What type of PR is this?
/kind bug

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

i also found that the NODE_NAME env is not aligned with the one in the test pod's spec.nodeName.
One is test_node, another is test-node, will it cause some problem?

They should match. Weired, why the test passed

Oh, it is because fake client does not support field selector, which actually works in kube-apiserver

ping @supercharge-xsy

@hzxuzhonghu maybe this PR could be merged?

@nlgwcy I thought it was merged

/lgtm
/approve


[Portuguese] Translate locales

How about changing the language code to pt-br or something like that?

We've discussed this, but since we're unlikely do have a pt-pt translation (just because the pt-br one should work well for pt-pt speakers) and the other files and folders don't specify a country, we decided to keep it consistent

You mean Portuguese speakers in Portugal will understand your translations?

You mean Portuguese speakers in Portugal will understand your translations?

Yes. The two variants are pretty much interchangeable, it comes to personal preference or, in this case, availability of translators


xService: Fixing StartupType Bug in Test-TargetResource (Fixes #163)

There was a bug in Test-TargetResource for xService in which the Automative StartupType did not match the Auto StartMode. (#163)
I added a new function called ConvertTo-StartModeString to convert the StartupType string to the correct StartMode.
I also added the test given in #163 as well as two more tests for the two other StartupType options.

This change is

I was just about to send the PR for my fix to this! You were faster and added a few more tests. Thanks!


add Credit Suisse to the list of companies

@pjaras Please also consider adding a testimonial to https://fsharp.org/testimonials!


Use pub instead of pub(crate) in server (from #1618)

We don't have to use pub(crate) everywhere, it is sufficient if we apply pub(crate) only at the crate root and use just pub in modules.
In particular, this does not affect warnings about dead code.
This is a spin-off from #1618.

I had to apply rustfmt, can you please reapprove? :)


[NSThread] Updated to match Darwin version

@swift-ci please test

Looks good - let's make sure we don't break XCTest or swiftpm with a name change.

Looks like we need to update NSXMLParser as well:
Foundation/NSXMLParser.swift:463:40: error: cannot call value of non-function type 'Thread'
        if let current = Thread.current().threadDictionary["__CurrentNSXMLParser"] {
                         ~~~~~~~~~~~~~~^~

Foundation/NSXMLParser.swift:472:27: error: cannot call value of non-function type 'Thread'
            Thread.current().threadDictionary["__CurrentNSXMLParser"] = p
            ~~~~~~~~~~~~~~^~

Foundation/NSXMLParser.swift:474:27: error: cannot call value of non-function type 'Thread'
            Thread.current().threadDictionary.removeValue(forKey: "__CurrentNSXMLParser")
            ~~~~~~~~~~~~~~^~

@parkera please test again.

I checked both xctest and swiftpm, but there is no occurrence of this.

@swift-ci please test

Looks good to me


Reconciliation: change "topic" to "item" in the UI?

OpenRefine's reconciliation features were primarily designed to reconcile against Freebase. The entries in Freebase were called "topics", so this terminology was also adopted in OpenRefine.
Today, Freebase has been replaced by Wikidata, which uses "item" instead. I propose that we update the user interface to use this term instead, as the notion of "topic" is rarely used in this context outside of Freebase. We could also consider other generic terms, such as "record" (but that collides with OpenRefine's notion of record) or "entry".
The translations would need to be accordingly, but Weblate handles that correctly (translations made before a change in English labels will be flagged).

I'm fine with "item" or "thing".... "topic" is broader than either one of those, but that's how Freebase was...you could have either an "item" or a "subject" or "category" and both were equal footing, all represented as a general "topic".  This doesn't align with SKOS or Schema.org's Thing or WIkidata's Item.  So agree to change this to a narrower term which makes it easier for alignment with any Ontology system or Vocabulary.


Combining frontend matchers is only using the first matcher

Do you want to request a feature or report a bug?
bug
What did you do?
I added a service label for a docker service, combining two different frontend matchers as follows:
    deploy:
      replicas: 2
      labels:
        traefik.port: 8080
        traefik.frontend.rule: "Host:foo.bar,PathPrefixStrip:/foo/"

What did you expect to see?
Requests going to both foo.bar/ and bar/foo to go to the backend.
What did you see instead?
Requests with Host: foo.bar will go to the backend, requests with Host: bar and url /foo get a 404.
If I switch places on the matcher rules like so:
traefik.frontend.rule: "PathPrefixStrip:/foo/,Host:foo.bar"

Then requests going to url bar/foo will go the backend while requests with Host: foo.bar and no path prefix will get a 404.
Output of traefik version: (What version of Traefik are you using?)
1.4.3

You have combined 2 matchers with an "OR" operator, so your observed behaviour is as expected.
If you used a semicolon instead of a comma, it would be an "AND" operator, and would provide the behaviour you are looking for.
Please see https://docs.traefik.io/basics/#matchers for more documentation.


Please disable deepcode bot

Hi, you have a bot that is spamming me.
https://github.com/shimi-eshkenazi/minimatch/commit/eed89491bd4a4e6bc463aac0dfb5c29ef0d1dc13#commitcomment-33086047
Anything you can do to turn that down a notch?  Thanks.

Sorry, that was a bug. It has been fixed.


Object metadata

Currently there are only a few fixed attributes allowed on objects (title, description, date_created, etc) - we need support for arbitrary attributes/metadata. There are a couple options for dealing with this:

Treat attributes like simple metadata, and just provide an attributes or meta dictionary property that can be filled with anything.

Treat attributes like data - this would mean in addition to, say, vertex and face data, we would also have something like object data where the value is validated to be length 1. This is a bit heavier handed but I think it has two advantages. (1) It fits with the existing structural pattern of the file. (2) It means you can give the metadata a name and a description (and any other attributes you can give data).

Whichever way we go, attributes absolutely need inclusion in the v1.0 release

Project metadata must include coordinate_reference_system, a string. This should be EPSG or Proj4 plus optional local transformation string.


Add override of download location.

Add ability to override download location by setting
environment variable ANDROID_REPOSITORY.

LGMT


Create a persistent search bar (inspired by Google Maps)

Left todo:

[ ] de-bold and lighten the "Search..." prompt.
[ ] animate specific suggestions upon addition/removal.
[ ] clear query text after search.
[ ] fix search action bar from displaying underneath create section action mode.
[ ] zoom in to section upon search.
[ ] animate search action bar away upon bottom sheet expansion.
[ ] save last 3 searches and display them with a history icon.
[ ] use a phonetic search algorithm.

Closed, rest will be handled in #108


Add 'tags' in profile

Thse tags will be area of expertise like languages known, repositories worked upon ( eg. Spruce, agendash etc.) and other things as we come across later.
We will make these tags searchable through main page.

Language wise tags have been added, and a user can search using this filter :smile:

Repo wise tags are also there - search through them is a different issue. So Im closing this.


Prevent block spacing with placed elements

Fixes #2199:
Placed elements (especially floating ones) should not introduce additional block spacing.

Thanks!


write load metadata script

What does this PR do?
It adds a python script tool that gets metadata files from an azure blob container or ADLS file system and inserts them into the database using the api. This is response to task 747 in AzDO.
All Submissions:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you successfully ran tests with your changes locally? Including container validation.
[x] Have you lint your code locally prior to submission?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you labelled this PR correctly? E.G. major, milestone, breaking, breaking-change, minor, feature, enhancement, patch, fix, chore, refactor etc

Changes to Core Features:

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your core changes, as applicable?

@Nepomuceno Maybe you noticed that the linter failed? The message said there is no docker folder. Which of course there isn't.

The Linter does say that 3 of your files in python wouldbe reformated if you run the inter so might be a ggood idea to run it locally enabling the reformating.


Added "To Blockchain Eternity" Meme

"To Blockchain Eternity" is a common toast used in the german bitcoin community. Especially in the legendary room 77 ( http://www.coindesk.com/evolution-bitcoin-behind-berlin-bar/ )

Could you please add a short explanation+link, since it's less known to most of the readers? (Just below the header line.) Thanks!


Phone Number auth with window.FirebasePlugin.verifyPhoneNumber

I would like to implement phone authentication with ionic and gordova firebase plugin, so i did these steps, but not succeful sent on android device :
1 - configure my firebase project :
Enable phone authentication, download google-services.json and place it root directory, generate SH1 key. (i followed all steps).
2 - configure firebase plugin :
i install firebase plugin https://github.com/arnesson/cordova-plugin-firebase, i install angularfire2 with firebase : npm install firebase angularfire2 --save.
3 - And my code is here :
import { Component } from '@angular/core';
import { NavController, AlertController } from 'ionic-angular';
import { Firebase } from '@ionic-native/firebase';
import firebase from 'firebase';
@Component({
selector: 'page-home',
templateUrl: 'home.html'
})
export class HomePage {
constructor(public navCtrl: NavController, public aletCtl: AlertController,
public firebase: Firebase) { }
public eer: string = 'error';
public phone : number ;
public getSMS() {
let number = '+213' + this.phone;
(window).FirebasePlugin.verifyPhoneNumber(number, 60, function (credential) {
console.log(credential);
prompt user to enter code
var code = this.getcodeuser();
  var verificationId = credential.verificationId;

  var signInCredential = firebase.auth.PhoneAuthProvider.credential(verificationId, code);
  firebase.auth().signInWithCredential(signInCredential);
}, function (error) {
  this.eer = error;
  console.error(error);
});

}
}
----------------- app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { ErrorHandler, NgModule } from '@angular/core';
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
import { SplashScreen } from '@ionic-native/splash-screen';
import { StatusBar } from '@ionic-native/status-bar';
import { MyApp } from './app.component';
import { HomePage } from '../pages/home/home';
import { Firebase } from '@ionic-native/firebase';
@NgModule({
declarations: [
MyApp,
HomePage
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp)
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
HomePage
],
providers: [
StatusBar,
SplashScreen,
Firebase,
{provide: ErrorHandler, useClass: IonicErrorHandler}
]
})
export class AppModule {}
Please any help

Have you the console log?

Thanks Bruno, i resolved the problem

@Abdelazziz  It would be better if you post how you resolved it. Might definitely be helpful for others too.. And also your code on the import statements aren't completed. It would be also better if you post your complete code since there are many firebase plugins lying around for cordova. Awaiting your response on the same.

Hi @kkrishnan90
this is how i resolved the probleme :
1- You must work with this plugin for firebase beacause this plugin have the implementation for phone auth :
ionic cordova plugin add https://github.com/jestcastro/cordova-plugin-firebase --save.
2- See the code in this link :
https://forum.ionicframework.com/t/phone-authentication-firebase-in-ionic-with-cordova-plugin-firebase/102058/7
Hope that will satisfay you.

@Abdelazziz  i try work follow you,but the app was exit when i call (window).FirebasePlugin.verifyPhoneNumber.Please help me.i use ionic framework

Hi @danbeo95
First when you said the app was exit, so you are running not in browser, your are in device, in that case the plugin will work only in real device that is mentionned in plugin doc, if not the case try to work with try catch and get your error and post it here, hope that will help you.

@Abdelazziz  Thanks mate ! Got this fixed and I've released a gist as well.. Here's the link below
which might help someone...

@Abdelazziz  i dont't understand your answer.I run in device

@kkrishnan90  thanks for reply.i try follow you.but when i call
signIn(phoneNumber: number) { //Step 2 - Pass the mobile number for verification
this.api.presentLoader('Sending OTP to your mobile number');
let number =this.phoneNumber;
(window).FirebasePlugin.verifyPhoneNumber(number, 60, (credential) =>{
console.log(credential);
this.api.dismissLoader();
var verificationId = credential.verificationId;
this.navCtrl.push('OtpPage',{verificationid: verificationId}); //This is STEP 3 - passing verification ID to OTP Page
}, (error) =>{
//this.eer = error;
this.api.dismissLoader();
this.api.presentToast('Failed to send OTP. Try again');
console.error(error);
});
}
}
the app still was exited.Please help me!

Hi first thanks very well @kkrishnan90  for this work and your time on this post https://gist.github.com/kkrishnan90/f9b61c52850571fa3700fc043b06f53c, and for @danbeo95 please post your config.xml that can be found on  root project and your app.module.ts to see if you have all things correct.

here is my congfig.xml

MyApp
An awesome Ionic/Cordova app.
Ionic Framework Team

App.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { ErrorHandler, NgModule } from '@angular/core';
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
import { SplashScreen } from '@ionic-native/splash-screen';
import { StatusBar } from '@ionic-native/status-bar';
import { MyApp } from './app.component';
import { HomePage } from '../pages/home/home';
@NgModule({
declarations: [
MyApp,
HomePage
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp)
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
HomePage
],
providers: [
StatusBar,
SplashScreen,
{provide: ErrorHandler, useClass: IonicErrorHandler}
]
})
export class AppModule {}
any is incorrect??

I am going to need to fix this bug.you can provided your sky to support via sky.Thanks so much

I'm at an Indian Time here.. At my office. Ping your Skype ID and I shall support you tonight Indian Time after getting back to my home.

Hey.thanks a lot.this is my skype +841687072421

@danbeo95 .. could you pls specify the Skype ID ? Cuz this is your Skype number. I won't be able to call to your number. Better we have a Skype and I can help you out today to fix your issue

Ok.my id<EMAIL_ADDRESS>Hope you support me soon.

@danbeo95 Sure I will.if it's urgent. Post your code and error msg on GitHub.create a repo or gist and post them. I'll try to support you to fix this one. Ok??

Ok.have you add my skype? It will esaier support to me

I'm at work now. Will do it tonight. Sorry.

https://gist.github.com/danbeo95/ede894f319be0f85cff42e2f12a59a22 here is my login.ts .When i call logIn() my app was exited!Please help me fix it
i use cordova-plugin-firebase https://github.com/jestcastro/cordova-plugin-firebase

@danbeo95 check my imports and yours. Install firebase native plugin for ionic. Did you check installing firebase native ionic plugin  ?some imorts seem to be not installed in your app.
Also import firebase from 'firebase'. If possible I'll share my package.json tonight. That should solve your problem. Apart from this your code seems to be fine.

here is my package.json
{
"name": "test",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "5.0.0",
"@angular/compiler": "5.0.0",
"@angular/compiler-cli": "5.0.0",
"@angular/core": "5.0.0",
"@angular/forms": "5.0.0",
"@angular/http": "5.0.0",
"@angular/platform-browser": "5.0.0",
"@angular/platform-browser-dynamic": "5.0.0",
"@ionic-native/core": "4.3.2",
"@ionic-native/splash-screen": "4.3.2",
"@ionic-native/status-bar": "4.3.2",
"@ionic/storage": "2.1.3",
"cordova-android": "6.3.0",
"cordova-plugin-device": "^1.1.4",
"cordova-plugin-firebase": "^0.1.21",
"cordova-plugin-ionic-webview": "^1.1.16",
"cordova-plugin-splashscreen": "^4.0.3",
"cordova-plugin-whitelist": "1.3.1",
"ionic-angular": "3.9.2",
"ionic-plugin-keyboard": "^2.2.1",
"ionicons": "3.0.0",
"rxjs": "5.5.2",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.18"
},
"devDependencies": {
"@ionic/app-scripts": "3.1.0",
"typescript": "2.4.2"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"ionic-plugin-keyboard": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-ionic-webview": {},
"cordova-plugin-firebase": {}
},
"platforms": [
"android"
]
can you support me for skype?

please support me.i have deadline tomorrow

@Abdelazziz  what is
prompt user to enter code
var code = this.getcodeuser();
how to use it  this.getcodeuser() ?

should be fixed by version 1.0.2


Unfortunately it Does not work anymore after latest Chrome update.

Thank you. I will look into this. Could you also provide more details, what exactly doesn't work?

I've just published bug fix with version 2.10.1, The extensions should self-update within the next few hours.
Please let me know if the problem persists.

Thanks @ChengjunJia . So I am marking this as resolved.


None of the shaders working

i tried many shaders none of them works, why ?

duplicate of #5

the other issue seems to have been an issue with the shader itself, please attach a log file as well as the shader(s) you are trying to use.

closing due to inactivity


Don't show tooltip if analysis is selected or is new

Related to: https://github.com/CartoDB/cartodb/issues/13278

like a charm!


Power Automate - Flow to delete apps not used after a period of time

Hello,
As I said in the title I need to delete Power Apps that are not used for example after a period of time.
How I should approach this? Using a flow? Powershell(there is no way to check for example last access time for an app)?

@claudiuVio Thanks for using Power Automate. This channel is specifically for issues found in the documentaion for Power Automate. Kindly check the support options available to you here: https://powerautomate.microsoft.com/en-us/support/ for questions about Power Automate. Thank you.


Add ubuntu font as an option for /caption

Describe the request
title
Is your feature request related to a problem? Please describe.
No response
Additional context
No response

Font source: https://fonts.google.com/specimen/Ubuntu
Will see if I can figure out how to do this...


Removed emojis from header

Removed emojis from header
Updated NPM packages to new version

can you upload a screen shot

can you upload a screen shot

Just removed emojis from the header section.

I think it's looking very empty

I think it's looks very empty

ok i will add more things


apply_filter and apply_sort respects :delegate option of attribute

Allows to sort and filter by delegated attribute without additional patching.
For example request like
get '/posts', params: {
    filter: {name: 'some_title'},
    sort: '-name',
    fields: {posts: 'name'}
}

for such resource
class PostResource < JSONAPI::Resource
  model_name 'Post'

  attribute :name, delegate: :title
  attribute :body

  filter :name
end

will responds successfully with correct data.

maybe we should also change keys in model_error_messages

@lgebhardt, @dgeb, @barelyknown, what do you think about this?

The fact that the two code changes are exactly the same shows that there needs to be a better solution to mapping resource attributes to model attributes and vice versa. Like @senid231 mentions, a proper solution should probably also take care of validation messages (and the corresponding pointers). Something on a class level like
class ProductResource < JSONAPI::Resource
  attribute :name, delegate: :title
  attribute :price

  def self.model_attribute_name(resource_attribute)
    # :name => :title | :price => :price
  end

  def self.resource_attribute_name(model_attribute)
    # :title => :name | :price => :price
  end
end

rebased and dried
@lgebhardt please take a look

@senid231 Thanks!


refactoring: Clean references to Luc in the code

It would be better to pass references to the committer user as a process argument.

It should be done for the launch at ICSE

How do you intend to do that? Just to know: every person that run repairnator (always) should get branches done by Luc as author? In other words, is this not a variable supposed to be changed by repairnator users?

is this not a variable supposed to be changed by repairnator users?

Yes it should be.


use SelfSubjectRulesReview instead of SelfSubjectAccessReview for better efficiency

obsoleted by using server-side access checks, and try-without-asking for resource fetches and watches in v0.2-b1


Improve Documentation.

Feature request
Please provide an updated documentation with detailed info about how each operator works.
If possible make create it with marbles grafics like what it's on this website http://reactivex.io/documentation/operators/zip.html
the main issue with the website I've mentioned is that some of of it's methods simple doesn't exists on Rx.NET and there are others that simple doesn't works as described there. I guess a comprehensive documentation would save lots of developers headaches while trying to do things using this framework.

The readme contains links to:

An MSDN site from 2011 containing a header that says We're no longer updating this content regularly. Check the Microsoft Product Lifecycle for information about how this product, service, technology, or API is supported.
The Intro to Rx site that was made for 1.0
http://reactivex.io/ where choosing the platform C#/.Net leads back to this repo
A UI library which I'm not interested in

That's not a great state of affairs in my opinion.


Generalize nsec bunker to nostr connect

Imma dive into this once I get oriented to coracle with #167.

Great. I think I've mentioned it, but I would really like to see a OAuth workflow for this. That way, clients wouldn't have to build the admin in, key management could happen elsewhere.
So:

Log in > Log in with key/identity provider
Ask for a url, or look up the correct provider somehow (like how bitwarden asks what server you want to connect to)
Initialize OAuth workflow, pass scopes and client id etc over to the auth provider
Approve/deny scopes
Redirect to app with nsec bunker token

Bam, very familiar auth workflow for end users, using nsec bunker.


Restructuring the Navbar

Hey!
I think having the Free-Hit to the left will look better.
I would like to be assigned and work on it if approved!

We are currently thinking of adding a logo to the website. So, after that change, if you feel like it's not good, you can raise an issue then

Oh ok!


Feat/default mem limit

What this PR does / Why we need it:
feat: Introduce default soft memory limit
It was found that with default settings, garbage collection
runs very seldomly during a deploymen, leading to memory consumption
to slowly build up and usually not go down before execution actuall
finishes.
This is likely due to the default GC setting of allocating up to 100%
of the current heap size within each next GC cycle.
With our memory pattern of allocating a large amount of
memory when loading all configurations at the start of a start of a
deployment, then slowly increasing memory with each deployed configuration
(rendered templates, logs, errors, etc.), this results in the GC mostly not
running after configs have been loaded.
As this in not a very reasonable memory behavior, and we can't expect all
users to set their own memory limits, a default limit of 2 GiB is introduced.
While hardcoding this isn't great, for now its a much simpler solution than
implementing OS specific ways to query the available memory and then still use
a hardcoded percentage.
Users that need finegrained control still have it by setting GOMEMLIMIT.
Special notes for your reviewer:
See message above for why I've decided not to query the system's available memory for now.
Some potential implementations for querying total memory for most operating systems:

https://github.com/cloudfoundry/gosigar (bigger general system info API)
https://pkg.go.dev/github.com/pbnjay/memory

I've tested a version using pbnjay/memory in #1173  - but I think it shows why a relative limit doesn't actually make sense.
Does this PR introduce a user-facing change?
Deployments and downloads might be slower than before, as GC will trigger more frequently.
It is less likely for containers running monaco to get OOM killed.

awesome - and a huge relief :D


Plugin does not have to be csharp specific

Hi! I am a maintainer of stryker-net and I just came across this. Awesome!
I notice that you market/name the plugin as being stryker-net specific but  our json schema is actually a shared schema between a lot of different mutation testing tools. StrykerJS, Stryker4S, infectionphp.. etc and even pitest I believe have support for this schema!
I also see that you implemented your own file parser for reading the json but we actually have a Scala (should be compatible with Java I think?) package that already implements this that you could use: https://github.com/stryker-mutator/mutation-testing-elements/tree/master/packages/metrics-scala @hugo-vrijswijk could you perhaps comment on how usable the package is in a Java project?

Hi @rouke-broersma, I get that StrykerJS, Stryker4S.. etc. all use the same schema but the point is there are some limitations in Generic Issues that you've mentioned in the documentation.
Also, we've just tried to make the plugin compatible with both JS, C# and Scala but there are some problems with Stryker.NET. The JSON report which is produced by Stryker.NET contains a field which is mutatorName but that field is not an enum. For instance, StrykerJS uses enums for this field such as AssignmentOperator, ArithmeticOperator etc. Because Stryker.NET does not use specific mutator names, we can't create a rule for each mutator in Sonarqube.
If we could make mutatorName field in Stryker.NET enum just like the StrykerJS, we could create a single sonar plugin for JS,C# and Scala. What do you think?

Hi @mstfymrtc we have a proposal open for shared mutator name terminology here: https://github.com/stryker-mutator/mutation-testing-elements/pull/1458. You could add your feedback there.
That said, from the point of the json schema the mutator name is not an enum. That strykerjs choses to implement this as an enum internally is not relevant. Mutator names could be different between all mutation testing frameworks until we have a common terminology. It will most likely never be the same for all mutation testing frameworks. This is why we explicitly don't enforce mutator names in the schema.
I also don't really see how the mutator name not being an enum matters for the rules, because all mutants are treated equally, I assume?

Thanks for the fast response @rouke-broersma :)

It matters because if they would be enum, we can allow users to activate/disactivate mutator rules like that.

It's also possible to define examples/description like below for each mutator.

In the current implementation of the plugin, we have just 2 different rules like below. (Because we can't categorize mutatorName)


chore: remove unused import

Related issue (if exists)

Summary

🤖 Generated by Copilot at c79d021
Removed an unnecessary import from rspack_plugin_externals crate. This simplifies the code and reduces dependencies.

Walkthrough

🤖 Generated by Copilot at c79d021

Remove unused import of path::PathBuf in plugin.rs (link)

See #3372


Feature/robot spring 21

Tweaks to make our keywords and tests pass on Spring 21.
Critical Changes
Changes

new keyword 'Field value should be'
new keyword 'Modal should show edit error for fields' for Spring 21 form field error notification
fixed bug preventing 'Get field value' from working in some cases
fixed bug preventing 'Select dropdown value' from working in Spring 21

Issues Closed

I had left it in draft status because there's still some tests that are failing on a prerelease org (in CI, I'm having trouble reproducing them locally). But it looks like all the checks are green so I've removed the draft status.


nixos: Only check file systems for neededForBoot

Only assert that persistent paths are marked neededForBoot if they're
file system roots.
Fixes #12

can confirm this solves the problem i had.


SDL Remote control baseline (sdl_core_guides#31)

Move https://github.com/smartdevicelink/sdl_core_guides/pull/31 here since the software architecture document was moved. Original commits by @LuxoftAKutsan.

@jacobkeeler should this PR be merged?


How to setup a Region Midt PC for development

Give a brief description on how to setup a Region Midt PC for development.
This includes:

Avanceret bruger (admin rights) + non-standard PC
What software to get installed by the region (MS office (licence and local install), teams/pexip, VPN, Cisco Proximity,
Recommended software installed by the researcher
How to setup printing

@Aastedet and I have managed to get an almost working Regional laptop. Let's get it documented!

@benjaminjohansen YES! I've added a branch to flesh out the contents. I've put the guide in the Onboarding/IT Basics page.
Feel free to edit and rearrange. And definitely add a guide on printing (I need to print something 😄)
Maybe the old guide to Citrix can be removed if we decide to recommend using the local setup rather than Citrix from now on? @lwjohnst86

That's fabulous you two!! :muscle: Submit a PR and I'll review it :raised_hands:

I think I've added the basic necessities and gone over the most common quirks. I haven't added printing, but the current content is enough for merging to main, I think.
Before merging the PR, please check if the direct links to the ServicePortal website on steps 1-4 are valid for other RM users (can you check that @benjaminjohansen ? - I don't think @lwjohnst86 has an RM login on hand). Also, feel free to edit text for clarity if needed.

I do have an RM account! I'll check it early next week 🤩
On Thu, 2 Nov 2023, 10:24 Anders Aasted Isaksen, @.***>
wrote:

I think I've added the basic necessities and gone over the most common
quirks. I haven't added printing, but the current content is enough for
merging to main, I think.
Before merging the PR, please check if the direct links to the
ServicePortal website on steps 1-4 are valid for other RM users (can you
check that @benjaminjohansen https://github.com/benjaminjohansen ? - I
don't think @lwjohnst86 https://github.com/lwjohnst86 has an RM login
on hand). Also, feel free to edit text for clarity if needed.
—
Reply to this email directly, view it on GitHub
https://github.com/steno-aarhus/research/issues/63#issuecomment-1790361123,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABS2WRYDTLDDVAHSTD6F3Q3YCNRDZAVCNFSM6AAAAAA4HJE5MOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJQGM3DCMJSGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Awesome. I added a section on printer setup as well.


Unsupported distribution 'almalinux'

When i run setup commands  i get this error.
Unsupported distribution 'almalinux'.

Install docker manually, then it should work


Adjust WDS icon stroke tokens

A follow-up to #31205
In smaller sizes and tight densities, icons lose legibility. This is mostly relevant for small-size button icons rather than regular size. I'll need to re-check the situation on different screens/devices and environment settings (screen densities, resolutions) to assess the situation further.

Hey team! Please add your planning poker estimate with Zenhub @KelvinOm @tbrizitsky


Issue Submission Guidelines

It'd be cool to link to somewhere with these best practices instead? Just to keep the README more succinct. Thank you!


Fixed previous node being null for mspush

Related issue: #16

As I say, it seemed to fix the segfault on my machine, but if someone could test it on theirs that'd be good before committing to master.


How to connect enterprise GitHub?

I am trying to connect to my enterprise GitHub repository from DBeaver but it gives me below errors:

Any suggestions on this? I can connect to my personal GitHub account but not my enterprise account. Do I need to purchase license?

Could you provide a bit more details. What are you trying to perform?
Use Git integration directly from DBeaver?
Use Eclipse integration?
Download drivers?
Something else?

@serge-rider I am trying git integration from DBeaver. I need to push my code to remote repo.

What Git extension do you use?
Are you behind some corporate firewall/proxy?

@serge-rider  I am using Egit from http://download.eclipse.org/egit/updates
And no my computer doesn't use proxy server but I am behind firewall.

I'm trying to figure out what is the difference between enterprise GitHub and regular GitHub (non-public repositories). EGit integration works fine with regular (public or private) repositories on GitHub.
Are you sure you are doing everything right?
Can you clone/update regular GitHub repositories (e.g. https://github.com/dbeaver/dbeaver/)?

Oops, just saw that you mentioned that you are behind a firewall. It is definitely the reason why it doesn't work.
In any case it is not DBeaver issue, see https://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.egit.doc%2Fhelp%2FEGit%2FUser_Guide%2FUser-Guide.html

@serge-rider  Makes sense. Can you guide me what needs to be done? I can connect to public repo. I'll have to instruct my networking team to do it.

We'll add Git UI integration in #5581
If it won't work with EGitHub - please write a note.


create lwrp external_auth

allow wrapper cookbook to create external auth configuration files under /etc/salt/master.d/ using LWRP.
will submit a PR shortly.

Since this is already done w/ attributes, what would the advantage of doubling it?

It helps to avoid attributes precedence when dealing with a complicated environment.
Also, setting up attributes and overriding does not work that well when using wrapper cookbook.

In very complex env's i could see it being a big annoyance
Carry on :)


Land PR #72

This PR adds an appropriate upgrade message and lands #72. In this PR:

Landed #72
Added 1.8.0.txt message
Updated messages.json with new message

/cc @wbond (land when ready)

Seems to work fine to me.
The only thing I would change is remove the fenced code block around the json settings in the release message since that only formats in markdown.

Ah, right. Sure thing

This has been landed/released in 1.8.0

I'm running iTerm2 Build 2.1.4, after adding the "--openNewTab" parameter iTerm still opens in a new window. Also when removing the "iTerm.sh" parameter to use the default terminal, the tabbing functionality still doesn't work.