[styled-engine] Add  component

The PR adds <Global /> component in @material-ui/styled-engine and @material-ui/styled-engine-sc for injecting global styles.
Usage:
<Global styles={`span { color: rgb(0, 0, 255); }`} />

<Global styles={theme => `span { color: ${theme.palette.primary.main}; }`} />

I don't think that's a good idea. It contradicts an aspect of why CSS-in-JS is chosen: Isolate styles. This component goes against it.
I was not part of the internal discussion or what the real-world use case was so I don't think I should review this anymore.

@eps1lon This primitive is required to migrate away from the @global rule of JSS. The use case is about global resets, like changing the box sizing, removing the default margin on the body, etc.

I don't think that's a good idea. It contradicts an aspect of why CSS-in-JS is chosen: Isolate styles. This component goes against it.
I was not part of the internal discussion or what the real-world use case was so I don't think I should review this anymore.

Every CSS in JS solution offers this. The problem is that currently, we support some kind of API for this only with JSS. This is just unifying the emotion & styled-components support for the feature under one common API.

Could we test that the JavaScript syntax works too?

Good call, I need to make it work first 😅

It might be good to start directly use it in CssBaseline to guarantee that the implementation works as expected. Otherwise, we introduce a module without real life constraints (But it might be too ambitious)

👍

Needed to convert to draft, found the following things that needs to be addressed before moving further:

There is a difference in the API between styled-components and emotion global styles. styled-componetns provides all props, while emotion only the theme. This basically means that currently we have different usage between the two:

styled-components

<Global styles={(props) => ({ span: { color: props.theme.color } })} />

emotion

<Global styles={(theme) => ({ span: { color: theme.color } })} />

I'd propose we move further with supporting the emotion API, as this component doesn't support any props anyway. Also it would be closer to the API we use currently for example for the CSSBaseline component. (Let me know if you think otherwise)

We need to have a wrapper around this component in core that will support defaultTheme - this is blocker for moving the CSSBaseline at this moment

@mnajdova I think that it makes more sense to continue in the direction of the API of emotion. There is no need for props with this rendering approach.

We will need to update http://next.material-ui.com/customization/how-to-customize/#5-global-css-override, which might require to rethink theme.components.MuiCssBaseline.

WIll start updating the docs now. I'd say we should propose using directly the GlobalStyles component there. Are there any concerns with that approach? I was thinking that we should not even support style overrides for CssBaseline, but if you think otherwise I will implement it. Otherwise the breaking changes would be to move the theme.components.MuiCssBaseline.styleOverrides to <GlobalStyles styles={...} />

We will need to update http://next.material-ui.com/customization/how-to-customize/#5-global-css-override, which might require to rethink theme.components.MuiCssBaseline.

WIll start updating the docs now. I'd say we should propose using directly the GlobalStyles component there. Are there any concerns with that approach? I was thinking that we should not even support style overrides for CssBaseline, but if you think otherwise I will implement it. Otherwise the breaking changes would be to move the theme.components.MuiCssBaseline.styleOverrides to <GlobalStyles styles={...} />

There is a problem currently for using the GlobalStyles for overriding styles. The styles coming from GlobalStyles are injected first, so it cannot really be used for overrides, just for setting some predefined defaults. @oliviertassinari how did this work previously? Is it expected that the global styles will override component's styles?

There is a problem currently for using the GlobalStyles for overriding styles. The styles coming from GlobalStyles are injected first, so it cannot really be used for overrides, just for setting some predefined defaults. @oliviertassinari how did this work previously? Is it expected that the global styles will override component's styles?

My assumption is that documenting how to extend the CssBaseline with a global theme, would be the simplest approach because it allows to keep the whole theme inside a single file and because the likelihood a developers already uses CssBaseline for reset purposes is high. However, I understand you would like to try without (not mentioning this option in the guide). We can move forward with the current changes and see if it fly 👍

Sorry, forgot about this. I've added both approaches with https://github.com/mui-org/material-ui/pull/24176/commits/881c308102f9083925320ba6311add44341490f1 Hopefully we are on good terms now regarding the documentation :)

My assumption is that documenting how to extend the CssBaseline with a global theme, would be the simplest approach because it allows to keep the whole theme inside a single file and because the likelihood a developers already uses CssBaseline for reset purposes is high. However, I understand you would like to try without (not mentioning this option in the guide). We can move forward with the current changes and see if it fly 👍

Sorry, forgot about this. I've added both approaches with https://github.com/mui-org/material-ui/pull/24176/commits/881c308102f9083925320ba6311add44341490f1 Hopefully we are on good terms now regarding the documentation :)


why the layer 'concat_dsn3' did not include 'upscore-dsn4-3' ?

layer { name: "concat-dsn3" bottom: "conv3-dsn3"  bottom: "upscore-dsn6-3" bottom: "upscore-dsn5-3"    top: "concat-dsn3" type: "Concat" concat_param { concat_dim: 1} }
@Andrew-Qibin Hi, I'm re-implement this network in keras, and have read your paper before.
I remember the concate in your paper present in a dense way. The conct-dsn3 should be include a bottom like 'upscore-dsn4-3', but there only include upscore-dsn5-3 and upscore-dsn6-3.
the layer  'concat_dsn3' included 'upscore-dsn4-3' or did not ?

Oh, I see, the layer 'concat_dsn3'  did not includ 'upscore-dsn4-3'.


!prof command search feature

Alot of people have a hard time remembering their professors name so we should add a search feature to allow for studnets to search the name of their professor to find out how its represented in the json asset file
cc @Nathan-Binkley

#263 Adds the professor name linting feature

#263 Adds the professor name linting feature

Close since added in #294?

that pr was superceded, it needs to be reimplemented with a !prof search command

So for this command the bot would reply with a list of names that are similar and could be scrolled if necessary.

This feature has since been implemented.


feat(ssl): support native openssl on http client

Replace https://github.com/gravitee-io/old-gravitee-api-management/pull/324
Issue
https://github.com/gravitee-io/issues/issues/6640
Description
This aims to backport an optimisation of ssl support when calling https endpoints.

✅  to approve as original PR was approved https://github.com/gravitee-io/old-gravitee-api-management/pull/324

Gravitee.io Automatic Deployment
Congrats, all the CI steps were 🟢 . The Bot was able to deploy the build of this PR, so you can now try it directly here! 🚀
Notes: The deployed app is linked to the management API of the Element Zero team's environment.


Correcting links that are switched and incorrectly linked

The links for where resource logs can be sent as the log analytics and azure storage links switched

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

ID: 5bb43e29-e621-8058-789f-8c3eb58cbd77
Version Independent ID: 598b7921-af7f-4b47-a773-5b29f0adf09a
Content: Sources of data in Azure Monitor - Azure Monitor
Content Source: articles/azure-monitor/data-sources.md
Service: azure-monitor
Sub-service: general
GitHub Login: @bwren
Microsoft Alias: bwren

@hintbw
Thanks for your feedback! We will investigate and update as appropriate.

@hintbw We have verified and updated the document as required. The update will go live in less than 24 hours. Thank you so much for catching this document bug.


fix tabulate duplicating parameters

What does this PR do?
Fixes #2930. Recent changes from #2898 silently broke tabulate, this PR use the unfreeze function to both unfreeze the and deep clone a dictionary structure, in the future if FrozenDicts are no longer returned this will still work as unfreeze works on regular dicts (does a deep clone). Also added the sample from #2930 as a unit test.

Codecov Report

Merging #2931 (4c6f082) into main (34823e2) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #2931   +/-   ##
=======================================
  Coverage   81.81%   81.81%
=======================================
  Files          55       55
  Lines        5900     5901    +1
=======================================
+ Hits         4827     4828    +1
  Misses       1073     1073

Impacted Files
Coverage Δ

flax/linen/summary.py
98.27% <100.00%> (+<0.01%)
:arrow_up:

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


Added new link & website in the README

Added new link & website for the cors page. Since html5rocks became web.dev.

@manjunath00 sorry I didn't see the PR when it was first opened. The source repo seems to have been deleted, leaving the PR unmergable. Please re-fork the repo and open again so we can mege.

Please disregard :) The GitHub site was just being... broken.


Core bug in Chromium/Chrome HTTP/2

This bug has been unresolved since January.  I don't know where else to file this bug or who else to notify about it.  The Chromium team still has not resolved it.  They have confirmed it is a bug.
https://bugs.chromium.org/p/chromium/issues/detail?id=1045328#c50

@niftylettuce The CRbug you posted was marked as an ExternalDependency, meaning it's awaiting on an external project to apply a fix to their codebase. Until this happens it seems that the bug is blocked.


Segfault when trying to lex sqlite3.c

First of all thanks for your great work !
Testing this project with sqlite3.c I'm getting segfault:
valgrind ./targum_lexer-nb sqlite3.c
==18056== Memcheck, a memory error detector
==18056== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==18056== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
==18056== Command: ./targum_lexer-nb sqlite3.c
==18056==
==18056== Invalid read of size 1
==18056==    at 0x112CE0: targum_lexer_generate_tokens (targum_lexer.c:206)
==18056==    by 0x113164: main (test_driver.c:16)
==18056==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==18056==
==18056==
==18056== Process terminating with default action of signal 11 (SIGSEGV)
==18056==  Access not within mapped region at address 0x0
==18056==    at 0x112CE0: targum_lexer_generate_tokens (targum_lexer.c:206)
==18056==    by 0x113164: main (test_driver.c:16)
==18056==  If you believe this happened as a result of a stack
==18056==  overflow in your program's main thread (unlikely but
==18056==  possible), you can try to increase the size of the
==18056==  main thread stack using the --main-stacksize= flag.
==18056==  The main thread stack size used in this run was 8388608.
==18056==
==18056== HEAP SUMMARY:
==18056==     in use at exit: 8,877,925 bytes in 2,840 blocks
==18056==   total heap usage: 25,289 allocs, 22,449 frees, 12,421,075 bytes allocated
==18056==
==18056== LEAK SUMMARY:
==18056==    definitely lost: 0 bytes in 0 blocks
==18056==    indirectly lost: 0 bytes in 0 blocks
==18056==      possibly lost: 0 bytes in 0 blocks
==18056==    still reachable: 8,877,925 bytes in 2,840 blocks
==18056==         suppressed: 0 bytes in 0 blocks
==18056== Rerun with --leak-check=full to see details of leaked memory
==18056==
==18056== For lists of detected and suppressed errors, rerun with: -s
==18056== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
valgrind: line 2: 18056 Segmentation fault      (core dumped) valgrind $*

Changing src/targum_lexer.c like bellow seems to solve the problem:
@@ -201,11 +201,11 @@ TARGUM_API bool targum_lexer_generate_tokens(struct TargumLexer *const lexer)
 			targum_err(lexer->filename.cstr, "critical error", 1, 0, "Missing both keywords and operators sections in config file/string! Either have a keyword or operator section. Failed to generate tokens.");
 			goto targum_lex_err_exit;
 		}

 		size_t token_count = 0;
