[Impeller] TextField widget, long text causes severe frame drop.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
TextField widget, long text causes severe frame drop.
Expected results
There is no such issue on versions 3.9.0-10.0.pre
Actual results
Scroll, drop frame
Code sample
Code sample
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});
  final String title;
  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  late TextEditingController _textEditingController;

  @override
  void initState() {
    super.initState();
    _textEditingController = TextEditingController();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Expanded(
                child: SizedBox(
              height: double.infinity,
              child: CupertinoTextField.borderless(
                controller: _textEditingController,
                maxLines: null,
              ),
            )),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () {
          setState(() {
            _textEditingController.text = "dome sssssssssssssssssssssssssssssssssssssssssssssss\n                   " * 4096;
          });
        },
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel master, 3.11.0-2.0.pre.98, on macOS 12.6 21G115 darwin-x64, locale zh-Hans-CN)
    • Flutter version 3.11.0-2.0.pre.98 on channel master at /Users/xcode/Desktop/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision dc3d6603f2 (44 minutes ago), 2023-05-11 17:31:23 +0200
    • Engine revision a0925f1581
    • Dart version 3.1.0 (build 3.1.0-94.0.dev)
    • DevTools version 2.23.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/xcode/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • ANDROID_HOME = /Users/xcode/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.74.2)
    • VS Code at /Users/xcode/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.60.0

[✓] Connected device (4 available)
    • iPhone 13 Pro Max (mobile) • 00008110-           • ios            • iOS 15.6 19G71
    • iPhone 14 Pro Max (mobile) • 4CEB6FBA-0B66-455F-9AEB-D80D5D700DD1 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • macOS 12.6 21G115 darwin-x64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 113.0.5672.92

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

https://docs.flutter.dev/perf/impeller
After disabling Impeller, it is very smooth

https://docs.flutter.dev/perf/impeller
After disabling Impeller, it is very smooth

@xiaohucode
Can you run in --profile mode, like flutter run --profile --trace-skia and provide the trace too ?
Also, Open Observatory and save a timeline trace of the performance issue so we know which functions might be causing it. See "How to Collect and Read Timeline Traces" on this blog post:
https://medium.com/flutter/profiling-flutter-applications-using-the-timeline-a1a434964af3#a499
Make sure that the performance overlay is turned OFF while recording the trace.
Attach the JSON file containing your trace to your bug. You may also wish to include a screenshot of the part of the trace showing the problem you are seeing, just so that people can see at a glance what kind of performance issue the bug is about.

@xiaohucode Can you run in --profile mode, like flutter run --profile --trace-skia and provide the trace too ? Also, Open Observatory and save a timeline trace of the performance issue so we know which functions might be causing it. See "How to Collect and Read Timeline Traces" on this blog post: https://medium.com/flutter/profiling-flutter-applications-using-the-timeline-a1a434964af3#a499 Make sure that the performance overlay is turned OFF while recording the trace. Attach the JSON file containing your trace to your bug. You may also wish to include a screenshot of the part of the trace showing the problem you are seeing, just so that people can see at a glance what kind of performance issue the bug is about.

log.zip

Thanks for the details @xiaohucode
Although I do see the performance spike using the code provided, I noticed that you have material 3 enabled, for which there's already an open issue which you can refer : https://github.com/flutter/flutter/issues/119322
Is it possible to verify if the same occurs without using material 3 ?

@darshankawar
I think this is related to Impeller, as Skia is very silky when I use it.

Thanks for the update. Verified with and without impeller and seeing the difference as below:

With impeller:

Without impeller:

Trace as shared here.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.10.0, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.10.0 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 84a1e904f4 (2 days ago), 2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.11.0-6.0.pre.86, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.11.0-6.0.pre.86 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ea5eddb5a9 (55 minutes ago), 2023-05-15 21:39:26 -0700
    • Engine revision c4d4b40c65
    • Dart version 3.1.0 (build 3.1.0-113.0.dev)
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

For text editing in general we're aware that large amounts of text results in major performance problems.  For example https://github.com/flutter/flutter/issues/90063.  But not sure about the specific correlation with Impeller here.

I can confirm that the performance is much worse with impeller, but the difference appears to be something happening in layer tree dispatch and not actually in the impeller backend. Still investigating.

I can confirm locally that disabling the Rtree computation causes the performance to return to reasonable levels. From a cursory reading of the code, it seems like we might have quadradic behavior if none of the rectangles intersect. At a certain number of existing rects, we should probably fall back to a less precise but faster strategy if possible.

Fixed via https://github.com/flutter/engine/pull/42399


builsSrc project can't resolve symbol, show unused variables

Sample project: https://github.com/mtrakal/buildSrcIssue
Expected Behavior
Resolve import file, didn't show all used variables start with Config.XXX as not recognized and in buildSrc -> Confit.kt file don't show all as unused.
Current Behavior
app/build.gradle have import cz.bs.Config which is in \buildSrc\src\main\kotlin\cz\bs\Config.kt
but it didn't recognize it. It recognize it in root build.gradle in this sample project, but not in my real project, maybe same issue as why it didn't resolve in /app/build.gradle
Context

Steps to Reproduce (for bugs)
just sync proejct in Intellj Idea, look at \app\build.gradle file and you will see import as red and not recognized.
Your Environment

Build scan URL:
https://gradle.com/s/5shrwwihi5hwa

IntelliJ IDEA 2018.3 EAP (Community Edition)
Build #IC-183.2635.13, built on September 19, 2018
JRE: 1.8.0_152-release-1293-b10 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

This appears to be working for me (IDEA 2018.3, Gradle 5.3).
We don't have much control over making build.gradle auto-complete better than it is.  If you want better IDE support, there's Kotlin DSL.


Proxy Factory: core

Implement a proxy factory contract that allows zOS Kernel users to create their own upgradeability proxies.

Already implemented in core: https://github.com/zeppelinos/core/blob/master/contracts/Factory.sol

can we close this one then?


Bumped stencil to v3.2.0

Bumped stencil to v3.2.0

Looks like we can't upgrade to v3.2.0 until https://github.com/ionic-team/stencil/issues/4218 is resolved...

Issue boiled down to terser v5.16.6 (stencil compiler dependency), they have already bumped it to 5.16.8 but it will only be present in the next release. So we need to wait for the next stencil release to bump ours here.


shfmt: don't override project defaults

shfmt honors .editorconfig files in the project but the command-line arguments override this. Relying on editorconfig files means that projects only have to configure this value in one place for all of their tools rather than each tool.

Thank you!
This is awesome. I hadn't seen https://github.com/mvdan/sh/commit/67b27b90f098a5a360428057236571f9b3d9ea18

Awesome, thanks for the lightning-fast review!


Advanced policy Multiple Networks section needs an example

http://docs.projectcalico.org/v2.0/getting-started/docker/tutorials/advanced-policy
Multiple networks section tries to explain the concept, but having an example like the other sections above it would help

This guide no longer exists.


Fix issue #320 (don't validate AWSHelperFns)

Only check for the presence of both MultiAZ and AvailabilityZone when they are both not AWSHelperFn instances.

Closing per @sterwill by pulling in a different patch.


Pb99u069/887 drop proxy

Closes #887
Pre-review checklist

[x] All code has been formatted using our config (make format)
[x] Any new API features or modification of existing behavior is covered as defined in our test plan
[x] The changelog has been updated under the ## Unreleased header, using the appropriate sub-headings (### Added, ### Removed, ### Fixed), and the links to the appropriate issues/PRs have been included

I didn't get errors with spago build in this branch, but haven't checked the tests. I'll do that


CRUD requests blocked by hooks return 200

I created the following hook using javascript
onRecordBeforeCreateRequest((e) => {
	return false;
});

It properly prevents the creation of new records, but if record creation is attempted via POST request, the response is 200. I would expect something like a 400 to be returned since it was not successful.

It is working correctly. Returning false just stops the hooks chain allowing you to write a custom response. If you want to return an error you can throw -https://pocketbase.io/docs/js-routing/#error-response.
Also note that the hooks are refactored and will change as part of https://github.com/pocketbase/pocketbase/discussions/4355.

Thanks for the clarification. I didn't realize that the routing docs apply in this capacity to the CRUD hooks. But in hindsight it makes a lot of sense.


CLI

A CLI would be a nice addon to the project. So, user can try out printing images. The current cli need to be polished.
CLI design.
img <command> <filename> --param=value

Do we have to change the current cli structure of img. I think the the entry point defined in the setup.py should work fine. What do you think?

I think its all good now. i am closing the issue. feel free to reopen it :)


Issue 324 precomputed search space

this is a new feature for issue-324 - option to pass pre-computed search space in case it is available.

Codecov Report

Merging #342 into master will increase coverage by 0.19%.
The diff coverage is 98.00%.

@@            Coverage Diff             @@
##           master     #342      +/-   ##
==========================================
+ Coverage   77.44%   77.64%   +0.19%
==========================================
  Files          97       98       +1
  Lines        4678     4724      +46
