text:
ENH: Define channel column for events and Delimiter field for column descriptions

See #1446 for extensive discussion.

Closes #1446.

Thanks! Perhaps we could extend the example here? --> https://bids-specification.readthedocs.io/en/latest/common-principles.html#tabular-files

I would be up for an added example in https://bids-specification.readthedocs.io/en/latest/modality-specific-files/task-events.html, but I think it would be cluttering in common principles. @christinerogers Would you be able to put together a small example of how channel would be used in EEG tasks?

Thanks! Perhaps we could extend the example here? --> https://bids-specification.readthedocs.io/en/latest/common-principles.html#tabular-files

I would be up for an added example in https://bids-specification.readthedocs.io/en/latest/modality-specific-files/task-events.html, but I think it would be cluttering in common principles. @christinerogers Would you be able to put together a small example of how channel would be used in EEG tasks?

Sure @effigies - @andesha and i will get back to you on that
Also, point taken about cluttering common principles, though how about a simple "See also" link, @effigies  ?  Just so the pointer is there to help the next person embedding a data structure to find supported formats.  Would help avoid divergence across modalities and major headaches for the bids-validator and other software platforms at the end of the day.
Or what's a better place contributors will come across it like BEP maintainers guide?

Thanks for that. It looks like that has both comma separation and dashes with unclear meaning. Would this be considered valid under the current proposal and everybody agrees FP1-F7,F7-T3 would parse as ["FP1-F7", "F7-T3"] but it's up to tools to understand what "FP1-F7" means? Or would there be an expectation that the validator would check that all listed channels are in channels.tsv, so these would fail?

Thanks for noting. This is actually something that should be corrected in this example. This example is an EEG set with a bipolar montage, so each channel is a difference between 2 channels, hence the channel name is typically F7-T3. However, in this case the corresponding channels.tsv file correctly names the channel F7 and the reference T3. I think the channel columns should be at least recommended to match the channel names. In the example I made comments to correct this, such that the channel column in the events file matches the channel name.

What tools are generating and consuming these columns at this point?

The artifact and seizure examples were translated to BIDS from the TUH EEG corpus . This is a large dataset where EEG data were annotated by experts. I use custom code to process the channel column. Perhaps @christinerogers can comment on other tools that are generating and consuming these.

I think the channel columns should be at least recommended to match the channel names.

agreed, I would make this REQUIRED, because otherwise it may lead to confusion (i.e., when documenting that an event is related to channels that are nowhere to be found in the data).

That sounds pretty painful to validate, especially trying to write as a declarative rule instead of custom code. We need to take each entry in a channel column, check to see if there's a specified delimiter (falling back to comma) in the sidecar.channel object, split by that delimiter, collect all the resulting channels, and verify they exist in the associated channels.tsv.

@effigies My new draft PR on bids-examples here is the first step in contributing a dataset to your point. There should be more commits soon with the channel lists.
I believe @VisLab is planning commits to bids-examples to cover some more cases, too.
cc @christinerogers

I will add an example within the next days/weeks and merge this. We have agreed on this at the BIDS derivatives meeting Copenhagen 2023.

I finally got around to adding an example. please feel free to review:
old	new

looping @dorahermes  and @Andesha in here --- Dora does this work for you as well?

This is adding "Delimiter" as a valid field in all TSV columns. What is the obligation of the validator for a column that declares a "Delimiter"?
If I have channels that include F,1 and I specify a channel column with no delimiter because I do not use lists, I think the proposed behavior above would cause us to parse this as two channels (F and 1) which do not exist in channels.tsv.
I think at best this should be a warning, because otherwise the complexity of writing a validation rule in schema that covers all edge cases is going to be painful.

If I have channels that include F,1 and I specify a channel column with no delimiter because I do not use lists, I think the proposed behavior above would cause us to parse this as two channels (F and 1) which do not exist in channels.tsv.

Or we make the Delimiter metadata REQUIRED. If it's not declared, then channels cells are not parsed as arrays.
However, the majority of people in #1146 was in favor of a (in my opinion only "seemingly") simpler solution that is currently proposed in this PR.

I think at best this should be a warning, because otherwise the complexity of writing a validation rule in schema that covers all edge cases is going to be painful.

you mean that IF

channels is a column in channels.tsv
cells in the channels column contain ,
no Delimiter is declared in channels.json under the channels key

THEN

we warn

???

This is adding "Delimiter" as a valid sidecar field for any column in any TSV.

yes, but defined columns other than channels do not declare that their cells are ,-separated arrays by default ... so how I read it, for all non-channels-columns, you would HAVE TO declare Delimiter to parse cells as arrays.

I would not be opposed to requiring DELIMITER if column is to be a list.
You are right in that it will be clearer and it is better to avoid coupling
requirements from multiple files.
On Thu, Nov 2, 2023, 2:20 PM Stefan Appelhoff @.***>
wrote:

If I have channels that include F,1 and I specify a channel column with no
delimiter because I do not use lists, I think the proposed behavior above
would cause us to parse this as two channels (F and 1) which do not exist
in channels.tsv.
Or we make the Delimiter metadata REQUIRED. If it's not declared, then
channels cells are not parsed as arrays.
However, the majority of people in #1146
https://github.com/bids-standard/bids-specification/pull/1146 was in
favor of a (in my opinion only "seemingly") simpler solution that is
currently proposed in this PR.
I think at best this should be a warning, because otherwise the complexity
of writing a validation rule in schema that covers all edge cases is going
to be painful.
you mean that IF

channels is a column in channels.tsv
cells in the channels column contain ,
no Delimiter is declared in channels.json under the channels key

THEN

we warn

???
This is adding "Delimiter" as a valid sidecar field for any column in any
TSV.
yes, but defined columns other than channels do not declare that their
cells are ,-separated arrays by default ... so how I read it, for all non-
channels-columns, you would HAVE TO declare Delimiter to parse cells as
arrays.
—
Reply to this email directly, view it on GitHub
https://github.com/bids-standard/bids-specification/pull/1483#issuecomment-1791553956,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJCJOQA2EFUKAFTQ3F66RTYCQFCVAVCNFSM6AAAAAAXS6CDWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJRGU2TGOJVGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

I agree with requiring a Delimiter in the channels.json in order for a column to be parsed as an array. Otherwise there may be many tricky edge cases.
Just a suggestion, but for the artifact column in the example, we could perhaps provide a HED example instead? This is to help avoid the potential abundance of terms using in XEG-BIDS data to describe artifacts. In that case the column name would be HED_annotations, and Sweat-artifact would be listed in the content. The json sidecar would list the following for the HED_annotations column.
"HED_annotations": {
"LongName": "Hierarchical Event Descriptors annotations",
"Description": "EEG interpretation Hierarchical Event Descriptors annotations"
},

