Hard to explain, hard to reproduce, please bear with me..

Hi !
The behaviour I see is strange and somewhat hard to explain.
I couldn't find a way to isolate the components that might cause this, so it has to be explained in the context of an entire project.
Please, bear with me.
The way I'm using animate_do, is by creating "Animation Styles" like this:
import 'package:flutter/material.dart';

class AnimStyle {
  const AnimStyle(this.type, this.duration, this.from, this.color);

  final Duration? duration;
  final int type;
  final double? from;
  final Color color;
}

Then I use another part of the code to wrap the animated widget:
import 'package:anim_do_issue/anim_style.dart';
import 'package:anim_do_issue/glob_utils.dart';
import 'package:animate_do/animate_do.dart';
import 'package:flutter/material.dart';

Widget animBuild(Widget toAnimate, AnimStyle animStyle, int delayId) {
  Duration delay = Global.getDelay(delayId);

  debugPrint("Here is the delay now ->${delay.toString()}");
  switch (animStyle.type) {
    case 0:
      return FadeIn(
        duration: animStyle.duration ?? const Duration(milliseconds: 300),
        delay: delay,
        child: toAnimate,
      );
    case 1:
      return FadeInDown(
        duration: animStyle.duration ?? const Duration(milliseconds: 800),
        from: animStyle.from ?? 100,
        delay: delay,
        child: toAnimate,
      );
    case 2:
      return FadeInDownBig(
        from: animStyle.from ?? 600,
        duration: animStyle.duration ?? const Duration(milliseconds: 1300),
        delay: delay,
        child: toAnimate,
      );
    case 3:
      return FadeInUp(
        duration: animStyle.duration ?? const Duration(milliseconds: 800),
        from: animStyle.from ?? 100,
        delay: delay,
        child: toAnimate,
      );
    case 4:
      return FadeInUpBig(
        duration: animStyle.duration ?? const Duration(milliseconds: 1300),
        from: animStyle.from ?? 600,
        delay: delay,
        child: toAnimate,
      );
    case 5:
      return FadeInLeft(
        duration: animStyle.duration ?? const Duration(milliseconds: 800),
        from: animStyle.from ?? 100,
        delay: delay,
        child: toAnimate,
      );
    case 6:
      return FadeInLeftBig(
        duration: animStyle.duration ?? const Duration(milliseconds: 1300),
        from: animStyle.from ?? 600,
        delay: delay,
        child: toAnimate,
      );
    case 7:
      return FadeInRight(
        duration: animStyle.duration ?? const Duration(milliseconds: 800),
        delay: delay,
        from: animStyle.from ?? 100,
        child: toAnimate,
      );
    case 8:
      return FadeInRightBig(
        duration: animStyle.duration ?? const Duration(milliseconds: 1200),
        delay: delay,
        from: animStyle.from ?? 600,
        child: toAnimate,
      );
    case 9:
      return BounceInDown(
        duration: animStyle.duration ?? const Duration(milliseconds: 1000),
        delay: delay,
        from: animStyle.from ?? 75,
        child: toAnimate,
      );
    case 10:
      return BounceInUp(
        duration: animStyle.duration ?? const Duration(milliseconds: 1000),
        from: animStyle.from ?? 75,
        delay: delay,
        child: toAnimate,
      );
    case 11:
      return BounceInLeft(
        duration: animStyle.duration ?? const Duration(milliseconds: 1000),
        from: animStyle.from ?? 75,
        delay: delay,
        child: toAnimate,
      );
    case 12:
      return BounceInRight(
        duration: animStyle.duration ?? const Duration(milliseconds: 1000),
        from: animStyle.from ?? 75,
        delay: delay,
        child: toAnimate,
      );
    case 13:
      return ElasticIn(
        duration: animStyle.duration ?? const Duration(milliseconds: 1000),
        delay: delay,
        child: toAnimate,
      );
    case 14:
      return ElasticInDown(
        duration: animStyle.duration ?? const Duration(milliseconds: 1000),
        from: animStyle.from ?? 200,
        delay: delay,
        child: toAnimate,
      );
    case 15:
      return ElasticInUp(
        duration: animStyle.duration ?? const Duration(milliseconds: 1000),
        from: animStyle.from ?? 200,
        delay: delay,
        child: toAnimate,
      );
    case 16:
      return ElasticInLeft(
        duration: animStyle.duration ?? const Duration(milliseconds: 1000),
        from: animStyle.from ?? 200,
        delay: delay,
        child: toAnimate,
      );
    case 17:
      return ElasticInRight(
        duration: animStyle.duration ?? const Duration(milliseconds: 1000),
        from: animStyle.from ?? 200,
        delay: delay,
        child: toAnimate,
      );
    case 18:
      return SlideInDown(
        duration: animStyle.duration ?? const Duration(milliseconds: 600),
        from: animStyle.from ?? 100,
        delay: delay,
        child: toAnimate,
      );
    case 19:
      return SlideInUp(
        duration: animStyle.duration ?? const Duration(milliseconds: 600),
        from: animStyle.from ?? 100,
        delay: delay,
        child: toAnimate,
      );
    case 20:
      return SlideInLeft(
        duration: animStyle.duration ?? const Duration(milliseconds: 600),
        from: animStyle.from ?? 100,
        delay: delay,
        child: toAnimate,
      );
    case 21:
      return SlideInRight(
        duration: animStyle.duration ?? const Duration(milliseconds: 600),
        from: animStyle.from ?? 100,
        delay: delay,
        child: toAnimate,
      );
    case 22:
      return FlipInX(
        duration: animStyle.duration ?? const Duration(milliseconds: 800),
        delay: delay,
        child: toAnimate,
      );
    case 23:
      return FlipInY(
        duration: animStyle.duration ?? const Duration(milliseconds: 800),
        delay: delay,
        child: toAnimate,
      );
    case 24:
      return ZoomIn(
        duration: animStyle.duration ?? const Duration(milliseconds: 500),
        delay: delay,
        from: animStyle.from ?? 1.0,
        child: toAnimate,
      );
    case 25:
      return JelloIn(
        duration: animStyle.duration ?? const Duration(milliseconds: 800),
        delay: delay,
        child: toAnimate,
      );
    default:
      return FadeIn(
        duration: animStyle.duration ?? const Duration(milliseconds: 300),
        delay: delay,
        child: toAnimate,
      );
  }
}

The issue I'm having comes from the delays. This is what the function computing the delays looks like:
  class Global {
  factory Global() {
    return _singleton;
  }
  Global._internal();

  static final Global _singleton = Global._internal();

  static final List<int> _delays = [0, 100, 0, 100, 0, 100, 0, 100];

  static Duration getDelay(int id) {
    _delays[id]++;
    // return Duration(milliseconds: _delays[id] * _delays[id + 1]); // broken !
    return Duration(seconds: _delays[id]);
  }

  static void resetDelay(int id, int delayFactor) {
    _delays[id] = 0;
    _delays[id + 1] = delayFactor;
  }
}

The idea is to animate every element of the screen with a specific delay factor (by default, 100 msec).
I can pass a delay ID value 0, 2, 4 or 6 to the animStyle.build call, which will then call the Global.getDelay(delayId) which will increase the number of delayed elements and give me the delay for that specific element in the page.
When I run this idea in a simplified project like this:
class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  List<AnimStyle> _toAnimate = [
    AnimStyle(7, null, null, Colors.indigo),
    AnimStyle(22, null, null, Colors.red),
    AnimStyle(12, null, null, Colors.green),
    AnimStyle(17, null, null, Colors.pink),
  ];

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        child: Row(
          mainAxisAlignment: MainAxisAlignment.spaceAround,
          children: _createFromStyle(_toAnimate),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }

  List<Widget> _createFromStyle(List<AnimStyle> toAnimate) {
    final toReturn = <Widget>[];
    for (var i = 0; i < toAnimate.length; i++) {
      toReturn.add(animBuild(_getContainer(toAnimate[i].color), toAnimate[i], 0));
    }

    return toReturn;
  }

  Widget _getContainer(Color color) {
    return Container(
      height: 50,
      width: 50,
      color: color,
    );
  }
}

The result is exactly what is expected:
https://user-images.githubusercontent.com/86661185/170222582-30c622d6-7a58-48ef-b927-19bf6eb61b04.mov
When printing the values of the final delay = Global.getDelay(delayId) this is seen in the console:
I/flutter (20459): Here is the delay now ->0:00:01.000000
I/flutter (20459): Here is the delay now ->0:00:02.000000
I/flutter (20459): Here is the delay now ->0:00:03.000000
I/flutter (20459): Here is the delay now ->0:00:04.000000

Exactly what we see on the screen. So far, so good.
However, when this rather simple idea is merged within the rest of the project, then the delays given by Global.getDelay() seem to be ignored and the LAST delay is applied to ALL elements.
My animations look like this instead:
https://user-images.githubusercontent.com/86661185/170224139-fce51749-0bac-4a34-abc3-3dff2bb53a71.mov
When printing the values of the final delay = Global.getDelay(delayId) this is what's logged:
I/flutter (22042): Here is the delay now ->0:00:00.000000
I/flutter (22042): Here is the delay now ->0:00:01.000000
I/flutter (22042): Here is the delay now ->0:00:02.000000
I/flutter (22042): Here is the delay now ->0:00:03.000000

But this is not what we see. There is actually no delay of 0, 1, 2 and 3 seconds between the displayed elements.
They are all having a 3 seconds delay (ea. the maximum or the last value).
I hope I managed to explain the behaviour...
I am not sure if animate_do or dart or flutter could cause this, but I decided to start here.
Is there any reason to believe that animate_do could cause this?
If you have ideas or workarounds or anything else to try to fix this, I'll take it.
I'm desperate at this point.
Thank you !
flutter doctor -v

