Remove MetaServers from node.json

This removes the MetaServers property from node.json to eliminate one
of the four places those addresses are stored on disk.  We always use
the values that come through the config (via file, env var or -join arg) to
simplify the server bootstrapping code.
Part of work to complete #5673

@corylanou

Changelog then +1

LGTM :+1:


Training speed become slower iteration by iteration

Hello,
When I training the model,  the speed of per iteration slow down, eg. in the beginning, the speed is about 0.4s/iter,  after 10000 iterations, the speed reduce to about 1s/iter. However, the time of tensorflow session
rpn_loss_cls_value, rpn_loss_box_value,loss_cls_value, loss_box_value, _ =  sess.run([rpn_cross_entropy, rpn_loss_box, cross_entropy, loss_box, train_op], feed_dict=feed_dict)
does not increase.
What's more, the CPU time seems much more than the beginning, the usage of GPU is often 0%. Therefore, I suspect that there are something wrong in roi_data_layer which run in CPU.
I have check the code, but  I can not find any bug. Has anyone meets this problem and how to solve this problem.
Thank you.

I find the reason.
In training processing, the speed of the following code will slow down (I still do not know why).  Hence, set the learning rate out of the loop can avoid this problem.
if iter >= cfg.TRAIN.STEPSIZE:
    sess.run(tf.assign(lr, cfg.TRAIN.LEARNING_RATE * cfg.TRAIN.GAMMA))
else:
   sess.run(tf.assign(lr, cfg.TRAIN.LEARNING_RATE))

@philokey Hi, I also find the problem. What do you mean by "set the learning rate out of the loop can avoid this problem"? I think it is weird. Have you found the reason?

@flowice when you set learning rate, it will add a new node in tensorflow's graph, therefore, if you set learning rate in every iteration, it will add many nodes in the graph and become very slow.

@philokey Wonderful ! I will have a try. Thank you.


Provide some quick actions from Finder, specially the "get a public link to file" feature

Is your feature request related to a problem? Please describe.
Dropbox official client add some quick action from the Finder submenu system on MacOS, like directly open a file on their website, or more important for me, get the dropbox public link to a specific file, in just 2 clicks.
Describe the solution you'd like
At least a quick action to open a file directly on the website, a quick action to get a public link to a dropbox file, and any actions requested the community ?
Describe alternatives you've considered
Right now, all file interaction should be done by the dropbox website. The main problem is that it requires to search on dropbox.com first ...
Additional context
Add any other context or screenshots about the feature request here.

This may help, if you have or are interested in using Keyboard Maestro. Should also be able to use the shell scripts with Siri Shortcuts (if you're running the latest MacOS) to accomplish similar.
https://forum.keyboardmaestro.com/t/macros-for-maestral-lightweight-dropbox-client/24776/2


office-addin-manifest: add 'validate' command to README.md

@kbrandl Please review. Glad to make any adjustments to the readme text. Thanks.

Found a bug related to the "chalk" dependency:
c:\dev\git\Office-Addin-Scripts>npx office-addin-manifest validate ..\Office-Addin-TaskPane\manifest.xml
npx: installed 12 in 2.783s
Cannot find module 'chalk'

Pushed a fix.


TIP-20 Transaction Payload with TIP-18 Output Types

Description
TIP-18 Introduces new output types, unlock blocks and output feature blocks that modify Transaction Payload structure and validation rules.
This PR adds these modification to the original Transaction Payload definition (#18) with the goal of replacing TIP-7.
View
Rendered Document

Created https://github.com/lzpap/protocol-rfcs/pull/1 to add Network ID to the signed Transaction Essence.


Clay permissions scry is too opaque

The +dict structure returned by scrying for clay permissions is too opaque a structure.
The issue is inside +rule, it refers to a (set whom) where +whom is (each ship @ta), and the @ta is a key in a map to permissions groups, internal to clay. The values of this map are ignored in a scry, ie: when you scry for permissions, you can get these black box @ta keys returned to you.

You can send a [%crew our=ship] move to clay to get back a [%cruz cez=(map @ta crew)] (where crew is (set ship)).
If we were to send back "unfolded" permissions here, then there'd be no way to get the relevant permission groups from a rule.


Add whereRelationIn and orWhereRelationIn

Following the colleague's line of thought in discussion 46224 I've often looked for the presence of the 'whereRelationIn' method within Laravel's code.
The solution is much cleaner than using a closure.

I am closing this pull request because it lacks sufficient explanation, tests, or both. It is difficult for us to merge pull requests without these things because the change may introduce breaking changes to the framework.
Feel free to re-submit your change with a thorough explanation of the feature and tests - integration tests are preferred over unit tests. Please include it's benefit to end users; the reasons it does not break any existing features; how it makes building web applications easier, etc.
Thanks!


wg-bond: init at 0.2.0

Motivation for this change
Packaged wg-bond — easy configuration manager for Wireguard.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

@GrahamcOfBorg build wg-bond

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/wg-bond-wireguard-configuration-manager-with-nix-and-nixops-support/8080/2

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/252

Result of nixpkgs-review pr 94864 1

8 packages marked as broken and skipped:
- clang-sierraHack-stdenv
- crossLibcStdenv
- linuxPackages_4_4.sysdig
- linuxPackages_4_9.sysdig
- linuxPackages_hardkernel_4_14.sysdig
- linuxPackages_hardkernel_4_14.v4l2loopback
- linuxPackages_hardkernel_4_14.vhba
- steam-run-native

1 package built:
- wg-bond


Feature/support link list pagination tokens

This change introduces an additional request / response style for API's based on the hateoas api model https://en.wikipedia.org/wiki/HATEOAS  - the specific implementation that this has been built and tested against is FHIR based API's https://hl7.org/fhir/http.html. More detail around this is built into the README.md.
This specific change introduces for hateoas_body request and response types:

Build pagination support for HATEOAS / FHIR API's
Incremental Replication for HATEOAS / FHIR API's
Introduces a start_date parameter so that if there is replication_key which is of a datetime datatype it can seed when data is replication from. The Meltano SDK has knowledge about start_dates for incremental replication.
Introduces a search_parameter and search_prefix which is used to identify the replication field used by the API and how the data is compared when making an incremental request from the last run position (state).
Updated README.md documentation for new features.

Other Changes:

Updates the Meltano.yml kind / data types
Adds a config.json.sample file for illustrating how to construct a config.json file when using the tap stand-alone for development purposes.

Closed: This logic is now incorporated in this PR - https://github.com/Widen/tap-rest-api-msdk/pull/35

Closed: This logic is now incorporated in this PR - https://github.com/Widen/tap-rest-api-msdk/pull/36


Add warning to python readme re: supported versions

Issue #, if available:
See #2
Description of changes:
Add a warning to the python readme, that the examples in this repo are only supported by version 3.12. Many (if not most) users of python lambdas are not yet on 3.12. The readme as currently written is likely to cost developers much lost time.

Thanks for the update.


Create a Business Service with Node.js using Visual Studio Code

Tutorial URL: https://developers.sap.com/tutorials/cp-apm-nodejs-create-service.html
Please specify the step you are referring to: Prerequisites
Please add that cds version ^3.5.x must be installed.  If an npm install does not do the trick, the issue might be in the package.json file.  (Reference to wrong CDS version.)  If that still does not fix it (npm install does not install the latest version), try removing the folder node_modules and npm install again.

@martin-moser, which error are you referring to?  Npm install error?  Or an 'old' unexpected cds version that you get?

@thecodester you can close this issue.


DYN-5268-SplashScreen-NotLoadingFix

Purpose
Fix for loading the SplashScreen in Dynamo at startup
When trying to load the splash screen in Dynamo was showing a blank screen, the problem was that due that the javascript code is inserted on runtime when loading the html page in WebView2 the javascript code was not finding the element "root", once I moved the root  above the

Hi @RobertGlobant20 Please also increase the version of this package

Hi @RobertGlobant20 Please also increase the version of this package

Hi @RobertGlobant20 Please also increase the version of this package
version update in the next commit: https://github.com/DynamoDS/SplashScreen/pull/13/commits/6f08721cc46ad509e3a31747463d13f8f6c0724b


Getting the MIW to run on my local machine.

Hello,
I am trying to get the Managed Identity wallet to run locally,
I am trying to follow the "Local Development Setup" steps in the readme file.
I set the $DEV_ENVIRONMENT variable to docker.dist or local.dist and ran the 'docker compose up' command and this is the error message I get.
markashraf@iot-owner-8d46dd85 docker-environment % docker compose up
[+] Running 0/11
 ⠿ miw Error                                                               1.8s
 ⠧ postgres Pulling                                                        1.8s
   ⠸ 8c6d1654570f Pulling fs layer                                         0.3s
   ⠸ d285f268e220 Pulling fs layer                                         0.3s
   ⠸ a4388b4d68d1 Pulling fs layer                                         0.3s
   ⠸ 7f8d1bfa3d3b Waiting                                                  0.3s
   ⠸ 94da97297dcb Waiting                                                  0.3s
   ⠸ 8262b2843785 Waiting                                                  0.3s
   ⠸ c368c6a56404 Waiting                                                  0.3s
   ⠸ 60f35adbbf32 Waiting                                                  0.3s
 ⠿ keycloak Error                                                          1.8s
Error response from daemon: pull access denied for local-miw, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

Can you guide me to what I did wrong here?

Hello @MarkAshraf96,
I apologize for the delay in responding. Once we've successfully released a container image using the repository, we think we are able to offer you a solution. We aim to have all these steps completed by next week.

Hi @MarkAshraf96,
you need the Taskfile -> https://taskfile.dev/installation/
Then you need to copy and modify either this
https://github.com/eclipse-tractusx/managed-identity-wallet/blob/main/dev-assets/env-files/env.docker.dist
or this
https://github.com/eclipse-tractusx/managed-identity-wallet/blob/main/dev-assets/env-files/env.local.dist
file.
When you copy it to the same directory, just remove the ".dist" ending. -> "env.local" or "env.docker"
If you just want to try it out, leave the var's section of the Taskfile.yaml as it is. (default "docker")
If not modify it to "local" ->
vars:
  ENV: local

Then follow the instructions either for "docker" config -> https://github.com/eclipse-tractusx/managed-identity-wallet/blob/main/README.md#docker
or for "local" config -> https://github.com/eclipse-tractusx/managed-identity-wallet/blob/main/README.md#local
It should work then.
Don't start the compose file directly, because it uses the "$DEV_ENVIRONMENT" var, which is passed by the Taskfile.
And btw.: To compile the app, you will need to have read permissions for the SSI lib repo, because it's private at the moment.

Thank You for the reply, I will try it and get back to you.
How can I get the read permission for the SSI lib repo?

On following the instruction, I faced this versioning error, for the specified versions in the build.gradle file.

Which Java version do you use?
Java 17 is tested. In the error message, there may be a hint, that you are using Java 11...

@MarkAshraf96 is your issue resolved? Can we close this?

Closing due to inactivity


Error while installing on MacOSX 10.7.2 Lion

Hi,
I'm trying to install npm on the iMac they gave me at work: I tried to install npm as usual but it gives me this error:
https://gist.github.com/1298220
What to do?

I noticed this problem yesterday on all of our Ubuntu and OS X machines. It worked two days ago. So this is a recent thing.
Issues #1575 and #1568 are likely the same problem.

This is not a recent thing, unless you recently changed permissions on /usr/local.  http://npmjs.org/doc/README.html#Permission-Errors-on-Installation
@hutch #1568 is a tar problem, not a permissions issue.  #1575 is completely perplexing, but almost certainly not an EACCES, but rather some other type of FS error that libuv isn't aware of.

Oops, my mistake #1575 isn't related to libuv, since it's 0.4.  But it's the get-uid-number script that's failing, so again, nothing to do with install permissions.


How to make sure that the operator will only watch a List of namespaces?

Type of question
Usage/Best practice
Question
What did you do?
I checked that is not possible to inform N namespaces as an option for the watch/cache of a manager.
	// Create a new Cmd to provide shared dependencies and start components
	mgr, err := manager.New(cfg, manager.Options{
		Namespace:          "",
	})
	if err != nil {
		log.Error(err, "")
		os.Exit(1)
	}

What did you expect to see?

A stable release with the impl that is already made and merge in the master to attend it. See https://github.com/kubernetes-sigs/controller-runtime/issues/413

OR

Some workarround/alternative solution to "make sure that the operator will only watch a List of namespaces"

Environment

operator-sdk version: v0.7.0+git

Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.4", GitCommit:"c27b913fddd1a6c480c229191a087698aa92f0b1", GitTreeState:"clean", BuildDate:"2019-03-01T23:34:27Z", GoVersion:"go1.12", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.0+d4cacc0", GitCommit:"d4cacc0", GitTreeState:"clean", BuildDate:"2019-05-02T11:52:09Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind: Minishift/Kube

Additional context
The project which I'd like to do it: https://github.com/aerogear/mobile-security-service-operator

In order to solve this problem a PR to upgrade the version of the controller-runtime and attend this need was made. I need help to move forward with. See https://github.com/operator-framework/operator-sdk/pull/1388


Does SLD support multiple cloud provider when operates resource on multiple cloud in one tf config ?

May be is select multiple Squad in SLD

May I inject GCP, Azure Squad in one custom squad configuration?

Hi @dehengxu,
You cannot use multiple squads in a Terraform deployment, but you can use multiple accounts in a squad using a custom type account. For GCP, I haven't had the chance to verify this. You can check out https://stackoverflow.com/questions/62491106/how-to-store-gcp-service-account-json-in-a-terrafrom-variable.
I'll try to test it and let you know ASAP. If you do it before me, please share it. P.S.: In the upcoming releases, it will be possible to add more than one account per squad (Work in Progress).
Regards

May be I have missunderstood, do you mean SLD one squad stand for one cloud provider ?
PS:
I need create k8s svc on multiple cloud providers, I have tried, in one terraform configuration which could use mulitple cloud providers to create resource, and it makes task simple and powerfull if SLD supported in future.

Hi @dehengxu
A 'squad' and 'environment' typically represents an account in AWS, a subscription in Azure, or a project in GCP. Generally, the accounts | subscription | project are associated with a squad (team) and an environment, for example, dev | pre | pro. Right now, SLD only supports one-to-one, except for 'custom' since you can pass it any parameters you want, so you can pass several accounts. Although, we will soon release a feature that will support the possibility of adding more accounts, even from different cloud providers
Regards

Awaiting new features

Thanks very much for your work

After looking up documents of cloud providers, Azure GCP support bind one ServiceAccount(Some equivalant concept between clouds) to multiple subscriptions or projects.

https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-cli#assign-role-examples

I missremembered :(, it's only cross multiple subscritpions in one cloud provider ServicePrincipal, not cross multiple providers


Duplicate or incorrect logger provider registered in ASP.NET Core 2 due to light-up features.

The light-up features in Visual Studio always configure AppInsights when running locally.
This results in an additional logger provider that is not configured with the settings I specify in AddApplicationInsightsTelemetry().
Repro Steps

Program.cs:

    public class Program
    {
        public static void Main(string[] args)
        {
            BuildWebHost(args).Run();
        }

        // No WebHost.CreateDefaultBuilder() to keep the configuration as simple as possbile.
        public static IWebHost BuildWebHost(string[] args) =>
            new WebHostBuilder()
                .UseKestrel()
                .UseStartup<Startup>()
                .Build();
    }

Startup.cs

    public class Startup
    {
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddApplicationInsightsTelemetry(opt => opt.EnableDebugLogger = false);
        }

        public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory factory)
        {
            // factory._providerRegistrations should have no registrations at this point, but has one.
            // This means that traces will still be logged in debug mode, even though EnableDebugLogger == false.
            //
            // opt.EnableDebugLogger = true (the default), would result in 2 registrations.
        }
    }

Actual Behavior
Traces are logged, even though EnableDebugLogger == false.
Expected Behavior
Traces are not logged.
Version Info
SDK Version : 2.2.0-beta2
.NET Version : ASP.NET Core 2.0.3
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) : VS 15.5.2
OS : Windows 10 Pro (1709)
Hosting Info (IIS/Azure WebApps/ etc) : Kestrel console

