The method "Add" is prompted not defined when create a C++ extension for Python.

Describe the bug

Steps to Reproduce

Create empty c++ project named myexttest and add 3.9 - module.cpp
a. Go to property page:
b. Set configuration to All Configurations and Platform to Win32
c. Set specific properties as described in the following, then select OK

i. General > Target name: leave the default value of $(ProjectName)
ii. General > Target Extension: .pyd
iii. General > Project Defaults > Configuration Type: Dynamic Library (.dll)
iv. C/C++ > General > Additional Include Directories: C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_86\include
v. C/C++ > Preprocessor > Preprocessor Definitions: Py_LIMITED_API; to the beginning
vi. C/C++ > Code Generation > Runtime Library: Multi-threaded DLL (/MD)
vii. Linker > General > Additional Library Directories: C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_86\libs
d. Build the c++ project and ensure success both debug and release
e. Add the method code to C++ project’s module.cpp file
f. Build the c++ project and ensure success both debug and release
g. Ensure that superfastcode.pyd is generated

Create Python Application project, add c++ project myexttest as reference
a. Set active Python Environment with Python 3.9 (32-bit)
b. Ensure that ..\Debug or ..\Release is added in Search Paths
c. Add code from myexttest
d. from myexttest import *
e. print(Add(1,1))
f. In project property page, checked "Enable native code debugging"
g. Right-click the Python project in SE and select "Set as Startup Project"
Ctrl + F5 to run the python project

Actual result
The method "Add" with red wavy line and prompt not defined. But  the project can be launched.

Pylance Output
Info: Info: Pylance language server 2021.4.1 (pyright 6410a8a2) startingServer root directory: c:\program files\microsoft visual studio\2022\preview\common7\ide\extensions\microsoft\python\core\pylance\dist

Info: Info: Warning: Info: Info: Info: Info: Info: Info: Setting pythonPath for service "PythonApplication1": "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_86\python.exe"No configuration file found.stubPath C:\Users\vyizh12\source\repos\myexttest\PythonApplication1\typings is not a valid directory.Assuming Python version 3.9Assuming Python platform WindowsSearching for source filesFound 1 source fileBackground analysis(1) root directory: c:\program files\microsoft visual studio\2022\preview\common7\ide\extensions\microsoft\python\core\pylance\distBackground analysis(1) started

This is by design. Pylance won't know about the C++ references.


[bug]: onDispose() method is getting called every time we navigate to some screen ignoring the overrides

Describe the bug
onViewModelReady() method is getting fired everytime we navigate back to the same screen. It is because onDispose Method of current view is getting called everytime we navigate to some other screen even using navigateToScreen() method.
HomeView.dart
`import 'package:flutter/material.dart';
import 'package:stacked/stacked.dart';
import 'package:stacked_dummy/ui/common/ui_helpers.dart';

import 'home_viewmodel.dart';

class HomeView extends StackedView<HomeViewModel> {
  const HomeView({Key? key}) : super(key: key);

  @override
  void onViewModelReady(HomeViewModel viewModel) {
    print("HOME SCREEN ON VIEW MODEL READY CALLED");
    super.onViewModelReady(viewModel);
  }

  @override
  Widget builder(
    BuildContext context,
    HomeViewModel viewModel,
    Widget? child,
  ) {

    return Scaffold(
      body: SafeArea(
        child: Padding(
          padding: const EdgeInsets.symmetric(horizontal: 25.0),
          child: Center(
            child: Column(
              mainAxisSize: MainAxisSize.min,
              mainAxisAlignment: MainAxisAlignment.spaceBetween,
              children: [
                verticalSpaceLarge,
                Column(
                  children: [
                    const Text(
                      'Navigate To Second Screen',
                      style: TextStyle(
                        fontSize: 35,
                        fontWeight: FontWeight.w900,
                      ),
                    ),
                    verticalSpaceMedium,
                    MaterialButton(
                      color: Colors.black,
                      onPressed: viewModel.navigateTOSecondScreen,
                      child: const Text(
                        "Navigate Now",
                        style: TextStyle(color: Colors.white),
                      ),
                    ),
                  ],
                ),

                  ],
                ),
            ),
          ),
        ),
      );
  }

  @override
  HomeViewModel viewModelBuilder(
    BuildContext context,
  ) =>
      HomeViewModel();

  @override
  // TODO: implement disposeViewModel
  bool get disposeViewModel => false;

  @override
  void onDispose(HomeViewModel viewModel) {
    print("HOME SCREEN ON DISPOSE CALLED");
    super.onDispose(viewModel);
  }

}
`

HomeViewModel.dart
`import 'package:stacked_dummy/app/app.locator.dart';
import 'package:stacked_dummy/app/app.router.dart';
import 'package:stacked/stacked.dart';
import 'package:stacked_services/stacked_services.dart';

class HomeViewModel extends BaseViewModel {
  final navServ = locator<NavigationService>();

  void navigateTOSecondScreen() {
    navServ.navigateToSecondScreenView();
  }

}
`

SecondScreen.dart
`import 'package:flutter/material.dart';
import 'package:stacked/stacked.dart';
import 'package:toast/toast.dart';

import '../../common/ui_helpers.dart';
import 'second_screen_viewmodel.dart';

class SecondScreenView extends StackedView<SecondScreenViewModel> {
  const SecondScreenView({Key? key}) : super(key: key);

  @override
  void onViewModelReady(SecondScreenViewModel viewModel) {
    print("Second SCREEN ON VIEW MODEL READY CALLED".toUpperCase());
    super.onViewModelReady(viewModel);
  }

  @override
  Widget builder(
    BuildContext context,
    SecondScreenViewModel viewModel,
    Widget? child,
  ) {
    return Scaffold(
      body: SafeArea(
        child: Padding(
          padding: const EdgeInsets.symmetric(horizontal: 25.0),
          child: Center(
            child: Column(
              mainAxisSize: MainAxisSize.min,
              mainAxisAlignment: MainAxisAlignment.spaceBetween,
              children: [
                verticalSpaceLarge,
                Column(
                  children: [
                    const Text(
                      'Navigate To First Screen',
                      style: TextStyle(
                        fontSize: 35,
                        fontWeight: FontWeight.w900,
                      ),
                    ),
                    verticalSpaceMedium,
                    MaterialButton(
                      color: Colors.black,
                      onPressed: viewModel.navigateBack,
                      child: const Text(
                        "Navigate Back",
                        style: TextStyle(color: Colors.white),
                      ),
                    ),
                  ],
                ),

              ],
            ),
          ),
        ),
      ),
    );
  }

  @override
  SecondScreenViewModel viewModelBuilder(
    BuildContext context,
  ) =>
      SecondScreenViewModel();

  @override
  // TODO: implement disposeViewModel
  bool get disposeViewModel => false;

  @override
  void onDispose(SecondScreenViewModel viewModel) {
    print("SECOND SCREEN ON DISPOSE CALLED");
    super.onDispose(viewModel);
  }

}
`

SecondScreenViewModel.dart
`import 'package:stacked/stacked.dart';
import 'package:stacked_services/stacked_services.dart';

import '../../../app/app.locator.dart';

class SecondScreenViewModel extends BaseViewModel {

  final _navServ = locator<NavigationService>();

  void navigateBack() {
    _navServ.back();
  }

}
`

To reproduce
1.) Created an app with stacked create command
2.) Add 2 custom Views (assume HomeScreen and SecondScreen) and navigate from one screen to another screen.
3.) Override disposeViewModel data member and set the value to true or false (doesn't matter)
3.) Use print statements in OnViewModelReady and OnDispose methods to check they are getting called everytime we navigate to other screen.
Expected behavior
1.) onViewModel ready should be called only once and should not be called again when we navigate back to same screen.
2.) onDispose shouldn't be called when disposeViewModel value is set to false.
Screenshots
No response
Additional Context
No response

@FilledStacks sure, here is the code
https://github.com/rehan-505/stacked_dummy

@rehan-505 Strangely, I wasn't able to reproduce this and I am using the similar setup to you. Try adding all of the below overrides to your HomeView.dart and see if it solves your issue:
  @override
  bool get disposeViewModel => false;

  @override
  bool get fireOnViewModelReadyOnce => true;

  @override
  bool get initialiseSpecialViewModelsOnce => true;

  @override
  bool get createNewViewModelOnInsert => false;

@maticla what version of Flutter are you on. I reproduced it with the repo above and also with a generic flutter project it happens with stateful widgets / views.

@FilledStacks I was now able to reproduce the issue on both Flutter versions 3.7.5 and 3.7.8.

To prevent the view from calling onDispose when navigating to other views you can just set the mantainState property to true on the MaterialRoute. The view remains in memory and the state is preserved when navigating back to it.

@francescopasin interesting. This never use to be the case.
At minimum this value should default to true and can be set to false.

@FilledStacks Flutter's MaterialPageRoute widget has the variable mantainState set to true as default, as you can see both in the documentation (https://api.flutter.dev/flutter/material/MaterialPageRoute-class.html) and in the code (Flutter 3.7.8):
  /// Construct a MaterialPageRoute whose contents are defined by [builder].
  ///
  /// The values of [builder], [maintainState], and [PageRoute.fullscreenDialog]
  /// must not be null.
  MaterialPageRoute({
    required this.builder,
    super.settings,
    this.maintainState = true,
    super.fullscreenDialog,
    super.allowSnapshotting = true,
  }) : assert(builder != null),
       assert(maintainState != null),
       assert(fullscreenDialog != null) {
    assert(opaque);
  }

However the MaterialRoute that is defined in stacked_router_annotations.dart has that variable set to false:
  const MaterialRoute({
    String? path,
    required Type page,
    bool initial = false,
    bool fullscreenDialog = false,
    bool maintainState = false,
    bool fullMatch = false,
    String? name,
    List<Type>? guards,
    bool usesPathAsKey = false,
    List<StackedRoute>? children,
    Map<String, dynamic> meta = const {},
    bool? deferredLoading,
  }) : super(
          page: page,
          guards: guards,
          fullMatch: fullMatch,
          initial: initial,
          usesPathAsKey: usesPathAsKey,
          fullscreenDialog: fullscreenDialog,
          maintainState: maintainState,
          path: path,
          children: children,
          name: name,
          meta: meta,
          deferredLoading: deferredLoading,
        );
}

You should probably update stacked to change this.

Same thing here. When I updated stacked packages to these versions, the ViewModels always dispose. (Tested on Flutter 3.7.0 and 3.6.0.):
  stacked: 3.2.0
  stacked_hooks: 0.2.3
  stacked_services: 1.0.0
  stacked_generator: 1.1.0

However, when I use these versions and run build_runner, it's behaving correctly. (Tested on Flutter 3.7.0 and 3.6.0.):
  stacked: 3.0.0
  stacked_hooks: 0.2.2
  stacked_services: 0.9.8
  stacked_generator: 0.8.1

