Clean up module-scoped init

see https://github.com/hjdivad/ember-m3/pull/80#event-1467797580

@rwjblue I'm 👍 with it as long as they're wrapped in functions like this so we can still unit test

Aye, also FWIW the newer testing harness stuff no longer has the issue where initializers only run for acceptance tests. They will now run for all types (in the newer style).


Create an Appointment class

Appointment class represents an Appointment in the vaccine management system.
Appointment class contains variables:

person: the patient taking the vaccine
appointmentTime: the time of the appointment

Appointment class contains methods:

getPerson(): returns the patient taking the vaccine
getAppointmentTime(): returns the time of the appointment
setAppointmentTime(): updates the time of the appointment

Added a DateParseException class to handle invalid given appointment time exceptions.
Close #19

I think fix CI changes then will look like LGTM


[ISSUE-520] Pool gzip compressor and buffer used in gzip writer

Description
Changed to pool gzip.Writer object and bytes.Buffer object used for gzip compression, for the better performance.
Issues Resolved
Closes https://github.com/opensearch-project/opensearch-go/issues/520
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

I will update changelog once the change is finalized.
Also I'm not very sure how can I address the error in the Lint check, it seems like detecting error somewhere I didn't updated.

I will update changelog once the change is finalized. Also I'm not very sure how can I address the error in the Lint check, it seems like detecting error somewhere I didn't updated.

Rebase, we may have fixed this elsewhere since the main build is green.

oh I was about to send some message regarding the change. thanks you @dblock for your review and merging the PR!

Good work @pakio, thank you!


Polymer apps with subdirectories in web fail after pub build

 Issue by butlermatt
Originally opened as dart-lang/sdk#19992

I'm not sure if this is a Polymer transformer bug or a pub bug. When creating a project with an entry point in a subdirectory of web/ then it tests and runs fine, but once you use pub build then you receive a script error trying to load polymer.js file (it's not traversing up to the primary package directory).
To duplicate issue clone this github repo:
https://github.com/butlermatt/subdir_bug
build it, and run:
cd subdir_bug/build/web
python -m SimpleHTTPServer
Open browser to localhost:8000/test/subdir_bug.html
Check the console log.
You'll note the sources all appear to traverse to the parent package/ directory but polymer.js is still looking in the local folder

 Comment by butlermatt

Opps. Forgot details:
pubspec.lock is in the repo.
Dart Editor version 1.6.0.dev_03_00 (DEV)
Dart SDK version 1.6.0-dev.3.0
Linux 64-bit

 Comment by zoechi

Is this a dupe of https://code.google.com/p/dart/issues/detail?id=18563 ?

 Comment by butlermatt

This also occurs with pub build --mode=debug using both Chrome and Dartium:
Dartium output:
Failed to load resource: the server responded with a status of 404 (Not Found)
  http://<domain>/<dir>/packages/polymer/src/js/polymer/polymer.js
Failed to load resource: the server responded with a status of 404 (Not Found)
  http://<domain>/<dir>/packages/browser/dart.js
Failed to load resource: the server responded with a status of 404 (Not Found)
  http://<domain>/<dir>/packages/polymer/polymer.
... And many more.

 Comment by butlermatt

No. In Issue dart-lang/sdk#18563 it's relative files and where Chrome/Dartium determine the file is loaded from. For instance, that issue could be resolved by using absolute paths.
In this issue it's that the transformers aren't rewriting 'package' in the right location, in particular it seems they're hardcoded to look in the current directory for packages folder, even when other areas of the app explicitly indicate otherwise.

 Comment by dgrove

Set owner to @sigmundch.
Removed Priority-Unassigned label.
Added Priority-High, Pkg-Polymer, Triaged labels.

 Comment by sigmundch

Hey Matt, I think this is a duplicate of:
https://code.google.com/p/dart/issues/detail?id=17596
We were actually just about to get to work on fixing it, so I'm expecting the fix will be available soon.

Added Duplicate label.
Marked as being merged into dart-lang/sdk#17596.


microk8s.enable jaeger fails on fresh install of 1.16/stable

$ sudo snap install microk8s --channel 1.16/stable --classic
microk8s (1.16/stable) v1.16.0 from Canonical✓ installed
$ sudo microk8s.enable jaeger
Enabling Jaeger
Enabling DNS
Applying manifest
serviceaccount/coredns created
configmap/coredns created
service/kube-dns created
unable to recognize "/root/snap/microk8s/920/tmp/temp.coredns.yaml": no matches for kind "Deployment" in version "apps/v1"
unable to recognize "/root/snap/microk8s/920/tmp/temp.coredns.yaml": no matches for kind "ClusterRole" in version "rbac.authorization.k8s.io/v1"
unable to recognize "/root/snap/microk8s/920/tmp/temp.coredns.yaml": no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1"
Failed to enable dns
Failed to enable jaeger

$ sudo microk8s.inspect
Inspecting services
  Service snap.microk8s.daemon-cluster-agent is running
  Service snap.microk8s.daemon-flanneld is running
  Service snap.microk8s.daemon-containerd is running
  Service snap.microk8s.daemon-apiserver is running
  Service snap.microk8s.daemon-apiserver-kicker is running
  Service snap.microk8s.daemon-proxy is running
  Service snap.microk8s.daemon-kubelet is running
  Service snap.microk8s.daemon-scheduler is running
  Service snap.microk8s.daemon-controller-manager is running
  Service snap.microk8s.daemon-etcd is running
  Copy service arguments to the final report tarball
Inspecting AppArmor configuration
Gathering system information
  Copy processes list to the final report tarball
  Copy snap list to the final report tarball
  Copy VM name (or none) to the final report tarball
  Copy disk usage information to the final report tarball
  Copy memory usage information to the final report tarball
  Copy server uptime to the final report tarball
  Copy current linux distribution to the final report tarball
  Copy openSSL information to the final report tarball
  Copy network configuration to the final report tarball
Inspecting kubernetes cluster
  Inspect kubernetes cluster

WARNING:  Docker is installed.
File "/etc/docker/daemon.json" does not exist.
You should create it and add the following lines:
{
    "insecure-registries" : ["localhost:32000"]
}
and then restart docker with: sudo systemctl restart docker
Building the report tarball
  Report tarball is at /var/snap/microk8s/920/inspection-report-20190927_195448.tar.gz

inspection-report-20190927_195448.tar.gz

Could you try --edge @tvansteenburgh . This was fixed by https://github.com/ubuntu/microk8s/pull/676 but hasn't made it to stable yet.

Yep, that worked, thanks @ktsakalozos.


Collect wish list of changes after PR #8

alternative geometry needs geometry update signal to runmanager, I think.
solid copper tubes containing ULar make no sense. They are baseline design but the engineering is flawed. They separate like-liquids hence need no massive separation wall. Mechanical stiffness should be achieved with a copper frame, not a solid wall design. Walls can then be thin, likely even verified plastic. Consideration in case of significant muon nuclear reactions in copper.
primary generator location should offset slightly from top surface into rock.
change nist concrete to standard rock material - found definition.
Implement primitive scorer filter for Ge77 production in ge sensitive detector volume. Check, passing that filter can still result in retrieving the entire parent track history.
Implement scoring of full track history. Currently only deposited energy and location - retrieve G4Track and store information like parent ID's and vertex locations in addition to steps since also need hit information from non-sensitive detector volumes where parents may have been produced.
enable time of hit storing
Consider storing the full event history as simple numerical types, e.g. particle IDs as PDG id, with Ion data like z, a as int's - enables to stick with convenient ntuple output.
Importance sampling/Russian roulette not implemented yet. Example for that exists.

Primary generator: done
nist concrete to standard rock: done
Time of collision scoring: PS created
Definition of all scoring items missing, design of requirements started. Most information should be available from a G4Track.

@yramachers, should we create a Project for these? We can create specific Issues for them and when Pull Requests are created to implement them, they can be added to the project and then state/completion will be automatically tracked.

Never worked with a project on github, I don't think. If that is easier, then I am all for it. Not that it is difficult at the moment. I've got a recent branch from yesterday but didn't push it yet. Not ready for a PR (but could have pushed it regardless, of course). I am hoping that won't interfere with the re-formatted PR to master. I'll try it. There isn't that much new code in that branch.

full trajectory scoring done; next to store all relevant information in ttree output
trajectory data to store: header is made of id's, vertex location, time, particle info (name, PDG) to be stored along with list of interaction locations (what, where, when history all stored); filtered on muons and neutrons only (got Ge77 from hits) with condition of Ge77 production or neutron hit in Germanium volume as primary condition, see hit scoring.
restrict hit scoring to Ge volume only from Ge77 and neutrons, edep, location, id's and time
change macro switch for geometry change to method so that it actually works after initialization, see example B5

trajectories sorted, storage on demand and relevant filtering for output, see #28
geometry change sorted. Document the implemented detector geometries is pending.
all required storage items implemented. For history scoring, i.e. trajectories on, can the root output store strings, i.e. volume names? Easier to convert vertex points to volumes directly in geant4.


Set sysctl to allow processes in podman containers to listen on privi…

…leged ports
Fixes #146

/ok-to-test

YOLO
/lgtm
/approve

Thanks @BenTheElder @aojea

Thanks @BenTheElder @aojea

you did all the work :)


CX Portal interaction with CM API

Pre-Condition / assumption
The Catena-X portal is using the certificate management API.
Today
Catena-X Portal provides a frontend for uploading certificate documents and requests the user to provide the following data fields:

Certificate type
Certificate site / level
Expiry date

If the submit button gets pressed the frontend communicates with an internal portal api to the portal backend and stores the data.
The portal backend communicates than with the certificate management api and this separate maintained service provides the data.
The certificate management backend + api stores the data and could provide this data to a 3rd-party.

Problem:
The certificate management api expects the following mandatory data:
- businessPartnerNumber
- type (certificateType, certificateVersion)
- registrationNumber (MISSING TODAY)
- validFrom (MISSING TODAY)
- validUntil
- document{certificateDocument, certificateDocumentFormat}
FUTURE

Catena-X Portal provides a frontend for uploading certificate documents and requests the user to provide the following data fields:

