DOC/MAINT: Add copyright notice to qmc.primes_from_2_to

The code from scipy.stats._qmc.from_2_to was taken from StackOverflow under a CC-BY-SA license. I contacted the author and got his permission to use his code under our 3-clause BSD license.
I also added a slight note in the licensing section of the doc about code from StackOverflow.

Raw Email
Delivered-To<EMAIL_ADDRESS>Received: by 2002:a05:6a20:7915:b029:1b:369f:6ac3 with SMTP id
 b21csp639186pzg; Thu, 22 Apr 2021 23:01:35 -0700 (PDT)
X-Received: by 2002:a25:330a:: with SMTP id z10mr3155345ybz.123.1619157695681;
 Thu, 22 Apr 2021 23:01:35 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1619157695; cv=none; d=google.com;
 s=arc-20160816;
 b=TxyFVsldVHWUwTLrK9zXfWmNgYM0EOx25UPR/j7I9aiicQwO+RP+CWIV+A/PMrgAv+
 2gUDbBbj/reCXHWZKpHP9Ic4DdvEFNLOb1A0IokPFCn+kEhU2Z8AvxJ9phmOMgDuoRmt
 EHqmCXlYBcEH0ccrndoAZLyibCXzsrH3nkT69UatmhTc+sKTT+1pAV5SljviYwPPm2Zw
 +Emkj1Y19TXs8eMRi8qm9KpVvE36yM7gaFs02HntXvZ7GlYt6F1bhVW2RENeUPgids7M
 w402aRSpbcE4VY3rVnHX4lzxhNB+5JIjZL+fGyMgIWymjiAKVumY2T/l10L52MkWhV6h mz+A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
 s=arc-20160816;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :dkim-signature; bh=pU1MkLXxcMkBqel9cHuxgcXAcW5Kc2eKQFyAlT6TWVw=;
 b=xG6msD6qoY07roIltBU9BDw7GSgRJUITGOOav7moDGUsfVOZu2/2pWQqDss8SEUeT0
 0JYZvWMNDUV3Y4MUFjlrHPQXDILss3ee5ygi+RLlJt3hyhud/t9CvdVx/U+Xu1evYdKy
 fXbPTTtMbp1lz9oN7kkERx68ULSIRwBW/nOKO5MPsGvxHDqg2CMqP42RQ8NWGXxyoUYP
 33yhxy+E3gstR9nyicXjsKAb+1AbCgnjxBWfGj8JFLFONZsd7RUtPrieTum9UWY41DO9
 VMzEIjCjGasPWGjDoUMFreZvENsXrL2xDZ8/l5mrDsIvEP0XE0jka508h+zfvGCCJMjs pa2Q==
ARC-Authentication-Results: i=1; mx.google.com; dkim=pass<EMAIL_ADDRESS> header.s=20161025 header.b=QjTE9+3D; spf=pass (google.com: domain of
<EMAIL_ADDRESS>designates <IP_ADDRESS> as permitted sender)
<EMAIL_ADDRESS>dmarc=pass (p=NONE sp=QUARANTINE
 dis=NONE) header.from=gmail.com
Return-Path<EMAIL_ADDRESS>Received: from mail-sor-f41.google.com (mail-sor-f41.google.com.
 [<IP_ADDRESS>]) by mx.google.com with SMTPS id
 n140sor2657687yba.38.2<IP_ADDRESS>.01.35 for<EMAIL_ADDRESS>(Google
 Transport Security); Thu, 22 Apr 2021 23:01:35 -0700 (PDT)
Received-SPF: pass (google.com: domain of<EMAIL_ADDRESS>designates
 <IP_ADDRESS> as permitted sender) client-ip=<IP_ADDRESS>;
