Crash when rebuilding a scrolled down ListView in response to TextField change

Premise
The crash doesn't happen on all devices. I've tested the sample app on 2 emulators (with no crash) and on 4 real devices. Two crash:

Xiaomi Redmi Note 5
Asus ZenFone 3 Max

and two don't crash:

Xiaomi A2 lite
Samsung Galaxy S3 Neo

Steps to Reproduce
Here's a sample app
The app contains a TextField and a ListView. The list holds 100 dummy strings generated when the app starts. The text field can be used to filter the list items by prefix. The following function is provided as callback to the text field:
void updateList(String query) {
    setState(() {
      if (query.isEmpty) filtered = items;
      else filtered = items.where((item) => item.startsWith(query)).toList();
    });
}

As long as one types a query while the list is at the top scroll position (i.e. it is not scrolled), everything works as expected. I noticed that it works even if the list is scrolled down by just a few  items (<10).
To reproduce, scroll the list down by a good amount and then type something on the text field. If your device is affected, the app will immediately crash.
Commands output
flutter doctor --verbose
flutter run
flutter run --verbose
Workarounds
Two workarounds:

Pass semanticChildCount: 0 when creating the ListView (see @MiguelSOliveira's comment)

Use a ScrollController to scroll the list up to the start position before updating the list (see my comment).

Thanks for submitting this great issue!  I tried this on Android and iOS emulators and a physical Samsung S6 and couldn't get it to crash, but maybe we can dig up a few more devices and find one that crashes.  The stack trace will also help track this down if someone knows about the Android part of the engine.

 Let me know if I can help in some way. Since yesterday, I tried the app on an old Samsung Galaxy 3 Neo and it doesn't crash.

Java stack trace:
[ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(40)] java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
	at io.flutter.view.AccessibilityBridge.updateSemantics(AccessibilityBridge.java:1315)
	at io.flutter.view.AccessibilityBridge$1.updateSemantics(AccessibilityBridge.java:268)
	at io.flutter.embedding.engine.FlutterJNI.updateSemantics(FlutterJNI.java:150)

This is similar to some other accessibility related bugs we've seen (https://github.com/flutter/flutter/issues/33044, https://github.com/flutter/flutter/issues/32442).  But I haven't been able to reproduce this on the devices I've tried.

I have same issue in listview builder while filter list the app crashes.

@Neerav006 You may want to press "thumb up" on the issue then (see the issue policy. Have you tried your app in multiple devices/emulators? Which crash and which don't?
@jason-simmons How many devices have you tried?

By the way, I'm using a simple workaround. I just pass a ScrollController to the list and I use it to "scroll" the list up to the start position before updating the list. This is totally invisible to the user, at least in my case.

void updateList(String query) {
    scrollController.jumpTo(0.0);
    setState(() {
        if (query.isEmpty) filtered = items;
        else filtered = items.where((item) => item.startsWith(query)).toList();
    });
}

Experiencing this issue on the Samsung Galaxy S8, but not on the Pixel 2 emulator. I'll attempt to use janLuke's workaround and see if that helps.

I posted this in #32442, it may be of some help here too. I have this crash on my Galaxy S8. Code to reproduce:
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  var searchTerm = '';
  final _searchTextController = TextEditingController();

  @override
  Widget build(BuildContext context) {
    var items = List<String>();
    for (var i = 0; i < 10; i++) {
      items.add('a');
      items.add('ab');
      items.add('abc');
      items.add('abcd');
      items.add('abcde');
    }

    var filteredItems = items.where((item) => item.contains(searchTerm)).toList();

    return Scaffold(
      appBar: AppBar(
        title: TextField(
          controller: _searchTextController,
          onChanged: (text) => setState(() => searchTerm = text),
          textInputAction: TextInputAction.search,
          decoration: InputDecoration(
            hintText: "Search...",
          ),
          autofocus: true,
        ),
        actions: <Widget>[
          IconButton(
            icon: Icon(Icons.close),
            onPressed: () => _searchTextController.clear(),
          ),
        ],
      ),
      body: ListView.separated(
        separatorBuilder: (context, index) => Divider(height: 1),
        itemCount: filteredItems.length,
        itemBuilder: (context, index) => ListTile(title: Text(filteredItems[index])),
      ),
    );
  }
}

Steps to reproduce:

Run the above code on an Android device
Scroll to the bottom of the list
Type the letter "e" in the search box
The app will now crash with the below error

Built build\app\outputs\apk\debug\app-debug.apk.
D/ViewRootImpl@ba93e5b[MainActivity](21426): MSG_WINDOW_FOCUS_CHANGED 0
D/ViewRootImpl@ba93e5b[MainActivity](21426): MSG_WINDOW_FOCUS_CHANGED 1
D/ViewRootImpl@ba93e5b[MainActivity](21426): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x1 surface={valid=true<PHONE_NUMBER>84} changed=false
D/libGLESv2(21426): STS_GLApi : DTS, ODTC are not allowed for Package : com.example.list_view_crash_test
V/InputMethodManager(21426): Starting input: tba=android.view.inputmethod.EditorInfo@b13611a nm : com.example.list_view_crash_test ic=io.flutter.plugin.editing.InputConnectionAdaptor@2f2744b
I/InputMethodManager(21426): startInputInner - mService.startInputOrWindowGainedFocus
D/InputMethodManager(21426): SSI - flag : 0 Pid : 21426 view : com.example.list_view_crash_test
D/ViewRootImpl@ba93e5b[MainActivity](21426): MSG_RESIZED: frame=Rect(0, 0 - 1080, 2220) ci=Rect(0, 72 - 0, 144) vi=Rect(0, 72 - 0, 144) or=1
D/ViewRootImpl@ba93e5b[MainActivity](21426): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x1 surface={valid=true<PHONE_NUMBER>84} changed=false
D/SurfaceView(21426): BG show() Surface(name=Background for - SurfaceView - com.example.list_view_crash_test/com.example.list_view_crash_test.MainActivity@75f67d1@0) io.flutter.view.FlutterView{75f67d1 VFED..... .F....ID 0,0-1080,2076}
D/SurfaceView(21426): surfaceChanged (1080,2076) 1 io.flutter.view.FlutterView{75f67d1 VFED..... .F....ID 0,0-1080,2076}
D/mali_winsys(21426): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000,  [1080x2076]-format:1
D/ViewRootImpl@ba93e5b[MainActivity](21426): Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x1 surface={valid=true<PHONE_NUMBER>84} changed=false
I/zygote64(21426): Do partial code cache collection, code=27KB, data=29KB
I/zygote64(21426): After code cache collection, code=27KB, data=29KB
I/zygote64(21426): Increasing code cache capacity to 128KB
D/ViewRootImpl@ba93e5b[MainActivity](21426): ViewPostIme pointer 0
D/ViewRootImpl@ba93e5b[MainActivity](21426): ViewPostIme pointer 1
I/zygote64(21426): Do partial code cache collection, code=59KB, data=54KB
I/zygote64(21426): After code cache collection, code=59KB, data=54KB
I/zygote64(21426): Increasing code cache capacity to 256KB
E/flutter (21426): [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(40)] java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
E/flutter (21426): 	at io.flutter.view.AccessibilityBridge.updateSemantics(AccessibilityBridge.java:1315)
E/flutter (21426): 	at io.flutter.view.AccessibilityBridge$1.updateSemantics(AccessibilityBridge.java:268)
E/flutter (21426): 	at io.flutter.embedding.engine.FlutterJNI.updateSemantics(FlutterJNI.java:150)
E/flutter (21426): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter (21426): 	at android.os.MessageQueue.next(Unknown Source:21)
E/flutter (21426): 	at android.os.Looper.loop(Unknown Source:24)
E/flutter (21426): 	at android.app.ActivityThread.main(Unknown Source:146)
E/flutter (21426): 	at java.lang.reflect.Method.invoke(Native Method)
E/flutter (21426): 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Unknown Source:11)
E/flutter (21426): 	at com.android.internal.os.ZygoteInit.main(Unknown Source:198)
E/flutter (21426):
F/flutter (21426): [FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(96)] Check failed: CheckException(env).
F/libc    (21426): Fatal signal 6 (SIGABRT), code -6 in tid 21426 (view_crash_test)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/dreamltexx/dreamlte:8.0.0/R16NW/G950FXXU4CRL3:user/release-keys'
Revision: 'unknown'
ABI: 'arm64'
pid: 21426, tid: 21426, name: view_crash_test  >>> com.example.list_view_crash_test <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(96)] Check failed: CheckException(env).
'
    x0<PHONE_NUMBER>000000  x1<PHONE_NUMBER>0053b2  x2<PHONE_NUMBER>000006  x3<PHONE_NUMBER>000008
    x4<PHONE_NUMBER>000000  x5<PHONE_NUMBER>000000  x6<PHONE_NUMBER>000000  x7<PHONE_NUMBER>000000
    x8<PHONE_NUMBER>000083  x9   ed4a286577fd782d  x10<PHONE_NUMBER>000001  x11<PHONE_NUMBER>000000
    x12  ffffffffffffffff  x13<PHONE_NUMBER>000018  x14  ffffffffffffffff  x15  001311e96d21e2cc
    x16  0000006fb9fae2f8  x17  0000006fb9f4e90c  x18  0000006fbd68e0f0  x19<PHONE_NUMBER>0053b2
    x20<PHONE_NUMBER>0053b2  x21  0000007fd5464688  x22  00000000ffffffff  x23<PHONE_NUMBER>00000c
    x24<PHONE_NUMBER>000018  x25  00000000ffffffff  x26  0000006f80f4457c  x27<PHONE_NUMBER>000018
    x28<PHONE_NUMBER>00000f  x29  0000007fd5464670  x30  0000006fb9efb05c
    sp   0000007fd5464630  pc   0000006fb9f4e914  pstate<PHONE_NUMBER>000000
backtrace:
    #00 pc<PHONE_NUMBER>071914  /system/lib64/libc.so (tgkill+8)
    #01 pc<PHONE_NUMBER>01e058  /system/lib64/libc.so (abort+88)
    #02 pc<PHONE_NUMBER>d143b8  /data/app/com.example.list_view_crash_test-3gdID1apCENDVGIg_8s52g==/lib/arm64/libflutter.so (offset 0xd00000)
    #03 pc<PHONE_NUMBER>d07568  /data/app/com.example.list_view_crash_test-3gdID1apCENDVGIg_8s52g==/lib/arm64/libflutter.so (offset 0xd00000)
    #04 pc<PHONE_NUMBER>d05f18  /data/app/com.example.list_view_crash_test-3gdID1apCENDVGIg_8s52g==/lib/arm64/libflutter.so (offset 0xd00000)
    #05 pc<PHONE_NUMBER>d4928c  /data/app/com.example.list_view_crash_test-3gdID1apCENDVGIg_8s52g==/lib/arm64/libflutter.so (offset 0xd00000)
    #06 pc<PHONE_NUMBER>d14e78  /data/app/com.example.list_view_crash_test-3gdID1apCENDVGIg_8s52g==/lib/arm64/libflutter.so (offset 0xd00000)
    #07 pc<PHONE_NUMBER>d18cc0  /data/app/com.example.list_view_crash_test-3gdID1apCENDVGIg_8s52g==/lib/arm64/libflutter.so (offset 0xd00000)
    #08 pc<PHONE_NUMBER>016854  /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+836)
    #09 pc<PHONE_NUMBER>016484  /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+116)

