Prometheus metric for certificate ready condition

Is your feature request related to a problem? Please describe.
cert-manager exposes only one Certificate kind related metric (certmanager_certificate_expiration_timestamp_seconds) right now and it is not enough for proper monitoring. For example, it would be great to known when new certificate hang on signing for some reason.
Describe the solution you'd like
kube-state-metrics exposes some similar metrics, for example kube_pod_status_ready. I suggest to add something like this to cert-manager.
Environment details (if applicable):

cert-manager v0.7.2

/kind feature

Exposing more information through metrics is definitely something we want to do.
Could you elaborate some more on the types of metrics you'd like to see, and how you'd expect us to set these metrics/the values that we use?

Could you elaborate some more on the types of metrics you'd like to see, and how you'd expect us to set these metrics/the values that we use?

Personally, I prefer to see metrics consistent with another Kubernetes resources metrics (exposed by kube-state-metrics). So, I suggest to add metric like this:
# HELP certmanager_certificate_status_ready Describes whether the certificate is ready to use.
# TYPE certmanager_certificate_status_ready gauge
certmanager_certificate_status_ready{condition="false",name="something",namespace="default"} 0
certmanager_certificate_status_ready{condition="true",name="something",namespace="default"} 1
certmanager_certificate_status_ready{condition="unknown",name="something",namespace="default"} 0

But any another way to let users known about certificate that has not ready=True status is ok. :)
A simple patch to illustrate: https://github.com/seleznev/cert-manager/commit/1e08ec33a625b75f3a5293f99a36583d2dc44637 (no pull request because I didn't tested it with master and we should wait https://github.com/jetstack/cert-manager/pull/1681 to be merged anyway).

/assign
/lifecycle active

hi,
i have a question about this metric, right now i get all 3 conditions back from cert manager for every single certificate. Is there a way to only get the one showing the right status?

Is the above issue resolved?


SD timeout handling is broken

Most of the SD code handles timeouts like this:
Timer1 = 200;
do {
	// do thing
} while(Timer1);

(or Timer2)
... there isn't any code to decrement either of those. A few places use HAL_GetTick, which works most of the time, but the MSC code does calls from an interrupt... so that doesn't work either.

Looks like it was intended for these values to be decremented via the SysTick_Handler which is... fair enough I suppose.
Fix should be something like:
diff --git a/32blit-stm32/Inc/fatfs_sd.h b/32blit-stm32/Inc/fatfs_sd.h
index 41f233c..6c0f52c 100644
--- a/32blit-stm32/Inc/fatfs_sd.h
+++ b/32blit-stm32/Inc/fatfs_sd.h
@@ -3,6 +3,8 @@
 #include "ff.h"
 #include "spi.h"

+extern void SDTimer_Handler();
+
 /* Definitions for MMC/SDC command */
 #define CMD0     (0x40+0)     	/* GO_IDLE_STATE */
 #define CMD1     (0x40+1)     	/* SEND_OP_COND */
diff --git a/32blit-stm32/Src/fatfs_sd.c b/32blit-stm32/Src/fatfs_sd.c
index 9e9d202..d979039 100644
--- a/32blit-stm32/Src/fatfs_sd.c
+++ b/32blit-stm32/Src/fatfs_sd.c
@@ -13,6 +13,11 @@ static volatile DSTATUS Stat = STA_NOINIT;	/* Disk Status */
 static uint8_t CardType;                    /* Type 0:MMC, 1:SDC, 2:Block addressing */
 static uint8_t PowerFlag = 0;				/* Power flag */

+ void SDTimer_Handler() {
+	 if(Timer1 > 0) Timer1--;
+	 if(Timer2 > 0) Timer2--;
+ }
+
 /***************************************
  * SPI functions
  **************************************/
diff --git a/32blit-stm32/Src/stm32h7xx_it.c b/32blit-stm32/Src/stm32h7xx_it.c
index f655941..991bb1b 100644
--- a/32blit-stm32/Src/stm32h7xx_it.c
+++ b/32blit-stm32/Src/stm32h7xx_it.c
@@ -22,6 +22,7 @@
 #include "main.h"
 #include "stm32h7xx_it.h"
 #include "fatfs.h"
+#include "fatfs_sd.h"
 #include "gpio_defs.h"
 /* Private includes ----------------------------------------------------------*/
 /* USER CODE BEGIN Includes */
@@ -200,6 +201,7 @@ void PendSV_Handler(void)
 void SysTick_Handler(void)
 {
   /* USER CODE BEGIN SysTick_IRQn 0 */
+  SDTimer_Handler();

   /* USER CODE END SysTick_IRQn 0 */
   HAL_IncTick();

Hmm, I guess... should probably be volatile as well. Still doesn't help MSC though since it's called from the OTG interrupt.
I wonder how many of these timeouts are actually useful... if we're the master, can a single transfer time out?

I think it's safe to say you've nailed this one- I did literally ping my SD card across the room trying to get it to fail to mount.

I think it's safe to say you've nailed this one- I did literally ping my SD card across the room trying to get it to fail to mount.


Author on Message

$message->author
Is null
$discord->on('message', function ($message, $discord) {
        $discord_full_id = "{$message->author->user}";
        $discord_id = str_replace(">", "", str_replace("<@", "", $discord_full_id));
		$guild_id = $message->channel->guild_id;
            $channel_id = $message->channel_id;
            $guild = $discord->guilds->get('id', $guild_id);
            $botuser = $guild->members->get('id',<PHONE_NUMBER>83228498 );
            $channel = $guild->channels->get('id', $channel_id);

        if ($message->author == $botuser) {
          return;
        }

        msg($message);
        if (fnmatch('!*', $message->content)) {
          $message->channel->messages->delete($message);
        }
	});
});

function msg($msg) {
  echo var_dump($msg->author); // [ THIS ]
}

This is My code
"[ THIS ]" Returns "NULL"
Why?
I got a null->user->... error.
BotUser code successfully blocks bot-executing commands (I got a very big bug that bot executes same cmd, loop)
I'm both NewBie of English, DiscordPHP, PHP Object.
Pls execute it, and read.
++ How to get user by Mention?
EX)
!dmbot @Minco#0000
How to make bot DM to @Minco#0000 when I execute this cmd?
(Do not care about , Just for no-GitHub-mention)

Is this happening directly when you start the bot or when the bot is running for a while? And does the console show a reconnect?

Is this happening directly when you start the bot or when the bot is running for a while? And does the console show a reconnect?

No; Happens when I type !command in Discord

You have to fetch the user, the reaction (for message reaction listener) and so on. I don't know why this is not done by DiscordPHP itself... @davidcole1340
But the issue in your code is that you've tried to get the Author again from the Message, that won't work. If you want the author in the Message fetch the message.
$channel->messages->fetch($message->id)->done(function($message){
    var_dump($message);
});

Have a look in your Discord developer settings and enable presence updates and server members:

The problem likely is that when you call $discord_full_id = "{$message->author->user}";, $message->author is already a User object, therefore it doesn't have a user parameter

Have a look in your Discord developer settings and enable presence updates and server members:

The problem likely is that when you call $discord_full_id = "{$message->author->user}";, $message->author is already a User object, therefore it doesn't have a user parameter

But var_dump($msg->author) returns "NULL"

lemme redo that code you started with in the first place, you will learn a lot of things from this, as you seem to be example orientated:
$discord->on('message', function ($message, $discord) {
	// $discord->id is the bots user id, the author id is contained in $message->author->id, NOT $message->author
	if ($message->author->id == $discord->id) {
		return;
	}

	// some example extracts you did in a VERY complex way whilst not needed
	$guild = $message->channel->guild;
	$botuser = $guild->members->offsetGet($discord->id);
	$channel = $message->channel;

	// var_dump doesn't require an echo, it already does that
	var_dump($msg->author); // [ THIS ]

	if (fnmatch('!*', $message->content)) {
		// way too complext thinking as well here using $message->channel->messages->delete($message);, just
		$message->delete();
	}
});


MSCRM Export Solution Task gives: Unrecognized request parameter: ExportExternalApplications

