Selecting which extendedGallery gets displayed on the homepage

I'd like to select which extendedGallery gets displayed on the homepage.
Either through selecting them or by excluding the ones with a certain tag.
I'm guessing I'd have to adapt the graphql query but I don't know where to start or how to phrase it.

export const assetQuery = graphql`
  {
    contentfulAsset(filter: { tag: { eq: 'homePage' } }) {
      image {
        resolutions(width: 1600) {
          width
          height
          src
          srcSet
        }
      }
    }
  }
`

What about a tag filter?

Thanks for sharing!
I meant the galleries listed on the homepage - sorry for being unclear!
Like right now I have every extendedGallery displayed but I’d like to be able to have hidden extendedGallery pages.
Do I make sense?
Thanks again for taking a look and helping 🤜🤛
Envoyé de mon iPhone

Le 30 mars 2019 à 18:29, Matthias Jordan<EMAIL_ADDRESS>a écrit :
export const assetQuery = graphql  {     contentfulAsset(filter: { tag: { eq: 'homePage' } }) {       image {         resolutions(width: 1600) {           width           height           src           srcSet         }       }     }   }
What about a tag filter?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yeah, the above should work. If you put the homepage tag only on the galleries that you want to display, then filter for that tag, the others should be hidden.

I’ll give this a try on a branch tomorrow or early next week.
I should put that snippet of code on HomeList.js (right?)
Thanks again for all your help Matthias

Le 30 mars 2019 à 19:00, Matthias Jordan<EMAIL_ADDRESS>a écrit :
Yeah, the above should work. If you put the homepage tag only on the galleries that you want to display, then filter for that tag, the others should be hidden.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

https://github.com/jpvalery/portfolio/blob/master/src/pages/index.js
Try adding filter: { tag: { eq: 'homePage' } } after line 47

🤦♂ the code you put in https://github.com/jpvalery/portfolio/issues/6#issuecomment-478294788 wasn't showing properly when I was checking on my phone.
I made a branch for this https://github.com/jpvalery/portfolio/tree/homepage-filter
Instead of adding a tag Homepage which would be polluting the homepage, I tried selecting the two tags that would always be on the homepage:
      filter: { tag: { in: ["Series","Project"]} }
(Currently waiting for Netlify to deploy the branch to see if it worked)
This led me to think I could add a boolean on the ExtendedGallery model with would be
DisplayHome : True/False
and filter based on that condition (?)

I was getting a build error with your suggestion :

