Alternative Schema and Custom Security Schemes

Added Alternative Schema and Alternative Schema Object.

Good stuff. @darrel_miller there is an implication in DEVELOPMENT.md that a draft feature won't be promoted until there has been successfull pilot implementations / feedback. Do we know of any for alternativeSchemas?

From TSC meeting,

Do we want to specify that anyOf fails if none of the alternateSchemas are processable?
Do we want to enforce sequential processing of anyOf?  Do we need a new keyword?
Should we rename type to schemaType to avoid confusion with the normal schema type keyword?

Action:

Henry will summarize what the JSON Schema anyOf behavior to ensure we attempt to remain consistent.

@darrelmiller schemaType 👍

OK, regarding anyOf, mostly this requires defining the behavior of alternativeSchemas clearly in a way that produces a sensible reaction with anyOf's semantics.  This all is framed in terms of the three basic JSON Schema keyword behaviors: Assertions, Annotations, and Applicators (and if anyone has a better name than "applicators", feel free to suggest- it need not start with "a").
For those not inclined to dive into the spec:

Assertions produce a boolean result
Annotations attach an arbitrary value (such as a title string, or an indication that a value is read-only) to a location in the instance
Applicators apply one or more other schemas, which may either be present inline as subschemas or referenced using URIs, to some part of the instance, and optionally combine or modify the results based on some sort of rules (e.g. in the case of anyOf, OR the assertion results and keep all annotations)

You generally want to evaluate assertions first, because if you fail an assertion you don't need to process the applicators or annotations.
anyOf applies its subschemas to the current instance location (the one the schema object containing the anyOf was being applied to), and logically ORs the assertion results.  Annotations are kept from all subschemas that successfully validated.  Since anyOf is not ordered (despite using a list), the annotations part means that you have to check all branches, not just until you find the first one.  This will be important for OAS when we add code generation annotations.

So:
alternativeSchema/type is more or less an assertion- it passes if the implementation knows how to handle that type of schema.  Most assertions assert things about the instance, but $vocabulary in draft-08 will also assert things about what the implementation is or is not able to handle.
alternativeSchema/location is an applicator, applying the referenced schema to the current location.  Presumably, most schema systems will produce a boolean validation result.  We can say that those that do not perform validation always return true, just to make the handling consistent for people writing and using alternative schema processing plugins.
If alternativeSchema/type is JSON Schema, all the usual JSON Schema rules about annotations apply.  Otherwise, if the schema system has any vaguely analogous mechanism for returning some sort of data, that data becomes alternativeSchema/location's annotation result.  This is assuming that collecting annotations is, at some point, of interest to OAS e.g. for code gen.
The behavior of anyOf: [{alternativeSchema: ...}, {alternativeSchema: ...}, ...] we end up with here is that schema validation fails if none of the alternatives are recognizable, or none of the recognizable ones passed validation with the alternate schema.
I would say that this is correct.  If an API designer wants to allow not recognizing any of them, either because a no-op is fine or because there are also OAS-native schema keywords to evaluate, then they can just have one more branch of the anyOf that has the OAS-native schema keywords in it.  Or if a no-op is fine, just add an empty schema {} to the anyOf, in which case it's guaranteed to always succeed.

The Web Feature Service (ISO 19142:2010) is a Web Service which allows clients to discover and access spatial/temporal objects (Features).  Version 3.0 of the WFS is based on OpenAPI.  I have received some feedback from the implementors of this standard relating to alternative schema: 1) Peter Vretanos, Cubewerx, "Our WFS 3.0 supports numerous output formats.  Some of these have associated schema descriptions that are not easily mapped into the JSON-Schema that OpenApi uses.  Actually, in some cases the schema is not expressed in JSON or XML at all (e.g. DTD or SQL DDL) making it impossible to describe resources using OpenAPI's existing mechanisms.  Having the ability to reference an external schema to describe such resources would be a big plus for us!" 2) Andre Aime, GeoSolutions, "for INSPIRE compliant WFSs the ability to refer to an external standard schema is pretty much a requirement"  NOTE: INSPIRE is the European Union directive to create a European Union spatial data infrastructure based on Web standards.  See https://inspire.ec.europa.eu/

Added Custom Security Schemes per our discussion at the last meeting.

Added Custom Security Schemes per our discussion at the last meeting.

@cmheazel It may be better to add that as a separate PR, thus they can be merged independantly, and we can guarantee easy reversion if any problem is later found.

@MikeRalphson Will do.  Can't get it done for Thursday though.

No problem.

@webron Needs to comment on this during his long holiday break.

We aren’t updating alternative schema until #1977 is in, and it may well stay because in the future JSON Schema v1.0 will be different from the OpenAPI JSON Schema vocab pegged to 2019-09.
On Thu, Nov 7, 2019 at 11:47, Roberto Polli<EMAIL_ADDRESS>wrote:

@ioggstream commented on this pull request.

In versions/3.1.0.md:

+```yaml
+schema:

type: array
items:
alternativeSchema:

   type: jsonSchema

   location: ./real-jsonschema.json

+```
+
+##### Alternative Schema Registry
+
+It is important that there is a common understanding of the values which can be used to populate the alterative schema "type" property. An registry of alternative schema types is hosted at https://spec.openapis.org/registries/alternative-schema. This register serves as a controlled vocabulary which should be used to populate the "type" property.  The Inital contents of the registry include:
+
+Name | Link | Description
+---|:---:|---
+jsonSchema | https://spec.openapis.org/registries/alternative-schema#jsonSchema | JSON schema documents
If next OAS will use jsonSchema this could be removed, right?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.


Show "Actively Traded Price" using OSBuddy API.

Since I switched from OSBuddy to Runelite, I have missed the "Actively Traded Price" from OSBuddy.
This is my attempt to bring it to Runelite.
Currently it is dependent on OSBuddy API. However, this can could be changed later when/if Runelite starts gathering data about Grand Exchange buy/sell offers.

@Creestab as it's not merged with the main repo, you'll have to do the following. (I'll presume you have a working knowledge of the terminal)
You want to add diblaze's repo as a remote
$ git remote add diblaze https://github.com/diblaze/runelite.git

Afterwards, you want to then want to fetch his commit's
$ git fetch --all

You should see some information regarding his branches, finally you can checkout to his branch
$ git checkout diblaze/feature/grand_exchange_offer_average

Then when you open intelliJ it should say you're on that branch and you can compile and run the client and it'll have that feature enabled.

Someone needs to finish this PR before I die

Needs rebase. (I want to merge this into my local build)

Implemented in #3810


get linux build running

getting linux changes merged to dev brancg

projects for lattice, getting started and AVX512Dance  should build on linux


Initial code copied from ilib v14.14.0

made into a hybrid package right away
all unit tests pass on node 10 to 16
all unit test pass on chrome and firefox with webpack
depends on new ilib-istring, ilib-ctype, and all the other ilib-* ESM modules

Checks will not pass until ilib-istring and ilib-localedata are published.

@gouniLee the other packages are published, so this one is ready to review now


Dev/chemtransforms chirality

Adds chirality to ChemTransforms
Fixes output ordering of replaceCore.  Now uses core ordering not molecule ordering.
Breaking change when replaceDummies=False and labelByIndex=True, the dummies in the output are labelled with the dummy index in the core.  Previously they were labeled by the atom they were attached to.

Just a quick note that these basic tests look good:
Out[4]: '[1*]OC.[2*]NC'

In [5]: nm = Chem.ReplaceCore(Chem.MolFromSmiles('C1O[C@@]1(OC)NC'),Chem.MolFromSmarts('C1O[C@]1(*)*'),replaceDummies=False, useChirality=True);Chem.MolToSmiles(nm,True)
Out[5]: '[1*]NC.[2*]OC'

In [6]: nm = Chem.ReplaceCore(Chem.MolFromSmiles('C1O[C@@]1(OC)NC'),Chem.MolFromSmarts('C1O[C@]1(*)*'),replaceDummies=False, useChirality=True);Chem.MolToSmiles(nm,False)
Out[6]: '[*]NC.[*]OC'

In [7]: nm = Chem.ReplaceCore(Chem.MolFromSmiles('C1O[C@@]1(OC)NC'),Chem.MolFromSmarts('C1O[C@]1(*)*'),replaceDummies=False, useChirality=False);Chem.MolToSmiles(nm,True)
Out[7]: '[1*]OC.[2*]NC'

I think this is ready to go after the two bits of debugging output I flagged are commented out.

When do you sleep?  :)


Add depencency installs for Ubunut 24.04 to install-linux

Closes #23
Adds dependency installs for Ubuntu 24.04

Does this also fix #74 ?

I believe it would be better if this would be integrated in the install-linux script, with detection for Ubuntu

I believe it would be better if this would be integrated in the install-linux script, with detection for Ubuntu

OK i can work on that, later today

Does this also fix #74 ?

I do not belive so Ubunut 22 seems to use too old of a GTK version

I just cleaned up the README.md and made it smaller and cleaner. It would be nice to do it all in the install-linux file, but the problem is that there are a LOT of difrent linux distros out there and a lot of the don't have the same libraries avalibal in thei repos (or are but use a differnt name).

If you prefer I can implement it in install-linux, will try this afternoon

If you prefer I can implement it in install-linux, will try this afternoon

Yeah. You could check with commands what version of Ubuntu the user is running and run these

If you prefer I can implement it in install-linux, will try this afternoon

Yeah. You could check with commands what version of Ubuntu the user is running and run these

ok will do

Ok its ready and works.

I have two questions about this: why is Rust getting installed from outside of apt and why doesn't the apt-get command use the -y argument

I have two questions about this: why is Rust getting installed from outside of apt and why doesn't the apt-get command use the -y argument

So apt always contains old versions of rust and because sometimes people want to see dependencies before install


chore: fix dependabot alerts

Description of changes

remove eslint deps and .eslintrc.js
update commitlint and related deps
remove pinned yaml version

Issue #, if available
NA

Description of how you validated changes
Ran unit tests locally, integ tests via CircleCi
Checklist

[x] PR description included
[x] yarn test passes
[ ] Tests are [changed or added]
[ ] Relevant documentation is changed or added (and PR referenced)

Codecov Report

Merging #223 (eeeb6b1) into main (ef5d82f) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #223   +/-   ##
=======================================
  Coverage   43.99%   43.99%
=======================================
  Files          16       16
  Lines        1273     1273
  Branches      172      172
