feat: use getRepository instead of createEntityManager

Hi,
first of all, thank you for porting the original repository to support later TypeORM versions.
My PR is a rather short one and I frankly don't know if my intended solution is too niche for the bigger picture on how general this library needs to be. But maybe I hope I can win you over. I have tapped into TypeORM only for about a week, so my judgement call might not well educated.
I am currently improving the test suite for a NodeJS project, trying to make the integration-testing developer experience as close to batteries included ecosystem like Python Django or Ruby on Rails, which was the reason why I came across your predecessor's library to support a factory_girl like pattern.
Besides adding a factory pattern to create test entities, I had also integrated this library to support isolating test cases inside their own transactions which can be rolled back after execution. The problem is, that now the typeorm-factory entities are created in different transaction contexts, because each Factory.create(...) creates a new EntityManager instance.
The typeorm-transactional works by patching the DataSource.manager and EntityManager.prototype.getRepository (in contrast to createEntityManager). After some consideration where to fix my issue, I came to the conclusion that I'd rather fix this issue on the factory side, because the factories operate on a higher level of the stack and there are probably good reasons not to patch createEntityManager or even the underlying EntityManagerFactory to keep special use cases intact, where the manager creation is needed to for custom SQL queries.

@tillkolter I think the better approach would be to do this.dataSource.manager which is more compatible to the way it works currently. Using repos is an unnecessary wrapper. We could do a protected method getEntityManager() on the level of Factory and default to current implementation but allowing us to override it and keep general transaction.
Breaking out of current transaction still makes sense for some cases and changing it by default is not backward compatible. Let me quickly draft another PR with alternative implementation.


Problem to Add Dream L10s Ultra

Hello,
I need some help.
I use the v2.0.0b16 Version an want to add the Dream L10s Ultra trought this Integration.
When I try login, I always get the message „ No supported devices were found in this account for the selected country."
I tried the way trought Dream App and Xiaomi as well.
always the same fault.
What I‘m doing wrong. Can some please help?
Thanks

Will be that possible in near future or should I send it back and chose an other one ?


Pipe adjustments to handle tuple-based declarations for pipelines and middlewares

todos:

[x]  update pipelines and corresponding tests once #29 is merged

[x] WriteToFile pipeline remaining

[x] update middlewares and corresponding tests

[x] add custom middleware example

[ ] logger warn users that are still using global env declaration, show example of correct tuple declation w/ example

[x] update user docs, deprecation warning for global configs, quickstart

[x] update dev docs, doc for Crawly.Utils.pipe, best prac for handling pipeline arguments

related to #22

codebase should avoid using Application.put_env and Application get_env.
Since this PR also affects middleware declarations, the middlewares will also have to be updated.
Application get_env can be used as a fallback for getting args during transition period

[ ]  dev docs, guide on creating custom pipelines

@oltarasenko Completed, could you review?
The logger warnings can be moved to a separate issue, as they're not critical and documentation has already been updated.

I have some really minor comments I want to address, otherwise great job @Ziinc !
** I still feel a bit uncomfortable about the fact that we don't have an explicit item definition outside of the pipelines scope.

@Ziinc Please also sqash commits!

I think I can adjust the docs such that the tuple definitions act more as an escape hatch for advanced use cases. Would that be alright @oltarasenko

Looks good to me. But still, I would want to ask you to rewrite the commit message & fix the:
warning: variable "value" is unused
  test/middlewares/user_agent_test.exs:20
Compilation failed due to warnings while using the --warnings-as-errors option
The command "mix coveralls.travis" exited with 1.
cache.2
store build cache

reported by Travis.

Made the changes. Not so used to squashing commits. 😄

Great work! Thanks for your contribution. I have approved the PR!


chore(backport): use ubuntu-latest in workflow

Backporting https://github.com/cdk8s-team/cdk8s-core/pull/1079 failed because it uses ubuntu-18.04 and there is a scheduled brownout period right now.
This is a scheduled Ubuntu-18.04 brownout. The Ubuntu-18.04 environment is deprecated and will be removed on April 1st, 2023. For more details, see https://github.com/actions/runner-images/issues/6002

Lets just use ubuntu-latest.

💚 All backports created successfully

Status
Branch
Result

✅
1.x

Questions ?
Please refer to the Backport tool documentation


Topics menu

Implementation of a menu panel that displays topics and their catalog

Comments inline

sorry for recognizing this so late but....

the ba-dev-info-component seems to be sticked with the position of topic-nodes/leafs and moves up/down when the topics are scrolled up/down

the i-Symbol in the information-Button is partially hidden.

sorry for recognizing this so late but....
1. the `ba-dev-info`-component seems to be sticked with the position of topic-nodes/leafs and moves up/down when the topics are scrolled up/down

2. the i-Symbol in the information-Button is partially hidden.

Created an issue for that.


tutorial for beginner....help me

hi,  guys.
'kafkajs' is hard to understand. So I try to tutorial, but failed.
i am using just 'react.js' and 'visual studio'
and this is my step for using 'kafkajs'
step 1.
npm install kafkajs
setp 2.
I try this code in 'https://www.npmjs.com/package/kafkajs's Usage
const { Kafka } = require('kafkajs')

const kafka = new Kafka({
  clientId: 'my-app',
  brokers: ['kafka1:9092', 'kafka2:9092']
})

const producer = kafka.producer()
const consumer = kafka.consumer({ groupId: 'test-group' })

const run = async () => {
  // Producing
  await producer.connect()
  await producer.send({
    topic: 'test-topic',
    messages: [
      { value: 'Hello KafkaJS user!' },
    ],
  })

  // Consuming
  await consumer.connect()
  await consumer.subscribe({ topic: 'test-topic', fromBeginning: true })

  await consumer.run({
    eachMessage: async ({ topic, partition, message }) => {
      console.log({
        partition,
        offset: message.offset,
        value: message.value.toString(),
      })
    },
  })
}

run().catch(console.error)

but, errors occurred. what happend?
no one explains to me. please answer me.
what more do you need?......

Please see Can KafkaJS be used in a browser?


Add Toxiproxy module

Based on https://gist.github.com/rnorth/4c3666d62fa93bf0daa813b282e4ebff, in turn based on hotels.com’s blog post where they show use of Testcontainers with Toxiproxy.
Having seen Toxiproxy and experimented with it, I'm inclined to go with this and suggest that we not move forward with #283 (which is a great PR, but we've unfortunately failed to land after quite a long time). While Pumba may be nice and transparent, there are a lot of moving parts and complexity under the covers, vs Toxiproxy, which is a bit less magical but easier to understand.

This is brilliant :)
Thank you so much for this work!

Releasing this in 1.11.0 🎉


Add brightness functionality

Hi!
First, thank you for creating this command line tools!
Next, I'd like to submit this PR to add brightness functionality, since I've started using it and feel like missing this important feature.
Comments or reviews are appreciated!

Hello ariqfadlan,
I'm glad you like the tool! Thank you for the PR. I have also wanted to add brightness control. I will review it and get back to you soon.
Do you happen to know what your Philips smart bulb information is? Have you had any issues using wizcon with your bulb? Mine is as follows reported from the Wiz app:
Philips A19
Firmware version 1.22.0
Model ID 23007

Here's some information about my bulb

Description
Value

Model
AE27

Firmware Version
1.17.1

Model ID
23032

Most importantly, my bulb is the Tunnable White variant--which lacks of RGB color. Given that, I don't find any issues as long as I supplied wizcon with supported scene (as per mobile app).

Thanks for the bulb info. I did a quick test of your pull request and the brightness is working, very nice. I should have some additional commits and be able to merge this coming week.

Ariq I see you removed the colored scenes since you have a white bulb. What happens if you use wizcon to send a non-supported color scene ID to your bulb? Does wizcon fail gracefully? e.g. command returns with error, or command is ignored? Or does it lock up or become unresponsive?
To support both RGB and white bulbs, it would be easiest if we left the entire RGB scene ID numbers intact. Otherwise we might have to add a -w white bulb switch or convert between RGB and white scene ID numbers.

What happens if you use wizcon to send a non-supported color scene ID to your bulb?

To reproduce I could run
$ wizcon -si 8 <IP addr> ON
then the command will successfully execute with no error.
However, on this branch, I could also run
$ wizcon -si 8 -b 20 <IP adddr> ON
After that, the command still exits cleanly and the bulb will respond to background change only.
This is actually expected as per this Wiz help center page.

Ariq I see you removed the colored scenes since you have a white bulb.

I maintained my own fork for my personal use. This PR doesn't correlate with that functionality change. Only brightness-related enhancement will brought by this PR.
Should you want to examine the code change, please refer to https://github.com/rgomezjnr/wizcon/pull/1/files

I understand, thanks, I was looking at your fork.
I've already incorporated your commits and added a few more in https://github.com/rgomezjnr/wizcon/tree/brightness. When I try to change your PR to my base branch brightness GitHub says there are no new commits. Should I simply close this PR now?

Sure! Thank you!
P.S. you've got a typo at this line 😄

I corrected your name, thank you for catching that!
First I cloned your repo, then I realized it wouldn't work for me since I have the RGB bulb. So I fetched your PR using
git fetch origin pull/1/head:brightness
I'll just close this PR since your commits are in my brightness branch. In the future, if I receive a pull request on master and I want to pull it into a feature branch instead, should I first create a new branch, then change the base branch to the new branch in GitHub?

In the future, if I receive a pull request on master and I want to pull it into a feature branch instead, should I first create a new branch?

Yes, according to docs, you'd have to create a new branch, push it to GitHub, and let the PR author know to update the base branch--from master to feature branch.

then change the base branch to the new branch in GitHub?

I think this should be accomplished by the PR author, not the repo owner (unless the owner is one that open the PR).

Thanks for explaining and for the contribution. I manually merged and pushed brightness branch to master and GitHub automatically updated and closed the PR.


cmake 3.5.0

updated sha and version

Thank you for the contribution. It was merged directly as c3b5389ee8c9802e47b6398d86202bea94370db2 to keep commit history cleaner. Your contribution is still credited to you.


time of tensorflow1.14 built from source perfroms worse than tensorflow1.14 from pypi

System information

OS Platform and Distribution : Linux Ubuntu 16.04
TensorFlow installed from: source
TensorFlow version:1.14.0
Python version:3.6.2
Installed using :pip
Bazel version: 0.25.2
GCC/Compiler version: 5.4.0
CPU: Intel Core i9-9900K

I want to speed up CPU inference on trained Mask R-CNN pb model.  So, I followed instructions on tensorflow webpage here and method from intel here.
Here is .tf_configure.bazelrc after running ./configure

