Odd behavior when using SliverAppBar and RefreshIndicator

The behavior I'm trying to achieve is a SliverAppBar w/ floating: true and a ListView (or SliverListView, whatever works) below that can use the pull to refresh mechanic of a RefreshIndicator.
I've tried a handful of things to get this to work but each has issues, for some the floating part of the SliverAppBar fails to work, for some the Android overscroll coloring is positioned incorrectly (above the app bar), and for others RefreshIndicator either doesn't work or is positioned incorrectly (above the app bar).
Steps to Reproduce
To try out these different attempts, just replace the class being passed into runApp
import 'package:flutter/material.dart';

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

// Floating SliverAppBar does not work
// the app bar hides correctly on scroll but does not come back immediately
// when the user scrolls back up
class Nested extends StatelessWidget {
  @override
  Widget build(BuildContext context) => MaterialApp(
        home: Scaffold(
          body: NestedScrollView(
            headerSliverBuilder: (context, innerBoxIsScrolled) => [
                  SliverAppBar(
                    floating: true,
                    title: const Text('Title'),
                  ),
                ],
            body: ListView.builder(
              padding: EdgeInsets.zero,
              itemCount: 999,
              itemBuilder: (BuildContext context, int index) =>
                  ListTile(title: Text('$index')),
            ),
          ),
        ),
      );
}

// Floating SliverAppBar still doesn't work, but refresh works as expected
class NestedRefresh extends StatelessWidget {
  @override
  Widget build(BuildContext context) => MaterialApp(
        home: Scaffold(
          body: NestedScrollView(
            headerSliverBuilder: (context, innerBoxIsScrolled) => [
                  SliverAppBar(
                    floating: true,
                    title: const Text('Title'),
                  ),
                ],
            body: RefreshIndicator(
              onRefresh: () => Future.delayed(Duration(seconds: 2)),
              child: ListView.builder(
                padding: EdgeInsets.zero,
                itemCount: 999,
                itemBuilder: (BuildContext context, int index) =>
                    ListTile(title: Text('$index')),
              ),
            ),
          ),
        ),
      );
}

// Floating SliverAppBar works as expected
// Android overscroll color is shown above the app bar
// (weirdly, iOS bounce happens below the app bar)
class Custom extends StatelessWidget {
  @override
  Widget build(BuildContext context) => MaterialApp(
        home: Scaffold(
          body: CustomScrollView(
            slivers: <Widget>[
              SliverAppBar(
                floating: true,
                title: const Text('Title'),
              ),
              SliverList(
                delegate: SliverChildBuilderDelegate(
                  (context, index) => ListTile(title: Text('$index')),
                  childCount: 999,
                ),
              ),
            ],
          ),
        ),
      );
}

// Floating SliverAppBar works as expected
// Android overscroll color is shown above the app bar
//
// RefreshIndicator is positioned above the app bar, but works
class CustomRefresh extends StatelessWidget {
  @override
  Widget build(BuildContext context) => MaterialApp(
        home: Scaffold(
          body: RefreshIndicator(
            onRefresh: () => Future.delayed(Duration(seconds: 2)),
            child: CustomScrollView(
              slivers: <Widget>[
                SliverAppBar(
                  floating: true,
                  title: const Text('Title'),
                ),
                SliverList(
                  delegate: SliverChildBuilderDelegate(
                    (context, index) => ListTile(title: Text('$index')),
                    childCount: 999,
                  ),
                ),
              ],
            ),
          ),
        ),
      );
}

// Honestly didn't really expect this to work and it doesn't really.
//
// Floating SliverAppBar works as expected
// Android overscroll color is shown above the app bar
//
// RefreshIndicator doesn't work at all
class CustomRefresh2 extends StatelessWidget {
  @override
  Widget build(BuildContext context) => MaterialApp(
        home: Scaffold(
          body: CustomScrollView(
            slivers: <Widget>[
              SliverAppBar(
                floating: true,
                title: const Text('Title'),
              ),
              RefreshIndicator(
                onRefresh: () => Future.delayed(Duration(seconds: 2)),
                child: SliverList(
                  delegate: SliverChildBuilderDelegate(
                    (context, index) => ListTile(title: Text('$index')),
                    childCount: 999,
                  ),
                ),
              ),
            ],
          ),
        ),
      );
}

Logs

flutter doctor -v
[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.4 18E226, locale
    en-US)
    • Flutter version 1.5.4-hotfix.2 at /Users/dwempe/XXXX/flutter
    • Framework revision 7a4c33425d (7 weeks ago), 2019-04-29 11:05:24 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/dwempe/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio
      2.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • ios-deploy 1.9.4
    • CocoaPods version 1.7.1

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio 2.app/Contents
    • Flutter plugin version 36.1.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1343-b01)

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.0.0
      (API 26) (emulator)

Not seeing much for issues and stack overflow posts about this, but it was mentioned in a comment
https://github.com/flutter/flutter/issues/27906#issuecomment-499434569
on this issue https://github.com/flutter/flutter/issues/27906
@vanlooverenkoen perhaps you know of a solution?

I'm currently trying to get this behavior in my application, did you ever find a solution to this?

@wemped
For the first example ('Nested') follow up on https://github.com/flutter/flutter/issues/17518

Hi @wemped
This is currently not working as expected, there is a proposal to make it work with SliverAppbar https://github.com/flutter/flutter/issues/54272
Please follow up on that issue, I'm closing the current one as a duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you

Hi @wemped
This is currently not working as expected, there is a proposal to make it work with SliverAppbar https://github.com/flutter/flutter/issues/54272
Please follow up on that issue, I'm closing the current one as a duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you


[Enhancement] Dashboards build pipeline on jenkins does not have snapshots builds

Coming from #1497 we need dashboards to have snapshots builds before we can push it from ci to artifacts snapshots dir.
@kavilla will take a look on this per ticket.
Please refer to https://github.com/opensearch-project/opensearch-build/blob/main/jenkins/opensearch/distribution-build.jenkinsfile to add the snapshots section in https://github.com/opensearch-project/opensearch-build/blob/main/jenkins/opensearch-dashboards/distribution-build.jenkinsfile
Thanks.
Acceptance Criteria
OpenSearch-Dashboards builds snapshots successfully and uploads to artifacts/snapshots directory

@joshuarrrr @kavilla @peterzhuamazon Are we planning to add snapshot builds for OpenSearch Dashboards?

Hi @kavilla Are you working on this issue?

This would really help security-dashboards-plugin CI checks to run more efficiently. The checks are currently running into an issue where the runners are running out of disk space: https://github.com/opensearch-project/security-dashboards-plugin/issues/1611
More details on the CI checks can also be found here: https://github.com/opensearch-project/OpenSearch-Dashboards/issues/5335
In order to run integ tests, security dashboards plugin checks out the OSD repo and runs yarn osd bootstrap to install the node modules and those steps collectively take multiple GBs of disk space.

I believe we need the OpenSearch-Dashboards core repository to tell us how to build the snapshots version of core engine. For OpenSearch, we have https://github.com/opensearch-project/opensearch-build/blob/main/jenkins/opensearch/publish-min-snapshots.jenkinsfile that published opensearch-min-snapshots to artifacts.opensearch.org.
Something similar is what is expected I believe.  @cwperks How about create an issue in https://github.com/opensearch-project/OpenSearch-Dashboards to add the same and then next step would be integrating it with build pipelines?

@gaiksaya I opened another issue in the OSD repo here about publishing snapshots to artifacts.opensearch.org.


nanomq: 0.13.1 -> 0.13.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/emqx/nanomq/releases.
meta.description for nanomq is: "An ultra-lightweight and blazing-fast MQTT broker for IoT edge"
meta.homepage for nanomq is: "https://nanomq.io/"
meta.changelog for nanomq is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.13.5 with grep in /nix/store/h33wwmzd3p879alx94jjxfi35ggzxb44-nanomq-0.13.5
found 0.13.5 in filename of file in /nix/store/h33wwmzd3p879alx94jjxfi35ggzxb44-nanomq-0.13.5

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
nanomq

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/h33wwmzd3p879alx94jjxfi35ggzxb44-nanomq-0.13.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A nanomq https://github.com/r-ryantm/nixpkgs/archive/9bc2e7646ad4b2ef575c1f48ef04e39190cd13c1.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/h33wwmzd3p879alx94jjxfi35ggzxb44-nanomq-0.13.5
ls -la /nix/store/h33wwmzd3p879alx94jjxfi35ggzxb44-nanomq-0.13.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

nanomq

Maintainer pings
cc @sikmir for testing.

Duplicates #202701.


bson: simplify StringUtils

JAVA-4013

@amarkevich, sorry for losing track of this.  This has now been merged.  Thanks for the contribution!


Pass CLUSTER_TYPE to sriov operator

Close https://github.com/k8snetworkplumbingwg/sriov-network-operator/issues/141

/cc @Mmduh-483


mediaUriElement: RTSP streaming freezes after some seconds without firing any event

As written in the title, after installing the codecs (LAV filters) I've tried setting the mediaUriElement source to the RTSP h264 stream provided by a AXIS IP Camera; the stream starts for 1-2 seconds, then it freezes, without firing any event (mediafailed/mediaended/mediaclosed). I see that the mediaposition continues changing but the player is frozen on the last showed frame. If I set the source again, "mediaended" and then "mediaopened" are fired and the stream starts playing again for 1-2 seconds then freezes again.
I've already tried setting "Loop" property to true.
I've tried setting the source to another public RTSP h264 stream (es. bigbuckbunny), without having any problem. But with other WPF components (es. Stream-Player-Control) my AXIS IP camera RTSP stream plays correctly without freezing.
What could it be?
Thanks

Maybe the graph. The MediaKit creates a basic graph using the automated linking when adding the filters, so, somethimes it doesnt load the proper filters.
Load the camera's software and execute it, then, open graphedit and load the runtime graphs. And after that compare it with the graph created by the media kit

