Unexpected assembly version in assembly manifest

Summary
MSBuild is generating assemblies with unexpected assembly versions in their manifests.
Steps to reproduce
I've created a minimal reproduction repository for this issue. The following are its contents:

AssemblyManifestTest.csproj:
<Project Sdk="Microsoft.NET.Sdk">
    <PropertyGroup>
        <TargetFramework>netstandard2.0</TargetFramework>
    </PropertyGroup>
    <ItemGroup>
      <PackageReference Include="System.Buffers" Version="4.5.0" />
    </ItemGroup>
</Project>

Test.cs:
using System.Buffers;

namespace AssemblyManifestTest
{
    class Test
    {
        public void DoSomething()
       {
            byte[] test = ArrayPool<byte>.Shared.Rent(10);
        }
    }
}

Simple class that utilizes types from the System.Buffers assembly.

I build the project using:
dotnet msbuild

where dotnet msbuild -version prints:
Microsoft (R) Build Engine version <IP_ADDRESS>72 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

<IP_ADDRESS>72

Expected  behavior
The System.Buffers Nuget package (v4.5.0) multi-targets netstandard2.0 and netstandard1.0. Its netstandard2.0 folder contains the version 4.0.3 assembly whilst its netstandard1.0 folder contains the 4.0.2 assembly.
Therefore, the generated assembly, "bin/release/netstandard2.0/AssemblyManifestTest.dll", should have the following dependency in its manifest:
.assembly extern System.Buffers
{
  .publickeytoken = (CC 7B 13 FF CD 2D DD 51 )
  .ver 4:0:3:0
}

Note the expected assembly version, 4:0:3:0.
Actual behavior
The generated assembly, "bin/release/netstandard2.0/AssemblyManifestTest.dll", has the following dependency in its manifest:
.assembly extern System.Buffers
{
  .publickeytoken = (CC 7B 13 FF CD 2D DD 51 )
  .ver 4:0:2:0
}

Note the actual assembly version, 4:0:2:0.
Why this is a problem
When I reference the AssemblyManifestTest library from a net462 console application, the following happens:

MSBuild grabs the version 4.0.3 assembly from the netstandard2.0 folder.
The runtime throws a  System.IO.FileLoadException exception:System.IO.FileLoadException: Could not load file or assembly 'System.Buffers, Version=<IP_ADDRESS>,
Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located
assembly's manifest definition does not match the assembly reference. (Exception from HRESULT:
0x80131040)

The exception is thrown because the System.Buffers assembly version in AssemblyManifestTest.dll is unexpectedly 4.0.2 (and System.Buffers is strongly named).
Notes
The generated .deps file, "bin/release/netstandard2.0/AssemblyManifestTest.deps.json", has the following depedency:
"System.Buffers/4.5.0": {
        "runtime": {
          "lib/netstandard2.0/System.Buffers.dll": {
            "assemblyVersion": "<IP_ADDRESS>",
            "fileVersion": "4.6.26515.6"
        }
    }
}

It correctly lists the "assemblyVersion" as "<IP_ADDRESS>", so it seems like just the assembly manifest that is off.
Edit: Simplified example

I think the problem is that the package is slightly wrong:
ildasm C:\Users\raines\.nuget\packages\system.buffers\4.5.0\ref\netstandard2.0\System.Buffers.dll

.assembly noplatform System.Buffers
{
  .ver 4:0:2:0
}

ildasm C:\Users\raines\.nuget\packages\system.buffers\4.5.0\lib\netstandard2.0\System.Buffers.dll

.assembly System.Buffers
{
  .ver 4:0:3:0
}

The former (the reference assembly) is what is provided to the compiler and thus what gets baked into your assembly's manifest, but the latter is what's copied for use at runtime. Since the versions don't match, you get an error at runtime.
@safern, I see you've made some changes to the System.Buffers package recently. Are you the right person to look into this? Should we move this issue to corefx?

@safern, I see you've made some changes to the System.Buffers package recently. Are you the right person to look into this? Should we move this issue to corefx?

From the package version it is coming from release/2.1 and I did some work to harvest the reference assembly for netstandard2.0 -- so I think that is the issue. We might need to force the lib assembly version for ns2.0 to be <IP_ADDRESS> as we already do that for the ref: https://github.com/dotnet/corefx/blob/release/2.1/src/System.Buffers/ref/System.Buffers.csproj#L8
So yes, it seems like the harvesting could be the root cause here: https://github.com/dotnet/corefx/commit/f14366baaa80a893e53934b98e9786dac54c136f#diff-2205f80ba40246edf2098e04523def5aR8
@weshaggard should we make the src assembly version <IP_ADDRESS> as well? https://github.com/dotnet/corefx/blob/release/2.1/src/System.Buffers/dir.props#L5

Thanks for looking into this! Wasn't aware that reference assembly versions are used when generating the manifest.
Thought I'd include the binding redirect I'm using in case anyone else encounters this issue:
<dependentAssembly>
    <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
    <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
</dependentAssembly>

Please feel free to move to corefx and close.


Composer error with Laravel 5.1

Hi,
Unable to run composer update. Get the following error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install laravel/framework v5.1.28
- Conclusion: remove laravel/framework v5.1.27
- Conclusion: don't install laravel/framework v5.1.27
- Conclusion: don't install laravel/framework v5.1.26
- Conclusion: don't install laravel/framework v5.1.25
- Conclusion: don't install laravel/framework v5.1.24
- Conclusion: don't install laravel/framework v5.1.23
- Conclusion: don't install laravel/framework v5.1.22
- Conclusion: don't install laravel/framework v5.1.21
- Conclusion: don't install laravel/framework v5.1.20
- Conclusion: don't install laravel/framework v5.1.19
- Conclusion: don't install laravel/framework v5.1.18
- Conclusion: don't install laravel/framework v5.1.17
- Conclusion: don't install laravel/framework v5.1.16
- Conclusion: don't install laravel/framework v5.1.15
- Conclusion: don't install laravel/framework v5.1.14
- Conclusion: don't install laravel/framework v5.1.13
- Conclusion: don't install laravel/framework v5.1.12
- Conclusion: don't install laravel/framework v5.1.11
- Conclusion: don't install laravel/framework v5.1.10
- Conclusion: don't install laravel/framework v5.1.9
- Conclusion: don't install laravel/framework v5.1.8
- Conclusion: don't install laravel/framework v5.1.7
- Conclusion: don't install laravel/framework v5.1.6
- Conclusion: don't install laravel/framework v5.1.5
- Conclusion: don't install laravel/framework v5.1.4
- Conclusion: don't install laravel/framework v5.1.3
- Conclusion: don't install laravel/framework v5.1.2
- Conclusion: don't install laravel/framework v5.1.1
- mitulgolakiya/laravel-api-generator dev-master requires illuminate/support 5.2.* -> satisfiable by illuminate/support[v5.2.0, v5.2.6, v5.2.7].
- mitulgolakiya/laravel-api-generator dev-master requires illuminate/support 5.2.* -> satisfiable by illuminate/support[v5.2.0, v5.2.6, v5.2.7].
- don't install illuminate/support v5.2.0|don't install laravel/framework v5.1.0
- don't install illuminate/support v5.2.6|don't install laravel/framework v5.1.0
- don't install illuminate/support v5.2.7|don't install laravel/framework v5.1.0
- Installation request for laravel/framework 5.1.* -> satisfiable by laravel/framework[v5.1.0, v5.1.1, v5.1.10, v5.1.11, v5.1.12, v5.1.13, v5.1.14, v5.1.15, v5.1.16, v5.1.17, v5.1.18, v5.1.19, v5.1.2, v5.1.20, v5.1.21, v5.1.22, v5.1.23, v5.1.24, v5.1.25, v5.1.26, v5.1.27, v5.1.28, v5.1.3, v5.1.4, v5.1.5, v5.1.6, v5.1.7, v5.1.8, v5.1.9].
- Installation request for mitulgolakiya/laravel-api-generator dev-master -> satisfiable by mitulgolakiya/laravel-api-generator[dev-master].
My composer.json:
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"repositories": [
{
"type": "git",
"url": "https://github.com/mitulgolakiya/laracast-flash"
}
],
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.1.",
"doctrine/dbal": "v2.5.2",
"mews/captcha": "^2.1",
"barryvdh/laravel-dompdf": "^0.6.0",
"maatwebsite/excel": "~2.0.0",
"barryvdh/laravel-elfinder": "^0.3.4",
"laracasts/flash": "dev-master",
"laravelcollective/html": "5.1.@dev",
"bosnadev/repositories": "dev-master",
"mitulgolakiya/laravel-api-generator": "dev-master"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~4.0",
"phpspec/phpspec": "~2.1"
},
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\": "app/"
}
},
"autoload-dev": {
"classmap": [
"tests/TestCase.php"
]
},
"scripts": {
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"pre-update-cmd": [
"php artisan clear-compiled"
],
"post-update-cmd": [
"php artisan optimize"
],
"post-root-package-install": [
"php -r "copy('.env.example', '.env');""
],
"post-create-project-cmd": [
"php artisan key:generate"
]
},
"config": {
"preferred-install": "dist"
}
}
Anyone know how to solve it?

@sairam2188 which laravel and generator version you are using ?

@mitulgolakiya Laravel 5.1.27 and generator 1.4

@sairam2188 I have just fixed readme. May be you were checking our dev-master of of generator.
Please go through the fresh installation and try again.
Don't forget to update versions as per new instruction.
"laracasts/flash": "dev-master",
"laravelcollective/html": "~5.1",
"bosnadev/repositories": "dev-master",
"mitulgolakiya/laravel-api-generator": "~1.4"

@mitulgolakiya I update my composer.json with your suggestion, but I get this message:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package mitulgolakiya/laravel-api-generator ~1.4 could not be found.
Potential causes:

A typo in the package name
The package is not available in a stable-enough version according to your minimum-stability setting
see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems
You know how to solve it?

try it with
"mitulgolakiya/laravel-api-generator": "1.4.x-dev"

@mitulgolakiya it worked fine. Thank you.


Inform ExtBidResponse's usersync field with the user sync status

We would like to store some custom auction's metrics : auction result, user's cookie sync status with each bidder ...
In order to do that we will use BidResponsePostProcessor, there we could access BidResponse and also BidResponse.ext field, whom real type is ExtBidResponse, and read its usersync field, but unfortunately this field is not set in ExchangeService's toExtBidResponse method

As we are filling BidResponses.ext.usersync with data then by default it'll serialized along with the rest of the object.
That's why in the PR I suggested making this field transient(or JsonIgnore), to avoid changing the serialized output

