Use Official CouchDB 3.1 Image

Fabric 2.2 removes official support for CouchDB 2.x.
The migration to 3.1 was to address fsync issues
in the underlying storage implementation in Couch.
This change moves to CouchDB 3.1 which requires the
user to now set an admin identity at startup.
Signed-off-by: Brett Logan<EMAIL_ADDRESS>

1 It is long desired. In China community, a frequently asked question is difference between fabric-couchdb vs native couchdb.


Container has not been setup - have you initialized the Platform provider?

I am getting error Container has not been setup - have you initialized the Platform provider?
More detail:
  at Shiny.ShinyHost.get_Container () [0x00007] in d:\a\1\s\src\Shiny.Core\ShinyHost.cs:71
  at Shiny.ShinyHost.Resolve[T] () [0x00000] in d:\a\1\s\src\Shiny.Core\ShinyHost.cs:28
  at Shiny.AndroidShinyHost.OnRequestPermissionsResult (System.Int32 requestCode, System.String[] permissions, Android.Content.PM.Permission[] grantResults) [0x00000] in d:\a\1\s\src\Shiny.Core\Platforms\Android\AndroidShinyHost.cs:45
  at KegID.Droid.MainActivity.OnRequestPermissionsResult (System.Int32 requestCode, System.String[] permissions, Android.Content.PM.Permission[] grantResults) [0x0000a] in <e44df11464e843d78cd73b12b3865c3a>:0
  at Android.App.Activity.n_OnRequestPermissionsResult_IarrayLjava_lang_String_arrayI (System.IntPtr jnienv, System.IntPtr native__this, System.Int32 requestCode, System.IntPtr native_permissions, System.IntPtr native_grantResults) [0x00038] in <82e50ec67af648c3b9f43b3d70e21b96>:0
  at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.19(intptr,intptr,int,intptr,intptr)

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[x] iOS
[x] Android
[x] UWP
[ ] watchOS
[ ] tvOS
[ ] Tizen
[x] .NET Standard

Feature Library

[x] Core
[ ] BluetoothLE
[ ] Beacons
[x] Locations
[ ] HTTP Transfers
[ ] Notifications
[ ] Sensors

Version of Library
Core <IP_ADDRESS>1-beta
Locations <IP_ADDRESS>1-beta
IDE information
Microsoft Visual Studio Professional 2019
Version 16.4.2
VisualStudio.16.Release/16.4.2+29613.14
Microsoft .NET Framework
Version 4.8.03752
Installed Version: Professional
Visual C++ 2019   00435-60000-00000-AA694
Microsoft Visual C++ 2019
ADL Tools Service Provider   1.0
This package contains services used by Data Lake tools
ASA Service Provider   1.0
ASP.NET and Web Tools 2019   16.4.457.38025
ASP.NET and Web Tools 2019
Xamarin   <IP_ADDRESS>7 (d16-4@e031886)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer   <IP_ADDRESS>4 (remotes/origin/d16-4@4abf337c3)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates   16.4.25 (579ee62)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK   <IP_ADDRESS> (d16-4/f2c9364)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: bef1e63
Java.Interop: xamarin/java.interop/d16-4@c4e569f
ProGuard: xamarin/proguard/master@905836d
SQLite: xamarin/sqlite/3.28.0@46204c4
Xamarin.Android Tools: xamarin/xamarin-android-tools/master@9f4ed4b
Xamarin.iOS and Xamarin.Mac SDK   <IP_ADDRESS> (0d8fe21)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Version of OS(s) listed above with issue
Android 10 (Q)
Windows 10
Steps to Reproduce

Created Xamarin forms application, Installed Shiny.Core and Shiny.Locations from Nuget manager
Run android application, in App.xaml.cs => onstart() I have a depenedcy Service
                   var permission = await DependencyService.Get<IPermission>().VerifyStoragePermissions();
getting exception above line

Expected Behavior
It should not throw exception run as expected
Actual Behavior
Getting error
System.ArgumentException: 'Container has not been setup - have you initialized the Platform provider?
Note : I am using Prism MVVM Pattern

There is no IPermission in Shiny
You haven't even attempted to provide nearly enough detail, but that error means you haven't followed the setup instructions.

Hi @aritchie I am not sure why you close this issue I have given all the information what I have it and "IPermission" it is my custom code where I am getting permission even it is not about getting permission from "IPermission" only but even it is given error not sure how would I fixed it?
I have implemented all the stuff what is documented and even downloaded sample as well and cross checked with it so I am completely block now

I've closed it because this isn't tech support.  You would only get that error because you are missing the bootstrap setup.  If you still feel you've done everything right in your cross checking, then supply an actual SMALL reproducible test case.  Please don't file anything else here until you can provide those details.

Thank you @aritchie for you quick reply problem was
#if DEBUG [assembly: Application(Debuggable = true)] #else [assembly: Application(Debuggable = false)] #endif
I have written in AssemblyInfo it was required in "MainApplication"
now this problem is solved but unfortunately Shiny.Locations OnReadingReceived is not firing I am just attaching demo app please check
Note : some nuget packages is creating issue my observation
ShinyPrismSample-master.zip

Have you asked your user for location permissions?
As I said earlier, this is not tech support!!!  I'm not looking through your code piece by piece as you learn to use things.  You have to find a bug or crash - then present a case with something other than "this doesn't work".


Test rsgcn

Adding dropout_ratio attribute to control dropout ratio in RSGCN.
Added a test for RSGCN

forward
backward
graph isomorphism invariant

Codecov Report

Merging #146 into master will increase coverage by 1.38%.
The diff coverage is 83.05%.

@@            Coverage Diff             @@
##           master     #146      +/-   ##
==========================================
+ Coverage   75.44%   76.82%   +1.38%
==========================================
  Files          77       78       +1
  Lines        3213     3271      +58
==========================================
+ Hits         2424     2513      +89
+ Misses        789      758      -31

Regarding stochastic behavior of dropout in RSGCN, we can fix a mask by holding an instance of F.Dropout in RSGCN and reuse it in every call. We do not want such deterministic behavior in ordinal use cases, one way is to add an option to RSGCN to switch stochastic/deterministic behavior of dropout. See the test of Dropout in Chainer (link).

Is this change enough?

Regarding my previous comment, it is OK to focus on deterministic behavior of dropout in another PR.

Could you merge if there is no request changes?

Example tests passed.

I created #153 for the dropout issue.


samples: sysview: limit to systems with enough ram

When we enabled SEGGER support on the ST SoCs we now how some systems
with really small amounts of memory that the sample can't be built for.
Set a min_ram to exclude such systems.
Signed-off-by: Kumar Gala<EMAIL_ADDRESS>

Codecov Report

Merging #8644 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8644      +/-   ##
==========================================
+ Coverage   64.23%   64.23%   +<.01%
==========================================
  Files         440      440
  Lines       42093    42093
  Branches     7072     7072
==========================================
+ Hits        27039    27040       +1
+ Misses      11828    11827       -1
  Partials     3226     3226

Impacted Files
Coverage Δ

samples/philosophers/src/main.c
98.43% <0%> (+1.56%)
:arrow_up:

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 f8c6894...f1257af. Read the comment docs.


Automate artifact publishing during CI release

The list of features include:

TextileCore cocoapod

This will involve updating some version numbers in a template text file and running a pod trunk push command from a macOS build server
This cocoapod pulls Mobile.framework and the generated pb classes from GH releases when the user installs the cocopod.

mobile maven artifact

This publishes the mobile.aar as a maven package
It will involve renaming mobile.aar to mobile-<version>.aar, renaming a template pom file and updating some version numbers in that pom file and then running a shell script that uses curl and the Bintray REST API to upload the artifacts to Bintray.

pb maven artifact

This will involve copying the generated Java pb classes into a skeleton Android project, updating the version number in that project's build.gradle and then building the project and uploading the result to Bintray (via gradle command).

js-types npm module

We're already creating it, just needs to be published to NPM

I have been doing all this from my computer, so I have all the needed files and it "works"


Wrong textedit range is returned

Open new one since #4545 is closed.
Even with the fix in #4545, I still can repro this issue.
Here is the test snippet with | is where cursor is.
pub fn test() {
    for index in 0..3 {
        let t = in|
    }
}

The log:
[Trace - 10:59:05 AM] Sending request 'textDocument/completion - (225)'.
Params: {
  "textDocument": {
    "uri": "file:///c%3A/Data/projects/rust/playground/c15/src/lib.rs"
  },
  "position": {
    "line": 2,
    "character": 18
  },
  "context": {
    "triggerKind": 1
  }
}

[Trace - 10:59:05 AM] Received response 'textDocument/completion - (225)' in 36ms.
Result: [
...
  {
    "textEdit": {
      "range": {
        "start": {
          "line": 2,
          "character": 16
        },
        "end": {
          "line": 2,
          "character": 16
        }
      },
      "newText": "index"
    },
    "label": "index",
    "kind": 6,
    "insertTextFormat": 1,
    "filterText": "index",
    "deprecated": null,
    "additionalTextEdits": []
  },
...
]

The returned range is incorrect since I've already type in.
The range should be start : {line: 2, character: 16}, end: {line:2, character: 18} instead.
With current range, it will just insert index right before in and we get indexin after textEdit is applied.
For comparison, this is what I get if I typed imdex instead
  {
    "textEdit": {
      "range": {
        "start": {
          "line": 2,
          "character": 16
        },
        "end": {
          "line": 2,
          "character": 18
        }
      },
      "newText": "imdex"
    },
    "label": "imdex",
    "kind": 6,
    "insertTextFormat": 1,
    "filterText": "imdex",
    "detail": "i32",
    "deprecated": null,
    "additionalTextEdits": []
  },

@bnjjj

Ok thanks, I will check :)

I think this was fixed a while ago

@matklad No if you're referred to #45454, it's not completely fix the issue.
The returned range is still being wrong.
Can you please re-open this issue? I've tested it with 07-06 release and it still happens.

This is now working for me:
        {
            "label": "index",
            "kind": 6,
            "detail": "i32",
            "deprecated": false,
            "filterText": "index",
            "insertTextFormat": 1,
            "textEdit": {
                "range": {
                    "start": {
                        "line": 5,
                        "character": 16
                    },
                    "end": {
                        "line": 5,
                        "character": 18
                    }
                },
                "newText": "index"
            },
            "additionalTextEdits": []
        },

@kiennq can you please retest?

This is now working for me:
        {
            "label": "index",
            "kind": 6,
            "detail": "i32",
            "deprecated": false,
            "filterText": "index",
            "insertTextFormat": 1,
            "textEdit": {
                "range": {
                    "start": {
                        "line": 5,
                        "character": 16
                    },
                    "end": {
                        "line": 5,
                        "character": 18
                    }
                },
                "newText": "index"
            },
            "additionalTextEdits": []
        },

@kiennq can you please retest?

I can confirm it's fixed now.

I can confirm it's fixed now.


RWMol should reset(), not release(), dp_delAtoms and dp_delBonds

Simple fix to use reset() instead of release()
Thanks to @rvianello for pointing this out.

thanks, I'm glad it helped.


