Can't use install script from a Docker 1.6.2 docker-machine created VM

Problem
Can't seem to use the install scripts at https://experimental.docker.com or https://get.docker.com from a Docker 1.6.2 machine that was created with docker-machine. I get the following
Boot2Docker version 1.6.2, build master : 4534e65 - Wed May 13 21:24:28 UTC 2015
Docker version 1.6.2, build 7c8fca2
docker@dev:~$ curl -sL https://get.docker.com | sh
Warning: the "docker" command appears to already exist on this system.

If you already have Docker installed, this script can cause trouble, which is
why we're displaying this warning and provide the opportunity to cancel the
installation.

If you installed the current Docker package using this script and are using it
again to update Docker, you can safely ignore this message.

You may press Ctrl+C now to abort this script.
+ sleep 20
You're using 'boot2docker 1.6.2 (tcl 5.4); master : 4534e65 - wed may 13 21:24:28 utc 2015' version 'Boot2Docker 1.6.2 (TCL 5.4); master : 4534e65 - Wed May 13 21:24:28 UTC 2015'.
Upstream release is '' version ''.

  Either your platform is not easily detectable, is not supported by this
  installer script (yet - PRs welcome! [hack/install.sh]), or does not yet have
  a package for Docker.  Please visit the following URL for more detailed
  installation instructions:

    https://docs.docker.com/en/latest/installation/

Workaround
Upgrade the VM with docker-machine upgrade {my vm}
Reproduce
Create the new VM (using docker-machine 0.4.1)
$ docker-machine create -d vwarefusion dev
$ docker-machine ssh dev

Run the install script
docker@dev:~$ curl -sL http://get.docker.com > install.sh
docker@dev:~$ sh  -x install.sh
+ set -e
+ url=https://get.docker.com/
+ do_install
+ uname -m
+ command_exists docker
+ command -v docker
+ cat
Warning: the "docker" command appears to already exist on this system.

If you already have Docker installed, this script can cause trouble, which is
why we're displaying this warning and provide the opportunity to cancel the
installation.

If you installed the current Docker package using this script and are using it
again to update Docker, you can safely ignore this message.