businessPartnerNumber, legal entity (BPNL) for which the certificate is valid
certificateType
certificateVersion
registrationNumber
areaOfApplication, optional area of applications for the given certification i.e. additional details
enclosedSites, optional additional sites (eg. Production or engineering sites) of the BPN the certificate is also valid
validFrom, valid from date for certificate, if not defined - use issueing/signing date of upload
validUntil, valid to date for certificate-  31.12.9999 for no expiration
issuer, Issuer authority of certificate - e.g. TUEV Sued
We need to provide a starting list of certificate issuers that we have in scope
documentID, should be set by the system - internal reference id at data provider to request certificate document from data provider

UI could be structured like this:

In the background the following fields need to be set:

documentID
uploader
trustLevel to 'none'
status

If the submit button gets pressed the frontend communicates with the certificate management api to the portal backend and stores the data.
The portal backend + certificate management api stores the data and could provide this data to a 3rd-party.
Summary
As a company / certificate owner  I want to provide my own certificates to the dataspace.
As a company / certificate consumer I want to get the certificates of my business partner from the dataspace.
Technical description
When should this endpoint be called? / Can the endpoint get called by an technical user or a real user?
When action of upload certificate is being performed by technical user from frontend.
API-Call (POST): /api/catena/certificate/document (this URL is just an example)
Provide a certificate document for a legal entity including all sites assigned to a certificate.
Is the endpoint synchron or any asynchron feedback expected?
API-Call must be synchronous as it should give documentID(nothing but UUID) in response and that document id can be used in query endpoints.
What happened if I uploaded a file (remember status quo: the file is inside the portal DB stored)
It gets available via the get-endpoint
What are the possible endpoint responses? (positiv as well as negativ)

Query Parameter

none

Response Codes |   |
-- | --| --
200 | document for the given id  |
400 | Malformated URL  |
401 | Unauthorized  |
404 | BPN not found  |
406 | document not available |
422 | Unprocessable Entity |
503 | Service not available |
  |  |
  |  |
Request body:
{
  "businessPartnerNumber": "string",
  "type": {
    "certificateType": "string",
    "certificateVersion": "string"
  },
  "registrationNumber": "string",
  "areaOfApplication": "string",
  "remark": "string",
  "enclosedSites": [
    {
      "siteBpn": "string",
      "areaOfApplication": "string"
    }
  ],
  "validFrom": "2024-02-27T05:26:00.312Z",
  "validUntil": "2024-02-27T05:26:00.312Z",
  "issuer": "string",
  "trustLevel": "None", ##Enum can contains ["None", "Low", "Medium", "High", "Trusted"]
  "validator": {
    "validatorName": "string",
    "validatorBpn": "string"
  },
  "uploader": "string",
  "document": {
    "certificateDocument": "string", ##base64-encoded file contents
    "certificateDocumentFormat": "PDF" ##Enum can contains ["PDF", "PNG", "JPG"]
  }
}

Response Body with 201 response code:
{
  "businessPartnerNumber": "string",
  "type": {
    "certificateType": "string",
    "certificateVersion": "string"
  },
  "registrationNumber": "string",
  "areaOfApplication": "string",
  "remark": "string",
  "enclosedSites": [
    {
      "siteBpn": "string",
      "areaOfApplication": "string"
    }
  ],
  "validFrom": "2024-02-27T05:26:00.314Z",
  "validUntil": "2024-02-27T05:26:00.314Z",
  "issuer": "string",
  "trustLevel": "None",
  "validator": {
    "validatorName": "string",
    "validatorBpn": "string"
  },
  "uploader": "string",
  "documentID": "3fa85f64-5717-4562-b3fc-2c963f66afa6", ##Internal UUID
  "document": {
    "certificateDocument": "string",##base64-encoded file contents
    "certificateDocumentFormat": "PDF"
  },
  "createdAt": "2024-02-27T05:26:00.314Z",
  "updatedAt": "2024-02-27T05:26:00.314Z"
}

Value Validations and Mandatory Fields:
Validation mechanism should be in place while accepting new certificates, like uniqueness must be checked based on provided business partner number and certificate type. Implement value validations ensure data integrity and compliance with specified formats.
Mandatory fields include:
- businessPartnerNumber
- type (certificateType, certificateVersion)
- registrationNumber
- validFrom
- validUntil
- document{certificateDocument, certificateDocumentFormat}
It should be possible to transfer the document itself (.pdf, .png, .jpg) by converting document to base64 format string.
Encoded string for Document will be stored in PostgresDB on Document table.
Open questions:
Which permission is needed? (new or existing)
Who can upload at this endpoints documents? (means which participant role)
Which Audit mechanism are implemented?
Which delete mechanism are implemented?
Please explain the endpoint logic which is getting executed after the POST is called
Last but not least; please provide an information of the implemented value validations as well as the mandatory fields
Answers to open questions:

Which permission is needed? (new or existing)
Like BPDM, the certificate management application uses OAuth 2.0 for authentication. Specifically, it supports the clientCredentials flow and the authorizationCode flow. Therefore, appropriate permissions and roles defined in OAuth 2.0 provider (e.g. CX-Central ) will be needed for accessing the endpoints.

Who can upload at this endpoints documents? (means which participant role)
Uploading documents to the /api/catena/certificate/document endpoint requires authentication using OAuth 2.0. Depending on the configuration of OAuth 2.0 provider (e.g. CX-Central), users with appropriate permissions and roles assigned will be able to upload documents. Roles has not been decided yet but it will be included in future.

Which Audit mechanism are implemented?
The auditing can typically be implemented at the application level using various techniques such as logging user actions, recording API requests/responses.
Currently, only logging user actions are implemented in backend microservice.

Which delete mechanism are implemented?
The delete operations can be implemented in RESTful APIs using the HTTP DELETE method on specific endpoints but not yet implemented.

Please explain the endpoint logic which is getting executed after the POST is called?
After a POST request is made to the /api/catena/certificate/document endpoint, the logic implemented on the server side processes the request.
This logic would likely involve validating the incoming data, storing the certificate document in a database, and potentially triggering any necessary background tasks such as providing docuementID, validations on fields and provide status for particular certificate.

Last but not least; please provide an information of the implemented value validations as well as the mandatory fields

Attribute
Value Validation

BusinessPartnerNumber
^BPNL[0-9]{8}[a-zA-Z0-9]{4}$

siteBpn
^BPNS[0-9]{8}[a-zA-Z0-9]{4}$

issuer
^BPNL[0-9]{8}[a-zA-Z0-9]{4}$

uploader
^BPNL[0-9]{8}[a-zA-Z0-9]{4}$

validatorBpn
^BPNL[0-9]{8}[a-zA-Z0-9]{4}$

validFrom
ZonedDateTime -> Empty or null? Then logic will consider today's date

validUntil
ZonedDateTime-> Empty or null? Then logic will consider "9999-12-31T23:59:59Z" date

Mandatory attributes:

businessPartnerNumber
type (certificateType, certificateVersion)
registrationNumber
validFrom
validUntil
document{certificateDocument, certificateDocumentFormat}

Closing issue to enable archiving of repository bpdm-certificate-management.


Vim Plugin

A lot of VSCode code plugins have also been ported to vim and vim-coc.
It would be nice that prisma did not only have the best developer experience in just a single editor.

Checkout: https://github.com/pantharshit00/coc-prisma
Syntax: https://github.com/pantharshit00/vim-prisma

Thanks @pantharshit00 but I actually have both of these already installed and they are working.
The reason I added this issue was due to the suggestion in other issues that my syntax should have shown errors, but I was not receiving any errors within my editor. The way I understand it is the editor will display errors from the typescript compiler, but in some cases there is no error in typescript but it is not properly formatted prisma client calls.
https://github.com/prisma/prisma/discussions/5929#discussioncomment-424410
What is different about these vim plugins and the vscode extension that is supposedly catching these errors without any typescript errors?

The Prisma vscode extension only works on .prisma file, same as the vim extension. They use the same language server under the hood.
In order to get typescript errors. in your extension, install typescript language server extension which would be coc-tsserver in this case.


Cannot move the cloud profile outside of the Default pool

I believe this may be a known issue but I've not seen it reported anywhere apart from the plugin page @ teamcity.com.  After creating a cloud profile using the plugin, I can't assign the profile to any other agent pool in TC apart from the Default pool.  I've tested an ECS and Azure cloud profile can be moved wherever.

Hi @leslieonline1, this issue should actually be fixed in #2.
Can you check which version of the plugin is currently active in the "Plugin Lists" of the administration interface ?

Hi @JeanRev I'm on 0.3.3 (Docker Cloud Plugin
Cloud Agent Plugin for Docker containers
0.3.3 (build 27fa717e5e02a9bbc9dc43bb154a2d2b9378e412) - from your previous issue link looks like it was fixed in 0.2.3?  I downloaded the plugin directly from here: https://plugins.jetbrains.com/plugin/9306-docker-cloud.  Should I build from the repo instead

Hum, no, building from the repo probably won't bring much.
In the original issue, it was actually possible to assign a cloud profile to a specific agent pool, but this association was lost upon restart or reconfiguration of the plugin. Does this description match your current issue?

Hmm no actually it doesn't, I can't assign the cloud profile to an agent pool at all.  I hit the"Assign agent" button, then select the Docker cloud profile and hit Save, but nothing happens.  The profile is still sitting in the Default pool.  Does this sound like a different issue?

It looks like something different indeed. Can you take a look in the teamcity-server.log file, in the "logs" folder of your TeamCity installation? The shift of agent pool must be displayed, possibly with additional information.