Authentication-Results: mx.google.com; dkim=pass<EMAIL_ADDRESS> header.s=20161025 header.b=QjTE9+3D; spf=pass (google.com: domain of
<EMAIL_ADDRESS>designates <IP_ADDRESS> as permitted sender)
<EMAIL_ADDRESS>dmarc=pass (p=NONE sp=QUARANTINE
 dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=pU1MkLXxcMkBqel9cHuxgcXAcW5Kc2eKQFyAlT6TWVw=;
 b=QjTE9+3D1MJmFZbdfEmZsNXxeBxHbTXh5XANW/2O64OTUBmedYau+VPiVn2mNXw8ir
 DcHXs1y0pSTNEDf2y40txfQ/3gsnD9FOszcNvUt+wVB0wqCACCmb7ONPmuUhjg/O/tFl
 49iMVaLler3gtNxBuVf7xsllkFgiy6vglF5pcvCRTM6b1xtup1QzDn/pU80sjWOHDuge
 Xw3/G1ZjvLU88n9ok41AkXn44K0WtsDq0xDm+E4V3yODsMD3WROolbGzx8hw8XZZg3Q2
 9O9T6EbAWwfVOjWufQA+8nInl3BAb/ILunJy+UAbuq44Lr9/qThEVSH5FA47R6CqfWbr SnYA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net;
 s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to; bh=pU1MkLXxcMkBqel9cHuxgcXAcW5Kc2eKQFyAlT6TWVw=;
 b=m5XpTDe6jaN9Dl2yXJe5nJO9xazvwf5K0pVU+yI4h5wg+AxrlbMb8uCc8aDxpKIZJ2
 fo9DB/QbivkxVGCe3IyNWYxmYMXQOFVI+Q71e91mxGowr7H8f1IwZtwksvVddwNdptIE
 Bi9ij5UWEYO2frDZpPpmt522WHUeqksh/xolUQuKd7s47GXS/TovG2cvVQzMQB+7XmXy
 4HIKtg0kfojZSGL/5Tlf2ydo6dFLXA0ivbwKrNKXMcJgNKHRYOLDvuNAwCqkE9xB0+ii
 pT/i9oXDc/58gC/iiflSSU6zls+aqRel++Hp0xsxZXlQnoTQNdK04fqXC7AhhNvn6kp+ 21xg==
X-Gm-Message-State: AOAM533Ev/J4EWfIcfprWtVC0Vl0vGL7osMciwR80h6Zj3KJMCfz5mrL
 y5NVkX153QluJi5LtZHWetMfJci08SNCjU5B3kXl+3pQidg=
X-Google-Smtp-Source: ABdhPJwfkW0yZO1o1Oh9PgfEJ4isGJd64XKmkPa3t0bnGcRZAYfQp3YUjL4V86gtYmoi55U0jwP2iCjSn49yvOPQTEo=
X-Received: by 2002:a25:a2cf:: with SMTP id c15mr3203942ybn.318.1619157693387;
 Thu, 22 Apr 2021 23:01:33 -0700 (PDT)
MIME-Version: 1.0
References<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>From: Bruno Astrolino<EMAIL_ADDRESS>Date: Fri, 23 Apr 2021 02:01:21 -0400
Message-ID<EMAIL_ADDRESS>Subject: Re: Relicensing sieve code to SciPy
To: Pamphile Roy<EMAIL_ADDRESS>Content-Type: multipart/alternative; boundary="00000000000026589c05c09d87bc"

--00000000000026589c05c09d87bc
Content-Type: text/plain; charset="UTF-8"

Hy my name is Bruno Astrolino and that's my original code, fell free to use
as you like. I am glad to help.

On Thu, Apr 22, 2021, 11:37 Pamphile Roy<EMAIL_ADDRESS>wrote:

> Hi,
>
> I am a SciPy core developer and we would like to use a solution you posted
> on StackOverflow to compute prime numbers:
>
> https://stackoverflow.com/a/3035188/6522112
>
> def primes_from_2_to(n):
>     sieve = np.ones(n // 3 + (n % 6 == 2), dtype=bool)
>     for i in range(1, int(n ** 0.5) // 3 + 1):
>         k = 3 * i + 1 | 1
>         sieve[k * k // 3::2 * k] = False
>         sieve[k * (k - 2 * (i & 1) + 4) // 3::2 * k] = False
>     return np.r_[2, 3, ((3 * np.nonzero(sieve)[0][1:] + 1) | 1)]
>
>
> Provided you are the original author of this code, could you allow us to
> use this in SciPy (which is BSD 3 clause), just a positive reply to this
> email would be enough.
> If you are not the author and owner of the copyright, could you point me
> to the original author?
>
> Thanks in advance for your help and support to SciPy.
>
>
> Sincerely,
>
> Pamphile Roy
> @tupui
>
>

--00000000000026589c05c09d87bc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hy my name is Bruno Astrolino and that's my original =
code, fell free to use as you like. I am glad to help.

On Thu, Apr 22, 2021=
, 11:37 Pamphile Roy <<a<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:

Hi,
<=
div>

I am a SciPy core developer and we would like to use a s=
olution you posted on StackOverflow to compute prime numbers:

https://stackoverflow.com/a/3035188/6522112<=
/a>

def primes_from_=
2_to(n):
<sp=
an style=3D"color:#969896;font-style:italic">    sieve =3D np.ones(<=
span style=3D"color:#0086b3">n // </sp=
an>3 + <=
/span>(n=
 % 6 =3D=3D 2), dtype=3Dbool)
<s=
pan style=3D"color:#63a35c">    for </=
span>i in range(1, int(n ** 0.5) // 3 + 1<spa=
n style=3D"color:#63a35c">):
        k =3D 3 * i + 1 | 1
        si=
eve[k * =
k // 3::2 * k] =3D False
        sieve[=
k * (k - 2 * (i & 1) + 4) // <sp=
an style=3D"color:#0086b3">3::<=
span style=3D"color:#0086b3">2 * </spa=
n>k] =3D=
 False
    return np.r_[2, <sp=
an style=3D"color:#0086b3">3, ((3 * </s=
pan>np.n=
onzero(sieve)[0][1:] + 1) | 1)]</pr=
e>

Provided you are the original author of this co=
de, could you allow us to use this in SciPy (which is BSD 3 clause), just a=
 positive reply to this email would be enough.

If you are not the=
 author and owner of the copyright, could you point me to the original auth=
or?

Thanks in advance for your help and support to=
 SciPy.

Sincerely,

</=
div>
Pamphile Roy

@tupui

</blockquo=
te>

--00000000000026589c05c09d87bc--

Not to steal any credit, (the core is left intact) but because previously having bitten by it, r_ is often slower than allocating array directly for some reason I don't know.
def primesfrom2to(n):
    """ Input n>=6, Returns a array of primes, 2 <= p < n """
    sieve = np.ones(n//3 + (n % 6 == 2), dtype=bool)
    for i in range(1, int(sqrt(n))//3+1):
        if sieve[i]:
            k = 3*i+1 | 1
            sieve[k*k//3::2*k] = False
            sieve[k*(k-2*(i & 1)+4)//3::2*k] = False
    t = (3*np.nonzero(sieve)[0][1:]+1) | 1
    res = np.empty(len(t)+2, dtype=int)
    res[:2] = [2, 3]
    res[2:] = t
    return res

There are some more places to gain some more speed with bit manipulations etc. but I don't think it's worth it to klingonize it.

@ilayn Great if you can improve it. I thing though it should be another PR. Here it's just about properly crediting something I copied.
If you would rewrite it, I would also propose to add a method parameter as to propose things like sieve of Atkin. And as the current implementation is quite fast, it would make then sense to go to compiled code.


Feature Request: Copy time

It would be useful to have a column to summarise the copy  time listed at the end of a plot. This can add a significant time to the plotting process if not configured well and would be really useful to have an overview of.
Thanks for the great app

WIll be added


[Doc]add privilege description to catalog related docs and a new doc keywords

What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_admit_test

@mergify backport branch-2.4


[AutoPR containerregistry/resource-manager] ACR with Autorest for Python 4

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6300

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/5650


Create openai-connector.md

First version of openai-connector documentation for version 1.2.0

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


[WIP] Wales Office slug change

Trello: https://trello.com/c/B764dizv/528-complete-wales-office-rename
/organisations/wales-office was recently renamed to /organisations/office-of-the-secretary-of-state-for-wales
Creating the needed migration as outlined here: https://github.gds/pages/gds/opsmanual/2nd-line/changing-organisation-slug.html

This isn't needed and I'm pretty sure it will crash. The Tag model was removed a while ago because there's no more tagging in this application.
https://github.com/alphagov/panopticon/pull/411


⚠ Mobitopup has degraded performance

In ed76c8f, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 3141 ms

Resolved: Mobitopup performance has improved in a1427d3 after 8 minutes.


Eloquent::findOFail($id) Returns A Collection Instance

Laravel Version: 6.5.1
PHP Version: 7.3.9
Database Driver & Version: MySql 5.7.27

Description:
Eloquent::findOrFail($id)  returns a Eloquent instance.
But if i build something like:
public static function fromEncodedId($encodedId)
{
    $id = decode_the_id($encodedId);

    return static::findOrFail($id);
}

An EloquentCollection instance will be returned.
Steps To Reproduce:
Build a wrapper method around findOrFail  and call it.
public static function fromId($id)
{
    return static::findOrFail($id);
}

I just noticed that Builder::findOrFail()can return an EloquentCollection, so this might be expected behaviour.

@driesvints Should in this case findOrFail return the model instead of an EloquentCollection with one item?

Your decoded was likely something array-ish?


Explanation about arguments

Hi, first, thank you for your work. My name is José and I am trying to use the script described to look out for the plasmid in two collections, one of Salmonella and the other of E. coli. However, I am having some problems understanding the script's arguments. What do you mean with:
--classifier CLASSIFIER, -c CLASSIFIER
Classifier [pc or pf] default=pc
--classification-file CLASSIFICATION_FILE, -f CLASSIFICATION_FILE
Path to classification file
Which of these options indicates the path to the origin fasta files?
--output OUTPUT, -o OUTPUT
Contigs file (contigs.fasta)
This argument describes the output files' name, right?
I am starting in this field and my knowledge in bioinformatics is limited. So, Thanks in advance for your help

Hi @audjoselo,
This is a plasmid classification improvement tool.
As base classifiers, I expect plasclass or plasflow results to begin with. The -c parameter is the name of classifier (plasclass is pc and plasflow is pf). --classification-file is the output from plasclass or plasfow, depending on your classifier choice.
The origin fasta is obtained automatically from  --spades-path.
--output is the destination folder. GraphPlas creates a folder. I think it creates a text file with final result. I will update the help command right now. It does not output the contigs.fasta file. That is a mistake. Sorry about that.
Let me know if you face any more problems. Thanks

Hi @anuradhawick, thank you for your response. Up to I could understand, to use GraphPlas is necessary to install Plascope too right? I installed it and tried to use the following script indicating the path to Plascope installation:
GraphPlas.py --spades-path /home/audjoselo/carpeta2 --classifier pc --classification-file /home/audjoselo/soft-update/PlaScope-1.3.1 --output /home/audjoselo/carpeta2/Nueva --plots --ground-truth GROUND_TRUTH
However, I received the following error messages:
2022-07-27 10:32:48,147 - ERROR - One of the files were not found in the assembly path
2022-07-27 10:32:48,147 - ERROR - Ensure you have all the files: contigs.fasta, contigs.paths and assembly_graph_with_scaffolds.gfa
As I commented before, I am starting in the bioinformatic field. Maybe it is something basic, but I cannot identify what is wrong. I really appreciate any help you can provide.

Hi, it is plasclass that we support. Not plascope. Let me know if you think we should support plascope.
For spades path you need to give the output folder of metaspades assembly.
You can skip ground truth argument.
Feel free to ask any question you have.


Add Axiom as an OTEL destination

Issue #, if available:
There was no issue created for this PR.
Description of changes:
This PR adds Axiom to the partners list as Axiom natively supports OTLP. The PR adds add Axiom to the sidebar config as well as the documentation it self along with an example.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

hi @wangzlei who is the right person to take a look at this?

Heya @dasfmi, thanks for your interest. We currently do not have plans to extend this part of ADOT.


$0.qwik.pause() fails serialization

Qwik Version
0.0.30
Operating System (or Browser)
chrome
Node Version (if applicable)
No response
Which component is affected?
Qwik Runtime
Expected Behaviour
Serialize without an error
Actual Behaviour
https://www.loom.com/share/9244d9eb2914440fb399ef97f1f3752b
Additional Information

clone https://github.com/mhevery/qwik-conference
yarn
yarn dev.ssr
http://localhost:3000/todo

client.ts:16 [vite] connecting...
client.ts:53 [vite] connected.
$0.qwik.pause()
log.js:8 QWIK ERROR Error: Expected defined value
    at logError (log.js:6:54)
    at logErrorAndStop (log.js:12:5)
    at assertDefined (assert.js:8:15)
    at mustGetObjId (store.js:204:9)
    at store.js:282:37
    at Array.map (<anonymous>)
    at store.js:282:37
    at Array.forEach (<anonymous>)
    at snapshotState (store.js:268:11)
    at pauseContainer (store.js:33:11)
    at Object.pause (props.js:27:17)
    at <anonymous>:1:9
logError @ log.js:8
logErrorAndStop @ log.js:12
assertDefined @ assert.js:8
mustGetObjId @ store.js:204
(anonymous) @ store.js:282
(anonymous) @ store.js:282
snapshotState @ store.js:268
pauseContainer @ store.js:33
pause @ props.js:27
(anonymous) @ VM390:1

Fixed by https://github.com/BuilderIO/qwik/commit/170f6ba11792921d48e81ec9a793efe990e723a5


Structure Test Analytics JSON format reference

I'm not sure this is genuinely good, but it does eliminate some Markdown tables (🤮) and CSV-filled comments with something a little less awful. There are more opportunities to refactor here, but this is my attempt at starting that process.

Someone noticed that expanded_reason hasn't been documented yet.
I believe the intention of this key is for reporting more detailed failure reasons. Here is an example in our fixtures:
    "failure_expanded": [
      {
        "expanded": [
          "  expected: false",
          "       got: true",
          "",
          "  (compared using ==)",
          "",
          "  Diff:",
          "  @@ -1 +1 @@",
          "  -false","  +true"
        ],
        "backtrace": [
          "./spec/models/analytics/upload_spec.rb:25:in `block (3 levels) in \u003ctop (required)\u003e'","./spec/support/log.rb:17:in `run'",
          "./spec/support/log.rb:66:in `block (2 levels) in \u003ctop (required)\u003e'",
          "./spec/support/database.rb:19:in `block (2 levels) in \u003ctop (required)\u003e'",
          "/Users/abc/Documents/rspec-buildkite-analytics/lib/rspec/buildkite/analytics/uploader.rb:153:in `block (2 levels) in configure'",
          "-e:1:in `\u003cmain\u003e'"
        ]
      }
    ],

The current validation expects failure_expanded to be an Array of Hashes/Objects
Here is also a similar discussion for the JS collector https://github.com/buildkite/test-collector-javascript/issues/17

Thanks @gchan, would that be at the same level as  failure_reason and optional?

@plaindocs Yup, failure_expanded is at the same level as failure_reason.
Note that I incorrectly called the key expanded_reason in my previous post, I have updated it.

@gchan are backtrace and expanded just strings from the CLI?

Yes, the keys backtrace and expanded are strings for the hash/dictionary. There is no restriction on what the strings/keys are.


[FluentSlider] by using web components current-value instead of value

Pull Request

By using web components current-value instead of value
Update Tests and fixed a typo

📖 Description

🎫 Issues

👩💻 Reviewer Notes

📑 Test Plan

✅ Checklist
General

[ ] I have added tests for my changes.
[x] I have tested my changes.
[ ] I have updated the project documentation to reflect my changes.
[x] I have read the CONTRIBUTING documentation and followed the standards for this project.

Component-specific

[ ] I have added a new component
[ ] I have added Unit Tests for my new component
[] I have modified an existing component
[x] I have validated the Unit Tests for an existing component

⏭ Next Steps

https://explore.fast.design/components/fast-slider

there is no value, only current-value.
So I think it should be current-value

Did you have an issue with the current development?
Because, I added this code in the Demo sample and all work fine.
<FluentButton OnClick="@(e => { value = 50;} )">Click</FluentButton>

We are using Fluent WebComponents v2 and the Slider contains a value attribute.
See https://github.com/microsoft/fluentui/blob/web-components-v2/packages/web-components/src/slider/slider.vscode.definition.json

Could you add this Unit Test to validate your change (to verify the bindind)

[Fact]
public void FluentSlider_Binding()
{
    // Arrange
    int value = 3;
    var cut = Render(@<FluentSlider Min="0" Max="10" Step="1" @bind-Value="@value"></FluentSlider>);

    // Act
    var slider = cut.Find("fluent-slider");
    slider.TriggerEvent("onsliderchange", new ChangeEventArgs() { Value = 2 });

    // Assert
    Assert.Equal(2, value);
}

Going with the general web components way of working, they use value only for setting the initial value. current-value should represent the current value (ie after binding)

Hi, @dvoituron
I do have an issue with FluentSlider, binding is only triggered first time to set initial value as Vincent said.
And I added the FluentSlider_Binding test, and it passed.


Issue with alias resolver

I am trying to use aliases, usually it works with the https://www.npmjs.com/package/eslint-import-resolver-alias
But when I run the app, the plugin is trowing all the time:
Unable to resolve path to module<EMAIL_ADDRESS>It seems that adding
  "settings": {
    "import/resolver": {
      "alias": {
        "map": [
          ["@", "./src"]
        ]
      }
    }
  },

Is not detected by the vite plugin

Sorry, my mistake

I know this is an old issue, but here is an alternative: https://www.npmjs.com/package/eslint-import-resolver-vite


g.calibrate Error in FUN(x, aperm(array(STATS, dims[perm ..

For one GGIR user g.calibrate creates the error for one of their ActiGraph monitor recordings:
Error in FUN(x, aperm(array(STATS, dims[perm]), order(perm)), ...):
non-numeric argument to binary operator
So, far it seems that this is caused by non-numeric values ending up in the data.frame "meta_temp", if we then do as.matrix(meta_temp) the numeric values are turned into characters.
I think for a number of places in the code the conversion to matrix is redundant, so I will remove these.
Further, I will add an extra check that all values in meta_temp are number and remove the rows for which this is not the case.

Issues now addressed.


lxc list json format state and snapshots used capital S in 2.0.9

Required information

Distribution: Ubuntu
Distribution version: 16.04.2 LTS
The output of "lxc info" or if that fails:

Kernel version: 4.4.0-62-generic
LXC version: 2.0.7
LXD version: 2.0.9
Storage backend in use: dir

Issue description
The json output of lxc list --format=json used .[].State and .[].Snapshots in 2.0.9, while it was small s in 2.0.8 and also in 2.9.1, as I didn't aware it's on changelog so far, is it an expected change? So I shall update all our script that reading these info.
Steps to reproduce

Upgrade to LXD 2.0.9
Do lxc list --format=json

Information to attach
lxc list --format=json output in 2.0.8:
[
  {
    "architecture": "x86_64",
    .
    .
    .
    "stateful": false,
    "status": "Running",
    "status_code": 103,
    "state": {
      "status": "Running",
      "status_code": 103,
      "disk": {}
      .
      .
    },
    "snapshots": []
  }
]

lxc list --format=json output in 2.0.9:
[
  {
    "architecture": "x86_64",
    .
    .
    .
    "stateful": false,
    "status": "Running",
    "status_code": 103,
    "State": {
      "status": "Running",
      "status_code": 103,
      "disk": {}
      .
      .
    },
    "Snapshots": []
  }
]

I'm pretty sure this wasn't intended. (ping @stgraber)

Yep and it's been fixed in git already

I've been busy with the storage fixes lately but the plan is to push an intermediary SRU to Ubuntu with that fix cherry-picked.

https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1667406


Values "sw"/"se" of labelPosition seems to be inversed ?

Hi,
If I use : generic.users Users [labelPosition="sw"];
Then the label appears on the right and not on the left !
w is for west, no ? on the left, no ?
Greetings, JL.

This should now be fixed. Sorry it took me so long to get to this.

Thank you !


should we call .into() in bail!?

The bail macro makes a lot of code a lot simpler but it can't be used when the return type isn't an anyhow error. If that type does implement From<anyhow::Error> the error can easily be converted by calling .into() though.
So would it make sense to make that change to the bail macro or are there any objections?
To put my words into code:
return $crate::__private::Err($crate::__anyhow!($msg).into())

The current behavior is intentional. See #112.


"Unsupported" nodes?

I tried the extension. My projet is using specific nodes: https://flows.nodered.org/node/node-red-contrib-fabric
When I open node-red, I get the following warning:

Flows stopped due to missing node types.
fabric-mid
fabric-in

And indeed, each of these nodes say:

unknown: fabric-mid

Stranger, when I try to install them via the palette, they are already considered installed, but they are not available in the node list.

Needed more RAM. Nothing to do with this


magit not showing files in untracked directory

What did you expect to happen?
This experience is from using magit with spacemacs years ago, so it might have been changed.
Pressing tab would usually unfold an untracked directory and list files and folders. This is especially useful when adding git to an existing project.  I'm unsure if this is a bug, or just a matter of configuration.
Not showing files in an untracked directory makes it impossible to add a sub directory within an untracked folder where you only want to add the one folder or file. As a consequence it's hard to split a feature into multiple commits or adding files in separate commits.
The simple solution is to add it manually with git.
What actually happened?
Only root folder of untracked directories show.
Describe your attempts to resolve the issue
Manually adding with gitor adding the entiry folder and unstage the files I don't want.
Steps to reproduce
Create a git repo
cd /tmp
mkdir test-magit
git init
mkdir test-untracked
touch test-untracked/leave-untracked-file
mkdir test-untracked/test-dir
touch test-untracked/test-dir/file-to-stage-file

Open emacs:
Navigate to /tmp/test-magit
SPC gg
The output of the buffer should be:
In the beginning there was darkness

Untracked files (1)
test-untracked

Only the folder test-untracked  is shown, with no way of adding individual files for tracking. Only the entire test-untracked directory. Adding this will stage all files.
System Information
https://pastebin.com/AKDzEQmn

Only root folder of untracked directories show.

As far as I know, this has always been magit's behavior. Nothing in Spacemacs' magit config indicates this has been changed on their end, and there are no magit variables that control this.
Ah, correction, it seems magit recognizes the git repo-level setting: status.showUntrackedFiles (mentioned here). If set to all, it will do as you described.
In any case, it seems this issue already has a solution and/or is Magit's jurisdiction, so I will close this, but feel free to follow up here.

Appreciate the detective work


Support for ProvisioningRequest retries

What would you like to be added:
Why is this needed:
In order to account for errors with a ProvisioningRequest.
Completion requirements:
This enhancement requires the following artifacts:

[x] Design doc
[x] API change
[ ] Docs update

The artifacts should be linked in subsequent comments.

cc @mwielgus @alculquicondor

/assign @mimowo

With https://github.com/kubernetes-sigs/kueue/pull/1351 merged we have the mechanism in place. Still, the issue remains valid to make the mechanism configurable (MaxRetries and intervals between attempts).

/remove-lifecycle stale

/remove-lifecycle stale

/remove-lifecycle stale

/unassign @mimowo
/assign @PBundyra


Build a release bundle for macos

Description of changes:
Add a "release bundle" CI step for macos as well.
Turns out, things just work! I opened #1067 to remind me about an issue that I initially thought would affect us, but only seems applicable to macos-arm. So, not relevant yet.
Resolved issues:
Resolves #1036
Towards #1045
Call-outs:

Eventually we'll want to "refactor" how we do CI. IMO, we should run regressions on what we build with release bundle, then we'd just have these builds, and not the original ones... eventually.

Testing:

How is this change tested? New CI. I did test downloading the artifact and running it locally, however.

Is this a refactor change? no

Checklist

[x] Each commit message has a non-empty body, explaining why the change was made
[x] Methods or procedures are documented
[x] Regression or unit tests are included, or existing tests cover the modified code
[x] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

The reason why most people use debug build in regressions is because it has more checks like debug_assertions. It usually has more logs as well.

BTW, can you please add a comment why we do things differently on MacOS and Linux.


"Servers are on-boarded using GPs only."

"Servers are on-boarded using GPs only."
This statement is completely incorrect. Servers can be onboarded through SCCM (2207 now even supports onboarding with Unified Agent), local script, GP/Group Policy script, Defender for Cloud integration etc.
Please remove this statement.

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

ID: 4166ff18-3b2f-8df5-1c9a-5746add8180b
Version Independent ID: 4166ff18-3b2f-8df5-1c9a-5746add8180b
Content: Defender for Endpoint onboarding Windows Server
Content Source: microsoft-365/security/defender-endpoint/onboard-windows-server.md
Product: m365-security
Technology: mde
GitHub Login: @mjcaparas
Microsoft Alias: macapara

@msbemba Thank you very much for the contribution and updating the documentation with PR. @rfellmann  Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


[BUG]: udev rule for streamdeck XL is missing

In raising this issue I confirm that

[X] I have fully completed the issue template
[X] I have searched open and closed issues for duplicates
[X] I have read the Contribution Guidelines
[X] I have read the Code of Conduct
[X] I have read the Documentation

Describe the bug
When trying to use the press keys or write text functions I got the error:

Could not complete the write command: "/dev/uinput" cannot be opened for writing

Steps to reproduce the behavior

Configured a button to write the text "a"
Press the button
looked at the logs

Expected behavior
The text to be written to the active UI element on the screen. For example a terminal, browser text input etc.
Screenshots
No response
System Information

Gentoo
Sway 1.9, wlroots 0.17.3
Python3.11 & Python3.12

Stream Deck Version
lsusb | grep -i Elgato
Bus 001 Device 006: ID 0fd9:008f Elgato Systems GmbH Stream Deck XL

Adding the udev rule:
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fd9", ATTRS{idProduct}=="008f", TAG+="uaccess" and reloading udevadm control --reload-rules && udevadm trigger resolved the issue.
I'll send a pullrequest.


First attempt at a FAQ

Inspired by @yuvipanda , I put together a short FAQ for the user-facing Binder docs, and rearranged a bit of index since it already had some FAQ-ey content in it. Lemme know what y'all think! I imagine we'll need to iterate a bit on the wording / branding / etc but this is a first step :-)
Link to built docs:
http://predictablynoisy.com/binder/

There is a small conflict. I can resolve it online.
@choldgraf do you want to work on this or should we got with is as is ?

ok I think I addressed all comments etc, LMK!

ping! maybe @betatim wants to take a look (or press the big green button :-D )


Great tool, let's keep it alive and bump an update?

I love this tool, and use it on all my machines. Seeing, however, that it's not receiving much attention, perhaps it would be a good idea to give it a small heart-beat update, just to show the community that it's still alive.
@fohrloop
What do you think?

Hi @eabase , nice to hear you like venvlink!
I wrote this few years ago when I was still working on Windows. I had a need to keep the virtual environments out of automatic OneDrive sync, and the other alternatives only supported linux. Nowadays, I use practically only linux, and I have had no needs for venvlink. I would be happy to merge the functionality to an existing project, or perhaps be somehow involved in the future development of this package, but honestly I have currently quite small interest on the Windows side.
The implementation of venvlink is actually really simple, and it is merely a single wrapper around venv + some command line interface. The only value of venvlink is probably only in the package name(?) and documentation. Making venvlink support linux would be a nice update, but it would probably be easier to just write a venvlink-linux from ground up than to update the code to be multiplatform-supported as it would require some refactoring and tests.
So in summary, this tool works and can be used as is. As I have no use for this anymore personally, I probably have difficulties finding time on this from my other projects, unfortunately. Thanks for the suggestion, and If you or someone else wants to develop this further, I could move this repo and/or add rights for merging PRs and uploading new versions to PyPI.

Niko

@fohrloop
Thanks for getting back to us. For sure, it's sad if it can no longer maintained. Unfortunately, I'm in a similar situation as you, with a large number of my own repos I no longer have time to maintain. The only thing I can say is that since this is made in python, it should be fairly platform agnostic and should work equally well on a *nix OS.

There is now a very fast python package manager called uv:
https://github.com/astral-sh/uv
However, they still fail on the virtual environment handling! Given the non-maintained status of this, I will ask if they could incorporate this functionality into that package.

That looks like a cool project! It would be awesome if virtual environments by a link would be a thing in other tools as well!


Apollo 5.0  car does NOT start driving autonomously in GTX 1080

Apollo 5.0 car does not start driving autonomously after following official steps :
'https://github.com/lgsvl/apollo-5.0'
System information

UBUNTU 18.04):
cuda 10.2 , GPU : GTX 1080 , nvidia-driver v: 440.59
**Apollo version 5.0

Steps to reproduce the issue:

Kindly look at the Youtube video I made on the same :https://www.youtube.com/watch?v=pAW0ydJoLPA:

Expected behaviour :
This is a video of Apollo is expected to behave :
https://www.youtube.com/watch?v=19eo9ZffCKQ&feature=youtu.be

you need to give the car a little bit push manually by pressing UP button. then Apollo will take over and drive automatically.

Thank you @ntutangyun for your input. Closing the issue now.


we need more example to tell us how to use it

Thank you for your support. Recently, my tutor has given me some heavy tasks and time is relatively tight.ε(┬┬﹏┬┬)3. I will update more examples or documents after this busy period. And they will be given through .

Thank you for your support. Recently, my tutor has given me some heavy tasks and time is relatively tight.ε(┬┬﹏┬┬)3. I will update more examples or documents after this busy period. And they will be given through [https://zhuanlan.zhihu.com/mlnotes].


[Bug] [seatunnel-engine-server] long jobid will substring change string type

#5241

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

@liugddx please help  rebulid ci

@liugddx please help rebulid ci

Done.

@liugddx @ic4y PTAL


Motivation

According to the QIIME 2 forum a community plugin (and our plugin starts as a community plugin) "should include a description of why a reader would be interested in the plugin".
I added two strong arguments for SEPP.

@antgonza can volunteer for a quick review?

@sjanssen2 we've published multiple papers advising the use of rarefaction, and it is actively recommended in our tutorials, so it's a bit weird to make the motivation off of unrarefied data

I switched to the rarefied version of argument 1. You might need to refresh you cache to see the updated figure.


docs: add public api surface docs

Issue or need
Some API members exported contain a _  prefix in its name. It's because they're not intended to be used publicly. Add a docs page to document that.

Proposed changes
Document what's the considered public API surface. Inspire from Angular's one.

Quick reminders

🤝 I will follow Code of Conduct
✅ No existing pull request already does almost same changes
👁 Contributing docs are something I've taken a look at
📝 Commit messages convention has been followed
💬 TSDoc comments have been added or updated indicating API visibility if API surface has changed.
🧪 Tests have been added if needed. For instance, if adding new features or fixing a bug. Or removed if removing features.
⚙ API Report has been updated if API surface is altered.

#860  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @davidlj95 and the rest of your teammates on  Graphite


How to learn a new programming language

I'm often asked this question, so here's some guidelines all in one place:

Find the official language documentation. It will be up to date.
Be leery of the top search engine results. They are old and have gamed the system. This isn't true all of the time, but keep your eye open for it.
Consider asking one of the AI systems for a bespoke example in your new language. The example might not be 100% correct, but it will likely point you in the right direction
Pick a project you have done in the past and port it to your new programming language (NES Emulator, Game of Life Simulator, Mandelbrot browser)
Look to Coding puzzle websites like Project Euler and Advent of Code

duplicate of #213 ?

Yeah... thanks, I just noticed that @jmarrec it's terrible I keep duplicating myself...


build: objective-c dependencies limited to single header

A couple of issues here:
Swift requires a single header for importing obj-c dependencies. Typically this would be a bridging header that imported all other headers, but clang seems to be rewriting any header inclusions to clang module imports that aren't working correctly when the framework is imported.
I spent some time playing with clang compiler flags to try to prevent this, but without success.
At present this effectively means we need everything in a single header for obj-c.

Split out source files, but requirement for single header remains at present.


Fix typo in flutter.gradle

Fixes a typo in packages/flutter_tools/gradle/flutter.gradle.
The word "Camel" was wrongly spelled "Cammel"
Fixes #114142
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

test-exemption: code refactor with no semantic change


drop support for versions before 1.10

SciMLBase is 1.10 and up now, so there isn't much point to trying to keep support for earlier versions. The Project.toml should get updated to reflect this (perhaps as of the next release once Catalyst 14 compatibility is working)?

Would it be best to remove support from the Project.toml file or to just keep it? At the moment it seems to be working...

I’d just drop it since none of those packages are guaranteed or tested to work on earlier versions at this point.

It seems like SciMLBase is not an explicit dependency, and Catalyst 13 (via MTK) requires v2 anyway


ab_permission entry for can_datasources not created by FAB

FAB is supposed to create perms for each view but failed at creating one for can_datasources in our staging environment.
That results in an empty "Datasources" dropdown in explorev2, with a never stopping spinner.
Perms should get created by FAB when the app is created, so any superset command should trigger that.

Fixed by applying a temporary patch on staging. Related FAB PR I created:
https://github.com/dpgaspar/Flask-AppBuilder/pull/431


Improve Kubernetes Provider errors

Current error messages if service lacks access to the K8S API are bad.
We should help the user and point them to the k8s provider docs

https://github.com/asynkron/protoactor-dotnet/blob/dev/src/Proto.Cluster.Kubernetes/KubernetesProvider.cs#L114-L125
Make exception handler log the dictionary to make things easier to debug


Update comment so generated files can be automatically recognized

I signed it!

this looks good to me, any reason not to merge?

Why this is not merged?

@campoy can you please merge that PR ? Thanks !

@campoy :)


asyncio 3.4.3 breaks python 2.7

Installing asyncio 3.4.3 on python 2.7 break python:
  File "/usr/local/lib/python2.7/site-packages/asyncio/selectors.py", line 39
    "{!r}".format(fileobj)) from None
                               ^
SyntaxError: invalid syntax

If asyncio is not compatible with python 2.7, it should refuse to install. I am not sure which package managed to installed it.

Hi @ssbarnea,
AsyncIO works only on Python 3.3+.
You have Trollius for Python 2.7, but not supported anymore by @haypo.
If possible, I recommend to use directly Python 3.5+ directly, for async/await syntax.
Have a nice day.

Yes, I do know that asyncio doesn't work with Python < 3.3, but this bug is about the fact that people can install asyncio and this will break their Python installations!
This is a real bug which can be prevented with a simple python version check inside setup.py, avoiding such accidents.
What is even worse is that it will take some time for people to realise that their python 2.x is messed because of the asyncio, they will not find it right away.

Ok.
Are you interested in to do a pull request for that ?
To my understanding, a thing like that should be enough: https://github.com/KeepSafe/aiohttp/blob/master/setup.py#L59

Fixed by #387.

Well, I installed it today for my python 2.7 successfully. But when I tried to import asyncio I got:
'Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/asyncio/init.py", line 9, in
from . import selectors
File "/usr/local/lib/python2.7/dist-packages/asyncio/selectors.py", line 39
"{!r}".format(fileobj)) from None
^
SyntaxError: invalid syntax'

Same as jan. Just installed it asyncio today for Python 2.7 and got the same error.

Hi,
In fact, the pull request #387 has been merged but never pushed on PyPI.
@haypo @1st1 you have the rights to update the asyncio package, what we do ?
For me, we might force that the asyncio package on PyPI can be installed for Python 3.3: People might have side effects if they install asyncio module from PyPI, where the latest release is 2015-03-10 on a Python 3.6, with a more recent asyncio version.
If you have no time for that, you might give me an access on PyPI to update the package, as you like.


MemoryPoolHttpResponseStreamWriterFactory throws ArgumentNullException

Hi,
I have an exception which is thrown by AspNet code which I am not able to reproduce sistematically:
> System.ArgumentNullException: Value cannot be null.
Parameter name: stream
   at Microsoft.AspNetCore.Mvc.Internal.MemoryPoolHttpResponseStreamWriterFactory.CreateWriter(Stream stream, Encoding encoding)
   at Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter.<WriteResponseBodyAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeResultAsync>d__32.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeResultFilterAsync>d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeAllResultFiltersAsync>d__29.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeResourceFilterAsync>d__23.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeAsync>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

This seems to happen when the client is a browser (it happened using Angular2). With Postman or HttpClient I was not able to reproduce the issue.
The same angular2 app, running with Charles (https://www.charlesproxy.com/) active, is not affected by this problem.
This is the request sent without Charles:
> POST@/api/token
	**Connection:keep-alive**
	Content-Length:58
	Content-Type:application/json
	Accept:*/*
	Accept-Encoding:gzip, deflate
	Accept-Language:en-US,en;q=0.8,it;q=0.6
	Host:<IP_ADDRESS>:45678
	Referer:http://localhost:2020/login;next=true
	User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
	Origin:http://localhost:2020
	DNT:1

This is the request sent with Charles:
> POST@/api/token
        Content-Length:58
	Content-Type:application/json
	Accept:*/*
	Accept-Encoding:gzip, deflate
	Accept-Language:en-US,en;q=0.8,it;q=0.6
	Host:<IP_ADDRESS>:45678
	Referer:http://localhost:2020/login;next=null
	User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
	Origin:http://localhost:2020
	DNT:1

As you can see the only significant difference is that when it throws exception, the client sends also the Connection:keep-alive header. It might be also a problem related to CORS since we are doing cross domain requests and we never reproduced the error with non-browser clients
I am using the following packages and the application is running self-hosted on windows 10 (64bit)
> {
    "dependencies": {
        "Microsoft.AspnetCore.Diagnostics": "1.0.0",
        "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
        "Microsoft.AspNetCore.Mvc": "1.0.0",
        "Microsoft.AspnetCore.Server.Kestrel": "1.0.0",
        "Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0",
        "Microsoft.AspnetCore.StaticFiles": "1.0.0",
        "Microsoft.AspnetCore.Authentication.JwtBearer": "1.0.0",
        "Microsoft.Extensions.Configuration.Json": " 1.0.0",
        "Microsoft.Extensions.Logging": "1.0.0",
        "Microsoft.Extensions.Logging.Console": "1.0.0",
        "Microsoft.Extensions.Logging.Debug": "1.0.0",
        "Microsoft.Extensions.Caching.Abstractions": "1.0.0",
        "Microsoft.Extensions.Caching.Memory": "1.0.0",
        "System.IdentityModel.Tokens.Jwt": "5.0.0",
    },
    "frameworks": {
        "netcoreapp1.0": { }
    },
    "publishOptions": {
        "include": [
            "Properties"
        ]
    },
    "buildOptions": {
        "preserveCompilationContext": true
    }
}

Do you have ideas about the cause of the issue?
Thanks in advance

Thanks for the thorough report.
Do you have any code that messes with HttpContext.Response.Body? That stream that's null in this case is the Response.Body stream. https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonOutputFormatter.cs#L133
@cesarbs @halter73 @Tratcher seen anything as spooky as this before? The connection-keepalive part might be interesting.

Could be the Kestrel response body reset bug fixed in 1.0.1. https://github.com/aspnet/KestrelHttpServer/issues/1028

Thank you @Tratcher the issue seems to be solved.
@rynowak no, the exception was thrown before hitting my code.
I will keep you updated if the problem occurs again. Thank you


Is it possible to expose the live mjpeg video feed on a GPIO pin?

I'm building a custom FPV system and this seems to be a relatively easy solution to get a digital video feed from an analog camera.

Hello,
No, I don't think so. You would need a USB host. Most simple SoCs could do
this task though.
Can you not use one of the many low-end SoCs with video decoder and mjpeg
block? There are several in QFN or TQFP packages. If you can solder a BGA
there is even more choice.
Sincerely,
Bertold
Op ma 27 feb. 2023 17:10 schreef SziluChannel @.***>:

I'm building a custom FPV system and this seems to be a relatively easy
solution to get a digital video feed from an analog camera.
—
Reply to this email directly, view it on GitHub
https://github.com/BertoldVdb/ms-tools/issues/8, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQILGO7AUSOEDKGF3Z3BM3WZTGX3ANCNFSM6AAAAAAVJTFWNA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


test: fixing unit tests

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

v2.1.2
GitHub release

Your semantic-release bot :package::rocket:


Use serverless with custom webpack builder

I'm submitting a...
[X] Bug report
[ ] Feature request
[ ] Documentation issue or request

In package
[ ] @ng-toolkit/init
[X] @ng-toolkit/serverless
[ ] @ng-toolkit/universal
[ ] @ng-toolkit/pwa
[ ] @ng-toolkit/firebug

Current behavior
Running ng add @ng-toolkit/serverless  —-provider aws on an angular app where you are using @angular-builders/custom-webpack:browser for the architect > build > builder  configuration produces an error as follows:
Browser build not found (lack of entry with build-angular:browser builder) in angular.json

Updating angular.json to use the default builder @angular-devkit/build-angular:browser and then running ng add @ng-toolkit/serverless  —-provider aws solves the immediate problem.
I have not yet determined if this has unforeseen consequences given that I then revert the builder back to @angular-builders/custom-webpack:browser after the script as completed.
Configuration that does produce error
{
  "projects": {
    "xxx": {
      "architect": {
        "build": {
          "builder": "@angular-builders/custom-webpack:browser",

Configuration that does not produce error
{
  "projects": {
    "xxx": {
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",

Expected behavior
Should successfully configure the serverless functionality regardless of what builder is used
Minimal reproduction of the problem with instructions

Create default angular-cli installation
Replace @angular-devkit/build-angular:browser with @angular-builders/custom-webpack:browser (the custom configuration is irrelevant for reproduction purposes)
Run ng add @ng-toolkit/serverless  —-provider aws

What is the motivation / use case for changing the behavior?
Fix to allow ng-toolkit/serverless to update an angular project which is not using @angular-devkit/build-angular:browser as the builder
Environment

Angular version: 8.2.14

- Node version: 10.15.3
- Platform: Windows

Upcoming version should support Angular 10 and not need any changes to the browser builder at angular.json file.


Missing Rmpfr?

Hi and thank you for this project! Just a note:
I got..
Error in mpfr(-(x[3]^2)/2, precBits = 128) :
could not find function "mpfr"
when running..
output <- BigSur(example.seurat.subset, variable.features = F, correlations=T, depthlist = depths)
It disappeared after installing Rmpfr and executing library(Rmpfr).
I had installed all dependencies but still got the error on my windows machine.
Hope this is helpful.
Best wishes,
Daniel
[1] "Pipeline started execution."
[1] "Modified corrected Pearson residuals calculated."
[1] "Modified corrected Fano factors calculated."
[1] "Beginning correlation calculation."
[1] "Modified-corrected Pearson Correlation Coefficients calculated."
[1] "Inverse sqrt moments calculated."
[1] "PCC cumulants calculated."
[1] "PCC Cornish Fisher coefficients calculated."
[1] "Beginning root finding process for Cornish Fisher."
[1] "First pruning complete. Removed 0 insignificant correlations."
[1] "Second pruning complete. 91 correlations remain."
[1] "Beginning root finding."
[1] "Root finding complete."
[1] "Estimating p-values."
Error in mpfr(-(x[3]^2)/2, precBits = 128) :
could not find function "mpfr"
[1] "Error in mpfr(-(x[3]^2)/2, precBits = 128) : \n  could not find function "mpfr"\n"
[1] "Traceback:"
[1] "6: ifelse(abs(x[3]) >= 38.4, as.double(-log10((0.5 * exp(mpfr(-(x[3]^2)/2, "
[2] "       precBits = 128))))), -log10(-x[4]/log(10)))"
[3] "5: ifelse(abs(x[3]) < 8.2, -log10(1 - exp(x[4])), ifelse(abs(x[3]) >= "
[4] "       38.4, as.double(-log10((0.5 * exp(mpfr(-(x[3]^2)/2, precBits = 128))))), "
[5] "       -log10(-x[4]/log(10))))"
[6] "4: FUN(newX[, i], ...)"
[7] "3: apply(p.matrix, 1, function(x) {"
[8] "       ifelse(abs(x[3]) < 8.2, -log10(1 - exp(x[4])), ifelse(abs(x[3]) >= "
[9] "           38.4, as.double(-log10((0.5 * exp(mpfr(-(x[3]^2)/2, precBits = 128))))), "
[10] "           -log10(-x[4]/log(10))))"
[11] "   })"
[12] "2: CF.PCC.pval(cor.roots)"
[13] "1: BigSur(example.seurat.subset, variable.features = F, correlations = T, "
[14] "       depthlist = depths)"

Thanks for letting us know! It looks like I forgot to include rmpfr as an import. This should be fixed. I will close the issue when I test that it works on Windows.


Client Allocation Request for: 119REO

Client Allocation Questions
Core Information

Name: 119REO
Website / Social Media: https://www.119reo.com/
Region: Asia (excl. Greater China)
DataCap Requested: 10TiB
Addresses to be Notarized: f1v6cvujoi6i7ooxgjzo5qbzj6sk2bfqihwadt7yq
Notary Requested: IreneYoung

@xieyuanyuanhahaha Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hi @xieyuanyuanhahaha  , thanks for your application. Please answer the following questions to let us know about you, your company, and further information about the DataCap allocation.
Basic Info
What's your name and your position in your company?
Please introduce yourself and your team briefly. How many team members do you have in your R&D or core team? Could you provide several Github accounts or email addresses of them?
For your organization, Please describe its business, its history since inception, registration country, scale, employee counts, operation regions, named executive officers, relevant projects, industry reputation, etc.
Please show us some of your web pages, Github, social media accounts such as Twitter, Facebook, Naver blog, WeChat official account, etc. Please include as many relevant details to provide contextual information (with external links) to show your Web3 reputation or external reputation.
Please provide your company's business registration license. If you have any presentation documents about your business, please provide them to us. And also could send me via email for privacy concerns. My contact<EMAIL_ADDRESS>How long have the team core members been engaged in development?
What types of data do you plan to store with the DataCap and how many do you need? Could you please send us some of your sample data?
Regarding the data you intend to store, What’s the original source of those data, and do you have any proof of the ownership or authorization?
Where is your data stored now? Whether the data is stored on a server or a cloud service provider?
Track Record
Has your organization obtained DataCap before? if so, please answer the following sub-questions.
1.1 Please share all the links and recordings of your applications before.
1.2 How about your DataCap usage? Is there any remaining? Is there any information on the deals you've done and the miners you've allocated your DataCap to?
1.3 What was your allocation strategy plan then and how did you execute it?
Are there any disputes open against you from your previous DataCap allocations? If any, please describe any of your honors or disputes in the field of Filecoin.
Allocation Plan
Please describe your plan to use the DataCap as detailed as possible, including use case, amount, timespan, geography, storage providers, partners, etc.
How many regions do you plan to store the data in?
How many storage providers you intend to make dealing with?
Do you plan to record your allocation decisions and execution details in public? And how to realize it?
Do you agree to use the DataCap to only store data that abide by local regulations and is in compliance with the recipient miner’s terms of service?
We may further ask some questions and then give an accurate score to the application. Thank you for your cooperation!

@IreneYoung Hi! Thanks for the reply. Please refer to below and let me know if you need more information.
Basic Info
What's your name and your position in your company?
Yasmine Xie. Manager.
Please introduce yourself and your team briefly. How many team members do you have in your R&D or core team? Could you provide several Github accounts or email addresses of them?
Our team has been upcycling life-saving fire safety equipment into products that save each other.
There are 10 members in our team. We produce and sell bags by upcycling used fire protection clothing, and use the proceeds to solve the problem of firefighters, creating a culture where firefighters are remembered.
For your organization, Please describe its business, its history since inception, registration country, scale, named executive officers, relevant projects, industry reputation, etc.
Established in 2016 in Republic of Korea, 119REO is a social enterprise that sells products made by recycling expired fire suits and donates a portion of the proceeds to cancer-fighting firefighters. By linking the upcycling process with local self-help centers, we turn local waste into local resources. These resources are then made into new products in specialized factories. 50% of the sales proceeds are donated to firefighting organizations to help ensure the rights of firefighters. So far, we have donated a total of 80 million won to 13 cancer-fighting firefighters.
Please show us some of your web pages, Github, social media accounts such as Twitter, Facebook, Naver blog, WeChat official account, etc. Please include as many relevant details to provide contextual information (with external links) to show your Web3 reputation or external reputation.
YouTube: https://www.youtube.com/c/119REO
Instagram: https://www.instagram.com/119reo/
Facebook: https://www.facebook.com/119reo/
Naver: https://search.naver.com/search.naver?where=nexearch&sm=top_hty&fbm=0&ie=utf8&query=119reo
Please provide your company's business registration license. If you have any presentation documents about your business, please provide them to us. And also could send me via email for privacy concerns. My contact<EMAIL_ADDRESS>Will send business registration license by email.
How long have the team core members been engaged in development?
5 years.
What types of data do you plan to store with the DataCap and how many do you need? Could you please send us some of your sample data?
Mainly product pictures, promotional videos, customer’s data and media data. 10 TiB will be needed.
Sample data will be sent by email.
Regarding the data you intend to store, What’s the original source of those data, and do you have any proof of the ownership or authorization?
From our company’s public data.
Where is your data stored now? Whether the data is stored on a server or a cloud service provider?
Company’s server.
Track Record
Has your organization obtained DataCap before? if so, please answer the following sub-questions.
2.1 Please share all the links and recordings of your applications before.
2.2 How about your DataCap usage? Is there any remaining? Is there any information on the deals you've done and the miners you've allocated your DataCap to?
2.3 What was your allocation strategy plan then and how did you execute it?
No. It’s our first time working with Filecoin.
Are there any disputes open against you from your previous DataCap allocations? Please describe any of your honors or disputes in the field of Filecoin.
No.
Allocation Plan
Please describe your plan to use the DataCap as detailed as possible, including use case, amount, timespan, geography, storage providers, partners, etc.
Geographies: Asia.
3 miners with good reputation.
We currently store an amount of 10TB.
How many regions do you plan to store the data in?
Asia.
How many storage providers you intend to make dealing with?
3-4 SPs.
Do you plan to record your allocation decisions and execution details in public? And how to realize it?
Yes. We will make our distribution records public in GitHub.
Do you agree to use the DataCap to only store data that abide by local regulations and is in compliance with the recipient miner’s terms of service?
Yes.
We may further ask some questions and then give an accurate score to the application. Thank you for your cooperation!

@xieyuanyuanhahaha I have not received your company's business registration license. And how many employees in your company?

Hi @xieyuanyuanhahaha, if you still need datacap, plz answer the additional question above.

No response. @xieyuanyuanhahaha please open a new application.


Is there a way to use Image extension only with Url insertion and not uploading method?

Is your feature request related to a problem? Please describe.
I'm trying to use the Image extension, but I really don't need the user to upload any images in my app.
Describe the solution you'd like
When I call the Image extension, I want a set of options to use what i want to use
extensions: [   newImage({useUploadRequest: false, useUrlUpload: true})

Is there a way ?

I had to figure out how to not display this menu item, and my solution is pretty dirty, but I had no choice since this feature seems to be inexistant, unfortunately.
I have an ./assets/css/index.scss. At the end of the file :
.el-tiptap-popper__menu__item:nth-child(2) {   display: none !important; }
As I said -> Dirty, but it works.


All - Profile - Timezone selection is lost after saving the settings in the Profile menu

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:

Open a New Expensify app
Log in with @applause.expensifail.com account
Navigate to settings/profile/timezone
Turn off automatic location determination
Navigate to the Timezone list
Select different zones 3 times in turn and memorize the last one
Return to the Profile tab

Expected Result:
The timezone selection is applied and does not change after saving the settings and returning to the Profile tab
Actual Result:
Timezone selection is lost after saving the settings and returning to the Profile tab
Workaround:
Unknown
Platforms:

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

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

Version Number: 1.3.71-7
Reproducible in staging?: Y
Reproducible in production?: N
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://github.com/Expensify/App/assets/115492554/3fcb656f-ea07-4aa4-9741-e9a6eb280872
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
View all open jobs on GitHub

Not repro in Prod
https://github.com/Expensify/App/assets/115492554/f38bdd67-e32c-4df5-bda0-12fe43741463

I don't think this is a blocker - I can't seem to reproduce, maybe it was just updating the timezone multiple times and the response updating the value?

I'm going to un-assign since @abekkala needs to test reproduction and we'll likely close this. If C+ approves a proposal later you can re-assign me.

I was not able to reproduce


Suggestion: Google Maps panel too small

The PersonList panel takes up a bit too much space and results in the map being quite small and hard to read on my laptop. Perhaps you can reduce the size of the PersonList panel as it does not need to be so big

Hi there, you might want to refer to #74 for a possible solution.
However, if you still find that it is too small even after reaching the maximum resize limits, we do apologise for that.
For now, the simplest solution would be to use a higher DPI screen 😞


Support for the iOS?

Hi,
Can we use this package for the ios platform as well?
Thanks for the help in advance.

Yes you can. The "iOS" label is missing, but it can be used for iOS

Hi @TharaniP , yes you can, there's a new version out now with more flexibility for the labels. Let me know if it works for you.
Tks @Sylvain17 for answering.


Add missing scss/maps imports

Maybe I'm wrong in my imports, but after the merge of https://github.com/twbs/bootstrap/commit/9f099d3e4f6fe5b0c5454d2462cc22d06b6f4a1b, some bootstrap/scss/maps imports seem to be missing and to create errors:
Error: Undefined variable.
    ╷
358 │       values: $negative-spacers
    │               ^^^^^^^^^^^^^^^^^
    ╵
  bootstrap/scss/_utilities.scss 358:15  @import
  scss/custom.scss 36:9                  root stylesheet

or
Error: Undefined variable.
   ╷
20 │   @each $color, $value in $theme-colors-rgb {
   │                           ^^^^^^^^^^^^^^^^^
   ╵
  bootstrap/scss/_root.scss 20:27  @import
  scss/custom.scss 35:9            root stylesheet

I'm pretty sure it's tackled in another PR already but cannot retrieve it for now. 🤔

It's probably a mistake. I can't find another PR so let's land this and we can revisit later.


feat: add stream support

Summary
Uses the stream flag API from experiment-core to produce SDK that receives flag configs updates from server. It should replace constant polling. Currently it is disabled by default and falls back to polling if any fatal error encountered, server 501 or retry reached maximum. It retries every 15 seconds.
Checklist

[x] Does your PR title have the correct title format?
Does your PR have a breaking change?:  no

Just make the config changes and you're good to go


Problem with petsc4py?

Was helping my friend installing fenics using conda packages. When we came across petsc4py build, the following error comes up:
fatal error: numpy/arrayobject.h: No such file or directory
 #include "numpy/arrayobject.h"

Apparently for some reasons, conda does not have numpy header files in include/python2.7/ but it is allocated in lib/python2.7/site-packages/numpy/core/include/numpy instead...
Could well be a bug, but now as I was trying to install dolfin using these recipes on a new environment, this happens as well...

Hi
Which platform is this? I have not seen this on my Ubuntu 15.04. I am starting a fresh anaconda, installing gcc and cmake and then dolfin dependencies with no problems. Have you tried to remove the 1.9 dependence of numpy from meta.yaml? The newest numpy in anaconda is 1.10...
M

My fresh numpy on conda is 1.10, so... still manage to flick through dolfin install without petsc4py anyway...
Platform wise, Ubuntu 14.04 LT3

Ok, but are you removing "==1.9" from "numpy ==1.9" from meta.yaml when installing petsc4py?

I changed it to ">=1.9".

Seems like the instruction to install with conda on the webpage fenicsproject.org would need to be updated as well.. I don't recall seeing boost here but that's a separate matter...

Conda is a living breathing environment bound to fail from time to time. What's the issue with boost?

Just to point out that here the instruction still say boost :) http://fenicsproject.org/download/installation_using_conda.html#installation-using-conda while it should not anymore

Ah, sure, boost from anaconda is ok now, no need to build it. But these things are changing rapidly. It was only a few months ago that anaconda swig was version 2 and too small to build dolfin...

Thanks a lot for taking care of this issue @mikaem, I didn't even have time to answer :)


Notification Banner Size Changing Feature

Hey,
I'm using the notification banner on a large, high resolution device so although the font size is large enough to read, the size of the notification banner comes up as too small and the text that's being displayed gets cut off. Can you add a method of maybe changing/increasing the size of the banner or making it large enough relative to the user's screen resolution?
Thank you.

I'm using the notification banner on a large, high resolution device so although the font size is large enough to read, the size of the notification banner comes up as too small and the text that's being displayed gets cut off. Can you add a method of maybe changing/increasing the size of the banner or making it large enough relative to the user's screen resolution?

Hi, this has already been implemented, please see Issue https://github.com/Platonenkov/Notification.Wpf/issues/14
In a future I will add it to documentation
NotificationConstants.MinWidth = 350;
NotificationConstants.MaxWidth = 700;

Alright, seen it. Thanks


Basic-Backend

@BoyceWhite With the end of class coming rapidly, do you think this can be PR can get completed in time?


Specific implementation question on multiple coap responses

@Tanganelli Sorry for the question but perhaps you can have a quick look on an usage of your library. I'm having a problem regarding a philips air purifier, which uses a propriatary connection, realized with coap.
Issue:

https://github.com/rgerganov/py-air-control/issues/35 (the issue is rather long and won't be interesting for you, just for linking these together)

In short:

send a request to device
device responds with a coap-message (which is AES encrypted json)
decrypt the AES

The problem:

some devices seem to have payload bigger than 1138 bytes (which seems to be the limit), it is cut of and can't be decoded therefore
My guess is that I should get 2 coap-responses on one request
I've little knowledge about coap, I've reused this part of code, which seems only to work were the payload fits into one coap-package
And I own a device where the payload fits into one coap package (so not really easy to test/fix)
Relevant code is here: https://github.com/Cyber1000/py-air-control/blob/0e530158d283da5bb0c306137ea1681a4ce10b7b/pyairctrl/airctrl.py#L792

mk_request followed by send_request
the client is a HelperClient: from coapthon.client.helperclient import HelperClient

Is there something I'm missing to get multiple responses on one request or to get a bigger response? Or do you think, that there must be something devicespecific which doesn't sound like coap ...
Thanks for your time!

Hi,
I looked at the reported snippet, and I discovered that you are actually
trying to instigate an observing relationship: request.observe = 0. Is it
intentional?
In either case, to exploit bigger payloads CoAP uses the blockwise
"plugin". You can explicitly exploit it by setting request.block. Take a
look at the example files.
BR
Giacomo
Il giorno mar 19 mag 2020 alle ore 00:16 Cyber1000<EMAIL_ADDRESS>ha scritto:

@Tanganelli https://github.com/Tanganelli Sorry for the question but
perhaps you can have a quick look on an usage of your library. I'm having a
problem regarding a philips air purifier, which uses a propriatary
connection, realized with coap.
Issue:

rgerganov/py-air-control#35
https://github.com/rgerganov/py-air-control/issues/35 (the issue is
rather long and won't be interesting for you, just for linking these
together)

In short:

send a request to device
device responds with a coap-message (which is AES encrypted json)
decrypt the AES

The problem:

some devices seem to have payload bigger than 1138 bytes (which
seems to be the limit), it is cut of and can't be decoded therefore
My guess is that I should get 2 coap-responses on one request
I've little knowledge about coap, I've reused this part of code,
which seems only to work were the payload fits into one coap-package
And I own a device where the payload fits into one coap package (so
not really easy to test/fix)
Relevant code is here:
https://github.com/Cyber1000/py-air-control/blob/0e530158d283da5bb0c306137ea1681a4ce10b7b/pyairctrl/airctrl.py#L792

mk_request followed by send_request
the client is a HelperClient: from coapthon.client.helperclient
import HelperClient

Is there something I'm missing to get multiple responses on one request or
to get a bigger response? Or do you think, that there must be something
devicespecific which doesn't sound like coap ...
Thanks for your time!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Tanganelli/CoAPthon3/issues/28, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTPN6VQJ5SCYXNDFRRPOU3RSGXTRANCNFSM4NEO4B4Q
.

trying to instigate an observing relationship: request.observe = 0. Is it
intentional?
I took this from the former implementation there, the intention was more like "never change a running system" - good point, no I didn't want an observable here (at least not for now)

Could you lead me to an example file, I've searched this:

https://github.com/Tanganelli/CoAPthon/blob/master/README.md
https://github.com/Tanganelli/CoAPthon3/blob/master/README.md
files called example*
https://coapthon.readthedocs.io/en/latest/

But didn't find anything like request.block or blockwise in there.
Thanks!

Hi,
take a look at plugtest.py, and in particular to the function def
test_td_coap_block_01_client(self).
I know it is not an example but it shows how to include block2 option to
specify the size of fragments (in the example 1024). Obviously it is
possible to include such information even in the mk_request by means of
dictionary arguments. In either case, however, the library should provide
to the client a single response with the concatenation of payloads, I say
should because I think there could be a bug when blockwise is combined with
observing.
BR
Giacomo
Il giorno mar 19 mag 2020 alle ore 20:39 Cyber1000<EMAIL_ADDRESS>ha scritto:

trying to instigate an observing relationship: request.observe = 0. Is it
intentional?
I took this from the former implementation there, the intention was more
like "never change a running system" - good point, no I didn't want an
observable here (at least not for now)
Could you lead me to an example file, I've searched this:

https://github.com/Tanganelli/CoAPthon/blob/master/README.md
https://github.com/Tanganelli/CoAPthon3/blob/master/README.md
files called example*
https://coapthon.readthedocs.io/en/latest/

But didn't find anything like request.block or blockwise in there.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Tanganelli/CoAPthon3/issues/28#issuecomment-631006319,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTPN6V4TV4MTLDG3PM5F73RSLG5TANCNFSM4NEO4B4Q
.

Ah thanks I see, I'll try it this weekend.
Best regards!

#29 seemed to solve the problem


Large CPU hit after 1200p resize

Describe the bug
Resizing the player window beyond ~1200h results in a massive CPU utilization spike with Anime4K enabled.
To Reproduce
Steps to reproduce the behavior:

Load up 480p video
Enable Anime4K
Resize player beyond ~1200h

Expected behavior
Non-massive performance hit
Screenshots
Below Breakpoint:

Above Breakpoint:

Desktop:

OS: Windows 10 Enterprise 21H1, 19043
Version: 4.0.1 Stable
GPU: RTX 2070 Super
Media Player and Version: mpv 0.33.0-107-gdd86f195a6
Browser: Edge 94.0.992.31

Additional context
From what I can tell this appears to be a copyback issue, as switching from nvdec-copy to nvdec significantly alleviated the problem. Not enough to fix it, still too much frame dropping.
This issue is present on all renderers, with the same similar results where the non-copy version performs much better.
I am not entirely sure where the breakpoint is, I could not get mpv to tell me the current window size. Best I can surmise is somewhere upwards of 1180ish.
This looks like it may be related to https://github.com/mpv-player/mpv/issues/8613 and https://github.com/bloc97/Anime4K/issues/119
Current mpv.conf is as follows:
input-default-bindings = no
input-ar-delay = 500
input-ar-rate = 20
keep-open = yes
keep-open-pause = no
osd-duration = 2000
script-opts = osc-scalewindowed=1.5,osc-hidetimeout=2000,console-scale=1
screenshot-directory = '~~desktop/'
hwdec = nvdec-copy
# Editor
scale = spline36
screenshot-format = png
save-position-on-quit = yes
cscale = spline36
dscale = spline36
osd-playing-msg = '${display-width}'

[protocol.https]
osd-playing-msg = '${media-title}'

The mpv version might be too old. The latest Anime4K shaders will not work for versions previous to this update: https://github.com/mpv-player/mpv/commit/474ee003eddd278d871e7c1c760091b739880e8f
Try the latest nightly windows builds, they should not have this issue anymore.

Yep, that fixed it.
Thanks for the quick response.


Use constexpr to check memo validity

High Level Overview of Change

Context of Change

Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (non-breaking change that only restructures code)
[ ] Tests (You added tests for code that already exists, or your new feature included in this PR)
[ ] Documentation Updates
[ ] Release

Thanks I have used your fix into my code

You could add tests to this pull request or
I could submit a pull request that adds tests for Memo.

I've written such tests, and your code passes them. You can see those tests here: https://github.com/scottschurr/rippled/commits/memo-test
You're welcome to add those tests (or similar) to this pull request. Or we can leave this pull request as it is and I'll submit a separate pull request that adds the tests to the code base. Either way the code base eventually has the same outcome.

For posterity: these tests were added by https://github.com/XRPLF/rippled/pull/4287


Error wallet

I think the problem is that I cannot solve : grpc.oasis.dev
Failed to load resource: net::ERR_ADDRESS_UNREACHABLE
Error: Http response at 400 or 500 level
The above error occurred in task selectNetwork
created by takeEvery(network/selectNetwork, selectNetwork)
created by networkSaga
Tasks cancelled due to error:
takeEvery(network/selectNetwork, selectNetwork)
Error: Http response at 400 or 500 level
at new E (https://wallet.oasisprotocol.org/static/js/2.4b9d1ee8.chunk.js:94905:13)
at Y (https://wallet.oasisprotocol.org/static/js/2.4b9d1ee8.chunk.js:96430:33)
at oc. (https://wallet.oasisprotocol.org/static/js/2.4b9d1ee8.chunk.js:96404:25)
at Ib (https://wallet.oasisprotocol.org/static/js/2.4b9d1ee8.chunk.js:95551:22)
at O (https://wallet.oasisprotocol.org/static/js/2.4b9d1ee8.chunk.js:95537:3)
at wc (https://wallet.oasisprotocol.org/static/js/2.4b9d1ee8.chunk.js:96058:21)
at yc (https://wallet.oasisprotocol.org/static/js/2.4b9d1ee8.chunk.js:96125:9)
at oc.push.n.W (https://wallet.oasisprotocol.org/static/js/2.4b9d1ee8.chunk.js:96070:3)
at oc.push.n.R (https://wallet.oasisprotocol.org/static/js/2.4b9d1ee8.chunk.js:96066:59)

yet I manage to solve with nslookup

in fact it was my fault.
I forgot, a long time ago I had created a local redirection of all .dev domains on my mac
I deleted it in /etc/resolver/dev now the oasis.dev link responds correctly...
Everything is solved :)


[BUG]

Describe the bug
For some reason it's not working properly for me, all I get is this:

To Reproduce
Steps to reproduce the behavior:

Configure everything as it is supposed to be:

After running it, Observing the console it seems it's getting responses from the server but it doesn't work as shown on the first provided screenshot.

No error messages. just doesn't work as it should.

OS: Windows 10

@ggvix Your query port is 2512, not 2502.

https://www.battlemetrics.com/servers/dayz/2992261

Bow I see what I was doing wrong. That's cool. That's the o ly info I can get from the server? Can't I get for example in-game time?

I have the ability to get time information with a different API; however, this would make the bot specific for DayZ which would limit the scope of who wishes to use it. Steam doesn't hold onto much more than generic server information.
This was suggested in my discord, and I may have to make a DayZ specific bot in the future; however, I would have to ask permission from the other API.

Cool. Let me know if you are going ahead with this dayz bot project. I really appreciate it.


reserved identifier violation

I would like to point out that identifiers like "__videocore__FilterFactory__" and "__videocore_util_h" do not fit to the expected naming convention of the C++ language standard.
Would you like to adjust your selection for unique names?

@elfring thank you for pointing this out.  I will adjust the naming for the header files.
Two things though:

Please don't be so condescending when leaving these messages in peoples' repos.  Perhaps change your question to "Could you change the unique names?"

The identifiers such as videocore__FilterFactor are actually generated by Xcode when creating a C++ implementation/header file pair.  File a bug report with Apple.

Is it better to keep this issue open until the affected implementation details will be fixed?

No
On Wednesday, April 29, 2015, Markus Elfring<EMAIL_ADDRESS>wrote:

Is it better to keep this issue open until the affected implementation
details will be fixed?
--
Reply to this email directly or view it on GitHub
https://github.com/jgh-/VideoCore/issues/138#issuecomment-97548894.


Chris take

started to work on documentation and clean up.
This is mainly work on the docu of dfm.
We still need better descriptions for the following arguments:
#' @param trans_prior prior matrix for B in the transition equation. Default is
#'   zeros.
#' @param trans_shrink prior tightness on B matrix in trasition equation
#' @param trans_df prior deg. of freedom for transition equation
#' @param obs_prior prior matrix for H (loadings) in the observation equation
#'  Default is zeros.
#' @param obs_shrink prior tightness on H (loadings) in the observation equation
#' @param obs_df prior deg. of freedom for observables, entered as vector with
#'   length equal to the number of observables.

The description should tell the user why this should be changed.
I will work on the vignette next. Probably I can fix these afterwards.

Codecov Report

Merging #66 into master will not change coverage.
The diff coverage is 44.82%.

@@          Coverage Diff           @@
##           master     #66   +/-   ##
======================================
  Coverage    62.8%   62.8%
======================================
  Files          11      11
  Lines        1535    1535
======================================
  Hits          964     964
  Misses        571     571

Impacted Files
Coverage Δ

R/dfm_core.R
66.19% <31.25%> (ø)
:arrow_up:

R/dfm.R
53.33% <50%> (ø)
:arrow_up:

R/bdfm.R
49.44% <71.42%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


ENH: central dogma and GeneticCode rewrite

Fixes #337. I'll post benchmarks against the old implementation soon.
@ebolyen @anderspitman @gregcaporaso can a couple of you review this please?

I should be able to do at least a 20 minute pass tonight, more in depth in
the morning
On Jul 2, 2015 10:01 PM, "Jai Ram Rideout"<EMAIL_ADDRESS>wrote:

Fixes #337 https://github.com/biocore/scikit-bio/issues/337. I'll post
benchmarks against the old implementation soon.
@ebolyen https://github.com/ebolyen @anderspitman
https://github.com/anderspitman @gregcaporaso
https://github.com/gregcaporaso can a couple of you review this please?
You can view, comment on, or merge this pull request online at:
https://github.com/biocore/scikit-bio/pull/979
Commit Summary

ENH: first attempt at translation
ENH: initial rewrite of GeneticCode
Merge branch 'master' into issue-337
ENH: add GeneticCode.translate_six_frames
ENH: add Protein.stop_chars/stops/has_stops
ENH: add GC-content to nucleotide repr stats, and "has stops" to
Protein repr stats
TST: add tests for RNA translation methods
TST: add tests for DNA/RNA.translate/translate_six_frames
TST: add tests for DNA.transcribe
DOC: light commenting of genetic code code
TST: fix broken doctests and lint errors
DOC: add docs for new DNA methods
DOC: add docs for new RNA methods
DOC: add docs for GeneticCode.translate/translate_six_frames
DOC: finish documenting GeneticCode
DOC: document new Protein methods
DOC: fix minor doc issues

File Changes

M skbio/init.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-0 (6)
M skbio/alignment/_alignment.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-1 (3)
M skbio/io/fasta.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-2 (2)
M skbio/io/fastq.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-3 (1)
M skbio/sequence/init.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-4 (133)
A skbio/sequence/_base.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-5 (43)
M skbio/sequence/_dna.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-6 (260)
D skbio/sequence/_exception.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-7 (24)
M skbio/sequence/_genetic_code.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-8 (1108)
M skbio/sequence/_iupac_sequence.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-9 (3)
M skbio/sequence/_nucleotide_mixin.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-10 (5)
M skbio/sequence/_protein.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-11 (95)
M skbio/sequence/_rna.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-12 (210)
M skbio/sequence/_sequence.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-13 (38)
A skbio/sequence/tests/test_base.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-14 (48)
A skbio/sequence/tests/test_dna.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-15 (47)
M skbio/sequence/tests/test_genetic_code.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-16 (818)
M skbio/sequence/tests/test_nucleotide_sequences.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-17 (138)
M skbio/sequence/tests/test_protein.py
https://github.com/biocore/scikit-bio/pull/979/files#diff-18 (80)

Patch Links:

https://github.com/biocore/scikit-bio/pull/979.patch
https://github.com/biocore/scikit-bio/pull/979.diff

—
Reply to this email directly or view it on GitHub
https://github.com/biocore/scikit-bio/pull/979.

Made it about a 3rd of the way through tonight. Looks good so far. Will finish in the morning.

@jairideout, nice work on this! I focused my review on the API and docs, and it's looking good. Just a few minor comments throughout.

My phone (only access to the net) is about to die. I don't think I can
finish my review for about an hour when I can get a charger. Let me know if
that's too late!
On Jul 3, 2015 6:50 AM, "Greg Caporaso"<EMAIL_ADDRESS>wrote:

@jairideout https://github.com/jairideout, nice work on this! I focused
my review on the API and docs, and it's looking good. Just a few minor
comments throughout.
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/scikit-bio/pull/979#issuecomment-118356918.

@jairideout just finished a quick pass. Didn't see anything too concerning. Impressive amount of work! I especially liked the detailed docs.

Thanks for reviewing @gregcaporaso @anderspitman @ebolyen! I addressed your comments.

Quick benchmarks show the new implementation translating 90-130x faster than the previous scikit-bio release (0.2.3), and 3-5x faster than the latest Biopython release.
Transcription in the new implementation is about the same speed as Biopython. Previous version of scikit-bio didn't have this feature so nothing to compare to.

:shipit: :rocket: :horse_racing:

@jairideout I really have nothing interesting to add, this code looks great!

Thanks @jairideout!

Awesome, thanks all for reviewing!


support  istio 1.6.7

Error: image webassemblyhub.io/pantianying/add-header:v0.1 not supported by istio version 1.6.7
When can istio 1.6.7 be supported

Support for Istio 1.6.x is available in wasme 0.0.24 and higher.
Closing this as a duplicate of https://github.com/solo-io/wasme/issues/126 .


Support 3.13

This should bump us up to 3.13. It's probably best to review each commit separately.
Supercedes #78
Fixes #76

Okay I've addressed your comments.

Should be good now. With bf12571 we can now run against a language client build with the latest vscode-language-client 5.1.0

Thanks again! Released as 0.51


chore: bump Mathlib to Lean v4.4.0-rc1

The commits below are all approved PRs, as planned, except the very last one which resolves conflicts in lake-manifest.json and lean-toolchain.

(I don't understand how those conflicts were still there after #8779, but I'm not going to wait to find out!)

There were some unexpected changes in Mathlib.Analysis.Seminorm, and I don't understand how they've end up on this branch. I have revert them in d0b37f2, and posted about them on zulip is anyone wants to recover it.

bors p=10
bors merge


added link in readme

Please provide a direct link to the resource you want to add. Not just any general link.

Please provide a direct link to the resource you want to add. Not just any general link.

DONE


Correcting issue with <>s

Removed triangular  brackets from language-configuration.json
Removed activationEvents from package.json
Updated README.md
Added TODO.md

Please test this PR before accepting. I was having some strange issues with .c files with ' quotes in comments having weird effects on subsequent syntax highlighting. But only sometimes. It was really bizarre.

This apparently doesn't seem to fix the issue and I think it might have to do with the fact that there are no operators in syntaxes/lpc.tmLanguage. 🤷🏻

For reference on operators in the language file https://github.com/atom/language-c/blob/master/grammars/c.cson

This is ready for final review and merging if satisfactory.


samples: drivers: fpga: fpga_controller: fix links in README.rst

Markdown links were incorrectly used in this ReST document.

added anchor and reference for "Quickfeather: programming and debugging"


Table names need to be double quoted public.TableName -> public."TableName" in auto generated queries to handle table names with capital letters

To handle table names that contain capitalization double quotes around the table name are required
this fails
SELECT * FROM public.MyTable

But this succeeds
SELECT * FROM public."MyTable"

You can do this to all table names without worry because on lower cased table names it changes nothing.
BTW the project is awesome, if I have some time in the near future I'll help you out with it.

Specifically talking about the "rows" query here, but you may have other queries like it that you generate where this would also apply.

thanks for the fix!


Fix issues I ran into when porting our code to the new API

First round of changes. Will require a major API version bump once it's all in.
Generally this wasn't too bad but there are holes.
A lot of the SceneDesc parameters were lost, added back a few. It's gonna be more though, so should we add a builder?
@Hentropy might want to have a look too.

PxSceneDesc::new is really getting too many arguments, as mentioned. Won't scale. Builder or parameter struct?

I'm a fan of the builder pattern but in this case I think a parameter struct would be better. Maybe just convert PxSceneDesc to that?

I was thinking of a descriptor pattern for the objects created by physics.  Something like the following:
pub trait Physics {
    fn create<Desc: Descriptor>(&mut self, desc: Desc) -> Desc::Target {
        desc.create(self)
    }
// ... rest of Physics interface
}

pub trait Descriptor {
    type Target;
    fn create(&self, physics: &mut impl Physics) -> Self::Target;
}

I have a pretty clear idea of what to do here, I just never got around to implementing it. I'll write it up and add it to this PR.

I can't add directly to this so see #114

@hrydgard  Also please update the changelog!

#117 could be rolled into this as well, I left it marked as a draft so I wasn't pinging Maik and Tomasz.

Yeah, I'll roll that in later today.

I think we can get this in as-is, and do any further fixes separately before we tag a new release.


Possible dollar handling inconsistencies in std.typecons.Typedef array

bearophile_hugs reported this on 2014-01-29T08:28:51Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=12031
CC List

b2.temp
peter.alexander.au

Description
I am not sure, but perhaps this code shows some inconsistencies:

import std.typecons: Typedef;
ubyte[4] foo1() {
    ubyte[25] a;
    return a[$ - 4 .. $]; // OK
}
ubyte[4] foo2() {
    Typedef!(ubyte[25]) a;
    return a[$ - 4 .. $]; // Error
}
ubyte[4] foo3() {
    Typedef!(ubyte[25]) a;
    return a[a.length - 4 .. a.length]; // Error
}
ubyte[4] foo4() {
    Typedef!(ubyte[25]) a;
    typeof(return) result;
    result[] = a[a.length - 4 .. a.length]; // OK
    return result;
}
void main() {}

dmd 2.065beta gives:

test.d(8): Error: undefined identifier __dollar
test.d(8): Error: undefined identifier __dollar
test.d(12): Error: cannot implicitly convert expression (a.opSlice(21u, 25u)) of type ubyte[] to ubyte[4]

bearophile_hugs commented on 2014-09-23T20:06:31Z
Now the error messages become:

test.d(8,13): Error: cannot implicitly convert expression (a.opSlice(__dollar - 4u, __dollar)) of type ubyte[] to ubyte[4]
test.d(12,13): Error: cannot implicitly convert expression (a.opSlice(21u, 25u)) of type ubyte[] to ubyte[4]

peter.alexander.au commented on 2014-02-01T05:59:06Z
The first issue is a Phobos bug: it just doesn't forward opDollar.

The second seems like a DMD bug.

peter.alexander.au commented on 2014-02-01T12:28:36Z
I've submitted a pull for the opDollar issue, so I'm going to change this to a DMD bug so that those folks can take a look at the other issue.

https://github.com/D-Programming-Language/phobos/pull/1899

github-bugzilla commented on 2014-02-04T06:00:04Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/27a6d57972ea14e0bd9383d1b9f9450cecce2107
Fix Issue 12031 (partial) - opDollar for Typedef!T

Just forwarding the various kinds of `opDollar` in `Proxy!T`. Partially fixes bug 12031 -- I believe a dmd change is needed to completely fix it (separate to opDollar forwarding).

https://github.com/D-Programming-Language/phobos/commit/ae9356537e8511dd6074207d4649c2c93f3d83c5
Merge pull request #1899 from Poita/bug12031

Fix Issue 12031 (partial) - opDollar for Typedef!T

b2.temp commented on 2023-02-11T05:16:34Z
This is not a compiler bug. The problem is that `std.typecons.TypeDef` uses an inner `std.typecons.Proxy` but as documented `Proxy` blocks implicit conversions.

Now the big question is if it's an "invalid issue" (and maybe that "TypeDef" DDOC is incomplete then) or if "TypeDef" implementation is not correct.


Make 7x7 non_zero count and zig49 a single array

Incrementally advance through array as we update
Align counts at 256 byte boundary (types are already close to that)
Split out zero prior_bit_len since this is many times sequentially accessed, it also makes the counts just under 256 bytes (as opposed to 0x106 bytes)

Hmm, on my machine it does not improve performance.

Not sure why it's slower... oh well. Maybe I missed something in the way code generation works.