Android: Keyboard not showing at startup

Steps to Reproduce

Execute flutter run on the code sample  on Android device

Expected results:
Expected: Keyboard should show
Actual results:
Expected: Keyboard not showing
To my understanding setting TextField's autofocus to true should open the keyboard automatically.
I have not found any way to open the keyboard automatically at startup.

Code sample

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});
  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(body: Column(children: [
        Expanded(child: Center(child: Container(
          width: 200, height: 40,
          child: const TextField(autofocus: true,)
        )))
    ]));
  }
}

Logs
Flutter analyze
```
PS C:\github\pageview_test> flutter analyze
Analyzing pageview_test...
No issues found! (ran in 1.9s)
```
Flutter doctor
[✓] Flutter (Channel stable, 3.7.7, on Microsoft Windows [Version 10.0.22621.1413], locale en-GB)
    • Flutter version 3.7.7 on channel stable at C:\Work\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2ad6cd72c0 (12 days ago), 2023-03-08 09:41:59 -0800
    • Engine revision 1837b5be5f
    • Dart version 2.19.4
    • DevTools version 2.20.1

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

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\Arni Richard Arnason\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

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

[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.4.33403.182
    • Windows 10 SDK version 10.0.22621.0

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

[✓] VS Code (version 1.76.2)
    • VS Code at C:\Users\Arni Richard Arnason\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.60.0

[✓] Connected device (4 available)
    • SM G975F (mobile) • RF8MC1QFQFW • android-arm64  • Android 12 (API 31)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.22621.1413]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 111.0.5563.65
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 111.0.1661.44

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

• No issues found!

Hi @arnirichard, after a few tests, it looks like this issue only is reproducible on some kinds of devices:

Samsung Galaxy Tab A7 Lite, Android 13 OneUI 5.0, SM-T225 ✅
Pixel 3a, Android 12 ❌
Realme 6, Android 11 ❌

✅: No Issue ❌: Issue reproduced
Could you please tell me the device are you testing on? (OS, model)

Thanks! Do you notice there is this log from the console log output?
W/InputMethodManager(20774): Ignoring showSoftInput() as view=io.flutter.embedding.android.FlutterView{dee8dc3 VFE...... .F....ID 0,0-1080,2088 #1} is not served.

No, I am seeing this:
Launching lib\main.dart on SM G975F in debug mode...
Running Gradle task 'assembleDebug'...
√  Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app-debug.apk...
Debug service listening on ws://<IP_ADDRESS>:52144/LvurK9an3Gk=/ws
Syncing files to device SM G975F...
I/Gralloc4(30786): mapper 4.x is not supported
W/Gralloc3(30786): mapper 3.x is not supported
I/gralloc (30786): Arm Module v1.0
W/Gralloc4(30786): allocator 4.x is not supported
W/Gralloc3(30786): allocator 3.x is not supported
I/IMM_LC  (30786): showSoftInput(View,I)
I/IMM_LC  (30786): ssi() - flag : 0 view : com.example.pageview_test reason = SHOW_SOFT_INPUT
I/IMM_LC  (30786): ssi() view is not EditText
I/IMM_LC  (30786): ssi() - cancel : servedView != view : 0  view : io.flutter.embedding.android.FlutterView{fb08b22 VFE...... .F....ID 0,0-1080,2154 #1}
I/AssistStructure(30786): Flattened final assist data: 396 bytes, containing 1 windows, 3 views
I/IMM_LC  (30786): showSoftInput(View,I)
I/IMM_LC  (30786): ssi() - flag : 0 view : com.example.pageview_test reason = SHOW_SOFT_INPUT
I/IMM_LC  (30786): ssi() view is not EditText
I/IMM_LC  (30786): ssi() - cancel : servedView != view : 0  view : io.flutter.embedding.android.FlutterView{fb08b22 VFE...... .F....ID 0,0-1080,2154 #1 aid=1073741824}
D/ViewRootImpl@2a05510[MainActivity](30786): Creating frameDrawingCallback nextDrawUseBlastSync=false reportNextDraw=true hasBlurUpdates=false
D/ViewRootImpl@2a05510[MainActivity](30786): Creating frameCompleteCallback
I/SurfaceView@b28065b(30786): uSP: rtp = Rect(0, 0 - 1080, 2154) rtsw = 1080 rtsh = 2154
D/ViewRootImpl@2a05510[MainActivity](30786): Received frameDrawingCallback frameNum=1. Creating transactionCompleteCallback=false
I/SurfaceView@b28065b(30786): onSSPAndSRT: pl = 0 pt = 0 sx = 1.0 sy = 1.0
I/SurfaceView@b28065b(30786): aOrMT: uB = true t = android.view.SurfaceControl$Transaction@b56fe9c fN = 1 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728 android.graphics.RenderNode$CompositePositionUpdateListener.positionChanged:319
I/SurfaceView@b28065b(30786): aOrMT: vR.mWNT, vR = ViewRootImpl@2a05510[MainActivity]
I/ViewRootImpl@2a05510[MainActivity](30786): mWNT: t = android.view.SurfaceControl$Transaction@b56fe9c fN = 1 android.view.SurfaceView.applyOrMergeTransaction:1628 android.view.SurfaceView.access$500:124 android.view.SurfaceView$SurfaceViewPositionUpdateListener.positionChanged:1728
I/ViewRootImpl@2a05510[MainActivity](30786): mWNT: merge t to BBQ
D/ViewRootImpl@2a05510[MainActivity](30786): Received frameCompleteCallback  lastAcquiredFrameNum=1 lastAttemptedDrawFrameNum=1
I/ViewRootImpl@2a05510[MainActivity](30786): [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$addFrameCompleteCallbackIfNeeded$3$ViewRootImpl:5000 android.view.ViewRootImpl$$ExternalSyntheticLambda16.run:6 android.os.Handler.handleCallback:938
I/ViewRootImpl@2a05510[MainActivity](30786): [DP] rdf()
D/ViewRootImpl@2a05510[MainActivity](30786): reportDrawFinished (fn: -1)
I/ViewRootImpl@2a05510[MainActivity](30786): MSG_WINDOW_FOCUS_CHANGED 1 1
D/InputMethodManager(30786): startInputInner - Id : 0
I/InputMethodManager(30786): startInputInner - mService.startInputOrWindowGainedFocus
D/InputMethodManager(30786): startInputInner - Id : 0

Thanks for your response. Labeling this issue for further investigation. This issue is reproducible on the latest stable and master channels.
Preliminary investigation

It can work as expected after stopping and running the project again (This applies to all devices I tried at https://github.com/flutter/flutter/issues/122994#issuecomment-1475973664. Perhaps it worked on Samsung Galaxy Tab A7 Lite due to this). Or performing Hot restart when it running. It looks like it takes time/bait to trigger related services in OS?

It works as expected on iOS

Even though the document doesn't mention to the keyboard will be automatically shown but it mentioned:
This allows the user to start typing as soon as the screen is visible, without needing to manually tap the text field.

The keyboard can be automatically displayed in a scenario when the TextField is placed in destination widget (for eg: when the user navigates from Home screen to Search screen. The TextField in Search screen with autofocus: true will actually work as intended)

Minimal sample code (issue)
import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Center(
          child: TextField(
            autofocus: true,
          ),
        ),
      ),
    );
  }
}

Sample code (autofocus works with navigation)
import 'package:flutter/material.dart';
import 'package:flutter_web_plugins/url_strategy.dart';

void main() {
  usePathUrlStrategy();
  runApp(
    MaterialApp(
      title: 'Named Routes Demo',
      // Start the app with the "/" named route. In this case, the app starts
      // on the FirstScreen widget.
      initialRoute: '/',
      routes: {
        // When navigating to the "/" route, build the FirstScreen widget.
        '/': (context) => const FirstScreen(),
        // When navigating to the "/second" route, build the SecondScreen widget.
        '/second': (context) => const SecondScreen(),
      },
    ),
  );
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('First Screen'),
      ),
      body: Center(
        child: ElevatedButton(
          // Within the `FirstScreen` widget
          onPressed: () {
            // Navigate to the second screen using a named route.
            Navigator.pushNamed(context, '/second');
          },
          child: const Text('Launch screen'),
        ),
      ),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Second Screen'),
      ),
      body: Center(
        child: Column(
          children: [
            TextField(
              autofocus: true,
            ),
            ElevatedButton(
              // Within the SecondScreen widget
              onPressed: () {
                // Navigate back to the first screen by popping the current route
                // off the stack.
                Navigator.pop(context);
              },
              child: const Text('Go back!'),
            ),
          ],
        ),
      ),
    );
  }
}

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.7.7, on macOS 13.0.1 22A400 darwin-x64, locale en-EE)
    • Flutter version 3.7.7 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2ad6cd72c0 (10 hours ago), 2023-03-08 09:41:59 -0800
    • Engine revision 1837b5be5f
    • Dart version 2.19.4
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

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

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

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

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

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 110.0.5481.177

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

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.9.0-12.0.pre.17, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.9.0-12.0.pre.17 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6b7c60d69a (2 hours ago), 2023-03-20 18:08:51 -0700
    • Engine revision ea6ed14b4e
    • Dart version 3.0.0 (build 3.0.0-345.0.dev)
    • DevTools version 2.22.2
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

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

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

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

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 111.0.5563.64

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