Weird. All the attempts I've made to move the profile just log this:
[2017-04-05 12:37:38,758]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=2} was moved to agent pool ""Default" {id=0, default=true}" from ""DockerTesting" {id=1, default=false}" by "'admin' {id=1}"
[2017-04-05 12:42:20,232]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=7} was moved to agent pool ""DockerTesting" {id=1, default=false}" from ""Default" {id=0, default=true}" by "'admin' {id=1}"
[2017-04-05 12:45:21,200]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=2} was moved to agent pool ""DockerTesting" {id=1, default=false}" from ""Default" {id=0, default=true}" by "'admin' {id=1}"
[2017-04-05 12:45:21,325]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=2} was moved to agent pool ""Default" {id=0, default=true}" from ""DockerTesting" {id=1, default=false}" by "'admin' {id=1}"
[2017-04-05 13:21:00,895]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=2} was moved to agent pool ""DockerTesting" {id=1, default=false}" from ""Default" {id=0, default=true}" by "'admin' {id=1}"
[2017-04-05 13:21:01,004]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=2} was moved to agent pool ""Default" {id=0, default=true}" from ""DockerTesting" {id=1, default=false}" by "'admin' {id=1}"
[2017-04-05 13:47:11,938]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=2} was moved to agent pool ""DockerTesting" {id=1, default=false}" from ""Default" {id=0, default=true}" by "'admin' {id=1}"
[2017-04-05 13:47:12,092]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=2} was moved to agent pool ""Default" {id=0, default=true}" from ""DockerTesting" {id=1, default=false}" by "'admin' {id=1}"
[2017-04-05 14:34:48,915]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=2} was moved to agent pool ""DockerTesting" {id=1, default=false}" from ""Default" {id=0, default=true}" by "'admin' {id=1}"
[2017-04-05 14:34:49,061]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=2} was moved to agent pool ""Default" {id=0, default=true}" from ""DockerTesting" {id=1, default=false}" by "'admin' {id=1}"
[2017-04-05 14:36:37,811]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=2} was moved to agent pool ""DockerTesting" {id=1, default=false}" from ""Default" {id=0, default=true}" by "'admin' {id=1}"
[2017-04-05 14:36:37,935]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=2} was moved to agent pool ""Default" {id=0, default=true}" from ""DockerTesting" {id=1, default=false}" by "'admin' {id=1}"
[2017-04-05 14:38:18,931]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=2} was moved to agent pool ""DockerTesting" {id=1, default=false}" from ""Default" {id=0, default=true}" by "'admin' {id=1}"
[2017-04-05 14:38:19,045]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=2} was moved to agent pool ""Default" {id=0, default=true}" from ""DockerTesting" {id=1, default=false}" by "'admin' {id=1}"
[2017-04-05 15:00:05,541]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=2} was moved to agent pool ""DockerTesting" {id=1, default=false}" from ""Default" {id=0, default=true}" by "'admin' {id=1}"
[2017-04-05 15:00:05,828]   INFO - tbrains.buildServer.ACTIVITIES - Agent AGENT_TYPE{id=2} was moved to agent pool ""Default" {id=0, default=true}" from ""DockerTesting" {id=1, default=false}" by "'admin' {id=1}"
I'm going to change the verbosity and try again, if there's anything more pertinent I'll post it

ie. it looks like TeamCity simply immediately moves the profile back into the Default pool?

I was able to reproduce the issue. I am not sure where the regression happened yet. Looks like that the TC server immediately queries the persisted agent pool association from the plugin after submission, discarding the user choice at once.
Regarding the other cloud providers you tested, did you change the cloud association in the plugins settings or also through  the "Pools" administration page ?

I also changed them in the Pools administration page and they worked as expected.
I'm not a professional developer so although I would love to I probably wouldn't be able to contribute much to this!  However I am ready and willing for testing etc.

Your help is really appreciable, thanks :-) I'll investigate this a bit more and let you know if there is anything you can do (testing the fix when ready will be definitively helpful).

No worries at all just shout

Can you give a try to this new plugin version and check if the problem still happens? (you'll have to remove the older plugin version first):
https://tc.var.run/repository/download/TeamCityDockerCloudPlugin_Hotfix/133:id/docker-cloud_0.3.4-SNAPSHOT_75e8ebb.zip?guest=1

Excellent! That works as expected.  I moved the profile into another pool and then back into the Default pool and then back again - all looks good.  Am I ok to use this version for further testing?  I'm in the process of doing a PoC for our agent infrastructure

Glad to hear it :-) Yes, you can definitively use this version. I'll package the fix into a new hotfix release today or tomorrow. No further changes will be included.

Thanks for that - should just say excellent work on this it is really opening up possibilities for a more fluid build environment for us, and please let me know if you need any more testing done on new versions I would like to stay involved.

You're welcome. I recently created a gitter room for notifications and discussing issues. I will also publish there links to pre-release artifacts when available. Testing is always welcome and much appreciated (even simple things like ensuring that you can install the plugin without breaking your existing configuration). I'll send you an invite.

Hmm, looks like I can't invite you without an email... You can then register directly at: https://gitter.im/TeamcityDockerCloudPlugin


import numpy first to check AVX2 flags

You should be able to use that error in a try, except to prevent enabling atop so tests will pass.

You should be able to use that error in a try, except to prevent enabling atop so tests will pass.

You should be able to use that error in a try, except to prevent enabling atop so tests will pass.

if we don't want mac tests to run, perhaps either remove them from running, or check for AVX2 the same way before the test begins.  I prefer we not run "fake" pnumpy Mac tests because the build scripts are set up that way, because this has a side effect for a real mac user trying to import pnumpy -- that import should fail today.

You should be able to use that error in a try, except to prevent enabling atop so tests will pass.

if we don't want mac tests to run, perhaps either remove them from running, or check for AVX2 the same way before the test begins.  I prefer we not run "fake" pnumpy Mac tests because the build scripts are set up that way, because this has a side effect for a real mac user trying to import pnumpy -- that import should fail today.


add support for embeds_many when querying Enumerable

Mongoid::Matchers::Strategies.extract_attributes was not taking into account the possibility of an array result, as in the case of an embeds_many.
This fix is fairly dumb.

Pulled in, thanks.


new page ui design for about us section added

Issue that this pull request solves
Closes: #9
Proposed changes
I have added a new UI Design for the About Us page.
Brief description of what is fixed or changed
I have added a new UI Design for the About Us page.
Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes does not break the current system and it passes all the current test cases.

Screenshots

Other information
Any other information that is important to this pull request

@yashsehgal please make sure to have the proper labels on each of your merged PRs( If I miss any, let me know :))

@yashsehgal please make sure to have the proper labels on each of your merged PRs( If I miss any, let me know :))

@yashsehgal please make sure to have the proper labels on each of your merged PRs( If I miss any, let me know :))

sure

@yashsehgal please make sure to have the proper labels on each of your merged PRs( If I miss any, let me know :))

sure


feat(driver): Add loongarch64 kernel module support

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area API-version

/area build

/area CI

/area driver-kmod

/area driver-bpf

/area driver-modern-bpf

/area libscap-engine-bpf

/area libscap-engine-gvisor

/area libscap-engine-kmod

/area libscap-engine-modern-bpf

/area libscap-engine-nodriver

/area libscap-engine-noop

/area libscap-engine-source-plugin

/area libscap-engine-savefile

/area libscap

/area libpman

/area libsinsp

/area tests

/area proposals

Does this PR require a change in the driver versions?

/version driver-API-version-major

/version driver-API-version-minor

/version driver-API-version-patch

/version driver-SCHEMA-version-major

/version driver-SCHEMA-version-minor

/version driver-SCHEMA-version-patch

What this PR does / why we need it:
Add loongarch64 kernel module support.
Temporarily does not involve bpf.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
I'm not sure what problems are there at present. If there is a problem, I hope to point out.
Does this PR introduce a user-facing change?:

NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: yzewei
Once this PR has been reviewed and has the lgtm label, please assign molter73 for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@FedeDP I'm not sure why the last PR was closed.
I'm very sorry, it may be caused by my operation error.、
[https://github.com/falcosecurity/libs/pull/1654](closed pr)

LGTM label has been added.  Git tree hash: 38ee984291b5621cf9673e58a404cad5c32031dd

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, yzewei
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

We can update the README later :)
https://github.com/falcosecurity/libs/pull/1803#pullrequestreview-2010616087

This LGTM! I'd also update the [Supported arch matrix] in the readme: https://github.com/falcosecurity/libs?tab=readme-ov-file#drivers-officially-supported-architectures together with the ARCHS label (at the beginning of the readme)

We can update the README later :) #1803 (review)

Good Job! Thanks a bunch!

/cc @Andreagit97

Semgrep Checks / check-absolute-include-paths (pull_request) Failing after 21s