So this led me to think it's a Stacked issue

Thanks everyone for your input and your patience. I'm Trying my best to maintain 11 packages , a youtube channel, and run a company 😅 The changes don't seem that big.
I've scheduled an hour in my calendar for Wednesday, 12 April around 17:15 pm (SAST). I'll try my best to respect that time and get it fixed for you in this week.
Thank you for using Stacked! 🚀

Please test this out in v3.2.1 and let me know if it works. If it does please close the issue 😄

Problem still exist

@FilledStacks still facing same issue on v3.2.1 as well.

Confirming this error. I had to downgrade because everytime i open a page (eg. country picker) when i navigate.back(country) i get no result with this error on the roots.

I tried repo given by @rehan-505 above and using stacked: 3.2.1 i face the same issue.
BUT..
when i create new app using stacked_cli:1.6.3 on  flutter:3.3.11
it does not matter if i use 3.2.0 or 3.2.1 stacked package, homeViewModel not getting disposed.
try this repo i coped Home and Second Screen from @rehan-505 's repo mentioned above.
Try 3.2.1 or 3.2.0 its working.
https://github.com/JeetChhatrala/stacked_test_app
I don't know the reason but this is the behaviour. It might help.

I'll schedule some more time to look at this in this week.

@FilledStacks I tested this on latest packages versions and is working as expected like @JeetChhatrala said, we can probably close this issue.
Development Environment
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.11, on macOS 13.3.1 22E261 darwin-x64, locale es-419)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.77.3)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

Stacked Packages
stacked: ^3.2.1
stacked_services: ^1.0.2
stacked_generator: ^1.3.2

Hi, is this issue resolved without using stacked_cli, i mean on the latest repos, My app has viewmodels, that are getting disposed when navigate to other viewmodel. ? @FilledStacks


Automatic wheels publishing to PyPi

I saw you store wheels on GitHub releases pages, and only the source is uploaded to PyPi.
Would you be interested in a GitHub workflow to do the whole work of compiling + publishing everything to PyPi? It would ease the life of all users :)

IMHO It's have no prcatical impact, because the target shared library will be linking with libsystemd and the libsystemd api changes will break the wheel.


Update to use two-space indents by default.

Issue #, if available:
N/A
Description of changes:
Updates to use two-space indentation as a default. Of course, this can still be overridden by anyone with different preferences
Based on feedback outside of github from @toddjonker

I strongly recommend two-space indentation as best practice for Ion files. They tend to nest fairly deeply, especially when using S-expressions for DSLs.

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

Poking @belloale for review and maybe merge.

Looks good to me. Just out of curiousity what did you do to "test" this?

Looks good to me. Just out of curiousity what did you do to "test" this?

