Support Protocol Buffers

Protocol Buffers support is already GA.
We can discuss initial support of Protocol Buffers in spanner-cli.

[ ] DDL support with CREATE PROTO BUNDLE

Equivalent of  gcloud spanner databases ddl update DATABASE_NAME --instance=INSTANCE_NAME --ddl='CREATE PROTO BUNDLE (examples.shipping.Order);' --proto-descriptors-file=order_descriptors.pb
It is hard to define intuitive behavior other than executing a single command with --execute.

[x] Support decoding of proto-related values like ENUMs.

CREATE PROTO BUNDLE statement is tricky because it requires a companion file (proto file) to be sent to the Spanner API altogether.
Then, there might be two possible ways:

For interactive mode: Extend CREATE PROTO BUNDLE statement in some ways. For example with a comment line, like CREATE PROTO BUNDLE ... ; # order_descriptors.pb
For batch (command) mode: Create an option similar to --proto-descriptors-file of gcloud.

I think the first option is not intuitive. For second option, I don't think users will use that option if the same functionality is available in gcloud.
Overall, my impression is that we can ask users to use gcloud if they want to run CREATE PROTO BUNDLE statement.

I agree CREATE PROTO BUNDLE support is not intuitive and not useful in current proposal.
What about PROTO and ENUM types?
Current behaviour of PROTO and ENUM typed values.
spanner> WITH t AS (SELECT CAST('genre: POP, nationality: "Japan"' AS spanner.examples.music.SingerInfo) AS singer) SELECT t.singer, t.singer.genre, CAST(t.singer AS STRING) AS singer_string, CAST(t.singer.genre AS STRING) AS genre_string FROM t;
+-----------------------------+------------------+---------------------------------+--------------+
| singer                      | genre            | singer_string                   | genre_string |
+-----------------------------+------------------+---------------------------------+--------------+
| string_value:"GgVKYXBhbiAA" | string_value:"0" | nationality: "Japan" genre: POP | POP          |
+-----------------------------+------------------+---------------------------------+--------------+
1 rows in set (1.07 msecs)

I think the raw string_value: ... is far from ideal output.
Proposed behavior
There are no message descriptor in ResultSet, so I think it is impossible to print as _string.
Most usable information is ProtoTypeFqn. spanner-cli can print values as typed values.
spanner> WITH t AS (SELECT CAST('genre: POP, nationality: "Japan"' AS spanner.examples.music.SingerInfo) AS singer) SELECT t.singer, t.singer.genre, CAST(t.singer AS STRING) AS singer_string, CAST(t.singer.genre AS STRING) AS genre_string FROM t;
+-----------------------------------------------------+-----------------------------------+---------------------------------+--------------+
| singer                                              | genre                             | singer_string                   | genre_string |
+-----------------------------------------------------+-----------------------------------+---------------------------------+--------------+
| "GgVKYXBhbiAA" AS spanner.examples.music.SingerInfo | 0 AS spanner.examples.music.Genre | nationality: "Japan" genre: POP | POP          |
+-----------------------------------------------------+-----------------------------------+---------------------------------+--------------+
1 rows in set (1.38 msecs)

Is this output a little long?

What about PROTO and ENUM types?

Yes, I agree that we should decode PROTO and ENUM typed values properly, but showing the proto field name looks a bit too much.
If users want to check an actual value, they might use CAST(<column> AS STRING) as your example shows, so I think just showing the raw value (base64-encoded string for PROTO and string for ENUM) might be adequate in spanner-cli. Spanner Studio (Cloud Console) also shows both types in that style.

I agree FQN type name is too long and the same printing as Spanner Studio is a good choice.
Another option is printing only the last component of the FQN: like "GgVKYXBhbiAA" AS SingerInfo, 0 AS Genre.

Another option is printing only the last component of the FQN: like "GgVKYXBhbiAA" AS SingerInfo, 0 AS Genre.

This is a very edge case, but it could be confusing if a STRING value contains "AS" in the value.
spanner> SELECT '"GgVKYXBhbiAA" AS SingerInfo';
+------------------------------+
|                              |
+------------------------------+
| "GgVKYXBhbiAA" AS SingerInfo |
+------------------------------+
1 rows in set (2.13 msecs)

So I'm not sure if it's a good idea to annotate the value with a proto type.

I often read databases whose schemas I didn't know, so I was worried about outputting raw values that couldn't be read without knowledge of the schemas.
spanner-cli does not display type information for all values, so let's align it with Spanner Studio for consistency.

I have noticed the --proto-descriptor-file is also very useful in interactive mode so I reopen this issue.
I have already implemented the function in my fork.
https://github.com/apstndb/spanner-mycli/#protocol-buffers-support
If you have been interested about this feature, I can contribute.

Switching tools between spanner-cli and gcloud just for running protobuf-related statements would be cumbersome, so yeah I'm supportive of adding a command line flag for that.
By the way, what if a user wants to run two CREATE PROTO BUNDLE statements with different proto descriptor files? Maybe interactive mode is not so useful for that situation, so they might use a batch mode to run two statements?

By the way, what if a user wants to run two CREATE PROTO BUNDLE statements with different proto descriptor files? Maybe interactive mode is not so useful for that situation, so they might use a batch mode to run two statements?

I think Cloud Spanner don't permit multiple CREATE PROTO BUNDLE unless proto bundle is once dropped by DROP PROTO BUNDLE.
I believe it is useful in interactive mode and it is natural to execute another spanner-cli session if users want to use another proto descriptor.
Most frequent usecase is struglling proto types in a single proto descriptor because ALTER PROTO BUNDLE lacks UPSERT.
ALTER PROTO BUNDLE INSERT/UPDATE/DELETE with a single proto descriptor will be a solution of the use cases.

Or we can specify multiple proto descriptor file as like --proto-descriptors-file=order_descriptors.pb,other_descriptors.pb and merge them into a single ProtoDescriptorSet.

My very frequent usecase is struglling proto types in a single proto descriptor because ALTER PROTO BUNDLE lacks UPSERT.
Interactive use of ALTER PROTO BUNDLE INSERT/UPDATE/DELETE with a single proto descriptor file will be a solution of the usecase.

Thank you for sharing the use case. It sounds a valid use case for interactive operations.