GH-43719: [C++] Clarify the way SIMD-enabled agg kernels come from the same code in different compilation units

Rationale for this change
More than once I've been confused about how the SimdLevel template parameters on these kernel classes affect dispatching of kernels based on SIMD support detection at runtime [1] given that nothing in the code changes based on the parameters.
What matters is the compilation unit in which the templates are instantiated. Different compilation units get different compilation parameters. The SimdLevel parameters don't really affect the code that gets generated (!), they only serve as a way to avoid duplication of symbols in the compiled objects.
This PR organizes the code to make this more explicit.
[1] https://github.com/apache/arrow/pull/7871#issuecomment-2291615590
What changes are included in this PR?

Introduction of aggregate_basic-inl.h
Moving of the impls in aggregate_basic-inl.h to an anonymous namespace
Grouping of code based on the function they implement (Sum, Mean, and MinMax)

Are these changes tested?
By the compilation process, existing tests, and benchmarks.

GitHub Issue: #43719

@kou where would I change CMake code to skip the installation of -inl.h headers?

I checked binary size impact: arrow-acero-aggregate-benchmark only grew by 120 bytes.

Could you add internal to file name like aggregate_basic_common_internal.h?
See also: https://github.com/apache/arrow/blob/2767dc55cb41377af6895141f717475d73b2892d/cpp/cmake_modules/BuildUtils.cmake#L956-L958

Could you add internal to file name like aggregate_basic_common_internal.h? See also:
https://github.com/apache/arrow/blob/2767dc55cb41377af6895141f717475d73b2892d/cpp/cmake_modules/BuildUtils.cmake#L956-L958

I need to end it with -inl.h to follow the pattern found in many C++ codebases [1]. I can rename it to aggregate_basic_internal-inl.h.
[1] https://github.com/facebook/folly/blob/main/folly/channels/ChannelProcessor-inl.h

I thought the rule only matched on internal.h but having internal anywhere in the file name will do. Thanks.

@ursabot please benchmark command=cpp-micro --suite-filter=arrow-acero-aggregate-benchmark --benchmark-filter=MinMaxKernel* --iterations=3

Thanks for the changes!

Seems lint failed

Seems lint failed

It's the -inl.h file prefix. I need to find a way of allowing - in this case and this case only in the linter.

Hey @felipecrv, I recently made changes to the @ursabot and forgot to update the help message, sorry! You don't need to add the --iterations=3 anymore (it will default to 6 repetitions now). That's why the benchmark builds were failing.

@ursabot please benchmark command=cpp-micro --suite-filter=arrow-acero-aggregate-benchmark --benchmark-filter=MinMaxKernel*

@austin3dickey can I run something on my machine to test these benchmark filters? I'm confused about why they don't match any benchmark here.

Yeah @felipecrv, it looks like they ran. I just noticed we don't run this suite on the main branch commits right now, which is why there's no baseline. I'm not exactly sure why we don't; there might have been a segfault or something at some point in the past. I can try to kick off a manual run of this suite on the default branch for you and post a comparison here.

can I run something on my machine to test these benchmark filters?

Yes, you can install archery and do archery benchmark run --suite-filter arrow-acero-aggregate-benchmark --benchmark-filter MinMaxKernel*

Okay, I ran a similar run on the latest main commit for the three machine types we ran above. Here are the comparisons:

amd64-c6a-4xlarge-linux
amd64-m5-4xlarge-linux
arm64-t4g-2xlarge-linux

There isn't a z-score comparison because we don't have a distribution of baseline results to compare to; just the one. But you can look at the percent change column.

Thank you so much @austin3dickey!

@github-actions crossbow submit -g cpp


Feature request: dask.dataframe.to_xarray()

See https://stackoverflow.com/questions/60896303/dask-convert-a-dask-dataframe-to-an-xarray-dataset/60904272#60904272
There is an equivalent method in pandas (pandas.DataFrame.to_xarray) and xarray has the method to convert to a dask.dataframe. (xarray.Dataset.to_dask_dataframe)
My motivation is I was showing how a package I developed xskillscore can be dropped in to your work flow if you are using pandas.DataFrame's (https://github.com/raybellwaves/xskillscore-tutorial/blob/master/01_Determinisitic.ipynb). Because xskillscore is an extension of xarray it works with dask. I was looking to repeat this workflow using a dask.dataframe. In the end I went with the dask.array approach (https://github.com/raybellwaves/xskillscore-tutorial/blob/master/03_Big_Data.ipynb).
@mrocklin @TomAugspurger apologies for the tagging. you may know if there are xarray devs here who may be interested.

Thanks for raising an issue @raybellwaves. In theory a .to_xarray() method seems in scope as there's an equivalent pandas method.
cc @shoyer @jhamman who may have thoughts on this topic

We have xarray.Dataset.to_dask_dataframe, but not from_dask_dataframe yet. I would suggest implementing that method in xarray first, which dask could call. That's the equivalent of what we do for pandas's to_xarray.
I think this could probably be done, but some care would need to be taken to do so in an efficient manner.

@shoyer in general, how well does xarray handle arrays with unknown chunk sizes? We can optionally compute the chunk sizes if desired, but the default would result in unknown sizes.

I'm not sure. In theory it could be OK if there are no coordinate labels,
but I don't think we have any builtin support for unsized dimensions
currently.
On Thu, Apr 2, 2020 at 10:49 AM Tom Augspurger<EMAIL_ADDRESS>wrote:

@shoyer https://github.com/shoyer in general, how well does xarray
handle arrays with unknown chunk sizes? We can optionally compute the chunk
sizes if desired, but the default would result in unknown sizes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/6058#issuecomment-608008241, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJJFVTSQNOYLQ7HPUEHWRTRKTF2FANCNFSM4L2KRCWA
.

XREF PR in xarray: https://github.com/pydata/xarray/pull/4659


Bring back alpine 3.11 but keep node at 16.19.1

fixes microsoft/vscode#178748

Continuing our conversation:

@joaomoreno our only option is to roll back https://github.com/microsoft/vscode-linux-build-agent/commit/007bc8f06eeafb5fbe7d3c1d437e519e4696e054 which will then use alpine:3.13 as base and that will compile our native node modules to depend on older libstdc++ version if we want to address it for this milestone.

@deepak1556 would this approach also work? That is, build the right NodeJS version in the Alpine version that we plan to support.


Can't access options from the Map Board, Flag Pole and Arsenal in the HQ (init/compositions branch)

After starting a New Game and choosing AAF as the enemy, I couldn't use any of the HQ options/actions except Mission Request from Petros.
Tested with ACE mod

Fixed in 635b705f5ad81bca0f04cd5ca4869f454ac0fa04. Thanks!


Scrolling quickly over popovers prevents removal from DOM

Hi. I have a really weird issue. It seems like everything is working as intended EXCEPT for the final removal of the element from the DOM. This happens when I trigger a number of popups at once. It's not consistent. Sometimes they'll hide just fine, sometimes they'll fade out but not be removed. Mousing over and out of a "failed" one will cause it to work as intended again. No errors appear in the console. Here's the code and images pertaining to the state of the elements.
    constructor(props){
        super(props);
        this.disableTooltip = this.disableTooltip.bind(this);
        this.enableTooltip = this.enableTooltip.bind(this);
        this.state = {tooltipEnabled: false, changed: false};
    }
    disableTooltip(){
            this.setState({
                tooltipEnabled: false,
                changed: true
            });
    }

    enableTooltip() {
            this.setState({
                tooltipEnabled: true,
                changed: true
            });
    }

	render() {
		return (
            <Popover isOpen={this.state.tooltipEnabled}
              transitionDuration={0.25}
              position={'top'}
              content={({ position, targetRect, popoverRect }) => (
                <ArrowContainer
                  position={position}
                  targetRect={targetRect}
                  popoverRect={popoverRect}
                  arrowColor={"white"}
                  arrowSize={8}
                  arrowStyle={{ opacity: 1 }}>

                              asdf

                </ArrowContainer>
            )}>

            </Popover>
		);
    }

As you can see on the popover, internalisOpen is false, yet isTransitioningToClosed is true, and the component is perpetually in the DOM (though transparent) until I mouse over and mouse off of it.

Am I doing something wrong here or is this a bug?

Created a PR with a potential fix for this. Would appreciate if someone can tell me if this is the wrong approach to a solution. It feels hacky, but it works.
https://github.com/alexkatz/react-tiny-popover/pull/56

@djfariel
I have possibly the same issue; moving the mouse over the popover content (away from target) does hide it, but it remains invisibly in the DOM i.e. not able to click components behind it

Same issue for me too - invisible popovers are getting stuck on screen that can still be interacted with and block the content behind. I can't reproduce it consistently so I haven't been able to narrow down the circumstances when it is occurring. Seems like it may have something to do with the page scrolling while the popover is hiding? Mousing over and out doesn't hide it for me.

Transition duration is the culprit, check: https://github.com/alexkatz/react-tiny-popover/issues/61
        if (!this.willUnmount || transitionDuration  > 0) {             this.removePopoverTimeout = window.setTimeout(remove, (transitionDuration || Constants.FADE_TRANSITION) * 1000);         } else {             remove();         }
As you can see remove is called after transitionDuration, sometimes callback is not called, some weird behavior is making setTimeout not calling the callback, there are libraries to replace setTimeout for something else which makes it to be always executed, the problem could be a combination of calling setState and few more things, but the final issue is that setTimeout is not reliable for some reason.
I don't really care about using transitionDuration, so zero is a value that will fix all problems if it can be supported.
Issue 61 has been sitting there for a some time, so we may need to live with our forks.

This should be fixed in version 6, which is a fairly substantial overhaul to the Popover component, now fully functional and hooks-based. Give it a look when you get the chance! I'll close this for now, but will reopen if the issue somehow reappears.


LSan claims memory leak in mbedtls

Summary
when running my app, clang leak sanitizer occasionally complains a leak in mbedtls.
=================================================================
==9==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 536 byte(s) in 1 object(s) allocated from:
    #0 0x495f52 in calloc (<statically linked to my app>)
    #1 0x51cae5 in mbedtls_mpi_grow /root/src/mbedtls/library/bignum.c:127:38
    #2 0x51d2b5 in mbedtls_mpi_shift_l /root/src/mbedtls/library/bignum.c:949:9
    #3 0x51ea57 in mbedtls_mpi_exp_mod /root/src/mbedtls/library/bignum.c:2080:9
    #4 0x52ff09 in mbedtls_rsa_public /root/src/mbedtls/library/rsa.c:747:5
    #5 0x531855 in mbedtls_rsa_rsassa_pkcs1_v15_verify /root/src/mbedtls/library/rsa.c:2229:13
    #6 0x52c452 in rsa_verify_wrap /root/src/mbedtls/library/pk_wrap.c:93:17
    #7 0x52c208 in mbedtls_pk_verify /root/src/mbedtls/library/pk.c:330:13
    #8 0x52c208 in mbedtls_pk_verify_ext /root/src/mbedtls/library/pk.c:394:13
    #9 0x51a785 in x509_crt_check_signature /root/src/mbedtls/library/x509_crt.c:2472:13
    #10 0x51a785 in x509_crt_find_parent_in /root/src/mbedtls/library/x509_crt.c:2610:15
    #11 0x51a785 in x509_crt_find_parent /root/src/mbedtls/library/x509_crt.c:2707:15
    #12 0x51a785 in x509_crt_verify_chain /root/src/mbedtls/library/x509_crt.c:2917:15
    #13 0x51a785 in x509_crt_verify_restartable_ca_cb /root/src/mbedtls/library/x509_crt.c:3148:11
    #14 0x50d28f in ssl_parse_certificate_verify /root/src/mbedtls/library/ssl_tls.c:2672:15
    #15 0x50d28f in mbedtls_ssl_parse_certificate /root/src/mbedtls/library/ssl_tls.c:2925:11
    #16 0x50e61f in mbedtls_ssl_handshake_step /root/src/mbedtls/library/ssl_tls.c:5836:15
    #17 0x50e6ae in mbedtls_ssl_handshake /root/src/mbedtls/library/ssl_tls.c:5873:15
    <some app-specific frames were removed here>