You may press Ctrl+C now to abort this script.
+ set -x
+ sleep 20
+ id -un
+ user=docker
+ sh_c=sh -c
+ [ docker != root ]
+ command_exists sudo
+ command -v sudo
+ sh_c=sudo -E sh -c
+ curl=
+ command_exists curl
+ command -v curl
+ curl=curl -sSL
+ repo=main
+ [ https://test.docker.com/ = https://get.docker.com/ ]
+ [ https://experimental.docker.com/ = https://get.docker.com/ ]
+ lsb_dist=
+ dist_version=
+ command_exists lsb_release
+ command -v lsb_release
+ lsb_release -si
+ lsb_dist=Boot2Docker 1.6.2 (TCL 5.4); master : 4534e65 - Wed May 13 21:24:28 UTC 2015
+ [ -z Boot2Docker 1.6.2 (TCL 5.4); master : 4534e65 - Wed May 13 21:24:28 UTC 2015 ]
+ [ -z Boot2Docker 1.6.2 (TCL 5.4); master : 4534e65 - Wed May 13 21:24:28 UTC 2015 ]
+ [ -z Boot2Docker 1.6.2 (TCL 5.4); master : 4534e65 - Wed May 13 21:24:28 UTC 2015 ]
+ [ -z Boot2Docker 1.6.2 (TCL 5.4); master : 4534e65 - Wed May 13 21:24:28 UTC 2015 ]
+ [ -z Boot2Docker 1.6.2 (TCL 5.4); master : 4534e65 - Wed May 13 21:24:28 UTC 2015 ]
+ [ -z Boot2Docker 1.6.2 (TCL 5.4); master : 4534e65 - Wed May 13 21:24:28 UTC 2015 ]
+ tr [:upper:] [:lower:]
+ echo Boot2Docker 1.6.2 (TCL 5.4); master : 4534e65 - Wed May 13 21:24:28 UTC 2015
+ lsb_dist=boot2docker 1.6.2 (tcl 5.4); master : 4534e65 - wed may 13 21:24:28 utc 2015
+ command_exists lsb_release
+ command -v lsb_release
+ cut -f2
+ lsb_release --codename
+ dist_version=Boot2Docker 1.6.2 (TCL 5.4); master : 4534e65 - Wed May 13 21:24:28 UTC 2015
+ [ -z Boot2Docker 1.6.2 (TCL 5.4); master : 4534e65 - Wed May 13 21:24:28 UTC 2015 ]
+ check_forked
+ command_exists lsb_release
+ command -v lsb_release
+ set +e
+ lsb_release -a -u
+ lsb_release_exit_code=0
+ set -e
+ [ 0 = 0 ]
+ cat
You're using 'boot2docker 1.6.2 (tcl 5.4); master : 4534e65 - wed may 13 21:24:28 utc 2015' version 'Boot2Docker 1.6.2 (TCL 5.4); master : 4534e65 - Wed May 13 21:24:28 UTC 2015'.
+ tr -d [[:space:]]
+ cut -d : -f 2
+ grep -E id
+ tr [:upper:] [:lower:]
+ lsb_release -a -u
+ lsb_dist=
+ tr -d [[:space:]]
+ cut -d : -f 2
+ grep -E codename
+ tr [:upper:] [:lower:]
+ lsb_release -a -u
+ dist_version=
+ cat
Upstream release is '' version ''.
+ cat

  Either your platform is not easily detectable, is not supported by this
  installer script (yet - PRs welcome! [hack/install.sh]), or does not yet have
  a package for Docker.  Please visit the following URL for more detailed
  installation instructions:

    https://docs.docker.com/en/latest/installation/

+ exit 1

Environment
docker@dev:~$ docker info
Containers: 0
Images: 0
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 0
 Dirperm1 Supported: true
Execution Driver: native-0.2
Kernel Version: 4.0.3-boot2docker
Operating System: Boot2Docker 1.6.2 (TCL 5.4); master : 4534e65 - Wed May 13 21:24:28 UTC 2015
CPUs: 1
Total Memory: 998 MiB
Name: dev
ID: 2MOP:QHFS:R2O4:N3GR:WQ3T:VQXO:SW4M:Y4AE:OMDD:GGJ2:S5R3:5SUJ
Debug mode (server): true
Debug mode (client): false
Fds: 10
Goroutines: 16
System Time: Tue Sep  1 18:26:25 UTC 2015
EventsListeners: 0
Init SHA1: 7f9c6798b022e64f04d2aff8c75cbf38a2779493
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker
Labels:
 provider=vmwarefusion

docker@dev:~$ docker version
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 7c8fca2
OS/Arch (server): linux/amd64

docker@dev:~$ uname -a
Linux dev 4.0.3-boot2docker #1 SMP Wed May 13 20:54:49 UTC 2015 x86_64 GNU/Linux

You probably need to have old ISOs in the docker-machine cache in order to get 1.6.2 as the base ISO machine using.

Since you've used docker machine to set up that VM, have you tried docker-machine upgrade? https://docs.docker.com/machine/reference/upgrade/

(We should have a better message for boot2docker users though, if they try the get.docker.com script)
/cc @tianon

@thaJeztah just added the Workaround of doing a docker-machine upgrade which fixes up the machine enough for the scripts to work. Some of the issue stems from the fact that docker-machine has a cached copy of the 1.6.2 ISO, which is used to create the VM - which then cascaded into this issue. I have opened an issue on docker-machine to better indicate that an old cached version of the ISO is being used.

@thaJeztah can't the get.docker.com script just die already? :disappointed:
In right-now seriousness, I'm not opposed to having the script bail outright on boot2docker, especially with a suggestion that docker-machine be used to update instead. :+1:

@tianon we still need the install.sh to work for boot2docker for experimental.docker.com, otherwise you can't easily run a VM on your laptop with experimental, unless you download the binary and then scp it to the VM etc.

@alvinr This really doesn't work with b2d. b2d is an ISO, it's a read-only filesystem.
To upgrade docker, you must upgrade the ISO.
So what's really needed is an experimental build of the b2d ISO.
I have an open issue here: boot2docker/boot2docker#1061

@alvinr @cpuguy83 I'll close this issue here in favor of https://github.com/boot2docker/boot2docker/issues/1061, but ping me if you don't agree :+1:


Send job start/succeed/fail notifications to Slack

This will be completed using Sauna now we have webhooks (#59)


After using the "/admin" flag, it has been blocked indefinitely.

freerdp 2.10
server: windows-server 2012 R2
client: freerdp 2.10
A Windows Server 2012 server can be successfully connected using a script similar to the following: /mstsc /admin /v:xxx.xxx.xxx.xx. It prompts for a username and password. I see that FreeRDP also supports the "/admin" flag, but when I enable it, the interface gets stuck.
this is the logs
log.txt
How to handle this issue

@plume-cat you might want to add a log you did with FreeRDP ;)

for reference, just tried a connect to a 2012r2 standard machine with xfreerdp /v:<host> /admin /u:<user> and it connects quite fine.

for reference, just tried a connect to a 2012r2 standard machine with xfreerdp /v:<host> /admin /u:<user> and it connects quite fine.

Ok, I will regenerate the freerdp log, and then please help me to have a look


[framework] fix slider regression due to touch slop changes

Fixes https://github.com/flutter/flutter/issues/103566
Due to changes in https://github.com/flutter/flutter/pull/97971

@xu-baolin I'll trade you 😄

yes, an audit is in order. We might be able to speed things up by adding an assert if a gesture is received and gesture settings hasn't been set. I could also look into a breaking change process to make it required to prevent this from happening again.

👍 Glad to review!

When will that fix be released to the stable channel?

@jonahwilliams When will that fix make its way to a stable release?


The "get" method of ResourceOperations should not have a "204" response

The following Cadl file
import "@cadl-lang/rest";
import "@cadl-lang/openapi3";

using Cadl.Rest;
using Cadl.Rest.Resource;

namespace Things {
  model Thing {
    @key
    @segment("things")
    thingId: string;
  }

  model Error {}

  interface Things mixes ResourceOperations<Thing, Error> {}
}

Generates an OpenAPI 3 definition where the "get" on "/things/{thingid}" has both a "200" and a "204" response.  I don't think the "204" response should be generated.

I think it's because it thinks the Error model is a regular model with no content. If you put @error on the error model I suspect you'll get something you like better.

That seems so logical!  Unfortunately it does not solve the problem. The openapi is exactly the same with and without @error.

It appears the problem is that the Error model is empty.
Playground Link

Okay ... that really is logical and does solve the problem.  I should have seen that.


illegal instruction fault frcsr t0

Dear experts,
I got exception Illegal instruction fault(2) with mepc=80004d44 and mtval=0 when running M-mode program on QEMU RiscV target. The code fragment looks like:
$ riscv64-unknown-elf-objdump -dS sample | fgrep 80004d44: -C1
80004d42: ad6e                  fsd fs11,152(sp)
80004d44: 003022f3            frcsr t0
80004d48: de16                  sw  t0,60(sp)

Could someone kindly teach what this exception means here?

There are only two possible explanations: the M-mode software forgot to set mstatus.FS to a nonzero value, or the QEMU instance had floating-point disabled.

Except epc == 4d44 points to the frcsr, therefore the fsd must have
executed without exception (so mstatus.FS must be nonzero)

but if fsd is at 4d42, then frcsr should be at 4d46 - so this is a bit
weird

On Sat, Oct 5, 2024 at 11:37 PM Andrew Waterman @.***>
wrote:

There are only two possible explanations: the M-mode software forgot to
set mstatus.FS to a nonzero value, or the QEMU instance had floating-point
disabled.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-isa-manual/issues/1674#issuecomment-2395315611,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJXROLOG52IR3WGKR2TZ2DLB5AVCNFSM6AAAAABPOBCRKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGMYTKNRRGE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

many thanks!

The act of loading the float registers in the context-restore code will change FS to Dirty, so you should change FS to Clean after performing the loads.

The act of loading the float registers in the context-restore code will change FS to Dirty, so you should change FS to Clean after performing the loads.

Thanks. Then if FS was Initial upon context resuming, we shall do fmv.w.x ft0, zero alike to set float registers to zero, then set FS to Clean afterwards?

That’s the right idea, but in that case, you can set it to Initial rather than Clean.

thanks again. I'll continue check why FS became 0.


Allow users to set resolutions for video

Riot allows to set sizes for images, and it would be great to do the same for videos.

I definitely agree with this. An option to upload the original file would be great as currently the video quality seems to degrade with whatever conversion is happening. It was the first thing my wife noticed when I had her switch over.


Get wrong value from environment variable

introduced by https://github.com/beyondstorage/beyond-ctl/blob/master/config/profile.go#L100
parts := strings.Split(env, "=")
key, value := parts[0], parts[1]

If env value has more than one = in it, it would be splited into parts.

Fixed in #31


[Hue3.7.1][filebrowser][change file permissions dialog]

When I perform the changing file permission action on a file which permission is -rwxrwxrwx, I just do nothing except click the submit button, but the file's execution permission is missing(-rw-rw-rw-), It seems that the execute checkbox is set "disabled", when the form is submitted the execute checkbox's value is not submitted

HDFS files don't have the x permission (it does not make sense in HDFS), so this is normal


Bowed String Synthesis

Not seeing anything in the way of typescript or web audio worklet implementations of bowed string synthesis. Short of implementing something myself from scratch, perhaps it would be worth exploring getting supercollider going via wasm in the browser, as in this fork of SC repo. That way, we could just use built in SC libraries, such as (in this case) DWGBowed.

There is also the possibility of using RNBO

I've instead been messing around with a less ambitious model with a white noise source, implemented in web audio. Not particularly realistic, but for the purposes of getting something going for sarangi, much better than nothing.


Sentiment Analysis Based on Facial Features

Facial expression analysis, a crucial aspect of sentiment analysis, involves interpreting emotional states based on facial features. In this project, we aim to develop a robust sentiment analysis system leveraging deep learning techniques to classify facial expressions into different emotion categories, including anger, disgust, fear, happiness, sadness, surprise, and neutrality. The proposed system will utilize a dataset of grayscale facial images, each labeled with the corresponding emotion category. By implementing state-of-the-art deep learning architectures, such as the ResNet model, we intend to train a model capable of accurately recognizing and classifying facial expressions in real-time. This project holds significant potential in various applications, including human-computer interaction, market research, customer feedback analysis, and mental health assessment.
To develop the Sentiment Analysis project based on Facial Features, the main steps required are:

Data Preprocessing
Model Selection and Architecture Design
Training and Validation
Evaluation
Deployment and Integration

Please assign this issue to me under WOC'24.

Please assign this task to me.

I am a contributor from GSOC'24 ,please assign this task to me

If the issue is currently open, please assign this task to me under GSSoC'24. I would get the work done. I have sufficient experience and knowledge in sentiment analysis.

If the issue is currently open, please assign this task to me under GSSoC'24. I would get the work done. I have sufficient experience and knowledge in computer vision.

I create a CNN model    to  to classify facial expressions into different emotion categories, including anger, disgust, fear, happiness, sadness, surprise, and neutrality  in images as well as on a recorded videos  and evaluate  model on different performance metrics . I would like to assign this project to  me  as part of GSSoC'24 with the gssoc label and the appropriate level (1/2/3).

Hello, I'm Dheeraj currently working on machine learning models. I would like to solve this issue kindly allot it to me.

I agree to follow this project's Code of Conduct
I'm a GSSOC'24 contributor
I want to work on this issue

Hi @raniasyed ,
I have recognized the issue regarding facial sentiments based on features issue, e.g., "the misclassification of neutral expressions as negative sentiment". The solution involved libraries or modules languages describe the fix, e.g., "augmenting the dataset with more varied samples and fine-tuning the model". Please give me the chance and let me do the  further adjustments that are needed.
Best,
Darakhshan

I wanna fix this issue @akshitagupta15june

@akshitagupta15june could you please Assign me this issue??


Use separate variable names for push secret & helm release name

Follow-up to https://github.com/2i2c-org/binderhub-service/pull/77 (which made wrong assumptions about HELM_DEPLOYMENT_NAME).

Going to self merge as I'd like https://github.com/2i2c-org/binderhub-service/pull/82 to be tested tomorrow.


Python 3.7 and pypy support

Hello guys.
I have tried use aioamqp_consumer with python 3.7 and there's a error that could be fixed simply updating aioamqp to version 0.11.0.
Python 3.7.6 (default, Jan 17 2020, 01:24:44)
[GCC 9.2.1 20200104] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import aioamqp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/amenezes/Documents/github/aioamqp_consumer/venv/lib/python3.7/site-packages/aioamqp/__init__.py", line 8, in <module>
    from .protocol import AmqpProtocol
  File "/home/amenezes/Documents/github/aioamqp_consumer/venv/lib/python3.7/site-packages/aioamqp/protocol.py", line 13, in <module>
    from .compat import ensure_future
  File "/home/amenezes/Documents/github/aioamqp_consumer/venv/lib/python3.7/site-packages/aioamqp/compat.py", line 11
    ensure_future = asyncio.async
                                ^
SyntaxError: invalid syntax

Also to verify and validate backwards compatibility I appended python 3.7 and pypy 3.6 in the tox.ini file as:
[tox]
envlist =
    py3{5,6,7},pypy3.6
...

All tests work's properly. But another issue maybe related to my environment is that tox didn't work at first only after an update (pip install -U tox).
py35: commands succeeded
py36: commands succeeded
py37: commands succeeded
pypy3.6: commands succeeded
congratulations :)

However, I noticed that project dosen't have updates more than a year ago. So this project still alive? A PR for this use case is relevant or there are any roadmap to include this support?

Thanks for the report, sorry for long respone, will be fixed by https://github.com/aio-libs/aioamqp_consumer/pull/20


Update from .NET Core 3.1 to .NET 6

Description of the new feature / enhancement
.NET 6 is released (now at 6.0.2) and supported until Nov 2024. .NET 3.1 will go out of support in Dec 2022, so there's a while, but there's no reason to update now, especially if some bug turns up that the .NET team needs to service for.
https://github.com/dotnet/core/blob/main/releases.md
Scenario when this would be used?
..
Supporting information
No response

We updated everything to .NET 5 for the next version. And we're working on .NET 6 at the moment: #15741


Contact form never sends

The form was working successfully until recently, which may have occurred with some Craft updates. Test emails work in the Craft admin send successfully however any form submissions do not send. I have the form set up exactly like the examples given and sending via AJAX. Any help would be appreciated:
Form:
{% macro errorList(errors) %}
    {% if errors %}

            {% for error in errors %}

{{ error }}

            {% endfor %}

    {% endif %}
{% endmacro %}

{% from _self import errorList %}

<form method="post" action="" accept-charset="UTF-8" id="contact-form">
    {{ getCsrfInput() }}
    <input type="hidden" name="action" value="contactForm/sendMessage">

        Name
        <input id="message" class="form-control" type="text" name="message[Name]" value="{% if message is defined %}{{ message.fromName }}{% endif %}">
        {{ message is defined and message ? errorList(message.getErrors('message')) }}

        Company Website (if you've got one)
        <input id="companyWebsite" class="form-control" type="text" name="message[Company Website]" value="{% if message is defined %}{{ message.fromName }}{% endif %}">
        {{ message is defined and message ? errorList(message.getErrors('companyWebsite')) }}

        Email
        <input id="fromEmail" class="form-control" type="email" name="fromEmail" value="{% if message is defined %}{{ message.fromEmail }}{% endif %}">
        {{ message is defined and message ? errorList(message.getErrors('fromEmail')) }}

        Project Description (let's keep it Twitter, 140 characters or less)
        <input id="projectDesc" class="form-control" type="text" name="message[Project Description]" value="{% if message is defined %}{{ message.fromName }}{% endif %}">
        {{ message is defined and message ? errorList(message.getErrors('projectDesc')) }}

        Approximate Completion Date
        <input id="completionDate" class="form-control" type="text" name="message[Completion Date]" value="{% if message is defined %}{{ message.fromName }}{% endif %}">
        {{ message is defined and message ? errorList(message.getErrors('completionDate')) }}

        Estimated Budget (Totally cool if you don't know it yet)
        <input id="budget" class="form-control" type="text" name="message[Budget]" value="{% if message is defined %}{{ message.fromName }}{% endif %}">
        {{ message is defined and message ? errorList(message.getErrors('budget')) }}

    <button type="submit" class="ladda-button" data-color="green" data-style="expand-right">Send</button>
</form>

Ajax send:
$('#contact-form').submit(function(ev) {
    // Prevent the form from actually submitting
    ev.preventDefault();

    // Get the post data
    var data = $(this).serialize();

    // $('.project-main-img').fadeOut(500);
    $('.project-top-desc .start').fadeOut(200,function(){
        $('.project-top-desc .success').fadeIn(200);
    });
    $('.project-main-img .contact-form').fadeOut(300);
    // $('.project-main-img').animate({'right':'-50%'}, 500);
    $('.project-top-desc').animate({'width':'100%'}, 500);
    console.log(data);
    // Send it to the server
    $.post('/', data, function(response) {
        if (response.success) {
            console.log("sent");
        } else {
            // response.error will be an object containing any validation errors that occurred, indexed by field name
            // e.g. response.error.fromName => ['From Name is required']
            console.log("error");
        }
    });
});

I can confirm in the console that data is being populated but you can also see it's not returned successful:
action=contactForm%2FsendMessage&message%5BName%5D=Eric%20R%20Davis&message%5BCompany%20Website%5D=Davis&fromEmail=erdavis76%40gmail.com&message%5BProject%20Description%5D=Test%20Description&message%5BCompletion%20Date%5D=test&message%5BBudget%5D=test
all.min.js:1 error

What versions of Craft CMS and Contact Form are you running?
Try enabling Dev Mode and check the Ajax response in your browser’s Network console tab. Do you see an error / stack trace?

No errors in the network tab. I did spit out the response to the console and it's returning the page HTML. I am using Craft version 2.6.2971 and Contact Form version 1.8.1.
I currently have the site in devMode if you'd like to look. It's located at http://centerfoldagency.com/

One thing I should mention is the site content is being loaded via AJAX and I am rewriting URLs with jQuery. The form itself is in an external HTML doc that loads into a container whenever Contact in the nav is triggered.

Just tested on your site and looks like it sent successfully? The Ajax request got a 200 response with {"success":true}.
Somewhat confusing, the page immediately responded as if the message was sent, but it took 6.9 seconds for the Ajax request to complete. So maybe you’re just not waiting long enough?

That's strange because for me it's coming back with an error and never sends.

Th contact for took 41 seconds to load for me and when it did there were these JavaScript errors.

Looks like there are some environmental issues to work out.

@hellomrdavis Did you ever receive the email from me? If so, fair to say that it generally “works” and yeah, there’s an environmental issue at foot.

Hi guys, I have a similar problem.
My ajax call seems ok but I never receive emails.
 superagent.post('/').set('Content-Type', 'application/x-www-form-urlencoded').send(headers).end((err, res) => {
the res return ok.

and this is the headers screen on my xhr network tab
someone know why?

@sndrgb https://craftcms.com/support/troubleshooting-email-errors#dealing-with-email-delivery-issues


interface to arbitrary data

Hi Scott! I'm going to use your older pyhsmm in the meantime, but it would be great if you could include a natural interface to working with real data. What I mean is, rather than just having your objects built around generating data from a given model and then fitting it, having some kind of sklearn style interface to estimate a model from a timeseries.
Take care,
Kam

Maybe my problem is I don't understand the documentation ;-)

Hey Kam,
Glad you found your way to SSM!  Real data examples are on the horizon, don't worry.  In the meantime, my advice would be: take the examples for simulating data and fitting another model to it and strip out the simulating step.  The interface is pretty simple.
hmm = HMM(num_states, data_dim, observations="gaussian")
lls = hmm.fit([data_array1, data_array2, ...], method="em")

where data_array1 is a time x data_dim array.
Hope that gets you by for now.  Thanks for your patience while I beef up the docs!
Scott

Thanks I see how it works now, cheers. (Doing a comparison with my optimization-based method.)

Great, which part of SSM are you using in particular?  If you come up with some new optimization-based fitting methods let me know -- it'd be great to a) learn about them, and b) incorporate them into the package!


Make AggregateApplicationBuilder more fluent

So you can add a parent for instance, like this:
new AggregateApplicationBuilder().from(TwitterStreamApplication.class)
	.args(new String[] { "--language=en" }).to(StreamTransformer.class)
	.parent(
		SpringApplication.run(ModuleApplication.class, args))
	.run();

@dsyer Here's my proposed change to AbstractApplicationBuilder https://github.com/mbogoevici/spring-cloud-stream/commit/995e268da51ce89fc57e695707bb2c9fe846ebe7

Merged w/https://github.com/spring-cloud/spring-cloud-stream/commit/22f5b7a15e47f53ae59a2218a59da99ad16d4ed3 with additional changes here:https://github.com/spring-cloud/spring-cloud-stream/commit/995e268da51ce89fc57e695707bb2c9fe846ebe7


Update SPMediaKeyTap

I can't run soundcleod together with yandex-music-mac-player (Mac app for Yandex.Music, music service for Russia).
Updating SPMediaKeyTap should fix it, bringing in whitelist changes.

+1 only the play/pause media key works my USB keyboard. Newer versions of SPMediaKeyTap work fine.


try to build with Android Studio3.0

Attempt to build with Android Studio 3.0
But I run into this and does someone has a clue what's wrong here ?
./gradlew buildDependentsNdklibrarysampleX86DebugArmSharedLibrary

:app:compileNdklibrarysampleX86DebugArmSharedLibraryNdklibrarysampleX86DebugArmSharedLibraryMainCpp
/Users/hannes/git/openCV/OpenCV-AndroidSamples/app/src/main/jni/DetectionBasedTracker.cpp:1:17: fatal error: jni.h: No such file or directory
#include <jni.h>
^
compilation terminated.
/Users/hannes/git/openCV/OpenCV-AndroidSamples/app/src/main/jni/Tutorial2.cpp:1:17: fatal error: jni.h: No such file or directory
#include <jni.h>
^
compilation terminated.
:app:compileNdklibrarysampleX86DebugArmSharedLibraryNdklibrarysampleX86DebugArmSharedLibraryMainCpp FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:compileNdklibrarysampleX86DebugArmSharedLibraryNdklibrarysampleX86DebugArmSharedLibraryMainCpp'.

Multiple build operations failed.
C++ compiler failed while compiling DetectionBasedTracker.cpp.
C++ compiler failed while compiling Tutorial2.cpp.
See the complete log at: file:///Users/hannes/git/openCV/OpenCV-AndroidSamples/app/build/tmp/compileNdklibrarysampleX86DebugArmSharedLibraryNdklibrarysampleX86DebugArmSharedLibraryMainCpp/output.txt

With last commit, I solved previous error, and now I run into this

/Users/hannes/Development/android-ndk-r10b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: fatal error: --sysroot=: must take a non-empty argument
collect2: error: ld returned 1 exit status


Release 2.3.5

It looks like the AWS keys have been rotated or something. I tested locally and integration tests pass successfully:


Behaviour with zapi collector data schedule - After losing cluster comms

Describe the bug
The default data schedule for the zapi collector is 180s defined at conf/zapi/default.yaml. By default when using the Prometheus exporter the data is always available after the collector starts regardless of the schedule, if these collectors fail and then recover (in my case, we lost comms to one of the clusters), the exporter begins to only report data samples for Zapi metrics every 180s, when it should be returning cached instances between those intervals.
Environment
Provide accurate information about the environment to help us reproduce the issue.

Harvest version: harvest version 21.05.4-2 (commit 19f8f25) (build date 2021-07-22T15:41:23+0000) linux/amd64
Command line arguments used: [e.g. bin/harvest start --config=foo.yml --collectors Zapi]
OS: RHEL 7.9
Install method: yum
ONTAP Version: 9.4P8
Other:

To Reproduce
Lose connection to a cluster (possibly for longer than the schedule interval? at least thats what happened for us).
Expected behavior
Zapi Collectors should recover and cache data appropriately for the prometheus exporter
Actual behavior
Zapi Collectors do not cache data and the exporter only returns samples according to the schedule interval.
Possible solution, workaround, fix
Restarting harvest resumes functions correctly.
Additional context
There's nothing in the logs to indicate any issues, funnily enough when harvest loses connection to a cluster, the only logging thats shown is context deadline exceeded for ZapiPerf collectors and zero logging for Zapi collectors.
EDIT
This seems to affect zapi perf as well, I'm actually not sure about the correlation between the data schedules, all I can say is that after collector recovery they seem to only produce metrics every 15mins.

hi @hashi825 Let me describe what I did and maybe you can point out if I understand your ask.
I simulated an unreachable cluster by modifying zapi.go PollData() and PollInstance() to return a connection error after 3 successful polls. The idea is default.yaml defines a ratio of 1 to 3 for data to instance which means the schedule looks something like this:
i = instance
d = data
i d d d i d d d i d d ...
0 1 2 3 4 5 6 7 8 9 10   poll_index

my hack was to add a global counter poll_index that's incremented every time PollData() and PollInstance() are called. When poll_index is between [3 and 5] those two Poll methods were changed to return a connection error.
In a separate terminal I ran
while true; printf "%s %s\n" (date) (curl -s 'http://localhost:13001/metrics' | wc -l); sleep 60s; end

which prints the following (with the out-of-the-box defaults of instance=10m and data=3m)
Wed Jul 28 15:05:23 EDT 2021    21561
Wed Jul 28 15:06:23 EDT 2021    21565
Wed Jul 28 15:07:23 EDT 2021    21565
Wed Jul 28 15:08:23 EDT 2021       38
Wed Jul 28 15:09:23 EDT 2021       38
Wed Jul 28 15:10:23 EDT 2021    21564
Wed Jul 28 15:11:23 EDT 2021    21564
Wed Jul 28 15:12:23 EDT 2021    21564

That means I get the expected 21,564 metrics for the first three polls, then a period of 30+ metrics when the connection is down, followed by a return to normal when the connection problems clears.
Are you suggesting that Harvest should return 21500 instead of 38 in my example above or that after a connection error you only see 38 even after the connection is restored?

Basically after the collector recovered, my data looks like this. The dotted data points are 15mins apart, this appears the same on Zapi and ZapiPerf collector data (this particular metric was aggr_space_phyiscal_used_percent). The data past those 15min data points is after I restarted harvest.

@hashi825 thanks for the screenshot. by chance have you checked Prometheus's logs? those gaps are certainly unexpected - here's a similar graph when I lost connection - no gaps after the connections is restored. and you said nothing interesting in the harvest logs for these pollers during the dot times?

There were no scrape errors in the log, this prometheus instance sits on the same server as harvest which collects metrics from 10 other clusters. I'll double check the both logs again but for what it's worth this cluster was unreachable for about 3 hours so I'm not sure if the amount of time it was unreachable plays into reproducing this issue.

@cgrinds
had this happen again but this time due to us doing an ONTAP upgrade on this particular cluster. I haven't found the root cause but pretty much the metrics become available for a duration of about 5 minutes before disappearing, I tested this by repeatedly curling the metrics URL. Once they disappear the only metrics returned are metadata_component_status and metadata_component_count, metadata_component_count reports 0 counts for all ZapiPerf and Zapi metrics
ie:
metadata_component_count{hostname=xxx,instance=xxx,job=harvest,name=Zapi,poller=xxx,reasong="running",target="Aggregate",type="collector",version="21.05.4"} 0

thanks for the update @hashi825 - we haven't figured out how to reproduce yet but will try an longer period of offlineness.

Hi @hashi825, regarding:

if these collectors fail and then recover (in my case, we lost comms to one of the clusters), the exporter begins to only report data samples for Zapi metrics every 180s, when it should be returning cached instances between those intervals.

The Prometheus exporter will cache metrics only for a limited amount of time, by default this is 180s. You can change this to a longer interval, check the cache_max_keep parameter in the doc.

Hi @hashi825, regarding:

if these collectors fail and then recover (in my case, we lost comms to one of the clusters), the exporter begins to only report data samples for Zapi metrics every 180s, when it should be returning cached instances between those intervals.

The Prometheus exporter will cache metrics only for a limited amount of time, by default this is 180s. You can change this to a longer interval, check the cache_max_keep parameter in the doc.

Still doesn't explain why after a long disconnect and when the collectors recover, that metrics are only available every 15mins for 180s, when the schedule.is 60s.

thanks, I'll respond to that as well

There is a problem with schedule framework which changes task interval. Resetting retrydelay fixes 17 min gap issue. We still need to handle change of task interval for any other edge cases.


MONDO:0019082 "pemphigoid" alt name

Mondo term (ID Label)
MONDO:0019082 bullous pemphigoid
Bug/Typo/Error description
This record includes a synonym of "pemphigoid" in our latest download , but this is the preferred term on MONDO:0850301. I don't think it should be a syn on one term and pref. name on another.
Also MONDO_0850301 could probably add an x-ref of SNOMED CT 86142006
Your nano-attribution (ORCID)
If you don't have an ORCID, you can sign up for one here

thanks @kanems - I excluded that synonym so it will not be visible in the release version of Mondo and I added the SNOMED xref, thanks!


security_groups ignored

Describe the Bug
Whatever is in security_groups seems to be ignored
Expected Behavior
Security groups specified in security_groups should be applied
Steps to Reproduce
security_groups = [aws_security_group.my_group1.id, aws_security_group.my_group2.id]
Screenshots
Output of terraform plan:
 ~ vpc_options {
            availability_zones = [
               <LIST>
            ]
          ~ security_group_ids = [
              - "sg-<my_group1.id>",
              - "sg-<my_group2.id>",
                "sg-<generated-group.id>",
              - "sg-<manually_added_group.id>",
            ]

In the above output, terraform is again trying to remove the groups I have manually added to the ES domain configuration via the AWS Web UI because in a previous run they did NOT get applied.
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:

OS: ubuntu on AWS
Version 18.04

Hi, can have a look at this issue - got tf experience. Terraform has perculiar way of interpreting lists. Tf is trying to remove anything which was not applied via tf itself and not stored in tf state file.

I'm experiencing the same issue, I created everything via terraform cli so It could not be a conflict with terraform state, I think its a bug.

Yup me too. Try to add more security group but still not apply

Same issue.

I had found that, in the .terraform/modules/elasticsearch/main.tf line 164,the code security_group_ids = [join("", aws_security_group.default.*.id)] ,this security did not add any security_group content which we add in the parent module.
So, i added my security group id  here manually. It's working. Like this security_group_ids = [join("", aws_security_group.default.*.id),"sg-xxxxxxxx"]

Same issue.

The security_groups configuration option refers to the security groups that have access to the cluster' security group. This is an excerpt of a plan:
  + resource "aws_security_group_rule" "ingress_security_groups" {
      + description              = "Allow inbound traffic from Security Groups"
      + from_port                = 0
      + id                       = (known after apply)
      + protocol                 = "tcp"
      + security_group_id        = (known after apply)
      + self                     = false
      + source_security_group_id = "sg-AAAAAAA"
      + to_port                  = 65535
      + type                     = "ingress"
    }

Each specified SG will create a new ingress rule.

Any update on this? Can we escalate?


Classes are not detected in development

Since version 3.1.3 one of my page layout is broken. In version 3.1.2 and when I build production version, everything is fine.
Between version 3.1.2 and 3.1.3 you changed one think that may couse the problem for me - related to process env: https://github.com/styled-components/styled-components/pull/1460/files
Version
styled-components: 3.1.6
babel-plugin-styled-components: 1.5.0

Reproduction
I do not have reproduction because I do not even know right now what is the source of the problem.
What I found in inspector is that generated styles for following components
const ContentWrapper = styled.div`
  width: 100%;
  height: 100%;
  overflow-y: overlay;
  overflow-x: hidden;
`;

const ContentContainer = styled.div`
  width: 960px;
  height: 100%;
  padding-left: 10px;
  padding-right: 10px;
`;

are just empty - class names are not visible in browser style inspector but they are in html attribute.
I checked and those classes are created in head.

Steps to reproduce
Expected Behavior
Actual Behavior

Are you 100% sure you don't have NODE_ENV=production when you see this behavior?

Yes, I am - "start": "cross-env NODE_ENV=development node server",

Sorry, we need some kind of reproduction or way more info here. There’s not a lot to go after right now :/

I will try provide an example
09.02.2018 10:19 "Phil Plückthun"<EMAIL_ADDRESS>napisał(a):

Sorry, we need some kind of reproduction or way more info here. There’s
not a lot to go after right now :/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/styled-components/styled-components/issues/1507#issuecomment-364379173,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK-jNW3NgOw8d3veTwugpU22pZZPW1VSks5tTA2zgaJpZM4R_Rly
.

@darkowic were you able to fix this on your end or come up with a minimal reproduction?

I can confirm that the problem is fixed in the new version - 3.2.0. Sorry for not providing the reproduction example on time... And thank you for this great library!


BLE one central connect multiple peripherals

Hello,
I am using zephyr 2.4.99 to develop a BLE program
Currently, I used central_hr and peripheral in the sample to load separately on two nrf52840s
Now the two boards can communicate with each other, can read and write
But now I want a central_hr to connect to more than two peripherals, but when I loaded the peripheral to the third board, my central_hr could not be connected to the second peripheral
In addition, I also added CONFIG_BT_MAX_CONN=3 in prj.conf, but it still doesn’t work.
I started_sacn() again after finding the UUID
However, after scanning, it will be found that the handles of the two peripherals are the same, and the central request will cause conflicts when reading, so how do you distinguish when the central wants to read data from one of them?
Or is there a sample program for one central to multiple peripherals?
Thanks,
Poyi Lin

Which handle is the same? connection handle / ATT handle?
What exactly does not work.
Need more information in order to answer this question.

@mfinmuch please provide the info requested

Which handle is the same? connection handle / ATT handle?
What exactly does not work.
Need more information in order to answer this question.

Hello
I finally found that my ATT handle will be the same
But my connection handle will be determined according to the connection order
However, how to select a specific peripheral to use, whether to use it according to the handle of the link, is still not very clear.

@mfinmuch You get the connection object to the connections you create. You will have to manage these, as these are the ones used to select which connection you want to perform the read operation on.
As you can see the first argument to bt_gatt_read is this connection object, bt_conn *conn.
The central_hr sample is written to only support one connection at a time, and therefore it only keeps track of one connection object, default_conn.

@joerchan
I have seen other people implement one central to mutiple peripheral in other questions
I referred from here https://github.com/zephyrproject-rtos/zephyr/issues/21552
I use this to modify, central will go to scan peripherals, after subscribing, in the notify function will receive the data sent by the peripheral, received and immediately use bt_gatt_write to send back to the peripheral directly
When I have more than two peripherals links, one of the peripherals is disconnected, it will print [UNSUBSCRIBED] and jump to the disconnect callback function, then clear the disconnected link, then do attempt_scan()
However, the connected peripheral cannot send the data to the central at this time, and the central will be stuck in the attempt_scan() of disconnect, and the transmission can only continue after the central finds the disconnected peripheral again
How to prevent central from getting stuck in diconnect's attempt_scan() so that the connected peripheral can still send information to central?
The disconnected callback function as follow:
static void disconnected(struct bt_conn *conn, u8_t reason)
{
	char addr[BT_ADDR_LE_STR_LEN];

	bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr));

    u8_t conn_index = bt_conn_index(conn);
    if (conn_index == connecting_index) {
        connecting_index = -1;
        is_connecting = false;
    }
    printk("Disconnected: %s, index: %u, ref: %u, (reason 0x%02x)\n", addr, conn_index, conn->ref, reason);

    if (conn_index < 32) {
        if (connections[conn_index] == conn) {
            bt_conn_unref(connections[conn_index]);
            connections[conn_index] = NULL;
            conn_num--;
        }
    }

    attempt_scan();
}

Thanks in advance,

@mfinmuch I'm not sure why it would be stuck in attempt_scan.
Are you able to share the code and which commit of zephyr you are on so that I can reproduce this issue locally to figure this one out?

@mfinmuch I'm not sure why it would be stuck in attempt_scan.
Are you able to share the code and which commit of zephyr you are on so that I can reproduce this issue locally to figure this one out?

Finally, I found out that my call_back notify_func will set params->value_handle=0U when unsubscribe occurs.
I guess this is because the notifry handle of the connected peripheral was also cleared.
This part feels that zephyr is not well managed in multilink

Are you using the same subscribe parameters for all connections, that is not supported.
You will have to have separate subscribe parameters per subscription.

Are you using the same subscribe parameters for all connections? That is not supported.
You will have to have separate subscribe parameters per subscription.
So how can I avoid the disconnected peripheral from affecting the connected peripheral without canceling params-value_handle=0?
Then why cancel the params->value_handle=0 so that the peripheral in the connection will not be stuck?

Thanks,
Poyi

When you subscribe you use a pointer to subscribe parameteres, you have to provide different pointers.
For example like this:
static struct bt_gatt_subscribe_params subscribe_params[CONFIG_BT_MAX_CONN];
...

struct bt_gatt_subscribe_params *params = &subscribe_params[bt_conn_index(conn)];

params->notify = notify_func;
params->value = BT_GATT_CCC_NOTIFY;
params->ccc_handle = attr->handle;

err = bt_gatt_subscribe(conn, params);

When you subscribe you use a pointer to subscribe parameteres, you have to provide different pointers.
For example like this:
static struct bt_gatt_subscribe_params subscribe_params[CONFIG_BT_MAX_CONN];
...

struct bt_gatt_subscribe_params *params = &subscribe_params[bt_conn_index(conn)];

params->notify = notify_func;
params->value = BT_GATT_CCC_NOTIFY;
params->ccc_handle = attr->handle;

err = bt_gatt_subscribe(conn, params);

Thank you,
The method you provide can be used, which is much more reasonable than I canceled params-value_handle=0
Poyi

Great, I'll close this issue now then.


Modified video, we want a video from JWPlayer

@smarnach :
Hello,
Xavier told me to warn you about this pull request so that you can include it in the final deploy.
@antoviaque : cc ^^
Thanks,
Regis

@Kulgar Switching to English so @smarnach can follow :p
I'm merging this to deploy it.

@smarnach @antoviaque : sorry I did not know that smarnach don't speak French :)


(c) 2017

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Error creating cluster when no default SSH key under .ssh

Error: An RSA key file or key value must be supplied to SSH key Value. You can use --gnerate-ssh-keys to let CLI generate one for you.

Hmm, this happens if there isn't a default SSH key (id_rsa), but that should be caught by the prerequisites check.  Can you have a look in your .ssh directory and let me know what files you have in there please?

No, I don't have id_rsa there. It is better I could get the hint that I should have ssh key ready before I navigate to next step. Or give me the option to add additional parameter "--generate-ssh-keys" when I move to next step.

Yeah, it's meant to complain if you don't have the SSH key.  I'll check out why that isn't happening.
Was this AKS or ACS?

Can you check if you have both id_rsa and id_rsa.pub?  I think I've seen this error if you have the private key but not the public key.

Sorry for late response. It is AKS.
When there is no default SSH key under .ssh, could the extension create one instead of reporting errors? It will be more friendly.
I am using VS Code on Windows. The folder .ssh is under c:\user<my user name>.

@itowlson @kyliel Looks like we can use this beta feature in make use of ssh-keygen for key generation! https://blogs.msdn.microsoft.com/commandline/2018/01/22/openssh-in-windows-10/

Oh I think I already fixed this?  https://github.com/Azure/vscode-kubernetes-tools/pull/230

@itowlson yes this looks like you did do the thing


avail_nets fails sometimes when an HP printer network is present

(This issue reported at https://apple.stackexchange.com/questions/341517/airport-s-x-returns-truncated-output.)
The avail_nets command calls airport -s -x to get available network information in (pseudo-)XML format. In several locations, if there is an HP printer network, the output terminates somewhere in that element, and the command fails. For example:
       <key>SSID_STR</key>
       <string>DIRECT-0E-HP OfficeJet 4650</string>
       <key>WPS_PROB_RESP_IE</key>
       <dict>
                <key>IE_KEY_WPS_AP_SETUP_LOCKED</key>
                <true/>
                <key>IE_KEY_WPS_CFG_METHODS</key>
                <integer>0</integer>
                <key>IE_KEY_WPS_DEV_NAME</key>
                <string>DIRECT-0E-HP OfficeJet 4650</string>
                <key>IE_KEY_WPS_DEV_NAME_DATA</key>
                <data>
                RElSRUNULTBFLUhQIE9mZmljZUpldCA0NjUw
                </data>
                <key>IE_KEY_WPS_MANUFACTURER</key>
                <string>HP</string>
                <key>IE_KEY_WPS_MODEL_NAME</key>
                <string>OfficeJet 4650 series

Without the -x option, the output works, but, as I say, there is the space issue that prevents me from relying on it:
                        SSID BSSID             RSSI CHANNEL HT CC SECURITY (auth/unicast/group)
                NETGEAR25-5G a0:04:60:1a:5a:89 -67  153,-1  Y  -- WPA2(PSK/AES/AES)
 DIRECT-0E-HP OfficeJet 4650 ac:e2:d3:a9:d9:0f -90  6       Y  -- WPA2(PSK/AES/AES)
                      iPhone b2:8d:6c:9f:dd:00 -49  1       Y  US WPA2(PSK/AES/AES)
                   NETGEAR25 a0:04:60:1a:5a:87 -62  9       Y  -- WPA2(PSK/AES/AES)
                   CBCI-4F58 60:3d:26:57:4f:5c -86  6       Y  -- WPA2(PSK/AES/AES)

Apparently there are others who have discovered this bug: An excerpt from https://clburlison.com/macos-wifi-scanning/:
When you run airport with the --xml flag the command would fail to output properly formatted xml data. I did not spend a bunch of time trying to find the root issue since I wanted a working solution now and knew any potential bug fixes would take 3-18 months. One idea is that HP printers are broadcasting a SSID with unsafe characters, or maybe the airport command chokes when scanning in a highly saturated area.
You can see the result of a failed run below, without proper ending tags:
<dict>
    <!-- removed for brevity-->
    <key>SSID_STR</key>
    <string>DIRECT-54-HP ENVY 4520 series</string>
    <key>WPS_PROB_RESP_IE</key>
    <dict>
        <key>IE_KEY_WPS_AP_SETUP_LOCKED</key>
        <true/>
        <key>IE_KEY_WPS_CFG_METHODS</key>
        <integer>0</integer>
        <key>IE_KEY_WPS_DEV_NAME</key>
        <string>DIRECT-54-HP ENVY 4520 series</string>
        <key>IE_KEY_WPS_DEV_NAME_DATA</key>
        <data>
        RElSRUNULTU0LUhQIEVOVlkgNDUyMCBzZXJpZXM=
        </data>
        <key>IE_KEY_WPS_MANUFACTURER</key>
        <string>HP</string>
        <key>IE_KEY_WPS_MODEL_NAME</key>
        <string>ENVY 4520 series

fwiw, this airport bug is still the case on Catalina 10.15.2.


haskell: Make haskellPackages.callPackage overridable

Motivation for this change
Currently nh2/static-haskell-nix overrides every executable package to add the required options for static compilation. This works, but it would be much nicer to just override callPackage to add these options, so that users can just use callPackage, callCabal2nix and developPackage from the resulting package set and have them work as expected (i.e. generate statically linked executables).
Previously self.callPackage was used in some places and callPackage in others. This patch makes it so that self.callPackage is used consistently, so we can override callPackage and have the overriden version be used everywhere.
Things done

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

[ ] NixOS
[ ] macOS
[x] 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"
[ ] 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.

That looks very reasonable to me.

@Aver1y I apologize for basically missing this PR and #88841.
Are you still interested in working on these two PRs?
When reviewing this sort of stuff, it is somewhat hard to know what the exact effect of using things like self, or changing the way extend is handled (#88841).  (Well, I guess this PR is significantly easier to eye-ball than #88841.)
Would you also be willing to come up some sort of example that only works when the changes from these two PRs are applied?


Captcha Killer

I believe I have found a way to address the captchas that appear from time-to-time on entries.  I am testing now, but it is looking good.  It may be a somewhat bandwidth intensive solution though.  Not exactly sure, but it makes those captchas a thing of the past.
I will test for a few days and do a pull request if everything works as expected.

Does this require use of a 3rd party service that enters the capcha's?   I can clone your version to a new dir and test using slower internet if you think it would help.

No, it doesn't rely on third party solvers. That was my first thought, but I am to cheap for that.  LOL It is a pure programming.
I don't have it in my forked repository at this time. I have been testing in my local clone.  I have been getting some promise errors after it runs for 4 or more hours and I am not sure if it is related to the change.

Good news.  After running all day long, I went through all 140 pages.  Every captcha that was encountered was decoded successfully.  :-)
I will have to integrate the changes that were made today into my base code and I will issue a pull request as soon as I can.

@jpchip ,
I am trying to figure out what branch to do the changes for the Captcha Killer pull request.  Should I wait till you merge the config-file branch into master?
Let me know how to proceed.  Thanks!

Good news. After running all day long, I went through all 140 pages. Every captcha that was encountered was decoded successfully. :-)
I will have to integrate the changes that were made today into my base code and I will issue a pull request as soon as I can.

Are you solving capcha's on the password pages as well or using another method to remove those?

Unfortunately, this is only for the ones that popup on the sweep page itself. The ones that stop the program until the captcha it typed into Chromium.
Hopefully, the work being tested by @jpchip on #58 will help. My testing with the one suggestion broke the process, so hoping there is a way to handle the cookies needed properly.

This is very exciting. thanks! :) I will test and merge this BEFORE the config-file changes. Need to resolve #66 first, then I'll give this look.

This has been merged into master and released (v2.9.0).
I added you to the contributors list in the package.json. Thanks for your help!

Minor issue with this.  In the scenario where a capcha is asked for and tesseract supplies one but the sweep does not sucessfully "complete" for whatever reason (double box, no video, wrong type of video etc) amazon will continue to ask you for capcha's on every sweep until one is able to "finish".  At one point I manually did a sweep in my OTHER browser to get amazon to stop after having to do around 20 capcha's in a row.    In this circumstance it seems to treat it as if the initial capcha failed and just sits there waiting for the user to enter the 2nd capcha.  Perhaps the capcha killer needs a self check to determine if it's still on the same giveaway.

You may be on to something. I will keep my eye open for this scenario. The problem is that the testing has to occur in the wild.  Plus, this is a particular setup that has to happen with a specific set of circumstances.
Perhaps the data driven approach that will block going into an already entered seep may make this a moot item.  I am working on #66 and if I can get that licked, a data driven approach is next on my to do.


Allow inline edits when rowid is present

Assume we have editable permissions on table A
and no editable permissions on table B.
A select statement like this:
select A.rowid, A.*, B.z from A, B where A.x = B.y will not allow any of cells or inline edit on table A.
Why is this?

That's because DBeaver doesn't support edit of results of joined tables.

I tested this in oracle sql developer and pl/sql developer from all around automations and DB visualizer.
All allow this as long as rowid is known because rowid is preserved in an insert/update statement.

it is on oracle

I checked an apparently inline edits are allowed in most dbs
where if I permissions on table a, b and no permissions on table c.
Then
select a.rowid as a_rowid, a., b., c.rowid as c_rowid, c.* from a,b,c
should allow

edits on any field in a --> since rowid is preserved in edit and has permissions,
no edits on b since rowid is missing
no edits on c since user has no permissions even when c.rowid is present.

Ravi

You can create editable view and use it. You can ever create view with 'instead of update/insert/delete' triggers.


[aom] build failure

Operating system
linux
Compiler
gcc
Steps to reproduce the behavior
vcpkg/vcpkg install aom

Failure logs
Installing 1/1<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>-- Fetching https://aomedia.googlesource.com/aom bb6430482199eaefbeaaa396600935082bc43f66...
-- Extracting source /work/opensrc/c++/vcpkg/downloads/aom-bb6430482199eaefbeaaa396600935082bc43f66.tar.gz
-- Applying patch aom-rename-static.diff
-- Applying patch aom-uninitialized-pointer.diff
-- Applying patch aom-install.diff
-- Using source at /work/opensrc/c++/vcpkg/buildtrees/aom/src/082bc43f66-bbe7040b1b.clean
-- Configuring x64-linux
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: /work/opensrc/c++/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja -v
Working Directory: /work/opensrc/c++/vcpkg/buildtrees/aom/x64-linux-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
/work/opensrc/c++/vcpkg/buildtrees/aom/config-x64-linux-dbg-CMakeCache.txt.log
/work/opensrc/c++/vcpkg/buildtrees/aom/config-x64-linux-rel-CMakeCache.txt.log
/work/opensrc/c++/vcpkg/buildtrees/aom/config-x64-linux-out.log
Call Stack (most recent call first):
installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:252 (vcpkg_execute_required_process)
ports/aom/portfile.cmake:33 (vcpkg_cmake_configure)
scripts/ports.cmake:175 (include)
error: building aom:x64-linux failed with: BUILD_FAILED
Elapsed time to handle aom:x64-linux: 8 s
Please ensure you're using the latest port files with git pull and `vcpkg upda
Additional context
linux mint 21.3, gcc 12, vcpkg [2024.03.25]

Error code: 1
See logs for more information:
/work/opensrc/c++/vcpkg/buildtrees/aom/config-x64-linux-dbg-CMakeCache.txt.log
/work/opensrc/c++/vcpkg/buildtrees/aom/config-x64-linux-rel-CMakeCache.txt.log
/work/opensrc/c++/vcpkg/buildtrees/aom/config-x64-linux-out.log

Please provide the log file containing error information.

We don't have enough information to solve this issue, unfortunately; if you have any more information to help us solve this, please reopen!


Is there any way to get entry path list

My code is as below:

    var fs = require('fs');
    var entries = [];
    var srcStream = fs.createReadStream('test.zip');
    srcStream.pipe(unzip.Parse())
    .on('entry', function(entry) {
      entries.push(entry.path);
      entry.autodrain();
    })
    .on('finish', function() {
      console.log(entries);
    });

But the output is always "[]", it seems when "finish" event got, the operation on "entry" event is not finished.
Is there any solutions that I can get all the entry list?

change "finish" to "close" solve this issue, but I got another one, once zip file contain an empty file, the code will fail to fire "close" event.


gate tls implementation behind features

As requested here https://github.com/hrxi/tracing-loki/issues/4#issuecomment-1171733745, this PR aims to gate the used tls implementation behind features and removes the Cargo.lock (as per best practices https://doc.rust-lang.org/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries)

I disagree with the reasoning in the FAQ, I like reproducible builds in my CI.
As also noted in the FAQ, the Cargo.lock doesn't affect downstream users, so it really is only used for developing the library.

Merged manually in a63b6c18c9a9bb778bcbac1a511dfb8f37b343ae.


Explain how to set both the background and foreground color for elements

I tried multiple combinations in the config.yaml file without success.
When using --column-rainbow setting both background and foreground is a necessity.

sorry.
What about this example?
StyleColumnRainbow:
    - Foreground: "white"
      Background: "red"
    - Foreground: "crimson"
      Underline: true
    - Foreground: "#ff7f00"
      Background: "blue"
      Bold: true
    - Foreground: "lightsalmon"
      Italic: true
    - Foreground: "lime"
      Dim: true
    - Foreground: "blue"
    - Foreground: "yellowgreen"

I think this would be nice in the documentation so this ticket is closed

thank you. i will add it


New command: m365 entra user groupmembership list. Closes #5904

Closes #5904

Thank you @MartinM85, we'll try to review it ASAP!

Ready to merge 🚀

Merged manully. You Rock 🤩👏


Use deployment key to publish the API doc

Coverage remained the same at 95.263% when pulling 27a7f9d79beb95104c7267a35b3a136568b11552 on akkie:deployment_key into 2312496ba4831a0aac6c6921eb1d0c4105836a9f on mohiva:master.

Coverage remained the same at 95.263% when pulling 27a7f9d79beb95104c7267a35b3a136568b11552 on akkie:deployment_key into 2312496ba4831a0aac6c6921eb1d0c4105836a9f on mohiva:master.


Fix keyboard inadvertently opening when returning to app

This PR fixes #127

FYI, when I tested this out, your original commit did solve your original issue reported in #127, but it did not solve the behavior mentioned in this comment. I have pushed another change here that should resolve that behavior as well!

Thank you!


Not working on ubuntu

Not working on Ubuntu 20.04, with this error message:
matheus@matheus:~/Downloads$ npx daledale
npx: installed 1 in 0.758s
Error: Command failed: paplay /home/matheus/.npm/_npx/7023/lib/node_modules/daledale/daledale.ogg
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

    at ChildProcess.exithandler (child_process.js:303:12)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) {
  killed: false,
  code: 1,
  signal: null,
  cmd: 'paplay /home/matheus/.npm/_npx/7023/lib/node_modules/daledale/daledale.ogg'
}

Hello @metehus !
The problem isn't the package, but the audio execution in Linux. Most likely your Ubuntu does not have any audio driver or sound servers (like PulseAudio). Check this.
If you running your ubuntu in a VM, do not forget to take a look in the Audio Section in VirtualBox and verify if the driver is set correctly.
But, if you running your Ubuntu in a WSL/WSL2, you can use this tutorial to use pulseaudio in your Windows with WSL2.


Update scope analysis after SWC upgrade

New version of SWC will collect top-level bindings, so we need to double check our scope analysis code and possibly remove that code.
https://github.com/swc-project/swc/pull/4436

Blocked on https://github.com/swc-project/swc/issues/4610


docs: removed auto-generated {' '} symbol from docs to resolve #576

#576
Description
removed auto-generated {' '} symbol from 5 pages of docs
Fixes # (issue)
#576
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] This change contains documentation update

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

[ ] Test A
[ ] Test B

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings

@NabajitS you may have to run the prettier fo fix some code styling.


SSH remote not working in 1.43

VSCode Version: 1.43
OS Version: Windows 10 1903

Steps to Reproduce:

Update from VSCode 1.42.1 to 1.43
Connect to a remote host through its alias declared in %UserProfile%/.ssh/config

Expected behavior: An SSH session can be established to the remote machine.
Behavior in reality: VSCode cannot connect, throwing "cannot resolve hostname" error. The problem can be partly mitigated by putting the IP address in etc/hosts, however settings (like IdentityFile in .ssh/config) are not respected.
EDIT: downgrade the Remote - SSH plugin to version 0.49.0 helped.

Same for me, this morning i updated to 1.42 to 1.43 and now SSH does not work.
Another annoying issue is that when it loses connection with SSH i have to re-open all tabs again and again

@tiptronic85 you can try downgrade the extension Remote - SSH version to 0.49.0, that worked for me. VSCode 1.43 automatically updated the extension to version 0.50.0.

@tiptronic85 you can try downgrade the extension Remote - SSH version to 0.49.0, that worked for me. VSCode 1.43 automatically updated the extension to version 0.50.0.

What do i have to do to downgrade the extension ?

I have another problem, sometimes when it loses connection, all tabs were closed.
Do you have the same problem? Any hint?

I got the following in the output panel when trying to connect from Mac to Linux with version 0.50.0 of Remote - SSH:
[10:21:57.782] stderr> bash: line 1: syntax error near unexpected token `then'
[10:21:57.782] stderr> bash: line 1: `then'
[10:21:57.782] stderr> function: Command not found.
[10:21:57.783] stderr> COMMIT_ID=78a4c91400152c0f27ba4d363eb56d2835f9903a: Command not found.
[10:21:57.783] > 4f0acc8d1184: running
[10:21:57.783] stderr> EXTENSIONS=: Command not found.
[10:21:57.783] stderr> TELEMETRY=: Command not found.
[10:21:57.784] stderr> export: Command not found.
[10:21:57.784] stderr> ALLOW_CLIENT_DOWNLOAD=1: Command not found.
[10:21:57.784] stderr> VSCODE_AGENT_FOLDER: Undefined variable.
[10:21:57.785] stderr> _lock: Command not found.

VS Code was just hanging doing nothing. Going back to Remote - SSH 0.49.0 solved this for me too.

In my case Vscode was complaining about ssh key being incorrect format, then prompting for password. After entering pass, it connected and in logs I saw the motd from server. Then it complained about not being able to create symlink and disconnected.
Downgrading plugin fixed the issue (thanks @tgquan67, you saved my life ;) ).

In my case downgrading did not help.

@przemo1983 it's a bit messy, but you can try open a local window of VSCode, uninstall Remote - SSH extension, then install VSCode version 1.42.1. After that reinstall the extension. That also worked for me.
@tiptronic85  I have never been disconnected in the middle of a session, just when I connect to a server without turning the server on first, it will throw an error, and if I choose to close the window instead of retrying next time I connect I will lose all tabs of that workspace. It has always been like that for me, so maybe you will need to open an other ticket to request that feature (save workspace state even when connection fails, or something similar).

@tgquan67 your workaround works for me. thank you!

We experience the same issue in our company. The investigation is quite a setback. The first stderr lines are bash related
[14:20:16.943] stderr> bash: line 1: ons: command not found
[14:20:16.943] stderr> bash: line 8: syntax error near unexpected token `else'
[14:20:16.943] stderr> bash: line 8: `else'

Maybe some script broke?

We can confirm that reverting the Remote SSH extension to 0.49 is enough, no need to downgrade VS Code itself, no need to delete anything.

The new version of the extension seems to completly ignore the config file. I use a different username and I overwrite sometimes the hostname and it doesn't recognize it anymore.
Furthermore it seems that doesn't use the Windows 10 ssh agent... this worked previously.

I found that you can delete the vscode-server on your remote machine. My remote machine is linux. It will start work again aftern the vscode install the server on the remote machine.

Can someone share the full log from the Remote-SSH output channel? And, are you using a non-bash shell on the remote?
As a workaround, disabling the "useLocalServer" setting for ssh might help.

@roblourens My setup: Windows 10 with ssh installed connecting to VM with ubuntu 19.10 using private key (all defined in ssh config file with some port forwarding).
ssh -V
OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5

[19:18:13.786] Log Level: 2
[19:18:13.799]<EMAIL_ADDRESS>[19:18:13.799] win32 x64
[19:18:13.801] SSH Resolver called for "ssh-remote+vm", attempt 1
[19:18:13.802] SSH Resolver called for host: vm
[19:18:13.802] Setting up SSH remote "vm"
[19:18:13.812] Acquiring local install lock: C:\Users\kamil\AppData\Local\Temp\vscode-remote-ssh-vm-install.lock
[19:18:13.866] Looking for existing server data file at c:\Users\kamil\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-ssh\vscode-ssh-host-vm-78a4c91400152c0f27ba4d363eb56d2835f9903a\data.json
[19:18:13.868] Using commit id "78a4c91400152c0f27ba4d363eb56d2835f9903a" and quality "stable" for server
[19:18:13.871] Install and start server if needed
[19:18:13.877] Checking ssh with "ssh -V"
[19:18:13.935] > OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
[19:18:13.937] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[19:18:14.000] > OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
[19:18:14.001] Checking ssh with "C:\Program Files\Git\usr\bin\ssh.exe -V"
[19:18:14.344] > OpenSSH_8.1p1, OpenSSL 1.1.1d  10 Sep 2019
[19:18:14.348] askpass server listening on \\.\pipe\vscode-ssh-askpass-94183a2b2b502d02aac1af1225a0e301de4a6ff6-sock
[19:18:14.348] Spawning local server with {"ipcHandlePath":"\\\\.\\pipe\\vscode-ssh-askpass-9213ae1fa89fa238eff2eae41e74b71ac3352917-sock","sshCommand":"C:\\Program Files\\Git\\usr\\bin\\ssh.exe","sshArgs":["-v","-T","-D","8425","vm"],"dataFilePath":"c:\\Users\\kamil\\AppData\\Roaming\\Code\\User\\globalStorage\\ms-vscode-remote.remote-ssh\\vscode-ssh-host-vm-78a4c91400152c0f27ba4d363eb56d2835f9903a\\data.json"}
[19:18:14.349] Local server env: {"DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"c:\\Users\\kamil\\.vscode\\extensions\\ms-vscode-remote.remote-ssh-0.50.0\\out\\local-server\\askpass.bat","VSCODE_SSH_ASKPASS_NODE":"C:\\Users\\kamil\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe","VSCODE_SSH_ASKPASS_MAIN":"c:\\Users\\kamil\\.vscode\\extensions\\ms-vscode-remote.remote-ssh-0.50.0\\out\\askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"\\\\.\\pipe\\vscode-ssh-askpass-94183a2b2b502d02aac1af1225a0e301de4a6ff6-sock"}
[19:18:14.360] Spawned 10940
[19:18:14.554] > local-server> Spawned ssh: 5468
[19:18:14.610] stderr> OpenSSH_8.1p1, OpenSSL 1.1.1d  10 Sep 2019
[19:18:14.711] stderr> debug1: Server host key: ecdsa-sha2-nistp256 SHA256:NP/QiZC47rRsObIzn4MZeQxs2jCqibJhpnFZnB3DUlY
[19:18:14.780] stderr> Load key "C:\\Users\\kamil\\.ssh\\id_rsa_vm": invalid format
[19:18:15.032] Got askpass request<EMAIL_ADDRESS>password: "}
[19:18:15.033] Showing password prompt
[19:18:15.036] Listening for interwindow password on \\.\pipe\vscode-ssh-askpass-49915231c5f2237c1325a1f44544ed62f4bc6113-sock
[19:18:15.036] Writing password prompt to globalState
[19:18:25.400] Got password response
[19:18:25.401] Interactor gave response: *******
[19:18:25.402] Cleaning up other-window auth server
[19:18:25.475] stderr> Authenticated to <IP_ADDRESS> ([<IP_ADDRESS>]:22).
[19:18:25.480] stderr> bind [::1]:8080: Address already in use
[19:18:25.480] stderr> bind [<IP_ADDRESS>]:8080: Address already in use
[19:18:25.480] stderr> channel_setup_fwd_listener_tcpip: cannot listen to port: 8080
[19:18:25.481] stderr> bind [::1]:1080: Address already in use
[19:18:25.481] stderr> bind [<IP_ADDRESS>]:1080: Address already in use
[19:18:25.481] stderr> channel_setup_fwd_listener_tcpip: cannot listen to port: 1080
[19:18:25.482] stderr> bind [::1]:3000: Address already in use
[19:18:25.482] stderr> bind [<IP_ADDRESS>]:3000: Address already in use
[19:18:25.482] stderr> channel_setup_fwd_listener_tcpip: cannot listen to port: 3000
[19:18:25.483] stderr> bind [::1]:1080: Address already in use
[19:18:25.483] stderr> bind [<IP_ADDRESS>]:1080: Address already in use
[19:18:25.483] stderr> channel_setup_fwd_listener_tcpip: cannot listen to port: 1080
[19:18:25.483] stderr> bind [::1]:2080: Address already in use
[19:18:25.484] stderr> bind [<IP_ADDRESS>]:2080: Address already in use
[19:18:25.485] stderr> channel_setup_fwd_listener_tcpip: cannot listen to port: 2080
[19:18:26.164] > Welcome to Ubuntu 19.10 (GNU/Linux 5.3.0-40-generic x86_64)
>
>  * Documentation:  https://help.ubuntu.com
>  * Management:     https://landscape.canonical.com
>  * Support:        https://ubuntu.com/advantage
>
>   System information as of Tue 10 Mar 2020 06:18:25 PM UTC
>
>   System load:                    0.06
>   Usage of /:                     74.4% of 97.93GB
>   Memory usage:                   62%
>   Swap usage:                     0%
>   Processes:                      328
>   Users logged in:                1
>   IP address for ens33:           <IP_ADDRESS>
>   IP address for docker0:         <IP_ADDRESS>
>   IP address for br-6c78fe65ed7c: <IP_ADDRESS>
>
>
> 0 updates can be installed immediately.
> 0 of these updates are security updates.
>
[19:18:26.206] > ready: 1a8ceda0087d
[19:18:26.213] > Linux 5.3.0-40-generic #32-Ubuntu SMP Fri Jan 31 20:24:34 UTC 2020
[19:18:26.214] Platform: linux
[19:18:26.238] > 1a8ceda0087d: running
[19:18:26.283] > Acquiring lock on /home/hell/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/vscode-remote-lock.hell.78a4c91400152c0f27ba4d363eb56d2835f9903a
> \ln /home/hell/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/vscode-remote-lock.hell.78a4c91400152c0f27ba4d363eb56d2835f9903a.target /home/hell/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/vscode-remote-lock.hell.78a4c91400152c0f27ba4d363eb56d2835f9903a
> Installation already in progress...
> 1a8ceda0087d##24##
[19:18:26.283] Received install output: 1a8ceda0087d##24##
[19:18:26.284] Server installation process already in progress - waiting and retrying
[19:18:26.284] Terminating local server
[19:18:26.285] stderr> ln: failed to create hard link '/home/hell/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/vscode-remote-lock.hell.78a4c91400152c0f27ba4d363eb56d2835f9903a': File exists
[19:18:26.298] Local server exit: null
[19:18:27.292] askpass server listening on \\.\pipe\vscode-ssh-askpass-7c1c753b57092f57f90452f356c656f90e49e3c9-sock
[19:18:27.293] Spawning local server with {"ipcHandlePath":"\\\\.\\pipe\\vscode-ssh-askpass-bf6463a6a9b78fdd47ccd952d8c92a4ee2bae94e-sock","sshCommand":"C:\\Program Files\\Git\\usr\\bin\\ssh.exe","sshArgs":["-v","-T","-D","8425","vm"],"dataFilePath":"c:\\Users\\kamil\\AppData\\Roaming\\Code\\User\\globalStorage\\ms-vscode-remote.remote-ssh\\vscode-ssh-host-vm-78a4c91400152c0f27ba4d363eb56d2835f9903a\\data.json"}
[19:18:27.293] Local server env: {"DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"c:\\Users\\kamil\\.vscode\\extensions\\ms-vscode-remote.remote-ssh-0.50.0\\out\\local-server\\askpass.bat","VSCODE_SSH_ASKPASS_NODE":"C:\\Users\\kamil\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe","VSCODE_SSH_ASKPASS_MAIN":"c:\\Users\\kamil\\.vscode\\extensions\\ms-vscode-remote.remote-ssh-0.50.0\\out\\askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"\\\\.\\pipe\\vscode-ssh-askpass-7c1c753b57092f57f90452f356c656f90e49e3c9-sock"}
[19:18:27.303] Spawned 2332
[19:18:27.470] > local-server> Spawned ssh: 2124
[19:18:27.539] stderr> OpenSSH_8.1p1, OpenSSL 1.1.1d  10 Sep 2019
[19:18:27.650] stderr> debug1: Server host key: ecdsa-sha2-nistp256 SHA256:NP/QiZC47rRsObIzn4MZeQxs2jCqibJhpnFZnB3DUlY
[19:18:27.716] stderr> Load key "C:\\Users\\kamil\\.ssh\\id_rsa_vm": invalid format
[19:18:27.933] Got askpass request<EMAIL_ADDRESS>password: "}
[19:18:27.934] Showing password prompt
[19:18:27.934] Listening for interwindow password on \\.\pipe\vscode-ssh-askpass-ea23eb8453edbe7dabfda6d64e3dea11301dc2d1-sock
[19:18:27.934] Writing password prompt to globalState
[19:18:31.595] Got password response
[19:18:31.596] Interactor gave response: *******
[19:18:31.596] Cleaning up other-window auth server
[19:18:31.652] stderr> Authenticated to <IP_ADDRESS> ([<IP_ADDRESS>]:22).
[19:18:31.655] stderr> bind [::1]:8080: Address already in use
[19:18:31.656] stderr> bind [<IP_ADDRESS>]:8080: Address already in use
[19:18:31.656] stderr> channel_setup_fwd_listener_tcpip: cannot listen to port: 8080
[19:18:31.658] stderr> bind [::1]:1080: Address already in use
[19:18:31.659] stderr> bind [<IP_ADDRESS>]:1080: Address already in use
[19:18:31.659] stderr> channel_setup_fwd_listener_tcpip: cannot listen to port: 1080
[19:18:31.663] stderr> bind [::1]:3000: Address already in use
[19:18:31.663] stderr> bind [<IP_ADDRESS>]:3000: Address already in use
[19:18:31.664] stderr> channel_setup_fwd_listener_tcpip: cannot listen to port: 3000
[19:18:31.664] stderr> bind [::1]:1080: Address already in use
[19:18:31.664] stderr> bind [<IP_ADDRESS>]:1080: Address already in use
[19:18:31.664] stderr> channel_setup_fwd_listener_tcpip: cannot listen to port: 1080
[19:18:31.665] stderr> bind [::1]:2080: Address already in use
[19:18:31.666] stderr> bind [<IP_ADDRESS>]:2080: Address already in use
[19:18:31.666] stderr> channel_setup_fwd_listener_tcpip: cannot listen to port: 2080
[19:18:32.129] > Welcome to Ubuntu 19.10 (GNU/Linux 5.3.0-40-generic x86_64)
>
>  * Documentation:  https://help.ubuntu.com
>  * Management:     https://landscape.canonical.com
>  * Support:        https://ubuntu.com/advantage
>
>   System information as of Tue 10 Mar 2020 06:18:31 PM UTC
>
>   System load:                    0.05
>   Usage of /:                     74.4% of 97.93GB
>   Memory usage:                   62%
>   Swap usage:                     0%
>   Processes:                      327
>   Users logged in:                1
>   IP address for ens33:           <IP_ADDRESS>
>   IP address for docker0:         <IP_ADDRESS>
>   IP address for br-6c78fe65ed7c: <IP_ADDRESS>
>
>
> 0 updates can be installed immediately.
> 0 of these updates are security updates.
>
[19:18:32.176] > ready: 1a8ceda0087d
[19:18:32.187] > Linux 5.3.0-40-generic #32-Ubuntu SMP Fri Jan 31 20:24:34 UTC 2020
[19:18:32.188] Platform: linux
[19:18:32.206] > 1a8ceda0087d: running
[19:18:32.250] > Acquiring lock on /home/hell/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/vscode-remote-lock.hell.78a4c91400152c0f27ba4d363eb56d2835f9903a
> \ln /home/hell/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/vscode-remote-lock.hell.78a4c91400152c0f27ba4d363eb56d2835f9903a.target /home/hell/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/vscode-remote-lock.hell.78a4c91400152c0f27ba4d363eb56d2835f9903a
> Installation already in progress...
> 1a8ceda0087d##24##
[19:18:32.250] Received install output: 1a8ceda0087d##24##
[19:18:32.251] Server installation process already in progress - waiting and retrying
[19:18:32.251] Terminating local server
[19:18:32.252] stderr> ln: failed to create hard link '/home/hell/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/vscode-remote-lock.hell.78a4c91400152c0f27ba4d363eb56d2835f9903a': File exists
[19:18:32.264] Local server exit: null
[19:18:33.262] askpass server listening on \\.\pipe\vscode-ssh-askpass-abcbc7a22ee6e0064f281004aedc7e4f9dcb9ab5-sock
[19:18:33.263] Spawning local server with {"ipcHandlePath":"\\\\.\\pipe\\vscode-ssh-askpass-04bd73b35a391570976e1b03b559a22cdf434e54-sock","sshCommand":"C:\\Program Files\\Git\\usr\\bin\\ssh.exe","sshArgs":["-v","-T","-D","8425","vm"],"dataFilePath":"c:\\Users\\kamil\\AppData\\Roaming\\Code\\User\\globalStorage\\ms-vscode-remote.remote-ssh\\vscode-ssh-host-vm-78a4c91400152c0f27ba4d363eb56d2835f9903a\\data.json"}
[19:18:33.263] Local server env: {"DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"c:\\Users\\kamil\\.vscode\\extensions\\ms-vscode-remote.remote-ssh-0.50.0\\out\\local-server\\askpass.bat","VSCODE_SSH_ASKPASS_NODE":"C:\\Users\\kamil\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe","VSCODE_SSH_ASKPASS_MAIN":"c:\\Users\\kamil\\.vscode\\extensions\\ms-vscode-remote.remote-ssh-0.50.0\\out\\askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"\\\\.\\pipe\\vscode-ssh-askpass-abcbc7a22ee6e0064f281004aedc7e4f9dcb9ab5-sock"}
[19:18:33.272] Spawned 9408
[19:18:33.443] > local-server> Spawned ssh: 9956
[19:18:33.508] stderr> OpenSSH_8.1p1, OpenSSL 1.1.1d  10 Sep 2019
[19:18:33.581] stderr> debug1: Server host key: ecdsa-sha2-nistp256 SHA256:NP/QiZC47rRsObIzn4MZeQxs2jCqibJhpnFZnB3DUlY
[19:18:33.650] stderr> Load key "C:\\Users\\kamil\\.ssh\\id_rsa_vm": invalid format
[19:18:33.880] Got askpass request<EMAIL_ADDRESS>password: "}
[19:18:33.881] Showing password prompt
[19:18:33.882] Listening for interwindow password on \\.\pipe\vscode-ssh-askpass-b01c270fc0d89b5c7791f556b9bf2ea29745d07a-sock
[19:18:33.882] Writing password prompt to globalState

This is the log when I use extension version 0.50.0, right after updating:
[21:22:44.626] Log Level: 2
[21:22:44.627]<EMAIL_ADDRESS>[21:22:44.627] win32 x64
[21:22:44.628] SSH Resolver called for "ssh-remote+work_ubuntu", attempt 1
[21:22:44.628] SSH Resolver called for host: work_ubuntu
[21:22:44.628] Setting up SSH remote "work_ubuntu"
[21:22:44.631] Acquiring local install lock: C:\Users\me\AppData\Local\Temp\vscode-remote-ssh-work_ubuntu-install.lock
[21:22:44.642] Looking for existing server data file at c:\Users\me\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-ssh\vscode-ssh-host-work_ubuntu-78a4c91400152c0f27ba4d363eb56d2835f9903a\data.json
[21:22:44.643] Using commit id "78a4c91400152c0f27ba4d363eb56d2835f9903a" and quality "stable" for server
[21:22:44.644] Install and start server if needed
[21:22:44.658] Checking ssh with "ssh -V"
[21:22:44.692] > OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
[21:22:44.693] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[21:22:44.725] > OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
[21:22:44.725] Checking ssh with "C:\Program Files\Git\usr\bin\ssh.exe -V"
[21:22:44.836] > OpenSSH_8.1p1, OpenSSL 1.1.1d  10 Sep 2019
[21:22:44.844] askpass server listening on \\.\pipe\vscode-ssh-askpass-fee0b72d2347ecb32ed17dec24eb0dbc3046caf8-sock
[21:22:44.844] Spawning local server with {"ipcHandlePath":"\\\\.\\pipe\\vscode-ssh-askpass-7097648ae0f5921695f165e2c13a01bd5dea32d0-sock","sshCommand":"C:\\Program Files\\Git\\usr\\bin\\ssh.exe","sshArgs":["-v","-T","-D","58744","work_ubuntu"],"dataFilePath":"c:\\Users\\me\\AppData\\Roaming\\Code\\User\\globalStorage\\ms-vscode-remote.remote-ssh\\vscode-ssh-host-work_ubuntu-78a4c91400152c0f27ba4d363eb56d2835f9903a\\data.json"}
[21:22:44.844] Local server env: {"DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"c:\\Users\\me\\.vscode\\extensions\\ms-vscode-remote.remote-ssh-0.50.0\\out\\local-server\\askpass.bat","VSCODE_SSH_ASKPASS_NODE":"C:\\Users\\me\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe","VSCODE_SSH_ASKPASS_MAIN":"c:\\Users\\me\\.vscode\\extensions\\ms-vscode-remote.remote-ssh-0.50.0\\out\\askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"\\\\.\\pipe\\vscode-ssh-askpass-fee0b72d2347ecb32ed17dec24eb0dbc3046caf8-sock"}
[21:22:44.851] Spawned 11332
[21:22:44.939] > local-server> Spawned ssh: 10160
[21:22:44.977] stderr> OpenSSH_8.1p1, OpenSSL 1.1.1d  10 Sep 2019
[21:22:47.264] stderr> ssh: Could not resolve hostname work_ubuntu: Name or service not known
[21:22:47.267] > local-server> ssh child died, shutting down
[21:22:47.281] Local server exit: 0
[21:22:47.281] Received install output: OpenSSH_8.1p1, OpenSSL 1.1.1d  10 Sep 2019
ssh: Could not resolve hostname work_ubuntu: Name or service not known

[21:22:47.283] Resolver error: Could not resolve hostname
[21:22:47.292] ------

And this is the log when I use version 0.49.0
[21:21:48.296] Log Level: 3
[21:21:48.296]<EMAIL_ADDRESS>[21:21:48.296] win32 x64
[21:21:48.297] SSH Resolver called for "ssh-remote+work_ubuntu", attempt 1
[21:21:48.297] SSH Resolver called for host: work_ubuntu
[21:21:48.297] Setting up SSH remote "work_ubuntu"
[21:21:48.303] Using commit id "78a4c91400152c0f27ba4d363eb56d2835f9903a" and quality "stable" for server
[21:21:48.304] Install and start server if needed
[21:21:48.329] Checking ssh with "ssh -V"
[21:21:48.376] > OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
[21:21:48.377] Running script with connection command: ssh -T -D 58716 work_ubuntu bash
[21:21:48.379] Terminal shell path: C:\Windows\System32\cmd.exe
[21:21:48.424] >
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ]0;C:\Windows\System32\cmd.exe
[21:21:48.424] Got some output, clearing connection timeout
[21:21:48.430] >
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
[21:21:48.565] > warning: agent returned different signature type ssh-rsa (expected rsa-sha2-512)
[21:21:49.068] > 3283cd3a0d80: running
>
[21:21:49.102] > Acquiring lock on /home/me/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d28
> 35f9903a/vscode-remote-lock.me.78a4c91400152c0f27ba4d363eb56d2835f9903a
>
[21:21:49.110] > Found existing installation at /home/me/.vscode-server/bin/78a4c91400152c0f27b
> a4d363eb56d2835f9903a...
>
[21:21:49.126] > LC_MEASUREMENT=en_GB.UTF-8
> SSH_CONNECTION=<IP_ADDRESS> 58717 <IP_ADDRESS> 22
> LC_PAPER=en_GB.UTF-8
> LC_MONETARY=en_GB.UTF-8
> LANG=en_US.UTF-8
> SSH_AUTH_SOCK=/tmp/ssh-aE2sA2f5wX/agent.2393
> LC_NAME=en_GB.UTF-8
> XDG_SESSION_ID=3
> USER=me
> PWD=/home/me
> HOME=/home/me
> SSH_CLIENT=<IP_ADDRESS> 58717 22
> LC_ADDRESS=en_GB.UTF-8
> LC_NUMERIC=en_GB.UTF-8
> MAIL=/var/mail/me
> PAPERSIZE=a4
> SHELL=/bin/bash
> SHLVL=2
> LC_TELEPHONE=en_GB.UTF-8
> VSCODE_AGENT_FOLDER=/home/me/.vscode-server
> LOGNAME=me
> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
> XDG_RUNTIME_DIR=/run/user/1000
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/us
> r/local/games
> LC_IDENTIFICATION=en_GB.UTF-8
> LC_TIME=en_GB.UTF-8
> _=/usr/bin/printenv
> Starting server...
> Waiting for server log...
[21:21:49.139] >
>
[21:21:49.639] >
> *
> * Reminder: You may only use this software with Visual Studio family products,
> * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
> *
>
[21:21:49.649] >
>
[21:21:49.665] > 3283cd3a0d80: start
> sshAuthSock==/tmp/ssh-aE2sA2f5wX/agent.2393==
> agentPort==38795==
> osReleaseId==ubuntu==
> arch==x86_64==
> webUiAccessToken====
> tmpDir==/run/user/1000==
> 3283cd3a0d80: end
[21:21:49.666] Received install output:
sshAuthSock==/tmp/ssh-aE2sA2f5wX/agent.2393==
agentPort==38795==
osReleaseId==ubuntu==
arch==x86_64==
webUiAccessToken====
tmpDir==/run/user/1000==