(I believe Cloud Spanner doesn't permit multiple CREATE PROTO BUNDLE unless proto bundle is once dropped by DROP PROTO BUNDLE. ALTER PROTO BUNDLE can merge proto descriptors into the schema registry in the database.)

Thank you for pointing it out. But what if a user wants to run a different CREATE PROTO BUNDLE statement for different databases? Currently spanner-cli forces a user to specify database by -d option when launching the cli, so I think there is some ambiguity if user runs $ spanner-cli -d db01 --proto-descriptor-file=foo.pb:

Proto descriptor file is only used for db01 database.
Proto descriptor file is used for every database, even if a user switches the database interactively.

I want to refrain from introducing the system variable for now, so I just want to know which one is desirable.

Thank you for pointing it out. But what if a user wants to run a different CREATE PROTO BUNDLE statement for different databases? Currently spanner-cli forces a user to specify database by -d option when launching the cli, so I think there is some ambiguity if user runs $ spanner-cli -d db01 --proto-descriptor-file=foo.pb:

Proto descriptor file is only used for db01 database.
Proto descriptor file is used for every database, even if a user switches the database interactively.

I believe we should choose 2.
It is useful than 1 because it can be possible to use the same proto descriptor for similar databases.
$ spanner-cli -d test-db1 --proto-descriptor-file=foo.pb
spanner> CREATE PROTO BUNDLE(ProtoType);
spanner> USE test-db2;
spanner> CREATE PROTO BUNDLE(ProtoType);

In another word,
USE <database> opens another session, but they are the same invocation of spanner-cli.
--proto-descriptor-file should be valid in a single invocation of spanner-cli.

Sounds good. Let's stick the provided --proto-descriptor-file to the entire spanner-cli session.


McAfee is saying Windows 32 & 64 bit versions of Theme Kit has a virus

When I try to download the Windows 32 or 64 bit version of Shopify Theme Kit at https://shopify.github.io/themekit/#installation, McAfee is trying to block the download stating it contains a virus.  Is this normal or is the distribution infected?

No, this has happened in the past. If you are using chocolatey to install the binary is checked with the checksum. If you are just downloading the binary, please check the binary with the provided checksums if you are worried.
This happens from time to time because most virus scanners look for patterns in binaries and since themekit is written in go, and some viruses are written in go, virus scanners can often find similar patterns. I will look into getting our binaries whitelisted again so this does not come up again.


Create Quote functionality (BE)

Create Quote from Open Payments

Quotes will be created whit the stories of Pay/Send/Request


The dependency JSPool >= 0.4.1 could not be resolved.

I just started getting this error today. I'm not sure how to proceed.

I'm getting this too while using a (full) .NET Framework with this declaration in project.json: "frameworks": { "net452": { "imports": [ "dnx451" ] } }

What version of ASP.NET 5 are you using? I've only tested with RC1. I know
RC2 came out recently, perhaps it has some breaking changes.
Sent from my phone.
On May 18, 2016 11:08 PM, "JesperTreetop"<EMAIL_ADDRESS>wrote:
I'm getting this too while using a (full) .NET Framework with this
declaration in project.json: "frameworks": { "net452": { "imports": [
"dnx451" ] } }
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/reactjs/React.NET/issues/269#issuecomment-220020320

I'm using RC2. Looking at this and trying to isolate anything strange, I think it may be that JSPool's NuGet package uses the Client profile of .NET 4.0.

Try cloning the ReactJS.NET repo, upgrading all dependencies from RC1 to
RC2, and see if that helps.
Sent from my phone.
On May 18, 2016 11:12 PM, "JesperTreetop"<EMAIL_ADDRESS>wrote:

I'm using RC2. Looking at this and trying to isolate anything strange, I
think it may be that JSPool's NuGet package uses the Client profile of .NET
4.0.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/reactjs/React.NET/issues/269#issuecomment-220021470

I've been trying all day to make ReactJs work in RC2, but there is a big problem with dependencies not being found. I got it to compile, but then it doesn't find the namespaces at runtime.

The JSPool Error happens, because now in RC2 it is trying to resolve an already resolved dependency in React.AspNet.
To make it work, simply delete the JSPool dependency line from .\src\wrap\React.Core\project.json

Has this been resolved in Nuget? I can not clone the project I can only pull it through nuget due to proxy/firewall - this is an MVC 4 project and the JSPool dependency is preventing install.

@frankbaum - I've only seen this issue for ASP.NET 5 (MVC 6) projects, not MVC 4. What is the exact error message you're seeing?

I haven't seen any reports of this in a while, so I suspect there was some bug in NuGet. Please let me know if you still encounter it.


Unicode error with command line results

For some reason, some unicode characters are undefined in some cases
Using existing tests in repo :

this seems OK :
$ ga check tests/test_cli_mock.har home_engie -t tests/tracking_plan.json
events in tracking plan: 3
--------------------------------------------------------------------------------
GA events found: total:4 / ok:3 / missing:0
✔ OK: all expected events found

this is not OK :
(we only print stderr here)
$ ga check tests/test_cli_mock.har home_engie -t tests/tracking_plan.json > output.txt
Traceback (most recent call last):
  File "C:\Users\MD1116\Dev\Github_VinceCabs\ga-unit\.venv\Scripts\ga-script.py", line 33, in <module>
    sys.exit(load_entry_point('gaunit', 'console_scripts', 'ga')())
  File "c:\users\md1116\dev\github_vincecabs\ga-unit\.venv\lib\site-packages\click\core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "c:\users\md1116\dev\github_vincecabs\ga-unit\.venv\lib\site-packages\click\core.py", line 782, in main
    rv = self.invoke(ctx)
  File "c:\users\md1116\dev\github_vincecabs\ga-unit\.venv\lib\site-packages\click\core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\users\md1116\dev\github_vincecabs\ga-unit\.venv\lib\site-packages\click\core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\users\md1116\dev\github_vincecabs\ga-unit\.venv\lib\site-packages\click\core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "c:\users\md1116\dev\github_vincecabs\ga-unit\gaunit\cli.py", line 63, in check
    r.print_result(display_ok=all)
  File "c:\users\md1116\dev\github_vincecabs\ga-unit\gaunit\models.py", line 483, in print_result
    self._print_summary()
  File "c:\users\md1116\dev\github_vincecabs\ga-unit\gaunit\models.py", line 548, in _print_summary
    print("\N{Heavy Check Mark} OK: all expected events found")
  File "c:\users\md1116\dev\github_vincecabs\ga-unit\.venv\lib\site-packages\colorama\ansitowin32.py", line 41, in write
    self.__convertor.write(text)
  File "c:\users\md1116\dev\github_vincecabs\ga-unit\.venv\lib\site-packages\colorama\ansitowin32.py", line 162, in write
    self.write_and_convert(text)
  File "c:\users\md1116\dev\github_vincecabs\ga-unit\.venv\lib\site-packages\colorama\ansitowin32.py", line 190, in write_and_convert
    self.write_plain_text(text, cursor, len(text))
  File "c:\users\md1116\dev\github_vincecabs\ga-unit\.venv\lib\site-packages\colorama\ansitowin32.py", line 195, in write_plain_text
    self.wrapped.write(text[start:end])
  File "c:\users\md1116\dev\github_vincecabs\ga-unit\.venv\lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u2714' in position 0: character maps to <undefined>```

TODO : test if the bug does not come from colorama : https://github.com/tartley/colorama and submit issue if so.
@tartley FYI

sumitted issue in colorama project
https://github.com/tartley/colorama/issues/319

Bug fixed and added to tests in https://github.com/VinceCabs/GAUnit/releases/tag/v0.5.3


The test of getVersion.

Description
Add the unit test of getVersion
Additional Information
#351

Can anyone help to support this JSON-RPC interface for cita-cli?
https://github.com/cryptape/cita-cli/issues/106

Use curl to test if if works.
I mean the unit test is adding a schema in /tests/interfaces.

Would you please to check if @Kayryu is doing this? @leeyr338

sorry! I didn't do it. If not urgent, I will add it

sorry! I didn't do it. If not urgent, I will add it

You can try it if you would like to. I just need to know the progress and decide to do or not.


Gloo python bindings

@vibhatha this works well in my machine. I dont understand how these changes would affect the runtime path. :slightly_frowning_face:

@nirandaperera seems CIs are failing.

@vibhatha this works well in my machine. I dont understand how these changes would affect the runtime path. 🙁

you mean the changes I suggested? Or the changes we did to include Gloo?

@vibhatha this works well in my machine. I dont understand how these changes would affect the runtime path. slightly_frowning_face

you mean the changes I suggested? Or the changes we did to include Gloo?

So, in my local machine, I can get these changes to work without a problem. But somehow, in CI, its failing


Fix code block formatting

Fix bash formatting code block
Remove unnecessary backslash before the ":5601"

@guregini : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@guregini: I'm sorry - only the author of this article, @orspod, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off


Operating on selections a la Kakoune

Kakoune style cursors and selection plugin
A possible plugin could be kakoune-style modal editing, vim focuses on a object-word style, kakoune is word-object for example deleting a word in kakoune its this:
https://user-images.githubusercontent.com/71751817/135531664-ef6bad3a-4132-44d8-9056-f0477cde78df.mp4
Kakoune also supports multiple cursors, but not by giving the user the freedom to spawn as many as they want, but instead spawning them as needed:
https://user-images.githubusercontent.com/71751817/135532118-dd2e6082-792f-4493-b0b6-cf22a7a53a76.mp4
If it wasn't clear, we first select, then we operate on the selection, this select could be a function in said yed plugin that finds all the matching patterns in the selection, just like it does in kakoune, and then spawn the cursors accordingly.
Kakoune lets you do other amazing things, but if it had to be boiled down to something it'd be to operate on selection, so as a starting goal we (or I) could implement operating on selection, then adding all the other modal editing jazz on top.

Update time:
So I have been hacking on yed-drill for some hours, and while it is also a kakoune-ish, I would like to make a new plugin about working on selections and using multiple cursors so it can be used even by people who don't want modal editing, this might be a harder task(for me) but not impossible with a little determination, the goals would be a selection function like kakoune (this one wouldn't be so bad if it could get upstreamed to the main yed source code) and multiple cursors, which I don't know if it would (or should) be upstreamed, but these are the goals I have in mind.

I ended up writing the whole thing myself! Very fun, but here it is, while its not Kakoune, it is Kakoune-ish and thats all I need, the operating on selection plugin still on my main radar for plugins so don't you worry child.
https://github.com/uniquepointer/yed-drill


maybe a bug about extract_components(self)

Hi,I try to use the extract_components(self) to get the connected components,but it always return the graph which I input. Then I read the source and find the code 'stack = set(np.nonzero(~visited)[0])' that build a stack with all nodes in graph, maybe it should be  'stack = set([np.nonzero(~visited)[0][0]])'? I think the stack should have only one node at the beginning, so that it can split the connected parts. Is that right?

Thanks for reporting! That was fixed in #42. Unfortunately, the versions on pypi and conda don't contain the fix yet. You can install with pip install git+https://github.com/epfl-lts2/pygsp.
If you feel like contributing, it would be great to have a unit test for that function, so we don't break it in the future. :)


Support dynamic learning rate

Addresses #1113
Usage
pyro_scheduler = ExponentialLR({'optimizer': torch.optim.SGD, 'optim_args': {'lr': 0.01}, 'gamma': 0.1})
SVI(model, guide, pyro_scheduler, Trace_Elbo())

optimizer is a mandatory kwarg. i went back and forth between a couple possible designs and i think this is the least icky and most consistent with how one would use existing pyro optimizers

yeah that's what i suggested to jp originally
On Wed, May 9, 2018, 10:23 AM Neeraj Pradhan<EMAIL_ADDRESS>wrote:

@neerajprad commented on this pull request.
In pyro/optim/lr_scheduler.py
https://github.com/uber/pyro/pull/1133#discussion_r187113837:

@@ -0,0 +1,127 @@
+from future import absolute_import, division, print_function

+import torch
+
+import pyro
+from pyro.params import module_from_param_with_module_name, user_param_name
+
+
+class PyroLRScheduler(object):
Maybe we can have the same PyroOptim class which takes an optimizer, an
optional scheduler and other optimizer/scheduler args. If the scheduler
isn't specified, we use the optimizer directly as we do now. Would that
make for a cleaner interface, or add more complexity?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/uber/pyro/pull/1133#discussion_r187113837, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVFMghK8ghj5bamejXRFUyJDrvE7ICraks5twyX5gaJpZM4T3pGK
.

ready to merge

surely by "ready to merge" you mean "ready for more CR"

yes pending additional comments, its ready to merge

a callable passed to PyroOptim can return pytorch schedulers
so are you imagining something like this:

def scheduler(args):
    return torch.optim.lr_scheduler.LambdaLR(args)
opt = PyroOptim(scheduler, args)
SVI(..., opt, ...)

? there are args for the optimizer and args for the scheduler, how are they distinguished?

why do you think this is better?
i found this to be the best middle ground between how pyro optimizers are currently used and how a torch.optim.lr_scheduler is used

Won't you also need to pass epoch or any other auxiliary info from SVI for some of these schedulers?

Won't you also need to pass epoch or any other auxiliary info from SVI for some of these schedulers?

I think so, which is why I suggested keeping schedulers separate from SVI.step

if i understand your question correctly, svi is just like any other loss; because of how pyro optimizers work instead of 1 optimizer, we have n where n is the number of parameters, so they still act as youd expect an optimizer to work in a normal training loop. the same for schedulers. all the other hyperparameters are passed explicitly to the scheduler beforehand.

Why not instead implement a single class

yes lets sync up offline. i did something similar originally (wrapping pyro optim), but i thought that was more cognitive overhead, to use a combination of pyro and torch optimizers so i tried to make it as analogous as possible to how one would use it in torch (scheduler(optimizer, args)) in this version

(not to be subclassed)

isnt the snippet you gave also subclassed?


adi.py

Get the number from the user and multiply it by 100

Get the number from the user and multiply it by 100


Remove 0002-Add-nil-checks-for-sql-database-instance-flattening.patch

History:
This patch was inherited from a fork change committed in https://github.com/pulumi/pulumi-gcp/pull/602, linking to this fork commit. It was made to address #599.
To verify this is no longer needed, I created a SQL Database instance and tried to .get it, using the current patched provider. This worked as expected. Then I removed the patch and re-built the provider, and it also works as expected. It appears any buggy nil check behavior was fixed in the bridge since, and we can remove this patch.
See also: #1186.

Added to epic https://github.com/pulumi/pulumi-gcp/issues/2290

When reproing did you use a partial state .get as in the original repro?
This looks very much like https://github.com/pulumi/pulumi-terraform-bridge/issues/2282, which is still an issue.