From: KodeKooker<EMAIL_ADDRESS>Sent: Thursday, August 17, 2017 2:45 AM
To: Sascha-L/WPF-MediaKit
Cc: Subscribed
Subject: [Sascha-L/WPF-MediaKit] mediaUriElement: RTSP streaming freezes after some seconds without firing any event (#46)
As written in the title, I've tried setting the mediaUriElement source to the RTSP h264 stream provided by a AXIS IP Camera; the stream starts for 1-2 seconds, then it freezes, without firing any event (mediafailed/mediaended/mediaclosed). I see that the mediaposition continues changing but the player is frozen on the last showed frame. If I set the source again, "mediaended" and then "mediaopened" are fired and the stream starts playing again for 1-2 seconds then freezes again.
I've already tried setting "Loop" property to true.
I've tried setting the source to another public RTSP h264 stream (es. bigbuckbunny), without having any problem. But with other WPF components (es. FFMpeg based) my AXIS IP camera RTSP stream shows correctly without freezing.
What could it be?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Sascha-L/WPF-MediaKit/issues/46, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGe0ECD0JufM_zo_QeOn-gAjHQCiWvyIks5sY--hgaJpZM4O55OK.

I'm choosing which media component I will integrate in my application, so, sorry, I don't have time to debug it at such a low level... please notify me if this (supposed) bug is going to be looked into any time soon, thanks

http://i.dailymail.co.uk/i/pix/2013/09/26/article-0-18472E1B00000578-928_634x354.jpg
[http://i.dailymail.co.uk/i/pix/2013/09/26/article-0-18472E1B00000578-928_634x354.jpg]

From: KodeKooker<EMAIL_ADDRESS>Sent: Thursday, August 17, 2017 10:56 AM
To: Sascha-L/WPF-MediaKit
Cc: JLuis Estrada; Comment
Subject: Re: [Sascha-L/WPF-MediaKit] mediaUriElement: RTSP streaming freezes after some seconds without firing any event (#46)
I'm choosing which media component I will integrate in my application, so, sorry, I don't have time to debug it at such a low level... please notify me if this (supposed) bug is going to be looked into any time soon, thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Sascha-L/WPF-MediaKit/issues/46#issuecomment-323115954, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGe0ENR8avLWPlRUPCp7ZnJ4HV9hwt4lks5sZGKPgaJpZM4O55OK.

@jluisestrada Your previous post contain some pictures, are they related to this issue or is it a mistake?

@KodeKooker it's hard to tell if it's a bug or some other problem with your installation. The StreamPlayerControl and WebCameraControl look interesting, it's main differences are: 1) FFMpeg based, 2) uses HwndHost (airspace issues).
There are a few others WPF video projects - players. Unfortunately, each of them have some bugs, deficiencies. There is no clearly the best WPF video player.
@jacobbo what about to improve the WPF Media Kit instead of the starting own WebCameraControl?

Sorry, can't help with your issue as I'm not familiar with LAV filters.

@jacobbo yep, but would it be possible to improve the WPF-MediaKit to be able to use FFMpeg for decoding and it's D3DRenderer for rendering?

@KodeKooker try the WebCameraControl, it's based on the DirectShow, too. If you have same problems, then the problem is in the DirectShow - the DirectShow filters probably. Try installing the newest K-Lite codecs, see Wiki https://github.com/Sascha-L/WPF-MediaKit/wiki/Codecs


max-index-log-file-size parsed differently between config and environment

In docs + the config file, you can set
max-index-log-file-size = "128k"
But... when they set
INFLUXDB_DATA_MAX_INDEX_LOG_FILE_SIZE="128k"
in their charts, Influx threw a paddy and refused to come up. We had to get them to change it to
INFLUXDB_DATA_MAX_INDEX_LOG_FILE_SIZE=131072
Are we doing some kind of type enforcement on the env var that we're not doing to the config file? They're running 1.8.10

Background: When we use the toml library to do the config parsing, these config parameters are type toml.Size and so the SI unit sizing works.
When we do the environment variable overrides, we don't do anything special for the SI unit sizing and it barfs.

Facing same issue, had to use numbers instead of the SI unit in ENV variable. When is this scheduled to fix or atleast get the docs fixed for the same so it reflects correct usage when using ENV -- https://docs.influxdata.com/enterprise_influxdb/v1.9/administration/configure/config-data-nodes/#tsi-tsi1-index-settings

@kelseiv - maybe we could put the doc fix in for the next Enterprise release....

Doc note made


Create a template from an existing file

What about adding this feature that enables you to create a template from an existing file and then replacing some parts with placeholders?

We've had this before the ".fttemplates" folder was introduced.
If you want to create a template from an existing folder or file you should be able to just copy that and enter the placeholders yourself


Refactor CI workflow and add installation of build dependencies

Move build out-of-source to avoid implicit dependency on in-source building.
Put CI setup/building commands in scripts, so that they can be used also on developer machines.

This is ready for review.

@yzhang93 or @raikonenfnu could make a review?

Lgtm


Leader line showing unexpected behaviour

Having issue with the leader line when initalize the plugin in position: fixed modal box.

Hi @itonic-minrai, thank you for the comment.
Could you explain that?

No reply came, then this abandoned issue is closed.


Create additional vocabularies in AMF_CVs.

Need to make sure that these values:
$ ls -1 check-data/v2.0/spreadsheets/product-definitions/tsv/_vocabularies/

community-instrument-name-and-descriptors.tsv
creators.tsv
data-products.tsv
file-naming.tsv
ncas-instrument-name-and-descriptors.tsv
platforms.tsv

...make it into these parts of the AMF vocabs (json files):
$ ls AMF_CVs/AMF_CVs/ | grep -v product

AMF_CVs/AMF_CVs/AMF_instrument.json
AMF_CVs/AMF_CVs/AMF_platform.json
AMF_CVs/AMF_CVs/AMF_product.json
AMF_CVs/AMF_CVs/AMF_scientist.json

At the moment they are not getting generated by:
create-cvs $CHECK_TMPDIR/product-definitions $CHECK_TMPDIR/cvs

Done.


kSubmapsToKeep config parameter for pure localization

A config parameter for how many submaps are kept during pure localization would be good.
Currently it is hard coded here to 3:
  if (trajectory_options.pure_localization()) {
    constexpr int kSubmapsToKeep = 3;
    pose_graph_->AddTrimmer(common::make_unique<PureLocalizationTrimmer>(
        trajectory_id, kSubmapsToKeep));
}

This can limit the pose optimization, especially if you run with a low TRAJECTORY_BUILDER_3D.submaps.num_range_data

Sounds good, I can review a PR for this. The OverlappingSubmapTrimmer does use config values, you can use that as an example.


Electron apps specifically not being interactable on a specific monitor

Regression?
Yes
System Info and Version
 System/Version info
❯ hyprctl systeminfo -c
Hyprland, built from branch  at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

flags: (if any)

System Information:
System name: Linux
Node name: Archie
Release: 6.9.7-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:50 +0000

GPU information:
0b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 33 [Radeon RX 7600/7600 XT/7600M XT/7600S/7700S / PRO W7600] [1002:7480] (rev cf) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

======Config-Start======

Config File: /home/tickbase/.config/hypr/hyprland.conf: Read Succeeded

#⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣤⣤⣤⣤⣤⣶⣦⣤⣄⡀
#⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⡿⠛⠉⠙⠛⠛⠛⠛⠻⢿⣿⣷⣤⡀
#⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⠋⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⠈⢻⣿⣿⡄
#⠀⠀⠀⠀⠀⠀⠀⣸⣿⡏⠀⠀⠀⣠⣶⣾⣿⣿⣿⠿⠿⠿⢿⣿⣿⣿⣄
#⠀⠀⠀⠀⠀⠀⠀⣿⣿⠁⠀⠀⢰⣿⣿⣯⠁⠀⠀⠀⠀⠀⠀⠀⠈⠙⢿⣷⡄
#⠀⠀⣀⣤⣴⣶⣶⣿⡟⠀⠀⠀⢸⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣷
#⠀⢰⣿⡟⠋⠉⣹⣿⡇⠀⠀⠀⠘⣿⣿⣿⣿⣷⣦⣤⣤⣤⣶⣶⣶⣶⣿⣿⣿
#⠀⢸⣿⡇⠀⠀⣿⣿⡇⠀⠀⠀⠀⠹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃
#⠀⣸⣿⡇⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠉⠻⠿⣿⣿⣿⣿⡿⠿⠿⠛⢻⣿⡇
#⠀⣿⣿⠁⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣧
#⠀⣿⣿⠀⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿
#⠀⣿⣿⠀⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿
#⠀⢿⣿⡆⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⡇
#⠀⠸⣿⣧⡀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠃
#⠀⠀⠛⢿⣿⣿⣿⣿⣇⠀⠀⠀⠀⠀⣰⣿⣿⣷⣶⣶⣶⣶⠶⠀⢠⣿⣿
#⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⣿⣿⡇⠀⣽⣿⡏⠁⠀⠀⢸⣿⡇
#⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⣿⣿⡇⠀⢹⣿⡆⠀⠀⠀⣸⣿⠇
#⠀⠀⠀⠀⠀⠀⠀⢿⣿⣦⣄⣀⣠⣴⣿⣿⠁⠀⠈⠻⣿⣿⣿⣿⡿⠏
#⠀⠀⠀⠀⠀⠀⠀⠈⠛⠻⠿⠿⠿⠿⠋⠁

$scrPath = $HOME/scripts

# █░░ ▄▀█ █░█ █▄░█ █▀▀ █░█
# █▄▄ █▀█ █▄█ █░▀█ █▄▄ █▀█

#--> https://wiki.hyprland.org/Configuring/Keywords/

exec-once = waybar
exec = $scrPath/save_window.sh
exec = arrpc
exec-once = hyprlock
exec-once = openrgb
exec-once = waypaper --restore

# █▀▀ █▄░█ █░█
# ██▄ █░▀█ ▀▄▀

#--> https://wiki.hyprland.org/Configuring/Environment-variables/

env = XCURSOR_SIZE,24
env = XCURSOR_THEME,Nordzy-cursors
env = GTK_THEME,Nordic-darker
env = GTK_CURSOR,Nordzy-cursors
env = QT_QPA_PLATFORMTHEME,qt5ct
env = XDG_ICON_THEME,ePapirus-Dark
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = EDITOR=nvim

# █ █▄░█ █▀█ █░█ ▀█▀
# █ █░▀█ █▀▀ █▄█ ░█░

#--> https://wiki.hyprland.org/Configuring/Variables/

input {
     kb_layout = no
     follow_mouse = 1
     sensitivity = 0
     force_no_accel = 1
     accel_profile = "adaptive"
     scroll_method = "2fg"
     scroll_button = 0
     scroll_button_lock = 0
     scroll_factor = 1.0
     natural_scroll = false
     float_switch_override_focus = 1
     scroll_points = "0.1 0.2 0.3 0.5 0.7 1.0"
}

#--> https://wiki.hyprland.org/Configuring/Variables/

gestures {
  workspace_swipe = true
  workspace_swipe_fingers = 3
}

# █░░ ▄▀█ █▄█ █▀█ █░█ ▀█▀ █▀
# █▄▄ █▀█ ░█░ █▄█ █▄█ ░█░ ▄█

#--> https://wiki.hyprland.org/Configuring/Dwindle-Layout/

dwindle {
  pseudotile = yes
  preserve_split = yes
}

#--> https://wiki.hyprland.org/Configuring/Master-Layout/

master {
  new_status = master
}

xwayland {
  force_zero_scaling = true
}

# █▀ █▀█ █░█ █▀█ █▀▀ █▀▀
# ▄█ █▄█ █▄█ █▀▄ █▄▄ ██▄

source = ~/.config/hypr/animations.conf
source = ~/.config/hypr/keybindings.conf
source = ~/.config/hypr/windowrules.conf
source = ~/.config/hypr/monitors.conf
source = ~/.config/hypr/themes/theme.conf
source = ~/.config/hypr/themes/common.conf

Config File: /home/tickbase/.config/hypr/animations.conf: Read Succeeded
animations {
    enabled = yes
    bezier = wind, 0.05, 0.9, 0.1, 1.05
    bezier = winIn, 0.1, 1.1, 0.1, 1.1
    bezier = winOut, 0.3, -0.3, 0, 1
    bezier = liner, 1, 1, 1, 1
    animation = windows, 1, 6, wind, slide
    animation = windowsIn, 1, 6, winIn, slide
    animation = windowsOut, 1, 5, winOut, slide
    animation = windowsMove, 1, 5, wind, slide
    animation = border, 1, 1, liner
    animation = borderangle, 1, 30, liner, loop
    animation = fade, 1, 10, default
    animation = workspaces, 1, 5, wind
}

Config File: /home/tickbase/.config/hypr/keybindings.conf: Read Succeeded

# █▄▀ █▀▀ █▄█ █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ █▀
# █░█ ██▄ ░█░ █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ ▄█

#--> https://wiki.hyprland.org/Configuring/Keywords/
#--> https://wiki.hyprland.org/Configuring/Binds/

# Main modifier
$mainMod = SUPER

# assign apps
$terminal = alacritty
$fileManager = nemo
$menu = /home/tickbase/.config/rofi/launchers/type-1/launcher.sh -show drun
$powermenu = /home/tickbase/.config/rofi/powermenu/type-1/powermenu.sh
$print = $scrPath/screenshot.sh
$picker = $scrPath/hyprpicker.sh

# Window/Session actions
bind = $mainMod, W, killactive, # Close active window
bind = $mainMod, Delete, exit, # Kill hyprland session
bind = $mainMod, V, togglefloating, # Toggle the window between focus and float
bind = $mainMod, F, fullscreen, # Toggle the window between focus and fullscreen
bind = $mainMod, DOWN, togglesplit, # Toggle the window between focus and split
bind = $mainMod, L, exec, hyprlock # Launch lock screen
bindm = $mainMod, mouse:272, movewindow # Move windows
bindm = $mainMod, mouse:273, resizewindow # Resize windows

# Application Shortcuts
bind = $mainMod, Return, exec, $terminal # Launch Terminal
bind = $mainMod, E, exec, $fileManager # Launch file manager
bind = $mainMod, Space, exec, $menu # Launch application launcher
bind = $mainMod, P, exec, $powermenu # Launch powermenu
bind = $mainMod, C, exec, $picker # Launch color picker
bind =,Print, exec, $scrPath/screenshot.sh # Take a screenshot

# Audio Control
bindel=, XF86AudioRaiseVolume, exec, amixer set Master 5%+; $scrPath/volume_notify.sh # Increase volume
bindel=, XF86AudioLowerVolume, exec, amixer set Master 5%-; $scrPath/volume_notify.sh # Decrease volume
bindl=, XF86AudioMute, exec, amixer set Master toggle; $scrPath/volume_notify.sh # Toggle audio mute

# Media Control
bindel=, XF86AudioPrev, exec, $scrPath/media-controlv2.sh save; $scrPath/media-controlv2.sh previous # Media previous
bindel=, XF86AudioNext, exec, $scrPath/media-controlv2.sh save; $scrPath/media-controlv2.sh next # Media next
bindel=, XF86AudioPlay, exec, $scrPath/media-controlv2.sh save; $scrPath/media-controlv2.sh play-pause # Toggle between play and pause

# Switch workspaces
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Move/Change window focus
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Move focused window to a workspace
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

# Scroll through existing workspaces
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

Config File: /home/tickbase/.config/hypr/windowrules.conf: Read Succeeded

# █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█   █▀█ █░█ █░░ █▀▀ █▀
# ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀   █▀▄ █▄█ █▄▄ ██▄ ▄█

#--> https://wiki.hyprland.org/Configuring/Window-Rules/

# Wallpaper waybar
windowrule = float, ^(waypaper)$
windowrule = move 900 60, ^(waypaper)$
windowrulev2 = float,class:(vpn.py),title:(WireGuard VPN Manager)
windowrulev2 = float,class:(wallpaper.py),title:(Wallpaper Selector)
windowrulev2 = float,class:(main.py),title:(Inventory Management)

Config File: /home/tickbase/.config/hypr/monitors.conf: Read Succeeded

# █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█
# █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄

monitor=DP-1,1920x1080@144,1920x1080,1
monitor=DP-2,1920x1080@60,3840x1080,1
monitor=DP-3,1920x1080@60,0x1080,1
monitor=HDMI-A-1,1920x1080@60,1920x0,1

Config File: /home/tickbase/.config/hypr/themes/theme.conf: Read Succeeded
exec = gsettings set org.gnome.desktop.interface icon-theme 'ePapirus-Dark'
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Nordic-darker'
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'

general {
    gaps_in = 3
    gaps_out = 8
    border_size = 2
    col.active_border = rgba(8fbcbbff) rgba(5e81acff) 45deg
    col.inactive_border = rgba(4c566aff) rgba(3b4252ff) 45deg
    layout = dwindle
    resize_on_border = true
}

group {
    col.border_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
    col.border_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
    col.border_locked_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
    col.border_locked_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
}

decoration {
    rounding = 10
    drop_shadow = false

    blur {
        enabled = yes
        size = 6
        passes = 3
        new_optimizations = on
        ignore_opacity = on
        xray = false
    }
}

layerrule = blur,waybar

Config File: /home/tickbase/.config/hypr/themes/common.conf: Read Succeeded

# █▀▀ █░█ █▀█ █▀ █▀█ █▀█
# █▄▄ █▄█ █▀▄ ▄█ █▄█ █▀▄

exec = hyprctl setcursor Nordzy-cursors 14
exec = gsettings set org.gnome.desktop.interface cursor-theme 'Nordzy-cursors'
exec = gsettings set org.gnome.desktop.interface cursor-size 14

# █▀▀ █▀█ █▄░█ ▀█▀
# █▀░ █▄█ █░▀█ ░█

exec = gsettings set org.gnome.desktop.interface font-name 'Liga SFMono Nerd Font'
exec = gsettings set org.gnome.desktop.interface document-font-name 'Liga SFMono Nerd Font'
exec = gsettings set org.gnome.desktop.interface monospace-font-name 'Liga SFMono Nerd Font'
exec = gsettings set org.gnome.desktop.interface font-antialiasing 'rgba'
exec = gsettings set org.gnome.desktop.interface font-hinting 'full'

======Config-End========

Description
I have 3 monitors and a tv as my main setup and they are configured with this layout:
HDMI-A-1
DP-1 DP-2 DP-3
This has worked flawlessly for awhile and i have experienced 0 issues until maybe 2 or 3 weeks ago when electron apps in specific stopped getting focus and became completely "frozen" and it specifically happens on my left monitor. If i swap DP-1 and DP-3 and swap them back then its fine again but after some time the same issues start happening. I have 0 clue why it happens.
How to reproduce
To reproduce i have 0 clue how someone would. I assume it could be related to putting computer to sleep a couple times. Disconnecting mouse and using it wirelessly (i do this from time to time), etc.
hyprland.log
Crash reports, logs, images, videos
No response

electron on xwayland?

I have the same issue, not only in Electron, but all xwayland windows.
I have two monitors; on the left side, there is a 3440x1440 monitor; on the right side, there is a 2560x1440 one. If I open an xwayland window on the left (bigger) monitor, only the right side of the window is clickable. I'm not sure, but I assume that if my cursor is in the x, y position, the xwayland window registers it in the min(x, 2560), y position. In other words, if the cursor is on the far left side (close to x=0), I cannot click the buttons there; instead, a button gets clicked on the same y coordinate, but on the middle of the right half of the monitor (around x = 2560, i didn't measure it properly).
Also note that I'm using the split-monitor-workspaces plugin; I'm not sure if it has anything to do with this.

I think I have the same issues too. If I change one of my monitor configs like monitor = DP-3, 2560x1440@120, 0x0, 1 to monitor = DP-3, 2560x1440@120, 0x0, 1, bitdepth, 10 it seems to fix it. However, the issue would happen again after I reboot, even with the added bitdepth, 10 config, which I would then remove to temporarily fix it, and vice versa. So far, I've had this issue with VSCode and XIVLauncher

I think I have the same issues too. If I change one of my monitor configs like monitor = DP-3, 2560x1440@120, 0x0, 1 to monitor = DP-3, 2560x1440@120, 0x0, 1, bitdepth, 10 it seems to fix it. However, the issue would happen again after I reboot, even with the added bitdepth, 10 config, which I would then remove to temporarily fix it, and vice versa. So far, I've had this issue with VSCode and XIVLauncher我想我也有同样的问题。如果我将监视器配置之一更改为 monitor = DP-3, 2560x1440@120, 0x0, 1 到 monitor = DP-3, 2560x1440@120, 0x0, 1, bitdepth, 10 ，它似乎可以修复它。但是，即使添加了 bitdepth, 10 配置，问题也会在我重新启动后再次发生，然后我将删除该配置以暂时修复它，反之亦然。到目前为止，我在 VSCode 和 XIVLauncher 上遇到了这个问题

I have the same issue , especitailly in wechat-universal-bwrap and r3playx, and change monitor to bitdepth, 10 also have temporarily fixed it.

My electron apps started going crazy about 2-3 weeks ago. Really terrible rendering that made them unusable and made my system crash. I ended up removing all electron/ozone flag configs including ones set in chromium-based browsers @chrome://flags and that fixed it for me. Not sure if this is the same issue you are referring to, but it might be worth checking.

Setting:
env = ELECTRON_USE_OZONE,1
env = OZONE_PLATFORM,wayland
env = GDK_BACKEND,wayland

Fixed the issues for me.

Having same issue. Any Chromium based app/browser is unusable on the left side. I have to run two windows and keep Steam or brave on the right side of the screen in order to use them.

An update fixed it for me. My current hyprctl version:
Hyprland, built from branch  at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

flags: (if any)

doing --ozone-platform-hint=auto (making it not run in XWayland) fixed it for me

This is still happening for me with xwayland electron windows on latest git (commit 312411fc7073143a8bf1fc3ba23ef403b7d15eee). Adding --ozone-platform-hint=wayland indeed fixes it, but not all my apps work well that way.

I think the issue happens if you turn off a monitor, and then turn it back on. I have two monitors, and I used to regularly turn off and turn back on one of them. I stopped doing that, and since then, I haven't seen this issue.

Can confirm, that the way to reproduce this is to turn off and back on any monitor (I specifically do my main, middle one, on a triple setup). And it also only happens on xwayland windows (afaik), which I still have to use due to #2588. I've worked around this by ditching monitor configuration in Hyprland and using Kanshi, but it's not as convenient, especially because there is no way to prevent Hyprland from messing with the monitors on a reload. So i just kill, and run kanshi on every reload...


tapas installation is not working

! sudo apt-get install protobuf-compiler
! git clone https://github.com/google-research/tapas
! pip install -e ./tapas
i used the above steps for installing the package on colab. I am getting the below errors after installation.
ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-7-26bb9379ffca>](https://localhost:8080/#) in <module>()
----> 1 from tapas.utils import tf_example_utils

ModuleNotFoundError: No module named 'tapas.utils'

To solve this you need to restart the Runtime. So once the git clone and pip installs are complete, restart the runtime and after that resume the execution.
This will solve the problem you are having.

Problem not solved after restarting runtime. Any other solutions?


Update example

[X] ❗ I have followed the Contributing to DVCLive
guide.

[ ] 📖 If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here.

Thank you for the contribution - we'll try to review it as soon as possible. 🙏
Notes
Aims to solve #663

Add sections and key bullet points about what the example does.

Following some of the dynamics from Hugginface notebooks examples
, in which configuration trace has been erased but ML results are shown.

Discussion : some of the plots appear as empty

[ ] Test core not pass : related to studio ?
[ ] code spell : prob missspelling

Hello there.
Ultimately, I´ve submitted the Notebook without being executed.
With that in mind, would like to encourage you to think about how to , at some point, solve this challenge (executed notebooks) in order to make tool adoption easier for data scientists.

Test core not pass : related to studio ?

Test failures are unrelated to your changes. I am working on a fix

Codecov Report
Patch has no changes to coverable lines.
:loudspeaker: Thoughts on this report? Let us know!.


Added limit for maximum number of users in a single room

Added the possibility to define the maximum number of users that can join a single room.

Done.

Can I ask about  what is actually the use case for this option?

Yes, to prepare rooms with dynamic maxLastN and uses per room. I have rooms for max 20 users and they have maxLastN set 10. I have rooms for 100 users, but then these rooms have maxLastN set to 2. This way I make sure that nobody overloads the server. As I have fixed rooms, I control how many users are per server.


[ID Tool] Implement Filter system

Related to #55

Add keywords to the filter system.

Should we match Grants.gov filters
Forecasted  (303)
Posted  (2,423)
Closed  (4,620)
Archived  (60,379)
?

Filter for rejected grants

We'd like to ship 3 filters: Opportunity Status, Opportunity Category, and Cost Sharing.
Figma file
Clickable prototype
The Opportunity Status filter address #17 by allowing the user to filter out Closed / Archived grants.

Started manual testing in the Render staging instance, and see this when I select "Interested" in "Review Status":

I assume that "NV:AGO" is a Nevada agency. Should I be able to see this row when I'm logged in as a USDR user?

@chrisxkeith NV:AGO looks like it's actually a valid agency under the usdr tenant on the staging environment - I can see it in the agency tab

Verified in production


fix issue 1676

Summary

Fix issue  #1676 Broken internal link on Google sheets.
Let hyperlink support internal link.
Test plan

I need to know how to test, thanks.
Related to source code (for typings update)

@Siemienik Unit tests have been added. Thank you!


Cost/Distance Matrix

Is it important to respond to callbacks with minimal latency, not to slow down the solver?
Or, does the solver first cache all Node-combinations using callbacks, and then executes searches using its cache?
Naturally, we do not the cache-fill process to take too long, but if it's done once it should not be much of an issue ...

It uses a dynamic cache, not a full one.
Le dim. 19 mai 2019 à 11:44, Guy<EMAIL_ADDRESS>a écrit :

Is it important to respond to callbacks with minimal latency, not to slow
down the solver?
Or, does the solver first cache all Node-combinations using callbacks, and
then executes searches using its cache?
Of course, we do not the cache fill process to task too long, but if done
once this should not be much of an issue ...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1292?email_source=notifications&email_token=ACUPL3J52GDH5JHSW3CNTSDPWEOQJA5CNFSM4HN4COBKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUSLY5A,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3JZAO2JXTNDH7GNXUDPWEOQJANCNFSM4HN4COBA
.

Thx.
Would any relevant NodeA-NodeB combination be fetched once, and remain in cache until a solution is found? or could there be re-fetches?
At least from what I've seen, the solver systematically iterates through all Node-index values and calls the NE2;  but maybe things change later...

The cache has a fixed size.
Le dim. 19 mai 2019 à 12:54, Guy<EMAIL_ADDRESS>a écrit :

Thx.
Would any relevant NodeA-NodeB combination be fetched once, and remain
in cache until a solution is found? or could there be re-fetches?
At least from what I've seen, the solver systematically iterates through
all Node-index values and calls the NE2; but maybe things change later...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1292?email_source=notifications&email_token=ACUPL3NU6AONHTMZDZGVYJDPWEWYBA5CNFSM4HN4COBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVW7U4Y#issuecomment-493746803,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3NSWCCQQZDQYS7AJK3PWEWYBANCNFSM4HN4COBA
.

So with large data sets there would be re-caching?

Can I set the cache size such that the solver always runs from it?

// Parameters which have to be set when creating a RoutingModel.
message RoutingModelParameters {
// Parameters to use in the underlying constraint solver.
ConstraintSolverParameters solver_parameters = 1;
// Advanced settings.
// If set to true reduction of the underlying constraint model will be
// attempted when all vehicles have exactly the same cost structure. This
can
// result in significant speedups.
bool reduce_vehicle_cost_model = 2;
// Cache callback calls if the number of nodes in the model is less or
equal
// to this value.
int32 max_callback_cache_size = 3;
}
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le mer. 22 mai 2019 à 09:37, Guy<EMAIL_ADDRESS>a écrit :

Can I set the cache size such that the solver always runs from it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1292?email_source=notifications&email_token=ACUPL3KP2FY47DESFCEPQ5LPWTZ4BA5CNFSM4HN4COBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV6FZSQ#issuecomment-494689482,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3LTPJICTSYNVDNBGW3PWTZ4BANCNFSM4HN4COBA
.

thx

ReduceVehicleCostModel=true  seems to be the default setting. Using this (by default) with different vehicle costs did consider vehicle costs, and did not ignore/override the different costs. Makes sense?
For a model with 20 identical vehicles, toggling ReduceVehicleCostModel between true/false did not show a difference in calculation time. Makes sense?
(actually, false was ~10% faster, but too few trials to really determine this).

For increasing cache and a few tests, there is an improvement; maybe 25%.
Does the increased cache apply to all callbacks? or just for ArcCost?

Can you pls, calrify

Hello Laurent,
Can you please clarify whether the cache setting automatically applies to all callbacks used in the model or just for ArcCost callback?
Can it be applied selectively to certain callbacks?

Cache is per callback.


(GH-762) Fix TeamCity Disposable

Currently TeamCityDisposableExtensions extends TeamCityProvider and
therefore aren't accessible by default. Switched to extend
ITeamCityProvider. Also now returns IDisposable.

Relates to #762

@RichiCoder1 could you rebase this against latest develop and then I'll look at reviewing this for merging.

@RichiCoder1 merged, thanks for your contribution :+1:


SD card read error when running resin device init

resin-cli version: 6.6.6
Operating system and architecture: OSX

When running resin device init, the following error is thrown:
myDir|master⚡ ⇒ resin device init
? Select an application myApplication (raspberrypi3)
Getting device operating system for raspberrypi3
The image was downloaded successfully
Registering to myApplication: 0ae449beef92da12caece6764639ed1830b7e2a8bafb1e1fda1944600d57a6
Configuring operating system image
? Network Connection wifi
? Wifi SSID mySSID
? Wifi Passphrase **********************
{ Error: Invalid volume signature!
    at Object.exports.init (/usr/local/lib/node_modules/resin-cli/node_modules/fatfs/vol.js:7:69)
    at init (/usr/local/lib/node_modules/resin-cli/node_modules/fatfs/index.js:64:35)
    at /usr/local/lib/node_modules/resin-cli/node_modules/fatfs/index.js:49:21
    at /usr/local/lib/node_modules/resin-cli/node_modules/resin-image-fs/build/driver.js:52:16
    at FSReqWrap.wrapper [as oncomplete] (fs.js:665:17)
  cause:
   Error: Invalid volume signature!
       at Object.exports.init (/usr/local/lib/node_modules/resin-cli/node_modules/fatfs/vol.js:7:69)
       at init (/usr/local/lib/node_modules/resin-cli/node_modules/fatfs/index.js:64:35)
       at /usr/local/lib/node_modules/resin-cli/node_modules/fatfs/index.js:49:21
       at /usr/local/lib/node_modules/resin-cli/node_modules/resin-image-fs/build/driver.js:52:16
       at FSReqWrap.wrapper [as oncomplete] (fs.js:665:17),
  isOperational: true }

This occurs while using a 16gb (micro) sd card, both when mounted and unmounted, and both when the device (/dev/disk2) is included or omitted from the command.

Ah, I see, thanks for the report. We've been holding on dev recently as part of redesigning the CLI, and we've some outstanding bugs at the moment in image configuration for ResinOS v2 images, which I suspect is causing this.
I don't have a CLI workaround I can guarantee right now. You may be able to make this work with resin os download, resin local configure including setting the hostname, and then resin os initialize, but I'm not sure.
The reliable workaround for now is to download a configured image through the dashboard instead, and then run resin os initialize to flash it to your disk, or use Etcher. My top priority for the next few weeks is these major CLI bug fixes though, before we move onto an big CLI update, so we should have a proper solution for you soon!

@mdtusz We've sorted out a long list of other outstanding issues with the CLI around this image configuration work now, and I currently can't reproduce this. Can you? I suspect it's now been fixed incidentally as part of the other fixes. If you can reproduce it, let me know exactly which image you're using and I'll take a closer look.

I'm going to close this as fixed for now - feel free to reopen with details if you can reproduce this.


Replacing 'kustomize' binary with 'kubectl kustomize' binary. (#75)

kustomize has been embedded in the kubectl command, so we can use kubectl in most of the places.
Signed-off-by: Yoni Bettan<EMAIL_ADDRESS>Fixes #171
/cc @ybettan

/lgtm


Docs for instrumenting various App Servers

In the Java SIG today, @trask suggested it would be nice if we had docs for adding auto instrumentation for the various popular Java App servers.  Splunk has such a doc on their site:
https://docs.splunk.com/Observability/gdi/get-data-in/application/java/instrumentation/java-servers-instructions.html
Perhaps Splunk could contribute such content to the OTel doc site.
cc @breedx-splk

+1 -- happy to have them :-)

Yep, happy to have these as well.

Will gladly open a PR for this!

I've opened https://github.com/open-telemetry/opentelemetry.io/pull/3459

This is awesome, thanks!


[python] Use non-empty domain to significantly improve performance on to-CSR

Issue and/or context: Found during performance analysis.
Changes: Now that we can have "room for growth" large shape-as-capacity, performance of the to_csr can be improved by orders of magnitude when we utiilize bounding-box data.
Notes for Reviewer:
Analysis script: https://gist.github.com/johnkerl/6d662b928938379209c53a9f793d0ecc
Timings before this PR:
$ analysis.py tiledb://johnkerl-tiledb/tabula-sapiens-immune-registered
URI tiledb://johnkerl-tiledb/tabula-sapiens-immune-registered
---------------------------------------------------------------- get obs/var lengths
 7.477 SECONDS MISC. nobs: 1000 nvar: 30000

---------------------------------------------------------------- query X blockwise CSR
51.985 seconds X block-iter page shape: (1000, 30000)
58.863 SECONDS X BLOCK-ITER DOUBLE-SELECT TOTAL

---------------------------------------------------------------- query X tiledb row-sel scipy col-sel
36.152 seconds X read shape:<PHONE_NUMBER>,<PHONE_NUMBER>)
 0.014 seconds X to_scipy shape:<PHONE_NUMBER>,<PHONE_NUMBER>)
 6.870 seconds X to_csr shape:<PHONE_NUMBER>,<PHONE_NUMBER>) nnz: 2184147