[21:21:49.666] Remote server is listening on port 38795
[21:21:49.666] Parsed server configuration: {"agentPort":38795,"osReleaseId":"ubuntu","arch":"x86_64","webUiAccessToken":"","sshAuthSock":"/tmp/ssh-aE2sA2f5wX/agent.2393","tmpDir":"/run/user/1000"}
[21:21:49.667] Starting forwarding server. localPort 58720 -> socksPort 58716 -> remotePort 38795
[21:21:49.668] Forwarding server listening on 58720
[21:21:49.669] Waiting for ssh tunnel to be ready
[21:21:49.674] [Forwarding server 58720] Got connection 0
[21:21:49.677] Tunneled remote port 38795 to local port 58720
[21:21:49.678] Resolved "ssh-remote+work_ubuntu" to "<IP_ADDRESS>:58720"
[21:21:49.680] Updating $SSH_AUTH_SOCK: ln -f -s "/tmp/ssh-aE2sA2f5wX/agent.2393" "/run/user/1000/vscode-ssh-auth-sock-852735657"
[21:21:49.681] Using cwd: vscode-remote://ssh-remote%2Bwork_ubuntu/
[21:21:49.681] Remote extension host environment: {"SSH_AUTH_SOCK":"/run/user/1000/vscode-ssh-auth-sock-852735657"}
[21:21:49.683] >
>
[21:21:49.693] ------