firstly, Love this tool
Secondly, we have run into the same issue as https://github.com/WaelHamze/xrm-ci-framework/issues/6 while wroking with good old crm 2015
The fix i'm hoping is a simple one. The comments indicate sdk backwards compatibility issue, however, this may not be quite the case.
The actual "ExportSolutionRequest" message is set up in a way where if the property never gets "set", it will never get included in the request (the backing of fields on the message this is actually a array or key value pair (on the org base message) - sorry not sure if i explain this as well but reflector will show this better.... (guessing it'll be described as lazy setting of a property?)
The fix i believe is (assuming you choose to still support crm2015 where possible - which will def help me out ;-) )
In the solutionmanager.cs and ExportXrmSolutionCommand.cs, only set the contentious properties when needed (when passed in as true) rather then object initializer,
Ie:
            var exportSolutionRequest = new ExportSolutionRequest
            {
                Managed = options.Managed,
                SolutionName = options.SolutionName,
                ExportAutoNumberingSettings = options.ExportAutoNumberingSettings,
                ExportCalendarSettings = options.ExportCalendarSettings,
                ExportCustomizationSettings = options.ExportCustomizationSettings,
                ExportEmailTrackingSettings = options.ExportEmailTrackingSettings,
                ExportGeneralSettings = options.ExportGeneralSettings,
                ExportIsvConfig = options.ExportIsvConfig,
                ExportMarketingSettings = options.ExportMarketingSettings,
                ExportOutlookSynchronizationSettings = options.ExportOutlookSynchronizationSettings,
                ExportRelationshipRoles = options.ExportRelationshipRoles,
                ExportSales = options.ExportSales,
                TargetVersion = options.TargetVersion,

            };

            if (options.ExportExternalApplications)
                exportSolutionRequest.ExportExternalApplications = options.ExportExternalApplications;

Hopefully useful for anyone else with this issue but also hopefully it gets included in future releases (saves me from maintaining my own 2015 branch)

Solutionmanager.cs -> import solution is also the same with the field Holding Solution
       var importSolutionRequest = new ImportSolutionRequest
            {
                CustomizationFile = solutionBytes,
                PublishWorkflows = publishWorkflows,
                ConvertToManaged = convertToManaged,
                OverwriteUnmanagedCustomizations = overwriteUnmanagedCustomizations,
                SkipProductUpdateDependencies = skipProductUpdateDependencies,
                ImportJobId = importJobId.Value,
                RequestId = importJobId,
            };

            if (holdingSolution)
                importSolutionRequest.HoldingSolution = holdingSolution;

I can do a PR if you think this is something useful

@matthew-yee I believe there is a version for 2015 in this repo but it is not updated.
If you raise a PR I can include this in next release.
Great Idea!

@matthew-yee let me know if you interested in testing this feature in the preview extension

@WaelHamze sorry for the late reply, Yep i can commit a bit of time in the coming week.
would the preview be via devops task (or something i should install etc?)
thanks


Allow customizing the conda directories

Moves the default conda directories away from user homes so that they can be placed on the appropriate storage, e.g. local raid or cached nfs.
The new default for the package cache is node-global rather than user-specific.

I'm reverting to one variable for both environments and packages. Putting the env directory and the package directory on different filesystems seems risky.


Fix list of modified git lfs files

Mandatory Checklist
Please ensure that the following criteria are met:

[x] Title of pull request describes the changes/features
[x] Request at least 2 reviewers
[ ] If new files are being added, the files are no larger than 100kB. Post the file sizes.
[ ] Code coverage did not decrease. If this is a bug fix, a test should cover that bug fix. If a new feature is added, a test should be made to cover that feature.
[x] New features have appropriate documentation strings (readable by sphinx)
[x] Contributor has read and agreed with CONTRIBUTING.md and has added themselves to CONTRIBUTORS.md

As a general rule of thumb, try to follow PEP8 guidelines.
Description
Some confusion was introduced into the repo a while back in that files tracked by git lfs were added back into the repo as the populated contents/blobs.
The fix is to add the files back into lfs. A local checkout of the branch doesn't show the previously observed behavior of a list of modified files. But please check if you observe the same behavior @ejtovar.
We need to make a decision regarding how to handle non-source code related objects (.h5, .xmf, .msh,etc.) moving forward. Since the repo cleanup, these files are quite small so they don't require git lfs and they are all in the tests directory. Adding to git lfs, however, has the benefit of removing the overall number of lines of code in the repo.
I think dropping git lfs is the better option as it makes the overall workflow less complicated. We can also accomplish a more compact repo by separating out the test directory.

On the master branch:
git lfs ls-files
ee251934c4 * proteus/tests/SWFlow/comparison_files/comparison_GN_steady_h_t2.csv
31cf16d440 * proteus/tests/SWFlow/comparison_files/comparison_dam3Bumps_h_t2.csv
ddfb1959d2 * proteus/tests/SWFlow/comparison_files/comparison_parab1D_h_t2.csv
f90d5ae5d2 * proteus/tests/SWFlow/comparison_files/comparison_seawall_h_t2.csv
5d7eace43c * proteus/tests/SWFlow/comparison_files/comparison_solitary_reef_h_t2.csv
2558b05eea * proteus/tests/SWFlow/comparison_files/comparison_solitary_wave_h_t2.csv

This means that all of the other files are no longer being tracked by git-lfs:
M	proteus/tests/CLSVOF/with_RANS3PF/mesh2D.1.neigh
M	proteus/tests/CLSVOF/with_RANS3PF/mesh2D.1.poly
M	proteus/tests/CLSVOF/with_RANS3PF/mesh2D.asy
M	proteus/tests/CLSVOF/with_RANS3PF/mesh2D.edge
M	proteus/tests/CLSVOF/with_RANS3PF/mesh2D.ele
M	proteus/tests/CLSVOF/with_RANS3PF/mesh2D.node
M	proteus/tests/CLSVOF/with_RANS3PF/mesh2D.ply
M	proteus/tests/CLSVOF/with_RANS3PF/mesh2D.poly
M	proteus/tests/CLSVOF/with_RANS3PF/mesh3D.asy
M	proteus/tests/CLSVOF/with_RANS3PF/mesh3D.edge
M	proteus/tests/CLSVOF/with_RANS3PF/mesh3D.ele
M	proteus/tests/CLSVOF/with_RANS3PF/mesh3D.face
M	proteus/tests/CLSVOF/with_RANS3PF/mesh3D.neigh
M	proteus/tests/CLSVOF/with_RANS3PF/mesh3D.node
M	proteus/tests/CLSVOF/with_RANS3PF/mesh3D.ply
M	proteus/tests/CLSVOF/with_RANS3PF/mesh3D.poly
M	proteus/tests/CLSVOF/with_RANS3PF/mesh3D_boundaryLegend.asy
M	proteus/tests/MeshAdaptPUMI/Couette.msh
M	proteus/tests/TwoPhaseFlow/meshBucklingFlow.1.neigh
M	proteus/tests/TwoPhaseFlow/meshBucklingFlow.1.poly
M	proteus/tests/TwoPhaseFlow/meshBucklingFlow.edge
M	proteus/tests/TwoPhaseFlow/meshBucklingFlow.ele
M	proteus/tests/TwoPhaseFlow/meshBucklingFlow.node
M	proteus/tests/TwoPhaseFlow/meshBucklingFlow.poly
M	proteus/tests/TwoPhaseFlow/meshDambreak.1.neigh
M	proteus/tests/TwoPhaseFlow/meshDambreak.1.poly
M	proteus/tests/TwoPhaseFlow/meshDambreak.edge
M	proteus/tests/TwoPhaseFlow/meshDambreak.ele
M	proteus/tests/TwoPhaseFlow/meshDambreak.node
M	proteus/tests/TwoPhaseFlow/meshDambreak.poly
M	proteus/tests/TwoPhaseFlow/meshFilling.1.neigh
M	proteus/tests/TwoPhaseFlow/meshFilling.1.poly
M	proteus/tests/TwoPhaseFlow/meshFilling.edge
M	proteus/tests/TwoPhaseFlow/meshFilling.ele
M	proteus/tests/TwoPhaseFlow/meshFilling.node
M	proteus/tests/TwoPhaseFlow/meshFilling.poly
M	proteus/tests/TwoPhaseFlow/meshMarin.edge
M	proteus/tests/TwoPhaseFlow/meshMarin.ele
M	proteus/tests/TwoPhaseFlow/meshMarin.face
M	proteus/tests/TwoPhaseFlow/meshMarin.neigh
M	proteus/tests/TwoPhaseFlow/meshMarin.node
M	proteus/tests/TwoPhaseFlow/meshMarin.poly
M	proteus/tests/cylinder2D/ibm_method/mesh.1.poly
M	proteus/tests/cylinder2D/ibm_method/mesh.edge
M	proteus/tests/cylinder2D/ibm_method/mesh.ele
M	proteus/tests/cylinder2D/ibm_method/mesh.node
M	proteus/tests/cylinder2D/ibm_method/mesh.poly
M	proteus/tests/cylinder2D/ibm_rans2p_3D/meshCylinder.edge
M	proteus/tests/cylinder2D/ibm_rans2p_3D/meshCylinder.ele
M	proteus/tests/cylinder2D/ibm_rans2p_3D/meshCylinder.face
M	proteus/tests/cylinder2D/ibm_rans2p_3D/meshCylinder.neigh
M	proteus/tests/cylinder2D/ibm_rans2p_3D/meshCylinder.node
M	proteus/tests/cylinder2D/ibm_rans2p_3D/meshCylinder.poly
M	proteus/tests/griffiths_lane_6/gl_6_3d.edge
M	proteus/tests/griffiths_lane_6/gl_6_3d.ele
M	proteus/tests/griffiths_lane_6/gl_6_3d.face
M	proteus/tests/griffiths_lane_6/gl_6_3d.neigh
M	proteus/tests/griffiths_lane_6/gl_6_3d.node
M	proteus/tests/griffiths_lane_6/gl_6_3d.ply
M	proteus/tests/griffiths_lane_6/gl_6_3d.poly
M	proteus/tests/levelset/vortex/tank3d.asy
M	proteus/tests/levelset/vortex/tank3d.edge
M	proteus/tests/levelset/vortex/tank3d.ele
M	proteus/tests/levelset/vortex/tank3d.face
M	proteus/tests/levelset/vortex/tank3d.neigh
M	proteus/tests/levelset/vortex/tank3d.node
M	proteus/tests/levelset/vortex/tank3d.ply
M	proteus/tests/levelset/vortex/tank3d.poly
M	proteus/tests/levelset/vortex/tank3d_boundaryLegend.asy
M	proteus/tests/linalgebra_tests/jac.bin
M	proteus/tests/solver_tests/import_modules/Ap_rho.bin
M	proteus/tests/solver_tests/import_modules/Np_rho.bin
M	proteus/tests/solver_tests/import_modules/Qp_dens.bin
M	proteus/tests/solver_tests/import_modules/Qp_visc.bin
M	proteus/tests/solver_tests/import_modules/input_vec_tppcd.bin
M	proteus/tests/solver_tests/import_modules/saddle_point_small.bin
M	proteus/tests/surface_tension/rising_bubble_rans3p/comparison_files/comparison_risingBubble_3D_ev_velocity_t2.csv
M	proteus/tests/surface_tension/rising_bubble_rans3p/comparison_files/comparison_risingBubble_3D_supg_velocity_t2.csv

https://stackoverflow.com/questions/46704572/git-error-encountered-7-files-that-should-have-been-pointers-but-werent
git lfs migrate import --no-rewrite "broken file.jpg" "another broken file.png" ... is probably what we can use to cleanly readd to git lfs.
@cekees suggested that .gitignore file might be a reason why some files aren't being added in correctly.

@cekees handled this with removal of .gitattributes in #1204


解决因加载顺序问题导致“mason not found”问题

解决因加载顺序问题导致“mason not found”问题，以防止一些用户在添加新插件之后，PackerCompile容易报错的现象
Signed-off-by: cody<EMAIL_ADDRESS>

你的commit会在PackerSync之后出现error，没有review就merge是我的错。
 It's my fault to merge it without code review.

@ayamir In addition, it might be a better choice to confirm that CI has passed before merging 👍

@ayamir In addition, it would be a better choice to confirm that CI has passed before merging for a consistent code style +1 I can't think of a reason for merging PRs when CI fail.

ok, thanks for your advice.


New Android 13 permissions / Android 13 的新权限

请问您会适配新的 Android 13 权限吗？目前如果 app  的 "targetSdkVersion = 33" 会面对权限问题.
Hi, will you update the code to support Android 13? Currently, applications who have "targetSdkVersion = 33" will be facing permission issues.

hey, u solve this problem ?


Proxy-pallet: Add testing, part 1: Users

Add testing for Users' workflow.

Backend done.
@tlacloc


Try to debug a failing test on the windows bots

This test is failing on the win64 bot, and I'm not 100% sure why, so trying to
get some more info out of it.

@bors: r+ 7d73487

:hourglass: Testing commit 7d73487 with merge 9a09446...

r? @huonw
(rust_highfive has picked a reviewer for you, use r? to override)

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64


Incorrect main function requirement in workspace examples module

Incorrect main function requirement in examples module when using workspaces
Hi,
upon creating a standalone module file (as changed in edition 2018) within the examples directory of a workspace, I get displayed an erroneous error message for the entire file.
This is an issue with rust-analyzer in VS Code, as the code compiles and executes fine.
Steps to Reproduce
I tried to keep the reproduction setup to a minimum.
1. Create new rust project
cargo new mod-bug

2. Create the project layout
src/
    lorem/
        examples/
            main.rs
            sub.rs
        Cargo.toml
Cargo.toml
[...]

3. Fill files
// File main.rs
mod sub;
use crate::sub::hello;

fn main() {
    hello();
}

// File sub.rs
pub fn hello() {
    println!("Hello from sub module");
}

# Outer Cargo.toml (`Cargo.toml`)

[workspace]
members = [
    "src/*",
]

# Inner Cargo.toml (`src/lorem/Cargo.toml`)

[package]
name = "lorem"
version = "0.0.1"
authors = ["Zarathustra"]
edition = "2018"

[[example]]
name = "main"
required-features = []
doc = true

4. Confirm execution
> cargo run --package lorem --example main
   Compiling lorem v0.0.1 ([...]/mod-bug/src/lorem)
    Finished dev [unoptimized + debuginfo] target(s) in 0.55s
     Running `target/debug/examples/main`
Hello from sub module

(works as intended)
Issue
When viewing the sub.rs file in VS Code with rust-analyzer enabled, the entire file is marked with red squiggly lines indicating an error, however it is a valid setup and does execute.

This is obviously annoying for viewing or editing.
The issue also exists when changing the rust edition in the outer Cargo.toml file to 2021.
Software Versions

OS: openSUSE Leap 15.3
rustc 1.56.1 (59eed8a2a 2021-11-01)
cargo 1.56.0 (4ed5d137b 2021-10-04)
Rust Edition 2018, 2021
VS Code 1.62.3
rust-analyzer v0.2.826

I don't believe this is an issue, each ".rs" file within the examples directory of a crate is considered an example build target, as illustrated by:
❯ cargo run --package lorem --example
error: "--example" takes one argument.
Available examples:
    main
    sub

rust-analyzer is using the result of cargo check --examples in this situation, and is considering sub as its own target:
❯ cargo check --examples
    Checking lorem v0.0.1 (/home/jake/code/test3/mod-bug/src/lorem)
error[E0601]: `main` function not found in crate `sub`
 --> src/lorem/examples/sub.rs:2:1
  |
2 | / pub fn hello() {
3 | |     println!("Hello from sub module");
4 | | }
  | |_^ consider adding a `main` function to `src/lorem/examples/sub.rs`

For more information about this error, try `rustc --explain E0601`.
error: could not compile `lorem` due to previous error

Yeah, here's an example of a crate with multi-file examples: https://github.com/tokio-rs/axum/tree/main/examples.

@jhgg I was unaware of the fact, that each .rs file in examples is implicitly considered as an example build target. In that case, I follow your argument and agree that its not an issue.
Thank you!


Test failure: Can_apply_one_migration

This test fails occasionally with the following error:
System.Data.SqlClient.SqlException : CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'C:\Users\asplab\MigrationsTest_log.ldf'.
CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite, String methodName)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, DbCommandMethod executeMethod, IReadOnlyDictionary`2 parameterValues) in /_/src/EFCore.Relational/Storage/Internal/RelationalCommand.cs:line 174
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteNonQuery(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues) in /_/src/EFCore.Relational/Storage/Internal/RelationalCommand.cs:line 67
   at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationCommandExecutor.ExecuteNonQuery(IEnumerable`1 migrationCommands, IRelationalConnection connection) in /_/src/EFCore.Relational/Migrations/Internal/MigrationCommandExecutor.cs:line 40
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerDatabaseCreator.Create() in /_/src/EFCore.SqlServer/Storage/Internal/SqlServerDatabaseCreator.cs:line 64
   at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.Migrate(String targetMigration) in /_/src/EFCore.Relational/Migrations/Internal/Migrator.cs:line 89
   at Microsoft.EntityFrameworkCore.MigrationsTestBase`1.Can_apply_one_migration() in /_/src/EFCore.Relational.Specification.Tests/MigrationsTestBase.cs:line 57

Other tests within that build may have failed with a similar message, but they are not listed here. Check the link above for more info.
CC @ajcvickers
This issue was made automatically. If there is a problem contact @ryanbrandenburg.

Please use this workflow to address this flaky test issue, including checking applicable checkboxes and filling in the applicable "TODO" entries:

Is this actually a flaky test?

No, this is a regular test failure, fix the test/product (TODO: Link to commit/PR)
Yes, proceed below...

Is this test failure caused by product code flakiness? (Either this product, or another product this test depends on.)

[ ] File a bug against the product (TODO: Link to other bug)
Is it possible to change the test to avoid the flakiness?

Yes? Go to the "Change the test!" section.
No?

[ ] Disable the test (TODO: Link to PR/commit)
[ ] Wait for other bug to be resolved
[ ] Wait for us to get build that has the fix
[ ] Re-enable our test (TODO: Link to PR/commit)
[ ] Close this bug

Is it that the test itself is flaky? This includes external transient problems (e.g. remote server problems, file system race condition, etc.)

Is there is a way to change our test to avoid this flakiness?

Yes? Change the test!

[ ] Change the test to avoid the flakiness, for example by using a different test strategy, or by adding retries w/ timeouts (TODO: Link to PR/commit)
[ ] Run the test 100 times locally as a sanity check.
[ ] Close this bug

No?

Is there any logging or extra information that we could add to make this more diagnosable when it happens again?

Yes?

[ ] Add the logging (TODO: Link to PR/commit)

No?

[ ] Delete the test because flaky tests are not useful (TODO: Link to PR/commit)

This comment was made automatically. If there is a problem contact @ryanbrandenburg.

Can_apply_all_migrations_async failed with about the same error.
This comment was made automatically. If there is a problem contact @ryanbrandenburg.

@ryanbrandenburg This one is coming from deep within SQL Server. Could this be an agent issue? Disk space? Bad permissions?


Update free-programming-books-ko.md

What does this PR do?
Add resource
For resources
Description
add a Korean website that explained the web pack.
Why is this valuable (or not)?
This is a website that translates the documents on the official website into Korean.
How do we know it's really free?
It is open for anyone to access.
For book lists, is it a book? For course lists, is it a course? etc.
documents.
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

@eshellman, is this category enough or maybe another more general? E.g.: Bundlers, Packers, Module Bundlers


Not working with Chitubox 1.9.1 Ubuntu 2.04 LTS

I modified the script and ran it, it creates the app and short cut but it is not lunching.

I had the same problem with Chitubox version 1.9.3. Running the command /usr/bin/chitubox/lauch_chitubox.sh gave me an error saying it wasn't able to find the file "/usr/bin/chitubox/CHITUBOX". The problem is with the line sudo tar -xvf $FILE -C $INSTALL_DIR/chitubox --strip-components 1. It should be sudo tar -xvf $FILE -C $INSTALL_DIR/chitubox since there are required files in the root of the archive. Let me know if that helps.


Cut down size of Docker image

The bespoke Firedrake Docker image we use is now almost 10GB... it is becoming very unwieldy. It would be great if we could cut down its size.
A few possible approaches:

Apply optimisations such as those that Spack applies when it generates Docker images from spack.yaml files.
Use FROM ... AS builder to strip out unnecessary stuff.

Tried out some of the stuff here but didn't make much progress: https://dev.to/mattdark/python-docker-image-optimization-50p0.

You said that I can take over issues without checking with you first :) hope it's okay that I did. Was curious about this

You said that I can take over issues without checking with you first :) hope it's okay that I did. Was curious about this

Much appreciated!


avoid increasing due beyond payin minimum when cards fail

If a ~user has a $5 tip set up to a team, and their card is failing - we won't charge them again until the card is updated, but we will be adding to their dues every week. If the user updates their card a year later, that's a $260 charge.
This should be clearly communicated to users - https://github.com/gratipay/gratipay.com/pull/3817 is step 1. Adding this to the documentation wherever relevant is step 2.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27331018-avoid-increasing-due-beyond-payin-minimum-when-cards-fail?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github).

I just realized that canceling a subscription won't erase the dues - fixed in https://github.com/gratipay/gratipay.com/pull/3819

We should never increase dues beyond the minimum charge. If they reach the minimum charge and then their card fails, we should stop adding to due. If/when they fix their card we should charge the minimum at that point. We don't want $260 surprises!

Nice catch.

@rohitpaulk Why do we have Review on this one?

Done with #3876. !m @rohitpaulk :dancer:


[organization] deleting a folder removes all the items in the folder without a way to navigate back to them

What's the proposed solution? This almost feels related to "Search" as a way to discover unlinked content.


Replace hard-coded example module with variable

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Browser matrix widget: correct some URLs to browser-matrix/

Description

This page in a section about browser  matrix widget gives URL structure for single status widget.
Motivation and Context

I assume these URLs were wrongly copy-pasted.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Documentation fix (typos, incorrect content, missing content, etc.)

Checklist

[ ] I have read the contributing document.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

The corrections are valid, I'm going to merge this PR


improving styling

under the services section there is 4 blocks all of there length are not same some level is up some are down

@leesha19 go ahead!

In health bliss highlights can i add more section like helping others, excercise or involving in activities?

In health bliss highlights can i add more section like helping others, exercise or involving in activities?

Of course! but please open an issue for the same.

Can I work here?


Iteration to output folder name.

Description
This creates a different output folder name for training the models.
Example: instead of generating output, it will produce output_0 by default. The numbering is defined as an argparse.
Status

[ ] Ready to go

Codecov Report

Merging #57 (dc334f4) into main (f1cf6d0) will decrease coverage by 0.12%.
The diff coverage is 0.00%.


getReport2 fails if dimensional value filters are used as segments

See this example report which uses an ad-hoc hit-based segment based on a dimensional value filter in the dropzone (Channel = SEA):

In this case there is no segmentId in the JSON and the report fails with the error
{KeyError}'segmentId':

See the example JSON of the globalFilter in question:
[
  {
    'type': 'segment',
    'segmentDefinition': {
      'container': {
        'func': 'container',
        'context': 'hits',
        'pred': {
          'func': 'streq-in',
          'list': [
            'SEA'
          ],
          'val': {
            'func': 'attr',
            'name': 'variables/campaign.1'
          },
          'description': 'Channel'
        }
      },
      'func': 'segment',
      'version': [
        1,
        0,
        0
      ]
    },
    'dateRange': '2021-02-22T00:00:00.000/2021-02-22T00:00:00.000'
  },
  {
    'type': 'dateRange',
    'dateRange': '2021-02-22T00:00:00.000/2021-02-23T00:00:00.000'
  }
]

Interesting, the filters created "on-the-fly" via dropdown do not possess ID.
I need to see how I can represent them in the request.
Any suggestion ?
I am thinking to take from the container the following elements:

context
description
join list of list

So in your case, it would be hits Channel SEA

@pitchmuc your suggestion sounds great to me!

If you want to upgrade your implementation, you can use the version 0.3.3-1 that is now available on pypi.
It also contains the 2 additional PR that you have made.

Thanks again for reporting the bug.
You help the community like this.


Can cspn++ accelerate during training？

Hi, thanks for your good work!
I found that cspn++ only accelerate in inference, can it accelerate during training?
Thanks!

Thanks for your interest! You could also use the accelerated CSPN++ during training, but the cost is more GPU memory (especially for the dilated CSPN++).

Ok, thanks!


Opengl (building) and main (running) branches failed

Describe the bug
OpenGL branch
I wasn't able to test the fix for bug #692, because the cargo build process on branch opengl failed on me with the following error message:

error[E0062]: field distance_length_adjust specified more than once
--> src/renderer/cursor_renderer/mod.rs:51:13
|
47 |             distance_length_adjust: true,
|             ---------------------------- first use of distance_length_adjust
...
51 |             distance_length_adjust: false,
|             ^^^^^^^^^^^^^^^^^^^^^^ used more than once
error: aborting due to previous error
For more information about this error, try rustc --explain E0062.
error: could not compile neovide

The error is in these lines:
https://github.com/Kethku/neovide/blob/opengl/src/renderer/cursor_renderer/mod.rs#L47-L51
distance_length_adjust is mentioned two times and has conflicting values. Only one should be declared.
Main branch
Building the main branch was successful, but running the program failed with the following error message:

Ignored client type property: "methods"
Ignored client type property: "attributes"
thread 'main' panicked at 'Could not load font', src/renderer/fonts/caching_shaper.rs:50:14

The error leads to this line:
https://github.com/Kethku/neovide/blob/opengl/src/renderer/fonts/caching_shaper.rs#L50
Tell me what information I can provide to help fix the issue.
Desktop (please complete the following information):

OS: Linux Mint Cinnamon 20.1

I can't reproduce the building issue on my machine (macOS, latest neovide) but the duplicate instances of distance_length_adjust is an easy fix. However I'm not sure which is supposed to be the default behavior so I'll wait until Kethku can take a look

For the main branch try: setting a font in your init.vim

The opengl branch no longer contains current development. All work is happening in main now.
I believe the issue with the caching shaper in main is due to an invalid font name in your vim config. Could you try unsetting the guifnot option?

@PyGamer0 @Kethku
I couldn't find any mention of guifont in my configs (so there was nothing to remove).
I tried to set it in all kinds of different ways, but nothing changed (I get the same error message every time).
Please advise.

which monospace font is installed on your system

These days neovide embeds a font by default. So at least in theory it shouldn't require a particular font to be installed

Closing as I think this is fixed. Please reopen if issues continue.


Fix Unit tests:

Unit tests always work fine on first time. Hence, travis build always passes.
Re-running same tests againts same ovn setup fails as entities that were
created failed to clean up.
Hence, this patch fixes the same by handling all such cases.

LGTM

thank you


Modify compilation flags based on os

This pr modify the compilation during an action based on the os it's running on.
Remove OpenMp from build all windows, please see https://github.com/stack-of-tasks/pinocchio/issues/2440, for more informations.

Well done @MegMll @jorisv !!!


Unrecoverable error on launch

XivAlexander_20230116_065619_019.log
I uninstalled the old version and installed the new version released and now this issue appears when I launch the game, game will lauch normally in the background.

Yeah, so I'm an idiot, fixed issue, forgot to change the dalamud auto loader to the new .exe


Add Courses datasource to cQube v4

Merge the cQube v1 Courses datasouce in to cQube v4 and change the look and feel according to cQube 4 Dashboard.
Expected outcome:-
To be able to see the Courses screen with new styling

[ ]  Usage By Course Content

[ ]  Course Progress

[ ]  GPS of learning- Courses

[ ]  Usage by Course

[ ]  User Progress

[ ]  User Engagement

[ ]  User Onboarding

Completed


SPOP return multiple elements

It's pretty likely I'm just misreading something, but is there a way to return multiple elements with the .spop function? In native redis, I can just perform "SPOP myset 3", but with ioredis, it seems I can only return 1 element at a time (At least using the default spop function.)

Doesn't redis.spop("myset", 3) work?

I tried to perform
redis.spop('myset', 3, function(err, elements) {
     console.log(elements)
})

And it complained that I had too many arguments for the 'spop' command.

You're running a redis server that doesn't support count argument. Here's a notice from the redis doc:

The count argument will be available in a later version and is not available in 2.6, 2.8, 3.0

http://redis.io/commands/spop

Ah, looks like I need to learn to RTFM better, Thank you very much!


Remove exclusive from minLength, maxLength, after, and before schemas

In arktype we should still allow string>0, but instead of being parsed into {minLength: {rule: 0, exclusive: true}}, it should just become { minLength: 1 }. We can do the same for Date by incrementing the numeric value of the Date by one for exclusivity.
We need to keep exclusive for min/max because of non-integer values.

One downside to this is we'd have to start doing type-level math to keep types accurate. Not the end of the world but it is nice having a way to represent without doing that, and I imagine more performant.
What's the motivating for removing the exclusive in the first place?

@TizzySaurus Yeah that's right and it's a good insight. Especially problematic for Dates but probably just not that important to handle the distinction between whether a time range includes a particular millisecond or not at a type-level 😆
It is more accurate at runtime in terms of reducing equivalent types and cuts back on the clutter when defining signatures for chaining like this:

I see. That makes perfect sense, thanks!

I did some initial work on this but it was a bit of a problem for some tests to not allow exclusive on length or Date schemas.
Worth revisiting this at some point for the extra normalization but not going to tackle this right away.
It should be handled at the schema=>inner parse level rather than the arktype level.

I did end up doing this as mentioned :+1:


Only getting  Join not accepted: Denied

Hello. Im trying to get the KissLoRa badge working at home. I turned it one, but it doesn't really do anything anymore. Ive hooked it onto serial and i get this:

--- Resetting RN module
Model: RN2483
Version: 1.0.1
Sending: mac set deveui 0004A30B001F8135
Sending: mac set adr off
--- Random Seed
-- hwEui read from module: 0004A30B001F8135
-- seed: 21272
--- I2C Accelerometer initialized
Sending: mac set rx2 3 869525000
Sending: mac set ch drrange 1 0 6
Sending: mac set ch dcycle 0 799
Sending: mac set ch dcycle 1 799
Sending: mac set ch dcycle 2 799
Sending: mac set ch dcycle 3 799
Sending: mac set ch freq 3 867100000
Sending: mac set ch drrange 3 0 5
Sending: mac set ch status 3 on
Sending: mac set ch dcycle 4 799
Sending: mac set ch freq 4 867300000
Sending: mac set ch drrange 4 0 5
Sending: mac set ch status 4 on
Sending: mac set ch dcycle 5 799
Sending: mac set ch freq 5 867500000
Sending: mac set ch drrange 5 0 5
Sending: mac set ch status 5 on
Sending: mac set ch dcycle 6 799
Sending: mac set ch freq 6 867700000
Sending: mac set ch drrange 6 0 5
Sending: mac set ch status 6 on
Sending: mac set ch dcycle 7 799
Sending: mac set ch freq 7 867900000
Sending: mac set ch drrange 7 0 5
Sending: mac set ch status 7 on
Sending: mac set pwridx 1
Sending: mac set retx 7
Sending: mac set dr 5
Sending: mac join otaa
Join not accepted: denied
Check your coverage, keys and backend status.
Sending: mac join otaa
Join not accepted: denied
Check your coverage, keys and backend status.
Sending: mac join otaa
Join not accepted: denied
Check your coverage, keys and backend status.
Sending: mac join otaa
Response is not OK: no_free_ch
Send join command failed
Sending: mac join otaa
Response is not OK: no_free_ch
Send join command failed
Sending: mac join otaa
Response is not OK: no_free_ch
Send join command failed
Sending: mac join otaa
Response is not OK: no_free_ch
Send join command failed

So either i get "Join not accepted: denied" or "Response is not OK: no_free_ch"
I am rather new to this so idk if this normal, or if this is a sign that there is no coverage (tough i should be according to LoRa maps) or something else. I also had this when i had restarted it at the convention, had to recommission it after someone re-programmed the firmware for me at one of the commission points.

I encounter the same. Should be coverage.  I tried the LoRa_TX_RX sample program, applied my own appEui = "70B3D57Exxxxxxxx"; and appKey  = "2EF8AD9692B8F857AC59264Fxxxxxxx"; (xxxxxxxx to hide my accesscode) from the Things Network Console, then compiled and uploaded.
I seems that the network does not recognise my device.
Any clues ?

Mine doesn't work either. Guess there is no Lora gateway in the neighbourhood:
https://www.thethingsnetwork.org/map
Ho can you see gateway connectivity? Is it the blue light?

I have my own gateway nearby and the Kiss works very nice (factory settings ;-). The blue led flashes at regular intervals indicating LoRa activity.

Log onto The Things Network Console, go to Applications, choose the kiss-lora- application.
If you do not see any application listed with a name starting with kiss-lora-, it means that you have not commissioned a device at the fair, using your TTN account.
In the top right menu, choose Devices. If your device was successfully commissioned at the E&A fair, you should see one device listed with the name kiss-lora-device-. The last 16 hex characters in the name is the Device EUI of your KISS gadget. You can see this back in the Serial Monitor, like:
Sending: mac set deveui 0004A30B001F8135
If you see more than one device listed on the console, it means somehow someone else's gadget was registered on your application. This happened when you clicked on the terminal number on the commissioning app, while someone else's device was still plugged into the commissioning terminal. You can safely delete all devices that are not yours.
If you do not see any device listed, it means that the commissioning process was interrupted.
Click in the device in the list with the same EUI than the EUI of your KISS gadget. In the Device Overview, look at Status. It should indicate when your device was received by The Things Network for the last time. If it says "never seen", it means that we have not heard your device yet.
Click on the Data tab at the top right. This page will show everything that is received and sent to your KISS gadget.
As soon as you see Sending: mac join otaa on the serial output, you should also see Activation on the Data webpage. If you do not see anything on the Data page, there can be two things wrong:

You do not have coverage of The Things Network.
During commissioning something went wrong and your device was not successfully programmed with the correct keys to communicate with you application.

Because many of the possible problems are related to a failed commissioning, I will write a document to describe how to commission, or re-commission a device at home. Please keep an eye on the main readme in this repository.

To see if you have coverage of The Things Network, you can also have a look at:
http://ttnmapper.org

If you check the coverage, please be aware that many gateways are not yet commissioned but planned.
In my area there is no operational gateway, but many planned, hence I get the failed connection and no free channel error.
Regards,
Rob

I got the same problem .... I live in Eindhoven and coverage should be good enough ....
Please help us out ... I really would like to play with the device myself ...

Is there anything else to say about this "Join not accepted: denied" issue? I test here in Eindhoven, 500 meters from the FlightForum gateway, Pretty sure all the AppEUI & AppKey are programmed well, Made the Device at the Console, redone several times... But no success. Did find some issues with capacitors on the gadget, but since I am not far away from the Gateway this is pretty sure not the case. Received my unit later than the Utrecht fair, so I would like to get it commissioned_at_home. Programming goes well using Arduino 1.81 surrounding, but no communication... I have seen the unit working in the very beginning before I reprogrammed. Could it be that the DevEUI can only be used once in the Console? Thanks a lot!

Issuing a "sys factoryRESET" may help. If you use "mac save" be sure to have valid data for devaddr, appeui and appkey. This project may help too:
https://github.com/thomaswesenberg/LoRaWAN-device-GPS-RaspBerry-Pi

Issuing a "sys factoryRESET" may help. If you use "mac save" be sure to have valid data for devaddr, appeui and appkey. This project may help too:
https://github.com/thomaswesenberg/LoRaWAN-device-GPS-RaspBerry-Pi

I'll be honest. Device has already broken and sent of to e-waste long ago. After 2 months i just gave up. There just seemed to be no TTN gateways anywhere nearby and i had no intention to set up my own gateway so it was just a useless little circuit. If it was meant to advertise LoraWan, TTN and the Microchip lorawan module it kind of failed it's job.


Support for web

Small changes so the package also works on the web

Thankyou @woutervanwijk for you effort and contribution. ill merge the code soon

Hii @woutervanwijk  i have cloned the pull request and gave it a test run in an android device. I got this error.  Please have a look.

Hii @woutervanwijk I have cloned the pull request and gave it a test run on an Android device with the example/main.dart. I got this error. Please have a look.
"Unhandled Exception: HiveError: You need to initialize Hive or provide a path to store the box."

Forgot an await!
Since it uses hive_flutter now, I also removed the path requirement

@woutervanwijk  the package has been updated with some more features. Now the PR is having some conflicts. Can you please fix them so that I can merge the PR

Fixed the conflicts!

Did you have time to look at this? The conflict is gone

Did you have time to look at this? The conflict is gone

Ill check and merge this weekend bro. I was having a busy schedule for the past few weeks. Once again thanks for the update.

PR accepted. Sorry for the long delay. Thanks for your contribution @woutervanwijk .


ADE和DGU模型能否提供预训练模型

您好，请问对话系统 https://github.com/PaddlePaddle/PaddleNLP/tree/develop/legacy/dialogue_system
中的ADE和DGU模型是否有可供直接进行预测的预训练模型进行验证或使用，目前无法找到中文数据集进行自主训练啊。

在 ./ade/prepare_data_and_model.py `找到了
DATA_MODEL_PATH = {     "DATA_PATH":     "https://baidu-nlp.bj.bcebos.com/auto_dialogue_evaluation_dataset-1.0.0.tar.gz",     "TRAINED_MODEL":     "https://baidu-nlp.bj.bcebos.com/auto_dialogue_evaluation_models.3.0.0.tar.gz" }
请问，这个就是可直接下载使用的PTM吗？