Key decision that should be made and that directly affects implementation is about including usersync status in /openrtb2/auction response. Although there is POJO and place defined in bid response extension for them (bidresponse.ext.usersync.{bidder}.*) filling them in auction response was never implemented for /openrtb2/auction (in contrast with legacy /auction endpoint) even in Go counterpart. That makes sense to me as there is /cookie_sync endpoint for achieving similar result (and making it easier to handle GDPR with regard to initiating usersync - see #63) so I wonder if there is benefit in providing this information in /openrtb2/auction response.

What's the use case for exposing this information in the externally available auction response object?
What I'm hearing so far is that the data is really only needed internally later in the auction pipeline, not by the client? I don't think we want to expose data that's not needed by a client app/browser -- that could be inefficient, confusing, and/or GDPR-sensitive if cookie-related.

The PR's comment (https://github.com/rubicon-project/prebid-server-java/pull/75) already mentions that maybe we should make this field transient, in order to not expose this information to the outside world.
Marfeel does not need to expose this information to the outside world, I agree with you that is useless from the client point of view,  we only need it internally, for tracking metrics.
In my opinion the only "natural" way of storing and retrieving this data in both /openrtb2/amp and /openrtb2/auction endpoint is using this POJO field
So should I update the PR in order to make this field not serializable ? (not visible to the outside world)

So should I update the PR in order to make this field not serializable ? (not visible to the outside world)

yes please


Multi-mode graph

WIP

[x] Move lasp_plot_gen.erl to an escript
[ ] Per mode, average all executions
[ ] Single graph with all modes

This should eventually move to the evaluation repository, right?

Yes. Just while I'm working on it.


STYLE: Classes needing explicit instantiation have definitions in cxx files

Move definition code from hxx to cxx file.
These classes must be explicitly
instantiated for each valid template type to support
dynamic casting robustly (one-definiton-rule).
As a consequence, the only place that the definitions
for these class member functions is needed is in the
cxx compiled files.

LGTM!

/azp run ITK.Windows

Committed in 0e5a2b1eb455a9772e2e4bc571bd0e53e19fc262


Why is "createSymlink" commented out?

I see that the interface "creatSymlink" in src/server/Namenode.h is commented out.Is symbolic link not supported in libhdfs3?Is there any other way can I create a symbolic link in libhdfs3?

I commented it out because I did not implement it. So, there is no way to create a symbolic link in libhdfs3.

This code was birthed from HAWQ and will be merged back into into that project (now that it is open source as well); mailing lists, pull requests, issues and releases related to libhdfs3 will be there. The plan is to provide tarball releases of this code separate from the larger HAWQ project until it can be relocated into a dedicated repo again (down the road) - see HAWQ-1059.
Thank you for the contribution and patience while we sort out these logistics.
Vote to close this issue. @WindKnight if this is still a useful feature, please open a JIRA using the issues link above.


Firefox may stop reading user.js unles about:config pref is set...

https://blog.nightly.mozilla.org/2019/08/30/these-weeks-in-firefox-issue-63/

Mandy has a patch up to avoid doing more main-thread IO during start-up, and also has her eyes set on one other bug before her internship closes out

https://bugzilla.mozilla.org/show_bug.cgi?id=1543752
"Stop reading user.js from the profile to modify default prefs unless prefs.js opts in to doing so"

ghacks-user.js is niche and not updated by 2 years :)

I'm not fazed by this: as long as they don't disable it entirely, or move to app rather than profile.

We'll pick up on this with diffs, and/or notice when shit breaks (unlikely as it will become set as modified for you if you use a user.js), or watch the ticket :) When it lands, I will modify the wiki


Pull request for pair review

Changes Unknown when pulling dee5fa37125b4b8eb20d921456d6be2ee9888b0a on feature/Searchallfiles into ** on master**.

Changes Unknown when pulling dee5fa37125b4b8eb20d921456d6be2ee9888b0a on feature/Searchallfiles into ** on master**.

Changes Unknown when pulling d968584d453fb3507c0720396f0fed66d0e99e22 on feature/Searchallfiles into ** on master**.

Changes Unknown when pulling d968584d453fb3507c0720396f0fed66d0e99e22 on feature/Searchallfiles into ** on master**.

Changes Unknown when pulling d968584d453fb3507c0720396f0fed66d0e99e22 on feature/Searchallfiles into ** on master**.

Changes Unknown when pulling a2cb19fa1e91bfca85047c0b76027bd699295e48 on feature/Searchallfiles into ** on master**.

Changes Unknown when pulling 1444aae1dc632bc923d0a065682fd21ec8e6075d on feature/Searchallfiles into ** on master**.

Changes Unknown when pulling 270f6ceec5c5f66a2cd0546f51619e2a891b52ca on feature/Searchallfiles into ** on master**.

Changes Unknown when pulling 56d5beb074edf50dde637c8c5ac08910723ea6d8 on feature/Searchallfiles into ** on master**.

Changes Unknown when pulling 1d4807b6d5c6eaaafd69361e65c7d6a32adab6a6 on feature/Searchallfiles into ** on master**.

Changes Unknown when pulling 1d4807b6d5c6eaaafd69361e65c7d6a32adab6a6 on feature/Searchallfiles into ** on master**.

Changes Unknown when pulling b1ad98f7a8cc0cb916794bd0aefb0b0f57317c2d on feature/Searchallfiles into ** on master**.


CASMTRIAGE-6143: copy renewed cert to storage node

Description
When renewing the kubernetes client certificate, the new client certificate needs to be distributed to the first storage node as well.

Checklist

[ ] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[ ] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[x] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.4 release/1.5 release/1.6


Reconnecting even after a close()

Hello,
I'm having an issue using this lib. when I do .close() without any parameter, servers send a frame with no code which is in returned, interpreted by browsers as a 'code:1005'  as no code given for closing.
And since the code is not 1000 , the library try to reconnect.
var ws = new WebSocket("ws://echo.websocket.org");
ws.onopen = (e) => console.log(e);
ws.onclose = (e) => console.log(e);
ws.close()
// { target: WebSocket, isTrusted: true, wasClean: true, code: 1005, reason: "", currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, defaultPrevented: false, timeStamp:<PHONE_NUMBER>163584 }

to retrieve a 1000 code, we have to send it as a close reason. ws.close(1000)
Unfortunatly, the $websocket lib doesn't allow to send a code on close (nor a reason).
I can make a PR for the changes, but I don't know if it's better to check 1000 and 1005 code for normal close, since we can't send code, or, if we add other parameters to the close().

I was able to get around this bug by calling close (with code) on the underlying socket:
this.socket.socket.close(1000, "Client closed socket");
It would be nice to have the library updated to include this.


The "Join Video/Meetecho" button on the agenda page should be larger/brighter than the other buttons

Description
This would make it much easier to find the button that probably many people use most during the meeting.
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

Would splitting those out into a separate button group work? See below:

Yes, much better. I guess we could still highlight them more, e.g. different colour?


wrong subtraction

void main() {
print(8.2 - 1);
print(8.2 - 1.0);
print(8.3 - 1);
print(8.3 - 1.0);
}
It will print:
7.199999999999999
7.199999999999999
7.300000000000001
7.300000000000001
tested on dart 2.9.2

https://floating-point-gui.de/

This is correct behavior. You get the same results in JavaScript or Java, it's just how floating point numbers work.

@lrhn sorry if its same as JavaScript and Java, but why this code below works?
void main() {   print(7.2 - 1);   print(7.2 - 1.0);   print(7.3 - 1);   print(7.3 - 1.0); }
It will print:
6.2
6.2
6.3
6.3
And I've tested it on golang and c#, and it works. Can we solve this?

@lrhn sorry if its same as JavaScript and Java, but why this code below works?
void main() { print(7.2 - 1); print(7.2 - 1.0); print(7.3 - 1); print(7.3 - 1.0); }
It will print:
6.2
6.2
6.3
6.3
And I've tested it on golang and c#, and it works. Can we solve this?

Printing characters to a terminal is not simple and many printing functions hide a lot of work to make your life easier. Meditate on this:
package main

import "fmt"

func main() {
  result := 7.2 - 1

  println(result)
  fmt.Println(result)
}


generate AWS SSO config

Implementation + supporting documentation and unit tests for generate-AWS-SSO-config.py which can be shared with NREL cloud computing user community to simplify their experience with AWS SSO in the AWS CLI, SDKs, and third-party tools needing AWS permissions.

I did a quick test of this setup. It works as intended. Really like the interactive option to select the default profile.
Would like to get a demo ofcredential_helper to understand how that works for multiple profiles


Improve TooltipTrigger's implementation

Description
With its current implementation, the tooltip trigger requires that the trigger element be a class component, so as to pass it a reference. This should not be the case as the implementation of an element should not depend on whether it will be used as a tooltip trigger or not.
Acceptance Criteria

[ ] The TooltipTrigger can accept functional components as triggers.

I think it doesn't necessarily requires it to be a class component, but rather a component that supports refs (functional components can forward refs).
Neverthless, I agree. I have a similar issue on discussify as well: https://github.com/ipfs-shipyard/pm-discussify/issues/47

I did not notice that issue on discussify, thanks for linking it here.


Unable to enter Create & Manage

Hi I am constantly getting a message:
"Please sign out and sign back in to regenerate a fresh home project"
will trying to go into Create & Manage. My OSM username is: cienrique
I was able to open it first time to create some invisible test challenge and now it's like that.
Regards,
Tomasz

I'm going to close this, but feel free to reopen with additional details if it continues to be an issue for you.


Fixed thread local systems not getting flushed

I did add another vector into Schedule, maybe not the best way, but it works.

Is there anything I can do to contribute to this PR getting merged?
Currently I have my own fork with this fix so I can try to keep it up to date with the current master branch but that's not sustainable in the long run.

Yeah, I too have my own fork, I'm considering moving to specs, because of this and some other issues


Issue with k8s.io/docs/tasks/access-kubernetes-api/http-proxy-access-api/

This is a Bug Report

Problem:
Proposed Solution:
Page to Update:
https://kubernetes.io/...

@eyeman666, could you provide some more information about what isn't right with https://k8s.io/docs/tasks/access-kubernetes-api/http-proxy-access-api/?

@sftim Tim, I am getting this

I think you're concerned about the deprecation warning @eyeman666. Have I got that right?
/triage needs-information

/reopen

/assign


allow Logged in user to save queries

push into local db like we do with favorited data
also
handle label generation for Logged in users queries
as I understand it, we create a label, but we allow the user to modify that IF they are logged in. This is related to saving user queries.

