openzeppelin-cli uses the wrong account

I noticed an odd behavior while using openzeppelin-cli where it uses the account in the list that @truffle/hdwallet-provider provides no matter what account was actually selected.
I'm using @openzeppelin/cli version 2.8.2 and @truffle/hdwallet-provider version 1.0.42
Here is my networks.js:
const { infuraId, alchemyId, mnemonic } = require('./secrets.json');
const HDWalletProvider = require('@truffle/hdwallet-provider');

module.exports = {
  networks: {
    development: {
      protocol: 'http',
      host: 'localhost',
      port: 8545,
      gas: 5000000,
      gasPrice: 5e9,
      networkId: '*',
    },
    goerli_infura: {
      provider: () => new HDWalletProvider(
        mnemonic, `https://goerli.infura.io/v3/${infuraId}`
      ),
      networkId: 5,
      gasPrice: 2e9
    },
    rinkeby_infura: {
      provider: () => new HDWalletProvider(
        mnemonic, `https://rinkeby.infura.io/v3/${infuraId}`
      ),
      networkId: 4,
      gasPrice: 10e9
    },
    rinkeby_alchemy: {
      provider: () => new HDWalletProvider(
        mnemonic, `https://eth-rinkeby.alchemyapi.io/v2/${alchemyId}`
      ),
      networkId: 4,
      gasPrice: 10e9
    },
    rinkeby_local: {
      provider: () => new HDWalletProvider(
        mnemonic, `http://<IP_ADDRESS>:8545`
      ),
      networkId: 4,
      gasPrice: 10e9
    }
  },
};

Here is how I deploy a contract
This is what the node says:
INFO [08-27|15:00:14.450] Submitted contract creation              fullhash=0x############################################################0fa7 contract=0x########################################

And this is what etherscan says:

I don't really know if the issue is with openzeppelin-cli or with @truffle/hdwallet-provider

So. I modified networks.js to this:
rinkeby_local: {
  provider: () => new HDWalletProvider(
  mnemonic, `http://<IP_ADDRESS>:8545`, 2 // <-- added 1 more argument
  ),
  networkId: 4,
  gasPrice: 10e9
}

I did this so that HDWalletProvider starts generating accounts from 2 (zero indexed). I then selected account 0 and deployed.
This whole thing worked and the contract was deployed from the correct account.
I'm not really sure what the culprit is. I'm thinking it might be @truffle/hdwallet-provider or even @openzeppelin/cli

Hi @nicexe!  I’m sorry that you had this issue.
We have been able to reproduce this issue by following these steps:

Set a session

$ npx oz session
? Pick a network rinkeby
? Enter a timeout in seconds to use for http-based web3 transactions 750
? Enter a timeout in blocks to use for websocket-based web3 transactions 50
? Choose the account to send transactions from (1) 0x059aE37646900CaA1680473d1280246AfCCC3114
? Enter an expiration time for this session (in seconds) 3600
Using network rinkeby, sender address 0x059aE37646900CaA1680473d1280246AfCCC3114, timeout 750 seconds, blockTimeout 50 blocks by default.

Deploy a regular contract

$ npx oz deploy --network rinkeby
Nothing to compile, all contracts are up to date.
? Choose the kind of deployment regular
Using session with network rinkeby, sender address 0x059aE37646900CaA1680473d1280246AfCCC3114, timeout 750 seconds, blockTimeout 50 blocks
? Pick a contract to deploy Box
✓ Deployed instance of Box
0x3FaFDb81B9DAC664B4e1F2b276865AC6bC94eC65

But the contract is actually deployed from the default account.  See: https://rinkeby.etherscan.io/address/0x3FaFDb81B9DAC664B4e1F2b276865AC6bC94eC65
$ npx oz accounts
Using session with network rinkeby, sender address 0x059aE37646900CaA1680473d1280246AfCCC3114, timeout 750 seconds, blockTimeout 50 blocks
Accounts for rinkeby:
Default: 0x77737a65C296012C67F8c7f656d1Df81827c9541
All:
- 0: 0x77737a65C296012C67F8c7f656d1Df81827c9541
- 1: 0x059aE37646900CaA1680473d1280246AfCCC3114