build --action_env PYTHON_BIN_PATH="/home/allen/miniconda3/envs/tf1_mkl/bin/python"
build --action_env PYTHON_LIB_PATH="/home/allen/miniconda3/envs/tf1_mkl/lib/python3.6/site-packages"
build --python_path="/home/allen/miniconda3/envs/tf1_mkl/bin/python"
build:xla --define with_xla_support=true
build --config=xla
build --action_env TF_NEED_OPENCL_SYCL="0"
build --action_env TF_NEED_ROCM="0"
build --action_env TF_NEED_CUDA="0"
build --action_env TF_DOWNLOAD_CLANG="0"
build:opt --copt=-march=native
build:opt --copt=-Wno-sign-compare
build:opt --host_copt=-march=native
build:opt --define with_default_optimizations=true
build:v2 --define=tf_api_version=2
test --flaky_test_attempts=3
test --test_size_filters=small,medium
test --test_tag_filters=-benchmark-test,-no_oss,-oss_serial
test --build_tag_filters=-benchmark-test,-no_oss
test --test_tag_filters=-gpu
test --build_tag_filters=-gpu
build --action_env TF_CONFIGURE_IOS="0"

Here is my bazel build command:
bazel build --config=mkl --cxxopt=-D_GLIBCXX_USE_CXX11_ABI=0 --copt=-march=sandybridge --copt=-mtune=ivybridge --copt=-O3 //tensorflow/tools/pip_package:build_pip_package
Next, I generated whl and installed successfully.
But time of sess.run of Mask R-CNN is about 1s per image, which is worse than tf1.14 installed from pypi.
**Here is the output using tensorflow installed from source **

WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:

https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
https://github.com/tensorflow/addons
https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.

WARNING:tensorflow:From time_compare.py:314: The name tf.app.run is deprecated. Please use tf.compat.v1.app.run instead.
WARNING:tensorflow:From time_compare.py:43: FastGFile.init (from tensorflow.python.platform.gfile) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.gfile.GFile.
W0219 12:14:37.498566<PHONE_NUMBER>21280 deprecation.py:323] From time_compare.py:43: FastGFile.init (from tensorflow.python.platform.gfile) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.gfile.GFile.
WARNING:tensorflow:From time_compare.py:44: The name tf.GraphDef is deprecated. Please use tf.compat.v1.GraphDef instead.
W0219 12:14:37.498702<PHONE_NUMBER>21280 module_wrapper.py:139] From time_compare.py:44: The name tf.GraphDef is deprecated. Please use tf.compat.v1.GraphDef instead.
Graph loaded.
WARNING:tensorflow:From time_compare.py:50: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
W0219 12:14:38.048038<PHONE_NUMBER>21280 module_wrapper.py:139] From time_compare.py:50: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
2020-02-19 12:14:38.048334: I tensorflow/core/platform/cpu_feature_guard.cc:145] This TensorFlow binary is optimized with Intel(R) MKL-DNN to use the following CPU instructions in performance critical operations:  AVX2 FMA
To enable them in non-MKL-DNN operations, rebuild TensorFlow with the appropriate compiler flags.
2020-02-19 12:14:38.070567: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2020-02-19 12:14:38.071554: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55ed8c786280 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-02-19 12:14:38.071582: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-02-19 12:14:38.072303: I tensorflow/core/common_runtime/process_util.cc:115] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance.
Image No.0 time cost:2.7566s/home/allen/ytzx/dataset/cwfp/v4/val2014/001002_r180_81445.jpg, time:2.756582736968994
Image No.1 time cost:0.9806s/home/allen/ytzx/dataset/cwfp/v4/val2014/001006_r270_80042.jpg, average time:0.9805862903594971

And here is inference output using tensorflow installed from pypi

WARNING:tensorflow:From time_compare.py:314: The name tf.app.run is deprecated. Please use tf.compat.v1.app.run instead.
WARNING:tensorflow:From time_compare.py:43: FastGFile.init (from tensorflow.python.platform.gfile) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.gfile.GFile.
W0219 12:15:57.491406<PHONE_NUMBER>24896 deprecation.py:323] From time_compare.py:43: FastGFile.init (from tensorflow.python.platform.gfile) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.gfile.GFile.
WARNING:tensorflow:From time_compare.py:44: The name tf.GraphDef is deprecated. Please use tf.compat.v1.GraphDef instead.
W0219 12:15:57.491531<PHONE_NUMBER>24896 deprecation_wrapper.py:119] From time_compare.py:44: The name tf.GraphDef is deprecated. Please use tf.compat.v1.GraphDef instead.
Graph loaded.
WARNING:tensorflow:From time_compare.py:50: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
W0219 12:15:58.086142<PHONE_NUMBER>24896 deprecation_wrapper.py:119] From time_compare.py:50: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
2020-02-19 12:15:58.086468: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2020-02-19 12:15:58.110562: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2020-02-19 12:15:58.111640: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x56350f20bfb0 executing computations on platform Host. Devices:
2020-02-19 12:15:58.111652: I tensorflow/compiler/xla/service/service.cc:175]   StreamExecutor device (0): ,
2020-02-19 12:15:58.891970: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set.  If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU.  To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.
Image No.0 time cost:1.2104s/home/allen/ytzx/dataset/cwfp/v4/val2014/001002_r180_81445.jpg, time:1.2104294300079346
Image No.1 time cost:0.376s/home/allen/ytzx/dataset/cwfp/v4/val2014/001006_r270_80042.jpg, average time:0.3759894371032715

Any suggestions or thoughts would be appreciated.

@allen-ash please note during the bazel build command: everything is done from scratch and the whl file is generated, which is not the case during pip installation, hence the time difference.

@Saduf2019 Thanks for your replay. Yes I understand that, I just want to know In which way from scratch can be optimizing time cost.
Considering currently command is bazel build --config=mkl --cxxopt=-D_GLIBCXX_USE_CXX11_ABI=0 --copt=-march=sandybridge --copt=-mtune=ivybridge --copt=-O3 //tensorflow/tools/pip_package:build_pip_package  didn't perfrom well.

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.


Create SECURITY.md

Add a SECURITY.md file based on the appropriate template for OSS projects 👀
Reference: https://github.com/github/primer/issues/1597#issuecomment-1379546672

FYI @lesliecdubs


Release notes for release 1.5.2 missing

I'd like to know what was released with version 1.5.2, like it exists for 1.5.1. :)
https://github.com/orika-mapper/orika/wiki/Release-notes-1.5.1

+1000 on this one .. Maybe @elaatifi knows

Still relevant for 1.5.3 and 1.5.4 ;)


Removal of two or more empty consecutive lines

