Cannot use Wiki on Private Channels in Teams

I created a private channel in Teams and was not able to add a Wiki tab. I added additional public channels and Wiki was available. I tried deleting and re-adding the private channel and still no luck. Is there maybe a Powershell cmd I can run to add it? I know in the past that Powershell had to be used to add features in SharePoint.
Thanks,
Nick

@nicknnator
thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


[2484] Add inform publisher page

Context
Changes proposed in this pull request
Guidance to review
Checklist

[ ] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 Move AccessRequests functionality


How to compile custom build with Cygwin for Windows?

I'm Win user and would it be possible to compile using Cygwin? If so, how?

For cygwin as I understand it, you can largely follow the Linux instructions in the README. You might have better luck using WSL if you can, though. I hear SDL support for cygwin might be lacking, though it'll compile fine without it as well. You just don't get the real-time render preview that way.


Unable to get OAUTH working using Automate and internally generated certs

We're trying to enable OAUTH for Habitat through Automate. I've followed the steps:
https://github.com/habitat-sh/on-prem-builder#oauth-application
https://automate.chef.io/docs/configuration/#setting-up-automate-as-an-oauth-provider-for-builder
For the Automate certificate, I copied the full chain (for our internally issued cert) and appended to the cert.pem that's being used by the builder-api/builder-api-proxy (in this case '/hab/pkgs/core/cacerts/2018.12.05/20190115014206/ssl/cert.pem').
Connection wise everything seems to work. I navigate to habitat and choose to login. Get directed to our Automate instance and login which then takes me back to habitat. But once back there it will time out after about 15 seconds and give me the "DANGER Unable to retrieve oauth token" error.
We saw the open issue https://github.com/habitat-sh/on-prem-builder/issues/33
I set that env variable to the cert.pem listed above but still get the same issue.
I'm not seeing anything logged when using 'journalctl -fu hab-sup'. Please advise on anything else I can try to get this to work. Thanks in advance!

I have never been successful with appending my cert chain to cert.pem that has been Habitatized.  If you go the route to setting the SSL_CERT_FILE env var, you have to make sure that hab user can access the file.  Then make sure to do a full restart of hab-sup and related services.
There is also a way to increase logging on the builder-api so that you can see what is going on.  Check the README.md

https://github.com/habitat-sh/on-prem-builder/blob/master/README.md#debug-logging <- how to enable debug logging

Ok, i'll try adding the hab user to just the internal cert. I tried that once but the install.sh was then failing so hopefully that user trick will get err done.

Ok, debugging logging showed nothing else of note for any of my attempts. Last log was from when the service started.
I gave everyone rwx permissions on the single file then did a 'systemctl restart hab-sup'. Same oauth error.
If I try to do an uninstall/install.sh with just my single file as the "SSL_CERT_FILE", then I get errors during the install around certs like this:
☁ Determining latest version of habitat/builder-datastore in the 'on-prem-stable' channel
✗✗✗
✗✗✗ [Err: 0] hab-sup(ER)[components/sup/src/error.rs:465:55]: the handshake failed: The OpenSSL library reported an error: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:s3_clnt.c:1269:: unable to get local issuer certificate
✗✗✗

If I set the "SSL_CERT_FILE" back to the the full cert.pem (still with my internal certs appended), I get through the uninstall/install.sh process, but I'm back in the same boat.

Hrmm. Can you look through this ticket? https://github.com/habitat-sh/on-prem-builder/issues/114#issuecomment-455062820
That last comment shows what it finally took to make it work.  I also show a hab-sup systemctl config that should get you more debugging.
Other thing to try is:
SSL_CERT_FILE=/path/to/cert-bundle curl https://<oauth-provider>

If that at least works, then there are some configuration issues with hab.

Ok, just read through everything again. I've reverified that I set an env var for SSL_CERT_FILE and that permissions on it and the parent folder are 777.
I've tried setting the variable in a couple different spots as well to make sure I'm covered:

export SSL_CERT_FILE...
modifying /etc/environment
modifying /etc/systemd/system/hab-sup.service

We did notice one additional thing yesterday while doing some more debugging. On the Automate side we were seeing proxy errors. Turns out we needed to add a no_proxy setting there for our internal dns. Should've been there in the first place but this was the first time Automate was doing anything other than hitting our Chef server. Added that and the error went away but still no dice.
Checking our /hab/svc/builder-api-proyx/logs/host.access.log has this:
<IP_ADDRESS> - - [14/Jun/2019:15:44:22 +0000] "GET /v1/authenticate/KUfSOXApmrSThw== HTTP/1.1" 401 0 30.001 "http://habitat.mycorp.com/?state=a1550a19-36cc-46f3-848e-05dcf215b221&code=KUfSOXApmrSThw==" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" - -

So still getting a 401 ...

A little more debugging... Spun up a brand new machine and installed again. Same problem.

Successfully got oauth to work! I had to remove all proxy settings. (i.e. I modified /etc/systemd/system/hab-sup.service and deleted HTTP_PROXY, HTTPS_PROXY, NO_PROXY). Restarted hab-sup and then it all works!
So I'm guessing it's a bug that the authenticate doesn't actually use the NO_PROXY.

Correct, we need them so that we can pull down all of the hab packages.

Great to hear that things are working @csmartini!  I'm going to close this issue for now.
It would be great if you could add a PR to amend the README with any troubleshooting steps that are missing that you found useful.

@chefsalim Hmm, you sure you want to close it? It's still a bug in that the no_proxy env variable isn't getting used.
I'll still follow up on the readme though!


OpenSSL.SSL.WantReadError

Hello, i use the streamer and 90% of the time it works well, but sometimes, after several hours, i have this error :
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\site-packages\requests\packages\urllib3\contrib\pyopenssl.py", line 277, in recv_into
return self.connection.recv_into(*args, **kwargs)
  File "C:\ProgramData\Anaconda3\lib\site-packages\OpenSSL\SSL.py", line 1547, in recv_into
self._raise_ssl_error(self._ssl, result)
    File "C:\ProgramData\Anaconda3\lib\site-packages\OpenSSL\SSL.py", line 1353, in _raise_ssl_error
raise WantReadError()
  OpenSSL.SSL.WantReadError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "C:\ProgramData\Anaconda3\lib\site-packages\requests\packages\urllib3\contrib\pyopenssl.py", line 277, in recv_into
return self.connection.recv_into(*args, **kwargs)
    File "C:\ProgramData\Anaconda3\lib\site-packages\OpenSSL\SSL.py", line 1547, in recv_into
self._raise_ssl_error(self._ssl, result)
  File "C:\ProgramData\Anaconda3\lib\site-packages\OpenSSL\SSL.py", line 1370, in _raise_ssl_error
raise SysCallError(errno, errorcode.get(errno))
OpenSSL.SSL.SysCallError: (10054, 'WSAECONNRESET')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\site-packages\requests\packages\urllib3\response.py", line 302, in _error_catcher
yield
  File "C:\ProgramData\Anaconda3\lib\site-packages\requests\packages\urllib3\response.py", line 384, in read
data = self._fp.read(amt)
  File "C:\ProgramData\Anaconda3\lib\http\client.py", line 449, in read
n = self.readinto(b)
  File "C:\ProgramData\Anaconda3\lib\http\client.py", line 483, in readinto
return self._readinto_chunked(b)
  File "C:\ProgramData\Anaconda3\lib\http\client.py", line 578, in _readinto_chunked
chunk_left = self._get_chunk_left()
  File "C:\ProgramData\Anaconda3\lib\http\client.py", line 546, in _get_chunk_left
chunk_left = self._read_next_chunk_size()
  File "C:\ProgramData\Anaconda3\lib\http\client.py", line 506, in _read_next_chunk_size
line = self.fp.readline(_MAXLINE + 1)
  File "C:\ProgramData\Anaconda3\lib\socket.py", line 586, in readinto
return self._sock.recv_into(b)
  File "C:\ProgramData\Anaconda3\lib\site-packages\requests\packages\urllib3\contrib\pyopenssl.py", line 293, in recv_into
return self.recv_into(*args, **kwargs)
  File "C:\ProgramData\Anaconda3\lib\site-packages\requests\packages\urllib3\contrib\pyopenssl.py", line 282, in recv_into
raise SocketError(str(e))
OSError: (10054, 'WSAECONNRESET')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\threading.py", line 916, in _bootstrap_inner
self.run()
  File "C:\ProgramData\Anaconda3\lib\threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
 File "twitter_aspi_v0.8.py", line 179, in _init_stream
tweepy.Stream(auth, listener).userstream()
  File "C:\ProgramData\Anaconda3\lib\site-packages\tweepy\streaming.py", line 396, in userstream
self._start(async)
  File "C:\ProgramData\Anaconda3\lib\site-packages\tweepy\streaming.py", line 363, in _start
self._run()
  File "C:\ProgramData\Anaconda3\lib\site-packages\tweepy\streaming.py", line 296, in _run
raise exception
  File "C:\ProgramData\Anaconda3\lib\site-packages\tweepy\streaming.py", line 265, in _run
self._read_loop(resp)
  File "C:\ProgramData\Anaconda3\lib\site-packages\tweepy\streaming.py", line 315, in _read_loop
line = buf.read_line().strip()
  File "C:\ProgramData\Anaconda3\lib\site-packages\tweepy\streaming.py", line 180, in read_line
self._buffer += self._stream.read(self._chunk_size)
  File "C:\ProgramData\Anaconda3\lib\site-packages\requests\packages\urllib3\response.py", line 401, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
  File "C:\ProgramData\Anaconda3\lib\contextlib.py", line 100, in __exit__
self.gen.throw(type, value, traceback)
  File "C:\ProgramData\Anaconda3\lib\site-packages\requests\packages\urllib3\response.py", line 320, in _error_catcher
raise ProtocolError('Connection broken: %r' % e, e)
requests.packages.urllib3.exceptions.ProtocolError: ('Connection broken: OSError("(10054, \'WSAECONNRESET\')",)', OSError("(10054, 'WSAECONNRESET')",))

I also have this problem.