Thanks so much for reporting it! The project owner will review and triage this issue as soon as they can.  In the meantime, you can try the following workaround:
Instead of session you can use oz deploy --from to specify the account (as I suspect that the new deploy doesn't appropriately use `session)
https://docs.openzeppelin.com/cli/2.8/commands#deploy
$ npx oz deploy --network rinkeby --from 0x059aE37646900CaA1680473d1280246AfCCC3114
Nothing to compile, all contracts are up to date.
? Choose the kind of deployment regular
Using session with network rinkeby, sender address 0x059aE37646900CaA1680473d1280246AfCCC3114, timeout 750 seconds, blockTimeout 50 blocks
? Pick a contract to deploy Box
✓ Deployed instance of Box
0x0d0FE29b73793370cF54c4Cb549d683c985C2B48

The contract is deployed using the specified account: https://rinkeby.etherscan.io/address/0x0d0FE29b73793370cF54c4Cb549d683c985C2B48


configure from courseraprogramming not available.

Hi,
Is there any plan to support the old courseraprogramming configure commands?
Thanks!

It was very useful to login and create the token in ~/.coursera that could then be copied to CI machines

It seems like the upload command creates tokens in ~/.coursera after launching a login browser window.

Yes, but this means that I have to initiate an upload to generate the token.
With courseraprogramming I used to do configure check-auth which would create ~/.coursera. Then I could copy the token to my CI server which would take care of uploading

Thank you for filing this issue. We will add support for this soon.

@vincenzobaz : we are addressing this as part of this PR, which we will merge soon. We hope this resolves this issue. Do let us know if you have any other comments/questions. Thank you. cc: @josephl310


Fix Svelte parser for new configs

Svelte parser for Pretier formating ins't working due to changes done in both configs and souce code, these changes cause it to stop work as intended, a fix for it is required!

Fixed!


Arrow functions not working in Chrome 50

Hi there, before the Chrome 50 update arrow functions were working for me, but suddenly karma started to failed. The message is something with the Injector.
I dont know if arrow functions were intended to work or not, but they dont work anymore.
This used to work with Chrome 49.x:
 beforeEach(inject((_$controller_) => {
        $controller = _$controller_;
    }));

I solved it using function:
 beforeEach(inject(function(_$controller_) {
        $controller = _$controller_;
    }));

Here's the error message, its very easy to reproduce:
TypeError: Cannot read property '1' of null
            at Function.annotate (/bower_components/angular/angular.js:3907:24)
            at Function.angular.injector.$$annotate (/bower_components/angular-mocks/angular-mocks.js:2583:36)
            at injectionArgs (/bower_components/angular/angular.js:4626:36)
            at Object.invoke (/bower_components/angular/angular.js:4657:18)
            at Object.workFn (/bower_components/angular-mocks/angular-mocks.js:2810:20)

Which version of angular do you use?
This seems to be a karma specific problem, because I've just run our tests on Version 50.0.2661.75 beta-m (64-bit) and there are no failures.

Sorry I should have wrote that. I used Angular 1.5 and then test it with
1.5.5
I really don't know if its karma or angular or even jasmine, but everything
starting to failed as soon as my CI updated to Chrome 50.
The same thing happened to me, in my dev machine. While I was running on
Chrome 49 I had no problem, in fact I didn't even know why it was failing
on the CI, and it was driving me crazy, and the minute I updated my dev
machine to Chrome 50, they starting failing. And changing the arrows to
functions, solved the problem.
I didn't change karma, jasmine nor angular version. The only thing I end up
changing was Chrome to see it failed.
On Thu, Apr 21, 2016 at 10:53 AM Martin Staffa<EMAIL_ADDRESS>wrote:

Which version of angular do you use?
This seems to be a karma specific problem, because I've just run our tests
on Version 50.0.2661.75 beta-m (64-bit) and there are no failures.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/angular/angular.js/issues/14487#issuecomment-212928811

I'm using Chrome 50.0.2661.75 m

The thing is this: I use TS. For my app the output is ES5, but for my tests I was using ES6 output. And they were running ok until two days ago.
Every project that had the tests output to ES6, for karma only, starting failing.
After a couple of hours I realized that the Chrome version was different. When I updated my dev machine the same happened.
I changed the output for karma tests to ES5, and everything starting working again.
Maybe something changed in chrome core, and angular got broken.

I can reproduce this. It must be because of the inject fn. But I don't know what changed in Chrome 50 that this doesn't work anymore.

It looks like the output of toString for fat arrow functions has changed

This seems to be indeed a bug in Chrome. The problem happens in here, where we try to extract the arguments from the arrow function.
Although fnText seems correct, for some reason (bug?), calling .match(ARROW_ARG) on it returns null (although it does much the RegExp).
If you put a breakpoint in there and you manually create s string (say fnText2) identical to fnText, you can observe the following:
fnText2 === fnText         // Returns true
fnText2.match(ARROW_ARG)   // Returns an array
fnText.match(ARROW_ARG)    // Returns null (!?!)


Removed unused template parameter from CLinearOperator

CLinearOperator has only one template parameter now
since the other template parameter is not used anywhere.

@karlnapf @iglesias @lisitsyn I am planning to make some changes aimed at reducing compilation time. This was on my list for a long time.

@lambday does that speed up the compilation?

@lisitsyn it's a start.. Removing unused things that unnecessarily takes up compiler's time could be useful at least. Next patches would include usage of pimpl and getting rid of all but mandatory header inclusions in the .h files and relying on forward declaration in most of the cases.

lgtm :+1:

Alright. Travis errors seem unrelated. Merging this one.


Mailto body html get sanitized

Expected behavior
When opening a mailto link with an html body (useful for sharing links for example), the html should be usable.
Actual behavior
When opening a mailto link with an html body (useful for sharing links for example), the html get sanitized, and the link is not usable.
Steps to reproduce

Open in a web browser a link with the format mailto:somebody?&subject=Some subject&body=
Some title
Some caption
The mail body get in the message as text, not as usable html...

Environment
K-9 Mail version: 5.6
Android version: 7.1.2
Account type (IMAP, POP3, WebDAV/Exchange): IMAP

This is by design.
Excerpt from RFC 6068, section 2:

The special <hfname> "body" indicates that the associated <hfvalue> is the body of the message.  The "body" field value is intended to contain the content for the first text/plain body part of the message.  The "body" pseudo header field is primarily intended for the generation of short text messages for automatic processing (such as "subscribe" messages for mailing lists), not for general MIME bodies.

Even if HTML was allowed in a mailto URI, K-9 Mail currently doesn't support rich text editing. See #1745.
Side note: The parameter values in mailto URIs need to be properly encoded. If you want to create mailto URIs on Android, check out the EmailIntentBuilder library that does all that work for you.

Ok, thanks a lot for the insights.


Alteration in fileName in public API sample

index.js within addon folder is used for exporting.

Thank you!


randomizing the input data if validation is True

Are we doing it now i.e. when the user inputs data and then they have validation as not False (True or  float), are we first randomizing the order of the file? If not, let's make sure we are doing.

Yes, first we train model with the initial order, but then we randomize X in validation function.


 Any help as to where do I do that and how?

Oh thanks sorry for not reading complete doc


dotnet client has a really bad performance

i create a dev server on <IP_ADDRESS> and my c# client is on <IP_ADDRESS>.
the simple sample cost about 150ms every request KV.Get. and i used wireshark to test the real latency. and the one single request cost about 1ms when the response came back.
50	16:22:26.949815	<IP_ADDRESS>	<IP_ADDRESS>	HTTP	154	GET /v1/kv/hello HTTP/1.1
51	16:22:26.950450	<IP_ADDRESS>	<IP_ADDRESS>	HTTP	337	HTTP/1.1 200 OK  (application/json)

Thanks for reporting this issue! This is not typically the performance that tends to be seen in other environments, so I'd like to get some additional information from you. Would it be possible to provide the test code here or in a gist? Also, are you using .NET Core, .NET 4.x, or Mono to run your sample?

I've created a tiny test sample based off of the "set a KV, get a KV" in the readme, and I am seeing 200ms+ latencies but only for the very first request. Some performance profiling appears to indicate it's JSON.NET lazily initializing. Subsequent requests are near-wire-speed latencies.
Could you please confirm that you are seeing high latencies past the first request? An easy way to test would be to loop it a few times:
var w = new System.Diagnostics.Stopwatch();
for (int i = 0; i < 10; i++)
{
    w.Restart();
    var getPair = await client.KV.Get("hello");
    Console.WriteLine(w.ElapsedMilliseconds);
}

next Monday i will confirm the real problem, i'm using .net framework 4.6.2

when i use default ConsulClient, it's really fast.
when i use code like this:
var config = new ConsulClientConfiguration();
config.Address = new Uri("http://<IP_ADDRESS>:8500");
var client = new ConsulClient(config);

every request cost about 150~200ms, what's the problem of my init codes?

The default ConsulClient accesses <IP_ADDRESS>:8500, so I'm not surprised it's fast. It's localhost after all.
I'm not able to reproduce this with a vagrant box server either. My test code looks like this:
public static async Task HelloConsul()
{
    var config = new ConsulClientConfiguration();
    config.Address = new Uri("http://<IP_ADDRESS>:8500");
    using (var client = new ConsulClient(config))
    {
        var putPair = new KVPair("hello")
        {
            Value = Encoding.UTF8.GetBytes("Hello Consul")
        };

        var putAttempt = await client.KV.Put(putPair);
        var w = new Stopwatch();
        for (int i = 0; i < 5; i++)
        {
            w.Restart();
            var getPair = await client.KV.Get("hello");
            Console.WriteLine(w.ElapsedMilliseconds);
        }
    }
}

And my timer results are:
61
0
0
0
0

Removing the Put does not change the timings appreciably.
I also tested against http://demo.consul.io with this code:
public static async Task GetDemoConsulKey()
{
    var config = new ConsulClientConfiguration();
    config.Address = new Uri("http://demo.consul.io");
    config.Datacenter = "sfo1";
    using (var client = new ConsulClient(config))
    {
        var w = new Stopwatch();
        for (int i = 0; i < 5; i++)
        {
            w.Restart();
            var getPair = await client.KV.Get("global/time");
            Console.WriteLine(w.ElapsedMilliseconds);
        }
    }
}

Latency times in Wireshark matched what I was seeing in the stopwatch delay after the first request as well.
Ideally, please make a Gist of your complete test program if possible and put a link to it in this issue. If you aren't able to provide the test code, can you please confirm you are not creating a ConsulClient for each request? It shouldn't matter but they generally are fairly expensive to create, and should be reused as shown. Also, are you using the nuget package Consul.NET <IP_ADDRESS> or some other version? I can't think of anything that I would have fixed that could cause this but that's worth checking.

https://gist.github.com/egmkang/ef139881056db0bac104e9ec0a322809
on my win7(64bit), .net framework 4.5 and 4.6.1, 100 get request cost about 12.5 seconds.
on my linux(<IP_ADDRESS>), mono 4.4.2,  100 request cost about 0.047 seconds.

Consul.net version is <IP_ADDRESS>

I am not able to repro this at all, unfortunately. I've got a Windows 8 machine requesting data from my Ubuntu vagrant box at <IP_ADDRESS>, and I get:
4.5:
Consul Get
<Main>b__0        100 op 0.053 s 533955.900 ns/op

4.6.1:
Consul Get
<Main>b__0        100 op 0.081 s 809401.950 ns/op

At this point, I don't really know what to say - I'd be happy to fix it or accept a PR if you could point me at what's wrong, but I'm unfortunately going to have to ask that you try to profile the code yourself to see what's going on. I can try setting up a couple AWS machines some time this week and running the test there but it would probably be faster for you to use your own tools to try to see what's going on.
One other thing that you could try is the prerelease version - you'll want to rework the config a bit after upgrading:
Replace the lines that read:
var config = new ConsulClientConfiguration();
config.Address = new Uri("http://<IP_ADDRESS>:8500");
var client = new ConsulClient(config);
Stopwatch sw = new Stopwatch();

with:
var client = new ConsulClient((config) => { config.Address = new Uri("http://<IP_ADDRESS>:8500"); });

I doubt it will help but it's worth a shot since I reworked a bunch of the client stuff in the 0.7.0 release.

@egmkang Are you running this test while firewall, proxy or anti-virus software is running?

@lvermeulen the wireshark result shows the network latency is very low, i test it for several times.

@highlyunavailable i test 0.7.0, it's same like <IP_ADDRESS>

i know what's the real problem, my ShadowSocks hook all http request, after i close ShadowSocks, the request get fast, and 100 request cost about 70~100ms now .
in china, without ShadowSocks or vpn, i cannot access stackoverflow, github ......

Right, a proxy. Can you configure it to bypass local addresses?

it seems like ConsulDotNet using HttpClient to request the server

var httpClientHandler = new HttpClientHandler();
httpClientHandler.Proxy = null;
httpClientHandler.UseProxy = false;
var httpClient = new HttpClient(httpClientHandler);

i use this to ignore system proxy, and it works fine

Yeah, that will do it. Glad you got this figured out.


[release-v1.11] Backport fix for random consumer group id access

This is the non breaking change related to https://github.com/knative-extensions/eventing-kafka-broker/commit/bfeb3c39f741b8380788cd573bff499c59834e47

/test 411-test-e2e-aws-ocp-411

/cherry-pick release-v1.12

/cherry-pick release-v1.10


⚠ Jenkins Plugins Artifactory has degraded performance

In 409ffc5, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1185 ms

Resolved: Jenkins Plugins Artifactory performance has improved in e76f09e after 22 minutes.


Dynamic positions for inputs and outputs nodes

Hello,
I test Drawflow since severals days and it works fine and it's very useful.
I follow this issue to positioningg the inputs and outputs : https://github.com/jerosoler/Drawflow/issues/363#issuecomment-1050699201.

It works fine but if I add text on the node after the creation of the node, the positionning is wrong.

I try to add the text after the inputs/outputs but it moves. I thought that the connections wouldn't move becaus the text is below.

I try to reapplicate the code to place the connections and it doesn't work, and the placement depends of the position of the node on the screen.
I tryy to get the height of the added text and add or substract this height to the positions of the connection but it doesn't work.
So, do you have a solution for this problem ?
Thanks,
Jérémie

This may be of help to you:

https://github.com/jerosoler/Drawflow/issues/537


fix/site/typo

Before:

After:

Great spot, thank you @Blitheness! Screenshots were maybe a little overkill. 😅


added translation tasks

Summary by CodeRabbit

New Features

Introduced a language detection feature that identifies the language of input text.
Added a translation function that uses AWS Translate to convert text between specified languages.

Bug Fixes

Enhanced error handling and logging for both language detection and translation processes.

Chores

Added a new dependency for improved language code handling.

@Vasilije1990 Please check comments


Use the crown icon to represent the Recommended plugin

In the app we use a crown icon so we should use the same here.
Is it possible to put it in the top right corner too, next to the description?

Partially addressed by 1a7fad83101fa66b1a47d48a741f956b6cbebdc6:

At present, however, the badge on the plugin details page is still a badge:

Closing as completed (see above comment).


No way to specify --experimental for render function

While trying to switch zlib to rattler, I need a feature that's currently under an experimental flag. Aside from the problem of not being able to specify this through smithy yet, the larger issue is that this is not configurable in the compat layer here.
I've monkey-patched my local install to do:
---src/rattler_build_conda_compat/render.py
+++src/rattler_build_conda_compat/render.py
                    run_args = [
                        "rattler-build",
                        "build",
                        "--render-only",
                        "--recipe",
                        self.path,
                        "--target-platform",
                        platform_and_arch,
                        "--build-platform",
                        platform_and_arch,
+                      "--experimental",
                    ]

which still runs into a rendering error:
  File "E:\miniforge\envs\smithy-dev\Lib\site-packages\rattler_build_conda_compat\render.py", line 317, in render
    m.config.variant = package_variants[0]
                       ~~~~~~~~~~~~~~~~^^^

which I solved as follows:
---src/rattler_build_conda_compat/render.py
+++src/rattler_build_conda_compat/render.py
                        ):
                            package_variants.remove(pkg_variant)

-           m.config.variant = package_variants[0]
+           m.config.variant = package_variants[0] if package_variants else []

            # These are always the full set.  just 'variants' is the one that gets
            #     used mostly, and can be reduced