14.412 seconds X var subset shape:<PHONE_NUMBER>, 30000) nnz: 1128774
57.448 SECONDS X TILEDB ROW-SEL SCIPY COL-SEL TOTAL

---------------------------------------------------------------- query X tiledb row/col-sel
37.402 seconds X double-select read
 0.004 seconds X double-select to_scipy shape:<PHONE_NUMBER>,<PHONE_NUMBER>) nnz: 1128774
 6.819 seconds X double-select to_csr nnz: 1128774
44.225 SECONDS X DOUBLE-SELECT TOTAL

Timings with this PR:
$ analysis.py tiledb://johnkerl-tiledb/tabula-sapiens-immune-registered
URI tiledb://johnkerl-tiledb/tabula-sapiens-immune-registered
---------------------------------------------------------------- get obs/var lengths
 7.414 SECONDS MISC. nobs: 1000 nvar: 30000

---------------------------------------------------------------- query X blockwise CSR
29.983 seconds X block-iter page shape: (1000, 30000)
38.550 SECONDS X BLOCK-ITER DOUBLE-SELECT TOTAL

---------------------------------------------------------------- query X tiledb row-sel scipy col-sel
22.756 seconds X read shape: (264824, 58559)
 0.015 seconds X to_scipy shape: (264824, 58559)
 0.019 seconds X to_csr shape: (264824, 58559) nnz: 2146409
 0.022 seconds X var subset shape: (264824, 30000) nnz: 1100047