请问，提供的Aistudio的Demo中的 IPython Notebook demo 预处理部分的文件，能够提供下载吗？

Sorry. /legacy/dialogue_system has been deprecated. Please see https://github.com/PaddlePaddle/PaddleNLP/tree/develop/examples/dialogue/dgu for the new DGU example.

Sorry. /legacy/dialogue_system has been deprecated. Please see https://github.com/PaddlePaddle/PaddleNLP/tree/develop/examples/dialogue/dgu for the new DGU example.

Thanks for your kindly reply, but the aims of DGU and ADEM (Auto Dialogue Evaluation Model) are not same, is there a better alternative projects?
Besides, what has confused me is the data format described in the IPython Notebook demo. Can it be translated back, the ids sequence,  into nature language, as the sequence make no sense when ref. to the word.dic?  And, I only got the segments not ids after running the tokenizer.py from "https://github.com/PaddlePaddle/models/tree/release/1.7/PaddleNLP/shared_modules/preprocess".  How to preprocess the data to match the input format.
Thanks again. And hope to get your reply soon.

Sorry for the delay. The project in aistudio is an old PaddlePaddle implementation. In PaddleNLP, we now have Dialogue Evaluation such as BLEU4 and Distinct in unified_transformer example. https://github.com/PaddlePaddle/PaddleNLP/tree/develop/examples/dialogue/unified_transformer
Is this what you are looking for?