Flutter doctor:
PS C:\Users\Robert\Desktop\list_view_crash_test> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.17134.829], locale en-GB)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 3.4)
[√] IntelliJ IDEA Ultimate Edition (version 2019.1)
[√] VS Code (version 1.35.1)
[√] Connected device (1 available)

• No issues found!

I was having a similar problem and I think I solved it by setting this to my listView
addSemanticIndexes: false,
semanticChildCount: 0,

Can anyone confirm?

I was having a similar problem and I think I solved it by setting this to my listView
addSemanticIndexes: false,
semanticChildCount: 0,

Can anyone confirm?

I just tried it in my app and it didn't fix anything

Setting semanticChildCount: 0 worked for my sample app. Apparently, there's no need for setting addSemanticIndexes: false.

Do you also have to have a scrollController like you mentioned above @janLuke ? Or just this flag is fine?

In my app i'm using ListView.separated(), which has no option to add semanticChildCount: 0

Do you also have to have a scrollController like you mentioned above @janLuke ? Or just this flag is fine?

Of course not.

Thank you for the workaround, @MiguelSOliveira :)

Hi Everyone
Testing the code samples doesn't seem to reproduce on Samsung

Code Sample
import 'dart:math';

import 'package:flutter/material.dart';

void main() => runApp(MyApp());

final rand = Random();

String randString(int length, {int minCharCode = 0x61, int maxOffset = 26}) {
  List<int> charCodes =
      List.generate(length, (index) => rand.nextInt(maxOffset) + minCharCode);
  return String.fromCharCodes(charCodes);
}

final items = List.generate(100, (_) => randString(8));

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  List<String> filtered = items;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
          appBar: AppBar(
              title: TextField(
            onChanged: updateList,
            decoration: InputDecoration(
              hintText: "Filter by prefix",
              hintStyle: TextStyle(color: Colors.white),
            ),
          )),
          body: ListView.builder(
            itemCount: filtered.length,
            itemBuilder: (context, i) => ListTile(title: Text(filtered[i])),
          )),
    );
  }

  void updateList(String query) {
    setState(() {
      if (query.isEmpty)
        filtered = items;
      else
        filtered = items.where((item) => item.startsWith(query)).toList();
    });
  }
}

Running on
Flutter 1.12.13+hotfix.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 0b8abb4724 (4 weeks ago) • 2020-02-11 11:44:36 -0800
Engine • revision e1e6ced81d
Tools • Dart 2.7.0

Please let us know if you're still experiencing this
if you're still experiencing this problem, please comment below and i will reopen it
Thank you

I tested my original sample app on my Xiaomi Redmi Note 5 (one of the devices that were affected by the bug). I'm not experiencing the problem anymore but I've updated my devices (probably multiple times) since June 2019... Is there any particular reason why this issue should be solved now? I don't see any PR or commit that mention this issue here.
Was the Samsung you couldn't reproduce the issue on affected by it? If not, I think the decision of closing this issue may be premature since we already knew the bug affect only some devices.

════════ Exception caught by gesture ═══════════════════════════════════════════════════════════════
'package:flutter/src/widgets/overscroll_indicator.dart': Failed assertion: line 481 pos 16: '_displacementTickerLastElapsed == null': is not true.
--------------Sample Code ---------------
`import 'package:bal_attendance/class/class_tile.dart';
import 'package:bal_attendance/models/class.dart';
import 'package:bal_attendance/screens/home/add_class/add_class.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:provider/provider.dart';
class ClassList extends StatefulWidget {
@override
_ClassListState createState() => _ClassListState();
}
class _ClassListState extends State {
ScrollController _hideFloatingButtoncontroller;
bool _isShow = true;
@override
void initState() {
super.initState();
_isShow = true;
_hideFloatingButtoncontroller = ScrollController();
_hideFloatingButtoncontroller.addListener(() {
if (_hideFloatingButtoncontroller.position.userScrollDirection ==
ScrollDirection.reverse) {
if (_isShow == true) {
setState(() => _isShow = false);
}
} else {
if (_hideFloatingButtoncontroller.position.userScrollDirection ==
ScrollDirection.forward) {
if (_isShow == false) {
setState(() => _isShow = true);
}
}
}
});
}
@override
void dispose() {
super.dispose();
_hideFloatingButtoncontroller.removeListener(() {});
}
@override
Widget build(BuildContext context) {
final classes = Provider.of<List>(context) ?? [];
return Scaffold(
  floatingActionButton: Visibility(
    visible: _isShow,
    child: Container(
      margin: EdgeInsets.fromLTRB(0, 0, 10, 20),
      child: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {
          Navigator.push(
              context, MaterialPageRoute(builder: (context) => AddClass()));
        },
      ),
    ),
  ),
  body: ListView.builder(
    controller: _hideFloatingButtoncontroller,
    itemCount: classes.length,
    itemBuilder: (context, index) {
      return ClassTile(clase: classes[index]);
    },
  ),
);

}
}
`
----Flutter Doctor-----
[√] Flutter (Channel beta, 1.22.0, on Microsoft Windows [Version 10.0.19042.546], locale en-IN)
• Flutter version 1.22.0 at C:\Users\tarsa\AppData\Local\Android\flutter
• Framework revision d408d302e2 (8 days ago), 2020-09-29 11:49:17 -0700
• Engine revision 5babba6c4d
• Dart version 2.10.0
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
• Android SDK at C:\Users\tarsa\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.1
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Android Studio (version 4.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 50.0.1
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.49.3)
• VS Code at C:\Users\tarsa\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.15.0
[√] Connected device (2 available)
• Infinix X573 (mobile)              • 33d7c628      • android-arm64 • Android 8.0.0 (API 26)
• Android SDK built for x86 (mobile) • emulator-5556 • android-x86   • Android 8.1.0 (API 27) (emulator)
• No issues found!

This should be fixed by https://github.com/flutter/engine/pull/19623


Typing character in method source gives immediate walkback

There was a hard coded reference in JadeAutoTestPresenter3 to ScintillaView. We now use a subclass named JadeiteScintillaView. Changed the hard reference to a hierarchy reference and all was well.

Fixed per issue report.

Closed too soon.

Problem is deeper than the bug report indicated. It seems to have something to do with changing the source view's back color, then typing.

It appears that (somehow) changing the backcolor of the source pane during a #textChanged event was damaging the view such that the next key event would get a general protection fault.
Changed the wiring to use the valueChanged event which doesn't exhibit the same problem.
Really only evident when the first character in an unsaved method was typed because the back color was changed during the same event. Possibly an event ordering issue in Dolphin?


ci: Add CODEOWNERS to repository

This PR supersedes #15

This PR is included in version 1.0.1 :tada:


Build error from running CI/CD Pipeline

In GitLab by @tramyn on Nov 8, 2019, 15:11
This repository will report a build failure if new commits are made. There is a .yml file in the repository that will build the project every time a commit is made. This project, however is set up on a Jenkins server so the .yml file is not needed and should be removed from this repository to prevent future build errors from occurring.

In GitLab by @tramyn on Nov 8, 2019, 15:12
created branch 155-build-error-from-running-ci-cd-pipeline to address this issue

In GitLab by @tramyn on Nov 8, 2019, 15:16
mentioned in merge request !75

In GitLab by @nwalczak on Nov 18, 2019, 14:51
closed via merge request !75

In GitLab by @nwalczak on Nov 18, 2019, 14:51
mentioned in commit febd66a1517dff6970d92d6ffdea075c8dad89a7


Improve UI behavior for blueprints when no recordings are available

Exa:

Specifically the "no time selected" message seems incorrect. Should probably be something like "no data available"?

interestingly the code path that generates this really has no time selected


Fix typos.

Fix misleading comment in the demo.
Fix typos in javadoc of DetailLevel.java

Sorry for style change for the setTag( point );
I saw that after doing the pull request. I keep that in mind for my next commit.

if you fix the white space and push to master, this PR should reflect it...

Done.

Thank you!


Fix build due to hive exec and JDK 8 specific class

org.apache.ranger.authorization.presto.authorizer.RangerSystemAccessControlFactory was not able to import com.google.common.base.Throwables.throwIfUnchecked because it was coming from an old copy of Guava's Throwables shaded in hive-exec.
By replacing hive-exec with orc-core in agents-audit module all depending modules use their preferred version of Guava (26.0-jre)
Use reflection to load SunPKCS11 class because it is not available in JDK 9+ and breaks the build on newer JDK versions

https://reviews.apache.org/r/73281/

There are few more things I want to improve with this PR.
Please give me some more time here!

@rameeshm I've created few JIRA tickets and ReviewBoards with improvements but so far I have no any feedback. Did I do everything properly ?
https://issues.apache.org/jira/browse/RANGER-3243
https://issues.apache.org/jira/browse/RANGER-3244
https://issues.apache.org/jira/browse/RANGER-3245

The fix has been applied via ReviewBoard.


Kafka 로 서버간 웹 소켓 통신 공유

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@b9430fd). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #4   +/-   ##
=======================================
  Coverage        ?   86.66%
  Complexity      ?       65
=======================================
  Files           ?       19
  Lines           ?      150
  Branches        ?        3
=======================================
  Hits            ?      130
  Misses          ?       15
  Partials        ?        5

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Most status bar sections not rendering

I'm at a bit of a loss here as I can't find any logs for what I'm doing wrong here, so apologies. Using the example themes from the gallery and after installing the plugins, fiddling around a bit gives me an off by one error for the rows? Somehow? I'm definitely doing something wrong here:

### PLUGINS ###
set -g @plugin 'o0th/tmux-nova'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'tmux-plugins/tmux-battery'

### GENERAL ###

set -sg escape-time 0
set -g history-limit 20000

set -g repeat-time 0
setw -g allow-rename off

# Set parent terminal title to reflect current window in tmux session
set -g set-titles on
set -g set-titles-string "#I:#W"

# Enable mouse support
set -g mouse off

# ----------
# Navigation
# ----------

# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix

bind c new-window -c '#{pane_current_path}'

# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %

# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf \; display-message "Config reloaded!"

# switch panes using arrow without prefix
bind Left select-pane -L
bind Right select-pane -R
bind Up select-pane -U
bind Down select-pane -D

# Enable mouse control (clickable windows, panes, resizable panes)
# set -g mouse on

# Order indexes like our keyboard
set -g base-index 1
set -g pane-base-index 1

bind k kill-pane -a

set-option -g renumber-windows on

### THEME ###
set -g @nova-nerdfonts true
set -g @nova-nerdfonts-left 
set -g @nova-nerdfonts-right 

set -g @nova-pane "#I #W"
set -g @nova-rows 1
set -g status 'on'

### COLORS ###
b_bg="#504945"

seg_a="#a89984 #282828"
seg_b="$b_bg #ddc7a1"

inactive_bg="#4c566a"
inactive_fg="#d8dee9"
active_bg="#89c0d0"
active_fg="#2e3540"

client_prefix=""