As a result of looking for the problem, you need to catch the exception and restart it because this exception can't be avoided. I found a question from another developer who seemed to have the same problem. Read this URL for more information: https://stackoverflow.com/questions/49530034/tweepy-openssl-ssl-wantreaderror

Yes i'm the one who asks this question on stackoverflow, forgot to put the answer here sorry !

me too

This is Twitter's API closing the connection with a TCP/IP reset (RST).
The resulting urllib3.exceptions.ProtocolError should now be handled by Tweepy with https://github.com/tweepy/tweepy/commit/68e19cc6b9b23d72369ca1520093770eb18a5a9f.
As for preventing the issue, see Twitter's documentation on disconnections when consuming streaming data.

This is Twitter's API closing the connection with a TCP/IP reset (RST).
The resulting urllib3.exceptions.ProtocolError should now be handled by Tweepy with https://github.com/tweepy/tweepy/commit/68e19cc6b9b23d72369ca1520093770eb18a5a9f.
As for preventing the issue, see Twitter's documentation on disconnections when consuming streaming data.


adding Barnie's write permissions to k/website

A tad late in the release cycle for this, should have been done sooner to streamline the docs release team.

/lgtm
/approve


✨  Make Token-Permission check more granular

Please check if the PR fulfills these requirements

[X] Tests for the changes have been added (for bug fixes / features)
[X] PR title follows the guidelines defined in  https://github.com/ossf/scorecard/blob/main/CONTRIBUTING.md#pr-process

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
feature

What is the current behavior? (You can also link to an open issue here)
see https://github.com/ossf/scorecard/issues/727

What is the new behavior (if this is a feature change)?
see https://github.com/ossf/scorecard/issues/727

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

failing with https://github.com/ossf/scorecard/issues/646
protoc --go_out=../../../ cron/data/request.proto
/bin/bash: protoc: command not found


ActiveRecord::insert(). When insert row, it does not write fields.

PHP 7.4
Yii 2.0.45
The problem showed up when I created an empty model and tried to make a new entry.
The record was created, but the fields were not written.
Migration
<?php

use yii\db\Migration;

class m220725_134053_test extends Migration
{