This is fine since we are already using all absolute paths in that file (and i won't fix it in this PR for sure)

New changes are detected. LGTM label has been removed.

LGTM label has been added.  Git tree hash: 6c91bc4a01d8c9becbd9191239d6516e7fafd7a4

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, yzewei
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, yzewei
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 7.1.0+driver
/unhold


Update ProductVersionInfo to remaining Dlls

Update ProductVersionInfo to remaining Dlls
Also update the way VersionInfo is handled through eng/common instead of dev/common

/azp run TransportPackage-Foundation-PR

/azp run TransportPackage-Foundation-PR


What is the new CLI?

I am getting this deprecation:

The que:work rake task has been deprecated and will be removed in Que 1.0. Please transition to the que command line interface instead.

But I can't see anything in the README about this new interface?

There's a que executable, que -h will tell you the options. I should add an example to the readme to make it more clear, though.

Added to the README.


[feature request] rustfmt support

It would be nice to have an option (or a default behavior) to format cells with rustfmt

There doesn't at present appear to be a standard way to provide auto-formatting functionality in a Jupyter kernel. If auto-formatting is ever added to the Jupyter kernel APIs, I'd definitely be up for integrating rustfmt. Thanks for the suggestion!

I did some digging and quickly found jupyterlab_code_formatter which might be able to run rustfmt? Something that seems a bit more interesting is there's jupyterlab-lsp which seems like it might support something in the near future for running rustfmt. https://github.com/krassowski/jupyterlab-lsp/issues/467 is the blocking issue for this support.


[FLINK-21358][docs] Adds savepoint 1.12.x to savepoint compatibility diagram

What is the purpose of the change
I assumed that there are no changes that would be break the compatibility for 1.12.x
Brief change log

added new row and column for 1.12.x to the English and Chinese version

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? no

cc @rmetzger and @dianfu. Do you remember any backwards compatibility breaking changes in the 1.12 release?

@tillrohrmann @XComp Sorry for the late response. There are no known backwards compatibility issues in my head.

@dianfu would you be so kind and take over the merging of the PR then?


[Canvas Content Issue] Week 03 Textbook Quiz

Content Link
Week 03 Textbook Quiz
Issue Description
The categorical and numerical multiple-answer questions are a bit confusing in terms of what should the correct answer be.
Solution
Update the language to focus on the textbook application of the langauge.

The question was removed and the quizzes will be updated for the next semester.


Tag style and script tag in php file do not work!

Not working autocomplete tag script and style!

I think what you're asking for is covered by this large issue: https://github.com/Microsoft/vscode/issues/670


unable to see NVME drive and Ramdrive also Drive on network

unable to see NVME drive and Ramdrive also Drive on network

I am sorry PSChiaPlotter is not picking up all your drives. Are you able to use the UNC path to the drives/folders in the basic plotting section? I know this isn't ideal but is currently the easiest workaround.

I am sorry PSChiaPlotter is not picking up all your drives. Are you able to use the UNC path to the drives/folders in the basic plotting section? I know this isn't ideal but is currently the easiest workaround.

i will try and let you know. but it is weird that it is not see my Plotter Drive (Wd Black m,2 nvme that it is in stall on my plotter not on the network.

@yanadhorn
Could you run in Power Shell the following commands and provide results from them:
  Get-Volume
  Get-Partition
  Get-Partition | Where {$_.AccessPaths.Count -gt 1}

Those are commands that PSChiaPlotter is using to check on available partitions.  The fact that it is WD Black doesn't really matter, as people are using all kind of drives, and so far that was not an issue, so it has to be rather something related to how you added that NVMe to your system (potentially format type, etc.) making it prepared in a way that PSCP barfs at it.  (You can filter out everything that is not related to your NVMe drive.)

@yanadhorn
Could you run in Power Shell the following commands and provide results from them:
  Get-Volume
  Get-Partition
  Get-Partition | Where {$_.AccessPaths.Count -gt 1}

Those are commands that PSChiaPlotter is using to check on available partitions. The fact that it is WD Black doesn't really matter, as people are using all kind of drives, and so far that was not an issue, so it has to be rather something related to how you added that NVMe to your system (potentially format type, etc.) making it prepared in a way that PSCP barfs at it. (You can filter out everything that is not related to your NVMe drive.)
Actually, your PSCP version would be helpful.
By the way, I have WD Black 1TB NVMe on my system, and it works like a charm.

Well, funny enough I do have the same issue.
And its a powershell issue not having access to network mapped drives while CMD.exe and Explorer do!
I haven't find any solution to this for now.
Will update you guys if I do.

@ramsesdeux
I guess, Google is your friend.  I did a quick search, and maybe the issue is that you are running PowerShell as Admin, where you mapped that drive as a "normal" user.

@ramsesdeux
I guess, Google is your friend. I did a quick search, and maybe the issue is that you are running PowerShell as Admin, where you mapped that drive as a "normal" user.

Exactly that.
I've done so research and the issue lies in here.
That's it guys:
When create network drives, do so in a promoted shell.
Or modify your registry so that all network drives for all account are linked ;)
http://woshub.com/how-to-access-mapped-network-drives-from-the-elevated-apps/
(hope it is ok to share links?)

@ramsesdeux
Or maybe you should not run the program with the elevated privileges?  This is a bit easier solution, as it doesn't require any extra steps.
@MrPig91
Here is MS blog about checking for elevated privileges:
https://devblogs.microsoft.com/scripting/check-for-admin-credentials-in-a-powershell-script/
Maybe it would be good to check at startup for those, and if elevated, then just barf?

@Jacek-ghub
Great idea. This should be easy to implement. I will add confirm prompt when it detects running with elevated privileges before launching the GUI.

@MrPig91
What I meant was to rather abort PSCP, when elevated privileges are detected (yes, after a warning prompt).
Unless you can find one, and I mean one reason to run at elevated privileges, there is no point to have it run.  This is just one of the issues related to those privileges, and it may be more, and more subtle ones, i.e., harder to nail down.
I guess, consider the old saying that your software should always be foolproof.
If people will have problem with that, they will voice it here, and it will be easier to address those problems.


fix(learn): added formatting to keep spaces in basic javascript challenges

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #42455

Yeah, I'm looking in gitpod now and the suggestion referenced in #42455 doesn't seem to resolve the issue. I'll try to think of a better solution, please let me know if you have anything in mind.

Yeah, that's the behavior I was seeing also. Not too familiar with Crowdin.

Do not worry about Crowdin, that's not something you can test. If you can find a way using pre that would not create a code block, that would be ideal and we can try it out.

I'll see what I can do.

@patlehmann1 are you still up to it? the direction of the changes has changed a bit

Ok, so just to be clear here. I am removing the pre formatting from the challenge and adding that additional sentence to the end? "Be sure to include a space between the two strings."?

@patlehmann1 and removing the space from the first string too. Make sure it says that you have to add the space between the strings

Good catch @ieahleen! Will do.

You can from here:

Done


VSCode securestring snippet does not use decorator syntax

Bicep version
Bicep CLI version 0.3.126 (a5e4c2e567)
Describe the bug
In VSCode when using the snippet to set a parameter to secure string, it does not implement it as a decorator, quickly causing a "BCP161: Parameter modifiers are deprecated and will be removed in a future release." error.
To Reproduce

Open Bicep file in VS Code.
Utilize snippets to create a secret string parameter, or let auto-complete assist you.

Result:

Actual: Parameter is created/altered to modifier syntax
Expected: Parameter is created/altered to decorator syntax

Apologizes for the lowres gif. 😄

Good catch, thank you for raising this issue!

Indeed!
Implementation note: We will need to use AdditionalTextEdits functionality in LSP to insert the decorator above the declaration.

FYI, @MarcusFelling


Uncaught TypeError: Cannot read property 'exclude' of undefined

Steps to reproduce:

Added TODO-Task in a file: "// TODO: foo bar"
Right-clicked on this file in Atom's tree and chose "show Tasks - iMIDone"
New file tab "Template Issues" opened, with content
"Loading template Issues.
It's gonna be legen... wait for it."

Atom Version: 1.0.5
System: BTXNB40
Thrown From: imdone-atom package, v1.1.10
Stack Trace
Uncaught TypeError: Cannot read property 'exclude' of undefined
At C:\Users\srissel\.atom\packages\imdone-atom\node_modules\imdone-core\lib\repository.js:379

TypeError: Cannot read property 'exclude' of undefined
  at Repository.shouldExclude (C:\Users\srissel\.atom\packages\imdone-atom\node_modules\imdone-core\lib\repository.js:379:21)
  at EventEmitter.repo.watcher.chokidar.watch.ignored [as _isIgnored] (C:\Users\srissel\.atom\packages\imdone-atom\node_modules\imdone-core\lib\mixins\repo-watched-fs-store.js:43:28)
  at EventEmitter.FSWatcher._handle (C:\Users\srissel\.atom\packages\imdone-atom\node_modules\imdone-core\node_modules\chokidar\index.js:339:12)
  at EventEmitter.<anonymous> (C:\Users\srissel\.atom\packages\imdone-atom\node_modules\imdone-core\node_modules\chokidar\index.js:417:17)
  at Array.forEach (native)
  at EventEmitter.FSWatcher.add (C:\Users\srissel\.atom\packages\imdone-atom\node_modules\imdone-core\node_modules\chokidar\index.js:416:9)
  at Object.exports.watch (C:\Users\srissel\.atom\packages\imdone-atom\node_modules\imdone-core\node_modules\chokidar\index.js:455:33)
  at Repository.repo.initWatcher (C:\Users\srissel\.atom\packages\imdone-atom\node_modules\imdone-core\lib\mixins\repo-watched-fs-store.js:39:29)
  at C:\Users\srissel\.atom\packages\imdone-atom\node_modules\imdone-core\lib\mixins\repo-watched-fs-store.js:21:14
  at C:\Users\srissel\.atom\packages\imdone-atom\node_modules\imdone-core\lib\mixins\repo-fs-store.js:38:16
  at FSReqWrap.oncomplete (fs.js:77:15)

Commands
     -3:36.8.0 command-palette:toggle (atom-text-editor.editor.is-focused)
  3x -3:31.6.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -3:29.8.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  4x -3:28.7.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -3:27.5.0 core:move-up (atom-text-editor.editor.mini.is-focused)
     -3:27.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -3:27.2.0 settings-view:install-packages-and-themes (atom-text-editor.editor)
     -3:23.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  2x -1:56.4.0 ctrl-last-tab:next (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
  4x -1:36.8.0 expose:toggle (div.settings-view.pane-item)
     -0:35.7.0 editor:newline (atom-text-editor.editor.is-focused)
  2x -0:24.4.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:19.8.0 core:save (atom-text-editor.editor.is-focused)

Config
{
  "core": {}
}

Installed Packages
# User
compare-files, v0.6.2
ctrl-last-tab, v0.2.0
expose, v0.4.0
highlight-selected, v0.10.1
imdone-atom, v1.1.10
language-groovy, v0.4.0
pretty-json, v0.4.1
Sublime-Style-Column-Selection, v1.3.0

# Dev
No dev packages

Same here.

Fixed by modifying uri with encodeURIComponent

Cheers!

Now I'm also getting this error when modifying the exclude regex in .imdone/config.json. Everything still works though.

@filipesilva Can you open a new ticket for that one?  It would help if I had the stack trace.  As a work around for excluding files you could create an .imdoneignore file.

I tried reproducing it right now, but I didn't get an error this time. I remember it was this exact error though, because it had a link to this issue. If I get it again, I'll try to gather more information.
The error just appeared once, and I restarted atom, and then the excludes worked.


add ppt2ec pept2go pept2funct to API

Implementation of pept2funct, pept2go and pept2ec API-endpoints
Original pull request by @pverscha on Wed Oct 03 2018 at 16:08.
Merged by @bmesuere on Tue Jan 15 2019 at 14:03.

I think it might be cleaner if you used jbuilder instead of Oj.dump.
jBuilder used Oj internally, so the performance should be identical.
Original comment by @beardhatcode on Wed Oct 03 2018 at 17:06.

@beardhatcode Thank you! I'll update the API-views accordingly.
Original comment by @pverscha on Wed Oct 03 2018 at 18:56.

Deployed on morty. A small remark, on https://morty.ugent.be/apidocs the new endpoints need to be added
Original comment by @bmesuere on Thu Oct 18 2018 at 14:46.

@pverscha there seem to be a few errors:
An ActionView::Template::Error occurred in api#pept2ec:

  undefined method `[]' for nil:NilClass
  app/views/api/api/pept2ec.json.jbuilder:4:in `block in _app_views_api_api_pept_ec_json_jbuilder__4084974500524691144_70132864415420'

-------------------------------
Request:
-------------------------------

  * URL        : https://morty.ugent.be/api/v1/pept2ec.json?input[]=AAAAA,AEEAAGVAIVK
  * HTTP Method: GET
  * IP address : <IP_ADDRESS>
  * Parameters : {"input"=>["AAAAA,AEEAAGVAIVK"], "controller"=>"api/api", "action"=>"pept2ec", "format"=>"json"}
  * Timestamp  : 2018-10-18 18:48:25 UTC
  * Server : morty
  * Rails root : /home/unipept/rails/releases/20181018123956
  * Process: 26827

A NoMethodError occurred in api#pept2funct:

  undefined method `[]' for nil:NilClass
  app/controllers/api/api_controller.rb:110:in `block in pept2funct'

-------------------------------
Request:
-------------------------------

  * URL        : https://morty.ugent.be/api/v1/pept2funct.json?input[]=AIPQLEVARPADAYETAEAYR&input[]=AAEVANADAIAAETTR
  * HTTP Method: GET
  * IP address : <IP_ADDRESS>
  * Parameters : {"input"=>["AIPQLEVARPADAYETAEAYR", "AAEVANADAIAAETTR"], "controller"=>"api/api", "action"=>"pept2funct", "format"=>"json"}
  * Timestamp  : 2018-10-18 18:56:13 UTC
  * Server : morty
  * Rails root : /home/unipept/rails/releases/20181018123956
  * Process: 26827

Original comment by @bmesuere on Thu Oct 18 2018 at 21:30.

Thanks! I'll try to fix them as soon as possible.
Original comment by @pverscha on Thu Oct 18 2018 at 22:03.

An ActionView::Template::Error occurred in api#pept2lca:

  undefined method `id' for nil:NilClass
  app/views/api/api/_pept2lca.json.jbuilder:1:in `_app_views_api_api__pept_lca_json_jbuilder___600379135471140884_70132563452480'

-------------------------------
Request:
-------------------------------

  * URL        : https://morty.ugent.be/api/v1/pept2lca
  * HTTP Method: POST
  * IP address : <IP_ADDRESS>
  * Parameters : {"equate_il"=>"true", "extra"=>"true", "names"=>"true", "input"=>["AVAAAVLGDSDAIQFVPTTGK", "ALEHGNVLLTGDEK", "DAFEAAGVDPDTDLSTWQNVDK", "DHVISVSNAPGLK", "ADYDLAVQK", "DIYPTLETAEGQDQALAK", "FTALQSGEIDMLS", "GLADAFATAYR", "AAEVANADAIAAETTR", "AASTASLEGTPGK", "GQLSNQAAVQR", "GFGFITEEGNNK", "EASTAELQEK", "DIPNVGEEALR", "IDGITEDIMSIALK", "EIANTASSDFYDGLENMK", "EEAIK", "DPAFFEPLSVATDK", "AVEVGSWQR", "GEFSANNQAPGK", "FLDLDPNNIESINVLK", "HVVDAGLAAGDGSNVGSVLYNR", "FAVAGGGGENAMTVLK", "GNFGYNAASEEYGDMLK", "CDIITSEPLINYR", "AGAWYSVEGER", "GISYEPVAFEK", "GYTSPYFVTNADK", "APGIQCAAGELATCLK", "DNLSIAINGGHISK", "GFGFITPAEGGNDLFVHYSEIK", "AGDQIISGADAPIK", "DGSYIINPTYSDLK", "EEVESEVNK", "HGDDQWHDIGK", "IETYTDPTTGASIEAQPNR", "ANGGLVTGADGIER", "AGANDPSEHVV", "IEDTSSDYDR", "AEEAAGVAIVK", "AGSVDLDEALFGLEPR", "GFAINEVIQLPK", "GEVVAVGPGK", "CNNCGDESELSR", "ANVEAFEAR", "FTMLNSGEGDILFR", "ELGYDMVGGAYR", "GQLPTNAGSSVVDDK", "DSPETDLTR", "FATENPDLLR", "ALQQSCLQAWK"], "controller"=>"api/api", "action"=>"pept2lca"}

Original comment by @bmesuere on Thu Oct 18 2018 at 22:49.

Sequences that are not found in the database, are not part of the @result`-variable` that holds all data that should be outputted by these API-endpoints. Because we iterate over @input_order(which does hold all requested sequences, also the ones that aren't present in the db) and query@result``, we get a NilClass exception.
My question is now if we should just omit the variables not found from the API-answer, or whether we should include them but set total_protein_count to 0 and return both an empty ec and go list for these peptides?
Original comment by @pverscha on Fri Oct 19 2018 at 08:05.

I think we don't return those sequences for the other calls, so I wouldn't return them here.
https://api.unipept.ugent.be/api/v1/pept2lca.json?input[]=DFDFDFDDF vs https://morty.ugent.be/api/v1/pept2lca.json?input[]=DFDFDFDDF
Original comment by @bmesuere on Fri Oct 19 2018 at 08:56.

Alright! I'll fix it right away :)
Original comment by @pverscha on Fri Oct 19 2018 at 09:25.

The issues mentioned above should all be fixed now :)
Original comment by @pverscha on Sat Oct 20 2018 at 13:49.


Required ports should include client connectivity to blob storage

The required ports section mentions connectivity from the Client to the CMG endpoint, however I believe connectivity from the Client device to blob storage should also be included.
Blob storage connectivity is mentioned on the "Internet access requirements" page for the CMG service connection point, but not the actual clients themselves.

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

ID: 778368d0-1054-678c-4d74-5dce1b5826c8
Version Independent ID: aaac7308-66e6-66f0-8248-14e1505c11a6
Content: Plan for cloud management gateway - Configuration Manager
Content Source: sccm/core/clients/manage/cmg/plan-cloud-management-gateway.md
Product: configuration-manager
Technology: configmgr-client
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @amandeepmand, I think you're correct. I have some other edits to make to the CMG content soon, I'll include this.


feat($route): add support for the reloadOnUrl configuration option

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature.
What is the current behavior? (You can also link to an open issue here)
When the path changes and the new URL maps to the current route, the route is reloaded.
See #14999 (and some of the issues mentioned there).
What is the new behavior (if this is a feature change)?
The user can determine that specific routes should not get reloaded, when the path changes and the new URL maps to the current route.
Does this PR introduce a breaking change?
No.
Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

Other information:
Enables users to specify that a particular route should not be reloaded after a URL change
(including a change in $location.path()), if the new URL maps to the same route.
The default behavior is still to always load the matched route when any part of the URL changes.
Related to #1699, #5860, #14999 (potentially closing the first two).
Fixes #7925.

I am not super happy with the API (reloadOnUrl is a little cryptic - as is reloadOnSearch). I would prefer something like:
reloadOnChange: {
  hash: true/false,
  search: true/false,
  url: true/false
}

But at this point I figured it is better to (a) keep consistent with the existing API and (b) not introduce multiple way to do the same thing. But we might want to consider deprecating the existing way and introduce a different API in a future version.

Btw, in the future we might want to make this more flexible by allowing the user to specify a function (or service) for determining whether to reload or not. This would allow to have a default value for the route, but overwrite it in specific cases.

Both features where the original reason for @davidreher and me to choose the now deprecated ngComponentRouter. We would love to see see these features added to ngRoute!

Also, considering that Angular 2's latest router re-uses components by default (afaik), it might be a good idea to re-use components by default as well (for 1.6 or 1.7).

So this PR is basically a sub-set of the old problem where you wan't to change the location but not let Angular do anything (like change / reload a route).
With it, you can now "change the location to something that would map to the same route (but with different route params)"
The problem I see is that a static route definition doesn't really make the following use cases simpler (#1699, #3789):

So our route is like /thing/:id. When creating a new thing they go to /thing/new. Once the thing has been successfully saved we want to change the route to /thing/1234

Or when someone enters the wrong title for a particular ID. See Stackoverflow, when you change the title but enter just the ID, it will correct the title portion of the URL to be correct.

If the route never reloads on url change, if you do /thing/5678, then it also doesn't change the route, and you'd have to manually do work in the routeUpdate event (e.g. fetching data), instead of relying on resolves.
So I think we either need a $location function that doesn't trigger route change (don't really like that, though) or a dynamic way to decide if a route should be reloaded.

The problem I see is that a static route definition doesn't really make the following use cases simpler (#1699, #3789)

This doesn't indeed cover #3789 (in a convenient way), but that sounds better handled with a redirection tbh.
Regarding #1699, I think this PR covers their exact usecase: You are on /thing/new, you create and save a new item (so at that point you have all the data you need for /thing/123), you change the URL to /thing/123 and the route doesn't get reloaded (including the resolves). If you need to also re-resolve the data, then you can handle that inside the controller (which by some is considered a better practice anyway).
--
WRT dynamically deciding whether a route should be reloaded or not:

Having the controller/component decide is not a good idea imo. This is something that needs to be decided on a route level, so should be in Route Definition Object.

Adding support for this by allowing a function or service as value of reloadOnSearch sounds like an interesting idea. It is still configurable on a per-route basis, but can be dynamic and the controller can have a saying via some DI'ed service.

Taking (2) one step further, we could introduce a new reloadStrategy property that accepts a service that implements the ReloadStrategy interface. This could replace both reloadOnSearch and reloadOnUrl. We could for example have built-in strategies for not reloading when the hash/search/path changes, but users could specify their own.
--

So I think we either need a $location function that doesn't trigger route change

In general, I believe $location should be kept out of this (unless we are talking about a url change that should not update $location's internal path/search/hash properties/state, which would be asking for serious trouble and abuse - but is a different discussion). If we are talking about ngRoute-specific behavior/features, it should be entriely included in ngRoute.

Any updates on this?

@miwillhite No, not at the moment.
To get some traction for this, you could test the patch and see if it would work for your use-case, or otherwise give some feedback on the behavior / implementation.
Btw, does ui-router have this functionality?

Thx, @Narretz!
Comments adressed. PTAL

I think you forgot to push the changes @gkalpak 👀

Ooops 😳 Definitely pushed now :smiley:

LGTM - maybe @petebacondarwin should take another look?

Fixed up and rebased.


Adapt to typescript-plugin approach

New version of Vue Language Tools is implemented using a typescript plugin rather than standalone server. We should support that approach.
(We shouldn't need to rush since it will take some time for it to iron out new issues)
Some ways of handling it:

Let user use LSP-typescript and manually set up the plugin per project
Bundle VLT plugin with LSP-typescript
Support some way of auto-registering plugins with LSP-typescript so that it's possible for this package to register the plugin automatically when installed. (Q: will it be OK to enable the plugin even for non-vue projects or could it cause issues?)
Like 3 but using a separate "LSP-typescript-vue-plugin" package (or whatever would be the appropriate name)

Is there any ETA when can we expect this?
It seems like issue with changes in related files is fixed with TS plugin approach.

As far as I understand, the plugin only handles standalone .ts/.js files and the script block within vue files. For the rest of the functionality (like style and some of the functionality in the template blocks) you still need to run the 2.x "volar" server.
So I'm not sure how we should go about it. Whether having LSP-volar should configure LSP-typescript plugin behinds the scenes or should we put that responsibility on the user by editing tsconfig or project settings (and maybe provide some helper commands to make that semi-automatic)...

As far as I understand, the plugin only handles standalone .ts/.js files and the script block within vue files. For the rest of the functionality (like style and some of the functionality in the template blocks) you still need to run the 2.x "volar" server on top of that.

Yes, that is correct. Both LSPs need to be active for Vue files, hence the selector field adjustments. I think this new approach is basically about reducing memory consumption between running multiple TS server instances and simplification of codebase on Volar side.

So I'm not sure how we should go about it. Whether LSP-volar should configure LSP-typescript plugin behind the scenes or should we put that responsibility on the user by editing tsconfig or project settings (and maybe provide some helper commands to make that semi-automatic)...

Completely automatic feels magical if it means that user-specific LSP-typescript settings get changed, I just think it would look weird if users settings get changed without any information (maybe some comment inside settings which explain why the change is there). If it can be done without user knowing that initialization options are changed then I think it’s good. Otherwise, helper seems okay approach, and even instructions in documentation are OK, but it’s definitely something power users know.
Are there any similar examples of these kind of changes?

I'm trying @niksy fork and have it working with by using the snippet above. However... is it just me or does getting that path to that node_modules dir really suck? I've ended up with an absolute path that includes a version number. If users had to fix that every time the plugin updated that would be painful.
/home/david/.cache/sublime-text/Package Storage/LSP-volar-next/20.12.2/server/node_modules/node_modules/@vue/typescript-plugin

btw i started looking at Vue 3.5's useTemplateRef does not figure out its own type in the current LSP-volar

Yes, unfortunately you need to use absolute path to plugin.
This could definitely be solved at LSP client level as mentioned by @rchl:

Whether LSP-volar should configure LSP-typescript plugin behind the scenes or should we put that responsibility on the user by editing tsconfig or project settings (and maybe provide some helper commands to make that semi-automatic)...

I've only been using it a few hours but everything seems fine so far

https://github.com/sublimelsp/LSP-vue now runs on latest version of Vue Language Server so I would consider this resolved even if it's currently not using the plugin approach.
I intend to get the plugin approach (hybrid mode) support but currently it's a bit trickly for few reason listed in https://github.com/sublimelsp/LSP-vue/issues/130


Add missing fields to post endpoint.

Please add to the GET /api/post these fields:

liked (if logged in user liked the post).
user avatar if the user has a photo and the full name to create a text avatar if the user doesn't have a picture.

Hi @silenceway,
Sure, I'll add the like and photo/avatar.
About the name, isn't that currently available through post.author.name, or did you mean something different?


Container::make called on factory definition doesn't have a way to pass in overriden value

I'll admit that I'm probably doing something wrong here but....here's what I'm trying to do:
$this->container->make(PGC::class, ['db_name' => $data['db']]);

where the definition looks something like this:
\Database\PGC::class => \DI\factory(function(Container $c) {
    return new \Database\PGC($c->get('db_host'), $c->get('db_user'), $c->get('db_pass'), $c->get('db_name'));
})

Now, the problem here is that, well, the get call will get whatever the container current holds as the db_name value. Which works fine except for when I want it to be called via make, where I have no way of getting at that overriden parameter.
I'm honestly not sure what the nice way of handling this would be, but having some way of getting at the specified parameters in the factory function would be nice, maybe as a function argument passed to the factory function?

Yes make() takes an array of values to inject by the parameter name.
I realize this feature is not documented well enough, and people are often confused. I should probably improve this.
Here is an example:
class Foo {
    public function __construct(LoggerInterface $logger, $filename) {...}
}

In that situation, parameters passed to make() need to match the name of the parameters:
$container->make(PGC::class, [
    'logger' => new ...,
    'filename' => '',
]);

The array values are not meant to override container entries.
It's not the first time someone tries to override container entries, so I think I will keep this issue open and try to find a solution for v5.

Yeah I realize it's not really intended behaviour, but this isn't the first
time I've wanted to use value injection this way. To get around this I've
been thinking I'll need to define some sort of config container object (or
since I'm using Hack, more likely a shape) to pass in to this object given
the number of settings it requires.
Actually, that's probably a cleaner solution than finding a way to coerce
configuration variables into the make() method. It might be better not to
allow overriding of factory functions because I honestly can't think of a
way to pass that in given what I know of current PHP-DI architecture.
On Wed, Feb 25, 2015 at 5:54 PM, Matthieu Napoli<EMAIL_ADDRESS>wrote:

Yes make() takes an array of values to inject by the parameter name.
I realize this feature is not documented well enough, and people are often
confused. I should probably improve this.
Here is an example:
class Foo {    public function __construct(LoggerInterface $logger, $filename) {...}}
In that situation, parameters passed to make() need to match the name of
the parameters:
$container->make(PGC::class, [    'logger' => new ...,    'filename' => '',]);
The array values are not meant to override container entries.
It's not the first time someone tries to override container entries, so I
think I will keep this issue open and try to find a solution for v5.
—
Reply to this email directly or view it on GitHub
https://github.com/mnapoli/PHP-DI/issues/231#issuecomment-76079239.

Yes after thinking about it I'm not sure either it's a good idea to allow that. I'll update the documentation though to make it clear how this feature works and what it allows. Thanks.


Cannot Add new Slide when there is no Slide in the Presentation.

Hello,  I found there is a Bug in ShapeCrawler.
I cannot Add new Slide if there is no Slide in the PowerPoint.
If there is no Slide in the Presentation Object, I cannot add new Slide any more.
For example, in the code below.
using System;
using System.IO;
using ShapeCrawler;

class Program
{
    static void Main(string[] args)
    {
        var pres = new Presentation();

        ISlide currentSlide = pres.Slides[0];

        pres.Slides.Remove(currentSlide);

        pres.Slides.AddEmptySlide(SlideLayoutType.Blank);

        string desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
        string pptFilePath = Path.Combine(desktopPath, "Text1.pptx");
        pres.SaveAs(pptFilePath);

        Console.WriteLine($"PPT has been saved to：{pptFilePath}");
    }
}

When I remove the currentSlide, pres.Slides.Count will be 0.
If I use pres.Slides.AddEmptySlide(SlideLayoutType.Blank);  ,
it will throw an Exception -- "Sequence contains no elements"
The Exception is located at System.Linq.Enumerable.First[TSource].

Therefore, I am sure that the Original Code of ShapeCrawler has some flaw.
It did not handle the situation that the current Presentation has no Slide(slide count = 0).

Hello,
thank you for the bug report.


fix for empty strings that were returnd as empty json objects

A fix for #213

Hello @vincic  - thanks a lot for your effort! :+1:
In order to get your PR merged I have to ask you to follow our Guidelines on Submitting a Pull Request and respect the steps listed there. The following steps are relevant for your PR:

Rebase/Squash your Commits into a single one (read more information in the guidelines)

@herom I think I managed to do it, not a nice task to squash commits that were already pushed.

Thanks a lot for your time & effort :+1:


feature for adding youtube videos

Is your feature request related to a problem? Please describe.

feature for adding youtube videos by id
Describe the solution you'd like

YouTube video url : https://www.youtube.com/embed/nkZOOK4wM28
YouTube link:       https://www.youtube.com/embed/
VideoID :           nkZOOK4wM28

add videos using video links

{%- include default/youtube-video.html link='nkZOOK4wM28' center=false -%}

youtube video config will be set in _data/conf/main.yml file

youtube:
  privacy: false
  default_center: true

if center is not provided to include, default_center setting in _data/conf/main.yml will be used.
if privacy set true www.youtube-nocookie.com will be used.
otherwise www.youtube.com will be used for youtube video links.

Describe alternatives you've considered

Additional context

feature adding in PR #53


Incorporate new improvements from upstream in the React UI

In past few months there have been a sizable amount of UI related improvemnts in the upstream Prometheus code. A lot of those improvements make sense for Thanos as well.
Here's a list of PRs (in no specific order) that I think we should take a look at:

[ ] Fix styling bug for target labels with special names. prometheus/prometheus#7902
[ ] Remove the need of pathPrefix in the React UI. prometheus/prometheus#7979
[x] ~Add key to StatusWithStatusIndicator component in loop. prometheus/prometheus#6879~ Fixed in #3656
[ ] Fix react UI bug with series going on and off. prometheus/prometheus#7804
[ ] Support new duration format in graph range input. prometheus/prometheus#7833
[x] ~Fix detail swatch glitch. prometheus/prometheus#7805~ Fixed in #3676
[x] ~Fix button display when there is no panels. prometheus/prometheus#8155~ Fixed in #3694
[x] ~React UI: Change "metrics autocomplete" with "autocomplete". prometheus/prometheus#8174~ Fixed in #3575

Most of these are pretty straightforward and small changes and should be easy for first time contributors.

can you assign this issue to me @prmsrswt

@subhangi2731 There are a lot of small tasks here, so you can pick something you'd like to work on and just comment here that you are working on it. That'll be sufficient to reduce duplicate efforts imo.

@prmsrswt 👋🏻
I am working on Fix button display when there is no panels. 🐈

@prmsrswt I'll open a PR for Remove the need of pathPrefix in the React UI. soon.

@prmsrswt I will work on the issue
fix detail swatch glitch

I will open a PR for Support new duration format in graph range input

This was closed by accident. Reopen it now.

We also want to add the new editor. Should we add it here or open another issue?

still valid


🐞 Bug: Highlight is set to one color

Before reporting:

[X] Ensure that the issue is reproducable on the main branch.
[X] Ensure that there isn't an issue on this(either open or closed).

Problem:
When using headers, either with #, === or --- the color is always red.
Same for block quotes.
When viewing highlights with Telescope they are set to this red color.

It was working 2 days ago.
Let me know if you need more info or if you have any suggestions to debug it if it is my own config.
Steps to reproduce the issue:
Open a markdown file with headings
Expected behavior:
No response
Neovim version:
0.10.1

That has nothing to do with the plugin.
Unless the colorscheme you use explicitly sets the @markup.heading or @markup.heading.n.markdown to a color this wouldn't happen.

A bit of context,
Before the plugin wouldn't directly use @markup.heading. This came with the flaw that the previews & the tree-sitter highlights wouldn't match. This is the reason this was changed.

I am experiencing the same issue with Catppuccin. In insert mode, the colors display correctly, but in normal mode, is entirely white.

I am experiencing the same issue with Catppuccin. In insert mode, the colors display correctly with tree-sitter, but in normal mode, is entirely white.

What does :hi @markup.heading.1.markdown say?

Also, you should check markdownH1 & @markup.heading highlight groups since their colors are used.

Also, a screenshot of the issue would be great!

Setup:
{
    "OXY2DEV/markview.nvim",
    dependencies = {
        "nvim-treesitter/nvim-treesitter",
        "nvim-tree/nvim-web-devicons",
    },
    config = function()
        local presets = require("markview.presets")

        require("markview").setup({
            filetypes = { "markdown", "quarto", "rmd", "Avante" },
            checkboxes = presets.checkboxes.nerd,
            headings = presets.headings.marker,
        })
    end,
}

Normal mode:

Insert mode:

:hi @markup.heading.1.markdown

markdownH1

@markup.heading

I can't reproduce the issue. I am also using catppuccin.

@rachartier maybe try creating a minimum repro.
Create a repro.lua file and paste this in it.
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
    spec = {
        {
            "nvim-treesitter/nvim-treesitter",
            opts = {
                ensure_installed = { "markdown", "markdown_inline" }
            }
        },
        {
            "OXY2DEV/markview.nvim",
            lazy = false
        },
        {
            "catppuccin/nvim",
            priority = 1000
        }
    }
})

vim.cmd.colorscheme("catppuccin");

Then run,
nvim -u repro.lua test.md

And see if the issue persists.

Thanks, I've found the issue. Maybe @snikoletopoulos does have the same issue:  I was using lazy loading on catppuccin/nvim with event = VimEnter and by removing it, everything is now working perfectly.
Thank you !

I'm having a similar issue:
I'm using onedark and I wanted to use custom colors for H3, H4, H5.
In my usual config, the headings use the treesitter highlighting, so I overrid the treesitter @markup.heading.4... hl-groups
But markview inherited the colors from the markdownH4,... highlight group, so it rendered them the old colors.
Maybe I'm doing something wrong, but I managed to reproduce it with this config:
repro.lua:
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
    spec = {
        {
            "nvim-treesitter/nvim-treesitter",
            build = ":TSUpdate",
            config = function()
                local configs = require("nvim-treesitter.configs")
                local opts = {
                    ensure_installed = { "markdown" },
                    highlight = {
                        enable = true,
                    },
                }
                configs.setup(opts)
            end
        },
        {
            "OXY2DEV/markview.nvim",
            lazy = false
        },

        {
            "navarasu/onedark.nvim",
            lazy = false,
            config = function()
                require('onedark').setup {
                    style = 'warmer',
                    highlights = {
                        -- ["markdownH4"] = { fg = "$green" },
<EMAIL_ADDRESS>= { fg = "$green" },
                        -- ["markdownH5"] = { fg = "$blue" },
<EMAIL_ADDRESS>= { fg = "$blue" },
                        -- ["markdownH6"] = { fg = "$dark_cyan" },
<EMAIL_ADDRESS>= { fg = "$dark_cyan" },
                    },
                }
            end
        },
    }
})

