[Bug] StreamSink lose infomation sometimes

Describe the bug
I am using StreamSink to send information to flutter, but sometimes information would lose, only the last one will be accepted by flutter.
Here are codes.

flutter

import 'package:flutter/material.dart';

import 'bridge/native.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

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

  final String title;

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

class _MyHomePageState extends State<MyHomePage> {
  bool started = false;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            TextButton(
                onPressed: () {
                  setState(() {
                    started = true;
                  });
                  api.startScan();
                },
                child: const Text("Start scan")),
            if (started)
              StreamBuilder(
                  stream: api.fileScanStream(),
                  builder: (c, d) {
                    print(d.data);
                    return Text(d.data.toString());
                  })
          ],
        ),
      ),
    );
  }
}

rust

use anyhow::Result;
use core::time;
use flutter_rust_bridge::StreamSink;
use std::{sync::RwLock, thread};

pub static SEND_TO_DART_FILE_STREAM_SINK: RwLock<Option<StreamSink<String>>> = RwLock::new(None);

pub fn file_scan_stream(s: StreamSink<String>) -> Result<()> {
    let mut stream = SEND_TO_DART_FILE_STREAM_SINK.write().unwrap();
    *stream = Some(s);
    Ok(())
}

pub fn start_scan() {
    thread::sleep(time::Duration::from_millis(10));

    let mut i = 0;

    loop {
        i += 1;
        if i >= 20 {
            break;
        } else {
            match SEND_TO_DART_FILE_STREAM_SINK.try_read() {
                Ok(s) => {
                    match s.as_ref() {
                        Some(s0) => {
                            let _f = String::from(format!("Test name {:?}",i) );
                            s0.add(_f);
                            // println!("got types: {:?}", l);
                        }
                        None => {
                            println!("Stream is None");
                        }
                    }
                }
                Err(_) => {
                    println!("Stream read error");
                }
            }
        }
    }
}

but if i add a sleep function to rust side, the stream works well

I dont know why this happened, and also, if i use tokio multi thread, to send infomation, even with a sleep function, some infomation still will lose.
Codegen logs with RUST_LOG=debug environment variable
PS D:\secret_data\filescan_client\small_demo> flutter_rust_bridge_codegen --rust-input native/src/api.rs --dart-output ./lib/bridge/bridge_generated.dart         2023/02/08 09:48:56 [WARN] Skipping unresolvable module web (tried \\?\D:\secret_data\filescan_client\small_demo\native\src\web.rs, \\?\D:\secret_data\filescan_client\small_demo\native\src\web\mod.rs, \\?\D:\secret_data\filescan_client\small_demo\native\src\bridge_generated\web.rs, \\?\D:\secret_data\filescan_client\small_demo\native\src\bridge_generated\web\mod.rs, )
2023/02/08 09:48:56 [WARN] Skipping unresolvable module io (tried \\?\D:\secret_data\filescan_client\small_demo\native\src\io.rs, \\?\D:\secret_data\filescan_client\small_demo\native\src\io\mod.rs, \\?\D:\secret_data\filescan_client\small_demo\native\src\bridge_generated\io.rs, \\?\D:\secret_data\filescan_client\small_demo\native\src\bridge_generated\io\mod.rs, )
Flutter 3.7.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 7048ed95a5 (6 days ago) • 2023-02-01 09:07:31 -0800
Engine • revision 800594f1f4
Tools • Dart 2.19.1 • DevTools 2.20.1
2023/02/08 09:48:57 [INFO] Picked config: Opts { rust_input_path: "D:\\secret_data\\filescan_client\\small_demo\\native/src/api.rs", dart_output_path: "D:\\secret_data\\filescan_client\\small_demo\\./lib/bridge/bridge_generated.dart", dart_decl_output_path: None, c_output_path: ["C:\\Users\\XIAOSH~1\\AppData\\Local\\Temp\\.tmpeqIQL6.h"], rust_crate_dir: "D:\\secret_data\\filescan_client\\small_demo\\native", rust_output_path: "D:\\secret_data\\filescan_client\\small_demo\\native/src\\bridge_generated.rs", class_name: "Native", dart_format_line_length: 80, skip_add_mod_to_lib: false, llvm_path: ["/opt/homebrew/opt/llvm", "/usr/local/opt/llvm", "/usr/lib/llvm-9", "/usr/lib/llvm-10", "/usr/lib/llvm-11", "/usr/lib/llvm-12", "/usr/lib/llvm-13", "/usr/lib/llvm-14", "/usr/lib/", "/usr/lib64/", "C:/Program Files/llvm", "C:/msys64/mingw64"], llvm_compiler_opts: "", manifest_path: "D:\\secret_data\\filescan_client\\small_demo\\native\\Cargo.toml", dart_root: Some("D:\\secret_data\\filescan_client\\small_demo"), build_runner: true, block_index: BlockIndex(0), skip_deps_check: false, wasm_enabled: false, inline_rust: false }
2023/02/08 09:48:57 [INFO] Phase: Parse source code to AST, then to IR
Running in Directory: 'D:\secret_data\filescan_client\small_demo'Input Headers: [C:\Users\XIAOSH~1\AppData\Local\Temp\.tmp7BpVx8.h][WARNING]: Generated declaration '_Dart_Handle' start's with '_' and therefore will be private.
Finished, Bindings generated in C:\Users\XIAOSH~1\AppData\Local\Temp\.tmp5sK7zlthe path is "C:\\Users\\XIAOSH~1\\AppData\\Local\\Temp\\.tmpeqIQL6.h"2023/02/08 09:49:00 [INFO] Phase: Running build_runner
2023/02/08 09:49:00 [INFO] Phase: Formatting Dart code
Formatted D:\\secret_data\\filescan_client\\small_demo\\./lib/bridge/bridge_generated.dart
Formatted 1 file (1 changed) in 0.20 seconds.
2023/02/08 09:49:01 [INFO] Success!
2023/02/08 09:49:01 [INFO] Now go and use it :)

To Reproduce
No response
Expected behavior
No response
Generated binding code
No response
OS
windows 11
Version of flutter_rust_bridge_codegen
1.62.1
Flutter info
[✓] Flutter (Channel stable, 3.7.1, on Microsoft Windows [版本 10.0.22621.1105], locale zh-CN)
    • Flutter version 3.7.1 on channel stable at D:\flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7048ed95a5 (6 days ago), 2023-02-01 09:07:31 -0800
    • Engine revision 800594f1f4
    • Dart version 2.19.1
    • DevTools version 2.20.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✗] Windows Version (Unable to confirm if installed Windows version is 10 or greater)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at D:\androidSDK
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.3.1)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.3.32811.315
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 4.1)
    • Android Studio at D:\AndroidStudio
    • 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 1.8.0_242-release-1644-b01)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.2)
    • IntelliJ at D:\IntelliJ IDEA 2020.2.3
    • 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

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [版本 10.0.22621.1105]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 109.0.5414.120
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 109.0.1518.78

[✓] HTTP Host Availability
    • All required HTTP hosts are available

Version of clang++
No response
Version of ffigen
6.1.2
Additional context
No response

Hmm looks like the stream has not been there, i.e. StreamSink is None?

StreamSink is None at the first time, but  when I clicked more times, it is not None. You can see the former gif, after I clicked the button several times, the stream returns Test name 19, but Test name 0 to Test name 18  are missing.

Without detailed examination, I guess then you are just sending data to the old stream while you indeed want to see data in the new stream.

Is this problem related to #517? I found that issue the stream is None too.

looks familiar, but I'm not sure.
You can try stream.listen(_).onData(function)

@fzyzcjy @rogurotus  using a stream.listen(e){ setState() }, not using stream in StreamBuilder solves the problem, thanks!


Make it possible to store registry login on the server

Yet, docker_registry just authenticates the chef-client to be able to pull during the run, but the credentials are not store in, e.g. ~/.docker/config.json.
Are there any plans to probably make it possible to define
docker_registry 'registry' do
  serveraddress 'https://registry.com/'
  username registry_user
  password registry_password
  email registry_email
  storage :local
end

By default, storage is :runtime ?

Chef is speaking directly to the Docker API rather than shelling out to the docker binary.
https://github.com/chef-cookbooks/docker/blob/a950171f29c3bc729a45d7429575bf14ed965f13/libraries/docker_registry.rb#L26
Stashing credentials on disk would make it convenient for shell users outside of a Chef run, but which user? Chef typically runs as root....
It's best just to use a file or cookbook_file resource to drop off the config.json

@someara well things get complicated this way, if you ignore that fact you will create a second ecosystem driving away from this cookbook. Just for example https://github.com/sboschert/chef-cookbook-docker_compose/issues/6 .. people use this cookbook to authenticate but cannot use docker-compose in the end.
Using this "during chef runs only" beats docker-compose completely, a tool to be used in the shell.
The point is, if it is convinient using docker_registry, also stored as config.json, this will grow in the right direction.
I was aware that you ask for the user. I would put that as parameter, but usually docker-engine runs under root, all your commands do also, so this is a good default anyway.
What do you think?

Maybe we could have a separate resource something like docker_credentials that can then be used both by docker_registry (optionally) and a new wrapper file resource for making the config.json?

@bflad not sure if that make sense, could you elaborate why to split that one out? It would mean plain duplication.
I would not change the default behavior for docker_registry, just add an option to deploy that for the shell. Creating a new resource in need for 90% of the same parameters will not help the convenience i suppos

As @someara pointed out, the cookbook would not have the proper details of who gets permissions on the configuration file and where it should be saved by default (although I guess root and ~root/.docker/config.json ... which would overwrite any other settings in there). To support configuring the file itself, the resource would need a couple more attributes (e.g. owner, mode, location, etc), which are really unrelated to a "docker registry". Also, what if the credentials should be saved in multiple locations? You would need to duplicate things or hack together the file resource to copy it around, which sounds messy.
Regardless of splitting out what I'm calling docker_credentials to reduce duplication, I do think something that can drop a managed config file is handy, if its possible/makes sense. I forget off the top of my head if you need to refresh the auth token that gets saved in the config.json (which could complicate things). There's also a few other things that can be dropped in there beyond "auths": https://github.com/docker/docker/blob/master/man/docker-config-json.5.md

I have to do some work in this area soon anyway... stay tuned

On Dec 8, 2016, at 1:58 PM, Brian Flad<EMAIL_ADDRESS>wrote:
As @someara pointed out, the cookbook would not have the proper details of who gets permissions on the configuration file and where it should be saved by default (although I guess root and ~root/.docker/config.json ... which would overwrite any other settings in there). To support configuring the file itself, the resource would need a couple more attributes (e.g. owner, mode, location, etc), which are really unrelated to a "docker registry". Also, what if the credentials should be saved in multiple locations? You would need to duplicate things or hack together the file resource to copy it around, which sounds messy.
Regardless of splitting out what I'm calling docker_credentials to reduce duplication, I do think something that can drop a managed config file is handy, if its possible/makes sense. I forget off the top of my head if you need to refresh the auth token that gets saved in the config.json (which could complicate things). There's also a few other things that can be dropped in there beyond "auths": https://github.com/docker/docker/blob/master/man/docker-config-json.5.md
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@someara great stuff, i am tuned in :)