save as
user:
label: query_string ?

assume the name of the search is label,label, label ( max 50 chars).
the query_string itself is JSON.
add a timestamp for sorting
we will also need to load this data, so create that api

save search...
dialog for name, (defaulted to label, label, label)
load search... button
-dialog, sorted list of stored searches- option to delete or load
essentially, parity with current explorer app


curl for omniglot stuck after Iteration 1999

When running
PYTHONPATH=pwd/..:$PYTHONPATH python3 train_main.py --dataset='omniglot'
the code is stuck after iteration 2000:
I0301 12:30:59.622419<PHONE_NUMBER>87008 training.py:1115] Iteration 1999, Train batch purity: 1.000, Train elbo: 3810.632, Train kl y: 2.944, Train kl z: 67.379 n_active: 19
2020-03-01 12:31:08.276665: W ./tensorflow/core/framework/model.h:213] Encountered a stop event that was not preceded by a start event.

Is there some problem with the code or it takes too much time? It has been stuck for over 2 days now.
Also, is the purity same as the cluster accuracy which is mentioned in the paper?
Thank you.

Sorry for the delay, I didn't get a notification for this unfortunately.
That's odd; I've never seen that before (definitely not 2 days). But it may depend on experimental parameters and/or hardware used in the setup. Are your experimental parameters at the defaults? And is this on GPU or CPU?
Feel free to email me (contact details in the paper) to discuss further.
Re: your second point; yes - purity is the same as cluster accuracy.


AZ AKS not working

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks
Errors:
invalid syntax (custom.py, line 1399)
Traceback (most recent call last):
python2.7/site-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 549, in execute
    parsed_args = self.parser.parse_args(args)
python2.7/site-packages/knack/parser.py, ln 259, in parse_args
    return super(CLICommandParser, self).parse_args(args)
2.7/lib/python2.7/argparse.py, ln 1705, in parse_args
    args, argv = self.parse_known_args(args, namespace)
...
lib/python2.7/importlib/__init__.py, ln 37, in import_module
    __import__(name)
cliextensions/aks-preview/azext_aks_preview/custom.py, ln 1399
    f'save them to the storage account '
    ^
SyntaxError: invalid syntax

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az aks -h

Expected Behavior
Environment Summary
Darwin-18.7.0-x86_64-i386-64bit
Python 2.7.16
Shell: bash

azure-cli 2.0.71 *

Extensions:
aks-preview Unknown

Additional Context

aks

the preview extension version is suspicious, could you try removing and reinstalling the extension?
az extension remove -n aks-preview
az extension add -n aks-preview

Tried it but didnt help at all.

Please update your core-cli and then install the extension, that CLI version is too old to use the latest extension.
Current versions
jpalma@aeolus:~$ az --version
azure-cli                          2.6.0
Extensions:
aks-preview                       0.4.49


116 tabs refactoring

General
Closes #116
Extracted all account voting tabs into separate components and made use of new Tabs from styleguide, added three routes as it was suggested in comments.
Checked tabs work against test and mainnet in different colors schemes, compared against previous implementation.
General
Please make sure the following is done:

Pull request is onto develop
If you haven't already, have a look at

https://github.com/bitshares/bitshares-ui/blob/develop/CODE_OF_CONDUCT.md
https://github.com/bitshares/bitshares-ui/blob/develop/CONTRIBUTING.md

Code Preparation
Please review all your changes one last time before committing

[x] Check for unused code
[x] No unrelated changes are included
[x] None of the changed files are reformatting only
[x] Code is self explanatory or documented
[x] All written text is properly translated (english language)

Testing
The branch has been tested on the following browsers (desktop and mobile view)

[x] Chrome
[ ] Opera
[x] Firefox
[ ] Safari

User interface changes
Delete this section if there weren't any UI changes. Please make sure you tested your changes in all themes

[x] Dark
[x] Light
[x] Midnight

Please provide screenshots/licecap of your changes below

Is this completed? https://github.com/blockchainprojects/bitshares-ui/issues/116#issuecomment-502170007

Yes, completely

@sschiessl-bcp , pushed updates with fixes for requested changes

Forwarded


Task.json "Matches multiple schemas when only one must validate."

There's another instance of this with a different root cause.
Original reported in #68006 by @vynilas
{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "label": "build gdk1",
            // Make this the default build command.
            "group": {
                "kind": "build",
                "isDefault": true
            },
            // Show the output window only if unrecognized errors occur.
            "presentation": {
                "echo": true,
                "reveal": "always",
                "focus": false,
                "panel": "shared"
            },
            "command": [
                "make"
            ],
            // No args
            "args": [
                "clean",
                "all"
            ]
        }
    ]
}

Hello Alex,
Many thanks for the fix.
I'am newbie  , May I ask you the way to get the corrected version of vcode please ?
Cheers!
Sylvain

You can wait for the next stable release, which should happen in early April. Or you can install Insiders, which is built every day: https://code.visualstudio.com/insiders/ The next release of Insiders should have the fix.

Thanks for your help and hints.
Cheers!


LoopBack

Happy new year all,
With the increasing number of interest in loopback and also noticing that Express itself is pushing for loopback (notice the loopback recommendation on the express.com homepage), I wonder if there are any plans for Meanjs to use loopback in the near future?

happy new year!
Express and Loopback are both maintained by Strongloop - so that's probably why. I've been running a Mean.JS app with Loopback and Keystonejs in production for 6-7 months now - loopback really makes platforms easier. For smaller projects I've left it out though since it introduces another layer of complexity.
IMHO we could move meanjs to a point where its data model and connection configuration could be leveraged by loopback more easily (I had to do quite a lot of changes there) so it can be added more easily if you need your mean.js app to expose a public API.

I miss the Swagger integration in Loopback

I am interested in anything that claims to make something easier, but this would probably need to be a community driven initiative. We try to keep MEAN.JS fairly agnostic aside from the core MEAN stack components.
A proof of concept would be helpful, or alternatively considering an implementation in the 0.4.x generator: https://github.com/meanjs/generator-meanjs/tree/0.4-dev

I'd like to clarify, I am not supporting the use of Loopback. I just want Swagger for MEAN.JS. Just created a feature request for https://github.com/meanjs/mean/issues/352
I started w/ Loopback and Sails, but quickly were looking for something else and landed on MEAN.JS.
Both frameworks are great in many aspects, but what bothered me was they have a unified storage abstraction layer. While it provides the flexibility and choices of storage, mixing the SQL and non-SQL, gives to users the lowest denominator and I think it was not the best experience whether we work w/ SQL or non-SQL DB. I rather have something that let maximize the use of MongoDB (such as Mongoose) or SQL.

LoopBack is somewhat different in its implementation and will cause issues when other people want to just use Express. It probably makes more sense in the generator if anything.


Build and deploy operator using plugins/velero from remote branch

Ability to customize branch of plugins used when deploying.
Today OADP Operator uses images that are built post-submit in repos, pushed to openshift ci registry but are not promoted to quay.io for pulling for up to an hour later.

/lifecycle frozen


增加 JaroWinkler 算法 和Cosine 相似度算法

🎆 添加 JaroWinkler 算法
🎗 增加Cosine similarity algorithm && StrToStrs 字符串转化字符数组 Base64Encode
🎈 添加是否要将字符串转化成base64字符选项

Codecov Report

Merging #3 (8d1b846) into master (b43d099) will decrease coverage by 24.69%.
The diff coverage is 2.15%.

@@             Coverage Diff             @@
##           master       #3       +/-   ##
===========================================
- Coverage   91.35%   66.66%   -24.70%
===========================================
  Files          15       19        +4
  Lines         243      336       +93
===========================================
+ Hits          222      224        +2
- Misses         15      105       +90
- Partials        6        7        +1

Impacted Files
Coverage Δ

cosine_conf.go
0.00% <0.00%> (ø)

jaro_winkler_conf.go
0.00% <0.00%> (ø)

prev_modify.go
80.00% <0.00%> (-20.00%)
:arrow_down:

public_config.go
25.00% <0.00%> (-5.77%)
:arrow_down:

similarity/Cosine.go
0.00% <0.00%> (ø)

similarity/jaro_winkler.go
0.00% <0.00%> (ø)

similarity/utils.go
66.66% <0.00%> (-33.34%)
:arrow_down:

strsim_priv.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

在最新的提交commit中均以修改

我先合了, 等有时间, 用人脸或者声纹提取的向量试下效果.

我先合了, 等有时间, 用人脸或者声纹提取的向量试下效果.

也可以等等，我看看能不能写simhash算法


TRIDENT-17658 - Fix issues in entity group article

Purpose of this pull request
This pull request (PR) fixes issues in the "Create an Entity Group" article:
https://help.sumologic.com/docs/cse/records-signals-entities-insights/create-an-entity-group/
Issue number:
TRIDENT-17658
Select the type of change:

[ ] Minor Changes - Typos, formatting, slight revisions
[x] Update Content - Revisions and updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, and new packages for the site, Gatsby, React, etc

@pkazmir-sumo approved the changes in this PR with this comment on TRIDENT-17658:
"LGTM"


Fix for mapping the root path for .ssh/authorized_keys ( #133 )

This modify change the root path from /root to /home/yi-hack-v4/ and allow to use the .ssh/authorized_keys as descripted in the documentation wiki/SSH:-login-with-keys
( Fix #133 )

#134

Thank you for your pr.
I tested it and it's ok.
Please, change the path from /home/yi-hack-v4 to /home/yi-hack because I will remove the link in a future version.

The path is changed from /home/yi-hack-v4 to /home/yi-hack


feat: adding a thousand separator on salaries

This pull request is for adding thousand separator on salaries like mentioned in issue #107
Why ?
To make salaries more readable.
How ?
Just by separating thousands by a comma.
Steps to verify:
Just by checking the screenshots below :

I'm not a fan of regular expressions because there are too many side effects and it's hard to get rid of. I recommend using the native Javascript method Intl.NumberFormat
Example: const number = 123456.789;

console.log(new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(number));
// expected output: "123.456,79 €"

// the Japanese yen doesn't use a minor unit
console.log(new Intl.NumberFormat('ja-JP', { style: 'currency', currency: 'JPY' }).format(number));
// expected output: "￥123,457"

In addition, you can set the currency according to the country

Ref: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat

Since this PR was merged already can you create a ticket for the changes you are requesting ?
Maybe you could work on it yourself

I think a space separator is more appropriate. To a kid the confusion between English and French separators

I think a space separator is more appropriate. To a kid the confusion between English and French separators

I thing it depends on the user's browser locale.
With return new Intl.NumberFormat('fr-CM', {style: 'currency', currency: 'XAF'}).format(value); this is the output: 1 624 669 FCFA.
While with this: return new Intl.NumberFormat('en-CM', {style: 'currency', currency: 'XAF'}).format(value); this is the output: FCFA 1,624,669.

I think a space separator is more appropriate. To a kid the confusion between English and French separators

I thing it depends on the user's browser locale. With return new Intl.NumberFormat('fr-CM', {style: 'currency', currency: 'XAF'}).format(value); this is the output: 1 624 669 FCFA. While with this: return new Intl.NumberFormat('en-CM', {style: 'currency', currency: 'XAF'}).format(value); this is the output: FCFA 1,624,669.

In the example you gave the local is set manually so I don't think it will depend on the user's browser. Am I wrong ?
Additionally If you don't mind it might great if you could have a look at this issue and work on it, this way you can set the right format as well.
https://github.com/osscameroon/camerdevs/issues/119

@sidikfaha  Can you fix this "value" error in filter.js file

Where is this happening? I can't reproduce it:

In fact, the bug occurs when I try to post a rating
https://user-images.githubusercontent.com/34966088/155948358-c8282001-79a8-49ce-9415-763e468563e9.mp4

Hi everyone. Sorry I was not available theses lasts days. @Asam237 let me check what is wrong and correct this bug !!

Hi everyone. Sorry I was not available theses lasts days. @Asam237 let me check what is wrong and correct this bug !!

There is no need to check it out, we fixed it already :)

Hi everyone. Sorry I was not available theses lasts days. @Asam237 let me check what is wrong and correct this bug !!

There is no need to check it out, we fixed it already :)

Okay nice !!


warning: method redefined; discarding old use_eventmachine=

Any idea how to solve these warnings?
/Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar/configuration.rb:194: warning: method redefined; discarding old use_eventmachine=
/Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar/configuration.rb:209: warning: method redefined; discarding old before_process=
/Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar/configuration.rb:213: warning: method redefined; discarding old transform=
/Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar/configuration.rb:232: warning: method redefined; discarding old logger
/Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar/notifier.rb:1: warning: loading in progress, circular require considered harmful - /Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar.rb

@fguillen I don't have any of this right now. Are you monkey patching our gem somewhere?

@jondeandres no I am not.
More info:
$ bundle list
Gems included by the bundle:
  * ab_testi_client (0.1.0 2e11b00)
  * activemodel (<IP_ADDRESS>)
  * activerecord (<IP_ADDRESS>)
  * activesupport (<IP_ADDRESS>)
  * airbrussh (1.1.1)
  * arel (7.1.4)
  * backports (3.6.8)
  * bundler (1.12.5)
  * capistrano (3.6.1)
  * capistrano-bundler (1.2.0)
  * capistrano-harrow (0.5.3)
  * capistrano-rbenv (2.0.4 e056efc)
  * concurrent-ruby (1.0.2)
  * curb (0.9.3)
  * daemons (1.2.4)
  * dalia_api_campaign_platform (0.1.3 1c8a99e)
  * dalia_api_panel_hub (0.0.7 bba2b9a)
  * eventmachine (<IP_ADDRESS>)
  * git-version-bump (0.15.1)
  * httparty (0.14.0)
  * i18n (0.7.0)
  * json (2.0.2)
  * macaddr (1.7.1)
  * metaclass (0.0.4)
  * mini_graphite (0.1.1 353ab48)
  * minitest (5.9.1)
  * mocha (1.2.1)
  * multi_json (1.12.1)
  * multi_xml (0.5.5)
  * mysql2 (0.3.21)
  * net-scp (1.2.1)
  * net-ssh (3.2.0)
  * rack (1.6.4)
  * rack-contrib (1.4.0)
  * rack-protection (1.5.3)
  * rack-test (0.6.3)
  * rake (11.3.0)
  * recursive-open-struct (1.0.1)
  * redcarpet (3.3.4)
  * rollbar (2.13.3)
  * sinatra (1.4.7)
  * sinatra-activerecord (2.0.11)
  * sinatra-contrib (1.4.7)
  * sshkit (1.11.4)
  * systemu (2.6.5)
  * thin (1.7.0)
  * thread_safe (0.3.5)
  * tilt (2.0.5)
  * tzinfo (1.2.2)
  * uuid (2.3.8)

For my reference this is the PP project

Hi @fguillen, and you stubbing at some point something related to Rollbar on those tests? It seems it may be something with that?

Hi @jondeandres I managed to reproduce the issue in the smallest version of my project possible:

https://github.com/fguillen/RollbarWarningTest

Try to
bundle install
rake

When I do this I see:
$ rake
/Users/fguillen/.rbenv/versions/2.3.1/bin/ruby -w -I"lib:." -I"/Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib" "/Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/rake_test_loader.rb" "test/utils_test.rb"
/Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar/configuration.rb:194: warning: method redefined; discarding old use_eventmachine=
/Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar/configuration.rb:209: warning: method redefined; discarding old before_process=
/Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar/configuration.rb:213: warning: method redefined; discarding old transform=
/Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar/configuration.rb:232: warning: method redefined; discarding old logger
/Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar/notifier.rb:1: warning: loading in progress, circular require considered harmful - /Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar.rb
	from /Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:4:in  `<main>'
	from /Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:4:in  `select'
	from /Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:15:in  `block in <main>'
	from /Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:15:in  `require'
	from /Users/fguillen/Development/Temp/RollbarWarningTest/test/utils_test.rb:1:in  `<top (required)>'
	from /Users/fguillen/Development/Temp/RollbarWarningTest/test/utils_test.rb:1:in  `require_relative'
	from /Users/fguillen/Development/Temp/RollbarWarningTest/test/test_helper.rb:5:in  `<top (required)>'
	from /Users/fguillen/Development/Temp/RollbarWarningTest/test/test_helper.rb:5:in  `require'
	from /Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar.rb:19:in  `<top (required)>'
	from /Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar.rb:19:in  `require'
	from /Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar/notifier.rb:1:in  `<top (required)>'
	from /Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar/notifier.rb:1:in  `require'
/Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar.rb:153: warning: method redefined; discarding old with_config
/Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:187: warning: previous definition of with_config was here
/Users/fguillen/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rollbar-2.13.3/lib/rollbar.rb:40: warning: instance variable @root_notifier not initialized
Run options: --seed 53334

# Running:

Finished in 0.001080s, 0.0000 runs/s, 0.0000 assertions/s.

0 runs, 0 assertions, 0 failures, 0 errors, 0 skips

awesome @fguillen! we'll take a look soon

Hi there !
Actually, reproducing the problem is as simple as doing ruby -w -e 'require "rollbar"'. A part of the warning has been fixed in https://github.com/rollbar/rollbar-gem/commit/482ff25d318c4e3287360cf2dc8dedc24d89190b but the problem is still visible in @fguillen's project as its Gemfile.lock files points to 2.13.3 but this fix is part of 2.14.0.
I don't know how you want to fix that but it looks like the problem is still in rollbar/notifier.rb.
Have a nice day !

Hey @robin850, thanks for writing here. Which warning you comment is still in rollbar/notifier.rb? I've checked this and I think we still need to remove a warning related to a not initialized @root_notifier variable.
We suggest to upgrade always to the latest version, since we rarely write patches for previous versions.
BTW, this PR should remove that last warning on @root_notifier, https://github.com/rollbar/rollbar-gem/pull/562.

@jondeandres : Yeah, actually I'm not using this gem, just commenting since Redcarpet had a similar issue and it was reported by @fguillen as well. :p Actually I forgot to check with 2.14.0 before commenting but you're totally right, the @root_notifier warning is the only one remaining. 👏

Hi there, I’m closing out all issues opened before 2018 that haven’t had any activity on them since the start of this year. If this is still an issue for you, please comment here and we can reopen this. Thanks!

Hey! Still seeing this:
/Users/fred/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rollbar-2.16.4/lib/rollbar/plugins/rails/railtie_mixin.rb:1: warning: loading in progress, circular require considered harmful - /Users/fred/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rollbar-2.16.4/lib/rollbar.rb

@fredngo okay, I'm on it

After updating rollbar-gem dependency to the latest release v2.16.4, I don't see this error anymore in https://github.com/fguillen/RollbarWarningTest
@fredngo can you explain in more details how you are reproducing the problem?

@ArturMoczulski Hi Artur, I am actually seeing this message when writing a Rails Engine inside a RubyGem, and then running tests with rake.
This is a fairly complex gem for a client so I can't just post the code, but the basic gist is this:
In my_engine.gemspec I have:
s.add_dependency 'rollbar', '~> 2.16'

and then inside lib/my_engine/engine.rb I have:
require 'rollbar'

I also have a Roller configuration file inside config/initializers/rollbar.rb:
Rollbar.configure do |config|
  ... bunch of stuff ...
end

and finally I have a base ActiveJob class that includes Roller::ActiveJob in app/jobs/my_engine/application_job.rb
class MyEngine::ApplicationJob < ActiveJob::Base
  include Rollbar::ActiveJob
end

Hope this helps?

@fredngo thx! Back to solving this now

This is fixed now in master and will be released in v2.18.0


PHP 7.4 support

First of all: awesome that you're trying to keep CacheT going!
I was wondering if you're planning PHP 7.4 (or even PHP 8) support. PHP 7.3 will be EOL from december; my hosting provider is even removing support for it in november already.

@Venorcis thanks, glad you appreciate the work.
I would like to upgrade to 7.4 and then possibly even 8. I think it will involve an update to Laravel (the framework Cachet is built on). Hopefully I'll get some time soon todo this.

Any news? PHP 7.3 is nearly EOL


MapImageLayerSublayerVisibilitySample: use ListView instead of discrete Checkboxes

Description

Modifies MapImageLayerSublayerVisibilitySample to use a ListView instead of 3 discrete Checkboxes. This makes use of the Sublayers list now being an ObservableList.
Checklist:

[x] Set target branch to main (current release) or v.next (next release)
[x] Request a reviewer
[x] Assign a reviewer
[x] Tag reviewer in comment

Assigning to @01smito01 for first review please

Assigning to @D-R-Smith for second review please

Thanks @D-R-Smith, merging


Bad file descriptor on buster 27 and 28 armh builds

[Required] Your device (RaspberryPi3, LaptopPC, or other device name):
qemu on x86_64 docker
[Required] Your device's CPU architecture (armv7l, x86_64, or other architecture name):
arm7l
[Required] Your OS (Raspbian, Ubuntu1604, or other os name):
Debian Buster
[Required] Details of the work you did before the problem occurred:
[Required] Error message:
root@7a626b435c10:/tmp# ./bazel
Opening zip "/proc/self/exe": lseek(): Bad file descriptor
FATAL: Failed to open Bazel as a zip file: (error: 9): Bad file descriptor

