TextPainter behavior no longer matches Text behavior, when useMaterial3 is true

Steps to reproduce
i wrote myself a function, textPainterFromText(), which just copies all the data and parameters from a Text widget, and uses them to create a TextPainter. the purpose is so that i can know ahead of time how large a Text object will be, in pixels, once it is added to a widget tree. this worked fine for many years. but if a Flutter app has a ThemeData with useMaterial3 set to true, then the sizing data reported by TextPainter is no longer correct.
i created a demo app that demonstrates this behavior, and the differences i see, when useMaterial3 is set to true or false. you can find that demo here. it includes screen-shots and the steps to take to reproduce the behavior i am seeing.
Expected results
my hope is that the pre-material3 behavior would be restored, and the size reported by TextPainter would once again exactly match the size behavior of Text widgets. if that is not possible, perhaps someone could suggest a workaround.
Actual results
the size reported by TextPainter objects does not match Text widgets, if useMaterial3 is true.
Code sample
Code sample
https://github.com/allenbrunson/text_painter_demo

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.16.5, on macOS 14.2.1 23C71 darwin-arm64, locale en-US)
    • Flutter version 3.16.5 on channel stable at /Users/allen/local/dart/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (3 weeks ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/allen/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/allen/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/allen/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.14.3

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

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

[✓] Connected device (3 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 14 (API 34) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 120.0.6099.199

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hello @allenbrunson.
Thanks for filing this. I can reproduce this on the latest master and stable channels. Not certain if this is the expected behaviour or not though, I'll be labelling this for more insights.

useMaterial3: true
useMaterial3: false

stable, master flutter doctor -v

[!] Flutter (Channel stable, 3.16.5, on macOS 14.2.1 23C71 darwin-arm64, locale
    en-NG)
    • Flutter version 3.16.5 on channel stable at
      /Users/damilolaalimi/sdks/flutter
    ! Warning: `dart` on your path resolves to
      /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/damilolaalimi/sdks/flutter.
      Consider adding /Users/damilolaalimi/sdks/flutter/bin to the front of your
      path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (3 weeks ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2022.2)
    • 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
      17.0.6+0-17.0.6b802.4-9586694)

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio
      Preview.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 determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build
      17.0.7+0-17.0.7b1000.6-10550314)

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

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        •
      android-arm64  • Android 14 (API 34) (emulator)
    • Damilola’s iPhone (mobile)  • 00008110-001964480AE1801E            • ios
      • iOS 17.1.1 21B91
    • iPhone 15 (mobile)          • F17D2919-6D61-4295-8408-1719692FE958 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)             • macos                                •
      darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                • chrome                               •
      web-javascript • Google Chrome 120.0.6099.199

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

[!] Flutter (Channel master, 3.18.0-19.0.pre.122, on macOS 14.2.1 23C71 darwin-arm64, locale en-NG)
    • Flutter version 3.18.0-19.0.pre.122 on channel master at /Users/damilolaalimi/fvm/versions/master
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/damilolaalimi/fvm/versions/master. Consider adding /Users/damilolaalimi/fvm/versions/master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f7f437ce2a (3 hours ago), 2024-01-09 11:05:06 +0200
    • Engine revision 820645dbcc
    • Dart version 3.4.0 (build 3.4.0-4.0.dev)
    • DevTools version 2.31.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2022.2)
    • 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 17.0.6+0-17.0.6b802.4-9586694)

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio Preview.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 determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

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

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (4 available)
    • Damilola’s iPhone (mobile) • 00008110-001964480AE1801E            • ios            • iOS 17.1.1 21B91
    • iPhone 15 (mobile)         • F17D2919-6D61-4295-8408-1719692FE958 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 120.0.6099.199

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

This app appears to be configuring the TextPainter by extracting the style attribute from a Text widget.
That style may be inheriting properties from the DefaultTextStyle that is currently in scope.  The Text widget's style will need to be merged with the DefaultTextStyle style to create a style that will match the Text when used in a TextPainter.
Some of the Material 3 theme styles specify properties like letterSpacing and height.  If these properties are not merged into the style given to the TextPainter, then the size computed by the TextPainter will differ from the Text.

okay, that points me in the right direction! but i spent several hours trying to implement a change like this, without success.
i see that i can call DefaultTextStyle.of() to get the object that is in scope. but, what do i do with it? am i applying this to the style that i get out of the Text object? i don't see how. i can see a DefaultTextStyle.merge() that i could call, but that returns a Widget, not a new TextStyle.
or am i supposed to apply the DefaultTextStyle to the Text object as i am putting it into the widget tree? based on your description, it sounds like that is already being done automatically. so that doesn't sound right.
so, what next?

TextStyle.merge can be used to combine the default text style and the Text widget's style.
See https://api.flutter.dev/flutter/painting/TextStyle/merge.html

okay, i tried the suggested fix. i would summarize my changes like this:

modify textPainterFromText() to take a BuildContext as an input parameter
use that BuildContext to get the DefaultTextStyle in scope
merge the Text object's TextStyle with DefaultTextStyle.style

alas, it did not work. i tried doing the merge both ways: Text's TextStyle merged with the one from DefaultTextStyle, and vice versa. both ways produced different sets of numbers, and both were wrong. (heh)
but! that got me to thinking. this confirms for me that, as i suspected, Text and TextPainter are now getting their defaults from different places. so, how about this: every TextStyle i create will have enough of their parameters filled in so that the defaults no longer matter.
that, i am happy to say, did work. specifically, any TextStyle without height and letterSpacing parameters will have them set to 1.0 and 0.0, respectively. (other local defaults will likely also work.)
yeah, i might have to update this list in the future, if you guys decide to change the defaults. this feature is important enough to me that i am happy to do so.
i updated my demo app so that it contains both attempted fixes. they are both turned off by default. that link again, in case you forgot: text_painter_demo
and i am working on a blog post, attempting to justify why i need this. i will put it here now, in case this issue gets closed to further comments: Text versus TextPainter
i am not going to close this issue, because as far as i am concerned, this is very much a bug. Text and TextPainter used to be equivalent. now they are not. it violates the principle of least surprise. i couldn't find the issue stated exactly this way when i searched the bug database, but i am pretty sure that i am far from the only guy who has been bitten by this.
if it's the maintainers' position that this is not a bug, then i guess you guys should close it, as "won't fix."

the purpose is so that i can know ahead of time how large a Text object will be, in pixels,

By "ahead of time" do you mean the width/height of the text needs to determined before the Text widget's render object (RenderParagraph) actually lays out the text? I'm interested in what your use case is. If that is not the case, RenderParagraph.size roughly reflects the size of the paragraph.

whoops, sorry, i missed this somehow.
my use case is using brute-force pixel-counting to do layouts. yes, i know that there are better ways for almost all situations, like putting children into a Row or Column with weighted flex values, and so on. i can't always make that work, for some of my more complicated layouts. in particular, not knowing how tall a multi-line Text object will be is a killer. so i put my Text objects inside TextPainter objects to get their size, so i am better able to make intelligent layout decisions.

Trying to replicate the Text widget's internal text theming / layout logic is not recommended as that subjects to future changes, and it can get complicated very fast. If you want another widget to be as tall as a Text widget, as you said, generally a multi child container widget would be the preferred solution. What depends on the height of the Text widget in your UI?

I ran into a related issue this morning with this widget:
import 'package:flutter/material.dart';

/// Wraps a [textSpan] in a [Tooltip], but only if the text would overflow.
///
/// Creates a [Text.rich] widget with [textSpan], and passes in the other
/// [Text] arguments as-is. If the [Text.rich] widget cannot be contained in
/// the constraints without overflowing, then it's wrapped in a [Tooltip] with
/// a corresponding [message].
class OverflowTextTooltip extends StatelessWidget {
  /// The styled Text, likely a [TextSpan].
  final InlineSpan textSpan;

  /// The tooltip message to show. The full text of [textSpan].
  final String message;

  final int? maxLines;
  final TextAlign textAlign;
  final TextOverflow? overflow;

  const OverflowTextTooltip({
    super.key,
    required this.textSpan,
    required this.message,
    this.maxLines,
    this.textAlign = TextAlign.start,
    this.overflow,
  });

  @override
  Widget build(BuildContext context) {
    return LayoutBuilder(
      builder: (context, constraints) {
        final painter = TextPainter(
          text: textSpan,
          textAlign: textAlign,
          maxLines: maxLines,
          textDirection: Directionality.of(context),
          textScaler: MediaQuery.of(context).textScaler,
        )..layout(maxWidth: constraints.maxWidth);

        // TODO: UNRELIABLE
        if (painter.didExceedMaxLines) {
          return Tooltip(
            message: message,
            child: Text.rich(
              textSpan,
              maxLines: maxLines,
              textAlign: textAlign,
              overflow: overflow,
            ),
          );
        } else {
          return Text.rich(
            textSpan,
            maxLines: maxLines,
            textAlign: textAlign,
            overflow: overflow,
          );
        }
      },
    );
  }
}