Add and reorder top repositories

Top repositories haven't been updated in quite some time. There are few new contenders that have as many stars as many of the items on this list.
Also alphabetized the list to reduce mess, and updated firefox, since their release process keeps us from detecting updates automatically.

ykw, let's come back to this later


Fix lifetime data

This PR fixes some issues noted by @rickecon:

the bequest transmission process and transfer distribution calibrations were looking for a pickle file that is not in the repo.
tax function parameters are not saved in directories with other model run output

Some additional tests are added.

Codecov Report

Merging #52 (84a73ee) into master (b7ae196) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #52   +/-   ##
=======================================
  Coverage   88.35%   88.35%
=======================================
  Files          11       11
  Lines         687      687
=======================================
  Hits          607      607
  Misses         80       80

Flag
Coverage Δ

unittests
88.35% <ø> (ø)

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

Continue to review full report at Codecov.

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

@jdebacker. I've reviewed all the files, and it all looks good. It looks like the test that is not passing is just a linting issue in lines 438-441 of ogusa/psid_data_setup.py. I recommend the following change of putting the comment in the lines before the relevant code. And get rid of the parentheses if a tuple is not required.
# Assume time endowment - set at 4000 hours. May want
# to change this to be different for single households vs. married
time_endow = (4000)


Bump version file to 0.6.0