Update:
It turns out this patch cannot be removed at this point.
Here's a program to check if the behavior has improved:
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

// Create a new Google Cloud SQL Database Instance
const instance = new gcp.sql.DatabaseInstance("my-instance", {
    name: "my-instance",
    databaseVersion: "MYSQL_5_7",
    region: "us-central1",
    settings: {
        tier: "db-f1-micro",  // Choose an appropriate tier
        backupConfiguration: {
            enabled: true,
            startTime: "07:00",
        },
    },
    deletionProtection: false
});
//
// const inst = gcp.sql.DatabaseInstance.get(
//     "my-instance-gah",
//     "my-instance",
//     {project: <insert-project-name>}
// );
// export const version = inst.databaseVersion;

Build a provider without the patch
Run pulumi up using the local provider
Uncomment the .get function and re-run pulumi up

You should see an error or a success; not a panic.
Importantly, the {project: "foo"} line is responsible for this bug.

Closing this issue as wontfix.


adapter-vercel doesn't redirect prerendered pages with incorrect trailing slash

Describe the bug
https://svelte.dev/blog/ loads without css, but https://svelte.dev/blog works fine. Same bug appears on all subroutes: https://svelte.dev/blog/whats-new-in-svelte-january-2023/ and so on...
Reproduction
I've just experienced it on the svelte.dev/blog site, but this looks like a kit specific error and not like a site specific error.
Logs
Loading module from “https://svelte.dev/blog/_app/immutable/start-e5c89509.js” was blocked because of a disallowed MIME type (“text/html”).

And the various css files couldnt load aswell.

System Info
System:
    OS: Linux 6.0 Pop!_OS 22.04 LTS
    CPU: (8) x64 Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
    Memory: 254.69 MB / 15.51 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 17.2.0 - ~/.nvm/versions/node/v17.2.0/bin/node
    Yarn: 1.22.15 - ~/.nvm/versions/node/v17.2.0/bin/yarn
    npm: 8.1.4 - ~/.nvm/versions/node/v17.2.0/bin/npm
  Browsers:
    Firefox: 108.0

Severity
annoyance
Additional Information
No response

Just realized I set annoyance because I only experienced it on the svelte.dev website, but I guess this is an actual dealbreaker if this bug would appear on my own websites. So its more like a "cant use Sveltekit"

This is an issue with adapter-vercel — the platform doesn't differentiate between /blog and /blog/ if blog.html is a prerendered file.

Looks like this was actually fixed by #8766 — closing


operator-sdk add api --api-version=app.example.com/v1alpha1 --kind=AppService

Bug Report

What did you do?
Try to generate api with command operator-sdk add api --api-version=app.example.com/v1alpha1 --kind=AppService
What did you expect to see?
End with no error.
What did you see instead? Under which circumstances?
operator-sdk add api --api-version=app.example.com/v1alpha1 --kind=AppService
INFO[0000] Generating api version app.example.com/v1alpha1 for kind AppService.
INFO[0000] Created pkg/apis/app/v1alpha1/appservice_types.go
INFO[0000] Created pkg/apis/addtoscheme_app_v1alpha1.go
INFO[0000] Created pkg/apis/app/v1alpha1/register.go
INFO[0000] Created pkg/apis/app/v1alpha1/doc.go
INFO[0000] Created deploy/crds/app_v1alpha1_appservice_cr.yaml
W0515 01:49:17.315998    9049 parse.go:239] Ignoring child directory github.com/l10xbin/app-operator/pkg/apis/app: unable to import "github.com/l10xbin/app-operator/pkg/apis/app": go/build: importGo github.com/l10xbin/app-operator/pkg/apis/app: exit status 1
go: finding github.com/l10xbin/app-operator/pkg/apis/app latest
go: finding github.com/l10xbin/app-operator/pkg/apis latest
go: finding github.com/l10xbin/app-operator/pkg latest
can't load package: package github.com/l10xbin/app-operator/pkg/apis/app: unknown import path "github.com/l10xbin/app-operator/pkg/apis/app": cannot find module providing package github.com/l10xbin/app-operator/pkg/apis/app
INFO[0009] Created deploy/crds/app_v1alpha1_appservice_crd.yaml
Error: exit status 2
Usage:
operator-sdk add api [flags]
Flags:
--api-version string   Kubernetes APIVersion that has a format of $GROUP_NAME/$VERSION (e.g app.example.com/v1alpha1)
-h, --help                 help for api
--kind string          Kubernetes resource Kind name. (e.g AppService)
Global Flags:
--verbose   Enable verbose logging
Environment

operator-sdk version:

operator-sdk version: v0.7.0+git

go version:

go version go1.11.2 linux/amd64

Kubernetes version information:
noting to do with kube

Kubernetes cluster kind:
nothing to do with kube cluster
Are you writing your operator in ansible, helm, or go?
go
Possible Solution

Additional context
Add any other context about the problem here.

It looks like the problem of go mod, After upgrade go version from 1.11 to go version go1.12.5 linux/amd64, The command works.


Custom key and provider type support

Coverage remained the same at 84.596% when pulling c7b78120350bfb20479b17909e511abdf25e99d0 on GunaKKIBM:Compute-Identity-custom-key-provider-type-support into 9ae11c692d4fd4cf59e5f89a52dbb465e76dbb12 on kubernetes-sigs:master.

/ok-to-test

/lgtm


Compile error if slot index property is listed before name

Describe the bug
When binding slots to generators, if i configure the slot like so:
<#slot index={index} name="cols" :args={item: item} />

i get
** (CompileError) lib/i_fix/components/table.ex:38: invalid attribute `index` for <#slot>.
Slots only accept `name`, `:args`, `:if` and `:for`.

but, if i reorder the slot props, so the index comes after the name:
<#slot name="cols" index={index} :args={item: item} />

everything is cool
How to reproduce it
as above
The behavior you expected
to either compile ok, or to warn about the order of the slot props if there is a requirement
Your Environment
Surface: v0.5.1
LiveView: v0.15.7
Elixir: v1.12.1

In the compiler we force the name attribute to always be first, else we raise a compile error: https://github.com/surface-ui/surface/blob/2f951acf277126ef2a33f09f1050898ce2c384d5/lib/surface/compiler.ex#L1195
Is there a reason for this @msaraiva ? Else this should be an easy fix :)

@miguel-s the implementation is completely broken. This function was supposed to be recursive, traversing all attributes and it should consider name and index as valid attributes, not just name.
Jesus, where was my mind I when I wrote that 🤦♂


How to improve track speed on CPU?

Environment: 40 cores CPU 236GB memory Linux Centos7
The model have been sucessfully run on my own video, but tracking cost around 0.4s for each frame (1080*1920 per frame), the track speed is only about 2.5FPS.
Can I improve the tracking speed on CPU?

I meet the the same problem and I do it on another computer with 2 titans 24G.It perform better!


Changed 'autumn 2016' to '7 November 2016'

Related to #2774
Trello card
Description
This PR shows content changes and the regression test artefacts as a result
of the content changes (i.e replacing 'autumn 2016' with '7 November 2016')
Factcheck
Preview link
GOV.UK
Expected changes
Before

After

Affected outcomes
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/default/no
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/default/yes/no/yes
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/default/yes/yes
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement,child_benefit,child_tax,esa,incapacity,income_support,jsa,maternity,sda,widow_pension,widowed_mother,widowed_parent,widows_aged/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/350.0/couple/B1 1PW
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement,child_benefit,child_tax,esa,incapacity,income_support,jsa,maternity,sda,widow_pension,widowed_mother,widowed_parent,widows_aged/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/350.0/couple/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement,child_benefit,child_tax,esa,incapacity,income_support,jsa,maternity,sda,widow_pension,widowed_mother,widowed_parent,widows_aged/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/350.0/parent/B1 1PW
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement,child_benefit,child_tax,esa,incapacity,income_support,jsa,maternity,sda,widow_pension,widowed_mother,widowed_parent,widows_aged/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/350.0/parent/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement,child_benefit,child_tax,esa,incapacity,income_support,jsa,maternity,sda,widow_pension,widowed_mother,widowed_parent,widows_aged/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/350.0/single/B1 1PW
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement,child_benefit,child_tax,esa,incapacity,income_support,jsa,maternity,sda,widow_pension,widowed_mother,widowed_parent,widows_aged/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/350.0/single/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement,child_benefit,child_tax,esa,incapacity,income_support,jsa,maternity,sda,widow_pension,widowed_mother,widowed_parent,widows_aged/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/couple/B1 1PW
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement,child_benefit,child_tax,esa,incapacity,income_support,jsa,maternity,sda,widow_pension,widowed_mother,widowed_parent,widows_aged/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/couple/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement,child_benefit,child_tax,esa,incapacity,income_support,jsa,maternity,sda,widow_pension,widowed_mother,widowed_parent,widows_aged/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/parent/B1 1PW
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement,child_benefit,child_tax,esa,incapacity,income_support,jsa,maternity,sda,widow_pension,widowed_mother,widowed_parent,widows_aged/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/parent/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement,child_benefit,child_tax,esa,incapacity,income_support,jsa,maternity,sda,widow_pension,widowed_mother,widowed_parent,widows_aged/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/single/B1 1PW
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement,child_benefit,child_tax,esa,incapacity,income_support,jsa,maternity,sda,widow_pension,widowed_mother,widowed_parent,widows_aged/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/50.0/single/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement/50.0/350.0/couple/B1 1PW
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement/50.0/350.0/couple/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement/50.0/350.0/parent/B1 1PW
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement/50.0/350.0/parent/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement/50.0/350.0/single/B1 1PW
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement/50.0/350.0/single/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement/50.0/50.0/couple/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement/50.0/50.0/parent/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/bereavement/50.0/50.0/single/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/none/350.0/couple/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/none/350.0/parent/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/none/350.0/single/B1 1PW
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/none/350.0/single/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/none/50.0/couple/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/none/50.0/parent/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/future/yes/no/no/none/50.0/single/WC2B 6SE
https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y/y

Shouldn't the radio button 'Autumn 2016' also be updated to read 'from 7 November on' on https://smart-answers-pr-2795.herokuapp.com/benefit-cap-calculator/y?

@selfthinker This PR #2774 caters for such change.. the aim of this PR is to pre-inform users of the changes to come post from 7th November 2016


latest 3.0.1 doesnt compile on xcode 7.3 using cocoapods