==========================================
+ Hits         3623     3668      +45
- Misses       1055     1056       +1

Impacted Files
Coverage Δ

GPyOpt/experiment_design/__init__.py
93.75% <ø> (-0.37%)
:arrow_down:

GPyOpt/experiment_design/random_design.py
98.18% <93.33%> (-1.82%)
:arrow_down:

GPyOpt/core/task/space.py
87.80% <100.00%> (+0.05%)
:arrow_up:

...ting/experiment_design_tests/random_design_test.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

Just tagging mentioned issue #324

ok, let me explore this path then.

ok, I accidentally closed this PR, and as I recreated branch, I cannot reopen, I have to do another PR.


[DRAFT] remove instr shape from mma encoding attr

I'm here

The new signature of the helper functions don't seem very intuitive. Could you provide a bit of context? Creating dummy values also seems a bit of a bulky solution and I think it's going to make the code fragile.

Is the problem that the physical layout cannot be figured out from just the layout attribute and the type of the value? If so I assume we are missing some information in the layout attribute. I'm sorry if I mislead you in my previous comment, if the type you were adding can be different than the type of the Value we care about then maybe it needs to be part of the layout attribute indeed. The layout attribute should be self contained.

I will roll back to mma encoding with input type, this will help gemm + gemm fusion case on mma v3.
For flash attention, the output from first gemm will directly consumed by second gemm, without illegal convertion from mma to mma, even these two gemms have different instrShape.

I will use this MR, please check:
https://github.com/openai/triton/pull/2147


Polish Config

What have you changed? (mandatory)

Add an extra # for comments so that it is more easy to distinguish configuration items from real comments.

Integrate advice from Tune-TiKV, so that we don't need to keep configuration sync in two places. As you can see, we frequently changes our configuration, but Tune-TiKV is unchanged and becomes outdated. I will submit another PR later to remove the configuration content from Tune-TiKV and refer to the configuration instead.

What are the type of the changes? (mandatory)

Improvement (non-breaking change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)
No Need
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
Yes. A PR will be created later.
Does this PR affect tidb-ansible update? (mandatory)
Yes. A PR will be created later.

@zhangjinpeng1987 @huachaohuang PTAL

Cool!

@huachaohuang Thanks a lot! Previously they are mostly copied from Tune-TiKV doc. Now I have fixed these mistakes and also made some other adjustments.
@lilin90 Please take a look to see if there are other grammar mistakes and something hard to understand. Thanks!

@lilin90 Thanks for your great work!
@huachaohuang @Connor1996 PTAL

Oh, please change the related files in tidb-ansible

@Connor1996 Thanks for reminding! Created tidb-ansible PR here: https://github.com/pingcap/tidb-ansible/pull/596


for now, add duplicate stale refs to the keep set

if a deleted block matches multiple blockRefs in a given repo, we can't safely assume its no longer referenced. The 'correct' way to move forward is to do a full repo traversal to enumerate the 'correct' set of blocks referenced in the MST, but that requires more thought and is actually something that needs to be done at the repo manager level (and involves extra locking and other shenanigans that i dont want to implement just yet).
So for now, we add duplicate blocks to the keep set and just assume they are still being referenced somewhere.

something wonky with this, ends up with missing blocks sometimes.. need to investigate


Informative: Running insight as a service with forever

A requirement of running a block explorer such insight, is to have it running permanently.
A clean solution to doing this, is to use forever an npm module. First, install forever.
npm install -g forever

Now you can launch insight forever by using the following command
cd insight
BITCOIND_USER="bitcoinrpc" BITCOIND_PASS="pass" INSIGHT_NETWORK='livenet' INSIGHT_PUBLIC_PATH="public" forever start node_modules/insight-bitcore-api/insight.js

This will also restart insight if it crashes.
A full list of running forever processes can be found by calling
forever list

To stop a process
forever stop 0

To restart
forever restart 0

Check the forever github for a full list of commands and options

There is now also this guide available: https://bitcore.io/guides/upstart-daemon


[stable/elastalert] Fix verbose/confusing index names on Elasticsearch 6.x

I had to set the writeback index to just elastalert in order to prevent elastalert to create verbose or confusing indices/types named like elastalert_status_status/elastalert_status, elastalert_status_silence/elastalert_silence, elaststatus_status/elastalert. The _status suffixes are redundant.
For more context, see the elastalert issue Yelp/elastalert#1488 which was fixed via Yelp/elastalert@c250100

/assign @viglesiasce

@viglesiasce Would you mind reviewing this? Thanks!

@jertel Hi! Thanks for maintaining this chart and the companion docker image.
This is a change that I believe necessary in order to support ES 6.x. Would you mind taking a look?

@mumoshu Hi, and thanks for the PR. I think you might have missed a required change in templates/config.yaml.
This line is hardcoded to elastalert_status:
 writeback_index: elastalert_status

and I would expect it needs to be changed to:
 writeback_index: {{ .Values.writebackIndex }}

@jertel Thanks for the review! I updated the commit, manually verified what it actually fixes, and updated the PR/commit description accordingly.

/lgtm

@jertel Thanks for the review! Probably we also need someone from the k8s org to approve this?
Are you aware of any reviewer who belongs to the k8s org., and has access to AWS/capable of reviewing AWS-related charts like this?
I have difficulty receiving reviews for such charts also in #5766 and #5820 recently.

@mumoshu You're welcome. The "charts" maintainers will take care of them. It could take several days due to the high PR volume.

@jertel Good to hear. I appreciate your support!

@unguiculus Would you mind confirming this?

Could anyone review this?

@mumoshu my PR that was merged a couple weeks ago also bumped the chart version to the same version you bumped to, so that's causing the lint test to fail. Can you bump yours again?

/lgtm

/ok-to-test


Table-Sorting plugin causes the headline of a table in exported PDF in black background

Issue Description
If I enable Table-Sorting, the headline of the table in a note exported as a PDF will have black background
Steps to Reproduce
Please provide a detailed list of steps to reproduce the issue:

generate a table as usual.
export the note with the table to a pdf file.

Expected Behavior
Light head line
Actual Behavior
Dark head line.
Screenshots
view in Obsidian Editor

view in exported PDF

Technically, the styles.css file is optional and can be removed safely. This should remove the black table header.


Notes do not rearrange when a note is deleted

When a note is deleted, the other notes do not rearrange to fill the empty space.

 Notes do not rearrange when a note is deleted

Fixed by: 1a9e0bf19c46e757a1d721fa0c998092d6391751


Onboard your own app to Okteto tutorial

This PR adds a tutorial to onboard your first app to Okteto. This is a critical tutorial to onboard new users, I think we should have it at the first level of the sidebar.
I also update the Okteto Manifest overview doc to introduce dependencies and fix some inconsistencies

Closing in favor of https://github.com/okteto/docs/pull/610


Hover Added Social Media Icons

Fixes #2149
Added hover effect on social media icons

Coverage remained the same at 84.711% when pulling 1f74698cb7408d21fa83ac3a084caa876baec810 on ashutosh264:hover-added-social-icons into dd70f7bf32d89033ddde6d5b06a500432e1ab4e9 on CircuitVerse:master.


re-factory Tensile to support all Matrix Instruction

1. Support Matrix Instructions
  - FP32 MI32x32x1x2 and MI32x32x2x1
  - FP32 MI16x16x1x4 and MI16x16x4x1
  - FP32 MI4x4x1x16
  - BF16 MI32x32x2x2 and MI32x32x4x1
  - BF16 MI16x16x2x4 and MI16x16x8x1
  - BF16 MI4x4x2x16
  - FP16 MI32x32x4x2 and MI32x32x8x1
  - FP16 MI16x16x4x4 and MI16x16x16x1
  - FP16 MI4x4x4x16
2. Support arbitrary MI waves in one workgroup
3. add disable option for LdsBlockSizePerPad
4. Support TransportLDS in NN/NT/TN/TT
5. Support to put multi-wave in M dimension

Looks good! Does this affect the direct o LDS feature?

Hi Alex, we have another patch for DirectToLDS feature.
We decide to separate it from this one to keep changes not too big.
We will create another PR for DirectToLDS after this one is accepted.

rocblas-test pass

@TonyYHsieh some errors are related to linting (unused variable and stuffs). Maybe take a look at it?

@TonyYHsieh some errors are related to linting (unused variable and stuffs). Maybe take a look at it?

Cleaned up lint warnings in PR 974 to unblock tests. Mostly just a few unused variables that I commented out for now, but you may want to double check the changes just in case.


Wake in case of command failure

Simple quick and not so dirty:

Add condition to parse the output of tesla-control command, filtering on Error: context deadline exceeded
Launch nested wake to try and wake up the car

closes #119
closes https://github.com/tesla-local-control/tesla-local-control-addon/issues/104

Note: tested locally and it works when the car is at home

[!WARNING]
Not tested when car is away


factory function for Parameter instead of default value + instantiate=True

Is your feature request related to a problem? Please describe.
I'm trying to use composition of 2 parameterized classes in which the top-level class has methods that depend on parameters in the subobjects. The subobjects have a view attribute which is essentially pn.Param(self.param) with some options for the widgets.
Below code doesn't work because when pm.depends is evaluated, self.a doesn't exist yet, so 'a.value' can't get evaluated (it generates an AttributeError). This is still true when self.a = A() happens before super().__init__().
import param as pm

class A(pm.Parameterized):
    value = pm.Parameter(default=123)

class B(pm.Parameterized):
    a = pm.Parameter()

    def __init__(self):
        super().__init__()
        self.a = A()

    @pm.depends('a.value', watch=True)
    def _value_update(self):
        print(self.a.value)

if __name__ == '__main__':
    b = B()
    b.a.value = 456

I tried instantiating an A object as a default value instead, redefining class B like this:
class B(pm.Parameterized):
    a = pm.Parameter(default=A(), instantiate=True)

    @pm.depends('a.value', watch=True)
    def _value_update(self):
        print(self.a.value)

This "works" in this toy example, but when A has a view attribute that contains panel GUI controls, the GUI controls don't work anymore. I suspect this is due to the way the default A instance is deepcopied when B objects are instantiated.
Describe the solution you'd like
Instead of having a default value that gets deepcopied, I propose supplying the Parameter constructor with a factory function to create a default value. It sidesteps all issues in cases where copy behavior gets complicated.
Describe alternatives you've considered
In my case, I was able to solve the problem by making A's view attribute a cached property. In python 3.7:
@property
@functools.lru_cache(maxsize=None)
def view(self):
    ...

Hi @tomas16
If you provide A() to super.__init__ then it will work
import param as pm

class A(pm.Parameterized):
    value = pm.Parameter(default=123)

class B(pm.Parameterized):
    a = pm.Parameter()

    def __init__(self):
        super().__init__(a=A())

    @pm.depends('a.value', watch=True)
    def _value_update(self):
        print(self.a.value)

if __name__ == '__main__':
    b = B()
    b.a.value = 456

$ python 'script.py'
456

Does this solve your problem?

Thanks, that worked!
Don't know how I missed that 🙂

Thanks for the suggestion, @MarcSkovMadsen , and I'm glad it works here. Still, it sounds to me like there are underlying issues to address here. I think we should at least consider if we can make the dependency handling cover this case. I'd also at least like to see what the issue is with instantiate=True, as that seems like a more straightforward implementation to me.

If I can weigh in with the perspective of a relatively new holoviz user.

instantiate, while well-documented, is a misleading term since it means making a copy of the default value.
I guess the reason why I didn't try to provide my instance to super().__init__() is because the Parameter constructor seems to provide what I needed through default and instantiate and the documentation emphasizes that pattern.
Since there is a solution, the remaining issues seem more related to style (where should one instantiate this object) and documentation.
If you wanted to move the instantiation to the Parameter constructor, I still feel like making (deep) copies is potentially dangerous, and the factory function I suggested has examples in the standard library (e.g. collections.defaultdict takes a default_factory argument).
I understand how default + instantiate is useful for simple objects like lists or dicts containing simple types. This is the example in the documentation.
If at all possible, I would rename instantiate to something more appropriate, regardless of whether a factory function option gets added.

Agree on instantiate. That name has always confused me.

Yes, instantiate is a lousy name. A more accurate name would be deepcopy_default_value_per_parameterized_instance, but it's been called instantiate for many years now, so the best we could do is add an alias.  Would people guess what it does if it were called deepcopy?
I agree; the Parameter constructor should already handle this case, though there may be some technical reason I can't see why that's infeasible. Definitely worth trying to see if we can address that!
Sure. We should at least document Marc's pattern if we take no other action.
Making deepcopies can indeed be dangerous, which is why it is not the default, but writing a factory function seems like a lot of work for something that is usually covered by a simple boolean flag. Seems ok to support such a factory function, but not for it to be the only way to control instantiation.
default + instantiate is useful not just for simple containers of literals, but also for deeply nested Parameterized objects. As long as the main state of such an object is in Parameters, instantiate=True ensures that instances do not share state. And instantiate=False covers when you do want a single shared state. I'd be interesting in seeing concrete examples not covered by one of those two options.

Re 4:

Agreed a factory shouldn't replace what's currently there. A user would provide either a default or a factory.
The factory could simply be a class, so in my original example the parameter a in class B would be declared as a = pm.Parameter(default_factory=A)

I'd entirely forgotten about it, but it turns out we've already got support for this. :-/  However, it's only implemented for Selector and subclasses:
https://github.com/holoviz/param/blob/d88921cc1992cf0e55d7289d57e90d96ce1c4e71/param/__init__.py#L1237
Assuming that this behavior is what you'd like (but for non-Selector types), I'd be happy to review and accept a PR that bubbles this functionality up higher, into Parameter, so that it is available for all Parameters.

deepcopy_default_value_per_parameterized_instance is a little long and deepcopy a little too short :) (I'm always confused with readonly and constant that both lack some context). How about deepcopy_default or deepcopy_default_on_init? I believe that any of these suggestions is better than the current instantiate.

For the record this is also requested and discussed in There is no default_factory for Param objects? on Discourse.


Custom tflite model

Hi,
I am interested in your solution. I have few questions:

Can we integrate our custom tflite object detection model (such as trained using google's automl)?
If yes, How many FPS we may get on Raspberry Pi 4b using our custom trained tflite model (using automl) integrated with your GPIO based software.
Currently, as per your documentation, trigger mechanism checks some criteria before raising it such as min probability of 50%, area occupied, motion etc..., Are these criteria customizable ?
Currently trigger mechanism decides to raise the trigger based on some rules for every image. Is it possible, to add some additional criteria which will raise the trigger only iff it detects in more than certain number of frames (say 50%) of last 5 (or 10 or 20..)  frames... this will increase the robustness of the trigger and will reduce the false positives.

@prpankajsingh,

I'm using the ncnn framework running a Yolo deviate, wrapped in a lib. You can use a tailor made TF-lite, sure.
Using flaoting points, most networks run at 2-5 FPS on a Raspberry Pi 4. Integers are much faster. Up to 20 FPS is possible.
Criteria are all defined in a setting file. You can change them whenever you like.
That's possible.

Do keep in mind, you have to program the above modifications yourself. All C++ code is provide on the image.
Especially the integration of TF-Lite can be cumbersome.


ScrCpy not working on shell changed wm size to 2560x1080 (ultrawide) (21:9)

[X] I have read the FAQ.
[X] I have searched in existing issues.

Environment

OS: Windows 10 Pro
scrcpy version: 1.16, 1.21
installation method: Windows release, via command prompt, adb version:
C:\Programs\scrcpy>adb version
Android Debug Bridge version 1.0.41
Version 31.0.3-7562133
Installed as C:\Programs\scrcpy\adb.exe
device model: MX4 (RT-165) /Rockchip Rk3229
Android version: 5.1.1 - S.W.A.T.

Describe the bug
I was using scrcpy without any problem with MX4 (RT-165) in 1920x1080 for years.
Now it is connected to ultrawide monitor and I have found this article - https://www.reddit.com/r/fireTV/comments/geywyf/change_resolution_to_2560x1080_on_ultrawide/
So I did change it for my MX4 (RT-165) adb shell wm size 2560x1080 and it is working almost ok(sometimes you need to double start google play, youtube and few others, but they load the second time)
Unfortunately scrcpy do not and exits with Java error
On errors, please provide the output of the console (and adb logcat if relevant).
`C:\Programs\scrcpy>scrcpy.exe
INFO: scrcpy 1.16 <https://github.com/Genymobile/scrcpy>
C:\Programs\scrcpy\scrcpy-server: 1 file pushed, 0 skipped. 4.9 MB/s (33622 bytes in 0.007s)
adb.exe: error: more than one device and emulator
ERROR: "adb reverse" returned with value 1
WARN: 'adb reverse' failed, fallback to 'adb forward'
27183
[server] INFO: Device: rockchip RT-165 (Android 5.1.1)
INFO: Renderer: direct3d
INFO: Initial texture: 2560x1080
[server] ERROR: Exception on thread Thread[main,5,main]
WARN: Device disconnected
java.lang.IllegalStateException
        at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
        at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:1033)
        at com.genymobile.scrcpy.ScreenEncoder.encode(ScreenEncoder.java:108)
        at com.genymobile.scrcpy.ScreenEncoder.internalStreamScreen(ScreenEncoder.java:89)
        at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:55)
        at com.genymobile.scrcpy.Server.scrcpy(Server.java:76)
        at com.genymobile.scrcpy.Server.main(Server.java:225)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:249)
Press any key to continue...

C:\Programs\scrcpy>scrcpy.exe
scrcpy 1.21 <https://github.com/Genymobile/scrcpy>
C:\Programs\scrcpy\scrcpy-server: 1 file pushed, 0 skipped. 12.0 MB/s (40067 bytes in 0.003s)
adb.exe: error: more than one device and emulator
ERROR: "adb reverse" returned with value 1
WARN: 'adb reverse' failed, fallback to 'adb forward'
[server] INFO: Device: rockchip RT-165 (Android 5.1.1)
INFO: Renderer: direct3d
INFO: Initial texture: 2560x1080
WARN: Device disconnected
[server] ERROR: Exception on thread Thread[main,5,main]
java.lang.IllegalStateException
        at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
        at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:1033)
        at com.genymobile.scrcpy.ScreenEncoder.encode(ScreenEncoder.java:110)
        at com.genymobile.scrcpy.ScreenEncoder.internalStreamScreen(ScreenEncoder.java:91)
        at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:65)
        at com.genymobile.scrcpy.Server.scrcpy(Server.java:93)
        at com.genymobile.scrcpy.Server.main(Server.java:309)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:249)`

Extra checks to provide(as have seen, when looking for "similar" bugs):
C:\Programs\scrcpy>adb shell echo hello
hello
C:\Programs\scrcpy>adb unroot
adb: unable to connect for unroot: closed
adb logcat file(quite big)
output.zip
For any other questions, please ask, I'm Java developer myself(but not Android) and can assist

The device hardware encoder is not able to encode at the given definition:
https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#exception

The device hardware encoder is not able to encode at the given definition: https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#exception

Worked like a charm!
Thank you so much, I do not need the full resolution, just to control it :)
Enjoy holidays!
Thanks again


MultipartBody not working with PUT

MultipartBody formBody = new MultipartBody.Builder()
				.setType(MultipartBody.FORM)
				.addFormDataPart("message", message.trim())
				.build(); //not working
		RequestBody formBody = new FormBody.Builder()
				.add("message", message.trim())
				.build(); //working

		Request request = new Request.Builder()
				.url(url)
				.put(formBody) // here I use PUT request
				.build();

If I sent MultipartBody with PUT request, empty data is sent. It works fine if MultiPartBody is sent with POST request.

Executable test case please.

Hi @neobie , i could not simulate your scenario.
However, I did two scenarios, using POST and PUT to inspect the sent request. At first, in both cases everything is ok.
I created a servlet to simulate the data receiver, and it was able to read the data that was sent using OkHttp.
What may be happening is that in the destination of your data, the header "multipart / form-data" is being read manually and compared to a fixed value.
For example, the logs below indicate that for both POST and PUT methods, the content type of the request is "multipart / form-data; boundary = xxxxxxxx" and not just the fixed "multipart / form-data" String.
`{
"method" : "PUT",
"path" : "/upload/put",
"body" : "--08fe80aa-36f7-4033-bf40-37d34f3a8d7c\r\nContent-Disposition: form-data; name="message"\r\nContent-Length: 5\r\n\r\ndados\r\n--08fe80aa-36f7-4033-bf40-37d34f3a8d7c--\r\n",
"headers" : {
"Connection" : [ "Keep-Alive" ],
"User-Agent" : [ "okhttp/3.13.1" ],
"Host" : [ "localhost:3000" ],
"Accept-Encoding" : [ "gzip" ],
"Content-Length" : [ "158" ],
"Content-Type" : [ "multipart/form-data; boundary=08fe80aa-36f7-4033-bf40-37d34f3a8d7c" ]
},
"keepAlive" : true,
"secure" : false
}
{
"method" : "POST",
"path" : "/upload/put",
"body" : "--3d931c15-3fe7-4d7c-bdda-e667315bf3c7\r\nContent-Disposition: form-data; name="message"\r\nContent-Length: 5\r\n\r\ndados\r\n--3d931c15-3fe7-4d7c-bdda-e667315bf3c7--\r\n",
"headers" : {
"Connection" : [ "Keep-Alive" ],
"User-Agent" : [ "okhttp/3.13.1" ],
"Host" : [ "localhost:3000" ],
"Accept-Encoding" : [ "gzip" ],
"Content-Length" : [ "158" ],
"Content-Type" : [ "multipart/form-data; boundary=3d931c15-3fe7-4d7c-bdda-e667315bf3c7" ]
},
"keepAlive" : true,
"secure" : false
}`
It is the same scenario when a json request is sent and the Content Type header is sent with "application / json; charset = UTF-8" and not just "application / json". Make sure this is your case.
You can see my test here.


Question: is there a helm release for the metrics that can be installed via the lens IDE

in the lens IDE under cluster settings is an option to manually install "Metrics Stack" and we are keen to automate this using terraform and the "helm_release" resource but cannot locate a helm release for this? there is also a link to the YAML manifests here https://github.com/lensapp/lens/tree/master/extensions/metrics-cluster-feature/resources is it just a case of automating those to meet the same configuration?

This is bit misleading, for metrics You need prometheus operator (not metrics-server), just install kube-prometheus-stack
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm upgrade
kubectl create ns prometheus
helm install prometheus prometheus-community/kube-prometheus-stack --namespace prometheus

that fixed problem form me

Thanks @dominch that helped push us in right direction 👍
To get this working via terraform for our AKS clusters we were successful using 2 steps,
step 1 - terraform
resource "helm_release" "monitoring" {
atomic = true
chart = "kube-prometheus-stack"
name = "kube-prometheus-stack"
create_namespace = true
namespace = "lens-metrics"
repository = "https://prometheus-community.github.io/helm-charts/"
timeout = 180
wait = true
set {
name  = "rbacEnable"
value = "false"
}
depends_on = [
azurerm_kubernetes_cluster.azure,
]
}
step 2 - change cluster setting in lens IDE
In the lens IDE we also needed an extra bit provided by @Supesharisuto which was,
To get metrics to show up in Lens: go to cluster -> settings Under Prometheus drop down choose " Prometheus Operator" NOT "Auto detect"

After that metrics started showing


[Question] cargo run uses the project folder as the working folder. Is this behaviour intended?

I'm currently learning Rust and I'm surprised by the way cargo run acts (I use Rust on Windows with msvc toolchain and call cargo from PowerShell):
The following code:
    use std::io::Write;
    let mut file = std::fs::File::create("some.txt").expect("Couldn't create some.txt");
    let buffer = b"some text";
    let result = file.write(buffer);

when executed by cargo run creates "some.txt" in the root folder of the project, not in the folder where .exe file reside. It's strange, at least because this way debug execution and release execution overlap.
Is this behaviour intended? And if yes, then I'd be interested in knowing why. Thank you.

Hm I think cargo run should preserve the current dir of the calling process, did you invoke it from the root dir? If so, I believe that's expected behavior

Yes, I invoked it from the root directory of the project. It still looks strange to me, but I guess I'll find some scenario in which this behaviour is needed one day. Thanks for the quick reply ^-^

No worries! Ok in that case I think this expected behavior, so closing.


feat(package): update dependencies

This also means updating the minimum node version to align with @google-cloud/logging 's min node version.
Also updated travis config to test recent node versions and latest node.
Fixed tests to be able to run with latest Lab version.
Added lock file which mostly means faster CI builds and faster dev builds.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

If you do not intend on supporting this lib anymore I (or my employer Salesflare) would gladly take on support for this btw.

@AdriVanHoudt thanks for the contribution.
I will send you over an email regarding your suggestion :)


docs: update readme

:zap: Summary
Update docs to make them more intuitive.

Changes Unknown when pulling 7a2635e297862a28e3725d1d5c3217c67354102c on mrexox:docs/update-readme into ** on coverallsapp:master**.


Broken C#6 tutorial

The Focus mode editor throws the following compiler errors from page one:
(1,1): error CS8652:t The feature 'using declarations' is currently in Preview and unsupported. To use Preview features, use the 'preview' language version.
(1,7): error CS0118: 'System' is a namespace but is used like a type
(1,13): error CS0210: You must provide an initializer in a fixed or using statement declaration
(1,13): error CS1001: Identifier expected
(1,1): error CS1513: } expected
(26,14): error CS0542: 'Program': member names cannot be the same as their enclosing type
Example code needs to be adjusted or focus mode editor needs to target the correct version.
The tutorial is functionally useless in its current state.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1a3686c2-4c73-5686-0da9-abc38c74aeec
Version Independent ID: ca995f80-9375-e9ca-b855-6e6893581e23
Content: Explore C# 6 - Try the new features in C# 6 interactively, using your browser
Content Source: docs/csharp/tutorials/exploration/csharp-6.yml
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks for writing this @SVCLIII We'll look into this.
Ping @mimisasouvanh @rloutlaw

@BillWagner The source for this tutorial appears to be using the legacy !code block consumption mechanism. Can you update it to use :::code with the correct scaffolding syntax?
CC: @mimisasouvanh

@rloutlaw The :::code syntax only works in md files, not YML files. Please advise.
CC @mimisasouvanh

We're investigating the issue /cc @adunndevster

@BillWagner @rloutlaw @SVCLIII - You may want to try the new triple colon ":::code..." syntax. Here is an example of how it works.
And here is the preview showing it working.
Explanation: if you use the new ":::" syntax, and add the interactive="try-dotnet" attribute, it give the code snippet a "Try" button. When clicked, this wraps the snippet in all the proper framework needed to allow it to run.
cc @lamebrain


RuntimeError "Could not compile cuda_convnet"

I followed instructions, but couldn't run train.py. Here is my error message:
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
from /usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda/cuda_ndarray.cuh:35,
from /home/ivan/Programs/Library/pylearn2/pylearn2/sandbox/cuda_convnet/nvmatrix.cuh:49,
from mod.cu:130:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by "
^
/usr/local/cuda-6.5/bin/..//include/cublas.h(90): error: more than one instance of overloaded function "cublasGetVersion_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(102): error: more than one instance of overloaded function "cublasSnrm2_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(103): error: more than one instance of overloaded function "cublasDnrm2_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(104): error: more than one instance of overloaded function "cublasScnrm2_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(105): error: more than one instance of overloaded function "cublasDznrm2_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(108): error: more than one instance of overloaded function "cublasSdot_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(110): error: more than one instance of overloaded function "cublasDdot_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(112): error: more than one instance of overloaded function "cublasCdotu_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(114): error: more than one instance of overloaded function "cublasCdotc_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(116): error: more than one instance of overloaded function "cublasZdotu_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(118): error: more than one instance of overloaded function "cublasZdotc_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(122): error: more than one instance of overloaded function "cublasSscal_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(123): error: more than one instance of overloaded function "cublasDscal_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(124): error: more than one instance of overloaded function "cublasCscal_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(125): error: more than one instance of overloaded function "cublasZscal_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(127): error: more than one instance of overloaded function "cublasCsscal_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(128): error: more than one instance of overloaded function "cublasZdscal_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(131): error: more than one instance of overloaded function "cublasSaxpy_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(133): error: more than one instance of overloaded function "cublasDaxpy_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(135): error: more than one instance of overloaded function "cublasCaxpy_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(137): error: more than one instance of overloaded function "cublasZaxpy_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(141): error: more than one instance of overloaded function "cublasScopy_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(143): error: more than one instance of overloaded function "cublasDcopy_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(145): error: more than one instance of overloaded function "cublasCcopy_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(147): error: more than one instance of overloaded function "cublasZcopy_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(151): error: more than one instance of overloaded function "cublasSswap_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(152): error: more than one instance of overloaded function "cublasDswap_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(153): error: more than one instance of overloaded function "cublasCswap_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(154): error: more than one instance of overloaded function "cublasZswap_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(157): error: more than one instance of overloaded function "cublasIsamax_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(158): error: more than one instance of overloaded function "cublasIdamax_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(159): error: more than one instance of overloaded function "cublasIcamax_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(160): error: more than one instance of overloaded function "cublasIzamax_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(163): error: more than one instance of overloaded function "cublasIsamin_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(164): error: more than one instance of overloaded function "cublasIdamin_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(166): error: more than one instance of overloaded function "cublasIcamin_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(167): error: more than one instance of overloaded function "cublasIzamin_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(170): error: more than one instance of overloaded function "cublasSasum_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(171): error: more than one instance of overloaded function "cublasDasum_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(172): error: more than one instance of overloaded function "cublasScasum_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(173): error: more than one instance of overloaded function "cublasDzasum_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(176): error: more than one instance of overloaded function "cublasSrot_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(178): error: more than one instance of overloaded function "cublasDrot_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(180): error: more than one instance of overloaded function "cublasCrot_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(182): error: more than one instance of overloaded function "cublasZrot_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(185): error: more than one instance of overloaded function "cublasCsrot_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(187): error: more than one instance of overloaded function "cublasZdrot_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(191): error: more than one instance of overloaded function "cublasSrotg_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(192): error: more than one instance of overloaded function "cublasDrotg_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(193): error: more than one instance of overloaded function "cublasCrotg_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(195): error: more than one instance of overloaded function "cublasZrotg_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(199): error: more than one instance of overloaded function "cublasSrotm_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(201): error: more than one instance of overloaded function "cublasDrotm_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(205): error: more than one instance of overloaded function "cublasSrotmg_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(207): error: more than one instance of overloaded function "cublasDrotmg_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(212): error: more than one instance of overloaded function "cublasSgemv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(215): error: more than one instance of overloaded function "cublasDgemv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(218): error: more than one instance of overloaded function "cublasCgemv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(221): error: more than one instance of overloaded function "cublasZgemv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(226): error: more than one instance of overloaded function "cublasSgbmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(230): error: more than one instance of overloaded function "cublasDgbmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(234): error: more than one instance of overloaded function "cublasCgbmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(238): error: more than one instance of overloaded function "cublasZgbmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(244): error: more than one instance of overloaded function "cublasStrmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(246): error: more than one instance of overloaded function "cublasDtrmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(248): error: more than one instance of overloaded function "cublasCtrmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(250): error: more than one instance of overloaded function "cublasZtrmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(254): error: more than one instance of overloaded function "cublasStbmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(256): error: more than one instance of overloaded function "cublasDtbmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(258): error: more than one instance of overloaded function "cublasCtbmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(260): error: more than one instance of overloaded function "cublasZtbmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(264): error: more than one instance of overloaded function "cublasStpmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(266): error: more than one instance of overloaded function "cublasDtpmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(268): error: more than one instance of overloaded function "cublasCtpmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(270): error: more than one instance of overloaded function "cublasZtpmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(273): error: more than one instance of overloaded function "cublasStrsv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(275): error: more than one instance of overloaded function "cublasDtrsv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(277): error: more than one instance of overloaded function "cublasCtrsv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(279): error: more than one instance of overloaded function "cublasZtrsv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(283): error: more than one instance of overloaded function "cublasStpsv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(286): error: more than one instance of overloaded function "cublasDtpsv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(288): error: more than one instance of overloaded function "cublasCtpsv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(290): error: more than one instance of overloaded function "cublasZtpsv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(294): error: more than one instance of overloaded function "cublasStbsv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(298): error: more than one instance of overloaded function "cublasDtbsv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(301): error: more than one instance of overloaded function "cublasCtbsv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(305): error: more than one instance of overloaded function "cublasZtbsv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(310): error: more than one instance of overloaded function "cublasSsymv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(313): error: more than one instance of overloaded function "cublasDsymv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(316): error: more than one instance of overloaded function "cublasChemv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(319): error: more than one instance of overloaded function "cublasZhemv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(324): error: more than one instance of overloaded function "cublasSsbmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(327): error: more than one instance of overloaded function "cublasDsbmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(330): error: more than one instance of overloaded function "cublasChbmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(333): error: more than one instance of overloaded function "cublasZhbmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(338): error: more than one instance of overloaded function "cublasSspmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(341): error: more than one instance of overloaded function "cublasDspmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(344): error: more than one instance of overloaded function "cublasChpmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(347): error: more than one instance of overloaded function "cublasZhpmv_v2" has "C" linkage
/usr/local/cuda-6.5/bin/..//include/cublas.h(353): error: more than one instance of overloaded function "cublasSger_v2" has "C" linkage
Error limit reached.
100 errors detected in the compilation of "/tmp/tmpxft_000009c9_00000000-8_mod.cpp1.ii".
Compilation terminated.
['nvcc', '-shared', '-g', '-O3', '-use_fast_math', '-arch=sm_30', '-m64', '-Xcompiler', '-DCUDA_NDARRAY_CUH=d67f7c8a21306c67152a70a88a837011,-fPIC', '-Xlinker', '-rpath,/home/ivan/.theano/compiledir_Linux-3.13.0-44-generic-x86_64-with-Ubuntu-14.04-trusty-x86_64-2.7.6-64/cuda_ndarray', '-Xlinker', '-rpath,/usr/local/cuda-6.5/lib', '-Xlinker', '-rpath,/usr/local/cuda-6.5/lib64', '-I/home/ivan/Programs/Library/pylearn2/pylearn2/sandbox/cuda_convnet/', '-I/usr/lib/python2.7/dist-packages/numpy/core/include', '-I/usr/include/python2.7', '-I/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda', '-o', '/home/ivan/.theano/compiledir_Linux-3.13.0-44-generic-x86_64-with-Ubuntu-14.04-trusty-x86_64-2.7.6-64/cuda_convnet/cuda_convnet.so', 'mod.cu', '-L/home/ivan/.theano/compiledir_Linux-3.13.0-44-generic-x86_64-with-Ubuntu-14.04-trusty-x86_64-2.7.6-64/cuda_ndarray', '-L/home/ivan/.theano/compiledir_Linux-3.13.0-44-generic-x86_64-with-Ubuntu-14.04-trusty-x86_64-2.7.6-64/cuda_convnet', '-L/usr/local/cuda-6.5/lib', '-L/usr/local/cuda-6.5/lib64', '-L/usr/lib', '-lpython2.7', '-lcublas', '-lcudart']
ERROR (pylearn2.sandbox.cuda_convnet.convnet_compile): Failed to compile /home/ivan/.theano/compiledir_Linux-3.13.0-44-generic-x86_64-with-Ubuntu-14.04-trusty-x86_64-2.7.6-64/cuda_convnet/mod.cu ('nvmatrix_kernels.cu', 'nvmatrix.cu', 'conv_util.cu', 'filter_acts.cu', 'img_acts.cu', 'weight_acts.cu'): ('nvcc return status', 4, 'for cmd', 'nvcc -shared -g -O3 -use_fast_math -arch=sm_30 -m64 -Xcompiler -DCUDA_NDARRAY_CUH=d67f7c8a21306c67152a70a88a837011,-fPIC -Xlinker -rpath,/home/ivan/.theano/compiledir_Linux-3.13.0-44-generic-x86_64-with-Ubuntu-14.04-trusty-x86_64-2.7.6-64/cuda_ndarray -Xlinker -rpath,/usr/local/cuda-6.5/lib -Xlinker -rpath,/usr/local/cuda-6.5/lib64 -I/home/ivan/Programs/Library/pylearn2/pylearn2/sandbox/cuda_convnet/ -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -I/usr/local/lib/python2.7/dist-packages/theano/sandbox/cuda -o /home/ivan/.theano/compiledir_Linux-3.13.0-44-generic-x86_64-with-Ubuntu-14.04-trusty-x86_64-2.7.6-64/cuda_convnet/cuda_convnet.so mod.cu -L/home/ivan/.theano/compiledir_Linux-3.13.0-44-generic-x86_64-with-Ubuntu-14.04-trusty-x86_64-2.7.6-64/cuda_ndarray -L/home/ivan/.theano/compiledir_Linux-3.13.0-44-generic-x86_64-with-Ubuntu-14.04-trusty-x86_64-2.7.6-64/cuda_convnet -L/usr/local/cuda-6.5/lib -L/usr/local/cuda-6.5/lib64 -L/usr/lib -lpython2.7 -lcublas -lcudart')
Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/home/ivan/Code/saliency/python/deep_object/theano_alexnet-master/train.py", line 56, in train_net
shared_x, shared_y, rand_arr, vels) = compile_models(model, config)
File "/home/ivan/Code/saliency/python/deep_object/theano_alexnet-master/alex_net.py", line 191, in compile_models
(rand, rand_arr)])
File "/usr/local/lib/python2.7/dist-packages/theano/compile/function.py", line 223, in function
profile=profile)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py", line 512, in pfunc
on_unused_input=on_unused_input)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py", line 1312, in orig_function
defaults)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py", line 1181, in create
_fn, _i, _o = self.linker.make_thunk(input_storage=input_storage_lists)
File "/usr/local/lib/python2.7/dist-packages/theano/gof/link.py", line 434, in make_thunk
output_storage=output_storage)[:3]
File "/usr/local/lib/python2.7/dist-packages/theano/gof/vm.py", line 847, in make_all
no_recycling))
File "/home/ivan/Programs/Library/pylearn2/pylearn2/sandbox/cuda_convnet/base_acts.py", line 152, in make_thunk
raise RuntimeError('Could not compile cuda_convnet')
RuntimeError: ('The following error happened while compiling the node', <pylearn2.sandbox.cuda_convnet.filter_acts.FilterActs object at 0x7f009a2df350>(GpuContiguous.0, GpuContiguous.0), '\n', 'Could not compile cuda_convnet')
I am not sure where to go from here. Any ideas?

hi,
it seems that there's a problem of theano installation.
According to posts in https://groups.google.com/forum/#!msg/pylearn-users/x3jA1pQIN38/ehNH20ZAiuEJ
reinstallation of the latest theano would solve this problem.

Thank you sir, worked like a charm.


Cannot able to rotate the FP-ACCESS-TOKEN-SECRET from proxy keyvault. Test 9.3 g(10) certification

I'm following the documentation https://github.com/microsoft/fhir-proxy/blob/v2.0/docs/ConfigureProxyONCg10.md
For step 9.3,

I need to rotate the FP-ACCESS-TOKEN-SECRET from the key-vault of the proxy.
I don't see the rotate option for FP-ACCESS-TOKEN-SECRET in my FHIR Proxy's key vault.
Here are some screenshots:-

Any idea how can I rotate this secret? Inferno is asking to do the revocation prior to the execution of the test.
Thanks in advance!

You can use string to generate a random not easily guessed encryption string with sufficient length then use portal to access key vault and add a new version to the existing FP-ACCESS-TOKEN-SECRET secret.  Then recycle the proxy app.  Then any previous access tokens issued with the old encryption secret will fail....

@sordahl-ga
This is my proxy function app.

I don't see any key vault FP-ACCESS-TOKEN-SECRET version value here. So in my case, it only allows one version for the key vault FP-ACCESS-TOKEN-SECRET?
So should I delete the previous version and then make the new one?
Is this the right approach?

It worked. Thank you very much for this.

Thank you @sordahl-ga for your instruction


haskellPackages.readline: fix Setup.hs to work with Cabal 3

Motivation for this change
Fix Haskell's readline package, which is marked as broken in the latest release.
Things done
Patched the Setup.hs file, to use Cabal 3's API, which is backwards incompatible with Cabal 2.

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

@GrahamcOfBorg build haskellPackages.readline
@samuelrivas I updated the comment a little bit and pushed to your branch.  I'll merge this in when CI has finished.

Ofborg passes, this looks good.
Thanks for working through this with me @samuelrivas!

Awesome, thanks for your help. I'll get back to this when I get a response

I tried to reach<EMAIL_ADDRESS>and my email bounced
You are not allowed to post to this mailing list, and your message has
been automatically rejected.  If you think that your messages are
being rejected in error, contact the mailing list owner at
<EMAIL_ADDRESS>
I emailed the address suggested there too, but I haven't gotten any response. It seems this library is abandonware...


Some Questions about Training and Validation.

Thank you all so much for sharing this project. I would really appreciate your help.
I used TrackR-CNN with the pre-trained model “trackrcnn_init” to test on videos from overhead-located cameras recording people. However, on my overhead camera videos, the model detects few people. So I want to re-train it on ground truth sequences from my videos. Thus,  I have some questions to do this task.

What software can I use in order to generate more ground truth images to annotate people and get these annotations in the .png format as you mention in the project’s link?

Would annotations in a .jpg format help with training speed due to the size of the jpg files?

How many FPS and which ImageResolution is recommended to use before doing new annotated video frames to train TrackR-CNN?

Once I get the annotated sequences, the paper mentions that MOTSChallenge was trained in a leaving-one-out fashion. So, as the paper mentions, instead, the KITTY MOTS was trained in a sort of 80% trained and 20%validation manner. Hence, which part of the code would allow me to switch between a leaving-one-out fashion and an 80% effort training way if I wanted to train a new dataset on whichever of two those ways?

After training during some predefined epochs, i.e., epochs=10, does the program update automatically the pre-trained-weight files after reaching this predefined amount let's say in a save_best_only way? This is because I am using Google Colab and I can just train it for 12 hours. (What would be your recommendation for doing this?)

I am a little confused about the validation process. After training, shall I post-validate my new trained model using the mots_tools on a new validation dataset to see the results in sMOTSA MOTSA and MOTSP? Or how should it be?

Which image resolution is recommended for doing training and validation? In the config file there are different resolutions for training and for validation.

In Table-5 of the paper, it shows that  “GT Boxes (tight) + MG” has better results than “TrackR-CNN (ours)”. I do not know what the differences are between them. Please, could you elaborate on it a little bit more in detail?

Firstly, you can get the tracking IDs in the output files that TrackR-CNN generates, when you forward it on a dataset (see the "Forwarding" part of the Readme).
Regarding your numbered questions:
The annotations where partly hand made, partly generated by a segmentation network, as explained in the paper. You you write a small annotation tool to manually create these for your dataset.
I highly doubt this will affect training speed. In particular, we need the exact IDs stored in the png files, which we could not get from jpg since that uses lossy compression.
Higher image resolution will consume lots of resources during training. Higher FPS can often make tracking easier. As a reference, KITTI MOTS has 10 FPS and around 1200x400 image resolution.
You can change which sequences are trained/evaluated on using the "seq_ids_train" and "seq_ids_val" config flags (see e.g. KITTI_segtrack.py). For Kitty, we hardcoded the 80/20 split. For MOTSChallenge, we simply created four different configs, putting one sequence into seq_ids_val, respectively. (Arguably, that procedure is a bit ugly.)
The model is automatically saved to a new file (in the models/ subdirectory) each epoch (you can change how many past epochs are retained with the "max_saves_to_keep" config flag). You can then also restart the training from the last finished epoch by just running the same command again.
Yes, you can evaluate your model using mots_tools after training. We don't to evaluation during training to save time.
We use higher image resolution during validation, simply because we have more memory capacity during evaluation (don't need to store the forward pass feature maps). Using higher input resolution usually gives better performance.
In GT Boxes (tight) + MG, we take our annotated masks and compute enclosing bounding boxes from them. We then fill these bounding boxes with segmentation masks using the mask head from Mask R-CNN. In other words, this method gets ground truth bounding box input. It is like saying "How good can you get if you have perfect box tracking and then add masks?". It makes sense that the value here is higher than for TrackR-CNN (ours) (which does not get ground truth bounding box input).

Hi Micheal Krause,
Thank you very much for your reply. I really appreciate it. Also,  how should I interpret this following info line?  I started the forwarding of detections of 440 png images at 17:29:30 and ended at 17:32:43. So roughly the process  lasted 3 min but I also have the oncoming info
Time for forwarding (s):<PHONE_NUMBER>1300032 FPS for forwarding (wo. tracking): 2.7617320411642075

Hi Micheal Krause,
Thank you very much for your reply. I really appreciate it. Also, how should I interpret this following info line? I started the forwarding of detections of 440 png images at 17:29:30 and ended at 17:32:43. So roughly the process lasted 3 min but I also have the oncoming info
Time for forwarding (s):<PHONE_NUMBER>1300032 FPS for forwarding (wo. tracking): 2.7617320411642075

The line says that the whole evaluation took 159.3 seconds (which is consistent with your ~3min). When neglecting the time for the tracking algorithm (i.e. just measuring the time used for the network, but the tracking algorithm should be almost free anyway), you get 2.76 frames per second speed.

Closing for now, please reopen if needed


Don't set any cookies to persist the user's security context

As the Middleware API is based on Basic authentication, no cookies
need to be set to keep the consumer authenticated. Also, no other
needs the be persisted from request to request.
Based on #81 so I don't have to keep wiping my event stream. Merge or cherry-pick into develop.

:+1:

Merged into develop.


chore: v1.0.0-beta.59

What/Why/How?
Up version to v1.0.0-beta.59
Reference
Testing
Screenshots (optional)
Check yourself

[x] Code is linted
[x] Tested with redoc/reference-docs/workflows
[x] All new/updated code is covered with tests

Security

[x] Security impact of change has been considered
[x] Code follows company security practices and guidelines

Please consider including #364 in this release as well. The bug in #272 is quite critical. Thanks.

https://github.com/Redocly/openapi-cli/pull/366


Wrong column number detected when custom tab size is set

VSCode Version: 1.43.2
OS Version: Darwin x64 19.3.0 (MacOS Catalina 10.15.3)

Steps to Reproduce:

Set "Editor: Tab Size" to be 4 in settings, and add"[c]": {
   "editor.tabSize": 8
  },
"editor.tabSize": 4,
"editor.detectIndentation": false,

to settings.json.
Make a line with >80 characters in a C file, including the number of spaces in a tab.

Hit the lower right "Go to line" button. The column number listed on the button does not match the one on top (81 vs 74).

I'm mainly concerned about this because I think VSCode is detecting the line to have 77 characters instead of 81, so the C/C++ extension does not automatically wrap the line with clang-format because it doesn't detect that the line went over 80 characters.

@shaqque The quick pick allows to pick a line;char position to go to, while the status bar renders a the current unicode character count, except for tabs, which are counted as the count of spaces to the next tab stop. I will make a change to the status bar message to clarify that they are not the same.

To verify, open an empty file with one tab character and place the cursor after the tab character:


Dual-SIM not detected

Expected behaviour
Expected to get information about inserted cards calling "getSimInfo".
Actual behaviour
Properties "cards", "activeSubscriptionInfoCount" and "activeSubscriptionInfoCountMax" are missing.
I'm seeing this behaviour on

[ x] Android device

I am using

[ x] cordova

Hardware models
Archos 50c Neon
OS versions
Android 4.4.2
cordova 5.1.1
I've checked these

[ x] It happens on a fresh Cordova CLI project as well.
[ x] I'm waiting for deviceready to fire.
[x ] My JavaScript has no errors (window.onerror catches nothing).

So how can we reproduce this?
I am testing with several devices. All devices are above Android-Version 5 and the plugin is working. Just with this Dual-SIM device and Android 4.4.2 it seems to be a problem.

Properties "cards", "activeSubscriptionInfoCount" and "activeSubscriptionInfoCountMax" are provided by SubscriptionManager API.
SubscriptionManager API is available from Android API level 22.
Android 4.4.2 is API level 19

But i have this same problem on Redmi Note 3 which is currently running on Android Marshmallow. So frankly this issue is not closed.
I only get information regarding the first sim.

Did you request permissions with requestReadPermission() ?

yes i did , then only i got the full information. I have another query.
How to distinguish when User Denies a permission from when user ticks "Never Ask Again" and then Denies?

I never tested. Do you have a bug?

Well yes sort of. When I deny permission first time, the next time the "Never Ask again" options comes. If you tap of that option and deny then . The Permission Denied Message is showed in both cases. So there is no way to differentiate?


Added the jenkins link + some description

Maybe someone with a better english level than mine should review it ;-)

I guess it's alright now :)

thanks!


ruby package build on linux is flaky: build_package.ruby_package

Kokoro job grpc/core/master/linux/grpc_build_packages:
https://source.cloud.google.com/results/invocations/4b8eaa5e-a2e5-4938-87f6-ee2224ec8406/targets/github%2Fgrpc/tests
https://source.cloud.google.com/results/invocations/8cbc3596-0d9e-4f35-bfee-8b1e9f6838d4/targets/github%2Fgrpc/tests
https://source.cloud.google.com/results/invocations/e37036aa-2e7c-4555-9444-ce540eb42d3d/targets/github%2Fgrpc/tests
It looks like it might be failing when copying over the protoc artifacts, which seem to be missing:
+ cp /var/local/git/grpc/third_party/protobuf/src/google/protobuf/wrappers.proto /var/local/git/grpc/src/ruby/tools/bin/x86-windows/google/protobuf/wrappers.proto
+ for plat in '{windows,linux,macos}'
+ input_dir=/var/local/jenkins/grpc/input_artifacts/protoc_linux_x86
+ output_dir=/var/local/git/grpc/src/ruby/tools/bin/x86-linux
+ mkdir -p /var/local/git/grpc/src/ruby/tools/bin/x86-linux/google/protobuf
+ mkdir -p /var/local/git/grpc/src/ruby/tools/bin/x86-linux/google/protobuf/compiler
+ cp '/var/local/jenkins/grpc/input_artifacts/protoc_linux_x86/protoc*' '/var/local/jenkins/grpc/input_artifacts/protoc_linux_x86/grpc_ruby_plugin*' /var/local/git/grpc/src/ruby/tools/bin/x86-linux/
cp: cannot stat '/var/local/jenkins/grpc/input_artifacts/protoc_linux_x86/protoc*': No such file or directory
cp: cannot stat '/var/local/jenkins/grpc/input_artifacts/protoc_linux_x86/grpc_ruby_plugin*': No such file or directory
+ FAILED=true
+ '[' artifacts '!=' '' ']'
+ mkdir -p /tmpfs/src/github/grpc/artifacts
+ docker cp build_and_run_docker_95a5563b-3294-48d4-b3e3-b97c830d638f:/var/local/git/grpc/artifacts /tmpfs/src/github/grpc
+ docker rm -f build_and_run_docker_95a5563b-3294-48d4-b3e3-b97c830d638f
build_and_run_docker_95a5563b-3294-48d4-b3e3-b97c830d638f
+ '[' true '!=' '' ']'
+ exit 1

Not sure if this is the problem in our scripts or in kokoro.

For build_packages build  https://source.cloud.google.com/results/invocations/4b8eaa5e-a2e5-4938-87f6-ee2224ec8406/details I looked up the corresponding build_artifacts build:
https://source.cloud.google.com/results/invocations/6874bd94-d89d-415c-8a7a-fd8a41f0c3ee/details (the artifacts are here:
https://pantheon.corp.google.com/storage/browser/grpc-testing-kokoro-prod/test_result_public/prod/grpc/core/master/linux/grpc_build_artifacts/2284/20180903-172919/github/grpc/artifacts/protoc_linux_x86/)   and it looks like the artifacts are there - that might mean that there's a problem with kokoro copying over those artifacts to the build_packages job.

Filed internal b/113865501

I can't get any ruby code generated on alpine linux because of this issue, there's no executables in the grpc-tools gem for linux...
What's the ETA on a fix?

@SophisticaSean how do you mean that there are no executables in the grpc-tools gem for linux? I don't see that this is the case.
E.g., gem unpack on the latest grpc-tools-1.14.2.gem and grpc-tools-1.15.0.gem packages shows, among other things:
...
./grpc-tools-1.15.0/bin/x86_64-linux/protoc
./grpc-tools-1.15.0/bin/x86_64-linux/grpc_ruby_plugin
...
./grpc-tools-1.15.0/bin/x86-linux/protoc
./grpc-tools-1.15.0/bin/x86-linux/grpc_ruby_plugin
...

