ARROW-5974: [C++] Support reading concatenated compressed streams

Multiple concatenated compressed streams are read back as a single decompressed stream.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c930839). Click here to learn what that means.
The diff coverage is 99.08%.

@@            Coverage Diff            @@
##             master    #4923   +/-   ##
=========================================
  Coverage          ?   89.09%
=========================================
  Files             ?      717
  Lines             ?   100507
  Branches          ?        0
=========================================
  Hits              ?    89545
  Misses            ?    10962
  Partials          ?        0

Impacted Files
Coverage Δ

cpp/src/arrow/util/compression.h
100% <ø> (ø)

cpp/src/arrow/util/compression_bz2.cc
55.72% <100%> (ø)

cpp/src/arrow/io/compressed.cc
91% <100%> (ø)

cpp/src/arrow/util/compression_lz4.cc
79.66% <100%> (ø)

cpp/src/arrow/util/compression-test.cc
99.22% <100%> (ø)

cpp/src/arrow/util/compression_zstd.cc
92.15% <100%> (ø)

cpp/src/arrow/io/compressed-test.cc
100% <100%> (ø)

python/pyarrow/tests/test_csv.py
98.89% <100%> (ø)

python/pyarrow/tests/test_io.py
96.9% <100%> (ø)

cpp/src/arrow/util/compression_brotli.cc
90.47% <100%> (ø)

... and 1 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 c930839...8ef3293. Read the comment docs.

@fsaintjacques Does this look right now?


App crashed on SIGSEGV(SEGV_MAPERR) [CTLocalDataStore persistLocalProfileIfRequired] (CTLocalDataStore.m:614 )

data:text/text;charset=utf-8,
Cause: Crash due to signal: SIGSEGV(SEGV_MAPERR) at f5ca79d00
Reported at: 2022-06-24 09:54:57 UTC
Thread 12 [Crashed]:
0    libobjc.A.dylib                          0x19b3509d0     objc_retain + 16
1    MyApp                                    0x10033adb8     -[CTLocalDataStore persistLocalProfileIfRequired] (CTLocalDataStore.m:614)
2    MyApp                                    0x10033a6a8     -[CTLocalDataStore setProfileFields:fromUpstream:] (CTLocalDataStore.m:539)
3    MyApp                                    0x10031278c     _25-[CleverTap profilePush:]_block_invoke_2 (CleverTap.m:3428)
4    MyApp                                    0x1003406dc     +[CTProfileBuilder build:completionHandler:] (CTProfileBuilder.m:88)
5    MyApp                                    0x100312614     _25-[CleverTap profilePush:]_block_invoke (CleverTap.m:3421)
6    libdispatch.dylib                        0x1822cee6c     _dispatch_call_block_and_release + 31
7    libdispatch.dylib                        0x1822d0a30     _dispatch_client_callout + 19
8    libdispatch.dylib                        0x1822d8124     _dispatch_lane_serial_drain + 667
9    libdispatch.dylib                        0x1822d8c80     _dispatch_lane_invoke + 391
10   libdispatch.dylib                        0x1822e3500     _dispatch_workloop_worker_thread + 647
11   libsystem_pthread.dylib                  0x1f3f2c0bc     _pthread_wqthread + 287
12   libsystem_pthread.dylib                  0x1f3f2be5c     $start_wqthread + 7

Hi @rcrahul43,
Could you please provide us few details so that we can investigate in more detail -

On which SDK version you are facing the crash?
The steps to reproduce the crash.

Hi @nishant-clevertap ,

We are on clevertap version 4.1.0.
Unfortunately we do not have steps to replicate the crash.

@rcrahul43 , We have added some possible hotfixes in v4.1.1 . Could you try updating to it and checking if it helps? Meanwhile we will research and check if we can reproduce the issue.
https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/4.1.1

Hi @rcrahul43 ,
We tried reproducing the issue at our end but found no success. We are looking for possible solutions for this.
Meanwhile could you please update to latest sdk version(v4.1.1) and check if it helps. If you are again facing the crash please do share full crash report and steps to reproduce if possible.
https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/4.1.1

Hi @nishant-clevertap
I tried replicating the behaviour which is actually happening in our main app. So basically, we have multiple modules updating these details frequently and while updating the local store I see there is a lock applied to lastProfilePersistenceTime variable (file CTLocalDataStore Line no. 629) which is cause to data race when another update profile call is made from another thread.
If you execute the following code a couple of times it will reproduce the data race condition easily.
let userModuleQueue = DispatchQueue(label: "User_Update_Queue", qos: DispatchQoS.default, attributes: [.concurrent])
let settingsModuleQueue = DispatchQueue(label: "Settings_Update_Queue", qos: DispatchQoS.default, attributes: [.concurrent])
let commonModuleQueue = DispatchQueue(label: "Common_Update_Queue", qos: DispatchQoS.default, attributes: [.concurrent])

func sendEvent() {
    userModuleQueue.async {
        CleverTap.sharedInstance()?.profilePush([:])
        self.commonModuleQueue.async {
            CleverTap.sharedInstance()?.profilePush(["name":"Google"])
        }
        CleverTap.sharedInstance()?.profileRemoveValue(forKey: "name")
    }
    settingsModuleQueue.async {
        CleverTap.sharedInstance()?.profilePush(["parent_company":"alphabet"])
        self.commonModuleQueue.async {
            CleverTap.sharedInstance()?.profilePush(["build_version":"1.1.0"])
        }
        CleverTap.sharedInstance()?.profileRemoveValue(forKey: "Age")
    }
}

Here is the log which I found in the console
    ==================
    WARNING: ThreadSanitizer: data race (pid=12821)
      Read of size 8 at 0x00010a805520 by thread T8:
        #0 -[CTLocalDataStore persistLocalProfileIfRequired] CTLocalDataStore.m:629 (CleverTapSDK:arm64+0xbd9d4)
        #1 -[CTLocalDataStore setProfileFields:fromUpstream:] CTLocalDataStore.m:542 (CleverTapSDK:arm64+0xbc3cc)
        #2 -[CTLocalDataStore setProfileFields:] CTLocalDataStore.m:505 (CleverTapSDK:arm64+0xbbb24)
        #3 __25-[CleverTap profilePush:]_block_invoke_2 CleverTap.m:3465 (CleverTapSDK:arm64+0x3e218)
        #4 +[CTProfileBuilder build:completionHandler:] CTProfileBuilder.m:88 (CleverTapSDK:arm64+0xcff38)
        #5 __25-[CleverTap profilePush:]_block_invoke CleverTap.m:3463 (CleverTapSDK:arm64+0x3e0b0)
        #6 __tsan::invoke_and_release_block(void*) <null>:88246136 (libclang_rt.tsan_iossim_dynamic.dylib:arm64+0x78250)
        #7 _dispatch_client_callout <null>:88246136 (libdispatch.dylib:arm64+0x5b90)

      Previous write of size 8 at 0x00010a805520 by thread T2 (mutexes: write M2248):
        #0 __45-[CTLocalDataStore _persistLocalProfileAsync]_block_invoke CTLocalDataStore.m:650 (CleverTapSDK:arm64+0xbdeec)
        #1 __tsan::invoke_and_release_block(void*) <null>:88246136 (libclang_rt.tsan_iossim_dynamic.dylib:arm64+0x78250)
        #2 _dispatch_client_callout <null>:88246136 (libdispatch.dylib:arm64+0x5b90)

      Location is heap block of size 64 at 0x00010a805500 allocated by main thread:
        #0 calloc <null>:88246136 (libclang_rt.tsan_iossim_dynamic.dylib:arm64+0x56748)
        #1 _objc_rootAllocWithZone <null>:88246136 (libobjc.A.dylib:arm64+0x17c7c)
        #2 +[CleverTap _instanceWithConfig:andCleverTapID:] CleverTap.m:613 (CleverTapSDK:arm64+0x9024)
        #3 +[CleverTap _sharedInstanceWithCleverTapID:] CleverTap.m:592 (CleverTapSDK:arm64+0x888c)
        #4 +[CleverTap sharedInstance] CleverTap.m:555 (CleverTapSDK:arm64+0x7128)
        #5 __31+[CleverTap swizzleAppDelegate]_block_invoke CleverTap.m:394 (CleverTapSDK:arm64+0x3ed0)
        #6 dispatch_once <null>:88246136 (libclang_rt.tsan_iossim_dynamic.dylib:arm64+0x79048)
        #7 +[CleverTap swizzleAppDelegate] CleverTap.m:344 (CleverTapSDK:arm64+0x35ec)
        #8 +[CleverTap _autoIntegrateWithCleverTapID:] CleverTap.m:337 (CleverTapSDK:arm64+0x3318)
        #9 +[CleverTap autoIntegrate] CleverTap.m:327 (CleverTapSDK:arm64+0x30d8)
        #10 AppDelegate.application(_:didFinishLaunchingWithOptions:) AppDelegate.swift:21 (Clevertap_Trial:arm64+0x100002c5c)
        #11 @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) <compiler-generated> (Clevertap_Trial:arm64+0x100002e98)
        #12 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] <null>:88246136 (UIKitCore:arm64+0xc09e1c)
        #13 static AppDelegate.$main() AppDelegate.swift:11 (Clevertap_Trial:arm64+0x100006680)
        #14 main <compiler-generated> (Clevertap_Trial:arm64+0x100006920)

      Mutex M2248 (0x00010b053260) created at:
        #0 objc_sync_enter <null>:88246136 (libclang_rt.tsan_iossim_dynamic.dylib:arm64+0x76038)
        #1 -[CTLocalDataStore persistLocalProfileIfRequired] CTLocalDataStore.m:629 (CleverTapSDK:arm64+0xbd9e8)
        #2 -[CTLocalDataStore setProfileFields:fromUpstream:] CTLocalDataStore.m:542 (CleverTapSDK:arm64+0xbc3cc)
        #3 -[CTLocalDataStore setProfileFields:] CTLocalDataStore.m:505 (CleverTapSDK:arm64+0xbbb24)
        #4 __25-[CleverTap profilePush:]_block_invoke_2 CleverTap.m:3470 (CleverTapSDK:arm64+0x3e4a0)
        #5 +[CTProfileBuilder build:completionHandler:] CTProfileBuilder.m:88 (CleverTapSDK:arm64+0xcff38)
        #6 __25-[CleverTap profilePush:]_block_invoke CleverTap.m:3463 (CleverTapSDK:arm64+0x3e0b0)
        #7 __tsan::invoke_and_release_block(void*) <null>:88246136 (libclang_rt.tsan_iossim_dynamic.dylib:arm64+0x78250)
        #8 _dispatch_client_callout <null>:88246136 (libdispatch.dylib:arm64+0x5b90)

      Thread T8 (tid=110656, running) is a GCD worker thread

      Thread T2 (tid=110649, running) is a GCD worker thread

    SUMMARY: ThreadSanitizer: data race CTLocalDataStore.m:629 in -[CTLocalDataStore persistLocalProfileIfRequired]
    ==================