22.812 SECONDS X TILEDB ROW-SEL SCIPY COL-SEL TOTAL

---------------------------------------------------------------- query X tiledb row/col-sel
21.030 seconds X double-select read
 0.004 seconds X double-select to_scipy shape: (264824, 58559) nnz: 1100047
 0.010 seconds X double-select to_csr nnz: 1100047
21.044 SECONDS X DOUBLE-SELECT TOTAL

Update: unit-test issues to be fixed by using the non-empty domain, which resolves issues involving #1969 and #1971.

Update:

There have been discussions about dim-expansion (outside the scope of this PR)
The following can be used to speed up to-CSR (without need for a PR):

exp = soma.open(uri)
meas = "RNA"
X_layer = exp.ms[meas].X["data"]
< xcoo = X_layer.read().coos().concat()
> nobs = exp.obs.count
> nvar = exp.ms[meas].var.count
> xcoo = X_layer.read().coos(shape=(nobs,nvar)).concat()


Zoho mail plugin requires login every time

Title, Zoho Mail plugin requires me to login every time i re-open franz

Same for Todoist and Trello. I think it's an issue for Franz plugins in general. Hope the fix is easy.


Support for STA+softAP mode.

This PR adds support for simultaneous station (STA) and access point (AP) mode.
WARNING: API Change.  The network_fsm module has been changed to network, to reflect the fact that the network implementation is no longer a finite state machine.
The ap_network example has been changed to ap_sta_network, and the sta_network example has been removed.
Documentation has been cleaned up and corrected.
These changes are made under the terms of the LGPL v2.1 (or any later version)
and Apache 2.0 licenses.