I am not sure if this was discussed before (I didn't find an issue...), but I am quite surprised that rustfmt is pretty aggressive in removing empty lines. I often use two or even three consecutive empty lines in my code to clearly separate different sections. But those are always shrunken to only one empty line.
Is this expected behavior? Shouldn't this be at least configurable? :)

This could be configured via blank_lines_upper_bound. The default value is 1, hence empty lines are trimmed into a single line. Please set this to larger value.
We need an example on this in Configurations.md.

I will work on the Configurations.md example.


roles/setup/vars/RedHat-8.yml hardcodes the python version

roles/setup/defaults/main.yml
minimum_python_version: 3.9
But then roles/setup/vars/RedHat-8.yml hardcodes the version to be 3.9 and has an issue when the python version in use is 3.11
system_pip_package: python39-pip              <- These lines
python_executable: python3.9                  <- These lines
pip_executable: pip3.9                        <- These lines
receptor_packages:
  - receptor
  - receptorctl
systemd_folder: "/usr/lib/systemd/system"

roles/setup/vars/RedHat.yml does not have this issue
receptor_packages:
  - receptor
  - receptorctl
systemd_folder: "/usr/lib/systemd/system"

But on a RHEL 8 family system (ansible_os_family = RedHat), there seems to be no way to override ansible_distribution_major_version, even if set using -e on the command line

which version of python are you wishing to install (or is it already installed)?
can you override system_pip_package python_executable pip_executable with -e?
I realize we should probably do the python version checking task first, and then only do dnf installation of python if that check doesn't pass


udev rule stop working

Information

ratbagd version: 0.16
Distribution: Ubuntu 22.04
Kernel version: 6.5.0-26-generic

Device info (if applicable):
$ ratbagctl M720 info
singing-gundi - Logitech M720 Triathlon Multi-Device Mouse
             Model: bluetooth:046d:b015:0
 Number of Buttons: 9
    Number of Leds: 0
Number of Profiles: 1
Profile 0: (active)
  Name: n/a
  Button: 0 is mapped to 'button 1'
  Button: 1 is mapped to 'button 2'
  Button: 2 is mapped to 'button 3'
  Button: 3 is mapped to 'button 4'
  Button: 4 is mapped to 'button 5'
  Button: 5 is mapped to 'wheel-left'
  Button: 6 is mapped to 'wheel-right'
  Button: 7 is mapped to 'button 3'
  Button: 8 is mapped to UNKNOWN

Describe the bug
The following udev rule stop working
    SUBSYSTEM=="input", ATTR{name}=="M720 Triathlon Mouse", ACTION=="add", RUN+="/bin/su root -c 'ratbagctl M720\ Triathlon button 7 action set button 3'"

But if I run from the terminal
ratbagctl M720\ Triathlon button 7 action set button 3

then it works as expected. It also works fine to set the action from piper.

Some of the updates in my laptop changed the ATTR{name} to Logitech M720 Triathlon Multi-Device Mouse. After I modified the name, the udev rule is working again.


Add replication filter implement

Coverage increased (+0.2%) to 56.402% when pulling c4fa46416c42297feddd2b0b169b91dea9297c23 on ywk253100:171031_filter into 3565f60f5ba3690b2e889063c79f2a3d37c7bc23 on vmware:replication_enhancement.

Coverage increased (+0.2%) to 56.41% when pulling 82b400c049d11b02f93bc43b1ee0600eb026da85 on ywk253100:171031_filter into 3565f60f5ba3690b2e889063c79f2a3d37c7bc23 on vmware:replication_enhancement.


Pass new param to download_remote_source plugin

remote_source_configs is a new argument to be passed to the
download_remote_source plugin. It carries information on cachito request
configuration files.

CLOUDBLD-427

Signed-off-by: Athos Ribeiro<EMAIL_ADDRESS>Maintainers will complete the following section

[ ] Commit messages are descriptive enough
[ ] Code coverage from testing does not decrease and new code is covered
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request has a link to an osbs-docs PR for user documentation updates

Cc @mprahl

No docs PR: this is part of adding JS support to cachito builds. This will be documented when the work on supporting JS is complete.
Release notes:

Pass additional configuration to download_remote_source plugin


fix: DEV-3504: Retain history for Audio addRegion so init step of existing regions operates correctly

Hi @bmartel!
This PR was created in response to a PRs in upstream repo:

https://github.com/heartexlabs/label-studio-frontend/pull/877

/git merge develop


How to train with Crowdhuman dataset?

have u finish this problem？can u teach me to train deep sort


Not able to delete an aggregate using Aggregates API - Sensu 0.20.3

Hi,
I'm using Sensu 0.20.3 version.
I currently have a list of aggregates on my server as below. Using Aggregates API I am not able to delete aggregates that are upper case like JAVA, APACHE etc - the API returns 404 Not Found. The same DELETE request works ok (returning 204) on lower case aggregates.
[
  {
    "check": "check_mounts",
    "issued": []
  },
  {
    "check": "cron",
    "issued": []
  },
  {
    "check": "apache",
    "issued": []
  },
  {
    "check": "check_cron",
    "issued": []
  },
  {
    "check": "check_ssh",
    "issued": []
  },
  {
    "check": "JAVA",
    "issued": []
  },
  {
    "check": "mounts",
    "issued": []
  },
  {
    "check": "APACHE",
    "issued": []
  },
  {
    "check": "java",
    "issued": []
  },
  {
    "check": "MOUNTS",
    "issued": []
  },
  {
    "check": "tomcat",
    "issued": []
  },
  {
    "check": "updates",
    "issued": []
  },
  {
    "check": "SSH",
    "issued": []
  },
  {
    "check": "check_java",
    "issued": []
  },
  {
    "check": "CRON",
    "issued": []
  },
  {
    "check": "check_apache",
    "issued": []
  },
  {
    "check": "ssh",
    "issued": []
  },
  {
    "check": "check_updates",
    "issued": []
  },
  {
    "check": "UPDATES",
    "issued": []
  }
]

@JackBauer8301 Thank you for reporting this bug :+1:
Perhaps the endpoint regex - https://github.com/sensu/sensu/blob/master/lib/sensu/api/process.rb#L607

hi @portertech ,
that was my initial idea so I played with the regex a bit so that it matches both lower-case and upper-case characters but I couldn't make it work
Things I've tried:
%r{^(i?)/aggregates/([\w\.-]+)/?$} do |check_name|
%r{^/aggregates/([\A-Za-z\.-]+)/?$} do |check_name|

What seems weird to me is that I manually deleted all keys related to those aggregates from Redis but they still appear in Uchiwa.

Let's add a Sensu API spec for this and see if it is due to the API itself and guard against regressions. :+1:

Tagging for 0.24.

https://github.com/sensu/sensu/pull/1301

https://github.com/sensu/sensu/pull/1301 has been merged, tests pass with the 0.24 Aggregates 2.0 implementation :+1:


I have a question about Mesh.

Hello, it's a good day. I would appreciate it if you could understand that I use a translator because I can't speak English.
Mesh[] mesh = Importer.Import(path);
I created STL file that I want to import through the phrase, with several meshes.
But here, the meshes were divided into several pieces, so is there a standard for dividing the pieces?
I'm wondering if there's a way to bring the whole piece or divide it into the pieces you want. #

@karl- Is there anyone?
I would appreciate it if you could reply to this question after reading this.

The mesh is split into multiple pieces because we are not setting the index format to use 32 bit int, and thus is bound to a triangle count of ushort.MaxValue per-mesh.


Status of this repo

Hello, wondering what the status is on this repository. Currently using OSX 10.10, pip is unavailable and thus renders this module essentially useless. Several open pull requests are available and issues have been open for over a year without being fixed. I've noticed a few other modules, such as https://github.com/mloberg/puppet-python or https://github.com/hanjianwei/puppet-python that are atleast being maintained.
Could someone educate me on the status of python in boxen, if it is still supported, or what the plan is for this?
@dgoodlad @atmos - Any help much appreciated.
Error: Could not prefetch package provider 'pip': [nil, nil, nil, nil]
Error: /Package[fabric]: Could not evaluate: [nil, nil, nil, nil]
Notice: /Stage[main]/Python::Virtualenvwrapper/Python::Pip[virtualenvwrapper==3.7]/Exec[pip_install_virtualenvwrapper==3.7]/returns: Traceback (most recent call last):
Notice: /Stage[main]/Python::Virtualenvwrapper/Python::Pip[virtualenvwrapper==3.7]/Exec[pip_install_virtualenvwrapper==3.7]/returns:   File "/opt/boxen/homebrew/bin/pip", line 5, in <module>
Notice: /Stage[main]/Python::Virtualenvwrapper/Python::Pip[virtualenvwrapper==3.7]/Exec[pip_install_virtualenvwrapper==3.7]/returns:     from pkg_resources import load_entry_point
Notice: /Stage[main]/Python::Virtualenvwrapper/Python::Pip[virtualenvwrapper==3.7]/Exec[pip_install_virtualenvwrapper==3.7]/returns: ImportError: No module named pkg_resources
Error: /opt/boxen/homebrew/bin/pip install  virtualenvwrapper==3.7 returned 1 instead of one of [0]
Error: /Stage[main]/Python::Virtualenvwrapper/Python::Pip[virtualenvwrapper==3.7]/Exec[pip_install_virtualenvwrapper==3.7]/returns: change from notrun to 0 failed: /opt/boxen/homebrew/bin/pip install  virtualenvwrapper==3.7 returned 1 instead of one of [0]

The fabric error is coming from one of our internal modules, nothing strange there, except pip is unavailable.
  package {'fabric':
    provider => 'pip',
  }

Thanks a lot, everyone.

I'm wondering the same thing. Looks pretty dead?
@Tristan-zimmerman What did you end up using for Python? The two other modules you linked hasn't had any commits in a while either.

I've just started on boxen, and I had decent luck with https://github.com/mloberg/puppet-python.

https://github.com/mloberg/puppet-python is working well for me.

Worth mentioning https://github.com/boxen/boxen/issues/197

This repository is still being maintained. Unfortunately, I'm still working through a large-ish backlog of issues with the core modules and this is sitting behind those.
Let me know if you're interested in helping maintain this repository!


Allow anonymous contribution

The Open Food Facts server allows anonymous contributions. Some users don't want to create accounts.
Let users create new products anonymously

So we don't have to send user_id and password parameters on this link : "http://world.openfoodfacts.org/cgi/product_jqm2.pl" if they want to be anonymous?

If it's possible server-side, then it should be available in the mobile apps... users are particularly sensitive to have to enter credentials on phones, as it's annoying and attention spans are short.

It's possible server side. The Cordova OFF app allows to upload pictures and add product name, quantity, brand without a login / pass. Should work for other fields too.


⚠ api.piste.gouv.fr healthcheck has degraded performance

In edc6594, api.piste.gouv.fr healthcheck (https://api.piste.gouv.fr/cassation/judilibre/v1.0/healthcheck) experienced degraded performance:

HTTP code: 200
Response time: 5884 ms

Resolved: api.piste.gouv.fr healthcheck performance has improved in 7162f41.


Need to set PDF.js preferences

It seems that since pdf.js only honors prefers-color-scheme, setting privacy.resistFingerprinting = true will force it to be white, and people have been asking for a manual dark mode toggle for quite a while: https://github.com/mozilla/pdf.js/issues/12290
The official pdf.js team however seems to have made a pref specifically for this, but that doesn't apply to doqment for obvious reasons
Could a manual toggle be implemented?

Thanks for pointing this out! I did know of that pref, but I did not know about privacy.resistFingerprinting and its effect on prefers-color-scheme.
I would be hard-pressed to implement a manual toggle; even the original maintainers could not find a way to modify the needed CSS dynamically – see https://github.com/mozilla/pdf.js/pull/12625#issue-743267748. 🙃
A wider-scoped workaround would be to provide an Options page to set the pref, as well as the other prefs. This has been wanting since v0.1 and I've been planning to add one on the lines of the PDF.js Chrome extension.

it'd definitely be good enough!

provide an Options page to set the pref, as well as the other prefs.
oh that was what I meant by "manual toggle" oops

Great!

oh that was what I meant by "manual toggle" oops

Somebody was asking for a manual toggle button on the toolbar itself, so I thought you meant that. 😅
This should be ready by v0.3

I am deferring this to a future release. The Options page would need some work, and I have other finished features to ship.

@MagicalDrizzle Sorry about that! I'm sort of too busy to work on it at the moment. 😥
Meanwhile can you try the method given in https://github.com/shivaprsd/doqment/issues/5#issuecomment-1421103657? You'll have to execute something like:
PDFViewerApplication.preferences.set('viewerCssTheme', 2)    /* for dark */

It's not as convenient as an options page, still, better than nothing for the time being.

@shivaprsd It just returns a not defined error for me...

@MagicalDrizzle Can you tell me what OS & browser you use and their versions? And also the version of doqment?
The code should be executed in the console opened for a doqment tab, with or without any PDF loaded. But I guess you are doing just that, looking at the screenshot. I am curious why it shouldn't work.

Windows 10 19045.2965, Firefox 114.0.1, doqment v0.4

@shivaprsd It seems it only works when you open the extension page itself (so address bar shows the "ugly" moz-extension url)
If you paste it in a tab with something other than that (like when you paste the DOI in scihub) then it won't work (probably for obvious reasons)

On that particular page (and many others), the pdf is shown inside an

@KiitoX I had suspected this. But I didn't know the button shows up only in pages with iframes. Thanks for clearing it up!

It seems it only works when you open the extension page itself

@MagicalDrizzle Yes, correct. Just execute it with the value 2 in the extension page and reload it. It will then start to apply everywhere automatically, including iframes, so you don't have to do it again for the other page.
You can use the same command to revert it as well. The values are 0 = automatic (default), 1 = always light, 2 = always dark.

The Options page is in the works, and should be ready by the next release. The progress can be tracked here.
Currently it looks like this, embedded in Extension Settings in Firefox (feedback welcome):

The values are viewer defaults, but any overrides set via the console are respected; so migration won’t be a problem.

do your best!
I will say this extension has basically saved my eyesights as I look at sci-hub all the time at 2am...
I'm glad to be able to see it develop ^^

@MagicalDrizzle Version 0.7 in now live in the Add-ons store.
Happy New Year! 🎉


<IP_ADDRESS>.0

This PR updates the partner version to <IP_ADDRESS>.0 for release.
DO NOT MERGE

Released: https://github.com/ChartBoost/chartboost-mediation-android-adapter-vungle/releases/tag/v<IP_ADDRESS>.0


freezed package

I wonder why you don't use freezed package to make your code cleaner.

I already did for v2 :) when I started this I did not know much about options that will make code so much cleaner


swap label of scheduled_by_tenant_campaign

Use the same order for the labels and add metric removal at the same time as the removal of the schedule_queue metric.

Thank you!


When does setting change take affect?

After changing the "Office installation options" setting, this documentation would benefit from including how long it takes the setting to become active so that updates are pushed out.

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

ID: 7ae73873-0e39-3fab-4d9d-3129f7f32345
Version Independent ID: 3b5ba9ae-756a-149d-81e6-5eda13bf15e6
Content: Manage Office installation options in the Microsoft 365 admin center - Deploy Office
Content Source: DeployOffice/manage-software-download-settings-office-365.md
Service: o365-proplus-itpro
GitHub Login: @DHB-MSFT
Microsoft Alias: danbrown

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Arrow keys don't work on python terminal

From @GoogleCodeExporter on May 31, 2015 11:31
What device(s) are you experiencing the problem on?
Kyocera Rise
What firmware version are you running on the device?
Android 4.0.4 software version 1.000VM

What steps will reproduce the problem?
1.Installed SL4A r6
2.Added the python 2.6.2 interpreter
3.Ran the python interperter

What is the expected output? What do you see instead?
The expected output is to shift the cursor left or right, instead I get "^[[D"
for left arrow and "^[[C" when I press the right arrow key (without the
quotes). Pressing up and down keys give the similar result.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 11 Dec 2012 at 8:09
Copied from original issue: damonkohler/android-scripting#670

From @GoogleCodeExporter on May 31, 2015 11:31
Maybe I should add that the arrow keys might have worked (at first), I don't
remember.
What I do remember is that I have changed the encoding to something and the DEL
key option but then, to reset all settings I just reinstalled the SL4A and
python 2.6.2 .

Original comment by<EMAIL_ADDRESS>on 12 Dec 2012 at 12:41


The MapView dont show me the UserLocation on Android

It shows me the map correctrly but without the user location.
This is my code:
MapView
showsUserLocation={true}
showsMyLocationButton={true}
style={{ height: 600 }}
initialRegion={{
latitude: 37.78825,
longitude: -122.4324,
latitudeDelta: 0.0922,
longitudeDelta: 0.0421,
}}
Any idea ?
Thanks.

Probably you have to enable a permission or something in Google Play Services for this to work.  Does it work in other apps that utilize Goole Maps?

No, I didnt test it in other app or in IOS. Maybe is that , I will investigate that.

this is a current bug on android

+1

Check the permissions on my application the current location works perfect. What it is not supported is the followsUserLocation

try to landscape your device the showsUserLocation will show.

Duplicate of #1033


Remove/turn off Alphabetical formatting

Hi there,
Thank you for this awesome package!! Quick Question -- is there a way to alter where the values aren't inputted alphabetically? For example, the order of the values is essential to my ability to show meaningful insight with the line plot, etc.
Any help is appreciated!

You can use the sorters parameter to provide your own function for sorting, as shown here: https://pivottable.js.org/examples/montreal_2014.html


macOS - brew install Imath 3.0.3 but header & cmake indicates version 3.0.2

In order to compile OSL, I indirectly updated some open source libraries such as  Imath, OpenEXR, OpenImageIO, etc.
When checking the version of all these libraries they all seem correct and compatible. However, the OSL makefile generation fails because the OpenImageIO version <IP_ADDRESS>_3 looks for Imath 3.0.3, and fails to find it. So, the OSL generation fails because OpenImageIO is mandatory.

I changed the OSL file looking for OpenImageIO to add an explicit detection of Imath, and it finds Imath 3.0.2 (and not the installed version 3.0.3 as expected).

I did some investigations on the machine to discover that the installed Imath version 3.0.3 is in fact a version 3.0.2.
( i.e. vi /usr/local/Cellar/imath/3.0.3/include/Imath/ImathConfig.h). On the other hand, OpenImageIO is explicitly looking for a version 3.0.3 (i.e. vi /usr/local/Cellar/openimageio/<IP_ADDRESS>_3/lib/cmake/OpenImageIO/OpenImageIOConfig.cmake).

Assuming that version 3.0.3 comes from the branch RB-3.0, I compiled this branch which produces a version 3.0.2 and not the expected 3.0.3 !!

I downloaded the source zip file attached to the tag 3.0.3, and the version is still 3.0.2

That could definitively be the problem impacting the OSL compilation.
Please let me know if I missed something during my investigations. I first posted a message on the OSL discussion group on that topic.

This was the result of a less-than-ideal fix for a flaw in the 3.0.2 release. The v3.0.3 tag of Imath incorrectly reports the version as 3.0.2. @lgritz may have some suggestions for a workaround. The better solution is a fresh release, which we'll do shortly. Apologies for the confusion.

To clarify:
Imath incorrectly identifying itself as 3.0.2, while "wrong", should have been harmless (since 3.0.3 was truly identical to 3.0.2), EXCEPT that because of the OIIO bug, it was mistakenly looking for an Imath that declared itself as 3.0.3 and failing to find it. It was looking for an Imath whose version had to be at least as high as the OpenEXR version (which was never an intended requirement for OIIO).

The better solution is a fresh release, which we'll do shortly.

That would be great.
I found a workaround but it will help the community i.e. installation issues are not always easy to understand even for senior devs.
Thanks

Thanks @cary-ilm, I pulled everything from RB-3.0 this morning, and the version is now consistent i.e. 3.0.4
The issue can be closed.

The official Imath release is coming tomorrow, and OpenEXR on Wednesday, which should hopefully resolve this for good.


How to use the benchmark?

Ubuntu 16.04 CARLA 0.8.1
I install this version of CARLA,but the doc on the website are the old version of benchmark using guide.Until now I still didn't understand how to run the benchmark and start my own benchmark.please?

The benchmark was remodeled on version 0.8.2.
Please use that one. The old one still had issues.
http://carla.readthedocs.io/en/latest/benchmark_start/

emmm, one more question is how to execute this line in source code version CARLA?
./CarlaUE4.sh /Game/Maps/<Town_name> -windowed -world-port=2000  -benchmark -fps=10
thanks!

Were you able to solve the issue ?
Which benchmark do you want to use ? Keep in mind that the -benchmark option from Unreal has nothing to do with the driving benchmark in CARLA.

Maybe I understood benchmark wrong...In the client.read_data() method,the return value is measurements and sensor_data,I recognized that how to use measurements in carla_server_pb2.py,how to get the other data like tarfficlight or speedlimitsign.Using "measurements.tarfficlight"  is not working.


[BEAM-2790] Use byte[] instead of ByteBuffer to read from HadoopFilesystem

Follow this checklist to help us incorporate your contribution quickly and easily:

[X] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[X] Each commit in the pull request should have a meaningful subject line and body.
[X] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[X] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[X] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[X] If this contribution is large, please file an Apache Individual Contributor License Agreement.

This is the continuation of PR https://github.com/apache/beam/pull/3744. It fixes the code to deal with the offsets/limits to have the same behavior than read(ByteBuffer) and it adds corner cases tests.
R: @lukecwik @steveloughran
CC: @iemejia

R: @jbonofre

R: @lukecwik

Coverage remained the same at 69.516% when pulling c900f62c69be11a26cd9f83622c5dfb2c1497f78 on echauchot:byte_array_instead_of_ByBuffer_HadoopFS2 into fa4ecea26713244a83521ce1ca2864f4ad4409c8 on apache:master.

retest this please

LGTM, will merge after tests pass

Coverage decreased (-0.02%) to 69.496% when pulling c900f62c69be11a26cd9f83622c5dfb2c1497f78 on echauchot:byte_array_instead_of_ByBuffer_HadoopFS2 into fa4ecea26713244a83521ce1ca2864f4ad4409c8 on apache:master.


composer missing dependency doctrine/dbal

In a fresh install, an error occurred when executing the following command
php artisan migrate:fresh --seed

logs
...
Migrating: 2022_07_20_011250_add_columns_to_yabs_table
Migrated:  2022_07_20_011250_add_columns_to_yabs_table (70.52ms)
Migrating: 2022_07_20_015804_add_column_to_settings_table
Migrated:  2022_07_20_015804_add_column_to_settings_table (63.07ms)
Migrating: 2022_09_22_020501_update_yabs_table

In ChangeColumn.php line 30:

  Changing columns for table "yabs" requires Doctrine DBAL. Please install th
  e doctrine/dbal package.

Sorry, please try it now after 78c2703a2b23240d1a32123bc2f8e15609294f3d
composer install


Forms with div tags and ajax posts

Hi,
I have a site which triggers an ajax post from a button for authentication. Does form based auth work for this or do we need to implement custom authentication? Can you please provide a direction on how to tackle the issue?

Without knowing the inner workings of your site, I can think of two things to try.
First, if you know the target URL that is invoked when that button is pressed, you can try the form-based authentication, passing all expected values to that.
If there is no way to make that work, you may have to try the milestone release of HTTP Collector 3.0.0 and try doing it using a browser (see WebDriverHttpFetcher).   You may try to simulate user behavior with the <latePageScript> configuration option.  This can get quite complex though, especially if the site is designed to make it difficult.

Thank you Pascal! Will try your suggestions


create xilinx alveo base hardware

The hc_requestor will be re-developed to connect with AXI4 protocol and SDAccel *control_s_axi module.


global: generalize color classes and variables

Closes https://github.com/inveniosoftware/invenio-app-rdm/issues/1503
Needs https://github.com/inveniosoftware/invenio-theme/pull/295

Updates

Moved .ui.grid-color classes and variables to invenio-theme
Fixed some linting errors/warnings (indentation, array-indices used in key)


Content Creator: Verify I am logged in

As a Content Creator, I want my Account ID (email) to be visible after I log in so that I can verify that I am logged in as me.
Feature: Verify I am logged in
  As a Content Creator,
  I want my Account ID (email) to be visible after I log in
  So that I can verify that I am logged in as me.

  Scenario: Expose my Account ID (email)
    Given that, I am logged into the CMS
      And that I entered my account email to log in
     When I navigate the CMS
     Then I will be able to verify the account that I am logged in as
       And that my Account ID (email) will be visible on every page I navigate to

Verify I am logged in:

[ ] Expose my Account ID (email)

🎱

@ineedsubstance
what if we just show the username as everything before the @?
so it would be something like... mperson where<EMAIL_ADDRESS>is the full username.

Exploring different layouts for the navigation when adding Account ID, but also trying to think about what the future may hold. There are future stories for adding things like change password, search, notification/alerts, and possibly more things to be added to the navigation to consider.
You may notice that "HOME" was removed from the navigation. It's a pretty common pattern for the logo in the global navigation to link back to the HOME, which Punchcard already does. So having a separate nav item for HOME is redundant. On mobile, I did add a nav item for DASHBOARD, as the header could be used in some cases to expand the mobile menu.
The work also lives in Box if anyone wants's to view it there.
I started with mobile first and have 7 iterations on the mobile nav, and then moved to desktop where I have 3 versions.
@joshkimmell @poofichu @scottnath @mkiang3051 @SirSpidey @Snugug - Looking for feedback.

MOBILE

DESKTOP

@ineedsubstance Sweet!!! These look great!
While I do like the look of having the logo center-aligned, I think it's probably more practical to have it left-aligned.
I do think having either a `menu

@ineedsubstance: need a new story for a further iteration on this one. Also need a story for @scottnath to do the backend.


fix: remove @ts-expect-error from hlm-icon

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our
guidelines: https://github.com/goetzrobin/spartan/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Which package are you modifying?

[ ] accordion
[ ] alert
[ ] alert-dialog
[ ] aspect-ratio
[ ] avatar
[ ] badge
[ ] button
[ ] calendar
[ ] card
[ ] checkbox
[ ] collapsible
[ ] combobox
[ ] command
[ ] context-menu
[ ] data-table
[ ] date-picker
[ ] dialog
[ ] dropdown-menu
[ ] hover-card
[ ] input
[x] icon
[ ] label
[ ] menubar
[ ] navigation-menu
[ ] popover
[ ] progress
[ ] radio-group
[ ] scroll-area
[ ] select
[ ] separator
[ ] sheet
[ ] skeleton
[ ] slider
[ ] switch
[ ] table
[ ] tabs
[ ] textarea
[ ] toast
[ ] toggle
[ ] tooltip
[ ] typography

What is the current behavior?

Closes #
What is the new behavior?
The build is completed without any issues.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Just saw there was an issue with the linting, pushed an update to fix that!


Job 'keras_ads_v3_1-test-001' keeping retries because of oom'

The job http://<IP_ADDRESS>/view.html?jobName=keras_ads_v3_1-test-001 is keeping retry.

Here's the second retry:
http://<IP_ADDRESS>:8088/cluster/app/application_1534124332808_0751
Container logs indicate it was kill by others.
http://<IP_ADDRESS>:8042/node/containerlogs/container_e9884_1534124332808_0751_01_000002/hayua/

...
read 840000 img
read 850000 img
read 860000 img
/pai/bootstrap/docker_bootstrap.sh: line 159:   943 Killed                  /usr/bin/python3 Res-click-adCategory.py
[DEBUG] EXIT signal received in docker container, exiting ...

Check the dmesg on node <IP_ADDRESS>, found  Memory cgroup out of memory: Kill process 17811 (python3):

core@paigcr-a-gpu-1013:~$ ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:0d:3a:b3:85:58
inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
inet6 addr: fe80::20d:3aff:feb3:8558/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:54827108 errors:0 dropped:0 overruns:0 frame:0
TX packets:8728099 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:73662140928 (73.6 GB)  TX bytes:25137476154 (25.1 GB)
core@paigcr-a-gpu-1013:~ $ dmesg  -T | grep oom -C 100
...
[Thu Aug 16 09:05:19 2018] memory: usage 184320000kB, limit 184320000kB, failcnt 2316326
[Thu Aug 16 09:05:19 2018] memory+swap: usage 0kB, limit<PHONE_NUMBER>740988kB, failcnt 0
[Thu Aug 16 09:05:19 2018] kmem: usage 452500kB, limit<PHONE_NUMBER>740988kB, failcnt 0
[Thu Aug 16 09:05:19 2018] Memory cgroup stats for /docker/09c8a83d9c78c8be5e05920b7e636db84f13bbfd9d55b7c207aba9407713e801: cache:244KB rss:183867256KB rss_huge:44267520KB shmem:4KB mapped_file:0KB dirty:0KB writeback:0KB inactive_anon:4KB active_anon:183867256KB inactive_file:148KB active_file:92KB unevictable:0KB
[Thu Aug 16 09:05:19 2018] [ pid ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[Thu Aug 16 09:05:19 2018] [21155]     0 21155     4555      107    77824        0             0 bash
[Thu Aug 16 09:05:19 2018] [21267]     0 21267     4521       75    73728        0             0 bash
[Thu Aug 16 09:05:19 2018] [22858]     0 22858    16379      308   155648        0             0 sshd
[Thu Aug 16 09:05:19 2018] [25165]     0 25165 46274551 45971718 369340416        0             0 python3
[Thu Aug 16 09:05:19 2018] [29906]     0 29906     1096       22    57344        0             0 sleep
[Thu Aug 16 09:05:19 2018] Memory cgroup out of memory: Kill process 25165 (python3) score 969 or sacrifice child
[Thu Aug 16 09:05:19 2018] Killed process 25165 (python3) total-vm:185098204kB, anon-rss:183845316kB, file-rss:41556kB, shmem-rss:0kB
[Thu Aug 16 09:05:22 2018] oom_reaper: reaped process 25165 (python3), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
[Thu Aug 16 11:04:10 2018] python3 invoked oom-killer: gfp_mask=0x14000c0(GFP_KERNEL), nodemask=(null), order=0, oom_score_adj=0
[Thu Aug 16 11:04:10 2018] python3 cpuset=f620df46d0793c0ed0131762cce5c4115dccede21c482c071fd621bdfb0673a7 mems_allowed=0-1
[Thu Aug 16 11:04:10 2018] CPU: 17 PID: 17811 Comm: python3 Tainted: P           OE    4.15.0-1019-azure #19~16.04.1-Ubuntu
[Thu Aug 16 11:04:10 2018] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS 090007  06/02/2017
[Thu Aug 16 11:04:10 2018] Call Trace:
[Thu Aug 16 11:04:10 2018]  dump_stack+0x63/0x82
[Thu Aug 16 11:04:10 2018]  dump_header+0x77/0x285
[Thu Aug 16 11:04:10 2018]  oom_kill_process+0x22e/0x450
[Thu Aug 16 11:04:10 2018]  out_of_memory+0x11d/0x4c0
[Thu Aug 16 11:04:10 2018]  mem_cgroup_out_of_memory+0x4b/0x80
[Thu Aug 16 11:04:10 2018]  mem_cgroup_oom_synchronize+0x32a/0x350
[Thu Aug 16 11:04:10 2018]  ? mem_cgroup_css_reset+0xe0/0xe0
[Thu Aug 16 11:04:10 2018]  pagefault_out_of_memory+0x36/0x7b
[Thu Aug 16 11:04:10 2018]  mm_fault_error+0x8f/0x190
[Thu Aug 16 11:04:10 2018]  ? handle_mm_fault+0xcc/0x1c0
[Thu Aug 16 11:04:10 2018]  __do_page_fault+0x4cd/0x500
[Thu Aug 16 11:04:10 2018]  do_page_fault+0x2e/0xf0
[Thu Aug 16 11:04:10 2018]  ? page_fault+0x2f/0x50
[Thu Aug 16 11:04:10 2018]  page_fault+0x45/0x50
[Thu Aug 16 11:04:10 2018] RIP: 0033:0x7f86b189ec36
[Thu Aug 16 11:04:10 2018] RSP: 002b:00007ffc86c0f5c8 EFLAGS: 00010283
[Thu Aug 16 11:04:10 2018] RAX: 000000235d8be830 RBX: 00007ffc86c0f9b0 RCX:<PHONE_NUMBER>18f250
[Thu Aug 16 11:04:10 2018] RDX:<PHONE_NUMBER>44aa20 RSI: 000000235d72f5d0 RDI: 000000235db7a000
[Thu Aug 16 11:04:10 2018] RBP: 00000000ffffffff R08:<PHONE_NUMBER>44aa20 R09:<PHONE_NUMBER>0005dc
[Thu Aug 16 11:04:10 2018] R10:<PHONE_NUMBER>0003e8 R11:<PHONE_NUMBER>000002 R12: 00007ffc86c0f5f0
[Thu Aug 16 11:04:10 2018] R13: 00007ffc86c0f770 R14: 000000235d473e00 R15:<PHONE_NUMBER>44aa20
[Thu Aug 16 11:04:10 2018] Task in /docker/f620df46d0793c0ed0131762cce5c4115dccede21c482c071fd621bdfb0673a7 killed as a result of limit of /docker/f620df46d0793c0ed0131762cce5c4115dccede21c482c071fd621bdfb0673a7
[Thu Aug 16 11:04:10 2018] memory: usage 184320000kB, limit 184320000kB, failcnt 2168707
[Thu Aug 16 11:04:10 2018] memory+swap: usage 0kB, limit<PHONE_NUMBER>740988kB, failcnt 0
[Thu Aug 16 11:04:10 2018] kmem: usage 464852kB, limit<PHONE_NUMBER>740988kB, failcnt 0
[Thu Aug 16 11:04:10 2018] Memory cgroup stats for /docker/f620df46d0793c0ed0131762cce5c4115dccede21c482c071fd621bdfb0673a7: cache:4KB rss:183855144KB rss_huge:44197888KB shmem:4KB mapped_file:0KB dirty:0KB writeback:0KB inactive_anon:4KB active_anon:183855112KB inactive_file:0KB active_file:0KB unevictable:0KB
[Thu Aug 16 11:04:10 2018] [ pid ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[Thu Aug 16 11:04:10 2018] [ 5215]     0  5215     4555      704    81920        0             0 bash
[Thu Aug 16 11:04:10 2018] [ 5255]     0  5255     4521      636    77824        0             0 bash
[Thu Aug 16 11:04:10 2018] [ 6792]     0  6792    16379      609   163840        0             0 sshd
[Thu Aug 16 11:04:10 2018] [17811]     0 17811 46272785 45968219 369344512        0             0 python3
[Thu Aug 16 11:04:10 2018] [21237]     0 21237     1096      182    57344        0             0 sleep
[Thu Aug 16 11:04:10 2018] Memory cgroup out of memory: Kill process 17811 (python3) score 969 or sacrifice child
[Thu Aug 16 11:04:10 2018] Killed process 17811 (python3) total-vm:185091140kB, anon-rss:183828576kB, file-rss:44300kB, shmem-rss:0kB
[Thu Aug 16 11:04:15 2018] oom_reaper: reaped process 17811 (python3), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
[Thu Aug 16 11:04:15 2018] omiagent[23495]: segfault at 30 ip 00007fbbd8b4a240 sp 00007ffc845ccc30 error 4 in libcontainer.so[7fbbd8b00000+87000]

So the main process of this container was killed by kernel because of  Memory cgroup out of memory.
Because it's not a 'user failure', launcher will retry.

Container exit with 137, killed by others, so launcher will retry.
For docker oom, the scriper should detect it and return USER_APP_NON_TRANSIENT_ERROR(206) to tell launcher not retry it.
[ExitStatus]: USER_APP_FORCE_KILLED
[ExitCode]: 137
[ExitDiagnostics]:
UserApplication's process force killed by others, maybe machine rebooted
[ExitType]: TRANSIENT_NORMAL
________________________________________________________________________________________________________________________________________________________________________________________________________
[ExitCustomizedDiagnostics]:
<Raw>[ExitCode]: 137
<Raw>[ExitDiagnostics]:
Container killed on request. Exit code is 137
Container exited with a non-zero exit code 137
Killed by external signal

@mzmssg , I though you have fixed this issue?


enable css selector helper

Hi, pyspider is working great! Thanks for the project, still learning from it.
How does "enable css selector helper" work? I tried it but nothing is happening.

If unsolved , feel free to reopen.


Fail: AttributeError: module 'collections' has no attribute 'Container'

Hi, I try to start "python-pptx", but i have Error:
AttributeError: module 'collections' has no attribute 'Container'
in File "...\lib\site-packages\pptx_init_.py", line 14, in
Use Python 3.10, python-pptx (0.6.21), lxmx (4.6.3).
Please, help me.

Thanks @scanny. Looking at the Python docs this code looks like it should work on 3.10. I checked the 3.10 docs and there's no sign even of a deprecation.
(The docs got overhauled sometime between 3.8 and 3.9 - expanding with examples.)
I'm not - at least for the moment - going to flag 3.10 as problematic for python-pptx or my package that relies on it.


Fix /progress command being removed

No idea how it happened, but the /progress command got removed from the active extensions. It should be added again.
https://github.com/GrafeasGroup/buttercup/blob/master/buttercup/main.py#L6-L19

For whatever reason, simply restarting the bot fixed this.


feat: group links #2437

Fixes Issue
fixes #2437
NO GROUPs

WITH GROUPs

There is not Gitpod button for this PR 🤔

Oh that is strange. It happens sometimes. I still think it can be opened in Gitpod by prepending their url

This looks Great! I was wondering since there are around 1k users with profiles already created, could we actually check if there are any groups and skip the groups entirely if none are present instead of adding them to others ?

Oh that is strange. It happens sometimes. I still think it can be opened in Gitpod by prepending their url

Yes! Just checked. This looks great!

Thank you for reviewing @ChinmayMhatre 👍


Removed extraneous dynamic title

It seemed pointless to have a dynamic title on the Search page and not any other the others...
Fixes #21

Gonna close this one for now...


vivaldi: 6.7.3329.31 -> 6.7.3329.35

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for vivaldi is: A Browser for our Friends, powerful and personal
meta.homepage for vivaldi is: https://vivaldi.com
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.7.3329.35 with grep in /nix/store/k00xmqjfpws2spwl558d2av2my7vxv0i-vivaldi-6.7.3329.35
found 6.7.3329.35 in filename of file in /nix/store/k00xmqjfpws2spwl558d2av2my7vxv0i-vivaldi-6.7.3329.35

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

vivaldi

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/9048353e3c3382d5738b27e98a00c63f835e1095#vivaldi

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

vivaldi

Maintainer pings
cc @otwieracz @badmutex for testing.

Result of nixpkgs-review pr 315545 run on aarch64-linux 1

1 package built:

vivaldi


No tests for "deis git:remote"

This convenience command doesn't appear to be covered in e2e tests.

test scenario:

create app with --no-remote
observe no remote was created
deis git:remote
observe remote was created

Git remote is a CLI only, so these should probably be added to the CLI. I already have tests for the git package, so this just needs some minor tests for the CMD portion.


⚠ Bofrost.at has degraded performance

In 95dcde1, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1249 ms

Resolved: Bofrost.at performance has improved in 28d13f6 after 6 minutes.


useState hook not working when "set" angular, vue, etc.. except react

Scope

[ ] This impacts ALL Mitosis outputs
[x] This only impacts specific generators/outputs (please list them here):
All of them except REACT

Describe the bug
When using useState in your builder or in my project, angular is not rendering the correct code.
To Reproduce
Steps to reproduce the behavior:

Create a useState with get and set.
OnUpdate call to the setter.
Angular will generate this code, where setName does not exist.

A link to a https://mitosis.builder.io/ fiddle containing the bug:
Expected behavior
When using a setter should work.
Additional context
I've oppened this to talk about angular but I can see the same in all the libraries except with react, is use state only compatible with react??

@CKGrafico Our Fiddle examples are actually using an outdated syntax of useState. Let me quickly update those to better reflect how you'd use useState today!

This issue only occurs with onUpdate hooks. See this fiddle showing that issue is not present in onMount

I’m starting to feel like a QA Engineer 👷♀
thanks for all your work and responses to all my questions!

for svelte the issue is with inline arrow functions with and without {}
working () =>
https://mitosis.builder.io/?outputTab=svelte&code=import+{+useState%2C+onUpdate%2C+onMount+}+from+"%40builder.io%2Fmitosis"%3B

export+default+function+MyComponent(props)+{
++const+state+%3D+useState({
++++name%3A+"Steve"
++})%3B

++onMount(()+%3D>+{
++++state.name+%3D+'hola'%3B
++})%3B

++return+(
++++

++++++<input
++++++++css%3D{{
++++++++++color%3A+"red"%2C
++++++++}}
++++++++value%3D{name}
++++++++onChange%3D{(event)+%3D>+state.name+%3D+event.target.value+}
++++++%2F>
++++++Hello!+I+can+run+in+React%2C+Vue%2C+Solid%2C+or+Liquid!
++++<%2Fdiv>
++)%3B
}
broken with () => {}
https://mitosis.builder.io/?outputTab=svelte&code=import+{+useState%2C+onMount+}+from+"%40builder.io%2Fmitosis"%3B

export+default+function+MyComponent(props)+{
++const+state+%3D+useState({
++++name%3A+"Steve"
++})%3B

++onMount(()+%3D>+{
++++state.name+%3D+'hola'
++})
++
++return+(
++++

++++++<input
++++++++css%3D{{
++++++++++color%3A+"red"%2C
++++++++}}
++++++++value%3D{state.name}
++++++++onChange%3D{(event)+%3D>+{+state.name+%3D+event.target.value+}}
++++++%2F>
++++++Hello
++++++{state.name}!+I+can+run+in+React%2C+Vue%2C+Solid%2C+or+Liquid!
++++<%2Fdiv>
++)%3B
}

I make a fix for svelte
https://github.com/BuilderIO/mitosis/pull/439/commits/c17d05321abb82fc35cf687cf872c42441e832fd

@PatrickJS Not sure why you changed this github issue though. Does #439 fix useState + onUpdate for Angular? I don't see changes in the snapshot there indication so...
Did you mean to create a separate ticket for the svelte bug?

the angular output looks fine to me
https://stackblitz.com/edit/angular-mxdo5g?file=src/app/app.component.ts

I'm reverting your changes to this issue. Feel free to create a separate issue for the Svelte problem if that feels like a different scope, or we can keep both here.

isn't that an issue with useState examples?

@PatrickJS Read this thread in full please.
I explained in https://github.com/BuilderIO/mitosis/issues/425#issuecomment-1143603976 that we support both formats, and that the [foo, setFoo] = useState() format is still supported across all frameworks, and there is a bug in combining that syntax with usage of setFoo within onUpdate

the helpers to convert all of those all live in the react generator so we would have to move all of those to helpers and apply them to every framework
updateStateSetters, updateStateSettersInCode, getUseStateCode


Add aten::upsample_bicubic2d.out

no case need to be added for fine grain test

Are the extended cases enabled?


Update README.md

Codecov Report

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

@@            Coverage Diff            @@
##             master       #7   +/-   ##
=========================================
  Coverage     73.52%   73.52%
  Complexity      196      196
=========================================
  Files            16       16
  Lines           865      865
  Branches        103      103
=========================================
  Hits            636      636
  Misses          184      184
  Partials         45       45

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 a51bf9c...a7e1a69. Read the comment docs.


new NsfwSpy() cause program to abort with no error message or exception

Trying to write a small quick command line program to scan a disk for NSFW images and report what it finds, all very simple stuff using .NET 6.
"Directory.GetFiles" to get a list of file names to check, then new up an NsfwSpy object, then a foreach to classify each found image in the list.
Problem is, when the program gets to the "var nsfwSpy = new NsfwSpy();" line, it pauses for a few seconds then just exits.
I've single stepped in as far as I can and it seems to be in the file NsfwSpy.cs at around line 28 where it creates a new MLContext with the model zip file.
The model is present, all the required DLL's are present, no errors, no exceptions or anything are given,   just a silent exit and the program stops executing at that point.
Win10 64 bit, developing using JetBrains rider with .NET V6 and NsfwSpy added using NuGet  (Version 3.4.3)
Any advice?

I doubt very much if it's going to help much, but this is the code I'm using:
`
using NsfwSpyNS;
namespace PornImageFinder
{
  internal class Program
  {
    private static string? _rootFolderToScan = "";

    static void Main(string[] args)
    {
      Console.WriteLine("Porn Image Finder");

      Console.WriteLine("Please type in name of root folder to search EG: \"D:\\mypics\" ");
      _rootFolderToScan = Console.ReadLine();
      if (string.IsNullOrEmpty(_rootFolderToScan))
      {
        while (string.IsNullOrEmpty(_rootFolderToScan))
        {
          Console.WriteLine("Path cannot be empty, please enter a patch or ctrl+c to abort the program");
          _rootFolderToScan = Console.ReadLine();
        }
      }

      Console.WriteLine("Scanning folders for image files please wait ...");

      string[] jpgFiles = Directory.GetFiles(_rootFolderToScan,"*.jpg")
        .Union(Directory.GetFiles(_rootFolderToScan,"*.jpeg"))
        .ToArray();

      string[] pngFiles = Directory.GetFiles(_rootFolderToScan, "*.png", SearchOption.AllDirectories);
      string[] bmpFiles = Directory.GetFiles(_rootFolderToScan, "*.bmp", SearchOption.AllDirectories);
      string[] gifFiles = Directory.GetFiles(_rootFolderToScan, "*.gif", SearchOption.AllDirectories);

      Console.WriteLine($"Found {jpgFiles.Length} jpg files");
      Console.WriteLine($"Found {pngFiles.Length} png files");
      Console.WriteLine($"Found {bmpFiles.Length} bmp files");
      Console.WriteLine($"Found {gifFiles.Length} gif files");

      Console.WriteLine("Classifying image files please wait ...");

      Console.WriteLine("JPGS:");

      var nsfwSpy = new NsfwSpy(); // <--- This is where it aborts

      foreach (string file in jpgFiles)
      {
        Console.WriteLine($"\t{file}");
        var result = nsfwSpy.ClassifyImage(file);

      }

    }
  }
}

`

Hi @shawty, thanks for the first issue report 😊
I've just tried running your code and it seems to run fine for me.
Could you wrap your initialisation of the NsfwSpy class in a try catch block like this and respond with the error message you see printed out please?
try
{
    var nsfwSpy = new NsfwSpy(); // <--- This is where it aborts
}
catch (Exception ex)
{
    Console.WriteLine($"{ex.Message} | {ex.InnerException}");
}

Cheers

Yea sure, gimme 2 mins ...

It doesn't even trigger the try catch!  attempts to new up, and aborts ...

Gonna try just from the CLI, see what happens.

From what I can tell it seems as though it's not able to load Tensorflow, but as far as I can see, that should be loaded into the project as a dependency of your package.

Tensorflow is definitely present.

Not sure about CUDA, akaik that's not actually needed, however .... I am running "SenseAI" on this same machine, and that reports that I have CUDA and the ability to use my GPU:

So I suspect that I do have CUDA installed and working.
As for 64bit, I'm most likely compiling using an "Any CPU" profile, do I need to force it to X64 only?

As far as I know ML.NET projects only work in 64-bit projects so could you try forcing it to x64 rather than 'Any CPU' and see if that helps at all?
As for the CUDA stuff, the reason I ask is you have to use version 10.1 (https://github.com/NsfwSpy/NsfwSpy.NET#gpu-support) if you want to support GPU usage. Other versions don't seem to work, a limitation of ML.NET.

ok I'll check the CUDA version (I honestly don't know if I have/have not or what version ...) and I'll force a pure X64 build see what happens.
I'll let you know.

@d00ML0rDz - this is a link to the compiled binary output from my compiler, of the failing app, along with all it's dependent files etc
https://drive.google.com/file/d/1MuZtgL6T-5C8_qoag1fMPkTqi8NWLbN9/view?usp=share_link
It's a 500+ mb zip file, and you should be able to just unzip and click on the main exe file.
It's compiled for Windows 10, Any CPU, when it asks you, type in a path of a folder with images in to check ...
It currently doesn't do anything with the files it finds, due to me not getting past the newing up of the Nsfw object however, but it should show you the exception if it throws one as the new up is in a try catch as per my code snippet above.

Unfortunately, I don't feel comfortable running a compiled .exe file that I don't know the contents of. As I said, I ran the code you pasted above and that worked OK for me.
Did you have any luck finding the CUDA version (https://stackoverflow.com/questions/9727688/how-to-get-the-cuda-version) or building the project as 64-bit?

Sorry, went for evening meal :-)
Left CUDA 10.1 installing while I was away from my desk, just about to test now

ok, checked .. defo have 10.1 installed now

Tested with 10.1 installed as the CUDA version, still hitting the same exception:

So I guess it's the 64 bit issue that's the problem.  Testing that now.

Right, looks like I'm definitely building for 64 bit now, for sure

Same crash again:

Verified CUDA 10.1 and build is X64, any other ideas?
Exception seems to be not being able to load "tensorflow", does tensorflow.NET require a non managed version of something perhaps?
What other "tensorflow" dll's are in the output folder that you produce when you compile my code listed above?

Just grabbed the CUDNN v7.6.4 dll from NVidia (Had to jump through hoops to get them to accept fake info for a log in account), all I have is the DLL though, so not 100% sure where to put it.  Dropped it into the app folder for the moment.

Well no matter what I try, I just cannot get this to work, on this machine.
Tracing using "Procmon" from the sysinternals suite, confirms that "tensorflow.dll" is the DLL being looked for, and cannot be found, even when I get an actual copy of it and drop it in the apps own folder.
The ONLY post I've been able to find using both google & bing, on the subject is this one:
https://stackoverflow.com/questions/58549580/unable-to-load-dll-tensorflow-or-one-of-its-dependencies-ml-net
As per the above post, I have ensured that I have the latest VC++ is installed (My version is actually way more recent than the one linked in the post)
I have the required versions of CUDA, I'm building X64, I just don't see what else I can try.
I do have another 64 bit Nvidia machine, which I'll try tomorrow
For now, I've gone as far as I can on this one.

ok, so I couldn't leave it alone ... it was bugging me :-)
I did some more research, the CPU in this machine I'm using is a XEON 8 core E5630 (Westmere EP)
https://ark.intel.com/content/www/us/en/ark/products/47924/intel-xeon-processor-e5630-12m-cache-2-53-ghz-5-86-gts-intel-qpi.html
After reading and digesting this:
https://github.com/tensorflow/tensorflow/issues/58186
this:
https://github.com/tensorflow/tensorflow/issues/45287
and this:
https://github.com/tensorflow/tensorflow/issues/22794
along with the list of supported processors that support AVX on here:
https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#CPUs_with_AVX
I've come to the conclusion, that my problem as far as the CPU in my work machine goes, is not a CPU that supports the AVX extensions that tensorflow uses.
I have another machine that has an i7 in, that should support the AVX stuff, so I'll test the compiled output from this build on this machine, on that one tomorrow, and see what the results are.
If it works on the other machine, unchanged, but with the correct pre-reqs on, then I'm pinning the fault on the CPU extensions not being supported.
The reason for that, is I'm also pretty sure these extensions are the reason why MS-VR_Home doesn't work on here, but does work on the other machine, I mentioned.

Thanks for pursuing this, would have been a tricky one for me to work out what was going wrong. Please let me know how you get on with the i7 system, hopefully you have more luck 😊

Looks like I was right :-)

When run on the i7 it doesn't throw an exception and announces that the tensorflow binary being used is compiled against AVX2 CPU Extensions.  It des also state that it can be recompiled to not use those extensions, so in the long run it may be worth investigating that to allow running on older CPU's.
For now though, this is no good for the purpose I need it for sadly, which is to scan the hard drives of a number of "Community PC's" in local community center, many of which are older than my XEON.

Glad to hear you got it working on the i7 machine 😊
Regarding a recompiled version of the tensorflow.dll that doesn't use AVX, we just get that DLL in the SciSharp.TensorFlow.Redist nuget package which is what is recommended in the ML.NET documentation and don't have control over how it is compiled. I haven't been able to find any suggestions from the ML.NET team on how to support non-AVX CPUs so unfortunately this isn't something we plan to look into for the moment.
I'm unsure if it'll be any different, but we do have NsfwSpy.js which might be suited to non-AVX CPUs. Not something I'm able to test as all my computers are Sandy Bridge or newer, however.
Thanks for looking into the issue though, we'll keep it in mind as we move forward with the project 👍

Yea I wasn't expecting you to be able to do anything RE: recompiling tensorflow, so no worries there.

I did consider the JS version; in fact I was looking at the JS version when I discovered a C# one.
My original idea was actually to try and integrate your JS version into the Codeproject AI server, then have small command line programs on the machines that use a central server and send suspect images to the central server using JS.
When I discovered the C# version however, I realised I could potentially do it stand alone on each machine with the re-imaging software that wipes and re-builds the disk images each night.
Still it will have to wait for now, I have some courses for pluralsight to finish writing, and deadlines to meet :-)
One thing that might be worth doing though, is mentioning this in the doc's or read-me, I'm sure I won't be the last person this will trip up, there is a link to supported CPU's from the tensorflow site.

I have added a reference to the wikipedia article you posted above on our new Wiki troubleshooting page: https://github.com/NsfwSpy/NsfwSpy.NET/wiki/Troubleshooting

Great stuff, if I ever manage to find time to build a non-gpu binary that works on other CPU's I'll let you know.


X-Locale ignored after redirects

Expected Behavior:
$ curl -sf 'https://r.jina.ai/https://httpbin.org/get' -H "X-Locale: zh" | grep Language
    "Accept-Language": "zh",

Unexpected Behavior:
curl 'https://r.jina.ai/https://httpbin.org/redirect-to?url=%2Fget' -H "X-Locale: zh" | grep Language

It appears this issue may be related to puppeteer/puppeteer#10235. Could we consider a possible workaround if it remains unresolved upstream?

Thanks for reporting.
I have implemented a walkaround ebc09003d1f0e40ced2b24f891465350b8861f0a.
Check again to see if the API is behaving as expected.

Thanks. Now it works as expected.


Project Converter: Wrong @rpc annotations

Godot version
5268efdcd9b8e07ed8363f6f32a343392ab4acdf
System information
n/a
Issue description
Looks like it's using @rpc(any), @rpc(auth), @rpc(sync).
Correct: @rpc(any_peer), @rpc(authority), @rpc(call_local) and related.
Also there seems to be sync func which I don't think is valid.
https://github.com/godotengine/godot/blob/master/editor/project_converter_3_to_4.cpp#L3727-L3789
Steps to reproduce

Minimal reproduction project
No response

Can you list all the 3.x -> 4.0 network keyword name changes?
My knowledge of network topics in Godot is rather poor, so I am not able to verify their correctness.
About the conversions present in the converter I once asked @Faless, but looks that now this info is outdated or I messed something when preparing conversions.

remote -> @rpc(any_peer)
remotesync -> @rpc(any_peer, call_local)
puppet -> @rpc
puppetsync -> @rpc(call_local)
These should print a warning (if possible):

The master and mastersync rpc behavior is not officially supported anymore. Try using another keyword or making custom logic using get_multiplayer().get_remote_sender_id()

master -> @rpc
mastersync -> @rpc(call_local)

As far as I know the sync and slave keywords were deprecated but still in exist in 3.x for compatibility so some user might still be using them and we may want to add a conversion for them. See #22087 for context.
Essentially, sync is the same as remotesync and slave is the same as puppet. So I guess:
sync -> @rpc(any_peer, call_local)
slave -> @rpc


Ensure there is a new line between repositories reports

Some logs don't have a new line between the last line of a repository log, and the next repository log header.

Closed by 12815d11780af7ba522e7aa6cd1f451f332c2d49
/close


Deparser incorrectly deparses cast in EXCLUDE expression in CREATE TABLE query

The following query (taken from the Postgres regression tests) unfortunately produces an invalid query when ran through the deparser:
Original query:
CREATE TABLE circles (
  c1 CIRCLE,
  c2 TEXT,
  EXCLUDE USING gist
    (c1 WITH &&, (c2::circle) WITH &&)
    WHERE (circle_center(c1) <> '(0,0)')
);

Deparser output:
CREATE TABLE circles (c1 circle, c2 text, EXCLUDE USING gist (c1 WITH &&, c2::circle WITH &&) WHERE (circle_center(c1) <> '(0,0)'))

(note the missing parentheses around c2::circle which are present in the original query).
When I run the above in psql, I get ERROR:  syntax error at or near "::"
This might be a similar fix to https://github.com/pganalyze/libpg_query/issues/188 (which I haven't had time to address yet 🙃 ).

@mpokryva Yeah, that sounds eerily familiar to #188 - just different type of constraint, but same issue with the parenthesis not being added around a constraint's expression.


Add DropTargetAdornerPenProperty

What changed?
The thickness of the Pen stroke is set to a fixed value. This can be hard to see for people who are vision impaired, so increasing its value is beneficial.

@crazyfox55 your changes have been merged, thanks for your contribution 👍


Exits with spurious error codes with --one-file-system

Output of restic version
restic 0.16.1 compiled with go1.21.3 on linux/amd64
What backend/service did you use to store the repository?
sftp
Problem description / Steps to reproduce
Backups with --one-file-system can produce error codes like
error: lstat /proc/3239146: no such file or directory
error: lstat /proc/3239151: no such file or directory
error: lstat /proc/3239152: no such file or directory

even when the contents of /proc should be entirely skipped because it is a mount point for a different filesystem. This leads to apparently spurious error codes returned at the end of the backup, with the message Warning: at least one source file could not be read

Expected behavior
If these lstat calls that leave the file system can be avoided, they should be. At minimum they shouldn't be an error, because those files weren't going to be backed up to begin with

Actual behavior
restic can exit with an error code anyway

Do you have any idea what may have caused this?
This isn't a situation unique to my system or situation. I'm not sure what's going amiss with the filesystem detection.

Did restic help you today? Did it make you happy in any way?
great backup system, efficient, reliable. love a good content-addressed data structure.

This looks like another instance of https://github.com/restic/restic/issues/3366 . For now, you'll have to use backup --exclude /proc.

yep that looks like the same bug! thanks


Configuring logging in a release

Currently releases include logging by default to the log directory.  It appears that the logging facility allows a file to grow to just under 1 MB and then continues logging in another file.  The names of the files are like log/erlang.log.1.  After 6 files, the log rotation starts over at 1.  This is surprising and problematic.
As we spoke of at ElixirConf, I checked out the configuration options of relx and saw nothing about the logging, excluding the log level.
Either finding a way to configure or simply turning off this log output would be sufficient.  Any suggestions?
Thanks!

@midas Take a look here. It appears that these logs cannot be disabled, but the number of logs, and their size, can be configured via environment variables. Does that help?

The environment variables are exactly what I need.  Thanks!
Regarding the log level, it is currently outputting at debug which is not good.  Do you suggest the overlay path to fix this or another?  If the overlay path, then please expand a little on exactly how this should be accomplished.
Thanks!

@midas The relx log level is just for the tooling when building a release, it doesn't actually affect the logging of the release at all. The logs produced by run_erl are not configurable in their verbosity from what I can tell (unfortunately).

Do you believe if we set the file size and max files for the run_erl logging to something small and then use the normal log configuration facilities of elixir we are introducing a performance inefficiency (that matters)?  It seems to me that depending on Elixir logging facilities plus something like logrotate is a better solution, considering the deficiencies in the run_erl log config.

@midas If you log to a file via Elixir's Logger module, instead of the console, very little output would be sent to the run_erl logs, so there should be no inefficiency there. You'd want to make sure you have Logger handle SASL reports as well though, because those will be sent to the run_erl logs by default.

Thanks for your input, I will include all of this in my episode(s) on ExCasts, which are already in production BTW.  Hopefully this will keep the same questions from being asked of you again.

@bitwalker Any idea how I can verify that the SASL reports are making it to the log.  Is there a way to force one?  Thanks!

@midas In your Logger config, just make sure the following settings are there:
config :logger,
  handle_sasl_reports: true,
  handle_otp_reports: true

Assuming you've got a file backend, that will make sure that all sasl and other Erlang system errors are in the same log.

Just wanted to pop in and mention that this issue has some really valuable info that I think ought to be mentioned in the documentation somewhere. Specifically the link to the run_erl config stuff, along with mentioning the sasl / otp logger settings.

it would be even more awesome, if we could (also) configure a remote (network) service as receiver of logs, not just a directory… but that might be a deeper erlang issue…

I just want to echo @benwilson512
I shipped a phoenix project to production using edeliver/distillery and was seeing 7 to 9 second response times in requests and it took me days to figure out. I finally figure out how to do some fprof and found that most of the time was being spent by the logger. I guess it was rolling through files so fast that it was blocking on some notify function. I disabled all logging and everything worked. Then I found this post of course.
Just sharing the experience here because just creating a project, fighting through deployment configuration and then you hit that bottleneck sucks. I'm not sure how else will people find this when using releases like exrm or distillery.


fix: quick_sort.cpp bug

Fix index access overflow

[x] Added description of change
[x] PR title follows semantic  commit guidelines
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.

this is true, in the first iteration the pivot receives a memory garbage ! LGTM 🔥

Closing in favor of #2396.

Closing in favor of #2396.

GREAT!


Cannot read property 'bool' of undefined on React 16

When requiring react-packery-component on React >= 16, fails with the error above.

I'm still getting this error.

@lucbelliveau Have you solved this error? I am also facing the same

@mvtdev1050 yes, #18


Clean up using periphery

Can you please add more detail to this issue @enriquesouza

Yes, we have some unused files, so I am removing them using the tool periphery.


Add support for counting distinct fields

https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#count

It looks like this actually hasn't been implemented yet, closing until it is implemented in Prisma.
https://github.com/prisma/prisma/issues/4228


Auth session error

Hello.
I authorize my account and save its session data to a file:
const ig = new IgApi.IgApiClient();
    const IgCheckpointError = IgApi.IgCheckpointError;
    ig.state.generateDevice(login);

    ig.request.end$.subscribe(async () => {
        const serialized = await ig.state.serialize();
        delete serialized.constants; // this deletes the version info, so you'll always use the version provided by the library
        fs.writeFile(sessionUserPath, JSON.stringify(serialized), () => {
            console.log(`Session for account '${login}' saved.`);
        });
    });

    Bluebird.try(async () => {
        const auth = await ig.account.login(login, password);
        console.log(auth);
    }).catch(IgCheckpointError, async () => {
        console.log('Checkpoint:')
        console.log(ig.state.checkpoint); // Checkpoint info here
        await ig.challenge.auto(true); // Requesting sms-code or click "It was me" button
        console.log(ig.state.checkpoint); // Challenge info here
        const { code } = await inquirer.prompt([
            {
                type: 'input',
                name: 'code',
                message: 'Enter checkpoint code',
            },
        ]);

        const checkpointResult = await ig.challenge.sendSecurityCode(code);
        console.log(`Checkpoint result: ${checkpointResult}`);

    }).catch(e => console.log('Could not resolve checkpoint:', e, e.stack));

Then I use the session. Every time I run the script I add it to the object and log in to the account:
try {
            this.ig.state.generateDevice(login);

            const accountSession = await fp.readFile(this.sessionUserPath, 'utf8');

            // JSON string or Object
            await this.ig.state.deserialize(accountSession);

            this.auth = await this.ig.account.login(login, password);
        }
        catch (err) {
            console.error(`Не удалось авторизоваться через сессию за аккаунт ${login}, ошибка ${err.message}`);
            console.error(err.stack);
        }

The session file stores various data, but the problem is with the password encryption key passwordEncryptionPubKey and passwordEncryptionKeyId, or rather their version.
Over time, these data are not updated in the session file and the subsequent authorization through session (over a period of time: several days or weeks), when Instagram updated the data on its servers, Instagram sends an error that the authorization data is incorrect and returns a HTTP 400. Since the password is encrypted with the old key from the session file.
At the moment, in the repositories/AccountRepository.js in the method login() line 26 should check for the encryption key, if you remove it and update the key even if it is available, I think the problem will be resolved. However, the login() method is called only when the script is run (often once), and it would not be superfluous to update the key and its version, especially when using old sessions for authorization.

if you remove it and update the key even if it is available

No. This isn't really a good solution. Imo this check shouldn't be there, it's only there so we don't have thousands of issues asking on how to get the key. However I get the problem you're facing and you can pretty much fix it by calling  ig.qe.syncLoginExperiments() yourself. Keep in mind repositories are supposed to do one thing, one API call. This is an exception.

Okay, thanks. Can be closed.


develop a reader that uses shape detection API from chrome

https://web.dev/shape-detection/
unfortunately only available for barcodes on Mac and Android. :|

https://github.com/undecaf/barcode-detector-polyfill

mmm.. thanks for the note!  I had completely forgotten about this, and it doesn't look like it's gone anywhere in Chrome, but having an implementation for it in WASM could obsolete most of Quagga2, and I'm not opposed to that!  Quagga does provide still a lot more information than it looks like that API does, but I suspect for most people's purposes, a stripped down reader with just this would be excellent.

it doesn't look like it's gone anywhere in Chrome

For desktop Chrome (MacOS)

native
polyfill

video
no (1)
yes

uploaded img
yes
yes

remote img
no (2)
no (3)

formats
aztec, code_128, code_39, code_93, data_matrix, ean_13, ean_8, itf, pdf417, qr_code, upc_e
codabar, code_39, code_93, code_128, databar, databar_exp, ean_2, ean_5, ean_8, ean_13, ean_13+2, ean_13+5, isbn_10, isbn_13, isbn_13+2, isbn_13+5, itf, qr_code, sq_code, upc_a, upc_e

1: InvalidStateError: Failed to execute 'detect' on 'BarcodeDetector': Invalid element or state.
2: SecurityError: Failed to execute 'detect' on 'BarcodeDetector': Source would taint origin.
3: Uncaught (in promise) DOMException: Failed to execute 'getImageData' on 'OffscreenCanvasRenderingContext2D': The canvas has been tainted by cross-origin data.

Is it able to detect rotated barcodes?  i'm pretty excited about this really.  especially if we can get it working in browser and node.  it looks like it could replace a lot of quagga

It is able to detect it to some extension. Based on my experimentation - it can detect 90 degrees. But can't do 45 degrees. Need to find what official documentation says.
I'm preparing webpage where you would be able to test it

that is one of the good things about quagga, is it is quite decent at picking up codes that are any rotation, and moderately decent even at damaged codes, compared to some other solutions.   Quagga might be able to detect a barcode area, then push it into this API with an image rotated correctly.   Or something could take Quagga's onProcessed, and pipe it to that.  something like that.
anyway, it does look like it would probably be mostly a question of 'how do i package WASM with webpack and typescript stuff' as the implementation is mostly just a one-liner...

By no means I insist on using polyfill. I just thought it is quite interesting possibility.

anyway, it does look like it would probably be mostly a question of 'how do i package WASM with webpack and typescript stuff'

For now library loads WASM from web-server. So it should work with webpack.
To use in node js. I have to use node 18+ with NODE_OPTIONS='--experimental-network-imports'
Related: https://github.com/undecaf/barcode-detector-polyfill/issues/2

I'm afraid I don't have time to try to implement this right at the moment, I do have a couple of things that I've already promised to in other tickets when I get time, and covid, the holidays, and work have been in the way... but I really appreciate your bringing this up, and the research you've done.

here is online demo in case you want to check it yourself https://barcode-demo.netlify.app/

looks like it does handle rotations pretty reasonably, although i'm not sure if this is an error in the data or in the drawing routine that displays the green detected area incorrectly

detected the correct code off that rotated barcode, but the indicator of where it was detected is very much not rotated, makes it look like it was a partial scan.  but the number returned is correct.
That was one I just picked out of the test fixtures/ directory in quagga, i'd have to take some time to check and see which ones work correctly in quagga to compare performance.


drivers: spi_bitbang: Fix timing in SPI bitbang driver

Fix timing in SPI bitbang driver.
The issue occurs with CPHA=1 when the input data is changed immediately after the clock shift on the last bit of the read. Because we read the input bit after changing the clock, this bit becomes invalid.
Instead of doing wait, clock-change, read. Do wait, read, clock-change.

@tbursztyka Do you have anyone that can give this a second approval?


Export with member consent - don't export messages that consenting users don't have access to

As mentioned in the TODO this commit deletes, the export with member
consent system was failing to account for the fact that if consenting
users only have access to a subset of messages of a stream with
protected history, only that subset should be exported - rather than all
the stream's messages.

Fixed a conflict.

@timabbott Tagging with integration review, because this PR has been ready i believe

This is great, merged, thanks @mateuszmandera!


Build error 'fatal error: 'RCTViewManager.h' file not found'

After the Manual linking - IOS when performing a build gives me the following error. Can you help me? Thank you!
RN: 0.39
Xcode: 8.2

+1

Whats the version of the plugin you're using ?

version 1.0.1

+1

For RN < 0.40 support, use<EMAIL_ADDRESS>

I have the same problem.
xcode:8.2
"react": "^15.4.2",
"react-native": "^0.41.2",
"react-native-spinkit": "^1.0.2",

try run
react-native link
again

I had this problem trying to follow the manual instructions as well, but solved it buy just installing react-native-spinkit with Cocoapods (like the rest of my react-native libraries)
Yeouchien's pull request makes everything a lot easier, so I just added this to my package.json:
"react-native-spinkit": "git://github.com/yeouchien/react-native-spinkit.git#podspec"
And this to my Podfile
 pod 'react-native-spinkit', :path => './path/to/my/node_modules/react-native-spinkit'
And everything worked smoothly.

I am also seeing this issue with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>