Okay. So it seems we're agreed on language. I think to validate this, we will need to add/modify schema functions. We don't currently have a way of saying "x is a subset of y", or splitting a list of strings into a list of lists and combining into a list.

I think to validate this, we will need to add/modify schema functions. We don't currently have a way of saying "x is a subset of y", or splitting a list of strings into a list of lists and combining into a list.

when talking about validation, what exactly do you want to validate?

for each row in the channel column
splitting a potential array into values
for each value
checking whether that channel is in the corresponding channels.tsv
if not, warn

is that it? If you expected an error instead of a warning, we need to tune the language to include something like.

Channel names listed in the channel column MUST refer to entries in the channels.tsv file

Was there something else you wanted to validate that I am not thinking of right now?

I tagged some folks for reviews.

Channel names listed in the channel column MUST refer to entries in the channels.tsv file

Was there something else you wanted to validate that I am not thinking of right now?

Yes, and the check you describe is the one I'm thinking of. The wording would indicate to me that an error needs to be raised if the check fails.
I should clarify though: I don't want to validate this at all because it's a pain that requires aggregating data from a minimum of three files (events.tsv, events.json, channels.tsv), handling n/a and performing a check that's not currently possible in our schema expression language.
If XEG users/developers are happy to handle this without the validator producing a warning or error, then that works for me. The size of the audience for this whose use wouldn't be mediated by a tool seems like it's probably small?

The size of the audience for this whose use wouldn't be mediated by a tool seems like it's probably small?

yes.

Yes, and the check you describe is the one I'm thinking of. The wording would indicate to me that an error needs to be raised if the check fails.

given that we do not have said language in the text currently, the situation is slightly ambiguous. We are neither requiring, nor recommending that each listed channel be in channels.tsv.
I am fine not validating it, which probably effectively means that we make it OPTIONAL whether or not listed channels are in channels.tsv.
I would, however, be in favor of adding REQUIRED language to the spec, but putting off validating to a future timepoint (potentially never), or non-bids-validator tools.
Please react with a thumbs-up here if you agree, and then I'll add the language. Or comment otherwise.

Oh wow, I really thought I'd read the language that they have to line up. My brain is failing me...
I will leave it to your judgment whether to add the language, but I would treat a MUST as a commitment to eventually either validate it or relax the rule. If we don't add the MUST then I think it can only ever at most be a warning for backwards compatibility's sake, but the difficulty of the validation might justify limiting to a warning.

Thanks, I am fine with a warning then. It seems reasonable to me. Waiting some days with this for potential further reviews -- if none are coming in, I will merge it, as this has been discussed at length.

Could you wait until Sunday to merge. I'd like to look at more carefully
but won't have access to a computer until then. Thx
On Tue, Nov 7, 2023, 7:13 AM Stefan Appelhoff @.***>
wrote:

Thanks, I am fine with a warning then. It seems reasonable to me. Waiting
some days with this for potential further reviews -- if none are coming in,
I will merge it, as this has been discussed at length.
—
Reply to this email directly, view it on GitHub
https://github.com/bids-standard/bids-specification/pull/1483#issuecomment-1798837417,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJCJOS3IAQ6YXP6B5ABGRLYDJFY7AVCNFSM6AAAAAAXS6CDWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJYHAZTONBRG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

@vislab Some of your comments are marked "Outdated". I'm not sure if you're using a link to a specific commit, or just need to refresh. Can you check that you're reviewing the latest version?

Yeah, I see the outdated, but I think I am looking at the latest version.
I tried to resolve what I think was fixed.  I think that your updates now
make it clear that the entries are only treated as lists if the Delimiter
field is specified.
My concerns are:

Does Delimiter only apply to the "channel" column.  (Some places not
clear.)
Where is the right place to enforce modality constraints for using
channel column as a special column.
The examples with the annot or artifact columns should use rectified.

Thanks!
On Sat, Nov 11, 2023 at 12:17 PM Chris Markiewicz @.***>
wrote:

@VisLab https://github.com/VisLab Some of your comments are marked
"Outdated". I'm not sure if you're using a link to a specific commit, or
just need to refresh. Can you check that you're reviewing the latest
version?
—
Reply to this email directly, view it on GitHub
https://github.com/bids-standard/bids-specification/pull/1483#issuecomment-1806882865,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJCJOURYQR64DF3677YE3LYD66KRAVCNFSM6AAAAAAXS6CDWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWHA4DEOBWGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

BTW --- I think you should go ahead and merge this PR.  If any clarifications are needed, they can be added in an additional PR.

authors: Andesha VisLab christinerogers dorahermes effigies sappelhoff

repo: bids-standard/bids-specification


text:
Monit template for centos 7

As centos 7 has depcreted init.d and uses systemd our default monit templates fail with the following error on centos 7
/etc/monit/conf.d/nginx.conf:2: Program does not exist: '/etc/init.d/nginx'

this has to be in boxy-rails repo, have created https://github.com/bigbinary/boxy-rails/pull/24

source: gharchive/issue

repo: bigbinary/boxy

license: mit

license_type: permissive

license_source: bigquery


text:
Problem: The round robin strategy has issues.

Solution: Improve the implementation:

remove busy wait;
only retry connection errors;
simplify the code;
make custom headers overwrite common headers, not vice versa;
add some more tests;
remove obsolete await_transaction;
make the linter pass.

Codecov Report

Merging #456 into master will decrease coverage by 1.7%.
The diff coverage is 92.42%.

@@            Coverage Diff             @@
##           master     #456      +/-   ##
==========================================
- Coverage   99.57%   97.86%   -1.71%
==========================================
  Files           5        5
  Lines         233      234       +1
==========================================
- Hits          232      229       -3
- Misses          1        5       +4

Would it make sense to have a test case for the TimeoutError?

I'm wondering if we should add documentation for it. Maybe a small example how to add nodes and to understand when which error can occur?

source: gharchive/pull-request

authors: codecov-io codegeschrei ldmberman

repo: bigchaindb/bigchaindb-driver

license_source: github-api


text:
bigchaindb:all-in-one docker-compose error: 'check system' not defined in control file

When I try to run the all-in-one image with docker-compose I get the following error:
# docker-compose up
Creating network "bigfiot_default" with the default driver
Creating bigchaindb ... done
Attaching to bigchaindb
bigchaindb    | BigchainDB process manager configured!
bigchaindb    | I[05-16|19:07:23.868] Generated private validator                  module=main path=/tendermint/config/priv_validator.json
bigchaindb    | I[05-16|19:07:23.868] Generated node key                           module=main path=/tendermint/config/node_key.json
bigchaindb    | I[05-16|19:07:23.868] Generated genesis file                       module=main path=/tendermint/config/genesis.json
bigchaindb    | 'check system' not defined in control file, failed to add automatic configuration (service name bigchaindb is used already) -- please add 'check system <name>' manually
bigchaindb    | /root/.monitrc:16: Service name conflict, bigchaindb already defined 'bigchaindb'
bigchaindb exited with code 1