Hope this will help you in identifying the root cause.
cc: @rcrahul43

@nishant-clevertap Any update on this? @malav-sn has been able to replicate the crash and has shared the stack trace.

@rcrahul43 Please allow us some time. We are investigating your issue currently.

Hi @rcrahul43,
We have added fix for this in our latest release, Please update to our latest sdk version(v4.1.3) and check if it helps.
https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/4.1.3

Hi @malavsoni,
Could you help us with the following details -

SDK version, iOS version
Steps which reproduced crash
A sample project repo link, if possible, having changes which caused crash.

@nishant-clevertap This is fixed after updating to latest version.
Thank you for the support


There will be 404 error when getting the tool, I fixed it.

There will be 404 error when getting the tool, I fixed it.

PS: This is not what I did, It is from another repository.


Cannot get optimizer.Lamb to work

I have tried several of the provided optimizers without a problem, but I do not seem able to get Lamb to work:
    optimizer = optim.Lamb(
        learning_rate=1e-4,  # Adjusted learning rate
        betas=(0.9, 0.999),
        weight_decay=0.01,  # Adjusted weight decay
        clamp_value=1000,  # Adjusted clamp value
        eps=1e-4  # Increased epsilon for numerical stability
    )

I keep getting nan for training loss despite experimenting with various values for the keyword params.

This modified version solved the nan problem for me, so I am sharing it here:
from typing import Callable, List, Union
import mlx.core as mx
from mlx.optimizers import Optimizer

class Lamb(Optimizer):
    r"""Layerwise Adaptive Large Batch Optimization [1].

    .. math::

        m_0 &= 0, v_0 = 0 \\
        m_t &= \beta_1 m_{t-1} + (1 - \beta_1) g_t \\
        v_t &= \beta_2 v_{t-1} + (1 - \beta_2) g_t^2 \\
        m_t &= m_t / (1 - \beta_1^t) \\
        v_t &= v_t / (1 - \beta_2^t) \\
        r_t &= \frac{m_t}{\sqrt{v_t} + \epsilon} \\
        \theta_{t+1} &= \theta_t - \eta \frac{\phi(\|\theta_t\|)}{\|r_t + \lambda \theta_t\|} \left(r_t + \lambda \theta_t\right)

    [1] You, Yang, et al., 2019. Large Batch Optimization for Deep Learning:
    Training BERT in 76 Minutes.
    https://arxiv.org/abs/1904.00962
    https://github.com/tensorflow/addons/blob/master/tensorflow_addons/optimizers/lamb.py

    Args:
        learning_rate (float or callable): learning rate :math:`\eta`.
        betas (Tuple[float, float], optional): coefficients
            :math:`(\beta_1, \beta_2)` used for computing running averages of the
            gradient and its square. Default: ``(0.9, 0.999)``
        eps (float, optional): term :math:`\epsilon` added to the
            denominator to improve numerical stability. Default: ``1e-6``
        weight_decay: weight decay. Default: ``0.9``
        clamp_value: clamp weight_norm in (clamp_value, inf) to scale trust ratio.
            Best to set to a high value (e.g :math:`10e3`). Default: ``10``
        adam: always use trust ratio = 1, which turns this
            into Adam. Useful for comparison purposes. Default: ``False``
        debias: debias adam by (1 - beta**step). Default: ``False``

    ..
    """

    def __init__(
        self,
        learning_rate: Union[float, Callable[[mx.array], mx.array]],
        betas: List[float] = [0.9, 0.999],
        weight_decay: float = 0.0,
        clamp_value: float = 10,
        eps: float = 1e-6,
        adam: bool = False,
        debias: bool = False,
    ):
        super().__init__()

        self._maybe_schedule("learning_rate", learning_rate)
        self.betas = betas
        self.weight_decay = weight_decay
        self.clamp_value = clamp_value
        self.eps = eps
        self.adam = adam
        self.debias = debias

    def init_single(self, parameter: mx.array, state: dict):
        """Initialize optimizer state"""
        state["m"] = mx.zeros_like(parameter)
        state["v"] = mx.zeros_like(parameter)

    def apply_single(self, gradient: mx.array, parameter: mx.array, state: dict):
        """Performs a single optimization step, updating :math:`m` and :math:`v`"""
        lr = self.learning_rate.astype(gradient.dtype)
        b1, b2 = self.betas

        m = state["m"]
        v = state["v"]

        # Update first and second moments
        m = b1 * m + (1 - b1) * gradient
        v = b2 * v + (1 - b2) * mx.square(gradient)

        # Bias correction if debias is True
        bias_correction = (
            max(mx.sqrt(1 - mx.power(b2, self.state["step"])) / (1 - mx.power(b1, self.state["step"])), self.eps)
            if self.debias else 1
        )

        eta = lr * bias_correction

        # Compute weight norm with clipping
        weight_norm = mx.clip(mx.linalg.norm(parameter), self.clamp_value, 1e5)  # Replace inf with large value

        # Calculate adam step with added epsilon for stability
        adam_step = m / (mx.sqrt(v) + self.eps)

        if self.weight_decay:
            adam_step = adam_step + self.weight_decay * parameter

        # Compute the norm of adam_step with epsilon for numerical stability
        adam_norm = mx.linalg.norm(adam_step) + self.eps  # Avoid zero in denominator
        trust_ratio = 1 if self.adam else weight_norm / adam_norm

        # Update state for momentum terms
        state["m"] = m
        state["v"] = v

        # Parameter update
        return parameter - eta * trust_ratio * adam_step

@sck-at-ucy I appreciate the tests! I made a pull request (#39) that better aligns Lamb with the underlying implementation. I believe this will be better than clipping the values. I'll get a build out soon! Feel free to open another issue if you notice other issues 🙂

Thank you, I will test the new implementation


Integration tests

Closes #<ISSUE_NUMBER>

This PR:

This PR does not:

Key places to review:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

3 of 356 (0.84%)  changed or added relevant lines in 8 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-6.9%) to 69.636%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/legacy/src/lib.rs
0
3
0.0%

crates/shared/src/utils.rs
0
4
0.0%

crates/marketplace/src/service.rs
2
11
18.18%

crates/legacy/src/service.rs
1
26
3.85%

crates/shared/src/testing/mod.rs
0
37
0.0%

crates/shared/src/testing/validation.rs
0
51
0.0%

crates/marketplace/src/testing/integration.rs
0
100
0.0%

crates/shared/src/testing/generation.rs
0
124
0.0%

Files with Coverage Reduction
New Missed Lines
%

crates/legacy/src/builder_state.rs
1
83.24%

Totals

Change from base Build<PHONE_NUMBER>1:
-6.9%

Covered Lines:
2142

Relevant Lines:
3076

💛  - Coveralls

@dailinsubjam done, hopefully description + additional comments will be helpful. Please request more docs if not, there's never enough docs 😄


Transactions Chaining

[ ] Specification
[ ] Implementation
[ ] Tests

[ ] Double-check the spelling and grammar of all strings, code comments, etc.
[ ] Double-check that all code is deterministic that needs to be
[ ] Add tests to cover any new or revised logic
[ ] Ensure that the test suite passes
[ ] Update the project release notes
[ ] Update the project documentation, as appropriate, with a corresponding Pull Request in the Documentation repository

The two test cases would be great: (1) XCP dex buy then named asset issuance and for (2) XCP dex buy then attach


add Form to storybook

Relates to #1158
Currently the Form components are not in Storybook, we should add them.

What happens to storybook anyway? Team to make a decision.


Enable ci tests using latest Hibernate snapshots

This also changes to sonatype link to: https://oss.sonatype.org/content/repositories/snapshots/

@blafond @Sanne
Now main is using the ORM snapshot from the remote repository.
If you want to test a local copy of ORM, remember to enable the use of local maven repository here.
The build uses the latest stable version of the ORM Gradle plugin because I couldn't figure out how to download the snapshot from a remote repository.


Help update to v3.7.2

Hi @xcompass
We released v3.7.2 late Friday.  Could I ask your help to update the repo to the latest version please?
Download links with hashes can be found here if needed.
Thanks!

Done. Thanks.


Cuda Error after I change output size to 1280x720.

Hello:
I use a IMX219 Camera, it can output in 1280x720, So I change rectify_node output size to 1280x720, and get error:
[component_container_mt-1] CUDA error at external/libapriltag/april_tagging/corner_detection/corner_detector.cpp:97 code=2(cudaErrorMemoryAllocation) "cudaMalloc((void**)&d_gradient_x2, sizeof(float) * gradient_w * gradient_h)"
[component_container_mt-1] CUDA error at external/libapriltag/april_tagging/corner_detection/corner_detector.cpp:98 code=2(cudaErrorMemoryAllocation) "cudaMalloc((void**)&d_gradient_y2, sizeof(float) * gradient_w * gradient_h)"
[component_container_mt-1] CUDA error at external/libapriltag/april_tagging/corner_detection/corner_detector.cpp:99 code=2(cudaErrorMemoryAllocation) "cudaMalloc((void**)&d_gradient_xy, sizeof(float) * gradient_w * gradient_h)"
[component_container_mt-1] CUDA error at external/libapriltag/april_tagging/corner_detection/corner_detector.cpp:100 code=2(cudaErrorMemoryAllocation) "cudaMalloc((void**)&d_blur_gradient_x2, sizeof(float) * blur_gradient_w * blur_gradient_h)"
[component_container_mt-1] CUDA error at external/libapriltag/april_tagging/corner_detection/corner_detector.cpp:101 code=2(cudaErrorMemoryAllocation) "cudaMalloc((void**)&d_blur_gradient_y2, sizeof(float) * blur_gradient_w * blur_gradient_h)"
[component_container_mt-1] CUDA error at external/libapriltag/april_tagging/corner_detection/corner_detector.cpp:102 code=2(cudaErrorMemoryAllocation) "cudaMalloc((void**)&d_blur_gradient_xy, sizeof(float) * blur_gradient_w * blur_gradient_h)"
[component_container_mt-1] CUDA error at external/libapriltag/april_tagging/corner_detection/corner_detector.cpp:104 code=2(cudaErrorMemoryAllocation) "cudaMalloc((void**)&d_maxima_suppression, sizeof(bool) * corners_w * corners_h)"
[component_container_mt-1] CUDA error at external/libapriltag/april_tagging/corner_detection/corner_detector.cpp:187 code=700(cudaErrorIllegalAddress) "cudaStreamWaitEvent(x2_stream, sync_event_x2, 0)"

