SCC getRules api call does not return remediations

Describe the bug
The API Call to get the rules is not returning the remediation
To Reproduce
List the steps that can be used to demonstrate the bug.  Include the name of the service and operation that you're trying to invoke, if applicable.  Be sure to describe any relevant info regarding parameter values used with your API invocation.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Must gather (please complete the following information):

SDK Version [e.g. 1.2.1]
Go Version [e.g. 1.12.15]
Name of service that you're trying to use (if applicable)
Name of operation that you're trying to invoke (if applicable)

Additional context
Add any other context about the problem here.
Were you able to avoid the problem by changing your application code slightly?

Released a new version: https://github.com/IBM/scc-go-sdk/releases/tag/v5.3.0. @SergioGabeteSysdig can you verify?


Generates BuildConfig.class in root project although it's only configured for sub-projects.

I have a multiproject with this layout
rootProject.name = 'myproject'
include 'myproject-core'
include 'myproject-ui'

allprojects {
  apply plugin: 'idea'
  apply plugin: 'eclipse'

  eclipse.project {
    natures 'org.eclipse.buildship.core.gradleprojectnature'
  }
}

subprojects {
  group 'com.myproject'
  version '1.1.1'

  buildscript {
    repositories {
      maven {
        url 'https://plugins.gradle.org/m2/'
      }
    }
  }

  apply plugin: 'java'
  apply plugin: 'de.fuerstenau.buildconfig'

  /* closure needs to be present for build config to be created, build config is
   * created for "main" source set that way */
  buildConfig {}
}

The plugin generates the BuildConfig.class in

./myproject/build/gen/buildconfig/classes/main -- package de.fuerstenau.buildconfig;
./myproject-core/build/gen/buildconfig/classes/main -- package com.myproject;
./myproject-ui/build/gen/buildconfig/classes/main -- package com.myproject;

Shouldn't it skip the root project and just be applied for the sub projects?

I will look into this after work today. Honestly I did not a lot of multiproject testing. I guess it's about time.

@mrt181 I'm trying to reconstruct your project. But the above build.gradle doesn't work for me. I'm missing the classpath dependency? Did you miss
  dependencies {
    classpath 'gradle.plugin.de.fuerstenau:BuildConfigPlugin:1.1.6'
  }

also It doesn't work for me if I put the
buildscript {
  repositories {
    maven {
      url 'https://plugins.gradle.org/m2/'
    }
  }
  dependencies {
    classpath 'gradle.plugin.de.fuerstenau:BuildConfigPlugin:1.1.6'
  }
}

inside the subprojects { }-closure, instead I can put it like this
buildscript {
  repositories {
    maven {
      url 'https://plugins.gradle.org/m2/'
    }
  }
  dependencies {
    classpath 'gradle.plugin.de.fuerstenau:BuildConfigPlugin:1.1.6'
  }
}

allprojects {
  apply plugin: 'idea'
  apply plugin: 'eclipse'

  eclipse.project {
    natures 'org.eclipse.buildship.core.gradleprojectnature'
  }
}

subprojects {
  group '´'
  version '1.1.1'

  apply plugin: 'java'
  apply plugin: 'de.fuerstenau.buildconfig'

  /* closure needs to be present for build config to be created, build config is
   * created for "main" source set that way */
  buildConfig {}
}

though my results are

none for root project
./myproject-core/build/gen/buildconfig/classes/main -- package com.myproject;
./myproject-ui/build/gen/buildconfig/classes/main -- package  com.myproject;;

Ok, I have heavily abbreviated the first build file sample.
This is a more complete sample:
root build.gradle
plugins {
  id 'org.gradle.java'
  id 'de.fuerstenau.buildconfig' version '1.1.6'
}

allprojects {
  apply plugin: 'idea'
  apply plugin: 'eclipse'

  eclipse.project {
    natures 'org.eclipse.buildship.core.gradleprojectnature'
  }
}

subprojects {
  def getVersionName = { ->
    try {
      def stdout = new ByteArrayOutputStream()
      exec {
        commandLine 'git', 'describe', '--tags', '--dirty', '--always', '--long'
        standardOutput = stdout
      }
      return stdout.toString().trim()
    }
    catch (ignored) {
      return null;
    }
  }

  group 'com.myproject'
  version getVersionName()

  buildscript {
    repositories {
      maven {
        url 'https://plugins.gradle.org/m2/'
      }
    }
    dependencies {
      classpath 'gradle.plugin.edu.sc.seis.gradle:launch4j:1.5.1'
    }
  }

  apply plugin: 'java'
  apply plugin: 'de.fuerstenau.buildconfig'

  /* closure needs to be present for build config to be created, build config is
   * created for "main" source set that way */
  buildConfig {}

  sourceCompatibility = 1.8
  targetCompatibility = 1.8
  [compileJava, compileTestJava]*.options*.encoding = 'UTF-8'

  repositories {
    maven { url "http://central.maven.org/maven2" }
    maven { url "https://plugins.gradle.org/m2/" }
    maven { url "http://d-maven.googlecode.com/svn/trunk/repo" }
  }

  //noinspection GroovyAssignabilityCheck
  dependencies {
    compile 'com.google.guava:guava:18.0'
    compile 'org.apache.commons:commons-lang3:3.4'
    compile 'org.apache.camel:camel-core:2.16.+'
    compile 'org.apache.poi:poi:3.14'
    compile 'org.apache.commons:commons-dbcp2:2.1.+'
    compile 'org.springframework:spring-context:4.2.+'
    compile 'net.bytebuddy:byte-buddy:1.3.+'
    compile 'javax.money:money-api:1.0'
    compile 'org.javamoney:moneta:1.0'
    compile 'com.google.code.findbugs:jsr305:3.0.+'
    compile 'javax.validation:validation-api:1.1.0.Final'
    compile 'log4j:log4j:1.2.+'
    compile 'org.slf4j:slf4j-api:1.6.+'
    compile 'org.slf4j:slf4j-log4j12:1.6.+'
    compile 'org.slf4j:jcl-over-slf4j:1.6.+'
    testCompile ('junit:junit:4.12') { exclude group: 'org.hamcrest', module: 'hamcrest-core' }
    testCompile 'org.codehaus.groovy:groovy-all:2.4'
    testCompile 'org.spockframework:spock-core:1.0-groovy-2.4'
    testCompile 'org.apache.camel:camel-test:2.17.+'
    testCompile ('org.mockito:mockito-core:1.10.+') { exclude group: 'org.hamcrest', module: 'hamcrest-core' }
    testCompile 'org.hamcrest:hamcrest-junit:2.0.+'
    testCompile 'org.hamcrest:hamcrest-all:1.3'
  }

  eclipse {
    classpath {
      downloadSources = true
      downloadJavadoc = true
    }
  }

  idea {
    module {
      downloadSources = true
      downloadJavadoc = true
    }
  }

  gradle.projectsEvaluated {
    tasks.withType(JavaCompile) {
      options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
    }
  }
}

This creates the BuildConfig.class in the root project:
~ > sourcecode > myproject >  develop > 0748cd0 > ./gradlew clean compileJava
:clean
:attila-core:clean
:attila-ui:clean
:eclipseClasspath
:generateBuildConfig
:compileBuildConfig
:compileJava UP-TO-DATE
:attila-core:eclipseClasspath
:attila-core:generateBuildConfig
:attila-core:compileBuildConfig
:attila-core:compileJava
:attila-core:compileGroovy UP-TO-DATE
:attila-core:processResources
:attila-core:classes
:attila-core:jar
:attila-ui:eclipseClasspath
:attila-ui:generateBuildConfig
:attila-ui:compileBuildConfig
:attila-ui:compileJava

BUILD SUCCESSFUL

Total time: 20.404 secs
~ > sourcecode > myproject >  develop > 0748cd0 >  find . -name "BuildConfig*"
./myproject-core/build/gen/buildconfig/classes/main/com/rwe/st/cao/gas/BuildConfig.class
./myproject-core/build/gen/buildconfig/src/main/com/rwe/st/cao/gas/BuildConfig.java
./myproject-ui/build/gen/buildconfig/classes/main/com/rwe/st/cao/gas/BuildConfig.class
./myproject-ui/build/gen/buildconfig/src/main/com/rwe/st/cao/gas/BuildConfig.java
./build/gen/buildconfig/classes/main/de/fuerstenau/buildconfig/BuildConfig.class
./build/gen/buildconfig/src/main/de/fuerstenau/buildconfig/BuildConfig.java

Okay. The interesting part is
   plugins 'de.fuerstenau.buildconfig'

because it applies the plugin to the main/root project. Not the buildconfig { }-closure triggers the creation of the default buildconfig task, the applying of the plugin does. There is no way I know of to check the existence of the closure in the buildscript, as it always exists if the plugin is applied (even if not written in the script). That's why I made the task upon applying the plugin. A workaround would be to write
buildscript {
  repositories {
    maven {
      url 'https://plugins.gradle.org/m2/'
    }
  }
  dependencies {
    classpath 'gradle.plugin.de.fuerstenau:BuildConfigPlugin:1.1.6'
  }
}
plugins {
    id 'java'
}