However, running it in docker directly is fine:
# docker run \
>   --detach \
>   --name bigchaindb \
>   --publish 9984:9984 \
>   --publish 9985:9985 \
>   --publish 27017:27017 \
>   --publish 26657:26657 \
>   --volume $HOME/bigchaindb_docker/mongodb/data/db:/data/db \
>   --volume $HOME/bigchaindb_docker/mongodb/data/configdb:/data/configdb \
>   --volume $HOME/bigchaindb_docker/tendermint:/tendermint \
>   bigchaindb/bigchaindb:all-in-one
6f64241e8bab12c8828c90e801d8c663520542d5bdccdde949d46732e3980ac8

# docker logs bigchaindb
BigchainDB process manager configured!
I[05-16|19:12:18.256] Found private validator                      module=main path=/tendermint/config/priv_validator.json
I[05-16|19:12:18.256] Found node key                               module=main path=/tendermint/config/node_key.json
I[05-16|19:12:18.256] Found genesis file                           module=main path=/tendermint/config/genesis.json
 New Monit id: f5249359c09c57604d5756ed4044d938
 Stored in '/root/.monit.id'
Starting Monit 5.25.1 daemon with http interface at [*]:2812
'6f64241e8bab' Monit 5.25.1 started
'bigchaindb' process is not running
'bigchaindb' trying to restart
'bigchaindb' restart: '/root/.bigchaindb-monit/monit_script start_bigchaindb /root/.bigchaindb-monit/monit_processes/bigchaindb.pid /root/.bigchaindb-monit/logs /root/.bigchaindb-monit/logs'
'bigchaindb' process is running with pid 33
'tendermint' start: '/root/.bigchaindb-monit/monit_script start_tendermint /root/.bigchaindb-monit/monit_processes/tendermint.pid /root/.bigchaindb-monit/logs /root/.bigchaindb-monit/logs'

Here is my docker-compose file:
# cat docker-compose.yml
version: '2.2'

services:
  bigchaindb:
    container_name: bigchaindb
    hostname: bigchaindb
    image: bigchaindb/bigchaindb:all-in-one
    volumes:
      - /var/lib/docker/data/bigchaindb_docker/mongodb/data/db:/data/db
      - /var/lib/docker/data/bigchaindb_docker/mongodb/data/configdb:/data/configdb
      - /var/lib/docker/data/bigchaindb_docker/tendermint:/tendermint
    ports:
      - 9984:9984
      - 9985:9985
      - 27017:27017
      - 26657:26657

Version info:
# docker-compose -version
docker-compose version 1.24.1, build 4667896b

# docker version
Client: Docker Engine - Community
 Version:           19.03.5
 API version:       1.40
 Go version:        go1.12.12
 Git commit:        633a0ea
 Built:             Wed Nov 13 07:25:41 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.5
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.12
  Git commit:       633a0ea
  Built:            Wed Nov 13 07:24:18 2019
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.10
  GitCommit:        b34a5c8af56e510852c35414db4c1f4fa6172339
 runc:
  Version:          1.0.0-rc8+dev
  GitCommit:        3e425f80a8c931f88e6d94a8c831b9d5aa481657
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)

Any ideas on what I'm doing wrong here?
Is there a better way to run an env using docker-compose without the need of building every time?
Cheers

Same issue.

Is it resolved yet? I can access http://localhost:9984/ but not http://localhost:9985/

authors: jseparovic kadnan stalkerg

repo: bigchaindb/bigchaindb


text:
Obtener todos los Elementos del Nodo Complemento

Hola buen dia estoy tratando de obtener el nodo Nomina asi como todos sus nodos, y el nodo TimbreFiscalDigital Pero no tengo forma alguna de obtenerlo aun siempre me retorna un objeto de la clase com.sun.org.apache.xerces.internal.dom.ElementNSImpl
Como puedo obtener esos nodos en Objetos Nomina y Objeto  TimbreFiscalDigital
Ayudaaaaaa

Hola,
Me parece que lo que preguntas, es muy similar a la pregunta que alguien habia hecho y la cual yo conteste:
Yo hago lo siguiente
    private void loadComplementos(Comprobante comprobante) {
        Listcomplementos = comprobante.getComplemento().getAny();
        if( complementos!=null  ) {
            Object complemento;
            for(int index=0; index<complementos.size(); index++) {
                complemento = complementos.get(index);
                Logger.debug(this,"Complemento["+(index+1)+"] "+complemento);
                if( complemento instanceof TimbreFiscalDigital ) {
                    timbreFiscal = (TimbreFiscalDigital)complemento;
                    setCadenaOriginalCertificacion( makeCadenaOriginal(timbreFiscal) );
                } else if( complemento instanceof Nomina ) {
                    complementoNomina = (Nomina) complemento;                } else if ...
} else {
                    Logger.warn(this, "complemento NO SOPORTADO!");
                }
            }    //    for
        }    //    if

    }    //    loadComplementos
 ---Jaime Joel Jiménez Sánchez Celular+52 (55) 2690 6194
Oficina+52 (55) 1103 0914
+52 (871) 690 3232
  From: mcarrascocomonfort <notifications@github.com>

