WidgetTester.takeException does not catch FlutterError when tap gesture fails

Steps to reproduce
Run the following test code:
Code sample
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  WidgetController.hitTestWarningShouldBeFatal = true;

  testWidgets('Tapping button should fail', (WidgetTester tester) async {
    await tester.pumpWidget(
      MaterialApp(
        home: IgnorePointer(
          ignoring: true,
          child: Center(
            child: TextButton(
              onPressed: () {},
              child: const Text('button'),
            ),
          ),
        ),
      ),
    );

    await tester.tap(find.byType(TextButton), warnIfMissed: true);
    expect(tester.takeException(), isA<FlutterError>());
  });
}

Expected results
The test passes.
Actual results
The test fails with the following error message that the button tap failed.
Logs
$ flutter test

00:01 +0: Tapping button should fail
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following assertion was thrown running a test:
Finder specifies a widget that would not receive pointer events.
A call to tap() with finder "Found 1 widget with type "TextButton": [
  TextButton(dependencies: [MediaQuery, _InheritedTheme, _LocalizationsScope-[GlobalKey#59ce0]],
state: _ButtonStyleState#8a191),
]" derived an Offset (Offset(400.0, 300.0)) that would not hit test on the specified widget.
Maybe the widget is actually off-screen, or another widget is obscuring it, or the widget cannot
receive pointer events.
The finder corresponds to this RenderBox: RenderSemanticsAnnotations#75a2d relayoutBoundary=up1(creator: Semantics ← TextButton ← Center ← IgnorePointer ← Semantics ← Builder ← RepaintBoundary-[GlobalKey#a0269] ← IgnorePointer ← ListenableBuilder ← SnapshotWidget ← _ZoomExitTransition ← SnapshotWidget ← ⋯, parentData: offset=Offset(345.7, 276.0) (can use size), constraints: BoxConstraints(0.0<=w<=800.0, 0.0<=h<=600.0), semantics node: SemanticsNode#4, semantic boundary, size: Size(108.6, 48.0))
The hit test result at that offset is: HitTestResult(RenderMouseRegion#d70d5@Offset(400.0, 300.0),
RenderSemanticsAnnotations#0baf0@Offset(400.0, 300.0), RenderPointerListener#48980@Offset(400.0,
300.0), RenderSemanticsGestureHandler#fca6b@Offset(400.0, 300.0),
RenderExcludeSemantics#44ca8@Offset(400.0, 300.0), RenderBlockSemantics#fcaa8@Offset(400.0, 300.0),
RenderIgnorePointer#b0bef@Offset(400.0, 300.0), _RenderTheater#9d20e@Offset(400.0, 300.0),
RenderAbsorbPointer#5793e@Offset(400.0, 300.0), RenderPointerListener#d7e55@Offset(400.0, 300.0),
RenderSemanticsAnnotations#1b705@Offset(400.0, 300.0), RenderCustomPaint#4f01f@Offset(400.0, 300.0),
RenderSemanticsAnnotations#8f82c@Offset(400.0, 300.0),
RenderSemanticsAnnotations#13642@Offset(400.0, 300.0), RenderTapRegionSurface#09c4b@Offset(400.0,
300.0), RenderSemanticsAnnotations#93692@Offset(400.0, 300.0),
RenderSemanticsAnnotations#49ce1@Offset(400.0, 300.0),
RenderSemanticsAnnotations#f330f@Offset(400.0, 300.0),
HitTestEntry<HitTestTarget>#2b7ea(_ReusableRenderView#ec4b4),
HitTestEntry<HitTestTarget>#a1da6(<AutomatedTestWidgetsFlutterBinding>))
If you expected this target not to be able to receive pointer events, pass "warnIfMissed: false" to
"tap()".
To make this error into a non-fatal warning, set WidgetController.hitTestWarningShouldBeFatal to
false.

When the exception was thrown, this was the stack:
#0      WidgetController._getElementPoint (package:flutter_test/src/controller.dart:1914:11)
#1      WidgetController.getCenter (package:flutter_test/src/controller.dart:1784:12)
#2      WidgetController.tap (package:flutter_test/src/controller.dart:1032:18)
#3      main.<anonymous closure> (file:///Users/fujidaiti/Dev/issue103/test/widget_test.dart:22:18)
<asynchronous suspension>
#4      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:183:15)
<asynchronous suspension>
#5      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1017:5)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)

The test description was:
  Tapping button should fail
════════════════════════════════════════════════════════════════════════════════════════════════════
00:01 +0 -1: Tapping button should fail [E]
  Test failed. See exception logs above.
  The test description was: Tapping button should fail

To run this test again: /Users/fujidaiti/.fvm/versions/stable/bin/cache/dart-sdk/bin/dart test /Users/fujidaiti/Dev/issue103/test/widget_test.dart -p vm --plain-name 'Tapping button should fail'
00:01 +0 -1: Some tests failed.

Workaround
We can work around this issue by defining a flag (e.g. var didTapButton = false;) that is set totrue in onTap callback of the button, and then validate it using expect function:
expect(didTapButton, isFalse);

However, there are still situations where it is difficult to specify a custom gesture handler for the target widget due to various reasons (e.g., the public API doesn't expose a slot for such a callback). The same is true for other gesture simulation APIs such as drag and press.
Flutter Doctor output
Doctor output
$ flutter doctor -v

[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale ja-JP)
    • Flutter version 3.22.2 on channel stable at /Users/fujidaiti/.fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (6 weeks ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/fujidaiti/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2023.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 17.0.10+0-17.0.10b1087.21-11572160)

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

[✓] Connected device (4 available)
    • iPhone 13 (iOS 17.5) (mobile)   • 9F89D57D-2C9E-434E-B414-FD65A9182262 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64   •
      macOS 14.5 23F79 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin         •
      macOS 14.5 23F79 darwin-arm64
    • Chrome (web)                    • chrome                               • web-javascript •
      Google Chrome 126.0.6478.182
    ! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and
      attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
    ! Error: Browsing on the local area network for 藤田大地のiPhone. Ensure the device is unlocked and
      attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

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

• No issues found!

Thanks for the report. Seeing the same behavior as reported.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.22.2, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.22.2 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 761747bfc5 (33 hours ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3
    • 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.24.0-1.0.pre.197, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.24.0-1.0.pre.197 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 0bac2be379 (76 minutes ago), 2024-07-19 00:15:26 -0400
    • Engine revision ea1e53a4e8
    • Dart version 3.6.0 (build 3.6.0-55.0.dev)
    • DevTools version 2.37.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.

It seems like WidgetTester.takeException can not handle errors/exceptions from the testing framework. This is because that method relies on FlutterError.onError to obtain a recently thrown error, but WidgetTester.tap and other gesture simulation APIs from the testing framework don't forward their errors to FlutterError.onError.
Based on the above findings, I have come up with two solutions. The first one is to wrap tester.tap(...) in try-catch to catch errors from the testing framework and use expect to verify if an expected error is thrown.
Object? error;
try {
  await tester.tap(find.byType(TextButton), warnIfMissed: true);
} on Error catch (e) {
  error = e;
}

expect(error, isA<FlutterError>()); // Passes

Alternatively, we can create a custom tapping method like the following to align the semantics of test code with the other testing APIs from the framework.
@pragma('vm:notify-debugger-on-exception')
Future<void> customTap(WidgetTester tester, Finder finder) async {
  try {
    await tester.tap(finder, warnIfMissed: true);
  } on Error catch (error, stackTrace) {
    // Forward the error to Flutter.onError
    FlutterError.reportError(
      FlutterErrorDetails(
        exception: error,
        stack: stackTrace,
      ),
    );
  }
}

...

// And use it in test
await customTap(tester, find.byType(TextButton));
expect(tester.takeException(), isA<FlutterError>()); // Passes

I don't know this is a correct way to fix the issue, but works fine for my use-cases.
If you have any thoughts or alternative approaches, I'd be interested to hear them.
thanks


http get request with queryParams

Hi, I am trying to do a get request with some query params.
    let params = new URLSearchParams();
    params.set('from', from.toString());

    this._tokenService.get('makeups', {search: params})
      .subscribe(
      res => { }
      error => {}
      );

However, the params are not set in the query. What is the proper way to do this?

    let params = { from : from.toString() };

    this._tokenService.get('makeups', params)
      .subscribe(
      res => { }
      error => {}
      );

Easy as that!

Thanks @cybey !


Add solayo, closes #381

#381
There are some problems with youtube videos named 'Artist - Track', resulting artistTrack strings looks like 'youtubeacc - Artist - Track', but it is not a big problem, because youtube not work on solayo from time to time.

And youtube and souncloud too. There need modified getArtistTrack func like:
...

Connector.artistTrackSelector = '.videoTitle.noColorLink';

if (Connector.artistTrackSelector.match(/ - /g).length == 2) {
  arr = Connector.artistTrackSelector.text().split(' - ');
  return {artist: arr[1].trim(), track: arr[2].trim()};
}

...


cmd/trace: goroutine in unexpected state

Go version and env:
go version devel +032d150 Tue Nov 1 05:42:33 2016 +0000 linux/amd64

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/marko/goprojects"
GORACE=""
GOROOT="/home/marko/go"
GOTOOLDIR="/home/marko/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build068272964=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"

Collect trace with
$ wget http://cppbig105.mlan:13004/debug/pprof/trace?seconds=2 -O lakafka.trace
--2016-11-01 13:37:30--  http://cppbig105.mlan:13004/debug/pprof/trace?seconds=2
Resolving cppbig105.mlan (cppbig105.mlan)... <IP_ADDRESS>
Connecting to cppbig105.mlan (cppbig105.mlan)|<IP_ADDRESS>|:13004... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: ‘lakafka.trace’

lakafka.trace                                           [              <=>                                                                                ]  17.79M  3.62MB/s    in 4.9s

2016-11-01 13:37:38 (3.62 MB/s) - ‘lakafka.trace’ saved [18649791]

Execute trace tool
$ go tool trace lakafka.trace

Go to "Goroutine analysis" then select one of the goroutines.
No chart will apper and there is an error in log:
$ go tool trace lakafka.trace
2016/11/01 13:37:39 Parsing trace...
2016/11/01 13:37:50 Serializing trace...
2016/11/01 13:37:51 Splitting trace...
2016/11/01 13:37:56 Opening browser
2016/11/01 13:38:02 failed to generate trace: expected G 481 to be in state 1, but got state 2
^C

Full trace: lakafka.trace.zip

/cc @aclements

This will be fixed by https://go-review.googlesource.com/c/32810/ (hadn't noticed this bug when I wrote the CL).

@aclements Is CL 32810 going to get into 1.8?  Can you add "Fixes #17719" to the CL, so that it is attached on the release dashboard?  Thanks.


No information regarding how to change the code snippet showcase

I appreciate the great design and functionality of the code snippet showcase. However, I have been unable to find a way to change the code snippet being displayed. I'm unsure about the exact process and the documentation does not provide any information on this specific aspect.
I would like to request assistance or clarification on how to modify the code snippet being showcased. It would be helpful to have clear instructions or guidelines on how to update the code snippet.

You are using the highlightjs/vue-plugin along with the Highlight.js library, so to change it, it's by simply replacing the gists id in the developer.json file. So in a file mentioned in the documentation, I just didn't know that functionality, my mistake.


teh magic tomes dunt shoot

i shoot teh magic tome and nothing comes out nothing
step 1 go into gaem
step 2 select teh tome
step 3 use tome and notice it does nothing but show particles

If you mean this tome, I don't think anyone ever finished it lol.

also do you know how you change the names of teh items?


Unresponsive window if using .vsync(true) on linux

Hey, I hope you are well!
I am still gathering more information, but after what I believe was an operating system upgrade (PopOS) apps built with Notan now freeze at startup if WindowConfig sets vsync to true. I could reproduce this by running cargo run --example window_config in notan, and current and past versions of my image viewer Oculante stopped working.
This could well be specific to my hardware and operating system, so please see this as very low priority unless this is caused by a library update which will become mainstream for more users. I will disable vsync on Linux for now and test with other hardware.

Sorry for the noise, but this seems very much like something related to my setup. I'll reopen if I have more relevant information.

No worries, let us know if you need anything!


add support for nexus backoff retry settings

Hi.
In my sbt project, Timed out occurs. I think the reason is the large number of JAR files to deploy.
Tentatively could it be possible to adjust the back-off setting, like this P-R?
reproducible project: https://github.com/j5ik2o/reactive-aws-clients
[info] Promoting staging repository [comgithubj5ik2o-XXXX] status:closed, profile:com.github.j5ik2o(XXXXXXXXXXXX) description: [sbt-sonatype] reactive-aws-client-project 1.2.0
[info] Activity name:release, started:2020-03-25T17:46:31.328Z
[info]   Evaluate: id:nx-internal-ruleset, rule:RepositoryWritePolicy
[info]   Evaluate: RepositoryWritePolicy
[info] The release process is in progress ...
[info]     Passed: RepositoryWritePolicy
[info]     Passed: id:nx-internal-ruleset
[info]  copyItems: source:comgithubj5ik2o-1155, target:releases
[info] The release process is in progress ...
[info] The release process is in progress ...
[info] The release process is in progress ...
[info] The release process is in progress ...
[info] The release process is in progress ...
[info] The release process is in progress ...
[info] The release process is in progress ...
[info] The release process is in progress ...
[error] java.io.IOException: Timed out
[error] Use 'last' for the full log.

@j5ik2o Thanks for the PR. I totally rewrite sbt-sonatype client code using airframe-http and added a workaround (sonatypeTimeoutMillis) at #147, which will be available in sbt-sonatype 3.9.0

@xerial
I appreciate your great job!!!

Released sbt-sonatype 3.9.1.
3.9.0 had some issues, so use 3.9.1


FinRL_single_stock_trading.ipynb - unexpected parameter trade_data for  DRL_prediction() function

Hi all,
First of all I would like to thank you for the fantastic work you have done.
The library is well done, complete and the documentation including tutorials and scientific papers is a really good job.
I am writing because I find a problem in the reproduction of the Notebook in question (Single stock), it seems that the parameters used are not defined in the function present in the source code.
This is the error:
TypeError: DRL_prediction() got an unexpected keyword argument 'trade_data'
Can you fix it please?
SM

Could you please test the multiple stock case?   We updated and merged single stock to it.  Thx for any feeback.

Could you please test the multiple stock case?   We updated and merged single stock to it.  Thx for any feeback.

I have checked, it seems the code has the same problem.
I check in the model.py, arguments test_data, test_env and test_obs arent defined as parameters. I solved giving to the  DRL_predicition function in the notebook only (model=,environment=) parameter.
I check also in the backtest.py file and I ve seen that you define functions with different names from the function called in the notebook:
backtest_stats
backtest_plot
Moreover there aren't functions such as baseline_stats.
However, I would say again, great job.
Thanks

I have checked, it seems the code has the same problem.
I check in the model.py, arguments test_data, test_env and test_obs arent defined as parameters. I solved giving to the  DRL_predicition function in the notebook only (model=,environment=) parameter.
I check also in the backtest.py file and I ve seen that you define functions with different names from the function called in the notebook:
backtest_stats
backtest_plot
Moreover there aren't functions such as baseline_stats.
However, I would say again, great job.
Thanks

try add ', get_baseline'
"from finrl.trade.backtest import backtest_stats, backtest_plot, get_daily_return, get_baseline"
it work for me

try add ', get_baseline'
"from finrl.trade.backtest import backtest_stats, backtest_plot, get_daily_return, get_baseline"
it work for me

Hi, I believe a recent push resolved this issue. Can you please pull and try again? I am closing this issue and if you encounter more issues, please open another issue!

Hi, I believe a recent push resolved this issue. Can you please pull and try again? I am closing this issue and if you encounter more issues, please open another issue!

For me the problem is still here. I just cloned the repo and I guess I used the latest code.

Hello everybody,
first of all let me congratulate you to your amazing work, as well as thank you for your on-going contribution and the open-source nature of your research.
When trying to run the notebook FinRL_single_stock_trading, I encountered a similar error as outlined above, with the arguments given in the notebook seemingly not matching the required arguments on models.py.
On futher inspection, it appears that some notebooks call DRL_prediction with different args than others entirely, might that be in fact the case?
Therefore my humble inquiry: Is there an entry point, or respectively a suggestion for the most current reference notebook from where to best start my exploration? Or might there be any suggested changes / adaptations to be implemented locally in order to achieve full functionality?
Kindly thanks a lot for your efforts and for your response,
looking very much forward to contributing to this exciting approach in the future :)

I'm also looking for confirmation of what the latest intended parameters/argument are.


PythonKeywordExamples_Issues

@DivyaYelchuri1995  check if there are any issues in the code

@DivyaYelchuri1995 check if there are any issues in the code
Although they are examples written to practice there are no issues.


Release 1.1.0

New minor version since we're dropping SMAC < 0.12.0 (we could technically support it, but it does not exactly make the code any easier to read, nor is there a loss in functionality when updating SMAC so this should be ok?)

@AndreBiedenkapp cleared for release?


deregister VRESM-1-0 source_id entry

From: "Durack, Paul J."
Date: Tuesday, June 21, 2022 at 10:39 AM
To: "francois.engelbrecht@wits", "PMonteir@csir"
Subject: Re: CMIP6 data licensing update
Hello again gents, just looping around. I assume you are both busy with post-AR6 and post-CMIP6 projects.
We have managed to work through several the loose ends and have now deregistered 7 of the 11 remaining unpublished models.
To finish up this cleanup, I plan to deregister VRESM-1-0 next week (Thursday 30th June 2022) unless I hear back from you.
Cheers,
P
From: "Durack, Paul J."
To: "francois.engelbrecht@wits", "PMonteir@csir"
Subject: Re: CMIP6 data licensing update
Hi gents, I hope all is well in South Africa and you are negotiating your new normal well.
Just circling around on the query below. The VRESM-1-0 model is one of the registered entries with no currently published data (e.g. https://esgf-node.llnl.gov/search/cmip6/?source_id=VRESM-1-0). Additionally, this was omitted in the AR6 Annex II (https://www.ipcc.ch/report/ar6/wg1/downloads/report/IPCC_AR6_WGI_AnnexII.pdf#Page=15), and so for both these reasons will not be included in the IPCC DDC AR6 data archive.
We are curious about the status of your contribution, and whether we should deregister the entry if no data is planned for publication.
Cheers,
P
@matthew-mizielinski @MartinaSt ping

@fengelbrecht ping
This will also lead to deregistration of institution_id = CSIR-Wits-CSIRO

Dear Paul
Yes, that is correct. Thank you for pressing on with making this neat on the system.
An African-based ESM is still alive and well, but is hasn’t managed to participate in CMIP6.
Our intention is to complete some OMIP simulations in 2023… we’ll reach out at the appropriate time to see how we can get this published on the ESG.
Francois
From: Paul J. Durack @.>
Sent: Tuesday, 28 June 2022 19:21
To: WCRP-CMIP/CMIP6_CVs @.>
Cc: Francois Engelbrecht @.>; Mention @.>
Subject: Re: [WCRP-CMIP/CMIP6_CVs] deregister VRESM-1-0 source_id entry (Issue #1122)
@fengelbrechthttps://github.com/fengelbrecht ping
This will also lead to deregistration of institution_id = CSIR-Wits-CSIRO
—
Reply to this email directly, view it on GitHubhttps://github.com/WCRP-CMIP/CMIP6_CVs/issues/1122#issuecomment-1169012215, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFQIVYUCILKBSGCJXHJUZ3LVRMYALANCNFSM52C47TWQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorised signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.

@fengelbrecht thanks for confirming. Hopefully we have some temporally extended datasets for you in 2023, so you can undertake more up-to-date simulations.
As you have confirmed, I will process this deregistration today

It is great to know that there is such a prospect Paul, thank you!
Francois
From: Paul J. Durack @.>
Sent: Tuesday, 28 June 2022 21:42
To: WCRP-CMIP/CMIP6_CVs @.>
Cc: Francois Engelbrecht @.>; Mention @.>
Subject: Re: [WCRP-CMIP/CMIP6_CVs] deregister VRESM-1-0 source_id entry (Issue #1122)
@fengelbrechthttps://github.com/fengelbrecht thanks for confirming. Hopefully we have some temporally extended datasets for you in 2023, so you can undertake more up-to-date simulations.
As you have confirmed, I will process this deregistration today
—
Reply to this email directly, view it on GitHubhttps://github.com/WCRP-CMIP/CMIP6_CVs/issues/1122#issuecomment-1169155762, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFQIVYWKV77WIL36YUJBB6DVRNIO7ANCNFSM52C47TWQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorised signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.

@fengelbrecht that is all done, reach out via email when you're starting to grease the wheels for new simulations

Will do so, many thanks Paul.
F
From: Paul J. Durack @.>
Sent: Tuesday, 28 June 2022 21:56
To: WCRP-CMIP/CMIP6_CVs @.>
Cc: Francois Engelbrecht @.>; Mention @.>
Subject: Re: [WCRP-CMIP/CMIP6_CVs] deregister VRESM-1-0 source_id entry (Issue #1122)
@fengelbrechthttps://github.com/fengelbrecht that is all done, reach out via email when you're starting to grease the wheels for new simulations
—
Reply to this email directly, view it on GitHubhttps://github.com/WCRP-CMIP/CMIP6_CVs/issues/1122#issuecomment-1169169620, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFQIVYS7AF5VDHIMYZL2MW3VRNKFVANCNFSM52C47TWQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorised signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.


Use project modules dependency management.

@arturobernalg Please consider investing your time and efforts into functional improvements.


Creating multiple new ITEMS in Dataverse

The video indicates that you can create multiple customers in Dataverse (Dynamics 365 sales). This same process doesn't appear to be available for products.  (there is no "Create" option).  Is there a specific process for sending multiple items to Dataverse/D365 (like Customers), or is there an additional step required to do this.  It's going to be a long slow process to do it all one by one....

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

ID: 10ca4ebd-71a2-def7-516c-468aa96dafa2
Version Independent ID: c60b9e88-2626-7a0c-76f4-f4e380f87009
Content: Coupling and Synchronising - Business Central
Content Source: business-central/admin-how-to-couple-and-synchronize-records-manually.md
Service: dynamics365-business-central
GitHub Login: @bholtorf
Microsoft Alias: bholtorf

Hello Chris,
Thank you for your feedback! Getting this video updated is on the backlog - as you noticed, videos become stale pretty quickly around here, and it hasn't been updated in a while. I can't promise any timeline, though, since it's vacation time here, and our video backlog is already long.


Quick tweaks to namespace the ENV variables

I rule and have completed some work on Case Manager that's ready for review!
Small tweaks to change the ENV variables from #796 and #802 to be namespaced
This pull request makes the following changes:

Updates env variables in devise.rb
Updates README.md to new variable names

Current coverage is 96.69% (diff: 100%)

Merging #804 into master will not change coverage

@@             master       #804   diff @@
==========================================
  Files            35         35
  Lines           727        727
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            703        703
  Misses           24         24
  Partials          0          0

Powered by Codecov. Last update 7b8d6e3...84266b0

Looks good to me! I've made these changes to the keys in staging and prod.


Add options to display YAML array in preview mode

Thank you for the update and rendering multi-line YAML array!!!
Currently the array is comma separated
Would it be possible to add in the option (in plugin setting) to let the user to input the separator?  (like the current option to Render Null As)

I'll add a variant which separates by newline (i.e., each entry is on a separate line), since I think your use case was citations/references. I can add other variants if you want more.

Separates by newline is enough for my usecase. Thank you so much!

Implemented in 0.2.0; it now shows a nice list view in tables.


Update SAI refpoint to OCP SAI

Update the SAI refpoint to OCP master end of June.
Also, update the sai_api_gen.py script to account for duplicate enums and those which are already part of saitypesextensions.h file

@prsunny Including Prince as well in this PR. Thanks.

@prsunny @chrispsommers @KrisNey-MSFT  Could you please merge these changes.
Thank you..


pattern for @type

@olinux how do we define the pattern for @type in SANDS (v0.1) and openMINDS (v3.0)?
Options:

"@type": "https://schema.hbp/sands/SchemaName"
"@type": "https://schema.hbp/SchemaName"
"@type": "https://schema.ebrains/sands/SchemaName"
"@type": "https://schema.ebrains/SchemaName"

Or something even different?

Slightly tangential to the topic, but:
If openMINDS and SANDS are supposed to be open standards, then I think they should have their own domains, e.g.
"https://openminds.net/schema/" or "https://openminds.eu/schema/", plus "http://sands.eu/schema", etc.
At the least we should have an openminds domain - SANDS could be considered a subsidiary schema, since I guess it needs to be used in conjunction with openMINDS.
The same domain could be used for Tier 3 schemas - I was thinking that these could be presented as openMINDS extensions, e.g. "openMINDS/electrophysiology", "openMINDS/analysis", etc.

@apdavison  : this is a good point and highly related to what I wrote in #49.
I think having openMINDS as its own domain with all extensions (tier 2 and tier 3) would be nice.
Do you think that the corresponding schemas should also be merged into one GitHub Repo then?

Do you think that the corresponding schemas should also be merged into one GitHub Repo then?

No, I think it's ok to keep them in separate repos.

okay. that makes it unnecessary to think about restructuring the repos :+1:

https://schema.ebrains.eu/openminds
https://sands.schema.ebrains.eu
https://neuralactivity.schema.ebrains.eu
https://core.openminds.*/dataset

@type: https://openminds.ebrains.eu/sands/schemaName

please also change $id == @type

solved differently and can be closed


[indirect display][Question]Add monitor one by one

Hi dspkdev team,
sorry to bother you. I wrote some IOCTL command to communicate with the indirect display driver.
And I have 2 questions about the indirect display driver.
the first question is the IOCTL can pass through commands when I disable and enable the driver.
However, IOCTL could not pass commands to the driver after install the indirect display driver.
Why?
CreateFile(
DevicePath,
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
0,
NULL);
return ERROR_ACCESS_DENIED (0x05)
the other question is the driver can create 2 virtual monitors when the driver launch.
However, the API(IddCxMonitorCreate) return STATUS_INVALID_PARAMETERS when I add the 3rd virtual monitor.
Could I add monitors one by one on indirect display driver when the virtual monitor exists?
thanks

hi bro, im interested in indirect display, but now i hvae a few problem。。can you help me，Thanks a lot。

How to sign the umdf driver file （dll），i build the sample （IddSampleDriver），generate the dll file，cer file，then i try install the driver by device manager，but it shows the file dont have a digital signature，i have laready set the bcdedit testingmode on ，but still cant install，the only way is disable Driver Force Signature。

2。 How to Community with Umdf driver，in your question，i saw you are using CreateFile， then using IOCTL command to control driver，the first arg of CreateFile is DevicePath，i wanna to know what the DevicePath like


[Documentation] Create a documentation file to validate the roadmap of service

[x] Create a documentation file
[x] Document the gandalf roadmap
[ ] Implements the new issues for milestone

https://github.com/infinity-js/gandalf/wiki/01-‐-Concepts

https://github.com/infinity-js/gandalf/issues/2


chore: update AWS CDK version

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

I'm having issues upgrading to a non-latest version of the AWS CDK, getting the infamous yarn error:
error An unexpected error occurred: "expected hoisted manifest for \"cdk-watchful#@aws-cdk/aws-cloudwatch#@aws-cdk/core\"".

so... probably going to put this on hold for now.

I'm having issues upgrading to a non-latest version of the AWS CDK, getting the infamous yarn error:
error An unexpected error occurred: "expected hoisted manifest for \"cdk-watchful#@aws-cdk/aws-cloudwatch#@aws-cdk/core\"".

so... probably going to put this on hold for now.

This looks familiar. @RomainMuller any idea?
Also - why not use AWS CDK v2?

Updated to AWS CDK v1.134.0. Integration test snapshots now use the --no-asset-metadata flag to work around the snapshots issue.

Also - why not use AWS CDK v2?

See #108.


Add Shadow jar publication to lang-painless module.

Signed-off-by: Marc Handalian<EMAIL_ADDRESS>Description
This change creates a shadow jar for asm dependencies so
that they do not conflict with direct asm dependencies from log4j AL2 patch.
This change also adds explicit task dependency order for generated tasks.  This is breaking with latest gradle version that warns of implicit dependencies & -Werr enabled by default.
This also bumps all asm dependencies to version 9.2.
Issues Resolved
#2664
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

❌   Gradle Check failure 9226ca3 Log 3965
Reports 3965

Tests with failures:

org.opensearch.cluster.remote.test.RemoteClustersIT.testHAProxyModeConnectionWorks

start gradle check

I see these dependencies in the lang-expression module too (and a test logger), do we need to change there too?

@mch2 Will we want to revert this at some point when the hot patching issue is generally fixed? open an issue?

@mch2 Will we want to revert this at some point when the hot patching issue is generally fixed? open an issue?

Yes imo we should revert - added issue #2753


Don't automatically use nvm once sourced

In the event a project includes an .nvmrc file, we don't want to
immediately load the version specified. This is necessary, as nvm will
return an error code when it tries using a version that isn't currently
installed.

Ran into this issue while migrating to a new Jenkins server and updating/reworking some of the jobs. We were previously using custom scripts to handle nvm, but wanted to switch to this plugin. The plugin works for projects that don't include an .nvmrc, but this issue causes any build of a project that includes an .nvmrc to fail before it has a chance to install the required version.
This seems like a straightforward/safe improvement, as the plugin already calls nvm use later on in the process.


Beta: Shared Python project fails to load from URL

Describe the bug
This shared project fails to load from URL: https://makecode.com/_XrLAveWL8VkW
The project was created by loading "bunny hop" and converting to Python. It runs fine in the editor.

This will be fixed once we release the editor. Share page is pointing to /v1 which has bit of more issues.

Lets validate once we release.

Confirmed. Shared page is pointing to v1 which is stale and will be fixed tomorrow when we release.


Set workbench editor tab placement to right

Allow to set the workbench editor tabs to appear to the right.
In Netbeans I use this config because is more useful to see more open files that what I see in the upper tab. Moreover, Netbeans colors tab based on the project name so all tab of one project has same color.
VSCode has the "Open Editors" but it is shown only on the "side bar" and I don't won't to see all the side bar to the right.
Here is a screenshoot:

/duplicate covered by #26777 and #49923 as long as they are implemented in a generalized way.

I thinks this is not duplicated. In the other post, talk about duplicate the side bar or have a part of it on the right.
What Is suggest is to let select where to put the editor tab position and color the tabs of the same projects.

@bpasero for a second opinion on whether reopen this and tag it appropriately.

I think what you can do is disable tabs and use the File Explorer > "Open Editors" view? It is a list of all opened tabs.

In that case, I could not set it to the right outside of sidebar.
I have found this plugins:
vertical-tab-bar
that's do, in some way, what I want.
It seems it is possible to do just setting the correct CSS classes.


Use the official requestSuiFromFaucetV0() to fund an address

I suggest using the official API from @mysten/sui.js/faucet to fund an address in requestSuiFromFaucet() instead of making a lower-level HTTP call through fetch().

Done with https://github.com/juzybits/polymedia-suitcase/commit/1f54ffddf580b01bf83354b10293d322eb576b33. Thanks for the suggestion!

Great. Thanks @juzybits!


Simple excel file gets imported with shifted columns

Sample table here
When opening the file with Excel/Numbers, it looks like:

In CartoDB, it looks like:

Saving the Excel file with Numbers (Mac OS app for spreadsheets), for example, makes it work correctly, so this seems to be something specific in the Excel format. I'm opening the issue because this is not the first time that these things happened. Other recurrent issue is when those "infinitely many empty" Excel columns get actually imported to CartoDB with null contents and column names that CartoDB has to generate because they don't exist.
Not an important/urgent by itself, but wondering which is the real cause of this. I think that this issue could be worthy to study related with this one: https://github.com/CartoDB/cartodb/issues/5384

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


Issue in "patch and build auctioneer"

Hi,
I encountered this error when follow the "patch and build auctioneer" of getting started.
go get ./...
# github.com/mesos/cloudfoundry-mesos/scheduler
../../../../mesos/cloudfoundry-mesos/scheduler/init.go:50: cannot use secret (type []byte) as type *string in field value

I changed below lines in init.go and it succeeded in compiling auctioneer
                secret, err := ioutil.ReadFile(*mesosAuthSecretFile)
                str_secret := string(secret[:])
                ...
                cred = &mesos.Credential{
                        Principal: proto.String(*mesosAuthPrincipal),
                        Secret:    &str_secret,
                }

Have you met this issue before? or it is related with my host environment?

i have hit the same issue as well.. looks like the code is stale.

There is a unmerged pull request you can use as a patch for this
https://github.com/mesos/cloudfoundry-mesos/pull/4


test performance

We need to test how defender compares against axes and not using anything, and post the results.

On somewhat related topic I just started benchmarking PR #12. I wanted to check publishing to rabbitmq performance vs writing directly to db.

@marcusmartins can you post any results you might have?

I'm really curious as to the emphasis on performance here.
What scenarios do you see where performance is a major concern for something like this? The only situation I can think of is a DDOS using bad login attempts.
In even moderately high traffic sites - would hitting the db for each login attempt have any significant impact for anyone? What am I missing here?

@andybak We use this on the Docker hub, where we have 1000's of valid login requests every minute. The database was a bottle neck because the more requests you have the more you have to track in order to determine if there are too many bad attempts in a row. We built defender to fix this performance issue, and that is why performance is one of our major goals.
We were originally using django-axes, which uses the database for everything and when we had a spike in usage, which happens a few times a day, our database needed to do more work to handle the logins and tracking, and thus slowed down the rest of our site. We built defender as a POC, and when we ran it on our staging site, we saw a huge improvement. We spent more time to make it production quality and put it in production, ever since we have added it to production, we haven't had any of the issues we originally had. Defender doesn't do anything that the other brute force tools don't already do, we just do it much faster with less resources.
You are correct, for most websites, this might be overkill, since we are in the minority, most people won't have our kind of problem. But if you are already using Redis in your stack, then why not add defender, you get the brute force blocking with little overhead or performance loss.
If you don't have our problem, then feel free to use something else. Use what ever tool is best for your issue.
For more details on why we built this, feel free to check out my blog post: http://kencochrane.net/blog/2015/02/introducing-django-defender/

Thanks for this info. Actually - just after posting it occurred to me that a brute-force guessing attack can rapidly turn into a denial-of-service without something performant doing the rate-limiting.

closing this issue, we have done this in the past, we are just missing the full benchmark comparison, which really isn't needed. It would be cool to compare, but don't have time to add it.


opt add graph sql function and one arg truncate

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run feut


Expose read-only CI results to everyone

We want to have a read-only view of the CI results exposed to the public so they can see the results of the CI test.

I've been working on a new CI platform for the project. This work is now done and I can begin migrating the pipelines to the new platform.
Once migrated, we can wait a few days to gain confidence in the new platform, then we can expose the pipelines to the public (the operation is a single command per pipeline).

Cool, looking forward to it.

The new CI platform (http://yard.lokomotive-k8s.net/) is up and running. The platform itself is already exposed to the internet and is (hopefully) fairly secure.
The only remaining task for this issue is ensuring the output of all pipelines doesn't contain secrets. I've already checked https://github.com/kinvolk/lokomotive-ci/blob/master/lokomotive-oss-master.yaml and marked the job inside the pipeline as public: true (which doesn't actually expose the pipeline but rather allows anonymous users to see the job's output when the pipeline is exposed using fly expose-pipeline).

The new CI platform (http://yard.lokomotive-k8s.net/) is up and running. The platform itself is already exposed to the internet and is (hopefully) fairly secure.
The only remaining task for this issue is ensuring the output of all pipelines doesn't contain secrets. I've already checked the pipeline which builds master.

Created https://github.com/kinvolk/lokomotive/issues/267 to track checking secrets.


Support tensor math expressions in indexing language

Hey!
I need to derive a weighted average tensor from several tensors (calculated from fields with onnx model) at indexing time e.g.
field emb1 type tensor<float>(x[512]) {
      indexing: summary
 }
field emb2 type tensor<float>(x[512]) {
       indexing: summary
  }
field emb3 type tensor<float>(x[512]) {
      indexing: summary
 }
field emb_v1 type tensor<float>(x[512]) {
      indexing: (input emb1 * 0.10) + (input emb2 * 0.20) + (input emb3 * 0.7) | attribute | summary | index
...

But tensor arithmetic is not supported now for indexing language.
It would be great to have the following operations supported

Tensor and scalar multiplication e.g. input emb1 * 0.10
Sum of tensors e.g.  input emb1 + input emb2
Linear combination e.g. (input emb1 * 0.10) + (input emb2 * 0.20)

I don't have usecases for the concatenation, but it may be useful to have it as well e.g. input emb1 . input emb2
This is not a show-stopper as I can calculate the linear combination outside Vespa and feed it, but this would make a solution more elegant

Another use case for this is dimensionality reduction such as slicing (for MRL embeddings) or random projection which can be expressed in tensor math


Full correctness

Based on the previous design doc, coauthored with @virgil-serbanuta and @xc93, and implemented in the Haskell Backend, I sketched up a derivative one which would allow incorporating termination as part of the proof of a claim.
I'm not expecting this to have immediate impact, but I kept thinking that it's within our grasp to incorporate termination as part of the proving process and I wanted to follow that train of thought to get a better feeling.
Summary: the changes are simple, although they would require some support from the frontend and backend.

ask the user to provide an integer measure pattern to (a group of) claim(s)
while proving a claim guard its application (as a circularity/induction hypothesis) by a check that the measure has decreased

Note that the measure needs not be integer and the same ideas could be used with any well-founded order; however, using integers allows for the guards to be simply expressed and checked by the SMT.

@traiansf thank you for writing this up! We probably will end up wanting something like this implemented, but I don't believe this implementation will live in the Haskell backend, but in pyk or some other client to the symbolic execution API.
@ehildenb where do you think a document like this should be stored? Maybe we can keep it in the backend repo and sometime in the future move it somewhere more appropriate?

@traiansf thank you for writing this up! We probably will end up wanting something like this implemented, but I don't believe this implementation will live in the Haskell backend, but in pyk or some other client to the symbolic execution API.

I can move it to some other repo if somebody can point me to a more appropriate place. The main reason I started it here is the fact that it's based on the other All-Path-Reachability document which I think is still largely how the Haskell backend performs verification.


Add CAPI cluster namespace to recording rule aggregation:giantswarm:cluster_info for use by resource-police to find out to whom each test cluster belongs

Team Atlas, please check if this can work as-is, and makes sense. The resource-police app queries this aggregated metric and I'd like it to post the namespace (org-xxx) to chat as well (see Slack channel #noise-resource-police).
Checklist

[x] Update CHANGELOG.md
[ ] Add Unit tests
[ ] Follow Alert structure
[ ] Consider creating a dashboard (guidelines) (if it does not exist already) to help oncallers monitor the status of the issue.
[x] Request review from oncall area, as well as team (e.g: oncall-kaas-cloud GitHub group).

This only works for CAPI and not vintage, is that alright with you?

@QuentinBisson yes, it's fine to only cover CAPI clusters. I'll take care to treat the namespace as optional in resource-police.


chore: add MicroTxnAuthorizationResponse callback

Fix for #48 #74

@ceifa Could you please have a look at this?

Created the https://github.com/Noxime/steamworks-rs/pull/123 to also benefit steamworks-rs consumers


Update a handful of NCIT mappings

These are just a few reviewed NCIT mappings I had from an early training with my new contractor.

cc @Silvia113-SM


Add Producer support

Include Producer to improve the release process of Disco.

Looks like Producer is too opinionated for my taste.


React 18, Property 'children' does not exist

With React 18 TypeScript, we need to add manually children: ReactNode

will check 👀

@amarmechai Thanks for update, I've published a new version (0.4.5) with this fix from https://github.com/nichitaa/auth-react-router/commit/73231977ab14e4de726b83fe950767a36429a16c
Just update auth-react-router to the latest version


fx2trt converters - change of prototype and addition of activation operation

Description
This PR addresses the issues #1744 and #1713
The PR has the following changes-

Reorganization of the acc_ops_converter.py and aten_ops_converter.py for the activation operations
Moving the implementation of the operators from acc_ops_converter.py to operator.py and activation.py
Implementation of the binary operators, activation operations- relu, leaky_relu, tanh, hard_tanh, sigmoid, elu, selu'
Adding tests for the above

Fixes: #1744
Fixes: #1713

This PR is an alias of other PR like #1814 and #1770.
I think I have commented on the #1814  https://github.com/pytorch/TensorRT/pull/1814#discussion_r1169464893
The basic idea is that unit tests could not protect us 100% from the development bug. The fx2trt is used in prod and we are really careful about any big changes. Even if we merge here but once we import it, it has more chances to break internal tests and we have to revert it. So we really don't expect any potential refactoring change.
cc @wushirong  for other comments.


Nutritional Information: Step 2

GIVEN I want to check nutritional information
WHEN I am on the home page or the recipe suggestion page
THEN I can scroll to the bottom of the pages and view a nutritional info section
WHEN I view this section I can see an input field and a short paragraph on what I can add into the input field
THEN my input can be validated to make sure it has been input correctly
WHEN the input cannot be validated
THEN a message alerts me on screen
WHEN the input is validated
THEN the input will display on screen to me

Added HTML basic elements to create an input for users to search nutritional information.
Updated the GET request to handle return data for multiple ingredients/items.
Validate the user input and alert them by creating and appending an alert to the HTML form.
Create a function to output data for multiple ingredient and display on screen for the user.
Added basic HTML table so i could see the format i needed.

Feature merged to main. Issue completed.


Feat impl broadcast runtime

(WIP) Refactor the block crate by replacing the Block struct with an enum w 3 different variants. Also created 3 custom structs to correspond to those variants for customized implementations. Refactor the BlockHeader struct to reflect the protocol. Add some helper macros in the utils crate.
TODO:
Write Tests
Integrate BullDAG as chain
Add conflict resolution for ProposalBlocks from earlier rounds.
Add fee calculation and distribution
? Add root_hash and next_root_hash to block for efficient consensus check.

closing this as it's being replaced by https://github.com/vrrb-io/vrrb/pull/129


Gracefully handle fields whose encoding is unknown to Ruby

Ruby19.b_value_decode (and probably q_value_decode) may cause an ArgumentError: unknown encoding XXXX exception if they call #force_encoding with an encoding Ruby doesn't know about.
We should either silently fail to decode the field or raise a more specific exception.

I've been successfully using this monkey patch for the last 6 months:
# Mail::Encodings.value_decode raises ArgumentError if any encoded word
# specifies an unknown encoding. Monkey-patch Ruby19.{b,q}_value_decode to
# fall back on an ASCII-8BIT encoding.
# Cf. <https://github.com/mikel/mail/issues/580>
###############################################################################

module Mail
  class Ruby19
    class << self
      def b_value_decode_with_fallback_encoding(str)
        b_value_decode_without_fallback_encoding(str)
      rescue ArgumentError
        b_value_decode_without_fallback_encoding(str.sub(/^=\?.*?\?/, "=?ASCII-8BIT?"))
      end

      alias_method_chain :b_value_decode, :fallback_encoding

      def q_value_decode_with_fallback_encoding(str)
        q_value_decode_without_fallback_encoding(str)
      rescue ArgumentError
        q_value_decode_without_fallback_encoding(str.sub(/^=\?.*?\?/, "=?ASCII-8BIT?"))
      end

      alias_method_chain :q_value_decode, :fallback_encoding
    end
  end
end

Is there value in turning this into a pull request?

we have a encoder now, does that take care of it ?
https://github.com/mikel/mail/blob/master/lib/mail/version_specific/ruby_1_9.rb#L5-L29

Encoder? Isn't this issue about {b,q}_value_decode?

I think it might be handleable in the encoder, since you see an encoding coming in and can rescue the ArgumentError there ... might be wrong ... can you update to master, reproduce or add a failing test case ?

I'll try to reproduce this on master.
In my dev & prod environment I can't update to master, since we're using the mail gem as part of the Rails framework, and we're currently stuck on Rails 3.2, which depends on mail 2.5.4. All I can do is monkey-patch 2.5.4. The reason I'm pushing for this is that I'd rather monkey-patch it in a way that's consistent with any fixes going into master.

just monkey patch the version down :)
gem "mail",                 :git => 'git@github.com:zendesk/mail', :ref =>
'262-as-259'
On Sun, Mar 15, 2015 at 10:25 AM, Julian Mehnle<EMAIL_ADDRESS>wrote:

I'll try to reproduce this on master.
In my dev & prod environment I can't update to master, since we're using
the mail gem as part of the Rails framework, and we're currently stuck on
Rails 3.2, which depends on mail 2.5.4. All I can do is monkey-patch 2.5.4.
The reason I'm pushing for this is that I'd rather monkey-patch it in a way
that's consistent with any fixes going into master.
—
Reply to this email directly or view it on GitHub
https://github.com/mikel/mail/issues/580#issuecomment-81171873.

@grosser, did you have any compatibility issues with using 2.6 with Rails?

nope, works fine (and we are doing a ton of email ...) :)

We're now using our own fork with some fixes pulled in from other forks that haven't been merged into master (most notably https://github.com/okkez/mail/tree/handle-invalid-date), patching the version down to 2.5.999. Apparently this issue (https://github.com/mikel/mail/issues/580) has been resolved in master.
Kind of a ridiculous solution, but like @grosser, we're exposed to a lot of email garbage and need to handle it all in our Rails app. Thanks, @grosser!

Glad that helps, keep making PRs, at least we have a common place for
discussion/patches :)
On Thu, Mar 19, 2015 at 11:54 PM, Julian Mehnle<EMAIL_ADDRESS>wrote:

We're now using our own fork with some fixes pulled in from other forks
that haven't been merged into master (most notably
https://github.com/okkez/mail/tree/handle-invalid-date), patching the
version down to 2.5.999. Apparently this issue (#580
https://github.com/mikel/mail/issues/580) has been resolved in master.
Kind of a ridiculous solution, but like @grosser
https://github.com/grosser, we're exposed to a lot of email garbage and
need to handle it all in our Rails app. Thanks, @grosser
https://github.com/grosser!
—
Reply to this email directly or view it on GitHub
https://github.com/mikel/mail/issues/580#issuecomment-83791532.


feat(ledgerjs-cal): CAL update

❓ Context

Impacted projects: ledgerjs-cryptoassets

Linked resource(s): crypto-assets repo

CAL update
✅ Checklist

[x] Test coverage: n/a
[x] Atomic delivery: santdalone
[x] No breaking changes: no breaking changes
[ ]

📸 Demo
n/a
🚀 Expectations to reach
n/a

replaced by https://github.com/LedgerHQ/ledger-live/pull/219


Claim stake and fees notification and modal: if DAI is 0 show 0 rather than dash

Build:

closing


Failed to download azure-cosmos on Power (ppc64le) systems.

Package Name: azure-cosmos
Package Version: 4.3.1/4.5.1
Operating System: RH Power systems
Python Version: 3.10

Describe the bug
Failed to download using pip on power systems.
To Reproduce
Steps to reproduce the behavior:

pip install --upgrade azure-cosmos==4.3.1

Expected behavior
it should download the package.
Screenshots

Additional context
Add any other context about the problem here.

Thank you for the feedback @sshuklao . We will investigate and get back to you asap.

its working now, thanks.


Adds the ability to specify an optional % to proc to factoids.

Example:
gambot, test <reply|50%> hello

This update is backwards compatible.
Random quirks because of implementation:

You can store any decimal percentage (e.g. <verb|0.0005%>), but because "chance" is implemented with a random number between 0 and 100, decimals effectively have no effect. 🤷🏽
Valid percentages are in the range of (0, 100]; I wanted to avoid implicit behavior (e.g. flooring the percentage with 100, or ceiling it with 0). Let me know if the implicit behavior would be preferred.

ᵇᵘᵐᵖ

ᵇᵘᵐᵖ

Haha, whoops, thought I merged this already


Added alerts for etcd

Summary
Adding etcd alerts.
Created these alerts using available metrics in quickstart.

Pre merge checklist

[x] Did you check you NRQL syntax? - Does it work?
[x] Did you check your descriptive content for voice and tone?
[x] Did you check your descriptive content for spelling and grammar errors?

Alerts

[   ] Did you check that your alerts actually work?

@aswanson-nr ,Thanks for review. Updated file names as suggested


Staging a line causes the whole block to be replaced

Issue Type: Bug
Problem:

Modify multiple consecutive lines
Apply "Stage selected ranges" to some of them, e.g. one of them

Actual result:
All of the modified lines are removed and replaced with only the selected lines.
Expected result:
Only the selected lines are removed and replaced with only the selected lines.
Example:
Stage only the first line of

Actual result:

Expected result:

VS Code version: Code 1.57.1 (507ce72a4466fbb27b715c3722558bb15afa9f48, 2021-06-17T13:28:07.755Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No
Remote OS version: Linux x64 5.4.0-39-generic
Remote OS version: Linux x64 5.4.0-39-generic

@lainets, apologies for not getting back to you on this issue. Could you please try to see if you are able to reproduce the problem in the latest Insiders release (2022-01-27)? I have tried to reproduce the issue and it looks like it might have been fixed already. Thank you!

Do you mind recording a gif (you can use https://gifcap.dev/) while reproducing the issue as that would help me a lot. Thanks!

https://user-images.githubusercontent.com/49596400/151402758-2e67f7f3-4d31-4bf7-9d19-ae3f71b31829.mp4

This happens because our range staging algorithm always applies the selected lines over the entire removal of the original lines. It treats the entire range as a single element. So, that single line will replace the 3 lines.
We could potentially implement the following heuristic: if the diff refers to the name number of lines on both original and modified documents, then we can map line by line.

Today: we replace the 3 original lines with the 1 selected modified line
Future: we understand that the line count didn't change at all and we replace the 1 original line with the 1 selected modified line

Yes, that is a great change. Would it be possible to get a merging feature for when the number of lines is different? Right now, if I want to make a partial change to a block, I need to manually merge the old version and the new version (which is in the working file) to the state I want to stage in the working file, stage the changes, and then undo until I get back the new version I had earlier. While this works, it is a little annoying and terrifiying because there is a chance I might lose the new version.


#2371 fix locale time

#2371 fix to display locale date at Web UI
@juliusv

The default should be to use UTC everywhere, not the locale date.

close and change anther PR #3180


Resize the Hero Image

It's 7Mb

The specific file to be resized is LaunchAppsHero.png, which is 7.83MB.


Beacon node notifier says (empty) but head is progressing

Describe the bug
In Prater fork, with many missing blocks this print happened
beacon_node_1  | Sep-02 12:37:18.011 []                 info: Synced - block: 1173186 0x99e0…6711 - head: 1173186 0x99e0…6711 - finalized: 1173120 0x24ad…eb79 (36660) - peers: 2
beacon_node_1  | Sep-02 12:37:30.000 []                 info: Synced - block: 1173187 0x9cd8…e232 - head: 1173187 0x9cd8…e232 - finalized: 1173120 0x24ad…eb79 (36660) - peers: 2
beacon_node_1  | Sep-02 12:37:42.001 []                 info: Synced - block: 1173188   … (empty) - head: 1173187 0x9cd8…e232 - finalized: 1173120 0x24ad…eb79 (36660) - peers: 3
beacon_node_1  | Sep-02 12:37:54.012 []                 info: Synced - block: 1173189   … (empty) - head: 1173188 0xf3a3…c8a3 - finalized: 1173120 0x24ad…eb79 (36660) - peers: 3
beacon_node_1  | Sep-02 12:38:06.001 []                 info: Synced - block: 1173190   … (empty) - head: 1173189 0x8790…cef6 - finalized: 1173120 0x24ad…eb79 (36660) - peers: 4
beacon_node_1  | Sep-02 12:38:18.001 []                 info: Synced - block: 1173191   … (empty) - head: 1173189 0x8790…cef6 - finalized: 1173120 0x24ad…eb79 (36660) - peers: 4
beacon_node_1  | Sep-02 12:38:30.000 []                 info: Synced - block: 1173192 0xb2a5…1163 - head: 1173192 0xb2a5…1163 - finalized: 1173120 0x24ad…eb79 (36660) - peers: 4
beacon_node_1  | Sep-02 12:38:42.001 []                 info: Synced - block: 1173193 0xdf9f…da7f - head: 1173193 0xdf9f…da7f - finalized: 1173120 0x24ad…eb79 (36660) - peers: 4
beacon_node_1  | Sep-02 12:38:54.002 []                 info: Synced - block: 1173194   … (empty) - head: 1173193 0xdf9f…da7f - finalized: 1173120 0x24ad…eb79 (36660) - peers: 4

Expected behavior
Review (empty) tag logic
CC: @q9f

That's because it assumes that blocks are arriving at clock slots. Reasons can be manifold: local clock out of sync, block processing internally takes longer than expected, block propagation in the network takes longer than expected.
I know we just print out the synced logger message right on the clock slot (right on the second) where as it might be better to couple it with some internal events that eventually are more close to actual block processing (and only print "empty" if there is nothing happening for 1/2 * SECONDS_PER_SLOT)... Let me know if you have any ideas or preferences and I can try to revise this.

it might be better to couple it with some internal events that eventually are more close to actual block processing (and only print "empty" if there is nothing happening for 1/2 * SECONDS_PER_SLOT)... Let me know if you have any ideas or preferences and I can try to revise this.

Just checked, we are already waiting for half a slot:
      // Log halfway through each slot
      await sleep(timeToNextHalfSlot(config, chain), signal);

So, basically this means this is not a logger issue but rather something else, why would it take more than 6 seconds to receive and process a block?
Unless it's a clock issue?

That was taken in very bad network conditions so blocks were arriving at random times + had to trigger a backwards search of previous blocks before being able to insert them. Definitely not the norm, but wondering if (empty) communicates what's actually going on

right now we have a weird behavior that gossip block does not come on time, I think this is the root cause https://github.com/ChainSafe/lodestar/issues/3084#issuecomment-914876394

Definitely not the norm, but wondering if (empty) communicates what's actually going on

No, it's an assumption that there should be a block available in less than half a slot time. I lack a deeper understanding of the internal block processing routes to propose an alternative here. But maybe it's just fine for the notifier for now.

No recent complains on the UX of this log


Update x/sys to fix darwin builds

Prevent the darwin build with new golang failing with:
# golang.org/x/sys/unix
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:28:3: //go:linkname must refer to declared function or variable
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:43:3: //go:linkname must refer to declared function or variable
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:59:3: //go:linkname must refer to declared function or variable
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:75:3: //go:linkname must refer to declared function or variable
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:90:3: //go:linkname must refer to declared function or variable
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:105:3: //go:linkname must refer to declared function or variable
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:121:3: //go:linkname must refer to declared function or variable
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:136:3: //go:linkname must refer to declared function or variable
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:151:3: //go:linkname must refer to declared function or variable
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:166:3: //go:linkname must refer to declared function or variable
vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:166:3: too many errors

There's more changes than go get -u ... needed. Updating just the module:
# golang.org/x/sys/unix
vendor/golang.org/x/sys/unix/syscall.go:83:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_darwin.go:95:8: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_unix.go:118:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/sysvshm_unix.go:33:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)

Updating the version in go.mod to go1.17:
go: updates to go.mod needed; to update it:
        go mod tidy

go mod tidy -> results in this PR.


What are the guidelines for displaying organization logos?

Allowing users to see their organization logo as they use DiaperBase is very important. But I think we need to hash out the practice for how we want to display those logos so they are clean and fit well into the design of the site and reports. Specifically, we need:

Practical dimensions for resizing logos to different dimensions (see issue #93). What sizes should we resize too and when should we be using each of those sizes.
Determining if the organization logo should be included in the top nav bar.

As far as practical dimensions go, I don't have any good recommendations off of the top of my head. It might make sense to have that discussion on Issue #93's thread since that bug would clearly be solved by reasonable dimension scaling for images.
What I would like to propose is that we keep the DiaperBase logo in the top navigation bar 100% of the time. The reason for this is because:

Not every organization logo will scale down to a 40px height and still maintain its integrity.
Not every organization logo will properly contrast with the background color of our navigation bar.
Branding for DiaperBase is just as important as branding for each of the user's organizations.

Most logos are designed to be displayed on printed paper often used on letterhead and publications such as annual reports or pamphlets. In these documents there is more liberal use of space to ensure the brand of the organization is prominently displayed. However the logo in the Nav Bar is meant to be more pervasive than prominent. Any logo that was not designed with vector graphics in mind won't scale down well. Especially logos with intricate details.
Additionally, because these logos are often found in printed documents like what I cited above, they usually assume that they will be displayed against a white background. Our nav bar is currently baby blue and that color could change over time. There are many logos that may not contrast properly with that background color. Or may not be using transparent backgrounds so now the nav-bar has a large visible rectangular block that the logo lives in.
Finally, DiaperBase is a platform. It's our hope that this platform will be well adopted because of it's functionality. But part of that success is also in the brand of the platform too. Users are going to use the DiaperBase platform and having that logo displayed in the top right corner helps reinforce the brand of the system that should be making their jobs better. You could compare that to how Github treats organizations (since that's the logic we used for the multi-tenancy). The octocat logo is always up in the top nav bar, regardless of what organization the user is working in. When a user goes to view their organization, they can see it prominently displayed on that organization page.
I think we could do something similar where the organization logo is prominently displayed on the dashboard and every report. And possibly on other pages too if it fits in the layout.

I agree with pretty much all of Keith's comments despite the fact that Keith made them. ;)
With regards to the printed pdf files I'm not sure that the DiaperBase logo should be the default logo if an organization doesn't have one. I think it might make more sense, and keep the diaperbase logo visible even when an organization logo does exist, to insert something into the pdf footers. Maybe something at the very bottom that says something like "This Invoice Was Lovingly Created With "
I also think it may make sense to find someone with more design/ux ability than myself and get feedback from them on everything.

I like the idea of a diaperbase logo (small) in PDFs just for branding / promotional purposes, and for keeping it in the topbar (same reason) -- the dimensions issue is a good point.
I'm in agreement with the above -- and IIRC @pdxdiaperbank was of similar mind as well. Perhaps we could have the organization logo display on the Dashboard page somewhere, since that will probably be the most frequent "resting place"? We could also try putting it at the top of all the #index pages as well, and just set a max-height CSS property so it fits, but is also scaled (that property is just PFM, I swear).

I created two issues #108 and #109 that sum up what we talked about in here.


Wiki!?!?

Is there a wiki somewhere by saying how to create a bungee portal to another server?
I try this command:
/portal create SOEA lobby -c 23,64,289
and it comes the error: lobby is not loaded or does not exist
lobby is the name of the other server in bungee and the destination of the protal

I have to say, I second a wiki. It would be nice to see various examples and usecases of this.


Ability to merge reports from multiple projects

In a larger project one may have a backend, fronted and mobile (flutter) app, each within the same repository but inside different packages. As each of these have their own test script it would be nice to have the ability to run multiple scripts and combine their reports
frontend/pubspec.yaml
frontend/packages
frontend/test/frontend_test.dart
backend/pubspec.yaml
backend/packages
backend/test/backend_test.dart
mobile/pubspec.yaml
mobile/packages
mobile/test/mobile_test.dart

With the current structure of dart-coveralls, its somewhat complicated to merge reports generated inside each project by hand (see #49)

See also http://stackoverflow.com/questions/35311534/merge-coverage-report-from-multiple-tests

Sure, provide a pull request with that feature and tests and I'll merge it.


Update fuzzy.md

Corrected description of the Levenshtein's distance in accordance with the Wikipedia's page
Description
My change corrected the description of the Leveinshein's distance, because it does not allow transpositions. If they are allowed, the distance will have to be named Damerau-Levenshtein's one.
Issues Resolved
No issues resolved
Version
All
Frontend features
Non-fronted feature
Checklist

[x] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@hdhalter, I am ready for your doc review.


Add float Curve

Godot has Curve3D, Curve2D, ColorRamp but no Curve for just floats. This would be handy for defining values changing over time in a determined and smooth way, or defining a custom interpolation.
For comparison, the Unity equivalent is AnimationCurve, and is used in a lot of places in the engine.
I currently need it so i can define the width of a line along its length (rather than having to set every single 50 points for example).

How should it be called? Curve1D? just Curve? FloatRamp? just Ramp (:smile:)?

Bezier curves will be added to animation editor eventually
On Wed, Dec 14, 2016 at 8:17 AM, Bojidar Marinov<EMAIL_ADDRESS>wrote:

How should it be called? Curve1D? just Curve? FloatRamp? just Ramp (😄)?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/7296#issuecomment-267009167,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2ya5W6EhDjoHXBsbDZsaLAPGR00_ks5rH9BJgaJpZM4LMZTH
.

@reduz You are mistaking the issue a bit -- this isn't about AnimationPlayer or AnimationTreePlayer, it is about a Resource which contains a Curve of floats (i.e. a 1D Curve), which can allow for more possibilities than @GDScript.ease() :smiley:

Yeah I meant having a Resource holding that. It can still be useful in other places such as AnimationPlayer though :)

I would call it Curve since there are Curve2D and Curve3D doing the same things (with control points and all). ColorRamp does too in the concept but its implementation differs.

I think that a 1 dimension curve called "Curve" will be a bit confusing... "Ramp" sounds better.

Ramp is probably confusing as well -- FloatRamp/RealRamp might be better.. (but, not sure about this actually)

I would enjoy something like this if I could put in x, ranging from 0-1, and it'd return what y was (from 0-1)

a curve editor dialog to adjust a curve in a similar way to the UE4 would be great!

I now have a work in progress based on cubic bezier curves. I found it allows access in the form y(x) instead of (x,y)(t), which is nice :)

@reduz at the same time, I'm thinking about the CurveTextureEditor, which could use the same algorithm, but what I did so far relies on the fact that the baking is done in the resource rather than the editor plugin (so it can change at runtime).

Fixed by #8591


Project: Support booting directly from HSPL

To do:

port mmu init functions from lk?

Current status:
Boots to PrePi, but fails at decompressing the FV

If someone has an idea what's the missing piece of the puzzle here, feel free to reopen the PR. I'm clueless as to what's missing here


[947] Trainees with mandarin degree subject dont save to DTTP

Context
https://trello.com/c/wvXUiAWi/947-trainees-with-mandarin-degree-subject-dont-save-to-dttp
Changes proposed in this pull request

Remove those programme subjects that don't have a DTTP ID until further notice.

These subjects were taken from publish but not all of them map to a DTTP entity. We have a meeting scheduled with DTTP folks to discuss the issue.

 Trainees with Mandarin degree subject don't save to DTTP

 Trainees with Mandarin degree subject don't save to DTTP


Small Bug with discord webhook when modifying settings

https://i.imgur.com/6esImnh.gif
The gif explains it all but to reproduce the error you modify a server with different values and it still shows the old config in the webhook, pretty simple fix
#26 this seems to have fixed it but this was just a quick look over it

Pushed. Thanks for the contribution! I'm going to push a new update soon.


docker-compose.yml

version: "3"
services:
speedflux:
image: qlustor/speedtest_ookla-to-influxdb
container_name: speedflux
environment:
- TZ=America/Los_Angeles
- NAMESPACE=None
- INFLUX_DB_ADDRESS=influxdb
- INFLUX_DB_PORT=8086
- INFLUX_DB_USER=influx_user
- INFLUX_DB_PASSWORD=influx_pass
- INFLUX_DB_DATABASE=speedtests
- SPEEDTEST_INTERVAL=5
- SPEEDTEST_FAIL_INTERVAL=5
- SPEEDTEST_SERVER_ID=12746
restart: unless-stopped
I think this should give a working docker-compose.yml file.  I am still building my influx but I wanted this with compose.

version: "3"
services:
speedflux:
image: qlustor/speedtest_ookla-to-influxdb
container_name: speedflux
environment:

TZ=America/Los_Angeles
NAMESPACE=None
INFLUX_DB_ADDRESS=influxdb
INFLUX_DB_PORT=8086
INFLUX_DB_USER=influx_user
INFLUX_DB_PASSWORD=influx_pass
INFLUX_DB_DATABASE=speedtests
SPEEDTEST_INTERVAL=5
SPEEDTEST_FAIL_INTERVAL=5
SPEEDTEST_SERVER_ID=12746
restart: unless-stopped

I think this should give a working docker-compose.yml file. I am still building my influx but I wanted this with compose.

Got mine working now finally thanks to your compose file. only problem I have is below Avg. Speed by test server see image
https://imgur.com/YEJzyTp

version: "3"
services:
speedflux:
image: qlustor/speedtest_ookla-to-influxdb
container_name: speedflux
environment:

TZ=America/Los_Angeles
NAMESPACE=None
INFLUX_DB_ADDRESS=influxdb
INFLUX_DB_PORT=8086
INFLUX_DB_USER=influx_user
INFLUX_DB_PASSWORD=influx_pass
INFLUX_DB_DATABASE=speedtests
SPEEDTEST_INTERVAL=5
SPEEDTEST_FAIL_INTERVAL=5
SPEEDTEST_SERVER_ID=12746
restart: unless-stopped

I think this should give a working docker-compose.yml file. I am still building my influx but I wanted this with compose.

Got mine working now finally thanks to your compose file. only problem I have is below Avg. Speed by test server see image
https://imgur.com/YEJzyTp


Update contract employees via new contract request

When insert contract employees start_date must be now()::date, not now()+1. Otherwise in case 2 contracts were signed at the same date we will have situation when start_date=today+1 and end_date=today.
Change start_date=now()::date

We solved this in other way.
We changed start_date and end_date datatype from date to date-time


Remove blue blackground from Scrollview, start on getting dynamic arrows in ScrollControl

Removed hardcoded blue backgrounds as reported in https://github.com/rensbreur/SwiftTUI/issues/7
I also tried to fix so that arrows up/down in the scroll control will display dynamically correct instead of always hardcode an arrow down, but would need guidance on correct way to invalidate the control (added comments in the commit) - right now it seems to display correctly on window change though.

Sample screenshot with arrow keys (using window resize to get proper display):

Thanks - no, you are right, the down arrow needed some TLC as I didn't know how to invalidate - I'll park this for now and have a look at ScrollBar in the future. Once again - major kudos for bringing this to light, really cool stuff and allows for some fundamental interactive interfaces to be super easily created. You should consider open for sponsoring ;-)


Add the Global Set/Reset primitive

It's actually empty, but it's the routing that counts.
Signed-off-by: YRabbit<EMAIL_ADDRESS>

Hmm... Let's slow down for a while. It seems that if the VCC is very far away from the cell (0, 0), the chip may not start. Clearly, in the vendor version, the VCC is right there in the same cell.
It is not worth merging for now.
There will be no problem with nextpnr, it will not generate this primitive if the bases do not support it.


portico: Add on hover effect on tour card

Add box-shadow on tour card which appears on hovering over tour card.
Fixes: #12853
GIFs or Screenshots:
Before hovering:-

After hovering:-

Hovering effect:-

PS- due to size restriction, I can't upload a better resolution gif.

Hmm, I'd be interested in other folks' thoughts on this hover behavior. It feels subtle enough that I'd expect a lot of folks to miss it's there; not sure what the right solution is though.  A few ideas:

We could change how the button appears as well when hovered over that region
We could change the mouse pointer over that region to indicate it's clickable as well?  Though that will be awkward in hiding the buttons at the end of the tour; I'm not sure it's be an improvement.

Button has the same box-shadow effect and also its pointer also changes as it hovers over the button. Should I change its pointer on hover for the whole card?

Hey, Great work so far! The hover effect looks great, but the mouse pointer only changing on the button feels a little confusing. If the card is clickable, then we should probably change the mouse pointer for that as well.

@vinitS101 I had made the necessary changes
Hovering Effect:-


Share sheet

Can u add flying carpet to android share sheet menu for better convenience.

Yep, it might take a while but I'll look into it, thanks.


suppCoins - Completed web app (MVP) - 3

Link to the milestone and objectives table.
#193 More or less the milestones here are done with.
Detailed log of all completed objectives including valid proof of work.

#
Milestones
Objectives

1
Frontend Implementation
Front log-in, Sign-up, reset password, forget password, home page, post detail page, profile page & edit profile, dashboard stat

2
Backend Implementation
Backend login, registration, profile CRUD (+ follow,unfollow), content CRUD(image,video) like/unlike, supp/comment, Notification & Search engine, dashboard overview

3
Deployment (Temp Server)
http://suppcoin.herokuapp.com/ (deployed temporarily on a free server)

The project is deployed on suppCoins temp server. Anyone, Feel free to test it out by signing up with a fake email and fake TNB wallet address for now and leave some suggestions here or discord (7oledit#8388).
Note: This is MVP product. So features will definitely get added, might get changed, modified, or removed.
Project Wallet
449baf4c0b43f44e9b091947bf36880bf237a91e413adb85ca2ae1f33e239440

The option to edit my own post is not available until I refresh the page after posting.

The profile section after email verifications keep on loading and nothing happens. I opened a new tab to get into the app.

The project team can use the Free version of Zoho Mail to get their professional domain email instead of using Gmail.
https://www.zoho.com/mail/zohomail-pricing.html?src=zmail

Approved for 750K TNBC


Fix deadlock in monitor

This deadlock occurs when the oom channel get full as a process gets
added to the Monitor. Since the channel is full the lock monitor will
never be released preventing the task trying to add a new process to
the monitor to ever complete.
Signed-off-by: Kenfe-Mickael Laventure<EMAIL_ADDRESS>--
Addresses https://github.com/docker/docker/issues/30026
@sandyskies do you think you could test this version of the fix?

If the problem is blocking channels we can drop messages if needed, if they are not important or they lock up the system.

The problem is that the lock prevents the deadlock prevents the channel to be emptied when the goroutine in charge of it is not called before the channel fills up.
I'd rather not drop the information if we have it, it's useful for admin I think.
But otherwise, I guess we can use select/default and drop it instead.

LGTM
ya, both ways work

@mlaventure I will try it .

what is the purpose of reading a  epoll file descriptor in https://github.com/docker/containerd/blob/v0.2.x/runtime/container.go#L702 ? I don't quite get it .

@sandyskies it's to reset the counter associated with the eventfd. see http://man7.org/linux/man-pages/man2/eventfd.2.html for an explanation of  eventfd()

@mlaventure  I ask this is because I want to figure out why oom event report all the time that I　mention in   https://github.com/docker/docker/issues/30026 .

@sandyskies The kernel will generate an oom event for every single process in that container tha triggers the oom-killer it.

@mlaventure  As I mentioned in https://github.com/docker/docker/issues/30026 , 487088 event was reported  , there is not way a  single oom can have so much process, event thread.

@sandyskies how many processes where in that container?
Each task in the memory cgroup can be the source of the oom event.

@mlaventure  not more than a thousand(include thread) .
If all the tasks in the cgroup gets targeted by the oom-killer you will receive an event for each of them.


Basic Website View

Given a random user
When the visit HCVA's site
Then they should see a professional site

Dan get the contents from RDS and send JSON through Lambda/API Gateway (Public)

Jason do all the magic to make it work and be pretty

SEO (stretch?)

S3 bucket built and confirmed as possible endpoint through Route53

Done:

Created RDS Instance
Created RDS Security Group
Created Lambda Execution Security Group to talk to RDS Instance
Extracted main page of current site into database row

Connectivity is established, having an issue with reading the password, likely an encryption helper, investigating

Issue resolved array of text of all pages in the DB is now returned in between half a second on cold call to 50ms on warm call; well within acceptable parameters

Main page and WhereWeAre have been captured, the remainder should be discussed as they seem to be more views of individual profiles etc than pages...

NG app set 👍


Mapping can be a key in YAML

The valid YAML
{1: 1}: first

is expected to be loaded into a dictionary, for example
{frozenset({(1, 1)}): 'first'}

but results in the error
>>> p=yaml.load('{1: 1}: first')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python310\lib\site-packages\yaml\__init__.py", line 114, in load
    return loader.get_single_data()
  File "C:\Python310\lib\site-packages\yaml\constructor.py", line 51, in get_single_data
    return self.construct_document(node)
  File "C:\Python310\lib\site-packages\yaml\constructor.py", line 60, in construct_document
    for dummy in generator:
  File "C:\Python310\lib\site-packages\yaml\constructor.py", line 413, in construct_yaml_map
    value = self.construct_mapping(node)
  File "C:\Python310\lib\site-packages\yaml\constructor.py", line 218, in construct_mapping
    return super().construct_mapping(node, deep=deep)
  File "C:\Python310\lib\site-packages\yaml\constructor.py", line 141, in construct_mapping
    raise ConstructorError("while constructing a mapping", node.start_mark,
yaml.constructor.ConstructorError: while constructing a mapping
found unhashable key
  in "<unicode string>", line 1, column 1:
    {1: 1}: first
    ^
>>>

https://github.com/yaml/pyyaml

Sorry, libyaml link was the first on https://pyyaml.org/ and I did not notice the second link to pyyaml github.