-		while( *lexer->iter != 0 ) {
+		while( lexer->iter && *lexer->iter != 0 ) {
 			if( max_toks > 0 && token_count >= max_toks )
 				return true;
 			/// check white space if they're considered legit tokens.
 			else if( is_whitespace(*lexer->iter) ) {
 				const int32_t s = *lexer->iter++;

valgrind ./targum_lexer-nb sqlite3.c
==18108== Memcheck, a memory error detector
==18108== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==18108== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
==18108== Command: ./targum_lexer-nb sqlite3.c
==18108==
tokenization? 'success!'
==18108==
==18108== HEAP SUMMARY:
==18108==     in use at exit: 0 bytes in 0 blocks
==18108==   total heap usage: 81,381 allocs, 81,381 frees, 12,742,243 bytes allocated
==18108==
==18108== All heap blocks were freed -- no leaks are possible
==18108==
==18108== For lists of detected and suppressed errors, rerun with: -s
==18108== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

After posting this issue I realize that the fix could just like this (don't need double test):
@@ -201,11 +201,11 @@ TARGUM_API bool targum_lexer_generate_tokens(struct TargumLexer *const lexer)
 			targum_err(lexer->filename.cstr, "critical error", 1, 0, "Missing both keywords and operators sections in config file/string! Either have a keyword or operator section. Failed to generate tokens.");
 			goto targum_lex_err_exit;
 		}

 		size_t token_count = 0;
-		while( *lexer->iter != 0 ) {
+		while( lexer->iter ) {
 			if( max_toks > 0 && token_count >= max_toks )
 				return true;
 			/// check white space if they're considered legit tokens.
 			else if( is_whitespace(*lexer->iter) ) {
 				const int32_t s = *lexer->iter++;

Another bug appear when I try to lex sqlite3.c from another folder:
valgrind  --leak-check=full ./test_driver /home/mingo/dev/dadbiz++/third-party/dad/sqlite3/sqlite3.c
==18748== Memcheck, a memory error detector
==18748== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==18748== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
==18748== Command: ./test_driver /home/mingo/dev/dadbiz++/third-party/dad/sqlite3/sqlite3.c
==18748==
((null):1:0) critical error: **** No source file loaded! Failed to generate tokens. ****
tokenization? 'failure!'
==18748== Invalid read of size 8
==18748==    at 0x10B811: main (test_driver.c:24)
==18748==  Address 0x10 is not stack'd, malloc'd or (recently) free'd
==18748==
==18748==
==18748== Process terminating with default action of signal 11 (SIGSEGV)
==18748==  Access not within mapped region at address 0x10
==18748==    at 0x10B811: main (test_driver.c:24)
==18748==  If you believe this happened as a result of a stack
==18748==  overflow in your program's main thread (unlikely but
==18748==  possible), you can try to increase the size of the
==18748==  main thread stack using the --main-stacksize= flag.
==18748==  The main thread stack size used in this run was 8388608.
==18748==
==18748== HEAP SUMMARY:
==18748==     in use at exit: 15,777 bytes in 503 blocks
==18748==   total heap usage: 1,073 allocs, 570 frees, 34,001 bytes allocated
==18748==
==18748== 1 bytes in 1 blocks are definitely lost in loss record 2 of 46
==18748==    at 0x4C340D2: calloc (vg_replace_malloc.c:760)
==18748==    by 0x10D1F6: __harbol_resize_string (in /home/mingo/dev/c/A_grammars/Targum-Lexer/src/test_driver)
==18748==    by 0x10D491: harbol_string_copy_cstr (in /home/mingo/dev/c/A_grammars/Targum-Lexer/src/test_driver)
==18748==    by 0x10D4EF: harbol_string_create (in /home/mingo/dev/c/A_grammars/Targum-Lexer/src/test_driver)
==18748==    by 0x10C39E: targum_lexer_generate_tokens (targum_lexer.c:387)
==18748==    by 0x10B7A4: main (test_driver.c:16)
==18748==
==18748== LEAK SUMMARY:
==18748==    definitely lost: 1 bytes in 1 blocks
==18748==    indirectly lost: 0 bytes in 0 blocks
==18748==      possibly lost: 0 bytes in 0 blocks
==18748==    still reachable: 15,776 bytes in 502 blocks
==18748==         suppressed: 0 bytes in 0 blocks
==18748== Reachable blocks (those to which a pointer was found) are not shown.
==18748== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==18748==
==18748== For lists of detected and suppressed errors, rerun with: -s
==18748== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
valgrind: line 2: 18748 Segmentation fault      (core dumped) valgrind $*

One problem was that I accidentally moved the /home/mingo/dev/dadbiz++/third-party/dad/sqlite3/sqlite3.c file and then the fopen was failing and probably the TARGUM_API struct TargumLexer targum_lexer_create_from_file(const char filename[restrict static 1], struct HarbolLinkMap *const restrict cfg) should return NULL in such case instead of struct TargumLexer lexer = {0}; or(and some extra test should be done before use the return value:
TARGUM_API struct TargumLexer targum_lexer_create_from_file(const char filename[restrict static 1], struct HarbolLinkMap *const restrict cfg)
{
	struct TargumLexer lexer = {0};
	FILE *restrict src_file = fopen(filename, "r");
	if( src_file==NULL )
		return lexer;  ////!!!!! failed to open the giving file

	const bool result = harbol_string_read_file(&lexer.src, src_file);
	fclose(src_file), src_file=NULL;
	if( !result ) {
		harbol_string_clear(&lexer.src);
	} else {
		lexer.filename = harbol_string_create(filename);
		_setup_lexer(&lexer, cfg);
	}
	return lexer;
}

But while writing this I noticed that indeed there is an assert testing this condition:
int32_t main(const int32_t argc, char *argv[restrict static 1])
{
	if( argc<2 ) {
		puts("Targum Lexer Driver Error: missing text file.");
		return -1;
...
		struct TargumLexer lexer = targum_lexer_create_from_file(argv[1], NULL);
		assert( targum_lexer_load_cfg_file(&lexer, "tokens.cfg") && "failed to load tokens.cfg!" ); ///!!!! here testing but continuing anyway ?????
		const bool result = targum_lexer_generate_tokens(&lexer);

Sorry my bad what valgrind was reporting was in fact the assert  exit.

Sorry again, looking again through it I still think that TARGUM_API struct TargumLexer targum_lexer_create_from_file(const char filename[restrict static 1], struct HarbolLinkMap *const restrict cfg) should return NULL in such case instead of struct TargumLexer lexer = {0}; and a check should be done on the return value before proceed further.

TargumLexer::src is NULL because fopen had failed, which then uses TargumLexer::src to set TargumLexer::iter.
An oversight of fix on my part.

aha! I have successfully found the issue!
during the execution, there's this piece of code changes the value of lexer->iter to the pointer value of end.
So while lexing sqlite3.c, I noticed that end isn't modified and so stays NULL which is then assigned to lexer->iter, causing it to become NULL and then crash.
I've patched this and will commit the patch.

This has been successfully patched, thank you Mr. Duarte for raising this.

Reopening this. @mingodad sq3lite.c was crashing because it was exceeding memory usage due to how much token data exists. I have since set a default limit of 100 tokens at a time for the lexer. To "disable" this limit, simply set the value to 0 but mind the memory usage.


Failed to load extended properties for ocminecart.RCcart

Getting this issue in my dedicated server console: http://pastebin.com/UejU2WJu
OC Minecarts 1.0, Forge 1566.

Version 1.1 is now available on Curse.

Thank you! Happy holidays!


Issue with image pull secret in .dockercfg format instead of .dockerconfigjson format

All the image pull secret we use in our cluster are of type .dockercfg so when using k8s-image-swapper, it's not using the image pull secret.
Is there anyway to also use .dockercfg image pull secret type?
Thank you

Hi @JonathanLachapelle ,
Revisiting reported issues. Is. this still something you're having issues with?

Hi, yes it is still something we are facing issue with.


Fix role ARN comparison for user ID strict check (#669)

What this PR does / why we need it:
cherry-pick https://github.com/kubernetes-sigs/aws-iam-authenticator/pull/669
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/ok-to-test

/lgtm
/approve


Typo in Cosmos tutorial?

(First of all – this is all really amazing. Thank you!)
I'm working through the Cosmos tutorial and I think there's an error that is preventing me from compiling. I'm in chapter 5, section 1.2 and the line ts.center = point needs to be ts!.center = point for it to work for me.

Fixed! Thanks for the heads up.
I actually changed:
let ts = C4TextShape(text: "\(x)")!

Cool!
I believe that causes the same error in section 2 of the same page ("Proper Setup"):
func createIndicator(text: String, at point: C4Point) {
let ts = C4TextShape(text: text)!
ts.center = point
infiniteScrollView.add(ts)
}

Great, thanks. Got that one fixed as well.

@jeffThompson if you're still working through the cosmos tutorial, i have some news. we just updated the api and there's been some big changes! no more C4 prefix!
But, we also updated the cosmos tutorial with new syntax. So, you might have to switch to the new style. You can work from the new empty project and use the complete project as a base to catch up to where you left off.


Rename trace handler to tail

The existing trace handler is still available to maintain backwards compatibility.

I updated this PR to avoid unnecessary duplication. Please, take another look.


Update miner.py

I modified these two lines because Hugging Face accepts three types of repositories: model, dataset, or space.

thank you @StudioMax971 ! merging


Handle URL scheme in Support and DataLoadersFactory

Solution 1
Schemes and data loaders
Each URL scheme would have matching Contract that extends RowBloom\RowBloom\DataLoaders\Contract
interface FsContract extends Contract
{
    public static function getSupportedFileExtensions(): array;
    public static function getFolderSupport(): ?int;
}

[!TIP]
Scalable.

[!WARNING]
Might slowdown support for new scheme.

[!CAUTION]
Commnuity drivers connot support new schemes on the fly.

Schemes and data loaders factory

[!TIP]
Just asks support to handle a driver for the URL.

Schemes and support
[
    'file' => [
        'extensions' => [
            'json' => [
                'JsonDataLoader' => 100,
                // ...
            ]
            // csv, xslx, xml, ...
        ],
        'dir' => [
            'FolderDataLoader' => 100,
            // ...
        ],
    ],
    'http' => [
    ],
    // mysql, ftp, mssql, ...
]

[!CAUTION]
Registration need to match the scheme contract.
Extra code for handling URL to driver resolution.

Solution 2 (draft)

Drivers come with callbacks to self resolve for a driver.
Support loop and run the callbacks.

[!TIP]
Simple.

[!Caution]
Can't handle priorities.
Loose structure of support.
Performance loss to loop and evaluate callbacks.


feat: initial siloing of incoming notes to pxe / pxe database

Please read contributing guidelines and remove this line.

Benchmark results
Metrics with a significant change:

protocol_circuit_simulation_time_in_ms (private-kernel-tail-to-public): 4,022 (-41%)
avm_simulation_time_ms (Token:assert_minter_and_mint): 52.9 (-41%)
protocol_circuit_proving_time_in_ms (base-parity): 1,928 (+37%)
pxe_database_size_in_bytes (3): 7,456 (-54%)
pxe_database_size_in_bytes (5): 12,128 (-55%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,708
1,544
711
738 (-3%)
771

proof_construction_time_sha256_30_ms
11,714
3,140
1,412
1,423 (-2%)
1,468

proof_construction_time_sha256_100_ms
43,750
11,983
5,461 (-2%)
5,423 (-3%)
5,342 (-4%)

proof_construction_time_poseidon_hash_ms
78.0
34.0
34.0
59.0
88.0 (-2%)

proof_construction_time_poseidon_hash_30_ms
1,519
417
200
224
268

proof_construction_time_poseidon_hash_100_ms
5,615
1,518
679 (-1%)
749 (+3%)
746

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
708
708
708

l1_rollup_calldata_gas
6,588
6,586
6,600

l1_rollup_execution_gas
583,050
583,199
583,364

l2_block_processing_time_in_ms
768 (+1%)
1,431 (+1%)
2,718 (+1%)

l2_block_building_time_in_ms
13,207 (+1%)
26,179 (+2%)
50,827

l2_block_rollup_simulation_time_in_ms
13,207 (+1%)
26,178 (+2%)
50,827

l2_block_public_tx_process_time_in_ms
11,062
23,789 (+2%)
48,455

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
7,119 (+1%)
10,049 (+1%)

node_database_size_in_bytes
12,447,824
16,429,136

pxe_database_size_in_bytes
:warning: 7,456 (-54%)
:warning: 12,128 (-55%)

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

GasToken:_increase_public_balance
98.7 (-1%)
13,790

GasToken:set_portal
12.3 (+16%)
3,339

Token:constructor
126
23,692

FPC:constructor
95.1 (+2%)
13,592

GasToken:mint_public
82.2
10,158

Token:mint_public
369 (+11%)
19,034

Token:assert_minter_and_mint
:warning: 52.9 (-41%)
12,925

AuthRegistry:set_authorized
46.1 (-1%)
7,812

FPC:prepare_fee
117 (+20%)
11,068

Token:transfer_public
45.8 (+19%)
31,218

FPC:pay_refund
151 (+12%)
21,266

Benchmarking:increment_balance
1,346 (+3%)
11,281

Token:_increase_public_balance
83.5 (-1%)
15,006

FPC:pay_refund_with_shielded_rebate
109 (-1%)
22,361

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.155 (-3%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.4 (+1%)
16.9 (+1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.604 (+1%)
0.519 (+1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.5
75.7
132 (+1%)
246
471

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.495
0.465
0.452
0.446 (+1%)
0.440

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
60.2 (+1%)
112 (+1%)
183 (+1%)
354 (+1%)
695 (+1%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.508 (+1%)
0.500
0.486
0.480 (+1%)
0.478 (+1%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
73.2 (+1%)
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
133
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.520 (+1%)
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
77,341
668,542

Transaction size based on fee payment method
| Metric |  |
| - |  |


Ubuntu repository build is outdated

Can the build in the PPA be updated to the latest version?
If not, where can I find build instructions?

For what Ubuntu version? The ppa builds for xenial, zesty and artful are all 4.1.4.
https://launchpad.net/~yubico/+archive/ubuntu/stable/+packages?field.name_filter=yubioath-desktop&field.status_filter=published&field.series_filter=

Is it possible to also update trusty, wily, and vivid? If not, please close this issue.
Thank you for the help and for maintaining this great tool.

I just noticed it's not possible to compile this on trusty (I'm using Mint 17.3 which is equivalent) because the required version of Qt is not available. Are there any known workarounds?

The reason we're not providing trusty builds is because of missing dependencies. Besides the Qt packages, pyotherside needs to be available. Probably other stuff as well. I'm not aware of any good workarounds, but if you manage to build it on trusty, feel free to post some instructions here for others to use.


WIP: Optionally skip extra requires

Fixes https://github.com/pypa/setuptools/issues/668
Allows one to optionally leave out the extras_require and dependency_links options by setting SETUPTOOLS_DISABLE_EXTRAS_REQUIRE or DISTRIBUTE_DISABLE_EXTRAS_REQUIRE to 1. This should make it easier for package maintainers to properly separate setuptools from these dependencies and maintain them separately.
cc @msarahan @pelson @ocefpaf

I'm reluctant to accept this because it provides a mechanism to create alternate builds of setuptools with different metadata. Extras are meant to be optional, so I wouldn't expect them to be installed unless opted into. Still, I'll await more details in the bug report to better understand what this PR is trying to achieve.

Closing as further exploration of the underlying issue has demonstrated the problem can be resolved without this or any other patch for that matter.


Update README.TXT

This is a common error when trying to compile detours from CLI

I think a VS build environment is assumed by this, since you can't even use nmake without using the developer command prompt.

I've opened PR #61 to improve the README file, which subsumes this PR.

PR #61 took care of the issue covered by this PR.  Thanks for the suggestion.


Tracking oldchains newchain filenames

Add new options to MolID.py to be able to track chain names (origina, new names, entities, file names)

Changes were added to a branch that was behind the master branch.


Validation + some RegEx cause very slow generation

Hello guys,
I noticed a case where generation of beans is very slow (almost a minute for one bean). That happens when beans use validation + regex, like this: @Pattern(regexp = "(.{1,6})( *, *(.{1,6})){0,15}") I use random-beans 3.7.0 and Hibernate validator 6.0.7.
I attached a minimal gradle/IntelliJ project which demonstrates the issue.
RandomBeansRegExIssue.zip
Now I am perfectly aware that people can create all sorts of nasty regexes and that's probably impossible to quickly generate a string which satifies them. Yet I hope that it's possible to speed up generation for some cases.
If you need any more info, help or whatever please contact me. Thank you!

Hi Ivan,
thanks for reporting this. RandomBeans uses https://github.com/DiUS/java-faker which uses https://github.com/mifmif/Generex to generated data based on regular expressions.
Therefore this issue should be reported at https://github.com/mifmif/Generex
Thanks!

@PascalSchumacher Thank you for the answer! After a bit more research I found the Generex and opened an issue there. I'll close this now.

Seems like the project you depends on is dead. Would you maybe consider, moving to another one for generating regepx? Because it is unusable in the current state with such slow generation. On my side it simply never reach the end.

Seems like the project you depends on is dead. Would you maybe consider, moving to another one for generating regepx?

Definitely yes, do you know any good alternative?

Unfortunately no! If I come across that I keep you informed.


Get timing information from IBM

Similarly to what's being done for dwave, I should try to get timing information from IBM, which is not as straight forwards since the optimization result does not return timing information and there are multiple jobs being created.

In #44, I concluded that it's unfeasible to run QAOA in real machine, thus I don't think timing information will even be returned. I will check if there's something I can do with the local result or cloud simulator, otherwise I'll just close the issue

I added a bit of timing information that comes from the cplex classical solver, but this is not present on the quantum solver


Ocelot configuration in ServiceFabric stateless service

Hi, Do you have any sample how to configure ocelot with service fabric stateless service.

@nyghtrocker
Sorry, I am not familiar with ServiceFabric, and can not provide a demo for it.


refactor(tests): use envconfig for configuration

Unifies tests configuration by using envconfig, replaces individual per-var validations
Removes testEnv global variable
Fixes kafka topic test

@byashimov please rebase and let's merge.


Skip building Docker image

Is it possible to skip the step where Soopervisor builds the docker image? I just want to generate the argo.yaml file.

Hi, thanks for your feedback!
this isn't possible at the moment, but it makes sense. I'm guessing you wanna take care of the docker building process yourself?
I'll add this to our backlog so we work on it, I'm thinking something like soopervisor export --skip-docker

Yes, that's exactly what I meant. I'd like to build the docker images myself / use an existing docker image.
Something like soopervisor export --skip-docker would be great!

hi @shaleenb, can you give this a try?
please install from git and let us know if this fixes your issue:
pip uninstall soopervisor
pip install git+https://github.com/ploomber/soopervisor

docs: https://soopervisor.readthedocs.io/en/latest/api/cli.html?highlight=--skip#skip-docker


Mobile Nav Bar Splash Animation

Reference

We are looking for just the inverse color splash as shown in the reference above
The Nav Bar orientation should not be changed (our effect should take place from top to bottom rather than right to left as seen in the above reference)
The Hamburger Animation should not be changed
The Nav Bar Text should not be changed

In case you are confused the splash animation should be after the pre-loader

Hey!
I have gone through the reference link and I also liked that Nav Bar Splash animation personally. I would like to work on this and I can send you PR for this till 12th of June.
@smaranjitghose can you assign this to me ?

I have a doubt that you have mentioned 'We are looking for just the inverse color splash as shown in the reference above', which means that when nav bar expands bg color should be black but in that case the bg colour is white and currently the site which we can see having bg color also greyish white so in that case even if the splash is being implemented it will not be visible due to color combination.
@smaranjitghose please let me know if I've got it wrong

@AKC068  I agree. And currently, both @anushbhatia and I are brainstorming to improve the overall UI including the color scheme. Therefore I am closing this issue

Okey @smaranjitghose, so if  get any idea can I open a issue regarding this?

Yeas sure.


Rabin Karp in C and Java

Problem = Rabin- Karp:
The Rabin-Karp algorithm is a string matching algorithm used to find occurrences of a pattern string within a larger text string. Given a pattern string and a text string, the algorithm determines if the pattern occurs within the text and returns the starting indices of all occurrences.
Approach :

Preprocessing:

Calculate the hash value of the pattern.
Calculate the hash values of all substrings of the text that have the same length as the pattern.

Matching:

Compare the hash value of the pattern with the hash values of all substrings of the text.
If a match is found, perform a full string comparison to verify if the pattern truly matches the substring.
If the pattern matches the substring, record the starting index as a potential occurrence.

Rolling Hash:
-Use a rolling hash technique to efficiently calculate the hash value of subsequent substrings.
-Update the hash value by subtracting the contribution of the first character and adding the contribution of the next character as -the window slides over the text.

Hash Function:

Use a hash function that treats the characters of the string as coefficients of a polynomial and evaluates the polynomial using a fixed base.
Calculate the hash value using the Horner's rule, which reduces the time complexity of evaluating the polynomial.

Efficiency:

The algorithm avoids unnecessary character-by-character comparisons by comparing hash values.
It has an average time complexity of O(N + M), where N is the length of the text and M is the length of the pattern.
The choice of a good hash function and a proper base value is crucial to minimize collisions and improve performance

Feature to be Added

This is already implemented in C++ and Python but missing in C and Java.

Can you please assign this issue to me under SSoC '23 ?
Thank You :)

Assigned!
@harshita-kaushik2 : C & Java

@Kumar-laxmi Please assign me this issue. I will do it C and java


Add converting DistGraph to SAR with example

Update SAR to work with DGL >= 1.0

Improve SAR initialization

Add converting DistGraph to SAR with example

Update documentation

Remove 'reshuffle' parameter from docs

@hesham-mostafa I think it is ready to merge


Changing storage class procedure

Updated the procedure with the revised steps after a walk-through with dev
Updated other modules to reflect Start/Stop being removed from the Action menu

Overall - looks good to me. Suggestion: do a search for "your workbench" and consider changing to "the workbench" or at least be consistent in usage (if not already done).

lgtm


Release

Last minute release note fixes.

Noticed a few problems with formatting as I was preparing for the docs-team. I'm going to fix them here so that they make it to PyPI. However, it will not impact the RPM/Debian packages. For that reason, we do not need to re-deploy to the Cloud Shell team.


Required attributes lose meaning in pivoted multi-measure cube

It is possible to state that an attribute column is required. We have a SPARQL QB IC test which ensures that if an attribute is marked as required, then every observation should have a value for the attribute.
In our pivoted shape, we assume that each attribute is associated with a single measure-observation column; i.e. we expect that the attribute only applies to observations which have one particular measure (and so doesn't apply to the observations which have other measures). e.g. in the following example we expect that the Revenue Status attribute only applies to the observed values in the Revenue (GBP Sterling, Millions) column.

Year
Location
Number of 'Arthur's Bakes'
Revenue (GBP Sterling, Millions)
Revenue Status

2022
London
35
25
Provisional

2021
Cardiff
26
18
Final

2020
Edinburgh
90
67
Final

2021
Belfast
0
0
Final

The way I see it, there are a few approaches which we could take to this:

Disallow users from setting an attribute in this fashion as 'required'.
Allow users to set a pivoted multi-measure attribute as 'required', but don't assert that it's 'required' in the cube's DataStructureDefinition.
Allow users  to set a pivoted multi-measure attribute as 'required' and write it to the cube's DSD, but come up with some way of expressing that it only applies to observations with a given measure. N.B. This would be a deviation from the RDF Data Cube spec.
Allow users  to set a pivoted multi-measure attribute as 'required' and write it to the cube's DSD. Alter the IC SPARQL test to test something along the lines of 'Find all observations which use the attribute and extract the distinct measures used. Ensure that every observation using those measures has a value for the attribute'. This would add an implicit link between the attribute and the measure-observations it's required over, i.e. if it's used on one observation for a measure, it has to be used on all of them.  N.B. This would be a deviation from the RDF Data Cube spec.

Can we answer this question in the application profile? @rossbowen @canwaf

Heya, I'm afraid I don't really know much about the resulting RDF which is created when using the pivoted shape... so it's not totally obvious to me why we couldn't mark an attribute as required if every cell in the CSV was populated with something - but it'll depend on what the cube's DSD looks like.
I could help a bit more if I knew what the resulting DSD would look like. I could imagine it ending up with <#year>, <#location>, <#measure-dimension>, <#revenue-status> - and if that's the case, I guess <#revenue-status> wouldn't be required in the DSD since it would only appear on half the observations, but could be marked required in the CSV (so option (2) seems like the right one).


Fix #384: Prune sub-handler state when done

Without this change, the completed state remains in storage, causing the
handlers to not be executed again in a new handling cycle.
Issues/PRs
Issues: #384
Related: #279
Type of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] The code addresses only the mentioned problem, and this problem only
[x] I think the code is well written
[ ] Unit tests for the changes exist
[ ] Documentation reflects the changes
[ ] If you provide code modification, please add yourself to CONTRIBUTORS.txt

Closing in favor of https://github.com/nolar/kopf/pull/508


Scheduler with Task

I am building native web components with Lit-Html and want to minimize unnecessary re-rendering calls. I am not sure I quite understand how the scheduler feature works. I have created a Scheduler that uses a Set, as per the example to eliminate duplicate reactions, and setTimeout to create a task that defers processing.
class Scheduler {
  constructor() {
    this.timer = null;
    this.reactions = new Set();
  }
  add(value) {
    this.reactions.add(value);
    if (this.timer) clearTimeout(this.timer);
    this.timer = setTimeout(() => {
      this.reactions.forEach(reaction => reaction());
    });
  }
  delete(value) {
    this.reactions.delete(value);
  }
}

This seems to work, and results in batching reactions and generating a single render. Is this a suitable way to accomplish this, or is there a simpler way?
FYI - the delete method never seems to get called.

You got the concept of schedulers right. You just made a deduplicating async scheduler. 🙂
The delete method is called when you unobserve an observed function that is still scheduled to be run (by an async scheduler). This does not happen frequently in most use cases.
You can also try https://github.com/nx-js/queue-util for a bit more complex scheduler. It's main idea is the same as your's but it has multiple priorities for the tasks and it can be started, stopped and flushed by hand if needed.

Awesome, thank you. I did look at the queue-util, and it certainly seems like a good option when I get to coordinating changes to application-level state.


Disable form submit on Enter key

When i am pressing on the "Enter" key, it creates a new tag but also tries to submit a form.

Please update to v1.4.0


Datastore "system" shows wrong capacity

1. Description
OpenNebula does not show the right capacity for datastore 0 (system). This was working for me, until I upgraded to 6.8.0. Thinking that was a problem during upgrade, I build new cluster from scratch, this time using 6.8.0 directly, and same issue. On 6.6.3 it works.
2. To Reproduce
Deploy OpenNebula 6.8.0 or upgrade from previous release 6.6.3. Configure the cluster to use Gluster (tested on gluster-10.4 and Distributed volume).
Demonstrating that opennebula default datastore path are symlinked to gluster volume:
ls -l /var/lib/one/datastores/
total 4
lrwxrwxrwx 1 root     root       43 Nov 23 21:14 0 -> /var/lib/datastores/gluster_mount/0
lrwxrwxrwx 1 root     root       43 Nov 23 21:14 1 -> /var/lib/datastores/gluster_mount/1

Another proof:
df -hT /var/lib/one/datastores/{0,1}
Filesystem                        Type            Size  Used Avail Use% Mounted on
DEV-node1-stor:/vol1.tcp fuse.glusterfs  205G  3.7G  202G   2% /var/lib/datastores/gluster_mount
DEV-node1-stor:/vol1.tcp fuse.glusterfs  205G  3.7G  202G   2% /var/lib/datastores/gluster_mount

A VM was created to check where exactly OpenNebula was creating it:
onevm list
  ID USER     GROUP    NAME                                                                                STAT  CPU     MEM HOST                                                                 TIME
   0 oneadmin oneadmin test                                                                                runn    1    128M DEV-node1-kvm                                           0d 00h06

The image file and the VMs files were created under gluster volume:
tree -a /var/lib/datastores/gluster_mount/{0,1}
/var/lib/datastores/gluster_mount/0
├── .monitor
└── 0
    ├── deployment.0
    ├── disk.0 -> disk.0.snap/0
    ├── disk.0.snap
    │   ├── 0
    │   └── disk.0.snap -> .
    ├── disk.1
    ├── ds.xml
    └── vm.xml

/var/lib/datastores/gluster_mount/1
├── .monitor
└── 86036760ffb31d6249d2a75d8783e37e

TM shared on both, ds 0 and ds 1:
cat /var/lib/one/datastores/{0,1}/.monitor
ssh
ssh

cat /var/lib/hypercx/datastores/gluster_mount/{0,1}/.monitor
ssh
ssh

ls -l /var/lib/one/datastores/{0,1}/.monitor
-rwxr-xr-x 1 oneadmin oneadmin 4 Nov 23 17:19 /var/lib/one/datastores/0/.monitor
-rwxr-xr-x 1 oneadmin oneadmin 4 Nov 23 16:14 /var/lib/one/datastores/1/.monitor

Datastore 0 info:
onedatastore show 0
DATASTORE 0 INFORMATION
ID             : 0
NAME           : system
USER           : oneadmin
GROUP          : oneadmin
CLUSTERS       : 0,100
TYPE           : SYSTEM
DS_MAD         : -
TM_MAD         : shared
BASE PATH      : /var/lib/one//datastores/0
DISK_TYPE      : FILE
STATE          : READY

DATASTORE CAPACITY
TOTAL:         : 97.9G
FREE:          : 55.6G
USED:          : 37.3G
LIMIT:         : -

PERMISSIONS
OWNER          : um-
GROUP          : u--
OTHER          : ---

DATASTORE TEMPLATE
ALLOW_ORPHANS="FORMAT"
DISK_TYPE="FILE"
DS_MIGRATE="YES"
RESTRICTED_DIRS="/"
SAFE_DIRS="/var/tmp"
SHARED="YES"
TM_MAD="shared"
TYPE="SYSTEM_DS"

IMAGES

Datastore 1 info:
onedatastore show 1
DATASTORE 1 INFORMATION
ID             : 1
NAME           : images
USER           : oneadmin
GROUP          : oneadmin
CLUSTERS       : 0,100
TYPE           : IMAGE
DS_MAD         : fs
TM_MAD         : shared
BASE PATH      : /var/lib/one//datastores/1
DISK_TYPE      : FILE
STATE          : READY

DATASTORE CAPACITY
TOTAL:         : 204.9G
FREE:          : 201.2G
USED:          : 3.6G
LIMIT:         : -

PERMISSIONS
OWNER          : um-
GROUP          : u--
OTHER          : ---

DATASTORE TEMPLATE
ALLOW_ORPHANS="FORMAT"
CLONE_TARGET="SYSTEM"
CLONE_TARGET_SSH="SYSTEM"
DISK_TYPE="FILE"
DISK_TYPE_SSH="FILE"
DS_MAD="fs"
LN_TARGET="NONE"
LN_TARGET_SSH="SYSTEM"
RESTRICTED_DIRS="/"
SAFE_DIRS="/var/tmp"
TM_MAD="shared"
TM_MAD_SYSTEM="ssh"
TYPE="IMAGE_DS"

IMAGES
0

I think this is the command that is using for get the TOTAL_MB space:
df -B1M -P /var/lib/one/datastores/0 2>/dev/null | tail -n 1 | awk '{print $2}'
209802

df -B1M -P /var/lib/one/datastores/1 2>/dev/null | tail -n 1 | awk '{print $2}'
209802

Its working for both, but even after all this, OpenNebula keep showing the wrong capacity thorugh the CLI and thorugh Sunstone, for the system datastore:
onedatastore list
  ID NAME                                                                                SIZE AVA CLUSTERS IMAGES TYPE DS      TM      STAT
   1 images                                                                                204.9G 98% 0,100         0 img  fs      shared  on
   0 system                                                                                97.9G 57% 0,100         0 sys  -       shared  on

No error on database:
cat /var/log/one/onedb-fsck.log
Total errors found: 0
Total errors repaired: 0
Total errors unrepaired: 0

No errors on the monitor.log:
cat /var/log/one/monitor.log
Thu Nov 23 17:51:48 2023 [Z0][MON][I]: Init Monitor Log system
Thu Nov 23 17:51:48 2023 [Z0][MON][I]: Starting Monitor Daemon
----------------------------------------
       Monitor Configuration File
----------------------------------------
DATASTORE_LOCATION=/var/lib/one//datastores
DB=CONNECTIONS=15
HOST_MONITORING_EXPIRATION_TIME=43200
IM_MAD=ARGUMENTS=-r 3 -t 15 -w 90 kvm,EXECUTABLE=one_im_ssh,NAME=kvm,SUNSTONE_NAME=KVM,THREADS=0
IM_MAD=ARGUMENTS=-r 3 -t 15 -w 90 qemu,EXECUTABLE=one_im_ssh,NAME=qemu,SUNSTONE_NAME=QEMU,THREADS=0
IM_MAD=ARGUMENTS=-r 3 -t 15 -w 90 lxd,EXECUTABLE=one_im_ssh,NAME=lxd,SUNSTONE_NAME=LXD,THREADS=0
IM_MAD=ARGUMENTS=-r 3 -t 15 -w 90 lxc,EXECUTABLE=one_im_ssh,NAME=lxc,SUNSTONE_NAME=LXC,THREADS=0
IM_MAD=ARGUMENTS=-r 3 -t 15 -w 90 firecracker,EXECUTABLE=one_im_ssh,NAME=firecracker,SUNSTONE_NAME=Firecracker,THREADS=0
IM_MAD=ARGUMENTS=-c -t 15 -r 0 vcenter,EXECUTABLE=one_im_sh,NAME=vcenter,SUNSTONE_NAME=VMWare vCenter
LOG=DEBUG_LEVEL=3,SYSTEM=FILE
MANAGER_TIMER=15
MONITORING_INTERVAL_HOST=180
NETWORK=ADDRESS=<IP_ADDRESS>,MONITOR_ADDRESS=<IP_ADDRESS>,PORT=4124,PRIKEY=,PUBKEY=,THREADS=8
PROBES_PERIOD=BEACON_HOST=30,MONITOR_HOST=120,MONITOR_VM=30,STATE_VM=5,SYNC_STATE_VM=180,SYSTEM_HOST=600
VM_MONITORING_EXPIRATION_TIME=43200
----------------------------------------
Thu Nov 23 17:51:48 2023 [Z0][ONE][I]: Set up 15 DB connections using encoding utf8mb4
Thu Nov 23 17:51:48 2023 [Z0][ONE][I]: Using 5.5.5-10.6.12-mariadb-0ubuntu<IP_ADDRESS> (100612) with:
Thu Nov 23 17:51:48 2023 [Z0][ONE][I]:  FTS enabled
Thu Nov 23 17:51:48 2023 [Z0][DrM][I]: Loading drivers.

Thu Nov 23 19:16:40 2023 [Z0][InM][D]: Monitoring datastore system (0)
Thu Nov 23 19:16:40 2023 [Z0][InM][D]: Monitoring datastore images (1)
Thu Nov 23 19:16:41 2023 [Z0][ImM][D]: Datastore system (0) successfully monitored.
Thu Nov 23 19:16:41 2023 [Z0][ImM][D]: Datastore images (1) successfully monitored.

This is the gluster volume info:
gluster volume info vol1

Volume Name: vol1
Type: Distribute
Volume ID: 620b90d5-7d7b-47b2-b0bb-924f0f33bb0e
Status: Started
Snapshot Count: 0
Number of Bricks: 3
Transport-type: tcp
Bricks:
Brick1: DEV-node1-stor:/data/glusterfs/vol1/brick0/data
Brick2: DEV-node1-stor:/data/glusterfs/vol1/brick1/data
Brick3: DEV-node1-stor:/data/glusterfs/vol1/brick2/data
Options Reconfigured:
features.quota-deem-statfs: on
features.inode-quota: on
features.quota: on
user.cifs: off
performance.read-ahead: off
performance.quick-read: off
performance.io-cache: off
cluster.eager-lock: enable
network.remote-dio: enable
features.shard-block-size: 64MB
server.allow-insecure: on
features.shard: enable
storage.owner-gid: 9869
storage.owner-uid: 9869
storage.fips-mode-rchecksum: on
transport.address-family: inet
nfs.disable: on

3. Expected behavior
OpenNebula showing the same capacity for system datastore as images datastore capacity, due to the storage backend configured. Datastores 0 and 1 are using the same storage backend and the same capacity should be shown for both. I have this working on previous releases.
4. Details

Affected Component: [Storage]
Hypervisor: [KVM]
Version: [6.8.0]

Additional context
Add any other context about the problem here.

Progress Status

[ ] Code committed
[ ] Testing - QA
[ ] Documentation (Release notes - resolved issues, compatibility, known issues)

I have the same situation, even trying to change TM_MAD I got no different results.
But the TM code hasn't changed in 8 months!
So, must be elsewhere

Hi, may we have a follow up on this? Thanks in advance.

Sorry I havent said before. I want to give my deep gratitud to OpenNebula team, for the effort of maintain this wonderful cloud solution and improve with every new release. This new version 6.8.0 introduced the jobs for backups, which seems to be very interesting and more friendly to the user, showing the status of the backup and a qeue for it.
Just wanted to add this, as we allways push for your quick response without think first that you guys has a lot in hands and the development of this solution is not as simple as open an issue. From my side and the friends that work with me, using this cloud solution, if it helps to OpenNebula team, we will keep opening issues as long as they be validated and demostrated first.
Thanks and appologize if we push allways for a quick solution from your side :)

Hello team
We still have this bug after repeated a deployment to confirm this.

I found the bug for qcow2/shared datastore, the datastore ID is not considered in the monitor script. The $2 is empty, should be $DS_ID
Fix should be easy, I'll try to push it to 6.8.1

Hi Pavel,
I have made the changes you mention but it still does not work, I made it for qcow and shared, I also made the change in the TMP, and the same result, I share evidence with you:

I restarted ON and Sunstone services, same result, additional DS take the size of DS ID 0.

@oscaromar1
You should change line 53 (the script is called with one argument; the rest is provided via stdin)
BASE_PATH="${XPATH_ELEMENTS[i++]}/$DS_ID"


Failed to ingest events

Failed to ingest events .catch() Failed to fetch
Machine ID: 648bf71e-5865-405d-848f-771626631bcd

[!NOTE]
Book a call

key
value

id
Vc6nZRyMCdvrrzmz9g-Cy

url
http://localhost:3000/strategy-builder

wifi
4g

cpu
8

mem
8

gpu
ANGLE (Apple, ANGLE Metal Renderer: Apple M2, Unspecified Version)

time
1722255512913

items
3100

bytes
13778

b378b41b-868b-4bc2-9676-0853167b05b31722253269861 (localhost:52921 - false)
e1300f0e-c3ef-4660-a59c-2f466085fbe41722255486671 (localhost:52922 - true)
b378b41b-868b-4bc2-9676-0853167b05b31722253269861 (<IP_ADDRESS>:52921 - false)
e1300f0e-c3ef-4660-a59c-2f466085fbe41722255486671 (<IP_ADDRESS>:52922 - true)

Hi @shree-algotest , we've just deployed a fix for you. Can you try running the setup script npx million@latest. Once it's done, please restart your VSCode/Cursor. Let me know if that works for you!


Test Walsh Hadmard Gate

Make sure it is unitary
Follows the T'*dirac(0)=...

hadamard implemented


Switch to time instead of chrono, or optionally support it via feature flags

It seems I was misinformed, this came through chrono 0.3 being unmaintained for a while, and people switching to time in that time. chrono has since been picked back up and is back under development


Generate Gene2Phenotype evidence as genetic_assocation type

Currently we generate the Gene2Phenotype evidence as genetic_literature data type and then the pipeline hardcoded replaces genetic_literature with genetic_association.
We should generate it correctly as genetic_association in the first place. Note this will change how it is validated by the schema, so we need to ensure it is still valid after this change.

genetic_literature refers to evidence strings that do not provide variant information. Therefore they need to be validated against a different JSON schema than genetic_association.


Add scitokens issuer mappings & users (SOFTWARE-4564)

Making this a draft at the moment; I'm unclear what the path is for the values.yaml that generate-slate-scitokens-conf.py takes for input.

Hi @edquist, you won't be loading the YAML directly from the container. Instead:

Through the SLATE Helm chart, you'll be taking the YAML to write mapfiles to /etc/condor-ce/mapfiles.d/*.conf
Then in the container you'll need to read config files that you've written this way, parsing any lines that start with SCITOKENS for their users


Fixes Forge Class trying to create UNSIGNED fields in Postgresql

UNSIGNED is not a supported datatype in Postgre
overridden method _processColumn()
Tries to solve #719 .
Take it with a grain of salt as it's my first PR ever!

Your private application code does not belong in the CI4 repository
Your private database settings do not belong either
Comments (including commit messages) should be in English
contributions should be GPG-signed
You have added a composer dependency that doesn't work with travis-ci, by the look of it
Affecting 214 files suggests that you might be inadvertently including more than you planned in your PR

Good try, but work needs to be done!
Apart from fixing the above, you will find it easier to create a feature branch for just the changes pertaining to your fixes, rather than trying to merge your entire develop branch.

Jim, sorry for what happened, I initally forked a clean copy of CI4, made the changes to fix the issue, created the PR and I thought that it was it...
Then I merged another local repo I was working on previously but didn't expect it to end up in the PR.

Oops. That's what happens when you don't do fixes in a feature branch!


fix: 모달 문구 수정

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


response_model ignores @property getter

First check

[x] I added a very descriptive title to this issue.
[x] I used the GitHub search to find a similar issue and didn't find it.
[x] I searched the FastAPI documentation, with the integrated search.
[x] I already searched in Google "How to X in FastAPI" and didn't find any information.
[x] I already read and followed all the tutorial in the docs and didn't find an answer.
[x] I already checked if it is not related to FastAPI but to Pydantic.
[x] I already checked if it is not related to FastAPI but to Swagger UI.
[x] I already checked if it is not related to FastAPI but to ReDoc.
[x] After submitting this, I commit to one of:

Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.
I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
Implement a Pull Request for a confirmed bug.

Example
Here's a self-contained, minimal, reproducible, example with my use case:
from typing import Optional

from fastapi import FastAPI
from fastapi.testclient import TestClient
from pydantic import BaseModel, EmailStr

app = FastAPI()

class UserIn(BaseModel):
    username: str

    @property
    def email(self):
        return<EMAIL_ADDRESS>

class UserOut(BaseModel):
    username: str
    email: str

@app.get("/users/1", response_model=UserOut)
async def get_user():
    return UserIn(username="toaster")

client = TestClient(app)

def test_get():
    response = client.get("/users/1")
    assert response.status_code == 200
    assert response.json() == {"email"<EMAIL_ADDRESS>
Description

Run with pytest
Watch the test fail
But I expected it to pass

Failure:
  File "testfastapi/env/lib/python3.9/site-packages/fastapi/routing.py", line 209, in app
    response_data = await serialize_response(
  File "testfastapi/env/lib/python3.9/site-packages/fastapi/routing.py", line 126, in serialize_response
    raise ValidationError(errors, field.type_)
pydantic.error_wrappers.ValidationError: 1 validation error for UserOut
response -> email
  field required (type=value_error.missing)

Environment

OS: [e.g. Linux / Windows / macOS]: macOS
FastAPI Version [e.g. 0.3.0]: 0.63.0
Python version: 3.9.1

Additional context
This is probably related to https://github.com/samuelcolvin/pydantic/issues/935 - but I'm wondering if we shouldn't use something like from_orm when creating response object, because nothing guarantees (I believe?) that the returned object will be a BaseModel?
In any case, thanks a lot for your work on both libraries!

The easiest way would be to set orm_mode on UserOut

The easiest way would be to set orm_mode on UserOut

The easiest way would be to set orm_mode on UserOut

Tried it, but as expected the fastapi code would have to do from_orm for this to work as well...

The easiest way would be to set orm_mode on UserOut

Tried it, but as expected the fastapi code would have to do from_orm for this to work as well...

Yes, which it will? Did you get another error?

Yes, which it will? Did you get another error?

Yes, same error...
from typing import Optional

from fastapi import FastAPI
from fastapi.testclient import TestClient
from pydantic import BaseModel, EmailStr

app = FastAPI()

class UserIn(BaseModel):
    username: str

    @property
    def email(self):
        return<EMAIL_ADDRESS>

class UserOut(BaseModel):
    username: str
    email: str

    class Config:
        orm_mode = True

@app.get("/users/1", response_model=UserOut)
async def get_user():
    return UserIn(username="toaster")

client = TestClient(app)

def test_get():
    response = client.get("/users/1")
    assert response.status_code == 200
    assert response.json() == {"email"<EMAIL_ADDRESS>
I could be wrong but you need (1) orm_mode = True and (2) from_orm(...) (which requires change in serialize_response).

Yes, same error...
from typing import Optional

from fastapi import FastAPI
from fastapi.testclient import TestClient
from pydantic import BaseModel, EmailStr

app = FastAPI()

class UserIn(BaseModel):
    username: str

    @property
    def email(self):
        return<EMAIL_ADDRESS>

class UserOut(BaseModel):
    username: str
    email: str

    class Config:
        orm_mode = True

@app.get("/users/1", response_model=UserOut)
async def get_user():
    return UserIn(username="toaster")

client = TestClient(app)

def test_get():
    response = client.get("/users/1")
    assert response.status_code == 200
    assert response.json() == {"email"<EMAIL_ADDRESS>
I could be wrong but you need (1) orm_mode = True and (2) from_orm(...) (which requires change in serialize_response).

Nope, it looks like it's not working because fastapi under the hood calls .dict() on the model, which means the later orm_mode functionality won't see the field. You could override this method, or alternatively, do something like this:
class UserIn(BaseModel):
    username: str
    email: Optional[EmailStr] = None

    def __init__(self, username, email=None):
        super().__init__(username=username, email=email)
        self.email =<EMAIL_ADDRESS>

Nope, it looks like it's not working because fastapi under the hood calls .dict() on the model, which means the later orm_mode functionality won't see the field. You could override this method, or alternatively, do something like this:
class UserIn(BaseModel):
    username: str
    email: Optional[EmailStr] = None

    def __init__(self, username, email=None):
        super().__init__(username=username, email=email)
        self.email =<EMAIL_ADDRESS>

Marshmallow allows using a property... I haven't had time to finish reading the code, but this essentially restricts the kind of objects that can be returned from a router function... Using simple getattr() instead of calling .dict() would allow for using both Pydantic models AND any other object, including plain objects/ORM objects/property on BaseModel, a net benefit - what do you think?

Marshmallow allows using a property... I haven't had time to finish reading the code, but this essentially restricts the kind of objects that can be returned from a router function... Using simple getattr() instead of calling .dict() would allow for using both Pydantic models AND any other object, including plain objects/ORM objects/property on BaseModel, a net benefit - what do you think?

I mean, this isn't a limitation of FastAPI at all, it's a limitation of pydantic. Ultimately if you wish to use marshmallow instead for your internal models, there's nothing stopping you

I mean, this isn't a limitation of FastAPI at all, it's a limitation of pydantic. Ultimately if you wish to use marshmallow instead for your internal models, there's nothing stopping you

I'd love to keep everything under the fastapi/pydantic umbrella - I mentioned marshmallow because this shows that it seems an intuitive feature to support...
It's true that some part of this feature should live within pydantic. Do you recommend I open a ticket there too?

I'd love to keep everything under the fastapi/pydantic umbrella - I mentioned marshmallow because this shows that it seems an intuitive feature to support...
It's true that some part of this feature should live within pydantic. Do you recommend I open a ticket there too?

Hi @charlax!
It is definitely related to pydantic! You're welcome to try with https://github.com/samuelcolvin/pydantic/pull/2625 in local to see if this suits your needs :)


Remove unused EXTERNAL_ variables from Makefile

They have been kept when the build system was refactored but it
turns out that they are not used at all (they are not passed on to
cmake).
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss<EMAIL_ADDRESS>

LGTM

LGTM


[UI Enhancement]  Attaching the Screenshot

The footer UI and rest of the website doesnot seem to be matched and there are some buttons which are also  making the UI of website look bad. Attaching the SS.

Plz assign this task to me I have a  handson experience on reactjs .

Thanks for letting know in which particular area you want to work ?

@thestarsahil  I want to work upon the overall ui of website like the buttons , and the search bar and footer also

@siddhanttomar2003 Okay good to go
Any queries please ask in Counsellor Channel
Mentor will happy to help you !

@thestarsahil  Can i use tailwind css?

@thestarsahil  Can i use tailwind css?

Yes you can !


Add blog post for Why Mesop

@richard-to, finally ready for review :) let me know what you think

Overall, I think it reads fine for a blog post.
I think my main question was what kind of tone and audience were you targeting with the post.

Re: audience - my intention was for a HN / Reddit crowd

Thanks for the detailed review! I can tell you're a writer :)

Nice, I like the intro paragraph a lot more. A lot clearer now while still being concise. In terms of  your target audience/tone, I think it should be fine. I think people on HN only read the title of the post and never the content (jk). So most critical is actually the title.


[Task]: Migrate remaining io.jdbc.JdbcLogicalType to Portable Logical Types in core.schemas.logicaltypes

What needs to happen?
After #23014 there are following logical types in io.jdbc.LogicalTypes:

FixedLengthString
FixedLengthBytes
VariableLengthString
VariableLengthBytes

We should migrate them to portable logical type in order to use them in cross-language scenario. For example, currently Python cross-language JDBC Read cannot read rows containing fixed or variable length string: https://stackoverflow.com/questions/68758361/error-beamlogical-typejavasdkv1-while-using-apache-beam-io-jdbc-readfromjdbc
Issue Priority
Priority: 2
Issue Component
Component: io-java-jdbc

.take-issue


diary: post previews should only load comments once in view

Currently as soon as we render a post preview we also load comments, this produces too many requests when loading a notebook. We should either do something in the backend to keep a total + latest 3 commenters or only load comments once the preview is visible.

Fixed by #750


Wip/6.0 Verify 'column quoting'

https://trello.com/c/3o4BJuo8/102-verify-support-for-quoted-columns

@NathanQingyangXu to clarify, this just worked right already?

yeah, it works as expected
On Mon., Mar. 16, 2020, 08:52 Steve Ebersole<EMAIL_ADDRESS>wrote:

Merged #3268 https://github.com/hibernate/hibernate-orm/pull/3268 into
wip/6.0.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hibernate/hibernate-orm/pull/3268#event-3133025858,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6UYASFAIIRIIHPPQVOCQDRHYOI7ANCNFSM4K4QFG3A
.


Pull request issue

We have been using pull request for a time now and on one project, where the user created 6 pull requests the last 2 weeks, we now encounter a situation where gogs show a page with a big 500.
So my user prepares the pull request

Then he push the Create Pull Request
And this page appears

A snip from the log
2016/01/27 14:05:58 [T] PullRequest[0].testPatch(patchPath): g:\Git\scada\vo.downloadsite.git\pulls\7.patch
2016/01/27 14:05:58 [...routers/repo/pull.go:632 CompareAndPullRequestPost()] [E] NewPullRequest: testPatch: UpdateLocalCopy: Pull: exit status 128 - fatal: Not a git repository (or any of the parent directories): .git

Thanks your feedback!
Can you find out what is the repo ID of the repository you're sending PR to?
If you can, can you check if path/to/gogs/data/tmp/local/{ID} is a Git directory or not?

There is 2 directories in path d:\gogs\data\tmp\local, both of them contains a .git folder, and both of the folders only contains 1 folder, and that is objects folder from the git structure

Thanks! Which system are you using? Feels like Gogs tried to delete the directory but failed to delete .git ones (and made it think the directory was not deleted).

I use a Windows 2012 R2.
Will i be able to delete the folders under d:\gogs\data\tmp\local and make the pull request work, or will that ruin something?

Will i be able to delete the folders under d:\gogs\data\tmp\local and make the pull request work

Yes, delete by hand will work, tmp/local is some kind of cache.

Actually, can you help check, if these directory are read-only mode?

The directories is not, but the files is?

I see... then we have the same problem here: https://github.com/gogits/gogs/issues/1738

I have similar problem too.
Dogs showed 500 server error when I created a pull request, but I got a different message:

router/repo/pull.go:633
CompareAndPullRequestPost()
[E] NewPullRequest: testPatch: git apply --check: exit status 1 - error: : ?? ????

[E] NewPullRequest: testPatch: git apply --check: exit status 1 - error: : ?? ????

Error is ...???

I changed the filename following 'error:' to .
What I can see in my terminal was '?? ???? ????'
I'm not sure what it is.

.... I can't get any info from ???? ..... :joy:

I did 'git apply' with the new pull request patch the same way gog does, and then I realized that the PR tried to patch a file that is not exist anymore.
I think you can reproduce this problem:

'git rm' a file from a repsoitory (upstream)
modify the removed file in a forked repository
create PR
You should be able to see 500 server error.

@congeal what is your version of Gogs?

The version of Gogs that I'm using is <IP_ADDRESS>1.
Do I need to update Gogs?

Can you try to reproduce this on https://try.gogs.io?

@Unknwon I reproduced this problem on https://try.gogs.io.
You should be able to see 500 server error when you create a pull request at branch, 'new_feature' in repository, freezer/gogs_test.
I changed my password to 'qwerty' so you can log-in with the account.

Thanks!

You should be able to see 500 server error.

What is the error log from Gogs backend?

@congeal BTW, please file another issue and we continue dicussion. Yours is completely different from this.

@congeal anyway, just pushed a fix to develop branch, and you can retest on https://try.gogs.io now.

Since https://github.com/gogits/gogs/issues/1738 is fixed.
@renewsorensen can you help retest with master branch?

I am out of office until next week, but i will test it when i am back...
man. 15. feb. 2016 02.16 skrev 无闻<EMAIL_ADDRESS>
Since #1738 https://github.com/gogits/gogs/issues/1738 is fixed.
@renewsorensen https://github.com/renewsorensen can you help retest
with master branch?
—
Reply to this email directly or view it on GitHub
https://github.com/gogits/gogs/issues/2490#issuecomment-184017646.

ping @renewsorensen ....

Sorry @Unknown, i did a few tests yesteday and i was not able to reproduce, sø the fix seems to work  :-)

@renewsorensen OK, great!


Update melior to 0.17

Fixes #493
Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

Codecov Report
Attention: Patch coverage is 96.85714% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 90.26%. Comparing base (e571acd) to head (9147bf3).

Files
Patch %
Lines

src/libfuncs/starknet.rs
94.44%
3 Missing :warning:

src/libfuncs/debug.rs
0.00%
2 Missing :warning:

src/metadata/debug_utils.rs
0.00%
2 Missing :warning:

src/types.rs
71.42%
2 Missing :warning:

src/types/array.rs
60.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #508      +/-   ##
==========================================
- Coverage   90.28%   90.26%   -0.03%
==========================================
  Files         107      107
  Lines       34559    34477      -82
==========================================
- Hits        31202    31120      -82
  Misses       3357     3357

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


The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot add a member with the name "TelemetryError" because a member with that name already exists.

Troubleshooting
// Here is the log
2018-03-20T12:45:02.5117835Z
2018-03-20T12:45:02.5274024Z Copying recursively from C:\Agent2.0_work\r2\a\eRegistration Kelly Build\eReg Build\Staging\Deployment Scripts to F:\Apps\Middleware\Ops on machine amtrowobwebd01.amer.prd.kellyservices.com succeeded
2018-03-20T12:45:02.5742802Z ##[section]Finishing: Copy Deployment Powershell Files
2018-03-20T12:45:02.5742802Z ##[section]Starting: Turn off IIS Sites
2018-03-20T12:45:02.5742802Z ==============================================================================
2018-03-20T12:45:02.5742802Z Task         : PowerShell on Target Machines
2018-03-20T12:45:02.5742802Z Description  : Execute PowerShell scripts on remote machine(s)
2018-03-20T12:45:02.5742802Z Version      : 1.0.49
2018-03-20T12:45:02.5742802Z Author       : Microsoft Corporation
2018-03-20T12:45:02.5742802Z Help         : More Information
2018-03-20T12:45:02.5742802Z ==============================================================================
2018-03-20T12:45:02.5742802Z Preparing task execution handler.
2018-03-20T12:45:03.3086771Z Executing the powershell script: C:\Agent2.0_work_tasks\PowerShellOnTargetMachines_3b5693d4-5777-4fee-862a-bd2b7a374c68\1.0.49\PowerShellOnTargetMachines.ps1
2018-03-20T12:45:05.3557475Z Deployment started for machine: 'amtrowobwebd01.amer.prd.kellyservices.com:5985'
2018-03-20T12:45:22.0122824Z ##[error]System.Management.Automation.ActionPreferenceStopException: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot add a member with the name "TelemetryError" because a member with that name already exists. To overwrite the member anyway, add the Force parameter to your command.
2018-03-20T12:45:22.0122824Z    at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
2018-03-20T12:45:22.0122824Z    at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
2018-03-20T12:45:22.0122824Z    at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
2018-03-20T12:45:22.0122824Z    at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection1 input, PSDataCollection1 output, PSInvocationSettings settings)
2018-03-20T12:45:22.0122824Z    at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection1 input, PSDataCollection1 output, PSInvocationSettings settings)
2018-03-20T12:45:22.0122824Z    at Microsoft.TeamFoundation.DistributedTask.Handlers.LegacyVSTSPowerShellHost.VSTSPowerShellHost.Main(String[] args)
2018-03-20T12:45:22.0435256Z ##[error]LegacyVSTSPowerShellHost.exe completed with return code: -1.
2018-03-20T12:45:22.0435256Z ##[section]Finishing: Turn off IIS Sites
2018-03-20T12:45:22.0590782Z ##[section]Finishing: Release
Environment

Server - VSTS or TFS on-premises? VSTS

If using TFS on-premises, provide the version:

If using VSTS, provide the account name, team project name, build definition name/build number:
eRegistration, Viper, build 42, release 270

Agent - Hosted or Private:

Not sure
Issue Description
Turn off IIS Sites
The powershell script has only 1 line and is as follows:
& {iisreset /STOP}
However, the script doesn't seem to be the issue, because 2 week ago it worked. Now it fails on every task on the server.

Hi
I am also getting this issue on https://tgpsystemdevelopment.visualstudio.com
thanks

We had already identified this issue. For some of the rings it had already deployed  and tomorrow we are planning for rest of the rings.

@bigmck1  @mars3333  Can you please try it once and let us know if you still face this issue ?

Hi
I tried on Friday and it was working again.
Thanks
On Sun, 25 Mar 2018, 16:22 rokmicrosoft<EMAIL_ADDRESS>wrote:

@bigmck1 https://github.com/bigmck1 @mars3333
https://github.com/mars3333 Can you please try it once and let us know
if you still face this issue ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vsts-tasks/issues/6769#issuecomment-375978454,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFp52gIsJYhoEKB3cfIqEbRHTIZXTopcks5th7ZFgaJpZM4S3Eq0
.

Thanks @bigmck1  Now I am closing this issue .

Yes, it is working for me now.
Thanks!
From: bigmck1<EMAIL_ADDRESS>Sent: Sunday, March 25, 2018 3:06 PM
To: Microsoft/vsts-tasks<EMAIL_ADDRESS>Cc: Mark Stanton<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: EXT:_Re: [Microsoft/vsts-tasks] The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot add a member with the name "TelemetryError" because a member with that name already exists. (...
Note: This email originated outside of our organization. Be cautious with links or attachments that you were not expecting.
Hi
I tried on Friday and it was working again.
Thanks
On Sun, 25 Mar 2018, 16:22 rokmicrosoft, <notifications<EMAIL_ADDRESS>wrote:

@bigmck1 https://github.com/bigmck1 @mars3333
https://github.com/mars3333 Can you please try it once and let us know
if you still face this issue ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vsts-tasks/issues/6769#issuecomment-375978454,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFp52gIsJYhoEKB3cfIqEbRHTIZXTopcks5th7ZFgaJpZM4S3Eq0
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fvsts-tasks%2Fissues%2F6769%23issuecomment-375994820&data=01|01|mars333%40kellyservices.com|738b7e899d4a415e5ad308d59283627a|47eede07012940efa5d49e87787f923d|0&sdata=k0K2I2Jd70uWASWW8Cslzb6Xe5twOOHMY9Uwr8%2BvATY%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAj6itPeRWVcyVWwugYofBVHVdLtS7v7yks5th-p7gaJpZM4S3Eq0&data=01|01|mars333%40kellyservices.com|738b7e899d4a415e5ad308d59283627a|47eede07012940efa5d49e87787f923d|0&sdata=Ip2qFbBrqBB7%2FZ1iFHT4sx6knHLyQhVYQtaM3u9pVlk%3D&reserved=0.


Migrate Oracle and Postgres demos from demo-scene

@ybyzek As discussed, I've created a start.sh for each, and brought the contents across as-is. Let me know if this works for you :)

@rmoff : instead of master, want to target 5.0.x branch?


material.setUniform() does not queue invalidations for Mesh

material.setUniform() does not seem to queue invalidations for the Mesh.
I discovered this while playing with GLSL transitions (re: #150), and it required me to manually invalidate mesh to redraw frame during transition when .setRotation() was not called on the node.

Definitely a bug, working on it now.

@redwoodfavorite Can you update on the progress?

Should be fixed in next release

I believe @adnan-wahab has implemented and fixed this. Looking forward to hearing the progress and its merge date.
@michaelobriena @redwoodfavorite

fixed in 4648641e47f068b04fd7f2b48b949823a330e7f2


⚠ Bofrost.at has degraded performance

In 81b33a3, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1582 ms

Resolved: Bofrost.at performance has improved in a6c2d9c after 6 minutes.


Enhancement: a strategy to remove processed inbox messages?

Evno currently doesn't have a way to clean the remote inbox. Should this be provided?
If yes. A strategy could be to have a command:
remove [options] <notificationUrl>

But for this to work the evno operator needs to know which are notificationUrls that have been processed. One hint could be the contents of the cache database if it would e.g. store the notificationUrl and activityId and a timestamp. The evno could in this case also provide a list command
list [option]

Which would provide a listing of cached notificationUrls, activityIds and timestamps. Based on this information the operator could create a strategy what to do with this information.

The strategy part is that evno can't possible know in which circumstances inbox resources need to be deleted, but it can help the operator with two commands:

a remove command to delete resources (if one has write permissions)
a list command that gives some information what resource urls were already seen (cached) by envo and on which date

E.g.
$ evno list
https://mypod/inbox/231391231231231  2023-04-15T00:12:12Z
https://mypod/inbox/42394239482  2023-04-15T00:12:12Z
$ evno remove https://mypod/inbox/42394239482

Started a PR in https://github.com/ErfgoedPod/evno/pull/14 You can now do
evno prune https://mypod/inbox/ #empties the inbox
# or
evno prune http://localhost:3000/inbox/ https://mypod/inbox/42394239482 #removes this specific notification


Fix/apt to apt get

Fix the warning and update the readme

We rewrote the entire docker file, this was taken care of in the new one.


Initial

Description

Added RemoveComponent command to EntityComponentViewModel to handle removing a component from an Entity.

Fires an EntityModifiedMessage so that other UI elements can update their view.

Added a message handler to EntityInspectorViewModel that refreshes the collection of components if an Entity has been modified.
Ensured that the TagComponent cannot be removed from the Entity.
Created an IconButton as required by the issue.
Updated the EntityComponentView to display a settings button that can be clicked to display a ContextMenu used to remove components from the desired Entity.

Fixes #280
Dependencies
This PR introduces no new dependencies.
Type of change

[x] New feature (non-breaking change which adds functionality).

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.
Test Configuration:

Operating System:
Hardware:
Toolchain:

Possible Issues
Please list any possible issues that may arise from the merge of this PR.
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added unit tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] My changes generate no new warnings

A few things I noticed in the pre-review.

Fixed ☺


where have the detail process information of achieving cityscapes SoTA?

@pkontschieder Hi, I have tried to train the WideResNet38-FCN models but find that the performance is even worse than the ResNet-101-FCN model under the same training settings.
For example, on the validation of Cityscapes, their performance is
ResNet-101-FCN            75.90
WideResNet38-FCN       73.50
Thus  I am wondering some details of your training:
Q1
Is the WiderResNetA2 the model that you use?
Q2
If the answer to Q1 is yes, then I find that you use two dropout in your WiderResNetA2
                if mod_id == 4:
                    drop = partial(nn.Dropout2d, p=0.3)
                elif mod_id == 5:
                    drop = partial(nn.Dropout2d, p=0.5)

I am wondering do we need to remove these two dropout in our training.
Q3
Do you keep the bn_out after the self.mod7?
Here is my modification of that snipts,
    def forward(self, img):
        tuple_features = list()
        out = self.mod1(img)
        out = self.mod2(self.pool2(out))
        out = self.mod3(self.pool3(out))
        out = self.mod4(out)
        tuple_features.append(out)
        out = self.mod5(out)
        tuple_features.append(out)
        out = self.mod6(out)
        tuple_features.append(out)
        out = self.mod7(out)
        out = self.bn_out(out)
        tuple_features.append(out)
        return tuple_features


Disable/Skip HTML single-line comment

I usually have a comment after the closing html tag in order to identify the tag on big files with a lot of tags.
Input:

    ...

Current output:

    ...

Desired output:

    ...

It would be nice if it would be able skip those single-line comments.

+1.
Sooner the better! :) much appreciated.

+1.  My pragmatic use-case is the freaking html inline block spacing behavior.  Basically you in order to remove auto white-space between inline elements you need their tags to be together, which I normally accomplished via comments.  The other workaround which has been driving me nuts was to set font size to zero. Now instead of inheriting a reasonable font-size, I inherit the font-size of zero and often forget about it days later causing me to say "hey, why isn't that element showing up?"

For those interested, I couldn't handle the "font-size: 0" hack anymore so I customized my beautify-html to the following:
// beautify-html.js, version 1.5.4, line 662

// CUSTOM
//
// Don't add newlines before or after comments
//
var endComment = (this.token_text.slice(0, 4) === '');
if (!endComment && !beginningComment) {
    arr.push('\n');
}

The simple test I created was:
var commentIn = '

';
var commentExpected = '

';
assert.strictEqual(html_beautify(commentIn, opts), commentExpected);

The above is not tested very well, and I don't have time to spend making it suitable for an official PR.  I will update the code here if I find any bugs.

Hi any news on if this option will be added? Would be great. Thanks.

+1 yes please. Love Beautify but hate having my ending div comments on a new line.

Was this resolved? I am interested in this.

@mazadah
This is still open and waiting to be implemented.  The three-dash structure proposed by @olsonpm would be one way to do this to start with.  That change would be non-breaking, but would require people to do something different with their html.
Having single-line comments (comments whose contents do not include a newline) stay on the same line would also be reasonable.  It might also be reasonable to have the rule be that a closing tag followed by a comment, followed by a newline should not be moved.

This is fixed in 1.8.0 as #1337


signinSilent throws error: End-User authentication is required

Hi,
I tried to implement silent review in my react app with oidc-client-js, but got this error thrown:
Error from signinSilent: End-User authentication is required

Here is part of the code:
UserManager.js
import Oidc from "oidc-client";

const userManagerConfig = {
  authority: Config.oneLogin.authority,
  client_id: Config.oneLogin.clientId,
  redirect_uri: window.location.origin,
  response_type: "id_token token",
  scope: "openid profile email groups",

  filterProtocolClaims: true,
  loadUserInfo: true,
  automaticSilentRenew: true,
  silent_redirect_uri: window.location.origin + "/silent",
  revokeAccessTokenOnSignout: true,
  accessTokenExpiringNotificationTime: 4
};

const UserManager = new Oidc.UserManager(userManagerConfig);

UserManager.events.addAccessTokenExpiring(() => {
  console.log("Access token is expiring !");

  UserManager.signinSilent()
    .then(user => {
      renewUser(user);
    })
    .catch(err => {
      UserManager.getUser().then(user => {
        renewUser(user);
      });
    });
});

Slient.js:
import React, { Component } from "react";
import UserManager from "../../utils/UserManager";

class Silent extends Component {
  render() {
    console.log("silent renewing ...");

    UserManager.signinSilentCallback();

    return <div />;
  }
}

export default Silent;

The error was thrown in the callback of signinSilent method. I have no clue what this error means. Any idea ?

Error from signinSilent: End-User authentication is required

This tells you the problem: the user is not authenticated at the token server.

But this all happened during silent renew, after the user has already signed in (Authenticated). So that's what I'm confused. Did I miss anything?

Did I miss anything?

Don't know -- check the token server logs. Check the http request for the cookie.

It's OneLogin, so I don't have any visibility to the logs. And the cookie in http request doesn't contain  id_token. I feel like OneLogin doesn't support silent renew, does it ?

I think we can close this. I opened a case in OneLogin and they just released a new version that supports silent renew two days ago. We are still debugging the issue now but I don't think it's something related to here. Thanks for looking !

I have a follow-up question: After OneLogin released their support for silent renew a week ago. The same code got a different error now: error while renewing the access token Error: id_token_hint and authenticated subject do not match. I reached out to their support and they said the issue can be resolved if I remove id_token_hint from the silent renew request since they don't support it and it's optional. I don't see anywhere in the oidc-client-js example that I can turn this off (remove if from the request param). Is there a way I can do so ? Thanks in advance.


Scripts for building and running Macro in a native environment

Hi,
Thank you for sharing the nice tool!
May I know if it is possible to provide the scripts for building & running Marco in a native environment? The current docker running environment is good for reproducing the results but it might not be easy for me to debug the tool and make further contributions to the tool. So, it would be great and helpful if you could share the scripts or building and running (maybe a single benchmark is enough) Marco natively.
Many thanks and have a great day!
Best regards,
Haoxin

Hello Haoxin,
For building and running Marco in a native environment, you can refer to the Dockerfile, which lists all the necessary packages and dependencies. This should guide you in setting up your local environment for building and running the tool. While we currently do not have standalone scripts for native installation, using the Dockerfile as a reference can be a helpful starting point.
Thanks,
Jie

Thank you, Jie! I will try.


Fix emailnotifier section name regarding BurrowConfig struct

Error when running burrow with config[email<EMAIL_ADDRESS>instead of [emailnotifier<EMAIL_ADDRESS>:
Reading configuration from /etc/burrow/burrow.cfg
2016/08/09 12:45:34 Failed to parse gcfg data: invalid section: section "email"

Thanks for your fix


ci: use tfsec version v0.0.6

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Ignore case when parsing candidate networkType

Before we would fail to parse networkType if it was upcased. Also return
errors when networkType is unknown
Resolves #289

Pull Request Test Coverage Report for Build 1366

7 of 22 (31.82%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.004%) to 28.471%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/ice/networktype.go
1
2
50.0%

internal/sdp/ice.go
3
10
30.0%

rtcpeerconnection.go
3
10
30.0%

Files with Coverage Reduction
New Missed Lines
%

rtcpeerconnection.go
1
55.63%

Totals

Change from base Build 1344:
-0.004%

Covered Lines:
2192

Relevant Lines:
7699

💛  - Coveralls


[BUG]A non well formed numeric value encountered

"php": "^7.1.3",
"fideloper/proxy": "^4.0",
"laravel/framework": "5.8.",
"laravel/tinker": "^1.0",
"maatwebsite/excel": "2."

"maatwebsite/excel": "2.*"

Laravel Excel version 2 is no longer supported. See Supported versions


Various k-means fixes

Comes from trying to satisfy check_estimator. But that seems a bit
too restrictive.

Quick update on the changes here:

First commit: ensure our dtypes match scikit-learn's throughout
Second commit: Implements a check_array. On a (10_000_000, 2) array, that adds ~0.03s of time to the fit time (47s) which I think is more than acceptable.


Fix elements not inheriting theme preset

Had real trouble with diamond inputs and buttons inheriting colours, not sure why will need to work this out as part of diamond.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add performance metrics

CPU
Memory
Number of requests
Response Time

I think this can be closed out.  CPU and Memory should be covered by cAdvisor, and Number of requests and Response Time are covered by Gunicorn's built-in instrumentation (#20).


(feature?) More flexible inner products

Consider the following equation, where uppercase boldface letters are matrices and lowercase boldface letters are vectors, and everything else is a scalar:

The equation is written using the usual vector calculus convention of column-major vectors, so, reading from left to right, in pseudocode:

Inner product (from left) of matrix and vector, yielding a vector
Bilinear form in parentheses: one vector/matrix multiplication yielding a vector, followed by inner product with another vector, yielding a scalar to be inverted
Multiplication of vector and scalar

Is this possible in rulinalg right now? I tried switching the order of vector/matrix products since it is row-major, but it doesn't look like Mul is implemented for all of the permutations of vector and matrix.

What about the following? Bear in mind I haven't actually tried it, but I believe it should work, barring any details I haven't considered.
let xTPx = x.dot(&(P * &x));
let g = P * x / (lambda + xTPx);

This is not completely optimal, because to compute P * &x, rulinalg effectively clones the vector x. It is possible to compute the quadratic form by directly computing the scalar quantity, without needing to store an additional vector. However, unless this extra allocation is demonstratively a problem in your application you probably don't need to care.
Note also that P * x will be computed in-place (I think? It should, at least), but then of course you wouldn't be able to use x in subsequent computations, which is why we must compute P * &x instead.
Hope this helps! Let me know if it's not what you're looking for :-)

@bright-star: I'm closing this issue because I don't see anything more we should do here. Please let me know if I misunderstand and that there is more that we should do with respect to this issue!


doc: Add documentation for data structures, rework timing overview

Another documentation PR bringing the timeout subsystem up to date with current code and adding a few pages detailing the various data structures we provide in lib/os.
As before, this reflects my preschool-level understanding of RST and is going to need significant technical cleanup before merge.  And there are a few diagrams (that I also need to get help on) that need to be added in a few spots too.

@ulfalizer the checkpatch output should be treated as preformatted text. This used to work before.

@nashif
Yeah, noticed it. Will add a fix once I'm done with some other stuff.

@nashif
Fix: https://github.com/zephyrproject-rtos/ci-tools/pull/90/commits/5644351b39c42e5ffe3c655e2b5ce3a1e6831ced

New version to address comments.  Also includes some very nice diagrams from @laurenmurphyx64 in the data structures section.   Cleaned up some phrasing in the pre-existing k_timer docs to better reflect current conventions (and to fix that broken link, which is how I got there).

Close this, updated work is in #24742


Offer an efficient implementation for removing duplicate titles

This quick change reduces the running time of the "remove titles" cell.

Thanks! That was a good catch.