To: bigdata-mx/factura-electronica factura-electronica@noreply.github.com
Sent: Monday, June 13, 2016 6:47 PM
Subject: [bigdata-mx/factura-electronica] Obtener todos los Elementos del Nodo Complemento (#142)
Hola buen dia estoy tratando de obtener el nodo Nomina asi como todos sus nodos, y el nodo TimbreFiscalDigital Pero no tengo forma alguna de obtenerlo aun siempre me retorna un objeto de la clase com.sun.org.apache.xerces.internal.dom.ElementNSImplComo puedo obtener esos nodos en Objetos Nomina y Objeto TimbreFiscalDigitalAyudaaaaaa—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

OK muchas gracias asi lo are te agradesco mucho el apoyo
2016-06-13 23:22 GMT-05:00 Joel notifications@github.com:

Hola,
Me parece que lo que preguntas, es muy similar a la pregunta que alguien
habia hecho y la cual yo conteste:
Yo hago lo siguiente
private void loadComplementos(Comprobante comprobante) {
Listcomplementos = comprobante.getComplemento().getAny();
if( complementos!=null  ) {
Object complemento;
for(int index=0; index<complementos.size(); index++) {
complemento = complementos.get(index);
Logger.debug(this,"Complemento["+(index+1)+"]
"+complemento);
if( complemento instanceof TimbreFiscalDigital ) {
timbreFiscal = (TimbreFiscalDigital)complemento;
setCadenaOriginalCertificacion(
makeCadenaOriginal(timbreFiscal) );
} else if( complemento instanceof Nomina ) {
complementoNomina = (Nomina) complemento;
} else if ...
            } else {
                Logger.warn(this, "complemento NO SOPORTADO!");
            }
        }    //    for
    }    //    if

}    //    loadComplementos

---Jaime Joel Jiménez Sánchez Celular+52 (55) 2690 6194
Oficina+52 (55) 1103 0914
+52 (871) 690 3232
From: mcarrascocomonfort notifications@github.com
To: bigdata-mx/factura-electronica factura-electronica@noreply.github.com
Sent: Monday, June 13, 2016 6:47 PM
Subject: [bigdata-mx/factura-electronica] Obtener todos los Elementos del
Nodo Complemento (#142)
Hola buen dia estoy tratando de obtener el nodo Nomina asi como todos sus
nodos, y el nodo TimbreFiscalDigital Pero no tengo forma alguna de
obtenerlo aun siempre me retorna un objeto de la clase
com.sun.org.apache.xerces.internal.dom.ElementNSImplComo puedo obtener esos
nodos en Objetos Nomina y Objeto TimbreFiscalDigitalAyudaaaaaa—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bigdata-mx/factura-electronica/issues/142#issuecomment-225776434,
or mute the thread
https://github.com/notifications/unsubscribe/AS_udS2abkzvBzyDAA-YyXZujx3NBWyUks5qLiyVgaJpZM4I01uz
.

Hola buen dia Joel me podrias apoyar necesito generar los archivos .java
desde el archivo cfdv33.xsd para la version 3.3 del CFDI,
no puedo generar los catalogos:
xjc -extension cfdv33.xsd
Analizando un esquema...
[WARNING] El tipo simple "c_CodigoPostal" no se ha asignado a Enum debido
al límite de EnumMemberSizeCap. Recuento de facetas: 32,333, límite actual:
256. Puede utilizar el atributo de personalización "typesafeEnumMaxMembers"
para ampliar el límite.
línea 229 de file:/home/marco/Descargas/CFDIV33/catCFDI.xsd
[WARNING] El tipo simple "c_Colonia" no se ha asignado a Enum debido al
límite de EnumMemberSizeCap. Recuento de facetas: 9,999, límite actual:
256. Puede utilizar el atributo de personalización "typesafeEnumMaxMembers"
para ampliar el límite.
línea 89157 de file:/home/marco/Descargas/CFDIV33/catCFDI.xsd
[WARNING] El tipo simple "c_ClaveProdServ" no se ha asignado a Enum debido
al límite de EnumMemberSizeCap. Recuento de facetas: 52,839, límite actual:
256. Puede utilizar el atributo de personalización "typesafeEnumMaxMembers"
para ampliar el límite.
línea 32886 de file:/home/marco/Descargas/CFDIV33/catCFDI.xsd
[WARNING] El tipo simple "c_ClaveUnidad" no se ha asignado a Enum debido al
límite de EnumMemberSizeCap. Recuento de facetas: 3,306, límite actual:
256. Puede utilizar el atributo de personalización "typesafeEnumMaxMembers"
para ampliar el límite.
línea 85730 de file:/home/marco/Descargas/CFDIV33/catCFDI.xsd
[WARNING] El tipo simple "c_PatenteAduanal" no se ha asignado a Enum debido
al límite de EnumMemberSizeCap. Recuento de facetas: 3,111, límite actual:
256. Puede utilizar el atributo de personalización "typesafeEnumMaxMembers"
para ampliar el límite.
línea 99861 de file:/home/marco/Descargas/CFDIV33/catCFDI.xsd
[WARNING] El tipo simple "c_Municipio" no se ha asignado a Enum debido al
límite de EnumMemberSizeCap. Recuento de facetas: 570, límite actual: 256.
Puede utilizar el atributo de personalización "typesafeEnumMaxMembers" para
ampliar el límite.
línea 99232 de file:/home/marco/Descargas/CFDIV33/catCFDI.xsd
Espero me puedas apoyar
El 14 de junio de 2016, 8:40, Marco Antonio Carrasco Comonfort <
mcarrascocomonfort@gmail.com> escribió:

OK muchas gracias asi lo are te agradesco mucho el apoyo
2016-06-13 23:22 GMT-05:00 Joel notifications@github.com:

Hola,
Me parece que lo que preguntas, es muy similar a la pregunta que alguien
habia hecho y la cual yo conteste:
Yo hago lo siguiente
private void loadComplementos(Comprobante comprobante) {
Listcomplementos = comprobante.getComplemento().getAny();
if( complementos!=null  ) {
Object complemento;
for(int index=0; index<complementos.size(); index++) {
complemento = complementos.get(index);
Logger.debug(this,"Complemento["+(index+1)+"]
"+complemento);
if( complemento instanceof TimbreFiscalDigital ) {
timbreFiscal = (TimbreFiscalDigital)complemento;
setCadenaOriginalCertificacion( makeCadenaOriginal(timbreFiscal)
);
} else if( complemento instanceof Nomina ) {
complementoNomina = (Nomina) complemento;
} else if ...
            } else {
                Logger.warn(this, "complemento NO SOPORTADO!");
            }
        }    //    for
    }    //    if

}    //    loadComplementos

---Jaime Joel Jiménez Sánchez Celular+52 (55) 2690 6194
Oficina+52 (55) 1103 0914
+52 (871) 690 3232
From: mcarrascocomonfort notifications@github.com
To: bigdata-mx/factura-electronica <factura-electronica@noreply.
github.com>
Sent: Monday, June 13, 2016 6:47 PM
Subject: [bigdata-mx/factura-electronica] Obtener todos los Elementos
del Nodo Complemento (#142)
Hola buen dia estoy tratando de obtener el nodo Nomina asi como todos sus
nodos, y el nodo TimbreFiscalDigital Pero no tengo forma alguna de
obtenerlo aun siempre me retorna un objeto de la clase
com.sun.org.apache.xerces.internal.dom.ElementNSImplComo puedo obtener
esos nodos en Objetos Nomina y Objeto TimbreFiscalDigitalAyudaaaaaa—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bigdata-mx/factura-electronica/issues/142#issuecomment-225776434,
or mute the thread
https://github.com/notifications/unsubscribe/AS_udS2abkzvBzyDAA-YyXZujx3NBWyUks5qLiyVgaJpZM4I01uz
.

Hola, la solución esta en otro de las discusiones. Me parece que en la de nomina 1.2
Saludos
Enviado desde Yahoo Mail para Android

authors: jjjimenez mcarrascocomonfort

repo: bigdata-mx/factura-electronica


text:
ADAM version 0.19.0 will not run on Spark version 2.0.0

We knew this would happen; with Spark version 2.0.0 installed from Homebrew and ADAM version 0.19.0 installed from Homebrew Science
$ spark-submit --version
Welcome to
      ____              __
     / __/__  ___ _____/ /__
    _\ \/ _ \/ _ `/ __/  '_/
   /___/ .__/\_,_/_/ /_/\_\   version 2.0.0
      /_/

Branch
Compiled by user jenkins on 2016-07-19T21:16:09Z
Revision
Url
Type --help for more information.

$ adam-submit --version
Using ADAM_MAIN=org.bdgenomics.adam.cli.ADAMMain
Using SPARK_SUBMIT=/usr/local/bin/spark-submit
java.lang.NoClassDefFoundError: org/apache/spark/Logging
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:348)
	at org.apache.spark.util.Utils$.classForName(Utils.scala:225)
	at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:686)
	at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:185)
	at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:210)
	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:124)
	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: java.lang.ClassNotFoundException: org.apache.spark.Logging
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 19 more

ADAM git HEAD version 0.19.1-SNAPSHOT runs ok
$ ./bin/adam-submit --version
Using ADAM_MAIN=org.bdgenomics.adam.cli.ADAMMain
Using SPARK_SUBMIT=/usr/local/bin/spark-submit

       e         888~-_          e             e    e
      d8b        888   \        d8b           d8b  d8b
     /Y88b       888    |      /Y88b         d888bdY88b
    /  Y88b      888    |     /  Y88b       / Y88Y Y888b
   /____Y88b     888   /     /____Y88b     /   YY   Y888b
  /      Y88b    888_-~     /      Y88b   /          Y888b

ADAM version: 0.19.1-SNAPSHOT
Commit: c23aace7b1739e29935cd3f46781ae0befc0a756 Build: 2016-07-29
Built for: Scala 2.10 and Hadoop 2.6.0

Note the Spark binary tarball used by Homebrew was built against Scala 2.11 and Hadoop 2.7
https://www.apache.org/dyn/closer.lua?path=spark/spark-2.0.0/spark-2.0.0-bin-hadoop2.7.tgz
whereas we still build by default for Hadoop 2.6.0 and use the Scala 2.10 binary tarball for the Homebrew Science formula.

Due to this we're in a catch-22 for Homebrew, see https://github.com/Homebrew/homebrew-science/pull/3849.
@fnothaft @jpdna Should we cherry pick the logging fix to the 0.19.0 release branches and cut a 0.19.1?

@heuermh that would be very useful, as we're seeing more people who want to use ADAM with Spark 2.0. (https://github.com/broadinstitute/gatk/issues/2073 is one example; there are others.)

Hi @tomwhite! OOC, the GATK ticket you crossreferenced, that looks like a Scala 2.11 issue, not a Spark 2.0 issue. Did I misread?
Not that I disagree with getting Spark 2.0 support up and going! However, we run CI on both Scala 2.10 and 2.11, so if our CI is missing a Scala 2.11 bug, we must have a test gap somewhere, hence my confusion!

@fnothaft @jpdna Should we cherry pick the logging fix to the 0.19.0 release branches and cut a 0.19.1?

I am OK with that. However, we have one more logging fix to drop in! I will open a PR momentarily.

Thanks @fnothaft. However it looks like it's a Spark 2.0 issue still (see my comment on the GATK ticket). So a 0.19.1 release would be very welcome!

@tomwhite thanks for pinging back! After you pinged the ticket yesterday, I started looking into this with ADAM ToT and we have a few areas where we run into issues with Spark 2. However, they're mostly straightforward and I've been hacking through those issues and have them pretty close to resolved. I'll open a PR to support Spark 2 on ADAM today. They need an upstream change (https://github.com/bigdatagenomics/utils/issues/77) but that is fairly straightforward.
From a distribution perspective, there's no way to distribute an ADAM binary that works for both Spark 1.x and 2.x because of underlying changes to the Spark APIs (sneaky ones too, I spent an hour yesterday getting hard to trace IncompatibleClassChangeExceptions), so my plan is to have the main org.bdgenomics.adam:adam-{core,apis,cli}_2.1[0,1] artifacts stay on Spark 1.x, and to then also push org.bdgenomics.adam:adam-{core,apis,cli}-spark2_2.1[0,1] artifacts up to Maven. I assume this would work fine on your end?

That proposal looks reasonable to me, though we should check with other projects downstream of Spark to see what they plan to do with artifact naming.  Is there any advice from the Spark team?

Posted question on artifact name/qualifiers to #apache-spark on IRC and dev@spark.apache.org.

@heuermh did we get any resolution RE: artifact name?

No, other than advice to try <qualifier> instead of embedding spark2 in the artifact name.
Since <qualifier> is also used by the Maven release plugin for the javadoc and sources artifacts, I'm hesitant to mess with it.

If all is OK with you then, perhaps let's proceed with the Spark 2 changes upstream? Can you merge https://github.com/bigdatagenomics/utils/pull/78?

authors: fnothaft heuermh tomwhite

repo: bigdatagenomics/adam


text:
Rename Contig objects

I was writing code that munged NucleotideContigFragments and realized that Contig should be changed to Reference and NucleotideContigFragment should be renamed to Contig or ContigFragment.

+1

Consider also the renaming proposal in https://github.com/bigdatagenomics/adam/issues/997.
Perhaps
Contig -> Reference
new schema class ReferenceSet (or References, or Assembly, or SequenceDictionary, or ?)
new schema class Sequence
new schema class or enum Alphabet
NucleotideContigFragment -> SequenceFragment (or SequencePartition, or Slice, or ?)

authors: fnothaft heuermh laserson

repo: bigdatagenomics/bdg-formats


text:
After adding the reposity and refreshing the add-on store I cannot find the wireguard client

After adding the reposity and refreshing the add-on store I cannot find the wireguard client

Hi @damarges please you have to add this URL https://github.com/bigmoby/hassio-repository-addon into custom repository URL's section.

thats what I did. no addon showing up I could install :/

well now after done it for the ike 5th or 6th time and refreshing and so on. now it shows up :)

Probably a browser cache issue.

authors: bigmoby damarges

repo: bigmoby/addon-wireguard-client

license: MIT


text:
🛑 Bespoke 4 joinery is down

In 8b66bfa, Bespoke 4 joinery (https://bespoke4joinery.co.uk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bespoke 4 joinery is back up in 46e6bf3 after 9 minutes.

repo: bigupjeff/my-site-uptime-monitor


text:
webssh2 not working with nginx proxy

nginx.conf
events {
        worker_connections 1024;
}

http {
        upstream sshserver {
                server localhost:2222;
        }
        server {
                listen 443 ssl;
                server_name a.a.com

                ssl_certificate cer;
                ssl_certificate_key key;

                client_max_body_size 2G;

                proxy_connect_timeout       60000;
                proxy_send_timeout          60000;
                proxy_read_timeout          60000;
                send_timeout                60000;

                location /ssh/ {
                        proxy_pass http://sshserver/ssh/;
                }
        }
}

Take a closer look at your config and your 404 and see the location it’s coming for /ssh isn’t enough.

I dont know what I am looking at?

Not sure if this is an issue or a shortcoming how the client works, but i fixed it by changing the href in client.htm and changing the socket.io hostname and basepath in index.js

Hi.
I have the exact same error. I was able to edit my client.htm file and I can see that worked.
I do not know what/where to change index.js. I guess that its the index.js in ./client/src, but not sure. Also, it was sort of obvious what to change client.htm too. Its not so obvious for me what to change in index.js.
I believe I am close, help with this will be really appreciated...
Vissie

@vissieGP what i cahnged in index.js inside 'client/src/js/' was following:
->line 49
if (document.location.pathname) {   var parts = document.location.pathname.split('/')   var base = parts.slice(0, parts.length - 1).join('/') + '/'   var resource = '/**<your nginx proxy path>**/' + 'socket.io'   console.log(resource);   socket = io.connect('**<your url e.g. http://abc.com/**', {     path: resource   })   console.log('here'); } else {   socket = io.connect()   console.log('not here'); }
After doing this i remember rebuilding some project maybe this client one, but don't remember exactly.
Hope this is of help to you.


text:
How to decode the response  of ABCIQuery?

When get account balance by node RPC API, the ABCIQuery's path "/store/acc/key" returns amino-encoded string.
S9xMJwqZAQoU2h8pqmnHMwEZj0aev9+Dl6RdX/gSCwoDQk5CEMW8zopAEg4KCEJUQ0ItMURFELDqARIRCgdDT1MtMkU0EICS+6+G2QgSEAoHR0lWLTk0RRCAoLeH6QUSEAoJVVNEU0ItMUFDELC2wwEaJuta6YchAxtKZAZBHnTpu+kOOTEacbgw1TB14nwSIZIEBc40M+6xIIH5Aij2Pg==
after base-64 decode, I tried to decode the response to struct
type ResponseQuery struct {     Code                 uint32     Log                  string     Info                 string     Index                int64     Key                  []byte     Value                []byte     Proof                *merkle.Proof     Height               int64     Codespace            string }
but failed.
so how can I get the JSON result shown in  document ?

Hello, @Brochao
Can you take a look at the code here: https://github.com/binance-chain/go-sdk/blob/3f52c489082684ec2384acdcb73ffa8ad940ccf7/client/rpc/dex_client.go#L107
Thanks!

authors: Brochao huangsuyu

repo: binance-chain/go-sdk


text:
WaitingFor on not started party causes panic

I initialized a keygen party but haven't started the process yet. When I call WaitingFor() for this party, I get panic runtime error.
In such a case I would expect WaitingFor() function to return either an error or a list of parties (empty or containing all parties).
Stack trace:
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x4407f56]

goroutine 10 [running]:
testing.tRunner.func1(0xc0000fe300)
	/usr/local/Cellar/go/1.13.4/libexec/src/testing/testing.go:874 +0x3a3
panic(0x45aff80, 0x4bef630)
	/usr/local/Cellar/go/1.13.4/libexec/src/runtime/panic.go:679 +0x1b2
github.com/binance-chain/tss-lib/tss.(*BaseParty).WaitingFor(0xc00048f290, 0x0, 0x0, 0x0)
	/Users/(...)/binance-chain/tss-lib@v1.1.0/tss/party.go:49 +0x86
github.com/(...)/tss.TestWaitingFor(0xc0000fe300)
	/Users/(...)/tss_test.go:46 +0x329
testing.tRunner(0xc0000fe300, 0x4795300)
	/usr/local/Cellar/go/1.13.4/libexec/src/testing/testing.go:909 +0xc9
created by testing.(*T).Run
	/usr/local/Cellar/go/1.13.4/libexec/src/testing/testing.go:960 +0x350

Test:
func TestWaitingFor(t *testing.T) {
	groupPartiesIDs := []*tss.PartyID{
		tss.NewPartyID("party-1", "", big.NewInt(1)),
		tss.NewPartyID("party-2", "", big.NewInt(2)),
		tss.NewPartyID("party-3", "", big.NewInt(3)),
	}

	params := tss.NewParameters(
		tss.NewPeerContext(tss.SortPartyIDs(groupPartiesIDs)),
		groupPartiesIDs[0],
		len(groupPartiesIDs),
		len(groupPartiesIDs)-1,
	)

	tssMessageChan := make(chan tss.Message, len(groupPartiesIDs))
	endChan := make(chan keygen.LocalPartySaveData)

	party := keygen.NewLocalParty(params, tssMessageChan, endChan)

	waitingFor := party.WaitingFor()

	t.Logf("waiting for: %v", waitingFor)
}

I've seen a similar error, same bug, different execution...
PANIC: tss_4nodes_test.go:367: TssTestSuite.TestProcessVerMessage
... Panic: runtime error: invalid memory address or nil pointer dereference (PC=0x1030D31)
/usr/local/go/src/runtime/panic.go:679
  in gopanic
/usr/local/go/src/runtime/panic.go:199
  in panicmem
/usr/local/go/src/runtime/signal_unix.go:394
  in sigpanic
/Users/yb/go/pkg/mod/github.com/binance-chain/tss-lib@v1.1.0/tss/party.go:53
  in BaseParty.WrapError
/Users/yb/go/pkg/mod/github.com/binance-chain/tss-lib@v1.1.0/ecdsa/keygen/local_party.go:149
  in LocalParty.UpdateFromBytes
tss.go:446
  in Tss.updateLocal
tss.go:630
  in Tss.processVerMsg
tss.go:509
  in Tss.processOneMessage
tss_4nodes_test.go:339
  in TssTestSuite.testVerMsgAndUpdate
tss_4nodes_test.go:390
  in TssTestSuite.TestProcessVerMessage
/usr/local/go/src/reflect/value.go:321
  in Value.Call
/usr/local/go/src/runtime/asm_amd64.s:1357
  in goexit

Looks like both of these can happen before the party is started and therefore before a round is set.
The round used to be set in the constructor so this might be a bit of a regression after that change.

authors: cbarraford nkuba notatestuser

repo: binance-chain/tss-lib


text:
Differentiate Open & Closed PARTIALLY_FILLED Orders

Hello,
How to differentiate Open PARTIALLY_FILLED Orders and Closed PARTIALLY_FILLED Orders ?
Thanks for your help :)

Sorry, I didn't understand that in the Binance API,
a Partially Filled and Canceled Order is displayed as status = "Canceled" with an executed quantity higher or Zero.

Sorry, I didn't understand that in the Binance API,
a Partially Filled and Canceled Order is displayed as status = "Canceled" with an executed quantity higher or Zero.

repo: binance-exchange/binance-java-api


text:
How to override ResultDB class

Hello!
In order to try to save results in resultdb mongodb collection without serialisation of json i try to override ResultDB class in my test project, like this:
from pyspider.database.mongodb.resultdb import *

class MyResultDB(ResultDB):
    def save(self, project, taskid, url, result):
        collection_name = self._collection_name(project)
        obj = {
            'taskid': taskid,
            'url': url,
            'result': result,
            'json_result': result,
            'updatetime': time.time(),
        }
        return self.database[collection_name].update(
            {'taskid': taskid}, {"$set": self._stringify(obj)}, upsert=True
        )

But it seems not doing anything in resultdb - there still only 5 fields - "_id",  "taskid", "url", "updatetime" and serialised "result".
Pretty newbie in python, need help =)

If you do so, it will break the original result db reading stuffs, if you want to change how pyspider store the result, override on_result method if handler or override ResultWorker.

The idea was just to add field 'json_result' to collection, wich will be stored unserialised in mongo. Result db reading stuff use 'result' field to read and show results in web interface as i understand the code, so it will not break showing results in web interface of pyspider.
Also, can you please write some example how to override on_result method or ResultWorker to store results in separate MongoDB database?

I'm afraid can only create components instance by your own to specify a custom database.
https://github.com/binux/pyspider/blob/master/pyspider/libs/base_handler.py#L373 you will only revieve the result as arguament, do what you want to store it to separate database.

I‘m working on this now.
Have tried several ways, didn't find a perfect solution.

Maybe the following will help. @fakegit @mizhgan
import time
import json
import logging
from six.moves import queue as Queue
logger = logging.getLogger("result")
from pyspider.result import ResultWorker
from types import MethodType

class MyMongoResultWorker(ResultWorker):
    def on_result(self, task, result):
        if not result:
            return
        if 'taskid' in task and 'project' in task and 'url' in task:
            logger.info('result %s:%s %s -> %.30r' % (
                task['project'], task['taskid'], task['url'], result))
            self._dynamic_result_db()
            return self.resultdb.save(
                project=task['project'],
                taskid=task['taskid'],
                url=task['url'],
                result=result
            )
        else:
            logger.warning('result UNKNOW -> %.30r' % result)
            return

    def _dynamic_result_db(self):
        '''dynamic override the _stringify method of mongo resultdb'''
        def _stringify(self, data):
            return data

        self.resultdb._stringify = MethodType(_stringify, self.resultdb)

authors: binux fakegit mizhgan qiaoba

repo: binux/pyspider


text:
Handler class find problem

I see search handler method is as follows：
        if '__handler_cls__' not in module.__dict__:
            BaseHandler = module.__dict__.get('BaseHandler', base_handler.BaseHandler)
            for each in list(six.itervalues(module.__dict__)):
                if inspect.isclass(each) and each is not BaseHandler \
                        and issubclass(each, BaseHandler):
                    module.__dict__['__handler_cls__'] = each
        _class = module.__dict__.get('__handler_cls__')

I carried on the secondary development, to create a handler parent class extend BaseHandler, after import in subclasses.
Execution time, will find a handler for the parent class, this is not what I want.
If there is a good solution to solve this?

To extend BaseHandler, deriving a class from BaseHandler, import it in other projects as BaseHandler.

Very good, thank you very much!

authors: binux kaito-kidd


text:
The Stats page is broken

I think the issue is that now there can be null values in the latitude/longitude columns, so we will need to fix this.

I was taking a look at this as it's important to fix but not sure if fixing get_lat_longs to only retrieve not None values or fixing _get_stats to skip them will be the way to go ... opinions?

I think the best one is to fix get_lat_longs

authors: antgonza josenavas

repo: biocore/qiita


text:
Fix 2505

Note that the "smaller" name version, algorithm_az, is just the name without any non a-zA-Z characters, which I think is a good start and devs can use to parse out/in whatever they need,

Codecov Report

Merging #2545 into dev will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##              dev    #2545      +/-   ##
==========================================
+ Coverage   94.41%   94.42%   +<.01%
==========================================
  Files         160      160
  Lines       19453    19468      +15
==========================================
+ Hits        18367    18382      +15
  Misses       1086     1086

Impacted Files
Coverage Δ

...iita_pet/handlers/api_proxy/tests/test_artifact.py
98.22% <ø> (ø)
:arrow_up:

...pet/handlers/study_handlers/tests/test_artifact.py
97.19% <ø> (ø)
:arrow_up:

qiita_db/test/test_util.py
99.65% <100%> (ø)
:arrow_up:

qiita_db/util.py
96.64% <100%> (+0.07%)
:arrow_up:

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 e7c5832...e67db3d. Read the comment docs.

authors: antgonza codecov-io


text:
The edit button does not work anymore

The edit button is disappeared because the generated RDF from github CI does not provide information about the owner of the item. We need to fix from the collection repo.

This should work now.


text:
🛑 Personal m3u is down

In 9e3b786, Personal m3u (https://personalm3u.onrender.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Personal m3u is back up in 8b9f35b after 1 hour, 10 minutes.


text:
Some clean up and bug fixes in the visual compass.

Not tested on yet.

@JanGut  currently I have no rosbag to test this. The evaluator should not be affected by this.


text:
Cannot set reference field value

Godot version: v4.1.stable.official [970459615]
Describe the bug
When setting a reference property value, error is printed and the change doesn't happen.
To Reproduce
Steps to reproduce the behavior:

Go to Pandora panel with the example dataset (inventory)
Under Items/Ores select CopperOre
Change the CopperOre's rarity from currently Legendary to any other
Error gets printed and the change doesn't go through

Error: Pandora error: value <Resource#-9223369595769779648> is incompatible with type reference
This happens even if I create a brand new category with new reference fields and items.
Expected behavior
The rarity of CopperOre should change and no error should be printed.
Desktop

OS: MacOS 13.4.1

The issue is, that the PandoraReference class isn't considered of type "reference" and fails the is_valid_type check.
func(variant): return variant is PandoraEntity,

Adding PandoraReference to the type check should be fine, I think. I tried it, seemed to work just fine.
func(variant): return variant is PandoraEntity or variant is PandoraReference,

But I don't understand the codebase well enough (yet!) to be fully confident.

@VojtaStruhar the idea is that the reference gets created dynamically inside Pandora. From an API perspective, it should always be PandoraEntity.
Let me see today what the issue is here!

I dug a little more and found, that after selecting entity from a dropdown, you wrap it in PandoraReference and then call set_default_value with it:
# reference_property.gd, _ready
entity_picker.entity_selected.connect(
  func(entity:PandoraEntity):
    var reference = PandoraReference.new(entity.get_entity_id(), 1 if entity is PandoraCategory else 0)
    _property.set_default_value(reference)
    property_value_changed.emit())

But in set_default_value you have a very similar piece of code that does the same thing conditionally:
value = PandoraReference.new(value.get_entity_id(), PandoraReference.Type.CATEGORY if value is PandoraCategory else PandoraReference.Type.ENTITY)

I think that in the entity_picker, we are wrapping the entity in a PandoraReference too early! I tried to pass in just the entity, seems to work just fine. I had a look in the stored data too - it seems to add the override correctly:

If this sounds good to you, I'll make a pull request, it's a one-liner :)

authors: VojtaStruhar bitbrain

repo: bitbrain/pandora


text:
Expose init executor instance

This PR exposes InitExecutor instance to QML so that we can:

show the window as early as possible
display loading feedback on that window
connect/bind in QML to the relevant object's properties/signals to update the UI

The InitExecutor is then kept in the main GUI thread (otherwise QML engine complains) and the instance is exposed in the root engine context.
This change also removes the "proxy role" of NodeModel. Further simplifications/improvements will follow, but I'd like to present this approach first before going forward.

Related https://github.com/bitcoin-core/gui/pull/434

Concept ACK.

Concept ACK.

To elaborate, I'm "Concept ACK" on:

show the window as early as possible

display loading feedback on that window

But I'm not sure it is required to expose an InitExecutor instance to achieve these goals.
A relevant discussion in https://github.com/bitcoin-core/gui/pull/434:

https://github.com/bitcoin-core/gui/pull/434#issuecomment-929788149
https://github.com/bitcoin-core/gui/pull/434#issuecomment-930028976

On of the main goals of starting this project is involving Bitcoin Design community in the development process from the day 0. And to achieve it, keeping QML files as simple as possible is important for the project.
As were mentioned in #31, with the current approach:

QML files are easy to read, reason about, and modify. Designers could easy work on them

Anyway, as https://github.com/bitcoin-core/gui/pull/434 is merged, this PR requires rebasing on top of the updated sync with the main repo that is currently blocked by #41.

Currently the designer is already exposed to nodeModel and nodeModel.startNodeInitializionThread().

It is all about the same object :)

And eventually it will have to be exposed to more stuff since that's the way QML works.

"more stuff" could remain the same single nodeModel object.

This change at least removes the wiring from InitExecutor and NodeModel.

But it exposes another object into QML code.
Having the only object, which is exposed to the QML, has a simple benefit of a guarantee that its internal state, i.e. internal state of the C++ backend, is consistent at anytime.

authors: hebasto promag

repo: bitcoin-core/gui-qml


text:
Content Suggestion: BitcoinDevList

Link to Content: bitcoindevlist.com
Briefly Describe Content: Donate to bitcoin devs
Suggested Section: Spend Bitcoin

Added

repo: bitcoin-only/bitcoin-only


text:
Investigate BIP84 and BIP49

I was not aware of these BIPs until I poked around in Samourai today. Looks like Segwit addresses should use their own account in the BIP44 derivation scheme. Should look into this, so we stay compatible with the rest of the ecosystem.
Link to BIP84 (Derivation scheme for P2WPKH based accounts): https://github.com/bitcoin/bips/blob/master/bip-0084.mediawiki
Link to BIP49 (Derivation scheme for P2WPKH-nested-in-P2SH based accounts): https://github.com/bitcoin/bips/blob/master/bip-0049.mediawiki

BitcoinJ
Does not seem to implement segwit in their integrated wallet properly. The only reference I can find to segwit in their wallet code is this: https://github.com/bitcoinj/bitcoinj/blob/a1a1f71a27042ad1d872ec6c3bf5c88aa112f0ae/core/src/test/java/org/bitcoinj/wallet/DeterministicKeyChainTest.java#L72, which is in a test.
In that test they set account paths totally different from any standardized way of doing it.

Samourai
Does seem to implement both BIP84 and BIP49
From the app:

From the code:

BIP49
BIP84

Trezor
TODO

NBitcoin
TODO

Blockstream Green
TODO

repo: bitcoin-s/bitcoin-s-core


text:
CrashReporter: Press next in send without adding anything

If you press Next in the Send enter amount screen without entering ANYTHING you get the crash report:
[2015-04-22 12:55:47,135] ERROR [AWT-EventQueue-1] o.m.h.c.e.ExceptionHandler - Uncaught exception ! java.lang.IllegalStateException: Optional.get() cannot be called on an absent value
! at com.google.common.base.Absent.get(Absent.java:47) ~[guava-16.0.1.jar:na]
! at org.multibit.hd.ui.views.wizards.send_bitcoin.SendBitcoinWizardModel.prepareTransaction(SendBitcoinWizardModel.java:402) ~[classes/:na]
! at org.multibit.hd.ui.views.wizards.send_bitcoin.SendBitcoinWizardModel.showNext(SendBitcoinWizardModel.java:159) ~[classes/:na]

Tightened up on Next being enabled and also put in some checks in the model Next handler which redirect back to the enter amount page (just in case).
Next is only enabled when the network is ok, there is a recipient and an amount has been entered.
Awaiting review and closing.

Verified working.
Closing.

repo: bitcoin-solutions/multibit-hd


text:
(feature) Datetime format personalization

Asana task:
...
Description:

Related Pull Requests:
...
Backend Dependencies:
https://github.com/bitfinexcom/bfx-hf-server/pull/233
Other Dependencies:
...

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1202373640620648

@Blaumaus could you please resolve conflicts above

@dmytroshch could you please fix above conflicts

authors: bhoomij dmytroshch

repo: bitfinexcom/bfx-hf-ui-core


text:
Fix upstream listen warning args

Hotfix

Thanks @michaelwilner

authors: JacobPlaster michaelwilner

repo: bitfinexcom/bitfinex-api-go


text:
#15 parse variables in path

Previous PR only parsed variables in value. This also does it in the path

This also solves #11 and #12, this is totally a feature I want in companion

Can someone please pull this change

authors: AdamBaston Byberg33 wcfrostick

repo: bitfocus/companion-module-generic-osc


text:
Cannot fill "Destination" field

Hello
I'm testing this module (companion-module-imagine-lrc) on companion v3.2.2 and I notice a problem.
The module connects correctly to the router (Imagine Platinum MX 15RU) but when I try to add a "Crosspoint Take" action on a key or on a trigger, I cannot fill in the "Destination" field with a number or name (it is ignored) .
With companion 2.4.4 it works correctly, with the same configuration.
The problem occurs even if I don't connect to the router.
Is it a compatibility bug?
Thank you for this useful module!
Enrico
Companion v3.2.2 trigger action whith LRC Crosspoint Take:

I've finally had time to update the module to be properly functional in Companion v3. I'll reply back here once it's available in the betas, and that should resolve this issue.

v3 support is complete in #6 which will fix this. I've requested it to be added to the Companion betas, and hopefully will be available shortly.

It's in the betas as of 8/21. Feel free to reach back out with any issues.

repo: bitfocus/companion-module-imagine-lrc