We personally did the following stuff, some variables were redacted, but the idea should be clear, imo
ruby_block 'save docker auth info' do
  block do
    # /root/.docker/config.json
    # beta_gcr_io = node.run_state['docker_auth']['beta.gcr.io']
    # docker_default = node.run_state['docker_auth']['index.docker.io']
    # compose template
    #
    # Reason for this is that chef-docker cookbook keep auth data in memory
    # therefore, if we want to use docker manually (ie pull smth) we need to write this down
    #
    data = {
      'auths' => {
        'https://gcr.io/' => {
          'auth' => Base64.strict_encode64("_json_key:#{docker_json}"),
          'email' => docker_email
        },
        'https://index.docker.io/v1/' => {
          'auth' => Base64.strict_encode64("#{docker_username}:#{docker_password}"),
          'email' => docker_email
        }
      }
    }

    rc = Chef::Resource::File.new('/root/.docker/config.json', run_context)
    rc.path '/root/.docker/config.json'
    rc.mode 0600
    rc.content JSON.pretty_generate(data)
    rc.run_action :create

  end
end

This will do it every single converge run, thats an issue ( we did the same + avoided the converge issue )

yes, but generally writing a file doesnt really matter ;) Can you post your code with idempotent solution?

Why not just use the file resource directly instead of turning it inside out from a ruby_block?

Sorry to add to this so late but this is exactly the type of functionality I was expecting when I first looked into this resource. I'm also attempting to use this in combination with docker-compose. I want the docker image pull cycle outside the chef-client run.
As @EugenMayer mentioned, this behavior completely ignores the docker-compose scenario. I'm seeing docker-compose being used a lot more often now and some people are even using it in combination with something like systemd to replace traditionally installed services.


Cert tests: use a single go.mod for all certification tests

Description
As of today, there are 48 go.mod (and as many go.sum) files in this repository, which cause four consequences:

Makes it hard to replace dependencies when needed, for example to use a fork of dapr/dapr in cert tests
Causes all PRs that change any dependency to have hundreds of lines changed, which add noise and make the PRs harder to review

Case in point: this PR changes almost 46,000 LOCs!

When there's a merge conflict in those go.mod files, resolving them manually is not fun
It makes gopls (the VS Code Go language server) very unhappy when you try to work on cert tests

The main cause for this is that there's a go.mod in each certification test. As we are adding more tests, this is starting to become hard to maintain.
This PR changes that to have a single go.mod for all cert tests. It brings the number of go.mod files in this repo down to just 7 (still a lot, but much easier to maintain)

one question, any specific reason to remove diff check?

Tests would fail otherwise as it expects to find a go.mod inside each component's folder
That check wasn't really necessary anyways, since the main CI pipeline is already doing make modtidy-all and checking for diffs


Consider updating all votes from a user after an un/delegation

Even though this issue is known and that the staking contract prevents this issue from happening, I believe it's good to have an issue for it.
Currently the stacked-token weighted votes only consider that user's weight/balance at the time when the users makes the action of voting itself, which is a potential threat to the voting system if some users collude in concentrating delegations/tokens for one user voting (to then proceed to re-delegate to another user to vote, and so on), since the users' undelegation doesn't affects their previous votes.
It should be noted that the staking implementation prevents this problem by defining a next_action_timestamp state which gets placed when a user undelegates, preventing them from delegating it again (or withdrawing the token) during the time in which any proposal will be alive.
So I believe that, ideally, the DAO wouldn't depend on that kind of behavior from the staking contract, because a bad change on the duration of the proposals on the DAO or on the period in which the users can't delegate/withdraw on the staking contract could enable this threat to the voting system.
Although a change in this would probably require indexing of votes and a lot of increase in gas usage for the overall system (each vote, each un/delegation), perhaps it's good to have an issue for this.

@swfsql I like the thinking here. It does seem like more research is required on how to best address this issue as the governance models supported in sputnik evolve. Marked for further discussion.


Make Integer/Float tokens be strings instead of parsed numbers

This will help move tokens to contain CoW strings in the future to
reduce the number of memory allocations done by the preprocessor.
Detailed changes are:

Change the TokenValue to use strings for Integers and Floats
Move logic to parse integers and floats in token.rs as functions
taking an &str and returning parsed numbers.
Rework the lexer tests for this new representation.
Simplify lexer tests by making most tests use the following pattern
assert_eq!(lexed_token_values("..."), vec![...]) which is less
noisy.
Adapt preprocessor tests to not use unsigned integers for the
result of the LINE define.

Fixes #3

Thanks!


iOS export does not like spaces

Godot version:
Master build from today but I think this applies to any Godot 3.1 build atm
OS/device including version:
Any iOS device
Issue description:
Exporting to iOS does not behave well when spaces are involved.
Steps to reproduce:
There are two main issues, one is with the file names so simply ensure there is a space in your project name.
Spaces within file names as written into the project file need to be escaped with a backslash
So: My Godot Test.a
Becomes: My\ Godot\ Test.a
Spaces within fields such as the developer team should result in the string enclosed in double quotes
So: Bastiaan Olij
Becomes: "Bastiaan Olij"

This one seems to be fixed in both master (21d1ea60a7193eae9be574c1730f39b0fd2bceb2) and 3.2 (b765e42c151a74287911a26eccdab862373ef939) and is not reproducible in 3.2.2 RC4

Thanks for testing. Closing as fixed.


Added MyLinearLayout by @youngsoft to Layout section

Project URL

https://github.com/youngsoft/MyLinearLayout
Description

Added MyLinearLayout by @youngsoft to Layout section
Why it should be included to awesome-ios (optional)
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

That's a complete Readme! haha
Nice find, @nschucky! Thanks for contributing. :tada:


manual mode with xarm_controller

The goal of this issue is to clarify how or even if it is currently possible to switch between these two behaviors:

Use the joint_trajectory_controller/JointTrajectoryController controllers.
Use the robot Manual Mode.

This would be really useful to quickly test applications while actually controlling the robot with ros2_control.
Case 1: Manual mode with xarm_api ✅
Using only the xarm_api, I'm able to successfuly switch between manual and position modes:
## Terminal 1

# Launch the ROS 2 API for the xArm5
ros2 launch xarm_api xarm5_driver.launch.py robot_ip:=X.X.X.X

## Terminal 2

# Use the `set_mode` service to set manual mode
ros2 service call /xarm/set_mode xarm_msgs/srv/SetInt16 "{data: 2}"

# Go back to position control mode
ros2 service call /xarm/set_mode xarm_msgs/srv/SetInt16 "{data: 0}"

# The robot can still be moved with the UFACTORY Studio at this point

Case 2: Manual mode with xarm_controller ❌
However, after launching the joint_trajectory_controller/JointTrajectoryController, a manual mode request seems to break some things. The solution is to relaunch everything, which is not desired.
Here's how to reproduce the behavior:
## Terminal 1

# Launch MoveIt and ros2_control for the xArm5
ros2 launch xarm_moveit_config xarm5_moveit_realmove.launch.py robot_ip:=X.X.X.X

# Everything works at this point, and I can move the robot using RViz

Make a set_mode request. This makes moving the robot through RViz stop working:
## Terminal 2

# Use the `set_mode` service to set manual mode
ros2 service call /xarm/set_mode xarm_msgs/srv/SetInt16 "{data: 2}"

The following message appears on terminal 1 after setting the manual mode:
[ros2_control_node-6] [set_state], xArm is not ready to move
[ros2_control_node-6] [ERROR] [1701702810.167133511] [UFACTORY.RobotHW]: [X.X.X.X] Robot State detected! State: 5

Possible workarounds
Is there perhaps a set of steps to achieve what I want? E.g., perhaps I should use the xarm/set_state and xarm/set_mode services, and/or ros2 control commands before/after setting the manual mode?

Hi @mcres, while it is not recommended to switch to manual mode when using ros-controller and Moveit planning, there is a way to achieve your expectation, however please test with enough caution.
The ufactory robotic arm will operate in mode 1 for external servo controller. When you wish to switch to manual mode 2, you may need to call set_mode(2) twice since the first mode change command will first reset mode to 0. Then a set_state(0) service call to enable the drag and teach function. Current mode can be monitored in /xarm/robot_states topic. Before doing this mode change, please make sure the payload and mounting configurations are correct.
If you finished hand teaching and would like to restore back to ros-controller, you need to call set_mode(1) service followed by a set_state(0) service. After that, you must update the current robot state (starting position for next planning) in Moveit since it was no longer the same with last planning finish position.  This can be done by selecting/clicking current again for Start State in Moveit Rviz GUI.

Thanks for the prompt reply @penglongxiang.
I'll give it a try and let you know.

@penglongxiang I've tried your suggestion but I'm not able to restore the ros2_controller back:
ros2 service call /xarm/set_mode xarm_msgs/srv/SetInt16 "{data: 2}"
ros2 service call /xarm/set_mode xarm_msgs/srv/SetInt16 "{data: 2}"  # it is indeed needed to call this twice
ros2 service call /xarm/set_state xarm_msgs/srv/SetInt16 "{data: 0}"

# At this point, the robot can be moved in manual mode

ros2 service call /xarm/set_mode xarm_msgs/srv/SetInt16 "{data: 1}"
ros2 service call /xarm/set_state xarm_msgs/srv/SetInt16 "{data: 0}"
# RViz: update the Start State to "Current"

# I'm not able to use the ros2_controller again through RViz

Here's the console output of the process in case it helps. At line 166 I executed the previous commands.
Note: the Plan and Execute request complete! attempts correspond to executions with the same start and goal position.
Any suggestions?

Monitoring the /xarm/robot_states I see that initially, the robot is at {mode, state} = {4,1}.
I can successfully switch between manual mode and the ros2_controller by modifying the commands above:
ros2 service call /xarm/set_mode xarm_msgs/srv/SetInt16 "{data: 2}"
ros2 service call /xarm/set_mode xarm_msgs/srv/SetInt16 "{data: 2}"
ros2 service call /xarm/set_state xarm_msgs/srv/SetInt16 "{data: 0}"

# At this point, the robot can be moved in manual mode

ros2 service call /xarm/set_mode xarm_msgs/srv/SetInt16 "{data: 4}" # change is here
ros2 service call /xarm/set_state xarm_msgs/srv/SetInt16 "{data: 0}"

# At this point, the robot can be moved using RViz again

As an aditional comment, the services requested at /xarm/set_mode and /xarm/set_state, and the corresponding changes in the /xarm/robot_states topic are not very coherent. For instance, the state will never be 0 even though the controller is requested so.
@penglongxiang I could only find this documentation on modes and states. Is there any other place where this is explained?  It'd be interesting having a list of the error codes as well.

Hi, @mcres, so I guess you are using joint velocity interface, which will require setting to mode 4 instead of mode 1 for position interface. Sorry I forgot to mention this difference in previous reply.
About the Mode and State explanation, we are working on an online document which will address this topic but it is not released yet, I will post the content here first for your reference.
Mode (setting and feedback):
Mode 0 : xArm controller Position mode (Default mode).
Mode 1 : External trajectory planner servo (position) mode.
Mode 2 : Free-Drive (zero gravity) mode.
Mode 3 : Reserved.
Mode 4 : Joint velocity control mode.
Mode 5 : Cartesian velocity control mode.
Mode 6 : Joint space dynamic online planning mode. (Firmware >= v1.10.0)
Mode 7 : Cartesian space dynamic online planning mode. (Firmware >= v1.11.0)

Mode (only in feedback)
Mode 11: In the process of recorded trajectory playback;

----------------------------------------------------------------------------------------

State (For setting)
state 0: Configure the robot to be STANDBY state in corresponding Mode, as well as clearing the error code. Note: After the setting, feedback state will switch to 2 (READY) automatically.
state 3: Setting the robot to a PAUSED state when executing motion commands, the motion can be resumed by setting state 0.
state 4: Setting the robot to STOP state, it will terminate any execution immediately and will not receive or execute any new command until the sate is set back to STANDBY(0).
state 6: Perform decelerated stop immediately in Mode 0.