Prep for release 0.6.0

Fuzz failure is with exit code 143 which signals job was killed from outside, in this case most likely by GitHub actions. Re running it.


Deploying Prometheus with Lens reports errors

Describe the bug
I've clicked on the Install button for metrics to have Lens deploy Prometheus. It does seem to be working as I do get metrics data in Lens now, however the StatefulSet for Prometheus is in a constant state of alarm with the following error:
create Pod prometheus-0 in StatefulSet prometheus failed error: pods "prometheus-0" is forbidden: error looking up service account lens-metrics/prometheus: serviceaccount "prometheus" not found

To Reproduce
Steps to reproduce the behavior:

Go to settings
Click on Install for Metrics
Go to StatefulSets
See error

Expected behavior
Prometheus to deploy without errors.
Environment (please complete the following information):

Lens Version: 2.1.2
OS: Ubuntu Studio 19.10
Installation method: snap
Kubernetes Cluster: 1.15.3 Digital Ocean Hosted

Kubeconfig:
Quite often the problems are caused by malformed kubeconfig which the application tries to load. Please share your kubeconfig, remember to remove any secret and sensitive information.
apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: REDACTED
    server: https://REDACTED.ondigitalocean.com
  name: do-nyc3-pubserv
contexts:
- context:
    cluster: do-nyc3-pubserv
    user: do-nyc3-pubserv-admin
  name: do-nyc3-pubserv
current-context: do-nyc3-pubserv
kind: Config
preferences: {}
users:
- name: do-nyc3-pubserv-admin
  user:
    token: REDACTED

I checked in on it this morning and the error has gone away?

hmm, makes me think that the StatefullSet might have gotten deployed before the related ServiceAccount. Essentially the deployment happens as kubectl apply -f bunch-of-yamls/ under the hood. This is quite common and as you saw, k8s eventually manages to get everything running. Although usually it should take only max few minutes as all the objects are created within seconds.

Please re-open... the ServiceAccount is there but still shows this error.

create Pod prometheus-0 in StatefulSet prometheus failed error: pods "prometheus-0" is forbidden: error looking up service account lens-metrics/prometheus: serviceaccount "prometheus" not found

had same issue, but waiting 2-5 minutes (during the time found this 😅) resolves the issue for me


refresh prefix maps

I updated the bioregistry ingest to exclude deprecated prefixes.  This means that the problematic "gro"/"GRO" prefix is excluded and the tests now pass.
I spent some time in both the bioregistry package and this one, to try and isolate why the alias test was failing for GRO -- and best I could tell, in bioregistry there is a mismatch between the prefix expansion for the preferred prefix and the prefix expansion for the prefix itself.  I would submit a ticket upstream, but since this prefix is deprecated anyway, I felt it was better to just exclude it.  Happy to revisit if including deprecated prefixes from bioregistry is preferred.

we should probably implement canonical ordering to avoid spurious diffs...

This was already done in https://github.com/linkml/prefixmaps/commit/48c9f574c09d3af7d38d0ed6d6cd308497987d46, but the data had not been refreshed since.


Parse objects from config itself with as[]

I saw another pull request #51 too late and I offer a less flexible, but simpler solution to the problem #8

Coverage increased (+0.06%) to 91.241% when pulling c49c7aeabbd4b462bd57536d53b657aa086cc8eb on Tolsi:self-config-as-fix into a344ba7793a8840a192880a2bcb402048f0355f2 on iheartradio:master.

Thanks! I think this would work. I left a minor comment.

@kailuowang done!

Coverage increased (+0.8%) to 91.971% when pulling 6ea7b77512bffcc91a7b67e45bfa2de6595a51d6 on Tolsi:self-config-as-fix into a344ba7793a8840a192880a2bcb402048f0355f2 on iheartradio:master.

1.4.3 released

Cool!


Add contributing

@himani153 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

Looks like it was opened in error. @himani153 please use your own fork to test Github's features.


Could XA Transaction guarantee consistent when server instance crashed and migrated?

Question
For English only, other languages will not accept.
Before asking a question, make sure you have:

Googled your question.
Searched open and closed GitHub issues.
Read documentation: ShardingSphere Doc.

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.

If you config the location of XA log file to a cloud filesystem, it can be guaranteed.

@cherrylzhao Could XA Transaction support save log to server, since business application doesn't writing log to the cloud file system most often?

atomikos & bitronix only support save the log to local machine by default. Narayana support save the log to database, but we have not verify it yet example-143 . Seata will plan to support XA in future. so our goal is to provide a variety options to integrate with ShardingSphere. you can extend the storage of underlying transaction manager to guarantee HA, it usually need to introduce another HA service to scale out the log and failover from crashed

just close it for no response more than 7 days


Create a disk in different availability zone is failing

