Error when deploying new Cockpit

Below:

the error
the full conversation with @g8cockpitbot

Screenshots (14) are available on demand...
Error Message
Error during deployement : ERROR: RUN:77896453 3
step:1
step:1 (INIT)

vdcfarm!main                                       ! install         OK
g8client!main                                      ! install         OK
sshkey!dns                                         ! install         OK
sshkey!main                                        ! install         OK

step:2
step:2 (INIT)

dns_client!main1                                   ! install         OK
blueprint!pilot                                    ! install         OK
dns_client!main3                                   ! install         OK
dns_client!main2                                   ! install         OK
vdc!default                                        ! install         OK

step:3
step:3 (INIT)

node!cockpitvm                                     ! install         OK

step:4
step:4 (INIT)

os!pilot                                           ! install         OK

step:5
step:5 (INIT)

cockpit!default                                    ! install         OK
app_docker!default                                 ! install         OK

step:6
step:6 (INIT)

node!cockpit                                       ! install         OK

step:7
step:7 (ERROR)

os!default                                         ! install         ERROR

ERROR
STEP:7, ACTION:install@action()
def install(self, service):
if 'sshkey' in service.producers:
sshkey = service.producers['sshkey'][0]
sshkey_priv = sshkey.hrd.get('key.priv')
sshkey_pub = sshkey.hrd.get('key.pub')
else:
raise j.exceptions.NotFound("No sshkey found. please consume an sshkey service")
print("authorize ssh key to machine")
cuisine = self.getExecutor(service).cuisine

cuisine.core.file_write('/root/.ssh/id_rsa', sshkey_priv, mode='0600')
cuisine.core.file_write('/root/.ssh/id_rsa.pub', sshkey_pub, mode='0600')
if cuisine.core.file_exists('/root/.ssh/authorized_keys'):
    cuisine.core.file_append('/root/.ssh/authorized_keys', sshkey_pub)
else:
    cuisine.core.file_write('/root/.ssh/authorized_keys', sshkey_pub)

self.dns(service=service)
self.caddy(service=service)
cuisine.apps.influxdb.start()
cuisine.apps.mongodb.start()
cuisine.apps.controller.start()
self.portal(service=service)
self.shellinaboxd(service=service)
self.grafana(service=service)
self.gid(service=service)
self.cockpit(service=service)
self.ays_repo(service=service)

cuisine.user.passwd("root", j.data.idgenerator.generateGUID())