State (For Feedback)
state 1: robot is in motion.
state 2: robot is ready to receive and execute command.
state 3: robot is in PAUSE state.
state 4: robot is in STOP state, can not receive and execute command. Will automatically switch to this state when any error occurs.
state 5: MODE_CHANGED state, will automatically switch to this state if some critical configurations (mode, payload, TCP offset, collision sensitivity, etc) have been changed. Robot will not receive or execute any command until the state is set back to STANDBY(0).
state 6: robot is performing decelerated stop.

As for the Error Code explanation, please refer to our latest user manual and check the 1.2.1 Control Box Error Code section.

Thanks for the info and support @penglongxiang!

@mcres No problem, feel free to contact us again if there are any further issues.


Feature/issue 1

Submisison Checklist

[x] Run tests: ./runCmdStanTests.py src/test
[x] Declare copyright holder and open-source license: see below

Summary:
Fixes #1
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): Columbia University
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/)

Alright I went and certify it is Truly Annoying to Test this so just merging as is


Update CODEOWNERS for the multi-active-gw branch

See https://github.com/submariner-io/submariner/issues/1731 for
details.
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

@sridhargaddam or @tpantelis, It looks like we still need code owner approval. If you're okay with this branch, we'd appreciate it if you would approve/merge.  Thanks, Andre


New one

What I love to do?

Eating
sleeping
Reading

Hello

[ ] Turn on GitHub Pages
[ ] Outline my portfolio
[ ] Introduce myself to the world


akka thread pool tuning

See the analysis in #3226
Fixes #3226
PG2/2716

@markusthoemmes, @bwmcadams, any updates on this one?

@dubee the config changes themselves are fine, in context. I'll comment on the issue with questions/concerns.

@starpit given @bwmcadams's comments in the issue, how do you want to proceed with this PR?

Closing per @starpit's wish


adding latest certmanager

I don't know if you actually want contributions and your repo has no license but I was intrigued and bored so I added the latest cert-manager.
It's a neat tool and easy enough to add things in.  😄
Thought I might as well give you the PR if it's of any use. No worries if not.

Thanks for the contribution!


Accept implicit encodings.

As I understand it currently I can either enforce all files to have a coding magic comment by using the default or some other accept-encodings:
[flake8]
accept-encodings = latin-1,utf-8

or I can force all files to have no coding magic comment with
[flake8]
no-accept-encodings = True

What if I want to accept the implicit encoding too?
I did not expect a C101 when I have this config:
[flake8]
accept-encodings = utf-8,ascii

Because they are the default implicit encodings that resp. Python 3 and 2.7 use when no magic comment is present.
Is there a reason why I shouldn't want this behaviour?

Did you mean some files have implicit encoding and others have explicit one?
This plugin enforces all of files are implicit or explicit, not mixed.

Exactly

I think that's not use case of this plugin.


Remove DependencyInfoBlock

Steps to reproduce
https://gitlab.com/fdroid/checkupdates-bot-fdroiddata/-/jobs/8236194006#L1345
$ apksigtool parse --json app-release.apk | jq -r '.pairs[].value._type'
APKSignatureSchemeBlock
DependencyInfoBlock
VerityPaddingBlock

hmm looks like you have the DependencyInfoBlock thing :disappointed:
Can you add this fix: https://gitlab.com/fdroid/fdroidserver/-/issues/1056#note_1218193185 ?
android {
    dependenciesInfo {
        // Disables dependency metadata when building APKs.
        includeInApk = false
        // Disables dependency metadata when building Android App Bundles.
        includeInBundle = false
    }
}

we'll need a new version, tag, release
Expected behavior

Actual behavior

Crash logs
No response
App version
0.13.1
Device

Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version.
[X] I will fill out all of the requested information in this form.

Thanks for bringing this up. I'll generate a new version with the fix ASAP.


How to define localized strings?

I've figured out how to define localized error messages using LOC resource in module.xml
<Resource Name="My.Errors.LOC"/>

And supporting file src/My/Errors.xml
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="IRIS" version="26">
  <Document name="My.Errors.LOC">
    <MsgFile Language="en">
      <MsgDomain Domain="MyErr">
        <Message Id="CustomError">Value %1 is invalid</Message>
      </MsgDomain>
    </MsgFile>
  </Document>
</Export>

Which when loaded generates localize/My/MyErrrors.xml file in the working copy and My.Errors include routine (read only):
ROUTINE My.Errors [Type=INC]
#define MyErrCustomError "<MyErr>CustomError"

Which I can include and use as $$$ERROR($$$MyErrCustomError, 42)
Is there a ZPM way to do this for non-error strings such as form labels?

Just curious, how, you would like to use it? With $$$Text, or some other way?
those LOC files are loaded as my localization files and goes to ^IRIS.Msg
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="IRIS" version="26">
  <Document name="demo.LOC">
    <MsgFile Language="en">
      <MsgDomain Domain="myapp">
        <Message Id="Information">Some Information</Message>
        <Message Id="Description">Some Description</Message>
      </MsgDomain>
    </MsgFile>
  </Document>
</Export>

This LOC file will generate
^IRIS.Msg("myapp","en","Description")="Some Description"
^IRIS.Msg("myapp","en","Information")="Some Information"

And this already can be used in Application in some way.

correct, using $$$Text — what does the module.xml look like to load that demo.LOC resource? Where in the working copy do I put the file?
On Sep 15, 2021, at 6:08 AM, Dmitry Maslennikov @.***> wrote:

Just curious, how, you would like to use it? With $$$Text, or some other way?
those LOC files are loaded as my localization files and goes to ^IRIS.Msg

Some Information
Some Description

This LOC file will generate
^IRIS.Msg("myapp","en","Description")="Some Description"
^IRIS.Msg("myapp","en","Information")="Some Information"
And this already can be used in Application in some way.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

I don't know so much about $$$Text, but, what I found is, that it always generates new info in ^IRIS.Msg
So, this usage off macros
$$$Text("@Information@Some Information","myapp","en")
will generate the same data
^IRIS.Msg("myapp","en","Description")="Some Description"
with ZPM, suppose, I'd like to support two languages, and I've created two files en.xml and ru.xml
With the content similar to above. I placed both files in folder src/localize (localize is hardcoded for LOC files, which expected under the SourcesRoot)
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25">
  <Document name="loc-test.ZPM">
    <Module>
      <Name>loc-test</Name>
      <Version>1.0.0</Version>
      <Packaging>module</Packaging>
      <SourcesRoot>src</SourcesRoot>
      <Resource Name="en.loc"/>
      <Resource Name="ru.loc"/>
      <Resource Name="demo.mac"/>
    </Module>
  </Document>
</Export>

And after install I've got this
^IRIS.Msg("myapp","en","Description")="Some Description"
^IRIS.Msg("myapp","en","Information")="Some Information"
^IRIS.Msg("myapp","ru","Description")="Описание"
^IRIS.Msg("myapp","ru","Information")="Информация"

But, if I would have this piece of code in my demo.mac
 Write $$$Text("@Information@Info","myapp","en")

It will override localization from LOC files, and I found only one way, to get the correct localization, is to read it directly, something like this
 Write !,$$$GetAppMessage("en", "myapp", "Information", "Info")

arguments are: language, domain, id, default
And this will read the correct value, which was in LOC files
So, probably, the best way would be to just override $$$Text macro, to be it like $$$GetAppMessage

and if we consider /src as a root for module.xml resources, what is the
folder for loc.xml files?
is it should be in /loc ?
On Wed, Sep 15, 2021 at 8:35 AM Dmitry Maslennikov @.***>
wrote:

I don't know so much about $$$Text, but, what I found is, that it always
generates new info in ^IRIS.Msg
So, this usage off macros
@.***@Some Information","myapp","en")
will generate the same data
^IRIS.Msg("myapp","en","Description")="Some Description"
with ZPM, suppose, I'd like to support two languages, and I've created two
files en.xml and ru.xml
With the content similar to above. I placed both files in folder
src/localize (localize is hardcoded for LOC files, which expected under
the SourcesRoot)

<Module>

  <Name>loc-test</Name>

  <Version>1.0.0</Version>

  <Packaging>module</Packaging>

  <SourcesRoot>src</SourcesRoot>

  <Resource Name="en.loc"/>

  <Resource Name="ru.loc"/>

  <Resource Name="demo.mac"/>

</Module>

And after install I've got this
^IRIS.Msg("myapp","en","Description")="Some Description"
^IRIS.Msg("myapp","en","Information")="Some Information"
^IRIS.Msg("myapp","ru","Description")="Описание"
^IRIS.Msg("myapp","ru","Information")="Информация"
But, if I would have this piece of code in my demo.mac
Write @.***@Info","myapp","en")
It will override localization from LOC files, and I found only one way, to
get the correct localization, is to read it directly, something like this
Write !,$$$GetAppMessage("en", "myapp", "Information", "Info")
arguments are: language, domain, id, default
And this will read the correct value, which was in LOC files
So, probably, the best way would be to just override $$$Text macro, to be
it like $$$GetAppMessage
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/intersystems-community/zpm/issues/258#issuecomment-919979198,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVHEP33PBFLSFSF5OSISDTUCCHINANCNFSM5EBWPCZQ
.

At the moment localize inside src folder if it's configured

inside /localize folder right?
On Wed, Sep 15, 2021 at 9:01 AM Dmitry Maslennikov @.***>
wrote:

At the moment localize inside src folder if it's configured
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/intersystems-community/zpm/issues/258#issuecomment-919997143,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVHEP3HWYANGTWH7FFTIGTUCCKJPANCNFSM5EBWPCZQ
.

e.g. /src/localize/en.xml
On Wed, Sep 15, 2021 at 9:06 AM Евгений Шваров @.***>
wrote:

inside /localize folder right?
On Wed, Sep 15, 2021 at 9:01 AM Dmitry Maslennikov <
@.***> wrote:

At the moment localize inside src folder if it's configured
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/intersystems-community/zpm/issues/258#issuecomment-919997143,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVHEP3HWYANGTWH7FFTIGTUCCKJPANCNFSM5EBWPCZQ
.

yes

would be great to document it.
On Wed, Sep 15, 2021 at 9:07 AM Dmitry Maslennikov @.***>
wrote:

yes
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/intersystems-community/zpm/issues/258#issuecomment-920002234,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVHEP2IAV6AQYUABN5FXMTUCCLBTANCNFSM5EBWPCZQ
.

when I add the src/localize/en.xml and corresponding <Resource Name="en.loc"/> to the module.xml ZPM fails with a class not found error.

Project structure

And module.xml
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25">
  <Document name="loc-test.ZPM">
    <Module>
      <Name>loc-test</Name>
      <Version>1.0.0</Version>
      <Packaging>module</Packaging>
      <SourcesRoot>src</SourcesRoot>
      <Resource Name="My.Errors.LOC"/>
      <Resource Name="en.loc"/>
      <Resource Name="ru.loc"/>
      <Resource Name="demo.mac"/>
    </Module>
  </Document>
</Export>

Just to note, that this functionality is going from InterSystems realization just for HealthShare, and have not been used or reviewed since that. There are a few points here that look strange to me.
So, I would only look at this, as to how we can improve it, to make it useful for us.
And any suggestions will be helpful
Btw, my current module, after installing generate a few more XML files in localize folder at the root of the project, ignoring src.
excerpt from my verbose log of installation
[loc-test]      Activate START
Exporting messages for 'My.Errors' domain(s) to /opt/repo/loc-test/localize/MyErrors.xml
Exporting messages for 'myapp' domain(s) to /opt/repo/loc-test/localize/en.xml