[21:21:49.705] [Forwarding server 58720] Got connection 1
[21:21:49.706] [Forwarding server 58720] Got connection 2
[21:21:50.160] [Forwarding server 58720] Got connection 3
[21:21:50.161] [Forwarding server 58720] Got connection 4
[21:21:50.161] [Forwarding server 58720] Got connection 5
[21:21:50.989] "Update SSH_AUTH_SOCK" terminal command done

Can confirm that downgrading Remote - SSH to 0.49.0 worked for me, too.

If I read the release notes right on 1.4.3, Remote SSH has changed the default of option remote.SSH.useLocalServer to true. It appears that this option, combined with a connection to an SSH server and user where the default shell is either 1) not BASH, 2) or is FISH (my case), the connection establishment hangs indefinitely.
Setting remote.SSH.useLocalServer to false OR setting the default shell to BASH resolves the issue. So the problem likely has to do with the interaction between the Local Server mode and FISH (perhaps shells other than BASH also have this issue).

@radcool you are right, changing it to false did the trick. I totally missed the changelog of remote development 1.43.
From what I can see in my case, somehow the local server used the SSH client bundled with Git instead of Windows' SSH client, and totally missed the SSH config file.

Recommended workaround for now - disable remote.SSH.useLocalServer as described above. Tomorrow morning I will push out an update reverting the change to enable that by default.

