SignWriting font isn't properly displayed

Steps to reproduce
An example from signwriting_flutter which uses custom signwriting TTF fonts from https://github.com/sutton-signwriting/font-ttf
Expected results
In Windows it's alright, rendering actual visualization of FSW string
Actual results
But in Android and Web it is just throwing emojis or nothing, maybe because of noto-font ?
Code sample
Code sample
import 'dart:typed_data';
import 'package:flutter/material.dart';
import 'package:signwriting_flutter/signwriting_flutter.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'SignWriting Image Test',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('SignWriting Image Test'),
        ),
        backgroundColor: Colors.black,
        body: Center(
          child: FutureBuilder<Uint8List>(
            future: signwritingToImage(
              'AS10011S10019S2e704S2e748M525x535S2e748483x510S10011501x466S20544510x500S10019476x475',
              trustBox: false,
              lineColor: Colors.deepOrange,
              fillColor: Colors.white,
            ),
            builder: (BuildContext context, AsyncSnapshot<Uint8List> snapshot) {
              if (snapshot.connectionState == ConnectionState.done) {
                if (snapshot.hasData) {
                  return Image.memory(snapshot.data!);
                } else {
                  return const Text('Failed to render SignWriting image');
                }
              } else {
                return const CircularProgressIndicator();
              }
            },
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

Windows:

Android:

Web:

Logs
Logs
Launching lib\main.dart on Chrome in debug mode...
This app is linked to the debug service: ws://<IP_ADDRESS>:57165/er9FDGf5wwQ=/ws
Debug service listening on ws://<IP_ADDRESS>:57165/er9FDGf5wwQ=/ws
Connecting to VM Service at ws://<IP_ADDRESS>:57165/er9FDGf5wwQ=/ws
Could not find a set of Noto fonts to display all missing characters. Please add a font asset for the missing characters. See: https://flutter.dev/docs/cookbook/design/fonts

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.19.5, on Microsoft Windows [Version 10.0.19045.2311], locale en-US)
    • Flutter version 3.19.5 on channel stable at D:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 300451adae (2 weeks ago), 2024-03-27 21:54:07 -0500
    • Engine revision e76c956498
    • Dart version 3.3.3
    • DevTools version 2.31.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\Bipin\AppData\Local\Android\Sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_SDK_ROOT = C:\Users\Bipin\AppData\Local\Android\Sdk
    • Java binary at: D:\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.2)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.7.34018.315
    • Windows 10 SDK version 10.0.20348.0

[√] Android Studio (version 2022.3)
    • Android Studio at D:\Android Studio
    • 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.6+0-b2043.56-10027231)

[√] VS Code (version 1.88.1)
    • VS Code at C:\Users\Bipin\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.86.0

[√] Connected device (4 available)
    • RMX3395 (mobile)  • <IP_ADDRESS>:43355 • android-arm64  • Android 13 (API 33)
    • Windows (desktop) • windows           • windows-x64    • Microsoft Windows [Version 10.0.19045.2311]
    • Chrome (web)      • chrome            • web-javascript • Google Chrome 123.0.6312.122
    • Edge (web)        • edge              • web-javascript • Microsoft Edge 122.0.2365.52

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

• No issues found!

Hi @bipinkrish, did you do any extra setup to get it working on windows?
Also, if you add the noto fonts, does it work for you?

@danagbemava-nc I did not do any extra steps for Windows and since this is a very custom font with weird characters i haven't used noto-font.

By extra setup, I meant if you installed the ttf for sign writing on your windows desktop environment before running the app. Or if you already had it installed

I do not unfortunately.
I can reproduce the issue using the code sample shared above and the font files provided, this isn't limited to android or web. It applies to all platforms. For desktop, the fonts will start working when the ttf is installed on the system directly. Looking at the README for the font, it looks like this cannot be installed directly on android. However, with the font files available, I believe it should be loaded on all platforms.
Labeling for further investigation.

flutter doctor -v
[!] Flutter (Channel stable, 3.19.6, on macOS 14.4.1 23E224 darwin-arm64, locale en-GB)
    • Flutter version 3.19.6 on channel stable at /Users/nexus/dev/sdks/flutter
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (35 hours ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.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 34.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Users/nexus/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode-15.3.0.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2023.1)
    • Android Studio at /Users/nexus/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.7+0-17.0.7b1000.6-10550314)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
    • IntelliJ at /Users/nexus/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 77.2.2
    • Dart plugin version 232.10286

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

[✓] Connected device (4 available)
    • Nexus (mobile)       • 00008020-001875E83A38002E • ios            • iOS 17.4.1 21E236
    • Dean’s iPad (mobile) • 00008103-000825C811E3401E • ios            • iOS 17.4.1 21E236
    • macOS (desktop)      • macos                     • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 124.0.6367.60

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

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 3.22.0-14.0.pre.32, on macOS 14.4.1 23E224 darwin-arm64, locale en-GB)
    • Flutter version 3.22.0-14.0.pre.32 on channel master at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d4b42780ba (3 hours ago), 2024-04-19 00:21:25 -0400
    • Engine revision b6234dd198
    • Dart version 3.5.0 (build 3.5.0-76.0.dev)
    • DevTools version 2.35.0-dev.8

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

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode-15.3.0.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2023.1)
    • Android Studio at /Users/nexus/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.7+0-17.0.7b1000.6-10550314)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
    • IntelliJ at /Users/nexus/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 77.2.2
    • Dart plugin version 232.10286

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

[✓] Connected device (5 available)
    • Nexus (mobile)                  • 00008020-001875E83A38002E • ios            • iOS 17.4.1 21E236
    • Dean’s iPad (mobile)            • 00008103-000825C811E3401E • ios            • iOS 17.4.1 21E236
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 124.0.6367.60

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

• No issues found!

@danagbemava-nc It works on windows because font is installed on the system but why didn't it work for the web on the same system?

It won't work in a windows application on a system that doesn't have the font installed. You'd have to instruct your users to install the font on their devices as well, which I don't is supposed to be the case.
I imagine the browser doesn't have access to your system fonts so that's perhaps why it doesn't work.

@danagbemava-nc One solution is, instead of using the font files in the package use it in the project itself.

Like
flutter:
  fonts:
    - family: SuttonSignWritingFill
      fonts:
        - asset: assets/fonts/SuttonSignWritingFill.ttf

    - family: SuttonSignWritingLine
      fonts:
        - asset: assets/fonts/SuttonSignWritingLine.ttf

I'm encountering a similar issue. When implementing a custom font, it appears correctly on the macOS version and in the iOS emulator. However, the font fails to display properly on both the Android emulator and on physical Android devices.
I declared it in my pubspec.yaml
fonts:     - family: testfont       fonts:         - asset: assets/fonts/test/ML-KV-Ashi-Bold Bold.ttf
And use like this
`import 'package:flutter/material.dart';
class MyWidget extends StatelessWidget {
const MyWidget({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: const Center(
child: Text(
'aebmfw',
style: TextStyle(
fontSize: 50,
fontFamily: 'testfont',
),
),
),
);
}
}
`

No help at all in this issue?

@danagbemava-nc One solution is, instead of using the font files in the package use it in the project itself.

does not work at all in my case

does not work at all in my case

I feel like, space is the problem

asset: assets/fonts/test/ML-KV-Ashi-Bold Bold.ttf

try with the valid file name for the font.

does not work at all in my case

@ameenvga I feel like, space is the problem

asset: assets/fonts/test/ML-KV-Ashi-Bold Bold.ttf

try with the valid file name for the font.

Nop. I have tried that one too. Does not work.


Incorrect parser error for invalid nodes in between other module-level declarations

Sample code:
String source = "import ballerina/io; adfad; public function foo() returns int {} adfadfa;";
TextDocument textDocument = TextDocuments.from(source);
SyntaxTree syntaxTree = SyntaxTree.from(textDocument);
syntaxTree.diagnostics().forEach(System.out::println);

Output:
xxx.bal:0:0:imports must be declared before other declarations
ERROR [:(0:21,0:21)] ERROR_MISSING_IMPORT_KEYWORD
ERROR [:(0:65,0:65)] ERROR_MISSING_IMPORT_KEYWORD

As you can see, the parser assumes the second  "adfadfa" as an import node.

Thats actually a limitation in the current error recovery.
Reason is, it is not possible to determine whether user actually has written an import with some errors, or is it some other invalid node. So we can't rule out the possibility of import-decl when going for recovery.
But, considering the fact that import-decls are less probable to occur, I have reduce the priority of the import decl, at the error recovery (#23834). So the recovered node will more likely to be some other module-level decl (var-decl in this scenario).
This solution is kind of delegation of the problem to a lesser probable case.
for e.g: in below sample.
foo;
import ballerina/io;

function someFunc() {
}

bar;

both foo; and bar; will be recovered as var-decl.

We can actually further improve this, by selectively prioritising import-decl, depending on the current context.


Unable to set up passive listening socket

When I uploaded a file using FluentFTP, I was able to make a normal connection, but when I uploaded a fourth or fifth file, I received an exception:Unable to set up passive listening socket;
I'm at my wit's end. I'm asking for your help

Can you post your logs? See the FAQ in the readme for how to capture logs..

This error means that is an ACL or firewall blocking the passive ports on the client side...
When your FTP server tries to open a port for the passive mode connection, the listener on the client end doesn't respond. Make sure the client opened the appropriate ports for passive FTP. This explanation is reinforced by the fact that when the passive connection fails, the legacy PORT command is used to attempt a connection.

Thank you for your reply. Does this question refer to the firewall on the server side or the firewall on the client side?

Sorry, I didn't look carefully. Thank you


[FLINK-16025][k8s] Parse BlobServer port from Configuration instead f using constant

What is the purpose of the change
Fix bug reported by FLINK-16025
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)

@flinkbot run travis


[ximgproc] SLIC superpixels: contour mask contains {-1,1} instead of {-1,0}

The mask returned by getLabelContourMask() contains -1 at the segmentation contours and 1 elsewhere, which is not a valid mask. A valid mask should contains 'a' (where a != 0) at the contours and 0 elsewhere (e.g. in the case of SEEDS: a = 255).