=======================================
  Hits          560      560
  Misses        713      713

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


mail tracking

I use Bananatag and MailTrack for gmail to track emails. I didn't see those on your list.

You can make a pull request https://github.com/lockfale/OSINT-Framework/edit/master/public/arf.json
, instead of creating issues

Added bananatag but not mailtrack. MailTrack's site seems dead even though the plugin is still available.


Can't build JAMI?

From @colin-combe on February 1, 2016 15:9
When I try to build JAMI ("mvn -U clean package" from psi-jami directory) it fails.
Failure occurs in the uniprot module.
Failed tests have following in common:
Could not access HTTP invoker remote service at [http://www.ebi.ac.uk/uniprot/remotingAPI/remotingAPI/uniprotPagingService];
Anyone know what this is about?
Copied from original issue: MICommunity/psimi#12

Which part package of JAMI are you using? JAMI is still using the 'old' UniProt JAPI, which has been retired from last month on. We need to migrate it to the new one.

From @colin-combe on February 2, 2016 8:49
On 01/02/16 16:21, Maximilian Koch wrote:

Which part package of JAMI are you using?

I was checking if I could build it all by running maven from the
psi-jami directory.

JAMI is still using the 'old' UniProt JAPI, which has been retired
from last month on. We need to migrate it to the new one.

I don't know how essential this uniprot module (uniprot bridges?) is in
JAMI, we could comment out building that module if the other things will
still work?
C
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

I have been updating all the pom.xml's in master. They were pointing to unitprot-kraken from 2015.02, which isn't available anymore. I have changed the version to RELEASE, which is pointing to the latest release of it. Anyway, we need to change this on some point to the new JAPI: http://www.ebi.ac.uk/uniprot/japi/index.html
But you should be able to use JAMI now. ;-) But you won't be able to receive any new proteins from now on.

From @colin-combe on February 2, 2016 16:24
Thanks Max - now I have the strange error shown below, it says UnknownHostException for "www.ebi.ac.uk" - any ideas whats wrong?
C

Test set: psidev.psi.mi.jami.bridges.uniprot.UniprotGeneFetcherTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 33.096 sec <<< FAILURE!
test(psidev.psi.mi.jami.bridges.uniprot.UniprotGeneFetcherTest)  Time elapsed: 33.094 sec  <<< ERROR!
org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://www.ebi.ac.uk/uniprot/remotingAPI/remotingAPI/uniprotPagingService]; nested exception is java.net.UnknownHostException: www.ebi.ac.uk: Name or service not known
at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:216)

From @colin-combe on February 2, 2016 16:24
Ug, sorry about the formatting...

From @colin-combe on February 3, 2016 11:31
Thanks for your continued help with this Max; I've made a ticket for the using-new-JAPI issue mentioned above (issue #14).
Re. building JAMI - I am using "mvn -U clean install" which I thought would clear out old dependencies. (Incidentally, the two dependencies you mention above are the same - I guess you mean it should be uk.ac.ebi.uniprot.kraken:uniprotjapi:RELEASE .)
However, on a different computer today... and I have a different error (compilation error rather than test failure):-
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project jami-europubmedcentral: Compilation failure
[ERROR] /home/colin/test/psimi/psi-jami/jami-bridges/jami-europubmedcentral/src/main/java/psidev/psi/mi/jami/bridges/europubmedcentral/EuroPubmedCentralFetcher.java:[89,47] error: method searchPublications in interface WSCitationImpl cannot be applied to given types;

My java and mvn version info is:
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /home/username/jdk1.7.0_75/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-4-686-pae", arch: "i386", family: "unix"

Any help much appreciated,
cheers,
c

Mhm.. that is odd. I can run the test without any problem. Can you please check that you don't have a the dependency: uk.ac.ebi.uniprot.kraken:uniprotjapi:2015.02 anymore. You must only have uk.ac.ebi.uniprot.kraken:uniprotjapi:2015.12

Hi Colin! I think, I had the same problem a few days ago, with one of the IntAct libs. You need to import this library: http://europepmc.org/JaxWs
Hope this helps. Max

From @colin-combe on February 4, 2016 12:11
Thanks Max,

You need to import this library: http://europepmc.org/JaxWs

From the instructions I'm not quite sure how to install it...
Would it be possible for the maven project to deal with this dependency? That would make it easier for people, otherwise we should say somewhere that this dependency needs to be installed manually.
best,
C

In the new JAMI version the should all happen by it self and it is configured in the belonging pom.xml

@colin-combe can this issue be closed?

I will check if I can build it this week,
thanks Max,
c
On 21/06/16 15:46, Maximilian Koch wrote:

@colin-combe https://github.com/colin-combe can this issue be closed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MICommunity/psi-jami/issues/4#issuecomment-227463174,
or mute the thread
https://github.com/notifications/unsubscribe/AA7qx-e1mYj0Vuic9fmKr4fJD2MF-xa2ks5qN_lXgaJpZM4HjvM2.

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