Creating  a disk in different availability zone using source disk from another az failed with error com.microsoft.azure.CloudException: The resource 'dispatcher1westus2-clone-disk-os' in an availability zone cannot be copied from the source '/subscriptions/ce3062f0-1841-421d-aee3-1c2d1c2d0a9f/resourceGroups/HEMCLONEAZ/providers/Microsoft.Compute/disks/dispatcher1westus2-disk-os' in a different availability zone.: The resource 'dispatcher1westus2-clone-disk-os' in an availability zone cannot be copied from the source '/subscriptions/ce3062f0-1841-421d-aee3-1c2d1c2d0a9f/resourceGroups/HEMCLONEAZ/providers/Microsoft.Compute/disks/dispatcher1westus2-disk-os' in a different availability zone.
code :
Get a disk resource which created on Zone1
final Disk seedRootDisk = azure.disks()
.getById(seedAzureInstance.osDiskId());
Create a disk in zone2 using above disk.
        final Disk.DefinitionStages.WithCreate newOsDiskBuilder = azure.disks()
                .define(newInstanceName + '-disk-os')
                .withRegion(seedAzureInstance.regionName())
                .withExistingResourceGroup(seedRootDisk.resourceGroupName())
                .withLinuxFromDisk(seedRootDisk.id())
                .withSizeInGB(seedRootDisk.sizeInGB())
                .withSku(seedRootDisk.sku())
                .withTags(newInstanceTags(seedRootDisk.tags(), topologyName, seedInstanceName, newInstanceName));
        if (availabilityZoneId != null) {
            newOsDiskBuilder.withAvailabilityZone(availabilityZoneId);
        }

hi @xccc-msft could you pls have a look? thanks.

@hemasundars What's the version of SDK you are using? For the cloud exception, it's from service end. I just added label of Service Attention so the service team would help explain if any rule related this issue.

We are using Azure SDK 1.31.0


View doesn't update after updating ItemsSource

If I try to assign a new list to ItemsSource in runtime, the view doesn't update.

You are right. Its not implemented. Next update. Thanks

Solved. Please update to latest version :)

If my work is helping you, please help me back: https://xamarinhq.wufoo.com/forms/nominate-a-xamarin-mvp/

This is what i have done that is community visible:

Alex has been pretty active sharing his knowledge and answering questions in StackOverflow, GitHub and Xamarin Forums.
Alex has been open sourcing Xamarin components and plugin with the community, with more of 10 repositories being maintained on GitHub.
One of Alex's Xamarin.Forms plugin, the CarouselView, is currently being pulled into the Xamarin.Forms core (https://github.com/xamarin/Xamarin.Forms/pull/853). As an stable widget, this control has become the standard for Xamarin.Forms carousel screens with more that 16K downloads in NuGet and more than 100 solved and not open issues.
Another Alex's plugin, the SegmentedControl (https://github.com/alexrainman/SegmentedControl), is a big candidate to be also pulled into Xamarin.Forms core.
Plus Xamarin.Forms UI related plugins, Alex shares plugins to set app icon Badge, Google Analytics and KeyChain access.
Alex shares his knowledge about cutting edge technologies like Couchbase NoSQL and MobileIron integration with Xamarin Apps.


Does this provide support for SVE2 on ARM Cortex A76?

Hi, I am bit of a beginner here and I need some help with this

Output of 'strings libarm_compute.so | grep arm_compute_version':
Platform:
Raspberry Pi 5 (ARM Cortex A76)
Operating System:
Linux

Problem description:
I actually want to run llama3 8B model on a pi. For this I am using llama.cpp. Whenever I try to run it via NEON or SVE2 optimized quant types (Q4_0_4_4 and Q4_0_8_8 respectively), it doesn't run fast enough. I am getting a 2 token/sec with NEON and 1.5 token/sec with SVE2. Can using this library help ?

Hi @Abhranta
KleidiAI is better suited to accelated the type of workloads you find in these models than ACL. Please have a look at this article discussing LLM acceleration on mobile CPUs.
Hope this helps


Create Lyrics “test”

Automatically generated by Netlify CMS

:construction_worker: Deploy Preview for thar-ai processing.
:hammer: Explore the source changes: cf6ab0be6125b0251997a21ac103bcf908d9f051
:mag: Inspect the deploy log: https://app.netlify.com/sites/thar-ai/deploys/60c5df6b6534e1000779b220


Move brace out of user-edit scope

Move the closing brace of a function down below the // Only change code above this line-comment in Use Conditional Logic with IfElse Statements.
Fix #3152

@ahstro if I merge this PR will it brake mine?

@bugron I'm not sure. I don't think it should, but if you want to be safe, wait to merge this until yours have been merged. I'll try yours locally now.

@ahstro reviewed and merged. Thanks!


[build-script] Cleanup arg-parsing tests

Purpose
This PR mainly cleans up some of the argument parsing tests. It removes some duplicate code and uses the new presets module from #14422 and the shell module from #14430.
This furthers the efforts for completing SR-237
rdar://25281853

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - c9cd4785a4efd34875cbf39744168ea3faa7fa4a


Verify initial identity quote before adding agent to verifier

Enhancement Description
The tenant should verify the initial identity quote provided by the agent before adding the agent to the verifier database.

One-line enhancement description (can be used as a release note): Verify identity quote before adding agent to verifier
Keylime Enhancement Proposal: (link to keylime/enhancements file, if none yet, link to PR)
Primary contact (assignee): @ansasaki
Enhancement target (which target equals to which milestone):

Alpha release target (x.y)
Beta release target (x.y)
Stable release target (x.y)

Please to keep this description up to date.

@ansasaki this proposal is completed, right?

@ansasaki this proposal is completed, right?

Yes, it is. I'll add the PR link to the description.


Arkade get: removed sudo suggestion and changed suggested path for Git Bash users.

Signed-off-by: Pablo Caderno<EMAIL_ADDRESS>
Description

Motivation and Context

Fixes #169

[ ] I have raised an issue to propose this change (required)

How Has This Been Tested?

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

[ ] I have tested this on arm, or have added code to prevent deployment

@kadern0 we need a rebase on this when you have time please.

@kadern0 If you still intrested, can you rebase the PR again please?

I think we can assume that this PR has been abandoned by the author.
I'll close this for now, but feel free to revisit this in a new PR!

/close


Optional enabling/disabling of the lights exports

Sometimes we just want to export a 3D model but have lights in the Blender scene just to allow previewing/rendering of the said model. For such cases, it would be nice to have an option to enable or disable the export of the light objects; just like we have for the cameras already.

It does have an option, Export KHR_lights, I think? That should only be visible if you've enabled experimental settings in the addon preferences, and shouldn't be exporting light unless it's enabled. Do you get a different result?
Also, this exporter implements a draft version of the glTF lights spec. You'll want to switch over to https://github.com/KhronosGroup/glTF-Blender-IO if you need lights — that project will eventually replace this one.

You are right on all account. I did not see the experimental settings and thought the lights were exported by default.
I don't need lights, at the contrary I don't want to export them.
I din't even know about the other add-on. I will switch to it as soon as it is ready.


Bavverst/296 refresh list detail view on object create and edit

I accidentally also pushed my changes to filter stylisation to this branch


prime_number.py Added

Added prime_number.py under math folder of Python. The added file is equipped to check the primality of the passed argument
in both, iterative as well as recursive approach.
I have also changed the CONTRIBUTORS.md file and added my name into it with all the required links.
Have you read the Contributing Guidelines on Pull Requests?
Y
Description
Solved issue #1372 in python as assigned by @iamrajiv
the task was to make a function to check the primality of a number (both Iterative and Recursive method).
I solved the issue with python
Checklist

[Y] I've read the contribution guidelines.
[Y] I've checked the issue list before deciding what to submit.
[N] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#1372 #1411 #1410

@atarax665 All the desired changes are made, please review the PR

@atarax665 the code is formatted to pep8 style and the typos are corrected.

@plazzy99 please review the PR and mereg it

@all-contributors please add @charlie219  for code


feat: submit button is disabled if form is uneditable

Implements missing detail  for disabled submit in #121

No tests?

Added some, now just need to wait...


Noter frontend integration with map

This PR adds in noter / annotations to the map where buildings with images in the noter are highlighted and images shown, and other buildings can be selected with prompt to edit them and add images and annotations

The last commit adds support for assigning the outer relation of a building multipolygon as a "feature-state" attribute to the map polygon used for showing which buildings have annotations and for getting the id in the results panel. This will make it easier to open the editor around a multipolygon feature but is not perfect.
We can make it better with 2 changes, to the tegola config and the mbgl style file.
The first, to the tegola-config.toml file in the Antique repo, would add a building_id as an extra feature property in the query for buildings.
  sql = "SELECT osm_id, osm_id as building_id, start_date, ... planet_osm_polygon WHERE building IS NOT NULL AND way && !BBOX!"

And second to the mbgl-antique-style.json file in this repo, add a promoteId entry to the sources in the style file to change the id for the buildings layer.
  "sources":{
    "antique":{
...
      "promoteId":{"buildings":"building_id"}
    }
  },

mbgl-photomap.js should work with or without the suggested changes.


change the image input layer in GoogleNet

Hello everyone, I'm working on designing of an age estimation system so i started working using GoogleNet architecture for CNN as transfer learning. my question is How can I change the input image layer from [224 224 3] (RGB) to [250 250 1] for gray scale image? I think even if I can change the input image size, the configuration of the network as pretrained will not keep configured! what can i do?
thank you :)

when i try to change the image input layer, i get an error as below


fix(main): match styleguide catch callback

https://angular.io/guide/styleguide#style-02-05
In the styleguide rule above the catch callback uses console.error when the app boostrapping fails. I am updating the template to match.
I wasn't sure if the success console.log should also be included but that seems a bit too opinionated.

Sorry @sgwatgit  - this got lost when we moved back to the angular/angular-cli repo. If you still think this pull request is relevant, could you please re-base on that repo and open a new PR there? Thanks and sorry for the extra churn.


travis CI inclusion

is there a nodezoo-travis module we can put in package.json?

Not quite yet but there should be soon!

@AdrianRossouw There is now, https://github.com/nodezoo/nodezoo-travis


Taking into account photometry that is possibly contaminated

I checked the librarian module and the catalog cross-matching is based on position. Given Gaia sources, can the Librarian class include a logic where a given photometry is excluded (or at least flagged) if there is any unresolved sources near the target? Right now, my heuristic is re-run ariadne until I discarded all photometries that deviate too much e.g. >3-sigma from the best-fit SED.

I had planned on doing some sort of further quality check on the photometry but haven't gotten around to it. If you have an idea of how I could identify unresolved targets near the actual target, I'd be happy to hear it!

I don't have a specific solution but today I came across this paper (See Sec 2 & 3.1) which discusses how they take into account contamination in cross-matching.


What is the difference between flit install and pip install?

What does the flit install provide that is not covered by pip install? As a developer i mainly care about pip install -e ., does it make a difference to use flit install --symlink or pip for that?
Currently the documentation only says:

