[benchmark] Add UTF8Decode_InitDecoding_repairUTF8

Adds a benchmark for the internal repairUTF8(_:firstKnownBrokenRange:) function.
This benchmark is intended for #30780.
"UTF8Decode_InitDecoding_repairUTF8" doesn't conform to the naming convention, but neither do the existing benchmarks.

@swift-ci Please smoke test

@swift-ci Please benchmark

Performance: -O

Improvement
OLD
NEW
DELTA
RATIO

Diffing.Same
10
9
-10.0%
1.11x (?)

Added
MIN
MAX
MEAN
MAX_RSS

UTF8Decode_InitDecoding_repairUTF8
705
708
707
—

Code size: -O

Regression
OLD
NEW
DELTA
RATIO

UTF8Decode.o
23570
24786
+5.2%
0.95x

Performance: -Osize

Improvement
OLD
NEW
DELTA
RATIO

String.data.Small
49
41
-16.3%
1.20x (?)

FlattenListFlatMap
6906
6244
-9.6%
1.11x (?)

Added
MIN
MAX
MEAN
MAX_RSS

UTF8Decode_InitDecoding_repairUTF8
707
709
708
—

Code size: -Osize

Regression
OLD
NEW
DELTA
RATIO

UTF8Decode.o
22391
23528
+5.1%
0.95x

Performance: -Onone

Improvement
OLD
NEW
DELTA
RATIO

NSError
737
671
-9.0%
1.10x (?)

DictionaryBridgeToObjC_BulkAccess
176
164
-6.8%
1.07x (?)

Added
MIN
MAX
MEAN
MAX_RSS

UTF8Decode_InitDecoding_repairUTF8
851
852
852
—

Code size: -swiftlibs

✅
Benchmark Check Report

⛔🔤
UTF8Decode_InitDecoding_repairUTF8 name doesn`t conform to benchmark naming convention.  See http://bit.ly/BenchmarkNaming

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 12-Core Intel Xeon E5
  Processor Speed: 2.7 GHz
  Number of Processors: 1
  Total Number of Cores: 12
  L2 Cache (per Core): 256 KB
  L3 Cache: 30 MB
  Memory: 64 GB

This benchmark is intended for #30780.

"UTF8Decode_InitDecoding_repairUTF8" doesn't conform to the naming convention, but neither do the existing benchmarks.

I decided not to use a setUpFunction for the input array mapping, to keep it local to the runFunction.

I decided not to use a setUpFunction for the input array mapping, to keep it local to the runFunction.

Why?

@swift-ci Please smoke test

Performance: -O

Regression
OLD
NEW
DELTA
RATIO

FlattenListFlatMap
3328
4259
+28.0%
0.78x (?)

ArrayPlusEqualSingleElementCollection
423
470
+11.1%
0.90x (?)

Improvement
OLD
NEW
DELTA
RATIO

UTF8Decode_InitFromCustom_noncontiguous_ascii_as_ascii
847
744
-12.2%
1.14x (?)

UTF8Decode_InitFromCustom_noncontiguous_ascii
746
667
-10.6%
1.12x (?)

ObjectiveCBridgeStubToNSStringRef
78
72
-7.7%
1.08x (?)

Added
MIN
MAX
MEAN
MAX_RSS

UTF8Decode_InitDecoding_repairUTF8
542
548
546
—

Code size: -O

Regression
OLD
NEW
DELTA
RATIO

UTF8Decode.o
23570
25026
+6.2%
0.94x

Performance: -Osize

Regression
OLD
NEW
DELTA
RATIO

StringInterpolationManySmallSegments
8500
10500
+23.5%
0.81x (?)

UTF8Decode_InitFromCustom_noncontiguous_ascii
633
773
+22.1%
0.82x

UTF8Decode_InitFromCustom_noncontiguous_ascii_as_ascii
721
846
+17.3%
0.85x (?)

UTF8Decode_InitFromCustom_noncontiguous
292
329
+12.7%
0.89x (?)

Added
MIN
MAX
MEAN
MAX_RSS

UTF8Decode_InitDecoding_repairUTF8
476
476
476
—

Code size: -Osize

Regression
OLD
NEW
DELTA
RATIO

UTF8Decode.o
22391
23760
+6.1%
0.94x

Performance: -Onone

Improvement
OLD
NEW
DELTA
RATIO

StringBuilderLong
1230
1130
-8.1%
1.09x (?)

TypeFlood
165
154
-6.7%
1.07x (?)

Added
MIN
MAX
MEAN
MAX_RSS

UTF8Decode_InitDecoding_repairUTF8
549
550
549
—

Code size: -swiftlibs

✅
Benchmark Check Report

⛔🔤
UTF8Decode_InitDecoding_repairUTF8 name doesn`t conform to benchmark naming convention.  See http://bit.ly/BenchmarkNaming

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: 6-Core Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB

@swift-ci Please smoke test

@swift-ci Please benchmark

Build failed before running benchmark.

Benchmark #1861:

In file included from /Users/buildnode/jenkins/workspace/swift-PR-osx-perf/llvm-project/clang-tools-extra/clangd/CompileCommands.cpp:12:
/Users/buildnode/jenkins/workspace/swift-PR-osx-perf/llvm-project/clang/include/clang/Driver/Options.h:44:10: fatal error: 'clang/Driver/Options.inc' file not found

@swift-ci Please benchmark

Performance: -O

Improvement
OLD
NEW
DELTA
RATIO

FlattenListLoop
1462
993
-32.1%
1.47x (?)

FlattenListFlatMap
4287
3633
-15.3%
1.18x (?)

UTF8Decode_InitFromCustom_noncontiguous
317
291
-8.2%
1.09x (?)

Added
MIN
MAX
MEAN
MAX_RSS

UTF8Decode_InitDecoding_repairUTF8
508
516
513
—

Code size: -O

Regression
OLD
NEW
DELTA
RATIO

UTF8Decode.o
23571
25027
+6.2%
0.94x

Performance: -Osize

Regression
OLD
NEW
DELTA
RATIO

UTF8Decode_InitFromCustom_noncontiguous_ascii
744
863
+16.0%
0.86x (?)

UTF8Decode_InitFromCustom_noncontiguous_ascii_as_ascii
833
957
+14.9%
0.87x (?)

UTF8Decode_InitFromCustom_noncontiguous
322
360
+11.8%
0.89x (?)

NSError
159
171
+7.5%
0.93x (?)

Added
MIN
MAX
MEAN
MAX_RSS

UTF8Decode_InitDecoding_repairUTF8
476
476
476
—

Code size: -Osize

Regression
OLD
NEW
DELTA
RATIO

UTF8Decode.o
22377
23746
+6.1%
0.94x

Performance: -Onone

Added
MIN
MAX
MEAN
MAX_RSS

UTF8Decode_InitDecoding_repairUTF8
495
496
495
—

Code size: -swiftlibs

✅
Benchmark Check Report

