Error "Missing metadata for global function"

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
Nope, entry level sample code.
Code: https://pastebin.com/VyLQBsHi
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mint 19.3
TensorFlow installed from (source or binary):
Binary
TensorFlow version (use command below):

apt policy rocm-dkms
rocm-dkms:
  Installed: 3.3.0-19

pip3 list --format=columns | grep tens
tensorboard           2.1.1
tensorflow-estimator  2.1.0
tensorflow-rocm       2.1.1

Python version:

apt policy python3
python3:
  Installed: 3.6.7-1~18.04

Bazel version (if compiling from source):
NA
GCC/Compiler version (if compiling from source):
NA
CUDA/cuDNN version:
NA
GPU model and memory:
Red Devil Radeon RX 5700 XT 8GB

Scripts output (tried updating it to python3 and pip3):
https://pastebin.com/cXKw9gBY
>>> print(tf.version.GIT_VERSION)
v2.1.0-22-g5f0b1a5
>>> print(tf.version.VERSION)
2.1.1

Describe the current behavior
train_loss = tf.keras.metrics.Mean(name='train_loss')

Returns:
terminate called after throwing an instance of 'std::runtime_error'
  what():  Missing metadata for __global__ function: _ZN5Eigen8internal15EigenMetaKernelINS_15TensorEvaluatorIKNS_14TensorAssignOpINS_9TensorMapINS_6TensorIbLi1ELi1EiEELi16ENS_11MakePointerEEEKNS_18TensorCwiseUnaryOpINS0_21scalar_boolean_not_opIbEEKNS4_INS5_IKbLi1ELi1EiEELi16ES7_EEEEEENS_9GpuDeviceEEEiEEvT_T0_
Aborted (core dumped)

Describe the expected behavior
Not to crash.  :)  Sorry, new.
Standalone code to reproduce the issue
Full source: https://pastebin.com/VyLQBsHi
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
Looks a lot like:
https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/issues/319

I have the same problem ... any solution ?

Not yet, but I just posted this so...  At least one other person in the last few months is seeing this, so hopefully soon.
If I do find anything, I will post back.

@sunway513 Correct me if I'm wrong, I don't think we support Mint OS.
Could you give a shot to our latest released docker image which is ubuntu based: rocm3.3-tf2.2-rc2-dev?

@sunway513 Correct me if I'm wrong, I don't think we support Mint OS.
Could you give a shot to our latest released docker image which is ubuntu based: rocm3.3-tf2.2-rc2-dev?

I have the same problem in Ubuntu 18.04 and rocm3.3-tf2.1-dev

I pulled rocm/tensorflow:rocm3.3-tf2.1-dev a second ago and cannot reproduce the crash.

I pulled rocm/tensorflow:rocm3.3-tf2.1-dev a second ago and cannot reproduce the crash.

It's a simple code for test and i have the problem when using divide() function :

Ubuntu 18.04
rocm/tensorflow:rocm3.3-tf2.1-dev ( pulled again )

import tensorflow as tf

a = tf.constant(2)
b = tf.constant(3)

add = tf.add(a, b)
sub = tf.subtract(a, b)
mul = tf.multiply(a, b)
div = tf.divide(a, b)

Still cannot reproduce.
Why am I seeing

Traceback (most recent call last):
File "", line 1, in
ImportError: No module named tensorflow

in your script output? Were you trying a manual compilation of tensorflow?
Also, could you provide your /opt/rocm/bin/rocminfo from host side?

For me, I am not using docker, but I pulled that image and am attempting to figure out how to run it.
Here is the output from my rocminfo:
https://pastebin.com/epKChc6j
Ummm....  I just reran the code....  IT WORKS NOW!
I think I ran patches, but...  I am not sure what changed...

@BloodBlight How did you use image ? Can you share your command and instruction ?

I did pull the newest docker actually!  Maybe I was using docker.  Sorry, this is all new for me.
Here is my full terminal output from a test:
https://pastebin.com/zgC3HQV3
And my docker info:
$ sudo docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
rocm/tensorflow     latest              6d38e912d13d        6 weeks ago         7.16GB
rocm/tensorflow     rocm3.3-tf2.1-dev   6d38e912d13d        6 weeks ago         7.16GB

@BloodBlight How did you use docker image ?

I didn't, at least not directly.  Try running this:
docker pull rocm/tensorflow:rocm3.3-tf2.1-dev

@BloodBlight ohhhh no :))) Share you docker run ... command or anything else before run python script

I didn't...  But that is the only thing that I can think changed.
Well, I installed vulkan-loader in an attempt to run a game...  Maybe that fixed something?
https://github.com/KhronosGroup/Vulkan-Loader

@jerryyin
Look at these info ...
Run steps
$ docker pull rocm/tensorflow:rocm3.3-tf2.1-dev

$ alias drun='sudo docker run -it --network=host --device=/dev/kfd --device=/dev/dri --ipc=host --shm-size 16G --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $HOME/dockerx:/dockerx'

$ drun rocm/tensorflow:rocm3.3-tf2.1-dev

$ python3

>>> import tensorflow as tf
>>> a = tf.constant(2)
>>> b = tf.constant(3)
>>> div = tf.divide(a, b)
terminate called after throwing an instance of 'std::runtime_error'
  what():  Missing metadata for __global__ function: _ZN5Eigen8internal15EigenMetaKernelINS_15TensorEvaluatorIKNS_14TensorAssignOpINS_9TensorMapINS_6TensorIdLi1ELi1ElEELi16ENS_11MakePointerEEEKNS_18TensorConversionOpIdKNS4_INS5_IKiLi1ELi1ElEELi16ES7_EEEEEENS_9GpuDeviceEEElEEvT_T0_
Aborted (core dumped)

rocminfo
$ /opt/rocm/bin/rocminfo

=====================
HSA System Attributes
=====================
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:<PHONE_NUMBER>3709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE
System Endianness:       LITTLE

==========
HSA Agents
==========
*******
Agent 1
*******
  Name:                    AMD Ryzen 7 3800X 8-Core Processor
  Marketing Name:          AMD Ryzen 7 3800X 8-Core Processor
  Vendor Name:             CPU
  Feature:                 None specified
  Profile:                 FULL_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        0(0x0)
  Queue Min Size:          0(0x0)
  Queue Max Size:          0(0x0)
  Queue Type:              MULTI
  Node:                    0
  Device Type:             CPU
  Cache Info:
    L1:                      32768(0x8000) KB
  Chip ID:                 0(0x0)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   3900
  BDFID:                   0
  Internal Node ID:        0
  Compute Unit:            16
  SIMDs per CU:            0
  Shader Engines:          0
  Shader Arrs. per Eng.:   0
  WatchPts on Addr. Ranges:1
  Features:                None
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    32857664(0x1f55e40) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Acessible by all:        TRUE
    Pool 2
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    32857664(0x1f55e40) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Acessible by all:        TRUE
  ISA Info:
    N/A
*******
Agent 2
*******
  Name:                    gfx1010
  Marketing Name:          Device 731f
  Vendor Name:             AMD
  Feature:                 KERNEL_DISPATCH
  Profile:                 BASE_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        128(0x80)
  Queue Min Size:          4096(0x1000)
  Queue Max Size:          131072(0x20000)
  Queue Type:              MULTI
  Node:                    1
  Device Type:             GPU
  Cache Info:
    L1:                      16(0x10) KB
  Chip ID:                 29471(0x731f)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   100
  BDFID:                   2816
  Internal Node ID:        1
  Compute Unit:            40
  SIMDs per CU:            4
  Shader Engines:          4
  Shader Arrs. per Eng.:   2
  WatchPts on Addr. Ranges:4
  Features:                KERNEL_DISPATCH
  Fast F16 Operation:      FALSE
  Wavefront Size:          32(0x20)
  Workgroup Max Size:      1024(0x400)
  Workgroup Max Size per Dimension:
    x                        1024(0x400)
    y                        1024(0x400)
    z                        1024(0x400)
  Max Waves Per CU:        80(0x50)
  Max Work-item Per CU:    2560(0xa00)
  Grid Max Size:<PHONE_NUMBER>(0xffffffff)
  Grid Max Size per Dimension:
    x<PHONE_NUMBER>(0xffffffff)
    y<PHONE_NUMBER>(0xffffffff)
    z<PHONE_NUMBER>(0xffffffff)
  Max fbarriers/Workgrp:   32
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    8372224(0x7fc000) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Acessible by all:        FALSE
    Pool 2
      Segment:                 GROUP
      Size:                    64(0x40) KB
      Allocatable:             FALSE
      Alloc Granule:           0KB
      Alloc Alignment:         0KB
      Acessible by all:        FALSE
  ISA Info:
    ISA 1
      Name:                    amdgcn-amd-amdhsa--gfx1010
      Machine Models:          HSA_MACHINE_MODEL_LARGE
      Profiles:                HSA_PROFILE_BASE
      Default Rounding Mode:   NEAR
      Default Rounding Mode:   NEAR
      Fast f16:                TRUE
      Workgroup Max Size:      1024(0x400)
      Workgroup Max Size per Dimension:
        x                        1024(0x400)
        y                        1024(0x400)
        z                        1024(0x400)
      Grid Max Size:<PHONE_NUMBER>(0xffffffff)
      Grid Max Size per Dimension:
        x<PHONE_NUMBER>(0xffffffff)
        y<PHONE_NUMBER>(0xffffffff)
        z<PHONE_NUMBER>(0xffffffff)
      FBarrier Max Size:       32
*** Done ***

@hatamiarash7 Could you do a $ apt --installed list | grep rocm outside the docker image so that I know the ROCm version installed in your bare metal?

@BloodBlight I suspect you were running on CPU, which is not what you intended. Please make sure you follow through this guide to have all environment configured correctly.

@jerryyin
$ apt --installed list | grep rocm

comgr/Ubuntu 16.04,now <IP_ADDRESS>-rocm-rel-3.3-19-7ac2e34 amd64 [installed,automatic]
hip-base/Ubuntu 16.04,now 3.3.20126.4629-rocm-rel-3.3-19-2dbba46b amd64 [installed,automatic]
hip-doc/Ubuntu 16.04,now 3.3.20126.4629-rocm-rel-3.3-19-2dbba46b amd64 [installed,automatic]
hip-hcc/Ubuntu 16.04,now 3.3.20126.4629-rocm-rel-3.3-19-2dbba46b amd64 [installed,automatic]
hip-samples/Ubuntu 16.04,now 3.3.20126.4629-rocm-rel-3.3-19-2dbba46b amd64 [installed,automatic]
hipblas/Ubuntu 16.04,now <IP_ADDRESS>0-rocm-rel-3.3-19-ef9f60d amd64 [installed,automatic]
hipcub/Ubuntu 16.04,now <IP_ADDRESS>-rocm-rel-3.3-19-61fca3e amd64 [installed]
hipsparse/Ubuntu 16.04,now <IP_ADDRESS>-rocm-rel-3.3-19-961de7b amd64 [installed,automatic]
hsa-ext-rocr-dev/Ubuntu 16.04,now 1.1.30300.0-rocm-rel-3.3-19-23fc088b amd64 [installed]
hsa-rocr-dev/Ubuntu 16.04,now 1.1.30300.0-rocm-rel-3.3-19-23fc088b amd64 [installed]
miopen-hip/Ubuntu 16.04,now <IP_ADDRESS>30-rocm-rel-3.3-19-ef17912 amd64 [installed]
miopengemm/Ubuntu 16.04,now <IP_ADDRESS>7-rocm-rel-3.3-19-b51a125 amd64 [installed]
rccl/Ubuntu 16.04,now 2.10.0-311-g1d2aa4e-rocm-rel-3.3-19 amd64 [installed]
rocalution/Ubuntu 16.04,now <IP_ADDRESS>1-rocm-rel-3.3-19-3e9ad81 amd64 [installed,automatic]
rocblas/Ubuntu 16.04,now <IP_ADDRESS>0-rocm-rel-3.3-19-50d99ed amd64 [installed,automatic]
rocfft/Ubuntu 16.04,now <IP_ADDRESS>4-rocm-rel-3.3-19-e732369 amd64 [installed,automatic]
rocm-clang-ocl/Ubuntu 16.04,now <IP_ADDRESS>-rocm-rel-3.3-19-fa039e7 amd64 [installed,automatic]
rocm-cmake/Ubuntu 16.04,now <IP_ADDRESS>-rocm-rel-3.3-19-1b9e698 amd64 [installed,automatic]
rocm-debug-agent/Ubuntu 16.04,now 1.0.0 amd64 [installed,automatic]
rocm-dev/Ubuntu 16.04,now 3.3.0-19 amd64 [installed,automatic]
rocm-device-libs/Ubuntu 16.04,now <IP_ADDRESS>5-rocm-rel-3.3-19-58abd89 amd64 [installed]
rocm-dkms/Ubuntu 16.04,now 3.3.0-19 amd64 [installed]
rocm-libs/Ubuntu 16.04,now 3.3.0-19 amd64 [installed]
rocm-opencl/Ubuntu 16.04,now 2.0.0-rocm-rel-3.3-19-363509c8d amd64 [installed]
rocm-opencl-dev/Ubuntu 16.04,now 2.0.0-rocm-rel-3.3-19-363509c8d amd64 [installed,automatic]
rocm-smi/Ubuntu 16.04,now 1.0.0-199-rocm-rel-3.3-19-ga9d6426 amd64 [installed,automatic]
rocm-smi-lib64/Ubuntu 16.04,now <IP_ADDRESS>.rocm-rel-3.3-19-a482394 amd64 [installed,automatic]
rocm-utils/Ubuntu 16.04,now 3.3.0-19 amd64 [installed]
rocminfo/Ubuntu 16.04,now 1.30300.0 amd64 [installed,automatic]
rocprim/Ubuntu 16.04,now <IP_ADDRESS>4-rocm-rel-3.3-19-6042e8a amd64 [installed,automatic]
rocrand/Ubuntu 16.04,now <IP_ADDRESS>3-rocm-rel-3.3-19-6f0dadf amd64 [installed,automatic]
rocsparse/Ubuntu 16.04,now <IP_ADDRESS>4-rocm-rel-3.3-19-593d877 amd64 [installed,automatic]
rocthrust/Ubuntu 16.04,now <IP_ADDRESS>3-rocm-rel-3.3-19-3de52fa amd64 [installed,automatic]

There is only Xenial - Ubuntu 16.04 repo ....
http://repo.radeon.com/rocm/apt/debian/dists/
And i used that quick-start too ( Also there is a problem with commands that i mentioned in this PR :
https://github.com/RadeonOpenCompute/ROCm-docker/pull/66 )

@jerryyin
Interesting!  The other day when it was crashing, both the CPU and GPU where showing when I ran this:
print(tf.config.experimental.list_physical_devices())
But now it is not, but isn't crashing!
[PhysicalDevice(name='/physical_device:CPU:0', device_type='CPU'), PhysicalDevice(name='/physical_device:XLA_CPU:0', device_type='XLA_CPU')]
Hmmm....

Alright, I am confused..
$ sudo /opt/rocm/bin/rocminfo
Reports both the CPU and GPU as available:
https://pastebin.com/kxSGCake
But...
$ sudo /opt/rocm/opencl/bin/x86_64/clinfo
Reports:
Number of platforms:				 1
https://pastebin.com/QS02cH5A
And finally, if I use the docker and run:
sudo /opt/rocm/bin/rocminfo
It only sees the CPU.....  Ug...
How can the host see it, but the docker cant?
I am running a very new kernel, could that be causing issues?
$ uname -a
Linux %SERVER% 5.6.13-050613-generic #202005141310 SMP Thu May 14 13:14:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Exact same problem on my system: Ryzen 5 3600X + RX 5700 XT
Seems to be related to the GPU

I checked with the ROCm team, unfortunately gfx10 gpu cards are not on the supported list (refer to here). Since Tensorflow depends on ROCm, there is nothing we can do.

Well crap!  Thank you @jerryyin! I think we all appreciate you hunting that down!


deposit: provide maximum files count per upload

Adds possibility to specify maximum number of files per upload.

Signed-off-by: Adrian Pawel Baran<EMAIL_ADDRESS>

cc @lnielsen

Thanks a lot!

@bouzlibop :shipit:

@jirikuncar, as far as I know @lnielsen already merged this to https://github.com/zenodo/invenio, so I guess you can merge it as it is to master? (BTW, I've just rebased on top of latest master) Let me know if there is anything more I need to do here.


[apostrophe-schemas] Caret in select menu in Apostrophe doesn't trigger dropdown.

Fixed in 8e84182775377165ee498c5f7d7beaf6e2e05d0e


gui(installer): re-add next button when starting managed bitcoind

This Next button was accidentally removed in commit bd03cc9cfffb7c5c45dd0dd60d54db807d4e02a2.

Good, can you refac this to remove the unecessary Row and use press_maybe ?


Property interpolation triggers misspelled properties warning

&:before {
    margin-#{$property-y}: -2 * $hint-arrow-width;
}

Results in
warning  Property `margin-` appears to be spelled incorrectly  no-misspelled-properties

Thanks for this @sathomas we'll get it sorted now that interpolation works in the AST correctly.
👍


[FEATURE REQUEST] provide localSocketAddress property

Is your feature request related to a problem? If so, please give a short summary of the problem and how the feature would resolve it
When default routing is not sufficient, asking the driver to use a specific interface (either via interface name or IP or dns name) is useful.
Describe the preferred solution
Add a JDBC driver property localSocketAddress.
Allowed values

(must) IPv4 or IPv6 address
(must) dns name
(very optional) interface name

Describe alternatives you've considered
./.
None available,  I am using Open Liberty.
Most drivers do support this already.
Additional context
See below
Reference Documentations/Specifications

PostgreSQL: https://github.com/pgjdbc/pgjdbc/issues/2081
MySQL: https://dev.mysql.com/doc/connectors/en/connector-j-connp-props-networking.html#cj-conn-prop_localSocketAddress
Oracle: https://docs.oracle.com/cd/E17952_01/connector-j-8.0-en/connector-j-connp-props-networking.html#cj-conn-prop_localSocketAddress
IBM DB2 request: https://ibm-data-and-ai.ideas.ibm.com/ideas/DB24LUW-I-1592

Reference Implementation
Unknown, but a lot of drivers already support this exact JDBC property.

We'll visit this in planning and let you know if we'll take up work on this.


Updates dashboard styles

Pull Request Description
Fixes #5735
Refactor some code for project operations:

listProjects
createProject

Important Notes

Checklist
Please include the following checklist in your PR:

[ ] The documentation has been updated if necessary.
[ ] All code conforms to the
Scala,
Java,
and
Rust
style guides.
All code has been tested:

[ ] Unit tests have been written where possible.
[ ] If GUI codebase was changed: Enso GUI was tested when built using BOTH
./run ide build and ./run ide watch.

reverting for now because i think it's not ready for merging

documentation comments should probably be added to most functions: style guide


ARCHITECTURE.md: update for Cloudflare teams

Cloudflare now supports shared ownership of domains, and we use this
feature to administrate both 'git-scm.org' and 'git-scm.com'.
Since our adoption of this feature, the 'DNS' section of the
architecture document is out of date, and instead refers to the
old-style single-account setup.
Update the documentation here to reflect the current architecture, so
that others in the future can volunteer to help if they wish to do so.

thanks for updating this file @ttaylorr !
I'm totally out of this part, but probably @peff can confirm and merge this PR :)

Yep, true as of yesterday. :) Thanks for the update.
@pedrorijo91 Taylor's going to be helping out with maintenance of the site; I imagine seeing this PR from a first-time contributor was a bit confusing. :wink:

@pedrorijo91 Taylor's going to be helping out with maintenance of the site; I imagine seeing this PR from a first-time contributor was a bit confusing. 😉

always good to have another contributor! Welcome aboard @ttaylorr :)  🎉


call getDirectPackage(); don't search other modules

when attempting to create a package, it's not relevant if some other
module has a package with the desired name, so use getDirectPackage(),
not getPackage().

Can one of the admins verify this patch? (see README)


Handle non-IntEnum Enums properly (v2)

The following code should work without errors:
from enum import Enum

from pydantic import BaseModel

class MyEnum(Enum):
    x = 1
    y = 2

class Model(BaseModel):
    enum: MyEnum

Model(enum=2)
Model(enum=MyEnum.x)

However, currently, the final line raises:
pydantic_core._pydantic_core.ValidationError: 1 validation error for Model
enum
  Input should be a valid integer [type=int_type, input_value=<MyEnum.x: 1>, input_type=MyEnum]

This is related to the fact that currently while building the schema, non-IntEnum and non-str subclasses are handled as Literals of the enum values, which doesn't work if you pass an actual value of the enum through:
https://github.com/pydantic/pydantic/blob/ef3cc495a9c86553b62a95a6052fd9b6ebc045e9/pydantic/_internal/_std_types_schema.py#L80-L83

My suggestion:
        return core_schema.union_schema(
            core_schema.is_instance_schema(enum_type),
            core_schema.function_after_schema(
                literal_schema,
                to_enum,
            )
        )

or
        return core_schema.union_schema(
            core_schema.function_after_schema(
                literal_schema,
                to_enum,
            ),
            core_schema.is_instance_schema(enum_type)
        )