It's like, exporting localization from developer's. Domain name is not supposed to have dots, so, for My.Errors.LOC, it exports domain MyErrors to MyErrors.xml
So, I think as a first improvement, I would suggest do not use SourcesRoot for localization files and place them in the root and keep localize. But, not sure, what to do with export localization after compile

Totally agree we need to pull this out of src, and also feel ZPM should never write to the working copy unless in developer mode. I also think it is important to leverage paradigms that already are in widespread use (e.g. $$$Text, %MessageDictionary).
Here is an idea for your consideration. First the module.xml
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25">
  <Document name="zpm-sample.ZPM">
    <Module>
      <Name>zpm-sample</Name>
      <Version>0.1.0+SNAPSHOT</Version>
      <Packaging>module</Packaging>
      <SourcesRoot>src</SourcesRoot>
      <Resource Name="MyApp.PKG"/>

      <!-- module message domain(s) for use with $$$Text -->
      <Domain Name="MyApp"/>

      <!-- module error domain(s) for use with $$$ERROR -->
      <Domain Name="MyAppErr" IsError="1"/>

      <!-- main locale to use during compilation -->
      <Language Name="en" Default="1"/>

      <!-- other supported locales  -->
      <Language Name="ru"/>
      <Language Name="fr"/>
    </Module>
  </Document>
</Export>

File structure:
    zpm-sample
      ├── lang
      │   ├── en.xml
      │   ├── fr.xml
      │   └── ru.xml
      ├── src
      │   └── MyApp
      │       └── Main.cls
      └── module.xml