@radcool Thanks! I can confirm that setting remote.SSH.useLocalServer set to false worked for me too. I have default shell TCSH and that in combination with remote.SSH.useLocalServer set to true does not work.

Setting remote.SSH.useLocalServer to false did not work in my case. Only fix was reverting Remote SSH and Remote SSH edit to version 0.49. Hopefully this can be fixed.

Closing this - I am still planning on disabling useLocalServer by default on Windows, but I need to work on the experience a bit first. Sorry for the trouble and delay. @neurosylvia please open another issue with the log from the Remote-SSH output channel and I can help you diagnose it.

@roblourens FYI You mentioned you planning to change the default for useLocalServer on Windows, but note that I had to set remote.SSH.useLocalServer to false on my VS Code running on Fedora 31 as well to work around the problem.

Can someone explain why enabling remote.SSH.useLocalServer makes VS Code choose the SSH executable in Git for Windows rather than that in %WINDIR%\System32\OpenSSH ?

To work around a bug in the Windows OpenSSH which causes us to show empty password prompts (with no prompt message)


Old Kernel Version Error

The installation fails because the current kernel version has a higher version than the requested kernel version.
Error is: "Driver for 6.1.21-v7l+ kernel not found"
Kernel version control can be disabled for workaround.
Note: Kernel should be downloaded to the latest.
(sudo apt update && sudo apt upgrade , sudo apt-get install raspberrypi-kernel-headers)
In addition, the "DIR=/home/pi/files" directory on line 15 of the "tutorials/QMI_tutorial/qmi_install.sh" file gives an error because it changes from user to user.