didExceedMaxLines turns out to be unreliable - TextPainter thinks not everything fits, but when laid out on the screen, it all fits fine. (At least on iOS with the 24 point font we're using). In researching this bug, I would find that TextPainter says the text is 355px wide, but it would safely render in a 343px space, so about 12px off (3%).

yep, pretty sure you are just re-stating the same problem i've got. in case you missed it, the workaround i developed is to always supply enough filled-in fields in my TextStyle objects so that the defaults don't matter anymore.

I think the TextPainter metrics are reliable (the Text widget uses it to lay out and paint text), it's just that you're using different input parameters than Text. Consider using a multi-child widget / get the text metrics from Text directly, or file a feature request if these two options don't work for you.

I ran into a related issue this morning with this widget which we created to add tooltips to text if it overflows, particularly for users with high text scaling:
import 'package:flutter/material.dart';

/// Wraps a [textSpan] in a [Tooltip], but only if the text would overflow.
///
/// Creates a [Text.rich] widget with [textSpan], and passes in the other
/// [Text] arguments as-is. If the [Text.rich] widget cannot be contained in
/// the constraints without overflowing, then it's wrapped in a [Tooltip] with
/// a corresponding [message].
class OverflowTextTooltip extends StatelessWidget {
  /// The styled Text, likely a [TextSpan].
  final InlineSpan textSpan;

  /// The tooltip message to show. The full text of [textSpan].
  final String message;

  final int? maxLines;
  final TextAlign textAlign;
  final TextOverflow? overflow;

  const OverflowTextTooltip({
    super.key,
    required this.textSpan,
    required this.message,
    this.maxLines,
    this.textAlign = TextAlign.start,
    this.overflow,
  });

  @override
  Widget build(BuildContext context) {
    return LayoutBuilder(
      builder: (context, constraints) {
        final painter = TextPainter(
          text: textSpan,
          textAlign: textAlign,
          maxLines: maxLines,
          textDirection: Directionality.of(context),
          textScaler: MediaQuery.of(context).textScaler,
        )..layout(maxWidth: constraints.maxWidth);

        // TODO: UNRELIABLE
        if (painter.didExceedMaxLines) {
          return Tooltip(
            message: message,
            child: Text.rich(
              textSpan,
              maxLines: maxLines,
              textAlign: textAlign,
              overflow: overflow,
            ),
          );
        } else {
          return Text.rich(
            textSpan,
            maxLines: maxLines,
            textAlign: textAlign,
            overflow: overflow,
          );
        }
      },
    );
  }
}

didExceedMaxLines turns out to be unreliable - TextPainter thinks not everything fits, but when laid out on the screen, it all fits fine. (At least on iOS with the 24 point font we're using). In researching this bug, I would find that TextPainter says the text is 355px wide, but it would safely render in a 343px space, so about 12px off (3%).

I can't think of a good solution other than writing your own RenderParagraph which is a lot of work. Could you create a feature request for this?


HTTP/400 Errors if the API Token contains a newline

Ran into an issue where I am decrypting an [AWS encrypted] Okta API token that ended with a newline.
Normally, you would not include a newline on the token, but because of the tools I was using it inserted an extra \n. It was non-obvious as the inputs to my app were encrypted.
Some deeper urllib3 debug logging helped
When requests module constructed the POST, it contained the SSWS token value with the extra \n, which is not a valid HTTP request.
The Apache front end webserver at okta rejects the malformed request, and returns some standard apache HTML error page.
The okta-sdk library never expects HTML payloads in the response, and throws a JSON parsing exception.
(The request is not reaching the Okta application servers where JSON can be returned in the response. It is being dropped as a HTTP/400 by the Apache service fronting the application servers).
For defensiveness, I am suggesting the module handles non-HTML responses gracefully, and/or strips any whitespace/newlines from the user specified token.
I have since reencrypted the token without the extra newline, and everything works, but in case someone else has this problem the module could handle this edge case.

I am going to close this Issue as stale. We have recently released a 1.x version of this SDK and believe this is now resolved.
If you find that you are still having an issue, please let us know if you are still having this issue.


Check Table 26

Just quickly noting for now that the R0 values seem incorrect for at least the 2021 base model, perhaps other values are incorrect too.

Hadn't noticed this issue, but yes. I fixed the B0 problem, but R0 for 2020 disagrees with last year's reported median of 2,505. And exploitation fraction corresponding to SPR is 25.2% instead of 18.3%, and the 2021 value is 12.6% (exactly half of the value it shows for 2020).
I thought it was an .rds issue but it isn't, Chris said he'd look into it.


sysfs goes into readonly mode with host networking

When I run any docker image with host networking enabled, sysfs enters readonly mode.
# before
$ cat /proc/mounts  | grep sysfs
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
$ docker run -it --rm --net=host ubuntu:12.04 echo "Hello World!"
Hello World!
# after
$ cat /proc/mounts  | grep sysfs
sysfs /sys sysfs ro,nosuid,nodev,noexec,relatime 0 0

I have to manually remount /sys to make it writable again mount -o remount,rw /sys
$ docker version
Client version: 1.1.1
Client API version: 1.13
Go version (client): go1.2.1
Git commit (client): bd609d2
Server version: 1.1.1
Server API version: 1.13
Go version (server): go1.2.1
Git commit (server): bd609d2

$ docker info
Containers: 7
Images: 247
Storage Driver: aufs
 Root Dir: /media/vbox/docker/graphs/aufs
 Dirs: 262
Execution Driver: native-0.2
Kernel Version: 3.13.0-32-generic
WARNING: No swap limit support

I recently ran into an issue where /sys was mounted ro and I could no longer perform raid checks like so against a  mdadm RAID on the docker host:
$ echo 'check' > /sys/block/md127/md/sync_action
-bash: /sys/block/md127/md/sync_action: Read-only file system

Remounting /sys as rw allows the above check to run cleanly. Is my understanding correct that /sys is always mounted ro on hosts with docker?

Hi there - still seeing exactly this problem in docker 1.4.1 - can anybody please tell me when in which release the fix appears?
(https://github.com/crosbymichael/libcontainer/commit/0dcae82acb27b2c81ac878a7340b0f998a97a178)

@crosbymichael possible regression? (haven't tested)
@sammysammy Looking at the changes in that commit (the addition of sysReadonly at various places, this got into 1.2.0

Have noticed it makes a difference if put "other_args="--exec-driver=lxc”" in /etc/sysconfig/docker.  Have also noticed it occurs with centos 6.5 minimal install but not with centos 6.5 full install (desktop etc)

@crosbymichael @thaJeztah also seem to be able to avoid the issue if we start the container in privileged mode

Has the same issue with unprivileged containers on v1.2, privileged ones are unaffected. Network mode is set to "bridge"
# docker version
Client version: 1.2.0
Client API version: 1.14
Go version (client): go1.3.3
Git commit (client): fa7b24f/1.2.0
OS/Arch (client): linux/amd64
Server version: 1.2.0
Server API version: 1.14
Go version (server): go1.3.3
Git commit (server): fa7b24f/1.2.0

@ma-tty @crosbymichael @thaJeztah that's interesting as apparently this was fixed in 1.2.0 - so perhaps not a regression issue - but maybe only fixed for privileged??

@sammysammy could well be, I haven't run into this issue myself, but maybe @crosbymichael knows more about it.

Exactly same issue, sysfs goes read-only after firing first docker container.

Experience same issue on docker 1.3.2 and RHEL 6.5.
sysfs goes readonly on running unprivileged containers
@thaJeztah should this be reopened? Or a new issue started?

@ifourmanov

Experience same issue on docker 1.3.2 and RHEL 6.5.

Well, that's quite an old version of docker, so if something needs to be fixed in Docker, that won't be backported to 1.3.x (it's possibly fixed already in a recent version).
There's still the possibility this is a kernel issue, always make sure your system is fully up-to-date (RHEL 6.6 has also been released).
If possible, try if you're still able to reproduce this issue on a fully updated system and docker version. If that doesn't solve your problem, feel free to open a new issue, including;

the output of docker version
the output of docker info
the output of uname -a
what method you used to install docker (as packaged by Red Hat, or as distributed by docker)

Also And how to reproduce.

We are experiencing the very same problems: /sys is only read-only after the first docker container has been launched: Docker 1.6.2 on RHEL 6.6 and using host networking mode.
You can remount /sys back writeable, but it only lasts until another container is started.
We are using this package:
https://dl.fedoraproject.org/pub/epel/testing/6/x86_64/docker-io-1.6.2-1.el6.x86_64.rpm
docker version
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2/1.6.2
OS/Arch (client): linux/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 7c8fca2/1.6.2
OS/Arch (server): linux/amd64

docker info
Containers: 3
Images: 69
Storage Driver: devicemapper
 Pool Name: docker-253:5-2621443-pool
 Pool Blocksize: 65.54 kB
 Backing Filesystem: extfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 2.271 GB
 Data Space Total: 39.73 GB
 Data Space Available: 37.46 GB
 Metadata Space Used: 3.908 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.144 GB
 Udev Sync Supported: true
 Data loop file: /var/opt/data/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/opt/data/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.89-RHEL6 (2014-09-01)
Execution Driver: native-0.2
Kernel Version: 2.6.32-504.16.2.el6.x86_64
Operating System: <unknown>
CPUs: 24
Total Memory: 31.35 GiB
Name: mesos-slave-2
ID: NERD:7P4V:TDUK:LN2T:PKL5:6OUR:3N6D:NA6G:XBBV:6RAG:TFGY:HHGT

uname -a
Linux mesos-slave-2 2.6.32-504.16.2.el6.x86_64 #1 SMP Tue Mar 10 17:01:00 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

@madhatter that package is not maintained by docker, so (although I cannot exclude the possibility it's an issue in Docker itself), it's better to open an issue in the Fedora/RedHat issue tracker first. I know those packages sometimes contain patches that result in a different behavior as a "vanilla" docker install.

let me ping @rhatdan here as well, in case it's a known issue (thanks, Dan!)

Mounting /sys in docker as read/only is a security mechanism.  Being able to write to /sys would allow containers to escape confinement.
daemon/execdriver/native/template/default_template.go
Has
 			{
				Source:      "sysfs",
				Destination: "/sys",
				Device:      "sysfs",
				Flags:       defaultMountFlags | syscall.MS_RDONLY,
			},

@rhatdan if I understand the discussion here correctly, the problem described is that /sys on the host is becoming read-only once Docker was started, therefore causing problems on the host.

@thaJeztah That would be a big bug.  The problem there would be whether or not the mount namespace is started before the /sys is mounted into the container, and it was mounted not shared.

I am not seeing this on my machine.  But then again, I don't work on RHEL6.

Probably best if you open a bugzilla on rhel6/fedora docker.

Thanks again, @rhatdan much appreciated!
@madhatter could you confirm if the problem you're describing is /sys on the host (not in the container) going readonly?
If it is, please open an issue on bugzilla, as suggested by Dan https://github.com/docker/docker/issues/7101#issuecomment-112095526

@thaJeztah @rhatdan Yes, I confirm that it affects /sys on the host and not in the docker containers.
I will try to open an issue on bugzilla, though I reckon it being solved, because docker is not officially supported on RHEL6.

I experienced this issue with centos 6.5

What is the recommended version of device-mapper for docker 1.5 and 1.6? We are using device-mapper 1.02.90 with docker 1.6.2.

@rhvgoyal

I am looking at our docker.spec file and it says following.
Requires:   device-mapper-libs >= 7:1.02.90-1
So I think 1.02-90 should be good enough.

It is still happening with v1.7.1 on Centos 6.7.
I am looking at docker-io-1.7.1-2.el6 rpm package from epel repository. There are no patches against 1.7.1 source.

@mighq please be aware that we no langer support CentOS/RHEL6, so if possible, I'd recommend upgrading to CenOS 7

I saw this on Docker 1.9.1 on Kubernetes. In an extremely low frequency case on Container VM (a Debian wheezy-backports image), /sys went read-only when the a container was using host networking. We have a ton of mileage where that's not the case, though, since kube-proxy changes a variable in /sys every time it starts and has been running in a privileged/host networking container for a while now.

This is looking more on the order of about 1/1000 in my large cluster testing, which pretty frequently results in a scratched test. Is there any mitigation for this issue, or any route forward? It looks like there's been a steady stream of complaints.

@zmerlynn what kernel is it running on?

@thaJeztah: The container-vm image is using the Jessie stable kernel, currently backleveled a bit at 3.16.7-ckt20-1+deb8u4.

@zmerlynn could you open a new issue? I'm not sure your issue is directly related to the original issue reported here, so I'd rather have a "fresh" issue to not conflate possibly unrelated things. Also, the current version of docker (1.11) has a lot of changes (e.g. moving to containerd and runC), and we don't do patch-releases for older versions, so we should look into this if it's still an issue on the current version.


Expand table row to display user’s first name and last name, IDIR only for now

Describe the task
As mentioned in #911, as a current solution, we'll display user's first and last name when click to expand the row in the table, so we can make the api call to IDIM web service one at a time. Only works for IDIR for now.
Acceptance Criteria

[ ] Add a icon to expand the row, like this:

[ ] make the api call to IDIM web service to get user's information on row expand click
[ ] display user’s first name and last name when expanded, confirm with Olga about the design

Additional context

Add any other context about the task here.
Or here

@MCatherine1994  I think we can close this ticket now.


GitHub build pull projects from Microsoft software development tools visual studio

GitHub build pull projects from Microsoft software development tools visual studio
Originally posted by @Aftabalamkhan120 in https://github.com/Aftabalamkhan120/FASZA/issues/1

Hello @Aftabalamkhan120, we monitor this channel for documentation enhancements and bugs. Can you please elaborate more on the issue faced and provide a link for the documentation referred? Thanks

Since we have not heard back from you, we will now proceed to close this issue out. If you are still facing any issues, I request you to please create a new issue with the required details above. Thank you!

@@ -823,8 +823,10 @@ bool emberAfOperationalCredentialsClusterCSRRequestCallback(app::CommandHandler
gFabricBeingCommissioned.GetOperationalKey()->Clear();
}

   keypair.Initialize();

   SuccessOrExit(err = gFabricBeingCommissioned.SetOperationalKeypair(&keypair));

   keypair = chip::Crypto::GetP256KeypairBuilder()->BuildP256KeyPairForOperationalKey(gFabricBeingCommissioned.GetFabricId());


show validator proposal participation properly

Currently the proposal participation on mintscan is shown for all times even when a validator entered the active set later. So this gives values like 40/71 even though a validator participated in all proposals, but as a validator joined later, they were not able to participate in the earlier ones.
This should be changed to a proportion reflecting the available proposals or a limited timeframe like 1 year, especially because it favors big validators and does not support decentralization as intended by enhancements of the active set.
This issue should actually be in the mintscan repo, but I guess it is private, so I can't open an issue there

Thank you so much for providing valuable feedback on the validator proposal participation on mintscan.
In order to keep the consistency and unity of the on-chain data in mintscan, we are using the denominator as the overall number of proposals that actually went to the 'voting period'.
I will relay the information to the appropriate team so that they are able to find a way to enhance the display of the data.


tblite cleanup

removes the entire tblite and required fortran ecosystem in favour of its upstreamed versions.

Hm, looks like I need to cleanup polarisationsolver upstream, first.

@markuskowa I've rebased and this version includes https://github.com/NixOS/nixpkgs/pull/223883 now.
This should be ready, now.


undefined method `name_with_middle' for Faker::Name:Class

I have error with name_with_middle method.
As I see the code from PR 419 not currently used.
Maybe code was removed, but this method left in README?
2.2.2 :001 > require 'faker'
 => true
2.2.2 :002 > Faker::Name.name_with_middle
NoMethodError: undefined method `name_with_middle' for Faker::Name:Class
	from /home/tabatab/.rvm/gems/ruby-2.2.2/gems/faker-1.6.3/lib/faker.rb:164:in `method_missing'
	from (irb):2
	from /home/tabatab/.rvm/rubies/ruby-2.2.2/bin/irb:11:in `<main>'

Installed gem from github source, now everything ok.


Avoid parsing JS files when building a bundle

This avoids the case where LazyParsedDependencyInfo.getLoadFlags() might parse the entire file to check if a JS file can be bundled as a Closure or ES6 module.
Fixes #4006

I'm trying to figure out why @googlebot hasn't run for this PR - usually it automatically runs to check if you've signed a Contributor's Licensing Agreement. Example: https://github.com/google/closure-compiler/pull/3833#issuecomment-861923992.
I'll try to retrigger @googlebot. Meanwhile, if you haven't already signed at https://cla.developers.google.com/, please go ahead and do so.

Ok, I reran the CLA check and looks like you've already signed, thanks.
I've imported this for some internal testing.

Update: I'm looking at a few test failures in our internal test suite. Currently investigating whether they're caused by some internal-only changes I made/failed to make, or something in this PR.

Another update:
I'm currently working on trying to avoid using the regex parser for compilations that need to fully parse each input file anyway. So the goals of these two changes don't conflict, but I still need to verify my implementation won't mess up your PR or vice versa.

Thanks for the update, I appreciate it. Let me know if it makes more sense to merge your changes and have me try to rework this instead of you managing both.
We're trying to pick up the typed_ast feature for ADVANCED compiles without re-parsing everything on small changes, but have a sort of simplified version for BUNDLE that serializes the results of the regex parser to avoid even redoing that parsing work on the bulk of a given library. While this is working, we're still figuring out typed_ast, so redoing some of this work wouldn't be a big impediment if it helps generally improve performance.

Thanks for all your patience - this change looks good to go, no conflicts with what I'm working on. I've gotten it approved in internal code review and plan to submit it on Monday.


Add std::array as a product type.

Adds std::array as product type in kumi/utils/std.hpp header. Already was tested. Assuming the #include <kumi/tuple.hpp> in the tests are the standalone complete package, might be wrong!

You may need to run make kumi-standalone to regenerate it and then commit it though


Enhance Terra Clinical Result to Support Rich Text Values

Issue Description
The Charting team is requesting the Terra Clinical Result to support rich text values. We use the Clinical Result in our detail panels, flowsheet, pop-ups, etc. All of the the result types we show are support except for rich text. We would like support for how this is displayed in the cell vs slide panel with full details. Today there is a gap in functionality because users cannot see the result as it was documented by the user with formatting.
Additional Context / Screenshots

Adding pre-work discussion comments and notes:

General:

Rich Text is a complex document formatting language that would require importing third party libraries that will parse and render rich text syntax as React content. Large investigation will need to be done in terms of what features in rich text need to be supported, how they would need to be themes, and how it is commonly used in clinical content across the consumer base for Terra. Since the project team requesting this is closest to the actual content needing to be managed, it might be best suited that a project team and not Terra take ownership of rich text implementation, which will give them first handle ability to fix, add, and adjust features as needed as they see issues within their project. Terra is happy to figure out how to best sort out which implementation details with the project team that gives the project team the most latitude, while doesn’t open up any supporting components to accidental misuse by another Terra consumer without as much firsthand knowledge.

Possible Implementation Ideas:

Terra adds built-in first-class support for rich text content and creates a new clinical-result sub-component specifically for this feature. The complexity for this would be high, and likelihood to be completed in the near term is fairly low, relative to other current requests.

Terra either opens up the single ClinicalResult component to be able to receive a node instead of text/number strings, or creates a new subcomponent that exclusively receives a node as its result content. The complexity for this would be low for Terra, and high for the consuming project team, though the comfortability of supporting this style of feature is also low for Terra.

Terra works with the internal team to help them make an internal project component that can be well controlled by the project team, Terra working with the team to expose any needed parts to keep the Terra and project components sharing similar requirements. The complexity for this would be low for Terra, high for the consuming project team. Terra would be the most comfortable supporting this style of implementation.

Risks:

Theming: if Terra opens up the component to receive a node, theming (particularly the lowlight themes) will need to be handled by the consumer, or by making the block of content intentionally unthemed (not recommended).
Node: if Terra opens up the component to receive a node, the ability enforce strict layouts is no longer possible. Consumers have the flexibility to include any content they want as a result, but further work would need to be done inorder to make sure the other supporting elements in the clinical-result component would work with any type of content provided to it.

Missing Requirements:

- Components needed: it will need to be clarified which of the clinical result components need to handle Rich Text. Is it just the base ClinicalResult single result component used for detail panels and on-page use, or would it also be needed in the FlowsheetResultCell, which will be extremely challenging to display in the size allowed.

Construction/layout: designs need to be created and approved by the Clinical content leadership team on how the result should be constructed, so it is clear how it looks when also needing to show the additional icons for Unverified, Modified and hasComment, the additional displays below for DateTime or Result Concept, and if it is possible to be truncated.

We met with the team requesting this change and are leaning towards option 2 or 3 as specified above.
We asked the team to conduct an audit of where they're using this component such that we can understand how best to restructure it but the general idea is:

Create a new result that takes a node and arrange the clinical result icons accordingly (not inline).

We need to determine if all non flowsheet clinical results should have the re-located icons, if so we may not need a new component.

Alternatively we could offer a component that is just the icons and leave the positioning up the the consuming team.

This change should not affect the flowsheet cell.

This change is requested by mid 2021.


ci: pin Rust nightly to 2020-07-13 to prevent breakage around wasm C api

Closing: this is a beta issue and @alexcrichton said it might better to fix it properly. Thanks!


Push constant to a pointer without a struct generates incorrect SPIR-V

As the title describes, the following shader
struct VertexOutput
{
    float4 position: SV_Position;
    float3 color;
};

[[vk::push_constant]] float2* positions;

[[shader("vertex")]]
VertexOutput vertexMain(uint vertexID: SV_VertexID)
{
    const float3 colors[] = {
        float3(1, 0, 0),
        float3(0, 1, 0),
        float3(0, 0, 1)
    };

    VertexOutput output;
    output.position = float4(positions[vertexID], 0, 1);
    output.color = colors[vertexID];
    return output;
}

[[shader("pixel")]]
float4 pixelMain(VertexOutput vertex): SV_Target
{
    return float4(vertex.color, 1);
}

Generates wrong SPIR-V, with the following error and layout
Validation Error: [ UNASSIGNED-GPU-Assisted ] | MessageID = 0xfd41b5b6 | Error during shader instrumentation: line 70: OpAccessChain result type (OpTypePointer) does not match the type that results from indexing into the base <id> (OpTypePointer).
  %32 = OpAccessChain %_ptr_PushConstant__ptr_PhysicalStorageBuffer_v2float %positions %int_0

This was generated with the following arguments
-profile glsl_450 -target spirv -force-glsl-scalar-layout -fvk-use-entrypoint-name -emit-spirv-directly

I am working on this issue now.  At this point, it looks like an issue with the struct wrapper that is added to the positions push constant. I hope to have it resolved in the next week.


FirebaseAuthUI works only with the default Firebase app, and not support multiple Firebase apps

The problem exists in the latest version of the Firebase SDK downloaded via CocoaPods.
In the application I use two Firebase applications for the dev and prod environment.
I use the next Swift code for initializing AuthUI with Google accounts, where "app" is the previously configured Firebase app:
authUI = FUIAuth(uiWith: Auth.auth(app: app))!
assert(authUI != nil)
authUI.delegate = self
authUI.providers = [FUIGoogleAuth()]

I receive exception after calling authViewController method from the FUIAuth instance
let controller = authUI.authViewController()
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'The default FIRApp instance must be configured before the default FIRAuthinstance can be initialized. One way to ensure that is to call [FIRApp configure]; (FirebaseApp.configure() in Swift) in the App Delegate's application:didFinishLaunchingWithOptions: (application(_:didFinishLaunchingWithOptions:) in Swift).'
After the short analysis of the FirebaseAuthUI I found the problem in the FUILocalizedStringFromTableInBundle function, that calls default FUIAuth instance [FUIAuth defaultAuthUI]. This function is called from the FUIGoogleAuth.signInLabel method, that called from FUIAuthSignInButton.initWithFrame:providerUI: method.
NSString *FUILocalizedStringFromTableInBundle(NSString *key,
                                              NSString *table,
                                              NSString *_Nullable bundleName) {

  NSBundle *customStringsBundle = [FUIAuth defaultAuthUI].customStringsBundle;
  if (customStringsBundle) {
    NSString *localizedString = [customStringsBundle localizedStringForKey:key
                                                                     value:kKeyNotFound
                                                                     table:table];
    if (![kKeyNotFound isEqual:localizedString]) {
      return localizedString;
    }
  }
  NSBundle *frameworkBundle = [FUIAuthUtils bundleNamed:bundleName];
  return [frameworkBundle localizedStringForKey:key value:nil table:table];
}

Also after the analysis of the FirebaseAuthUI and FirebaseGoogleAuthUI I found some references to default Firebase instanses such as: [FUIAuth defaultAuthUI], [FIRApp defaultApp]. They may cause the problems in the future:
FUIStaticContentTableViewController.m
- (instancetype)initWithContents:(nullable FUIStaticContentTableViewContent *)contents
                       nextTitle:(nullable NSString *)actionTitle
                      nextAction:(nullable FUIStaticContentTableViewCellAction)nextAction
                      headerText:(nullable NSString *)headerText
                      footerText:(nullable NSString *)footerText
                    footerAction:(nullable FUIStaticContentTableViewCellAction)footerAction {
  if (self = [super initWithNibName:NSStringFromClass([self class])
                             bundle:[FUIAuthUtils bundleNamed:FUIAuthBundleName]
authUI:[FUIAuth defaultAuthUI]]) {

FUIGoogleAuth.m
- (GIDSignIn *)configuredGoogleSignIn {
  GIDSignIn *signIn = [GIDSignIn sharedInstance];
  signIn.delegate = self;
  signIn.uiDelegate = self;
  signIn.shouldFetchBasicProfile = YES;
  signIn.clientID = [[FIRApp defaultApp] options].clientID;
  signIn.scopes = _scopes;
  return signIn;
}

For now can you work around this by manually naming your non-default app __FIRAPP_DEFAULT?

Now I work with the prototype app, so in the nearest future I can work only with default app.

I have a similar issue.
I'm building an SDK with the purpose of separate my entire login/auth logic of all apps that I have.
I have a same login/auth logic for many apps.
The initialization is inside the SDK, and I think that will be a good approach that my custom SDK initialize the Firebase Auth as a second project, and not the default project of the firebase inside the application.
When I try to do the UI sign in, the app crash and tell me that it doesn't have a Firebase Default configuration.
Do you guys have some tip for this case?
This is the error that was printed:
2018-04-25 11:53:20.658752-0300 testes[15665:3908086] 4.13.0 - [Firebase/Core][I-COR000005] No app has been configured yet.
2018-04-25 11:53:20.710201-0300 testes[15665:3907986] *** Terminating app due to uncaught exception 'com.firebase.core', reason: '[FIRApp configure]; (FirebaseApp.configure() in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/.'
Thanks!

Expose the initialize call in your wrapped SDK and call it before calling any other Firebase SDK methods.

@morganchen12 Could you please show me an example of how do this wrapped SDK? I'm trying to solve this problem since last week and nothing works

This will be fixed partially in the next release. It'll no longer cause crashes, but may not correctly load strings from your bundled FUIAuth instances.

Closing for now. If you run into strings issues, please comment here.


Next v0.3.1

Preparing for the v0.3.1 release of the Go client ...

The changes in this PR gets us an A+ score from: https://goreportcard.com/report/github.com/yuce/go-pilosa.
All tests pass:
$ make test-all
go test -tags=integration
PASS
ok  	github.com/pilosa/go-pilosa	1.936s

Full coverage:
$ make cover
go test -cover -tags=integration
PASS
coverage: 100.0% of statements
ok  	github.com/pilosa/go-pilosa	2.004s


run the ipyfastscape.TopoViz3d but get error

I want to use the code below to get a window to show 3D topography.
app = TopoViz3d(out_ds, canvas_height=600, time_dim="time")
app.show()
The window is open, but one of the planes shows the error "Click to show javascript error". I got the error information after I clicked. I have a screenshot attached below. I am sure that the code could run successfully.
could you tell me what happened? Thanks a lot！

It looks like ipygany (a dependency of xarray-simlab) has not been properly installed. How did you installed ipyfastscape? Can you can show the installed versions of ipyfastscape / ipygany / jupyterlab / ipywidgets?

Hi Bovy,
Thanks for your response!
I created a new virtual environment (mylandlab) using the Conda tool, and installed the ipyfastscape according to the installation ($ conda install ipyfastscape -c conda-forge) in Github.
The versions of different packages are attached below, and the Jupyterlab's version is 3.6.7.
All the best,
Yangen Shen
| |
Yangen Shen
|
|
@.***
|
---- Replied Message ----
| From | Benoit @.> |
| Date | 1/26/2024 12:26 |
| To | @.> |
| Cc | @.>,
@.> |
| Subject | Re: [fastscape-lem/ipyfastscape] run the ipyfastscape.TopoViz3d but get error (Issue #9) |
It looks like ipygany (a dependency of xarray-simlab) has not been properly installed. How did you installed ipyfastscape? Can you can show the installed versions of ipyfastscape / ipygany / jupyterlab / ipywidgets?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Skip Tutorial

Added a Skip-Tutorial button to the settings menu!

Firstly, thanks for the PR. It looks like some of the lint checks are building. Specifically:   app\containers\Players.js:199:9   ×  199:9  Expected indentation of 10 space characters but found 8.

I'm about to make a new release, so I'll merge this in and fix the linting errors myself.


Automatic update doesn't work anymore

I don't get any notifictions about new versions anymore. Have to install new releases manually.

which version did you have? Because it was broken once, but that's a while ago

v<IP_ADDRESS>

I just checked, update notification for v0.6.20.alpha worked in v<IP_ADDRESS>-alpha as well as in v0.6.18-alpha.
I assume you had v0.6.15-alpha installed


Sugestion #2

Hello sir @lilmond  have you found a way to bypass cloudflare?
Could you do something to detect the firewall automatically?
For example, to check the header and if it detects cloudflare in the header, to return the status code, etc.
and callback to selenium to bypass and get cookies?
If header return ddos-guard, enable the limit function so that it does not require captcha resolution
Also include proxy scraper to auto download proxies or get it directly from url to update automatic
Using any library to get default cookie from any target and validate browser to generate like fake browser to bypass
Sry my english is not so good

can you help me

hey sir @lilmond  what about cookie scraper function? alot target will validate the requests just if u provide the cookie

@lilmond  alot of websites starting to block http/1.1 you can update it using a function that support all http1.0 1.1 2.0 etc

@lilmond  any new updates soon?

Hey @andress134! We apologize we couldn't really implement a cookie scraper at the moment to keep the stability of the program. If you have more suggestions, please don't hesistate to tell us about it! We wish you a nice day!


"Show or hide the tree view for site navigation" missing

It looks like the schema does not support setting the property "Enable Tree View" via XML or PowerShell command.
Could you please consider adding it, so that this step could be automated for provisioning: https://support.office.com/en-us/article/Show-or-hide-the-tree-view-for-site-navigation-21ccd201-e02e-4bdb-aef6-877d66648eb2?ui=en-US&rs=en-US&ad=US&fromAR=1

thx Christian, there's limited support for that setting in general in the remote APIs of SharePoint, but we'll absolutely have a look on this when we build the new schema version. Thx for providing your input.

I've added an attribute EnableTreeView at the Navigation element level. It will show up in the experimental branch.


Floating point exception (core dumped)

Hi and thanks for releasing the simulator,
Actually, I build the simulator for ARA version. Now, when I run the simulator using following command:
./build/X86/gem5.opt ./configs/example/fs.py
I got this error:
info: Entering event queue @ 0.  Starting simulation...
Floating point exception (core dumped)
I checked with gdb and I found the problem is in  line 34 of NetworkInterrupts.cc:
Program received signal SIGFPE, Arithmetic exception.
localCBsForCycle<EMAIL_ADDRESS>at build/X86/modules/NetworkInterrupt/NetworkInterrupts.cc:34
34        size_t oldIndex = (m_current_cycle - 1) % cycleCBRing.size();
Do you have any suggestion for me?

Hi Majid,
Thanks for your interest in using PARADE.
Due to some porting issues, currently PARADE uses a separate event queue for accelerator events, which is the variable cycleCBRing. I think you got this error because cycleCBRing is not initialized.
When you build ARA version, did you enable the macro SIM_DEDICATED_ARA in all files? This could be the possible reason because the initialization of cycleCBRing is under the SIM_DEDICATED_ARA macro.
Please let me know if there is more problems.
Thanks,
Zhenman

Thanks,
I enabled all the macros in three files..but nothing changed. I changed the code as follows:
size_t aa = cycleCBRing.size();
if(aa<=0) aa=1;
but, the error goes to next if statement.

It looks like that cycleCBRing is still not initialized. What command did you run? Did you exactly follow the steps in README.md?

You r right!..I missed some things. Now, I compiled and created the checkpoints. However, I must mention some minor things about scripts (maybe they are OK in other machines):

Some scripts create same name for the output folder with the name of ARA executable which causes some errors.

In compile-time, there is an error due to the lack of README file.. I change the name of README.md to README, It went OK.

Best
Majid

Great that it works. For number 2), it's strange. I will correct the typo.
Thanks,
Zhenman

Hello,
I followed the instructions from the README.md file but I ran into the same issue. Listed below.
Program received signal SIGFPE, Arithmetic exception.
localCBsForCycle<EMAIL_ADDRESS>at build/X86/modules/NetworkInterrupt/NetworkInterrupts.cc:37
37        size_t oldIndex = (m_current_cycle - 1) % cycleCBRing.size();
@majid0jalili @zhenman could you please share the steps used to fix this issue?
Thanks.


Quaternion rotation instead of current transforms

We have some issues with negative square root values with the current point finding solution. Investigate quaternions to do this instead.

There may be an even better way (have only skimmed so far)


Strange example

The first example on the plotAbundance reference page asks to plot "counts" assay but the figure is relative abundances. This makes the example confusing.
Explain the default behavior, if the relabundance plotting is automated as a default; or (even better?) update the figure so that it plots by default what is asked (here, counts)

https://github.com/microbiome/miaViz/pull/126

@SHillman836 ok so this issue can be closed?

yes

Great. I will close this now. Do actively close issues that are done.


node-gyp installing old versions of node

C:\WT-NMP\>node-gyp configure
(gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| win32 | x64
gyp http GET https://nodejs.org/download/release/v4.1.0/node-v4.1.0-headers.tar
gz
gyp http 200 https://nodejs.org/download/release/v4.1.0/node-v4.1.0-headers.tar
gz
gyp http GET https://nodejs.org/download/release/v4.1.0/SHASUMS256.txt
gyp http GET https://nodejs.org/download/release/v4.1.0/win-x86/node.lib
gyp http GET https://nodejs.org/download/release/v4.1.0/win-x64/node.lib
gyp http 200 https://nodejs.org/download/release/v4.1.0/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v4.1.0/win-x64/node.lib
gyp http 200 https://nodejs.org/download/release/v4.1.0/win-x86/node.lib)

Shouldn't it be downloading the latest stable version (4.4)?

It uses the version of node it was invoked with if no version is explicitly specified.

No follow-up.  I'll go ahead and assume it's working for you now.  Closing.


1521 | Find a Value of a Mysterious Function Closest to Target | Java

Title - Find a Value of a Mysterious Function Closest to Target
What will change - Add solution for the problem 1521. Find a Value of a Mysterious Function Closest to Target in Java
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] Java

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

@SSKale1 @Yashica7 @swaingotnochill @JOKUE2002 Please assign this issue to me.


Error : 'Can't resolve 'rxjs/operators/startWith'

Bug
There is error when I include this in the project.
angular-material-fileupload : version 0.0.9
ERROR in
/angular-material-fileupload/matFileUpload.esm.js
Module not found: Error: Can't resolve 'rxjs/operators/startWith' in 'D:\Code........\node_modules\angular-material-fileupload'
@ ./~/angular-material-fileupload/matFileUpload.esm.js 4:0-68
@ ./ClientApp/app/shared.module.ts
@ ./ClientApp/app/bankdata/bank-data.module.ts
@ ./ClientApp/app/app.module.ts
@ ./ClientApp/app/main.ts
##Versions
"@angular/animations": "~4.4.5",
"@angular/cdk": "2.0.0-beta.12",
"@angular/common": "~4.4.5",
"@angular/compiler": "~4.4.5",
"@angular/core": "~4.4.5",
"@angular/material": "2.0.0-beta.12"

OS
Windows 10 Pro

Hi Harshi, do you have<EMAIL_ADDRESS>package added to your project? rxjs is a dependency to this package.

Hi Nishant. Yes I figured it out eventually that it needs another version of rxjs. Our project uses an older version of rxjs...so unfortunately I wont be able to use this in our project.
Thank you for the reply :) You can close this.

Sure, Thanks

Hi Nishant,
I'm having the same problem. Which version did you use to fix that? My current version is "rxjs": "^6.5.2"
Thanks.


add Expat

SteamDB app page links to a few games using this
https://steamdb.info/app/1091500/info/
Brief explanation of the change
added a rule for Expat

need to run the script

merge reverted via a force push


Issue/#8 set up mongodb

Resolve #8

Set up connection to MongoDB
Add mongoose (ORM) to project with boilerplate schema for Posts
Create boilerplate CRUD endpoints for Posts
Add documentation to wiki for running backend locally

For now, the backend points to a local MongoDB instance (instructions can be found in Wiki). I was considering hosting the DB online but would like to discuss further with the team before doing so.

Off-topic but, did GitHub not pick up the pull request template?
cc @timovv


UserAgent

Where is UserAgent for Firefox ?

@jorg35
mmmm... let me check...

Ahaa, it was really lame ("basic"), used a hard-coded useragent
(although mocked both JavaScript and pre-requested connections)
so I didn't bother generating a signed XPI from the Firefox store (generating a web-extension page is a huge waste of time, and it takes couple of days for the web-extension to be approved.. :|)
you can get https://github.com/eladkarako/chrome_extensions/releases/download/LatestChrome/UserAgent_<IP_ADDRESS>.zip, extract it, and load it with Firefox (same code) with
Tools - Add-ons - (on the 'gear' button to the right) click 'Debug Add-ons'
(or open about:debugging#/runtime/this-firefox)
then click the button saying 'Load Temporary Add-on...', browse the folder you've extracted from the zip above, and double click the manifest file,
you can have a try out until you close down your Firefox (or unload the web-extension) to see how lame it is...
If you'll find it useful afterwards, I'll go ahead and generate an XPI for you. :|

@jorg35 nevermind,
here it is:
https://github.com/eladkarako/chrome_extensions/releases/download/LatestFirefox/useragent-<IP_ADDRESS>-an+fx.xpi


Cannot Find Module in Main.js

Hey,
I came across your bot and liked the look of it however when I run it, I get the following:
yarn start -b WIN -q USDT -t 10.5 -p 0.01 -sl 0.01
yarn run v1.22.10
$ node main.js -b WIN -q USDT -t 10.5 -p 0.01 -sl 0.01
internal/modules/cjs/loader.js:883
  throw err;
  ^

Error: Cannot find module 'C:\Users\Darth\Documents\work\pump-bot\main.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Any idea?  I cant find a main.js?

ops :) i renamed some files forgetting to update package.json
now it should work!
let me know if you have any ideas :)
thanks an regards!

Just pulled the code and it looks good.  or at least I can see the stats!
I am going to take part in a pump on thursday so I will give it a full go then, I may have a few sugegstions.  keep up the good work :)


Track what processes hydrate files and log them in heartbeats, like we do for placeholders

As a companion to #942, we should consider logging which processes are hydrating files.
It's possible that customers could have an experience where a process/service is hydrating files and is impacting their experience, but if we had this data in the heartbeat, we could diagnose and identify this issue.

Picking this one up too.


Wallet v2 on boarding screens

Fix #982
Fix #962
Fix #1003

initial layout

current layout

https://github.com/planetdecred/godcr/pull/962 doesn't seem to be solved

#1003 doesn't seem to be solved

You wont be needing that approach to create an account after this PR is merged.
The wallet page will be fully deprecated after my next PR https://github.com/planetdecred/godcr/issues/985


CSharp client generation with nullable struct is not working

Hello,
I suspect there is an issue in the client generation (C#) with nullable types. It only seem to work with build-in types and not custom structs. I'm using NSwag.AspNetCore version 13.0.1. Here is an example using OpenApi 3.0 and a simple controller: https://github.com/JoaBjo/NSwag-nullable-issue
[ApiController]
    public class DemoController : ControllerBase
    {
        [HttpGet("nullable-int")]
        public ActionResult<int?> GetNullableInt()
        {
            return Ok();
        }

        [HttpGet("nullable-struct")]
        public ActionResult<RetType?> GetNullableStruct()
        {
            return Ok();
        }
    }

[ApiController]
    public class DemoController : ControllerBase
    {
        [HttpGet("nullable-int")]
        public ActionResult<int?> GetNullableInt()
        {
            return Ok();
        }

        [HttpGet("nullable-struct")]
        public ActionResult<RetType?> GetNullableStruct()
        {
            return Ok();
        }
    }

where RetType is a struct
public struct RetType
    {
        public string Name { get; set; }
        public int Age { get; set; }
    }

The swagger specification looks correct in the sense that it gets the "nullable": true for both the int and the struct
{
  "x-generator": "NSwag v<IP_ADDRESS> (NJsonSchema v<IP_ADDRESS> (Newtonsoft.Json v<IP_ADDRESS>))",
  "openapi": "3.0.0",
  "info": {
    "title": "My Title",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "http://localhost:5000"
    }
  ],
  "paths": {
    "/api/Demo/nullable-int": {
      "get": {
        "tags": [
          "Demo"
        ],
        "operationId": "Demo_GetNullableInt",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer",
                  "format": "int32",
                  "nullable": true
                }
              }
            }
          }
        }
      }
    },
    "/api/Demo/nullable-struct": {
      "get": {
        "tags": [
          "Demo"
        ],
        "operationId": "Demo_GetNullableStruct",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "nullable": true,
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/RetType"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "RetType": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "age": {
            "type": "integer",
            "format": "int32"
          }
        }
      }
    }
  }
}