! Doctor found issues in 1 category.

Originally thought this was a Samsung only issue, but misread the description. As I'm focusing on Samsung only issues at the moment, removed myself as the assignee.

I also encountered this problem on Samsung Galaxy S20 Ultra 5G, the TextInputType is TextInputType.text and the keyboard cannot be displayed.
Samsung Galaxy S20 Ultra 5G：

Model number SM-G988U
The Android version is 13
One UI version 5.1

@mossmana @huycozy @arnirichard Do you solve this problem?

I also encountered this issue. Using a Samsung A52S.
The thing is, when I build using the --debug flag the keyboard does come out. When I build with the --release, I don't get the keyboard to pop out.

Experiencing the same bug when running a --release build.
Works as expected on a --debug build.

This is the fix that works for me:
import 'dart:async';
import 'package:flutter/material.dart';

class Example extends StatefulWidget {
  const Example({super.key});

  @override
  State<Example> createState() => _ExampleState();
}

class _ExampleState extends State<Example> {
  final FocusNode focusNode = FocusNode();

  @override
  void initState() {
    super.initState();

    WidgetsBinding.instance.addPostFrameCallback((_) {
      Timer(const Duration(milliseconds: 150), () => focusNode.requestFocus());
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: TextField(focusNode: focusNode),
      ),
    );
  }
}


Let's make it Functional

Controllers currently rely on classes, but it'd be better if controllers were functional, or had both OOP and functional.
Currently controllers look like this:
const { Controller } = require('gd-router')

class MyController extends Controller
{
  get() {
    return 'Hey!'
  }
}

module.exports = MyController

But it'd be cool to be able to do this instead:
exports.get = (request) => {
  return 'Hey!'
}

This is so much shorter and easier to understand!

Another note, the reason for classes right now is to distinguish between a text/html responses and application/json responses. If you extend ApiController instead of Controller, the response will be JSON.

Merged into the develop branch on PR #4


Tooltip animation doesn't work

Hi,
when I add class 'prunecluster-anim' to marker the marker is animated on moving, but the binded Tooltip don't follow the marker animation. How can I animate it?
I've tried to add transition animation to tooltip but every time I bind the Tooltip to the marker the tooltip make the animation from the top left of screen to the marker instead of point A to point B (old marker position to the new one)

@yellowiscool @simison @FalloutPL @mordka @vitalik74 @rwwagner90 @brunolellis @maxvonhippel @Cadrach @undr @uniphil @valerio-bozzolan @rolanddu @adimasci @maxhoffmann
BUMP!

Not sure these are actually all separate issues.  They all sounds like "when I do stuff the tooltip should move but the animation is kind of wonked".  Before we all start digging in further, can you tell us if you think these actually have separate causes?  If they're all the same thing they should just be one issue on GitHub instead of 3.


Add push switch to builders

Add an option to skip pushing the docker image for testing or local clusters like minikube or docker for desktop.

This change is

/lgtm
/approve
/hold to address @karthikv2k ' s comment

/lgtm

/hold

/remove hold

/assign @karthikv2k

/hold cancel

/lgtm

/approve


Building a typescript &  react library

I am unsure how to categorize this, but it is either a bug in the dependency resolving mechanism or it is working exactly as intended and I am doing something wrong and it doesn't cover my case...
I am developing a typescript & react boilerplate for frontend and backend, and while the backend seems to be working just fine with link library sources, the frontend will not compile while I work with linked library sources.
After long and frustrating experimentation, I realized it is the symlink at node_modules\${my-lib} that prevents my code from compiling only the frontend.
I say the symlink because if I manually copy my project folder content into the node_modules\${my-lib} as a folder.. everything works just fine.
You can use the full boilerplate repo here to reproduce the issue, follow the readme.. the first time without library sources everything works just fine, with sources.. everything breaks.
My setup:
I develop on Mac.
npm: 6.4.1
node: 8.15.0
typescript: 3.3.3333
webpack: 4

Checklist
My suggestion meets these guidelines:

[v] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[v] This wouldn't change the runtime behavior of existing JavaScript code
[v] This could be implemented without emitting different JS based on the types of the expressions
[v] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[v] This feature would agree with the rest of TypeScript's Design Goals.

You can also see that my scriptology workaround on branch dev/frontend is working..

That seems to be an issue with your additional tooling (webpack), not with TypeScript.

if I run tsc... does it use webpack configuration as well?

We'll need some concise explanation of what's going on here in order to treat this as a bug; we are not staffed to investigate build failures that may be due to configuration error on the user's part.

Copied from SO:
I try to create a common React and Typescript common library, and I run into too many difficulties in configuring the project workspace in order to develop both library and app altogether
project
├─ app
│  ├─ package.json
│  ├─ tsconfig.json
│  ├─ webpack.config.js
│  ├─ ... (other config files)
│  ├─ node_modules
│  │  ├─ ...
│  │  ├─ @types
│  │  │  ├─ ...
│  │  │  └─ react
│  │  └─ symlink(lib A)
│  └─ src
│     ├─ *.ts files
│     ├─ *.tsx files
│     └─ index.ts
│
└─ libA
   ├─ package.json
   ├─ tsconfig.json
   ├─ other config files
   ├─ node_modules
   │  ├─ ...
   │  └─ @types
   │     ├─ ...
   │     └─ react
   └─ src
      ├─ *.ts files
      ├─ *.tsx files
      └─ index.ts

If the sources from libA are in the app everything compiles builds and run as expected.

Under this configuration libA is build(tsc) successfully.

Under this configuration app does not compile with the following:

../libA/node_modules/@types/react/index.d.ts:2963:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'view' must be of type 'SVGProps<SVGViewElement>', but here has type 'SVGProps<SVGViewElement>'.

some Googling suggested that I should delete the react types from the node_modules in libA, but that would break the convenience of the development process as libA will not compile.

More details:
I develop on Mac.
npm: 6.4.1
node: 8.15.0
typescript: 3.3.3333
webpack: 4

tsconfig libA:
{
  "compilerOptions": {
    "strict": true,
    "noUnusedLocals": true,
    "declaration": true,
    "sourceMap": true,
    "target": "es5",
    "module": "commonjs",
    "outDir": "dist",
    "moduleResolution": "node",
    "jsx": "react",
    "experimentalDecorators": true,
    "baseUrl": "src"
  },
  "include": [
    "src/**/*.ts",
    "src/**/*.tsx"
  ],
  "exclude": [
    "node_modules"
  ]
}

tsconfig app:
{
  "compilerOptions": {
    "strict": true,
    "noUnusedLocals": true,
    "removeComments": true,
    "sourceMap": true,
    "target": "es5",
    "module": "commonjs",
    "outDir": "dist",
    "moduleResolution": "node",
    "jsx": "react",
    "lib": [
      "es5",
      "es6",
      "es7",
      "dom"
    ],
    "baseUrl": "src"
  },
  "include": [
    "src/**/*.ts",
    "src/**/*.tsx"
  ],
  "exclude": [
    "node_modules"
  ]
}

I do not want to use the skipLibCheck, cause the types are the reason I fell in love with typescript in the first place...
It is safe to assume I am doing something completely wrong.. cause I am at it for almost a week on and off and cannot figure the correct configuration.. any guidance is welcome...

After further investigation I found out that the only thing that made a difference is whether or not I used a symlink to libA by using npm link to it

sorry for bothering you guys.. but for now this seems to have magically resolve itself after a few iterations... I'll reopen if I learn more!


[1] Modified README

Added error boundary at passport initialization to prevent server start failures
Modified README

LGTM


Request to push nightly images to a separate repo

As you can see from the following screenshot. There are too many image tags. It's hard to find useful tags.
So, I suggest that we push the nightly images to a separate repo. For instance, we can push ghcr.io/kubesphere/devops-tools:nightly-20211221 to ghcr.io/kubesphere-nightly/devops-tools:nightly-20211221.

References

https://github.com/kubesphere/ks-devops/blob/master/.github/workflows/nightly-build.yaml

/good-first-issue

maybe it's not only tag and push to another separate repo, it's good to tigger by git source code branch or git tag, by this we   can relate  feature code to image version。 and make the separate repo image version is meanfull.


Feature Request: Replace netrw if the first argument of vi is a directory

netrw, the default file explorer of vim, can be disable with
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1

I would like to open NnnPicker or NnnExplorer when Vim starts with a directory argument, in a similar way of NERDtree.
The option replace_netrw = picker/explorer, open a sort of non-interactive window, which is not usable.
Thanks

You need to set replace_netrw to either "picker" or "explorer", also mind the quotes as it's supposed to be a string. Does that work for you?

You need to set replace_netrw to either "picker" or "explorer", also mind the quotes as it's supposed to be a string.

of course!

Does that work for you?

Yes, but not how I expect. It took some times to understand how it works!

The focus is not on the nnn window and so I need to change it.
The window is not interactive! I need to press some random combination of i and enter to make it works.

