DropdownButton should not have a border radius for its items

@HansMuller I am actually kind of confused that #84298 got merged, as it introduces changes that do not apply with the material design guidelines.
The specification says that the dropdown menu should have round corners, but not the elements within.
This PR did not only introduce rounded corners for the outer dropdown menu, which is correct, but also made the first and last element within the dropdown menu have rounded top or rounded bottom corners, which should not be the case.

How it is since this PR
How it was and should be

Spec:
See: https://material.io/components/menus#specs

Leaving this for further insight from the team.

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

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

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

class MyHomePage extends StatefulWidget {
  const MyHomePage({
    Key? key,
  }) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: DropdownButton(
          items: ['items', '/', 'n']
              .map((e) => DropdownMenuItem(
                    child: Text(e),
                    value: e,
                  ))
              .toList(),
          borderRadius: BorderRadius.circular(16.0),
          onChanged: (val) {},
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.8.1 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (3 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

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

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

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

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:318:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1428:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1863:10)
      #15     runZonedGuarded (dart:async/zone.dart:1851:12)
      #16     runZoned (dart:async/zone.dart:1782:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:197:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:301:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:53:47)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1290:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

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

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 7515F01A-C1B6-456E-8559-8D2383D3719D • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)    • macos                                • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 96.0.4664.110

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.9.0-1.0.pre.266, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.9.0-1.0.pre.266 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision dd4db8738a (6 hours ago), 2022-01-06 18:36:24 -0800
    • Engine revision 849877954b
    • Dart version 2.16.0 (build 2.16.0-144.0.dev)
    • DevTools version 2.9.2
    • PATH = /Users/nexus/depot_tools:/opt/homebrew/opt/node@16/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/nexus/depot_tools:/opt/homebrew/opt/node@16/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/nexus/dev/sdks/flutter/.pub-cache/bin:/Users/nexus/dev/sdks/flutter/bin:/Users/nexus/.pyenv/bin:/Users/nexus/Library/Android/sdk/platform-tools:/Users/nexus/Library/Android/sdk/cmake:/Users/nexus/Library/Android/sdk/build-tools/31.0.0:/Users/nexus/dev/sdks/flutter/.pub-cache/bin:/Users/nexus/dev/sdks/flutter/bin:/Users/nexus/.pyenv/bin:/Users/nexus/Library/Android/sdk/platform-tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/nexus/depot_tools:/opt/homebrew/opt/node@16/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/nexus/dev/sdks/flutter/.pub-cache/bin:/Users/nexus/dev/sdks/flutter/bin:/Users/nexus/.pyenv/bin:/Users/nexus/Library/Android/sdk/platform-tools:/Users/nexus/Library/Android/sdk/cmake:/Users/nexus/Library/Android/sdk/build-tools/31.0.0:/Users/nexus/Library/Android/sdk/cmake:/Users/nexus/Library/Android/sdk/build-tools/31.0.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

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

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

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

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1426:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1861:10)
      #15     runZonedGuarded (dart:async/zone.dart:1849:12)
      #16     runZoned (dart:async/zone.dart:1780:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:205:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:309:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

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

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 7515F01A-C1B6-456E-8559-8D2383D3719D • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)    • macos                                • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 96.0.4664.110

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

! Doctor found issues in 1 category.

Is there no way to remove this padding?

Do you mean the padding at the top and at the end of the menu?
This is by material design spec. It is supposed to be there

Yeah, but shouldn't we be able to change that? I feel it is too restrictive.

I think that would be off topic for this issue, but I would recommend creating a new issue regarding this and getting some feedback from the team :)

I was thinking, if it had that, I could just disable the padding and the behavior would be kind of similar to what we want. Yeah, fair. There is already an issue for Dropdown customization being poor.

@LasseRosenow - I think you're right; @guidezpl - can you confirm?

Can confirm

@bernaferrari, @LasseRosenow - I agree that it would be convenient for DropDownButton to include a menuContentPadding parameter, to enable overriding the default.

The issue is this, but it is 3 years old. I had the issue this week, that's why I was complaining here :P
https://github.com/flutter/flutter/issues/25151


Place conduits into inventory when Yeta Wrench'ed

Is your feature request related to a problem? Please describe.
When shift right clicked, conduits do not go into your inventory. They are dropped on the ground as an item. MachineBlockEntities do have this ability.
Describe the solution you'd like
It would be convenient if conduits mirrored the behavior of Machine Blocks and attempted to be placed in the inventory.
Additional context
I actually tested to see if it would work to use the same method MachineBlockEntity uses to accomplish and it does. If you guys deem this feature a good one would you like me to submit a pull request? Up to you. Its quite a small change.

I could see this being added; I like the idea of trying to add it to the player's inventory first, way better than crawling around in gaps behind your base :P

Completed in #280


Audit memory use of full ledger state during chain validation

Background
In PR #411, RTS options were added to the tests in order to limit the memory usage: "-with-rtsopts=-K450K -M200M"
However, in PR #434, it appears that we now require more than twice as much heap memory for a successful run of the test suite (we've limited the heap to 500M now).
Proposed Solution
We should perform some heap profiling while validating the chain with the full ledger state in order to determine whether there are any memory leaks.

Next Action

This may be useful: https://github.com/input-output-hk/iohk-monitoring-framework/issues/231

Relevant: PR #489 was merged which adds a test that asserts that the ChainValidationState is in normal form after applying each epoch during the mainnet epoch validation tests. A hydra job was added to run this test as well.


[8.x] Add generator support to LazyCollection

LazyCollection fix
LazyCollection supports generator closures but not generators themselves, if you pass in a generator it gets eager loaded (turned into an array). My PR wraps the generator in a closure so it maintains the generator behavior.
$source = [1, 2, 3, 4, 5];

$generatorClosure = function () use (&$source) {
    yield from $source;
};

$collection = LazyCollection::make($generatorClosure());

$source[] = 6;

$collection->all(); // before: [1, 2, 3, 4, 5]
                    // after: [1, 2, 3, 4, 5, 6]

An example use case would be the cursor method in the Illuminate\Database\Query class:
public function cursor()
{
    if (is_null($this->columns)) {
        $this->columns = ['*'];
    }

    return new LazyCollection(function () {
        yield from $this->connection->cursor(
            $this->toSql(), $this->getBindings(), ! $this->useWritePdo
        );
    });
}

Becomes:
public function cursor()
{
    if (is_null($this->columns)) {
        $this->columns = ['*'];
    }

    return new LazyCollection($this->connection->cursor(
        $this->toSql(), $this->getBindings(), ! $this->useWritePdo
    ));
}

Note: I am aware of this PR, but I don't think the reasoning is valid. If you pass in a closure that returns a Generator there is no difference to us wrapping a generator into a closure.
Please share your thoughts about this below, I'm trying to find a reason why it shouldn't be supported.

We should not change this if @JosephSilber specifically notes that this isn't wanted.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.

@driesvints, I think we should reconsider this. @JosephSilber, could you elaborate on why this is a bad idea seeing that this use case is what you would logically want to do with something called a lazy collection?

@neemspees if you follow the links I've posted, you'll see the reasoning many times over.
If nothing else, this on its own is reason enough:
$collection->first() == $collection->first(); // false :(

@neemspees we won't be reconsidering this, sorry.


ComboBox ResizeObserver issue