[✓] Flutter (Channel stable, 3.0.0, on macOS 12.3.1 21E258 darwin-x64, locale en-BE)
• Flutter version 3.0.0 at /Users/cekrozl1/Desktop/OneSpan/MSS/FLUTTER/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ee4e09cce0 (2 weeks ago), 2022-05-09 16:45:18 -0700
• Engine revision d1b9a6938a
• Dart version 2.17.0
• DevTools version 2.12.2
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/cekrozl1/Library/Android/sdk
• Platform android-31, build-tools 30.0.3
• ANDROID_HOME = /Users/cekrozl1/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] IntelliJ IDEA Community Edition (version 2021.2.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.67.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.40.0
[✓] Connected device (3 available)
• SM G973F (mobile) • R58N42DX67H • android-arm64  • Android 12 (API 31)
• macOS (desktop)   • macos       • darwin-x64     • macOS 12.3.1 21E258 darwin-x64
• Chrome (web)      • chrome      • web-javascript • Google Chrome 101.0.4951.64
[✓] HTTP Host Availability
• All required HTTP hosts are available

Hi !
I figured it out ! It's not flutter, it's not dart, it's not animate_do, it's just me =)
My configuration was adding an animation to the GROUP containing these other widgets.
So it was only animating the GROUP and not the widgets within.
It's all fine and dandy now:
https://user-images.githubusercontent.com/86661185/170238475-79e03415-c6ad-463c-b834-a27b42a3608e.mov


Tidying scenarios documentation.

The scenarios documentation lacked a format.
A new format has been introduced to ensure full understanding of the scenario and the tasks to be performed by the user.

looks fine to merge

@s-irvine  , can you review and approve if happy,  thanks


Retry failed update to not leave CRDs out of sync

