agent crashes with loadFiltermanagerObjects failed

Describe the bug
retina-agent fails to start and crashes with the following error:
$ kubectl logs retina-agent-mdbr7 -n retina
Defaulted container "retina" out of: retina, init-retina (init)
starting Retina v0.0.12loading config /retina/config/config.yaml
init client-go
init logger
ts=2024-06-11T13:03:17.165Z level=info caller=metrics/metrics.go:169 msg="Metrics initialized"
ts=2024-06-11T13:03:17.165Z level=info caller=controller/main.go:138 msg="telemetry disabled"
ts=2024-06-11T13:03:17.176Z level=info caller=controller/main.go:213 msg="Kubernetes server version: v1.27.13-eks-3af4770"
ts=2024-06-11T13:03:17.177Z level=debug caller=pubsub/pubsub.go:76 msg="subscribed to topic" topic=apiserver uuid=8f6b81ba-eef8-4a70-9d7d-002ac3862fc7
ts=2024-06-11T13:03:17.177Z level=error caller=filter/filter_map_linux.go:61 msg="loadFiltermanagerObjects failed" error="field RetinaFilterMap: map retina_filter_map: load pinned map: permission denied"
ts=2024-06-11T13:03:17.177Z level=error caller=controller/main.go:226 msg="unable to create filter manager{error 26 0  failed to initialize filter map: field RetinaFilterMap: map retina_filter_map: load pinned map: permission denied}"

To Reproduce
Steps to reproduce the behavior:
Installation command:
helm template retina oci://ghcr.io/microsoft/retina/charts/retina \
    --version v0.0.12 \
    --namespace retina \
    --set image.tag=v0.0.12 \
    --set operator.tag=v0.0.12 \
    --set logLevel=debug \
    --set os.windows=false \
    --set operator.enabled=false \
    --skip-crds \
    --set enablePodLevel=true \
    --set remoteContext=true \
    --set enabledPlugin_linux="\[packetforward\,linuxutil\,dns\]" | kubectl apply -f -

It seems some issue with pod level toggle. If i set it to false, pods start normally.
Expected behavior
Clean initialization of retina-agent pods.
Platform (please complete the following information):

Host: EKS
Kernel Version: 5.15.153
OS Image: Bottlerocket OS 1.19.5 (aws-k8s-1.27)
Operating System: linux
Architecture: amd64
Container Runtime Version: containerd://1.6.31+bottlerocket
Kubelet Version:  v1.27.11-eks-9572756
Retina Version: 0.0.12

Thanks for any light in figuring it out what is happening.

@iarlyy Thanks for raising the issue. We have encountered this when init container fails to create the pinned map the log mentions. Can you update us with the following information:

share the init container logs
can you exec into a node and share the result of bpftool map | grep retina result

logs from one of the init-retina containers:
ts=2024-06-17T09:23:40.651Z level=info caller=bpf/setup_linux.go:61 msg="BPF filesystem mounted successfully" version=v0.0.12 path=/sys/fs/bpf
ts=2024-06-17T09:23:40.651Z level=info caller=bpf/setup_linux.go:68 msg="Deleted existing filter map file" version=v0.0.12 path=/sys/fs/bpf Map name=retina_filter_map
ts=2024-06-17T09:23:40.652Z level=info caller=bpf/setup_linux.go:76 msg="Filter map initialized successfully" version=v0.0.12 path=/sys/fs/bpf Map name=retina_filter_map

I will install bpftool in one of the nodes to collect the requested information.

@anubhabMajumdar is there an alternative way to get this information? I am just unable to compile bpftool.

my bad, runAsUser attribute and BPF,PERFMON (not sure if those are needed) capabilities were missing.
          securityContext:
            runAsUser: 0
            capabilities:
              add:
              - SYS_ADMIN
              - SYS_RESOURCE
              - NET_ADMIN
              - IPC_LOCK
              - BPF
              - PERFMON

I'm going to reopen this since we should probably be adding those capabilities to the manifests if they're not getting added. Otherwise, we should document that there are additional steps required. Thanks for your investigation @iarlyy !


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-30-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4812

Questions ?
Please refer to the Backport tool documentation


[release-0.1] Fetch Istio CRDs from Istio version specified in go.mod

Manual cherrypick required.
#318 failed to apply on top of branch "release-0.1":
Applying: Fetch Istio CRDs from Istio version specified in go.mod
Using index info to reconstruct a base tree...
M	Makefile.core.mk
M	versions.yaml
Falling back to patching base and 3-way merge...
Auto-merging versions.yaml
CONFLICT (content): Merge conflict in versions.yaml
Auto-merging Makefile.core.mk
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Fetch Istio CRDs from Istio version specified in go.mod
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

Closing as https://github.com/istio-ecosystem/sail-operator/pull/320 is merged


Provide an option to hide loading image.

Provide an option to hide loading image or to modify loading image style.

Make a PR if you want/need this feature.


'_listenerAttached': is not true.

I/flutter ( 7067): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter ( 7067): The following assertion was thrown building _ScrollableScope:
I/flutter ( 7067): 'package:flutter/src/rendering/editable.dart': Failed assertion: line 495 pos 14:
I/flutter ( 7067): '_listenerAttached': is not true.
I/flutter ( 7067):
I/flutter ( 7067): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter ( 7067): more information in this error message to help you determine and fix the underlying cause.
I/flutter ( 7067): In either case, please report this assertion by filing a bug on GitHub:
I/flutter ( 7067):   https://github.com/flutter/flutter/issues/new

Unfortunately this is not enough information to diagnose the issue.
Please add the output of flutter doctor -v
a minimal reproduction of the code that demonstrates the issue
and instructions how to reproduce.

Merging with #21919


A mistatement regarding identifiers

It is stated that "When SET QUOTED_IDENTIFIER is OFF, identifiers cannot be quoted and must follow all Transact-SQL rules for identifiers." but this is incorrect. Even with QUOTED_IDENTIFIER set to OFF you can use square brackets to break the standard Transact-SQL rules for identifiers.  I believe that as a point of clarification it's important to mention this information.

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

ID: f2d2c9eb-91eb-3516-c95c-ad60a5f12e89
Version Independent ID: e33be0cd-009f-9e4a-38f6-b1e6d92c14dc
Content: SET QUOTED_IDENTIFIER (Transact-SQL) - SQL Server
Content Source: docs/t-sql/statements/set-quoted-identifier-transact-sql.md
Product: sql
Technology: t-sql
GitHub Login: @CarlRabeler
Microsoft Alias: carlrab

A simple  example here:
SET QUOTED_IDENTIFIER OFF;
GO
CREATE TABLE [My Employees]
(MyColumn INT PRIMARY KEY)
SELECT * FROM [My Employees]

@pmasl please review

I'll add a note specific to square brackets.
Thank you

@NovoaProgramming -- thank you for your feedback.
@CarlRabeler, @pmasl -- thank you for replying.


Conduit: filter transactions at the group level

The filter processor currently allows filtering on any of a transaction's properties. For example, filter all transactions that are app calls with a certain app ID.
This is great. However, many dapps today are designed to process transactions as transaction groups. Thus, a dapp would be interested not only in the app calls to its app ID, but also any other transactions that were the group with that app call.
In other words, imagine that we have the following transaction group:

txn 1: axfer of USDC to anne.algo
txn 2: pay of Algo from anne.algo
txn 2: app call to AMM

If the AMM developer wants to report all activity for their dapp, they need to get all of these transactions through their filter processor.
Important note: group transactions can be both at the top-level or inner transactions. The AMM txn group could also be organized as:

txn 1: app call to AMM, which makes 2 inner transactions:

txn 2: axfer of USDC to anne.algo
txn 3: pay of Algo from anne.algo

possible prereq/related: #1329

configuration options

include-group-transactions: if on, for any txn matched, we'll also get that txn's grouped txns. If off, just get the individual txns matched.
include-inner-transactions: if on, for any txn matched, we'll also get that txn's inners. If off, just get the individual txns matched.