Thanks a lot @ehku !
PR https://github.com/Itseez/opencv_contrib/pull/483 is onlgoing to address the issue. I made SLIC & LSC masks just like SEEDS one. Also matrix should be CV_8UC1 type.

Thanks, @cbalint13 !!

@ehku ,
Revisitied the patch. Matrix should be 8UC1, so i corrected seeds.cpp too. See here the reason:

https://github.com/Itseez/opencv/blob/master/modules/imgproc/src/contours.cpp#L197


Use the new official  Go-Client package

Instead of using the InternalClient directly.
https://github.com/kubernetes/client-go

Housekeeping, Done.


esp32s2 host msc (IDFGH-8391)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
idf4.4.1
Operating System used.
Windows
How did you build your project?
Eclipse IDE
If you are using Windows, please specify command line type.
No response
Development Kit.
idf4.4.1
Power Supply used.
USB
What is the expected behavior?
使用HOST MSC 例程，在没有插入U盘的时候，以5s的间隔不断的初始化 ---逆初始化USB host msc ,  hostmsc正常安装卸载
What is the actual behavior?
使用HOST MSC 例程，在没有插入U盘的时候，以5s的间隔不断的初始化 ---逆初始化USB host msc ,   一段时间后内存分配失败 宕机
Steps to reproduce.
使用msc例子修改的文件如下
...
msc_test.txt
Debug Logs.
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x400d082c  PS      : 0x00060933  A0      : 0x800d1ae8  A1      : 0x3fffbb30
0x400d082c: hcd_port_init at D:/esp-idf-v4.4.1/components/usb/hcd.c:1342 (discriminator 2)

A2      : 0x3fff9b94  A3      : 0x3fffbb60  A4      : 0x3fffbb70  A5      : 0x00000000
A6      : 0x3ffdbf94  A7      : 0x3f08b80c  A8      : 0x800d0824  A9      : 0x3f08b818
A10     : 0x00000001  A11     : 0xffffffff  A12     : 0x00000108  A13     : 0x00000000
A14     : 0x3fe8c584  A15     : 0x00000003  SAR     : 0x00000016  EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000034  LBEG    : 0x00000108  LEND    : 0x00000000  LCOUNT  : 0x400273ed
0x400273ed: _xt_user_exc at D:/esp-idf-v4.4.1/components/freertos/port/xtensa/xtensa_vectors.S:633

Backtrace:0x400d0829:0x3fffbb300x400d1ae5:0x3fffbb60 0x400ccec2:0x3fffbba0 0x400b2603:0x3fffbbf0
0x400d0829: hcd_port_init at D:/esp-idf-v4.4.1/components/usb/hcd.c:1342 (discriminator 2)

0x400d1ae5: hub_install at D:/esp-idf-v4.4.1/components/usb/hub.c:890

0x400ccec2: usb_host_install at D:/esp-idf-v4.4.1/components/usb/usb_host.c:416

ELF file SHA256: aa05362dc48bd008

More Information.
No response

static port_t *port_obj_alloc(void)
{
printf("---------------heap info start----------------\n");
heap_caps_print_heap_info(MALLOC_CAP_DMA);
port_t *port = calloc(1, sizeof(port_t));
usbh_hal_context_t *hal = malloc(sizeof(usbh_hal_context_t));
void *frame_list =  heap_caps_aligned_calloc(USBH_HAL_FRAME_LIST_MEM_ALIGN, FRAME_LIST_LEN,sizeof(uint32_t), MALLOC_CAP_DMA);
SemaphoreHandle_t port_mux = xSemaphoreCreateMutex();
if (port == NULL || hal == NULL || frame_list == NULL || port_mux == NULL) {
printf("port:%p\nhal:%p\nframe_list:%p\nport_mux:%p\n",port,hal,frame_list,port_mux);
free(port);
free(hal);
free(frame_list);
if (port_mux != NULL) {
vSemaphoreDelete(port_mux);
}
return NULL;
}
printf("---------------heap info----------------------\n");
heap_caps_print_heap_info(MALLOC_CAP_DMA);
port->hal = hal;
port->frame_list = frame_list;
port->port_mux = port_mux;
return port;
}
void *frame_list =  heap_caps_aligned_calloc(USBH_HAL_FRAME_LIST_MEM_ALIGN, FRAME_LIST_LEN,sizeof(uint32_t)；
最后是这个分配失败了，像是内存未释放掉

@horsa1 is the issue really resolved?

Hello,
Just for your information, We have recently released USB Device MSC driver. Please check if it is useful to you. We highly appreciate the feedback.
The driver makes ESP based device recognizable by USB-hosts as a USB Mass Storage Device.
It either allows the embedded application to access the partition or Host PC accesses the partition over USB MSC. They can't be allowed to access the partition at the same time.
The driver supports storage media of two types:

SPI Flash
SD MMC Card

Driver can be found here.
Sample application can be found here.
Thanks.


Uncaught TypeError: Cannot read property 'current' of undefined when including METEOR_PROVIDERS.

I am using angular2-meteor": "^0.7.0 with angular ^2.0.0, I had to remove all the MeteorComponent inheritance because I would get the error:
Uncaught TypeError: Cannot read property 'current' of undefined
I tracked the error down to this line:
var gZone = g.Zone.current;
Only adding

METEOR_PROVIDERS

To the list of providers on my main module would trigger the error. So as of right now I cant use the MeteorReactive class.
This is what my list of npm dependencies looks like:

"@angular/common": "^2.0.0",
"@angular/compiler": "^2.0.0",
"@angular/core": "^2.0.0",
"@angular/forms": "^0.3.0",
"@angular/platform-browser": "^2.0.0",
"@angular/platform-browser-dynamic": "^2.0.0",
"@angular/router": "^3.0.0",
"@angular2-material/button": "2.0.0-alpha.8-2",
"@angular2-material/button-toggle": "2.0.0-alpha.8-2",
"@angular2-material/card": "2.0.0-alpha.8-2",
"@angular2-material/checkbox": "2.0.0-alpha.8-2",
"@angular2-material/core": "2.0.0-alpha.8-2",
"@angular2-material/grid-list": "2.0.0-alpha.8-2",
"@angular2-material/icon": "2.0.0-alpha.8-2",
"@angular2-material/input": "2.0.0-alpha.8-2",
"@angular2-material/list": "2.0.0-alpha.8-2",
"@angular2-material/menu": "2.0.0-alpha.8-2",
"@angular2-material/progress-bar": "2.0.0-alpha.8-2",
"@angular2-material/progress-circle": "2.0.0-alpha.8-2",
"@angular2-material/radio": "2.0.0-alpha.8-2",
"@angular2-material/sidenav": "2.0.0-alpha.8-2",
"@angular2-material/slide-toggle": "2.0.0-alpha.8-2",
"@angular2-material/slider": "2.0.0-alpha.8-2",
"@angular2-material/tabs": "2.0.0-alpha.8-2",
"@angular2-material/toolbar": "2.0.0-alpha.8-2",
"@angular2-material/tooltip": "2.0.0-alpha.8-2",
"angular2-meteor": "^0.7.0",
"angular2-meteor-polyfills": "^0.1.1",
"angular2-meteor-tests-polyfills": "0.0.2",
"ng2-dragula": "^1.1.10",
"@angular/http": "2.0.0",
"faker": "^3.1.0",
"gm": "^1.22.0",
"transliteration": "^1.1.6",
"meteor-node-stubs": "0.2.3",
"meteor-rxjs": "0.2.3",
"reflect-metadata": "^0.1.8",
"rxjs": "5.0.0-beta.12",
"core-js": "^2.4.1",
"dragula": "^3.7.1",
"es6-shim": "^0.35.0",
"zone.js": "^0.6.21"

and this is my meteor package file:

meteor-base
mobile-experience
mongo
reactive-var
jquery
tracker
standard-minifier-css
standard-minifier-js
es5-shim
ecmascript
<EMAIL_ADDRESS>aldeed:simple-schema
aldeed:collection2
konecty:mongo-counter
jalik:ufs
jalik:ufs-local
check
momentjs:moment
percolate:migrations
service-configuration
accounts-password
accounts-facebook
accounts-google
accounts-twitter
biglup:biglup-ui

I was following this:
https://github.com/Urigo/angular2-meteor/tree/master/examples/todos-meteor-1.3
As an example and I cant find what is it that I am doing wrong, I did notice that the angular meteor base project is not adding METEOR_PROVIDERS to the list of providers:
https://github.com/bsliran/angular2-meteor-base/blob/master/client/imports/app/app.module.ts
So does that means MeteorReactive cant be used yet? or something is wrong with my setup?

meteor remove ecmascript
meteor add barbatus:angular2-polyfills
meteor add barbatus:angular2-runtime
meteor npm install --save<EMAIL_ADDRESS>
In app.module.ts,
@NgModule({
  imports: [
    ...
  ],
  providers: [METEOR_PROVIDERS],
  declarations: [AppComponent],
  bootstrap: [AppComponent]
})
export class AppModule {}

Sample meteor/packages and package.json.

Thanks @derek-fong, that solved the issue 👍 . When I was doing the upgrade to angular 2.0.1 at some point I removed barbatus:angular2-runtime because it was giving me a "promise override" error.


go mod tidy for storage track 2 module

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] MIT license headers are included in each file.

/check-enforcer override


remove old-zuse

it's been long enough ...
Discussion in #847

What exactly is old-zuse?

Compatibility shims for changed interfaces.  Do you want to go in and cut
them out (make everything that uses old-zuse use zuse)?
On Tue, Oct 9, 2018 at 5:00 PM rmariani<EMAIL_ADDRESS>wrote:

What exactly is old-zuse?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/issues/850#issuecomment-428392988, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AALyAXFHvj0ZOC5HMDn9IAYKvHZQcq7Nks5ujTizgaJpZM4XUQDS
.

I don't see any discussion in #847, is it in the resolved diffs?
lib/old-zuse is a temporary compatibility shim with pre-refactoring four
letter names for a bunch of library functions, that was written to be
droppable at the top of unported code without having to rename everything.
(It's secondary purpose is a mapping for the porting process to be able
to look up the new names for pojo and friends; and for unported developers
who are used to writing the old names, tho I think the usefulness for that
has run its course)
Agree that an action that should be taken here(at some priority level etc)
is going through all the files that use it and making them work without it,
via mechanical renaming of stuff.
On Tuesday, 9 October 2018, rmariani<EMAIL_ADDRESS>wrote:

What exactly is old-zuse?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/issues/850#issuecomment-428392988, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABxXhuBD0AUNSXMWnfti8RPuW337Sqlcks5ujTizgaJpZM4XUQDS
.

Compatibility shims for changed interfaces. Do you want to go in and cut them out (make everything that uses old-zuse use zuse)?

Yeah, I am tasked with making this change. Was just making sure that it was indeed this simple and that I wasn't missing something.

Should be pretty simple!
I think I at some point literally sed-ed old-zuse.hoon into a sed script,
but that ended up having unacceptably many false-positives; perhaps
something to retry now that we have CI set up(and running on *.hoon, at
least on master)
On Tuesday, 9 October 2018, rmariani<EMAIL_ADDRESS>wrote:

Compatibility shims for changed interfaces. Do you want to go in and cut
them out (make everything that uses old-zuse use zuse)?
Yeah, I am tasked with making this change. Was just making sure that it
was indeed this simple and that I wasn't missing something.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/issues/850#issuecomment-428395014, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABxXhm3lAa5zkyf78CAyVW3uVwJ0qMmlks5ujTuRgaJpZM4XUQDS
.

I should've been more careful to link the context: https://github.com/urbit/arvo/pull/847#discussion_r223161474. See also #849. In short, there are  some strange edge cases in combining =, with ford imports. As an aside, it came up that old-zuse should probably be removed. I opened this issue as a reminder, part of an implicit release-candidate release checklist.
CI is enabled for every push to any branch on urbit/arvo. Just push your changes as you make them, and travis-ci will attempt to compile everything. You can monitor the builds here: https://travis-ci.org/urbit/arvo/builds

CI is enabled for every push, but as came up somewhat recently, on
release-candidate :test expects a (bigger)bunch of files not to compile
since they in fact don't; which will impede catching find-replace
mis-regexing that hits (only)those files.
On Tuesday, 9 October 2018, Joe Bryan<EMAIL_ADDRESS>wrote:

I should've been more careful to link the context: #847 (comment)
https://github.com/urbit/arvo/pull/847#discussion_r223161474. See also
#849 https://github.com/urbit/arvo/pull/849. In short, there are some
strange edge cases in combining =, with ford imports. As an aside, it came
up that old-zuse should probably be removed. I opened this issue as a
reminder, part of an implicit release-candidate release checklist.
CI is enabled for every push to any branch on urbit/arvo. Just push your
changes as you make them, and travis-ci will attempt to compile everything.
You can monitor the builds here: https://travis-ci.org/urbit/arvo/builds
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/issues/850#issuecomment-428398441, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABxXhl6xvj-iUgXAjfSdNJ8CT5_pUN4Eks5ujUCegaJpZM4XUQDS
.

That's (mostly) fixed in #847.

Ah right, thank you again for doing that.
(And also the part where the non-terminally broken builds should now still
be attempted, which should prevent false negatives)
On Tuesday, 9 October 2018, Joe Bryan<EMAIL_ADDRESS>wrote:

That's (mostly) fixed in #847 https://github.com/urbit/arvo/pull/847.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/issues/850#issuecomment-428399653, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABxXhpI39Q_7VYXTDmDdLi9Zz7AWMjBOks5ujUKOgaJpZM4XUQDS
.

The PR for this lives here: https://github.com/urbit/arvo/pull/867

Closed because of this merge: https://github.com/urbit/arvo/pull/867


Forgescriptversioned updates stephan

collecting some changes to #264

Why did you abandon this PR?

oh, don't ask. One of the many that I started and then abandoned. #268 will stick, however. Almost done.


Level sets and indicator functions

Work in progress for #75 and #76

This pull request is getting a bit more comprehensive than originally planned. I'll merge this soon with master and open a separate issue to discuss the design changes. I improved coverage a lot, which led to a lot of minor bug fixes. But there are also some syntax changes, so this is breaking.


simplify get_bitinformation

fixes eventually #261

Any plan to continue on this? Trying to decide whether and how best to resume: https://github.com/zarr-developers/numcodecs/pull/503

Thanks @thodson-usgs, yes I do plan to continue this PR, hopefully I come back to this within the next weeks.


Selecting a group is hard

Describe the bug
A clear and concise description of what the bug is.
It's hard to select a group.
(1) User perspective: How do you select a group?  I tried clicking, just like you can click other nodes, and nothing happened.
(2) Drag selecting a group is difficult, because I usually select other nodes outside the group too.
To Reproduce
Just open a network.
Expected behavior
A clear and concise description of what you expected to happen.
Clicking to expand or collapse a group should select it.

We discussed auto-selecting all the nodes in a cluster every time its expanded.


[ZEPPELIN-5343] Zeppelin Interface becomes unresponsive

What is this PR for?
This is experimental PR for fixing the zeppelin unresponsive issue. Regarding the jstack, it seems blocked in NotebookSocket#send method, this PR change it from sync call to async call.
What type of PR is it?
[Bug Fix ]
Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-5343

How should this be tested?

CI

Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

Are you sure this change fix a client hang? Blocking of send might be the result of a client hang not the cause of it.

@cuspymd  I am not sure whether this is the right fix, as I mentioned in the PR, it is an experimental PR. As it is hard to reproduce this issue, it is not easy to verify the fix. Do you have any idea on what might be the root cause ?

@cuspymd I am not sure whether this is the right fix, as I mentioned in the PR, it is an experimental PR. As it is hard to reproduce this issue, it is not easy to verify the fix. Do you have any idea on what might be the root cause ?

Sorry, I haven't seen this issue yet.

Will merge if no more comment

Does it make a difference in your environment?

@zjffdu based on your MR we built the zeppelin-server jar for our environment and will test it - I will share the results as soon as we have solid feedback.
One question to the org.apache.zeppelin.socket.NotebookSocket.send() method: we could not find any reason for the "synchronized" marking of the method - is there a reason for this?

Thank @chillinger for the help. Regarding synchronized, it is done in https://issues.apache.org/jira/browse/ZEPPELIN-1480.

@zjffdu I can verify that the proposed Fix completely eliminated the deadlocks of zeppelin experienced before.
We built a patched version of Zeppelin 0.9 with the change in this MR and deployed in on all stages of our environment, 100+ Users on PROD. With vanilla 0.9 we had about one restart per day. Since the deployment of the patched version not a single restart.
+1 for merging

Thanks @chillinger for the verification, will merge it soon


Use Hypercorn as production ASGI server

What would you like to be added:
The internal server in Quart is not supposed to be used for production. Use Hypercorn instead.
Why is this needed:
Provide a reliable ASGI for production

This has been done by:

#23


Minor documentation strings in each stack file.

Description
One-liners saying what's in each file.
Looking for a review just to make sure the sentences make sense.
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

Failure screenshot:

Nothing to worry about, this'll be my last PR from a fork.  Don't want to move it for just a docs change - I'll run the checker locally.

Cool, yep, passes locally, merging...


HHH-18377 Support for uuid v6 and v7 generated ids

Jira issue HHH-18377
Implementation of UUID Versioin 6 and UUID Version 7

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.

How will it handle if a separate server generates the same id into the same database? Will it recreate a new ID automatically and try again?

How will it handle if a separate server generates the same id into the same database? Will it recreate a new ID automatically and try again?

No.

A few naming related points here...

Not a fan of the enum names (UUIDV6, UUIDV7).  How about VERSION6 and VERSION7 (or VERSION_6...)?  Or since they are RFC compliant, RFC_6 and RFC_7?
The value generator names should use {Type}Strategy pattern to match with the others.  E.g. Version6Strategy.

I'll need to pull this locally to squash the commits before I apply.  I can apply the name changes at that time if you prefer.
Thanks again for the work on this!

A few naming related points here...
1. Not a fan of the enum names (UUIDV6, UUIDV7).  How about VERSION6 and VERSION7 (or VERSION_6...)?  Or since they are RFC compliant, RFC_6 and RFC_7?

2. The value generator names should use `{Type}Strategy` pattern to match with the others.  E.g. `Version6Strategy`.

Changed both things.

I'll need to pull this locally to squash the commits before I apply. I can apply the name changes at that time if you prefer.

I've squashed everything into two commits, one for implementation, other for test case. Hope that this is OK?

Thanks again for the work on this!

You're welcome. Happy if I can help. Not that I was too busy lately.

In general, we like the test/impl split for the PR as it shows (1) what is addressed and (2) how it was addressed.
When we apply them though we generally (not always) squash to one as it makes it easier to cherry-pick to other branches.  This we won't be backporting so its less important.  So long story short, 2 commits is fine here.

Also, clearly we need to address the failures :)
Execution failed for task ':hibernate-core:compileTestJava'.
> Compilation failed; see the compiler error output for details.

Also, clearly we need to address the failures :)
Execution failed for task ':hibernate-core:compileTestJava'.
> Compilation failed; see the compiler error output for details.

One will expect that IDE should know to make basic refactoring things like renaming classes :-)

Applied manually.  Thanks!

I'm getting test errors quite consistently. I didn't have a single success of the v6 test so far:
java.lang.AssertionError:
Expecting actual:
  "1ef7be82-786f-69e5-8000-5b0eb9699e10"
to be greater than:
  "1ef7be82-786f-69e5-bfff-e4cda4de4e50"

	at org.hibernate.orm.test.id.uuid.rfc9562.UUidV6V7GenetartorTest.testMonotonicity(UUidV6V7GenetartorTest.java:43)
	at org.hibernate.orm.test.id.uuid.rfc9562.UUidV6V7GenetartorTest.testMonotonicityUuid6(UUidV6V7GenetartorTest.java:26)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Running with jdk-17.0.12+7 on Windows 11 if it matters. I don't know how the implementation works, but it seems broken.

It seems that there is pretty stupid bug :-( I'll check and fix that.

I just ran into another (unrelated but possibly similar) error, which is related to the fact that on Windows, the time source has a precision of 7 digits after the decimal separator.

I've located that problem and will fix it ASAP

@beikov I've created new pull request #9020 with updates to both UUID v6 and v7 generation


Do not suspend task thread if changelog writer is available.

What is the purpose of the change
(For example: This pull request makes task deployment go through the blob server, rather than through RPC. That way we avoid re-transferring them on each deployment (during recovery).)
Brief change log
(for example:)

The TaskInfo is stored in the blob store on job creation time as a persistent artifact
Deployments RPC transmits only the blob storage reference
TaskManagers retrieve the TaskInfo from the blob cache

Verifying this change
Please make sure both new and modified tests in this PR follows the conventions defined in our code quality guide: https://flink.apache.org/contributing/code-style-and-quality-common.html#testing
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (100MB)
Extended integration test for recovery after master (JobManager) failure
Added test that validates that TaskInfo is transferred only once across recoveries
Manually verified the change by running a 4 node cluster with 2 JobManagers and 4 TaskManagers, a stateful streaming program, and killing one JobManager and two TaskManagers during the execution, verifying that recovery happens correctly.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Before:

After:

@reswqa Thanks for the fix! LGTM.
Because changelogStorage is never null,  and if (changelogWriterAvailabilityProvider != null) is always true,
We will suspend the mailbox and mark the timer every time processInput.
@rkhachatryan It would be better if you could take a look. :)

We will suspend the mailbox and mark the timer every time processInput.

Sorry, what I said earlier was somewhat incorrect. After careful inspection of the code, it seems that the mailbox thread may not actually be suspended if changelogWriterAvailabilityProvider is AVAILABLE , but it does incur additional overhead. 😞

Merged to unblock 1.18 release.


Update the test environment to Alderaan

Description
Now that Alderaan is out it makes sense to update the test environment and integration image to Alderaan.
Acceptance criteria

Tasks

[ ]

Coordinate with @eorituz

I'll setup testenv002 tomorrow and also push a new docker container.
I'll give you all the info tomorrow once it's done.

Alright after talking to Christian and Kelsos we decided to go with an Alderaan compatible demo environment.
I set everything up using the following specs

Matrix
raidentransport.demo001.env.raiden.network

Raiden version
Alderaan - commit 0bb7220d6a7058c1fac2dc78ba0ccda8d81034d0

PFS
pfs.raidentransport.demo001.env.raiden.network

RSB
Release 2020.05.0

Docker
raidennetwork/raiden:demoenv001

Please give the DNS entries some time to spread. As the time of writing the entry isn't propagated yet, so the PFS/MATRIX isn't reachable yet.
CC @kelsos @andrevmatos @taleldayekh @christianbrb @agatsoh


[DataLake-job] Model validation fails with errors

Validating "examples" and "x-ms-examples" in /Users/Veronica/github/openapi-validation-tools/arm-datalake-job/swagger/job.json:
Operation: Job_Build
x-ms-examples
Scenario: SubmitGetListCancelTestPOST341
InnerErrors:
1. code: MINIMUM
message: Value 0 is less than minimum 1
path: degreeOfParallelism
description: the degree of parallelism used for this job. This must be greater than 0.

Model from swagger:
        "degreeOfParallelism": {
          "type": "integer",
          "minimum": 1,
          "default": 1,
          "format": "int32",
          "description": "the degree of parallelism used for this job. This must be greater than 0."
        },

Example from .net recording - shows response returns invalid value for property:
{
  "parameters": {
    "api-version": "2016-11-01",
    "expanded": "true",
    "parameters": {
      "name": "azure sdk data lake analytics job",
      "type": "USql",
      "degreeOfParallelism": 2,
      "properties": {
        "type": "USql",
        "script": "DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;"
      }
    }
  },
  "responses": {
    "200": {
      "body": {
        "jobId": "f9d64a74-f687-4227-bfb6-8552cd27d4d3",
        "name": "azure sdk data lake analytics job",
        "type": "USql",
        "submitter"<EMAIL_ADDRESS>        "degreeOfParallelism": 0,
        "priority": 0,
        "submitTime": "0001-01-01T00:00:00-08:00",
        "state": "Ended",
        "result": "Succeeded",
        "properties": {
          "resources": [],
          "runtimeVersion": "kobo_vnext_signed_5177484",
          "script": "DROP DATABASE IF EXISTS testdb; CREATE DATABASE testdb;",
          "algebraFilePath": "mafs://accounts/testdatalake12107/fs/system/compilationService/jobs/USql/f9d64a74-f687-4227-bfb6-8552cd27d4d3/2016/11/08/04/16/algebra.xml",
          "compileMode": "Semantic",
          "errorSource": "Unknown",
          "totalCompilationTime": "PT0S",
          "totalPausedTime": "PT0S",
          "totalQueuedTime": "PT0S",
          "totalRunningTime": "PT0S",
          "diagnostics": [],
          "type": "USql"
        }
      }
    }
  }
}

> Operation: Job_Build
		> Scenario: SubmitGetListCancelTestPOST332
			> InnerErrors:
			  1. code: INVALID_TYPE
			     message: Expected type array but found type null
			     path: stateAuditRecords
			     description: the job state audit records, indicating when various operations have been performed on this job.
			  2. code: INVALID_TYPE
			     message: Expected type array but found type null
			     path: errorMessage
			     description: the error message details for the job, if the job failed.
			  3. code: INVALID_TYPE
			     message: Expected type string but found type null
			     path: endTime
			     description: the completion time of the job.
			  4. code: INVALID_TYPE
			     message: Expected type string but found type null
			     path: startTime
			     description: the start time of the job.
			  5. code: INVALID_FORMAT
			     message: Object didn't pass validation for format date-time: Mon, 01 Jan 0001 00:00:00 GMT
			     path: submitTime
			     description: the time the job was submitted to the service.

Model from swagger:
        "stateAuditRecords": {
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "#/definitions/JobStateAuditRecord"
          },
          "description": "the job state audit records, indicating when various operations have been performed on this job."
        },

        "errorMessage": {
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "#/definitions/JobErrorDetails"
          },
          "description": "the error message details for the job, if the job failed."
        },

        "endTime": {
          "type": "string",
          "readOnly": true,
          "format": "date-time",
          "description": "the completion time of the job."
        },

        "startTime": {
          "type": "string",
          "readOnly": true,
          "format": "date-time",
          "description": "the start time of the job."
        },

        "submitTime": {
          "type": "string",
          "readOnly": true,
          "format": "date-time",
          "description": "the time the job was submitted to the service."
        },

> Operation: Job_Get
	> x-ms-examples
		> Scenario: SubmitGetListCancelTestGET526
			> InnerErrors:
			  1. code: INVALID_TYPE
			     message: Expected type string but found type null
			     path: stateAuditRecords,4,requestedByUser
			     description: the user who requests the change.
			  2. code: INVALID_FORMAT
			     message: Object didn't pass validation for format date-time: Fri, 20 Nov 2015 22:27:00 GMT
			     path: stateAuditRecords,4,timeStamp
			     description: the time stamp that the state change took place.
			  5. code: INVALID_TYPE
			     message: Expected type string but found type null
			     path: stateAuditRecords,2,details
			     description:  the details of the audit log.

Model from swagger:
        "requestedByUser": {
          "type": "string",
          "readOnly": true,
          "description": "the user who requests the change."
        },

        "timeStamp": {
          "type": "string",
          "readOnly": true,
          "format": "date-time",
          "description": "the time stamp that the state change took place."
        },

        "details": {
          "type": "string",
          "readOnly": true,
          "description": " the details of the audit log."
        }

> Operation: Job_Create
	> x-ms-examples
		> Scenario: CredentialCRUDTestPUT525
			> InnerErrors:
			  1. code: OBJECT_MISSING_REQUIRED_PROPERTY
			     message: Missing required property: script
			     path: properties
			     description: The common Data Lake Analytics job properties.

Model from swagger:
    "JobProperties": {
      "discriminator": "type",
      "required": [
        "script",
        "type"
      ],
      "properties": {
        "runtimeVersion": {
          "type": "string",
          "description": "the runtime version of the Data Lake Analytics engine to use for the specific type of job being run."
        },
        "script": {
          "type": "string",
          "description": "the script to run"
        },
        "type": {
          "type": "string",
          "description": "the job type of the current job (i.e. Hive or U-SQL)."
        }
      },
      "description": "The common Data Lake Analytics job properties."
    },

> Operation: Job_List
	> x-ms-examples
		> Scenario: SubmitGetListCancelTestGET640
			> InnerErrors:
			  1. code: OBJECT_MISSING_REQUIRED_PROPERTY
			     message: Missing required property: properties
			     path: value,1
			     description: The common Data Lake Analytics job information properties.
                   > Scenario: SubmitGetListCancelTestGET643
			> InnerErrors:
			  2. code: OBJECT_MISSING_REQUIRED_PROPERTY
			     message: Missing required property: type
			     path: value,1
			     description: The common Data Lake Analytics job information properties.
			  3. code: OBJECT_MISSING_REQUIRED_PROPERTY
			     message: Missing required property: name
			     path: value,1
			     description: The common Data Lake Analytics job information properties.

Extract from swagger model:
    "JobInformation": {
      "required": [
        "name",
        "type",
        "properties"
      ],

		> Scenario: SubmitGetListCancelTestGET631
			> InnerErrors:
			  1. code: INVALID_TYPE
			     message: Expected type string but found type null
			     path: nextLink
			     description: the link (url) to the next page of results.

Model from swagger:
    "JobInfoListResult": {
      "properties": {
        "value": {
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "#/definitions/JobInformation"
          },
          "description": "the list of jobInfo items."
        },
        "nextLink": {
          "type": "string",
          "readOnly": true,
          "description": "the link (url) to the next page of results."
        }
      },
      "description": "List of jobInfo items."
    }

@begoldsm ?

@veronicagg this is an interesting issue. We do require a minimum degreeOfParallelism for submitting jobs, but for building jobs this field is ignored, and the service simply returns default(int), which happens to be zero. I can remove the restriction in our swagger specs, since our service will fix submissions with degreeOfParallelism < 1 to be = 1. Thoughts?

But you still need that constraint while submitting the job. May be documenting this in the description and removing it as a constraint is the best option. I am not sure if using allOf can solve this accurately.

That is fair, I can make that update.

PR out: https://github.com/Azure/azure-rest-api-specs/pull/917

This should now be resolved with the merge of PR #917. @amarzavery or @veronicagg can you verify and close this issue (I do not have permission to do so).

@amarzavery and @veronicagg please verify and close this.

@veronicagg - Could you please close the issue if this is fixed


Adyen doesn't provide minified resources (including java script and stylesheets) , also the resources are fetched through HTTP 1.1 protocol

We have integrated Adyen JS SDK for Ideal payment method using the below scripts and stylesheets

https://checkoutshopper-live.adyen.com/checkoutshopper/sdk/4.5.0/adyen.js
https://checkoutshopper-live.adyen.com/checkoutshopper/sdk/4.5.0/adyen.css

In order to improve the performance of our web-app. Can you please provide us with the below two optimizations

Provide us with the minified versions of javascript and stylesheet resources
Move the protocol with these resources from HTTP 1.1 to HTTP 2

As of now there is no such provision on the web-component integration part (although HTTP 2 is available on NPM , but due to some constraints we can't use NPM in our web-app) , Please provide us with both of these optimizations
Thanks
Karan

Hi @karanbaneshi99 ,
Thanks for reaching out to us. The javascript code is already minified, although the CSS there for this specific version isn't, which is quite weird. Regardless of that, if that is a big deal for you, you can simply use a newer version which has the minified CSS version. I am afraid that changing it won't bring much benefits though, since the minified version is 10kB , and the non-minified is 11kB.
About the protocol, we are working to support HTTP2, but there is no specific estimative when it will be done and released. The workaround for now is to serve the assets by your own server, so you have full control over them.
Hi @karanbaneshi99 ,
Thanks for reaching out to us. The javascript code is already minified, although the CSS there for this specific version isn't, which is quite weird. Regardless of that, if that is a big deal for you, you can simply use a newer version which has the minified CSS version. I am afraid that changing it won't bring much benefits though, since the minified version is 10kB , and the non-minified is 11kB.
About the protocol, we are working to support HTTP2, but there is no specific estimative when it will be done. The workaround for now is to serve the assets by your own server, so you have full control over them.
I hope this sets your expectations about these topics!


Do not write full page images at each checkpoint

See #1076
If we store image layer at each checkpoint, then we get huge write amplification.
If we postpone creation of image layers, then we get very large number of small delta layer files
(100 iterations of my test_write_amplification produce 600k files and just removing them takes 10 minutes).
So I try to propose some compromise approach which delay creation of image layers is total size of wal records in this inmem layer is small (right now < half of segment size) and number of delta layers is smaller than some threshold (right now hardcoded 10, which restrict total number of files for 100Gb relation by 100k).

With this patch write amplification is reduced from x50 to x10 (comparing with main) and number of files from 600k to 75k (comparing with version doesn't creating image layers at all).

Didn't look at the patch, but +1 on the general idea.
The long-term fix for this is the LSM work, but this is a good stop-gap.

Results of most recent version of PR:
written bytes: 2Tb
write amplification (written bytes/WAL size): 8.3
number of files: 82k
elapsed time: 200 minutes
time of database population (100Gb): 1 hour
Without this patch:
written bytes: 14Tb
write amplification: 50
elapsed time: 13 hours
time of database population: 2 hours

Not needed for new layared storage


have a try on arc source

What's the status of this PR? Memory usage from the Box clone is still significant.

It's ready to merge after the CI passes.


Pin setup-gcloud to v0 instead of master

What does this PR do?
setup-gcloud will be updating the branch name from master to main in
a future release. Even though GitHub will establish redirects, this
will break any GitHub Actions workflows that pin to master. This PR
updates your GitHub Actions workflows to pin to v0, which is the
recommended best practice.
Does your PR introduce any breaking changes? If yes, please list them.
No
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs) N/A
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs) N/A
[x] Did you verify new and existing tests pass locally with your changes? N/A
[x] Did you list all the breaking changes introduced by this pull request? N/A
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings) N/A

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

ci-tests Expected — Waiting for status to be reported

@Borda @kaushikb11 Any idea why CircleCI hasn't started yet?

ci-tests Expected — Waiting for status to be reported

@Borda @kaushikb11 Any idea why the CircleCI job hasn't started yet?

not really, just try empty commit

Labelling P0 since the CI job is failing in master: https://github.com/PyTorchLightning/pytorch-lightning/runs/5655719091?check_suite_focus=true
Error: On 2022-04-05, the default branch will be renamed from "master" to "main". Your action is currently pinned to "@master". Even though GitHub creates redirects for renamed branches, testing found that this rename breaks existing GitHub Actions workflows that are pinned to the old branch name.


How can I get previewStream back after clearing blob url?

I'm building an app where someone can record a video. The first part is just the preview stream which works great when the initially load the page. They tap the record button and it starts recording while still showing the preview. Once they're done recording they hit the stop button and then we no longer show the preview stream and instead give them the video they recorded.
At this point, the previewStream is no longer working. The MediaStream is no longer active and I'm not sure if there is a good way to reactivate it or if I need to totally re-run the useReactMediaRecorder hook.
Any help is appreciated!
export default function RecordPage() {
  const {
    status,
    startRecording,
    stopRecording,
    mediaBlobUrl,
    previewStream,
    clearBlobUrl,
    error
  } = useReactMediaRecorder({
    video: true
  });

  console.log('status', status);
  console.log('error', error);
  console.log('mediaBlobUrl', mediaBlobUrl);
  console.log('previewStream', previewStream);

  if (status === "idle" || (status === "stopped" && !mediaBlobUrl)) {
    return <Ready previewStream={previewStream} startRecording={startRecording} />;
  } else if (status === "recording") {
    return <Recording previewStream={previewStream} stopRecording={stopRecording} />;
  } else if (status === "stopped" && mediaBlobUrl) {
    return <DoneRecording mediaBlobUrl={mediaBlobUrl} clearBlobUrl={clearBlobUrl} />;
  }

  return
hello
;
}

hi @harterc3, landed here searching for solution to same problem. were you able to resolve this?

same problem for me

found, that passing stopStreamsOnStop: false option helps


Bedrock chain not working with AsyncCallbackHandler

System Info
Name: langchain
Version: 0.0.317
Who can help?
No response
Information

[X] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[X] Chains
[X] Callbacks/Tracing
[X] Async

Reproduction
Hello @agola11
I got this runtime warning:
RuntimeWarning: coroutine 'AsyncCallbackManagerForLLMRun.on_llm_new_token' was never awaited
run_manager.on_llm_new_token(chunk.text, chunk=chunk)
I try to stream over a websocket the generated tokens. When I try to add a AsyncCallbackHandler to manage this streaming and run acall the warning occurs and nothing is streamed out.
class StreamingLLMCallbackHandler(AsyncCallbackHandler):
def __init__(self, websocket):
    self.websocket = websocket
    self.intermediate_result = []

async def on_llm_new_token(self, token: str, **kwargs: Any) -> None:
    self.intermediate_result.append(token)
    await self.websocket.send_text(token)

async def on_llm_end(self, token: str, **kwargs: Any) -> None:
    await self.websocket.send_text("[END]")

stream_handler = StreamingLLMCallbackHandler()
model_kwargs = {
"max_tokens_to_sample": 8000,
"temperature": 0.7,
# "top_k": 250,
# "top_p": 1,
"stop_sequences" : ['STOP_LLM']
}
llm = Bedrock(
client=bedrock,
model_id="anthropic.claude-v2",
# provider_stop_sequence_key_name_map={'anthropic': 'stop_sequences'},
streaming=True,
callbacks=[stream_handler],
model_kwargs=model_kwargs
)
prompt_template = f"""
Human:
{{context}} {{question}}
Assistant:"""
PROMPT = PromptTemplate(template=prompt_template, input_variables=["context", "question"])
chain_type_kwargs = {"prompt": PROMPT}
pinecone.init(api_key=PINECONE_API_KEY, environment=PINECONE_API_ENV)
chat_vectorstore = Pinecone.from_existing_index(index_name='intelligencechat1', embedding= OpenAIEmbeddings(openai_api_key= OPENAI_API_KEY), namespace='146')
chain = RetrievalQA.from_chain_type(
llm=llm,
chain_type="stuff",
return_source_documents=True,
chain_type_kwargs=chain_type_kwargs,
retriever=chat_vectorstore.as_retriever(search_kwargs={'k' : 4}),)
query = 'summarize'
result = await chain.acall(({"query": query}))
Expected behavior
The expected behavior is that each token is streamed sequentially over the websocket.
the chain work in syncronous mode without 'acall'

doesn't look like  a helpful answer.

Running into the same issue.

I got this runtime warning:
RuntimeWarning: coroutine 'AsyncCallbackManagerForLLMRun.on_llm_new_token' was never awaited
run_manager.on_llm_new_token(chunk.text, chunk=chunk)

This is because the invoke_stream methods are not async so the run manager can't be awaited.
Adding async methods to Bedrock is vital for production chatbots powered by Bedrock and Langchain

Hitting the same issue. Does it mean that currently Bedrock did not support AsyncCallbackHandler for streaming?

@hteeyeoh  true.
I've made updates to allow for async streaming. Works for me, I'll add some tests and open a PR tomorrow

Cool. Thanks for your response

@davide-pet
@hteeyeoh
I have just created a pull request to add this functionality
https://github.com/langchain-ai/langchain/pull/12477
Feel free to pull that fork before it gets merged if you are in a hurry to use it. We've used this in the production last week and its working quite nicely.
WIth this, you are able to do something like:
import boto3
import asyncio
import langchain
from langchain.llms.base import LLM
from langchain.llms.bedrock import Bedrock
from langchain.chains import LLMChain
from langchain.prompts import PromptTemplate
from langchain.callbacks import AsyncIteratorCallbackHandler

langchain.debug = True

bedrock_client = boto3.client("bedrock-runtime")
llm = Bedrock(
    client=bedrock_client,
    model_id="anthropic.claude-v2",
    streaming=True,
    callbacks=[AsyncIteratorCallbackHandler()],
)
prompt = PromptTemplate.from_template("Human: Hey!\n\nAssistant: Hey!")
chain = LLMChain(llm=llm, prompt=prompt)

async def runner():
    response = await chain.acall({"input": "Hey, how are you?"})
    print(f"This is the response: {response}")
    return response

async def chat():
    task = asyncio.create_task(runner())
    async for chunk in llm.callbacks[0].aiter():
        yield chunk

    await task

asyncio.run(chat())

Hope that helps!

@davide-pet @hteeyeoh
I have just created a pull request to add this functionality
#12477
Feel free to pull that fork before it gets merged if you are in a hurry to use it. We've used this in the production last week and its working quite nicely.
WIth this, you are able to do something like:
import boto3
import asyncio
import langchain
from langchain.llms.base import LLM
from langchain.llms.bedrock import Bedrock
from langchain.chains import LLMChain
from langchain.prompts import PromptTemplate
from langchain.callbacks import AsyncIteratorCallbackHandler

langchain.debug = True

bedrock_client = boto3.client("bedrock-runtime")
llm = Bedrock(
    client=bedrock_client,
    model_id="anthropic.claude-v2",
    streaming=True,
    callbacks=[AsyncIteratorCallbackHandler()],
)
prompt = PromptTemplate.from_template("Human: Hey!\n\nAssistant: Hey!")
chain = LLMChain(llm=llm, prompt=prompt)

async def runner():
    response = await chain.acall({"input": "Hey, how are you?"})
    print(f"This is the response: {response}")
    return response

async def chat():
    task = asyncio.create_task(runner())
    async for chunk in llm.callbacks[0].aiter():
        yield chunk

    await task

asyncio.run(chat())

Hope that helps!

Thanks. Will give it a try

hi @DLOVRIC2 one small curious, with your changes above means that im also able to stream the output by just calling the chain using ainvoke? like chain.ainvoke?

Hello there, I had the same issue, and I fixed that:
from typing import Any
from langchain_core.callbacks import AsyncCallbackHandler
class BedrockAsyncCallbackHandler(AsyncCallbackHandler):
def __init__(self, instance_callback):
    self.__instance_callback = instance_callback

async def on_llm_new_token(self, token: str, **kwargs) -> None:
    status = self.__instance_callback.client_state.name
    if status == 'CONNECTED':
        try:
            await self.__instance_callback.send_text(token)
            print(token)
        except RuntimeError as e:
            print(f"Error sending data: {e}")

async def on_llm_error(self, error: BaseException, **kwargs: Any) -> Any:
    reason = kwargs.get("reason")
    if reason == "GUARDRAIL_INTERVENED":
        print(f"Guardrails: {kwargs}")

Link ref: https://python.langchain.com/docs/integrations/llms/bedrock
You can try that, it might work for you.

Hello there, I had the same issue, and I fixed that:
from typing import Any from langchain_core.callbacks import AsyncCallbackHandler
class BedrockAsyncCallbackHandler(AsyncCallbackHandler):
def __init__(self, instance_callback):
    self.__instance_callback = instance_callback

async def on_llm_new_token(self, token: str, **kwargs) -> None:
    status = self.__instance_callback.client_state.name
    if status == 'CONNECTED':
        try:
            await self.__instance_callback.send_text(token)
            print(token)
        except RuntimeError as e:
            print(f"Error sending data: {e}")

async def on_llm_error(self, error: BaseException, **kwargs: Any) -> Any:
    reason = kwargs.get("reason")
    if reason == "GUARDRAIL_INTERVENED":
        print(f"Guardrails: {kwargs}")

Link ref: https://python.langchain.com/docs/integrations/llms/bedrock
You can try that, it might work for you.

Thanks @khang-it-vn . It is working once they enable it in langchain. Recent releases was working fine with it.


do something about cached file-globbed handler

If you construct the handler to a tiff sequence handler before all of the files are written to disk then the file glob in pims will only see the frames that are currently written to disk.  Future attempts to access the the handler will never see the additional frames (as the handler object is cached).
The solution is probably for the handlers like this to on access out of range refresh their underlying pims object before raising.

Thanks Tom. Will wait to test tis on Tuesday. Good Luck for the presentation.


mosaic to fail in the example

Trying to run the example from https://rafaqz.github.io/Rasters.jl/stable/, I am getting the attached error upon executing following step (in the https://rafaqz.github.io/Rasters.jl/stable/#Plotting section)
scandinavia = mosaic(first, denmark, norway, sweden)

The error is here error.txt
julia> versioninfo()
Julia Version 1.8.2
Commit 36034abf260 (2022-09-29 15:21 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.3.0)
  CPU: 8 × Apple M2
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
  Threads: 4 on 4 virtual cores
Environment:
  JULIA_NUM_THREADS = 4

Is this the latest Rasters.jl and DimensionalData.jl?

It is
(tmp_rasters) pkg> st
Status `~/Desktop/tmp_rasters/Project.toml`
  [91a5bcdd] Plots v1.36.6
  [a3a2b9e3] Rasters v0.4.1
  [8e980c4a] Shapefile v0.8.0

Oh sorry I have forgotten to register the patch version for this. It should be working in half hour or so.

Thanks for your fast fix! That works fine now.


Add UTC support

We'd like the ability to have the pickers view all selected date/times in UTC instead of the local time.

PR #107 adds this feature.

@alenaksu Is there any chance you could find some time to try and give this repo a little attention? There are quite a few pull requests waiting, and there's been no maintainer activity here in >4 months. If you no longer have time to maintain this, can you please suggest one of the forks or appoint a new maintainer?


Tech Debt: Remove feature flags that are no longer in use

What are the relevant tickets?
https://github.com/mitodl/hq/issues/4335
https://github.com/mitodl/hq/issues/4064
Description (What does it do?)
Removes the feature flags from the redesign of the MITx online homepage.  The only feature flags that are still in use are:
IGNORE_EDX_FAILURES = "IGNORE_EDX_FAILURES"
SYNC_ON_DASHBOARD_LOAD = "SYNC_ON_DASHBOARD_LOAD"
ENABLE_AUTO_DAILY_FEATURED_ITEMS = "mitxonline-auto-daily-featured-items"

How can this be tested?

Tests should pass
The site should load and function correctly
The redesign should be intact.
There should be no calls to posthog outside of the above 3 flags in a dev environment.  You will have to check this in your console OR turn posthog_enabled to true locally.

Does this TODO still apply or should it be ignored and removed:

oh geez. I THINK this was pre-flags. I'll look for it and double check.

Can you also just update or delete the feature flag documentation here, please:

Yes yes - I started some updates and need to finish those and remove these. I'll ping you when done so you can review if you don't mind!
I'm gonna go remove those classes!


bugfix: update dfgettask status to success

Signed-off-by: yeya24<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
update dfget task to success
Ⅱ. Does this pull request fix one issue?

fixes #792
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Already verified in Prometheus
We can see the dfget task metrics with status "success" now

Ⅴ. Special notes for reviews

Codecov Report

Merging #820 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #820      +/-   ##
==========================================
- Coverage   40.05%   40.03%   -0.02%
==========================================
  Files         108      108
  Lines        6356     6359       +3
==========================================
  Hits         2546     2546
- Misses       3603     3606       +3
  Partials      207      207

Impacted Files
Coverage Δ

supernode/daemon/mgr/task/manager_util.go
24.13% <0%> (-0.26%)
:arrow_down:

Continue to review full report at Codecov.

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

LGTM>


Issue 13895 - Declaration grammar is insufficient

https://issues.dlang.org/show_bug.cgi?id=13895

Sorry I had forgotten to change grammer.dd at the same time. Fixed.

Thanks, Kenji-san!


null is not assignable to type

Here is the code:
function insertUser(userAddress: string, timestamp: BigInt): AmaUserEntity{
    let user = new AmaUserEntity(userAddress)
    user.address = userAddress
    user.createdAt = timestamp

    user.questionsCreated = BigInt.fromI32(0)
    user.tipsCreated = BigInt.fromI32(0)
    user.blockuserCreated = BigInt.fromI32(0)
    user.answersCreated = BigInt.fromI32(0)

    user.questionsReceived = BigInt.fromI32(0)
    user.answersReceived = BigInt.fromI32(0)
    user.blockUserReceived = BigInt.fromI32(0)

    user.valueSpentOnTips = BigInt.fromI32(0)
    user.valueSpentOnQuestions = BigInt.fromI32(0)

    user.valueReceivedOnQuestions = BigInt.fromI32(0)
    user.valueReceivedOnAnswers = BigInt.fromI32(0)
    user.valueReceivedOnTips = BigInt.fromI32(0)

    user.questionsClaimedBack = BigInt.fromI32(0)
    user.tipsClaimedBack = BigInt.fromI32(0)

    user.questionsValueClaimedBack = BigInt.fromI32(0)
    user.tipsValueClaimedBack = BigInt.fromI32(0)

    user.twitterId = BigInt.fromI32(0)
    user.twitterUsername = ""

    user.madeBlock = BigInt.fromI32(0)
    user.receivedBlock = BigInt.fromI32(0)
    return user
  }

export function handleBlocked(event: Blocked): void {
  let id = event.transaction.hash.toHex() + "-" + event.logIndex.toString()
  let blocked = new BlockedEntity(id)
  blocked.sender = event.params.blocker.toHexString()
  blocked.receiver = event.params.blocked.toHexString()
  blocked.createdAt = event.block.timestamp
  blocked.save()

  let sender = AmaUserEntity.load(event.params.blocker.toHexString())
  if(!sender){
    sender = insertUser(event.params.blocker.toHexString(), event.block.timestamp)
  }
  if (!sender.madeBlock){
      sender.madeBlock = BigInt.fromI32(0)
    }

  sender.madeBlock = sender.madeBlock.plus(BigInt.fromI32(1))
  sender.save()

}

It is giving me this error:
⠋ Compile subgraphERROR TS2322: Type '~lib/@graphprotocol/graph-ts/common/numbers/BigInt | null' is not assignable to type '~lib/@graphprotocol/graph-ts/common/numbers/BigInt'.

   sender.madeBlock = sender.madeBlock.plus(BigInt.fromI32(1))
                      ~~~~~~~~~~~~~~~~
 in src/mapping.ts(97,22)

I couldnt understand why this is the case when I am making sure that if a user doesnt exists, create one and if madeBlock field on the user doesnt exists, create one.

Sometimes it's just because the compiler is not smart enough to infer that after the if (!sender.madeBlock){ conditional, sender.madeBlock is never nil anymore.
That is some small stuff that we have little control over as they are a limitations of the AssemblyScript compiler itself.
You can use the ! suffix at the end of a variable to inform the compiler that the value it's strictly non-nil at this call location:
sender.madeBlock = sender.madeBlock!.plus(BigInt.fromI32(1))

Assign it to a local variable if you need to re-use it a lot of time:
let madeBlock = sender.madeBlock!
// `madeBlock` type here is `BigInt` while `sender.madeBlock` is `BigInt | null`


Update wording for files.md - Promote action

Fix the wording in box files:versions:promote FILEID FILEVERSIONID

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


Trilinear couplings

Dear Anders,
first of all thank you very much for your work: it is proving really useful for my research work. I need to ask you a question about renormalizations of couplings, masses and anomalous dimensions due to trilinear couplings between scalars in the lagrangian. In fact, I am finding some unexpectes results: suppose to introduce to the SM lagrangian two new massive scalars, call them X and Y, such that in the lagrangian we have the trilinear coupling A*HXY, where H is the Higgs doublet. What I would expected is a contribution at least to the Higgs mass proportional to |A|^2; however I find no corrections to it from this term. Are there any subtleties need in the usage of dimensful couplings?
(For the moment I simply define the two fields X,Y , their mass, and then I use the function AddTrilinear. The RGE are observed through BetaFunction[mu2,1] where the Higgs sector is the Standard Model file one)
Thanks in advance,
Alessandro

Dear Alessandro,
I'm happy that you find the package useful. Regarding your question, I agree that you should expect the square of the trilinear coupling to show up in the running of the Higgs mass. This could be a matter of RGBeta assuming by default that quartic and trilinear interactions are Hermitian (there is, unfortunately, no check verifying this). If you have not given, the trilinear coupling the option

AddTrilinear[A, ..., SelfConjugate -> False]

the program will not add the conjugate term and will not generate terms proportional to |A|^2.
This is just speculation from my side, so if this is not the problem, can you send me a notebook with a minimal version of your problem? That way I might be able to better understand the issue.
Best,
Anders

Dear Anders,
thank you very much: the hint of adding SelfConjugate->False solved my problem! Indeed I tried also to add manually the hermitian conjugate with another AddTrilinear, and in this way it was already working. Using SelfConjugate->False gives me the same result, so the problem is solved. Thank you again!
Best,
Alessandro


Add configuration options to control IP address allocation in Secondary IP Mode for Windows nodes

Background

The current default behavior of the VPC Resource Controller in Amazon EKS for Windows nodes using secondary IP mode is to allocate a fixed number of warm secondary IP addresses on each Windows node. However, in some scenarios and use cases, this approach while beneficial to enable faster pod startup times, can lead to IP address wastage, especially in subnets with limited IPv4 address space.

What would you like to be enhanced
Add the following configuration options to the VPC Resource Controller to provide more flexibility in managing IP address allocation when using the Secondary IP Mode for Windows nodes:

minimum-ip-target: Specify the minimum number of minimum number of IP addresses to be available at any time
warm-ip-target: Specify the target number of unused IP addresses allocated in excess of current need to enable faster pod startup times

Why is the change needed and what use case will it solve

EKS users who need to carefully manage their IP address utilization may find this default behavior problematic, as it can result in unused IP addresses on their nodes and reduced IP address availability. To address this issue, adding configuration options to control the IP address allocation process would provide more flexibility and allow users to optimize their IP address usage and availability based on their specific requirements and tradeoffs for warm IP availability.

Task list

[ ] Create PR with initial changes to support the new configuration parameters
[ ] Respond to PR review feedback and merge PR
[ ] Add documentation about new configuration parameters
[ ] Verify changes are effected and generally available across all regions :tada:

I will be working on this issue. @sushrk/@haouc Please assign this to me.


Improve performance for dashboard.organizations

Hey there,
I recently run into this code and I think it can create performance issue for dashboard request:
https://github.com/maestrano/mno-enterprise/blob/master/core/app/models/mno_enterprise/impac/dashboard.rb#L21
    def organizations
      self.organization_ids.map do |uid|
        MnoEnterprise::Organization.find_by(uid: uid)
      end
    end

Base on the code, it will call MnoEnterprise::Organization.find_by(uid: uid) for every organization_id, and since MnoEnterprise::Organization.find_by will call external services, it will slow down this method a lot when there are lots organization_ids.
I think we can change the organizations method to use where instead of find_by

Fixed in v2.0.6


unicode转义字符的前缀应该是'\u'

Please makes sure the items are checked before submitting your PR, thank you!

[ ] Rebase before creating a PR to keep commit history clear.
[ ] Only One commit
[ ] No eslint errors


add Dockerfile and docker-compose.yml to project

Thanks for your changes, I'm happy with it. 😄
I suggest that you use restart: unless-stopped instead of restart: always, using always can be annoying because the container will restart even if you try to stop it.

You are welcome :)

closes: #1


chore: regenerate parser

Fix #2
What is your PYPI user name? I create https://pypi.org/project/tree-sitter-make/ and need to add you :smile:

I'm not sure why you would make the pypi package for a grammar that is not your own, that doesn't make any sense. The contribution to update the bindings is very welcome, but you are not a member of the org nor is this your grammar to begin with, nor are you a maintainer of it. I'd ask you to delete the package and let one of us in control of the publishing here take care of that. Please do not ever publish other people's packages for them, I've had to deal with frustrating experiences stemming from this kind of action before, and it is very annoying to say the least. Once deleted, I can go ahead and get this in + publish this to the appropriate registries

I have added you to owners. Before you accepted, I can stop any others to use this name. After accepted, Just remove me is OK.

Alright - thanks for that, but in general always ask before squatting, it is really frustrating and a no-no, I'll review this now

@amaanq @Freed-Wu is there anymore work to be done before this can merge?
I'm a user of tree-sitter-make and would really like to be able to install it from PyPi, without having to use the very large tree-sitter-language-pack or the unmaintained tree-sitter-languages.

Superseded by #4


English translation

Hello, thanks for the great app, will there be english translation in near future?

New swift version will include internationalization function(english/简体中文/繁體中文).

Thanks for the answer, will be waiting for the swift version. Keep up the great work! :👍

Keep it up! We are waiting for it!


OpenAPI should have a dropdown for descriptorType and toolClass

Is your feature request related to a problem? Please describe.
It's slightly tricky to figure out the allowable values for some parameters in the OpenAPI. Go to GA4GH List all tools, and for toolClass and descriptorType, the description points you to the schema definition.
After writing this up, I realized we might be constrained by the fact this OpenAPI is coming from TRS, so maybe this needs to be an issue in TRS instead.
Describe the solution you'd like
It should be a dropdown of allowable values. See for example Get organizations for a git registry, where there is a dropdown with the allowable values.
Additional context
Screen shot of where it could be improved:

Screen shot of where it is more usable:

┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Sprint: Sprint 43- Ringed Seal
┆Issue Number: DOCK-1524

Yup, need to create a tag and point to it


How do you output the 16 length MD5 values?

Thanks for making such a great tool for md5, I have a question requiring a leave
How do you output the 16 length MD5 values?
console.log('md5', md5('test'), md5('test').length )
The result is:
md5 098f6bcd4621d373cade4e832627b4f6 32
I need to need a configuration that can support generating 16 length md5 values like the following result
String test
md5('test'，{length: 16, lower: true })
16 length lowercase 4621d373cade4e83
md5('test'，{length: 16, lower: false })
16 Length Capital 4621D373CADE4E83
md5('test'，{length: 32, lower: true })
32 length lowercase 098f6bcd4621d373cade4e832627b4f6
md5('test'，{length: 32, lower: false })
32 Length Capital 098F6BCD4621D373CADE4E832627B4F6

An MD5 hash always results in 16 bytes. Those 16 bytes are represented as a 32 character hexadecimal number.
I don't see a point in having the configuration you are asking for.


00-check_packages should check and install tested-released versions

Hi,
@BrandonMrBot and I have discussed the use of R in ClimMob and how we can minimize build problems.
The current line reads:
pkg <- c('caret', 'climatrends', 'ClimMobTools', 'ggparty', 'ggplot2', 'gosset',
         'gridExtra', 'gtools', 'igraph', 'janitor', 'jsonlite', 'knitr', 'leaflet',
         'mapview', 'multcompView', 'nasapower', 'partykit', 'patchwork',
         'PlackettLuce', 'plotrix', 'pls', 'png', 'psychotools', 'qvcalc',
         'remotes', 'rmarkdown')

When we deploy ClimMob this list uses master for ClimMobTools and climatrends. On several occasions, such branches have bugs due to current work.
If it is not possible to set a release tag in pkg <- c() then please freeze/protect the master branch and work on a dev branch. Then after QA make pull requests from dev to master.
Thanks,

Hi @qlands I think the best approach is maybe using only the CRAN versions, as they are stable. I will update the code and avoid fetching versions under development.
What do think?

Hi, yes, particularly for 'climatrends', 'ClimMobTools' if we can fix this call to use a release/stable version

The scripts only calls for packages available on CRAN https://github.com/AgrDataSci/ClimMob-analysis/blob/master/modules/00_check_packages.R


[BEAM-8674] Update cassandra-driver-core dependency

Update cassandra-driver-core dependency

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Python_PVR_Flink PreCommit

Run PythonDocker PreCommit

Run Java PreCommit

R: @iemejia
R: @aromanenko-dev


Axes in 3.0.0

Hi there,
the axes in 3.0.0 don't work as expected as in 2.9.3.
2.9.3

3.0.0

is there a new syntax for placing and visibility?

Here's a sample for 3.0: https://www.chartjs.org/samples/next/charts/line/multi-axis.html

Btw, some features I like to use with the x-axis to reduce the number of labels are major ticks, autoSkip, and autoSkipPadding


GoogleMap: Usage of internal api objects is dangerous

Hi, I'm looking to use this module in production with heatmaps. I've got it working, but for some reasons it gives me this warning:
  GoogleMap: Usage of internal api objects is dangerous and can cause a lot of issues.
  To hide this warning add yesIWantToUseGoogleMapApiInternals={true} to <GoogleMap
   instance

Is it a good practice to do for production or there's another way to do it? I'm looking to find out if it's a good choice for production usage or I should use something else

It just means that supporting of google api is not the intent of this library. So you can use it, and if it works all is ok. If not I will not help :-)

Seems fair, thank you!


2D on star like geometries

I think we can do any star like geometry as long as we can do the boundary: consider it as
p(x/z,y/z) = 1

for z = 0..1 (disk being classic example). Then we can construct OPs in 3-variables x,y,z from boundary OPs in 2 variables Y_{m,k}(x,y) as
Q_{m,k,i}(x,y,z) = P_k^(0,2m+1)(2z-1) * z^m * Y_{m,i}(x/z,y/z)

Claims to be double checked:

This spans all polynomials in x,y,z mod the constraint p(x/z,y/z) =1, which is in fact a polynomial constraint: if p is degree d just multiply through by z^d.
This basis is orthogonal w.r.t. \int_0^1 \int_{z B} f(x,y,z) g(x,y,z) dx dy dz

To get back to OPs in 2-variables we would then construct the connection matrix. Since Q_{m,k,i} spans all polynomials, it contains 2-variable polynomials as a sub space. We can compute this connection matrix by Lanczos (that is, multiply by x and y).

Even for the disk, I don't see how to get the OPs in x, y from those in x, y, z:

I was thinking this basis would contain both all polynomials and some other things. Doing 2-variable Lanczos would then find out how to get out just the OPs.


[doc] update posix app README

This PR updates the doc for using posix app. Basically, it updates
the instructions to use cmake build posix core and transceiver.

@LuDuda Could you take a look when you have a chance :)

@LuDuda
That's great! Thanks.

@Irving-cl I just filed https://github.com/Irving-cl/openthread/pull/2 which you may want to fetch into the PR if it's not too detailed.

@googlebot I consent.

@LuDuda
I directly merged your PR in this branch. Please comment @googlebot I consent. in this PR.

@googlebot I consent

@jwhui I fixed it.


Support Thunderstorm and Next-Week Properties in Turkish

In the near future, the API will begin generating the following new properties:

possible-thunderstorm
thunderstorm
next-sunday
next-monday
next-tuesday
next-wednesday
next-thursday
next-friday
next-saturday

Add support for these properties to Turkish. (Information is available in the README, and examples are visible in /lib/lang/en.js and /test_cases/en.js.)

Tagging @sehers and @BQRA. Please take a look if you have a chance!


Add social preview image

@ztkmkoo
Hi,
I make a social preview images for dss.
Please check it.

@puresin5117
Its awesome!
Thank you so much.


Refactor HTTP filter desugar

The current HTTP filter desugar is not a NodeVisitor unlike the other analyzers/desugar phases we have. I think the logic there can be simplified and made clearer if it was written as a proper visitor.

The implementation is refactored for Swan Lake Beta1 release [1]. Hence closing the issue.
[1] https://github.com/ballerina-platform/ballerina-lang/blob/v2.0.0-beta.1/compiler/ballerina-lang/src/main/java/org/wso2/ballerinalang/compiler/desugar/HttpFiltersDesugar.java


Failed to start https server

Describe the bug
import { App } from '@tinyhttp/app'
import fs from 'fs';
import http from 'http';
import https from 'https';
const app = new App()
var privateKey = fs.readFileSync(new URL('./<IP_ADDRESS>-key.pem', import.meta.url), 'utf8');
var certificate = fs.readFileSync(new URL('./<IP_ADDRESS>.pem', import.meta.url), 'utf8');
var credentials = { key: privateKey, cert: certificate };
var httpsServer = https.createServer(credentials, app);
//generates Uncaught TypeError TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received an instance of App
To Reproduce
run above code
Expected behavior
no error
Versions

node: 16
@tinyhttp/app: 1.3.X

For https server you should do this instead:
const server = https.createServer(options)

server.on('request', app.attach).listen(3000)

See example here


Clicking day navigate to weekview

Is it possible to click on a date in monthview and have it navigate to the weekview of that day? Or the dayview for that date?

@benben10 It's possible, in the timeSelected callback function, you can change the $scope.mode. For example,
    $scope.onTimeSelected = function (selectedTime) {
        if($scope.mode === 'month') {
            $scope.mode = 'day';
        }
    };


Connection Refused

Hello,
Hope this project wasn't shelve yet. It used to work fine, but I changed my server and new everything. Now I tried entering the correct details in the Plex Server Config, and always when I check the libraries it has an error "Connection Refused". I tried using the same link to generate the XML data, but this time I changed the token to the token I have on tautulli and it works.
Not sure if PLPP has some sort of error generating the token.
Hope you can help me up.
Thanks.

Seems that no one is supporting this any longer.

Hope this project wasn't shelve yet.

It isn't, but for me it is still working fine, so no maintenance is needed from my perspective...

It used to work fine, but I changed my server and new everything. Now I tried entering the correct details in the Plex Server Config, and always when I check the libraries it has an error "Connection Refused". I tried using the same link to generate the XML data, but this time I changed the token to the token I have on tautulli and it works.
Not sure if PLPP has some sort of error generating the token.

Remove PLPP from the list of authorized devices in your PLEX settings. If all settings in PLPP are correct (PLEX server address/port, PLEX username and password), PLPP will then reauthorize with the PLEX server and get a new token on the next access.

Whoa! Some life in this baby after all haha!!! In that case I have a question as well that maybe you can help me with? This is what I've done so far:

I uploaded the repository to a folder on my website which is hosted at HostGator
Added permissions 777 like instructed
Created password and logged in to gui
Added what I thought was the right ip address for my plex server which Plex is on my (OS Windows) NAS in my house
Added port 32400
Added username and password and clicked save.
and then when I click on library, this is the error message I get "http://Plex IP Adress:32400/library/sections?couldn't connect to host"
I have no idea what I am doing wrong and I am not for tech savvy when it comes to figuring out IP stuff :-) Any suggestions? Thanks!

this project is dead I guess too bad as it was one of its kind and I couldn't find any other project like this ...

As said before, it still works for my purpose. So I have no need to fix anything. But this is the wonder of Github. You are free to clone the code and improve it yourself 😉

I cannt even code 2 lines .. lol ... anyway... possible to suggest a solution to the issue I posted?


训练的时候处错误

2019-03-11 22:00:29.135446: W tensorflow/core/framework/op_kernel.cc:1306] Invalid argument: ValueError: attempt to get argmax of an empty sequence
Traceback (most recent call last):
File "/home/zysz1/python3/lib/python3.6/site-packages/tensorflow/python/ops/script_ops.py", line 158, in call
ret = func(*args)
File "../libs/detection_oprations/anchor_target_layer_without_boxweight.py", line 53, in anchor_target_layer
argmax_overlaps = overlaps.argmax(axis=1)
ValueError: attempt to get argmax of an empty sequence
训练的时候总是这个错误，请问大佬有碰到吗

how u solve it


Chart update - HPA to autoscaling/v2 as autoscaling/v2beta1 is deprecated

Describe the feature
Chart update - HPA to autoscaling/v2 as autoscaling/v2beta1 is deprecated
What would the new user story look like?
How would the new interaction with Capsule-Proxy look like?
Feel free to add a diagram if that helps explain things.
Expected behavior
A clear and concise description of what you expect to happen.

Thanks for the report, @oliverbaehler addressed it with #318.


ENH: Develop energy-normalization so spectrogram robustly detects rhythmicity

Question @ntolley @dylansdaniels : will this allow spectrogram-plotting of our shorter, default ERP simulation in the GUI? I ask because currently, y'all agreed that the spectrogram NOT plotting for the default GUI simulation is expected behavior (see https://github.com/jonescompneurolab/hnn-core/issues/937#issuecomment-2479703548 ). However, in our ERP tutorial (here https://jonescompneurolab.github.io/hnn-tutorials/coregui_erp/coregui_erp.html ), which uses the default GUI simulation settings, there is a specific section "4.3 Viewing ERP Spectrograms" about these spectrograms. Currently, these plots will not be generated for reasons in the first link. Whatever changes Nick derives to our spectral analysis, I think we should probably ensure it works in the shorter ERP case as well.

Good catch! I think we can safely remove that section from the tutorial. It's really just there to show off the GUI functionality, but it's not important or relevant for that tutorial.


Pass **kwargs through in SMuRF commands

For all the SMuRF commands **kwargs should be passed through to smurf.<command>.start(**kwargs).

Perhaps we don't want to do this if sorunlib is only to be used with the scheduler. Otherwise there's the possibility of invalid kwargs being passed, which will prevent the tasks/processes from running.

Viewing sorunlib as only used with the scheduler -- we aren't doing this for now, instead adding kwargs where appropriate. Can reopen in the future if needed.