vim.cmd.colorscheme("onedark");

Sorry if this would have been better as a new issue @OXY2DEV


Update AboutUs

AboutUs.md updated with team's pictures, roles and responsibilities.
Empty markdowns for portfolios also created in docs/team.

Codecov Report

Merging #1 (fd0b83f) into master (d28ff3d) will not change coverage.
The diff coverage is n/a.

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

Continue to review full report at Codecov.

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


Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Installed container-diff on macOS successfully:
$ curl -LO https://storage.googleapis.com/container-diff/latest/container-diff-darwin-amd64 && chmod +x container-diff-darwin-amd64 && sudo mv container-diff-darwin-amd64 /usr/local/bin/container-diff

Can confirm docker is running:
$ docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
952639173f37        example             "npm start"         13 minutes ago      Up 13 minutes       8080/tcp            nostalgic_engelbart

$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
<none>              <none>              bcb283e22244        4 minutes ago       675MB
example             latest              976014d212af        13 minutes ago      675MB

However, getting error when attempting to get image diff:
$ container-diff diff daemon://976014d212af daemon://bcb283e22244
Starting diff on images daemon://976014d212af and daemon://bcb283e22244, using differs: [apt]
Retrieving image 976014d212af:latest from source Local Daemon
WARN[0001] Diff may be inaccurate: Error loading image from docker engine: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Retrieving image bcb283e22244:latest from source Local Daemon
WARN[0001] Diff may be inaccurate: Error loading image from docker engine: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Computing diffsERRO[0001] Error getting diff with AptAnalyzer: stat : no such file or directory
ERRO[0001] Could not retrieve diff: Could not perform diff on {  {{[] [] map[] [] map[]  map[]} []} 1} and {  {{[] [] map[] [] map[]  map[]} []} 1}