action: run                  runid:<IP_ADDRESS>:2202:root      (OK)
RESULT:
True
((type:runtime.error)
Please /start again.
Conversation
g8cockpitbot, [28 Jun 2016 09:59]:
... Please /start again.
Yves KERWYN, [28 Jun 2016 10:10]:
/start
g8cockpitbot, [28 Jun 2016 10:10]:
Hello yveskerwyn !
Welcome to the G8 Cockpit deployer bot.
I'm here to help you create your very own G8 Cockpit.
I'm going to ask you a few questions during the process to know how you want your cockpit to be created.
Let's get to work.
QUESTION :
Please enter the name of organization you are deploying the cockpit for
Yves KERWYN, [28 Jun 2016 10:10]:
demoorg
g8cockpitbot, [28 Jun 2016 10:10]:
Please click on the following link and authorize us to verify you are part of the organization 'demoorg'
https://itsyou.online/v1/oauth/authorize?redirect_uri=https%3A%2F%2Fdeployer.barcelona.aydo.com%2Fcallback&scope=user%3Amemberof%3Ademoorg&state=yd2tizsmlnj1f1u9tw7f&response_type=code&client_id=G8cockpit
QUESTION :
Please enter the url of the G8 where to deploy your cockpit.
Yves KERWYN, [28 Jun 2016 10:11]:
be-scale-1.demo.greenitglobe.com
g8cockpitbot, [28 Jun 2016 10:11]:
QUESTION :
Please enter the login of your account on the G8 where to deploy the cockpit
Yves KERWYN, [28 Jun 2016 10:11]:
yves
g8cockpitbot, [28 Jun 2016 10:11]:
QUESTION :
Please enter the password of your account on the G8 where to deploy cockpit
Yves KERWYN, [28 Jun 2016 10:11]:

g8cockpitbot, [28 Jun 2016 10:11]:
QUESTION :
Choose which account to use
Yves KERWYN, [28 Jun 2016 10:11]:
Account of Yves
g8cockpitbot, [28 Jun 2016 10:11]:
QUESTION :
"AtYourService Robot creation
"Please connect to telegram and talk to @botfather.
"execute the command /newbot and choose a name and username for your bot
"@botfather should give you a token, paste it here please :
Yves KERWYN, [28 Jun 2016 10:13]:
220858953:AAGq0S_NrEdpcMwmM_zkBqSXdp_A8be_8Ew
g8cockpitbot, [28 Jun 2016 10:13]:
QUESTION :
Please select the name of the virtual data center where to deploy the G8 Cockpit
Yves KERWYN, [28 Jun 2016 10:13]:
default
g8cockpitbot, [28 Jun 2016 10:13]:
QUESTION :
Please choose the domain you want to use for your cockpit
Yves KERWYN, [28 Jun 2016 10:13]:
demoorg
g8cockpitbot, [28 Jun 2016 10:13]:
QUESTION :
Please enter the url of the github repository where to store the ays repo of your cockpit. Please use the git version. The repo need to exists.
Yves KERWYN, [28 Jun 2016 10:13]:
https://github.com/yveskerwyn/cockpit_gig_demoorg
g8cockpitbot, [28 Jun 2016 10:13]:
Deployement of you cockpit in progress, please be patient.
You can follow progress using the /status command

duplicate


chore(README): add a todo item in Readme

PR Type
documentation

Description

Update the README file with a new TODO item and an additional task to add PR Agent.

Changes walkthrough 📝
Relevant filesDocumentation

README.mdDocumentation update in README

README.md

Add a TODO item

Add PR Agent

+1/-0

💡 PR-Agent usage:
Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

PR Description updated to latest commit (https://github.com/JohnPion-Zhang/clash-fassabot/commit/89f92db23eccb38c32d8737495683889328428a5)

PR Reviewer Guide 🔍

⏱ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
⚡ Key issues to review
Code SmellThe new TODO item "Add PR Agent" is not well defined and lacks a description of what it entails, making it hard to understand the scope of work required.

Preparing PR labels...

PR Description updated to latest commit (https://github.com/JohnPion-Zhang/clash-fassabot/commit/89f92db23eccb38c32d8737495683889328428a5)

/help

PR Reviewer Guide 🔍

⏱ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
⚡ Key issues to review
Possible ImprovementThe PR Agent has been added to the TODO list in README.md, but it is missing a description of what it does and how to use it.

Persistent review updated to latest commit https://github.com/JohnPion-Zhang/clash-fassabot/commit/89f92db23eccb38c32d8737495683889328428a5

Persistent review updated to latest commit https://github.com/JohnPion-Zhang/clash-fassabot/commit/89f92db23eccb38c32d8737495683889328428a5

Persistent review updated to latest commit https://github.com/JohnPion-Zhang/clash-fassabot/commit/89f92db23eccb38c32d8737495683889328428a5


Release/v3.0.1

Todo: run bin/publish "3.0.1" after merging

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


⚠ Bofrost.es has degraded performance

In 1285b42, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1317 ms

Resolved: Bofrost.es performance has improved in 2405c18 after 6 minutes.


Feature request: download information when video pauses like in xbmctorrent

it would be realy good to have a download information (download speed, torrent seeds,peers, download %) when the video is paused.
someone allready ask for it, it seems that it forgotten.

+1, it would be a really nice feature

As mentioned in https://github.com/steeve/plugin.video.pulsar/issues/26, i'd also like this feature. Or is there any workaround to do something similar?


CfgMgmt assignment: add Ansible mgmt host

Students running Windows run into problems (see #8) because they can't run Ansible on Windows. A solution may be to modify the assignment so they build a "management host" to run Ansible.

Fixed in ebd15f4


Update to pyfido 0.1.4

Description:
Update to pyfido 0.1.4 to get other_talk data fixed
If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

💃


Macro node syntax - node dependency without explicitly specifying output channel

My problem (a minor one, but still annoying from the perspective of a user)
Consider the vasp job that I'm running here:
import os
import shutil
import subprocess
from pyiron_workflow import Workflow
from ase.build import bulk
from pymatgen.io.ase import AseAtomsAdaptor
from pyiron_atomistics.vasp.output import parse_vasp_output as pvo
from pymatgen.io.vasp.outputs import Vasprun

def is_line_in_file(filepath, line, exact_match=True):
    try:
        with open(filepath, "r") as file:
            for file_line in file:
                if exact_match and line == file_line.strip():
                    return True
                elif not exact_match and line in file_line:
                    return True
    except FileNotFoundError:
        print(f"File '{filepath}' not found.")
    return False

@Workflow.wrap.as_function_node("output_dict")
def parse_VaspOutput(workdir: str, output) -> dict:
    print(f"workdir of parse: {workdir}")
    return pvo(workdir)

def write_POTCAR(workdir, potcar_paths=None, structure=None, filename="POTCAR", pseudo_set="PBE.54"):
    class PotcarNotGeneratedError(Exception):
        pass

    if potcar_paths is None:
        if structure is None:
            raise PotcarNotGeneratedError("You must specify a structure if you are using default generation!")
        potcar_paths = get_default_POTCAR_paths(structure, pseudo_set=pseudo_set)

    potcar_path = os.path.join(workdir, filename)

    with open(potcar_path, 'wb') as wfd:
        for f in potcar_paths:
            with open(f, 'rb') as fd:
                shutil.copyfileobj(fd, wfd)

    return potcar_path

def write_KPOINTS(workdir, filename="KPOINTS"):
    kpoint_path = os.path.join(workdir, filename)
    with open(kpoint_path, 'w') as f:
        f.write("Automatic mesh\n0\nGamma\n1 1 1\n0 0 0\n")  # Example KPOINTS content
    return kpoint_path

def write_POSCAR(workdir, structure, filename="POSCAR"):
    poscar_path = os.path.join(workdir, filename)
    structure.to(fmt="poscar", filename=poscar_path)
    return poscar_path

def write_INCAR(workdir, incar, filename="INCAR"):
    incar_path = os.path.join(workdir, filename)
    incar.write_file(incar_path)
    return incar_path

@Workflow.wrap.as_function_node("workdir")
def write_VaspInputSet(workdir, structure, incar, potcar_paths=None, kpoints=None):
    _ = write_POSCAR(workdir=workdir, structure=structure)
    _ = write_INCAR(workdir=workdir, incar=incar)
    _ = write_POTCAR(workdir=workdir, structure=structure, potcar_paths=potcar_paths)
    if kpoints is not None:
        _ = write_KPOINTS(workdir=workdir)

    return workdir

class Storage:
    @staticmethod
    def _convert_to_dict(instance):
        attributes = vars(instance)
        result_dict = {key: value for key, value in attributes.items() if "_" not in key[0]}
        return result_dict

class ShellOutput(Storage):
    stdout: str
    stderr: str
    return_code: int

@Workflow.wrap.as_function_node("output")
def run_job(command: str, workdir="test", environment=None, arguments=None):
    if environment is None:
        environment = {}
    if arguments is None:
        arguments = []
    print(f"run_job is in {os.getcwd()}")
    environ = dict(os.environ)
    environ.update({k: str(v) for k, v in environment.items()})
    proc = subprocess.run(
        [command, *map(str, arguments)],
        capture_output=True,
        cwd=workdir,
        encoding="utf8",
        env=environ,
        shell=True,  # Temporary placeholder to simulate "srun vasp_std" with "cp jobdir ."
    )
    print(f"Running job in directory: {workdir}")
    output = ShellOutput()
    output.stdout = proc.stdout
    output.stderr = proc.stderr
    print(proc.stdout, proc.stderr)
    output.return_code = proc.returncode
    return output

@Workflow.wrap.as_function_node("convergence")
def check_convergence(workdir, vaspoutput, filename_vasprun="vasprun.xml", filename_vasplog="vasp.log", backup_vasplog="error.out"):
    converged = False
    line_converged = "reached required accuracy - stopping structural energy minimisation"

    try:
        vr = Vasprun(filename=os.path.join(workdir, filename_vasprun))
        converged = vr.converged
    except:
        try:
            converged = is_line_in_file(filepath=os.path.join(workdir, filename_vasplog), line=line_converged, exact_match=False)
        except:
            try:
                converged = is_line_in_file(filepath=os.path.join(workdir, backup_vasplog), line=line_converged, exact_match=False)
            except:
                pass

    return converged

@Workflow.wrap.as_macro_node("vasp_output", "convergence_status")
def vasp_job(self, workdir, structure, incar, potcar_paths=None):
    self.vaspwriter = write_VaspInputSet(workdir=workdir, structure=structure, incar=incar, potcar_paths=potcar_paths, kpoints=None)
    self.job = run_job(command="module load vasp; module load intel/19.1.0 impi/2019.6; unset I_MPI_HYDRA_BOOTSTRAP; unset I_MPI_PMI_LIBRARY; mpiexec -n 1 vasp_std", workdir=self.vaspwriter)
    self.vasp_output = parse_VaspOutput(workdir="test", output=self.job)#self.vaspwriter)
    self.convergence_status = check_convergence(workdir=self.vaspwriter, vaspoutput=self.vasp_output)
    return self.vasp_output, self.convergence_status
def get_default_POTCAR_paths(structure, pseudo_lib_path="/cmmc/u/hmai/vasp_potentials_54/", pseudo_set="PBE.54"):
    site_element_list = [site.species_string for site in structure]
    element_list = list(dict.fromkeys(site_element_list))  # Remove duplicates and preserve order
    potcar_paths = [os.path.join(pseudo_lib_path, element, "POTCAR") for element in element_list]
    return potcar_paths

# Define INCAR as an example (needs to be adapted to your specific use case)
from pymatgen.io.vasp.inputs import Incar
incar = Incar.from_dict({
    "ENCUT": 520,
    "EDIFF": 1e-4,
    "ISMEAR": 1,
    "SIGMA": 0.1,
})

bulk_Fe = bulk("Fe", cubic=True)
bulk_Fe = AseAtomsAdaptor().get_structure(bulk_Fe)

v_job = vasp_job(workdir="/cmmc/u/hmai/github_dev_pyiron/pyiron_vasp_nodes/test", structure=bulk_Fe, incar=incar)
var1, var2 = v_job.run()
print(v_job.outputs.to_value_dict())

Clearly, there is no dependency to specify from the output channels that (I feel) is necessary to specify here, between the individual nodes except for the fact that the node must be finished before the next can run. From example, there's no real reason for me to specify a dummy variable like workdir=self.vaspwriter, when all it is saying is that I want this node to run before this one in this macro node, for example, when I write the output, then call the shell node. These two are dependent, but there shouldn't be any output->input linking since the created files are the requirements for running the shell node. But the macro node doesn't pull in order of execution, without me doing this. Ideally, I'd like to be able to specify that a node has a dependency on a node overall, instead of the creation of a dummy output that is not strictly necessary for the workflow itself.
Any ways around this?

Yep, you bet! There is a formal separation between the flow of data and the flow of execution -- i.e. we actually have two graphs at all time. This is necessary (as far as I can tell) to facilitate acyclic data flow, but can also be leveraged in situations like this where you want control over the flow even if it is a DAG.
Just like data, execution runs with channels. By default, each node has .signals.input.run, .signals.input.accumulate_and_run, and .signal.output.ran. These allow us to trigger a run when any connection fires, after all connections have fired, and to fire downstream, respectively. There is also some syntactic sugar: >> connects ran to run, while << connects one or more rans to accumulate_and_run. I.e. a >> b >> c; b >> d makes a forked DAG where after a runs b then c and d (which could be in parallel if you were using executors). And d <<< (a, b, c) means a, b, and c can all run (potentially in parallel) to start, and then d will wait until they're all finished.
You haven't run into this because in the case of DAGs, pyiron_workflow uses the data flow to automatically construct these -- either at run-time for a Workflow or at instantiation time for a Macro. Try adding a cyclic data flow and you should get a CircularDependencyError that tells you the execution can't be automated (I should probably update this to also hint at how to set it manually!). The only real pain-point with this system is that if you explicitly define any element of the execution flow, your macro needs to define the entire execution flow (and starting nodes!). I.e. you can't mix and match the automated data DAG analysis with explicit definition.
So, concretely, you could re-write vasp_job without passing around workdir as:
@Workflow.wrap.as_macro_node("vasp_output", "convergence_status")
def vasp_job(self, workdir, structure, incar, potcar_paths=None):
    self.vaspwriter = write_VaspInputSet(workdir=workdir, structure=structure, incar=incar, potcar_paths=potcar_paths, kpoints=None)
    self.job = run_job(command="module load vasp; module load intel/19.1.0 impi/2019.6; unset I_MPI_HYDRA_BOOTSTRAP; unset I_MPI_PMI_LIBRARY; mpiexec -n 1 vasp_std")
    self.vasp_output = parse_VaspOutput(workdir="test", output=self.job)
    self.convergence_status = check_convergence(vaspoutput=self.vasp_output)

    self.vaspwriter >> self.job >> self.vasp_output >> self.convergence_status
    self.starting_nodes = [self.vaspwriter]

    return self.vasp_output, self.convergence_status

An alternative attack would be to re-frame your function nodes to convert the flow of information you have ("I'm running run_job therefore I've written the right files to workdir") into a flow of data. One attack would be to have run_job explicitly but optionally take paths for each of the four input files. If these paths are non-None, it first cps these files into workdir then proceeds. (On bash at least, if they're already there bash at least just doesn't copy and continues, which is fast.) Not only does this resolve your flow problem, as now your macro has (in this case redundant, but whatever) data to pass from write_VaspInputSet to run_job, but it also makes run_job more useful in other contexts. E.g. consider the case where you have some large structure with many species which you want to evaluate with multiple kpoint sets or something; imagine the structure/POTCAR are so big that the writing process is not trivially fast -- then writing these files once and cping them is going to save some time compared to to writing them from scratch each time. To be fair, VASP is so slow that this is a poor example and leveraging the run_vasp macro to re-write the files from scratch is unlikely to ever make a big relative cost increase. But the principle is sound, that being more explicit about the IO of the component nodes makes it easier to break them apart and use them in other macros later.


feat: get gRPC descriptor via server reflection

Breaking Change
The format of gRPC api name has been changed form service.method to /package.service/method.
For detail, see sample/grpc-sample.yaml.
Now we can set spec.grpc.serverReflection: true to enable getting descriptor form gRPC server which has registered as a reflection server.
related #160

By the way, you can remove or comment the following line if you want to depress the non-related CI errors.
https://github.com/LinuxSuRen/api-testing/blob/c582610566e763d1d69fa5a4a01a302165b90578/.github/workflows/build.yaml#L52


Add dodo

fixes #9
adds doit with lots of goodies

merged master... (just a merge commit). this is probably gtg if it passes, and if there is no issue with the premise of #9 in the first place....

yeah, getting watch working right is a PITA, but glad it's working alright. Sheepishly have not tested on windows, but have with the ipyradiant stuff.


DOC: improve wording of mathematical formulation

With the previous wording, the optimal solution in a case where all costs are positive would be to not choose any edges at all, and that's clearly not what we're interested in.

Good find.  The proposed change does not account for rectangular cost matrices though.

@pmla: I guess that's mostly covered by the paragraph that follows this one, but of course it's never ideal to have to read forward like that, so let's just spell it out completely (and regarding the find, I just picked it up from this blog post).

Thanks @fuglede, merged.
CI build failure was unrelated.


Flask Server Not Starting in Generate Component

I cloned the project and followed the setup steps for the Generate component, but the Flask server didn't start as expected. Below are the commands I used to start the flask server:
pip install virtualenv

virtualenv env
env/Scripts/activate

pip install -r requirements.txt

cd Generate

python generate.py

Unfortunately, the Flask server isn't running after executing the above command. I followed similar steps for the Validate Component and didn't encounter any issues.
Any help in setting up the project and running the Flask server would be highly appreciated!
Thanks in advance!

Well after executing the exact same commands as of yours in my system, the flask server is running without any issue.
You can check the screenshots attached:

I will suggest to re-install the requirements and re-execute the commands.
Preferable use Python version 11.
Hope you find it helpful!
And please update me regarding the same

Thanks a lot, @Mayukh-Mondal-Dev! The problem is resolved, and the Flask server is running successfully now. The issue was that, even though I had installed Python Version 3.11 and verified it in my terminal, the virtual environment Python version was defaulting back to my older version (3.9.7), creating the whole mess. Anyways, thank you so much for helping me debug my issue!


Fix RPM tests after #242

#242 changed up the location of the RPM building tests.  Unfortunately, I found
local errors with all of the rpmbuild tests, mostly related to additional files
that need to be moved.
Tested locally with bazel test //....

Whoops. My bad. I did the change on a mac, so I was skipping the tests.
And, of course, the tests don't run in CI., so it is hard to see.
We really need to figure out how to build rpmbuild for the linux test runs.

Or ensure that ends up in the CI images: https://github.com/bazelbuild/continuous-integration/issues/1039.  It would seem to be the easy way out, at least for ensuring that the common use cases for RPM packaging (Linux builds on Linux) work.

Are you able to merge this? Or must I?

Are you able to merge this? Or must I?

Just did. Was taking care of some other stuff.


Adding group doesn't allow for group creation options

Is your feature request related to a problem? Please describe.
In the dockviewComponent there is an expose addGroup function which only accepts position options, it uses an internal non-exposed createGroup function which DOES receive group options but the actual call doesn't call with any options (anywhere except when deserializing from JSON).
Describe the solution you'd like
addGroup should either accept a group with position options or a group options to send to the createGroup.

Could you put it on a branch clones from the main repo rather than a fork? Then I can link it up to this issue too.
Happy to add this in, perhaps it'll be better though to merge the two options into one object for the addGroup method. e.g.
addGroup(options?: AddGroupOptions & AddGroupOptions): DockviewGroupPanel

Perhaps even better just to extend the AddGroupOptions type since it's only used for this method anyway,
export type AddGroupOptions = (
    | AddGroupOptionsWithGroup
    | AddGroupOptionsWithPanel
    | AbsolutePosition
) &
    GroupOptions;

Hi @mathuo , for me to understand - you wanted me to clone this repo to my computer, create a branch, redo the changes, commit and push the branch straight into here, correct?
If so, I tried and received an error that I don't have permissions.
I'm not using github in my day-to-day so I don't completely understand how it works, feel free to correct me, but as far as I understand - creating a pull request from a fork into the original repo is fine and can also be linked the same way.
If you would like me to do something else I'd appreciate a bit of guidance or a link to a documentation on what to do. Thanks.

Ah - actually yeah could you create a PR from your branch intto git fetch origin 465-adding-group-doesnt-allow-for-group-creation-options rather than master, that'll make it easier

Sure, I changed the merge target in #466 , now it should be fine.


Allow mixing of futures/services in the same endpoint

There is a PR #169 that tries to address it.

This is a duplicate of #221.


Design form-data APIs in protocol methods

Farmbeats as an example has form-data APIs
https://github.com/Azure/azure-rest-api-specs/blob/a09d5d31b42228a9cbec47c266c89f1028a1c17f/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-09-01/purviewcatalog.json
    "/glossary/{glossaryGuid}/terms/import": {
      "post": {
        "tags": [
          "Glossary"
        ],
        "consumes": [
          "multipart/form-data"
        ],

https://swagger.io/docs/specification/2-0/file-upload/

This is under investigation at https://github.com/Azure/autorest.java/pull/1220

@vcolin7 are there any update to the work being done in azure-core to enable this?

I will pick up the work for this next Monday, I've been busy with a few other things, sorry!


fix for missing form-data lib

Is this just a matter of the current develop branch not playing well with the published npm package? I think that lib is required by origin-js only and maybe should not be installed in this app.

No longer a problem; see thread in Issue.


Add types to composables/use-filter-sidebar-visibility.js

Description

Add type checking to use-filter-sidebar-visibility.js. This module has zero untyped dependencies. Make sure to add it to tsconfig.json's include list.
Additional context

Part of an ongoing effort to add type checking to parts of the project that can be type checked.
Implementation

[ ] 🙋 I would be interested in implementing this feature.

Fixed in #1394


Hide stack trace on exit code 1

Overview
If vdk exits with exit code 1, it prints out the stack trace for the error. The problem with this is that we already logged the stack trace when we handled the exception, so we end up outputting the same thing twice. Hacking the code to always return 0 shortens the stack trace by half. There should be a nicer way to do it, however.
I'm not very clear on how this hook detects errors, so we should sync the task with @antoniivanov before starting.
https://github.com/vmware/versatile-data-kit/blob/main/projects/vdk-core/src/vdk/internal/cli_entry.py#L150
Additionally, we might want to hide the stack trace behind a flag, instead of disabling it entirely
Acceptance criteria

Stack trace not displayed on vdk exit 1
Option to display stack trace available using flag in config.ini

Just log this on the debug level if possible https://github.com/vmware/versatile-data-kit/blob/main/projects/vdk-core/src/vdk/internal/cli_entry.py#L156C1-L156C56 instead of calling log.exception().


fixing w3c validation issues

fixing the listed issues https://validator.w3.org/nu/?doc=https%3A%2F%2Flaunchany.github.io%2Fmvd-template%2Fdocs%2Fhome%2F

Looks good - thanks @aksakalli for the PR!


Website link broken?

https://www.chatarena.org/ doesn't seem to redirect to a site for this project

Hey, thanks so much for bringing this to our attention! We're going to get another website set up that looks like the other Farama websites in the near future


Building with gcc8

Hello! I'm trying to build libneo4j-client on Fedora 28. Running make clean check  after cloning the repo and going through ./autogen.sh as well as  ./configure.sh, I get the following error:
client_config.c:494:5: Fehler: »strncpy« angegebene Grenze 1024 ist genau die Größe des Ziels [-Werror=stringop-truncation]
     strncpy(username_buf, (config->username != NULL)? config->username : "",
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             sizeof(username_buf));

(Translated it should be something like: "strncpy" given limit 1024 is exactly the size of the target).
As far as I can see, these kind of warnings (which are turned into errors here) are added in gcc8 to check for possible bugs where strings aren't null-terminated because of strncpy.
There are 3 locations where gcc posts a warning:

client_config.c:494
client_config.c:496
print.c:52

If I understand it right, there might be a bug at client_config.c:494,496 whenever config->username or config->password has length greater then NEO4J_MAXUSERNAMELEN. If this is the case, then username_buf resp. password_buf is not null-terminated. If there is no need that the strings are null-terminated, one might consider memcpy instead.
I'm not sure about the occurrence in print.c.
A workaround is to wrap
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstringop-truncation"
    strncpy(username_buf, (config->username != NULL)? config->username : "",
            sizeof(username_buf));
    strncpy(password_buf, (config->password != NULL)? config->password : "",
            sizeof(password_buf));
#pragma GCC diagnostic pop

into client_config.c (and in a similar fashion into print.c). But the bug might still appear, if it is possible to get neo4j_config_t.username or neo4j_config_t.password to be greater then NEO4J_MAXUSERNAMELEN in length.

Thanks for reporting this, @aphorisme.
I've fixed these now in master. Fortunately, none of the potential cases of non-null-termination would have caused an issue, but it's good to fix them anyway.
Cheers,
Chris


[release-0.41] bug 1982143 -Change volume not supporting snapshot status error

This is a cherry-pick of #6282
Release note:

NONE

/retest

/test pull-kubevirt-e2e-k8s-1.18

/restest

/retest

/retest

/retest

/retest

/lgtm
/approve
@mhenriks feel free to make use of your approver status on storage related backporting PRs.

/override pull-kubevirt-e2e-k8s-1.18


PlacehoderAPI

I don't know if I am doing something wrong but I tried using one of the placeholders provided by PlaceholderAPI and it didn't work. The "Health" Part of it is messing up.
Config:
#############################################################
____        _             _   ____                      _
#/ | _ __ () __ _  ___ | || __ )  ___   __ _ _ __ | |#
#_ | ' | |/ _ |/ _ \| __|  _ \ / _ \ / _ | '__/ _` |#
) | |) | | (| | () | || |) | () | (| | | | (_| |#
#|/| .__/||_, |___/ _|/ ___/ _,||  _,|#
||      |__/
#############################################################
Wiki: https://github.com/yPedx/SpigotBoard/wiki

Report issues: https://github.com/yPedx/SpigotBoard/issues

title = title of scoreboard.
text = scoreboard lines.

Color codes are supported.

List of all compatible variables can be found on the wiki page.
Empty lines can be achieved by doing this: '' (as shown below)
Scoreboard:
title: '&3GIANTSON&bPVP'
text:
- '&bStats:'
- '  &7- &3Money: &b{Money}'
- '  &7- &3Kills: &b{Kills}'
- '  &7- &3Deaths: &b{Deaths}'
- '  &7- &3Health: &b%player_health%'
- '  &7- &3Rank: &b{Group}'
Settings:
timezone: America/New_York
time-format: 'HH:mm'
toggleCommand: 'scoreboardtoggle'
disabled-worlds:
- disabledworld
- disabledworld2
interval-seconds: 1
update-reminder: true
disable-stats: false

Just reload placeholdersapi plugin.

I'm very sorry for the late reply, but as there has been no more replies I'm closing this until further notice.


Clarify that network.protocol.version represents negotiated version

Fixes #686
Changes
Clarifies that network.protocol.version represents negotiated version
Merge requirement checklist

[x] CONTRIBUTING.md guidelines followed.
[x] Change log entry added, according to the guidelines in When to add a changelog entry.

If your PR does not need a change log, start the PR title with [chore]

[ ] schema-next.yaml updated with changes to existing conventions.

@antonfirsov could you please take a look?
Following up on your comment here https://github.com/open-telemetry/semantic-conventions/pull/801#discussion_r1522228909 - .NET client metrics override the note already and this change would not affect it.
I updated briefs in the tables though.

Looks ok to me. @antonfirsov is the client expert.

@antonfirsov friendly ping


I got confused about the transform code  of computing FID

https://github.com/YanzuoLu/CFLD/blob/9892b2fd88ec05327b6a825182388f7185daf454/models/metrics.py#L89
    def forward_inception(self, x):
        x = F.interpolate(x, size=(299, 299), mode='bilinear')
        x[:, 0] = x[:, 0] * (0.229 / 0.5) + (0.485 - 0.5) / 0.5
        x[:, 1] = x[:, 1] * (0.224 / 0.5) + (0.456 - 0.5) / 0.5
        x[:, 2] = x[:, 2] * (0.225 / 0.5) + (0.406 - 0.5) / 0.5
        out = self.inception_blocks(x)
        return out

According to the context, x is normalized to [0, 1]. How does this transform means? It seems like denormalization from standard normalization on ImageNet with std [0.229 , 0.224,  0.225] and mean [0.485, 0.456, 0.406] and normalization to [-1, 1] subsequently. I referred to the official implementation code of FID computing and found that the image is normalized to [0, 1] preliminarily, https://github.com/mseitzer/pytorch-fid/blob/b9c18118d082cbd263c1b8963fc4221dc1cbb659/src/pytorch_fid/fid_score.py#L146. Could you please explain it?

Inception expects images to be in range [-1,1].
I think the official impl also do normalization inside the forward pass.

Thanks for your  reply! I should have commented on the work of CFLD, which is quite similar with yours. It's my mistake. Really sorry!


SQL Lab result set page resizing issue

When you resize the page the height of the query box remains unchanged and the result set panel layers over the query box.
Expected results
Either the components need to resize or there should be a vertical page level scroll bar (preferred). Note for the second approach this would create two vertical scroll bars (the second would be for the query result set) which could be problematic.
Actual results
The result set panel flows over the query box element.
Screenshots

How to reproduce the bug

Go to SQL Lab and run a query.
Resize (vertically) the page.
Observe that the result set panel layers over the query panel.

Environment
(please complete the following information):

superset version: master
python version: 3.6.8
node.js version: v10.15.0
npm version: 6.4.1

Checklist
Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

to: @enricoberti @vylc @xtinec

this is fixed in master

@michellethomas I was able to reproduce this issue in master
cc @xtinec


Covered images still show overflow

Slides that are set to cover still show the images behind them that are set to fill the container, as shown in the below screenshot:

It works properly on the vegas website and my tests.
Your settings must be wrong somewhere.


Gssoc 24v wanna add my project via #971

Have you read the Contributing Guidelines ?
yes
(Write your answer here.)
Description
the project description is that if we upload the attendance sheet which include the time duration in the virtual class , students list with rolls, and the minimum threshold percentage of class duration attended. the sorted list of students will be displays. technologies used python libs like flask for backend, pandas for data analysis, etc
(Write your answer here.)
Fixes #971

Checklist

[. ] I've read the contribution guidelines.
[. ] I've checked the issue list before deciding what to submit.
[. ] I've edited the README.md and link to my code.

Related Issues or Pull Requests
please add Gssoc tags to the issue before merging the pull request
(Write your answer here.)

done the changes required can you please verify and merge the pull request

once check it sir just deployed the application

done


HADOOP_LIBEXEC_DIR env var

This PR adds the HADOOP_LIBEXEC_DIR env variable necessary to use the different hadoop cli utilities like hdfs
I created a test cluster and tried a few hdfs commands.

LGTM. Thank you for following-up on this.


Integrate dav1d ipred.asm (paeth, smooth, smooth_h, smooth_v)

Apply more asm patches from dav1d.
Call the paeth, smooth, smooth_h and smooth_v predictors if AVX2 is available.

This add everything except cfl for #675.


Method of accessing automation credentials depreciated January 2020

According to the official docs, the get-azureautomationconnection method was deprecated in January 2020, 8months before the tutorial was last amended.
Deprecation notice:
https://docs.microsoft.com/en-us/powershell/module/servicemanagement/azure.service/get-azureautomationconnection?view=azuresmps-4.0.0#description
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d4ea5e93-b220-57c1-b011-865b7da3c5a6
Version Independent ID: 179a79da-0e12-716e-725e-9db6b8f20282
Content: Deploy an Azure Resource Manager template in an Azure Automation PowerShell runbook
Content Source: articles/automation/automation-deploy-template-runbook.md
Service: automation
Sub-service: process-automation
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

Thanks for the feedback! I have assigned the issue to the doc author to update appropriately.

@tyeth - Thanks for bringing this to our attention. I've created a work item for the article and we will update it as part of next month's sprint.  #please-close

@tyeth - I've re-reviewed this issue this morning and realized the article does not make reference to the Start-AzureAutomationConnection cmdlet. Rather, it is using the build-in cmdlet - Get-AutomationConnection, which is an internal cmdlet for Automation runbooks running in Azure authenticating with the Run As credential.  I don't see any changes that need to be made to this article.
If I have misunderstood your point, please feel free to respond and clarify.  Thanks.

@MGoedtel Thanks Matt, I got confused by the similarly named Azure prefixed cmdlet, (the Az + Azure prefixed versions are the first / only related google results in MS Docs 🤦♂ ) apart from this similar issue you solved in January!
https://github.com/MicrosoftDocs/azure-docs/issues/45590

@tyeth - Awesome, glad we are on the same page (thumbs-up)!


Get Workspace by ID

Resolves #2529
What is being addressed

When a TRE admin creates a new workspace using auto_create, there is no AAD app to authenticate against, but we still need to return the workspace details for display in the UI. Now TRE Admins are allowed to fetch any workspace by ID, using a core token.
When a researcher user lands on a workspace page, they need to be able to fetch the workspace without knowing the scope_id. They couldn't do this as they weren't a TRE Admin and they didn't have a workspace token. Since the scope_id is consistently named, in the UI we can infer the value and authenticate the user against it to get a workspace token to allow them to then fetch the details.

/test-extended

/test-extended

/test-force-approve
have previously run and passed extended tests


shadow: Prototype/yaml SCED/SC2G HA partner interconnect - cloud to ground for profile 5 and 6

See private DNS work in #286 - as a result of transitive peering - add a 2nd interconnect set in non-prod in #289
Configure IaC in TF for partner interconnect overlay
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/pull/258
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/pull/259
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/pull/260
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/pull/261
shadow already prototyped cologix partner interconnect running in KCC LZ V2 https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/issues/298
Create Terraform version of Kubernetes Config Controller based work in 298

adjust TEF V3 backport https://github.com/terraform-google-modules/terraform-example-foundation/issues/940

TODO

Traffic Engineering across multiple interconnects through cloud router + BGP sessions - https://cloud.google.com/network-connectivity/docs/router/how-to/updating-priority
Investigate hub spoke Network Connectivity Center - as part of partner interconnect enabled transitive peering solution (Around the 25 limit)
#78
https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/blob/dev/solutions/landing-zone/architecture.md#di-05-complete-network-design
Need to spin up/verify an alternative to regular peering (due to the 25 limit/project) for the hub-spoke pattern - https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/overview over the normal https://cloud.google.com/architecture/deploy-hub-spoke-vpc-network-topology

R1:
Implement SCED/SC2G for GCP
R2:
Use MacSEC over IPSec
R3:
partner interconnect over direct connect
R4:
ASNs
Google: 16550
R5: Interconnect redundancy

https://cloud.google.com/network-connectivity/docs/interconnect/concepts/best-practices#use_activeactive_vlan_attachments
https://cloud.google.com/network-connectivity/docs/interconnect/how-to/partner/creating-vlan-attachments#gcloud

R6: VPC Global Dynamic Routing and traffic shaping

https://docs.equinix.com/en-us/Content/Interconnection/Fabric/connections/Fabric-connect-google.htm
https://cloud.google.com/network-connectivity/docs/interconnect/support/faq#ilb-backends
https://registry.terraform.io/providers/hashicorp/google/3.22.0/docs/resources/compute_interconnect_attachment

Phase 1: brute force minimal connection test
Phase 2: Architecture final review
Initial work item is to start an interconnect and get the SDN UID to tag traffic.  Testing out https://cloud.google.com/network-connectivity/docs/interconnect/concepts/partner-overview#provisioning
Links
Slide 19, 18 were used a lot in presentations at IRCC and ISED (from 2019 but still valid) - for profile 5/6
https://wiki.gccollab.ca/images/7/75/GC_Cloud_Connection_Patterns.pdf
review:  https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/tree/master/blueprints/networking/private-cloud-function-from-onprem
review https://cloud.google.com/network-connectivity/docs/interconnect/concepts/ha-vpn-interconnect
slide 65 in progress in
https://docs.google.com/presentation/d/13sjT2tJ4yLIYGRREE3wBrylB1OvcEMpKdquVuJB_nX4/edit?resourcekey=0-N3DruQaiutFvZ98HTT7-vQ#slide=id.g2223ba5ee2b_0_665
20230717

20230413

20230321

https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/tree/master/blueprints/networking/psc-hybrid
Organization Policies

subset of https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/tree/main/solutions/org-policies/organization
add org policy admin role
constraints/compute.disableGlobalSerialPortAccess
constraints/compute.vmExternalIpAccess

Architecture Notes

Multiple Shared VPCs per Host Project - sharing interconnect/VPN https://cloud.google.com/architecture/best-practices-vpc-design#connecting_multiple_networks

20230710: update for partner interconnect

clean org with minimal terraform LZ - use the TOC version from https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/issues/251#issuecomment-1629103711
add services project to host project

bgp route changes - some way to view/manage bgp routing on top of the discovered/static routes
in AWS one CSR logical instance via direct connect - multi regional router
A: look at NCC for transit gateway like behaviour
Equinix is the standby, cologix is the active - create 4 vlans 2 to each by key
adjust router logic to send traffic to cologix first.- check link
put test VM right into non-prod host
no peering between perimeter and host projects - waiting for NGFW?
switch hardcoded region to 1 in main.tf
LZ V1b - fix cap project name but lc project id
instructions fix: for non-CSR apply - switch to project owning VPC
finish network diagram subset

Update:
To switch billing accounts from the original 10% script run bootstrap - where the original terraform service account is created

add the TF SA to both billing Billing Account Administrator and IAM BAA on both the original and target BIDs
for example - switching back to the original BID from the target gets an error because although originally BAA was not required - it is now

Step #4 - "tf apply": │ Error: Error setting billing account "01BFA...3B" for project "projects/tzpe-....z-de": googleapi: Error 403: The caller does not have permission, forbidden

also replaced iam owner on tfsa

Finish naming conventions and parameterization
        modified:   environments/nonprod/main.tf
        modified:   environments/nonprod/nonp-interconnect.auto.tfvars
        modified:   modules/20-partner-interconnect/main.tf
        modified:   modules/20-partner-interconnect/variables.tf
        modified:   environments/nonprod/variables.tf

Add prod
root_@cloudshell:~/lz-tls/_lz2/pbmm-on-gcp-onboarding (lz-tls)$ git status
On branch main
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        new file:   environments/prod/prod-interconnect.auto.tfvars

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   environments/prod/main.tf
        modified:   environments/prod/variables.tf

Step #3 - "tf plan": Plan: 5 to add, 2 to change, 0 to destroy.

Step #4 - "tf apply": *************** TERRAFORM APPLY ******************
Step #4 - "tf apply": ******* At environment: environments/prod ***********
Step #4 - "tf apply": *************************************************
tep #4 - "tf apply": module.net-host-prj.module.network["tlzprod-svpc"].module.subnets["prsubnet02"].google_compute_subnetwork.subnetwork: Modifying... [id=projects/tzpe-tlz-tlzprod-host4/regions/northamerica-northeast1/subnetworks/tzpecnr-prsubnet02-host4-snet]
Step #4 - "tf apply": module.net-host-prj.module.network["tlzprod-svpc"].module.subnets["prsubnet02"].google_compute_subnetwork.subnetwork: Modifications complete after 1s [id=projects/tzpe-tlz-tlzprod-host4/regions/northamerica-northeast1/subnetworks/tzpecnr-prsubnet02-host4-snet]
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_router.router1: Creating...
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_router.router1: Still creating... [10s elapsed]
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_router.router1: Still creating... [20s elapsed]
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_router.router1: Creation complete after 21s [id=projects/tzpe-tlz-tlzprod-host4/regions/northamerica-northeast1/routers/interconnect-prod-router]
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_interconnect_attachment.on_prem1: Creating...
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_interconnect_attachment.on_prem2: Creating...
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_interconnect_attachment.on_prem4: Creating...
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_interconnect_attachment.on_prem3: Creating...
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_interconnect_attachment.on_prem1: Still creating... [10s elapsed]
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_interconnect_attachment.on_prem4: Still creating... [10s elapsed]
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_interconnect_attachment.on_prem2: Still creating... [10s elapsed]
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_interconnect_attachment.on_prem3: Still creating... [10s elapsed]
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_interconnect_attachment.on_prem4: Creation complete after 12s [id=projects/tzpe-tlz-tlzprod-host4/regions/northamerica-northeast1/interconnectAttachments/vlan-attach-equinix-4]
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_interconnect_attachment.on_prem2: Creation complete after 12s [id=projects/tzpe-tlz-tlzprod-host4/regions/northamerica-northeast1/interconnectAttachments/vlan-attach-cologix-2]
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_interconnect_attachment.on_prem1: Still creating... [20s elapsed]
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_interconnect_attachment.on_prem3: Still creating... [20s elapsed]
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_interconnect_attachment.on_prem1: Creation complete after 22s [id=projects/tzpe-tlz-tlzprod-host4/regions/northamerica-northeast1/interconnectAttachments/vlan-attach-cologix-1]
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_interconnect_attachment.on_prem3: Still creating... [30s elapsed]
Step #4 - "tf apply": module.partner-interconnect-primary.google_compute_interconnect_attachment.on_prem3: Creation complete after 32s [id=projects/tzpe-tlz-tlzprod-host4/regions/northamerica-northeast1/interconnectAttachments/vlan-attach-equinix-3]
Step #4 - "tf apply": ╷

Customer side requirements
Also, for DNS forwarding return - I thought I read that the <IP_ADDRESS>/19 range was implicitly advertised but hidden on all BGP routing - it turns out it is up to the customer to advertise this - by adding a custom route directly on the interconnect/vpn router beside the dynamic BGP routes - found this a bit odd but I can see optional case for those not wanting cloud to ground and only ground to cloud for SCED/SC2G

Key for cloud to ground private DNS forwarded queries - add the network-patterns https://docs.google.com/presentation/d/13sjT2tJ4yLIYGRREE3wBrylB1OvcEMpKdquVuJB_nX4/edit?resourcekey=0-N3DruQaiutFvZ98HTT7-vQ#slide=id.g1154b3b950f_2_3152 slide 27 referenced ingress proxy <IP_ADDRESS>/19 as a custom route on the interconnect router (in addition to dynamic subnet routes) - without this DNS queries from gcp to on-prem will not resolve.
specifically - https://cloud.google.com/dns/docs/policies#return-route
"For Cloud VPN tunnels that use dynamic routing or for Cloud Interconnect, configure a custom route advertisement for <IP_ADDRESS>/19 on the BGP session of the Cloud Router that manages the tunnel or VLAN attachment."
https://cloud.google.com/network-connectivity/docs/router/how-to/advertising-custom-ip
see also https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/issues/468
on top of the partner/direct interconnect add the following
firewall rule to open incoming DNS query traffic from the private cloud DNS forwarding zone ns <IP_ADDRESS>/19 - https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules
add <IP_ADDRESS>/19 to the ingress policy on prem
raise an issue with GCP on whether we can add a customer provided IP for return DNS traffic

20240406: Closing issue during retrofit/rebase of this TEF V1 based/modified repo to TEF V4 standards
This issue may participate in the LZ refactor after rebase
Query on all issues related to the older V1 version via the tag
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/labels/2024-pre-tef-v4


[New Model]: Renamed Model: Secondary Material Content

Description
SMC Model includes new secondary characteristic attributes.
Renamed from Material for Recycling.
Closes #261

MS2 Criteria
(to be filled out by PR reviewer)

[x] the model validates with the BAMM SDS SDK in the version specified in the Readme.md of this repository by the time of the MS2 check  (e.g., 'java -jar bamm-cli.jar -i <path-to-aspect-model> -v ). The  SAMM CLI is available here and in GitHub
[x] use Camel-Case (e.g., "MyModelElement" or "TimeDifferenceGmtId", when in doubt follow https://google.github.io/styleguide/javaguide.html#s5.3-camel-case)
[x] the identifiers for all model elements start with a capital letter except for properties
[x] the identifier for properties starts with a small letter
[x] all model elements at least contain the fields "preferred name" and "description" in English language. The description must be comprehensible. It is not required to write full sentences but style should be consistent over the whole model
[x] Property and the referenced Characteristic should not have the same name
[x] the versioning in the URN follows semantic versioning, where minor version bumps are backwards compatible and major version bumps are not backwards compatible.
[x] use abbreviations only when necessary and if these are sufficiently common
[x] avoid redundant prefixes in property names (consider adding properties to an enclosing Entity or even adapt the namespace of the model elements, e.g., instead of having two properties DismantlerId and DismantlerName use an Entity Dismantler with the properties name and id or use a URN like io.catenax.dismantler:0.0.1)
[x] fields preferredName and description are not the same
[x] preferredName should be human readable and follow normal orthography (e.g., no camel case but normal word separation)
[x] name of aspect is singular except if it only has one property which is a Collection, List or Set. In theses cases, the aspect name is plural.
[x] units are referenced from the BAMM unit catalog whenever possible
[x] use constraints to make known constraints from the use case explicit in the aspect model
[x] when relying on external standards, they are referenced through a "see" element
[x] all properties with an simple type have an example value
[x] metadata.json exists with status "release"
[x] generated json schema validates against example json payload
[x] file RELEASE_NOTES.md exists and contains entries for proposed model changes
[x] all contributors to this model are mentioned in copyright header of model file

MS3 Criteria
(to be filled out by semantic modeling team before merge to main-branch)

[ ] All required reviewers have approved this PR (see reviewers section)
[ ] The new aspect (version) will be implemented by at least one data provider
[ ] The new aspect (version) will be consumed by at least one data consumer
[ ] There exists valid test data
[ ] In case of a new (incompatible) major version to an existing version, a migration strategy has been developed
[ ] The model has at least version '1.0.0'
[ ] The release date in the Release Note is set to the date of the MS3 approval

@bs-jokri PR on behalf of Sabine Wichmann and Johannes Schramm

The checks for MS2 where done with the updated model provided with PR https://github.com/eclipse-tractusx/sldt-semantic-models/pull/291

@catroest @johannsvarela there are still open review comments, who will resolve them? Otherwise we cannot assign MS2

@bs-jokri eventually followed by a deprecation request of the old one

@bs-jokri eventually followed by a deprecation request of the old one

@catroest could you link the deprecation request here?

#395 old one will be deprecated


Updates to "What's new in Accessibility in .NET Framework"

Summary
Makes the necessary updates for what we added, especially for WinForms in .NET Framework 4.8.1 accessibility
Fixes #29985

@Tanya-Solyanik, @vladimir-krestov can you guys take a look if you have a chance?

Added some nits, looks good otherwise. In some of the readme's we were putting bug numbers either as comments not visible to the readers, or in parentheses. This was helpful when users were following up on the bullet points. Is it possible to do it here as well?

I actually don't see that in this doc. Perhaps it was the Compat docs that we did that in?


Dev branch CLI broken

Describe the bug
I cannot compile anything due to this error
Traceback (most recent call last):
  File "/home/erik/Documents/code/demo/boa/boa3/cli.py", line 26, in main
    Boa3.compile_and_save(args.input, args.debug)
  File "/home/erik/Documents/code/demo/boa/boa3/boa3.py", line 42, in compile_and_save
    elif not output_path.endswith('.nef'):
AttributeError: 'bool' object has no attribute 'endswith'

caused by
https://github.com/CityOfZion/neo3-boa/blob/751828a2982f3149338cd68cdc164c50993a1826/boa3/cli.py#L24
should say
 Boa3.compile_and_save(args.input, debug=args.debug)

Currently the second argument args.debug is forced into the output_path argument of this function and therefore blows up
https://github.com/CityOfZion/neo3-boa/blob/751828a2982f3149338cd68cdc164c50993a1826/boa3/boa3.py#L25
How to Reproduce
Try to compile any contract using the cli
Expected behavior
compilation works
Platform:

OS: ubuntu 20.04
Version: Running development branch commit 751828a2982f3149338cd68cdc164c50993a1826
Python version: 3.8.10

solved in 0b1ddbf72d66e75a78ca6e68cae48696eb1a0b4b


fix: rw1c_bit macro

Hi, I'm Nobuki.
I've been trying this crate to use it lately. In the process, I had one question.
rw1c_bit macro generate the method named as clear_* but the generated method will set the bit to true.
And another methods named as clear_* will set the bit to false.
Is that correct? If I'm wrong, I'm sorry for disturbing you and please close this pull-request.
Thank you!

Thank you for your PR, but the current implementation is correct. Clearing the RW1C bit needs to write 1 to the bit. Refer to table 5-3 of the xHCI specification for the detail.

@toku-sa-n
Than you for your answer and I'm sorry I took your time by my misunderstanding.
I misunderstood the meaning of "clear" as reverting to default.
I read the description of IP of Table 5-38 again and it properly said "RW1C". I had only looked at "Default = '0'" before.
I learned a lot. Thank you so much!


just test

@dito-paypay Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@dito-paypay Thank you for signing the Contributor License Agreement!


Can we have a F1 option to manually enable/disable the spell checker?

Can we have a F1 option to manually enable/disable the spell checker?
I mostly only use spell checker when I am writing the Readme.md. There is really no point to enable the spell checker when I am writing code.

I love that. And maybe an additional option to disable for x minutes. Right now I have this extension disabled because I get frustrated when it doesn't remember words I set it to ignore (mainly with compound words/with punctuation and, or hyphens (-).  I wish I could have it setup to where that keybinding/command turns off the spell checker for say 30m, then have it auto reenable. Otherwise I turn it off and write misspelled for a few days before I remember to town it back on.

Quick clarifying question is the status bar option not enough i.e. if you click on it the checker will be disabled.

I just installed it again, and YES, the status bar option is PERFECT!!! Thank you!!!!

Rock on @rozzzly is this enough for you - if so I will close.

Also if you do like this help me out and rate it in the marketplace.

@seanmcbreen awesome! I still want the timer thing, but that's not very difficult to add, I'll PR it myself when I have a little time.

Perfect for now I'll close this issue.


Set y-axis y-offset to be 0.

I couldn't find a reason why the berth was there. Set it to 0 because when the orientation is not 'left', there is no y translation being set.
@kaareal @olslash

+1 merge


Managed Network per Account/Project

Current support is a single managed network per Rancher instance.  We need to minimally support a managed network per account/project.

Still need to fix tests.


Add pre-release

I hope this will fix our clang compilation error with geogram

Is there a clang targer with travis yet ?

There is not but there is in progress here : https://github.com/ringmesh/RINGMesh/tree/travis-clang-support

What about the CLANG target for geogram ? Does it need to be manually set in RINGMesh ?

Yes, but it is automatic (cf https://github.com/ringmesh/RINGMesh/pull/16)


re-color tanlight halloween icons

../signs/death_wheel_whammy or something like that

and by death wheel whammy i mean these ones

okay I think I tried doing this before lmao, but these can't be pre-loaded. I'll leave my converted white spell icons in for custom servers I guess


Attempt to fix failing CI unzip task.

Fix the Failing CI Unzip Cat Folder Task

Waiting for Github Workflows to activate

Close and re-open to trigger Github Workflows


Same count should share rank

This would affect achievements and hints too...

prepare ranks once since they're static to page/article

fixed


Add ice transport api to get selected pair stats

In use cases like SFU, it is useful to get just the selected candidate pair stats to have access to current RTT on the peer connection. The standard has a way to do GetSelectedCandidatePair on ICETransport, but does not have a way to get stats of that pair.
Although not in standard, adding a method to ICETransport to get selected candidate pair along similar lines of above method.

Thank you @Sean-Der !!!


Study zone for 1st year

The first years aren't able to access their official email ids early in the college. So the study zone for them needs to be made accessible without login.

I would like to work on this

GitMate.io thinks a possibly related issue is https://github.com/monsij/StudentPortal/issues/53 (Improvised study zone).

Assigned @Tiyas-13

Solved : #91


Automatic pruning of non-portable plots

With official support for pools arriving shortly, most users will start creating portable plots that can be used to farm with pools.
It would be ideal to have a way to automatically prune non-portable plots. I can think of a bunch of different ways to handle this behavior. At the highest level it seems most logical for the general workflow to be as outlined below.
Workflow:

User specifies to create Portable Plots
User defines if they want to enable pruning a non-portable plot each time portable plot is successfully created
Now as new portable plots are created the old non-portables will in effect be replaced.

I'm looking forward to this feature being available in Plotman soon.

Any update on this? Would a feature where old non-portable plots can be automatically replotted be feasible in machinaris?

Closing as stale at this point.

Re-opening to implement this in Machinaris itself, rather than down in Plotman.  Current settings on the Farming page in the development stream.

Machinaris will just delete a few old plots per plot directory until adequate free space is present.  Plotting (and optionally archiving) will then recognize the available space and plot into it, using your latest plotting configuration.

This is now in the machinaris:test images.  Will be in the upcoming v0.8.6 release.


Multiline messages

Support for multiline messages
For reasons of backwards-compatibility, multiline messages need to have multiline: true field set. With multiline: true, text argument will be treated with white-space: pre. If html is set, it takes precedence over both (since I'm not entirely convinced if "multiline html" even makes sense).
Multiline messages are collapsed to show only first line by default. It is possible to expand those individually with mouse click (at any given moment, only one message can be expanded this way), or all with linter:expand-multiline-messages command, preferably bound to a key (ctrl or shift, for example).
For styling, there are two options I could think of. Current implementation looks something like this:

Collapsed

Panel message expanded

Tooltip message expanded

All messages expanded
I've also considered an option to put marker of "expandability" at the end of first line, e.g.

Tooltip message expanded (alternative)
I think first version is less ambiguous, but I'd like to hear other opinions on the subject.
If you want to test this, currently this is used by linter branch on https://github.com/atom-haskell/haskell-ghc-mod (bear in mind one also needs language-haskell and ide-haskell installed, and ghc-mod executable available on PATH)

The arrow at the beginning is definitely more obvious. I'm not sure I'd even notice whatever the symbol is there at the end, or know what to do with it.

:+1:

For the reference, "whatever symbol is there at the end" is this: https://octicons.github.com/icon/ellipsis/. Ellipsis itself is a pretty common way of indicating that there is more text available, so I figured it should be somewhat self-explanatory. Apparently not.

@lierdakil He was in the favor actually.

I figured I should explain what it was, since there seems to be some confusion. No offence meant or anything.

How about we check the length of the message instead of adding a new field to the message object?

It wouldn't be backwards-compatible. Besides, it's not length that matters, but newlines in text.

@lierdakil Well, You are right about those new lines, but still, we didn't know we have providers that return multi-line messages.

Although applying the same treatment to overly long messages is something to consider. However, that would be out of scope for this PR.

Understandable.

@steelbrain: I still maintain that class would be redundant, and I hope this is acceptable.

This is agreeable. :smiley:

An Ellipsis isn't obvious when it's raised to the center of the text and is surrounded by an oval. If it were along the bottom of the text then it would have been obvious.
I still think the arrows are better :)

I think we all agree on arrows.

LGTM :+1:

I couldn't make "proper" ellipsis (either ... or …) work visually in this context, so I guess arrows it is

LGTM too.

:+1: :heart:

:clap: :rose:

A changelog entry was missing, but I think I'll push it to master.

Thanks. I sort of planned to add changelog entry when this gets greenlit, but you were too fast :laughing:

All is well, it's in master :smiley:


readme snapshots

seems the linked image in the readme does not exist

Hmmm that's strange. It looks fine to me 🤔


Update-DatabricksClusterResize cmdlet fails if issued immediately after Start-DatabricksCluster

I wonder if there is a way to continually check the status of the Databricks cluster, preferably inside a loop, to determine if the cluster is in RUNNING state and only after it is running then issue the command "Update-DatabricksClusterResize".

You can use use Get-DatabricksCluster in a loop checking the status and using a sleep.


On headless Linux, Gut couldn't save password

Description
On every attempt to save a password on a headless linux (no graphical interface), gut will fail
Sorry, I can't save the password in the keyring 😓
failed to unlock correct collection '/org/freedesktop/secrets/collection/login'
exit status 1

Possible reasons
Gnome keyring unlock
gnome-keyring expects to open a popup to unlock the keyring. However, it couldn't because there isn't any GUI. So it fails to unlock the collection
Default collection login
Perhaps on some distros, the collection "login" isn't available. So it fails to unlock it

First solution: Unlock the gnome-keyring
As stated here, there is a solution to unlock the keyring without the GUI :

Install the GNOME Keyring daemon.
Start a D-Bus session, e.g. run dbus-run-session -- sh and run the following commands inside that shell.
Run gnome-keyring-daemon with --unlock option.

If it's required to run all these commands before launching gut, it isn't a viable option.
This fits more for testing environnement

Second solution: Use Pass instead where gnome-keyring couldn't be used
Separate logic for saving password
If the user is on Linux, the library used should be 99designs/go-keyring to handle pass backend
For the other platform, zalando/go-keyring.
On Linux, we have to check if the user has a GUI. If yes, we use gnome-keyring (because it requires a GUI to unlock). Otherwise, we use pass
Add dependency
On the APT and YUM repository, I must add gnome-keyring to the dependency
Prompt the user
Gut should explains simply to the user how to install pass or setup it


unable to troubleshoot extension on localhost:3000

When I try to debug my application using this extension locally, chrome denies loading the extension with the following error:
localhost/:1 Denying load of chrome-extension://jdencabhccnfhedpfoojbbdlgmecnlkm/build/nostr-provider.js. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.
content.js:25     GET chrome-extension://invalid/ net::ERR_FAILED

This does not happen with nos2x.  Do you know what the issue might be?

I haven't seen this on my end. Which browser are you using? Do you have the extensions set to developer mode?

Ah, to clarify, i was attempting to debug my application, on localhost:3000, with the release of the extension from the regular channel.  When I ran the extension in developer mode from a source checkout it did work..
I think this may not be a bug, just a difference from nos2x.. I am still learning how developing for extensions works.  Closing this.


FR: Support for Nested and Complex Columns

Support references to nested and complex columns

BigQuery
Impala
...

This needs to be scoped and for the time being we should be okay with not supporting child columns

Throw an exception for nested columns since we don't support them


 This issue affect at least linux agents. Without this fix part of the command remains in remainingData part of the packet and its not correctly executed.

And it looks that this fix even windows agents. I can do cd now!
(Empire: 8KA96UEN) > cd řěšč
[*] Tasked 8KA96UEN to run TASK_SHELL
[*] Agent 8KA96UEN tasked with task ID 15
(Empire: 8KA96UEN) > [*] Agent 8KA96UEN returned results.
Path
----
C:\Users\winnie\Desktop\řěšč
[*] Valid results returned by <IP_ADDRESS>
Only getting error in mkdir command:
error running command: A positional parameter cannot be found that accepts argument 'Owner;Expression={ (Get-Acl mkdir.FullName).Owner }},lastwritetime,length,name'.

Last commit fix this issue.

Hi @xorrior, I just realized that the same error is in 3.0 branch (https://github.com/EmpireProject/Empire/blob/3.0-Beta/lib/common/packets.py#L167). Will you fix it there or should I create PR for this branch too?

@winnie22 I'll handing merging it with that branch. Thanks

@winnie22 Thanks!


Contributing

I need to create docs about contributions. Here's the flow we should generally use:
Push to next -> await ci/GitHub actions -> run tool/hone for the single header -> run tool/release

cc5c5230d53a13c87ced9f0b1806bdc4650abb81


AzureResourceManagerTemplateDeploymentV3 documentation is not detailed enough.

Required Information
Question, Bug, or Feature?
Bug
AzureResourceManagerTemplateDeploymentV3
Environment
Azure Pipelines
Issue Description
The AzureResourceManagerTemplateDeploymentV3 readme.md does not provide detailed enough documentation.

It does not include the property names to use in the yaml.
It does not provide the options for each property.
It does not provide the default for each property.
It doesn't provide a clear description of how to deploy bicep templates.

Perhaps there is a more detailed source of documentation that I have missed? If so, perhaps it could be linked in the readme file?
Thanks.

Please could someone update the documentation or point me in the direction of better documentation?


remove all permissions for user

As I can see in docs I can only remove permissions for user for given file/folder. Is it possible to remove all permissions to all files/folders to specified user?

Please post how-to questions to the group:
git.io/gam-group
Jay


[iOS] Unexpectedly found nil while unwrapping an Optional value

The complete error message reads:
SwiftPolarPlugin.swift:173: Fatal error: Unexpectedly found nil while unwrapping an Optional value
The issue is that arguments can contain no elements. My solution was to wrap everything in a nil-check and it is running again:
        if (arguments != nil) {
            let arguments = arguments as! [Any?]
            let feature = DeviceStreamingFeature(rawValue: arguments[0] as! Int)!
            let identifier = arguments[1] as! String

            self.streamingSubscriptions[feature]?[identifier]?.dispose()
        }

However, I then get an error within flutter in model/polar_streaming.dart:39:
Unhandled Exception: type 'int' is not a subtype of type 'Map<String, dynamic>'
The error occurs within:
  /// Create a [PolarAccData] from json
  PolarAccData.fromJson(this.identifier, Map<String, dynamic> json)
      : timeStamp = json['timeStamp'],
        samples =
            (json['samples'] as List).map((e) => Xyz.fromJson(e)).toList();

Here, json['samples'] contains a list of integers instead of lists of lists of integers.
I don't know yet if these are two issues or if they are related, though

Can I see what your code looks like? I'm pretty sure arguments should never be nil there.

I just released version 3.5.0 which should fix this


Naive implementation of free function support

As mentioned in https://github.com/krzysztofzablocki/Sourcery/issues/806, I have a use-case that requires working with free functions. I decided to see what would be involved in making this work and it turns out it's not too bad.
This is a naive implementation meant as an aid for discussion, it's not production-ready yet. Notably I didn't add tests yet, or test support for templating languages other than Stencil.

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

  Generated by :no_entry_sign: Danger

@maxmamis this looks great and honestly that's where I'd put those functions, as top level object and sibling of types, is there anything missing here functionality-wise, other than proper tests ?

I believe this is complete, though I haven't tested it with JS templates yet. I also was seeing an issue where I didn't have full metadata for return types, but I'm not sure whether that's a separate issue

thanks for the feedback! I'll add/fix the tests as soon as I get a chance

@maxmamis if metadata is missing that would suggest to me you need to modify the unifying phase in Composer.swift, shouldn't be complicated as we already do this for normal types

Thanks, I'll take a look there

@krzysztofzablocki Updated Composer.swift to fix the issue I was seeing and added a few tests for free functions — wasn't sure how far down the rabbit hole I should go (should I test that it parses every kind of parameter and return type properly?), please let me know if you'd like to see some more. Otherwise ready for a full review!

@maxmamis this looks good, maybe you could write a very simple template for EJS / Swift and add a test to each to prove that functions are processed correctly in those scenarios? the template could simply read the free function and generate another one from it

@krzysztofzablocki Added!

great job, thanks for contributing 👏