Additional info: I'm using Serilog to configure all my logging. Because of this issue all the traces are logged twice. Once through the light-up AppInsights logger and once through my Serilog sink.

@cijothomas can you help here?

Sorry for the late response. I totally missed the notification.
The issue only occurs for me when running locally in VS during debugging.
My use case is that I want the code during development to be as close to production as possible. This includes Serilog logging the traces to AppInsights debug session telemetry, instead of the AppInsights logger.
The easiest way to accomplish this seemed setting EnableDebugLogger to false, like in my original post.
But when I do this, traces are still logged to the VS debug session telemetry. My instrumentation key is an empty string ("") in local debug mode, btw.
In my original post I probably made some assumptions which aren't true (the stuff about the provider registration count), so feel free to ignore that. :)
As a work around I set ASPNETCORE_PREVENTHOSTINGSTARTUP to true a while ago. But this also prevents other light-up features, which I don't necessarily want.

3 I think there is a method on the logger factory that will let you clear all the providers and start again, removing anything that was added and starting with a clean slate.

This seems like a better workaround to me than to disable all light-up features. Any idea what method this is? Because I can't find it.

So I want to make sure I understand what you are really seeing and what the issues here. Is it double logs to the App Insights resource or is it that you see stuff in the VS experience as well as Serilog or what. Does that make sense?

I'm seeing duplicate trace logs in Visual Studio during debugging. Both in the Application Insights Search window (set to Data from Debug session telemetry) and in the Event tab of the Diagnostic Tools

@glennc Do we support this (turning off specific parts of lightup - application insights in this context) now in latest VS ?
In 2.1 we will add more fine grained control, to be able to just turn off specific parts of lightup.

@cijothomas Yes, we added a something for it though I struggled to find any docs when I searched just now. Looks like the config key is "hostingStartupExcludeAssemblies". See: https://github.com/aspnet/Hosting/blob/e892ed8bbdcd25a0dafc1850033398dc57f65fe1/src/Microsoft.AspNetCore.Hosting/Internal/WebHostOptions.cs#L74
Sorry I don't have any better docs that go walk through it.

recent VS has an option to turn off automatic appliation insights lightup. closing this issue.


Vickel: Watch culpa[\W_]+mia[\W_]

Vickel requests the watch of the watch_keyword culpa[\W_]*+mia[\W_]*. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

culpa[\W_]*+mia[\W_]* has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Sort Input

Category

[x] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[ ] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[x] Linux
[x] Mac OS X
[ ] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[x] bash
[ ] zsh
[ ] fish

Would it be possible to add an option to sort the input dynamically?
I'm using this to get all files of my notes folder sorted by modified date:
ag -f -la '.*' | while read file
do
  DATE=$(stat -c %y "$file" 2> /dev/null)
  echo ${DATE/%\ */} $file
done | sort -r

This gives me a list like:
2017-03-12 foo
2017-03-13 bar
2017-03-14 foobar

Which is fine except that because of | sort fzf has to wait for the process to complete before it receives any data. If it could sort the input data itself it could start displaying the results immediately.

No, it's not something I would add to fzf. As you can see in man sort, sorting is not trivial and I don't think it's a good idea to try to reimplement the process in fzf. And as soon as you type in a query string to fzf, fzf will sort the matched items by the relevance score, so I don't see much value in having another way of sorting the input.


Inventory tag request

We need a tag to get how much of an specific item the inventory can fit (with the stack item number and such taken into account to have an exact answer)
Regards

basically inventory.can_fit tag but returning the number that can be fit, rather than a yes/no boolean


Update service.md

Fix incorrect symbol : Services - > Service

This change is

@stewart-yu I don't agree with these changes.


proposal: spec: direct access to tuple return values

Currently, in Go, it is necessary to first assign the tuple returned by a function to a variable and then access the desired value from the variable. While this approach is readable and explicit, in some cases it may be convenient to directly access a specific return value from a function without having to assign it to a variable first.
For example, instead of writing:
tuple := returnTuple()
anyFunction(tuple[1])

It would be possible to write:
anyFunction(returnTuple()[1])

This more concise syntax would be especially useful when working with functions that return fixed-size tuples and whose return values are well-known. By allowing tuple values to be accessed directly from the function call, this change could improve the readability and clarity of Go code in some cases.
However, it is important to note that this change may make code less explicit in some cases, and may be harder to understand for developers less familiar with the Go language. Additionally, this proposal may be incompatible with the philosophy of the Go language to emphasize code readability and clarity over conciseness.

For language change proposals, please fill out the template at https://go.googlesource.com/proposal/+/refs/heads/master/go2-language-changes.md .
When you are done, please reply to the issue with @gopherbot please remove label WaitingForInfo.
Thanks!

I feel a little unsure what exactly this proposal means by "tuple". Given the use of indexing syntax I guessed an array, but I don't think that's a correct guess because in that case both of the presented examples compile and are functionally equivalent:
package main

import "fmt"

func returnTuple() [2]string {
	return [...]string{"a", "b"}
}

func anyFunction(v string) {
	fmt.Printf("anyFunction(%#v)\n", v)
}

func main() {
	tuple := returnTuple()
	anyFunction(tuple[0])

	anyFunction(returnTuple()[0])
}