instead of
plugins {
  id 'org.gradle.java'
  id 'de.fuerstenau.buildconfig' version '1.1.6'
}

Note: the missing apply plugin: 'de.fuerstenau.buildconfig'.
That way the classpath is available (to apply to the subprojects as You do), but the plugin is not applied to the main/root project.

Hi, after moving this
plugins {
  id 'de.fuerstenau.buildconfig' version '1.1.6'
}

into the sub projects build.gradle files and applying the plugins there the class is no longer generated in the root project.

Good to hear. I made some effort yesterday to find a way to detect if an configuration closure was put into the buildscript. Its simply not possible. The closure is applied via Groovy delegate-magic and there is no way to detect that. That way the mere presence of an empty configuration closure cannot be used as a trigger to create the tasks.
Maybe a closure with a value defaultTaskCreation = true which can be set to false would be a viable way to make it easy to have automatic tasks created for the default case and prevent it in special cases.

For completeness and in case someone else has a similar question. I also added this to see the generated src files in eclipse when using the eclipse_plugin otherwise only the class files would be available in eclipse. The idea_plugin provides a similar mechanism for intellij
eclipse {
  classpath {
    file.beforeMerged { cp ->
      cp.entries.add( new org.gradle.plugins.ide.eclipse.model.SourceFolder('build/gen/buildconfig/src/main', null))
    }
  }
}

Thank you. Yes, the IDEs add a lot of magic through their plugins. I am not sure if I like that, there should be a pure gradle way to do this. IntelliJ is great, I use it at work, but I shudder everytime I am aware of the abstractions it lays over a simple gradle project.


feat: add github token in .env.example and add explanation in readme of how to obtain a github token

Feature Request
Describe the Feature Request
Since Kakarot Cairo zero now uses artifact pulling, it requires a GH token (with only public repo read as a permission)
### Tasks
- [ ] add GITHUB_TOKEN in .env.example to give guidance
- [ ] add small paragraph in the readme about github token, draw inspiration from: https://github.com/kkrt-labs/kakarot

Example of readme for GH token

source: https://github.com/kkrt-labs/kakarot

maybe it's better to generate one with limited permissions and make it public so anyone can use it

maybe it's better to generate one with limited permissions and make it public so anyone can use it

can't be exploited? like someone spams it and it's rate limit is permanently reached?

if the scope of the permissions is limited, u can only do what's in the scope. But assign this to me (for it to be on my pipeline) to check some stuff

So what should we do?
I can generate an infinite gh token with read rights only?
And share it publicly in the .env.example?


The main module (in /usr/lib/pythonX.Y/site-packages) should be installed under a different name.

Currently, assuming that one has a package where the main python package is in the toplevel directory
.git
mypkg/__init__.py
mypkg/_version.py
versioneer.py