Any help is appreciated, thanks!

Hey @miguelmota, sorry you're having this issue. Can you paste the output of docker version? At first glance this seems like it might be a Docker configuration issue on your machine, I'm unable to reproduce it on any of my environments.

@nkubala here's the output of docker version
$  docker version
Client:
 Version:       18.02.0-ce-rc2
 API version:   1.36
 Go version:    go1.9.3
 Git commit:    f968a2c
 Built: Thu Feb  1 00:03:15 2018
 OS/Arch:       darwin/amd64
 Experimental:  false
 Orchestrator:  swarm

@nkubala server wasn't running.  I must be doing something wrong

@miguelmota sorry for the super late reply. I see that you're trying to use the docker image ID for your image, which container-diff doesn't currently support: https://github.com/GoogleContainerTools/container-diff#image-sources
Not sure if this is related to your issue, but can you try using the image name directly and see if that works?
container-diff analyze daemon://node_app:latest

Please reopen if that doesn't work.


how to change the size of  a car model easily?

i know how to change urdf file,but it seems hard to adjust the parameters,i do not know the rules about tags like mul ，mass ，and how the size will influence the behavior。 so， i want to build a larger car based on your car.

As far as I know, there is no easy way of doing this, you have to take care of every parameter. If changing the physical size, you also need to calculate and change the collision size, mass, joint position etc.  and  tags are for defining friction coefficient in gazebo, just leave them as they are or delete them is also fine. If you need to change the size very often, you can use constants in urdf file, to avoid changing multiple occurrences of a same dimension.