Does https://github.com/luukvbaal/nnn.nvim/commit/b173e74da5ae153b3995e73bd3a09c790a1270e8 improve the behavior at all?

Yes! Now it works perfectly!
Thanks!

Thanks for reporting!


Fixes Focalboard Redirection Problem

Summary

Currently after logging onto Mattermost, we aren't being redirected to focalboard even with redirect_to set.
Ticket Link

https://github.com/mattermost/focalboard/issues/995
Screenshots

Release Note

None

No longer needed


feature(icon library): change icons and add new ones

No needed manual revision due to it's only a files change


openstackclient: add antelope

Signed-off-by: Christian Berendt<EMAIL_ADDRESS>

Also merge https://github.com/osism/release/pull/564


Closed script tag for user session tracking

Hi @gregdegruy, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Gregory Degruy). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@gregdegruy : Thanks for your contribution to the Azure documentation! The author, @alancameronwills, has been notified to review your proposed change.

Thanks!
#sign-off


Improvise Insert and Delete any position

Handle the first element insertion and deletion.
Also, handle the position number out of bounds condition.
use unsigned int or check for negative position passed.

@ShrutiHarrison, please comment on this condition:
if the user passes a negative position as the parameter, then what should be done?

used unsigned int, so that it raises an error
use a condition to check if the position is not negative.