looks ok, however isn't endpoint a bit too generic for sntp?

Yeah, I added that because I noticed in IDF SDK 4 they have added a callback for notification of a time change.  So I thought in the future we could support something like:
    ...
    {smtp, [{endpoint, "pool.ntp.org"}, {update_handler, fun handle_update/1}]},
    ...

Or were you thinking of a better name than endpoint?

Or were you thinking of a better name than endpoint?

What about host?

I think we may use a more consistent naming with other callbacks, such as time_updated?

endpoint -> host`


Level the playing field for navigation libraries

Introduction
The aim is to move towards some new text for the "Navigating Between Screens” page that’s fair to all navigation libraries, both old and new.
The Core of It
The first two promises on the front page of the React Native website are:

The apps you are building with React Native aren't mobile web apps because React Native uses the same fundamental UI building blocks as regular iOS and Android apps
React Native uses the same design as React, letting you compose a rich mobile UI using declarative components

Documenting the pros and cons of a navigation library should be done with these promises in mind
Discussion points
For a navigation library to keep the first promise it must use the same fundamental navigation building blocks as regular iOS and Android apps. React Navigation breaks this promise. Although it uses UIViewControllers, thanks to react-native-screens, it doesn’t use the UINavigationBar, for example. The UINavigationBar is a fundamental navigation building block. One of its many jobs is displaying titles, large or small, and animating them as screens are popped and pushed.
To keep the second promise, a navigation library must provide declarative components for constructing its UI. React Native Navigation breaks this promise because it doesn’t have any components at all (apart from SharedElement). All of its UI elements, like headers and buttons are configured through static options and global function calls. React Navigation also relies on static options because, without portals, it owns the UI where the headers and buttons live.
React Native already comes with a Modal component that uses the underlying native API on both platforms. So why then do React Navigation and React Native Navigation come with their own Modal APIs that break both the promises?
The Navigation router is the only navigation library that keeps both the promises of React Native. It uses the underlying native APIs on Android and iOS and you compose all its UI using components. That’s why, although it’s a new library, it deserves a mention in the documentation.

The Navigating Between Screens is still biased towards React Navigation. It should be rewritten so it’s fair to all navigation libraries. React Native wrote an excellent blog about it's Team Principles. Perhaps an even-handed approach could be to compare the community navigation libraries against these principles?


Improve glslang binary compatibility

Safer binary compatibility between 1.0 and 1.1 versions, without using struct embedding, which can produce different results because of structs aligment requirements.

When I used a contained struct the idea was I would later remove it. But on thinking about this a little more - depending on target/alignment, doing such a transformation is unsafe, as the variables after the contained struct are now aligned to the largest contained alignment.
It is possible that in practice that might have been okay. But it seemed like a rocky place to start trying to get binary compatibility right. So just took the pain.


docs: minor updates on internal links and notes

Description
Some minor aesthetic fixes adding Docusaurus notes and tips boxes and  add link to recently merged page Deployment Scenarios.

There's also a link to How issues are prioritized which does not exist in the document so we should either remove the reference or add a priority section.


Document NICs built into many Acer laptops and some Asus

motherboards.

These two pull requests document popular NICs in Acer laptops and Asus motherboards.

Missed a line.


DJANGO_MODE var

hello, thanks for your work!
i wanted to ask if it's possible to use a .env file to set the DJANGO_MODE env variable, instead of setting it in the terminal?
and if it is not, can we have it? :)
it would make keeping a consistant development and production env easier

hi again @funkybob
i think what i'm asking can be done with a few lines of code
there is already an env parameter in the use() method
i can extend the get_settings_instance method so it can use the os.getenv() or use a library such as django-environ depending on the value of env argument.
i'm thinking about getting the path to the file as argument, instead of a bool, to make it more costumizable
also i see that django-environ is already used in many projects so it can be a safe option to use, but if you want you can only have it as an optional dependency, i leave that to you to decide
if you are ok with it, i can code it and send a pull request.
let me know what you think

I'm always happy for people to write PRs :)
I think you misunderstood what I was proposing. The new argument could be either a bool (to use the default filename), or a path to the file to use. So we're pretty much in agreement there :)

Upon further contemplation, I think the best approach here is to document how this can be cleanly achieved, rather than specifically endorse any one solution.
I do appreciate and thank you for your efforts to contribute.


Support multiple AppDomains

I want to run performance tests against different versions of components. For example, I want to run serialization against Catel 4.2, 4.3, 4.4, etc. This way I am sure that the benchmarks are always correct (and not dependent on the machine they are being run on).

This is possible. I made some improvements, the versioning should use the testCase name. Then we can use something like this:


Dealing with NixOS immutable Ghidra installation

Hello!
I'm using Ghidra on NixOS. NixOS is a Linux distribution that is different from more traditional Linux distributions in such a way that the installed packages are stored in the read-only mountpoint, so it's impossible just to place the ghidrathon.save file into the lib/ghidra subdirectory of Ghidra installation directory.
I was able to cope by running "python ghidrathon_configure ." to create the ghidrathon.save file in my home and then adding an override to my NixOS configuration:
nixpkgs.overlays = let
    ghidrathon_save_file = pkgs.writeText "ghidrathon.save" ''
      <contents of ghidrathon.save go here>
    '';
  in [ (self: super: {
    ghidra = super.ghidra.overrideAttrs (old:{
      postFixup = ''
        ln -s ${ghidrathon_save_file} $out/lib/ghidra/ghidrathon.save
      '' + old.postFixup;
    });
  }) ];

While this solution does help, and allows running Ghidrathon, it is kind of a hack, and it'd be really nice to have a way to configure the ghidrathon.save file location. For example, it could be configured through a system environment variable, named something like GHIDRATHON_SAVE_PATH.
Can you guys please add a feature like that?

Thank you for reporting @checooh . This is a very reasonable change that we can add in a future release.


As a librarian I should be able to attach Documents to Series

Attach Document by PID or title.
Should the attach feature be available in the Document details, Series details or both?

to discuss also if we handle it in the backoffice UI or record editor

TODO:
Document details page: Attach to series functionality.
Series detail page: a table with all attached documents, delete button for each one of them, add button to attach documents one by one (no multiple attaching for now)


[BUG] Rancher is not able to use refresh tokens with KeyCloak OIDC producing errors in both apps logs

Rancher Server Setup

Rancher version: 2.8.0
Installation option (Docker install/Helm Chart): Helm chart

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):
v1.26.10+k3s2

Information about the Cluster

Kubernetes version: v1.26.10+k3s2
Cluster Type (Local/Downstream): Local

User Information

What is the role of the user logged in? Admin/Restricted Admin

Describe the bug
When Rancher integrated with KeyCloak OIDC, and KeyCloak user logs into Rancher, if user session left idle for some time, Rancher tries to use refresh_token and fails with an error, filling both these apps logs.
To Reproduce

Deploy Rancher via helm chart to the cluster, for example

helm upgrade --install rancher rancher-latest/rancher --namespace cattle-system

Enable integration with KeyCloak OIDC via UI or API.
Log into Rancher with KeyCloak user.
Leave the logged session idle in tab for some time

Result
Rancher logs are full of errors like
2023/12/11 19:02:28 [ERROR] Error refreshing token principals, skipping: oauth2: "invalid_grant" "Token is not active"
2023/12/11 19:02:28 [ERROR] [keycloak oidc] GetPrincipal: error creating new http client: oauth2: "invalid_grant" "Token is not active"
2023/12/11 19:02:28 [ERROR] error syncing 'u-is3oxk626n': handler mgmt-auth-userattributes-controller: oauth2: "invalid_grant" "Token is not active", requeuing

Same on KeyCloak side
2023-12-11 19:40:17,049 DEBUG [io.quarkus.vertx.http.runtime.ForwardedParser] (vert.x-eventloop-thread-7) Recalculated absoluteURI to https://my-keycloak-install.com/auth/realms/develop/protocol/openid-
connect/token
2023-12-11 19:40:17,049 DEBUG [org.keycloak.transaction.JtaTransactionWrapper] (executor-thread-123) new JtaTransactionWrapper
2023-12-11 19:40:17,049 DEBUG [org.keycloak.transaction.JtaTransactionWrapper] (executor-thread-123) was existing? false
2023-12-11 19:40:17,050 DEBUG [org.keycloak.authentication.AuthenticationProcessor] (executor-thread-123) AUTHENTICATE CLIENT
2023-12-11 19:40:17,050 DEBUG [org.keycloak.authentication.ClientAuthenticationFlow] (executor-thread-123) client authenticator: client-secret
2023-12-11 19:40:17,050 DEBUG [org.keycloak.authentication.ClientAuthenticationFlow] (executor-thread-123) client authenticator SUCCESS: client-secret
2023-12-11 19:40:17,050 DEBUG [org.keycloak.authentication.ClientAuthenticationFlow] (executor-thread-123) Client rancher authenticated by client-secret
2023-12-11 19:40:17,050 DEBUG [org.keycloak.transaction.JtaTransactionWrapper] (executor-thread-123) new JtaTransactionWrapper
2023-12-11 19:40:17,050 DEBUG [org.keycloak.transaction.JtaTransactionWrapper] (executor-thread-123) was existing? true
2023-12-11 19:40:17,050 DEBUG [org.keycloak.transaction.JtaTransactionWrapper] (executor-thread-123) JtaTransactionWrapper  commit
2023-12-11 19:40:17,050 DEBUG [org.keycloak.transaction.JtaTransactionWrapper] (executor-thread-123) JtaTransactionWrapper end
2023-12-11 19:40:17,050 DEBUG [org.keycloak.transaction.JtaTransactionWrapper] (executor-thread-123) JtaTransactionWrapper resuming suspended
2023-12-11 19:40:17,050 WARN  [org.keycloak.events] (executor-thread-123) type=REFRESH_TOKEN_ERROR, realmId=ffffffff-ffff-ffff-ffff-ffffffffffff, clientId=rancher, userId=null, ipAddress=<IP_ADDRESS>,
 error=invalid_token, grant_type=refresh_token, client_auth_method=client-secret
2023-12-11 19:40:17,050 DEBUG [org.keycloak.services.resources.Cors] (executor-thread-123) Added CORS headers to response
2023-12-11 19:40:17,050 DEBUG [org.keycloak.transaction.JtaTransactionWrapper] (executor-thread-123) JtaTransactionWrapper  commit
2023-12-11 19:40:17,050 DEBUG [org.keycloak.transaction.JtaTransactionWrapper] (executor-thread-123) JtaTransactionWrapper end

Expected Result
No errors in both logs
Additional context
Per KeyCloak log the authentication itself is successful, but it is not clear what is happening next with refresh token.
I've double checked the rancher client configuration in KeyCloak, and it does allow usage of refresh tokens.

I'm seeing the same on Rancher v2.7.9

Same issue in v2.7.5

Also Rancher 2.8.3

@ValeriiVozniuk
Is the bug/fix reported here just that we want the logs to be less noisy in this case?
As far as I can tell, the situation is something that is expected for users that have not logged-in recently enough to have an unexpired refresh token when the periodic refresh process runs.

@crobby
It looks like a bug here, where Rancher either use correct refresh token incorrectly, or doesn't stop retrying when already received response that current refresh token is no longer valid. Or both.

I can confirm this is happening on our instance v2.7.9 with Keycloak 24.0.8

I can confirm this is also happening with Rancher v2.8.2 with Keycloak v23.0.7

We also have the same symptoms.
This needs to be fixed quickly.

I did not dig deeper into this, but I suspect it may be that rancher is not correctly handling refresh-token rotation here.
The standard flow in keyclaok is, that each time a token is  refreshed you also get new refresh token.
See https://github.com/rancher/rancher/blob/ac7c9ae6db37820d121e19731db85e31ed9683b1/pkg/auth/providers/oidc/oidc_provider.go#L489

QA Testing
Root cause
We were trying to use the fetch a new token using the wrong API, which resulted in an error. Additionally, it doesn't stop retrying if the token has expired
What was fixed, or what changes have occurred
Use the right API to fetch a new token when it has expired using the refresh token.
Stop retrying if the refresh token has expired as it won't work until the user logs in and gets a new token.
Areas or cases that should be tested

Verify a new token is fetched when the token has expired, but the refresh token is still valid.
Verify Rancher shows a message in the logs, and stops retrying if the refresh token has expired.

What areas could experience regressions
Keycloak and OIDC auth providers should keep working as before


Google Account login

How to log in if my account was opened using Google account login?

I had this issue and found a workaround.  Since the app doesn't support google auth, i performed a password reset from udemy's web site and, then I could use my account email with the password I'd just specified.
Now either the google or the username/password combination will work to log me on in the wap, and the un.pass works within udeler.

@rommelsmz The feature is not yet implemented. For now, follow instructions from @NeilCross


ember-gesture-modifiers 5

Need to upgrade to ensure that both ember-stereo directly and indirectly depends on ember-modifier v4.

:tada: This PR is included in version 4.2.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 5.0.0-beta.20 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Changing the size of the graph doesn't change the size of the SVG

Describe the bug
Hi! This bug relates to the flamegraph.width function [0].
In our application we added a resize function to change the size of the flamegraph based on the size of its container. We're using the flamegraph.width function [0] and giving it a value based on the width of the container. What I'm noticing however is that if the graph is initialized at one size, and then the window size is increased, the graph gets cut off.
From a bit of debugging, it seems that the issue is the svg width is never updated after initialization. When the width is changed and the chart is redrawn, this line [1] gets hit, but because the svg exists already the following code that updates the dimensions is never reached. So if I opened a window at 800px width, resized it to 1000px, the graph displays at 1000px width but is cutoff because the svg is only 800px.
I can get around this by changing the svg width to be 100% from a stylesheet, but figured I'd bring this up anyways.
[0] https://github.com/spiermar/d3-flame-graph#width
[1] https://github.com/spiermar/d3-flame-graph/blob/2.0.3/src/flamegraph.js#L489
To Reproduce
Steps to reproduce the behavior:
Pre-req: needs an onresize function that updates the flamegraph width via flamegraph.width() with the new width of the container

Draw a flamegraph
Increase the size of the browser via dragging/etc.
Notice that the chart is clipped

Expected behavior
The svg width should update when the graph width is updated.
Screenshots
In this image, the body is cyan, and the chart div is light green. After resizing larger, the frame is cutoff by the old width of the svg.

I do something similar on my code, but you're right, it should be in the plugin.
    const resizeFlameGraph = (elementId, chart) => {
            const element = document.getElementById(elementId)
            const width = element.clientWidth - 10
            let svg = element.getElementsByClassName('d3-flame-graph')
            if (svg.length > 0) {
                svg[0].setAttribute('width', width)
            }
            chart.width(width)
            chart.resetZoom()
        }

FWIW, I have this exact same usecase and I just posted the "solution" I've come up with in https://github.com/spiermar/d3-flame-graph/issues/149#issuecomment-863206300, that preserves zoom, search highlights and all other state.

Thanks @pradyunsg! Feel free to submit a PR, otherwise I can make the changes later too.

@pradyunsg the change above implements both suggestions you made. Thank you.


Welcome to Mary-Assadourian Discussions!

Discussed in https://github.com/Trendsetters-tips/Mary-Assadourian/discussions/1

Originally posted by Unstoppable320bsessioN October 30, 2022

👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:

Ask questions you’re wondering about.
Share ideas.
Engage with other community members.
Welcome others and are open-minded. Remember that this is a community we
build together 💪.

To get started, comment below with an introduction of yourself and tell us about what you do with this community.

Decode what the universe wants for my blog but they will not let me own one so the media can steal my work with no crime. Caskets for Christmas please, for everyone!


Remove source map

@demmer

I ended up changing https://github.com/jut-io/grunt-dry so it no longer generates source maps by default, so when I bumped the dependency and re-ran grunt it accomplished the same thing.


Is this library still functional/relevant/maintained as of 2021?

As the title describes, my issue is in wondering if this library is still relevant/practical and functional as of 2021 or if there are any alternatives that would be more suited?
thanks.

I would say the lack of maintenance is the only issue with this project.
I'm fairly certain there's rules can be removed because it targets IE10 users, but is not needed for IE11 (Assuming IE support is important at all now a days for a library like this). At some classic Edge support should be given the same treatment as IE support. Windows versions with classic Edge are still being supported however, so it's not dead yet.

There are a couple of alternatives that are actively maintained:

Sanitize.css (https://github.com/csstools/sanitize.css)
Modern-normalize (https://github.com/sindresorhus/modern-normalize) - used by tailwind
Reboot (https://getbootstrap.com/docs/5.0/content/reboot/) - used by BS4+

There are a couple of alternatives that are actively maintained:

Sanitize.css (https://github.com/csstools/sanitize.css)
Modern-normalize (https://github.com/sindresorhus/modern-normalize) - used by tailwind (https://tailwindcss.com/docs/preflight)
Reboot (https://getbootstrap.com/docs/5.0/content/reboot/) - used by BS4+

Which ones of those are more commonly used today?

When I redid my site recently, I went with modern normalize because I was trying to use Tailwind (I hated it, but I'm sure there's a good use case for it if you're not regenerating the CSS all the time)

There are a couple of alternatives that are actively maintained:

Sanitize.css (https://github.com/csstools/sanitize.css)
Modern-normalize (https://github.com/sindresorhus/modern-normalize) - used by tailwind (https://tailwindcss.com/docs/preflight)
Reboot (https://getbootstrap.com/docs/5.0/content/reboot/) - used by BS4+

Which ones of those are more commonly used today?

Hello, Reboot is probably the mostly used one as it it is part of Bootstrap 4 and 5 which is still hugely popular.
Modern-normalize seems to be becoming more popular mostly due to Tailwind becoming more popular. Sanitize.css seems to be the most popular standalone package. I would probably use Sanitize or Modern-normalize in non-bootstrap projects  and use the already included Reboot when working on a modern Bootstrap project
Here is a graph of the download statistics (Reboot's popularity is probably misleading, as their is no official standalone package of it): https://www.npmtrends.com/bootstrap-vs-modern-normalize-vs-sanitize.css-vs-normalize.css
Cheers

There are a couple of alternatives that are actively maintained:

Sanitize.css (https://github.com/csstools/sanitize.css)
Modern-normalize (https://github.com/sindresorhus/modern-normalize) - used by tailwind (https://tailwindcss.com/docs/preflight)
Reboot (https://getbootstrap.com/docs/5.0/content/reboot/) - used by BS4+

Which ones of those are more commonly used today?

Hello, Reboot is probably by far the most downloaded one as it it is part of Bootstrap 4 and 5 which is still hugely popular.
Modern-normalize seems to be becoming more widespread in part due to Tailwind becoming more popular. That package also seems to be much more actively maintained at the moment.
Sanitize.css seems to be the most popular standalone package, that people actually add as a dependency to their project.
I would probably use Sanitize.css or Modern-normalize in non-Bootstrap projects, use the built in Modern-normalize in Tailwind projects and use the already included Reboot when working on a modern Bootstrap projects (newer than 3).
Here is a graph of the download statistics (Reboot's popularity is probably misleading, as their is no official standalone package of it): https://www.npmtrends.com/bootstrap-vs-modern-normalize-vs-sanitize.css-vs-normalize.css
Cheers

Awesome! Thanks for the reply!

Maybe take a look at this:

https://github.com/csstools/normalize.css#differences-from-necolasnormalizecss


Fix config-sample.json

config-sample.json contains an unnecessary "," . So I removed It.

thanks for your PR :+1:


Clipping a Text mark?

Should the Text mark support a clipping rect? A clipping circle? A way to reference another mark and use it as a clipping mask?

Maybe introduce a clip: "rect" option that consumes x1, x2, y1, y2?

browser support for clip-path: polygon is not great…
Current best effort notebook: https://observablehq.com/@observablehq/plot-treemap-clip


npm is not recognized as an internal or external command, operable program or batch file, when use different node version

Hi
I am using Window PC.
I had already node 0.10.25
to install another node version in same pc , i installer nvm for window
after it i installed   node 6.9.5
Now i got 2 node version : (nvm list)
6.9.5

0.10.25 (Currently using 32-bit executable) and npm is working (v : 1.3.24)

when i use (nvm use 6.9.5)
npm is not working :
npm is not recognized as an internal or external command, operable program or batch file
when use different node version
Thanks for any help in advance.

nvm-windows is an entirely different project.

Just add:
;C:\Program Files\nodejs\
accepted | Just add:;C:\Program Files\nodejs\To the end of your Path variable on the "User variable" section of the Environment Variables on the System Properties.
After that, reopen your command prompt and type
npm

I had added still 'npm' is not recognized as an internal or external command,
operable program or batch file.

I had added still 'npm' is not recognized as an internal or external command,
operable program or batch file.

you will need to install a version of node via nvm install latest first .

under folder C:\Users\userName\AppData\Roaming\nvm\v11.13.0 , no documents npm.cmd  ，only one file node.exe，i don't know why?

@zhuzhh nvm does not support windows, unless you’re using WSL. Are you sure you’re not using nvm-windows, a different project?

Hi
I am using Window PC.
I had already node 0.10.25
to install another node version in same pc , i installer nvm for window
after it i installed node 6.9.5
Now i got 2 node version : (nvm list)
6.9.5

0.10.25 (Currently using 32-bit executable) and npm is working (v : 1.3.24)

when i use (nvm use 6.9.5)
npm is not working :
npm is not recognized as an internal or external command, operable program or batch file
when use different node version
Thanks for any help in advance.

if you have node.js installed, go to node.js folder (C:\Program Files\nodejs) and open windows power shell from windows explorer's File menu. now you can use npm command in Power Shell!

Hi,
I just had the same issue with access the commands in Visual Studio Code.
When i first installed Nodejs, i changed the directory installation so this directory was added automatically to "Path" in envrionement variables and I was able to access to the cmd directly in cmdlet.
When I added the gulp and Yaoman extensions, their sources files were not added to the same place as NodeJs instead they were placed at "C:\Users\userName\AppData\Roaming\npm" and this path was not added to "Path" envrionment variable and that was the root cause why couldn't access and had the message "npm was not recognzed ...".
So to fix this you have to:
1- Add the path "C:\Users\userName\AppData\Roaming\npm" to the envrionement variable "Path"
2-Restart your IDE (Visual Studio Code in my case)
Hope ot helps !

I had added still 'npm' is not recognized as an internal or external command,
operable program or batch file.

you will need to install a version of node via nvm install latest first .
then use nvm use [version]

plz tell me how to install  nvm

@muzammilmahi read the readme

I had added still 'npm' is not recognized as an internal or external command,
operable program or batch file.

you will need to install a version of node via nvm install latest first .
then use nvm use [version]

It's working for me.


Null Safety Support

Can you please upgrade it to support null safety ?

This is a duplicate of #11


undefined: spdy.NewClientTransport

I was using v0.1.0 version and my program ran OK.
transport, err := spdy.NewClientTransport(client)

Now, using origin master, I get this error:
undefined: spdy.NewClientTransport

Which method I need to use instead ?

The spdy transport is being abstracted out. A stream provider is created then used to create a transport.
provider, err := spdy.NewSpdyStreamProvider(client, false)
...
transport := spdy.NewTransport(provider)

The spdy directory will soon be renamed since the implementation has been generalized and rather spdy is choosen by creating the creating the provider (the sream multiplex implementation). Notice creating a transport will no longer return an error.
Feedback on this interface is appreciated. Eventually http2 support will be added and only the provider initialization should need to change.


Reduce memory allocation

Removing addressable reduce a lot the number of object allocated
Taking a more similar approach to Rails current_page? method to calculate current path
Some stats from our app with about 5 links using the helper
Before
Memory(bytes): 23871
Objects: 226
After
Memory(bytes): 7960
Objects: 136
Some other minor changes to try to improve gem settings

@GBH there' some small difference on matching paths without addressable, Rails approach is more naive but at least the test suite are passing and I've been using my branch with any major problem

Cool @gssbzn

@gssbzn are you using your branch on your production app? it would be great if this PR is not caused any regression

@saiqulhaq We've been using it without any kind of problem so far

I'm closing this as I'm no longer actively working with Ruby


feat: queen waits for worker connections

In order to the environment immediately could be called by other CI jobs, it is necessary to all connections be set up.
For that I modified the bee.sh in that way, before logging it awaits for the queen node be connected to all worker nodes by calling peers on its debug API EP.

What is the reasoning for delaying the logs?

Basically that I wrote to the PR description

In order to the environment immediately could be called by other CI jobs, it is necessary to all connections be set up.

we need that to call like this from the CI side so that other job steps can immediately interact with the environment


One issue in your CSS is the unnecessary repetition of width: 70% !important; inside the .mt-2.mb-5 button styles.

closed via #275


Move CRD fixup hack for 3.11

Due to an OLM bug in OCP 3.11, the generated CRD needs some tweaking. Previously this was being done via a bespoke script invoked through a go:generate directive. After boilerplate adoption, this script was doing operator-sdk generate redundantly (it was already part of the op-generate target).
This commit removes the script and the redundant operator-sdk generates, and adds a temporary make target to do the CRD fixup. All of this will go away once we no longer need to run on 3.11.

Is this change going to be in the boilerplate? I am asking as another operator has concerns for the CRD deployment

/approve

Is this change going to be in the boilerplate? I am asking as another operator has concerns for the CRD deployment

Yeah, that's a good question. I'd like to solve this one by hand the first time around to make sure it's working, and then we can look at making it generic (we'll have to discover which files to apply the fixup to).
It's temporary (only as long as 3.11 lives) so not worth putting a whole lot of effort into.

/lgtm


Remove MC Video Tutorial Page - relocate videos

Fixes
Checklist

[x] I have made a material change to the repo (functionality, testing, spelling, grammar)
[x] I have read the [Contribution Guide] and my PR follows them.
[x] I updated my branch with the master branch.
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation about the functionality in the appropriate .md file
[ ] I have added in line documentation to the code I modified

Short description of what this PR does:

Removed MC Dashboard Page
Redirected MC Dashboard page to overview page
Renamed "Marketing Campaigns" page "Overview"
Removed the MC Video Tutorial page
Redirected MC Video Tutorial page to MC Overview Page
Added all of the videos from the Video tutorials page to the MC Overview page

If you have questions, please send an email to Sendgrid, or file a Github Issue in this repository.

Hello @Whatthefoxsays,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


KOGITO-7403: Variables in antora-playbook.yml and antora-playbook-aut…

…hor.yml are not in sync

moving all antora attributes to serverlessworkflow/antora.yml
added package-lock.json

@ricardozanini any idea on how we will document the productized experience?  As this will be a different quarkus (productized 2.7.x version).   Also, since we won't be part of quarkus platform, is there a way to generate a maven project that references the right (productized) kogito version (or do we have to document how to replace the community version with a productized one)?

Is this one ready for merge?

@ricardozanini any idea on how we will document the productized experience? As this will be a different quarkus (productized 2.7.x version). Also, since we won't be part of quarkus platform, is there a way to generate a maven project that references the right (productized) kogito version (or do we have to document how to replace the community version with a productized one)?

I think we can do a doc in the release referring to the right productized Quarkus version to use instead. Since it's based on the CLI, we can mention that users must use a different version when bootstrapping the project.


Start Timed Quiz

Start Timed Quiz
User Story
AS A coding boot camp student
I WANT to take a timed quiz on JavaScript fundamentals that stores high scores
SO THAT I can gauge my progress compared to my peers
Acceptance Criteria
GIVEN I am taking a code quiz
WHEN I click the start button
THEN a timer starts and I am presented with a question

Completed code, commented in the JS Code


Results are incorrect for VPC only accounts

For AWS accounts that have VPC only (no EC2-Classic) the report breaks and displays UNUSED RESERVATION! when the reservation is used.
##########################################################
####         AWS account1 Reserved Instances Report  #####
##########################################################
-------
Below is the report on EC2 Classic reserved instances:
UNUSED RESERVATION!	(4)	m3.medium	All	Expires in [364] days.
You have no unreserved EC2 Classic instances.
(0) running on-demand EC2 Classic instances
(4) EC2 Classic reservations
-------
Below is the report on EC2 VPC reserved instances:
You have no unused EC2 VPC reservations.
NOT RESERVED!	(2)	t2.micro	us-west-1a
NOT RESERVED!	(4)	m3.medium	us-west-1a
(6) running on-demand EC2 VPC instances
(0) EC2 VPC reservations
-------
Below is the report on RDS reserved instances:
You have no unused RDS reservations.
You have no unreserved RDS instances.
(0) running on-demand RDS instances
(0) RDS reservations
-------
Below is the report on ElastiCache reserved instances:
You have no unused ElastiCache reservations.
You have no unreserved ElastiCache instances.
(0) running on-demand ElastiCache instances
(0) ElastiCache reservations

Not sending email for this report

This seems to be the result of this:

product-description - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon VPC) ).
From: https://boto3.readthedocs.io/en/latest/reference/services/ec2.html#EC2.Client.describe_reserved_instances

It is possible to determine if an account is VPC only by checking the results of describe-account-attributes https://boto3.readthedocs.io/en/latest/reference/services/ec2.html#EC2.Client.describe_account_attributes
My account shows
    "AccountAttributes": [
        {
            "AttributeName": "supported-platforms",
            "AttributeValues": [
                {
                    "AttributeValue": "VPC"
                }
            ]
        },

I imagine a check around here would help. This would require ec2:DescribeAccountAttributes in the IAM policy.
I might have a go at fixing this my self but it could be a few weeks before I get the time.

@trnubo Thanks for pointing out the issue! I did prepare a pull request.

fixed in release 0.0.7, thanks


How can I setup the number of retries and the retry interval when HTTP 429 occurred?

Hi!
I want to control how many times authentication requests can be called when 429 occurred? And the retry interval also.

429 response typically contains Retry-After header which should be respected by clients, ignoring that ask may lead to more aggressive throttling. Could you please provide more details about your scenario ?

@SomkaPe we would like to control the timeout value and number of attempts from our side.
we had a lot of experiences working with Microsoft services, and sometimes the Retry-After not actually true. And it's the reason why we want to control these values from our side.

@sangonzal Could you help me?

Current implementation is done according to Azure AAD identity service provider request. Retry timeout is determined based on Retry-After header, if it is absent default value 120 sec is used, also throttling is limited by 3600 seconds by client. The reason why this was requested is clients who do not respect server side instructions, which lead to more aggressive throttling of such clients. Could you please explain how do you plan to determine if Retry-After value true or false ?

@SomkaPe How many attempts are set by default?

2 retries ( 3 attempts ), but only for transient errors ( codes [500, 600) ), 429 is not considered as transient.

@SomkaPe Why did you exclude 429?

@aukhatov 429 response means that service ask you to retry request after some delay, retrying earlier most likely would not help. Retrying make sense in case of network errors or  500 Internal Server Error, so retrying is likely to receive different response.


Improve Helm charts for helm template use cases

In what area(s)?
/area operator
And Helm Charts
What version of Dapr?

1.0.x
Expected Behavior

When using helm template dapr dapr/dapr -n dapr-system --create-namespace > helm.yaml I would expect all the resources to be stamped with the dapr-system namespace.
Actual Behavior

Doing helm template dapr dapr/dapr -n dapr-system --create-namespace > helm.yaml create the resources, but those are not stamped with the dapr-system namespace.
This is due to the { .Release.namespace } is not set at the resource metadata level.
For example:
https://github.com/dapr/dapr/blob/666ddadbb4bc810c2caa9076a076b2f0e87f1292/charts/dapr/charts/dapr_rbac/templates/operator.yaml#L113
To fix this issue we should add:
namespace: {{ .Release.Namespace }}

To all resources in the chart.
Steps to Reproduce the Problem

run : helm template dapr dapr/dapr -n dapr-system --create-namespace > helm.yaml
Release Note

RELEASE NOTE:

As part of this we also need to improve our CRDs separators that are not used consistently and breaks
helm show crds dapr/dapr --version 1.9.6 > crds.yaml
You can see that some files contain separators https://github.com/dapr/dapr/blob/master/charts/dapr/crds/configuration.yaml#L2
and some don't: https://github.com/dapr/dapr/blob/master/charts/dapr/crds/components.yaml
This makes helm show crds to create a non-valid YAML output.
I thought about creating a separate issue, but this all can be fixed together.

@yaron2 can we keep this alive?


Reduce xds_end2end_test's error tolerance to 0.05

As discussed in https://github.com/grpc/grpc/pull/24354, it's fully viable to tune down the error tolerance from 0.2/0.3 to 0.05 (5%). It not only apply to fault injection test cases, but other test cases that need to validate a distribution (like weighted load-balance, and drop tests).
Using sync API with 1k+ threads won't work, the threads will just race and makes all RPC slow. So, this PR uses C++ callback API instead. Turns out, it is quite easy to use.
Also, an update for fault injection filter. TIL our ExecCtx::Get()->Now() returns a cached timestamp, which made the 1.6k concurrent RPC with different start time sharing the same delay-finishing time (resulting in ms-level error). Fault injection is not on the critical path, adding <100ns to fetch time should not impact performance badly.
1000x Tests: opt, ubsan, tsan, asan, msan.

This change is

Reviewable is having an outage. Most comments are resolved, except the removal of std::unique_ptr.
The compiler will complain: https://paste.googleplex.com/6203683218915328
There should not be any copy after changing to:
std::vector<ConcurrentRpcs> rpcs;
rpcs.reserve(num_rpcs);

But I guess the complaining static_assert is a protection that will always be run against the input type of a vector.

@markdroth PTAL. The MSAN flake solution is allowing extra time if memory sanitizer is turned on.
MSAN 1000x: https://source.cloud.google.com/results/invocations/e043faea-4e18-4515-8816-35b24782eb4f

From the trace log, I can confirm that all RPCs are run on one single thread (or at least the fault injection filter is) (see log in gpaste. I think the log succeeded because the printing action of gpr_log covers the missing injected delay time or similar side effect.
Each thread will have only one ExecCtx, which stored in thread local storage.
https://github.com/grpc/grpc/blob/dc6948cf35d95a0bf7a9fcce0fa91e613dd05ca3/src/core/lib/iomgr/exec_ctx.h#L223
The Now() value will be valid until any other methods on the same thread calls InvalidateNow().
https://github.com/grpc/grpc/blob/dc6948cf35d95a0bf7a9fcce0fa91e613dd05ca3/src/core/lib/iomgr/exec_ctx.h#L197
However, searching the code base, the InvalidateNow() won't be involved again for each RPC. It is usually called when spawning a new thread.
What do you think we should do about existing mechanism? @markdroth
(Related https://github.com/grpc/grpc/issues/26079)

It's not surprising that all RPCs are running on the same thread, because they are all being started by the main thread in this test.  However, the fact that they are all being started in the same thread does not mean that they should all be started using the same ExecCtx object.  Each time the thread calls into C-core (which it must do once for each RPC it wants to start), there should be a new ExecCtx created.  It should be the one created in grpc_call_start_batch():
https://github.com/grpc/grpc/blob/dc6948cf35d95a0bf7a9fcce0fa91e613dd05ca3/src/core/lib/surface/call.cc#L1981
That having been said, it now occurs to me that the FI filter is actually not being invoked before grpc_call_start_batch() returns, because it doesn't happen until after name resolution happens.  In other words, it's actually being kicked off not a result of the application starting the RPC, but rather as a result of the xDS communication completing.  The calls are being queued in the client channel code pending the resolver result, and then when the resolver result comes in, they're all being restarted from within the same thread, and that is when the FI filter is being called.  So I guess it's not surprising that they are all being started from the same thread.
I suggest the following experiment: Before you start sending RPCs, call channel.WaitForConnected() with some reasonable deadline.  That will ensure that name resolution completes and the channel has connected to at least one backend before you start sending RPCs.  Then you can start the async RPCs to test the FI filter.  In that scenario, name resolution will have completed before the RPCs are started, which means that the FI filter will actually be called from within grpc_call_start_batch(), which means that each call will use its own ExecCtx.
If the above works, then we can decide whether we're okay with this behavior for real production use or whether we need to do something about it.  Another approach might be to change the client channel code to call InvalidateNow() before it processes each queued RPC.
I do agree that this is fundamentally the same issue as #26079.  But I don't think that changing the FI code to use the cycle timer clock is the right solution.

...The calls are being queued in the client channel code pending the resolver result, and then when the resolver result comes in, they're all being restarted from within the same thread, and that is when the FI filter is being called.

Without WaitForConnected, the flake rate is 3.7% for TSAN runs; with it, it passed 1000 TSAN runs. However, if I print the trace log, almost all RPCs are still being executed on the same thread. It's possible that WaitForConnected didn't entirely solved the shared context issue, but the error became undetectable by our tests.

If the above works, then we can decide whether we're okay with this behavior for real production use or whether we need to do something about it.

I'm okay with either solution. The solution to fix #26079 will also fix this flake. So, we can merge the discussion to #26079 about when and where should we call InvalidateNow().

1000 runs for "Fault": opt, msan-ongoing, tsan, ubsan, asan

When I print the address of the ExecCtx object, it's the same across RPCs: https://paste.googleplex.com/4688416659734528
However, if we look closer, the ExecCtx object is reset properly: https://paste.googleplex.com/4688416659734528
Since ExecCtx object is created on the stack, I think the compiler happen to create it every time at the same spot. Without WaitForConnected, all RPCs will be executed in one of the grpc_call_start_batch invocations.
That means with WaitForConnected, we do solve the issue of sharing ExecCtx object (though they have the same address).


AB#7646: Content Hub images URL not updated for News items

There was a "en-US" version of new items that were accidentally pushed from CH->XM. The en-US version had a different default CH image URL and was causing the "en" version of image to not properly get replaced when using custom CH instance.

Tested