SUMMARY: AddressSanitizer: 536 byte(s) leaked in 1 allocation(s).

i have not investigated if it's a real bug in mbedtls or not.
(hopefully it's obvious from the above backtrace for mbedtls developers.)
System information
Mbed TLS version (number or commit id): 2.28.0
Operating system and version: ubuntu
Configuration (if not default, please attach mbedtls_config.h):
Compiler and options (if you used a pre-built binary, please indicate how you obtained it): clang-11
Additional environment information:
Expected behavior
Actual behavior
Steps to reproduce
i'm not sure.
Additional information

https://github.com/ARMmbed/mbedtls/issues/435 looks similar. but mine is with 2.28.0.

Hi, thanks for raising this. Would be really helpful to have some more information about how you are building mbedtls. Could you please provide as much info as possible? Also some more information around what you are doing to cause the leak would be really useful too. Thanks

Hi, thanks for raising this. Would be really helpful to have some more information about how you are building mbedtls. Could you please provide as much info as possible? Also some more information around what you are doing to cause the leak would be really useful too. Thanks

mbedtls is built with
CFLAGS="-Os -ffunction-sections -fdata-sections -g -fno-omit-frame-pointer" cmake -DCMAKE_C_COMPILER=cc -DCMAKE_SYSROOT= -DCMAKE_INSTALL_PREFIX=/usr/local     -DENABLE_TESTING=OFF     -DENABLE_PROGRAMS=OFF     ../

my app is built with
-fno-sanitize-recover=integer -fno-sanitize-recover=undefined -fno-sanitize-recover=alignment -fno-sanitize-recover=bounds -fno-sanitize-recover=bool -fno-sanitize-recover=enum -fno-sanitize-recover=object-size -fno-sanitize-recover=pointer-overflow -fno-sanitize-recover=returns-nonnull-attribute -fno-sanitize-recover=shift -fno-sanitize-recover=unreachable -fno-sanitize-recover=unsigned-integer-overflow -fno-sanitize-recover=vla-bound -fno-sanitize-recover=implicit-integer-truncation -fno-sanitize-recover=implicit-integer-arithmetic-value-change -fno-sanitize-recover=implicit-conversion -fno-sanitize-recover=function -fsanitize=address -fsanitize-address-use-after-scope

relevant runtime options are:
ASAN_OPTIONS="detect_stack_use_after_return=1:check_initialization_order=1:detect_leaks=1"
LSAN_OPTIONS="verbosity=1:log_threads=1"

my app periodically calls __lsan_do_recoverable_leak_check.
the compiler is clang-11 came with ubuntu:20.04. the execution environment is the same. it's within a docker container.
my app uses mbedtls for https and mqtt.

the compiler is clang-11 came with ubuntu:20.04. the execution environment is the same. it's within a docker container.

we updated it to clang-12. still seeing the same "leak".

The object that's leaking is the RR intermediate value that is allocated inside mbedtls_mpi_exp_mod and cached between calls. It is stored in the RSA key object in rsa->RN which is freed in mbedtls_rsa_free. So this indicates that the key object isn't being freed.
This looks like an application bug (or maybe a desired feature — if you're using the same key all the time, you might not want to free the key until your application exits), not an Mbed TLS bug. So I'm closing this issue.

The object that's leaking is the RR intermediate value that is allocated inside mbedtls_mpi_exp_mod and cached between calls. It is stored in the RSA key object in rsa->RN which is freed in mbedtls_rsa_free. So this indicates that the key object isn't being freed.
This looks like an application bug (or maybe a desired feature — if you're using the same key all the time, you might not want to free the key until your application exits), not an Mbed TLS bug. So I'm closing this issue.
If you still think this is an Mbed TLS bug, please post complete code to reproduce the problem.

thank you for explanation. i will investigate my app again.


Support for AmazonBasics Gaming Mouse

Product Link
The piper GUI doesn't detect the mouse and I'm not really sure how to make the device file. I'm not sure if I got the driver right (hiddev0 shows up at /dev/usb when plugging it in)
[Device]
Name=Acrox AmazonBasics gaming mouse
DeviceMatch=usb:3938:1110
Driver=hiddev0

[Driver/hiddev0]
DpiList=200:400:800:1000:1200:1600:2400:2800:3200

Output of lsusb | grep AmazonBasics
Bus 001 Device 002: ID 3938:1110 Acrox AmazonBasics gaming mouse

Output of dmesg | grep AmazonBasics
[    0.967912] usb 1-1: Product: AmazonBasics gaming mouse
[    0.989835] input: Acrox AmazonBasics gaming mouse as /devices/pci0000:00/0000:00:01.2/0000:01:00.0/usb1/1-1/1-1:1.0/0003:3938:1110.0001/input/input2
[    0.990042] hid-generic 0003:3938:1110.0001: input,hidraw0: USB HID v1.11 Mouse [Acrox AmazonBasics gaming mouse] on usb-0000:01:00.0-1/input0
[    1.012389] input: Acrox AmazonBasics gaming mouse Keyboard as /devices/pci0000:00/0000:00:01.2/0000:01:00.0/usb1/1-1/1-1:1.1/0003:3938:1110.0002/input/input3
[    1.065102] input: Acrox AmazonBasics gaming mouse as /devices/pci0000:00/0000:00:01.2/0000:01:00.0/usb1/1-1/1-1:1.1/0003:3938:1110.0002/input/input4
[    1.065293] hid-generic 0003:3938:1110.0002: input,hiddev96,hidraw1: USB HID v1.11 Keyboard [Acrox AmazonBasics gaming mouse] on usb-0000:01:00.0-1/input1

Here are some screenshots of the software
I don't know the process, but I would like to help in adding support for this mouse.

I'm not sure if I got the driver right
It actually relates to a libratbag driver, not a kernel driver.
Drivers in libratbag "translate" generic commands to change some mouse settings to a way a mouse can understand.

Since this mouse would require writing a new such driver, let's close this until someone volunteers to write one. :)


skip validation for lower k8s version < 1.16

Got below error logs from anubis, since their CP is still 1.14 version yet.
D 03/26 17:15:57 updated CRD `appcatalogs.application.giantswarm.io` | k8sclient/k8scrdclient/k8scrdclient.go:137 | controller=app-operator
{"caller":"github.com/giantswarm/operatorkit/controller/controller.go:193","controller":"app-operator","level":"error","message":"stop controller boot retries due to too many errors","stack":{"annotation":"spec.validation.openAPIV3Schema.type: Required value: must not be empty at the root","kind":"notEstablishedError","stack":[{"file":"/go/pkg/mod/github.com/giantswarm/k8sclient@v0.2.0/k8scrdclient/k8scrdclient.go","line":178},{"file":"/go/pkg/mod/github.com/giantswarm/backoff@v0.2.0/retry.go","line":13},{"file":"/go/pkg/mod/github.com/giantswarm/k8sclient@v0.2.0/k8scrdclient/k8scrdclient.go","line":195},{"file":"/go/pkg/mod/github.com/giantswarm/k8sclient@v0.2.0/k8scrdclient/k8scrdclient.go","line":61},{"file":"/go/pkg/mod/github.com/giantswarm/operatorkit@v0.2.0/controller/controller.go","line":240},{"file":"/go/pkg/mod/github.com/giantswarm/operatorkit@v0.2.0/controller/controller.go","line":183},{"file":"/go/pkg/mod/github.com/giantswarm/backoff@v0.2.0/retry.go","line":23}]},"time":"2020-03-26T17:15:57.943054+00:00"}

We can skip this using version checking algorithm, and remove these codes when we sure we don't have any 1.16 k8s in known CPs.
Checklist

[ ] Update changelog in CHANGELOG.md.

Okay, I found what the problem is.
In anubis, conditions are as below.
k get crd appcatalogs.application.giantswarm.io -o yaml | yq .status.conditions
[
  {
    "lastTransitionTime": "2019-10-15T13:32:02Z",
    "message": "no conflicts found",
    "reason": "NoConflicts",
    "status": "True",
    "type": "NamesAccepted"
  },
  {
    "lastTransitionTime": null,
    "message": "the initial names have been accepted",
    "reason": "InitialNamesAccepted",
    "status": "True",
    "type": "Established"
  },
  {
    "lastTransitionTime": "2020-02-27T16:55:50Z",
    "message": "spec.validation.openAPIV3Schema.type: Required value: must not be empty at the root",
    "reason": "Violations",
    "status": "True",
    "type": "NonStructuralSchema"
  }
]

And error itself from app-operator came from the below lines.
https://github.com/giantswarm/k8sclient/blob/78547ac05548aa87549101f83b73660e8a5de795/k8scrdclient/k8scrdclient.go#L175-L180
So k8sclient actually referred the status despite the fact that it's very old (2020-02-27T16:55:50Z compared to today 2020-03-26)


Do something special when a precondition failure occurs inside an outer tested function?

Currently, precondition failures never know what to blame or how to make a regression test.
Live-prop-test could keep an internal call stack, and thus blame the failure on the next tested function outside the one which failed a precondition.
...Except that we didn't necessarily record the inputs to that function.
...But if it happens that we did, shouldn't we take advantage of that?
It would be a little flaky (e.g. we can't necessarily guarantee that it wasn't caused by a failure in an outer precondition that wasn't checked), but we could just mention that in the error message that occurs in this case.

"Luckily, when this precondition failure occurred, we were already running tests for the containing function, function_name(). So this failure is likely to be the fault of function_name().  Unfortunately, we weren't running tests for function_name() at the time, so we didn't record the inputs to it."
"...but fortunately, we DID record the inputs to another, outer containing function, third_function_name():"


How to set default selected value.

Hi Mike,
Thank you very much for creating this amazing package. I have one question, how do we default set value? I couldn't able to find any props related to this. would you be able to help me with this? Thanks in advance. :)

Hi @KalanaPerera ,
Because the defaultValue prop is passed through by MUI Autocomplete, it is default hidden as an "External" prop by the docs page.  Here is the direct link "defaultValue".
You can toggle show "Externals" In the upper right had corner of the docs page:

Thanks for pointing this out.  I just realized the value prop is being hidden for the same reason.  I am going to leave this open and see how I can get those props to display by default.
Quick note when dealing with defaults in this package.  There is also a defaultBranch prop.  The branch and value are related but can very independently.  If you want your options to default somewhere other than your tree root, you must provided this too.
Hope this helps!

hi @mikepricedev,
Thank you very much for the detailed explanation, appreciated it. tested and works fine! Have a good day!

Hi Using this https://codesandbox.io/s/github/mikepricedev/mui-tree-select
How to set default selected value.

@maheskumaras
My apologies I am not sure I understand the question.  Hopefully the following helps.
You can set a defaultValue or you can control the value.
And changes can captured with the onChange callback.

Hi thank you for the reply, My question is, In this sandbox (https://codesandbox.io/s/github/mikepricedev/mui-tree-select) you are showing city list right, how to set a city by default selected?.
This is the wonderful component my project manager wanted use this component only. so pls help me out.

hi @mikepricedev,
Thank you very much for the detailed explanation, appreciated it. tested and works fine! Have a good day!
Hi how you have solved this issue could you pls explain?

Hi @KalanaPerera How you have solved above issue could pls explain?.

As I understand, you are trying to set, the default selected value, right? below code is from my current project.
const defaultSelected = 'Electronics'  is string wraped in Node Class.
<TreeSelect
        defaultValue={ defaultSelected !== null ? new Node(defaultSelected) : null}
        renderInput={(params) => (
          <TextField
            {...params}
            label="Category"
          />
        )}
        sx={{ ml: 2 }}
      />

Hi thank you for the reply, My question is, In this sandbox (https://codesandbox.io/s/github/mikepricedev/mui-tree-select) you are showing city list right, how to set a city by default selected?.
This is the wonderful component my project manager wanted use this component only. so pls help me out.
ex: value={{ id: "1-3901-52", name: "Ashkāsham" }}

This is a different error, you need to check how the example work. please carefully look NODE Class.
Node Class: https://codesandbox.io/s/github/mikepricedev/mui-tree-select?file=/example/index.js

Hi thank you for the reply, My question is, In this sandbox (https://codesandbox.io/s/github/mikepricedev/mui-tree-select) you are showing city list right, how to set a city by default selected?.
This is the wonderful component my project manager wanted use this component only. so pls help me out.
ex: value={{ id: "1-3901-52", name: "Ashkāsham" }}

This is a different error, you need to check how the example work. please carefully look NODE Class.
Node Class: https://codesandbox.io/s/github/mikepricedev/mui-tree-select?file=/example/index.js

In this example https://codesandbox.io/s/github/mikepricedev/mui-tree-select?file=/example/index.js how can we set value programatically?

what do you mean programmatically? like API call?

You must implement getChildren and getParent callbacks and pass them as params to TreeSelect.  Documented here.
What is happening with your error is that you are passing the city object to the value param, but the example code uses a wrapper class called Node.
You must wrap that city value in the Node class. value={new Node({id:"1-3901-52", name: "AshkÄ sham"})}

Here is a sandbox with a working defaultValue and controlled default value example.
Note: you DO NOT have to use my implementation of a Node class in your own code.  TreeSelect knows nothing about Node other than what I've told it through the TreeSelect callback params.

@maheskumaras
PS If you are using TreeSelect in a  production project.  The current v1.0.0-beta.7 API is stable.
The only reason I have not published a v1.0.0 is that I am working on the docs.  And I want to add sandbox example dedicated to defaults.  Because the value and branch can vary independently it can be a little confusing how to set a default state.
Outside of bug fixes, nothing major if anything will change before v1.

@mikepricedev Thank you very much its works fine.

Hi all and thanks for that nice component!!
Setting the default value works nice. But:
Is it possible that the tree opens where the default value is set. Currently you still have to navigate to this value.
Thanks alot

Hi @kraussjo,
There is a defaultBranch property for uncontrolled situations and a defaultBranch property and onBranchChange  method for controlled.
Hope this helps!
Respectfully,
MP

what do you mean programmatically? like API call?

Sorry I meant controlled or stateful. e.g.

Hi all and thanks for that nice component!!
Setting the default value works nice. But:
Is it possible that the tree opens where the default value is set. Currently you still have to navigate to this value.
Thanks alot

Thank you for the answer!
How exactly do I get the default branch in controlled situations.  The default value I can simply set per
const [value, setValue] = useState(         () =>             new Node({                 id: "1-2",                 name: "V1 P2 Manfred Müller",             })     );
, but with the branch I would need the complete json object with the child elements.
Many thanks!

Hi @kraussjo,
You can get the branch changes with onBranchChange
const [branch, setBranch] = useState( () => new Node({ id: "1", name: "V1 Manfred Müller",....... }) );

return <TreeSelect
onBranchChange={useCallback((_, branch) => setBranch(branch), [])}
...
/>

with the branch I would need the complete json object with the child elements.

It really depends on how your getChildren and getParent callback props are implemented.
In the examples, I believe I created a Node class.  You are not required to use that kind of conical OOP representation of tree data.  I personally don't.  I just used it in the examples for familiarity.
You can implement getChildren and getParent to lookup the children and parent respectively based on what branch  they are called with.

Hi @mikepricedev
thanks for the tips, it works great!!


Create Scala 2.10/2.11 profile to get valid field names

package com.example

object Hello {
  def main(args: Array[String]): Unit = {
    val h = new Hello("Rory", 5)
    h.sayHello()
  }
}

class Hello(name: String, times: Int) {
  def sayHello(): Unit = {
    val actualTimes = times * 2

    for (i <- 1 to actualTimes) // Breakpoint on this line
      println(s"Hello $name")
  }
}

In the above example, when reaching a breakpoint on the line for (i <- 1 to actualTimes), the following variables are listed: actualTimes as the only local variable, times as a field, and com$example$Hello$$name as another field. The issue is that it appears that object fields have an odd name when using the JDI of $$. The Scala profiles should trim this name to just represent the field name.
Is blocking https://github.com/ensime/ensime-server/issues/1506.

Note that this may also stem from an issue with visibleFields as opposed to fields. Ensime was previously iterating over fields and then moving up the class hierarchy while the debugger api just used visibleFields, which does the same thing (just in one request), but may have some differences (such as field names).


Using the latest MongoDB.Driver ?

Are there any plans to switch to the latest stable MongoDB driver aka 2.3.0? That would be great since I was using the latest version before installing this package and now it replaced the installed versio and some of my code broke.

See #4


Wi-Fi TimeSync

It would be awesome to support Wi-FI TimeSync (https://www.wi-fi.org/discover-wi-fi/wi-fi-timesync) or some form of of high precision time synchronization (even if it only works between esp32s). I would allow for example to be able to implement multichannel wireless speakers.

@riataman esp32 does not support WiFi TimeSync. It will be supported on next WiFi chip.

@TimXia you think espnow would be fast/predictable enough to timesync two devices to 100uS?


media.tenor.com

This is a gif website
ex: https://tenor.com/view/mr-bean-race-gif-20267874

ok, done


engine/schema: add unique constraint for sshkeys UUID column

This adds unique constraints much like other tables, instead of using
query that maybe incompatible with older 5.x mysql servers.
Fixes #5564

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1547

Trillian test result (tid-2387)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34002 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5565-t2387-kvm-centos7.zip
Smoke tests completed. 90 look OK, 1 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_disable_oobm_ha_state_ineligible
Error
1511.76
test_hostha_kvm.py


Derive Clone for Take and MaybeSlice

This allows cycle() to be called on Take.

Nice, thank you!
@homu r+

:pushpin: Commit 18428b1 has been approved by Ogeon

:zap: Test exempted - status


fix: Compile Spring Boot Application Correctly

In this PR I solved the problem with incorrect final jar file for 'spring-fat' integration test.
Now we can run the Spring Boot application directly from the jar file without any problems.
I also added the issue description to the README.md file
together with insturctions how to run the 'spring-fat' application.
History:

chore: intermediate state
chore: run spring fat application as a plain java app
chore: run spring fat application as a plain java app
chore: fix the problem with Spring Boot dependencies detection
chore: enable maven tests in 'spring-fat' integration test
chore: add docs to README how to run spring-fat application using plain Java approach
chore: fix xml formatting

PR-Codex overview
This PR updates Maven invoker properties, adds a new Maven profile to run a Spring Boot application, and improves testing commands.
Detailed summary

Updated Maven invoker properties for clean integration tests
Added a new Maven profile to run a Spring Boot application using the exec-maven-plugin
Improved testing commands for specific scenarios

The following files were skipped due to too many changes: src/it/spring-fat/src/main/resources/META-INF/spring.factories

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here


Bug fixes for traffic UI and setting GPS time

Fix a bug in #259 where traffic targets 59.x seconds old are not removed from web UI
Fix a malformed time string when setting date / time from the RMC GPS message

AvSquirrel, maybe it would serve better if you used >= 60.0  (or 59.0)
rather than just =?
On 02/18/2016 11:57 AM, AvSquirrel wrote:

Fix a bug in #259 https://github.com/cyoung/stratux/pull/259
where traffic targets 59.x seconds old are not removed from web UI
Fix a malformed time string when setting date / time from the RMC
GPS message

    You can view, comment on, or merge this pull request online at:

https://github.com/cyoung/stratux/pull/264
    Commit Summary

Decrease traffic UI timeout to 59 sec

Bug fix for setting GPS time from RMC messages
File Changes

M main/ry835ai.go
https://github.com/cyoung/stratux/pull/264/files#diff-0 (2)

M web/plates/js/traffic.js
https://github.com/cyoung/stratux/pull/264/files#diff-1 (6)
Patch Links:

https://github.com/cyoung/stratux/pull/264.patch

https://github.com/cyoung/stratux/pull/264.diff

—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/pull/264.


Sorting is not working when we use dnd/Sortable with antd table, also drag and drop is not smooth on mobile devices when we drag columns of antd table.

Sorting is not working when we use dnd/Sortable with antd table, also drag and drop is not smooth on mobile devices when we drag columns of antd table.
Please find attached sandbox URL for your reference.
https://stackblitz.com/edit/react-wvyast?file=src%2FItem.js
Thanks in advance

I didn't spend a lot of time on this, but it's definitely possible and as far as I can tell, everything is working fine with @dnd-kit.
Your sandbox doesn't work because the Table component from ant-design swallows the style property.
I edited your sandbox here with a slightly different approach that bypasses the issue https://stackblitz.com/edit/react-waoqzs?file=src%2FApp.js

thank you @clauderic but somehow click handler for table column sorter is not called but listener for drag is called,
would appreciate it if you can help us out resolve that.

Following+
I am also facing this issue with antd. I have tried @clauderic solution, it works only one issue antd sorting not works.
I tried to fix this but did not get any solution.

This isn't an issue with @dnd-kit. Please re-open an issue in the ant-design repository or the react-component/table repository (which is what ant design uses under the hood to power its table component)

@rohit-sourcefuse @rajat-sf  https://stackblitz.com/edit/react-pdkml8?file=src/App.js  这个试一试


Create .gitkeep for resources folder!

:)

Hey @IamManchanda! 👋
Why would we need that since the folder isn't empty?

Closing since no answer from the issue reporter.


issue 206: regex/whitespace issue.

Changed the parser rule for regex matches. Spaces are not stripped any more form the beginning and the end of the regexp-pattern. This could be possible BIC for some special cases. Here, it is handled as bug and is this proposed to be included in the current master (to be discussed!).
See issue #206

Code review checklist

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[n/a] Commit messages are meaningful (see this for details) - squash
[x] Tests have been included and/or updated
[n/a] Docstrings have been included and/or updated, as appropriate
[n/a] Standalone docs have been updated accordingly
[x] Changelog(s) has/have been updated, as needed (see CHANGELOG.md).

Note the change in  tests/functional/test_textx_language.py ...

Yes. I merge.


[TestNG] TestNG Assert messages not getting published.

TestNG Version
6.10
Issue
I have few assert conditions for test success/failure verdict like:
Assert.assertTrue(condition, "message"); // Assert comes from org.testng.assert
Here, on failure "message" is not getting published.
I am using Slf4j logger built on top of log4j2.
Is the issue reproductible on runner?

[ ] Shell
[ ] Maven
[ ] Gradle
[x] Ant
[x] Eclipse
[ ] IntelliJ
[ ] NetBeans

What is the current string?

No response from the user. Closing this issue. Please comment if this is still a problem


Print a notice in federation server if port is equal 443 but no certificate files have been specified

In https://github.com/stellar/go/issues/33 user mistakenly entered certificate_file instead of certificate-file in federation server config file. We should probably print a notice to the log if the port is equal to 443 but no certificate files have been specified.

Or a big warning when there are unknown config parameters.


Degree Day Climate Variable

Create a function for the Degree Day Variable

[ ] @cmahony to seek clarity with researcher on Region specified model rows from corresponding table
[x] Create CSV of table
[x] Create Function

Corresponding table

@cmahony, the temperature ranges for covered for each optimization table as described above seems to be incomplete/ overlapping:

Degree-days below 0°C (DD< 0)
Degree-days above 5°C (DD> 5)
Degree-days below 18°C (DD< 18)
Degree-days above 18°C (DD> 18)

I would have thought that Degree-days above 5°C (DD> 5) would instead be: Degree-days below 5°C (DD< 5), this way you have defined intervals like so that do not overlap: (-oo, 0), [0, 5) [5, 18), [18, +oo)
If DD > 5 is correct then the next two intervals are not needed as DD > 5 covers them.
I may be totally off here but just thought I'd point this out

Resolved by #15

@cmahony, the temperature ranges for covered for each optimization table as described above seems to be incomplete/ overlapping:

Degree-days below 0°C (DD< 0)
Degree-days above 5°C (DD> 5)
Degree-days below 18°C (DD< 18)
Degree-days above 18°C (DD> 18)

I would have thought that Degree-days above 5°C (DD> 5) would instead be: Degree-days below 5°C (DD< 5), this way you have defined intervals like so that do not overlap: (-oo, 0), [0, 5) [5, 18), [18, +oo)
If DD > 5 is correct then the next two intervals are not needed as DD > 5 covers them.
I may be totally off here but just thought I'd point this out

@cmahony clarified to me that there should be a separate function for each temperature and that the above was a miss-understanding on my part.


Clicking on CarPlay App icon closes the app on iOS Phone on M1 in package v1.0.3 and displays the grey screen though connection status is maintained somehow.

    Version 1.0.3 has been published in pub.dev. Check it out [here](https://pub.dev/packages/flutter_carplay). 🎉

Thank you for @EArminjon's contribution with #14. This issue has been marked as resolved and closed. Please continue the discussion if the issue remains and don't forget to join the Discord Server, so we can chat over there!
Originally posted by @oguzhnatly in https://github.com/oguzhnatly/flutter_carplay/issues/7#issuecomment-1146799863

Figured out how to fix it. Removed flutter toast that i was using, added entitlements file path to Signing ,under build settings on Profile, Debug and Release and it worked for M1


Hyperlink issue

Bug Description
When I use the hyperlink tool, the URL pop-up doesn't appear. If I click it again, then the pop-up appears and won't close.
To Reproduce
Steps to reproduce the behavior:
https://github.com/Daniele-rolli/Beaver-Notes/assets/6148201/6ca0d0b3-b87b-4c0e-a53d-81b987f8e318
Desktop (please complete the following information):

OS: Windows 10
Application Version: v3.0.0

It's rather odd. I'll look into it and fix it. Thanks for reporting this issue.

I've reverted the modifications made in version 3.0.0. Now links open normally, and you can focus the input field by pressing mod+l. Pressing enter will save the value but won't close the field, as it conflicts with tiptap's function. To close a field now, you need to click anywhere outside the link or move with arrow keys.


Add support for mkdocs

This should be merged after #5

@remkohdev @jzaccone this is also ready for review... it should only be merged after #5 merges and this PR is rebased. The resulting diff will be much smaller.

@remkohdev @jzaccone this is also ready for review... it should only be merged after #5 merges and this PR is rebased. The resulting diff will be much smaller.


Denied: requested access to the resource is denied

Problem description
I'm getting this issue when I try to push an image to the docker hub. I have tried all possibilities. Can someone please help me?

Thanks for sharing the issue. For support, please try the Community Slack or Forums, https://www.docker.com/support/


Functions: NullPointerException in FunctionStatsManager.reset

Describe the bug
I have seen this NPE in FunctionStatsManager.reset.
Probably it is a race while the function is still starting and it receives a "reset" request
To Reproduce
It is hard to reproduce it manually.
Expected behavior
No error
Screenshots
16:55:26.404 [function-timer-thread-6-1] ERROR org.apache.pulsar.functions.instance.stats.ComponentStatsManager - Failed to reset metrics for 1min window
java.lang.NullPointerException: null
    at org.apache.pulsar.functions.instance.stats.FunctionStatsManager.reset(FunctionStatsManager.java:425) ~[com.datastax.oss-pulsar-functions-instance-<IP_ADDRESS>.1.21.jar:<IP_ADDRESS>.1.21]
    at org.apache.pulsar.functions.instance.stats.ComponentStatsManager.lambda$new$0(ComponentStatsManager.java:81) ~[com.datastax.oss-pulsar-functions-instance-<IP_ADDRESS>.1.21.jar:<IP_ADDRESS>.1.21]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [java-instance.jar:?]
    at java.lang.Thread.run(Thread.java:829) [?:?]

Envrironment (please complete the following information):
Pulsar 2.7.2 (actually Luna Streaming fork <IP_ADDRESS>.1.21, but the code is the same as in Pulsar 2.7.2)
Functions with Process runtime on a system with tens of Functions bootstrapping concurrently

Closed as stale.
Now we're compiled with JDK 17 which can indicate which variable causes NPE. If it happens again, feel free to open a new issue so that we can investigate and fix.


startup command

wouldn't be useful to have also a command to execute a script on startup?

Here is one for Meteor. I'm sure you could chop it up to fit your needs.
https://gist.github.com/gkrizek/369a111a5c33e653cf61
Then, once you create that file, put it in /etc/init.d/ . From there you can chkconfig it to start on boot and treat it like a regular service.

I do have one of those and it usually works pretty nice. The only issues I couldn't solve yet is that right after startup and when the service with forever and my app is launched, the environment doesn't seem to be ready. That means that the $PATH environment variable isn't set or incomplete and as a consequence one of the used node modules doesn't find some of its resources (in my case exec('which drush') doesn't find drush) but then when I restart the service, it isn't a problem anymore.
Any idea on how that could be debugged or even fixed?

Have you tried setting the variable that you need in your .bash_profile instead of exporting them from the init-script?
Could you send me a link or paste the code of your init-script? I could maybe have a better idea from that.

The init-script is at https://gist.github.com/jurgenhaas/c79979524cd65f51dd5bc32e4ff03acd
It currently only exports the NODE_PATH and I have no idea what else I should export, i.e. I don't know what's missing for the initial script when running as startup script. Can you tell from the script?


One IANA link missing trailing "s"

Presumably the second @link should be to rediss, rather than listing redis twice:
https://github.com/nrk/predis/blob/master/src/Connection/Parameters.php#L76

Whoops, thanks :-)


[Monitor Query] MetricsClient sovereign cloud support

Description
This adds some documentation and samples regarding using MetricsClient with sovereign clouds. This adds a feature that extrapolates the correct audience based on the passed in endpoint. This saves the user from having to pass in extra information via the "audience" kwarg.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-monitor-query

Weekly pipeline tests in sovereign cloud environments passed.


Add MarkedSource interop test for non-identifier param children [phab:D1671]

Created by schroederc at 2017-05-24 19:07:24:

fromberger accepted this revision at 2017-05-24 19:29:13

schroederc closed via commit 14a93534fb80623e6d60cbf819a8e5a9bb345f58 at 2017-05-24 19:48:27


Show default index url provided by pip

Closes #705.
Changelog-friendly one-liner: Show default index url provided by pip
Contributor checklist

[X] Provided the tests for the changes.
[X] Requested a review from another contributor.
[X] Gave a clear one-line description in the PR (that the maintainers can add to CHANGELOG.md on release).
[X] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

I've rebased and squashed commits. I'll merge this as soon as tests are passed.
@blueyed as always, appreciate your feedback!

pip-tools v3.5.0 is released


uSIF vs Averaging

I noticed that you are calculating sentence embedding using an average of the individual word vectors when performing clustering, etc.  Did you happen to evaluate whether SIF or uSIF would be advantageous over averaging?

Hi,
Thanks for the question. Are you referring to the following functions in the evaluation code?
https://github.com/yumeng5/Spherical-Text-Embedding/blob/b0f88207189373d0500208ddacf46aa9c2bbd9da/cluster.py#L82
https://github.com/yumeng5/Spherical-Text-Embedding/blob/b0f88207189373d0500208ddacf46aa9c2bbd9da/classify.py#L32-L35
For baselines that produce document/sentence embeddings (like SIF and JoSE), we directly take their document/sentence embeddings as features for clustering/classification. The above functions (averaged word embedding) are used to produce sentence embeddings only for word embedding baselines (word2vec) that cannot naturally learn sentence representations. They are actually not used anywhere in the evaluation code (I should have deleted them to avoid confusion).
Please let me know if you have any further questions!
Best,
Yu

Thanks, but I think I'm confused now about the results in the paper for document/sentence embedding.
JoSE is compared to word2vec-based word embeddings, composed together with averaging, and unspecified word embeddings (word2vec again?), composed together with SIF.
When reporting sentence/document performance, are the JoSE-based word embeddings composed together using averaging, or composed together using SIF?  In the code, it looks like just averaged JoSE-based word embeddings.  Is that correct?
Thanks!


MultiprocessIterator dealocks with cupy==2.0.0a1, works fine with cupy==<IP_ADDRESS>

I am not sure this is related to https://github.com/chainer/chainer/issues/2909
My code runs on 4 GPUs using the following requirements:
chainer==2.0.1
cupy==1.0.1
cycler==0.10.0
Cython==0.25.2
filelock==2.0.11
matplotlib==2.0.2
nose==1.3.7
numpy==1.13.1
olefile==0.44
Pillow==4.1.1
protobuf==3.3.0
pyparsing==2.2.0
python-dateutil==2.6.1
pytz==2017.2
six==1.10.0
tqdm==4.14.0
opencv==3.1.0

OS: Ubuntu 14.04.5 LTS
CUDA: 8.0.44
cuDNN: 5.1.5
The above runs fine, but changing the cupy==1.0.1 -> cupy==2.0.0a1 results in a deadlock in MultiprocessIterator. After killing the process, I get the following stacktrace
cupy_deadlock_stacktrace.txt
Sorry, but I don't currently have a minimal example. I'll post that to the cupy issue tracker as well.

Thank you for your report. We will investigate the problem along with #2909.

@delta2323 I have encounter the same issue in MultiprocessIterator .
The MultiprocessIterator must to check again carefully

@sharpstill Thank you for sharing the information.
@zori Could you try the combination of chainer==v3.0.0b1 and cupy==2.0.0b1?

@delta2323 works!
I did, however, notice a small performance penalty. chainer==2.0.1 and cupy==<IP_ADDRESS>:
        95 iter, 0 epoch / 500 epochs
   0.89046 iters/sec. Estimated time to finish: 1 day, 4:56:33.121165.

chainer==v3.0.0b1 and cupy==2.0.0b1:
        80 iter, 0 epoch / 500 epochs
   0.69135 iters/sec. Estimated time to finish: 1 day, 13:17:02.110467.

Thank you for trying it. Also thank you for sharing the performance evaluation. We need to investigate the performance more as another problem.

@sharpstill Could you try as @zori did?

@delta2323  if I have some problem in one of the examples, what happened after I use chainer.dataset.DatasetMixin and raise IndexError in def get_example? could the sub-process become zombie process? I notice that is zombie process after I raise IndexError

So do you mean the process that MultiProcessIterator used gets Zombie when the dataset the iterator handles raises IndexError in get_example?

@delta2323 yes,  I use get_example function, and for some reason, My data has some bad example datum which can only know who is bad during running training process. So I must raise IndexError .
But this cause MultiProcessIterator. By the way , I use chainer==v3.0.0b1 and cupy==2.0.0b1.

@delta2323 Does MultiProcessIterator bug solved?

@zori Maybe, This issue was fixed by #3076.
Cloud you check dead lock on your environment with CuPy v3.0.0rc ?

Closed for now. Feel free to reopen if you still have the problem!


Add single-story page and images on the feed page

This largely completes issues #8 and #63.
It's all still hidden away at /feed, but it can be moved to / when we deem it ready.
What's still left to do:

Handle bigger-than-phone screens
Make the Share This Story button functional, or remove it.
Do the FSA to city mapping?
Maybe a bit of pixel polishing? The padding doesn't quite match the other pages, but I followed the design. Also, I used IconButtons from Chakra, which don't quite match what's in the header.

Also, we should decide if we want to statically render the story pages. I don't think I understand well enough how that would work. Are we going to statically render for every story in the database? How does it know what all those are? Or does it render on demand and then just keep them around?
For now, I'm doing a background fetch when you navigate from the feed to a single story, and server-side rendering when you visit a single story directly. In both cases, you get a request to stories.get(), which could be a place to hook in a view count. But we have to decide if that'll be too much load on the database.

@davesteinberg I put up #68  as a test and left some comments. Let me know what you think.

Many thanks @mwickett for the Prisma type fix and the static generation. I collapsed them to one commit so you don't see the Story type being removed and then coming back, and I expanded on the comment on getStaticPaths() a bit so that even a dummy like me could understand it.
I've now removed the fetch in the StoryDetail component, as well. All seems to be working well. I'm just going to do a few more visual tweaks, then we'll be good to go.


feat: lets enable /jx chatops commands by default

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign rawlingsj
You can assign the PR to them by writing /assign @rawlingsj in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

/approve

@rawlingsj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
4da747bbf199bbc879e049345314d31f0defcb54
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: rawlingsj
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 [rawlingsj]

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

/retest

@rawlingsj So, we can use another word than "jx" if wanted?

So, we can use another word than "jx" if wanted?

Yeah!  If you wanted to enable your own command prefix and trigger presubmit jobs with that you can override that value.
I.e. setting customDeploymentTriggerCommand: foo
you can then add a presubmit job to  ./lighthouse/trigger.yaml that uses a trigger: /foo
We plan on rolling out a number of /jx preview, /jx foo commands, building out the developer UX for Chatops on PRs

fwiw right now in lighthouse you can only specify one extra command, it might be worth considering changing that value to handle multiple commands so folks can add their own and still use /jx ones


Qt interface

ui for fourtran

@abhisaini We have merged mayank-arduino-devel branch, so send your PR to the master branch instead.

PR sent to master

Redirected to PR #17


Include all states for latest and last.

Keep docker CLI behavior.
/cc @abhi
Signed-off-by: Lantao Liu<EMAIL_ADDRESS>

/lgtm

LGTM


Backport "Approximate MatchTypes with lub of case bodies, if non-recursive" to LTS

Backports #19761 to the LTS branch.
PR submitted by the release tooling.
[skip ci]

No regressions detected in the community build up to lts-19921.
Reference


Helper functions to parse gas amount

@danielwpz thank you for the contribution! We have a separate project for such conversions: https://github.com/near/units-js
If it's lacking some functionality - contribute to it first, please.

oh cool, good to know this! @volovyk-s
Do we want to include this util into naj someday?


Simplify/fix editor API.

This commit should preserve binary compatibility so it can be included in 4.1.
It makes ICUs not assume the project presentation compiler, and this allows a potential Sbt editor to
use its own without needing to overwrite a lot of other methods.

This is an attempt to unify them. Right now, source configuration is duplicating a lot of code. So the first step is to have a default in place (this one). I agree that the core source configuration could mix this one here.
I could open PRs on worksheet and play2 to use this source configuration, but I don't think this is a blocker: we can make those changes at any point.
Let me know what you think

Generally, I would prefer if the new source configuration would implement more definitions from the main source configuration, but given that it can be easily improved in future, this LGTM.

Good point, I'll see what else makes sense. I'd probably go for completions as well, but they need to handle source mappings correctly, so I'd need to add that too.

retest this please

Superseded by #1095.


Settings properties not expanded by Aether [PAXURL-266]

Dale Peakall created PAXURL-266
The maven settings.xml file can include substitution properties which are then referenced in other parts of the settings.xml file using ant syntax ${propertyName}. Aether doesn't appear to expand these properties correctly.
For example, if the repository URL is specified in a property then the following error is returned:
[main] ERROR org.ops4j.pax.url.mvn.internal.AetherBasedResolver - invalid repository URLs
java.net.MalformedURLException: no protocol: ${snapshotsRepoUrl}/

Affects: 2.0.0
Votes: 0, Watches: 1

It works already.


Adds draconic horns marking for lizards

About the PR
Added a new horn marking.
There was some discussion about how the front/back view perspective should look in the art channel of the discord, so if this current iteration does not suffice, any feedback would be appreciated.
No idea what's up with the random whitespace in the ftl file. I did try to fix it
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: deepdarkdepths

add: Added a new lizard head marking, the draconic horns.

i feel like the side angle doesn't actually match the front/back perspective very well? especially with the way they come up at a point, the front/back directions don't communicate the actual dip in the shape of the horn.

i feel like the side angle doesn't actually match the front/back perspective very well? especially with the way they come up at a point, the front/back directions don't communicate the actual dip in the shape of the horn.

These were my attempts at changing up the front/back view. I figured they might've not communicated the shape well to the average player so I didnt go with them

I'll redo this after the freeze, don't have time

the freeze is in 10 days


BaseCollectiveExecutor::StartAbort Out of range: warnings when fit model in graph mode (TF 2.0 Nightly)

System information

OS Platform and Distribution : Windows 10
TensorFlow installed from : Binary
TensorFlow version : TF 2.0 Nightly GPU Preview
Python version:3.6
CUDA/cuDNN version: 10.1
GPU model and memory: 960M

I have a very simple model that I have made by inheriting from tf.Keras.model, which I feed with a dataset i,e
model = MyModel(...)
model.compile(optimizer=tf.keras.optimizers.Adam(learning_rate=0.01, amsgrad=True),
loss=loss_fn,
run_eagerly=False)
dataset = tf.data.Dataset.from_tensor_slices((x, y))
dataset = dataset.shuffle(buffer_size=10000)
dataset = dataset.batch(batch_size=1000)
model.fit(dataset,
epochs=100,
verbose=0,
callbacks=[LossAndErrorPrintingCallback()])
If I run this using TF 2.0 (beta), works perfectly fine i.e with run_eagerly=False. If I run it using TF nightly preview with run_eagerly=True, again fine. However if I try with run_eagerly=False using nightly preview I get a stream of the following warnings,
2019-08-10 16:35:40.168418: W tensorflow/core/common_runtime/base_collective_executor.cc:216] BaseCollectiveExecutor::StartAbort Out of range: End of sequence
[[{{node IteratorGetNext}}]]

@oracle3001 ,
In order to expedite the trouble-shooting process, can you please provide complete code snippet to reproduce the issue reported here.Thanks!

Here is a minimal model that produces the same issue...
import tensorflow as tf
import tensorflow_graphics as tfg
from tensorflow.python.framework import ops
from tensorflow.python.ops import math_ops
import numpy as np

class MinimalModelTest(tf.keras.Model):

    def __init__(self,
                 control_vert_pos,
                 dtype=tf.float64):
        super(MinimalModelTest, self).__init__(dtype=dtype)
        self.t_y_spherical = tfg.math.math_helpers.cartesian_to_spherical_coordinates(control_vert_pos)
        self.n_control_verts = control_vert_pos.shape[0]
        self.t_y_radius = self.t_y_spherical[:, 0]
        self.av_radius = np.mean(self.t_y_radius.numpy())

        self.t_av_radius = tf.Variable(self.av_radius,
                                       name='t_av_radius',
                                       dtype=self.dtype,
                                       trainable=False)

        self.t_y_polar = tf.Variable(self.t_y_spherical[:, 1:3],
                                     name='t_y_polar',
                                     dtype=self.dtype,
                                     trainable=True)

    def build(self, input_shape):
        super(MinimalModelTest, self).build(input_shape)

    def spherical_to_cartesian_coordinates(self, point_spherical, name=None):
        r, theta, phi = tf.unstack(point_spherical, axis=-1)
        # r = asserts.assert_all_above(r, 0)
        tmp = r * tf.sin(theta)
        x = tmp * tf.cos(phi)
        y = tmp * tf.sin(phi)
        z = r * tf.cos(theta)
        return tf.stack((x, y, z), axis=-1)

    def loss_fn(self, y_true, y_pred):
        y_pred = ops.convert_to_tensor(y_pred)
        y_true = math_ops.cast(y_true, y_pred.dtype)
        return tf.reduce_mean(tf.square(y_true - y_pred))

    def call(self, inputs):
        t_radius = self.t_av_radius * tf.ones([self.n_control_verts, 1], dtype=self.dtype)
        t_cv_sphere_spherical = tf.concat([t_radius, self.t_y_polar], axis=-1)
        return self.spherical_to_cartesian_coordinates(t_cv_sphere_spherical)

n_points = 10
# generate_prototypes produce n 3d points that lie on a unit sphere
rand_sphere_points_start = np.asarray(generate_prototypes(n_points))
rand_sphere_points_target = np.asarray(generate_prototypes(n_points))

joint_sample_model = MinimalModelTest(
        control_vert_pos=rand_sphere_points_start)

optimizer = tf.optimizers.Adam(learning_rate=0.005, amsgrad=True)
joint_sample_model.compile(optimizer=optimizer,
              loss=[joint_sample_model.loss_fn],
              run_eagerly=False)

batch_size = n_points
dataset = tf.data.Dataset.from_tensor_slices((rand_sphere_points_start, rand_sphere_points_target))
dataset = dataset.batch(batch_size=batch_size)

joint_sample_model.fit(dataset,
          epochs=100,
          verbose=1)

@oracle3001 ,
When tried executing the given code, error NameError: name 'generate_prototypes' is not defined was faced.Thanks!

Sorry, yes it is just a function to create random points. Here is the missing functions.
def polar2cartesian(theta, phi):
    return (
        np.cos(theta) * np.sin(phi),
        np.sin(theta) * np.sin(phi),
        np.cos(phi)
    )

def generate_prototypes(n):
    """
        ref: "How to generate equidistributed points on the surface of a sphere" by Markus Deserno
        note that in the paper, {phi, theta} correspond to {theta, phi} in the rest of this code
        n is an approximate number. the number of returned points are smaller
    """
    a = 2.0*3.1415926/n
    d = np.sqrt(a)
    mtheta = int(round(0.5*3.1415926/d))
    dtheta = 0.5*3.1415926/mtheta
    dphi = a/dtheta

    lst = []
    for m in range(mtheta - 1):
        theta = 0.5*3.1415926 * (m + 0.5)/mtheta
        mphi = int(round(2.0*3.1415926*np.sin(theta)/dphi))
        for n in range(mphi):
            phi = 2.0*3.1415926*n/mphi
            lst.append(polar2cartesian(phi, theta))
    return lst

This is fixed with latest version of tf nightly 2.0 build '2.0.0-dev20190906' . Thanks!
Replace  tf.optmizer with tf.keras.optimizer on line 64
optimizer = tf.keras.optimizers.Adam(learning_rate=0.005, amsgrad=True)

This bug seems still present as of 2.0.0 official release (as well as RC1)
I tried just now with the code snippet above. I have seen a similar problem in our code.
Any hint?
Thanks
Graffa

Confirmed: please reopen this issue.

@ymodak  ^^

any update?

Please look into this issue. The console output becomes a complete mess

Please this issue is not closed :
import numpy as np
import tensorflow as tf

x = np.array([1, 5, 8, 9 ,10, 15,13, 3,-2],np.float32)
y = np.array([-2,-5, -7, -12 ,-15, -5, -12,-10,-5],np.float32)
taille_lot = 2
num_epochs = 3
dataset = tf.data.Dataset.from_tensor_slices(( x , y ))
dataset = dataset.shuffle(5000).batch(taille_lot)
model = tf.keras.Sequential()
model.add(tf.keras.layers.Dense(1, kernel_initializer='uniform', activation='linear',input_shape=(1,)))
model.layers[0].set_weights([np.array([[7.3]],np.float32),np.array([5.5],np.float32)])
model.layers[0](np.array([[3]]))
model.compile(optimizer='sgd', loss='mse')
model.fit(dataset, epochs=num_epochs, verbose=1)
print(model.layers[0].get_weights())

Results
Epoch 1/3
      5/Unknown - 0s 38ms/step - loss: 6054.71502019-11-19 22:10:42.931510: W tensorflow/core/common_runtime/base_collective_executor.cc:216] BaseCollectiveExecutor::StartAbort Out of range: End of sequence
         [[{{node IteratorGetNext}}]]
5/5 [==============================] - 0s 44ms/step - loss: 6054.7150
Epoch 2/3
1/5 [=====>........................] - ETA: 0s - loss: 41151.96482019-11-19 22:10:42.971527: W tensorflow/core/common_runtime/base_collective_executor.cc:216] BaseCollectiveExecutor::StartAbort Out of range: End of sequence
         [[{{node IteratorGetNext}}]]
5/5 [==============================] - 0s 9ms/step - loss: 23133.6308
Epoch 3/3
1/5 [=====>........................] - ETA: 0s - loss: 4397.38772019-11-19 22:10:43.028938: W tensorflow/core/common_runtime/base_collective_executor.cc:216] BaseCollectiveExecutor::StartAbort Out of range: End of sequence
         [[{{node IteratorGetNext}}]]
5/5 [==============================] - 0s 9ms/step - loss: 1409.5287
[array([[-1.4536909]], dtype=float32), array([3.2347755], dtype=float32)]
>>>

Hi, I am facing this issue while training tiny yolo on VOC2012 dataset using model.fit() method. Note that I am using repo https://github.com/zzh8829/yolov3-tf2 and using TF2.0 official release. Any suggestion to fix the error?

Hi, I also have got this problem. Model is learning normally, however console output is unreadable. after every epoch there is an error with message "BaseCollectiveExecutor::StartAbort Out of range: End of sequence".

Same issue on fresh install
Operating System: Windows 10
Python: 3.7-64
Tensorflow Package: tensorflow-gpu
GPU Hardware: 1080Ti
CUDA Lib: 10.0
cuDNN: <IP_ADDRESS>

I'm having the same issue, I though I was doing something wrong at first loading numpy data to tf.data, but then it gave me same errors following this example
https://www.tensorflow.org/tutorials/load_data/numpy

This bug still seems to be in the Tensorflow 2.0.0 release. I'm getting exactly that error messages multiple times when running the following tutorial project: https://www.tensorflow.org/tutorials/text/text_classification_rnn
The model seems to train and accuracy is increasing, so the warning doesn't seem to cause any harm besides messing up the shell.
Operating System: Ubuntu 18.04.3 LTS
Python: 3.7.5
Tensorflow Package<EMAIL_ADDRESS>CUDA Lib: 10.0.130
GPU Model and Memory: GTX 1050 Ti, 4GB

Getting same issue, would be nice to know the reason for it and how to fix it if possible.

It seems fixed in<EMAIL_ADDRESS>(https://github.com/tensorflow/tensorflow/releases/tag/v2.1.0-rc1)
Operating System: Ubuntu 18.04
Python: 3.6.9
Tensorflow<EMAIL_ADDRESS>CUDA: 10.1.243
CuDNN: 7.6
GPU: Quadro RTX 5000
NVidia driver: 430.26

Also facing this problem:

Hi, I am facing this issue while training tiny yolo on VOC2012 dataset using model.fit() method. Note that I am using repo https://github.com/zzh8829/yolov3-tf2 and using TF2.0 official release. Any suggestion to fix the error?

Unfortunately

pip3 install --user tensorflow-gpu==2.1.0rc1

did not fix the error

The bug still seems to be in Tensorflow 2.1.0.
(I am now working on a different machine than the one I mentioned above. So it doesn't even seem to be specific to some setup. Different GPU, CPU, OS-Version, etc.)
Operating System: Ubuntu 19.10
Python: 3.7.5
Tensorflow Package<EMAIL_ADDRESS>CUDA Lib: 10.1
GPU Model and Memory: RTX 2080 Super, 8GB

I'm facing the same issue in Tensorflow 2.1.0.
After following all the steps in official tutorial https://tensorflow.google.cn/tutorials/load_data/csv,  I get the trained model and all stuff is fine. But the issue comes out each time when I try to evaluate the model on test_data:
 test_loss, test_accuracy = model.evaluate(test_data)
OS:  Windows 10
Python :  3.7.6
Tensorflow:  2.1.0

Based on https://github.com/keras-team/autokeras/issues/839#issuecomment-590097076:
Concerning a model.fit, setting validation_steps in case you are using validation_data or steps_per_epoch if your input x is a tf.data dataset solves this issue.

Based on keras-team/autokeras#839 (comment):
Concerning a model.fit, setting validation_steps in case you are using validation_data or steps_per_epoch if your input x is a tf.data dataset solves this issue.
I have not tested a model.evaluate but following the same logic, I think you should set the steps parameter.

Thanks for your reply, that's the solution.

This bug still occurs when calling model.predict() on a tf.data.Dataset.from_generator(gen) dataset.

I'm getting it during the validation portion of model.fit()

Still present during validation indeed (or just before).
W tensorflow/core/common_runtime/base_collective_executor.cc:217] BaseCollectiveExecutor::StartAbort Out of range: End of sequence          [[{{node IteratorGetNext}}]] 2020-05-20 10:49:02.923506: W tensorflow/core/common_runtime/base_collective_executor.cc:217] BaseCollectiveExecutor::StartAbort Out of range: End of sequence          [[{{node IteratorGetNext}}]]          [[IteratorGetNext/_6]] 2020-05-20 10:49:17.997026: W tensorflow/core/common_runtime/base_collective_executor.cc:217] BaseCollectiveExecutor::StartAbort Out of range: End of sequence          [[{{node IteratorGetNext}}]] 2020-05-20 10:49:17.997362: W tensorflow/core/common_runtime/base_collective_executor.cc:217] BaseCollectiveExecutor::StartAbort Out of range: End of sequence          [[{{node IteratorGetNext}}]]          [[IteratorGetNext/_4]]

Same here!
W tensorflow/core/common_runtime/base_collective_executor.cc:216] BaseCollectiveExecutor::StartAbort Out of range: End of sequence
	 [[{{node IteratorGetNext}}]]

In my case with TF-2.1, I load both train and validation dataset from a TFRecord file. E.g. tf.data.TFRecordDataset(filePath). This means, the tf.fit function has no chance to know the number of samples in the file. As @rmarru pointed out, if the params in the tf.fit function (steps_per_epoch, validation_steps) are set, then the function knows the number of elements and no warning should be seen.
If I dont set steps_per_epoch and validation_steps, after the first epoch tf.fit will remember steps_per_epoch, but not  validation_steps. That means, from the second epoch I will receive less warnings, only for the validation.


task: creation response is missing required key which is not part of the schema

I created a task from the command line:
./bin/darwin//influx task create --org a 'option task = {name: "x", every: 2m} from(bucket:"a") |> range(start:-1m) |> to(bucket: "c", org: "a")'
ID			Name	OrganizationID		Organization	AuthorizationID		Status	Every	Cron
03799abd11158000	x	0379950a5aee3000	a		0379950a5aee3002	active	2m0s

The validator branch pointed out that the response is missing the required organization key, but only org and orgID are valid keys according to the schema:
SWAGGER RESPONSE VALIDATION ERROR: Property 'organization' is missing
Schema:
  {
    "properties": {
      "authorizationID": {
        "description": "The ID of the authorization used when this task communicates with the query engine.",
        "type": "string"
      },
      "createdAt": {
        "format": "date-time",
        "readOnly": true,
        "type": "string"
      },
      "cron": {
        "description": "A task repetition schedule in the form '* * * * * *'; parsed from Flux.",
        "type": "string"
      },
      "every": {
        "description": "A simple task repetition schedule; parsed from Flux.",
        "type": "string"
      },
      "flux": {
        "description": "The Flux script to run for this task.",
        "type": "string"
      },
      "id": {
        "readOnly": true,
        "type": "string"
      },
      "labels": {
        "$ref": "#/components/schemas/Labels"
      },
      "latestCompleted": {
        "description": "Timestamp of latest scheduled, completed run, RFC3339.",
        "format": "date-time",
        "readOnly": true,
        "type": "string"
      },
      "links": {
        "example": {
          "logs": "/api/v2/tasks/1/logs",
          "members": "/api/v2/tasks/1/members",
          "owners": "/api/v2/tasks/1/owners",
          "runs": "/api/v2/tasks/1/runs",
          "self": "/api/v2/tasks/1"
        },
        "properties": {
          "logs": {
            "format": "uri",
            "type": "string"
          },
          "members": {
            "format": "uri",
            "type": "string"
          },
          "owners": {
            "format": "uri",
            "type": "string"
          },
          "runs": {
            "format": "uri",
            "type": "string"
          },
          "self": {
            "format": "uri",
            "type": "string"
          }
        },
        "readOnly": true,
        "type": "object"
      },
      "name": {
        "description": "A description of the task.",
        "type": "string"
      },
      "offset": {
        "description": "Duration to delay after the schedule, before executing the task; parsed from flux.",
        "type": "string"
      },
      "org": {
        "description": "The organization that owns this Task.",
        "type": "string"
      },
      "orgID": {
        "description": "The ID of the organization that owns this Task.",
        "type": "string"
      },
      "status": {
        "default": "active",
        "description": "The current status of the task. When updated to 'inactive', cancels all queued jobs of this task.",
        "enum": [
          "active",
          "inactive"
        ],
        "type": "string"
      },
      "updatedAt": {
        "format": "date-time",
        "readOnly": true,
        "type": "string"
      }
    },
    "required": [
      "name",
      "organization",
      "flux"
    ],
    "type": "object"
  }

Value:
  {
    "authorizationID": "0379950a5aee3002",
    "every": "2m0s",
    "flux": "option task = {name: \"x\", every: 2m} from(bucket:\"a\") |\u003e range(start:-1m) |\u003e to(bucket: \"c\", org: \"a\")",
    "id": "03799abd11158000",
    "labels": [],
    "links": {
      "labels": "/api/v2/tasks/03799abd11158000/labels",
      "logs": "/api/v2/tasks/03799abd11158000/logs",
      "members": "/api/v2/tasks/03799abd11158000/members",
      "owners": "/api/v2/tasks/03799abd11158000/owners",
      "runs": "/api/v2/tasks/03799abd11158000/runs",
      "self": "/api/v2/tasks/03799abd11158000"
    },
    "name": "x",
    "org": "a",
    "orgID": "0379950a5aee3000",
    "status": "active"
  }

Same validation error occurs with influx task find.

It looks like required organization was added in https://github.com/influxdata/influxdb/commit/a88765bf9589e38ae9b58f9e8c02be188747d21d, which introduced just the organization ID.
On the one hand, I think we want this to be updated to include org and orgID now, in addition to other fields that should always be present. On the other hand, I think we're converging toward this Task representation to be read-only, i.e. only sent from server to client; so I'm a little confused about having required fields at all... but specifying them as required does enforce good validation, so we probably should do a thorough update of the required fields.


Include protocol names when printing injector keys in diagnostics.

Inscrutable errors including strings like:
“key <Protocol: 0x12345678>”
will now look like:
“key @protocol(MyProto)”

very cool, thanks @briancroom !


[Dict List] Update design of this component

Is your feature request related to a problem? Please describe.
Previous DictList component's design was not discussed with designers.
Describe the solution you'd like
Display object like this:

Describe alternatives you've considered
Additional context

:tada: This issue has been resolved in version 1.1.0-beta.398 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Filtering

This is a tracking epic for the multiple efforts to improve the UX of our dashboard.
What should be done:

[ ] packit/packit-service#1882, as a part of this possible DB improvements
[ ] packit/packit-service#2513
[ ] #257

I would love if we can try to do this as part of a migration to FastAPI, which should be possible to do over time given that FastAPI can serve Flask
That way we can also change the current structure to enforce syntax that enables Swagger auto-generation. I know @majamassarini tried a while back to marshal all the endpoints but it created a lot of duplication
With FastAPI or doing a huge refactor of the current View-Model we can sort this out, making filtering a lot easier. I noticed there is a lot of technical debt as well with the API views as they generate a lot of queries for each request and do a lot of the heavy lifting inside the view rather than in the model - which makes things a lot less maintainable and less performant


[Relay][VM] Add support for references.

Add initial support for references in the VM. cc @altanh @zhiics @icemelon9 @antinucleon @tmoreau89 @mbrookhart.

I've addressed the ADT tag issue as suggested (using Tuple), and left a TODO comment in DCE.
For the record, I tried adding Feature set checking in DCE to error on detecting RefWrite. However, the VM compilation process requires DCE in other places (I think most critically in InlinePrimitives), so I couldn't get the test to pass without removing feature checking. I think this raises the criticality of fixing DCE slightly, and we are working on it.
re @mbrookhart , I'm not totally sure what you meant by the debug stuff, but references have been in Relay since higher-order AD was introduced. I'm not sure if there is/was an RFC for adding references, although I agree we should probably make one especially as we are working towards supporting stateful stuff going forward.
cc @jroesch who might have more thoughts

I think the failing unit tests are actually unsound and rely on DCE for refs, or perhaps they are sound but correctness is definitely not guaranteed by what we currently have. cc @MarisaKirisame, how should we proceed? We might have to  block this PR until DCE gets fixed once and for all, or disable all the offending tests.

What's the status on this PR now? @jroesch


Refactoring to use default keyword, and other minor changes, for Source/Foundation

Feel free to request changes.

All the refactor PR's are merged, GitHub isn't recognizing the rebase so I'll close them manually. I left comments on the little bits I modified.
Nice to see the codebase shaping up :) In-class initializers especially.