set -gw window-status-current-style bold
set -g "@nova-status-style-bg" "$inactive_bg"
set -g "@nova-status-style-fg" "$inactive_fg"
set -g "@nova-status-style-active-bg" "$active_bg"
set -g "@nova-status-style-active-fg" "$active_fg"

set -g "@nova-pane-active-border-style" "#44475a"
set -g "@nova-pane-border-style" "#827d51"

### STATUS BAR ###
set -g @nova-segment-prefix "#{?client_prefix,PREFIX,}"
set -g @nova-segment-prefix-colors "$seg_b"

set -g @nova-segment-session "#{session_name}"
set -g @nova-segment-session-colors "$seg_a"

set -g @nova-segment-whoami "#(whoami)@#h"
set -g @nova-segment-whoami-colors "$seg_a"

set -g @nova-segment-cpu "#{cpu_icon} #{cpu_percentage} #{ram_icon} ${ram_percentage}"
set -g @nova-segment-cpu-colors "$seg_b"

set -g @batt_icon_status_charging '↑'
set -g @batt_icon_status_discharging '↓'
set -g @nova-segment-battery "#{battery_icon_status} #{battery_percentage}"
set -g @nova-segment-battery-colors "$seg_b"

set -g @nova-segments-0-left "#{session_name} session"
set -g @nova-segments-0-right "prefix cpu battery whoami"

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

Switching set -g @nova-rows 0 to set -g @nova-rows 1 and back and forth was what I was playing with. I thought my base index might be messing it up too, nope.
Some of the segments are jammed on row 1, not row 0?
System info:
$ uname -a
Linux [hostname] 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux

$ tmux -V
tmux 3.1c

(debian packaged version)
$ ls -1 ~/.tmux/plugins
tmux-battery
tmux-cpu
tmux-keyboard-layout
tmux-nova
tpm

Terminals: Gnome terminal and Alacritty
Can you help me figure out what I'm doing wrong?
Thanks!

Hi @four43! Thank you for using my theme. Using your .tmux.conf, I'm getting something like this:

Changing this line:
set -g @nova-segments-0-left "#{session_name} session"

into
set -g @nova-segments-0-left "session"

The result is

In @nova-segments-*, I would avoid putting anything different than the segments' names.

@o0th Thanks for your response.
I'm still not seeing anything on the left or right side if I keep it to a single row. I wonder if something in my font is throwing things off and making it drop to a newline? Reverting to the default Debian font in alacritty doesn't seem to help.
So I removed all my tmux plugins and fired up tmux again ... and nothing changed. I may have found an issue here...

Hey no worries at all, you owe me nothing! I was just curious if you had ideas.
I'm using zsh.
$ zsh --version
zsh 5.8 (x86_64-debian-linux-gnu)

I just realized you're using #{cpu_icon}, #{cpu_percentage} etc. I was not able to make external plugin variables works inside my theme. The only way I found was to get the output from the plugin script files:
set -g @cpu_percentage_format "%5.1f%%"
set -g @nova-segment-cpu " #(~/.tmux/plugins/tmux-cpu/scripts/cpu_percentage.sh)"

Try to use my segments from the gallery and see if it shows them properly.

Good thought, good thought, using just the contents of the gallery, my tmux.conf:
### PLUGINS ###
set -g @plugin 'o0th/tmux-nova'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'ofirgall/tmux-keyboard-layout'

### THEME ###
set -g @nova-nerdfonts true
set -g @nova-nerdfonts-left 
set -g @nova-nerdfonts-right 

set -g @nova-pane "#I #W"
set -g @nova-rows 0

### COLORS ###
b_bg="#504945"

seg_a="#a89984 #282828"
seg_b="$b_bg #ddc7a1"

inactive_bg="#32302f"
inactive_fg="#ddc7a1"
active_bg=$b_bg
active_fg="#ddc7a1"

set -gw window-status-current-style bold
set -g "@nova-status-style-bg" "$inactive_bg"
set -g "@nova-status-style-fg" "$inactive_fg"
set -g "@nova-status-style-active-bg" "$active_bg"
set -g "@nova-status-style-active-fg" "$active_fg"

set -g "@nova-pane-active-border-style" "#44475a"
set -g "@nova-pane-border-style" "#827d51"

### STATUS BAR ###
set -g @nova-segment-prefix "#{?client_prefix,PREFIX,}"
set -g @nova-segment-prefix-colors "$seg_b"

set -g @nova-segment-session "#{session_name}"
set -g @nova-segment-session-colors "$seg_a"

set -g @nova-segment-whoami "#(whoami)@#h"
set -g @nova-segment-whoami-colors "$seg_a"

set -g @nova-segment-cpu " #(~/.tmux/plugins/tmux-cpu/scripts/cpu_percentage.sh) #(~/.tmux/plugins/tmux-cpu/scripts/ram_percentage.sh)"
set -g @nova-segment-cpu-colors "$seg_b"

set -g @nova-segment-layout "#(~/.tmux/plugins/tmux-keyboard-layout/scripts/get_keyboard_layout.sh)"
set -g @nova-segment-layout-colors "$seg_a"

set -g @nova-segments-0-left "session"
set -g @nova-segments-0-right "prefix cpu layout whoami"

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

Only changes:

Add tpm line at the bottom
Removed battery part that was referencing a plugin variable you said sometimes didn't work.
Removed my symlink and just put a plain file there, didn't help

This is so strange! And I'm at a loss of how to debug this. Sorry I'm not more help. I appreciate the attempts.

Could you try putting o0th/tmux-nova after the other scripts?
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'ofirgall/tmux-keyboard-layout'
set -g @plugin 'o0th/tmux-nova'

So I just ran your script in my shell, not sure if it needs more defined, but it was unhappy!
$ ~/.tmux/plugins/tmux-nova/scripts/nova.sh
/home/smiller/.tmux/plugins/tmux-nova/scripts/utils.sh: line 6: [: #I: binary operator expected
invalid option: interval
/home/smiller/.tmux/plugins/tmux-nova/scripts/utils.sh: line 6: [: #a89984: binary operator expected
/home/smiller/.tmux/plugins/tmux-nova/scripts/utils.sh: line 6: [: too many arguments
/home/smiller/.tmux/plugins/tmux-nova/scripts/utils.sh: line 6: [: #504945: binary operator expected
/home/smiller/.tmux/plugins/tmux-nova/scripts/utils.sh: line 6: [: : binary operator expected
/home/smiller/.tmux/plugins/tmux-nova/scripts/utils.sh: line 6: [: #504945: binary operator expected
/home/smiller/.tmux/plugins/tmux-nova/scripts/utils.sh: line 6: [: #a89984: binary operator expected

Because putting the theme first, I'm getting the same problem.

Putting it last (exit tmux) and reopen it

Running the script is normal I'm getting the same.

I might just be a lost cause lol.  I tried to run everything in Debian (docker), but nothing worked. I'm afraid it is because version 3.1c is quite old (Oct 30, 2020). Could you try to install the latest tmux version?

OH MY GOD IT WORKED! I'm running 3.3a now and it's way better. I'll see if I can test a few version and find where it breaks. But yes, out of the box Debian repo of tmux is too old.
Thanks for all your help and patience, @o0th


Use system packages

For now Hunter designed so that user should not use packages installed by system. However there is an improvement possible to avoid confict that described here by marking package as system. I guess it will look like this:
hunter_config(ZLIB VERSION SYSTEM)

All packages from such Config-ID will use system version
We should forbid uploading of binary cache produced by such configuration

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

https://docs.hunter.sh/en/latest/faq/interaction-with-other-package-managers.html

Example of conflict: https://github.com/forexample/android-cmake/issues/1#issuecomment-254098171

Somehow related:
I've added helper module which use find_library/find_path to locate system libraries:

https://github.com/ruslo/hunter/blob/59f2ce14f8e5faec9bd45fb720ffe33b5d596ac0/cmake/modules/hunter_find_helper.cmake#L83-L84

Valid case is the libraries that always present in system. E.g. android.so and log.so are always a part of Android NDK:

https://github.com/ruslo/hunter/blob/59f2ce14f8e5faec9bd45fb720ffe33b5d596ac0/cmake/find/Findandroid_log.cmake
https://github.com/ruslo/hunter/blob/59f2ce14f8e5faec9bd45fb720ffe33b5d596ac0/cmake/find/Findandroid.cmake

Or as a workaround to currently missing packages like OSMesa.so:

https://github.com/ruslo/hunter/issues/904

Wiki pages for such packages do not have hunter_add_package directives:

https://github.com/ruslo/hunter/wiki/pkg.android
https://github.com/ruslo/hunter/wiki/pkg.android_log
https://github.com/ruslo/hunter/wiki/pkg.osmesa

I would personally like to have this but with a fallback. That is, if the library exists on the system, use it, otherwise download it as a standard hunter package

That is, if the library exists on the system, use it, otherwise download it as a standard hunter package

It violates reproducibility principle.

By that I mean HUNTER_ENABLED with disabled-mode per package

It doesn't relate to this discussion at all.
As a general note this feature looks weak and may not work in some cases that already described (see Qt). So I doubt it make sense to implement it.

Will not happen.

Is this completely dead? It could actually be quite useful in some situations.
It would of course make the build system dependent, but I believe that might actually be desired in some situations.

Is this completely dead?

I have no plans. And I'm not aware of anybody working on it.

It could actually be quite useful in some situations.

The maintenance and clean cache friendly implementation of this feature will require an unbelievable amount of work at least from my understanding. If you turn off cache server feature, it will make you impossible to speed up builds with ready to use binaries. That's a controversial goal: you want to speed up the build by not building packages with Hunter, and at the same time you can't use binaries from Hunter cache server and have to build everything from source.
Also, it still will not save you from:

https://github.com/forexample/android-cmake/issues/1#issuecomment-254098171
https://github.com/ruslo/hunter/issues/1811#issuecomment-481198389


fix contractions

Closes #4778

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/c1ae89d116514513242be746f24409e6cbdffb0f/
Edited pages:

v19.1/contribute-to-cockroachdb.md
v2.1/contribute-to-cockroachdb.md


Problem with subscription and ng-controller directive.

Using the ng-controller directive does not allow for enough time for the subscription to finish, which means bindings do not appear. Is there anyway around this? I want to avoid putting it in a ui-router view as this causes the controller to be re-instantiated every time a route is hit with that view.

Can you provide additional details?

Sure, I have a navbar which needs to be on every page. So I put it in the index.html file with an ng-controller directive. Inside of the controller I have a Counts subscription which counts unread notifications and displays the number in the navbar. The problem is the binding does not appear when I use ng-controller. I put the navbar inside a ui-view and it works, however this causes the controller to be re-instantiated whenever a route with that view is hit. Within the navbar controller I am also observing changes in the subscription to display toast messages. If I put the navbar in a ui-view because the controller is re-instantiated toasts reappear every time. So I just want to put the navbar in the index file using the ng-controller directive.
Really angular-meteor shouldn't be so reliant on a router should it?

I am not answering your question, but suggesting some alternative. You may want to use named views.

.
In your top state you add a view section to the state object. https://github.com/angular-ui/ui-router/wiki/Quick-Reference#ui-view
ui router knows only to replace the chagied parts between states, so if your state does not explicitly referring to the navbar view, it will not be reinstantiated.
also - do you use the $scope version of the subscribe, or the $meteor?

Thanks for your suggestion I tried using name views but I guess the only way is to have a root view and put the navbar on the root view? I'm using named views, which is where I put the navbar for a short time. However because I do not have a single root view I had to add the view name to each parent route which caused the controller re-instantiating.
And to answer your question I am using the $scope version.

well, state diagram wise, you have a "root" view which is the screen having the navbar and some content. Everything else should inherit from it. your root view === you index.
If you will use the $meteor version, you can control the establishment of the subscription, and it will not be started and stopped with every screen change. For example, if you will put it in module.run
$meteor.subscripbe ('CountSubsciption') then reistantiating the controller will have no affect on it.

Ah, putting it in a run block is a great idea! Also, restructuring my routes as you suggested. Though I still think this issue should stay open. ng-controller should still work.

I agree with @Tallyb about the structure, but as for your question, the problem shouldn't be on ng-controller.
If the subscription is not ready it's not s problem, think about it like the $http promise.
Let's say you bind your Counts like that:
$scope.dogsCount = $scope.$meteorObject(Counts, "numberOfDogs", false);

and then later you subscribe to
$scope.$meteorSubscribe("dogsSubscriptions");

Then in the view you have
<div>Number of dogs are {{ dogsCount }} </div>

Then it will just be empty until the subscription and the data will get there, no?

@Urigo The problem is the binding never got filled with the data. Not until I used a named view in ui-router. Angular-meteor works incredibly well with ui-router no problems at all. Problems arise when you are not using a router to handle controller bindings.

@vacarsu can you please share a repo?

@vacarsu if you're placing it in index.html it will not get parsed by Angular. It has to be in some .ng.html file.

@MilosStanic Ah, I see thanks. So it is a meteor thing.


Avoid raising InvalidResponse exception in calculators

Description
Trello card: https://trello.com/c/aPkzlCZb
Avoid raising a SmartAnswer::InvalidResponse exception from within any calculators. It's better to have all of these exceptions raised from the same level of abstraction (i.e. within the flow itself) and ideally using a validate block. The following calculators for the following flows are affected:

marriage-abroad
calculate-married-couples-allowance
state-pension-topup

External changes
None. This is just an internal refactoring.

Looks good to me, @floehopper.

I'm going to rebase this against master and (since there are no comments on individual commits) force-push in preparation for merging.


Add map editor from robot-sf to pysocialforce

robot-sf does have a map editor. We should have something similar directly in PySocialForce

I'll make a new map editor with PyGame. Let you know about my progress.


Initial support for SaltStack.

See https://issues.apache.org/jira/browse/BROOKLYN-217.
This commit merges code from incubator-brooklyn, following the move to the new repos
after graduation. As such, it unfortunately loses the commit history, but the code
is based on the work done by Hadrian Zbarcea. See the Jira link above for history
and discussion.
NOTE this PR supersedes https://github.com/apache/brooklyn-server/pull/4, see the relevant review comment.

Going to close/open to retry Jenkins.

Reopen to retry Jenkins build.

Looks great, have merged:

library: https://github.com/apache/brooklyn-library/pull/1
docs: https://github.com/apache/brooklyn-docs/pull/9
dist: https://github.com/apache/brooklyn-dist/pull/4

Added some minor cleanups at:

library: https://github.com/apache/brooklyn-library/commit/d78795eeb1fc8f4d9da62c58e4723f4e899796fc
docs: https://github.com/apache/brooklyn-docs/commit/a399f21de1d79ddf82610eddc6373653979a7bcb

In particular I removed database as a dependency, and removed causes of warnings.
Really nice work!  If Ansible is similar I'll be very happy /cc @ygy !
Next step I think should be to supply configuration.  Maybe the most natural way would be to define pillar contents of files inline, if pillars are the idiomatic way to give salt configuration.  For instance:
pillarData:
  mysql/init.sls:
    # Manage databases
    database:
    - orders
    schema:
      orders:
        load: True
        source: http://myhost:8080/mysql/files/orders.schema

That would do enough to allow dependent configuration.  We'd probably afterwards want:

a way to refer to "local" files (note I changed source to use an http url rather than a salt: url above) -- NB that's wanted across Brooklyn in yaml blueprints!
better sensors (but not sure how)

Just my 2p on where this could go.  Inline config is the only thing which feels like it's missing, to me.

Thanks Alex, I'll add the above into my list of things to do.  I like that use of "mysql/init.sls" as a key, i.e. interpret the key as a piece of data (a file path) rather than just have it as a keyword.


Include benchmarking for execution time of the methods

The execution time of the different methods is an important metric for users.
It will be necessary to have an evaluation of them.
We need to ask if we need multiple times of benchmarks or not. For example, a basic one for the CI in order to measure the impact of the modification of the code of the modification and a more consequent benchmark for the release, for example, to provide users an indication of the scalability of the methods.

I agree with your initial statement: computation time matters !
But this is a difficult topic: we cannot afford to run long computations as part of the documentation.  This means that we might only be able to run small problems as examples, which will lead to biased conclusions.
Maybe a smallish example is better than nothing, but we should be clear that this is not the whole story.


Keyboard layout independent way of defining keybindings for an extension

I'm developing an extension which provides a large number of keybindings, a lot of them mapped to single symbols presses (e.g. (, =). Now I'm aware that the input producing these symbols differs by layout. For example = is Shift+0 on a german keyboard, where it's a non-modified keypress on US.
What I'd like to have is a way of either declaring these in a layout-independent way, or alternatively the option to provide layout-specific bindings.
I'd imagine this problem has come up with the default keybindings, so I might've just not found the right resource to learn how it has been solved there?
✨ 💐

I guess what I'd ultimately want is to extend scan codes with all the characters one might want to press, like =, >, etc.

Turns out I don't need this anymore, as I just overrode the default:type command and read the entered character there.
E.g.
context.subscriptions.push(
    vscode.commands.registerCommand("type", ({ text }) => {
      if (!isSupported) {
        return vscode.commands.executeCommand("default:type", { text });
      }
      enqueue({
        textEditor: vscode.window.activeTextEditor!,
        text,
        skipFormatting: text == " " || text == ",",
      });
    })
);

So from my side this is not needed anymore, feel free to close ✌🏼


Workaround for VS15.6 Hosted Agents source generation

This works around a strange issue where the source generator, in the context of a VSTS VS15.6 hosted agent, would not pick up the Page item group.

The 15.7 release is pending on https://github.com/Microsoft/vsts-image-generation/issues/133


Fix for rebootcloud

When the cloud is rebooted, the nodes run crowbar_join, which runs ntpdate to
update the nodes' date. Unfortunately the ntpd instance on the crowbar node
takes a while before it considers itself trustworthy enough to give out
temporal advice. This means that the nodes will hang on cowbar_join until
crowbar's ntpd finally pulls itself together. Sometimes ntpd takes longer than
the nodes are willing to wait, and the impatient nodes will not be considered
ready by crowbar, i.e. the cloud is not fully up. This patch adds an
additional wait after rebooting the crowbar node.

+1

Split into two PRs: https://github.com/SUSE-Cloud/automation/pull/1038

+1

+1 in principle, I guess CI is failing for a different reason?


fix: removed unsupported portfinder

Description of changes
Removed unsupported portfinder and replaced by get-port. Webpack-dev-server still hasn't

Issue #, if available

Description of how you validated changes
Checklist

[ ] PR description included
[x] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

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

Codecov Report

Merging #10269 (95ba1bd) into master (eff77da) will not change coverage.
The diff coverage is 66.66%.

@@           Coverage Diff           @@
##           master   #10269   +/-   ##
=======================================
  Coverage   54.28%   54.28%
=======================================
  Files         850      850
  Lines       46956    46956
  Branches    10005    10005
=======================================
  Hits        25490    25490
  Misses      19448    19448
  Partials     2018     2018

Impacted Files
Coverage Δ

...ages/amplify-appsync-simulator/src/server/index.ts
93.93% <66.66%> (ø)

...plify-appsync-simulator/src/server/subscription.ts
39.83% <66.66%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

I will merge this and create another PR for Webpack


[RFC]: add @stdlib/array/base/mskreject-map

Description
This RFC proposes adding the package @stdlib/array/base/mskreject-map.
The package should be structured similarly to @stdlib/array/base/mskreject.
The package should expose an API having the same signature as mskreject, with the addition of clbk and thisArg arguments.
function mskrejectMap( x, mask, clbk[, thisArg ] ) {...}

The callback function should map each selected value specified by mask to the output value.
In short, this package combines mskreject and map into a single API call.
Package: @stdlib/array/base/mskreject-map
Alias: mskrejectMap
Related Issues
Related issues #1321, #1322 .
Questions
No.
Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

@kgryte
I have understood the issue and would like to work on it. Please assign this to me.

@kgryte Maybe I can resolve this but can you give an example.I didnt understand at all.It will be really helpful.

@kgryte I have understood the issue. Can you assign it to me.

@Planeshifter i've looked into this extensively - i would like to implement this

Hi @kgryte , I worked on this issue. Can you please review it and let me know the changes required. Thanks!


Revert "Add back 3.9 support"

Reverts openforcefield/openff-nagl#89
NEP 29's 3.10+ standard drops today

Codecov Report

Merging #105 (bf25d03) into main (7fb191c) will decrease coverage by 0.03%.
The diff coverage is n/a.

Additional details and impacted files


improve team member deletion

About this change—what it does
If user's email not on the members list terraform won't warn.
With this fix it will return an error.

Can't provide tests, because can't accept invitation code from email in tests.


Security: Order transactions

Ocean-node hardcodes startOrder events in a tx, and it only takes the 1st one
(see https://github.com/oceanprotocol/ocean-node/blob/develop/src/components/core/utils/validateOrders.ts#L98)
scenario: you can create a smart contracts with 2 orders and 2 order started events in the same transaction, and then you can consume the 2nd asset while paying for the 1st one, which of course, is much cheaper or even free, created by attacker
Let's check contract address, payer, consumer, then retrieve the right eventIndex and extract the correct event

closed by #370


Add thumbwheel widgets

we use these in emergent for zooming, panning 3D display -- seem pretty useful there, but would be good to make sure they don't have same wrap-around and other bugs.

Closely related to Tumblers: http://doc.qt.io/qt-5/qml-qtquick-controls2-tumbler.html

Need some solution to this..

We will not support thumbwheel widgets. Thumbwheel widgets provide an imprecise and platform-specific way of doing things, which is strongly contrary to the principles of Cogent Core and the Go programming language.


Is --save-temps option required for building GROMACS?

https://github.com/amd/InfinityHub-CI/blob/693e75b8ec6846e89c076d4e3d930aa2246acc56/gromacs-docker/Dockerfile#LL120C8-L120C89

No. You can get rid of it.

Update has been made. --save-temps has been removed in the updated recipe.


Could you please upload the data used or tell me the source of the data？

Could you please upload the data used or tell me the source of the data？
ecg_file = "psg_ecg_signals_2.5_s.csv"
bp_file = "psg_bp_signals_2.5_s.csv"
eeg_file = "psg_eeg_signals_2.5_s.csv"
resp_file = "psg_resp_signals_2.5_s.csv"
anno_file = "psg_annotations_2.5_s.csv"

Best regards！

Sorry for the late response.
The data is from Physionet Database. This is the link: https://physionet.org/content/slpdb/1.0.0/

Bingo


Mayuran/get in touch

Changes:

...

Type of change

[ ] Bug fix
[ ] New feature
[ ] Update feature
[ ] Refactor code
[ ] Translation to code
[ ] Translation to crowdin
[ ] Script configuration
[ ] Improve performance
[ ] Style only
[ ] Dependency update
[ ] Documentation update
[ ] Release

@hasan-deriv no man we are not clearing I raised this issue too but they asked me to keep the data after submmision

The placeholder's last letter is visible


[BUG] Time and date doesnt come when you have updated your list item

Describe the bug
The default time and date doesnt appear when you have updated your existing list and when you start to add a new one.
To Reproduce
https://github.com/user-attachments/assets/8ab2bdb4-dd92-4d00-8d15-d29e9f652e96
Expected behavior
At any time the fields should have todays date and time.
Screenshots
I have attached a video to let you know about the bug.

Hi @Anshgrover23 can i go ahead and solve this bug? Also, please mark this as hacktoberfest. Thanks!


Add option to omit filename from being shown at top of the file

It would be nice to have an option to not include the name of the file as the first line shown in the exported HTML file.

This is actually a feature of obsidian already. You can turn off the inline title at: Settings > Appearance > Show Inline Title > Off


"import requests" takes a full second?

Hi!
I noticed that the --help output of a tool of mine was noticably slower than that of my other tools. It took a full second to show up. I traced the lagging down to the call to import requests (and worked around it by importing requests only after processing command line options).
import requests takes at least a second on both the SSDed Debian and HDDed Gentoo, with version 2.5.3 as well as 2.6.0. Compared to the 30 milliseconds that other modules take to import, that's a long time:
# time python -c 'import requests; print requests.__file__'
/usr/lib64/python2.7/site-packages/requests/__init__.pyc

real    0m1.099s
user    0m1.055s
sys     0m0.039s

# time python -c 'import argparse; print argparse.__file__'
/usr/lib64/python2.7/argparse.pyc

real    0m0.030s
user    0m0.018s
sys     0m0.010s

It would be great if you could work on reducing import time. Many thanks!

I believe the slow part of importing requests is importing pyopenssl. In theory you could delay the import until the first time a request is made, though I'm pretty sure the team is not in favor of that approach.

I believe the slow part of importing requests is importing pyopenssl.

That makes perfect sense:
# time python -c 'import OpenSSL.SSL; print OpenSSL.SSL.__file__'
/usr/lib64/python2.7/site-packages/OpenSSL/SSL.pyc

real    0m1.014s
user    0m0.991s
sys     0m0.018s

@hartwork Are you using a new virtualenv for each test? Mostly importing pyopenssl takes a while because cffi does an implicit C compile at import time in some cases, but that should only happen the first time.

No virtualenv over here, no.

# for i in {1..10} ; do sh -c "time python -c 'import OpenSSL.SSL'" |& sed -n '2,2p' ; done
real    0m1.004s
real    0m0.993s
real    0m0.996s
real    0m0.994s
real    0m0.997s
real    0m0.999s
real    0m0.998s
real    0m0.991s
real    0m0.999s
real    0m0.997s

Interesting.
Fundamentally, this is a cryptography bug, probably pyca/cryptography#1764. I'm afraid until that's resolved we cannot do anything about this.

On my little ARM system from NextThing this takes SEVEN SECONDS.

@afcady Please report the issue to the appropriate upstream.


Fixing old commit history

Earlier I was using git config --global user.email<EMAIL_ADDRESS>and once this email id is removed from the GitHub account. The Commit Author becomes unrecognised. This needs to be fixed.

Commit history is fixed using git rebase

Steps taken to solve this issue:

Select the commit till you want to rebase using git rebase -i -p 87bcc4e
put edit in front of all commits, you want to edit

Append the commit using git commit --amend --author="Jalaz Kumar<EMAIL_ADDRESS>--no-edit

Continue rebasing further commits using git rebase --continue

At last, this message will pop

Successfully rebased and updated refs/heads/master

Confirm your rebasing using git status

On branch master
Your branch and 'origin/master' have diverged,
and have 36 and 36 different commits each, respectively.
  (use "git pull" to merge the remote branch into yours)

nothing to commit, working tree clean

Forcefully push the rebased version to remote using git push origin master --force


RSS as "raw XML"

Hi Jari,
I tried to register my blog for the APEX Developer Blogs from Jon Dixon.
He needs "raw XML" like the following: hartenfeller.dev/orclapex-rss.xml
Is it possible that you implement this in the blog? Maybe as alternative XML ?
Kind regards
Steffen

Thanks. I will check this.

Do you more information how RSS should be changed. If you open your blog RSS in Chrome browser, end then press CTRL+U you can see raw XML. By default RSS feed displays like HTML page because XSL style sheet included. Is that the problem?

You can also try online RSS validators for your blog RSS
https://validator.w3.org/feed/
https://www.rssboard.org/rss-validator/

No, Jon wrote he needs the raw mxl for adding the blog.
Can you provide the URL without the XSL style sheet too?

Could please ask him to explain what is wrong or tell exact error when there is XSL style sheet?

I will add RSS without XSL if that is the problem. But I think that isn't, because at least online RSS feed validators don't complain about that and RSS readers can read the feed without problem. I can also query generated RSS in database without any problem.
If Jonathan could join this discussion and explain more details it would be very helpful.

I wrote him per email and asked him to join here at git.

Hi. My code can see the posts, the issue is that the RSS does not contain the content of the Post i.e. the "description" tag. using https://hartenfeller.dev/orclapex-rss.xml as an example, it includes the post content in the description field, whereas https://asc.web-republic.de/ords/r/sc/blog/pgm?request=application_process%3Drss.xml does not.

Hi Jari,
I see a description tag, but it does not contain the entire content of the post. My code filters out blog posts that are less than 100 characters in length. If it is possible to include the entire post content then it should pull it in.
@.***
--
Kind Regards,
Jon Dixon
c:<PHONE_NUMBER>
e<EMAIL_ADDRESS>[signature_391406061]
From: Jari Laine @.>
Date: Monday, November 13, 2023 at 6:20 PM
To: jariolaine/apex-blog @.>
Cc: Jonathan Dixon @.>, Mention @.>
Subject: Re: [jariolaine/apex-blog] RSS as "raw XML" (Issue #11)
Thank you very much @jon-dixonhttps://github.com/jon-dixon .
I have made change. Could you please check my blog rss
https://cloud.jaris.fi/ords/r/jaris/blog/pgm?request=application_process%3Drss.xml?
There is element content:encoded like RSS found in https://fuzziebrain.com/content/rss.xml.
I'm also working on atom feed like XML, if that's more suitable.
—
Reply to this email directly, view it on GitHubhttps://github.com/jariolaine/apex-blog/issues/11#issuecomment-1808746650, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZVWGTU7IIYA3XVHLB2MG6LYEJQF5AVCNFSM6AAAAAA7HH7S6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBYG42DMNRVGA.
You are receiving this because you were mentioned.Message ID: @.***>

Thank you very much. I will do needed change.

@jon-dixon, could you please add my blog using this feed https://cloud.jaris.fi/ords/r/jaris/blog/pgm?request=application_process%3Datom.xml
If it's ok I will publish release.
Thanks advance.

Hi Jari,
That worked great; your last 25 posts have now been indexed. I used the URL from your Twitter Profile as your Profile Picture:
https://pbs.twimg.com/profile_images/1650774737/picture_400x400.jpg
@.***
--
Kind Regards,
Jon Dixon
c:<PHONE_NUMBER>
e<EMAIL_ADDRESS>[signature_3634270884]
From: Jari Laine @.>
Date: Friday, November 17, 2023 at 10:22 PM
To: jariolaine/apex-blog @.>
Cc: Jonathan Dixon @.>, Mention @.>
Subject: Re: [jariolaine/apex-blog] RSS as "raw XML" (Issue #11)
@jon-dixonhttps://github.com/jon-dixon, could you please add my blog using this feed https://cloud.jaris.fi/ords/r/jaris/blog/pgm?request=application_process%3Datom.xml
If it's ok I will publish release.
Thanks advance.
—
Reply to this email directly, view it on GitHubhttps://github.com/jariolaine/apex-blog/issues/11#issuecomment-1817410449, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZVWGTSTNOOJMMBRX3WRGX3YFBHYTAVCNFSM6AAAAAA7HH7S6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGQYTANBUHE.
You are receiving this because you were mentioned.Message ID: @.***>

Thank you very much @jon-dixon. And thank you @scl-4711 for raising this enhancement idea.

Hi Jari,
Should I use this URL now for Steffen’s Blog?
https://asc.web-republic.de/ords/r/sc/blog/pgm?request=application_process%3Datom.xml
When I try it, I get no content back.
@.***
When I try your blog’s URL
https://cloud.jaris.fi/ords/r/jaris/blog/pgm?request=application_process%3Datom.xml
I get the following:
@.***
--
Kind Regards,
Jon Dixon
c:<PHONE_NUMBER>
e<EMAIL_ADDRESS>[signature_987763448]
From: Jari Laine @.>
Date: Saturday, November 18, 2023 at 10:12 PM
To: jariolaine/apex-blog @.>
Cc: Jonathan Dixon @.>, Mention @.>
Subject: Re: [jariolaine/apex-blog] RSS as "raw XML" (Issue #11)
Thank you very much @jon-dixonhttps://github.com/jon-dixon. And thank you @scl-4711https://github.com/scl-4711 for raising this enhancement idea.
—
Reply to this email directly, view it on GitHubhttps://github.com/jariolaine/apex-blog/issues/11#issuecomment-1817759945, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZVWGTWYSMB2ZYRWL22732TYFGPOHAVCNFSM6AAAAAA7HH7S6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXG42TSOJUGU.
You are receiving this because you were mentioned.Message ID: @.***>

Hi Jon,
I think Steffen hasn't yet upgrade his blog. This is why atom feed URL isn't yet available on his blog.

Hi together - yes, that's true, I have to upgrade first. Maybe tomorrow 😉

No worries, just wanted to make sure I hadn’t missed something.
On Nov 19, 2023, at 8:17 AM, Steffen Clauß @.***> wrote:

Hi together - yes, that's true, I have to upgrade first. Maybe tomorrow 😉
—
Reply to this email directly, view it on GitHubhttps://github.com/jariolaine/apex-blog/issues/11#issuecomment-1817902146, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZVWGTQPBCXHJKZ3K67LSHTYFIWKDAVCNFSM6AAAAAA7HH7S6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXHEYDEMJUGY.
You are receiving this because you were mentioned.Message ID: @.***>

Ok, now I have updated my blog too...

Excellent, I activated your blog, and your posts have some through.
@.***
--
Kind Regards,
Jon Dixon
c:<PHONE_NUMBER>
e<EMAIL_ADDRESS>[signature_2839503833]
From: Steffen Clauß @.>
Date: Monday, November 20, 2023 at 3:14 AM
To: jariolaine/apex-blog @.>
Cc: Jonathan Dixon @.>, Mention @.>
Subject: Re: [jariolaine/apex-blog] RSS as "raw XML" (Issue #11)
Ok, now I have updated my blog too...
—
Reply to this email directly, view it on GitHubhttps://github.com/jariolaine/apex-blog/issues/11#issuecomment-1818850559, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZVWGTTK6PB2FRM7GBLIJ4DYFM3PPAVCNFSM6AAAAAA7HH7S6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJYHA2TANJVHE.
You are receiving this because you were mentioned.Message ID: @.***>


A "to-do" list for new Ceedling developers

I have a couple of ideas about what I would like to improve in Ceedling, but I don't know whether those are things that would be accepted by the official developers, or whether I could scratch my particular itch while also indirectly advancing some larger goal.
So some "to-do" list could be a great synchronization tool.

Why don't you just open issues here and they can decide?

Short answer: scaling.
I have already done opened issues, and asked in the forum. Now I might implement my own fix for my own problems, and I don't know whether

others already tried what I want but

wasn't doable or practical,
wasn't accepted into Ceedling,

is something that is being worked on, and so could be duplicate work
is something deemed desirable, and so I might even get help by the official developers

All of those could shape my decision to do something and how to do it. Asking is good, but having a document where one can quickly check the status of things is better.
it didn't work,

others already tried what I want

I like this idea, actually. Personally, I use Trello for all my personal todo lists. If I were to set up a public Trello for this project, would you see that as filling this need? Were you thinking something more wiki-like?

A simple, bog-standard TODO text file in the root dir would be enough...

Sounds easy enough. :)


cancell button

first i want to thanks for your very good support
thanks to add function to add title but very little thing still has problem for me
when i add search button i can change the placeholder of search that is awesome but there is a
cancell buttun with text "Cancell" its whould be nice if you can add this function to
by the way you are so cool man !!!

Thanks.

You can now customize cancel button as well.
Update your pod to version 2.0.7
// set cancel button title and tint color.
selectionMenu.searchBarCancelButtonAttributes = ("Dismiss", UIColor.darkGray)
or
selectionMenu.searchBarCancelButtonAttributes = ("Dismiss", nil)


Refactoring Reducer

Reference : https://github.com/alan-turing-institute/sktime/issues/955
We need to slowly re-factor all forecasters to be compliant with the new interface (see PR #912). i.e., no overrides of fit etc and descendant classes only implementing core logic, while the BaseForecaster implements check etc logic.
Currently this is running due to various downwards compatibility workarounds, which should be removed once all forecasters are ready (in "no-override" state)
The forecasters that still need a downstream refactor are:

[ ] _Reducer and related code

this should probably be a draft until the tests run?

@thayeylolu Taiwo, may we delete or close this PR? Two reasons are:

It is easier for me to make changes in a new PR, than to make changes in somebody elses PR
The discussion with tags means that many of the changes in this PR might not be valid

Let me know what you think! Thanks

Yes, please @Lovkush-A

where is the new PR?

I was hoping @Lovkush-A would like to work on it


Add tests

Do some testing, like:
https://github.com/rockfabrik/deployment/blob/master/tests/mixing.nix
This one plays some sweeps and makes a spectogram, which we should copy, and indexes the music library, which might not be applicable.
Did I miss anything it does?
Other tests could be to record and play sounds at various latencies and channel counts and document when xruns start to occur, but that probably doesn't make sense in a VM.
Anything else we should do?

I've started work on this here:
https://github.com/musnix/musnix/tree/topic/tests

Great!

I think it's safe to say that after the work by @mcdonc in #173 and #176 we can close this out.  We now have something approaching a reasonable CI, though we might consider if it's feasible to test more than just default RT kernel in the future.

Wow, didn't realize we started musnix almost 10 years ago!

Indeed, 10 years this December! :confetti_ball:


[BLOCKER] Combined PRs that fix VR issues

Tonight I worked with @wilderrodrigues to figure out what is wrong with the virtual router. As we couldn't test single PRs any more (because of other issues with them causing tests to fail) we added all VR related PRs in a separate branch and started testing from there.
We combined the following PRs into this PR:
#836 #851 #867 #870 #881 #882 #842
After that, one issue remains: the VPC does not get a default gateway. Which is strange, because we already solved it in PR #738. When I look back, it was fixed again in PR #784. It could very well be that either one fixed one specific case, but also breaking the other. We need to investigate this, and make sure there will be a fix that works both for VPCs and VRs.
When we manually add the default gateway on the VPC, most tests pass and also spinning up two VPCs with one tier each, having a VM and them using s2s to VPN them together works fine. See for more details the report Wilder sent earlier.
Tomorrow we'll try to figure out how to fix the default gateway and merge this. Then we should have a base to work from again. Any PR that fixes another blocker, should at least then be rebased against the fixed master so we can run the tests against the PR branch. I'm not saying everything is fixed, I'm just saying that we can spin up a cloud that has working VMs.
When, in the mean time, someone has the time to checkout this branch and make the default route work for both VPC and VR that would be awesome. After that we should double check and verify the test results.
Pinging @karuturi to let her know the current status.
Regards,
Wilder / Remi

@jayapalu @SudharmaJain can you check this asap, as it merges all your past PRs in one and rebases with master. thanks

@wilderrodrigues and me fixed the default route on VPCs as well. Now doing final testing

ping @remibergsma @karuturi @borisroman @miguelaferreira
I executed a few Marvin tests but some manual tests. The changes are working fine and will fix quite a few issues.
@remibergsma also executed his CloudMonkey VPN tests, which can be found here: https://github.com/schubergphilis/MCT-shared/tree/master/helper_scripts/cloudstack/vpn_tests
All went fine and you can simply execute them as well!
:+1:  LGTM
Manual tests:

Create VM and isolated network
Add FW and PF rules
Try to ping <IP_ADDRESS> before opening egress:

Doens't workt

Open egress and it works!

[root@cs1 integration]# ssh<EMAIL_ADDRESS>The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
ECDSA key fingerprint is 44:1f:60:67:51:e5:c0:e1:65:6d:5d:dd:1f:eb:b0:3a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.
<EMAIL_ADDRESS>password:
ls /
bin         dev         home        lib64       lost+found  mnt         proc        run         sys         usr
boot        etc         lib         linuxrc     media       opt         root        sbin        tmp         var
ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
^C
--- <IP_ADDRESS> ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=47 time=10.100 ms
64 bytes from <IP_ADDRESS>: seq=1 ttl=47 time=9.648 ms
64 bytes from <IP_ADDRESS>: seq=2 ttl=47 time=9.155 ms
^C
--- <IP_ADDRESS> ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 9.155/9.634/10.100 ms

Create VPC
Add Tier, VM and public IP
Add PF rule
Try to ping <IP_ADDRESS> and it works!

[root@cs1 integration]# ssh<EMAIL_ADDRESS>The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
ECDSA key fingerprint is 6d:0d:71:3a:43:00:16:4a:0b:ee:2b:3e:4c:dc:d9:f9.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.
<EMAIL_ADDRESS>password:
ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=47 time=9.137 ms
64 bytes from <IP_ADDRESS>: seq=1 ttl=47 time=10.937 ms
64 bytes from <IP_ADDRESS>: seq=2 ttl=47 time=9.618 ms
^C
--- <IP_ADDRESS> ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 9.137/9.897/10.937 ms

Automated tests executed:
test_vpc_routers
test_vpc_offerings
test_vm_life_cycle
test_vpc_vpn
test_vpn_users
test_routers_iptables_default_policy
Test start/stop of router after addition of one guest network ... === TestName: test_01_start_stop_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test reboot of router after addition of one guest network ... === TestName: test_02_reboot_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test to change service offering of router after addition of one guest network ... === TestName: test_04_chg_srv_off_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test destroy of router after addition of one guest network ... === TestName: test_05_destroy_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test to stop and start router after creation of VPC ... === TestName: test_01_stop_start_router_after_creating_vpc | Status : SUCCESS ===
ok
Test to reboot the router after creating a VPC ... === TestName: test_02_reboot_router_after_creating_vpc | Status : SUCCESS ===
ok
Tests to change service offering of the Router after ... === TestName: test_04_change_service_offerring_vpc | Status : SUCCESS ===
ok
Test to destroy the router after creating a VPC ... === TestName: test_05_destroy_router_after_creating_vpc | Status : SUCCESS ===
ok

Ran 8 tests in 1107.930s
OK
/tmp//MarvinLogs/test_vpc_routers_2UGRJR/results.txt (END)
Test create VPC offering ... === TestName: test_01_create_vpc_offering | Status : SUCCESS ===
ok
Test VPC offering without load balancing service ... === TestName: test_03_vpc_off_without_lb | Status : SUCCESS ===
ok
Test VPC offering without static NAT service ... === TestName: test_04_vpc_off_without_static_nat | Status : SUCCESS ===
ok
Test VPC offering without port forwarding service ... === TestName: test_05_vpc_off_without_pf | Status : SUCCESS ===
ok
Test VPC offering with invalid services ... === TestName: test_06_vpc_off_invalid_services | Status : SUCCESS ===
ok
Test update VPC offering ... === TestName: test_07_update_vpc_off | Status : SUCCESS ===
ok
Test list VPC offering ... === TestName: test_08_list_vpc_off | Status : SUCCESS ===
ok
test_09_create_redundant_vpc_offering (integration.component.test_vpc_offerings.TestVPCOffering) ... === TestName: test_09_create_redundant_vpc_offering | Status : SUCCESS ===
ok

Ran 8 tests in 1486.109s
OK
/tmp//MarvinLogs/test_vpc_offerings_68E5MJ/results.txt (END)
Test advanced zone virtual router ... === TestName: test_advZoneVirtualRouter | Status : SUCCESS ===
ok
Test Deploy Virtual Machine ... === TestName: test_deploy_vm | Status : SUCCESS ===
ok
Test Multiple Deploy Virtual Machine ... === TestName: test_deploy_vm_multiple | Status : SUCCESS ===
ok
Test Stop Virtual Machine ... === TestName: test_01_stop_vm | Status : SUCCESS ===
ok
Test Start Virtual Machine ... === TestName: test_02_start_vm | Status : SUCCESS ===
ok
Test Reboot Virtual Machine ... === TestName: test_03_reboot_vm | Status : SUCCESS ===
ok
Test destroy Virtual Machine ... === TestName: test_06_destroy_vm | Status : SUCCESS ===
ok
Test recover Virtual Machine ... === TestName: test_07_restore_vm | Status : SUCCESS ===
ok
Test migrate VM ... SKIP: At least two hosts should be present in the zone for migration
Test destroy(expunge) Virtual Machine ... === TestName: test_09_expunge_vm | Status : SUCCESS ===
ok

Ran 10 tests in 1636.117s
OK (SKIP=1)
/tmp//MarvinLogs/test_vm_life_cycle_TK4597/results.txt (END)
Test VPN in VPC ... === TestName: test_vpc_remote_access_vpn | Status : SUCCESS ===
ok
Test VPN in VPC ... === TestName: test_vpc_site2site_vpn | Status : SUCCESS ===
ok

Ran 2 tests in 846.637s
OK
/tmp//MarvinLogs/test_vpc_vpn_73XROS/results.txt (END)
VPN remote access user limit tests ... === TestName: test_01_VPN_user_limit | Status : SUCCESS ===
ok
Test create VPN when L2TP port in use ... === TestName: test_02_use_vpn_port | Status : SUCCESS ===
ok
Test create NAT rule when VPN when L2TP enabled ... === TestName: test_03_enable_vpn_use_port | Status : SUCCESS ===
ok
Test add new users to existing VPN ... === TestName: test_04_add_new_users | Status : SUCCESS ===
ok
Test add duplicate user to existing VPN ... === TestName: test_05_add_duplicate_user | Status : SUCCESS ===
ok
Test as global admin, add a new VPN user to an existing VPN entry ... === TestName: test_06_add_VPN_user_global_admin | Status : SUCCESS ===
ok
Test as domain admin, add a new VPN user to an existing VPN entry ... === TestName: test_07_add_VPN_user_domain_admin | Status : SUCCESS ===
ok

Ran 7 tests in 2295.400s
OK
/tmp//MarvinLogs/test_vpn_users_QBYU77/results.txt (END)
Test iptables default INPUT/FORWARD policy on RouterVM ... === TestName: test_02_routervm_iptables_policies | Status : SUCCESS ===
ok
Test iptables default INPUT/FORWARD policies on VPC router ... === TestName: test_01_single_VPC_iptables_policies | Status : SUCCESS ===
ok

Ran 2 tests in 908.229s
OK
/tmp//MarvinLogs/test_routers_iptables_default_policy_KSMXG6/results.txt (END)

Update: we found a bug introduced in PR #784 (that we merge here) that needs resolving. Working on that with @wilderrodrigues as we speak so don't merge yet.

This PR also fixes CLOUDSTACK-8878 (https://issues.apache.org/jira/browse/CLOUDSTACK-8878): No route to host on VPC router after stop/start/reboot

@wilderrodrigues and I spent yesterday testing and fixing small issues. I just (force) pushed the commits we that we tested against over night.
The following automated tests were run to verify the final change:
smoke/test_routers.py

Test router internal advanced zone ... === TestName: test_02_router_internal_adv | Status : SUCCESS ===
ok
Test restart network ... === TestName: test_03_restart_network_cleanup | Status : SUCCESS ===
ok
Test router basic setup ... === TestName: test_05_router_basic | Status : SUCCESS ===
ok
Test router advanced setup ... === TestName: test_06_router_advanced | Status : SUCCESS ===
ok
Test stop router ... === TestName: test_07_stop_router | Status : SUCCESS ===
ok
Test start router ... === TestName: test_08_start_router | Status : SUCCESS ===
ok
Test reboot router ... === TestName: test_09_reboot_router | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 7 tests in 1281.041s

OK

component/test_vpc_routers.py

Test start/stop of router after addition of one guest network ... === TestName: test_01_start_stop_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test reboot of router after addition of one guest network ... === TestName: test_02_reboot_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test to change service offering of router after addition of one guest network ... === TestName: test_04_chg_srv_off_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test destroy of router after addition of one guest network ... === TestName: test_05_destroy_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test to stop and start router after creation of VPC ... === TestName: test_01_stop_start_router_after_creating_vpc | Status : SUCCESS ===
ok
Test to reboot the router after creating a VPC ... === TestName: test_02_reboot_router_after_creating_vpc | Status : SUCCESS ===
ok
Tests to change service offering of the Router after ... === TestName: test_04_change_service_offerring_vpc | Status : SUCCESS ===
ok
Test to destroy the router after creating a VPC ... === TestName: test_05_destroy_router_after_creating_vpc | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 8 tests in 3037.949s

OK

Next to that, we setup an environment where we created two VPCs, each with one tier and one VM in it. Then created a site2site VPN between them. Both VMs can now reach each other over their internal ip addresses (source code link mentioned above). This was done on both KVM and XenServer.
Note: if you test on KVM, please build agent rpm packages from this brancha nd install them prior to adding the KVM hypervisor. Hint: cd packaging and then ./package.sh -d {dist}
While Travis and Apache Jenkins do another build, we'll run some extra Marvin tests.
Pinging @wilderrodrigues @borisroman to do their final reviews. Thanks!
Goal is to merge it today.

Thanks for all the debugging and testing @remibergsma and @wilderrodrigues
looking forward to see a stable master once again..

Yes, @rajan! It will be stable today!
I'm running the last test as we speak and will add the complete test report on the PR, so everybody can see what we have worked on and what's now fixed and back on track!
Please, stay around for the next 20min so you can have a look and give your LATM - Looks Awesome to Me - as well. :)
Cheers,
Wilder

Hi @wilderrodrigues @remibergsma,
I've tested:
component/test_vpc_routers.py
component/test_vpc_offerings.py
smoke/test_routers.py
smoke/test_reset_vm_on_reboot.py
smoke/test_vm_life_cycle.py
smoke/test_vpc_vpn.py
All returning success.
Based on which I will :+1:  LGTM for this PR. Hopefully we will resolve the other bugs in the near future.

Hi @remibergsma, @karuturi and @borisroman ,
Finally got most of the ACS working as it was 4 weeks ago! Below the tests I executed manually and via Marvin. It all looks fine!
However, there is still 1 thing that nobody noticed - because they don't test - which concerns the Redundant VPC routers: we cannot ssh into VM in a rVPC, unfortunately!
@isoutham wrote a nice test for that (component/test_vpc_redundnat.py) which was working really fine. Unfortunately I tried it now and also some manual tests, but the rVPC no longer works.
I will create an issue for that and try to get it fixed.
I would like to suggest that for any router related changes the following tests are always executed:

component/test_vpc_redundant.py  - hardware=true

Feature currently broken.

component/test_routers_iptables_default_policy.py  - hardware=true
component/test_vpc_router_nics.py - hardware=true
smoke/test_network_acl.py - hardware=true
component/test_vpc_offerings.py - hardware=false
component/test_vpc_routers.py - hardware=false
smoke/test_routers.py - hardware=false
smoke/test_privategw_acl.py - hardware=false
smoke/test_reset_vm_on_reboot.py - hardware=false
smoke/test_vm_life_cycle.py - hardware=false
smoke/test_vpc_vpn.py - hardware=false
smoke/test_service_offerings.py - hardware=false

The PR 887 LATM - Look AWESOME to Me!
Cheers,
Wilder
P.S.: I already executed all tests below, but I will continue for a bit more and will edit the PR comment later. Please, go ahead and merge it!

Environment

KVM on CentOS 7.1
Management Server on CentOS 7.1
Agent and Common packages built from source

Manual tests

Isolated network / VM / egress / FW / PF

[root@cs1 integration]# ssh<EMAIL_ADDRESS>The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
ECDSA key fingerprint is 52:b5:5e:21:78:d8:89:fc:95:1c:68:02:55:01:44:b7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.
<EMAIL_ADDRESS>password:
# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=47 time=10.619 ms
64 bytes from <IP_ADDRESS>: seq=1 ttl=47 time=11.346 ms
64 bytes from <IP_ADDRESS>: seq=2 ttl=47 time=11.934 ms
^C
--- <IP_ADDRESS> ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 10.619/11.299/11.934 ms
#

```
- VPC network / Tier / ACL / VM / PubIP / PF
[wrodrigues@mct-wrodrigues-g9 ~]$ ssh<EMAIL_ADDRESS>The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
ECDSA key fingerprint is bf:bb:32:27:b4:91:38:38:3e:dd:8f:e3:ad:9b:9f:26.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.
<EMAIL_ADDRESS>password:
# ls -lart
total 9
-rw-r--r--    1 root     root            78 Dec  1  2014 .bash_profile
-rw-r--r--    1 root     root           175 Dec  1  2014 .bash_logout
-rw-r--r--    1 root     root             0 Dec  1  2014 .bash_history
drwxr-xr-x   19 root     root          1024 Sep 27 00:06 ..
-rw-------    1 root     root             9 Sep 27 00:10 .ash_history
drwx------    2 root     root          1024 Sep 27 00:10 .
# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=47 time=10.768 ms
64 bytes from <IP_ADDRESS>: seq=1 ttl=47 time=11.036 ms
64 bytes from <IP_ADDRESS>: seq=2 ttl=47 time=13.196 ms
^C
--- <IP_ADDRESS> ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 10.768/11.666/13.196 ms

"Marvin tests*

```
Test router internal advanced zone ... === TestName: test_02_router_internal_adv | Status : SUCCESS ===
ok
Test restart network ... === TestName: test_03_restart_network_cleanup | Status : SUCCESS ===
ok
Test router basic setup ... === TestName: test_05_router_basic | Status : SUCCESS ===
ok
Test router advanced setup ... === TestName: test_06_router_advanced | Status : SUCCESS ===
ok
Test stop router ... === TestName: test_07_stop_router | Status : SUCCESS ===
ok
Test start router ... === TestName: test_08_start_router | Status : SUCCESS ===
ok
Test reboot router ... === TestName: test_09_reboot_router | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 7 tests in 615.524s

OK
/tmp//MarvinLogs/test_routers_PXXUZO/results.txt (END)

Test start/stop of router after addition of one guest network ... === TestName: test_01_start_stop_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test reboot of router after addition of one guest network ... === TestName: test_02_reboot_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test to change service offering of router after addition of one guest network ... === TestName: test_04_chg_srv_off_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test destroy of router after addition of one guest network ... === TestName: test_05_destroy_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test to stop and start router after creation of VPC ... === TestName: test_01_stop_start_router_after_creating_vpc | Status : SUCCESS ===
ok
Test to reboot the router after creating a VPC ... === TestName: test_02_reboot_router_after_creating_vpc | Status : SUCCESS ===
ok
Tests to change service offering of the Router after ... === TestName: test_04_change_service_offerring_vpc | Status : SUCCESS ===
ok
Test to destroy the router after creating a VPC ... === TestName: test_05_destroy_router_after_creating_vpc | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 8 tests in 1474.059s

OK
/tmp//MarvinLogs/test_vpc_routers_QZKIAB/results.txt (END)

Test VPN in VPC ... === TestName: test_vpc_remote_access_vpn | Status : SUCCESS ===
ok
Test VPN in VPC ... === TestName: test_vpc_site2site_vpn | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 2 tests in 936.917s

OK
/tmp//MarvinLogs/test_vpc_vpn_MHQ125/results.txt (END)

VPN remote access user limit tests ... === TestName: test_01_VPN_user_limit | Status : SUCCESS ===
ok
Test create VPN when L2TP port in use ... === TestName: test_02_use_vpn_port | Status : SUCCESS ===
ok
Test create NAT rule when VPN when L2TP enabled ... === TestName: test_03_enable_vpn_use_port | Status : SUCCESS ===
ok
Test add new users to existing VPN ... === TestName: test_04_add_new_users | Status : SUCCESS ===
ok
Test add duplicate user to existing VPN ... === TestName: test_05_add_duplicate_user | Status : SUCCESS ===
ok
Test as global admin, add a new VPN user to an existing VPN entry ... === TestName: test_06_add_VPN_user_global_admin | Status : SUCCESS ===
ok
Test as domain admin, add a new VPN user to an existing VPN entry ... === TestName: test_07_add_VPN_user_domain_admin | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 7 tests in 2370.893s

OK
/tmp//MarvinLogs/test_vpn_users_BPZS7G/results.txt (END)

test_privategw_acl (integration.smoke.test_privategw_acl.TestPrivateGwACL) ... === TestName: test_privategw_acl | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 1 test in 276.807s

OK
/tmp//MarvinLogs/test_privategw_acl_E1SFE8/results.txt (END)

Test network ACL lists and items in VPC ... === TestName: test_network_acl | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 1 test in 347.838s

OK
/tmp//MarvinLogs/test_network_acl_GRU2PJ/results.txt (END)

Create a vpc with two networks with two vms in each network ... === TestName: test_01_VPC_nics_after_destroy | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 1 test in 1246.437s

OK
/tmp//MarvinLogs/test_vpc_router_nics_W2BCYT/results.txt (END)

Test to create service offering ... === TestName: test_01_create_service_offering | Status : SUCCESS ===
ok
Test to update existing service offering ... === TestName: test_02_edit_service_offering | Status : SUCCESS ===
ok
Test to delete service offering ... === TestName: test_03_delete_service_offering | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 3 tests in 463.478s

OK
/tmp//MarvinLogs/test_service_offerings_PYXAFK/results.txt (END)

Test iptables default INPUT/FORWARD policy on RouterVM ... === TestName: test_02_routervm_iptables_policies | Status : SUCCESS ===
ok
Test iptables default INPUT/FORWARD policies on VPC router ... === TestName: test_01_single_VPC_iptables_policies | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 2 tests in 755.749s

OK
/tmp//MarvinLogs/test_routers_iptables_default_policy_PG0N56/results.txt (END)

```


Upgrade to webpack 2

We have to upgrade the client to use webpack 2 in order to have smooth npm install and being able to use modern modules.

Merged, closing.


Should szip constants be moved back to netcdf.h?

At some point long ago, two szip constants were removed from netcdf.h and moved to nc4var.c:
#define NC_SZIP_EC_OPTION_MASK 4  /**< @internal SZIP EC option mask. */
#define NC_SZIP_NN_OPTION_MASK 32 /**< @internal SZIP NN option mask. */

Now that filters allow the user to set szip for writing, should these two defines be moved back to netcdf.h?
They are required for the user to set the szip filter, as in the following test code:
      /* Create a netcdf-4 file with one dimensions. */
      if (nc_create(FILE_NAME, NC_NETCDF4, &ncid)) ERR;
      if (nc_def_dim(ncid, DIM_NAME_1, DIM_LEN_1, &dimid)) ERR;

      /* Add a var. Turn on szip filter. */
      if (nc_def_var(ncid, V_SMALL, NC_INT64, NDIMS1, &dimid, &varid)) ERR;
      params[0] = NC_SZIP_NN_OPTION_MASK;
      params[1] = 32;
      if (nc_def_var_chunking(ncid, varid, NC_CHUNKED, NULL)) ERR;
      if (nc_def_var_filter(ncid, varid, H5_FILTER_SZIP, NUM_PARAMS, params)) ERR;
      if (nc_close(ncid)) ERR;

If we all agree that these should be moved, I will put them back in netcdf.h.

Similarly, should H5_FILTER_SZIP be defined (or get an NC_ named define) in netcdf.h?

I say no. My rule is that the only compression that has a privileged status is zip.
All other filters, including szip, are treated the same. If a test uses such a filter,
then the necessary constants should be in the test specifically.
Note that for historical reasons, szip has its own api code in HDF5, but that
is a holdover from pre- loadable-filters time.

OK, I will close this ticket.


[Release] version 2.1.0

Description
This will release fuel's new version!
Changes

Fix coroutines readme typo #637 by GSculerlor

:sparkles: Improve FuelError and BubbleFuelError #636 by kittinunf

Updated Some Libraries #634 by iNoles

[Chore] Stop publishing test #632 by kittinunf

[Chore] Update/Organize README #631 by kittinunf

[Feature] :sparkles: Allow user to supply Moshi custom adapter #630 by kittinunf

Fixed Android AAR Timing Issue #629 by iNoles

Update Kotlin and Android Gradle Version #626 by iNoles

[Chore] Modernize project setup #622 by kittinunf

Fix typo in README.md #615 by jhult

[feature] Custom Moshi #614 by ProjectZed

Adjust examples #613 by avram

Fix body representation in case of charset in ContentType #610 by kenrube

[Bug] Fix coroutine bug #603 by kittinunf

[Bug] [Stetho] Fix bug in stetho module #602 by kittinunf

Update Kotlin, AGP, Jackson and RxJava #596 by iNoles

Fix typo "Connnection" #595 by ryutoyasugi

Add License to Maven's POM #585 by iNoles

Type of change
Check all that apply

[x] New version - 2.1.0

How Has This Been Tested?
In case you did not include tests describe why you and how you have verified the
changes, with instructions so we can reproduce. If you have added comprehensive
tests for your changes, you may omit this section.
Checklist:

[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation, if necessary
[ ] My changes generate no new compiler warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Inspect the bytecode viewer, including reasoning why

Thanks!


Current status of  support

Hello single-spa team,
I would like to use your framework as a groundwork for a rather large application for a very big company. The current skillset lies heavily in angular for this organization so this naturaly leads us to the question of the current state of support for angular.
Are you still maintaining the angular code base but delayed compared to the angular release cycle or is it completly halted?
Thanks in advance.

I hope to create a new example for angular at some point. single-spa and single-spa-angular work with the latest versions of Angular. The reason this example has fallen behind is because when I went to create a new example using the latest version of Angular we ran into challenges with sharing the Angular library between microfrontends when using Ivy Compiler. We have since overcome those challenges, but haven't created an official example for it yet. There is a more up-to-date example by Daniil that shows Angular 11 with shared Ivy between the microfrontends.
You can read more about the single-spa-angular project status at https://github.com/single-spa/single-spa-angular#project-status. The single-spa core team doesn't have the Angular expertise to maintain this library on our own, so we rely on help from those using the library. There are a couple skilled Angular devs who help us go through the issue queues and fix bugs.

I hope to create a new example for angular at some point. single-spa and single-spa-angular work with the latest versions of Angular. The reason this example has fallen behind is because when I went to create a new example using the latest version of Angular we ran into challenges with sharing the Angular library between microfrontends when using Ivy Compiler. We have since overcome those challenges, but haven't created an official example for it yet. There is a more up-to-date example by Daniil that shows Angular 11 with shared Ivy between the microfrontends.
You can read more about the single-spa-angular project status at https://github.com/single-spa/single-spa-angular#project-status. The single-spa core team doesn't have the Angular expertise to maintain this library on our own, so we rely on help from those using the library. There are a couple skilled Angular devs who help us go through the issue queues and fix bugs.

@joeldenning
Thank you very much for your answer. I think this is enough to reason for a development on single-spa for our project. Im very excited to implement this on a large scale and will try to report back regulary.

@joeldenning
Thank you very much for your answer. I think this is enough to reason for a development on single-spa for our project. Im very excited to implement this on a large scale and will try to report back regulary.

here's the new example: https://github.com/angular-microfrontends and https://angular.microfrontends.app. It's incomplete but I've realized that I need to start telling people about it because I'm too busy to get it to a better spot and if I wait people will keep using this old coexisting-angular-microfrontends app which i do not want.

Thank you for the update. Its good to see that you keep on pushing for the angular side of things despite its challenges. We are already using single-spa in a micro frontend architecture and are looking forward to use the new example for our latest micro feds with angular.


fix: fix ext-host editors error on closing diff editors

Types

[x] 🐛 Bug Fixes

Background or solution
Wrong removed changes were push to extension host after closing diffEditors, causing TextEditor without TextDocument kept in workspace.textEditors.
Changelog

fixes editor features failing after closing diffEditors.

Codecov Report

Merging #251 (6b1788b) into main (76976cf) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #251      +/-   ##
==========================================
- Coverage   59.27%   59.26%   -0.01%
==========================================
  Files        1181     1181
  Lines       72663    72663
  Branches    15060    15060
==========================================
- Hits        43068    43065       -3
- Misses      26972    26974       +2
- Partials     2623     2624       +1

Impacted Files
Coverage Δ

...nsion/src/browser/vscode/api/main.thread.editor.ts
44.83% <ø> (ø)

packages/monaco/src/browser/schema-registry.ts
68.88% <0.00%> (-2.23%)
:arrow_down:

...kages/theme/src/browser/workbench.theme.service.ts
70.32% <0.00%> (-0.90%)
:arrow_down:

...erences/src/browser/preference-settings.service.ts
79.16% <0.00%> (-0.70%)
:arrow_down:

packages/core-common/src/node/port.ts
46.96% <0.00%> (+3.03%)
:arrow_up:

Continue to review full report at Codecov.

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


Configure use of background mode on iOS

The plugin is configured by default to support bluetooth-central background mode on iOS. Apps maight however don't want this, Apple may reject apps that have background mode enabled but don't demonstrate/motivate its use.
Task is to make use of background mode configurable. This entails the setting in plugin.xml, plus somehow configuring the code in EVOBLE.m (disabling 'CBCentralManagerOptionRestoreIdentifierKey: @"EVOCentralManagerIdentifier"'). Perhaps a conditional compile would work?

Same error! Apple rejects the app with this message:

Guideline 2.5.4 - Performance - Software Requirements
Your app declares support for bluetooth-central in the UIBackgroundModes key in your Info.plist but does not provide Bluetooth Low Energy functionality. The Bluetooth Background modes are for apps that communicate to other devices using Bluetooth Low Energy and the Core Bluetooth framework.
Next Steps
To resolve this issue, please revise your app to add support for Bluetooth Low Energy communication through Core Bluetooth in your app or remove the bluetooth- values from the UIBackgroundModes key.

Any ideas?, thanks!


NullReferenceException thrown when runUser missing

dotnet_trx_merge.Services.TrxFetcher.FetchOnlyLatest(String[] filesToMerge) throws NullReferenceException when runUser attribute is missing from the root element.

I've noticed this has started recently, and I think its mstest no longer adding this user to the trx
anyway, I've created a PR to address this and default the  runUser if its not found

Hi @mullerj,
Thanks for reporting this.
@samholder thanks for the PR I will take a look

Hi @mullerj,
Please test version: https://www.nuget.org/packages/dotnet-trx-merge/2.0.1
Please provide feedback to see if we can close the issue

This looks like it works to me, I see the warning output when I run this in my devops pipeline and merge happens now.
thanks for the quick merge and new version @ricardofslp

I tested with a trx file that is missing the runUser attribute and NullReferenceException is no longer thrown.


Rebase Approval for Branches

This issue contains the test results for the upstream sync, develop PR, and release testing branches. Comment 'proceed with rebase' to approve. Close when maintenance is complete or there will be problems on the next run.

Unit Test Results for \n\n\n\n\n### Performance Test Results for \n\n\n

Unit Test Results for \n\n\n\n\n### Performance Test Results for \n\n\n


Branch 2.3 how can i fix error use Pyspark

how can i fix error use Pyspark

use spark 2.3
python 3.6

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@lovezeropython please close this.


Remove v1alpha4 CRDs, types and associated code

v1alpha4 has been deprecated and unserved in the past releases. This removes v1alpha4 and all supporting test code for v1alpha4. We are not aware of anyone using v1alpha4 APIs.

/retest

/retest

/retest

/hold