    public function safeUp()
    {
        $this->createTable('{{%test}}', [
            'id' => $this->primaryKey(),
            'field'=>$this->char(100),
            'field2'=>$this->boolean()->defaultValue(true)
    }

    public function safeDown()
    {
        $this->dropTable('{{%test}}');
    }

}

Controller
<?php

namespace app\controllers;

use app\models\MyModel;
use yii\web\Controller;

class TestController extends Controller
{
    public function actionIndex()
    {
        $model=new MyModel();
        $model->insertData();
    }
}

Model
<?php

namespace app\models;

use yii\db\ActiveRecord;

class MyModel extends ActiveRecord
{
    public string $field='';
    public bool $field2=true;
    public static function tableName()
    {
        return '{{test}}';
    }
    public function rules()
    {
        return [
            [['field', 'field2'], 'required'],
        ];
    }

    public function insertData()
    {
        $model=new static();
        $model->setAttributes(['field'=>'test','field2'=>false]);
        //or
        //$model->field='test'; $model->field2=false;
        $model->insert();
    }
}

result for route test/
Writing to the database

id
field
field2

1
null
true

How to solve the problem successfully.
In the model, it is necessary to exclude the declaration of properties / attributes
<?php

namespace app\models;

use yii\db\ActiveRecord;

class MyModel extends ActiveRecord
{
    //public string $field='';
    //public bool $field2=true;
    public static function tableName()
    {
        return '{{test}}';
    }
    public function rules()
    {
        return [
            [['field', 'field2'], 'required'],
        ];
    }
    public function insertData()
    {
        $model=new static();
         $model->setAttributes(['field'=>'test','field2'=>false]);
        $model->insert();
    }
}

id
field
field2

1
null
true

2
test
false

the problem occurs because the private property BaseActiveRecord::_attributes
https://github.com/yiisoft/yii2/blob/8f2e182872af94685c6bb4fc524a362f797b88ae/framework/db/BaseActiveRecord.php#L88
empty.
This property uses the BaseActiveRecord::getDirtyAttributes method
https://github.com/yiisoft/yii2/blob/8f2e182872af94685c6bb4fc524a362f797b88ae/framework/db/BaseActiveRecord.php#L627
to
create a list of fields for the method
ActiveRecord::insertInternal which makes the recording
https://github.com/yiisoft/yii2/blob/8f2e182872af94685c6bb4fc524a362f797b88ae/framework/db/ActiveRecord.php#L598
Perhaps somewhere the logic of adding attributes is broken.
or maybe BaseActiveRecord::getDirtyAttributes
must not be used in ActiveRecord::insertInternal

As an alternative solution
<?php

namespace app\models;

use yii\db\ActiveRecord;

class Model extends ActiveRecord
{
    protected function reflectFields(array $fields=null)
    {
        if(is_null($fields)){
            $fields=$this->attributes();
        }
        foreach ($fields as $key) {
            if(property_exists($this,$key)){
                $this->__set($key,$this->$key);
            }
        }
        return $this;
    }
}

<?php

namespace app\models;

class MyModel extends Model
{
    public string $field='';
    public bool $field2=true;

    public static function tableName()
    {
        return '{{test}}';
    }
    public function rules()
    {
        return [
            [['field', 'field2'], 'required'],
        ];
    }

    public function insertData()
    {
        $model=new static();
        $model->field2=false;
        $model->field='tessdfsfdst';
        $model->reflectFields()->insert(); // reflect the model fields in the hidden properties of ActiveRecord
    }
}

You should not define the properties in the ActiveRecord model the same as the mapped DB columns as mentioned in the Guide.

Note: The Active Record attributes are named after the associated table columns in a case-sensitive manner. Yii automatically defines an attribute in Active Record for every column of the associated table. You should NOT redeclare any of the attributes.

@bizley https://www.yiiframework.com/doc/guide/2.0/en/structure-models

@bizley https://en.wikipedia.org/wiki/Active_record_pattern
If "Magic" is implemented in the class, then it should reflect the behavior of the Pattern. Otherwise, this behavior is unpredictable. The programmer must intuitively understand how this or that component is implemented, and does not study the entire dock and code to figure out what is wrong.
Refer to other modern frameworks where ActiveRecord is implemented and understand that it is better to make the object transparent in behavior

But judging by how quickly you close the Topic, then you probably do not have a goal to develop your product.

Why so salty? I'm just saying that this way of Active Record implementation is well established in Yii 2 and for a quite long time. I wasn't there when it was created, and I'm aware of better ones existing already elsewhere. I'm just pointing to the documentation where the expected (by Yii 2) way is stated to help you with your code.
As for the developing Yii 2 - there is Yii 3 on its way, where the development is rolling currently.

@bizley
-Why so salty?

because I had to sweat.

Yii 3 is being created for a long time.
I was just looking for a problem in my code, but it turned out that I had nothing to do with it.
In this situation, I proceeded from the fact that the Model Class describes the data structure as an entity (Entry). If you explicitly describe the model, then the code is quite transparent, both for me and for other programmers, and for this you do not need to study the structure of the tables.
Further, the ActiveRecord class inherits the yii\base\Model class, which implies the use of the behavior of this class as an entity.
It turned out that it is necessary to assign attributes only with the help of "magic".

not to flood other topics.
How to deal with this trouble*?
Table

id
field
field2

100
Hello
false

<?php

namespace app\models;

use yii\db\ActiveRecord;

class MyModel extends ActiveRecord
{
    /**
     * @property string $field
     * @property bool $field2
     */

    public static function tableName()
    {
        return '{{test}}';
    }
    public function rules()
    {
        return [
            [['field', 'field2'], 'required'],
        ];
    }

    public function updateData()
    {
        $model=new static();
        $model->id=100;// Logically, when specifying a primary key, the model should be updated.
        $model->field='qwerty';
        $model->field2=false;
        $model->save();//       method tries to insert instead of update  and throw an error
        // or $model->update(); // not update. return false
    }
}

result
Integrity constraint violation – [yii\db\IntegrityException](http://www.yiiframework.com/doc-2.0/yii-db-integrityexception.html)
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '100' for key 'PRIMARY'
The SQL being executed was: INSERT INTO `food_providers` (`id`, `name`, `is_enabled`) VALUES (100, 'qwerty', 0)

To hack this behavior, you have to do this.
```php
<?php

namespace app\models;

use yii\db\ActiveRecord;

class MyModel extends ActiveRecord
{
    /**
     * @property string $field
     * @property bool $field2
     */

    public static function tableName()
    {
        return '{{test}}';
    }
    public function rules()
    {
        return [
            [['field', 'field2'], 'required'],
        ];
    }

    public function updateData()
    {
        $model=new static();
        $model->id=100;
        $model->field='update_qwerty';
        $model->field2=false;
        // hack
        $old_attributes=$model->getOldAttributes();
        foreach($model->primaryKey() as $key){
            $old_attributes[$key]=$model->$key;
        }
        $model->setOldAttributes($old_attributes);
        //---
        $model->save();//       success update
        // or $model->update(); //   success update
    }
}

I understand that you can come up with something else and get around the situation. Then Yii ActiveRecord is not completely an ActiveRecord pattern, but is some kind of similarity.


[Feature] Changed msg_out to use a PriorityQueue instead of a FIFO Queue

This address issue #224 partly by changing msg_out to use a PriorityQueue instead of a FIFO Queue. It address partly because the OF keepalive messages are symmetric and to fully solve the starvation we also need to implement the same approach for the msg_in queue, however that depends on issue #172 first (which will be delivered in the future, we also need to discuss thread/taks per connection regarding the msg_in queue, so making changes on msg_in now could result in extra refactoring).
Description of the change

Changed msg_out core queue now leverages a PriorityQueue instead of a FIFO Queue.

Results

Some improvements also in the case where a 250 FlowMods / sec over 10 secs via REST was result in starvation and runtime slowness, now it can still crash, but since it solved for the outbound part it slightly improved it at least:

Here's a sustained 300 FlowMods / sec, using this branch via KytosEvent and queue, you can see that 300 FlowMods results in a steady rate, so for this case, in the local environment conditions it's a relatively stable rate:

This branch with 500 FlowMods / sec over 60 secs via KytosEvent and queue (which is far more stable than using via REST), it doesn't result in connection issues, but you can see that the rate isn't as steady as the 300 FlowMods / sec that was tested before, so the platform can handle this case, and getting close to this value it's recommended that NApps start batching messages:

Next

Continue to work on the priority related issues
Standardize some default values of OpenFlow message priorities on of_core where NApps like flow_manager, of_lldp, sdntrace and other ones that put messages on msg_out could import to set the priority accordingly.

LGTM

Appreciated your review, Italo.


Reduce Maybes

:thinking: What?
Add function reduceMaybe to RemoteData and Recyclable
:man_shrugging: Why?
When switch-casing through Dict.get and List.head results, we usually end up with two branches (Just NotAsked and Nothing) having the same meaning (the request wasn't realized).
Using this helper we can avoid repeating code or creating a more specialized data structure.
:pushpin: Jira Issue
None, this repo is not tracked.
:no_good: Blocked by
Not blocked and based on master.
:clipboard: Pending
Nothing.
:fire: Extra
This PR is a proposal and it's open to counter-arguments.

As discussed, this is being ditched in favor of a module with:
update : k -> (Recyclable ... -> Recyclable ...) -> Dict k (Recyclable ...) -> Dict k (Recyclable ...)

mergeResponse key response dict =
    Dict.update id
                (Maybe.map (Recyclable.mergeResponse response)
                    >> Maybe.withDefault (Recyclable.fromResponse response)
                    >> Just)
                dict

toLoading key dict =
    Dict.update key
                (Maybe.map Recyclable.toLoading
                    >> Maybe.withDefault Recyclable.firstLoading
                    >> Just
                )
                dict


Tree contents shown in local language

On Windows 7 on which i have tried it, the contents of the tree are displayed in my native language (which i find confusing), even though the version of Windows i have is English. It would be nice if there was an easy way to change that (a menu option perhaps).

I apologize for not seeing this issue earlier!
This option exists: File | Set ADML Language. You can change it to en-US to use English language resources.


⚠ SceneTime has degraded performance

In fd61c34, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 9086 ms

Resolved: SceneTime performance has improved in 2530db8 after 239 days, 20 hours, 57 minutes.


Add support for extra annotations and running startup scripts

Added extraAnnotations parameter. It will add additional annotations to every resource. It's useful when you want to use it with helm hooks.
When enableStartupScripts set to true, it will create configmap {{ template "localstack.fullname" . }}-init-scripts-config with startup script content specified by startupScriptContent parameter and it will be executed after localstack startup.
Added startupScriptContent parameter. It will add startup scripts content used by {{ template "localstack.fullname" . }}-init-scripts-config configMap to run at localstack startup.

@whummer please review.

Closing this one. I am opening new PR with squashed history.


SwiftPM support

Interesting component 🙂
SwiftPM is Swift's official package manager. In the near future it will replace Carthage and CocoaPods.
Here some articles about SwiftPM:

An Introduction to the Swift Package Manager
Swift Dependency Management for iOS
Getting Started with Swift Package Manager (SwiftPM)
Swift.org: Package Manager

When your component is compatible with SwiftPM add on your README.md   badge on top and add a section for the installation with SwiftPM.

Thanks @TofPlay! Should be all set now.


[FEATURE REQUEST] Ensure epicli upgrade works on cluster with upgraded RHEL from version 7 to 8

Is your feature request related to a problem? Please describe.
We need to ensure that epicli upgrade works well on cluster initially deployed on VMs based on RHEL 7 that was upgraded to version 8.
Additional context
Can be picked up after #1332

DoD checklist

Changelog

[ ] updated
[ ] not needed

COMPONENTS.md

[ ] updated
[ ] not needed

Schema

[ ] updated
[ ] not needed

Backport tasks

[ ] created
[ ] not needed

Documentation

[ ] added
[ ] updated
[ ] not needed

[ ] Feature has automated tests
[ ] Automated tests passed (QA pipelines)

[ ] apply
[ ] upgrade
[ ] backup/restore

[ ] Idempotency tested
[ ] All conversations in PR resolved
[ ] Solution meets requirements and is done according to design doc
[ ] Usage compliant with license

Sample issues to handle:

No Postgresql after upgrading RHEL 7 to 8:

[postgresql-vm-0]: FAILED! => {"changed": false, "cmd": "psql -t -c 'SHOW archive_command'", "msg": "[Errno 2] No such file or directory: b'psql': b'psql'", "rc": 2, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines"}

containerd related errors during upgrade:

containerd[1007]: time="2022-04-14T15:36:35Z" level=warning msg="deprecated version : 1, please switch to version 2"
# grep FATAL /var/log/messages
Apr 14 14:26:39 ip-10-1-11-87 containerd: time="2022-04-14T14:26:39.459578727Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: FATAL: Module aufs not found.\\n\"): skip plugin" type=io.containerd.snapshotter.v1
Apr 14 15:15:00 ec2-52-47-128-68 containerd: time="2022-04-14T15:15:00.835462746Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: FATAL: Module aufs not found.\\n\"): skip plugin" type=io.containerd.snapshotter.v1
Apr 14 15:36:35 ec2-52-47-128-68 containerd[1007]: time="2022-04-14T15:36:35.895847002Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: FATAL: Module aufs not found in directory /lib/modules/4.18.0-305.25.1.el8_4.x86_64\\n\"): skip plugin" type=io.containerd.snapshotter.v1

I encountered an issue upgrading from v1.0  in offline mode.
It failed on task Create epirepo repository.
2022-06-27T12:54:23.1932911Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - TASK [repository : Create epirepo repository] **********************************
2022-06-27T12:54:23.2219931Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-kubernetes-master-vm-0]
2022-06-27T12:54:23.2452975Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-kubernetes-node-vm-0]
2022-06-27T12:54:23.2690775Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-kubernetes-node-vm-1]
2022-06-27T12:54:23.2907313Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-kubernetes-node-vm-2]
2022-06-27T12:54:23.3113551Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-logging-vm-0]
2022-06-27T12:54:23.3339422Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-logging-vm-1]
2022-06-27T12:54:23.3546965Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-logging-vm-2]
2022-06-27T12:54:23.3751428Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-monitoring-vm-0]
2022-06-27T12:54:23.4030731Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-kafka-vm-0]
2022-06-27T12:54:23.4244711Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-kafka-vm-1]
2022-06-27T12:54:23.4687702Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-kafka-vm-2]
2022-06-27T12:54:23.4906962Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-postgresql-vm-0]
2022-06-27T12:54:23.5130781Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-postgresql-vm-1]
2022-06-27T12:54:23.5500125Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-load-balancer-vm-0]
2022-06-27T12:54:23.5567150Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-rabbitmq-vm-0]
2022-06-27T12:54:23.5765232Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-rabbitmq-vm-1]
2022-06-27T12:54:23.5995539Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-opendistro-for-elasticsearch-vm-0]
2022-06-27T12:54:23.6003033Z[38;21m12:54:23 INFO cli.src.ansible.AnsibleCommand - skipping: [ci-10u2devazrhflannel-opendistro-for-elasticsearch-vm-1]
2022-06-27T12:54:28.1546370Z[31;21m12:54:28 ERROR cli.src.ansible.AnsibleCommand - fatal: [ci-10u2devazrhflannel-repository-vm-0]: FAILED! => {"changed": true, "cmd": "set -o pipefail && /var/tmp/epi-repository-setup-scripts/create-repository.sh /var/www/html/epirepo true |& tee /var/tmp/epi-repository-setup-scripts/create-repository.log", "delta": "0:00:03.501168", "end": "2022-06-27 12:54:28.030186", "msg": "non-zero return code", "rc": 1, "start": "2022-06-27 12:54:24.529018", "stderr": "", "stderr_lines": [], "stdout": "Package apr-util-1.6.1-6.el8.x86_64 is already installed.
Package apr-util-bdb-1.6.1-6.el8.x86_64 is already installed.
Package apr-util-openssl-1.6.1-6.el8.x86_64 is already installed.
Package drpm-0.4.1-3.el8.x86_64 is already installed.
Package mailcap-2.1.48-3.el8.noarch is already installed.
Error:
 Problem: cannot install both createrepo_c-libs-0.17.7-5.el8.x86_64 and createrepo_c-libs-0.16.2-2.el8.x86_64
  - package python3-createrepo_c-0.16.2-2.el8.x86_64 requires createrepo_c-libs = 0.16.2-2.el8, but none of the providers can be installed
  - conflicting requests
  - problem with installed package python3-createrepo_c-0.16.2-2.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)", "stdout_lines": ["Package apr-util-1.6.1-6.el8.x86_64 is already installed.", "Package apr-util-bdb-1.6.1-6.el8.x86_64 is already installed.", "Package apr-util-openssl-1.6.1-6.el8.x86_64 is already installed.", "Package drpm-0.4.1-3.el8.x86_64 is already installed.", "Package mailcap-2.1.48-3.el8.noarch is already installed.", "Error: ", " Problem: cannot install both createrepo_c-libs-0.17.7-5.el8.x86_64 and createrepo_c-libs-0.16.2-2.el8.x86_64", "  - package python3-createrepo_c-0.16.2-2.el8.x86_64 requires createrepo_c-libs = 0.16.2-2.el8, but none of the providers can be installed", "  - conflicting requests", "  - problem with installed package python3-createrepo_c-0.16.2-2.el8.x86_64", "(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)"]}

To reproduce:

Deploy any RHEL 7 cluster
Upgrade OS to RHEL 8
Disable outbound cluster traffic to the Internet
Download the requirements for offline mode
Execute epicli upgrade -b /path/to/build/directory --offline-requirements /path/to/downloaded/requirements/


Commons compress only

Extracted from #58
This PR introduces a migration from java.util.zip.* to commons compress

okay no feedback from Svante so lets just merge this


Incorrect trx generated

In some cases visual studio is not able to open generated trx file after tests run. The error is: Item has already been added.

done in a5070de
also the fix can improve some situations related to usage of Id for suite methods (before/after tests). Example: historical relation of suite methods in reports or reporting of their re-runs


IOT Script (Idea)

A script that create a group and listen for your messages to control something in your house!
e.g. "/turn_light_on"
Can be done using an arduino, esp32 ...

@xandao6 can you please elaborate the issue a little more.
what is the role of making a group?
Should it be able to listen the messages through our laptop's microphone or some external fitted into the Arduino will work?
Do I have to add the code used for coding the Arduino also into the repository?

We created a whatsapp group like: "My home" and sent a message to the group from our smartphone. The computer receives the message and sends it to a local network where the microcontroller is connected. We don't need the arduino code for now, just teach how to use.

@Castella1313 tell if you want to work in this issue.

So basically I have to add a command which will create a new group?
And the messages sent on that group will be performed by the
microcontroller?
Which means, I just have to do the software work?
On Tue, 3 Mar 2020, 06:15 Alexandre Calil<EMAIL_ADDRESS>wrote:

@Castella1313 https://github.com/Castella1313 tell if you want to work
in this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rpotter12/whatsapp-play/issues/79?email_source=notifications&email_token=AMWTAZH45PBB7VVNAFUYUZDRFRHJBA5CNFSM4KDT2GB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENRUD6Y#issuecomment-593707515,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMWTAZH3TCEWM74FC4P3V4LRFRHJBANCNFSM4KDT2GBQ
.

The wplay sofware need to read the message, you can wait for #77  if you want. Then, they will be sended through MQTT or HTTP GET.

Is there any deadline for this?
On Wed, 4 Mar 2020, 06:48 Alexandre Calil<EMAIL_ADDRESS>wrote:

The wplay sofware need to read the message, you can wait for #77
https://github.com/rpotter12/whatsapp-play/issues/77 if you want. Then,
they will be sended through MQTT or HTTP GET.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rpotter12/whatsapp-play/issues/79?email_source=notifications&email_token=AMWTAZH75QRQRMY3SAUUXCDRFWT7BA5CNFSM4KDT2GB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVZ6AY#issuecomment-594255619,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMWTAZDHMAW6PYXD2YSZ4WLRFWT7BANCNFSM4KDT2GBQ
.

day 5, but I will extend for more 4 days since there is no one in queue

You aren't assigned yet, so you don't have deadline. I will assign you and you will have 4 days + renew if there is no queue

can I please get 3 more days?

I am still working. Need some more time.

ok

https://github.com/KarimJedda/whatsappcli maybe this can help in this.

I would like to work on this issue

@SinghHimadri Start implementing.


freebsd kcmp call support.

This doesn't work cleanly with 0.2, CI fails. Probably an easy fix but no need to do it unless there is a need. If anyone does have a need, cherry pick this per https://github.com/rust-lang/libc/blob/main/CONTRIBUTING.md#v10-roadmap and add the fix needed for CI.
@rustbot label -stable-nominated


stuck with docker compose up process and unable to access Kibana

Describe the bug
stuck with docker compose up process and unable to access Kibana
To Reproduce
after sudo docker-compose up
Operating System (please complete the following information):

OS (Linux 4.4.180+ x86_64"):
Version of Docker (20.10.3, build 55f0773):
Version of Docker-Compose (1.28.5):

Elasticsearch, Logstash, Kibana (please complete the following information):

Version of ELK (all latest version)

*Service logs
{"@timestamp":"2022-07-16T15:58:01.090Z", "log.level": "INFO", "message":"using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/md2)]], net usable_space [233.1gb], net total_space [3.4tb], types [btrfs]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.elasticsearch.env.NodeEnvironment","elasticsearch.node.name":"es01","elasticsearch.cluster.name":"es-docker-cluster"}
es01        | {"@timestamp":"2022-07-16T15:58:01.093Z", "log.level": "INFO", "message":"heap size [512mb], compressed ordinary object pointers [true]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.elasticsearch.env.NodeEnvironment","elasticsearch.node.name":"es01","elasticsearch.cluster.name":"es-docker-cluster"}
es01        | {"@timestamp":"2022-07-16T15:58:01.338Z", "log.level": "INFO", "message":"node name [es01], node ID [ak8K5T76SfidrbZnn07TFw], cluster name [es-docker-cluster], roles [data_cold, data, remote_cluster_client, master, data_warm, data_content, transform, data_hot, ml, data_frozen, ingest]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.elasticsearch.node.Node","elasticsearch.node.name":"es01","elasticsearch.cluster.name":"es-docker-cluster"}
logstash    | [INFO ] 2022-07-16 15:58:03.390 [Ruby-0-Thread-10: /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-11.4.1-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:213] elasticsearch - Failed to perform request {:message=>"Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)", :exception=>Manticore::SocketException, :cause=>org.apache.http.conn.HttpHostConnectException: Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)}
logstash    | [WARN ] 2022-07-16 15:58:03.394 [Ruby-0-Thread-10: /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-11.4.1-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:213] elasticsearch - Attempted to resurrect connection to dead ES instance, but got an error {:url=>"https://elastic:xxxxxx@es01:9200/", :exception=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [https://es01:9200/][Manticore::SocketException] Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)"}
logstash    | [INFO ] 2022-07-16 15:58:08.405 [Ruby-0-Thread-10: /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-11.4.1-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:213] elasticsearch - Failed to perform request {:message=>"Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)", :exception=>Manticore::SocketException, :cause=>org.apache.http.conn.HttpHostConnectException: Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)}
logstash    | [WARN ] 2022-07-16 15:58:08.408 [Ruby-0-Thread-10: /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-11.4.1-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:213] elasticsearch - Attempted to resurrect connection to dead ES instance, but got an error {:url=>"https://elastic:xxxxxx@es01:9200/", :exception=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [https://es01:9200/][Manticore::SocketException] Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)"}
logstash    | [INFO ] 2022-07-16 15:58:13.423 [Ruby-0-Thread-10: /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-11.4.1-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:213] elasticsearch - Failed to perform request {:message=>"Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)", :exception=>Manticore::SocketException, :cause=>org.apache.http.conn.HttpHostConnectException: Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)}
logstash    | [WARN ] 2022-07-16 15:58:13.427 [Ruby-0-Thread-10: /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-11.4.1-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:213] elasticsearch - Attempted to resurrect connection to dead ES instance, but got an error {:url=>"https://elastic:xxxxxx@es01:9200/", :exception=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [https://es01:9200/][Manticore::SocketException] Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)"}
logstash    | [ERROR] 2022-07-16 15:58:18.390 [monitoring-license-manager] licensereader - Unable to retrieve license information from license server {:message=>"No Available connections"}
logstash    | [INFO ] 2022-07-16 15:58:18.436 [Ruby-0-Thread-10: /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-11.4.1-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:213] elasticsearch - Failed to perform request {:message=>"Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)", :exception=>Manticore::SocketException, :cause=>org.apache.http.conn.HttpHostConnectException: Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)}
logstash    | [WARN ] 2022-07-16 15:58:18.437 [Ruby-0-Thread-10: /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-11.4.1-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:213] elasticsearch - Attempted to resurrect connection to dead ES instance, but got an error {:url=>"https://elastic:xxxxxx@es01:9200/", :exception=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [https://es01:9200/][Manticore::SocketException] Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)"}
logstash    | [INFO ] 2022-07-16 15:58:20.997 [Ruby-0-Thread-1: /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-11.4.1-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:213] licensereader - Failed to perform request {:message=>"Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)", :exception=>Manticore::SocketException, :cause=>org.apache.http.conn.HttpHostConnectException: Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)}
logstash    | [WARN ] 2022-07-16 15:58:21.014 [Ruby-0-Thread-1: /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-11.4.1-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:213] licensereader - Attempted to resurrect connection to dead ES instance, but got an error {:url=>"https://logstash_system:xxxxxx@es01:9200/", :exception=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [https://es01:9200/][Manticore::SocketException] Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)"}
es02        | {"@timestamp":"2022-07-16T15:58:23.065Z", "log.level": "WARN", "message":"unable to install syscall filter: ", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.elasticsearch.bootstrap.JNANatives","elasticsearch.node.name":"es02","elasticsearch.cluster.name":"es-docker-cluster","error.type":"java.lang.UnsupportedOperationException","error.message":"seccomp unavailable: CONFIG_SECCOMP not compiled into kernel, CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER are needed","error.stack_trace":"java.lang.UnsupportedOperationException: seccomp unavailable: CONFIG_SECCOMP not compiled into kernel, CONFIG_SECCOMP and emCallFilter(Natives.java:102)\n\tat org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:112)\n\tat org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:183)\n\tat org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:358)\n\tat org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:166)\n\tat org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:157)\n\tat org.elasticsearch.common.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:81)\n\tat org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112)\n\tat org.elasticsearch.cli.Command.main(Command.java:77)\n\tat org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:122)\n\tat org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80)\n"}logstash    | [INFO ] 2022-07-16 15:58:38.507 [Ruby-0-Thread-10: /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-11.4.1-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:213] elasticsearch - Failed to perform request {:message=>"Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)", :exception=>Manticore::SocketException, :cause=>org.apache.http.conn.HttpHostConnectException: Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)}logstash    | [WARN ] 2022-07-16 15:58:38.518 [Ruby-0-Thread-10: /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-elasticsearch-11.4.1-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:213] elasticsearch - Attempted to resurrect connection to dead ES instance, but got an error {:url=>"https://elastic:xxxxxx@es01:9200/", :exception=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :message=>"Elasticsearch Unreachable: [https://es01:9200/][Manticore::SocketException] Connect to es01:9200 [es01/<IP_ADDRESS>] failed: Connection refused (Connection refused)"}es01        | {"@timestamp":"2022-07-16T15:58:39.886Z", "log.level": "INFO", "message":"creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=4mb, heap_size=512mb}]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.elasticsearch.transport.netty4.NettyAllocator","elasticsearch.node.name":"es01","elasticsearch.cluster.name":"es-docker-cluster"}es03        | {"@timestamp":"2022-07-16T15:58:40.018Z", "log.level": "INFO", "message":"version[8.2.2], pid[10], build[default/docker/9876968ef3c745186b94fdabd4483e01499224ef/2022-05-25T15:47:06.259735307Z], OS[Linux/4.4.180+/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/<IP_ADDRESS>/<IP_ADDRESS>+2-6]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.elasticsearch.node.Node","elasticsearch.node.name":"es03","elasticsearch.cluster.name":"es-docker-cluster"}es03        | {"@timestamp":"2022-07-16T15:58:40.028Z", "log.level": "INFO", "message":"JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.elasticsearch.node.Node","elasticsearch.node.name":"es03","elasticsearch.cluster.name":"es-docker-cluster"}es03        | {"@timestamp":"2022-07-16T15:58:40.030Z", "log.level": "INFO", "message":"JVM arguments [-Xshare:auto, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -Djava.security.manager=allow, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-12626546595507795926, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Des.cgroups.hierarchy.override=/, -Xms512m, -Xmx512m, -XX:MaxDirectMemorySize=268435456, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/usr/share/elasticsearch/config, -Des.distribution.flavor=default, -Des.distribution.type=docker, -Des.bundled_jdk=true]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.elasticsearch.node.Node","elasticsearch.node.name":"es03","elasticsearch.cluster.name":"es-docker-cluster"}es01        | {"@timestamp":"2022-07-16T15:58:40.067Z", "log.level": "INFO", "message":"using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.elasticsearch.indices.recovery.RecoverySettings","elasticsearch.node.name":"es01","elasticsearch.cluster.name":"es-docker-cluster"}es01        | {"@timestamp":"2022-07-16T15:58:40.246Z", "log.level": "INFO", "message":"using discovery type [multi-node] and seed hosts providers [settings]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"main","log.logger":"org.elasticsearch.discovery.DiscoveryModule","elasticsearch.node.name":"es01","elasticsearch.cluster.name":"es-docker-cluster"}

Appears that you need to configure the security (eg step 4) from the readme.

I did, I replace ELASTIC-PASSWORD, KIBANA-PASSWORD, LOGSTASH-PASSWORD with my own password and used the script.

Appears that you need to configure the security (eg step 4) from the readme.

I did, I replace ELASTIC-PASSWORD, KIBANA-PASSWORD, LOGSTASH-PASSWORD with my own password and used the script.

Appears that you need to configure the security (eg step 4) from the readme.

I did, I replace ELASTIC-PASSWORD, KIBANA-PASSWORD, LOGSTASH-PASSWORD with my own password and used the script.

Did you amend the passwords then run the script?
Try running just the script, if you haven’t already, from a fresh unzip of the main.zip.

Did you amend the passwords then run the script?

Yes I did.

Try running just the script, if you haven’t already, from a fresh unzip of the main.zip.

I tried running the script. Same error is still exists.
I am currently running synology ds220+ with 18gb ram(16+2) so I can only use 7z x instead of unzip, synology is still linux and it still can run docker though. But another problem with synology is that I cannot run apt-get. Let me know if using synology is not possible so that I can power up a linux VM inside synology and run an implementation from a VM. Thanks.

I’m currently away but I’ll treat this next week and see if i can determine the issue. However, i do but have the same hardware which may be the culprit.

I’m currently away but I’ll treat this next week and see if i can determine the issue. However, i do but have the same hardware which may be the culprit.

Thanks for input. For now I'll power up my librenms(temp) on my docker from synology based on https://github.com/librenms/docker which is up and running. I still prefer grafana though so I'll wait for your next step on how to troubleshoot. If still no dice then VM it is.

Same issue here, all running
"Docker ps" show all process are running
Cant access from the LAN to the port 5601... but when I use "curl ip:port" from the server, can access it

SOLVED:
Replace all values where "<IP_ADDRESS>" to "<IP_ADDRESS>" in "docker-compose.yml"

I’m currently away but I’ll treat this next week and see if i can determine the issue. However, i do but have the same hardware which may be the culprit.

Thanks for input. For now I'll power up my librenms(temp) on my docker from synology based on https://github.com/librenms/docker which is up and running. I still prefer grafana though so I'll wait for your next step on how to troubleshoot. If still no dice then VM it is.

I have ran in the same issue i think, running with docker-compose and my kibana got stuck on starting.
I cannot confim but i think it had to do with the passwords, i used complex ones and that seemed to fail. Tried simple passwords (as in no special characters) and it suddenly worked (or it was something else). Worth a try and confirm perhaps?

@Neccie are you also running in a synology? This odd running on my current setup via Ubuntu.

@Neccie are you also running in a synology? This odd running on my current setup via Ubuntu.

Ubuntu 22.04 LTS on a existing docker installation. I'm still not sure what i did but double check .env passwords and docker-compose.yml.
If i now purge everything and use my working 2 config files I get everything to start up as it should.

Are your working config files different than the repo? Or was this a glitch/fluke?

Actually tried it in a new VM to confirm, might be me but it goes wrong for me when i use special characters in the .env file for the passwords.
For instance if i use "1234567890"  it fails cause it expects a string, so "ab1234567890cd" works fine but "ab12345$%^&67890cd" will fail again which was my initial problem i guess. With or without qoutes doesn't matter.

@Neccie - the password limitations are related to Elastic


[BEAM-5698] Migrate Go integration test to use Dataflow worker jar

Also delete dead xml file.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.


ScanCapture app export scene mesh

Thank you for the excellent app and script. When scan the scene, show the real-time ARkit mesh to avoid miss some part of the scene, and add the mesh to export data.

Hi, are you referring to the newly-introduced ARKit mesh? If so, I agree that this feature could be useful. Feel free to go ahead and submit a PR. Thank you!


More that one type want to be a model for content type message

I keep getting this error message "More that one type want to be a model for content type BucketsFolder" when I trying to generate models from ModelsBuilder
using this configuration

Can you explain to me what I'm doing wrong?
Thanks

The configuration is not rendering?
Usually, it means that more than 1 class marked with attribute [PublishedContentModel("bucketsFolder")] have been found when inspecting the assemblies.
What models mode are you using?

I think I have figured it out I had to add this to my web.config

I think I have figured in out I had to set
Zbu.ModelsBuilder.EnablePublishedContentModelsFactory to false in my webconfig

Er... this would entirely disable the models factory, and therefore models. Not sure that's what you want?
What mode are you using? Do you have models in a DLL? In Visual Studio? How are you using the Models Builder?

I have Zbu.ModelsBuilder.EnableDllModels set to true
Right now we are just using ModelBuilder to generate models from our document types

EnableDllModels means that when you "generate" a DLL is created in ~/bin containing the models. Are you also compiling the generated models eg in a Visual Studio solution?

And Yes the models have been add to the Visual Studio project

Then they are compiled twice, once in the DLL and once in your project. If you "just" want to get the source code you want the EnableAppDataModels option that will generate them, but not compile them (and remember to delete the DLL from bin!)

Okay thanks!


Hide individual processors table in managed instance

Managed instance:

Local server:

Why should we not show the processors table in this case?

Why should we not show the processors table in this case?

@corivera , we cannot modify the individual processors in a managed instance and also the model view API does not support disabling the checkboxes in a table column.

Makes sense


Add Frederick's skeletal PPP

Codecov Report

Merging #15 (190b382) into master (76e157b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #15   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

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


Make Signing and Signed-off-By requirements clear in Contributing docs and README

Contributing documentation needs to be updated to explain that this project requires:

[ ] all commits to be cryptographically signed
[ ] all commits to have a DCO Signed-off-By line (this is automatic if commits are made through the GitHub UI)

We should have a bot that comments with the docs/instructions when a PR is opened that won't be mergeable

@timraymond can you put a docs update together for this? Pretty much all of our open but otherwise green PRs are blocked


Wrong spec.homepage

There is a typo in the spec.homepage, making it difficult to find this repo when following link from RubGems:
spec.homepage      = "https://github.com/mikekellly/yu"
should be
spec.homepage      = "https://github.com/mikekelly/yu"

good catch, thanks

just pushing the release now to rubygems

thanks again :+1:


Add Progress Bar to UI

Need a way to represent ProgressBar's in the UI.
A progress bar should be able to be color based or sprite based.

healthbar sprite added,
improved ability to quickly swap sample Ui's in UIManager class for demo purposes

fixed bug while in there where the Mouse Cursor rectangle was always at 0,0


Missing the registion and management of Availability Groups for SQL Server on Azure VM's

Hey,
I am kinda missing the section that explains the whole Azure Backup for Availability groups.
It is needed that we have some sort of a guide on how to do it with an availability group.
In my company we have more then 10+ SQL Servers on Azure VM's that Azure backup takes backup of.
It would be nice to being able to using commands like:

az backup protection disable
az backup protection resume
az backup protection backup-now

instead having to go to the portal all the time.
thank you in advanced.

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

ID: 1605ef17-ba88-503d-9b78-c2021d600e2b
Version Independent ID: c2e6dc78-ec05-3daf-dc78-c45568cd92f3
Content: Back up SQL server databases in Azure VMs using Azure Backup via CLI - Azure Backup
Content Source: articles/backup/backup-azure-sql-backup-cli.md
Service: backup
GitHub Login: @AbhishekMallick-MS
Microsoft Alias: v-abhmallick

@csolje Thanks for your comment! We will review and provide an update as appropriate.

he command for AG are same as SQL command just change the protectable item type . From document page "Y
ou can use the same command, if you have an
SQL Always On Availability Group
and want to identify the protectable datasource within the availability group. Here, the protectable item type is
SQLAG
." Using these CLIs script can be created to take action on all the SQL servers

@csolje - Thanks for your patience. We already have this article to manage SQL backup operations using Azure CLI commands. As no documentation updates are currently needed, we are closing this issue. #please-close


Speech to text

Related Issue
Added Speech to text converter
Closes: #872
Describe the changes you've made
Added a code that converts speech to text.
Checklist:

[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] New and existing unit tests pass locally with my changes.

Screenshots

@ridsuteri please review it.

@ridsuteri now is it fine??

@ridsuteri please review it. It is getting merge conflicts.


refactor: rename thycotic/dsv-cli to DelineaXPM/dsv-cli

DelineaXPM/dsv-cli: Delinea DevOps Secrets Vault is a secret vault automation tool for the management of credentials for applications, databases, CI/CD tools, and services.
This is a rename due to migration of the project to a new organization and repository.
aqua g -i DelineaXPM/dsv-cli

How to confirm if this package works well
dsv --help

Thank you for your contribution!

https://github.com/aquaproj/aqua-registry/pull/6892#issuecomment-1272166763

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v3.94.1


(124) Finalise Submission (API changes)

Description
This PR contains minor tweaks to the API to support https://github.com/dxw/DataSubmissionService/pull/15/files
Status
Ready for review
Should only be reviewed and merged in after #9 as this builds on the work on that PR

 Finalise submission

Rebasing...


Filter Panel: Always add new filters to the top

Always add new filters to the top (now, in some cases, it’s added to the bottom):

[x] Context action > Add External (e.g. Scaffold tree filter)
[x] Context action > Add Free Text Filter
[x] Context action > Select Column
[x] Add custom filter
[x] Column's header > Hamburger menu > Filter > Add filter
[x] Current Value > Use as filter (in case there is no corresponding filter tab)

DG 1.16.1

@ahadzhanian, it looks like this issue was resolved. Could you check?


NAT VM Sizing

Thanks for submitting an issue to pcf-pipelines. To help us triage the issue, please fill out the following form as much as you can:
Issue
NAT VM sizes may be larger than necessary
Context
I typically shut down NAT VMs and change to micro, and they work just fine.  Perhaps consider reducing the size, for IAAS cost purposes.
Expected result
Still Works.
Current result
[Describe what you currently experience from this process]
Steps to Reproduce
[Detail the process in which we can to find and recreate the issue]
Possible Fix
[Not obligatory, but suggest fixes or reasons for the bug]
Logs and Screenshots
[If you have logs or screenshots you can share with us, please do!]

PCF Pipelines build PCF installations with the intention of being prod-ready. Which IaaS does this issue relate to?

Hi Ford -
This is on GCP. If the NAT VMs really need 4 cores and 15Gb of RAM (and 3 total), then we can close it out. I can adjust what my testbed uses to be micro after the install is complete..
-Andrew
Andrew Gregory
Senior Platform Architect, New England
+1<PHONE_NUMBER> |<EMAIL_ADDRESS><EMAIL_ADDRESS>Transforming how the world builds software.

On Feb 5, 2018, at 10:40 AM, Ford Donald<EMAIL_ADDRESS>wrote:
PCF Pipelines build PCF installations with the intention of being prod-ready. Which IaaS does this issue relate to?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/pivotal-cf/pcf-pipelines/issues/279#issuecomment-363122548, or mute the thread https://github.com/notifications/unsubscribe-auth/Acqhplug6h27czaEahyAEpOlybAGHsRvks5tRyDwgaJpZM4R3iqU.

Hi @agregory999 thanks, closing this issue out.


Unable to load blockchain

Hi, last night I initiated a transfer and the coins showed up but did not become usable. After 6+ hours of waiting I hit the button to reset the blockchain transactions and the worst happened. It now says that my wallet has 0 coins and that the file is corrupted as seen below.
"com.google.bitcoin.store.BlockStoreException Corrupted block store: could not find chain head"
Trying to reset does not work and has been stuck in "synchronizing" for a little over 2 hrs.
Any help will be much appreciated.

I m having this same problem, except when I go to user/library/application support - there is no multibit folders - i should say, I have defo installed multiit and it shows and opens in my applications folder, there is just no files in app support - what am i doing wrong - help would be greatly appreciated

They might be hidden folders. Have a look here: https://multibit.org/en/help/v0.5/help_support_missingWallets.html


docker images reports same image in differing order

Running sudo docker images results in an unpredictable and changing listing order for the multiply tagged docker image.
Output of docker version:
Client:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 22:00:36 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 22:00:36 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 25
 Running: 1
 Paused: 0
 Stopped: 24
Images: 80
Server Version: 1.12.0
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 177
 Dirperm1 Supported: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host bridge null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor
Kernel Version: 3.13.0-92-generic
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.62 GiB
Name: myhost
ID: WS4V:2MWJ:IWFT:AV5C:74U2:PPJB:G36B:5E3N:E3NR:OAW6:EERM:CKNW
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support

Additional environment details (AWS, VirtualBox, physical, etc.):
physical
Steps to reproduce the issue:
1. create an empty directory for context
mkdir /tmp/my-docker

2. create file /tmp/my-docker/Dockerfile with contents
FROM ubuntu:trusty
# add a layer for sake of example
RUN apt-get update && apt-get install -y apt-utils

3. build a new docker instance with multiple tags
sudo docker build -t tag1 -t tag2 .

4. watch the output of docker images
sudo -- watch -d -- docker images

Describe the results you received:
Running sudo docker images results in an unpredictable and changing listing order for the same docker image.  Sometimes the output was
REPOSITORY                      TAG                 IMAGE ID            CREATED             SIZE
tag1                            latest              e8cb1537535d        3 minutes ago       210.1 MB
tag2                            latest              e8cb1537535d        3 minutes ago       210.1 MB

then other times
REPOSITORY                      TAG                 IMAGE ID            CREATED             SIZE
tag2                            latest              e8cb1537535d        3 minutes ago       210.1 MB
tag1                            latest              e8cb1537535d        3 minutes ago       210.1 MB

Describe the results you expected:
Running sudo docker images results in a predictable and consistent listing order.  By Created time and then tagging order and then ...
Additional information you deem important (e.g. issue happens only occasionally):
This did not happen with the prior version of docker which I believe was version 1.10.

Actually this is not only about images command, if we look at the stats command, if has similar problem.
For example, if you run docker stats -a, the output order looks consistent to docker ps -a results. Then if you start a new container, the new container will be appended at tail of the output list, it's not consistent to docker stats -a results any more.
I am working on a new flag "--sort-by" for images and ps, but I hope I can expand it to other commands.


doc: add rpc wikis

Codecov Report

Merging #4 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   98.83%   98.83%
=======================================
  Files          25       25
  Lines        1200     1200
=======================================
  Hits         1186     1186
  Misses         14       14

Continue to review full report at Codecov.

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

其实可以写语雀 https://yuque.com/egg/nodejs


Add Connection ID as property token

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Commit Message: Add Connection ID as property token
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

/cc @kyessenov , @mandarjog

@kyessenov , @jplevyak , @PiotrSikora : Can you please help merge this?


duplication in the data set

Hello！Thank you very much for your work. There is a lot of duplication in the data set, and multilingual_train.jsonl repeats almost every piece of data twice？

Thank you for your support for our work. Each piece of data is repeated twice because in the experiments in Table 5, we found that when a piece of data (for example, from programming language A to programming language B) is expanded to from programming language B to programming language A to train the model, the performance of the model can be enhanced.

{"id": 19241, "name": "Flow-control structures", "C#": "int GetNumber() {\n    return 5;\n}\n", "C++": "#include  \n\nint main()\n{\n LOOP:\n  std::cout << "Hello, World!\n";\n goto LOOP;\n}\n"}
The above sample is the corresponding exchange of the target language and source language data. We don't have a file corresponding to each ID. But it is easy to separate, you only need to keep the first 1/2 of the file and delete the other half. Thank you!

{"id": 19241, "name": "流控制结构", "C#": "int GetNumber() {\n return 5;\n}\n", "C++": "#include \n\nint main()\n{\n LOOP:\n std::cout << "Hello, World!\n";\n goto LOOP;\n}\n"}
以上示例是目标语言和源语言数据的对应交换。我们没有每个ID对应的文件。但很容易分离，只需保留文件的前1/2并删除另一半即可。谢谢！

I'm sorry, maybe my question wasn't very clear. What I want to know is whether the code corresponding to the two languages in this data can translate each other? Because it looks like they're doing something completely different.

Thank you very much for your careful observation! You are right, this is indeed a valuable finding. As stated in our paper, the dataset was collected from the Rosetta Code website (https://rosettacode.org/wiki/Rosetta_Code#). Although we invested significant effort in data collection and cleaning, given the diverse programming languages involved and the large volume of data, it was challenging to manually verify every single entry.
In the field of machine learning, it is a common phenomenon for training data to contain some degree of noise. However, your observation is particularly valuable and provides us with a direction for improvement. I will make note of this issue and work to further enhance data quality through methods such as sample verification in our future work.
Thank you again for your valuable feedback! This is very helpful in improving the quality of our dataset.


Disable support for Sticky shortcut

I'm using Vue.js directives to dynamically bind the Waypoint.Sticky class and it automatically triggers the "stuck" behavior no matter what I do. Is there a way to support the .disable() method to prevent that behavior?

@jackmcdade Can you show me?

@jackmcdade I'll reopen if you have more info.


lints: Create a lint to verify all production assets are versioned.

prod_static needs to be consistent when restarting the app across different versions. This means all assets need to have a version stamp. Otherwise subtle bugs get introduced during upgrades/downgrades. This bit us with the webpack stats files.
A tool should be created to verify all assets in prod_static have a hash and the hash matches the checksum of the file. We'd run the tool in Travis CI from tools/travis/production-helper

@andersk do you think there's something useful to do here?  I think given that we've moved all assets to webpack, this may not be something likely to regress in the future.

There are still many assets that don’t go through webpack or the Django static system: git grep "[\"']/static/\\w". Most of these probably should, and having a lint check would make sense once there are few enough that we can make a reasonable exclusion list.


Wrong active status line after restoring session

Hi,
I'm using the plugin vim-session to manage my sessions, and when I open one of my sessions,
the status line is not active on the right buffer, if I have splitted/tabbed buffers.

for example on this one, I'm editing the left one, but the status line is active on the right.
I need to command :e or just change the buffer to get it work correctly.
so if anyone knows why, I would like some help please.
Thanks.

Would you provide the minimal reproduction steps?
.vimrc
set nocompatible
set rtp+=/path/to/lightline.vim
set rtp+=/path/to/vim-misc
set rtp+=/path/to/vim-session
set laststatus=2

filetype plugin indent on
syntax enable

Open Vim with vim -u ./.vimrc
Do what?

:OpenSession mySession
mySession should be a session with splitted or tabbed buffers, to reproduce this bug.

What happens when you patch vim-session as follows?
diff --git a/autoload/xolox/session.vim b/autoload/xolox/session.vim
index 1f58004..a2aeea6 100644
--- a/autoload/xolox/session.vim
+++ b/autoload/xolox/session.vim
@@ -55,7 +55,7 @@ function! xolox#session#save_session(commands, filename) " {{{2
   call xolox#session#save_state(a:commands)
   if is_all_tabs
     call xolox#session#save_fullscreen(a:commands)
-    call add(a:commands, 'doautoall SessionLoadPost')
+    call add(a:commands, 'doautocmd SessionLoadPost')
   else
     call add(a:commands, 'let s:winrestcmd = winrestcmd()')
     call add(a:commands, 'windo doautocmd SessionLoadPost')

Well, I don't even find the function save_session in it.

Don't you using https://github.com/xolox/vim-session?

Which vim-session plugin are you using? I assume https://github.com/xolox/vim-session.

Yes this one

https://github.com/xolox/vim-session/blob/master/autoload/xolox/session.vim#L11-L58

Oh ok, my bad I was on the wrong file

Still the same with this patch

Please recreate the session and try again.

Alright it works !, Thanks for your help and I like your simple status line.


Proposal to refactor annotation.scala

The current implementation of Annotation and Annotations provide an apply method that returns the annotation. The fact that the annotations needs to be instantiated forces the macro to check whether the annotation is "case class-like", and fails if that precondition isn't met. This limits the usefulness of these traits, since you can't check if a class is @deprecated, for example.
I think the Annotation trait should be split into:

HasAnnotation, which just provides evidence that an annotation exists, and
Annotation, which also allows retrieving the annotation through the apply method.

Furthermore, I propose that HasAnnotation has an output type of Option[A] which would allow this to be used as evidence both that a annotation is present or absent. E.g.
def antiDeprecated[T](foo: T)(implicit ev: HasAnnotation.Aux[deprecated, T, None.type]) = ???

def onlyDeprecated[T](foo: T)(implicit ev: HasAnnotation.Aux[deprecated, T, Some[deprecated]]) = ???

I am happy to change the code (I have already copied and modified the code for my project) and open a PR if this sounds goods.
cc @alexarchambault, since he's the original author of the code.

I was about to propose a slightly different suggestion with an optional annotation support which allows
Annotation[Option[deprecated], T], instead of always aborting compilation for not found one. Yours sound great too :)

Adding a HasAnnotation type class sounds fine to me.
I'm not too sure about its output type though... I guess one can always use implicit priorities to handle cases where an annotation is not present, like with the current Annotation.

Thanks for the feedback 😄  I'm not very familiar with implicit priorities (I know they exist, but I've never actually used them for anything). How would one implement a function like antiDeprecated with implicit priorities?

I'm adding documentation support for generic schema derivation in endpoints. It currently has field documentation generation feature using Annotations, and I want to add whole class documentation with Annotation as well.
Current code:
trait GenericJsonSchema {

    implicit def recordGeneric[A, R, D <: HList](implicit
      gen: LabelledGeneric.Aux[A, R],
      record: GenericRecord[R],
      docAnns: Annotations.Aux[documentation, A, D],
      docsToList: ToList[D, Option[documentation]],
      ct: ClassTag[A]
    ): GenericRecord[A] =
      new GenericRecord[A] {
        def jsonSchema(docs: List[Option[documentation]]): Record[A] =
          nameSchema(record.jsonSchema(docsToList(docAnns.apply)).invmap[A](gen.from)(gen.to))
      }

    implicit def taggedGeneric[A, R, D <: HList](implicit
      gen: LabelledGeneric.Aux[A, R],
      tagged: GenericTagged[R],
      docAnns: Annotations.Aux[documentation, A, D],
      docsToList: ToList[D, Option[documentation]],
      ct: ClassTag[A]
    ): GenericTagged[A] =
      new GenericTagged[A] {
        def jsonSchema(docs: List[Option[documentation]]): Tagged[A] =
          nameSchema(tagged.jsonSchema(docsToList(docAnns.apply)).invmap[A](gen.from)(gen.to))
      }
}

Support for class documentation with implicit priorities:
trait GenericJsonSchema extends GenericJsonSchema0 {

    implicit def recordGeneric[A, R, D <: HList](implicit
      gen: LabelledGeneric.Aux[A, R],
      record: GenericRecord[R],
      classDoc: Annotation[documentation, A], // added evidence for class doc
      docAnns: Annotations.Aux[documentation, A, D],
      docsToList: ToList[D, Option[documentation]],
      ct: ClassTag[A]
    ): GenericRecord[A] =
      new GenericRecord[A] {
        def jsonSchema(docs: List[Option[documentation]]): Record[A] =
          nameSchema(record.jsonSchema(docsToList(docAnns.apply), /* use classDoc */).invmap[A](gen.from)(gen.to))
      }

    implicit def taggedGeneric[A, R, D <: HList](implicit
      gen: LabelledGeneric.Aux[A, R],
      tagged: GenericTagged[R],
      classDoc: Annotation[documentation, A], // added evidence for class doc
      docAnns: Annotations.Aux[documentation, A, D],
      docsToList: ToList[D, Option[documentation]],
      ct: ClassTag[A]
    ): GenericTagged[A] =
      new GenericTagged[A] {
        def jsonSchema(docs: List[Option[documentation]]): Tagged[A] =
          nameSchema(tagged.jsonSchema(docsToList(docAnns.apply), /* use classDoc */).invmap[A](gen.from)(gen.to))
      }
}

trait GenericJsonSchema0 {

    implicit def recordGenericNoClassDoc[A, R, D <: HList](implicit
      gen: LabelledGeneric.Aux[A, R],
      record: GenericRecord[R],
      docAnns: Annotations.Aux[documentation, A, D],
      docsToList: ToList[D, Option[documentation]],
      ct: ClassTag[A]
    ): GenericRecord[A] =
      new GenericRecord[A] {
        def jsonSchema(docs: List[Option[documentation]]): Record[A] =
          nameSchema(record.jsonSchema(docsToList(docAnns.apply)).invmap[A](gen.from)(gen.to))
      }

    implicit def taggedGenericNoClassDoc[A, R, D <: HList](implicit
      gen: LabelledGeneric.Aux[A, R],
      tagged: GenericTagged[R],
      docAnns: Annotations.Aux[documentation, A, D],
      docsToList: ToList[D, Option[documentation]],
      ct: ClassTag[A]
    ): GenericTagged[A] =
      new GenericTagged[A] {
        def jsonSchema(docs: List[Option[documentation]]): Tagged[A] =
          nameSchema(tagged.jsonSchema(docsToList(docAnns.apply)).invmap[A](gen.from)(gen.to))
      }
}

What I'd prefer:
trait GenericJsonSchema {

    implicit def recordGeneric[A, R, D <: HList](implicit
      gen: LabelledGeneric.Aux[A, R],
      record: GenericRecord[R],
      classDoc: Annotation[Option[documentation], A], // note Option[documentation] here
      docAnns: Annotations.Aux[documentation, A, D],
      docsToList: ToList[D, Option[documentation]],
      ct: ClassTag[A]
    ): GenericRecord[A] =
      new GenericRecord[A] {
        def jsonSchema(docs: List[Option[documentation]]): Record[A] =
          nameSchema(record.jsonSchema(docsToList(docAnns.apply), /* use classDoc */).invmap[A](gen.from)(gen.to))
      }

    implicit def taggedGeneric[A, R, D <: HList](implicit
      gen: LabelledGeneric.Aux[A, R],
      tagged: GenericTagged[R],
      classDoc: Annotation[Option[documentation], A], // note Option[documentation] here
      docAnns: Annotations.Aux[documentation, A, D],
      docsToList: ToList[D, Option[documentation]],
      ct: ClassTag[A]
    ): GenericTagged[A] =
      new GenericTagged[A] {
        def jsonSchema(docs: List[Option[documentation]]): Tagged[A] =
          nameSchema(tagged.jsonSchema(docsToList(docAnns.apply), /* use classDoc */).invmap[A](gen.from)(gen.to))
      }
}

It's slightly different from the goal of this ticket, but I'm just describing my use case.

I still want Annotation[A, T] to abort compilation when it's not annotated as it gives strong compile time guarantee.

Opened #867 for further discussion.

Regarding @edrevo's usecase, how about  splitting HasAnnotation into positive/negative types instead of involving Some/None in Aux? Using aux pattern for constraint looks a bit inconsistent to me.
Candidates:

Annotated / NotAnnotated
HasAnnotation / NotHasAnnotation
or something else

Adding IsAnnotated / IsNotAnnotated to the list.

#867 was merged


Integrating the Sympy-based Boltzmann solver from PyCosmo

Following a very nice talk from Beatrice Moser, I looked a little bit at how PyCosmo is implementing their own Boltzmann code and it's actually pretty nice and could be pretty easily ported to JAX I think.
The ODE is specificied using Sympy, which makes it pretty easy to write down the equations, and then they use their own sympy2c code to transform the python code into JIT  compiled code to run the actual ODE solver.
So that's pretty cool :-) But we could make it way cooler by doing the following:

Copy/Paste the Sympy equations from PyCosmo (which is GPL licensed)
Use Miles' sympy2jax library  https://github.com/MilesCranmer/sympy2jax to turn the equations into JAX functions
Use jax.experimental.odeint to integrate in time the system
Profit!

And boom! You got yourself a diffable Boltzman solver!

And taking @moserb94 on this issue.
After reading more of the PyCosmo code I realized that it still relied on an external RecFast implementation however :-( so not completely as easy as I was hoping. One would have to recode RecFast also in JAX, in the same way as Zack did it for Bolt.jl here: https://github.com/xzackli/Bolt.jl/blob/main/src/ionization/recfast.jl
The whole thing is still doable :-) But slightly more involved than I was hoping.

Also I'm thinking it would be worthwhile to host a JAX Boltzmann solver as a separate project.

Thank you for tagging me. It sounds pretty cool (even though I just started looking into JAX)! Yes, we rely on RecFast++ to compute the evolution of thermodynamic quantities and we are actually planning to move to HYREC-2 in the near future.

interesting :-) By any chance.... would you be thinking of doing an implementation  in sympy as well for hyrec-2 ?

The idea was to use hyrec-2 the way we use RecFast++ (meaning a python wrapper and an interpolator), rather than rewriting the code in sympy... so that wouldn't help I guess.


Is it possible to add desktop translation?

Is it possible to add desktop translation?

We have already implemented the internalization function in this app partially. Not really sure what the parts you are talking about.

桌面歌词

我们已经在这个应用程序中部分实现了内化功能。不太清楚你在说什么部分。

桌面歌词

歌词桌面

Lyrics Desktop

不会增加桌面歌词功能


[FEATURE] Passwordless

Hi @Muchiachio,
Please add passwordless functionality allowing admins to switch between normal login or passwordless.
This gives a user to Login/Register with there email if account exists send auth code or magiclink to mail address if account does not exist add them to database and send auth code or magiclink to mail address.

As mentioned in #19, this is more of a private business application template, where it works inside a private intranet and users are created by the administrators and not on registration principle.


Symfony 3

Fix for Symfony 3.
Thanks.

Thanks for the PR. Sadly, this project is way deprecated (as you can see).


Update Test Suite

Let's add the updated test suite that we updated via RustPOSIX. We can have someone new start working on getting it functional.

I've synchronized the current progress of the Raw POSIX porting test suite with Justin's repository. Should I merge the current progress into the main branch, or is there another preferred approach? Additionally, would it be feasible to open a new issue to track all the fixes and findings?

Make sure you squash and merge as is appropriate.
Justin
On Tue, Sep 17, 2024 at 12:38 PM Alice Wen @.***> wrote:

I've synchronized the current progress of the RawPOSIX porting test suite
with Justin's repository. Should I merge the current progress into the main
branch, or is there another preferred approach? Additionally, would it be
feasible to open a new issue to track all the fixes and findings?
—
Reply to this email directly, view it on GitHub
https://github.com/Lind-Project/RawPOSIX/issues/7#issuecomment-2356412506,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGROD5CMD2BAKVZM7P2NULZXBLGRAVCNFSM6AAAAABOEKWQKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJWGQYTENJQGY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I've synchronized the current progress of the RawPOSIX porting test suite with Justin's repository. Should I merge the current progress into the main branch, or is there another preferred approach? Additionally, would it be feasible to open a new issue to track all the fixes and findings?

I think an issue tracker is a good idea.
As far as this merge we should be able to do it to main. We'll have to look at keeping a stable nacl-branch when we get to Qianxi's PRs.

Added current documentation issue: https://github.com/Lind-Project/RawPOSIX/issues/15


Remove Deploy to GCP Button

The GCP button links to a step by step guide, and is not really a quick-start way to deploy the app.
It's fine to add it back in the parse-server-example repo itself, as well as it include it in our community links.

In all fairness, there was a reason I called it a "Deploy with GCP" button rather than a "Deploy to GCP" button ;)


Can't use to type anything on XWayland windows

When I run wtype test when I'm focused on an xwayland window (e.g. electron apps, chrome/brave, chatterino, gparted, etc), it just does nothing (sometimes it just unfocuses the text input, but still doesn't type anything. If I do the same on native wayland apps (e.g. Firefox, OBS, Dolphin, Kate, etc), it works as expected.
Is this a known issue? While searching, I found quite a few xwayland-related issues, but they all seem to struggle with specific characters, as opposed to me that can't run it on any text.
Running on

hyprland-git (commit 118d4e1001d5847aa42d1e5d5fa9623954ae751d)
xorg-xwayland 24.1.2-1.1

I am having the same issue


//scripts/dart/update_3p_packages.py is not run on flutter rolls

https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=51843.

Closed upstream.


[cli] implement setting/getting cca threshold

Hi all, this PR adds a command to the CLI to be able to set (and get) the CCA threshold. This is useful when there is a LNA in the radio's RX path.
This function is present in wpantund, but wasn't in ot-ctl.
Thanks!

I'm fine to add this command. But is adding a separate API to set the LNA gain a better approach to solve the issue in description?
I think there may be different CCA threshold requirements in different regulatory domain, setting a fixed LNA value allows OpenThread to automatically adjust the threshold value according to the regulatory domain settings.
Thoughts? @jwhui @brianljt

I'm fine to add this command. But is adding a separate API to set the LNA gain a better approach to solve the issue in description?
I think there may be different CCA threshold requirements in different regulatory domain, setting a fixed LNA value allows OpenThread to automatically adjust the threshold value according to the regulatory domain settings.
Thoughts? @jwhui @brianljt

I'm thinking whether we need to expose LNA gain to OpenThread. In my opinion, this information should be handled at Radio layer. So for different regulatory domain, OT just needs to set the target CCA measured at antenna port, Radio driver then will offset the necessary gain from it and set it to its chip registers. For development phase, it is OK to use this cli command to adjust the threshold on the fly, but once the gain is measured in products/boards, it should be handled at lower layer so this get/set command reflects only the target threshold.

I'm fine to add this command. But is adding a separate API to set the LNA gain a better approach to solve the issue in description?
I think there may be different CCA threshold requirements in different regulatory domain, setting a fixed LNA value allows OpenThread to automatically adjust the threshold value according to the regulatory domain settings.
Thoughts? @jwhui @brianljt

I'm thinking whether we need to expose LNA gain to OpenThread. In my opinion, this information should be handled at Radio layer. So for different regulatory domain, OT just needs to set the target CCA measured at antenna port, Radio driver then will offset the necessary gain from it and set it to its chip registers. For development phase, it is OK to use this cli command to adjust the threshold on the fly, but once the gain is measured in products/boards, it should be handled at lower layer so this get/set command reflects only the target threshold.

Not all OpenThread users will build the firmware from source code. They may choose a vendor's 15.4 chip and directly and use the vendor's certified release of OpenThread for simplicity. But they may choose any FEM whose LNA gain is unknown at first. Having an API to tell the radio driver the FEM's LNA gain saves the trouble of developers to deal with the regulatory domain issue because the CCA threshold values should be fixed in each regulatory domain. Thoughts?

I'm fine to add this command. But is adding a separate API to set the LNA gain a better approach to solve the issue in description?
I think there may be different CCA threshold requirements in different regulatory domain, setting a fixed LNA value allows OpenThread to automatically adjust the threshold value according to the regulatory domain settings.
Thoughts? @jwhui @brianljt

I'm thinking whether we need to expose LNA gain to OpenThread. In my opinion, this information should be handled at Radio layer. So for different regulatory domain, OT just needs to set the target CCA measured at antenna port, Radio driver then will offset the necessary gain from it and set it to its chip registers. For development phase, it is OK to use this cli command to adjust the threshold on the fly, but once the gain is measured in products/boards, it should be handled at lower layer so this get/set command reflects only the target threshold.

I agree with @brianljt that this should be best handled at platform level. For me, however, the main purpose of this command is to allow the evaluation of OT's performance with different hardware configurations (with/without FEM, etc).
Also, please note that there are similar issues with the txpower command.

Not all OpenThread users will build the firmware from source code. They may choose a vendor's 15.4 chip and directly and use the vendor's certified release of OpenThread for simplicity. But they may choose any FEM whose LNA gain is unknown at first. Having an API to tell the radio driver the FEM's LNA gain saves the trouble of developers to deal with the regulatory domain issue because the CCA threshold values should be fixed in each regulatory domain. Thoughts?

This is also a good point. Bottomline, IMHO it should be up to the platform to cap the TX power and handle the CCA threshold appropriately.

I'm fine to add this command. But is adding a separate API to set the LNA gain a better approach to solve the issue in description?
I think there may be different CCA threshold requirements in different regulatory domain, setting a fixed LNA value allows OpenThread to automatically adjust the threshold value according to the regulatory domain settings.
Thoughts? @jwhui @brianljt

I'm thinking whether we need to expose LNA gain to OpenThread. In my opinion, this information should be handled at Radio layer. So for different regulatory domain, OT just needs to set the target CCA measured at antenna port, Radio driver then will offset the necessary gain from it and set it to its chip registers. For development phase, it is OK to use this cli command to adjust the threshold on the fly, but once the gain is measured in products/boards, it should be handled at lower layer so this get/set command reflects only the target threshold.

Not all OpenThread users will build the firmware from source code. They may choose a vendor's 15.4 chip and directly and use the vendor's certified release of OpenThread for simplicity. But they may choose any FEM whose LNA gain is unknown at first. Having an API to tell the radio driver the FEM's LNA gain saves the trouble of developers to deal with the regulatory domain issue because the CCA threshold values should be fixed in each regulatory domain. Thoughts?

Thank you @bukepo, this makes sense to me. If so, I think I agree to add two cli commands. One is get/set CCA threshold and another is get/set FEM PA/LNA gain. Corresponding otPlatRadioXXX APIs should be added to pass this FEM information to Radio.

The code is not covered, could you please add a tests in tests/scripts/expect, you may reference https://github.com/openthread/openthread/blob/master/tests/scripts/expect/cli-log-level.exp

The code is not covered, could you please add a tests in tests/scripts/expect, you may reference https://github.com/openthread/openthread/blob/master/tests/scripts/expect/cli-log-level.exp

Added.


Mostly updates for phantomjs 2.0 by DEfusion

Also, a fix for deferring finding the screencap element until all resources have loaded. This fixes issues with client side rendering that depends on resource loading.
We are fine with having this as a fork but might help others to get it merged back into the main repo.

im happy to merge.  can we get the test fixed?

Not really sure how the build is set up. Looks like ruby 2 passed where as before it was failing but the other 3 versions are dead and I don't think it has anything to do with what I did.

The problem might be with change of version of the gem from 0.1.4 to 0.2.1.

Yeah, I thought it might be that also buty why is it only affecting one of the build versions? Makes me think it is a setting somewhere that I don't have access to.

See PR#35 for a fix to this build issue.


feat: add bootnode cli command

Motivation

Resolve #5872

Description

Add a lodestar bootnode cli command

:tada: This PR is included in v1.11.0 :tada: