Copy-Webpack-Plugin can not work?

there is my config
import path from 'path'
import CopyWebpackPlugin from 'copy-webpack-plugin'

export default {
build: {
 extend(config, ctx) {
      config.plugins.push(
        new CopyWebpackPlugin([
          {
            from: 'node_modules/mavon-editor/dist/highlightjs',
            to: path.join(__dirname, 'static/plugins/highlightjs/')
          }
        ])
      )

      return config
    }
 }
}

This question is available on Nuxt community (#c9883)

same issue fo me.. any updates?

Place your config above the extend section in a plugins section. That works fine!

Same here. I already tried to move it above extend section. It doesn't work. I use node 10.17.0 and nuxt 2.11.0

Hope this helps someone
import path from 'path'
const CopyPlugin = require('copy-webpack-plugin');

export default {
 build: {
        plugins: [
            new CopyPlugin({
                patterns: [
                    {
                        from: 'src/app',
                        to: path.join(__dirname, 'app/')
                    },
                ],
            })
        ],
    },
}

For anyone else encountering something similar:
I was attempting to copy a few node_modules packages for asynchronous fetching into the output folder, based on this tutorial: http://insightsoftwareconsortium.github.io/itk-js/examples/webpack.html
My first attempt looked like this:
build: {
    plugins: [
      new CopyPlugin({
        patterns: [
          {
            from: path.join(__dirname, 'node_modules', 'itk', 'WebWorkers'),
            to: path.join(__dirname, 'itk', 'WebWorkers'),
          },
          {
            from: path.join(__dirname, 'node_modules', 'itk', 'ImageIOs'),
            to: path.join(__dirname, 'itk', 'ImageIOs'),
          },
          {
            from: path.join(__dirname, 'node_modules', 'itk', 'PolyDataIOs'),
            to: path.join(__dirname, 'itk', 'PolyDataIOs'),
          },
          {
            from: path.join(__dirname, 'node_modules', 'itk', 'MeshIOs'),
            to: path.join(__dirname, 'itk', 'MeshIOs'),
          },
        ],
      }),
    ],
    extend(config, { _isDev, _isClient }) {
      vtkRules.webpack.core.rules.forEach(rule => {
        config.module.rules.push(rule);
      });

      config.module.rules.push({
        test: /\.worker\.js$/,
        use: {
          loader: 'worker-loader',
          options: {
            inline: false,
          },
        },
      });

      config.resolve.alias['./itkConfig$'] = path.resolve(
        __dirname,
        'utility',
        'customWebpackConfig',
        `itkConfigOverride.${process.env.NODE_ENV}.js`,
      );
    },
  },

The referenced environment-based config file is, for example:
const itkConfig = {
  itkModulesPath: 'http://localhost:3000/itk',
};
export default itkConfig;

I integrated this in a previous app based on vue-cli, and everything worked fine. The files just disappeared in the nuxt environment and it was quite hard to find out what happened and even if copy-webpack-plugin ran at all. Moving it between extend or plugins did not seem to have any impact, and webpack bundle analyzer or debug output provided no clues.
Eventually discovered that the issue was __dirname. Nuxt has some weird ideas on what that should be apparently. If I removed it from the 'to' property but not the 'from', like so:
patterns: [
          {
            from: path.join(__dirname, 'node_modules', 'itk', 'WebWorkers'),
            to: path.join('itk', 'WebWorkers'),
          },

The files got correctly copied to the _nuxt folder. I also had to change the alias config to take the _nuxt folder into account:
const itkConfig = {
  itkModulesPath: 'http://localhost:3000/_nuxt/itk',
};
export default itkConfig;

Very specific case, but I hope it helps someone out down the line!

I tried and below are some tips.

Webpack version of nuxt is 4 so copy-webpack-plugin also need to be 4.6.0.
 build: {   plugins: [     new CopyPlugin([ // array required         {           from: '',           to: path.join(__dirname, '')         }       ]     )   ] }


How to manually create TypeAdapter for class with another class inside?

Is your feature request related to a problem? Please describe.
I have a class like this:
class Orgs {
final String organizationId;
final User user;
}

I've already manually create a TypeAdapter for User. However, how can I create TypeAdapter for Orgs? Because the BinaryWriter don't have any method to write a custom object except primitive type or list.
Describe the solution you'd like
I would like to be able to manually create TypeAdapter for class with class inside.
Version

Platform: Android
Flutter version: 1.9.1 hotfix 4
Hive version: ^1.0.0

You are not right, hive working perfect with custom types instead of primitives. Check generated files for Orgs, or create it, and register adapters, good luck =)

@Renesanse Oh, really? I haven't try generated files yet because I create it manually. However in BinaryWriter I don't see any method to write for TypeAdapter-compatible object (in my case is User). Could you tell me that method?

You need to follow the docs and generate a TypeAdapter. There is no method to write objects since each object consists of primitives and other objects.
Hive writes all the fields individually. Take a look at the generated TypeAdapter.

working fine
@HiveType()
class Source {
  @HiveField(0)
  final String id;
  @HiveField(1)
  final String name;

@HiveType()
class Article {
  @HiveField(0)
  final Source source;
  @HiveField(1)

What if the class belongs to an external package/library,
how do i make a type adapter for that e.g the Source class in the example you gave. I was thinking inheritance but that doesn't work

I'm working on support for inheritance. You can already create a custom TypeAdapter.

Hello, how can I register a TypeAdapter for an external class that belong to a flutter package?
Example:  I have a image_picker_web package, and I use the MediaInfo as data type, how can I register MediaInfo?

Hello, how can I register a TypeAdapter for an external class that belong to a flutter package?
Example: I have a image_picker_web package, and I use the MediaInfo as data type, how can I register MediaInfo?

Im also wondering the same thing. Need an adapter for GeoPoint

Hello, how can I register a TypeAdapter for an external class that belong to a flutter package?
Example: I have a image_picker_web package, and I use the MediaInfo as data type, how can I register MediaInfo?

Up

Hello, how can I register a TypeAdapter for an external class that belong to a flutter package?
Example: I have a image_picker_web package, and I use the MediaInfo as data type, how can I register MediaInfo?

Yes! You can create TypeAdapter for any class you want! (You will need to write serialization part yourself but It's actually very easy). For example here's a type adapter from our internal code:
import 'package:hive/hive.dart';
import 'package:json_annotation/json_annotation.dart';
import 'package:flutter_google_maps/flutter_google_maps.dart';

/// Used for stores geographic location
class GeoCoordinate {
  const GeoCoordinate(this.x, this.y);

  /// [GeoCoordinate] with (0, 0) value
  static const GeoCoordinate zero = const GeoCoordinate(0, 0);

  /// Latitude
  final double x;

  /// Longitude
  final double y;

  @override
  String toString() => '$x,$y';

  GeoCoord toGoogleMapsUnit() => GeoCoord(x, y);

  /// Parse coordinates from [source]. Throws [FormatException] if passed
  /// [source] value is invalid. You can use [tryParse] if you don't want
  /// to catch exception.
  factory GeoCoordinate.parse(String source) {
    if (source == null) {
      return null;
    }
    List<double> parts = source.split(',').map(double.parse).toList();
    if (parts.length != 2) {
      throw FormatException('Invalid value supplied for parsing coordinate.');
    }
    return GeoCoordinate(parts[0], parts[1]);
  }

  /// Parses coordinates from [source]. Returns null if parsing failed.
  static GeoCoordinate tryParse(String source) {
    try {
      return GeoCoordinate.parse(source);
    } on FormatException catch (_) {
      return null;
    }
  }

  factory GeoCoordinate.fromJson(dynamic json) {
    if (json is List) {
      return GeoCoordinate(json[0], json[1]);
    } else if (json is Map) {
      return GeoCoordinate(json['lat'], json['lng']);
    } else if (json is String) {
      return GeoCoordinate.parse(json);
    } else {
      throw FormatException(
          'Unable to convert ${json.runtimeType.toString()} to GeoCoordinate.');
    }
  }
}

class GeoCoordinateConverter implements JsonConverter<GeoCoordinate, String> {
  const GeoCoordinateConverter();

  @override
  GeoCoordinate fromJson(String json) => GeoCoordinate.parse(json);

  @override
  String toJson(GeoCoordinate object) => object.toString();
}

class GeoCoordinateAdapter extends TypeAdapter<GeoCoordinate> {
  @override
  final int typeId = 1;

  @override
  GeoCoordinate read(BinaryReader reader) {
    var x = reader.readDouble();
    var y = reader.readDouble();
    return GeoCoordinate(x, y);
  }

  @override
  void write(BinaryWriter writer, GeoCoordinate obj) {
    writer.writeDouble(obj.x);
    writer.writeDouble(obj.y);
  }

  @override
  int get hashCode => typeId.hashCode;

  @override
  bool operator ==(Object other) =>
      identical(this, other) ||
      other is GeoCoordinateAdapter &&
          runtimeType == other.runtimeType &&
          typeId == other.typeId;
}

@TheMisir Hi, sorry if this is annoying.. I'm trying to store a Delta class object in Hive, which has an Operation class object as one of it's attributes.. I have no idea how to manually generate their TypeAdapters.. Any help would be greatly appreciated :)
Delta class:
https://github.com/singerdmx/flutter-quill/blob/08412c167a85310293df854be1a1c4d51bf0e9b2/lib/models/quill_delta.dart#L182
Operation class:
https://github.com/singerdmx/flutter-quill/blob/08412c167a85310293df854be1a1c4d51bf0e9b2/lib/models/quill_delta.dart#L24

https://github.com/singerdmx/flutter-quill/blob/08412c167a85310293df854be1a1c4d51bf0e9b2/lib/models/quill_delta.dart#L24

The easiest way would be extracting data into JSON then saving it. Check out quill docs' Input & Output section to learn more about JSON I/O.

@TheMisir Hi, sorry if this is annoying.. I'm trying to store a Delta class object in Hive, which has an Operation class object as one of it's attributes.. I have no idea how to manually generate their TypeAdapters.. Any help would be greatly appreciated :)
Delta class:
https://github.com/singerdmx/flutter-quill/blob/08412c167a85310293df854be1a1c4d51bf0e9b2/lib/models/quill_delta.dart#L182
Operation class:
https://github.com/singerdmx/flutter-quill/blob/08412c167a85310293df854be1a1c4d51bf0e9b2/lib/models/quill_delta.dart#L24
Edit:
To be more clear, I'm trying to store Delta in my hivebox, but it says "HiveError: Cannot write, unknown type: Delta. Did you forget to register an adapter?"

The easiest way would be extracting data into JSON then saving it. Check out quill docs' Input & Output section to learn more about JSON I/O.

@TheMisir I totally agree, but I have a use-case where I'd rather have it in a Db, but yeah.. Until this inheritance thing makes its way into this package, I guess I'll have to make do with JSON.. If you do know how to accomplish what I originally asked, please help out.. Thanks :)

@TheMisir I totally agree, but I have a use-case where I'd rather have it in a Db, but yeah.. Until this inheritance thing makes its way into this package, I guess I'll have to make do with JSON.. If you do know how to accomplish what I originally asked, please help out.. Thanks :)

You have to write custom adapters for unsupported types and register it. Check "create adapter manually" section for more info on that.


feat: Design a system for creating rich data models.

Answers the "how" part on #5. The doing part of that issue is a much larger task. This will set the base by creating a library first.
As of posting this is only contains benchmarks on various methods of doing this sort of thing, and not the concrete implementation we want. The lazy prototype + assign this.* method seems the most promising, as in most situations it performs better, and it also is something we can very easily programmatically generate (runtime, or even compile custom files at build time).
I'll update once there's something more concrete.

So the basics of model are implemented. I guess it's time to start actually building our structures and see how usability goes. I suspect a lot of issues and required features will show up during this.

New questions:

How should the rest client function in this? global variable? Some kind
I don't think the current setup allows for jsdocs, because of the method chaining. But an object approach makes it hard to create recursive things such as User.hypesquadHouse depending on User.flags which is a custom getter that depends on APIUser.flags
I am already getting a lot of edge-cases with the dependency array, such as flags only requires one of the raw.public_flags or raw.flags

i think i'm going to not use this approach and instead just manually build the structures using classes/prototypes + types. too many edge cases unfortunatly. keeping PR opened so i can refer to any code for the time being


Spanish translation

I've just finished reading this book and found it very interesting and clear (thanks!). I would love to see a Spanish translation.

I should be able to find some time to contribute (is it already started by anyone?)

No, everything we have is stored in the git repository and I can't see any Spanish there!

OK, I'll get it started then!


 Sometimes, appearing as either

doubled, e.g. ttribute attribute
or
alone, e.g. ttribute

Examples with context:

You use the ttribute class to [...]
The ttribute attribute lets [...]

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

ID: 71654f5f-8c0e-87c9-8b8c-ad17f578d427
Version Independent ID: ab6d5a69-3cbc-fcf7-10f2-6e2deb1ed30c
Content: DataType Enum (System.ComponentModel.DataAnnotations)
Content Source: xml/System.ComponentModel.DataAnnotations/DataType.xml
Product: dotnet-api
GitHub Login: @dotnet-bot
Microsoft Alias: riande

Thanks @Structed. I've opened https://github.com/dotnet/dotnet-api-docs/pull/673 to fix this.

Actually, I changed my PR to fix a similar issue on different classes and @mikkelbu created https://github.com/dotnet/dotnet-api-docs/pull/674 to fix this one.


Alternative assisted authentication

Hello,
It is not always convenient to remember and enter user credentials (login/password) to login jabber account. It would be great to implement whatsapp-like login procedure which could be implemented as the following:

There is active and authenticated session opened by smartphone application. (master session)
An user wants to open new session using kaiwa web application. (slave session)
Instead of using user credentials, the server issues unique hash valid for this particular slave session and sends it through slave session to the web client. Then the hash is rendered as QR-code.
The user scans the hash QR-code using smartphone application, then the application sends the hash back to the server using its master session.
The server looks for the slave session the hash has been issued for.
The slave session (web client session) becomes authenticated as the master one.
???
PROFIT

Is there an appropriate XEP for this? Will step 3/5 work in current standard servers?

Unfortunately, I am not an XEP expert, but I doubt that there is one.

It will not be difficult to authenticate "slave" apps when oauth module for ejabberd will be available, but we also need "whatsapp-like" "master-slave" state replication - contacts, history, active chats, etc., and there is much more work to do (there is no good replication protocol for XMPP)

But, contacts are stored on the server, history is stored in MAM, so we don't need to replicate them between the clients, but between the client and the server, and the other client and the same server.

MAM have many problems at least in current version

Is that a problem of concrete MAM implementation or of the MAM mechanism itself?

MAM XEP itself


Add support for user-defined Fairness measures and user-defined Losses

Summary of the backward compatible changes:

Added support for user-defined Losses by refactoring the way losses are handled. A base class called FairnessLoss that takes a torch loss as an argument has been created. Added a wrapper for CrossEntropyLoss for backward compatibility.
Added support for user-defined Fairness measures that inherit the FairnessMeasure base class.
Added basic unittesting for the different fairness functions.

Summary of the non-backward compatible changes:

Removed the support for the mode parameter in the forward function.

Bug fix:

Fixed a bug in Accuracy Parity (in the method init_C) when the number of classes was higher than 2.

Hey! This is really good. I like the abstraction. However, before merging I have following comments:

Mode Parameter Support: We need some form of mechanism to signal the cross entropy loss not to update fairness weights while training. This is because we use the same loss function for train and test split. If there does not exists such mechanism, we will also update the fairness weights while testing.  One could also accomplish the same by defining two loss function. However, I think this increases the cognitive load and has a potential for hard to figure out bugs. Let me know, if I misunderstood something here.

Split cross entropy file: I would suggest to split the cross_entropy.py file into two files. One which exclusively defines fairness loss and another which defines cross entropy loss.

Okay, I added the Mode Parameter Support back as it would indeed be a problem to update the wait in validation/test steps. To keep it backward compatible, the default is "train".


webui: empty values lead to faulty 'default.nix'

Passing empty or null values through JSON to default.nix can result in a faulty configuration:

 default.nix
{
  pkgs,
  config,
  inputs,
  lib,
  ...
}: {
  homestakeros = {
    addons = {
      mev-boost = {
        enable = false;
        endpoint = "http://<IP_ADDRESS>:18550";
      };
    };
    consensus = {
      lighthouse = {
        dataDir = "/var/mnt/lighthouse";
        enable = false;
        endpoint = "http://<IP_ADDRESS>:5052";
        execEndpoint = "";
        jwtSecretFile = "";
        slasher = {
          enable = false;
          historyLength = 4096;
          maxDatabaseSize = 256;
        };
      };
    };
    execution = {
      erigon = {
        dataDir = "/var/mnt/erigon";
        enable = true;
        endpoint = "http://<IP_ADDRESS>:8551";
        jwtSecretFile = "";
      };
    };
    localization = {
      hostname = "foo";
      timezone = "";
    };
    mounts = {};
    ssh = {
      authorizedKeys = [];
      privateKeyFile = "";
    };
    vpn = {
      wireguard = {
        configFile = "";
        enable = false;
        interfaceName = "wg0";
      };
    };
  };
}

Options with empty or null values should be removed from the JSON since they can produce the following types of errors, even if building is possible without setting the ssh.privateKeyFile option:
[I] kari@torque ~/W/HomestakerOS (main) [SIGINT]> tail -f pipe | sh
tail: inotify resources exhausted
tail: inotify cannot be used, reverting to polling
warning: Git tree '/home/kari/Workspace/HomestakerOS' is dirty
error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'kexec-tree'
         whose name attribute is located at /nix/store/s4jqyj35hii03rs7j5n6vn7gpgp6ja81-source/pkgs/stdenv/generic/make-derivation.nix:300:7

       … while evaluating attribute 'buildCommand' of derivation 'kexec-tree'

         at /nix/store/s4jqyj35hii03rs7j5n6vn7gpgp6ja81-source/pkgs/build-support/trivial-builders/default.nix:87:14:

           86|       enableParallelBuilding = true;
           87|       inherit buildCommand name;
             |              ^
           88|       passAsFile = [ "buildCommand" ]

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: A definition for option `homestakeros.ssh.privateKeyFile' is not of type `null or path'. Definition values:
       - In `/nix/store/8kfdf8sl274jqd3x7n223axv8wg7vpxy-source/nixosConfigurations/foo': ""

Actually, I think that null values are still OK to evaluate and could even have a purpose in the future, but they need to actually be 'null'.. not an empty string.

Should all empty values be left out? Or just ones with the nullOr type?

So nullOr-types should be set to null if they don't have a value? Does the same apply to other types?

Yes, nullOr types can be set to actual null. If the type has not nullOr in it and value is empty, it should be removed from the JSON altogether so it does not evaluate in the default.nix.

In Nix, an empty string does not count as null. There is also a possibility that some conversion process between the front and back end will evaluate the null values as empty strings, but that is something I will handle if it happens.

Closed by #12.


Floats are indeed signed.

Also see correct results in: https://github.com/MicrosoftDocs/cpp-docs/blob/master/docs/standard-library/is-unsigned-class.md

@fodinabor : Thanks for your contribution! The author, @, has been notified to review your proposed change.


Add KashCorpSA

Shared assets for KashCrop - KAP and RoversAndRoadsters depend on this.  Those metadata files have not yet been submitted, they will be added in a subsequent PR.  did this grab my pull instead?  How do I cancel?

Cancled - badly formed request


Update spec for master nodes high availability

For HA Masters. Closes https://github.com/giantswarm/giantswarm/issues/7901
Notable changes

For v5 cluster creation, the master property gets deprecated, to be replaced by the new master_nodes property. There will be a deprecation phase where the old form can still be used to create clusters with single master nodes.
For getting v5 cluster details, likewise the master property gets deprecated, eventually to be replaced by the new master_nodes property. During the deprecation phase, both properties will be served in case the cluster has only one master node.

We won't allow them settings the AZs on the API, is that intended? Guess it's due to the deprecation but feels strange to remove some functionality in one layer

We are not removing that functionality right away. And until the master property is being removed, we can decide if and how to transfer the AZ placement functionality to the new schema.

Change notice: Added the attribute master_nodes.num_ready in the cluster details response. This is a direct mapping of the G8sControlPlane CR attribute .status.readyReplicas.

Change notice: Added the high_availability attribute to the modifyClusterV5 request, to allow API users to switch a cluster from single to multiple master nodes.


OPCT-11 - fix/psa-warn: apply NS labels for PSA Level privileged

The goal of this PR is to provide the correct privileges to the namespace created to OPCT environment. The following warnings from PSA was introduced OCP 4.11:
# 4.11.24
$ KUBECONFIG=$PWD/.opct-41124/clusters/opct-41124/auth/kubeconfig oc logs sonobuoy -n openshift-provider-certification |grep 'would violate PodSecurity'
W0119 13:10:17.291197       1 warnings.go:70] would violate PodSecurity "restricted:latest":
allowPrivilegeEscalation != false (containers "report-progress", "plugin", "sonobuoy-worker" must set securityContext.allowPrivilegeEscalation=false),
unrestricted capabilities (containers "report-progress", "plugin", "sonobuoy-worker" must set securityContext.capabilities.drop=["ALL"]),
runAsNonRoot != true (pod or containers "report-progress", "plugin", "sonobuoy-worker" must set securityContext.runAsNonRoot=true),
seccompProfile (pod or containers "report-progress", "plugin", "sonobuoy-worker" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
(+3)

# 4.12.0
$ grep 'would violate PodSecurity' .opct-4120/clusters/opct-4120-2023011901/opct/results/podlogs/openshift-provider-certification/sonobuoy/logs/kube-sonobuoy.txt
W0118 22:47:37.672610       1 warnings.go:70] would violate PodSecurity "restricted:latest":
allowPrivilegeEscalation != false (containers "report-progress", "plugin", "sonobuoy-worker" must set securityContext.allowPrivilegeEscalation=false),
unrestricted capabilities (containers "report-progress", "plugin", "sonobuoy-worker" must set securityContext.capabilities.drop=["ALL"]),
runAsNonRoot != true (pod or containers "report-progress", "plugin", "sonobuoy-worker" must set securityContext.runAsNonRoot=true),
seccompProfile (pod or containers "report-progress", "plugin", "sonobuoy-worker" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")

Related cards:

https://issues.redhat.com/browse/OPCT-11 (related but not resolve completely)
https://issues.redhat.com/browse/OPCT-31 (upstream)

Tested on cluster versions:

[ ]  4.10
[ ]  4.11
[ ]  4.12

/assign @rvanderp3

/lgtm

/approve


HDDS-6245. Add BucketLayout logging to Audit Logs

What changes were proposed in this pull request?
We should log the bucket layout for important OM requests, this will help in debugging failures + behavior regressions which might be caused due to layout-related reasons.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6245
How was this patch tested?
NA

Thanks @JyotinderSingh for the patch, @ayushtkn for the review.


check kernel8.img in /boot/firmware

related: https://github.com/raspiblitz/raspiblitz/issues/4346
https://github.com/raspiblitz/raspiblitz/issues/4505

cherry-picked rto v1.11


appdirs not found

Gmusic is not started. Mopidy repors the following error:
Validating extension: gmusic
INFO     2014-09-07 21:31:53,415 [4203:MainThread] mopidy.ext
Disabled extension gmusic: Dependency appdirs>=1.1.0 not found
If i try to reinstall mopidy gmusic pip reports that the package is there:
Requirement already satisfied (use --upgrade to upgrade): appdirs>=1.1.0 in /usr/local/lib/python2.7/dist-packages (from gmusicapi)
On the filesystem i found the package:
ls /usr/local/lib/python2.7/dist-packages/appdirs
appdirs-1.4.0.dist-info/ appdirs.py
Is there a problem with my installation or is my version of appdirs to high?

Me too. Someone else fix or patch this issue?

I'm having this same issue, and I've found that this gets me past the appdirs error, but I'm still unsure how to solve the error referencing protobuf:
pip install appdirs
pip install mock
pip install oauth2client
pip install proboscis
pip install python-dateutil
When I try to install protobuf, I get the following error
"Can't find required file ../src/google/protobuf/unittest.proto"
Hope this gets you farther

I realized that installing the packages with easy_install resolve the issue.
2015-04-30 21:09:56,557 INFO [2325:MainThread] mopidy.__main__: Starting Mopidy 1.0.3
2015-04-30 21:09:56,827 INFO [2325:MainThread] mopidy.config: Loading config from builtin defaults
2015-04-30 21:09:56,867 INFO [2325:MainThread] mopidy.config: Loading config from /usr/share/mopidy/conf.d/spotify.conf
2015-04-30 21:09:56,872 INFO [2325:MainThread] mopidy.config: Loading config from /etc/mopidy/mopidy.conf
2015-04-30 21:09:56,893 INFO [2325:MainThread] mopidy.config: Loading config from command line options
2015-04-30 21:09:57,411 INFO [2325:MainThread] mopidy.__main__: Enabled extensions: mpd, http, stream, m3u, softwaremixer, local
2015-04-30 21:09:57,414 INFO [2325:MainThread] mopidy.__main__: Disabled extensions: spotify, gmusic
2015-04-30 21:09:57,417 WARNING [2325:MainThread] mopidy.__main__: Found gmusic configuration errors, the extension has been automatically disabled:
2015-04-30 21:09:57,420 WARNING [2325:MainThread] mopidy.__main__:   gmusic/username must be set.
2015-04-30 21:09:57,422 WARNING [2325:MainThread] mopidy.__main__:   gmusic/password must be set.
2015-04-30 21:09:57,425 WARNING [2325:MainThread] mopidy.__main__: Found spotify configuration errors, the extension has been automatically disabled:
2015-04-30 21:09:57,428 WARNING [2325:MainThread] mopidy.__main__:   spotify/username must be set.
2015-04-30 21:09:57,431 WARNING [2325:MainThread] mopidy.__main__:   spotify/password must be set.
2015-04-30 21:09:57,434 WARNING [2325:MainThread] mopidy.__main__: Please fix the extension configuration errors or disable the extensions to silence these messages.
2015-04-30 21:09:58,275 INFO [2325:MainThread] mopidy.commands: Starting Mopidy mixer: SoftwareMixer
2015-04-30 21:09:58,293 INFO [2325:MainThread] mopidy.commands: Starting Mopidy audio
2015-04-30 21:09:58,335 INFO [2325:MainThread] mopidy.commands: Starting Mopidy backends: StreamBackend, M3UBackend, LocalBackend
2015-04-30 21:09:58,459 INFO [2325:MainThread] mopidy.m3u.playlists: Loaded 0 M3U playlists from /var/lib/mopidy/playlists
2015-04-30 21:09:58,516 INFO [2325:MainThread] mopidy.local.json: No local library metadata cache found at /var/lib/mopidy/local/library.json.gz. Please run `mopidy local scan` to index your local music library. If you do not have a local music collection, you can disable the local backend to hide this message.
2015-04-30 21:09:58,525 INFO [2325:MainThread] mopidy.local.library: Loaded 0 local tracks using json
2015-04-30 21:09:58,539 INFO [2325:Audio-2] mopidy.audio.actor: Audio output set to "autoaudiosink"
2015-04-30 21:09:58,600 INFO [2325:MainThread] mopidy.commands: Starting Mopidy core
2015-04-30 21:09:58,853 INFO [2325:MainThread] mopidy.commands: Starting Mopidy frontends: MpdFrontend, HttpFrontend
2015-04-30 21:09:58,973 INFO [2325:MainThread] mopidy.mpd.actor: MPD server running at [::ffff:<IP_ADDRESS>]:6600
2015-04-30 21:09:59,009 INFO [2325:HttpFrontend-9] mopidy.http.actor: HTTP server running at [::ffff:<IP_ADDRESS>]:6680

I hope this helps.

 Wow, I'm glad I stayed at my computer just a little bit longer and kept refreshing this page. It didn't quite click why there are differences, but I just ran "easy_install mopidy-gmusic" and it installed the gmusicapi package just fine this time. It doesnt get and error on the protobuf install for some reason, unlike using "pip install". Weird. Thank you very much.

There has been several gmusicapi releases since the last comment here, so hopefully this is no longer an issue.


DataGrid: Fix docs discrepancies and add new examples.

Added a new example for Virtualization.
Added a new example for Observability.

Description

How Has This Been Tested?

Types of changes

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

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

Thanks TJ


Fix IdlePool option

The zero value was not the same as in the stdlib and could cause
perfs issues. This will now not call SetMaxIdleConns when IdlePool
is set to the zero value.
Fixes #376

Not sure why that test is failing like that... is weird.


[1.12] Fix bug in Pos3D due to mappings update

https://github.com/aidancbrady/Mekanism/blob/1.12/src/main/java/mekanism/api/Pos3D.java#L140
The mappings update caused Pos3D.translate(double, double, double) to return bogus values.
The commit in which the mappings were updated is a13ce7910dff40578174b1f5a395ef72dea4f88f
@thommy101 probably forgot to add "this." because the previous fieldnames didn't need them.
This causes bugs down the line like the Laser not firing due to it thinking it's firing from x: 1 y: 1 z: 1.

thanks!

Thanks for spotting those!  Looked though the commits, I only fixed Coord4D. Thanks again ;)


tf_debug incompatibility with importlib (Python 3.6)

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): 1.7.0
Python version: Python 3.6
Exact command to reproduce:
Bazel version: N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A

Describe the problem
When using tf_debug with a class that is dynamically imported using importlib, Tensorflow throws an exception since it is unable to determine if the dynamically imported library is either a compiled/uncompiled python file. This is due to how importlib handles imports, as a class imported using that library does not have a proper file_path, as seen in this function (Line 42 of source_utils.py). I believe it does this because it is trying to find the lines of the file which the traceback mentions, but is unable to find them.
Source code / logs
229 ops no flops stats due to incomplete shapes.
Traceback (most recent call last):
  File "C:\Users\Matt\PycharmProjects\Saltie\bot_code\models\base_model.py", line 308, in _initialize_variables
    self.sess.run(init, run_metadata=run_metadata)
  File "C:\Users\Matt\PycharmProjects\venvs\Saltie-3.6\lib\site-packages\tensorflow\python\debug\wrappers\grpc_wrapper.py", line 225, in run
    self._sent_graph_version)
  File "C:\Users\Matt\PycharmProjects\venvs\Saltie-3.6\lib\site-packages\tensorflow\python\debug\wrappers\grpc_wrapper.py", line 61, in publish_traceback
    send_source=True)
  File "C:\Users\Matt\PycharmProjects\venvs\Saltie-3.6\lib\site-packages\tensorflow\python\debug\lib\source_remote.py", line 192, in send_graph_tracebacks
    graph=graph, send_source=send_source)
  File "C:\Users\Matt\PycharmProjects\venvs\Saltie-3.6\lib\site-packages\tensorflow\python\debug\lib\source_remote.py", line 154, in _send_call_tracebacks
    call_traceback.graph_traceback.id_to_string))
  File "C:\Users\Matt\PycharmProjects\venvs\Saltie-3.6\lib\site-packages\tensorflow\python\debug\lib\source_remote.py", line 94, in <genexpr>
    if not source_utils.guess_is_tensorflow_py_library(f) and gfile.Exists(f))
  File "C:\Users\Matt\PycharmProjects\venvs\Saltie-3.6\lib\site-packages\tensorflow\python\debug\lib\source_utils.py", line 76, in guess_is_tensorflow_py_library
    "Input file path (%s) is not a Python source file." % py_file_path)
ValueError: Input file path (<frozen importlib._bootstrap>) is not a Python source file.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Bazel version
CUDA/cuDNN version
GPU model and memory

It has been 15 days with no activity and the awaiting response label was assigned. Is this still an issue?

Yes

@asimshankar Will do.

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!
(@Sciguymjm : If you have a reproducible example, please do let us know by updating this thread and I'll re-open it and welcome contributions. Thanks)

https://gist.github.com/johndpope/976c00fd6f4b70ab56368e6d32ef1eda
uncomment
sess = tf_debug.TensorBoardDebugWrapperSession(sess, 'localhost:6064')
to trigger error -
pip freeze
absl-py==0.2.2
appnope==0.1.0
asn1crypto==0.24.0
astor==0.6.2
backcall==0.1.0
bleach==1.5.0
bokeh==0.13.0
certifi==2018.4.16
cffi==1.11.5
chardet==3.0.4
cryptography==2.2.2
cycler==0.10.0
cymem==1.31.2
Cython==0.28.3
cytoolz==0.8.2
decorator==4.3.0
dill==<IP_ADDRESS>
entrypoints==0.2.3
ftfy==4.4.3
gast==0.2.0
graphviz==0.8.4
grpcio==1.12.1
h5py==2.8.0
html5lib==0.9999999
idna==2.7
ipykernel==4.8.2
ipython==6.4.0
ipython-genutils==0.2.0
ipywidgets==7.2.1
jedi==0.12.0
Jinja2==2.10
jsonschema==2.6.0
jupyter==1.0.0
jupyter-client==5.2.3
jupyter-console==5.2.0
jupyter-core==4.4.0
kiwisolver==1.0.1
Markdown==2.6.11
MarkupSafe==1.0
matplotlib==2.2.2
mistune==0.8.3
mkl-fft==1.0.0
mkl-random==1.0.1
msgpack-numpy==0.4.1
msgpack-python==0.4.8
murmurhash==0.28.0
nbconvert==5.3.1
nbformat==4.4.0
nltk==3.3
notebook==5.5.0
numpy==1.14.5
opencv-python==<IP_ADDRESS>
packaging==17.1
pandas==0.23.1
pandocfilters==1.4.2
parso==0.2.1
pathlib==1.0.1
pexpect==4.6.0
pickleshare==0.7.4
Pillow==5.2.0
plac==0.9.6
preshed==1.0.0
prompt-toolkit==1.0.15
protobuf==3.5.2
ptyprocess==0.6.0
pyarrow==0.9.0.post1
pycparser==2.18
Pygments==2.2.0
pyOpenSSL==18.0.0
pyparsing==2.2.0
PySocks==1.6.8
python-dateutil==2.7.3
pytz==2018.5
PyYAML==3.12
pyzmq==17.0.0
qtconsole==4.3.1
regex==2017.11.9
requests==2.19.1
scikit-learn==0.19.1
scipy==1.1.0
Send2Trash==1.5.0
simplegeneric==0.8.1
SimpleITK==1.1.0
six==1.11.0
spacy==2.0.11
tabulate==0.8.2
tensorboard==1.8.0
tensorflow==1.8.0
tensorpack==0.8.6
termcolor==1.1.0
terminado==0.8.1
testpath==0.3.1
tflearn==0.3.2
thinc==6.10.2
toolz==0.9.0
tornado==5.0.2
tqdm==4.23.4
traitlets==4.3.2
ujson==1.35
urllib3==1.23
wcwidth==0.1.7
webencodings==0.5.1
Werkzeug==0.14.1
wget==3.2
widgetsnbextension==3.2.1
wrapt==1.10.11

Just encountered this same issue. Any known workarounds?

And how does adding a comment "unassign asimshankar"?????

I have implemented a workaround for this issue. What happens is in the execution stack, that is found in the variable non_tf_files in the _source_file_paths_outside_tensorflow_py_library , depending on your environment, you have .
This causes the guess_is_tensorflow_py_library method to raise a ValueError. The workaround is to edit your /dist-packages/tensorflow/python/debug/lib/source_remote.py with the following change
Replace
non_tf_files = (id_to_string[file_id] for file_id in file_ids)

With
non_tf_files = (id_to_string[file_id] for file_id in file_ids)
non_tf_files = [x for x in non_tf_files if '<' not in x]

This simply removes the  from the stacktrace that tensorflow checks for.

non_tf_files = [x for x in non_tf_files if '<' not in x]

thanks, that suits for me


fix: Using datetime constants in filters

Correctly parses --filters to handle datetime constants or other string literals that could have embedded ':'
Closes 1255

/gcbrun

/gcbrun

/gcbrun


Rebase merge

@djdunning
This should resolve the merge issues.
You should look over it to make sure that it doesn't mess things up on your end, though.


fix #378, construct the serializer explicitly, instead of implicitly.

Before this fix, we don't know what config are is really used to initialize the KryoSerializer. As com.romix.akka.serialization.kryo.KryoSerializationExtension call GearpumpSerialization.custom() without passing any configuration as arguments.
After this fix, we will call GearpumpSerailization.custom(config)

Can someone review this?

+1

I'll get to it either later tonight or tomorrow morning.
Thanks


cmd/go: "go mod vendor: malfored file path: invalid char '|'"

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.11 darwin/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/moul/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/moul/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.11/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.11/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/moul/go/src/github.com/moul/test2-go-mod-malformed-path/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/v_/8mtm991n3wn4f688btpc0mbw0000gn/T/go-build185240075=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

create a repo with valid go files + non-go files containing | chars in filenames: https://github.com/moul/test-go-mod-malformed-path
create another repo that depends on the first one: https://github.com/moul/test2-go-mod-malformed-path
without go mod, you can go build
with go mod:$ go mod vendor
go: finding github.com/moul/test-go-mod-malformed-path latest
go: extracting github.com/moul/test-go-mod-malformed-path v0.0.0-20180912153824-5c1104fa0b94
-> unzip<EMAIL_ADDRESS>malformed file path "non-go-file-with-pipe|char.txt": invalid char '|'
go: no dependencies to vendor

What did you expect to see?
go mod vendor should success
What did you see instead?
go mod vendor failing with the above message

cc @bcmills


Cannot move files, C++ error

All the files are in the /bin/ folder it works fine for example i move /bin/ folder to c:\ it doesnt working giving Capture.InjectionFailedException: Injection to the target process failed. See InnerException for more detail. ---> System.ApplicationException: STATUS_INTERNAL_ERROR: Unknown error in injected C++ completion routine. (Code: 15)

What do you mean by "i move /bin/ folder to c:"? Do you mean you are moving the files from bin into C:\ or you are moving the files into C:\bin?
If moving into C:\ root then you will have issues with needing to run as administrator etc...

It doesn't matter where I move the files, I tried everything like moving files from /bin/ folder to /bin/test/ folder still giving error.

What was the problem in the end?

I have no idea, after upgrading windows 10 problem is solved :)


Add ImVec2/4 constructors from Python tuples, lists and numpy arrays

Add constructors from Python tuples, lists and numpy arrays to imgui.ImVec2 and imgui.ImVec4 for convenience.
Furthermore add a copy constructor for both types.
Lastly, use py::implicitly_convertible so that functions declared to, e.g., take a ImVec2 will also accept a tuple, list or array, without any modification to their signatures.

NB: this PR provides interop from tuple/list/np.array to ImVec2/ImVec4, not the other direction. That already makes the imgui interface much more convenient to use, as i do not have to explicitly type the imgui.ImVec2 constructor everywhere in my code.
The other direction can be reasonable easily supported as well by making ImVec2 and ImVec4 iterable, i.e., the following code would work:
a=imgui.ImVec2(3,4)
b=tuple(*a)

I'll provide that in a later PR if you like the current approach.
Further note that the copy constructor is important. I have been bitten by the following code pattern:
frame_padding = imgui.get_style().frame_padding
imgui.push_style_var(imgui.StyleVar_.item_spacing, imgui.ImVec2(0.,0.))
# now use frame_padding

When i try to use my original frame padding value, since its a ref, it has just been set to (0,0), not the original value. I thus need to make a copy myself. With this PR, this can now be conveniently done with imgui.ImVec2(imgui.get_style().frame_padding)

Woah, that is great!
It works perfectly, thank you! I just merged this, and will use it in the demos.
I added some more related modifications:

583083c (imvec_tuple_list_array_support) ImVec2 and ImVec4: add ImVecX in str and repr [Pascal Thomet]
The str of a ImVec2 now reads ImVec2(1.5, 3.4) which is clearer and informs the user that this object is mutable.

87aa5dd ADAPT_IMGUI_BUNDLE: add versions of InputFloat2|4 for ImVec2|4 (python only) [Pascal Thomet]
0a5f4f2 ADAPT_IMGUI_BUNDLE: add versions of ColorEdit and ColorPicker for ImVec4 (python only) [Pascal Thomet]
I added those convenience overloads which act on ImVec2 and ImVec4 (otherwise, you add to create a python list by hand before calling them). Warning: they modify the value inplace, but this is well documented.

d497e05 ADAPT_IMGUI_BUNDLE: imgui patch: add as_array() to ImVec2 and ImVec4 [Pascal Thomet]
convenience method if you want to convert an ImVec4 to a python list.

a9bb337 generator now output #ifdef et. al as comments [Pascal Thomet]
This makes the stub code clearer. Originally I added this because imgui.h trapped me with this:

struct ImVec2
{
    float x, y;
   ...
#ifdef IM_VEC2_CLASS_EXTRA
    IM_VEC2_CLASS_EXTRA
#endif
};

The ridiculously small missing ";" after IM_VEC2_CLASS_EXTRA (which is legal but not so reasonable) sent my generator to hell and I had to jump in a long debug session, where I added more preprocessor info.

bae83dc bindings: add compilation_time info [Pascal Thomet]
imgui_bundle.compilation_time() is helpful() to know whether you are using the correct version

2d92971 Add constructors from Python tuples, lists and numpy arrays to imgui.ImVec2 and imgui.ImVec4 for convenience. Furthermore add a copy constructor for both types. Lastly, use py::implicitly_convertible so that functions declared to, e.g., take a ImVec2 will also accept a tuple, list or array, without any modification to their signatures [Diederick Niehorster]
Your commit

Most welcome! I'm glad it turned out to be 1) possible and 2) simple. Got a bit lucky, had no idea.

d497e05 ADAPT_IMGUI_BUNDLE: imgui patch: add as_array() to ImVec2 and ImVec4 [Pascal Thomet]
convenience method if you want to convert an ImVec4 to a python list.

Hmm, I wonder if that is needed. I was just playing a bit with this, and adding two more member functions like so (this is Python, i'll send a patch for pybind side later instead):
    def __len__(self):
        return 2
    def __getitem__(self,index):
        if index==0:
            return self.x
        elif index==1:
            return self.y
        raise IndexError

to ImVec2 would make it iterable. So you can make an ImVec2 into a list like so:
a=imgui.ImVec2(1,2)
b=[*a]
# and you can also iterate over it
for p in a:
    print(p)

Thats saves you from the need to patch imgui itself, and is perhaps a bit more general?

The ridiculously small missing ";" after IM_VEC2_CLASS_EXTRA (which is legal but not so reasonable) sent my generator to hell and I had to jump in a long debug session, where I added more preprocessor info.

 The less you have to maintain yourself the better, and the less others get bitten also the better.

This is GPT Chat input about imgui.h (it was not very helpful, I had to give the solution)

d497e05 ADAPT_IMGUI_BUNDLE: imgui patch: add as_array() to ImVec2 and ImVec4 [Pascal Thomet]
convenience method if you want to convert an ImVec4 to a python list.

Hmm, I wonder if that is needed. I was just playing a bit with this, and adding two more member functions like so (this is Python, i'll send a patch for pybind side later instead):
    def __len__(self):
        return 2
    def __getitem__(self,index):
        if index==0:
            return self.x
        elif index==1:
            return self.y
        raise IndexError

to ImVec2 would make it iterable. So you can make an ImVec2 into a list like so:
a=imgui.ImVec2(1,2)
b=[*a]
# and you can also iterate over it
for p in a:
    print(p)

Right, I will revert this one

The ridiculously small missing ";" after IM_VEC2_CLASS_EXTRA (which is legal but not so reasonable) sent my generator to hell and I had to jump in a long debug session, where I added more preprocessor info.  The less you have to maintain yourself the better, and the less others get bitten also the better.

I will someday, by grouping the interestings patches from my fork. However @ocornut is quite overworked, and cannot react always react quickly to all of them PRs. I'll contact him directly about this library, this will be a good time

The ridiculously small missing ";" after IM_VEC2_CLASS_EXTRA (which is legal but not so reasonable) sent my generator to hell and I had to jump in a long debug session, where I added more preprocessor info.  The less you have to maintain yourself the better, and the less others get bitten also the better.

I will someday, by grouping the interestings patches from my fork. However @ocornut is quite overworked, and cannot react always react quickly to all of them PRs. I'll contact him directly about this library, this will be a good time

Fun to see chatGPT, glad you're more cogent though. its just associating.
Certainly would be good to do. The versions of some functions taking ImVecs directly may for instance also be interesting. I guess you could try to group them into trivial (adding the semicolon shouldn't cost him much to decide on) to requires more thinking.
I'll send the make ImVec2/4 iterable patch later tonight.

I'll send the make ImVec2/4 iterable patch later tonight.

Please see https://github.com/pthom/imgui_bundle/discussions/49


KDE5 test isn't enabled for nixpkgs-unstable

Issue description
I've tried to run KDE5. I've recently updated nixpkgs-unstable channel and got the following error:
building Nix...
building the system configuration...
error: attribute ‘phonon-backend-gstreamer’ missing, at /nix/store/m1dmjkbbqhq14jwk892pn0mn2q845hf7-nixos-16.09pre87618.2fa9bd5/nixos/nixpkgs/nixos/modules/services/x11/desktop-managers/kde5.nix:151:9
(use ‘--show-trace’ to show detailed location information)

Technical details

System: 16.09pre87618.2fa9bd5 (Flounder)

The bug has been fixed in 3dea00d. I don't know whether a test exists that should catch this.

Fixed in e5a79b0.


Move I/O Frontend Code

The site builds locally with a few bugs:
-when clicking on a category, the page breaks. However, the filtered page displays when you refresh.
-Codestream appears in the wrong place?
There is still some work that can be done to pull out unnecessary code.
Relates to https://github.com/newrelic/developer-website/issues/2003

Still need to figure out related resources

This should be merged after #7

Currently has an issue, the 404 page from the theme uses the GlobalHeader. So we will need to create a new 404 page for this site.


minor issues

use Dict from typing for typehints; Python 3.8 doesn't support this - dict[str, Any]
enable Python >=3.8 in setup.cfg
run tests from 3.8 - 3.10

actually made a mistake, the save-* functions don't return anything so the typehints sould be removed


[Searchable Snapshots] Implement mechanism to specify cache path (API/setting definition/moving cache)

Is your feature request related to a problem? Please describe.
The feature request is a part of the overall file caching requirements needed for searchable snapshots.
As an user of searchable snapshots, I should be able to define a custom path for the cache.
Refer to #4964 for further details.
Describe alternatives you've considered
N/A
Additional context

#4964

This issue need more discussion because it will be complex to implement cache moving.
The cache directory is created in this class createRemoteSnapshotDirectoryFromSnapshot
right now, we use same path of shard path for caching as per
https://github.com/opensearch-project/OpenSearch/blob/c95a6b952add0e60529eb87858214b0a5cfcd4cc/server/src/main/java/org/opensearch/index/store/remote/directory/RemoteSnapshotDirectoryFactory.java#L68-L76
so to make this configurable, that function need to user defined setting like this
https://github.com/opensearch-project/OpenSearch/blob/4fc5c8d3fe17a87d2dc6e14a4d1c153b2e06e3e0/server/src/main/java/org/opensearch/env/Environment.java#L69
where user can define the custom path to be used
and then in this class createRemoteSnapshotDirectoryFromSnapshot use the new defined logic


SSLStrictSNIVHostCheck breaks apache in RHEL 5

SSLStrictSNIVHostCheck did not come out until apache 2.2.12, which is further than what you can upgrade to in RHEL 5: http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslstrictsnivhostcheck

https://github.com/svanzoest-cookbooks/apache2/pull/332

Hi @scottymarshall,
Thanks for the issue. Keep in mind that we do not actively work to maintain backwards compatibility with RHEL5 as it is in in the RHEL Production 3 Phase.
It looks like the latest openssl available is 0.9.8e-32.el5_11 and the latest apache httpd is 2.2.3-91.el5.
This means that no new feature development has been done in many years and also several openssl and apache 2.2.x bugfix releases are not available.
I am okay with seeing what we can do to keep it working on that platform, but realize that we are spending all our efforts on RHEL7 which will support features such as strict SNI checking on vhosts. Our goal is to maintain the two major long term (stable) releases from each supported vendor.

I agree.  RHEL5 is on its way out and we should be focused on RHEL7, but unfortunately I have not been able to convince my IT shop of this, so I am stuck with it for a while.
Take a look at the pull request and you will see that it does not harm later versions of apache to merge the change.  I only remove SSLStrictSNIVHostCheck from the config when it is set to "Off".  Since the default is Off, not having it in the file is not a big deal.
And not having it in the file also makes it backwards compatible.

Merged #332


S5 [User Story] Test Helpers

[User Story]
Test Helpers

Epic Title
#32

User Story Title
Test Helpers

T-shirt size: S(mall), M(edium), L(arge)
M

Story Points - Fibonacci (1,2,3,5,8,13)
2

User Story
Test helper class to easily create users, hierarchies of users, roles and tasks; in order to easily add tests for features like hierarchical approval.

Description

Business Need (the why):

Details

Additional User Story
A dependency for #379

Dependencies

Assumptions

Questions/Clarifications

Moved to S6 for review, then will mark back to S5.


Make vc libraries mandatory

Currently both vc libraries are required to be installed and they should not be extras.
This is mainly due to compatibility reason. When indy is fully retired indy-credx should be able to be an extra or completely removed and contained within a plugin.

@dbluhm — can you please fix the conflicts?

Sorry about that @dbluhm — I thought it was your PR :-).  I wish I knew the git magic to deal with stuff like that…

I thought it was your PR :-)

I wondered lol but figured, sure, I'll take care of it :smile:

Sonarcloud issue pretains to the Dockerfile.demo

This image might run with root as the default user. Make sure it is safe here.

I think we're okay with the the demo container not having a separate, non-root user. Unless you'd like to take some time to address that, @jamshale -- I have no objections either way

Ya. It's flagging it because I made a change in the file but I think it's fine in the demo conatiner.
My sonarcloud linter flagged a bunch of stuff in the dockerfiles that I think should be cleaned up, but I didn't want to do it in this PR.


Fast sender breaks receiving logic

I sometimes encounter an issue in my application while receiving data with RustDDS 0.7.11. My application is subscribed to a topic, which is frequently send. I am reading data with take_next_sample every 10ms. When two data samples are sent in a 10ms interval, take_next_sample doesn't return any data anymore until restarting the program.
Investigation:
I already investigated the issue, the following are all relevant facts:
The QoS values are as follows:

RELIABILITY=RELIABLE
DURABILITY=TRANSIENT_LOCAL
HISTORY=LAST(1)

The publisher is using FastDDS.
When the problem occurs, the following packets are exchanged (looks good):
[Pub->Sub] INFO_DST, INFO_TS, DATA(writerSeqNumber=34), HEARTBEAT(firstAvailableSeqNumber=34,lastSeqNumber=34)
[Sub->Pub] INFO_DST, ACKNACK(Expecting sample 35)
[Pub->Sub] INFO_DST, INFO_TS, DATA(writerSeqNumber=35), HEARTBEAT(firstAvailableSeqNumber=35,lastSeqNumber=35)
[Sub->Pub] INFO_DST, ACKNACK(Expecting sample 36)

The problem now seems to be caused by a misunderstanding between the MessageReceiver and the DataReader.
Steps of the MessageReceiver:

Handle DATA submessage (seq=34)

Insert sample into HistoryCache (Had 1 element previously in, now length is 2)

Handle HEARTBEAT submessage

Remove all samples from HistoryCache until firstAvailableSeqNumber (so cache length is now 1 again)

Handle DATA submessage (seq=35)

Insert sample into HistoryCache (Length is now 2)

Handle HEARTBEAT submessage

Remove all samples from HistoryCache until firstAvailableSeqNumber (so only seq=35 remains in cache)

Afterwards, a new sample is read using take_next_sample:
In DataReader::fill_local_datasample_cache, the next sample is retrieved from the cache and its sequency number (35) is compared to the previously processed seq=33.
Since reliability is activated and seq=34 is missing, no data is returned.
Since seq=34 was discarded, this will never be received and thus take_next_sample will never return a sample again.
See also the TODO here: https://github.com/jhelovuo/RustDDS/blob/692841bfa4040cd53e07054c65b5d0dcc8bffed5/src/dds/with_key/datareader.rs#L718-L720
Solution?
I am not really sure what the solution to this problem is. I think the possibilities are:

Don't remove samples on a HEARTBEAT message. This would partly make sense because the RTPS spec says in <IP_ADDRESS>.4 "Change in state of Receiver": "None", so I don't think deleting entries is the way to go here. On the contrary, this would lead to entries piling up in the cache and they would need to be removed somehow once copied to the datareader's datasample cache.
Signal the DataReader that certain sequence numbers can be skipped, but I'm not sure if this should be allowed with the RELIABLE QoS.

What do you think on how to proceed? Or did I miss something?

This issue seems a bit difficult to fix in the current master / 0.7.x branch.
However, the receive logic has been reworked in the yet-to-be-released 0.8 branch, and should work better in this respect. Please try if it works for you.

The 0.8 branch works as expected in this case and solves the problem for me. Thank you!


feat: add react-routing helpers

Description
Extracts routing types and hooks from the starter into a new @hilla/react-routing package. The main features are:

A RouteObjectWithMetadata type that extends the react-router-dom route type with metadata for menu icon and title, as well as for whether the route requires authentication and which roles are allowed to access the route. Specifically the type overrides the handle property, which should be used for custom application-specific data, with metadata currently used by the starter.
A useRouteMetadata hook that returns the metadata for the current route. The hook will return the metadata for the current route if it has metadata, or the nearest parent route that has metadata. Otherwise returns undefined.

Changes compared to the starter:

This duplicates the AccessProps type as there currently is none in the Hilla codebase that could be imported. Not a blocker IMO and can be cleaned up when auth-related helpers are extracted.
The role type has been changed to use a string, whereas the starter uses an application-specific Role enum.

Type of change

Feature

Marking this as a draft for now, as we want to look into changing the starter to just use basic react-router API without adding too much complexity in terms of helpers.

Closing as we decided not to add any helpers at all for now.


Digital Certificate

How can I access a website that requires a digital certificate?

What kind of website do you mean? A website using https or a website requiring you to upload a certificate to login?

a site that requires you to upload/select a certificate to login
https://www.nfe.fazenda.gov.br/portal/consultaRecaptcha.aspx?tipoConsulta=resumo&tipoConteudo=7PhJ+gAVw2g=

There is a pull request for this on the official jcef repo. For now this feature seems to be unavailable, unless you want to build the pull request yourself: https://bitbucket.org/chromiumembedded/java-cef/pull-requests/47
According to the forums, jcef currently selects the first certificate automatically: https://magpcss.org/ceforum/viewtopic.php?f=17&t=17705

As we're not really in position to provide this feature, I'm closing this. Thanks @FriwiDev for details about this case! :)


Jimson currently can't be used in rails 5 because of conflicting Rack versions

Hi,
At present, Jimson depends on:
"rack", "~> 1", ">= 1.4.5"
and is thus unusable in a rails 5 app because ActionPack 5.0.0rc1 depends on:
'rack', '~> 2.x'

Workaround gem: https://rubygems.org/gems/jimson-temp


Fix segfault in Appveyor build with Python 3.5

The appveyor build kept segfaulting during the build.cmd script
in the command:
python -m pip install -e .

Doing the same with a debugger available showed the segfault was
inconsistent but in os_spawnve when it occurred.
In testing, it was found Python < 3.5 does not have this problem.
@sklam noted https://github.com/numpy/numpy/issues/7607
and experienced the same issue (many thanks).
As a fix to get Appveyor working again, this patch moves the
test Python version to 3.4.

Current coverage is 86.83% (diff: 100%)

Merging #2203 into master will not change coverage

@@             master      #2203   diff @@
==========================================
  Files           310        310
  Lines         57114      57114
  Methods           0          0
  Messages          0          0
  Branches       5913       5913
==========================================
  Hits          49594      49594
  Misses         6570       6570
  Partials        950        950

Powered by Codecov. Last update 4ee6c08...418f644

Thanks for the patch


fix: cjs resolution when falling back to parentLoad

When falling back to parentLoad on parsing errors (#104), we don't consider CJS.
For CJS, the parentLoad can return { format: 'commonjs', source: undefined }. In this case we should be passing this full result through as the result of load(). Once we start returning a full result from getSource, it becomes redundant and we can have a single load function.

While testing this I also found that the logged error was not as helpful as it could be. processModule may parse multiple files so I've updated it to log specifically which file the parsing failed for.
Error: 'import-in-the-middle' failed to wrap 'file:///Users/tim/Documents/Repositories/import-in-the-middle/test/fixtures/json-attributes.mjs'
    at load (/Users/tim/Documents/Repositories/import-in-the-middle/hook.js:306:21)
    at async nextLoad (node:internal/modules/esm/hooks:750:22)
    at async Hooks.load (node:internal/modules/esm/hooks:383:20)
    at async MessagePort.handleMessage (node:internal/modules/esm/worker:199:18) {
  cause: Error: Failed to parse 'file:///Users/tim/Documents/Repositories/import-in-the-middle/test/fixtures/json-attributes.mjs'
      at getExports (/Users/tim/Documents/Repositories/import-in-the-middle/lib/get-exports.js:115:17)
      at async processModule (/Users/tim/Documents/Repositories/import-in-the-middle/hook.js:131:23)
      at async load (/Users/tim/Documents/Repositories/import-in-the-middle/hook.js:269:25)
      at async nextLoad (node:internal/modules/esm/hooks:750:22)
      at async Hooks.load (node:internal/modules/esm/hooks:383:20)
      at async MessagePort.handleMessage (node:internal/modules/esm/worker:199:18) {
    cause: SyntaxError: Unexpected token (1:40)
        at pp$4.raise (/Users/tim/Documents/Repositories/import-in-the-middle/node_modules/acorn/dist/acorn.js:3573:15)
        at pp$9.unexpected (/Users/tim/Documents/Repositories/import-in-the-middle/node_modules/acorn/dist/acorn.js:772:10)
        at pp$9.semicolon (/Users/tim/Documents/Repositories/import-in-the-middle/node_modules/acorn/dist/acorn.js:749:68)
        at Parser.parseImport (/Users/tim/Documents/Repositories/import-in-the-middle/node_modules/acorn-import-attributes/lib/index.js:242:12)
        at pp$8.parseStatement (/Users/tim/Documents/Repositories/import-in-the-middle/node_modules/acorn/dist/acorn.js:948:51)
        at pp$8.parseTopLevel (/Users/tim/Documents/Repositories/import-in-the-middle/node_modules/acorn/dist/acorn.js:829:23)
        at Parser.parse (/Users/tim/Documents/Repositories/import-in-the-middle/node_modules/acorn/dist/acorn.js:601:17)
        at Function.parse (/Users/tim/Documents/Repositories/import-in-the-middle/node_modules/acorn/dist/acorn.js:651:37)
        at getEsmExports (/Users/tim/Documents/Repositories/import-in-the-middle/lib/get-esm-exports.js:37:23)
        at getExports (/Users/tim/Documents/Repositories/import-in-the-middle/lib/get-exports.js:97:14) {
      pos: 40,
      loc: [Position],
      raisedAt: 44
    }
  }
}

Is there some test that will show the problem being solved here?

The current reproduction that I have requires @prisma/client which has "engines": {"node": ">=16.13"} so it's not compatible with all the versions tested.
I'll see if I can reduce it down!

#108 fixes the issue with @prisma/client and I'm unable to find another reproduction that makes these changes necessary. The broken resolution meant that CJS code was trying to load ESM code.
Maybe this PR will be required to support --experimental-require-module?

Closing in favour of #115, #114 and #109


Recursive CTE Support

Some say (TM) that two ops are needed for this. One that executes the CTE until no new rows are added and one that scans the result of this.

@hannesmuehleisen Hi, Is there any plan on the implementation of this?
I'm interested in RECURSIVE, which is a feature that I really need.
I can take a look at this if no one is currently working on.

The University of Tübingen wanted to have a look: https://db.inf.uni-tuebingen.de/theses/ExtendDuckDBwithSupportforWITHRECURSIVE.html
Perhaps coordinate with them

Great! Thanks for sharing this.

This is supported now


Postgres 12 + Rails 6.1: RETURNING "id" issue

I'm getting errors with Postgres 12.x and Rails 6.1 when doing any modifications on the hierarchy like simply trying to set a parent and saving the model or doing a full rebuild.
/home/app/webapp/vendor/bundle/ruby/3.0.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:672:in `exec_params': PG::UndefinedColumn: ERROR:  column "id" does not exist (ActiveRecord::StatementInvalid)
LINE 1: ...ndant_id", "generations") VALUES ($1, $2, $3) RETURNING "id"

The hierarchies table exists and has the 3 expected columns but no id column as generated by the migration, so the RETURNING "id" must not be there, or maybe RETURNING "*" or similar. Digging through AR source code, this uses primary_key or false, so one might be able to set the primary_key to false in the Hierarchy class for the model. However, when setting primary_key to nil later, I got another error: home/app/webapp/vendor/bundle/ruby/3.0.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/reflection.rb:307:in primary_key': Unknown primary key for table ... `
If it may be relevant for the issue: My data structure in multiple classes (saved as STI) however not all of the many classes have closure_tree. The STI root class does not but one Subclass FooWithHierarchy (and with more subclasses of it) have_closure_tree.
I have another quite similar situation in another project, also Rails 6.1 and identical Gem versions but PG 13 which does not seem to have this issue. However, it started earlier and thus may have been populated before any breaking changes. So.... very confusing why one seems to work and one doesn't.

Closing because #392 is a much better explanation of the same issue.


access: cookie creation refactoring

Replaces AES SQLAlchemy internal function with passlib.
(closes #3219)

Signed-off-by: Leonardo Rossi<EMAIL_ADDRESS>

Reviewed-by: me :shipit:

ping @jirikuncar


Add a version number to CHANGELOG.md

While you're fixing minor things, could you also fix the "paniced" message?

Oh, I was going to do it in another pull request. Okay, let's do it here.


raise IOError("Missing CNVkit %s file: %s" % (ftype, files[ftype]))

When I run the CNV structural variant calling in the tumor-normal pair analysis, the error as in the title appeared. And the following detailed the missing file:
IOError: Missing CNVkit cnr file: /.../filename-sort.cnr
Could you help me to figure it out?
Thank you.

It looks like CNVkit failed for some reason, although I'm not able to provide any more suggestions without more information. This is a post-CNVkit run sanity check that the expected files were produced.
If you could post more of log/bcbio-nextgen-debug.log or provide more details about what is in the CNVkit directory that is failing we might be able to make a better guess.
Sorry about the problems and hope this helps some.

Hi Brad,
I checked /../work/structural/02-FFPE-tumor/cnvkit/ directory and found the following types of files,
GRCh37-access.bed
15_2015-06-17_name_1-10-sort-callable-callableblocks-merged-annotated.bed
15_2015-06-17_name_1-10-sort-callable-callableblocks-merged.bed.gz.tbi
15_2015-06-17_name_1-10-sort-callable-callableblocks-merged.bed.gz
15_2015-06-17_name_1-10-sort-callable-callableblocks-merged.bed
“raw” (folder)
Under the “raw” folder, there are
02-normal_background.cnn
16_2015-06-17_name_1-10-sort.targetcoverage.cnn
16_2015-06-17_name_1-10-sort.antitargetcoverage.cnn
15_2015-06-17_name_1-10-sort-callable-callableblocks-merged-annotated.target.bed
15_2015-06-17_name_1-10-sort-callable-callableblocks-merged-annotated.antitarget.bed
15_2015-06-17_name_1-10-sort.targetcoverage.cnn
15_2015-06-17_name_1-10-sort-antitargetcoverage.cnn
The following are more detailed lines from the bcbio-nextgen.log file. For the IHPAA safety purpose, I masked the directory and renamed the batch and file names.
[2015-06-30T08:03Z] c2305.tusker.hcc.unl.edu: ipython: split_variants_by_sample
[2015-06-30T08:03Z] c2305.tusker.hcc.unl.edu: Timing: prepped BAM merging
[2015-06-30T08:03Z] c2305.tusker.hcc.unl.edu: ipython: delayed_bam_merge
[2015-06-30T08:03Z] c2305.tusker.hcc.unl.edu: Timing: validation
[2015-06-30T08:03Z] c2305.tusker.hcc.unl.edu: ipython: compare_to_rm
[2015-06-30T08:03Z] c2305.tusker.hcc.unl.edu: Timing: ensemble calling
[2015-06-30T08:03Z] c2305.tusker.hcc.unl.edu: ipython: combine_calls
[2015-06-30T08:03Z] c2619.tusker.hcc.unl.edu: Ensemble consensus calls for batch01: mutect,freebayes,vardict,varscan
[2015-06-30T08:03Z] c2613.tusker.hcc.unl.edu: Ensemble consensus calls for batch02: mutect,freebayes,vardict,varscan
[2015-06-30T08:03Z] c2619.tusker.hcc.unl.edu: Ensemble consensus calls for batch03: mutect,freebayes,vardict,varscan
[2015-06-30T08:03Z] c2613.tusker.hcc.unl.edu: Ensemble consensus calls for batch04: mutect,freebayes,vardict,varscan
[2015-06-30T08:03Z] c2619.tusker.hcc.unl.edu: Ensemble consensus calls for batch05: mutect,freebayes,vardict,varscan
[2015-06-30T08:03Z] c2613.tusker.hcc.unl.edu: Ensemble consensus calls for batch06: mutect,freebayes,vardict,varscan
[2015-06-30T08:03Z] c2619.tusker.hcc.unl.edu: Ensemble consensus calls for batch07: mutect,freebayes,vardict,varscan
[2015-06-30T08:03Z] c2613.tusker.hcc.unl.edu: Ensemble consensus calls for batch08: mutect,freebayes,vardict,varscan
[2015-06-30T08:03Z] c2613.tusker.hcc.unl.edu: Ensemble consensus calls for batch09: mutect,freebayes,vardict,varscan
[2015-06-30T08:03Z] c2619.tusker.hcc.unl.edu: Ensemble consensus calls for batch10: mutect,freebayes,vardict,varscan
[2015-06-30T08:03Z] c2305.tusker.hcc.unl.edu: Timing: validation summary
[2015-06-30T08:03Z] c2305.tusker.hcc.unl.edu: Timing: structural variation
[2015-06-30T08:03Z] c2305.tusker.hcc.unl.edu: ipython: detect_sv
[2015-06-30T11:08Z] c2613.tusker.hcc.unl.edu: Unexpected error
Traceback (most recent call last):
File "/.../bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/ipythontasks.py", line 39, in _setup_logging
yield config
File "/.../bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/ipythontasks.py", line 249, in detect_sv
return ipython.zip_args(apply(structural.detect_sv, *args))
File "/.../bcbio/anaconda/lib/python2.7/site-packages/bcbio/structural/init.py", line 126, in detect_sv
for svdata in _BATCH_CALLERSsvcaller:
File "/.../bcbio/anaconda/lib/python2.7/site-packages/bcbio/structural/cnvkit.py", line 30, in run
return _cnvkit_by_type(items, background)
File "/.../bcbio/anaconda/lib/python2.7/site-packages/bcbio/structural/cnvkit.py", line 42, in _cnvkit_by_type
return _run_cnvkit_cancer(items, background)
File "/.../bcbio/anaconda/lib/python2.7/site-packages/bcbio/structural/cnvkit.py", line 90, in _run_cnvkit_cancer
access_file, work_dir, background_name=paired.normal_name)
File "/.../bcbio/anaconda/lib/python2.7/site-packages/bcbio/structural/cnvkit.py", line 172, in _run_cnvkit_shared
raise IOError("Missing CNVkit %s file: %s" % (ftype, files[ftype]))
IOError: Missing CNVkit cnr file: /.../work/structural/02-FFPE-tumor/cnvkit/raw/9_2015-06-17_name_1-10-sort.cnr
Thank you!
Peng
From: Brad Chapman<EMAIL_ADDRESS>Sent: Tuesday, June 30, 2015 8:26 PM
To: chapmanb/bcbio-nextgen
Cc: Xiao, Peng
Subject: Re: [bcbio-nextgen] raise IOError("Missing CNVkit %s file: %s" % (ftype, files[ftype])) (#915)
It looks like CNVkit failed for some reason, although I'm not able to provide any more suggestions without more information. This is a post-CNVkit run sanity check that the expected files were produced.
If you could post more of log/bcbio-nextgen-debug.log or provide more details about what is in the CNVkit directory that is failing we might be able to make a better guess.
Sorry about the problems and hope this helps some.
—
Reply to this email directly or view it on GitHubhttps://github.com/chapmanb/bcbio-nextgen/issues/915#issuecomment-117386286.
The information in this e-mail may be privileged and confidential, intended only for the use of the addressee(s) above. Any unauthorized use or disclosure of this information is prohibited. If you have received this e-mail by mistake, please delete it and immediately contact the sender.

Peng;
Thanks for the detailed debugging information. It looks like CNVkit ran at least partially since you have some of the output files, but failed to produce the final cnr and cns files for some reason. Without an error message from CNVkit I'm not totally sure what to suggest. Your best bet would be to look in log/bcbio-nextgen-commands.log for the cnvkit run related to this sample. If you run that by hand, does it provide correct output or a useful error message to help debug? Beyond that, does the sample itself look okay if you look at alignment numbers in the BAM file?
Sorry to not have a definite answer but hope this helps.

Sorry I didn't see this earlier. On some systems there seems to be a multiprocessing bug in CNVkit's "batch" command where the child processes fail to sync, and/or segmentation fails but the "batch" command continues and pretends to succeed, yet doesn't generate a .cns file, as we see here. I can't replicate this on Ubuntu platforms to diagnose and fix it myself, unfortunately. Also unhelpfully, the "batch" command in multiprocessing mode seems to eat the child process logging messages.
I've been recommending users who see multiprocessing problems to run CNVkit in serial mode (-p 1, instead of nproc). In bcbio-nextgen, for the short term it may be best to run cnvkit.py batch -p 1 ... even if multiple cores were specified in the configuration. Meanwhile I can look into having bcbio-nextgen call the CNVkit pipeline's sub-commands directly and parallelizing with IPython.parallel instead of the batch command, and/or write CommonWL tool descriptions (etal/cnvkit#39) to use similarly.

Eric -- thanks for connecting these dots for me. Apologies, I remember reading about the issue but hadn't applied it here. Peng -- I pushed fixes that will run CNVkit in single core mode until we can resolve the issue with multicore. If you update to the latest development -- bcbio_nextgen.py upgrade -u development and re-run it'll hopefully finish cleanly. Thanks much.


Cannot find module './zxcvbn/zxcvbn' (coffee script problem)

This module needs to ship with prebuilt javascript code, otherwise it doesn't work without coffeescript.
the simplest way to do this would be to call a build step from within a prepublish script in the package.json.
here is the error I get
$ npm install zxcvbn
$ node
> require('zxcvbn')
Error: Cannot find module './zxcvbn/zxcvbn'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/home/dominic/c/experiments/node_modules/zxcvbn/index.js:1:80)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)

agree with that and not minified please - in my case i need it to debug other zxcvbn related bugs ...

@dominictarr you can use my npm-published fork until it's fixed https://www.npmjs.com/package/zxcvbn-npm

npm fix coming soon -- I'm working w the original publisher to get access
to the registry.
On Sunday, July 12, 2015, Michael Heuberger<EMAIL_ADDRESS>wrote:

@dominictarr https://github.com/dominictarr you can use my
npm-published fork until it's fixed
https://www.npmjs.com/package/zxcvbn-npm
—
Reply to this email directly or view it on GitHub
https://github.com/dropbox/zxcvbn/issues/77#issuecomment-120798638.

I fixed the npm package and updated the README -- this should just work now.
@binarykitchen for debugging I would recommend the setup described in the README vs directly including the zxcvbn.js bundle (whether minified or not).

Your updates are good, thanks. But there are still things you need to change. Will write new tickets.


Fix maybe uniniatilzed access of variable

tag.c: In function ‘AddTagDescriptions’:
tag.c:507:20: error: ‘value_cell’ may be used uninitialized [-Werror=maybe-uninitialized]
  507 |                 if (value_cell || isnull)
      |                    ^
tag.c:473:34: note: ‘value_cell’ was declared here
  473 |                 ListCell        *value_cell;
      |                                  ^~~~~~~~~~
cc1: all warnings being treated as errors

Change logs
Describe your change clearly, including what problem is being solved or what feature is being added.
If it has some breaking backward or forward compatibility, please clary.
Why are the changes needed?
Describe why the changes are necessary.
Does this PR introduce any user-facing change?
If yes, please clarify the previous behavior and the change this PR proposes.
How was this patch tested?
Please detail how the changes were tested, including manual tests and any relevant unit or integration tests.
Contributor's Checklist
Here are some reminders and checklists before/when submitting your pull request, please check them:

[ ] Make sure your Pull Request has a clear title and commit message. You can take git-commit template as a reference.
[ ] Sign the Contributor License Agreement as prompted for your first-time contribution(One-time setup).
[ ] Learn the coding contribution guide, including our code conventions, workflow and more.
[ ] List your communication in the GitHub Issues or Discussions (if has or needed).
[ ] Document changes.
[ ] Add tests for the change
[ ] Pass make installcheck
[ ] Pass make -C src/test installcheck-cbdb-parallel
[ ] Feel free to request cloudberrydb/dev team for review and approval when your PR is ready🥳

@wenchaozhang-123 help take a look.

I don't understand why CI fails

Hi @reshke the CI is still in the process of restoration. Be patient to wait for a few days.

Please squash the commits to one.

I don't understand why CI fails

Hi @reshke the CI is still in the process of restoration. Be patient to wait for a few days.

Hi @reshke now welcome to try to force push again, then should can trigger the new CI checks.

Some problems with build template

Error: The template is not valid. .github/workflows/build-cloudberry.yml (Line: 190, Col: 19): Unexpected value '',.github/workflows/build-cloudberry.yml (Line: 191, Col: 19): Unexpected value ''

Some problems with build template

Error: The template is not valid. .github/workflows/build-cloudberry.yml (Line: 190, Col: 19): Unexpected value '',.github/workflows/build-cloudberry.yml (Line: 191, Col: 19): Unexpected value ''

looks like  env.DOCKERHUB_USER/env.DOCKERHUB_TOKEN  substitution fails.

Sorry for the inconvenience. I have a PR in flight which will remove the secrets dependency and unblock the builds.
https://github.com/apache/cloudberry/pull/719

If I could get a review of https://github.com/apache/cloudberry/pull/719, it will help getting builds unblocked.

Can anyone please approve this? I appreciate @wenchaozhang-123 review, but his approve is grey, not green


Debugging of failing commands

First of all I want to say that the work done in StaSh is impressive. I have worked a little, and most commands worked without flaws.
Then I have gone to scp and ssh and some Python errors appeared on the console, but the information did not provide the file and line of the error to try to find it, and if it was minor, correct it. How can I increase the verbosity of the errors?

stashconf py_traceback 1 to print tracebacks
or
stashconf py_pdb 1 to automatically start the debugger
there are corresponding options in the  default config file (line 55 in stash.py) or in your own custom .stash_conf

Perfect!
Thanks,
Jose M.

El 25 ago 2016, a las 13:43, jsbain<EMAIL_ADDRESS>escribió:
stashconf py_traceback 1 to print tracebacks
or
stashconf py_pdb 1 to automatically start the debugger
there are corresponding options in the default config file (line 55 in stash.py) or in your own custom .stash_conf
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


GUI not working on Ubuntu 22.04

Actually I solved the issue already but I want to bring it to your attention.
I installed Allsky on Ubuntu 22.04 and found the gui not working. The problem was caused by changed permissions settings.
Since Ubuntu 21.04 the default permissions for the home directory are 0750 in stead of 0755. So the gui is not allowed to read config.sh, resulting in '' CAMERA type not defined. Please update 'home/pi/allsky/config.config.sh'.
Changing the permissions for /home/pi to 0755 resolved the issue.

Thanks for that information.  I will make sure that is fixed in the next release.
Eric

From: JosWennmacker @.>
Sent: Sunday, May 22, 2022 12:01:02 AM
To: thomasjacquin/allsky @.>
Cc: Subscribed @.***>
Subject: [thomasjacquin/allsky] GUI not working on Ubuntu 22.04 (Issue #1228)
Actually I solved the issue already but I want to bring it to your attention.
I installed Allsky on Ubuntu 22.04 and found the gui not working. The problem was caused by changed permissions settings.
Since Ubuntu 21.04 the default permissions for the home directory are 0750 in stead of 0755. So the gui is not allowed to read config.sh, resulting in '' CAMERA type not defined. Please update 'home/pi/allsky/config.config.sh'.
Changing the permissions for /home/pi to 0755 resolved the issue.
—
Reply to this email directly, view it on GitHubhttps://github.com/thomasjacquin/allsky/issues/1228, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AT2PYK23KXZJQOMF3DZA2R3VLHLS5ANCNFSM5WS6I5JA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Closing issue.  I just made the fix in the next version of the installer.


UML diagram showing model classes

Diagram of model classes.

Contains SVG export (sharper than this PNG preview) with intention to be published in wiki. Source files included in widely supported XMI format. Modeled in MagicDraw. Application has also it's own, closed format for project file, which I can include.
I'm willing to keep updating this for some time.

Coverage remained the same at 98.9% when pulling a1a5bc10b496d9f5dc45a33dac5a8fbdc6b1b026 on lokson:uml_model into d42c16e55868df609ac171326ee1c6e0ff331208 on comfy:master.

Coverage remained the same at 98.9% when pulling a1a5bc10b496d9f5dc45a33dac5a8fbdc6b1b026 on lokson:uml_model into d42c16e55868df609ac171326ee1c6e0ff331208 on comfy:master.