run app on <IP_ADDRESS> instead of <IP_ADDRESS>?

Hi,
I am trying to dockerise this application. is it possible to change the URL:  http://<IP_ADDRESS>:7860 to URL:  http://<IP_ADDRESS>:7860?
in that case, it would be super easy to manage it using reverse proxy
thanks

I think you can specify your own IP using the server_name args
See here: https://github.com/gradio-app/gradio/issues/260#issuecomment-900578935
how do I set it in your app.py?

Fixed it by updating the app.py:
if __name__ == "__main__":
    cwd = os.path.dirname(os.path.abspath(__file__))
    demo.launch(show_error=True, allowed_paths=[cwd],server_name="<IP_ADDRESS>")

it would be great if server ip is set via args
I have dockerised the app and will send a PR.
Thank you for this amazing project!

Hi! Thx for contribution to run Fluxgym on cloudgpu. I really need a tutorial!

this is a standard gradio interface, you can specify the listen address and port with environment variables :
export GRADIO_SERVER_NAME="<IP_ADDRESS>"

export GRADIO_SERVER_PORT=9000

thanks, I have updated the PR


Change neume shape

Be able to change the shape of the neume after selection. (punctum, ligature, virga, inclinatum)

[x] Punctum
[x] Virga
[x] Inclinatum
[ ] Ligature

First three in #109.


Adds support for onpaste #97

file-drop listens for onpaste, if there is data and it matches the
type it will use that and raise a custom event
Adds a new event on file drop 'onfilepaste'
App listens for this event and will map to onFilePaste.

Later update.
We no longer user onfilepaste, instead we route through onfiledrop and distinguish via action

wrt to interactions: if the UI element can't handle 'onpaste' it should be bubbling up to the file-drop element, if the element does handle onpaste then I would expect it to stop propagation and look to see if it can read the data. I'll do some research to see what is happening with those elements.
wrt to focusable: that's actually a good point, we should probably make the other elements have the ability to focus, tapping outside of this edit box on github to the main page will remove focus of this element, and I think users would expect the same.
wrt to events: my thinking was that if you don't want to handle the event, you can just ignore the onfilepaste vs the event will fire and you have to check the event type... that being said, if you look at the internal logic, it's exactly the same so it might imply externally it would be seen the same.

you can just ignore the onfilepaste vs the event will fire and you have to check the event type

It comes down to what we want to be the default. If we want paste to "just work" in places that file drop would, then the developer should have to write extra code to prevent it just working. Right now the developer has to write extra code to make paste work as well as drop.

Yep - I'm easy either way. I think it's a neat side-effect. I'll change it up.

I'll add a 'type' or 'name' to the event so you can disambiguate.

(it won't be type ;)

@PaulKinlan let me know when this is ready for another review.

Updated: focus - clicking off the element back on to the canvas area will enable onpaste events to trigger again (on Chrome OS at least)

Should be ready - unless we want <input> elements to propagate.

btw I filed https://bugs.chromium.org/p/chromium/issues/detail?id=863849 to see if we can make it easier to copy images.

REady for another review


npm audit high severity vulnerability

Environment details

OS: Linux
Node.js version: 10.15.3
npm version: 6.4.1
@google-cloud/nodejs-repo-tools version: 3.2.0

Steps to reproduce

Run npm audit fix
See results:

Fixed by updating nyc to 14.1.1, waiting on #195


[UI] [Integrated Terminal] Add a "Clear Terminal" button/icon next to "Kill Terminal"

I tried searching for any duplicates, but it's mostly about clearing terminals via debugging sessions, killing terminals not killing correctly, etc. But, never any requested issues about UI changes to the integrated terminals itself.

As shown here, currently on Visual Studio Code 1.40.1 latest stable release, the integrated terminal only has a "Trash Bin" icon, which represents the action to "Kill the Terminal". I would like to request for a "mop or rag cloth icon", or "something that represents cleaning up" to "Clear the Terminal's Text Buffer", so I can simply wipe clean of the text buffers in the same integrated terminal instance without having to "Kill the Terminal".
Right now, there is no UI icon that allows the user to click to clear the terminal and not kill the terminal.
Hence, the feature request. Thanks.

We've discussed this before, we don't want to add more buttons to avoid cluttering the UI, you have some options though:

Run clear/cls in the terminal
Run clear via the command palette (F1)
Setup a keybinding to clear the terminal

Fair enough. Thanks for letting me know.
Found a 4th option. Right-clicking and selecting "Clear" in the terminal.


Camera: support more than one camera with one plugin instantiation

In order to support more than one camera from language wrappers, we need to change the camera API, so it supports more than one camera with just the one instance.
This would be a similar change to the API as the gimbal API change.
Do you have objections @JonasVautherin?

In the past I wanted to make it such that one could instantiate multiple Camera() objects (one for each), instead of calling each function with a camera id. Unfortunately gRPC does not seem to make it very convenient, so I guess the id makes sense :+1:.

Done in https://github.com/mavlink/MAVSDK/pull/2386.


[stable/concourse]: Add a default prefix

This commit adds a default value for prefix, per reference:
https://docs.datadoghq.com/integrations/concourse_ci/.
It avoids emitting custom metrics.
Signed-off-by: Zabielski, Kamil<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/chart])

@YoussB I fix the order as it is in values. Enabled is the first. The rest is alphabetically, as far as I see.

we have the whole list sorted alphabetically, you can just run :sort on the whole table in vim and will fix it.
we don't have any login in place for how the entries are sorted.

@YoussB Now it is sorted, It seems that it wasn't sorted before.
I cut one more duplicate in README.md as well. Peace!

Thanks a lot @limakzi

/ok-to-test


add support for LuaU ver 5?

I haven't touched cs, I would greatly appreciate it

MaximumADHD has a fork which adds support for Bytecode version 5.
https://github.com/MaximumADHD/unluau

I'm working on one that supports it but just use the one that lone suggested.


Newly added directories while save window is open are not updated

 Issue by yasassri
Wednesday Oct 04, 2017 at 09:41 GMT
Originally opened as https://github.com/ballerina-lang/composer/issues/3277

Steps to Reproduce

Open the composer and create a Bal file.

Without closing the save window, manually create a directory at any location.
Check whether the newly created directory is listed.

Issue: The newly created directory is not listed in the save menu.

This is not reproducible in ballerina 0.981.2-SNAPSHOT, so closing this issue.


(URGENT) Bibliographic references that are not auto-fetched show duplicated reference tags

The reference tags are duplicated within the square brackets after.

The first one is auto-fetched. The second is not.

Clearly a bug, because the user would never have expected this behavior. There should not be any square brackets after the description.

Source: https://github.com/CalConnect/iso-34000

The thinking has been originally that a formattedref that was already included in the Semantic XML (because it was not autofetched), so it was manually generated out of the material written in the reference, would not contain a document identifier, and the document identifier, if any, needed to be suffixed.
That assumption is clearly wrong here, because the document identifier is always being inserted in front of the formatted reference anyway. So that  code is obsolete, and I'm doing away with it.


Add support for Zil

By popular demand, adds support for Zil (both .zil and .zap extensions).
cc @nat, @textfiles, @dvdsgl
Checklist:

[X] I am adding a new language.

[X] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

.zil
.zap

[X] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

https://github.com/historicalsource/hitchhikersguide
https://github.com/historicalsource/planetfall

Sample license(s): Unknown

[x] I have included a syntax highlighting grammar: https://github-lightshow.herokuapp.com/
[ ] I have updated the heuristics to distinguish my language from others using the same extension. N/A, extension is unique to linguist as of writing.

cc @lildude for review/support, this is the first time I've opened a PR against linguist.

Looks like we're all SETG and it's ready to go GLOBAL. You are DEFMAC for doing this. .WORD

Squee!

LGTM.

Is there a way to activate this for the current source code?

@historicalsource It will take a little time to create a new version of Linguist, then deploy that within github.com; the process is underway!

Just curious, what does "ZAP" stand for? "Zork Assembly (Program?)"


feat: add vm network creation

Current dependencies on/for this PR:

main

PR #15

PR #16

PR #17   👈

This stack of pull requests is managed by Graphite.

Merge activity

Nov 8, 7:51 AM: @richardcase started a stack merge that includes this pull request via Graphite.


cgroup should not be capitalized.

fix https://github.com/containers/youki/issues/444

Codecov Report

Merging #463 (2a6d68b) into main (f237d86) will not change coverage.
The diff coverage is 50.00%.

:exclamation: Current head 2a6d68b differs from pull request most recent head e375548. Consider uploading reports for the commit e375548 to get more accurate results

@@           Coverage Diff           @@
##             main     #463   +/-   ##
=======================================
  Coverage   60.46%   60.46%
=======================================
  Files          82       82
  Lines       12150    12150
=======================================
  Hits         7347     7347
  Misses       4803     4803


⚠ Bofrost.at has degraded performance

In 62c1a7c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2227 ms

Resolved: Bofrost.at performance has improved in faad44a after 6 minutes.


spirv-fuzz: Introduce vector operations

If we have an operation like c = a + b, where a, b and c are scalars, then we could turn this into:
va = vector(..., a, ...);
vb = vector(..., b, ...);
vc = va + vb;
c = vc[appropriate component];
The missing components of va and vb could be populated using arbitrary instructions, or using OpUndef, as long as it is acceptable to perform the operation on undefs / for all possible values (e.g. this might be a problem for division).
Instead of replacing the computation of c we could add a synonym between c and vc[appropriate component].
There would also be scope for:

embedding a and b in larger vectors if they are already vectors
applying this to longer sequences of arithmetic operations

@dneto0 Thanks for the suggestion that led to this issue.