(Playground)
The Go spec uses "tuple" only in the concept of "tuple assignment" to refer to the idea of assigning multiple return values to multiple symbols, and so I suspect that's probably what you actually meant but note that the first example you provided is not correct if that's the interpretation you intended, because if would be forbidden to assign two function results to a single symbol like that:
package main

import "fmt"

func returnTuple() (string, string) {
	return "a", "b"
}

func anyFunction(v string) {
	fmt.Printf("anyFunction(%#v)\n", v)
}

func main() {
	// Error: assignment mismatch: 1 variable but returnTuple returns 2 values
	tuple := returnTuple()
	anyFunction(tuple[0])
}

I suspect this'll be clearer once you've completed the language changes template! :grinning: But if your intent is to propose making multiple return values be usable as a single value of some new tuple type then you may wish to refer to #32941 first to consider how your proposal differs from that earlier one on a similar topic.


Cannot allow two signatures with FunctionType

After finding the case 5 in https://github.com/numba/numba/issues/6972#issuecomment-828302957,
I tried to specify two sigs for one caller, but numba will complain with
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Unknown attribute 'sum' of type int64

File "~/numba/tests/test_multi_function_type.py", line 33:
def callee_array(c):
    return c.sum()
    ^

During: typing of get attribute at ~/numba/tests/test_multi_function_type.py (33)

My test script, on 0.56.3:
import numpy as np
from numba import njit, types, typeof
from numba.types import int64, float64
from numba.tests.support import (
    MemoryLeakMixin, TestCase
)

import os

os.environ['NUMBA_CAPTURED_ERRORS'] = 'new_style'
os.environ['NUMBA_DEBUG_CACHE'] = '1'

nb_array = typeof(np.ones(2))
callee_int_type = types.FunctionType(int64(int64))
sig_int = int64(callee_int_type, int64)
callee_array_type = types.FunctionType(float64(nb_array))
sig_array = float64(callee_array_type, nb_array)

# @njit(sig_int, cache=True)
# @njit(sig_array, cache=True)
@njit([sig_array, sig_int], cache=True)
def caller(callee, a):
    return callee(a)

@njit(cache=True)
def callee_int(b):
    return b

@njit(cache=True)
def callee_array(c):
    return c.sum()

class TestMultiFunctionType(MemoryLeakMixin, TestCase):

    def test_base(self):
        b = 1
        c = np.ones(2)

        print(caller(callee_int, b))
        print(caller(callee_array, c))

if __name__ == "__main__":
    clz = TestMultiFunctionType()
    clz.test_base()

If only specify one sig, compilation and cache is fine. But if specify with two sigs, error happens.

Thanks for the detailed report. I'm looking into the issue.

Confirmed that this is a problem in dispatcher. When first-class function type test for signature compatibility, there is no handling for the case where an error is raised due to incompatibility. I already have a fix and will submit soon.

 Thanks for your quick fix!

@sklam hi, any updates or further comments on this? Can your commit already fix this?

@dlee992, yes https://github.com/numba/numba/pull/9072 should fix this problem.

@dlee992 , if you have time, your help in reviewing #9072 will accelerate it for merging.


Opening notes in a new tab quality of life features.

Simply more quality of life to this great little plugin. Would be great if open note in new tab functionality was enabled. Only option currently is to just open another tab then go back to the list and open a note in that tab.
Typical ctrl + click and middle mouse button operation.

This would be very nice. I'll add it to the changelog.


[Sponsor] PDF format should be the only acceptable format for uploading a consent document

PDF format should be the only acceptable format for uploading a consent document (or any non-editable format)

done


Add Edge Validation warning for directed field

Validation should be added to directed fields in schemas. This will be done as part of work for version 2 as adding in validation would cause breaking changes.

What is this blocked by? Is it okay to go ahead and work on?

Theres a method validateDirection() in SchemaElementDefinitionValidator.java that is never used and is commented out. This is within the develop branch already, so it looks like its already been merged. Shall I uncomment it and create a unit test for it?

So I wrote this method and added it in, however the reason this ticket is blocked and it is commented out is that it is a breaking change, as for users who have schemas without direction validation currently, it would throw an exception and require direction.  We cannot make breaking changes on minor versions so it will have to wait until V2, however feel free to create a branch and re add this method back in, and add a unit test, and when we get to the point of V2 we can merge it back in.

Ready for pull request once we get to V2

A conversation elsewhere:
n3101: "- do you agree with @d47853's assertion:  "Validation should be added to directed fields in schemas. "
@d21211122:  "I don't know if I do agree with the assertion. I can see why it might be a good thing to do, but has anyone ever had a problem with it? If it's easy to merge and we can write a doc about it, then maybe it's not worth worrying about... we can just do it."
n3101: "I would have thought that it should be possible to make it conditional - add a toggle or something so users can turn this on if they want to; or have the software check for itself whether validation is present. or something ??"

Needs investigation to see if the work has been done, if it needs to be merged in, and if the benefit is worth it.

Closed by https://github.com/gchq/Gaffer/pull/2888


ECR-2115 Replace Map with NavigableMap in ListProofValidator

Overview
Replace Map with NavigableMap in ListProofValidator.

See: https://jira.bf.local/browse/ECR-2115
Definition of Done

[x] There are no TODOs left in the code
[x] Change is covered by automated tests
[x] The coding guidelines are followed
[x] Public API has Javadoc
[x] Method preconditions are checked and documented in the Javadoc of the method
[x] The continuous integration build passes

@MakarovS , merging, would you please add (sometime later) changelog entries for this and #250 ?


Create image with code complete build

DoD=AMI ID available

ami-d86758b0
or
https://s3.amazonaws.com/impala-to-go/Impala2go-cluster-cdh-5.5.template


linker command failed with exit code 1

I am using xcode 7.2 with,
QuickBlox 2.6.2
QMServices 0.3.4
QMChatViewController 0.3.3
Quickblox-WebRTC 2.1.1 libraries
and error is following
ld: library not found for -lQMChatViewController
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Which way are you installing QMChatViewController?
If Cocoapods, try deleting Podfile.lock file, Pods folder and .xcworkspace file and run pod install again.

Ok i removed all the files and folders which you have mentioned,  and now pods are installing.

Same error occures after installing all libraries again

@Raikerian if you need full error for reference then let me know, i will post here

@rathod24 yeah, full error will be helpful :)

Ah.. sorry it was silly mistake , i have forgotten to set Build Active Architectures to YES, now it is working


example broken

I just found the examples of this does not work:
julia> using Sundials

julia> function lorenz(du,u,p,t)
        du[1] = 10.0(u[2]-u[1])
        du[2] = u[1]*(28.0-u[3]) - u[2]
        du[3] = u[1]*u[2] - (8/3)*u[3]
       end
lorenz (generic function with 1 method)

julia> u0 = [1.0;0.0;0.0]
3-element Array{Float64,1}:
 1.0
 0.0
 0.0

julia> tspan = (0.0,100.0)
(0.0, 100.0)

julia> prob = ODEProblem(lorenz,u0,tspan)
ODEProblem with uType Array{Float64,1} and tType Float64. In-place: true
timespan: (0.0, 100.0)
u0: [1.0, 0.0, 0.0]

julia> sol = solve(prob,CVODE_Adams())
ERROR: type Nothing has no field nf

I notice that it happens after DiffeqBase update (to v5.10.2).
[2b5f629d] DiffEqBase v5.10.2
[c3572dad] Sundials v3.6.0

Thanks! Fixed by https://github.com/JuliaDiffEq/Sundials.jl/commit/a556e6501bcf4c8aec4d3dfda50b709f7da60c1c .
@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/1554
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v3.6.1 -m "<description of version>" a556e6501bcf4c8aec4d3dfda50b709f7da60c1c
git push origin v3.6.1


[FEATURE REQUEST] Revealing Animation on scroll

Description
Is your feature request related to a problem? Please describe.
feature is requested to improve user exprience
Describe the solution you'd like
I want to add revealing animation effect in which headings and cards or images come with a revealing animation effect on scrooling
Describe alternatives you've considered
effects like parallax effect can also be added in the image of hero section
Additional Information
Context
I will be using javascript to implement this

@akshitagupta15june I am writing to kindly request your attention and consideration in reviewing and accepting issue. I would greatly appreciate it if you could allocate some time to review the issue and provide your feedback. If there are any areas that require further attention or modifications, please let me know, and I will be more than willing to address them promptly

@akshitagupta15june please assign me this issue so that i can contribute more and can move further in the program


KEY-84 - Update BsonADT to support Mongo3