What platform are you running this on (x86_64 w/ GPU or Jetson, in or outside of Isaac ROS Dev base container)? At first glance, it seems AprilTag ran out of GPU memory. Have you tried at smaller resolutions just to see if it works at all?

What platform are you running this on (x86_64 w/ GPU or Jetson, in or outside of Isaac ROS Dev base container)? At first glance, it seems AprilTag ran out of GPU memory. Have you tried at smaller resolutions just to see if it works at all?

I use on Jetson Xavier NX 8G Version, CSI IMX219 Camera. In the container.

Is there anything else running with the Apriltag node that could be eating up GPU memory perhaps?

@hemalshahNV We are also experiencing this issue with similar camera:
[component_container_mt-1] CUDA error at /workspaces/isaac_ros-dev/lib/src/nvapriltags/april_tagging/corner_detection/corner_detector.cpp:84 code=2(cudaErrorMemoryAllocation) "cudaMalloc((void**)&d_normalized_input_image, size_t(sizeof(float) * image_w * image_h))"
[component_container_mt-1] CUDA error at /workspaces/isaac_ros-dev/lib/src/nvapriltags/april_tagging/corner_detection/corner_detector.cpp:97 code=2(cudaErrorMemoryAllocation) "cudaMalloc((void**)&d_gradient_x2, sizeof(float) * gradient_w * gradient_h)"
[component_container_mt-1] CUDA error at /workspaces/isaac_ros-dev/lib/src/nvapriltags/april_tagging/corner_detection/corner_detector.cpp:98 code=2(cudaErrorMemoryAllocation) "cudaMalloc((void**)&d_gradient_y2, sizeof(float) * gradient_w * gradient_h)"
[component_container_mt-1] CUDA error at /workspaces/isaac_ros-dev/lib/src/nvapriltags/april_tagging/corner_detection/corner_detector.cpp:99 code=2(cudaErrorMemoryAllocation) "cudaMalloc((void**)&d_gradient_xy, sizeof(float) * gradient_w * gradient_h)"
[component_container_mt-1] CUDA error at /workspaces/isaac_ros-dev/lib/src/nvapriltags/april_tagging/corner_detection/corner_detector.cpp:100 code=2(cudaErrorMemoryAllocation) "cudaMalloc((void**)&d_blur_gradient_x2, sizeof(float) * blur_gradient_w * blur_gradient_h)"
[component_container_mt-1] CUDA error at /workspaces/isaac_ros-dev/lib/src/nvapriltags/april_tagging/corner_detection/corner_detector.cpp:101 code=2(cudaErrorMemoryAllocation) "cudaMalloc((void**)&d_blur_gradient_y2, sizeof(float) * blur_gradient_w * blur_gradient_h)"
[component_container_mt-1] CUDA error at /workspaces/isaac_ros-dev/lib/src/nvapriltags/april_tagging/corner_detection/corner_detector.cpp:102 code=2(cudaErrorMemoryAllocation) "cudaMalloc((void**)&d_blur_gradient_xy, sizeof(float) * blur_gradient_w * blur_gradient_h)"
[component_container_mt-1] CUDA error at /workspaces/isaac_ros-dev/lib/src/nvapriltags/april_tagging/corner_detection/corner_detector.cpp:104 code=2(cudaErrorMemoryAllocation) "cudaMalloc((void**)&d_maxima_suppression, sizeof(bool) * corners_w * corners_h)"
[component_container_mt-1] component_container_mt: /workspaces/isaac_ros-dev/lib/src/nvapriltags/april_tagging/april_tag.cpp:20: void AprilTags::DetectAndDecodeAprilTags(const DeviceDataView<uchar3>&, cuAprilTagsID_t*, SizeT*, SizeT, cudaStream_t): Assertion `input_image.size_.x == w && input_image.size_.y == h' failed.


feat: add iframe support

this adds iframe support (cloud only) to mark.

Looks good to me and I'm pretty much ready to merge it as is, but can we add a little bit of documentation into the README file? Like this: https://github.com/kovetskiy/mark#template--macros

@kovetskiy yeah, updated. also, removed ID as it's deprecated.

Thanks for the contribution!


Calling val() on masked input causes Javascript to crash

Yeah, title says it all.  For some reason, when I call val on a masked input, either to get the value or to set it, the Javascript stops processing at that point.  This only happens on masked inputs, so...

@darkphoenixff4 ,
I tested locally and see no problem.  Can you provide some more information.  The mask used.  The version? Which browsers?  Maybe an example.

I'm using version 3.1.61 on Firefox 36.0.1 on openSUSE.  The mask is A9A 9A9 (Canadian postal code pattern).  Oddly, it works fine in Firefox for Windows, so it seems to be a problem specific to Firefox for Linux.

@darkphoenixff4 ,
Can you try the jsfiddle http://jsfiddle.net/b2qr2hjz/1/
I tested on Firefox36.0.1 on Ubuntu/Gnome3

Yeah, it works fine on mine.  It's odd.  I'm starting to wonder if I have a library conflict of some kind in my code.  Unfortunately, I can't just upload the page I'm working on, as it's not supposed to be publicly available until some time next week, or I'd just do that.

@darkphoenixff4 ,
Do you get any error in the console?
Is there a way to share the page?

No errors in the console, and not right now, unfortunately.  Not until next week, at any rate.  I'll toss a link in here once it goes live, though.

This one's actually starting to confuse me.  I finally launched the page at https://consultant.everydaystyle.ca/G2/scripts/Servlet/index.php?servlet=EConsultant&language=EN , but for some reason, now it's working... sometimes.  I can't seem to find any logical pattern to it; just sometimes with Firefox on Linux it works, and some times it doesn't.  Anyway, the best way to test is to fill out Mailing Address and then try Shipping Address' "Same as Mailing" option, which uses val() to copy the values from Mailing to Shipping.  Thanks.


Add a delayed section

Description of your issue, suggested solution and other information
I would like a way to show if the goal was still accomplished, despite that it wasn't on the first day in office.  For example, #86 is under progress currently, but was not accomplished on the first day in office.  If it is accomplished, adding a way to show #86 as not broken, but delayed would be helpful
Make sure you are using the latest version: pull latest commits before reporting any issues.

[x] I've verified and I assure that I'm looking at the latest version of Trump Tracker.

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably the To Do List section.
-[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with the trumptracker website)
[ ] Site support request (request for adding support)
[x] Feature request (request for a new functionality)
[ ] Question
[ ] Other

And as always, thank you for your contribution.

What you are describing right now would fall under the 'Compromised' category. If we are going to create a new tag for every situation it would be more complicated for the user.

Alright, thanks.  I'll go ahead and close this then.


Clients disassociated every 10 seconds in SoftAP mode

Copied in from mailing list post: https://groups.google.com/d/msg/esp-open-rtos/4BlYYrYRfH8/D72Jo-yyBgAJ

10 seconds after a client connects to the ESP in SoftAP mode, the AP disassociates it for inactivity (regardless of whether it was active or not). Some of my devices were transparently re-associating without me noticing, but not all of mine were (and some, like my Android phone, actually seem to get stuck where the device thinks it's still associated even though it isn't.)
The short/quick answer is that you can work around this by replacing the SDK's internal hostap timeout function. It's hacky (and it means clients will never get booted for inactivity), but you can do it by adding this code to your program:
void sdk_hostap_handle_timer(void *cnx_node)
{
}
... full explanation of what I think the behaviour around the bug is:

In libnet80211/ieee80211_hostap.o when hostap_input() sees packets from a new station, it calls a static function which adds the station to the internal connection table - via cnx_node_alloc() - and sets up a timer to call hostap_handle_timer() every 10 seconds (repeating). The argument passed to hostap_handle_timer() is the cnx_node structure that was just allocated.

hostap_input is also supposed to look up each incoming packet's sender(?) in the internal connection table (cnx_node_search()), and if it finds a matching entry it writes the current count of hardware timer FRC2 to offset 0x108 in the allocated 'cnx_node' structure. This is a "last seen" timestamp.

Every ten seconds the hostap_handle_timer() function compares the current FRC2 timer count to the stored timestamp, and if they're too far apart (ie no wifi frame received recently) then it sends a disassociation frame to the idle client and removes it using cnx_node_leave().

cnx_node_leave() itself checks some internal state and prints the "max connection!" message each time it removes an "idle" client. (Unclear if this is a bug itself, or a symptom of the bug.)

... the bug happens because the "last frame received" timestamp is never written to offset 0x108 in hostap_input, this value is always zero so even an active client is disconnected after 10 seconds.
I don't know what causes that buggy behaviour. The bug could be in hostap_input, or maybe the "cnx node" is never properly registered.

Took a look at this, and thanks for all the analysis above. Found that hostap_input does update slot 0x108 but the context passed to hostap_handle_timer does not match the context it is writing into.
Quick look suggests that the problem is that the callback create with xTimerCreate receives a handle, and not the expected argument. Is it practical to implement every callback in C to change their handlers, or do we need a trampoline callback for handle this compatibility issue for now?
This might also explain some of the crashes in the timer paths.

Is there any update on this 10 seconds timeout and max connection!

@chennakeshavaSoC It is fixed by https://github.com/SuperHouse/esp-open-rtos/issues/22 It has not been merged yet, but close when it has been.

Thanks for quick response, I mean
Clients disassociated every 10 seconds in SoftAP mode #140
Is there any updates on #140

Can you please share us the fix code, I would like to use this functionality its a critical update for us.

@chennakeshavaSoC Sorry, copy typo, see https://github.com/SuperHouse/esp-open-rtos/issues/221 for the patch.

I can't realize was this fixed or not? Because this issue still applying to me. Clients still disassociating. But not prints "max connection". And not after 10 seconds but 20.

It's working for me with the recent fix that got merged in master branch.
See #221
On Oct 18, 2016 7:17 AM, "Alex Petrov"<EMAIL_ADDRESS>wrote:

I can't realize was this fixed or not? Because this issue still applying
to me. Clients still disassociating. But not prints "max connection". And
not after 10 seconds but 20.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SuperHouse/esp-open-rtos/issues/140#issuecomment-254521264,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATZ3zNnKslXWP9OXRYhadBkl9h1Bjb-Qks5q1NTigaJpZM4IZzaZ
.

I cloned repo 2 days ago. I just watched - yes that patch is present. But not working for me.

@rooi-oog If no one can reproduce this then it might be up to you to try to narrow it down. In case it helps please consider https://github.com/SuperHouse/esp-open-rtos/pull/224 which added open implementations of some function in these code paths. For example this allows you to instrument sdk_hostap_handle_timer to see if it is disassociating due to a timeout, and sdk_cnx_node_search was a good spot to dump the state.

I just tried the workaround (sdk_hostap_handle_timer) and it works for me.


Reverse prerequisites order when uninstalling

Description
Changes proposed in this pull request:

Prerequisites are now uninstalled in the right order

Related issue(s)
#297

/lgtm

/test pre-main-hydroform


feat: support mermaid digram

Before:

After:

graph TD
    Client((Client)) -->|Create Project| Project((Project))
    Client -->|Make Payment| Payment((Payment))
    Freelancer((Freelancer)) -->|Track Time| TimeTracking((Time Tracking))
    Freelancer -->|Submit Screenshots| Screenshots((Screenshots))
    Project -->|Assign Tasks| Tasks((Tasks))
    Project --> TimeTracking
    Project --> Screenshots
    Payment -->|Secure Payment Gateway| PaymentGateway((Payment Gateway))
    Communication((Real-time Communication)) --> Project
    Communication --> Freelancer
    Communication --> Client
    Profile((Profile Management)) --> Freelancer
    Profile --> Client
    Search((Search and Filter)) --> Client
    MobileApp((Mobile Application)) --> Client
    MobileApp --> Freelancer

Snap code fort test, on notion /mermaid and select Code - mermaid and paste code
graph TD
    Client((Client)) -->|Create Project| Project((Project))
    Client -->|Make Payment| Payment((Payment))
    Freelancer((Freelancer)) -->|Track Time| TimeTracking((Time Tracking))
    Freelancer -->|Submit Screenshots| Screenshots((Screenshots))
    Project -->|Assign Tasks| Tasks((Tasks))
    Project --> TimeTracking
    Project --> Screenshots
    Payment -->|Secure Payment Gateway| PaymentGateway((Payment Gateway))
    Communication((Real-time Communication)) --> Project
    Communication --> Freelancer
    Communication --> Client
    Profile((Profile Management)) --> Freelancer
    Profile --> Client
    Search((Search and Filter)) --> Client
    MobileApp((Mobile Application)) --> Client
    MobileApp --> Freelancer


body parameter isn't loaded when using parameter ref

Hi, I'm having an issue with using a ref for a body parameter.
parameters:
  PetParam:
    in: body
    name: body
    required: true
    schema:
      $ref: '#/definitions/Pet'
paths:
  /pet:
    post:
      operationId: addPet
      parameters:
        - $ref: '#/parameters/PetParam'

When a request is made with the addPet operation above, the payload is empty.
Seems to be that pyswagger.io.Request._prepare_body isn't derefing the body parameter, so getattr(parameter, 'in') returns None.
By the way, this is a great tool. Thanks!

Hi, I think the problem in the sample spec you provide is because the Parameter Object is actually a "Reference Object" and pyswagger didn't deref it (i.e. use parameter.final instead of using it directly), I'll add a test case later and see if my guess is correct.

the fix should be included in latest build: v0.8.28.


cleanupIDs prefixes mask ids but not path/group ids

Hi, I'm using gulp-svgmin, which uses svgo, and when I run an svg through cleanupIDs with the prefix option, it prefixes the ids on mask elements, but not the ids on path or g elements. I've attached an example of input and output.
I'd really appreciate a fix. Let me know if there's anyway I can help debug it.
svgo version: 0.5.6
gulp-svgmin version: 1.2.0
node version: 0.12.7
options (passed to gulp-svgmin):
           // where `filename` is `"browser"` for the attached example file.
            {
              mergePaths: false,
              cleanupIDs: {
                  prefix: filename + '-',
                  remove: false,
                  minify: true,
              },
            }

svgo-cleanup-ids-bug-example.zip

It seems, that you have provided wrong config. plugins in config is an array of objects which define every plugin separately. E.g.:
{
    plugins: [
        { mergePaths: false },
        {
            cleanupIDs: {
                prefix: filename + '-',
                remove: false,
                minify: true,
            }
        }
    ]
}

However, I don't exactly know how gulp-svgmin works with config.


Tell the user the postback button no longer works if their user session is expired

This PR handles the case when postback actions are called after the search session is removed from Redis.
This should fix https://rollbar.com/mrorz/rumors-line-bot/items/220/ .

Pull Request Test Coverage Report for Build 998824566

0 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 87.17%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/webhook/index.js
0
4
0.0%

Totals

Change from base Build 998777903:
-0.3%

Covered Lines:
955

Relevant Lines:
1081

💛  - Coveralls


C99 defines bool type which we might want to support in dart:ffi

Since C99, the C language has a bool type which we might want to support in dart:ffi.
/cc @sjindel-google @dcharkes

Duplicate of https://github.com/dart-lang/sdk/issues/36855.


fix: correctly detect a touch event when using delayOnTouchOnly

The recently added option delayOnTouchOnly does not seem to work for me. This fixes it by using the pointerType property

@robertedjones Hi,
I cannot merge this as you've changed 900 lines and done a lot of styling changes that are irrelevant to the fix the PR provides. Please remove unnecessary changes, and also don't modify Sortable.min.js as it is compiled at release only.


Cannot directly modify command group from 'monitor data-collection data-collection-rule-association' to 'monitor data-collection rule association'

azure-rest-api-specs repo link
Cannot directly modify command group from
monitor data-collection data-collection-rule-association

to
monitor data-collection rule association

Currently we have to add two rules to achieve that.
Part of readme.az.md
  - where:
      group: monitor data-collection data-collection-rule-association
    set:
      group: monitor data-collection rule-association
  - where:
      group: monitor data-collection rule-association
    set:
      group: monitor data-collection rule association

synced in meeting, big effort and nice to have


GH-44361: [C#][Integration] Include .NET in Flight integration tests

Rationale for this change
See #44361. This allows testing compatibility of the .NET Flight implementation with other Flight implementations.
What changes are included in this PR?

Adds a new Apache.Arrow.Flight.IntegrationTest project that can run in server or client mode for Flight integration tests.
Includes the integration tests that send then retrieve data defined in JSON files, but doesn't add any of the named scenarios
Configures archery to include C# in the Flight integration tests, but skip all the named scenarios
Also skips tests that use dictionary data due to #38045, and the empty data test due to #44363

Are these changes tested?
These changes are tests.
Are there any user-facing changes?
No

GitHub Issue: #44361

This is awesome; I didn't even know this test gap existed.
By the way, I have a proposed fix for #38045 at https://github.com/CurtHagenlocher/arrow/tree/dev/curth/FlightDictionaries which I didn't feel great about committing due to lack of test coverage. It'll be interesting to see whether it works.

There was a failure running the new tests in CI. Surprisingly it's a C++ and C# test, which was the only combination I tested locally... I'll try to figure out what's gone wrong here:
   FAILED TEST: binary_view C++ producing,  C# consuming
  <class 'RuntimeError'>: Command failed: /arrow/csharp/artifacts/Apache.Arrow.Flight.IntegrationTest/Debug/net8.0/Apache.Arrow.Flight.IntegrationTest client --port 37771 --path /tmp/arrow-integration-be07w72w/generated_binary_view.json
  With output:
  --------------
  Unhandled exception: Grpc.Core.RpcException: Status(StatusCode="NotFound", Detail="Could not find flight./tmp/arrow-integration-be07w72w/generated_binary_view.json")
     at Apache.Arrow.Flight.Client.FlightClient.<>c.<<GetInfo>b__10_0>d.MoveNext() in /arrow/csharp/src/Apache.Arrow.Flight/Client/FlightClient.cs:line 90
  --- End of stack trace from previous location ---
     at Apache.Arrow.Flight.IntegrationTest.JsonTestScenario.RunClient() in /arrow/csharp/test/Apache.Arrow.Flight.IntegrationTest/JsonTestScenario.cs:line 73
     at Apache.Arrow.Flight.IntegrationTest.FlightClientCommand.Execute() in /arrow/csharp/test/Apache.Arrow.Flight.IntegrationTest/FlightClientCommand.cs:line 49
     at Apache.Arrow.Flight.IntegrationTest.Program.<>c.<<Main>b__0_0>d.MoveNext() in /arrow/csharp/test/Apache.Arrow.Flight.IntegrationTest/Program.cs:line 50
  --- End of stack trace from previous location ---
     at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
     at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()

By the way, I have a proposed fix for https://github.com/apache/arrow/issues/38045 at https://github.com/CurtHagenlocher/arrow/tree/dev/curth/FlightDictionaries which I didn't feel great about committing due to lack of test coverage. It'll be interesting to see whether it works.

Cool, it would be nice to fix that!

There was a race condition where the C# client could try to request the data before the server stored it here: https://github.com/apache/arrow/blob/dcc1ee5b1d4851870724ab5e4cf475bcac007b56/cpp/src/arrow/flight/integration_tests/test_integration_server.cc#L153
I could reliably reproduce it by adding a small sleep in the C++ server before that line.
Reading to the end of the response stream in the client seems to fix it.

Hi @adamreeve -- thank you for adding this test. This test unfortunately fails in arrow-rs -- see https://github.com/apache/arrow-rs/issues/6577
Do you have any hints about how we can potentially fix this?
Here is how the job is run: https://github.com/apache/arrow-rs/blob/1666a4d7b237370c167e2b90b45d1354e28f500a/.github/workflows/integration.yml#L50-L114
Here is a specific message from the logs https://github.com/apache/arrow-rs/actions/runs/11409436304/job/31749661931
 ======================================================================
  Testing file null
  Traceback (most recent call last):
    File "/__w/arrow-rs/arrow-rs/dev/archery/archery/integration/util.py", line 136, in run_cmd
      output = subprocess.check_output(cmd, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/opt/conda/envs/arrow/lib/python3.11/subprocess.py", line 466, in check_output
      return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/opt/conda/envs/arrow/lib/python3.11/subprocess.py", line 571, in run
      raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command '['/__w/arrow-rs/arrow-rs/csharp/artifacts/Apache.Arrow.Flight.IntegrationTest/Debug/net8.0/Apache.Arrow.Flight.IntegrationTest', 'client', '--port', '46599', '--path', '/tmp/arrow-integration-2gthhuy4/generated_null.json']' returned non-zero exit status 1.

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/__w/arrow-rs/arrow-rs/dev/archery/archery/integration/runner.py", line 435, in _run_flight_test_case
      consumer.flight_request(port, **client_args)
    File "/__w/arrow-rs/arrow-rs/dev/archery/archery/integration/tester_csharp.py", line 218, in flight_request
      run_cmd(cmd)
    File "/__w/arrow-rs/arrow-rs/dev/archery/archery/integration/util.py", line 145, in run_cmd
      raise RuntimeError(sio.getvalue())
  RuntimeError: Command failed: /__w/arrow-rs/arrow-rs/csharp/artifacts/Apache.Arrow.Flight.IntegrationTest/Debug/net8.0/Apache.Arrow.Flight.IntegrationTest client --port 46599 --path /tmp/arrow-integration-2gthhuy4/generated_null.json
  With output:
  --------------
  Unhandled exception: Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="Error connecting to subchannel.", DebugException="System.ArgumentException: IPv4 address <IP_ADDRESS> and IPv6 address ::0 are unspecified addresses that cannot be used as a target address. (Parameter 'hostName')")
   ---> System.ArgumentException: IPv4 address <IP_ADDRESS> and IPv6 address ::0 are unspecified addresses that cannot be used as a target address. (Parameter 'hostName')
     at System.Net.Dns.GetHostEntryOrAddressesCoreAsync(String hostName, Boolean justReturnParsedIp, Boolean throwOnIIPAny, Boolean justAddresses, AddressFamily family, CancellationToken cancellationToken)
     at System.Net.Dns.GetHostAddressesAsync(String hostNameOrAddress, AddressFamily family, CancellationToken cancellationToken)
     at System.Net.Sockets.SocketAsyncEventArgs.DnsConnectAsync(DnsEndPoint endPoint, SocketType socketType, ProtocolType protocolType)
     at System.Net.Sockets.Socket.ConnectAsync(SocketAsyncEventArgs e, Boolean userSocket, Boolean saeaCancelable)
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ConnectAsync(Socket socket)
     at System.Net.Sockets.Socket.ConnectAsync(EndPoint remoteEP, CancellationToken cancellationToken)
     at Grpc.Net.Client.Balancer.Internal.SocketConnectivitySubchannelTransport.OnConnect(Socket socket, DnsEndPoint endpoint, CancellationToken cancellationToken)
     at Grpc.Net.Client.Balancer.Internal.SocketConnectivitySubchannelTransport.TryConnectAsync(ConnectContext context, Int32 attempt)
     --- End of inner exception stack trace ---
     at Apache.Arrow.Flight.Internal.RecordBatchReaderImplementation.ReadSchemaAsync(CancellationToken cancellationToken) in /__w/arrow-rs/arrow-rs/csharp/src/Apache.Arrow.Flight/Internal/RecordBatchReaderImplementation.cs:line 74
     at Apache.Arrow.Flight.Internal.RecordBatchReaderImplementation.ReadNextRecordBatchAsync(CancellationToken cancellationToken) in /__w/arrow-rs/arrow-rs/csharp/src/Apache.Arrow.Flight/Internal/RecordBatchReaderImplementation.cs:line 118
     at Apache.Arrow.Flight.FlightRecordBatchStreamReader.MoveNext(CancellationToken cancellationToken) in /__w/arrow-rs/arrow-rs/csharp/src/Apache.Arrow.Flight/FlightRecordBatchStreamReader.cs:line 64
     at Apache.Arrow.Flight.IntegrationTest.Scenarios.JsonTestScenario.ConsumeFlightLocation(FlightClient client, FlightTicket ticket, RecordBatch[] batches) in /__w/arrow-rs/arrow-rs/csharp/test/Apache.Arrow.Flight.IntegrationTest/Scenarios/JsonTestScenario.cs:line 160
     at Apache.Arrow.Flight.IntegrationTest.Scenarios.JsonTestScenario.RunClient(Int32 serverPort) in /__w/arrow-rs/arrow-rs/csharp/test/Apache.Arrow.Flight.IntegrationTest/Scenarios/JsonTestScenario.cs:line 109
     at Apache.Arrow.Flight.IntegrationTest.FlightClientCommand.Execute() in /__w/arrow-rs/arrow-rs/csharp/test/Apache.Arrow.Flight.IntegrationTest/FlightClientCommand.cs:line 45
     at Apache.Arrow.Flight.IntegrationTest.Program.<>c.<<Main>b__0_0>d.MoveNext() in /__w/arrow-rs/arrow-rs/csharp/test/Apache.Arrow.Flight.IntegrationTest/Program.cs:line 50
  --- End of stack trace from previous location ---
     at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
     at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
  --- End of stack trace from previous location ---
     at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()

  --------------

Hi @alamb, sorry about this, it looks like in apache/arrow the Flight integration tests are only run with Rust as a client/consumer and not as a server/producer, so this wasn't caught in the CI here.
I can reproduce this locally and can see that when the C# client makes a get_info request to the Rust server, the Rust server sends a location like "grpc+tcp://<IP_ADDRESS>:38119". In comparison, the C++ server for example returns locations that use the ipv4 loopback address, eg. "grpc+tcp://<IP_ADDRESS>:43861".
This looks like a bug in the Rust integration test server to me, as <IP_ADDRESS> is valid to use as an IP address when binding to a port as a server, but as the .NET exception says, this is an "unspecified address that cannot be used as a target address". The Rust server should specify a public address that clients can connect to, or return an empty list of locations to specify that the current connection can be reused (from the Flight RPC docs).
I'm not sure why other clients don't have a problem with this though. It seems like the C++ client is quite happy to connect to a "<IP_ADDRESS>" address for example, which is a little surprising to me, so maybe I'm misunderstanding this.

it looks like in apache/arrow the Flight integration tests are only run with Rust as a client/consumer and not as a server/producer, so this wasn't caught in the CI here.

Oh, sorry. It's a bug of #44099. Could you open an issue for this?

This change in arrow-rs fixes the tests for me:
--- a/arrow-integration-testing/src/flight_server_scenarios/integration_test.rs
+++ b/arrow-integration-testing/src/flight_server_scenarios/integration_test.rs
@@ -48,9 +48,10 @@ type Result<T = (), E = Error> = std::result::Result<T, E>;
 /// Run a scenario that tests integration testing.
 pub async fn scenario_setup(port: u16) -> Result {
     let addr = super::listen_on(port).await?;
+    let resolved_port = addr.port();

     let service = FlightServiceImpl {
-        server_location: format!("grpc+tcp://{addr}"),
+        server_location: format!("grpc+tcp://localhost:{resolved_port}"),
         ..Default::default()
     };
     let svc = FlightServiceServer::new(service);

But I'm not 100% sure this isn't something the C# client should handle, given the other clients seem OK with it.

Oh, sorry. It's a bug of #44099. Could you open an issue for this?

Sure, I've raised #44479

This change in arrow-rs fixes the tests for me:

Thank you 🙏  @adamreeve
I made a PR to try out your proposed workaround in arrow-rs: https://github.com/apache/arrow-rs/pull/6611

I'm relatively unfamiliar with Flight in general (to say nothing of any given implementation) but I have to wonder whether this reflects a product bug in the C# code. If I connect to a server and ask it for information and it tells me "find that information at "grpc+tcp://<IP_ADDRESS>:38119", then my assumption would be that I'm meant to connect to an endpoint on the same server that I originally connected to.

The Flight docs specify other ways to reuse the same server location though, either using an empty list of locations or the arrow-flight-reuse-connection: URI scheme. I guess you might want to reuse the same host with a different port, but this isn't how <IP_ADDRESS> is interpreted by other implementations, at least the Rust and C++ ones I've looked at. They don't have any special handling of <IP_ADDRESS> that I could find so it appears that that IP address is just interpreted as the localhost/loopback device by the underlying GRPC library or lower level networking library.
From looking into this a bit more, it seems like using <IP_ADDRESS> to refer to localhost/loopback when used as a target IP is non-standard but not that uncommon, and the C# System.Net library is just more strict about following specifications. Eg. see discussions at https://serverfault.com/questions/706137/why-does-0-0-0-0-resolve-to-the-loopback-device and https://superuser.com/questions/949428/whats-the-difference-between-127-0-0-1-and-0-0-0-0.
Given that this would be fixed in either the Rust or C# integration test code without changing the Flight libraries, I guess it's not too consequential which approach is used, and I'm happy to update the C# integration test client to handle this. But the integration test code may be used by users as an example of what to do, so it seems like changing the Rust server might be best to set a good example of what to do to provide a more compatible server.

so it seems like changing the Rust server might be best to set a good example of what to do to provide a more compatible server.

This PR proposes to do that: https://github.com/apache/arrow-rs/pull/6611
However, @tustvold  is still helping me get the incantation just right (see https://github.com/apache/arrow-rs/pull/6611#discussion_r1810766111)

But the integration test code may be used by users as an example of what to do, so it seems like changing the Rust server might be best to set a good example of what to do to provide a more compatible server.

After some more thought I agree that changing the C# code to handle <IP_ADDRESS> addresses as a "connect to" doesn't really make sense -- I think changing the Rust client to send localhost instead is more consistent with other uses, so let's go with https://github.com/apache/arrow-rs/pull/6611
Thanks again for your help


Carbon methods is undefined

Versions:

ide-helper Version: 2.9
Laravel Version:8.12
PHP Version: 7.14

Question:
The format method is undefined by intelephense extension after installing the laravel-ide-helper and generating the models.
Could it be because the date field type is "\Illuminate\Support\Carbon", that's why intelephense can't find the "format" method?
but that Support\Carbon is extending the Original Carbon.

In principle, the "gold standard" ide-helper supports is PhpStorm, as it's has the most advanced introspection of all PHP related IDEs so we make the best experience out of it.
From time to time we also get reports for Netbeans but if the respective engine are not advanced enough, there's nothing we can do.
So this was just for setting the scene.
Now what you describe, and I'm not entirely clear, sounds like something basic actually. If you were to ask me, I would expect this to work. But I don't use any of the software you mentioned.
Can you share screenshots with the errors you get? Maybe that helps to figure out things…

I have the same issues.
PHP: 8.2
Intelephense: 1.9.3
VSCode:  1.78.2 (Universal)
And Carbon functions has the most annoying false errors. All this code on this print are working well.
I bought Intelephense Premiu to test more features and try to fix this errors, but I failed.

These prints are taken on "simple" Laravel Model


Update styleguide form fields

Completed the TODOs in the styleguide form section.
Added a snippet chooser, richtext field and auto resizing text field.

Not sure if we should use an ExampleSnippet along with migrations, simply steal the html for the snippet chooser, or link it to something like Page.

@m1kola Fixed those few issues! :)

@SableWalnut thanks! Merged in 75295209bb54348e0b0fcbb13cd7c610a2a9160a


Add Finda.photo

http://finda.photo/#v2

Nice website, should make a good contribution. Cheers!

You are welcome


Squirrel.Windows build breaks Electron's .setIcon functionality

Pre-flight checklist

[X] I have read the contribution documentation for this project.
[X] I agree to follow the code of conduct that this project uses.
[X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version
6.0.0-beta.61
Electron version
15.1.1
Operating system
Windows 10 (19042)
Last known working Electron Forge version
Previous versions had the same behaviour
Expected behavior
Even though Squirrel provides configuration options to set the executable's icon* (see edit below), I would expect the native Electron functionality of setting the titlebar and taskbar icons to still work.
Actual behavior
Both
new BrowserWindow({
    icon: 'some-path/icon.ico'
});

and
win.setIcon('some-path/icon.ico');

only set the titlebar icon. The taskbar is left unchanged, and remains showing the icon of the executable. Even executing setIcon on demand after everything is done loading still only updates the titlebar and not the taskbar.
Steps to reproduce

don't provide Squirrel configuration for iconUrl. (doesn't matter, see edit below)
provide an icon to new BrowserWindow-options or use setIcon
the titlebar icon will change accordingly, the taskbar icon will not (will keep showing the Electron-logo)

Additional information
Squirrel Make (x64 target) will compile the app to:
<code-path>\out\<appname>-win32-x64
it will then bundle it. If you then run the installer, it will install the app in:
<user-folder>\AppData\Local\<appname>\app-<version>
Using WinMerge I confirmed that both folders' content is for all intents and purposes identical. Yet running the executable in the 'out'-path doesn't show the bug. Taskbar icon is properly updated.
When running the same executable in the 'AppData' path, the bug does happen: taskbar icon is not updated.
Even copying all the files from the 'out' path (that work!) over the files in the 'AppData' path results in it not working anymore.
Using ProcMon I confirmed that in both cases (when running the app) the icon file itself is found on the file system, no permission issues occur and the file is properly loaded. (Which is proven by the fact that the titlebar icon is updated.)
So something is actively preventing setting the taskbar icon when the code is run from 'AppData'?
Edit / adendum
Regarding setupIcon and iconUrl: I actually misunderstood this behaviour. After a good day of Google-ing and sifting through code my findings are that

setupIcon (local icon) is only used to edit the setup Executable and shows during install and first run (which was what I expected)
iconUrl (URL) is only used for the deprecated nuGet option iconUrl and shows up only in places such us Uninstall / Remove App. (wich was not what I expected)

Neither is used to A) rcedit the app's executable and insert the icon, nor B) used by electron-squirrel-startup during the createShortcut phase.
For B there is an abandoned PR: https://github.com/mongodb-js/electron-squirrel-startup/pull/10
This adendum doesn't affect this issue by the way, it just adds to the confusion, as it seems there are no means to actually update the apps icon with just a combination of electron-forge, electron-squirrel-startup and squirrel.windows.

You need to use config.forge.packagerConfig.icon for the app icon on Windows.
If you need more assistance, please use one of the community forums, including the Electron Discord server.

any updates about this one ?

I moved away from using Electron

I moved away from using Electron

What do you use instead? Tauri or what? Thanks in advance


Fix typo in README.md

Sorry, I didn't see that someone already made a pull request for this. I'll delete this.


docs: Uninstall Flynn

Hi,
there might be situations where I want to uninstall Flynn completly without anything left over. Like removing a single machine from a cluster and giving it a new task. Is there a way to do this?

You can remove Flynn completely by running the install script with --remove:
$ curl -fsSL -o /tmp/install-flynn https://dl.flynn.io/install-flynn
$ sudo bash /tmp/install-flynn --remove

Alright, thank you. :)

How can I uninstall the flynn client from my mac? This script says ERROR: this script is only compatible with Ubuntu 14.04 LTS, Trusty Tahr

@jaimeiniesta the install script is for nodes in a cluster, you can uninstall the Flynn CLI by just deleting it:
$ rm $(which flynn)

You may also want to remove ~/.flynnrc and ~/.flynn, that will remove access to any clusters you have configured though.


Set Broadcast IP

I would like to set the broadcast ip in a container.  If it's not possible, is this the place to add a request?

It is not possible today is because the default builtin IPAM automatically reserves the subnet's network address and the broadcast address.
If you use an IPAM driver (plugin) which implementation does not reserve the broadcast address, then you should be able to assign the broadcast address to your container.

@tmcmanameyunl It has been detected that this issue has not received any activity in over 6 months. Can you please let us know if it is still relevant:

For a bug: do you still experience the issue with the latest version?
For a feature request: was your request appropriately answered in a later version?

Thank you!
This issue will be automatically closed in 1 week unless it is commented on.
For more information please refer to https://github.com/docker/libnetwork/issues/1926

I have propietary software that needs standard broadcast ip (like <IP_ADDRESS>) ¿is there any documentation that explains why broadcast ip <IP_ADDRESS> is used? ¿why is not possible to change broadcast ip?


Is it possible to search by all keys in json and get the only specific value of the key given

I read the document and I didn't get the solution.please.
for eg. I am trying to get the code from below json
to be able to search by all keys in json name,short_form and code and only to get the code.
[
{"short_form":"ICBC","name":"Industrial and Commercial Bank of China","code":"ICBK"},
.....
]
but seem can be search by only specific value.

there is method named getValues which handles the highlight thing you can pass all keys to him like
getValue: function(element) {
                return [element.name, element.short_form, element.code.join('<br>'); ;
            }


Prepare app for deployment to render

Adding configurations to deploy the app to render

It's approved! Let's test how it works 👍🏻 In case of issues we can open Hotfix branches.

Agreed!


feat: Added "textarea" to FormBuilderTextInputField

Checklist for raising a PR

[ ] Is this step done?
[ ] Did you check the contributing doc?
[ ] Did you check the existing issues for similar queries?

Describe your PR
It solves the TS error you get when trying to manually create a Form builder field object.

Add additional question here

[ ] Yes
[ ] No
[ ] NA

Closing this. The correct way to leverage textarea with the text types is via
let type: FormBuilderField["type"] | FormBuilderTextAreaField["type"] = "text";


Bad footer position

On the login screen, the footer should stick to the bottom of the page when resizing the browser window. See screenshot.

It happens below 1370px. Just remove the .credits entry completely from @media (max-width: 1370px).


Various improvements

fix timing issue when shutting down debug session before the log processor has finish its job
fix off-by-one location of "compile errors" when device validates XML components
fix off-by-one code stepping with debug protocol
fix errors being dropped when a "line" error is found
added extra XML error matching
filter out "generic XML error" on a file if a specific one was captured as well
fix XML sourcemap resolution; follow mapped source even if we don't have a resolved mapping

Tested both with a "vanilla" Roku project and a brighterscript-processed one.

@elsassph you mention in this comment that "downstream expects 1-based". Where exactly is that the case? I don't recall doing 1-based translations in any of my sourcemap work last year, so I'd like to understand this a little better.

@elsassph you mention in this comment that "downstream expects 1-based". Where exactly is that the case? I don't recall doing 1-based translations in any of my sourcemap work last year, so I'd like to understand this a little better.

Well that's a bit empirical. I'm not sure where the offset happens really :)


kafka-consume command (without avro support yet)

#22: at the moment only consume operation

Coverage decreased (-2.8%) to 92.244% when pulling 04b9d73f4e86df1a3a3e25c67f3eb8fa2ea458f8 on kafka-consume-command into 596f0601afe30dc95eda586a7f112cfcc37f8c20 on master.

Coverage decreased (-1.4%) to 93.575% when pulling 4a53599f385db43ab538508bd4c4132ac68224f7 on kafka-consume-command into 596f0601afe30dc95eda586a7f112cfcc37f8c20 on master.

Coverage decreased (-1.4%) to 93.575% when pulling 70536fb57dcecf05f687b6e959d4a25a30572af8 on kafka-consume-command into 596f0601afe30dc95eda586a7f112cfcc37f8c20 on master.

Coverage decreased (-0.9%) to 94.101% when pulling 76147e036551afd9836ef09fd0a8e04509199dad on kafka-consume-command into 596f0601afe30dc95eda586a7f112cfcc37f8c20 on master.

Coverage decreased (-0.9%) to 94.101% when pulling ec324e9a4cf452f093903a5254d49b3d1c358061 on kafka-consume-command into 596f0601afe30dc95eda586a7f112cfcc37f8c20 on master.

Coverage decreased (-0.6%) to 94.382% when pulling 3ffa81cfa1ab568156d4295e7a546414ef84ffdf on kafka-consume-command into 596f0601afe30dc95eda586a7f112cfcc37f8c20 on master.

Coverage decreased (-0.6%) to 94.382% when pulling 66659ee0944d311ce6380185042c3aac94a37c8a on kafka-consume-command into 596f0601afe30dc95eda586a7f112cfcc37f8c20 on master.

Coverage decreased (-0.6%) to 94.382% when pulling 1428e628ab2aa352e1d2723039829391ffc676ab on kafka-consume-command into 596f0601afe30dc95eda586a7f112cfcc37f8c20 on master.

Coverage decreased (-0.6%) to 94.382% when pulling 06a71e76655aa84d015c711216022ea34d3d602a on kafka-consume-command into 596f0601afe30dc95eda586a7f112cfcc37f8c20 on master.

Coverage decreased (-0.6%) to 94.382% when pulling 0aa4a489a16910fb2358cfc30a5a7c83b22b1c47 on kafka-consume-command into 596f0601afe30dc95eda586a7f112cfcc37f8c20 on master.

Coverage increased (+1.05%) to 96.067% when pulling bd7b4ff90c5dc1dc034ad1e3d85923b60b174c91 on kafka-consume-command into 596f0601afe30dc95eda586a7f112cfcc37f8c20 on master.

Coverage increased (+1.3%) to 96.338% when pulling e733052142586b653c9855f6890118d0a58f3332 on kafka-consume-command into 596f0601afe30dc95eda586a7f112cfcc37f8c20 on master.

Coverage increased (+1.3%) to 96.338% when pulling 41aa7414a7dbeadd867fb5603d9e5a439b397c18 on kafka-consume-command into 596f0601afe30dc95eda586a7f112cfcc37f8c20 on master.


Fixed pep8 errors. Resolved test cases failures

@njagadish @rajendramachani

Created another PR https://github.com/oneconvergence/group-based-policy/pull/323 w.r.t mitaka_nfp_17_may_2016


Uncaught TypeError: Cannot read property 'top' of undefined

I get this error every time I open a new tab
Atom Version: 0.166.0
System: Mac OS X 10.9.5
Thrown From: minimap package, v3.3.4
Stack Trace
Uncaught TypeError: Cannot read property 'top' of undefined
At /Users/oliverroick/.atom/packages/minimap/lib/minimap-view.coffee:353

TypeError: Cannot read property 'top' of undefined
  at MinimapView.module.exports.MinimapView.updateScrollY (/Users/oliverroick/.atom/packages/minimap/lib/minimap-view.coffee:353:64)
  at MinimapView.updateScrollY (/Users/oliverroick/.atom/packages/minimap/lib/minimap-view.coffee:1:1)
  at MinimapView.module.exports.MinimapView.updateScroll (/Users/oliverroick/.atom/packages/minimap/lib/minimap-view.coffee:368:6)
  at MinimapView.updateScroll (/Users/oliverroick/.atom/packages/minimap/lib/minimap-view.coffee:1:1)
  at /Users/oliverroick/.atom/packages/minimap/lib/minimap-view.coffee:268:8

Commands
     -8:36.6 core:copy (atom-text-editor.editor)
 12x -7:50.4 click (div.lint)
  8x -1:10.8 core:move-up (atom-text-editor.editor)
  3x -1:09.0 core:select-up (atom-text-editor.editor)
     -1:08.2 editor:select-to-first-character-of-line (atom-text-editor.editor)
     -1:07.4 core:copy (atom-text-editor.editor)
     -1:07.2 core:move-down (atom-text-editor.editor)
     -1:06.9 core:move-up (atom-text-editor.editor)
  2x -1:06.1 editor:newline (atom-text-editor.editor)
     -1:05.7 core:paste (atom-text-editor.editor)
  2x -0:58.8 click (atom-text-editor.editor)
  2x -0:56.8 core:backspace (atom-text-editor.editor)
     -0:51.4 core:move-down (atom-text-editor.editor)
     -0:51.2 editor:move-to-end-of-screen-line (atom-text-editor.editor)
     -0:50.8 editor:select-to-first-character-of-line (atom-text-editor.editor)
  6x -0:00.0 click (div.header.list-item)

Config
{
  "core": {
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store"
    ],
    "themes": [
      "atom-dark-ui",
      "monokai"
    ],
    "projectHome": "/Volumes/Data/dev"
  }
}

Installed Packages
# User
atom-django, v0.1.0
atom-lint, v0.20.0
jsdoc, v0.7.0
minimap, v3.3.4
monokai, v0.8.0
pep8, v0.2.0

# Dev
No dev packages

/cc @atom/core

Same as #216.


Make organize imports format consistent with scalariform

We used to pass the IDE's SpaceInsideParentheses setting to scala-refactoring to control the spaces inside the braces of multiple imports, like this:
import a.b.{ c, d }
Unfortunately, in scalariform SpaceInsideParentheses only affects the space around regular parenthesis, and there is no setting for the spaces in imports. So to make the code generated by scala-refactoring consistent with the formatting of scalariform, we always print a space inside multiple imports.
Fixes scala-ide/scala-refactoring#81.

It seems the bot is in a hurry.

LGTM


use new ObjectId() to generate FileId in uploadFromStream()

@lucsoft May you review this? related to gridfs


Client Allocation Request for: ;qjk

Client Allocation Questions
Core Information

Name: ;qjk
Website / Social Media: ;qjk, (;qjek, ;qjk)
Region: Europe
DataCap Requested: 96 GiB
Addresses to be Notarized: ;qjk
Notary Requested: Deon Erda

This user’s identity has been verified through filplus.storage


Listeners method is different to node

First of all, it currently returns false when there are no listeners. This is wrong, it should return an empty array. Secondly when it does return the listeners it returns the Event instances. It should actually just return the functions.

This is now fixed and passing in the tests.


Coverage: Integration tests for tree distribution

We have an e2e integration test, but we should add in tests that check tree balances before and after and assert that they're increasing how we expect them to. This is especially important for custom handling addresses like badger tree and ibbtc peaks where if rewards are incorrectly distributed it will be at users' expense.

sanity check new_token_totals = old_token_totals + expected_token_distribution
balance_ibbtc_peak_after == before
test for badger tree custom handler

Wouldn't the second check be balance_ibbtc_msig == before_balance_ibbtc_peak + before_balance_ibbtc_msig?


Provide a flag to print additional stack data for table format

Task linked: CU-2vdb0bd Beamer FR: Spacelift CLI - show stack labels on output


Missing file install_path.txt

Hi,
I installed V2, but it doesn't open the popup window. I receive this message in the console:
Operating System: OSX
...n/DaVinci Resolve/Fusion/Scripts/Utility/AutoSubs V2.lua:19: /Users/geri/Library/Application Support/Blackmagic Design/DaVinci Resolve/Fusion/Scripts/Utility/AutoSubs/install_path.txt: No such file or directory
This folder is empty. What can I do?
Thanks.
Best regards,
Jose.

I have the exact same issue (running macOS Sequoia)

I also have the same issue. Running M1 macbook on macOS Sequoia


--resume-from

unexpected key in source state_dict: ema_backbone_model_base_layer_0_weight, ema_backbone_model_base_layer_1_weight,...
why?

/home/ttt/anaconda3/envs/mmseg_cd/bin/python /disk_sda/abc/Lane_Detection_project/CLRerNet/tools/train.py configs/clrernet/culane/clrernet_culane_dla34_ema.py --resume-from /disk_sda/CULane/run_work_dirs/clrernet_beijing_dla34_ema/epoch_1.pth

Thanks, please check out the
Resume training with ExpMomentumEMAHook part in
https://mmdetection.readthedocs.io/en/dev/faq.html . You need to resume the EMA weights additionally.
Adding
--cfg-options custom_hooks.0.resume_from={your_pth_file}
should do the trick.

We close this issue as resolved.


unix_formatting.js cursor controls behaving strangely

Issue summary
The cursor control positions seem to be relative to the current line in the console, rather than the top of the console.
Expected behavior
Cursor line positions should be relative to the top of the console window.
Example from Python REPL in a real console:
>>>
>>>
>>>      **
>>>
>>> print('hello \x1b[3;10H**')
hello

Actual behavior
Cursor line positions are relative to the current line.
jquery terminal output:
>>>
>>>
>>>
>>>
>>> print('hello \x1b[3;10H**')
hello

         **
>>>

Steps to reproduce
var term = $('body').terminal();
term.echo('test:')
term.echo('hello \x1b[3;10H**');

Browser and OS
Chrome / MacOS

Unix formatting is not for fully implementing ANSI Escapses codes and support Curses for instance. It's for simple cases where you render the single output of simple Unix command or render ANSI Art.
This means that the unix_formatting is contextless, one echo should know nothing and don't affect another echo.
So for what you're asking this is impossible.
If you want to support something like this you can try xterm.js that is full TTY.

My application is already invested in using jquery terminal in the implementation.  It's technically infeasible to make this an option?
Example use case:  in a python console I want to use rich.tui library (I guess like ncurses) which can be used for a UI.

I read through #553, where jerch was recommending several times to implement absolution positioning for compatibility with more stuff.
Other that the purity of wanting it to be stateless, you mentioned some practical matter about wrapping being handled elsewhere.  But in using a library like rich.tui, it's handling the wrapping, so wrapping from the console doesn't matter.
You're opposed to this, so I'd have to fork linux_formatting?

I've opposed this because it's a fundamental change in architecture. Formatters (like unix_formatting) are dumb, they know nothing about what else was written into the terminal also they should not depend on the terminal. If you would like to have something like this you will need to use terminal API inside the Unix formatting and update proper lines and keep state of what was written. I think that it would simpler to just implement the terminal from scratch or rewrite the library itself. but it's like work for months and I don't want this because I want formatters (and Unix formatter) to be indepened simple pure function that don't rely on what's else was written to the terminal.

I think that to implement something like this, Unix formatting would need to be integrated with the terminal. So it has access to internals and implements full TTY. Which I think is out of score for this project. If you want full control of the terminal you most likely want to connect to real Unix command that is interactive and for this, you can use xterm.js. I don't want to duplicate what that library have.

Please make it clear in the documentation that unix_formatting.js doesn't support the normal absolute cursor control within the console due to the current jquery terminal design.

unix_formatting.js — formatter that convert UNIX ANSI escapes to terminal and display them as html

Sure will update the docs. I will put this into README in Limitations section since I already was asked how to similar things where a solution was to use xterm.js, I make this clear and link to xterm.js git repo.

As a second thought, I think that there in fact can be written an extension that will work as unix_formatting but will create a fully working curses like environment. The extension could work like less command that export the view does its stuff and then import the view when done. The extension can also just use everything that is on the terminal, grab the current state and use it as a canvas. it can be called canvas mode or just curses mode.
But would be a lot of work to create a canvas-like rendering on a terminal.


useDocumentData returns undefined on first render until forced browser refresh returns data

import { doc } from 'firebase/firestore';
import { createContext, useEffect, useState } from 'react';
import { auth, db } from '../firebase/firebase-config';
import {
  useDocumentData,
  useDocumentDataOnce,
} from 'react-firebase-hooks/firestore';
import { useAuthState } from 'react-firebase-hooks/auth';

const userAuthContext = createContext({});

const UserAuthContextProvider = ({ children }: any) => {

  const [authUser, loadingAuthUser, errorAuthUser] = useAuthState(auth);

  const [authUserDocRef, setAuthUserDocRef]: any = useState();

  const [userData, loading, error, snapshot, reload] =
    useDocumentDataOnce(authUserDocRef);

  const [businessDocRef, setBusinessDocRef]: any = useState();

  const [
    businessData,
    loadingBusinessData,
    errorBusinessData,
    snapshotBusinessData,
  ] = useDocumentData(businessDocRef);

  useEffect(() => {
    if (authUser) {
      setAuthUserDocRef(doc(db, 'users', authUser.uid));
    }

    if (userData) {
      setBusinessDocRef(userData.managedBusiness);
    }
  }, [authUser, userData]);

  return (
    <userAuthContext.Provider
      value={{ authUser, businessData, loadingBusinessData }}
    >
      {children}
    </userAuthContext.Provider>
  );
};

export { userAuthContext, UserAuthContextProvider };

businessData returns undefined. I have to manually force refresh the browser for businessData to return the correct value from Firestore.

Same issue here. not sure why this is happening.

I'm facing a very similar issue with useDocumentDataOnce. It won't load, always returning undefined and true for the loading value until I make a change in the code and the module reloads. Very bizarre.

I'm glad you fixed your issue. Here is my minimal reproducible example. The document is stuck in the loading state forever.
const Test: React.FC = () => {
  const { id } = useParams<{ id: string }>();

  const db = getFirestore();
  const docRef = doc(collection(db, 'classes'), id);

  const [course, courseLoading, courseError] = useDocumentDataOnce(docRef);

  if (courseLoading) {
    console.log('loading');
    return <LoadingPage></LoadingPage>;
  }

  if (courseError) {
    console.log('error');
    return <ErrorPage></ErrorPage>;
  }

  console.log(':)');
  return <div>:)</div>;
};

"loading" is logged, and then nothing. Perpetual loading. The id is a valid id and the reference exists. I know because everything loads fine after I reload the module by making a change. Even more bizarre is the fact that we don't face this issue in the live production build.

@BinDohry It's the same deal, unfortunately.

@BinDohry
Interesting, that I didn't expect. Not sure what the problem is then

I am also encountering this issue using React v18. I've switched from useDocumentDataOnce to useDocumentData as a temporary workaround.

@Garee Yeah, that's the workaround I found as well. I'm not exactly sure why this is happening, but I unfortunately don't have the time to investigate. I wish I could.

Currently suffering the same problem

I have now fixed this. I had to delete node_modules as well as my .next folder and reinstall

I'm also having the same issue. As mentioned above, using useDocumentData works as a temporary workaround.
Here are my relevant dependencies:
  "firebase": "^9.9.4",
  "next": "12.3.0",
  "react": "18.2.0",
  "react-dom": "18.2.0",
  "react-firebase-hooks": "^5.0.3",

@lewisd1996 in the same situation. Unfortunately reinstalling did not work for me. Tried deleting the lock file and node modules to no avail.

It is returning undefined here
https://github.com/CSFrequency/react-firebase-hooks/blob/master/firestore/useDocument.ts#L98
and same thing with collections
https://github.com/CSFrequency/react-firebase-hooks/blob/master/firestore/useCollection.ts#L80
Someone needs to debug this perhaps and submit a pull request.
J

Hi everybody, apologies for the delay in investigating this properly. I've just given this a try and it appears that some of the changes I've made in the newly released v5.1.0 may have inadvertently resolved this issue.
Could I ask you to try v5.1.0 and check whether this has been fixed?

Tested again and it seems to work fine. Thanks for the update!

Thanks @pythonicode, I will close this issue, but if anybody else is still struggling, please let me know and I can look into it further!

@chrisbianca Thank you so much, the fix works!


Add available properties to Yarn plugin

For example, read licensing information from the manifest files

duplicate: https://github.com/spdx/tools-ts/issues/145


Badge suggestions show incorrect license

On http://shields.io/ (via suggest badges), GPL-licensed Github repositories are incorrectly shown as AGPL licensed. E.g.:

https://github.com/ercpe/djunin
https://github.com/ercpe/amavisvt

Hi, thanks for this issue.
Confirmed, when I use the suggest feature, though, it shows an AGPL badge:

The Github license badges are themselves working fine:
https://img.shields.io/github/license/ercpe/djunin.svg:

https://img.shields.io/github/license/ercpe/amavisvt.svg:

I just want to make sure that we can use GitHub license badge in suggestions. There is a lot of code for license suggestions https://github.com/badges/shields/blob/master/lib/suggest.js#L93 and it will be removed.

That's fine by me. Now that Github has a license endpoint we can rely on it.

Thanks. I will fix this bug.


Facing issues with updation of the errors store.

Describe the bug
I use svelte material ui components to display text fields. I have provided initialValues object to createForm and it contains blank strings. My use case is to have a single form with ability to dynamically add fields when I click on a button. I use  felte and @felte/validator-yup to validate. Here are my observations:

The form is not validated when each  field is blurred
Validation kickstarts when I try to add more input elements to form dynamically
When the  with required attribute is blurred an error is displayed.

The version of packages used:
"felte": "^1.2.6",
"@felte/reporter-dom": "^1.1.5",
"@felte/validator-yup": "^1.0.11",
Which package/s are you using?
felte (Svelte), @felte/validator-yup, @felte/reporter-dom
Environment

OS: MacOS
Browser: Chrome
Version: 110.0.5481.100

To reproduce

Go to the form fields and start entering values
You will notice that the errors appear inconsistent.
Tap the "Add new" button at the bottom.
You can see the new form fields are added but the errors all pop up at once even if they are not shown earlier.

Small reproduction example
https://codesandbox.io/p/sandbox/flamboyant-brattain-mbepnt
Screenshots
No response
Additional context
No response

I could narrow down the issue to only form validation happening when new fields are added. The other issues were due to the value not bound to the input field. Eg: input$name="abc" should work in the above example from codesandbox. Is there a way hence to stop the validation from kickstarting when new elements are added to the form? And restrict it to only when the blurring from the respective field to be validated happens?

Hello! I'm sorry for the delay. Trying to catch up with everything lately.
So I think the issue boils down (mainly) to the fact that smui does not  forward the name prop to the inputs. Which means that, for all intents and purposes, all inputs are the same name='' to Felte. The reporter you are using "reports" based on the name but not a single input actually has a name.
This is the kind of components where I would recommend using createField to create a wrapper on top of these components.


FastGradient makes vtkDoubleArray always, which can cause scalars to be stripped out in avtCompactTreeFilter.

Describe the bug
I create an expression that takes a gradient component and on some domains, it makes floats and on another domain, it makes a double. This causes avtCompactTreeFilter to strip away the scalar when it merges the dataset. The float and double versions of the scalar hash to different names and VTK throws away the scalar rather than type converting.
This would happen in a 2 domain dataset where domain 1 is tets and domain 2 is all hexes. I'm not sure whether I can share this file.
Helpful additional information

VisIt threw out the scalar and made a white plot.

To Reproduce
Steps to reproduce the behavior. For example:

Open a dataset matching the above conditions
Make an expression: test = gradient(p2,"fast")[2]
Make a Pseudocolor plot of test
Draw -- you get a white plot

Additionally, please attach a (zipped) sessionfile to this ticket to easily reproduce (In the viewer, use File->Save Session).
Expected behavior
I expected to plot a Pseudocolor of a gradient component.
Attachments
Desktop

OS and version: Mac, Linux
VisIt Version: 2.13 and later

Additional context
Add any other context about the problem here. Attach any (zipped) relevant files, such as data, configurations, sessionfiles, etc.

I have an incoming fix for this.


Do not discard stderr

Is this just to get rid of the "User defined signal ..."?
Could you please tell me which shell you had an issue with? I would like resolve only the relevant issue,  because I don't want to hide unexpected errors.

Is this just to get rid of the "User defined signal ..."?

This message might not be shown because there are many changes after this problem.

Could you please tell me which shell you had an issue with? I would like resolve only the relevant issue, because I don't want to hide unexpected errors.

My opinion. Developers are interesting in debug message or error message, but Players not.
So default behavior is not to show its.
If interested in these messages while debugging, you can use the --debug option.

However, critical errors (logic errors) will be output to the .log file even if  not in debug mode.

In my opinion, debug messages and error messages have different meanings, and error messages are what the user cares about. Because when outputs an "unexpected" error message, we cannot guarantee that the software is functioning properly. That needs to be communicated to the user, and error messages are information that can help solve the issue.
For me, this became necessary at #27. However, this issue has probably been fixed, and I don't want this to become a release blocker, so I will close it.


Sass linter reporter

custom sass linter reporter to get rid of another ruby gem.

Thankyou, that was fast! But it is SCSS and not SASS ;-)

yeah, I will rename those references in code into "sass" :). BTW did the Jenkins pick up the reports?

I don't know yet if Jenkins will pick up the reports, but hopefully later today...

I guess I wasn't awake this morning - SASS and SCSS is the same thing of course, just with a slightly different syntax. So I guess it doesn't matter.

sure, no problem. cheers :sunglasses:

Imho the language should be scss, not sass - scss is the newest - so it is
not the same - awake or not ;-)
2016-02-18 16:29 GMT+01:00 Morten Hindsholm<EMAIL_ADDRESS>
I guess I wasn't awake this morning - SASS and SCSS is the same thing of
course, just with a slightly different syntax. So I guess it doesn't matter.
—
Reply to this email directly or view it on GitHub
https://github.com/Nykredit/gript/pull/22#issuecomment-185775114.


update case statement syntax for Ruby 1.9

This fixes the syntax errors under Ruby 1.9. Specifically, it gets rid of the "when value: ..." form that Ruby 1.9 no longer allows.

This seems unmaintained. Closing.