Sorry I should have lead with this. We talked outside this convo but: just ./gradlew build - I had trouble getting ./gradlew runIde to run. (Probably my environment setup is atypical)
I did some testing after this was pushed by using the "beta" version. (Used https://plugins.jetbrains.com/plugins/beta/list as a repo)


Using MenuItem Template causes StackOverflowException or commands are executed twice

Originally reported here: https://github.com/AvaloniaUI/Avalonia/issues/564#issuecomment-226866714
I have issue with command using @grokys solution from here: https://github.com/AvaloniaUI/Avalonia/issues/564#issuecomment-226785024, in some cases commands are executed twice, first with valid CommandParameter and second time with different invalid object. There are also two cases when it causes stack overflow.
This are my changes in Core2D: https://github.com/Core2D/Core2D/commit/5a71dd581b73e18c7d27f9b7ea3e46462b2ec792
This two cause StackOverflowException:
https://github.com/Core2D/Core2D/blob/5a71dd581b73e18c7d27f9b7ea3e46462b2ec792/src/Core2D.Avalonia/Views/EditorControl.xaml#L168
https://github.com/Core2D/Core2D/blob/5a71dd581b73e18c7d27f9b7ea3e46462b2ec792/src/Core2D.Avalonia/Controls/Project/ProjectControl.xaml#L84

Just tried to repro with #1046 applied and I can't repro. Could you check if this one is fixed too?


negative num would cause short output later due to weird string encoding

https://github.com/oasislabs/oasis-client/blob/4deaa0c6b0a271dcdcf6cece1b0f215b8187958a/packages/common/src/bytes.ts#L47
numberHexString could be 0-ac etc, so parseHex will not match and the returned Uint8Array value would not be numBytes entries long.
if negative num are not allowed, please document it as a pre-condition and throw an exception if caller provides such.

Done by #199.


fix comment in a documentation snippet

This is not accurate. You really do have access to the entire Vue instance with this.

well, i must believe you!
but -- out of curiosity --  could you just tell me how? this.name gives me the content of data: {name: "....."}...
as an example, how can i access a function?

You access a method with this.nameOfYourMethod(). In a created hook, try to console.log(this) to see everything that's available.


support node label update

- What I did
Add CLI to update node labels.
- How to verify it
Use the following commands to validate the change.
docker node update --label-add key1=value1 --label-add key2=value2 mynode
docker node inspect mynode
docker node update --label-rm key1 --label-rm key2 mynode
docker node inspect mynode

- Description for the changelog
Support node label update
cc @diogomonica @aaronlehmann @aluzzardi .
closes https://github.com/docker/docker/issues/24645

Code LGTM, but docs need to be updated.

+1 on design

guess this is for 1.12?

@dongluochen @aaronlehmann @thaJeztah I think we should probably think of engine label too when update node labels. With this PR, we are going to introduce some inconsistency between the node label and the engine label (for the same node).
How swarm mode should play  with the daemon configuration on labels (not even talking about --label flag on dockerd but this is definitely gonna cause some trouble), and the reloading of restarting of the daemon ? How node labels update should deal with daemon configuration of the nodes ? How do we deal with inconsistencies between the label the node has in the cluster and the one the engine has when looked at alone ?
/cc @stevvooe @icecrime @aluzzardi @vieux
(Puting back into desgin-review because I think this needs a little bit more discussion 👼)

@vdemeester I agree that this might be confusing, but the objective is to have two distinct types of labels: swarm labels and engine labels.
Engine labels can't be trusted for security sensitive scheduling decisions, since any worker can report any label up to a manager. They are, however, useful for things like "Does this host have an SSD?", or "how much ram/disk space does this host have?".
These swarm labels, on the other hand, are always trustworthy, since they are set by an administrator explicitly. This means that we can label a host as pci-dss, and create a constraint to ensure that credit-card-app only gets scheduled on worker nodes that are labeled as pci-dss, and that no malicious worker can self-label itself as pci-dss.
I hope this makes sense.

Alright, so they're completely independent; should we deprecate the old labels, or only add a note to the docs?

I think they serve different purposes. it will always be useful to have a "self-reported" label coming from an engine. So I don't think we should deprecate engine labels.
Imagine that a host gets upgraded, and an SSD gets added. It is perfectly fine (and in fact, desired), for the host to update it's own label to include "I have an SSD". This is the function of the engine label.
However, for any label that never needs/shoudn't be updated by the node itself, swarm labels are the way to go.

@diogomonica This does make sence, thanks :+1:

Following is doc update on constraints from swarmkit README. @thaJeztah Do you know which doc in docker/docker I should update?
Constraints: Operators can limit the set of nodes where a task can be scheduled by defining constraint expressions. Multiple constraints find nodes that satisfy every expression, i.e., an AND match. Constraints can match node attributes in the following table. Note that engine.labels are collected from Docker Engine with information like operating system, drivers, etc. node.labels are added by cluster administrators for operational purpose. For example, some nodes have security compliant labels to run tasks with compliant requirements.

node attribute
matches
example

node.id
node's ID
node.id == 2ivku8v2gvtg4

node.hostname
node's hostname
node.hostname != node-2

node.role
node's manager or worker role
node.role == manager

node.labels
node's labels added by cluster admins
node.labels.security == high

engine.labels
Docker Engine's labels
engine.labels.operatingsystem == ubuntu 14.04

@dongluochen I don't think it's properly documented yet; see https://github.com/docker/docker/issues/24104
/cc @sfsmithcha

@dongluochen I added your information above to the service_create.md See the following PR.
https://github.com/docker/docker/pull/24432

@dongluochen , added information about node update. See https://github.com/docker/docker/pull/24507.

Oh never actually did it…
Design LGTM, and given @thaJeztah @aaronlehmann so putting this in code-review 👼

Flags are consistent with #23773 :wink:
Code LGTM too 🐸

I'm moving this back to design review, for https://github.com/docker/docker/pull/24397#discussion_r70338605

ping @dongluochen PTAL ^^

Thanks @thaJeztah. I have a question about the format. I tried to follow https://github.com/docker/docker/pull/23773. But --label-add and --label-rm handling are different there.

@dongluochen ah, yes, I saw your comment; I think we should not support it there as well (https://github.com/docker/docker/pull/23773#issuecomment-231919141). It's weird to add a new syntax/format on some flags, so better not have it (and possibly add it to all flags in a later stage if we really want it)

Change label-add/label-rm to update one label. PTAL.
docker node update --label-add key1=value1 --label-add key2=value2 mynode
docker node update --label-rm key1 --label-rm key2 mynode

@thaJeztah putting it back to code-review then :wink:
@dongluochen This will need some documentation updates (in docs/references/commandline/node_update.mdat least)

@dongluochen needs a rebase too :sweat:

Update doc. Rebased. Thanks @vdemeester!

Thanks! Found a couple of issues. (I'll check on the service update command as well if that has the same issues)
1. Labels don't accept "no" value
This is inconsistent with other labels; for containers, the =value is optional, and defaults to an empty string;
https://github.com/docker/docker/blob/v1.12.0-rc4/docs/reference/commandline/run.md#set-metadata-on-container--l---label---label-file

The my-label key doesn't specify a value so the label defaults to an empty string("").

$ docker node update --label-add foo=bar --label-add blah 9a72qojtdvjvo59nkrloz1pl8
invalid argument "blah" for --label-add: bad attribute format: blah
See 'docker node update --help'.

Whereas this works;
$ docker run --label foo --name hello hello-world

$ docker inspect --format '{{json .Config.Labels }}' hello
{"foo":""}

2. "label-rm" accepts "key=value"
The --label-rm flag accepts key=value, and silently ignores the flag;
$ docker node update --label-add foo=bar 9a72qojtdvjvo59nkrloz1pl8
9a72qojtdvjvo59nkrloz1pl8

$ docker node inspect --format '{{ json .Spec.Labels}}' 9a72qojtdvjvo59nkrloz1pl8
{"foo":"bar"}

Using the "wrong" key/value:
$ docker node update --label-rm foo=hahaha 9a72qojtdvjvo59nkrloz1pl8
9a72qojtdvjvo59nkrloz1pl8

$ docker node inspect --format '{{ json .Spec.Labels}}' 9a72qojtdvjvo59nkrloz1pl8
{"foo":"bar"}

Using the "right" key/value:

```bash
$ docker node update --label-rm foo=bar 9a72qojtdvjvo59nkrloz1pl8
9a72qojtdvjvo59nkrloz1pl8

$ docker node inspect --format '{{ json .Spec.Labels}}' 9a72qojtdvjvo59nkrloz1pl8
{"foo":"bar"}

None of the above remove the label. We should either produce an error if --label-rm is a key/value pair, or "split" the key (but producing an error sounds like the better option here).
3. Nodes without labels return null, not {}
Perhaps for a separate PR, but if no labels are set, Spec.Labels appears to be null, not an empty map;
docker node inspect --format '{{ json .Spec.Labels}}' 9a72qojtdvjvo59nkrloz1pl8
null

But for containers, it's always a map/object;
$ docker run --name nolabels busybox sh
$ docker inspect --format '{{json .Config.Labels }}' nolabels
{}

I think we should fix that. I'll open a separate issue

actually; 3. should probably be done in this PR as well, because this adds the "labels" feature (don't think we can add/remove labels on a node before this PR)

Opened an issue for service, which has the same issue for empty labels; https://github.com/docker/docker/issues/24631

Thanks @thaJeztah for checking!

1 Labels don't accept "no" value

There are 2 problems here. The first one is engine labels require opts.ValidateLabel, i.e., foo=bar format.
dchen@vm2:~/go/src/github.com/docker/docker$ grep -irnw . -e "ValidateLabel" --include=\*.go
./daemon/config.go:160:	cmd.Var(opts.NewNamedListOptsRef("labels", &config.Labels, opts.ValidateLabel), []string{"-label"}, usageFn("Set key=value labels to the daemon"))
./daemon/config.go:414:		if _, err := opts.ValidateLabel(label); err != nil {

The second problem is the meaning of a label with key but no value. Node labels are used by constraints (only for now). A label without value seems to indicate just the existence of a label. But current constraint doesn't support exist check.

2 "label-rm" accepts "key=value"

It takes the whole string "key=value" as key. It silently discards it because there is no such key. Does Docker support label remove in form of "key=value"? I prefer not to support it.

3 Nodes without labels return null, not {}

I think this should be fixed at node join. An issue is opened at https://github.com/docker/swarmkit/issues/1160.

From what I see engine labels require opts.ValidateLabel, i.e., foo=bar format. So we are not consistent already.

The engine labels are the odd one out; all other labels (container, image, volume, network) support --label foo (without explicit value set), which defaults to "" (empty string).
For that reason, I think we should support it, even if there's no use for it currently for constraints (people may have other uses for the labels)

Does Docker support label remove in form of "key=value"? I prefer not to support it.

No, I don't think we should support it, since a label key cannot contain a =, I think it should produce an error.

I think this should be fixed at node join

Not sure; if I do
docker node --label-add foo=bar <node>
docker node --label-rm foo <node>

I end up with null again, not {}. The point is that "no labels" results in null, and not a default empty {}

Does Docker support label remove in form of "key=value"? I prefer not to support it.

No, I don't think we should support it, since a label key cannot contain a =, I think it should produce an error.

In the case of --label-rm k1 --label-rm k2=v2, should the command fail all of them, or fail only k2=v2? What should happen if a user tries to remove a non-existent label?

If the wrong syntax is used, the entire command should fail (same as it currently fails when doing --add-label=foo).

What should happen if a user tries to remove a non-existent label?

We can make the remove idempotent, after all, Swarm mode allows you to set a desired state; removing something that wasn't there is a no-op, and I don't see why we should produce an error in that case

Do we have example how such cases should be handled?

Hm, not sure, can't think of one right now, but ping me if I need to think harder :+1:

LGTM

removing something that wasn't there is a no-op, and I don't see why we should produce an error in that case

I find it more consistent to report error when --label-rm doesn't remove a label. If label k1 doesn't exist, either --label-rm k1=v1 or --label-rm k1 would return error. PR updated for this.

Nodes without labels return null, not {}

Current change doesn't fix this issue. I think it should be fixed in Swarmkit. Will look into it.

I find it more consistent to report error when --label-rm doesn't remove a label.

my line of thought also was that --label-add adds or updates a label, so --label-rm would remove or (no-op) if not exist. But I'm ok with this.
I just tested the latest version, and LGTM

@dongluochen can you squash your commits?

@thaJeztah Updated, thanks for validating!

thanks!


Create 03-links.md

This text will be italic
This will also be italic
This text will be bold
This will also be bold
You can combine them

This text will be italic
This will also be italic
This text will be bold
This will also be bold
You can combine them

this is a file

first commite


An update to feature the clavier+ program

Description of the new feature / enhancement
An update to feature the clavier+ program would be great. for convenient access to your favorite programs, fonts, websites and special characters in order to use the keyboard more effectively.
Scenario when this would be used?
For example, pressing alt + 2 and typing the text "Hello World". Or like autofill by assigning a password to the ctrl + 9 combination.
Supporting information
https://gryder.org/software/clavier-plus/

Built into PowerToys Keyboard manager already

https://learn.microsoft.com/en-us/windows/powertoys/keyboard-manager#remapping-a-key-to-text


Mask element does not fully cover the screen on Android in 9.9.3

Bug
I am trying to do a transparent SVG overlay with a circular cutout that can dynamically appear anywhere on the page. I can achieve this on iOS using a Mask, but the mask fails to cover the whole screen on Android.
Basically, this is the result on iOS (left) and Android (right) from the same code:

They should look the same, but they don't. This is also the result on actual devices (vivo 1808, Android 8.0; iPhone 7 Plus iOS 13.0)
Environment info
System:
    OS: macOS 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
    Memory: 422.29 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.16.3 - ~/.nvm/versions/node/v10.16.3/bin/node
    Yarn: 1.17.3 - ~/.nvm/versions/node/v10.16.3/bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v10.16.3/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
    Android SDK:
      Android NDK: 20.0.5594570
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>91312
    Xcode: 10.3/10G8 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.8.6 => 16.8.6
    react-native: 0.60.5 => 0.60.5

Library version: 9.9.3
Steps To Reproduce

Clone my repro
Run react-native run-android and see the result

-- OR --

Create a react native Modal
Inside the modal, create an SVG image with a Mask element
Inside the Mask element, place a Rect that covers the whole screen to force it to show (ie, width="100%" height="100%" fill="white")
Use that mask on a semi-transparent Rect element that also covers the whole screen
Run the app in iOS and Android

Describe what you expected to happen:

The parts covered by the Rect inside the Mask should be shown

Reproducible sample code
Here is my repro
This is the code:
<React.Fragment>
    <Svg height="100%" width="100%">
        <Rect width="100%" height="100%" fill="yellow" />
    </Svg>
    <Modal visible transparent>
        <Svg height="100%" width="100%">
            <Defs>
                <Mask id="Mask">
                    <Rect x="0" y="0" width="100%" height="100%" fill="white" />
                    <Circle cx="250" cy="250" r="50" fill="black" />
                </Mask>
            </Defs>
            <Rect x="0" y="0" width="100%" height="100%" fill="#555" fillOpacity="0.8" mask="id(#Mask)" stroke="blue" strokeWidth={16} />
        </Svg>
    </Modal>
</React.Fragment>

Extra Notes
I am also running into this issue on 9.4.0 and react-native 0.59.6, so this isn't an issue just from the latest versions.

I've made a workaround using the ClipPath element instead for anyone who wants something similar but can't proceed due to this issue. Essentially, use a ClipPath to trace out the shapes instead. It might not work for you if your shapes have to be more complex, though.

If anyone wants to jump in, I'm not quite the expert when it comes to native Java development on Android, but I'd be happy to give this issue a go once I've got the hang of it.

:tada: This issue has been resolved in version 9.9.8 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

I'm experiencing this exact same issue on v15.3.0 while running on Android (iOS works fine). I just upgraded from v12.3.0 (it used to work as expected).
My SVG looks like this:
<Svg height="100%" width="100%">
  <Defs>
    <Mask id="mask">
      <Rect height="100%" width="100%" fill="white" />
    </Mask>
  </Defs>
  <Rect
    height="100%"
    width="100%"
    fill="black"
    mask="id(#mask)"
    fillOpacity={0.7}
  />
</Svg>

This is what I see in my screen, the opacity mask is not occupying the entire screen, it stops at 70% height.

The weird thing is that it doesn't happen always, in some cases the filter occupies all the screen as it should. It depends from which screen I'm navigating from.
I wasn't able to figure this one out yet.... Any help will be appreciated.

I found it! On one of the screens the keyboard was open because there was an input. That caused the svg to detect the previous screen height (with the keyboard still open).


Is there any options to request self-signed certificate but not verify it?

I got stuck at point of getting information from server about self-signed certificate. Because with verify mode ssl.CERT_NONE, server doesn't send certificate for client, and with any others i receive Error: 298, reason: self-signed certificate, frame_type: 6. And i didn't found option to configure ssl.verify_flags. Will be glad to receive any useful information.

I don't understand the question: ssl.CERT_NONE specifies that an aioquic-based client should not verify the server certificate.


[NFR] Improve type hint for arrays when generating stubs

When generating a stub for the following code
    namespace Phalcon\Db;
    use Phalcon\Db\Profiler\Item;
    class Profiler
    {
       /**
        * Returns all the processed profiles
        */
       public function getProfiles() -> <Item[]>
       {
           return this->allProfiles;
       }
    }

It results in
   /**
     * Returns all the processed profiles
     *
     * @return array
     */
    public function getProfiles(): array
    {
    }

If possible we would like to generate the following stub.
    /**
     * Returns all the processed profiles
     *
     * @return Phalcon\Db\Profiler\Item[]
     */
    public function getProfiles(): array
    {
    }

See https://github.com/ruudboon/phpstorm-phalcon-4-autocomplete/issues/1

Closing, this is implemented. If there are bugs, we can follow up in separate issues.


Fix travis build error and expand test matrix

Attempting to fix the error leading to broken travis build and add ruby 2.3 to the test matrix.
This also updates the json dep so that more recent versions of ruby can build this gem - resolves #448
As is noted on #488, it's really not best practice to keep Gemfile.lock in the repo for a gem.  Looks like maintainers have changed - are we open to that now?  If so, I would work on PR for that and on expanding the test matrix to test this against various rails versions.  Thanks

Well - this fixes the immediate error Travis was having, but there are still some (pre-existing, I believe) failing tests.  I'll try to loop around and look at those, but hopefully this PR is at least a little help.

@lostapathy Thanks for your contribution!

As is noted on #488, it's really not best practice to keep Gemfile.lock in the repo for a gem. Looks like maintainers have changed - are we open to that now?

Yes, we're open to that. I started working on that but had to focus on something else. It'd be great if you can work on a PR for that.

I'll take a stab at it.  @etagwerker how far back to you want to maintain support in the matrix?  I try not to include unsupported ruby or rails versions unless there's a really compelling reason, but looks like the current build goes back to ruby-1.9.3 and rails-3.0

@lostapathy I think it's a good idea to move towards supported ruby/rails versions.


can't download binary , 307 error

Hi there,
A few days ago I was able to install jenkins plugins within the pwd in swarm mode, now I can't even download a binary file from google-drive, is there any change that prevent that binary file to get downloaded to the boxes?,
Thanks in advance,
Julio

What error are you getting?. Which file are you trying to download?


Update sites.json

Your blog doesn't seem to support HTTP so replaced it with HTTP, but apart from that it's merged! Please submit another PR with an edit if it does support HTTPS and there was something wrong on my end.
Thanks!


Updated the label value of key openshift.io/gitRepository for buildconfig

Updated the label value of key openshift.io/gitRepository for buildconfig
from gitRepositoryName to gitOrgName.gitRepositoryName if repo in not in user's git space
This will remove duplicate pipeline issue for repo in different org
Why
Jenkins will refer to repoName if the job is in user's namespace and refer to orgname.reponame if it is different org
Closes #...
Will help in closing https://github.com/openshiftio/openshift.io/issues/3095
Checklist

[:heavy_check_mark: ] I followed the contribution guidelines.
[:x:] I created an issue and used it in the commit message.
[:heavy_check_mark: ] I have built the project locally prior to submission with mvn clean install.
[:heavy_check_mark: ] I kept a clean commit log (no unnecessary commits, no merge commits).
[:heavy_check_mark: ] I am happy with my contribution.

Ike Plugins (test-keeper)
Thank you @piyush1594 for this contribution!

It appears that no tests have been added or updated in this PR.
Automated tests give us confidence in shipping reliable software. Please add some as part of this change.
If you are an admin or the reviewer of this PR and you are sure that no test is needed then you can use the command /ok-without-tests as a comment to make the status green.
For more information please head over to official documentation. You can find there how to configure the plugin - for example exclude certain file types so if PR contains only them it won't be checked.


implement session state in windows

I noticed that the library also returned unused streams on Windows.
I was making an application that detects whenever a specific process is using the microphone. I used discord for testing. When joining a channel, it would create an audio session and stop using is when quitting. It does not destroy it untill the program gets closed.
This is why I was happy to see the AudioSessionState enum. But found out is was not implemented.
So I did it, at least for Windows.
For linux, I assumed the limitation was not present and audio sources dissapear when unused. I cannot test this at the moment but my modification does not change previous functionality of this lib.
I also changed the backing values for the AudioSessionState enum to be in line with Windows API, in which inactive = 0, active = 1 and expired = 2. Since the enum was not referenced anywhere in the code, this API change should not break anything.
Please tell me if I did anything wrong ! I didn't touch any c++ in ten years 😅.

Thanks for the PR btw.

Oh alright. Maybe because of the way I use it, iterating on the session list for every device on a loop, it did seem to be updated correctly.
I'm not sure yet how I could implement a getter though.

You can use an InstanceAccessor, there are examples of this in cppsrc/win/sound-mixer.cpp

I have changed the windows implementation to use the accessor (not the linux one since the value will never change).
It seems to work!

Fine, I will review it as soon as I can. Thanks 🙏

Can you run clang-format on the modified code to fix the pipeline ?

thank you!


hiddenClients property doesnt hide clients

What happens?
It stays as it is, even when empty array is passed, it doesnt show clients that are not shown by default
What did you expect to happen?
Hide the clients
Or that could be a feature where can I set which clients I want to show, we want to show just a HTTP1.1.
But the feature for hidding is good enough
How can we reproduce the issue?
Set for example hiddenClients: [node] in ApiReference
Thanks for checking! :)
Swagger/OpenAPI Example
No response

Thanks for the report! I’ll fix that.

Hey @hanspagel I can see that you're extensively working on the fix, thank you!
Any estimated time for pushing it?

Very soon :)

Should be fixed in #1387 :)

Thanks guys!

So I have tested it and there is still little bug.


net.jimblackler.usejson.SyntaxError: JSON5: invalid end of input at 1:1

For the past 3 days we have been getting this error

we are using
sonGeneratorVersion = "0.4.3"
jsonSchemaFriendVersion = "0.9.1"
Thanks for the help in advance!

Sorry about that it is fixed in the latest release but you do also need to
locate and delete your schema cache.
Jim
On Thu, 5 Oct 2023, 22:48 tanmaymanolkar1, @.***> wrote:

For the past 3 days we have been getting this error
[image: image]
https://user-images.githubusercontent.com/65260743/273050464-fdec3924-dbc3-42f2-8ef3-851e26e695d7.png
we are using
sonGeneratorVersion = "0.4.3"
jsonSchemaFriendVersion = "0.9.1"
Thanks for the help in advance!
—
Reply to this email directly, view it on GitHub
https://github.com/jimblackler/jsonschemafriend/issues/31, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFH6F252D5TOCNBSRUOOC3X54TLVAVCNFSM6AAAAAA5U5DDL2VHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZDSMJRGU2TENI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

is there any guidance I can follow to locate and delete the schema cache

The Usage link is not working, I was looking if any guidance was mentioned in the link.
https://javadoc.jitpack.io/com/github/jimblackler/jsonschematypes/jsonschemafriend/0.12.0/javadoc/net/jimblackler/jsonschemafriend/package-summary.html

Regarding the broken link, it seems the docs aren't being published (it
should be automatic). Sorry about that.
Regarding deleting the cache, I have a better solution which is that I've
made a new release 0.12.1 of the library which renames the cache, which
will force all clients to use a fresh cache. So try that.
I have also published a jsonschematypes (plugin) 0.9.2 which updates the
dependency on the library.
On Thu, 5 Oct 2023 at 23:09, tanmaymanolkar1 @.***>
wrote:

The Usage link is not working, I was looking if any guidance was mentioned
in the link.
https://javadoc.jitpack.io/com/github/jimblackler/jsonschematypes/jsonschemafriend/0.12.0/javadoc/net/jimblackler/jsonschemafriend/package-summary.html
[image: image]
https://user-images.githubusercontent.com/65260743/273056062-41e30968-2b3d-4efa-bb7b-14be0659a556.png
—
Reply to this email directly, view it on GitHub
https://github.com/jimblackler/jsonschemafriend/issues/31#issuecomment-1749722786,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFH6F42G6WV75IMCIKN3CLX54VZDAVCNFSM6AAAAAA5U5DDL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZG4ZDENZYGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thank you for the quick update.
I am seeing this error in the stack trace

OK so it seems jsongenerator needed updating to use the new library and a
fix for the way the cache works. I just published 0.4.7.
On Thu, 5 Oct 2023 at 23:30, tanmaymanolkar1 @.***>
wrote:

Thank you for the quick update.
I am seeing this error in the stack trace
[image: image]
https://user-images.githubusercontent.com/65260743/273059419-30aa662f-a5dc-45b6-81e6-604beab33d3f.png
—
Reply to this email directly, view it on GitHub
https://github.com/jimblackler/jsonschemafriend/issues/31#issuecomment-1749743761,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFH6F7JKMMK3X6E6YUH653X54YJBAVCNFSM6AAAAAA5U5DDL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZG42DGNZWGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

great thanks

Not able to find the package "net.jimblackler:jsongenerator:0.4.7" yet, I guess its taking time to get uploaded

Try now.
On Fri, 6 Oct 2023, 00:48 tanmaymanolkar1, @.***> wrote:

Not able to find the package "net.jimblackler:jsongenerator:0.4.7" yet, I
guess its taking time to get uploaded
[image: image]
https://user-images.githubusercontent.com/65260743/273069059-e7a95489-f0c5-4aa5-af0e-d25415661f42.png
—
Reply to this email directly, view it on GitHub
https://github.com/jimblackler/jsonschemafriend/issues/31#issuecomment-1749803148,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFH6F6KVZ322GPXJ6GKVXTX55BN7AVCNFSM6AAAAAA5U5DDL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZHAYDGMJUHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I am using this method generate() from net/jimblackler/jsongenerator/Generator.java

And the object we are getting back is not of type JSONObject or JSONArray

and we end up with
java.lang.IllegalArgumentException: object is not a JSON Object
I am using the following versions, we are not taking in the dependency on jsonschematypes library
/

Any idea what might have changed and how we can get past this issue

One main difference I see when this library worked
Warning: Nashorn engine is planned to be removed from a future JDK release
to now when it is now working : I do not see the above warning
Is there any chance the Nashorn engine might be causing issues.

What is the type you are getting back?

I am getting LinkedHashMap back @jimblackler, the issue I am seeing is that in nested json schema, where the parent JSON refers to child JSON objects, and the child JSON objects are not being tested, I get them as empty (unpopulated).
Do you reckon taking in the dependency on jsonschematypes library would help?

I'm not sure what's happened exactly in your case but I adapted the library
a while back to use generic Java Maps, Lists and primitives vs. any
particular Json wrapper library.
But you should easily be able to convert, e.g. (from memory) "new
JsonObject(obj)"
On Tue, 17 Oct 2023 at 17:34, tanmaymanolkar1 @.***>
wrote:

I am getting LinkedHashMap back @jimblackler
https://github.com/jimblackler, the issue I am seeing is that in nested
json schema, where the parent JSON refers to child JSON objects, and the
child JSON objects are not being tested, I get them as empty (unpopulated).
Do you reckon taking in the dependency on jsonschematypes
https://github.com/jimblackler/jsonschematypes/tree/master library
would help?
—
Reply to this email directly, view it on GitHub
https://github.com/jimblackler/jsonschemafriend/issues/31#issuecomment-1766777142,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFH6F5VU4I6XEAMHNQV7WTX72XRPAVCNFSM6AAAAAA5U5DDL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRWG43TOMJUGI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Test toolchains and packages

Describe:
The resent tests show that find_package() method changes behavior when compile only areg-sdk project and when compile Demo project with toolchains. For example, the areg-sdk is possible to compile with extended objects (link with ncurses or sqlite3), but compilation of Demo cannot find the libraries (error -- does not have include).
There is a need to make tests and find the reason of such behavior.

Made multiple tests and found following issues:

The behavior of find_xxx call can be changed if relevant CMake variables are set before or after project() declaration. All settings (or the absolute majority of settings) set before projectIO call are ignored.
The find_xxx searches files / libraries in the x86_64-linux-gnu sub-directory and ignores i386-linux-gnu  sub-directory. Because of this, it was always compiling the sqlite3 library and ignoring AREG_EXTENDED flag (could not allocate i386 compatible ncurses library).
Very important to set CMAKE_LIBRARY_PATH variable and redirect to the preferred directory. For example, adding (setting at begin) /usr/lib/i386-linux-gnu path fixed the issue of searching x86 libraries / packages. Again, very important to use it after project() call.
setting set(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.so") may cause a problem that the binaries are not compiled, because they try to link with a static library which are not compiled with -fPIC flag. So that, it is preferable to search .so library first.
For any reason, the change of CMAKE_FIND_ROOT_PATH is ignored. Still CMAKE_LIBRARY_PATH was more effective that CMAKE_FIND_XXX variables.
CMAKE_LIBRARY_ARCHITECTURE is set by CMake. However, if you change the value and set to i386-linux-gnu, for example, then it finds the right libraries.

To keep short, effective were changes of CMAKE_LIBRARY_PATH and CMAKE_LIBRARY_ARCHITECTURE. Since the CMAKE_LIBRARY_PATH assumes the list of paths, which may change depending on installation, the decision is done to set the value of CMAKE_LIBRARY_ARCHITECTURE after project() call.


provide methods of adding layers to the map.

This makes it possible to add a layer directly to the map

@johnarban  These changes were all very minor, so I just made them.


Magento ver. 2.4.3

if i install latest update of mod_security_crs
Magento ver. 2.4.3 will not update product quantities from dashboard
redhat latest updates

Hi @LINUXpos , thanks for your issue. Unfortunately, we need a bit more information to help you fix it.
Do you have access to the ModSecurity audit log? (usually in /var/log/modsec_audit.log) Once the firewall blocks something, it should appear here. Can you re-try doing the request in Magento and paste the relevant entry here?

Hello,  i recreated issue:  modesec log:
HTTP/1.0 500 Perl execution failed
Server: MiniServ/1.981
Date: Sat, 18 Dec 2021 08:27:21 GMT
Content-type: text/html; Charset=utf-8
Connection: close

500 — Perl execution failed
Error — Perl execution failed
can't open /var/log/httpd/log/httpd/modsec_audit.log: No such file or directory at /usr/libexec/webmin/filemin/download.cgi line 26.

= = = = =
magento error if i try to change product stock quantity:
A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later.

modsec_audit.log

@LINUXpos Look at this in the log above:
can't open /var/log/httpd/log/httpd/modsec_audit.log: No such file or directory at /usr/libexec/webmin/filemin/download.cgi line 26
Check if all directories in the path to the log file exists.

@LINUXpos Any news on this ?Thanks.


Move documentation to ros2 documentation (already removed references to ros wiki)

I don't know if I can get to this, but should the tutorials package be shifted over to a Tutorials.rst file within the doc folder? That way everything is more centralized.


[directxtex] update port with omp feature

The library has a build option for using OpenMP to make the software BC6H/BC7 codec use multiple cores. This feature has been on by default for some time, but there are some build contexts where I need to be able to disable it.
Therefore, this port adds an omp feature for controlling that build option, and this is a 'default' feature.

@walbourn, Thanks for your PR, According to my understanding, this PR is to change the existing feature omp from optional to default, right?

All features are tested successfully in the following triplet:

x86-windows
x64-windows
x64-windows-static

Hmmm it sounds like the feature being off enables more scenarios than the feature being on? I'm not sure if making this a feature is a great fit.
Let's say you are building port "a" that depends on "directxtex" like this:
"dependencies": ["directxtex"]

this will cause the feature to be on, because "a" depends on "directxtex[default]", so
vcpkg install directxtex[core] a

will still turn on the omp feature despite the [core] line trying to avoid that.
Should the feature be no-omp instead?

Put another way, if you can ever have a requirement that a feature be off, that isn't really a feature. Everything about vcpkg's interaction with features assumes it is always safe to turn on more features.

Honestly this is just for the really weird build environment of razzle where I need to be able to turn off OpenMP which I can do by disabling default features.
That said, I can also invert it to a no-omp feature if you feel it's a better design.

Verified all supported triplets and features:
vcpkg install directxtex[core]:x86-windows
vcpkg install directxtex:x86-windows --recurse
vcpkg install directxtex[no-omp]:x86-windows --recurse
vcpkg install directxtex[tools]:x86-windows --recurse
vcpkg install directxtex[dx12]:x86-windows --recurse
vcpkg install directxtex[openexr,tools]:x86-windows --recurse
vcpkg install directxtex[spectre]:x86-windows --recurse
vcpkg install directxtex:x86-windows-static
vcpkg install directxtex:x86-windows-static-md

vcpkg install directxtex[core]:x64-windows
vcpkg install directxtex:x64-windows --recurse
vcpkg install directxtex[no-omp]:x64-windows --recurse
vcpkg install directxtex[tools]:x64-windows --recurse
vcpkg install directxtex[dx12]:x64-windows --recurse
vcpkg install directxtex[openexr,tools]:x64-windows --recurse
vcpkg install directxtex[spectre]:x64-windows --recurse
vcpkg install directxtex:x64-windows-static
vcpkg install directxtex:x64-windows-static-md

vcpkg install directxtex:arm-windows
vcpkg install directxtex[tools]:arm-windows --recurse
vcpkg install directxtex[spectre]:arm-windows --recurse

vcpkg install directxtex:arm64-windows
vcpkg install directxtex[tools]:arm64-windows --recurse
vcpkg install directxtex[spectre]:arm64-windows --recurse
vcpkg install directxtex:arm64-windows-static
vcpkg install directxtex:arm64-windows-static-md

vcpkg install directxtex:x86-uwp
vcpkg install directxtex:x64-uwp
vcpkg install directxtex:arm-uwp
vcpkg install directxtex:arm64-uwp

vcpkg install directxtex:x64-xbox-scarlett
vcpkg install directxtex:x64-xbox-scarlett-static
vcpkg install directxtex:x64-xbox-xboxone
vcpkg install directxtex:x64-xbox-xboxone-static

./vcpkg install directxtex:x64-linux
./vcpkg install directxtex[dx12]:x64-linux --recurse
./vcpkg install directxtex[openexr]:x64-linux --recurse

./vcpkg install directxtex:arm64-linux
./vcpkg install directxtex[dx12]:arm64-linux --recurse
./vcpkg install directxtex[openexr]:arm64-linux --recurse

vcpkg install directxtex:x64-mingw-static
vcpkg install directxtex[dx12]:x64-mingw-static --recurse
vcpkg install directxtex[tools]:x64-mingw-static --recurse

vcpkg install directxtex:x86-mingw-static
vcpkg install directxtex[dx12]:x86-mingw-static --recurse
vcpkg install directxtex[tools]:x86-mingw-static --recurse

Honestly this is just for the really weird build environment of razzle where I need to be able to turn off OpenMP which I can do by disabling default features.

The problem is that you can't do that if anything in your entire package graph doesn't turn off default features.
Can we get information into here about the razzle environment that allows the port to respond appropriately without needing a feature? Razzle uses their own triplets right? They could set a variable and then the port could do:
# The following setting is intended to be overridden in the triplet if necessary
if (NOT DEFINED BC_USE_OPENMP)
    set(BC_USE_OPENMP ON)
endif()

# ...

vcpkg_cmake_configure(
    SOURCE_PATH "${SOURCE_PATH}"
    OPTIONS ${FEATURE_OPTIONS} -DBUILD_SAMPLE=OFF -DBUILD_TESTING=OFF "-DBC_USE_OPENMP=${BC_USE_OPENMP}"
)

The problem is that the OS razzle build environment doesn't have support for OpenMP at all, and it's not indicated by anything. Having it be an inverted-feature is perfectly fine.

The problem is that the OS razzle build environment doesn't have support for OpenMP at all, and it's not indicated by anything. Having it be an inverted-feature is perfectly fine.

Sure, but doesn't that build environment need custom triplets anyway, that can tell ports that omp can't be used?

There's no standard way to indicate that in a triplet. I'm using a custom build option for my CMake.

Sure, I'm saying it doesn't need to be a standard thing. The triplet .cmake runs before portfile.cmake so any variables you set in there, portfile.cmake can listen to.

The inverted feature is a perfectly valid choice for other scenarios, and achieves my goals without having to dig into the core of the OS VCPKG triplet system :)

Again, in the context I'm trying to solve for I don't have control over the triplet.
The library has been using OpenMP by default for MSVC windows builds since it was first introduced, so using an inverted feature avoids changing existing behavior.

The library has been using OpenMP by default for MSVC windows builds since it was first introduced, so using an inverted feature avoids changing existing behavior.

that is not an argument.... vcpkg has default-features.
In your case an omp feature is better since you want to restrict it with a supports clause for whatever razzle is (and default-features will at some point support supports)

The main reason to use no-omp instead of omp is the fact that omp will require default-features=false in all dependent downstream ports. However both cases require an explicit mentioning of the feature in the projects manifest.

In 99.9% of cases, OpenMP should be used to build the BC6H/BC7 codec which is otherwise incredibly slow for all but trivial sized images. That's what I want to happy by default and even when you use: default-features: false.
The only case where I need to be able to disable the OpenMP is in weird edge-case scenarios like a build environment that just happens to be missing the OpenMP header/lib support for MSVC which is when I'd use no-omp.

I need this to unblock me for now, but I'll see if I can come up with a better solution down the road that removes the need for a custom 'feature' like this.


IAM Role inside a "folder"

I have an iam role that looks like:
arn:aws:iam::XXXXXXX:role/aplp/Role-IT-PlatformTeam
Noticed i used "aplp" as a "folder" to store all our roles moving forward.  The issue I'm having is the cli seems to not like the fact that it sees it as aplp/Role-IT-PlatformTeam now, that by design or???
http://i.imgur.com/jIJNnti.png

@mraible this is resolved by #73, which is now merged.


Provide a visual cue when uploading/downloading files for ADLS Gen2 accounts

Storage Explorer Version: 1.5.0
Platform/OS Version: Windows 10/ MacOS High Sierra/ Linux Ubuntu 16.04
Architecture: ia32
Build Number: 20181117.12
Commit: 78a0d1ab
Regression From: Not a regression
Steps to Reproduce:

Expand an ADLS Gen2 accounts -> Create a blob container.
Upload files to the blob container.

Expected Experience:
Provide a visual cue to remind the user that we are using AzCopy when uploading/downloading blobs for ADLS Gen2 accounts.
Actual Experience:
It doesn’t provide any visual cues when uploading/downloading blobs for ADLS Gen2 accounts.

We need to design with the PM to determine what we should do here.  In this case, we use AzCopy but the AzCopy check under the Experimental menu is not checked.

Verified on build 20181129.2. This issue has been fixed. Could you help to resolve it?


kvclient(engine): Get method return an error when record not found

What did you do?
Call 'Get' method for KVClient
What did you expect to see?
Return an empty resp when record not found
What did you see instead?
Get method return an error when record not found
Versions of the cluster
Dataflow Engine version (run tiflow version):
master@b6de2bd

/severity minor


Feature add opacity

@rgerstenberger small PR that allows for color picker to adjust text opacity.

LGTM!


Assertion failed (item already registered:

Issue Id: 479996f1-d919-855f-5e8e-02eff2cbc0f5Versions - 1.6.0-insider (9/20/2016 6:06:54 AM)Stack Error: Assertion failed (item already registered: /vs/base/common/assert.ts#L12:8/vs/editor/contrib/linesOperations/common/moveLinesCommand.ts#L84:56 (model)/vs/editor/contrib/linesOperations/common/sortLinesCommand.ts#L95:12 (getSortData)/vs/editor/contrib/snippet/common/snippet.ts#L150:9 (prototype)/vs/editor/common/core/range.ts#L320:23 (startColumn)/vs/editor/contrib/snippet/common/snippet.ts#L103:22 (push)/vs/editor/contrib/snippet/common/snippet.ts#L175:10 (_snippet)/vs/editor/contrib/snippet/common/snippet.ts#L211:10 (Number)/vs/editor/contrib/snippet/common/snippet.ts#L165:8 (placeHolder)/vs/editor/contrib/snippet/common/snippet.ts#L302:2 (placeHolders)

Some test case?

@ramya-rao-a The error message is impossible with that stack. That message comes from the tree world:

The stack seems to have nothing to do with the tree.


⚠ Jenkins Plugins Artifactory has degraded performance

In e4b8f50, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1136 ms

Resolved: Jenkins Plugins Artifactory performance has improved in f9316d6 after 12 minutes.


Prepare ExDoc

we should describe README, @moduledoc and @doc by English!!

English README has been translated by @celaxodon , thanks!!

@kebus426 will try to tackle this issue, in Japanese at first.

We close this issue with big thanks to the awesome contributions by @pojiro (e.g., #121)


Scanning into a pointer to string inside struct

Hello, I read through the note in doc, but i need to implement some columns as null-able field. Is there any workaround to scan pointer to string using pgxscan ?
My Struct is as such

It is able to scan to pointer in nested struct, which is of composite type, but is not able to scan to plain pointer to nil. Am I missing something ?

Hi. Thanks for the issue.
What you are asking for should work by default, without any workarounds.
What exactly "note in the docs" you are talking about, can you give me the link?
BTW, can you send me the full code version with the struct definition, pgxscan call and the full error.

Hello, Sorry, It was my fault . Data type mismatch between db and go's code was causing the problem. I had implemented int on the database but the field was string on the go's side, upon changing, it behaves fine. It scans fine now as intended. The link in docs I was pointing towards was:
https://pkg.go.dev/github.com/georgysavva/scany/pgxscan#hdr-Note_about_pgx_custom_types

Upon reading, it cannot scan into pointer, I was deviated.
Thanks, this is really nice package. :)


Plugin with enableUI true not showing up in Vendor panel

Hello,
After installing https://github.com/vholik/medusa-custom-attributes in my backend, checking that it has the enableUI option set to true and starting the Vendor server, i don't see the plugin UI customizations, like the CustomAttributes page or Widget in product detail.
I have debugged the compiled js code and see that it effectively picks up the plugin in the utils getPluginPaths function. Is it possible / tested the inclusion of plugins with UI customizations for VendorUI plugin?

The medusa-custom-attributes plugin is not supported in Mercur simply because it is a store plugin, not a marketplace plugin.


Allow to bypass sanitizer for external rendering

Before doing a PR that may impact security I would like to have your advice
I would need to bypass the sanitizer by adding an option to external markup like DISABLE_SANITIZER.
The goal is for issue like https://github.com/go-gitea/gitea/issues/5979 to be able to load JS libs (external or in public) like https://git.sapk.fr/Madeleine.js/examples/ajax.html
I think this would largely improve external rendering without introducing security risk by default but let the admin the possibility to load js or html that it trust.

Here it is: RENDER_CONTENT_MODE


Add cuda-nvrtc dependency for dlopen bug.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

In 12.0/12.1 libcublas runtime will try to dlopen nvrtc due to a bug. This adds a dependency to avoid that bug. Closes #9.

@adibbley Do we need this in the static library too, or just libcublas?

@adibbley Do we need this in the static library too, or just libcublas?

I'm not sure on this. @robertmaynard do you know if this bug exists in the static library as well?

Asking internally.

After internal discussion, @leofang and I agreed it should be fine to add this dependency to libcublas and not worry about libcublas-static. We aren't sure if the static library needs a dependency or not. If it does need a dependency, it would need cuda-nvrtc and not cuda-nvrtc-static (you don't dlopen a static archive, it'd need cuda-nvrtc for libnvrtc.so).
It seems the issue may only arise in specific circumstances with cuDNN. Since we don't expect the static library to be heavily used, we recommend merging this PR as-is for now.

Just got a definitive answer that static libs are affected. I'll add cuda-nvrtc as a runtime dependency of libcublas-static.


It's not possible to set any Terminal Profile

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:
Version: 1.92.0 (user setup)
Commit: b1c0a14de1414fcdaa400695b4db1c0799bc3124
Date: 2024-07-31T23:26:45.634Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22631

OS Version:
Windows 11 23H2. build 22631.3880

Steps to Reproduce:

open  code --disable-extensions --user-data-dir <test_dir>
Follow the terminal profiles doc, and add a profile:
https://code.visualstudio.com/docs/terminal/profiles#_configuring-profiles
e.g.:

{
    "terminal.integrated.profiles.windows": {
        "test": {
            "source": "PowerShell",
            "args": ["-NoProfile"]
        }
    },
    "terminal.integrated.defaultProfile.windows": "test"
}

vscode warns on "terminal.integrated.defaultProfile.windows": "test"
Message in my system:
Value is not accepted. Valid values: null, "PowerShell", "Windows PowerShell", "Git Bash", "Command Prompt", "Cygwin", "bash (MSYS2)", "JavaScript Debug Terminal"

The only, somewhat, related bug was alread fixed and closed:
https://github.com/microsoft/vscode/issues/161219

adding the profile should work. that settings value validation warning is a bug


Asset writer exits with - proto_stream_deserializer.cc:69] Check failed:

I have been working with cartographer for SLAM based navigation, According to the tutorials I was a using the cartographer tutorial bag for testing. I was able to generate submaps with the robot state publisher tf etc..
Whenever I tired to launch a assets writer launch and demo localization. launch my launch files exits with the following error.
Note: I have renamed the bag file to velodyne_imu.bag
SUMMARY
========

PARAMETERS
 * /rosdistro: kinetic
 * /rosversion: 1.12.14

NODES
  /
    cartographer_assets_writer (cartographer_ros/cartographer_assets_writer)

auto-starting new master
process[master]: started with pid [6220]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to c2fd3bde-61af-11ea-9357-e4a7a0675633
process[rosout-1]: started with pid [6233]
started core service [/rosout]
process[cartographer_assets_writer-2]: started with pid [6240]
F0309 10:43:31.532022  6240 proto_stream_deserializer.cc:69] Check failed: pose_graph_.pose_graph().trajectory_size() == all_trajectory_builder_options_.all_trajectory_builder_options() .options_with_sensor_ids_size() (0 vs. 1)
*** Check failure stack trace: ***
    @     0x7f9be46855cd  google::LogMessage::Fail()
    @     0x7f9be4687433  google::LogMessage::SendToLog()
    @     0x7f9be468515b  google::LogMessage::Flush()
    @     0x7f9be4687e1e  google::LogMessageFatal::~LogMessageFatal()
    @           0x508e18  cartographer::io::ProtoStreamDeserializer::ProtoStreamDeserializer()
    @           0x5090ce  cartographer::io::DeserializePoseGraphFromFile()
    @           0x4df060  cartographer_ros::AssetsWriter::AssetsWriter()
    @           0x4d9698  main
    @     0x7f9be147a830  __libc_start_main
    @           0x4db8a9  _start
    @              (nil)  (unknown)
================================================================================REQUIRED process [cartographer_assets_writer-2] has died!
process has died [pid 6240, exit code -6, cmd /home/user/catkin_ws/install_isolated/lib/cartographer_ros/cartographer_assets_writer -configuration_directory /home/user/catkin_ws/install_isolated/share/cartographer_ros/configuration_files -configuration_basename assets_writer_backpack_3d.lua -urdf_filename /home/user/catkin_ws/install_isolated/share/cartographer_ros/urdf/backpack_3d.urdf -bag_filenames /home/user/Downloads/velodyne_imu.bag -pose_graph_filename /home/user/Downloads/velodyne_imu.bag.pbstream __name:=cartographer_assets_writer __log:=/home/user/.ros/log/c2fd3bde-61af-11ea-9357-e4a7a0675633/cartographer_assets_writer-2.log].
log file: /home/user/.ros/log/c2fd3bde-61af-11ea-9357-e4a7a0675633/cartographer_assets_writer-2*.log
Initiating shutdown!
================================================================================
[cartographer_assets_writer-2] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

What does cartographer_pbstream info <your pbstream> show, if it works?


Reordered index.md to put YAML, Helm at top

Moves Kubernetes YAML and Helm options to top of installations instructions page.  Reorders selection options on page to reflect this change.

Testing
Tested on Mac (Chrome, Firefox, Safari, Maxthon) and Windows (Chrome, Firefox), also mobile (Samsung Galaxy 9).
Tasks That Must Be Done

[ ] Did you update CHANGELOG.md?
[ ] Did you add or update tests?
[ ] Did you update documentation?
[ ] Were there any special dev tricks you had to use to work on this code efficiently?

[ ] Did you add them to DEVELOPING.md?

[ ] Is this a build change?

[ ] If so, did you test on both Mac and Linux?

Other

If this is a documentation change for a particular release, please open the pull request against the release branch.

This has been revised and released as part of apro PR #2660.


test(e2e): add more test cases

Current dependencies on/for this PR:

main

PR #1063

PR #1064

PR #1074   👈

This comment was auto-generated by Graphite.


FileHelpers.Detection.SmartFormatDetector class not exists in NET 6

suggestions ?

Facing the same problem! It seems like the only available option to be able to read files dynamically, without the need of a Record class and yet, it does not seem to be available in .NET 6. The examples on the website do not mention any requirements either.
Any suggestions or solutions will be helpful and appreciated!

Ok, I also have this problem...were you ever able to get around it?


Migrate Protobuf messages creation to VBuilders

The migration to vBuilder and toVBuilder usage started as a part of the #998 PR and should be continued further.
The goal here is to ensure that all our messages are always valid whenever they are created.

This one is an obsolete one as we do not use vBuilders anymore.


MQTT TCP example problem with IP adress (IDFGH-775)

Hi everyone, my name is Aron.
As the title suggests I found an issue with the MQTT/TCP setup - or maybe I expect something which was not meant to be used...
I wanted to use the MQTT/TCP project provided here. I've created a node-red dashboard, and the mosquitto broker is running locally. So instead of the given mqtt address i used my pc-s IP address as URI - for which the ESP32 gave a parsing error.

Development Kit:   ESP32-DevKitC
Kit version DevKitC v1 and v3
IDE: Platform IO with VS Code

I've tried tho achieve the same thing in Arduino environment, where the program ran smoothly, and the IP was accepted.
Either way the debug log is here:
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5800
load:0x40078000,len:7924
load:0x40080000,len:5916
entry 0x40080314
␛[0;32mI (29) boot: ESP-IDF 3.30103.190221 2nd stage bootloader␛[0m
␛[0;32mI (29) boot: compile time 18:35:44␛[0m
␛[0;32mI (29) boot: Enabling RNG early entropy source...␛[0m
␛[0;32mI (34) boot: SPI Speed      : 40MHz␛[0m
␛[0;32mI (38) boot: SPI Mode       : DIO␛[0m
␛[0;32mI (42) boot: SPI Flash Size : 4MB␛[0m
␛[0;32mI (46) boot: Partition Table:␛[0m
␛[0;32mI (50) boot: ## Label            Usage          Type ST Offset   Length␛[0m
␛[0;32mI (57) boot:  0 nvs              WiFi data        01 02 00009000 00006000␛[0m
␛[0;32mI (65) boot:  1 phy_init         RF data          01 01 0000f000 00001000␛[0m
␛[0;32mI (72) boot:  2 factory          factory app      00 00 00010000 00100000␛[0m
␛[0;32mI (80) boot: End of partition table␛[0m
␛[0;32mI (84) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x18858 (100440) map␛[0m
␛[0;32mI (128) esp_image: segment 1: paddr=0x00028880 vaddr=0x3ffc0000 size=0x02e6c ( 11884) load␛[0m
␛[0;32mI (132) esp_image: segment 2: paddr=0x0002b6f4 vaddr=0x40080000 size=0x00400 (  1024) load␛[0m
␛[0;32mI (135) esp_image: segment 3: paddr=0x0002bafc vaddr=0x40080400 size=0x04514 ( 17684) load␛[0m
␛[0;32mI (150) esp_image: segment 4: paddr=0x00030018 vaddr=0x400d0018 size=0x7a9c4 (502212) map␛[0m
␛[0;32mI (326) esp_image: segment 5: paddr=0x000aa9e4 vaddr=0x40084914 size=0x0b1ec ( 45548) load␛[0m
␛[0;32mI (354) boot: Loaded app from partition at offset 0x10000␛[0m
␛[0;32mI (354) boot: Disabling RNG early entropy source...␛[0m
␛[0;32mI (354) cpu_start: Pro cpu up.␛[0m
␛[0;32mI (358) cpu_start: Starting app cpu, entry point is 0x40081000␛[0m
␛[0;32mI (350) cpu_start: App cpu up.␛[0m
␛[0;32mI (368) heap_init: Initializing. RAM available for dynamic allocation:␛[0m
␛[0;32mI (375) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM␛[0m
␛[0;32mI (381) heap_init: At 3FFC90B0 len 00016F50 (91 KiB): DRAM␛[0m
␛[0;32mI (387) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM␛[0m
␛[0;32mI (394) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM␛[0m
␛[0;32mI (400) heap_init: At 4008FB00 len 00010500 (65 KiB): IRAM␛[0m
␛[0;32mI (406) cpu_start: Pro cpu start user code␛[0m
␛[0;32mI (89) cpu_start: Starting scheduler on PRO CPU.␛[0m
␛[0;32mI (0) cpu_start: Starting scheduler on APP CPU.␛[0m
␛[0;32mI (90) MQTT_EXAMPLE: [APP] Startup..␛[0m
␛[0;32mI (90) MQTT_EXAMPLE: [APP] Free memory: 201912 bytes␛[0m
␛[0;32mI (90) MQTT_EXAMPLE: [APP] IDF version: 3.30103.190221␛[0m
I (150) wifi: wifi driver task: 3ffd20c8, prio:23, stack:3584, core=0
I (150) wifi: wifi firmware version: 71d6725
I (150) wifi: config NVS flash: enabled
I (150) wifi: config nano formating: disabled
␛[0;32mI (160) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE␛[0m
␛[0;32mI (170) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE␛[0m
I (190) wifi: Init dynamic tx buffer num: 32
I (190) wifi: Init data frame dynamic rx buffer num: 32
I (190) wifi: Init management frame dynamic rx buffer num: 32
I (200) wifi: Init static rx buffer size: 1600
I (200) wifi: Init static rx buffer num: 10
I (200) wifi: Init dynamic rx buffer num: 32
␛[0;32mI (210) MQTT_EXAMPLE: start the WIFI SSID:[Gothic]␛[0m
␛[0;32mI (280) phy: phy_version: 4008, c9ae59f, Jan 25 2019, 16:54:06, 0, 0␛[0m
I (280) wifi: mode : sta (30:ae:a4:0b:07:f0)
␛[0;32mI (280) MQTT_EXAMPLE: Waiting for wifi␛[0m
I (1010) wifi: n:6 2, o:1 0, ap:255 255, sta:6 2, prof:1
I (1850) wifi: state: init -> auth (b0)
I (1860) wifi: state: auth -> assoc (0)
I (1870) wifi: state: assoc -> run (10)
I (1880) wifi: connected with Gothic, channel 6
I (1880) wifi: pm start, type: 1

␛[0;32mI (2650) event: sta ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>␛[0m
␛[0;32mI (2650) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE␛[0m
␛[0;31mE (2650) MQTT_CLIENT: Error parse uri = <IP_ADDRESS>:1883␛[0m
C:\users\csurleny\.platformio\packages\framework-espidf\components\freertos\event_groups.c:350 (xEventGroupWaitBits)- assert failed!
abort() was called at PC 0x4008a978 on core 0

Backtrace: 0x4008d7db:0x3ffcc540 0x4008d933:0x3ffcc560 0x4008a978:0x3ffcc580 0x400d291a:0x3ffcc5b0 0x400d292d:0x3ffcc5d0 0x400d2ebd:0x3ffcc5f0 0x400d2098:0x3ffcc630 0x400d4a98:0x3ffcc6b0

Rebooting...
ets Jun  8 2016 00:22:57

The code is exactly as in the given example, with my WiFi SSID/PASS, and the MQTT_URI being "<IP_ADDRESS>:1883".
Any help/idea would be rally appreciated.

Hi Aron,
You're missing a scheme part of URI. Please try "mqtt://<IP_ADDRESS>:1883".

Shouldn't crash like that anyway, bug in mqtt_client.c doesn't check for null event group handle

Thank you for the replies. Yes, the problem was the "mqtt://" tag missing from the URI. Now it works as intended - still it is a bit strange for me, but I won't complain.
On a side note There are still times when the nvm_flash_init() won't do it's job, so the wifi_init is complaining, but that can be solved by erasing the ESP32 memory and re-flashing.
Thanks again for the help.

Thank you for the replies. Yes, the problem was the "mqtt://" tag missing from the URI. Now it works as intended - still it is a bit strange for me, but I won't complain.
On a side note There are still times when the nvm_flash_init() won't do it's job, so the wifi_init is complaining, but that can be solved by erasing the ESP32 memory and re-flashing.
Thanks again for the help.

Yes, mqtt:// is a important part of the URI on ESP-MQTT. I have had problems with establish connection with AWS IoT Core server. The issue presented in the MCU response is:
I (5079) ppp_protocol: ~~~~~~~~~~~~~~
I (5079) ppp_protocol: GOT ip event!!!
D (5079) event: running post IP_EVENT:5 with handler 0x400dbccc and context 0x3ffb47c0 on loop 0x3ffb8efc
D (5089) esp_netif_handlers: esp_netif action connected with netif0x3ffb9eb0 from event_id=5
D (5099) esp_netif_lwip: check: remote, if=0x3ffb9eb0 fn=0x400dc8e8
D (5109) esp_netif_lwip: esp_netif_up_api esp_netif:0x3ffb9eb0
I (5109) system_api: Base MAC address is not set
D (5109) esp_netif_lwip: check: local, if=0x3ffb9eb0 fn=0x400dcf1c
I (5129) system_api: read default base MAC address from EFUSE
D (5129) efuse: coding scheme 0
D (5129) esp_netif_lwip: esp_netif_update_default_netif_lwip 0x3ffb9eb0
D (5139) efuse: In EFUSE_BLK0__DATA2_REG is used 8 bits starting with 8 bit
D (5139) esp_netif_lwip: call api in lwip: ret=0x0, give sD (5159) efuse: coding scheme 0
em
D (5159) efuse: In EFUSE_BLK0__DATA2_REG is used 8 bits starting with 0 bit
D (5169) efuse: coding scheme 0
D (5169) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 24 bit
D (5179) efuse: coding scheme 0
D (5179) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 16 bit
D (5189) efuse: coding scheme 0
D (5189) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 8 bit
D (5199) efuse: coding scheme 0
D (5199) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 0 bit
D (5209) efuse: coding scheme 0
D (5209) efuse: In EFUSE_BLK0__DATA2_REG is used 8 bits starting with 16 bit
D (5219) MQTT_CLIENT: MQTT client_id=ESP32_158D1C
D (5219) event: created event loop 0x3ffbd070
D (5229) MQTT_CLIENT: Core selection disabled
I (5229) ppp_protocol: MQTT other event id: 7
D (5239) esp-tls: host:a1eaun1ie4ulmg-ats.iot.sa-east-1.amazonaws.com: strlen 46
E (18859) esp-tls: couldn't get hostname for :a1eaun1ie4ulmg-ats.iot.sa-east-1.amazonaws.com:
E (18859) esp-tls: Failed to open new connection
E (18859) TRANS_SSL: Failed to open a new connection
E (18859) MQTT_CLIENT: Error transport connect
I (18869) ppp_protocol: MQTT_EVENT_ERROR
D (18869) MQTT_CLIENT: Reconnect after 10000 ms
It happens when I use mqtts://xxxxxx.brokerendpoint. When I use the broker IP address I got this:
I (5989) system_api: Base MAC address is not set
D (5989) esp_netif_lwip: check: local, if=0x3ffb9eb0 fn=0x400dcf1c
I (6009) system_api: read default base MAC address from EFUSE
D (6009) efuse: coding scheme 0
D (6009) esp_netif_lwip: esp_netif_update_default_netif_lwip 0x3ffb9eb0
D (6019) efuse: In EFUSE_BLK0__DATA2_REG is used 8 bits starting with 8 bit
D (6019) esp_netif_lwip: call api in lwip: ret=0x0, give sD (6039) efuse: coding scheme 0
em
D (6039) efuse: In EFUSE_BLK0__DATA2_REG is used 8 bits starting with 0 bit
D (6049) efuse: coding scheme 0
D (6049) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 24 bit
D (6059) efuse: coding scheme 0
D (6059) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 16 bit
D (6069) efuse: coding scheme 0
D (6069) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 8 bit
D (6079) efuse: coding scheme 0
D (6079) efuse: In EFUSE_BLK0__DATA1_REG is used 8 bits starting with 0 bit
D (6089) efuse: coding scheme 0
D (6089) efuse: In EFUSE_BLK0__DATA2_REG is used 8 bits starting with 16 bit
D (6099) MQTT_CLIENT: MQTT client_id=ESP32_158D1C
D (6099) event: created event loop 0x3ffbd01c
D (6109) MQTT_CLIENT: Core selection disabled
I (6109) ppp_protocol: MQTT other event id: 7
D (6119) esp-tls: host:<IP_ADDRESS>: strlen 11
E (7199) esp-tls-mbedtls: mbedtls_x509_crt_parse returned -0x2180
E (7199) esp-tls-mbedtls: Failed to set client pki context
E (7199) esp-tls-mbedtls: Failed to set client configurations
E (7209) esp-tls: create_ssl_handle failed
E (7209) esp-tls: Failed to open new connection
E (7219) TRANS_SSL: Failed to open a new connection
E (7219) MQTT_CLIENT: Error transport connect
I (7229) ppp_protocol: MQTT_EVENT_ERROR
D (7229) MQTT_CLIENT: Reconnect after 10000 ms
I (7239) ppp_protocol: MQTT_EVENT_DISCONNECTED
What happen here? both cases. The second case I believe that i can to be making an error with the certs or something, but the first, I haven't idea. Who Can help me?... I will appreciate any support. Thanks.


Del/Entf (DE) key does not work in MySQL database credentials

In the MySQL database credentials form of prisma2 init the Entf key of my German keyboard does not work, instead of removing the character right to the curser nothing happens.

Can you please confirm this? I don't have a german keyboard. I am guessing that you are referring to the delete key.
I can confirm though that delete key from my keyboard doesn't work I need to be sure they are the same.

As mentioned in the title, Entf and Del are the same key in theory. In practice I assume they are the same one, but do not know enough about keyboard layouts and key codes to be sure.


Saving the same file over and over again quickly causes problems

In my day-to-day editing of an Elm file, fairly often the js fails to reload properly so the page crashes. I can reproduce it in my medium sized project pretty consistently by spamming CTRL-S in my editor.
It seems like the websocket gets cut off early instead of sending the whole reloaded js file or something. Occasionally the JS error is 'unexpected end of input in main.js', but sometimes it's 'Elm is undefined' or something along those lines.
I hate to give a screenshot of code, but this demonstrates one way the the main.js file ends up incomplete (where the file ends is inconsistent, so particular line of code in the screenshot doesn't matter):

Just reloading the page resolves the issue, but ideally I'd be able to make code changes without worrying about hitting Save too often in my editor.
I'm running elm-live 4.0.2 on Windows 10 through Powershell with the following command:
elm-live .\src\Main.elm -u --verbose "--" --output="main.js" --debug

but the issue happens with --hot too, and just tested that  4.0.1 has the same issue:
I've tried making a minimal repro case but haven't been able to reproduce the issue on a project a few dozen lines long.

Hacked a workaround until this is resolved. In my index.html, instead of putting the main.js in a <script>, I create it dynamically, and then in script.onload, I check to make sure Elm is defined, otherwise I change the scripts src to main.js?tries=1 etc. The downside is this requires a hack to change elm-live's start.js's parseUrl to ignore querystrings for the target:
function parseUrl (pathname, model) {
	if (pathname.startsWith(model.target)) {
		console.log("overriting pathname to ", model.target);
		pathname = model.target;
	}
   ...
}

Maybe there's a better way of getting elm-live to see that main.js?anythingatall is still a request for main.js, but this works for now.

I've made some changes to elm-live's build.js to hack around this issue. It seems to be some sort of issue with either elm fighting with another sub process of elm make in runElm, so a solution I'm using is setting a global variable to true when its building, and false when its done.
const GLOBALS = {};
GLOBALS['isBuilding'] = false;
const setIsBuilding = () => { GLOBALS['isBuilding'] = true; }
const setIsNoLongerBuilding = () => { GLOBALS['isBuilding'] = false; }

then runElm turns into
const runElm = model => Async((reject, resolve) => {
	const wasBuilding = isItBuilding();

	setIsBuilding();

        ...
        if (!wasBuilding ) {
	  proc = spawn(model.elm, ['make', '--report=json', ...model.elmArgs])
	} else {
          reject(`already ${chalk.bold('building')}, so just exiting instead.`);
	  return;
	}
        ...

         proc.on('error', function (error) {
	   setIsNoLongerBuilding();
           if (error.code === 'ENOENT') {
           ...
         }

         proc.on('exit', function (status) {
           setIsNoLongerBuilding();
           ...
         }
   ...
   return wasBuilding; //not sure if this is necessary, since its in a callback as it is
}

This effectively just kills elm-live when it tries to build while elm-live's already in the process of building once.
A better solution would either:

put the error message I reject with into messages.js
or, add some action in init.js and resolve() instead of reject()ing, and then handling that action down the pipe, so elm-live wouldn't crash. Everything I tried to hack together still ended up with a JS error in Chrome with main.js being half-written to, or a HTTP error with a length mismatch (probably a symptom of the same issue, just sooner up the chain)

For me, I just run elm live in a loop and it


dump config on -v

Since the recent change in click context initialization we are not showing the path to the config file any more nor dumping the config.
@untitaker Could you perhaps have a look at this?

Thank you, @untitaker !


Add French wordlist

This PR adds the French wordlist, now that it has been fixed.

Thanks!
Tested, and wordlist CRC verified.


How to speedup the running?

I'm trying to reproduce the results: WRN28-10 pre-trained. But it runs very slowly, I ran it for 7 days but it only reaches dp-epsilon: 1.2. I can't imagine how much time it'd take to reach dp-epsilon 8.
I'm using an NVIDIA Tesla V100 32GB. And the config file I used is the default one on GitHub.
Is it supposed to take this long for it to run? Or is there a way to speed this up?

Hi, this experiment is indeed expected to take a long time, because the hyper-parameters were optimized for pure accuracy regardless of a potential computational trade-off.
With that said, your running times do seem a few times longer than expected. Some suggestions:

We ran our experiment on different hardware, so it may be that a larger batch_size.per_device_per_step can fit in memory on your GPU, which could increase the number of samples processed per second -- overall it's probably worth trying to tune that number to optimize the throughput on your specific device.
Check that the GPU utilization is high during training, to ensure in particular that the pipeline is not bottlenecked by data loading.
If the experiment remains too long, it is possible to trade-off some compute cost for accuracy, by e.g. reducing the number of augmentations set by augmult: in this fine-tuning setting, it is quite likely that the returns are somewhat small. This would not perfectly reproduce our results, but the resulting accuracy should remain somewhat close.


Add picklist values & formulas to SObjects fields

First of all, thanks for this excellent tool, Scott!
Is it possible to also include if a field is a picklist or a formula, then fetch the related picklist values and the formulas contained inside? That would be immensely helpful to see at first glance, like a data dictionary or how Salesforce Inspector works when you hover over a field to see the details in it
For example:

Hi, @dinhphieu. I'm glad you're finding IcApexDoc useful! Thanks for the enhancement suggestion. That's actually something I already do now in Illuminated Cloud 2 (IC2), displaying pretty much all of the available metadata for SObject fields in the derived documentation, e.g.:

IC2 has the benefit of the full metadata for those fields from the org whereas IcApexDoc only has what's available in the local *.object and *.object-meta.xml/*.field-meta.xml files, but the interesting stuff should be in those files already anyway. I'll look into enhancing the SObject/field metadata that gets rendered into doc.
And I really need to move this project to open source as promised...all those other distractions seem to have gotten in the way!

Great to hear, @SCWells72
Do you have an ETA for when this project will be open-sourced or when this feature will be delivered? I would love to help regarding this part!

@dinhphieu I can't really give a concrete estimate on either, but I think that this enhancement request is likely to happen first. With the holiday season coming it, it may be a few weeks, but I'm hoping I can work in a new build of IcApexDoc with this and a few other small things before the New Year. As for open sourcing the project, I'd planned to have that done by now, so shame on me for not getting to it. That requires a bit more legwork, though, so I think I'll probably focus on that just after the New Year and try to get it out there for people to look at/help with as early in 2024 as possible.


Disable color on logs

https://github.com/AcalaNetwork/Acala/pull/1252#issuecomment-886025296
Needs to disable color so they are readable as plain text

done


Add WebEx, Mailing List, Meeting Notices and FINOS Antitrust Policy Slide to GitHub Agenda Template

Description
This pull request adds the following items to the DevOps Mutualization meeting agenda template ...

Webex details for meetings scheduled the 3rd Thursday of each month from Thursday 21st January 2021 @ 12pm ET / 5pm GMT onwards
How to subscribe to the DevOps Mutualization mailing list
FINOS meeting notices cc @aitana16
FINOS antitrust policy slide cc @aitana16

Template Additions
FINOS Meeting Notices
## Meeting notices
- FINOS **Project leads** are responsible for observing the FINOS guidelines for [running project meetings](https://github.com/finos/community/blob/master/governance/Meeting-Procedures.md#run-the-meeting). Project maintainers can find additional resources in the [FINOS Maintainers Cheatsheet](https://odp.finos.org/docs/finos-maintainers-cheatsheet/).

- **All participants** in FINOS project meetings are subject to the [LF Antitrust Policy](https://www.linuxfoundation.org/antitrust-policy/), the [FINOS Community Code of Conduct](https://github.com/finos/community/blob/master/governance/Code-of-Conduct.md) and all other [FINOS policies](https://github.com/finos/community/tree/master/governance#policies).

- FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

- FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

FINOS Antitrust Policy Slide
- [ ] Display [FINOS Antitrust Policy summary slide](https://github.com/finos/community/blob/master/governance/Compliance-Slides/Antitrust-Compliance-Slide.pdf)

DevOps Mutualization Webex and Mailing List Details
### WebEx info
**Webex:**
https://finos.webex.com/finos/j.php?MTID=md62056638ba05fbea86b9582df94f807

### Dial-in
- **US** +1-415-655-0003 US Toll
- **UK** +44-20319-88141 UK Toll
- **Access code:**<PHONE_NUMBER>

**Github Repo:** https://github.com/finos/devops-mutualization/

**Mailing List:** Email<EMAIL_ADDRESS>to subscribe to our mailing list

Commits

add webex and mailing list details to meeting.md f3ed4d5
add FINOS meeting notices 00c5089
add FINOS policy slide to agenda f368f3e
Merge branch 'master' into add-webex-details 2c2bc77

Webex details

did we decide webex over zoom?

did we decide webex over zoom?

Hi @jbjonesjr - Zoom is definitely on the FINOS and LF roadmap, but the details of how project and SIG calls are scheduled and maintained are still being ironed out. We were actually talking this through as you raised this comment 😁
Once Zoom's in place, I'll bring it to the SIG to discuss and agree before changing the details.
I hope this works?
James.

LGTM

PR merged on back of @ashukla13 approval.

@mcleo-d makes perfect sense!