No, I can't build it, it could be something simple.
I try to build by running $ mvn -U clean package from the top level dir.
My version info is: ```
$ mvn -version
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.7.0_79, vendor: Oracle Corporation
Java home: /home/colin/jdk1.7.0_79/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-4-686-pae", arch: "i386", family: "unix"

The reports for the failing tests are attached, they all say `java.lang.UnsupportedClassVersionError: uk/ac/ebi/uniprot/dataservice/client/exception/ServiceException : Unsupported major.minor version 52.0`

[psidev.psi.mi.jami.bridges.uniprot.CachedUniprotFetcherTest.txt](https://github.com/MICommunity/psi-jami/files/327487/psidev.psi.mi.jami.bridges.uniprot.CachedUniprotFetcherTest.txt)
[psidev.psi.mi.jami.bridges.uniprot.UniprotGeneFetcherTest.txt](https://github.com/MICommunity/psi-jami/files/327489/psidev.psi.mi.jami.bridges.uniprot.UniprotGeneFetcherTest.txt)
[psidev.psi.mi.jami.bridges.uniprot.UniprotProteinFetcherTest.txt](https://github.com/MICommunity/psi-jami/files/327488/psidev.psi.mi.jami.bridges.uniprot.UniprotProteinFetcherTest.txt)

Are you able to run it with java 8? UniProt forces us to use java 8.

No, it fails (worse) when I use Java 8. I think it is failing while attempting to build the javadoc. Is there a way to disable this?
The complete output from maven is attached beneath my current version info:
$ mvn -version
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.8.0_91, vendor: Oracle Corporation
Java home: /home/colin/jdk1.8.0_91/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-4-686-pae", arch: "i386", family: "unix"

jami_java8.txt

Okay. We're aware of the issue #13. Please append -Dmaven.javadoc.skip=true to your mvn command.

Thanks Max, I thought there'd be an easy way to disable javadoc building.
Now I have the following error:
[ERROR] Failed to execute goal on project jami-imexcentral: Could not resolve dependencies for project psidev.psi.mi.jami.bridges:jami-imexcentral:jar:3.0.0: Could not find artifact edu.ucla.mbi.imex:icentral-api:jar:2.0 in nexus-ebi-repo-old (http://www.ebi.ac.uk/intact/maven/nexus/content/repositories/ebi-repo/) -> [Help 1]

I see! This an issue with new nexus. Unfortunately the IMEx artifact repository hasn't been copied properly. I'll let you know once it is fixed. The error doesn't appear for me, because I've that dependency already in my local machine.

Hi Colin. We have made a temporary solution, until we have sorted out the dependency. Your latest JAMI issue is solved in the develop branch.
Please let me know if you experience any other issue.

OK - using develop branch, it fails with following error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project jami-europubmedcentral: Compilation failure
[ERROR] /home/colin/JAMI/psi-jami/jami-bridges/jami-europubmedcentral/src/main/java/psidev/psi/mi/jami/bridges/europubmedcentral/EuroPubmedCentralFetcher.java:[135,34] cannot find symbol
[ERROR] symbol:   method getDoi()
[ERROR] location: variable result of type uk.ac.ebi.cdb.webservice.Result

I looked for more detailed info about what went wrong (i.e. stack trace ) but couldn't find it. Ask if you need more info and I'll look again.

Added JAMI work shop milestone. I had hoped to be able to build/test JAMI before workshop.

Sorry for all the inconvenience.. :( But it europubmedcentral has updated their api. They renamed a method from getDoi() to getDOI(). Anyway. I've fixed it and it 'should' work now.

Sorry for all the inconvenience..

No problem - sorry for hassling you. I'll try again and report back.

bad news Max... its still broken :(
Failing to build jami-imexcentral, error message below. Thanks for your help - I know this is a hassle.
[ERROR] Failed to execute goal on project jami-imexcentral: Could not resolve dependencies for project psidev.psi.mi.jami.bridges:jami-imexcentral:jar:3.0.2-SNAPSHOT: Failed to collect dependencies for [psidev.psi.mi.jami.bridges:bridges-core:jar:3.0.2-SNAPSHOT (compile), edu.ucla.mbi.imex:icentral-api:jar:2.0 (compile), xalan:xalan:jar:2.7.2 (compile), psidev.psi.mi.jami:jami-core:jar:3.0.2-SNAPSHOT (compile), org.slf4j:slf4j-api:jar:1.6.1 (compile), org.slf4j:slf4j-log4j12:jar:1.6.1 (compile), junit:junit:jar:4.10 (test?)]: Failed to read artifact descriptor for edu.ucla.mbi.imex:icentral-api:jar:2.0: Could not find artifact edu.ucla.mbi.imex:imexcentral-project:pom:1.0-SNAPSHOT in imex-repo (http://www.ebi.ac.uk/intact/maven/nexus/content/repositories/imex-public) -> [Help 1]

Alright! I can't fix this, because I can't find the dependency. I've removed the imex libs from the JAMI build, for now. This way you should be able to compile it.

Success! Thanks Max.

on a different machine, I can't build again...
Problem is with the jami-xml module. I have maven 3 and tried both the 1.8.102 and 1.8.101 java versions.
Tests in error:
test_validate_datasource_reinit(psidev.psi.mi.jami.xml.model.extension.datasource.XmlModelledBinarySourceTest): cannot reload experiment 4120
test_validate_datasource_reinit_2(psidev.psi.mi.jami.xml.model.extension.datasource.XmlModelledBinarySourceTest): cannot reload experiment 4120
parse_valid_file(psidev.psi.mi.jami.xml.model.extension.datasource.XmlModelledSourceTest): cannot reload experiment 4120
test_validate_datasource_reinit_2(psidev.psi.mi.jami.xml.model.extension.datasource.XmlComplexSourceTest): cannot reload experiment 4120
SEVERE: cannot reload experiment 4120
javax.xml.bind.UnmarshalException
 - with linked exception:
[com.sun.istack.SAXParseException2; lineNumber: 1; columnNumber: 1; unexpected element (uri:"net:sf:psidev:mi", local:"experimentDescription"). Expected elements are <{net:sf:psidev:mi}entrySet>]
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:483)
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:417)
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:386)
        at psidev.psi.mi.jami.xml.cache.PsiXmlFileIndexCache.loadFromFile(PsiXmlFileIndexCache.java:734)
        at psidev.psi.mi.jami.xml.cache.PsiXmlFileIndexCache.getExperiment(PsiXmlFileIndexCache.java:165)
        at psidev.psi.mi.jami.xml.model.extension.AbstractXmlModelledInteraction$JAXBExperimentWrapper$JAXBExperimentRefList$ExperimentRef.resolve(AbstractXmlModelledInteraction.java:468)
        at psidev.psi.mi.jami.xml.XmlEntryContext.resolveInteractorAndExperimentRefs(XmlEntryContext.java:207)
        at psidev.psi.mi.jami.xml.model.AbstractEntrySet$EntryList.processAddedObjectEvent(AbstractEntrySet.java:76)
        at psidev.psi.mi.jami.xml.model.AbstractEntrySet$EntryList.processAddedObjectEvent(AbstractEntrySet.java:70)
        at psidev.psi.mi.jami.utils.collection.AbstractListHavingProperties.add(AbstractListHavingProperties.java:24)
        at com.sun.xml.bind.v2.runtime.reflect.Lister$CollectionLister.addToPack(Lister.java:305)
        at com.sun.xml.bind.v2.runtime.reflect.Lister$CollectionLister.addToPack(Lister.java:269)
        at com.sun.xml.bind.v2.runtime.unmarshaller.Scope.add(Scope.java:121)
        at com.sun.xml.bind.v2.runtime.property.ArrayERProperty$ReceiverImpl.receive(ArrayERProperty.java:213)
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.endElement(UnmarshallingContext.java:538)
        at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.endElement(SAXConnector.java:158)

On 04/08/16 16:18, Maximilian Koch wrote:

How did you run JAMI?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/MICommunity/psi-jami/issues/4#issuecomment-237585884,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7qx3QOZccc8xWlfW031L1wK10L8AFbks5qcgK9gaJpZM4HjvM2.

I just ran:
mvn -U -Dmaven.javadoc.skip=true clean package
and it didn't work... :(
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

Got the error below - probably related to https://github.com/MICommunity/psi-jami/issues/4#issuecomment-236168205.
Did europubmedcentral change their API back to getDoi() instaed of getDOI()?
[ERROR] /home/colin/psi-jami/jami-bridges/jami-europubmedcentral/src/main/java/psidev/psi/mi/jami/bridges/europubmedcentral/EuroPubmedCentralFetcher.java:[135,34] cannot find symbol
[ERROR] symbol:   method getDOI()
[ERROR] location: variable result of type uk.ac.ebi.cdb.webservice.Result

Are you still working on the develop branch?

Yes

Can you make a mvn clean -U test on the module? Maybe the old epmc wsdl is still floating around.

Previously we had a .wsdl-file stored in JAMI. Now it get's fetched, if it is not in the target folder.

Can you make a mvn clean -U test on the module?

OK, did this. It's the same.

@tschaka1904 Can I check - is it working for you?
sorry for causing you trouble again...

No problem!
Mhm.. works for me. I've deleted my target folder to be sure that it's build form scratch.

OK... this is as far as I can get with this:-

deleting the target folder doesn't help, and mvn clean is doing this anyway.
if I change line 135 of EuroPubmedCentralFetcher.java to result.getDoi() then it works
if I look in /psi-jami/jami-bridges/jami-europubmedcentral/target/generated-sources/uk/ac/ebi/cdb/webservice/Result.java after trying to build then, yes, the method is indeed called getDoi()

I must be getting a different wsdl file (used as basis to generate sources, right) from the one you're getting? I'm not sure how/where it gets this file.

I'm having trouble building JAMI too. There was a dependency issue with the CHEBI artifact that I managed to work around (see https://github.com/yochannah/psi-jami/commit/5372288d01d1689534ca1833b3d3438fc7930fb0), but then another issue cropped up.
You can see the failure details here if you like: https://travis-ci.org/yochannah/psi-jami/builds/188572303

Some comments about this issue:

my issue with getDoi() vrs getDOI() in the jami-europubmedcentral module seems to have resolved itself.

I don't think one giant issue called "Cant build JAMI" is so helpful... I started it so apologies for that. I think we should close this and have separate issues for separate build problems.

I made issues for (#43, #44) for other tests failing.  Is this the right thing to do? Should travis be used for this in some way instead?

Let me know your thoughts,
cheers,
c

it builds for me at moment, but I have to skip tests
gonna close


Is this HA addon Cloud Polling or local Polling?

Is this HA addon Cloud Polling or local Polling?

@ceaswaran cloud polling -> it acts exactly like ewelink app. although i fiddled with the idea of trying the "local scan" that it's present in the app, it's buggy and half-working most of the time so i dropped it.
more details here https://community.home-assistant.io/t/sonoff-ewelink-switch-component-for-original-firmware/81369

@peterbuga  Thanks for the clarification. I appreciate.
I/ any user switched from ewelink app to custom firmware (Tasmota) for the 2 main reason

Cloud Polling as we don't want our data on someone's cloud
ewelink alway buggy/most of the time offline

Just curious to know what the advantage of using this custom component considering above 2 points
Please clarify

@ceaswaran I started this project just as a way to learn how the awesomeness of Home Assistant works and maybe add more features in the future (this is the first thing that I came up with as I saw
eWeLink was sort of ignored).
your points are right on spot I couldn't agree more [1] 👍 (as I've kept mentioning in the thread above) but in the same time, as a quick example, I'm an Alexa user and just like Google Assistant the "HUE hack" could easily become unavailable or buggy over night.
you or any other person for that matter can choose to use the original firmware or make the jump to custom one, you might have some IT-related background knowledge or simply willing to fiddle with stuff but I know a lot of people who simply like to keep the things as they are (personally I was too lazy to buy a FTDI device to flash them) and this component gives them this option.
[2] if you take the time to decompile and take a quick look at the eWeLink source code (it's in javascript, that's what makes it big pile of 💩 ) you'll see the huge spaghetti code that it's there trying to make countless versions of devices to work, but the underlying API requests are actually quite basic and this is the part that I'm using. in other words this component behaves like the app but it's not like the app.
I haven't dug so much into Tasmota but I saw reports that they need to be recalibrated on models that report the power etc => more things to fiddle more time to waste, with this you just add 3 config lines and you're done 😉
ps: there are A LOT of other official components in HA that use the same paradigm: they use the official cloud API in other to pull the data
ps2: I'm personally migrating to Shelly devices, they're far better than Sonoffs, but I'll continue to support this project as much as I can
I hope this clears some waters 😄


Opening mobi file causes high CPU / memory usage indefinitely

When trying to open a specific mobi file to read the metadata, the program maxes out an entire core of CPU usage and the RAM usage grows continuously, by >400MB per minute (reaching 1GB+ of RAM usage for a 2MB book in about 3 minutes, and I did not see the program exit), which makes it seem like this is a decompression error. On Windows, Calibre and SumatraPDF open the book without issue.
I can send a copy of the MOBI by email (to avoid issues with uploading it to a public website).
A minimal code example needed to reproduce the issue (at least on Windows and Ubuntu in WSL):
use mobi::Mobi;

fn main() -> Result<(), ()> {
    let doc = match Mobi::from_path("books/All Systems Red - Martha Wells.mobi") {
        Err(_) => return Ok(()),
        Ok(d) => d,
    };
    Ok(())
}

The program is run with cargo run --release.

Thanks for the report. I will be glad to look into it. My email is<EMAIL_ADDRESS>I'm pretty sure the decompression algorithm might be incorrect. I was thinking of swapping my implementation with a crate that does lz77 so might actually be worth to look into that a bit more.


Get Issue starting the viewing script

OpenGL.error.GLError: GLError(
err = 1282,
description = b'invalid operation',
baseOperation = glGetUniformLocation,
cArguments = (1, b'Texture\x00'),
result = -1
)
Is this because my opengl version?

Hi,
can you provide some more information to reproduce this error? Like, which opengl version do you use?


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

Codecov Report

Merging #135 (75cf20e) into main (2974dfe) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #135   +/-   ##
=======================================
  Coverage   83.33%   83.33%
=======================================
  Files           2        2
  Lines         126      126
  Branches       31       31
=======================================
  Hits          105      105
  Misses         21       21

Impacted Files
Coverage Δ

example/src/main.ts
88.46% <100.00%> (ø)

src/index.ts
82.00% <100.00%> (ø)

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 7d038c1...75cf20e. Read the comment docs.


[FEATURE] Adding a board member page using SwiperJS

Description
@FidalMathew @Arjun31415
I want to add an scrollable swiper cards featuring board members of GDSC Leads, as per the mockup
I have attached the Screenshot below

Kindly assign the task to me
Expected Behaviour

Current Behaviour
No response
Additional information
No response

The content of card can be dynamically changed via ./data/Boardmember.json

Alright but please use the react version of it from here https://swiperjs.com/react


Add Migration Guide for ContractKit v2

Following example of the v1 migration. This Adds info about effects of upgrading to v2 of contract kit

thanks for being the editor @critesjosh


[ENHANCEMENT] Navbar

Hello,
When we scroll down the content of the website, the Navbar & Card are overlap with each-other ,like in below img:-

If we put background color ,it will look so nice like in below img:-

I will like to do this .
Thanks!

Nice idea. Go for it. Instead of translucent, make the color dark and opaque.

Yaa sure.
Thanks!


Multiple browser tab mutation sharing

We don't have any mutation sharing system, so add to card, logout, add to wishlist etc. wont appear on every tab (if more than one opened).
My idea is to add some hook like afretRegistration and fire up storeDispatch like here: https://github.com/DivanteLtd/vue-storefront/pull/2547
Other option is to use: https://www.npmjs.com/package/vuex-shared-mutations

My question is - is it only about mutations sharing?
As i understood initiative was that that items added to cart in first tab was not visible on second tab. Then yes - shared mutation solves that issue.
But we have many mutations, even opening side menu, show overlay or set current category. Sharing mutations could cause unexpected behaviours on other tabs, really hard to debug also.
But i would like to look deeper. For example someone would like to show some info when user switch to tab, or send a request to API to check if user session is still valid and log out if not, or refresh cart. Then simple sharing mutations is not enough (also user can switch from tab which was not our application).
In this case my vote is for creating a reactive helper like onlineHelper. And if we need - we can watch helper state and even create hook if needed in future.
Example of helper:
// Tab activity helper
export const visibilityHelper = Vue.observable({
  isTabVisible: isServer || document.visibilityState === "visible"
})
!isServer && window.addEventListener('online',  () => visibilityHelper.isTabVisible = document.visibilityState === "visible")

Additional info: doc recommends to use visibilityState instead of document.hidden (https://www.w3.org/TR/page-visibility/#hidden-attribute)

This has been fixed by adding the cart/load on tab switching already


UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '

I keep on getting 1 leaked semaphore objects error.
Full error message (faulthandler enabled):
Fatal Python error: Segmentation fault

Thread 0x000070000e902000 (most recent call first):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py", line 306 in wait
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py", line 558 in wait
  File "/Users/bruce/Research&Project/NLP/LingFeat/venv/lib/python3.8/site-packages/tqdm/_monitor.py", line 60 in run
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py", line 932 in _bootstrap_inner
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py", line 890 in _bootstrap

Current thread 0x000000011e2d1e00 (most recent call first):
  File "/Users/.../venv/lib/python3.8/site-packages/spacy/language.py", line 445 in __call__
  File "/Users/...", line 56 in __init__
  File "test.py", line 9 in extract_features
  File "test.py", line 18 in iterator
  File "test.py", line 38 in <module>
[1]    32955 segmentation fault  python test.py
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

To reproduce the issue:

install NeuralCoref from repo
delete
install NeuralCoref through pip

I'm running:

Python 3.8.3
spaCy 2.3.5 (with en_core_web_md)
torch 1.8.0
neuralcoref 4.0

What I've tried:

uninstall spacy & neuralcoref and install again
delete venv and install everything again

I see this is closed - did you ever find a solution?

same issue here

same issue here


Add ability to configure restic timeout

Velero exposes a configuration option on the server CLI arguments to define a restic timeout parameter. This timeout is used for when a restic backup/restore sits in progress for X amount of time, to simply fail the backup/restore.
The default should be 1h for 1 hour, but the user should be able to override this from the Velero custom resource. For more info see https://github.com/konveyor/mig-operator/blob/master/roles/migrationcontroller/templates/velero.yml.j2#L50

/assign @eemcmullan


ShutdownConfig handler isn't run if there is no shutdown_rx

version 2.0.0:
async fn shutdown_handler<S: Send + Sync + 'static>(
    config: Option<ShutdownConfig<S>>,
    state: Arc<BtnifyState<S>>,
) {
    if let Some(config) = config {
        if let Some(shutdown_rx) = config.shutdown_rx {
            tokio::select! {
                _ = ctrl_c_signal() => {},
                _ = shutdown_rx => {},
            }
            if let Some(handler) = config.handler {
                handler(&state.user_state);
            }
            return;
        }
    }

    ctrl_c_signal().await;
}

If the user has a handler but not a shutdown_rx then the handler won't be triggered

fixed


BuildVariableTask fails when project name contains spaces (linux only)

When using the BuildVariableTask with a linux build in a project that contains a space, the task fails.
This is probably related to #947.
...
VERBOSE: Getting BuildDef for Build
VERBOSE: Using SystemVssConnection personal access token
##[error]MethodInvocationException: /home/vsts/work/_tasks/BuildVariableTask_115030de-9ced-4d2f-ad01-8c42d20d0327/2.3.19/BuildVariableTask.ps1:259
Line |
 259 |      $jsondata = $webclient.DownloadString($uri) | ConvertFrom-Json
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling "DownloadString" with "1" argument(s): "The
     | remote server returned an error: (400) Bad Request."
...

There is no such error when using the task with a windows agent.
There seems to be a difference between powershell and pwsh with respect to arguments with quotes:
This is what it looks like running with a windows agent (additional newlines removed). Note the line "VERBOSE: teamproject":
Starting: BuildVariableTask
==============================================================================
Task         : Set variable on a build defintion
Description  : Set variable on a build defintion
Author       : Richard Fennell
Help         : Version: 2.3.19. [More Information](https://github.com/rfennell/vNextBuild/wiki/BuildTasks-Task/)
==============================================================================
Using executable 'powershell.exe'
powershell.exe D:\a\_tasks\BuildVariableTask_115030de-9ced-4d2f-ad01-8c42d20d0327\2.3.19\BuildVariableTask.ps1 -collectionUrl https://dev.azure.com/TrumpfCorp/ -token *** -teamproject 'TruTops Boost' -buildid 268613 -buildmode AllArtifacts -variable ServiceVersionProd -mode Manual -value 0.0.23 -usedefaultcreds False
(node:2672) Warning: Use Cipheriv for counter mode of aes-256-ctr
...
(node:2672) Warning: Use Cipheriv for counter mode of aes-256-ctr
VERBOSE: collectionUrl = [https://dev.azure.com/TrumpfCorp/]
VERBOSE: teamproject = [TruTops Boost]
VERBOSE: releaseid = []
VERBOSE: builddefid = []
VERBOSE: buildid = [268613]
VERBOSE: usedefaultcreds = False
VERBOSE: artifacts = []
VERBOSE: buildmode = [AllArtifacts]
VERBOSE: mode = [Manual]
VERBOSE: Running inside a build so updating current build 268613
VERBOSE: Checking API version available
VERBOSE: Getting BuildDef for Build
VERBOSE: Using SystemVssConnection personal access token
VERBOSE: API Version is 4.0
...

When running under linux, the output goes like this. Note the quotes in the line "VERBOSE: teamproject = ['TruTops Boost']":
Starting: BuildVariableTask
==============================================================================
Task         : Set variable on a build defintion
Description  : Set variable on a build defintion
Version      : 2.3.19
Author       : Richard Fennell
Help         : Version: 2.3.19. [More Information](https://github.com/rfennell/vNextBuild/wiki/BuildTasks-Task/)
==============================================================================
Using executable 'pwsh' as only only option on 'Linux'
pwsh /home/vsts/work/_tasks/BuildVariableTask_115030de-9ced-4d2f-ad01-8c42d20d0327/2.3.19\BuildVariableTask.ps1 -collectionUrl https://dev.azure.com/TrumpfCorp/ -token *** -teamproject 'TruTops Boost' -buildid 268611 -buildmode AllArtifacts -variable ServiceVersionProd -mode Manual -value 0.0.23 -usedefaultcreds False
(node:3215) Warning: Use Cipheriv for counter mode of aes-256-ctr
...
(node:3215) Warning: Use Cipheriv for counter mode of aes-256-ctr
VERBOSE: collectionUrl = [https://dev.azure.com/TrumpfCorp/]
VERBOSE: teamproject = ['TruTops Boost']
VERBOSE: releaseid = []
VERBOSE: builddefid = []
VERBOSE: buildid = [268611]
VERBOSE: usedefaultcreds = False
VERBOSE: artifacts = []
VERBOSE: buildmode = [AllArtifacts]
VERBOSE: mode = [Manual]
VERBOSE: Running inside a build so updating current build 268611
VERBOSE: Checking API version available
VERBOSE: Getting BuildDef for Build
VERBOSE: Using SystemVssConnection personal access token
VERBOSE: Getting BuildDef for Build
VERBOSE: Using SystemVssConnection personal access token
##[error]MethodInvocationException: /home/vsts/work/_tasks/BuildVariableTask_115030de-9ced-4d2f-ad01-8c42d20d0327/2.3.19/BuildVariableTask.ps1:259
Line |
 259 |      $jsondata = $webclient.DownloadString($uri) | ConvertFrom-Json
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling "DownloadString" with "1" argument(s): "The
     | remote server returned an error: (400) Bad Request."
...

This very much looks like the quotes are leaking into the script on linux, and from there in a URL, causing the bad request response.

Seems you have spotted the problem, I will  try to sort out a fix

This has been fixed 2.4.5 which is going through the release pipeline now


Add more info in the error messages

Modifications
Add topic and subscription info in the error message to help locate the problem that which topic or subscription throws the error.

run java8 tests
run integration tests

run java8 tests

The unit test seems failed caused by my fix. I am fixing the test.

@sijie
There are two ways when we threw an Exception.
One is we get an exception and throw it out.
future.exceptionally(e -> {
       anotherFuture.completeExceptionally(e)
})

Another is we wrap the exception with the PulsarClientException.
future.exceptionally(e -> {
       anotherFuture.completeExceptinoally(new PulsarClientException())
})

If the exception belongs to the second one, I can add the info message easily. Otherwise, I think it has a risk to update the Exception If I don't know the exception is caught by others for retrying or do something others.
How do you think?

In the first case, you need to first where the exception was first raised and fix it, no?

Yes. There are many exceptions thrown by ClientCnx. In ClientCnx, it using a map to save requestId and CompleableFuture. And the requestId is generated from other places like ConsumerImpl or ProducerImpl or LookupService. Should I pass the topic name from the Consumerimpl and combine it with requestId? If so I can get the topic name or other information when the future complete exceptionally.

for the exceptions raised by ClientCnx, it is making more sense to catch the exception at the caller (Producer, Consumer) and attach the topic information to the exception, rather than passing the topic name information into ClientCnx.

@sijie I add a new method wrap to wrap the exception to enriching the exception message info.
The wrap method will get the exception and wrap the old exception with the same type of the exception, so I can add more message info to the exception. I run the test that failed before, it can be passed on my laptop.
What do you think?

run java8 tests
run integration tests
run cpp tests

@sijie PTAL. Thanks

run cpp tests

run cpp tests

@sijie PTAL. Thanks.


Author changed API

Change the link of your github badge by this one :
https://github-readme-stats-git-masterrstaa-rickstaa.vercel.app/
Issues Fix : https://github.com/anuraghazra/github-readme-stats/issues/2387

thanks mate, I have it fixed right now, it was an issue related to the link I was using ... :)


802 (Does not store access token property) fails correct response

Test 802: Does not store access token property gives me the following feedback

interesting, why is your endpoint returning the content as html? This test creates the content as plain text, so it's expecting it to be returned as {"content":"Testing accepting..."}

D'oh! I had a feeling I'm missing something. Bug on my part, will fix and report back.

passes now, my mistake.

(background: posts created using form-encoded request were stored in an old, html-only storage format. The query-support tests only use JSON for creation, so I missed this path while changing things to the new format)


Show CGM life left on main screen

In the same way that life left of a pump is displayed in the main screen it would be very handy to see the same for the CGM.
I have no opinion on how it's displayed, just that I'd like to see it.
It would help with planning CGM changes around a busy life. I'm guessing this would help most people.

Not sure how much life the current design has left in it, its a bit short on space. But maybe it'd be doable to implement a countdown bar thingy like xDrip4iOS has. You'd sacrifice a bit of graph space, but I think we have plenty of that. Alternatively the BG-label in the legend could be dropped and the eventual glucose moved to top right (left: basalrate, right: eventual glucose) to free up some space at the bottom. Get's crowded tho.

Like the idea a lot. How do you guys imagine to handle Anubis and extended sensors in this type of display? 🤔

I'd say that if it's possible, if there's a known life then display it, if there isn't (Anubis etc) then display nothing.

Here are some samples of how xDrip4iOS handles Anubis (G6) before and ten days.
Before:

After ten days:

I'd suggest that for Anubis either we show nothing or indeed just keep the counter going after 10 days. Anubis can be detected easily by the 180 days in the txAge, stock Dexcom won't ever have that. For my Anubis I'm typically more interested in the VoltB than SAGE. :P

This could still be an interesting feature. I set the long-term label now.


New version: Element.Element version 1.8.1

- [X] Have you signed the Contributor License Agreement?

[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.0 schema?

Microsoft Reviewers: Open in CodeFlow

/azp run


radio packets are being dropped

Using 3 microbits, 2 transmitting and one counting packets, not all packets are being recieved by the counter.
yap.py 19682 received 318 dropped
message.py 1822 received 178 dropped
counter.py.txt
message.py.txt
yap.py.txt
this may be related to https://github.com/bbcmicrobit/micropython/issues/755

it's not just 2 microbit's communicating at the same time. I have this repo https://github.com/rhubarbdog/microbit-hands-up
i have 2 pupil.py micobit's and one teacher.py. i press the button on the pupil microbits a second appart.
When i send out the results from the teacher.py microbit the happy face isn't always shown

also in the initial example counter.py counts message that are neither "yap." or "message." and receives none neither does radio.receive() throw an exception that a corrupt packet has been detected on the airwaves

microbit-hands-up fails because the length of str(id) is 35 but the message received is only 29 long.
radio.config(length=40) makes it work.

On the microbit's i have the string str(machine.unique_id()) must be less than 32 long because i have had both success and failure with 2 microbit's running pupil.py and one running teacher.py.

Thanks for the additional info @rhubarbdog.
Would you be able to provide a minimum example where not more than one micro:bit is transmitting at the same time and a receiver still loses packets?

transmitting with program ... on one microbit
from microbit import *
import radio

radio.config(data_rate = radio.RATE_2MBIT)
radio.on()

while True:
    if button_a.is_pressed():
        for _ in range(100):
            radio.send('message')
        while button_a.is_pressed():
            pass

    sleep(1)

and receiving on another microbit with program
from microbit import *
import radio

radio.config(length = 10, queue = 100, data_rate = radio.RATE_2MBIT)
radio.on()

count = 0
while True:
    receive = radio.receive()
    if receive is None:
        sleep(1)
    else:
        count = count + 1

    if button_a.is_pressed():
        display.scroll(str(count))

before i added the radio.config argument queue = 100 packets were being dropped at data_rate 1 MBit when i change it to 2 Mbit most packets sometimes all are being dropped

Should "length = 10" be included in both configs?


Convert the build using sbt

Motivation
2 Motivations:

SBT is the native scala build for any scala project. It is more natural to build using SBT. It is also easier to do cross-compile build
Scaladoc 2.13 broke gradle scala plugin and with scaladoc, a library is unable to be published into maven central repository. (#27)(https://github.com/gradle/gradle/issues/9855)

Desired solution

Considered alternatives

Wait for either Gradle or Lightbend to fix the broken scaladoc.

Additional context

Released with v0.6.1


update broken link in github pages

Link for zoomable chart was broken

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[WIP] Placeholder for work to come.

The goal here is make repo2docker process the --env option with the same semantics as the --env option to docker itself.
Closes #871

(I edited your comment (the first one) to reference the original issue so that it closes automatically if/when we merge this)

Ah, great -- clean run 2nd time through!  I think this is ready for feedback.
Since it's all about behavior, I didn't see a need to modify documentation anywhere.

Looks good to me! Merging.
Thanks for a nice PR. I learnt something :)


[release-1.5] Re-generate charts before updating golden files

This is an automated cherry-pick of #21027

@googlebot I consent.


why there is no add breakpoint command ?

i just want to add a breakpoint from a keybinding like <F8>

What is the behavior you want here?
There is already a command for toggling a breakpoint where the current curser is if that is what you are asking for.
{
	"keys": ["f8"], "command": "debugger", "args": {
		"action": "toggle_breakpoint"
	}
}

(There is also toggle_column_breakpoint for toggling a column breakpoint)

thanks a lot man.
i raised this issue because i looked into the source code of this plugin i didnt find any toggle breakpoint commands.
sorry for making these cringe.

is that command from your plugin or from sublime text?

These are from this plugin. However there is only a single debugger command called "debugger" that takes an "action" argument so they aren't all registered as individual commands.
This is all the base commands and then there are a few adapter specific ones.
https://github.com/daveleroy/sublime_debugger/blob/8f8bbd3273a77ff8b3c4fb09526bac7ef29c0d80/modules/commands.py#L98
You can see them all in the commands/context menu files as well
https://github.com/daveleroy/sublime_debugger/blob/master/Commands/Commands.sublime-commands
https://github.com/daveleroy/sublime_debugger/blob/master/Commands/Context.sublime-menu

thanks a lot. the plugin is great.
can it debug multi process and multi threaded applications, like django or flask?

Probably not multi process python applications which isn't part of the debug adapter protocol and likely requires protocol extensions to support.
This extension debugpy added is not implemented and I do not have an example project where this is actually required
https://github.com/microsoft/debugpy/wiki/DAP-Client-reference#extension-to-dap


Allow limiting maximum document body size

This is the HTTP layer and some tests. The actual checking is done in couch
application's from_json_obj/1 function.
If a document is too large it will return a 413 response code. The error reason
will be the document ID. The intent is to help users identify the document if
they used _bulk_docs endpoint. It will also help replicator skip over documents
which are too large.
COUCHDB-2992

Tests are failing because it needs changes from https://github.com/apache/couchdb-couch/pull/235

Doesn't look like this validates unclustered _update handler docs in couch_mrview_show:handle_doc_update_req/3


Nuget dependencies content is not been added for dotnet core projects - VS2017

When importing a package that adds content to the project it completes without displaying any errors but doesn't add the files.
Steps to reproduce:

Create a project with any of the templates for dotnetcore (Console/Class Library/Web)
Add a nuget package with content, ex: jQuery with  Install-Package jQuery.

The reference is added correctly but the content is no added to the project.
Note: It works correctly with the classic projects.

@nguerrera or @emgarten should know who would own this.

@natidea

@roysanchez  Dotnet core does not support the Content/ folder used in JQuery, this was previously installed directly into the project using Visual Studio and no longer works when restoring packages cross platform from the command line.  Packages must move to using ContentFiles/ which is supported for both project.json and PackageReference projects.

@emgarten I used jQuery only as an example, I got this error trying to add an internal dependency to a new project and not seeing the files.
Is there a specific way that it needs to be handled, I tried the following configurations and none seem to work: gist of the csproj and generated nuspec

ContentFiles support was recently added to NuGet but it isn't in the current dotnet CLI release. Once it is you will see items under contentFiles in the generates props file for the project.

@emgarten Nice, should I close this or wait for the release?

@roysanchez I think this can be closed, and then watch for it in the next release. thanks!

@roysanchez @emgarten Is this issue resolved? I'm including a nuget on my dotnet core project using VS2017 and I see the contentFiles inside the nuget, but I can't manage to copy them into my local project.


Integration tests bugfixes

This contains two small bugfixes and one major change in architecture. For more information check the commit messages.
Fixes #1010.

Why is it that the plugins don't have to check if _parent is still there when it is a raw pointer?

Haha, right. They do have to check if they don't want to segfault. This assumes a user does not destruct the Mavsdk object like so:
Mavsdk* mavsdk = new Mavsdk();
mavsdk->add_udp_connection();
System& system = mavsdk->system();
auto action = std::make_shared<Action>(system);
delete mavsdk;action->arm(); // -> Segfault!

@bkueng made a valid comment that, and you @JonasVautherin have raised that before, that we should not call the same callback from multiple threads but always the same. So, each telemetry stream should pick one thread from the thread pool, so have a thread affinity.

cb13be59bd863e5682bb552699a68611172bd220 has been cherry-picked. For the rest #1143 should fix it.


Chome, Players not calling onload callback

I have this simple app that I've made: js30.greladesign.co/01 which works fine when run from a remote location, I've noticed however that when developed on  windows machine I cant get the app to work. It seems like the onload callback of the Players is not called even though the files are loaded (Network tab shows them loaded). I haven't noticed this until today as I was dev'ing this on my linux laptop and it was working there. Do you have any idea what's going on?

Tone.js v14.7.58 *
Chrome 86.0.4240.111

Could you provide a minimal example with source code?
My guess is this might have to do with race conditions and the buffer is already loaded by the time it's passed into Tone.Players. How are you loading the buffers?

I'm using React, I have prepared the Instruments class to encapsulate the initiation and accessing the instrument:
class Instruments {
  instruments = [
    { key: "A", keyCode: 65, label: "clap" },
    { key: "S", keyCode: 83, label: "hihat" },
    { key: "D", keyCode: 68, label: "kick" },
    { key: "F", keyCode: 70, label: "openhat" },
    { key: "G", keyCode: 71, label: "boom" },
    { key: "H", keyCode: 72, label: "ride" },
    { key: "J", keyCode: 74, label: "snare" },
    { key: "K", keyCode: 75, label: "tom" },
    { key: "L", keyCode: 76, label: "tink" },
  ];
  players: Players | undefined = undefined;

  load(callback?: () => void): void {
    this.players = new Players(
      this.instruments.reduce((acc, instrument) => {
        return {
          ...acc,
          [instrument.key]: `./sound/${instrument.label}.mp3`,
        };
      }, {}),
      (): void => {
        this.players?.toDestination();
        callback && callback();
      }
    );
  }

  play(instrument: string): void {
    const found = this.instruments.find(
      (needle): boolean => `${needle.keyCode}` === instrument
    );
    if (found) {
      if (this.players?.has(found.key)) {
        this.players?.player(found.key).start();
      }
    }
  }
}

then when user selects "tap to start" I'm calling
            <button
              className="tap-to-start"
              onClick={async () => {
                await Tone.start();
                Tone.context.resume();
                instruments.load(() => {
                   console.log("I'm loaded");
                })
              }}
            >
              Tap to start
            </button>

// The "I'm loaded" is never displayed when on windows chrome, the console shows however (and network tab) that files are loaded though Fetch finished loading: GET "<URL>".
also having following in the console log (which I thought was resolved with  await Tone.start(); Tone.context.resume()):
 * Tone.js v14.7.58 *
audio-context-constructor.ts:40 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
AudioContext @ audio-context-constructor.ts:40
createAudioContext @ AudioContext.ts:13
Context @ Context.ts:124
getContext @ Global.ts:26
./node_modules/tone/build/esm/index.js @ index.ts:33
__webpack_require__ @ bootstrap:784
fn @ bootstrap:150
./src/App.tsx @ App.css?4433:45
__webpack_require__ @ bootstrap:784
fn @ bootstrap:150
./src/index.tsx @ index.css?f3f6:45
__webpack_require__ @ bootstrap:784
fn @ bootstrap:150
1 @ serviceWorker.ts:149
__webpack_require__ @ bootstrap:784
checkDeferredModules @ bootstrap:45
webpackJsonpCallback @ bootstrap:32
(anonymous) @ main.chunk.js:1
test-audio-node-disconnect-method-support.ts:45 The AudioContext was not allowed to start.    It works totally fine for me on mac and linux.
Does Tone.loaded() resolve? And also is this.players.loaded === true?

Tone.loaded - resolved
Fetch finished loading: GET "<URL>". <- console Log XMLHttpRequests
players.loaded false

so the Tone.loaded resolves but the Players loaded property returns false, the console option to Log XMLHttpRequests shows the fetches (as well as I can see them in the network tab), so it started loading but I guess it can't get the finished event.

is it possible that the audio file is not being decoded correctly and somehow failing silently? Are you able to set a breakpoint at this function to see if everything is able to decode the audio file that you're giving it?

I'm going to close this since i'm able to reproduce this issue and therefor unable to debug it meaningfully.
Please comment if you're still experiencing the issue with a test case and i'll reopen.

I'm going to close this since i'm able to reproduce this issue and therefor unable to debug it meaningfully.
Please comment if you're still experiencing the issue with a test case and i'll reopen.


push to Packagist?

Now this package has a unique name, could it please be submitted to Packagist, with the hook set up?

Duplicate of #36

It's not quite a duplicate, is it? That one seems to be about tagged releases, this is about making the package available through Packagist.

I would also appreciate this being available on packagist.


PRIMAVERA Energy budget

New recipe/diagnostic

[ ] Add documentation for the recipe to the doc/sphinx/source/recipes folder and add a new entry to index.rst

Closes #210

Can you please merge the version2_development branch into this branch (or rebase onto it) so the unit tests do not fail on unrelated R code?

@sloosvel This pull request is not a draft, but not much has happened on it recently. Is it ready for review?

I guess it needs some updating first, but this particular metric is not really used by anyone (is it worth it to merge @jvegasbsc ?). Also the plot looks a bit strange, but that is what the original code generates anyway.

OK, I marked the pull request as draft for now, to indicate that it's still under development. Please mark it as 'Ready for review' once it's ready (if ever) :wink:


Figure out how to manage the hybrid work sessions

I talked with the educational support and they suggested this setup for the work sessions:

Request MeetUp for the lecture hall. This is a system that plugs into the lecture hall computer and runs MS Teams with proper audio connectivity (mic for teachers and audio from online people). This system doesn't show the faces of the online students only text and audio chat. A TA will show up to help us figure it out on the first day (Feb 8).
Have an instructor monitor the online participants chat for questions.
Setup a group of 75 in Brightspace for each work session. Students can self signup to this group each week if they plan to come to the lecture hall. This lets everyone see the number of slots left and self manages.

Merel sent a message to the servicepunt to book the meetup system for me for each of the work sessions.

For the work session on February 8, feel free to come 15 minutes early for the tutorial on using Meetup from Rutger.


update docs following internal feedback, rename Case.persist -> Case.to_blueprint

@NoraLoose feel free to merge this if it looks ok, I'm probably going to start late tomorrow 🙃

Should now work smoothly with roms-toolsv1.6.0


Development

This is the pull request created by Microchip for the MEC1501 evaluation board

Codecov Report

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

@@           Coverage Diff           @@
##           master   #15089   +/-   ##
=======================================
  Coverage   52.87%   52.87%
=======================================
  Files         309      309
  Lines       45267    45267
  Branches    10451    10451
=======================================
  Hits        23934    23934
  Misses      16558    16558
  Partials     4775     4775

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 1eead93...0daef9d. Read the comment docs.


Dispatch exceptions to Blazor’s sync context

PU Issue
API Proposal
PU PR

This will be a H3 under the Synchronization context section.

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

ID: 81a32115-33f8-7d06-aaf0-b8ce918b5527
Version Independent ID: 31ad18df-1904-bbdd-cfed-8d0d0267c10e
Content: ASP.NET Core Razor components
Content Source: aspnetcore/blazor/components/index.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

@Rick-Anderson ... something 🐟 just happened here. The dotnet-bot added my labels for "Blazor" and "Source - Docs.ms" and then took them off for no apparent reason ☝ ... so I'll re-add them manually now. I think there's a 😈 in the label management now.

@guardrex  keep me posted. If this re-occurs, I'll open a support issue with the build team.


Kubernetes error when trying to build SkyDNS via go get github.com/skynetservices/skydns

I get the following output when trying to compile SkyDNS running the command in the Readme;
go get github.com/skynetservices/skydns. I've tried removing all my cached packages to no effect. Ideas?
github.com/skynetservices/skydns
github.com/skynetservices/skydns
./kubernetes.go:45: service.PortalIP undefined (type api.Service has no field or method PortalIP)
./kubernetes.go:46: service.Port undefined (type api.Service has no field or method Port)
./kubernetes.go:52: service.Port undefined (type api.Service has no field or method Port)
./kubernetes.go:52: service.Protocol undefined (type api.Service has no field or method Protocol)
./kubernetes.go:52: service.ProxyPort undefined (type api.Service has no field or method ProxyPort)
./kubernetes.go:54: service.ProxyPort undefined (type api.Service has no field or method ProxyPort)
./kubernetes.go:55: service.Protocol undefined (type api.Service has no field or method Protocol)
./kubernetes.go:60: service.Port undefined (type api.Service has no field or method Port)

Seems again mess with Kubernetes
Check this commit https://github.com/GoogleCloudPlatform/kubernetes/commit/411666decb1b7d886e85b9a87c6b5ed4261dd7e5
Error I have got today
user@r0b2n:~$ go get github.com/skynetservices/skydns
# github.com/skynetservices/skydns/server
/usr/local/gopath/src/github.com/skynetservices/skydns/server/kubernetes.go:53: service.Spec.ProxyPort undefined (type api.ServiceSpec has no field or method ProxyPort)
/usr/local/gopath/src/github.com/skynetservices/skydns/server/kubernetes.go:55: service.Spec.ProxyPort undefined (type api.ServiceSpec has no field or method ProxyPort)


Content-length vs just hanging up and a work about chuncked

This will only have to be mentioned when we start with proxies, the other clients accepts it.

Have addressed this in part 1 (by cheating, and saying we are cheating), will fix in part 2 when we have to do proper chunked encoding or content-length.


Mask decoder in segmentation head

Great work, and thank you for sharing the code base!
I was working on implementing the segmentation head described in the paper using code from the Panpoptic-SegFormer repository. I have a couple of questions regarding the same.

Could you specify the number of decoder layers/blocks (from the mark decoder) used in the segmentation head for BEVFormer? Specifically, it seems that the decoder block shown in Fig. 5 of the BEVFormer paper is repeated multiple times. May I know the number of times it is repeated?
Panoptic SegFormer applies self-attention to stuff queries before the above-mentioned decoder blocks in the mask decoder (and does not apply it for thing queries coming out of the location decoder). Could you specify if self-attention was used before the decoder blocks in the mask decoder in the case of BEVFormer?

Thanks!

Hello, I try to use BEVFormer for multi-task learning, but I have some questions I would like to ask you

Regarding the perception range of the segmentation task, is this related to the detection task? I haven't figured out how to make the detection and segmentation label processing, and I hope to get your help.
Use BEV representation, optimize it with detection and segmentation head in parallel, have you tried its code implementation?
thanks for your help


Setup Forms & Workflow Engine in Local machine

Describe the task
Deploy Formsflow.ai in local machine (without analytics
Acceptance Criteria

[x] Able to create, draft, submit and edit forms
[x] Able to upload any one of the chefs form
[x] Enable SSO

we were able to upload 4 out of the 8 chefs forms in our local machines. Separate tickets will be created to work on rest of the chef form upload


fix: conditionally set selected record state

Problem
In certain situations when starting to update a selected record in an autocomplete field and canceling without updating selection, selected record state becomes undefined.
Solution
Conditionally set selected record state if setting a new value, otherwise it will keep its original value.
Additional Notes

Links
Ticket

GitHub issue:
Other links
Verification
Manual tests

Automated tests

[x] Unit tests added/updated
[ ] E2E tests added/updated
[ ] N/A - (provide a reason)
[ ] deferred - (provide GitHub issue for tracking)

Housekeeping

[x] No non-essential console logs
[x] All new files contain license notice

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #1081 (a69c156) into main (5c73726) will increase coverage by 0.00%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##             main    #1081   +/-   ##
=======================================
  Coverage   93.90%   93.90%
=======================================
  Files         124      124
  Lines        5853     5855    +2
  Branches     1780     1780
=======================================
+ Hits         5496     5498    +2
  Misses        339      339
  Partials       18       18

Files Changed
Coverage Δ

...b/forms/form-renderer-helper/render-array-field.ts
100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

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


ReactNativeAudioStreaming.resume() restarts the song?

First I fire:
            ReactNativeAudioStreaming.play(url,{
                showIniOSMediaCenter: true,
                showInAndroidNotifications: true
            })

Then I hit fire ReactNativeAudioStreaming.pause(), which stops the track.
After that, I fire ReactNativeAudioStreaming.resume() and the track restarts. I'm assuming that's not the expected behavior?

Hi !
Can you provide more information about the platform and the song please ?

It was with any .mp3 via network -- I can't provide additional detail, as I've already moved forward with a different library :(

This is happening for me as well, with mp3s served from localhost (<IP_ADDRESS>) in the default Android emulator.

As @micmarsh pointed out, seems like 'pause' is the same as 'stop'..
Any workarounds?

+1

@ashokkumar88 Possible Candidate https://github.com/react-native-kit/react-native-track-player

@moonstruck Thanks.


[Modularizaton] Post-PR fixes, doc links update

Post-PR fixes, v0.0.14 doc links update
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-706-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-706/1/index.html


Print newlines around slow loading warning to stderr instead of stdout (fixes #852)

Hi
This is (pretty straightforward) fix of #852.

merged with rebase

I should have commented this pull-request.
Thanks!


Update Composer dependencies (2021-04-22-00-11)

Visual regression test passed!
View the visual regression test report


Non-Sendable UserDefaults warnings

UserDefaults dependency has been refactored to async but UserDefaults is non-sendable and we have warnings in WrappedUserDefaults swift file. Those warning will eventually become error when Swift 6 is released so we need to fix it.

This can be solved by one line:
extension UserDefaults: @unchecked Sendable { }
Now the question is if this is the right fix for this situation. I think it should be. UserDefaults are thread-safe. It's explicitly said in the documentation. So I think that UserDefaults should be marked as Sendable in Foundation. But it is not for some reason.
If this is not ok solution then we probably have to add some wrapper which will be Sendable and will use UserDefaults inside. If we don't trust documentation about UserDefaults's thread-safety we can add some own locking. But I don't think it's worth it because effectively it will be the same as line above.
And second question is if this should be in SDK. Swift doesn't allow to use access modifiers when using extension which adds protocol conformances. So even if we add this line to SDK then app code won't see this extension. Or Am I wrong?
@pacu @LukasKorba Can you give me your opinion please?

This can be solved by one line: extension UserDefaults: @unchecked Sendable { }
Now the question is if this is the right fix for this situation.
@pacu @LukasKorba Can you give me your opinion please?

We can actually do something else and don't loose the thread safety, suggestion:
static func live(
        userDefaults: @autoclosure @escaping () -> UserDefaults = .standard
    ) -> Self {
        Self(
            objectForKey: { userDefaults().object(forKey: $0) },
            remove: { userDefaults().removeObject(forKey: $0) },
            setValue: { userDefaults().set($0, forKey: $1) },
            synchronize: { userDefaults().synchronize() }
        )
    }

This issue should be opened in Secant repo. Not in SDK repo. I did so - https://github.com/zcash/secant-ios-wallet/issues/420.


Add weather data infographic [don't merge]

This PR adds a weather infographic which includes the following list of the following data:
{
    'severity': severity code ([0-3], int),
    'severity_hebrew': severity hebrew name (str),
    'amount_of_accidents_caused_by_rain': ammount of accidents (of this severity) which their rain rate is above our threshold and therefore counted as "caused by rain" (int),
    'accidents_caused_by_rain_percentage': the percentage of the accidents (of this severity) caused by rain out of all of the accidents (of this severity) (int),
}

This allows to show infographic that shows amount of accidents caused by rain (and their percentage) by severity
Notes:

This PR marked as don't merge since we currently don't have a token that enable us to get data from the IMS (Israel meteorological service) API, for now there just random function there (get_weather_at_station function in weather_interpolator.py)
Accident is counted as caused by rain when its rain_rate is above the ACCIDENT_RAIN_RATE_THRESHOLD which is defined in infographics_utils.py
This PR added call to the ensure_accidents_weather_data function after every import of new accidents from the cbs.
Basically backfill will happen automatically the next time we'll get update from the cbs (the function ensures all db records, not just new ones)
But if we don't want to wait we can do it manually, it can be done by running:
python main.py process weather-data
Running it on the whole history is pretty heavy, so we can separate it to several batches by using the start_date filter, e.g.
python main.py process weather-data --start_date 01-01-2019
After the backfill everytime new accidents are inserted from new data from the cbs the ensure_accidents_weather_data function will be triggered which will fill weather data for the new accidents

FYI: you can just mark it as draft

@idosavion
It was draft in the beginning
But since 99% of the logic is in, I wanted to move on and start with the review <-> fix cycles, therefore marked it as ready for review

@Hedingber can you please split this one to a few logically separated commits?
It's a bit hard to review a 2000 line change without missing anything :)

@idosavion Done


can I update peer id without OIDC

I am new in WebRTC
how I can set peerId manually. I tried to pass in get but no luck.

resolved


Guidelines for our Github Projects

In this primary section we'll have the guidelines for making and using Github Projects in TecnoYucas. Below we'll have comments and feedback.

First of all it is pretty important to define what we want to accomplish. We need goals.
First thing I think about:

[ ] it would be good to implement some kind of platform that will allow us to replicate contents among platforms, formats and social networks

We could also define some tags as project epics or milestones.
This would be a good place to start defining them

Here are some goals that I'm thinking about:

Our main goal is to publish tutorials and other relevant content for people interested in technical topics.
For that, we want to become a free and open organization where people collaborate freely on building these contents.
Ideally, we would publish a release in a periodic manner. This periodicity ultimately depends on the production capacity of the group, so for starters we can set a relaxed deadline of three months.
The contents we build must reach as many people as possible, so we will need automated tools of distribution.

Let's move this goals discussion to this issue: https://github.com/tecnoyucas/meta/issues/20

@tecnoyucas/yucazos I just created a Kanban-like project. It would be nice if you guys could start moving your issues to the columns.


Update sbt-mdoc to 2.2.10

Updates org.scalameta:sbt-mdoc from 2.2.9 to 2.2.10.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "sbt-mdoc" } ]

labels: sbt-plugin-update, semver-patch

Handled in https://github.com/alexarchambault/argonaut-shapeless/pull/244.


Creating alerts

Actually there is no posibility to create alert with "data" in Game.gd; there is only type choose.

Done in bf97b7b8


apply.sh: Failed to connect to localhost port 8111: Connection refused

Version:
v0.59.0
Steps:
We upgraded to v59 (I believe from 56 or 57) and are seeing the following in the server log. It appears to be running a script that tries to connect to localhost. Wondering if this is an issue, how to solve it etc.?
One thing to note is that the Rancher server IP was changed.
Results:
[[scripts.sh:184] script_env
[[scripts.sh:109] '[' -n http://rancher.auiag.corp/v1 ']'
[[scripts.sh:110] return
[[scripts.sh:186] export CATTLE_HOME=/var/lib/cattle
[[scripts.sh:186] CATTLE_HOME=/var/lib/cattle
[[scripts.sh:187] export CATTLE_CONFIG_URL=http://rancher.auiag.corp/v1
[[scripts.sh:187] CATTLE_CONFIG_URL=http://rancher.auiag.corp/v1
[[scripts.sh:188] export CATTLE_STORAGE_URL=http://rancher.auiag.corp/v1
[[scripts.sh:188] CATTLE_STORAGE_URL=http://rancher.auiag.corp/v1
[apply.sh:5] stage_files
[scripts.sh:77] local monit=false
[scripts.sh:79] '[' -d content-home ']'
[scripts.sh:80] find content-home -name '*.sh' -exec chmod +x '{}' ';'
[scripts.sh:81] sed 's/^/INFO: HOME -> /'
[scripts.sh:81] tar cf - -C content-home .
[scripts.sh:81] tar xvf - --no-overwrite-dir -C /var/lib/cattle
INFO: HOME -> ./
INFO: HOME -> ./etc/
INFO: HOME -> ./etc/cattle/
INFO: HOME -> ./etc/cattle/ipsec/
INFO: HOME -> ./etc/cattle/ipsec/config.json
[scripts.sh:84] '[' -d content ']'
[scripts.sh:102] '[' false = true ']'
[apply.sh:7] '[' '' '!=' true ']'
[apply.sh:8] curl -f http://localhost:8111/v1/reload
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8111: Connection refused
[apply.sh:9] echo Failed to reload ipsec config
Failed to reload ipsec config
[apply.sh:10] curl http://localhost:8111/v1/reload '{'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to localhost port 8111: Connection refused
curl: (3) [globbing] unmatched brace in column 1
]
2016-02-22 05:12:34,887 ERROR [:] [] [] [] [ecutorService-4] [.p.c.v.i.ConfigItemStatusManagerImpl] Failed null, exit code [3] output [INFO: Updating ipsec-hosts

Expected: 'no errors'

When did the Rancher server IP change? At one point during the upgrade?

Hi @deniseschannon this was a export of the mysql from the rancher container, then stop rancher. We put the db on its own server, then ran up a new rancher container with v59, the host for this server container is on a different IP to before. Not sure if this would have anything to do with it, but thought I should mention. Looking at the log this may not be happening any longer (we also replaced most of the hosts in the environment now).

The best way to debug networking issue is with the /var/log/rancher-net.log and the /var/log/charon.log.  We use monit to keep things running, lately we've been seeing some oddness in which monit thinks something is running and it's not.  Can you log into the network agent and run monit status and see if rancher-net is running.  rancher-net is what listens to port 8111.

Also look at ps -ef and see if it is really running.

Hi,
I have same problem, monit status out :
Process 'rancher-net'
  status                            Does not exist
  monitoring status                 Monitored
  data collected                    Mon, 07 Mar 2016 20:53:19

A solution ?

$ sudo service rancher-net start
Cannot open netlink socket: Protocol not supported
ERRO[0001] Failed to connect to charon: dial unix /var/run/charon.vici: connect: connection refused
ERRO[0002] Failed to connect to charon: dial unix /var/run/charon.vici: connect: connection refused
2016/03/07 20:57:22 Failed to talk to charon:%!(EXTRA *net.OpError=dial unix /var/run/charon.vici: connect: connection refused)
charon: no process found
 * Starting rancher-net configuration rancher-net
   ...done.

$ sudo service charon start
 * Starting charon configuration charon
   ...done.

charon stay Execution failed :
$ tail -f /var/log/charon.log
Mar  7 21:00:23 00[DMN] Starting IKE charon daemon (strongSwan 5.3.5, Linux 4.4.4-docker-root, x86_64)
Mar  7 21:00:23 00[KNL] unable to create netlink socket
Mar  7 21:00:23 00[NET] installing IKE bypass policy failed
Mar  7 21:00:23 00[NET] installing IKE bypass policy failed
Mar  7 21:00:23 00[NET] enabling UDP decapsulation for IPv6 on port 4500 failed
Mar  7 21:00:23 00[NET] installing IKE bypass policy failed
Mar  7 21:00:23 00[NET] installing IKE bypass policy failed
Mar  7 21:00:23 00[NET] enabling UDP decapsulation for IPv4 on port 4500 failed
Mar  7 21:00:23 00[LIB] feature CUSTOM:libcharon in critical plugin 'charon' has unmet dependency: CUSTOM:kernel-ipsec
Mar  7 21:00:23 00[CFG] loading ca certificates from '/usr/local/etc/ipsec.d/cacerts'
Mar  7 21:00:23 00[LIB] opening directory '/usr/local/etc/ipsec.d/cacerts' failed: No such file or directory
Mar  7 21:00:23 00[CFG]   reading directory failed
Mar  7 21:00:23 00[CFG] loading aa certificates from '/usr/local/etc/ipsec.d/aacerts'
Mar  7 21:00:23 00[LIB] opening directory '/usr/local/etc/ipsec.d/aacerts' failed: No such file or directory
Mar  7 21:00:23 00[CFG]   reading directory failed
Mar  7 21:00:23 00[CFG] loading ocsp signer certificates from '/usr/local/etc/ipsec.d/ocspcerts'
Mar  7 21:00:23 00[LIB] opening directory '/usr/local/etc/ipsec.d/ocspcerts' failed: No such file or directory
Mar  7 21:00:23 00[CFG]   reading directory failed
Mar  7 21:00:23 00[CFG] loading attribute certificates from '/usr/local/etc/ipsec.d/acerts'
Mar  7 21:00:23 00[LIB] opening directory '/usr/local/etc/ipsec.d/acerts' failed: No such file or directory
Mar  7 21:00:23 00[CFG]   reading directory failed
Mar  7 21:00:23 00[CFG] loading crls from '/usr/local/etc/ipsec.d/crls'
Mar  7 21:00:23 00[LIB] opening directory '/usr/local/etc/ipsec.d/crls' failed: No such file or directory
Mar  7 21:00:23 00[CFG]   reading directory failed
Mar  7 21:00:23 00[CFG] loading secrets from '/usr/local/etc/ipsec.secrets'
Mar  7 21:00:23 00[CFG] opening secrets file '/usr/local/etc/ipsec.secrets' failed: No such file or directory
Mar  7 21:00:23 00[LIB] failed to load 1 critical plugin feature
Mar  7 21:00:23 00[DMN] initialization failed - aborting charon

Files and folder missing, possible to regenerate ? From where comes this problem ?

I have this problem with upgrade to 0.59.1. I didn't this problem before with 0.56.1. But now, after downgrade, problem is present with 0.56.1... Why ?

Apologies @ibuildthecloud I didn't have time to check with existing agent, we've replaced the cows alot. Will look out for it again, @cedvan info looks quite informative to help.

@flaccid So, do you can help me ?

@flaccid : I use docker-root vagrant box because I want static ip on network LAN. RancherOS with vagrant declare an ip by DHCP... With rancherOS, charon works. But with docker-root, folder and files are missing in agent-instance to launch charon. how I can solve it please ?

@cedvan if not specifically the problem in this issue probably best to raise a separate one or post on the forums. I'm just the guy that reported the original issue.

@cedvan. You kernel doesn't support IPSec.  What host OS are you running

@flaccid I think the issue here is that /var/run in the network agent is not deleted on restart and that messes up the PID files.  I'm going to change the way we use monit to not use pid files.  Also cleanup that folder.

Sounds good to me ☺

@ibuildthecloud, Ok, I use docker-root as host. I'll see to implement ipsec support. Thank you !

@ibuildthecloud, docker-root have Linux kernel v4.4.6, and Rancher OS v4.2. I think v4.4.6 as the IPSec support, no ? The problem must be elsewhere...

@cedvan The kernel supports it, but depends on whether the right options are enabled.  I just looked at https://github.com/ailispaw/docker-root/blob/master/configs/kernel.config and it doesn't seem to have ipsec.  Here's a list of the required options:
https://wiki.strongswan.org/projects/strongswan/wiki/KernelModules

@ibuildthecloud, Ok it's right, problem solved !

On boot we clear /var/run/*.pid now and also we have switch to regexp based monitoring of processes.  https://github.com/rancher/cattle/pull/1526

@flaccid @cedvan This was addressed in our v1.0.0-rcX releases. Currently, we don't support upgrades to those releases yet, but when we do, if you could upgrade to one and see if you still have this issue, please let me know.

It's solved for me :wink: ! Thank you


GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @pabloem

Run Python PreCommit

LGTM. Feel free to merge once tests pass : )


(android) Add fee warning message in lnurl-withdraw screen

Withdrawals over LNURL are subject to the same liquidity constraints as regular Lightning payments, so a warning should be displayed.
It's actually even more important to have a liquidity warning here, since many LNURL services (e.g. Telegram bots) do not handle failed payments well and declare the withdrawal has been consumed, even when the payment was not received.
This PR also improves the regular Receive screen on Android, where the fee warning message dialog was opened systematically, even when the user had just seen it.

Note that this PR currently depends on #563, and will need to be rebased once that other PR is merged.

@robbiehanson if the iOS app does not have the fee warning in the lnurl-withdraw screen either, you can fix that in this PR as well.

Example with a testnet withdrawal:

The warning dialog is the same as in the Receive screen. The clickable "Payment will fail" message is also the same.


Allowing reassignment of arrays of shape (1, )

The purpose is to allow code like the following to work:
@dace.program
def reassign(a: dace.float64[1]):
    s = 0.0
    s = 1.0

The solution is to interpret the second statement s = 1.0 as s[0] = 1.0 or s[:] = 1.0.
However, redefinition of arrays is still now allowed, i.e., this only works with arrays of shape (1, ).

@alexnick83 Looks good, but one request: could you please revert the changes to the submodules? It is breaking the CI build (latest hlslib is not always supported).

@alexnick83 Looks good, but one request: could you please revert the changes to the submodules? It is breaking the CI build (latest hlslib is not always supported).

Fixed


docs(helm): All helper examples should demonstrate namespace best-practice

We are documenting that named templates
are global but only after showing the reader named template examples that do not follow this practice. We should update the examples to reflect the best practice and repeat the note at the top.

I'm looking to make my first open source contribution and would like to tackle this issue

@mueedc Sounds great! Let us know if  you have any questions.


Add methods to obtain EllipticCurvePublicNumbers from a key

Currently, CoseKey (and its subclasses) abstract the entire chain from parsing the public key data to using the public key to verify the signature of an arbitrary message. I can see why this is desirable, as it entirely abstracts RSA versus elliptic curve approaches.
However, it would be nice if the ES256 subclass also supported getting the actual EllipticCurvePublicNumbers object. This would allow me to use methods from the Python Cryptography library to implement an SSH agent that exports FIDO keys (well, more cleanly than my current proof-of-concept work, anyway). Some background: an SSH agent needs to report available ECDSA keys using the SEC 1 v2.0 section 2.3.3 format, which is available via the EllipticCurvePublicNumbers.encode_point() method.
It would also be nice to be able to obtain the RSAPublicNumbers objects as well (for similar reasons).

On further review, it looks like it will not be possible to implement a FIDO-based SSH agent with the current SSH agent protocol and expectations. There's neither a way in FIDO to sign raw data (without authenticatorData concatenated to the beginning) nor a means in the SSH agent protocol of providing any context around the data that was signed (e.g. that it was prefixed with a counter).
If either of these could budge over time, it would be a nice step toward inexpensive, easy-to-use, hardware-protected authentication for SSH. In any case, I'll close this for now.


perlPackages.SessionToken: add patch

Description of changes
Add patch from upstream to fix missing NULL-byte bug in tokens
https://github.com/hoytech/Session-Token/pull/3
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 281846 run on aarch64-darwin 1

4 packages built:

perl536Packages.SessionToken
perl536Packages.SessionToken.devdoc
perl538Packages.SessionToken
perl538Packages.SessionToken.devdoc


Consolidate static fixed-length AI lists into Syntax Dictionary derived data

Done with 2022-07-29.


WIP - support for self-managed DBMS sources of GDS Sessions

Replaces #585

replaced by #712 . as most of the validation happens on the server-side, I would omit the suggestion for dedicated sessions.


SloppySwiper transitions are way too sensitive

As it stands, any amount of swiping back will cause an implementing VC to close immediately. This is new behavior as of 1.1.0.

It seems to only happen if you have left side comment gestures turned on.

hm sloppy swiper is disabled if you have that setting on

I have disabled it in the sub vc for now

This has been fixed.


error [parse-error] - Unexpected token ...

Ref: https://github.com/Polymer/polymer-analyzer/issues/846
I'm using Polymer v1 and a gulpfile using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Can someone tell me how I can get the fix?

FWIW, I managed to get things working by changing, in my package.json:
  "polymer-build": "^1.0.0",

to
   "polymer-build": "^3.0.0",

and commenting out:
          .pipe(gulpIf(/\.js$/, gulpBabel({presets: ['es2015']})))

I guess I lost some compatibility with older browsers, but I can accept that (famous last words).

Can you post your full polymer.json?

Some stuff snipped, but hopefully it has the info you ask for (npm ls output is quite long):
polymer_json.txt
npm_ls.txt