However the generated C# client methods are
public System.Threading.Tasks.Task<int?> GetNullableIntAsync()
{
    return GetNullableIntAsync(System.Threading.CancellationToken.None);
}

public System.Threading.Tasks.Task<RetType> GetNullableStructAsync()
{
    return GetNullableStructAsync(System.Threading.CancellationToken.None);
}

While it's working for int, RetType is no longer nullable which give rise to all sorts of trouble.

It's not nullable because it is generated as class
public partial class RetType

and thus implicitely nullable...
OpenAPI/Swagger does not know about structs vs classes and thus the struct information cannot be preserved.

I'm not generating DTO types, so it's not generated as a class.
And isn't is safe to assume (so far) that a nullable custom type is a struct?


Resolution to issue #11 as raised and debugged by dcodeIO

This improves bcrypt-nodejs compatability with the bcrypt package.
i.e. when writing code against the bcrypt library, and changing libraries to use bcrypt-nodejs instead, node raises a runtime error which is resolved with this change.

It'd be sweet to see this merged in, or even just a mention in the docs that the progress argument in .hash() needs to be null if not provided.

@markau @julianlam @TessMyers This seems to have been partially fixed, but might not be as complete as this fix. Can one of you update the PR, and I will get it merged.


Generic OIDC Authorisation