So the language files default to <working copy>/lang/*.xml. We could provide a LanguageRoot setting and/or a Language/@Path override too. I feel lang is more appropriate here than localize. Each language file contains one or more domains:
    <?xml version="1.0" encoding="UTF-8"?>
    <Export generator="IRIS" version="26">
      <Document name="en.LOC">
        <MsgFile Language="en">

          <!-- messages -->
          <MsgDomain Domain="MyApp">
            <Message Id="Greeting">Hello</Message>
          </MsgDomain>

          <!-- errors -->
          <MsgDomain Domain="MyAppErr">
            <Message Id="InvalidScope">The scope '%1' is invalid.</Message>
          </MsgDomain>

        </MsgFile>
      </Document>
    </Export>

I'm not sure if we need the Export/Document wrapper, whatever is easiest to implement with existing tools is fine for a little extra boilerplate.
From a ZPM lifecycle point of view the import would set the domain default language ^IRIS.Msg(<domain>) to the default specified in the module.xml. Post compile if in developer mode that language file should be updated to pickup any changes for commit to source control.  The module author would execute zpm "compile my-app" as needed (but at least prior to submitting a pull-request) to automatically update the language xml file.
The final piece is the error message dictionary. Here the developer manually maintains the error domain messages. The Domain/@IsError setting tells ZPM to generate an include file after the import phase to ensure successful compile. When developer updates the error domain, a zpm "import my-app" would make the any new error macros available. Alternatively the module author could omit the  IsError flag and maintain the INC file(s) by hand - benefits of that approach would be keeping the INC under source control, having the ability of which errors to  expose via macro, and backward compatibility with code bases prior to the ZPM lifecycle.
PS: Lots of good info here: https://community.intersystems.com/post/localization-caché-dbms

A brief note on history here, the .LOC document type was intended to take some practices from HS dev around error message localization (having them in an XML file ingested during build processes) and bring the source into the DB as a first-class citizen via %Studio.AbstractDocument so that it could be edited alongside other code.
The Export/Document wrapper is just how XML export of a %Studio.AbstractDocument works (which is the same as XML export of anything else) - I believe this could just as easily be UDL (same as everything else), but haven't tried that before.
Export during the Activate phase was to support some of the build processes in HS but I would agree that this shouldn't happen unless specifically requested. (There's a resource processor class, LocalizationExport, that should be used to explicitly request this export if needed.)
I'm a fan of @mvhenderson 's ideas above.

Note: loading the module with -dev creates an entry in ^Sources for the generated localize; don't think we'll need that so should be removed when refactoring to move localize out of src.
^Sources=""
^Sources("ZPM","*","NoFolders")=1
^Sources("ZPM","zpm-sample")=$c(0)_"/iris/"
^Sources("cls","MyApp.")=$c(0)_"/iris/src/"
^Sources("loc","en")=$c(0)_"/iris/src/localize/"


[api] Make api more declarative

Instead of using attribute for element container, use this pattern and extend HTMLTemplateElement instead of HTMLElement

  <rebel-repeater content="[{ 'firstName' : 'Samwise', ''lastName' : 'Gamgee'}]">

${firstName} ${lastName}

  </rebel-repeater>

i think is should be called <dom-repeater> or <template-repeater>

@Nevraeka I totally agree about the first point, means they would have direct access to the parent so they can easily add classes etc. I'm open to changing the name but was thinking of keeping some branding to entice people to try out RebelJS ;-) (when finished).

Removed the element attribute and RblRepeater extends the HTMLTemplateElement instead.


Quick open functions and line number

Sublime Text and recently also VS Code has this really nice feature which lets you go directly to a function or line number via the quick open meny using the search patterns:

"partOfFileName@function" and
"partOfFileName:linenumber"

What's also nice is that it supports previewing as you type which is really useful if you just want to look something up really quick.
Would love it if Oni2 could look at implement both of these features in the future!
Attached a small video showing the feature:

Alot has happend with Oni2 since I posted this, is all the machinery in place to implement this? Ping @bryphe

I'd also love to be able to quickly run to a function, so +1!


compatibility with tensorflow 1.0+. Fixes #19.

add the logits/labels kwargs so that it runs out of the box with tensorflow 1.0's api

This should totally be merged into the master branch, necessary for tensorflow 1.0

I agree.


zimreader: update for using tntnet-2.2.1 ?

Motivation for this change
This PR updates zimreader for using the tntnet framework recently added (as discussed here:
https://github.com/NixOS/nixpkgs/pull/17777#issuecomment-240212291).
However, zimreader is not maintained anymore so perhaps this PR is a bad idea (we'll have to patch zimreader ourself for future tntnet releases).
Things done

[ ] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

I'm pretty much neutral on this, and I do see the benefits of using updated dependencies. Perhaps you should fork zimreader on your github and this pkg can fetch from your repo instead?

The openzim project is not hosted on github so I can't fork or create a PR easily. By the way, in the README.md, the openzim developers present zimreader as "Old code, provided for archive purposes", so I won't disturb them with my patch. The openzim project has a zimreader-java which is still maintained and may supersede zimreader, but I know nothing about java....
In my opinion, we can merge this PR now to avoid multiple versions of tntnet and just remove zimreader later if someone propose a package of zimreader-java.

I've just found this : https://github.com/wikimedia/openzim/tree/master/zimreader so I'm investigating for a fork or PR...

The wikimedia repo is new to me too. Feel free to add yourself to the
maintainer list if you wish.
On 18 Aug 2016 11:02 p.m., "Julien Dehos"<EMAIL_ADDRESS>wrote:

I've just found this : https://github.com/wikimedia/
openzim/tree/master/zimreader so I'm investigating for a fork or PR...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/17815#issuecomment-240751455, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALvhlFIXj9q1gKPNK_LeOTPPKz2CUyieks5qhHQGgaJpZM4JnVNY
.

Ok.
I've forked openzim and sent a PR to their github repo (https://github.com/wikimedia/openzim/pull/3).
I've also updated the nixpkgs PR. I think we can merged it and wait for some news from openzim.

What do you think about the following version?
It is effectively the same as your version, but allows to apply updates from wikimedia zimreader
(if there any) and makes the transparently what you fork changes.
From a722c28cce265518abb575fa1dc3c633c4de38c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Thalheim?=<EMAIL_ADDRESS>Date: Sat, 8 Oct 2016 08:49:11 +0200
Subject: [PATCH] zimreader: use patch instead of fork
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Jörg Thalheim<EMAIL_ADDRESS>---
 pkgs/tools/text/zimreader/default.nix | 25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

diff --git a/pkgs/tools/text/zimreader/default.nix b/pkgs/tools/text/zimreader/default.nix
index af98b3a..449b1e9 100644
--- a/pkgs/tools/text/zimreader/default.nix
+++ b/pkgs/tools/text/zimreader/default.nix
@@ -1,18 +1,25 @@
-{ stdenv, fetchgit, fetchurl, automake, autoconf, libtool
+{ stdenv, fetchFromGitHub, fetchpatch, automake, autoconf, libtool
 , zlib, openssl, zip, zimlib, cxxtools, tntnet
 }:

 stdenv.mkDerivation rec {
-  name = "zimreader-${version}";
-  version = "20150710";
+  name = "zimreader-0.92";

-  src = fetchgit {
-    url = https://github.com/juliendehos/openzim.git;
-    rev = "3ee5f11eaa811284d340451e6f466529c00f6ef2";
-    sha256 = "1lx27jh2y1dwv7ksdb212573nkikvl3aqpqbb9wnjxnk6jw9vl00";
+  src = fetchFromGitHub {
+    owner = "wikimedia";
+    repo = "openzim";
+    rev = "r1.3"; # there multiple tools with different version in the repo
+    sha256 = "0x529137rxy6ld64xqa6xmn93121ripxvkf3sc7hv3wg6km182sw";
   };
-  # This url is a fork of https://gerrit.wikimedia.org/r/p/openzim.git
-  # which patches zimreader for tntnet-2.2.1.
+
+  patchFlags = "-p2";
+  patches = [
+    (fetchpatch {
+      name = "zimreader_tntnet221.patch";
+      url = "https://github.com/wikimedia/openzim/compare/r1.3...juliendehos:3ee5f11eaa811284d340451e6f466529c00f6ef2.patch";
+      sha256 = "0rc5n20svyyndqh7hsynjyblfraphgi0f6khw6f5jq89w9i1j1hd";
+    })
+  ];

   enableParallelBuilding = true;
   buildInputs = [ automake autoconf libtool zimlib cxxtools tntnet ];
--
2.10.0

Yes, I think your version is better. PR updated. Thanks.


Add filter for index and on-the-fly filter

This PR adds the option to filter on the event index per partition, and adds a keyword parameter to the compute function to filter the dataframe on-the-fly during binning

Closes #11


kata-static: Add cloud-hypervisor to tarball

Include cloud-hypervisor to Kata release tarball
Fixes: #792

/test

/test

/test

/test

/AzurePipelines run


Use the Exchange Online PowerShell V2 module in Azure Automation Account with enabled MFA

Could you please clarify, how can we use this command in Azure Automation Account?
MFA is enabled for all users
BR,
Joan

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

ID: de2836a0-0af3-c147-2d4a-78220ac4e0f1
Version Independent ID: 2cde9735-6281-bb9f-bf07-b30b2f6c7f37
Content: Exchange Online PowerShell V2
Content Source: exchange/docs-conceptual/exchange-online/exchange-online-powershell-v2/exchange-online-powershell-v2.md
Service: exchange-online
GitHub Login: @chrisda
Microsoft Alias: chrisda

@officedocsbot assign @yogkumgit

if possible in a non-interactive way (for backend application)

Hi @joanabdo, thank you for your feedback.
This module is still in preview so I think MFA is not supported yet. Please provide any feedback about this module to<EMAIL_ADDRESS>

@dariomws306  Thank you very much for the contribution and sharing this explanation. @joanabdo
Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

Hi @dariomws306, thanks for your reply, I am gonna send feedback to<EMAIL_ADDRESS>regarding my issue


Attribute Error when plotting benchmark results

Problem
When plotting functionality in pytest is active (PLOT=True), the .plot() throws an AttributeError: module 'backend_interagg' has no attribute 'FigureCanvas'. Thus, the plotting is not possible.

closed by PR #40

closed by PR https://github.com/ourownstory/test-of-time/pull/40


Use static subscription to calculate consumer lag and latency

close #6206

Codecov Report

Merging #6207 (6defb59) into develop (0f878b5) will decrease coverage by 0.19%.
The diff coverage is 2.27%.

@@              Coverage Diff              @@
##             develop    #6207      +/-   ##
=============================================
- Coverage      43.33%   43.14%   -0.19%
+ Complexity      8872     8852      -20
=============================================
  Files           1094     1095       +1
  Lines          77137    77251     +114
  Branches       10057    10076      +19
=============================================
- Hits           33425    33332      -93
- Misses         39558    39751     +193
- Partials        4154     4168      +14

Impacted Files
Coverage Δ

...rocketmq/broker/metrics/ConsumerLagCalculator.java
5.40% <0.00%> (-0.37%)
:arrow_down:

.../protocol/subscription/SimpleSubscriptionData.java
0.00% <0.00%> (ø)

...protocol/subscription/SubscriptionGroupConfig.java
50.47% <4.34%> (-11.43%)
:arrow_down:

.../java/org/apache/rocketmq/common/BrokerConfig.java
27.90% <25.00%> (-0.02%)
:arrow_down:

...n/java/org/apache/rocketmq/test/util/StatUtil.java
15.49% <0.00%> (-14.09%)
:arrow_down:

...q/namesrv/routeinfo/BrokerHousekeepingService.java
70.00% <0.00%> (-10.00%)
:arrow_down:

.../rocketmq/client/producer/RequestFutureHolder.java
81.39% <0.00%> (-6.98%)
:arrow_down:

.../org/apache/rocketmq/remoting/netty/TlsHelper.java
71.57% <0.00%> (-6.32%)
:arrow_down:

...ache/rocketmq/broker/client/ConsumerGroupInfo.java
69.29% <0.00%> (-3.51%)
:arrow_down:

...he/rocketmq/proxy/common/MessageReceiptHandle.java
72.54% <0.00%> (-2.89%)
:arrow_down:

... and 58 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add [[unsafe::drop_only(T)]] to std2::vector and write dangling pointer sample

[[unsafe::drop_only(T)]] on ~vector will remove non-drop usage of T from vector, permitting dangling borrows.

#feature on safety

#include <std2.h>

int main() safe {
  std2::vector<std2::string_view> vec { };
  {
  	std2::string s = "Hello world";
  	mut vec.push_back(s);  // Push a view into this string.
  }

  // The view in vec is dangling, because s is out of scope.
  // It's ill-formed to do any operation on vec other than drop it.
  // println(vec[0]);

  // Drop is ok.
  drp vec;
}

This should fail to build with std2::vector's dtor without the drop_only attribute (and with the __phantom_data). Check why it's not happening.

Merged into the Destructors and phantom data section.


Release v0.17.0

Introduced Artifact Allowlist, Securable Tags, and Subentity Tags services.
Introduced DeleteRuns and RestoreRuns methods in the Experiments API.
Introduced the GetSecret method in the Secrets API.
Renamed Auto Maintenance to Predictive Optimization.
Set necessary headers when authenticating via Azure CLI (#584).

New Services:

Added w.ArtifactAllowlists workspace-level service.
Added w.SecurableTags workspace-level service.
Added w.SubentityTags workspace-level service.
Added catalog.ArtifactAllowlistInfo.
Added catalog.ArtifactMatcher.
Added catalog.ArtifactType.
Added catalog.GetArtifactAllowlistRequest.
Added catalog.ListSecurableTagsRequest.
Added catalog.ListSecurableType.
Added catalog.ListSubentityTagsRequest.
Added catalog.MatchType.
Added catalog.SetArtifactAllowlist.
Added catalog.TagChanges.
Added catalog.TagKeyValuePair.
Added catalog.TagSecurable.
Added catalog.TagSecurableAssignment.
Added catalog.TagSecurableAssignmentsList.
Added catalog.TagSubentity.
Added catalog.TagSubentityAssignmentsList.
Added catalog.TagsSubentityAssignment.
Added catalog.UpdateSecurableType.
Added catalog.UpdateTags.

New APIs:

Added DeleteRuns method for w.Experiments workspace-level service.
Added RestoreRuns method for w.Experiments workspace-level service.
Added ml.DeleteRuns.
Added ml.DeleteRunsResponse.
Added ml.RestoreRuns.
Added ml.RestoreRunsResponse.
Added GetSecret method for w.Secrets workspace-level service.
Added workspace.GetSecretRequest.
Added workspace.GetSecretResponse.

Service Renames:

Renamed EffectiveAutoMaintenanceFlag field to EffectivePredictiveOptimizationFlag for catalog.CatalogInfo.
Renamed EnableAutoMaintenance field to EnablePredictiveOptimization for catalog.CatalogInfo.
Renamed catalog.EffectiveAutoMaintenanceFlag to catalog.EffectivePredictiveOptimizationFlag.
Renamed catalog.EffectiveAutoMaintenanceFlagInheritedFromType to catalog.EffectivePredictiveOptimizationFlagInheritedFromType.
Renamed catalog.EnableAutoMaintenance to catalog.EnablePredictiveOptimization.
Renamed EffectiveAutoMaintenanceFlag field for catalog.SchemaInfo to EffectivePredictiveOptimizationFlag field for catalog.SchemaInfo.
Renamed EnableAutoMaintenance field for catalog.SchemaInfo to EnablePredictiveOptimization field for catalog.SchemaInfo.
Renamed EffectiveAutoMaintenanceFlag field for catalog.TableInfo to EffectivePredictiveOptimizationFlag field for catalog.TableInfo.
Renamed EnableAutoMaintenance field for catalog.TableInfo to EnablePredictiveOptimization field for catalog.TableInfo.

OpenAPI SHA: beff621d7b3e1d59244e2e34fc53a496f310e130, Date: 2023-08-17

Codecov Report
Patch coverage has no change and project coverage change: -0.22% :warning:

Comparison is base (113aac1) 18.47% compared to head (774f765) 18.25%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #585      +/-   ##
==========================================
- Coverage   18.47%   18.25%   -0.22%
==========================================
  Files          85       85
  Lines        9870     9986     +116
==========================================
  Hits         1823     1823
- Misses       7888     8004     +116
  Partials      159      159

Files Changed
Coverage Δ

service/catalog/api.go
0.00% <0.00%> (ø)

service/catalog/impl.go
0.00% <0.00%> (ø)

service/catalog/model.go
0.00% <0.00%> (ø)

service/iam/model.go
0.00% <ø> (ø)

service/ml/api.go
0.00% <0.00%> (ø)

service/ml/impl.go
0.00% <0.00%> (ø)

service/ml/model.go
0.00% <ø> (ø)

service/sharing/model.go
0.00% <0.00%> (ø)

service/sql/model.go
0.00% <ø> (ø)

service/workspace/api.go
0.00% <0.00%> (ø)

... and 2 more

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Create epu.txt

Add Erbil Polytechnic University

@kosratdev lib/domains/iq/edu/epu.text: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

I think it is right, this is the domain (https://epu.edu.iq) and this file path generated by link

@kosratdev lib/domains/iq/edu/epu.text: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.


Input data

I am really interested in this model. Wonder if you could upload the input data the model used. Or describe how the input data was organized in the .npy file.
Thanks.

The data processing file can be found in the folder 'data'. 'preprocess_*.py' is used to preprocess and save the raw data in the .npy file. The shape of saved raw data in the .npy file is [N, C, T], where N represents the number of trials, C represents the number of channels, T represents the number of sample points. Then, 'save_multifreq_data.py' is used to generate multi-view data filtered by a filter bank. The shape of multi-view data is [N, F, C, T], where F represents the number of filters. Finally, the multi-view data  is forwarded as the input data to the proposed network. Related details can also be found in the paper.

I am really interested in this model. Wonder if you could upload the input data the model used. Or describe how the input data was organized in the .npy file.
Thanks.

The data processing file can be found in the folder 'data'. 'preprocess_*.py' is used to preprocess and save the raw data in the .npy file. The shape of saved raw data in the .npy file is [N, C, T], where N represents the number of trials, C represents the number of channels, T represents the number of sample points. Then, 'save_multifreq_data.py' is used to generate multi-view data filtered by a filter bank. The shape of multi-view data is [N, F, C, T], where F represents the number of filters. Finally, the multi-view data  is forwarded as the input data to the proposed network. Related details can also be found in the paper.


mlir-hlo: add erf op (Gauss error function)

Also add lowering to linalg (with math.erf).
Note that although mathematically, the Gauss error function
is defined for both real and complex values, the math.erf op
is only available for floating-point operands.
Therefore, this op is also restricted to floating-point
operands in mhlo and lhlo.

@tj-sun This PR is in draft, any update on this? Please. Thank you!

@tj-sun This PR is in draft, any update on this? Please. Thank you!

Hi sorry, I realised that in order for this work, I need to add this op to XLA as well, which is probably not going to fly. So will close this for now I think.


feat: cast List / LargeList to Utf8 / LargeUtf8

Codecov Report

Merging #10 (e0d750b) into cubesql-v11.1.0 (3370bd3) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@               Coverage Diff                @@
##           cubesql-v11.1.0      #10   +/-   ##
================================================
  Coverage            82.79%   82.80%
================================================
  Files                  190      190
  Lines                54819    54849   +30
================================================
+ Hits                 45388    45416   +28
- Misses                9431     9433    +2

Impacted Files
Coverage Δ

arrow-flight/src/arrow.flight.protocol.rs
0.00% <ø> (ø)

arrow/src/ffi.rs
85.15% <ø> (-0.07%)
:arrow_down:

arrow/src/json/reader.rs
83.61% <ø> (ø)

parquet/src/basic.rs
94.38% <ø> (ø)

parquet/src/errors.rs
29.62% <ø> (ø)

parquet/src/file/page_encoding_stats.rs
100.00% <ø> (ø)

parquet/src/file/properties.rs
95.74% <ø> (ø)

arrow/src/compute/kernels/cast.rs
95.56% <100.00%> (+0.06%)
:arrow_up:

arrow/src/compute/kernels/zip.rs
82.14% <100.00%> (ø)

arrow/src/tensor.rs
87.50% <100.00%> (ø)

... and 9 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


5xx Server Error

Describe the bug
When trying to load any webpage in the codewars.com domain, I get a 5xx server error.
To Reproduce
Navigate to codewars.com from any browser.
Expected Behavior
Page load.
Screenshots

Contexts
Please complete the following information:

Codewars username (if account related): n/a
OS: macOS
Browser: chrome, safari
Browser Version: Chrome v74, Safari 12.1

Same for me

Codewars username (if account related): n/a
OS: macOS
Browser: Safari, Firefox Quantum
Browser Version: Safari 12.1.1, Firefox Quantum 67.0.4 (64-bit)

Same here.

Codewars username (if account related): n/a
OS: macOS
Browser: chrome
Browser Version: Chrome Version 75.0.3770.100

Same here.
Codewars username (if account related): n/a
OS: Windows 10
Browser: chrome
Browser Version: Chrome Version 75.0.3770.100

Same, wrote #1868
Codewars username (if account related): BananaTrader (hopefully - i have to guess)
OS: Windows 10
Browser: Firefox
Browser Version: Firefox 67.0.4

Login name is<EMAIL_ADDRESS>

Appears resolved.


Updating contributors

@all-contributors please add @bsatrom for code and ideas and add @mtheoryx for ideas

@all-contributors please add @bsatrom for code and ideas
@all-contributors add @mtheoryx for ideas

@all-contributors please add @bsatrom for code and ideas

@all-contributors add @mtheoryx for ideas


Add Gettext support

This layers on top of the Phoenix 1.1 upgrade PR, for what it's worth.

Ha! This is so great.
I saw your tweet re: "I18n using ElixirStatus as an example" and wanted to ask you for these exact two PRs. Then I get a cup of coffee, check GitHub, et voilá! :grin:
Will review and merge during the day! :yellow_heart: :purple_heart: :heart: :green_heart: :yellow_heart:

Done and live! :+1:


MIDI Controller emulator

Is your feature request related to a problem? Please describe.
I use VMagic Mirror for Vtubing and it can use a MIDI controller as an input to move the virtual character.
Describe the solution you'd like
Send MIDI inputs via MacroDeck
Describe alternatives you've considered
Try Touch Portal

I think there are MIDI comands in Autohotkey. So maybe you could write and run a script with the Autohotkey plugin.


Gometaliner hangs sometimes on CircleCI

Hi. Gometaliner hangs sometimes on or CircleCI machines
We got go 1.7. That happens in 20% of the cases.
Some output
cd $GOPATH_LOCAL/src/github.com/company/clv_tracker_next && gometalinter -d --vendor --disable=aligncheck --deadline=60s ./...

DEBUG: PATH=/opt/circleci/nodejs/v4.2.6/bin:/opt/google-cloud-sdk/bin:/opt/ghc/8.0.1/bin:/opt/cabal/1.24/bin:/opt/alex/3.1.7/bin:/opt/happy/1.19.5/bin:/home/ubuntu/.composer/vendor/bin:/opt/circleci/.phpenv/shims:/opt/circleci/.phpenv/bin:/opt/circleci/.rvm/gems/ruby-2.2.4/bin:/opt/circleci/.rvm/gems/ruby-2.2.4@global/bin:/opt/circleci/.rvm/rubies/ruby-2.2.4/bin:/home/ubuntu/.go_workspace/bin:/usr/local/go/bin:/opt/circleci/nodejs/v4.2.6/bin:/opt/circleci/.pyenv/shims:/opt/circleci/.pyenv/bin:/usr/local/android-sdk-linux/platform-tools:/usr/local/android-sdk-linux/tools:/usr/local/android-sdk-linux/platform-tools:/usr/local/android-sdk-linux/tools:/usr/local/android-sdk-linux/platform-tools:/usr/local/android-sdk-linux/tools:/usr/local/android-sdk-linux/platform-tools:/usr/local/android-sdk-linux/tools:/usr/local/android-sdk-linux/platform-tools:/usr/local/android-sdk-linux/tools:/usr/local/android-sdk-linux/platform-tools:/usr/local/android-sdk-linux/tools:/usr/local/android-sdk-linux/platform-tools:/usr/local/android-sdk-linux/tools:/usr/local/android-sdk-linux/platform-tools:/usr/local/android-sdk-linux/tools:/usr/local/android-sdk-linux/platform-tools:/usr/local/android-sdk-linux/tools:/usr/local/android-sdk-linux/platform-tools:/usr/local/android-sdk-linux/tools:/usr/local/android-sdk-linux/platform-tools:/usr/local/android-sdk-linux/tools:/usr/local/android-sdk-linux/platform-tools:/usr/local/android-sdk-linux/tools:/usr/local/apache-maven/bin:/usr/lib/jvm/jdk1.8.0/bin:/home/ubuntu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/gradle-1.10/bin:/opt/circleci/.rvm/bin:/opt/circleci/.rvm/bin:/home/ubuntu/.go_workspace/bin:/usr/local/go_workspace/bin
DEBUG: GOPATH=/home/ubuntu/.go_workspace:/usr/local/go_workspace
DEBUG: GOBIN=
DEBUG: linting path .
DEBUG: linting path endpoints
DEBUG: linting path mid
DEBUG: linting with gotype: gotype -e {tests=-a} {path} (on .)
DEBUG: linting with errcheck: errcheck -abspath {path} (on endpoints)
DEBUG: linting with gotype: gotype -e {tests=-a} {path} (on endpoints)
DEBUG: executing /home/ubuntu/.go_workspace/bin/errcheck ["-abspath" "."]
DEBUG: linting with golint: golint -min_confidence {min_confidence} {path} (on mid)
DEBUG: linting with gas: gas -fmt=csv {path}/*.go (on mid)
DEBUG: executing /home/ubuntu/.go_workspace/bin/gotype ["-e" "."]
DEBUG: executing /home/ubuntu/.go_workspace/bin/gas ["-fmt=csv" "contexts.go" "event.go" "event_test.go"]
DEBUG: executing /home/ubuntu/.go_workspace/bin/golint ["-min_confidence" "0.800000" "."]
DEBUG: linting with golint: golint -min_confidence {min_confidence} {path} (on endpoints)
DEBUG: executing /home/ubuntu/.go_workspace/bin/golint ["-min_confidence" "0.800000" "."]
DEBUG: linting with gocyclo: gocyclo -over {mincyclo} {path} (on endpoints)
DEBUG: executing /home/ubuntu/.go_workspace/bin/gocyclo ["-over" "10" "."]
DEBUG: linting with vetshadow: go tool vet --shadow {path}/*.go (on endpoints)
DEBUG: executing /usr/local/go/bin/go ["tool" "vet" "--shadow" "events.go" "healthcheck.go" "test.go"]
DEBUG: linting with gocyclo: gocyclo -over {mincyclo} {path} (on mid)
DEBUG: executing /home/ubuntu/.go_workspace/bin/gocyclo ["-over" "10" "."]
DEBUG: linting with vetshadow: go tool vet --shadow {path}/*.go (on .)
DEBUG: linting with gas: gas -fmt=csv {path}/*.go (on .)
DEBUG: linting with golint: golint -min_confidence {min_confidence} {path} (on .)
DEBUG: gotype hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: linting with gotype: gotype -e {tests=-a} {path} (on mid)
DEBUG: executing /home/ubuntu/.go_workspace/bin/gotype ["-e" "."]
DEBUG: linting with gocyclo: gocyclo -over {mincyclo} {path} (on .)
DEBUG: executing /usr/local/go/bin/go ["tool" "vet" "--shadow" "main.go" "main_test.go"]
DEBUG: executing /home/ubuntu/.go_workspace/bin/golint ["-min_confidence" "0.800000" "."]
DEBUG: gotype linter took 57.529118ms
DEBUG: gocyclo hits 0: ^(?P<cyclo>\d+)\s+\S+\s(?P<function>\S+)\s+(?P<path>[^:]+):(?P<line>\d+):(\d+)$
DEBUG: linting with vetshadow: go tool vet --shadow {path}/*.go (on mid)
DEBUG: executing /home/ubuntu/.go_workspace/bin/gotype ["-e" "."]
DEBUG: executing /usr/local/go/bin/go ["tool" "vet" "--shadow" "contexts.go" "event.go" "event_test.go"]
DEBUG: gocyclo linter took 55.63718ms
DEBUG: linting with errcheck: errcheck -abspath {path} (on .)
DEBUG: executing /home/ubuntu/.go_workspace/bin/errcheck ["-abspath" "."]
DEBUG: linting with vet: go tool vet {path}/*.go (on .)
DEBUG: executing /usr/local/go/bin/go ["tool" "vet" "main.go" "main_test.go"]
DEBUG: executing /home/ubuntu/.go_workspace/bin/gocyclo ["-over" "10" "."]
DEBUG: gocyclo hits 0: ^(?P<cyclo>\d+)\s+\S+\s(?P<function>\S+)\s+(?P<path>[^:]+):(?P<line>\d+):(\d+)$
DEBUG: gocyclo linter took 57.051898ms
DEBUG: linting with errcheck: errcheck -abspath {path} (on mid)
DEBUG: executing /home/ubuntu/.go_workspace/bin/errcheck ["-abspath" "."]
DEBUG: linting with gas: gas -fmt=csv {path}/*.go (on endpoints)
DEBUG: executing /home/ubuntu/.go_workspace/bin/gas ["-fmt=csv" "events.go" "healthcheck.go" "test.go"]
DEBUG: executing /home/ubuntu/.go_workspace/bin/gas ["-fmt=csv" "main.go" "main_test.go"]
DEBUG: gocyclo hits 0: ^(?P<cyclo>\d+)\s+\S+\s(?P<function>\S+)\s+(?P<path>[^:]+):(?P<line>\d+):(\d+)$
DEBUG: gocyclo linter took 98.447266ms
DEBUG: linting with dupl: dupl -plumbing -threshold {duplthreshold} {path}/*.go (on .)
DEBUG: executing /home/ubuntu/.go_workspace/bin/dupl ["-plumbing" "-threshold" "50" "main.go" "main_test.go"]
DEBUG: golint hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: golint linter took 166.56856ms
DEBUG: linting with dupl: dupl -plumbing -threshold {duplthreshold} {path}/*.go (on endpoints)
DEBUG: executing /home/ubuntu/.go_workspace/bin/dupl ["-plumbing" "-threshold" "50" "events.go" "healthcheck.go" "test.go"]
DEBUG: gotype hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: gotype linter took 184.712415ms
DEBUG: linting with dupl: dupl -plumbing -threshold {duplthreshold} {path}/*.go (on mid)
DEBUG: executing /home/ubuntu/.go_workspace/bin/dupl ["-plumbing" "-threshold" "50" "contexts.go" "event.go" "event_test.go"]
DEBUG: gas hits 0: ^(?P<path>.*?\.go+),(?P<line>\d+),(?P<message>[^,]+,[^,]+,[^,]+)
DEBUG: gas linter took 204.424298ms
DEBUG: linting with gosimple: gosimple {path} (on .)
DEBUG: executing /home/ubuntu/.go_workspace/bin/gosimple ["."]
DEBUG: dupl hits 0: ^(?P<path>[^\s][^:]+?\.go):(?P<line>\d+)-\d+:\s*(?P<message>.*)$
DEBUG: dupl linter took 79.162585ms
DEBUG: linting with gosimple: gosimple {path} (on endpoints)
DEBUG: executing /home/ubuntu/.go_workspace/bin/gosimple ["."]
DEBUG: gas hits 0: ^(?P<path>.*?\.go+),(?P<line>\d+),(?P<message>[^,]+,[^,]+,[^,]+)
DEBUG: gas linter took 235.910775ms
DEBUG: linting with gosimple: gosimple {path} (on mid)
DEBUG: executing /home/ubuntu/.go_workspace/bin/gosimple ["."]
DEBUG: dupl hits 0: ^(?P<path>[^\s][^:]+?\.go):(?P<line>\d+)-\d+:\s*(?P<message>.*)$
DEBUG: dupl linter took 102.299434ms
DEBUG: linting with structcheck: structcheck {tests=-t} {path} (on .)
DEBUG: executing /home/ubuntu/.go_workspace/bin/structcheck ["."]
DEBUG: dupl hits 0: ^(?P<path>[^\s][^:]+?\.go):(?P<line>\d+)-\d+:\s*(?P<message>.*)$
DEBUG: dupl linter took 150.681755ms
DEBUG: linting with structcheck: structcheck {tests=-t} {path} (on endpoints)
DEBUG: executing /home/ubuntu/.go_workspace/bin/structcheck ["."]
DEBUG: golint hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: golint linter took 324.181328ms
DEBUG: linting with structcheck: structcheck {tests=-t} {path} (on mid)
DEBUG: executing /home/ubuntu/.go_workspace/bin/structcheck ["."]
DEBUG: gotype hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: gotype linter took 295.660959ms
DEBUG: linting with unconvert: unconvert {path} (on .)
DEBUG: executing /home/ubuntu/.go_workspace/bin/unconvert ["."]
DEBUG: gas hits 0: ^(?P<path>.*?\.go+),(?P<line>\d+),(?P<message>[^,]+,[^,]+,[^,]+)
DEBUG: gas linter took 429.497276ms
DEBUG: linting with unconvert: unconvert {path} (on endpoints)
DEBUG: executing /home/ubuntu/.go_workspace/bin/unconvert ["."]
DEBUG: golint hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: golint linter took 491.287782ms
DEBUG: linting with unconvert: unconvert {path} (on mid)
DEBUG: executing /home/ubuntu/.go_workspace/bin/unconvert ["."]
DEBUG: gosimple hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: gosimple linter took 327.102715ms
DEBUG: linting with staticcheck: staticcheck {path} (on endpoints)
DEBUG: executing /home/ubuntu/.go_workspace/bin/staticcheck ["."]
DEBUG: gosimple hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: gosimple linter took 473.944887ms
DEBUG: linting with vet: go tool vet {path}/*.go (on endpoints)
DEBUG: executing /usr/local/go/bin/go ["tool" "vet" "events.go" "healthcheck.go" "test.go"]
DEBUG: vetshadow hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):\s*(?P<message>.*)$
DEBUG: vetshadow linter took 780.286686ms
DEBUG: linting with vet: go tool vet {path}/*.go (on mid)
DEBUG: executing /usr/local/go/bin/go ["tool" "vet" "contexts.go" "event.go" "event_test.go"]
DEBUG: staticcheck hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: staticcheck linter took 327.733857ms
DEBUG: linting with interfacer: interfacer {path} (on .)
DEBUG: executing /home/ubuntu/.go_workspace/bin/interfacer ["."]
DEBUG: gosimple hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: gosimple linter took 651.246421ms
DEBUG: linting with interfacer: interfacer {path} (on endpoints)
DEBUG: executing /home/ubuntu/.go_workspace/bin/interfacer ["."]
DEBUG: vetshadow hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):\s*(?P<message>.*)$
DEBUG: vetshadow linter took 1.045713101s
DEBUG: linting with interfacer: interfacer {path} (on mid)
DEBUG: executing /home/ubuntu/.go_workspace/bin/interfacer ["."]
DEBUG: vet hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):\s*(?P<message>.*)$
DEBUG: vet linter took 1.222892163s
DEBUG: linting with varcheck: varcheck {path} (on .)
DEBUG: executing /home/ubuntu/.go_workspace/bin/varcheck ["."]
DEBUG: vetshadow hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):\s*(?P<message>.*)$
DEBUG: vetshadow linter took 1.334047911s
DEBUG: linting with varcheck: varcheck {path} (on endpoints)
DEBUG: executing /home/ubuntu/.go_workspace/bin/varcheck ["."]
DEBUG: vet hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):\s*(?P<message>.*)$
DEBUG: vet linter took 1.584452128s
DEBUG: linting with varcheck: varcheck {path} (on mid)
DEBUG: executing /home/ubuntu/.go_workspace/bin/varcheck ["."]
DEBUG: vet hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):\s*(?P<message>.*)$
DEBUG: vet linter took 1.886877386s
DEBUG: linting with staticcheck: staticcheck {path} (on .)
DEBUG: executing /home/ubuntu/.go_workspace/bin/staticcheck ["."]
DEBUG: staticcheck hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: staticcheck linter took 851.919364ms
DEBUG: linting with deadcode: deadcode {path} (on .)
DEBUG: executing /home/ubuntu/.go_workspace/bin/deadcode ["."]
DEBUG: deadcode hits 0: ^deadcode: (?P<path>[^:]+):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: deadcode linter took 32.320379ms
DEBUG: linting with staticcheck: staticcheck {path} (on mid)
DEBUG: executing /home/ubuntu/.go_workspace/bin/staticcheck ["."]
DEBUG: staticcheck hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: staticcheck linter took 1.377962627s
DEBUG: linting with goconst: goconst -min-occurrences {min_occurrences} -min-length {min_const_length} {path} (on .)
DEBUG: executing /home/ubuntu/.go_workspace/bin/goconst ["-min-occurrences" "3" "-min-length" "3" "."]
DEBUG: goconst hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: goconst linter took 194.347911ms
DEBUG: linting with goconst: goconst -min-occurrences {min_occurrences} -min-length {min_const_length} {path} (on endpoints)
DEBUG: executing /home/ubuntu/.go_workspace/bin/goconst ["-min-occurrences" "3" "-min-length" "3" "."]
DEBUG: goconst hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: goconst linter took 179.347462ms
DEBUG: linting with goconst: goconst -min-occurrences {min_occurrences} -min-length {min_const_length} {path} (on mid)
DEBUG: executing /home/ubuntu/.go_workspace/bin/goconst ["-min-occurrences" "3" "-min-length" "3" "."]
DEBUG: goconst hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: goconst linter took 150.851964ms
DEBUG: linting with ineffassign: ineffassign -n {path} (on .)
DEBUG: executing /home/ubuntu/.go_workspace/bin/ineffassign ["-n" "."]
DEBUG: ineffassign hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: ineffassign linter took 211.358117ms
DEBUG: linting with deadcode: deadcode {path} (on endpoints)
DEBUG: executing /home/ubuntu/.go_workspace/bin/deadcode ["."]
DEBUG: deadcode hits 0: ^deadcode: (?P<path>[^:]+):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: deadcode linter took 173.223261ms
DEBUG: linting with deadcode: deadcode {path} (on mid)
DEBUG: executing /home/ubuntu/.go_workspace/bin/deadcode ["."]
DEBUG: deadcode hits 0: ^deadcode: (?P<path>[^:]+):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: deadcode linter took 152.547753ms
DEBUG: linting with ineffassign: ineffassign -n {path} (on endpoints)
DEBUG: executing /home/ubuntu/.go_workspace/bin/ineffassign ["-n" "."]
DEBUG: ineffassign hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: ineffassign linter took 151.667505ms
DEBUG: linting with ineffassign: ineffassign -n {path} (on mid)
DEBUG: executing /home/ubuntu/.go_workspace/bin/ineffassign ["-n" "."]
DEBUG: ineffassign hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: ineffassign linter took 123.326738ms
DEBUG: interfacer hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: interfacer linter took 18.488487463s
DEBUG: interfacer hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: interfacer linter took 19.316686651s
DEBUG: interfacer hits 0: ^(?P<path>[^\s][^\r\n:]+?\.go):(?P<line>\d+):(?P<col>\d+):\s*(?P<message>.*)$
DEBUG: interfacer linter took 19.789586596s

cd $GOPATH_LOCAL/src/github.com/company/clv_tracker_next && gometalinter -d --vendor --disable=aligncheck --deadline=60s ./... died unexpectedly

Does it eventually timeout after the deadline?
I would try --disable-all --enable=<linter> until you find which linter is hanging. It's possible this is a problem with gometalinter itself, but it's better to eliminate the linters first. Bisect them if it's helpful.

No response, closing. Feel free to reopen if you get more information.


Azure Databricks "Repos" feature: git config undocumented

The Limitations / FAQ section mentions explicitly that

Repos  does not support GPG signing of commits

It appears to me that it might also not support user-level (global) .gitconfig in order to have the user and email information for the author and committer of changes. I couldn't find anywhere whether this is true or not, but would like to know before raising a feature request.

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

ID: 0edc68be-c91d-f305-d1d9-8999778b6a7f
Version Independent ID: 1bcf3fba-9d14-544c-8cc1-29c401b87611
Content: Repos for Git integration - Azure Databricks
Content Source: databricks/repos.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@RolandASc  Thanks for the feedback! I have assigned the issue to the content author to evaluate and add it part of limitations.

it looks like this was addressed in the recent May release(s), along with the option to use a PAT
we have user (email) information for the author and committer of changes now, regardless of whether we use the PAT or the AAD method
so I guess this can be closed

Thanks for providing feedback that helps improve our documentation. This issue has been resolved and we are closing the issue.
#please-close

#please-close


Only prints 1st page in Firefox/Safari

Prints fine in Chrome, but will only print first page in Mac Firefox/Safari (Windows untested).

Hi, just wondering whether there is any update regarding this. I realised that if you specifically edit the css/less width then you can make it not be restricted to the initial column width. However I have not had any luck into understanding why it only prints one page of a document (Safari/Firefox on Mac)

@georgesofroniou Unfortunately daux isn't really actively maintained anymore, so no real updates to any of these older issues.


Concepts - "Why webpack?" Section

Linked is one of the best explainers (and is trending on Reddit [or was]) on why bundlers are what someone should use for High Performance web applications (and ergonomics). I'd like to see a "Why webpack". or "Why bundle". section somewhere as a top tier callout to visitors of the page.
This probably represents the final high level gap for general overview and resoning knowledge that we are missing here on the docs site.
Going to label this as a contribution opportunity, however @skipjack @TheDutchCoder if you have a great ideas where this could go, feel free to comment, design that location.

I bookmarked that comment because it was so good, and now that I want to refer to it again, it's gone! Deleted. :(
Did anyone here save it somewhere per chance?

Oh, sorry, sorry! I forgot to tell you.
My reddit content is usually deleted after a time, so I just moved it without modification to a more stable location: That thing about why webpack.
This is probably going to be kept there for a long time. Still, let me remind you that you're free to copy it, if you so prefer.

Thank you for publishing this to keep it accessible!! I think it is a perfect start for our documentation. Just need to figure out how we want to structure the message we send and find out where it would be sent 💯

@TheLarkInn may I work on this ! kindly provide me pointers to begin with !


⚠ Bofrost.fr has degraded performance

In 56e4ec6, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1270 ms

Resolved: Bofrost.fr performance has improved in fa7a9ff.


Can't Access File() with Background handler

Error:
mostly : [Unhandled Exception: NoSuchMethodError:
sometimes : failed to attach to thread flutter
How to Recreate?

Initialise  Background  listener.
Add path_provider: ^2.0.9 in pubspec.yaml
use the following as background method.

static Future<dynamic> myBackgroundMessageHandler(SmsMessage message) async {
  print("onBackgroundMessage: " + message.body!);

  await getExternalStorageDirectory()
  return Future<void>.value();
}


sdl2_net: new package at version 2.0.1

Please fill out the template.
Read: https://k1sslinux.org/wiki/kiss/style-guide
Please include the manifest for version bumps and new packages.

Description of package
From upstream [0]:

This is a small sample cross-platform networking library, with a sample chat client and server application. The chat client uses the GUIlib GUI framework library.

[0] https://www.libsdl.org/projects/SDL_net/
Installed manifest of package
(kiss manifest <pkg>)
/var/db/kiss/installed/sdl2_net/version
/var/db/kiss/installed/sdl2_net/sources
/var/db/kiss/installed/sdl2_net/manifest
/var/db/kiss/installed/sdl2_net/depends
/var/db/kiss/installed/sdl2_net/checksums
/var/db/kiss/installed/sdl2_net/build
/var/db/kiss/installed/sdl2_net/
/var/db/kiss/installed/
/var/db/kiss/
/var/db/
/var/
/usr/lib/pkgconfig/SDL2_net.pc
/usr/lib/pkgconfig/
/usr/lib/libSDL2_net.so
/usr/lib/libSDL2_net.a
/usr/lib/libSDL2_net-2.0.so.0.0.1
/usr/lib/libSDL2_net-2.0.so.0
/usr/lib/
/usr/include/SDL2/SDL_net.h
/usr/include/SDL2/
/usr/include/
/usr/

New package

[X] Latest upstream version.
[X] I agree to maintain this package.
[X] I agree to notify the @kiss-community maintainers if I can no longer maintain this package.

Existing package

[ ] I am the maintainer of this package.

Doesn't seem to require libtool at all

Thanks, i've removed the dependency. My apologies


Remove unused methods for actions manipulation

Minor refactor of actions.,
With this alertManagers.ts is the single point from UI to manipulate Alerts API, then future upgrades will be more easy to maintain.

Merged #471


refactor: improve error logging in PathParser

Summary
The current error logging is not very helpful for debugging issues like https://github.com/react-native-community/react-native-svg/issues/1282

What issues does the pull request solve? Please tag them so that they will get automatically closed once the PR is merged
This doesn't directly solve any issue but to make debugging easier

How did you implement the solution?
See PR

What areas of the library does it impact?
PathParser

Test Plan
Built and ran example app.
What's required for testing (prerequisites)?
N/A
What are the steps to reproduce (after prerequisites)?
N/A
Compatibility

OS
Implemented

iOS
❌

Android
✅

Checklist

[X] I have tested this on a device and a simulator
[ ] I added documentation in README.md
[ ] I updated the typed files (typescript)
[ ] I added a test for the API in the __tests__ folder

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Improve handling of collections

dragon@testbed-manager:~$ osism apply nutshell
2024-01-17 16:39:55 | INFO     | Collection nutshell is prepared for execution
2024-01-17 16:39:55 | INFO     | D [0] - openstackclient
2024-01-17 16:39:55 | INFO     | D [0] - phpmyadmin
2024-01-17 16:39:55 | INFO     | A [0] - common
2024-01-17 16:39:55 | INFO     | X [1] --> [['loadbalancer', ['opensearch', ['mariadb-ng', [['keystone', ['neutron', 'barbican', 'designate', 'octavia', 'ironic', 'placement']]]]]], ['openvswitch', ['ovn']], 'memcached', 'redis', 'rabbitmq-ng']
2024-01-17 16:39:55 | INFO     | A [1] -- loadbalancer
2024-01-17 16:39:55 | INFO     | X [2] --> ['opensearch', ['mariadb-ng', [['keystone', ['neutron', 'barbican', 'designate', 'octavia', 'ironic', 'placement']]]]]
2024-01-17 16:39:55 | INFO     | D [2] --- opensearch
2024-01-17 16:39:55 | INFO     | A [2] --- mariadb-ng
2024-01-17 16:39:55 | INFO     | X [3] --> [['keystone', ['neutron', 'barbican', 'designate', 'octavia', 'ironic', 'placement']]]
2024-01-17 16:39:55 | INFO     | A [3] ---- keystone
2024-01-17 16:39:55 | INFO     | X [4] --> ['neutron', 'barbican', 'designate', 'octavia', 'ironic', 'placement']
2024-01-17 16:39:55 | INFO     | D [4] ----- neutron
2024-01-17 16:39:55 | INFO     | D [4] ----- barbican
2024-01-17 16:39:55 | INFO     | D [4] ----- designate
2024-01-17 16:39:55 | INFO     | D [4] ----- octavia
2024-01-17 16:39:55 | INFO     | D [4] ----- ironic
2024-01-17 16:39:55 | INFO     | D [4] ----- placement
2024-01-17 16:39:55 | INFO     | A [1] -- openvswitch
2024-01-17 16:39:55 | INFO     | X [2] --> ['ovn']
2024-01-17 16:39:55 | INFO     | D [2] --- ovn
2024-01-17 16:39:55 | INFO     | D [1] -- memcached
2024-01-17 16:39:55 | INFO     | D [1] -- redis
2024-01-17 16:39:55 | INFO     | D [1] -- rabbitmq-ng
2024-01-17 16:39:55 | INFO     | A [0] - k3s
2024-01-17 16:39:55 | INFO     | X [1] --> ['kubectl', 'kubeconfig']
2024-01-17 16:39:55 | INFO     | D [1] -- kubectl
2024-01-17 16:39:55 | INFO     | D [1] -- kubeconfig
2024-01-17 16:39:55 | INFO     | A [0] - ceph
2024-01-17 16:39:55 | INFO     | X [1] --> [['copy-ceph-keys', ['cephclient', 'ceph-bootstrap-dashboard', 'glance', 'cinder', 'nova', 'netdata', ['prometheus', ['grafana']]]]]
2024-01-17 16:39:55 | INFO     | A [1] -- copy-ceph-keys
2024-01-17 16:39:55 | INFO     | X [2] --> ['cephclient', 'ceph-bootstrap-dashboard', 'glance', 'cinder', 'nova', 'netdata', ['prometheus', ['grafana']]]
2024-01-17 16:39:55 | INFO     | D [2] --- cephclient
2024-01-17 16:39:55 | INFO     | D [2] --- ceph-bootstrap-dashboard
2024-01-17 16:39:55 | INFO     | D [2] --- glance
2024-01-17 16:39:55 | INFO     | D [2] --- cinder
2024-01-17 16:39:55 | INFO     | D [2] --- nova
2024-01-17 16:39:55 | INFO     | D [2] --- netdata
2024-01-17 16:39:55 | INFO     | A [2] --- prometheus
2024-01-17 16:39:55 | INFO     | X [3] --> ['grafana']
2024-01-17 16:39:55 | INFO     | D [3] ---- grafana
2024-01-17 16:39:55 | INFO     | All tasks of the collection nutshell are prepared for execution
2024-01-17 16:39:55 | INFO     | Tasks are running in the background


Copying inputUri from  outputUri in the result for start-node

Signed-off-by: Prafulla Mahindrakar<EMAIL_ADDRESS>Read then delete this section
TL;DR
Copying over the OutputUri into InputUri during the creation of the node event sent from propeller for start-node
Start-node is special case where the inputs and outputs are the same
flytectl get execution  -p flytesnacks -d development fdac281aa2ba5484da2a --details -o json --nodeID start-node
[
	{
		"node_exec": {
			"id": {
				"nodeId": "start-node",
				"executionId": {
					"project": "flytesnacks",
					"domain": "development",
					"name": "fdac281aa2ba5484da2a"
				}
			},
			"inputUri": "s3://my-s3-bucket/metadata/propeller/sandbox/flytesnacks-development-fdac281aa2ba5484da2a/start-node/data/0/outputs.pb",
			"closure": {
				"outputUri": "s3://my-s3-bucket/metadata/propeller/sandbox/flytesnacks-development-fdac281aa2ba5484da2a/start-node/data/0/outputs.pb",
				"phase": "SUCCEEDED",
				"createdAt": "2021-09-13T05:22:21.982200Z",
				"updatedAt": "2021-09-13T05:22:21.982200Z"
			},
			"metadata": {
				"specNodeId": "start-node"
			}
		},
		"inputs": {
			"am": true,
			"day_of_week": "Sunday",
			"number": 5
		},
		"outputs": {
			"am": true,
			"day_of_week": "Sunday",
			"number": 5
		}
	}
]

## Type
 - [X] Bug Fix
 - [ ] Feature
 - [ ] Plugin

## Are all requirements met?

 - [X] Code completed
 - [X] Smoke tested
 - [X] Unit tests added
 - [ ] Code documentation added
 - [ ] Any pending items have an associated Issue

## Complete description
 _How did you fix the bug, make the feature etc. Link to any design docs etc_

## Tracking Issue
https://github.com/flyteorg/flyte/issues/1221
## Follow-up issue
_NA_

Not sure why the codecov reduced even though it says 100 % diff coverage

@pmahindrakar-oss  what should the URI be?
Also why make this fix at all, everything has been ok without this fix. Let's fix it correctly in propeller

@kumare3  Checked the minio data for start-node and it only has output info

So propeller is sending incorrect link in the event. I agree fixing in the propeller should be right thing to do here.

@pmahindrakar-oss so the error
is only for inputs right- so
In here we should understand that startnode is special- the input and output of start node is the same. And thus we could
Simply replicate them or even assume it in admin

@kumare3 the problem then becomes that propeller is not sending the output result in the event.

The closure doesn't have the output  set so we would have to make the propeller change to make closure output result and input uri the same in case of the start node. Let me know if thats ok with you

@kumare3 fix in propeller https://github.com/flyteorg/flytepropeller/pull/317 . Please have a look

can you update the PR title?


Update requirements

Coverage remained the same at 96.197% when pulling 719efd37d0a0012be8d2ebd247f481b2a3cfdc9a on bump_deps into 33298bcc9306f73141a4181194e05a9d0a1bb6b3 on develop.

+1

+1


fix: Acceptance tests should run for PRs coming from forks

but Github secrets are not available in that case:
https://github.community/t/make-secrets-available-to-builds-of-forks/16166
the fix:
https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/#improvements-for-public-repository-forks

According to the first link in the PR description, their main concern was that someone could change the workflow in a PR in a way that allows them to simply access the secret. The second link describes the implementation Github chose afaict and it allows running the workflow for PRs but using the version of the workflow in the upstream repo. So a malicious contributor can't just simply print your secrets in public.
This change has the implication that we won't be able to test workflow changes by simply opening a PR (even our PRs). But we can't have everything I guess.

Hmm I see a big warning here: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target

Changed the code to use credentials when they are available and just make unauthenticated requests to Dockerhub when not.
The PR description is also updated.


Ajax request is not caching

select 4.0.0
This test comes from the demo. I highlighted both request that are identical. As you can see here both are loading 15.1kb in the size column. The second request for "angular" should be cached because I already searched for it.
Chrome 43.0.2357.65, Windows 7
Thanks!

We can't guarantee that the response from a server will be the same if duplicate requests are made, and as a result we can't cache this within the core.
We can (and do) tell jQuery to not cache-bust, and hope that the server/browser will send cache-related headers to reduce the amount of work that is done within these duplicate requests.
You can extend the AjaxAdapter data adapter to cache on your own though.

That seems like a decent explanation - cache is requested to jQuery and the server should provide the correct headers.
However @kevin-brown, as pointed on the dup, there is a cache option in the docs; this behaviour should be explained there and it should be set as deprecated as well, so others like us won't fall in the same misunderstanding :)

@kevn-brown Is there an example of extending the AjaxAdapter to cache the results of ajax?
Thanks for the great plugin.


feat(parser): adds CDATA nodes support

Solves https://github.com/elenakrittik/GodotXML/issues/11.

Oh, and also, don't forget about including CDATA contents when converting to dictionaries!

Made the changes that you requested. I wonder if _dump and _dump_pretty funcs shouldn't be refactored too?

I've made some changes, check if its everything correct. Also, sorry for leaving some errors on the first review request commit, I coded it really bad 😓

Tested things locally, fixed a few things, looks good to me now. Thank you!