Use of undeclared type DecodedType
In protocol file Decodable
Argo Version
Argo 3.0.1_
Dependency Manager
Cocoapods,

This should work, we've heard no other reports of it failing to compile. Are you sure you're on Xcode 7.3?

my sincere apologies , just realised i am not running xcode 7.3 .
RegardsSunday
On Tuesday, 12 April 2016, 19:56, Gordon Fontenot<EMAIL_ADDRESS>wrote:

This should work, we've heard no other reports of it failing to compile. Are you sure you're on Xcode 7.3?—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

No worries, glad I wasn't crazy. Feel free to let me know if you run into any other issues.


Create fedpolyado.txt

Added The Federal Polytechnic, Ado-Ekiti to the list of institutions in the Nigerian domain

@Behordeun First stage of verification passed, official domain is fedpolyado.edu.ng as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

Thanks @philipto, we're patiently waiting for a successful enrollment of our institution.

@Behordeun Thank you for your patience while waiting for a review and processing your request. Pull request merged.

@philipto, thanks. When can we start to access academic benefits?


[Question] How to store results into Firestore database

How to run once only upon first launch and store into Firestore database, and optionally rerun the series of questions later if user feels motivated to do so.

I think this is totally up to your implementation.  You could f.e. store a boolean flag where you save if the survey should be shown or not.


Announcement: Release 2.1.0

In progress
Significant changes

[x] Caching and performance improvements. Details available here
[x] Support for RFC #6570
[x] Document @Incubation and @Deprecated apis.

Deprecations
ResourceGroupingStrategy has following deprecations getResourceDescription and getResourcePosition
Incubating features

Docket#enableUrlTemplating
PathDecorator interface that takes in a PathContext

Enhancements

#849 #801 #810 Support for enums in response values and in schema objects @kevinconaway
#831 Changes to allow for readOnly property in swagger 2  feature @jfearon
#832 Add support for vendor extensions in operations  feature @cbornet
#843 Swagger Resources with different base paths feature @samillm

Bug fixes and maintenance

#852 Regression of Issue #552 dealt with the ApiResponses annotation being ignored when it was placed on an interface. @mikesaelim
#847  Link to minified swagger-ui @ejain
#682 operationId is not guaranteed to be unique bug
#711 Support for multiple request/response models based on different query string parameters and also accept headers bug
#771 Duplicate Tags when multiple @Api have same value. bug @rkaltreider
#817 Maps of maps are not correctly handled bug @cbornet
#825 Generated spec is non-deterministic - different runs different outputs bug @rajeshkamal
#829 o2c.html not found bug @yukinami
#830 Newest version of swagger2markup  maintenance @RobWin
#833 initOAuth in swagger-ui.html is not invoked. bug @yukinami
#837 Array of multipart file parameters are not rendered correctly bug

Questions and Documentation

#821 Configuring authorization can-use-for-docs question @poliveiraTDsis
#827 missing documentation can-use-for-docs @rcruzper
#828 Using Maps question @rcruzper
#835 @ApiResponses is suppressing "Response Content Type" drop down **can-use-for-docs question ** @dpatra1
#839 Swagger Spring MVC missing controller names question won't fix @samillm
[x] #822 Response code in Response Entity ignored can-use-for-docs question @jfearon
[x] #840 overflow-y can-use-for-docs question @wind57

2.1.0 has been released! thanks everyone for your contributions!


Course schedule reload automatically at first entries.

Course schedule page reload automatically.
Seems that logic on loading course schedule page has some problem. The state has already acquired the course schedule data but still fetch the data online.

Fixed in commit : https://github.com/nightlan1015297/collegenius/commit/9e116f314f67ed1d19b7aaa60a350505279d8d88


Show WebGL error code

Please do not update the README or Change Log, we will do this when we merge your PR.
This PR (delete as applicable)

Fixes a bug

Describe the changes below:
Show the webgl error code value if it is not present within the object map. Currently it just prints "Framebuffer status: undefined", now it will print "Framebuffer status: 69420" etc

👍


Add ability to publish Stock prices.

It would be great to be able publish feeds for Stock tracking assets like (FACEBOOKCOM, AMAZONCOM, ...).
For that we should add sources that provide stocks prices in real time.
See this pandas-datareader issue for a nice list.

This repository have added the feature.
Those sources are implemented:

Google
IEX
RobinHood
AlphaVantage

You can see an example of configuration there.


Messages from websocket are not showing up

Using mpv with kuroahna/mpv_websocket, the page is able to connect to the WS but seemingly unable to display incoming messages:

Whenever a message is received, the page briefly flashes but fails to display anything.
This happens in both Chrome and Firefox.

hi,
by default lines will only be shown when the timer runs (flashing is basically an indicator you missed a line). You can disable it via respective setting or let the timer autostart


Lspconfig unable to find root dir for tsserver project

Description
Unless I manually npm install ts-server in the root of my project or create a git rep, lspconfig is unable to find if.
Neovim version
NVIM v0.7.0-dev+1395-ge135adcb8
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Nvim-lspconfig version
No response
Operating system and version
Linux desk 5.17.1-arch1-1 #1 SMP PREEMPT Mon, 28 Mar 2022 20:55:33 +0000 x86_64 GNU/Linux
Affected language servers
tsserver
Steps to reproduce

Install minimal version
Install tsserver
open simple js file
run :LspInfo

Actual behavior
Language client log: /home/zak/.cache/nvim/lsp.log
 Detected filetype:   javascript

 2 client(s) attached to this buffer:

 Client: null-ls (id: 1, pid: 5001, bufnr: [6])
 	filetypes:       sh, lua, python, css, typescript, typescriptreact, javascript, javascriptreact
 	autostart:       false
 	root directory:  /home/zak/programing/www/flag
 	cmd:             nvim

 Client: quick_lint_js (id: 2, pid: 61501, bufnr: [6])
 	filetypes:       javascript
 	autostart:       true
 	root directory:  Running in single file mode.
 	cmd:             quick-lint-js --lsp-server

 Other clients that match the filetype: javascript

 Config: tsserver
 	filetypes:         javascript, javascriptreact, javascript.jsx, typescript, typescriptreact, typescript.tsx
 	root directory:    NA
 	cmd:               typescript-language-server --stdio
 	cmd is executable: true
 	autostart:         true
 	custom handlers:

 Configured servers list: bashls, sumneko_lua, cmake, jsonls, vimls, html, tsserver, quick_lint_js

Expected behavior
I expect lspconfig to find the root dir
Minimal config
I'm using lsp-installer, see https://github.com/williamboman/nvim-lsp-installer/issues/585

As stated in our documentation, you need one of these files/folders (in the case of git) in order for the project to be detected:

package.json
tsconfig.json
jsconfig.json
.git
Please re-read the documentation:

https://github.com/neovim/nvim-lspconfig/blob/master/doc/lspconfig.txt#L359-L460
https://github.com/neovim/nvim-lspconfig#debugging
https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#tsserver

Hey again, so this is by design. When working on typescript projects it is expected for you to have at least one of these files or folders in your workspace:

tsconfig.json
package.json
jsconfig.json
.git/

I see, thank you for informing me and sorry for the inconvenience I caused.

No worries! After rereading my first response I see how it could've been interpreted differently :D


Automated Workflow for Generating Conventional Logs in Project Version Control ✨

Description:
In modern software development, version control is essential for tracking changes, collaborating efficiently, and maintaining code quality. To promote adherence to established coding standards and improve code readability, many development teams adopt the Conventional Commit standard for version control. However, the process of manually creating and maintaining Conventional Logs for each version can be time-consuming and error-prone.
The aim of this project is to design and implement an automated workflow that seamlessly generates Conventional Logs for conventional versions of the project. This automation process will streamline the recording of version changes in a consistent format and enable developers to better understand the history of the project.
Key Objectives:

Automated Commit Message Validation: Develop a mechanism to validate commit messages against the Conventional Commit format, ensuring they adhere to the established standards.

Version Tracking and Tagging: Implement a system that automatically tracks and tags conventional versions based on the commit history, simplifying the identification and retrieval of specific versions.

Automated Log Generation: Create a script or tool that automatically generates Conventional Logs for each version by extracting relevant commit information and organizing it into a human-readable format.

Changelog Integration: Integrate the automated Conventional Log generation process with existing changelog tools or systems to ensure seamless updating of the project's release notes.

Error Handling and Reporting: Implement a robust error-handling mechanism to identify and address any issues that may arise during the automated workflow, providing clear and informative error reports to aid in debugging.

Configurability and Customization: Allow developers to customize the workflow according to their project's specific requirements, including the ability to exclude certain commits or add supplementary information to the generated logs.

Documentation and Training: Provide comprehensive documentation and training resources to guide team members on how to use and contribute to the automated Conventional Log workflow effectively.

hey @Vaishnavi-Patil2211 please assign me this issue


wallet inscriptions only lists one inscription per sat

Ord recognizes reinscriptions as cursed, but "ord wallet inscriptions" only lists one inscription per sat. I've seen it list the cursed inscription, or the regular one, but never both together.
This happens in ord 0.8.2.
The json /output/ endpoint correctly lists them all.

index.get_inscriptions() returns a BTreeMap<SatPoint, InscriptionId>, so can only return at most 1 inscription per satpoint


Add conda-lock 1.4.0

Changelog: https://github.com/conda/conda-lock/releases
License: https://github.com/conda/conda-lock/blob/v1.4.0/LICENSE
Requirements:

https://github.com/conda/conda-lock/blob/v1.4.0/pyproject.toml
https://github.com/conda/conda-lock/blob/v1.4.0/requirements.txt

Actions:

Reset build number to 0
Skip py<36
Add --no-deps to script
Update host: add missing wheel, remove pinnings, remove setuptools-scm
Update run: add missing filelock >=3.8.0, add constraints for importlib-metadata >=1.7.0  # [py<38] and tomli  # [py<311]
Update test/imports: add conda_lock.models and conda_lock.src_parser
Add test command: conda-lock --help

Notes:

conda-project requieres conda-lock

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_d2i7n5x7he/clone/recipe/meta.yaml:22: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_d2i7n5x7he/clone/recipe/meta.yaml:23: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_d2i7n5x7he/clone/recipe/meta.yaml:78: invalid_url: https://conda-incubator.github.io/conda-lock : Not reachable: 404
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_7bdt9ycyqa/clone/recipe/meta.yaml:22: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_7bdt9ycyqa/clone/recipe/meta.yaml:23: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_b8tsgr379v/clone/recipe/meta.yaml:22: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_b8tsgr379v/clone/recipe/meta.yaml:23: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_bbdd6hpzck/clone/recipe/meta.yaml:22: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_bbdd6hpzck/clone/recipe/meta.yaml:23: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