[Required] Overview of problems and questions:
Am I missing any packages or is there something wrong with the build maybe?

Hmmm.. I think this has something to do with running qemu/docker. I just tried this on my raspberry pi and it seemed to work.

Okay, I figured it out. I am using Docker and Qemu to build this and for whatever reason the /proc/self/exe auto-symlink thing doesn't work inside of docker.
I was able to fix this by editing the bazel executable with sed and replaced it with a string of equal length that was in the path... it just so happens /usr/bin/bazel is the same length as /proc/self/exe
sed -i 's@/proc/self/exe@/usr/bin/bazel@' bazel

I then installed it to /usr/bin/bazel and it works.

@snowzach
Thank you for your feedback. I performed the following steps that you taught me and executed Bazel. A Segmentation Fault occurred. I tried to run the same command against the compiled "bazel" binary.
sed -i 's@/proc/self/exe@/usr/bin/bazel@' bazel

Thanks for looking. This appears to be another qemu issue. I upgraded to qemu 4.1.0 and this issue went away. Another issue popped up.

I have also been experiencing errors for two months, just like you.
QEMU 4.0.0 + chroot


S3protocol

I want to be able to reader S1 data through S3 procotol using s3fs + fsspec

successful test of S3 to creodias eodata.dataspace.copernicus.eu entrypoint on a GRD IW product took 68sec to get the datatree  while it is 0.38sec using nfs gateway (ifremer archive).
on top of the low I/O broadband access through this protocol, there is quotas :

https://eodata-s3keysmanager.dataspace.copernicus.eu/panel/s3-credentials
last but not least, I have the syntaxe to open GRD, but for SLC (subswath is needed, e.g. :IW1) I don't have it , and I don't know if an update of the safe_s1 lib would be necessary.

same IW GRD product tested on "edgenode" on creodias WAW3-2 region tested with S3 (eodata.dataspace.copernicus.eu entry point) gives much better results:
4.50 sec!


Add TLS server name flag for gRPC store client

Greetings !
While trying out securing our Thanos installation with TLS, we found out that the TLS server name that we can find in options for Prometheus or any other TLS programs is missing.
I know Thanos can not possibly implement all TLS flags but I think this one is important enough to be included in the base application.
As this is my first PR for Thanos, let me know if anything is missing :wave: !
Changes

Adds --grpc-client-server-name to Query component

Verification

Tried without the flag and it failed to verify the certificate, tried with the flag and the right common name to use and it verified the certificate succesfully.

@adrien-f does the query component have some sort of log saying it fails to verify the cert? Or is it an opaque level=warn caller=storeset.go:283 component=storeset msg="update of store node failed" err="initial store client info fetch: rpc error: code = DeadlineExceeded desc = context deadline exceeded" address=x.x.x.x:10901 error?

Is there a way to specify multiple server names?
I can't imagine how to specify this field when Query connects to multiple Stores.
Does this mean I have to 1) issue certs with the same CN to all Store and Sidecar components? Or do I need to 2) add a SAN to all certs with a common CN?
Right now my Sidecars have thanos-sidecar in the CN and Store has thanos-store. Setting grpc-client-server-name to thanos-sidecar means it won't connect to thanos-store, and vice-versa.

I think this is a valid request, I'll need to check whether we can provide multiple allowed CN to the underlying library. Can you open an issue and I'll get a PR going ?
Also technically they're all stores as they expose the same API but I get your point :smile:

Valid cases, but wonder how to configure this. We don't use config files yet. Might be feature of FileSD only?


Naught + Socket.io

Hi,
I try to use naught on my project. This project was a webapp with an extensive use of websocket connection based on the lib socket.io.
The code works well when I use recluster for multiple worker but with naught the websocket connection is really unstable (many failed and disconnect).
Have you ever seen this behavior?
Thanks a lot for your help

Are sticky sessions supported?

Lack of support for sticky websocket sessions is the only feature keeping me from using naught.  Would you consider adding support or accept a pull request using sticky-session


I am unable to observe the "Failing Case Gutter Icon" after implementing the recent code changes

Describe the bug
After introducing modifications to the code, when the output differs from the previous version, the plugin is expected to seek confirmation before proceeding. However, the issue lies in the fact that only the passing case gutter is appearing, whereas the failing case gutter is not being displayed as anticipated.
Please refer the below attachment for issue screenshots.
[issues.pdf] (https://github.com/unloggedio/unlogged-sdk/files/13860855/issues.pdf)
Reproduction steps
1.Install Unlogged plugin in Intellij IDEA and add unlogged dependency based on your Java version.
2.Add Unlogged annotation above your main method of your project.
3.Run "mvn clean" command and start your application.
4.Click on blue icon gutter to execute the method.
5.The gutter will now turn pink, indicating that methods are now able to record.
6.Make required changes to the method, and the gutter will now display a bolt icon.
7.To verify the differences, click the bolt icon gutter; the gutter should now display the failed case symbol gutter. But this gutter is hidden from us; without the developer's confirmation, it rapidly transforms into a passing case gutter.
...
Expected behavior
After introducing modifications to the code, when the output differs from the previous version, the plugin is expected to seek confirmation before proceeding.
Additional context
When the result differs from the previous version after making changes to the code, the plugin is intended to seek confirmation from the developer by displaying failed case gutter before proceeding to passing case gutter.

This flow is revamped so this is fixed.


Make it possible to sort the results in tables by year

This is the only thing missing from the wiki statistics:

That's a good idea and makes the tables more useful, thanks! I will look into how to implement this.

b98bb556acf824eb429d80e6cfef0d7b3ae6f5df adds tables


Nonsense warnings about using next to skip iteration

Consider the following snippet of Ruby code:
foos.each do
  unless foo
    yield bar
  end
end

When running Rubocop on this file the output is as following:
Inspecting 1 file
C

Offenses:

/tmp/test.rb:1:6: C: Use next to skip iteration.
foos.each do
     ^^^^
/tmp/test.rb:2:3: C: Favor modifier unless usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
  unless foo
  ^^^^^^

1 file inspected, 2 offenses detected

The second warning makes sense but the first one is absolute nonsense. That is, the following code is no better:
foos.each do
  next if foo
  yield bar
end

To make things more confusing, the following doesn't produce the above warning:
foos.each do
  yield bar unless foo
end

As a more real-world example, there's the following snippet of code that we have:
review_nodes.each do |review|
  unless review.attr('class').include?('separator')
    yield review
  end
end

Rewriting this as following brings absolutely no benefits:
review_nodes.each do |review|
  next if review.attr('class').include?('separator')

  yield review
end

It might save you a single level of indentation but that's about it. It might make sense if you have multiple conditionals that determine whether or not to skip the loop. However, in simple cases such as those shown above the warning is utter nonsense.
Another snippet, which also contains a confusing line about where the error occurs:
ReviewIterator.new(page).each do |review|
  parsed = parse_review(review)

  unless review_exists?(config, parsed[:review_id])
    reviews << parsed
  end
end

This result in:
Inspecting 1 file
C

Offenses:

/tmp/test.rb:1:26: C: Use next to skip iteration.
ReviewIterator.new(page).each do |review|
                         ^^^^
/tmp/test.rb:4:3: C: Favor modifier unless usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
  unless review_exists?(config, parsed[:review_id])
  ^^^^^^

1 file inspected, 2 offenses detected

Again rewriting this gives no benefits, unless more complex code were to be used as the conditional:
ReviewIterator.new(page).each do |review|
  parsed = parse_review(review)

  next if review_exists?(config, parsed[:review_id])

  reviews << parsed
end

I realize that it's rather difficult to figure out the complexity of code following a next and when to throw warnings or not, but throwing this warning always is a massive overkill.

Is there a way to disable this cop?

Of course - you can disable it just like any other cop in .rubocop.yml.


Logging From Shared Libraries on Windows

I have a cross-platform (Linux & Windows) Qt Application that uses glog for logging (commit: 4d391fe692ae6b9e0105f473945c415a3ce5a401).  The project has a main application with several shared libraries that we wrote.  On Linux (Ubuntu 14.04) glog works as expected.  On Windows (built using mingw-w64 and gcc) any log statement that comes from within a DLL gets written to stdout instead of to the log.  Any log statement from within the main application correctly gets written to the log.  Furthermore, I see WARNING: Logging before InitGoogleLogging() is written to STDERR in the standard output for each time a log statement is created from a DLL for the first time (i.e. if I have 5 DLLs, I see that warning 5 times immediately prior to the first log statement from each DLL).
It seems like Glog is not being shared across the DLLs.  I have tried to call InitGoogleLogging from within each DLL to test this theory, but then I get a run time crash with the following error message in stdout:  Check failed: !IsGoogleLoggingInitialized() You called InitGoogleLogging() twice!.  So it appears that Glog is not being shared however, I can't initialize it in each DLL.
Full disclosure: I had to tweak port.h in order to get glog to build in mingw-w64 by handling pthreads correctly and not redefining localtime_r, but I don't feel this is related.
 #endif  // _MSC_VER

 // ----------------------------------- THREADS
+#ifndef PTHREAD_ONCE_INIT
 typedef DWORD pthread_t;
 typedef DWORD pthread_key_t;
 typedef LONG pthread_once_t;
 enum { PTHREAD_ONCE_INIT = 0 };   // important that this be 0! for SpinLock
 #define pthread_self  GetCurrentThreadId
 #define pthread_equal(pthread_t_1, pthread_t_2)  ((pthread_t_1)==(pthread_t_2))
+#endif

-inline struct tm* localtime_r(const time_t* timep, struct tm* result) {
-  localtime_s(result, timep);
-  return result;
-}
+//inline struct tm* localtime_r(const time_t* timep, struct tm* result) {
+//  localtime_s(result, timep);
+//  return result;
+//}

Also encountered the windows/port.h issue when trying to cross-compile.
Another issue to mention. The headers that are make installed still have the __declspec(dllimport) macro definitions, even when the build is configured to produce a static library. They cause "undefined reference to _imp_[some mangled symbol]" error when linking.

I have the same problem, but in Linux. How should someone approach these situations, in which a dynamic library uses Glog, and my client application also uses Glog? They cannot both call InitGoogleLogging. But the dynamic library cannot drop that Logging initialization call because it can be used in applications without Glog. Shouldn't exist something like InitGoogleSharedLogging?
Moreover, how to approach cases when the shared library and the main client use different versions of a library or one of them has Glog coupled with Gflags and the other not? How to make each one point to its "rightful" library?

InitGoogleLogging should be ideally called only by the application that uses the libraries dependent on glog.
Closing the issue for now, since I cannot reproduce the problem.


Local DB support

Environment info

OS: Windows 7
App Version (Command/Ctrl + ,):  Latest version

Description of the problem / feature request / question:
i created gist in lepton and it give me error gist creation failed because network was done
the gist was completely lost so i think it will be good in case of network down when gist creation is failed , it should save locally gist and when network is ok on sync it should create locally saved gists on github .
Also it will be good if it maintain one local db for gists ,

@darkworks
Thanks for your suggestion!  Adding a local DB support is a good idea. Feel free to play with the code and send a PR if the result turns out to be promising:)