https://jira.audaxhealth.com/browse/KEY-84
@egprentice I've created this bson-adt-mongo library so that we can use the latest Java driver with a nicer Scala syntax. Also, there are some advances we can make with this ADT. Basically, we could potentially copy and paste the play-json macros and use them for BsonValue types to get macro generated Mongo serialization. Either way, I didn't want to have to migrate later, so I just did this one first.
@audax-shreyaspurohit You might like Mongo's plain Java driver. Not that you aren't already committed to Reactive Mongo, but I actually like the v3 client interface a lot. You can swap out the underlying serialization mechanism (as I've done in this PR) to whatever type you like. Of course, I'm using my bson-adt :smile:
@rwhiten1 Since you are interested in typeclasses. Here is an instance where I am not implementing the full spectrum of Mongo 3 client types (see http://docs.mongodb.org/manual/reference/bson-types/ for the full list of types). I still have type-safety since there is no way to create a BsonValue that has no mapping to JavaBsonValue, all BsonValue types are matched on. However, not all JavaBsonValues have a mapping from BsonValue. This means if you go from JavaBsonValue to BsonValue, but are not going from BsonValue to JavaBsonValue, you could get an error. I plan to correct for that in future versions by supporting more types. I do support symmetrical serialization (as you can see in the property specs)

Also, @danstaley @patrick-bohan @chrissalij-r @KyleMessner @jtsmith0107 because... well, I think you might be interested in this one.
Feel free to tag anyone else who might be interested in using the Mongo 3 clients. If we wanted to use this to smooth the migration path, people can switch to using BsonFormat for their mongo serialization logic, and it will just seemlessly work with Mongo 3 client's generic using interface.
@bookest we can use this same library to drop down to Mongo 2.4 or 2.6 (it is used in another large project running in production this way). I would rather we test out Mongo 3 tho (thus why I did this implementation). But we should decide on whether going live with Mongo 3 is feasible. If we decide we need to drop to lib-mongo + casbah + mongo 2.6 (or 2.4), we don't have to rewrite the serialization logic.

lgtm

lgtm

LGTM

post merge lgtm


Application failed to login after working correctly for one day

Script was working correctly till yesterday. Now it fails to login. Credentials are correct, I can install app on my phone
getting this error:
[WARNING][playstore.util][wrapped()] Login failed, please check your credentials (retrying in 1s)
09/11/2019 10:01:29> [WARNING][playstore.util][wrapped()] Login failed, please check your credentials (retrying in 2s)
09/11/2019 10:01:31> [WARNING][playstore.util][wrapped()] Login failed, please check your credentials (retrying in 3s)
09/11/2019 10:01:34> [WARNING][playstore.util][wrapped()] Login failed, please check your credentials (retrying in 5s)
09/11/2019 10:01:39> [ERROR][playstore.util][wrapped()] Login failed, please check your credentials (no more retries)
09/11/2019 10:01:39> [CRITICAL][main][main()] Error during the download: Login failed, please check your credentials

This could be related to #21

#24 could help solve this error, please try if you have time.

#24 could help solve this error, please try if you have time.

Working correctly after removing sdk_version. You are awesome :1st_place_medal:   Thanks :+1:


contracts.validate_all yields NoMethodError

Hi guys,
I love the premise of this library. I want to first thank you for your effort to put something like this together. My company is standardizing on json-schema4. I've generated contracts that pass validation of the formatting and am trying to replicate the provider-side testing.
I am following the documentation samples which shows the following for 'Testing providers by simulating consumers' (running this in irb):
require 'pacto'

contracts = Pacto.load_contracts('contracts', 'https://api.github.com')
contracts.validate_all

This returns the following error:
NoMethodError: undefined method `validate_all' for #<Pacto::ContractSet:0x007f91d694a4c0>

I look at the code for ContractSet, and sure enough, there is not a validate_all method. In fact, grepping the entire project does not yield any reference to validate_all
What is the correct method for running validations for providers?
Thanks!
[EDIT]: I found the simulate_consumers method in ContractSet and am proceeding from here. The documentation should be updated, I will see if I can find it an submit a PR.

I guess that you can validate them using contracts.simulate_consumers

yes
Kris Robison | Principal Engineer
cell.<PHONE_NUMBER>
email<EMAIL_ADDRESS>http://bluekai.com/
20883 Stevens Creek Blvd, Suite 200 Cupertino, CA 95014

On Sep 10, 2015, at 6:39 AM, brunofracalossi<EMAIL_ADDRESS>wrote:
I guess that you can validate them using contracts.simulate_consumers
—
Reply to this email directly or view it on GitHub https://github.com/thoughtworks/pacto/issues/174#issuecomment-139237025.


P4TR: add column about backups and security schemes

Tentatively scheduled for Sept 15th.  Early reviews welcome!

Closing this PR now.  Will be moving the content into a newsletter PR, hopefully to be opened later today.  Thanks so much for the early reviews @Xekyo and @bitschmidty!


Onboarding demand fails occasionally

We run into an onboarding error occasonally when we test our WAFAAS project together with  BIGIPVE-14 and BIGIPVE-15 versions. (BIGIP-<IP_ADDRESS>-0.0.6  BIGIP-14.1.2  BIGIP<IP_ADDRESS>  BIGIP-15.0.1-0.0.11)

a) The error message from the DO is,

lastErr”: “ONBOARDERROR: Failed to query onboarding status: {\“statusCode\“:400,\“message\“:\“{\\“code\\“:400,\\“message\\“:\\“roleEval may not be null.\\“,\\“originalRequestBody\\“:\\“{}\\“,\\“restOperationId\\“:564,\\“kind\\“:\\“:resterrorresponse\\“}\“}”
b) when we log into the bigip’s UI, the following error hint appears at the top of the UI.
The system must be rebooted for some changes to take effect.
c) Our onboarding logic is quite simple, we send the DO onboard demand to the DO  and periodically query the onboard results.
We also verified that it is no use to enlarge  the query interval.
d) The DO rpm we are using is f5-declarative-onboarding-1.5.0-11.noarch.rpm

The onboarding declaration is:

{
"class": "DO",
"targetHost": "<IP_ADDRESS>",
"targetPort": 443,
"targetUsername": "admin",
"targetPassphrase": "admin",
"targetTimeout": "900",
"declaration": {
"schemaVersion": "1.5.0",
"class": "Device",
"async": true,
"label": "Basic onboarding",
"Common": {
"class": "Tenant",
"hostname": "af0593bb-eed2-4f15-bc54-6e9bffab6ccd.f5bigip.local",
"myLicense": {
"class": "License",
"licenseType": "licensePool",
"bigIqHost": "<IP_ADDRESS>",
"bigIqUsername": "admin",
"bigIqPassword": "admin",
"licensePool": "mykeypool",
"reachable": true,
"bigIpUsername": "admin",
"bigIpPassword": "admin"
},
"myProvision": {
"class": "Provision",
"ltm": "nominal",
"asm": "nominal"
},
"myDns": {
"class": "DNS",
"nameServers": [
"<IP_ADDRESS>"
],
"search": [
"openstack.local"
]
},
"myNtp": {
"class": "NTP",
"servers": [
"0.pool.ntp.org",
"1.pool.ntp.org",
"2.pool.ntp.org"
],
"timezone": "UTC"
},
"vlan-failover1": {
"class": "VLAN",
"interfaces": [
{
"name": "1.3",
"tagged": false
}
]
},
"vlan-internal1": {
"class": "VLAN",
"interfaces": [
{
"name": "1.2",
"tagged": false
}
]
},
"vlan-external2": {
"class": "VLAN",
"interfaces": [
{
"name": "1.1",
"tagged": false
}
]
},
"selfip-failover1": {
"class": "SelfIp",
"vlan": "vlan-failover1",
"address": "<IP_ADDRESS>/24"
},
"selfip-internal1": {
"class": "SelfIp",
"vlan": "vlan-internal1",
"address": "<IP_ADDRESS>/24"
},
"selfip-external2": {
"class": "SelfIp",
"vlan": "vlan-external2",
"address": "<IP_ADDRESS>/24"
},
"route-external2": {
"class": "Route",
"gw": "<IP_ADDRESS>",
"network": "default"
},
"configsync": {
"class": "ConfigSync",
"configsyncIp": "<IP_ADDRESS>"
}
}
}
}

This sound similar to #73.

I am going to close this as a duplicate of #73. If you believe this issue is unrelated, please reopen it.


Incorrect values in extra output fields

I'm trying to run Velociraptor on a set of EAGLE 25Mpc box simulations run using Swift.  The corresponding dataset in the snapshot is PartType5/SubgridMasses.
I'm running commit fcfcdbdead1662cc584f5f72c0f1bc00ab2d0ace from master with 28 threads and just one MPI rank. My velociraptor cmake configuration is
cmake ..  However, I'm finding that the values don't match what I get if I use the catalog_properties/groups files to determine which particles are in which groups and find the maximum black hole mass myself. The python script I'm using to do this exactly reproduces the m_bh dataset in the velociraptor output if I apply it to the DynamicalMasses dataset in the swift snapshot.
I also did a test where I added a dataset called 'One' to the snapshot where all particles have the value 1.0 and I added these parameters in the .cfg file:
BH_internal_property_names=One,One,One,One,
BH_internal_property_input_output_unit_conversion_factors=1.0,1.0,1.0,1.0,
BH_internal_property_calculation_type=max,min,average,aperture_total,
BH_internal_property_output_units=unitless,unitless,unitless,unitless

The min and max values of this dataset should always be 1, but in the Velociraptor output I get a range of values around 0.2 to 0.3.

Hi John, I also tried something similar with setting an extra field to 1 and calculating the min and max but I get only ones. I will try adding extra functions calls too so as to see if there is an issue with min,max,average,aperture_total

Are the trailing commas required in these parameters? I just noticed I omitted one in my run and it doesn't seem to have written out the last quantity on the list.

If I just ask for min and max I get ones as expected too.

It turns out I can only reproduce this problem if I also have some gas properties in the .cfg file too. This combination fails for me:
Gas_internal_property_names=ElementMassFractions,ElementMassFractions,ElementMassFractions,ElementMassFractions,ElementMassFractions,
Gas_internal_property_input_output_unit_conversion_factors=1.0,1.0,1.0,1.0,1.0,
Gas_internal_property_calculation_type=logaverage,logstd,min,max,aperture_average,
Gas_internal_property_index_in_file=1,1,1,1,1,
Gas_internal_property_output_units=unitless,unitless,unitless,unitless,unitless,

BH_internal_property_names=One,One,One,One,
BH_internal_property_input_output_unit_conversion_factors=1.0,1.0,1.0,1.0,
BH_internal_property_calculation_type=max,min,average,aperture_total,
BH_internal_property_output_units=unitless,unitless,unitless,unitless

I'll see if I can narrow it down any further.

Okay, I'll try both loading gas and bh properties. Not certain what's special about the combination but will look into it.

If I go back to using real snapshot data and only ask for the max/min/average/aperture_total black hole subgrid mass then the output exactly agrees with my own calculation using the snapshot and the catalog_groups/particles files. So I think it's working correctly in that case.
I thought it might be something to do with reading multidimensional arrays like ElementMassFractions but it still fails if I output a 1D gas property instead, so that's not it.

I can confirm that doing both some gas properties and some black hole properties causes calculations for both gas and bh to not work. Why, I am still digging into

Hi @jchelly  I think I have fixed the io bug in development, last two commits, specifically
3d7ae009063022b1ecff79458950898778139a17
3170aaf440958d775f74d8a3cb3e1e734c29f311
I have tested it on a small eagle run but would be good to confirm.

HI @jchelly , I inadvertently introduced a bug in the second commit. It is now fixed in  a1c920ed760473371c27a0409ab2c1a0e34e87e4
Can you verify?

Issue resolved.


Determine Linux and Windows envirorment

Is your feature request related to a problem? Please describe.
Keyboard module have issue which cant suppress button events on Linux. This feature need to be implemented to add WA for Linux.
Describe the solution you'd like
Determine os. If linux - use WA method with deleting typed numpad character else use suppress method in keyboard module.
Describe alternatives you've considered
Use only windows envirorment

https://github.com/boppreh/keyboard/issues/22

Consider switching to pynput:
Stackoverflow urls:
Solution based on them:
`from pynput import keyboard
def keyboard_listener():
global key
global keyboard_listener
def on_press(key):
    if hasattr(key, 'vk') and 96 <= key.vk <= 105:
        print('You entered a number from the numpad: ', key.char)
    else:
        print('normal key', key)

def on_release(key):
    print('on release', key)
    if key == keyboard.Key.esc:
        return False

def win32_event_filter(msg, data):
    #if(msg == 257 or msg == 256) and (data.vkCode == 38 or data.vkCode == 40):
    if hasattr(data, 'vkCode') and 96 <= data.vkCode <= 105:
        listener._suppress = True
    else:
        listener._suppress = False
    return True

#it suppress only numpad
return  keyboard.Listener(
    on_press=on_press,
    on_release=on_release,
    win32_event_filter=win32_event_filter,
    suppress=True
)`

listener = keyboard_listener()
if name== "main":
with listener as ml:
ml.join()

Pynput will probably fix issue with systems differention - this is PR for this: Input / output engine

Failed - Same code do not work on Linux: Different vk Linux vs Windows

Pynput will probably fix issue with systems differentiation- it would not be needed. This is PR for this: Input / output engine

For now Windows will be treated as main envirorment.
Tuning up for linux is low priority task. Could be done by switching back to keyboard module (detecting key strokes) and WA for supressing with backspace.


ID's (ints) showing as strings in JSON

I noticed my ID's which are of int type are showing as strings in the marshaled JSON.  I am guessing this is known, because of this test https://github.com/shwoodard/jsonapi/blob/master/response_test.go#L77.
Just checking if this is intended?

Yes.  The jsonapi spec specifies strings for ids.

@dustinsmith1024 http://jsonapi.org/format/#document-resource-object-identification states:
"Every resource object MUST contain an id member and a type member. The values of the id and type members MUST be strings."

Thanks. I just skimmed over that part when reviewing the spec.


SLEIGH: Instruction behaviour dependent on a STATUS register bit

Another question open to SLEIGH experts ... this is a follow on from #5002
The MELPS-740 introduces a "T" flag. This changes the behaviour of the ADC, SBC, AND, ORA and EOR instructions. Instead of operating on the accumulator (A register), they operate on the zero-page memory location pointed to by the X register. To express that in SLEIGH --
With T=0 the 740 behaves like a 6502:
:ADC OP1     is (cc=1 & aaa=3 & T=0) ... & OP1
{
	local op1 = OP1;
	local tmpC = C;

	C = carry(A, op1);

	A = A + op1 + tmpC;

	resultFlags(A);
	V = C;
}

With T=1:
:ADC OP1     is (cc=1 & aaa=3 & T=1) ... & X & OP1
{
	local op1 = OP1;
	local tmpC = C;
	local tmpX = *:1 X;

	C = carry(tmpX, op1);

	tmpX = tmpX + op1 + tmpC;

	resultFlags(tmpX);
	V = C;
}

Unfortunately this syntax doesn't work; SLEIGH complains that "T" isn't a varnode.
I've also tried combining the two SLEIGH descriptions into one, and adding an if conditional in the code -- this got me a syntax error (SLEIGH was expecting a 'goto' statement after the 'if (T==0)'). I guess this could work if I used pcode-relative branching, but that seems like a bit of an icky solution.
A context variable seems like it could be what I need, but I'd somehow have to keep the T status flag and the context variable in sync - the T flag will be pushed onto and popped off of the stack as part of the status byte.

You might be able to get away with a choosery statement something like:
local tmpX = (zext(T == 0) * A) + (zext(T == 1) * (*:1 X));
You could also use if stmts in the pcode, but as you say, icky.
The down fall of the choosery is the memory in page 0 would always be accessed to get a value and you may end up with a reference created to it even if the T is set to 0.  Although that may occur with internal goto's as well.
The decompiler will see the value of T as a constant and simplify away one of the cases.
In either case you should set T to an initial value, either 0 or 1 based on which is more normal in the .pspec file.

Also note that there is no full if statement ( if(..) {...}) in pcode, it's fust conditional jump labaled as if with goto altogether so it expects goto after every if.

Also note that there is no full if statement ( if(..) {...}) in pcode, it's fust conditional jump labaled as if with goto altogether so it expects goto after every if.

This is true. If you have an if ... else ... that you need in Sleigh, then you would do:
if !(condition) goto <label>
  {do stuff}
  goto <end>
<label>
  {do other stuff}
<end>

But if you have an if/else to pick which of two things to assign to a variable, then you can use the one-line construct posted by @emteere above:
result = (zext(cond) * valueA) + (zext(!cond) * valueB);
We call it a choosery pattern. It's handled by the compiler as basically an if/else construct and also shortcuts that to just be a simple assignment if the condition is always true or always false.

The other thing worthy of note is what happens to the result -- the T flag affects that too. I might have missed the assignment statement in my T=1 example -- with T=1 the result is written back to the memory location, else the accumulator is used.
It seems like the if-else statement might be a better way to go.


Allow different environment configs in now.json and package.json

tl;dr: Users can now, optionally, customize now.json & package.json per environment
This should provide a nice, backwards compatible solution to #275. This refers to the value of NODE_ENV when set to dynamically use a set of now config options per environment. If NODE_ENV is set, but no environments are established, it does the existing behavior which is to assume the keys in the root of the json object are the config.
Examples
The backwards compatible way
{
  "alias": "foo.com"
}

The optional new way
{
  "staging": {
    "alias": "dev.foo.com"
  },
  "production": {
    "alias": "foo.com"
  }
}

Changes

adds support for environment specific now configs
adds prettier to the dev dependencies since it runs when committing and wasn't being installed
adds a test for existing functionality, which is when no environment is configured

Caveats

If they have environments configured in now.json or package.json and don't specify `NODE_ENV, then it won't deploy correctly

Doc updates
If this change is accepted, the docs will need to be updated. Obviously I can't write them, but here is a rough draft:

rough draft
All of the properties mentioned below can be used both in the package.json and inside the now.json file. Additionally, if you need support for multiple environments, each property can be specified in separate environment objects and used by setting the `NODE_ENV` environment variable:
{
  "staging": {
    "name": "app-staging",
    "alias": "dev.app.com"
  },
  "production": {
    "name": "app",
    "alias": "app.com"
  }
}

Other considerations
I did consider using different files per environment (i.e. now.staging.json, now.production.json, etc. I decided against that, however, as there could be tons of files which isn't so great. Additionally, having everything in a single file reduces the cognitive load and keeps everything in one place.

Thank you for your suggestion and the effort you've put into this, @mike-engel! I would be very happy to merge another PR from you in the future.
However, please make sure to discuss the idea with us and let someone from the team confirm it, before you put that much effort into a PR again. Because in this case, the solution will be another flag, which would allow devs to specify the location of the file: https://github.com/zeit/now-cli/issues/275
🙏 😊

Thanks Leo for the feedback. Normally I agree with you, and given a large amount of work for a PR, I would much prefer to discuss it before hand (like #308).
Luckily this PR was incredibly small and didn't take much effort. It seems like you all are pretty busy lately, so I figured throwing up a PR, whether it was wrong or not, would be better than bike shedding.
No hard feelings, and thanks for helping to make ZEIT and now awesome 😊

@mike-engel ❤


Tag a new release for better use with elba

Currently one has to rely on a stable master branch when using elba with specdris.
If a tag was provided that one could lock on, that would help with this.

Hi @NobbZ ,
good idea. I will add a tag.

I added https://github.com/pheymann/specdris/releases/tag/v0.3.1


Automated cherry pick of #1983: fix: allow normal user create prepaid resource

Cherry pick of #1983 on release/2.11.
#1983: fix: allow normal user create prepaid resource

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11@0a80836). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/2.11   #1984   +/-   ##
==============================================
  Coverage                ?   7.19%
==============================================
  Files                   ?     445
  Lines                   ?   69246
  Branches                ?       0
==============================================
  Hits                    ?    4985
  Misses                  ?   63849
  Partials                ?     412

Flag
Coverage Δ

#aFlag
7.19% <ø> (?)

Impacted Files
Coverage Δ

pkg/compute/models/billingresource.go
0% <ø> (ø)

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 0a80836...36be4ef. Read the comment docs.

/lgtm
/approve


Site down after updating to v4.0.12

After running ee cli update to upgrade from version 4.0.10 to 4.0.12 the site is no longer accessible. No response from the server to either the url https://dev.brightray.com/ or the direct IP address. Both the URL and IP address respond to ping but the web service doesn't seem to be responding.
No visible errors during the upgrade. It came back saying successfully upgraded. After a reboot the server came back up without issue but no response to web requests. I can telnet into the system, attempte to restart the services, watched the logs. No messages show up on the logs when trying to access either the site or the direct IP address.
System Information

[x] ee cli info

+-------------------+----------------------------------------------------------+
| OS                | Linux 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44: |
|                   | 52 UTC 2019 x86_64                                       |
| Shell             | /bin/bash                                                |
| PHP binary        | /usr/bin/php7.2                                          |
| PHP version       | 7.2.17-1+ubuntu18.04.1+deb.sury.org+3                    |
| php.ini used      | /etc/php/7.2/cli/php.ini                                 |
| EE root dir       | phar://ee.phar                                           |
| EE vendor dir     | phar://ee.phar/vendor                                    |
| EE phar path      | /root                                                    |
| EE packages dir   |                                                          |
| EE global config  | /opt/easyengine/config/config.yml                        |
| EE project config |                                                          |
| EE version        | 4.0.12                                                   |
+-------------------+----------------------------------------------------------+

[x] lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic

[x] docker version

Client:
 Version:           18.09.4
 API version:       1.39
 Go version:        go1.10.8
 Git commit:        d14af54266
 Built:             Wed Mar 27 18:35:44 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.4
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.8
  Git commit:       d14af54
  Built:            Wed Mar 27 18:01:48 2019
  OS/Arch:          linux/amd64
  Experimental:     false

[x] docker-compose version

docker-compose version 1.23.2, build 1110ad01
docker-py version: 3.6.0
CPython version: 3.6.7
OpenSSL version: OpenSSL 1.1.0f  25 May 2017

It looks like the easyengine/nginx-proxy:v4.0.2 container keeps restarting every min after doing the update.

I was looking online for the error I posted above and came across an issue posted to the
nginx-proxy repository. Issue with recent container update and SSL #1226

In case anyone is looking a solution (cross post from the EasyEngine Community)
in /opt/easyengine/services there is a docker-compose.yml where I was able to change the nginx-proxy version from 4.0.3 to 4.1.2. . Bring the EE services down, rebuild the containers (fetch the prebuilt images), bring the containers up and you should be good.
cd /opt/easyengine/services
docker-compose stop
vim docker-compose.yml #change the nginx-proxy version number to 4.1.2
docker-compose build
docker-compose up
# Still wasn't working for me so I restarted the server in case there was a magic order for EE to launch
reboot
#Sites and services were back up but not nginx-proxy, force start
ee service restart nginx-proxy

I am not sure why these images are not updated automatically and there is no information from the EasyEngine team on how to force it. I was hesitant not knowing how intereconnected EE made their containers and if anything would break. In this case, I was lucky enough to get it to work. Your mileage may vary.
I hope this can help someone save quite a few hours of troubleshooting.

Please update EasyEngine to the latest version using ee cli update command. This issue has been resolved in newer EasyEngine releases. For production servers, consider creating a second instance from the existing instance before updating it and testing it, then using it to replace the original instance in order to minimise the downtime incurred as much as possible.


Update PPP for Steven

Codecov Report
Base: 68.31% // Head: 68.31% // No change to project coverage :thumbsup:

Coverage data is based on head (5896996) compared to base (84da827).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #222   +/-   ##
=========================================
  Coverage     68.31%   68.31%
  Complexity      505      505
=========================================
  Files            86       86
  Lines          1616     1616
  Branches        158      158
=========================================
  Hits           1104     1104
  Misses          453      453
  Partials         59       59

Impacted Files
Coverage Δ

src/main/java/gim/model/date/FormatterList.java
100.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Alexa Skill Account Link Error to Trakt

Thank you for the taking the time to put this together and share!  I'm on the last step, trying to link Trakt.tv account from inside my Alexa Skill, but I get an  error:
oauth error
The requested redirect uri is malformed or doesn't match client redirect URI.
I'm using urn:ietf:wg:oauth:2.0:oob in my Trakt API App, which is the only solution I've found to this problem online.  I've been reading Amazon and Trakt OAuth and URI documents, but I can't see what my mistake is.  Is "urn:ietf:wg:oauth:2.0:oob" suppose to be somewhere in the code on Alexa Developer Console?
Any advice would be greatly appreciated!  Excited to get it working.

Did you add the Alexa Redirect URLs from the Account linking page to the trakt app ?
It should give you 3 URLs on the account linking page in the alexa developer console (its usually at the bottom). You need to add each one to the trakt application you created. You can then click the Authorize button. After you save the Trakt app.

Thank you!  First time doing anything like this, I appreciate you taking the time to tell me what I was missing.  Now I just need to figure out why Alexa says error list index out of range!

You may need to set your defualt list.
Sometimes not setting a list can cause problems when it tries to add movies or shows. So if you set your list to the watchlist the app should save the default list. I havent managed to find a way around this yet.

I'm sorry, I've been spending days trying to be self sufficient trying to figure this out.  I'm probably over thinking it, like I do, but how do I do that?  When I ask alexa anything other than launch she just give me that error.  Do I need to set the default list in one of the python files?  Thank you so much for your time.

Did you edit the lambda/config.py to add your trakt client id ?
It's this one.
client_id = "your-api-key-goes-here"

Yes, that part I at least got!

Awesome!
You will need to check the logs from the alexa developer console. By default alexa has some great logging built into the console for free.
To view them you need to select the code tab from the developer console, and then you should see CloudWatch Logs (you may need to click the down arrow to select the correct region of your amazon device)
Then you can view the logs and it will show all of the errors the device/alexa is having, if you don't understand the logs or have trouble figuring it out. Just let me know, or post the log here and ill look through it.

Alexa Logs.txt
Thanks, I opened it up and had no idea what I was looking at.

This is poor coding on my part. This is happening because the show you are searching for only returned 1 result, and this skill expects at least 3.
Ill try to update the code to fix this as soon as i can.

The recent commit, might fix this issue but i will need time to fully test this.


ERD: Colorize other schemas option changes only after ERD reopening

System information:

Operating system (distribution) and version Win 10
DBeaver version 7.2.0

Describe the problem you're observing:
Colorize other schemas option is enabled/disabed only after ERD reopening
Steps to reproduce, if exist:

Create ERD with tables from different schemas
Change status of Colorize other schemas option
Press Apply and Close

Actual result: the change is not applied even after additional Refresh
Expected: the changes are applied

It is very hard to implement. We'll probably do this along with GEF 5 migration.

actual for 21.3.1

Still actual in DBeaver 23.0.5


sys-block/open-iscsi: Migrate coreos-stable to portage-stable, 2.1.10

open-iscsi: Migrate to portage-stable, 2.1.10 bump
The old version 2.1.4 does not cross-compile without help from QEMU that we cannot rely on going forwards. 2.1.10 is Meson-based and handles this much better.
Rather than update the package in-place, migrate it to portage-stable and cover the differences with a small patch and env script. Upstream now carries the systemd files, so we do not need to add these.
How to use

Boot up Flatcar under QEMU.
sudo systemctl start iscsid
Check the name in /etc/iscsi/initiatorname.iscsi.
Install targetcli on the host.
Set up a test target:

backstores/fileio create test /tmp/test.img 100m
iscsi/ create iqn.2006-04.com.example:test-target
cd iscsi/iqn.2006-04.com.example:test-target/tpg1/
luns/ create /backstores/fileio/test
set attribute generate_node_acls=1
acls/ create <initiator name>
exit

Return to Flatcar.
sudo iscsiadm -m discovery -t sendtargets -p <host LAN IP>
sudo iscsiadm -m node -l -T <target from above> -p <host LAN IP>
Play around with /dev/sda.
sudo systemctl enable iscsi
Reboot and check /dev/sda is still there.

Testing done
I did the above. I also ran a Jenkins job against qemu_uefi. It was suggested that I add a Kola test. The usual way to write a test like this would be to spin up two instances as the client and server. I'd like to do this, but targetcli, which manages the Linux server, is written in Python, which Flatcar doesn't have.

[X] Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
[X] Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

Took a few goes to get it right, but it's looking good now. gen_tmpfiles.py takes care of the tmpfiles stuff now, so the env script is shorter. 2.1.10 got stabilised in the meantime.


RetryFilter causing EncodingException with POST & PUT with a request body

Describe the bug
In spring cloud gateway, retry for POST or PUT with a body causes:
io.netty.handler.codec.EncoderException: io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1
Without the RetryFilter this issue does not occur. Im thinking it could be related to this issue: https://github.com/reactor/reactor-netty/issues/1622 . However, the issue appears addressed here but Im still seeing it in spring cloud gateway.
<parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>3.0.9</version>
    </parent>

     <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-gateway</artifactId>
            <version>4.0.4</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-config</artifactId>
            <version>4.0.4</version>
        </dependency>

    <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-dependencies</artifactId>
                <version>2022.0.0</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

org.springframework.boot:spring-boot-starter-reactor-netty:jar:3.0.9

Retry settings:
        - name: Retry
          args:
            retries: 5
            methods:
              - GET
              - PUT
              - POST
              - PATCH
              - DELETE

Sample
Please let me know if a sample is needed but it seems like it should be easy to reproduce.

I created a small application and everything worked so Im assuming there are some dependency conflicts/etc. I will work through those. Thanks.


Node periodically stops syncing to latest block

Hi, I'm running a QRL docker node on my linux machine, and I'm noticing that it periodically stops syncing, and I would need to restart the container to trigger it into syncing again. Here're some logs:
$ sudo docker exec -it qrl-node qrl --json state
{
  "info": {
    "blockHeight": "1374188",
    "blockLastHash": "fKMPR3lfP9J4cHSuyYgbQh4/eyaVS6s9WZYTVwIAAAA=",
    "networkId": "The sleeper must awaken",
    "numConnections": 24,
    "numKnownPeers": 29,
    "state": "SYNCED",
    "uptime": "225869",
    "version": "2.0.5 python"
  }
}

as of the time of writing, based on the block explorer the latest block height is 1374730. And it's been stuck on this height for at least one hour.

My first guesses would be that your base container max size has been reached or the volume on which the container is stored is out of space.  These would be the first things to check.

My first guesses would be that your base container max size has been reached or the volume on which the container is stored is out of space.  These would be the first things to check.

sudo docker ps --size
CONTAINER ID   IMAGE                        COMMAND                  CREATED       STATUS      PORTS                                                    NAMES      SIZE
2c0c5dbac4b7   qrledger/qrl-docker:bionic   "/bin/bash -c start_…"   10 days ago   Up 2 days   18090-18091/tcp, 19000/tcp, 19007-19010/tcp, 52134/tcp   qrl-node   6.56GB (virtual 7.37GB)

It doesn't seem that the running container's size exceeds docker's 10GB default limit either.
I'm running a fresh ubuntu install on a 512Gb SSD, so I doubt it's the size of the volume. And after restarting the node with
sudo docker restart 2c0c5dbac4b7

the node starts syncing again, now the block height is at 1374771, uptime resets, And the size of the container now says 7.38GB.
sudo docker exec -it qrl-node qrl --json state

{
  "info": {
    "blockHeight": "1374774",
    "blockLastHash": "r5cG8GNLpORfdXNyqMopnAwFlI0yMmYeAIpytgEAAAA=",
    "networkId": "The sleeper must awaken",
    "numConnections": 24,
    "numKnownPeers": 29,
    "state": "SYNCED",
    "uptime": "337",
    "version": "2.0.5 python"
  }
}
sudo docker ps --size
CONTAINER ID   IMAGE                        COMMAND                  CREATED       STATUS         PORTS                                                    NAMES      SIZE
2c0c5dbac4b7   qrledger/qrl-docker:bionic   "/bin/bash -c start_…"   10 days ago   Up 5 minutes   18090-18091/tcp, 19000/tcp, 19007-19010/tcp, 52134/tcp   qrl-node   6.58GB (virtual 7.38GB)

sudo docker ps --size
CONTAINER ID   IMAGE                        COMMAND                  CREATED       STATUS      PORTS                                                    NAMES      SIZE
2c0c5dbac4b7   qrledger/qrl-docker:bionic   "/bin/bash -c start_…"   10 days ago   Up 2 days   18090-18091/tcp, 19000/tcp, 19007-19010/tcp, 52134/tcp   qrl-node   6.56GB (virtual 7.37GB)

It doesn't seem that the running container's size exceeds docker's 10GB default limit either.
I'm running a fresh ubuntu install on a 512Gb SSD, so I doubt it's the size of the volume. And after restarting the node with
sudo docker restart 2c0c5dbac4b7

the node starts syncing again, now the block height is at 1374771, uptime resets, And the size of the container now says 7.38GB.
sudo docker exec -it qrl-node qrl --json state

{
  "info": {
    "blockHeight": "1374774",
    "blockLastHash": "r5cG8GNLpORfdXNyqMopnAwFlI0yMmYeAIpytgEAAAA=",
    "networkId": "The sleeper must awaken",
    "numConnections": 24,
    "numKnownPeers": 29,
    "state": "SYNCED",
    "uptime": "337",
    "version": "2.0.5 python"
  }
}
sudo docker ps --size
CONTAINER ID   IMAGE                        COMMAND                  CREATED       STATUS         PORTS                                                    NAMES      SIZE
2c0c5dbac4b7   qrledger/qrl-docker:bionic   "/bin/bash -c start_…"   10 days ago   Up 5 minutes   18090-18091/tcp, 19000/tcp, 19007-19010/tcp, 52134/tcp   qrl-node   6.58GB (virtual 7.38GB)

Checked it again, and same thing happened, the node stopped syncing (but confirmed that there is internet access).
"info": {
    "blockHeight": "1376745",
    "blockLastHash": "h6RgwTCXRe7FWPoaUrJRvMIDNsz4W2SDh2XPCgEAAAA=",
    "networkId": "The sleeper must awaken",
    "numConnections": 17,
    "numKnownPeers": 29,
    "state": "SYNCED",
    "uptime": "238368",
    "version": "2.0.5 python"
  }
}

Latest block at 1378792.
I suspect it's either a networking or a docker issue. Maybe periodically my access to the internet drops, and that causes the node to fall out of sync and stops it from resyncing.

I've confirmed that there is network access within the docker image using ping, but the issue persists; it's currently stuck and not updating blocks, at block # 1413097.
There probably was a point in time where the network dropped. But now that it's back, it should get back to syncing with the network, right?

Ok I confirmed that for some reason the internet dropped for more than 20 mins at some point. Weird, I'll look into that. But my question is still, now that it's back, shouldn't it resync with the network automatically?

Closing this stale issue. Feel free to re-open if this has persisted.


Add integration test that covers the various state manipulation features and behaviors

While reviewing https://github.com/meltano/meltano/pull/6758 where we're adding custom state id suffixes, thought it might be nice to have a integration test that show cases and covers all the various state manipulation features we gained via the state command as well as the different behaviors for meltano run invocations.

Related

https://github.com/meltano/meltano/pull/6742#issuecomment-1249513809

...also floated some state related integration tests there.

Still relevant

I believe this was addressed by https://github.com/meltano/meltano/pull/6911


check schema change before commit

if(schema not change) {
commit
} else {
rollback
}

/run-all-tests

only support writing to such tidb that support lock table


Add rumble support

I'm using the plugin with m64p. The controls work perfectly and changes into the toml file are reflected by changes in gameplay. Very happy!
However, there's no way to even specify the use of a rumble pak, and rumble isn't working in games (tested primarily with StarFox 64).

Nice to hear that you're liking the plugin! I'm focusing on my exams at the moment, but I'll have time to look into this and #11 sometime next month :)

I wanna second the comment made by the OP. IMO It's the only thing really holding it back from being the Ideal plugin for at least 90% of the N64 library. I'd like to add that if it's added that there should be an option to toggle it off in the config file.

you can take some code from here: https://github.com/ToadKing/wii-u-gc-adapter
it has rumbe support, so it should help

Thanks for the link! I've also looked at the Dolphin source code, should be fairly straight forward to implement. I'm hoping to get time to implement it this week!

that sounds nice, thanks!


Automatically deprecate old Puppeteer versions

Old Puppeteer versions ship with old Chromium versions that ideally people wouldn’t use or test their web apps against anymore. To make this more clear, we should npm deprecate outdated Puppeteer versions, i.e. any version that is older than the current Chrome Stable milestone.

This has been implemented in #7927 and #7929.


python310Packages.pymupdf: 1.21.1 -> 1.22.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.pymupdf is: Python bindings for MuPDF's rendering library
meta.homepage for python310Packages.pymupdf is: https://github.com/pymupdf/PyMuPDF
meta.changelog for python310Packages.pymupdf is: https://github.com/pymupdf/PyMuPDF/releases/tag/1.22.3
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.22.3 with grep in /nix/store/vvi7fkk49v6w8lncw7ll1bnfmijqd88k-python3.10-pymupdf-1.22.3
found 1.22.3 in filename of file in /nix/store/vvi7fkk49v6w8lncw7ll1bnfmijqd88k-python3.10-pymupdf-1.22.3

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

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
browsr
python310Packages.pymupdf
python311Packages.pymupdf
termpdfpy

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vvi7fkk49v6w8lncw7ll1bnfmijqd88k-python3.10-pymupdf-1.22.3
ls -la /nix/store/vvi7fkk49v6w8lncw7ll1bnfmijqd88k-python3.10-pymupdf-1.22.3/bin

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

4 packages built:

browsr
python310Packages.pymupdf
python311Packages.pymupdf
termpdfpy

Maintainer pings
cc @teto for testing.

Result of nixpkgs-review pr 237854 run on aarch64-darwin 1

2 packages marked as broken and skipped:

browsr
browsr.dist

6 packages built:

python310Packages.pymupdf
python310Packages.pymupdf.dist
python311Packages.pymupdf
python311Packages.pymupdf.dist
termpdfpy
termpdfpy.dist


How to stop the repeated downloads while running example in README

I am trying to run the example code given in README.
The first time, it downloaded models worth GBs.  That's understandable.
But, when I run every time after that, still some 2 files get downloaded (and they take a very long time to download) before the audio is generated.  Every single time these 2 files are downloaded.
How do I ask bark to reuse what it already has and not download every single time?
I also tried commenting out the call to preload_models() but still the files get downloaded.

Never mind. My bad.  I mistook the progress bar rendered by tqdm to be a file download. Closing this issue.


Error in Antmaze environments

When I run run_aca.py for antmaze, this error will occur:
AttributeError: module 'd3rlpy.preprocessing.reward_scalers' has no attribute 'ConstantShiftRewardScaler'
My conda environment satisfy all the requirements listed in requirementstxt, maybe the requirement for d3rlpy is wrong?

Hi Qinwen
Sorry for the late response as I was on vacation last month (due to the new year). Yes, it seems d3rlpy 1.x does not have the ConstantShiftRewardScaler. Could you try StandardRewardScaler with manually setting the mean and std?
scaler = d3rlpy.preprocessing.StandardRewardScaler(mean=[ConstShift], std=1.0)
This should achieve desired reward transformation.


[Suggestion] Elytra Fly mode that accelerates towards the direction youre looking at.

so when you hold w while looking up you can still fly upwards instead of having to hold space

Did you actually see somewhere such mode, or just your idea?

this is just a suggestion of something that id like to see added, but the "do a barrel roll" mod has a feature that does this called thrust


Error : 'SdFs' has not been declared

I don't know much cpp, and relatively new to Arduino ecosystem. While trying to use the example, I get following error.
I installed, arduino-printf, arduino-logger and tried with https://github.com/greiman/SdFat-beta and https://github.com/greiman/SdFs (which say deprecated). Still same error.
Users/bsr/Documents/Arduino/libraries/arduino-logger-master/src/AVRSDRotationalLogger.h:76:13: error: 'SdFs' has not been declared
  void begin(SdFs& sd_inst)
             ^~~~
/Users/bsr/Documents/Arduino/libraries/arduino-logger-master/src/AVRSDRotationalLogger.h:186:2: error: 'SdFs' does not name a type; did you mean 'SdFile'?
  SdFs* fs_;
  ^~~~
  SdFile
/Users/bsr/Documents/Arduino/libraries/arduino-logger-master/src/AVRSDRotationalLogger.h:188:2: error: 'FsFile' does not name a type; did you mean 'SDFile'?
  FsFile file_;
  ^~~~~~
  SDFile
/Users/bsr/Documents/Arduino/libraries/arduino-logger-master/src/AVRSDRotationalLogger.h: In member function 'virtual size_t AVRSDRotationalLogger::size() const':
/Users/bsr/Documents/Arduino/libraries/arduino-logger-master/src/AVRSDRotationalLogger.h:39:10: error: 'file_' was not declared in this scope
   return file_.size();
          ^~~~~
/Users/bsr/Documents/Arduino/libraries/arduino-logger-master/src/AVRSDRotationalLogger.h:39:10: note: suggested alternative: 'fileno'
   return file_.size();
          ^~~~~
          fileno
/Users/bsr/Documents/Arduino/libraries/arduino-logger-master/src/AVRSDRotationalLogger.h: In member function 'virtual size_t AVRSDRotationalLogger::capacity() const':
/Users/bsr/Documents/Arduino/libraries/arduino-logger-master/src/AVRSDRotationalLogger.h:45:10: error: 'fs_' was not declared in this scope
   return fs_ ? fs_->card()->sectorCount() << 9 : 0;
          ^~~
/Users/bsr/Documents/Arduino/libraries/arduino-logger-master/src/AVRSDRotationalLogger.h:45:10: note: suggested alternative: 'fbs_t'
   return fs_ ? fs_->card()->sectorCount() << 9 : 0;
          ^~~
          fbs_t
/Users/bsr/Documents/Arduino/libraries/arduino-logger-master/src/AVRSDRotationalLogger.h: In member function 'virtual void AVRSDRotationalLogger::flush()':
/Users/bsr/Documents/Arduino/libraries/arduino-logger-master/src/AVRSDRotationalLogger.h:50:7: error: 'file_' was not declared in this scope
   if(!file_.open(filename_, O_WRITE | O_APPEND))
       ^~~~~
/Users/bsr/Documents/Arduino/libraries/arduino-logger-master/src/AVRSDRotationalLogger.h:50:7: note: suggested alternative: 'fileno'
   if(!file_.open(filename_, O_WRITE | O_APPEND))
       ^~~~~
       fileno
/Users/bsr/Documents/Arduino/libraries/arduino-logger-master/src/AVRSDRotationalLogger.h:55:11: error: 'file_' was not declared in this scope
   int r = file_.write(buffer_, counter);

I see this class and other symbols are defined for testing here
https://github.com/embeddedartistry/arduino-logger/blob/376efe1f44c16cc6154f330def0acff891261796/test/sketch/SdFat.h
not sure need the same

I see the problem. I have some additional code which imports #include <SD.h> will test further.


spdk: use pb.EncryptionType instead of hard-coded

Fixes #123
Signed-off-by: Boris Glimcher<EMAIL_ADDRESS>

fails on
opi-spdk-server_1  | 2023/02/09 21:44:17 Sending to SPDK: {"jsonrpc":"2.0","id":53,"method":"accel_crypto_key_create","params":{"cipher":"AES_XTS_128","key":"0123456789abcdef0123456789abcdef","key2":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","name":"super_key"}}
opi-spdk-server_1  | 2023/02/09 21:44:17 Received from SPDK: {"id":53,"error":{"code":-32602,"message":"failed to create DEK, rc -22"},"result":false}
opi-spdk-server_1  | 2023/02/09 21:44:17 error: accel_crypto_key_create: json response error: failed to create DEK, rc -22

due to
spdk_1             | [2023-02-09 21:44:17.857110] accel_sw.c: 750:sw_accel_crypto_key_init: *ERROR*: Only AES_XTS cipher is supported

note AES_XTS_128 vs AES_XTS


Add full theming.

This would involve letting the user make custom themes by choosing each color individually. This is possible due to the updateTheme() function.

This is possible due to the updateTheme() function.

I am aware of this function, I wrote that library :laughing:

This would involve letting the user make custom themes by choosing each color individually

This is not something I am willing to allow for a few reasons

What's the point...  It will involve adding four extra color selectors that will simply confuse your average user.
The default dark/light themes are enough for 99.99% of users and I'm not keen on adding new functionality that requires maintainence for the fun of it
At the moment the player looks nice, in general, it is aesthetically appealing.  If we allow a user to customize all the colors they could make it look terrible

Well thanks for considering it :P


Student import requires full name

Currently, importing student (or names of people in general) requires a full name column. Full names are not currently stored anywhere and have to be manually (through formulas) constructed by the module coordinator.

The Canvas export currently has this name by default. Will fix this with this pull request


flex: Fix file shbang

Otherwise:
Failed to provision volume with StorageClass "default-shared": fork/exec /opt/storage/flex-provision.sh: exec format error

/lgtm
however, need cla

just signed CLA.


Cpi swap bug fix

This deleted line always lead to an error in the "else" case as floatingLeg is empty

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

 CPISwap.cs#L159: "floatingLeg" is null on at least one execution path.

Errors :
Failed   zciisconsistency
Error Message:
Test method TestSuite.T_CPISwap.zciisconsistency threw exception:
System.NullReferenceException: Object reference not set to an instance of an object.
Stack Trace:
at QLNet.CPISwap..ctor(Type type, Double nominal, Boolean subtractInflationNominal, Double spread, DayCounter floatDayCount, Schedule floatSchedule, BusinessDayConvention floatPaymentRoll, Int32 fixingDays, IborIndex floatIndex, Double fixedRate, Double baseCPI, DayCounter fixedDayCount, Schedule fixedSchedule, BusinessDayConvention fixedPaymentRoll, Period observationLag, ZeroInflationIndex fixedIndex, InterpolationType observationInterpolation, Nullable`1 inflationNominal) in C:\projects\qlnet-d58o4\QLNet\Instruments\CPISwap.cs:line 159
at TestSuite.T_CPISwap.zciisconsistency() in C:\projects\qlnet-d58o4\Test\T_CPISwap.cs:line 405


Rendering Issues

This is BETA  V0.6.15
The image Bellow is a screengrab showing
Inkscape K40Whisper MeerK40T side by side
Obviously, Inkscape is our design and what we WANT and expect to see on screen
K40 is Spot on, even got the Gradient of the stars
Meerk40T Has the text in the wrong spots, at least on Screen
The Gradient is missing (Known issue)

Here is the SVG for the above Image.
Boxes for test.zip

Here is the SVG for the above Image.
Boxes for test.zip

YEah, the text is a bit screwy like that. My text routine is weaker than it should be. Inkscape is going to do fine there since it runs literally everything back through inkscape and doesn't do much parsing there at all.
Do text-to-path on the file and save that out to load. Yeah, the font doesn't preserve very well. I might need to do a bunch of work to get that in. That or run the text through Inkscape to properly figure out the glyphs.

YEah, the text is a bit screwy like that. My text routine is weaker than it should be. Inkscape is going to do fine there since it runs literally everything back through inkscape and doesn't do much parsing there at all.
Do text-to-path on the file and save that out to load. Yeah, the font doesn't preserve very well. I might need to do a bunch of work to get that in. That or run the text through Inkscape to properly figure out the glyphs.

#183 #61 #247
I kind of want some future ability to flow text and edit the text within MeerK40t, and that requires having them as text object.

#183 #61 #247
I kind of want some future ability to flow text and edit the text within MeerK40t, and that requires having them as text object.


Issue with mailgun routed data?

I am using aiohttp. I have an api which handles Mailgun routed data. The emails have multiple attachments. I am not able to read all of the attachments. It just gives me a single one.
data is what I receive.
str(list(data.keys())) gives me the list -
['Content-Type', 'Date', 'Dkim-Signature', 'From', 'Message-Id', 'Mime-Version', 'Received', 'Received', 'Received', 'Subject', 'To', 'X-Envelope-From', 'X-Mailgun-Incoming', 'X-Received', 'attachment-count', 'body-html', 'body-plain', 'from', 'message-headers', 'recipient', 'sender', 'signature', 'stripped-html', 'stripped-signature', 'stripped-text', 'subject', 'timestamp', 'token', 'attachment-1']
str(data.get('attachment-count') gives me 2/3/4 when I send multiple files in the email - which is fine. But there is only one key as attachment-1. There should be 'attachment-1' and 'attachment-2' and so on.
I tried running a flask server and tested emails with multiple files:
print(request.files) prints ImmutableMultiDict([('attachment-2', <FileStorage: 'Screen Shot 2015-09-02 at 10.18.37 am.png' ('image/png')>), ('attachment-1', <FileStorage: 'Screen Shot 2015-09-02 at 10.18.36 am.png' ('image/png')>)])
which shows there are two files indeed.
Now there is certainly an issue with how aiohttp is handling the mailgun's data:
printing request.post() gives only one file - 'attachment-1': Field(name='attachment-1', filename='Screen Shot 2015-09-02 at 10.40.18 am.png', file=<_io.BufferedRandom name=10>, content_type='image/png'). There is no attachment-2, god knows why!

Hi. I don't familiar with mailgun api but aiohttp test suite has cases for multiple file uploading:
test_files_upload_with_same_key and test_post_files. How the tests are different from your case?

I have mailed you with the post data that I receive on my api. Please have a look. There must be something which Mailgun is sending which is out of convention.

I applied this patch and things worked fine. https://bugs.python.org/issue24764.
Please see if any thing needs to be added on your end. Thanks


Creating Micro Interaction on Guiding Text

[ ] Write a script file for changing of text that appears to guide users through the App

Dependencies:
Issues #9
ETA:
Pick Up Next Week
Assigned to:
@juhiechandra @hello-fri-end @XooTB

-- done --


[BUG] BlobClient errors with "The specified blob already exists" despite the docs stating that this method will "or updates the content of an existing block blob"

Describe the bug
the method BlobClient.UploadAsync is described as:

The UploadAsync(Stream) operation creates a new block blob or updates the content of an existing block blob. Updating an existing block blob overwrites any existing metadata on the blob.

Yet when I run this against an existing blob this method throws an exception:

Azure.RequestFailedException: 'The specified blob already exists.
RequestId:126d5fed-801e-00b7-5257-0b0cb9000000
Time:2021-02-25T09:22:06.9289999Z
Status: 409 (The specified blob already exists.)
ErrorCode: BlobAlreadyExists
Headers:
Server: Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0
x-ms-request-id: 126d5fed-801e-00b7-5257-0b0cb9000000
x-ms-client-request-id: c44116a3-d17d-497e-8a9d-222bc62ed8fd
x-ms-version: 2020-02-10
x-ms-error-code: BlobAlreadyExists
Date: Thu, 25 Feb 2021 09:22:06 GMT
Content-Length: 220
Content-Type: application/xml
'

Expected behavior
Blob should be updated
Actual behavior (include Exception or Stack Trace)
Exception is thrown
To Reproduce
Simply call await blobClient.UploadAsync(ms); on an existing blob.
Environment:

Azure.Storage.Blobs, Version=<IP_ADDRESS>
.Net Core 3.1
Visual Studio 2019 16.8.5

Ok, looking into it, it looks like this has been reported and closed once before https://github.com/MicrosoftDocs/azure-docs/issues/44973. But this issue has not been addressed

so upgrading from <IP_ADDRESS> to <IP_ADDRESS> shows the overwrite overload. So it seems that an upgrade helps but I'm still going to say that the docs are wrong.

There are still some inconsistencies in documentation:
Link

Link

Do we have a method that accepts contents of type string?


Fix gulp-inject entry protocol in package.json

"gulp-inject": "git://github.com/benweet/gulp-inject.git#8bd702d143a578e3b44290d82612ab808ee17281"
to
"gulp-inject": "git+https://github.com/benweet/gulp-inject.git#8bd702d143a578e3b44290d82612ab808ee17281"

Should be fixed in the v5.


MODE-1300 Updated Tika version to 1.0

should be cherry-picked in 3.x

Overall, looks good. Thanks, Horia.

Merged into the 'master' branch and cherry-picked into the '3.x' branch.


WIP: Neato reduce API calls

Breaking Change:
Nothing breaks
Description:
The neato integration does a lot of unnecessary api calls. We try to reduce them by caching requested data. This let us reduce the maximal number of updates.
Related issue (if applicable): related to: #29035
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

[ ] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

@dshokouhi I noticed that we won't use the results of self.neato.update_robots() so I removed it for now. This shouldn't be the goal, obviously. Unfortunately pybotvac doen't cache data. It always asks the API when we try to access attributes of self.robot. The best solution would it be to handle all IO in NeatoHub and write requested information into a dict. The platforms itself only use the dict then. What do you think?

@dshokouhi I'm still not sure how to cache requested attributes. If we don't want to edit pybotvac we have to do in in NeatoHub. Feel free to add comments or commits 😄

@Santobert  that was actually my original reasoning for having the camera and switch with a higher scan interval than the vacuum platform.  Somethings don't need to update as often.  Maybe instead of keeping the same default scan interval we change it?  The camera for example does not need to update every 5 min, I previously had it at 10 because the only time it updates is when the map is new.  Also some of the attributes under the vacuum only update as the map updates so maybe we want to move those attributes to the camera?

Why wouldn't you want to update pybotvac to make it easier to cache ?

Thats not yet decided. It depends on the current code base. Since pybotvac does IO within it's property methods every caching belongs there. Otherwise we have to duplicate most of the data using our own objects or dicts. But this requires to break parts of pybotvacs API. This decision still needs some research, I guess.

@dshokouhi what's your opinion?

@Santobert I think we should do more research here but best would be to update pybotvac to do what we need if we can.

@dshokouhi We can merge this if you have successfully tested it with your robots. The only way to further improve the situation is to change the way pybotvac works. I don't see any other way because they mix available values and API requests and hide this behind @propertyfunctions. The alternative way to improve this without editing Pybotvac is to create helper objects in HA that wrap around Pybotvac's objects, and that would be really ugly somehow.

Can be merged. To do further improvements pybotvac needs some changes first

This also adds a workaround if robot.get_robot_info() does not work. This sometimes happens as mentioned here: #29239


ci: add DRONE_TAG to build-tag-iso

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Problem:

Solution:

Related Issue:
https://github.com/harvester/harvester/issues/5327
Test plan:

To fix version.yaml file is not published.

@mergifyio backport v1.3 v1.2