@apolcyn so while some sort of reference shows up for those items they are not executable.
I get this error when I try to use those files:
/usr/lib/ruby/gems/2.4.0/gems/grpc-tools-1.15.0/bin/grpc_tools_ruby_protoc:33:in `exec': No such file or directory - /usr/lib/ruby/gems/2.4.0/gems/grpc-tools-1.15.0/bin/x86_64-linux/protoc (Errno::ENOENT)
	from /usr/lib/ruby/gems/2.4.0/gems/grpc-tools-1.15.0/bin/grpc_tools_ruby_protoc:33:in `<top (required)>'
	from /usr/bin/grpc_tools_ruby_protoc:23:in `load'
	from /usr/bin/grpc_tools_ruby_protoc:23:in `<main>'

@SophisticaSean is what you're seeing a regression? That is, did this used to work for you on your platform with older versions of the grpc-tools package, but now it doesn't?
It it is a regression, I'm wondering what version introduced the regression. If it's not a regression, then I suspect this never worked, and that the problem lies in how we some up with the expected directory name of the protoc executables https://github.com/grpc/grpc/blob/master/src/ruby/tools/platform_check.rb#L21

@apolcyn This is the first time I've tried to generate protobuf for ruby on linux. The gem works great on OSX. I went back to gem 1.10.0 and it still doesn't work.
I rand ldd against it and it said:
bash-4.4# ldd /usr/lib/ruby/gems/2.4.0/gems/grpc-tools-1.10.0/bin/x86_64-linux/protoc
	/lib64/ld-linux-x86-64.so.2 (0x7fe99f172000)
	libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7fe99f172000)
	libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fe99f172000)
	libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fe99f172000)
Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /usr/lib/ruby/gems/2.4.0/gems/grpc-tools-1.10.0/bin/x86_64-linux/protoc)

so i installed apk add libc6-compat and now I'm getting a seg fault:
./bin/gen-ruby.sh: line 4:  7230 Segmentation fault      grpc_tools_ruby_protoc -I . --proto_path ${GOPATH}/src --ruby_out="../ruby-proto/lib" --grpc_out="../ruby-proto/lib" $newJ/*.proto

@SophisticaSean not sure about the root cause, but I think this problem is specific to Alpine linux

@apolcyn Yeah it seems alpine specific. I got this working on the latest docker image of Ubuntu 18.04. Would be awesome if we could get it working on Alpine, but I can make do for now.

@SophisticaSean just to note, unfortunately grpc-tools support for Alpine will be a low priority


Argument --length silently takes precedence over --bytes.

When specifying both --length and --bytes in either long or short form, the value of --length will be chosen while the value specified by --bytes will be discarded silently. While I don't think anybody would intentionally run into it, having a warning or error just in case is something that would help improve UX.
https://github.com/sharkdp/hexyl/blob/cc5b308fc9c2ca57ba176cf69a237f13428bb8e3/src/bin/hexyl.rs#L174-L176

Note: I'm doing a class assignment regarding creating tests (from scratch) for an open-source command line program, and I chose hexyl for it. You might have a couple more of these on the way, depending on what the assignment brings to light :)

While I don't think anybody would intentionally run into it, having a warning or error just in case is something that would help improve UX.

That sounds good, yes! We could probably mark them as conflicting (via clap), or as "overrides with".

Note: I'm doing a class assignment regarding creating tests (from scratch) for an open-source command line program, and I chose hexyl for it.

That is an awesome assignment! Thank you for choosing hexyl :+1: :smile:

By the way: if someone starts implementing integration-style tests for hexyl, I think we should consider using assert_cmd (similar to how we use it for bat).
A test for this would look similar to:
#[test]
fn fail_non_existing() {
    hexyl().arg("--length=10").arg("--bytes=5").assert().failure();
}


Making App.js generic?

Hi! I started using BootLeaf, and I was wondering why museums, theaters, subways and boroughts are hard-coded in App.js? Let's say I want to use BootLeaf to show a list of hotels, this means I need to modify App.js, making it impossible to update it with your new release. Or may be there is something I didn't get right?
By the way, fantastic work : BootLeaf is a unique project and I enjoy it!

I look forward to the evolution of Bootleaf, looks like an amazing bit of starter code. Thanks!

"looks like an amazing bit of starter code"
It is! here is the app I did with : https://justeduneuf.ca
I did a lot of change, but BootLeaf saved me a lot of time. I would be happy to contribute with some parts of my code.

@nilem That is awesome! Thanks so much for sharing your application. BTW, Montreal is one of my absolute favorite cities!

 -"people want to be able to use it "out of the box"

Speaking of which, if I fork bootstrap and download to local, when open index.html the screen is pretty much black with just a bit of text. What I'm I missing? Do you need a mapbox account for this to work?

I just added protocols for script and css resources so it will load without a web server, however, the geojson will still throw cross origin errors.

Sir please add idea for one to many relation from database
click on one building and display info of each flat owner
i need it for my all projectd please help out

@mayureshbhole Sorry, but that is out of the scope of this simple template.


Fix: Use unicode to locate emojis.

Old code relied on the title attribute to locate emojis.
In case of unicode emojis, the title attribute gives the unicode character itself.
To remove this ambiguity, the new code uses cssClass to locate the emoji file for all emojis.

Merged, thanks @Sam1301 but please consider doing different commits for fixing lint issues! :)

Ah missed that! Will keep in mind :)


Usage of db sequences

What is currently missing?
Currently instead of sequences, counters are manually incremented. This leads to slight delay in the operations, especially when executed from HA clusters, finally causing discrepancies in the data.
How could this be improved?
If db sequences are used, they are immediately committed to db, and ids would be unique.
To be applied on almost all the tables I guess.
But more priority goes to requests and their config tables.
Is this a feature you would work on yourself?

[ ] I plan to open a pull request for this feature

Closing this, as dont see the need of it.


What can we do with Hypothesis tags?

eLife have begun tagging their hypothesis comments to distinguish between types of event and different authors. What can we do with this additional information?

[ ] ~Can we delineate between reviews, author responses and summaries within the article feed?~

~option1: new event, new ingestions...~
~option2: hardcode some events, deal with them in projections~
~option3: edit hardcoded html~
[ ] ~option4: hardcode metadata passed into renderer~
~option5: develop scripts to produce different output that takes types into account~
~option6: curl some stuff~
[ ] ~option7: clone elife review script and dump types with it~

[ ] ~Can we delineate between different reviewers in the article feed? (e.g. 'Reviewed by Reviewer 1 for eLife')~

[ ] ~we can ingest with clones script~
[ ] ~we can change review feed item header~

[ ] curl to see how types show up

curl https://api.hypothes.is/api/annotations/hRt05CpdEeuQM1PK_kyF8A -s | jq .tags

returns:
[
  "scietyType:ReviewSummary"
]

Starting from http://localhost:8080/articles/10.1101/2<IP_ADDRESS>023:
curl https://api.hypothes.is/api/annotations/SNNhnCpWEeu3kAt7ZWD_9g -s | jq .tags

returns
[
  "InRevision",
  "scietyType:PeerReview"
]

Starting from http://localhost:8080/articles/10.1101/2<IP_ADDRESS>135:
curl https://api.hypothes.is/api/annotations/apzzNB0IEeurCB_njCeppA -s | jq .tags

returns:
[
  "Author Response"
]

Starting from http://localhost:8080/articles/10.1101/2<IP_ADDRESS>749:
$ curl -s https://api.hypothes.is/api/annotations/wQl6oiWhEeulOksee8Kbcg | jq .tags

returns:
[
  "scietyType:PeerReview",
  "scietyAuthor:Daniele Marinazzo"
]

(sent by @hdrury1)

A good resource that we should follow is Stencila's scholarly publishing extensions of schema.org at https://schema.stenci.la
They have now defined a Review https://schema.stenci.la/review but we felt that adding microdata or JSON-LD to hypothesis just for us was too much effort. One to watch if we have a more structured way of obtaining content in future.
Review is available on schema.org too but it was not specific enough to provide a vocabulary for the types of review that we have PeerReview and ReviewSummary, and there was no concept of an AuthorResponse
Dublin Core does have a type element and it recommends using a fixed vocabulary as we have done. It also suggests using its own vocabulary but as with the schema.org choices they are not specific enough to differentiate our needs https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2Ftype
creator is used and defined well in both Dublin Core and schema.org
The conclusion was to use similar naming and not the full structure or reference to schema.org or Dublin Core for these tags as per https://github.com/sciety/sciety/issues/313#issuecomment-732257037 above


fix login failure caused by ARM SDK change

I will see whether i can write an end to end login test w/o having the credentials get into the record file. This way the break will be caught by CI moving forward