Thanks for your help. I will start the phase one ASAP and send a PR once it's done. If I get any problem, I will ask it here.

@Mesod using something like https://github.com/rt2zz/redux-persist with https://github.com/psperber/redux-persist-electron-storage should help a lot.

Hello everyone, this feature is a must ! How is it progressing ?

no update from mesod , i guess i will have to start work on this feature

Do you mind if I use localStorage?

@maxjing Simply send a WIP PR and we can have a discussion there:) Thanks for contribution:)

Hey guys!
If you used the persist store or the db, you also could make 'hide' feature, so users can use Lepton as a code snippet app.
I was just started make a simple app like this with Electron and found this repo. Can I contribute here?

Hey guys!
If you used the persist store or the db, you also could make 'hide' feature, so users can isolate their snippets and the code chunk for embed.
I was just started make a simple app like this with Electron and found this repo. Can I contribute here?

ya sure please contribute this feature is most wanted feature ,

@sujin2f Feel free to contribute to Lepton! We might have to think about the strategy to resolve conflicts between local state and online state once a local DB is integrated.

@hackjutsu OK. I will make this feature~

Hey is there any update on this so far?

Is there any reason why the gists are not stored locally in github repositories?
one should be able to update the gist in any repository and then sync it.
Lepton can access the local git repositories of the gists, so it works no matter if the user is connected to the internet.


Skip installation of binaries

Hello everyone, i was wondering if there was a way to skip the download and installation of the diffrent binaries (e.g. node_exporter, blackbox_exporter etc.) If the binary is already running on the version defined in the config?
Example:
Node_exporter_version: 1.7.0
Skip install: true if version set via variable is already installes
Thanks
Regards
Adrian

Are you talking about something like this?
https://github.com/prometheus-community/ansible/blob/4e881c667d65eb0110b97c815aa9feb13a845f2f/roles/prometheus/tasks/install.yml#L41
Where you can pass an extra var on the command line like
ansible-playbook ... -e prometheus_skip_install=true
That works for me with the prometheus role. Found by looking in the install.yml task

You can use tags to skip either the install or the download.
You can use --skip-tags install or --skip-tags download to skip the install or download tasks across all the roles (if you run multiple roles in your playbook).
If you only want to skip the download or install for specific roles you can use --skip-tags <role_name>_install or --skip-tags <role_name>_download. For example: --skip-tags blackbox_exporter_install,node_exporter_install etc.

PRs welcome.


WIP Colorbar preset

The ability to store colorbar settings in the application state for later retrieval

Colorbar settings can be savable/loadable/updatable via "presets" key in state
UI added to allow user to name settings, save them, load them, edit them and repeat
Could be serialisable through I/O middleware (future PR)

This is a good step towards preset functionality. The next PR should make colors.py have a sensible defaults() method since presets.py copies the existing state["colorbars'] which may be an empty dict. Essentially, defaults are lost on copy and not updated on preset "load".


[tensorflow_cc] build failure

Host Environment

OS: Windows
Compiler: MSVC 19.16.27032.1

To Reproduce
Steps to reproduce the behavior:
.\vcpkg.exe install tensorflow_cc:x64-windows
Failure logs
PS C:\src\vcpkg> .\vcpkg.exe install tensorflow_cc:x64-windows
Failed at [c:\src\vcpkg\toolsrc\src\vcpkg\packagespec.cpp(82)] with message:
Contains invalid characters. Only alphanumeric lowercase ASCII characters and dashes are allowed

tensorflow_cc ? such a port exists?

Yes it exists!

tensorflow_cc
tensorflow-cc  ! ))

Wow, indeed... Thank you and sorry...


fix: add test and fix for handling repos with bad characters

if a repo name has a bad character, like dot, lets pass it along to the jx pipeline wait command as is

/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jstrachan
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


FAQ

Adding FAQ to the smart-invoice monorepo

These updates are great - thanks @burleebau !

These updates are great - thanks @burleebau !

you're welcome, thanks for the thorough comments - made my job easier ;)


Update folsom to avoid memory leak

See https://github.com/spotify/folsom/issues/103

@spkrka i'm currently testing https://github.com/spotify/heroic/pull/395/files#diff-4628918931b556b0f3e8b5855c0b9737R8 -- I'll pull in your netty version update as well

Oh sorry, I didn't see there already was a PR going for this! I'll close this one.


Apply 'shell best practices' to all the scripts

From here.
May skip some of the elements for the CI caller scripts? Stop-on-error is almost certainly desirable for even those small scripts, though.....

[ ] Make a gist with a template script with all of these recommendations
[ ]

Added and debugged as of f936671


Disable button from triggering validateAll method

Versions:

VueJs: 2.8.2
Vee-Validate: 2.0.0-rc.8

Description:
Hi,
I currently have a page with a form that have multiple buttons, e.g. Submit button, Delete button and a Add button. The Submit button and Add button is placed inside the <form @submit.prevent="validateBeforeSubmit"></form>  The submit button is working as per normal by invoking the validateBeforeSubmit().
However, Is there a way to disable the Add button from enabling the validateBeforeSubmit()? Because the Add button is not suppose to trigger the method. I tried using dynamic scopes but it didn't work for me.
Thanks!

By default in HTML any button will have a default type of submit so you only need to set it to button
<button type="button">Submit</button>

@logaretm Thank you for your help!!


request for a topology

would it be possible for a ubuntu juju lxc/docker based diagram such as https://raw.githubusercontent.com/coreos/flannel/master/packet-01.png to help graps the concepts?

Sure, thanks for the request @slatunje. I wont have time to address this in the upcoming week but it should be do-able the week afterwords. Unless another member of the team can address this before then.
Cheers!

@slatunje I've inserted a modified topology chart - as this currently only supports Docker (hense the flannel-docker name) Once this matures into a generic flannel service subordinate that can be attached to other container infrastructure I'll make sure we have additional charts drafted up for LXC.
As it stands now - its the exact same concept, only with lxcbr0 instead of docker0 as the interface name. The same virtual networking bridges are being created, and service pooling can be done in both platforms. The COREOS chart actually shows a Kubernetes pod deployed, with two containers making up each leg of the micro service.
However, I digress - if you need any further clarification don't hesitate to reach out.


fix: overwrite JDK${JDK_BOOT_VERSION}_BOOT_DIR on solaris

- solaris only build for jdk8, JDK7_BOOT_DIR should use jdk8+ for ant build, set to ansible value
- set variable jar dir to make code simple
- move into function setupAntEnv() to get return javajHome
- remove JDK_BOOT_DIR, because it wont be working for ant build on jdk8

test run looks good: https://ci.adoptopenjdk.net/view/Failing Temurin jobs/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-solaris-sparcv9-temurin/87/
doing new run with final commit: https://ci.adoptopenjdk.net/view/Failing Temurin jobs/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-solaris-sparcv9-temurin/88/console

GH action checks mostly failed in download package from api servers

@andrew-m-leonard helped to correct the value of JDK8_BOOT_DIR on that Solaris node from Jenkins node config (which I do not have permission to view it yet), now we started a new run (with all the code from master branch)
Assume it should get the correct path this time and build should pass. If so, there is no need to the change of JDK8_BOOT_DIR from this PR

the build is working https://ci.adoptopenjdk.net/view/Failing Temurin jobs/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-solaris-sparcv9-temurin/91/console
will have this PR closed, no need to update temurin-build.
if error happen again, ensure the value in Jenkins node setting is correct.


[stable/docker-registry] add support for readiness/liveness probe toggling

Signed-off-by: Boris Kurktchiev<EMAIL_ADDRESS>What this PR does / why we need it:
Adds support to toggle the Liveness/Readiness probes of the container
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] title of the PR contains starts with chart name e.g. [stable/chart]

@jpds @rendhalver

hello @jpds @rendhalver can I get a check on this?

Why do you want to disasble these?
These checks tell Kubernetes when pods need stopping. If you disable them you are bypassing that ability and making your registry potentially unusable in the process.

This is useful in cases where I am testing things or if for some reason I am testing on a k8s platform which doesn’t support http checks and instead has a different mechanism of controlling them. Enabling/disabling checks is pretty standard across most helm charts in this repo at thus point.


Navargs question

I have Screen A which passes an object to Screen B. This object is only used in the screen and I don't need it in the view model.
However, Screen B needs an object from Screen C, which Screen B will need in the view model.
How should I go about this?

@DeemAQ
Did you find the way to do what you wanted? I’m sorry I didn’t answer in time! Do let me know 🙂

Yes thank you I've figured out a way but it took me a while. I made it so Screen A sends the object as navarg to ScreenB, Screen B will receive nav result from Screen C. I was lost a little because it kept throwing me compilation errors and it seems Destinations does not support @Serializable (kotlinx).

Compose destinations does support kotlinx serialization. If you give me more details maybe I can understand why you were not able to use that

Compose destinations does support kotlinx serialization. If you give me more details maybe I can understand why you were not able to use that

@raamcosta - Thanks for all the work on this project! Just a question here, does this project support kotlinx.serialization? From your reply here 2 months ago your saying it's not supported but in the README.md Under Basic Usage it explicitly DOES state it is supported:

Parcelable, Serializable, Enum and classes annotated with @kotlinx.serialization.Serializable (as well as Arrays and ArrayLists of these)

https://github.com/raamcosta/compose-destinations/blob/main/README.md#basic-usage


Error doing job: Task exception was never retrieved