⛔🔤
UTF8Decode_InitDecoding_repairUTF8 name doesn`t conform to benchmark naming convention.  See http://bit.ly/BenchmarkNaming

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: 6-Core Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB

@eeckstein Does this look better with the setUpFunction?


BUG: Elasticsearch Templates

Module Version: 5.1.0
Puppet Version: 3.7.3
OS and Version: Centos 7.2.1511
Hello everyone,
after back checking basically everything I have to raise an Issue here. I'm using the function elasticsearch::template to import my templates. At the moment I'm still running on elasticsearch 2.3.3 and an older version of the module (which has done the template import differently). So I was planning to upgrade to ES 5.2 and the latest version of the puppet module. I prepared all the stuff and everything is working as expected besides the template import. For two templates which I was using before at every puppet run I get a notice that the content has changed for all other templates I'm using the import works fine. The only thing I can say so far what the difference between the two templates which I'm importing and the other which are working fine is that they are holding more content to be clearer they have more filters defined (structure and format are the same for all templates). It seems that the import at the moment has some Issues with escaping everything right? If it is needed I can share on of template files which are raising this Issue.

What I should say here again. At the first run the template is created successful and also the indices which are using this two templates are pulling everything right (mappings, filter etc. pp).

Thanks for the report @SOLDIERz. Do you have any example template/puppet manifest/puppet logs you can share that sheds some further light on the issue? Also note that if you want to eliminate any version incompatibilities, currently the module formally requires at least Puppet 3.8.

@tylerjl Here is a gist from one of the templates: https://gist.github.com/SOLDIERz/a5665fc987189e4a3def737526908f62

It looks like you're defining several JSON values as true (without quotes) for mapping settings that Elasticsearch returns as "true" (as a string). If you quote those values to match what the Elasticsearch API returns, you should have a template that stays in-sync.

@tylerjl Wow thanks for the quick tipp. Will try that tomorrow and see if it helps.

@tylerjl Your Tipp worked. No everything is working fine and as expected. I will close the Issue by now. 👍


How to use Callback in 3.x branch?

How to use Callback feature from 2.x branch in 3.x branch?
Need authentication force to fail.
Callback
Callback is called only when authentication succeeds. It receives decoded token in arguments. If callback returns boolean false authentication is forced to be failed.
You can also use callback for storing the value of decoded token for later use.
$app = new \Slim\App();

$container = $app->getContainer();

$container["jwt"] = function ($container) {
    return new StdClass;
};

$app->add(new \Slim\Middleware\JwtAuthentication([
    "secret" => "supersecretkeyyoushouldnotcommittogithub",
    "callback" => function ($request, $response, $arguments) use ($container) {
        $container["jwt"] = $arguments["decoded"];
    }
]));

You could do something similar by returning a 401 response from the after handler.
use Tuupola\Middleware\JwtAuthentication;
use Tuupola\Http\Factory\ResponseFactory;

$app->add(new JwtAuthentication([
    "secret" => "supersecretkeyyoushouldnotcommittogithub",
    "path" => ["/protected"],
    "after" => function ($response, $arguments) {
        if ($authfails) {
            return (new ResponseFactory)->createResponse(401);
        }
        return $response;
    }
]));

Ok, thanks


Input field for column type 'calendar' gets cleared half way through user's entry

Problematic behaviour:

defined a column of type calendar with the following options:

options: {
  readonly: false,
  format: "DD.MM.YYYY"
}

when trying to enter a date manually (instead of picking it from the calendar), after the 3rd key press the input field gets cleared
next, if I repeat the exact same 3 key presses again, the input gets accepted; if I try to enter a different date, the above repeats
it works ok without the format field, but I need the dates in the same locale format as elsewhere in the applications

You can replicate this behaviour in this sandbox: https://codesandbox.io/s/jspreadsheet-forked-t96tdq?file=/src/App.js
Expected behaviour:

I can enter a date in the pre-defined format manually without the input field getting cleared

Any idea on how to fix that?

Hi,
Try with this format :  format: "dd.mm.yyyy" instand of DD.MM.YYYY

I don't have the problem with this update on your sandbox.

It might have been a browser issue, but it occurs both under Chrome and Firefox, so that is rather unlikely.
Here is a quick screen capture that shows what the problem is: https://user-images.githubusercontent.com/63853577/196669248-a4d23379-e2b9-43c0-b039-9bbf07794daf.mp4

It fixed the problem in the Sandbox. Many thanks for your help!


Remove the bluebird package

Promises have been in Node.js since I believe version 6 so a package like Bluebird, is not necessary.

Part of the work for #116.


Type switch variable

Please answer the following before submitting your issue:
Note: Please include any substantial examples (debug session output,
stacktraces, etc) as linked gists.

What version of Delve are you using (dlv version)?

I'm using a prebuilt version from https://bintray.com/jetbrains/golang/delve/ - version 0.11.309 (updated Nov 02, 2016)
Delve Debugger
Version: 0.11.0-alpha
Build:

What version of Go are you using? (go version)?

go version go1.7.3 darwin/amd64

What operating system and processor architecture are you using?

$ sw_vers
  ProductName:	Mac OS X
  ProductVersion:	10.11.6
  BuildVersion:	15G1108
$ uname -mp
  x86_64 i386

What did you do?

Following test code:
package type_test

import "fmt"
import "testing"

func TestMe(t *testing.T) {
	run("the answer")
	run(42)
}

func run(v interface{}) {
	switch av := v.(type) {
	case string:
		fmt.Printf(">> string %q\n", av)
	case int:
		fmt.Printf(">> int %d\n", av)
	}
}

$ dlv test

# set breakpoint at line `switch av := v.(type) {`
$ b type_test.go:12
$ c
# stop at above breakpoint

$ locals
av = 0
av = ""
$ n
$ n
# stop at `fmt.Printf(">> string %q\n", av)`

$ locals
av = 0
av = "the answer"

What did you expect to see?

Either only the string av variable, or the "unused" variable (av = 0) should be marked as "unused" or so. This would help both the dlv cli and editor plugins to display the correct value.

What did you see instead?

look at 4.

Duplicate of #106, golang/go#12899 and golang/go#6913. See also: https://go-review.googlesource.com/#/c/29591/


Add support for $nearSphere

Fixes #1438

Looks good to me. Do you think we should add an integration test?

The updates look good to me. @Shredder121, feel free to merge it.

Yes it's now good, I'll merge it.


Calling setState() on a screen does not appear to work after closing and reopening it

Current Behavior
I have a screen that is opened via StackNavigation and utilizes setState() throughout the code. When I open this screen for the first time, it works fine and the respective components update seamlessly. However, all of this stops working when I close this screen and reopen it on the screen prior.
Expected Behavior
Instead of proceeding to behave like it did the first time, setState() is not called, and subsequently the components attributed to the state variables are not updated. It should work every single time based on how it did the first time.
Your Environment

software
version

react-navigation
latest

react-native
0.44.0

node
7.10.0

npm or yarn
<EMAIL_ADDRESS>

where did you write the setState() code?

Please provide an example of this issue. Thanks!

Hi there @tenal,
In an effort to cleanup this project and prioritize a bit, since this issue had no follow up I'm going to close it.
If you are still having the issue with the latest version (especially if it's a bug report) please check the current open issues, and if you can't find a duplicate, open a new one that uses the new Issue Template to provide some more details to help us solve it.


reimplement arc serialization & deserialization

I'm going to close out the parent rock (aka milestone https://github.com/PolymerLabs/arcs/milestone/16), should this issue be closed @shans?


codegen: function call statement

Have to flat all expression, in LLVM/asm f1()()() is non-sense program. Must be:
t0 = call f1()
t1 = call t0()
t2 = call t1()
load t2

LLVM example:
; Declare the string constant as a global constant.
@.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00"

; External declaration of the puts function
declare i32 @puts(i8* nocapture) nounwind

; Definition of main function
define i32 @main() {   ; i32()*
  ; Convert [13 x i8]* to i8*...
  %cast210 = getelementptr [13 x i8], [13 x i8]* @.str, i64 0, i64 0

  ; Call puts function to write out the string to stdout.
  call i32 @puts(i8* %cast210)
  ret i32 0
}

; Named metadata
!0 = !{i32 42, null, !"string"}
!foo = !{!0}

First test case:
main(): void {
  foo();
}

foo(): void {}

Since the complex case hasn't be implemented in the semantic and syntax level, let's focus on the basic example in this issue.


Consolidate ide content in dbt cloud features pages

https://www.notion.so/dbtlabs/Edit-dbt-feature-page-f8c024071d724526881f18e1123d87da
Closes #2617
Contributions

[X] I have read the contribution docs, and understand what's expected of me.

Link to the page on docs.getdbt.com requiring updates

Move superfluous IDE content from ‘cloud features’ and 'dbt cloud tips' pages → ‘develop in the cloud’ page.
This includes bullets specifying IDE actions, and the IDE features table.
Consolidate IDE features table with table on the ‘develop in cloud’ page
Link to the ‘Build your first models’ page on ‘Develop in the Cloud’ (under Build, compile, and run projects section)
Add redirects for any pages removed

What part(s) of the page would you like to see updated?
dbt cloud features https://docs.getdbt.com/docs/get-started/dbt-cloud-features
developt in cloud https://docs.getdbt.com/docs/get-started/develop-in-the-cloud
dbt cloud tips https://docs.getdbt.com/docs/get-started/dbt-cloud-tips
Additional information
No response

created in mwong-ide-page-changes branch


Allow passing IHttpClientFactory to SheetHelper.Init to enable proxy support

I'm not sure about the implementation(i.e. public API probably shouldn't expose a google-specific type), but this solved the issue for my workflow.
Maybe, the new overload should take built in System.Net.IWebProxy or System.Net.Http.HttpClientHandler parameter instead, and wrap it with a factory internally, but I'm not sure if it's future-proof and covers all edge cases.

I'm not sure about the implementation but this solved the issue for my workflow.

Thank you @kasthack  for the contribution!  I'm going to merge this into main and then update the release number to get this pushed into the next nuget release.


Update about and projects

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


Business Central v14 Preview doesn't works: Object Objectname: couldn't find definition

I can see the object list, but if I try to preview an object from AL Object Designer, I always get the issue: Object Objectname: couldn't find definition

Download of symbols works without error. AL Object Designer Cash was deleted before.
I tried it with docker image mcr.microsoft.com/businesscentral/onprem:14.10.40471.0-de and mcr.microsoft.com/businesscentral/onprem:14.9.39327.0-de.
If I downgrade to version 0.1.4 of your extension, AL Object Designer shows the content of the object, but not well formatted

There are no issues with business central 15.

v13 is also having this issue

Is there any update to the issue? I am having the same problem with BC14. Downgrading the Object-Designer is no option because you are not getting the complete source code.

Still getting this error - any solution or work around for this?
Thank you and regards
Rasmus

My only solution / workaround at this time Is to have an instance of VS Code running version 0.1.4 of AL Object Designer as well as running the matching version of the AL Language that comes with your server. I’m on 13 so I use 2.1.10663
Yann
Yann Saint-Laurent
IT Manager
Canada Ticket Inc.
Tel:<PHONE_NUMBER> or 1-800-576-5511
ISO 9001:2015 CERTIFIED
ISO 14001:2015 CERTIFIED

From: RasmusTorpeRIT<EMAIL_ADDRESS>Sent: Monday, October 12, 2020 7:37:39 AM
To: martonsagi/al-object-designer<EMAIL_ADDRESS>Cc: Yann Saint-Laurent<EMAIL_ADDRESS>Manual<EMAIL_ADDRESS>Subject: Re: [martonsagi/al-object-designer] Business Central v14 Preview doesn't works: Object Objectname: couldn't find definition (#60)
Still getting this error - any solution or work around for this?
Thank you and regards
Rasmus
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/martonsagi/al-object-designer/issues/60#issuecomment-707160271, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACFKZPJANIYNVJBJQOIUVRDSKMIDHANCNFSM4MYSV4ZQ.


Add missing sidebar_mode option to exceptions

This pull request adds a missing sidebar_mode option to the exceptions option in the documentation.

coverage: 99.772%. remained the same
when pulling 98dc03ecc523fe7e26b0c021fdb295f7c0a3cdf7 on add_missing_option_to_exceptions
into cb30790f143c08414d995c2fae664d0858974ac7 on master.


Doesn't work in C2960X

I have tried this C2960X and even when the hash is created fine the SW doesn't accepts it as valid.
Cisco-2960X(config)#username test privilege 15 secret 5 $1$Oh9i$VEEjjTMjnWVl18hXNoNjR.
ERROR: The secret you entered is not a valid encrypted secret.
To enter an UNENCRYPTED secret, do not specify type 5 encryption.
When you properly enter an UNENCRYPTED secret, it will be encrypted.
Is there something on the switch configuration that could make it work for you and not for me? I cannot think of anything in particular.
Thanks

I have just tested on a 2960x, specifically hardware cisco WS-C2960X-48FPD-L and had no issue
2960xswitch(config)#username test privilege 15 secret 5 $1$Oh9i$VEEjjTMjnWVl18hXNoNjR.
 WARNING: Command has been added to the configuration using a type 5 password. However, type 5 passwords will soon be deprecated. Migrate to strong password type
2960xswitch(config)#

What hardware type and software version are you running? providing the output of show version will help.
2960xswitch#show ver

~ Output Truncated ~

Switch Ports Model                     SW Version            SW Image
------ ----- -----                     ----------            ----------
*    1 54    WS-C2960X-48FPD-L         15.2(7)E5             C2960X-UNIVERSALK9-M

2960xswitch#


Can we use this?

Can we use this, as it's under BSD-3 Clause?

Sort of - yes, but the original code will need the original License.

The other way is to derive from the original, so that it keeps it's integrity,
Or use Peer programming, where one person looks at the code and describes it, and the the other writes the code to reflect the description (Not a like for like!)

Another way, is to get the 2 authors to agree to merging the code into the Extended Suite.

Could the original licence be stored in the source code itself? Finding the original code is easy.
Ookii.Dialogs.zip was downloaded straight from the original authors website.

I think so, Because the 3rd clause states not to endorse derived works with the original name without permission, So if it is not given, the "Code could" still be used due to the 1st 2 clauses.
Remember Krypton is also BSD 3 and permission was given from the author for derived works (Sort of) due to his statement of "releasing it" into github for further development.
Ooki dialogs already overlaps some of the functionality in Krypton Components, so only a subset of the derived work(s) will be used.

I have integrated the code. The only thing I changed was the file/folder structure.


Update Get-AzureADAuditSignInLogs.md

Fixing a syntax error in the help file.

Docs Build status updates of commit b00ce1c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azureadps-2.0-preview/AzureAD/Get-AzureADAuditSignInLogs.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Hi @seanmcne
Per the read me file:
Please be aware that if you have any updates to automatically generated reference content, you should create an issue and not a PR.  The issue will then be created into a bug and triaged accordingly.  We do this because the reference content must mirror the *dll-help.xml file and subsequent updates to the reference content may overwrite any changes made through the repo.  Capturing it in the source code ensures that this does not occur.  Any PR with changes to automatically generated reference content will be closed.
Automatically generated reference content is any of the content under this Reference node, such as Get-AzureADUser
This only applies to reference content and not conceptual content.  Pull requests for changes to conceptual content are accepted and encouraged.  An example of the conceptual content is the Overview or a scenario such as importing data.
Thank you!
Bill


Testing the same image with sift but get different number of feature points

Hi, I am testing the same image with Sift. And I get different number of feature points each time.
devicetype = "GPU"
sift_ocl = sift.SiftPlan(template=marker, devicetype=devicetype)
keypoints = sift_ocl.keypoints(marker)
print("Number of keypoints: %s" % len(keypoints))
I am trying to figure it out.

Thank you @kif.
I agree that it is due to rounding errors.
I have print the feature points in format '%cols, %rows, %scale, %angle' as follows.
1045.382690, 1015.630920, 6.142435, -0.320477
1045.382690, 1015.630920, 6.142435, -2.011887
vs
1045.382690, 1015.630920, 6.142435, -0.333625
1045.382690, 1015.630920, 6.142435, -2.011887
1045.382690, 1015.630920, 6.142435, 1.767684
It seems the value of angle varies and "val >= 80%*maxval" shows different result.
Then, I try to modify the 0.8f to 1.0f in kernel named 'orientation_gpu' as follows,
if (hist_curr > hist_prev  &&  hist_curr > hist_next && hist_curr >= 0.8f * maxval)
{
...
} //end "val >= 80%*maxval"
After that, the number of feature points is invariant.
Then, I try 0.99f instead of 1.0f, the number of feature points varies. Seems that it is not due to rounding error.

Thank you @kif.
I am glad to submit a pull-request, but 0.8f is a recommend param instead of 1.0f. It will make sift more robust.
Anything helpful for sift cl will try to submit a pull-request.

Hi, @kif .
Have you ever run sift cl on Mali GPU? I just wonder whether sift cl can run real time on Mali or not.

Thanks @kif . I have measured 80ms per 512x512 image using my Mac.
I don't have a board to test sift directly on Mali. Using Asus tinker-board with Mali-T764 GPU to test sift is a good choice. Are you conveniences and willing to test sift on Asus tinker-board? I'm looking forward to it. Thanks again.

I have re-installed "armbian" on the tinkerboard and managed to install OpenCL from: https://github.com/rockchip-linux/rk-rootfs-build/tree/master/packages/armhf/libmali without major issue.
According to clpeak, the GPU (4 core) is running at 400MHz. The bandwidth available to the GPU is 4.5GBps and 3.5 GFLops (up to 21 using float8 !). It is better than what I got from linaro but not impressive. From the CPU single threaded memory BW is ~800Mbyte/s, and 4.05  with all cores.
It may take a while before having the whole python stack rebuilt on the device.
Nota: apparently there is no support for the CSI-camera with armbian (yet) while the kernel is much more recent (4.14)

Thank you very much for this test. I am very appreciated.

I just managed to install all programs. PyFAI is running 2x faster on GPU than the CPU (which is already decent on the tinkerboard)
The SIFT-keypoint extraction for an image of 512x512 takes ~600ms with the GPU at 400MHz. So it is not real-time but not too bad neither.

Thank you very much @kif . Nice result for some embedded system, slightly ahead of expectations.
It's really nice of you to help me! Thanks again.


add t3 instance type settings

Description
AWS announced [1] new t3 instance types, this PR adds the necessary configuration to use them.
[1] https://aws.amazon.com/blogs/aws/new-t3-instances-burstable-cost-effective-performance/
Checklist

[x] terraform fmt and terraform validate both work from the root and examples/eks_test_fixture directories (look in CI for an example)
[ ] Tests for the changes have been added and passing (for bug fixes/features)
[ ] Test results are pasted in this PR (in lieu of CI)
[ ] Docs have been updated using terraform-docs per README.md instructions
[x] I've added my change to CHANGELOG.md
[x] Any breaking changes are highlighted above

Thank you @max-rocket-internet!! Any idea on the release date to 1.5.0? I'm also interested in the monitoring flag and spot instances.

Apologies I haven't released sooner @rochacon . I might have time this weekend but I've been super busy as of late. @max-rocket-internet if you've got the bandwidth, feel free to get a release PR up so we can discuss and ship it.

Thank you @max-rocket-internet!! Any idea on the release date to 1.5.0?

I'll do it this week. Tomorrow or Wednesday 🙂


mergedb should complain on duplicate entries

Right now our DB has some duplicate entries due to renamed symbols. For example, in https://github.com/SymbiFlow/prjxray-db/blob/master/artix7/segbits_clbll_l.db#L93
CLBLL_L.SLICEL_X0.AMUX.XOR !30_06 !30_07 !30_11 30_08
CLBLL_L.SLICEL_X0.AOUTMUX.XOR !30_06 !30_07 !30_11 30_08

Corrective actions:

mergedb should complain on duplicate symbols
DB builder should clean before starting

@mithro I'll fix https://github.com/SymbiFlow/prjxray/issues/189


Support build target wasm32-unknown-emscripten

Hi @console-rs members!
I found that #[cfg(unix)] and #[cfg(target_arch = "wasm32")] conflicted when building with wasm32-unknown-emscripten as the target, so I changed #[cfg( unix)] to #[cfg(all(unix, not(target_arch = "wasm32")))]` to resolve the conflict.
Current behavior
cargo check --target wasm32-unknown-emscripten

failed on unix

(/home/runner/work/console/console)
error[E0659]: `wants_emoji` is ambiguous
   --> src/utils.rs:9:19
    |
9   | use crate::term::{wants_emoji, Term};
    |                   ^^^^^^^^^^^ ambiguous name
    |
    = note: ambiguous because of multiple glob imports of a name in the same module
note: `wants_emoji` could refer to the function imported here
   --> src/term.rs:628:9
    |
628 | pub use crate::unix_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `wants_emoji` to disambiguate
note: `wants_emoji` could also refer to the function imported here
   --> src/term.rs:630:9
    |
630 | pub use crate::wasm_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `wants_emoji` to disambiguate

error[E0659]: `is_a_terminal` is ambiguous
   --> src/term.rs:67:9
    |
67  |         is_a_terminal(self.0)
    |         ^^^^^^^^^^^^^ ambiguous name
    |
    = note: ambiguous because of multiple glob imports of a name in the same module
note: `is_a_terminal` could refer to the function imported here
   --> src/term.rs:628:9
    |
628 | pub use crate::unix_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `is_a_terminal` to disambiguate
note: `is_a_terminal` could also refer to the function imported here
   --> src/term.rs:630:9
    |
630 | pub use crate::wasm_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `is_a_terminal` to disambiguate

error[E0659]: `is_a_color_terminal` is ambiguous
   --> src/term.rs:76:9
    |
76  |         is_a_color_terminal(self.0)
    |         ^^^^^^^^^^^^^^^^^^^ ambiguous name
    |
    = note: ambiguous because of multiple glob imports of a name in the same module
note: `is_a_color_terminal` could refer to the function imported here
   --> src/term.rs:628:9
    |
628 | pub use crate::unix_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `is_a_color_terminal` to disambiguate
note: `is_a_color_terminal` could also refer to the function imported here
   --> src/term.rs:630:9
    |
630 | pub use crate::wasm_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `is_a_color_terminal` to disambiguate

error[E0659]: `wants_emoji` is ambiguous
   --> src/term.rs:98:31
    |
98  |         self.is_attended() && wants_emoji()
    |                               ^^^^^^^^^^^ ambiguous name
    |
    = note: ambiguous because of multiple glob imports of a name in the same module
note: `wants_emoji` could refer to the function imported here
   --> src/term.rs:628:9
    |
628 | pub use crate::unix_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `wants_emoji` to disambiguate
note: `wants_emoji` could also refer to the function imported here
   --> src/term.rs:630:9
    |
630 | pub use crate::wasm_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `wants_emoji` to disambiguate

error[E0659]: `read_single_key` is ambiguous
   --> src/term.rs:278:13
    |
278 |             read_single_key()
    |             ^^^^^^^^^^^^^^^ ambiguous name
    |
    = note: ambiguous because of multiple glob imports of a name in the same module
note: `read_single_key` could refer to the function imported here
   --> src/term.rs:628:9
    |
628 | pub use crate::unix_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `read_single_key` to disambiguate
note: `read_single_key` could also refer to the function imported here
   --> src/term.rs:630:9
    |
630 | pub use crate::wasm_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `read_single_key` to disambiguate

error[E0659]: `read_secure` is ambiguous
   --> src/term.rs:343:15
    |
343 |         match read_secure() {
    |               ^^^^^^^^^^^ ambiguous name
    |
    = note: ambiguous because of multiple glob imports of a name in the same module
note: `read_secure` could refer to the function imported here
   --> src/term.rs:628:9
    |
628 | pub use crate::unix_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `read_secure` to disambiguate
note: `read_secure` could also refer to the function imported here
   --> src/term.rs:630:9
    |
630 | pub use crate::wasm_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `read_secure` to disambiguate

error[E0659]: `DEFAULT_WIDTH` is ambiguous
   --> src/term.rs:383:44
    |
383 |         self.size_checked().unwrap_or(([24](https://github.com/ChanTsune/console/actions/runs/5775408258/job/15653363901#step:4:25), DEFAULT_WIDTH))
    |                                            ^^^^^^^^^^^^^ ambiguous name
    |
    = note: ambiguous because of multiple glob imports of a name in the same module
note: `DEFAULT_WIDTH` could refer to the constant imported here
   --> src/term.rs:628:9
    |
628 | pub use crate::unix_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `DEFAULT_WIDTH` to disambiguate
note: `DEFAULT_WIDTH` could also refer to the constant imported here
   --> src/term.rs:630:9
    |
630 | pub use crate::wasm_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `DEFAULT_WIDTH` to disambiguate

error[E0659]: `terminal_size` is ambiguous
   --> src/term.rs:391:9
    |
391 |         terminal_size(self)
    |         ^^^^^^^^^^^^^ ambiguous name
    |
    = note: ambiguous because of multiple glob imports of a name in the same module
note: `terminal_size` could refer to the function imported here
   --> src/term.rs:628:9
    |
628 | pub use crate::unix_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `terminal_size` to disambiguate
note: `terminal_size` could also refer to the function imported here
   --> src/term.rs:630:9
    |
630 | pub use crate::wasm_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `terminal_size` to disambiguate

error[E0659]: `set_title` is ambiguous
   --> src/term.rs:483:9
    |
483 |         set_title(title);
    |         ^^^^^^^^^ ambiguous name
    |
    = note: ambiguous because of multiple glob imports of a name in the same module
note: `set_title` could refer to the function imported here
   --> src/term.rs:628:9
    |
628 | pub use crate::unix_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `set_title` to disambiguate
note: `set_title` could also refer to the function imported here
   --> src/term.rs:630:9
    |
630 | pub use crate::wasm_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `set_title` to disambiguate

error[E0659]: `wants_emoji` is ambiguous
   --> src/utils.rs:701:12
    |
701 |         if wants_emoji() {
    |            ^^^^^^^^^^^ ambiguous name
    |
    = note: ambiguous because of multiple glob imports of a name in the same module
note: `wants_emoji` could refer to the function imported here
   --> src/term.rs:628:9
    |
628 | pub use crate::unix_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `wants_emoji` to disambiguate
note: `wants_emoji` could also refer to the function imported here
   --> src/term.rs:630:9
    |
6[30](https://github.com/ChanTsune/console/actions/runs/5775408258/job/15653363901#step:4:31) | pub use crate::wasm_term::*;
    |         ^^^^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `wants_emoji` to disambiguate

warning: unused import: `std::mem`
 --> src/unix_term.rs:6:5
  |
6 | use std::mem;
  |     ^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused import: `std::ptr`
 --> src/unix_term.rs:8:5
  |
8 | use std::ptr;
  |     ^^^^^^^^

error[E0308]: mismatched types
   --> src/term.rs:113:13
    |
113 |             TermFamily::UnixTerm
    |             ^^^^^^^^^^^^^^^^^^^^ expected `()`, found `TermFamily`
    |
help: you might have meant to return this value
    |
113 |             return TermFamily::UnixTerm;
    |             ++++++                     +

Some errors have detailed explanations: E0308, E06[59](https://github.com/ChanTsune/console/actions/runs/5775408258/job/15653363901#step:4:60).
For more information about an error, try `rustc --explain E0308`.
warning: `console` (lib) generated 2 warnings
error: could not compile `console` (lib) due to 11 previous errors; 2 warnings emitted

Facing the same problem :)
Thanks for the fix!


TypeError: Cannot read property 'data' of undefined at resolveSlots in Navbar Component with Typescript

Navbar component throws an undefined data property.
Project setup: Vue + Typescript project generated with Vue CLI 3
When I tried using tried VUIKit in just a Vue and Javascript project, it works properly.
Please find below the error stack trace:
TypeError: Cannot read property 'data' of undefined
    at resolveSlots (vue.runtime.esm.js?2b0e:2666)
    at FunctionalRenderContext.slots (vue.runtime.esm.js?2b0e:4112)
    at new FunctionalRenderContext (vue.runtime.esm.js?2b0e:4119)
    at createFunctionalComponent (vue.runtime.esm.js?2b0e:4158)
    at createComponent (vue.runtime.esm.js?2b0e:4339)
    at _createElement (vue.runtime.esm.js?2b0e:4536)
    at createElement (vue.runtime.esm.js?2b0e:4461)
    at FunctionalRenderContext._c (vue.runtime.esm.js?2b0e:4133)
    at renderSlots (vuikit.esm.js?6d68:3344)
    at render (vuikit.esm.js?6d68:3387)

Hi, the error stack is not enough. Please reproduce the error in jsfiddle or similar and provide me with the link.


Added description in the sign up feature of "Your Booklist For Shopping"

Related Issue 884
Fixes:  #884
Description
"Don't have an account yet?" was added near the Sign Up feature of "Your Booklist For Shopping" in regards to Issue #884
Type of PR

[ ] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[x] Other (specify): "Don't have an account yet?" was added near the Sign Up feature of "Your Booklist For Shopping"

Screenshots / videos (if applicable)
Before:

After:

Checklist:

[x] I have made this change from my own.
[ ] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@humanraj Kindly put the tag of level2 as I was assigned on Issue #884 on this merged PR.

@anuragverma108 Please put the level2 tag on this merged pull request as assigned to me on that issue #884


Issue with /docs/concepts/workloads/controllers/statefulset/

This is a...

[ x ] Feature Request
[ ] Bug Report

Problem:
Unable to find how is it possible to associate a persitentStorage with the StatefulSet in the documentation.
Proposed Solution:
Add an example.
Page to Update:
https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/

By "persistentStorage", you meant "persistent volumes"?
The document does contain a sample that shows how to dynamic provision persistent volumes to a StatefulSet. There are links to the persistent volume concept.
So I'm wondering if this is still an issue. Is it possible that the issue was filed before the dynamic provisioning doc was written?
Can we close this?


Repetitions and Predicate Problems

Building queries like the following example which is for C++. Where the storage_class_specifier has zero or one (?) OR zero or more (*) matches throws a rust panic. Error: (rust-panic "Any { .. }") Note that one or more (+) works. I have only tested it for this case where there will be either one or none.
(
    (declaration (storage_class_specifier)? @storage) @test
    (.not-eq? @storage "")
)

Same here

In my case, also, logs are refereing to:
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', /Users/runner/.cargo/git/checkouts/tree-sitter-ae9a8b878b09f085/475b822/lib/binding_rust/lib.rs:1833:72


Starting personal conversations behave unexpectedly

I tried to start a conversation with all team members. Whilst it works perfectly with two other users, it returns below error code for my own user Id
{"error":{"code":"ServiceError","message":"You do not have sufficient privileges to execute this operation."}}
I'm an owner of the team. One of success user is also an owner. The other is normal user.
All three requests used the same token and only the user Id (inside members tag) was different. Do you have any idea?

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

ID: ba8d3979-14f5-3105-ad89-ce6f98d11df1
Version Independent ID: e53a7d1e-0e70-ca30-9809-fda7ebe5f4da
Content: Proactive messages - Teams
Content Source: msteams-platform/concepts/bots/bot-conversations/bots-conv-proactive.md
Product: msteams
GitHub Login: @o365devx
Microsoft Alias: o365devx

@baole - Are you still facing this issue? Is bot installed for all these users which you are trying to send proactive message?


Documentation : Added Release 0.3.0

coverage: 100.0%. remained the same
when pulling 790ddef8fd83e62c2cbf83a7965fa0e01a85b195 on doc030
into fc2eb6d1a61b058d5dac77197059db30ee3c8329 on master.


Implementation of keyframe-only seek in low level video API

as per issue #3014 , I'm sending the implementation of the fast seek for video reader API
As this requires changes in the decoder C++ API which is IIUC used internally in FB; before accepting the PR, @fmassa should probably look into importing it and testing it internally. The default values and operations are kept the same, but nevertheless, there could be regressions not caught by our current tests.

superseeded by #3179


fix: adding TLS definition in sql ded pool

Type of PR

Code changes

Purpose
SQL dedicated pool was being deployed with not TLS definition. TLS 1.2 has been added as part of the deployment.
Does this introduce a breaking change? If yes, details on what can break
Not with 1.2.
Author pre-publish checklist

[X] Added test to prove my fix is effective or new feature works
[X] No PII in logs
[ ] Made corresponding changes to the documentation

Validation steps

Deploy the sample, verify in the Networking settings of the SQL pool that the TLS has been set to 1.2.
Check that the remaining functionality works - ADF pipeline Stored procedure task

Issues Closed or Referenced

Closes #940

Quite straightforward. :)


feat(md-menu): add child menu support

Add [flyOut] attribute to md-menu to make child menu appear at edge of parent menu, add childMenuTrigger attribute to md-menu-item to prevent parent menu and ancestor menus from closing on selection of trigger item. Also, correct certain unit tests which failed on Windows machines due to rounding errors. Follows the guidelines in https://material.io/guidelines/components/menus.html#.

I have fixed the linting issues. I am unsure what change to menu.e2e.ts has caused the screenshot-diff issue.

I have commented out the parent-child e2e tests in e2e/components/menu/menu.e2e.ts and src/e2e-app/menu/menu-e2e.html solely for the purpose of passing the existing screenshot tests.

Hi @counsellorben
As outlined in our contributing guide, the first step in working on a large feature like this is to open an issue for discussion. Going from there, we always start with a design document and design review with the team. We go through these steps to ensure that everything in the library meets our standards for accessibility, i18n, and consistency with the rest of the code-base.
Feel free to open a new issue (or start a discussion on the existing one) to start discussion on your proposed feature.


Add missing ROR ID to the COUNTER_SUSHI API Specification

The ROR ID, that was added in Release 5.0.2 as institution and publisher identifier (see #61), is missing from the COUNTER_SUSHI API Specification, which needs to be fixed.

Resolved with commit f411c5c43e1dd71a9b8125597fd7b1248d0505c4.


[PowerToys Run] Give a warning for shortcuts we expect to still have focus issues

Description of the new feature / enhancement
We've changed PowerToys Run to use global hotkeys instead of a low-level keyboard hook for activation, in order to fix focus issues.
A low level keyboard hook is still used as a fallback when a global shortcut can't be registered, but it will have the old focus issues.
Compile a list of reserved shortcuts and create a warning when the user tries to set PowerToys Run to a global HotKey that can't be used.
Scenario when this would be used?
In settings, when the user tries to set up the shortcut.
Examples of shortcuts that will use the low level keyboard hook:
Win+R
Win+Space
Supporting information
No response

Is this only for PowerToys Run or also other modules?

For now, it's only PowerToys Run. After https://github.com/microsoft/PowerToys/commit/5963294b045eafad53416ba407c91fe9a924d929
If other modules suffer from similar "gaining focus" issues, it might apply to other modules later as well.

@jaimecbernardo is this issue still relevant or should it be closed?

Might be, but I think focus issues have have been much better since then. Closing it and lets re-open if we think it makes sense.


How to hide Schemas section in /docs?

from fastapi import FastAPI
from pydantic.main import BaseModel

app = FastAPI()

class Model(BaseModel):
    a: str

@app.get("/", response_model=BaseModel)
def get():
    return {"a": "b"}

After uvicorn app:app, /docs shows this:
Is there any way to hide Schemas section with the BaseModel? I don't want to remove the schema definitions from the API spec. Instead, I just want to remove them from the render. I've checked out Extending OpenAPI, but didn't find anything related.
I found How to hide the Models section in Swagger UI? which mentions a field called defaultModelsExpandDepth, but not sure how I could configure such a thing through FastAPI.

You're using response_model wrong, it should be

@app.get("/", response_model=Model)
def get():
    return {"a": "b"}

You're using response_model wrong, it should be

@app.get("/", response_model=Model)
def get():
    return {"a": "b"}

You're using response_model wrong, it should be

@app.get("/", response_model=Model)
def get():
    return {"a": "b"}

You're using response_model wrong, it should be

@app.get("/", response_model=Model)
def get():
    return {"a": "b"}

You're using response_model wrong, it should be
@app.get("/", response_model=Model)
def get():
    return {"a": "b"}

Ah yeah my bad, meant to put the subclass. So question becomes, how would I hide Model under Schemas instead of the BaseModel that is shown in the image.

You're using response_model wrong, it should be
@app.get("/", response_model=Model)
def get():
    return {"a": "b"}

Ah yeah my bad, meant to put the subclass. So question becomes, how would I hide Model under Schemas instead of the BaseModel that is shown in the image.

I found out how to do this, I had to add defaultModelsExpandDepth: -1, (like the SO answers say) to the side of all the other fields in https://github.com/tiangolo/fastapi/blob/master/fastapi/openapi/docs.py#L41, and then serve the custom generated HTML myself through https://fastapi.tiangolo.com/advanced/extending-openapi/#serve-the-static-files. Will open formal merge request for this soon, and close issue around then.

I found out how to do this, I had to add defaultModelsExpandDepth: -1, (like the SO answers say) to the side of all the other fields in https://github.com/tiangolo/fastapi/blob/master/fastapi/openapi/docs.py#L41, and then serve the custom generated HTML myself through https://fastapi.tiangolo.com/advanced/extending-openapi/#serve-the-static-files. Will open formal merge request for this soon, and close issue around then.

@MarioIshac did you end up working on it?

I found out how to do this, I had to add defaultModelsExpandDepth: -1, (like the SO answers say) to https://github.com/tiangolo/fastapi/blob/master/fastapi/openapi/docs.py#L40, and then serve the custom generated HTML myself through https://fastapi.tiangolo.com/advanced/extending-openapi/#serve-the-static-files. Will open formal merge request for this soon, and close issue around then.

it works. thank's.

FastAPI now supports passing swagger parameters, so to hide the schemas you can do it as below:
app = FastAPI(
    title="API",
    swagger_ui_parameters={"defaultModelsExpandDepth": -1}
)


The image of the share button is being cut. Can you tell me why?

The image of the share button is being cut. Can you tell me why?
And I want to get rid of the sharing letters. What should I do?

That's the web player UI. I assume it's cut in half because the width of the screen is too small.
It's not possible to remove it, unfortunately.


Script-local functions leak stale copies into _... namespace (intermittently, state-dependent)

Good day,
this is a bug that's hard to reproduce. I had noticed it many times, and today could spare the multiple hours of pinning it down. However, it is not readily reproducible completely via scriptfile: This one depends on something already gone sour in the internal state of vim (and I can only venture guesses what it would be).
I still minimized what I found into a script that shows the error when the bug appears. When I restarted VIM after the bug safari, the behavior was gone. But it appeats every now and then as I'd like to assure you!
This is the effect that I could reproduce: Consider the following script:
let s:random = trim(system("strings -n 1 < /dev/urandom | grep -o '[[:digit:]]'  | head -c15 | tr '\n' ' '"))
let s:scriptidentify = s:random
fun! s:Minimized() abort
    return "version:297 | toSPr; s:random=".s:scriptidentify
endf
let s:snaaame = expand("<sfile>:p")
let s:scriptid = lh#askvim#scriptid(s:snaaame) " if you don't have lh-vim-lib, hardcoding the script number via consulting :scriptnames yields the exact same result.

let s:scriptidentify = printf('random number: %s, script id: %s, script name: %s', s:random, s:scriptid, s:snaaame)
echom "namecallTest:   ".call(printf("<SNR>%s_Minimized", s:scriptid), [])
echom "propercallTest: ".s:Minimized()

So, this defines a function and calls it in two ways: one time, via s: and one time via it's <SID> name. I have come down to this minimization, because the latter form of calling a function some times failes, and it seems that VIM, depending on obscure internal state, forgets to reassign a sourced function to it's global <SID> name --- but this is only my uneducated interpretation! I have found this manifest when I wanted to know why a plugin with  mapping was not firing correctly in some circumstances.
The  output is, under non-buggy circumstances, when :source <scriptname>:
namecallTest:   version:297 | toSPr; s:random=random number: 8 1 2 9 9 4 1 8, script id: 285, script name: /path/to/script.vim
propercallTest: version:297 | toSPr; s:random=random number: 8 1 2 9 9 4 1 8, script id: 285, script name: /path/to/script.vim

But under buggy circumstances, if one changes the function (e.g. incrementing the version counter from 297 to 298) and re:sourceing the script again, it yields this unexpected output:
namecallTest:   version:297 | toSPr; s:random=random number: 8 1 2 9 9 4 1 8, script id: 285, script name: /path/to/script.vim
propercallTest: version:298 | toSPr; s:random=random number: 0 6 2 9 4 4 3 1, script id: 285, script name: /path/to/script.vim

The  <SID> variant of the script has a stale state!
Note:

The version number/counter from both calls differ
the randomly generated number also differs
:verbose function <SNR>285_Minimized yields:

   function <SNR>285_Minimized() abort
        Last set from ~/home-relative-path/to/script.vim line 4
1      return "version:297 | toSPr; s:random=".s:scriptidentify
   endfunction

As can be noted, the verbose function output has still captured the 297 version, which at that point was already preceded by the re-sourced function itself printing the version 298.
As mentioned, this is not reproduced easily, I really gave it my all and would have loved to pin down this heisenbug properly! I hope you can at least venture guesses where this comes from. This basically breaks confidence in any <SID>-assigned mappings, and other functionality utilizing script-scoped implementation, if this bug is lurking around the corner.
I would really love to see this fixed! I'm happy to provide further assist.

VIM - Vi IMproved 8.1 (2018 May 18, compiled Dec 14 2018 12:50:48)
Included patches: 1-500
Compiled by ###
Huge version with GTK2 GUI.  Features included (+) or not (-):
+acl               +extra_search      +mouse_netterm     +tag_old_static
+arabic            +farsi             +mouse_sgr         -tag_any_white
+autocmd           +file_in_path      -mouse_sysmouse    -tcl
+autochdir         +find_in_path      +mouse_urxvt       +termguicolors
-autoservername    +float             +mouse_xterm       +terminal
+balloon_eval      +folding           +multi_byte        +terminfo
+balloon_eval_term -footer            +multi_lang        +termresponse
+browse            +fork()            -mzscheme          +textobjects
++builtin_terms    +gettext           +netbeans_intg     +timers
+byte_offset       -hangul_input      +num64             +title
+channel           +iconv             +packages          +toolbar
+cindent           +insert_expand     +path_extra        +user_commands
+clientserver      +job               -perl              +vartabs
+clipboard         +jumplist          +persistent_undo   +vertsplit
+cmdline_compl     +keymap            +postscript        +virtualedit
+cmdline_hist      +lambda            +printer           +visual
+cmdline_info      +langmap           +profile           +visualextra
+comments          +libcall           -python            +viminfo
+conceal           +linebreak         +python3           +vreplace
+cryptv            +lispindent        +quickfix          +wildignore
+cscope            +listcmds          +reltime           +wildmenu
+cursorbind        +localmap          +rightleft         +windows
+cursorshape       -lua               -ruby              +writebackup
+dialog_con_gui    +menu              +scrollbind        +X11
+diff              +mksession         +signs             -xfontset
+digraphs          +modify_fname      +smartindent       +xim
+dnd               +mouse             +startuptime       +xpm
-ebcdic            +mouseshape        +statusline        +xsmp_interact
+emacs_tags        +mouse_dec         -sun_workshop      +xterm_clipboard
+eval              -mouse_gpm         +syntax            -xterm_save
+ex_extra          -mouse_jsbterm     +tag_binary
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "###"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2   -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L/usr/local/lib -Wl,--as-needed -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -ldl     -L/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu -lpython3.5m -lpthread -ldl -lutil -lm

s:scriptidentify vs s:scriptidentity a typo?

s:scriptidentify vs s:scriptidentity a typo?

Oh, yeah. Tried it right now, still reproducible in that whacked-state VIM instance. so, pretty sure there's no mixup here.

Can it be reproduced with the most recent vim (8.1.1005 currently)?

I have made the switch to that version right now and will be on the lookout during development routines. I will post the update then. As I said, this one requires VIM to have barfed on something, directly after startup I cannot observe this error. I will update as soon as I have another occurence with 8.1.1005.

@simlei Can you still reproduce the issue on master?
I've tried to reproduce but as you mentioned, something is missing in the script file to trigger the bug; every time I try the output looks correct.  Since the report is more than 1 year old, maybe it has been fixed by some patch?


Record of price increase

about awesome-cloud-native

Web side vercel

The theme vuepress:2.0

@3293172751

< script  src = " https://utteranc.es/client.js "
repo = " [ENTER REPO HERE] " issue-term = " pathname " theme = " icy-dark " crossorigin = " anonymous " async > </ script >

Binance Airdrop Guide: $500k Worth of Airdrop is Ready, here's how to Claim

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

3. Share the Excitement on Twitter:

Spread the word about claiming your free tokens!

Tweet: Share on Twitter

Winners: @bowenli86, @gitmeteor, @firevenus, @libidy, @rooseek, @suboarc, @goamaral, @billwuhao, @zxj963577494, @Solders123


[MRG] Be more precise about warnings (round 2)

This PR address some of the comments in #5409 that le let for latter.
@larsoner merge is you are happy

The PEP8 monster strikes again
https://travis-ci.org/mne-tools/mne-python/jobs/414101387#L3184

thx @massich


How to apply 'Reusing the Same Data History for Multiple Sliding Window Features' in sliding window config?

Thanks for your wonderful work, I want to use feathub in my project and want to know how to use Reusing the Same Data History for Multiple Sliding Window Features in my feature view config.

Hey @daugraph! FeatHub will recognize the opportunity to reuse the same data history when your program has multiple SlidingWindowTransform in the same SlidingFeatureView and those SlidingWindowTransform only differ in their window_size. You can find an example at https://github.com/flink-extended/feathub-examples/blob/master/flink-sliding-feature-view-benchmark/main.py#L78.

Hey @daugraph! FeatHub will recognize the opportunity to reuse the same data history when your program has multiple SlidingWindowTransform in the same SlidingFeatureView and those SlidingWindowTransform only differ in their window_size. You can find an example at https://github.com/flink-extended/feathub-examples/blob/master/flink-sliding-feature-view-benchmark/main.py#L78.

Thanks for your reply.


Issue 223 -- Remove outdated instruction from README

https://github.com/adamchainz/blacken-docs/issues/223
Hi @adamchainz I'm trying to have blacken-docs run for the entire Django docs, except docs/releases. Context: https://github.com/django/django/pull/16496#issuecomment-1433627279
I tried using --all-files, and noticed it's not in the package anymore.
This PR removes those lines from the README.md.
If you have a better way, i.e. to replace this rather than just remove it, please feel free to close/update this PR.
Thanks in advance!

I think you missed that --all-files is an argument to pre-commit run: https://pre-commit.com/#4-optional-run-against-all-the-files

@adamchainz You're right! Sorry for the misunderstanding!
Is there a way, even via a combination of bash commands, to run blacken-docs for all files in a subdirectory? I had to run a "custom script" in https://github.com/django/django/pull/16496#issuecomment-1433627279 to achieve that. But there has to be a better way. Something that can be used to run blacken-docs in this github action: https://github.com/django/django/pull/15387/commits/cf5e61cf6c721121abf7347baff3d41a0ad3c23e

To run on all files in all subdirectories you can use e.g. blacken-docs **/*.rst.  But to skip some subdirectories in this process, you would need find or similar. But as I've replied there, I don't think Django should have separate CI config to pre-commit.

Thanks a lot for the feedback @adamchainz both on this and https://github.com/django/django/pull/16496!


Support Azure openai api keys

This is a bit more complicated as we'd have to use the AzureOpenAIClient and it's not just "one API key" but an entire set of deployment settings, keys etc. We have this in our Wingman AI - maybe that's suitable for you, too. I am not planning to add this in SlickGPT (but you certainly could do it in a fork).


[Github] fix(storefront): update review language property according to schema.org

1. Why is this change necessary?
According to https://schema.org/inLanguage the previous language property changed to the new inLanguage property.
2. What does this change do, exactly?
Rename the field in the schema meta information in review-item.html.twig
3. Describe each step to reproduce the issue or behaviour.
Run the previous version through https://validator.schema.org/ and get an error like this:

4. Please link to the relevant issues (if any).
none
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[ ] I have read the contribution requirements and fulfill them.

Imported from Github. Please see: https://github.com/shopware/shopware/pull/5419

[public]

FixVersion Change: <IP_ADDRESS>

This issue will be / was solved in Shopware version <IP_ADDRESS>.
[created from NEXT-39714, comment 516929]


Feature Request: Auto-save the user's scope (resource group and environment)

Related to: https://github.com/microsoft/azure-container-apps/issues/165
When someone runs ACA commands they need to specify the associated resource group on each command, while there is a way to tell the az CLI to default to a certain resource group I find this kind of hard to remember (and use since the help text doesn't help someone set the resource group) and it's an extra step that should be unnecessary.  What if instead we allow for this:
$ az containerapp env create -n myenv -g myrg
$ az containerapp create -n myapp --image nginx

This means certain commands will save the current resource-group and environment (if we ever do #165) in an ACA config file so the user will not need to specify it on subsequent commands.
Also, they may not want to set it for ALL az commands, this allows them to scope it just to ACA commands - not critical but nice.
We could then also add:
$ az containerapp env select -n myenv
$ az containerapp env select -n myenv2 -g rg2

to switch between environments and would save both the env and resource-group in an ACA config.
I have a feeling some folks may look at this as duplicating az config, and to some extent it is, however we're aiming for UX that's better than generic az and I don't think there's any guidelines that precludes us from doing something like this within the scope of ACA. All ACA commands need to be done within the scope of an env anyway (aside from env cmds).

We're closing this issue, please reopen if you feel strongly.


[BUG] Extractor pipeline not honouring configuration.extractor.yaml

Release version
4.1.0
Describe the bug
Extractor pipeline not honouring the API names mentioned in the configuration.extractor.yaml
Expected behavior
Extractor pipeline only extract APIs matching with the API names mentioned in the configuration.extractor.yaml
Actual behavior
Extractor pipeline is extracting all the APIs and ignoring the contents of the configuration.extractor.yaml.
When configuration.extractor.yaml option is selected while running the extractor pipeline, there are 2 scenarios -

When configuration.extractor.yaml is absent - the pipeline execution fails and the pipeline logs clearly states that the pipleine has failed as it can't find the configuration.extractor.yaml.

When configuration.extractor.yaml is present - The pipeline execution seems to be ignoring it altogether and instead extracting all the APIs. Also there is no mention of anything related to configuration.extractor.yaml in the pipeline logs whatsoever even when using trace logging level.

Reproduction Steps
Specify couple of API names in the configuration.extractor.yaml and run the extractor pipeline

Couldn't reproduce on our side. Can you share some logs? Make sure you scrub the logs.

Thanks for the reply. Sorry it's very difficult to remove all the IP info from the logs to sanitise it without losing the useful content. Also, there isn't anything captured in the logs about the configuration.extractor.yaml so I doubt that would help.
Would you be able to check the sample configuration.extractor.yaml file uploaded on Github and confirm if there isn't any typo anywhere in the tag name i.e. apiNames: and there isn't any issue with indentation. Also the api1 and api2 mentioned, are they the api names or API display names?
Have also looked at the extractor pipeline code and couldn't find any reference of how the configuration.extractor.yaml is being used in the pipeline. Would be great to know how it has been linked to the pipeline.
Thanks again

Here is a successful run

and here is the configuration file

It might help to share/inspect your run-extractor.yaml file in case the variable references are causing the extractor to find no configuration file in this step:

Hi @waelkdouh, I was extracting the apim resources from the portal, & the only extracted contents were the "APIs" & "products" but I was only expecting the other contents to be extracted like the contents here: https://github.com/Azure/apiops/issues/297#issuecomment-1559645154

Can you share the logs here? Make sure to scrub them first.

Can you share the logs here? Make sure to scrub them first.

how can in include the other folders other than apis & products in the extraction?

Remember that the extractor is using git diffing so basically every time you run the extractor, it runs against the API instance, and brings down everything that is different than what you already have in your git repository.

well that was my expectation but i ain't getting them all

It should happen automatically. This is why I'm asking you for the extractor Ron logs to see why this did not happen automatically.

2023-06-21T13:05:13.9370590Z ##[debug]Evaluating condition for step: 'Download pipeline artifact'
2023-06-21T13:05:13.9372038Z ##[debug]Evaluating: SucceededNode()
2023-06-21T13:05:13.9372232Z ##[debug]Evaluating SucceededNode:
2023-06-21T13:05:13.9372712Z ##[debug]=> True
2023-06-21T13:05:13.9372965Z ##[debug]Result: True
2023-06-21T13:05:13.9373185Z ##[section]Starting: Download pipeline artifact
2023-06-21T13:05:13.9476285Z ==============================================================================
2023-06-21T13:05:13.9476405Z Task         : Download Pipeline Artifacts
2023-06-21T13:05:13.9476469Z Description  : Download build and pipeline artifacts
2023-06-21T13:05:13.9476555Z Version      : 2.198.0
2023-06-21T13:05:13.9476603Z Author       : Microsoft Corporation
2023-06-21T13:05:13.9476661Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/download-pipeline-artifact
2023-06-21T13:05:13.9476762Z ==============================================================================
2023-06-21T13:05:14.2800146Z ##[debug]TargetPath: D:\a\1/artifacts-from-portal
2023-06-21T13:05:14.2827813Z ##[debug]ArtifactName: artifacts-from-portal
2023-06-21T13:05:14.2847813Z ##[debug]BuildResult: Succeeded
2023-06-21T13:05:14.2848270Z ##[debug]Run: CurrentRun
2023-06-21T13:05:14.2848643Z ##[debug]ProjectId: 772b1596-c97f-40e7-bd1b-72c1ae8dcff2
2023-06-21T13:05:14.2864313Z Download from the specified build: #119
2023-06-21T13:05:14.2877174Z ##[debug]Processed: ##vso[task.setvariable variable=BuildNumber;issecret=False;]119
2023-06-21T13:05:14.2877770Z Download artifact to: D:\a\1/artifacts-from-portal
2023-06-21T13:05:14.6395366Z Using default max parallelism.
2023-06-21T13:05:14.6412690Z Max dedup parallelism: 192
2023-06-21T13:05:14.9021256Z Verbose, ArtifactHttpClientFactory.CreateVssHttpClient: DedupStoreHttpClient with BaseUri: https://vsblobprodweu2.vsblob.visualstudio.com/A8a9ffe2e-8531-416e-b562-59f9c3f3576e/, MaxRetries:5, SendTimeout:00:05:00
2023-06-21T13:05:15.0156751Z Information, ApplicationInsightsTelemetrySender will correlate events with X-TFS-Session 5097b5a9-f8a6-463c-8823-abf3450986b5
2023-06-21T13:05:15.0157350Z Verbose, Started ITelemetrySender BlobStoreApplicationInsightsTelemetrySender.
2023-06-21T13:05:15.0256589Z Verbose, PipelineArtifact.DownloadMultipleArtifactsAsync starting
2023-06-21T13:05:15.0347004Z Information, DedupManifestArtifactClient will correlate http requests with X-TFS-Session 5097b5a9-f8a6-463c-8823-abf3450986b5
2023-06-21T13:05:15.0364714Z Information, Minimatch patterns: [**]
2023-06-21T13:05:15.3887106Z Information, Filtered 16 files from the Minimatch filters supplied.
2023-06-21T13:05:15.4198442Z Verbose, Could not initialize dataport: Could not initialize dataport for 'D:' as 'Class not registered: E_CLASSNOTREG 80040154'
2023-06-21T13:05:15.4230410Z Information, Downloaded 0.0 MB out of 1.0 MB (0%).
2023-06-21T13:05:15.5774979Z Verbose, Downloaded /apim/products/starter/groups.json
2023-06-21T13:05:15.5775450Z Verbose, Downloaded /apim/products/starter/productInformation.json
2023-06-21T13:05:15.5808757Z Verbose, Downloaded /apim/products/testing-public-api/groups.json
2023-06-21T13:05:15.5808997Z Verbose, Downloaded /apim/products/starter/policy.xml
2023-06-21T13:05:15.5809193Z Verbose, Downloaded /apim/products/unlimited/productInformation.json
2023-06-21T13:05:15.5816425Z Verbose, Downloaded /apim/products/unlimited/groups.json
2023-06-21T13:05:15.5844874Z Verbose, Downloaded /apim/products/starter/apis.json
2023-06-21T13:05:15.5892147Z Verbose, Downloaded /apim/products/unlimited/apis.json
2023-06-21T13:05:15.5897379Z Verbose, Downloaded /apim/tags/University/tagInformation.json
2023-06-21T13:05:15.5916313Z Verbose, Downloaded /apim/apis/usa-universities/apiInformation.json
2023-06-21T13:05:15.5920837Z Verbose, Downloaded /apim/products/testing-public-api/productInformation.json
2023-06-21T13:05:15.5937981Z Verbose, Downloaded /apim/policy.xml
2023-06-21T13:05:15.5993129Z Verbose, Downloaded /apim/tags/apiEntries/tagInformation.json
2023-06-21T13:05:15.6044656Z Verbose, Downloaded /spectral-result.xml
2023-06-21T13:05:15.6063881Z Verbose, Downloaded /apim/apis/usa-universities/operations/getAllUniversities/policy.xml
2023-06-21T13:05:15.8437671Z Verbose, Downloaded /apim/apis/usa-universities/specification.json
2023-06-21T13:05:15.8461848Z Information, Downloaded 1.0 MB out of 1.0 MB (100%).
2023-06-21T13:05:15.8470045Z Information,
2023-06-21T13:05:15.8470242Z Download statistics:
2023-06-21T13:05:15.8470507Z Total Content: 1.0 MB
2023-06-21T13:05:15.8470773Z Physical Content Downloaded: 0.2 MB
2023-06-21T13:05:15.8470993Z Compression Saved: 0.8 MB
2023-06-21T13:05:15.8471218Z Local Caching Saved: 0.0 MB
2023-06-21T13:05:15.8471429Z Chunks Downloaded: 27
2023-06-21T13:05:15.8471632Z Nodes Downloaded: 0
2023-06-21T13:05:15.8471794Z
2023-06-21T13:05:15.8585567Z Information, Download completed.
2023-06-21T13:05:15.8587399Z Verbose, PipelineArtifact.DownloadMultipleArtifactsAsync completed in 0.8269002 seconds
2023-06-21T13:05:15.8772363Z ##[debug]Processed: ##vso[telemetry.publish area=AzurePipelinesAgent;feature=PipelineArtifact]{"FileCount":"0","PlanId":"5c5f53a3-5267-42db-b81e-8e98e941a399","JobId":"cb2c978d-9a82-5791-38d8-088210f09300","TaskInstanceId":"175864ef-cfd2-5523-fe92-2d9eada74d7a","ActionDurationMs":"826","ActionName":"PipelineArtifact.DownloadMultipleArtifactsAsync","ActionResult":"Success","AttemptNumber":"1","ItemCount":"0","Level":"ThirdParty","CreatedUtcNow":"2023-06-21T13:05:15.0223545Z","SentUtcNow":"2023-06-21T13:05:15.8533948Z","BaseAddress":"https://vsblobprodweu2.vsblob.visualstudio.com/A8a9ffe2e-8531-416e-b562-59f9c3f3576e/","X_TFS_Session":"5097b5a9-f8a6-463c-8823-abf3450986b5","DeploymentEnvironment":"PRODUCTION","DeploymentEnvironmentIsProduction":"True","VSOAccount":"vsblobprodweu2","OSName":"Microsoft Windows","OSVersion":"10.0.20348","FrameworkDescription":".NET ","ProcessName":"Agent.PluginHost","DotNetReleaseDword":"-1","Version":"19.212.33005.0 built by: master (16b17fe44d)","ExceptionCount":"0"}
2023-06-21T13:05:15.8775136Z Verbose, ApplicationInsightsTelemetrySender waiting for 1 of 2 TrackEvent operations to complete...
2023-06-21T13:05:15.9361430Z Verbose, ApplicationInsightsTelemetrySender sent DedupDownload.DownloadAsync telemetry
2023-06-21T13:05:15.9383007Z Verbose, ApplicationInsightsTelemetrySender sent PipelineArtifact.DownloadMultipleArtifactsAsync telemetry
2023-06-21T13:05:15.9383673Z Verbose, ApplicationInsightsTelemetrySender operations completed in 79 ms
2023-06-21T13:05:15.9384554Z Information, ApplicationInsightsTelemetrySender correlated 2 events with X-TFS-Session 5097b5a9-f8a6-463c-8823-abf3450986b5
2023-06-21T13:05:15.9385168Z Verbose, Stopped ITelemetrySender BlobStoreApplicationInsightsTelemetrySender.
2023-06-21T13:05:15.9395190Z Downloading artifact finished.
2023-06-21T13:05:15.9515052Z ##[section]Finishing: Download pipeline artifact

Do me a favor. Can you start with an empty repository and then run the extractor to extract everything?

Do me a favor. Can you start with an empty repository and then run the extractor to extract everything?

it is empty except for the extractor tools, & the newly extracted resources

That is odd. It shouldn’t behave this way. Never had this come up before actually. Aside from double checking that you indeed have these resources that you are expecting as part of the apim instance itself not sure what else to check here. @guythetechie any thoughts?

@guythetechie any idea what is happening with my extractor missing some apim resources?

@Kelele-m3 do you have the resources you are claiming are missing? for exampled namedvalues? Share some pictures from your azure portal if possible.

@Kelele-m3 - couple of thoughts:

Your configuration.extractor.yaml is misconfigured. Can you share it?
Can you enable debug or trace logging? Your logs now will show the HTTP calls made to APIM during the extractor run. Make sure that HTTP calls are targeting the correct APIM instance.


Submit Button Functionality

Currently when the user fills the fields and clicks on the Submit Button, the page simply refreshes. I would like to add a functionality where upon clicking the submit button, an alert is displayed saying "Your response is recorded". This would enhance user interaction.

Kindly assign me this issue under the labels gssoc-ext, hacktoberfest-accepted and level of the problem

can you please assign this issue to me


Fix citation for PyVista

The key in the bibtex file didn't match the citation in the paper.
openjournals/joss-reviews#1451

Thanks!

:+1: glad to have this moving forward


Finalizer shouldn't dispose managed code

This code is potentially a problem
~LiteFileStream()
        {
            Dispose(false);
        }

        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);

            if (!_disposed)
            {
                if (this.CanWrite)
                {
                    this.Flush();
                }
                _disposed = true;
            }
        }

It should be
if (!_disposed && disposing)
The reason being is that finalizer might be called when managed objects don't exist anymore. Finalizer is supposed to deal exclusively with unmanaged code only.

Could that be related to why I'm getting this error with LiteDB 3.1.4?
System.NullReferenceException was unhandled
HResult=-2147467261
Message=Object reference not set to an instance of an object.
Source=LiteDB
StackTrace:
at LiteDB.LiteFileStream.WriteChunks()
at LiteDB.LiteFileStream.Flush()
at LiteDB.LiteFileStream.Dispose(Boolean disposing)
at LiteDB.LiteFileStream.Finalize()
InnerException:

@john1726 Only vaguely. What you are seeing is a bug in 3.1.4 which was later on fixed. You could either try beta 4.0 (as it is only post 3.1.4 version on nuget) or download sources.

I got exception on this problem.
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
at LiteDB.StreamExtensions+<&rt;c__DisplayClass4_0.<TryLock&rt;b__0()
at LiteDB.FileHelper.TryExec(System.Action, System.TimeSpan)
at LiteDB.StreamExtensions.TryLock(System.IO.FileStream, Int64, Int64, System.TimeSpan)
at LiteDB.FileDiskService.Lock(LiteDB.LockState, System.TimeSpan)
at LiteDB.LockService.LockReserved()
at LiteDB.LockService.Reserved()
at LiteDB.LiteEngine.Transaction[[System.Int32, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.String, Boolean, System.Func`2<LiteDB.CollectionPage,Int32&rt;)
at LiteDB.LiteEngine.Insert(System.String, System.Collections.Generic.IEnumerable`1<LiteDB.BsonDocument&rt;)
at LiteDB.LiteEngine.Insert(System.String, LiteDB.BsonDocument)
at LiteDB.LiteFileStream.WriteChunks()
at LiteDB.LiteFileStream.Flush()
at LiteDB.LiteFileStream.Dispose(Boolean)
at LiteDB.LiteFileStream.Finalize()


Refactor aabb to make it easier to be generic over Aabb dimensions

@kvark Something like that then?


Add documentation on how to update the grafana-server on the Grafana image from marketplace

I have downloaded the newest version of the Grafana image from the azure marketplace, but I quickly found out how old that image is.
It still has Grafana 8.1.1 while there is Grafana 8.4 already available.
But since not being the best with Linux and having a system which has been set up for you, I have no idea how to update that pre-installed Grafana server now.
I have already tried using the official website of Grafana: https://grafana.com/docs/grafana/latest/installation/debian/#install-on-debian-or-ubuntu
But it didn't work for me at all. It seems like that image also wasn't created with the simple apt commands but different instead, but I can't even figure out how it was installed.
My suggestion:
Add and reference a small new page here, or add a small text at the bottom on how to upgrade the Grafana Server on the image.
As there is no documentation out there telling you how to do it.
It's probably very easy for people who work with this Ubuntu CLI stuff all the time, but I personally feel lost now.

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

ID: c06d7dad-f3ff-3a48-a3ea-fa9b8783e168
Version Independent ID: b62676f2-1080-d13d-5e78-14ece3e11cec
Content: Monitor Azure services and applications using Grafana - Azure Monitor
Content Source: articles/azure-monitor/visualize/grafana-plugin.md
Service: azure-monitor
Sub-service: visualizations
GitHub Login: @rboucher
Microsoft Alias: abbyweisberg

@SenorRagequit Thanks for your comment. We will review the issue and get back to you shortly.

@rboucher Can you please provide your inputs here?

#reassign:@kayodeprinceMS

@SenorRagequit Here are a couple of alternatives to running Grafana. You can use Grafana Cloud, the managed service where upgrades and maintenance are handled for you. https://grafana.com/products/cloud/ Or you can download and run the latest version of Grafana on the platform you choose, https://grafana.com/grafana/download. For example, the Windows version which you can run on an Azure VM.

@SenorRagequit: We now recommend using Azure Managed Grafana (Preview) for its ease of deployment and out of the box integration with Azure Monitor. As a fully managed service, Azure Managed Grafana lets you deploy Grafana without having to deal with setup. The service provides high availability, SLA guarantees and automatic software updates.
We hope this new functionality will help address the issues you were experiencing. I am going to close this issue now. Please feel free to contact us at any time with further questions.
#please-close


Rendering boundary=forest_compartment and boundary=forest

In various countries, forests are subdivided into compartments and the compartment numbers are painted on trees (see https://p6.storage.canalblog.com/60/26/692115/131709412_o.jpg) and/or displayed on signage (see http://fontainebleau-foret.fr/SiteEncyclo/images/img_reperes/01.jpg).
The original goal of this is for forestry workers. But it has uses for hikers and other forest users, including:

locating yourself
analyzing temporary information that is displayed in the forest about hunting areas, ongoing works, regulations

That is, if these boundaries and reference numbers are displayed on maps. Which is the case for instance of this public map in France (see the light green numbers and thick lines):

Rendering boundary=forest_compartment (and, optionally, boundary=forest) in the Topo map would definitely help for this. See https://overpass-turbo.eu/s/1CT9 for an example of such tags, in the same area as the example pictures above.

Pretty good idea for orientation in forests with compartments!

Very useful: I've been waiting for this for years! 👍

Should be a good addition. Will render the boundary with ref.

Will be something like this. For low zoom I'll need to check a few more cases

wow!

Maybe a couple of attention points, though:

it looks like the red of paths combines with the green of boundaries to give something brownish. Maybe you'll prefer the paths to retain their color.
it may be hard to distinguish between forest boundaries and (here) the natural reserve boundary that crosses compartments 163 to 166.

* it may be hard to distinguish between forest boundaries and (here) the natural reserve boundary that crosses compartments 163 to 166.

Maybe using a dashed outlines for compartments could do it?

it looks like the red of paths combines with the green of boundaries to give something brownish. Maybe you'll prefer the paths to retain their color.

I was also noticing this. Keeping uniform path color would help maintaining good readability :)

I was also noticing this. Keeping uniform path color would help maintaining good readability :)

It looks like a problem with rendering priorities: the roads are also under the green outline. I would say that all highway=* features should be rendered after/above compartments; these should be rendered above natural/landuse areas, but under linear features such as highways.

It looks like a problem with rendering priorities: the roads are also under the green outline. I would say that all highway=* features should be rendered after/above compartments; these should be rendered above natural/landuse areas, but under linear features such as highways.

Currently boundary and texts are rendered in label layer and roads are rendered in background layer. I would prefer adding compartments in label layers as other boundaries, which are on top of roads. We can add some offset to the boundary to avoid covering the path between two boundaries. I'll give that some try.

Dashed boundary is too noisy I think. I added offset and only render compartments from z15 (ref appears from z16). Let's see some final render then see what can be improved.

There is a temporary limitation: only relation compartments are rendered and way are not. This is due to the lua transformation script (https://github.com/gravitystorm/openstreetmap-carto/blob/master/openstreetmap-carto.lua#L56) needs to be changed. A full database reload will be needed for this.

@Penegal It's indeed better with compartment under roads. There is a minor issue with label overlapping (see "HSA 02"). I tend to keep it as is. I'll render this area for preview.

I've manually refreshed this part of map for preview: https://tracesmap.com/#15/48.4171/2.5138/topo If you have more suggestions please reply.

I tended to like the green numbers more than the black ones.
As for boundaries, now it's the red paths that change how we see the green boundaries. The way visual perception works is sometimes frustrating :-) But overall, as soon as you zoom enough it works well!

Agree with @StC-OSM: green labels would be better, I think, even if it's only to highlight the logical link between labels and green boundaries.

As for boundaries, now it's the red paths that change how we see the green boundaries. The way visual perception works is sometimes frustrating :-) But overall, as soon as you zoom enough it works well!

Overlapping elements are hard to visualize in general. We have to make a choice and sacrifice something :)

Edit: I've tried this with OsmAnd on my iPhone. I believe that the boundaries should appear in one or even two more zoom levels, because currently it is hard to see more than one compartment at a time.

I've made it appear from z14 and ref from z15.
Green label doesn't blend very well. I prefer using slightly darker boundary color.

For now it'll be like this. I'll close the ticket. The updated source code will be synced later.


feat: Adds GraphQLDataSource

Based on Appsync DataSource, but does not require apiId (attributes added to module and api)
fix #9

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Develop a survey to acquire information on data sets, from the NCOpenPass community

Created a survey, on SurveyMonkey. It currently has five questions. I would like to get feedback and additional questions.

@jmpmcmanus I shared the password to the NC Open Pass survey monkey account with you

introduction to the survey -https://docs.google.com/document/d/16mk3_lySLIbEq3_YVWvoZFYQUglgtXeov0PI8d4Q4-E/edit


Katacoda: Frontend - Query Caching

Add a Katacoda scenario for KubeCon talk. Simple setup to demonstrate Query Fronted.

Very nice! One suggestion :smile: :

Use thanosbench to generate maybe 1d or 2d data instead of querying Prometheus
Query frontend doesn't cache recent results. And if using 1d data, the cache speed improvement can be observed by the user easily.

@yeya24 I have just seen your comment. It would be a great addition. Let's add it after we merge this. And feel free to contribute. I want to ship this today before our KubeCon talk.

I'm merging this one. I'm gonna address any discovered issues on later PRs.


[question] how to change the sound pitch?

the audioclip file doesn't have a setPitch method, how to change the pitch of music?
like
...
clip.setPitch(1.1f)
clip.play();

Got it, thank you


Assert error in squad/prepro.py

How should I deal with this error? Thanks!
If I comment out that line, it ends up just failing on another similar assert statement...

Hi, sorry for late response!
The issue might be easily resolved with Python 3 (it seems you are using Python 2). Could you try with Python 3 and let me know if it works?

with python3. everything is fine.


parse defmulti

no multi-methods in core yet, except for pprint

The first usable defmethod appeared in core: cljs.test/report.  ClojureScript Unraveled showed it here.
Will have to parse defmulti, and corresponding defmethods, then transform to combine them into extra sources.  This may even be handled automatically by the name collision combiner used for the core function/macro pairs if we add an extra condition to allow it.