depending on which case we want to prioritize for performance (if I'm understanding how this would work properly).
@samuelcolvin You mentioned something about strict, but I'm not sure I followed; let me know if the above proposals have known issues.

This has been fixed


Implement faster slow path for double parser (JDK 21)

JDK 21 now includes a faster conversion routine from BigDecimal to double.
We can now implement a performant slow path for double values with very few lines of code.
https://github.com/openjdk/jdk/pull/9410
https://bugs.openjdk.org/browse/JDK-8205592

BigDecimal.double() is slower than re-parsing the String again with Double.parseDouble().
However it is useful for parsing localized number formats, which we can not re-parse with Double.parseDouble().
I am going to use this approach in the ConfigurableDoubleParser.


Improve image for

4.Pair-programming-with-my-self.md
https://github.com/DinisCruz/Book_Software_Quality/blob/master/content/22.Diagrams/4.Pair-programming-with-myself/4.Pair-programming-with-my-self.md

here is one created by Amir


[BUG] Error when using google translate

Check the troubleshooting page before opening an issue!
Make sure your problem isn't already covered at the troubleshooting page: https://react-tooltip.com/docs/troubleshooting

Bug description
The Medusa documentation uses react-tooltip for all tooltips. We've had multiple users report an issue when using google translate (see here) where the website crashes with the error NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
After investigation, the error seems to result from google trying to replace the tooltip's content with the translated content.
Here's the error trace in development:
Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
    at insertBefore (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:11088:18)
    at insertOrAppendPlacementNode (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:23895:7)
    at commitPlacement (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:23839:9)
    at commitReconciliationEffects (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:24586:7)
    at commitMutationEffectsOnFiber (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:24342:9)
    at recursivelyTraverseMutationEffects (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:24268:7)
    at commitMutationEffectsOnFiber (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:24288:9)
    at recursivelyTraverseMutationEffects (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:24268:7)
    at commitMutationEffectsOnFiber (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:24288:9)
    at recursivelyTraverseMutationEffects (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:24268:7)

The above error occurred in the  component:

    at span
    at q (webpack-internal:///../../node_modules/react-tooltip/dist/react-tooltip.min.mjs:17:6453)
    at eval (webpack-internal:///../../node_modules/react-tooltip/dist/react-tooltip.min.mjs:17:16920)
    at Tooltip (webpack-internal:///../../packages/docs-ui/dist/esm/components/Tooltip/index.js:24:11)
    at CopyButton (webpack-internal:///../../packages/docs-ui/dist/esm/components/CopyButton/index.js:15:23)
    at InlineCode (webpack-internal:///../../packages/docs-ui/dist/esm/components/InlineCode/index.js:15:21)
    at MDXCode (webpack-internal:///./src/theme/MDXComponents/Code.tsx:13:96)
    at p
    at MDXContent (webpack-internal:///./content/create-medusa-app.mdx:491:72)
    at MDXProvider (webpack-internal:///../../node_modules/@mdx-js/react/lib/index.js:76:13)
    at MDXContent (webpack-internal:///../../node_modules/@docusaurus/theme-classic/lib/theme/MDXContent/index.js:17:23)
    ...

(Shortened the rest down for readability)
I confirmed that when i remove the use of react-tooltip in the Tooltip component, the issue doesn't occur anymore.
This is the content of the Tooltip component:
"use client"

import React, { useId } from "react"
import { Tooltip as ReactTooltip } from "react-tooltip"
import type { ITooltip } from "react-tooltip"
import clsx from "clsx"
import "react-tooltip/dist/react-tooltip.css"

export type TooltipProps = {
  text?: string
  tooltipClassName?: string
  html?: string
  tooltipChildren?: React.ReactNode
} & React.HTMLAttributes<HTMLSpanElement> &
  ITooltip

export const Tooltip = ({
  text = "",
  tooltipClassName = "",
  children,
  html = "",
  tooltipChildren,
  className,
  ...tooltipProps
}: TooltipProps) => {
  const elementId = useId()

  return (
    <>

        {children}

      <ReactTooltip
        anchorId={elementId}
        // anchorSelect={elementId ? `#${elementId}` : undefined}
        className={clsx(
          "!border-medusa-border-base !border !border-solid",
          "!text-compact-x-small-plus !shadow-tooltip dark:!shadow-tooltip-dark !rounded-docs_DEFAULT",
          "!py-docs_0.4 !z-[399] hidden !px-docs_1 lg:block",
          "!bg-medusa-bg-base",
          "!text-medusa-fg-subtle",
          tooltipClassName
        )}
        wrapper="span"
        noArrow={true}
        positionStrategy={"fixed"}
        {...tooltipProps}
      >
        {tooltipChildren}
      </ReactTooltip>
    </>
  )
}

While this was reported on our documentation website running on Docusaurus, I was also able to reproduce it on our new documentation running on Next.js.
Version of Package
v5.27.1
To Reproduce

Open the documentation website: https://docs.medusajs.com
Use google translate (on chrome) to translate to any other language)
Navigate to another page and hover over any inline code element (those have tooltips) and you'll see the error. Sometimes you only get to the error after a few tries.

Expected behavior
The page shouldn't crash when using google translate
Screenshots
https://github.com/ReactTooltip/react-tooltip/assets/27354907/588e975e-11e4-41c4-9ef7-9c1bc39de35a
Desktop (please complete the following information if possible or delete this section):

OS: [e.g. iOS] MacOS
Browser [e.g. chrome, safari] Chrome
Version [e.g. 22]
Frameworks [e.g. React 18, Next.js 13]

Smartphone (please complete the following information if possible or delete this section):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22] 126.0.6478.127
Frameworks [e.g. React 18, Next.js 13] Happens on Docusaurus and Next.js 14

Additional context
Add any other context about the problem here.

This is a well-known React issue, that crops up every few months on different projects I'm working on. Definitely extremely annoying.
Usually simply disabling translation for the whole page works well enough, but definitely a bad idea for the medusa docs here.
I'll have more time to try to work out a more permanent solution when using react-tooltip, but until then, can you try the following and see if it works for you. It helps that you already have a wrapper component for the tooltip.
https://github.com/medusajs/medusa/blob/b368251ca3726ca13ba7b69e2ec899d9d0686e1d/www/packages/docs-ui/src/components/Tooltip/index.tsx#L30-L38

  {children}

Adding className="notranslate" + translate="no" attribute should disable browser translation for the tooltip anchor elements.
This might work well as a temporary fix, but we might be able to improve how the tooltip handles DOM changes internally.
Let us know what you find.

Hello! I tried your solution and I was only able to make it work by adding another wrapper span:
 // new

        {children}

      <ReactTooltip
        anchorId={elementId}
        // anchorSelect={elementId ? `#${elementId}` : undefined}
        className={clsx(
          "!text-compact-x-small !shadow-elevation-tooltip dark:!shadow-elevation-tooltip-dark !rounded-docs_DEFAULT",
          "!py-docs_0.25 !z-[399] hidden !px-docs_0.5 lg:block",
          "!bg-medusa-bg-component",
          "!text-medusa-fg-base text-center",
          tooltipClassName
        )}
        wrapper="span"
        noArrow={true}
        positionStrategy={"fixed"}
        opacity={1}
        {...tooltipProps}
      >
        {tooltipChildren}
      </ReactTooltip>

Will use this fix for now, but yes would be great if we can get it fixed.
Thanks for the help! Not sure if I should close the issue so feel free to do so if it's not necessary anymore.


Add Support for Video Input in Serverless API

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Is your feature request related to a problem? Please describe.
The current serverless API in CVAT only supports processing individual frames, which limits its ability to handle tasks that require video input. My deep learning model needs to process entire videos, and the current frame-by-frame processing is not sufficient for this purpose.
Describe the solution you'd like
I would like the serverless API to be enhanced to support video input, allowing entire videos to be passed to the API rather than just individual frames. This would enable models that require video input for processing to function correctly within the CVAT serverless environment.
Describe alternatives you've considered
No response
Additional context
No response

Hi @WorkTimer , could you please explain a bit more on this and if there is any code references then please give it also.

Thank you for your response!
In the current CVAT serverless API code, the processing is done on individual image frames,
as shown in the following code: https://github.com/cvat-ai/cvat/blob/develop/serverless/pytorch/facebookresearch/sam/nuclio/main.py:
def handler(context, event):
    context.logger.info("call handler")
    data = event.body
    buf = io.BytesIO(base64.b64decode(data["image"]))
    image = Image.open(buf)
    image is converted to RGB
    features = context.user_data.model.handle(image)
    return context.Response(body=json.dumps({
            'blob': base64.b64encode((features.cpu().numpy() if features.is_cuda else features.numpy())).decode(),
        }),
        headers={},
        content_type='application/json',
        status_code=200
    )

In this code, the API can only receive and process a single image frame.
However, the new SAM2 model supports predicting an entire video at once, as demonstrated in this example：https://github.com/facebookresearch/segment-anything-2/blob/main/notebooks/video_predictor_example.ipynb, which shows how to perform segmentation on an entire video.
My suggestion is to enhance the CVAT serverless API to accept and process complete video files rather than just individual frames. This would allow models like SAM2, which are designed for video processing, to be directly integrated into CVAT for automatic segmentation and annotation of entire videos.

This update to the CVAT serverless API enables processing of entire video files using the SAM2 model, allowing for automatic segmentation of video content. The implementation follows the code structure and conventions found in CVAT's serverless/pytorch/facebookresearch/sam/nuclio/main.py.
import io
import base64
import json
import cv2
import numpy as np
from PIL import Image

def init_context(context):
    from segment_anything import SamAutomaticMaskGenerator
    from segment_anything import sam_model_registry

    model_type = "vit_b"
    checkpoint_path = "/opt/nuclio/sam_vit_b.pth"
    sam = sam_model_registry[model_type](checkpoint=checkpoint_path)
    mask_generator = SamAutomaticMaskGenerator(sam)
    context.user_data.model = mask_generator

def handler(context, event):
    context.logger.info("Handling request for video segmentation")

    try:
        # Decode video from base64
        data = event.body
        video_data = base64.b64decode(data["video"])
        video_buf = io.BytesIO(video_data)

        # Read video frames using OpenCV
        video = cv2.VideoCapture(video_buf)
        frames = []
        while video.isOpened():
            ret, frame = video.read()
            if not ret:
                break
            rgb_frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
            frames.append(rgb_frame)
        video.release()

        # Process frames with SAM model
        context.logger.info(f"Processing {len(frames)} frames")
        segmented_frames = []
        for frame in frames:
            masks = context.user_data.model.generate(frame)
            mask_image = np.zeros_like(frame)
            for mask in masks:
                mask_image[mask['segmentation']] = mask['class_id']
            segmented_frames.append(mask_image)

        # Encode segmented frames into a video
        output_video = io.BytesIO()
        height, width, _ = segmented_frames[0].shape
        video_writer = cv2.VideoWriter(
            output_video, cv2.VideoWriter_fourcc(*'mp4v'), 24, (width, height)
        )
        for frame in segmented_frames:
            video_writer.write(cv2.cvtColor(frame, cv2.COLOR_RGB2BGR))
        video_writer.release()

        # Base64 encode the output video
        output_video.seek(0)
        encoded_video = base64.b64encode(output_video.read()).decode()

        return context.Response(
            body=json.dumps({'video': encoded_video}),
            headers={},
            content_type='application/json',
            status_code=200
        )

    except Exception as e:
        context.logger.error(f"Error processing video: {str(e)}")
        return context.Response(
            body=json.dumps({'error': str(e)}),
            headers={},
            content_type='application/json',
            status_code=500
        )

1. init_context(context):

This function initializes the serverless function's context by loading the SAM model (SamAutomaticMaskGenerator).
Model Type: The SAM model type ("vit_b") and the checkpoint path ("/opt/nuclio/sam_vit_b.pth") are specified.
Context Usage: The initialized model is stored in context.user_data to make it accessible during the handler's execution.

2. handler(context, event):

Logging: Logs are added to trace the processing flow and to debug if necessary.
Video Decoding: The video file is received as a base64 encoded string, decoded into binary data, and read using OpenCV.
Frame Extraction: Each frame of the video is extracted and converted to RGB format for processing by the SAM model.
SAM Model Processing: Each frame is processed by the SAM model to generate segmentation masks, which are applied to create segmented frames.
Re-encoding Video: The processed frames are re-encoded into a video, which is then base64 encoded for transmission back to the client.
Error Handling: The function includes robust error handling, ensuring that any issues are logged and a proper error response is returned.

3. OpenCV Integration:

cv2.VideoCapture: Used to capture video frames from the in-memory buffer.
cv2.VideoWriter: Used to create the output video from the segmented frames.

4. Base64 Encoding:

The input and output videos are base64 encoded to allow easy transmission as JSON.

5. Model Output Handling:

Segmentation masks are applied to frames to create a visual representation of the segmentation.
The mask is stored as a binary image where the mask is applied based on the class ID.

I have done some changes can you review it and I'm open for any suggestions .

Thank you for the update and the detailed explanation! I have reviewed the changes you've made to the code and understand the newly implemented features. This solution aligns perfectly with what I was looking for, and I really appreciate the time and effort you've put into making these improvements. I'm looking forward to seeing it in action within CVAT.


Add support for Xiaomi MJSXJ03HL jxq03p on T31ZL chip

Precompiled binary firmware (t31n/t31l) hangs on u-boot
Ingenic U-Boot Flex 2013.07-g00945d0 (Oct 26 2024 - 07:03:20)

Platform: ISVP (Ingenic XBurst1)
Built profile: T31L
SOC Name: T31ZL
DRAM:  64 MiB
Top of RAM usable for U-Boot at: 84000000
Reserving 471k for U-Boot at: 83f88000
Reserving 32832k for malloc() at: 81f78000
Reserving 32 Bytes for Board Info at: 81f77fe0
Reserving 124 Bytes for Global Data at: 81f77f64
Reserving 256k for boot params() at: 81f37f64
Stack Pointer at: 81f37f48
Now running in RAM - U-Boot at: 83f88000

MMC:   msc: 0
JZ SFC: Flash chip ID: 5e4018
SF:    Detected ZB25VQ128 (5e 40 18 5e ca)

T31ZL is a full equivalent to T31L in our use case, and it is already supported. If your camera hangs on boot then find the reason and reopen this ticket with added details.


Cannot make react crop fit window size (full-screen)

Hello,
I'm displaying photo taken by react-webcam in react-image-crop component. With the code posted below, I'm able to make the screenshot fit the full size of the window for some devices (Galaxy S5 emulator (360x640) and on my PC (1707x956px)). However, it doesn't work on the iPad (768x1024)/iPhone/Pixel 2 emulators. With the style attribute I am able to make the camera (before capture) fit the window size fully on any device. Why is it that I can't do the same for the screenshot in react crop component?
Here is a link to the sandbox: https://codesandbox.io/s/8to8e?file=/src/App.js
This is my webcam component:
                <ReactCrop
                  className="preview"
                  src={src}
                  crop={crop}
                  ruleOfThirds
                  onImageLoaded={this.onImageLoaded}
                  onComplete={this.onCropComplete}
                  onChange={this.onCropChange}
                  style={{ overflow: "hidden" }}
                  imageStyle={{
                    overflow: "hidden",
                    minWidth: "100%",
                    minHeight: "100%",
                    objectFit: "contain",
                    display: "flex",
                    alignItems: "center",
                    justifyContent: "center"
                  }}
                />

Any help would be appreciated!

Hi @pCyril, unfortunately I didn't find the solution.


remove CFeatures::list_feature_obj

This can now be done via to_string. Easy-peasy entrance task (just remove all occurrences of code and make build work)

I can take care of that issue.

@karlnapf how to get permission to push pull request with the solution for this case?

you might want to read about how to contribute code via github. In short: you push to your fork and send a pull request. But please read our developer readme before doing that, it has lots of tips. Looking forward to your PR

Hi,
PR done:
https://github.com/shogun-toolbox/shogun/pull/4739
how to add reviwers?
br,KG
On Mon, Jul 29, 2019 at 3:37 PM Heiko Strathmann<EMAIL_ADDRESS>wrote:

you might want to read about how to contribute code via github. In short:
you push to your fork and send a pull request. But please read our
developer readme before doing that, it has lots of tips. Looking forward to
your PR
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/shogun-toolbox/shogun/issues/4705?email_source=notifications&email_token=ALP6AWOCIDZL5QCDRNKSDFLQB3XDJA5CNFSM4H5DFWEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3AXINA#issuecomment-515994676,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALP6AWNSOZ7V6EIRBFTKH23QB3XDJANCNFSM4H5DFWEA
.

We get notified when you send a PR, we will review once we have free time (usually we are a bit slow in summer). Thanks a lot for the PR :)


Hosting Bundle version clarification

Fixes #17872
Internal Review Topic

Best not to link any prior version explicitly because the bundle might rev and thus the link go stale.
This removes the direct download link from prior versions because the 3.x runtime isn't backwards compat.
I left a reminder note at the top of the topic about the changes needed for 5.0.

Thanks @willydavidjr! :rocket:

Fixes #17872
Internal Review Topic

Best not to link any prior version explicitly because the bundle might rev and thus the link go stale.
This removes the direct download link from prior versions because the 3.x runtime isn't backwards compat.
I left a reminder note at the top of the topic about the changes needed for 5.0.

Thanks @willydavidjr! 🚀

You're welcome. I'm glad with the quick response! :clap:


Fix the retry bug in Jest tests

Jest has issues with instance of calls. And the AWS SDK is using instanceof Error and instanceof Object to check the error object in order to decide whether it should do a retry on API error or not.
As a result we see errors in CI tests not being retried and causes jobs to fail.

As seen in @aws-sdk/middleware-retry code, the asSdkError function is checking whether the error is an instance of Error, if so returns it but if it's not (in Jest's case the last statement is executed) it's wrapped using a new Error object.
https://github.com/aws/aws-sdk-js-v3/blob/main/packages/middleware-retry/src/StandardRetryStrategy.ts#L142-L147
The new Error object lacks the needed properties for and shouldRetry call therefore returns false:
https://github.com/aws/aws-sdk-js-v3/blob/main/packages/middleware-retry/src/StandardRetryStrategy.ts#L96
https://github.com/aws/aws-sdk-js-v3/blob/main/packages/middleware-retry/src/StandardRetryStrategy.ts#L42
Because the defaultRetryDecider is using functions that rely on error.name which is replaced by Error when a new object is created and therefore they don't work as expected:
https://github.com/aws/aws-sdk-js-v3/blob/main/packages/middleware-retry/src/retryDecider.ts#L9-L15
For example isTransientError is using error.name as follows:
https://github.com/aws/aws-sdk-js-v3/blob/e7b1535fb6707bb84241d0bd21ca339037094246/packages/service-error-classification/src/index.ts#L26-L29

@dfellis I think this is a good improvement for the socket hang up errors. But it has caused some of the tests to take longer than expected. Because it's retrying blindly in the test suites currently. We need to somehow replicate the original behavior.


chore: simplify build with npm workspaces

Description

simplified build process with npm workspaces
updated GH workflows to use new npm scripts
simplified caching in GH workflows

Notes:

I suggest that we move the packages into packages/* to fit monorepo convention, however this is a large change, so I have not made it here.
I notice other utility packages in the packages folder were not being built as a part of the install script, or GH workflow, so have not added them to monorepo, I think they should probably be in there - code owners to clarify.

Checklist

[x] The base branch of this PR is dev, rather than main
[ ] The relevant docs, if any, have been updated or created

Testing
GH workflows were tested with act, however not end-to-end on GH. Please pay particular attention to reviewing these files.

@refactorthis this is really great. I made a couple of updates to get the build working, but am still running into this:
~/D/continue => npm run prepackage -w extensions/vscode

><EMAIL_ADDRESS>prepackage
> node scripts/prepackage.js

[info] Using target:  darwin-arm64
[info] Packaging extension for target  darwin-arm64
npm ERR! Cannot read properties of null (reading 'package')

npm ERR!  Cannot read properties of null (reading 'package')

npm ERR!  Lifecycle script `prepackage` failed with error:
npm ERR! Error: command failed
npm ERR!   in workspace<EMAIL_ADDRESS>npm ERR!   at location: /Users/natesesti/Desktop/continue/extensions/vscode

If you could help double check the prepackage.js + prepackage-cross-platform.js files, it's the only remaining blocker to merging

@sestinj - I've made changes to the build scripts. ran as much as I could to verify, can you check if I've missed anything? I haven't run the gradle build - worth double checking that one.

Getting really close! Everything looks fine for me except a few odd type errors that are coming up upon npx tsc inside of extensions/vscode (and so also when starting the debugger). May get to these soon, but as usual if you have the interest that could speed things up


Add read_lines_limit parameter to control chunk size in in_tail

Related to https://groups.google.com/forum/#!topic/fluentd/-6Q8pPMU-Kc
back-pressure can't resolve this problem so adding option is better.
This limit is rough so the number of emit records succeeds read_lines_limit.
For example, set 100 but the number of emit records becomes 105. It depends on line length of log.
Edit: Change parameter name to read_lines_limit

@sonots @tagomoris Do you have any concern to merge this PR? If no problem, I will merge this.


why do you need create a user in login

https://github.com/Gayaneh91/djangoProject/blob/272909faf53b2fd963bc72a7f93c4ce2289a6266/Desktop/task/cinema/accounts/views.py#L42

My bad,  I made copy-paste from register function and forgot to remove this line.


Open-source simulator - verilator support for the VIP

Tried installing the software but need root permissions (sudo)
Will try it later - need to talk to somu


read_template codec error

Hi,
I 've started and get the following error with
cloudns.yml ( I think from russian letters):
I 've no experience with Python. How can I switch the locale?
My Environment:
Win10 64 Home
Active Perl 3.6

C:\Python36\lib\site-packages\invoice2data-0.2.53-py3.6.egg\invoice2data\templates 	 com.cloudns.yml
Traceback (most recent call last):
File "C:\Users\PapaNetz.p2\pool\plugins\org.python.pydev_<IP_ADDRESS>704111357\pysrc\pydevd.py", line 1546, in
globals = debugger.run(setup['file'], None, None, is_module)
File "C:\Users\PapaNetz.p2\pool\plugins\org.python.pydev_<IP_ADDRESS>704111357\pysrc\pydevd.py", line 982, in run
pydev_imports.execfile(file, globals, locals)  # execute the script
File "C:\Users\PapaNetz.p2\pool\plugins\org.python.pydev_<IP_ADDRESS>704111357\pysrc_pydev_imps_pydev_execfile.py", line 25, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "C:\Users\PapaNetz\git\invoice2data\invoice2data\main.py", line 96, in
main()
File "C:\Users\PapaNetz\git\invoice2data\invoice2data\main.py", line 80, in main
templates += read_templates(pkg_resources.resource_filename('invoice2data', 'templates'))
File "C:\Python36\lib\site-packages\invoice2data-0.2.53-py3.6.egg\invoice2data\template.py", line 39, in read_templates
tpl = ordered_load(open(os.path.join(path, name)).read())
File "C:\Python36\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 53: character maps to

Interesting. Python 3 shouldn't give Unicode errors. We test on 3.6 as well and didn't happen so far.
If you find a workaround, do let us know.

Hello,
I was also getting this error and resolved it by changing the line 38 in template.py to:
tpl = ordered_load(open(os.path.join(path, name),encoding="utf8").read())
on my computer (windows 8) template.py is located here: C:\Users\Max\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\invoice2data
Hope this helps.

Hi I tried your suggestion and got this Error on every available template. Would be helpful if you have any solutions.
C:\Python35\lib\site-packages\invoice2data\template.py:38: ResourceWarning: unclosed file <_io.TextIOWrapper name='C:\Python35\lib\site-packages\invoice2data\templates\com.apps4rent.yml' mode='r' encoding='utf8'>
tpl = ordered_load(open(os.path.join(path, name),encoding="utf8").read())

That's a warning related to the way we read template files. I just replaced it with with ... constructs. Should be solved now.

Strangely I still get this warning Unicode error...

It is an error with pip relating to text encoding on Windows https://github.com/pypa/pip/issues?q=is%3Aopen+is%3Aissue+UnicodeDecodeError+setup.py
The only workaround is using python2.
I think this issue can be closed now.

I tried in two windows and a Ubuntu computer, and only ubuntu one works, as expected.
I tried solution provided by sagaciousnisha3, it works, but I get "
WARNING:root:regexp for field invoice_number didn't match
ERROR:root:Unable to match some fields:
" for two example pdf out of four.

@WSPeng if you want to use it in windows (accurately), you have to use python2. Can you try and confirm?

@duskybomb I installed python 2.7.14 and try it, it gives same error as python3.6 (can't extract data from QualityHosting.pdf and PAYPAL ENVATO MKPL EN<PHONE_NUMBER> AU.pdf)
Here is the detail:

from invoice2data import extract_data
r1 = extract_data('2014-05-07 Invoice 30064443 from QualityHosting.pdf')
WARNING:root:regexp for field invoice_number didn't match
ERROR:root:Unable to match some fields:
r2 = extract_data('2014-08-03 SALES Amazon Web Services  aws.amazon.coUS.pdf')
r3 = extract_data('2015-01-29 PAYPAL ENVATO MKPL EN<PHONE_NUMBER> AU.pdf')
WARNING:root:regexp for field amount didn't match
WARNING:root:regexp for field amount_untaxed didn't match
WARNING:root:regexp for field date didn't match
WARNING:root:regexp for field invoice_number didn't match
ERROR:root:Unable to match some fields:
r4 = extract_data('2015-07-02-invoice_free_fiber.pdf')
r5 = extract_data('Flipkart Invoice.pdf')

The information about python I used:
Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

I think this issue has been resolved by #99
We should close this.

Let's hope so. Closing.


How could I log the trace level in an ASP Core .NET 6 application?

When I use the default configuration of Serilog (the code example for ASP Core .NET 6) I get this log:
[10:57:21 INF] Starting up
[10:57:21 WRN] Overriding address(es) 'http://localhost:5130, https://localhost:7130'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
[10:57:21 INF] Now listening on: https://[::]:5001
[10:57:21 INF] Application started. Press Ctrl+C to shut down.
[10:57:21 INF] Hosting environment: Development
[10:57:21 INF] Content root path: D:\desarrollo\proyectos\GestorOrdenadores\GestorOrdenadores.Service.Server.Host.AspCore\

But I would like to have more level of trace, I would like to can log this that I see in the console:
trce: Grpc.AspNetCore.Server.Model.Internal.ServiceRouteBuilder[2]
      Discovering gRPC methods for GestorOrdenadores.Service.Server.Grpc.GestorOrdenadoresService.
trce: Grpc.AspNetCore.Server.Model.Internal.ServiceRouteBuilder[1]
      Added gRPC method 'SayHello' to service 'greet.Greeter'. Method type: Unary, HTTP method: POST, route pattern: '/greet.Greeter/SayHello'.
warn: Microsoft.AspNetCore.Server.Kestrel[0]
      Overriding address(es) 'http://localhost:5130, https://localhost:7130'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: https://[::]:5001
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
      Content root path: D:\desarrollo\proyectos\GestorOrdenadores\GestorOrdenadores.Service.Server.Host.AspCore\

But I am not able to get this log.
How could I get it?
Thanks.

Hi! It looks like you want to adjust the logging levels in appsettings.json:
https://github.com/datalust/dotnet6-serilog-example/blob/dev/appsettings.json#L4
Setting a minimum level of Verbose, and removing the Microsoft overrides, will get everything flowing through.
HTH!

Thanks so much. This works as expected.
Thank you.


The "Install SSH Key task" link is broken

Under "See Also" there is a link to https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks/InstallSSHKey which should not work. The correct link is https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/InstallSSHKeyV0

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

ID: 89132320-da86-8a4e-4468-cf651561892c
Version Independent ID: 4946284d-9666-4a15-9e03-72377693ecb0
Content: Copy Files Over SSH task - Azure Pipelines
Content Source: docs/pipelines/tasks/deploy/copy-files-over-ssh.md
Product: devops
Technology: devops-cicd
GitHub Login: @RoopeshNair
Microsoft Alias: ronai

https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/install-ssh-key would probably be a more useful link for people as well.

I have an open PR to fix the docs, https://github.com/MicrosoftDocs/vsts-docs/pull/4647


KituraOpenAPI SDK Generation Gives Incorrect getAll Call

Context and Description
Incorrect SDK route generated by kitura sdk --ios -l http://localhost:8080/openapi
I am expecting an SDK call that can retrieve an array of objects, but the generated SDK call only gives me back one object (subsequently which is always nil in the strongly typed retVal)
Environment Details

macOS v10.13.4
Xcode v9.4.1
Swift v4.1.1
Kitura v2.4.1
KituraOpenAPI v1.0.1
Kitura CLI v0.0.12
ibmcloud version 0.7.1+8a6d40e-2018-06-07T07:13:39+00:00

Steps to Reproduce

Create this object:

struct JournalEntry: Codable {
  var id: String?
  var emoji: String
  var username: String
}

Write a GET route to retrieve all entries (assume the POST call writes properly to the temporary datastore):

private var dataStore = [String: JournalEntry]()

func initializeEntryRoutes(app: App) {
  app.router.get("/entries", handler: getAllEntries)
  Log.info("Journal entry routes created")
}

func getAllEntries(completion: @escaping ([JournalEntry]?, RequestError?) -> Void) -> Void {
  let entries = dataStore.map{ $0.value }
  completion(entries, nil)
}

Ensure that KituraOpenAPI is working and generating a spec for this API:

  public func run() throws {
    try postInit()
    KituraOpenAPI.addEndpoints(to: router)
    Kitura.addHTTPServer(onPort: cloudEnv.port, with: router)
    Kitura.run()
  }

Test routes in Swagger UI, as generated from this spec:

{
    "schemes": [
        "http",
        "https"
    ],
    "swagger": "2.0",
    "info": {
        "version": "1.0",
        "title": "Kitura Project",
        "description": "Generated by Kitura"
    },
    "paths": {
        "\/entries": {
            "post": {
                "consumes": [
                    "application\/json"
                ],
                "produces": [
                    "application\/json"
                ],
                "responses": {
                    "200": {
                        "schema": {
                            "$ref": "#\/definitions\/JournalEntry"
                        },
                        "description": "successful response"
                    }
                },
                "parameters": [{
                    "in": "body",
                    "name": "input",
                    "required": true,
                    "schema": {
                        "$ref": "#\/definitions\/JournalEntry"
                    }
                }]
            },
            "get": {
                "consumes": [
                    "application\/json"
                ],
                "produces": [
                    "application\/json"
                ],
                "responses": {
                    "200": {
                        "schema": {
                            "$ref": "#\/definitions\/JournalEntry"
                        },
                        "description": "successful response"
                    }
                },
                "parameters": [
                ]
            }
        },
        "\/entries\/{id}": {
            "delete": {
                "consumes": [
                    "application\/json"
                ],
                "produces": [
                    "application\/json"
                ],
                "responses": {
                    "200": {
                        "description": "successful response"
                    }
                },
                "parameters": [{
                    "in": "path",
                    "name": "id",
                    "required": true,
                    "type": "integer"
                }]
            }
        }
    },
    "basePath": "\/",
    "definitions": {
        "JournalEntry": {
            "type": "object",
            "required": ["emoji", "username"],
            "properties": {
                "id": {
                    "type": "string"
                },
                "emoji": {
                    "type": "string"
                },
                "username": {
                    "type": "string"
                }
            }
        }
    }
}

Use the Kitura CLI to generate a Swift SDK for this spec like so:

kitura sdk --ios -l http://localhost:8080/openapi

Integrate the SDK into an iOS application.

Expected vs. Actual Behaviour

[ ] Expected to happen...
The function to get all journal entries should look like so, returning an array of JournalEntry objects:

public static func entriesGet(completionHandler: @escaping (_ returnedData: [JournalEntry]?, _ response: Response?, _ error: Error?) -> Void) {

[ ] Actually happened...
The function to get all journal entries actually looks like this, returning only one JournalEntry object:

public static func entriesGet(completionHandler: @escaping (_ returnedData: JournalEntry?, _ response: Response?, _ error: Error?) -> Void) {

JFYI: if you update the signature to be what it should be, and you update the decoding line to look like so...
let returnValue = try? JSONDecoder().decode([JournalEntry].self, from: data)

...then everything works fine, but that's a manual change.

@ianpartridge I have reached out to the SDK generation team about this, and they think it has to do with the kitura sdk command.  Thoughts @dokun1?

@dokun1 I believe I have just been working on a fix for this very issue: #1335
Could you try with that branch and see if it fixes this?

The fix was merged and tagged in Kitura 2.5.2

@djones6 sorry I never got back - lots going on lately. Thanks for putting this in! I'll give this a test today.

Thank you @djones6 - works great now 👍


Misaligned cursor when editor.fontLigatures enabled

Not a biggie, but it may at least help people running into the same issue;
TLDR; Quick fix is to disable  editor.fontLigatures.

VSCode Version: Code 1.9.0 (27240e71ef390bf2d66307e677c2a333cebf75af, 2017-02-02T08:23:30.856Z)
OS Version: Darwin x64 16.3.0
Extensions:
(confirmed not dependent on extensions)

Since one of the recent updates (2 days ago or so), when  editor.fontLigatures is enabled, and certain letter combinations are replaced by a ligature, the cursor will become out of sync, that is to say, the actual cursor is several characters behind. This affects only the selected line. Please see screenshots for clarification.
Notice where my cursor is (note: "fi" in "files" is replaced with a ligature, and takes up the space for one character)

After I try to enter a dash to separate the words, it ends up here.

Steps to Reproduce:

set  editor.fontLigatures to true
make sure your editor.fontFamily has Menlo first, for example's sake.
Create a new (javascript) file, and enter let files = []; //this is a comment into it. You'll notice very clearly that as soon as the ligatures kick in, the cursor will be out of sync with the actual location.

Again, not a game-breaking bug, but it's a bug nonetheless.
Other than that, I'm very satisfied with vscode. Keep it up :)

@Ziao thank you for reporting. This is a regression, caused by the new monospace optimization work. You can workaround by using "editor.disableMonospaceOptimizations": true in your settings.

Hello,
I understand that there is a workaround for this issue, but the issue still stands, so maybe you could consider reopening it: the editor is broken (for me) with its default configuration.
Moreover, the setting editor.disableMonospaceOptimizations is marked as Unknown configuration setting by the editor, making it even more obscure.
Thank you.

@meden AFAIK this issue is resolved, are you encountering something similar. If yes, then please create a new issue, with information such as: your vs code version, your operating system, and your settings. A screenshot of the bug would also help.


Url Parameters are not checked in BuildNavigationPlanStep

If navigating from e.g. /app.html#/page1 to /app.html#/page1?param1=abc the no-change view port plan is choosen in the BuildNavigationPlanStep function. So no view model is ever informed about the navigation.
The problem is that the function hasDifferentParameterValues, called from BuildNavigationPlanStep, compares the params of the current NavigationInstruction object to the previous NavigationInstruction object, but not the queryParams.
I think the queryParams should also be checked so that the invoke-lifecycle view port plan is choosen when navigating from /app.html#/page1 to /app.html#/page1?param1=abc.
I am using<EMAIL_ADDRESS>and referring to navigation-plan.js of the latest commit (c6af5d1).

@bryanrsmith Any thoughts on this? I know it can be handled by changing the strategy today, but should we have some sort of route config setting that tells the router to take query strings into account?

I agree with @janosch715. I think the current behavior is unexpected.

@EisenbergEffect @bryanrsmith A few thoughts -

Any ideas for router configuration parameter names? Perhaps config.ignoreQueryParameters = true or something like that?
This is marked with the breaking tag. Will we be changing the query check to be the default behavior, or will this be an opt-in?

Other than these two issues, I should be able to knock this out fairly quickly.

Can we keep today's behavior the default and then add a config setting to add the new behavior? Then, in a future version we could potentially change the default, after we go through a cycle of emitting warning of the planned change, etc. What do you think?

That sounds reasonable and I like the fact that can can provide an easy
migration plan.
2016-02-27 22:52 GMT-05:00 Rob Eisenberg<EMAIL_ADDRESS>
Can we keep today's behavior the default and then add a config setting to
add the new behavior? Then, in a future version we could potentially change
the default, after we go through a cycle of emitting warning of the planned
change, etc. What do you think?
—
Reply to this email directly or view it on GitHub
https://github.com/aurelia/router/issues/268#issuecomment-189776695.

Unfortunately the commit does not include the possibility to pass the options to the constructor of Router.
I would also appreciate if the options can be passed directly during aurelia configuration like:
...
aurelia.use
        .basicConfiguration()
        .history()
        .router( { compareQueryParams: true } );
...


Governing authorities 6. a-d

Information trust requirements.
Technical requirements.
Operational requirements.
Legal contracts.

Scott P: Not sure if these topics include the following:

Processes to add and delete trust registry entries
requirements to allow an entry to be made
3)conditions where entries may be suspended and/or recinded
Validity periods for registry entries
Trust Assurance Framework to maintain accountability in the Registry

Darrell O: Those would be maintained on the internal side of the Trust Registry.
Validity Periods may need attention in a subsequent version of this spec.

comments from v1 draft - closing


STAGING - Possible to bypass pin code through reservations.

Go into DT Reserve
Press reserve for yourself, twice
Press back on pin code screen

=> Authenticated, now press title 5 times for dev view. Full access to 3bot seed phrase and wallet without knowing pin.

Fixed.


Fixup demo app and export all types

I'm not confident on the changes made to the root tsconfig files, especially changing the target from es2015/2017 to es2020; I think we do still want to output for es2015 for browsers.
I'm going to approve, but it'd be better to make those changes in a more scheduled fashion when we've time to reason about what the implications are.

I reverted to target ES2017 as it was before. My general idea would be to target the maintenance Node LTS (14 is ES2020) and let parcel/browserify & co deal with older browser requirements.

I'm not confident on the changes made to the root tsconfig files, especially changing the target from es2015/2017 to es2020; I think we do still want to output for es2015 for browsers.
I'm going to approve, but it'd be better to make those changes in a more scheduled fashion when we've time to reason about what the implications are.

I reverted to target ES2017 as it was before. My general idea would be to target the maintenance Node LTS (14 is ES2020) and let parcel/browserify & co deal with older browser requirements.

Yup, but that's something we can do in a planned manner, not as a small change in a larger PR, especially this close to a big release.


Will publish a gradio app that has all the features you presented in paper?

that would be great

We are considering developing a ComfyUI node, and we will inform you as soon as the development is completed.：）

@yuange250 comfyui is being very limited audience. please make gradio as well ty

Yes please gradio based UI

We are working on a hf demo via gradio. The corresponding code can be released if it is necessary.

We are working on a hf demo via gradio. The corresponding code can be released if it is necessary.

Cloneable hf demo would work. Just add all features ty


TypeScript infer wrongly copying 'this'

TypeScript Version:  3.7-Beta
Search Terms: copy this, spread this
Code
class A {
  method1() {
     return 'method1'
  }
  copy() {
    return { ...this };
  }
}
const a = new A();
a.copy().method1(); // runtime error

Expected behavior:
Return of a.copy() should not consider having prototype methods.
Actual behavior:
Return of a.copy() has a type this

Initially thought the bug was the runtime behavior and not the type. I thought that generally speaking, method-declared values weren't included on spreads @sandersn.

I thought that generally speaking, method-declared values weren't included on spreads

No, they definitely are.  See e.g.

https://github.com/microsoft/TypeScript/issues/34780#issuecomment-548068666
https://github.com/microsoft/TypeScript/issues/28801
https://github.com/microsoft/TypeScript/issues/31809

And probably some others.


Update CosmosDB SQL API libraries table

The Node SDK pointed to an obsolete repo (see https://github.com/Azure/azure-cosmosdb-node/issues/241)
The Javascript SDK download pointed to the source/documentation for the package, rather than to the download on NPM
"Server-side JavaScript SDK" was confusing when seen alongside "JavaScript SDK" and "Node.js SDK" -- the fact that there's only one server-side SDK means you can omit the "JavaScript" part.

The JS documentation may also want to point to https://docs.microsoft.com/en-us/javascript/api/%40azure/cosmos/?view=azure-node-latest, which I found much more helpful in figuring out what the API can do -- it is linked to from the repo's main README, though, so perhaps it is better to keep it pointed at the repo?

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

@jackhorton thanks for pointing out the issue and making a fix, after a further investigation about this with our product team, I learned that Node.js and JavaScript should refer to just one SDK.  So we need to merge two rows. The latest version of SDK is hosted here: https://www.npmjs.com/package/@azure/cosmos and yes docs are here  https://docs.microsoft.com/en-us/javascript/api/%40azure/cosmos/?view=azure-node-latest,
I will make your PR merged and make few more updates.

#sign-off

@SnehaGunda: I'm sorry - only the author of this article, @rafats, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off

@rsarosh: I'm sorry - only the author of this article, @rafats, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off


Missing notInstanceOfAny

Thre is a method for checking if the value is instance of at least one class on the array of classes
isInstanceOfAny($value, array $classes, $message = '')

But no method that checks if the value is NOT an instance of at least one class on the array of classes. Missing:
isNotInstanceOfAny($value, array $classes, $message = '')

@smilesrg I'll add it


[FEATURE] Allow stricter restriction of NetworkPolicies

Is your feature request related to a problem? Please describe (👍 if you like this request)
We use longhorn in our backup stack and are in the process of adding NetworkPolicies. Longhorn already offers NetworkPolicies. However, these do not quite match our use case. If the NetworkPolicies of longhorn are applied, it is possible to access the longhorn components from a different namespace.
We would like to be able to restrict access to longhorn only to our own namespace, e.g. longhorn-system
Describe the solution you'd like
We would like to be able to restrict access to longhorn only to our own namespace, e.g. longhorn-system.
A new value can be added to values.yaml for this purpose:
...
networkPolicies:
  enabled: false
  type: "k3s"
  restrictToNamespace: true
...

The NetworkPolicies could be extended like this (e.g. backing-image-manager-network-policy.yaml):
{{- if .Values.networkPolicies.enabled }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: backing-image-manager
  namespace: {{ include "release_namespace" . }}
spec:
  podSelector:
    matchLabels:
      longhorn.io/component: backing-image-manager
  policyTypes:
    - Ingress
  ingress:
    - from:
        - podSelector:
            matchLabels:
              app: longhorn-manager
          {{- if .Values.networkPolicies.restrictToNamespace }}
          namespaceSelector:
            matchLabels:
              kubernetes.io/metadata.name: {{ include "release_namespace" . }}
          {{- end }}
        - podSelector:
            matchLabels:
              longhorn.io/component: instance-manager
          {{- if .Values.networkPolicies.restrictToNamespace }}
          namespaceSelector:
            matchLabels:
              kubernetes.io/metadata.name: {{ include "release_namespace" . }}
          {{- end }}
        - podSelector:
            matchLabels:
              longhorn.io/component: backing-image-manager
          {{- if .Values.networkPolicies.restrictToNamespace }}
          namespaceSelector:
            matchLabels:
              kubernetes.io/metadata.name: {{ include "release_namespace" . }}
          {{- end }}
        - podSelector:
            matchLabels:
              longhorn.io/component: backing-image-data-source
          {{- if .Values.networkPolicies.restrictToNamespace }}
          namespaceSelector:
            matchLabels:
              kubernetes.io/metadata.name: {{ include "release_namespace" . }}
          {{- end }}
  {{- end }}

Describe alternatives you've considered
A workaround for us  is too add this solution ourselves based on the longhorn NetworkPolicies. However, these must be checked with every update of longhorn.
Additional context
Adding this feature would greatly increase maintainability for us

cc @mantissahz community coordinator


Feat/config smart select tile

Changes (fixes 19)

Add style config for smart select tile

Test

Verified by using on personal project

Sample code
 SmartSelectTileConfig ssTileCnfig = new SmartSelectTileConfig(
      style: new SmartSelectTileStyle(
          textStyle: TextStyle(
              color: MyTheme.paragraph,
              fontFamily: prefService.fontPrefs.value != null
                  ? prefService.fontPrefs.value
                  : 'Clem')));

SmartSelect<String>.single(
            //choiceType: SmartSelectChoiceType.chips,
            modalType: SmartSelectModalType.bottomSheet,
            modalConfig: modalConfig,
            tileConfig: ssTileCnfig,
            title: 'Fonts',
            value: preferences['font'] ?? 'flutter',
            options: availableFonts,
            trailing: StrokeIcon(icon: Icons.font_download),
            onChange: (val) => setState(() => changeFont(val))),

Hi @davigmacode , can you please review this PR.

Hi @heypran, Thanks for contributing to SmartSelect, I really appreciate it.
I apologize for this long response, I have reviewed your code, I thought it would be too complex to add the tile configuration directly into the SmartSelect class, please check at the latest 4.x.x version, all the tile configuration has been moved to S2Tile class.
// usage example
SmartSelect<T>.single(
  ...,
  ...,
  tileBuilder: (context, state) {
    return S2Tile(
      title: state.titleWidget,
      value: state.valueDisplay,
      onTap: state.showModal,
      isLoading: true,
    );
  },
);

// usage example from state
SmartSelect<T>.multiple(
  ...,
  ...,
  tileBuilder: (context, state) {
    return S2Tile.fromState(
      state,
      isLoading: true,
    );
  },
);

I will close this pull request without merging it, hope you will understand, Thanks.


get config newlines not double escaped

The returned string for get config does not have escaped new lines and thus causes JSON parsing exception. I'm not sure what is the reason for this.  This character should be escaped here:  https://github.com/hms-networks/flexy-cumulocity-connector/blob/4266e8e22536a14d9a27fe6ddc163d43509bf624/src/main/java/com/hms_networks/sc/cumulocity/api/CConnectorWebApiListener.java#L111

@it-hms, I've looked at this during the ongoing v1.4.1 work and have not identified the issue or replicated an exception.
I tested using my browser and two web-based JSON lint tools without encountering any issues. Additionally, the code is already implemented to escape the newlines, as they were tested to cause the mentioned issue during initial development:

Was there a particular JSON parsing tool or mechanism you were using?


Inconsistent treatment of role argument in IAM

In this example, I want to create an IAM role, attach an inline policy, then create an EC2 instance profile with that role.
let assumeInstanceRolePolicyDoc = // ...
let instanceRolePolicyDoc = // ...

let instanceRole = new aws.iam.Role("ecsClusterInstanceRole", {
    assumeRolePolicy: JSON.stringify(assumeInstanceRolePolicyDoc),
});

let instanceRolePolicy = new aws.iam.RolePolicy("ecsClusterInstanceRolePolicy", {
    role: instanceRole.id,  // (a)
    policy: JSON.stringify(instanceRolePolicyDoc),
});

let instanceProfile = new aws.iam.InstanceProfile("ecsClusterInstanceProfile", {
    role: instanceRole,  // (b)
});

At point (a), the role is specified using a string ARN.
https://github.com/pulumi/pulumi-aws/blob/8345675c388cc41797286ab10d53ddccae685928/pack/iam/rolePolicy.ts#L76
At point (b), the role must be specified as the Role object.
https://github.com/pulumi/pulumi-aws/blob/8345675c388cc41797286ab10d53ddccae685928/pack/iam/instanceProfile.ts#L90
I haven't looked into how the code is generated yet, but the underlying Terraform schema entries are both schema.TypeString:
https://github.com/terraform-providers/terraform-provider-aws/blob/90d698c66db80d676e2db197be97c1a9977e5393/aws/resource_aws_iam_instance_profile.go#L99
https://github.com/terraform-providers/terraform-provider-aws/blob/90d698c66db80d676e2db197be97c1a9977e5393/aws/resource_aws_iam_role_policy.go#L50

A similar issue for RolePolicy was fixed in #278. This shouldn't be too hard to go through and fix in the same manner without a breaking change using the same pattern.

Fixed by #278.  Thanks @jen20.


FEATURE: ignore commented lines and code

Currently the Regexp-based parsers treat comments as active code. This leads to false positives.
My current impression: at this point regep might no suffice no more and Antlr grammars would be more suitable.

https://blog.gopheracademy.com/advent-2017/parsing-with-antlr4-and-go/
https://github.com/antlr/grammars-v4


Add Mindoro State University

@jayveeosapdin28 First stage of verification passed, official domain for Mindoro State University is minsu.edu.ph as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

[image: image.png]
Still can't able to register
On Wed, Jul 17, 2024 at 9:21 PM Philip Torchinsky @.***>
wrote:

@jayveeosapdin28 https://github.com/jayveeosapdin28 Thank you for your
patience while waiting for a review and processing your request. Pull
request merged.
—
Reply to this email directly, view it on GitHub
https://github.com/JetBrains/swot/pull/21748#issuecomment-2233312497,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIFFWBI3DDTQAFOZWXS2QATZMZVXJAVCNFSM6AAAAABK56YNHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZTGMYTENBZG4
.
You are receiving this because you were mentioned.Message ID:
@.***>


Update shared cmake files from upstream repo

This contains, among other fixes, an updated FindJsonCpp.cmake script from OSVR-Core - the same one that has been tested to work with the stock Ubuntu 16.04 package of JsonCpp - this should fix #250
@russell-taylor can you verify?

Well, when I try it on my home Linux box, it now causes CMake 3.2.2 to crash on configure when I try the second configure step.  Of course, so does master...
ccmake: ../../Source/cmTarget.cxx:58: static const char* cmTarget::GetTargetTypeName(cmTarget::TargetType): Assertion `0 && "Unexpected target type"' failed.
Aborted (core dumped).
Will check on another host.

On my other desktop with Ubuntu 16.04 and CMake 3.5.1, both master and this pull request work fine.  Will need to wait until my compile job finishes on my laptop to reboot and test the compile in Linux on it, where the non-crash failure happened before.

On the Ubuntu 04.04.5 laptop running cmake version 3.4.1, I get the same error message with both master and this pull request branch.  It works fine for the first configure after each run of ccmake but fails on the second with:
CMake Error at CMakeLists.txt:456 (target_link_libraries):
Target "JsonCpp::JsonCpp" of type

Are you using the system provided packages for jsoncpp and CMake? (If so I
can try to repro in docker and test locally)
On Sat, Oct 15, 2016, 8:18 AM Russell Taylor<EMAIL_ADDRESS>wrote:

On the Ubuntu 04.04.5 laptop running cmake version 3.4.1, I get the same
error message with both master and this pull request branch. It works fine
for the first configure after each run of ccmake but fails on the second
with:
CMake Error at CMakeLists.txt:456 (target_link_libraries):
Target "JsonCpp::JsonCpp" of type
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sensics/OSVR-RenderManager/pull/252#issuecomment-253983824,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADuydU6CLMhEEBo11bDQXWZec5q7E8hks5q0NK3gaJpZM4KWVDf
.

--
Ryan A. Pavlik, Ph.D.
CTO - OSVR Platform
Sensics, Inc.
www.sensics.com
--
Latest news and blog posts (subscribe here
http://sensics.com/subscribe-to-our-mailing-list/ to get weekly updates):
Oct 14: Peeking inside the Goggles for Public VR
http://sensics.com/goggles-public-vr-pre-production-run/
Sep 13: Why WebVR? http://sensics.com/why-webvr/
Aug 30: TechCrunch: VR from the battlefield to the couch and back
https://techcrunch.com/2016/08/30/vr-on-the-battlefield-to-the-couch-and-back-again-sort-of/

I'm using the system packages on Linux
On Oct 16, 2016 11:19 PM, "Ryan Pavlik"<EMAIL_ADDRESS>wrote:

Are you using the system provided packages for jsoncpp and CMake? (If so I
can try to repro in docker and test locally)
On Sat, Oct 15, 2016, 8:18 AM Russell Taylor<EMAIL_ADDRESS>wrote:

On the Ubuntu 04.04.5 laptop running cmake version 3.4.1, I get the same
error message with both master and this pull request branch. It works
fine
for the first configure after each run of ccmake but fails on the second
with:
CMake Error at CMakeLists.txt:456 (target_link_libraries):
Target "JsonCpp::JsonCpp" of type
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/sensics/OSVR-RenderManager/pull/252#
issuecomment-253983824>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AADuydU6CLMhEEBo11bDQXWZec5q7E8hks5q0NK3gaJpZM4KWVDf>
.

--
Ryan A. Pavlik, Ph.D.
CTO - OSVR Platform
Sensics, Inc.
www.sensics.com
--
Latest news and blog posts (subscribe here
http://sensics.com/subscribe-to-our-mailing-list/ to get weekly
updates):
Oct 14: Peeking inside the Goggles for Public VR
http://sensics.com/goggles-public-vr-pre-production-run/
Sep 13: Why WebVR? http://sensics.com/why-webvr/
Aug 30: TechCrunch: VR from the battlefield to the couch and back
<https://techcrunch.com/2016/08/30/vr-on-the-battlefield-
to-the-couch-and-back-again-sort-of/>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sensics/OSVR-RenderManager/pull/252#issuecomment-254103967,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAuh0Pk0DYAHR9W2yGoiNOiZkQzMaAVRks5q0ulXgaJpZM4KWVDf
.

Anything new to try here?

Replaced with a new PR.


Messaging of duplicate code implementation

On identifying duplicate step implementation, the gauge process gives a validation error. It will be more useful if the error message had the details of the code files where these duplicate step implementations can be found apart from the spec file where the step is being used.

This information can be passed along in the errorMessage field, without needing to change the proto. But, gauge currently does not display the content of errorMessage as far as I can see.

Closing this as an old issue. However, any PR's to fix this will be merged.


Twitter Cards

I am having trouble getting cards to work with this. I'm I getting something wrong because I have set up well including meta information and cards approved by twitter
    <meta name="twitter:card" content="summary">
    <meta name="twitter:site" content="@monarstrategic">
    <meta name="twitter:title" content="Bless a needy child this Easter. #SelltoBless">
    <meta name="twitter:description" content="I am selling my <?php echo $_GET['item']; ?> on OLX to buy foodstuff and drop at any Tuskys to bless a needy child this Easter. Join me http://bit.ly/OLXKESellToBless #SelltoBless">
    <meta name="twitter:image" content="<?php echo $_GET['image'] ?>">
    <meta name="twitter:url" content="http://selltobless.org">

Thanks! Closing in favor of #161 and a v1.0 release.

@marvoh how were you testing this?


QUIC & HTTP/2 Ingress controller

I see there are various Ingress controller, even though I don't know how to choose in my Kuberentes Yaml files.
I'd like to suggest having one that enabled QUIC and HTTP/2 like https://devsisters.github.io/goquic/ does. It should also support WebSockets. That would allow easy creation of a network Ingress frontend that would improve speed for many users transparently. The current GoQuic doesn't support virtualhost so that would have to be implemented somehow.

@wernight the nginx ingress controller supports http/2, spdy and websockets ootb.
I'm not sure nginx will support QUIC in the near future

I wasn't referring to just supporting it, but to have it automatically server as HTTP/2 QUIC reverse proxy. Like QoQuic but for all domains (or selected domain of an Ingress). I agree having support for it and then install GoQuic on all endpoints.
Just wondering, how can one use the Nginx Ingress instead of whatever is the default (that doesn't support WebSocket in my test)?

@wernight this was opened today in the nginx trac https://trac.nginx.org/nginx/ticket/1057

I see there are various Ingress controller, even though I don't know how to choose in my Kuberentes Yaml files.

Currently, through an annotation like: https://github.com/kubernetes/contrib/blob/master/ingress/controllers/gce/BETA_LIMITATIONS.md#disabling-glbc, https://github.com/kubernetes/contrib/tree/master/ingress/controllers/nginx#disabling-nginx-ingress-controller
In the future we might have ingress claims: https://github.com/kubernetes/kubernetes/issues/30151
not sure if that's what you meant

What I mean is I'd like to use Nginx Ingress Controller (that's pretty easy) and no matter the backend (may be that Ingress connects to the actual services via HTTP and that's fine), it could support QUIC and act as QUIC proxy.
This means that the (very likely slower) connection from clients to Ingress would be QUIC-enabled without any extra work. The connection from Ingress to the various services could also support QUIC and make use of it, but I don't see it being a big gain for most.

That should be easy once nginx supports quic. You can flip it at various levels:

All ingresses: command line flag to controller
Opt in at ingress level: annotation
Opt in at host level: field

1 or 2 actually makes the most sense to begin with. Converging to 3 will allow us to enable Quic from ingress to backend, but like you pointed out the more important journey is from client -> ingress. Also 3 is harder because this won't work cross platform.
I believe caddy supports quic, though I don't think anyones written an ingress controller for it yet.

@metalshark is enabled by default

@aledbf thanks
Must be due to the Azure Load Balancer infront on it.


Pass query to suggestion template

I'm open to other ways of passing the query, should you prefer. It's currently included implicitly, as part of the parent scope, but could be passed into getSuggestionNode explicitly to, for clarity.
Useful for:

Customizing suggestion based on query, e.g. to dig out the matched substring from a long string, to highlight.
To make a 'fake' empty suggestion (until–if god wills it–the empty template becomes selectable): https://github.com/twitter/typeahead.js/issues/520#issuecomment-36548282

Since this isn't documented, you can access the text of the query in, for example, a handlebars template with {{query}}.


Presentation slides

Hi everyone,
The proposed agenda for today (October 17, Monday) is the followed:

3:30 stop working and clean up
3:45 group photo
4:00 in Room LSC03

announcements (hackseq 2017, prizes)
Presentations
voting and words from ASHG and 10xGenomics in LSC03

Post your slides: To make sure the presentation runs smoothly, please post the your team number and the link to your presentation (Slideshare, Google Slides) below. This way, we can have one computer presenting all of the slides. Thank you!

https://docs.google.com/presentation/d/1OB2d_mu5zC742N_NKfzHjVpUm4BFtm5lUzniLLI--OQ/edit?usp=sharing

https://hackseq.github.io/Indicator_contig_predictor/
On Mon, Oct 17, 2016 at 5:41 PM, Melissa<EMAIL_ADDRESS>wrote:

https://docs.google.com/presentation/d/1OB2d_mu5zC742N_
NKfzHjVpUm4BFtm5lUzniLLI--OQ/edit?usp=sharing
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hackseq/October_2016/issues/73#issuecomment-254342860,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFePtVqGg9ElGxeLMFG12CPd8FTqP5H2ks5q0-t9gaJpZM4KY0rI
.

--
What have you done today to make the world a better place?

Project 9 slides:
https://docs.google.com/presentation/d/1F_nD1F8e2c_7rA9ipzL5fvBfBqQ2g4l7DicziUUz-Ag

https://docs.google.com/presentation/d/1g8WLFrmN6wUVXck2lwltiY-0h2-bsEtOkG6K-sf7TMo/edit#slide=id.p

Project 8a slides: https://docs.google.com/presentation/d/12ZMISdrHd9NlGjIGrO61x9BGIX5CJrMC6hPnh8Xa_qU/edit?usp=sharing

Project 4: https://docs.google.com/presentation/d/1qQoD2jh1j_aDItXW1XIZp--7AYavkcZrxaxF_mfJdEo/edit?usp=sharing

Project 2: https://www.icloud.com/keynote/0FLpa2XIzjq3O5Q22kLFpx2rQ#ParetoParrot

Project 5: https://docs.google.com/presentation/d/12dogSjdMl9kOrtuC8LurvGlKcGbkgCRMFT9PgVRzC7o/edit#slide=id.p

https://hackseq.github.io/Indicator_contig_predictor/

Shall we copy these links to a README.md somewhere?

Maybe the website so future applicants know what the projects were like? If fellow team leaders don't mind.

#project10 slides can be public.
On Tue, Oct 18, 2016 at 9:41 PM, Santina Lin<EMAIL_ADDRESS>wrote:

Maybe the website so future applicants know what the projects were like?
If fellow team leaders don't mind.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hackseq/October_2016/issues/73#issuecomment-254687450,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFePtZxxx5jM9tW1tbfgG_VncifZ1va9ks5q1XUsgaJpZM4KY0rI
.

--
What have you done today to make the world a better place?

Project 2 slides can be public. Did we record the presentations, and are we making those public?

Yeah we did. They're in the Google drive  > hackseq_2016. Waiting for them to get transferred into google photos.


Console warning links to non-existent common issues page

Our intelligent SQForm project helps users when they do something wrong.  The issue is that it is telling users to go to a page that does not exist https://selectquotelabs.github.io/SQForm/docs/common_issues
nextjs  | https://next-auth.js.org/warnings#jwt_auto_generated_signing_key
nextjs  | SQForm: The initialValue you provided to SQForm for the SQFormDropdown (name='Shopping for a policy for a mobile manufactured home?') component was undefined. This can cause warnings and unexpected behavior. More information: https://selectquotelabs.github.io/SQForm/docs/common_issues

The page does exist (https://github.com/SelectQuoteLabs/SQForm/blob/master/SQFormDocs/docs/common_issues.mdx) but the docs github action fails so it never got deployed. see: https://github.com/SelectQuoteLabs/SQForm/issues/134

Thanks @20BBrown14 .  I will close this issue now that we have the link.


MM-33903 rename slash commands & permissions

Summary
This PR renames the permission manage_remote_clusters to manage_secure_connections per revised shared channels spec.  https://docs.google.com/document/d/12Jwu9aODzVArNP3z6_ivTePIvz9EsjDpwSSVmzl5pU8/edit#bookmark=id.j0ctjvp2k0h5
Ticket Link
https://mattermost.atlassian.net/browse/MM-33903
Related Pull Requests

Has server changes https://github.com/mattermost/mattermost-server/pull/17494

Screenshots

Release Note
NONE

There's not going to be any compatibility issues with changing this will there? There were some issues with some other renamed permissions recently which broke the system console, but those were older permissions that had been chcanged.

Thanks @hmhealey   I did a test and the system console showed the renamed permission.  Do you recall what the symptom of the breakage was?

@furqanmlk the QA for this is just to ensure the renamed permission shows up in system console and didn't break.

The bug I hit was that most of the items in the System Console sidebar didn't show up, but there were a lot more permissions being renamed back then. It was also only happening when the server and client were on different versions. I don't know if that can even happen here.

The bug I hit was that most of the items in the System Console sidebar didn't show up, but there were a lot more permissions being renamed back then. It was also only happening when the server and client were on different versions. I don't know if that can even happen here.

Got it, thanks.  Not seeing that in testing so looks like we're good.

@furqanmlk, the auto-complete issues are fixed.

BTW, @furqanmlk, the autocomplete fix is in server PR.

BTW, @furqanmlk, the autocomplete fix is in server PR.

Thanks @wiggin77 , actually I am testing both PRs together. I approved server PR my accident :)


🎨 style: bookmarks UI update

Summary

before
after

https://github.com/user-attachments/assets/978b598c-207d-4df5-a7f4-a03739929d16
Change Type

[x] Style

Checklist

[x] My code adheres to this project's style guidelines
[x] I have performed a self-review of my own code
[x] I have commented in any complex areas of my code
[x] I have made pertinent documentation changes
[x] My changes do not introduce new warnings
[x] I have written tests demonstrating that my changes are effective or that my feature works
[x] Local unit tests pass with my changes
[x] Any changes dependent on mine have been merged and published in downstream modules.
[x] A pull request for updating the documentation has been submitted.

Hi @berry-13 , In this PR, it seems that the backend API is not called when the order of the bookmarks is changed by D&D. Is this intentional? Or can I fix this?

Hi @berry-13 , In this PR, it seems that the backend API is not called when the order of the bookmarks is changed by D&D. Is this intentional? Or can I fix this?

sorry, I missed this message. no, it wasn't intentional. if you can, please fix it. thanks

Hi @berry-13 , In this PR, it seems that the backend API is not called when the order of the bookmarks is changed by D&D. Is this intentional? Or can I fix this?

sorry, I missed this message. no, it wasn't intentional. if you can, please fix it. thanks

Yea I'm trying to understand why this was removed, unsure if I should just revert it to what it was or what


Report word layout

Hi all,
Is it possible to add new line inside repeater section in word layout, like in RDLC:

It looks like Word doesn't allow it. Or we are missing something.
Our clients use additional description field (text 250), and it must be printed below each line in all sales and purchase documents (orders, invoices, memos...)
Thanks,
Radovan

Closing since this is being discussed on Yammer.


Error pulling image | AKS by default configured to pull from ACR

Hi we are using AKS and configuration has been made to pull the image from ACR by default so that we don't need to create the docker secrets in the namespace
I am getting the below exception when policy controller tries to do that validation. I am sure the image exists and the image is being pulled when I removed the label from the namespace.
Unable to figure out at what place the error is happening
Error from server (BadRequest): error when creating ".\\deployment.yaml": admission webhook "policy.sigstore.dev" denied the request:
validation failed: GET https://<REPOSITORY>/oauth2/token?scope=repository%3Acosign%2Ftest%3Apull&service=<REPOSITORY>:
UNAUTHORIZED: authentication required, visit https://aka.ms/acr/authorization for more information.: spec.template.spec.containers[0].image
<REPOSITORY>//cosign/test@sha256:e5de6a1c8ad98d6e6410299f705ae92b7a0e630781f4838c1d25322341e54717

@hectorj2f Can you comment on this?

@MageshSrinivasulu We use k8schain, if the credentials aren’t in the chain already, then you should specify them.

Closing as guidence has been provided and is not specific to the Helm chart


Add economy system

A hand-tailored economy system for /r/animepiracy based on the theme of private trackers. For further explanation and details on all the features, use /help and /commands.

Temporarily closed due to inactivity & needs to be rewritten with pycord or discord.py


Prediction issue with weightless movement when near (but not on) grid

I suspect it may have something to do with IsAroundCollider but if you're weightless just outside of arrivals on saltern you'll get a noticeable mispredict when moving around. If you're weightless when parented to Saltern it's fine.

@metalgearsloth is this still the case?


[UI] Filters: Action Enhancements

Signed-off-by: Gaurav Chadha<EMAIL_ADDRESS>Description
Adds Enhancement to filter UI
This PR fixes #3393
Notes for Reviewers
The deploy functionality won't work for now as it will be configured and deployed through a pattern file. (has later aspects) (This can be merged after review)
Signed commits

[x] Yes, I signed my commits.

Codecov Report

Merging #3638 (bc24f8b) into master (2d0d329) will decrease coverage by 6.86%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3638      +/-   ##
==========================================
- Coverage   18.58%   11.71%   -6.87%
==========================================
  Files          37       38       +1
  Lines        3299     3423     +124
==========================================
- Hits          613      401     -212
- Misses       2531     2931     +400
+ Partials      155       91      -64

Flag
Coverage Δ

gointegrationtests
?

integrationtests
∅ <ø> (?)

unittests
11.71% <ø> (+1.52%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mesheryctl/internal/cli/root/system/status.go
0.00% <0.00%> (-64.62%)
:arrow_down:

mesheryctl/internal/cli/root/system/start.go
1.19% <0.00%> (-53.03%)
:arrow_down:

mesheryctl/internal/cli/root/system/stop.go
0.90% <0.00%> (-39.10%)
:arrow_down:

mesheryctl/internal/cli/root/system/check.go
1.48% <0.00%> (-22.22%)
:arrow_down:

mesheryctl/internal/cli/root/system/restart.go
2.27% <0.00%> (-0.06%)
:arrow_down:

mesheryctl/internal/cli/root/system/update.go
1.05% <0.00%> (-0.05%)
:arrow_down:

mesheryctl/internal/cli/root/config/config.go
0.77% <0.00%> (-0.05%)
:arrow_down:

mesheryctl/pkg/utils/platform.go
0.00% <0.00%> (ø)

mesheryctl/internal/cli/root/system/logs.go
0.00% <0.00%> (ø)

mesheryctl/internal/cli/root/system/reset.go
0.00% <0.00%> (ø)

... and 4 more

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 3c7c215...bc24f8b. Read the comment docs.


Add support for the OpenXR Eye gaze interaction extension

Builds upon https://github.com/godotengine/godot/pull/77989 and adds a second commit to address the remaining issues:

Leverage feature tags on mobile xr platforms for the following reasons:

Check whether the extension should be enabled using the XR_EXT_eye_gaze_interaction feature. This allows to disable the extension for pico devices until the remaining issues has been resolved by the vendor
Check whether necessary permissions are granted on mobile platforms using the PERMISSION_XR_EXT_eye_gaze_interaction feature.

Expands the feature tag api to allow Android plugins the ability to declare whether they support a feature or not
Automatically prompt for the necessary permissions on app startup

For full compatibility, these changes require updates to the OpenXR loaders plugin done in  https://github.com/GodotVR/godot_openxr_loaders/pull/48.

Btw @m4gr3d , feel free to merge your changes and mine into a single commit. You can add a Co-authored-by: Bastiaan Olij<EMAIL_ADDRESS>into the commit message.