I'll remove abs.yaml before merging the PR

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_3a69462pr9/clone/recipe/meta.yaml:22: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_3a69462pr9/clone/recipe/meta.yaml:23: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_4cnptbl_bj/clone/recipe/meta.yaml:22: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_4cnptbl_bj/clone/recipe/meta.yaml:23: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found


CUDA error: invalid device ordinal

Having issues trying to run. I have tried two different computers, python 3.8/3.9 and Win10/11.
All have the same issue so not sure if it's a cupscale, python, or driver issue.
[CMD] /C cd /D "C:\Users\User\Downloads\Cupscale.1.39.0f1\Cupscale 1.39.0f1\CupscaleData\bin\esrgan-pytorch" & python upscale.py --input "C:\Users\User\Downloads\Cupscale.1.39.0f1\Cupscale 1.39.0f1\CupscaleData\preview" --output "C:\Users\User\Downloads\Cupscale.1.39.0f1\Cupscale 1.39.0f1\CupscaleData\preview-out"   --device_id 1 --fp16  --alpha_mode 0   "C:\Users\User\Downloads\Cupscale.1.39.0f1\Cupscale 1.39.0f1\CupscaleData\models\ESRGAN\4x_RealSR_DF2K_JPEG.pth"
[Python] Model: 4x_RealSR_DF2K_JPEG
[Python] Traceback (most recent call last):
[Python] Upscaling...
[Python]   File "C:\Users\User\Downloads\Cupscale.1.39.0f1\Cupscale 1.39.0f1\CupscaleData\bin\esrgan-pytorch\upscale.py", line 368, in
[Python]     load_model(model_path)
[Python]   File "C:\Users\User\Downloads\Cupscale.1.39.0f1\Cupscale 1.39.0f1\CupscaleData\bin\esrgan-pytorch\upscale.py", line 230, in load_model
[Python]     model = model.to(device)
[Python]   File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\nn\modules\module.py", line 899, in to
[Python]     return self._apply(convert)
[Python]   File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\nn\modules\module.py", line 570, in _apply
[Python]     module._apply(fn)
[Python]   File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\nn\modules\module.py", line 570, in _apply
[Python]     module._apply(fn)
[Python] 1 preview.png.png
[Python]   File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\nn\modules\module.py", line 593, in _apply
[Python] Image loaded
[Python]     param_applied = fn(param)
[Python] Reloading model - model_path: C:\Users\User\Downloads\Cupscale.1.39.0f1\Cupscale 1.39.0f1\CupscaleData\models\ESRGAN\4x_RealSR_DF2K_JPEG.pth - last_model: None
[Python]   File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\nn\modules\module.py", line 897, in convert
[Python] Setting last_model to C:\Users\User\Downloads\Cupscale.1.39.0f1\Cupscale 1.39.0f1\CupscaleData\models\ESRGAN\4x_RealSR_DF2K_JPEG.pth
[Python]     return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
[Python] RuntimeError: CUDA error: invalid device ordinal
[Python] CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
[Python] For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
[ESRGAN] Upscaling Error: Index was outside the bounds of the array.
at Cupscale.Main.Upscale.d__8.MoveNext()
Cards are a RTX 3070 and a Quadro P620

So, it works fine was my fault. Windows shows CPU GPU as 0 and Nvidia as 1, so was using GPU 1 and not 0.
Changed to 0 to try and all is well.


Incorrect commit URL

Incorrect commit URL is used to set a status of build.
The project is configured to use docker-compose. Maybe it's related. An example of such behavior:
https://ci.groupondev.com/job/RU/job/sms-service/4/console.
It reports: setting commit status on Github for https://github.groupondev.com/api/v3/repos/RU/sms-service/commit/88f7a4270e710ea38bca18ca1251bc1980dbb1de
But this is an incorrect commit URL. It will return:
{
  message: "Not Found",
  documentation_url: "https://developer.github.com/v3"
}

The URL should be slightly changed (a word commit should be replaced with commits) to be:
https://github.groupondev.com/api/v3/repos/RU/sms-service/commits/88f7a4270e710ea38bca18ca1251bc1980dbb1de
This will return correct data:
{
  sha: "88f7a4270e710ea38bca18ca1251bc1980dbb1de",
  ...
}

I think the link text is wrong but seems to do the right thing functionally(I will double check this).
Keeping this open to remind me to fix the text.

If functionality of commit status isn't broken then why is the commit https://github.groupondev.com/RU/sms-service/commit/88f7a4270e710ea38bca18ca1251bc1980dbb1de has no status?

@brainopia where are you expecting to see the status on github commit?

@suryagaddipati I've expected to see it's on the page of the commit. Where else can I check the status of commit?

fixed this in 2.15.0


Broken links to "Saving and serialization"

The "Saving and serialization" link on https://keras.io/api/ points to https://keras.io/api/saving/ which 404s.
Using an online link checker I found some other broken doc links too. Apologies this report isn't in a more convenient format. Broken – Dr. Link Check.pdf

Thanks for the report. We're fixing it.


Do not produce an empty response when ServiceCodec raises an exception

Motivation:
When a ServiceCodec.decodeRequest() raises an exception,
HttpServerHandler will close the connection immediately without sending
anything. Instead, the server should send a '400 Bad Request' response.
Modifications:

HttpServerHandler now catches an exception raised by
ServiceCodec.decodeRequest() and responds with a '400 Bad Request'
response.
ThriftServiceCodec.decodeRequest() now catches an exception raised by
TProtocol.readMessageBegin() and returns a failed DecoderResult
instead of raising an exception.

Result:

Armeria server sends a 400 Bad Request even if
ServiceCodec.decodeRequest() raises an exception.
ThriftServiceCodec.decodeRequest() deals with a bad request better.

LGTM


Fix embedded images not rendering

Fixes https://github.com/microsoft/azuredatastudio/issues/20978
Fixes https://github.com/microsoft/azuredatastudio/issues/20984

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.008%) to 41.931%

Files with Coverage Reduction
New Missed Lines
%

extensions/machine-learning/src/common/processService.ts
2
81.48%

extensions/notebook/src/jupyter/serverInstance.ts
4
75.5%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
28866

Relevant Lines:
63938

💛  - Coveralls


[RFE] allow default identities to be attempted when private_key is null

Is your feature request related to a problem? Please describe.
ssh normally attempts keyauth with a default list  ~/.ssh/id_dsa, ~/.ssh/id_ecdsa, ~/.ssh/id_ed25519 and ~/.ssh/id_rsa.
Maybe that's only in the absence of an active SSH agent.  I'm not sure about the behavior there, but I think it tries several (not all) from the agent as well be it the case.
Describe the solution you'd like
mimic lower level auth functionality
Side note:  I think there would be issues with using "password=" parameter for both password auth and private key password in a scenario where multipart auth (password + keyauth is enabled)

@erpadmin can you tell me why you closed this?

my thoughts were it probably should be the functionality of the SSH2 crate rather than your module

@erpadmin interesting. If you create an issue there, can you link it here? If you don't get any traction with them, I have an idea about how to handle it in Hussh.

https://github.com/alexcrichton/ssh2-rs/issues/331

maintainer described it as a security risk to implement at the library level
https://github.com/alexcrichton/ssh2-rs/issues/331#issuecomment-2457961276

draft.txt
I started taking a crack at Rust, and letting it slap me around a bit, but I have created a basic working model for default identity auth attempts and also added in defaulting to $OSUSER when username is not specified rather than root.
I haven't quite wrapped my head around Option and String and bouncing between the two yet.  Things will probably get a little tricky when the agent is considered and it may be best that default identities should be ignored when an agent is active.
Anyway, there's something to contrast against if you choose to explore this feature.


remove requirejs, dont need it with angular, never do so…

…mething like that

a mistake, merci

no problem, sorry for "words" that I used, I was pissed by something else, never mind, i've no excuse.


update cdk hello-world page without hash link

As there is no update on the redesign timeframe, the permanent links for hello-world are not yet updated. So rolling back to the url which won't break in the future till the new design is up.
Relates to  #1132

Codecov Report

Merging #1392 into master will decrease coverage by 0.53%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1392      +/-   ##
==========================================
- Coverage   92.64%   92.11%   -0.54%
==========================================
  Files          47       47
  Lines        4895     4971      +76
  Branches      549      864     +315
==========================================
+ Hits         4535     4579      +44
- Misses        360      362       +2
- Partials        0       30      +30

Impacted Files
Coverage Δ

browser/pages/start/controller.js
81.2% <100%> (+0.51%)
:arrow_up:

browser/model/devstudio-autoinstall.js
97.29% <0%> (-2.71%)
:arrow_down:

browser/pages/install/controller.js
91.86% <0%> (-1.75%)
:arrow_down:

browser/model/helpers/downloader.js
95.53% <0%> (-1.68%)
:arrow_down:

browser/model/che.js
95% <0%> (-1.62%)
:arrow_down:

browser/services/platform.js
98.14% <0%> (-1.48%)
:arrow_down:

browser/model/jdk-install.js
91.57% <0%> (-1.47%)
:arrow_down:

browser/pages/account/controller.js
98.61% <0%> (-1.39%)
:arrow_down:

browser/model/cdk.js
97.6% <0%> (-1.16%)
:arrow_down:

browser/model/devstudio-p2-zip.js
64.4% <0%> (-1.12%)
:arrow_down:

... and 25 more

Continue to review full report at Codecov.

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


Add alerting rules and post alerts as GitHub comments on being triggered

Since AlertManager doesn't natively support a GitHub receiver, a receiver needs to be made using webhook-receiver
alertmanager-github-receiver creates a GitHub issue from alerts using AlertManager webhook-receiver. Maybe this tool can modified to support GitHub comments also.

that is very useful and it look like exactly what we need. Thanks will look into that!

It makes sense to terminate benchmarking in the middle, rather than wait for 6 hours for a buggy release/PR.
The following can be certain scenarios to declare benchmarking to have failed

Prometheus’s resource usage crosses a certain threshold.
(similar to adding alerting rules for prometheus servers)
A known good prometheus release will be considered.
If the difference in metrics of the current release and a known good release is beyond a certain threshold. For example:

(no. of failed queries) - (original no. of failed queries) > threshold
(avg. memory usage) - (original avg. memory usage) > threshold
(used disk space) - (original used disk space) > threshold

