Use a set instead of vec to represent the group-by clause in the Agg operator

          > > Theoretically, the ordering in group-by clause doesn't matter, however, in our LogicalAgg implementation, we store them in a vec so the ordering matter in terms of common sub-plan detection.

Does this mean that extracting common plan node with Eq is too strict? It'll be nice if we can share Agg in this case with a Project automatically inserted.

Actually, I prefer to replace the group-by vec with abitmap.
Originally posted by @chenzl25 in https://github.com/risingwavelabs/risingwave/issues/8159#issuecomment-1442809761
The advantages of using a set:

Dedup group key automatically.
Provide more opportunities for common sub-plan sharing optimization.

Or an ordered vec?

Or an ordered vec?

The ordered vec might have duplicate keys.

LGTM

Sometimes group keys matter e.g. we need to permute the group keys with watermarkshttps://github.com/risingwavelabs/risingwave/issues/6452. or we need to break some assumption of the streaming executor( the group key is not the fitst N columns in the state table's primary key).

Sometimes group keys matter e.g. we need to permute the group keys with watermarks #6452. or we need to break some assumption of the streaming executor( the group key is not the fitst N columns in the state table's primary key).

Yes, the group-by set defines the schema of the Agg operator, but we can choose to implement the state table with a primary key in any order you want e.g. based on the watermark information.


Exception: Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install sklearn_crfsuite, spacy

Rasa Core version: rasa/rasa_core latest (docker image from docker hub)
Python version:  Python 2.7.15
Operating system (windows, osx, ...): Linux, openshift docker container
Issue:
I have pulled latest docker image for rasa core from dockerhub. Once the image is pulled successfully , I have created a container. When I am trying to train my nlu model inside container using command :
python bot.py train-nlu , I am getting below exception :
python bot.py train-nlu
2018-06-14 05:33:59 INFO     rasa_nlu.training_data.loading  - Training data format of data/ChatBotTrainingData.json is rasa_nlu
/usr/local/lib/python2.7/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as
np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
Traceback (most recent call last):
File "bot.py", line 260, in
train_nlu()
File "bot.py", line 229, in train_nlu
trainer = Trainer(config.load("CHATBOT_Config.yml"))
File "/usr/local/lib/python2.7/site-packages/rasa_nlu/model.py", line 146, in init
components.validate_requirements(cfg.component_names)
File "/usr/local/lib/python2.7/site-packages/rasa_nlu/components.py", line 63, in validate_requirements
"Please install {}".format(", ".join(failed_imports)))
Exception: Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install sklearn_crfsuite, spacy
I cannot run pip command to install missing dependency inside the docker container, as due to security issues we don't have access to internet inside the container. Please suggest how can I over come this error
pip list contents :
functools32                   3.2.3.post2
future                        0.16.0
futures                       3.2.0
gast                          0.2.0
gevent                        1.3.1
graphviz                      0.8.3
greenlet                      0.4.13
grpcio                        1.12.0
h5py                          2.7.1
html5lib                      0.9999999
humanfriendly                 4.12.1
hyperlink                     18.0.0
idna                          2.6
incremental                   17.5.0
itsdangerous                  0.24
Jinja2                        2.10
jmespath                      0.9.3
jsonpickle                    0.9.6
jsonschema                    2.6.0
Keras                         2.1.6
kiwisolver                    1.0.1
klein                         17.10.0
Markdown                      2.6.11
MarkupSafe                    1.0
matplotlib                    2.2.2
mattermostwrapper             2.1
mock                          2.0.0
monotonic                     1.5
networkx                      2.1
numpy                         1.14.3
packaging                     17.1
pathlib                       1.0.1
pbr                           4.0.3
pip                           10.0.1
protobuf                      3.5.2.post1
PyJWT                         1.6.3
pykwalify                     1.6.0
pyparsing                     2.2.0
python-dateutil               2.7.3
python-telegram-bot           10.1.0
pytz                          2018.4
PyYAML                        3.12
rasa-core                     0.9.3       /app
rasa-nlu                      0.12.3
redis                         2.10.6
requests                      2.18.4
ruamel.ordereddict            0.4.13
ruamel.yaml                   0.15.37
s3transfer                    0.1.13
scikit-learn                  0.19.1
scipy                         1.1.0
setuptools                    39.1.0
simplejson                    3.15.0
six                           1.11.0
slackclient                   1.2.1
subprocess32                  3.5.1
tensorboard                   1.8.0
tensorflow                    1.8.0
termcolor                     1.1.0
tqdm                          4.23.3
twilio                        6.14.0
Twisted                       18.4.0
typing                        3.6.4
tzlocal                       1.5.1
urllib3                       1.22
websocket-client              0.47.0
Werkzeug                      0.14.1
wheel                         0.31.0
zope.interface                4.5.0
configuration YML file contents
language: "en"
pipeline:

name: "nlp_spacy"
name: "tokenizer_spacy"
name: "intent_entity_featurizer_regex"
name: "intent_featurizer_spacy"
name: "ner_crf"
name: "ner_synonyms"
name: "intent_classifier_sklearn"

@tmbo Could you please share contents of rasa core docker image(Available in dockerhub) with me, so that I can modify it and test it out , if its work well we can use the same. Please suggest if you have some other plan

I think this should be fixed in the newer docker images. Can you check?

@akelad The last updated, rasa core docker image available in docker hub is 2 months old.
The issue still there in official docker image of rasa core present in docker hub .

root@####:/app/examples/restaurantbot# python bot.py train-nlu
2018-07-18 10:18:00 INFO     rasa_nlu.training_data.loading  - Training data format of data/franken_data.json is rasa_nlu
2018-07-18 10:18:01 INFO     rasa_nlu.training_data.training_data  - Training data stats:
- intent examples: 1977 (6 distinct intents)
- Found intents: 'deny', 'thankyou', 'request_info', 'affirm', 'greet', 'inform'
- entity examples: 1030 (5 distinct entities)
- found entities: 'info', 'cuisine', 'price', 'location', 'people'
/usr/local/lib/python2.7/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
Traceback (most recent call last):
File "bot.py", line 110, in
train_nlu()
File "bot.py", line 79, in train_nlu
trainer = Trainer(config.load("nlu_model_config.yml"))
File "/usr/local/lib/python2.7/site-packages/rasa_nlu/model.py", line 146, in init
components.validate_requirements(cfg.component_names)
File "/usr/local/lib/python2.7/site-packages/rasa_nlu/components.py", line 63, in validate_requirements
"Please install {}".format(", ".join(failed_imports)))
Exception: Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install sklearn_crfsuite, spacy
@akelad The exception still there for the rasa core image in docker hub

Hmm let me look into why the docker image is so old on there. I guess for now just try building the docker image yourself from the repo?

"docker build https://github.com/RasaHQ/rasa_core.git"
Just try building docker image from the repo, but getting some "Unknown instruction SHELL", it would be really great if you can update the image in docker for rasa core. Thank you for response

I just created a PR that should push out a new docker image https://github.com/RasaHQ/rasa_core/pull/778
But that's strange because I just ran docker build . on the repo and it built fine (after the change I made to the Dockerfile)

there should be a new one on here now: https://hub.docker.com/r/rasa/rasa_core/tags/

Hi @akelad
I took latest rasa core imge from docker hub and build it in openshift, the image is building up  .But  I could see the issue is still existing, I am getting same exception . Please check below snapshot . Please suggest

Hi @akelad
I checked with latest rasa core image from docker hub , but this time facing some different issue, not able to start rasa core container.

So actually the first issue you posted - you shouldn't train your rasa_nlu model inside the docker container. That model should be stored locally under ./nlu, that also explains the second error there, you probably don't have your nlu model stored there

Hi @akelad
performed below steps :

Pretrained rasa_nlu model is placed  under ./nlu folder
2 Started the rasa core container with base image taken from docker hub.
3 The pod is getting started checked logs , got above exception (Not all required packages are installed)