ok，i see.
thx.


Rename dims independently from coords?

I have a dataset that looks like this:
<xarray.Dataset>
Dimensions:  (lat: 226, lon: 261, time: 7300)
Coordinates:
  * lat      (lat) float32 -32.0 -31.9 -31.8 -31.7 ... -9.700001 -9.6 -9.5
  * lon      (lon) float32 132.0 132.1 132.2 132.3 ... 157.7 157.8 157.9 158.0
  * time     (time) object 1980-01-01 15:00:00 ... 1999-12-31 15:00:00
Data variables:
    rnd24    (time, lat, lon) float32 ...

Problem description
I would like to be able to rename the dataset dimensions, without renaming the coordinates.
Expected Output
<xarray.Dataset>
Dimensions:  (y: 226, x: 261, time: 7300)
Coordinates:
  * lat      (y) float32 -32.0 -31.9 -31.8 -31.7 ... -9.700001 -9.6 -9.5
  * lon      (x) float32 132.0 132.1 132.2 132.3 ... 157.7 157.8 157.9 158.0
  * time     (time) object 1980-01-01 15:00:00 ... 1999-12-31 15:00:00
Data variables:
    rnd24    (time, y, x) float32 ...

As far as I can tell, there is no way to do this. I can rename the existing dims/coords to x/y, and then manually create new coordinates that are copies of x and y, which gets me to:
<xarray.Dataset>
Dimensions:  (time: 7300, x: 261, y: 226)
Coordinates:
  * y        (y) float32 -32.0 -31.9 -31.8 -31.7 ... -9.700001 -9.6 -9.5
  * x        (x) float32 132.0 132.1 132.2 132.3 ... 157.7 157.8 157.9 158.0
  * time     (time) object 1980-01-01 15:00:00 ... 1999-12-31 15:00:00
    lat      (y) float32 -32.0 -31.9 -31.8 -31.7 ... -9.700001 -9.6 -9.5
    lon      (x) float32 132.0 132.1 132.2 132.3 ... 157.7 157.8 157.9 158.0