#!/bin/sh
: '
QMI installation script by Sixfab
This script is strictly for Raspberry Pi OS.
Created By Metin Koc, Nov 2018
Modified by Saeed Johar, 11th June 2019
'
YELLOW='\033[1;33m'
RED='\033[0;31m'
SET='\033[0m'
DIR=/home/{CHANGE_FOR_YOUR_USERNAME}/files
UDHCPC_DIR=/usr/share/udhcpc
echo "${YELLOW}Clean Old Files${SET}"
if [ -d $DIR ]; then
rm -rf $DIR
rm -rf $DIR.zip ; fi # for old directory
echo "${YELLOW}Change directory to /home/pi${SET}"
cd /home/pi
echo "${YELLOW}Downloading source files${SET}"
wget https://github.com/sixfab/Sixfab_RPi_3G-4G-LTE_Base_Shield/raw/master/tutorials/QMI_tutorial/src/quectel-CM.zip -O quectel-CM.zip
unzip quectel-CM.zip -d $DIR && rm -r quectel-CM.zip
echo "${YELLOW}Checking Kernel${SET}"
echo "${YELLOW}Installing udhcpc${SET}"
apt install udhcpc
echo "denyinterfaces wwan0" >> /etc/dhcpcd.conf
sudo systemctl daemon-reload
sudo systemctl restart dhcpcd
echo "${YELLOW}Copying udhcpc default script${SET}"
mkdir -p $UDHCPC_DIR
cp $DIR/quectel-CM/default.script $UDHCPC_DIR/
chmod +x $UDHCPC_DIR/default.script
if [ -d $DIR/drivers ]; then
echo "${YELLOW}Change directory to $DIR/drivers${SET}";
cd $DIR/drivers;
make && make install;
fi
echo "${YELLOW}Change directory to $DIR/quectel-CM${SET}"
cd $DIR/quectel-CM
make
chmod 777  $DIR/quectel-CM
echo "${YELLOW}After reboot please follow commands mentioned below${SET}"
echo "${YELLOW}go to $DIR/quectel-CM and run sudo ./quectel-CM -s [YOUR APN]${SET}"
read -p "Press ENTER key to reboot" ENTER
reboot


Stick selected node positions on scroll

Please describe the feature that you want to propose
I am creating a gantt-chart using react-flow. I need to implement a feature such that if I scroll the pane, selected nodes should not move where as non-selected nodes should move as per the scroll. Is it possible now? If not, please add it.

This is a very specific use case that we won't add to the library. If you need it, you can implement it by using the current transform or useOnViewportChange for example. You could check if there is one or multiple selected nodes. If so, you would need to adjust their positions based on the viewport change.

Thanks, I did it with CSS positioning.