One way of implementing it would be to have a set of supported operands (e.g. OpIAdd and others from https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.html#_a_id_arithmetic_a_arithmetic_instructions). Then, we can transform the following code:
%1 = OpIAdd %uint %a %b

into
%2 = OpCompositeConstruct %uvec3 %uint_1 %a %uint_1
%3 = OpCompositeConstruct %uvec3 %uint_1 %b %uint_1
%4 = OpIAdd %uvec3 %2 %3
%a = OpIAdd %uint %a %b

We can then say that %2[1] is synonymous with %a and %3[1] is synonymous with %b.
Points to take into account:

OpIAdd and similar instructions support vector operands. In that case, we can embed those operands into bigger vectors if possible (i.e. if %1's operands are %uvec4 then we can't embed it anywhere since the maximum size of a vector is 4).
We can probabilistically select the position in the vector where we want to embed the component into.
Some care must be taken with regards to the %uint_1 constants above. We must make sure that we don't introduce undefined behaviour. For example, divide by 0 or OpSDiv UB. Thus, we should be careful when we decide if we want to mark the constant %uint_1 as irrelevant.

Notes from a chat with @Vasniktel about this:
We have a new transformation T(fresh, existing, v1, v2, index):
- fresh is a fresh id
- existing is an instruction of the form "c = a OP b"
- v1 is a composite such that v1[index] is synonymous with a
- v2 is a composite such that v2[index] is synonymous with b
- v1 and v2 are available at existing
Effect:
- Adds instruction "fresh = v1 OP v2" after existing
- Adds a synonym: existing = fresh[index]
The fuzzer pass can take care of identifying the c = a OP b and preparing the composites.


fix: Revert "feat: support seeding external database"

Reverts cloudfoundry-incubator/kubecf#1388

Rejecting and closing: reproduced the issue† locally, and the problem was that the container was getting OOMKilled.
† Triggered the rotate-cc-database-key QuarksJob, and watched it fail.


Use cargo fmt instead of rustfmt

This fixes #87

LGTM. Thank you for taking the time to send a PR!


Fix entities when geometry show interval is out of range

Fixes #2650
If the show interval is undefined for part of the availability, it now hides the geometry instead of crashing.
var czml = [{
        "id": "document",
        "version": "1.0"
}, {
    "id": "water1First",
    "availability": "2012-08-04T00:00:00Z/2012-08-05T02:00:54.9962195740191Z",
    "polygon": {
        "positions": {
            "cartographicDegrees": [
                0, 0, 55660,
                0.5, 0, 55660,
                0.5, 5, 55660,
                0, 5, 55660,
                0, 0, 55660
            ]
        },
        "material": {
            "solidColor": {
                "color": {
                    "rgba": [0, 0, 255, 255]
                }
            }
        },
        "outline": [
            {
                "boolean": true
            }
        ],
        "perPositionHeight": [
            {
                "boolean": true
            }
        ],
        "show": [
            {
                "interval": "2012-08-04T00:00:00Z/2012-08-04T02:00:54.9962195740191Z",
                "boolean": true
            }
        ]
    }
}];

var viewer = new Cesium.Viewer('cesiumContainer');
var dataSourcePromise = Cesium.CzmlDataSource.load(czml);
viewer.dataSources.add(dataSourcePromise);
viewer.zoomTo(dataSourcePromise);

Does it make more sense to default to false?  Since not defining show defaults to true does that make more sense?  I don't know the answer, just trying to reason my way to one and wondering what you were thinking?

My thinking is if show is undefined, the behavior is whatever we decide we want it to be, and undefined is usually false.  But I guess since we normally default show to true that could make sense too.  We chose to default color to white in this similar situation.

My thinking is if show is undefined, the behavior is whatever we decide we want it to be, and undefined is usually false.

Sounds like clear enough reasoning to me.  I'll merge when green.  Thanks!

@mramato ready


Application should not exit after "connection refused" to cattle url

In the case of the rancher instance going down (or not being up yet -- think docker-compose), I think the application should continue to retry to let the instance come up.

Good point. I'll get that fixed.

Fixed in v1.0.1


🌐 Add Traditional Chinese translation for docs/zh-hant/docs/tutorial/first-steps.md

將其餘「匯入」修改成「引入」
其餘「創建」修改成「建立」

Also thanks for your review!

Thank you for the help! @codingjenny :rocket:
And thanks for the review @mattwang44 :mag:


[HxInputDate] Does not work completely with [HxFormState]

Hi
I am using version "4.6.13-pre1"  and have found an issue with [HxInputDate] and [HxFormState]
<EditForm Model="@model">
    <DataAnnotationsValidator />

    <HxSwitch Text="Enabled"<EMAIL_ADDRESS>Hint="Toggle the switch to enabled/disable form state." />

    <HxFormState<EMAIL_ADDRESS>        <HxInputText Label="Text value"<EMAIL_ADDRESS>Enabled="true" />
        <HxCheckbox Text="Bool value"<EMAIL_ADDRESS>/>
        <HxInputDate Label="Date" @bind-Value="@value" Enabled="true" />
        <HxSubmit Text="Validate" Color="ThemeColor.Primary" />
    </HxFormState>

</EditForm>
@code {
    private Model model = new Model();
    public DateTime value { get; set; }
    private class Model
    {
        public bool Enabled { get; set; } = false; // set to false so everything in HxFormState should be disabled unless the control overrides this.

        [Required]
        public string StringValue { get; set; }

        public Boolean BooleanValue { get; set; }
    }
}

Expected Result:

InputText will be enabled as it has been set to always be True - Pass
Checkbox will be only enabled or disabled based on switch, On load it will be Disabled - Pass
HxInputDate will be enabled as it has been Set to always be True - Pass
HxINputDate  calendar popup will be enabled as it part of  the control - Fail  Today & Clear are disabled

@StarGazer202424 Thank you for reporting this issue.
My very first impression after checking the implementation: this is a bug.

@StarGazer202424 Thank you for reporting this issue. My very first impression after checking the implementation: this is a bug.

Thanks for checking it out so quickly to determine if it was a bug or not.


Embedding one entity nested in another doesn't work correctly when using toHal()

Embedding an entity that defines a toHal method on it inside another method with a toHal method on it works perfectly well, iff the embedding is done by use of configuration. If it is done using code in the toHal method of the outer entity then it does not work as expected.
The following works as expected:
function InnerModel(id, name, owner) {
    this.id = id;
    this.name = name;
    this.owner = owner;
}

InnerModel.prototype.toHal = function(rep, next) {
    rep.link('owner', '/users/' + this.owner.id);
    next();
}

function PageModel(items, totalCount) {
    this.items = items;
    this.totalCount = totalCount;
}

PageModel.prototype.toHal = function(rep, next) {
    rep.link('first', '?index=0'); // To prove that the toHal method runs
    next();
}

server.route({
    method: 'GET',
    path: '/items',
    config: {
        handler: (req, reply) => {
            reply(new PageModel([new InnerModel(1, 'Name', {id: 1001, name: 'Graham'})], 10));
        },
        tags: ['api'],
        plugins: {
            hal: {
                embedded: {
                    item: {
                        path: 'items',
                        href: './{item.id}'
                    }
                }
            }
        }
    }
});

And this produces the following output:
{
  "_links": {
    "self": {
      "href": "/items"
    },
    "first": {
      "href": "?index=0"
    }
  },
  "totalCount": 10,
  "_embedded": {
    "item": [
      {
        "_links": {
          "self": {
            "href": "/items/1"
          },
          "owner": {
            "href": "/users/1001"
          }
        },
        "id": 1,
        "name": "Name",
        "owner": {
          "id": 1001,
          "name": "Graham"
        }
      }
    ]
  }
}

However, if I try and do this with code instead, as follows:
function InnerModel(id, name, owner) {
    this.id = id;
    this.name = name;
    this.owner = owner;
}

InnerModel.prototype.toHal = function(rep, next) {
    rep.link('owner', '/users/' + this.owner.id);
    next();
}

function PageModel(items, totalCount) {
    this.items = items;
    this.totalCount = totalCount;
}

PageModel.prototype.toHal = function(rep, next) {
    this.items.forEach(function(i) {
        rep.embed('items', './' + i.id, i);
    });
    rep.ignore('items');
    rep.link('first', '?index=0'); // To prove that the toHal method runs
    next();
}

server.route({
    method: 'GET',
    path: '/items',
    config: {
        handler: (req, reply) => {
            reply(new PageModel([new InnerModel(1, 'Name', {id: 1001, name: 'Graham'})], 10));
        },
        tags: ['api'],
        plugins: {
            hal: {
            }
        }
    }
});

And this produces the following output:
{
  "_links": {
    "self": {
      "href": "/items"
    },
    "first": {
      "href": "?index=0"
    }
  },
  "totalCount": 10,
  "_embedded": {
    "item": [
      {
        "_links": {
          "self": {
            "href": "/items/1"
          }
        },
        "id": 1,
        "name": "Name",
        "owner": {
          "id": 1001,
          "name": "Graham"
        }
      }
    ]
  }
}

Note in this case the inner Item does not have a link of "owner" even though the actual InnerModel class is exactly the same in both cases. The only difference is the one embeds the items using the "embedded" configuration and the other does it using "rep.embed" in the toHal method.
Note that I wanted to do it this way so that I can have a single PageModel class that is used everywhere instead of repeating the configuration everywhere that I want to do this.

Unless I have missed something this is still an issue in ^5.0.1.
Does anyone know of a workaround?
Thanks

Hey there,
I need to go through and clean up these old tickets. The best way to implement toHal() now is to make use of the entity's configure() method. its simpler and it works just like configuring the route:
        PageModel.prototype.toHal = function (rep, next) {
            rep.configure({
                embedded: {
                    item: {
                        path: 'items',
                        href: './{item.id}'
                    }
                }
            }, next);
        };

Hi @bleupen,
Thanks a lot for the heads-up, that's really helped simplify a lot of my models toHal() methods and HAPI plugin config.
Cheers
Alex


Update the HTTP request library used

We use the https module which is built in NodeJS. However, we should update our codebase to a more popular, fresh and better maintained library in order to make this action more solid. We need to assess the following 3 options, pick one and replace https with that:

got
axios
node-fetch

Out criteria should be:

the ease of use
the ease of maintainability
the frequency of code updates
the weekly downloads

Based on the analysis made, it seems that the best module to be used is got.


error with sentry appender

I'm looking at moving from logging-rails + lograge to semantic logger. It looks great so far.
I'm trying to add the sentry appender. I added in my config:
SemanticLogger.add_appender(:appender => :sentry, :level => :error)

When I log an error, I bump into this error:
2016-09-07 09:41:59.750979 E [11695:SemanticLogger::AppenderThread] SemanticLogger -- Appender thread: Failed to log to appender: #<SemanticLogger::Appender::Sentry:0x00000003b3f738 @formatter=#<SemanticLogger::Formatters::Raw:0x00000003b3cc68 @precision=6, @time_format="%Y-%m-%d %H:%M:%S.%6N", @log_host=true, @log_application=true>, @application=nil, @host=nil, @filter=nil, @name="SemanticLogger::Appender::Sentry", @level_index=4, @level=:error> -- Exception: NoMethodError: undefined method `user' for #<Hash:0x0000000287c718>
/usr/lib/ruby/gems/2.2.0/gems/sentry-raven-1.2.0/lib/raven/event.rb:63:in `initialize'
/usr/lib/ruby/gems/2.2.0/gems/sentry-raven-1.2.0/lib/raven/event.rb:102:in `new'
/usr/lib/ruby/gems/2.2.0/gems/sentry-raven-1.2.0/lib/raven/event.rb:102:in `from_message'
/usr/lib/ruby/gems/2.2.0/gems/sentry-raven-1.2.0/lib/raven/instance.rb:118:in `capture_type'
/usr/lib/ruby/gems/2.2.0/bundler/gems/semantic_logger-4278b62a1445/lib/semantic_logger/appender/sentry.rb:60:in `log'
/usr/lib/ruby/gems/2.2.0/bundler/gems/semantic_logger-4278b62a1445/lib/semantic_logger/logger.rb:191:in `block in appender_thread'
/usr/lib/ruby/gems/2.2.0/bundler/gems/semantic_logger-4278b62a1445/lib/semantic_logger/logger.rb:189:in `each'
/usr/lib/ruby/gems/2.2.0/bundler/gems/semantic_logger-4278b62a1445/lib/semantic_logger/logger.rb:189:in `appender_thread'
/usr/lib/ruby/gems/2.2.0/bundler/gems/semantic_logger-4278b62a1445/lib/semantic_logger/logger.rb:165:in `block in start_appender_thread'

Note that this log is from Sidekiq, since my sentry is set to report asynchronously.
If I manually report a message to sentry from within a Sidekiq job, it does work. e.g.
class SomeWorker
  include Sidekiq::Worker
  def perform
    Raven.capture_message('this error goes to sentry')
    logger.error('this error does not')
  end
end

logger.error fails to report to sentry also if I call it outside the sidekiq job.
Any clues / tips on how to resolve this? did I set up something wrong?

If I comment out the context from the message, then it seems to work.

@mhenrixon are you able to help?

I'll dig into it sometime tonight

don't mean to nag, but did you have a chance to take a look, @mhenrixon ? I'm happy to submit a PR that removes this context, but maybe there's a better fix for this?

@mhenrixon @gingerlime I need to publish a new gem version, should we wait for this to be resolved?

I would love to get feedback from @mhenrixon or anyone else who might know, but the fix on the PR was the only way I could get it to work with sentry. Having said that, we're still not using semantic logger yet in production (partly because we're waiting for this), so all my experience was based on fiddling around with this on my dev box.

Let me have a look at it, I'll ping you in a few minutes.

According to https://docs.sentry.io/clients/ruby/context/ @gingerlime's change is the right approach! 👍

Thank you @gingerlime and @mhenrixon.
This will be included in the new gem that will be published shortly.

Great news! Thanks @mhenrixon and @reidmorrison for getting this merged.


All Icons sharing the same colour set (mine)

no clue, happened in 1.0.5 for some reason and has not gone away

do you have the "Same dual color" mod installed? this is a conflict with that mod

ohh that's why that happens, thanks


Migrate from Tipsi Stripe & Payment Using Custom Card Field

Hi,
I have been using tipsi-stripe in my app to make payments. But with new google play policies, I am unable to upload apks to the play store.
So here is my flow which I use to pay using stripe via tipsi-stripe
I have my own custom card field which collects name, card number, expiry month, expiry year, and cvv.
With these details I create a token. (https://tipsi.github.io/tipsi-stripe/docs/createtokenwithcard.html)
Using the generated token, I create a payment method for the card.(https://tipsi.github.io/tipsi-stripe/docs/paymentIntents.html)
Once payment method is generated, I use the payment method id to and send it to backend along with the currency and cvv to pay the desired amount.
The backend creates payment intents and proceeds further. If any authorization is required for the payment, the backend returns with appropriate message and payment intent is confirmed on client side using tipsi-stripe using await stripe.authenticatePaymentIntent({ clientSecret: "..." }), passing in the client_secret that I receive. (https://tipsi.github.io/tipsi-stripe/docs/paymentIntents.html)
With the new official sdk in place, I am totally lost on how to replicate the same with this official SDK. And also enable to save cards for future.
Please help

I have my own custom card field which collects name, card number, expiry month, expiry year, and cvv.

This is not supported as it has PCI compliance implications. Please use the CardField component to collect card details: https://stripe.com/docs/payments/accept-a-payment-synchronously?platform=react-native#react-native-create-checkout-page

With these details I create a token. (https://tipsi.github.io/tipsi-stripe/docs/createtokenwithcard.html)
Using the generated token, I create a payment method for the card.(https://tipsi.github.io/tipsi-stripe/docs/paymentIntents.html)

Tokens are legacy, please create a payment method directly: https://stripe.com/docs/payments/accept-a-payment-synchronously?platform=react-native#react-native-collect-card-details

The backend creates payment intents and proceeds further. If any authorization is required for the payment, the backend returns with appropriate message and payment intent is confirmed on client side using tipsi-stripe using await stripe.authenticatePaymentIntent({ clientSecret: "..." }), passing in the client_secret that I receive. (https://tipsi.github.io/tipsi-stripe/docs/paymentIntents.html)

Use handleCardAction: https://stripe.com/docs/payments/accept-a-payment-synchronously?platform=react-native#react-native-handle-next-actions
Hope this helps, thanks for taking the effort to migrate, we appreciate it! :)

@thorsten-stripe It would be more helpful, If you help me with saving cards for future use

https://stripe.com/docs/payments/save-and-reuse?platform=react-native

Thanks @thorsten-stripe :)


Allow snapshots to be used as templates

To support this change, the cloning process has to be aware of whether the
source is a snapshot or an image. Instances can be created from an image in a
single request; snapshots however cannot. Instead the cloning process detects
whether or not the source is a snapshot via the location url, and if it's a
snapshot a disk is created first before being attached to an instance.

@agrare @blomquisg
Note the reintroduction of disk.wait_until { ready? }. Previously we didn't want this code in the cloning path due to the fact that it might tie up a thread for a while. I'm going to suggest we leave this wait_until call for now for the following reasons:

The servers.create call already has a wait_until call in the fog library
Most operations should complete within a few seconds or so - only under failure scenarios will operations take an arbitrary amount of time (which is where making each disk provision / instance provision part of the state machine would help).

Comments?

Couple nitpicks.
@gmcculloug can you have someone look at the provisioning logic, specifically, as @selmanj pointed out, the use of disk.wait_for { ready? }.

@bdunne Please review.  See comments about disk.wait_for.

I'm still not comfortable with the disk.wait_for in our code.  I'd rather see the prepare_provision state make the call to create the disk, get the id, then requeue_phase until the disk is ready.  Once the disk is ready then it could super to continue.

@selmanj Openstack is doing something similar to what you need.  You may want to take a look at this https://github.com/ManageIQ/manageiq/pull/7742

@bdunne Thanks, will do!

@bdunne https://github.com/ManageIQ/manageiq/pull/7844/commits/adf6d6094d3f18f869b9bbb3998adab92e4c358a should take care of waiting for the disk to be ready without disk.wait_for, can you take a look?

@agrare Looks great, thanks! :+1:

@selmanj looks like just a couple more comments to address from @durandom.
@bdunne, @agrare are you both good with everything else?

@blomquisg the rest looks good to me

@blomquisg agreed, no other comments.

@blomquisg I neglected to mention I addressed @durandom's comments. I updated the comments and the change should be ready for review.

@selmanj it would be great if you could make rubocop happy, at least for the :red_circle: and :large_orange_diamond:
A great way to do this is rubocop-git which accepts git diff syntax

@durandom Sorry, I missed those.  Will fix.
Thanks for the link!  Much easier than running manually!


Split semantic information from file text contents

Its possible to have scenarios where we get the file contents and later discover the semantic information. Given that, it would be good to decouple them.

More details here are that file contents should not contain project information (project id and project relative path). Instead, there should a be another entity which maps repo relative path to project information (project id and project relative path). As things stand, this means that text search would perform two queries, one for the text matches with repo relative path, then another to get the project id and project relative path for the matches.

Reopening. Though this workflow should work in theory, it should be validated in real world first once we set up automated ingestion for a repo. This could have two levels of automation. One strictly for uploading text content. Another for semantic info. The text upload might do more than just scan what's on disk. Instead it might trace back through source control uploading even prior commits.


Override of CV pattern change from pattern screen?

Would it be possible to add an override of the current pattern when its set to change via CV input, from the pattern screen?
e.g. I am changing the patterns for all tracks from CV input 1 from another sequencer. however, I want a single channel on Performer to be able to override this so I can bring other patterns in and out. I would exclude this from the CV input usually, but I want it to follow to main arrangement most of the time and just let me pick and choose when to deviate from this.

What you are basically asking for is an override of an override (cv input being the first override). This is not something that makes a lot of sense in general and I like to keep the routing system generic and uniform.
I'd suggest to use two external cv inputs. Use an external switch to control if the second cv is a copy of the first or from another source like a DC fader.

Yes the reason for this is that I’m arranging the Performer patterns from another sequencer. This forms the main arrangement. Then I was hoping to change just certain drum patterns while playing live.
Therefore needing the override of the override.
Sent from my iPhone

On 14 Jun 2020, at 19:52, Simon Kallweit<EMAIL_ADDRESS>wrote:

What you are basically asking for is an override of an override (cv input being the first override). This is not something that makes a lot of sense in general and I like to keep the routing system generic and uniform.
I'd suggest to use two external cv inputs. Use an external switch to control if the second cv is a copy of the first or from another source like a DC fader.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Change build script run to use if instead of test

It turns out the if test evaluates to false, it exits with a non-zero. Replace with an if statement.
Should have RTFM.
$ man test
The test utility evaluates the expression and, if it evaluates to true, returns a zero (true) exit status; otherwise it returns 1 (false).  If there is no expression, test also returns 1 (false).

Going to go ahead a self-approve/merge.


[ll] Metal heaps and offsets/aliasing

Metal heaps do now allow us to specify offsets when performing allocations. This presents a few (related) problems:

Aliasing is allowed on heaps, but only by specifying that an existing resource may now be freely aliased by future allocations. This limits our ability to translate aliasing in the user's (emulated) view of the memory space to aliasing on the device.
Heaps require the user to query how much memory is available at a particular alignment, which may vary depending on how the driver decided to place the existing resources. There is no reason that this would match up with how the user has laid out memory from their perspective, and could result in an allocation failing exogenously.
The complex aliasing interactions allowed in Vulkan (e.g. when writing to one host-accessible alias and reading the same data from another) have no native equivalent. Modifying a resource that is aliased with another leads to the second's content becoming undefined.

A possibility for dealing with (1) and (2) would be to simply fall back on allocation of resources off of the heap when the user's allocation pattern cannot be mapped properly; the user would simply be given a pass if they would have technically invoked undefined behavior by incompatible access of aliased resources.
I don't think there is any way to work around (3). In theory we could simulate such aliasing by allocating a buffer and making texture views of range within it, but such views have lots of restrictions in the API (2D textures only, alignment, etc.) and it would be difficult to detect when we needed to do that without inducing a lot of overhead.
For the purposes of https://github.com/gfx-rs/gfx/issues/1226, IIRC Vulkan implementations are allowed to advertise that they do not support linear tiling for any formats, which would prevent a user from attempting to invoke (3) without violating the API.

This looks like one of the cases (in a series) where Metal puts poles in our wheels for being too high level.
It's tempting to just drop MTLHeap backing completely. Given no reasonable way to support resource aliasing on Metal, we should get a capability flag saying whether aliasing is supported in general. Given no aliasing, we can just ignore the user offsets and allocate wherever Metal wants on the heap.


Implementing notify for Incoming Calls

This pull request introduces the ability to notify Flutter from iOS when there is an incoming call.
closes #128

@tungs0ul have you checked the new feature on your side for both platforms?

yup i have tested for both

@tungs0ul just now version 2.6.0 with your changes was published, thank you for your contribution


Cannot load solution containing solution folders

Code:
// initialPath: "C:\Users\Kent\Repository\XXX\Src\XXX.sln"
var manager = new AnalyzerManager(initialPath);

Results in:
System.ArgumentException: 'The path C:\Users\Kent\Repository\XXX\Src\Platform could not be found.'

The solution includes a solution folder in it called "Platform":
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Platform", "Platform", "{43E194F0-7558-486E-AADA-A1DBB8855359}"
EndProject

This #15 change fixes this issue 👍

Looks like @daveaglick's just released a new version to NuGet including the fix @kentcb

@JosephWoodward just got around to trying this, and can confirm that the solution now loads correctly 👍
I've run into another issue, which I'll open a separate issue for.


Fix trianglemesh_to_voxelgrid

Thanks for the great work.
I installed Kaolin using the python setup.py install command, in a conda env with:
Ubuntu 16.04
pytorch 1.5.1
torchvision 0.6.1
And the following bug occurred in my environment.
Hello3Dworld tutorial - strange voxelgrid, pptk viewer permission error #185
I don't know the bug that happens to everyone, but I fixed it like this PR. Please check.
without this PR

with this PR

Changing here caused errors in other parts of the site, such as shapenet.ShapeNet_Voxels(). I'll go over it again.

This is new PR https://github.com/NVIDIAGameWorks/kaolin/pull/286


[Event Request] Report 5198 " Add Contacts" – OnPostReport

[Event Request] Report 5198 " Add Contacts" – OnPostReport
Could we please have a in publisher OnPostReportOnBeforeUpdateSegLines in Trigger OnPostReport
Report 5198 " Add Contacts"?
    trigger OnPostReport()
    begin
        if ExpandCompanies then
            AddPeople;
        if AllowCoRepdByContPerson then
            AddCompanies;

        UpdateSegLines;

        // >>>>>>>>
        OnPostReportOnBeforeUpdateSegLines("Segment Header");
        // <<<<<<<<
    end;
..
// >>>>>>>>
[IntegrationEvent(false, false)]
local procedure OnPostReportOnBeforeUpdateSegLines(var SegmentHeader: Record "Segment Header")
begin
end;
// <<<<<<<<

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Fix Angle Helper arc "jumping"

Previously, the Angle Helper arc would jump around erratically when
changing the angle. Turns out that rounding the values used to generate
the arc caused some erratic behaviour.

Rounding to two decimal places instead of to int results in a much smoother look, while still giving us some testable amount of determinism.

Yay, LGTM!


Eas Build Issue Android

Task :expo-modules-core:compileDebugKotlin FAILED
807
[stderr]

e: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/AndroidExtensions.kt:10:59 Unresolved reference: TIRAMISU
808
[stderr]
e: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/AndroidExtensions.kt:11:30 Too many arguments for public open fun <T : Parcelable!> getParcelableExtra(p0: String!): T? defined in android.content.Intent
809
[stderr]
e: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/AndroidExtensions.kt:19:59 Unresolved reference: TIRAMISU
810
[stderr]
e: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/AndroidExtensions.kt:20:25 Too many arguments for public open fun <T : Parcelable!> getParcelable(p0: String?): T? defined in android.os.Bundle
811
[stderr]
e: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/AndroidExtensions.kt:28:59 Unresolved reference: TIRAMISU
812
[stderr]
e: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/AndroidExtensions.kt:28:69 Type mismatch: inferred type is Serializable? but T? was expected
813
[stderr]
e: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/AndroidExtensions.kt:29:27 Too many arguments for public open fun getSerializable(p0: String?): Serializable? defined in android.os.Bundle
814
[stderr]
FAILURE: Build failed with an exception.
815
[stderr]

What went wrong:
816
[stderr]

Execution failed for task ':expo-modules-core:compileDebugKotlin'.
817
[stderr]

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
818
[stderr]

Compilation error. See log for more details
819
[stderr]

Try:
820
[stderr]

Run with --stacktrace option to get the stack trace.
821
[stderr]

Run with --info or --debug option to get more log output.
822
[stderr]

Run with --scan to get full insights.
823
[stderr]

Get more help at https://help.gradle.org/.
824
[stderr]

BUILD FAILED in 6m 56s
825
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
826
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
827
For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
828
518 actionable tasks: 518 executed
829
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

What version of expo are you on? And have you updated the android sdk versions as described in the readme?

The error logs don't indicate this is an issue originating from the package, just tested an eas build and it is working as expected.


Get player stats

Is there any way to get the player kills in the current match?

Not with the first-party api, no. For that, you'd need something like Overwolf: https://overwolf.github.io/api/games/events/valorant

From what I saw, it is for javascript. Can i use it in python?

I haven't used overwolf so I'm not sure. That would be something to ask them.


pantheon.switchboard-plug-sound: 2.2.5 -> 2.2.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for pantheon.switchboard-plug-sound is: "Switchboard Sound Plug"
meta.homepage for pantheon.switchboard-plug-sound is: "https://github.com/elementary/switchboard-plug-sound"
meta.changelog for pantheon.switchboard-plug-sound is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.2.6 with grep in /nix/store/fbqy551rsmcsy1a32d3saw9bxadyv09i-switchboard-plug-sound-2.2.6

directory tree listing: https://gist.github.com/f32e0912d4d850e3d8d01d039dacfea8

du listing: https://gist.github.com/2a4a53e7b0393f5798716876ca458264

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

15 total rebuild path(s)

5 package rebuild(s)

5 x86_64-linux rebuild(s)
5 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
5 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
pantheon.elementary-greeter
pantheon.switchboard-plug-sound
pantheon.switchboard-with-plugs
pantheon.wingpanel-applications-menu
pantheon.wingpanel-with-indicators

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fbqy551rsmcsy1a32d3saw9bxadyv09i-switchboard-plug-sound-2.2.6
ls -la /nix/store/fbqy551rsmcsy1a32d3saw9bxadyv09i-switchboard-plug-sound-2.2.6/bin

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

5 packages built:

pantheon.elementary-greeter
pantheon.switchboard-plug-sound
pantheon.switchboard-with-plugs
pantheon.wingpanel-applications-menu
pantheon.wingpanel-with-indicators

Maintainer pings
cc @worldofpeace for testing.

Duplicate of https://github.com/NixOS/nixpkgs/pull/130380.


Pruning:  TypeError: to() received an invalid combination of arguments

Describe the issue:
Hello, I'm using NNI to prune the detection model ssdlite-mobilenetV2 in mmdetection (https://github.com/open-mmlab/mmdetection). And an error as shown in the title occurred when running the function ModelSpeedup(model, torch.rand(1, 3, 256, 256).cuda(), masks).speedup_model().  The forward process works fine while the  update mask for .aten::to fails. Is there any solutions. Thanks!

Environment:

NNI version: 2.9
Training service (local|remote|pai|aml|etc):local
Client OS: centos7 linux
Server OS (for remote mode only):
Python version:3.8.13
PyTorch/TensorFlow version: torch 1.12.0+cu102
Is conda/virtualenv/venv used?:conda
Is running in Docker?:no

Configuration:

Experiment config (remember to remove secrets!):
Search space:

Log message:
[2022-09-28 20:28:03] start to speedup the model
[2022-09-28 20:28:07] infer module masks...
[2022-09-28 20:28:07] Update mask for backbone.conv1.conv
[2022-09-28 20:28:07] Update mask for .aten::to.249
Traceback (most recent call last):
File "demo/image_demo.py", line 92, in
main(args)
File "demo/image_demo.py", line 58, in main
ModelSpeedup(model, torch.rand(1, 3, 256, 256).cuda(), masks).speedup_model()
File "/home/dsplxp/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/nni/compression/pytorch/speedup/compressor.py", line 543, in speedup_model
self.infer_modules_masks()
File "/home/dsplxp/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/nni/compression/pytorch/speedup/compressor.py", line 380, in infer_modules_masks
self.update_direct_sparsity(curnode)
File "/home/dsplxp/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/nni/compression/pytorch/speedup/compressor.py", line 234, in update_direct_sparsity
_auto_infer = AutoMaskInference(
File "/home/dsplxp/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/nni/compression/pytorch/speedup/infer_mask.py", line 80, in init
self.output = self.module(*dummy_input)
File "/home/dsplxp/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/nni/compression/pytorch/speedup/jit_translate.py", line 244, in call
result = self.func(*self.positional, **self.keyword)
TypeError: to() received an invalid combination of arguments - got (memory_format=NoneType, copy=bool, non_blocking=bool, pin_memory=NoneType, device=torch.device, layout=torch.layout, dtype=torch.dtype, ), but expected one of:

(torch.device device, torch.dtype dtype, bool non_blocking, bool copy, *, torch.memory_format memory_format)
(torch.dtype dtype, bool non_blocking, bool copy, *, torch.memory_format memory_format)
(Tensor tensor, bool non_blocking, bool copy, *, torch.memory_format memory_format)

hello @lixiaopeng123456 , thanks for your report, this is a known issue and will be fixed in next release.
@Louis-J could you give a workaround for current nni version?

Thanks for your reply, looking forward to the next version.

hello @lixiaopeng123456 , thanks for your report, this is a known issue and will be fixed in next release.
@Louis-J could you give a workaround for current nni version?

Thanks for your reply, looking forward to the next version.

hello @lixiaopeng123456 , thanks for your report, this is a known issue and will be fixed in next release.
@Louis-J could you give a workaround for current nni version?

@J-shang - is this target to 2.9.1 or later?

hello @lixiaopeng123456 , thanks for your report, this is a known issue and will be fixed in next release.
@Louis-J could you give a workaround for current nni version?

@J-shang - is this target to 2.9.1 or later?

Hope we could solve this in 2.9.1

Does the problem only occur on gpu? I can't reproduce it on cpu in ssdlite_mobilenetv2_scratch_600e_coco.

Yes,  the problem occur on gpu.  I will test it on cpu and get back to you. Thanks!

Does the problem only occur on gpu? I can't reproduce it on cpu in ssdlite_mobilenetv2_scratch_600e_coco.

Yes, the problem occur on gpu. I will test it on cpu and get back to you. Thanks!

Does the problem only occur on gpu? I can't reproduce it on cpu in ssdlite_mobilenetv2_scratch_600e_coco.

The problem occur on cpu.

test code：python demo/image_demo.py tests/data/10.jpg configs/ssd/ssdlite_mobilenetv2_scratch_600e_hand.py work_dirs/ssdlite_mobilenetv2_scratch_600e_hand/epoch_120.pth --device cpu --score-thr 0.5
My test.py：
Copyright (c) OpenMMLab. All rights reserved.
import asyncio
from argparse import ArgumentParser
from functools import partial
from mmdet.apis import (async_inference_detector, inference_detector,
init_detector, show_result_pyplot)
import torch
import pdb
def parse_args():
parser = ArgumentParser()
parser.add_argument('img', help='Image file')
parser.add_argument('config', help='Config file')
parser.add_argument('checkpoint', help='Checkpoint file')
parser.add_argument('--out-file', default=None, help='Path to output file')
parser.add_argument(
'--device', default='cuda:0', help='Device used for inference')
parser.add_argument(
'--palette',
default='coco',
choices=['coco', 'voc', 'citys', 'random'],
help='Color palette used for visualization')
parser.add_argument(
'--score-thr', type=float, default=0.3, help='bbox score threshold')
parser.add_argument(
'--async-test',
action='store_true',
help='whether to set async options for async inference.')
args = parser.parse_args()
return args
def main(args):
# build the model from a config file and a checkpoint file
model = init_detector(args.config, args.checkpoint, device=args.device)
# test a single image
# result = inference_detector(model, args.img)
config_list = [{
    'sparsity_per_layer': 0.5,
    'op_types': ['Conv2d']
}, {
    'exclude': True,
    'op_names': ['Linear','bn']
}]
from nni.compression.pytorch.pruning import L1NormPruner
pruner = L1NormPruner(model, config_list)
# show the wrapped model structure, `PrunerModuleWrapper` have wrapped the layers that configured in the config_list.
# print(model)
# %%
# compress the model and generate the masks
_, masks = pruner.compress()
# show the masks sparsity
for name, mask in masks.items():
    print(name, ' sparsity : ', '{:.2}'.format(mask['weight'].sum() / mask['weight'].numel()))
pruner._unwrap_model()
# speedup the model, for more information about speedup, please refer :doc:`pruning_speedup`.
from nni.compression.pytorch.speedup import ModelSpeedup
print(model)
ModelSpeedup(model, torch.rand(1, 3, 256, 256), masks).speedup_model()

if name == 'main':
args = parse_args()
if args.async_test:
asyncio.run(async_main(args))
else:
main(args)

thanks, and please offer the ssdlite_mobilenetv2_scratch_600e_hand.py.

i didn't reproduce it on ssdlite_mobilenetv2_scratch_600e_coco, so i think only on ssdlite_mobilenetv2_scratch_600e_hand it can be reproduced

i didn't reproduce it on ssdlite_mobilenetv2_scratch_600e_coco, so i think only on ssdlite_mobilenetv2_scratch_600e_hand it can be reproduced

ssdlite_mobilenetv2_scratch_600e_hand.py is as follows：
base = [
'../base/datasets/coco_detection.py', '../base/default_runtime.py'
]
model = dict(
type='SingleStageDetector',
backbone=dict(
type='MobileNetV2',
out_indices=(4, 7),
norm_cfg=dict(type='BN', eps=0.001, momentum=0.03),
init_cfg=dict(type='TruncNormal', layer='Conv2d', std=0.03)),
neck=dict(
type='SSDNeck',
in_channels=(96, 1280),
out_channels=(96, 1280, 512, 256, 256, 128),
level_strides=(2, 2, 2, 2),
level_paddings=(1, 1, 1, 1),
l2_norm_scale=None,
use_depthwise=True,
norm_cfg=dict(type='BN', eps=0.001, momentum=0.03),
act_cfg=dict(type='ReLU6'),
init_cfg=dict(type='TruncNormal', layer='Conv2d', std=0.03)),
bbox_head=dict(
type='SSDHead',
in_channels=(96, 1280, 512, 256, 256, 128),
num_classes=1,
use_depthwise=True,
norm_cfg=dict(type='BN', eps=0.001, momentum=0.03),
act_cfg=dict(type='ReLU6'),
init_cfg=dict(type='Normal', layer='Conv2d', std=0.001),
    # set anchor size manually instead of using the predefined
    # SSD300 setting.
    anchor_generator=dict(
        type='SSDAnchorGenerator',
        scale_major=False,
        strides=[16, 32, 64, 107, 160, 320],
        ratios=[[2, 3], [2, 3], [2, 3], [2, 3], [2, 3], [2, 3]],
        min_sizes=[48, 100, 150, 202, 253, 304],
        max_sizes=[100, 150, 202, 253, 304, 320]),
    bbox_coder=dict(
        type='DeltaXYWHBBoxCoder',
        target_means=[.0, .0, .0, .0],
        target_stds=[0.1, 0.1, 0.2, 0.2])),
# model training and testing settings
train_cfg=dict(
    assigner=dict(
        type='MaxIoUAssigner',
        pos_iou_thr=0.5,
        neg_iou_thr=0.5,
        min_pos_iou=0.,
        ignore_iof_thr=-1,
        gt_max_assign_all=False),
    smoothl1_beta=1.,
    allowed_border=-1,
    pos_weight=-1,
    neg_pos_ratio=3,
    debug=False),
test_cfg=dict(
    nms_pre=1000,
    nms=dict(type='nms', iou_threshold=0.45),
    min_bbox_size=0,
    score_thr=0.02,
    max_per_img=200))

cudnn_benchmark = True
dataset settings
dataset_type = 'CocoDataset'
data_root = 'data/onehand10k/'
img_norm_cfg = dict(
mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True)
train_pipeline = [
dict(type='LoadImageFromFile'),
dict(type='LoadAnnotations', with_bbox=True),
dict(
type='Expand',
mean=img_norm_cfg['mean'],
to_rgb=img_norm_cfg['to_rgb'],
ratio_range=(1, 4)),
dict(
type='MinIoURandomCrop',
min_ious=(0.1, 0.3, 0.5, 0.7, 0.9),
min_crop_size=0.3),
dict(type='Resize', img_scale=(320, 320), keep_ratio=False),
dict(type='RandomFlip', flip_ratio=0.5),
dict(
type='PhotoMetricDistortion',
brightness_delta=32,
contrast_range=(0.5, 1.5),
saturation_range=(0.5, 1.5),
hue_delta=18),
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad', size_divisor=320),
dict(type='DefaultFormatBundle'),
dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels']),
]
test_pipeline = [
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
img_scale=(320, 320),
flip=False,
transforms=[
dict(type='Resize', keep_ratio=False),
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad', size_divisor=320),
dict(type='ImageToTensor', keys=['img']),
dict(type='Collect', keys=['img']),
])
]
data = dict(
samples_per_gpu=72,
workers_per_gpu=4,
train=dict(
delete=True,
type='RepeatDataset',  # use RepeatDataset to speed up training
times=5,
dataset=dict(
type=dataset_type,
ann_file=data_root + 'annotations/all_train.json',
img_prefix=data_root,
pipeline=train_pipeline)),
val=dict(pipeline=test_pipeline),
test=dict(pipeline=test_pipeline))
optimizer
optimizer = dict(type='SGD', lr=0.015, momentum=0.9, weight_decay=4.0e-5)
optimizer_config = dict(grad_clip=None)
learning policy
lr_config = dict(
policy='CosineAnnealing',
warmup='linear',
warmup_iters=500,
warmup_ratio=0.001,
min_lr=0)
runner = dict(type='EpochBasedRunner', max_epochs=120)
Avoid evaluation and saving weights too frequently
evaluation = dict(interval=5, metric='bbox')
checkpoint_config = dict(interval=5)
custom_hooks = [
dict(type='NumClassCheckHook'),
dict(type='CheckInvalidLossHook', interval=50, priority='VERY_LOW')
]
NOTE: auto_scale_lr is for automatically scaling LR,
USER SHOULD NOT CHANGE ITS VALUES.
base_batch_size = (8 GPUs) x (24 samples per GPU)
auto_scale_lr = dict(base_batch_size=192)

thanks. i'll try it

i didn't reproduce it on ssdlite_mobilenetv2_scratch_600e_coco,

Thanks, I will also test it on ssdlite_mobilenetv2_scratch_600e_coco. If it is ok, i will check the difference.

thanks. i'll try it
The problem still occurs when i test it on ssdlite_mobilenetv2_scratch_600e_coco. Can you provide your test code and you environment? I wonder if there is something wrong with my code. Thanks!

thanks. i'll try it

The problem occurs on ssdlite_mobilenetv2_scratch_600e_coco. Can you provide your code and environment? I wonder if there is something wrong with my test code. Thanks!

sorry, I can't reproduce the issue both on cpu and gpu in both ssdlite_mobilenetv2_scratch_600e_coco and ssdlite_mobilenetv2_scratch_600e_hhand.

I think the point difference comes comes from elsewhere. could you please add the code below and show me the result?
code:
    print('type(model.backbone.conv1):', type(model.backbone.conv1))
    print('model.backbone.conv1:', model.backbone.conv1)
    conv1_in_dummy = torch.randn(8,3,256,256)
    conv1_out_dummy = model.backbone.conv1(conv1_in_dummy)
    print('conv1_out_dummy.shape:', conv1_out_dummy.shape)
    traced_conv1 = torch.jit.trace(model.backbone.conv1, conv1_in_dummy)
    print('traced_conv1.graph:', traced_conv1.graph)
    torch._C._jit_pass_inline(traced_conv1.graph)
    print('traced_conv1.graph after inline:', traced_conv1.graph)

position: between pruner._unwrap_model() and ModelSpeedup(model, torch.rand(1, 3, 256, 256), masks).speedup_model()

what I got is a torchscript graph without 'aten::to' in model.backbone.conv1.  I want to know which layer the 'aten::to' comes from.
thanks.

thanks a lot.
the graph code of model.backbone.conv1 is totally equal to my graph code.  the bad 'aten::to' isn't here, still don't konw where the 'aten::to' is from.
could you please add the code below and show me the result? if the result is too long you can upload the output text file.
code:
    traced_model = torch.jit.trace(model, torch.rand(1, 3, 256, 256))
    torch._C._jit_pass_inline(traced_model.graph)
    print('traced_model.graph has aten::to:', 'aten::to' in str(traced_model.graph))
    if 'aten::to' in str(traced_model.graph):
        print('traced_model.graph after inline:', str(traced_model.graph))
    exit()

position: between pruner._unwrap_model() and ModelSpeedup(model, torch.rand(1, 3, 256, 256), masks).speedup_model()

and i try to write a fix in https://github.com/Louis-J/nni/blob/fix_5148/nni/compression/pytorch/speedup/jit_translate.py. please replace your local jit_translate.py and try it. i think it can solve the 'aten::to' problem.

and i try to write a fix in https://github.com/Louis-J/nni/blob/fix_5148/nni/compression/pytorch/speedup/jit_translate.py. please replace your local jit_translate.py and try it. i think it can solve the 'aten::to' problem.

Thanks a lot! The problem has been solved.


Connect-SPOService AuthenticationUrl and ClientTag Parameters

Both the AuthenticationUrl and ClientTag parameters for Connect-SPOService include an indication that their respective descriptions should be filled in. This really should happen, as there's questions from teammates about the difference between the AuthenticationUrl and the Url parameters.

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

ID: 85cea8f8-239d-1f73-f13a-a5a3148b66e5
Version Independent ID: ca809b64-206c-4dfa-7c79-b0a45979e953
Content: Connect-SPOService (sharepoint-online)
Content Source: sharepoint/sharepoint-ps/sharepoint-online/Connect-SPOService.md
Service: sharepoint-powershell
GitHub Login: @techwriter40
Microsoft Alias: kirks

@tommymaynard Thanks for your query. We are looking into this matter.

@tommymaynard - we are working on an audit and finding people with the right knowledge to fill in missing content. It would be great if you have some knowledge on this cmdlet to submit a Pull Request with the information. There is a readme on the main page of this repo on how to make and submit edits. Thanks for reporting and if you aren't sure this will be included in the audit so no worries but if you have some knowledge it would be really appreciated.

I would've been happy to submit a PR with the missing information; however, it's not information I know. I'm not exactly sure, how I ended up on that page -- perhaps it was a coworker -- but I opened this issue from that page base on there being information that seems it should've been included. Sorry I can't be of more help!

Microsoft. How hard is to find someone from development able to fill in the appropriate description? It's been  3 months!

@VesaJuvonen @Techwriter40 - this is part of queue for Office cmdlets but seems people are struggling to understand this cmdlet.

Thanks, everyone for your input. Parameter details have been now added. Getting missing information on the documents is simply dependent on available resources and parameters, so we do apologize for the delay on still missing details from other cmdlets. In this particular case, both missing parameters are really an edge case scenarios used mainly by Microsoft internally, so they have not blocked anyone on using these cmdlets. Good to get them included in the documentation still.


QuantumRPG support?

Hi ,
can you add compatibility with QunatumRPG plugin?
https://www.spigotmc.org/resources/quantumrpg-1-14-1-15.40007/

Quests does not consider depending on premium resources, unless there is a free version available.


2.0.0-beta.2

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 71.311%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1931

Relevant Lines:
2489

💛  - Coveralls


speedup JRuby CI

Before: 9m2s
After: 7m5s

Hmm, the point of the opts was to speed things up, not to slow things down. I think those were options I had been using to speed up startup time. But at the cost of longer runs like the test suite. It's probably best to give us what JRuby wants to give us by default and trust in them ;)

Hmm... Either GH-Actions runners are not all born equal or there's something severely affecting execution times. You had 6m37s even without these changes.

I'll run it a few times and see whether we can detect an improvement. It could be that it just doesn't make much of a different either way, which would be an argument to just keep it simple and not specify any opts.

Here are the opts JRuby uses for it's own tests. https://github.com/jruby/jruby/blob/master/.travis.yml#L37 Though that doesn't necessarily mean they are doing it to make the tests run faster.

Travis is more memory-constrained than GitHub Actions, JRuby definitely targets low memory usage, not execution time:
https://github.com/jruby/jruby/commit/7a73edd2774bb6fe131f16db9e7306d15eac3189
https://github.com/jruby/jruby/commit/20f0a923872848284a831ca04d0555cd9cb5b122
https://github.com/jruby/jruby/commit/696656709875c0879b67f81305999ed9dd94c48d
And addition of -XX:+TieredCompilation -XX:TieredStopAtLevel=1 was done back in 2014 (https://github.com/jruby/jruby/commit/dd9b0c1ee166994db412ed4769881b9def27f2cf). It could stop being effective for newer JVMs or for different load.

It looks like these settings have little to no effect anyway, so let's just keep it simple and remove them.


Detection results

Thank you very much for your excellent work, can you please provide the detection data for the KITTI tracking dataset！

For the results reported in the paper, I use the detections from PermaTrack's results, please check the doc for details.


add chocolatey support?

My Environment

[x] Windows 10
[x] Windows Server 2012 R2
[x] Windows Server 2016

My issue is related to (check only those which apply):

[x] installation

Expected Behavior
Can we get a chocolatey package?
Actual Behavior
It's not in chocolatey
Steps to reproduce the problem:
try to install in chocolatey
https://chocolatey.org/packages?q=nvm - this will eventually be official via Microsoft's OneGet https://github.com/OneGet/oneget which will also be a part of the windows app store. This would be nice because theoretically at that point we could use gulp to bootstrap install choco - then this, then update to the latest npm on a new dev box.

Please read the issues before posting. This is the 8th duplicate of #17.


Unable to cordova build android --prod

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
When I run ionic cordova build android --prod it fails with error
Expected behavior:
Should create optimized for production android package
Steps to reproduce:
Related code:
bash: dnvm.sh: No such file or directory
ionic cordova build android --prod
Running app-scripts build: --prod --iscordovaserve --externalIpRequired --nobrowser

[16:05:17]  build prod started ...
[16:05:17]  clean started ...
[16:05:17]  clean finished in 2 ms
[16:05:17]  copy started ...
[16:05:17]  ngc started ...
[16:05:27]  ngc finished in 9.72 s
[16:05:27]  preprocess started ...
[16:05:27]  deeplinks started ...
[WARN] Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova). Your plugins may be out of
       date.
Error: The RegExp to find the DeepLinkConfigToken did not return valid data

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

    @ionic/cli-utils : 1.4.0
    Cordova CLI      : 7.0.1
    Ionic CLI        : 3.4.0

local packages:

    @ionic/app-scripts              : 1.3.12
    @ionic/cli-plugin-cordova       : 1.4.0
    @ionic/cli-plugin-ionic-angular : 1.3.1
    Cordova Platforms               : android 6.2.3 ios 4.4.0
    Ionic Framework                 : ionic-angular 3.5.0

System:

    Node       : v6.10.0
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.3 Build version 8E3004b
    ios-deploy : 1.9.0
    ios-sim    : not installed
    npm        : 5.0.4

First thing I would check:

[WARN] Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova). Your plugins may be out of date.

If you update the plugin to latest, and still have the error, please open an issue in ionic-app-scripts as here it is just for the framework.

I have latest version of the @ionic/cli-plugin-cordova installed. It always warn about that

I also have this issue since I updated my angular. Do you use the last angular 4.2.4 ? @ivanovvitaly

@tgensol angular 4.1.3

This issue was moved to ionic-team/ionic-app-scripts#1072


Get array item in the format

Suppose i have a model like so:
 public class Model
        {
            public A A { get; set; }
        }

        public class A
        {
            public B B { get; set; }

            public List<B> Bs { get; set; }
        }

        public class B
        {
            public string Empathy { get; set; }
        }

Now if i try to access my format here
var x = new Model { A = new A { B = new B{Empathy = "single" },
Bs = new List<B> { new B { Empathy = "list" } } } };
var val1 = Smart.Format("{A.B.Empathy}; {Bs[0].Empathy}", x);
var val2 = Smart.Format("{A.B.Empathy}; {Bs.First().Empathy}", x);

In both cases i only get the "single; " string.
Is it possible to get an array item from a model?
I get it working like so:
var list = new List<B> { new B { Empathy = "a" } };

var var3 = Smart.Format("{x[0].Empathy}", new { x = list });

In this case var3 contains "a"; but i want to do it off lists on models, too.
here's a .net fiddle:  https://dotnetfiddle.net/q24Gf2

Hi Alex
For testing it's better not to suppress exceptions. So witch them on:
Smart.Default.Settings.FormatErrorAction = ErrorAction.ThrowError;
Smart.Default.Settings.ParseErrorAction = ErrorAction.ThrowError;

Then you will see:

val1 throws a parse exception, because the array Bs in the selector cannot be evaluated. Why? It must read:
var val1 = Smart.Format("{A.B.Empathy}; {A.Bs[0].Empathy}", x);
// watch the missing A. in 2nd placeholder
result: single; list
val2 throws a parse exception, because First() is an extension method. You can only use parameterless methods built into a class as members.

@alexzaytsev-newsroomly: Can the issue be closed with the answer given?

Sure, thanks for your help


[BUG] Unable to fetch access token code AuthCodeException

When running your example project with your credentials, it's working.
but when running your example project with my credentials, it gives me AuthCodeException
The entire message is Unable to fetch access token code AuthCodeException:: for authCode: Scope r_liteprofile is not authorized for your application with description: unauthorized_scope_error

Flutter version: 3.13.4
easy_linkedin_login: ^1.0.3
My code snippet
LinkedInButtonStandardWidget(
            onTap: () {
              Navigator.push(
                context,
                MaterialPageRoute(
                  builder: (context) => LinkedInUserWidget(
                    redirectUrl: kLinkedInRedirectUrl,
                    clientId: kLinkedInClientId,
                    clientSecret: kLinkedInClientSecret,
                    onGetUserProfile: (linkedInUser) async {
                      print('Access token ${linkedInUser.user.token.accessToken!}');
                      print('First name: ${linkedInUser.user.firstName!.localized!.label!}');
                      print('Last name: ${linkedInUser.user.lastName!.localized!.label!}');
                      Navigator.pop(context);
                    },
                    onError: (e) {
                      print('Error: ${e.toString()}');
                      Navigator.pop(context);
                    },
                  ),
                ),
              );
            },
          )

Logs
flutter: : LinkedInAuth-steps: navigationDelegate ...
flutter: : LinkedInAuth-steps: navigationDelegate [currentUrL: https://www.linkedin.com/developers/tools/oauth/redirect?error=unauthorized_scope_error&error_description=Scope+%26quot%3Br_liteprofile%26quot%3B+is+not+authorized+for+your+application&state=cbcc2773-73b6-4d58-9dda-9fe89f2fe421, isCurrentMatch: true]
flutter: : LinkedInAuth-steps: Fetching access token...
flutter: : LinkedInAuth-steps:fetchAccessTokenCode: parsing authorization code...
flutter: : Navigation delegate prevent... done
flutter: LinkedInLogin: Unable to fetch access token code AuthCodeException:: for authCode: Scope+%26quot%3Br_liteprofile%26quot%3B+is+not+authorized+for+your+application with description: unauthorized_scope_error
flutter: Error: UserFailedAction{exception: AuthCodeException:: for authCode: Scope+%26quot%3Br_liteprofile%26quot%3B+is+not+authorized+for+your+application with description: unauthorized_scope_error}
The app is verified on the developer site and Sign In with LinkedIn using OpenID Connect & Share on LinkedIn are available under added products

You need to add the product "Sign In with LinkedIn" instead of "Sign In with LinkedIn using OpenID Connect"
Product preview

FYI @imsujan276 , "Sign In with LinkedIn" is removed and in place of it, "Sign In with LinkedIn using OpenID Connect" is added

@nayanAubie  I did not know that. Looks like I will have to look into it in detail.

I have looked into the update LinkedIn has made. They have removed the product Sign In with LinkedIn completely. So, it may need a major update in the plugin to adapt to the changes. I have little time because of my projects so I may not be actively working on this issue.
Any Pull Requests regrading this is Welcome.

I can make it but unfortunately, I made an entirely new package in my organization for quick setup.
https://pub.dev/packages/easy_linkedin_login

That's great.


Fix out of array bounds issue with illegal character checks

This does not work in the browser because it descends into the Array.prototype methods after the list elements if they are iterable. After iterating over the expected items in the array, it sets err_regex to a function and that function does not have the expected regexp.exec property.
for (var err in illegalchar_regex_list) {
  var err_regex = illegalchar_regex_list[err][0];
  var err_code = illegalchar_regex_list[err][1];
  var err_evidence = illegalchar_regex_list[err][2];
  if (err_regex.exec(completename)){
    ...
  }
}

The test added should catch this in the future for bad use of for ... in within fullTest.

Linter seems to be unhappy:
/home/ubuntu/bids-validator/tests/bids.spec.js
  114:76  error  Missing semicolon       semi
  116:9   error  'after' is not defined  no-undef

@chrisfilo Sorry about that, updated with a linting fix.

New version is up on npm.


FIX readme and activator after the plugin was made an AutoPlugin

As mentioned here https://github.com/ktoso/sbt-jmh/pull/35/files#r29582330

And call it an 0.2.0

Fixed!


GO:0032947 protein complex scaffold - obsoletion or narrowing of def?

Following on from mine and @ValWood's comment on ticket
https://github.com/geneontology/go-ontology/issues/12118
can we please restructure this term? Being a scaffold is not really an activity. I thought there was a ticket but I can't find it now.
We could obsolete this term and its children or at least be much more strict on its use?
For starters we need to take the word 'activity' out of he child terms!
Any comments?
Birgit

I've forgotten the last time we revisited the structural molecule terms, though I doubt @paolaroncaglia has! The UCL team are reluctant to see these go entirely, but I agree 'activity should be removed from the child terms, and I think they need connecting up with the related 'binding, bridging' GO terms (GO:0060090).

Hi Birgit, Becky, Val @ValWood and David OS @dosumis
Jane ‘owned’ a closely related ticket and I inherited it from her, but haven’t had a chance to work on it yet:
https://github.com/geneontology/go-ontology/issues/11331
Actually, we handed over to David OS the general restructuring, here:
https://github.com/geneontology/go-ontology/issues/10895
So, David, I’m afraid that for consistency you should own all 3 tickets. I’ll assign them to you, with many many thanks in advance.
Paola

I'm not following exactly what the request is here
This is the hierarchy:
 / GO:0003674 ! molecular_function
  is_a GO:0005198 ! structural molecule activity
   is_a GO:0032947 ! protein complex scaffold ***
    is_a GO:0005078 ! MAP-kinase scaffold activity
    is_a GO:0030159 ! receptor signaling complex scaffold activity

(PCS also has a superclass of protein binding)
Is the proposal to obsolete the whole hierarchy under PCS? Or to label everything more consistently (which seems uncontroversial)?
@thomaspd recently used  GO:0005078 ! MAP-kinase scaffold activity in the lego model for IQGAP1, this one seems to fit in the scope of the MF refactor

@cmungall my grip is that if sounds like these proteins are actively doing something but they are just keeping the structure and sometimes they are even dispensable for the activity of the other partners. I don't necessarily want them obsoleted but as @rebeccafoulger above mentioned, they word 'activity' needs stripping from all scaffolding terms and linking them to 'binding' wouldn't be a bad idea either. To me, they even sound more CC class-like than MF, but that might go to far...
Compare it to a building site: the catalytic units are the workers, the scaffolding proteins just that, the scaffolding that lets the workers access the sites they are fixing :) The scaffolding does one thing, standing still and supporting the workers.
Mini-Project I think...

In the building analogy the scaffold term would represent the building foundations..... It's used to describe a "platform" onto which protein complex assembles, so although it does  not have an "activity' this "protein scaffold" is it's 'molecular function'. In GO terms, the building scaffold would be a 'chaperone' (enables the assembly but is not part of the final building (complex)...
The protein complex scaffold term
http://www.ebi.ac.uk/QuickGO/GTerm?id=GO:0032947#term=ancchart
is already under protein binding.
A lot of the other "structural constituent of" terms under "structural molecule activity" do sound a bit whacky...but there have been numerous  unsuccessful attempts to address these.....

Thanks, Val!

See also #12632

This term is used quite a bit; I think it's useful. The number of EXP annotations by group is shown below.
I could remove 'activity' but then it might sound too much like a complex...? Maybe that would be improved if use simply used 'scaffold protein', which seems to be a widely used term (https://en.wikipedia.org/wiki/Scaffold_protein)
Number of annotations per group - perhaps some people responsible for the annotation want to weigh in:
(39)	SGD @srengel
(26)	UniProt @ggeorghiou @sylvainpoux
(25)	BHF-UCL @RLovering
(13)	RGD @slaulederkind
(12)	CGD
(8)	MGI @hdrabkin
(4)	PomBase @ValWood
(4)	WB @vanaukenk
(3)	FlyBase @hattrill
(3)	UniProtKB
(2)	CAFA
(2)	EcoCyc
(2)	TAIR
(1)	HGNC
(1)	SynGO-UCL
Thanks, Pascale

I rather like this term and its friend, receptor signaling complex scaffold activity. Scaffold protein is a bit too passive for my liking.
In the case of something like dishellevd that self-associates and nucleates the "signalosome" OR axin for the beta catenin destruction complex, we really have no other way of capturing this activity. I think as the signaling project gathers pace, we will use these terms more and more.

Yes I think for now we should keep it as it is.
It is the only way to annotate the activity of things like "MAP kinase scaffold"

OK, no action needed then. I'm closing this.


server didn't start

run the server it's stuck on load page. no error on the console.

what's wrong.

Hello @SabirSaqib12 ,
I have fix the issue and pushed a commit, please pull the code and check again.
Thanks

cron didn't run.

@SabirSaqib12 Are you facing this issue in the latest code?

yes new commit

@SabirSaqib12 Can you please paste the error log here so that i can check it out?

The last image is the only console error not using any logger lib and it not corn error CSV is downloaded but cannot update the database.

Are you using windows or linux?

Linux 18.4 ubuntu

Are you able to access this link in your local system ?
https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/04-18-2020.csv

yes getting the response from URL issue in fs.createStream .pipe() function


Unable to connect to server running in an IPV6 network

Description:
I'm sending request from my React Native app to a Glassfish server. Aparently the server is being hosted in an environment IPV6 enabled environment. When I try to connect to the server via wifi connection that is only IPV4 enable, the requests work as intended (both server and phone are not in the same network but can see each other fine). When the same thing is done via 4g or some network that has IPV6 enabled, the requests take about about 3 to 4 minutes to recieve their responses, for about 1kb of data being transmitted.
React Native version:
System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i5-7500T CPU @ 2.70GHz
Memory: 1.06 GB / 7.88 GB
Binaries:
Node: 10.16.3 - C:\Program Files\nodejs\node.EXE
Yarn: 1.17.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
Watchman: 4.9.4 - C:\watchman\watchman.EXE
IDEs:
Android Studio: Version  <IP_ADDRESS> AI-191.8<IP_ADDRESS>10548
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
Issues without reproduction steps or code are likely to stall.

Create any starter app using react-native init
Execute a fetch(url) command to any IP address that is inside an IPV6 enabled network, from another IPV6 enabled network (like 4g)

Expected Results
The request should work like intended when using IPV4. the response should take about 3 seconds, it takes about 180 seconds.
Snack, code example, screenshot, or link to a repository:
fetch(url)
.then(...display the message)
.catch(...display the error)

I think it's a related issue https://github.com/facebook/react-native/issues/28038

Some version information here, but not for React Native itself.


Update it.js

Some adjustment to the italian translation, not complete yet.

thanks!

Thank you for the great software!


TypeError: Cannot redefine property: restore

🐛 Bug Report
We use a monorepo, and most of the time when we try to test a file that imports another module from the monorepo, an error occurs. One of the most common is:
    TypeError: Cannot redefine property: restore
        at Function.defineProperty (<anonymous>)

      1 | export * from "./src/shop";
    > 2 | export * from "./src/payment";
        | ^

We've even tried jest without babel, since now ES modules are partially supported (https://github.com/facebook/jest/issues/9430). However, we had some problems, specifically https://github.com/facebook/jest/issues/10025
In this small repo, when I removed the rewire-exports babel plugin from the config file it seemed to work (even though I didn't tried to rewire any module), but in my official repo I received the following error:
TypeError: content.match is not a function
    at separateMessageFromStack (/home/telles/workspace/yggdrasil/node_modules/.pnpm/jest-message-util@25.5.0/node_modules/jest-message-util/build/index.js:414:32)
    at formatExecError (/home/telles/workspace/yggdrasil/node_modules/.pnpm/jest-message-util@25.5.0/node_modules/jest-message-util/build/index.js:180:21)
    at onFailure (/home/telles/workspace/yggdrasil/node_modules/.pnpm/@jest/core@25.5.4/node_modules/@jest/core/build/TestScheduler.js:206:74)
    at /home/telles/workspace/yggdrasil/node_modules/.pnpm/jest-runner@25.5.4/node_modules/jest-runner/build/index.js:112:27

Link to repl or repo (highly encouraged)
https://github.com/guilhermetelles/test-error-repo
To Reproduce
cd reaction-shops-plugin-api/
npm i
jest

Expected behavior
Jest with babel should import modules correctly
envinfo
System:
OS: Linux 5.4 Ubuntu 20.04.1 LTS (Focal Fossa)
CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
Binaries:
Node: 13.14.0 - ~/.nvm/versions/node/v13.14.0/bin/node
npm: 6.14.4 - ~/.nvm/versions/node/v13.14.0/bin/npm
npmPackages:
jest: ^25.1.0 => 25.5.4

I'm having a very

similar error

I'm having a very similar error :(


concat embedding

hey! so in the paper, they actually sum the embeddings, afaict. that would make sense if the embeddings were to mirror residual latents

if the PR was to address the todo item, it actually refers to the group dimension from this paper https://arxiv.org/abs/2305.02765

@lucidrains appreciate the clarity and for sending the paper! going to give this another go

@bkodes ah i think i wasn't being very clear, my mistake. this item may be a bit difficult to contribute to, as it was not in the paper, and just something experimental that i have reasonable confidence would improve things a bit more

@bkodes oh very cool, so this paper is super relevant then, as it seems to nearly solve TTS.
yes, i would welcome a contribution to the training code!

@bkodes do you have any thoughts about how to incorporate duration / pitch priors, as they did in the natural speech line of work

@lucidrains yes this paper is extremely relevant so definitely thrilled and think it can solve a lot of current issues with TTS. in terms of incorporating duration/pitch priors let me give it some thought. honestly not really sure it's even necessary given the results but is definitely worth evaluating a bit more

@bkodes ok sounds good, yea def welcome any contributions to the training code, if open source aligns with your organization's goals
grouped residual VQ support is completed just now


Added a hover effect for the large video play button

I added a small hover effect to the button shown on the videos. It just swaps the blue and white colors around to give the user the sensation that something will happen when clicking that button. See the attached screenshot.

Going to have to merge this one manually but will do. Cheers 👍

@SamPotts Can you wait with merge this, please? Today I will try find & suggest good hover effect for thumbs in #226 and I think it would be great to use similar effect. Color inversion does not work with thumbs. May be we'll be able to find shadow / border / opacity way to do similar hover effects.
I'll suggest something in 4-5 hours.


Add IndexedDB and web-sys example to examples/ and guide

General info on IndexedDB: https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API

[ ] Add an example to examples/ that shows off working with IndexedDB
[ ] Add a subsection to "web-sys >> examples" in the guide that includes this example

I"m gonna close this in favor of https://github.com/rustwasm/gloo/issues/68 because I think IndexedDB is more likely to be covered by gloo rather than wasm-bindgen examples

@alexandrestein rustwasm/gloo#68 has been closed and won't be implemented.

@indolering We still plan to add an API for IndexedDB, though probably not that specific API.

Please, examples for IndexedDB in web-sys, I can't get it working.
Got the IdbDatabase, got IdbObjectStore, but failed to add a doc:
// The store is already in db with key id, autoIncremental
myStore.add(&JsValue::from_str("{test:1}")).unwrap();

Failed at '.unwrap()', although it's a Result.


The package doesn't work with HAML template engine

Thanks for reporting, please check below setting if this issue related in open-view command.
https://github.com/hmatsuda/rails-transporter/blob/master/README.md#configurations
If you mean another command issue with haml, please let me know more detailed information which command doesn't work?


[AutoPR deploymentmanager/resource-manager] DeploymentManager: Fix property name and enhance descriptions

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

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


Tags alpine and *-alpine should refer to latest alpine release 3.7, not 3.4

I am requesting that the alpine related tags without explicit version always refer to the latest stable alpine release. Currently this should be 3.7.
In https://github.com/docker-library/python/blob/master/generate-stackbrew-library.sh#L17 this already seems to be done. But it's unclear to me why Python 3.6 is explicitly being mapped to Alpine 3.4:
https://github.com/docker-library/python/blob/master/generate-stackbrew-library.sh#L22
defaultAlpineVersion='3.7'
declare -A alpineVersions=(
	[2.7]='3.4'
	[3.4]='3.4'
	[3.5]='3.4'
	[3.6]='3.4'

Desired: 3-alpine and alpine (and any other -alpine) tags should used latest stable python and alpine releases. Currently that is Python 3.6.4 and Alpine 3.7.
Current: 3-alpine and alpine tags use Alpine 3.4, several versions behind.

Thoughts on this @yosifkit @JayH5 @tianon ?

I am requesting that the alpine related tags without explicit version always refer to the latest stable alpine release.

This should be changed for all other tags, too.  Eg. 3.6 should be an alias for 3.6.5-stretch and not 3.6.5-jessie.

But it's unclear to me why Python 3.6 is explicitly being mapped to Alpine 3.4

When 3.6-alpine was initially published on the docker hub, there were no images with tags that pinned the alpine version, ie. there was no 3.6-alpine3.x.  When the tags were introduced, 3.6-alpine stayed pinned to Alpine 3.4 to guarantee stability for existing users.
See docker-library/golang#131 and the linked issues for examples where an update of alpine led to issues.
ruby:2.4-alpine is also an alias for ruby:2.4-alpine3.4 and golang:1.9-alpine is an alias for golang:1.9-alpine3.6 (both instead of 3.7).
That said, I think that at some point most users aiming for stability should have discovered the new tags and switched to one of them.  And them 3.6-alpine should become a rolling tag (like debian:stable or ubuntu:rolling).  Ideally this should be done hub wide and not on a per image basis (for consistency), but then there are official images like node that haven't made the switch to the new tagging schema.
And last but not least, I think that anyone aiming for stability should build their own python image.  I consider official images as a source for best practices, not a source for stability, but maybe the majority of docker users thinks otherwise.

What's the plan for the *-alpine images when support ends for Alpine 3.4 in a couple weeks?


[RFR] Extend deploy_template to use cpu and ram if specified.

This extends deploy_template to use custom ram and cpu values if requested, but only if they are equal to or greater than the existing values as scvmm prohibits deploying templates that are smaller than the template definition.  The minimum default values are included in the yaml.
This is required to fulfill mfalesni's request for this additional functionality.

Lint report for commit 4da1b4c941a31096866e59ff2ab0a7c7ae3eee46:
mgmtsystem/scvmm.py:

:bangbang: Line 47:5: E303 too many blank lines (2)

Please, rectify these issues :smirk: .
No commit flaws detected.
CFME QE Bot


Incomplete display of column name

The picture does not display the full column name by default. I guess it may be due to occlusion (should all column names be displayed even if they are directly occluded?). I now solve this problem by increasing the width of the picture.

Yeah, you are right. If the width is not wide enough to show all the column labels, then you need to increase the width of the figure or decrease the font size of xlabels.

Hello,
First off, thanks for the amazing package ! I have a similar issue to the one raised here except part of the rows are not showing. I have a lot of row to show so i would like to avoid increasing the size of the image. Instead, I tried reducing the fontsize of the labels with yticklabels_kws={'labelsize':5} (i also tried tiny values) but the row still don't show all labels.

Do you have any idea how I could force it to display every labels and I can handle their sizes so that they don't overlap then ?
Thanks !

Hello @AntoineCollin .
Thanks for your feedback, I just made some changes and have already uploaded it to pypi.
Could you please uninstall and install the latest version?
See https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/advanced_usage.html#How-to-force-display-all-row/col-ticklabels?


Fix getter references

I ran into the error below when upgrading to jsdom 8.0.2. From a quick look, it appears that the getter should be referenced without the parentheses as done so here.
I did read that version 8 contains generated code, so if changing this file directly is the wrong way to go, let me know and I can do it a different way. Also, I noticed the comment above the label getter mentions that there is something wrong with the lines below, so maybe this is already a known issue.
TypeError: this._selectNode is not a function
      at HTMLOptionElementImpl.label (node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js:100:25)
      at HTMLOptionElement.get [as label] (node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js:47:46)
      at updateOptionElement (bower_components/angular/angular.js:26566:37)
      at updateOption (bower_components/angular/angular.js:26686:13)

# ...

The generated code is thankfully not checked in, so this looks pretty good. I'll accept this even without tests since as the comment you found notes the label property isn't implemented very well. Will try to merge tonight-ish.

Merged as 0cee728df3a167250173070b0933a2978bb04173; 8.0.3 coming shortly.

Thanks! :+1:


Enhanced data for the Allsky map

If this is a new feature, describe what you would like.
Allow additional information to be sent to the online allsky map

This will allow us to better understand our user base, what cameras are popular, what OS they're running, etc.
This will require a "Privacy" page and adding a setting to determine whether or not the user agrees to upload the data.


Update package.json dependencies

https://github.com/zulip/zulip/pull/8759#issuecomment-374834477
This PR is for the packages which passed the tests with no trouble, the other packages failed the tests for various reasons.
Testing Plan: Relied on passing the tests.
The other packages would be a little bit of work to update and get them passing the tests, as well as manually testing them. @timabbott Are there any packages specifically you have in mind that you want updated, or is it more general updates?

Merged, thanks @gooca!  I think a good next area to work on is upgrading webpack (though that may be a nontrivial project).

(BTW, for these, I personally read the changelogs for each package that was updated to make sure nothing was likely to break; that's an important part of the testing plan.  E.g. if jQuery had removed any features (as opposed to just deprecating), we'd have wanted to grep the codebase for them.)


Added remote copy functions

Please add the corresponding wrapper functions into python SDK as well

This is already merged


Pre pull some builder images

This is our first attempt to help cut down on timeout issues we still
with quay.io.
Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/808554
Signed-off-by: Paul Belanger<EMAIL_ADDRESS>

Pull-request updated, HEAD is now a205da403a78cc81018ebe6ca605c7e5893806f0

Pull-request updated, HEAD is now db06932983d5b9b22ae5a6887ed6bdeda0011679

Pull-request updated, HEAD is now cc35e4737ae3664b89eb19c7e8ca98c8f7671280

Pull-request updated, HEAD is now e3f238105e1d7eba079b1d04b0b914fb38209526

Pull-request updated, HEAD is now 17b8a1f57bbd48adf877dbd72446db749955da65


Global variable switch error like #40

Hello,
When I use Global Variables as switches I get one error saying : "There was a problem setting variable:  ABSENT to true"
In homekit the button switch to On but after a few seconds switch bask to Off.
Regards

@naspinec, which version of the plugin do you use ?

I tried 1.2.8 and added admin credentials and it worked correctly.

good


Verification enhanced v1

Using enums instead of booleans for verification. So now user can just:
verify(inputs, fw_model, co_model, VerifyConfig(verifyTensorValues=VerifyTensorValues.AUTOMATIC))
verify(inputs, fw_model, co_model, VerifyConfig(verifyTensorValues=VerifyTensorValues.AUTOMATIC, pcc=0.95))
verify(inputs, fw_model, co_model)

But if user doesn't really know how verification works, he can also call:
verify(inputs, fw_model, co_model, VerifyConfig(verifyTensorValues=VerifyTensorValues.TORCH_ALL_CLOSE, pcc=0.95))

where he sets pcc which is never used in this type of verification :(

@vkovinicTT is this PR still applicable?

@vkovinicTT is this PR still applicable?

no we are done with it


Page banners on XXL Screens

Increase height to not cut off heads, use TV for testing

Resolved in v2 MOA


Add theme builder

Add theme builder to dashboard editor to allow users to set styles for their charts.

theme builder added in https://github.com/keen/dashboard-builder/pull/20