if matched on an inner, automatically include its top-level transaction (what if it's an inner's inner?). This case will need to be well documented because it is non-intuitive (the better design would be to have this also be a config, but it's difficult technically at this point).
default both of the configuration options to on.

as part of this work, re-run filter processor performance test.


Error out if QEMU does so

Right now, we may stay around if QEMU stays around after an error (e.g. using acceleration in a situation you can't).
We should correctly detect this and abort, making sure to terminate qemu.

This would be great.
I currently have the problem that qemu does not even start and ovmf-vars-generator hangs forever, blocked in stdout.readline() on the sub process.
This can be helped by checking if the sub process is still (or at all) alive.
Something like this:

  while proc.poll() is None:
      data = proc.stdout.readline()
      ...


Build form command line fails

When executing gradlew build from command line, build fails:
Internal Error: waltid-idpkit-ui@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
at Mk.getCandidates (C:\Users\vRaptor.yarn\releases\yarn-berry.cjs:299:4306)
at Xc.getCandidates (C:\Users\vRaptor.yarn\releases\yarn-berry.cjs:294:4947)
at C:\Users\vRaptor.yarn\releases\yarn-berry.cjs:303:7643
at Gl (C:\Users\vRaptor.yarn\releases\yarn-berry.cjs:242:4003)
at y (C:\Users\vRaptor.yarn\releases\yarn-berry.cjs:303:7623)
running yarn install does not help

Hi @vraptorche
I have updated the gradle build files just now. Please try if your problem is resolved.
If not, please try to delete the yarn.lock file in web/waltid-idpkit-ui and see if this solves the problem.
Thanks.


Date and time doesn't work as instructed

/banstick crimeo 04/09/2020 04:17:24
bans me until 4/09/2020 00:00:00 with ban explanation message "04:17:24"

hmm, looks like just confusing docs.
If only three params are presented it will assume first is who, second is
date, third is message. This is expected behavior. Might not be clear from
docs, though. If four params it should read third param as time and fourth
as message, instead.
Can def check though but I'm not immediately seeing anything "wrong" here,
although it is confusing from docs. However, basically the optional
"message" has higher precedence then the optional time.
Arguably it should attempt to match it to a timestamp regex and use that to
determine precedence.
On Fri, Apr 10, 2020 at 12:19 AM GavJenks<EMAIL_ADDRESS>wrote:

/banstick crimeo 04/09/2020 04:17:24
bans me until 4/09/2020 00:00:00 with ban explanation message "04:17:24"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DevotedMC/BanStick/issues/14, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADD5DVDJCK4QAIN72QPSV3RL2M57ANCNFSM4MFGTMJQ
.

it does the same with 4 arguments

message is just "04:17:24 blah" instead

lmao well nevermind then. Thanks for the report!
On Fri, Apr 10, 2020 at 12:52 PM GavJenks<EMAIL_ADDRESS>wrote:

message is just "04:17:24 blah" instead
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/DevotedMC/BanStick/issues/14#issuecomment-612118019,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADD5DSGVXHE5G326VRASJTRL5FDVANCNFSM4MFGTMJQ
.


How to show and search metadata of any object.

Hi everyone!
I have a patient's model with a one-to-many relationship to patient-meta (columns: id, patient_id, key, value). There are a number of keys and values paired saved against one patient e.g: (1, 2, DOB, '12-28-1992');
Patient Model:
class Patient extends Model
{
    /**
     * Get the patient-metas associated with the patient.
     */
    public function metas()
    {
        return $this->hasMany(PatientMeta::class);
    }
    /*
     *Get patient meta by key or set default
     */
    public function getPatientMeta($key = '', $defaut = '') {

        $key = trim($key);

        if( '' == $key ){
            return $defaut;
        }

        $metas = $this->metas->filter(function ($metas) use ($key) {
            return $metas->key === $key;
        });

        if ($metas->count() > 0) {
            return $metas->first()->value;
        }

        return $defaut;
    }

}

PatientMeta Model:
class PatientMeta extends Model
{
    /**
     * Get the patient that owns the this meta.
     */
    public function patient()
    {
        return $this->belongsTo(Patient::class);
    }
}

I have gone through official doucmentation Has Many Demo. But its not working ffor me.
I want to list patient data with its metadata like this:

Name
Gender (from meta-table)
Phone (from meta-table)
Address (from meta-table)
email  (from meta-table)
status

Foobar
Male
999999999
This is dummy address
<EMAIL_ADDRESS>active

Baz
Female
888888888
This is dummy address2
<EMAIL_ADDRESS>inactive

What I have done so far:
    /**
     * Get patients
     */
    public function getPatients()
    {
        $query = Patient::with('metas')->select('patients.*');
        return Datatables::eloquent($query)
                ->addColumn('gender', function (Patient $patient) {
                    return $patient->getPatientMeta('gender');
                })
                ->addColumn('mobile_number', function (Patient $patient) {
                    return $patient->getPatientMeta('mobile_number');
                })
                ->addColumn('address', function (Patient $patient) {
                    return (string) getAddressLink( $patient->getPatientMeta('address') );
                })
                ->addColumn('email', function (Patient $patient) {
                    return (string) $patient->getPatientMeta('email') ;
                })
                ->addColumn('status', function (Patient $patient) {
                    return (string) $patient->getPatientMeta('status')
                })
                ->make(true);
    }

$('#patients-data-table').DataTable({
	processing: true,
	serverSide: true,
	ajax: "{!! route('datatable.get.patients') !!}",
	columns: [
		{data: 'first_name', name: 'patients.first_name'},
		{data: 'gender', name: 'metas.key'},
		{data: 'mobile_number', name: 'metas.key'},
		{data: 'address', name: 'metas.key'},
		{data: 'email', name: 'metas.key'},
		{data: 'status', name: 'patients.status'},
	]
});

Everything is working fine, except sorting and de-sorting on meta values.
I received following error on sroting meta values column.
local.ERROR: BadMethodCallException: Call to undefined method Illuminate\Database\Query\Builder::getForeignKey() in /home/ubuntu/workspace/hvgp-crm/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2445
System details

Operating System:  Ubuntu on C9 IDE
PHP Version 7.0.1
Laravel Version 5.4.*
Laravel-Datatables Version ^6.0

Make them attributes instead.

I didn't get you. what do you mean by

Make them attributes instead.

https://laravel.com/docs/5.6/eloquent-mutators
<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class User extends Model
{
    /**
     * Get the user's first name.
     *
     * @param  string  $value
     * @return string
     */
    public function getFirstNameAttribute($value)
    {
        return ucfirst($value);
    }
}

no, no. you are getting it wrong. Actually, I have a patient with multiple meta-data (just like wp post-meta and user-meta). and I am getting patient meta just filtering meta objects by key.
patient-meta-table structure is:

id
patient_id (from patient-table)
key
value

1
10
gender
male

2
10
dob
28-12-1991

3
10
address
this is dummy address

4
10
phone
8879878979

5
10
email
<EMAIL_ADDRESS>

6
15
gender
female

7
15
dob
28-12-1991

8
15
address
this is dummy address too

9
15
phone
4345435435

10
15
email
<EMAIL_ADDRESS>

I want to list patient data with its metadata like this:

Name
Gender (from meta-table)
Phone (from meta-table)
Address (from meta-table)
email  (from meta-table)
status

Foobar
Male
999999999
This is dummy address
<EMAIL_ADDRESS>active

Baz
Female
888888888
This is dummy address2
<EMAIL_ADDRESS>inactive

public function getPatientMeta($key = '', $defaut = '') {

        $key = trim($key);

        if( '' == $key ){
            return $defaut;
        }

        $metas = $this->metas->filter(function ($metas) use ($key) {
            return $metas->key === $key;
        });

        if ($metas->count() > 0) {
            return $metas->first()->value;
        }

        return $defaut;
    }

Yes, and if you make it an attribute, you can search it.
The problem is you are trying to search your model on columns that aren't part of your model. If you make them attributes, you solve that problem.

Yes, by making them attributes issue will be fixed. But I have a number of fields which are being saved in meta-table, some of them are optional, so I can not make patient model rushy by creating too many columns with optional values.
Listing and search in data-table are working fine, just sorting column with meta-data are creating the issue.

From what I can see, your choices are to create the attributes, or not use a meta table and include the details as part of the patient record. You can't search something that doesn't exist.

Hi @Skintillion , this will be the case also in regular any one-to-many relation? Let's say a user has many phone numbers, would it be posible to show them comma separated as if they were a regular one to one relation? thanks!


Bug on IE11: Unable to get property 'propTypes' of undefined or null reference

Are you submitting a bug report or a feature request?

Bug
What is the current behavior?

Simple class with form component in it, exporting it like this (using TypeScript):
const ProjectFormRouter = withRouter(withTranslation()(ProjectForm));
const ConnectedProjectForm = connect<ProjectFormReduxStateProps>(mapStateToProps)(ProjectFormRouter)
const ProjectReduxForm = reduxForm<ProjectFormFormData, ProjectFormOwnProps>({
    // form: 'ProjectForm', // a unique identifier for this form - set dynamically through props
    validate,
    enableReinitialize: true,
    destroyOnUnmount: true,
})(ConnectedProjectForm);
export default ProjectReduxForm;

getting error only in IE 11:
SCRIPT5007: Unable to get property 'propTypes' of undefined or null reference
vendor.bundle.js (1,1)

The above error occurred in one of your React components:
    in Unknown (created by EditProject)
    in EditProject (created by withI18nextTranslation(EditProject))
    in withI18nextTranslation(EditProject) (created by ConnectFunction)
    in ConnectFunction (created by Context.Consumer)
    in withRouter(Connect(withI18nextTranslation(EditProject))) (created by PageWithFooter)
    in ComponentErrorHandler (created by withI18nextTranslation(ComponentErrorHandler))
    ...

What is the expected behavior?
No error
Sandbox Link

What's your environment?

redux-form: 8.2.4
Windows 10
IE 11
Other information

package.json some of dependencies
"dependencies": {
    "@babel/cli": "^7.4.4",
    "@babel/core": "^7.4.5",
    "@babel/plugin-proposal-class-properties": "^7.4.4",
    "@babel/plugin-proposal-decorators": "^7.4.4",
    "@babel/preset-env": "^7.4.5",
    "@babel/preset-react": "7.0.0",
    "@babel/preset-typescript": "^7.3.3",
    "@babel/register": "^7.4.4",
    "babel-loader": "^8.0.6",
    "react-hot-loader": "^4.12.1",
    "webpack": "^4.35.0",
    "react": "^16.8.6",
    "redux": "^4.0.1",
}

babel configuration in webpack
{
    cacheDirectory: true,
    babelrc: false,
    presets: [
        [
            '@babel/preset-env'
        ],
        '@babel/preset-typescript',
        '@babel/preset-react',
    ],
    plugins: [
        ["@babel/plugin-proposal-decorators", {
            legacy: true
        }],
        ["@babel/plugin-proposal-class-properties", {
            loose: true
        }],
        "react-hot-loader/babel",
        "transform-class-properties"
    ],
};

Edit: redux form is for sure causing this, because commented it out everything starts working fine

Solved it, changed polyfills to use core-js instead of babel/polyfill and it solved by itself :)


Correctly quotes variables to avoid whitespace issues. Closes #7

Just a few quick edits I made when I encountered this issue.  I have lightly tested this, but could use further testing.

lgtm. Thanks!

@shannonmoeller @jarinfrench
This works but tab completion does not work (i.e. if you type a partial directory name and press Tab). I think a change is needed in the completion function _up.


How to use the Tf.exe command from behind a corporate internet proxy?

I want to use the Tf.exe commands against Azure DevOps.
I try to use
TF.exe vc checkin
from a powershell commandline in my build pipeline running on a self-hosted agent. But get the following error:
TF400324: Azure DevOps services are not available from server https://dev.azure.com/myorganization.
Technical information (for administrator):
Unable to connect to the remote server
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <IP_ADDRESS>:443
The TF checkin command has finished (exitcode=100)
How to use the Tf.exe command from behind a corporate internet proxy?

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

ID: 052ab215-efa4-8cd6-fa3c-f08f8015b881
Version Independent ID: 3aac0244-74a6-070a-dafe-f246aaad699c
Content: Use Team Foundation version control commands - Azure Repos
Content Source: docs/repos/tfvc/use-team-foundation-version-control-commands.md
Product: devops
Technology: devops-code-tfvc
GitHub Login: @apawast
Microsoft Alias: sdanie

Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a couple of options where you might consider asking your question:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow


FIPS pipeline not building openssl-fips

Because it exports PROJECT_NAME not PROJECT

It took me a few days to discover the issue myself! The logs are misleading on this one because at the very top you see PROJECT: chef-server-fips but in the actual dump of the environment it is project: chef-server-fips :grumble:

@tyler-ball Mind rebasing this on master, then feel free to merge it


fix(vote): handle users who blocked the bot

Fixes this error:
DiscordAPIError: Reaction blocked
    at RequestHandler.execute (/home/archid/workspace/skyra/node_modules/discord.js/src/rest/RequestHandler.js:154:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
    at RequestHandler.push (/home/archid/workspace/skyra/node_modules/discord.js/src/rest/RequestHandler.js:39:14)
    at UserCommand.run (/home/archid/workspace/skyra/src/commands/Tools/vote.ts:18:48)
    at CoreEvent.run (/home/archid/workspace/skyra/node_modules/@sapphire/framework/src/events/command-handler/CoreCommandAccepted.ts:15:19)
    at CoreEvent._run (/home/archid/workspace/skyra/node_modules/@sapphire/framework/src/lib/structures/Event.ts:87:4)

People are mean. Who would block Skyra :(

People are mean. Who would block Skyra :(

Meanies with no heart would :(


[Java] Improve expression creation performance

🤔 What's changed?
Refactored ExpressionFactory to improve expression creation performance by about 50%.
⚡ What's your motivation?
Fixes #185
🏷 What kind of change is this?

:bank: Refactoring/debt/DX (improvement to code design, tooling, documentation etc. without changing behaviour)

♻ Anything particular you want feedback on?
The PR has been asked by mpkorstanje
📋 Checklist:

[x] I agree to respect and uphold the Cucumber Community Code of Conduct
[ ] I've changed the behaviour of the code

[x] I have added/updated tests to cover my changes.

[ ] My change requires a change to the documentation.

[ ] I have updated the documentation accordingly.

[x] Users should know about my change

[x] I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

In order to keep the implementations consistent I think it would be a good idea to port this to the other implementations too.

@aslakhellesoy https://github.com/cucumber/cucumber-expressions/issues/190

I added cucumber-expressions 16.1.1 to my Maven dependencies (overrides the version 16.0.0 used in cucumber-core 7.9.0) and the profiler says it's 37% faster. 😁

Well done. I've ran my suite of ~1000 scenarios in dry-run mode and instead of 37s I've got 13s with the latest release. Almost 300% improvement.

@jkronegg now available in Cucumber 7.10. Much appreciated!


Implement Eternatus VMAX ability

This PR introduces the first version of Eternatus VMAX's ability
The changes here are dependent on 2 other PRs
https://github.com/axpendix/tcgone/pull/29
https://github.com/axpendix/tcgone-engine-contrib/pull/897

 ETERNATUS_VMAX_128

Weird timing issue I think. I use Super Scoop Up to pick up my Eternatus VMAX on the bench, then the bench discard selection lets me choose that same Eternatus VMAX, which causes a game error.
game log trace: https://gist.github.com/flagrama/43dbae5134ad7f21b6eef5afbe242ceb

[ ]  Removing all non-Dark type Pokemon from the field does not (re)activate Eternal Zone.

Can you provide an example?  I've tested removing all non-darkness type Pokemon and I was able to get the Bench size to increase to 8

[ ] Weird timing issue I think. I use Super Scoop Up to pick up my Eternatus VMAX on the bench, then the bench discard selection lets me choose that same Eternatus VMAX, which causes a game error.

Hmm, weird. In my local instance the Eternatus doesn't show up (a blank space is put in its spot though, inside the select). And I'm forced down to a bench of 4.

Hmm, weird. In my local instance the Eternatus doesn't show up (a blank space is put in its spot though, inside the select). And I'm forced down to a bench of 4.

Sounds to me like you didn't evolve him and just played him straight from hand?

Can you provide an example? I've tested removing all non-darkness type Pokemon and I was able to get the Bench size to increase to 8

I removed a non-Dark-type Pokémon from the active spot IIRC.

Testing reopening

Sounds to me like you didn't evolve him and just played him straight from hand?

@flagrama First time for sure, but I think I also tested it via evolving it and scooping it with SSU specifically.


Typo in node.js error codes?

Hi @fabiospampinato,
in https://github.com/fabiospampinato/stubborn-fs/blob/e85c98601fc805eff8d81374a1894a7ab31eefc5/src/handlers.ts#L38 I wonder if EACCESS needs to be EACCES instead? I also never heard about EACCS.

Oh yeah, it looks like it. I don't exactly remember where all those strings come from, maybe EACCESS was a typo on my end, EACCS is weird I can't find matches for it, but I doubt I made it up 🤔
Anyway, deleting the rest seems a bit risky, and keeping them in the list should be fine, so I just added EACCES to the list in v1.2.5, thank you ❤


Support more exec create params

will try to write some tests once docker hub is fixed.

Current coverage is 39.24%

Merging #316 into master will decrease coverage by -0.22% as of c3a2e0d

@@            master    #316   diff @@
======================================
  Files           54      54
  Stmts         2709    2724    +15
  Branches       646     647     +1
  Methods          0       0
======================================
  Hit           1069    1069
  Partial        100     100
- Missed        1540    1555    +15

Review entire Coverage Diff as of c3a2e0d

Powered by Codecov. Updated on successful CI builds.

todo: update ExecState accordingly and write tests https://docs.docker.com/engine/reference/api/docker_remote_api_v1.18/#exec-inspect

@mattnworb

@rohansingh

LGTM.
From a design perspective it seems like a headache that so many lines of code are needed just to add new params, but I guess that is the cost of this fluent style of API

Yea it's a lot of boilerplate, but hopefully it makes it more discoverable and structured for the user.


Wrap type conversions in try-catch to prevent crashes due to unhandled exceptions

What does the pull request do?
This PR prevents crashes due to illegal conversions in TargetTypeConverter, i.e. if a numeric type is bound to a TextBox (only when using CompiledBindings). Yes, currently in 11.1 if you type a letter in a textbox with {Binding NumericType}, it will crash the whole app (with CompiledBindings).
What is the current behavior?
The type conversion exceptions in Compiled Bindings are not handled.
What is the updated/expected behavior with this PR?
The type conversion exceptions are silently ignored - just like before the binding refactor.
How was the solution implemented (if it's not obvious)?
The conversion happens in TryConvert methods, which name implies that a failure should not propagate. It also worked this way before:
https://github.com/AvaloniaUI/Avalonia/blob/d407764b84d4d71a2eb3e53c6cfe2ee0500e461c/src/Avalonia.Base/Utilities/TypeUtilities.cs#L279-L290
So I added analogous try {} catch {} in the new typed conveter.
Checklist

[x] Added unit tests
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/avalonia-docs with user documentation

Breaking changes
n/a
Obsoletions / Deprecations
Fixed issues
Fixes #15546

@BAndysc,
Please read the following Contributor License Agreement (CLA). If you agree with the CLA, please reply with the following:
@cla-avalonia agree

Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement ( “Agreement” ) is agreed to by the party signing below ( “You” ),
and conveys certain license rights to the AvaloniaUI OÜ ( “AvaloniaUI OÜ” ) for Your contributions to
AvaloniaUI OÜ open source projects. This Agreement is effective as of the latest signature date below.
1. Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to AvaloniaUI OÜ under this Agreement.
“Project” means any of the projects owned or managed by AvaloniaUI OÜ and offered under a license
approved by the Open Source Initiative (www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
2. Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
3. Originality of Work.  You represent that each of Your Submissions is entirely Your
original work. Should You wish to Submit materials that are not Your original work,
You may Submit them separately to the Project if You (a) retain all copyright and
license information that was in the materials as you received them, (b) in the
description accompanying your Submission, include the phrase "Submission
containing materials of a third party:" followed by the names of the third party and any
licenses or other restrictions of which You are aware, and (c) follow any other
instructions in the Project's written guidelines concerning Submissions.
4. Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
5. Licenses.
a. Copyright License. You grant AvaloniaUI OÜ, and those who receive the Submission directly
or indirectly from AvaloniaUI OÜ, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable
license in the Submission to reproduce, prepare derivative works of, publicly display, publicly perform,
and distribute the Submission and such derivative works, and to sublicense any or all of the foregoing
rights to third parties.
b. Patent License. You grant AvaloniaUI OÜ, and those who receive the Submission directly or
indirectly from AvaloniaUI OÜ, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license
under Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
c. Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.
6. Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3 ). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6 , THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
7. Notice to AvaloniaUI OÜ. You agree to notify AvaloniaUI OÜ in writing of any facts or
circumstances of which You later become aware that would make Your representations in this
Agreement inaccurate in any respect.
8. Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
9. Governing Law/Jurisdiction. This Agreement is governed by the laws of the Republic of Estonia, and
the parties consent to exclusive jurisdiction and venue in the courts sitting in Talinn,
Estonia. The parties waive all defenses of lack of personal jurisdiction and forum non-conveniens.
10. Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by AvaloniaUI OÜ.
AvaloniaUI OÜ dedicates this Contribution License Agreement to the public domain according to the Creative Commons CC0 1.

@cla-avalonia agree

In my opinion, the error should be added to the Binding log instead of ignoring it completely.

Typing a letter in a number field is an user error and it would spam the log.

Without exceptions or messages in log it would be difficult to identify any errors in a Converter.  The log level can be customized.

Without exceptions or messages in log it would be difficult to identify any errors in a Converter. The log level can be customized.

The exception will be shown in Data Validation of the control.


Actual number of created replicas significantly exceeds maximum number of replicas

This issue is a:

[ ] bug report -> please search issues before submitting
[ ] documentation issue or request
[x] regression (a behavior that used to work and stopped in a new release)

Issue description
When I create a container app with no scaling rules and min/max replicas set to 1/1 and ingress enabled the app is trying to create a lot of replicas, so more than max.
Steps to reproduce

Create container app with web app
Set scaling rules to none and min/max replicas to 1/1
Enable ingress

Expected behavior

Max 1 replica is created

Actual behavior

Number of replicas are created

Screenshots

Each replica after starting up, stops. Here is what I see when I try to connect to it with log stream:
Successfully Connected to container: ...
unable to retrieve container logs for containerd://...


Wagtail translation: duplicating tree not compatible with static text translation?

Hi, I am trying to have Wagtail allow to specify a custom page slug for each language.
Here it is suggested to duplicate the tree, but this approach does not seem to work properly with i18n URL patterns - which is the only way I know to trigger the right translations for static text in templates.
The problem with i18n patterns is the language prefix appears in the URL together with the page slug, therefore resulting in a duplication of locales in the url (in the form of mysite.com/<LOCALE>/<LANGUAGE-PAGE>/mypage - ex. mysite.com/en/en/mypage).
This can be worked around for the default language by setting prefix_default_language = False in urls.py, but for other languages you get the url as per above.
Am I missing/misunderstanding anything?
How can I work around this limitation without resorting to rewriting the URLs in the .htaccess?

We found the issue to be in TranslatablePageMixin's get_language() needing the translation to be activated:
    def get_language(self):
        """
        This returns the language code for this page.
        """
        language_homepage = self.get_ancestors(inclusive=True).get(depth=3)

        translation.activate(language=language_homepage.slug)

        return language_homepage.slug

Closing as the documentation page in question was removed some time ago, and 2.11 is introducing new translation infrastructure with full support for Django's i18n_patterns.


New update pipeline

@derekchiang alright, pretty sure all comments have been addressed. To answer your question about testing this has been tested manually several times including on the most recent commit in this PR.

Hype!


[PE-D] deltask should not take in duplicate commands

deltask can take in duplicate commands. This should throw a no group error since there is no group called NUS Fintech Society deltask task/v1.2 user guide g/NUS Fintech Society

Labels: severity.Medium type.FunctionalityBug
original: aceszhenwei/ped#14

Please refer to this explanation on this isssue.


Fix the crash

https://github.com/senecajs/seneca-telemetry-newrelic/issues/16

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.08%) to 20.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/tracing-collector.ts
0
3
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.08%

Covered Lines:
103

Relevant Lines:
514

💛  - Coveralls


support for Trainer.predict method

This PR would resolve #260.  Is just some additions to the TransformerDataConfig and the TransformerDataModule objects in order to support Trainer.predict.
The model passed to the Trainer must have a a predict_step or a forward method implemented (it defaults to forward if  there is no predict_step) in order for Trainer.predictto work.  I've implemented it in TextClassificationTransformer, but eventually would need to be implemented for all nlp tasks.

Thanks @RR-28023!!!


[ manila-csi-plugin ] docker image is not up to date

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind feature

The binaries affected:

[ ] openstack-cloud-controller-manager
[ ] cinder-csi-plugin
[ ] k8s-keystone-auth
[ ] client-keystone-auth
[ ] octavia-ingress-controller
[x ] manila-csi-plugin
[ ] manila-provisioner
[ ] magnum-auto-healer
[ ] barbican-kms-plugin

What happened:
** docker pull k8scloudprovider/manila-csi-plugin:latest yields 'not found' and k8scloudprovider/manila-csi-plugin:v1.17.0 is a couple months old.**
What you expected to happen:  docker pull with latest tag will succeed and fetch a current image corresponding to cloud-provider-openstack source code.
How to reproduce it:
run docker pull image as indicated above
Anything else we need to know?:
Issue was originally noted here:  https://github.com/kubernetes/cloud-provider-openstack/issues/928#issuecomment-584573774
Environment:

openstack-cloud-controller-manager version:
OpenStack version:
Others:

@tombarron manila-csi-plugin seems to be missing here , need to be updated https://github.com/theopenlab/openlab-zuul-jobs/blob/master/playbooks/cloud-provider-openstack-acceptance-test-e2e-conformance/run.yaml#L170 here

/assign @tombarron

Thanks, @ramineni .  Submitted https://github.com/theopenlab/openlab/issues/467 and will fix in openlab-zuul-jobs.

Fixed via theopenlab/openlab-zuul-jobs#795


Union Chat v2

It's time to update Union backend owo
This PR is a major rewrite of the API (v2) and a v2 of the websocket! OwO
APIv2 implements more consistent endpoints with cleaner path, a brunch of new features and is covered by unit tests
WebSocket is also in a new version with fancy new features!
WARNING: Neither the old API nor the old websocket are supported by this version. Support of the old API is
not complicated, but it's not the case for the current websocket. Partial support would be just a waste of time imo
Features

Clean code (as always)
Unit tests yarn run test (note: you can skip long test with the env variable SKIP_LONG_TESTS=yes)
Stable and consistent
Ez installation system & migrator yarn run setup
reCAPTCHA support (should work, didn't tested and not covered by unit tests, because I don't know how to test it properly)
User & server settings (very basic for now)
Docs! :D

Ez installer
The installer will prepare the app to start working quickly and easily

Build the beautiful es6 code in ugly but (we all hope) working code
Migrates the database (no database required, everything will be created)
Download & build union-react  (union-website can be used but some adjustments will be probably required)

Endpoints
POST /api/v2/users - Create an user
GET /api/v2/users/self - Get current user
PUT, PATCH /api/v2/users/self - Updates the current user
DELETE /api/v2/users/self - Delete the current user
POST /api/v2/servers - Create a server
PUT, PATCH /api/v2/servers/:serverId - Delete a server
DELETE /api/v2/servers/:serverId/leave - Leave a server
DELETE /api/v2/servers/:serverId - Delete a server
POST /api/v2/servers/:serverId/invites - Create an invite to a server
POST /api/v2/invites/:invite - Accept an invite
POST /api/v2/servers/:serverId/messages - Post a message
PUT/PATCH /api/v2/servers/:serverId/messages/:messageId - Update a message
DELETE /api/v2/servers/:serverId/messages/:messageId - Delete a message
Not implemented endpoints
GET /api/v2/themes - Get a list of all themes, ordered by votes (with pagination)
POST /api/v2/themes/:themeId/vote - Upvote a theme
DELETE /api/v2/themes/:themeId/vote - Remove the upvote for a theme
POST /api/v2/themes - Create a theme
PUT, PATCH /api/v2/themes/:themeId - Update a theme
DELETE /api/v2/themes/:themeId - Delete a theme
GET /api/v2/developers/applications - Get applications
POST /api/v2/developers/applications - Create an application
PUT, PATCH /api/v2/developers/applications/:applicationId - Update an application
DELETE /api/v2/developers/applications/:applicationId - Delete an application
GET /api/v2/oauth2/authorize - Oauth2 classic routes
POST /api/v2/oauth2/token - Oauth2 classic routes
POST /api/v2/oauth2/revoke - Oauth2 classic routes
New WebSocket server
Don't be a Discord. Union websocket is Subscription-based, for the happiness of your network and CPU
See the docs for more details
Some other ideas & stuff to do

Snipe but directly in the API (with maybe more advanced behaviour)
Channels & DMs
Improve scalability of Union

this is so damn big.
On another note, please lint with the old settings (semicolons, yoda, etc...)

Done :D

oof also just notices some stuff:

I completely forgot to impement the rate limit documented in api.md
s_core.js test is inconsistent and behave weirdly, fails randomly and keeps the process alive, I'll probably remove it too

I'll fix that a bit later and add a comment when it's fixed

Fixed and changes pushed. Note that the rate limiter should use a Redis server in the future, to improve reliability and scalability

And on another note, i'm just wondering, why you prefer yoda syntax?


Fix errors with matching embedded code-blocks

Description of the Change
An unrelated fix included in atom/language-gfm#175, but decoupled at @50Wliu's request.
I'll quote the original PR:

While doing this, I also stumbled across a bug where any unmarked code-block is incorrectly matched as AsciiDoc. The culprit turned out to be a stray pipe | at the end of the capturing group, which of course will match anything.

UPDATE:
Some other errors were noticed shortly after submission.  They've been fixed and rolled into this PR:

Mixed runs of ~ and backticks no longer begin a code-block. Fixes atom/language-gfm#169.
Blocks delimited by borders of differing lengths now terminate embedded highlighting correctly.
Trailing whitespace now handled consistently for closing borders.

I also added CSON as a recognised CoffeeScript keyword, since it's supported on GitHub:
Snippet:
	prefix: "/"
	body: "/** $1 */"

@Alhadis you might consider bringing over the test changes that drop mylanguage, to prove the no-language fix.

That's a really good point, actually. Will do, and thanks for the tip!


Replace yum with dnf

dnf is the default in CentOS 8.

Can we remove hakiri from this repo @Fryguy ? It doesn't seem to work and marks everything red.

@carbonin I'll take a look


Screengrab is searching for screenshots in all locale folders each time exact locale is tested

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
I have an issue when I try to run screengrab on multiple locales, every time a single locale is tested, it tries to pull screenshots from all specified locales and sometimes wrong screenshots appear in the specified locale folders.
Practical example with 2 screenshots
my locale list looks like this locales ['ar', 'bg', 'de', 'en', 'es', 'et', 'fr', 'lt', 'lv', 'pl', 'ro', 'ru', 'sq']
The generated screenshot list looks like this:
ar - 2 screenshots (OK)
bg - 2 screenshots (OK)
de - 2 screenshots (OK)
en - 8 screenshots (NOT OK, also included screenshots of previous locales - ar, bg, de)
es - 10 screenshots (NOT OK, also included screenshots of previous locales)
et - 2 screenshots (OK)
fr - 2 screenshots (OK)
lt - 16 screenshots (NO OK, also included screenshots of previous locales)
lv - 2 screenshots (OK)
ro - 22 screenshots (NO OK, also included screenshots of previous locales)
ru - 2 screenshots (OK)
sq - 2 screenshots (OK)
It is 100% reproducible and the amount of screenshots for the en/es/lt/ro locales is always the same
Command executed
Screengrab sample file
app_package_name 'com.exapleapp.uat'
output_directory 'fastlane/metadata/android'
use_adb_root true

use_tests_in_packages ['com.exapleapp.android.ui']
test_instrumentation_runner('androidx.test.runner.AndroidJUnitRunner')

locales ['ar', 'bg', 'de', 'en', 'es', 'et', 'fr', 'lt', 'lv', 'pl', 'ro', 'ru', 'sq']

tests_apk_path 'exapleapp/build/outputs/apk/androidTest/uat/debug/exapleapp-uat-debug-androidTest.apk'
app_apk_path 'exapleapp/build/outputs/apk/uat/debug/exapleapp-uat-debug.apk'

skip_open_summary false
clear_previous_screenshots true

Complete output when running fastlane, including the stack trace and command used
Example when pulling screenshots after bg language test completed (why it is not pulling only bg directories??):
[09:37:29]: Pulling captured screenshots for locale bg from the device
ls: /sdcard/com.exapleapp.uat/screengrab/ar/images/screenshots: No such file or directory
[09:37:29]: Exit status: 1
ls: /sdcard/com.exapleapp.uat/screengrab/bg/images/screenshots: No such file or directory
[09:37:29]: Exit status: 1
ls: /sdcard/com.exapleapp.uat/screengrab/de/images/screenshots: No such file or directory
[09:37:29]: Exit status: 1
ls: /sdcard/com.exapleapp.uat/screengrab/en/images/screenshots: No such file or directory
[09:37:29]: Exit status: 1
ls: /sdcard/com.exapleapp.uat/screengrab/es/images/screenshots: No such file or directory
[09:37:29]: Exit status: 1
ls: /sdcard/com.exapleapp.uat/screengrab/et/images/screenshots: No such file or directory
[09:37:29]: Exit status: 1
ls: /sdcard/com.exapleapp.uat/screengrab/fr/images/screenshots: No such file or directory
[09:37:29]: Exit status: 1
ls: /sdcard/com.exapleapp.uat/screengrab/lt/images/screenshots: No such file or directory
[09:37:29]: Exit status: 1
ls: /sdcard/com.exapleapp.uat/screengrab/lv/images/screenshots: No such file or directory
[09:37:29]: Exit status: 1
ls: /sdcard/lcom.exapleapp.uat/screengrab/pl/images/screenshots: No such file or directory
[09:37:29]: Exit status: 1
ls: /sdcard/com.exapleapp.uat/screengrab/ro/images/screenshots: No such file or directory
[09:37:29]: Exit status: 1
ls: /sdcard/com.exapleapp.uat/screengrab/ru/images/screenshots: No such file or directory
[09:37:30]: Exit status: 1
ls: /sdcard/com.exapleapp.uat/screengrab/sq/images/screenshots: No such file or directory
[09:37:30]: Exit status: 1
ls: /data/data/com.exapleapp.uat/app_screengrab/ar/images/screenshots: No such file or directory
[09:37:30]: Exit status: 1
ls: /data/data/com.exapleapp.uat/screengrab/ar/images/screenshots: No such file or directory
[09:37:30]: Exit status: 1

Ok, so after some further experimenting I have identified, that some languages require exact codes.
In this case everything fixed when I made these changes:
en -> en-GB
es -> es-ES
lt -> lt-LT
ro -> ro-RO

I think this should be documented somehow or at least fixed.


[Onenote] could not search anything

Extension
https://www.raycast.com/alewandowski/onenote
Description
Related to #4853
According to https://github.com/raycast/extensions/issues/4853#issuecomment-1512116382
I have closed some notebooks to make the number below 10 but it still could not make it.

And is there any possibility to remove the restrictions of the notebooks numbers? Thank you!
Steps To Reproduce

Current Behaviour
No response
Expected Behaviour
No response

As #4853 described the related files:

How to fix this?

Any progress?

Any progress?

Any progress?

Hi,
Thank you very much for your feedback.
Unfortunately, I currently have no free time to spend on this project... Hope one day I will !


Vite production build produces non deterministic hash

Hey 👋 First of all, love Flare! ❤
I may have discovered a bug with the sourmap uploader. If you run the production build, with sourcemap uploader plugin, the JS build produces a unique hash every single time even though the actual source code hasn't change. My hunch is perhaps that a new uuid is generated for every build, which gets injected into the final bundle. I think the sourcemap version may need to be generated differently to take content hash into account.
I've got a Laravel app with some React components. The app is deployed to multiple servers behind the load balancer and the assets are built at deploy time. So every server gets a unique JS bundle hash. This results in 404 errors when assets are served, because every request may be resolved by a different server.
I've disabled the source map uploader plugin for now.

@freekmurze not sure if this was seen yet. Sorry for the ping!


Support for nested mmdb in import

In this PR, I have implemented the support for nested mmdb.
Tested out the following JSON (mentioned on linear in DATA-816) along with ipinfo and Maxmind's JSON datasets.
{   "range": "<IP_ADDRESS>/25",   "city": {     "geoname_id": "5120478",     "names": {       "en": "Hempstead"     }   },   "country": {     "geoname_id": "6252001",     "isocode": "US",     "is_in_european_union": "TODO",     "names": {       "de": "Vereinigte Staaten",       "en": "United States of America",       "es": "Estados Unidos",       "fr": "États Unis",       "ja": "アメリカ",       "ru": "США"     }   },   "continent": {     "geoname_id": "6255149",     "code": "NA",     "names": {       "de": "Nordamerika",       "en": "North America",       "es": "América del Norte",       "fr": "Amérique du Nord",       "ru": "Северная Америка"     }   },   "location": {     "latitude": 40.70621,     "longitude": -73.61874,     "time_zone": "America/New_York"   },   "postal": {     "code": "11550"   },   "subdivisions": [     {       "geoname_id": "5128638",       "iso_code": "NY",       "names": {         "de": "New York",         "en": "New York",         "es": "Nueva York",         "fr": "New York",         "ru": "Нью-Йорк"       }     }   ] }

Should there be some kind of warning in case you're using the csv/tsv output options that can't support nested objects?

Should there be some kind of warning in case you're using the csv/tsv output options that can't support nested objects?

Do you mean csv/tsv input into mmdb output? If so, there's just no native definition of a nested object in csv/tsv, everything's a string and so the mmdb type will be a string. With JSON we have definitions for non-string entities so we can try to map that into the closest MMDB entity as we're doing in this PR (after the above review is addressed). The best we can do is put a note in the --help message, maybe.
If you meant csv/tsv output from an mmdb input (what we call export), then I think it already works reliably enough by relying on json.Marshal-ing what the MMDB library gives us when reading the MMDB record, whatever the value is inside of it (whether nested or not).

I'm sorry for my late response; I was outstation due to the holidays here. I'll be sure to work on the things suggested above.


Fixed logout issue

Fixes #139
FIxed the logout issue in the website, now user will able to login and logout successfully
https://github.com/anuragverma108/SwapReads/assets/99901964/c1f5b26e-5a36-419c-a93e-ec8bfc8779b8

@anuragverma108 Can you look into this PR and let me know if any changes need to make


Composer persists skills URLs in .dialog files

Describe the bug
I am simultaneously developing a skill consumer in composer and a skill using code first.
While developing, I want my consumer to use my local version of the skill on http://localhost:39800/api/messages, but when I deploy the consumer and the skill bots to azure, I want the consumer to use the deployed URL for the skill (e.g.: https://myskill.contoso.com/api/messages) but I don't seem to be able to change my skill URL through configuration and my deployed consumer keeps trying to access my skill using http://localhost:39800/api/messages and not the deployed URL of the skill.
From looking at the code behind of connect to a skill I see that the URL of my skill is persisted in the dialog file and not taken from config:

I also looked at bot settings in composer and I see that the manifest URL is stored there but not the skill URL and I have no way of overriding it.

Version

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

Expected behavior
In my scenario, I would like to be able to change the URL of the skill through configuration (in appsettings.json maybe) so I can override this when the bot is deployed.
Possibly, I would like to be able to set the skillAppId on the UI to something like =settings.skills['MySkillId'].AppId and the URL to something like =settings.skills['MySkillId'].skillEndpoint so these values can be taken from config.
Let me know if you need more details.
Additional context
In code first consumers, we normally store the skill information in appsettings.json: and then we use the information there to initialize the beingskill dialog instance:

@gabog The latest release of Composer (1.2) will follow the pattern you have mentioned above.
This is the ticket and the PR that did the change. #4032

This is great news @srinaath, I will close this one and give 1.2 a try.
Thanks


Regions mess-up the highlighting.

Description of the problem or steps to reproduce.
When a string (e.g. "foo", 'foo') is on the same line with other words, syntax highlighting breaks on some of those words.

As seen in the images, when I remove the string from the line, all the other highlighting works as expected.
I made some tests. When I use constant.string: "\".*\"|\'.*\'" in the syntax file this doesn't happen, but multiline strings don't get highlighted. The issue happens if I use:
# ~/.config/micro/syntax/sh.yaml.

- constant.string:
    start: "\'"
    end: "\'"
    rules: [ ]

- constant.string:
    start: "\""
    end: "\""
    rules: [ ]

Specifications.
Commit hash: 3a8898d -> 1.4.2-dev.77; compiled on July 27, 2019.
OS: Manjaro.
Terminal: xterm-256-color.

@zyedidia, this is still happening in 2.0.3-dev.7 (BTW, micro isn't letting me override the syntax file with my own; I had to name my syntax differently to be able to test it).

As you can see, the variable expansion in line 18 didn't get the correct highlighting, but in line 19 it did (because no string is present in it).

After reading the documentation a bit, I noticed that this issue happens with any region, not just strings.
So, whenever a region is found in the same line after a pattern or patterns, some of the patterns are ignored (but I can't tell which ones, it seems to be random; some work, some don't).
Until now what I have done is avoiding using regions (which leaves me with support only for single-line strings).
As seen in the screenshots, I was coding shell scripts, which have a kind of "exotic" syntax when it comes to strings. You can recursively embed strings into strings, perform variable expansions, command substitution, etc. (and it's hard to express that in the YAML syntax file).

I've also been running into this bug recently.
I've been able to reduce down to a minimal syntax definition to reproduce the bug:
filetype: foobar

detect:
    filename: "\\.foo$"

rules:
    - symbol: "[$]"

    - comment:
        start: "#"
        end: "$"
        rules: []

which renders the following:

Notice how the last $ has no highlighting.
If the regex tries to match a $, then it stops working on lines affected by regions.
Version: 2.0.6
Commit hash: 60846f5
Compiled on June 24, 2020

I have a similar issue - any pattern that is encountered after the region rule, gets unhighlighted.


Do not upload iso/qcow/box with the artifacts - do not download all artifacts for test

It makes no sense as we upload them twice and we only need the iso/box
in the following jobs
Signed-off-by: Itxaka<EMAIL_ADDRESS>

Saves around 4 minutes per run of integration tests


Varmint submodule

This pull request adds support for AeroVironment's Varmint FCU package. It is being included as a submodule to keep this repo from getting cluttered with all of ST's drivers. It uses the work that was being developed in pull request #411.

This pull request does a few things:

Removes boards Airborne and Breezy, replacing them with Varmint.
Updates project to use CMake rather than Makefiles.
Adds a quality of service argument to serial_write. AeroVironment added QOS to the Varmint to improve consistency of serial communication, but to avoid adding MAVlink as a dependency to the Varmint board code, I moved declaring the QOS level to the core firmware.
Moved the main function from being part of the board implementation to the core firmware. Previously, a different main function was written for every board and was kept separate from the board's driver repository. To avoid needing a different main for every board and to minimize separation of board code with that board's repository, I made the the main function more general, with the only difference between each board being what board is being included and instantiated.


Limit orders

Related to #2171

To be fleshed out.
Some thoughts: the user needs to be online to execute the limit order.

Notes on limit orders:
A limit order executes at the specific price set by the trader or a better price if available in the orderbook, meaning, there are two scenarios:

If the limit order is not immediately executed, then the trader pays the maker's order matching fee, once a match is found
If there is already a better price in the orderbook, then the limit order executes at the best price and the trader pays the taker's order matching fee

In some exchanges, it is common to have a post only limit order:
Post-only limit orders are orders where traders specify a limit price but only want their order to be added to the orderbook and not executed immediately. If the order would execute immediately, it's typically rejected.

depends on #2270


Add DeviceNDArray.view method to reinterpret data as a different type.

as titled

Tests are failing in CUDA simulator because the device array is a NumPy array and has no copy_to_host() method.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@953e8de). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #3259   +/-   ##
=========================================
  Coverage          ?   81.11%
=========================================
  Files             ?      388
  Lines             ?    76468
  Branches          ?     8595
=========================================
  Hits              ?    62025
  Misses            ?    13121
  Partials          ?     1322

Ready to merge


sync develop-0.5.0 change

What this PR does:

sync develop-0.5.0 change

Codecov Report

Merging #383 (ec4ed8e) into develop (908f042) will decrease coverage by 0.12%.
The diff coverage is 42.57%.

:exclamation: Current head ec4ed8e differs from pull request most recent head 291b5f8. Consider uploading reports for the commit 291b5f8 to get more accurate results

@@             Coverage Diff             @@
##           develop     #383      +/-   ##
===========================================
- Coverage    39.66%   39.53%   -0.13%
===========================================
  Files           52       54       +2
  Lines         3061     3468     +407
===========================================
+ Hits          1214     1371     +157
- Misses        1717     1936     +219
- Partials       130      161      +31

Impacted Files
Coverage Δ

pkg/client/dubbo/dubbo.go
19.46% <0.00%> (-0.68%)
:arrow_down:

pkg/filter/sentinel/ratelimit/mock.go
0.00% <0.00%> (ø)

pkg/server/cluster_manager.go
37.38% <0.00%> (-8.08%)
:arrow_down:

pkg/server/listener_manager.go
0.00% <0.00%> (ø)

pkg/server/pixiu_start.go
0.00% <0.00%> (ø)

pkg/adapter/xds/lds.go
17.70% <17.70%> (ø)

pkg/adapter/xds/plugin.go
22.22% <22.22%> (ø)

pkg/adapter/xds/cds.go
56.55% <56.55%> (ø)

pkg/adapter/xds/xds.go
58.42% <58.42%> (ø)

.../filter/sentinel/circuitbreaker/circuit_breaker.go
63.15% <63.15%> (ø)

... and 7 more

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 908f042...291b5f8. Read the comment docs.

@ztelur there are some conflict files.


Microbiology reporting in FHIR

Dear all,
In a first try to report some microbiology in FHIR, it seems that is not yet clear how to report it in a structured way. Based on the examples for Mips and Macsys it seems like there is a different approach to report a microbiology exam. During the next meeting we should discuss how to report a microbiology exam in FHIR.
Some aspects must be considered.
A sample can have multiple microbiology cultures

Aerobic
Anaerobic
Yeasts
Fungi

A culture can be negative or can consist out of 1 of more identified germs. Each germ has a specific SCT code.
It is also possible that on a germ a specific isolation test is reported, which has a specific LOINC code. E.g. ESBL, Beta-Lactamase,…
When a culture is positive, it is possible to perform an antibiogram. There are specific LOINC codes for an antibiogram

Aerobic antibiogram
Anaerobic antibiogram
Yeasts antibiogram
Fungi antibiogram
…

An antibiogram can consist out of 1 of more antibiotics. And an antibiotic can have multiple LOINC codes. E.g.

16-6  ( https://loinc.org/16-6/  : Amoxicillin [Susceptibility] by Minimum inhibitory concentration (MIC) )
6976-5 (https://loinc.org/6976-5/ : Amoxicillin [Susceptibility] by Gradient strip)
17-4 ( https://loinc.org/17-4/ : Amoxicillin [Susceptibility] by Disk diffusion (KB) )
18861-5 ( https://loinc.org/18861-5/ : Amoxicillin [Susceptibility] / RIS )

On some levels (culture, germ, antibiotic) it is possible to report some comments.
If we put this into a scheme, it looks like this. We should agree if this is the way we want to report microbiology in FHIR syntax or that the is a different way of processing it.

Level 1
Level 2
Level 3
Level 4
Level 5
Level 6
FHIR

Sample

Specimen

Aerobic culture

Observation with LOINC code and possible note is there is   a general comment on culture level.   It might have child observations for each detected germ.

Germ 1

Observation with coding system SCT for the identified germ   and possible note for comment on germ level.   It might have child observation for each isolation test (e.g. ESBL /   Beta-lactamase)

Aerobic antibiogram

???

Antibiotic A

??? Subtitle ???

RIS value
Observation with specific LOJNC code and possible note for   comment

MIC value
Observation with specific LOJNC code and possible note for   comment

E-Test value
Observation with specific LOJNC code and possible note for   comment

Agar value
Observation with specific LOJNC code and possible note for   comment

Antibiotic B

??? Subtitle ???

RIS value
Observation with specific LOJNC code and possible note for   comment

MIC value
Observation with specific LOJNC code and possible note for   comment

E-test value
Observation with specific LOJNC code and possible note for   comment

Agar value
Observation with specific LOJNC code and possible note for   comment

Isolation test 1

Observation with a specific LOINC code.

Germ 2
No antibiogram

Observation with coding system SCT for the identified germ   and possible note for comment on germ level.   It might have child observation for each isolation test (e.g. ESBL /   Beta-lactamase) and child observations for the antibiotic results

Germ 3

Observation with coding system SCT for the identified germ   and possible note for comment on germ level.   It might have child observation for each isolation test (e.g. ESBL /   Beta-lactamase) and child observations for the antibiotic results

Aerobic antibiogram

???

Antibiotic A

??? Subtitle ???

RIS value
Observation with specific LOJNC code and possible note for   comment

MIC value
Observation with specific LOJNC code and possible note for   comment

E-test value
Observation with specific LOJNC code and possible note for   comment

Agar value
Observation with specific LOJNC code and possible note for   comment

Antibiotic C

??? Subtitle ???

RIS value
Observation with specific LOJNC code and possible note for   comment

MIC value
Observation with specific LOJNC code and possible note for   comment

E-test value
Observation with specific LOJNC code and possible note for   comment

Agar value
Observation with specific LOJNC code and possible note for   comment

Anaerobic culture

Observation with specific LOINC code and child   observations for each germ and no result

Germ 1

Observation with coding system SCT for the identified germ   and possible note for comment on germ level.   It might have child observation for each isolation test (e.g. ESBL /   Beta-lactamase) and child observations for the antibiotic results

Anaerobic antibiogram

???

Antibiotic A

??? Subtitle ???

RIS value
Observation with specific LOJNC code and possible note for   comment

MIC value
Observation with specific LOJNC code and possible note for   comment

E-test value
Observation with specific LOJNC code and possible note for   comment

Agar value
Observation with specific LOJNC code and possible note for   comment

Germ 2

Observation with coding system SCT for the identified   germ.

Yeasts culture
Negative, no germs deteced

Observation with specific LOINC code and a value.

Feel free to give some comments.

After some
internal discussions, it is not the logic of the FHIR translator to a
(sub)titles to make it more readable, this is the responsibility of the
visualizer how shows the information. We should send it in a structured way.
We believe
there is also no specific LOINC code an antibiogram. Soo the layout might be
simplified

Level 1
Level 2
Level 3
Level 4
FHIR

Sample

Specimen

Aerobic culture

Observation with LOINC code   It might have child observations for each detected germ.   In case there is no germ detected, the negative answer will be reported as   result of this observation.

Germ 1

Observation with coding system SCT for the identified germ   and possible note for external comment on germ level.   It might have child observation for each isolation test (e.g. ESBL /   Beta-lactamase) and a child note to the antibiogram

RIS value Antibiotic A
Observation with specific LOJNC code and possible note for   external comment

MIC value Antibiotic A
Observation with specific LOJNC code and possible note for   external comment

E-Test value Antibiotic A
Observation with specific LOJNC code and possible note for   external comment

Agar value Antibiotic A
Observation with specific LOJNC code and possible note for   external comment

RIS value Antibiotic B
Observation with specific LOJNC code and possible note for   external comment

MIC value Antibiotic B
Observation with specific LOJNC code and possible note for   external comment

E-test value Antibiotic B
Observation with specific LOJNC code and possible note for   external comment

Agar value Antibiotic B
Observation with specific LOJNC code and possible note for   external comment

Isolation test 1
Observation with a specific LOINC code.

Germ 2
No antbiogram
Observation with coding system SCT for the identified germ   and possible note for external comment on germ level.   It might have child observation for each isolation test (e.g. ESBL /   Beta-lactamase) and a child note to the antibiogram

Germ 3

Observation with coding system SCT for the identified germ   and possible note for external comment on germ level.   It might have child observation for each isolation test (e.g. ESBL /   Beta-lactamase) and a child note to the antibiogram

RIS value Antibiotic A
Observation with specific LOJNC code and possible note for   external comment

MIC value Antibiotic A
Observation with specific LOJNC code and possible note for   external comment

E-test value Antibiotic A
Observation with specific LOJNC code and possible note for   external comment

Agar value Antibiotic A
Observation with specific LOJNC code and possible note for   external comment

RIS value Antibiotic C
Observation with specific LOJNC code and possible note for   external comment

MIC value Antibiotic C
Observation with specific LOJNC code and possible note for   external comment

E-test value Antibiotic C
Observation with specific LOJNC code and possible note for   external comment

Agar value Antibiotic C
Observation with specific LOJNC code and possible note for   external comment

Anaerobic culture

Observation with specific LOINC code and child   observations for each germ and no result

Germ 1

Observation with coding system SCT for the identified germ   and possible note for external comment on germ level.   It might have child observation for each isolation test (e.g. ESBL /   Beta-lactamase) and a child note to the antibiogram

RIS value antibiotic A
Observation with specific LOJNC code and possible note for   external comment

MIC value Antibiotic A
Observation with specific LOJNC code and possible note for   external comment

E-test value Antibiotic A
Observation with specific LOJNC code and possible note for   external comment

Agar value Antibiotic A
Observation with specific LOJNC code and possible note for   external comment

Germ 2

Observation with coding system SCT for the identified   germ.

Yeasts culture
Negative, no germs detected

Observation with specific LOINC code and a value.

@costateixeira What do other countries do for Microbiology?
Proposal of the group: Do the microbiologists agree with the second proposal above?
Is the SNOMED-CT code for germs optional? Is text only sufficient?
SIR in interpretation or in value?

The WG decides that if the string value of the result field contains a newline character, the contents should be rendered in a non-proportional font. This will be added to the guidance.

We will use the CodeableConcept to indicate RIS. For the RIS specific LOINC code we put it in both the value and the interpretation.

Hi @bdc-ehealth,
We put our coded values in the value field:
<valueCodeableConcept>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"/>

<display value="S"/>
</coding>
<text value="S"/>
</valueCodeableConcept>

Are you saying you also want us to interpret S as being S? As follows:
<valueCodeableConcept>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"/>

<display value="S"/>
</coding>
<text value="S"/>
</valueCodeableConcept>
<interpretation>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"/>

<display value="S"/>
</coding>
</interpretation>

We currently don't support custom codings for the interpretation field. Only general ones like low, high, ... In our system, R, I and S go into the value field. Is this incorrect?

@FrederikVds ,
if you use a codeableconcept in the value, this is fine. If you use a string in the value, then there is an issue that the interpretation should use the codeableconcept: https://github.com/hl7-be/lab/issues/105#issuecomment-1068163733


Update init.py

I was having issues getting SSL to verify on a certain domain on Ubuntu 14.04.2 LTS, this adds a method to disable SSL verification across the session.
Example of new method:
scraper = cfscrape.create_scraper()
cfscrape.disable_ssl(scraper)
Error message I was getting:
Traceback (most recent call last):
File "cfscape.py", line 7, in
print scraper.get(sys.argv[1]).content
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 467, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 455, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 558, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/cfscrape/init.py", line 22, in send
resp = super(CloudflareAdapter, self).send(request, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 385, in send
raise SSLError(e)
requests.exceptions.SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Don't think there is any need for this. Its not secure to disable ssl verify. Best to upgrade you python and associated libraries.

I don't think this is necessary. You can either specify verify=False for individual requests, or just do
scraper = cfscrape.create_scraper()
scraper.verify = False

No worries! I just figured people might want an easy way to do it, but yeah you're right, thats all you need to do.


Please improve this vague crit message

Is your feature request related to a problem? Please describe the problem.
When I try to generate C# code for the latest version of BaSyx, I get a really vague error that doesn't give me any pointers on how to solve it:
Critical: KiotaBuilder error generating the client: One or more errors occurred. (the type does not contain any information)
I don't know whether the generation fails because of Kiota or because of a mistake in the OpenAPI spec, but the error doesn't tell me anything about what could be the issue. Can the message be improved to provide more useful information? Like:

Which 'type' does not contain any information?
What information should there be?

This is the command I ran to generate my code:
kiota generate -l CSharp -o ./Generated -n Beenen.MS.BaSyx -d http://localhost:8081/v3/api-docs -c EnvironmentClient --exclude-backward-compatible --log-level Trace

Here's a copy of the OpenAPI spec I'm pointing to: https://pastebin.com/H6hmFav5
Here's an older version of that openapi spec. It threw some warnings, but it did work: https://pastebin.com/juY49NP0
And here's my Kiota trace log: https://pastebin.com/yazepfsn
Client library/SDK language
None
Describe the solution you'd like
When Kiota fails with a critical error, I would like the error to give me some information that can help me solve the issue.
Additional context
No response

Hi @arteeh
Thank you for using kiota and for reaching out.
This error is thrown here
And yes it could be improved by including the operation path and kind, as well as maybe the schema reference Id when it's available.
Is this something you'd like to submit a pull request for provided some guidance?

I don't have time to work on a PR, sorry.

authored #5137 as a small improvement


Patch frontend UI for grading pages

Pull Request
Description
Separate submission of code into two steps: 1) upload file (retrieves file content) and 2) submit (button to submit file content).
Moves questions select buttons group below assignment details.
Related Issue(s)
Closes #86
Screenshots (if applicable)

Checklist

[ ] I have checked that the changes included in the PR are intended to merge to master or any destination branch.
[ ] I have verified that the new changes do not break any existing functionalities, unless the new changes are intended and have approved by the team.
[ ] I will take care of the merging and delete the side-branch after the PR is merged.

Additional Notes/References
How to redirect to submission (with feedback) optionally (if users want to)?

How to redirect to submission (with feedback) optionally (if users want to)?

To answer this, my thought is that we don't redirect them to the detailed submission page, but we redirect them to the view all submissions page?

How to redirect to submission (with feedback) optionally (if users want to)?

To answer this, my thought is that we don't redirect them to the detailed submission page, but we redirect them to the view all submissions page?

i was thinking of not always redirecting but only when the user wants to be redirected (e.g. after submitting, the submit button changes to a view button, which will redirect the user if clicked... not sure how to make this work though)

Oh this is a better idea! To let it work, for each question we need a state variable isSubmitted, so when the feedbacks are successfully generated, we can show another "View" button besides the submit. Then when submitting, you can consider showing some loading effect as you wish, can use "Spinner" in nextui if you consider that.


aegir 9.2.0 is failing in a weird way

When running ipfs-bitswap tests with aegir 9.2.0:

npm run test ✔
npm run release 𝙓

?
It is a very strange behaviour. aegir 9.1.2 is 👌🏽

Your description is a little vague, could you list the exact errors, problems you are having?

Hours of debugging later

<EMAIL_ADDRESS>breaks some tests, including bitswap tests on js-ipfs
git bisect tells me the source of this is in https://github.com/dignifiedquire/aegir/commit/1d82ce71b6a244b0e74f131fe48888481fa9c2d6
Commenting out some code leads me to this line: https://github.com/dignifiedquire/aegir/blob/master/tasks/docs/publish.js#L4 which is just a require('gh-pages') call
Down the rabbit hole we go, commenting out requires in gh-pages/lib/index.js, leads me to this line: https://github.com/tschaub/gh-pages/blob/master/lib/index.js#L8
Looking at gh-pages/lib/git.js leads me to this line https://github.com/tschaub/gh-pages/blob/master/lib/git.js#L6 which requires q-io/fs
The source code of q-io/fs looks harmless, but I track the error down to this require: https://github.com/kriskowal/q-io/blob/v1/fs-mock.js#L7
I land on the repo for collections: https://github.com/montagejs/collections/blob/master/set.js
Turns out collections is modifying globals, including messing with the Array prototype. And that immediately on require 😢
Issues is known but not fixed, or doesn't seem to be planned to be fixed: https://github.com/montagejs/collections/issues/162

Opened https://github.com/kriskowal/q-io/issues/160 so that this module hopefully won't be used in the future anymore. In the meantime I will look into either PRing a change to gh-pages or alternative modules.


Fix test errors with _GLIBCXX_DEBUG defined

Fixes part of #5544.
The is_heap change is due to greater_equal not satisfying https://en.cppreference.com/w/cpp/named_req/Compare. With _GLIBCXX_DEBUG libstdc++ actually gives a surprisingly helpful error message:
 57: In function:
 57:     _RAIter std::is_heap_until(_RAIter, _RAIter, _Compare) [with _RAIter =
 57:     __gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<int*,
 57:     std::__cxx1998::vector<int, std::allocator<int> > >,
 57:     std::__debug::vector<int>, std::random_access_iterator_tag>; _Compare =
 57:     std::greater_equal<int>]
 57:
 57: Error: comparison doesn't meet irreflexive requirements, assert(!(a < a)).
 57:
 57: Objects involved in the operation:
 57:     instance "functor" @ 0x0x2b53cad26267 {
 57:       type = std::greater_equal<int>;
 57:     }
 57:     iterator::value_type "ordered type" {
 57:       type = int;
 57:     }

The change to is_contiguous_iterator is because vector iterators are different with _GLIBCXX_DEBUG (the pointers are wrapped).
The last change to incplace_merge tests is due to confused use of variables. With _GLIBCXX_DEBUG libstdc++ reported use of moved-from iterators.
There are still a few tests that fail with _GLIBCXX_DEBUG, so I'm not enabling it in CI. If anyone feels like looking into them they're at least uninitialized_copyn and uninitialized_move. They both segfault.

Force-push only fixed formatting.
bors merge


Add support for User Selection of available games

Fixed with PR #134. Just waiting on an approval to merge with main branch :D
Edit: sorry I forgot to explain myself lol. I forked the project and modified it to allow for user selection of available games instead of just automatically extracting saves of all games on the system.
Also, I would like to coordinate with the devs of this project about possibly assisting with reverse engineering to possibly re-compile previously extracted saves and put them back into the saves folder; for example, if you wanted to transfer a save from one xbox account to another xbox account.

Hey~Jacqueb-1337:
I really also want to transfer a save from one xbox account to another xbox account.
Have any good news ? or how can I help to do this?


[Azure Cognitive Search] Create 2019-05-06-Preview Track 2 spec

This PR re-organizes the source tree for Azure Cognitive Search Swagger specs, putting Track 2 specs in a top-level Azure.Search directory under data-plane. It also adds new specs for API version 2019-05-06-Preview and merges the directories and Readme.md files for SearchServiceClient and SearchIndexClient.
From now on, all Track 2 SDKs should use the new specs for 2019-05-06-Preview (and later versions, as they're introduced).
FYI @tg-msft @alzimmermsft @bryevdv @xirzec @sima-zhu
FYI @jhendrixMSFT for review. I've verified that changes to Track 1 directory structure and Readmes has no effect on codegen output. The Track 2 specs have never been used for SDKs that have shipped, so there are no backcompat concerns.
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[X] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

I recommend reviewing commit-by-commit.

/azp run automation - sdk

/azp run automation - sdk

I'm not sure why validation is failing with MISSING_REQUIRED_PARAMETER now that we've replaced searchServiceName and searchServiceDnsSuffix with endpoint. Perhaps a bug in the validator (it wouldn't be the first time)?
Also, please ignore the validation errors in the Track 1 specs as the SDK based on them is being deprecated.

@brjohnstmsft the linter is complaining about the mismatched titles.  You'll need to add a title section to your readme.md that contains the name you want (see example).

@jhendrixMSFT Regarding titles, I'm not sure how to fix this. We have two Swagger specs (searchservice.json and searchindex.json), each of which is supposed to generate a different client (SearchServiceClient and SearchIndexClient, respectively), but they share a single readme.md file. Do I need to have separate readme.md files? Or can I have two titles in the same file...?

@brjohnstmsft the way this is authored is typically referred to as a composite package, i.e. there are multiple swaggers (each potentially with their own API version) that are generated as part of the same package.
The names of generated client(s) come from the name to the left of the _ in an operation ID (typically referred to as the operation group) and have nothing to do with the names of the swagger.
I believe the title is exposed to code generators as a singular item, likely used in the generation of code comments, so it should be descriptive of the package as a whole.  In the case of composite packages, if the title values don't match across all swaggers then simply specify one in your readme.md file that's descriptive of the entire composition.

/azp run automation - sdk

@jhendrixMSFT I'm not sure a composite package is necessary here. In the past, we had a single Readme.md file and invoked AutoRest separately for each of the two clients. I'm going to try adding a single title and see how the linter reacts. Failing that, I'll try the composite package thing.
FYI @tg-msft @bryevdv @sima-zhu @alzimmermsft @xirzec In case you have opinions on how this should work. My intention is that you will own Readme.md going forward (or at least, the language-specific directives within it).

@jhendrixMSFT It looks like my change placated the linter (at least the part that was complaining about the title). Now there are many errors parsing the parameterized host template, probably due to the OData syntax again, as with the model validator.

@brjohnstmsft you can still use one readme.md file even if you don't want to group the two swaggers into the same output; just define separate tags with input-file for the two swaggers.
### Tag: package-2019-05-searchindex-preview

These settings apply only when `--tag=package-2019-05-preview` is specified on the command line.

yaml $(tag) == 'package-2019-05-searchindex-preview'
input-file:
- preview/2019-05-06-preview/searchindex.json

### Tag: package-2019-05-searchservice-preview

These settings apply only when `--tag=package-2019-05-preview` is specified on the command line.

yaml $(tag) == 'package-2019-05-searchservice-preview'
input-file:
- preview/2019-05-06-preview/searchservice.json

/azp run automation - sdk

@jhendrixMSFT Done.
Is anything else blocking the merging of this PR from your perspective (ignoring the known issues with the linter and model validator)?

@brjohnstmsft it looks good but somebody with admin permissions will need to merge it if we can't get the model validation working.

@jhendrixMSFT Do you know who that would be?

I copied over the searchIndex.json and searchservice.json into local and regenerate the code.
No breaking changes.

One thing mentioned in meeting.
Change @HeaderParam("client-request-id") to x-ms-client-request-id

@sima-zhu I pushed that commit today.

/azp run automation - sdk

FYI @arv100kri regarding the new skillsetCount property in my latest commit.

/azp run automation - sdk

DataSourcesImpl.java
It should use this.client.getEndpoint instead of this.getEndpoint in service method.

DocumentsImpl
The constructor miss the serializer parameter.


Cannot load two same GLTF models in component

I cannot load two model at the same component or use at least two times component with some model loaded. I see only the model at the last component.

I have cloned scene and animations and everything works fine


IOS11 large header feature

I was wondering if you are planning to update the header to be able to use tge IOS 11 large header as well.

@udarts Can you try span with Header for this?
Here it is https://docs.nativebase.io/Components.html#header-span-headref

@udarts can we close this issue.

Tried it, but that seems to only moving the title lower and doesn't have the animated (from large to small title). Or is that something that needs to be created manually?

@udarts native-base Header currently does not have animations of its own.


fix crash on Textual 80.0

Trogon was crashing when paired with Textual 0.80.0. With the following excepetion...

This change appears to fix it, but as I'm not familiar with this project, I'd appreciate another pair of eyes!
@daneah @darrenburns

Superseded by https://github.com/Textualize/trogon/pull/90


Next steps after terraform apply

Question
I think I'm missing a step. I cloned the repo, set the vars, ran terraform init, terraform plan and then terraform apply.
I got Apply complete! Resources: 41 added, 0 changed, 0 destroyed..
Then, I ran the root_token_decrypt_command and got the token. Set VAULT_ADDR, VAULT_TOKEN & VAULT_CAPATH as pert he README.md.
Assuming this is all correct, I should be able to interact with vault. Except I get...
Error enabling: Post "https://<IP>/v1/sys/mounts/secret": dial tcp <IP>:443: connect: connection refused
Upon digging a little further, the load balancer is reporting that the health check is failing for all 3 instances.
Considerations
Is there a step I'm missing? Any pointers on what I can look into next?

this is happening for me too:
the load balancer is reporting that the health check is failing for all 3 instances.
@sethvargo looks like something happened where this terraform config no longer works out of the box - needs an update, this issue is reproducible

Error enabling: Post "https://<IP>/v1/sys/mounts/secret": EOF```

I actually get this error rather than a connection refused error

all the pods are healthy upon Kubernetes inspection, it is just a failure of the health check (and also a failure of accessing the UI through port 8200)

logs for vault-0 vault-init:
2021/08/10 23:13:17 Starting the vault-init service...
2021/08/10 23:13:17 Head http://<IP_ADDRESS>:8200/v1/sys/health: dial tcp <IP_ADDRESS>:8200: connect: connection refused
2021/08/10 23:13:27 Vault is not initialized.
2021/08/10 23:13:27 Initializing...
2021/08/10 23:13:30 Encrypting unseal keys and the root token...
2021/08/10 23:13:30 Unseal keys written to gs://pachama-production-vault-storage/unseal-keys.json.enc
2021/08/10 23:13:30 Root token written to gs://pachama-production-vault-storage/root-token.enc
2021/08/10 23:13:30 Initialization complete.
2021/08/10 23:13:30 Next check in 10s
2021/08/10 23:13:40 Vault is initialized and unsealed.
2021/08/10 23:13:40 Next check in 10s
2021/08/10 23:13:51 Vault is initialized and unsealed.
2021/08/10 23:13:51 Next check in 10s
2021/08/10 23:14:01 Vault is initialized and unsealed.
2021/08/10 23:14:01 Next check in 10s
2021/08/10 23:14:11 Vault is initialized and unsealed.

logs for vault-0 vault
==> Vault server configuration:

      GCP KMS Crypto Key: vault-init
        GCP KMS Key Ring:  <censored>
         GCP KMS Project: <censored>
          GCP KMS Region:  <censored>
               Seal Type: gcpckms
             Api Address:  <censored>
                     Cgo: disabled
         Cluster Address: https://<IP_ADDRESS>:8201
              Listener 1: tcp (addr: "<IP_ADDRESS>:8200", cluster address: "<IP_ADDRESS>:8201", max_request_duration: "1m30s", max_request_size: "33554432", tls: "disabled")
              Listener 2: tcp (addr: "<IP_ADDRESS>:8200", cluster address: "<IP_ADDRESS>:8201", max_request_duration: "1m30s", max_request_size: "33554432", tls: "enabled")
               Log Level: warn
                   Mlock: supported: true, enabled: true
                 Storage: gcs (HA available)
                 Version: Vault v1.2.1

==> Vault server started! Log data will stream in below:

2021-08-10T23:13:24.383Z [WARN]  failed to unseal core: error="stored unseal keys are supported, but none were found"
2021-08-10T23:13:27.389Z [WARN]  core: stored keys supported on init, forcing shares/threshold to 1
2021-08-10T23:13:30.637Z [WARN]  core: attempted unseal with stored keys, but vault is already unsealed

logs for vault-0 vault-init:
2021/08/10 23:13:17 Starting the vault-init service...
2021/08/10 23:13:17 Head http://<IP_ADDRESS>:8200/v1/sys/health: dial tcp <IP_ADDRESS>:8200: connect: connection refused
2021/08/10 23:13:27 Vault is not initialized.
2021/08/10 23:13:27 Initializing...
2021/08/10 23:13:30 Encrypting unseal keys and the root token...
2021/08/10 23:13:30 Unseal keys written to gs://<censored>-vault-storage/unseal-keys.json.enc
2021/08/10 23:13:30 Root token written to gs://<censored>-vault-storage/root-token.enc
2021/08/10 23:13:30 Initialization complete.
2021/08/10 23:13:30 Next check in 10s
2021/08/10 23:13:40 Vault is initialized and unsealed.
2021/08/10 23:13:40 Next check in 10s
2021/08/10 23:13:51 Vault is initialized and unsealed.
2021/08/10 23:13:51 Next check in 10s
2021/08/10 23:14:01 Vault is initialized and unsealed.
2021/08/10 23:14:01 Next check in 10s
2021/08/10 23:14:11 Vault is initialized and unsealed.

logs for vault-0 vault
==> Vault server configuration:

      GCP KMS Crypto Key: vault-init
        GCP KMS Key Ring:  <censored>
         GCP KMS Project: <censored>
          GCP KMS Region:  <censored>
               Seal Type: gcpckms
             Api Address:  <censored>
                     Cgo: disabled
         Cluster Address: https://<IP_ADDRESS>:8201
              Listener 1: tcp (addr: "<IP_ADDRESS>:8200", cluster address: "<IP_ADDRESS>:8201", max_request_duration: "1m30s", max_request_size: "33554432", tls: "disabled")
              Listener 2: tcp (addr: "<IP_ADDRESS>:8200", cluster address: "<IP_ADDRESS>:8201", max_request_duration: "1m30s", max_request_size: "33554432", tls: "enabled")
               Log Level: warn
                   Mlock: supported: true, enabled: true
                 Storage: gcs (HA available)
                 Version: Vault v1.2.1

==> Vault server started! Log data will stream in below:

2021-08-10T23:13:24.383Z [WARN]  failed to unseal core: error="stored unseal keys are supported, but none were found"
2021-08-10T23:13:27.389Z [WARN]  core: stored keys supported on init, forcing shares/threshold to 1
2021-08-10T23:13:30.637Z [WARN]  core: attempted unseal with stored keys, but vault is already unsealed

this project is no longer supported ? @sethvargo

on further inspection:
I reverted this PR: https://github.com/sethvargo/vault-on-gke/pull/94
and then everything started working as normal.
cheers!

thank you @bchrobot !
using these values
variable "vault_container" {
  type        = string
  default     = "vault:1.8.1"
  description = "Name of the Vault container image to deploy. This can be specified like \"container:version\" or as a full container URL."
}

variable "vault_init_container" {
  type        = string
  default     = "sethvargo/vault-init:0.2.0"
  description = "Name of the Vault init container image to deploy. This can be specified like \"container:version\" or as a full container URL."
}

within variables.tf, the up-to-date code works as expected. Cheers 🥂