Shift-Digit Shortcuts are broken on macOS

Shift Keyboard Key not detected
A while ago, almost all keyboard shortcuts in our app stopped working. Now, I investigated it and realized that shift is completely broken.
That is, any shortcuts that use shift do not work. That applies both to SingleActivator as well as LogicalKeySet; LogicalKeyboardKey.shift simply seems to be broken. This happens to our users on Chrome using any device (Windows laptop, Macbook, w/e).

SingleActivator(
  LogicalKeyboardKey.keyA,
)

Is detected but:
SingleActivator(
  LogicalKeyboardKey.keyA,
  shift: true,
)

is not detected. All the other modifiers still work.
Steps to Reproduce

Run flutter create bug --platforms=web.
Update main.dart as follows:

Click to expand code snippet
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Shift is broken',
      shortcuts: const {
        SingleActivator(
          LogicalKeyboardKey.keyA,
          control: true,
        ): PrintIntent(false),
        SingleActivator(
          LogicalKeyboardKey.keyA,
          shift: true,
        ): PrintIntent(true),
      },
      actions: {
        PrintIntent: CallbackAction<PrintIntent>(onInvoke: (intent) {
          if (intent.shift) {
            // This is never called.
            print('Shift is working');
            return;
          }
          print('Control is working.');
        }),
      },
      builder: (context, child) {
        return const Focus(
          autofocus: true,
          child: Placeholder(),
        );
      },
    );
  }
}

class PrintIntent extends Intent {
  const PrintIntent(this.shift);

  final bool shift;
}

Run cd bug and flutter run -d chrome.
Focus the window.
Press CTRL + A.
Press SHIFT + A.

Expected results: Control is working. and then Shift is working.
Actual results: Control is working. only.

Logs
Performing hot restart...
Waiting for connection from debug service on Chrome...
Restarted application in 374ms.
Control is working.
Control is working.
Control is working.

[✓] Flutter (Channel dev, 2.6.0-5.1.pre, on Microsoft Windows [Version 10.0.19042.1165], locale en-150)
    • Flutter version 2.6.0-5.1.pre
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f2903d3da5 (7 days ago), 2021-09-08 12:44:29 -0700
    • Engine revision 0bd9be379a
    • Dart version 2.15.0 (build 2.15.0-82.0.dev)

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

[✓] Connected device (3 available)
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 93.0.4577.82

Hi @creativecreatorormaybenot, Thanks for filing the issue. I am able to replicate the issue on the latest stable 2.5.0 as well as the latest master 2.6.0-6.0.pre.114. Shift shortcuts work perfectly fine on the older version (stable 2.2.3) this can be verified with the below code sample.
It seems like this is a regression introduced in https://github.com/flutter/flutter/pull/80756
For the code sample below which looks for keybindings ctrl+N or shift+N
The keybinding shift+N works if N is pressed first followed by shift. But this doesn't work for the above example  which uses SingleActivator

code sample
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData.dark().copyWith(
        scaffoldBackgroundColor: Colors.blue,
      ),
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: HomeworkPane(name: 'Homework'),
        ),
      ),
    );
  }
}

class NewHomeworkIntent extends Intent {
  const NewHomeworkIntent({required this.name});

  final String name;
}

class HomeworkPane extends StatefulWidget {
  const HomeworkPane({Key? key, required this.name}) : super(key: key);

  final String name;

  @override
  _HomeworkPaneState createState() => _HomeworkPaneState();
}

class _HomeworkPaneState extends State<HomeworkPane> {
  final List<String> _homework = <String>[];

  void _createNewHomework(String name) {
    print('Creating new homework $name');
    setState(() {
      _homework.add(name);
    });
  }