Data variables:
    rnd24    (time, y, x) float32 ...

But it doesn't seem to be possible to re-assign the new coordinates as the indexes for the existing dims.
In this case, it may seem a bit redundant, because the coordinates are equal to the grid. But I'm trying to get this output to work with code that also deals with other datasets that have non- rectilinear grids.

Yes, this would be really nice. We should have a separate rename_dims() method that only renames dimensions.

Is there even any work-around at the moment? I could try a pull request, if I could figure it out.

I am looking into this, but first I am making sure I understand the relationship between coordinates and dimensions. Could you give me an example of when you would use this functionality?

Have you tried using the xarray.dataset.swap_dims method?

Is this what you did^^ ?

For example, you might have a rectilinear grid in a non-geodetic coordinate system, for example a rotated pole:
Dimensions:       (period: 7, x: 3, y: 3)
Coordinates:
    height        float64 2.0
    lon           (y, x) float64 137.6 138.1 138.6 137.6 ... 137.7 138.1 138.6
    lat           (y, x) float64 -21.71 -21.73 -21.74 ... -20.83 -20.85 -20.86
  * y             (y) float64 7.92 8.36 8.8
  * x             (x) float64 176.5 176.9 177.4
  * period        (period) object '1961-1980' '1981-2000' ... '2081-2100'
Data variables:
    loc           (period, y, x) float64 311.2 311.4 311.2 ... 316.0 316.0 315.6
    scale         (period, y, x) float64 1.231 1.223 1.192 ... 0.8923 0.8934
    shape         (period, y, x) float64 0.4358 0.4261 ... -0.001062 0.009387
    rotated_pole  |S1 b''

Obviously this case is a little more complicated, because x/y and lon/lat don't have a one-to-one correspondence. But I want to be able to write code that works with both cases, ideally without special casing stuff. Being able to have separately named dim and coordinate variables would help a lot.
However, now that I look at this example, I guess in my case I have both x/y and lat/lon in the coordinates anyway, so maybe I should just duplicate them, with different names.

Should we close this issue?

I think swap_dims solves many of these use-cases, but it would be better to have a rename_dims method that worked more directly.

I will submit a pull request to add separate rename dims and rename coords functions in a day or two.

Created pull request #3042

This issue can be closed, and is addressed in pull request #3045

Hi @jukent, if you edit the first comment of your pull request you should be able to change it to Closes #3026 which will automatically close this issue when that PR is merged.


Implement more anki-connect api calls

I am hoping to use this package in my project (seen here https://github.com/dlangevi/read-chinese) it was previously all written in javascript but with the port over to go, I need to implement some additional anki-connect api calls.
I have tried to keep up the standard of testing you started with.
The one decision I made which may be undesired is merging the anki-connect calls findNotes and notesInfo into a single function here (same with findCards and cardsInfo). I would prefer to keep it this way because I would assume normally this is what people would want, but would be happy to split it up if we are trying to mirror the anki-connect api as closely as possible
First time contributing to open source, so any feedback welcome

The one decision I made which may be undesired is merging the anki-connect calls findNotes and notesInfo into a single function here (same with findCards and cardsInfo).

I do not mind your decision. One alternative implementation could be to add a method called Search which could do findNotes and return the cardIds, Search can then be consumed by Get combining findNotes and notesInfo just like you have implemented it currently. Something like this:
func (nm *notesManager) Search(query string) (*[]string, *errors.RestErr){
        noteIds, restErr := post[[]int64](nm.Client, ActionFindNotes, &findParams)
	        if restErr != nil {
		        return nil, restErr
	        }
        return noteIds, nil
}

func (nm *notesManager) Get(query string) (*[]ResultNotesInfo, *errors.RestErr) {
	findParams := ParamsFindNotes{
		Query: query,
	}
	noteIds, restErr := nm.Search(query)
	if restErr != nil {
		return nil, restErr
	}
...

This way Search could be used independently. I am not sure of a use case for this but it's always nice to make it a bit more modular.

Please make sure all lines are covered by test cases. Also make sure to update the README file.

I like your suggestion, will change the api to be more like that

I was wondering if it is alright how I have directly returned restErr instead of checking it for nil first. Not sure if this goes agains a golang convention, but it seems more straightforward to directly return the error

Hey I see that you are not very active on Github lately. I would be happy to take more responsibility for this repo if you are not interested in being the lead maintainer going forwards. For now I will just continue make more changes on my fork and if you every log in again and want to figure something else out let me know.

I have now extensivly rewritten the testing framework to include verification of http requests being generated by the client. At this point it should be much faster for me to write new api methods and verify they conform to the expectations of anki-connect

Sorry was on a long vacation :)


Move Extra_field out of Lockfile

This is strictly a refactoring and a small one but it was necessary for the work I am currently doing on reproducible lock and thought it might also be of use for #234!
This should make rebasing either of these features easier along with reducing the size of the PRs so it seemed worthwile to extract it to its own PR.

As a follow up to this in my PR, I'll add a Source_opam_file module to regroup all utility functions for target packages opam files, including parsing extra fields, merging them etc... but this doesn't make sense on its own so I did not include it.


[Feature]: Clear store values

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
As an app developer, I can already:

store and retrieve values across the application.
update the value of store variables

As an enhancement, I would like to remove("clear" or "reset") the keys from the store.
There are two aspects to this:
Clear entire store
I should be able to remove all store variables to initial by calling a function like appsmith.store.clearAll()
Clear single variable
I should be able to remove a specified variable by calling a function like appsmith.store.clear(<>)
Why should this be worked on?
This simple features rounds off the storing of global variables, by allowing a mechanism to clear or reset them. Users have asked for this feature several times on our support channel.
Note
The syntax for functions clear and clearAll is only for illustration, let us find the most effective way to present these functions.

Related: #7827

@rohan-arthur should the function be at a global level to be consistent with storeValue? Otherwise, I feel this function signature is going to be confusing to users. Or we introduce storeValue underneath appsmith.store as well and deprecate it at the global level

From here

[x ]  Appsmith users can use storeValue(key: string, value: any)  to create a store variable and assign any value to it using this function.
[x ]  Appsmith users can use storeValue("userID", undefined)  to reset the value of a store variable.
[ ] Appsmith users can use clearValue('keyName') to delete a store variable from the memory.
[x ] Appsmith users can use {{ appsmith.store.key }} to reference/bind the store variable inside the application.

Stats

Stat
Values

Reach
5000

Effort (months)
<>

This doc documents all the steps to add global functions.


Parser Fails to log a warning when parameters are duplicated

According to the specification.
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#path-item-object
The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined at the OpenAPI Object's components/parameters.
But when a parameter is duplicated, the parser fails to throw a warning message.

closed by #960


Ten Things You Shouldn't Still be Doing in 2016

@jpmedley had this idea to maybe capture web dev practices that were once best practices but should be avoided in 2016. @ebidel has been thinking about some Lighthouse audits in this space and has a great doc of newer best practices that could fit into a guide here.

Where would this live? I'm not I'll have time to author new content for the sprint, but I think we can think about how this connects with DoBetterWeb ad supplements content in written form.

Untagging this for the the hackathon.


Subspecies

This combines the subspecies into their species-level category, like we discussed in #35.  It's not the nicest code I've ever written, but I'm not sure if there's a better way.
(Note that this PR is based off the branch in #36)

I think this branch is ready for code review. Combining subspecies takes 3 minutes on my laptop, but it's probably not worth it to find a faster way, since we just need to run it once-ish.

Thanks @davharris. Since you branched this off of #36 and Github isn't very smart in that context (as you can see the earlier commits are still in this PR even though they're already merged) can you close this and open a new PR from the same branch. Thanks.


tutorial remix and metamask with rsk testnet

What

Create new tutorial Using Remix and Metamask with RSK testnet.
Add docker install instructions at _rsk\node\install\docker.md (copied from _quick-start\step1-install-rsk-local-node.md)
Little improvements at _quick-start\step1-install-rsk-local-node.md

Why

The new tutorial was presented in Denver and Chile.

Refs

no Refs

@solangegueiros for next time can try to update the history of github to have less commits. Try to check the command git squash.

@jonathansmirnoff Not an issue - Github has this feature:


Architect Level blueprints

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6596e2e6f4cd52114d7eb20e--harness-developer.netlify.app

@ravilach / @KMarquart89 : Is this PR still relevant with change to University? It's a few months old.

CC @KMarquart89 can you validate when you have a chance please. Not sure if this was missed to merge or just a draft at some point. Thanks!


Change verbiage to "Plot mode" on scatter (& other places where plot mode exists)

Current verbiage says "Plot modes" but the singular "Plot mode" is more appropriate. Please update, thanks!

looks good, thanks DK!


Windows Vs Linux Performance Difference

Has anyone else ever taken the exact same dataset with the same bounding boxes and trained on Linux and run in Linux vs trained in Windows and running in Windows?
If so, did you witness a performance difference?
I'm getting thousands of boxes in Windows when I lower the confidence but that is not happening in Linux.  In Linux I'm getting logical detections but in Windows the detentions are mostly illogical.
Curious if anyone else has witnessed this.
Thanks

This is a repeat of the same question you had on the old AlexeyAB repo.  :(  As I wrote to you there, I do this often, both Windows and Linux.  It works on both, as well as on ARM devices as well.
I also have some sample datasets available from the FAQ where people have used to train on both Windows and Linux.  These are often discussed on the discord channel.  No-one has reported the problems you talk about here.
Run darknet --version to show us the version you're running, and also post the exact command you are using to train.

Can you provide more details or at least an example of your configuration and data files, and example outputs?  You are broadly saying "it doesn't work (for me)" and leaving a massive amount of work to someone else to either try and prove that it does, or guess at what your issue might be.

No new comment in 4 months.  Closing.
If you have more information, please re-open with the necessary details.