Add a way to make builds with one job deterministic

Currently cargo build -j 1 builds crates, that can be built in parallel, in random order:
This is very painful when trying write a cargotest for a complex situation involving multiple crates:
#[cargo_test]
fn deterministic_builds() {
    let p = project()
        .file(
            "a/Cargo.toml",
            r#"
            [package]
            name = "a"
            version = "0.0.1"
            authors = []
        "#,
        )
        .file(
            "a/src/lib.rs",
            r#"
            pub fn a() {}
        "#,
        )
        .file(
            "b/Cargo.toml",
            r#"
            [package]
            name = "b"
            version = "0.0.1"
            authors = []
        "#,
        )
        .file(
            "b/src/lib.rs",
            r#"
            pub fn b() {}
        "#,
        )
        .file(
            "c/Cargo.toml",
            r#"
            [package]
            name = "c"
            version = "0.0.1"
            authors = []
        "#,
        )
        .file(
            "c/src/lib.rs",
            r#"
            pub fn c() {}
        "#,
        )
        .file(
            "d/Cargo.toml",
            r#"
            [package]
            name = "d"
            version = "0.0.1"
            authors = []
        "#,
        )
        .file(
            "d/src/lib.rs",
            r#"
            pub fn d() {}
        "#,
        )
        .file(
            "Cargo.toml",
            r#"
            [package]
            name = "foo"
            version = "0.0.1"
            authors = []

            [dependencies]
            a = { path = "a" }
            b = { path = "b" }
            c = { path = "c" }
            d = { path = "d" }
        "#,
        )
        .file(
            "src/lib.rs",
            r#"
            extern crate a;
            extern crate b;
            extern crate c;
            extern crate d;
            pub use a::a;
            pub use b::b;
            pub use c::c;
            pub use d::d;
        "#,
        )
        .build();

    p.cargo("build")
        .arg("--verbose")
        .arg("-j")
        .arg("1")
        .with_stderr(
            "\
[COMPILING] a v0.0.1 ([CWD]/a)
[RUNNING] `rustc --crate-name a [..]
[COMPILING] b v0.0.1 ([CWD]/b)
[RUNNING] `rustc --crate-name b [..]
[COMPILING] c v0.0.1 ([CWD]/c)
[RUNNING] `rustc --crate-name c [..]
[COMPILING] d v0.0.1 ([CWD]/d)
[RUNNING] `rustc --crate-name d [..]
[COMPILING] foo v0.0.1 ([CWD])
[RUNNING] `rustc --crate-name foo [..]
[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
",
        )
        .run();
}

(this test will pass, 1 every 24 times!).
Maybe... we should even make -j 1 being deterministic be the default... Issues about this have been filled in the past https://github.com/rust-lang/cargo/issues/2607 .

@alexcrichton could you point me to the places in the code where the jobs are passed to the executor ?

Most of it's related to this file I believe

No. I've updated the test case in the PR description and verified against. It is still not deterministic. DependencyQueue is backed by HashMap so I guess it doesn't really change.


[3D Visu Mesh] add "scalar bar" also on 3D

Add Scalar Bar seen on 2D mesh also on 3D

@mjuhoor @paulineMig it has been asked by you, but i already see a Scalar Bar with a mesh on 3D view. You just need to choose an Attributes other than Default.
Is it ok for you?


[Fixbug] Fix dynamic memcpy bug

Minimal failure case:
resize_inputs: Tensor = symbol([1, 3, "h", "w"], dtype="int32", device="cpu")
resize_outputs = self.resize(resize_inputs.to(self.dtype, self.device))  # (float32, cuda)
resize_graph: FlowGraph = trace_from(resize_outputs, resize_inputs)

resize_graph.build()

compiles this launch where symbols h and w are undefined.
DLL void hidet_launch_0(float * __restrict__ x, float * __restrict__ y) {
  cudaMemcpyAsync(y, x, (4 * ((3 * h) * w)), cudaMemcpyHostToDevice, (cudaStream_t)get_cuda_stream());
}

Fix is to add exprs to BlackBoxStmt so that symbols defined in exprs can be visited during codegen.

Thanks @KTong821 !


Broken aka.ms link aka.ms/winget-command-configure

Brief description of your issue
When running winget configure --help, the output includes the following:
More help can be found at: https://aka.ms/winget-command-configure

This link is broken; it looks like the redirect it's supposed to use hasn't been set up or has expired. I expect it's supposed to point to https://learn.microsoft.com/en-gb/windows/package-manager/winget/configure
I've not checked, but I wouldn't be surprised if there are a whole class of similar links that are broken in the same way.
winget --info output below; I'm running a preview build but I can see the commit that added the links – https://github.com/microsoft/winget-cli/commit/73f05cdf9b72eed991ccc5609f459f385cb9ec2f – had a "TODO" to create the URL which is still in place: https://github.com/microsoft/winget-cli/blob/master/src/AppInstallerCLICore/Commands/ConfigureCommand.cpp#L54
I'm a Microsoft FTE, but I'm reporting this as a winget user; I have no other involvement in winget. That said, it does mean that if there isn't a more appropriate set of owners for this aka.ms link, I can be one of them…

Thanks for finding this one!  I just created the aka.ms link and tested it.

@JohnMcPMS you should be good to remove the "TODO".


Make Builder::spawn fail more consistently

We want to test a spawn error, but macOS and Windows were somehow
running with the usize::MAX stack.  (Probably overflow due to rounding
the page size up or something, and then who knows.)  With isize::MAX
we get the error we want, with a little care for 32-bit platforms.

👍


Add buttons and work on submit

Might consider adding a buttons to github, to linkedin, to youtube, etc...
Also consider changing up the homepage a bit to look more organized and stylish

Got the buttons done, now need to tweak css styling with the FontAwesomeIcon

Css styling is completed


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/59 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target.git

Docs Build status updates of commit 3e43a8b:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-09-25-11-44-56 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-09-25-11-44-56

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


Add Quick Start Guide to the readme

Apart from punctuations in some places, this looks great! Thanks!! :+1:

just saw, that there are typos in the migration
+bin/cake migration migrate -plugin Muffin/Tags
shoud be
bin/cake migrations migrate -p Muffin/Tags

@matthiasmoritz good catch!

Thanks!


[MTSRE-1280] ADO comply with "restricted" PSA enforcement

Signed-off-by: Ankit Kurmi<EMAIL_ADDRESS>Jira: MTSRE-1280

/retest

/test operator-e2e

/test operator-e2e

/retest

/retest

/lgtm

/retest

/retest

I believe the e2e tests for ADO are being run on a specific OCP version via the releases configuration in Prow CI. The same config doesn't exist for Reference Addon which explains why tests were able to pass for its PSA enforced deployments.
@Ajpantuso thoughts?

I believe the e2e tests for ADO are being run on a specific OCP version via the releases configuration in Prow CI. The same config doesn't exist for Reference Addon which explains why tests were able to pass for its PSA enforced deployments.
@Ajpantuso thoughts?

Yes that makes sense. We can definitely bump that version to 4.10. For reference-addon the e2e tests are run via osde2e so it would not encounter this compatability issue.

/retest

/retest

/label tide/merge-method-squash


Adding files to release archive at root of the project

Hey,
I'm trying to add non-Elixir files to my release. For instance, I need to include a shell script (script/start_server) in the release archive (the script folder should be at the same level than the bin folder ideally) but I'm not really sure how to do this with exrm.
Is there a configuration file where I could specify these kind of things?
Thanks and sorry if that's the wrong place to ask :D

@gmalkas Hey no worries, there is actually a bug with this (my fault) which I need to address in order for the standard relx.config overlays to work. I'm going to treat this as a bug report for the moment and try and get it addressed by this weekend. Sorry for the trouble!

Ok @gmalkas I just merged a temporary fix for this that brings back support for this, you can use the following relx.config file (by placing it in <project root>/rel/relx.config) to copy the file you mentioned into the release tar.
{overlay, [{copy, "../../script/start_server", "script/start_server"}]}.

The odd relative path for the first reference is a bug I still need to fix, because the config is actually merged into the default one stored in a different location, and when that config is loaded the paths are relative to the exrm config file, not yours, which isn't what we want. Anyway, the path you should be building relative paths from is <project root>/rel/files/relx.config, so if you have a script folder in your project root, you'll refer to it with ../../script in the relx.config you place in rel/relx.config. A headache to remember, but I'll be fixing this soon.

Oh, and this fix is in 0.15.1 by the way.

It worked! Thanks a lot :+1:


ClearanceIItem CRUD operations

search, update, create, delete, and count methods for ClearanceItems
cleanup

Also, we need to start adding tests.

Agreed, but we're running against the same problem we found with testing the clearance service's CcureApi class. All of our code just depends on responses from a third party api, so I'm not sure what a good unit test would look like.

Looking pretty good on first pass. One thing beyond what I've commented on in code:
I don't cherish search_filtering, I get why search doesn't really apply anymore though. How about simply filters?

Good call, I like filters better

Just the last bit to un-magicify the 5000 identifier, and this is good to go.

Just the last bit to un-magicify the 5000 identifier, and this is good to go.

Awesome, just pushed that change


patch #034 - Add dutch rental translations.

Current coverage is 58.18%

Merging #189 into master will not affect coverage as of 3d3663b

@@            master    #189   diff @@
======================================
  Files           32      32
  Stmts          617     617
  Branches         0       0
  Methods         89      89
======================================
  Hit            359     359
  Partial          0       0
  Missed         258     258

Review entire Coverage Diff as of 3d3663b

Uncovered Suggestions

+1.94% via ...enViewController.php#124...135
+1.78% via ...ackendController.php#243...253
+1.62% via .../CloudController.php#33...42
See 7 more...

Powered by Codecov. Updated on successful CI builds.


added prob_RVEA

This repository only accepts desdeo-emo related files. Don't include problem/tools etc.


Raise error if there's an issue with node

This prevents the issue of the agent start implicitly failing to set up
the connection and leading to hard to understand error with jsonrpc. See
https://github.com/zerolfx/copilot.el/issues/23#issuecomment-1207579974

LGTM. Thank you!


Update deps

Made a few more changes since it wasn't working locally for me anymore. If you're ok with the changes it should be good to merge.


WIP: Support NCHW (for conv2d).

Tensorflow (at least versions 1.3 and below) does not support NCHW computations of many ops when run on the CPU. That creates compatibility issues. These are originally mitigated in Keras, by doing a "NHWC roundtrip" and any op requested to be ran in "channels_first" (NCHW) would actually be transposed to- and from-  NHWC.
NCHW often has performance benefits; for example, cuDNN is often fastest when the largest dimension is last (favouring NCHW for images).
The current implementation probes if NCHW is available by checking:

Whether NCHW (channels_first) is requested at all
If NCHW is supported by checking (1) if a GPU is available at all and (2) if it is not explicitly set on CPU.

If the op is set explicitly on the CPU, or there is no GPU device, and if NCHW is requested, we will proceed with the transpose roundtrip as we always did in Keras.
This PR only patches the conv2d op. There are more (and more significant) ops to be patched: any op that uses _postprocess_conv2d_output or _postprocess_conv3d_output ad bias_add too. The latter is actually Keras's bottleneck when it comes to NCHW. Lets save those for distinct PRs.

Could we have some tests where we mock being on a gpu machine so that some tests run using NHWC and some run using NCWH? We could test with tf.device('/cpu:0'): etc.

Sure @Dref360 , that does require ignoring tests if people/travis does not have a GPU though. Do we already have tests in Keras that skip tests for environments where there's no GPU?

Please fix the docstrings and PEP8 issue reported in CI: https://travis-ci.org/fchollet/keras/builds/282490074

OK! We're not done yet; we need to patch other ops too, most importantly (biggest bottleneck) is the add_bias's tranpose on NCHW. I'll get to that.


YAML doesn't parse correctly on my GitHub account

I cut/pasted this code "as is" into my workflow and the following line does not parse correctly.

uses: azure/sql-action@v2

I get the error "end of the stream or a document separator is expected"
Any ideas?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 8481e67c-d27e-f582-bf23-4040e00fc01f
Version Independent ID: 2265de47-d757-cfa7-028a-cbf00cc2d0d3
Content: Quickstart: Connect to Azure SQL Database with GitHub Actions - Azure SQL Database
Content Source: azure-sql/database/connect-github-actions-sql-db.md
Service: sql-database
Sub-service: connect
GitHub Login: @juliakm
Microsoft Alias: jukullam

@AndyBache
Thanks for your feedback! We will investigate and update as appropriate.

Hi @juliakm,
Could you please look into this, thanks.

@AndyBache I'm fixing a couple of things in the article but I was able to run this YAML with the correct spacing. The article is also missing a section that says to run add a new secret for AZURE_SQL_CONNECTION_STRING.
name: SQL for GitHub Actions

on:
    push:
        branches: [ main ]
    pull_request:
        branches: [ main ]

jobs:
    build:
        runs-on: windows-latest
        steps:
         - uses: actions/checkout@v1
         - uses: azure/login@v1
           with:
            creds: ${{ secrets.AZURE_CREDENTIALS }}
         - uses: azure/sql-action@v2
           with:
            connection-string: ${{ secrets.AZURE_SQL_CONNECTION_STRING }}
            path: './Database.dacpac'
            action: 'Publish'


Why redirect?

Setting so like
<?php

$spBaseUrl = 'http://localhost:8000'; //or http://<your_domain>

$settings = array (
    // If 'strict' is True, then the PHP Toolkit will reject unsigned
    // or unencrypted messages if it expects them signed or encrypted
    // Also will reject the messages if not strictly follow the SAML
    // standard: Destination, NameId, Conditions ... are validated too.
    'strict' => false,

    // Enable debug mode (to print errors)
    'debug' => false,

    // Service Provider Data that we are deploying
    'sp' => array (
        // Identifier of the SP entity  (must be a URI)
        'entityId' => $spBaseUrl.'/metadata.php',
        // Specifies info about where and how the <AuthnResponse> message MUST be
        // returned to the requester, in this case our SP.
        'assertionConsumerService' => array (
            // URL Location where the <Response> from the IdP will be returned
            'url' => $spBaseUrl.'/index.php?acs',
            // SAML protocol binding to be used when returning the <Response>
            // message.  Onelogin Toolkit supports for this endpoint the
            // HTTP-Redirect binding only
            'binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST',
        ),
        // Specifies info about where and how the <Logout Response> message MUST be
        // returned to the requester, in this case our SP.
        'singleLogoutService' => array (
            // URL Location where the <Response> from the IdP will be returned
            'url' => $spBaseUrl.'/index.php?sls',
            // SAML protocol binding to be used when returning the <Response>
            // message.  Onelogin Toolkit supports for this endpoint the
            // HTTP-Redirect binding only
            'binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect',
        ),
        // Specifies constraints on the name identifier to be used to
        // represent the requested subject.
        // Take a look on lib/Saml2/Constants.php to see the NameIdFormat supported
        'NameIDFormat' => 'urn:oasis:names:tc:SAML:2.0:nameid-format:unspecified',

        // Usually x509cert and privateKey of the SP are provided by files placed at
        // the certs folder. But we can also provide them with the following parameters
        'x509cert' => '',
        'privateKey' => '',
    ),

    // Identity Provider Data that we want connect with our SP
    'idp' => array (
        // Identifier of the IdP entity  (must be a URI)
        'entityId' => $spBaseUrl.'/metadata.php',
        // SSO endpoint info of the IdP. (Authentication Request protocol)
        'singleSignOnService' => array (
            // URL Target of the IdP where the SP will send the Authentication Request Message
            'url' => $spBaseUrl.'/index.php?acs',
            // SAML protocol binding to be used when returning the <Response>
            // message.  Onelogin Toolkit supports for this endpoint the
            // HTTP-POST binding only
            'binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect',
        ),
        // SLO endpoint info of the IdP.
        'singleLogoutService' => array (
            // URL Location of the IdP where the SP will send the SLO Request
            'url' => $spBaseUrl.'/index.php?sls',
            // SAML protocol binding to be used when returning the <Response>
            // message.  Onelogin Toolkit supports for this endpoint the
            // HTTP-Redirect binding only
            'binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect',
        ),
        // Public x509 certificate of the IdP
        'x509cert' => '',
        /*
         *  Instead of use the whole x509cert you can use a fingerprint
         *  (openssl x509 -noout -fingerprint -in "idp.crt" to generate it,
         *   or add for example the -sha256 , -sha384 or -sha512 parameter)
         *
         *  If a fingerprint is provided, then the certFingerprintAlgorithm is required in order to
         *  let the toolkit know which Algorithm was used. Possible values: sha1, sha256, sha384 or sha512
         *  'sha1' is the default value.
         */
        // 'certFingerprint' => '',
        // 'certFingerprintAlgorithm' => 'sha1',
    ),
);

Can you clarify the issue you found?

Ok fix bro, thanks


print gvk information on existing resource conflict

This PR adds additional information to resource conflict error messages.
We were facing some issues due to API version changes and had difficulties on finding the reason of the conflict.
Adding group and version helps a lot, since the id's of resources are compared with all this data.
Signed-off-by: Marc Brugger<EMAIL_ADDRESS>

@bakito Trying to replicate the issue, mind providing some steps @bakito ?

We die an upgrade of our OpenShift cluster, where the api of some resources got converted from api version alpha to beta.
Since the Helm chart war installed with the api version alpha, we could not do an upgrade of the chart, because the version of the resource in the manifest (alpha) of the old chart did not match the version of the current resource (beta).
The error message that is changed in this PR only shows kind and name of the resource, but not the version.
I've spent hours on finding the problem, since  helm could not upgrade the chart.
This was also why i wrote this helm plugin to patch the chart to be able to do an upgrade after api version change. https://github.com/bakito/helm-patch

thanks!


Allow custom type for id field

#12

Hello, please have a look and let me know what you think about patch.
I ran tests locally and they passed

The feature is implemented in the PR https://github.com/roman-right/beanie/pull/42

Cool, thanks. I will check it out.
Btw, instead of
new_id = self.__fields__["id"].type_(new_id)

can be done this:
pydantic.parse_obj_as(self.__fields__["id"].type_, new_id)

I didn't check if there are any benefits but this is how I wanted to do it.


how can i get the afdkd extension?

[Enter feedback here]

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

ID: 9137a562-85b3-1f71-e6c8-7a7f8a9e3ede
Version Independent ID: 24e08394-a5ce-eb65-a24f-11847e69aef0
Content: Bug Check 0x156 WINSOCK_DETECTED_HUNG_CLOSESOCKET_LIVEDUMP - Windows drivers
Content Source: windows-driver-docs-pr/debugger/bug-check-0x156--winsock-detected-hung-closesocket-livedump.md
Product: windows-hardware
Technology: debugger
GitHub Login: @DOMARS
Microsoft Alias: domars

@AllenLu55 - Thanks for this issue. I added a note to mention that the debugger extensions mentioned for parameter one is only available to hardware partners. An alternative to that tool could be to use the NDIS kernel extension, for example the !ndiskd.protocols command as well as a traffic trace tool on the network the machine in question is connected to examine traffic in the timeframe leading up to the dump, if you are able to predict when the live dump occurs in your environment.  Good luck in solving your winsock live dump.


How is "source": "/environments/environment.ts" used assuming it's used at all?

Please provide us with the following information:

The angular-cli.json file has an environments object with a source property.  How is the referenced file used? Is it used?  I get the custom environments settings and using the command line switch, but what is this particular file doing (it never changes, it's not ignored in git).
"environments": {
"source": "environments/environment.ts",

OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

N/A

Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:

1.0.0-beta.15

Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.

The log given by the failure. Normally this include a stack trace and some
more information.

N/A

Mention any other details that might be useful.

Thanks! We'll be in touch soon.

It specifies the file that should be replaced with the dev/prod/etc file. We're considering just defaulting to dev though.


Enable TypeScript debugging in karma (when working on unit tests)

Enable source map support in karma while running TypeScript unit tests. Allows you to set breakpoints and inspect state inside of .ts files when you are running "npm run test:watch" and have pressed the DEBUG button in karma.

:shipit:


[embedded] Avoid building embedded stdlib when cross-compiling

To resolve a CI failure: https://ci.swift.org/job/oss-swift-package-macos/3038/
rdar://128857716

@swift-ci Please Build Toolchain macOS Platform

@swift-ci please test Windows platform


Trigger AppTP open beta translations

Task/Issue URL: https://app.asana.com/0/0/1203305488412078/f
Description
Trigger translations, see this task for more info.
Steps to test this PR
NA

Current dependencies on/for this PR:

develop

PR #2500   👈

This comment was auto-generated by Graphite.


Update free-courses-hi.md

What does this PR do?
Add java course
For resources
Description
Why is this valuable (or not)?
easy to learn and start for beginner
How do we know it's really free?
available free on youtube
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

these are english language, not hindi


BUG : Chatbot not able to recommend me places to visit.

Describe the bug
The chatbot isn't able to recommend destinations to help me plan a trip.
Expected behavior
It should suggest the destinations based on popularity or take input from the user about his preferences and then align to them to find out destinations for the user.
Screenshots (Mandatory)

Please assign me this so that I can work on it.
Are you contributing under any open-source program ?
GSSOC'24

@I-Saara It is recommending.. Just click on that link which states "Click here to get familiar..." and it will redirect to a page where you can get suggestions..
Confirmed from my end. Just confirm it once from your end and then we can close the issue.

@KrishnenduDG Might be the case, but as I checked, It is showing error this time.

Ok, so what will be your approach to solve this? Can you give a very brief overview? @I-Saara

I would be checking up on the chatbot and would be editing its functioning in such a manner that it does not have this bug again! @KrishnenduDG

@I-Saara I have assigned u .Start working on it. But please first update your forked branch at first


aggregate query returns no data

Using a fesrh install of 0.9.1:
> CREATE DATABASE "netskin"
> USE netskin
Using database netskin

> INSERT net.tx,host=r-ch100,interface=switch value=0
> INSERT net.tx,host=r-ch101,interface=switch value=30

> SELECT * FROM "netskin"."default"."net.tx"
name: net.tx
tags: host=r-ch100, interface=switch
time        value
----        -----
2015-07-17T18:54:15.864057189Z  0

name: net.tx
tags: host=r-ch101, interface=switch
time        value
----        -----
2015-07-17T18:54:17.235394579Z  30

> SELECT MAX(value) FROM "netskin"."default"."net.tx" WHERE time > 0 GROUP BY time(5m)
name: net.tx
------------
time      max
1970-01-01T00:00:00Z

Expected out is something like:
name: net.tx
tags: host=r-ch100, interface=switch
time        value
----        -----
2015-07-17T18:50:0Z  0

name: net.tx
tags: host=r-ch101, interface=switch
time        value
----        -----
2015-07-17T18:50:0Z  30

Can you please check again with a nightly build? https://influxdb.com/download/index.html
There have been some changes in the query enegin, that may address this issue.

The WHERE time > 0 means the query is requesting 5m groups from 1970 to present and is attempting to return 4,790,412 points. It fails because the GROUP BY clause will only return a maximum of 100k points in a single query. See https://github.com/influxdb/influxdb/issues/2702.


APRL Virtual WAN Recommendations - 1

Overview/Summary
Added APRL for Virtual WAN
Related Issues/Work Items
AB#34867
As part of this pull request I have

[ x] Read the Contribution Guide and ensured this PR is compliant with the guide
[ x] Checked for duplicate Pull Requests
[ x] Associated it with relevant GitHub Issues or ADO Work Items (Internal Only)
[ x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[ ] Ensured PR tests are passing
[ ] Performed testing and provided evidence (e.g. screenshot of output) for any changes associated to ARG queries
[x ] Updated relevant and associated documentation (e.g. Contribution Guide, Docs etc.)

Thanks for the contribution, @maurojasmsft! Could I please have you create a folder in the virtualwans directory called kql? You can then add a query file for each recommendation you added with the file name that matches the aprlguid as noted here.
Also, above you'll see some of the lint errors. You can click on Details to view the changes that need to be made to fix the tests, but if you have any questions please let me know.

@oZakari added folder, files and put // under-development

@maurojasmsft looks like there is some test errors (ie. duplicate categories, invalid line endings, and a few others). If you open the details of the failed tests you should be able to see all of them. Ping me if you have questions though.


Variations are not working via cli or web api

Describe your environment

GPU: nvidia 1080ti cuda
VRAM: 11gb
CPU arch: x86
OS: Windows 10
Python: Anaconda python 3.8.5
Branch: tried both main and development
Commit: 89da371f4841f7e05da5a1672459d700c3920784 (HEAD -> main, origin/main, origin/HEAD)

Variations not working
I'm unable to get the variations feature to affect output in any measurable way either via cli or web api. I've tried on both main and dev branches, using example commands from documentation and other github issues discussing the feature. I'm not sure when it broke, but it feels pretty broken now
To Reproduce
Steps to reproduce the behavior:
In cli run the command anonymous -n3 -v0.01
It's the same if I specify a seed anonymous -n3 -v0.01 -S42
Same result if I also add in other seeds and weights with -V eg : anonymous -n3 -v0.01 -S42 -V42:1
Expected behavior
From the documentation I would have expected to get 3 very similar copies of an image with slight variations. All are completely different.

I'm afraid I cannot confirm this, although I checked only on the development branch. You need to realize that you do have to supply a seed with -S in order to "center" the variations, so the usual workflow is to use -nX to generate a bunch of images the usual way, select one that you like, and request variations using seed X.
To illustrate, here is the original image from which I selected the seed (apologies for the ugly image, I just chose the first that came up):

And here here are three variations generated with portrait of a lovely lady -v0.1 -n3 -S1950357:

Here are three variations generated with -v0.01. As expected, the variations are more subtle than the first group:

Are you using the default (klms) sampler? Maybe you've found a bug affecting one of the other samplers.

Good catch, I've been forcing the k_euler_a sampler on the command line maybe that's why

It was the sampler. Using default k_lms it behaves as expected!
k_euler_a continues to be a wildcard...
Thanks for pointing towards sampler I hadn't made the connection at all :)


fix react-refresh babel plugin not applied

@charrondev  @ianschmitz
The react-refresh/babel plugin got added as the option of babel-plugin-named-asset-import  🙈😂

Interesting that it still works this way!

Thanks @tanhauhau!


vscodeExtensions.ms-vscode-remote.remote-ssh: 0.48.0 -> 0.50.0

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg eval

Unfortunately, this does not function for me, and I can see no obvious reason why. In VScode, extension is not listed under "Enabled," but if I search for it I do see an option to uninstall, so it's detected on some level. remote-ssh is not available as a command.
I sadly don't have bandwidth to investigate right now

@jonringer did you see my comment? Even though this builds, when I tested it was not functional. Unless someone can comment that they functionally tested that this works, can you please revert?

looks like all vscode extensions are broken on master due to the a change in makeDesktopItem

[21:42:11] jon@jon-desktop /home/jon/projects/nixpkgs (master)
$ nix-shell -p "with import ./. {}; vscode-with-extensions.override { vscodeExtensions = with vscode-extensions; [ ms-vscode-remote.remote-ssh ];}"
these derivations will be built:
  /nix/store/dcrmlf7vax4ksy7lgwlacqmbbhgiam9a-code-url-handler.desktop.drv
  /nix/store/ixbcwj7mjx4cqwzip4f885qihz23bi7r-code.desktop.drv
  /nix/store/nxrjisrdafnrf7j3psq3fqxflyr63vnv-VSCode_1.43.0_linux-x64.tar.gz.drv
  /nix/store/8qjcw0mrq6byqa5cyhvlf5vj9l5n1ag3-vscode-1.43.0.drv
  /nix/store/r4lhsfphyhwsvdwwwh7ilk7p8sr2rfi0-vscode-extensions.drv
  /nix/store/01vd6miz98m65hpk742xna8fb48a5z1m-vscode-with-extensions-1.43.0.drv
building '/nix/store/r4lhsfphyhwsvdwwwh7ilk7p8sr2rfi0-vscode-extensions.drv'...
building '/nix/store/dcrmlf7vax4ksy7lgwlacqmbbhgiam9a-code-url-handler.desktop.drv'...
building '/nix/store/ixbcwj7mjx4cqwzip4f885qihz23bi7r-code.desktop.drv'...
building '/nix/store/nxrjisrdafnrf7j3psq3fqxflyr63vnv-VSCode_1.43.0_linux-x64.tar.gz.drv'...
Running desktop-file validation
/nix/store/3l89k3y5f6x65wb5zfja9vya3xr6x35f-code-url-handler.desktop/share/applications/code-url-handler.desktop: error: value "<EMAIL_ADDRESS>for key "Icon" in group "Desktop Entry" looks like a relative path, instead of being an absolute path to an icon or an icon name
/nix/store/3l89k3y5f6x65wb5zfja9vya3xr6x35f-code-url-handler.desktop/share/applications/code-url-handler.desktop: hint: value "Utility;TextEditor;Development;IDE;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu
Running desktop-file validation
/nix/store/nnci669k7fh3izay9wf0b3z83lifqy86-code.desktop/share/applications/code.desktop: error: value "<EMAIL_ADDRESS>for key "Icon" in group "Desktop Entry" looks like a relative path, instead of being an absolute path to an icon or an icon name
/nix/store/nnci669k7fh3izay9wf0b3z83lifqy86-code.desktop/share/applications/code.desktop: hint: value "Utility;TextEditor;Development;IDE;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu
/nix/store/nnci669k7fh3izay9wf0b3z83lifqy86-code.desktop/share/applications/code.desktop: error: value "<EMAIL_ADDRESS>for key "Icon" in group "Desktop Action new-empty-window" looks like a relative path, instead of being an absolute path to an icon or an icon name
created 1 symlinks in user environment
builder for '/nix/store/ixbcwj7mjx4cqwzip4f885qihz23bi7r-code.desktop.drv' failed with exit code 1
cannot build derivation '/nix/store/8qjcw0mrq6byqa5cyhvlf5vj9l5n1ag3-vscode-1.43.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/01vd6miz98m65hpk742xna8fb48a5z1m-vscode-with-extensions-1.43.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/01vd6miz98m65hpk742xna8fb48a5z1m-vscode-with-extensions-1.43.0.drv' failed

likely a regression from https://github.com/NixOS/nixpkgs/commit/7df81361e48167ed5e8de12dac5969ae4670732d
cc @orivej

Actually I take that back, it seems 9665977f4cca4333add0a061db78daa2b650f0b0 caused the regression

Ah thanks for the excellent bisecting


Loading _f5.py causes import errors

running from f5_cccl._f5 import CloudBigIP from a python interpreter causes import errors

from f5_cccl._f5 import CloudBigIP
Traceback (most recent call last):
File "", line 1, in
from f5_cccl._f5 import CloudBigIP
File "/usr/local/lib/python3.5/site-packages/f5_cccl/_f5.py", line 38, in
from common import list_diff, list_intersect
File "/Users/ramich/development/f5-cccl/f5_cccl/common.py", line 26, in
import jwt
ImportError: No module named 'jwt'

From interpreter tried to import jwt and it still failed. Possibly requirements file needs to be update.

@dramich - Attempting to replicate this - with a new virtualenv, from f5-cccl base dir did:
pip install .
python
>>> from f5_cccl._f5 import CloudBigIP

and did not get an error?
Could you share a bit more information on your workflow to help me replicate?

I am pip installing it using
pip install -e git+https://github.com/dramich/f5-cccl.git@1f85ec9fbe65fbdbd01963969c94b45e83b57b8a#egg=f5_cccl

That is definitely helpful @dramich, thanks.
Reasonably confident this is a consequence of python 2 and 3 both being present on mac, and the need to explicitly either install to python3 using pip3 or to create a python 3 ve with virtualenv -p python3 path/to/ve/files.
Without the -p python3 even within the virtualenv, python3 still points to the local install of python3, i.e:
virtualenv ../ve/issue-48-v2
. ../ve/issue-48-v2/bin/activate
which python3
> /usr/local/bin/python3

vs
virtualenv -p python3 ../ve/issue-48-v3
. ../ve/issue-48-v3/bin/activate
which python3
> /Users/day/0_deck_dojo/ve/issue-48-v3/bin/python3

In actual use, the install from egg and setup would be to one environment, not split as we are encountering with virtualenv.


DOC: silence random warning in doc build for stats.binned_statistic_dd

This isn't visible in CI, it will depend on Matplotlib version and
perhaps NumPy build as well.  It doesn't affect the generated 3D figure.
The warning:
/home/rgommers/code/scipy/scipy/stats/_binned_statistic.py:docstring of scipy.stats.binned_statistic_dd:118: WARNING: Exception occurred in plotting scipy-stats-binned_statistic_dd-1
 from /home/rgommers/code/scipy/doc/source/generated/scipy.stats.binned_statistic_dd.rst:
Traceback (most recent call last):
  File "/home/rgommers/anaconda3/lib/python3.7/site-packages/matplotlib/sphinxext/plot_directive.py", line 515, in run_code
    exec(code, ns)
  File "<string>", line 38, in <module>
  File "/home/rgommers/anaconda3/lib/python3.7/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 2558, in bar3d
    sfacecolors = self._shade_colors(facecolors, normals)
  File "/home/rgommers/anaconda3/lib/python3.7/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 1765, in _shade_colors
    shade = ((normals / np.linalg.norm(normals, axis=1, keepdims=True))
RuntimeWarning: divide by zero encountered in true_divide

While we're at it, seed the random number drawing.

Looks good. Thanks @rgommers
By the way, what a nice convenience that artifact viewer @larsoner !


Does RequestMirrorPolicy support xDS?

We rely on xDS to dynamically fetch resources from our control plane, following the flow: vhds -> cds -> eds. This means the client fetches vhds first on demand, then cds, and finally eds. When supporting request mirroring, is it possible to also fetch the mirrored cluster via xDS?
For example, we configure the request_mirror_policies in the vhds in the control plane, as shown below. The "backendCluster" can be fetched from CDS, but the mirrored cluster "darkBackendCluster" cannot be fetched, resulting in the error message: "shadow cluster 'darkBackendCluster' does not exist."
According to the manual, the cluster specified in request_mirror_policies must exist in the cluster manager configuration. Does this mean that request_mirror_policies cannot support xDS?
Here is our vhds configuration from the control plane, with request_mirror_policies included:

vhds:
{
"name":  "global/backService",
"version":  "227659762142",
"resource":  {
"@type":  "type.googleapis.com/envoy.config.route.v3.VirtualHost",
"name":  "global/backendService",
"domains":  [
"backendService"
],
"requestMirrorPolicies":  [
{
"cluster":  "darkBackendCluster"
}
]
"routes":  [
{
"match":  {
"prefix":  "/"
},
"route":  {
"cluster":  "backendCluster",
}
}
]
}
}

See the validate_clusters option. It should allow it to load and fail gracefully at runtime if the cluster doesn't exist.
// An optional boolean that specifies whether the clusters that the route
  // table refers to will be validated by the cluster manager. If set to true
  // and a route refers to a non-existent cluster, the route table will not
  // load. If set to false and a route refers to a non-existent cluster, the
  // route table will load and the router filter will return a 404 if the route
  // is selected at runtime. This setting defaults to true if the route table
  // is statically defined via the :ref:`route_config
  // <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.route_config>`
  // option. This setting default to false if the route table is loaded dynamically via the
  // :ref:`rds
  // <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.rds>`
  // option. Users may wish to override the default behavior in certain cases (for example when
  // using CDS with a static route table).
  google.protobuf.BoolValue validate_clusters = 7;


FT memo to try out structure

What do you think of the structure convention?

This looks good, but let's add an ordered list of the memos to the readme with a short description and a link to the pdf file.

Looks great! Thank you!


Make Ingress resource survive k8s upgrade from 1.21 to 1.22

[ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)

To fix this issue version trashold has been moved down to have overlap with ingress api life cycle
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

[ ] No need to
[x] Manually (please, describe, if necessary)
[ ] Unit checks
[ ] Integration checks
[ ] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
[ ] My changes generate no new warnings (e.g. Sonar is happy)
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged

Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)

@keeperUA thanks for your contribution!


Possible to exclude particular examples?

Hi,
I've been packaging a few rubygems for GNU Guix, and one thing I'd occasionally like to do is disable specific examples. I guess the opposite of the rspec --example flag. This is useful when e.g. certain tests might be known failures, because the automated build system requires a zero exitstatus when running the 'check' phase (to indicate that all tests pass).
Workarounds exist e.g. patching the test files but it would make life easier if we could ask rspec to do it for us. Is there some way of doing this already or is this issue a feature request?
Thanks,
ben

You can filter examples in many ways, via metadata and --tag e.g. https://relishapp.com/rspec/rspec-core/v/3-4/docs/command-line/tag-option, programatically via metadata e.g. https://relishapp.com/rspec/rspec-core/v/3-4/docs/filtering/inclusion-filters and conditionally programtically via https://relishapp.com/rspec/rspec-core/v/3-4/docs/filtering/conditional-filters

Perhaps I am being slow but I cannot see how any of those links help. Perhaps an example might help clear things up. For instance if I have this spec:
$ cat ~/t/a.spec
require 'rspec'

class My
  def self.answer
    4
  end
end

RSpec.describe My, "#answer" do
  context 'good and bad' do
    it 'gives the right answer' do
      expect(My.answer).to eq 4
    end
    it 'gives the wrong answer' do
      expect(My.answer).to eq -1
    end
  end
end

Then how do I run something that achieves the following?
$ rspec ~/t/a.spec --exclude-example wrong

I'm looking for a way that doesn't involve modifying the spec file itself.
Thanks.

RSpec.describe My, "#answer" do
  context 'good and bad' do
    it 'gives the right answer', type: :right do
      expect(My.answer).to eq 4
    end
    it 'gives the wrong answer', type: :wrong do
      expect(My.answer).to eq -1
    end
  end
end

$ rspec ~/t/a.spec --tag @right or $ rspec ~/t/a.spec --tag ~@wrong

You added type: wrong. Do I take it from your answer that it is not possible to achieve something similar without modifying the spec, making this issue a feature request?

I think it would be reasonable to add --exclude-example.


Detect and display error for duplicate reaction names (keys) - Issue #235

New function MusicBox.check_config() looks at loaded configuration for duplicate reaction names, which cause an array index error if allowed to pass into the solver. We supply diagnostic information so the user may correct the problem in JSON.
In the unit test, reaction rates are implemented as a python list, according to the same convention when loading from JSON. A possible improvement would be to make ReactionList iterable and use that Musica data structure instead.

Sorry, I generated an indentation problem on line 77 of music_box.py during the edit to resolve conflicts.


encode Z Dimension

I seen that this library in encoding skipping the third dimension if present in the coordinates. [lon, lat, z]
is it possible to somehow include it in encoding?

If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.
@stefanocudini Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
Open a support case - Get 1:1 support in Cloud Console.
Discord - chat with other developers
StackOverflow - use the google-maps tag

This is an automated message, feel free to ignore.


DA-311: Deploy as a Function

Description
Whenever someone right-clicks on a .JS file in their project, add an option called “Deploy as a Couchbase Function“.
It should open a new dialog where you show the name of the cluster that it is currently connected to, and ask for the user to pick the bucket (select/combo component), and then pick the scope (Select/Combo component). When the user clicks on “ok“, you should call the following endpoint:
curl -XPOST -d @./[sample_name].json 'http://anyAuthedUser:password@<IP_ADDRESS>:8096/api/v1/functions/[sample_name]?bucket=[fs_bucket]&scope=[fs_scope]'

Full documentation here: Eventing REST API | Couchbase Docs  under “Table 2. Eventing Functions API (advanced)“.
Validations:

Scope and Bucket are required.
If the user hasn’t picked a bucket yet, the scope Select should be disabled.
if the user chooses another bucket, the list of scopes should be updated.
If the function already exists in the server, ask the user if he would like to overwrite the one existing in the server.
Don’t forget to test the functions that you deploy, to make sure that they are working.

This is the UI
First line - heading
Function Scope(Bold) bucket.scope(small greyed out) info icon(on hover displays-A bucket.scope combination used for identifying functions belonging to the same group.)
Error label for this(by default when nothing is selected)-> Please specify a scope to which the function belongs. User should have Eventing Manage Scope Functions permission on this scope
Second line - two horizontal dropdown boxes

Select from available buckets (or *) 2. Select from scopes available in that bucket (The first scope gets selected automatically when the bucket is selected)

Third line - heading
Listen to location (Bold) bucket.scope.collection (small greyed out) info icon(on hover displays-The function will listen to this resource for changes. Memcached buckets are not allowed.)
Error label for this(by default when nothing is selected)->  Please specify a source location for your function. User should have DCP Data Read permission on this keyspace
Fourth line - three horizontal dropdown boxes

Select from available buckets (or *) 2. Select from scopes available in that bucket (The first scope gets selected automatically when the bucket is selected) 3.  Select from collections available in that scope (The first collection gets selected automatically when the scope is selected)

Fifth line - heading
Eventing Storage (Bold) bucket.scope.collection (small greyed out) info icon(on hover displays-This resource is used to store system data and should not be used by other applications.)
Error label for this(by default when nothing is selected)->  Please specify a location to store Eventing data. User should have read/write permission on this keyspace
Sixth line - three horizontal dropdown boxes

Select from available buckets (or *) 2. Select from scopes available in that bucket (The first scope gets selected automatically when the bucket is selected) 3.  Select from collections available in that scope (The first collection gets selected automatically when the scope is selected)

Seventh line - heading
Function Name (Bold)
Eighth line - full line text box
Text box for Function Name
Error label depends on text box validation
Ninth line - heading
Deployment Feed Boundary(Bold) info icon(on hover The preferred Deployment time Feed Boundary for the function.)
Tenth line - 1 drop down box with 2 options
The dropdown box should contain “Everything” and “From now”
Eleventh line - heading
Description(bold) optional(text in small, grayed out and round braces)
Twelfth line - Text Area
Text Area for big paragraph text writing (This is a text area not a text field)
Thirteenth line - Openable Settings.
Settings(bold)
There is a small right arrow before the word settings. On clicking the right menu. The form fill-up menu opens up
{
First line - heading
System Log Level(Bold) , small info icon(on hover shows: Granularity of system events being captured in the log)
Second line - dropdown menu
Dropdown menu contains: Info, Error, Warning, Debug and Trace
Info label - below dropdown menu
“Application log file for this Function is at:”
Third Line - heading
N1QL Consistency(bold) small info icon(on hover shows: Consistency level of N1QL statements in the function)
Fourth line - dropdown menu
Dropdown menu contains: None and Request
Fifth Line - heading
Workers(bold) small info icon(on hover shows: Number of workers per node to process the events. If no value is specified, a default value of 1 worker is used.)
Sixth Line - text field
Text field can take only a natural number
Seventh line - heading
Language compatibility (Bold) , small info icon(on hover shows: Language compatibility of the function)
Eighth line - dropdown menu
Dropdown menu contains: 6.0.0, 6.5.0, 6.6.2
Ninth Line - heading
Script Timeout(bold) in seconds (small greyed out text) small info icon(on hover shows: Time after which the Function's execution will be timed out)
Tenth Line - text field
Text field can take only a natural number (default initial value: 60)
Eleventh Line - heading
Timer Context Max Size (bold) small info icon(on hover shows: Maximum allowed value of the Timer Context Size in Bytes. Takes effect immediately.)
Twelfth Line - text field
Text field can take only a natural number (default initial value: 1024)
}
Fourteen Line - Openable Settings.
Binding Type (Bold left end of line) (Plus minus square buttons on the right end[plus adds a new binding type based on the dropdown menu,  minus removes the last binding type])
Horizontal line separator.
Here we can add any number of 3 types of binding types[from the dropdown menu(s)]. The dropdown menu contains:
Binding type(default unelectable greyed out),  Bucket Alias, URL alias, constant alias.
{

if it is bucket alias, then first line is bucket alias(the dropdown menu itself), and textfield with placeholder text of “alias name”
Second line contains heading Bucket(bold) bucket.scope.collection (small greyed out) Access(bold)
Third line contains 3 dropdown boxes for bucket scope collection respectively. And 4th dropdown for Access(2 options of “read only” and “read and write” )

If its URL alias,  then first line is URL alias(the dropdown menu itself), and two textfields containing placeholder texts of “Alias name..” and “URL...” Respectively.
The next line contains two checkboxes: 1. allow cookies 2. validate SSL certificate
The next line contains dropdown menu of: 1. no auth 2. basic 3. bearer4. digest
{
2a. if the user chooses, basic, the same line as dropdown menu should have  two textfields containing placeholder texts of “Username..” and “password…” Respectively.
2b. if the user chooses, bearer, the same line as dropdown menu should have 1 textfield containing placeholder texts of “bearer key..”
2c. if the user chooses, digest, the same line as dropdown menu should have  two textfields containing placeholder texts of “Username..” and “password…” Respectively.
}
if it is constant alias, the first line is constant alias(the dropdown menu itself) and  two textfields containing placeholder texts of “Username..” and “password…” Respectively.
}


Image tiles

Coverage decreased (-1.41%) to 72.86% when pulling 801a4c922df7bb6b0e2e550b741d5f96ec67b0c9 on image-tiles into 7996044be517e1dfe464eea48c627c71d911d99b on development.

Coverage decreased (-1.33%) to 70.97% when pulling 5ee19623ba24bc6cd1f0afa2f734c31829431f2a on image-tiles into a1bef5734ebde97161f5788a00a3fb336718259c on development.


Banner linking to the Dashboard

To streamline the experience (and to boost visibility for the dashboard), we should add a CTA in the diagnostics page for claiming the device in the dashboard. Later on we might show/hide this depending on the status, but for now something simple like "Claim in Dashboard" with a deeplink to something like dashboard.nebra.com/add-device/?required-payload
Follow up: https://github.com/NebraLtd/hm-dashboard/issues/1038
Acceptance criteria

UTM parameters
Add a top full width banner
Link to add device page
Do not store state of whether banner is closed. It may be possible to close the banner between refreshes.

@NebraLtd/developers @NebraLtd/device-team @NebraLtd/tech-support I think this is something we should prioritise to push people to the dashboard.
Perhaps even having "greyed out" features such as restart, reboot, shutdown, and other dashboard specific features that then maybe launches a popup pushing people to sign up for dashboard

@Louisreed can you work on wireframes please?

@Louisreed That's looking good! I think we should slightly adjust the detail message though as we don't have any checks if it was claimed. Maybe something like "Use the dashboard now to gain benefits such as remote management, premium firmware and prioritized support"

I'm not sure the horizontal divider is adding much, it seems a little cluttered.

 @KevinWassermann94 @marvinmarnold Did you want me to propose a design for the feature @shawaj mentioned about showing features greyed out?

@Louisreed when does the modal appear? I don't think both the modal and banner are necessary.

@Louisreed I think that adds in too much logic. I think we should only do the banner

@KevinWassermann94 Sure thing, banner it is!


Applying fails with unhandled promise rejection "404 page not found"

[2019-02-14T17:12:30.975] [INFO] kubernetes-bootstrap - aws.k8s.collaborne.com/v1.Role wip-production-201902-kafka-connect: smart failed: 404 page not found
(node:7777) UnhandledPromiseRejectionWarning: Error: Cannot apply resource aws.k8s.collaborne.com/v1.Role wip-production-201902-kafka-connect through 'smart'
    at applyResource (/home/travis/build/Collaborne/collaborne/node_modules/kubernetes-bootstrap/src/bootstrap.js:435:9)
    at processTicksAndRejections (internal/process/next_tick.js:81:5)
(node:7777) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:7777) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

This particular one seems to be related to CRDs: For those we do not get the reason property of an error as NotFound, but rather as Not Found.


ds-hostnet-split example refers to undefined CONTOUR_SERVICE and CONTOUR_PORT variables

The variables CONTOUR_SERVICE_HOST and CONTOUR_SERVICE_PORT are not defined anywhere, but used
...in deployment/ds-hostnet-split/03-envoy.yaml:
initContainers:
      - args:
        - bootstrap
        - /config/contour.json
        - --xds-address
        - $(CONTOUR_SERVICE_HOST)
        - --xds-port
        - $(CONTOUR_SERVICE_PORT)
        command:
        - contour
        image: gcr.io/heptio-images/contour:master

...and deployment/ds-hostnet-split/03-contour.yaml:
      containers:
      - args:
        - serve
        - --incluster
        - --xds-address=<IP_ADDRESS>
        - --xds-port=$(CONTOUR_SERVICE_PORT)
        - --envoy-service-http-port=80
        - --envoy-service-https-port=443
        command: ["contour"]
        image: gcr.io/heptio-images/contour:master

I've replaced them with contour and 8001, respectively.
Is the idea that these should come from a common ConfigMap?

Those variables should be auto-injected by Kubernetes which match the Kubernetes service.
Can you exec into an envoy pod and print out the env vars?

Gotcha! Kubernetes does inject those Docker-link inspired variables, provided that the Service exists before the DaemonSet and Deployment, as documented here and here.
In my case I created the objects in a different order and did not have those variables in place when the pods started. Furthermore, having missing/empty strings there was not enough to fail the readiness and liveness probes, which would have otherwise resolve the issue automatically some time after the Service appeared.
Isn't this all too flaky to recommend in the canonical deployment manifests? I've long considered service env vars a legacy features (kubernetes/kubernetes#60099  and spec.enableServiceLinks on PodSpec) due to the inevitable conflicts and ordering problems they introduce.

I agree with you @bgagnon that we should look to move away from these ENV variables. We have the sample split deployment yaml files numbered to get around this issue.
I'll open a new issue to look at resolving this which I'd recommend using the internal dns name of the Contour service, however, last time I tried this there was some issues with Contour resolving the name which is why I went with the env vars.
We can dig into that in the new issue and get this updated.

Thanks for looking into this @stevesloka

On 29 May 2019, at 01:05, Steve Sloka<EMAIL_ADDRESS>wrote:
Closed #1122.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Wrong app version and docker images tag

I get this error when trying to install Datalore using the docker-compose file.
➜ docker compose up
[+] Running 0/2
 - datalore Error                                                                              4.8s
 - postgresql Error                                                                            4.8s
Error response from daemon: manifest for jetbrains/datalore-postgres:2022.3 not found: manifest unknown: manifest unknown

The error is caused by the commit https://github.com/JetBrains/datalore-configs/commit/f4041f302ef82d50f27d09677e45d40d3864aa55
I submitted a PR : https://github.com/JetBrains/datalore-configs/pull/24

Hello @egbakou
2022.3 has not released yet. Please use 2022.2.3 branch with the latest Datalore release.
I've also changed default branch to 2022.2.3


Inconsistency in how-to guide: titles

URL
https://python.langchain.com/v0.2/docs/how_to/tool_calling/ &
Checklist

[X] I added a very descriptive title to this issue.
[X] I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:
When the users go to how-to guides to implement the various features of langchain in practice, sometimes the  titles of the guides in the how-to section & the local guide section have different titles. This can cause confusion amongst those learning these features for the first time. For example,

Recommended to have the same descriptive titles both in the how-to section & the local guide section.

It seems that many articles are different, so it should not be an isolated case.


Consider mendelian gene enrichment as feature for GWAS locus prioritization

As an L2G feature, have you all ever considered or evaluated methods like Sobczyk et al. 2021?  This would prioritize genes near GWAS hits based on enrichment of Mendelian disease for those genes.
This particular paper uses DO, ClinVar and HPO to establish these links so I imagine you could do something quite similar with EVA in place of DO+ClinVar.

@buniello could you add this to the feature requests/prioritisation document?

Closing as added to feature document

add this to the feature requests/prioritisation document

Thanks guys.  Is that doc public by chance?

Hi Eric - good point, the current list is not public but I will make sure its content is soon shared with all our users (e.g. through our community page).

Hi @eric-czech, me again!
We have now released a "Feature Request" functionality within our Open Targets Community.
I wonder whether you would be willing to post this suggestion there? That would be very useful to us!


Add André Malraux Highschool (located in Bethune, France)

Hi, here is the addition of André Malraux high-school located in Bethune. (:

Note: This website is only used by the development section of our high school (and is owned by our school), the official website of our highschool is: https://andre-malraux-bethune.enthdf.fr/

@Zoeille Thank you for your request!
Would you please provide us with a proof, which shows that the school recognizes the domain malrauxbethune.fr that you are submitting as an official email domain for the students?
You can provide us with any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

@Zoeille You might miss my previous comment. Please react.

@Zoeille You might miss my previous comment. Please react.

Yep I saw your last message, I will ask one of teacher to send me a message that confirm it's a domain used by my school
All was done by voice only so I don't have written proof right now
The website is a default webpage from 1&1 but we have subdomains that are used by our teachers
easystage.malrauxbethune.fr
sio.malrauxbethune.fr/ApplicationSuiviSIO/
Also my school is already listed on Github Student schools

@philipto Here is the whois for the domain malrauxbethune.fr
`domain: malrauxbethune.fr
status: ACTIVE
hold: NO
holder-c: LGET140-FRNIC
admin-c: LGET246-FRNIC
tech-c: UIS153-FRNIC
zone-c: NFC1-FRNIC
nsl-id: NSL67999-FRNIC
registrar: IONOS SE
Expiry Date: 2022-10-05T15:57:11Z
created: 2012-10-05T15:57:11Z
last-update: 2021-10-05T17:08:31Z
source: FRNIC
ns-list: NSL67999-FRNIC
nserver: ns1050.ui-dns.de
nserver: ns1050.ui-dns.biz
nserver: ns1050.ui-dns.com
nserver: ns1050.ui-dns.org
source: FRNIC
registrar: IONOS SE
type: Isp Option 1
address: Ernst-Frey Strasse 9
address: 76135 KARLSRUHE
country: DE
phone: +49 721 91374 50
fax-no: +49 721 91374 215
e-mail<EMAIL_ADDRESS>website: https://ionos.com
anonymous: NO
registered: 2001-01-17T12:00:00Z
source: FRNIC
nic-hdl: LGET140-FRNIC
type: ORGANIZATION
contact: LYCEE GENERAL ET TECHNOLOGIQUE MALRAUX
address: rue de schwerte
address: 62400 Bethune
country: FR
phone: +33 3 21 63 12 43
fax-no: +33 3 21 63 12 40
e-mail<EMAIL_ADDRESS>registrar: IONOS SE
changed: 2012-10-05T15:56:05Z<EMAIL_ADDRESS>anonymous: NO
obsoleted: NO
eligstatus: pending
eligsource: REGISTRY
reachstatus: pending
reachsource: REGISTRY
source: FRNIC
nic-hdl: LGET246-FRNIC
type: ORGANIZATION
contact: LYCEE GENERAL ET TECHNOLOGIQUE MALRAUX
address: LYCEE GENERAL ET TECHNOLOGIQUE MALRAUX
address: 314, rue Jules Massenet
address: B.P. 90817
address: 62408 Bethune cedex
country: FR
phone: +33 3 21 64 61 62
fax-no: +33 3 21 64 64 61
e-mail<EMAIL_ADDRESS>registrar: IONOS SE
changed: 2016-11-10T17:55:57Z<EMAIL_ADDRESS>anonymous: NO
obsoleted: NO
eligstatus: not identified
reachstatus: not identified
source: FRNIC
nic-hdl: UIS153-FRNIC
type: ORGANIZATION
contact: 1&1 Internet SARL
address: 1&1 Internet SARL
address: 7, place de la Gare
address: 57200 Sarreguemines
country: FR
phone: +33 9 70 80 89 11
fax-no: +33 3 87 95 99 74
e-mail<EMAIL_ADDRESS>registrar: IONOS SE
changed: 2015-06-30T07:14:37Z<EMAIL_ADDRESS>anonymous: NO
obsoleted: NO
eligstatus: not identified
reachstatus: not identified
source: FRNIC`

@Zoeille Thank you for the clarification. Pull request merged.


fix sdk auto-location

fix an issue where the dartino plugin could over-write a valid dart sdk setting
ensure that he flutter code doesn't run if the flutter plugin isn't installed
fix https://github.com/dart-atom/dartlang/issues/970

@pq @danrubel

LGTM

LGTM.
Thanks!


Migration to Python 3.12

We need to upgrade pyzmq to support Python 3.12:
 The following packages are incompatible
  ├─ python 3.12**  is installable with the potential options
  │  ├─ python 3.12.0 would require
  │  │  └─ python_abi 3.12.* *_cp312, which can be installed;
  │  ├─ python 3.12.0rc3 would require
  │  │  └─ _python_rc  , which does not exist (perhaps a missing channel);
  │  └─ python 3.12.0 conflicts with any installable versions previously reported;
  └─ pyzmq 24.0.1**  is uninstallable because there are no viable options
     ├─ pyzmq 24.0.1 would require
     │  └─ python_abi 3.10.* *_cp310, which conflicts with any installable versions previously reported;
     ├─ pyzmq 24.0.1 would require
     │  └─ python_abi 3.11.* *_cp311, which conflicts with any installable versions previously reported;
     ├─ pyzmq 24.0.1 would require
     │  └─ python_abi 3.7.* *_cp37m, which conflicts with any installable versions previously reported;
     ├─ pyzmq 24.0.1 would require
     │  └─ python_abi 3.8 *_pypy38_pp73, which conflicts with any installable versions previously reported;
     ├─ pyzmq 24.0.1 would require
     │  └─ python_abi 3.8.* *_cp38, which conflicts with any installable versions previously reported;
     ├─ pyzmq 24.0.1 would require
     │  └─ python_abi 3.9 *_pypy39_pp73, which conflicts with any installable versions previously reported;
     └─ pyzmq 24.0.1 would require
        └─ python_abi 3.9.* *_cp39, which conflicts with any installable versions previously reported.

The following package could not be installed
└─ coveralls 3.3.1**  is installable and it requires
   └─ coverage >=4.1,<7.0  with the potential options
      ├─ coverage [4.1|4.2|...|5.0.4] would require
      │  └─ python [2.7* |>=2.7,<2.8.0a0 ], which can be installed;
      ├─ coverage [4.1|4.2|4.3.1|4.4.2] would require
      │  └─ python 3.4* , which can be installed;
      ├─ coverage [4.1|4.2|...|4.5.1] would require
      │  └─ python [3.5* |>=3.5,<3.6.0a0 ], which can be installed;
      ├─ coverage [4.2|4.3.1|...|4.5.1] would require
      │  └─ python 3.6* , which can be installed;
      ├─ coverage [4.5.1|4.5.2|...|6.0] would require
      │  └─ python >=3.6,<3.7.0a0 , which can be installed;
      ├─ coverage [4.5.1|4.5.2|...|6.5.0] would require
      │  └─ python >=3.7,<3.8.0a0 , which can be installed;
      ├─ coverage [4.5.4|5.0.1|...|6.5.0] would require
      │  └─ python >=3.8,<3.9.0a0 , which can be installed;
      ├─ coverage [5.3|5.3.1|...|6.5.0] would require
      │  └─ python >=3.9,<3.10.0a0 , which can be installed;
      ├─ coverage [6.1.1|6.1.2|...|6.5.0] would require
      │  └─ python >=3.10,<3.11.0a0 , which can be installed;
      ├─ coverage 6.5.0 would require
      │  └─ python >=3.11,<3.12.0a0 , which can be installed;
      └─ coverage [4.4.2|4.5.1|...|6.3.2] conflicts with any installable versions previously reported.

Hopefully fixed by https://github.com/pyiron/pympipool/pull/185

The following packages are incompatible
└─ flux-core   is installable with the potential options
   ├─ flux-core [0.49.0|0.50.0|0.51.0|0.52.0|0.54.0] would require
   │  └─ python >=3.10,<3.11.0a0 , which can be installed;
   ├─ flux-core [0.49.0|0.50.0|0.51.0|0.52.0|0.54.0] would require
   │  └─ python >=3.8,<3.9.0a0 , which can be installed;
   ├─ flux-core [0.49.0|0.50.0|0.51.0|0.52.0|0.54.0] would require
   │  └─ python >=3.9,<3.10.0a0 , which can be installed;
   └─ flux-core [0.50.0|0.51.0|0.52.0|0.54.0] would require
      └─ python >=3.11,<3.12.0a0 , which can be installed.

waiting for https://github.com/conda-forge/flux-core-feedstock/pull/26


refactor(ast): reduce #[cfg_attr] boilerplate in AST type defs

#4375  👈
main

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

Join @overlookmotel and the rest of your teammates on  Graphite


Move CI from Travis to Buildkite

Goal
Moves the CI pipeline from Travis to Buildkite.
Design
Buildkite is backed by our own (MacStadium leased) mac agent, so paths are tweaked to align with their setup.
Changeset
Travis pipeline removed in favor of Buikdkite.
Testing
Covered by CI.

One comment - it'd be good to add Unity 2019/2020 to the test matrix, but I'm happy for this to be merged as it currently stands and that to be addressed as part of future work before releasing the next major version.

One comment - it'd be good to add Unity 2019/2020 to the test matrix, but I'm happy for this to be merged as it currently stands and that to be addressed as part of future work before releasing the next major version.

Agreed - only reason I didn't at this stage is because it hangs before running the tests for some reason.  I've raised PLAT-6447 to investigate and add them.


Organization not showing under sponsors & not showing sponsored collective

Egghead.io Organization made a contribution to Babel Collective and it is not showing as a sponsor and not listing Babel under their supporting collectives.

Seems like there are 2 orgs, this is the one with the Babel contribution, although it seems to be a personal profile: https://opencollective.com/eggheadio-651


compile error after init/create a project

# sample command
-> % csibuilder init xxx
-> % csibuilder create xxx

# then start to compile the code
-> % make
go fmt ./...
go vet ./...
# hdls/pkg/csi
pkg/csi/driver.go:82:38: cannot use d (variable of type *Driver) as "github.com/container-storage-interface/spec/lib/go/csi".ControllerServer value in argument to csi.RegisterControllerServer: *Driver does not implement "github.com/container-storage-interface/spec/lib/go/csi".ControllerServer (missing method ControllerModifyVolume)
pkg/csi/node.go:82:2: readOnly declared and not used
make: *** [vet] Error 1

Hi @cnut , it's fixed in release v0.2.0, please try again. Thanks.


solved #4926 #4927 #4928

To sxcience fiction books:
Added quiz
Added solution to quiz
Added aprroach to read books
Fixes:   #4926 #4927 #4928

# Description
[Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.]

Type of PR

[ ] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes. Make sure to attach before & after screenshots in your PR.]
Checklist:

[ ] I have made this change from my own.
[ ] I have taken help from some online resources.
[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers and screenshots after making the changes.

@atmajaa please merge this mam


DispatchLinalgOnTensorsPass doesn't work for generic ops that have multiple outputs

I actually don't know if this is the case, but this is the biggest difference I can see. I'm working on variadic reduce op lowering, see an example in https://github.com/google/iree/issues/5533
And I found that the generic op does not get dispatched. No flow ops were created in the pass.
To repro:
#map0 = affine_map<(d0, d1) -> (d1, d0)>
#map1 = affine_map<(d0, d1) -> (d0)>
module  {
  func @reduce(%arg0: tensor<9x2xi32>, %arg1: tensor<9x2xi32>) -> (tensor<2xi32>, tensor<2xi32>) {
    %c-2147483648_i32 = constant -2147483648 : i32
    %c0_i32 = constant 0 : i32
    %0 = linalg.init_tensor [2] : tensor<2xi32>
    %1 = linalg.fill(%0, %c-2147483648_i32) : tensor<2xi32>, i32 -> tensor<2xi32>
    %2 = linalg.fill(%0, %c0_i32) : tensor<2xi32>, i32 -> tensor<2xi32>
    %3:2 = linalg.generic {indexing_maps = [#map0, #map0, #map1, #map1], iterator_types = ["parallel", "reduction"]} ins(%arg0, %arg1 : tensor<9x2xi32>, tensor<9x2xi32>) outs(%1, %2 : tensor<2xi32>, tensor<2xi32>) {
    ^bb0(%arg2: i32, %arg3: i32, %arg4: i32, %arg5: i32):  // no predecessors
      %4 = cmpi sge, %arg2, %arg4 : i32
      %5 = select %4, %arg2, %arg4 : i32
      %6 = cmpi eq, %arg2, %arg4 : i32
      %7 = cmpi slt, %arg3, %arg5 : i32
      %8 = select %7, %arg3, %arg5 : i32
      %9 = select %4, %arg3, %arg5 : i32
      %10 = select %6, %8, %9 : i32
      linalg.yield %5, %10 : i32, i32
    } -> tensor<2xi32>, tensor<2xi32>
    return %3#0, %3#1 : tensor<2xi32>, tensor<2xi32>
  }
}

Run: iree-opt -iree-flow-dispatch-linalg-on-tensors-pass repro.mlir

First up, I am suprised fusion works for this case :) (or does it). It should be easy to fix the linalg on tensors path to support this (might be as simple as dropping a check somewhere, or making sure all outputs are the same size.


Remove coverage import altogether

Remove import of coverage from all modules.
Should be added after https://github.com/moonbitlang/moon/pull/415 is merged, so coverage imports are added automatically.

@lynzrand I tested it on #1306, it does work, can you revive and finish this PR?

Pull Request Test Coverage Report for Build 4152
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.824%

Totals

Change from base Build 4150:
0.0%

Covered Lines:
4493

Relevant Lines:
5559

💛  - Coveralls


Some English content is in German

It started happening recently, but sometimes the content is in German instead of English. Seems to happen with the Extra Good and Replaced Input fields for Trade Unions.
For example, searching for Gramophone Factory and then Extra Goods shows results Science Whizz which says Extra Goods: 1/5 Glühfäden

We did some work on the translations but I'm not able to reproduce your issue. I searched directly for Science Whizz or only filtered by Gramophone Factory and then Extra Goods. Can you still reproduce this issue?

It seems to be working now for me as well. Maybe the work on the translations fixed it somehow.

The problem just happened again during development, and I fixed it permanently. Thanks for reporting.


MGDAPI-1886 Updating routes used in pref testing logging

Issue link

https://issues.redhat.com/browse/MGDAPI-1886
What

Up date the routes used to log the performance tests.
Verification steps

run these scripts
no errors should happen due to routes

https://github.com/valerymo/integreatly-operator/pull/13 has been merged. So should be good to revert the route name changes needed in the scripts :thinking:


Task Controller Server

Good day,
is there something planned in this regard?
Nice work btw!

Hey there, welcome to the community! Ultimately we would want to support everything inside the ISO11783 standard with this stack, including the task controller server. Though the task controller server has not yet been touched upon, my wild guess is that it will still take quite a while for us to get to. But maybe @ad3154 has some plans already? Also we welcome any contributions you can make to help drive progress 😄

Hello,
unfortunately, I dont have much experience with the behind the scenes stuff of a tc server. We are using a commercial library which is... lacking some features... And the developers are.... lets say they are too busy or whatever...
So this library is an absolut dream. But I fear due to my limited time and lack of deep knowledge I cant help you guys out.
Im more than happy to help in testing though. Ive got several implements at my disposal.

Wonderfull! Sure! Tomorrow I will provide a list of functionality which we have right now, and would still be nice to have, and a list which we are missing out on. Thank you very much!
And of cause no pressure. But lets get this party started :)

Too much work today, sry guys, next week :)

So, lets see what would be nice to have in regards to the TC-Server:

A way to read in TASKDATA.XML Files and set the store dir path for the coverage
Setting the task status (Start, Paused, Stop)
Callbacks for task status
Callbacks for AddDevice / RemoveDevice (when Implement connects to can, could handle things like pivot type (trailed or fixed), and getting the implement (booms (section)) geometry aswell as adding a x and y offset to them)
Callbacks and setter within those for manipulating the section control state
Same thing for rate control
Possibility to set the pre on off time
Setter for section overlap
Setter for Products (rate control related)
Setter to apply general gps offset (not identical to the AddDevice Boom Offset)
Being able to clear the coverage and set custom values at X and Y index

The lib we use has its own direction api, so they try to compute the working direction based on position data.
We would like to use our own heading information to resolve some latency issues.
But here are some features in that regards:

Callbacks from direction api (optional -> gps loss, gps update)
Setter / Getter for machine direction
Setter / Getter for heading information (or even parse the NMEA2000 cog & sog pgn and other various protocols)

So yeah, this is the ruff idea I guess.
The first steps would be to parse a TASKDATA.XML File and seeing if a implement can connect to the tc server and get its geometry.

Closing this issue for now, since we merged it in #407 but we can refer back here for further ideas on how to streamline this interface based on Eric's suggestions


Upgrade documentation is out of date

The Type of Document Issue
Outdated
What's wrong with this document?
https://github.com/spidernet-io/spiderpool/blob/main/docs/usage/install/upgrade.md

fix #3099


add errcheck support

Resolves issue https://github.com/automationbroker/bundle-lib/issues/89
This pr adds the errcheck tool that scans for unchecked errs in the code. It will run be default as part of the travis build and also if you run make check

investigating build failure

We also need to add the go get to the travis job. That is what is failing the build.


Multiple schema files - "There is already a schema defined"

Describe the bug
I have a primary graphql endpoint which I use in most queries, and a secondary endpoint which I only use for a couple of queries. I have set up my folders as follows:
root/
├── folder-a/
│   └── query-a.ts
├── folder-b/
│   └── query-b.ts
├── other-folder/
|   ├── .graphqlconfig
|   ├── secondary-schema.graphql
|   └── secondary-query.ts
├── .graphqlconfig
└── primary-schema.graphql

The idea is that it will use the secondary schema in the other-folder, and the primary schema everywhere else. This works fine and it's using the correct schema in each case, but I get schema errors saying "There is already a schema defined" and "There is already an operation 'query' defined".
I have also tried setting this up with a single config file using different projects:
{
  "projects": {
    "primary": {
      "excludes": ["other-folder/**"],
      ...
    },
    "secondary": {
      "includes": ["other-folder/**"],
      ...
    }
  }
}

And although this also worked, I still ended up with the same error messages.
Version and Environment Details
Operation system: macOS Big Sur 11.6
IDE name and version: PyCharm 2021.2.3 (Professional Edition)
Plugin version: 3.0.0
Additional context
The code completion and other features of the plugin are all working fine. The only problem is that I'm getting schema errors, so for now I'm just ignoring them

If it's still relevant, have you tried doing this using the new graphql-config? The config could be like this, I haven't tested it, so feel free to adjust if needed:
graphql.config.yml
projects:
  other-project:
    schema: other-folder/secondary-schema.graphql
    documents: other-folder/**/*.{graphql,js,ts}
  default:
    schema: primary-schema.graphql
    documents: '**/*.{graphql,js,ts}'

Please note that the order of the projects is important, they are matched from the top.
More docs about configuration are here.


Update lazy_static to 1.0

@bors-servo r+
Thanks!

:pushpin: Commit 47552bb has been approved by fitzgen

:hourglass: Testing commit 47552bb536414665755d4c484155e452c2391914 with merge 76e38a6c1f8970d5ec82b9051edf66e7a71dd57a...

:broken_heart: Test failed - status-travis

Ow, didn't see bindgen shipped a lock file. Should I update it or should we wait for https://github.com/nagisa/rust_libloading/pull/33 to land (to avoid the duplicated dependency) ?

Let's wait.

Done :)

:pushpin: Commit 5c7b7af has been approved by fitzgen

Thanks @Eijebong !
@bors-servo r+

:hourglass: Testing commit 5c7b7afe82bfe1e4f2ef9a395765a1c519b6977a with merge 5495ba39e3a4138bb00b2955b808f5bd38575747...

:sunny: Test successful - status-travis
Approved by: fitzgen
Pushing 5495ba39e3a4138bb00b2955b808f5bd38575747 to master...


Make 'self' a direct attribute of a resource object

As it stands, the workings of self are inconsistent.
Inside a link object, self indicates the URL of the thing represented by the object itself. The self member appears together with the object's id and type.
Inside a links object, self points to the URL of the thing represented by the parent object. Given the previous observation, this is illogical.
This may not seem like a huge deal, but there are a couple of another points here too:

In JSON API, the links member is intended as a container for relationships. It seems like a needless complication to stuff an extra key there just for the fun of it, when it has nothing to do with relationships. This relates to my ongoing effort to put some sense in the link/links/linked/related/included conceptual mess (#380).
Clients may need to look up canonical URLs on the self members of related resource objects. Assuming you want to exclude the actual resource attributes, how do you request the inclusion of self when it's neither a relationship nor an attribute?

I propose to move the offending self member one level up to the context it actually belongs to:
{
  "data": [{
    "type": "articles",
    "id": "1",
    "self": "http://example.com/articles/1",           <---
    "title": "JSON API paints my bikeshed!",
    "links": {
      "author": {
        "self": "http://example.com/articles/1/links/author",
        "resource": "http://example.com/articles/1/author",
        "type": "people",
        "id": "9"
      },
      "comments": {
        "self": "http://example.com/articles/1/links/comments",
        "resource": "http://example.com/articles/1/comments",
        "type": "comments",
        "ids": ["5", "12"]
      }
    }
  }]
}

Now self, id, and type are aligned both at the resource level and the link level.
There's no reason why self needs to be inside links. I presume this idea came from HAL, but the ways in which links is used in HAL and JSON API are not really analogous.

@wycats and I aren't seeing this as an inconsistency. Will comment more later.

@dgeb, understood.
Canonical URL troubles would be better addressed directly in the link object anyway (#379). Closing because this is just an annoyance, not a huge defect.
But if #379 doesn't happen (the two-key solution), and self can only be delivered withinlinks, then JSON API isn't going to be a very elegant format for applications that use canonical URLs for linking.


[firebase_ml_vision] Live Camera mode, with front camera Android , the smile image is painted in opposite direction in the horizontal axis.

I use example in https://github.com/giandifra/Flutter-Smile-Face-Detection but in Live Camera mode, with front camera Android , the smile image is painted in opposite direction in the horizontal axis. How to fix this issuse ? Sorry my English very bad

help me

I didn't read through your code, but I think the problem may be similar to this:
For example in the [firebase_ml_vision]:
in the FaceDetectorPainter

when using rear(back) camera, code below works well

for (Face face in faces) {
      canvas.drawRect(
        Rect.fromLTWH(
          face.boundingBox.left * scaleX,
          face.boundingBox.top * scaleY,
          face.boundingBox.width * scaleX,
          face.boundingBox.height * scaleY,
        ),
        paint,
      );
}

when using front camera, (I suppose) the image being streamed is mirrored in the screen(CameraPreivew), code below works for front camera(change left to mirrored left):

for (Face face in faces) {
      canvas.drawRect(
        Rect.fromLTWH(
          (absoluteImageSize.width - face.boundingBox.right) * scaleX,
          face.boundingBox.top * scaleY,
          face.boundingBox.width * scaleX,
          face.boundingBox.height * scaleY,
        ),
        paint,
      );
}

By the way, I am using drawLTWH() instead of draw LTRB() so that I only need to adjust the position of left bounding.


Releasing charts automatically

Most of this PR is moving all the charts to a directory called charts.
Adding a github action to automatically package and release the charts (Prerequisite: Change the hosted github page to host from a new branch "gh-pages" from the "/" directory after merging)
Organizing the charts alphabetically and adding local references for automating urbanos chart release
Deleting outdated platform charts
/urban-os-deploy#266
co-authored-by: Kyle Smith<EMAIL_ADDRESS>

I don't see the charts directory that all the charts were moved to in this PR. Is there another repo with that code?

I don't see the charts directory that all the charts were moved to in this PR. Is there another repo with that code?

Nope, good catch, they were being git ignored. They're all in the charts/ repo now


Library not working with latest android studio

show error log

Caused by: java.lang.IllegalStateException: CameraX is not initialized properly. Either the CameraXConfig.Provider interface must be implemented by your Application class or a CameraXConfig must be explicitly provided for initialization.

A problem occurred configuring project ':picture_library'.

Could not create an instance of type com.novoda.release.internal.compat.gradle5_3.AndroidSoftwareComponentCompat_Gradle_5_3.
org/gradle/api/internal/java/usagecontext/LazyConfigurationUsageContext

@JessYanCoding Any solution

https://stackoverflow.com/q/59283174/8439201
This is the solution.

https://github.com/JessYanCoding/InsGallery/issues/58

Please Contact my LinkedIn :
https://www.linkedin.com/in/piyush-narola-a62b28106
On Wed, Jan 5, 2022 at 10:05 AM rahulkMobifyi @.***>
wrote:

A problem occurred configuring project ':picture_library'.
Could not create an instance of type
com.novoda.release.internal.compat.gradle5_3.AndroidSoftwareComponentCompat_Gradle_5_3.
org/gradle/api/internal/java/usagecontext/LazyConfigurationUsageContext
—
Reply to this email directly, view it on GitHub
https://github.com/JessYanCoding/InsGallery/issues/55#issuecomment-1005407185,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK5DJV3RKHNAHGUMFTDB7SLUUPNSDANCNFSM5DPVECTQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Thanks & Regards,
Piyush Narola
Balaji Infotech
Mob : +91<PHONE_NUMBER> | Skype : piyush_89050


Use/match the Whisper license?

This is good work. Thank you.
Please consider copying or using the same license as Whisper:
https://github.com/openai/whisper/blob/main/LICENSE
Thank you

Sounds good. I will talk to the devs and update the license on our repository accordingly.


feat: enhance kubectl apply

[x] Show diff of changes
[x] Show context

i'm not sure how to use it.
I open a file, change some stuff and run :Kubectl apply and it gives me:

I did not start the plugin before that.
do we want to:

Initiate the plugin wherever someone uses :Kubectl or :Kubens or :Kubectx?
if the plugin is not initialized, do nothing.

Leaving it as is, where it produces an error is not great IMO

Removed the current-context prompt, could you see if it handles better? It should work without starting the plugin this way

Removed the current-context prompt, could you see if it handles better? It should work without starting the plugin this way

yep I can confirm it's working now


How to enable mic soon after the welcome message?

I am trying to enable the mic soon after voicing out the welcome message. I want to know if there is any flag that indicates the message has been voiced out by the bot. Right now, I am enabling the mic through click method by giving a timeout of 4 seconds. Which fails in some cases when the bot takes time to initialize and voice out the message. So in those cases while the mic turns on, the message stops voicing out suddenly.

Currently, we don't have hooks for controlling speech input, it's a pending work item #2211.
However, you can look at the useActivities and grab a list of activities, look at their channelData.speak property to see if the bot response completed synthesize or not.
Since channelData is not an official support API, once we implement #2211 or speech hooks, we might remove this flag.

Thank you for your response. But sorry, I forgot to mention that I am not using hooks, instead I use javascript for webchat which is running on an angular application.

This level of customization requires React as you need to subscribe for changes.

@deena211, if you are using the renderWebChat() flavor of Web Chat, then it's possible you can still capture the activities with the channelData.speak property via one of the middleware, such as activityMiddleware.
The useActivities hook is a nice feature because it presents a nice package of the processed activities. However, if you can't use the hook, then access them as I mentioned above. Just be aware that you will need to introduce processing logic of your own to filter and narrow them down as you need.
I mention above that "it's possible" to do this as I have only tested in a standard html page. I haven't tested this in an Angular project.
const activityMiddleware = () => next => ( { activity, ...otherArgs } ) => {
  const { channelData } = activity;

  if (channelData && channelData.speak === true || channelData && channelData.speak === false) {
    console.log('MIDDLEWARE ACTIVITY ', activity)
  }

  return next( { activity, ...otherArgs });
}

[ ... ]

window.WebChat.renderWebChat(
  {
    directLine: window.WebChat.createDirectLine( {
      token: token
    } ),
    webSpeechPonyfillFactory: webSpeechPonyfillFactory,
    activityMiddleware: activityMiddleware
  },
  document.getElementById( 'webchat' )
);


[Safari] Textarea no manual height adjusting

There is no possibility to manually adjust the height of the Form.Control component with the textarea type
Also there is no min-height and no overflow: hidden for Textarea:

PR: https://github.com/openedx/paragon/pull/2818


feat: add notification to the user if a participation removes another participation

Summary
Add notification to the user if voting unstakes funds
Changelog
feat: add notification to the user if voting unstakes funds

Relevant Issues
Please list any related issues (e.g. bug, task).
Type of Change
Please select any type below that is applicable to your changes, and delete those that are not.

[ ] Breaking - any change that would cause existing functionality to not work as expected
[ ] Chore - refactoring, build scripts or anything else that isn't user-facing
[ ] Docs - changes to the documentation
[ ] Fix - a change which fixes an issue
[ ] New - a change which implements a new feature
[x] Update - a change which updates existing functionality

Testing
Platforms
Please select any platforms where your changes have been tested.

Desktop

[ ] MacOS
[x] Linux
[ ] Windows

Mobile

[ ] iOS
[ ] Android

Instructions
Please describe the specific instructions, configurations, and/or test cases necessary to test and verify that your changes work as intended.
Checklist
Please tick all of the following boxes that are relevant to your changes, and delete those that are not.

[x] I have followed the contribution guidelines for this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or modified tests that prove my changes work as intended
[ ] I have verified that new and existing unit tests pass locally with my changes
[ ] I have verified that my latest changes pass CI workflows for testing and linting
[ ] I have made corresponding changes to the documentation

Looks like this isnt needed anymore with the latest wallet.rs changes in 1.6.2


[multistage] bugfix: override leaf query limit to 0 if set explicitly from outside

Current behavior will return full table for query:  Select * from LIMIT 0

Codecov Report

Merging #11479 (770c001) into master (ff3dcbc) will decrease coverage by 48.51%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master   #11479       +/-   ##
=============================================
- Coverage     62.93%   14.43%   -48.51%
+ Complexity     1108      201      -907
=============================================
  Files          2319     2319
  Lines        124394   124392        -2
  Branches      18992    18992
=============================================
- Hits          78288    17956    -60332
- Misses        40538   104916    +64378
+ Partials       5568     1520     -4048

Flag
Coverage Δ

integration
?

integration1
?

integration2
?

java-11
?

java-17
?

java-20
14.43% <0.00%> (-48.37%)
:arrow_down:

temurin
14.43% <0.00%> (-48.51%)
:arrow_down:

unittests
14.43% <0.00%> (-48.50%)
:arrow_down:

unittests1
?

unittests2
14.43% <0.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

.../runtime/plan/server/ServerPlanRequestVisitor.java
0.00% <0.00%> (-80.00%)
:arrow_down:

... and 1491 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add flag to set images to use during volumes move

Description
This pr adds two new flags to specify the image to use to move volumes between clusters
How Has This Been Tested?

[x] e2e test

/test

/test

/rebase test=true

/merge


Fix potential buffer overrun

This was found with Cppcheck. In the original code filespec2 is checked for being null on line 268 and then unconditionally passed into strcpy() on line 277. That makes no sense.
The real problem though is that if filespec2 points to an empty string then spec2len - 1 underflows and a buffer overrun may occur.

filespec2 can be == NULL where you changed it, so I think that strcpy() shouldn't happen.  I think calling strcpy() with a NULL argument is undefined behaviour.

it is defined -- it will crash :)

@kroeckx Actually filespec2  cannot be null in that branch, I'll fix the checks in front of strlen() later.

You're right, I missed the first if()
+1

i'll +1 and merge; thanks @kroeckx !

947f9da thanks.

A link to that commit https://github.com/openssl/openssl/commit/947f9da1019a8942e716cdcd44db211992aec295


Fix missing links under Share

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo

Improves the Repo by fixing a bug.
Additionally removes unnecessary whitespace
Closes #8099

Checklist:

[X] Read our contributing guidelines.
[X] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

please explain what this does

This fixes rendering issues in Mozilla Firefox.

Sorry I forgot I only explained this in the related issue.

These screenshots show what appears under the Share header on the website when on Firefox.

The last one shows what is on Firefox & Edge L/R respectively

Thanks, and welcome to free-programming-books!