Install the package on your system.
By default, the package is installed to the same Python environment that Flit itself is installed in; use --python or FLIT_INSTALL_PYTHON to override this.
If you don’t have permission to modify the environment (e.g. the system Python on Linux), Flit may do a user install instead. Use the --user or --env flags to force this one way or the other, rather than letting Flit guess.

it would be nice to elaborate on the difference between pip install and flit install here.

It's the same, except that flit install --symlink works in a slightly different way to pip install -e . (and a way that I happen to prefer).


Comparing to Phake and Supporting Streams

How does this compare to Phake (not the mocking one)?
Also do you have plans to support streams similar to Gulp?

https://github.com/fzaninotto/Streamer
https://github.com/reactphp/stream
https://github.com/rkrx/php-streams

@DavertMik I do not mean yml specifically, but using something like *_Config from Zend, Symfony or Laravel?
Sure, just for executing a composer install i will not need this.
But if my tasks do some more work internally, I could easily configure behaviour using config files.
We use it to configure our deploy task for different environments.
Each environment has an own config file (which ís automatically loaded) and overwrites some settings used by the task.

:-1: on using YAML, it's a useless overhead. Honestly, I never understood why you have to use YAML or ini files when you can simply use plain php.
@DavertMik I guess an example of the use of streams could be compressing or decompression an archive or copying a really large file and track it's process. I would have to look it up myself right now but I think thats probably a good example.

+1 for streams.
Right now I need to do maintenance on a tmp directory (create and clear) for sake of having to write the files to and read from. It would be nice to do:
$this->taskConcat([
		'js/lib/bootstrap/bootstrap.js',
		'js/lib/backbone/backbone.js',
		'js/lib/backbone/underscore.js',
	])
	->taskMinify()
	->type('js')
	->to('min/js/vendor.js')
	->run();

instead.

Latest version of Robo has something partway to this; tasks can be chained, but at the moment, the results of one task do not get passed to any of the parameters of the next task.


Allow #[spirv(block)] on DSTs

Types decorated with Block may be unsized.

I should've asked you to write a test but I thought we should just merge it because I was already doing that.
Turns out it's not that useful:
error: invalid id:0:0 - For Vulkan, an OpTypeStruct variable containing an OpTypeRuntimeArray must be decorated with BufferBlock if it has storage class Uniform.


Why the predicted grasp pose distribution is out of the point cloud of object?

Hi. I meet the same problem. The poses generated seem not to belong to affordance area. How can I get some reliable poses?


Run CUnit tests as part of the GitHub Actions pipeline

Fixes #5.

Backtrace of segmentation fault
#0  0x00007ffff7df3b8e in free () from /usr/lib/libc.so.6
#1  0x00007ffff7fae43f in freeRastaByteArray (data=<optimized out>) at /home/user/Railway-CCS/rasta-protocol/src/rasta/c/rastautil.c:26
#2  0x00007ffff7fa9745 in deferqueue_remove (queue=0x7fffffffd320, seq_nr=1) at /home/user/Railway-CCS/rasta-protocol/src/rasta/c/rastadeferqueue.c:112
#3  0x0000555555558f3e in test_deferqueue_remove () at /home/user/Railway-CCS/rasta-protocol/src/rastaTest/c/rastadeferqueueTest.c:64
#4  0x00007ffff7f646b8 in ?? () from /usr/lib/libcunit.so.1
#5  0x00007ffff7f6495a in ?? () from /usr/lib/libcunit.so.1
#6  0x00007ffff7f64d58 in CU_run_all_tests () from /usr/lib/libcunit.so.1
#7  0x00005555555565f7 in main () at /home/user/Railway-CCS/rasta-protocol/src/rastaTest/c/registerTests.c:95

Note, there is no segmentation fault with Debug build. So you have to set CMAKE_BUILD_TYPE=RelWithDebInfo for the backtrace.


Cell optimization handler in the base workchain

will restart the calculation if the run performed more then 5 steps before converging

I will close the issue as according to our current understanding, restarting the simulation wouldn't change anything. See here for more details.


Unable to switch between terminal and editor by pressing Ctrl+`

Type: Bug

I know there is at least one active terminal waiting for my input, I can switch back to the editor with ctrl+`, but I can no longer switch back to the terminal with that shortcut.
I noticed that VS Code has added a terminal buffer function for screen reader users in the new version. The shortcut key assigned to this function is Shift+Tab, which confuses me very much. Isn't the function of this shortcut used in windows environment to switch in reverse between controls that have focus?
I tried assigning the function to other shortcuts, but it didn't work at all.

