Possibilty to add link or link button in accordion-button without collapsing when clicked

Hello,
I have to set a link in a accordion button and when I click it, it active the collapse, but I don't want to. Can it possible to add the possibility to add link or link button to accordion button and when we click it, it don't open the collapse but only the link.
In my example, the link open a modal but when I click it, it open also the collapse consequently I have to do JS code for constrain that.
Best regards.

If I understand you right, you're trying to place an anchor element inside a button element, which semantically isn't possible in browsers. You might have to play with the markup a bit to make that work.

Close as not planned.


Framegrabs from Sharktopoda vs ffmpeg at the same time do not always match

Related to https://github.com/mbari-org/vars-feedback/issues/56. More details to come.

I ran a program to draw machine learning generated localizations on images grabbed using both ffmpeg and sharktopoda. The localizations line up perfectly on ffmpeg (as expected). However, they don't always line up on Sharktopoda. Maybe 30-50% of the time both tools grab the exact same image. But the rest of the time it looks like Sharktopoda is off by a frame. At least I think it's a single frame.
Note to extact a frame, I send a seek elapsed time command to Sharktopoda, followed by the framegrab command.
The image set is located here

@dingosky Let me know if you have time this week to talk in detail about this. We can use the existing contract to set up payment for you. Hope all is well!

FFMPEG command I used for comparing images from ffmpeg and sharktopoda
# time is hh:mm:ss.sss
ffmpeg -ss <time>  -i "<videourlOrPath>" -frames:v 1 -q:v 1 -hide_banner -loglevel error -y "<imagefile>"

I published a build of sharktopoda 2.1.0 to the video lab. They report the alignment between sharktopoda and ffmpeg is better. The off-by-one frame is only really noticable on i2MAP transects (i.e. a very fast moving vehicle). I ran test with different framecapture methods to confirm @dingosky 's results from https://github.com/dingosky/FrameGrab. In an nutshell:

Sharktopoda 2.1.0 is acting as expected. For a video with a framerate of 60000/1001 (59.94 fps) images it returns frame 0 for 0-16 millis, frame 1 for 17-33, and frame 2 for 34.
FFmpeg returns frame 0 for 0 millis, frame 1 for 1-16 millis, frame 2 for 17-33 millis and frame 3 for 34 millis
OpenCV returns the correct frames by frame number

|| tool || frame 0 || frame 1 || frame 2|| frame 3 ||
| Sharktopoda | 0-16ms | 17-33ms | 34 | n/a |
| FFmpeg  | 0ms | 1 -16ms | 37-33ms | 34ms |


PDOConnector - dblib does not support setting attributes

@flashbackzoo commented on Tue Aug 23 2016
Using:

OSX 10.11.6 (El Capitan)
PHP 5.6.25
dblib PDO driver
silverstripe 3.4

Connecting to a remote Microsoft SQL Server throws this error

Setting $options to null (like I have commented out in the screenshot) fixes the issue.
Would you accept a pull request which conditionally sets $options to null if the driver is dblib?

@dhensby commented on Thu Sep 01 2016
I guess so... @tractorcow?

Not sure this issue has been moved to the correct place. It's an issue with a Framework file, and the project that surfaced the issue isn't using the MSSQL module, so is unrelated.

I think this is the right place for the issue;
What I think PDOConnector needs is a plugin system so that third party modules can inject connection string patterns. This can be a core as well as connector module fix.

Related: https://github.com/silverstripe/silverstripe-framework/issues/8103


[10.x] Runs tests in parallel

This pull request is a work in progress.

php-unit already supports Parallel tests
https://github.com/paratestphp/paratest

Sometimes the following two tests pass and sometimes they fail:

I am putting this on hold because while attempting to run --parallel testing with --order=random, I encountered more shared state than I had anticipated. This indicates that there may be flaky tests in the future.


Update Makefile to set the Go build package

Also change the binary name to "config-validator" and disable cgo.

/lgtm


pipeline stops following Slurm Out of memory error

Description of the bug
The genome I work with is larger than the human genome.
The pipeline stops following a SLURM oom-kill during STAR alignment because attributed memory is too low. The job is not re-run doubling the memory.
.command.log contains
slurmstepd: error: Detected 39 oom-kill event(s) in StepId=36616044.batch. Some of your processes may have been killed by the cgroup out-of-memory handler.
How Can I increase the STAR attributed memory in order to avoid this?
Command used and terminal output
No response
Relevant files
No response
System information
No response

I found the solution in page
https://nf-co.re/rnaseq/usage


Maybe add V6 CIDR to validSubnets in talconfig

        nodeIP:
          validSubnets:
            - <IP_ADDRESS>/27

Also possibly to etcd configuration:
      cluster:
        etcd:
          extraArgs:
            listen-metrics-urls: http://<IP_ADDRESS>:2381
          advertisedSubnets:
            - <IP_ADDRESS>/27

Done for nodeIP, not yet for etcd. Was definitely needed.


Additional styling options

I'd like to see more style options for styling the guideline, for example:

Line style configurability (ability to pick between a solid line, a dashed line or a striped line)
Line width configurability
Line opacity configurability (could be faked, doing that by setting the color close to the background color)

I don't think it would be possible to implement this in the Options menu. It would probably require the configuration commands to be run from the command palette, or a different way to configure the guideline altogether.

I'm thinking we could have a guidelines_style setting in .editorconfig
The syntax would look and behave something like a CSS style for border:
guidelines_style = 1px dotted #FF0000;opacity:0.75

1px specifies the width in pixels.
dotted specifies the line style. Simple to support: solid, dotted and dashed
#FF0000 is the color (RGB). I might be able to support named colors.
opacity:0.75 specifies the alpha for the line (0.0 to 1.0)
For now, I'm not considering setting different styles for each guideline. But that could be added later by extending the syntax of the guidelines setting.

I've started working on this.

Note that # is not going to work for RGB values because it gets parsed as a comment in .editorconfig.
I think we can break with the CSS style and allow the opacity to be specified at the same time as the RGB.
WPF's ColorConverter can parse ARGB values with or without alpha as well as named color values.
Here are some valid styles:

guidelines_style = 1px dotted red   Single pixel, red dotted line
guidelines_style = 1px dashed FF0000    Single pixel, red dashed line (fully opaque)
guidelines style = 2px solid 80000000    Two pixel, solid black line with 50% transparency

Fixed via #38


Display django-summernnote widget not in iframe