What type of PR is this?
/kind bug
What this PR does / why we need it:
Right now when instance.Status.Status = planExecution.Status.State failed to be applied e.g. because someone changed instance in the meantime, it was never retried and even though the PlanExecution was finished, Instance's status was never updated still appearing to be running.
This one fixes at least the case when plan is finished and instance is not updated.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: alenkacz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [alenkacz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[KIECLOUD-665] - add bamoe version constants

Signed-off-by: Spolti<EMAIL_ADDRESS>Thank you for submitting this pull request
JIRA: (please edit the JIRA link if it exists)
link
referenced Pull Requests: (please edit the URLs of referenced pullrequests if they exist)

referenced pull request 1
referenced pull request 2
referenced pull request 2
etc.

How to retest a PR or trigger a specific build:

* a pull request please add comment: Jenkins retest this

@spolti it looks good to be.
Before you merge this PR, could you please accept my PR https://github.com/spolti/kie-ci/pull/1 into your branch so my changes will also be incorporated as part of this PR?
Basically I will use the BAMOE_NEXT_PROD_VERSION constant in the prod_cron_meta_nightly_pipeline.groovy, so we dont miss to update this when a new version comes.


Engine metrics

Hello,
it would be nice if we could get some metrics/statistics for each engine. Something like number of learned segments, words, or whatever MMT is internally using. Such stats could be returned next to languages, build version etc, when quering at localhost:8045. This could be later used to monitor engine development over time. Or maybe it can be done already somehow?

Hi @arteq
this is an interesting feature. In the past we skipped this possibility in order to have a fester process and avoid to having a synchronous update on the counts for every single contribution.
By the way there is an "hacky" way to achieve this: Context Analyzer actually stores as plain text the content of the memories (this is done for it's internal user on re-indexing). If you go in the folder engines/<engine_name>/models/context/storage you'll see a list of files <memory_id>_<source_lang>__<target_lang>, for example 7263_de__en.
You can run wc on those files and get the number of segments and words currently in the system, for example:
$ wc -lw 7263_de__en
   176  2289 7263_de__en

In this example I have  176 lines for a total of 2289 german words for the memory with id 7263 in the pair German-English.
I hope this was similar to what you wanted to achieve.
Best,
Davide

Sorry, didn't mean to close :)

Thanks! That's a great start and I'll definitely give it a try.
About further engine metrics: how about calculating them during ./mmt tune with output to stdout in some parsable format? Would be nice if those could include some kind of engine quality, ex just like calculated during engine training, if thats possible of course. This way we could see if new added TMX memories or learned segments bring genuine new content or not.


Add even more conditions

@cristian-rivera Thanks for the report, this has been fixed in #297. Also see my comment in the PR about what can be learned from this.


Implement the submit-plan action

 Expected Changes
No expected changes found.
 Unmapped Changes

[!NOTE]
These changes couldn't be mapped to a discoverable cloud resource and therefore won't be included in the blast radius calculation.

 null_resource › cluster
--- current
+++ planned
@@ -1 +1,4 @@
+id: (known after apply)
+terraform_address: null_resource.cluster
+terraform_name: cluster
+triggers: null

 null_resource › network
--- current
+++ planned
@@ -1 +1,4 @@
+id: (known after apply)
+terraform_address: null_resource.network
+terraform_name: network
+triggers: null

Blast Radius

 Items
 Edges

0
0

Open in Overmind
 Risks
 Potential Impact of Creating Null Resources on Cluster and Network [Low]
The proposed change involves the creation of new null resources for cluster and network. While these resources are defined as having no triggers and are essentially placeholders, introducing them into an existing Terraform configuration could still have unintended side effects.

Terraform State Consistency: Adding new null resources could affect the Terraform state file. Ensure that their addition will not conflict or overwrite something accidentally in the state file. Confirm alignment with existing management practices.

Potential for Misconfiguration: Even as null resources, they could be referenced indirectly by other configuration elements. Check existing configurations to ensure there are no dependencies or incorrect assumptions about these resources.

Question for Validation: Verify whether these null resources are intended to be extended with lifecycle hooks or provisioners in the future, which could change their behavior.

Users should ensure they are necessary and verify the intended state to avoid discrepancies that might arise due to these introductions.


Update logging-commands.md

Hello Team, during the tests, the output is different from the showing in the wiki, especially the usage of the "nested lists". Per the sharing from EEE, this difference is as expected. My customer wants to know whether the difference can be described in the documentation.

Hi @DryadYao000 - When this PR is ready for review, remove it from "Draft" by selecting "Ready for review."

Thanks!

@juliakm
Can you review the proposed changes when this PR is ready for review?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@Court72 and @DryadYao000 I'm going to pull this PR into our private repo to make some updates.


Local Game State Implementation

The game state is initialized on init command and is updated every time action is called. Before performing any action every player sends a POST request to /checkmove that returns true if the move is valid but panics if the move is invalid.

Thanks for the pr, Once the masking and unmasking is done will test the game and review over the changes. Most prolly over the weekend.

@nlok5923  Can we merge this so I can get started on issue #11

Sure, and immediately after fixing #11 prolly you can start working on the aze-cli show hand command. Meanwhile ig #7 will be merged ig.


[MM-18965] Migrate components/msg_typing to TypeScript

Summary
Migrate components/msg_typing and it's test to TypeScript
Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/12462

You have a few lint errors to clear up, then I can take a look:
/root/mattermost-webapp/components/msg_typing/msg_typing.tsx
   8:1  error  Expected indentation of 4 spaces but found 8                    @typescript-eslint/indent
  12:5  error  Missing accessibility modifier on class property getTypingText  @typescript-eslint/explicit-member-accessibility
  47:5  error  Missing accessibility modifier on method definition render      @typescript-eslint/explicit-member-accessibility

Should be good now, it's my first time working with react, typescript and jest ;)


iDK20: Shutter needs to be fixed

Shutter is not always closing correctly, causing blooms on bright objects. Need to follow FLI's procedure to add tension to the spring.

Has been exchanged with a new one from the US


Python assertions - Improve debugging and logging

Is your feature request related to a problem? Please describe.
I am trying to use Python assertions via an external file (see https://www.promptfoo.dev/docs/configuration/expected-outputs/python/#external-py) but it is a black box and there seems to be no way to print or logger statements for progress related stuff like it seems to work for Python providers (https://www.promptfoo.dev/docs/providers/python/#viewing-python-output).
When I try to use it the same way via setting env LOG_LEVEL=debug, I only see the Typescript debug log statements before and after (see https://github.com/promptfoo/promptfoo/blob/a852acdadab32cbd0b1fd63c684450cec0aef06b/src/python/wrapper.ts#L37-L39).
Describe the solution you'd like
It would be great to have one of both solutions:

Better debugging capacities (I have tried similar things like those described here: https://github.com/promptfoo/promptfoo/issues/955)
Not erasing print or log statements

Describe alternatives you've considered

Using a remote debugger like remote-pdb but that's a lot of extra effort and cumbersome

Additional context

IDE: VSCode 1.92.2
OS: MacBook (Sonoma, 14.6.1)
Python 3.12.5
Terminal: Integrated of IDE
Promptfoo 0.86.1 (installed via volta)

#955

Facing the same issue. Think its in progress https://github.com/promptfoo/promptfoo/issues/1705 @hci2

@hci2 I've never used remote-pdb and am interested in trying this out. Do you have a guideline on how to use that?

@albertlieyingadrian Sorry for the delay. You can npm link my branch https://github.com/promptfoo/promptfoo/compare/feat/python-logging?expand=1
I am working on fixing the tests now and will issue a release when done.
You can also write to something other than stdout in your current python file (for example, a file, a websocket, etc.) if you want to do it on main

@albertlieyingadrian
No, I haven't looked into it but I just came across it through this comment https://github.com/promptfoo/promptfoo/issues/955#issuecomment-2289592449. It seems not so difficult to try out from what I see.
Awesome and thanks for your work guys. This tool is really promising and I like the YAML configuration approach compared to other toolings. 👏

Hey @hci2, thanks for your patience! We just released the fix in 0.91.2, which improves logging for Python assertions. You can now view the outputs by setting the --verbose flag or using LOG_LEVEL=debug. Please give it a try and let us know how it works for you. Feel free to comment or reopen the issue if you encounter any further issues.


Emoticon in pull request comment 500 error

I've tried adding multiple different emoticons in pull request comments and approval and I always get a 500 error. This worked in the 1.11.5.. We skipped from 1.11.5 to 1.12.1. Did not try 1.12.0 or later 1.11.x versions.

Gitea version (or commit ref): 1.12.1 with go 1.14.4
Git version: 2.16.5
Operating system: Server running gitea service is RHEL 7.2. Client is CentOS 7.7.
Database (use [x]):

[ ] PostgreSQL
[X ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[X ] No
[ ] Not relevant

This is likely to be yet another MySQL issue with character encodings.
On MySQL we require utf8mb4 as the character encoding. There is a command called gitea convert that should set this for you.

@zeripath But he said 1.11.5 is work

gitea convert -c /etc/gitea/app.ini
Converted successfully, please confirm your database's character set is now utf8mb4

MySQL>select SCHEMA_NAME 'database', default_character_set_name 'charset', DEFAULT_COLLATION_NAME 'collation' from information_schema.SCHEMATA;
database | charset|collation
giteadb|utf8mb4|utf8mb4_general_ci

Emoticons still do not work

You should also change your app.ini CHARSET item on DATABASE section.

Setting CHARSET in DATABASE fixed it. Was UTF8 previously. Thanks!

The fix works for us too, we have gitea installed using a docker container on an existing DB and didnt pay attention to the documentation :-)
https://docs.gitea.io/en-us/database-prep/#mysql


Make the scripts ipv6 compatible

In lot of these scipts we use <IP_ADDRESS> which assumes that we're using ipv4. This makes the scripts ipv6 compatible.

recheck

/lgtm
thanks


stop event due to crash bot or stop bot or error

Hi dear guys
Before everything thanks for the nice project.
There is not an error, but I have two questions and a request:
1- I want to caught the bots when stop due to crash bot or stop bot and then restart they. Is there a solution? Is there an event like "OnStopped"?(When StopReceiving is occurred)
2- How to retrieve the bot token?
Finally I had a request: If there is a possibility, please add "OnStarted" event(when StartReceiving is completed)
Thanks a lot.
Steps to reproduce
Expected  behavior
Actual behavior
Environment data
NuGet Package Version: (e.g. 10.3.0)
NuGet Version: 2.8.50506.491
.NET Version: (e.g. 4.6, Core RTM, Mono, etc.)
4.6
IDE: (e.g. VS2015, VS Code, etc.)
VS2017
App: (e.g. Desktop, iOS, Android, etc.)
Asp.net mvc

you can always use try / catch around function calls.
if you use StartReceiving you can listen for the OnReceiveError and OnReceiveGeneralError event


Problems installing required R packages

Hi, I'm trying to run the code from your tutorial but I'm having trouble installing the required R packages for CDT. I've installed pcalg using Bioconductor and I've installed RCIT from the Diviyan-Kalainathan/RCIT github repo but when I try to use the PC and GES algorithms I get the following errors:
>>> import cdt
Detecting 4 CUDA device(s).
>>> import networkx as nx
>>> from cdt.data import load_dataset
>>> from cdt.causality.graph import PC
>>> from cdt.causality.graph import GES
>>> data, graph = load_dataset("sachs")
>>> cdt.SETTINGS.rpath = '/users/mlonga/anaconda3/envs/research/bin/Rscript'
>>> model = PC()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/users/mlonga/anaconda3/envs/research/lib/python3.8/site-packages/cdt/causality/graph/PC.py", line 176, in __init__
    raise ImportError("R Package (k)pcalg/RCIT is not available. "
ImportError: R Package (k)pcalg/RCIT is not available. RCIT has to be installed from https://github.com/Diviyan-Kalainathan/RCIT
>>> model = GES()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/users/mlonga/anaconda3/envs/research/lib/python3.8/site-packages/cdt/causality/graph/GES.py", line 110, in __init__
    raise ImportError("R Package pcalg is not available.")
ImportError: R Package pcalg is not available.

Do you know how can I install all the required R packages to be able to run the code? Thanks!

Having the same issue

Hello,
Have you installed the packages on the same R installation that is called by CDT ?
you can find an installation script for ubuntu here: https://github.com/FenTechSolutions/CausalDiscoveryToolbox/blob/master/install-deps/install-dependencies.sh (execute it with sudo)
Best,
Diviyan

Hi, thanks for the reply.
I checked the location of RScript and it's /users/mlonga/anaconda3/envs/research/bin/Rscript and the packages are in /users/mlonga/anaconda3/envs/research/lib/R/library so in my code I set cdt.SETTINGS.rpath = '/users/mlonga/anaconda3/envs/research/bin/Rscript', so I think that should be fine.
I found your installation script but I'm not allowed to use sudo, do you have any script that only uses conda or pip to install the packages without sudo?
I also tried running some of the code from the installation script but I got the following error:
$ Rscript -e 'source("http://bioconductor.org/biocLite.R"); biocLite(c("CAM", "SID", "bnlearn", "pcalg", "kpcalg", "D2C"))'
Error: With R version 3.5 or greater, install Bioconductor packages using BiocManager; see https://bioconductor.org/install

I'm using Bioconductor 3.13 so I modified the code as follows, but then I get a lot of warnings and most of the packages fail to be installed:
$ Rscript -e 'BiocManager::install(c("CAM", "SID", "bnlearn", "pcalg", "kpcalg", "D2C"))'

(... a lot of similar warnings ...)
../inst/include/Eigen/src/Core/MatrixBase.h:48:34:   required from 'class Eigen::MatrixBase<Eigen::Block<const Eigen::Transpose<const Eigen::Block<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, true>, -1, -1, false> >, -1, -1, false> >'
(... a lot of similar warnings ...)

Warning messages:
1: package(s) not installed when version(s) same as current; use `force = TRUE` to
  re-install: 'bnlearn' 'pcalg'
2: In .inet_warning(msg) :
  packages ‘CAM’, ‘D2C’ are not available for Bioconductor version '3.14'

Versions of these packages for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
3: In .inet_warning(msg) :
  installation of package ‘RcppEigen’ had non-zero exit status
4: In .inet_warning(msg) :
  installation of package ‘mgcv’ had non-zero exit status
5: In .inet_warning(msg) :
  installation of package ‘SID’ had non-zero exit status
6: In .inet_warning(msg) :
  installation of package ‘RSpectra’ had non-zero exit status
7: In .inet_warning(msg) :
  installation of package ‘kpcalg’ had non-zero exit status

Maybe there could be a problem with the different package versions, which version of Bioconductor and other packages did you use?

Did you manage to solve this issue? If yes, please assist. Thanks.

No I haven't unfortunately, I just ended up using the cdt docker image.

Hello,
I encountered the same issue on Windows, it turns out that some of the R packages have been archived, and have to be downloaded in source file tar.gz and then installed with these source files in R.
For instance, with CAM, I found the archive on the CRAN page https://cran.r-project.org/src/contrib/Archive/CAM/.
And then, I ran the command in R:
install.packages("/CAM_1.0.tar.gz", repos = NULL, type = "source")
It didn't work right away as it did not install the dependencies (glmnet and mboost), which I had to install by hand.
I did the same with SID and D2C (for one of them, I also had to do it for the dependency with Rgrapghviz).
Now it seems to work for me, hope that helps other people too.

@aboisbunon you can try https://stackoverflow.com/questions/18655976/install-the-package-that-has-been-removed-from-the-cran-repository-easily
some package can be found on install.package("xxxx", repos="https://mran.microsoft.com/snapshot/2018-01-01")
some deps cannot be install using snapshot, should install them directly

Hello, I updated the docker installation scripts for debian and ubuntu distributions, for R 4.2.1, please check here, it might give you commands to execute on your device :
Debian : https://github.com/FenTechSolutions/base-docker-images/blob/main/cdt-env.dockerfile
Ubuntu : https://github.com/FenTechSolutions/base-docker-images/blob/main/nv-cdt-env.dockerfile
This executes without any issues on CircleCI !
Hope this helps,
Best regards,
Diviyan

+1 same issue. I need this to work directly off windows. Here are my installed R packages.
reqp <- c("pcalg", "kpcalg", "bnlearn", "D2C", "SID", "CAM", "RCIT")
intersect(sort(.packages(all.available = T)), reqp)
[1] "bnlearn" "kpcalg"  "pcalg"   "RCIT"    "SID"

Of the above packages cdt is unable to identify pcalg
cdt.RPackages
['init: False', 'pcalg: False', 'kpcalg: True', 'bnlearn: True', 'sparsebn: False', 'D2C: False', 'SID: True', 'CAM: False', 'RCIT: True']

Is there a way to force cdt to use the pcalg located in my R installation? cdt is already pointing to the right R installation where pcalg is located so unsure what to do or ways to further test.


New version: PDFsam.PDFsam version 5.2.4

Pull request has been created with komac v2.3.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

2024-07-31T20:19:04.2680051Z Manifest Validation Failed
2024-07-31T20:19:09.2974390Z

(Automated response - build 887.)

Close with reason: Duplicate of #166612;


Tokenizer test

Improver tokenizer test by checking outputs are unchanged under additional tokens in text.

It isn't clear to me what you are testing, from reading the code. It should be clear to any reader of the code, so please add necessary code comments.

Comments added. I'm checking that the generated representations are unchanged under text malformations that include vocabulary not in the original text used for fitting.

Why though? Given the algorithm used, there should be no presumption of bug at this level...

It's certainly not necessary- up to you. I added the test since I use the keras tokenizer extensively and find myself testing this functionality (extraneous vocabulary not affecting the output) often.

Got it, thanks for the explanation. Overall, I don't think it is necessary here.


feat(Confirm): switch from active prop to open

Switch from Confirm.props.active to Confirm.props.open
Use createShorthandFactory on Modal shorthands
Use the shortHand create method for Confirm content
Use children as modal content or props shorthands

This work is ongoing in #634

Sorry, just saw your comment on #647 about making this. Had I seen it early, I would've pointed you to the work in #634 to avoid the duplicate!

No worries, that's what I guessed 👍

Fixed in<EMAIL_ADDRESS>


⚠ Bofrost.lu has degraded performance

In 56c0cef, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1043 ms

Resolved: Bofrost.lu performance has improved in 762ad63 after 23 minutes.


Moving items in a RealmSwift.List to a higher index results in wrong position after move

How frequently does the bug occur?
All the time
Description
Take this code for demonstration:
final class MyImage: Object {
    @Persisted(primaryKey: true) public var _id: ObjectId
    @Persisted var name: String = ""
    @Persisted var path: String = ""
}

final class Item: Object, ObjectKeyIdentifiable {
    @Persisted(primaryKey: true) public var _id: ObjectId
    @Persisted var name: String = ""
    @Persisted var images: RealmSwift.List<MyImage> = .init()
}

struct MyView: View {
    @ObservedRealmObject var item: Item

    var body: some View {
	VStack {
	    List {
		ForEach(item) { image in
		    Text(image.name)
		}
		.onMove(perform: $item.images.move)
	    }
	}
    }
}

We have two model objects, an MyImage and an Item. The Item contains a Realm list of MyImage's. The MyView creates a list with image names that can be moved to another position. When I drag an item to a lower index (e.g. from 3 to 0 everything is fine. But when I drag it from 0 to 3, in the result it is placed at 4.
So, every time I drag an item to a higher destination index the result is draggedDestIndex + 1 (for moving only one item).
My dirty quick fix is an override of the move function in a BundleCollection extension.
internal extension BoundCollection where Value == RealmSwift.List<Element> {
    func move(fromOffsets offsets: IndexSet, toOffset destination: Int) {
        // This is the fix
        var dest = destination
        if let firstOffset = offsets.first {
            if destination > firstOffset {
                dest = destination - 1
            }
        }

        // proceed with original call of function
        safeWrite(self.wrappedValue) { list in
            list.move(fromOffsets: offsets, toOffset: dest)
        }
    }

    private func safeWrite<Value>(_ value: Value, _ block: (Value) -> Void) where Value: ThreadConfined {
        let thawed = value.realm == nil ? value : value.thaw() ?? value
        if let realm = thawed.realm, !realm.isInWriteTransaction {
            try! realm.write {
                block(thawed)
            }
        } else {
            block(thawed)
        }
    }
}

Stacktrace & log output
No response
Can you reproduce the bug?
Yes, always
Reproduction Steps
To reproduce the bug please checkout this sample project and let it run.
Version
10.29.0
What SDK flavour are you using?
Local Database only
Are you using encryption?
No, not using encryption
Platform OS and version(s)
macOS, iOS
Build environment
Xcode version: Version 14.0 (14A309)
Dependency manager and version: SPM

I created a PR which may solve this issue https://github.com/realm/realm-swift/pull/7960

Is this issue linked to other problematic use cases I encountered using List, such as this one which provokes a crash (index out of bound):
ForEach(listOfUsersId, id: \.self) { id in
        Text(realmManager.getUserNameBy(id))
	        .swipeActions {
		        Button("Unblock") {
			        showUnblockAlert = true // upon alert's confirmation, item will be removed in listOfUsersId
			        selectedId = id
		        }
	        }
}

In the meantime, replacing the list by an array seems to solve this: ForEach(Array(listOfUsersId)), id: \.self) { id in ...

HI @Sonisan are you using one of our property wrappers?, can you please the code for the View for closer examination?, I may add a test for this to make sure this is fixed or not

Hello @dianaafanador3, no I am not using Realm's ones for this specific view:
import SwiftUI
import RealmSwift

struct BlockedUsersView: View {

	@EnvironmentObject var realmManager: RealmManager
	@State private var showUnblockAlert = false
	@State private var selectedId: ObjectId?

	var body: some View {
		VStack {
			List {
				if let currentUser = realmManager.getCurrentUser() {
					ForEach(currentUser.blockedUserId, id: \.self) { id in
						Text(realmManager.getUserNameBy(id: id))
							.swipeActions {
								Button("Unblock") {
									showUnblockAlert = true
									selectedId = id
								}
								.tint(.green)
							}
					}
				}
			}
		}
		.alert("Do you want to unblock this user?", isPresented: $showUnblockAlert, actions: {
			Button("Confirm", role: .destructive, action: {
				if let selectedId {
					realmManager.unblock(selectedId) // equivalent to user.blockedUserId.remove(at)
				}
			})
		})
	}
}

and the list property is:
	@Persisted var blockedUserId = RealmSwift.List<ObjectId>()

@Sonisan And how do you calculate the index to be used in user.blockedUserId.remove(at:)

@dianaafanador3 Please note that it works with a list containing one element only (crashes if > 1).
@MainActor
	func unblock(_ id: ObjectId) {
		if let realm {
			try! realm.write {
				if let currentUser, let userIndex = currentUser.blockedUserId.firstIndex(of: id) {
					currentUser.blockedUserId.remove(at: userIndex)
					print("Unblocked user \(getUserNameBy(id: id))")
				}
			}
		}
	}

Hi @Sonisan first-able I think your issue is not related to the original issue from the post, which is related to List move(fromOffsets:, toOffset:).
By the looks of your error, seems like your are probably trying to remove an index which is not available anymore in the List. This issue may be caused because you are using EnvironmentObject as a datasource for your View, after you remove your blocked list, SwiftUI is trying to update the view after the list is changed.
You may wanna try to something similar, which also help you to simplify your code.
// Navigate to the view passing the list of blocked ids
if let currentUser = realmManager.getCurrentUser() {
    DetailView(blockedUserId: currentUser.blockedUserId)
}
// State Realm object acts like a `live` updating the view in cases the list changed, and you can append or remove to the list without having to use a write block.
struct BlockedUsersView: View {
    @StateRealmObject var blockedUserId: RealmSwift.List<ObjectId>
    @State var showUnblockAlert = false
    @State var selectedId: ObjectId?

    var body: some View {
        VStack {
            List {
                ForEach(blockedUserId, id: \.self) { spec in
                    Text(spec.stringValue)
                        .swipeActions {
                            Button("Unblock") {
                                showUnblockAlert = true
                                selectedId = spec
                            }
                        }
                }
            }
        }
        .alert("Do you want to unblock this user?", isPresented: $showUnblockAlert, actions: {
            Button("Confirm", role: .destructive, action: {
                if let selectedId = selectedId,
                    let index = blockedUserId.firstIndex(of: selectedId)  {
                    $blockedUserId.remove(at: index)
                }
            })
        })
    }
}

Hi @dianaafanador3 oh.. my apologies then!! Thank you for your suggestion, I will give it a shot!


[e2e]: docker-based schedule main gcp-workload-identity slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/4987441532
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.docker-based.schedule.main.gcp-workload-identity.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.docker-based.schedule.main.gcp-workload-identity.slsa3.yml
Trigger: schedule
Branch: main
Date: Tue May 16 03:08:40 UTC 2023

Something happened between dependency updates on the base docker image that prevents write permissions on files.

Fixed by https://github.com/slsa-framework/example-package/pull/191 to allow the docker builder to read the generated file
(tested locally)
I don't really understand how it worked before

Looks like this was broken by a recent PR
https://github.com/slsa-framework/example-package/commit/d72cd9d4b42f12cf8f21fd56b0d61ab4b6c0d507#diff-2873f79a86c0d8b3335cd7731b0ecf7dd4301eb19a82ef7a1cba7589b5252261

Ah, when main.go changes, I can trigger a new build for any workflow creating docker builds, so we can catch it a little closer to regression time. thanks!

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/4998896938
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.docker-based.schedule.main.gcp-workload-identity.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.docker-based.schedule.main.gcp-workload-identity.slsa3.yml
Trigger: schedule
Branch: main
Date: Wed May 17 03:08:31 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5010087961
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.docker-based.schedule.main.gcp-workload-identity.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.docker-based.schedule.main.gcp-workload-identity.slsa3.yml
Trigger: schedule
Branch: main
Date: Thu May 18 03:08:40 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5020401538
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.docker-based.schedule.main.gcp-workload-identity.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.docker-based.schedule.main.gcp-workload-identity.slsa3.yml
Trigger: schedule
Branch: main
Date: Fri May 19 03:11:09 UTC 2023
Tests are passing now. Closing this issue.


Correct usage of systemInstruction

What is the correct way of using system instruction?
I tried
`
var googleAI = new GoogleAI(apiKey: Environment.GetEnvironmentVariable("GOOGLE_API_KEY"));
        var systemInstruction = new List<Content>
        {
            new Content
            {
                Parts = new List<IPart>
                {
                    new TextData
                    {
                        Text = "You are a cat. Your name is Neko"
                    }
                }
            }
        };

        var model = googleAI.GenerativeModel(
            model: Environment.GetEnvironmentVariable("GOOGLE_AI_MODEL") ?? "gemini-1.5-flash",
            systemInstruction: systemInstruction
        );

`
But that gives errors. I tried it based on https://ai.google.dev/gemini-api/docs/system-instructions?lang=python

Hi @Setmaster
Apologies for the delay.
A system instruction is used as Content and passed into the method GenerativeModel. See the following code taken from the test case Generate_Content_SystemInstruction
// Arrange
var systemInstruction = new Content("You are a friendly pirate. Speak like one.");
var prompt = "Good morning! How are you?";
IGenerativeAI genAi = new GoogleAI(_fixture.ApiKey);
var model = genAi.GenerativeModel(_model, systemInstruction: systemInstruction);
var request = new GenerateContentRequest(prompt);

Hope this helps, JoKi

Hello @Setmaster
The README has been extended and explains now how to add a system instruction to the model.
Cheers, JoKi


python3Packages.glean-sdk: relax glean_parser constraint

Description of changes

Things done
Fix build (https://hydra.nixos.org/build/169528171)

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 165859 run on x86_64-linux 1

5 packages built:

moz-phab
python310Packages.glean-parser
python310Packages.glean-sdk
python39Packages.glean-parser
python39Packages.glean-sdk


Issue Slack notification upon AWS outage

User Story
The AWS status page https://status.aws.amazon.com/ shows general health status with AWS services.
The AWS Personal Health Dashboard: https://phd.aws.amazon.com/phd/home shows health status of AWS services specific to the account.
On Tue 7th Dec 2021 there was an AWS outage that made us to reschedule our planned CIDR migration for production systems.
It would be nice to be notified in Slack when AWS has an outage instead of reactively finding out about it.
In particular, when opening the AWS Personal Health Dashboard https://phd.aws.amazon.com/phd/home, there is the following suggestion: Stay informed quickly and easily. Did you know that you can send AWS Health events to Slack, email lists, or a custom destination of your choice? If you have Business or Enterprise Support, you can set up the AWS Health Aware tool within minutes to send Health events from your account or organization to almost any other destination. Learn more in this AWS blog post.
Value

Questions / Assumptions

Definition of done

[ ] readme has been updated
[ ] user docs have been updated
[ ] another team member has reviewed
[ ] tests are green

Reference
How to write good user stories

AWS Health Aware – Customize AWS Health Alerts for Organizational and Personal AWS Accounts

Looks like there's a terraform option available here that could be a good starting point.

Looks like we can do this with PagerDuty - https://support.pagerduty.com/docs/aws-health-dashboard#integrate-with-a-pagerduty-service

We now get emails from AWS health for accounts we manage, and users get them directly. I think this is probably enough as any regional / AZ alerts which would affect user account we would get for our accounts.


Role of Blockchains in Multi-Stakeholder Transactive Energy Systems

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of article
The Role of Blockchains in Multi-Stakeholder Transactive Energy Systems
Introduction paragraph (2-3 paragraphs)
Power grids are undergoing major changes due to rapid growth in renewable energy and improvements in battery technology. Prompted by the increasing complexity of power systems, decentralized solutions are emerging that arrange local communities into transactive microgrids. This paper addresses the problem of implementing transactive energy mechanisms in a distributed setting, providing both privacy and safety. Specifically, we design and implement an automated auction and matching system that ensures safety (e.g., satisfaction of line capacity constraints), preserves privacy, and promotes local trade and market efficiency for transactive energy systems. This design problem is challenging because safety, market efficiency, and privacy are competing objectives. We implement our solution as a decentralized trading platform built on blockchain technology and smart contracts. To demonstrate the viability of our platform, we analyze the results of experiments with dozens of embedded devices and energy production and consumption profiles using an actual dataset from the transactive energy domain.
Key takeaways:
-understand Role of Blockchains in Multi-Stakeholder Transactive Energy Systems
-show effects of Role of Blockchains in Multi-Stakeholder Transactive Energy Systems
References:
-https://www.frontiersin.org/articles/10.3389/fbloc.2020.593471/full#h5
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Good afternoon and thank you for submitting your topic suggestion. @joni-kano
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

To help avoid a backlog queue (and longer review times) we are currently only accepting ONE article TOPIC/PR approved at a time 👍. We can re-open this topic - once the 1st one has been merged/published.


Fix race condition with wait_for_tasks vs task completion

Prior to this commit, if wait_for_tasks was waiting for task completion,
and some tasks completed while it was waiting, then

RuntimeError: dictionary changed size during iteration

would be raised due to the task dictionary being modified.
This commit duplicates the list of task dictionary keys at the start of
iteration, and so the task dictionary can subsequently be
modified without causing this error.
Fixes #1606

d84fe6c hangs in CI non-deterministically on the newly introduced test.

... which is actually revealing a different bug - that an earlier test is raising an exception but not setting the relevant task into a proper completed state.

... and #1608 tests more aggressively for that.

[in the PRs related to testing this] is there pending work to do there?

Yes. That's why I pulled #1614 into a separate PR so this can be merged first.
There's one error handling path that is broken and leaves tasks not properly marked as finished, in a way that makes any use of wait_for_tasks() in the test suite hang forever waiting for that finished-not-finished task. It's in a test that is specifically to discover broken error handling (in checkpointing), so that's a good thing that it has found it.


Master

xcode7 has merged into master before. Can you let me know what's this PR for?

Do you want to rebase xcode7 branch?

Not needed.


Get/Set Configuration

Hello,
I have recently updated my library, and am a bit confused because it seems as if I can't access any configuration but the first one.  How would one go about switching configurations?
Thanks for any help.

Please see here for the SET_CONFIGURATION API and here for example usage.

@vronchetti , this is how I have been setting the configuration. However if I do anything but the first configuration, it fails.

Does the endstation device have two configurations?

@avd17 could you clarify what you mean by "it fails"?

The endstation has 3 configurations. I now have it working on the first and second configuration, but when sent to the 3rd one, the endstation "disappears" from the network, and my code crashes

"It" is the endstation, or avdecc-lib?

I figured it out. Thanks. One more question... Can the library only access one config at a time? When I try to print out all the config info, I only can print the one I'm currently on.

@avd17 The library enumerates all configurations.  To switch between configuration and entity descriptors in avdecccmdline, use the "Select" cmd
e.g.
select [end station index] [entity index ] [configuration index]

Endstations only have one active configuration at a time. That is per the 1722.1 specs. The library closely follows the spirit of IEEE 1722.1.

@andrew-elder Just for clarification, the only way to access each config info is to change the config?

I can loop through and print out the config info.... but only with a second time delay between each config...

@avd17, from what I understand, select does not change the configuration setting on the endpoint/entity. select is not set. select does not affect any settings on and endpoint/entity, but provides the context which other commands use.

$ help view details
Display all descriptors in the currently selected configuration.

... so to read configuration information without telling the entity/endpoint to change to that configuration, use select and view in avdecccmdline. I haven't used the shared object/dll much yet, but I assume the procedure is similar.


tlogclient : fix first sequence used to reconnect.

Fixes #310
Client.blockbuffer now save the last flushed sequence.
It simplify the code and make it more reliable.

@chrisvdg would be great if you can validate this fix.
I finally able to reproduce the issue (see https://github.com/zero-os/0-Disk/issues/310#issuecomment-316266464) and this PR fixed it.


[Bug][dao] Unreachable logic exists in the code that generates the workflow instance

Describe the bug
org.apache.dolphinscheduler.dao.ProcessDao#constructProcessInstance
Constants.CMDPARAM_SUB_PROCESS、Constants.CMDPARAM_RECOVER_PROCESS_ID_STRING，The two Constants actually represent the same value, so the logical branch of cmdParam.containsKey(Constants.cmdParam_Sub_Process) is not reacheable
Screenshots

Which version of Dolphin Scheduler:
-[1.2.1]

@SunnyZ-L The first alphabet of the two constants words should be different, you can check again.

@SunnyZ-L The first alphabet of the two constants words should be different, you can check again.

In version 1.2.1 of Branch, the values of the two constants are the same

@SunnyZ-L The first alphabet of the two constants words should be different, you can check again.

Sorry, I ignored case yesterday

Not a problem


luckperms-migration-groupmanager not working on the latest version

Description
While using luckperms-migration-groupmanager.jar on the latest version on minecraft 1.20.1 and with the latest groupmanager version It doesn't finish the migration:
Reproduction Steps
Everything said on the wiki.
Expected Behaviour
To have migrated but nothing is actually migrated.
Server Details
git-Purpur-2017 (MC: 1.20.1)
LuckPerms Version
v5.4.40
Logs and Configs
[23:02:40 INFO]: PirataGu issued server command: /migrate-groupmanager
[23:02:40 INFO]: [luckperms-migration-groupmanager] Starting.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Starting global group migration.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 1 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 2 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 3 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 4 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 5 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 6 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 7 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 8 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 9 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 10 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 11 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 12 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 13 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 14 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 15 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 16 groups so far.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 16 global groups
[23:02:40 INFO]: [luckperms-migration-groupmanager] Collecting user and group data.
[23:02:40 INFO]: [luckperms-migration-groupmanager] Querying world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 1 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 2 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 3 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 4 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 5 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 6 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 7 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 8 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 9 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 10 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 11 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 12 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 13 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 14 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 15 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 16 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 17 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 18 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 19 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 20 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 21 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 22 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 23 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 24 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 25 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 26 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 27 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 28 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 29 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 30 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 31 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 32 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 33 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 34 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 35 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 36 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 37 groups so far in world survival2023
[23:02:40 INFO]: [luckperms-migration-groupmanager] Migrated 37 groups in world survival2023
[23:02:40 WARN]: [luckperms-migration-groupmanager] Plugin luckperms-migration-groupmanager v1 generated an exception while executing task 848
java.lang.NoSuchMethodError: 'org.anjocaido.groupmanager.data.UserVariables org.anjocaido.groupmanager.data.User.getVariables()'
at me.lucko.luckperms.migration.MigrationGroupManager.lambda$runMigration$5(MigrationGroupManager.java:191) ~[luckperms-migration-groupmanager.jar:?]
at me.lucko.luckperms.migration.Iterators.tryIterate(Iterators.java:38) ~[luckperms-migration-groupmanager.jar:?]
at me.lucko.luckperms.migration.MigrationGroupManager.lambda$runMigration$6(MigrationGroupManager.java:159) ~[luckperms-migration-groupmanager.jar:?]
at me.lucko.luckperms.migration.Iterators.tryIterate(Iterators.java:51) ~[luckperms-migration-groupmanager.jar:?]
at me.lucko.luckperms.migration.MigrationGroupManager.runMigration(MigrationGroupManager.java:118) ~[luckperms-migration-groupmanager.jar:?]
at me.lucko.luckperms.migration.MigrationJavaPlugin.lambda$onCommand$0(MigrationJavaPlugin.java:37) ~[luckperms-migration-groupmanager.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.20.1.jar:git-Purpur-2017]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[purpur-1.20.1.jar:git-Purpur-2017]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[purpur-1.20.1.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Extra Details
No response

this issue should probably be moved to https://github.com/LuckPerms/migration


Is this project still maintained actively

Having  seen a lot of issues closed by stale-bot and being waiting for quite some time on PR approval not getting answers
I know we are all living difficult times but I'd really like to know if this project is still somewhat 'active' on the maintainer(s) side
many thanks for any answer

Hello,
I'm a friend of the author/maintainer of goss. He recently started a new job and is working through getting legal approval to continue contributing to the project.
The project is not dead, just temporarily on hold while legal matters are worked out.
I have contribution access and can take over temporarily.

Hello @ekelali and many thanks for this very good piece of news, I fully understand
All my best @aelsabbahy for the new job
Many thanks to both for all the great work


Bug: Contributors List not displaying

Describe the bug
The contributors list header marker are not correctly formatted, and the list is not displaying.
Also the GitHub Token used in the repo should have permissions of user, repo, workflows, access etc.
Expected behavior
With the workflow action execution a table of contributors will be generated & added in the markers section
Screenshots
NA
Desktop (please complete the following information):

OS: Windows 11
Browser Chrome
Version Version 129.0.6668.90 (Official Build) (64-bit)

@notsoocool Review this issue and add labels to it gssoc-ext, hacktoberfest and level etc

@yashksaini-coder kindly solve this issue under #38

@yashksaini-coder kindly solve this issue under #38

its not my issue

Sorry under #49

Sorry under #49

okh i will sove it under #49 but tell me why can't I raise a new issue to point the Bug-fix

Sorry under #49

okh i will sove it under #49 but tell me why can't I raise a new issue to point the Bug-fix

It's because you already created an issue (#49) and raised a PR that didn’t fully resolve it. There’s no need to create a new issue for the same problem.
I'm allowing the PR to go through since it also included updates to the README. Otherwise, I would have reverted the PR directly.


fix(GlanceVtkJsReader): Properly handle color range

This requires the new vtk.js.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Keeping all the tools together

Signed-off-by: Álvaro Jurado<EMAIL_ADDRESS>

Maybe we should delete the SYSLINUX file altogether now - I don't think it's necessary now the script works.


Publish New Version to PyPi with the Beta Client

Feature description
Thanks for the prompt reviews on my code introducing the beta client code! Now, coinciding with https://github.com/doccano/doccano-client/issues/60 's steps forward, can we publish a new version to pypi with this code? Once we do, we can introduce new changes to get the beta client 1.6+ compatible.

@Hironsan are you the only one with publishing power? Also, is there a way I can be made a code contributor/reviewer for this package since I built out the new beta client? There's an outstanding PR with some fixes here that I'd love to be able to help review.

It's actually probably best that this version of the package not get published until that #71 is merged.

Hey @afparsons and @Hironsan , sorry to bump and mention this again, but can we get an update on this? I'm actually going to be leaving my current company in the next three weeks, and I'd love to get an answer for if we can get contribution power or granting it to my coworker, @houssam7737. It'd allow us to switch to and develop actively on this package from our own internal package. It'd also give us more person-power to review new PRs on this repository.
Thank you in advance! And if that's too much to ask let me know as well.

Hi @ljades
Sorry for the late reply.
Should I add you (and @houssam7737 ) to doccano-client team and grant permission to commit?

Hi @Hironsan , yes please that would be greatly appreciated. Thanks!

Yes, thank you in advance!

@houssam7737 @ljades I send you invitations. Please accept it.

@ljades Do you have an estimate on when the new Doccano version will be published to PyPI?

Hi @armandgurgu23 , unsure. I do not personally have publish credentials or even guidelines for doing that. That would still be a question for @Hironsan . That being said, I can at least suggest that until a new PyPi version is published, you can do an install directly from github and a git commit hash. Hope that helps!

Can you have permission to create a tag and release the code? If you have it, the package will be automatically published to PyPI by the following workflow:

pypi-publish.yml

Oh, but before releasing it, we need to fix the package version.
https://github.com/doccano/doccano-client/blob/fe125f409138d319fb1c74a0d3c41225c539e7f8/setup.py#L25


Cut v2.2.1

It has a minor API change from #216 that should be released formally for downstream folks. It's not a breaking change, so if it's not cut yet, that's okay, but better to do it now in my mind.

Done https://github.com/allegro/bigcache/releases/tag/v2.2.1


[Automated] Update eventing-istio-eventing nightly (#332)

Update eventing nightly
Signed-off-by: Knative Automation<EMAIL_ADDRESS>

OCF Webhook is merging this PR


dotnet.exe restart

Hello,
I've faced with strange situation - dotnet.exe hosted on IIS (Windows Server 2012 R2) is periodically shut down.
While testing our application on high load we do see strange situations - periodically we do have long answer time from server (eg normal answer time is 300ms and long one is 15000 - 20000 ms).
While investigating this we've found out that at this times dotnet.exe is restarted (one process is stopped and another is started), no errors, no logs, nothing is saying about the reason.
Switching stdout logs on does not help much, while test we do see that new files like stdout_9648_20171219125646.txt are created, with mostly the same content:
Hosting environment: Production
Content root path: C:\inetpub\wwwroot
Now listening on: http://localhost:3214             --this line changes for each start
Application started. Press Ctrl+C to shut down.
Application is shutting down...                     --this line appears on process stopped

Looking the documentation & IIS settings I can't find why process is stopped and why it can be stopped.

This issue was moved to aspnet/AspNetCoreModule#278


Disable autocomplete

I rule and have completed some work on Case Manager that's ready for review!
This pull request makes the following changes:

disables form autocomplete feature

It relates to the following issue #s:

#223

Hey @CamLatimer ! Had a few suggestions to implement before merge, let me know if you have any questions.
Thanks much for handling this!

@colinxfleming, I added back the autofocus attribute and left out the autocomplete attribute.  Those files are now back to how they were when I first pulled them down locally to my laptop. Here is the last pushed commit:
https://github.com/CamLatimer/dcaf_case_management/commit/b64d43086ceaa181ab74a4676854ea9bc0641ad1
Let me know if that's okay.

Thanks much @CamLatimer !


Revert "#10 - panics when meet unexpected end of object"

Reverts go-akka/configuration#21

Please, merge this revert ASAP, it panics with any end of object. We need to add tests, at first.


Fixes #233: Avatar disappears on home screen when window width is very small

Fixes #233.

Removes margin from wrapper <div>s encasing buttons
Adds flex-wrap to <div> wrapping around buttons

I don't understand why I cannot resolve my changes in my editor or VS Code. I can see why the package lock might be causing conflicts, but not my .tsx changes.

@benawad How do I see why deployment failed? I made a Vercel account, but when I click on Details, I'm taken to a 404.


saam sort_type is double_typed

For http://data.americanartcollaborative.org/page/saam/constituent/id/1059/name/sortname, for instance, this type is typed with a AAT type.  Please just use the AAT type directly.

Fixed.


fix(material/datepicker): datepicker row count inaccurate for screen …

…reader
Fixes a bug in the Angular Material datepicker component where the divider row is being counted as a row. This is because the 'aria-hidden=true' was placed on its child th tag as opposed to the divider tr tag.
Fixes #28476

Action Item: remember to smoke test on NVDA or JAWS with table navigation features


[policyrecordingbot] permission needs to be consented by tenant admin for MS Graph API - giving an error

Hi,
How do you guys give the admin consent permission for access MS graph API (Calls.AccessMedia.All and Calls.JoinGroupCall.All)?
If can give the steps to achieve that, that would be really great.
When I try all ways this URL "https://login.microsoftonline.com/common/adminconsent?client_id=<app_id>&state=12345&redirect_uri=https://token.botframework.com/.auth/web/redirect" throw me error as shown below.

I followed method mention in the below link as well, is it the correct way to add the admin consent to the policy bot?
Add authentication to a bot: https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-authentication?view=azure-bot-service-4.0&tabs=aadv2%2Ccsharp#azure-ad-identity-service

@Manojb86 Do you have admin privileges for the tenant?   Take a look at the url. The code= parameter will contain your auth token.

thank you for your reply.
I solved my issue by granting admin consent from API permission. For that need to have admin privileges in the relevant tenant.


computed column issues

when there is only 1 column and the column is a computed column, save it will fail

computed column cannot be deleted

I can add a validation rule for the case where all columns are computed columns. (I tested with SSDT and saw the same incorrect syntax error from engine).
I'll fix this.

Fixed by STS vbump in https://github.com/microsoft/azuredatastudio/pull/19237


Can github.sha expand into attacker-controllable code?

I got this message:
info[template-injection]: code injection via template expansion
   --> /Users/ned/coverage/trunk/.github/workflows/coverage.yml:206:9
    |
206 |         - name: "Compute info for later steps"
    |           ------------------------------------ info: this step
207 |           id: info
208 |           run: |
    |  _________-
209 | |           export SHA10=$(echo ${{ github.sha }} | cut -c 1-10)
...   |
217 | |           echo "url=https://htmlpreview.github.io/?https://github.com/nedbat/coverage-reports/blob/main/reports/$SLUG/htmlcov/index...
218 | |           echo "branch=${REF#refs/heads/}" >> $GITHUB_ENV
    | |_________________________________________________________- info: github.sha may expand into attacker-controllable code
    |

Can ${{ github.sha }} be attacker-controlled?  Isn't it controlled by GitHub, and is only the SHA of the commit?  Am I overlooking a particularly sneaky approach?  Or does zizmor warn about any value being interpolated into shell commands, regardless of their origin?

Nope, that's a false positive! There's a set of known-safe contexts defined here:
https://github.com/woodruffw/zizmor/blob/3345ff3eb162a314690634e73eeb04adf2d49b5e/src/audit/template_injection.rs#L35-L48
...but I forgot to add github.sha. I'll fix that now.

Fixed in https://github.com/woodruffw/zizmor/commit/8a933382c6214a80d009a0f6311b6152e15dcd5e.


Add eslint

Codecov Report

Merging #22 (2d9b7ff) into main (b2255da) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #22   +/-   ##
=======================================
  Coverage   92.65%   92.65%
=======================================
  Files          18       18
  Lines         694      694
  Branches       47       47
=======================================
  Hits          643      643
  Misses         47       47
  Partials        4        4

Flag
Coverage Δ

latte
95.08% <ø> (ø)

samples
78.84% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


Bad check for Mono return type in org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter constructor

In class:
https://github.com/spring-projects/spring-amqp/blob/main/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/listener/adapter/HandlerAdapter.java#L52
there seems to be check for Mono - MonoHandler.isMono(invokerHandlerMethod.getMethod().getReturnType()))
But MonoHandler.isMono contains "instanceof" check, not "isAssignableFrom", so this check will be always false, because check is done against Class<?>

Can you provide a concrete example? We have a test case:
https://github.com/spring-projects/spring-amqp/blob/c88a6580d9e0143ce9c84da346d4dc49fe4e2ebd/spring-rabbit/src/test/java/org/springframework/amqp/rabbit/annotation/AsyncListenerTests.java#L297-L305

It looks like we need an overloaded:
	static boolean isMono(Class<?> result) {
		return Mono.class.isAssignableFrom(result);
	}

We still use an existing one in the AbstractAdaptableMessageListener.
I guess it works OK with the Mono processing, but that isAsyncReplies() has some effects on the acknowledges in some container implementations...


Consider mentioning the license more prominently

I see that you've set license = "MIT OR Apache-2.0" in your Cargo.toml. You should also include the LICENSE files and mention the license in the README, so that people can confidently experiment with your code. I want to open a pull request, but I can't be sure if I'm allowed to do that

Hey :) Done: https://github.com/komora-io/terrors/commit/6675b701f5f06da312fbd128628cc2a60dbd2edb


List the JavaScript libraries being used in the system

It would be good to do an audit of the source and see what JavaScript libraries are being used.

Closed by: https://github.com/biocore/qiita/pull/2536


Fix escaping in prepare-for-upload-vhd-image.md

Fix XML entity escaping in prepare-for-upload-vhd-image.md.

@MattKotsenas : Thanks for your contribution! The author(s) have been notified to review your proposed change. @glimoli

hi @georgewallace - can you review this change? thanks.

Changes look fine. #sign-off

@georgewallace: I'm sorry - only the author of this article, @glimoli, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Thanks for the changes @MattKotsenas !


Update vagrant to 1.9.2

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Amazon S3 hickup seems to be over, so this should make it past the download step now.


Cannot use Argo CD App metadata in Argout Rollout notification template

We are using Argo CD notifications currently and I am testing out Argo Rollouts and trying to implement the equivalent notifications for Argo Rollouts. For context, Argo CD and Argo Rollouts are currently installed in different namespaces on the same cluster.
In the docs, there are multiple examples of using .app.metadata.* in the templates. We use these in our Argo CD notifications and they work as expected. However, for Argo Rollouts, it seems the Rollout notification templates cannot read .app as nothing is displayed at all.
The only metadata I have been able to use in the Rollout templates is from the rollout itself (e.g. .rollout.metadata).
I have also tried subscribing the Argo Application resources to the rollout events, but those don't seem to trigger either (using the builtin-trigger templates).
Has anyone run into this before and figured out a way to get the Rollout notification template to be able to access the Argo Application data? Or been able to subscribe Argo Application's to the rollout events?

Answered here: https://github.com/argoproj/argo-rollouts/discussions/3990


Title does not get refreshed after document is loaded

Consider the following document:
<!DOCTYPE html>
<html>
<head>
	<title>Title from HTML</title>
	<script>
		document.addEventListener(
			"DOMContentLoaded",
			function (event) { document.title = "1" }
		);

		function test() {
			document.title = "2";
		};

		document.title = "Title from JavaScript";
	</script>
</head>
<body>
	<button onclick="javascript:test()">Hello</button>
</body>
</html>

Expected

Document title should be 1
Document title should change to 2 on clicking the button

Actual

Document title is 0
Document title stays 0 on clicking the button

If I use "Open in Browser", everything works as expected.

Here is an image:


Usage

How do I get this working on a normal iphone 14?

You don't, there is no jailbreak available for iPhone 14 yet.

I found a way to temporarily jailbreak my iphone 14. but I can't install the app from any repo...do you have any guidance of what to do after jailbreak e.g. which package manager to install, and how to access the repo (last time I tried accessing the repo from Cydia or Sileo but it didn't work or it would say repo url is wrong format

Whatever you found is a fake jailbreak.

this one (https://pangu8.com/jailbreak/iphone-14/), I'm sure it works because other jailbreak tweaks work right after

what about for my old iphone 11pro, it's jailbroken but I don't know how to install the tweak (what's the repo url)

this one (https://pangu8.com/jailbreak/iphone-14/), I'm sure it works because other jailbreak tweaks work right after

That's impossible. The most you may be able to use is MacDirtyCow (MDC) tweaks if you're on iOS 16.0–16.1.2, but that's not a full jailbreak and you can't install regular tweaks, it's more limited and they have to be made specifically for it. I don't think this tweak can be ported to MDC.

what about for my old iphone 11pro, it's jailbroken but I don't know how to install the tweak (what's the repo url)

https://repo.alexia.lol

there's also this which seems to have a good reviews (https://www.youtube.com/watch?v=Esl89a_Sr4M)


use markdown for notebooks

Description
use markdown for notebooks
Checklist
Essentials

[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented

Changes

[x] enable notedown
[ ] convert notebooks to markdown format

Job PR-166/3 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-166/3/index.html

Job PR-166/8 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-166/8/index.html

Job PR-166/10 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-166/10/index.html

Job PR-166/12 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-166/12/index.html

It seems the syntax highlighting is still broken

Job PR-166/15 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-166/15/index.html

Job PR-166/16 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-166/16/index.html

Job PR-166/19 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-166/19/index.html

Job PR-166/38 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-166/38/index.html

Seems that the output cells are still broken.

Job PR-166/41 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-166/41/index.html

Job PR-166/45 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-166/45/index.html

Job PR-166/50 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-166/50/index.html

Job PR-166/51 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-166/51/index.html

Job PR-166/53 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-166/53/index.html

Job PR-166/54 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-166/54/index.html


Create endpoint for uploading test media once complete (videos, client logs, server logs, snapshots)

Especially on test failure, we want to upload all the logs under the sun so we have context on what went wrong.

Endpoint is now available; it will be up to adapters to ensure they upload logs and videos.
For now, the element web adapter is uploading the log and video on each run.


Added docs for ServiceMesh and alternative networking layer with Kourier

Signed-off-by: Suresh Nakkeran<EMAIL_ADDRESS>This PR is to add documentation the use cases for disabling top-level virtual service

Run KServe in ServiceMesh mode
Install KServe with Kourier networking layer

/lgtm
/approve


Parse ISO datetime objects

Description
[Description of the pull request]
Requirements
[Additional actions that have to be done for the pull request to work (such as adding a secret to the repository)]
None.
Additional changes
[Changes done in this pull request that are additional to the purpose of the branch (such as formatting code or deleting files)]
None.

Codecov Report

Merging #14 (0ceea6d) into master (366154a) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           37        37
  Lines          355       367   +12
=========================================
+ Hits           355       367   +12

Impacted Files
Coverage Δ

fintoc/mixins/resource_mixin.py
100.00% <100.00%> (ø)

fintoc/utils.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


error adding a node to "custom" cluster in 2.0

running rancher with commit: 4bae9a34
Started fresh local cluster, adding a node I see the following error happening 3 times in a row.
2018/03/21 14:13:00 [INFO] cluster [cluster-jkt7m] provisioning: [certificates] Successfully deployed kubernetes certificates to Cluster nodes
2018/03/21 14:13:00 [INFO] cluster [cluster-jkt7m] provisioning: Pre-pulling kubernetes images
2018/03/21 14:13:41 [INFO] cluster [cluster-jkt7m] provisioning: [pre-deploy] Successfully pulled image [docker.io/rancher/k8s:v1.8.9-rancher1-1] on host [<IP_ADDRESS>]
2018/03/21 14:13:41 [INFO] cluster [cluster-jkt7m] provisioning: Kubernetes images pulled successfully
2018/03/21 14:13:41 [INFO] cluster [cluster-jkt7m] provisioning: [etcd] Building up Etcd Plane..
E0321 14:13:41.629865   34342 generic_controller.go:200] ClusterController cluster-jkt7m [cluster-provisioner-controller] failed with : [etcd] Failed to bring up Etcd Plane: error during connect: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/etcd/json: failed to find session for client m-ba09ccadd17e, [cluster-stats] failed with : Operation cannot be fulfilled on clusters.management.cattle.io "cluster-jkt7m": the object has been modified; please apply your changes to the latest version and try again
2018/03/21 14:13:41 [INFO] ClusterController cluster-jkt7m completed with dropped err: [cluster-provisioner-controller] failed with : backing off failure, delay: 1m0s
2018/03/21 14:13:42 [INFO] ClusterController cluster-jkt7m completed with dropped err: [cluster-provisioner-controller] failed with : backing off failure, delay: 1m0s
2018/03/21 14:13:54 [INFO] Handling backend connection request.
2018/03/21 14:14:41 [INFO] Provisioning cluster [cluster-jkt7m]
2018/03/21 14:14:41 [INFO] Creating cluster [cluster-jkt7m]
2018/03/21 14:14:41 [INFO] cluster [cluster-jkt7m] provisioning: Building Kubernetes cluster

Tested with latest master. I was able to create a custom cluster, then added a new custom node. Cluster was updated successfully.


Add a single Role to multiple People

Create a command in moderation.py that allows an admin to give multiple roles (separated by spaces) to a single User. Make sure the permissions allow only admins and users with manage roles permission to access it

Hey! I would love to implement this command.
Correct me if I'm wrong, the command would go in cogs/moderation.py.

Yes it would

Just noticed that the title says giving one role to multiple members whereas the description says giving multiple roles to a single member. So, am I supposed to implement both of them or just the one mentioned in the description?

Oh, I'm sorry for the gap in communication, you have to implement a command which takes input as 1 role, and adds it to multiple tagged users, separated by spaces


Issue creating autonumber record

When creating a new autonumber record to configure autonumbering on any built in entity one of either two errors will occur.
Environment is D365 v<IP_ADDRESS> on-premises. Autonumber solution version is <IP_ADDRESS>. No other solutions have been installed in this environment. All SDK steps and workflows in autonumber solution are activated/enabled. The error occurs in 2 environments (Prod and UAT) but works fine in 2 others (Dev and SIT).
---some info removed as not needed---

Turns out this is an environmental issue. Worth calling out that this is sensitive to authentication configuration. We had a couple of missing SPN's that needed to be reviewed.

Good to know. Do you know what the specifics of the errors were or the exact resolution?


Password Visibility Icons on Authorization pages are inverted

Bug Report 🐛
Visibility Icons in Authorization pages are inverted

When password is hidden the icon should be

while it is

Also the colors aren't consistent with app theme
Expected Behavior

When password is hidden the icon should be

while it is

When password is visible the icon color can be warning color and if hidden it can be primary color or background color

I would also like to add a back button to login page from sign up page as is already present from login to signup
Current Behavior

When password is hidden the icon is

instead of

Also the colors aren't consistent with app theme
Possible Solution

inverting icon names in codebase
Steps to Reproduce

No specific conditions needed.
IS present on Login and Signup Page

Context (Environment)

Desktop

OS: [e.g. macOS]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 0.22.15]

Detailed Description

Possible Implementation

Can I work on  this?

I don't think this is a bug; while "flip-flop" buttons like the one in question aren't considered the best option because they don't tell you the current state, the standard is that the icon should show what will happen when you click/tap on it. So, the current behavior lines up with the standard.

Yeah , the button state confused me for a second while exploring the app , ig something like show/hide would be more appropriate?

Hi @Atharv-Joshi, pardon me for the delayed response. Sure, you can work on this.

Hi @Atharv-Joshi, pardon me for the delayed response. Sure, you can work on this.

No problem!


lnp-cli create hangs after channel creation

Checklist

[ ] Make sure you are using the latest code (git checkout master && git pull origin)
[x] Compile only with rust nightly: rustup default nightly && rustup update nightly && cargo test --all --all-features -v
[x] Try to do cargo update
[x] Try to remove target directory

Classify the bug
Put x in the boxes below:

[ ] Build issue
[ ] Test failing
[ ] Runtime panic
[ ] Incorrect results
[x] Unexpected/undocumented behaviour /

Describe the problem
In the latest tag (v0.1.0-alpha.4, at 4f14b5b), a call to lnp-cli create hangs forever after channel creation.
I assume channels get created before the issue arises because of the following log:
[2020-11-04T17:59:58Z INFO  lnp_node::lnpd::runtime] Channel daemon b0459cab9aefa51153067966471c11aa5f6d90ba5233b3b514f0293ff2d22ce2 is registered; total 3 channels are known

and because the channels field in lnp-cli info increases correctly.
However lnp-cli channels still returns an empty string.
To Reproduce
Steps to reproduce the behavior:

Operating system
Debian buster
Rust compiler version
1.47.0
Did you

I set up  node in listening mode lnp-cli listen
I connected a second node successfully with lnp-cli connect
I used lnp-cli create to create a channel between the two nodes

Expected behavior
The command line call to lnp-cli create returns after channel creation

Because the channel creation was not finished at that alpha :) It's completed with the next version I used for the demo yesterday

This is fixed since tag v0.1.0-beta.1.


I received an error when checking my balance with CLI on mainnet

Describe the bug
I received an error when checking my balance with CLI on mainnet
To Reproduce
Steps to reproduce the behavior:

Go to CLI
Run the command below and you will receive the error message

Expected behavior
Balance should return without issue
Screenshots
TWs-MacBook-Pro:stacks.js tw$ stx balance SP2PMEKV245CH97J5955FEWSTHN0BQY0Z0952XYSE
FetchError: request to http://core.blockstack.org:20443/v2/accounts/SP2PMEKV245CH97J5955FEWSTHN0BQY0Z0952XYSE?proof=0 failed, reason: connect ETIMEDOUT <IP_ADDRESS>:20443
    at ClientRequest.<anonymous> (/Users/tw/.nvm/versions/node/v13.13.0/lib/node_modules/@stacks/cli/node_modules/node-fetch/lib/index.js:1461:11)
    at ClientRequest.emit (events.js:315:20)
    at Socket.socketErrorListener (_http_client.js:432:9)
    at Socket.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:84:8)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
request to http://core.blockstack.org:20443/v2/accounts/SP2PMEKV245CH97J5955FEWSTHN0BQY0Z0952XYSE?proof=0 failed, reason: connect ETIMEDOUT <IP_ADDRESS>:20443
TWs-MacBook-Pro:stacks.js tw$

can you check if you have the latest CLI version?

can you check if you have the latest CLI version?

It works not sure why I got this error

It works not sure why I got this error


Feature/issue 191 gp squared exponential

Submisison Checklist

[x] Run unit tests: ./runTests.py test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary:
Add cov_exp_quad function to stan math
Intended Effect:
Reduce the user-written code for covariance matrices used in Gaussian Process models
How to Verify:
Run unit tests:
test/unit/math/fwd/mat/fun/squared_distance_test.cpp
test/unit/math/prim/scal/fun/squared_distance_test.cpp
test/unit/math/rev/scal/fun/squared_distance_test.cpp
test/unit/math/rev/mat/fun/cov_exp_quad_test.cpp
test/unit/math/prim/mat/fun/cov_exp_quad_test.cpp
test/unit/math/mix/mat/fun/cov_exp_quad_test.cpp
Side Effects:
None
Documentation:
Need to create doc in stan reference, and stan language
Reviewer Suggestions:
@syclik
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Rob Trangucci
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Shouldn't we also have a version that inputs a symmetric distance matrix? If the distances are fixed, then we don't need to be recalculating them at every evaluation.

Looks good to me. Just a couple of cosmetic things to fix before merging. If it doesn't get touched in the next couple days, I'll handle it.
@bgoodri, can you create a new issue for that input? No need to tack it on this pull request.

@syclik I'll take care of your comments this afternoon.

Thanks!
On Thu, Jul 7, 2016 at 4:41 PM, Rob Trangucci<EMAIL_ADDRESS>wrote:

@syclik https://github.com/syclik I'll take care of your comments this
afternoon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/math/pull/302#issuecomment-231200839, or mute
the thread
https://github.com/notifications/unsubscribe/AAZ_F9hIV3u5dg2sw3vFUKEBZBTk82hpks5qTWRzgaJpZM4I1vKX
.

Nah. That reminder was good enough!


Documentation: split up contributing guide into smaller, more focused documents

The developer / contributing guide is quite large, and has a lot of different, unrelated components all in one document (contributing.rst). Split up parts of this document into separate, small documents which are easier to link to and to find by users of the Cilium documentation, specifically:

Add a new documentation page under "Developer / Contributor Guide" for building docker images (images.rst)
Add a new section for running tests under "Developer / Contributor Guide" called "Testing". Split out the sections for unit testing and e2e testing into their own files, unit.rst and e2e.rst accordingly.

This change is

test-docs-please

Coverage increased (+0.002%) to 45.565% when pulling d683d3d3258e31c32f656e2306535d580212a043 on pr/ianvernon/split-up-dev-contributing-guide-some-more into abb94d374fbf20651689aeaf6a6bc32abe8c686d on master.

@joestringer hm, does it persist if you run cd Documentation/ ; make clean and then run make render-docs from the root of the cilium repo again?
RE: your comments - all valid. I'll work on doing that, it makes sense to split up the guide entirely right now into separate documents and group them under Developer / Contributor Guide.

hm, does it persist if you run cd Documentation/ ; make clean and then run make render-docs from the root of the cilium repo again?

Didn't try yet, but I assumed make render-docs builds from a clean slate each time. If not that would explain it.

test-docs-please