a bug that we should have an alerting rule for
https://github.com/prometheus/prometheus/issues/3943


When using multiple NICs, VM HA does not work if you have configured zone wide NFS.

ISSUE TYPE
Bug Report
COMPONENT NAME
HA, Storage
CLOUDSTACK VERSION
4.11.0
CONFIGURATION
Basic networking,  3 NICs,  management, Guest, storage, zone wide NFS storage
OS /ENVIRONMENT
CentOS Linux release 7.5.1804 (Core)
SUMMARY
When using multiple NICs as described above VM HA does not work if you have configured zone wide NFS.
When the power is disconnected from one of the compute nodes the management server logs show the ping timeouts but it never confirms that the host is down so in the UI its state is "Alert" not "Down".  Because of this there is no attempt to restart the VMs on another of the compute nodes.
With cluster wide NFS instead VM HA works with multiple NICs.
The same happens with 2 as opposed to 3 NICs so I think it is just if you split traffic across the NICs.
I ran two comparison tests -

all traffic over single NIC, zone wide NFS -  worked
management/storage on one NIC, guest on another, zone wide NFS - did not work

and I have the management server logs for both tests if needed ?

@jms345 is this still a valid issue? If it is not, we can close it.

Still valid.
I removed it because of some further testing that complicated things but it
is still a bug as far as I know.
Do you want me to update with details ?
*Jon Marshall *| Network Engineer
*Datacentreplus *| 4 Quays Reach | Carolina Way | Manchester | M50 2ZY
T: 0161 4646101
www.datacentreplus.co.uk
[image: dcplogo]
On 20 June 2018 at 10:58, Rafael Weingärtner<EMAIL_ADDRESS>wrote:

@jms345 https://github.com/jms345 is this still a valid issue? If it is
not, we can close it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/cloudstack/issues/2708#issuecomment-398694142,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AmTmbZbVqQDpS6Gu1WB-NRNju7YF-JzEks5t-hzYgaJpZM4UmCES
.

Yes please. Otherwise, someone might close it.

TEST

updated
*Jon Marshall *| Network Engineer
*Datacentreplus *| 4 Quays Reach | Carolina Way | Manchester | M50 2ZY
T: 0161 4646101
www.datacentreplus.co.uk
[image: dcplogo]
On 20 June 2018 at 11:03, Rafael Weingärtner<EMAIL_ADDRESS>wrote:

Yes please. Otherwise, someone might close it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/cloudstack/issues/2708#issuecomment-398695470,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AmTmbWGvbUvaeYFue1XgbnL20RcjA_Nrks5t-h3fgaJpZM4UmCES
.

@jms345 are you able to reproduce this with latest master or <IP_ADDRESS>?

@jms345 there seems to be low interest in this issue. How are you dealing with this and is it still an issue?

@jms345 there seems to be low interest in this issue. How are you dealing with this and is it still an issue?

this can be fixed by
https://github.com/apache/cloudstack/pull/4708/files#diff-5762d5f6db9d0479cc84ad9f76d4ba8cf3c6628147c572a160372803d8157f88R88-R96

@jms345 can you review @weizhouapache ' s suggestion? And confirm it solves the issue?

Fixed in https://github.com/apache/cloudstack/pull/5164


[backport]  Use CScalar in elementwise and reduction

Backport of #1447

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 411b9c016f5e0673a273c02c4786e4efac65aaa0, target branch v4) succeeded!

LGTM!


Feat/civ 2638

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/CIV-2638
Change description
This change ensures that when a case is issued against defendant LiP, it should not drop offline and therefore stay online.
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

Closing PR as branch outdated, new one called Revertto0308
New PR: https://github.com/hmcts/civil-service/pull/1345


fix missing comma

@UlrikeS91 could you please merge this one ? there was a missing comma in the json that caused our pipeline to fail. Thank you in advance!

@ioannistsanaktsidis thanks for fixing this!


test-bot: tweak readall behaviour.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

Check the syntax for Homebrew/brew and don't bother for taps. As requested by @UniqMartin in https://github.com/Homebrew/brew/pull/286/files/f9cb2b36363fb55acccdb9834fff7199182b8164#r64994952.

:+1: Thanks for following up to my comment with a PR! Feel free to merge as-is.
I left a few thoughts in the code comments, in case you'd like to incorporate them (but they might be out of scope for this PR). If not, that's equally fine and I'll do that in a follow-up PR.

I left a few thoughts in the code comments, in case you'd like to incorporate them (but they might be out of scope for this PR). If not, that's equally fine and I'll do that in a follow-up PR.

Good comments, have incorporated them 👍

:+1:

:+1:


Dataset Viewer issue for orkg/SciQA

Link
https://huggingface.co/datasets/orkg/SciQA
Description
Hi,
I'm trying to upload my dataset to the hub, and it seems everything is working when using the data via the python package, however, the dataset viewer is not working for dataset orkg/SciQA.
Error details:
Error code:   ResponseNotFound