From<EMAIL_ADDRESS>(via email)
I’m trying to use django-summernote in my web app, but there’s an issue with it. I didn’t open an ‘issue’ on github, because I think it’s not quite right place for this one - django-summernote uses iframe to display form and this basically disables fullscreen feature. And also I couldn’t change form appearance (e.g. change toolbar background color or make round corners).
Is there any way to build a form (in my webapp's forms.py) that I can use in my templates like {{ form.as_table }}? And if there isn’t, do you have plans to implement this functionality?

It does not work, it just shows empty textarea :(

@lqez i have the same problem. SummernoteInplaceWidget does not work. it shows empty textarea

These problems are up to override admin media files. I'll add an example for it.

I still have the same problem - SummernoteInplaceWidget does not work. it shows empty textare. What is the solution?


design required workflow for supporting the watchdog

this includes:

installation requirements
NB creation modal UI sketch
changes to the NB resources, if any
changes to the NB UI page
UML diagram for the watchdog operation

installation requirements: Ansible, with docker, docker-compose, swarm, and kubernetes modules. Ideally, also pip should be installed such that we can upgrade Ansible if needed
NB creation modal UI sketch: simply add a new tick box for opting in.
changes to the NB resources, if any: one new resource with name TBD
changes to the NB UI page: new tab or field to show the last outputs from the cronjobs
UML diagram for the watchdog operation: the one from above applies
Extra notes:
1 - instead of using an Ansible cronjob, make the NuvlaBox new operation provide a bash script instead, which then calls Ansible inside the host
2 - consider creating and passing a dedicated API key for the cronjob script to be able to report its output to Nuvla

epic created and managed through https://github.com/SixSq/tasklist/issues/1954


Support hostInfo command

This command is used by visualization tools. Its relatively easy to add, we just have to make sure code is portable, as most of the fields in the response are platform specific.

@apkar We have the solution to support hostinfo command in Linux and CentOS. Currently, working on for MAC OS. Could you please assign the ticket to me?


bundle exec middleman server throws following error with ruby ruby 2.2.2p95, bundler version 1.10.6

I get the following error on my console when $ bundle exec middleman server.
Pressing CTRL + C doesn't exit the process and then I have to CTRL + Z and then grep kill the spawned middleman process on my computer. Has this been reported?
/Users/admin/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20: warning: already initialized constant Rouge::Lexers::Shell::KEYWORDS
/Users/admin/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20: warning: previous definition of KEYWORDS was here
/Users/admin/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: already initialized constant Rouge::Lexers::Shell::BUILTINS
/Users/admin/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: previous definition of BUILTINS was here
== The Middleman is loading
== The Middleman is standing watch at http://iMAC.local:4567/ (http://<IP_ADDRESS>:4567/)
== Inspect your site configuration at http://iMAC.local:4567/__middleman

Haven't seen it, but marked as a bug, and I'll take a look some time when I have some free time.

I'm encountering the same issue as well with ruby 2.2.2p95

the same with 2.2.2p95

@drkmen @jochan if you switch to the dev branch, do you still have this problem?


Resolve Relations: sorting issue

Expected Behavior
If you try to resolve relations with (for example):
    $client->resolveRelations('popular-articles.articles');
    $story = $client->getStoryBySlug('home')->getBody();

The API provides you with the related stories in the 'rels' section (with a specific order).
In the main story, you have just the UUID of the related stories (so if you are using the API directly, you have to replace the UUIDs with the related story with the same UUID, found in the 'rels' section). The PHP client makes this for you.
The PHP client, under the hood, takes the related stories and injects them into the right place in the main story.
In this case parsing the main story (the home' in the example, you will find the related stories, and you can access them, for example, with:
$story['story']['content']['body'][1]['articles']

Current Behavior
If you have an array of related stories, the order could be not the same of the UUID listed in the main story.
This is because the UUID is used as key of the array while the library injects the related story, but the UUID as key is used as integer.

Steps to Reproduce
test('v2: check sorting for relations', function () {
    $client = new Client('test', null, $version = 'v2');
    // $client->editMode(false);
    $client->mockable([
        mockResponse('stories-relations', ['x-test' => 1], $version),
    ]);
    $client->resolveRelations('popular-articles.articles');
    $story = $client->getStoryBySlug('home')->getBody();
    $this->assertArrayHasKey('story', $story);
    $this->assertArrayHasKey('rels', $story);
    foreach (range(0, 2) as $i) {
        $this->assertEquals(
            $story['story']['content']['body'][1]['articles'][$i]['uuid'],
            $story['rels'][$i]['uuid'],
            'checking the ' . $i . ' relations'
        );
    }
});

Looking under the hood this is not an issue.
The element that determins the sorting of the relartions is the array of UUIDs .
In the dataset i created for testing stories-rleations.json the order is:
["997cfee2-cec3-4cad-9e06-7ef3d72f5b7d", "ba307a05-2b91-4ce8-ab24-bf328da1adb4", "c3a321a5-1163-4281-8643-2c79c13e22a3"]
so i created a specific test:
test('v2: check sorting for relations', function () {
    $client = new Client('test', null, $version = 'v2');
    // $client->editMode(false);
    $client->mockable([
        mockResponse('stories-relations', ['x-test' => 1], $version),
    ]);
    $client->resolveRelations('popular-articles.articles');
    $story = $client->getStoryBySlug('home')->getBody();
    $this->assertArrayHasKey('story', $story);
    $this->assertArrayHasKey('rels', $story);
    // With the dataset provided the right order should be
    // ["997cfee2-cec3-4cad-9e06-7ef3d72f5b7d", "ba307a05-2b91-4ce8-ab24-bf328da1adb4", "c3a321a5-1163-4281-8643-2c79c13e22a3"]
    $this->assertEquals(
        '997cfee2-cec3-4cad-9e06-7ef3d72f5b7d',
        $story['story']['content']['body'][1]['articles'][0]['uuid'],
        'checking the first relation'
    );
    $this->assertEquals(
        'ba307a05-2b91-4ce8-ab24-bf328da1adb4',
        $story['story']['content']['body'][1]['articles'][1]['uuid'],
        'checking the second relation'
    );
    $this->assertEquals(
        'c3a321a5-1163-4281-8643-2c79c13e22a3',
        $story['story']['content']['body'][1]['articles'][2]['uuid'],
        'checking the third relation'
    );

});

So i can close this issue.
I don't want to delete it to keep track in the history. If some developer has this kind of misunderstanding, the developer can find some explanation here (with the test I added in this comment).


Use of undeclared type 'SearchHomeCollectionViewCell'

Use of undeclared type 'SearchHomeCollectionViewCell'
Use of undeclared type 'SearchHomeVC'
somebody help asap
i am getting 3 errors in R generated file

Sounds like this issue that is documented in the Q&A section: https://github.com/mac-cain13/R.swift/blob/master/Documentation/QandA.md#how-to-fix-missing-imports-in-the-generated-file
Could you see if this fixes things for you?


Python: Fix attribute error in basic_planner.py under class Plan

Fixes #2703
Description
Resolved attribute error in the Plan class under basic_planner.py.
Contribution Checklist

[ ] The code builds clean without any errors or warnings
[X] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[ ] All unit tests pass, and I have added new tests where possible

Unit test results :

Thank you for catching this! @AdarshAcharya5


bug: OnTenantNotResolved not called correctly (#628)

As mentioned in #628 OnTenantNotResolved does not get called correctly when no identifier is found in any strategy.
I added tests to cover this event as well as the OnTenantResolved event.

@dotnet-policy-service agree

Thanks!

Hi, are there any plans to commit it in main?
Thanks!

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

This change broke my code and I was the original contributor of the OnTenantNotResolved haha. Now it seems to be firing way too early?


feat: implement custom join lines command/keybinding

Just for fun I've implemented handling for one more custom request for joining lines.
It's bound to default join lines key binding but it will fall back to the native one if server is not active or returns an error for some reason.
The placement of the command differs from already implemented commands but I would rather use that approach and convert existing commands to use the same way in the future for more clarity.
Fixes #29

Hello Rafal,
I noticed two issues.
Undo issue
it messes the undo history. Lets say I have 4 lines.
fn main() {
    println!("Hello, world!"); | // cursor is here
    println!("Hello, world!");
    println!("Hello, world!");
    println!("Hello, world!");
}

If i trigger the rust_analyzer_join_lines command 24x. I would expect that only 3 edits occur, so I would need to undo 3 times. Instead, I need to undo 24x to undo the change...

Interestingly, the native join lines command only requires one undo to undo the 3 join lines.

Lost text issue
If you quickly trigger the rust_analyzer_join_lines command, text can get lost:

That looks like it needs a changes purged before triggering the request.
I also so that doing commands that fast can actually make the code invalid.

Latest update should address undo but I still see it sometimes breaking the code. I might have to add some manual change_count check as server doesn't specify document version in the edit it returns so it's not possible to know whether the edit is outdated.

Wrong edits should be also fixed.


Add Contributors.md and Modify README.MD file

Hai,
I would love to add the Contributors.md file to your project in the form of a table and display a link to it in the README.md file. I would also add a link to the Code of Conduct in README.md. If you like I can also add badges for forks, open issue, and pull request in README.md

I would love to work on this issue as a part of DWOC. Kindly assign it to me

I would love to work on this issue as a part of DWOC. Kindly assign it to me


Add Pharaoh to Box

[x] PHP settings
[ ] Any code change, merge back to the original repo?
[x] Tests

Hello @paragonie-scott,
So in this PR you can see the integration to Box, I'm wondering if there is anything that can and is worth merging back to Pharaoh. As you can see the integration was relatively simple, the differences  lies in:

using the Symfony Console component
restarting the PHP process if phar.readonly is on On
working on PHAR files which do not have the .phar extension

There however still seem to be an issue with the actual diff command. Indeed whenever I run the DiffTest test, the fixtures PHARs are marked as changed by git (for both git & GNU diff). Also if I compare Box PHAR with itself, it does find differences which is very weird:
$ bin/box diff bin/box.phar box.phar --gnu-diff
diff --git a/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_ySK8C2/vendor/symfony/var-dumper/Dumper/HtmlDumper.php b/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_WOkOlh/vendor/symfony/var-dumper/Dumper/HtmlDumper.php
index f68fe9a..bae1b8b 100644
Binary files a/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_ySK8C2/vendor/symfony/var-dumper/Dumper/HtmlDumper.php and b/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_WOkOlh/vendor/symfony/var-dumper/Dumper/HtmlDumper.php differ
diff --git a/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_ySK8C2/vendor/webmozart/assert/src/Assert.php b/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_WOkOlh/vendor/webmozart/assert/src/Assert.php
index 09b634a..3cc281b 100644
Binary files a/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_ySK8C2/vendor/webmozart/assert/src/Assert.php and b/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_WOkOlh/vendor/webmozart/assert/src/Assert.php differ
diff --git a/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_ySK8C2/vendor/webmozart/path-util/src/Path.php b/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_WOkOlh/vendor/webmozart/path-util/src/Path.php
index 43ef4eb..6bbf229 100644
Binary files a/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_ySK8C2/vendor/webmozart/path-util/src/Path.php and b/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_WOkOlh/vendor/webmozart/path-util/src/Path.php differ
diff --git a/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_ySK8C2/vendor/webmozart/path-util/src/Url.php b/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_WOkOlh/vendor/webmozart/path-util/src/Url.php
index fef937e..e177568 100644
Binary files a/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_ySK8C2/vendor/webmozart/path-util/src/Url.php and b/private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_WOkOlh/vendor/webmozart/path-util/src/Url.php differ

$ bin/box diff bin/box.phar box.phar --gnu-diff
Common subdirectories: /private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_MuHyEP/.box and /private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_Glt0qm/.box
Common subdirectories: /private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_MuHyEP/.requirement-checker and /private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_Glt0qm/.requirement-checker
Common subdirectories: /private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_MuHyEP/bin and /private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_Glt0qm/bin
Common subdirectories: /private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_MuHyEP/res and /private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_Glt0qm/res
Common subdirectories: /private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_MuHyEP/src and /private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_Glt0qm/src
Common subdirectories: /private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_MuHyEP/vendor and /private/var/folders/p3/lkw0cgjj2fq0656q_9rd0mk80000gn/T/phr_Glt0qm/vendor

I couldn't check any deeper yet though


Add DeflaterPostProcessor and InflatorPostProcessor classes

This is adding DeflaterPostProcessor and InflatorPostProcessor classes to the org.springframework.amqp.support.postprocessor as well as a few unit tests.  I did my best to follow the style and logic of how Gary coded the other PostpProcessor classes.
Related to this issue I created earlier today:
https://github.com/spring-projects/spring-amqp/issues/1094

I just pushed the comments now.  I wasn't sure how verbose you wanted them to be, so I was rather brief on them to start out.

LGTM


report/publication

From<EMAIL_ADDRESS>on September 14, 2010 17:46:18
From a conversation with Mathias Brochhausen:
... there is some mess with report and publication being parallel and journal article being one and publication about investigation being in other.
On quick inspection it looks like the hierarchy should be:
report
publication
journal article
publication about an investigation
With publication about an investigation being a defined class, as otherwise journal article about an investigation would have two asserted parents.
I think the genesis of this was parallel work by OBI and Larry Hunter that wasn't fully integrated.
Original issue: http://code.google.com/p/information-artifact-ontology/issues/detail?id=85

From<EMAIL_ADDRESS>on January 19, 2011 14:28:44
See also related https://code.google.com/p/information-artifact-ontology/issues/detail?id=33
Cc: mcourtot


Couple idea for next major version (roadmap)

Hi, i have couple idea for upgrade and maintening this good project (and i would be happy to contribute there).

In reference to bootstrap, remove jquery from this project seems a good idea
Use most modern syntax it's also a good idea... Maybe js Class ? (like bootstrap 5) Don't hesitate to propose another approach. In first time support bootstrap 5 with Jquery it's better, but after this maybe interesting to do ?
I also see the project use less and sass , why ? Use only sass isn't a good approach ?
Automatise test (jest or another)
Add script into package.json for simplify development
Integrating Typescript ?

Don't hesitate to correct me or suggest other ideas that I would add.
Best regards.

For 5. I already added a bunch of stuff in the Gruntfile ;)

I think it's fine to use grunt, as it allow more things than npm scripts. So if Grunt is here, let's use that.
As for the rest of your ideas, my point of vue is that we should focus on fixing bugs first, before planning a big rewrite that will never happen ;)
Everyone wants to drop jquery but this is actually a jquery plugin, so IMHO something that doesn't rely on jquery or bootstrap (it has been asked) would be a different project altogether!

How can I put the liveSearchNormalize option for all selects?
I'm using bootstrap 5.1.3 + Bootstrap-select v1.14.0-beta2
$('select').selectpicker( ??? );
or what I do and work but I don't know if it is a missil on an ant..
$.fn.selectpicker.Constructor.DEFAULTS.liveSearchNormalize = 'true';

@EduVillas hmm please use this issues section with parsimony, you're issue has exactly 0% relation with this discussion..
But to respond.. for put liveSearchNormalize for all selects best thing yes, it's this -> $.fn.selectpicker.Constructor.DEFAULTS.liveSearchNormalize = 'true'


firefox-bin: 86.0 -> 86.0.1

Motivation for this change

Fixed a frequent Linux crash on browser launch
Other fixes

https://www.mozilla.org/en-US/firefox/86.0.1/releasenotes/
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 116040 1 (x86_64-linux)

4 packages built:

dropbox
dropbox-cli
firefox-bin-unwrapped
mate.caja-dropbox

Built and launched firefox-bin, no obvious defects.


v0.72 Incompatible with Intel Core i7?

Microsoft PowerToys version
0.72.0
Installation method
GitHub, PowerToys auto-update
Running as admin
No
Area(s) with issue?
Installer
Steps to reproduce
PowerToys v0.71 worked fine but I noticed it suggesting upgrading to new version of v0.72, so here's what happened:

I first clicked "Install" and nothing happened
Then I clicked "Install" again and it looked like it was updating, then it shut down and my EXE file to launch the app no longer worked. I believe this means it uninstalled.
So, I went to GitHub to grab the new version EXE install
When it was trying to install, it gave me an error that this version is incompatible with my processor. Sorry I don't have time to reproduce and get exact message.

Here's my exact specs:
Processor	Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz   3.60 GHz
Installed RAM	32.0 GB
Device ID	9453E765-E2FF-4D9A-B719-E4E45368B628
System type	64-bit operating system, x64-based processor
Display adapter   NVIDIA GeForce RTX 2070 Super
Monitor 34" LG Ultrawide, Generic PnP Monitor
I reinstalled v0.71 and it's up and running just fine, so may want to check why v0.72 doesn't work on my machine.
Thanks for your lovely software though! PowerToys is awesome.
✔ Expected Behavior
For v0.72 to work on my pretty standard Windows 10 machine.
❌ Actual Behavior
I got an error that v0.72 doesn't work with my processor. That's about all it said and then shut down the installer.
Other Software
No response

Hi @nixnixnix , is this the error window you were getting

?
If yes, are you sure you downloaded correct installer ? i.e. x64 one, not ARM64 ?
Could you attach /bugreport to try to figure out why automatic update failed? Thanks in advance


Remove files-in-use dialog.  Puts up warning that's not necessary; and

if the files are in use, a reboot will be scheduled regardless

This didn't fix the issue for me, I think it's because we should be removing the MsiRMFilesInUse [1] dialog instead of the FilesInUse [2] dialog.
[1] https://docs.microsoft.com/en-us/windows/win32/msi/msirmfilesinuse-dialog
[2] https://docs.microsoft.com/en-us/windows/win32/msi/FilesInUse-dialog

Not used.  Solved another way


[Theme] Improve the current approach

TL;DR
I have seen two possible options:

This one
Forbid people to nest MuiThemeProvider and to make them call getMuiTheme from scratch each time they want to change it muiTheme. We can still auto document the keys in this case.

The conversation started here https://github.com/callemall/material-ui/issues/3336.
I have done this PR to illustrate how we could address this issue (and can be merged like this).
What we want
But what is this issue? Well, we want multiple things:

Be able to customize all the instances of the same component. For instance, we want all the  Snackbar to look the same across the all UI
Be able to document what properties we can changed and how this will look like
Be able to change the muiTheme on the fly and keeping it immutable
How know? Maybe someone will want to nest some MuiThemeProvider

What's hard
The hard part here is that we have a baseTheme that is used to compute rawTheme.
Then we need to find a way to merge an old muiTheme with a new one. How do we know which keys of a snackbar need to be recomputed from the baseTheme and which one the user wants to override?
Have a looks at https://github.com/callemall/material-ui/pull/3340/files#diff-3fa66730c1762ffa59a9426f7ab24751R59.
How I'm solving it
The idea is to move the keys for each component out of the muiTheme. The first advantage is to make the getMuiTheme far simpler. People don't have to know what computations will be applied, all they have to know is how component use those keys. The implementation of the getMuiTheme will be as simple as:
export default function getMuiTheme(muiTheme, ...more) {
  muiTheme = merge({
    zIndex,
    isRtl: false,
    userAgent: undefined,
  }, lightBaseTheme, muiTheme, ...more);

  const transformers = [autoprefixer, rtl, callOnce]
    .map((t) => t(muiTheme))
    .filter((t) => t);
  muiTheme.prepareStyles = compose(...transformers);

  return muiTheme;
}

Then, each component needs a function that built an object of keys that can be customized. For instance with the snackbar:
export function getStylesTheme(muiTheme) {
  const palette = muiTheme.palette;

  return Object.assign({
    textColor: palette.alternateTextColor,
    backgroundColor: palette.textColor,
    actionColor: palette.accent1Color,
  }, muiTheme.snackbar);
}

What is awesome with this, is that we can autodocument the customizations point of the Snackbar by calling getStylesTheme with
muiTheme = {
  palette: {
    alternateTextColor: 'palette.alternateTextColor',
    textColor: 'palette.textColor',
    accent1Color: 'palette.accent1Color',
  },
};

This solution  is backward compatible but will need some migration.
Regarding performances
We will end up with a bit more of CPU cycles used to compute the style.

I really like that idea. :+1: :+1:
I also have one concern. we should tell people that the values for each component will no longer be available on the theme object. If they relied on this. This can be pretty breaking on so many levels. And we never told people not to touch the theme.  But it's a must :grin:

we should tell people that the values for each component will no longer be available on the theme object. If they relied on this.

That's a very good point!

This will be hard to memoize though -_-
I'll try to come up with something.

The idea is to move the keys for each component out of the muiTheme. The first advantage is to make the getMuiTheme far simpler. People don't have to know what computations will be applied, all they have to know is how component use those keys.

I like this, I think it's much simpler and what I was hoping to achieve with #2509.

Then, each component needs a function that built an object of keys that can be customized. For instance with the snackbar:

I like putting these functions with the component. Out of curiosity, would components have to call this function themselves or would they get the result passed to them somehow?

What is awesome with this, is that we can autodocument the customizations point of the Snackbar by calling getStylesTheme with

Anyway we can auto document customizations would be absolutely beautiful and is a must for this project in my opinion :heart_eyes:
A few questions:

Be able to customize all the instances of the same component. For instance, we want all the Snackbar to look the same across the all UI

From a user API perspective, how would this work with this PR?

This is a new question that wasn't the original purpose of this discussion, but if we wanted to deprecate theme props, what do you think is the best way to do this?

I like putting these functions with the component.

Me too :heart_eyes:

Out of curiosity, would components have to call this function themselves or would they get the result passed to them somehow?

I'm working on a way these can be passed down as themeStyles that can also be fed into the selectors ( of memoization that I'm working on) to maximize performance :racehorse:

From a user API perspective, how would this work with this PR?

They just provide a key on the theme object when calling getMuiTheme(...).
see here
Like: getMuiTheme({snackbar: {color: ...}})

Is that even possible? O.o maybe property getters? but only es5.1 and higher have them -_-

Yeah that's my point, I don't think it is right now which sucks! ES proxies would be nice but I don't know if there's enough support for it. Unless we just pass the theme through some kind of validating function first in development to check for deprecations. Not sure.

Unless we just pass the theme through some kind of validating function first in development to check for deprecations. Not sure.

Hmmm interesting... I like that idea :+1: Like how callOnce works :+1:

@oliviertassinari Let's get this into the alpha before we document the current approach. We shouldn't do any documentation on the previous way if this is to be accepted ( in my book this is awesome :heart_eyes: ) Take a look at my comment. If everyone agrees we should merge this and migrate the components under an umbrella issue.

Hey guys. Honestly, for some reason, I'm still not completely settled and happy with any of the theming approaches we've come up with so far (including my own :laughing:).
That being said, I think this PR achieves at least the following:

Fixes the core issue described in #3336
Improves code clarity by moving theme mapping to component files (and as a result significantly simplifies what is stored in muiTheme)
Simplifies theme customization for end users using getMuiTheme() function by removing the distinction between baseTheme and muiTheme

I think this PR represents a step in the right direction and I wouldn't argue if we decided to merge and move forward with this.
Note: Don't get me wrong, I like a lot of things about this. I just haven't shaken off that "I feel like we're missing something." feeling yet.

I'm still not completely settled and happy with any of the theming approaches we've come up with so far (including my own :laughing:).

Same for me. I'm kind of hesitating on merging this PR :grin:.
@newoga I'm happy with 1. and 3. I'm not convinced by 2. I think that we should wait to have a good memoization technique before pushing this forward. We are going to introduce a small performance regression otherwise.
What do you think about removing 2. and updating the documentation before merging this PR?

Ok guys. I think it's not bad to hold off this PR a day or 2 longer. I'll have free time for 2 days. I'll keep working on #3268 and get back to this :+1:

Guys. What do think if we follow @newoga's approach and move this function into the muiThemeable? that way we'll only have one HOC for these concerns. What I mean is what if we have a themeSelector function passed down to muiThemeable, and muiThemeable would keep the object until the theme on context changes. with each change it will call the function again, keep it as state and never call that function again until context changes again. it will then pass it down as themeStyles and only the needed keys will go there. in the function we can override, select, calculate and pretty much anything we want and it's going to be called only once!

@alitaheri Yeah, I love this idea. It looks like @newoga dreams will become a reality :+1:.

Sounds good :+1: @newoga's approach was the best in my opinion. it only lacked a single Object.assign :laughing: :laughing:

it only lacked a single Object.assign

That's so true :100:. I'm glad that we had started looking for other solutions. We just failed :grin:.
@newoga :clap:.

What do you think about removing 2. and updating the documentation before merging this PR?

Yeah let's finish this PR and get that one issue resolved! :+1:

Sounds good :+1: @newoga's approach was the best in my opinion. it only lacked a single Object.assign :laughing: :laughing:
I'm glad that we had started looking for other solutions. We just failed :grin:.

As long as it's something that we all considered, discussed, implemented, and corrected, I consider it our approach, not mine. :smile: Thanks guys!
It sounds like we're getting close, however let's continue to move and evaluate carefully. :+1:

I have done some aggressive changes to the documentation. That's ready to be reviewed :tada:.

I'm loving this :heart_eyes: :heart_eyes: I'd say let's go ahead and merge. This is the best approach I can think of.

I have done some aggressive changes to the documentation. That's ready to be reviewed :tada:.

I'm good with the changes! :+1:

Yeah :tada:

Awesome :tada: :heart_eyes:


Validate terraform samples as a PR check

Closes #1801
Proposed Changes

use tflint to check samples

I submit this contribution under Apache-2.0 license.

Current progress:
>>------------------------------------------------
found 63 issues in 478 file checked
>>------------------------------------------------


⚠ Fetchers has degraded performance

In db8fe46, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 480 ms

Resolved: Fetchers performance has improved in 7ba74fd.


How do I modify or load JSON in SharePoint online site

I have found many web articles saying how to create or edit a JSON to format SharePoint Sites.
This is all well and good but I don't know how to apply these changes.  Is there an existing JSON I need to update?  Do I create my own then run some sort of command in PowerShell connected to the SharePoint Online site???  What would that command be?
BTW.  My goal is to force my SharePoint Online Modern Team Site to use my web part to occupy the full width of the page rather than to leave that ugly white space to the right.  Additionally to lessen the need to scroll to see the entire width of that web part.
My apologies if this is the wrong forum for this kind of question.
Thank you,
Tim

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

ID: 27d43002-eb85-711b-a441-6fc772614e6b
Version Independent ID: 6ef38943-3cb1-ff5f-0fbb-1498b63f6cc9
Content: SharePoint site theming - REST API
Content Source: docs/declarative-customization/site-theming/sharepoint-site-theming-rest-api.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

There is no supported way to remove the white space on the right of your Modern Team sites, or modify the display of the modern Web Parts.
If you'd like to use up a bit more space of the screen, you could opt for Communication Sites instead of Team Sites.
However,  what you are trying to achieve is not available.

Hi Beau,
Thank you for the quick response.
I understand that it is not a ‘current’ feature of SharePoint Online but I am wondering if there is any kind of a fix for this in the future.  It seems to be a pretty popular request and has been for a while.
Mostly this submission was to see if we could get some action going on this feature request.
Thanks for you time,
Tim Shegrud
From: Beau Cameron<EMAIL_ADDRESS>Sent: Thursday, October 24, 2019 1:18 PM
To: SharePoint/sp-dev-docs<EMAIL_ADDRESS>Cc: Tim Shegrud<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [SharePoint/sp-dev-docs] How do I modify or load JSON in SharePoint online site (#4823)
There is no supported way to remove the white space on the right of your Modern Team sites, or modify the display of the modern Web Parts.
If you'd like to use up a bit more space of the screen, you could opt for Communication Sites instead of Team Sites.
However, what you are trying to achieve is not available.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/SharePoint/sp-dev-docs/issues/4823?email_source=notifications&email_token=ANSWJQWVIBCD3JBVTKNC4A3QQH7HLA5CNFSM4JEYB642YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECGJRSQ#issuecomment-546085066, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANSWJQXPLF2N7NOSR4NL3QDQQH7HLANCNFSM4JEYB64Q.

If you would like to get some enhancements, the best place for this would be the UserVoice.
There are already a lot of suggestions you can vote for.
https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/32879746-much-too-much-white-space
https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/32858962-too-much-white-space
https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/33118819-too-much-white-space


improvementReturn -1 to neredis if report olap table row count for new table is not done for all tablets. (#40457)

backport: https://github.com/apache/doris/pull/40457

run beut


Question about a pattern for handling an optimistic update that is rejected

I am using this library in the context of a CRUD application, and so far it does what I need, so thanks for creating it :)
However, I have a question about how to handle an optimistic update that is rejected, and should be rolled back. Please help me if I'm just misunderstanding something, but imagine I have the following scenario:

A user edits some entity in the application, and wishes to save it (using an API)
We dispatch an "update" action that includes a promise and the new entity as the 'data' property
We handle the _PENDING action in the reducer and apply the optimistic update to the state tree (note, at this point I have now lost the previous state for the affected entity)
The promise is then rejected so how can I restore the affected entity back to what it was?

I think there's a simple pattern I just don't see yet, but how are others handling a case like this? Do I need to capture the original entity in my action creator and dispatch some other action in the result of a failure to "roll back" my optimistic update?
Thanks for any guidance!

Hey @sstorie
So you're totally correct with the first 3 points.
In point four, currently according to FSA, when rejecting the promise, you can reject with an Error object or something along those lines. Promise middleware will then dispatch a _REJECTED action type with whatever you returned/resolve in your rejected promise and set that as the payload.
This _REJECTED payload should contain the information about the item(s) that need(s) rolling back and so the reducer will just perform the state rollback in the _REJECTED handler.
Another option is to supply meta information that will be consistent with all action type suffixes which the _REJECTED handler can read to perform the rollback, but I personally find an error payload to be more explicit.

Ok, so I'm using this in an Angular/Typescript application, and here's what I've come up with for handling this inside an action creator service. I think I need to wrap the http promise with my own so I can modify what's returned when it succeeds or fails (this is part of what I was not understanding earlier):
    updateModelAsync(updatedModel: models.MyModel, originalModel: models.MyModel): void {
        let deferred = this.$q.defer();

        // Create the action using this wrapping promise and pass the updated model as optimistic data
        //
        let action = createAsyncAction(
            actions.UPDATE_MODEL,
            deferred.promise,
            updatedModel);

        this.$http.put<models.MyModel>("/my/api/", updatedModel)
            .success((response: models.MyModel) => {
                // Do other work related to this action

                // Resolve our wrapping promise with this result so it's passed down the pipeline
                //
                deferred.resolve(response);
            })
            .error((error: any) => {
                // Do specific error handling stuff here

                // Reject our wrapping promise with the original fixture so it's passed down the pipeline
                //
                deferred.reject(originalFixture);
            });

        this.$ngRedux.dispatch(action);
    }

This might be a bit simplistic because I'm not passing along any error details with the rejected promise, but this could be modified to do something like that.


Setting picker.setOptions on click of a future day reverts the calendar back to the current month

I am looking to set the minDays option on click of a day, due to a different minimum stay applying depending on the day selected within the calendar. There doesn't seem to be a 'setMinDays' method so I am doing this on click of an active day and grabbing the date via the data-time attribute. I have my calendar set with the following options:
let picker = new Litepicker({
                element: document.getElementById('availability-calendar'),
                inlineMode: true,
                singleMode: false,
                format: 'DD/MM/YYYY',
                numberOfMonths: 2,
                numberOfColumns: 2,
                hotelMode: true,
                selectForward: true,
                minDays: 3,
                lang: 'en-GB',
                minDate: new Date()
});

On click of a day I'm then setting this via:
picker.setOptions({
                minDays: 7
});

This is working fine but when I click my first day, e.g. 1st September 2021, the calendar then flicks back to the current month (October 2020) rather than staying on September 2021. Does anyone know why this may be?

with v2 and preselect event, you can do something like this:
// for example you need to change minDays when user selected Sunday
new Litepicker({
  element: document.getElementById('datepicker'),
  singleMode: false,
  setup: (picker) => {
    picker.on('preselect', (d1, d2) => {
       picker.options.minDays = d1.getDay() === 0 ? 7 : 3;
       // render calendar with new options
       picker.render();
    });
  }
})

Perfect, thanks very much


2.9.3 with code generation bug

Looking at the changelog, 2.9.3 rewrote the code generation for the with statement.
This prevents variables defined in an opening with block
{%- with -%}  {# <-- this line right here #}
...
{%- endwith -%}

from being accessed in the same opening with block.
Expected Behavior
If two variables are defined in an opening with block (a and b) then you should be able to set the default value of the second variable to be equal to the first. (a=1, b=a)
Actual Behavior
This presumably sets the default value of the second variable to None, or whatever jinja2's equivalent is.
Template Code
{%- with a=1, b=a -%}
  {{ a }} | {{ b }}
{%- endwith -%}

This would just result in 1|
Alternate Template Code
{%- with a={}, b=a.update({1:2}) -%}
  {{ a }}
{%- endwith -%}

If, for example, you use a dictionary as a default value, like flask_bootstrap does, then you won't be able to access one of its methods (like update) without getting the following traceback.
Full Traceback
self = <jinja2.environment.Environment object at 0x7f11a163fbe0>, obj = Undefined
attribute = 'update'

    def getattr(self, obj, attribute):
        """Get an item or attribute of an object but prefer the attribute.
            Unlike :meth:`getitem` the attribute *must* be a bytestring.
            """
        try:
>           return getattr(obj, attribute)
E           jinja2.exceptions.UndefinedError: 'a' is undefined

Your Environment

Python version: 3.5.2
Jinja version: 2.9.3

To be honest, I'm not sure if I want to call this a "bug", but it was a thing that existed prior to 2.9.3. I'm bringing this to light because flask_bootstrap uses it, so there might be other projects out there that relied on this functionality.

Annoyingly this is actually the root of a pretty severe scoping bug which is why I had to change it. IF you did for instance {% with a=b, b=42 %} unclear things would happen under the new scoping rules. This definitely was not intended behavior.
I'm willing to just define the new behavior the intended one going forward with 2.9.

If this does end up being "worksasdesigned", then @brookskindle do you mind filing a bug against flask_bootstrap?
I use flask_bootstrap myself on a few projects, so trying to avoid the inevitability that I will forget about this issue when upgrading dependencies.

Yeah if it broke when moving from 2.8.x to 2.9.x I probably wouldn't have investigated too deeply, but I tried this out on 2.9.2 and it worked, hence why I put bug in the title.
@mitsuhiko do you think this is worth documenting / putting a notice somewhere in the documentation that "the following code does not work" (or something like that)?
@jeffwidman Already ahead of you :) See https://github.com/mbr/flask-bootstrap/pull/149, author notes that <IP_ADDRESS> has the fix. None of the other libraries/projects that I use have run into this problem, but that doesn't mean they don't exist.


Configure peer store to persist peers accross restarts

https://github.com/libp2p/js-libp2p/blob/master/doc/CONFIGURATION.md#configuring-peerstore

Maybe it's best to use https://github.com/ipfs/js-datastore-level and store as separate db


Fix IllegalStateException that is raised when AuditLogImpl.close() is called from ES Bootstrap shutdown hook.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Where is this IllegalStateException seen? Is it in the tests or actual execution?
Could post the entire stack trace for tracking purposes and also what is the cause and fix. There was recently merged PR around the same issue #663

Where is this IllegalStateException seen? Is it in the tests or actual execution?
Could post the entire stack trace for tracking purposes and also what is the cause and fix. There was recently merged PR around the same issue #663

The IllegalStateException is raised when ES shutdowns:
java.lang.IllegalStateException: Shutdown in progress
	at java.lang.ApplicationShutdownHooks.remove(ApplicationShutdownHooks.java:82) ~[?:?]
	at java.lang.Runtime.removeShutdownHook(Runtime.java:241) ~[?:?]
	at com.amazon.opendistroforelasticsearch.security.auditlog.impl.AuditLogImpl.removeShutdownHook(AuditLogImpl.java:110) ~[opendistro_security-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at com.amazon.opendistroforelasticsearch.security.auditlog.impl.AuditLogImpl.close(AuditLogImpl.java:120) [opendistro_security-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at com.amazon.opendistroforelasticsearch.security.OpenDistroSecurityPlugin.close(OpenDistroSecurityPlugin.java:214) [opendistro_security-<IP_ADDRESS>.jar:<IP_ADDRESS>]t
	at org.elasticsearch.core.internal.io.IOUtils.close(IOUtils.java:106) [elasticsearch-core-7.9.1.jar:7.9.1]
	at org.elasticsearch.core.internal.io.IOUtils.close(IOUtils.java:88) [elasticsearch-core-7.9.1.jar:7.9.1]
	at org.elasticsearch.node.Node.close(Node.java:989) [elasticsearch-7.9.1.jar:7.9.1]
	at org.elasticsearch.core.internal.io.IOUtils.close(IOUtils.java:106) [elasticsearch-core-7.9.1.jar:7.9.1]
	at org.elasticsearch.core.internal.io.IOUtils.close(IOUtils.java:64) [elasticsearch-core-7.9.1.jar:7.9.1]
	at org.elasticsearch.bootstrap.Bootstrap$4.run(Bootstrap.java:192) [elasticsearch-7.9.1.jar:7.9.1]
[2020-10-13T17:35:48,630][INFO ][o.e.n.Node               ] [f8ffc25c3c1d.ant.amazon.com] closed

#663 did not account for a possibility that AuditLogImpl.close() is called as part of another (not the one that it registers) shutdown hook.


update pe-parse to version 2.1.0

Describe the pull request

What does your PR fix?
Updates pe-parse version to include new capabilities.

Does your PR follow the maintainer guide?

Yes

@microsoft-github-policy-service agree [company="Trail of Bits"]

@microsoft-github-policy-service agree company="Trail of Bits"

@microsoft-github-policy-service agree

Thanks for the update!


[UX] Make footer more visibel as a separate component

Add borders or background to make it look better and stand out from other content ;)
Also please include language selector there.
Some inspiration

Designs added.


Pipeline not found error at put

We use concourse-pipeline-resource with concourse 2.7.1 without any issues.
Since the update of concourse to 3.1.1, concourse-pipeline-resource fail (re-)creating pipelines which doesn't already exist.
The error message is:
2017/06/14 13:44:42 error from target: http://<concourse_url> - Pipeline not found: <pipeline_name>
Best Regards

That's odd, it's not the behavior I see when I use the resource against concourse 3.1.1 (e.g. https://concourse.robdimsdale.com/teams/concourse-pipeline-resource-test/pipelines/concourse-pipeline-resource-acceptance/jobs/set-concourse-pipeline-resource-acceptance/builds/4).
Perhaps the pipeline moved to a different team?

I just reproduced the error using Vagrant. It works on 2.7.0, fail on 3.1.1.
If the pipeline doesn't exist, you have an error, instead of pipeline creation.
You can reproduce it easily, i put the files here:
https://github.com/vspiewak/set-pipeline-test
`
vagrant box add concourse/lite --box-version 2.7.0
vagrant up
fly --target tutorial sync
fly --target tutorial login --concourse-url http://<IP_ADDRESS>:8080
fly -t tutorial set-team -n my-team --basic-auth-username ci --basic-auth-password changeme
fly --target tutorial set-pipeline --config configure.yaml --pipeline test-issue
this works fine
then on 3.1.1 it will fail
vagrant box add concourse/lite --box-version 3.1.1
vagrant up
#repeat
`

@vito any thoughts why pipeline creation using the concourse pipeline resource worked on 2.7.0 but not on 3.1.1? Anything significant changed in the API here?

We return a 404 rather than a blank config if the requested pipeline doesn't exist.

Ok makes sense. Is that a new change between 2.7 and 3.1?

yep

Will this be fixed? :-)

@mschirmacher yes this is something that should be fixed. I don't have a lot of bandwidth right now to tackle this, so PRs would be more than welcome!

This is probably fixed when we moved to using fly?

Can you do a release ?

There's no need to make releases, anymore. Including the resource type as the concourse/concourse-pipeline-resource docker image will automatically pull in the most recent changes.
Please follow the updated usage instructions in the Readme.
On Jul 22, 2017, 9:27 AM -0700, Vincent Spiewak<EMAIL_ADDRESS>wrote:

Can you do a release ?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.


fix: MapConfiguration.interaction_configuration is not honoured

Description
Fixes #3973

Summary by Sourcery
Fix the issue where MapConfiguration.interaction_configuration was not being honored by adding the interactionOptions to MapOptions. Enhance the map functionality by introducing support for pointer hover events, allowing the map to trigger a pointer_hover event with latitude, longitude, and pointer details.
Bug Fixes:

Ensure MapConfiguration.interaction_configuration is correctly applied by adding the interactionOptions parameter to MapOptions.

Enhancements:

Add support for handling pointer hover events on the map, triggering a pointer_hover event with relevant details.

Hi,
I just installed Flet v0.25.0 Release but the problem is still present : MapConfiguration.interaction_configuration is not honoured.
I tried these flags  flags=map.MapInteractiveFlag.ALL & ~map.MapInteractiveFlag.ROTATE
I tested on Windows 11.
I also tried to test on IOS (iPad & iPhone), but Map doesn't display !!! I have to regress to Flet v0.24.1

It works on my mac:
import random
import flet as ft
import flet.map as map

def main(page: ft.Page):

    page.add(
        map.Map(
            expand=True,
            initial_center=map.MapLatitudeLongitude(15, 10),
            initial_zoom=4.2,
            interaction_configuration=map.MapInteractionConfiguration(
                flags=map.MapInteractiveFlag.NONE
            ),
            on_init=lambda e: print(f"Initialized Map"),
            layers=[
                map.TileLayer(
                    url_template="https://tile.openstreetmap.org/{z}/{x}/{y}.png",
                    on_image_error=lambda e: print("TileLayer Error"),
                ),
            ],
        ),
    )

ft.app(main)

Give the above a try.

 Rotate Flag !
Did you try to Rotate on Mac?
I tried your code on iPad (v0.24.1 app) and Windows 11 as server with v0.25.0... Map doesn't display.
Should I update IOS App version ? I don't find new version on AppStore.
I don't know if it's important, but I receive this message (show on my Windows 11 server) when I tried on IOS (iPad) :
C:\Python312\Lib\site-packages\websockets\legacy\server.py:1177: DeprecationWarning: remove second argument of ws_handler warnings.warn("remove second argument of ws_handler", DeprecationWarning)

Yes it works too:
interaction_configuration=map.MapInteractionConfiguration(flags=map.MapInteractiveFlag.ALL & ~map.MapInteractiveFlag.ROTATE)

Will give it a try on my Windows when possible.
Concerning the Flet app, we are working on updating it to support changes made in 0.25.0


Call get disconnected after few seconds

Hello,
First of all Great work!
I am having an issue when I am making a call it gets disconnected after few seconds. Please guide me what is the issue?

You haven't provided enough information to debug. I assume you're connecting to the default sever i.e appr.tc. What messages do you see in Logcat before it disconnects. Do you have a stable network (wifi) connection? If so, try with your own server installation using the docker image (link provided in README).

Yes I am connecting to the default server i.e appr.tc.
Currently I am installing docker on my machine meanwhile could please tell me on which language your server code is written on?

You will find all information (links) in the README page itself. The source code comes from the WebRTC project.

Were you able to reproduce the issue on your own server installation? Otherwise, will close the issue.

Hi,
I am still trying to install docker on my windows machine its requires some update so I am updating my machine. please don't close this issue.

Hi,
I am not able to install docker on my machine because my windows is not updating. I have no idea of server side. I am trying your mentioned server but I am not able to understand steps how I can set it up locally?
I have installed following things on my machine:
Google App Engine SDK for Python, Node.js and Grunt.
I ran command npm install
I am getting this:
`$ npm install

<EMAIL_ADDRESS>install E:\KumailRaza\server\apprtc\node_modules\iltorb
detect-libc prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=10.15.3 runtime=node arch=x64 platform=win32)
E:\KumailRaza\server\apprtc\node_modules\iltorb>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack   File "", line 1
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack                                ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:294:12)
gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
gyp ERR! stack     at maybeClose (internal/child_process.js:970:16)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd E:\KumailRaza\server\apprtc\node_modules\iltorb
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\iltorb):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>install: detect-libc prebuild-install || node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
audited 5686 packages in 37.609s
found 3 vulnerabilities (1 low, 2 high)
run npm audit fix to fix them, or npm audit for details`
npm audit fix doesn't solve this issue.

Can you checkout the below repo and see if it solves your issue?
https://github.com/eranpolo/WebRTCAndroid

I have to merge a PR and i assume your connection issues are one off. So i am closing the issue for now and will look into it if reported by someone else.


commenting out until we can figure out what is causing errors.

weird error in the UI with not being able to import util functions from sdk.
also there were references missed when createBigNumber was moved to sdk. re-created create-big-number file.

found the issue with sdk, closing this PR


Use cobra to parse cmdline args - phase 1

Here we just replace flags with cobra to fill InArgs and do all the checks. Then we call the functions in main (almost) as usual.
Phase 2 should be getting rid of InArgs, and call pkg functions directly.
Addresses: #537

Looks good! Should update the Readme.md file (in this PR or the next one)

Updated README. It now spans over several pages (one main page + one page per command).
Also added run examples and documented output formats.
Please take a look


Error connecting to my Kodi instance

Hey,
Was trying to use this handler and I can't connect to my Kodi instance.
I get the following error:
`>>> import kodipydent

from kodipydent import Kodi
my_kodi = Kodi("<IP_ADDRESS>")
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/site-packages/kodipydent/KodiClient.py", line 53, in Kodi
hive = Hive(get_rpc.API.get())
File "/usr/local/lib/python2.7/site-packages/beekeeper/api.py", line 195, in execute
_timeout=self.timeout
File "/usr/local/lib/python2.7/site-packages/beekeeper/comms.py", line 99, in send
raise ResponseException(self.action.format(), err)
beekeeper.comms.ResponseException: Error message: 401/Unauthorized`

I have set default Kodi ports and have enabled remote access.
I use a password to connect to my Kodi instance and I can't pass it as an argument to your handler. Could this be the problem?
Thanks

I use a password to connect to my Kodi instance and I can't pass it as an argument to your handler. Could this be the problem?

That would certainly do it! It should be relatively straightforward to add; would you like to submit a pull request to add it? If not, I'll certainly add it for you; it just might take a few days.
If you want to add it, follow the beekeeper documentation to add username and password variables of the http_basic_auth type to both the base hive so that we can make the initial connection, to the hive construction logic that generates the hive we actually talk to Kodi with, and you'll need to pass it to the constructors of both. Be sure to set the variables as optional so that users not using a password won't be harassed for one.

@redglory, I've fixed this with #2, and kodiypydent 0.2 with the fix has been uploaded to PyPI - can you confirm that this resolves your problem?

Works great!
Just a quick off-topic. I had version 0.1 and pip wouldn't update mine to 0.3.1

@redglory, do you have stack trace or something similar? Note that if you have a previous version of a library installed, doing pip install kodipydent won't upgrade automatically; you'd need to specify the newer version to install.

Thanks for the info :)


Todo List

New API:

[x] compare!
[x] strip_prefix!
[X] strip_suffix!
[ ] lines!
[ ] join!
[ ] split_ascii_whitespace!
[x] sorted!

Docs:

[ ] API docs translation

Upstream issues:

https://github.com/rust-lang/rust/issues/108231

I don't suppose I could bribe you with $20 USD to do join!? It would help a lot in a niche personal project I'm working on
Also I assume the intent is to take an array and/or slice of string literals and a joiner string? I can't imagine it'd be anything else but I just want to be sure

I don't suppose I could bribe you with $20 USD to do join!? It would help a lot in a niche personal project I'm working on
Also I assume the intent is to take an array and/or slice of string literals and a joiner string? I can't imagine it'd be anything else but I just want to be sure

Yes. The intent is to take string slices and concat them using a specified separator. I'll give it a try since someone needs it.

Managed to make it partially work, but not with slices.
macro_rules! join {
    (join=$join:expr, $x:expr) => ($x);
    (join=$join:expr, $x:expr, $($y:expr),+) => {
        concat!($x, $join, join!(join=$join, $($y),+))
    };
}

https://docs.rs/const-str/0.5.7/const_str/macro.join.html

I currently do not have $20 to give you. I swear I'm not just going back on the promise; Just give me until April.

Finally have the money. Do you have a paypal account?


Constants using illegal jq character

What happened:
In the spec (https://github.com/serverlessworkflow/specification/blob/main/specification.md#Workflow-Constants) constants mandate to use $CONST namespace to access values of the constants. The problem is that $ is reserved character in jq and the only way to make use of it is to use quotes based access like "$CONST".NAME.FIRST_NAME
What you expected to happen:
Either it is documented in the spec or (in my opinion it would be better) to change the namespace to something that is not illegal in default expression language (jq)
How to reproduce it:
Create any expression that references $CONST with jq as expression language
Anything else we need to know?:
Environment:

Specification version used: 0.8

@mswiderski This has been the subject of many long conversations in the past. Point is,  IMO you should pre-process the jq expression and interpolate all $const or $env or whatever reserved keywords, then pass the interpolation result to jq.

thanks @cdavernas for very quick reply!
While I agree this is a valid implementation approach I am not sure spec should give examples of expressions that are really not valid. Or at least it should mention that it is known and implemented should resolve it before evaluation since spec mandates the use of $CONST
What do you think?

@mswiderski Hehe, you're welcome. I guess we share the same timezone x)
I completely agree with you, the doc as it is might be misleading to newcomers.
@tsurdilo Any suggestions?

@manuelstein This might interest you ;)

Don't think this is interpolation issue hehe. Seems to me more of jq expression eval problem?

@tsurdilo It has to do with reserved keywords that, if I remember correctly, @manuelstein wanted to substitute for more cross-compatible ones.

Ok. From what I see, and could be wrong is that CONST is not a namespace but argument name passed to jq that binds $CONST to its value.

If you have json:
{
"letters": ["a", "b", "c"]
}
you can with jq:
        jq --arg CONST "d" '.letters |= .+ [$CONST]' test.json
        {
          "letters": [
            "a",
            "b",
            "c",
            "d"
          ]
        }

yeah, as I understand it it seems that $ is marker for variables ins jq. So it cannot be easily used without bind that variable before using it. So maybe the question is - was this intended? Or do we want to have it like that (consider CONST) to be a variable.
Personally I considered CONST to be namespace and not variable that requires binding explicitly before evaluating expression. Though maybe that was to naive approach ...

yes the idea was to use jq variables for that.
they can be added as args as shown before, but you can always also assign vars in expressions, for example:
  echo '{"hello": "world"}' | jq '{"not": "bar"} as $CONST | . + {"not": $CONST.not}'
  {
    "hello": "world",
    "not": "bar"
  }

alright, fair enough. If this is intended to be a variable then it is all good. Might be worth adding a note in the spec as right now it's referred as namespace which might be bit confusing (at least it was for me).
Thanks for all the comments that allowed me to better understand it and continue with implementation @tsurdilo @cdavernas

Thanks @mswiderski! Yeah lets use this issue to fix the text in spec. Will work on it

@mswiderski pls review https://github.com/serverlessworkflow/specification/pull/563 when can


Set init job as a helm hook so that DS can be upgraded using helm upgrade, also remove legacy registryPluginDir

Codecov Report

Merging #13547 (928cc28) into dev (966201a) will decrease coverage by 0.11%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev   #13547      +/-   ##
============================================
- Coverage     39.58%   39.47%   -0.11%
+ Complexity     4373     4348      -25
============================================
  Files          1097     1097
  Lines         41293    41263      -30
  Branches       4723     4704      -19
============================================
- Hits          16346    16290      -56
- Misses        23131    23157      +26
  Partials       1816     1816

Impacted Files
Coverage Δ

...r/plugin/task/sqoop/parameter/SqoopParameters.java
1.19% <0.00%> (-36.91%)
:arrow_down:

...r/plugin/registry/zookeeper/ZookeeperRegistry.java
43.54% <0.00%> (-6.46%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
50.00% <0.00%> (-2.78%)
:arrow_down:

...dolphinscheduler/remote/future/ResponseFuture.java
81.96% <0.00%> (-1.64%)
:arrow_down:

...hinscheduler/plugin/alert/script/ScriptSender.java
70.58% <0.00%> (-1.64%)
:arrow_down:

...cheduler/plugin/alert/dingtalk/DingTalkSender.java
34.13% <0.00%> (-0.78%)
:arrow_down:

...rver/master/runner/task/BlockingTaskProcessor.java
75.86% <0.00%> (-0.55%)
:arrow_down:

...inscheduler/plugin/registry/etcd/EtcdRegistry.java
50.69% <0.00%> (-0.35%)
:arrow_down:

.../dolphinscheduler/plugin/task/datax/DataxTask.java
36.62% <0.00%> (-0.26%)
:arrow_down:

.../dolphinscheduler/plugin/task/spark/SparkTask.java
72.56% <0.00%> (-0.25%)
:arrow_down:

... and 16 more

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


Pass topic-management.rebalance.interval.ms to MultiClusterTopicManagementService

LGTM!  I need to get off the bus an onto public transportation so you can merge this when the CI is finished. Thanks for taking care of this.

@smccauliff Thanks!


"Error: error unmarshaling JSON: parsing time" during helm package

Got this in a CI job. Don't have a way to reproduce it.
$ rm -fr ~/.helm # working around issue #3111
# multiple charts packaged here, in parallel
$ rm -f foo.tgz; helm package foo --version bar
Successfully packaged chart and saved it to: foo.tgz
Error: error unmarshaling JSON: parsing time ""2018-11-02T02:04:11.670172421Z 2018-11-02T02:04:11.670172421Z"" as ""2006-01-02T15:04:05Z07:00"": cannot parse " 2018-11-02T02:04:11.670172421Z"" as """
$ echo "$?"
1
$

Output of helm version:
Client: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.9", GitCommit:"e6ab4ee54f71e7a403cc733534bab86fd959ecb7", GitTreeState:"clean", BuildDate:"2018-10-16T12:14:47Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.11", GitCommit:"1bfeeb6f212135a22dc787b73e1980e5bccef13d", GitTreeState:"clean", BuildDate:"2018-09-28T21:35:22Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
AWS

Can you use the --debug flag to provide more output. For example, helm --debug package foo --version bar. More detail would help us understand where this is happening.
On the upstream chart repo we run the tests in a container. The ~/.helm directory is created new for each run. That testing is up at https://github.com/helm/chart-testing. That maybe be why we have not encountered #3111.

Hi @mattfarina, thanks for the quick response.
I'll give --debug a try, though it might take a while before the bug is triggered again.
As for #3111 - I also run my pipelines in containers and for every branch, the ~/.helm directory is separate, but I still run rm -fr ~/.helm before using helm, because I bind-mount the checkout directory from the host, so my builds can be incremental. With the rm -fr in place, #3111 is triggered very rarely, but it still happens from time to time. Quite a nuisance in CI.
Anyhow, my guess is that both issues (and also #2258) are caused by parallel executions of helm package, but that is just a guess...

Got
Error: error unmarshaling JSON: parsing time ""2018-11-16T10:44:23.087881375Z 2018-11-16T10:44:23.087881375Z"" as ""2006-01-02T15:04:05Z07:00"": cannot parse " 2018-11-16T10:44:23.087881375Z"" as """

but I had --debug enabled everywhere else, not for that one target ;/ Added --debug to that target now, will wait for it to happen again.

Hi,
I reproduced the same issue today with parallel helm dep up && helm deploy && helm test.
I also get this issue when running the same tests: https://github.com/helm/helm/issues/4463
Any ideas ?

Also, why is this marked "question/support" ? This is a bug.

@wknapik I may have an idea what's going on and the reason this is "question/support" labeled.
When helm package is run is saves the package to a local directory inside of the .helm directory (or equivalent if set to be different). You can see this in the code at https://github.com/helm/helm/blob/618447cbf203d147601b4b9bd7f8c37a5d39fbb4/cmd/helm/package.go#L183-L191
In the order of events first the Helm home is deleted

$ rm -fr ~/.helm # working around issue #3111

Then  the package is removed and a new package created

rm -f foo.tgz; helm package foo --version bar

No helm home exists to copy the package into. I wonder if you run helm init --client-only (-c can be using instead  of --client-only, too) between the two steps if this corrects the problem.
What we may need is better output to let you know the Helm Home does not exist.
Can you check if this is what's happening for you?

@mattfarina I'm afraid that's not it. This is built using make and all helm package targets have an order-only dependency on $(HOME)/.helm, which is created with helm init -c.

@wknapik What are the permissions on that .helm folder? The debug command for saving would fire. Did you see that? If not, it looks like it's within the above block the problem would be happening.
Or, do you spot the bug elsewhere?

@mattfarina I've recently switched to using --save=false with helm package (see: https://github.com/helm/helm/issues/3111#issuecomment-480494831), to work around this and other bugs, like #3111. I haven't seen this happen since, so I can't look at any relevant logs now. But this was rarely triggered regardless.
In any case, this is very unlikely to be about the environment helm is used in. Everything I do is fully automated and containerized. Only one user is used in the pipeline and it deletes ~/.helm at the beginning and creates it with helm init -c before any other calls to helm are made. The relevant source of variance is the parallelization, not inconsistencies/issues with the environment.

I'm going to close this ticket due to inactivity, but please re-open if this still needs to be addressed. Thanks!


Unexpected error while connecting

Issue Type: Bug
From time to time I can not connect to databases. I can close and reopen Azure Data Studio to solve the problem.
That solve the problem for 5' or days.
It seems to be completely random.
Sadly, no idea of how to reproduce :-(
Thanks and good luck
Azure Data Studio version: azuredatastudio 1.35.1 (fab63efd307e54c063c8af03474bbb5d77f5fd11, 2022-03-15T18:03:38.261Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.72GB (18.59GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (8)

Extension
Author (truncated)
Version

azuredatastudio-postgresql
Mic
0.2.7

dacpac
Mic
1.8.0

powershell
ms-
2021.12.0

profiler
Mic
0.11.0

query-history
Mic
0.1.0

schema-compare
Mic
1.12.0

sql-assessment
Mic
0.6.1

vscodeintellicode
Vis
1.2.1

@JeanPhilippeGeorge how does the application behave in this situation?  Do the connections in Servers explorer and Query Editor appear connected and just not work?  Or do they disconnect and not reconnect?  Are there any error messages in the "Help->Developer Tools" Console?  Thanks!

@kburtram I think it depends.
Some time some query editors continue to work and some shows disconnected and when trying to reconnect they fails. I think Server Explorer continue to work but it could be that it has already what I want to use in cache.
Other time all query editors are disconnected and fail to reconnect.
As I have closed Azure Studio multiple times I don't have console log relevant to the problem, but I have attached two application logs which should be logs of the problem of yesterday.
And now that I know how to collect all of them and in what question you are interested I keep that in mind and will add these infos next time.
20220405T092535.zip
20220405T100949.zip

@JeanPhilippeGeorge thanks for providing the logs.  I see the below exceptions being raised.  We'll investigate these code paths to try to determine what's happening here.
[2022-04-05 10:04:43.474] [renderer1] [info] Disposing the query runner of: 'untitled:SQLQuery_4'', call stack: Error
    at n.dispose (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:2262:55039) [<root>]
    at n.disposeQuery (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:2262:54936) [<root>]
    at processTicksAndRejections (internal/process/task_queues.js:93:5) [<root>]
    at async p.disposeQuery (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:2265:5742) [<root>]
[2022-04-05 10:04:45.067] [renderer1] [error] TypeError: Cannot read property 'slice' of undefined
    at n.get batchSets [as batchSets] (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:2262:50558)
    at $.set queryRunner [as queryRunner] (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3311:20421)
    at r.set queryRunner [as queryRunner] (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3344:1465)
    at r.onShow (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3344:1389)
    at m.showTab (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:304:66476)
    at w.showResults (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3344:7857)
    at w.setQueryRunner (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3344:2945)
    at w.set input [as input] (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3344:6623)
    at Bc.setInput (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3344:11875)
    at Mo.setInput (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3397:9965)
    at p.doSetInput (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3207:35571)
    at p.doOpenEditor (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3207:33974)
    at p.openEditor (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3207:33735)
    at vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3569:16743
    at Li.doShowEditor (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3569:16922)
    at Li.openEditor (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3569:16516)
    at ne (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3493:15310)
    at HTMLDivElement.<anonymous> (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3493:15559)
    at ZoneDelegate.invokeTask (C:\Users\jp\AppData\Local\Programs\Azure Data Studio\resources\app\node_modules.asar\zone.js\dist\zone.js:434:35)
    at Zone.runTask (C:\Users\jp\AppData\Local\Programs\Azure Data Studio\resources\app\node_modules.asar\zone.js\dist\zone.js:205:51)
    at ZoneTask.invokeTask [as invoke] (C:\Users\jp\AppData\Local\Programs\Azure Data Studio\resources\app\node_modules.asar\zone.js\dist\zone.js:516:38)
    at invokeTask (C:\Users\jp\AppData\Local\Programs\Azure Data Studio\resources\app\node_modules.asar\zone.js\dist\zone.js:1656:18)
    at HTMLDivElement.globalZoneAwareCallback (C:\Users\jp\AppData\Local\Programs\Azure Data Studio\resources\app\node_modules.asar\zone.js\dist\zone.js:1682:21)

[2022-04-05 10:12:39.213] [renderer1] [error] OnConnectionComplete but no connection found 'file:///null' Connections = [connection:providerName:MSSQL|applicationName:azdata|authenticationType:Integrated|database:|server:jp01|user:|group:C777F06B-202E-4480-B475-FA416154D458,connection:providerName:MSSQL|applicationName:azdata|authenticationType:Integrated|database:master|server:jp01|user:|group:C777F06B-202E-4480-B475-FA416154D458,dashboard:providerName:MSSQL|applicationName:azdata|authenticationType:Integrated|database:TradeMasterKarkason|server:jp01|user:|databaseDisplayName:master|group:C777F06B-202E-4480-B475-FA416154D458,dashboard:providerName:MSSQL|applicationName:azdata|authenticationType:Integrated|database:TradeMasterKarkason|server:jp01|user:|databaseDisplayName:TradeMasterKarkason|group:C777F06B-202E-4480-B475-FA416154D458,untitled:SQLQuery_3,connection:providerName:MSSQL|applicationName:azdata|authenticationType:Integrated|database:TradeMasterKarkason|server:jp01|user:|databaseDisplayName:TradeMasterKarkason|group:C777F06B-202E-4480-B475-FA416154D458,untitled:SQLQuery_2,untitled:SQLQuery_1]
[2022-04-05 10:12:39.241] [renderer1] [error] Unexpected error occurred while connecting.: Error: Unexpected error occurred while connecting.
    at g.onConnectionComplete (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:843:23305) [<root>]
    at Hs.onConnectionComplete (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:2278:31176) [<root>]
    at y.$onConnectionComplete (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:2329:69156) [<root>]
    at S._doInvokeHandler (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:2316:12730) [<root>]
    at S._invokeHandler (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:2316:12414) [<root>]
    at S._receiveRequest (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:2316:11076) [<root>]
    at S._receiveOneMessage (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:2316:9754) [<root>]
    at vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:2316:7850 [<root>]
    at n.fire (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:129:1712) [<root>]
    at a.fire (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:176:16525) [<root>]
    at w._receiveMessage (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:176:21791) [<root>]
    at vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:176:18669 [<root>]
    at n.fire (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:129:1712) [<root>]
    at p.acceptChunk (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:176:13886) [<root>]
    at vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:176:13234 [<root>]
    at Socket.D (vscode-file://vscode-app/c:/Users/jp/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3860:163993) [<root>]
    at Socket.emit (events.js:315:20) [<root>]
    at addChunk (internal/streams/readable.js:309:12) [<root>]
    at readableAddChunk (internal/streams/readable.js:284:9) [<root>]
    at Socket.Readable.push (internal/streams/readable.js:223:10) [<root>]
    at Pipe.onStreamRead (internal/stream_base_commons.js:188:23) [<root>]

@JeanPhilippeGeorge is this still happening for you in version 1.36.2?

@cssuh I have not make a lot development these days, and so not used that much Azure Data Studio, but it seems to work perfectly :-)
Feel free to close the issue and I will open a new one if needed.
Thanks to the team for a great tool!


Question: Globally apply a template to FieldError

Hello,
My design system calls for an icon to sit next to the error text within FieldError. I see in the documentation that I can supply an ng-template per validator and provide it to a TuiValidationError per this documentation.
However,  is there a way I can globally supply a template?
Here is a visual example of my need:

Hi there! Please use Discussions for questions.
You can use dynamic component, dependency injection and Proxy object to get something you're after:
https://stackblitz.com/edit/taiga-custom-error
(check out providers in app component)


[HELP] TypeError

Describe the bug
When npm start, the following error occurred.
><EMAIL_ADDRESS>start /srv/zipline/zipline
> node out/src

9/17/2020 8:55:18 AM info    Zipline: Starting Zipline 2.1.3
(node:20127) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'type' of undefined
    at /srv/zipline/zipline/out/src/index.js:47:111
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:20127) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:20127) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

To Reproduce

npm start

Expected behavior
Run successfully.
Screenshots
None.
Desktop (please complete the following information):
None.
Additional context
None.

This has been fixed in the latest commit. Thanks for opening an issue!

Unfortunately using the latest source this still sits.

Another issue happened. I will open a new issue.


Added guest middleware and changed redirect path

A small oversight that's easy to miss when the Auth::routes() helper is not being used.
Fixes #38

👌

It's worth noting that because of how Inertia works, if you click back you'll still see the login page, due to history state caching. This is standard browser behaviour.
However, if you visit the login page fresh again, you'll be redirected.


Update aws-java-sdk-core to 1.12.674

About this PR
📦 Updates com.amazonaws:aws-java-sdk-core from 1.12.459 to 1.12.674
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.amazonaws", artifactId = "aws-java-sdk-core" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #721.


Run unit tests when creating conda package

This will probably require moving the tests module into esmvaltool and updating meta.yaml.

can have esmvaltool/tests and esmvaltool/esmvaltool no?

Still required?

Yes


Update Flag.php

Fix typo in class img-responsive

I merged a fix for this in another file recently, might be worth searching the repo for more "reponsive"

@KorvinSzanto
Okay. Just did a search for "reponsive" and couldn't find further misspelled classes.

Thanks!
On Sat, Jan 16, 2016 at 10:53 AM MichaB<EMAIL_ADDRESS>wrote:

@KorvinSzanto https://github.com/KorvinSzanto
Okay. Just did a search for "reponsive" and couldn't find further
misspelled classes.
—
Reply to this email directly or view it on GitHub
https://github.com/concrete5/concrete5/pull/3362#issuecomment-172246211.


Add 'Details...' in Activities when deleting multiple leased ADLS Gen2 blobs

Storage Explorer Version: 1.11.1
Build: 20191119.3
Branch: hotfix/1.11.1
Platform/OS: Windows 10/ Linux Ubuntu 18.04/macOS High Sierra
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Launch Storage Explorer.
Expand one ADLS Gen2 storage account ->Blob Containers.
Create a new blob container -> Upload multiple blobs to it -> Acquire lease for those blobs.
Select all leased blobs -> Try to delete.
Check the Activities.

Expect Experience:
'Details...' shows in Activities.

Actual Experience:
No 'Details...' shows in Activities.

More Info:
This issue doesn't reproduce for delete one leased blob.

@MRayermannMSFT
Verified this issue on build 20200305.2.
We found an action 'Retry...' is added to the multi leased blobs deletion log.

However ,no intuitive error information we can see in Retry Azcopy dialog.
I thought using 'Detail...' or 'Go to Azcopy Log File' append to activity log would be better.

@v-xianya, the current AzCopy delete for ADLS Gen2 blobs don't have the detailed error message and doesn't generate log files. We need to work with AzCopy to make ADLS Gen2 delete experience the same as the blob delete experience.

@JasonYeMSFT
Thanks for the updates.
We noticed that there shows error detail when deleting one leased ADLS Gen2 blob.

Bad error message in the retry dialog is related to this: https://github.com/microsoft/AzureStorageExplorer/issues/2693
We'll use that to track that part of your feedback @v-xianya. As for there being a detailed error message when it is only 1 blob, yes that is true and that is by design. When it is only 1 blob AzCopy is successfully surfacing the error message to us.


Avoid module name cothread as it conflicts with cothread itself.

@T-Nicholls you can merge master into your branch once this is merged.

Coverage remained the same at 93.919% when pulling bff2be4f0f78732c27220a4c68c3fb3859b3d8fe on cothread into 1a81cf50daddd4c10d9a501647990f8865fc8a8e on master.


array-based expression data + pcaExplorer

Hi,
This may be a naive question, since I know pcaExplorer has been designed for RNA-seq data, but I am wondering...: would there be an easy way to use pcaExplorer also for array-based expression data? For example, by just providing it both as input for the argument dst and countmatrix?
Thanks!
G

Hi Guido,
not a naive question at all!
Let's say that most such explorations do require something that recalls a homoscedastic-like dataset.
And that'd be the dst object. Well, if you can fit into that some form of normalized/transformed expression values, from microarrays, then it could still work. Maybe make sure to convert the probe ids already to gene symbols (e.g. with the annotation table you can provide?).
In principle, some functionality should very much work out of the box, some probably would require some fiddling...
HTH,
Federico


Adding setters and getters for x-ms-creation-time in BlobsDownloadHeaders

Description
x-ms-creation-time has been returned since x-ms-version 2017-11-09, but property was not accessible.
Adding to BlobsDownloadHeaders and FileReadHeaders (for DataLake).
Addresses the following issue

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-storage-blob

/azp run java - storage - tests


[Bug]: Hermeticity issue with libarchive depending on LANG environment variable

What happened?
There is a problem where the tar binary from libarchive is behaving non-hermetically as it depends on the system's LANG environment variable. Maybe we could patch it to hard-code something like en_US.UTF-8?
This problem appeared as tar was failing for me when coming across UTF-8 characters in filenames, until I set LANG to en_US.UTF-8.
Full context of issue on bazel slack.
Version
Development (host) and target OS/architectures: macOS Sonoma 14.5
Output of bazel --version: bazel 7.2.0
How to reproduce
Use the tar toolchain to extract an archive containing files which have utf8 characters in their names, making sure that LANG is not set. This should fail to extract (for me just outputting tar: (null) as an error message).
Set LANG to a UTF-8 locale and it should work.

It seems to me that this is a runtime issue, not a build-time issue.
Does this behaviour differ if compiled without bazel? It seems like reading the LANG environment variable at runtime is intended.
Maybe related? https://github.com/libarchive/libarchive/issues/587

I think reading LANG at runtime is intended. I think we just don't want it to behave that way in Bazel, as we want it to always produce the same results.

Yea that's completely understandable especially if you're using it as a tool in a bazel rule.
I do wonder would setting the LANG environment variable when doing ctx.run not be enough or maybe even be preferred than expecting a tool in the BCR to be suitable for a bazel rule by default?

Ah, I just ran across this as well downstream in bazel-lib where we have the tar rule, filed https://github.com/bazel-contrib/bazel-lib/issues/1018

@fmeum said on the linked slack thread

bsdtar seems to contain locale-sensitive logic and it's possible that this be removed during its build (say as a configure option). Since the prebuilt tar is meant to be as hermetic as possible, this would be a useful improvement

@zaucy do you happen to know whether that's possible? I'm looking at HAVE_LOCALE_H but I don't think the logic guarded by that is what reads the locale from the environment.

maaaaybe setting HAVE_SETLOCALE to 0?
https://github.com/libarchive/libarchive/blob/819a50a0436531276e388fc97eb0b1b61d2134a3/tar/bsdtar.c#L190-L193
But that would just remove the setlocale call. I'm not really sure what the right thing to do here is.

That should work: The default locale of a C program is C, but that call to setlocale sets it to whatever the typical environment variables say.