System:
HassIO is running on a Raspberry PI 4 with 4Gb of RAM
Core
Version
core-2021.8.8
Newest Version
core-2021.8.8
Supervisor
Version
supervisor-2021.08.1
Newest Version
supervisor-2021.08.1
Host
Operating System
Home Assistant OS 6.2
Deployment
production
Log info:
This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/googlewifi/switch.py:210
Integration: Google WiFi Integration (documentation, issues)
First occurred: September 1, 2021, 9:54:55 PM (1176 occurrences)
Last logged: 11:24:20 AM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 134, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 265, in _async_refresh
    update_callback()
  File "/config/custom_components/googlewifi/__init__.py", line 308, in _update_callback
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 464, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 498, in _async_write_ha_state
    state = self._stringify_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 468, in _stringify_state
    if not self.available:
  File "/config/custom_components/googlewifi/switch.py", line 210, in available
    self.coordinator.data[self._system_id]["devices"][self._item_id].get(
KeyError: 'B15F4BC3FC43157370628CDD396AE15274EC48F6DF60BCB9CD5C1B9A4E727C30'

When this happen
I couldn't pinpoint what triggers this error. It starts just after restarting the HA and keeps repeting.

I have seen this when a device has disappeared from the Google Wifi history, but is still registered as a device in HA. You can remove and reinstall the integration to get a clean device list, but it may change some of the names so fair warning you may have some automation and Lovelace work to do once you do that.


In the Navigation, when FreeMode is active, pressing prev returns you to the first slide instead of the previous one. Angular Web Components

Check that this is really a bug

[X] I confirm

Reproduction link
https://stackblitz.com/~/github.com/AyuDiego/swiper11-bug
Bug description
In my Angular 17.3 application with Swiper 11.1, I have a bug.
So, there should be some way that with freeMode set to true and sticky set to false, after dragging the slides and hitting the navigation prev, it wouldn't return you to the first slide.The bug consists of when you have freeMode: true and you want to drag the slides, and then when you hit the navigation prev, the slide won't go to the previous one from the one you see in the middle, but to the 1st slide regardless of where it is after dragging it. If you put it with the sticky property, it's true that this is solved but it removes the functionality of the slide staying in the place where you release the click.
Expected Behavior
So, there should be some way that with freeMode set to true and sticky set to false, after dragging the slides and hitting the navigation prev, it wouldn't return you to the first slide.
Actual Behavior
The only solution I see is to leave it as sticky, but then the functionality is deactivated when it's not sticky because it doesn't work properly otherwise. I'm not sure if there's any other solution.
Swiper version
11.1
Platform/Target and Browser Versions
Windows 10
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[x] I'm willing to open a PR

Can someone add the bug to the Angular label ?


support on fly test of tools

allow user to create observation inputs on web ui to test the effectiveness of tuned model using tools.

LGTM!


Use client side navigation on Logo.js

:page_facing_up: Description:
Use react-navigation Link on Logo.js in order to prevent app reloads.
That helps us with two tings:
Avoid reloading the whole app when Logo is clicked.
Makes Lazy loaded pages to be requested just once.

:pushpin: Notes:

Include TODOS, warnings, things other developers need to be aware of when merging, etc.

:heavy_check_mark: Tasks:

Write the list of things you performed to help the reviewer.

:play_or_pause_button: Demo:
Before:

After:

@loopstudio/react-devs

Thanks, for being such an active contributor 💪
I already fixed this in the last merged PR 😅 . If you rebase master you will get this change. See https://github.com/loopstudio/react-app-boilerplate/pull/258

Nice catch! @donatoaguirre24 just fixed this earlier today on this PR https://github.com/loopstudio/react-app-boilerplate/pull/258 Your contribution is really appreciated anyway! 😄 🔥

Oh, I forgot to update my fork before having a look on the code 😅


Send variables to webhook/automation/script ?

I was trying to see if passing variables would work, directly from the sip-1-incoming.yaml
this is testing of an audio control menu, and to be able to use the same script (one script for multiple purposes)
But I cant figure out if this is going through, or if I'm doing something wrong
'5':
id: audio_main
message: audio sub menu, select number
choices:
'1':
id: sub01
message: next playlist
action:
domain: script
service: toggle
entity_id: script.sip_audio_control
service_data:
variables:
test: 665
post_action: return 1
'2':
id: sub02
message: previous playlist
action:
domain: script
service: toggle
entity_id: script.sip_audio_control
service_data:
variables:
test: 667
post_action: return 1
idea was to send use a variable to tell the script what to do, instead of having single scripts for every control..
Would this be possible to do ?

I implemented that in version 3.4 available on the next repo at https://github.com/arnonym/ha-plugins-next
Can you add that additionally to your home-assistant and test if this is working for you? For that you need to copy your configuration from the ha-sip to the ha-sip-next add-on and change the slug in your automations from c7744bff_ha-sip to 8cd50eef_ha-sip-next. Also stop ha-sip and run ha-sip-next. If your feedback is positive I will release that to the non-beta repo!
Example and syntax see:
https://github.com/arnonym/ha-plugins-next#trigger-services-through-dtmf-on-an-outgoing-call

i tried installing, but got this
Failed to install add-on
Can't install agellhaus/amd64-ha-sip-next:3.4: 404 Client Error for http+docker://localhost/v1.43/images/create?tag=3.4&fromImage=agellhaus%2Famd64-ha-sip-next&platform=linux%2Famd64: Not Found ("manifest for agellhaus/amd64-ha-sip-next:3.4 not found: manifest unknown: manifest unknown")

I noticed I only built -next for aarch64 and not amd64. I will build the image now, will be available soon.

variables seems to work fine, i get the 'test' variable to hold 665
        '5':
            id: audio_main
            message: audio sub menu, select number
            choices:
                '1':
                    id: sub01
                    message: next playlist
                    action:
                        domain: script
                        service: turn_on
                        entity_id: script.sip_audio_control
                        service_data:
                            variables:
                                test: 665

This would work inside a home-assistant automation, but not with the incoming.yaml, because this is not parsed by home assistant.

Any idea when 3.4 will be released? I would like to use this for my scripts as well. If it is anytime soon, I will wait for it :)

This was released just now.


Cannot run bf.go example

When I copy bf.go into my project and run it I get the following output:
../esp/go/pkg/mod/github.com/milosgajdos83/go-estimate@v0.0.0-20190409000106-fec0aabc4d5e/noise/gaussian.go:44:32: g.dist.CovarianceMatrix(nil) used as value
But if I run it from the examples dir it works as expected.

+1

Hi, thanks for opening the issue.
The examples build well if built as part of the project (make examples) because when you run make dep it vendors the dependencies into vendor/ subdirectory (not tracked by git).
Dependency vendoring is done using godep which honours the versions of the packages locked in Gopkg.lock, which locks the gonum/stat package (used in nosie/gaussian.go) to:
revision = "169ee079a3fcd6706a67702cf202192814167c28"

as you can see here
However, if you copy over any of the examples outside the project and try to vendor them on their master revisions i.e. on the latest available dependencies the build will fail as you've just noticed
The reasons is the change in gonum/stat package which changed the stat/distmv/normal.go API as can be seen here vs. the locked old version here which is used in go-estimate.
I suspect you are using go modules (based on the output of your commands) which is beta in 1.12?
Unfortunately go mod support in this library is very alpha. Clearly, it needs to be sorted to prepare for the next release of go.
I will have some time for this hopefully early next week to look into this, for the time being, when trying to compile the examples outside the project you will have to pin gonum dependency to some commit before the 169ee079a3fcd6706a67702cf202192814167c28 revision of gonum/stat as described earlier.
If you find some time to fix this for everyone I welcome PRs :-)

I have updated and cleaned up project dependencies.
Thanks again for raising an issue as it has highlighted the chaotic mess the dependency tree was in! As you can see by inspecting go.mod or Gopkg.toml they're now much leaner and cleaner.
I've tested the build using the go mod, so you should be able to verify it using the following steps:

copy bf.go outside project directory tree
change to the directory where you copied bf.go
run export GO111MODULE=on to enable go module support
go mod init
go build
profit :-)


Fix labelling of languages in documentation example

Overview: What does this pull request change?
Confused Chinese and Japanese, fix it.
Motivation and Explanation: Why and how do your changes improve the library?

Links to added or changed documentation pages

Further Information and Comments

Reviewer Checklist

[ ] The PR title is descriptive enough for the changelog, and the PR is labeled correctly
[ ] If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
[ ] If applicable: newly added functions and classes are tested

LGTM, can't tell if the supposed "Japanese" text actually means anything, but at least the Chinese text is really Chinese.

I couldn't understand it either, it was like a series of characters copied from the dictionary.  Maybe we can replace it with a meaningful sentence.


Update manual Cairo bindings for string parameters

This is largely just a refactoring to make the manual bindings consistent with the generated bindings after #803, using the new string handle classes
For string return values this adds some more type safety over IntPtr, and fixes a couple nullable warnings from the usage of StringHelper.ToStringUtf8(). FontOptions.Variations should have actually been a nullable string, while ToyFontFace.Family is correct to be a non-nullable string.

[x] I agree that my contribution may be licensed either under MIT or any version of LGPL license.

Thank you!


Question about training-stage1

Based on my understanding, during the stage-1, you don't use the pose encoder to get the pose feature, but you randomly initialized geometry-feature and uv-coord-map using" uv_coord_map = getIdxMap_torch(torch.rand(3, posmap_size, posmap_size)).cuda()" and "geo_feature = torch.ones(1,self.net_parms.c_geom,self.model_parms.inp_posmap_size,self.model_parms.inp_posmap_size).normal_(mean=0., std=0.01).float().cuda()
self.geo_feature = nn.Parameter(geo_feature.requires_grad_(True))".
I am confused about the optimization, you said you just use these two tensor to capture the geometry feature and appearance feature. But how can you make sure they can capture the feature you want. Which operation and intuition that make it work as you want?
If we start from the posed SMPL and take the point from its surface to get the uv_coord_map, that's works. However, during the stage1, I can't see the relationship between the posed body points and uv_coord_map because you just generate the uv_map_coord randomly.
I would appreciiate it if you can give me some help.

Hi, It's a good question.
The pose_featmap = None (https://github.com/aipixel/GaussianAvatar/blob/d981c62238ef64e89dcc04719d2ebbb4758b080a/model/avatar_model.py#L302) in Stage 1, the mean appearance features are learned by the geo_featrue.


Phase 3 deployments

Deploying the v0 protocol contracts on Harmony, Metis, Milkomeda, Moonbeam, Moonriver, RSK

@bdrhn9

Run the verify-deployment script for all newly deployed networks and see that the verification is successful
Check the block explorers to see that all 3 contracts are verified (not available for metis, milkomeda, rsk)
Run the generate-references script to see that deployments/references.json content remains the same
Approve the PR

I'll merge if Harmony is working by then

Waiting for @aquarat to confirm that we have a fix for harmony to merge


Fixed fetching of index

Previously was using sheetId which could be non uniform. I.e. adding and
removing sheets could cause the numbers to be inconsistent with what
ends up in the archive.
Using the index in which they appear in the sheetsElements allows for
this inconsistency, this way the first sheet is always index 1, and is
sheet1.xml in the archive.
Fixes #4

Thanks for the addition to this project :)