Yes, we had an issue that prevented updating the dataset viewer (#950). It's fixed now. Thanks for reporting!
https://huggingface.co/datasets/orkg/SciQA

Thanks for the fast reply


fix: material svg icon size fix

in case of material icon's default width calculation doesn't work and mostly render really tiny icon. But they do have width props which can be used here to calculate correct icon size.

A few examples I tried seemed to have worked OK, but it has been a while. Can you share a (or a few) examples that don't currently work?

All the material icons have the same props,

keyboard_double_arrow_right
keyboard_double_arrow_left
keyboard_command_key etc..

Hi, i was wondering if anything outstanding fpr this? If not is ot possible to review and merge?

Hi, I am really sorry, I forgot about this. I investigated it a bit today and I believe this is due to a bug with the aspect ratio calculation, see the linked commit. I think this is the right way to solve it and it seems to work correctly for me, please let me know if you still have such issues.


VS Code launches itself when I plug in a USB drive -- never requested, not desired

VSCode Version:Version 1.22.2
Commit 3aeede733d9a3098f7b4bdc1f66b63b0f48c1ef9
Date 2018-04-12T16:34:44.222Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64
OS Version: Linux Mint 18 'Sarah' Cinnamon 64-bit

Steps to Reproduce:

plug in any USB storage (external HD, thumb drive, etc.)
vscode launches itself

Does this issue occur when all extensions are disabled?: cannot test that

yikes! no, please don't assume it's a duplicate of that! or else, tell me how to re-open that one, because someone closed it (in my view) prematurely (maybe my fault because I didn't pay attention). That just says: "it's windows fault, not vscode" which of course can't be true. Maybe it could be Linux Mint's fault (or cinnamon?), but not Windows, there's no Windows here... and anyway if I uninstall vscode & the problem disappears, how can it really be Linux Mint's fault? Somehow vscode has made this happen.

This must be an OS issue since how can VS Code open itself if it does not run?
Uninstalling VS Code doesn't prove that this is VS Code fault because how could linux launch something that doesn't exist?

@polycopter I cannot reproduce this on Linux. I know this is not the answer you want, but it has to be OS-related or something else to do with your environment like some other program launching the default editor?
For your information this is how the deb package works:

The control file: https://github.com/Microsoft/vscode/blob/master/resources/linux/debian/control.template
This runs in the post install step: https://github.com/Microsoft/vscode/blob/master/resources/linux/debian/postinst.template
The /usr/ paths that VS Code gets installed to can be found here: https://github.com/Microsoft/vscode/blob/189f560fa5c84c8eea0e6a13c0ca691e3f37c1a9/build/gulpfile.vscode.linux.js#L33-L86

"...some other program launching the default editor?" -- at no time did I explicitly say to my OS, you have a new "default editor," and it's vscode. Is it possible that this is a behavior of the vscode installation, and/or something it does automatically when first run -- to set itself as "the default editor" w/o the user asking it to do so? If so, then I would still be inclined to think that it is vscode's "fault" -- I'm not interested in blaming, just fixing, tbh. So thank you for the information, although it's a bit "greek" to someone as yet relatively unschooled in Linux package management.

Is it possible that this is a behavior of the vscode installation, and/or something it does automatically when first run -- to set itself as "the default editor" w/o the user asking it to do so?

Possible of course, but unlikely given my knowledge of how the package works. I'd love to be proven wrong and have a bug fixed but I don't think it's a VS Code issue and this is the only report we have ever had of this.


Fix badrecord race when messages delivered after unsubscribe

Pull Request Test Coverage Report for Build 1038

8 of 9 (88.89%)  changed or added relevant lines in 1 file are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.1%) to 79.425%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/brod_group_subscriber.erl
8
9
88.89%

Files with Coverage Reduction
New Missed Lines
%

src/brod_client.erl
2
82.44%

src/brod_consumer.erl
3
75.23%

Totals

Change from base Build 1031:
0.1%

Covered Lines:
2015

Relevant Lines:
2537

💛  - Coveralls


[jailer] Check if cert is file, not that it exists

If ca-additional-certs secret does not have the key ca-additional.pem the jailer will attempt to copy the dir which is still mounted but will fail with the error:
[FATAL] error running the jail command: cp: -r not specified; omitting directory '/etc/ssl/certs/ca-additional.pem

rancher/rancher:master-head 210f4fa8

Reproduced in v2.2.7

mkdir -p /root/certs/ca-additional.pem/
docker run -v /home/ubuntu/state:/var/lib/rancher -d -p 80:80 -p 443:443 -v /root/certs/ca-additional.pem:/etc/ssl/certs/ca-additional.pem --restart=unless-stopped rancher/rancher:v2.2.7
docker logs -f d0c
2019/08/12 20:30:57 [FATAL] error running the jail command: cp: -r not specified; omitting directory '/etc/ssl/certs/ca-additional.pem'

Running the same in master-head does not crash with the error, and rancher starts successfully:

docker run -v /home/ubuntu/state:/var/lib/rancher -d -p 80:80 -p 443:443 -v /root/certs/ca-additional.pem:/etc/ssl/certs/ca-additional.pem --restart=unless-stopped rancher/rancher:master-head


update recommended build instructions

see: https://github.com/LLNL/serac/issues/907
This PR changes the wording on the getting_started page to better document the different supported CMake configuration arguments.
The new content can be viewed here:
https://serac.readthedocs.io/en/mish2-update_build_instructions/sphinx/quickstart.html#building-serac

Please do not remove all references to config-build.py. I am fine having a section on configuring with straight CMake but many people find the config-build.py very useful. Just make the content correct and add a comment that it deletes the build directory if it is present.

Please revert moving config-build.py back at the root of the repository.

Codecov Report

Merging #908 (280b25b) into develop (fbd869f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #908   +/-   ##
========================================
  Coverage    94.74%   94.74%
========================================
  Files          153      153
  Lines        10780    10780
========================================
  Hits         10214    10214
  Misses         566      566

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

The Quickstart Guide needs some reorganization outside of this PR but this is an improvement for sure.
Can you add some sections to what you added or would you prefer this outside of the PR?  Something like:
Building Serac
-Configuring the Build
--Option 1: Pure CMake
--Option 2: Helper Script
-Building


Allow specify user context in GitHub Status window

Allow specify user context in GitHub Status window
The context after this modification looks like:
In case of context is not specified, then status is:
`Testing Farm - <OS> - <version>`

In case of context is specified, then status is:
`Testing Farm - <context> <OS> - <version>`

@jamacku Thanks for review. Can you please have a look at it once more?

@phracek, could you please share why we need this feature? What will be specified in the ?


Allow for .ts routes file

Small changes to allow the generate command to output .ts files.

Thanks! This makes sense but it needs a bit more work. Just thinking out loud, I'm happy to make these changes.

Need to add/update tests.
Need to check a bit more carefully in the first path normalization because if they pass a .d.ts filename I think that'll make it through and be used by Ziggy to generate the file, which I don't think we want.
I think the generated file may contain type errors, we might need something like this but I'm not sure and I don't know if there would be other side effects:

declare global {
    var Ziggy: Config;
}


Implement ModelBuilder and update the execution API

fix #22
Implement the WebNN API change introduced by https://github.com/webmachinelearning/webnn/pull/94.
Preview:

test
docs

Detailed changes include:

Support optional outputs and optional input shapes.
Implement ModelBuilder interface for state separation between context state and graph state.
Fold the execution interface into the compilation interface by adding compute method.
Remove quantization-related params from the operand descriptor.
Simplify operand type enum.
Add 86 new test cases.
Update the version to 0.1.0

@anssiko @wchao1115 @pyu10055 @BruceDai , please take a look. Thanks!

Thanks @BruceDai for contributing the nhwc conv2d and depthwise conv2d test cases. It helped me to find an issue of filter layout for nhwc depthwise conv2d. I pushed new comments to fix it. Please take a look.

@BruceDai , could you please verify whether the depthwise conv2d issue was fixed? Thanks!

@huningxin I verified with three test cases converted from Android NNAPI CTS tests, now these test cases were all PASS, thanks for fixing this issue.
BTW, I'm planning to submit a PR of adding some test cases converted from Android NNAPI CTS tests and the converter scripts to this repo, and hope to get some feedback from you and also the community, thanks.

@huningxin I believe this PR has received adequate review and we can merge this now.

@anssiko @BruceDai @pyu10055 , I believe all the comments have been addressed by either adding new commits or filing new issues. With that, I am going to merge this PR. Thanks much!


SS3.05 Defect - TimeField unable to save value of 12:00AM

Currently in the CMS if you setup a data object using SS_Datetime as a variable or as a variable of a page type.  In the CMS when using DateTimeField you can currently not save a value of 12:00AM.
More context on this issue was originally at - http://open.silverstripe.org/ticket/8337
Steps to reproduce easily -

Setup a data object like the following -

class MyObject extends DataObject {
static $db = array('MyTimeValue' => 'SS_Datetime');
}

Setup a Model admin for your MyObject class
run a dev/build and then go to the CMS admin
In the admin create an object and set the dates time to 12:00 AM and press save.  When the page reloads the time will be displayed as 12:00 PM.  If you look at the database you will see if is saved as 12:00 PM.  If you update the database to manually set it to 12:00 AM aka 00:00:00, when you refresh the admin page it still shows 12:00 PM.

This is currently being caused around line 101 of forms/TimeField.php where it is setting the ISO time from the database in the setValue function -

else if(Zend_Date::isDate($val, $this->getConfig('datavalueformat'))) {
$this->valueObj = new Zend_Date($val, $this->getConfig('datavalueformat'));
$this->value = $this->valueObj->get($this->getConfig('timeformat'));
}

One possible solution may be to try and have the time Set in current local first (else if statement below the above) instead of trying to convert to iso HH:mm:ss

@chillu this issue was fixed
added assertions to verify

One thing I'd say, @gregsmirnov, is that your tests don't show that it can be saved into the DB, which is what the bug here complains about.

We've switched to PHP's built-in date/time intl functionality, and using the silverstripe/frameworktest module it looks like that's fixed


Permission mappings

work on #252
here we used axplorer to generate the new mappings. The files are now loaded as json, so they do not take so much space when just imported and can be loaded on demand.

Codecov Report

Merging #417 into master will decrease coverage by 0.12%.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##           master     #417      +/-   ##
==========================================
- Coverage   68.95%   68.83%   -0.13%
==========================================
  Files          63       41      -22
  Lines       13439    13374      -65
==========================================
- Hits         9267     9206      -61
+ Misses       4172     4168       -4

Impacted Files
Coverage Δ

androguard/core/bytecodes/apk.py
60.28% <ø> (+0.41%)
:arrow_up:

androguard/core/api_specific_resources/__init__.py
56.25% <56.25%> (ø)

androguard/core/androconf.py
34.86% <83.33%> (-0.89%)
:arrow_down:

Continue to review full report at Codecov.

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


Add BLIP and text-to-image serving

Closes #179.

Similarly to CLIP, BLIP is composed of two separate sub-models (vision and text). There are a couple architectures of BLIP, for now I only added :for_conditional_generation, because I'm not sure if the other ones are generalisable into servings, and for the :base model (which is like CLIP) I found no checkpoint to test against, so it's not necessarily useful.
@seanmor5 it hit me that speech-to-text is audio and not multimodal, so it feels weird that image-to-text is multimodal and not vision. Let me know if you have any opinion on this :)

@jonatanklosko No issues with switching this out to not be multi-modal! Nice one!

Is it possible to just use the base of the conditional generation model checkpoint to test the base model?

I guess it is strange though considering we'd keep the multimodal namespace for models and move the task to vision.

Yeah I'm on the fence here, keeping BLIP under multimodal makes sense since CLIP is already there, and it's joint two models. But having the task there feels inconsistent (unless we move speech-to-text there too).

Is it possible to just use the base of the conditional generation model checkpoint to test the base model?

Not really, the base model is like CLIP, it has final projections for visual and text states, but those projections are not used in any other variant. Even the naming in hf/t is different across those variants (self.text_model, self.text_encoder, self.text_decoder), so loading directly is not possible, rather setting state dict directly. If we really wanted we could make a deterministic test, but I'm not sure it's worth it if there's not checkpoint.

Well, "Zero-shot image classification" intuitively belongs under vision, right? And it will use CLIP which is under multimodal. At this point I think multimodal should be misc 😄


Cleanup exit

According to https://github.com/qooxdoo/qooxdoo-cli/issues/46 i rework the handling:

the library function do not process an exit any longer. Instead they throw an exception
Exceptions are handled in the handler function.
if an exception occurs the exit Code is set to 1
use qxcli.Utils.UserError where ever it is usefull

Thanks! IMHO we should first the Code cleanups before continue with new features..

I would say as @johnspackman has already reviewed and the later commits concern only fixes, we can merge this. Thank you very much, @hkollmann, this is the sort of work that is less fun than doing new stuff but soooo important.


Are we going to plan Azure AD for MSFT SSO Implementation?

@haxgranit Are we going to plan Azure AD for MSFT SSO Implementation?

@zensports-granit next release plan! MSFT and Facebook SSO.


Pil image support.  Default WAIT

You can now submit imagequeries with PIL images.  But obviously only if PIL is installed.  Fixes #22
Also you can set gl.DEFAULT_WAIT which overrides the default 30 for all submit-image-query calls.

does the ndarray type detection work if you pass an OpenCV frame or do you have to cast it ?

Unfortunately, I think the answer is that it "almost works".  I think what will happen is that we will accept the image, but the colors will be wrong because OpenCV uses BGR order for color-channel, but we expect RGB.
This is certainly not awesome.  If we're getting an image as a numpy array, it's very likely it came from OpenCV.  Maybe we should require images to be BGR.  That change would be backwards incompatible though.  Filed #34 to track this.


maint: docker and dependency overhaul

Changes proposed in this pull request
fixes #46 as well as resolving the dependency on niworkflows/feat/infants-rodents for the EPI reference workflow.
Depends on nipreps/nirodents#57 being merged for a new nirodents tag, then a new release can be made here to update the docker hub image.

Documentation that should be reviewed

Hello @eilidhmacnicol! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file fprodents/workflows/base.py:

Line 327:1: W293 blank line contains whitespace
Line 328:9: E303 too many blank lines (2)

Totally agreed. Let's migrate asap

Thanks both for the speedy reviews.

Let's migrate asap
Is this the sort of change that I should wait for before tagging and updating Docker, or should I go ahead to see if it solves #46 ?

It's not critical, packages seem to build just fine. But it is likely that is not going to be the case for long


Lambda Workflows [Creates Lambda Functions] [3/5]

Describe your changes and why you are making these changes
Creates the Lambda Functions on users AWS account. Does the following:

Downloads the lambda images from Aqueduct Dockerhub
Creates ECR repos for the images and pushes to them.
Creates Lambda functions.

Related issue number (if any)
Checklist before requesting a review

[ ] I have created a descriptive PR title. The PR title should complete the sentence "This PR...".
[ ] I have performed a self-review of my code.
[ ] I have included a small demo of the changes. For the UI, this would be a screenshot or a Loom video.
[ ] If this is a new feature, I have added unit tests and integration tests.
[ ] I have run the integration tests locally and they are passing.
[ ] I have run the linter script locally (See python3 scripts/run_linters.py -h for usage).
[ ] All features on the UI continue to work correctly.
[ ] Added one of the following CI labels:

run_integration_test: Runs integration tests
skip_integration_test: Skips integration tests (Should be used when changes are ONLY documentation/UI)

Curious if user need to provide k8s config when setting up lambda integration?

No they don't need to, k8s and lambda are entirely different integrations. Was there some code that was confusing about this?


The remote party closed the WebSocket connection without completing the close handshake. : Cannot access a disposed object. Object name: 'FrameResponseStream'