This is a good point, all the nlu dependencies need to be installed, with e.g. pip install rasa_nlu[spacy] (see: http://rasa.com/docs/nlu/installation/). You can try doing this locally and building a docker image, and then do you mind creating a PR for this?

@akelad I cant build docker image in my client's machine as we don't have "shell" installed as well as many privacy issues . It would be really great if you can fix it...... otherwise in few days I will try to setup things in my PC and raise PR.


docker build failed, when was trying to rerun the benchmark tests

Hi Dear Developers
I git clone https://github.com/google-coral/edgetpu this repo to my local
I was trying to reproduce the benchmark test result on my Linux (WSL), inside https://coral.ai/docs/edgetpu/benchmarks/
under the "/edgetpu" directory I was running the in the read me,
"make DOCKER_IMAGE=debian:buster DOCKER_CPUS="k8 armv7a aarch64" DOCKER_TARGETS=tests docker-build"
"make DOCKER_IMAGE=ubuntu:18.04  DOCKER_CPUS="k8 armv7a aarch64" DOCKER_TARGETS=tests docker-build"
I switched the DOCKER_TARGETS to benchmarks,
then I got this error:
make DOCKER_IMAGE=debian:buster DOCKER_CPUS="k8 armv7a aarch64" DOCKER_TARGETS=benchmarks docker-build
docker build  -t "coral-edgetpu-debian-buster"
--build-arg IMAGE=debian:buster /mnt/c/Users/ernie.cheng/Desktop/distech/mobilnet/edgeTpuCore3/edgetpu/docker
[+] Building 6.3s (13/13) FINISHED
=> [internal] load build definition from Dockerfile                                                                                0.0s
=> => transferring dockerfile: 38B                                                                                0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 2B                                                                                0.0s
=> [internal] load metadata for docker.io/library/debian:buster                                                                                6.1s
=> [internal] load build context                                                                                0.0s
=> => transferring context: 39B                                                                                0.0s
=> [1/8] FROM docker.io/library/debian:buster@sha256:ba4a437377a0c450ac9bb634c3754a17b1f814ce6fa3157c0dc9eef431b29d1f                                                     0.0s
=> CACHED [2/8] COPY update_sources.sh /                                                                                0.0s
=> CACHED [3/8] RUN /update_sources.sh                                                                                0.0s
=> CACHED [4/8] RUN dpkg --add-architecture armhf                                                                                0.0s
=> CACHED [5/8] RUN dpkg --add-architecture arm64                                                                                0.0s
=> CACHED [6/8] RUN apt-get update     && DEBIAN_FRONTEND=noninteractive apt-get install -y       libc6-dev:arm64       libc6-dev:armhf     && DEBIAN_FRONTEND=nonintera  0.0s
=> CACHED [7/8] RUN git clone https://github.com/raspberrypi/tools.git &&     cd tools &&     git reset --hard 4a335520900ce55e251ac4f420f52bf0b2ab6b1f                   0.0s
=> CACHED [8/8] RUN wget -O /bazel https://github.com/bazelbuild/bazel/releases/download/2.1.0/bazel-2.1.0-installer-linux-x86_64.sh &&     bash /bazel &&     rm -f /ba  0.0s
=> exporting to image                                                                                0.0s
=> => exporting layers                                                                                0.0s
=> => writing image sha256:99c99ff4e82b1055dd086f0689a0be1a11ba229f8dcf52b43237c94c68f62c66                                                                               0.0s
=> => naming to docker.io/library/coral-edgetpu-debian-buster                                                                                0.0s
docker run --rm -i --tty -v /mnt/c/Users/ernie.cheng/Desktop/distech/mobilnet/edgeTpuCore3/edgetpu:/workspace
"coral-edgetpu-debian-buster" /bin/bash -c "chmod a+w /; groupadd --gid 1000 ernie; useradd -m -e '' -s /bin/bash --gid 1000 --uid 1000 ernie; echo 'ernie ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers; su ernie -c 'for cpu in k8 armv7a aarch64; do make CPU=${cpu} -C /workspace benchmarks || exit 1; done'"
make: Entering directory '/workspace'
make: *** No rule to make target 'benchmarks'.  Stop.
make: Leaving directory '/workspace'
make: *** [/mnt/c/Users/ernie.cheng/Desktop/mobilnet/edgeTpuCore3/edgetpu/docker/docker.mk:38: docker-build] Error 1
I also tried switch the dockerTarget back to tests, still the same error,
" make: *** No rule to make target 'tests'.  Stop."
I would like to know why, can someone help, thanks endlessly!!!

Hello @ernielikesapple ,
Is there a particular reason you want to use edgetpu? This repo is deprecated (although I still would expect it to work. It has been replaced with libcoral for C++ or pycoral for Python.

Hello @ernielikesapple ,
Is there a particular reason you want to use edgetpu? This repo is deprecated (although I still would expect it to work. It has been replaced with libcoral for C++ or pycoral for Python.

Hi @mbrooksx   I  was trying to reproduce the results under https://coral.ai/docs/edgetpu/benchmarks/ for Mobilnetssdv2
so even if with https://github.com/google-coral/libcoral
after I clone the project and cd to libcoral folder, I run
"make DOCKER_IMAGE=debian:buster DOCKER_CPUS="k8 armv7a aarch64" DOCKER_TARGETS=tests docker-build
" from read me
I got the same error
[+] Building 0.5s (16/16) FINISHED
=> [internal] load build definition from Dockerfile                                                                                0.0s
=> => transferring dockerfile: 38B                                                                                0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 2B                                                                                0.0s
=> [internal] load metadata for docker.io/library/debian:buster                                                                          0.4s
=> [internal] load build context                                                                                0.0s
=> => transferring context: 39B                                                                                0.0s
=> [ 1/11] FROM docker.io/library/debian:buster@sha256:ba4a437377a0c450ac9bb634c3754a17b1f814ce6fa3157c0dc9eef431b29d1f                  0.0s
=> CACHED [ 2/11] COPY update_sources.sh /                                                                                0.0s
=> CACHED [ 3/11] RUN /update_sources.sh                                                                                0.0s
=> CACHED [ 4/11] RUN dpkg --add-architecture armhf                                                                                0.0s
=> CACHED [ 5/11] RUN dpkg --add-architecture arm64                                                                                0.0s
=> CACHED [ 6/11] RUN echo 'APT::Immediate-Configure false;' >> /etc/apt/apt.conf                                                        0.0s
=> CACHED [ 7/11] RUN apt-get update     && DEBIAN_FRONTEND=noninteractive apt-get install -y       libc6-dev:arm64       libc6-dev:arm  0.0s
=> CACHED [ 8/11] RUN mkdir /debs && chmod 0777 /debs && cd /debs && apt-get update && apt-get download   libglib2.0-0   libglib2.0-0:a  0.0s
=> CACHED [ 9/11] RUN for d in /debs/*.deb; do dpkg -x $d /usr/system_libs; done                                                         0.0s
=> CACHED [10/11] RUN git clone https://github.com/raspberrypi/tools.git &&     cd tools &&     git reset --hard 4a335520900ce55e251ac4  0.0s
=> CACHED [11/11] RUN wget -O /bazel https://github.com/bazelbuild/bazel/releases/download/3.2.0/bazel-3.2.0-installer-linux-x86_64.sh   0.0s
=> exporting to image                                                                                0.0s
=> => exporting layers                                                                                0.0s
=> => writing image sha256:d7d7ddff7f7a7f4a803ef81a3d5c05355d910bfce6535e17d8664b05a37070df                                              0.0s
=> => naming to docker.io/library/coral-edgetpu-debian-buster                                                                            0.0s
docker run --rm -i --tty -v /mnt/c/Users/ernie.cheng/Desktop/distech/mobilnet/edgeTpuCore1/libcoral/:/workspace
"coral-edgetpu-debian-buster" /bin/bash -c "chmod a+w /; groupadd --gid 1000 ernie; useradd -m -e '' -s /bin/bash --gid 1000 --uid 1000 ernie; echo 'ernie ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers; su ernie -c 'for cpu in k8 armv7a aarch64; do make CPU=${cpu} COMPILATION_MODE=opt -C /workspace/ tests || exit 1; done'"
make: Entering directory '/workspace'
make: *** No rule to make target 'tests'.  Stop.
make: Leaving directory '/workspace'
make: *** [/mnt/c/Users/ernie.cheng/Desktop/distech/mobilnet/edgeTpuCore1/libcoral/docker/docker.mk:40: docker-build] Error 1
btw, I changed the DOCKER_TARGET to benchmarks, same error.
is there a reason for this, or the read.me needs to be updated?
thanks so so much!!!

@ernielikesapple are you still facing the issue?

Feel free to reopen if issue still exists.


python XML content control

Below is a code snippet from the XML content that annotates the object tag and annotates it. Some XML files do not have an object tag. In this case it gives a keyError error. How can I pass such xml files without giving keyError
    annotation = read_xml(annotation_path)
    image = read_image(image_path)

    gt_boxes = []

    for b in annotation['object']:
        try:
            label_id = self.classes.index(b['name'])
        except ValueError:
            continue

        gt_boxes.append({
            'label': label_id,
            'xmin': b['bndbox']['xmin'],
            'ymin': b['bndbox']['ymin'],
            'xmax': b['bndbox']['xmax'],
            'ymax': b['bndbox']['ymax'],
        })

I want to put a control code above "for b in annotation['object']:" command. Help me please

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.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!


chore(i18n,docs): processed spanish translations

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Hey @sandra-laguna
Thank you for opening this pull request.
This is a standard message notifying you that we've reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


Build doesn't work properly

My app works fine when I started trough the dev server but when I'm doing a build, inside the build folder there is no HTML or js file even though the build was completed without errors.
my config-overrides file:
module.exports = function override(config, env) {
    config.module.rules.push({
        test: /\.worker\.js$/,
        use: { loader: 'worker-loader' }
    });
    config.output.globalObject = 'this';
    return config;
};

If you have a look at create-react-app's webpack configuration, you're not going to get what you're attempting properly.
You need to add your new rule into the config.modules.rules 'oneOf' rule array, and it has to be before the last item currently in the list (otherwise the 'files' rule will be used instead of your own rule). You also should modify the existing /\.(js|mjs|jsx|ts|tsx)$/ rule to add an exclusion so that it doesn't process your *.worker.js files (as currently both tests would match, so I think given how the files rule works that the first defined rule out of your worker one and the original javascript one will be used for those files).
Something like:
module.exports = function override(config, env) {
  // Find the oneOf rule
  const oneOfRuleIndex = config.module.rules.find((rule) => 'oneOf' in rule);
  if (oneOfRuleIndex < 0) {
    // Oops, test is wrong
    console.error("Did not find the oneOf rule!");
    // Exit here so that you can debug the failed test
    throw Error("oneOf Rule test failed");
  }
  const oneOfRule = config.module.rules[oneOfRuleIndex];

  // Find the rule for compiling the project's javascript
  const jsRuleIndex = oneOfRule.oneOf.find(
      (rule) => rule.test.toString() === "/\.(js|mjs|jsx|ts|tsx)$/"
  );
  if (jsRuleIndex < 0) {
    // Oops, test is wrong
    console.error("Did not find the standard javascript processing rule!");
    // Exit here so that you can debug the failed test
    throw Error("Rule test for /\.(js|mjs|jsx|ts|tsx)$/ failed");
  }

  // Add an exclusion to the normal javascript compile rule so that it doesn't try to compile
  // your worker files.
  const jsRule = oneOfRule.oneOf[jsRuleIndex];
  jsRule.exclude = /\.worker\.js$/;

  // Insert the new rule for your worker files into the oneOf rule array just before the normal javascript
  // compile rule
  oneOfRule.oneOf.splice(
    jsRuleIndex,
    0,
    {
      test: /\.worker\.js$/,
      use: { loader: 'worker-loader' }
    }
  );

  // Then do the rest of your overrides.
  config.output.globalObject = 'this';

  return config;
}

Note that I've put the above together off the top of my head, so there may be errors in the array.find functions for looking for the specific rules that need to be modified. You could also count the indexes for the various rules manually, but if they alter the order or add another loader those index numbers could change, whereas getting the indexes by testing for them is less likely to run into problems.
I cannot be sure without app code examples whether this is the cause of not having the files in the build folder, but it definitely will be causing processing errors where the wrong rules are being applied/files being compiled with the wrong loaders, so it's a good place to start with fixing the build.

Based on @dawnmist response:
`module.exports = function override(config, env) {
// Find the oneOf rule
const oneOfRuleIndex = config.module.rules.findIndex((rule) => rule['oneOf'] !== undefined);
if (oneOfRuleIndex < 0) {
// Oops, test is wrong
console.error("Did not find the oneOf rule!");
// Exit here so that you can debug the failed test
throw Error("oneOf Rule test failed");
}
const oneOfRule = config.module.rules[oneOfRuleIndex];
// Find the rule for compiling the project's javascript
const jsRuleIndex = oneOfRule.oneOf.findIndex(
(rule) => rule.test && String(rule.test) === String(/.(js|mjs|jsx|ts|tsx)$/)
);
if (jsRuleIndex < 0) {
// Oops, test is wrong
console.error("Did not find the standard javascript processing rule!");
// Exit here so that you can debug the failed test
throw Error("Rule test for /.(js|mjs|jsx|ts|tsx)$/ failed");
}
// Add an exclusion to the normal javascript compile rule so that it doesn't try to compile
// your worker files.
const jsRule = oneOfRule.oneOf[jsRuleIndex];
jsRule.exclude = /.worker.js$/;
// Insert the new rule for your worker files into the oneOf rule array just before the normal javascript
// compile rule
oneOfRule.oneOf.splice(
jsRuleIndex,
0,
{
test: /.worker.js$/,
use: { loader: 'worker-loader' }
}
);
// Then do the rest of your overrides.
config.output.globalObject = 'this';
return config;
}`
But I still have the same issue. Building without errors but files are missing (static folder, index.html, etc.)

Based on @dawnmist response:
module.exports = function override(config, env) {
  const oneOfRuleIndex = config.module.rules.findIndex((rule) => rule['oneOf'] !== undefined);
  if (oneOfRuleIndex < 0) {
    console.error("Did not find the oneOf rule!");
    // Exit here so that you can debug the failed test
    throw Error("oneOf Rule test failed");
  }

  const oneOfRule = config.module.rules[oneOfRuleIndex];
  // Find the rule for compiling the project's javascript
  const jsRuleIndex = oneOfRule.oneOf.findIndex(
  	(rule) => rule.test && String(rule.test) === String(/\.(js|mjs|jsx|ts|tsx)$/)
  );
  if (jsRuleIndex < 0) {
    // Oops, test is wrong
    console.error("Did not find the standard javascript processing rule!");
    // Exit here so that you can debug the failed test
    throw Error("Rule test for /\.(js|mjs|jsx|ts|tsx)$/ failed");
  }

  // Add an exclusion to the normal javascript compile rule so that it doesn't try to compile
  // your worker files.
  const jsRule = oneOfRule.oneOf[jsRuleIndex];
  jsRule.exclude = /\.worker\.js$/;

  // Insert the new rule for your worker files into the oneOf rule array just before the normal javascript
  // compile rule
  oneOfRule.oneOf.splice(
    jsRuleIndex,
    0,
    {
      test: /\.worker\.js$/,
      use: { loader: 'worker-loader' }
    }
  );
  // Then do the rest of your overrides.
  config.output.globalObject = 'this';
  return config;
}

This solution is still providing an invalid build (without error), files like index.html are missing

Based on @dawnmist response, but the problem remain the same.
module.exports = function override(config, env) {
  const oneOfRuleIndex = config.module.rules.findIndex((rule) => rule['oneOf'] !== undefined);
  if (oneOfRuleIndex < 0) {
    console.error("Did not find the oneOf rule!");
    // Exit here so that you can debug the failed test
    throw Error("oneOf Rule test failed");
  }

  const oneOfRule = config.module.rules[oneOfRuleIndex];

  // Find the rule for compiling the project's javascript
  const jsRuleIndex = oneOfRule.oneOf.findIndex(
  	(rule) => rule.test && String(rule.test) === String(/\.(js|mjs|jsx|ts|tsx)$/)
  );
  if (jsRuleIndex < 0) {
    // Oops, test is wrong
    console.error("Did not find the standard javascript processing rule!");
    // Exit here so that you can debug the failed test
    throw Error("Rule test for /\.(js|mjs|jsx|ts|tsx)$/ failed");
  }
  // Add an exclusion to the normal javascript compile rule so that it doesn't try to compile
  // your worker files.
  const jsRule = oneOfRule.oneOf[jsRuleIndex];
  jsRule.exclude = /\.worker\.js$/;
  // Insert the new rule for your worker files into the oneOf rule array just before the normal javascript
  // compile rule
  oneOfRule.oneOf.splice(
    jsRuleIndex,
    0,
    {
      test: /\.worker\.js$/,
      use: { loader: 'worker-loader' }
    }
  );

  // Then do the rest of your overrides.
  config.output.globalObject = 'this';
  return config;
}

Please reopen I also had to eject my react app in order to configure webpack with web workers properly. I'm 100% sure that there is something broken with react-app-rewired :(

Ok did some test, actually this happens when one of your .worker.js is not valid. Comment all unused/untested worker files and it should be ok.

In order to debug this any further, we will require an example repository that is affected by the issue.
Usually build issues like this turn out to be issues with the particular libraries that CRA's webpack configuration is using that also need their configuration to be adjusted in order to work together with what people are adding to the list through their config-overrides file. The only way in which react-app-rewired is actually involved is that it allowed the user to make changes to their build configuration that conflicted with those that were part of CRA's default build process. (I've used web-worker loaders with CRA 1.x and react-app-rewired 1.x, so I know from personal experience that it used to work fine - it was for a personal project that I haven't had time or need to update any further).
Without a reproduceable example, there is no way to be able to step inside the particular combination of build libraries and configuration to find what is causing the issue.
As @espadon54 found, in their case the problem was actually due to one of their own source code files being invalid, which being as it was a worker file meant that it was only being included in the build when run with their config-overrides changes to include the webpack webworker loaders. @marcinburzynski - given that your file is compiling in an ejected repo that's likely not your issue - but if I'm understanding @espadon54's comment correctly it is now working for them with react-app-rewired once they fixed the worker file...which would indicate that it can work with react-app-rewired.
If you can provide an example repository that has the issue, I'll take a look at the example over the next few days.

Yes exact @dawnmist, it's working fine now, it was just because of invalid .worker.js files.

Above APP PixelShapeRN commit works well in production build, ref to doc Upgrade to react-scripts@5 and Add Web Workers support


wrapping getVersion in try/catch in case something defined in config …

…doesnt exist locally
If the CDN config object contains any dependencies that are not installed locally, webpack will fail on trying to require it. The use-case is that if there is a shared CDN config object that can contain all possible dependencies and users have the ability to include the ones they need, we wouldn't the build to fail.

Nice one 👍 will release this some time this week, let me know if you need this urgently and I will prioritise it.

@van-nguyen Hey just wondering if you had a chance to publish this? Thanks!

@gaje really sorry I thought I did, then realised I wasn't logged in for some reason. All good now.


Add copy etc buttons to the create resource yaml editor

Description
Changes proposed in this pull request:

Add copy etc buttons to the create resource yaml editor
...
...

Related issue(s)

Resolves #724

/test pre-busola-integration-test-k3s

/test pre-busola-integration-test-k3s

/retest


Map not scanning

Hi everyone,
at first sorry for my english,  I´ll try to describe my problem as good as possible .)
Few day ago my application stop working. Now everytime I log in, nothing happens.
I tried change acount, generate new API, reinstal, clean cache, change provider and nothings help.
When i start, program just don´t scan, there are no more green scan circles and console generate this message over and over.
`main.html:274 MAP: Uncaught TypeError: Cannot read property 'style' of null
main.html:168 2016-08-20 17:44:01,013 [ search_worker_0][        pgoapi][    INFO] Creating a new direct request...
2016-08-20 17:44:01,013 [ search_worker_0][        pgoapi][    INFO] Adding 'GET_MAP_OBJECTS' to RPC request including arguments
main.html:168 2016-08-20 17:44:01,013 [ search_worker_0][        pgoapi][    INFO] Execution of RPC
main.html:168 2016-08-20 17:44:01,322 [ search_worker_0][        pgoapi][    INFO] Cleanup of request!
main.html:168 2016-08-20 17:44:01,325 [ search_worker_0][        search][   ERROR] Search step 2 map parsing failed, retrying request in 30 seconds. Username: Pl1140
Traceback (most recent call last):
File "C:\Users\Ruuzhaa\AppData\Local\pokemon\app-0.2.1\resources\app\map\pogom\search.py", line 254, in search_worker_thread
parse_map(response_dict, step_location)
File "C:\Users\Ruuzhaa\AppData\Local\pokemon\app-0.2.1\resources\app\map\pogom\models.py", line 326, in parse_map
cells = map_dict['responses']['GET_MAP_OBJECTS']['map_cells']
KeyError: 'map_cells'`
In the top middle there are still "waiting"
Any helps?
Thanks a lot

Have you tired creating a new account? Itis possible the one you were using was banned. Aslo, how did you clear your cache for this program? I'm not sure where to do that.

I´m just dumb, catch first pokemon solved that problem.

@Ruuzha what do you mean by 'catch first pokemon'?

@cjdraeger I tried creating a new account, but it doesn't work either. The map still says 'Waiting.' Please help!

If you create the account, go in, catch a pokemon and create a trainer name, and restart the map. It's how I got mine to work.

@outofchocolate it actually worked!!! you're a lifesaver.. thank you so so much

@darkgreengoblin  my pleasure!
I sent this to niantic when I "appealed" having my lvl 20 account banned. Lot good it will do me, I'm sure.
Honestly? I'm guilty of using a third party service. I catch the pokemon myself.  As a mom who plays with her four year old, we don't have the time or energy to search for nearby pokemon we may never find. For us, the excitement of saying "oh! look there's a (rare pokemon) around the corner, let's go get it!" is so much more fulfilling than saying "sorry bud, we couldn't find it today." I think disallowing this service for those that want to take advantage of it is short sighted.  The bot is not playing for me. I'm not collecting pokemon that I haven't thrown pokeballs at or hatching eggs that I haven't walked for. We haven't lied or cheated about our GPS location. I'm just playing with my son. I would rather start all over again with different accounts than lie to you in an appeal, to let you know that, while some users are definitely cheating, I don't consider foreknowledge of a pokemon's whereabouts to be an unfair advantage: I find it a deficit of the game. "

wow @outofchocolate ! loads of respect to you
have they replied yet?

@darkgreengoblin  Not yet. I only just sent it before I came here to comment. Thank you for saying that; I feel very strongly about this. side note: while setting up a dummy account, understand that "nianticsucksa$$" and other such variants have already been taken.

Hi everybody,
i was participated with @Ruuzha  on this problem solving. We used same version of a PoGo Map client and we had same Error logs in console. This problem appeard at thuesday evening on CzechRep servers.
We tried everithing before we discover right PoGo Map setting as he said at top.
And here it is -> If you got the same error message in your Application, maybe this could help you.

Start with clear installation of PoGo Map client (When im writing this, is possible to download ver.0.2.1) / or you can yous your actual version but PowerShell scrip may collide with the app version (check it bellow)

Read and follow instructions in this thread -> #967 (THX guys -> you made realy good job and all of you got big peace on this problem solve!)

I´m recommending to use for Step 2 this PowerShell script which was written by @dodsky (Thx -> worked fine for us), but if u make changes from step 2 mannualy continue by steps 5 and etc... of our manual

Created a short powershell script that follows the steps in case I need to repeat the steps later, tested it locally and it worked. Just create a .ps1 file on windows and paste the following. Check the versions in code before blaming me. :D

`
$map_folder = "$env:LOCALAPPDATA\pokemon\app-0.2.1\resources\app\map"
$map_old_folder = "$env:LOCALAPPDATA\pokemon\app-0.2.1\resources\app\mapOld"
Rename-Item $map_folder mapOld
New-Item -ItemType directory -Path $map_folder
$clnt = new-object System.Net.WebClient
$url = "https://github.com/PokemonGoMap/PokemonGo-Map/archive/v3.1.0.zip"
$file = "$env:temp\map.zip"
$clnt.DownloadFile($url, $file)
$shell_app=new-object -com shell.application
$zip_file = $shell_app.namespace("$file\PokemonGo-Map-3.1.0")
$destination = $shell_app.namespace($map_folder)
$destination.Copyhere($zip_file.items())
Copy-Item -Path "$map_old_folder*.*" -Destination $map_folder -Recurse -Force
Copy-Item -Path "$map_old_folder\pogom\pgoapi" -Destination "$map_folder\pogom" -Recurse -Force
Remove-Item "$env:APPDATA\pokemon-go-map\pogom.db" -ErrorAction Ignore
Remove-Item "$env:APPDATA\pokemon-go-map\Cache" -Recurse -ErrorAction Ignore
Remove-Item "$env:APPDATA\pokemon-go-map\Local Storage" -Recurse -ErrorAction Ignore
`

As @Dodsky said -> Copy and paste this script in to Notepad and Save it as ".ps1" file right next by file with unofficial 3.1.0 zip which you downloaded in step 2 -> Right click on this .ps1 file and chose Run with PoweShell

Lets make thing happend and after continue with usually known procedure (generate your new API key and Create fake account on PTC) -> we recommend to use fake Google mail and PCT accounts!.

After you successfully create and verifies your new PTC account go in to the account setting in PTC portal and agree with Therm Of Use (TOS)

Log in to game and catch one Pokemon (as usually we recommend to use different mobile/tablet device then the device where you want to play the game, Niantic can catch you and ban can comes...)

Log in to PoGo Map application -> if the status is Operating you made it!

So it looks like Niantic made some changes in the game mechanics without some hard changes in game API. They just let the new account search for pokemons after a first pokemon pick in the game. It can be a rly good tactic when you want to block fakers.
Thx @Ruuzha and everybody in the other threads for they´r  job.
We was pretty sad without the map.
Good night


Being able to set resource limits on injected "copy-vault-env"

We see that the "copy-vault-env" is CPU thorttled by kubernetes. This results in slow startup of our pods.
We see the same problem with  "vault-agent", tthis does however not result in slow startup, but in alerts in our monitoring stack.
I would like to be able to configure the resource limits for these containers. At the moment this is hard coded here:

https://github.com/banzaicloud/bank-vaults/blob/master/cmd/vault-secrets-webhook/pod.go#L417
https://github.com/banzaicloud/bank-vaults/blob/master/cmd/vault-secrets-webhook/pod.go#L394

Also, we probably have to increase those defaults right @fmotrifork ? What values do you suggest here as defaults?

Yes, that would be a good idea. Without having looked too much at the two applications resource usage, I would suggest e.g. setting cpu limit=250m and request=50m for both.

https://github.com/banzaicloud/bank-vaults/blob/23ab583b97cbddc3701d05311a55fc6231f582b9/cmd/vault-secrets-webhook/pod.go#L600
"50m" for cpu limit is really low. The copy process sometimes hangs for minutes on heavy loaded hosts.

Yes, I have observed the same, we should increase it to a proper value, which can be the same as the vault resource value I think. Would you mind fixing this?

just pushed https://github.com/banzaicloud/bank-vaults/pull/1124 to address this

@bonifaido thank you! I have builded own image with hotfix to mitigate the issue and just forgot about it.


Apple: migrate to Shadowsocks go

Migrates the Android client to Shadowsocks to Go, supported by outline-go-tun2socks, replacing shadowsocks-libev.

Updates outline-go-tun2socks to bd58355.

Replaces DYN DNS resolvers with Cloudflare and Quad9 resolvers. The former does not support DNS over TCP.

@bemasc, thanks for the review. I implemented your suggestions in addition to refactoring the logic for early returns.


Associative Arrays

Hi, a smal question.
How do you check the setting if saved as an associative array. In the instance under, check the value of the K5 value.
Settings::group('application')->get('k2.k4.k5', false);
doesnt work.
Settings::group('application')->set([
    'k1' => Carbon::now(),
    'k2' => [
        'k3' => $user,
        'k4' => [
            'k5' => true
        ],
    ]
]);

You need to load setting k2 and then you can work with the array:
Settings::group('application')->get('k2');
=> [
     "k3" => null,
     "k4" => [
       "k5" => true,
     ],
   ]

Or you write it directly:
Settings::group('application')->get('k2')['k4']['k5'];
=> true


Minor cosmetic fixes and punctuation fixes in the comments

Signed-off-by: Farhaan Bukhsh<EMAIL_ADDRESS>

Codecov Report

Merging #66 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #66   +/-   ##
=======================================
  Coverage   42.46%   42.46%
=======================================
  Files           5        5
  Lines         146      146
=======================================
  Hits           62       62
  Misses         83       83
  Partials        1        1

Continue to review full report at Codecov.

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


As plugin for Open-Assistant.io/gpt4all

Is it possible to add this as plugin at https://open-assistant.io/ or gpt4all ?

I tried looking around OpenAssistant, and it does not seem like they support localhost plugins. So you will need to publish your localhost plugin to be available on the internet somehow.
I used ngrok.com to make my localhost port 3000 become available on the internet.
Then on the OpenAssistant website you can add the plugin by using your ngrok generated address, and including the path for the ai-plugin.json file. Like so - https://569c-84-229-37-68.ngrok-free.app/.well-known/ai-plugin.json
But before you do, you will also need to change the ai-plugin.json file so that it has your ngrok url specified for the openapi.yaml. So in my case I had to change it to say { "api": { "type": "openapi", "url": "https://569c-84-229-37-68.ngrok-free.app/openapi.yaml" } }
It seemed to work ... but I couldn't get a single response from OpenAssistant at all, probably because there is a queue, and it just takes forever to get anything to work over there.
So in theory, everything works. But in practice, nothing does.


Decouple the theme JS from readthedocs.org

This PR changes the JavaScript injected onto docs pages. It does not include the Read the Docs theme JS if it is already included. After https://github.com/rtfd/sphinx_rtd_theme/pull/614 (presumably sphinx_rtd_theme>0.3.0) it will use the version of JS specific to the theme version. This PR does not rely on the other and can be merged independently.
This PR also documents why certain fixes are necessary and the versions and themes they are necessary on.
Related to but does not rely on https://github.com/rtfd/readthedocs-sphinx-ext/pull/39.
One area for improvement is that we probably don't need to source the entire theme JS (it comes from Bower). Instead, we should separate the theme JS from the JS needed to power the version selector menu.

The lint errors are unrelated but there is an eslint error which is relevant. I believe I'll have to ignore it though since I specifically want to not have a global require. The point of this is to conditionally include JavaScript only for versions of the theme that require it.

Will this also include sphinx_rtd_theme if a different theme is used?

Yes it will. That is how it currently works before this change as well.
The sphinx_rtd_theme JavaScript is used (even on other themes) to power the version selector menu. This change did not change that.

OK.

The sphinx_rtd_theme JavaScript is used (even on other themes) to power the version selector menu. This change did not change that.

This feels a bit uncleanly separated, but I don't have a good working suggestion at this time.

This feels a bit uncleanly separated, but I don't have a good working suggestion at this time.

I don't disagree. This is also what I highlighted as an area for improvement above when I said:

One area for improvement is that we probably don't need to source the entire theme JS (it comes from Bower). Instead, we should separate the theme JS from the JS needed to power the version selector menu.

I just view that as a bigger change.

What's the state of this? Should we be moving forward w/ this now that 0.3.1 is out?

What's the state of this? Should we be moving forward w/ this now that 0.3.1 is out?

I believe it should be rolled out.

This is backwards compat with all versions of the theme right, so we can merge this, and it will work across all versions?

This is backwards compat with all versions of the theme right, so we can merge this, and it will work across all versions?

It is supposed to, yes.


Is my reCaptcha secret okay to post on a GitHub repo?

The reCaptcha is limited to my domains only.

While your credentials may be locked down to set domains, the secret key is still how you "sign" your requests to the service. I would strongly suggest keeping it separately from your repo.


allow for specific n_split when using C720

The layout change is needed for FP as agreed in NWP meeting (12/16/21). A consistent change was made to gcm_setup.

note: this is zero diff only to non-C720 cases; it is NOT zero diff for C720.

@wmputman does not wish to change this at this time


feat: add restoreIOT support

Add basic support for the Hatch Restore Gen 1. Supporting control of the clock and light

need to bump api version in const

Left them as separate commits to make the review easier. Will squash to the initial commit before merging


Comparing mock._Call objects using equals operator causes RecursionError after import testfixtures

The following code works fine with testfixtures 6.3.0 or Python 3.6.7.
But when I use testfixtures 6.4.1 and Python 3.6.8, the same code fails:
$ pip install testfixtures
Collecting testfixtures
  Using cached https://files.pythonhosted.org/packages/d7/c6/ef5514a3e36b2cddc61a712952027e3333ee32fb5fa079b1e5f3ea1bbf5b/testfixtures-6.4.1-py2.py3-none-any.whl
Installing collected packages: testfixtures
Successfully installed testfixtures-6.4.1

$ python
Python 3.6.8 (default, Dec 26 2018, 08:57:24)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import testfixtures
>>> from unittest.mock import call
>>> a = call({'key': 'value'})
>>> b = call({'key': 'value'})
>>> assert a == b
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/site-packages/testfixtures/mock.py", line 39, in __eq__
    and self.parent != other.parent):
  File "/usr/local/lib/python3.6/site-packages/testfixtures/mock.py", line 39, in __eq__
    and self.parent != other.parent):
  File "/usr/local/lib/python3.6/site-packages/testfixtures/mock.py", line 39, in __eq__
    and self.parent != other.parent):
  [Previous line repeated 195 more times]
  File "/usr/local/lib/python3.6/site-packages/testfixtures/mock.py", line 38, in __eq__
    if (getattr(self, 'parent', None) and getattr(other, 'parent', None)
  File "/usr/local/lib/python3.6/unittest/mock.py", line 2081, in __getattr__
    return _Call(name=name, parent=self, from_kall=False)
RecursionError: maximum recursion depth exceeded

It looks like this commit is the cause:
https://github.com/python/cpython/commit/70ca3fce9fe2bdd7bf97d5fe1299cfa5e32b3ad4

@dsalisbury / @pjxiao - I think this is fixed by 5f9d56d798adef223486ef022560e1aab325e291. Please can you confirm and I'll cut a release.


SYNTAX ERROR

Use setState to update state instead of this.state.widget = ...

Unfortunatelly this causes a rerender. Instead we need to call grecaptcha.render() inside ref property or something else.


Test POST using httpbin

As https://github.com/brettcannon/gidgethub/pull/11 discovered, testing that POST works as expected is important, so writing a test that uses https://httpbin.org/ to just make sure everything is set up to at least not fail on a POST with a body would be good (GET requests are already covered by the rate limit test).

@Lukasa unless you have a better idea to test where you don't have to worry about unauthenticated GitHub requests that won't erratically fail thanks to Travis not having any quota?

And just to help document, the entire reason making sure that content-length is done properly is https://developer.github.com/v3/issues/#lock-an-issue.

I think that the httpbin test is just fine as an approach.

OK, then I think I will write up a 0-length PUT test and a non-0-length POST test for aiohttp and then let you know here when that's done in case you want to write one for treq.

I realized that posting is tricky to test due to the attempt to parse all of the GitHub response headers that httpbin won't reflect in the header itself. So instead I created #13 which just does an integration test which would have caught the issue.

I'm going to close this as I view #13 as covering the necessary issues that I was worried about. If I really care I could always write another subclass that passed requests down to e.g. aiohttp but then injected relevant GitHub headers in the results to make everything pass, but that seems like overkill.


SharePoint Migration Tool also supports on-premises file shares

Check this link for details: https://docs.microsoft.com/en-us/sharepointmigration/introducing-the-sharepoint-migration-tool

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

ID: 9733a774-90dc-8726-3300-4660a092e427
Version Independent ID: 3ab12184-9b19-1686-e9d9-a96a93e3fea4
Content: OneDrive guide for enterprises
Content Source: OneDrive/plan-onedrive-enterprise.md
Service: one-drive
GitHub Login: @kaarins
Microsoft Alias: kaarins

@mhunsberger Thank you for submitting feedback. We are currently investigating this.

@officedocsbot assign @scanum

On the link you're referring to, it's already "network share, file shares".
and on the one you want to modify (plan-onedrive-enterprise.md) it's not present because SharePoint is different than onedrive.

@mhunsberger Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.

@officedocsbot close


Update InputResolver to leverage new Context implementation

InputResolver currently (3.0.0-RC1) tracks the parent input in order to test if an option is selected:
Value inputValue = context.scope().getValue(".." + parent.id());

With the new Context implementation, the following works:
Value inputValue = context.scope().getValue("");

There is no need to track the parent in order to resolve the parent value.
Parent tracking is also used to validate that a global option is nested under a global option.
This can be done directly in the Context since Context maintains Visibility UNSET|GLOBAL|LOCAL.

Fixed in #738


 But how I love that chart! I wish sprint stuff was a timeline based chart too.

I don't think we'll ever find the one true product that will do everything we need from start to finish, JIRA is trying that, but I have yet to find someone who likes that ;) That said, I sure would like to have a better integration between them :/ At least this is mostly just my problem.


The wormhole connector should support local development mode

There should be a possibility to start wormhole-connector on the local port without HTTPS.
Quite often, during the development on a local machine, we do not want to struggle with making CURL calls with an insecure flag or with additional --proxy-cacert certs/ca.pem.
There should be a start parameter indicating the HTTP or HTTPS mode.

My team is working on integration between Kyma and Wordpress using wormhole-connector and wormhole-dispatcher. Unfortunately, it's a big problem to make requests with set something like curl's --proxy-cacert flag within Wordpress application on local environment. It would be much more easier if wormhole-connector could be started only using HTTP protocol instead of secured HTTPS, at least just for development purposes.


⚠ Bofrost.fr has degraded performance

In 6334d4d, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1070 ms

Resolved: Bofrost.fr performance has improved in f9a4e32 after 312 days, 7 hours, 21 minutes.


Issue - Bolgrif race can't choose druidic cantrip

CE Version: BETA for 1.3.47-207-1-3-50-3
Hi, as at the attached screenshot, during character respec, when I choose Bolgrif race I can't pick any of druidic cantrip. Idk if that's the case, I have choosed Ranger class.

Fixed on <IP_ADDRESS>


Docstring series getitem

Implemented docstring in the form that allows Sphinx auto-generator to combine Pandas docstring with respective SDC docstring

Hello @samaid! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file docs/source/buildscripts/apiref_generator.py:

Line 31:73: E231 missing whitespace after ','
Line 46:59: E261 at least two spaces before inline comment
Line 197:72: W605 invalid escape sequence '*'
Line 197:79: W605 invalid escape sequence '*'
Line 197:81: W605 invalid escape sequence '*'
Line 217:36: E261 at least two spaces before inline comment
Line 282:5: E303 too many blank lines (2)
Line 283:5: E306 expected 1 blank line before a nested definition, found 0
Line 611:29: E225 missing whitespace around operator
Line 619:28: E127 continuation line over-indented for visual indent

In the file docs/source/buildscripts/module_info.py:

Line 377:24: E261 at least two spaces before inline comment
Line 425:1: E302 expected 2 blank lines, found 1

In the file sdc/datatypes/hpat_pandas_series_functions.py:

Line 48:1: E302 expected 2 blank lines, found 1
Line 2929:23: E712 comparison to False should be 'if cond is False:' or 'if not cond:'


[Suggestion] Small Randomization of Location on Startup

It would be nice to slightly randomize the location on startup so we are not jumping back to the same place every time the bot is restarted.

Is there a reason you don't use the location cache to start up the same place it ended?

@leadboots5 Does it do that automatically because if so I was unaware of that.

@tr33s location_cache = true in config.json. It is turned on by default.

But not if you start the bot with -l to override the start location.

If you have anything in the "location" setting in config.json. It will "jump" back to same place every time, even if location_cache = true. I tend to start the bot with a "location" setting, then remove that setting for future restarts.

As you may have noticed, after 1 or 2 h running, the bot find less and less pokemons, it could be great to have a "Jump" option happening every 1 or 2 hours in order to jump the bot at others well known places.


Which version for google-api-python-client v1.12.11 ?

Hi,
First, thanks for maintaining this library.
I'm using google-api-python-client v1.12.11 in tandem with Airflow 2.6.1's constraints file.
I'm trying to install google-api-python-client-stubs to match, but not finding any version that pip is happy with.
If I try google-api-python-client-stubs==1.12.0 I get,
google-api-python-client-stubs 1.12.0 depends on google-api-python-client<3.0.0 and >=2.64.0
The user requested (constraint) google-api-python-client==1.12.11

and if I just specify ``google-api-python-client-stubsinrequirements.txt` and let pip try to figure it out, it tries all the available releases and ends with,
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Please advise.
Thank you!

If I try google-api-python-client-stubs==1.12.0 I get,

Oh, and note that the stubs are versioned independently from the library, so v1.12.0 was for v2.64.0 for example. I usually mention the version compatibility in the release notes, it can also be seen in pyproject.toml

Closing since there was no follow-up, but feel free to let me know if you're still having issues


SAM annotation file

I've managed to load precomputed sam annotation file, but I can't figure out what to do with them beside overlaying them on top of the image.
It would be a great feature to be ablo to select single masks from the precomputed ones. In my opinion, the "segment everything" functionality of sam works much better than single point prompts. It would also make the experience smoother on devices with low compute power.

Thank you for suggestion! There is also SAM2 framework which I want to put my hands on when I have some time.


Design a logo for project EasyExit

OPEN TO ALL.
You don't need to claim this issue.
EasyExit is a project that aims to simplify the process of issuing, approving, and verification of GatePass for college students.
Enter your GitHub account and attach the Figma link in the design.json file.

@Tiyasa9  Is the task for everyone or girls-only only ?

@Oshankiii12 Is the task for everyone or girls-only ?

No its girls-only


fix(badge): apply view encapsulation attributes on badge element

Since we create the badge content element dynamically, the view encapsulation attributes won't be applied. These changes use the renderer to create the element, which will respect view encapsulation.

What practical effect does this change have? I'd rather avoid introducing use of Renderer2 since it may make it more difficult to work with the ivy renderer at some point in the future

The issue that it solves is that if somebody decided to do .mat-badge-content { color: red } inside a component with view encapsulation, those styles won't apply to the badge, even though the element is inserted next to other elements that will receive the styling.


Provide an effective method for filtering between Roborazzi tests and non-Roborazzi tests

I have numerous tests in my project. I would like to run Roborazzi tests using ./gradlew recordRoborazziDebug only if it is a Roborazzi test and use ./gradlew testDebugUnitTest for non-Roborazzi tests.
Although we have the --tests parameter, it cannot filter out non-Roborazzi tests, like using --excludeTests "*ScreenshotTest."
Is there any way to achieve this? I am concerned that we should not significantly affect the standard test task.

What do you think of this, feedback is welcome.
open class RoborazziExtension {
var runOnlyRoborazziTestsWhenRoborazziTask: Boolean = false
var roborazziTestsPattern: String = "*ScreenshotTest"
}
// plugin
test.doFirst {
if (roborazziExtension.runOnlyRoborazziTestsWhenRoborazziTask) {
val isRoborazziTest = isRecordRun.get() || isVerifyRun.get() || isCompareRun.get()
if (isRoborazziTest) {
test.setTestNameIncludePatterns(listOf(roborazziExtension.roborazziTestsPattern))
} else {
test.exclude(listOf(roborazziExtension.roborazziTestsPattern))
}
}

I'm actually surprise that the --tests option does not work?
I got that working with Paparazzi here
Let me try later in the evening...
If not, I'm not aware of a better option.
However,the naming runOnlyRoborazziTestsWhenRoborazziTask is very confusing, and having roborazzi as variable name inside a roborazzi taks is very redundant. I suggest sth like this
roborazzi {
  testsFilterOption = "include"// "exclude"
  testsFilterPattern = "*ScreenshotTest"
}

The reason I added the flag is that simply adding the plugin affects the test task, which I believe is not ideal.

However, if we set testsFilterOption to disable by default, it won't affect the test task. That might be a good approach 👀

However, the name you suggested is a bit confusing because this flag affects both the testDebugUnitTest task and the RoborazziTasks. Let me explain with an example:
Test files:
ArticleTest
ArticleScreenshotTest
Executing tasks:
Run ./gradlew testDebugUnitTest: Executes ArticleTest
Run ./gradlew recordRoborazziDebug: Executes ArticleScreenshotTest

Okay, I think I misread it.
Imho, Roborazzi plugin options should ONLY affect Roborazzi tasks.
If somebody wants to exclude Roborazzi tests when running unit tests, he should do it in the gradle file (it is not supported via --tests option)
For instance, pack Roborazzi tests in a different package, and then adjust your gradle file to filter them out:
test {
     filter {
         excludeTestsMatching "screenshottests.*"
     }
}

then, by running ./gradlew testDebugUnitTest, no Roborazzi tests run

The challenging aspect of this issue is that your configuration affects not only the non-Roborazzi tests, but also the Roborazzi tests themselves, which prevents us from taking screenshots.
I wish I could get a code like this to work, but I can't seem to filter it.
  testOptions {
    unitTests {
      includeAndroidResources = true
      all { test ->
        if (systemProperties["roborazzi.test.record"] == "true") {
          test.getFilter().setExcludePatterns "*Test*"
        }
      }
    }
  }

Sure, but you can pass a custom gradle property for it.
def excludeRoborazziTests

testOptions {
    unitTests {
      ...
      all {
         filter {
            if (project.hasProperty("excludeRoborazziTests"))
                excludeTestsMatching "screenshottests.*"
         }
      }
    }
 }

and then ./gradlew testDebugUnitTest -PexcludeRoborazziTests
This only applies if you set the flag when running tests

I will now close this issue. We can reopen it if anything arises.


No update found?

Sorry if this comes out as stoopid, but I'm new to Github, and I saw that you updated this plugin for EX6 & Zurvan, but it seems like I can't update it in-game ?
Can I abuse a bit of your time and either being told how to update, or if it's just me missing some information maybe ?
Thanks !

i too have this issue. maybe the module isnt live?

Yeah, I finished ex6 late last night and didn't release a new version, expecting client-side patch today. Since there was none, I'll just release new version later today - that should have ex6.
Zurvan should already be available.

Ex6 should work in latest version.


Warning: Unknown DOM property charset. Did you mean charSet?

When server starts it logs a warning:
Warning: Unknown DOM property charset. Did you mean charSet?

Question:
Isn't it better to simply render from string instead of using hapi-react-views?
It would reduce number of dependencies and would fix the problem too.

Re;ated to #24, It occurs when react compares redirected application with rendered route.
There is different menu for logged in and not logged in user.


Add recovery-stats telemetry device

With this commit we add a new telemetry device called recovery-stats
which can be used to retrieve statistics about ongoing recoveries while
running a benchmark.
Closes #635

I've tested this also with the in-memory metrics store and although this telemetry device is not useful there (it only writes raw metrics entries which get lost if the metrics store is transient), it should at least not break it. This is addressed in https://github.com/elastic/rally/pull/639/commits/db948833057b467ccf61c05c93d2e9ce26c2f784. @dliappis can you please have another look at those changes?

Thanks! Merged.


Generate c# client stubs as partial classes

attempt to fix https://github.com/grpc/grpc/issues/8506
Generates C# client stubs as partial classes, with the outer "service" and inner "client stub" classes as partial.
cc @jskeet is this what was in mind in https://github.com/grpc/grpc/issues/8506?

That's all I specifically need; it could potentially be worth making the server-side base class (e.g. GreeterBase) partial as well, as much for consistency as anything else.


Crw/feast cassandra forward port [WIP]

I'm still having trouble getting the serving unit tests to pass, I think because of something that I'm not mocking, but I'm not sure. Wanted to share the work if people are interested, like @ches. I will be cleaning this up further, but I have a bit of a queue, so please be patient. This logic however seems to work well in our staging cluster right now. But want to discuss best practices and optimization
This pr ports the cassandra logic forward to be compatible with feast>=.4
Fixes #335
Allows for configuration of cassandra as an online serving datastore and as a job service.

/ok-to-test

I think we should hold off on this merge before we settle: https://github.com/gojek/feast/issues/479
I think we might be able to keep the data model more consistent between old (0.3) and new (0.4+) Feast.

A belated thanks for getting the ball rolling on this! I've been reluctant to push forward on it myself due to a few reasons I'll give below.
Couple of general remarks from my PoV when we get back 'round to this:

Cassandra-backed job management DB is a new feature for which I'd prefer to be proposed as a separate PR.

I'm 👎on upgrading to v4 of the Cassandra driver for Serving, until Beam does. Unless there's a very strong reason, I feel that using different versions of significant dependencies across Feast components will ultimately bring more pain and confusion than it's worth. Dependency version declarations should probably go in the root POM's <dependencyManagement> as a default development practice, in hindsight we should've put the Cassandra driver's there in the original PR.
Now, v4 finally shades its Guava dependency, which is a perennial pain and may very well qualify as "a very strong reason", but I think justification would need to be explained since v3 worked for Serving thus far, modulo the small Guava downgrade that aligned compatibility.

Coming back to what has stalled me:

Wanting to have versions removed before touching Cassandra schema / keys again for Projects (#386, has a new RFC). This is more out of operational inertia for migrating existing deployments than worry of implementation changes, which I don't expect will be large or difficult at the storage tier. It doesn't have to block a PR like this from bringing Cassandra support to new Feast users, if they can accept that possibility that data model may change soon-ish.
Similar but broader, #479 that @woop mentioned.
And now, maybe aligning the implementation to #567 as that comes together.

Just want to chime in her as well. The effort that has been put into this is very impressive @Wirick. Forward porting Cassandra support would be pretty big.
I'll into comment specifically on the PR itself at the moment, but I'll echo the reasons for delaying this forward port previously. #386 is a big change, but dare I say relatively predictable in how it will change the our APIs. #567 will hopefully add structure to this PR and others, and should not bring any big surprises. I'd argue that we would have to wait for these to both be merged in.
The biggest uncertainty for me is still which path we will take with regards to feature references and our data model, documented in #479. Getting the API right is critical. We have one more window of opportunity (with the removal of versions) to potentially make other breaking changes. If possible I'd want to come to some kind of consensus in that issue as well before merging this PR, but it probably does not have to be a blocker.

@ches @woop I generally agree with everything that we've discussed. In our case because of what I was outlining in https://github.com/gojek/feast/issues/479 we've mostly abstracted the api into a centralized module called features, which can be used to create, publish and serve features using minimal feast API interaction. This means it's relatively to stay up to date as long as we change those integration points. I'm going to be keeping this current with master, because some recent changes, such as the new feature value metrics provide a lot of value, and I'm the boldly going forward type. I'm fine waiting and rebasing as development proceeds. In terms of the new drivers I've been really enjoying the new api and creation of cassandra sessions especially, and don't think that having a different dependency in ingestion outweighs the significant improvement in intuitiveness. But at the end of the day I'm flexible


msmtp: add module

msmtp is a simple mail transfer agent (MTA).

@teto Here is a revised msmtp module, based on yours with some modifications. Please have a look and see what you think.

I've been trying to rebase https://github.com/rycee/home-manager/pull/318 but now msmtp has lost the sendCommand aspect. I wish we had some way to setup a default send command and avoid forcing the user to provide one. How do you want to achieve that ?


Enhancement of the README>md file.

📚 Documentation
(A clear and concise description of what the issue is.)
The README.md file has to be updated by mentioning the listing of this project in DWOC or in any other open source programs. Also there are a lot of grammatical mistakes in the README.md file that needs to be corrected.
Have you read the Contributing Guidelines on Pull Requests?
Yes.
(Write your answer here.)

Hi @TesseractCoding. Please assign me this issue under DWOC.

Which README file are you mentioning here?
Maybe DWOC is closely related to our organisation but this is an altogether a different project. So I'm not sure what you are mentioning here. Although @HarshCasper  can help us both here.

And for the grammatical mistakes if you find any be sure to raise a PR for that.

Raise a PR for grammatical mistakes. No need of having Issues here.
For a completely new README, make a proposal on the Discussions


MKLDNN-1.0 doesn't support slice operator for Large Tensor

Description
when MXNet is built for CPU MKL slice operator doesn't work.
Error Message
could not initialize a sub-memory
To Reproduce
Use MXNET cpu build with MKL and MKLDNN enabled from master
Steps to reproduce
(Paste the commands you ran that produced the error.)

Run command MXNET_TEST_COUNT=1 nosetests --logging-level=DEBUG --verbose -s tests/nightly/test_large_array.py:test_slice

Environment
Ubuntu 16.04 DeepLearning AMI
We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below:
curl --retry 10 -s https://raw.githubusercontent.com/dmlc/gluon-nlp/master/tools/diagnose.py | python

# paste outputs here

----------Python Info----------
Version      : 3.6.4
Compiler     : GCC 7.2.0
Build        : ('default', 'Jan 16 2018 18:10:19')
Arch         : ('64bit', '')
------------Pip Info-----------
Version      : 18.0
Directory    : /home/ubuntu/anaconda3/lib/python3.6/site-packages/pip
----------MXNet Info-----------
/home/ubuntu/anaconda3/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Version      : 1.6.0
Directory    : /home/ubuntu/incubator-mxnet/python/mxnet
Num GPUs     : 0
Hashtag not found. Not installed from pre-built package.
----------System Info----------
Platform     : Linux-4.4.0-1095-aws-x86_64-with-debian-stretch-sid
system       : Linux
node         : ip-172-31-82-110
release      : 4.4.0-1095-aws
version      : #106-Ubuntu SMP Wed Sep 18 13:33:48 UTC 2019
----------Hardware Info----------
machine      : x86_64
processor    : x86_64
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                32
On-line CPU(s) list:   0-31
Thread(s) per core:    2
Core(s) per socket:    16
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 79
Model name:            Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
Stepping:              1
CPU MHz:               2700.882
CPU max MHz:           3000.0000
CPU min MHz:           1200.0000
BogoMIPS:              4600.08
Hypervisor vendor:     Xen
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              46080K
NUMA node0 CPU(s):     0-31
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single kaiser fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx xsaveopt
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0127 sec, LOAD: 0.4722 sec.
Timing for GluonNLP GitHub: https://github.com/dmlc/gluon-nlp, DNS: 0.0003 sec, LOAD: 0.3578 sec.
Timing for GluonNLP: http://gluon-nlp.mxnet.io, DNS: 0.0976 sec, LOAD: 0.0698 sec.
Timing for D2L: http://d2l.ai, DNS: 0.0259 sec, LOAD: 0.1256 sec.
Timing for D2L (zh-cn): http://zh.d2l.ai, DNS: 0.1084 sec, LOAD: 0.1252 sec.
Timing for FashionMNIST: https://repo.mxnet.io/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0288 sec, LOAD: 0.4309 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0025 sec, LOAD: 0.0944 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0015 sec, LOAD: 0.0324 sec.

@pengzhao-intel @TaoLv

@mxnet-label-bot add [MKLDNN]

@rongzha1 @wuxun-zhang  could you take a look ASAP?

@access2rohit is this a necessary part for r1.6 or we can fix in master?

@pengzhao-intel I am looking into this.

Can't reproduce this case in our skylake machine . Will keep debug
(mxnet) [rongzha1@mlt-skx141 rong_git_mxnet]$ MXNET_TEST_COUNT=1 nosetests --logging-level=DEBUG --verbose -s tests/nightly/test_large_array.py:test_slice
test_large_array.test_slice ... mkldnn_verbose,info,Intel(R) MKL-DNN v1.0.0 (Git Hash 553c23fc020dfda19f8145e92e57b0e40ecdff56),Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) with AVX512BW, AVX512VL, and AVX512DQ extensions
mkldnn_verbose,create,cpu,reorder,simple:any,undef,src_f32:0:blocked:ab:f0 dst_f32::blocked:ab:f0,num:1,1000x49,0.00610352
mkldnn_verbose,exec,cpu,reorder,simple:any,undef,src_f32:0:blocked:ab:f0 dst_f32::blocked:ab:f0,num:1,1000x49,0.092041
ok

@access2rohit could you add some bt info? thanks

@rongzha1 Have you ever tried to build MXNet with USE_INT64_TENSOR_SIZE=1?

@TaoLv Yes, we have enabled the int64 flag, building command is make USE_OPENCV=1 USE_MKLDNN=1 USE_BLAS=mkl USE_INT64_TENSOR_SIZE=1 USE_INTEL_PATH=/opt/intel -j.
I also cannot reproduce this issue. However, I found another bug about the offset assignment in slice and will file a PR soon.

Also tested with AWS EC2 m5.8 instance, and found no error (master commit 3c404a512829d2894ffe3612dc3cb29a12a36597).
ubuntu@ip-172-29-133-38:~/incubator-mxnet/tests/nightly$ MXNET_TEST_COUNT=1 nosetests --logging-level=DEBUG --verbose -s test_large_array.py:test_slice
test_large_array.test_slice ... mkldnn_verbose,info,Intel MKL-DNN v1.0.4 (commit a0a87d662edeef38d01db4ac5dd25f59a1f0881f)
mkldnn_verbose,info,Detected ISA is Intel AVX-512 with AVX512BW, AVX512VL, and AVX512DQ extensions
mkldnn_verbose,exec,cpu,reorder,simple:any,undef,src_f32:0:blocked:ab:f0 dst_f32::blocked:ab:f0,num:1,1000x49,0.045166
ok

----------------------------------------------------------------------
Ran 1 test in 1.625s

OK

Env Configuration:
----------Python Info----------
Version      : 3.6.6
Compiler     : GCC 7.2.0
Build        : ('default', 'Jun 28 2018 17:14:51')
Arch         : ('64bit', '')
------------Pip Info-----------
Version      : 19.3.1
Directory    : /home/ubuntu/anaconda3/lib/python3.6/site-packages/pip
----------MXNet Info-----------
Version      : 1.6.0
Directory    : /home/ubuntu/incubator-mxnet/python/mxnet
Num GPUs     : 0
Hashtag not found. Not installed from pre-built package.
----------System Info----------
Platform     : Linux-4.4.0-1096-aws-x86_64-with-debian-stretch-sid
system       : Linux
node         : ip-172-29-133-38
release      : 4.4.0-1096-aws
version      : #107-Ubuntu SMP Thu Oct 3 01:51:58 UTC 2019
----------Hardware Info----------
machine      : x86_64
processor    : x86_64
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                32
On-line CPU(s) list:   0-31
Thread(s) per core:    2
Core(s) per socket:    16
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 85
Model name:            Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz
Stepping:              4
CPU MHz:               2499.998
BogoMIPS:              4999.99
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              1024K
L3 cache:              33792K
NUMA node0 CPU(s):     0-31
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc aperfmperf tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single kaiser fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f rdseed adx smap clflushopt clwb avx512cd xsaveopt xsavec xgetbv1 ida arat pku
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0013 sec, LOAD: 0.4353 sec.
Timing for GluonNLP GitHub: https://github.com/dmlc/gluon-nlp, DNS: 0.0002 sec, LOAD: 0.5455 sec.
Timing for GluonNLP: http://gluon-nlp.mxnet.io, DNS: 0.1184 sec, LOAD: 0.0858 sec.
Timing for D2L: http://d2l.ai, DNS: 0.0190 sec, LOAD: 0.2150 sec.
Timing for D2L (zh-cn): http://zh.d2l.ai, DNS: 0.0027 sec, LOAD: 0.1508 sec.
Timing for FashionMNIST: https://repo.mxnet.io/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0250 sec, LOAD: 0.4320 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0011 sec, LOAD: 0.1035 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0017 sec, LOAD: 0.0272 sec.

@pengzhao-intel I tried with branch v1.6.x @rongzha1 can you try with that branch too.
Also, I never got this message in my run
mkldnn_verbose,info,Intel MKL-DNN v1.0.4 (commit a0a87d662edeef38d01db4ac5dd25f59a1f0881f)
mkldnn_verbose,info,Detected ISA is Intel AVX-512 with AVX512BW, AVX512VL, and AVX512DQ extensions
mkldnn_verbose,exec,cpu,reorder,simple:any,undef,src_f32:0:blocked:ab:f0 dst_f32::blocked:ab:f0,num:1,1000x49,0.045166

@access2rohit is this a necessary part for r1.6 or we can fix in master?
@pengzhao-intel
Yes, it is very important for Deep Graph Library(DGL) support that relies heavily on slice operator.

You can try to use export MKLDNN_VERBOSE=1 to get these logs.
Also I just filed a PR releated to slice op, but not sure if it will resolve this issue. Could you help double check?

PR for the fix: https://github.com/apache/incubator-mxnet/pull/16737

Glad it works.


Column sizing in search window broken

Starting with version 0.35, the search window opens up with unusable column sizes. The third column, containing something like the note filename, occupies way too much space, leaving only little space for the "Name" and "Last Change" columns. However, I'm rarely interested in a note's filename. The "Name" and "Last Change" columns are much more important. These colums should be assigned most of the available width.

Yes, thats not intentional. But 0.35 has a lot of changes wrt that ListView. I am not seeing on my day to day systems, what OS (and widgetset, desktop if applicable) do you use ?  It might be a DPI scaling issue...
Davo

This is Plasma on Kubuntu 20.04 and 22.04.

Hmm, I don't have a Kubuntu VM right now, I am not seeing it on either Gnome or Mate desktops, just tried. More I think about it, more I think its DPI issue. Is your screen a hires one ? Do you know the resolution ?
Davo

I have standard displays with 1920x1080 on my desktop PC and 1366x768 on my laptop.

uwemock, I have not forgotten this issue, just been very busy .....
Davo

OK uwemock, I have tried this in a VM and do not see the issue you mention. The actual code that scales the columns in the Notes ListView is pretty old, has not changed for several versions, so there is something else happening here. So, some more questions (sorry !) -

I assume you are using the Qt5 version ?
I assume you mean the component in the lower right of the search window, the one with column heading of "name" and "last change" ?  From your description above I am pretty sure we are discussing the same thing but to be sure ....
If you scale the Search Window, grab bottom right corner and move in or out, does it still show the file names ?
Could you send me a screen shot please ?
 Note, you do not need to install this debug version !

Thanks !
Davo

I'm using the GTK2 version.
Correct.
When I resize the search window, the columns resize and I don't see the filenames any more.
I'll attach a screenshot.
Sure.

Oh, wow, thats hopeless, isn't it ? I have no idea what is happening here !
Attached is a tar.gz containing a new binary, its a GTK2 0.35 with a few extras but importantly, logs to console every time the Search Window is first displayed and then resized.  A handful of lines each time.  Please untar, and run the binary, you must first stop your existing tomboy-ng and you must run this one from the command line. eg -
./tomboy-ng
Now, please watch the console as it starts up. You should see nothing (or very little) until you open the Search Window, then you will get one block of log lines.  If you do not see that block of loglines when displaying the window, thats important.
Then resize the search window and you will see (probably) several more blocks. (you may now close the app).
Please send me, at least, the first and last block.
Thanks for helping with this.
David
tomboy-ng.tar.gz

With the binary you sent me, the search window comes up with proper column sizing...

Huh ?  Are you saying that this test binary solved the problem ?   Those numbers are showing what they should ....
(going to look back across recent commits ....)
Davo

Are you saying that this test binary solved the problem?

Yes!

OK, that is officially crazy !  There has been no change to the relevant code since before 0.35 came out, indeed, noting relevant to this issue for a lot longer !
Here, attached, is another binary, this time a ready to use one, that is, it does not generate logs when you resize the search window.
Please test it from the command line and if it also fixes this bug, if you are happy to do so, put it in place of your existing /usr/bin/tomboy-ng and test that !
Strange business ....
tomboy-ng.tar.gz

Works. Thanks.
I noticed that the new executable is significantly smaller than the previous one (~7MB -> ~5MB).

hmm, stranger and stranger. Built with different compilers, I use the 'risky' trunk version when developing, but for release, I use a formally released version (of the compiler). But I am surprised and will investigate all of this !
Thanks for reporting and helping but you have left me with a real mystery (or two) !
Davo

Hey, I just realised what I have just done, you now have a development version of tomboy-ng, it will probably have BUGS !!!
In particular, I have changed the way the search works, when you open the window focus should be moved to the search field as soon as you start typing, in fact, you loose the first character ;-(
I am pretty certain there is no chance of loosing any data but UI things are under dev, please update to 0.35a as soon as I release it !  (Now, that better be soon....)
Davo

I don't download Tomboy as a deb package any more. My previous version came from your repository, and it was version 0.35-2.

I have only released a 0.35-2 as an rpm, not a deb, the current deb is tomboy-ng_0.35-0_amd64.deb. You are using KUbuntu right ?  You would have needed a deb to install on any Ubuntu. The Debian Bookworm deb is 0.35-1 so it cannot be from there.
the number after the "0.35-" is a packaging number, should contain the same binary (5.6meg). But as I said, I have not even released a 0.35-2 deb.
I am a bit worried that you may have got it from somewhere masquerading as my github site. And that is a worry.
David

The version number comes from my package manager, so there must have been a deb package with that version number. The repository is at http://ppa.launchpad.net/d-bannon/ppa-tomboy-ng/ubuntu/.

Ah, the PPA. Of course. Thats a relief !  Yep, the PPA has 0.35-2, repackaged because of PPA (expletive deleted) requirements !
And yes, the binary is 7 meg,  must be something wrong with my workflow there but nothing you need to worry about !
Sorry, was getting a bit panicky there for a minute. All good.
I might run some tests with that PPA binary and see if I can explain what we see.
Thanks for your help and patience !
Davo

No sign of this problem in the newly released 0.35a but I an yet to release 0.35a as a PPA, will do so as soon as I can but the PPA is hard work !
Davo

uwemock, I am guessing you are no longer seeing the problem you reported here ?  The PPA will have pushed 0.36c to you ....
Davo

Correct

Good, lets close this ticket.
Davo


Rename num_font_atlases  to len.

Objective
Rename the num_font_atlases method of FontAtlasSet to len.
All the function does is return the number of entries in its hashmap and the unnatural naming only makes it harder to discover.

Changelog

Renamed the num_font_atlases method of FontAtlasSet to len.

Migration Guide
The num_font_atlases method of FontAtlasSet has been renamed to len.

Please add the corresponding is_empty that CI is asking for.


Paste not working on fresh install

Before Submitting Your Bug Report

[X] I have verified that there isn't already an issue reporting the same bug to prevent duplication.
[X] I have seen the FAQ.

Maccy Version (see 'About' window)
1.0.0 (31)
macOS Version
14.5
Maccy Settings
The hideFooter caused an issue.
defaults read org.p0deje.Maccy hideFooter
2024-07-10 18:06:14.129 defaults[20991:665006]
The domain/default pair of (/Users/REDACTED/Library/Containers/org.p0deje.Maccy/Data/Library/Preferences/org.p0deje.Maccy, hideFooter) does not exist

Removed it and this was the result.

defaults read org.p0deje.Maccy
{
    "KeyboardShortcuts_delete" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":51}";
    "KeyboardShortcuts_pin" = "{\\"carbonKeyCode\\":35,\\"carbonModifiers\\":2048}";
    "KeyboardShortcuts_popup" = "{\\"carbonModifiers\\":768,\\"carbonKeyCode\\":9}";
    "LaunchAtLogin__hasMigrated" = 1;
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "464 375 542 436 0 0 1470 919 ";
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2024-07-09 19:01:33 +0000";
    enabledPasteboardTypes =     (
        "public.rtf",
        "public.file-url",
        "public.tiff",
        "public.utf8-plain-text",
        "public.png",
        "public.html"
    );
    ignoredPasteboardTypes =     (
        "net.antelle.keeweb",
        "com.agilebits.onepassword",
        "de.petermaurer.TransientPasteboardType",
        "com.typeit4me.clipping",
        "Pasteboard generator type"
    );
    migrations =     {
        "2020-04-25-allow-custom-ignored-types" = 1;
        "2020-06-19-use-keyboardshortcuts" = 1;
        "2020-09-01-ignore-keeweb" = 1;
        "2021-02-20-allow-to-customize-supported-types" = 1;
        "2021-06-28-add-title-to-history-item" = 1;
        "2021-10-16-remove-dynamic-pasteboard-types" = 1;
        "2022-08-01-rename-suppress-clear-alert" = 1;
        "2022-11-14-add-html-rtf-to-supported-types" = 1;
        "2023-01-22-add-regexp-search-mode" = 1;
    };
    searchMode = fuzzy;
}

Description
I've followed instructions in the FAQ to give Maccy permission to paste but it's still not working.
Steps to Reproduce

Download newest
Follow FAQ to give access
Try pasting

Please enable "Paste automatically" in preferences.


Use a custom implementation of NCronJob as simple task scheduler

Original repo: https://github.com/linkdotnet/NCronJob
Things to change/ optimize:

Add option for local/ UTC time

JobScheduler.zip

Check if we want to replace NCrontab with our own simple cron parsing implementation.
Help:

https://regex101.com/r/cU7zG2/1
https://regexr.com/4jp54
https://www.codeproject.com/Tips/5299523/Regex-for-Cron-Expressions

Writing a simple cron expression parser.pdf

JobScheduler.zip

Update JobScheduler see updates in https://github.com/linkdotnet/NCronJob/releases/tag/v1.0.2

Add convenient helpers to define the schedule time (.Hourly() or .Daly())
see https://spark-framework.net/docs/job-scheduling/


Bundler ignores rbenv env for gems

Bundler inside rbenv tries to install gems into system root, but should install into .rbenv env home :
$ bundle
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..

Your user account isn't allowed to install to the system RubyGems.
  You can cancel this installation and run:

      bundle install --path vendor/bundle

  to install the gems into ./vendor/bundle/, or you can enter your password
  and install the bundled gems to RubyGems using sudo.

  Password:

To confirm using of the system location after the installation:
$ bundle show fastlane
/Library/Ruby/Gems/2.0.0/gems/fastlane-2.26.1

$ gem which fastlane
ERROR:  Can't find ruby library file or shared library fastlane

Btw, classic gem install works perfectly fine:
$ gem install byebug
Fetching: byebug-9.0.6.gem (100%)
Building native extensions.  This could take a while...
Successfully installed byebug-9.0.6
Parsing documentation for byebug-9.0.6
Installing ri documentation for byebug-9.0.6
Done installing documentation for byebug after 15 seconds
1 gem installed

$ gem which byebug
~/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/byebug-9.0.6/lib/byebug.rb

rbenv rehash didn't help. Additional info:
$ rbenv versions
  system
* 2.3.1 (set by ~/<project>/.ruby-version)

$ cat .ruby-version
2.3.1

$ gem env home
~/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0

$ tail -1 ~/.bash_profile
eval "$(rbenv init -)"

$ brew info rbenv
rbenv: stable 1.1.0 (bottled), HEAD
Ruby version manager
https://github.com/rbenv/rbenv#readme
/usr/local/Cellar/rbenv/1.1.0 (36 files, 63.2KB) *
  Poured from bottle on 2017-05-03 at 17:04:50
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/rbenv.rb
==> Dependencies
Recommended: ruby-build ✔
==> Options
--without-ruby-build
	Build without ruby-build support
--HEAD
	Install HEAD version

echo $PATH
~/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Applications/Postgres.app/Contents/Versions/latest/bin:~/bin:~/Library/Android/sdk/platform-tools:~/Library/Android/sdk/tools:~/Library/Android/sdk/tools/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin

I am not quite sure either this is the rbenv issue or the bundler one. But I suppose bundler should not care about specific rubyenv tools and work from the box with any of a ruby management system.

I've deleted system bundler and install local one linked to custom ruby from rbenv:
$ cd <project>
$ gem install bundler
...
1 gem installed
$ gem which bundler
~/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler.rb

but
$bundle
/Library/Ruby/Site/2.0.0/rubygems.rb:271:in `find_spec_for_exe': can't find gem bundler (>= 0.a) (Gem::GemNotFoundException)
	from /Library/Ruby/Site/2.0.0/rubygems.rb:299:in `activate_bin_path'
	from /usr/local/bin/bundle:23:in `<main>'

So, even if a gem is installed into a proper dir, bundler does not see it there.

@nonkor You were on the right track by installing bundler gem in the current Ruby version. gem which bundler shows that you've done it corretly. However, I'm not sure why bundle still goes to /usr/local/bin/bundle (which should not exist, and you should uninstall it) and not to ~/.rbenv/shims/bundle. Perhaps you need to rbenv rehash so that ~/.rbenv/shims/bundle can appear?

hey @mislav
Today I've played a bit with .bash_profile. I added export PATH=$PATH:$HOME/.rbenv/shims despite the fact $PATH already refers to shims. Magically, It helped. But even after deletion that line and restarting OS it works as expected now. Honestly speaking, right now I cannot reproduce the issue, so, I assume we can close it.
Thanks for your reaction!

If you have a line that looks like eval ... rbenv init in your ~/.bash_profile (as per rbenv install instructions), you don't need to manually add the shims/ directory to the PATH. But I'm glad you solved it!
Please close your own issues when they are not an issue anymore. 😉


Disable checking of contracts.

We've historically accomplished this with -AsuppressWarnings, but this
CL's solution may be more general. Also, it avoids running some code
entirely, which saves us from having to keep that code updated for the
very new JDKs that we run with. (It might also help performance if we're
lucky, and maybe it moves us a step closer to not needing JavaParser
(though that may be on the way out, anyway).)

Merging despite pre-existing CI failures, for which I've filed https://github.com/jspecify/jspecify-reference-checker/issues/184 and created https://github.com/jspecify/jspecify-reference-checker/pull/185.


[Feature Request]: Fetch 'chart' data when loading a map layer with a chart configuration and display it in the tooltip

Provide a clear and concise description of what you want to happen.
Since we have pre-extracted admin level data for a few layers (HDC stats api used for charts), we could start displaying that information to users without having to run an analysis. This just an idea for exploration now, but I would like to know how easy it would be to make the stats api call to retrieve admin level data for a layer, and then display the mean value in the tooltip when a user clicks on a layer.
Is there anything else you can add about the proposal? You might want to link to related issues here, if you haven't already.
No response

@gislawill - I'll add more details here when I get a minute


Not reading dsn config at compile time

This PR attempts to fix #440.
As described in the bug report, the :dsn config value got read at compile time, failing if something else then a value that can be parsed by URI.parse/1 is present.
I added a test as well but I'm not 100% happy as it does not confirm that Sentry.config.dsn/0 is not called at compile time but rather that a call to root_source_code_paths does not evaluate the dsn config variable. Calling get_config without the check_dsn: false option at compile time somewhere else will result in the same error and is not catched by my test. I'm currently not sure on how to test this.

Thank you so much for catching this and sending a fix!
I will look further into the case you mentioned, but I think releasing this fix is more urgent 🙂

Thanks for the fast response! I'm glad I could contribute back!


’IdentityError‘、’Description‘ and ’Resources.resx‘

In Identity， all error descriptions  are   in Resource.resx. The Language  is English。
and  in  my program,I want output other Language。
so, how i can do ?

https://github.com/aspnet/Identity/issues/991#issuecomment-256516328
hhhhhhh


How to add your drones into customized environments? Could you provide source codes of your environments?

Thank you for your marvelous work!
How to add your drones into customized environments?
Could you provide source codes of your environments?
Any help is appreciated.

Hello,
The source project file is not available for now. We plan on releasing it soon.

Is your source project available now?


Microsoft Update in Windows 2000, XP

Will support be added to enable microsoft update in windows 2000 and xp versions to allow updating old office products?

Ah ok thank you for the clarification, i guess i was thinking about the old office update website that used to update office 97 and 2000, but i dont think that was supported in v6.


AfterEffects: Move implementation to OpenPype

Brief description
Moved AfterEffects implementation to OpenPype repository.
Changes

moved code from from avalon core to OpenPype repository
renamed function stub to get_stub
function stub is not called in global spaces of plugin files

Notes

not sure if Creator from avalon repository is used anywhere
collect render seems to have few issues in code that may dramatically change publishing behavior

Testing notes:
I've didn't test it at all because I don't have AfterEffects.

everything should work as before
[ ] Launch application
[ ] Creation
[ ] Loading
[ ] Publishing

Task linked: OP-2404 Move AfterEffects to OpenPype


synonym and new term

Hi,
Synonym:
Can we add 'ketoacyl-ACP synthase' as synonym to the
term GO:0004315
New term:
Hydroxyacyl-ACP Dehydrase
Thanx
Suparna
Reported by: smundodi
Original Ticket: "geneontology/ontology-requests/1515":https://sourceforge.net/p/geneontology/ontology-requests/1515

thanks www.movied.org


Searched a newer version but can't update

My System: Windows 10.0.18363
My PowerShell: PowerShell 7.0.0-rc.2

See https://github.com/lukesampson/scoop/issues/3812#issuecomment-569715241


Login page Still accessable to Logged In users

Description
After Login, The login page should not be accessable.
Hence The session might not be properly invalidated after logout.
And , There must be a validations before accessing the pages.
Screenshots

Additional information
No response
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

I would like to work on this issue @Yash636261 , can you please assign it to me ?

assigning to you @Rahulsingh1939  , you can start working on it.

hey @Rahulsingh1939 you still working on it ? if not I'm open to work upon it rigth away @Yash636261 please assign it to me.