(which is a fairly common setup, although I know there's the eternal debate of whether mypkg should go under a src subdirectory), then pip-editable-installing this package (pip install -e .) would also cause a versioneer.py (the "generated" module) to be present into sys.path, different from, and shadowing, the one that actually powers the versioneer CLI (the "main" module).  For example, invoking /usr/bin/versioneer would fail after such an install.
I think the easiest way to fix the issue is to either rename the "main" module to _versioneer (or versioneer_cli if you want to keep it public, although it's not clear why you'd bother -- if you want to invoke versioneer programatically(!) you can always go through a subprocess), or not install a module at all and simply install a single file as a script (https://packaging.python.org/tutorials/distributing-packages/#scripts).
Edit: Another advantage of having the main module under a different name is that this allows one to differentiate between importing the main module and the generated module, e.g. in a copy-pasted function in setup.py that tries to determine whether the generated module is present.

With isolated builds being common, and versioneer having non-vendored installation, I'm going to say this isn't going to happen.


Correct beta contact?

Right now our beta warning says:
Open Beta

Chainlink Keepers is in beta. We're continuing to test the network with users and improve the experience based on your needs. Please reach out to<EMAIL_ADDRESS>with any feedback.

What is the right place to reach out? Web form? Different email?

Closing this. Keepers is now out of Beta.


Ignore/exclude specific posts from bridge

Hi there! I was wondering if it would be possible to add a way to exclude specific posts from being bridged (e.g. via a hashtag or specific character in the post itself). Some ActivityPub software has the option to make "local-only" posts that are limited to a single instance; this would act somewhat similarly to that, allowing people who have opted into the bridge to limit certain posts to a single protocol (e.g. for posts that would only make sense on one side of the bridge).

Yes! This is #831

I see; didn't catch that when looking at existing issues, thanks!
I might suggest having some sort of setting to toggle between full bridging and selective bridging, like some old crossposters offered, but I'd imagine a settings system in general would need to be implemented first.


⚠ sg1grpc.serverssh.us has degraded performance

In d4a4da1, sg1grpc.serverssh.us (http://sg1grpc.serverssh.us/) experienced degraded performance:

HTTP code: 400
Response time: 24894 ms

Resolved: sg1grpc.serverssh.us performance has improved in ab96e10.


TypeError: Cannot read property 'extraQueryParameters' of null

Please follow the issue template below. Failure to do so will result in a delay in answering your question.

Library

[X]<EMAIL_ADDRESS>
Framework
React v16.8.4
Description
We are calling acquireTokenSilent with only scopes in AuthenticationParameters and receiving the "TypeError: Cannot read property 'extraQueryParameters' of null" error.

Closing due to inactivity. Please let us know if this is still an issue

Closing due to inactivity. Please let us know if this is still an issue

I have similar problem(

@NortonIce We have another issue already open for this bug: #1411


didHaveMemoryPressure is always called when the app enters background

Steps to Reproduce
  @override
  void didHaveMemoryPressure() {
    Log.d('Warning!! Low Memory, didHaveMemoryPressure');
  }

I discovered this function is always called when my app enters the background on iOS. (no issue on Android).
is it the expected result?
I want to reduce some functions (ex, video playback) when the system enters a low memory state.
Should I listen to some other event?

 flutter doctor -v
[✓] Flutter (Channel unknown, 2.0.6, on macOS 11.6 20G165 darwin-x64, locale zh-Hant-TW)
    • Flutter version 2.0.6 at /Users/rdapp/fvm/versions/2.0.6
    • Framework revision 1d9032c7e1 (6 個月前), 2021-04-29 17:37:58 -0700
    • Engine revision 05e680e202
    • Dart version 2.12.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/rdapp/Library/Android/sdk
    • Platform android-31, build-tools 30.0.2
    • Java binary at: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_301-b09)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.1, Build version 13A1030d
    • CocoaPods version 1.11.2

[!] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Connected device (2 available)
    • Tommy’s iPhone (mobile) • 00008030-0009243A0ED0802E • ios        • iOS 15.1
    • macOS (desktop)         • macos                     • darwin-x64 • macOS 11.6 20G165 darwin-x64

Hi @dodatw, thanks for filing the issue.
You appear to be on an older version of flutter as well as an unknown channel on that version. Kindly upgrade to the latest version of stable and if you still experience this issue, kindly provide a complete minimal reproducible code sample.
Thank you

I can reproduce on flutter 2.5.3 on iphone 11 (ios 15.1)
[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-x64, locale zh-Hant-TW)
    • Flutter version 2.5.3 at /Users/rdapp/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (3 周前), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/rdapp/Library/Android/sdk
    • Platform android-31, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.1, Build version 13A1030d
    • CocoaPods version 1.11.2

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      � https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      � https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] Connected device (3 available)
    • SM A715F (mobile)       • R58N735FR4D               • android-arm64 • Android 11 (API 30)
    • Tommy’s iPhone (mobile) • 00008030-0009243A0ED0802E • ios           • iOS 15.1 19B74
    • macOS (desktop)         • macos                     • darwin-x64    • macOS 11.6 20G165 darwin-x64

Here is the sample code. (only add didHaveMemoryPressure in the flutter sample project.)
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

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

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> with WidgetsBindingObserver {
  int _counter = 0;

  @override
  void initState() {
    super.initState();
    WidgetsBinding.instance!.addObserver(this);
  }

  @override
  void dispose() {
    WidgetsBinding.instance!.removeObserver(this);
    super.dispose();
  }

  @override
  void didHaveMemoryPressure() {
    print('didHaveMemoryPressure');
  }

  void _incrementCounter() {
    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Invoke "debug painting" (press "p" in the console, choose the
          // "Toggle Debug Paint" action from the Flutter Inspector in Android
          // Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
          // to see the wireframe for each widget.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Reproducible on stable and master on both android and iOS.

mini logs
android
Launching lib/main.dart on M2007J20CG in debug mode...
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
W/FlutterActivityAndFragmentDelegate( 6201): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.
Connecting to VM Service at ws://<IP_ADDRESS>:49976/Z-tOrWqwqSk=/ws
I/om.example.mem( 6201): ProcessProfilingInfo new_methods=572 is saved saved_to_disk=1 resolve_classes_delay=8000
I/flutter ( 6201): didHaveMemoryPressure
I/flutter ( 6201): didHaveMemoryPressure
W/RenderInspector( 6201): QueueBuffer time out on com.example.memp/com.example.memp.MainActivity, count=14, avg=11 ms, max=18 ms.
I/flutter ( 6201): didHaveMemoryPressure
W/RenderInspector( 6201): QueueBuffer time out on com.example.memp/com.example.memp.MainActivity, count=6, avg=10 ms, max=21 ms.
I/flutter ( 6201): didHaveMemoryPressure
Application finished.
Exited (sigterm)

iOS
Launching lib/main.dart on Nexus’ IPhone in debug mode...
Found saved certificate choice "Apple Development: Dean Li (DXB2HBHNAA)". To clear, use "flutter config".
Signing iOS app for device deployment using developer identity: "Apple Development: Dean Li (DXB2HBHNAA)"
Xcode build done.                                           13.4s
[VERBOSE-2:FlutterObservatoryPublisher.mm(101)] Failed to register observatory port with mDNS with error -65555.
[VERBOSE-2:FlutterObservatoryPublisher.mm(103)] On iOS 14+, local network broadcast in apps need to be declared in the app's Info.plist. Debug and profile Flutter apps and modules host VM services on the local network to support debugging features such as hot reload and DevTools. To make your Flutter app or module attachable and debuggable, add a '_dartobservatory._tcp' value to the 'NSBonjourServices' key in your Info.plist for the Debug/Profile configurations. For more information, see https://flutter.dev/docs/development/add-to-app/ios/project-setup#local-network-privacy-permissions
[VERBOSE-2:FlutterObservatoryPublisher.mm(101)] Failed to register observatory port with mDNS with error -65555.
[VERBOSE-2:FlutterObservatoryPublisher.mm(103)] On iOS 14+, local network broadcast in apps need to be declared in the app's Info.plist. Debug and profile Flutter apps and modules host VM services on the local network to support debugging features such as hot reload and DevTools. To make your Flutter app or module attachable and debuggable, add a '_dartobservatory._tcp' value to the 'NSBonjourServices' key in your Info.plist for the Debug/Profile configurations. For more information, see https://flutter.dev/docs/development/add-to-app/ios/project-setup#local-network-privacy-permissions
Connecting to VM Service at ws://<IP_ADDRESS>:50988/QIuyFdaT7Qs=/ws
[VERBOSE-2:profiler_metrics_ios.mm(203)] Error retrieving thread information: (os/kern) invalid argument
flutter: didHaveMemoryPressure
flutter: didHaveMemoryPressure
flutter: didHaveMemoryPressure
flutter: didHaveMemoryPressure
Application finished.
Exited (sigterm)

flutter doctor -v
[✓] Flutter (Channel master, 2.6.0-12.0.pre.657, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-12.0.pre.657 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a61c57add6 (2 hours ago), 2021-11-08 21:37:48 -0800
    • Engine revision 162d8508f8
    • Dart version 2.15.0 (build 2.15.0-285.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

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

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

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

[✓] Connected device (4 available)
    • M2007J20CG (mobile)    • 5dd3be00                  • android-arm64  • Android 11 (API 30)
    • Nexus’ IPhone (mobile) • 00008020-001875E83A38002E • ios            • iOS 15.0.2 19A404
    • macOS (desktop)        • macos                     • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome 95.0.4638.69

• No issues found!

[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.5.3 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (4 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.11.2

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

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

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

[✓] Connected device (4 available)
    • M2007J20CG (mobile)    • 5dd3be00                  • android-arm64  • Android 11 (API 30)
    • Nexus’ IPhone (mobile) • 00008020-001875E83A38002E • ios            • iOS 15.0.2 19A404
    • macOS (desktop)        • macos                     • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome 95.0.4638.69

• No issues found!

Flutter runs didHaveMemoryPressure whenever the OS tells us that there's memory pressure.
So, I am not sure what you're asking with this issue. Are you seeing a specific bug?

Is that mean it always has memory pressure when the app enters the app background?
I want to do something (ex, stop video playback, stop background task) when low memory to avoid OOM.
Is there another way to know memory is low?

We have the same issue on Android. The memory pressure callback is called as the app enters the background.
@dodatw As a workaround, I used didChangeAppLifecycleState to track whether or not the app is currently paused, and ignored calls to didHaveMemoryPressure if the app is currently paused. Not sure if this is technically correct but does prevent this bug from triggering unnecessary cleanup.

It seems to be caused by this line of code
https://github.com/flutter/engine/blob/d91489e9f62fcdab9d43783863c8c46b1e33b236/shell/platform/darwin/ios/framework/Source/FlutterEngine.mm#L1033
Should we distinguish between these two situations?

A memory warning has really occurred.
No memory warning occurred but it seems that now is a good time to release some memory.

/cc @dnfield @gaaclarke

We were recently discussing this for Android elsewhere. This is generally a good time to clean up resources, and going to background means you should do whatever you can to use less memory to avoid getting killed by the OS, particularly on iOS.
What's the operation that you don't want to do when going to background but do want to do in other situations where you're expected to conserve memory?

We were recently discussing this for Android elsewhere. This is generally a good time to clean up resources, and going to background means you should do whatever you can to use less memory to avoid getting killed by the OS, particularly on iOS.
What's the operation that you don't want to do when going to background but do want to do in other situations where you're expected to conserve memory?

I think this is not very reasonable. When a memory warning occurs, we need to clean up resources to reduce the risk of application being killed. But other times (such as when app go to the background, FlutterViewController is not visible, or FlutterEngine.viewController is set to nil) we don't necessarily have to clean up resources. Because the system memory may be very abundant at this time, and cleaning up resources may bring side effects, such as ImageCache being emptied
https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/painting/binding.dart#L124
For example, in the add-to-app scenario, we often need to set FlutterEngine.viewController from FlutterViewController A to nil, and then to B, but we don't want to clean up resources at this time.


Added Env class

What it is 🤖
Env is a wrapper around the openai gym env. It exposes the same methods as its core, step and reset, allowing the developer to interact with the simulation.
Besides, it takes in additional arguments to efficiently implement frame skipping ➡ :

rgb_input 🔴 💛 🔵  indicating how many channel dimensions are taken up by one frame
frame_skipping_rate How many action repeats should be performed
history_length How many past frames should be kept in the state representation

Also, the developer has access to the action_space and the state.

Codecov Report

Merging #17 into master will increase coverage by 6.29%.
The diff coverage is 72.46%.

@@            Coverage Diff             @@
##           master      #17      +/-   ##
==========================================
+ Coverage   30.34%   36.63%   +6.29%
==========================================
  Files          15       17       +2
  Lines         959     1059     +100
==========================================
+ Hits          291      388      +97
- Misses        668      671       +3

Impacted Files
Coverage Δ

setup.py
0% <ø> (ø)
:arrow_up:

torchup/agents/DoubleDQN.py
0% <0%> (ø)
:arrow_up:

torchup/agents/DQN.py
0% <0%> (ø)
:arrow_up:

torchup/env.py
100% <100%> (ø)

tests/test_models.py
100% <100%> (ø)
:arrow_up:

torchup/models.py
46.55% <50%> (ø)
:arrow_up:

tests/test_env.py
93.65% <93.65%> (ø)

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 7a3c6bc...489170c. Read the comment docs.


Change Duty Cycle

when I use this lib, after setup the PWM paras, the PWM works well. But I need to change the duty cycle in working, for example, the breathing led.
I have tried to use disable or delete function, but it looks not work, the PWM duty cycle do not change.
So,  it would be great if there is a duty cycle set up function.

Thanks for your interest in the library.

I have tried to use disable or delete function, but it looks not work, the PWM duty cycle do not change.

Please follow the instructions when opening a new issue and post the MRE sketches to save time for anybody trying to reproduce the issue.
Waiting for your response,

Hi,
I just add an example ISR_Changing_PWM to show you how to change PWM freq and duty-cycle on-the-fly.
Anyway, I'll add option to make it easier to change the PWM freqs and duty-cycles, without having to delete and reinit the PWM channels in next release.

Hi @AnselPeng2019
The new ESP8266_PWM releases v1.1.0 has just been published
Your contribution has been noted in Contributions and Thanks
Check the new

ISR_Changing_PWM example
ISR_Modify_PWM example

The library is definitely better and more useful now. Looking forward to receiving more enhancement requests from you.
Best Regards,
KH

Changelog
Releases v1.1.0

Add functions to modify PWM settings on-the-fly
Fix bug
Add example to demo how to modify PWM settings on-the-fly

I'm similarly trying to change the duty cycle with a fixed frequency. Since PWM_DutyCycle is a uint32_t , this can only be done in 100 steps. I suggest to have an alternative function where you can specify Period/OnTime to be able to get the full duty cycle resolution. Or change PWM_DutyCycle to a float (I think 0. to 1. would be easier to use than 0-100 if you do this).

@ggmichael
Good idea. I'll rewrite the library to use float / double for PWM freqs, period and duty-cycles to have much better accuracy.
Regards,

Hi @ggmichael
The new ESP8266_PWM releases v1.2.0 has just been published. Your contribution is noted in Contributions and Thanks
Best Regards,

Releases v1.2.0

Fix multiple-definitions linker error. Drop src_cpp and src_h directories
Add feature to select among highest, medium or lowest accuracy for Timers for shortest, medium or longest time
Fix reattachInterrupt() bug. Check bugfix: reattachInterrupt() pass wrong frequency value to setFrequency() #19
Add example multiFileProject to demo for multiple-file project
Improve accuracy by using double, instead of uint32_t for dutycycle, period. Check Change Duty Cycle #1
Update examples accordingly

Thanks for this! Your library has fixed a problem I was having with inconsistent calibration, which I now think arose from the changing timing of the analogWrite pwm.
One more feature that would be nice would be to be able to command a duty cycle update to occur at the end of the next full period instead of immediately (as I think happens now). If you're trying to create a continuously variable mean output voltage, resetting the channel at a frequency that approaches the PWM frequency causes a bias towards whichever part of the duty cycle comes first. This wouldn't happen if the update occurred at the end of the cycle. It may be that there are other applications (long cycles) where you would prefer the update straight away. So perhaps a flag to set either mode.

One more feature that would be nice would be to be able to command a duty cycle update to occur at the end of the next full period instead of immediately (as I think happens now)

It's nice-to-have and a little bit harder, but totally possible to address this issue, if there are many more users requesting the similar feature.
Can you start by creating a new enhancement request / issue, and also specify the use-case and how it'll be beneficial to have the new feature.
IMO, a short glitch can't affect anything (such as light, motor control, etc.). I also don't think analogWrite pwm has taken care of this issue.
Thanks,


No response for ionic serve after upgrading to latest stable version

From @yogeshwar607 on January 30, 2017 9:55
Getting no response after upgrading to latest stable version.Before that it was working fine.
Created new project , still getting same issue.

Copied from original issue: driftyco/ionic#10238

From @graphefruit on January 30, 2017 11:52
@yogeshwar607 Can you please post your ionic info ?
Is there any error while serving?


Param without types should not fail validation

Changes

This commit relaxes the validation of params so if the type is empty it
doesn't fail the validation. This is to avoid failing the resources that
are not mutated to add default types for params
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

https://github.com/tektoncd/pipeline/issues/5175

@jerop

/retest

/retest

/hold

It's worth mentioning that when I deleted a problem Pipeline and recreated it, with any of kubectl replace, kubectl apply, or kubectl create, params without types specified still had no types specified. This is with Pipeline v0.37.2. So if the current behavior, before this PR, is supposed to be defaulting newly created Pipelines and Tasks to have default types on their params, well, that's not working either.

It's worth mentioning that when I deleted a problem Pipeline and recreated it, with any of kubectl replace, kubectl apply, or kubectl create, params without types specified still had no types specified. This is with Pipeline v0.37.2. So if the current behavior, before this PR, is supposed to be defaulting newly created Pipelines and Tasks to have default types on their params, well, that's not working either.

Hi @abayer,
I tried the following yaml (the type of param arg and mystring is not specified) with v0.37.2 and it works fine. Can you also try that? If this example works, let's find what are the missing/different part in the problem pipeline.
kind: Task
apiVersion: tekton.dev/v1beta1
metadata:
  name: test-task
spec:
  params:
    - name: arg
  steps:
    - name: echo
      image: bash:latest
      args: ["echo", "$(params.arg)"]
---
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
  name: test-pipeline
spec:
  params:
    - name: mystring
  tasks:
    - name: echo-test
      params:
        - name: arg
          value: $(params.mystring)
      taskRef:
        name: test-task
---
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
  generateName: test-pipeline-run
spec:
  params:
    - name: mystring
      value: abc.com
  pipelineRef:
    name: test-pipeline

Ok, turns out the problem was incredibly stupid and specific - in the default namespace on the dogfooding cluster, we had webhooks.knative.dev/exclude: "true" in the labels, so it was skipping defaulting entirely. 🤦

Ok, turns out the problem was incredibly stupid and specific - in the default namespace on the dogfooding cluster, we had webhooks.knative.dev/exclude: "true" in the labels, so it was skipping defaulting entirely. 🤦

Haha lol! But this actually helped us catching some bugs in webhook and strengthen our checks in reconciler! Effort not wasted!

 I am curious if this field webhooks.knative.dev/exclude was set from false to true just recently OR it has been true all the time?

It's worth mentioning that when I deleted a problem Pipeline and recreated it, with any of kubectl replace, kubectl apply, or kubectl create, params without types specified still had no types specified. This is with Pipeline v0.37.2. So if the current behavior, before this PR, is supposed to be defaulting newly created Pipelines and Tasks to have default types on their params, well, that's not working either.

Ok, turns out the problem was incredibly stupid and specific - in the default namespace on the dogfooding cluster, we had webhooks.knative.dev/exclude: "true" in the labels, so it was skipping defaulting entirely. 🤦

Is it something very easy to fix? We're not so familiar with the dogfooding cluster configuration. Is it public and can be viewed somewhere?

Someone set it by hand to be able to remove resources that couldn't be deleted due to removed fields - not sure exactly when it was done, but more than a week or so ago. It's fixed now, so we're all good on dogfooding regarding defaulting.

Someone set it by hand to be able to remove resources that couldn't be deleted due to removed fields - not sure exactly when it was done, but more than a week or so ago. It's fixed now, so we're all good on dogfooding regarding defaulting.

Got it. Good lesson to learn. Didn't know there is a field webhooks.knative.dev/exclude that can disable the wekbhook in the cluster. Thanks @abayer

I'm a bit confused about what this PR is doing given the original PR message and the conversation that's happened. It looks like this sets defaults in the reconciler to ensure that defaults are applied to resources that were created before these code changes were applied to the server.

Yes,  that's the current goal

Is this still an issue with params without types, disregarding the annotations that were mistakenly kept around on our dogfooding cluster?

There are some other discussions in this issue https://github.com/tektoncd/pipeline/issues/5175. And for taskrun when we get the taskspec, it will call taskSpec.SetDefaults(ctx),
https://github.com/tektoncd/pipeline/blob/10a5ae69b35bd7cc4542234f395c30ca214ca5a6/pkg/reconciler/taskrun/resources/taskspec.go#L48-L54
but for pipelinerun we don't have it. It may make sense to add for pipelinerun as well
https://github.com/tektoncd/pipeline/blob/10a5ae69b35bd7cc4542234f395c30ca214ca5a6/pkg/reconciler/pipelinerun/pipelinespec/pipelinespec.go#L40-L47

/retest

/hold cancel

/lgtn

/lgtm


[Feature]: Flag to fail when there are obsolete snapshot(s)

🚀 Feature Proposal
Add a CLI option (like --errorOnObsoleteSnapshots) and a config option (like errorOnObsoleteSnapshots) which will cause Jest to fail runs where there was one or more obsolete snapshots.
Motivation
The primary use case would be if one wanted to enforce in a CI that obsolete snapshots were not present. This would be useful for project hygiene, but also because if it were to occur unexpectedly, it might indicate an error has been introduced.
Example
No response
Pitch
Since it's a configuration for Jest itself, I don't see how else it could be reasonably implemented.

Hey @keeganwitt. I can see this being useful. I'll take a look and see if I can submit a PR for this. I'll report back in a few days if I'm having trouble though.

I have a pretty good idea how to do this at this point.
But I also realized that invoking jest via npm or yarn actually results in failing anyway when there are obsolete snapshots. I couldn't find documentation on why, but that's my experience, and I'm seeing some other people experience this too, e.g. https://stackoverflow.com/q/62461400. (Invoking jest directly passes even when there are obsolete snapshots.)
This makes me wonder if this is worth pursuing since most people are invoking jest with npm or yarn anyway. @keeganwitt Is there an example that prompted this that you can share?

Hmm. I thought when I was running yarn that it didn't fail, but looking now, it looks like it is. Maybe I got confused because it appeared to be a warning, and not an error.
If I can find some condition where this wasn't true, I'll re-open, but it appears I'm mistaken here. Thanks for pointing it out.


Build fails on JRuby

Sometimes it passes without issues like here https://travis-ci.org/route/ferrum/builds/587362556
but more often it fails sporadically at any given time https://travis-ci.org/route/ferrum/jobs/585764841 with timeout.
We use concurrent-ruby primitives here like Hash, Ivar, Mvar and some Ruby threads for websocket/driver nothing unusual but I cannot spot the issue...
/cc @headius

Hello, thanks for letting me know about this issue!
The failure is a bit confusing... the spec that fails is "Ferrum::Browser lists the open windows" but it appears that the failure happens downstream from a browser.reset call. The only such call I can see in browser_spec.rb is in a different spec, "Ferrum::Browser clears local storage after reset".
I think the failure is happening in the "before" section here: https://github.com/route/ferrum/blob/master/spec/spec_helper.rb#L55-L59
In that code, I notice a timeout of 5 seconds. If this timeout involves starting a subprocess JRuby instance, there's a chance that slower environments may not start up fast enough. If that's the problem here, then bumping to a larger timeout like 10 seconds should make this more reliable.

Thank you Charles for taking a look I'll try to investigate it further

Related to https://github.com/rubycdp/ferrum/issues/75


Pull down for data has a misspelling for temperature

In the Data: dialog drop down the case of Minimum Temperature, Temperature is misspelled.

Updated in .cfe available in source code folder.  Thanks for the heads up!


Update health method

MeiliSearch will return 200 with { "status": "available" } (in the v0.20.0) that is releasing next Monday 🙂
I tried to update the code accordingly @Mubelotix, tell me if I did something wrong. The Empty error seemed to be there only as a workaround for the 204.

I've added documentation to Health structure. Telle me if it's what you expected @Mubelotix 🙂

When you have time, can you give a last check to this PR @Mubelotix? 😇 I tried to follow your requirements


Is there a way to plot empty points in a line chart?

Hi and thanks for the great library!
I have a line chart that needs to have 168 points (hours in week), but my data isn't always a 168 points long. So i'm filling the x axis with the next value and with points with a null y value.
My problem is that this makes the graph drop to 0. Is there any way to plot empty points?
Thanks!
Uri

To answer my own question:
In commit 320480ce3efaf223f37d68d04dd5e4179a4bd81a (currently on master) the ability was added by setting the point value to empty string.


Nuke module not working on Firefox

There may be more to this, but the only thing I've been able to figure out is that it seems to be broken for me and another guy on Firefox.
I get an unhelpful error in the Console saying "[object Object]" in "sandbox.js (line 304)" - once per comment to remove - and then all it does it show the loading-graphic and count comments in the progress window. No net traffic occurs during this time. It also doesn't go "out of" the progress mode. I.e. when I navigate away from the page it asks me to confirm.
Comments are not removed.

One of the reasons that module is still in beta, there are more issues that need to be resolved before we can upgrade it to stable.

This is a dupe of #430, more or less.

So it is.


lib: fix wording of the overrideScope warning

Motivation for this change
@Ericson2314 the current wording of the overrideScope function is wrong. This fixes it.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Oops! Thanks.

@Ericson2314  we probably also want to cherry-pick this on release-18.09. Shall I do that?


Not sharing angular libraries throws Error: inject() must be called from an injection context

I have a child app wired up through the router:
  {
    path: 'hello',
    loadChildren: () =>
      loadRemoteModule({
        remoteEntry: 'http://localhost:4201/remoteEntry.js',
        remoteName: 'mfe1',
        exposedModule: './HelloModule',
      }).then((m) => m.HelloModule),
  },

If the child app does not the angular libraries in its list of shared libraries it throw the error:
ERROR Error: Uncaught (in promise): Error: inject() must be called from an injection context
injectInjectorOnly@http://localhost:4201/default-src_app_hello_hello_module_ts.js:10890:15
ɵɵinject@http://localhost:4201/default-src_app_hello_hello_module_ts.js:10900:61
RouterModule_Factory@http://localhost:4201/default-src_app_hello_hello_module_ts.js:45267:130
hydrate@http://localhost:5000/node_modules_angular_core___ivy_ngcc___fesm2015_core_js.js:11928:35

The child app works fine on its own but not when consumed through loadRemoteModule.   If I add the Angular libraries to the shared webpack config in the shared libraries it will work.
Any reason why I can't have the child app load its own version of the Angular libraries?
Thanks, Scott.

Unfortunately, Angular does not support this. A solution is to hide the used Angular version (or any other framework version) behind a web component.


Incomplete sync with IMAP-Inbox

I have a somehow strange behaviour since a couple of weeks: The inbox of my imap-mail-account (at 1&1) is not correctly synced any more. With Thunderbird or the 1&1-Webmail, I can see all my mails, but K9 only shows a few. When I get new mails, K9 does not show most of them, only some.
This seems to be limited to the inbox. Other IMAP-folders can be synced and seem to display all mails.
I tried to clean up the inbox-folder ("expunge" with K9 and according operations with thunderbird/webmail client), but no effect.
I use the current version of K9 (v5.006) under Android 5.0 on two different Samsung devices. Is there any more information I should provide that could help?

Please try to record a debug log: https://github.com/k9mail/k-9/wiki/LoggingErrors


"Preparing build directory" step should also (probably) prune remote branches

Sometimes, if I create a branch called foo/bar/baz, where branch foo/bar exists, I cannot push the branch to the remote Github repo. So, because foo/bar on the Github repo isn't used, I delete that branch, run git remote prune origin, and then push my branch. This causes a problem running git fetch on the build box:
  | $ git clean -fdq
  | $ git submodule foreach --recursive git clean -fdq
  | $ git fetch -v origin aaaaaaaaa442166ea29ce572f4cbc6385b5a9266
  | $ git fetch -v origin +refs/heads/\*:refs/remotes/origin/\* +refs/tags/\*:refs/tags/\*
  | remote: Counting objects: 25, done.
  | remote: Compressing objects: 100% (5/5), done.
  | remote: Total 25 (delta 21), reused 24 (delta 20), pack-reused 0
  | Unpacking objects: 100% (25/25), done.
  | error: 'refs/remotes/origin/foo/bar' exists; cannot create 'refs/remotes/origin/foo/bar/baz'
  | From github.com:some/repo
  | ! [new branch]      foo/bar/baz -> origin/foo/bar/baz  (unable to update local ref)

causing all of the subsequent builds to fail.
Because of this, to resolve this issue, maybe the agent should run git remote prune origin shortly after running git clean, to prevent this error from occurring?

Alternatively, git fetch takes a --prune option which could combine those steps.

Closed in #518


fix fix bugs in uncheckedCastChild

Proposed changes

uncheckedCastChild may generate redundant CastExpr like cast( cast(XXX as Date) as Date)
generate DateLiteral to replace cast(IntLiteral as Date)

Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 36.01 seconds
load time: 486 seconds
storage size:<PHONE_NUMBER>5 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230113133311_clickbench_pr_79774.html


additional fields for ingredients identification

Is your feature request related to a problem? Please describe.
to identify more quickly where the ingredients are stored e where they where purchaesd, it would be interesting to add some fields related to internal cataloging
Describe the solution you'd like
Additional fields  in the "Add supplier for xxxx" modali (inside ingredient details) would be useful, such as:

Internal ingredient sku
Supplier product sku
Location/Cabinet/Bookshelf (Useful to know where the products are stored)

All fields should be included in the ingredients json export for further processing. (For example, I use the json to print in batch bottle and cap labels)
Describe alternatives you've considered
none
Additional context
Add any other context or screenshots about the feature request here.

Good suggestion, added in 8.4


which one is the right Discord.jl?

I.e. in this one it says the other one is old, but the other one got newer commits

The other one is basically in maintenance mode, I do not foresee there being any more significant development on it besides tiny bugfixes.
I haven't found the time to flesh out the feature set on this one, but hopefully soon I'll find some motivation.


add 'use strict' statements

http://justbuildsomething.com/node-js-best-practices/#4
https://github.com/mattpat/node-schedule/issues/85

tests still pass, follow best practices, so -- thanks!


Live

Test

Docs Build status updates of commit 00eb6c4:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Test PR


Add minimal example

tRPC code uses the same example as: https://github.com/trpc/trpc/tree/next/examples/minimal
minimal Electron in TypeScript example from: https://github.com/ProfXwing/electron-quick-start-typescript
I wasn't successful  in importing something to the renderer.
Probably some tsconfig mismatches.
Maybe browsers can't import tRPC without a bundler?

I'm going to pick this up. electron-trpc should definitely have a vanilla example. It's also a good place for us to run e2e tests without having to worry about frameworks


Update Sprockets version

Why:

Security vulnerability (CVE-2018-3760).
¯_(ツ)_/¯

Also:

Using github to fetch gems directly from the repository is not safe,
so I changed middleman-es6 to use HTTPS instead.

Not my fault GitHub does not understand one-liners in Git messages :stuck_out_tongue:


Clang-Format

Clang-Format configuration and a related CMake target (#102). The latter is only available if clang-format is found.
The new target makes it easy to format all sources:  use e.g. make clang-format.
To Do

[x] Clang Format config
[ ] Review the formatting settings
[x] Make it easy to use
[x] Reformat code

Not everything is matching the current formatting perfectly. E.g. multiline parameters are formatted a little different, but braces, blocks, indention should be ok (… mostly).
Please let me know what you think or what has to be changed.
Links

https://zed0.co.uk/clang-format-configurator
https://clang.llvm.org/docs/ClangFormatStyleOptions.html

@mattgodbolt I have rebased onto master and added another commit which formats the source code. Please let me know, where it isn't ok.


Installation failed

Error installing: error An unexpected error occurred: "Commit hash required".
Removed yarn.lock and package-lock.json was able to install but we not working.
Can you provide installation documentation as your readme is very basic.

We will review & update the readme documentation accordingly to give more insight and explanation

I have updated the readme, kindly try it out again and give a feedback


Increase the size of the arp-cache for ipv4 and ipv6 for dnsmasq

Still draft?

Still draft? I might have +2ed early then

Was testing to see if it survives reboot. It does, but I have found another issue I want to solve.  It seems something sets net.ipv6.conf.all.disable_ipv6=1 in /etc/sysctl.conf thus preventing net.ipv6.conf.all.disable_ipv6=0 from surviving reboot.  Trying to figure out what dumped that to begin with.


GSF IEF Meeting Agenda 2024-02-15

Time 10:30am (GMT) / 4:00pm (IST) - See the time in your timezone

Lead – @srini1978 (Microsoft)
Co-Lead @navveenb (Accenture)
Co-Lead – @jawache (GSF)
PM - @jmcook1186 (GSF)

Antitrust Policy
Joint Development Foundation meetings may involve participation by industry competitors, and it is the intention of the Joint Development Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws.
If you have questions about these matters, please contact your company counsel or counsel to the Joint Development Foundation, DLA Piper.
Roll Call
Please add 'Attended' to this issue during the meeting to denote attendance.
Any untracked attendees will be added by the GSF team below:
Agenda

[ ] Press Record!
[ ] Refactoring progress
[ ] Hackathon

Attended

Attended

Attended

Attended

Attended

Attended

Attended

@jmcook1186 is there any way to join these as an individual contributor / when my affiliation is just as a one-person company? or else let me know what the best way is to engage/figure out how I can add most value in future? Thanks 🙏

Hi @jawache or @russelltrow I'm not 100% sure what the right answer for @jamescrowley is. Can you give some advice? So far, our interactions with individual contributors is mainly via Github, on the issues or discussions boards.

Closing as complete

Hi - just pinging @jawache and @russelltrow again for advice on @jamescrowley's question above

Hey @jamescrowley so we don't have a way for non members to join our calls or mailing lists, we're exploring some solutions which open the door somewhat but we need to be careful and legally ringfence our standards projects, I'm speaking to various lawyers about some options next couple of weeks.
Saying that you're not missing too much, the overwhelming amount of communication and work in this project happens in the public GH through issues etc... were in a legal safe area as long as all our communications are public and visible to the world and every contribution (code or advice) is tracked in an audit trail like prs, issues etc...
Given the above, what would help you? Seeing our process? Sprints? Ideation? Refinement? Or just a friendly call to get to know people?

@jawache sorry I missed your response, appreciate the note. My main motivation was to understand the wider strategy and hopefully identify which areas that would be particularly impactful for me to invest time. I find typically working with GitHub issues give you the low-level detail but not the big picture context.


Bookmarks in memory view

Bookmarks in memory view. Both on an address and on selection of bytes. (Something like  HexFiend on OSX)

Moved to https://prodbg.phoreplay.com/T31


Documentation only fits for .NET developers

If I'm not a .NET developer, this is not useful

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

ID: bef3a0a2-7cc8-136e-eb8e-a80f4cade7d3
Version Independent ID: 20093c04-76cd-9266-e2f1-96c329da93c1
Content: Get an authentication access token - Power BI
Content Source: powerbi-docs/developer/walkthrough-push-data-get-token.md
Service: powerbi
GitHub Login: @markingmyname
Microsoft Alias: maghan

HI @gregra81 and thanks for your comment. This issue has been assigned to the author who is on vacation until after the holidays. Thank you.

@gregra81 Thank you for your suggestion and request. We're on it. This will be discussed with the parties involved.

@gregra81 We plan to have more samples in other languages in the next few months.  However, there is not an exact ETA.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Async new is not transformed

The following is not transformed:
var foo = new Foo(_);

Fixed.
In callback mode, I just canonicalized new Foo(x, _, y) as __construct(Foo, 1)(x, _, y) where the second arg to __construct is the index of the callback in the args list. Writing __construct was the fun part.
In fibers mode, I just had to add a special rule to the walker so that it does not bark on the _ parameter. The fibers code assumes that the async constructor is a streamlined function.


CommonsChunkPlugin does not work as expected with worker-loader

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

What is the current behavior?
When importing modules in a worker, all module code is included, whether or not other chunks define the module elsewhere, and whether or not CommonsChunkPlugin is used.
If the current behavior is a bug, please provide the steps to reproduce.
There is an example of the current behavior at this repo.

What is the expected behavior?
When using CommonsChunkPlugin, chunks/modules should be imported via importScripts where possible.
If this is a feature request, what is motivation or use case for changing the behavior?
Importing other chunks via importScripts from workers in order to access modules will drastically reduce their size and load time.
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
This issue is for Webpack 2.x.x with worker-loader 0.8.1

CommonsChunkPlugin is only supported in web enviroments (support for JSONP).
It's possible to expand this support, but it's currently not planned.


Updated license

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

requirements: run: numpy >= 1.17, <2 should not contain a space between relational operator and the version, i.e. numpy >=1.17,<2

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


[Go Function API] Need Prometheus support and statistics for Go functions

Go Functions API currently does not support Prometheus metrics. Because Pulsar is using Prometheus for providing statistics and related information, Go functions are also missing this crucial information. The missing statistics and Prometheus support are preventing Go functions from being production-ready. This feature must be added to make Go functions more production-ready and to provide visibility into operational health.

Thanks @devinbost for open this issue. This would be a good issue for beginner. mark it as help-wanted. Contributing to this issue is very welcome and very appreciated.

@jiazhai This issue is fixed with PR #6105

BTW, @jiazhai the change turned out to be a lot more complex than anticipated because the Prometheus developers changed the way their framework can be used in the Go client library.
So, it wasn't a clean copy of the Python/Java approaches we took for adding statistics and Prometheus data. I needed to take an entirely different approach, based on the guidance from the Prometheus maintainers.
There's a link to a discussion with more detail in that PR if you're interested.


Contour plot doesn't render if there are too many contour levels

Environment data

VS Code version: 1.57.0-insider
Jupyter Extension version (available under the Extensions sidebar): 2021.6.880641647
Python Extension version (available under the Extensions sidebar): 2021.6.864643163-dev
OS (Windows | Mac | Linux distro) and version: Win10 20H2
Python and/or Anaconda version: python 3.8.5, conda 4.10.1
Type of virtual environment used: conda
Jupyter server running: Local

Expected behaviour
Correctly render a matplotlib contour plot
Actual behaviour
No output at all
feels like if there is too much stuff to draw it doesn't render? - Works fine in the 'normal' vs-code
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Create new .ipynb notebook
Add following code to first cell

from matplotlib import pyplot as plt
import numpy as np

x = np.arange(1, 10)
y = x.reshape(-1, 1)
h = x * y

n = 99 # >98 results in no plot being displayed

fig, ax = plt.subplots()
cs = ax.contour(h, levels = n, linewidths = 0.5, colors = 'k')
cs = ax.contourf(h, levels = n)

Set n to 99 or more and run the cell (your value of n may vary) - if I don't include the filled contours (ax.contourf()) then I can increase n to a higher value before it breaks

Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

Info 2021-05-27 14:54:27: Execute Cells request 1 0
Info 2021-05-27 14:54:27: Execute Cell 0 file:///c.../test.ipynb
Info 2021-05-27 14:54:27: Cell Index:0, state:1, exec: 19. User queued cell for execution
Info 2021-05-27 14:54:27: Cell Index:0, state:1, exec: 19. Ready to execute
Info 2021-05-27 14:54:27: Cell Index:0, state:1, exec: 19. Before Execute individual cell
Info 2021-05-27 14:54:27: Cell Index:0, state:1, exec: 19. Start execution
Info 2021-05-27 14:54:27: Cell Index:0, state:3, exec: undefined. Send code for execution
Info 2021-05-27 14:54:27: Cell Index:0, state:3, exec: undefined. Wait for jupyter execution
Info 2021-05-27 14:54:27: Widget Coordinator sent IPyWidgets_mirror_execute
Info 2021-05-27 14:54:27: Posting message to Notebook UI
Info 2021-05-27 14:54:27: Widget Coordinator sent IPyWidgets_msg
Info 2021-05-27 14:54:27: Posting message to Notebook UI
Info 2021-05-27 14:54:27: Widget Coordinator sent IPyWidgets_msg
Info 2021-05-27 14:54:27: Posting message to Notebook UI
Info 2021-05-27 14:54:27: Cell Index:0, state:3, exec: undefined. Kernel switching to busy
Info 2021-05-27 14:54:27: Notebook Session status file:///c.../test.ipynb # Busy
Info 2021-05-27 14:54:27: Widget Coordinator received IPyWidgets_msg_received
Info 2021-05-27 14:54:27: Widget Coordinator received IPyWidgets_msg_received
Info 2021-05-27 14:54:27: Widget Coordinator received IPyWidgets_iopub_msg_handled
Info 2021-05-27 14:54:27: Widget Coordinator received IPyWidgets_msg_received
Info 2021-05-27 14:54:27: Widget Coordinator received IPyWidgets_iopub_msg_handled
Info 2021-05-27 14:54:28: Widget Coordinator sent IPyWidgets_msg
Info 2021-05-27 14:54:28: Posting message to Notebook UI
Info 2021-05-27 14:54:28: Cell Index:0, state:3, exec: 1.  Kernel switching to idle
Info 2021-05-27 14:54:28: Notebook Session status file:///c.../test.ipynb # Idle
Info 2021-05-27 14:54:28: Cell Index:0, state:3, exec: 1. Jupyter execution completed
Info 2021-05-27 14:54:28: Cell Index:0, state:3, exec: 1. Completed successfully
Info 2021-05-27 14:54:28: Cell Index:0, state:3, exec: 1. Completed successfully & resolving
Info 2021-05-27 14:54:28: Cell Index:0, state:3, exec: 1. After Execute individual cell 3
Info 2021-05-27 14:54:28: Cell Index:0, state:3, exec: 1. Executed successfully in executeCell
Info 2021-05-27 14:54:28: Cell Index:0, state:3, exec: 1. Execution disposed
Info 2021-05-27 14:54:29: Trusting notebook...

If I select the ellipses on the empty output and change the output mime type;
from: image/png: Jupyter Notebook Renderer (ms-toolsas.jupyter)
to: image/png: built-in
, then I see the output

Can you try upgrading your Jupyter extension? We've had a couple of bugs related to this in the last couple of days that should be fixed now.

same problem with updated Jupyter Extension version: 2021.6.881596855


nitter.net timing out in built-in browser

In the last few days, in the layers iOS is/app, nitter.net links will time out in the built-in browser. They open just fine in Safari, tapping the bottom-right button in NetNewsWire.
I don’t see this happen for other sites.

It’s probably checking User-Agent or something like that. It opens fine for me in Safari, but when I try curl on the command line I get a 404. There’s nothing we can do about that. (You could report it as a bug to the nitter.net folks.)
% curl -I 'https://nitter.net'
HTTP/2 404
server: nginx/1.22.0
date: Fri, 01 Jul 2022 23:18:42 GMT
content-type: text/html;charset=utf-8
content-length: 3108
strict-transport-security: max-age=31536000; includeSubDomains; preload


KAFKA-16895: fix off-by-one bug in RemoteCopyLagSegments

Avoid taking the active segment into account in RemoteCopyLagSegment metric.

@dopuskh3
Any updates on this?

@dopuskh3
Any updates on this?

Should be able to give it a try tomorrow. Pulling the fix on our internal branch right now.

@kamalcph updated test case. PTAL

Updated tests according feedback @kamalcph PTAL

Test failures are unrelated. The failed test is an existing flaky one:
testCorrectnessForCacheAndIndexFilesWhenResizeCache() – kafka.log.remote.RemoteIndexCacheTest

@dopuskh3 could you please fix the conflicts?

@chia7712 fixed conflict.

@dopuskh3 thanks for you contribution and @kamalcph thanks for your great reviews


Use timeouts: Android Edge speechSynthesis.speak() could get stuck in speaking

I don't have a demo, but I can create one based on this revision https://github.com/Falcosc/PSVR2-Twitch/tree/b07c03296f8073309820d2554e1ec71cdf33caa2
It took around 30 minutes of repeating a text every minute. I can't give more detailed information about how to reproduce. But you can download this revision, open index.html and connect to twitch and click start.
I don't know if it is related to fetch requests or if it happens without them too.
What happens?

speak does not trigger execute SpeechSynthesisUtterance onEnd
if you execute speak again, it does not start, it goes into pending
result is SpeechSynthesis state pending=true and speaking=true

Workaround:

execute speechSynthesis.cancel() and take care about your pending SpeechSynthesisUtterance objects
use a timeout like setTimout promise in a Promise.race

Maybe it is already handled in EasySpeech, they do an speechSynthesis.pause() and speechSynthesis.resume() from time to time. But maybe it is not, so make sure to guard your speak requests with timeouts if you deal with a known amount of text.

The test was done with an empty chat room, so there were no parallel speak requests, no speechSynthesis status checks. Basically best case scenario, no interaction with speechSynthesis at all. Just sending a new text every minute.
Sometimes it took more than 30 min. So difficult to say which edge versions are effected since I don't do such long test sessions in my current project phase.


Orientation of holes and boundaries

I am trying to get this library running on a Teensy 4.1. I primarily need the polygon offset feature. I am having some success, but the orientation of holes and boundaries, which is supposed to be anticlockwise and clockwise, if I am correct, is not consistent when performing the offset. I am wondering what I can do to debug this issue.

I was able to get more consistent results after removing a bug in a part of the code that I wrote myself. They were still not oriented correctly though (anticlockwise boundaries and clockwise holes). I will keep searching.


Add the git resource ref to the ResourceResult for git resources.

Changes
This includes the full name of the git resource in the resource result for
git resources. We pass this along in the environment variable already, this
includes it back in the resource result so we can tie the commit sha and
branch name in the result.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[X] Includes tests (if functionality changed/added)
[X] Includes docs (if user facing)
[X] Commit messages follow commit message best practices

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
The `git` PipelineResource now includes the resourceRef in the `resourcesResult` section. For example:

    "resourcesResult": [
      {
        "key": "commit",
        "value": "6ed7aad5e8a36052ee5f6079fc91368e362121f7",
        "resourceRef": {
           "name": "my-resource"
        }
      },

Could you add a bit of explanation around the intended purpose?  Is it related to a specific bug or feature request?

Could you add a bit of explanation around the intended purpose? Is it related to a specific bug or feature request?

Added some more to the commit message. I think this was something just overlooked, so halfway between a feature request and a bug.

/test pull-tekton-pipeline-integration-tests


feat: enable metrics collection on docker compose example vec-409

@hev I added metrics collection to the other compose files and centralized its config in the .internal directory. I tested these changes locally, each worked and metrics were visible on prometheus.

I think we need to do some kind of disclosure here. Something like the following.

This repo contains examples that collects basic usage data about the product including network information. You can opt out of this by disabling Prometheus in any of the install instructions.

I added disclosures to the readme files

Tested locally after Joe reverted the service rename. docker, quote search, and prism search compose files all worked for me.

I'm going to do a little more testing tomorrow to make sure metrics are showing up in our monitoring stack still, then will merge this

No longer moving forward on this.


Implement Customized Roles

The IWS allows that Roles can be customized, however - this feature has not yet been implemented. The task is simply to ensure that it is.
Note that some permissions will be flagged as a non-assignable, meaning that these are reserved for predefined roles.

As there is no API changes pending, and since the functionality is not urgent - it is moved to the 1.2.1 milestone.

Closing this Issue for now - rather than trying to remove IAESTE from the core of this Project, a new one will instead be created.


Add CoSE layout for comparison to the demo

Being able to check and compare CoSE layout with this one in an animated manner could be useful.

Added cose-bilkent for demo. The animation uses only the ticks per frame option.

Nice. Let's rearrange and style the buttons as follows. Change the labels of buttons and order of buttons as follows (keeping current labels as tooltips)
o "Load and Layout Sample" -> "Load Sample"
o "Load Graph from File" -> "Load"
o "Add Selected to Hierarchy and Re-Layout" -> "Add to Hierarchy"
o "Re-Layout" -> "HySE"
o "Run Animated Layout" -> "HySE Animated"
o "Tick Delay"
o "Ticks per frame" -> "Ticks Per Frame"
o "Run Cose" -> "CoSE"
o "Run Cose Animated" -> "CoSE Animated"

Nice but we're missing the tooltips (old labels should have stayed as tooltips).

Do we want to remove the delete selected button?

Do we want to remove the delete selected button?

No actually, I must have missed it. Let's keep it before "HySE" button.


Using a Dynamic Imaging Service

Hello!  First off, thank you for this library.  It's amazing!
I'm working through including this library onto our site, and was wondering if there was a way to dynamically modify the data-srcset attribute based on the parent's container dimensions?   Reasons being is that we're using a dynamic imaging service that dynamically scales images based on some supplied query parameters.
Reading through the documentation, it seems like I need to use data-sizes="auto", but wasn't sure if this is the appropriate  place to handle this sort of logic?
Thanks for all the help,
Andrew

Yeah, we have already a plugin to integrate such services: https://github.com/aFarkas/lazysizes/tree/gh-pages/plugins/rias
For doing a simple integration yourself you basically only need to generate mutliple different urls to your service. And let the browser decide which image candidate to take. For this you don't need to hook into lazybeforesizes, only hooking into lazybeforeunveil can do the trick. But of course data-sizes="auto" is quite convenient.
The data-sizes="auto" feature always takes the layout width of the image itself so you should write your CSS accordingly. But of course if you can't you can additionally hook into the lazybeforesizes and proxy the width of your parent element or for example take things like max-width/min-width into account.
In case you use object-fit in combination with data-sizes="auto" use the parent-fit plugin (which also has a feature to not use the image dimension but the dimension from an ancestor element.)
Please close if this helps.

Thank you for the help!  This is exactly what im looking for


inline always inlines constants

The docstring and shallow review of the code imply that this is only desired as a default when no keys are given.  This doesn't seem to be current behavior.
Here is a failing test.
def test_inline_doesnt_always_collapse_constants():
    d = {'a': 1, 'b': (inc, 'a'), 'c': (inc, 'b'), 'd': (add, 'a', 'c')}
    assert inline(d, ['b', 'c']) == {'a': 1, 'd': (add, 1, (inc, (inc, 1)))}

Another thought, I wonder if we might want to specify inlining constants separately from the keys=None case.  We might want to both inline constants and certain keys.  Perhaps a keyword argument?

I'm sorry, that's clearly an incorrect test.  One moment while I figure out if what I thought was an error was actually an error.

Nope.  I was just being dumb.  Closing.
I do think it might make sense to make constant inlining a keyword argument though.


error TS2304: Cannot find name 'ObservableArray'.

Just been trying to setup the search functionality defined on this tutorial page however once I get the code in I keep getting the error message: error TS2304: Cannot find name 'ObservableArray'.
https://docs.nativescript.org/angular/ui/ng-ui-widgets/search-bar

Hi @marklanhamhc,
Make sure that you have import the ObservableArray module as it is shown here.

Ok great, thanks!


🐛 [firebase_analytics] Import firebase_analytics broke screen recorder lib

Bug report
Describe the bug
I got a weird issue when using this package(ed_screen_recorder).
In this repo:
https://github.com/arctouch-rafaelnagai/screen_record_issue
I implemented a simple project only using ed_screen_recorder and path_provider.
The project is working, but when I import the firebase_analytics to the project, the stopRecord method from ed_screen_recorder stops working.
I don't need to initialize the Firebase, if I just import in the pubspec file the method break.
it didn't give any error, log, or exception.
this method just stops working.
This behavior happens only in Android platform, and probably is something related to HBRecorder and how is working behind of scenes.
Steps to reproduce
Steps to reproduce the behavior:

Tap on the floating button with a play icon
wait 5 seconds
after that it should push to another page, but if you import firebase_analytics, it doesn't happen.

Expected behavior
Should record the screen and move to the next page where the file was recorded.
Sample project
https://github.com/arctouch-rafaelnagai/screen_record_issue

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[!] Flutter (Channel stable, 3.10.6, on macOS 13.4.1 22F770820d darwin-x64,
    locale en-BR)
    ! Warning: `dart` on your path resolves to
      /usr/local/Cellar/dart/2.18.6/libexec/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/rafaelnagai/Documents/flutter.
      Consider adding /Users/rafaelnagai/Documents/flutter/bin to the front of
      your path.
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.71.2)
[✓] VS Code (version 1.63.0)
[✓] Connected device (2 available)
[✓] Network resources

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
- async 2.11.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- characters 1.3.0
- clock 1.1.1
- collection 1.17.1
- crypto 3.0.3 [typed_data]
- fake_async 1.3.1 [clock collection]
- ffi 2.1.0
- js 0.6.7 [meta]
- lints 2.1.1
- matcher 0.12.15 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.2.0
- meta 1.9.1
- path 1.8.3
- path_provider_android 2.1.0 [flutter path_provider_platform_interface]
- path_provider_foundation 2.3.0 [flutter path_provider_platform_interface]
- path_provider_linux 2.2.0 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.1.0 [flutter platform plugin_platform_interface]
- path_provider_windows 2.2.0 [ffi flutter path path_provider_platform_interface win32]
- platform 3.1.0
- plugin_platform_interface 2.1.5 [meta]
- sky_engine 0.0.99
- source_span 1.9.1 [collection path term_glyph]
- stack_trace 1.11.0 [path]
- stream_channel 2.1.1 [async]
- string_scanner 1.2.0 [source_span]
- term_glyph 1.2.1
- test_api 0.5.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.2 [collection]
- uuid 3.0.7 [crypto]
- vector_math 2.1.4
- win32 5.0.6 [ffi]
- xdg_directories 1.0.2 [meta path]

@arctouch-rafaelnagai
Since you are using a third party package, can you check if it internally calls or triggers a conflicting method or a key which could be similar to analytics and hence it might be giving you the behavior you reported ?
The community package you are using could be triggering a method or call or any implementation which could be conflicting with analytics that you need to confirm and see if it helps further in your case or not.

Hey @darshankawar
I debugged the lib and discovery something interesting...
what's happening...
In this lib ed_screen_recorder
it implements the HBRecorderListener, to use the HBRecorderOnComplete() method
but when I implement firebase_analytics in my project, the HBRecorderOnComplete() method is called before I call the stopRecord Method.
Apparently, all the problem is in the ScreenRecordService.java from HBRecorder, but unfortunately, it goes beyond my knowledge about Java rs
probably it is conflicting with the same listener

Thanks for the update. As predicted, it looks like a conflict between the community package so I suggest you to open the issue in dedicated repo: https://github.com/endmr11/ed_screen_recorder/issues as you mentioned that the issue could be coming from ScreenRecordService.java from HBRecorder.
Closing from here, as this isn't causing due to firebase_analytics plugin. If you disagree, write in comments and I'll reopen it.


Collaborate with existing ongoing efforts :)

Hi, your goals seem aligned with mine, I would very much love to collaborate, I want to make a minimal system, Unix-y and suckless, but with an interface that doesn't like dogshit, window managers aren't that appealing to me, and I think we could collaborate.
I'm willing to develop GUI programs in Go for this project :)
You can contact me at: https://discord.gg/AgUb9BpwpJ
:)

Hi, your goals seem aligned with mine, I would very much love to collaborate, I want to make a minimal system, Unix-y and suckless, but with an interface that doesn't like dogshit, window managers aren't that appealing to me, and I think we could collaborate.

I agree that our goals seem quite aligned! Currently, most of our effort is directed toward our application format (IcePak), but once we have IcePak, a WM, a topbar, and a dock, we would love your help with GUI apps! For GUI apps, dalixOS will strive to follow the Apple Human Interface guidlines, and the principles of UI design. https://asktog.com/atc/principles-of-interaction-design/
So unfortunately, it will be a while until we are ready for GUI apps, but we would love your help when we are ready!.


Identify reproducible test issues

Identify reproducible test issues
Add link to documentation

Issue: https://progress.opensuse.org/issues/132272
Screenshot:

I tested it locally and added a screenshot


Peer review-notes only

Great project guys! I was unable to load the data in (possibly too large for my computer?) but I was able to follow your code and use the HTML in an effort to still provide a good review for you all so I will simply make comments for you here. Your plot 1 was super cool to see, I like that you include all states and the breakdown. I am not sure how it would look but a suggestion I have is to maybe use the scale_x_log10 for your x axis and see how that may look with your data. Would also be nice to see some different color I think either a fill or a color would be great, nothing crazy just something to switch it up from the normal color! Your plot 2 is incredibly cool I love that you used the bar charts of states in the shape of the US. I wonder if that plot would benefit with using a key to show what each color represents instead of having it off to the side on some of them, just a suggestion! I really like the use of color for plot 3 I thought it was very well done. Could use some unique descriptions (title, axes, subtitle, etc) but otherwise overall very cool. The first plot with the faceted maps may be a bit hard to see since its white on a few of them so it just kind of fades out and blends in, maybe use a different color scale for that one, I like the other colors a lot though. I like the different colors you used on each plot for research questions 2a and 2b. It might be more appealing to the eye to have each plot reordered so that it went from most to least instead of by state name. You could try to incorporate some sort of gganimate in your geom_points for fun to see if you could hover over the name of the state and have a value show up! The textbook spending plot with blue and red colors is super cool I like that one a lot! Very well done and easy to interpret what each piece of that plot represents. If you can get that oregon district plot ran that would be a really awesome inclusion as well. I think this project was super cool and well thought out. You did a good job at including a lot of different types of visuals and it was very creative. Can't wait to see the final project! @datalorax

Really nice review, Mandi!