No worries, glad I could get it sorted, its a major helper with my current project so thank you very much for the great package!


Add mode to use contenteditable as io

Is your feature request related to a problem? Please describe.
Using textarea as io is suitable for most case, however there are several things impossible to do with textarea, such as changing font-size or adding padding to words.
Describe the solution you'd like
Add option to use contenteditable instead of textarea.
Describe alternatives you've considered
Nothing.
Additional context
Nothing.

I would love this. I discussed this a couple months ago, lamenting how nothing like this exists for the web. This library gets close — but it would be great to have the ability to change font size and font weight as well.

https://github.com/yuneco/canvas-draw-styled-text

https://github.com/w3c/csswg-drafts/issues/4603

When will this be available, I am waiting for it for so long..

Hi, I've been experimenting with contenteditable recently to make a new library. Please post here if you have something necessary for your usecase, to judge which features are needed for the MVP.

Closing because it is supported in the other package. The repo will be available soon...
https://github.com/inokawa/edix


feat: custom icon compiler

As described in https://github.com/antfu/unplugin-icons/issues/109  there are situations where Application built in compiler based frameworks want to utilize custom icon components.
Thess custom compilers could be provided inline in the plugin config or via 3rd party packages.
To enable using them the compiler: string option could be changed to allow  passing a compiler function directly.
eg
import customCompiler from 'some-package'
Icons({
  compiler: svg => { const compiledSvg='do stuff'; return compiledSvg;}
})

import customCompiler from 'some-package'
Icons({
  compiler: customCompiler()
})

I'll take a look when I have time...


Pin to 19.09

We have a bunch of issues that are fixed in newer nixpkgs, and I've given up waiting for iohk-nix to move on. (I think it will happen, it just might be a matter of months still.)
This seems to go okay. There's an issue with the generated purescript which I'm looking into.
I'm putting this up partly so that things get cached by hydra.

Seems to work now!
I'd really appreciate @krisajenkins or @shmish111 having a look at the purescript stuff, since I have no idea what I'm doing. I had to:

Remove some "resolutions" from the package.json and redo the deps, since otherwise it complained that they were somehow "impossible".
Mess around with the builder code since yarn2nix now puts stuff in slightly different places.

There is one main annoyance which is that yarn2nix itself won't seem to build on hydra, for reasons I don't totally understand (but see the linked issues in the yarn2nix repo). So I had to leave it out of the update deps script, you can just uncomment that line when you want to use it and it'll work locally :man_shrugging:

There will be some followup stuff later, this is just getting things building.

If you've managed to remove the resolutions, that would be brilliant. But does it work on OSX and Nixos?

But does it work on OSX and Nixos?

How do I tell if it works?

I'm trying it now. Wait for the screams and determine if they're "of pain" or "of joy".

Hmm...I'm getting this:
Building library 'plutus-playground-usecases' for plutus-playground-server-<IP_ADDRESS>..
[1 of 5] Compiling CrowdFunding     ( usecases/CrowdFunding.hs, dist/build/plutus-playground-usecases/CrowdFunding.o )
[2 of 5] Compiling Game             ( usecases/Game.hs, dist/build/plutus-playground-usecases/Game.o )
[3 of 5] Compiling Messages         ( usecases/Messages.hs, dist/build/plutus-playground-usecases/Messages.o )
[4 of 5] Compiling Starter          ( usecases/Starter.hs, dist/build/plutus-playground-usecases/Starter.o )
[5 of 5] Compiling Vesting          ( usecases/Vesting.hs, dist/build/plutus-playground-usecases/Vesting.o )
/nix/store/b3chq9jg2vsf6v39jjf59wzx9qhn38lj-cctools-binutils-darwin/bin/ranlib: object: dist/build/plutus-playground-usecases/libHSplutus-playground-server-<IP_ADDRESS>-ZfMTD62Jrz99rLB0QgiTH-plutus-playground-usecases-ghc8.6.4.a(cryptlib.o) malformed object (unknown load command 1)
`ranlib' failed in phase `Ranlib'. (Exit code: 1)
builder for '/nix/store/jzabg29mniw7wjnd706vkd8jg4j8s91w-plutus-playground-server-<IP_ADDRESS>.drv' failed with exit code 1
cannot build derivation '/nix/store/0cm0a51p2xcz7n3bp5j9kj4p3grp1cr5-plutus-playground-server-6a174950c16fd9806d16ebaa91934bb9639184c1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/4dwfcrzr00j99vikcf7r1714pp4x5cyc-plutus-playground-purescript.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/h6fgwp96f594ad9xp7kvbqgbnfgdjnlc-plutus-playground-client.drv': 1 dependencies couldn't be built
error: build of '/nix/store/h6fgwp96f594ad9xp7kvbqgbnfgdjnlc-plutus-playground-client.drv' failed

...which is galling, because the 19.09 update's supposed to help with OSX compatibility.

yikes

It works on hydra's macOS builders... What version of macOS are you on? And can you try with sandboxing on?

I'm on 10.14 (Mojave). Hmm...sandboxing dies with a fascinatingly different error.
Installing .spago/web-xhr/v3.0.2.
done.
dyld: Library not loaded: /usr/lib/libz.1.dylib
  Referenced from: /nix/store/rvm2xjcsj1gc4nbgqa5srg31sx9xh9yg-purescript/bin/purs
  Reason: no suitable image found.  Did find:
        /usr/lib/libz.1.dylib: file system sandbox blocked stat()
        /usr/lib/libz.1.dylib: file system sandbox blocked stat()
/nix/store/lpwlxlyskgdj11disk9acqya6wd0sjp2-stdenv-darwin/setup: line 1358:  4663 Abort trap: 6           purs compile 'src/**/*.purs' 'test/**/*.purs' 'generated/**/*.purs' '../web-common/**/*.purs' '.spago/*/*/src/**/*.purs'
builder for '/nix/store/r8qq0s8kvrf3mpy5s58qx8pn2brrqikd-plutus-playground-client.drv' failed with exit code 134
error: build of '/nix/store/r8qq0s8kvrf3mpy5s58qx8pn2brrqikd-plutus-playground-client.drv' failed

Yeah, https://logs.nix.samueldr.com/nix-darwin/2019-07-04 suggests it's something to do with the impure stuff in your environment.
It looks like some things won't work without sandboxing off, so we might have to try and fix the impure stuff :grimacing:

Sigh, purescript isn't patchelf'd on darwin: https://github.com/justinwoo/easy-purescript-nix/blob/master/purs/mkPursDerivation.nix#L10

Welcome to hell, here's your accordion.
Looks like Xcode might well be out of date on my machine. I'll try updating and rebuilding.

Alternatively, try: --option sandbox true --option extra-sandbox-paths '/System/Library/Frameworks /System/Library/PrivateFrameworks /usr/lib /private/tmp /private/var/tmp /usr/bin/env' (stolen from that IRC history)

Green :tada:

Ooh, that extra-sandbox-paths line worked. 🎉

Does that mean it works? I haven't tried running it yet.

Okay, I ran a local playground and it works. Given that it builds on darwin, I'm going to assume it probably works there too.
I'll add the sandboxing information to the readme. With that in mind, let's try this.


2 Title cards in pre-built views

Describe the bug
A clear and concise description of what the bug is.
There are 2 title cards for the prebuilt views
To Reproduce
Steps to reproduce the behavior:

Go to 'any pre-built view'
See error

Expected behavior
A clear and concise description of what you expected to happen.
1 title card to be shown
Screenshots

Additional context
Add any other context about the problem here.

@DigiLive I can't seem to find out why is this happening. Mind taking a look

Hello! It looks like this fix should be in v1.0.0, but I just upgraded to v1.0.0 (from 1.0.0-alpha-2) and I am now seeing two title cards on the pre-built views (I did not see two title cards in alpha-2).

That's odd, can you check v1.0.1?

Unfortunately, I can't tell as that version doesn't work for me. I get a spinner followed by

Error loading the dashboard strategy:
Error: Timeout waiting for strategy element ll-strategy-mushroom-strategy to be registered

(Tried reinstalling from scratch, and tried going back to the default configuration)
If it helps, I am using Mushroom 3.1.0, mini-graph-card 0.11.0, and the current version of HomeAssistant:

Home Assistant 2023.9.3
Supervisor 2023.09.2
Operating System 10.5
Frontend 20230911.0 - latest

Error loading the dashboard strategy:
Error: Timeout waiting for strategy element ll-strategy-mushroom-strategy to be registered
This error usually pops up when the component hasn't been installed properly and cache hasn't been cleared. Can you confirm with me that you cleared the cache? using incognito automatically rebuilds the cache so that is another tool to see if its working properly.

Ah, good to know, thanks.  Yes, clearing the browser cache fixed that second issue, and updating to 1.0.1 seems to have fixed the two-title-cards issue.


[CPP] Support V4 TsFile

The format of TsFile is going to evolve to V4 and TsFile-CPP should also be updated.

https://github.com/apache/tsfile/pull/345
Implemented the writing process for the table model. The following still need to be implemented/fixed:

Add support for the tree model in v4.
In the table model:

Fix the serialization and deserialization process for device names in the index section.
Implement LogicTableSchema.
Support encryption.

Add support for aligned time series in the table model.


Add functionality to display most recently used tools at the top of tool list

Description:
We need to implement a functionality where, when a tool is clicked or used, it is moved to the top of the tools list. Additionally, the first three most recently used tools should have a "Recently Used" label. This order and the "Recently Used" status should persist even after refreshing the page by storing the data as a JSON object token.
Acceptance Criteria:
When a tool is clicked or used, it moves to the top of the tools list.
The first three tools in the list should display a "Recently Used" label.
The tools list should automatically reorder after a tool is used, with the most recently used tool appearing first.
The state should be stored as a JSON object token to ensure that the recently used tools persist across page refreshes.
The order of the tools and the "Recently Used" labels should remain consistent during the session and after refreshing the page.
This feature should be implemented for all tools on the tools page.

https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage


Published model parameters

Update published model parameters to include the original first order linear models as defined in previous version as well as MIMICS, DAMM, MEND and DEMENT(?).

TECO, Century and CLM added to YASSO. Still need to add the nonlinear models. 5dcb8124f62fbc9a7829fe19c940779667d8f787 d73b0a517a056e15e233e83cbff76df80881165f