VS Code version: Code 1.77.1 (b7886d7461186a5eac768481578c1d7ca80e2d21, 2023-04-04T23:21:11.906Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz (8 x 1896)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.88GB (8.11GB free)

Process Argv
--crash-reporter-id 08ab617a-b493-4182-980e-7383997e95a3

Screen Reader
yes

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

vscode-language-pack-zh-hans
MS-
1.77.2023040509

remote-containers
ms-
0.288.0

remote-ssh
ms-
0.98.0

remote-ssh-edit
ms-
0.84.0

remote-wsl
ms-
0.77.0

cmake-tools
ms-
1.13.45

cpptools
ms-
1.14.5

cpptools-extension-pack
ms-
1.3.0

remote-explorer
ms-
0.4.0

cmake
twx
0.0.17

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vscaat:30438848
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
nodejswelcome1:30587005
3biah626:30602489
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
2i9eh265:30646982
vsctsb:30705553
pythonb192:30669360
functionswalk:30687959
pythonms35:30701012
pythonclientmvcf:30705674

1.76.2 does not have such a problem.

I tested 1.77.3 and the issue is still reproducible.
aiday-mar Can this be fixed in the next stable release?

ctrl+is working fine for me, do you have an extension or custom keybinding that could override it? You can run theToggle Keyboard Shortcut Troubleshooting command in the command palette to get information on what's happening when you hit ctrl+.
Is the shift+tab keybinding causing issues for you? It has a when clause and is only used under special circumstances.

@Tyriar
Here are the logs I captured:
2023-05-03 19:20:28.691 [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: Backquote, keyCode: 192, key: `
2023-05-03 19:20:28.691 [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: Backquote, keyCode: 86 ('`')
2023-05-03 19:20:28.692 [info] [KeybindingService]: | Resolving ctrl+`
2023-05-03 19:20:28.692 [info] [KeybindingService]: \ From 1 keybinding entries, matched workbench.action.terminal.toggleTerminal, when: terminal.active, source: user.
2023-05-03 19:20:28.692 [info] [KeybindingService]: + Invoking command workbench.action.terminal.toggleTerminal.

When I press ctrl+` I don't perceive any change, the focus doesn't change.

I found the steps to reproduce the problem exactly:
In a nutshell: As long as my keyboard focus stays on the "terminal buffer", pressing Ctrl+` can only return to the editor. If I want to return to the terminal and try to read the output, pressing Ctrl+` again will do nothing will happen.
I customized other shortcuts for "Terminal: Focus Accessible Buffer" and "Terminal: Navigate Accessible Buffer" respectively but nothing happened.
The following screen recording demonstrates what I'm talking about:
Uploading 20230503_194026.mp4…

I wonder if the cppdebug terminal is why this is happening. Can you reproduce with just a powershell terminal?

Looks like alt+o is the only keybinding the C/C++ extension contributions so it wouldn't be that.
IME related perhaps?

Debugging a python script can also reproduce this.
Maybe it has nothing to do with the extension.
However, this problem cannot be reproduced in 1.76.2.
@Tyriar
You wrote: "IME related perhaps?"
Do you mean related to the input method?

Do you mean related to the input method?

@cary-rowen yes, does it happen if you switch to non-IME/English keyboard layout?

No, I just tested and it has nothing to do with IME.

The key to reproduce the problem is that as soon as I set the system focus to 'Terminal buffer' then I can only use Ctrl+` to go back to the editor. But again, Ctrl+` cannot return to the terminal.
But if I Tab once to set the focus to the terminal before going back to the editor, Ctrl+` behaves as expected.

in the gif, it appears you are running a command to get the program to run in the terminal. I believe that is what should focus the terminal but isn't currently. that's why you have to tab in order to focus the terminal.

Maybe it's a hide from user terminal or something? I'd need to see the cppdebug terminal options that are provided

@meganrogge

in the gif, it appears you are running a command to get the program to run in the terminal. I believe that is what should focus the terminal but isn't currently. that's why you have to tab in order to focus the terminal.

Sorry, I'm a visually impaired user using a screen reader and there is no way to see the gif.
@meganrogge

Maybe it's a hide from user terminal or something? I'd need to see the cppdebug terminal options that are provided
What can I do next to help you identify the problem?

@cary-rowen for me, what happens is:

Run selected text in active terminal succeeds, reveals the terminal panel, and keeps the editor focused (by design)
Ctrl+` focuses the terminal
Ctrl+` focuses the editor and closes the terminal panel
Ctrl+` focuses the terminal and reveals the terminal panel

Is that what you expect as well? That is what I am seeing in your gif.

@cary-rowen thank you for those steps. that is by design as we want the accessible buffer to remain focused until tab or escape are used.

Maybe I misspoke. The four steps you mention above are as designed and working for me. I still do not know why that is not happening for you.

Ah I just realized a potential source of confusion. When focus is in the terminal accessible buffer, the screen reader can read "editor" since beneath the surface, we are using a Monaco editor there. I wonder if that's why, from your perspective, it seems like the focus is still in the editor instead of in the terminal?

@meganrogge

Ah I just realized a potential source of confusion. When focus is in the terminal accessible buffer, the screen reader can read "editor" since beneath the surface, we are using a Monaco editor there. I wonder if that's why, from your perspective, it seems like the focus is still in the editor instead of in the terminal?

I don't think so at all, although the code editor and the accessible buffer appear to have the same role in the screen reader, they are both 'EditableText', but their Name(or Label) is completely different.
More importantly, its value (that is, the text content it contains) is completely different. The former is the code I wrote, while the latter is the output information of the terminal buffer.

For now, the label of the code editor is the name of the currently open source code file, and the label of the accessible buffer is "Terminal buffer".
Such nomenclature does not cause confusion, so once again proving that what you fear is unlikely to happen.

Hi, @meganrogge
I have re-recorded the video visually to demonstrate the bug. hope this will help you.
Another problem is that in the final demo, the terminal appears with characters that don't fit as expected. I'm sorry I can't describe it very well in English.

Hi, @meganrogge
I have re-recorded the video visually to demonstrate the bug. hope this will help you.
Another problem is that in the final demo, the terminal appears with characters that don't fit as expected. I'm sorry I can't describe it very well in English.
https://user-images.githubusercontent.com/43466291/236022342-96c57713-6fff-4b49-bfdf-680a5cfd43b2.mp4

Thank you - that recording helps me understand the bug and that behavior is not as designed. I'll look into it.

@cary-rowen and @hwf1324 thanks for your gifs and repro steps. I have tried on both windows and mac OS and cannot reproduce this in insider's. I can reproduce the issue in VS Code stable. So pls use Insider's or you can look fwd to this fix in the next release.

Hello,
Thanks @meganrogge @Tyriar
It's good that the latest stable release 1.78.0 also enjoys this fix.
Best
Cary


How to configure Progressive Web App

How to configure Progressive Web App
Thanks!

Hi @marcelowu
We have a PWA for bagisto, kindly see it - https://github.com/bagisto/laravel-pwa.
After installing it, use /mobile after your domain.

thanks


Launching Services Tutorial

The service launch documentation is currently a bit outdated. The aliases setup_script.sh aliases also need a rework based on recent changes.

If we are including these in the docs they should be tested to make sure they still work (I think some are outdated)

Originally posted by @chrismbirmingham in https://github.com/interaction-lab/HARMONI/pull/46#discussion_r633600302

Updated.


Evaluate type param

C#:
var activateInfo = propertiesToActivate[i];

VB:
Dim activateInfo As PropertyActivator(Of TContext) = propertiesToActivate(i)

No need to explicit declaration here. This is OK:
 Dim activateInfo = propertiesToActivate(i)
But if you have to mention the type, you should evaluate the type param, instead using TContext which is the raw generic declaration not a real type. In this context, TContext is evaluated to be ViewContext(). You need to use a valid sample to reproduce this case.

Similar issue here:
C#:
                foreach (var item in ViewLocationExpanderValues)
                {
                    hashCodeCombiner.Add(item.Key, StringComparer.Ordinal);
                    hashCodeCombiner.Add(item.Value, StringComparer.Ordinal);
                }

VB:
                For Each item As IEnumerable(Of KeyValuePair(Of String, String)) In ViewLocationExpanderValues
                    _hashCodeCombiner.Add(item.Key, StringComparer.Ordinal)
                    _hashCodeCombiner.Add(item.Value, StringComparer.Ordinal)
                Next

The item is of type KeyValuePair(Of String, String) not IEnumerable(Of KeyValuePair(Of String, String)), and you can avoid this but maintain inference:
                For Each item In ViewLocationExpanderValues
                    _hashCodeCombiner.Add(item.Key, StringComparer.Ordinal)
                    _hashCodeCombiner.Add(item.Value, StringComparer.Ordinal)
                Next

I am getting your desired results when I just convert the snippet. I need a more complete example to debug the issue. I try to avoid type inference when I know the type. The defaults for all my projects are Infer Off, Strict On, Explicit On.

Tou should stick with the original c# code. Inference makes the code shorter and cleaner so more readable. Besides, you write the full qualified names srating with system. Save your self the truple and keep inferencxe. C# and vb are idintical in this aspect.

I now support user setting of Option Infer, I may look at using this for source generation in the future. But it is not high priority.

I now allow the user to specify the options included in the converted code so you can set whatever you want and the converter will include your selections. @VBAndCs if you still have an issue open a new report with enough source to reproduce.


MC final approach

Fixes https://github.com/PX4/Firmware/issues/3894
Final approach altitude and descent rate.
Please set MPC_FNA_ALT=1.5 (and optionally MPC_FNA_SPD) to test
todo:

[x] rangefinder
[ ] flight test

Can you work out which range finder we should recommend by default? Maybe one of the cheaper lightware models?

@sanderux Is that ready for test-flight? I saw you picked up the idea of decreasing the velocity, if a range finder is available.

@ecmnet yes all looks good in SITL. What i did in decreasing speed applies to both with and without range finder. I did this because the sudden shock when changing velocity has a negative effect on everything and could potentially trigger the land detector.

@sanderux Ok. I saw your implementation, switching to a final landing velocity when touching _params.land_final_approach_alt. For those who use range-finders, this limit could be set to a quite low altitude. Right?

yes, it decreases it's velocity 1m above the fna_alt.
But you should always set a land_speed tht would not harm your vehicle, with that in mind this code is quite safe in any circumstance,

@sanderux Fine. I'll give that a test flight as soon as possible.
@LorenzMeier You may allow me a general remark, because I noticed that now multiple times. Maybe it is worth to think about a general structure, which allows to - first - check which is the most accurate information available and then - second - decide which action should take place depending on the accuracy of the best available information. Currently I see many discussions - and implementations - which deal with that decision-problem.

@ecmnet nice, i would love to see some live logs. and on the sensor choice, that should be handled by the estimator. @tumbili is working on that for ekf2 so improvements are likely underway

@sanderux I am currently using jgopperts LPE implementation, supported by lidar. Any concerns here?

it needs to publish lpos.dist_bottom and lpos.dist_bottom_valid
and check that validity: https://github.com/PX4/Firmware/blob/991bc54626e1cbce4fe77e0048907a77cb016693/src/modules/position_estimator_inav/position_estimator_inav_main.cpp#L1021

ok, I have to cross-check that

@ecmnet btw I agree on your comment about not having to care for broken devices here, as far as I know it's just not possible to filter them out properly. When the lidar via PWM is out of range it provides a constantly changing value around the minimum range, which makes the terrain estimator believe its on the ground. (off topic discussion here, but needs to be solved somehow..)
I also see we have a competing bottom estimate in INAV. @tumbili @LorenzMeier what's the plan for range finder fusion in EKF2? In general: Should we use the terrain estimator as is within all estimators or leave it up to the estimators to provide bottom estimation? I believe the bottom distance INAV currently publishes is not as safe as the one from the terrain estimator.

My vote is to have the terrain estimator publish range finder estimation and leave it up to the position estimator if it wants to use this data for bottom estimation. i would also suggest changing the name dist_bottom to dist_terrain or dist_ground

@AndreasAntener
Flight tested 5 times, works beautifully.
Ready to merge, i would even suggest adding this standard

http://logs.uaventure.com/view/YnY8Z7vu5biFRks5wuaWET#Velocity_PLOT

This makes the transition much smoother, vertical acceleration is the max it should do. This looks really nice slowing down decent. You could even set the altitude to 0.5 making it slow down from 1.5 till 0.5 and get a really smooth touchdown.

Nice, did you use a range finder?

My vote is to have the terrain estimator publish range finder estimation and leave it up to the position estimator if it wants to use this data for bottom estimation. i would also suggest changing the name dist_bottom to dist_terrain or dist_ground

You're not actually using the result of "the" terrain estimator at the moment btw, but the bottom estimate from INAV. The terrain estimator publishes in the global vehicle location message which I mentioned on an earlier diff. I'm happy if it works that way, but we need to define the strategy for this.
This shouldn't be enabled by default except if you have a range finder. Because "enabling" would mean having a high landing speed and slow final approach speed. So if your altitude estimate shifted (can be 10m after a longer flight), or you land at a higher position, that's going to end bad sooner or later.

This makes the transition much smoother, vertical acceleration is the max it should do. This looks really nice slowing down decent. You could even set the altitude to 0.5 making it slow down from 1.5 till 0.5 and get a really smooth touchdown.

Fair enough, I can imagine it looks nice, we tried that as well ;). But the acceleration parameter (we should add a separate one for vertical btw..) is tuned for the aircraft. Transitioning within 1m between one and the other speed is not visible to the user. I'm looking for a way to remove the magic number (oh we have so many parameters already...). Ideas?

I didn't use a range finder, still need to connect that to the pixracer.
As for enabling it by default; my suggestion is not to change the default land_speed (0.5 or 0.7), it is to set fna_spd to 0.3 with an fna_alt of 0.5 or 1m (effectively 1.5 or 2m slowdown start). That should not change anything to the current procedure, but it would give a smooth landing to 95% of the autonomous flights.
The magic number could indeed be a param, but i tried to think of a situation where you would want anything else then 1m just to decelerate and reasoned that it was too trivial to warrant a param. It could be skipped without a problem. So i decided to treat it as a constant related to gravity (this was just to convince myself it was ok to use a magic number here :)

You're not actually using the result of "the" terrain estimator at the moment btw, but the bottom estimate from INAV. The terrain estimator publishes in the global vehicle location message which I mentioned on an earlier diff. I'm happy if it works that way, but we need to define the strategy for this.

I know, this was meant as a suggested enhancement, the estimators should populate the distance by using the terrain estimator and not the way they currently do it. With that change this code would adapt automatically.

They should either do it themself or leave it to the independent one. EKF2 will have it integrated. LPE doesn't have it yet. We have a problem with INAV because its mixing 2 different estimates ATM (and bottom estimate contains the unfused lidar distance which is not so good).

ok, i'll leave that up to you and roman. for now i think this is as good as it will be on inav/ekf2
where do you stand on the default value?

I still don't think we should enable it by default. Like I said, you only really benefit from this if you increase the initial land speed but that's dangerous without a range finder. Having a final speed of 0.3 vs 0.5 just doesn't seem to make sense to me. Vertical speed is not very precise (except you tune it very very well but no one does this) so the difference for most users will be quite low. But it will be weird for them if the copter starts to slow down just slightly at a random altitude above ground (because of shift).
And we really need to publish the other estimate in INAV, trying to find out it that's ok. But otherwise I think we can go with this (see my note about the parameter).

ok done

final sitl test passed

@tumbili could you test this with a range finder?

@sanderux I think to make most use of this I would need to add a parameter to specify that it should only use the bottom estimate. The reason being if you have a valid bottom estimate in the beginning but you loose it because of a sensor breaks during the flight I don't want it to revert back to using relative altitude (in this scenario I'm obviously not landing at the same spot as I took off). I could add that.

This could be interesting: http://www.teraranger.com/products/teraranger-one/

Moving to 1.4 as the benefit of this is unclear once you have a Lidar (because the system will slow down by itself once you have that).

Closing this for now since the better approach seems to be range finder + actual precision position control down to the ground, not a variable-speed open loop manoeuvre.


Add compute.py for Electrostatic Force Calculator (GUI)

RUN BOTH i.e ELECTROSTATIC FORCE.PY AND COMPUTE.PY IN THE SAME FILE.PLEASE REVIEW HOW IT'S LOOKS.

Please review my request

Can u accept this ?? Or reject??
On Mon 12 Oct, 2020, 10:45 PM stale[bot]<EMAIL_ADDRESS>wrote:

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tasnimzotder/hacktoberfest-2020/pull/75#issuecomment-707244292,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARGWAIUHFGNOCJC72XKMFDTSKM2SVANCNFSM4SBJHWIA
.


Change the color and the appearances of "Untrusted devices" padlock on room name

Change the color and the appearances of "Untrusted devices" padlock on room name.

Done.


Updated dropdown to filter client side

Codecov Report

Merging #327 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #327   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          18     18
  Lines         382    384    +2
=====================================
+ Hits          382    384    +2

Impacted Files
Coverage Δ

...noreIOServer/RouteHandlers/SiteRouteHandlers.swift
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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