From @akash073 on Thursday, November 23, 2017 9:19:46 PM
I am getting following exception in Microsoft.AspNetCore.WebSockets Version 1.0.2 .
in
if (socket.State == WebSocketState.Open) await socket.SendAsync(buffer: new ArraySegment(array: Encoding.ASCII.GetBytes(message), offset: 0, count: message.Length), messageType: WebSocketMessageType.Text, endOfMessage: true, cancellationToken: CancellationToken.None);
.Message = The remote party closed the WebSocket connection without completing the close handshake. inner exception = System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'FrameResponseStream'.
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.FrameResponseStream.ValidateState(CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.FrameResponseStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.FrameDuplexStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
at System.Net.WebSockets.ManagedWebSocket.SendFrameLockAcquiredNonCancelableAsync(MessageOpcode opcode, Boolean endOfMessage, ArraySegment`1 payloadBuffer) stacktrace =    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.WebSockets.ManagedWebSocket.d__67.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.WebSockets.ManagedWebSocket.d__66.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WebsocketCoreApplicatonWithChatRoom.WebSocketConnectionManager.d__5.MoveNext() in F:\My Private Repository\SmartShipWorks\WebsocketCoreApplicatonWithChatRoom\WebsocketCoreApplicatonWithChatRoom\Program.cs:line 75
I happens when connection is established but not used for 10-15 minutes . Working fine for simple bidirectional sending but happens infrequently .What is the problem ?
Copied from original issue: aspnet/WebSockets#212

From @kasper3 on Thursday, December 21, 2017 10:31:46 AM
same issue as #207.

From @anurse on Thursday, December 21, 2017 11:59:11 AM
This is different from the original issue in #207 as far as I understand. The exception messages are different. This message was posted later in that thread, but it's caused by a different underlying issue.
This particular issue is generally caused by taking the WebSocket off to a background process and allowing the request to end. The WebSocket type does not hold the Request Stream open, so when you return from your middleware, the stream is closed out from under the socket.
See https://github.com/aspnet/WebSockets/issues/208 for more information on this issue. If you're going to process sockets in a background process, you need to ensure the middleware (or MVC controller, etc.) that accepts the socket doesn't return until you are done with that socket.

From @kasper3 on Thursday, December 21, 2017 12:26:17 PM
@anurse
I am running my service app with TaskScheduler.UnobservedTaskException to catch these kinda exception. I don't see this exception until AFTER the disconnect. Say user was connected for 5 hours, there is no error. AFTER connection gets disconnected, I start getting these errors and they appear exactly the same amount of times as the number of connected-then-disconnected users/connections. The trouble is UnobservedTaskException keep capturing those Task failures with message The remote party closed the WebSocket connection without completing the close handshake. and System.Net.WebSockets.ManagedWebSocket.SendFrameLockAcquiredNonCancelableAsync in stacktrace even if there is no new connections popping up (I totally banned the new connections on that system). The errors wont stop popping up until i restart the service. The errors won't stop logging and appear after every X-seconds over and over.
Seems to me like once after Close->Dispose of web socket, there is still some dangling ref somewhere in some underlying Task, that tries to access the socket and fails, then task goes into faulted state, TaskScheduler.UnobservedTaskException captures it and then after sometime that repeats.
Some GC'ness? some task that was supposed to be suffixed with ContinueWith but not? Anything else?
Steps to repro: Keep the app running and log errors in TaskScheduler.UnobservedTaskException event handler

From @anurse on Thursday, December 21, 2017 6:53:17 PM
How are you disconnecting the clients? Are they sending a proper WebSocket close frame? If not, this exception will occur. If you don't want it firing the UnobservedTaskException event, you have to catch it in your code (or just ignore it when it triggers that event). What's the full stack trace for the exception you're getting? That would help narrow down where the exception is coming from.

AFTER connection gets disconnected, I start getting these errors and they appear exactly the same amount of times as the number of connected-then-disconnected users/connections

This seems exactly like the behavior I described above. If the connections aren't being gracefully shut down, any code waiting to Send or Receive on the socket will throw this exception. You have to suppress it in your own code if you don't want to see it logged.


3 support remote url

testing deps
define new env vars
blitz get out of alpha and into beta (solves suspense bug and more)

vercel retry


TRILLIUM - NTM: Fix new socrata data sets not getting bus stops processed

 TRILLIUM - NTM: Fix new socrata data sets not getting bus stops processed

This issue has been resolved via this commit: https://github.com/turnofftheapp/ntd-to-socrata-bts/commit/3ab5bceabc723c7a5121c74758cd79e3e04ece96
So I am closing this Pull Request without merging it.


How to update a pack?

Couldn't get this to work...

I killed the ipfs-pack process. ran
$ ipfs-pack make
$ ipfs-pack server & disown

AND GOT THIS:
Verifying pack contents before serving.Verified pack, starting server...
panic: interface conversion: format.Node is *merkledag.RawNode, not *merkledag.ProtoNode

goroutine 1 [running]:
main.getPackRoot(0xc4226fe000, 0xc420012084, 0x16, 0xc4226fe000, 0x0, 0x0, 0x0)
	github.com/ipfs/ipfs-pack/main.go:277 +0x473
main.glob..func2(0xc4200d6500, 0x0, 0x0)
	github.com/ipfs/ipfs-pack/main.go:361 +0x362
gx/ipfs/QmVahSzvB3Upf5dAW15dpktF6PXb4z9V5LohmbcUqktyF4/cli.HandleAction(0xbca9a0, 0xe54798, 0xc4200d6500, 0xc4200f0300, 0x0)
	gx/ipfs/QmVahSzvB3Upf5dAW15dpktF6PXb4z9V5LohmbcUqktyF4/cli/app.go:485 +0xd2
gx/ipfs/QmVahSzvB3Upf5dAW15dpktF6PXb4z9V5LohmbcUqktyF4/cli.Command.Run(0xcfc3b8, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xd21d12, 0x30, 0x0, ...)
	gx/ipfs/QmVahSzvB3Upf5dAW15dpktF6PXb4z9V5LohmbcUqktyF4/cli/command.go:207 +0xa99
gx/ipfs/QmVahSzvB3Upf5dAW15dpktF6PXb4z9V5LohmbcUqktyF4/cli.(*App).Run(0xc4201541a0, 0xc42000c080, 0x2, 0x2, 0x0, 0x0)
	gx/ipfs/QmVahSzvB3Upf5dAW15dpktF6PXb4z9V5LohmbcUqktyF4/cli/app.go:250 +0x758
main.doMain(0x0, 0x0)
	github.com/ipfs/ipfs-pack/main.go:125 +0x219
main.main()
	github.com/ipfs/ipfs-pack/main.go:58 +0x22

Should I also delete the .ipfs-pack folder?

Your manifest file (PackManifest) seems to be corrupted/truncated. The last line should be the hash of the root but it's a hash of a normal file.
(ipfs-pack shouldn't crash but that's a different bug...)

I see, but how can I update the pack?

Call ipfs-pack make again? In this case, you'll probably need to delete PackManifest first (as it appears to be corrupted).

Ok. I will do that and report back. In the meantime I found these entries in my PackManifest to be a little strange - but not corrupt. These are all text files...
https://ipfs.io/ipfs/QmXtBrMWCj6URk8sbWq5nB2TtusE2SrW2CEZyaGVEVfEi6/PackManifest
zb2rhj3xfXff2erg5kQcy85yRQVVrJpVj8P8pvQaW4XKbgVVA	f0000120001	kino_caen_2018/SESSION_1/Au_Front_Mark_Baris.ass
zb2rhYoE2JDmxV3qY6fMoEaMQLacxuKPFafuPWv6WaVWz12hx	f0000120001	kino_caen_2018/SESSION_3/transcoding.log
zb2rhXwTkDwQNh5R4fbYCjWyaHR8eZbsYwGZqtKqtAPdVofXE	f0000120001	moveVideos720p.sh
zb2rhjBFcPLu7FKtrN23kB34AUFKTahUuMGG55X6NHMGZfx29	f0000120001	prepAllVideos.sh

Hm. That pack file actually looks correct.
Those are hashes of files using the Raw format. That is, instead of taking the file data and wrapping it in a datastructure, we just hash it directly. We do this for small files (currently only when explicitly requested in go-ipfs but we'll make it the default eventually).
 Did it end with something else?

I am afraid to say that I trashed the old pack manifest as soon as I got that error and started afresh - so I can't tell you exactly. I think it may have to do with the totally ungraceful way that I killed ipfs-pack, or rather, how I thought I had killed it (with pkill ipfs- which didn't, in fact, stop it) and then ran ipfs-pack make ... that errored out. Then I used htop- found ipfs-pack and did a proper sigkill (9) on the ipfs-pack tree's root process...
Then I deleted both .ipfs-pack/ and PackManifest - which naturally got everything working again.

For the record, deleting PackManifest and then running pack again creates an entirely new pack. 👎

The multiaddress is the address of your IPFS node, not the pack. The pack is content addressed. You'll see a line that looks like:
Pack Root Hash      dweb:/ipfs/QmbQ3t9DWnpwwt1NzJwQDnfokGz15X6Hs6DC36N9u3s1Fj

That's the address of the pack and it shouldn't change.
As for the multiaddr changing, the ipfs-pack serve will listen on a new ephemeral port each time you restart it and will use a new PeerID (identity key) if you delete the .ipfs-pack directory.

(I can confirm that IPFS pack doesn't shut down well...).

The Pack Root Hash did change though... I added several files, modified several and removed a few.
But why does it listen on a new ephemeral port? That means that if the daemon ever has to restart and someone followed the instructions to mirror the pack that they will also have to change their daemon settings... no? That's kindof like asking for things to break...

If you change files, the pack root hash will change.

But why does it listen on a new ephemeral port?

Hrm... We should probably add a way to select the listening port. other nodes should still be able to find you (peer discovery should work fine here, assuming you don't have a bad NAT setup).

Is there a way to encapsulate the pack root somehow? I mean, a way for me to publish a pin to a  "permanent link" to an ephemeral pack? Or expose my filesystem in a RO way? Maybe ipfs-pack isn't for me then...

We should probably add a way to select the listening port

Yes, especially because there is a complete documentation about this:
https://github.com/ipfs/archives/blob/master/tutorials/replicating-large-datasets/mirrors-instructions.md
ipfs init
ipfs config --json Datastore.NoSync true
ipfs config Reprovider.Interval "0"
ipfs bootstrap rm --all
ipfs bootstrap add MULTIADDR-OF-PROVIDER

# then start the daemon without auto-routing:
ipfs daemon --routing=none

# then pin the data on your node
ipfs pin PACK-ROOT-HASH

Closing because this issue has been resolved. I am creating a new issue that is more general.