It looks like the project lacks generic OIDC authorization.
For example, we use Keycloak here and I would like to use it for auth here.

Hi @nuclon ,  thanks for the feature request. When do you need this feature by?

Hi guys, looking forward for this feature too. it would be nice to be able to integrate to Keycloak or Zitadel.

Hi @thaddeuscleo , when do you need this feature by?

Hi @wangxiaoyou1993  Is it possible to be delivered in the next month?

Hi, we recently added a generic OIDC authentication provider. Here is the documentation for enabling it: https://docs.mage.ai/production/authentication/oidc.
Let me know if you run into any issues integrating your OIDC provider. There could potentially be some issues for specific providers.


No breadcrumbs and different font size on mobile

right now there is no bredcrumbs on mobile:

also header should be a little bit bigger (36px instead of 24px)

@jmikolajczyk the breadcrumb doesn't look good on the Product page / mobile version: https://www.dropbox.com/s/5kniaigkpaudc8o/Screenshot 2018-04-13 21.33.17.png?dl=0
Also on static pages like /legal the font size hasn't been fixed to 36px

Fine for me

Also I fixed header font size on static page.


Intermediary graph structure

Today we are very coupled to the ninja template and it needs to understand the PN data types.
What if we had a presenter to turn a PN into a graph?

This would allow for arbitrary transformations on the graph
Simplify the template
Allow for multiple templates for the same kind of graph