Support returnElements=id-only for Well

Support returnElements=id-only for Well

Returns:
• Parentage uids and names (if any):
o uidWell and nameWell (if it exists in schema). o uidWellbore and nameWellbore (if it exists in
schema).
• data-object uid and name.


Restore support for GCC-4.8

closes #197

I originally tried to setup a CentOS 7 docker image to build in but that was just too cumbersome. I did almost get it in https://github.com/prince-chrismc/jwt-cpp/blob/c81a6c998607ba05ea2e3b4a131620dc9eabd14a/.github/workflows/targets.yml
but manually compiler CMake just takes forever...
I saw GitHub Actions still has Ubuntu 18.04 and I know that had GCC-4.8. But that's also limited to CMake 3.10 (we need 3.12 now). So looked into Ubuntu 20.04 but that just looked horrible. Again, I also looked at a container but that was the same problem as before.
👇 👇 👇 👇 👇
I personally really want to move to C++17... 23's feature list was just approved by ISO commitee... it's 5years old and the majority of platforms have complete support. Concepts would be amazing but those only made it in all 3 compilers 11 months ago...
I'd like to set the minimum at

gcc-9
clang-10
msvc 19.12 (Visual Studio 17 15.5)
apple-clang 10

@Thalhammer How do you feel about 0.8.0 being C++17?

@Thalhammer How do you feel about 0.8.0 being C++17?

Not sure what C++17 would give us except for pissing of everyone stuck on C++11. The only newer standards feature I am looking forward to is C++20's concepts (to simplify the traits checks) but apart from that not sure if theres a reason to switch.
Any particular reason why you'd wanna switch to C++17 ?

C++ 14 has detected,  decltype auto, generic lambda...
I also want template variables to try wide string support.
From 17 better auto rules, has included (this pr), conexpr lambda, fall through, deduction rules, void_t, more type traits
I know people are stuck but they are already will to make that compromise of that getting updates. But other are being limited.
I'd be willing to bump to c++20 😆

The docker solution is definitely viable but just costs CI time which bothers no one


Identify evidence code for GAF2

As discussed in #11
The evidence code (column 7) is shown as "EXP (static)" in the wiki.  This is not necessarily the case for all traits.  The evidence code will change based on how the data was collected.  Some traits are inferred, or calculated from other measurements, and thus will require a different evidence code.  It will be difficult to decide on these codes automatically without human intervention.

Would it be fair to say that for each descriptor X we'd have to manually assign an evidence code?

That's probably the simplest answer.  'EXP' can be used as a placeholder.

@austinmeier - do you want to file a ticket here: https://github.com/evidenceontology/evidenceontology/issues/new


Audio quality improvements

Hi, awesome contribution for TTS community :) I am wondering, did you manage to train a model that would have higher audio quality than the pretrained checkpoint provided with this repo? The audio samples seem to have lower quality than the ones presented in the paper. Any ideas what might be missing?
I am now training the model from scratch and the audio samples are very noisy now (approx 12 hours on 2 GPUs, batch size 128). It is getting better, but I am curious in some upper bound on the quality with the provided source code.

@janvainer Hey, thanks, man. Yeah, the samples are of a bit lower quality than ones presented in demo page of the paper. However, authors used their personal proprietary dataset for training, where the female had much lower pitch than Linda (it is always hard to train on LJ). And I noticed that the less iterations you make, model reconstructs the less accurate higher frequencies. But I also think there there might be some issues in diffusion calculations. I can suggest you to look towards lucidrains code and reuse forward and backward DDPM calculations with improved cosine schedules (maybe this can help): https://github.com/lucidrains/denoising-diffusion-pytorch. His repo follows the paper https://arxiv.org/pdf/2102.09672.pdf. I am going to return to this WaveGrad repo and gain its best quality, finally, once all my other projects are finished. But I think it can be delayed till summer. Also, you can check Mozilla's TTS library, I remember some guys interested in WaveGrad from there and they even added WaveGrad to their codebase: https://github.com/mozilla/TTS. Hope, it can help you.

Thanks for swift repsonse :) I will check the diffusion calculations. I also tried the mozzila version, but the quality of the synthesized audio seemed a bit lower to me, at least for the WaveGrad vocoder combined with tacotron 2. There is this weird high freq noise.
On a side note, I am getting increasing L1 test batch loss, while the l1 test spec batch loss is going down. Did you experience the same behavior?

@janvainer Yes, actually, I remember in my experiments that loss was not representative at all, spectral was more informative. I think such behavior is okay, don't pay attention to this.

Ok thanks! :)

Hello, @janvainer ! I just train and the audio samples are very noisy now (approx 12 hours 25K epochs on single GPU, batch size 96,). Could you show me your train result? And when will the samples be good?  Thanks!

Hi, unfortunately I do not have the results with me anymore. But I remember training on 4 GPUs for several days.