Run the integration tests on cluster-B (parent story: #973)

estimate 2

Manually execute the geopm integration test suite on cluster B.
Done criteria:

Record of which tests are passing, failing, or skipped and reported failure or skip messages.
Highlight which of these issues are of highest importance to the customer use case.
Create new issues related to the blocking issues identified by this task

Parent story: #973

WIP branch:
https://github.com/bgeltz/geopm/tree/bgeltz-fix-int-tests
That branch has 2 required patches to get the tests going.  The first fixes a legitimate issue with unicode string handling in the launcher.py that took a long while to sort out (still not sure if this is how we want it).  The other sets the integration tests up to use the monitor instead of the power_governor.  I don't know that we want that change in dev, so I'm holding off on creating a PR for now.
Here's the summary of the first pass at this:
Ran 44 tests in 345.584s
FAILED (failures=2, errors=8, skipped=17)

Here's list of failed tests:
======================================================================
ERROR: test_agent_energy_efficient_single_region (test_integration.geopm_test_integration.TestIntegration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 1196, in test_agent_energy_efficient_single_region
    self.assertEqual(region['requested-online-frequency'], min_freq, msg=msg)  # freq should reduce
KeyError: 'requested-online-frequency'

======================================================================
ERROR: test_report_and_trace_generation_application (test_integration.geopm_test_integration.TestIntegration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 246, in test_report_and_trace_generation_application
    launcher.run(name)
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_launcher.py", line 236, in run
    launcher.run(stdout=outfile, stderr=outfile)
  File "/dss/dsshome1/07/di57fof2/git/geopm/scripts/geopmpy/launcher.py", line 555, in run
    raise subprocess.CalledProcessError(pid.returncode, argv_mod)
CalledProcessError: Command 'srun -N 4 -n 16 --cpu-bind v,mask_cpu:0x1ffc,0xffe000,0x1ffc000000,0xffe000000000 -I30 -t 10 -J test_report_and_trace_generation_application --cpu-fr
eq=Performance -- geopmbench --verbose test_report_and_trace_generation_application_app.config' returned non-zero exit status 1

======================================================================
ERROR: setUpClass (test_integration.test_omp_outer_loop.TestIntegrationOMPOuterLoop)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/test_omp_outer_loop.py", line 111, in setUpClass
    launcher.run(curr_run)
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_launcher.py", line 236, in run
    launcher.run(stdout=outfile, stderr=outfile)
  File "/dss/dsshome1/07/di57fof2/git/geopm/scripts/geopmpy/launcher.py", line 555, in run
    raise subprocess.CalledProcessError(pid.returncode, argv_mod)
CalledProcessError: Command 'srun -N 1 -n 5 --cpu-bind v,mask_cpu:0x2,0x1ffc,0xffe000,0x1ffc000000,0xffe000000000 -I30 -t 100 -J test_omp_outer_loop_with_ompt --cpu-freq=Performance -- /dss/dsshome1/07/di57fof2/git/geopm/test_integration/.libs/test_omp_outer_loop --verbose' returned non-zero exit status 1

======================================================================
ERROR: test_energy_efficient_max_freq (test_integration.test_static_policy.TestIntegrationStaticPolicy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/test_static_policy.py", line 86, in setUp
    geopm_test_launcher.geopmwrite("POWER_PACKAGE_LIMIT board 0 {}".format(self._tdp_power))
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_launcher.py", line 109, in geopmwrite
    raise err
CalledProcessError: Command 'srun -N 1 -n 1 -J geopm_allocation_test --cpu-freq=Performance -- geopmwrite POWER_PACKAGE_LIMIT board 0 240.0' returned non-zero exit status 22

======================================================================
ERROR: test_freq_map_max_freq (test_integration.test_static_policy.TestIntegrationStaticPolicy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/test_static_policy.py", line 86, in setUp
    geopm_test_launcher.geopmwrite("POWER_PACKAGE_LIMIT board 0 {}".format(self._tdp_power))
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_launcher.py", line 109, in geopmwrite
    raise err
CalledProcessError: Command 'srun -N 1 -n 1 -J geopm_allocation_test --cpu-freq=Performance -- geopmwrite POWER_PACKAGE_LIMIT board 0 240.0' returned non-zero exit status 22

======================================================================
ERROR: test_monitor_no_policy (test_integration.test_static_policy.TestIntegrationStaticPolicy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/test_static_policy.py", line 86, in setUp
    geopm_test_launcher.geopmwrite("POWER_PACKAGE_LIMIT board 0 {}".format(self._tdp_power))
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_launcher.py", line 109, in geopmwrite
    raise err
CalledProcessError: Command 'srun -N 1 -n 1 -J geopm_allocation_test --cpu-freq=Performance -- geopmwrite POWER_PACKAGE_LIMIT board 0 240.0' returned non-zero exit status 22

======================================================================
ERROR: test_power_balancer_power_cap (test_integration.test_static_policy.TestIntegrationStaticPolicy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/test_static_policy.py", line 86, in setUp
    geopm_test_launcher.geopmwrite("POWER_PACKAGE_LIMIT board 0 {}".format(self._tdp_power))
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_launcher.py", line 109, in geopmwrite
    raise err
CalledProcessError: Command 'srun -N 1 -n 1 -J geopm_allocation_test --cpu-freq=Performance -- geopmwrite POWER_PACKAGE_LIMIT board 0 240.0' returned non-zero exit status 22

======================================================================
ERROR: test_power_governor_power_cap (test_integration.test_static_policy.TestIntegrationStaticPolicy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/test_static_policy.py", line 86, in setUp
    geopm_test_launcher.geopmwrite("POWER_PACKAGE_LIMIT board 0 {}".format(self._tdp_power))
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_launcher.py", line 109, in geopmwrite
    raise err
CalledProcessError: Command 'srun -N 1 -n 1 -J geopm_allocation_test --cpu-freq=Performance -- geopmwrite POWER_PACKAGE_LIMIT board 0 240.0' returned non-zero exit status 22

======================================================================
FAIL: test_agent_frequency_map_env (test_integration.geopm_test_integration.TestIntegration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 1152, in test_agent_frequency_map_env
    self._test_agent_frequency_map('test_agent_frequency_map_env', use_env=True)
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 1146, in _test_agent_frequency_map
    self.assertNear(freq_map[region_name] / sticker_freq * 100, region_data['frequency'].item(), msg=msg)
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 127, in assertNear
    self.fail('The fractional difference between {a} and {b} is greater than {epsilon}.  {msg}'.format(a=a, b=b, epsilon=epsilon, msg=msg))
AssertionError: The fractional difference between 38.7096774194 and 44.786 is greater than 0.05.  all2all frequency should be near assigned map frequency

======================================================================
FAIL: test_agent_frequency_map_policy (test_integration.geopm_test_integration.TestIntegration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 1158, in test_agent_frequency_map_policy
    self._test_agent_frequency_map('test_agent_frequency_map_policy', use_env=False)
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 1146, in _test_agent_frequency_map
    self.assertNear(freq_map[region_name] / sticker_freq * 100, region_data['frequency'].item(), msg=msg)
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 127, in assertNear
    self.fail('The fractional difference between {a} and {b} is greater than {epsilon}.  {msg}'.format(a=a, b=b, epsilon=epsilon, msg=msg))
AssertionError: The fractional difference between 38.7096774194 and 44.805 is greater than 0.05.  all2all frequency should be near assigned map frequency

----------------------------------------------------------------------

The RAPL related tests are expected to fail because of a lack of BIOS support.
test_agent_energy_efficient_single_region looks like the agent never finished learning.  There are no learned frequencies in the report.
test_report_and_trace_generation_application looks to not be supported.  More debug is necessary.
test_omp_outer_loop.py looks to be missing OMPT support.  The compiler is a bit older, so I fear we're missing the hooks we need for automatic support.
test_energy_efficient_max_freq , test_monitor_no_policy, and test_freq_map_max_freq are trying to write to the RAPL MSR and should not be.
test_agent_frequency_map_env and test_agent_frequency_map_policy are pretty far off the mark.  I suspect this has something to do with the current pstate driver. More debug is necessary.
I'm going to change a few things and rerun with the verbose flag to get the list of skipped tests next.

I was able to resolve the OMPT issues by using a newer compiler.  We'll need to document this in the tutorial collateral for this system.
The EE agent is struggling with this system because of the delta between the maximum frequency reported by sysfs/cpuinfo and the actual default operating frequency.  There is a mismatch.  I've altered some of the tests to just use the value in IA32_PERF_CTL as the "max_freq" to start learning from.  This gets some to pass but exposes the next bug.
Trying to run at Pn results in a higher than expected frequency in the reports.  I'm using the frequency_map agent to try to pin the frequency at Pn, but the reports are showing that the regions ran at somewhere between Pn-1 and Pn-2.  I still suspect frequency governor is doing something wonky.

The delta between requested frequency and achieved frequency holds true at Pn-2.  Requesting Pn-2 results in an achieved frquency of Pn-4.

I just re-ran the integration tests with the above fixes.  Here's the current summary:
----------------------------------------------------------------------
Ran 46 tests in 314.678s

FAILED (failures=2, errors=7, skipped=17)

======================================================================                                                                                [103/8791]
ERROR: test_agent_energy_efficient_single_region (test_integration.geopm_test_integration.TestIntegration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 1198, in test_agent_energy_efficient_single_region
    self.assertEqual(region['requested-online-frequency'], min_freq, msg=msg)  # freq should reduce
KeyError: 'requested-online-frequency'

======================================================================
ERROR: test_report_and_trace_generation_application (test_integration.geopm_test_integration.TestIntegration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 248, in test_report_and_trace_generation_application
    launcher.run(name)
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_launcher.py", line 237, in run
    launcher.run(stdout=outfile, stderr=outfile)
  File "/dss/dsshome1/07/di57fof2/git/geopm/scripts/geopmpy/launcher.py", line 557, in run
    raise subprocess.CalledProcessError(geopm_pid.returncode, geopm_argv)
CalledProcessError: Command 'srun -N 4 -n 4 --cpu-bind v,mask_cpu:0x2 -I30 -t 10 -J test_report_and_trace_generation_application --cpu-freq=Performance geopmctl' returned non-zer
o exit status 1

======================================================================
ERROR: test_energy_efficient_max_freq (test_integration.test_static_policy.TestIntegrationStaticPolicy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/test_static_policy.py", line 86, in setUp
    geopm_test_launcher.geopmwrite("POWER_PACKAGE_LIMIT board 0 {}".format(self._tdp_power))
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_launcher.py", line 109, in geopmwrite
    raise err
CalledProcessError: Command 'srun -N 1 -n 1 -J geopm_allocation_test --cpu-freq=Performance -- geopmwrite POWER_PACKAGE_LIMIT board 0 240.0' returned non-zero exit status 22

======================================================================
ERROR: test_freq_map_max_freq (test_integration.test_static_policy.TestIntegrationStaticPolicy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/test_static_policy.py", line 86, in setUp
    geopm_test_launcher.geopmwrite("POWER_PACKAGE_LIMIT board 0 {}".format(self._tdp_power))
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_launcher.py", line 109, in geopmwrite
    raise err
CalledProcessError: Command 'srun -N 1 -n 1 -J geopm_allocation_test --cpu-freq=Performance -- geopmwrite POWER_PACKAGE_LIMIT board 0 240.0' returned non-zero exit status 22

======================================================================
ERROR: test_monitor_no_policy (test_integration.test_static_policy.TestIntegrationStaticPolicy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/test_static_policy.py", line 86, in setUp
    geopm_test_launcher.geopmwrite("POWER_PACKAGE_LIMIT board 0 {}".format(self._tdp_power))
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_launcher.py", line 109, in geopmwrite
    raise err
CalledProcessError: Command 'srun -N 1 -n 1 -J geopm_allocation_test --cpu-freq=Performance -- geopmwrite POWER_PACKAGE_LIMIT board 0 240.0' returned non-zero exit status 22

======================================================================
ERROR: test_power_balancer_power_cap (test_integration.test_static_policy.TestIntegrationStaticPolicy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/test_static_policy.py", line 86, in setUp
    geopm_test_launcher.geopmwrite("POWER_PACKAGE_LIMIT board 0 {}".format(self._tdp_power))
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_launcher.py", line 109, in geopmwrite
    raise err
CalledProcessError: Command 'srun -N 1 -n 1 -J geopm_allocation_test --cpu-freq=Performance -- geopmwrite POWER_PACKAGE_LIMIT board 0 240.0' returned non-zero exit status 22

======================================================================
ERROR: test_power_governor_power_cap (test_integration.test_static_policy.TestIntegrationStaticPolicy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/test_static_policy.py", line 86, in setUp
    geopm_test_launcher.geopmwrite("POWER_PACKAGE_LIMIT board 0 {}".format(self._tdp_power))
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_launcher.py", line 109, in geopmwrite
    raise err
CalledProcessError: Command 'srun -N 1 -n 1 -J geopm_allocation_test --cpu-freq=Performance -- geopmwrite POWER_PACKAGE_LIMIT board 0 240.0' returned non-zero exit status 22

======================================================================
FAIL: test_agent_frequency_map_env (test_integration.geopm_test_integration.TestIntegration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 1154, in test_agent_frequency_map_env
    self._test_agent_frequency_map('test_agent_frequency_map_env', use_env=True)
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 1148, in _test_agent_frequency_map
    self.assertNear(freq_map[region_name] / sticker_freq * 100, region_data['frequency'].item(), msg=msg)
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 128, in assertNear
    self.fail('The fractional difference between {a} and {b} is greater than {epsilon}.  {msg}'.format(a=a, b=b, epsilon=epsilon, msg=msg))
AssertionError: The fractional difference between 38.7096774194 and 44.8208 is greater than 0.05.  all2all frequency should be near assigned map frequency

======================================================================
FAIL: test_agent_frequency_map_policy (test_integration.geopm_test_integration.TestIntegration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 1160, in test_agent_frequency_map_policy
    self._test_agent_frequency_map('test_agent_frequency_map_policy', use_env=False)
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 1148, in _test_agent_frequency_map
    self.assertNear(freq_map[region_name] / sticker_freq * 100, region_data['frequency'].item(), msg=msg)
  File "/dss/dsshome1/07/di57fof2/git/geopm/test_integration/geopm_test_integration.py", line 128, in assertNear
    self.fail('The fractional difference between {a} and {b} is greater than {epsilon}.  {msg}'.format(a=a, b=b, epsilon=epsilon, msg=msg))
AssertionError: The fractional difference between 38.7096774194 and 44.8139 is greater than 0.05.  all2all frequency should be near assigned map frequency

test_agent_energy_efficient (test_integration.geopm_test_integration.TestIntegration) ... skipped 'Define GEOPM_RUN_LONG_TESTS in your environment to run this test.'
test_geopm_environment (test_integration.geopm_test_integration.TestIntegration) ... skipped 'Cannot write to path: /etc/geopm/environment-default.json'
test_power_balancer (test_integration.geopm_test_integration.TestIntegration) ... skipped 'Define GEOPM_RUN_LONG_TESTS in your environment to run this test.'
test_power_consumption (test_integration.geopm_test_integration.TestIntegration) ... skipped 'Define GEOPM_RUN_LONG_TESTS in your environment to run this test.'
test_region_runtimes (test_integration.geopm_test_integration.TestIntegration) ... skipped 'Define GEOPM_RUN_LONG_TESTS in your environment to run this test.'
test_report_and_trace_generation_pthread (test_integration.geopm_test_integration.TestIntegration) ... skipped 'This test only enabled on known working systems.'
test_report_generation_all_nodes (test_integration.geopm_test_integration.TestIntegration) ... skipped "Requires non-sbatch SLURM session for alloc'd and idle nodes."
  Please install in the compute image.'
test_frequency_cap_enforced (test_integration.test_plugin_static_policy.TestIntegrationPluginStaticPolicy) ... skipped 'geopmadmin check failed, there is an issue with the site configuration.'
test_power_cap_enforced (test_integration.test_plugin_static_policy.TestIntegrationPluginStaticPolicy) ... skipped 'geopmadmin check failed, there is an issue with the site configuration.'
test_policy_custom (test_integration.test_profile_policy.TestIntegrationProfilePolicy) ... skipped 'Feature: beta is not enabled, configure with --enable-beta to run this test.'
test_policy_default (test_integration.test_profile_policy.TestIntegrationProfilePolicy) ... skipped 'Feature: beta is not enabled, configure with --enable-beta to run this test.'
FAILED (failures=2, errors=7, skipped=17)

I think I understand all of these failures now.  The EE agent never finishes learning because of a combination of 2 things:

The delta in actual sticker frequency vs. reported sticker frequency.
The delta between achieved frequency and requested frequency.

The other skip tests that require the RUN_LONG_TESTS option won't provide any new information since the short tests are failing.  We need to fix the short ones first.
At this point, I think I have the information I need to open new issues for a future investigation.

In trying to characterize what the problem is with frequency control, I've discovered a few ostensibly related tidbits:
When I allocated a node for testing, it is released to me with the userspace governor set.  If I try to set frequencies with geopmwrite, run a small job, then use geopmread to verify the same frequency is still in PERF_CTL, they match.
I am able to change the governor to performance using the srun option (which is interesting because doing the same through cpupower is forbidden unless you are root).  If I do that, and re-run the previous experiment, I see the PERF_CTL jump to the max turbo frequency 100 % of the time.  Test example:
[di57fof2@i01r01c01s01 test_integration]$ srun -N 1 -n 1 --cpu-freq=Performance -- hostname
i01r01c01s01
[di57fof2@i01r01c01s01 test_integration]$ geopmread MSR::PERF_CTL:FREQ core 0
2300000000
[di57fof2@i01r01c01s01 test_integration]$ srun -N1 -n1 hostname
i01r01c01s01
[di57fof2@i01r01c01s01 test_integration]$ geopmread MSR::PERF_CTL:FREQ core 0
3900000000

While this is weird, I'm not sure how related it is to the achieved frequency being greater than the requested frequency issue I described in my previous comments.  I changed the launcher to emit "userspace" instead of "performance" since I know that "userspace" does not override the PERF_CTL value.  I re-ran the frequency map integration test with fixed frequencies for all the regions.  I performed a few experiments at P0, P1, Pn -1, and Pn.  In all cases the achieved frequency was greater than the requested frequency (even after ensuring the "userspace" governor was in place.
The next step here would be to examine the trace file and plot achieved frequency and requested frequency over time.
Some useful commands:
GEOPM_KEEP_FILES=yes ./geopm_test_integration.py -v TestIntegration.test_agent_frequency_map_policy

geopmread MSR::PERF_CTL:FREQ board 0
geopmwrite MSR::PERF_CTL:FREQ board 0<PHONE_NUMBER>

srun -N 1 -n 1 --cpu-freq=Performance -- hostname

cpupower frequency-info

Suffice to say there's a lot wrong with our ability to control frequency at the moment.  I'm going to start opening issues and stop digging now.

I've opened #990 to continue exploring the frequency control issues.  This work will be of the highest importance for this cluster given the intended use case.
After that #991 describes how we'll need to fix up the integration tests for this cluster.


12 CI fixes from ncc

This ports the 12 CI fixes from https://github.com/zeit/ncc/pull/525.

Codecov Report

Merging #106 into master will decrease coverage by 2.09%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #106      +/-   ##
==========================================
- Coverage   90.67%   88.57%   -2.10%
==========================================
  Files          13       13
  Lines        1115     1129      +14
==========================================
- Hits         1011     1000      -11
- Misses        104      129      +25

Impacted Files
Coverage Δ

src/analyze.js
95.82% <100.00%> (-1.76%)
:arrow_down:

src/utils/special-cases.js
95.83% <100.00%> (+0.18%)
:arrow_up:

src/utils/binary-locators.js
36.84% <0.00%> (-47.37%)
:arrow_down:

Continue to review full report at Codecov.

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


Search for classes in xibs and storyborards

Usage looks like customClass="BaseButton".

Fixed in https://github.com/PaulTaykalo/swift-scripts/pull/6


Add host parameter

Not yet tested.
Wasn't sure how to make the tests, what's here probably isn't ideal, but other ways would take more refactoring I think.

@pivnicek just I haven't noticed earlier but there is some warning in the test:
1) Warning The data provider specified for Keboola\GoodDataExtractor\Test\IntegrationTest::testIntegration is invalid. Trying to invoke protected method Keboola\GoodDataExtractor\Test\IntegrationTest::hostDataProvider() from scope ReflectionMethod
Do you know what does it mean?

@JakubMatejka ah yeah, I think it's that the data provider must be public


Error in Demographics module

I have just downloaded synthea and tried to follow the instructions.
I am able to run it successfully with or without parameters for only Massachusetts.
Any time I try to specify any other state or state [city], I get either unknown city error or unable to load demographics module. I checked the demographics.csv file and verified that the state or state city pairs I specify are actually available. Even the same example from the readme, ./run_synthea Utah "Salt Lake City" causes the same error. Can anyone help me to understand what  I am missing as i dont see this error on the issues previously

Could you post the full output and error message that you're seeing?

./run_synthea Utah "Salt Lake City"

Task :run FAILED
ERROR: unable to load demographics
java.lang.Exception: The city Salt Lake City was not found in the demographics file.
at org.mitre.synthea.world.geography.Location.(Location.java:47)
at org.mitre.synthea.engine.Generator.init(Generator.java:133)
at org.mitre.synthea.engine.Generator.(Generator.java:106)
at App.main(App.java:83)
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.mitre.synthea.world.geography.Location.(Location.java:63)
at org.mitre.synthea.engine.Generator.init(Generator.java:133)
at org.mitre.synthea.engine.Generator.(Generator.java:106)
at App.main(App.java:83)
Caused by: java.lang.Exception: The city Salt Lake City was not found in the demographics file.
at org.mitre.synthea.world.geography.Location.(Location.java:47)
... 3 more

The error is being caused by the options processing. It is checking against an empty state at: https://github.com/synthetichealth/synthea/blob/master/src/main/java/App.java#L68
but the state is initially set to Massachusetts at:
https://github.com/synthetichealth/synthea/blob/master/src/main/java/org/mitre/synthea/engine/Generator.java#L65
If you follow the option parsing logic, the initial set to DEFAULT_STATE causes it to ignore what was passed in. This means you can only ever do cities in the DEFAULT_STATE, Massachusetts.

I ran the changes that you committed to GitHub and these work perfectly!  Thank you!
Also, I ram for Miami, FL with no issues.

Hello,
For some reason, I am getting the same error when I try  ./run_synthea Michigan "Baraga". Please how can I resolve it?

I changed .csv export to true and tried the latest version and v3.1.1. I am using ubuntu vm.

sudo ./run_synthea -p 18  Michigan “Houghton” --config covid19

Task :run FAILED
ERROR: unable to load demographics
java.lang.Exception: The city “Houghton” was not found in the demographics file for state Michigan.
at org.mitre.synthea.world.geography.Location.(Location.java:74)
at org.mitre.synthea.engine.Generator.init(Generator.java:226)
at org.mitre.synthea.engine.Generator.(Generator.java:208)
at org.mitre.synthea.engine.Generator.(Generator.java:184)
at App.main(App.java:229)
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.mitre.synthea.world.geography.Location.(Location.java:102)
at org.mitre.synthea.engine.Generator.init(Generator.java:226)
at org.mitre.synthea.engine.Generator.(Generator.java:208)
at org.mitre.synthea.engine.Generator.(Generator.java:184)
at App.main(App.java:229)
Caused by: java.lang.Exception: The city “Houghton” was not found in the demographics file for state Michigan.
at org.mitre.synthea.world.geography.Location.(Location.java:74)
... 4 more

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':run'.

Process 'command '/usr/lib/jvm/java-11-openjdk-amd64/bin/java'' finished with non-zero exit value 1

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org/

BUILD FAILED in 3s
4 actionable tasks: 2 executed, 2 up-to-date

sudo ./run_synthea -p 18 Michigan “Houghton” --config covid19
It looks like those quotes are the special character versions “” and not the usual "", so the program is looking for a city with the literal name “Houghton” including those quotes which doesn't exist.
Can you try running it without the quotes?
If you want to run it for a city or state with a space in the name you will still need to use quotes but make sure they are the standard "" and not for example the smart quotes that MS Office products sometimes replace them with.


my mouse pointer reverses left and right in tmux

env:
archlinux + i3
The cursor theme is xcursor-simpleandsoft installed from pacman.
Here is what it looks like normally (outside alacritty, or in alacritty without tmux)

But when entered tmux in alacritty,  it became:

Looks like it's trying to set a cursor but the cursor doesn't exist. This kinda feels like a system setup issue with your cursor theme.

@chrisduerr
Thank you. But I have no idea how to debug it. Any advice?

This has some instructions on properly setting up cursor themes:
https://wiki.archlinux.org/index.php/Cursor_themes
You should also make sure that your cursor theme actually supports all cursors.

You should also make sure that your cursor theme actually supports all cursors.

I think it does.
I've been using this theme for some weeks and this problem only happened in alacritty+tmux.

@chrisduerr

You're right. My theme doesn't support enough cursors. Adwaita and other several themes look fine in alacritty+tmux.
In tmux alacritty choosed a different cursor with other terminals.


Renames AllowedGatewayNamespaceSelector Field

Renames AllowedGatewayNamespaceSelector to GatewayNamespaceSelector for brevity and consistency with other selector-based fields. This PR also adds the omitempty tag to the field since it's optional and makes minor changes to the field's godocs.
/hold until https://github.com/kubernetes-sigs/service-apis/pull/285 merges and then update docs-src/security-model.md to reference new field name.

This is an interesting approach. In #285 I tried to shorten the name by cutting off Selector. The result was AllowedGatewayNamespaces instead of GatewayNamespaceSelector. I liked the clarity of Allowed in the name more than Selector, but I think this is a fairly subjective thing. Now that we're removing Route auth from GatewayClass entirely, I wonder if we could get away with something more generic like NamespaceSelector or AllowedNamespaces.

Thanks for filing this! In #285 I tried to shorten the name by cutting off Selector.

This has been brought up before but we never acted on it. Is cutting off Selector from all places a good change that we should pursue in the entire API?

Closed in favor of the updated naming implemented in https://github.com/kubernetes-sigs/service-apis/pull/285.


Add elasticsearch dump script

This commit adds the elastic dump script which
dump the elasticsearch database in the local
file system. The dump will be uploaded in swift
in the same manner as the other logs.

Can you also add some unit-test. I don't think we need a 100% coverage, but at least a test to ensure the script still compile would be a good thing :)


Decouple OffTargetDetector from the prymer data structures

It'd be helpful if OffTargetDetector did not require Oligo or PrimerPair objects as input.
The off-target detection does not use any of the primer-related metrics that appear on these classes (e.g. tm, penalty), and this design constraint makes it challenging to reuse this functionality in other contexts.
I think the detection methods could be re-written to accept strings (or string tuples, for pair checking) as input. We could also consider accepting a Protocol for any class that includes a sequence or bases attribute.

My 2c is that this is likely an "and", not an "instead of".  I would object to there being two sets of functions:

One that takes primers/primer pairs
One that takes just sequences (or pairs of sequences) as strings

However, long term I think it is useful to have functions that take the richer objects.  There are features I'd like to implement in OffTargetDetector that would require them (or a much more complicated Protocol), including:

Filtering out the on target locations of primers when returning "off target" mappings
Being able to filter off-target mappings by thermodynamic properties (e.g. the off-target mapping's Tm is at least 10C lower than the on-target Tm)

The functions that take just strings would not be able to do this, but that doesn't mean we shouldn't have them as an alternative.


[Bug Fix] resolve email threads

Addresses: https://github.com/restarone/violet_rails/issues/1234

For testing purpose, it has been deployed to review-app.

Acceptance criteria:

sending email ⌛
receiving email ⌛
sending an email with attachments ⌛
receiving an email with attachments ⌛
receiving email in thread ⌛
sending email in thread ⌛
sending automated emails (https://team.restarone.solutions/tracker) ⌛


🧪 Improve Quality and Coverage of Unit Tests in modernisation-platform-instance-scheduler

User Story
As a Modernisation Platform Engineer
I expect to have a high confidence that unit tests will capture any errors in my code
So that I can be confident my changes do not contain bugs or unintended breaking changes
Value / Purpose
The value of increasing the unit test coverage in the instance scheduler is to ensure engineers can be aware sooner if their changes break anything since unit tests are quick and easy to run locally.
This also has the benefit of being less dependent on our current integration testing process to capture bugs, meaning we can start to move away from this implementation of quality assurance.
Ideally, as well, properly unit testing the code will help highlight areas of the code that can/should be refactored to be more modular, less coupled and ultimately easier to test, read and understand.
Useful Contacts
No response
Additional Information

Relates to https://github.com/ministryofjustice/modernisation-platform-instance-scheduler/issues/138
Discussion about the integration testing strategy currently implemented can be found in this thread
You can create a coverage web page of the code by running the following command (although I had to delete the integration test file first)

go test -coverprofile=coverage.out && go tool cover -html="coverage.out"

Proposal / Unknowns
Hypothesis If we... [do a thing] Then... [this will happ]
Proposal A proposal that is something testable, don't worry whether it works or not, it's a place for ideas.
Unknowns Potential pitfalls that could cause the story to expand beyond its original scope. Ideally this section will remain blank.
Definition of Done

[ ] Unit test coverage is ~95% (ideally as close to 100% as possible!)
[ ] Appropriate assertions are in the tests to verify the logic is working as expected (getting the coverage is easy, ensuring the right assertions to correctly test the logic is the hard part!)
[ ] Where appropriate, code has been refactored to be more modular, readable and testable (ideally, do this after writing the tests for that functionality to ensure no breaking changes)
[ ] All code branches of functional code execution have coverage and assertions to ensure functional changes will trigger a failing test
[ ] Another team member has reviewed
[ ] Tests are green

@connormaglynn and I have caught up and agreed to close this ticket and make further improvements to the code quality by using our 10% time dedicated to L&D.
Closing this issue.


Automatically strip +tag part from username

Added tests and tried on my account.
Also tested that dots in the username don't affect the login process and therefore can be left as is (you can add them in email address, e.g<EMAIL_ADDRESS>equals ab@gmail.com).
Closes #260

Apparently in some exotic setup it's possible to have a + in the username.


Add MongoDB for CRUD with typeorm

[x] Create Record in DB
[x] Read Record in DB
[x] Update Record in DB
[x] Delete Record in DB
[x] Updare README (add .env instructions)
[x] Fix unit tests
[ ] Fix e2e tests

closes #34

I added the mongo service, but it still is not connecting. I suggest next step is to create a simple mongo js script to run in the action to see if we can ping it. I saw something like this
var connectionString = "mongodb://localhost";
var client = new MongoClient(connectionString);
var server = client.GetServer();
server.Ping();

Thank you for the PR. But this is no longer needed.


New categories do not show up when created with no new modules.

Program Version.

v0.1.0
Steps to reproduce.

Create a new category, then query it through the API by getting a page's information.
Bug Solutions.
Select the category no matter how many members there are.
Other Details.

This blocks v0.1.0 because it prevents the frontend from allowing users to insert a new category and mutate it at all.

Another solution here would be to enforce on client-side simultaneous creation of a module.


Update setup

I should note that I tried building this in a clean ubuntu-20.04 with both the basic pip and the pip --use-feature=in-tree-build, and it seemed to have worked.


docs: :memo: Add workshop documentation and references

Description
Add documentation and references from first Workshop delivered.
Why
Request by the team instead of the use of Google Slides deck.
Issue
N/A
Checklist

[X] I have followed the contributing guidelines
[X] I have performed a self-review of my changes
[X] I have commented my changes, particularly in hard-to-understand areas

@evegufy All the content was pushed here for your review. Includes the workshop's summaries and the PoC Helm Chart implementation. If you have comments or questions, please, let me know.
Thanks

@rmarting please also update the PR description, it's still from the 1rst workshop, thanks.

@evegufy Moved the Helm Chart to the new location, however, I am trying to create my Eclipse Foundation account but it is not working, as I am not getting the confirmation email.
The PR is named without references for the first workshop, just the name of my personal branch. Are you asking to change the name of my branch?
Thanks

@evegufy Moved the Helm Chart to the new location, however, I am trying to create my Eclipse Foundation account but it is not working, as I am not getting the confirmation email.
The PR is named without references for the first workshop, just the name of my personal branch. Are you asking to change the name of my branch?
Thanks

Hi @rmarting thanks for moving the example chart!
Regarding updating the PR description, I just meant updating the main comment of the PR:

Regarding the missing confirmation when creating of the Eclipse Foundation account: That's a bit out of my reach but Ican create a EF Helpdesk issue, I assume you used you RH mail address for creating the account, right?
There's still the conflict in the consultation.md file, could you please solve that?

Sorry @evegufy as I can see the conflict in the consultation.md file, as in the PR that file is safe to be merged. Could you give more context about which conflicts are there?
Updated the PR description, and I am still waiting to the the Eclipse Foundation account. Tested with my RH email, and personal one ... but same results! :disappointed:

Sorry @evegufy as I can see the conflict in the consultation.md file, as in the PR that file is safe to be merged. Could you give more context about which conflicts are there?
Updated the PR description, and I am still waiting to the the Eclipse Foundation account. Tested with my RH email, and personal one ... but same results! 😞

@rmarting I'm not sure, I understand your comment correctly but I mean the following conflict:

I recommend rebasing to the 'docs/consultation' base branch.
Regarding Eclipse Foundation Account: I'll check how to support and get back to you.

Done! Just waiting to create the EF account property. The main issue is that the confirmation email do not arrive on time, it is taking several hours, and when I click in the links to confirm, it is expired. I am trying from time to time, but it is always the same issue. I will confirm you when my account is ready (as, this is the only thing pending to do)

@evegufy Signed my ECA and now all the checks have passed! So, DONE! :tada: :sparkles:


Configure Travis to Deploy Snapshots on commit to master

Fixes #86

@loosebazooka PTAL
I verified that it works using the previous commit to this branch.

can you ensure it's only snapshots?

Maybe, but why? The master should never have a non-snapshot version. Even if it did, it would never make it out to Maven Central without additional steps.

Well, either way a check would be nice. Can you file a bug and then :ski:


ARROW-412: [Format][Documentation] Clarify that Buffer.length in Flatbuffers reflects the IPC writer's intention for the protocol reader

There had previously been some questions about whether the Buffer Flatbuffers struct should include padding bytes in its length or not. This adds documentation that the "length" need not be prescriptive about this -- if the writer intends the reader to receive a padded Buffer, then the padding bytes can be included, but it is not a requirement. The protocol requires that padding bytes to a minimum multiple of 8 be written nonetheless.

I'm not sure if this documentation point bears discussion on the mailing list, but it's been in the issue tracker for a while so I wanted to take a crack at it. Another possibility is to require that padding be included in Buffer; I'm concerned that this might be less flexible
Currently C++ includes padding in Buffer.length. Java does not. I don't know if either is necessarily right or wrong

Codecov Report

Merging #4370 into master will increase coverage by 15.16%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #4370       +/-   ##
===========================================
+ Coverage   72.26%   87.43%   +15.16%
===========================================
  Files         822      997      +175
  Lines      107713   139728    +32015
  Branches     1418     1418
===========================================
+ Hits        77844   122173    +44329
+ Misses      29507    17193    -12314
  Partials      362      362

Impacted Files
Coverage Δ

cpp/src/arrow/testing/gtest_util.h
97.36% <0%> (-2.64%)
:arrow_down:

cpp/src/arrow/compute/kernel.h
61.16% <0%> (-1.53%)
:arrow_down:

cpp/src/arrow/result.h
91.3% <0%> (-0.37%)
:arrow_down:

cpp/src/arrow/csv/column-builder.h
100% <0%> (ø)
:arrow_up:

cpp/src/arrow/table_builder.h
100% <0%> (ø)
:arrow_up:

cpp/src/plasma/plasma.h
100% <0%> (ø)
:arrow_up:

cpp/src/gandiva/expression_registry.h
100% <0%> (ø)
:arrow_up:

cpp/src/gandiva/configuration.h
100% <0%> (ø)
:arrow_up:

cpp/src/arrow/compute/kernels/cast.h
100% <0%> (ø)
:arrow_up:

cpp/src/parquet/arrow/writer.h
100% <0%> (ø)
:arrow_up:

... and 411 more

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 9ffb9cd...ea5549c. Read the comment docs.

@wesm has this been captured in your recent doc updates?

No, we should port these changes to the new document and if necessary have a discussion on the mailing list.

I think this comment is the only thing that matters
  /// The absolute length (in bytes) of the memory buffer. The memory
  /// is found from offset (inclusive) to offset + length
  /// (non-inclusive). In the IPC protocol, buffer lengths are always
  /// padded to a minimum size multiple of 8, but the length here is
  /// the Buffer size that the writer intends the reader to
  /// receive. For example, a buffer of size 1 may go on the wire with
  /// 1 byte plus 7 bytes of padding, though the length here can
  /// either be 1 or 8

Closing in favor of a new PR

I'll just reset and then force push here

I revised the PR and wrote to the mailing list to draw more attention to this old PR

+1. I updated to reflect the mailing list discussion


CopperheadOS documentation cannot be copied

The documentation has never been available under a free software license and doesn't offer the right to make derivatives of it. Documentation is copyrighted just like code. Linking to the CopperheadOS technical overview is also misleading now that it offers more features and improved sandboxing compared to what it did before it was relicensed.

@thestinger you should probably fix your site, there's not a single copyright notice anywhere. It's an easy assumption to make that OSS code also means OSS documentation, as that's true of other OSS projects.

@thestinger Fine, I'll remove part of the README and rephrase the rest. The link to your technical overview is there because I wanted to make clear that I wasn't the author, and give you the right credit. I will keep the fact that this is forked from your repository, as it is factually what happened. Please don't consider this fork with hostility, I just wanted a simple yet useful project for myself and others to play with and learn.
As @AdFad666, a copyright notice would have prevented this, adding it is a good suggestion.
What I apologize for is not asking before publishing the fork. The license allowed me to, but it would have been more polite.

@AdFad666 Everything is copyrighted by default.

@thestinger please checkout the README, then if it's fine please close this issue, otherwise let me know what you would like to be changed.

It's fine, thanks.

@thestinger don't worry, I know how copyright works, but there's a reason everyone puts their copyright notices everywhere - many people don't know how it works.
Also you're assuming copyright works the same in every jurisdiction. Until not long ago even in the US it was possible get away with minimal damages with the 'I didn't know it was copyrighted' excuse when there wasn't a copyright notice. I'm sure that's still a valid excuse elsewhere.


Code improvements

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c646885) 100.00% compared to head (99d0871) 100.00%.

:exclamation: Current head 99d0871 differs from pull request most recent head 18f05d0. Consider uploading reports for the commit 18f05d0 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #515   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           19        19
  Lines         3302      3298    -4
=========================================
- Hits          3302      3298    -4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🐛 Emojis causing encoding issues on Windows

Emojis are not being encoded correctly on Windows and prevent the script from running ☹
In some places quotation characters are added which causes a mismatch on parentheses

Figure: Improperly encoded emoji character in source code

Figure: Error when attempting to run the script

Terminal was defaulting to desktop and not core, no longer an issue


SM-55 - Create reparation request index REST API endpoint

Closes #55

@Hoopless I think we should version API resources as well. They are part of the dat a contract. What's you view on this?

I've been thinking about the current design and I'll make the following adjustments:

[ ] A new API directory will be created in the App namespace: \App\API.
[ ] Everything related to version 1 of the REST API will be moved to \App\API\V1

[ ] Controllers
[ ] Resources

@Hoopless I think we should version API resources as well. They are part of the dat a contract. What's you view on this?

I believe that this is a valid point to view on. How can we integer the data for that version? Should we go this way, isn't there a better way to avoid data changing with versions without the resources?
I don't have any advice for this, as I had no experience with this.

@Hoopless I've finished writing the tests for the resource. Could you review this pull request again? Then you can rebase or merge the acceptance branch into your pull requests and finish them.

Codecov Report

Merging #68 (b2ba16e) into acceptance (f7a65ea) will increase coverage by 3.07%.
The diff coverage is 100.00%.

:exclamation: Current head b2ba16e differs from pull request most recent head 523d852. Consider uploading reports for the commit 523d852 to get more accurate results

@@               Coverage Diff                @@
##             acceptance      #68      +/-   ##
================================================
+ Coverage         71.33%   74.41%   +3.07%
- Complexity          103      109       +6
================================================
  Files                38       44       +6
  Lines               307      340      +33
================================================
+ Hits                219      253      +34
+ Misses               88       87       -1

Impacted Files
Coverage Δ

...Controllers/Auth/ConfirmablePasswordController.php
0.00% <ø> (ø)

...s/Auth/EmailVerificationNotificationController.php
0.00% <ø> (ø)

app/Http/Middleware/Authenticate.php
100.00% <ø> (ø)

app/Http/Middleware/EnsureEmailIsVerified.php
0.00% <ø> (ø)

...1/Http/Controllers/ReparationRequestController.php
100.00% <100.00%> (ø)

.../V1/Http/Resources/ReparationRequestCollection.php
100.00% <100.00%> (ø)

.../Resources/ReparationRequestMaterialCollection.php
100.00% <100.00%> (ø)

...PI/V1/Http/Resources/ReparationRequestResource.php
100.00% <100.00%> (ø)

...tp/Resources/ReparationRequestStatusCollection.php
100.00% <100.00%> (ø)

app/API/V1/Http/Resources/UserResource.php
100.00% <100.00%> (ø)

... and 2 more

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 f7a65ea...523d852. Read the comment docs.

@Hoopless I've added the JSON API configuration file.


unify tag lexer definitions between indexer and monorepo

Move tag lexer definitions from internal repo to open source repo.
Change ingest CheckTag and friends to use new definitions.

lgtm


ModuleNotFoundError: No module named 'tensorflow'  in spyder | windows + anaconda

System information

OS Platform and Distribution : Windows 10 64-bits
TensorFlow installed from (source or binary): Python 3.6 CPU-only | https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.13.1-cp36-cp36m-win_amd64.whl
TensorFlow version: 1.13.1
Python version: 3.6.8
Installed using virtualenv? pip? conda?: conda

Describe the problem
Hi,
I have struggled for hours to install tensorflow to Anaconda and finally succeeded. Hope my experience can help those who have same problem with installation.
I have tried a lot of methods before, such as:
pip install tensorflow
conda install tensorflow

etc,.
These methods might act as it installed properly but when I tested it in spyder, there were some problems, such as:

ImportError: cannot import name 'abs'
attributeerror: module 'tensorflow' has no attribute 'version'

I  just installed tensorflow successfully in Anaconda following the instructions from: https://www.tensorflow.org/install/pip
2. Create a virtual environment (recommended)
(base) C:\Users\XXXX>conda create -n venv pip python=3.6
(base) C:\Users\XXXX>conda activate venv
(venv) C:\Users\XXXX>pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.13.1-cp36-cp36m-win_amd64.whl

Then I test it in terminal:
(venv) C:\Users\XXXX>python
Python 3.6.8 |Anaconda, Inc.| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> tf.__version__
'1.13.1'

It works!
But when I tried to import tensorflow in spyder:

ModuleNotFoundError: No module named 'tensorflow'

Solution
This problem might cause by using virtual environment, and in Anaconda, your spyder or Jupyter Notebook works in default root, but tensorflow is installed in an isolated virtual environment 'venv'. So just install a new spyder or Jupyter Notebook under the virtual enviroment.

Open Anaconda Navigation

Change 'Applications on' to the virtual environment you just created ('venv')

Install a new spyder under 'venv'

Run the new spyder and test

@danny1718 Great. Thanks for the detailed instructions. This will really help for people who user Anaconda to install TF in virtual environment. Thanks again.

Thanks for the detailed instructions. I closing this issue.
This is not Build/Installation or Bug/Performance issue. Please post this kind of support questions at Stackoverflow. There is a big community to support and learn from your questions. GitHub is mainly for addressing bugs in installation and performance. Thanks!

Thank you so much. Very much appreciable. @danny1718

super amazing, this is the most valuable posts I ever saw, directly solve my problem!! THX
one more small question, which environment would be better to install? why not install all packages in the base or root environment?

Thanks a lot for these instructions. I could not find them anywhere else.

Excelent, clever guy ..

thank you so much

I created the another environment "tf" from anaconda navigator and installed the Jupyter. Now what happened is that in this new Jupiter my tensoflow works but all other previously installed libraries do not work(like sklearn)m and in the old jupyter tensorflow doesnt work and other libraries work.
So how to solve this issue?

I created the another environment "tf" from anaconda navigator and installed the Jupyter. Now what happened is that in this new Jupiter my tensoflow works but all other previously installed libraries do not work(like sklearn)m and in the old jupyter tensorflow doesnt work and other libraries work.
So how to solve this issue?

Hi Dipen,
The libs installed in the default environment would not work in the 'tf' environment because they are two separate environments. And also, tensorflow was installed in the 'tf' environment so it can't be found in the default one.
To solve this issue, you can install all the libs you need in 'tf' use pip (recommended) or you can re-install tensorflow in the default environment.

If you are using anaconda navigator then this might be a alternate solution :
i) First at the initial time when you are installing anaconda navigator you will start with the base_DIR as the environment
ii.) Next set up Tensorflow in the base environment by running ''conda install tensoflow '' in base directory
iii.) Next as you install Tensorflow over there you can find anather virtual environment Tensorflow_gpu in anaconda navigator

as shown in the image
iv.) select it as the default environment run it in terminal and pass the command :

Next directly download Jupyter Lab or notebook or Spyder over it and launch it with the command : %load_ext tensorboard
It will work .
Thank you

Yess finally thank you

System information

OS Platform and Distribution : Windows 10 64-bits
TensorFlow installed from (source or binary): Python 3.6 CPU-only | https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.13.1-cp36-cp36m-win_amd64.whl
TensorFlow version: 1.13.1
Python version: 3.6.8
Installed using virtualenv? pip? conda?: conda

Describe the problem
Hi,
I have struggled for hours to install tensorflow to Anaconda and finally succeeded. Hope my experience can help those who have same problem with installation.
I have tried a lot of methods before, such as:
pip install tensorflow
conda install tensorflow

etc,.
These methods might act as it installed properly but when I tested it in spyder, there were some problems, such as:

ImportError: cannot import name 'abs'
attributeerror: module 'tensorflow' has no attribute 'version'

I just installed tensorflow successfully in Anaconda following the instructions from: https://www.tensorflow.org/install/pip
2. Create a virtual environment (recommended)
(base) C:\Users\XXXX>conda create -n venv pip python=3.6
(base) C:\Users\XXXX>conda activate venv
(venv) C:\Users\XXXX>pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.13.1-cp36-cp36m-win_amd64.whl

Then I test it in terminal:
(venv) C:\Users\XXXX>python
Python 3.6.8 |Anaconda, Inc.| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> tf.__version__
'1.13.1'

It works!
But when I tried to import tensorflow in spyder:

ModuleNotFoundError: No module named 'tensorflow'

Solution
This problem might cause by using virtual environment, and in Anaconda, your spyder or Jupyter Notebook works in default root, but tensorflow is installed in an isolated virtual environment 'venv'. So just install a new spyder or Jupyter Notebook under the virtual enviroment.

Open Anaconda Navigation

Change 'Applications on' to the virtual environment you just created ('venv')

Install a new spyder under 'venv'

Run the new spyder and test

Thanks for the links
i found anaconda link through which i've installed tensorflow in just two commands
conda create --name py3-TF2
conda install -c anaconda tensorflow
the second command is a list of sub-commands customized by anaconda community
after installation i have
python                    3.7.9
tensorflow                2.1.0
tensorboard               2.2.1
numpy                     1.19.1
pip                       20.2.2
scipy                     1.5.2

Thanks for the links
i found anaconda link through which i've installed tensorflow in just two commands
conda create --name py3-TF2
conda install -c anaconda tensorflow
the second command is a list of sub-commands customized by anaconda community
after installation i have
python 3.7.9
tensorflow 2.1.0
tensorboard 2.2.1
numpy 1.19.1
pip 20.2.2
scipy 1.5.2

Anaconda on Windows is such a pain in the ass. If I install Anaconda with all the libraries, then I expect to have all the tools integrated in my venv, including TensorFlow, but then that takes 10 minutes to install because I'm on my secondary HDD with Windows 10 installed, and not my primary NVM.e SSD drive where I have my Linux distro installed, because ultimately, and here is my main rant against whom I have: NVIDEA!! because they do not release Open Source Drivers for their GPU's and make so many people's lives a pain in the ass! Feel me? Yes, because, f**k NVIDEA

@danny1718 - I went through the same painful steps and then I saw this post. You saved my interest in tensorflow! All working beautifully now.

[Solved] Spyder ModuleNotFoundError In anaconda


Switch from master to main as default branch

Expected Behavior
"main" is the default branch
Actual Behavior
"master" is the default branch

Sure. Changed to main. 👍


HLL++ marshaling and unmarshaling

This is to make it easy to persist your HLL++s to disk/database. I tried to optimize for space, not CPU. The sparse list is snappy compressed, and the dense list uses fewer bits to store each register if possible.
There was a little bit of whitespace change in compressed.go from gofmt.
I would appreciate any feedback have.

Closing for now, need to do some more work on versioning safety.


[FEATURE] Open settings button

Briefly describe the feature idea:
Messages that tell the user to check their settings could have a button that opens the Settings->Dodona window for them.

Closed in commit 285b4fffc79387969667605af84e451d4834a1ef


hardcoding profile only variables that would need calculated P, Z

#56

mostly resolved, except p65plbwpv, and pu18bwpv

mostly resolved, except p65plbwpv, and pu18bwpv


FIX: renumberSerial activated

renumberSerial option previously not activated

Looks good, thanks!
Eventually we should have unit tests for such things

for the next time, do you also want updated js files produced by build
included?
Am 12.01.2016 03:07 schrieb "Alexander Rose"<EMAIL_ADDRESS>
Merged #42 https://github.com/arose/ngl/pull/42.
—
Reply to this email directly or view it on GitHub
https://github.com/arose/ngl/pull/42#event-511886629.

for the next time, do you also want updated js files produced by build included?

no build files please


Build and use tip-of-tree Chromium content shell on bots

Can we build Chromium content shell from tip-of-tree (or perhaps http://dev.chromium.org/developers/how-tos/get-the-code#TOC-LKGR) on a semi-regular basis and use that for our dart2js tests?
Ideally, using a new content shell would trigger a separate line in the waterfall, so we could see that new failures are due to the new content shell.
Today, we're seeing failures (e.g., "int is not int") only when we do Dartium rolls.

We are no longer using content shell.


Add configuration/environment hostname errors on the status page

What does this PR do?
Add configuration/environment hostname errors on the status page
Motivation
Since #2103 we display hostname errors on the status page

 Update the status page to display hostname errors and provider


Dead link: Performance and Latency of Azure Service Bus Premium tier

Is it possible to provide the link titled: "Performance and Latency of Azure Service Bus Premium tier"?

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

ID: 0c3af764-3978-6abe-f756-2c2c4ef47e31
Version Independent ID: c4dca68a-1c95-42af-9eb3-e1dc9a66a692
Content: Azure Service Bus messaging overview
Content Source: articles/service-bus-messaging/service-bus-messaging-overview.md
Service: service-bus-messaging
GitHub Login: @axisc
Microsoft Alias: aschhab

@PingPongSet
Thanks for your feedback! We will investigate and update as appropriate.

@PingPongSet I have assigned the issue to the content author to evaluate and update as appropriate.

@PingPongSet - I am looking into it. The content may have been migrated into this article:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-premium-messaging
There is a blog post from the architect here:
https://azure.microsoft.com/en-us/blog/introducing-azure-service-bus-premium-messaging/
Video:
https://channel9.msdn.com/Blogs/Subscribe/Introducing-Azure-Service-Bus-Premium-Messaging

@PingPongSet - here is the new link:
https://techcommunity.microsoft.com/t5/Service-Bus-blog/Premium-Messaging-How-fast-is-it/ba-p/370722
I have updated the article. It will go live around 3:30 PST today.
#please-close