I would love to have a better bridge between the internal data types and how they're presented in a simulator.
Something on my "wish list" has been to have a simulator that doesn't use a backend server and graphviz to render, but instead is able to load the library + Petri net definitions into a browser using PyScript and use a JS library to render the net. (This would also allow for things like animating token production/consumption when a transition occurs.)


Work with Daniella to finish #11

For Thursday morning, please work with Daniella on completing #11 (designs in #3), with screen sharing and mentoring, help her fix up PR #34 (taking all things from #38 into consideration).

Resolved in #51


Does this work with...

Hi,
I have tried to add this module to my mirror, but it does not seem to work with MMM-Pages. Or does it?
As soon as its added and mirror is started it hangs the mouse and I can't get to any other page.
I can't see any use for this without MMM-Pages so please let me know if I should give up on this module. Thanks.

Sorry, I am just seeing this. I'm not sure about compatibility with the MMM-Pages module.  I will have a look at it and see if I can make it compatible.

Is it possible to have other sizes aside from full screen?

Is it possible to have other sizes aside from full screen?
I will be working on that. If it's possible I'll include it in the next update along with some other fixes I have planned

Nice. Can't wait! :)

Would also be great if it could be compatible with MMM-Carousel (https://github.com/schramkef/MMM-Carousel) !


Pipenv will pollute my filesystem with Pipfiles

Is your feature request related to a problem? Please describe.
We have started using pipenv in our project and its great. But it has a tendency to pollute my filesystem with Pipfiles if I do not pay close attention to where I am issuing my commands.
If I am in a directory whose parents do not have Pipfiles, pipenv will simply create a new one no matter what command I issue. This is contrary to what I would expect and definitely contrary to other tools do such as git.
Describe the solution you'd like
For instance git will not start a git repo because I simply issued git status on a non-tracked directory, rather it issues an error:
fatal: not a git repository (or any of the parent directories): .git

Now I would expect pipenv to do something similar and only create a Pipfile once I initialise a given repository.
Second and related to the above problem, git has a very useful option git -C <path> which will run as if git was started in path instead of the current working directory. Although pipenv has the PIPENV_PIPFILE, it is not as useful and concise as -C. See a related discussion about git in here.

This has come up enough that I think we can run this up the chain a bit again; the current behavior was a design decision and we have been hesitant to revisit it, This has caused some significant confusion lately though, so perhaps we can discuss again -- would love more feedback

Commands only should create a Pipfile when it makes sense to use that command as the first one you would do on a new environment.
pipenv sync fails if a Pipfile.lock doesn't exist, because it wouldn't make sense to use pipenv sync to create a Pipfile.lock, so the same logic should apply to Pipfile.
Right now, if you do pipenv lock in new directory:

Creates a new environment
Creates a new Pipfile without any packages
Creates a new Pipfile.lock based on the previous Pipfile, so the only thing inside will the metadata.

pipenv uninstall <package> is even more fun.

A final example, Composer only creates a composer.json with composer init, composer create-project or composer require <package>. Other commands that depend on the existence of the composer.json file will fail.

Commands only should create a Pipfile when it makes sense to use that command as the first one you would do on a new environment.

Agreed, but dumping a pile of complaints under a generic issue heading is actually not going to be helpful for tracking anything or making progress on this stuff.
If you want to see specific changes it would be most helpful to see these opened separately (because we have discussed a bunch of them and while I agree with you Kenneth hasn't always historically, so we will need to get this all organized)
So I would say to both of you: I hear your issues, they are definitely valid, and I'd love to discuss them, but for example right now I'm triaging and it's nearly impossible to triage this quickly because it's not broken out/focused/summarized so that would be the best approach.

I didn't want to appear to dump a pile of complaints, I just wanted to provide some feedback, although I might have gone a bit overboard with the examples.
There are 3 possible behaviors I can think for a command that needs a Pipfile when there's no Pipfile.

Create a Pipfile and do whatever the command does.
Raise an error about the missing Pipfile, like pipenv --where does currently.
Don't create a Pipfile but work normally as it there was one. For example, pipenv graph would return nothing. I don't know if there's a command that currently works like this.

I'm not sure how this should be focused. Maybe an issue for every command with a behavior that should be revised?


Fix for running docker-compose.dev.yml

In the file:
minimal-fastapi-postgres-template/{{cookiecutter.project_name}}/template_minimal/docker-compose.dev.yml
row 5 instruction is slightly off:
- # docker-compose up -f docker-compose.dev.yml -d
+ # docker-compose -f docker-compose.dev.yml up -d

I got the answer from here:
https://github.com/docker-archive/toolbox/issues/721
I couldn't make a PR, so I hope this will do :)

You're right @RikoNyberg, it looks like a typo, thanks for pointing out.
Feel free to create PR, that's quite easy and there is a lot of stuff how to do it on GitHub eg. https://www.freecodecamp.org/news/how-to-make-your-first-pull-request-on-github-3/
I can look into it myself in few days if you don't want :D


Fix ElevnLabsTTS websocket throttling issue

This PR addresses the issue where the ElevenLabs WebSocket encounters an error when messages are sent too quickly in succession, causing the websocket to abnormally close with error: sent 1009 (message too big); no close frame received. To resolve this, a asyncio.sleep(1) delay can be introduced after sending text chunk to be synthesized. Ensuring the messages are sent with appropriate spacing, preventing the WebSocket from being overwhelmed and improving the stability of the connection when synthesizing long assistant responses.
This change does not affect the flow of the assistant, as the assistant naturally takes a few seconds to speak even the shortest sentence, hence, the introduced delay does not impact user experience.
I was able to reproduce the flow by asking the assistant to generate 10 ways to .... It specifically happens when each point is put in separate chunk as follow:
Generating TTS: [1. example 1]
Generating TTS: [2. example 2]
...

Did you find a fix on this, I'm still getting this as an issue


Add stream search box in left sidebar.

[x] Add search box for streams in left side bar
[ ] Add search box for streams in subscription page
[ ] Add tests for this feature

cc @neerajwahi

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

Coverage remained the same at 64.613% when pulling 0e415db1f9fe9ea73866f83dd689cb67d42abd3f on krtkmj:search-box-for-streams into c6cfd21bd44c5c4a7271cc3061736f5661437961 on zulip:master.

Cool, I guess coveralls works for showing our mypy static type annotation coverage!  @sharmaeklavya2 @rwbarton FYI and @krtkmj no need do take any action because of that

@krtkmj Please fix the failing tests and I'll take a look

@neerajwahi Updated this PR. Any suggestion why this test is failing?

@krtkmj @neerajwahi have you seen https://github.com/zulip/zulip/pull/711, https://github.com/zulip/zulip/pull/684, and  https://github.com/zulip/zulip/pull/514?  There's a good amount of discussion about the visual design issues involved here...

@krtkmj See inline comments and please add tests. It's often a good idea to add tests even before you add the feature.
@timabbott Thanks, just read through the PRs you referenced above. They seem to be somewhat abandoned. @krtkmj could you take a look (especially at https://github.com/zulip/zulip/pull/684 and https://github.com/zulip/zulip/pull/514 which are directly relevant).

#684 just had an updated version posted, but yeah I think #514 is unlikely to be finished by the author anytime soon.

So, I think probably for the left sidebar feature, #684 is further along than this PR (has typeahead, a hotkey, and a bunch of tests), so we should plan to merge that implementation (after any revisions based on your work here @krtkmj).  Here's the relevant commit ins #684:
https://github.com/zulip/zulip/pull/684/commits/f9d3cba0a7e5ec4c05932dfd037bd782fc956a87
@krtkmj can you take a look at the implementation I linked to and post any comments on it?

@timabbott I will take a look.

@krtkmj cool, let me know once you've finished commenting on it (I'd like to give you a chance to review it before I process it for merging, but I'd like to process it soon so that @mjec isn't left waiting).

Closing this PR since #684 got merged which has similar feature.

Closing this PR since #684 got merged which has same feature.


[Addition]: Cheater wallet 11 million

Hotspot b58 Addresses
13JvUUfpd3rL9PRtf68nh9v1ijijHwbEnHcW2iVAioqkAqgyTra
14YeKFGXE23yAdACj6hu5NWEcYzzKxptYbm5jHgzw9A1P1UQfMv
Discord Handle
No response
Reason(s)
hello. Today i did the exactly purpose of blockchain. I mean, i followed a cheater wallet.
i took a cheater hotpot address: and i followed the payments.
The payments goes from a wallet to another one all of them are empy untill arrive to this one with 100 k
13JvUUfpd3rL9PRtf68nh9v1ijijHwbEnHcW2iVAioqkAqgyTra
This wallet sent money to AN 11 MILLION WALLET!!!! address 14YeKFGXE23yAdACj6hu5NWEcYzzKxptYbm5jHgzw9A1P1UQfMv
THOSE ARE 11 MILLION OF HNT MADE CHEATING. Now seriously i know that devs are working a lot, but i should think that i'm able to find it and you didn't???? i took 3 minutes to identify where they put all money and off course they do passing from 4-5 empty wallet for time.

For me it seem's to be an Exchange-Wallet...

sounds like an exchange wallet. Please only post hotspots addresses to help with entering into the denylist.


add working example of amp-install-serviceworker

Though @jmadler has already created template example of amp-install-serviceworker, as discussed in #130, I created working example of it using sw-precache as a practice of using it.
For PoC, I deployed it in https://yoshifumi-amp-demo.firebaseapp.com/components/amp-install-serviceworker/ On accessing here, the SW starts caching contents under img and video. (To install SW, you need to access there twice.)

Great!   Could we instead cache all resources (inkl. html) only for the amp-install-service-worker sample? This way users could test the SW by disconnecting from their network and reloading the page.

I added comments on your questions. This SW will be installed only from the demo page of amp-install-serviceworker and it caches all image files and video files once it is installed.

Could we instead cache all resources (inkl. html) only for the amp-install-service-worker sample?
Let me try if it works on my test server.

ok, changed Service Worker setting to cache all images, videos and HTML files. It works for all demo pages and the demos works when offline.

What happens if an article is updated? Will the cache be automatically invalidated? Otherwise we'd have a problem. That's why I'd prefer to only cache the sw sample.

Hey Yoshi!  Feel free to grab some of the text from my PR.  I'll close it after we commit this one.

Thanks for comments Sebastian and Jordan! As first step, I'll change the commit as follows:

Add more background derived from @jmadler 's last commit in #130
Shrink the caching scope only to amp-install-serviceworker, which may require elimination of usage of sw-precache and manual creation of sw.js.

I personally think caching larger objects such as image and videos makes difference on rendering pages, but I agree that it depends on the frequency of contents updates. Once I find better way to control cache update management, I hope to expand the caching scope to other demo pages so that users can experience the power of combination of AMP & Cache API.
Does this make sense to you guys?

That sounds like a great approach.  I think having a self-encapsulated example for amp-install-serviceworker is useful.  It might also be useful to have the SW send console messages that explain the kind of caching behavior a SW could do, since you'll be doing less actual caching now :)
Keep in mind also that we may want to actually make a SW for the overall ABE site at some point to enable offline usage and push notifications, so make sure the SW's scope is limited to this example and not the directory.

I added comments on the benefits of Service Worker and shrunk the scope of caching within amp-install-serviceworker demo. Unfortunately, the last commit from @jmadler was deleted and I couldn't refer to that.

I can issue a PR to add further text after this PR is merged.

Sorry for the delayed feedback. I've added some more comments. Also: I've tried running it locally, but offline mode didn't work even though the sw has been installed. It would also be nice to have a console message when the sw is installed.

Sorry for the delayed feedback. I've added some more comments. Also: I've tried running it locally, but offline mode didn't work even though the sw has been installed. It would also be nice to have a console message when the sw is installed.

It would also be nice to have a console message when the sw is installed.
That can be achieved in the JS which is installing the service worker, not in the service worker JS itself. So it should be done in amp-install-serviceworker itself. More precisely, in this function. https://github.com/ampproject/amphtml/blob/master/extensions/amp-install-serviceworker/0.1/amp-install-serviceworker.js#L109

That can be achieved in the JS which is installing the service worker, not in the service worker JS itself.

Too bad.
Am I doing something wrong, that the offline support doesn't work?

@ymotongpoo You should be able to log a console message in the SW's event handler for the 'install' event

Do we really need to show the log using console.log? In order to confirm if the service worker and target contents are cached in the browser, we need to access devtools, and in the case of seeing console.log, we open up devtools anyway. If adding console.log is the necessary requirement, using sw-precache is not fitting to the use, and I would rewrite sw.js from the scratch. (I checked option of sw-precache, and creating new template is required to add own event listener for install event)

@ymotongpoo depends on how much effort it is. It would be nice, but we should spend too much time on it.

@sebastianbenz I think current implementation is good to go, but it is all up to you. Rewriting all takes a couple of days more.

Let's start with sw-precache then. One last thing: can you generate sw.js directly into the dist folder? Otherwise we need to add it to the .gitignore.

changed gulpfile.js to delete temporarily generate file in static dir.

Why can't we directly generate sw.js into the dist folder. This way we wouldn't need a cleanup task.

Agreed. I did something wrong at that time. Now I made the process more simpler and gulp build generates sw.js directly into dist dir.

LGTM

@ithinkihaveacat Thanks! I've added this now here.


docs: Add UltraWideo to homepage

Extensions are sorted by user counts weighted by their rating.

@dvlden I'm just gonna merge this now unless you want me to wait. Anime Skip Player is in a similar rewriting state, I haven't pushed the code where it's using WXT.

Feel free to do so. I am in the process, slowly doing it whenever I have time.
It will be done eventually.


"Instance by billing" graph not visible when there are many billing groups

Describe the bug
When there are many billing groups, the graph is not visible in the Dashboard page.
Screenshots

Squest version or GIT commit number: v1.3b - 49be0b

Feature removed in the last dev branch.
Metrics will be managed by prometheus/grafana.
I close this one.


Fleet SSO Support Provisioning

What version of fleet are you using (fleet version --full)?

fleet - version 2.3.0
branch: master
revision: bc9782e
build date: 2019-08-14T18:55:06Z
build user: zwass
go version: go1.12.8

What operating system are you using?

CentOS Linux release 7.6.1810 (Core)

What did you do?
Enabling SSO on Fleet
What did you expect to see?
dont have to create users manually who have been granted access with SAML SSO and just get provisioned automatically.
What did you see instead?
i have to create the users manually and mark that they have SSO.

Would you please turn this into feature request ?

This should be a feature request and also quite high on the list

Oh that would be so useful to have. We're currently hacking around it by importing a bunch of parameters from a CSV into the database directly, which is not ideal.


Update README.md

quick fix in READMEconfig (forget coma)

Development on the main branch is EOL.
Trouble has been rewritten and will be merged in main soon.
This issue/feature either no longer exists or has been implemented on dev.
For more info, see https://github.com/folke/trouble.nvim/tree/dev


DMN Runner table view should display validation messages

As part of #174 some new AJV validation messages were added into DMN runner form view. however we do not show them in DMN Runner tabular view. We filter messages that we show for DMN runner tabular view in DmnUnitablesValidator.ts. We should desing solution for displaying these messages in DMN runner tabular view.

On #577 I've been experimenting with Red text underlined with a dotted line for showing errors. I didn't get to the point where I add the explanation to why there's an error, but we can use a Tooltip... WDYT? cc @ljmotta


[Issue]: Is there any instruction or vedio which can help users develop step by step

What platform are you experiencing this issue on?
Windows
What architecture is your platform?
64-Bit
What version of UWB are you using?
Git Repo
What Unity version are you running?
2021.3.6f1c1
Describe what the issue you are experiencing is.
I installed UWB, but I dont know how to get it work. Is there any instruction or vedio which can help users develop step by step?
The first issue I came accross:

What shoud I type in this input field of browser engine?

This is the error if the field is blank.
Provide reproducible steps for this issue.
It can be reproduced.
Any additional info you like to provide?
No response

Your Unity inspector is set to debug mode, which is hiding the custom inspector for the browser engine option.
If you need a sample, there is one included in the package, you just need to import it using the package manager.

Could you help to give a screenshot where the example is？I cant find it.
This is the code structure:

I have imported samples and how can I run the sample to see webpage

Its a prefab. Just add the prefab to your scene.

Yes It works.
I want to  spawn a browser window by add code after line 11, Is there examples?

Are you saying display a web page in an editor window?

No UWB doesn't support doing that
Thats beyond what this issue was originally about

Closing this now as the orginal issue seems to be resolved now and no other comments were made.


Created the PR Template

As discussed, I have created the PR Template to ensure that the PRs have enough details that will help the reviewers to gain more knowledge about the issue and our project.
@ramya-rao-a Please review and approve the template

/check-enforcer evaluate

/check-enforcer override

/check-enforcer override


Some input method related issue

going back in vscode with the arrow after having made a mistake, allows one only to type one character. The cursor then immediately moves to the right, so that one has to reposition the cursor back to where it was

@bblfish could you provide the steps to reproduce this issue? (I don't get the first sentence)

to repreoduce I type ^c^n which opens the "Compute normal form" box.
If I type anything into that and then place my mouse at the beginning of the box and type anything the first character will be placed at the position of the cursor in the box, but the cursor will then jump straight to the end and write the other characters there.

Fixed in v0.2.3

Took a month off from Agda. Looking forward to all these new improvements! :-)


Decorative images are flagged as images with missing alt text

Tool: Sitebulb
Page from the screenshots: https://energyvision.app.radix.equinor.com/sustainability/environment

I recall there was a difference between how Chrome and other browsers handled an empty alt tag, which may be causing this with sitebulb.
Not sure if there is anything we can do here since the guidelines states that we are supposed to write it like <img src="blabla" alt="" /> - which is what we do.
Supposedly an aria-hidden attribute is not needed in these cases, but maybe adding that will at least silence the warnings?

https://www.w3.org/WAI/tutorials/images/decorative/

Browser specific?

Run Lighthouse and check

I might actually have looked at the wrong image. Looks like it is the teaser image, seems like we don't add an empty alt text here for decorative img

@SvSven review please

Shows up as an alt tag without value in Edge

And an alt with empty value in FireFox

Which is in line with what I have seen before, but that may have been with other images - in which case based on @wenche 's message this should now be fixed then?

Let's hope so! We can verify next time Siteimprove crawls

Next crawl is scheduled by tomorrow

Sitebulb is now happy :thumbsup:
Still some issues with missing alt text, but that's for the AEM content.


GUI changes

I made several small changes to the GUI. I have not been able to test them on windows but on arch linux everything seems to look fine.
The changes include:

make the main window resizable
change the layout to resize properly
replace splash screen image
replace update spinner (i think for linux only!?)
set the colors so that everything is readable on desktops with dark color schemes

I have tried it out and it looks great. The only thing I have is that the new busy icon could be a bit less jagged, but I'm being very picky then. It's much better than the current one.
@gridcoin I can have a second look at the changes in detail if you're ok with this in the development branch.

I'll go ahead and merge this to avoid diverging PRs. @gridcoin Let me know if you disagree with this.
@skcin The only issue I have is having stylesheets in the code. If it's possible to move those to the UI files, can you try to sort it out and push a PR with just those changes?


mv error

Hello
A final "/" in a mv source path make command fail while in a true Linux FS this is OK.
My Windows ver Microsoft Windows [version 10.0.14393]

Expected results :
On a plain Linux FS mv normal behave is :

$ mkdir -p a/b/c
$ mkdir -p b/c/d
$ touch b/c/d/bla
$ mv -vi b/c/d/ a/b/c/
« b/c/d/ » -> « a/b/c/d »
$ ll a/b/c/d
total 0
-rw-r--r-- 1 toto toto 0 23 nov.  23:31 bla
$ ll b/c/
total 0

On WSL FS in the bash tree (not playing with NTFS "mounted" part of the disk)

Actual results :

$ mv b/c/d/ a/b/c/
mv: cannot move ‘b/c/d/’ to ‘a/b/c/d’: No such file or directory

If you remove final "/" in source path mv b/c/d a/b/c/ command works as it must, but if in some build script, packagers or developpers have used such final "/" in source path, command will fail ...

@ericclpt Fixed on #14901

Thanks,
I'm not an insider. I will wait for this release and one that will fix timer_create issue ...


Upgrade zos-lib dependency and use its Initializable

On version 1.9.2, we are listing<EMAIL_ADDRESS>as a required peer dependency, which should be upgradeable to the 1.4.1 being used by the CLI now.
Check if the the dependency is actually needed, and can be removed or upgraded.

As discussed in https://github.com/zeppelinos/zos/issues/143, we're keeping the peer dependency. It should be upgraded though.

PR #18 introduced our own copy of Initializable but we should use the one provided in zos-lib after zos-lib includes the changes we need and once perform this upgrade.

Those changes are in https://github.com/zeppelinos/zos/pull/167