  @override
  Widget build(BuildContext context) {
    return Shortcuts(
      shortcuts: <LogicalKeySet, Intent>{
        LogicalKeySet(LogicalKeyboardKey.control, LogicalKeyboardKey.keyN):
            NewHomeworkIntent(name: '${widget.name} ${_homework.length + 1}'),
        LogicalKeySet(LogicalKeyboardKey.shift, LogicalKeyboardKey.keyN):
            NewHomeworkIntent(name: '${widget.name} ${_homework.length + 1}'),
      },
      child: Actions(
        actions: <Type, Action<Intent>>{
          NewHomeworkIntent: CallbackAction<NewHomeworkIntent>(
              onInvoke: (NewHomeworkIntent intent) =>
                  _createNewHomework(intent.name)),
        },
        child: Focus(
          autofocus: true,
          child: Column(
            children: <Widget>[
              const Text('List of Homework'),
              ..._homework.map<Widget>((String name) => Text(name)).toList(),
            ],
          ),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 2.6.0-6.0.pre.114, on macOS 11.5.2 20G95 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-6.0.pre.114 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cd1892f04f (4 hours ago), 2021-09-15 22:17:02 -0700
    • Engine revision 5a09f16031
    • Dart version 2.15.0 (build 2.15.0-110.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.5.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.2)
    • 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.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • 5430F628-A903-402C-A635-D55D7E6EEFCA • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 11.5.2 20G95 darwin-arm
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 93.0.4577.82

• No issues found!

[✓] Flutter (Channel stable, 2.5.0, on macOS 11.5.2 20G95 darwin-arm, locale en-GB)
    • Flutter version 2.5.0 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cc385b4b8 (8 days ago), 2021-09-07 23:01:49 -0700
    • Engine revision f0826da7ef
    • Dart version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.2)
    • 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.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • 5430F628-A903-402C-A635-D55D7E6EEFCA • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 11.5.2 20G95 darwin-arm
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 93.0.4577.82

• No issues found!

[✓] Flutter (Channel stable, 2.2.3, on macOS 11.5.2 20G95 darwin-arm, locale en-GB)
    • Flutter version 2.2.3 at /Users/mahesh/Documents/flutter_dev
    • Framework revision f4abaa0735 (3 months ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.2)
    • 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.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • 5430F628-A903-402C-A635-D55D7E6EEFCA • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 11.5.2 20G95 darwin-arm
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 93.0.4577.82

• No issues found!

@maheshmnj should I create a separate issue for the "Option (or Alt) ⌥" key?

CC @justinmc @LongCatIsLooong

@dkwingsmt it looks like when Shift is pressed the logical key reported for A is 0x00000041 and we're expecting 0x00000061:
flutter: event: RawKeyUpEvent#e4f4e(logicalKey: LogicalKeyboardKey#00041(keyId: "0x00000041", keyLabel: "A", debugName: "Key A"), physicalKey: PhysicalKeyboardKey#70004(usbHidUsage: "0x00070004", debugName: "Key A")), candidatesByKey: null, candidatesByNull: null
flutter: {LogicalKeyboardKey#00061(keyId: "0x00000061", keyLabel: "A", debugName: "Key A"): [_ActivatorIntentPair#cec76(activator: Control + Key A, intent: PrintIntent#891c9), _ActivatorIntentPair#f9136(activator: Shift + Key A, intent: PrintIntent#3908e)]}

I also took a quick look at tracking down the PR that caused this, but to me it looks like it was something before both https://github.com/flutter/flutter/pull/78522 and https://github.com/flutter/flutter/pull/80756.  I was able to reproduce the bug on the commit before eb73516 from https://github.com/flutter/flutter/pull/78522.
Also just to note, the built-in shortcuts related to shift in DefaultTextEditingShortcuts still work fine for whatever reason.

@maheshmnj should I create a separate issue for the "Option (or Alt) ⌥" key?

Yes, if the issue is reproducible. Please file that as a separate issue.

I am also facing this issue
A KeyUpEvent is dispatched, but the state shows that the physical key is pressed on a different logical key. If this occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was the event: KeyUpEvent#2e647(physicalKey: PhysicalKeyboardKey#7001f(usbHidUsage: "0x0007001f", debugName: "Digit 2"), logicalKey: LogicalKeyboardKey#00032(keyId: "0x00000032", keyLabel: "2", debugName: "Digit 2"), character: null, timeStamp: 6:44:15.501000) and the recorded logical key LogicalKeyboardKey#00040(keyId: "0x00000040", keyLabel: "@", debugName: "At")
'package:flutter/src/services/hardware_keyboard.dart':
Failed assertion: line 444 pos 16: '_pressedKeys[event.physicalKey] == event.logicalKey'

@dkwingsmt is this still an issue? Is there a status update?

I haven't tested it but I think this have been fixed by https://github.com/flutter/flutter/pull/94827.

I'm not the OP, but FWIW I just upgraded from 2.8 (stable) to 2.10 (stable).
The following code which listens for ⌘⇧F now works (it was NOT working in 2.8):
SingleActivator(LogicalKeyboardKey.keyF, meta: true, shift: true)

For me, building for windows (Portuguese (Brazilian ABNT2) keyboard layout) got me that:

Sometimes all CTRL  + DigitX would work just fine, other times none, Sticky Keys is buggy on my notebook and I couldn't figure that out (maybe this has something to do with it?),
When I try to use ALT none of the digits presses are detected, and
When using SHIFT only the Digit6 works for some random reason.

My flutter doctor -v
[√] Flutter (Channel stable, 2.10.5, on Microsoft Windows [version 10.0.19044.1645], locale fr-FR)
    • Flutter version 2.10.5 at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (7 days ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\felip\AppData\Local\Android\Sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = C:\Users\felip\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    • All Android licenses accepted.

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

[√] Visual Studio - develop for Windows (Visual Studio Professional 2019 16.11.9)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional
    • Visual Studio Professional 2019 version 16.11.32106.194
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.1)
    • 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.11+9-b60-7590822)

[√] VS Code (version 1.66.2)
    • VS Code at C:\Users\felip\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.32.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [version 10.0.19044.1645]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 100.0.4896.127
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 99.0.1150.39

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

• No issues found!

Using Flutter version:
Flutter 3.0.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision fb57da5f94 (4 weeks ago) • 2022-05-19 15:50:29 -0700
Engine • revision caaafc5604
On MacOS Montery (12.2.1) - Apple Silicon. Qwerty keyboard
Following does not seem to work in Chrome:
SingleActivator(LogicalKeyboardKey.add)
SingleActivator(LogicalKeyboardKey.digit8, shift: true)
Shortcuts without shift do work, for example SingleActivator(LogicalKeyboardKey.minus) does work

This should have been fixed on macOS and Windows. Web is WIP.
For aggregated tracking, see https://github.com/flutter/flutter/issues/100456.

Hey, @dkwingsmt.

such as SingleActivator(LogicalKeyboardKey.digit8, shift: true) for the US keyboard "asterisk".

If we replace the LogicalKeyboardKey.asterisk with LogicalKeyboardKey.digit8 for this case, then how can we customize the keyboard in which LogicalKeyboardKey.digit8 is not representing LogicalKeyboardKey.asterisk?

The Web part should have been fixed with https://github.com/flutter/engine/pull/34625, Nov 2022. This issue should have been fixed. If anyone has encountered this issue lately, feel free to reply or open a new issue with flutter doctor --verbose.


Configure Poll Interval

Provide the ability to configure poll interval for how often the mixer adapter contacts Edge. I believe the interval now is 120 seconds. Perhaps the default can he higher - 10 mins.

opening #56 to replace


Added material UI #8

Closes #8

Applied material UI https://mui.com/material-ui/
The current version is 2 but some components are already ready to support version 3 of the material design.
This is a stable and popular design system. The user will be comfortable surrounded by familiar Android components.
All previous experiments are supported. We can set up a custom theme.
Please review

I wasn't able to review full PR, but you can merge if it's blocking you. Globally looks good, i'll try to complete my review tomorrow

@koskinpark i would like to merge it. Please feel free to open follow ups. I need it in next ticket.


Fix typos

Ⅰ. Describe what this PR did
Fix typos
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report
Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 35.89%. Comparing base (6e4ade0) to head (916da3e).
Report is 26 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1053      +/-   ##
==========================================
- Coverage   35.97%   35.89%   -0.08%
==========================================
  Files          69       69
  Lines       11514    11549      +35
==========================================
+ Hits         4142     4146       +4
- Misses       7056     7087      +31
  Partials      316      316

Files
Coverage Δ

pkg/ingress/config/ingress_config.go
13.87% <0.00%> (+0.49%)
:arrow_up:

... and 2 files with indirect coverage changes


npmjs.com package causes ESLint plugin loading Exception

The version of this package published at https://www.npmjs.com/package/eslint-plugin-wordpress causes ESLint to throw an exception when it attempts to load the plugin due to missing files. The github/master version of this plugin installs via npm and loads properly via eslint. Would it be possible to update the npmjs version of this package? Thanks much.

Apologies for the late reply @onpubcom, I'll try to get a new release published this week, I'll also update the docs on the caveats of using this work in progress eslint-plugin-wordpress version.
FYI: I'm pretty sure I'll release 2 major versions of https://github.com/ntwb/eslint-config-wordpress before I release a new version of this eslint-plugin-wordpress here as there is a lot of work to still go into a "true" major version bump here.

I've created a v1, v2, and v3 Roadmap: https://github.com/ntwb/eslint-config-wordpress/issues/8
(I'll still get the docs updated here for using eslint-plugin-wordpress)

Thanks for the detailed reply @ntwb, sounds great. We are getting by just fine in the meantime by pulling this plugin directly via GitHub in our package.json. Looking forward to the future updates.

@onpubcom Awesome, that said there are quite a few issues with the recommended eslint-plugin-wordpress config as it currently stands 😏
I've released v1 of eslint-config-wordpress a couple of days ago, I'll release v2 maybe by the end of the week, or wait for a total of 7 days or so, and can then start focusing back here with eslint-plugin-wordpress in preparation for v3 eslint-config-wordpress and v1 eslint-plugin-wordpress releases.


Installation Help

Hi, not sure if this is the right place to ask for support but I can't find anywhere else to ask!
My composer.json...
{
    "name": "ifds.3",
    "require": {
        "lexpress/symfony1": "1.5.*",
        "lexpress/doctrine1": "1.3.*"
    },
    "config": {
        "vendor-dir": "lib/vendor/"
    }
}

But the doctrine vendor folder is empty...
ifds.3/lib/vendor/lexpress/symfony1/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine
And the Doctrine vendor code is here...
ifds.3/lib/vendor/lexpress/doctrine1
If I move the contents of doctrine1 to sfDoctrinePlugin/lib/vendor/doctrine it seems to work but I guess, I'm not supposed to be doing that manually?
Same sort of thing for swiftmailer.
Am I missing something? I'm new to composer.
Any help much appreciated!

I think I figured it out. I add...
require_once dirname(FILE).'/../lib/vendor/autoload.php';
...to the top of ProjectConfiguration.class.php
Is that the recommended way?

It is.


versatiles: 0.13.0 -> 0.14.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/versatiles-org/versatiles-rs/releases.
meta.description for versatiles is: Toolbox for converting, checking and serving map tiles in various formats
meta.homepage for versatiles is: https://versatiles.org/
meta.changelog for versatiles is: https://github.com/versatiles-org/versatiles-rs/releases/tag/v0.14.5
Updates performed

Rust version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.14.5 with grep in /nix/store/x9ijw5lkbp1skyc5fnm707p55mkf7s7m-versatiles-0.14.5
found 0.14.5 in filename of file in /nix/store/x9ijw5lkbp1skyc5fnm707p55mkf7s7m-versatiles-0.14.5

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

versatiles

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/x9ijw5lkbp1skyc5fnm707p55mkf7s7m-versatiles-0.14.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A versatiles https://github.com/r-ryantm/nixpkgs/archive/195bd3b83e389491efe36a6308f200148323ff43.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/195bd3b83e389491efe36a6308f200148323ff43#versatiles

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/x9ijw5lkbp1skyc5fnm707p55mkf7s7m-versatiles-0.14.5
ls -la /nix/store/x9ijw5lkbp1skyc5fnm707p55mkf7s7m-versatiles-0.14.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

versatiles

Maintainer pings
cc @wilhelmines for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


Rich text editor breadcrumb overlay

When you expand rich text editor, the breadcrumb shows over it:

http://materialapex.com/pls/apex/f?p=12192:25:::NO:::

Testing did this go on

searched for a while and couldn't find a suitable solution. I think this is an edge case and can be solved by not stretching the rich text editor unfortunately.


⚠ Secret Website 3 has degraded performance

In 7500b2c, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 6253 ms

Resolved: Secret Website 3 performance has improved in 8b08dfa.


Token Colors Missing

First off, thank you so much for making this. it looks absolutely awesome!
The problem i have is that i can't replicate any of the colors shown in your screenshot.
As an example, your screenshot appears to show that lines starting with no are highlighted blue.
That's not the case for me. If inspect such a line with the "Inspect Editor Tokens and Scopes" tool, as you can see in the below image, it does correctly identify the scope for the line, but has no custom foreground ("No theme selector")

Do you know why that might be, or what I can do to troubleshoot / fix this?

I've replicated the colors by using the following override in my vscode settings.json file:
  "editor.tokenColorCustomizations": {
      "textMateRules": [
          {
              "scope": "meta.function-call",
              "settings": {
                  "foreground": "#6191C1",
              }
          },
          {
              "scope": "punctuation.config-param.first.cisco",
              "settings": {
                  "foreground": "#4FB3B3",
              }
          },
          {
              "scope": "meta.function-call",
              "settings": {
                  "foreground": "#6191C1",
              }
          },
      ]
  },

is this something that should be included in the vscode extension?
I'd be happy to submit a PR, but i've never written a vscode extension, so i'm not really sure where this data should go & what format it needs to be in

Thank you for using the extension. I am very happy to get a direct thanks from you.
This image shows a plain VSCode with Cisco Config Highlight installed and the token color customized.
Screenshot show lines starting with no are highlighted blue(foreground : #6191C1).
The only extensions installed are Cisco Config Highlight and the language pack.

Please try adding the settings as shown in the image.
You can open the settings.json file by typing Preferences: Open Settings (JSON) in the command palette.
The command palette can be opened by choosing View > Command Palette (Ctrl+Shift+P) or shortcut key.
Default file location for Windows C:\ Users\{USERNAME}\AppData\Roming\Code\User\settings.json (AppData is hidden folder).
As a side note, the Cisco Config Highlight screenshot is based on the colors of the My VSCode theme(https://marketplace.visualstudio.com/items?itemName=Y-Ysss.vscode-daybreak-theme) that I have published.
If there is a mismatch between your question and my answer or if you are having problems, please reply to the Issue.

nope, that sounds great.
Does this mean that everyone who wants syntax highlighting for meta.function-call and punctuation.config-param.first.cisco needs to add custom "editor.tokenColorCustomizations" settings to their settings.json file, or is there a way to package these default colors as part of the VSCode extension?

The color of syntax highlighting depends on the theme you have enabled.
If the theme you currently have enabled does not define the colors, you will need to customize the settings.json file.
For example, the Sublime Material Theme (https://marketplace.visualstudio.com/items?itemName=jprestidge.theme-material-theme) does not require customization of the settings.json file, as shown in the image below.
The VSCode settings.json file only contains the theme activation.

Ahhhh, I see, it's a problem with my theme
Ok, thank you for clarifying this :)

I had the same issue with the default VSCode theme.
Maybe the readme should mention that it works better with a custom theme like "Sublime Material Theme", instead of simply stating that it depends on the actual theme.


Remove print statement

Just in case some people are using validate in a shell script, etc. it probably shouldn't result in text output.

@JordanReiter - Oh, great catch! Thank you!
Would you be comfortable if I add your name / Github profile to a list of contributors?


Add schema file for license-classifications.yml

It would be nice to have a JSON schema file for the license-classifications.yml file. This could make it easier to edit this file e.g. in VSCode.
Or is there a reason why https://github.com/oss-review-toolkit/ort/tree/main/integrations/schemas/ contains schemas for other configuration files but not for the license-classifications.yml? E.g. is the format of that file not fixed yet?

Marking this a good issue for new contributors - @oliver  feel free to submit a pull request for this..


🧭 Refactor: Show Correct Flash Message

I signed up with the sample data and tried logging in. It was always showing "Invalid Credentials".
Since, my account is not verified by the Super User, it gives me this same warning.
Its confusing and I tried again to login as I thought entered my password wrong.

It was actually me who added the user[:verified] condition, but forgot about the message. LGTM @shrihari689


Batch CC reads and writes for all channels

This changes updates the CrossCorrelationStore interface to read and write all cross-correlations for a station pair at once (i.e. all channels). This allows for more efficient I/O and better parallelization when writing the data.
Fixes https://github.com/mdenolle/NoisePy/issues/170

gracias!

de nada :)


Code coverage?

What's the state of code coverage analysis with midje facts? Is it possible yet?

I don't understand the question.

Does midje provide means to obtain metrics on code coverage that show me which parts of my code are covered by tests and which parts are not? And if midje does not provide such means, how do you ensure that all code parts of your code are tested?

It does not.
I tend to not be overly concerned with code coverage. Disciplined TDD produces pretty high code coverage as a side effect. Given that discipline, code coverage provides a relatively weak signal about the quality of your tests. http://www.exampler.com/testing-com/writings/coverage.pdf
I speak from some experience on this, as I've written two code coverage tools for C and one (specialized) one for Java.

See also Experience with the cost of different coverage tools for testing

Wow, thanks for the hints and the links. Will read this :)

If anyone is still looking on how to achieve this, you can do it with lein cloverage --runner midje (https://github.com/cloverage/cloverage).


Crash structure tank version 1.201

Neues Textdokument.txt
as soon as I use a real mod from them the server crashes after a certain time because it tries to set structure tank I have tried different server versions Minecraft Forge / Hybrid and the result is always the same if I remove the mod then this error no longer occurs

ERROR09:04:31
Unknown structure start: create_structures_arise:createfluidtank

I have now tried it as follows: if I leave it in, it crashes if I remove the mod, the server starts, it is definitely due to some structure. My guess is that it is with the tank.

FluidTankBlockEntity thrown inside the Create mod when attempting to access a null field (this.f_58857_), causing a NullPointerException during feature placement

heya! May I ask which create version you are playing with? we heard that the latest version of create breaks all ( addons ). If you're playing with the latest version of create, try downgrading it. Support, Mei:)

I have also tried it with the previous version and have the same problem. After a while I have problems setting the tanks.

Can you explain in steps how the crash happened?
Do you use /locate ?

The problem occurs on normal as well as on hybrid if the chunk has not yet been changed and a player is nearby, this crash occurs but does not always occur, it is rather sporadic and random

Do you have a crash report?

yes I put it at the top ---> New text document.txt

It looks like the mods: ( create ) & ( moderfix ) don't work well together.
Our tip to you is to create a ticket on the create github page itself. We cannot adjust anything in terms of codes for the (fluid tank)
Here is the link to the create issue (github) https://github.com/Creators-of-Create/Create/issues
hopefully they can solve it for you! Mei

Thank you for your help. I will open a ticket there because the problem also occurs when it is a Rainer forge server

No problem! feel free to open a new ticket if you have a bug or problem.


Data copier fix

NullPointerException fix for PortabilityAbstractInMemoryDataCopier which was caused by trying to access a null PortabilityJob object.

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


DRAFT : [Meta Provider] draft Metadata Manager

draft Metadata Manager code.
Related issue https://github.com/Samsung/ONE-vscode/issues/1277

I reflected all of the previous code reviews


Prepare to remove actions hooks

This will allow us to remove all of our preTest hooks in provider ci-mgmt configs - which we'd like to get rid of to avoid arbitary code injection into workflows which make them fragile and hard to refactor. See also https://github.com/pulumi/ci-mgmt/pull/1037
Related to https://github.com/pulumi/ci-mgmt/issues/936
Add standalone option for running provider integration tests
Set integrationTestProvider: true to run go test [...] -tags=${{ matrix.language }} in the provider directory.
Example of existing preTest usage: https://github.com/pulumi/pulumi-gcp/blob/92b64b51bfb05fc0d2d7b9c1cbcafe7de8a6f7f3/.ci-mgmt.yaml#L43
Always prepare upstream before testing
This step is safe to run, as we already do before the Go build steps elsewhere. The upstream target is always there but might be a no-op.
Add SSH setup option
Set sshPrivateKey: ${{ secrets.PRIVATE_SSH_KEY_FOR_DIGITALOCEAN }} to set up SSH for testing.
Example of docker use of preTest: https://github.com/pulumi/pulumi-docker/blob/fc1d68f823c34cef72e34e060b093230e21fc636/.ci-mgmt.yaml#L35
Migration

Merge this PR with intent-focused config options
Open PRs to the ~28 providers to replace the preTest hook with alternative settings

Set integrationTestProvider: true on all providers which run integration tests via the provider module
Use setup-script for arbitrary bash commands before tests
Set sshPrivateKey: ${{ secrets.PRIVATE_SSH_KEY_FOR_DIGITALOCEAN }} for docker

Remove the actions config completely

Existing usage of actions hooks (there is no use of preBuild - only preTest): https://github.com/search?q=org%3Apulumi+path%3A.ci-mgmt.yaml+"actions%3A"&type=code

https://github.com/pulumi/pulumi-docker-build/issues/82 is another example where we need some similar extensibility for a native provider. I didn't want to just shoehorn an if provider === "docker-build" ... exception -- I'd much rather have a real extension point and use that, so I'm happy you're thinking about this!

which we'd like to get rid of to avoid arbitary code injection into workflows which make them fragile and hard to refactor. See also https://github.com/pulumi/ci-mgmt/pull/1037

I wonder if there's a better way to strike a balance between provider repos still having some control over their prerequisites while not being so tightly coupled to ci-mgmt. We can certainly add specific options like sshPrivateKey:, injectEnvVarsForDockerBuild:, etc., but in the limit we'll end up with a ton of one-off special cases. That adds up to a lot of accidental complexity -- ci-mgmt needs to know more about provider internals than it really should, and changing those internals becomes a coordination problem between the provider and ci-mgmt. Additionally, any time ci-mgmt needs a new option added it represents some friction that will nudge people towards hacky workarounds, inaction (as I've done with docker-build), or forks.
I think ideally provider authors should be able to "own" some of their CI setup without needing to know or care about how ci-mgmt orchestrates things. This is a big problem area, but one simple strategy we could consider is to treat make targets as more of a contract between the provider and ci-mgmt. Concretely:

ci-mgmt ships a default Makefile to your repo, with all the build targets it expects to be defined, along with reasonable defaults.
The Makefile can do something like -include Makefile.local to add local overrides from the repo, if they exist.
The provider can customize a make ci-setup target in Makefile.local with their own logic if they need it.

You wouldn't be able to add arbitrary GH actions with that approach, but I agree that should probably be a non-goal anyway. Often times the GH actions we're talking about can be replicated with a few shell commands or a simple script. For example the docker-build provider has the same SSH key requirement as the docker provider, but that's addressable with a little bit of code that works equally well locally as in CI.

pulumi/pulumi-docker-build#82 is another example where we need some similar extensibility for a native provider. I didn't want to just shoehorn an if provider === "docker-build" ... exception -- I'd much rather have a real extension point and use that, so I'm happy you're thinking about this!

 I think there's normally a way to generalise what we're trying to achive with a specific provider to describe the intent better. My leaning is that more smaller, more focused options are easier to reason against compared to the arbitrary hooks which then have to be carefully audited before each refactor.

I wonder if there's a better way to strike a balance between provider repos still having some control over their prerequisites while not being so tightly coupled to ci-mgmt. We can certainly add specific options like sshPrivateKey:, injectEnvVarsForDockerBuild:, etc., but in the limit we'll end up with a ton of one-off special cases. That adds up to a lot of accidental complexity -- ci-mgmt needs to know more about provider internals than it really should, and changing those internals becomes a coordination problem between the provider and ci-mgmt. Additionally, any time ci-mgmt needs a new option added it represents some friction that will nudge people towards hacky workarounds, inaction (as I've done with docker-build), or forks.

I agree we don't want too much sprawl, though right now I think we only need to introduce these 2 new options (integrationTestProvider and sshPrivateKey) in addition to the existing setup-script option.

I think ideally provider authors should be able to "own" some of their CI setup without needing to know or care about how ci-mgmt orchestrates things. This is a big problem area, but one simple strategy we could consider is to treat make targets as more of a contract between the provider and ci-mgmt. Concretely:

ci-mgmt ships a default Makefile to your repo, with all the build targets it expects to be defined, along with reasonable defaults.
The Makefile can do something like -include Makefile.local to add local overrides from the repo, if they exist.
The provider can customize a make ci-setup target in Makefile.local with their own logic if they need it.

I like this idea - adding the more custom hooks via the makefile - it's somewhat easier to reason about the impact compared to changing CI workflows.
I discussed trying to formalise the interface between local builds and CI a while back in the provider build systems design.
Another simple way of implementing this could be via having the option to add scripts to call as part of different steps. E.g. scripts/provider_prebuild.sh or scripts/test_setup.sh. Ideally though I think we still want to lean towards implementing these cases for broader consumption. If a feature is needed in one provider, it's pretty likely that another will need something similar too at some point. Another option too is for some providers just to opt out of using the makefile generation and opt to manage that themselves, though this would be useful for bringing in new providers it would be quite a step backwards for bridged providers.
Leaning towards injecting commands rather than injecting actions is where I'm pushing towards for the near-future.

Especially for SSH which is only used by one provider, correct?
I wouldn't block on this PR but maybe there are other options?

It is only currently used by one provider, though will probably need it for at least one more as we onboard the other providers.
There's also the .setup-scriptconfig option we can use here which allows a custom set of bash commands to be run before executing the tests in CI. I don't love the name, but this option for injecting arbitary command is easier to reason about than injecting GHA steps as it limits access to only the local file system and not for uploading/downloading assets or adding action dependencies etc.


feat(logo): shorter logo now in widget form

Just an idea that I'm playing with, a subtle modification to the height of the logo so that it can be rendered nicely on 2 lines rather than 2.5

Looks good in my terminal, smol ratatui

It can even be a little smaller...

BTW, in that change I also fixed the font kerning around the A / T to look a bit nicer. Altogether:
Current:

First update

Font Kerning fixed:

Tiny:

First update
Font Kerning fixed:

Hmm, the first one looks better to me. Second one's T has a space in it.

First update
Font Kerning fixed:

Hmm, the first one looks better to me. Second one's T has a space in it.

I'm not sure if you're referring to the 2nd or third image there.

Sorry, I meant this one looks better:

First update

Than:

Font Kerning fixed:

rebased on main, fixed conflicts & applied clippy suggestions

let's wrap this up for 0.29.0 :)

Tweaked this a bit to add docs, tests, neater code, etc.
Rendered docs:


[React] Lazy load

The component <ConnectModal /> is being imported alongside <ThirdwebProvider />. However, it's not being used immediately nor visible by default. I don't see why we can't just lazy load this.
<WalletUIStatesProvider theme={theme}>
  <ThemeProvider theme={theme === "dark" ? darkTheme : lightTheme}>
    <ThirdwebProviderCore
      theme={theme}
      thirdwebApiKey={thirdwebApiKey}
      supportedWallets={wallets}
      {...restProps}
    >
      {children}
      <ConnectModal /> // <--------------------------------
    </ThirdwebProviderCore>
  </ThemeProvider>
</WalletUIStatesProvider>

Looking for your feedback ^

Hi @kienngo98 The idea is good - but the implementation is not quite right - <ConnectModal/> is always being rendered here - which defeats the purpose of lazy loading it.
To properly implement lazy loading - you can move the return JSX from  to a Component in a different file and lazy load that - and conditionally render it using the isWalletModalOpen flag. You will also need to wrap that with a Suspense and a proper loading indicator
Let me know if you are up for it - I can also help here

Hi @kienngo98 I actually implemented it and it seems like there's not much benefit from doing this: It just reduces bundle size by 1KB ( from a total of 1MB ). This makes sense, because ConnectModal does not render much of it's own - it just renders the UI from wallet.
Lazy loading ConnectModal is not really worth it here - considering that it introduces an additional loading state.
https://github.com/thirdweb-dev/js/assets/22043396/6c3789c4-5481-4005-9a52-5253d8d743bd
let me know what you think

Hi @MananTank, really appreciate the feedback! I'll be working on this.


Fix Mask read - Offset Calibration

Due to some changes in Sentinel2 SAFE format files some changes were made:

Update mask processing options for L1C and L2A product levels

GML deprecation in favor of JP2 files (shapes by rasters)

Calibration coefficients were added. Now the s2 metadata parser handles this situation

Not related

Logging comments updates
bands size consistency: now the raster size is assured by using one as reference for the others. This avoids issues mainly while cropping and resampling bands with differents resolutions.

Due to some changes in Sentinel2 SAFE format files some changes were made:
* Update mask processing options for L1C and L2A product levels

  * GML deprecation in favor of JP2 files (shapes by rasters)

* Calibration coefficients were added. Now the s2 metadata parser handles this situation

Not related
* Logging comments updates

* bands size consistency: now the raster size is assured by using one as reference for the others. This avoids issues mainly while cropping and resampling bands with differents resolutions.

Added downloader update to cope with new masks


Implement Tabs

It would be nice to implement tabs.
http://www.google.com/design/spec/components/tabs.html

+100, Material design is incomplete without tabs :smiley:

+100, Material design is incomplete without tabs :smiley:


fix(#97): fix bug where users can scroll while navbar is in fullscreen

This fixes the same issue as my last pr but does not add any dependencies. I decided to rebase and force push to keep the git history clear. Sorry for the inconvenience.
fixes #97

Tested it, works well! Thank you for your contribution!


Configurable struct primitives

Adds an optional primitive_structs config in which one can list structs that should not be diffed internally. Rather changes to the struct should be recorded as a primitive_change. Tests this feature with Decimals.

oops wrong upstream


Core: Dart LSP

Language Server Protocol (LSP) support is available in the Dart analysis server from version 2.2.0 of the SDK (which was included in version 1.2.1 of Flutter).
This issue outlines the scope of LSP methods to be implemented in the tagged milestone.
Full list of LSP methods integrated in the quinine Dart LSP client. dart-lang/sdk
(Following implementations subjected to methods implemented at the Dart LSP server)

Method
Progress
Milestone

initialize
✅
M1

initialized
✅
M1

shutdown
✅
M1

exit
✅
M1

$/cancelRequest

$/progress

client/registerCapability
☑
M2

client/unregisterCapability
☑
M2

textDocument/hover

M3

textDocument/publishDiagnostics

M3

textDocument/didChange

M2

textDocument/didClose

M2

textDocument/didOpen

M2

window/logMessage
✅
M2

window/showMessage
✅
M2

workspace/configuration
✅
M2

window/workDoneProgress/create
☑
M2

window/workDoneProgress/cancel
☑
M2

Milestones

[x] Implement and integrate lifecycle messages + Implement Dart LSP provider (M1)
[ ] Implement document synchronisation (M2)
[ ] Implement language features (M3)
[ ] Implement dart specific features (M4)

Running the Server
Start the language server using the dart language-server command. Pass the --client-id and --client-version flags to identify your editor/plugin and version:
dart language-server --client-id my-editor.my-plugin --client-version 1.2

Note: In LSP the client makes the first request so there is no obvious confirmation that the server is working correctly until the client sends an initialize request. Unlike standard JSON RPC, LSP requires that headers are sent.
References:

Language Server Protocol Specification

Confirming compatibility with the existing code-editor : https://github.com/akvelon/flutter-code-editor/issues/240

On first attempt of workspace selection LSP server initiation doesn't happen. Only after subsequent ones it initiates. https://github.com/5hirish/quinine/blob/c0c1b9d54881823dc00f3dbb5d04afd2851c150e/lib/provider/project.dart#L29

Came across an issue where the provider was starting two LSP server process. Need a test case to ensure only one process is started.

Pending M2:

Client should maintain the server's capabilities after it responds to client's initlialize request. The server can signal the following capabilities.. For example, client requires to know the extent of support provided by the server for workspace/executeCommand.
Client should maintain the server's client/registerCapability request in order to enable the various features / capabilities on the client (IDE) side as required. Options necessary for the registration. For example when implementing textDocument/didChange, client needs to register how documents are synced to the server (incremental or full). Hence, it must maintain this request received from the server in order to comply with the server capabilities.

Dart LPS document syncKind with the server is 2. Meaning documents are synced by sending the full content on open. After that only incremental updates to the document are sent.


deleting orphaned volumes

Docker-gc does a really nice job here, but one thing it doesn't do: Cleaning up dangling volumes. To this end, I'm running
docker volume ls -qf dangling=true | xargs -r docker volume rm

as a cronjob; see https://github.com/chadoe/docker-cleanup-volumes. It'd perhaps be worthwhile including it into docker-gc as well.

+1

+1

+1

+1

I'd really appreciate it if I could get an explanation from the maintainer of docker-gc why this feature is not implemented yet ?
I may be able to provide a PR (if it has a chance to be accepted). Are there any concrete reasons against this functionality in the first place ?

So there is already a PR for this: https://github.com/spotify/docker-gc/pull/142

fixed by https://github.com/spotify/docker-gc/pull/142


[825] Remove checkbox from confirm page for non-draft trainees

Context
https://trello.com/c/zHxUX9ZE/825-confirm-checkbox-should-not-be-visible-on-confirmation-screen-for-non-draft-records
Changes proposed in this pull request
This PR hides the checkbox for completing a section from the confirmation pages for non-draft trainees.
It also (for now) just wraps the controller code that needs this param in an if ... else statement. I'm not sure whether I'm happy with using the same controller for draft and non-draft trainees if they're doing different things, but I'd rather wait until we address the issue of persisting unsaved data through to the confirm stage as these controllers may have to change!
Guidance to review

With a draft trainee, check that the confirm pages still have the checkbox
With a non-draft trainee, check the the confirm pages do not have the checkbox, and that pressing continue still works.

 Confirm checkbox should not be visible on confirmation screen for non-draft records

 Confirm checkbox should not be visible on confirmation screen for non-draft records


Associated stations' host column shows only IPv6 addresses

Dear LUCI team,
I'd like to report an issue when my 2nd router configured as a simple AP, then Associated stations' host column shows only IPv6 addresses instead of hostname (FQDN) and IPV4/IPv6 addresses in the bracket on this AP.
My primary router is configured as DHCP and DNS server.
Please see attached screenshot.

Best regards, bpados

The information isn't available on the 2nd router.


arm/poly1305-armv8.pl: reorder PAC authentication with SP update.

https://github.com/dot-asm/cryptogams/commit/237895b9408d304d40230ed7f5cca10d32870bc4

Thanks @dot-asm. This looks like the same fix as in #13256?

Yes, it looks like so. The #13256 is now merged to both master and 1.1.1, so closing this issue.


Changed LatLon implementation following the one used in Gazebo and mo…

…dified tests
I changed the old LatLon implementation following the conversions made here.
I also had to change some tests that were written with the old implementation.
This new implementation is expected to work locally only, not moving too many degrees longitudinally nor latitudinally.

@basicNew here is the modified implementation with the classes in different files and the hash added to LatLon and Enu

@basicNew , it's updated

Awesome, thanks @jazminlaila !


[en-only] Make cli-reference page cleaner

What kind of changes does this PR include?

New or updated content

Description

Updated all the command sections to display their available flags
Replaced the common flags sections by turning them into a list
Removed the global flags section as the description is already provided at the top of the page

Hi! We're working on this page internally during our content audit/rewrite right now, so we're not accepting external contributions other than error fixes to this page right now!


topomachine also generates a links_by_nodes dict in lltopo.

The original generated links dict makes it difficult to find peers and their interfaces for a given router.
An example for a p2p link between bgp1(tap0) - r1(xe-0/0/1):
    "links_by_nodes": {
        "bgp1": {
            "r1": {
                "our_interface": "tap0",
                "our_numeric": 1,
                "their_interface": "xe-0/0/1",
                "their_numeric": 2
            }
        },
        "r1": {
            "bgp1": {
                "our_interface": "xe-0/0/1",
                "our_numeric": 2,
                "their_interface": "tap0",
                "their_numeric": 1
            }
        }
    }

I think it needs to be a list of interfaces since it's possible to have multiple links between the same nodes, right?

Oh, I didn't know that was supported, neat!
Changed to list:
    "links_by_nodes": {
        "ams-core-1": {
            "ams-core-2": [
                {
                    "our_interface": "GigabitEthernet0/0/0/0",
                    "our_numeric": 1,
                    "their_interface": "GigabitEthernet0/0/0/0",
                    "their_numeric": 1
                },
                {
                    "our_interface": "GigabitEthernet0/0/0/1",
                    "our_numeric": 2,
                    "their_interface": "GigabitEthernet0/0/0/1",
                    "their_numeric": 2
                }
            ]
        },
        "ams-core-2": {
            "ams-core-1": [
                {
                    "our_interface": "GigabitEthernet0/0/0/0",
                    "our_numeric": 1,
                    "their_interface": "GigabitEthernet0/0/0/0",
                    "their_numeric": 1
                },
                {
                    "our_interface": "GigabitEthernet0/0/0/1",
                    "our_numeric": 2,
                    "their_interface": "GigabitEthernet0/0/0/1",
                    "their_numeric": 2
                }
            ]
        }
    },

LGTM, thanks!


Secrets cannot be used as Environment Variables in Deployments

Internal reference: SURE-3253
Reported in 2.5.x
Issue description:
Admin creates a standard role user and assigns this user project-member role for a project. User creates a secret and tries to use it as Environment variable when creating a Deployment from the UI. Secret is accessible otherwise from the UI and from kubectl
Business impact:
User is unable to deploy their workloads entirely from the UI, causing disruption in their workflow.
Repro steps:

Create project/namespace
Create standard user
Assign user to project as project-member
use the GUI to create a secret inside the namespace in the project
Go to Workload - Deployments - Create and hit Add Variable. Select Secrets from the combobox

Actual behavior:
The secrets list in the Environment Variables dropdown is empty.

Expected behavior:
Secret tests should be visible from the available options when selecting a secret
kubectl get secret -n testn tests -oyaml
apiVersion: v1
data:
 test: dGVzdHZ2
kind: Secret
metadata:
 creationTimestamp: "2021-08-17T11:16:15Z"
 managedFields:
 - apiVersion: v1
 fieldsType: FieldsV1
 fieldsV1:
 f:data:
 .: {}
 f:test: {}
 f:type: {}
 manager: rancher
 operation: Update
 time: "2021-08-17T11:16:15Z"
 name: tests
 namespace: testn
 resourceVersion: "939746"
 uid: 53050135-2a1d-4b9d-a9bb-26aed304bac6
type: Opaque

@catherineluse This is a permissions issue I think - may be fixed by my PR - https://github.com/rancher/dashboard/pull/5124

I can reproduce in v2.6.4-rc4 but not the most recent code so it looks like this was fixed by @nwmac in his PR that he mentioned earlier.

:white_check_mark: PASSED
Reproduction Environment

Component
Version / Type

Rancher version
2.6.3

Installation option
Helm high availability (Google Cloud)

If Helm Chart k8s cluster
RKE v1.22.6

Cert Details
ingress.tls.source=secret (certificates from files)

Docker version
20.10.7, build f0df350

Helm version
v2.16.8-rancher1

Downstream cluster type
RKE Linode

Downstream K8s version
v1.21.9-rancher1-1

Logged in user role
Standard user

Browser type
Google Chrome

Browser version
99.0.4844.51 (Official Build) (x86_64)

Reproduction steps

Create a project/namespace
Create a standard user
Assign the user as project-member
use th GUI to create a secret inside the namespace in the project

Storage -> Secrets -> Create -> Opaque

Namespace: test-namespace
Name: test-secret
Key: foo
Value: Bar
Click Create

Go to Workload -> Deployments -> Create
Under Environment Variables -> click Add Variable

Type: Secret

Click Secret dropdown menu (sorry, no matching options)

Additional Info
Able to see the secret using kubectl.
kubectl auth can-i '*' '*'
kubectl get secrets -n test-namespace
kubectl get secret test-secret -n test-namespace -o yaml
echo $YOUR_ENCODED_VAL | base64 --decode

RESULTS
Expected
To be able to use the secret when creating a deployment
Actual
Unable to use the secret when creating a deployment

Validation Environment

Component
Version / Type

Rancher version
2.6.4-rc8

Installation option
Helm high availability (AWS)

If Helm Chart k8s cluster
RKE v1.22.6

Cert Details
ingress.tls.source=secret (certificates from files)

Docker version
20.10.7, build f0df350

Helm version
v2.16.8-rancher1

Downstream cluster type
RKE Linode

Downstream K8s version
v1.23.4-rancher1-1

Logged in user role
Standard user

Browser type
Google Chrome

Browser version
99.0.4844.51 (Official Build) (x86_64)

Validation steps

Create a project/namespace
Create a standard user
Assign the user as project-member
use th GUI to create a secret inside the namespace in the project

Storage -> Secrets -> Create -> Opaque

Namespace: test-namespace
Name: test-secret
Key: foo
Value: Bar
Click Create

Go to Workload -> Deployments -> Create
Under Environment Variables -> click Add Variable

Type: Secret

Click Secret dropdown menu` -> The Secret dropdown is populated! :white_check_mark:

Additional Info

RESULTS
Expected
To be able to use the secret when creating a deployment
Actual
Was now able to use the secret when creating a deployment


Define options for a field from helper in schema

I have a schema like this:
clients: {
        type:[Object],
        label:"Client"
    },
    'clients.$.name': {
        label:"Name and surbname",
        type: String
    },
    'clients.$.placeNum': {
        label: "Passenger place number",
        type: Number,
        autoform: {
            options:'placesOptions'
        }
    }

and placesOptions are defined like this:
Template.insertReservationForm.helpers({
    placesOptions: function () {
        var places = Tours.findOne(Template.currentData()._id).placesArray;
        var options = places.map(function (c) {
            return {label: c, value: c};
        });
        return options;
    }
});

.placesArray is an array of places in a bus (seats) available like [1,2,3,5,6,8,9,10..] depending on a tour.
but the options assignment do not work (that field shows some empty options and their number is smoller then placesArray length). Just for debugging I tried to return [{label:1,value:1},{label:2,value:2}] - the result is the same.
This would not be a problem if I could set options through handlebars, but I do not know how to do it for a field in objects array. And it would not be a problem if options were the same for each document, but they depend on data context(a tour in this case).
ps just in case you need additional info:
I set data context in iron router:
....
data: function () {
        return Tours.findOne(this.params._id)
    }
....

and it works ok (i tried to console log tour Id from Template.form.onRender etc)
and form is declared as:
 {{>quickForm collection="Reservations" doc=this id="insertReservationForm" type="insert"}}

Thank you in advance

I came to this solution:
'clients.$.placeNum': {
        label: "Passenger place number",
        type: Number,
        autoform: {
            options: function () {
                    var places = Tours.findOne(Template.currentData()._id).placesArray;
                    var options = places.map(function (c) {
                        return {label: c, value: c};
                    });
                   return options;
             }
        }
    }

but, anyway, I'd like this to work too:
'clients.$.placeNum': {
        label: "Passenger place number",
        type: Number,
        autoform: {
            options: 'optionsFromHelper'
        }
    }

because it is possible to make more dynamic queries, use Session etc from template helpers.


import issue

I'm trying to use the "ConnectCheckerRtsp" from this domain by importing it like this:
import com.pedro.rtplibrary.rtsp.ConnectCheckerRtsp;
but the problem is that my project cannot recognize it (I added all the needed dependencies and I can import other things from the root encoder.

Hello,
ConnectCheckerRtsp was replaced to ConnectChecker

Closing as complete, you can reopen if needed


add NaN and Inf to Zed language

IEEE NaN and Inf should be added to the Zed PEG parser and made part of the language.
This is an easy change because they should need to be accepted as float literals and the existing Go code should handle them without change since strconv etc knows what do to do with these.

Verified in Zed commit 7396ea9.
$ zq -version
Version: v1.2.0-97-g7396ea9c
$ echo null | zq 'yield NaN' -
NaN
$ echo null | zq 'yield Inf' -
+Inf

Thanks @mattnibs!


Add initial UI binary and frontend boilerplate

Adds the initial UI wiring and boilerplate:

This PR doesn't make any decisions about the API architecture or style as that is still TBD.
A fast follow from this will be the initial styled UI along with and implementation of the .Add() method

Got this error I probably did something wrong. Could you please confirm ? @jpellizzari 🙂

Should have added this to the README: make cmd/ui/dist/index.html

After a rebase, this branch inherited some failing checks from main. Merging anyway after our discussion this morning about the state of the build checks.


unable to load file ?

i have this obj and it won't load. why?
https://mega.nz/#!0uZj2SzB!eEKjwZDcnwT0newJuLqHdNUH4DrjIl9e_EXTzbDQJ0Q

Hi @soundreactor, the file has several non-manifold edges and vertices. You can read more about what that means and how to handle it here: https://www.shapeways.com/tutorials/fixing-non-manifold-models. Unfortunately, BFF does not support such models yet.

thanks for your reply. its just weird it has to be closed when the whole idea is to unwrap it 😞

The mesh doesn't have to be closed, it can have a boundary...

im sorry i have no clue what im doing.  i removed the nonmanifold edges.
https://mega.nz/#!Vr5BEILb!YeN60bmWaPPM6nnKQGQhv9LHAGYRvFtWUHWI1hduSbc

I also have a simple non-manifold mesh (1/4 of a torus) exported from Rhino 6 as obj. BFF says "unable to open file" - does BFF need a specific version?

@AnnieLocke Unfortunately, there isn't any support for non-manifold meshes - there are some ambiguities when it comes to running algorithms (like flattening) on them and its unclear how to resolve them.

@rohan-sawhney apologies, i meant to write non-non-manifold mesh, as in basic mesh.


removed the project folder from the top level.

Removed the project folder from the top level as it was duplicating other data

Hmm, not sure what is going on. If i checkout this PR, I dont have any files under reproducibility_project. Like analysis folder is empty.

Going to close this one, in favor of #99 , not entirely sure what happened with git in this one.


Byte array comparison code sample is incorrect

In the code sample on this page, I see this:
        //Compare the values of the two byte arrays.
        for (int x = 0; x < sentHashValue.Length; x++)
        {
            if (sentHashValue[x] != compareHashValue[x])
            {
                same = false;
            }
        }

There must be a break after the same = false; statement. Otherwise, same can become true at the end of the array while it was false all the way before then.

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

ID: bbc6115f-5205-2a32-6d31-f628a8e4aa3b
Version Independent ID: 91c61586-f647-5236-e886-fbda771d42e4
Content: Ensuring Data Integrity with Hash Codes
Content Source: docs/standard/security/ensuring-data-integrity-with-hash-codes.md
Product: dotnet
Technology: dotnet-security
GitHub Login: @IEvangelist
Microsoft Alias: dapine

Actually, never mind. It is correct. Just realized. It's just a little non-optimal, that's all.


[Doctrine] Skip no constructor default null on MoveCurrentDateTimeDefaultInEntityToConstructorRector

Fixes https://github.com/rectorphp/rector/issues/7624

Fixed 🎉 /cc @ghispi

@TomasVotruba All checks have passed 🎉 , the pending workflow code_analysis / ECS Expected — Waiting for status to be reported seems unrelated.

Thank you


Backmerge: #3208 - Structure disappears after pressing 'Layout' and the app crashes

How the feature works?
Structure disappears after pressing Layout and an atom appears in the left corner of canvas.
How did you fix the issue?
Checking if the label is an object before attempting to set its 'path' property.
https://github.com/epam/ketcher/assets/72468284/5b287f8a-1cf0-46f6-9f5e-933e6e6bac54
Check list

[ ] unit-tests written
[x] e2e-tests written
[ ] documentation updated
[x] PR name follows the pattern #1234 – issue name
[x] branch name doesn't contain '#'
[x] PR is linked with the issue
[x] base branch (master or release/xx) is correct
[x] task status changed to "Code review"
[x] reviewers are notified about the pull request

closing this as Backmerge is here: https://github.com/epam/ketcher/pull/3282


parseJson fix

vm.parseJson() needs "." before the first key argument.

@asaj

We've moved on from foundry


[stable/nginx-ingress] hpa targets  cpu and memory

Describe the bug
A clear and concise description of what the bug is.
Version of Helm and Kubernetes:
helm version V.2.14.3
Kubernetes Client Version: v1.17.2
Which chart:
nginx-ingress-1.30.1
What happened:
TARGETS /50%
What you expected to happen:
X%/50%
How to reproduce it (as minimally and precisely as possible):
helm install  nginx stable/nginx-ingress
values
autoscaling:
enabled: true
publishService:
enabled: true
extraArgs:
enable-ssl-passthrough: true
metrics:
enabled: true
serviceMonitor:
enabled: true
resources:
limits:
cpu: 1000m
memory: 513Mi
requests:
cpu: 200m
memory: 128Mi
Anything else we need to know:

example screenshort

values.yaml
add values
defaultBackend:
resources:
limits:
cpu: 1000m
memory: 513Mi
requests:
cpu: 200m
memory: 128Mi


pyload api wrong format

> 2016-05-06 20:49 DEBUG    utils.requests serienjk_de_local Fetching http://<IP_ADDRESS>:8000/api/login
> 2016-05-06 20:49 DEBUG    pyload        serienjk_de_local Parsing url ''
> 2016-05-06 20:49 DEBUG    utils.requests serienjk_de_local Fetching http://<IP_ADDRESS>:8000/api/parseURLs
> 2016-05-06 20:49 DEBUG    pyload        serienjk_de_local Add 1 urls to pyLoad
> 2016-05-06 20:49 DEBUG    utils.requests serienjk_de_local Fetching http://<IP_ADDRESS>:8000/api/addPackage
> 2016-05-06 20:49 DEBUG    entry         serienjk_de_local Marking entry '[DEUTSCH] The.Flash.S02E09.Trio.Infernal.GERMAN.DUBBED.DL.1080p.WebHD.x264-TVP' as failed
> 2016-05-06 20:49 ERROR    entry         serienjk_de_local Failed [DEUTSCH] The.Flash.S02E09.Trio.Infernal.GERMAN.DUBBED.DL.1080p.WebHD.x264-TVP (500 Server Error: Internal Server Error for url: http://<IP_ADDRESS>:8000/api/addPackage)
> 2016-05-06 20:49 DEBUG    failed        serienjk_de_local Marking [DEUTSCH] The.Flash.S02E09.Trio.Infernal.GERMAN.DUBBED.DL.1080p.WebHD.x264-TVP in failed list. Has failed 1 times.
> 2016-05-06 20:49 DEBUG    backlog       serienjk_de_local Updating expiry time for [DEUTSCH] The.Flash.S02E09.Trio.Infernal.GERMAN.DUBBED.DL.1080p.WebHD.x264-TVP
> 2016-05-06 20:49 INFO     task          serienjk_de_local Plugin pyload has requested task to be ran again after execution has completed.
> 2016-05-06 20:49 VERBOSE  task          serienjk_de_local FAILED: `[DEUTSCH] The.Flash.S02E09.Trio.Infernal.GERMAN.DUBBED.DL.1080p.WebHD.x264-TVP` by pyload plugin because 500 Server Error: Internal Server Error for url: http://<IP_ADDRESS>:8000/api/addPackage
> 2016-05-06 20:49 DEBUG    pyload        serienjk_de_local Parsing url ''
> 2016-05-06 20:49 DEBUG    utils.requests serienjk_de_local Fetching http://<IP_ADDRESS>:8000/api/parseURLs
> 2016-05-06 20:49 DEBUG    pyload        serienjk_de_local Add 1 urls to pyLoad
> 2016-05-06 20:49 DEBUG    utils.requests serienjk_de_local Fetching http://<IP_ADDRESS>:8000/api/addPackage
> 2016-05-06 20:49 DEBUG    entry         serienjk_de_local Marking entry '[DEUTSCH] Unforgettable.S04E13.Die.geheime.Armee.German.DD51.Dubbed.DL.1080p.Web-DL.h264-GDR' as failed
> 2016-05-06 20:49 ERROR    entry         serienjk_de_local Failed [DEUTSCH] Unforgettable.S04E13.Die.geheime.Armee.German.DD51.Dubbed.DL.1080p.Web-DL.h264-GDR (500 Server Error: Internal Server Error for url: http://<IP_ADDRESS>:8000/api/addPackage)
> 2016-05-06 20:49 DEBUG    failed        serienjk_de_local Marking [DEUTSCH] Unforgettable.S04E13.Die.geheime.Armee.German.DD51.Dubbed.DL.1080p.Web-DL.h264-GDR in failed list. Has failed 1 times.
> 2016-05-06 20:49 DEBUG    backlog       serienjk_de_local Updating expiry time for [DEUTSCH] Unforgettable.S04E13.Die.geheime.Armee.German.DD51.Dubbed.DL.1080p.Web-DL.h264-GDR
> 2016-05-06 20:49 DEBUG    task          serienjk_de_local Plugin pyload has requested task to be ran again after execution has completed.
> 2016-05-06 20:49 VERBOSE  task          serienjk_de_local FAILED: `[DEUTSCH] Unforgettable.S04E13.Die.geheime.Armee.German.DD51.Dubbed.DL.1080p.Web-DL.h264-GDR` by pyload plugin because 500 Server Error: Internal Server Error for url: http://<IP_ADDRESS>:8000/api/addPackage

Error 500 is typical for a format error for the pyload api
https://github.com/pyload/pyload/blob/stable/module/Api.py
I'm not common to python, could someone plz send me a sample output, so i can compare the formats?

I am happy to help. Please let me know what commands I need to do to get you the output you need

A manual api call adding a package works fine, so it is about the format of the flexget query, but because i don't know python very well I have no idea how to print that query to log or somewhere else

Is there someone who can fix this? I think i have the same problem..
http://pastebin.com/bsjp0wQH

This may have been fixed by #1391. Someone please check.

I'm just going to assume it's been fixed. Let me know if it happens again.


Return response object to server interceptors in request/response calls

Attempt to fix https://github.com/grpc/grpc/issues/15966
I didn't have enough time to invest into understand the test suite as of right now, but there didn't seem to be an automated test covering this part of the code specifically.
I would probably suggest writing a simple functional test covering this scenario (from the interceptors proposal), but I would appreciate any guidance on what would be the best way to automate it on this project.

@apolcyn is there anything I can do to help move this PR forward?

Sorry for the wait on this. As you've described the server-side interceptors indeed do not appear to follow the examples in the [initial proposal](As you've described the server-side interceptors indeed do not appear to follow the guidelin). But with another look, I think that the one problem with the server-side interceptor API that you're pointing out here is slightly beyond request/response calls? If fixing request/response calls to have access to the "response", it would also make sense to fix the three other types of RPC handlers: "client streaming", "server streaming", and "bidi streaming".
Out of curiosity, what's your intended use of being able to access the "response" in server interceptors? Note that the response is not mutable at that point, because after an interceptor yields, the call has been effectively finished and terminated, complete with a status having already been sent (looks like another problem with the gRFC examples is that those examples appear to make the response object look mutable).

Out of curiosity, what's your intended use of being able to access the "response" in server interceptors?

I want to log the response data as go-grpc-middleware does.

I am also running into this issue. My use case is to be able to record status codes in the logs of my service.


Variational Bayes

I am trying to implement LDA with Variational Bayes. Is it possible to do it using Elbow?

Elbow doesn't currently support conjugate coordinate-ascent updates, which are what is often meant by "variational Bayes". But it is possible to implement LDA, and even handle large datasets using inference networks and minibatch training. The latent topic-word and document-topic probabilities are just Dirichlet matrices, which are already supported, so you just need an observation model to multiply these matrices to get document-word probabilities defining a multinomial density for each document (collapsing out the topic indicators for each word).
I've actually implemented something like this for a paper I'm working on; see
https://github.com/davmre/symmetrized_vi/blob/master/code/lda_core.py
for some example code (the CollapsedLDA class defines the conditional distribution for an observation model). It's not really documented, and may still be broken in several ways, but I'm hoping to clean it up and add it as an Elbow example in the near future.


Refactor dup code

This PR tries to summarize all duplicate code of in/eq/notEq/notIn in PBaseValueEqual and all Compare operations in PBaseCompareable
in/notIn are also extended to work with collections instead only with arrays.

Very nice, I like it - thanks !!


QR Scan UI enhancements

Better names
In its current state, the "More Options" menu in the "QR SCAN" tab is just a window with a checklist for variable names. Here are the proper names for each:

[ ] Codabar
[ ] Code 39
[ ] Code 93
[ ] Code 128
[ ] EAN-8
[ ] EAN-13
[ ] ITF (Potentially specify which types of ITF, such as ITF-6, ITF-14, etc.)
[ ] MaxiCode
[ ] GS1 DataBar (RSS-14 is its former name. Consider merging this with the next one.)
[ ] GS1 DataBar Expanded Stacked (This does not scan  unstacked DataBars for some reason)
[ ] UPC-A
[ ] UPC-E
[ ] EAN-2 / EAN-5 Addon (This may not be correct. Either way, it fails to scan these, so it needs added/fixed.)

Icons
Like the icons on the top of the "QR SCAN" tab, there should be example icons for the ones under "More Options"
Scan info
After scanning a code, it would be nice to display which type of code was scanned alongside the scan results. Something like "Scan Result: QR Code" would work fine.

Hi @An-anonymous-coder,
Thanks a lot for all the considerate efforts to compile a list of the popular names of each QR code, all the feedback and issues previously filed aimed at improving the camera app. Will surely being implementing these things while migrating the QR Scan mode to Jetpack Compose


Links not showing up in graph or in edit/clone until I refresh

v0.50.2-rc2
Steps:

Create a new Stack
Add a service call service1
Add a service called service2 and link it to 1
Add a load balancer and link it to service2
Add a Service alias and link it to Load balancer
Go to graph
Edit/clone/upgrade any of the above services

Results:  None of the targets/links are showing up.  It looks like there were never created.

after refresh

Expected:
Links/targets should show up in beginning.  It's very confusing to the user that they don't show up anywhere until after a refresh of the screen.

Did you have a second environment? You might be hitting #1389.

Works for me™, but running with the fix for #1389...

Version - master 01/19
Verified fixed


fix(setup): make session bucket pre-creation optional

We've decided to hold off on making a decision about this until after the #334 is landed and we can consider how best to manage nightly testing environments.

Closed in favor of #513


Is there an expected difference between GPU and CPU training?

Hi,
I ran the lstm_text_generation.py example on the CPU and GPU and reached different outcomes. Is this expected behaviour? I set numpy.random.seed(1234) at the top of the file before any Keras imports and ran both processes with THEANO_FLAGS=floatX=float32

Keras version 8e67b04
Python 2.7.5
Numpy 1.9.1
Scipy 0.15
Atlas 3.1.0
Theano 0.7.0

CPU: Intel Xeon E5-2650
GPU: NVidia Tesla K20X
GPU-mode output

$ THEANO_FLAGS=floatX=float32,device=gpu0 python lstm_text_generation.py
Couldn't import dot_parser, loading of dot files will not be possible.
Using gpu device 0: Tesla K20c
corpus length: 600901
total chars: 59
nb sequences: 200294
Vectorization...
Build model...
/local/user/.local/lib/python2.7/site-packages/theano/scan_module/scan_perform_ext.py:133: RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility
from scan_perform.scan_perform import *

Iteration 1
Epoch 0
200294/200294 [==============================] - 385s - loss: 2.8876

----- diversity: 0.2
----- Generating with seed: "choose for company t"
choose for company the the te the the the the tore and and ante the an ante the ans an the ale and and anthe the the and ande the the te an the the the tor an on the the the in the the tote the as in the te the the the the the ante the the ante the the ans the the the the the the te the perere to the cererte the the the cite ante the the the and on ante the tis an on the the the the the the the the te ante the te the

----- diversity: 0.5
----- Generating with seed: "choose for company t"
choose for company tar sose onthe pirte bos ol siteparint in int
elasinann on atisalt and onsesele sutise nocasgesn, belan ande th a the ols anpite tha te asd os aretee ther anf os ereracitte in ane site oora nith al enteite ant arte poithe to thee ander
os an osimesecins ir ereing antitint aute te po alion of to se toem and iol therisan iod te as te as irufe son in eseseline fomerine fis tore the thin te wote ane an

----- diversity: 1.0
----- Generating with seed: "choose for company t"
choose for company tisko, ota rloyd
at iret fowar at ilegiorseces;ts wicel thot erdrimhec, afliacceyd anse g"taet, th ofla piiy san
anpethir.pins bfans eelp"gringttounth chepmanl
atltaflpold f irtithocpertecl" ile taidos
"taly antislues,d"!:sly
ssroscete gode fis ter ardeyn pfotet oo gel.r irebpiphicaagrid anth ef seu=in "e)in lh aldacthosies""n,, wd annterce,rtoccwan istineds orde aanlleft"ichams th ared taslemasnip

----- diversity: 1.2
----- Generating with seed: "choose for company t"
choose for company tiuthuen,t
hed
ioctpiuon in mermbitev; fevwifile thtad cosady, -hfrennnpasathy]
infsintolg,s asnpd osr rtacikg tomwunet-cy nouagee, poce
vieol thy lovhon, sivd coxmey tocfat, thumhuroit" menm8espescot th sivwwomdin,, buultiag isiase"dercausit.nl: her elasdoon wavtefdiyi, phonce poratye, y "ssild teereyn. c anefsogl.f fh os hor oxsl amd
ifoo "ety ans
if wfo ass nrarfis[arorg.  olksu,",a
d
ilyuto-agh

CPU-mode output

$ THEANO_FLAGS=floatX=float32,device=cpu python lstm_text_generation.py
Couldn't import dot_parser, loading of dot files will not be possible.
corpus length: 600901
total chars: 59
nb sequences: 200294
Vectorization...
Build model...
/local/user/.local/lib/python2.7/site-packages/theano/scan_module/scan_perform_ext.py:133: RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility
from scan_perform.scan_perform import *

Iteration 1
Epoch 0
200294/200294 [==============================] - 2579s - loss: 2.8999

----- diversity: 0.2
----- Generating with seed: "choose for company t"
choose for company the orecere the te the the te the the the an an the and an the the tor and the the and on the the on te the se the the the the ante the the the the an and and ans on te the ante the the the and and and the the and and and the the the the the the the the the the te the te the an in on the the ant and the te te the the the the te in the the the te the the the the the the the the an te the the the the

----- diversity: 0.5
----- Generating with seed: "choose for company t"
choose for company torin and there is an the an ood wand thes and ter ind alete an on thir feseran the ande site the areter ond artin and eot res ter on bes on and mon on andethe we mhe irete te toe, the he thee an om as inde temdend on the te andetisl the end teut th ale anm and tere tine panne there te af ol an he eres an an whint hees the and cinin te teve tering and tere the in te the shes bon mhme ther inlind th

----- diversity: 1.0
----- Generating with seed: "choose for company t"
choose for company thevii lhiatenu" toos nrvdatl oncherincuselysi-ien h  isustshe ine
hesos)a,
-ond, anatu eedens inte .uthiwe,r the tirar sey howatin tis inn onethiid sedren tifd oncinavfso and thhade,,ed, insy an tivad aok cit hhe th tei gerk, tee avh ogase ,us
tin hher
abesy hf shs ba,soter bass bs gepfemeinhin be silconb
tud te
siunyu-atdutergictets of agyeen ure ongde
tos hardetise elanels shessan-d ewdy asvtenr

----- diversity: 1.2
----- Generating with seed: "choose for company t"
choose for company thelmetes,-v:hipes if dosicancfdy-h,, es
com(rmthe
rte pthe tfoin cin d7a0 ucologer-an anufors ane, hhe ue ims srhmu. ac e4andicet
inad ;, thobcevitam, bp
mpoemss,s heewye:sd, wtoke ben"vood erasaco is es tembfcenthes unand cumte sua dtin gol talusidd udcevifl cocore thicsr
cont merkimeed ir ur one mwereinn
cutid eova olc aaf
sot ueaelmtursior suiingrlenmarrruys,s--h andgbh
egilddsee.ge(- fodilt hh

Yes, there would be differences. The main difference is that CPU uses float64 data and GPU uses float32. You could run float32 computations on your CPU though (set the Thenao flat floatx=float32), but then again there can be remaining differences since all operations are being run by different pieces of code altogether, on physical devices that work quite differently.
Keras code can only be made deterministic on CPU or on GPU, but won't be deterministic across the two.
However your loss / accuracy metrics should be very close whatever the device. If you see significant differences there, that indicates a problem.

@fchollet So the differences are due to how the CPU / GPU code is designed and executed? Do you know of any discussions about what causes this by the developers of Theano or libgpuarray?

Across machines even with same architecture and same environments, I get different results as well.  But on a single machine, with successive runs (either CPU or GPU) I am able to get the exact same results.

Make sure you have the exact same version of all software. Just having a
different BLAS (openBLAS vs mkl for example) can change slightly the
results, as when small change like a + (b + c) != (a + b) + c on float
value.
On Wed, Dec 7, 2016 at 8:43 PM, wulabs<EMAIL_ADDRESS>wrote:

Across machines even with same architecture and same environments, I get
different results as well. But on a single machine, with successive runs
(either CPU or GPU) I am able to get the exact same results.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fchollet/keras/issues/681#issuecomment-265551808, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AALC-yaDZhGWzvwz5-Vn-_oBR58v59UDks5rFwx-gaJpZM4F8cnG
.


Python 3

I'm planning to convert a project that use to Python 3, and I would like to know if a python3-compatible pull request would have a chance to be merged ?
Thanks

@mkody I've just published the last release, thank you.


Signature Error (#574600) with HDT-SMP Force Fields - SkyrimSE v1.6.x

I'm unable to run the game at all with the latest version of this mod (I'm on game version 1.6.353). It was working then it stopped one time and I haven't been able to use it since. (The game runs fine without this mod checked in MO2) However, I'm hoping to find a fix for it because this mod absolutely transforms my 1st person gameplay.

I had this similar issue. The mod in question is this one https://www.nexusmods.com/skyrimspecialedition/mods/79899 There's a temporary fix in stickied post on said mod's page.

I disabled my modlist one by one and managed to fins the issue... It was this mod here https://www.nexusmods.com/skyrimspecialedition/mods/79899 You were right iam3rr0r, I just wasn't able to use your link for some odd reason Thanks for the assistance!

No problem. I am glad it helped you.

Just reopening this so it is on my radar to fix the address

Fixed in upcoming build.


Build map with sparse feature pintcloud

Hi,
I noticed that all sensors you used can generate a dense pointcloud. However, is there any possibility to build a map with sparse point cloud?  For example, I have a camera, which can only generate 2000 3D points(triangulated from orb feature points)  per frame and i know the 6Dof pose of each frame.
Thanks.

Hi @nhk035
We have actually used voxblox in combination with sparse 3D features before. Maybe this helps:
paper
[landmark integration code](https://github.com/ethz-asl/maplab/blob/master/interfaces/voxblox_interface/include/voxblox-interface/integration.h#L13]

Thanks for your reply @mfehr . I have read this paper before, but there are some details that were not well understood. So you mean i can find Topomap code in maplab?

@nhk035 not the whole code, only the part of topomap that takes a maplab map and integrates the visual 3D landmarks into voxblox, i.e. the function I linked above.
(ping @fabianbl)

Thanks, I will try the function.