Package name(s)
Core (@salt-ds/core)
Package version(s)
1.24.0
Description
There is an error occurred in multiselect combobox, after typing something then remove it using backspace
ERROR
ResizeObserver loop completed with undelivered notifications.
at handleError (http://localhost:3003/static/js/bundle.js:7756:58)
at http://localhost:3003/static/js/bundle.js:7775:7
Steps to reproduce

Create more than one combobox with the same options
In any combobox (after the first one), type something, then remove it using backspace. There will be an error message:

ERROR
ResizeObserver loop completed with undelivered notifications.
at handleError (http://localhost:3003/static/js/bundle.js:7756:58)
at http://localhost:3003/static/js/bundle.js:7775:7
Expected behavior
No response
Operating system

[x] macOS
[ ] Windows
[ ] Linux
[ ] iOS
[ ] Android

Browser

[x] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

Are you a JPMorgan Chase & Co. employee?

[X] I am an employee of JPMorgan Chase & Co.

Could you provide a minimum reproducible example?

Closing this for now, if we have a reproduction we can reopen


Setting language

How do you set the language to use? I see there is some hardcoded value in SpeechRecognition definition:
var SpeechRecognition = function () {
    this.grammars = null;
    this.lang = "en";// <- This one
    ...

Looks like those values should be passed along with the constructor call, anyway I tried setting the lgn atribute in the root html tag but that does not work either.

You can change  the lang attribute after building the object
On Oct 10, 2015 8:59 AM, "Jaime"<EMAIL_ADDRESS>wrote:

How do you set the language to use? I see there is some hardcoded value in
SpeechRecognition definition:
var SpeechRecognition = function () {
this.grammars = null;
this.lang = "en";// <- This one
...
Looks like those values should be passed along with the constructor call,
anyway I tried setting the lgn atribute in the root html tag but that does
not work either.
—
Reply to this email directly or view it on GitHub
https://github.com/macdonst/SpeechRecognitionPlugin/issues/27.

How do you do so? Directly in the Plugin source?

Don't change the plugin source, work from outside.
var recognition = new SpeechRecognition();
recognition.lang = 'it-IT';
recognition.onresult = function(event) { .... }```

Alright, I was not looking at the source code that well, thanks for your help @pieroit, I'll try to contribute some documents after finishing my work with the plugin.


integrate three.js in a GCanvasView : Error Renderer

I'm trying to render a scene three.js in a GCanvasView. But it doesn't work...
I can display shapes in webgl and 2D but not with Three.js.
The function that does not work with three.js is the function WebGLRenderer().

let ref = this.refs.canvas_holder;
let canvas_tag = findNodeHandle(ref);
// var canvas_tag = "2";
let el = {ref: "" + canvas_tag, style: {width: 414, height: 376}};
ref = enable(el, {bridge: ReactNativeBridge});

//Webgl
let gl = ref.getContext('webgl');
gl.clearColor(0.0, 0.0, 0.0, 1.0);
gl.clear(gl.COLOR_BUFFER_BIT|gl.DEPTH_BUFFER_BIT);

var renderer = new THREE.WebGLRenderer({canvas: ref});
renderer.setSize( 800, 640 );
var scene = new THREE.Scene();

I've already tried integrating three.js into React native with the react-native-webgl library. The rendering of the scene worked but I couldn't control the camera... So I'm trying Gcanvas
Config:
react-native-cli: 2.0.1
react-native: 0.55.4
Error
_console.error: "THREE.WebGLRenderer: _canvas.addEventListener is not a function.
(in '_canvas.addEventListener('webglcontextlost', onContextLost , false)',
'canvas.addEventListener' is undefined)'
The functions that trigger the error are in the file three.module.js ( /node_modules/three/build/three.module.js)
// event listeners must be registered before WebGL context is created, see #12753
_canvas.addEventListener( 'webglcontextlost', onContextLost, false );
_canvas.addEventListener( 'webglcontextrestored', onContextRestore, false );

At first I thought that Gcanvas did not accept the addEventListener() function. But after searching in the Gcanvas repository, I found the same function in the Gimage class ( GCanvas/GCanvas/js/src/env/image.js) that called when var image = new GImage();
Do you have an idea to render three.js in a Gcanvas view? Thanks

+1

https://www.decoide.org/react-native/docs/appstateios.html

three.js is not support now, and js binding will be support later


Button name changed

It looks like the button name changed:
To take a snapshot of a blob, right-click the blob and select Create Snapshot.
->
To take a snapshot of a blob, right-click the blob and select Make Snapshot.

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

ID: be092d5e-0fd1-09c2-ed05-41052bd92d9e
Version Independent ID: 071489ab-93ea-e73f-6c6a-d110afb13afe
Content: Quickstart: Use Azure Storage Explorer to create a blob in object storage
Content Source: articles/storage/blobs/storage-quickstart-blobs-storage-explorer.md
Service: storage
GitHub Login: @tamram
Microsoft Alias: tamram

Can close this, looks like my version is old :)

@stephenmichaelf thanks for the update and closing out the issue.


[Card] Add .inverted variation to the card component

Steps to Reproduce

Create

Expected
The Card should use white text on a dark background.
Result
The Card does not do this

Added ti 2.1.x milestone, nice suggestion :+1:

are those milestones public somewhere?

You can check the milestones at: https://github.com/Semantic-Org/Semantic-UI/milestones

I've tried this in the latest React-Semantic-UI and it did not work. I would suspect that the selected Milestone is wrong or the React build does not properly forward the inverted style.

Hi @baadc0de actually it's because there is no inverted style for cards in semantic-ui. Semantic-UI-React is actually CSS agnostic. That is, they don't provide the CSS at all.  But if you look, you'll find there is no inverted style for card in the Semantic-UI CSS. You'll need to create you own, as I've done for my site.

Well, this is a perfect ticket to request it then. @jokeronaldo would you still consider it for inclusion into SUI, and so could you verify into which milestone release of SUI this request would go? @Maxhodges would you consider making a PR for this with your own mods to SUI?

I just did it in my custom theme by overriding the card view. I used a 'dark' class instead of inverted (in case SUI makes an inverted style later). This might help you get started, but it might not be the whole picture because I think we override default text colors too in another place
blackship/client/lib/themes/blackship/views/card.overrides.import.less
.ui.dark.cards > .dark.card, .ui.dark.card {
  max-width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 290px;
  min-height: 0px;
  background: @dark-bg-40;
  padding: 0em;
  border: none;
  border-radius: 0.28571429rem;
  box-shadow: 0px 1px 3px 0px @dark-bg-40, 0px 0px 0px 1px @dark-bg-40;
  transition: box-shadow 0.1s ease, transform 0.1s ease;
  z-index: '';
}

.ui.dark.card {
  background: @dark-bg-40;
}

.ui.dark.cards > .dark.card > .content > a.header, .ui.dark.card > .content > a.header {
  color: white;
}

.ui.cards > .card .meta, .ui.card .meta {
  font-size: 1em;
  color: @grey-50;
}

.ui.dark.cards > .dark.card > .content > .header, .ui.dark.card > .content > .header {
  //display: block;
  //margin: '';
  //font-family: 'Roboto', 'sans-serif';
  color: white;
}

.ui.dark.cards > .dark.card > .content > .description, .ui.dark.card > .content > .description {
  clear: both;
  color: white;
}

.ui.dark.cards > .dark.card > .content > a.header:hover, .ui.dark.card > .content > a.header:hover {
  color: rgba(0, 0, 0, .8);
}

.ui.dark.cards > .dark.card > .extra,
.ui.dark.card > .extra {
  border-top: 1px solid @textColor !important;
  color: inherit;
}

//@shadowHoverBoxShadow: none;
//@linkHoverBorder: 1px;

Thanks, it certainly helps! 👍

Any updates on this??

The community fork Fomantic-UI implemented a inverted card variant since 2.5
https://fomantic-ui.com/views/card.html#inverted

Thank you very much for pointing me to Formantic-UI!.


not working with intigriti

not fetching intigriti calls nowadays please check

Yep, looks like they don't use the authorisation header any more.

@albinowax yeah, there is no bearer token anymore

@0xdln1 it's fixed in the latest release now

Hey guys,
sorry for not replying to this issue earlier, as @albinowax said I fixed it in the latest release :)
Thanks!


Standard way to disable internal magnetometer?

Setup:
Pixhawk: v2
Branch: master
Question:
I didn't find standard parameter to disable internal magnetometer. Does it exist or the only solution is to disable it in lsm303d.cpp?

There isn't currently a good way to do this (discussed a bit here: https://github.com/PX4/Firmware/pull/8039).
For now you could hack the init script (https://github.com/PX4/Firmware/blob/master/ROMFS/px4fmu_common/init.d/rc.sensors#L142) and not start the driver.

Thanks dagar, i've already modified the code as short-term hack.

@ dagar, what is the parameter in v1.8.0 to disable the internal magnetometer in the Pixracer?

Possible unset https://docs.px4.io/en/advanced_config/parameter_reference.html#CAL_MAG1_EN ? @dagar It would actually be good to clarify this.

Hi,
I have not tried this, but, is it possible to set CAL_MAG1_EN before calibration?
For example, put it on a RC script. At the moment of parameter initialization, it will not be applied.


controls.progress UI

When we dont have progress in controls (Option) the UI of volume and full icons are not aligned to the right, as shown in the image. I think it would be better if we always restrict them to the right most.
Thanks.

Will take a look at this 👍

Closing this one as I think it's fixed but feel free to re-open if not solved in v3 👍


Convert bindings_ffi to use tracing rather than log

Using the tracing crate in bindings_ffi makes it consistent with the rest of the crate. Using tracing has many other benefits as well:

Easy toggling between human-readable and structured logging
extremely configurable formats
tracing preserves context of async tasks/spans, making it easier to follow their execution
ability to attach third party log viewers to converse for instance consider bevys strategy

done in #1372


Add new app icon, preview image in readme

https://github.com/poviolabs/Lingua/tree/feature/integrate-new-designs

I think we can only add 1024 app icon to the assets, instead of all dimensions 🤔

Actually that does not seems to be available for maOS, meanwhile for iOS and watchOS it is.


Bug report: info of outdated cask raises

brew cask info atom errors with No such file or directory - /usr/local/Caskroom/atom/1.9.8.  Looking inside /usr/local/Caskroom/atom, I appear to have version 1.9.7 installed.  I moved another, unrelated cask's inner folder to a different name, ran brew cask info other_cask and had the same error pop up.
Output of `brew cask info atom --verbose`
Error: No such file or directory - /usr/local/Caskroom/atom/1.9.8
  Most likely, this means you have an outdated version of Homebrew-Cask. Please run:

      brew uninstall --force brew-cask; brew untap phinze/cask; brew untap caskroom/cask; brew update; brew cleanup; brew cask cleanup

  If this doesn’t fix the problem, please report this bug:

      https://github.com/caskroom/homebrew-cask#reporting-bugs

/usr/local/Library/Homebrew/extend/pathname.rb:50:in `lstat'
/usr/local/Library/Homebrew/extend/pathname.rb:50:in `lstat'
/usr/local/Library/Homebrew/extend/pathname.rb:50:in `compute_disk_usage'
/usr/local/Library/Homebrew/extend/pathname.rb:21:in `abv'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli/info.rb:19:in `info'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli/info.rb:8:in `block in run'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli/info.rb:5:in `each'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli/info.rb:5:in `run'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli.rb:108:in `run_command'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli.rb:146:in `process'
/usr/local/Library/Taps/caskroom/homebrew-cask/cmd/brew-cask.rb:23:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Library/Homebrew/brew.rb:22:in `require?'
/usr/local/Library/Homebrew/brew.rb:93:in `<main>'
Error: Kernel.exit

Output of `brew doctor`
—

Output of `brew cask doctor`
==> macOS Release:
10.11.6
==> Hardware Architecture:
intel-64
==> Ruby Version:
2.0.0-p648
==> Ruby Path:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
==> Homebrew Version:
Homebrew 0.9.9 (git revision b40b0; last commit 2016-08-13)
Homebrew/homebrew-core (git revision 35ae; last commit 2016-08-13)
==> Homebrew Executable Path:
/usr/local/bin/brew
==> Homebrew Cellar Path:
/usr/local/Cellar
==> Homebrew Repository Path:
/usr/local
==> Homebrew Origin:
https://github.com/Homebrew/brew
==> Homebrew-Cask Version:
0.60.0 (git revision 96c1; last commit 5 hours ago)
==> Homebrew-Cask Install Location:
<NONE>
==> Homebrew-Cask Staging Location:
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads:
/Users/.../Library/Caches/Homebrew/Cask
0 files, 0B
==> Homebrew-Cask Default Tap Path:
/usr/local/Library/Taps/caskroom/homebrew-cask
==> Homebrew-Cask Alternate Cask Taps:
<NONE>
==> Homebrew-Cask Default Tap Cask Count:
3257
==> Contents of $LOAD_PATH:
/usr/local/Library/Taps/caskroom/homebrew-cask/lib
/usr/local/Library/Homebrew
/Library/Ruby/Site/2.0.0
/Library/Ruby/Site/2.0.0/x86_64-darwin15
/Library/Ruby/Site/2.0.0/universal-darwin15
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin15
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin15
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin15
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin15
==> Contents of $RUBYLIB Environment Variable:
<NONE>
==> Contents of $RUBYOPT Environment Variable:
<NONE>
==> Contents of $RUBYPATH Environment Variable:
<NONE>
==> Contents of $RBENV_VERSION Environment Variable:
<NONE>
==> Contents of $CHRUBY_VERSION Environment Variable:
<NONE>
==> Contents of $GEM_HOME Environment Variable:
<NONE>
==> Contents of $GEM_PATH Environment Variable:
<NONE>
==> Contents of $BUNDLE_PATH Environment Variable:
<NONE>
==> Contents of $PATH Environment Variable:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Library/Taps/caskroom/homebrew-cask/cmd:/usr/local/Library/Taps/homebrew/homebrew-services/cmd:/usr/local/Library/Homebrew/shims/scm"
==> Contents of $SHELL Environment Variable:
SHELL="/usr/local/bin/fish"
==> Contents of Locale Environment Variables:
LANG="en_GB.UTF-8"
==> Running As Privileged User:
No

As an aside, the output or brew cask doctor has my username under the 'Homebrew-Cask Cached Downloads' heading.  A less astute copy-paster might unwittingly reveal their name.

Also, this message shouldn't suggest brew untap phinze/cask command. As of https://github.com/caskroom/homebrew-cask/issues/16094#issuecomment-167276090

@sanyer That comment instructs you not to tap phinze/cask, not untap it. Some folks have been using Homebrew Cask since the days when @phinze ran the show, and they may have an old tap lying around causing bugs. The suggestion is still relevant to those users.

@jawshooah oh, ok, makes sense. Thing is, that it confused me and I started looking for this tap, ended up tapping it :-)

Fixed in https://github.com/caskroom/homebrew-cask/pull/23782.

Same error still after updated with merge from https://github.com/caskroom/homebrew-cask/pull/23782. Were there some changes made that might cause errors for previously installed older casks, that might not occur for outdated casks installed following this merge?

@wickles, what cask exactly is this happening with?

All outdated casks.

`brew info calibre`
```
alex@Alex-MBA-2013:~$ cask info calibre
calibre: 2.64.0
https://calibre-ebook.com/
Error: No such file or directory - /opt/homebrew-cask/Caskroom/calibre/2.56.0
  Most likely, this means you have an outdated version of Homebrew-Cask. Please run:
  brew uninstall --force brew-cask; brew untap phinze/cask; brew untap caskroom/cask; brew update; brew cleanup; brew cask cleanup

If this doesn’t fix the problem, please report this bug:
  https://github.com/caskroom/homebrew-cask#reporting-bugs

/usr/local/Library/Homebrew/extend/pathname.rb:50:in lstat' /usr/local/Library/Homebrew/extend/pathname.rb:50:in lstat'
/usr/local/Library/Homebrew/extend/pathname.rb:50:in compute_disk_usage' /usr/local/Library/Homebrew/extend/pathname.rb:21:in abv'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli/info.rb:35:in block in installation_info' /usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli/info.rb:33:in each'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli/info.rb:33:in installation_info' /usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli/info.rb:20:in info'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli/info.rb:9:in block in run' /usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli/info.rb:5:in each'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli/info.rb:5:in run' /usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli.rb:108:in run_command'
/usr/local/Library/Taps/caskroom/homebrew-cask/lib/hbc/cli.rb:146:in process' /usr/local/Library/Taps/caskroom/homebrew-cask/cmd/brew-cask.rb:23:in <top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require'
/usr/local/Library/Homebrew/brew.rb:22:in require?' /usr/local/Library/Homebrew/brew.rb:93:in '
</details>

<details>
<summary>`brew doctor`</summary>

alex@Alex-MBA-2013:~$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should sudo chown -R $(whoami) them:
/usr/local/share/man/de
/usr/local/share/man/de/man1
Warning: Anaconda is known to frequently break Homebrew builds, including Vim and
MacVim, due to bundling many duplicates of system and Homebrew-available
tools.
If you encounter a build failure please temporarily remove Anaconda
from your $PATH and attempt the build again prior to reporting the
failure to us. Thanks!
Warning: "config" scripts exist outside your system or Homebrew directories.
./configure scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/Users/alex/anaconda/bin/curl-config
/Users/alex/anaconda/bin/freetype-config
/Users/alex/anaconda/bin/libdynd-config
/Users/alex/anaconda/bin/libpng-config
/Users/alex/anaconda/bin/libpng16-config
/Users/alex/anaconda/bin/python-config
/Users/alex/anaconda/bin/python2-config
/Users/alex/anaconda/bin/python2.7-config
/Users/alex/anaconda/bin/xml2-config
/Users/alex/anaconda/bin/xslt-config
/opt/local/bin/apr-1-config
/opt/local/bin/apu-1-config
/opt/local/bin/curl-config
/opt/local/bin/freetype-config
/opt/local/bin/gdlib-config
/opt/local/bin/gsl-config
/opt/local/bin/gts-config
/opt/local/bin/jemalloc-config
/opt/local/bin/krb5-config
/opt/local/bin/libpng-config
/opt/local/bin/libpng16-config
/opt/local/bin/Magick++-config
/opt/local/bin/Magick-config
/opt/local/bin/MagickCore-config
/opt/local/bin/MagickWand-config
/opt/local/bin/ncurses6-config
/opt/local/bin/ncursesw6-config
/opt/local/bin/netpbm-config
/opt/local/bin/pcap-config
/opt/local/bin/pcre-config
/opt/local/bin/pkg-config
/opt/local/bin/python-config
/opt/local/bin/python2.7-config
/opt/local/bin/python3.5-config
/opt/local/bin/python3.5m-config
/opt/local/bin/root-config
/opt/local/bin/sdl-config
/opt/local/bin/Wand-config
/opt/local/bin/xml2-config
/opt/local/bin/xslt-config
/usr/local/pspdev/bin/psp-config
Warning: Python is installed at /Library/Frameworks/Python.framework
Homebrew only supports building against the System-provided Python or a
brewed Python. In particular, Pythons installed to /Library can interfere
with other software installs.
Warning: You have MacPorts or Fink installed:
/opt/local/bin/port
This can cause trouble. You don't have to uninstall them, but you may want to
temporarily move them out of the way, e.g.
sudo mv /opt/local ~/macports
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libusb-0.1.4.dylib
Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected header files:
/usr/local/include/usb.h
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libusb.la
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/libusb.pc
Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected static libraries:
/usr/local/lib/libusb.a
Warning: Homebrew's sbin was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting the PATH for example like so
echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.bash_profile
Warning: You have a non-Homebrew 'pkg-config' in your PATH:
/opt/local/bin/pkg-config
./configure may have problems finding brew-installed packages using
this other pkg-config.
Warning: Broken symlinks were found. Remove them with brew prune:
/usr/local/bin/unoinfo
Warning: Some installed formula are missing dependencies.

Is it working for current casks?

Yes. brew cask info works for casks that I do not have installed and for casks that were previously installed and up to date.

That's more a lack of fault tolerance than an actual bug.  The new info lists all prior versions you've got installed; it derives these from the hidden 'metadata' folder.  You appear to have deleted the cask version folders but retained their corresponding metadata entries.  Try running cd /opt/homebrew-cask/Caskroom/calibre; ls .metadata | xargs mkdir and then brew cask info calibre again.

@wfdd, that was also the only thing I could think of, as there are some casks that move the entire versioned staged_path as a suite (e. g. displaycal).

Both brew cask info displaycal and brew cask uninstall displaycal fail after installation, so this should be treated as a bug then.

@wfdd, brew cask uninstall displaycal is working for me, so this might be a separate issue.

I experienced this issue with casks I had previously installed and updated. I had deleted the prior version folder under /usr/local/Caskroom// but not the corresponding version folder in .metadata (/usr/local/Caskroom//.metadata/). Once I also deleted the prior version folder in .metadata everything is working as expected.

Ok, info works appropriately now since https://github.com/caskroom/homebrew-cask/pull/23808. FWIW I was using just brew cask install --force to upgrade outdated casks, which I was under the impression was a suggested approach.
So, this change breaks my cask-outdated alias:
alias cask-outdated='brew cask list | xargs brew cask info | grep -i -B 3 '\''Not installed'\'''

Is there a new suggested way to check for outdated casks?

There is not yet an officially supported way to check for outdated Casks or to upgrade Casks.
Speaking as a user and not as a maintainer, however, check out brew-cask-upgrade.

Would it make sense to add a line to info to show when a cask is installed but not current? Analogously to Not installed. For example:

mono-mdk: <IP_ADDRESS>
http://mono-project.com/
Not up-to-date
/opt/homebrew-cask/Caskroom/mono-mdk/<IP_ADDRESS> (does not exist)
/opt/homebrew-cask/Caskroom/mono-mdk/<IP_ADDRESS> (295.0M)
/opt/homebrew-cask/Caskroom/mono-mdk/<IP_ADDRESS> (302.6M)
From: https://github.com/caskroom/homebrew-cask/blob/master/Casks/mono-mdk.rb
==> Name
Mono
==> Artifacts
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg (pkg)


Catalog onboard

Description
Catalog onboard
Release required?

[ ] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

:tada: This PR is included in version 3.11.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add Static Analysis

[ ] All tests passed. If this feature is not already covered by the tests, I added new tests.
[x] This pull request is on the dev branch.
[x] I used gofmt for formatting the code before submitting the pull request.

Run a Github action with static analysis and gosec scan on every pr/push (parallel to tests).
Both tools can also be run from the command line.
Both currently failing over a few specific rules which require some discussion.

might fix this > Add error assertion for files/FindUpstream chdir functions

closed in favor of #537


Corrected webkit config instructions in README

Configuration for webkit driver in README said:
Capybara.javascript_driver = :webkit
...which had no effect when I added it to spec_helper.rb. When I adjusted it to match the config instructions for selenium:
Capybara.default_driver = :webkit
Everything worked as expected. I updated the README to reflect the change.
Thanks for the great tool!
-- Bill

Most likely you don't want to run everything in capybara-webkit. Most people will want to keep the default driver as :rack_test and use capybara-webkit only for scenarios tagged with javascript. The README could be more explicit about this, but this change would be confusing as well. Honestly, I personally feel that it's fine as is, and if you'd read the README more thoroughly and understood the purpose of javascript_driver, you wouldn't have had a problem.

Thanks for your prompt response.

javascript_driver doesn't do anything unless you use RSpec or Cucumber, right? Perhaps we should write something like this?
Capybara.default_driver = :webkit

Or, if you are RSpec or Cucumber:

Capybara.javascript_driver = :webkit

I can make a pull request if you like.

@joliss +1. I agree. As a new user to Capybara, that totally tripped me up until I stumbled onto your comment!
I kept getting errors like: NoMethodError: undefined method javascript_driver=' for Capybara:Module`
Looks like it's a simple fix – once you realize RSpec is required you can run code like this:
require 'capybara/rspec'
Capybara.javascript_driver = :webkit

But, that wasn't obvious to me when I first read the README.

@joliss +1. I agree.

I'm not sure if I still agree with my previous statement. :-) We probably should endorse Capybara.javascript_driver regardless of the testing framework. I have a documentation patch for Test::Unit coming up in a day or so.
You are right though that Capybara.javascript_driver should be available.
>> require 'capybara' #=> true
>> Capybara.javascript_driver
NoMethodError: undefined method `javascript_driver' for Capybara:Module
	from (irb):2
	from /usr/bin/irb1.9.1:12:in `<main>'
>> require 'capybara/dsl' #=> true  # or 'capybara/rspec', which in turn requires 'capybara/dsl'
>> Capybara.javascript_driver #=> :selenium

@jnicklas, that shouldn't happen, should it? I made a pull request at #582 to automatically require 'capybara/dsl'. (I thought about simply moving things out of dsl.rb up into capybara.rb, but I wasn't really sure if they best belong there.)


Support ntba 0.28.0

<EMAIL_ADDRESS>is almost here.
We need to update the library to support the added features (and fixes). It would be great if the two libraries kept at par :grin:  and got released together.
#TODO

New Release, v0.11.0


chore: update deny.toml to version 2.

#4616  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rzvxa and the rest of your teammates on  Graphite


Kiali for v1.5 is not working.

Bug description
See notes.
When following "getting started", I was unable to get the Kiali dashboard working. I used GKE to run my cluster.
Expected behavior
Kiali dashboard should work.
Steps to reproduce the bug
Follow the https://preliminary.istio.io/docs/setup/ using v1.5.0-beta8
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
How was Istio installed?
As described in https://preliminary.istio.io/docs/setup/
Environment where bug was observed (cloud vendor, OS, etc)
GKE.

@jmazzitelli is https://github.com/istio/istio/pull/20131 able to fix this problem?
I was able to bring up Kiali with Istio 1.5 beta 3 by turning off Kiali security.  This is a work-around until the PR merges.
kubectl -n kiali-operator patch kiali kiali --type=json --patch='[{"op": "replace", "path": "/spec/identity", "value": {"cert_file": ""}}]'

Thank you, Ed!
Moving forward, are turning kiali security back on?
On Mon, Mar 2, 2020 at 06:31 Ed Snible<EMAIL_ADDRESS>wrote:

@jmazzitelli https://github.com/jmazzitelli is #20131
https://github.com/istio/istio/pull/20131 able to fix this problem?
I was able to bring up Kiali with Istio 1.5 beta 3 by turning off Kiali
security. This is a work-around until the PR merges.
kubectl -n kiali-operator patch kiali kiali --type=json --patch='[{"op": "replace", "path": "/spec/identity", "value": {"cert_file": ""}}]'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/21688?email_source=notifications&email_token=AMV3S42VYN7SQ6465WPQW5LRFO7NVA5CNFSM4K7KDLQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPQQKY#issuecomment-593430571,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMV3S44PBXCE2EUWGHUG6JDRFO7NVANCNFSM4K7KDLQA
.

--
Nico

I see no details - what does it mean that kiali does not work? Do you have any logs? Did you install using istioctl or did you install using Kiali Operator?
The solution @esnible mentions is only if Kiali Operator installed Kiali - instioctl shoudl install Kiali fine.

FWIW: "istioctl dashbaord kiali" assumes kiali is installed without https in front of it. By default kiali is not installed with https using istioctl - to get https, just use a gateway to expose kiali and go through the gateway.
(I was not involved in the implementation of "istioctl dashboard kiali" - I do not know why they turned off kiali security/https - I think it had to do with not wanting to rely on citadel self-signed certs.)

Ed - yes, I think #20131 might (I need to check to be sure).
Note that the kiali operator default is fixed in kiali 1.15 due to be released in a couple weeks: https://github.com/kiali/kiali/pull/2441
What you need to do is make sure the identity fields are empty strings - which I believe #20131 does. I need to double check - currently in meetings, will check shortly.
However, this problem shouldn't happen at all if using istioctl to install kiali.

I just installed Istio 1.5.0 beta 5, and installed with istioctl manifest apply --set addonComponents.kiali.enabled=true.  Then I did istioctl dashboard kiali.  The output isn't promising:
The Kiali secret is missing. Users are prohibited from accessing Kiali until an administrator creates a valid secret. Please refer to the Kiali documentation for more details.

To get Kiali up, without --set profile=demo, I needed to do --set addonComponents.kiali.enabled=true --set values.kiali.createDemoSecret=true which is not obvious!

@jmazzitelli I designed istioctl dashboard kiali, and it just does kubectl port-forward and open <url>.  It was intended to be a shortcut around complex docs, not a good solution for internet-facing Kiali.  If you have ideas for improving it let me know or we can discuss it during a UX working group.

To get Kiali up, without --set profile=demo, I needed to do --set addonComponents.kiali.enabled=true --set values.kiali.createDemoSecret=true which is not obvious!

 See the istio docs here:
https://istio.io/docs/tasks/observability/kiali/#create-a-secret


fix bug for find_zero

Before continue, we should update some stats.

Looks related to #201. @Co1lin can I have your thoughts here too?

@ganler I think it is correct. See the discussion in #201 .


In the adaptive runtime the memory scopes should be setup by bot to avoid the need for the adapter to do it

This is not good:
https://github.com/microsoft/botbuilder-dotnet/blob/122126d53eec9f4104c7f7d4332c6639f26553c3/libraries/integration/Microsoft.Bot.Builder.Integration.Runtime/CoreBotAdapter.cs#L45
but presumably needed by LoadSettings in the SettingsMemoryScope
the better solution is to have the bot rather than the adapter read the IConfiguration create the SettingsMemoryScope and put it on the TurnState

The fix here is waiting on @carlosscastro checkin to generically add memory scopes to the TurnState


Add related snippets section to PublicSnippet page

For more details, open the Copilot Workspace session.

@coderabbitai review


Does LinkedIn integration work with Sales Professional?

Please explicitly state if the LinkedIn integration works with Sales Professional.
[Enter feedback here]

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

ID: 48688d01-0fc5-20bf-df46-4ba70b7a07e5
Version Independent ID: 52d15532-65c6-e3b8-899e-08e04132de09
Content: Integrate LinkedIn Sales Navigator solutions for Dynamics 365 Sales
Content Source: ce/linkedin/integrate-sales-navigator.md
Service: crm-online
GitHub Login: @shubhadaj
Microsoft Alias: shujoshi

updated the LinkedIn FAQs section with the availability and other sections with sales professional availability.

updated the LinkedIn FAQs section with the availability and other sections with sales professional availability.


Support for XCTest addUIInterruptionMonitor for iOS system alerts and dialogs

I'm aware that the XCTest framework on iOS supports intercepting and interacting with system alerts, which is currently not a part of Detox.
It would be great if we could overload expect to await on an alert by text, instead of an element, passing in the text of the button to tap and/or the alert text to verify.
An example method call would look like this:
await expect(alert(by.text('This is an alert')).toBeVisible()
await alert(by.button('OK').tap()
If this has to be done as a setup step, then maybe an API like this could be useful:
beforeEach(async () => {
  // existing code
  await interceptAlert('This is an alert', buttons -> {
    buttons['OK'].tap()
  }
})

It could reject the promise if no button with label appears or if the alert doesn't appear within expect timeframe.
Apple's resource on the matter: https://developer.apple.com/documentation/xctest/xctestcase/handling_ui_interruptions

Thanks for the suggestion, @antgly! We will keep this in mind in the context of our work on XCTest integ. in #2741.
@asafkorem FYI 😄

Still interested in this (as are many following this project) 👍

This is a blocker for #2741, so I think this should stay open for contextual reasons.

Can we keep this issue open as it’s a blocker for many apps’ system interactions?

Can we keep this issue open as it’s a blocker for many apps’ system interactions?

Released with Detox v20.22


calculator app

Description
 I have created calculator based on Flutter .
Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.

@its-puneet


Specify a maximum race for ?wp and ?tt

Specify a maximum race that either ?wp or ?tt can show, as described in issue #29
I applied the maximum race cutoff to race errors (shown in the embed footer); I'm not sure if that's what you intended (lines 221-223 in War.py).
I also allowed for users to set the maximum race cutoff using a keyword argument for ?wp, since I don't see any harm in allowing that (especially because ?wp has a lot of possible arguments).
This should work if I've interpreted how the variable GPs works correctly (in the function SK.get_war_table_DCS) as a list of GPs, where each element is a dictionary mapping players' FCs to their GP scores (lists of length 4).

Hey Bad Wolf, thanks for letting me know what I should do in the future for pull requests.
I haven't been able to test my changes with a Table Bot instance. I would really like to, as - like you said - it would make it much easier on your part. I'm just not sure whether I would need to have a fully functional full-stack Table Bot instance that I can test (with Wimmfi access and so on) or just a "shadow" version that I can do basic tests with. Obviously, it would be better to have a full-stack bot - that way I can do better tests and have full confidence my changes would work with the actual production bot before creating PRs - but to do so I would need to have API keys and so on.
I was wondering your thoughts on this.

@camelwater Sorry for the late reply. Happy Holidays by the way!
The only two things you need to run Table Bot are a Discord bot key and a Lounge Wiimmfi API key, both of which go in tablebot_data/private.txt.
Discord bot key instructions:
Go to this link: https://discord.com/developers/applications

If you are not already logged in, log in or create an account.
Click the "New Application" button in the upper right hand corner.
Give it a name and select the team you want your bot to be apart of. Since it's a testing bot, you can just select "Personal" for the team. Click "Create".
On the left hand navigation bar, under settings, click "Bot". Then click "Add Bot" in the upper right hand corner.
Click "Copy" underneath "Token". See picture:

Paste this token in tablebot_data/private.txt (see attached file below).
You need an invite link for your testing bot to join a server where you can test it! Click "OAuth2" on the left navigation panel. Then click "URL Generator" (also on the left navigation panel).
Checkmark the box that says "Bot".
See the picture below for the intents that you need to also have checked. These are the required intents for Table Bot to function properly:

Click "Copy" at the bottom which will copy the bot invite link. Use this URL to add it to any server you wish.
You should replace this variable with your own Discord ID so that you can run all commands: https://github.com/BadWolf1023/MKW-Table-Bot/blob/092cfa5a49cf64b4bd8a7835f6ebf500e226de4a/common.py#L207

.
Lounge Wiimmfi API key instructions:
This key isn't technically required. Table Bot will still work without it. You just can't use Lounge names with commands, and Lounge names won't show up on tables. However, pulls from the API are stored in tablebot_data/discord_id_FCs.txt and tablebot_data/discord_id_lounges.txt, which Table Bot will use instead if it can't access the Lounge Wiimmfi API. Contact me on Discord if you would like these two files! My Discord username is Bad Wolf#1023
Here is tablebot_data/private.txt for your convenience:
private.txt
Running the bot:
After you've followed the instructions above, simply run BadWolfBot.py to run the bot. It should create the rest of the files needed. (If it doesn't, let me know.)
If you run into any issues, you can contact me on Discord: Bad Wolf#1023
You should be able to run a fully functional Table Bot now and test your changes before a PR. Hopefully you previous PR's worked. The positive penalty one had a couple bugs (which were easy to spot and patch, no worries). I didn't run your last PR (the ?redo command), just glanced over it. I merged it in and it's live. I'm not sure it if has bugs.
Go ahead and test this PR, find and fix any bugs. Once you've done that, let me know and I'll merge it in and make it live. (I don't actively work on this repo anymore or test anything. It's open source and various people are contributing now.)
Thanks!

Oh, one problem I just realized. Table Bot's server IP is whitelisted for wiimmfi.de. That means that your bot won't actually work since your computer is not whitelisted. You'll need to load test rooms for table bot to work:
https://github.com/BadWolf1023/MKW-Table-Bot/blob/092cfa5a49cf64b4bd8a7835f6ebf500e226de4a/WiimmfiSiteFunctions.py#L48-L55
You can create more test rooms by going on wiimmfi.de and downloading the room and putting it in the testing_rooms/windows if you're on Windows. Then add an rxx to the code in the lines above, like you see in the lines above.
You can then load that room by doing ?sw 2v2 6 r0000001
I know this isn't ideal, but Wiimmfi is locked down pretty hard ever since the DDoS happened. Table Bot was lucky to get whitelisted, so I am thankful!
@ForestMKW has written something something up for the main page to be downloaded as well, though I'm not sure how it works. I'll be merging in something he wrote fairly soon, which will include that functionality.

Alright, thanks for the help; really appreciate it!

Just tested the changes and they should be good.
To specify a maximum race in ?wp:

?wp 8 - shows the table from race 1 to race 8
?wp 8 byrace - shows the table from race 1 to race 8 with a gpSize of 1 (you must use both byrace and 8 in the first two arguments of the command); if you want to use an integer to specify a maximum race, it must be one of the first two arguments of wp
?wp [...] maxrace=7 - you can use the flags maxrace, upto, or max; these keyword arguments can be used anywhere (they don't have to be placed in the first two arguments of the command)

To specify a maximum race in ?tt:

?tt 8 - shows the table text from race 1 to race 8
you can only use an integer as the argument (but that's only because ?tabletext doesn't take any other arguments, unlike ?wp

Also made some important fixes to ?redo, it wasn't working properly all the time before; it should be stable now.

Also since there has been a bug in the ?help command for some time now (some help commands exceeded the Discord message character limit), I fixed that bug as well.

Oh yeah, 3,500 of the additions and deletions are actually nothing. I think it's a glitch that can happen when you undo a commit.

This is now live. I am going to give you access to write in the announcements channel so you can tell folks about your updates and how to use them!


Add additional entity categories to model, e.g. aircraft, chemical compounds, etc.

I'd also suggest adding: models (like WACCM); physical science places (such as labs, observatories, NASA centers)
If we're going to do this we should do it soon in my opinion


ut-kvp - test support for enumerated list

We need to ensure that we support enumerated lists and maybe have a getListFunction for kvp.
getListCount("established_timings");
getListElement(char *key, int32_t index);

    established_timings:
      - 720x400@70Hz
      - 800x600@60Hz

Need to also write tests to support the change

Audio Test profile with enumerated.  Please check with this profile yml file as well.
https://github.com/rdkcentral/rdk-halif-test-device_settings/blob/feature/issues14_dsVideoPort_TestSpec/profiles/include/Panel_4K_VideoPort.yaml

getListElement(char *key, int32_t index); -> Is not required
you can already access elements of the list by
ut_kvp_getUInt32Field( <instance>, "a/b/<elemment>" );

getListCount("a/b/list");


Domains lost when using TimeSeries.operation method

Minimal Example using traces v0.3.1
import traces
x = traces.TimeSeries([(0, True), (10, False)], domain=(0, 20))
x.domain  # (0, 20)
y = x.operation(x, lambda a,b: a^b)
y.domain  # (-inf, inf)

It seems to me that y's domain should still be (0, 20). From an API standpoint, if applying a binary operation on x1 and x2, I think that it'd be simpler to have the resulting domain be x1.domain & x2.domain

Ah I see that domains have been removed for some reason on master (making this somewhat moot).
Searching around I couldn't seem to find a reason for this. Could someone provide a reference or reason?

Hi, thanks for opening the issue. We removed domains because people were finding them confusing, and we were finding that they were rarely used. It didn't seem like the minimal value they were adding was worth the confusion in explaining them. Would you mind sharing a more complete use case of how you are using domains and why they are useful? (and perhaps how ugly it would be without them)

@stringertheory I am developing a library py-stl for working within Metric Temporal Logic and Signal Temporal Logic.
These are often used to determine if a time series signal meets some specification (for filtering perhaps). For example, one may write G[0, 10]((x > 0) -> F[0, 1](y < -1)) which translates to:

Between time 0 and 10, if x is greater than zero, then within the next 1 time steps y will be less than negative one.

My library would take the two signals x(t) and y(t) and evaluate the above formula. The problem is if x and y are defined on different domains, then the result may not be well defined.
For example, if x.domain = (0, 10), but y.domain = (0, 4), then the above formula is only defined if for all t > 4, x(t) = False.
It's worth noting that I made the design decision to make x and y different TimeSeries objects since it means I can often compress x > 0 and y < -1 quite abit using the compact method. This makes evaluation much more efficent, particularly if one is interested in at what time points a particular formula is True (similar to doing a sliding window and evaluating the formula on the window).


add typescript definitions

This package needs some Typescript love :) Willing to accept a PR?

Hey @pke
If you want to make a PR request that would be helpful. Thanks.

We also need TypeScript typings so I've raised #24 to address this


Applying chef_server and managed_entry_store to all Provisioning.inline_resources

This finishes the changes started in https://github.com/chef/chef-provisioning-aws/pull/373 and applies them to Provisioning.inline_resources blocks in driver.rb
Besides the notes in https://github.com/chef/chef-provisioning-aws/pull/373, Provisioning.inline_resources sets up a new run_context so when the resource is initialized it copies the driver and chef_server from the new empty run_context.
\cc @oferrigni @stephenlauck @jkeiser @randomcamel

:+1: Confirmed working.
Recipe: delivery-cluster::destroy_builders
  * machine_batch[Destroying Build Nodes] action destroy
    - [build-node-lauckaws-1] delete instance aws_instance[build-node-lauckaws-1] (i-475f3583) in VPC vpc-2229ff47 in us-west-2
    - [build-node-lauckaws-1] waited 0/300s for i-475f3583 status to terminate...
    - [build-node-lauckaws-1] waited 5/300s for i-475f3583 status to terminate...
    - [build-node-lauckaws-1] waited 10/300s for i-475f3583 status to terminate...
    - [build-node-lauckaws-1] waited 15/300s for i-475f3583 status to terminate...
    - [build-node-lauckaws-1] waited 20/300s for i-475f3583 status to terminate...
    - [build-node-lauckaws-1] waited 25/300s for i-475f3583 status to terminate...
    - [build-node-lauckaws-1] waited until instance aws_instance[build-node-lauckaws-1] (i-475f3583) is :terminated
    - [build-node-lauckaws-1] delete node build-node-lauckaws-1 at https://<IP_ADDRESS>/organizations/lauckaws
    - [build-node-lauckaws-1] delete client build-node-lauckaws-1 at clients

:nice:

@afiune It has already been released as part of 1.7.0

Niiiiice!!! Thanks


anti-captcha.com is NOT working

Under Admin > Settings
Please let me know where I can get additional information to help you, but this is what I have.
The test button for the api in admin displays a modal with an error that says: "failed to log in service anticaptcha (invalid credentials)"
The account is valid see screenshot: I can also use the API with PHP and my credentials and it works fine.

Also, the URL that redirects to "www.anti-captcha.com" doesn't work properly. The site no longer loads with www

I haven't been able to successfully check ranks since the service has broken. The pause is set at 60 seconds. I manually started this search 20 min ago and already 3 captchas and 108 errors

It works. anti-captcha server was probably overloaded, it happens all the time, that's why I'm adding more captcha solving service in 2.9.


Remove status pills, tighten up spacing in Create Menu

Description
This ditches the Linode Status Pills for good and tightens up the Create Menu spacing (final copy still TBD):

@Jskobos good eye; just addressed both.


Vim.exe HiDPI buffer size / cursor positioning

Originally posted here.
I'm on Win10 build 1709, having an issue with a recent vim patch enabling termguicolors when maximized on a HiDPI scaled screen.
Here is what it looks like opening a file and typing k to move up a line (should do nothing on the first line):

Here is what it looks like scrolling down and trying to use the command line:

I'm using PowerShell 6 RC, but this happens in Windows PowerShell too. You can see how maximizing the console cuts off a line at the bottom of the screen, and the scroll bar on the right is spilling over onto the next screen.
My setup is a Surface Pro 4 with a standard DPI external monitor - the issue only happens when I start vim in an unmaximized console and then maximize it on the Surface (HiDPI) screen. The console spills over to the next screen and it seems like the buffer is shifted up by one line - ggk shows a white line at the top with no line number, and Goj makes inserted text appear on the line above where it's supposed to be.
After it's glitched out like this, unmaximizing the Window makes it even worse, kind of like @9a3eedi's tmux in the thread linked at the top, and Ctrl-L to redraw the screen doesn't fix it.
I noticed a similar off-by-one bug at the bottom of the console buffer while working on ANSI input for PSReadLine, but can't be sure if it's my bug or this one.
Here is a copy of my patched vim.exe - hopefully this will help diagnose the problem. You may need these commands to make tgc work:
set t_Co=256
set t_8f="\e[38;2;%lu;%lu;%lum"
set t_8b="\e[48;2;%lu;%lu;%lum"
noremap! <Char-0x7F> <BS>
set tgc

Hmm.
Am I correct that the unpatched version of vim.exe doesn't repro the issue?
I know there's some weird off-by-one-ness in SetConsoleScreenBufferInfo* - If you're calling that, you almost certainly need to increment srWindow.Bottom when roundtripping the CONSOLE_SCREEN_BUFFER_INFO_EX. See
https://github.com/Microsoft/console/blob/master/tools/ColorTool/ColorTool/Program.cs#L187
for an example.

Sure, it's this vim PR. If that patch has an off-by-one bug, I'm still confused by the maximizing behavior. If I maximize the Window on a standard DPI screen, it fills the whole screen area like I'd expect, but on the Surface screen there's a gap at the bottom and the right edge spills off the side (screenshots show this). And the fact that the glitch only happens on the HiDPI screen makes it seem like it might have to do with the maximizing behavior doing one thing but reporting another.

Okay, sorry for my lack of knowledge on the specifics, but does vim.exe run inside of conhost.exe (responsible for cmd.exe, powershell.exe, wsl.exe, ubuntu.exe, etc) or does it draw it's own UI and window?
HiDPI is one of the great banes of our existence, and these kinds of bugs are terribly notorious to track down and often times change wildly from build to build, so I just want to get as much detail as I can.

It runs inside conhost, and it uses an alternate screen buffer to not overwrite the main one used by the shell, which is something else I've noticed - if you maximize the window with vim open and then exit vim, the console window shrinks back to the pre-maximized size because (I think) the original screen buffer doesn't resize when the window changes size. That happens regardless of DPI scaling, but only on Windows vim, not Linux/WSL.

@parkovski, I'm not seeing the gap at the bottom on my High DPI display.
Can you tell me the exact pixel dimensions of the monitor and the scaling factor being used?

Sure, it's a Surface Pro 4, 2736x1824px, 200% scaling, and I'm using the Fira Mono font, console size 16.
My second screen is 1920x1080, 100% scaling, and it's set to the primary monitor. I'll check if it happens when that one isn't attached, just have to log out first.

Ok - when I log in with the standard DPI screen as primary, the screenshots I posted above are what happen.
When I log in without the extra monitor attached, everything works fine until I attach the second screen - then I get the buffer glitches on the second screen, but not on the surface screen (so this seems to happen for DPI scales that are not the one the login session was started with). The window maximizes to the right size though in this case on the second (standard DPI) screen, even though the buffer is glitchy. The buffer is not glitchy on the Surface screen, but the window maximizes to the wrong size, but a different wrong size than when I start my login session on the second screen:

So it's kind of the opposite from before - instead of hanging over the right edge, there's a gap at the right now, and a tiny, maybe 1px gap at the bottom instead of a whole line.
Hope this helps.

Can you get this to happen with a standard console host running stock CMD/Powershell or with a production version of Vim?

It does happen with regular Windows PowerShell and cmd, interestingly there are no gaps or buffer glitches on my Surface screen with my font set to Consolas although I get a horizontal scroll bar instead and the ex (:) command line is behind the scroll bar. With Consolas the maximized window has gaps on my external standard DPI monitor. There are no buffer glitches with stock vim (or my patched vim with tgc off), but the window still maximizes to the wrong size with with gaps.
I also tested the console mode with this utility. Stock vim is
Attached to process 5004.
cur[in]  = 0x1F8
         = ENABLE_WINDOW_INPUT | ENABLE_MOUSE_INPUT | ENABLE_INSERT_MODE | ENABLE_QUICK_EDIT_MODE | ENABLE_AUTO_POSITION
cur[out] = 0x4
         = ENABLE_VIRTUAL_TERMINAL_PROCESSING

My patched vim is
Attached to process 948.
cur[in]  = 0x1F8
         = ENABLE_WINDOW_INPUT | ENABLE_MOUSE_INPUT | ENABLE_INSERT_MODE | ENABLE_QUICK_EDIT_MODE | ENABLE_AUTO_POSITION
cur[out] = 0x5
         = ENABLE_PROCESSED_OUTPUT | ENABLE_VIRTUAL_TERMINAL_PROCESSING

OK let me try to unpack all of this.
There's one issue with the stock everything. Stock CMD, stock font (Consolas), stock Vim (of some version, please provide me the version number/download link). And that's that maximizing the window on a High DPI monitor (2736x1824px, 200% scaling) with a screen buffer created with CreateConsoleScreenBuffer() API seems to leave a gap around the frame of the window. Correct?
Then there's a second issue. Stock CMD, custom font (Fira Mono), stock Vim (hopefully same version). And maximizing that window on a High DPI monitor (2736x1824px, 200% scaling) with a screen buffer created with CreateConsoleScreenBuffer() API hides part of the buffer behind the scroll bar. Correct?
Then there's a third issue. Stock CMD, stock font (Consolas), custom built Vim (of your own patch). And maximizing that window on the High DPI monitor with the CreateConsoleScreenBuffer() buffer has a problem with the scrolling. Correct?

Sorry it's getting so complicated. I'll try to make this as reproducible as possible. This is the stock vim I'm using
First issue - stock cmd, stock font (Consolas 14), stock vim from above link. I'm running vim with "-u nul -i nul" so it doesn't load my .vimrc or .viminfo. Move the console to the primary standard DPI monitor, then move it back to the HiDPI Surface screen and maximize it. Then run "vim -u nul -i nul" after maximizing the window. I'm seeing gaps around the window at this point. If I leave the window on the surface screen, quit vim and start it again, the size is fine. If I move it to the standard DPI screen and back to the HiDPI screen, maximize, and then start vim again, the gaps come back. After some more testing, it looks like the font does not affect this - the same happens with Consolas and Fira Mono (exact same steps). It looks like this:

When I mentioned that quitting vim and starting it again with the window still maximized has the correct size - that is true, every other time. Leaving the window in place, on the surface screen, after it has been on the standard DPI screen, start vim and quit repeatedly. It alternates between the correct maximized size and gaps as I posted in the screenshot.
Second issue with the scroll bars seems related to the "Wrap text on output" option. My cmd window does not have that option set; my PowerShell (Windows, not Core) does. In this case, using PowerShell with the option set, same steps as above, move the console to the standard DPI screen and then back to the HiDPI screen. Maximize it, and then open vim (-u nul -i nul). The first time, Consolas has only a horizontal scrollbar; Fira Mono has both horizontal and vertical scrollbars, but no part of vim is hidden behind them. I think that had to do with the patched vim, I'll look into that later. Exiting and restarting vim with the window unmoved, it will alternate between the correct size and gaps like above. Moving it to the standard DPI screen and back again will show the scroll bars one more time. This is Windows PowerShell, Consolas 14, vim from above link with no vimrc/viminfo, wrap text on output enabled, first time opened on HiDPI screen after coming from standard DPI screen:

I'll try to come up with reproducible steps for the patched vim/glitchy buffer issue later. This covers everything I'm seeing with stock everything.

Wonderful, thanks. I moved on to stare at another bug at this exact moment, but I'll circle back to this when that one is done. Your effort on laying this out cleanly is much appreciated!

@parkovski I just want to let you know that I'm still finishing up the other bug I'm working on and probably won't get to this one by the time I leave today. I have some scheduled vacation coming up starting Monday as do many of my co-workers and peers for the holiday season. As such, I'd just like to instill that this bug is still on our queue of things to do, but we may not get to it for a few weeks. I apologize for the inconvenience and would like to reiterate my appreciation for your efforts in helping us narrow this down to an easily reproducible set of steps.

No problem, it's pretty easy to work around for now. I probably won't get the fix until the next major update anyways since I'm not running insider builds.

This issue was moved to Microsoft/console#71


[feat] Support the dynamic linking of the tauri crate for much faster incremental compile times

Describe the problem
Incremental compilation times on my machine take about 11 seconds. Waiting this much even for the smallest changes in the rust code is quite inconvinient.
Describe the solution you'd like
Simply making the 'tauri' crate a 'dylib' almost halves this wating time (takes less then 6s).
This should be only enabled in development builds as in production it would require that the genrated 'libtauri.so' file is also shipped with the binary.
The problem is that cargo currently doesn't support a conditional 'crate_type' based on profiles (at least as far as I know it). So one must use a workaround for this. bevy provides a cargo feature called 'dynamic', which  forces the crate to be compiled with dymanic linking.
Here are the threads where they discussed the possibilities and the solution:
https://github.com/bevyengine/bevy/issues/791
https://github.com/bevyengine/bevy/pull/808
To test the impact this has on compile times simply add
[lib]
crate_type = ["dylib"]

to the 'core/tauri' crate's Cargo.toml file and run your app with 'cargo run' inside the 'src-tauri' folder.
The command tauri dev will fail as it doesn't find the 'libtauri.so' file for some reason. I couldn't figure out where it is looking for it.
Alternatives considered
As mentioned in the bevy issue, it is also possible to set 'crate_type' to ["rlib", "dylib"] and then set the env var RUSTFLAGS=-Cprefer-dynamic when running cargo run.
One of the problems mentioned with this in the bevy issue is, that it has to be set by the developer manually. I think this might not be a problem in tauri since we use tauri dev to run the project wich could set this env var for us automatically.
There is an other problem mentioned for this approach, which is beyond my knowledge: "this doesnt play nicely with rust-analyzer by default because RA invalidates the build cache. this is probably fix-able by configuring RA to also use -Cprefer-dynamic"
Additional context
I am not an experienced Rust developer, and I am new to tauri as well. Sorry if some of the things I wrote above are incorrect.

There is a recent blog post explaining this method far better then I could. I still think that it would worth to implement this in Tauri: https://robert.kra.hn/posts/2022-09-09-speeding-up-incremental-rust-compilation-with-dylibs/

I was thinking about this a lot, so I made my own fork to try it out.
https://github.com/granitrocky/tauri/tree/dynamic_linking
Feel free to give it a whirl. It should be plug and play with an existing tauri project (minus updating the paths in your Cargo.toml to point to the local version).
You should be able to add the ["dynamic"] feature to tauri and see a measurable increase in compile speed. The bad news is that it didn't drop it all the way down to sub 1s like it does for bevy for me.
But it does cut the compile time in half for me from 8s to 4s on my mid range laptop, which is a nice boost when making lots of small changes.
Other speedup options are to try other linkers like lld and mold. I haven't experimented with that yet, but I imagine the linker isn't the weak link after switching to a dynamic library.
If you think this is useful, I may open a PR to get a conversation going with the maintainers

The approach used in your fork obviously wouldn't be accepted as a PR as-is (renaming the main crate breaks almost everything in existence) but I personally like the idea. Maybe some more research is needed to make the API feel good though

The bevy approach was to create bevy_internal, and move all the major stuff in there, but I understand that Tauri has a lot of FFI stuff that could topple.
And yeah using the tauri main crate in place of where core/tauri could be really messy.
I'll see if I can come up with something better.

@granitrocky After I opened this issue and failed to implement what you did (congrats!) I tried what a change mold would do to a tauri app and my mind was blown. Incremental compilation time went down from 8s to 1.4s 🤯
Still I do think this issue of dynamic linking would be beneficial to get into Tauri main, since mold is not available for everyone (like any Windows user).

Really looking for this. incremental compile takes 10s with fresh tauri v2 app on Windows. (Even on macOS m1 is not that fast..)


The multilingual model cannot correctly distinguish between Chinese and Japanese (Text of Date)

Description
Run official sample python script to synthesize Chinese Date text,  using the text-to-speech API with voice name "zh-CN-XiaoxiaoMultilingualNeural". However, the output is Japanese instead of Chinese.
Steps to Reproduce
Run the official sample python script as follows:
'''
  For more samples please visit https://github.com/Azure-Samples/cognitive-services-speech-sdk
'''

import azure.cognitiveservices.speech as speechsdk

# Creates an instance of a speech config with specified subscription key and service region.
speech_key = "xxx"
service_region = "xxx"

speech_config = speechsdk.SpeechConfig(subscription=speech_key, region=service_region)
# Note: the voice setting will not overwrite the voice element in input SSML.
speech_config.speech_synthesis_voice_name = "zh-CN-XiaoxiaoMultilingualNeural"
speech_config.speech_synthesis_language = "zh-CN"
speech_config.speech_recognition_language = "zh-CN"

text = "2024年9月24日"

# use the default speaker as audio output.
speech_synthesizer = speechsdk.SpeechSynthesizer(speech_config=speech_config)

result = speech_synthesizer.speak_text_async(text).get()
# Check result
if result.reason == speechsdk.ResultReason.SynthesizingAudioCompleted:
    print("Speech synthesized for text [{}]".format(text))
elif result.reason == speechsdk.ResultReason.Canceled:
    cancellation_details = result.cancellation_details
    print("Speech synthesis canceled: {}".format(cancellation_details.reason))
    if cancellation_details.reason == speechsdk.CancellationReason.Error:
        print("Error details: {}".format(cancellation_details.error_details))

Hi @connermo would you please try adding lang tag: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/speech-synthesis-markup-voice#adjust-speaking-languages
Or if there is issue with the Date reading, you can also add say-as date tag for a quick fix: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/speech-synthesis-markup-pronunciation#say-as-element

Closed since no further updates, presumed resolved with the configuration instructions given.


Accuknox DevOps Trainee Practical Assessment Submission

Added Dockerfile to containerize the Wisecow application.
Created Kubernetes manifest files (deployment.yaml, service.yaml, ingress.yaml, certificate.yaml, issuer.yaml) for deploying the Wisecow application.
Implemented GitHub Actions workflow for CI/CD to automate the build and push of Docker images and deploy updates to the Kubernetes environment.
Configured TLS for secure communication.
Added a system health monitoring script (system_health_monitor.sh) to check CPU usage, memory usage, disk space, and running processes, with alerts for threshold breaches.

Added Dockerfile to containerize the Wisecow application.
Created Kubernetes manifest files (deployment.yaml, service.yaml, ingress.yaml, certificate.yaml, issuer.yaml) for deploying the Wisecow application.
Implemented GitHub Actions workflow for CI/CD to automate the build and push of Docker images and deploy updates to the Kubernetes environment.
Configured TLS for secure communication.
Added a system health monitoring script (system_health_monitor.sh) to check CPU usage, memory usage, disk space, and running processes, with alerts for threshold breaches.

Added Dockerfile to containerize the Wisecow application.
Created Kubernetes manifest files (deployment.yaml, service.yaml, ingress.yaml, certificate.yaml, issuer.yaml) for deploying the Wisecow application.
Implemented GitHub Actions workflow for CI/CD to automate the build and push of Docker images and deploy updates to the Kubernetes environment.
Configured TLS for secure communication.
Added a system health monitoring script (system_health_monitor.sh) to check CPU usage, memory usage, disk space, and running processes, with alerts for threshold breaches.

Closing this pull request because it encountered an error


Fix "GoLint/Comments/DocComments" issue in agent.go

exported const EnvVarPodName should have comment (or a comment on this block) or be unexported
https://codeclimate.com/github/Mirantis/k8s-netchecker-agent/agent.go#issue_58db7266197f6c0001000013

Fixed in https://github.com/Mirantis/k8s-netchecker-agent/pull/18


Refactor CJS require to ESM

Resolves https://github.com/excalidraw/excalidraw/pull/1793#discussion_r447067827

Thanks!


Add Contributing Guide

This pull request follows the structure of README.md from other Facebook Open Source projects
Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] The title of my pull request is a short description of the requested changes.
[ ] I have added the label enhancement to my pull request.

@elinguiuriel I don't understand why you merged this, given that I requested some changes from @hoduchieu01 ?? please be patient with merging next time :)


Testing guide does not work in v2.2

The TestHelper requires ZosContract instances instead of Truffle contract instances to work, and the testing guide instructs to use artifacts.require instead of Contracts.getFromLocal to load the contract class.

@spalladino Thanks for making this issue. Do you have any test example which work in v2.2?

@spalladino Thanks for creating an issue. Do you have any example which work in v2.2.

I tried test, but the following error occurred.
ZWeb3 must be initialized with a web3 provider
Then, I added
const { ZWeb3 } = require('zos-lib')
ZWeb3.initialize("http://localhost:7545")

but, another error has come
TypeError: Cannot read property 'Contract' of undefined

Hey @ryokomy! You are correct in that you need to initialize ZWeb3 with either a provider or an URI string. I'm not sure where you are getting the Contract undefined error though, but another problem with the testing guide is that you should be using the contract object from ZeppelinOS instead of from truffle.
So, your contract class should be set up like:
const MyContract = require('zos-lib').Contracts.getFromLocal('MyContract')

Instead of:
const MyContract = artifacts.require('MyContract')

I'd suggest looking into the test file for the TestHelper itself for more info.
Alternatively, you can just test your contracts as you would do with regular truffle tests, since the proxies don't introduce any difference in their behaviour. Just remember to run initialize on your contracts after you have created them!

@spalladino Thanks for your reply!
It might be the problem only occurred in my environment, but I got TypeError: Cannot read property 'Contract' of undefined at <my project path>/node_modules/zos-lib/src/artifacts/ZWeb3.ts:57:28.
I think we have compiled javascript file via npm install, instead of typescript file.
I also thought maybe solidity 0.5.x was not available, right? My files are written in solidity 0.5.x.
Anyway, thanks for your kind reply!
I didn't notice that I could use regular truffle tests. I'll write my tests like so for now.

If you're using zOS 2.2 or 2.1, then Solidity 0.5 is fully supported.
As for the issue with the tests, agree on going forward with regular tests.
If you're in the hackathon, look for us tomorrow and we'll help you
troubleshoot the issue. If not, we'd appreciate if you upload your project
so we can try and reproduce your issue. Thanks, and apologies for the
inconvenience!
On Sat, Feb 16, 2019, 22:39 Ryo Komiyama<EMAIL_ADDRESS>wrote:

@spalladino https://github.com/spalladino Thanks for your reply!
It might be the problem only occurred in my environment, but I got TypeError:
Cannot read property 'Contract' of undefined at /node_modules/zos-lib/src/artifacts/ZWeb3.ts:57:28.
I think we have compiled javascript file via npm install, instead of
typescript file.
I also thought maybe solidity 0.5.x was not available, right? My files are
written in solidity 0.5.x.
Anyway, thanks for your kind reply!
I didn't notice that I could use regular truffle tests. I'll write my
tests like so for now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zeppelinos/zos/issues/702#issuecomment-464419660, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAaOJFGNRobZZXNKAkit7qP8fo0QTWSaks5vOOscgaJpZM4a_SNH
.

I'm using v2.2, so something unexpected happens.
You mean you're in Tokyo?? That's great, I'm not in the hackathon though.
I'm now developing our blockchain game using ZeppelinOS. And I migrated it from v2.0 to v2.2.
So I'm happy if we can keep in touch. Thanks!

I have the same problem.
Even after getting the contract artifacts in the above described way, initializing ZWeb3, deploying the logic contract (zos push --deploy-dependencies ) and creating the proxy contract (zos create MyContract - I initialize it in the test) I get the error:
TypeError: Cannot read property 'Contract' of undefined

Here is the test code I am working on.

Hey @acrdlph, please check out the fixes that @ajsantander has been working on in this PR: https://github.com/zeppelinos/zos/pull/738. Either way, we will be deploying an updated version of the docsite soon.

It looks like the README on the root also needs to be updated...


Hope to support Chinese

Hope to support Chinese

I am trying to use flutter-rust bridge and add whisper tiny model instead of deepgram as an alternative, that could be one thing which can support chinese

希望支持中文


About add the feature variances

I am trying to add the learnable feature variances in the python code,but I found that the acc will decreased a lot.
The add strategy as below:
1.I reshape the var,mean as the (1,num_classes,feature_dim),reshape the input_feature as (batchsize,1,feature_dim)
2. using the input_feature subtract the mean and divise the var get a  tensor with shape ((batchsize,num_classes,feature_dim)).
3.using the tensor batch_dot the mean and get the tensor with shape (batchsize,num_classes,num_classes)
4.Then I take the value of the diagonal of the two or three dimensions and get the final tensor as the margin_distance.
BUT the acc result is terrible,can you give me some advice?

This is my code:
reshape_var=F.reshape(var,(1,-1,self._feature_dim))
reshape_mean=F.reshape(mean,(1,-1,self._feature_dim))
expand_data=F.expand_dims(x,1)
t=expand_data-reshape_mean#(8,10,2)
m_distance=F.batch_dot(t/(reshape_var+1e-8),t,transpose_b=True)
index=F.array([i for i in range(self._num_class)])
distance=m_distance[:,index,index]
ALPHA = F.one_hot(y, self._num_class, on_value=self._alpha, dtype='float32')
K = ALPHA + F.ones((N, self._num_class), dtype='float32')
logits_with_margin = distance * K
batch_mean = F.take(mean, y)
likelihood_reg_loss = self._lamda * (F.sum(F.square(x - batch_mean)) / 2.0) * (1. / N)


weird device naming/controlling combination

The namespace created for a device by the adapter takes the name which has been set in the app into account. On the other hand for sendTo commands it seems that I need to use the name which is set in the adapter settings. Took me some time, maybe at least add a hint to the docs or find a more intuitive solution. :-)
Thanks for the great work.

And please change log level of unimportant received data from info to debug

The namespace created for a device by the adapter takes the name which has been set in the app into account. On the other hand for sendTo commands it seems that I need to use the name which is set in the adapter settings. Took me some time, maybe at least add a hint to the docs or find a more intuitive solution. :-)
Thanks for the great work.

I wanted to make a simple application setup.
I think I'll make a video.

And please change log level of unimportant received data from info to debug

ok

Fixed, the device name is now taken from the application


Security: Using Google Charts for the 2-Factor-Auth QR-Code is insecure

The 2FA-QR-Code is displayed using the google chars api, while transmitting username, Webmail Name and the 2FA-secret in the same url.
This is all information needed to degrate the security from 2FA to the security of a normal password authentication.

Fixed in the last version.