That way I was able to get a basic rerender to succeed at least (though still running into issues on the build invocation, which'll have to be fixed in smithy).

@wolfv @baszalmstra @nichmor
Any help with how an API for using --experimental should look like, so that smithy can build on top (https://github.com/conda-forge/conda-smithy/issues/2057).

hey @h-vetinari ! let me take a look at this today! sorry for long reply time

hey @h-vetinari - sorry I'm on vacation now - maybe @wolfv or @tdejager will could take a look

Ping @nichmor @wolfv

FWIW, I reapplied the monkeypatch to add --experimental to run_args again on the newest 1.2.2, and I'm still running into https://github.com/prefix-dev/rattler-build-conda-compat/issues/58 despite https://github.com/prefix-dev/rattler-build-conda-compat/pull/59, and thus the second patch also remains necessary.

https://github.com/conda-forge/conda-smithy/issues/2057 is collecting more and more examples where cache: (and thus --experimental) is needed.

Yes, I think part of the reason why it's "experimental" right now is because we wanted to make sure that the semantics are correct. I think we should fix the issue you discovered on Windows and write up how it works, present that to the conda/conda-forge community and lift it out of experimental late december, early january. How does that sound?


Add example for react-transmit

https://gist.github.com/XeeD/23824f4626bd29673a44

What if I fork Este.js, implement react-transmit in there and link the forked repo from Wiki with explanation of the steps?

Yes, Please! Finally looks like decent solution on async data.

@XeeD Wait for recent server refactoring PR. I am going to merge them right now. Then fork makes sense. We will add it to este org as este/app-react-transmit or something like that leter. Thank you very much!

Been a nightmare to resolve all the conflicts but brand new server PR is waiting for merge again! #248

@XeeD Ok, it's done. Check it please.
const appState = Immutable.fromJS(initialState).mergeDeep(userState).toJS();

I will check it more deeply during weekend and prepare the fork. The server refactoring was definitely a good idea!

@XeeD there's been one more server refactoring PR + better user state updates as I hate having too many side effects in render function, please wait till it's merged and that's the last refactoring part :)

@grabbou OK. I am watching all the PRs here :smile:

I am scared after looking at your avatar #AK47 @XeeD

@XeeD Hello, Is there any progress with fork? Did you have time for that?

@AlesJiranek Not yet, sorry - we are releasing app to production this week and I didn't have time for this.

@XeeD Finish releasing, then we can add transmit example together.

Release finished, now I can take a look at this. I'll fork the repo and add Transmit.

I'm suggesting to use some public rest api, and add it into examples.
And congrats to release.

If you need public rest Api, you can try
http://jsonplaceholder.typicode.com/

worth looking at: http://httpbin.org/

I've chosen the GitHub API for demonstration purposes. You can look at the implementation here: https://github.com/steida/este/compare/master...XeeD:react-transmit
Next step: server rendering.
Comments are of course welcome.


NDT should export its github commit

Using go.prometheusx.GitShortCommit as a link parameter.

If you build using ./build.sh, the version.Version variable contains the output of git describe --tags, which is probably even more useful than the git commit alone, but also includes it.

Yes!  The main thing here is that I want to

use this capability in every repo and
also export that information out via prometheus in a standard way.

Then we can build nice generic dashboards that tell us when our last update was and how long staging and production have been out of sync, and we can build alerts when they have been out of sync too long.  version.Version is great, but I think prometheusx.GitDescribeLong would be better. Then everything that uses prometheusx will have that metric available to be set at build time and exported at runtime.
I think you are right that the output of git describe --tags (or perhaps the output of git describe --long parsed into its three component parts TAG-COMMITCOUNT-COMMITID) would form an excellent basis for these metrics, dashboards, and alerts.

Basically, I only want to have to do version parsing and exporting once, even though I care about this information in many repos.

Work is being tracked in: https://github.com/m-lab/dev-tracker/issues/224
Things are slightly complicated. A design doc is being produced.

Closing this issue.  Follow the linked issue if you care.


Unable to adjust log level

Describe the bug
There doesn't seem to be a way to easily adjust the log level (ie. INFO instead of DEBUG):

This ends up flooding the logs making it hard to see useful information.
To Reproduce
Steps to reproduce the behavior:

Utilize the Photoshop API:

from photoshop import api as ps

app = ps.Application()
app.openDialog()

(do anything else with app)

Look at application logs to see [DEBUG  ] scattered throughout logs

Expected behavior
Ability to adjust log level to DEBUG, INFO, WARNING, ERROR, or CRITICAL.
Screenshots
See above
Desktop (please complete the following information):

Windows version: Microsoft Windows 10 Pro (Version 10.0.19045 Build 19045)
Photoshop version: Photoshop 2023 (Version 24.0.1) - OS: [e.g. Windows10, Windows7]
Python version: 3.11.0

Additional context
N/A

@davidianstyle I really want to know how you print these logs.
pyps API has no logs by default, and your logs look like they come from comtypes

Hi @loonghao, you can reproduce by cloning this project:
https://github.com/davidianstyle/MTG-Proxyshop.git
and then running (with Python 3.11):

$ python311 -m pip install -r requirements.txt
$ python311 -m pip install kivy --pre --no-deps --index-url  https://kivy.org/downloads/simple/
$ python311 -m pip install "kivy[base]" --pre --extra-index-url https://kivy.org/downloads/simple/
$ python311 main.py
In the application that opens up, click 'Render target'
When Photoshop opens, select any image and let the application run
You'll see the [DEBUG ] logs that I mentioned in the issue description


LLaMa 3.2 90B on multi GPU crashes

What is the issue?
Hello!
My problem may be similar to issue 7568. I think there is a problem with the distribution of the LLaMa 3.2 90B model across multiple GPUs. When it runs on a single GPU (quantized), it works. But when it runs on multiple GPUs, it crashes.
In my server running Linux Debian Bookworm and having 4x Nvidia H100 NVL, I can easily run a 4-bit quantized version of LLaMa 3.2 90B model. Here is the call of a "ollama run" in this case :
$ ollama run llama3.2-vision:90b-instruct-q4_K_M

What do you see in this picture ? ./TeddyBear.jpg
Added image './TeddyBear.jpg'
The image shows a teddy bear.

And here is the ollama serve 0.4.0 output :
OLLAMA_SERVE_llama3.2-vision_90b-instruct-q4_K_M.log
But when I run a 8 bits quantized version model (dispatched on my 4x Nvidia H100), here is what I get :
$ ollama run llama3.2-vision:90b-instruct-q8_0

What do you see in this picture ? ./TeddyBear.jpg
Added image './TeddyBear.jpg'
Error: POST predict: Post "http://<IP_ADDRESS>:40459/completion": EOF

And here is the ollama serve 0.4.0 output I get :
OLLAMA_SERVE_llama3.2-vision_90b-instruct-q8_0.log
The program crashes with a Segfault signal (as in ticket 7568 mentioned earlier). Can you take a look at this please? Thanks in advance!
OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
0.4.0

Oh dear... In all this log mess, I completely missed the following line:
time=2024-11-08T10:00:39.539Z level=WARN source=sched.go:137 msg="multimodal models don't support parallel requests yet"
Should I upgrade my issue to a feature request?

No, this is still a crash, the warning just means the model is being loaded with OLLAMA_NUM_PARALLEL=1, overriding the value of 2 that you have configured.

#7568 has a similar CUDA error: unspecified launch failure when running llama3.2-vision on multiple GPUs.

There was a cuda version linking bug in 0.4.0 which will be fixed in 0.4.1 which should hopefully resolve this.

Quick update.  This was not due to the link failure.  There's a bug relating to the cross-attention implementation on cuda with multiple GPUs.

We'll track this under #7558


fix: xprop errors when no wm

This removes the errors displayed by xprop when you don't have any window manager enabled on your linux system. This is done by adding 2>/dev/null at the end of each xprop command.
Tested on: Debian 11 (Bullseye) amd64
with the wm enabled:

without the wm enabled (tty):

Nice catch, lgtm!


"Maxed combat" achievement

When somebody achieves max combat, the website and discord bot list the achievement as "Maxed Combat", but doesn't list any contributing skills that helped to achieve maxed combat. To me, it would make sense to also announce the most recent 99(s) that completed the achievement. In the example below, 99 prayer would be announced alongside max combat.

As a side note, on this person's profile, the mouse tooltip on the prayer progress bar says 99 unachieved, even though it is stated on another part of the same page that they have completed that milestone. I'm not sure if this contributes to the issue somehow.

That is to be expected, that player reached 126 combat at 98 prayer.

I guess the solution here is to rename that achievement to "126 Combat"

I guess the solution here is to rename that achievement to "126 Combat"

Fixed in #611

Fixed in #611


Workers error metrics

This pull request includes:

moving the metrics to the worker/server

the ability to gather metrics on successful/unsuccessful jobs

add the error status to job duration metrics

[ ] adequate testing for the new functionality or fixed issue

[ ] adequate documentation informing people about the change such as

[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

Needs a rebase after the rhel86 images disappeared. Otherwise looks good :)


Include new talktorials to binder setup

Upon merge of #74 make sure new talktorials run with binder setup; add notes to those that may not run there (e.g. MD simulation).

This issue is prompted by @Carlbullish's question in https://github.com/volkamerlab/teachopencadd/issues/124#issuecomment-909398622:

And if you dont mind me asking, running the binder for talktorial 10 and other talktorials afterwards, is not yet implemented for successful execution as compared to talktorial 1 - talktorial 10?

[Resolved, see comments below] Talktorial 010 seems to run fine on Binder; @Carlbullish, did you run into troubles
Talktorials >010 will be included in Binder once we fixed some final technical issues in #74

The new notebooks (>T010) are running on Binder; please re-open this issue if you run into troubles.


Fix application sync status displaying

What this PR does / why we need it:
Create a component to display application sync status and use it on application list/detail.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/lgtm

/lgtm

/approve

/approve

/approve

/approve


Issue with winged mod

Fabric API 0.19.0+build.398-1.16
MC 1.16.2
give me hats v 1.2.8
winged v 1.4.0
when using Give me hats and wearing wings.
you get this
https://i.imgur.com/dyPFgxs.png
reporting this here and on their issues board just in case.

huh, thats a new one on me xD Im not sure I can specifically do anything about that if that is a problem, you may have to report it to the Trinkets author, Ill have a check but I dont have any code that should interfere, unless my trinkets or your trinkets is outdated

not sure if this ever got fixed, please reopen the issue if its a problem 1 year later here xD


gpg-agent doesn't work with

@snowpong noticed that blackbox_decrypt_all_files does not work on Git for Windows. It fails with:
../blackbox/bin/blackbox_decrypt_all_files: line 19: gpg-agent: command not found
../blackbox/bin/blackbox_decrypt_all_files: line 22: exec: blackbox_postdeploy: not found

Is gpg-agent not installed?  Then the script should print a warning and exit.
Is gpg-agent installed?  We should verify that it works.

sorry I commented initially on #125.
After installing GpG4Win and then adding C:\Program Files (x86)\GNU\GnuPG to my path gpg-agent exists in mingw


add yamllint to ansible

fix #1554

Thanks!
I'll let you merge it yourself.
Please use a commit message like "FT: MAKER: xxx", and prefer squash/rebase-merging for single commits.


express-nedb-rest and NeDB timestampData option

I'm using the timestampData option of NeDB:
// ---------- create  NEDB datastore
// timestamData creates a "createdAt" field with ISO 8601 timestamp: 2017-04-06T08:39:44.016Z
var datastore = new nedb({ filename: "test.db",  autoload: true, timestampData: true });

But the field createdAt, created by NeDB for each object, is not searchable by express-nedb-rest. When I do http://<IP_ADDRESS>:8100/test?$filter=createdAt $regex 2017 the resulted answer is empty.
When I GET all the objects I can see "createdAt":"2017-04-06T08:39:44.016Z".
But when I open my NeDB test.db file, surprise!, the date is stored like that:
"createdAt":{"$$date":1491487725078}
But http://<IP_ADDRESS>:8100/test?$filter=createdAt $regex 14 doesn't work either (empty result).
This server side timestamp is very important for me (client side timestamps can be wrong). Any idea?

Hello Charles,
when you use the code  branch "dateHandling", you may filter dates. Please use operators $eq, $lt, $lt, ... The $regex operator will work with strings only.
Regards
Torsten

Hello Torsten,
Checked the "dateHandling" branch and tested $eq, $gt and $lt operators: all of them work fine. Thanks.
My best, Charles.

Hello Charles.
i published the new version as 1.2.0 on npm
Regards
Torsten

Good job!
I made a small pull request for small typos if you can have a look. I'm preparing another small one to improve the quality of the documentation.
Best, Charles.


azcopy sync - File CreateTime not preserved in destination

Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
10.16.0
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
azcopy sync

What problem was encountered?
We installed the latest version of AZCOPY 10.16 and ran the sync command to replicate the files to another region.  The file was copied with a CreationTime that was different from the source file, although we expected the CreationTime to be preserved..
How can we reproduce the problem in the simplest way?
Have you found a mitigation/solution?
No

Hi there! It is not possible to alter the service side last modified time or create time on Blob.
For all UNIX time properties, we persist into metadata. The particular metadata names are:

posix_ctime
linux_btime
modtime
posix_atime

Hello Adreed, are there any known limitations with azcopy sync with preserve-posix-properties? the following is the sync command used to sync containers and there are no metadata properties added on target side.
azcopy sync "SourceBlobContainerUrlWithSASToken"  "TargetBlobContainerUrlWithSASToken" --recursive --preserve-posix-properties= true

If there is no metadata on the source, there will be no metadata on the destination. AzCopy cannot discern information that does not exist.


remove our WebSocket client

we'll use the one from dotnet/corefx now instead
fixes #108
/cc @Tratcher

:shipit:


Add a function parameter to Expr::propagateLValueAccessKind.

This parameter implements getType() for the given expression, making
it possible to use this from within the constraint system, which now
has it's own side map for types of expressions.

@swift-ci Please smoke test and merge


DCGM_FI_DEV_GPU_UTIL for grafana not showing

Hi,
I've installed everything and is working well , but I realized that even with DCGM_FI_DEV_GPU_UTIL allowed in the map documents, this metric is not showing in prometheus and grafana.
Anyone could help me?

@nikkon-dev probably what would be better is to seperate the graph in two since you give us both ENC/DEC

@larivierec, sorry, I didn't get your point. Which metrics could be separated?
WBR,
Nik

The decoding and encoding utilization metric could be left as is and put into the default graph for grafana


feat!: deprecate Legacy API mode

summary
The Legacy API mode was the API mode compatible with vue-i18n v8 for Vue 2. When vue-i18n v9 was released, the Legacy API was provided to smooth the migration from v8 to v9.
Legacy API mode will be deprecated in vue-i18n v11, as previous vue-i18n releases have already provided the following to support migration to Composition API mode

Migration from Legacy API mode to Composition API mode: https://vue-i18n.intlify.dev/guide/migration/vue3.html
Composition API usage: https://vue-i18n.intlify.dev/guide/advanced/composition.html

For compatibility, Legacy API mode still works in vue-i18n v11, but will be removed entirely in vue-i18n v12, so Legacy API mode will not work after that version.
benefits

more simple: we will no longer need to worry about the Legacy API mode and Composition API mode. simplify API docs.
less codes: reduce vue-i18n dist codes, making it easier to maintain of vue-i18n.
easier to improve other issues:

https://github.com/intlify/vue-i18n/issues/1003
https://github.com/intlify/vue-i18n/issues/920
https://github.com/intlify/vue-i18n/issues/630
https://github.com/intlify/vue-i18n/issues/994
https://github.com/intlify/vue-i18n/issues/1025
https://github.com/intlify/vue-i18n/issues/1116
https://github.com/intlify/vue-i18n/issues/1195
https://github.com/intlify/vue-i18n/issues/1347
https://github.com/intlify/vue-i18n/issues/1349
https://github.com/intlify/vue-i18n/issues/1367
https://github.com/intlify/vue-i18n/issues/1403
https://github.com/intlify/vue-i18n/issues/1425
https://github.com/intlify/vue-i18n/issues/1574
https://github.com/intlify/vue-i18n/issues/1749

misc

The vue-i18n documentation will be renewed besed on Composition API in vue-i18n v12.
internal API will be removed, such as VueI18nExtender (use case Nuxt I18n)

deprecated APIs & Types

Legacy API: https://vue-i18n.intlify.dev/api/legacy.html
legacy options on createI18n: https://vue-i18n.intlify.dev/api/general.html#legacy
I18nMode: https://vue-i18n.intlify.dev/api/general.html#i18nmode

Looks good to me!
Any changes in particular you would like me to look at? If you have changes to documentation in mind I can try and pick those up too.


Error after Deploying Mocks

Hello,
everything did work perfectly fine before I putted in the MockV3Aggregator.
I exactly followed every step from Patrick, netherless when I do brownie run scripts/deploy.py I get this error:

Something I noticed is, that the Terminal also shows this  3 source Problems:

The 2 source Problem in FundMe.sol didn't gave me trouble, everything worked, after MockV3Aggregator came, I had trouble.
Here is the deploy.py, just wanted to provide it, if it helps:

I would be really thankful for help.

Hmm... thanks for this issue. What does your config look like?

Brownie v1.16.4 - Python development framework for Ethereum
New compatible solc version available: 0.6.0
Compiling contracts...
Solc version: 0.6.0
Optimizer: Enabled  Runs: 200
EVM Version: Istanbul
CompilerError: solc returned the following errors:
/home/rackham/.brownie/packages/smartcontractkit/chainlink-brownie-contracts@1.1.1/contracts/src/v0.6/interfaces/AggregatorV2V3Interface.sol:7:38: TypeError: Interfaces cannot inherit.
interface AggregatorV2V3Interface is AggregatorInterface, AggregatorV3Interface
^-----------------^
/home/rackham/.brownie/packages/smartcontractkit/chainlink-brownie-contracts@1.1.1/contracts/src/v0.6/interfaces/AggregatorV2V3Interface.sol:7:59: TypeError: Interfaces cannot inherit.
interface AggregatorV2V3Interface is AggregatorInterface, AggregatorV3Interface
I am getting this after brownie compile

My issue is resolve by changing pragma solidity >=0.6.0 in mockAggregatorV3Interface

Awesome! Thanks for following up.

I had this issue as well. To clarify, interface inheritance was added after 0.6.0. If you get this error and notice brownie is compiling using a solc version <=0.6.0, then add this line to your brownie-config.yaml to force the more recent compiler

compiler:
solc:
version: 0.6.6

I made the above changes pragma solidity >=0.6.0; to FundMe, MockV3Aggregator and SafeMathChainlink, and now I get this error.
Warning: Visibility for constructor is ignored. If you want the contract to be non-deployable, making it "abstract" is sufficient.
--> contracts/FundMe.sol:15:5:
|
15 |     constructor() public {
|     ^ (Relevant source part starts here and spans across multiple lines).
TypeError: "send" and "transfer" are only available for objects of type "address payable", not "address".
--> contracts/FundMe.sol:61:9:
|
61 |         msg.sender.transfer(address(this).balance);


Show dialog when user tries to unpreserve a route preserved by an admin

@incognitojam do we want this still? if not we can close

Yes, this is definitely a problem.


[shared_preferences] built error in web mode

Flutter 3.3.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b8f7f1f986 (3 months ago) • 2022-11-23 06:43:51 +0900
Engine • revision 8f2221fbef
Tools • Dart 2.18.5 • DevTools 2.15.0
Launching lib/main.dart on Chrome in debug mode...
main.dart:1
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

 - package:shared_preferences_web
 - package:shared_preferences_platform_interface

For solutions, see https://dart.dev/go/unsound-null-safety

Unhandled exception:
Bad state: Unsupported Null Safety mode NonNullableByDefaultCompiledMode.Invalid, in null.
#0      ProgramCompiler.emitModule (package:dev_compiler/src/kernel/compiler.dart:484:9)
#1      JavaScriptBundler.compile (package:frontend_server/src/javascript_bundle.dart:153:33)
#2      FrontendCompiler.writeJavascriptBundle (package:frontend_server/frontend_server.dart:705:47)
<asynchronous suspension>
#3      FrontendCompiler.compile (package:frontend_server/frontend_server.dart:612:9)
<asynchronous suspension>
#4      listenAndCompile.<anonymous closure> (package:frontend_server/frontend_server.dart:1210:11)
<asynchronous suspension>

the Dart compiler exited unexpectedly.
Failed to compile application.
Exited

All of the component packages of shared_preferences have supported null safety since the app-facing package has. You need to run flutter pub upgrade, since you are running versions that are more than two years old.


Add TOKEN_2022_PROGRAM_ID as a parameter in into swap.py as TOKEN_PROGRAM_ID is hardcoded

I want to swap Orca pool tokens, which are owned by TOKEN_2022_PROGRAM_ID (TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb).
swap.py in instructions folder has TOKEN_PROGRAM_ID hardcoded.

@everlastingsong @yugure-orca can you add ECLIPSE support also for this package?

@0xtakamaka
Hi, sorry for the late reply.
Now I don't have much bandwidth to update whirlpool-essentials, but noticed several users use it (I'm happy to hear it).
Updating whirlpool-essentials is one of what  always at the top of my mind.


Feature Proposal: Constant variables.

This code:
x = 5 -- constant

function draw_stuff()
    print("constant variable: " .. x)
    rectfill(x, x, x + 10, x + 10, 12)
end

would get replaced with:
function draw_stuff()
    print("constant variable: " .. 5)
    rectfill(5, 5, 5 + 10, 5 + 10, 12)
end

or even:
function draw_stuff()
    print("constant varaible: 5")
    rectfill(5, 5, 15, 15, 12)
end

The above example could be a really nice feature for big games (which I guess shrinko8 is made for).

I did start adding this feature before, but never finished - I'm seeing if I can finish it now.

I've finished this, please give this a try and let me know if you spot any issues.
Note that your example won't work as-is, you'll need to either declare x with a "--[[const]]" hint (recommended) or change it to be a local - globals are currently never treated as constants as it's tricky to determine whether they're ever used before they're assigned.
E.g:
--[[const]] x = 5

function draw_stuff()
    print("constant variable: " .. x)
    rectfill(x, x, x + 10, x + 10, 12)
end

You can try it in the webapp, or via python

Nice! Thanks for the quick update!
It works as I hoped, and from my VERY short mobile testing, I haven't found any problems!
Good work!


⚠ 한경주요지수-코스피200 has degraded performance

In aeeea6e, 한경주요지수-코스피200 (https://markets.hankyung.com/indices/kospi200) experienced degraded performance:

HTTP code: 200
Response time: 28123 ms

Resolved: 신규상장 performance has improved in 4c4be12.


SCM_DISABLE_SUBMODULES not being honoured.

I've got a .deployment file as below
[config]
SCM_DISABLE_SUBMODULES=1
command = deploy.cmd
My project has a submodule in a private repository which causes the build to fail when Kudu tries to pull it even though I have the SCM_DISABLE_SUBMODULES set so that it should ignore submodules.
I have also tried setting this in AppSettings in the Azure portal, again to no effect.

Strange. Does the build output actually contain the string Updating submodules? Can you share the relevant output?

Just tried it now. The first item in the Deployment is Updating Submodules, relevant output is below:
Warning: Permanently added ',' (RSA) to the list of known hosts.\r\nPermission denied (publickey).\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\nClone of 'ssh://git@' into submodule path '' failed\n\r\nD:\Program Files (x86)\Git\bin\git.exe submodule update --init --recursive

Can you share your site name, either directly or indirectly? This will help us investigate. Thanks!

Dummy is dummy69.azurewebsites.net. The issue has been encountered on all sites with the cms- prefix, in that plan and also in other regions and plans within that same subscription.

Indeed, I see this. I'll try to get my own repro and debug it later today.

As actually, this setting is not expected to work when used from .deployment. This is due to how things are ordered in the pipeline. Kudu first does everything it needs to get the repo/submodule, and only after that does it consume .deployment (it can't consume it till it has it).
However, I just tested it using a portal App Setting, and it works fine. Maybe you had a typo when you tried? It needs to be SCM_DISABLE_SUBMODULES, set to 1 (no quotes).

I've just tried and it worked a treat, I must've had a typo before. I take it the same principle holds true for SCM_USE_SHALLOW_CLONE as well, another one I've tried to use in the past without success?
It's not obvious in the docs that these need to be in AppSettings.

I have added a note to https://github.com/projectkudu/kudu/wiki/Configurable-settings for both settings.


Robert Longson: Watch danhbainhacai.com

Robert Longson requests the watch of the watch_keyword danhbainhacai\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

danhbainhacai\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Cody Gray in Charcoal HQ


Registration token does not exist

Just installed Authelia, but I'm running into an issue. When accessing the protected resource I'm being redirected to Authelia and am presented with the first factor screen. I enter my (LDAP) credentials, which are accepted, and I'm redirected to the second factor screen. Here I click the register button to generate the URL which should display the image, but I'm presented with an Authelia "You are not authorized to access this resource." screen. Here's the logging:
Starting the "Google Authenticator" registration:
Mar 20 21:34:55 SERVER-AUTH authelia[5632]: info: date='Tue Mar 20 2018 21:34:55 GMT+0100 (CET)' method='GET', path='/secondfactor/totp/identity/start' requestId='ff7b635e-315c-4ede-b063-90b23d87c2b1' sessionId='Cx9r3SeikfTRsduXVtZbfg5TH7JDRiNI' ip='<IP_ADDRESS>, <IP_ADDRESS>' message='Start identity validation of user "MyUserName"'
Mar 20 21:34:55 SERVER-AUTH authelia[5632]: info: date='Tue Mar 20 2018 21:34:55 GMT+0100 (CET)' method='GET', path='/secondfactor/totp/identity/start' requestId='ff7b635e-315c-4ede-b063-90b23d87c2b1' sessionId='Cx9r3SeikfTRsduXVtZbfg5TH7JDRiNI' ip='<IP_ADDRESS>, <IP_ADDRESS>' message='Notification sent to user "MyUserName"'
Mar 20 21:35:21 SERVER-AUTH authelia[5632]: debug: date='Tue Mar 20 2018 21:35:21 GMT+0100 (CET)' method='GET', path='/secondfactor/totp/identity/finish' requestId='07a35cce-e61a-4881-ab84-487266e934fc' sessionId='Cx9r3SeikfTRsduXVtZbfg5TH7JDRiNI' ip='<IP_ADDRESS>, <IP_ADDRESS>' message='Headers = {"host":"login.mydomain.com","x-real-ip":"<IP_ADDRESS>","x-forwarded-for":"<IP_ADDRESS>, <IP_ADDRESS>","x-forwarded-proto":"https","connection":"upgrade","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17120","accept-language":"en-US,en;q=0.5","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","upgrade-insecure-requests":"1","accept-encoding":"gzip, deflate, br","dnt":"1","cookie":"connect.sid=s%3ACx9r3SeikfTRsduXVtZbfg5TH7JDRiNI.TztIT21lNk92dz84f5xTQnyg%2FDTsIeS1V0RgSwPK43Y"}'

Opening the generated URL:
Mar 20 21:35:21 SERVER-AUTH authelia[5632]: debug: date='Tue Mar 20 2018 21:35:21 GMT+0100 (CET)' method='GET', path='/secondfactor/totp/identity/finish' requestId='07a35cce-e61a-4881-ab84-487266e934fc' sessionId='Cx9r3SeikfTRsduXVtZbfg5TH7JDRiNI' ip='<IP_ADDRESS>, <IP_ADDRESS>' message='Identity token provided is 85UADmytokenstringEN7LQ'
Mar 20 21:35:21 SERVER-AUTH authelia[5632]: error: date='Tue Mar 20 2018 21:35:21 GMT+0100 (CET)' method='GET', path='/secondfactor/totp/identity/finish' requestId='07a35cce-e61a-4881-ab84-487266e934fc' sessionId='Cx9r3SeikfTRsduXVtZbfg5TH7JDRiNI' ip='<IP_ADDRESS>, <IP_ADDRESS>' message='Redirect to error 401: Registration token does not exist'

The provided identity token is present in the MongoDB:
> use authelia
switched to db authelia
> db.identity_validation_tokens.find()
{ "_id" : ObjectId("5ab1706f0b585c16001e335d"), "userId" : "MyUserName", "token" : "85UADmytokenstringEN7LQAz9ihP9DZE", "challenge" : "totp-register", "maxDate" : ISODate("2018-03-20T20:38:55.608Z") }

What am I missing here?

Human error: generated URL was cut-off

Hello @MischaBoender , I'm glad you found the issue. Out of curiosity, how are you installing it? with Docker or npm?

With NPM, so I'm getting the URL from the txt file. Problem was that my SSH console put what looked like a space somewhere near the end of the token id, so I copied only the part before that and missed a few chars.


[Godot4] Can't new Custom Node in Thread

Godot version
v4.0.dev.20220105.official [8f6cba3a4]
System information
Window10
Issue description
Coding like this, it work fine.

Coding like this, the thread frozen.

My Custom Chunk Node coding:

Steps to reproduce
Please run my reproduction project
Minimal reproduction project
ThreadNewTest.zip
No response

Sorry, maybe it was relative https://github.com/godotengine/godot/pull/56593

Cannot reproduce with current master, it was probably fixed along the way.


Wontbuild - Moving the install into the script

@basvodde - for your inspection.

'Fraid it does build now. Closing.

Changes Unknown when pulling e66e376e88d92e8492d4a77ec70a7ae9d0d4099f on arstrube:wontbuild into ** on cpputest:master**.


Badge for ExpressJS updated

Issue that this pull request solves
This is a small tweak to the readme.md. I am under DWOC
Proposed changes
Brief description of what is fixed or changed
Added logo for expressJS in tech stack
Types of changes
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes does not break the current system and it passes all the current test cases.

Screenshots
Please attach the screenshots of the changes made in case of change in user interface
Updated badge for ExpressJS

Other information
Any other information that is important to this pull request

Hey @LeeRenJie can we please use some different background color as the express logo isn't clear currently

Hey @LeeRenJie can we please use some different background color as the express logo isn't clear currently

Sure, I'll do a quick fix.

Hey @LeeRenJie can we please use some different background color as the express logo isn't clear currently


On New() would like to have a client even if the preflight check fails

Right now, a call to New() with no statsd server on the local machine will have all my code fail, as I'd get no *Client anywhere.
Would it be possible to simply return a Client that is ready, but with an additional error so the caller can decide if he wants to go forth with a potentially unresponsive statsd backend.
With the current state of affairs, my process is absolutely dependent on the statsd server being present.  Very annoying for tests also, as I want to have a global var stats = *statsd.Client and use it throughout my code.

You can do something like:
if err != nil {
	stats = statsd.New(statsd.Mute(true))
}

Is it what you need? New could also return a muted client when there is an error. But I am currently on holidays and won't be able to add this feature before March. So feel free to send a PR.

Thanks. New() now returns a muted client if there is an error.


Build fails when injecting CCUD plugin into existing DV project using develocity.buildCache

If a project is already connected to Develocity (without CCUD plugin applied), and that project is configured to use develocity.buildCache, the applying the init-script with a CCUD version specified will fail the build.
For example given this settings.gradle.kts:
plugins {
    id("com.gradle.develocity").version("3.18.2")
}

develocity {
    buildScan {
        uploadInBackground = false
        termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use"
        termsOfUseAgree = "yes"
    }
}

buildCache {
    remote(develocity.buildCache)
}

rootProject.name = "inject-ccud"

The build fails with this exception (scan):
* What went wrong:
Failed to apply plugin class 'com.gradle.CommonCustomUserDataGradlePlugin'.
> com.gradle.develocity.agent.gradle.internal.a.b_Decorated cannot be cast to com.gradle.develocity.agent.gradle.buildcache.DevelocityBuildCache

Applying the CCUD plugin directly to the project does not cause this failure.
Reproducer: https://github.com/bigdaz/develocity-ci-injection-issue-19

I suspect that this will need to be fixed in the CCUD plugin, even though the issue only arises due to the way we are loading the plugin via the init-script.


Missing schema entry for per_nottype

The bcf:map schema does not contain a per_nottype element, but it's documented and accounted for in the interpreter.

Thanks - fixed in the DEV branch.


Immediate update in interactive learning

Rasa Core version:
0.12.x
Python version:
3.6.5
Operating system (windows, osx, ...):
OSX
Issue:
Hello all, I am new to Rasa core and it is an interesting project. Currently I encountered a problem (or confusion) when I tried to use Interactive learning.
When I gave the feedback on the errors in interactive mode, next time when I ask the same question, it will still give the wrong answer. In fact, the score of correct intent/action does not even have a big change.
My question is, does the model update on-the-fly in interactive learning mode or I have to export the stories and retrain to get an updated model?
Content of domain file (if used & relevant):

Try using the --finetune flag. Though eventually after you've exported your stories when you've finished interactive learning you'll have to retrain your model on them.
In future, please ask these kind of questions in our forum

The problem is I asked this question on the forum first. But no one replies me....

Try using the --finetune flag. Though eventually after you've exported your stories when you've finished interactive learning you'll have to retrain your model on them.
In future, please ask these kind of questions in our forum

The problem is I asked this question on the forum first. But no one replies me....

Try using the --finetune flag. Though eventually after you've exported your stories when you've finished interactive learning you'll have to retrain your model on them.
In future, please ask these kind of questions in our forum

So could you please answer my another question in the forum linked above? Thank you very much for your help!


Harness: Add orgB and projectB

Adding TF files for orgB and projectB

✅ Terraform plan complete!
Planned Changes
10 Added ~ 0 Changed ~ 0 Deleted ~ 0 Unchanged

Change
Provider
Type
Name
Module
Changes

added
registry.terraform.io/harness/harness
harness_platform_organization
organization[0]
module.organization_orgb
5

added
registry.terraform.io/hashicorp/time
time_sleep
organization_setup[0]
module.organization_orgb
4

added
registry.terraform.io/harness/harness
harness_platform_organization
organization[0]
module.organization_orgc
5

added
registry.terraform.io/hashicorp/time
time_sleep
organization_setup[0]
module.organization_orgc
4

added
registry.terraform.io/harness/harness
harness_platform_project
project[0]
module.project_projectB
8

added
registry.terraform.io/hashicorp/random
random_id
color_picker[0]
module.project_projectB
8

added
registry.terraform.io/hashicorp/time
time_sleep
project_setup[0]
module.project_projectB
4

added
registry.terraform.io/harness/harness
harness_platform_project
project[0]
module.project_projectC
8

added
registry.terraform.io/hashicorp/random
random_id
color_picker[0]
module.project_projectC
8

added
registry.terraform.io/hashicorp/time
time_sleep
project_setup[0]
module.project_projectC
4

Outputs
No outputs present
View details in Harness

✅ Terraform plan complete!
Planned Changes
5 Added ~ 0 Changed ~ 0 Deleted ~ 5 Unchanged

Change
Provider
Type
Name
Module
Changes

added
registry.terraform.io/harness/harness
harness_platform_organization
organization[0]
module.organization_orgb
5

added
registry.terraform.io/hashicorp/time
time_sleep
organization_setup[0]
module.organization_orgb
4

-
registry.terraform.io/harness/harness
harness_platform_organization
organization[0]
module.organization_orgc
0

-
registry.terraform.io/hashicorp/time
time_sleep
organization_setup[0]
module.organization_orgc
0

added
registry.terraform.io/harness/harness
harness_platform_project
project[0]
module.project_projectB
8

added
registry.terraform.io/hashicorp/random
random_id
color_picker[0]
module.project_projectB
8

added
registry.terraform.io/hashicorp/time
time_sleep
project_setup[0]
module.project_projectB
4

-
registry.terraform.io/harness/harness
harness_platform_project
project[0]
module.project_projectC
0

-
registry.terraform.io/hashicorp/random
random_id
color_picker[0]
module.project_projectC
0

-
registry.terraform.io/hashicorp/time
time_sleep
project_setup[0]
module.project_projectC
0

Outputs
No outputs present
View details in Harness


User name not coming along in log

There is a User field in the app logs but it is always null.  Since it is there we might as well fill it in.

fixed in #1066


Prefixes Not Working

Description

So I am using version 1.17 and I made a new group with a prefix. The prefix itself is showing when I type /lp user [username] info but it isn't showing up when I type in chat. I have both the essentials and vault plugins and made sure that the format was correct. Does anyone know something I can try?

If it shows correctly in /lp user [username] info, then contact your chat plugin support.

Okay yeah makes sense. Lucky perms seems to be doing its job it's probably on vault or essentials side.


Optional (out) var parameters are not supported

Simplest example is
https://developer.gnome.org/glib/stable/glib-GVariant.html#g-variant-get-string
const gchar * g_variant_get_string (GVariant *value, gsize *length);
In C we can pass NULL for gsize if we are not interested in actual length. In Nim that parameter is a var parameter, and var parameters are never optional. Well for this case we can just create an overloaded proc without that parameter. It is not easy for the automatically created bindings, but at least we can do it manually.
But then there are functions like
https://developer.gnome.org/gtk3/stable/GtkScale.html#gtk-scale-get-layout-offsets
void gtk_scale_get_layout_offsets (GtkScale *scale, gint *x, gint *y);
x, y are both optional out parameters, in C we can pass NULL when we are not interested in one. In Nim both are var parameters.
Well, GTK has not that many functions with optional out parameters, only about 700, and most of them are not used that often. But still some support of optional var parameters would be nice.
For tuple results we have the underscore for optional results, so we could try to rewrite above proc as
proc getLayoutOffsets*(scale: Scale): (x, y: int) =
gtk_scale_get_layout_offsets(scale, result.x, result.y)
and may call it as
var y: int
(_, y) = getLayoutOffset(myscale)
Again, doing that conversion for tuple results is not really easy, but maybe possible.
Or may we support underscore for optional var parameters? Call proc like
var y: int
getLayoutOffsets(myscale, _, y)
We would need in the proc body a way to check if a parameter is _, which means we have to ignore it and pass NULL to C lib for it.

You can use nil as default value to var type parameters.
template ignore(t: typed): untyped = cast[ptr t](nil)[]

proc foo(x: var int = ignore(int)) =
  if x.addr != nil:
    echo x
    x = 7
  else:
    echo "Ignore parameter"

foo()
var a: int
foo(a)
echo a

That is an interesting idea. Unfortunately the real problem are the C lib functions with more than one optional out parameter, https://developer.gnome.org/gtk3/stable/GtkScale.html#gtk-scale-get-layout-offsets is one example but there are many more with up to 6 optional out parameters, 700 functions total. Can you give an example code for gtk-scale-get-layout-offsets() ? (The problem is for more than one, which one the user wants, and which one he wants to ignore. Passing NULL in C makes it clear.)

We will have support for this in v0.8.4, try nimble install gintro@#head
https://forum.nim-lang.org/t/7117


Free fen, Free moves

Hi.
is it possible to load fen like 8/1n1p3p/8/8/6B1/8/2r5/8 w - - 0 1 ? as you can see there is no king on the board, just some pieces.
it is useful in chess games, so does Chess.js supports this kinda fen ?
if yes, then can i use chess.move({"from": "g4", "to": "f5"}) for example ?
it returns null.

There is a load function that allows you to setup the board and skip the validation (by setting skipValidation = true) which will allow you to use it without doing the FEN validation such as checking number of kings on the board:
load(fen: string, { skipValidation = false, preserveHeaders = false } = {})

That would work..
Much appreciated 👍


Master development merge

Codecov Report
Base: 78.30% // Head: 78.36% // Increases project coverage by +0.06% :tada:

Coverage data is based on head (af74047) compared to base (1d498aa).
Patch has no changes to coverable lines.

:exclamation: Current head af74047 differs from pull request most recent head 923f38c. Consider uploading reports for the commit 923f38c to get more accurate results

Additional details and impacted files
@@               Coverage Diff               @@
##           development     #621      +/-   ##
===============================================
+ Coverage        78.30%   78.36%   +0.06%
===============================================
  Files               73       73
  Lines             3250     3250
===============================================
+ Hits              2545     2547       +2
+ Misses             705      703       -2

Impacted Files
Coverage Δ

jumpscale/clients/docker/docker.py
78.18% <0.00%> (+3.63%)
:arrow_up:

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.


ReferenceError: window is not defined

@anlexN are you using ECMASCRIPT_2017 as the output mode?

no. it is es2015

Most users should stick to language_out = ES5 for now. Otherwise you're missing out on many optimizations, and typechecking.

(But we should still fix this crash)

FYI we've pushed 20170910.0.1, which includes a fix for this issue. PTAL and let us know if it's fixed.

could you please showcase es2015+ feature supported by closure-compiler-js?

What kind of showcasing do you have in mind? https://github.com/google/closure-compiler/wiki/ECMAScript6 discusses what we support (though it may be somewhat out of date, I think it's pretty close to accurate)


regularizer.reset(): AttributeError: 'bool' object has no attribute 'reset'

I set regularizer=True in plot_SFNO_swe.py
trainer.train(train_loader=train_loader,
              test_loaders=test_loaders,
              optimizer=optimizer,
              scheduler=scheduler,
              regularizer=True,
              training_loss=train_loss,
              eval_losses=eval_losses)
...

Traceback (most recent call last):
  File "/Users/davidlaxer/neuraloperator/examples/plot_SFNO_swe.py", line 154, in <module>
    trainer.train(train_loader=train_loader,
  File "/Users/davidlaxer/neuraloperator/neuralop/training/trainer.py", line 180, in train
    regularizer.reset()
AttributeError: 'bool' object has no attribute 'reset'

regularizer should be a PyTorch regualizer object


Smart escape feature request

I'm switching to using the warp from the xmouseless+keynav bundle. I want the program to close after simulating a click when running "warp --hint" (but once "warpd --normal"). I don't know how to configure it.
ps
Sometimes I need to double-click a word, hold the button and move the cursor over several words to quickly highlight them. Drag mode is not suitable for such tasks of working with text. Xmouseless worked without modes, and you could just hold the click simulation button and release it when needed.

If you're in the browser I'd recommend tridactyl for a vastly expanded toolkit.


Update Data Mapper to use project-based DSL mapping and routing

Currently in test together with other component rewrites (DM #18-#21, Resql #22 & #27, Ruuter #237)


Update milestone_project_tic-tac-toe.md

not clear where some of these functions go without a completed source file. Could you provide more context?

a reference implementation has been added so Im closing this


testing: atomic variable offsets static analysis tool

Every few months etcd breaks on 32 bit systems due to atomic alignments, see #4734 and #4733. We need a static analysis tool to check for unaligned atomics that is part of our test runs.
cc @luxas

This is necessary for us to drop the unsupported flag: https://github.com/coreos/etcd/pull/4749

@philips I agree with you. To drop the flag, we need to be confident with arm. We need to have this tool and make sure other dependencies work well with arm/32bit (for example boltdb). We need to have doc around how to build and what are the limitations.
@luxas It would be great if you can help with arm part. Thanks!

Here's my initial plan.

Scan package for uses of atomic.X(&f.bar) calls using go/types.
Determine type of first argument. If it's not a struct field stop analysis.
For each struct field, generate a program that checks the offset (will do something tricky source rewrites so it will work for un-exported fields).
Run program. Report results.

Example generated program.
package main
// imports
func main() {
    var f foo
    if invalidOffset(unsafe.Offsetof(f.bar)) {
        fmt.Fprintln(os.Stderr, "invalid offset of field foo.bar")
        os.Exit(2)
    }
}

@ericchiang Sounds good. We should make sure though that we make it generic, so k8s for example may use it. There haven't been known issues with atomic alignment in k8s, but it's a huge project, so probably somewhere something is wrong.
@xiang90 @philips  I may send a PR that compiles etcd for experimental arches (arm, arm64 and ppc64le) for testing. As a first step, we have to make sure etcd always compiles, so travis should catch that. Is a simple test-compilation bash script enough when added to travis.yaml or should I put this in test? (That would slow down normal tests though)
WDYT?
Also, when will a v2.3.2 be released with #5028?

@ericchiang and I chatted yesterday about doing static anlaysis for this. Detecting alignment problems is a lot more difficult than his initial proposal. Some examples:
Interfaces:
func (i *consistentIndex) ConsistentIndex() uint64 {
        return atomic.LoadUint64((*uint64)(i))
}

slices:
type A struct {
x int64
y int32
}
s := make([]A, 2)
a := &s[1]
atomic.LoadInt64(a.x)

Repeating my question: When will v2.3.2 be released with #5028?
It's really important to release a verison with that change
@xiang90 @philips @gyuho @heyitsanthony @glevand

@xiang90 @philips Can we close this? I feel this is a dead end.

@heyitsanthony I think we should just close this. People start to run tests + CI to ensure etcd is good on a platform. Here is the doc for that: https://github.com/coreos/etcd/blob/master/Documentation/op-guide/supported-platform.md
Static analysis could be beneficial, but it does seem that no one will work on that just for etcd.


Pass toast object as a parameter into onHideCallback

How about passing the toast object into onHideCallback in order to access the toast data inside callback function.
This would be helpful in cases in which multiple toasters are open and the user want to execute a function only in one of them based on its data.

Added in version 2.2.0.


Update landscape.yml

Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[x] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[x] Have you picked the single best (existing) category for your project?
[x] Does it follow the other guidelines from the new entries section?
[x] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[x] ~15 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

LGTM

@ErinThacker can you include a subject next time besides "Update landscape.yml" that indicates what is going on... new members, new KCSPs etc


Setting environment variables for capture_screenshots?

Is it possible to set environment variables for capture_screenshots?
I've tried the following which did not work:
...
lane :release do
    ENV["env"] = "production"
    ENV['ENVFILE'] = '.env.production'
    capture_screenshots
...

fastlane env:
<details><summary>✅ fastlane environment ✅</summary>

### Stack

| Key                         | Value                                       |
| --------------------------- | ------------------------------------------- |
| OS                          | 10.15.1                                     |
| Ruby                        | 2.4.0                                       |
| Bundler?                    | false                                       |
| Git                         | git version 2.21.0 (Apple Git-122.2)        |
| Installation Source         | ~/.rbenv/versions/2.4.0/bin/fastlane        |
| Host                        | Mac OS X 10.15.1 (19B88)                    |
| Ruby Lib Dir                | ~/.rbenv/versions/2.4.0/lib                 |
| OpenSSL Version             | OpenSSL 1.0.2n  7 Dec 2017                  |
| Is contained                | false                                       |
| Is homebrew                 | false                                       |
| Is installed via Fabric.app | false                                       |
| Xcode Path                  | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version               | 11.2.1                                      |

### System Locale

| Variable | Value       |   |
| -------- | ----------- | - |
| LANG     | en_GB.UTF-8 | ✅ |
| LC_ALL   | en_GB.UTF-8 | ✅ |
| LANGUAGE |             |   |

### fastlane files:

<details><summary>`./fastlane/Fastfile`</summary>

```ruby
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.28.3"

default_platform :ios

platform :ios do
  before_all do
    #cocoapods
  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    ENV["ENV"] = "beta"
    ENV["APP_ENV"] = "beta"
    ENV["NODE_ENV"] = "beta"
    ENV['ENVFILE'] = '.env.beta'

    #get_certificates           # invokes cert
    #get_provisioning_profile   # invokes sigh
    #build_app

    xcode_select '/Applications/Xcode.app'

    # match(type: "appstore") # more information: https://codesigning.guide

    increment_build_number(xcodeproj: './ios/novus.xcodeproj')

    #gym # Build your app - more options available
    gym(scheme: 'novus', workspace: './ios/novus.xcworkspace', export_xcargs: "-allowProvisioningUpdates")
    #gym(scheme: 'novus', project: './ios/novus.xcodeproj')
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    ENV["env"] = "production"
    ENV['ENVFILE'] = '.env.production'

    # match(type: "appstore")
    # snapshot
    #gym # Build your app - more options available
    # gym(scheme: 'novus', project: './ios/novus.xcodeproj')
    # deliver(force: true)
    # frameit

    capture_screenshots                  # generate new screenshots for the App Store
    # sync_code_signing(type: "appstore")  # see code signing guide for more information
    # build_app(scheme: "MyApp")
    # upload_to_app_store                  # upload your app to App Store Connect
    # slack(message: "Successfully uploaded a new App Store build")

    # build_app(scheme: "MyApp",
    #         workspace: "Example.xcworkspace",
    #         include_bitcode: true)
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

platform :android do

  desc "Submit a new Beta Build"
  lane :beta do
    increment_version_code(
        gradle_file_path: "project/build.gradle",
        #ext_constant_name: "test"
        #app_folder_name:"app"
    )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`

json_key_file "./android/api-8722831967664452581-915374-888b18ff251a.json"

app_identifier "com.heroteam.novus" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

package_name "com.heroteam.novus"

#team_id "heroteam" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.140.0
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-increment_version_code
0.4.3
✅ Up-To-Date

Loaded gems

Gem
Version

did_you_mean
1.1.0

atomos
0.1.3

CFPropertyList
3.0.2

claide
1.0.3

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.13.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

terminal-table
1.8.0

plist
3.5.0

multipart-post
2.0.0

word_wrap
1.0.0

public_suffix
2.0.5

tty-screen
0.7.0

tty-cursor
0.7.0

tty-spinner
0.9.2

babosa
1.0.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.71.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday
0.17.1

faraday_middleware
0.13.1

fastimage
2.1.7

gh_inspector
1.1.3

mini_magick
4.9.5

multi_xml
0.6.0

rubyzip
1.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

naturally
2.2.0

simctl
1.6.6

jwt
2.1.0

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

signet
0.12.0

memoist
0.16.2

os
1.0.1

googleauth
0.9.0

httpclient
2.8.3

google-api-client
0.36.4

google-cloud-env
1.3.0

google-cloud-core
1.4.1

digest-crc
0.4.1

google-cloud-storage
1.16.0

emoji_regex
1.0.1

openssl
2.0.2

json
2.3.0

io-console
0.4.6

mini_portile2
2.1.0

nokogiri
1.7.2

bundler
2.1.0.pre.3

unicode-display_width
1.6.0

dotenv
2.7.5

addressable
2.7.0

multi_json
1.14.1

psych
2.2.2

fastlane-plugin-increment_version_code
0.4.3

generated on: 2020-01-09

```
Thanks.

Where should these env vars be available?

Thanks for coming back, but I'm no longer using Fastlane's screenshot due to switching to Detox testing which allows me to make cross platform screenshots.


Inventorysharing

Hello some people from my guild were shocked when they read in the privacy tabthat the inventory will be shared. This is how I see it, but only the equipped items are shared. Wouldn't it be better to call it equipslots instead of inventory. Or add a description to the privacysettings

Good point, i will change the text.


Use cluster metadata as dimension of stats

Title: Use cluster metadata as dimension of stats
Description:
As this issue mentioned , from the doc, we see

The Metadata field can be used to provide additional information about the cluster. It can be used for stats, logging, and varying filter behavior.

So we expect that we could set some stats dimension from cluster metadata for upstream metric, we tried below config
clusters:
- name: service_foo
  connect_timeout: 0.25s
  type: STRICT_DNS
  lb_policy: ROUND_ROBIN
  metadata:
    filter_metadata:
      envoy.lb:
        tag1: tag1
        tag2: tag2
  load_assignment:
    cluster_name: service_foo
    endpoints:
    - lb_endpoints:
      - endpoint:
          address:
            socket_address:
              address: <IP_ADDRESS>
              port_value: 443

Take metric upstream_rq_active for example, the original stats name is cluster.ClusterName.upstream_rq_active, the expected stats name is cluster.ClusterName.tag1.tag2.upstream_rq_active. However we couldn't see some new dimensions added for the metric.
Please help point out how to configure the cluster metadata for stats. We are using envoy 1.26.1 version. Thanks

cc @jmarantz

Thanks @jmarantz for the response. Actually I'm not sure if it's using custom request header is a correct way to pass header x-envoy-upstream-alt-stat-name, please correct me if it's a wrong usage.
Also cc @alyssawilk in case you have any insights about it.


[BEAM-2212] Fix printing of file patterns in FileBasedSource

R: @tgroh

Thanks! Will self-merge once green.

Coverage remained the same at 70.574% when pulling a4875dc7e941ac598e02ae3ad410e16e320efecd on dhalperi:b2212-fbs-cleanup into 3f419dbb71d07c9716a38193e0ae17186bc16287 on apache:master.

Coverage increased (+0.01%) to 70.587% when pulling a4875dc7e941ac598e02ae3ad410e16e320efecd on dhalperi:b2212-fbs-cleanup into 3f419dbb71d07c9716a38193e0ae17186bc16287 on apache:master.


fix: fix run on arm64

Use k8s offical repo for image csi-node-driver-registrar, because it
provides muti-arch images for Arm64.
Remove CPU arch nodeSelector, Mayastor can run on arm64 now, not just
x86_64. See verfied result here:
https://linaro.atlassian.net/browse/STOR-104
Signed-off-by: Xinliang Liu<EMAIL_ADDRESS>close openebs/mayastor#1063
Verified with override values for arm images:
microk8s helm3 install mayastor . -f values-arm-override.yaml -n mayastor
cat >values-arm-override.yaml<<EOF
---
image:
  repo: xin3liang

etcd:
  image:
    repository: xin3liang/bitnami-etcd
    tag: 3.5.1-debian-10-r67
  replicaCount: 1
  volumePermissions:
    image:
      repository: xin3liang/bitnami-shell

loki-stack:
  enabled: false
EOF

OK, then we can close this PR currently, as no official Mayastor arm64 images and users are free to edit their local charts/yaml for other their own built images.

@xin3liang, here's another suggestion, why not add a helm variable that controls the nodeSelector? This way it should make it easier to control the chart via a variable during the install command.
(also the nodeSelector should also be applied to all other images and not just mayastor)

@xin3liang, here's another suggestion, why not add a helm variable that controls the nodeSelector? This way it should make it easier to control the chart via a variable during the install command. (also the nodeSelector should also be applied to all other images and not just mayastor)

Sounds a great idea!
And the user can use an custom nodeSelector  to choose which node run mayastor services via chart values override. If official support muli-arch images then we can remove nodeSelector  kubernetes.io/arch.
I will send a PR for this. Note that we can only apply such nodeSelector to Mayastor chart not the dependent charts.

@xin3liang, here's another suggestion, why not add a helm variable that controls the nodeSelector? This way it should make it easier to control the chart via a variable during the install command. (also the nodeSelector should also be applied to all other images and not just mayastor)

Sounds a great idea! And the user can use an custom nodeSelector to choose which node run mayastor services via chart values override. If official support muli-arch images then we can remove nodeSelector kubernetes.io/arch.
I will send a PR for this. Note that we can only apply such nodeSelector to Mayastor chart not the dependent charts.

Sorry Mayastor nodeSelctor can be applied to dependent charts as well.
Because almost all the dependent charts have a helm variable nodeSelector(with empty value). Users can override their own custom value for node selection purpose. It seems that having a helm variable nodeSelector is good practice for a chart.
See:
ubuntu@liuxl-focal:~/work/k8s/openebs/mayastor-extensions$ find chart/charts/ -name values.yaml |xargs grep nodeSelector -rn
chart/charts/etcd/values.yaml:384:nodeSelector: {}
chart/charts/jaeger-operator/values.yaml:61:nodeSelector: {}
chart/charts/loki-stack/charts/prometheus/charts/kube-state-metrics/values.yaml:110:nodeSelector: {}
chart/charts/loki-stack/charts/prometheus/values.yaml:179:  nodeSelector: {}
chart/charts/loki-stack/charts/prometheus/values.yaml:553:  nodeSelector: {}
chart/charts/loki-stack/charts/prometheus/values.yaml:867:  nodeSelector: {}
chart/charts/loki-stack/charts/prometheus/values.yaml:1204:  nodeSelector: {}
chart/charts/loki-stack/charts/promtail/values.yaml:107:nodeSelector: {}
chart/charts/loki-stack/charts/filebeat/values.yaml:47:  nodeSelector: {}
chart/charts/loki-stack/charts/filebeat/values.yaml:104:  nodeSelector: {}
chart/charts/loki-stack/charts/filebeat/values.yaml:238:nodeSelector: {}
chart/charts/loki-stack/charts/grafana/values.yaml:232:nodeSelector: {}
chart/charts/loki-stack/charts/loki/values.yaml:138:nodeSelector: {}
chart/charts/loki-stack/charts/fluent-bit/values.yaml:67:nodeSelector: {}
chart/charts/loki-stack/charts/logstash/values.yaml:248:nodeSelector: {}

I don't think we need it on the dependents, it's the dependent charts responsibility to ensure which archs they can run on, let's keep it simple to start with it.

I don't think we need it on the dependents, it's the dependent charts responsibility to ensure which archs they can run on, let's keep it simple to start with it.

Agree, that will be more simple.

Any way to reopen this PR? I will update this PR. I want to use this PR instead of creating a new one to keep comments.

Any way to reopen this PR? I will update this PR. I want to use this PR instead of creating a new one to keep comments.

@tiagolobocastro @Abhinandan-Purkait @GlennBullingham @muratkars Could you help me reopen this PR?

Because you force-pushed before reopening think you'll have to create a new PR @xin3liang

OK, created a new one: https://github.com/openebs/mayastor-extensions/pull/7


Include column names in test manifest (#922)

When a test involves a column, include the column name in the test's manifest representation.
When a test does not involve a column or the node is not a test, there will be no column_name field in the manifest at all.

@beckjake is this ready for a another look?

Yup!

This is already merged but github is confused about things, closing this PR.


Removed space in PYTHONPATH

It seems that a space slipped into the PYTHONPATH

Thanks!  LGTM
Merging with master


Load_model() does not work when architecture contains submodels merged into the main model

Hi!
Given is the following type of architecture:
submodels = []
        for kernel_size in [3,4,5]: #
            submodel = Sequential()
            submodel.add(Embedding(nb_words,
                                   embedding_dim,
                                   weights=embedding_m,
                                   input_length=max_len,
                                   trainable=False))
            submodel.add(Dropout(d1))
            submodel.add(Conv1D(nb_filters,
                                kernel_size,
                                padding='valid',
                                activation='relu',
                                strides=1))
            submodel.add(GlobalMaxPooling1D())
            submodels.append(submodel)
model = Sequential()
model.add(Merge(submodels, mode="concat"))
model.add(LSTM(lstm_units, return_sequences=False))
model.add(Dropout(d2))
model.add(Dense(num_labels, activation='softmax'))
model.compile(loss='categorical_crossentropy', optimizer='adam', metrics=[
            'categorical_accuracy', 'top_k_categorical_accuracy'])

When I try to re-load the saved .h5 model, I get the following error:

ValueError                                Traceback (most recent call last)
 in ()
----> 1 model = load_model('model.h5')
/Users/d069049/anaconda/envs/sapnlu/lib/python2.7/site-packages/keras/models.pyc in load_model(filepath, custom_objects)
241
242     # set weights
--> 243     topology.load_weights_from_hdf5_group(f['model_weights'], model.layers)
244
245     # instantiate optimizer
/Users/d069049/anaconda/envs/sapnlu/lib/python2.7/site-packages/keras/engine/topology.pyc in load_weights_from_hdf5_group(f, layers)
2941                          'containing ' + str(len(layer_names)) +
2942                          ' layers into a model with ' +
-> 2943                          str(len(filtered_layers)) + ' layers.')
2944
2945     # We batch weight value assignments in a single backend call
ValueError: You are trying to load a weight file containing 12 layers into a model with 3 layers.

Obviously, the compiled model variable stores 3 layers, whereas in reality the whole model comprises of 3x3 more, a total of 12.
Do you know a workaround to be able to save and load this type of merged models as well?

similar problem here..
any news?

I have the same problem, is there any workaround?

Please post a code example that other people can run to reproduce the issue (including model definition, saving, and loading).

Hi @fchollet
when i run this code:
from keras.models import Sequential, load_model
from keras.layers import Conv2D, MaxPooling2D, AveragePooling2D, LeakyReLU
from keras.layers import Dense, Dropout, Flatten, Activation
from keras.layers import Merge
alpha = 1/5.5
img_rows, img_cols = 33, 33
nb_conv1 = 5
print("bulid 2CNN model")
left_branch = Sequential()
left_branch.add(Conv2D(filters=64,
kernel_size=(nb_conv1, nb_conv1),
padding='valid',
data_format='channels_first',
input_shape=(1, img_rows, img_cols)))
left_branch.add(Activation('relu'))
left_branch.add(Conv2D(filters=128,
kernel_size=(3, 3),
padding='valid',
data_format='channels_first'))
left_branch.add(Activation('relu'))
left_branch.add(MaxPooling2D(pool_size=(2, 2),
data_format='channels_first'))
left_branch.add(Dropout(0.25))
right_branch = Sequential()
right_branch.add(Conv2D(filters=64,
kernel_size=(nb_conv1, nb_conv1),
padding='valid',
data_format='channels_first',
input_shape=(1, img_rows, img_cols)))
right_branch.add(Activation('relu'))
right_branch.add(Conv2D(filters=128,
kernel_size=(3, 3),
padding='valid',
data_format='channels_first'))
right_branch.add(Activation('relu'))
right_branch.add(MaxPooling2D(pool_size=(2, 2),
data_format='channels_first'))
right_branch.add(Dropout(0.25))
model = Sequential()
model.add(Merge([left_branch, right_branch], mode='concat', concat_axis=1))
model.add(Conv2D(filters=32,
kernel_size=(3, 3),
padding='valid',
data_format='channels_first'))
model.add(Activation('relu'))
model.add(AveragePooling2D(pool_size=(2, 2),
data_format='channels_first'))
model.add(Flatten())
model.add(Dropout(0.25))
model.add(Dense(512))
model.add(Activation('relu'))
model.add(Dropout(0.25))
model.add(Dense(128))
model.add(Activation('relu'))
model.add(Dropout(0.25))
model.add(Dense(32))
model.add(Activation('relu'))
model.add(Dropout(0.25))
model.add(Dense(1, activation='sigmoid'))
model.summary()
model.save('model.h5')
del model
model = load_model('model.h5')
i get:
C:\keras\keras\engine\topology.py:1242: UserWarning: The Merge layer is deprecated and will be removed after 08/2017. Use instead layers from keras.layers.merge, e.g. add, concatenate, etc.
return cls(**config)
Traceback (most recent call last):
File "I:/PycharmProjects/convert_old_to_new_API.py", line 69, in
model = load_model('model.h5')
File "C:\keras\keras\models.py", line 249, in load_model
topology.load_weights_from_hdf5_group(f['model_weights'], model.layers)
File "C:\keras\keras\engine\topology.py", line 2981, in load_weights_from_hdf5_group
str(len(filtered_layers)) + ' layers.')
ValueError: You are trying to load a weight file containing 9 layers into a model with 5 layers.
as i see it.. the function that build the model from .h5 with the weights in sequential case don't take in count the Merge function that holds 2 (or more ) sequential models in it
when trying to insert the weights
run with:
keras - 2.0.5
tf - 1.2.0
OS -  windows
Thanks

FYI, a minimal working example:
from keras.models import Sequential, load_model, save_model
from keras.layers import Conv1D, Merge

submodels = []
for kernel_size in [3, 4, 5]:
    submodel = Sequential()
    submodel.add(Conv1D(1, (1,), activation='relu', input_shape=(2, 2)))
    submodels.append(submodel)
model = Sequential()
model.add(Merge(submodels, mode="concat"))
model.compile(loss='categorical_crossentropy', optimizer='adam', metrics=['categorical_accuracy'])

model.save('foo.h5')
model = load_model('foo.h5')

ValueError: You are trying to load a weight file containing 3 layers into a model with 0 layers.

What I got so far: the reason for the discrepancy is that Merge is being interpreted as needs_legacy_support and thus, in save_model.get_json_type at models.py, the model_layers passed to topology.save_weights_to_hdf5_group are the layers of the Merge.
However, when loading the model, those layers will appear in the list of layers of the parent model, and will not be loaded as part of the Merge. Because the parent model has no layers (why?), it complains.
Not yet sure how to solve this or if it is worth addressing since Merge is deprecated.

Using the functional API and layers.merge.Concatenate layer on the output tensors of the convolutions solved the problem for me.

Another option is to save the model configuration and the weights individually, using model.to_yaml() and model.save_weights(). However, the solution of @ben0it8 is better, as it avoids the deprecated Merge call.

Same problem here. That's the model I use:
modelRight = Sequential()
modelLeft  = Sequential()
model = Sequential()

modelRight.add(LSTM(100, input_shape=(20, 50),
               return_sequences=False, name='right_input'))

modelLeft.add(LSTM(100, input_shape=(20, 50),
               return_sequences=False, name='left_input'))

model.add(Merge([modelRight, modelLeft],mode='concat'))

model.add(Dropout(0.5))

model.add(Dense(2, activation='softmax'))

I also get the deprecation warning for Merge. I'll try to get rid of it and see if it works.

Example on how to use Functional API and concatenate:
    from keras.models import Model
    from keras.layers import Conv2D, concatenate, Input

    submodels = []
    inputs = []
    for i, kernel_size in enumerate([3, 4, 5]):
        submodel = Sequential()
        in_layer = Input(shape=(32,32,3))
        inputs.append(in_layer)
        x = Conv2D(64, (3, 3), activation='relu')(in_layer)
        submodel = Model(inputs=in_layer, outputs=x)
        submodels.append(submodel.output)

    c = concatenate(submodels)
    model = Model(inputs=inputs, outputs=c)

You can create the model structure from code and then call model.load_weights(path_to_saved_model) and proceed to compile and continue training or use to evaluate. Tested and works with the deprecated Merge layers.