6:42:22 PM: error GraphQL Error Field "eq" is not defined by type contentfulExtendedGalleryConnectionTagsQueryList_2.
6:42:22 PM:   file: /opt/build/repo/src/pages/index.js
6:42:22 PM:    1 |
6:42:22 PM:    2 |   query Index {
6:42:22 PM:    3 |     allContentfulExtendedGallery(
6:42:22 PM:    4 |       limit: 20
6:42:22 PM:    5 |       sort: { fields: [publishDate], order: DESC }
6:42:22 PM: >  6 |       filter: { tags: { eq: "Series" } }
6:42:22 PM:      |                         ^
6:42:22 PM:    7 |     ) {
6:42:22 PM:    8 |       edges {
6:42:22 PM:    9 |         node {
6:42:22 PM:   10 |           title
6:42:22 PM:   11 |           id
6:42:22 PM:   12 |           slug
6:42:22 PM:   13 |           year
6:42:22 PM:   14 |           tags {
6:42:22 PM:   15 |             title
6:42:22 PM:   16 |             id

Removing eq doesn't work either

6:47:35 PM: error GraphQL Error Expected type contentfulExtendedGalleryConnectionTagsQueryList_2, found "Series".
6:47:35 PM:   file: /opt/build/repo/src/pages/index.js
6:47:35 PM:    1 |
6:47:35 PM:    2 |   query Index {
6:47:35 PM:    3 |     allContentfulExtendedGallery(
6:47:35 PM:    4 |       limit: 20
6:47:35 PM:    5 |       sort: { fields: [publishDate], order: DESC }
6:47:35 PM: >  6 |       filter: { tags: "Series" }
6:47:35 PM:      |                       ^
6:47:35 PM:    7 |     ) {
6:47:35 PM:    8 |       edges {
6:47:35 PM:    9 |         node {
6:47:35 PM:   10 |           title
6:47:35 PM:   11 |           id
6:47:35 PM:   12 |           slug
6:47:35 PM:   13 |           year
6:47:35 PM:   14 |           tags {
6:47:35 PM:   15 |             title
6:47:35 PM:   16 |             id

Tried with https://www.contentful.com/developers/docs/references/graphql/#/reference/collection-filters where (if I understood correctly) filter without operator means equals but it didn't work.
Trying to understand the first error with eq, I tried something else but it didn't work either:

7:02:22 PM: error GraphQL Error Field "name" is not defined by type contentfulExtendedGalleryConnectionTagsQueryList_2.
7:02:22 PM:   file: /opt/build/repo/src/pages/index.js
7:02:22 PM:    1 |
7:02:22 PM:    2 |   query Index {
7:02:22 PM:    3 |     allContentfulExtendedGallery(
7:02:22 PM:    4 |       limit: 20
7:02:22 PM:    5 |       sort: { fields: [publishDate], order: DESC }
7:02:22 PM: >  6 |       filter: { tags: { name: "Series"} }
7:02:22 PM:      |                         ^
7:02:22 PM:    7 |     ) {
7:02:22 PM:    8 |       edges {
7:02:22 PM:    9 |         node {
7:02:22 PM:   10 |           title
7:02:22 PM:   11 |           id
7:02:22 PM:   12 |           slug
7:02:22 PM:   13 |           year
7:02:22 PM:   14 |           tags {
7:02:22 PM:   15 |             title
7:02:22 PM:   16 |             id

I probably messed that up completely all by myself with my limited knowledge and understanding of graphql 😅
Aaaaaand I reach the point where I'm definitely outranked by the problem :|

Let me know your thoughts and if you agree that a boolean DisplayHome would be an interesting solution ✌

Hey, not sure I follow your earlier comment.
Instead of adding a tag Homepage which would be polluting the homepage,
I tried selecting the two tags that would always be on the homepage

If you already are using tags, how would an extra tag pollute the homepage?
https://github.com/jpvalery/portfolio/blob/homepage-filter/src/pages/index.js
    allContentfulExtendedGallery(
      limit: 20
      sort: { fields: [publishDate], order: DESC }
      filter: { tags: { name: "Series"} }
    ) {
      edges {
        node {
          title
          id
          slug
          year
          tags {
            title
            id
            slug
          }

At first glance, I think the filter is malformed? I don't see a name field for your tags. Does it work if you use filter: { tags: { 'Series'} } or filter: { tags: { eq: 'Series'} }
I do think the boolean would be an interesting solution. Emphasis on interesting. I'm not sure I see the appeal of building new functionality over something like extending the existing tag scheme(you don't need to display the tags just because you're filtering on them).
Try dumping your entire query into the GraphQL explorer: localhost:8000/___graphql
Then you can try manipulating the filter until content comes through.

Also, I would recommend checking out the Gatsby documentation for GraphQL references, like filtering: https://www.gatsbyjs.org/docs/graphql-reference/#filter

Sorry if this was unclear. I meant that I'd not want to have a tag "Homepage" being displayed on the homepage. I didn't know/think I could exclude it from being displayed... Hence, adding a boolean seemed like an interesting path to explore.
Thanks for the documentation link. I see I was consulting the wrong one...
filter: { tags: {title: {eq: 'Series'} } } returned the same error as earlier (about " instead of ').
And filter: { tags: {title: {eq: "Series"} } } returned 7:47:59 PM: error GraphQL Error Field "title" is not defined by type contentfulExtendedGalleryConnectionTagsQueryList_2..
I must confess that I'm confused right now 😅 Let me know if I missed something or if I made another mistake
I'm currently trying to build locally and play with the GraphQL explorer.
But, at this point, I don't know if I should keep trying to make the tags filter work or try the boolean as it'd seem the filter would be easier like filter: { DisplayHome: {eq: true}} 🤔
And thanks again for all the help! Really appreciate it man.

FYI, here's what I get when I run the query locally:

Yet if I remove the filter:

(which seem to show that tags have title
Yet again, if I try filtering only on the node title, it works

Which lead me to think that I could filter on the ExtendedGallery name then:

It's not pretty and definitely not as easy as just putting a tag or a boolean but it works? /shrug

[sorry for spamming your notifications]
I gave the boolean a try and it worked from the first try.

I'll go ahead and deploy that then ^^ Thanks for all the help

Confirming this is working live in production 🙌
https://jpvalery.photo/americana isn't displayed on the homepage as it's an ExtendedGallery with displayHome set to false.

Cool, glad the Boolean worked. Sorry the tag didn’t!


Add random support to unit tests

Expose Random instance (lazy) from UnitTest.

Add more extension methods to create random strings with value classes, length requirements and exclusions.
Add more extension methods to create random integral values within given ranges (in addition to existing support).

Add support for selecting random items from an IEnumerable

3cde66bfdbdf124626dbfd2163724b98c30ec8fb


Artnet

1. Tell us something about your changes.
Add artnet device support
This is another DMX512 over udp protocol
2. If this changes affect the .conf file. Please provide the changed section
Refer schema file
3. Reference an issue (optional)
https://hyperion-project.org/threads/would-a-usb-to-dmx-converter-and-dmx-lights-be-supported.392/page-3
Note: For further discussions use our forum: forum.hyperion-project.org

Hi @penfold42 I'm interested in an artnet receiver (similar the udp listener), can you implement it?
Then hyperion can receive data from light mixing console (party mode at home ;-) ). led mapping can be some simple rgb chain input to rgb leds output. All incomming led numbers bigger then available hyperion leds are discarded.

Happy to add it to the list.
Can you create an issue so I don't forget ?
What's more useful - artnet or e.131/sACN ?


Ensure SR cache is invalidated properly in secure mode when running in HA

Schema registry server caches entities like metadata, schema version, etc. In HA mode - where any of the instances can serve the request - the server that served the request would leave the rest of the instance's internal cache out of sync. Schema registry has an internal mechanism to invalidate the caches of the remaining instances, but it is not security-aware.

SR caching logic in HA mode needs a complete overhaul. Will create a separate issue for it.


Accomodate the global options for customizing MTBSeq

These were mentioned here
https://github.com/emilyncosta/mtbseq-nf/pull/8#discussion_r666726383

@Mxrcon , reading the codebase for the current PR, I'm not sure if we have made use of these features at all.
This means that for example, any user would only be able to run MTBSeq with the bundled reference fasta file since
Similarly, the absence of --basecalib takes care of the base call calibration

The calibration list is stored in the directory "var/res/MTB_Base_Calibration_List.vcf" of the package. For other reference genomes, the file needs to be specified with the --basecalib OPTION or this step will be skipped.

Basically, the actual design challenge of this workflow is not the DSL2 modules etc, but the treatment of parameters. This is where you need to use creativity and experience 😉

I'd be happy to connect and discuss the overall design for this.

yes, sure let's discuss that

As mentioned in the https://github.com/emilyncosta/mtbseq-nf/pull/8#issuecomment-877693258 there's one more workflow remaining for the stubs i.e. the tbfull workflow.
For this one, you can accomodate all the options as params and then we can start discussing how to accomodate those a module level since not all the parameters apply to all modules.

Tasks:

[ ] Populate the pipeline with standard parameters
[ ] Add global options to the pipeline


[BUG] Wrong logits/outputs when using HFOPTLayerPolicy on OPT model

Describe the bug
DeepSpeed optimized OPT inference produces garbage if using HFOPTLayerPolicy for kernel injection. Below are the results of l2 and l1 difference when HFOPTLayerPolicy is used vs. when it is not used on OPT-350m. The bug affects other OPT versions (tested on 13B) and other deepspeed versions (tested deepspeed v0.75 and the main branch from github). The bug affects downstream accuracy of the model as well (i.e. on LAMBADA it gets 0% accuracy with HFOPTLayerPolicy)
Numerical differences between deepspeed enabled version and pure HF version on the "This is test" phrase is below

avg L2 diff (FP16)
rel L2 diff (FP16)
avg L2 diff (FP32)
rel L2 diff (FP32)

HFOPTLayerPolicy is enabled
196.887
3.929
196.811
3.925

HFOPTLayerPolicy is disabled
0.0
0.0
0.0
0.0

Here avg l2 diff is computed as $\sum_i \frac{1}{N}(x_i-y_i)^2$ and rel l2 diff as $\frac{\sum_i (x_i-y_i)^2}{\sum_i y_i^2}$ where $x$ is output of DP model and $y$ is output of HF model (ground truth).
To Reproduce
To reproduce the behavior run the following script with different options. The script simply runs deepspeed version and compares the output against the pure huggingface version.
Script:
from transformers import AutoModelForCausalLM, AutoTokenizer
import deepspeed
import torch

from deepspeed.module_inject.replace_policy import HFOPTLayerPolicy
import transformers

def simple_output_comparision(model_id, dtype1, dtype2, use_dp=False, use_policy=True):
    device0 = "cuda:0"
    device1 = "cuda:1"
    model1 = AutoModelForCausalLM.from_pretrained(model_id).to(device0, dtype=dtype1)
    tokenizer = AutoTokenizer.from_pretrained(model_id)
    if use_dp:
        model1 = deepspeed.init_inference(model1,
            mp_size=1,
            dtype=dtype1,
            replace_method='auto',
            injection_policy= {transformers.models.opt.modeling_opt.OPTDecoderLayer: HFOPTLayerPolicy} if use_policy else {},
            replace_with_kernel_inject=True)

    model2 = AutoModelForCausalLM.from_pretrained(model_id).to(device1, dtype=dtype2)
    test_input = """This is test """
    encodings = tokenizer(test_input, return_tensors="pt")

    input_ids_m1 = encodings.input_ids.to(device0)
    output_logits_m1 = model1(input_ids_m1)['logits'].cpu().to(dtype=torch.float32)

    input_ids_m2 = input_ids_m1.to(device1)
    output_logits_m2 = model2(input_ids_m2)['logits'].cpu().to(dtype=torch.float32)

    relative_avg_l2 = (output_logits_m1 - output_logits_m2).pow(2).sum()/output_logits_m2.pow(2).sum()
    avg_l2 = (output_logits_m1 - output_logits_m2).pow(2).mean()
    avg_l1 = (output_logits_m1-output_logits_m2).abs().mean()
    max_l1 = (output_logits_m1-output_logits_m2).abs().max()
    print(f"L2^2: avg_l2={avg_l2} avg_relative_l2={relative_avg_l2}")
    print(f"L1: avg_l1={avg_l1} max_elementwise_l1={max_l1}")

simple_output_comparision("facebook/opt-350m", dtype1=torch.float16, dtype2=torch.float16, use_dp=True, use_policy=False)

Expected behavior
We expect numerically close outputs, say rel l2 difference around 10**(-5) for fp32 comparison or less (0.0 ideally). We see a huge discrepancy.
ds_report output
--------------------------------------------------
DeepSpeed C++/CUDA extension op report
--------------------------------------------------
NOTE: Ops not installed will be just-in-time (JIT) compiled at
      runtime if needed. Op compatibility means that your system
      meet the required dependencies to JIT install the op.
--------------------------------------------------
JIT compiled ops requires ninja
ninja .................. [OKAY]
--------------------------------------------------
op name ................ installed .. compatible
--------------------------------------------------
cpu_adam ............... [NO] ....... [OKAY]
cpu_adagrad ............ [NO] ....... [OKAY]
fused_adam ............. [NO] ....... [OKAY]
fused_lamb ............. [NO] ....... [OKAY]
sparse_attn ............ [NO] ....... [OKAY]
transformer ............ [NO] ....... [OKAY]
stochastic_transformer . [NO] ....... [OKAY]
async_io ............... [NO] ....... [OKAY]
utils .................. [NO] ....... [OKAY]
quantizer .............. [NO] ....... [OKAY]
transformer_inference .. [NO] ....... [OKAY]
spatial_inference ...... [NO] ....... [OKAY]
--------------------------------------------------
DeepSpeed general environment info:
torch install path ............... ['/usr/local/lib/python3.8/dist-packages/torch']
torch version .................... 1.12.1+cu113
torch cuda version ............... 11.3
torch hip version ................ None
nvcc version ..................... 11.3
deepspeed install path ........... ['/usr/local/lib/python3.8/dist-packages/deepspeed']
deepspeed info ................... 0.7.5+unknown, unknown, unknown
deepspeed wheel compiled w. ...... torch 1.12, cuda 11.6

System info (please complete the following information):

OS: Ubuntu
GPU: A10G x8
Python 3.8.10

Hi @akamaster, I was able to recreate your issue. There was an issue with OPT injection that has been resolved in the latest Deepspeed v0.8.0. If you use that version, you should see better accuracy and that the logits are the same using HFOPTLayerPolicy vs. replace_method='auto'. I am still looking into why there is a significant difference in logits compared with just HF.

Hi @molly-smith!
replace_with_kernel_inject=True on OPT (galactica-6.7b) still produces garbage (only \n token) on deepspeed==0.8.3.
Is this problem being fixed?


Image widget doesn't work in safari

Try this page in Safari, says there are no images:
https://app.wandb.ai/trentwatson1/mask-rcnn/runs/s5b0rasc
Seems to work in Chrome.

@vanpelt As it turns out, problem was not only in Safari.
Because history object is flatten here, method for extracting images didn't work properly.
I applied quick fix in order not to change entire logic, but let me know if you think its a bit hacky.

Vlad - that was my fault - I fixed the flatten for you upstream so you don't have to unflatten.

Thanks @lukas


ESC to reset input

This deletes all text from the input box when you press ESC.

Good idea @larsen0815 . Thanks


How to use subfactories?

Currently, it feels like one should put a related factory in the defaults, like:
			Defaults: map[string]any{
				"Reason": func(iteration int, fieldName string) interface{} {
					orderPay := ReasonFactory.Build()
					return &orderPay
				},
			},

But that feels clumsy.
Are there more elegant ways to do that?

Not at present, but I'm open to suggestions


Check for relative path when validating node label

When checking comparing the filename to the label, the label
validation should only compare to the basename of the
filename to the label
Acceptance Criteria:

Check use-cases pipelines to make sure they are running without changes:

https://github.com/lresende/elyra-sample/tree/master/producer-consumer/pipelines
https://github.com/CODAIT/covid-notebooks

Fixes #2023

What changes were proposed in this pull request?

How was this pull request tested?

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

I still cannot execute my test pipeline with these changes: https://github.com/lresende/elyra-sample/tree/master/producer-consumer/pipelines
{
  "severity": 2,
  "source": "Elyra Pipeline Validation Service",
  "type": "invalidNodeLabel",
  "message": "Property value contains invalid characters. Invalid characters may be replaced by the runtime service. Node labels must start with lower case alphanumeric and contain only lower case alphanumeric, underscores, and dashes",
  "data": {
    "nodeID": "25b0b08f-00d9-49a5-ac80-14c5d602c90e",
    "nodeName": "generate-contributions.ipynb",
    "propertyName": "label",
    "value": "generate-contributions.ipynb"
  }
}
{
  "severity": 1,
  "source": "Elyra Pipeline Validation Service",
  "type": "invalidEnvPair",
  "message": "Property has an improperly formatted env variable key value pair",
  "data": {
    "nodeID": "25b0b08f-00d9-49a5-ac80-14c5d602c90e",
    "nodeName": "generate-contributions.ipynb",
    "propertyName": "env_vars",
    "value": ""
  }
}
{
  "severity": 1,
  "source": "Elyra Pipeline Validation Service",
  "type": "invalidEnvPair",
  "message": "Property has an improperly formatted env variable key value pair",
  "data": {
    "nodeID": "25b0b08f-00d9-49a5-ac80-14c5d602c90e",
    "nodeName": "generate-contributions.ipynb",
    "propertyName": "env_vars",
    "value": ""
  }
}
{
  "severity": 2,
  "source": "Elyra Pipeline Validation Service",
  "type": "invalidNodeLabel",
  "message": "Property value contains invalid characters. Invalid characters may be replaced by the runtime service. Node labels must start with lower case alphanumeric and contain only lower case alphanumeric, underscores, and dashes",
  "data": {
    "nodeID": "2b6cf33b-453a-4d9b-b252-31660245b50d",
    "nodeName": "overview.ipynb",
    "propertyName": "label",
    "value": "overview.ipynb"
  }
}
{
  "severity": 2,
  "source": "Elyra Pipeline Validation Service",
  "type": "invalidNodeLabel",
  "message": "Property value contains invalid characters. Invalid characters may be replaced by the runtime service. Node labels must start with lower case alphanumeric and contain only lower case alphanumeric, underscores, and dashes",
  "data": {
    "nodeID": "92a8de30-8ef2-409a-b987-359a0d6d0246",
    "nodeName": "generate-stats.py",
    "propertyName": "label",
    "value": "generate-stats.py"
  }
}
{
  "severity": 2,
  "source": "Elyra Pipeline Validation Service",
  "type": "invalidNodeLabel",
  "message": "Property value contains invalid characters. Invalid characters may be replaced by the runtime service. Node labels must start with lower case alphanumeric and contain only lower case alphanumeric, underscores, and dashes",
  "data": {
    "nodeID": "7ca6b549-d9aa-415e-a62f-85675daa652f",
    "nodeName": "factorial.r",
    "propertyName": "label",
    "value": "factorial.r"
  }
}

@akchinSTC  Have you tried the pipelines on the acceptance criteria?
I still see:
{
  "severity": 1,
  "source": "Elyra Pipeline Validation Service",
  "type": "invalidEnvPair",
  "message": "Property has an improperly formatted env variable key value pair",
  "data": {
    "nodeID": "25b0b08f-00d9-49a5-ac80-14c5d602c90e",
    "nodeName": "generate-contributions.ipynb",
    "propertyName": "env_vars",
    "value": ""
  }
}
{
  "severity": 1,
  "source": "Elyra Pipeline Validation Service",
  "type": "invalidEnvPair",
  "message": "Property has an improperly formatted env variable key value pair",
  "data": {
    "nodeID": "25b0b08f-00d9-49a5-ac80-14c5d602c90e",
    "nodeName": "generate-contributions.ipynb",
    "propertyName": "env_vars",
    "value": ""
  }
}

@bourdakos1 One question here about the snapshot tests, how come it uses the exact scenario in this repo and it is failing?

@lresende is it only the validation that’s failing? Or the pipeline is actually failing?

Oh I see, are you saying why aren’t the snapshots failing if it doesn’t make it past validation? The snapshots don’t attempt to submit pipelines, they only check that pipelines created through the UI are consistent.
I would add the pipeline described above as a server test


Fix Suricata TLS SNI field name in concepts

We noticed today that Tenzir ships a net.domain concept referencing the EVE JSON field suricata.tls.sni which does not exist in the schema. It should be suricata.tls.tls.sni according to the schema definition:
type suricata.tls = suricata.component.common + record {
  tls: record {
    sni: string,
    session_resumed: bool,
    subject: string,
    issuerdn: string,
    serial: string,
    fingerprint: string,
    ja3: suricata.component.ja3,
    ja3s: suricata.component.ja3,
    notbefore: time,
    notafter: time
  }
}

For the sake of completeness we also add it to the net.hostname concept, as it serves a similar purpose as suricata.http.http.hostname  which is also in that concept.

This is a minor fix that I verified manually. I will add a commit to update the target rev-count for the next tag and then merge it directly.

Thanks!


Can Fable generate .d.ts TypeScript declarations for generated code?

Description
I have a mature TypeScript codebase and would like to introduce Fable. In order to call Fable-generated code, I would like to have .d.ts files for the generated Fable code.

This feature has already been requested but I haven't had the time yet to implement it, I'll try to do it in the next few weeks. Having it as a pending issue will make for a nice reminder :wink: Note that the fable-core library has been recently converted to TypeScript so you can already make use of the methods and classes implemented there.

I think building a prototype for this would be a fun project that someone from the community could start working on.
In case someone wanted to send a PR :wink: the Fable compiler already walks over the typed AST from F# (I guess  this is happening here), so the change would just have to do the same thing and turn the type info into a .d.ts file...

I'd love if someone could do do that but maybe it's a bit complicated for someone without a deep understanding of how F# and Fable AST work ;)
I think it shouldn't be too complicated but I still need to have look at it. I was thinking that maybe it's easier to generate the .d.ts not in the F# to Fable step, but in the Fable to Bable one. There are some transformations that are done in the first step (for example, in F# AST class methods are children of the enclosing module not the class) that can be a bit difficult to handle.

Well. It's a rainy weekend around here ;)
#277 adds a very-very-very-first implementation of this. As it stands now, it's unusable for any practical purposes. But enough to raise some questions.
Using it to compile the current integration-typescript sample produces the following util.d.ts:
import { List } from 'fable-core';

export function reverse(s: string): string;
export function greet(s: string): void;
export function sum(list: List<any>): number;

Open questions / problems to solve / todo list:

output: One .d.ts file per source or one giant index.d.ts?

e.g<EMAIL_ADDRESS>

output file location: output file is being created at fable project root folder (ignores --outDir)
classes, interfaces, modules, namespaces
imports from fable-core (hardcoded by now)
mapping types from F# -> TypeScript (primitives, function signatures, generics)
compiler option? (--declaration is the one used by tsc)

Fantastic work! 👏  I need to have a deeper look later. For now, I'll try to answer your questions:

output: I think a single index.d.ts will be simpler both for us and the consumer.
output file location: I'd put it in outDir, but anyways the file can be moved later by the JS code (fable.js).
classes, interfaces, modules, namespaces: Classes should be quite straightforward. Interfaces are more complicated because they're erased in the generated code (for now, I would ignore them and solve that later, F# code often uses concrete types anyways). Namespaces usually disappear in the generated code and most modules become the module file itself. I guess we need to worry mainly about nested modules.
imports from fable-core: Not only from fable-core but also from any other external source. I need to think about this.
mapping types from F# -> TypeScript: primitives should be easy, function signatures will be trickier because Fable AST doesn't include this information (we may need to add it) and generics can become a real pain (or may be not, I need to check that better) so I'd ignore them just for now.
compiler option?: --declaration  works for me :+1:

Another push to #277. Adds initial class declaration (very simple cases, far from complete).
I did notice the problem with interfaces. Maybe the code is too "late" in the transformation pipeline? But I'll wait for your considerations.
Some more problems:

Tuples appears as arrays
Enums appears as empty classes (uh?)
Record constructor arguments appears as $arg0, $arg1...

Moving the code to an earlier step in the compilation process maybe would help. But it will probably require some deeper changes (embedding it in transformMemberDecl ?).
Also, I did some tests trying to output one single index.d.ts file but I'm afraid it will be a very awkward solution (and probably impossible to reconcile when targeting ES2015 modules). After all, we are generating one .js file per module (util.js in our sample). And, in this scenario, the most intuitive way to import a module for a TypeScript user would be
import * as Util from './util';
import * as AnotherModule from './anothermodule';

instead of
import { Util } from './my-giant-declaration-file';
import { AnotherModule } from './my-giant-declaration-file';

In the first case, every .d.ts file is its own module. In the second one, we have one single .d.ts file in the format:
declare module Util {
    export ...
}

declare module AnotherModule {
    export ...
}

I will be glad to hear from more experienced TypeScript users about this subject.

Personally I would start with something very simple to make it usable from TypeScript (even if it's just listing the method names) and use any wherever type info is not available. Then we can refine the declarations step by step.
I need to check better how TypeScript discovers the declarations (in the last case, the user can just include a /// comment), but I still think a single file would be more manageable. This shouldn't change the way modules are imported. Following your example, I guess it will be something like this:
import * as Util from './util';
import * as AnotherModule from './anothermodule';

In index.d.ts:
declare module './util' {
    export ...
}

declare module './anothermodule' {
    export ...
}

Check this declaration for example.

A single *.d.ts will imply a single output file. I think you will need to generate 1:1 a *.d.ts to the generated *.js files. Does Fable allow you to merge out output files into a single *.js?

No, but it can be done with a bundler like Webpack.
Anyways, as mentioned above, if I'm not mistaken a single .d.ts file can indeed contain definitions for several ES6 modules (aka files). There're many examples of this, like the one below:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/material-ui/material-ui.d.ts

Whatever you guys decide as to if use 1:1 or 1:many, I would recommend taking a look at the official line on typings for npm packages.
My understanding is that the best way to handle this is with 1 per file (1:1), and to simply let the resolver sort out the rest. This prevents you needing to use named exports, which are brittle and incompatible with non-aliased paths.
I appreciate that people are not necessarily using npm for distributing their transpiled F# packages, but if it is of interest, I did create a really dumb typescript sample here which demonstrates how to package up .d.ts files with your node module. No more tsd yay :)

@alfonsogarciacaro: Yes. A single .d.ts file can contain several modules. However, in this format it needs to be referenced using /// references, which is essentially a "legacy" way to integrate old .js code with TypeScript.
Using a 1:1 .d.ts mapping allows you to use the module in a more "natural" way, just importing the fable-generated code as if it were any other ES2015 module.
@Metal10k: Yes. Latest fable-core releases are already aligned with these guidelines. Look at the current integration-typescript sample and see how you can just import ... from 'fable-core' directly from the installed npm package.

Ok, if everybody thinks one declaration per file is the way to go we should do that :+1:
I've been investigating more about this, and probably it's better to focus our efforts to improve Fable and Babel AST and add type annotations to the generated code. Then use the Babel DTS generator to create the declarations from the annotated JS code.
Unfortunately, type annotations don't appear in Babel AST spec. However, Babel actually accepts them as it can be check in the AST explorer.

fable-compiler 0.5.0 already outputs d.ts with the --declaration argument! :tada: Please note this is still experimental and it's not perfect, particularly there's no type information emitted at the moment for interfaces and nested modules, I'll try to add this in next releases.
Please give it a try and tell me what you think.

This is pretty awesome :)
One minor issue i found with 0.5.1 is union types seem to catastrophically break.
Start compilation... ERROR: D:/Sandbox/test/Test.js: Missing class properties transform. (This is an error on an internal node. Probably an internal error)
Would you like me to create a ticket?

Damn, this is node again finding the plugin somewhere else in my computer and confusing me. This only happens if you pass the --declaration compiler argument, right?
Don't worry about the ticket, it's a very easy one. So I'll include it with other minor fixes :+1:

Yes only when --declaration is used, otherwise it compiles fine. Cool, nice one :+1:

@Metal10k, I've released<EMAIL_ADDRESS>adding the babel-transform-class-properties plugin. Could you please give it a try to see if it works now? Thanks in advance!

Works perfectly, Cheers!

Thanks for the confirmation! Any comments about the process of generating and using the declarations are welcome (though please note that, as commented above, there are still a few things missing). It'd be also great if you could write a post explaining users about the new feature :+1:


Write the Docs (duplicate title in events)

Fixing duplicates in http://pyvideo.org/events.html
In http://www.writethedocs.org/ they refer to themselves as "Write the Docs"

Write the Docs is a series of conferences and local meetups focused on all things related to software documentation.

👍 Can you re-serialize with the added new line and then merge?


slides: 0.7.2 -> 0.7.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/maaslalani/slides/releases.
meta.description for slides is: "Terminal based presentation tool"
meta.homepage for slides is: "https://github.com/maaslalani/slides"
meta.changelog for slides is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/s7pyvi3qalm9sywnjnabmic66ahkjj1l-slides-0.7.3/bin/slides had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 0.7.3 with grep in /nix/store/s7pyvi3qalm9sywnjnabmic66ahkjj1l-slides-0.7.3
found 0.7.3 in filename of file in /nix/store/s7pyvi3qalm9sywnjnabmic66ahkjj1l-slides-0.7.3

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
slides

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/s7pyvi3qalm9sywnjnabmic66ahkjj1l-slides-0.7.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A slides https://github.com/r-ryantm/nixpkgs/archive/e8137065b508075a2a950dd6d687fce5bc1f5c34.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/s7pyvi3qalm9sywnjnabmic66ahkjj1l-slides-0.7.3
ls -la /nix/store/s7pyvi3qalm9sywnjnabmic66ahkjj1l-slides-0.7.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

slides

Maintainer pings
cc @maaslalani @kalbasit for testing.

@GrahamcOfBorg eval


feat: unitary elements are normal

If the new import seems too strong, then I'll create another PR which factors IsStarNormal out of the SelfAdjoint file.

Mathlib.Algebra.Star.SelfAdjoint seems a quite light import, I don't see any problem in adding it. Thanks!
bors merge


[zero] restore fp16 params if no zero ckpts available

In fine-tuning scenarios the user often wants to only load the model parameter checkpoints and may not have the zero optimizer states on disk since they are not needed. This fixes a bug where the weights are not properly restored from the ckpt if the zero optimizer states are not present on disk.

I confirm that it solved the problem! Thank you, Jeff!
Good to go to merge this into the big-science branch!

BTW, the checkpoint still requires mp_rank_*_model_states.pt and the program crashes without those.
AssertionError
        sd_loader = SDLoaderFactory.get_sd_loader(ckpt_list)sd_loader = SDLoaderFactory.get_sd_loader(ckpt_list)
  File "/gpfsssd/worksf/projects/rech/six/ura81os/code/deepspeed-big-science/deepspeed/runtime/state_dict_factory.py", line 162, in check_ckpt_list
    assert len(self.ckpt_list) > 0

Do we really need those? Or is this another legacy check?


Can the latest version be released to npm?

Hi @yuval-k,
Just wanted to ask to get the quick fix deployed to npm.
Thanks, Mario

no problem, will deploy

published<EMAIL_ADDRESS>closing as solved


Invalid ticket

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

No information provided - Closing


Need help for pcb

@203Null  can you upload the image of pcb file, the QQ chat i can't join because the phone number is locked in my country, i need some tutorial to flash the bootloader and code, thank you!

Sure but https://github.com/203Industries/Matrix-Hardware might be a better place for this.
Do you have a discord?
Sorry for the lack of localization. I didn't do translate and some other localization yet because I don't think the project is ready at the moment.

Thank you for reply, here is my discord link: https://discord.gg/sQTDTHD


iPhone/iPad - prevent SIGPIPE signal for TCP disconnect

I am using this library on a Universal Application (iPhone/iPad). It works fine on 32-bit architecture but when I run that application on 64-bit architecture (iPad Air , iPhone 5, 6, 6+) it repeatedly crashes with SIGPIPE exception. Please help me in this. I have fixes that issue by supporting only 32-bit architecture but Apple does not allow me to upload an application that supports only 32-bit architecture. I have downloaded this Library almost 5 months earlier. Have you fixes this issue in the library?

Hello,
On Dec 24, 2015 I did commit a fix for the SIGPIPE signal with TCP.  Take a look to make sure your local codebase has the fix seen here:
OSX - prevent SIGPIPE signal for TCP disconnect
Let me know if you do, in fact, have the fix but are still seeing issues.
~Chris

Thanks for your feedback


Add signature verification for SCTs

PTAL

LGTM once comments are addressed.

I'll squash'n'push


New parent terms for biological systems reconstruction children

We added a bunch of terms to capture the evidence for protein complexes (and potentially pathways) but not all are mapped to old GO evidence codes. Our Complex Portal annotations without mapping to GO codes are currently stuck in the pipeline. I'm requesting the following new relationships:
ECO:0005610 - biological system reconstruction evidence based on homology evidence used in manual assertion
is_a ECO:0000252 - similarity evidence used in manual assertion
ECO:0005547 - biological system reconstruction evidence based on inference from background scientific knowledge used in manual assertion
is_a ECO:0000304 - traceable author statement used in manual assertion
ECO:0005543 - biological system reconstruction evidence by experimental evidence from mixed species used in manual assertion
is_a ECO:0000250 - sequence similarity evidence used in manual assertion
ECO:0005542 - biological system reconstruction evidence by experimental evidence from single species used in manual assertion
is_a ECO:0000353? - physical interaction evidence used in manual assertion
Originally, we didn't link them up to existing codes as annotating to complexes is different to annotating to single gene products. But it looks like we can't get our annotations out without this hack :(
ECO:0005542 is the tricky one: we use it when no single experiment contains evidence for all complex members together but there are 2 or 3 expts, when taken together, that provide evidence for the whole complex. Evidence comes from experimental interaction evidence but in multiple experiments (but all have to be done in the same species)
@sandraorchard have I captured that correctly?

Hi @bmeldal - sorry it's taken so long to respond. Based on a meeting with @jbmunro and @nsuvarnaiari, here's our thoughts.
We are currently in the process of adding logic to ECO by incorporating OBI and mapping ECO evidence classes to various OBI classes. In this project, we are trying to remove dual asserted parentage and use the logic to infer secondary parentage. At this point in time, we've only mapped terms in the 'experimental evidence' node. The best solution to this problem would probably be to try and find the logical mappings for these terms so that these second parents can be inferred, rather than asserted.
That said, this is a work in progress and is not ready for release yet. I'm not sure of the time frame right now. If these terms are causing issues in your pipeline, we can add the second parent for now, and then remove it once the OBI logic has been added in. It is preferable to avoid dual parentage, but we want to make sure everything is working smoothly for you!
Now onto the specifics...
'biological system reconstruction evidence based on homology evidence'
Makes sense to also be 'similarity evidence'
'biological system reconstruction evidence based on inference from background scientific knowledge'
This one is a little problematic. It is not a 'traceable author statement', though it may be a 'non-traceable author statement' (as they are making a statement without a citation, just based off background knowledge). Ultimately, it is an 'inference from background scientific knowledge', but that does not have an equivalent GO code so we are stuck with the same problem.
'biological system reconstruction evidence by experimental evidence from mixed species'
This looks good as 'sequence similarity evidence'
'biological system reconstruction evidence by experimental evidence from single species'
This is actually a type of combinatorial evidence. It cannot logically be a child of 'physical interaction evidence' because that only captures ONE experiment. Again, we have the problem that 'combinatorial evidence' does not have an equivalent GO code...
I'm wondering if there are any GO developers that we could reach out to and review these terms to try and find the best GO code match?

Hi Rebecca,
I completely forgot about this ticket! We had another meeting with the GOA developers and it turned out that we probably won't need links to existing GO evidence codes as the GPAD format, which we are using, allows all ECO codes. (There was a little confusion about where our annotations got stuck and what we wanted to achieve). We are still trying to tease out exactly how best to integrate complex annotation into GO.
So,

I'm happy for the parentages to be inferred by logical mapping.
Only implement those inferences that don't have to be 'forced', i.e.

'biological system reconstruction evidence based on homology evidence'
Makes sense to also be 'similarity evidence'

and

'biological system reconstruction evidence by experimental evidence from mixed species'
This looks good as 'sequence similarity evidence'

Birgit

Good to hear @bmeldal !
Is it safe to close this ticket, then? This inferences will probably be implemented as we progress through the mapping project, but if you need them sooner please let me know...

Ok, I'll close the ticket and if we need anything after all I'll re-open.


Whoops, looks like something went wrong.

Whoops, looks like something went wrong.
i got this one in the installation where should it might get wrong??

Please post a screenshot of the error if something went wrong


fix: undo breaking change in releases_created output

The issue this fixes
An undocumented breaking change slipped into the v4 release which causes the conditional in actions to stop working as documented. I encountered it when migrating some of my projects and an issue has already been opened (#912).
In v3 the following step would only run if releases were created. In v4 the action will always run:
- run: echo "releases happened"
  if: ${{ steps.release.outputs.releases_created }}

This is because the @actions/core npm package core.setOutput method always casts values to a string, so when we call the following:
core.setOutput('releases_created', releases.length > 0);

The output of the action will always either be "true" or "false" as a string. This is a problem because our if statement above will always evaluate this to true and run the conditional step.
The only reason this worked in v3 is because the core.setOutput was called only if releases.length was greater than zero rather than being passed the condition.

Relevant v3 code

Equivalent v4 code

So in v3 the possible values for releases_created was actually "true" or undefined. This was never an issue because "true" is truthy and undefined is falsy so the conditions in our actions worked as expected.
Approach
I've moved the releases_created output back inside the conditional to switch the behaviour to match v3.
Alternatives
If you're not happy with this change then I think the documentation should be updated to highlight this gotcha and the changelog for v4 should include it.
Potential additional work
core.setOutput casting to a string has been noted in issues in the @actions/core repo before, but all the documentation on this action indicates that outputs are set to true or false. It might be worth changing this documentation to explain that the values are all strings rather than booleans.

@chingor13 @bcoe
Could anyone review this PR please?

@chingor13 is there any hope of a release with this fix?

@chingor13 is there any hope of this being merged?

Any movement on this at all? Or has this been broken so long now that fixing it will break just as many workflows as this PR fixes?

I'm not sure if the maintainers are aware of this bug, we've had no response for almost a year and I think this PR probably can't be merged now – too many people have switched to the new behaviour.
I'm going to close this PR and have commented again on the issue to say that ideally this would be documented as a breaking change. Not gonna hold my breath though.


Testing and deploying v0.2.0 on OpenShift

version: v1beta1 must be added to the descriptions (for service and binding) in the CSV
add version: v1beta1 to each of the CRDs
remove the replaces: ibmcloud-operator.v0.1.11 in the CSV.
verify the shape of the deployment specification in the CSV. In particular, it needs to start like:

deployments:
      - name: ibmcloud-operator
        spec:
          replicas: 1
          ...

More needs to be done.

To debug, go under Workloads on the left hand side of the OpenShift console, and then take a look at Pods. Select the project: openshift-marketplace at the top. You will see a pod corresponding to the OperatorSource that was created for the ICO. Navigate to the logs of that pod for more information.
There could be other useful logs to look at, such as the catalog-operator, and marketplace-operator (under all projects).

Fixed in #200 and in v0.3.0


Add cap unit

I suggest reviewing this together with https://github.com/web-platform-dx/web-features/pull/604. Any concerns would apply to both.


api.getThreadHistory returns and empty array

api.getThreadHistory returns and empty array version 1.4.0 called like the docs
getThreadHistory(threadID, amount, timestamp, callback)

Do you get any errors? Are you sure the threadID is correct?

:thinking:

@leonardlabuneti please show us a sample of non-working code 😄

The function returns no error and an empty array, the threadID is correct and the same code used to return messages a few days ago. I will come back with my code example. Thank you

api.getThreadHistory(threadId, 10, undefined,
function (err, response) {
console.log('getThreadHistory got response :', err, response);
});
getThreadHistory got response : null []
error-> null,
response -> empty array

Mmmh I just tried here with one of my chats and it worked.
Are sure there are any messages in that thread? Are you sure the bot is in the thread?

There are messages in the thread and I am in that thread, I will double check my code. Good to know it works.
PS which version are you using ? 1.3 or 1.4  ?

I'm using master actually. There are definitely issues depending on where you live though, since FB rolls out changes weirdly across the world. Seems like 1.4 also works for me.

const login = require("facebook-chat-api");
login({email: "", password: ""}, (err, api) => {
if(err) return console.error(err);
// Here you can use the api
var threadID = '<ContactFbID>';

api.getThreadHistory(threadID, 10, undefined, (err, history) => {
        if(err) return console.error('Err',err);
         console.log('History:', history);
    });

});
Could someone try this code please ?

I doublechecked the issue was my testing fb account, it looks like you get some kind of block if you hammer the fb servers.
thank you guys

Thanks for following up @leonardlabuneti.  As we state at the top of our README, facebook employs a number of rate-limiting measures to avoid people hammering them and this api explicitly doesn't attempt to circumvent them.


Support for React Native

🐣 Is your feature request related to a problem? Please describe.
Yes currently we can't use react native
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
💡 Describe the solution you'd like
I would love to have library to support react native analytics such as user taps and pages they visit using recat navigation
A clear and concise description of what you want to happen.
We can have similar react hook which supports react native as well
❓ Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
📋 Additional context
Add any other context about the feature request here.

There's currently no plugin for React Native, but you can use the API of Ackee to send the data you want to track: https://github.com/electerious/Ackee/blob/master/docs/API.md An official plugin isn't planned. Maybe it's possible to use ackee-tracker or a modified version of ackee-tracker as a base for the plugin.


remember_device on logout

When I log out and log back in, it is forcing me to auth again; is that an issue with my implementation (we've got a bit of an unusual devise setup), or is that working as intended?

It's been a while since I've been in the code for this project, but after a quick look around I don't believe this plugin touches the sign out process and leaves it all to devise. That resets the session, but leaves cookies in place.
I just tested this in the example app and the remember_device cookie did remain after sign out.
Does your app/devise setup do things with cookies during sign out?

Interestingly the cookie is there, but the session variable isn't getting set; I think that gives me enough to go on, thanks!

Remembering the device shouldn't require anything in the session, it's a signed cookie. You can see what it's checking for here: https://github.com/twilio/authy-devise/blob/4d2ee10bac9a265d6c907e6295b3c5e7688ffd81/lib/devise-authy/controllers/helpers.rb#L25-L36.

Correct, but my custom code was looking for the session variable
On Thu, Dec 16, 2021, 10:22 PM Phil Nash @.***> wrote:

Remembering the device shouldn't require anything in the session, it's a
signed cookie. You can see what it's checking for here:
https://github.com/twilio/authy-devise/blob/4d2ee10bac9a265d6c907e6295b3c5e7688ffd81/lib/devise-authy/controllers/helpers.rb#L25-L36
.
—
Reply to this email directly, view it on GitHub
https://github.com/twilio/authy-devise/issues/163#issuecomment-996426213,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB2YCWNGSNA4F7G5XGHRUDURK3I7ANCNFSM5KH3ZCEA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Ok, as long as you know what you're looking for now! Let me know if there's anything else I can help with.


⚠ Bofrost.ch has degraded performance

In 3c00544, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 1506 ms

Resolved: Bofrost.ch performance has improved in 3bb4939.


minidcos docker create --network creates clusters with nodes having two bridge networks.

Docker network created with custom network configs.
docker network create -d bridge --internal --subnet=<IP_ADDRESS>/24 --ip-range=<IP_ADDRESS>/24 --gateway=<IP_ADDRESS>  --opt com.docker.network.bridge.name=eth4 cusnet
minidcos command used to create the cluster
minidcos docker create path/dcos_generate_config.sh  --network cusnet --cluster-id Clustername --genconf-dir path/custom-genconf
Config: 1 Master, 1 Public , 2 Agent Node.
All the containers are deployed. Each container is associated with default bridge network(docker0) and custom network(cusnet)
DCOS is picking docker0 Network IP for all the containers and not using custom network.
minidcos, version 2<IP_ADDRESS>
Docker version 18.06.3-ce, build d7080c1

Does your custom genconf dir include an IP detect script which points to the eth1 instead of eth0?

Am 24.07.2019 um 20:57 schrieb sarathkumar<EMAIL_ADDRESS>Docker network created with custom network configs.
docker network create -d bridge --internal --subnet=<IP_ADDRESS>/24 --ip-range=<IP_ADDRESS>/24 --gateway=<IP_ADDRESS> --opt com.docker.network.bridge.name=eth4 cusnet
minidcos command used to create the cluster
minidcos docker create path/dcos_generate_config.sh --network cusnet --cluster-id Clustername --genconf-dir path/custom-genconf
Config: 1 Master, 1 Public , 2 Agent Node.
All the containers are deployed. Each container is associated with default bridge network(docker0) and custom network(cusnet)
DCOS is picking docker0 Network IP for all the containers and not using custom network.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

https://minidcos.readthedocs.io/en/latest/dcos-docker-cli.html#using-a-custom-docker-network
You need to use the IP detect script presented here.

Am 24.07.2019 um 20:57 schrieb sarathkumar<EMAIL_ADDRESS>Docker network created with custom network configs.
docker network create -d bridge --internal --subnet=<IP_ADDRESS>/24 --ip-range=<IP_ADDRESS>/24 --gateway=<IP_ADDRESS> --opt com.docker.network.bridge.name=eth4 cusnet
minidcos command used to create the cluster
minidcos docker create path/dcos_generate_config.sh --network cusnet --cluster-id Clustername --genconf-dir path/custom-genconf
Config: 1 Master, 1 Public , 2 Agent Node.
All the containers are deployed. Each container is associated with default bridge network(docker0) and custom network(cusnet)
DCOS is picking docker0 Network IP for all the containers and not using custom network.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Given your setup you may need to change the script to eth4 though.

Am 24.07.2019 um 20:57 schrieb sarathkumar<EMAIL_ADDRESS>Docker network created with custom network configs.
docker network create -d bridge --internal --subnet=<IP_ADDRESS>/24 --ip-range=<IP_ADDRESS>/24 --gateway=<IP_ADDRESS> --opt com.docker.network.bridge.name=eth4 cusnet
minidcos command used to create the cluster
minidcos docker create path/dcos_generate_config.sh --network cusnet --cluster-id Clustername --genconf-dir path/custom-genconf
Config: 1 Master, 1 Public , 2 Agent Node.
All the containers are deployed. Each container is associated with default bridge network(docker0) and custom network(cusnet)
DCOS is picking docker0 Network IP for all the containers and not using custom network.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@timaa2k  Thanks but my script does include ip-detect script and I change it to the network adaptor(same as custom network)

Could anyone help me with this issues?


EmrEtlRunner: add step to delete raw events from HDFS before shredding

How fast would this file op be? It would presumably free up a lot of space ready for the shredding output...

/cc @ihortom

@alexanderdean - Is it to reclaim some space back (to be available for shredding)?

Yes, hopefully it would reclaim some space mid-run...

Moving forwards as this would really help a couple of clients... /cc @yalisassoon

Bringing forwards given this help avoid some shred failures.


Bump ruby to 3.0.0

I think we should start to check this out and see if we need to fix stuff to make this migration append and not stay on 2.x for too long anymore.
I've try to bump ruby to 3.0.0, but a dependecy of azure-storage isn't compatible with ruby 3.0.0 yet.

I just saw we're now a 3.0.2. :)


Add Travis files, borrowing heavily from pandas

Minor edits to environment.yml

matplotlib is used in analysis.py
dbfread is in conda now

The py.test markers in setup.cfg need some thought
Progress toward #147

Getting this running will eventually require a Travis account https://docs.travis-ci.com/user/getting-started/#To-get-started-with-Travis-CI
This isn't urgent; we still need to figure out which tests we can run in a reasonable amount of time.

My sense is we need to create a whole separate set of tests that depend only on a very small subset of the data, which is set aside from the multi-GB datastore, for the purposes of CI. The tests we have now, that take like 40 minutes to run on my machine, obviously exercise the software, but they also "test" the integration and cleaning of the data itself, by running it all through ETL, which I gather is not really what CI is meant for.  Does that sound correct to others?
Great that dbfread is in conda now! And if we get the in-memory file thing working with the raw_copy like in that example, maybe we can end up without any outside dependencies.

@karldw I've set up an open source account for Catalyst with Travis CI, and added the Travis app to all of these repositories.

Oops, those are both mistakes.
I do think it's worth specifying version info, at least for some packages. At one point I did a conda update --all and broke my configuration, but I forget the details.
I don't think there's any harm in accepting broken CI files. I don't think Travis will run anything until it has an appropriate secret here.

Is it just me, or does it seem a bit odd to have the secret token checked into a publicly readable repository?


Update pagination of UI.

Coverage remained the same at 51.133% when pulling 47ddd971823c122025b3cb16e3d531b2be437313 on wknet123:master-fix-pagination into 9ab756e2b7da1771bd827b72bce22e18075b79b5 on vmware:master.


Game log files for server play lack a world name component

If you play a local game the log file for game/world stuff will be named something like Terasology-world1.log
If you join a server you'll get Terasology-.log - we probably should give that some alternative name (could just use a placeholder "world" unless we have a local world with a name)
Should be easy.

Maybe we could use the seed string?

Are clients actually sent that? I thought sharing the seed could potentially be a cheating issue. It could also be long or controversial if players use creative seed values ;-)
Could we use the server name / address in some fashion? With a sequence number at the end if a user repeatedly joins the same server in one session.

@Cervator @msteiger  Hi. I'm also a student from Porto, we are a lot i know :). For this deliverable we're supposed to implement a feature and document it. So, in order to start, my group would greatly appreciate some explanation about the packages/modules related with this feature and the the main steps to implement it.

You're all most definitely welcome, the more the merrier! :-)
This one should be pretty easy. It is an engine / config feature, no (game) modules involved. Although, I'm realizing our logback.xml (in Terasology/facades/PC/src/main/resources) is referring to a ${phase} I have no idea where it is getting from :D @msteiger probably knows.
In this kind of case CTRL-SHIFT-F is your best friend in IntelliJ. Search for a related keyword, like "phase" and see what hits you get. Likely you can deduce which is the relevant one then see if that brings you to the code we need tweaked, or if you'll find a new keyword to go for.
Find Usages on method names or even simply CTRL-left mouse to navigate between things also helps a lot :-)

The phase and the other parts of the log filename are configured in LoggingContext.
I assume you can get the game name from the GameManifest. If that does not work you might want to check this spot here: JoinServer L84. This is where the client get the game name from the server.

@Cervator @msteiger Hi, based on your comments I try to solve this issue with my solution https://github.com/delftswa2016/Terasology/commit/2bd720b30051a66dfeef0346f73c04b09ffe8d89. As @msteiger mentioned before, I made the implementation on JoinServer  class.
In order to get the remote host address, I need to create new methods on Server class L138 . Is this the most effective way to achieve this?


Remove the Watermark API endpoint

Problem

The API currently contains a deprecated endpoint:
https://api.openverse.org/v1/#tag/images/operation/images_watermark
This endpoint only works for some images, and, for example, does not support SVGs.
Furthermore, the image is not accessible and low-quality. The attribution statement is hard-coded into image which has major legibility problems. The frame and the fonts are non-configurable and frankly look outdated.
Additionally, this endpoint sees little to no usage.
Description

Remove this endpoint entirely. This is complicated by our lack of clear API versioning and is blocked until we resolve that problem. #662 will address the problem.
Alternatives

Additional context

To add another reason to remove it: the watermark endpoint downloads images and processes them in PIL. That exposes us to attacks like the webp vulnerability and other types of pixload type attacks. It's also probably pretty easy to create a denial-of-service attack using that endpoint to cause OOM errors. We do not actively maintain or test that endpoint, and it's easy to forget it exists. That's not a great combination to have.

@zackkrida can you clarify why you believe our lack of clear versioning policy blocks this issue from being implemented? In theory, the longer we wait to remove it, the more likely it is that someone could actually start to rely on it. As discussed privately, the volume of this endpoint is almost non-existent.
In some sense, a lack of clear versioning policy somewhat frees us to do whatever we want here. Whatever versioning policy and strategy we decide, we should make sure it doesn't tie our hands into operating endpoints that have the quality of this one in perpetuity: underused and potentially high-risk.
Additionally, all public documentation about the endpoint has been clear about its deprecated status for a very long time.
With those three things in mind (non-use, high-risk, and long-time notice of deprecation), I believe we should consider not blocking this on an explicit versioning policy.

@sarayourfriend apologies for the delayed reply here, I wrote a reply locally last week and forgot I never shared it.
The TL;DR of my thinking is:
Policies are often revoked and modified by tech companies seemingly at whim. The deprecation of this endpoint is a good opportunity to establish a "precedent of policy conformant-behavior" that will instill trust in our API consumers that the Openverse project does as it says it will.
To expand on that, I was thinking about past policy revocations I've seen like:

FOSS license changes
Google removing "Dont' be evil" from their code of conduct's preface
Unsplash and Pexels switching to proprietary licenses and obfuscating/removing access to previously CC-licensed works.

Policies always depend on a level of trust. Deprecating an endpoint in a manner differing from our stated policy before we implement the policy doesn't increase trust in us as maintainers.
I do agree that there is high-risk for misuse with the endpoint, but I also believe there are swift and quick mitigations to any attack, like blocking the endpoint via firewall, in a manner that would be justified in the case of an attack.


(Click) event not firing

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/driftyco/ionic-v1)
[x] 2.x
[x] 3.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

Click event doesn't fire on child page elements when clicking around the middle of the element/screen (column).
Expected behavior:

Click event should fire just as it does in parent tab pages.
Steps to reproduce:

Related code:
<span tappable class="interest" *ngFor="let interest of result?.interests" (click)="navPushInterestSearchPage(interest)">
          {{interest?.text}}
        </span>

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
global packages:

    @ionic/cli-utils : 1.2.0
    Cordova CLI      : 6.5.0
    Ionic CLI        : 3.2.0

local packages:

    @ionic/app-scripts              : 1.3.7
    @ionic/cli-plugin-cordova       : 1.2.1
    @ionic/cli-plugin-ionic-angular : 1.2.0
    Cordova Platforms               : ios 4.3.1
    Ionic Framework                 : ionic-angular 3.2.1

System:

    Node       : v6.10.0
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.2 Build version 8E2002
    ios-deploy : 1.9.1
    ios-sim    : 5.0.13

issue caused by pointer-events: auto for class toolbar-titile-ios. fixed by overriding same with pointer-events: none.


Controller pickup

(Pull Request made by Jens Lomander)
Things can now be picked up by controller in such a way that an object's parent changes to the corresponding controller when you press a certain button. For now each thing you pick up is hard-coded to get pickup, but once the trigger system is in, we'll be able to much more generally pick up whatever our controller is intersecting with.
Will create a new issue for that the integration with triggers.
fixes #191

SonarQube analysis reported 7 issues

 7 minor

Watch the comments in this conversation to review them.
6 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 ScriptManager.cpp#L582: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L846: The function 'GetStringDeclarationID' is never used.
 ScriptManager.cpp#L852: The function 'GetScripts' is never used.
 ScriptManager.cpp#L860: The function 'ExecuteScriptMethod' is never used.
 VRManager.cpp#L181: The function 'GetVRDevices' is never used.

SonarQube analysis reported 7 issues

 7 minor

Watch the comments in this conversation to review them.
6 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 ScriptManager.cpp#L582: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L846: The function 'GetStringDeclarationID' is never used.
 ScriptManager.cpp#L852: The function 'GetScripts' is never used.
 ScriptManager.cpp#L860: The function 'ExecuteScriptMethod' is never used.
 VRManager.cpp#L181: The function 'GetVRDevices' is never used.

SonarQube analysis reported 7 issues

 7 minor

Watch the comments in this conversation to review them.
6 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 ScriptManager.cpp#L580: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L844: The function 'GetStringDeclarationID' is never used.
 ScriptManager.cpp#L850: The function 'GetScripts' is never used.
 ScriptManager.cpp#L858: The function 'ExecuteScriptMethod' is never used.
 VRManager.cpp#L181: The function 'GetVRDevices' is never used.

SonarQube analysis reported 6 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 ScriptManager.cpp#L580: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L844: The function 'GetStringDeclarationID' is never used.
 ScriptManager.cpp#L850: The function 'GetScripts' is never used.
 ScriptManager.cpp#L858: The function 'ExecuteScriptMethod' is never used.
 VRManager.cpp#L180: The function 'GetVRDevices' is never used.

SonarQube analysis reported 6 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 ScriptManager.cpp#L580: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L844: The function 'GetStringDeclarationID' is never used.
 ScriptManager.cpp#L850: The function 'GetScripts' is never used.
 ScriptManager.cpp#L858: The function 'ExecuteScriptMethod' is never used.
 VRManager.cpp#L169: The function 'GetVRDevices' is never used.


Calibrate Command not valid for ATH20

Relevant line:
https://github.com/adafruit/Adafruit_CircuitPython_AHTx0/blame/e7b71a57a769c57ce4efb95491dffc32e5940132/adafruit_ahtx0.py#L48
While trying to initialize a new AHT20 device ( shop link ) using a QT Py ESP32-S2 WiFi Dev Board with STEMMA QT ( shop link ) connected using a breadboard and wires (not STEMMA) between labelled QT Py SCL/SDA and AHT20 SCL/SDA, labeled GND pins connected, and AHT20 VIN tied to QT Py 3V I was getting an error using the above code library on intial call with the following traceback:
Traceback (most recent call last):
  File "code.py", line 46, in <module>
  File "adafruit_ahtx0.py", line 96, in __init__
  File "adafruit_ahtx0.py", line 114, in calibrate
OSError: [Errno 19] No such device

Upon further investigation using an analog discovery, I found the AHT20 was NACK-ing the first word of calibrate command (defined in this library as AHTX0_CMD_CALIBRATE).
Initial soft reboot:

followed by NACK of Calibrate command first word:

I tried various other things, including manually emulating the library step by step to find the issue, and continually got NACK on that first word. Digging into the AHT20 documentation, I found this document that shows a different calibrate word in section 5.4

Wait 40ms after power-on. Before reading the temperature and humidity values, first check whether the calibration enable bit Bit [3] of the status word is 1 (you can get a byte of status word by sending 0x71). If not 1, need to send 0xbe command (for initialization), this command parameter has two bytes, the first byte is 0x08, the second byte is 0x00, and then wait for 10ms

I modified my manual recreation of this library to use 0xBE as the first word instead and it worked. So I downloaded this file directly, modified only line 48 (above) to read
AHTX0_CMD_CALIBRATE: int = const(0xBE)  # Calibration command

and the library works exactly as intended. Further calls to the returned object as shown in the guide work as expected for as long as I tested it.
I didn't want to submit a pull request as I'm not sure this update would be valid for all uses of the library, but wanted to report the issue I saw and subsequent solution.

I got this error too. Then I went to the github repo:
github.com/adafruit/Adafruit_CircuitPython_AHTx0.
---> In commit fe1abce dated Aug 15 (2023), a change was made to the calibrate command. The comment associated with the change was:
"# Newer AHT20's may not succeed, so wrapping in try/except"
When I downloaded this code and used it, the part worked.

BTW, new AHT20's from Adafruit have a RED led instead of GREEN led, which adds to the confusion :)

@berarduc I saw that try/except, but it still seemed to be failing for me. Maybe I'm misunderstanding something but I thought regardless it should've just pass if that write doesn't work, I still want my sensor to do the calibration if that's an option from the sensor manufacturer! :)

thank you!!! <3
hopefully resolved by merging
https://github.com/adafruit/Adafruit_CircuitPython_AHTx0/pull/19
mpy and pypi will take a day to update!


Naming CF refacture + two free code fixes

Fixes #432
Fixes #173
I created one code fix that fixes all diagnostics that require upper case symbols. With this I was able to have less code and we got code fixes for two diagnostics (SA1300 and SA1303) for free (almost).

I just found a bug in both this CF and the analyzer for qualified names for namespaces. Im fixing this right now

I fixed the bug in the code fix provider. The bug in the analyzer might be a bug in roslyn that causes the HandleNamespaceDeclarationSyntax method to be called multiple times.


Date selection

I sometimes need to set an alarm for a specific date but it isn't supported in this app. I'd like to, for example, have an alarm to wake me up at 6 a.m. on the 21st.

hello currently it is possible to program the alarm for a week, however pass on this other updated project
https://github.com/qw123wh/new-clock

@qw123wh Are you planning to continue working on the app in a different project called New Clock?

yes the main project will be new-clock, I released the apk on github you can try it already


[Fixes #228] Update sample app to show more common routing patterns and add functional tests for it.

:shipit: after fixing minor issues


Helm Repo index.yaml wrong for 1.1.2

wget https://storage.googleapis.com/istio-release/releases/1.1.2/charts/istio-1.1.2.tgz works as expected
$ helm repo add istio.io https://storage.googleapis.com/istio-release/releases/1.1.2/charts/
$ helm fetch istio.io/istio
Error: Failed to fetch https://storage.googleapis.com/istio-release/releases/1.1.2/charts/istio-1.1.0.tgz : 404 Not Found

Fails
curl curl https://storage.googleapis.com/istio-release/releases/1.1.2/charts/index.yaml shows the manifest lists 1.1.0 as the version so it tries to download a version that doesn't exist

Updated.


feat: set check as false for python wrapper to avoid showing python e…

Fixes #18

:rocket: This pull request is included in v0.4.0. See 0.4.0 for release notes.


Switch from node-uuid to uuid

The node-uuid module is deprecated and has been replaced by uuid.
https://www.npmjs.com/package/node-uuid
We should ensure that the API is compatible for our needs and make the transition.

The API is compatible with our needs, I already use it on projects in place of node-uuid 👍  We should make the transition.

Superseded by #21, closing this issue.


Icons

I was looking over WMATA's Brand and Style Guidelines (which I discovered through this repo) and noticed page 11 has a bunch of icons used throughout the Metro system.
These icons seems like they could be a good fit for this package. I couldn't find the actual icons anywhere except this PDF. So I extracted the svgs from that PDF. I put them together into a few formats: a combined svg, individual svgs and an asset catalog.
https://drive.google.com/drive/folders/1mlRP3U9nodQpaL7l_j-c5Kd107m2j0zL?usp=sharing
This is just my first pass at naming and extracting these icons. I'm not entirely sure how they should be incorporated here. Or if they should be SF Symbols-style icons.
Anyway, figured I'd at least post the icons to see what you thought of them.

This would be a good idea, but the SVGs need some work -- an Image created from them won't resize or recolor correctly. I think I need to manipulate them in SF Symbols to make them usable. (See https://developer.apple.com/documentation/uikit/uiimage/creating_custom_symbol_images_for_your_app)

Interesting. The resizing can probably be addressed easily. Can look into that. I'm was a little hesitant about giving them the SF Symbol treatment because SF Symbols allow for changing the icons in ways that might not follow the brand guides.
For example, SF Symbols allow for weight variations with something like
Image(systemName: "pencil").font(.body.weight(.ultraLight))

Image(systemName: "pencil").font(.body.weight(.bold))

Image(systemName: "pencil").font(.body.weight(.black))

Same with colors like you pointed out. I'm not sure if this kind of variation would be compliant.
The icons should probably change colors based on appearance tho.

The concern about colors is about allowing the light/dark (and high contrast for accessibility) transformations to work. I want to make the sizes adjust to font styles (if not weights) for the same reason (specifically if an app is designed to use a symbol the same size as the .headline style, and someone has that increased from the default to address readability issues, the symbol needs to be able to grow dynamically (as far as code is concerned) to match that.
I think its possible to make the images keep the same line thickness for different font weights, but am finding my knowledge of SVG inadequate to really understand the impacts of the changes SF Symbols wants to make.

I’ll do a bit of research and see what can be done

It seems like converting the current svgs to SF Symbols format is the correct move.
After some struggling I’ve managed to get the clock icon converted to a symbol and it works just as you’d expect any system image to.
Will post the clock svg I have now when I’m back home & start converting the rest

Made a bit of progress. I attached the templates for 3 symbols (for loading into SF Symbols), along with 2 versions of the symbols themselves.
The swift-y version uses primary/secondary/tertiary etc for different parts of the symbol by default
The wmata-y version matches WMATA's style. Solid color for the whole icon.
Both support resizing, all the rendering modes for symbols and recoloring using the same methods as with system images. Not sure which version of the icons I prefer.
Converting to symbols is gonna take a bit. I'm not exactly a pro at vector editing stuff.
Symbols.zip

After fussing with this for a bit, I've discovered that I absolutely do not have the appropriate skills for making SF Symbols from these icons. So, I probably will not be able to do this unfortunately.

@emma-k-alexandra Thank you for attempting this.


Merge 12-06 updates to live

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

F1/ongotfocus-property-access-vbaac10-chm4090.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/activate-deactivate-events.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/activecodepane-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/activevbproject-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/activewindow-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/add-method-microsoft-forms.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/add-method-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/add-method-visual-basic-for-applications.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/addcustom-method.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/addfromfile-method-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/addfromguid-method-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/addfromstring-method-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/addin-object.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/addins-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/buildfilename-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/builtin-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/caption-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/click-event-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/click-event.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/close-method-filesystemobject-object.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/close-method-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/codemodule-object-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/codemodule-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/codepane-object-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/codepane-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/codepanes-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/codepaneview-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/collection-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/commandbar-object.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/commandbarevents-object-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/commandbarevents-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/commandbars-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/connect-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/count-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/countofdeclarationlines-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/countoflines-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/countofvisiblelines-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/createeventproc-method-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/createtoolwindow-method.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/deletelines-method-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/description-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/designer-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/designerwindow-method.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/events-object-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/events-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/export-method-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/filename-property.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/find-method-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/getselection-method-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

Language/Reference/User-Interface-Help/hasopendesigner-property-vba-add-in-object-model.md
:white_check_mark:Succeeded
View

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix Clippy warnings

New Clippy does not like when you write |s| s.to_owned() because making a new closure here is reduntant (you can pass the function std::borrow::ToOwned::to_owned there directly). This causes a warning and we treat warnings as errors, which breaks the builds.
Anyway, it's not like we need to avoid this computation here with a closure so rewrite the code to compute the default path in a more straightforward way and thus avoid the wrath of our resident god of static analysis.

oh this world on modern development :)
we shall merge this PR before #465


Change MAC address error

I'm getting "The syntax of the command is incorrect." error http://i.imgur.com/knRPFoy.jpg on Windows 7 SP1 (64bit).

Oh, you have the Russian version of Windows?
Are you a programmer? perhaps you can help me support the Russian language for this script?

Yes.
I'm codding some stuff time to time but I'm not programmer at all. What should I do for this?

Hi,
I would suggest the following two steps:
First)
Learn how to use the tool from the command line.
Run it like:
ChangeMac help
Then try to change the MAC address from the command line even if you will get errors / wrong results (like the ones you reported).
Second)
Now that you know how to use it from the command line, do the following:

remove the "@echo off" from the script
run the script from the command prompt again and change the MAC address but redirect the output to a text file:

ChangeMAC.bat change "Interface Name" NewMac >output.txt

Share with me the text file.

My goal is to see why it is failing: my assumption: the parsing syntax of the command output is failing because of the Russian output of the commands?

Also, you can run the internal tests of the script and see what fails:
ChangeMac.bat __internal tests
etc.
If I had another Windows version, I could have fixed the bug easily.
After all, the Batchography book is an excellent resource for non-programmers as well to help them understand, write or fix Batch scripts.

I've sent output.txt file (open it in Notepad++ to see russian text correctly) to your mail. I think that first problem that it detects something wrong in adapters at scipts start - the 2nd one is just some text information about adapter type and interface name blob:http%3A//imgur.com/8dbafa47-a209-4e97-8403-2a317bc2c9f9 and not real adapter name.

Thank you. I got your email and see the problem. You are correct about the error.
I cannot fix it. I recommend either fixing it yourself (should be easy and a nice exercise) or use the TMAC program.
Thanks!


NAME_treat_pvalue.bdg not generated even though --bdg is set

I want to use the macs2 cmbreps option to compare peaks between replicates. However I can not seem to produce the log10 pvalues.
When I call macs2 (v2.1.2) with the --bdg command I get the NAME_treat_pileup.bdg and the NAME_control_lambda.bdg as described here, however I do not get NAME_treat_pvalue.bdg or NAME_treat_qvalue.bdg.
The header of the NAME_peaks.xls is:
# This file is generated by MACS version 2.1.2
# Command line: callpeak --bdg -t /mnt/ocimum/vol/atacpipeline/dedup/GSM2837484-Bl71nemr.bam --outdir /mnt/ocimum/vol/atacpipeline/macs2/ -n GSM2837484-Bl71nemr --shift -100 --extsize 200 --nomodel --keep-dup 1 --buffer-size 10000 -g 415501436
# ARGUMENTS LIST:
# name = GSM2837484-Bl71nemr
# format = AUTO
# ChIP-seq file = ['/mnt/ocimum/vol/atacpipeline/dedup/GSM2837484-Bl71nemr.bam']
# control file = None
# effective genome size = 4.16e+08
# band width = 300
# model fold = [5, 50]
# qvalue cutoff = 5.00e-02
# The maximum gap between significant sites is assigned as the read length/tag size.
# The minimum length of peaks is assigned as the predicted fragment length "d".
# Larger dataset will be scaled towards smaller dataset.
# Range for calculating regional lambda is: 10000 bps
# Broad region calling is off
# Paired-End mode is off
# tag size is determined as 43 bps
# total tags in treatment: 28550699
# tags after filtering in treatment: 20545115
# maximum duplicate tags at the same position in treatment = 1
# Redundant rate in treatment: 0.28
# Sequencing ends will be shifted towards 5' by 100 bp(s)
# d = 200

The files are never even generated, see funcion __write_bedGraph_for_a_chromosome and for instance here:
https://github.com/taoliu/MACS/blob/b1c77ee1d18f00ed33fbdea2a1f14bea349918c7/MACS2/IO/CallPeakUnit.pyx#L1482
How do I get those files anyway?

@Maarten-vd-Sande MACS2 main function "callpeak" only generates bedGraph for pileup signals. To make pvalue bedGraph, please use "bdgcmp" command, in the same way as shown, except that you specify the method as ppois "-m ppois":
https://github.com/taoliu/MACS/wiki/Build-Signal-Track#Run_MACS2_bdgcmp_to_generate_foldenrichment_and_logLR_track

That seems to work, thanks a lot! Maybe update the documentation since it's quite misleading.

@Maarten-vd-Sande Sure thing! I just updated the README file: 8ebd97b1730b7aca4a06d6ec4427ccd0dc14cf6a


Hardcoded 'WEB' in new check for longpoll

I just updated ftui in fhem and ran into a new error message popping up:
Uncaught TypeError: Cannot read property 'val' of undefined
It turns out that the new check for longpoll is causing this issue.
In fhem-tablet-ui.js, the following check was just added:
if ('WebSocket' in window &&              ftui.config.longPollType === 'websocket' &&             ftui.deviceStates['WEB'] &&             ftui.deviceStates['WEB'].longpoll.val === 'websocket') {
This leads to some problems:

If not 'WEB' is used as device, this checks for the wrong device

Once I add "longpoll websocket" to my device, this does not show up in ftui.deviceStates[<myDevice>]. A console.log(ftui.deviceState[<myDevice>] is showing all attribues but not the "longpoll" one so ftui.deviceState[\<myDevice\>].longpoll.val is producing this error

use the meta tag "web_device"

Do you mean
<meta name='web_device' content='yes'>
needs to be added to index.html header or something different?

If your dont use WEB as name for your FHEMWEB device, configure the name as this meta parameter.


Fix for #266 - don't use deprecated brew tap-pin, instead refer to the full package name when installing

don't use deprecated brew tap-pin
instead refer to the full package name when installing
fixes https://github.com/skvark/opencv-python/issues/266
context:
https://brew.sh/2019/04/04/homebrew-2.1.0/
https://github.com/Homebrew/brew/pull/5925

Thank you!


Add: T/isPowerOf2

The following models can and/or should implement isPowerOf2.

BinaryInteger
Count
DataInt
DataInt.Body
MutableDataInt
MutableDataInt.Body
Shift

I want at least Count/isPowerOf2 for documentation purposes.

Also, this expression is faster than bit-counting (at least for small systems integers):
(x > 0) && (x & (x &- 1) == 0)


Add Thinkpad X13 Gen1 AMD variant

Description of changes
Add Thinkpad X13 Gen1 variant for AMD CPU, which is the model I own. https://ubuntu.com/certified/202006-27979/20.04 LTS.
This change moves some of the config files for the Intel variant, but leaves the Flake output lenovo-thinkpad-x13 as-is to avoid breakage.
Things done

[x] Tested the changes in your own NixOS Configuration
[x] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

@mergify queue


Find & evaluate CSS frameworks

Find & evaluate CSS frameworks and decide which one is proper for building the new UI.

Seleted Bulma


Web - Manage members - Admin is not shown in old workspaces created earlier in offline mode but works well when creating new workspaces in an offline mode

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to web chrome
Go offline
Go to workspaces
Select old workspaces that you have created earlier
Go to invite members
Notice that it doesn't show the admin in the members
But now create a new workspace in an offline mode
Try to view the invite members page of the newly created workspace and notice that the admin member is shown

Expected Result:
Admin member should be shown in old workspaces in an offline mode
Actual Result:
Admin member is not shown in an old workspace in an offline mode
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/233446373-30fc6489-1b18-4cc0-a916-00ba62af6b9d.mp4
https://user-images.githubusercontent.com/93399543/233446414-5e8c48ec-3350-4c23-b806-38b779a73db1.mp4
Expensify/Expensify Issue URL:
Issue reported by:@priya-zha
**Slack conversation:**https://expensify.slack.com/archives/C049HHMV9SM/p1681917388321879
View all open jobs on GitHub

Triggered auto assignment to @anmurali (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@anmurali Whoops! This issue is 2 days overdue. Let's get this updated quick!

Cannot reproduce. Asked in the slack thread.

No response in the thread, so closing


Store the original id_token JWT in OAuth2Credentials

Currently, the credentials that are returned as a JWT in an identity token are extracted and stored in their extracted state, but the JWT itself is not retained. In some flows (like using the Auth0 Delegation endpoint) having the original JWT is required.
I would like to add the full JWT to the id_token dict in OAuth2Credentials. Probably as 'jwt'.

I'm open to this in general, but we're avoiding making large changes to this library unless totally necessary. Are you willing to send a PR to see what the impact will be?

Yes. Working on one now.
On 21 Nov 2016 10:06 p.m., "Jon Wayne Parrott"<EMAIL_ADDRESS>wrote:

I'm open to this in general, but we're avoiding making large changes to
this library unless totally necessary. Are you willing to send a PR to see
what the impact will be?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/oauth2client/issues/678#issuecomment-262082626,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH3Nj_9c89jddnvO7nEI16QK7Bq31C9xks5rAhXagaJpZM4K4XhI
.

As discussed, I have submitted a PR that would address this.
https://github.com/google/oauth2client/issues/680